jjb-cmd 2.1.22 → 2.1.23

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/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.23</p>
6
+ <div>publish增加缩略图限制</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.22</p>
6
10
  <div>修复已知问题</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.22",
4
+ "version": "2.1.23",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x520c87=a0_0x2186;(function(_0x5cea42,_0x390e13){const _0x2b71c9=a0_0x2186,_0x23af4d=_0x5cea42();while(!![]){try{const _0x2c9d0a=parseInt(_0x2b71c9(0xfe))/0x1+parseInt(_0x2b71c9(0x10d))/0x2+-parseInt(_0x2b71c9(0x101))/0x3+parseInt(_0x2b71c9(0x10c))/0x4+parseInt(_0x2b71c9(0x105))/0x5+-parseInt(_0x2b71c9(0xff))/0x6+parseInt(_0x2b71c9(0x107))/0x7*(-parseInt(_0x2b71c9(0x10e))/0x8);if(_0x2c9d0a===_0x390e13)break;else _0x23af4d['push'](_0x23af4d['shift']());}catch(_0x35b9b8){_0x23af4d['push'](_0x23af4d['shift']());}}}(a0_0x35c3,0x35692));const axios=require('axios'),fs=require('fs'),path=require('path'),{API_HOST}=require('../cmd.install/config');function a0_0x35c3(){const _0x38ad6d=['Auth\x20NetWork\x20Fail!','existsSync','data','906248jIufKl','426120IuoiVc','576376DvsRZU','catch','writeFileSync','join','then','unlinkSync','96840JAFWYn','1912242EWkXMS','post','1044678rpzJaR','log','../../../.auth','exports','2106440eLtXbi','/api/auth','7gZdsZi','Auth\x20Success!'];a0_0x35c3=function(){return _0x38ad6d;};return a0_0x35c3();}function a0_0x2186(_0x323e7d,_0x44e82a){const _0x35c3b5=a0_0x35c3();return a0_0x2186=function(_0x2186fe,_0x55b636){_0x2186fe=_0x2186fe-0xfc;let _0x29b613=_0x35c3b5[_0x2186fe];return _0x29b613;},a0_0x2186(_0x323e7d,_0x44e82a);}module[a0_0x520c87(0x104)]=_0x35a7e3=>{const _0x4987c6=a0_0x520c87;console[_0x4987c6(0x102)](_0x35a7e3);const [_0x2361ad,_0x4fc080]=_0x35a7e3;axios[_0x4987c6(0x100)](API_HOST+_0x4987c6(0x106),{'username':_0x2361ad,'password':_0x4fc080})[_0x4987c6(0xfc)](_0x30b2e9=>{const _0x5b9489=_0x4987c6,_0x540594=path[_0x5b9489(0x111)](__dirname,_0x5b9489(0x103));_0x30b2e9[_0x5b9489(0x10b)]['status']?(console[_0x5b9489(0x102)](_0x5b9489(0x108)),fs[_0x5b9489(0x110)](_0x540594,_0x2361ad+'/'+_0x4fc080)):(console[_0x5b9489(0x102)]('Auth\x20Fail!'),fs[_0x5b9489(0x10a)](_0x540594)&&fs[_0x5b9489(0xfd)](_0x540594));})[_0x4987c6(0x10f)](_0x2069d2=>{const _0x22cb46=_0x4987c6;console[_0x22cb46(0x102)](_0x22cb46(0x109));});};
1
+ const a0_0x24bd55=a0_0x2037;function a0_0x2037(_0x43afa3,_0x55f06c){const _0x484e3d=a0_0x484e();return a0_0x2037=function(_0x2037ba,_0x1e1b8e){_0x2037ba=_0x2037ba-0x1cd;let _0x21c8b9=_0x484e3d[_0x2037ba];return _0x21c8b9;},a0_0x2037(_0x43afa3,_0x55f06c);}(function(_0x2ae53d,_0x5f5720){const _0x12bb46=a0_0x2037,_0x535a94=_0x2ae53d();while(!![]){try{const _0x4aed55=-parseInt(_0x12bb46(0x1d4))/0x1*(-parseInt(_0x12bb46(0x1e1))/0x2)+-parseInt(_0x12bb46(0x1d2))/0x3*(-parseInt(_0x12bb46(0x1d5))/0x4)+-parseInt(_0x12bb46(0x1d1))/0x5*(-parseInt(_0x12bb46(0x1cf))/0x6)+parseInt(_0x12bb46(0x1de))/0x7+-parseInt(_0x12bb46(0x1d9))/0x8+-parseInt(_0x12bb46(0x1ce))/0x9+-parseInt(_0x12bb46(0x1df))/0xa;if(_0x4aed55===_0x5f5720)break;else _0x535a94['push'](_0x535a94['shift']());}catch(_0xe7214d){_0x535a94['push'](_0x535a94['shift']());}}}(a0_0x484e,0x935e5));const axios=require(a0_0x24bd55(0x1e2)),fs=require('fs'),path=require(a0_0x24bd55(0x1d0)),{API_HOST}=require(a0_0x24bd55(0x1d6));function a0_0x484e(){const _0x164246=['16cxPyps','../cmd.install/config','Auth\x20Fail!','../../../.auth','2442896jueVYA','/api/auth','join','writeFileSync','unlinkSync','1170498JeYhOz','20863140bVAuSO','exports','2UcSufi','axios','data','then','catch','380223YJLBiX','6EJAWYG','path','5254245ApXmPJ','689181UPreIq','log','900573iaxaZh'];a0_0x484e=function(){return _0x164246;};return a0_0x484e();}module[a0_0x24bd55(0x1e0)]=_0x14e0de=>{const _0x1ee7e0=a0_0x24bd55;console[_0x1ee7e0(0x1d3)](_0x14e0de);const [_0x65d703,_0xe13d8a]=_0x14e0de;axios['post'](API_HOST+_0x1ee7e0(0x1da),{'username':_0x65d703,'password':_0xe13d8a})[_0x1ee7e0(0x1e4)](_0x14a250=>{const _0x171202=_0x1ee7e0,_0x52c48e=path[_0x171202(0x1db)](__dirname,_0x171202(0x1d8));_0x14a250[_0x171202(0x1e3)]['status']?(console[_0x171202(0x1d3)]('Auth\x20Success!'),fs[_0x171202(0x1dc)](_0x52c48e,_0x65d703+'/'+_0xe13d8a)):(console[_0x171202(0x1d3)](_0x171202(0x1d7)),fs['existsSync'](_0x52c48e)&&fs[_0x171202(0x1dd)](_0x52c48e));})[_0x1ee7e0(0x1cd)](_0x238b0a=>{const _0x3a6eb0=_0x1ee7e0;console[_0x3a6eb0(0x1d3)]('Auth\x20NetWork\x20Fail!');});};
@@ -1 +1 @@
1
- const a1_0x48899e=a1_0x1441;function a1_0x267a(){const _0x4d6ddf=['includes','path','log','安装完成,祝您愉快编码!','2124952oRvmDN','zip','154PFHdoj','3273216BgGpHP','request','jjb-cmd\x20install.app\x20','mkdirSync','DeleteDirAllFile','安装中,请耐心等待...','forEach','exports','createInterface','/api/v4/projects/','716850KMblnu','indexOf','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','CopyFolder','3881nBEVTe','.zip','../../old/util','6927150YKbVFh','../cmd.install/config','&ref=master','初始化完成?请选择安装方式![yarn/npm]:','/repository/archive.zip?private_token=','npm','2965016zUgijk','exit','yarn','trim','/unzip/','9lMVCSE','close','compressing','readline','6pBdEWE','8114225qaJDZV','readdirSync','pipe'];a1_0x267a=function(){return _0x4d6ddf;};return a1_0x267a();}function a1_0x1441(_0x33fb82,_0x2ed59f){const _0x267a9e=a1_0x267a();return a1_0x1441=function(_0x1441e5,_0xa76dda){_0x1441e5=_0x1441e5-0xd1;let _0x28c5fa=_0x267a9e[_0x1441e5];return _0x28c5fa;},a1_0x1441(_0x33fb82,_0x2ed59f);}(function(_0x47c843,_0x5999ab){const _0x345e79=a1_0x1441,_0x35a91f=_0x47c843();while(!![]){try{const _0x3136c3=parseInt(_0x345e79(0xec))/0x1*(-parseInt(_0x345e79(0xdd))/0x2)+parseInt(_0x345e79(0xde))/0x3+parseInt(_0x345e79(0xdb))/0x4+parseInt(_0x345e79(0xe8))/0x5+-parseInt(_0x345e79(0xd3))/0x6*(parseInt(_0x345e79(0xd4))/0x7)+parseInt(_0x345e79(0xf5))/0x8*(-parseInt(_0x345e79(0xfa))/0x9)+parseInt(_0x345e79(0xef))/0xa;if(_0x3136c3===_0x5999ab)break;else _0x35a91f['push'](_0x35a91f['shift']());}catch(_0x45afb9){_0x35a91f['push'](_0x35a91f['shift']());}}}(a1_0x267a,0x99bfc));const fs=require('fs'),os=require('os'),path=require(a1_0x48899e(0xd8)),request=require(a1_0x48899e(0xdf)),utils=require(a1_0x48899e(0xee)),compressing=require(a1_0x48899e(0xd1)),readline=require(a1_0x48899e(0xd2)),io=readline[a1_0x48899e(0xe6)]({'input':process['stdin'],'output':process['stdout']}),child_process=require('child_process'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x48899e(0xf0));module[a1_0x48899e(0xe5)]=_0x11108e=>{const _0x14b74f=a1_0x48899e,_0x5e4f45=path['resolve']('./'),_0x2c65da=CLOUD_PROJECT[_0x11108e]||undefined;if(_0x2c65da){const _0x1bbe7a=os['tmpdir'](),_0x14ed12=_0x1bbe7a+'/'+GIT_TEMP_DIR+'/'+_0x11108e+_0x14b74f(0xed),_0x5a4511=_0x1bbe7a+'/'+GIT_TEMP_DIR+_0x14b74f(0xf9);utils[_0x14b74f(0xe2)](_0x1bbe7a+'/'+GIT_TEMP_DIR,()=>{const _0x223068=_0x14b74f;fs[_0x223068(0xe1)](_0x1bbe7a+'/'+GIT_TEMP_DIR);let _0x51ad79=fs['createWriteStream'](_0x14ed12);request(GIT_HOST+_0x223068(0xe7)+_0x2c65da['projectId']+_0x223068(0xf3)+_0x2c65da['token']+_0x223068(0xf1))[_0x223068(0xd6)](_0x51ad79)['on'](_0x223068(0xfb),()=>{const _0x22998f=_0x223068;fs[_0x22998f(0xe1)](_0x5a4511),compressing[_0x22998f(0xdc)]['uncompress'](_0x14ed12,_0x5a4511)['then'](()=>{setTimeout(()=>{const _0x2a9ab3=a1_0x1441;fs[_0x2a9ab3(0xd5)](_0x5a4511)[_0x2a9ab3(0xe4)](_0x23fada=>{const _0x28af2f=_0x2a9ab3;_0x23fada[_0x28af2f(0xe9)]('-master-')!==-0x1&&utils[_0x28af2f(0xeb)](_0x5a4511+_0x23fada,_0x5e4f45,()=>{const _0x14526c=_0x28af2f;io['question'](_0x14526c(0xf2),function(_0x58fac2){const _0x143ae1=_0x14526c;[_0x143ae1(0xf7),_0x143ae1(0xf4)][_0x143ae1(0xd7)](_0x58fac2['trim']())?(console['log'](_0x143ae1(0xe3)),child_process['execSync'](_0x143ae1(0xe0)+_0x58fac2[_0x143ae1(0xf8)](),{'cwd':_0x5e4f45}),console[_0x143ae1(0xd9)](_0x143ae1(0xda)),process[_0x143ae1(0xf6)](0x0)):(console[_0x143ae1(0xd9)](_0x143ae1(0xea)),process[_0x143ae1(0xf6)](0x0));});});});},0x7d0);});});});}else console[_0x14b74f(0xd9)]('【Error】:初始化失败,'+_0x11108e+'不存在。');};
1
+ const a1_0xcbab92=a1_0x11ad;(function(_0x283e57,_0x569c3d){const _0xef4bd5=a1_0x11ad,_0x1418a0=_0x283e57();while(!![]){try{const _0x30db92=-parseInt(_0xef4bd5(0x95))/0x1*(parseInt(_0xef4bd5(0xa0))/0x2)+parseInt(_0xef4bd5(0xa8))/0x3+-parseInt(_0xef4bd5(0x8f))/0x4+-parseInt(_0xef4bd5(0xb4))/0x5*(-parseInt(_0xef4bd5(0x94))/0x6)+parseInt(_0xef4bd5(0x93))/0x7+-parseInt(_0xef4bd5(0xac))/0x8+parseInt(_0xef4bd5(0xb0))/0x9;if(_0x30db92===_0x569c3d)break;else _0x1418a0['push'](_0x1418a0['shift']());}catch(_0x265784){_0x1418a0['push'](_0x1418a0['shift']());}}}(a1_0x1893,0xcbb27));function a1_0x1893(){const _0x1afc61=['/repository/archive.zip?private_token=','初始化完成?请选择安装方式![yarn/npm]:','77782JqrWoc','question','exports','../../old/util','stdin','resolve','DeleteDirAllFile','yarn','4875840PcUOSp','createWriteStream','child_process','CopyFolder','10737736kWKSrr','readline','forEach','trim','12946329wThEHp','【Error】:初始化失败,','-master-','不存在。','5GYTvTR','then','includes','uncompress','安装完成,祝您愉快编码!','projectId','/api/v4/projects/','pipe','npm','1247540ozZsXV','stdout','jjb-cmd\x20install.app\x20','close','488313ffJLaE','1263162LvXYIi','22jKAxrr','mkdirSync','indexOf','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','log','zip','compressing','tmpdir','安装中,请耐心等待...'];a1_0x1893=function(){return _0x1afc61;};return a1_0x1893();}function a1_0x11ad(_0x168dec,_0x30ce44){const _0x189351=a1_0x1893();return a1_0x11ad=function(_0x11ad4f,_0x4f85e6){_0x11ad4f=_0x11ad4f-0x8b;let _0x4f05e8=_0x189351[_0x11ad4f];return _0x4f05e8;},a1_0x11ad(_0x168dec,_0x30ce44);}const fs=require('fs'),os=require('os'),path=require('path'),request=require('request'),utils=require(a1_0xcbab92(0xa3)),compressing=require(a1_0xcbab92(0x9b)),readline=require(a1_0xcbab92(0xad)),io=readline['createInterface']({'input':process[a1_0xcbab92(0xa4)],'output':process[a1_0xcbab92(0x90)]}),child_process=require(a1_0xcbab92(0xaa)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config');module[a1_0xcbab92(0xa2)]=_0x3d1e76=>{const _0x569f2b=a1_0xcbab92,_0x2c9cda=path[_0x569f2b(0xa5)]('./'),_0x214733=CLOUD_PROJECT[_0x3d1e76]||undefined;if(_0x214733){const _0x1012fa=os[_0x569f2b(0x9c)](),_0x54be8b=_0x1012fa+'/'+GIT_TEMP_DIR+'/'+_0x3d1e76+'.zip',_0x588765=_0x1012fa+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x569f2b(0xa6)](_0x1012fa+'/'+GIT_TEMP_DIR,()=>{const _0x47e51a=_0x569f2b;fs[_0x47e51a(0x96)](_0x1012fa+'/'+GIT_TEMP_DIR);let _0x479540=fs[_0x47e51a(0xa9)](_0x54be8b);request(GIT_HOST+_0x47e51a(0x8c)+_0x214733[_0x47e51a(0x8b)]+_0x47e51a(0x9e)+_0x214733['token']+'&ref=master')[_0x47e51a(0x8d)](_0x479540)['on'](_0x47e51a(0x92),()=>{const _0x2efb08=_0x47e51a;fs['mkdirSync'](_0x588765),compressing[_0x2efb08(0x9a)][_0x2efb08(0xb7)](_0x54be8b,_0x588765)[_0x2efb08(0xb5)](()=>{setTimeout(()=>{const _0x3d2495=a1_0x11ad;fs['readdirSync'](_0x588765)[_0x3d2495(0xae)](_0x275dd4=>{const _0x93ee4b=_0x3d2495;_0x275dd4[_0x93ee4b(0x97)](_0x93ee4b(0xb2))!==-0x1&&utils[_0x93ee4b(0xab)](_0x588765+_0x275dd4,_0x2c9cda,()=>{const _0x5b5958=_0x93ee4b;io[_0x5b5958(0xa1)](_0x5b5958(0x9f),function(_0x35befc){const _0x50ea25=_0x5b5958;[_0x50ea25(0xa7),_0x50ea25(0x8e)][_0x50ea25(0xb6)](_0x35befc[_0x50ea25(0xaf)]())?(console[_0x50ea25(0x99)](_0x50ea25(0x9d)),child_process['execSync'](_0x50ea25(0x91)+_0x35befc[_0x50ea25(0xaf)](),{'cwd':_0x2c9cda}),console[_0x50ea25(0x99)](_0x50ea25(0xb8)),process['exit'](0x0)):(console[_0x50ea25(0x99)](_0x50ea25(0x98)),process['exit'](0x0));});});});},0x7d0);});});});}else console[_0x569f2b(0x99)](_0x569f2b(0xb1)+_0x3d1e76+_0x569f2b(0xb3));};
@@ -1 +1 @@
1
- function a2_0x15e8(_0x16a6f2,_0x574643){const _0x243edc=a2_0x243e();return a2_0x15e8=function(_0x15e8a9,_0x402df9){_0x15e8a9=_0x15e8a9-0x123;let _0xb80791=_0x243edc[_0x15e8a9];return _0xb80791;},a2_0x15e8(_0x16a6f2,_0x574643);}const a2_0x301992=a2_0x15e8;(function(_0x4065c1,_0x1643b0){const _0x8b4cc9=a2_0x15e8,_0x216f01=_0x4065c1();while(!![]){try{const _0x28e313=parseInt(_0x8b4cc9(0x12c))/0x1*(-parseInt(_0x8b4cc9(0x13b))/0x2)+parseInt(_0x8b4cc9(0x142))/0x3*(parseInt(_0x8b4cc9(0x13c))/0x4)+-parseInt(_0x8b4cc9(0x126))/0x5*(parseInt(_0x8b4cc9(0x143))/0x6)+parseInt(_0x8b4cc9(0x145))/0x7+-parseInt(_0x8b4cc9(0x12f))/0x8*(parseInt(_0x8b4cc9(0x129))/0x9)+-parseInt(_0x8b4cc9(0x137))/0xa+parseInt(_0x8b4cc9(0x124))/0xb;if(_0x28e313===_0x1643b0)break;else _0x216f01['push'](_0x216f01['shift']());}catch(_0x36371c){_0x216f01['push'](_0x216f01['shift']());}}}(a2_0x243e,0xbfb2b));function a2_0x243e(){const _0x57f555=['http://192.168.1.242:10985','gPSit8aJsLVmNzuQ5Cy4','24RUeRvn','8XFPaRt','http://120.26.210.58:8088','e9njpBd1nS_LREN8GFpR','jjb-assembly-','GIT_TEMP_JAVA','GIT_JAVA_ENV_JSON','1072332jpgBHV','6aoIJYE','GIT_TEMP_DIR','8181376JuTXcP','API_HOST','23833700EQwtfA','FqNrmFAgrxasMrbbjvq9','3569635BOeRXD','dev','G4HJRsHr9D7Ssmixegw2','1341EFoskQ','CLOUD_PROJECT','https://cdn.cqjjb.cn/jjb-cloud-config','82653mcVqvt','test','CONFIG_FILE_HOST','76248uSrQuV','TEMPLATE_FOLDER','FT3pKzxpRynFkmddJ9Bs','jjb-assembly-java','prod','7V-YUxhmh51Mdhgx4rq4','d4wQ7dzEjYPsgVbKnYei','ywPtT3xCG6b_vAxp6sTj','1392790rOqIgq','GIT_HOST'];a2_0x243e=function(){return _0x57f555;};return a2_0x243e();}const os=require('os');exports[a2_0x301992(0x12e)]=a2_0x301992(0x12b),exports[a2_0x301992(0x123)]=a2_0x301992(0x13d),exports[a2_0x301992(0x138)]=a2_0x301992(0x139),exports[a2_0x301992(0x144)]=a2_0x301992(0x13f)+Date['now'](),exports[a2_0x301992(0x140)]=a2_0x301992(0x132),exports[a2_0x301992(0x141)]={'development':a2_0x301992(0x127),'production':a2_0x301992(0x133),'test':a2_0x301992(0x12d)},exports[a2_0x301992(0x12a)]={'common':{'token':a2_0x301992(0x128),'projectId':0x117},'react-admin-component':{'token':a2_0x301992(0x131),'projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a2_0x301992(0x13e),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x301992(0x13a),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x301992(0x135),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x301992(0x134),'projectId':0x33e},'micro-app':{'token':a2_0x301992(0x125),'projectId':0x33d},'lib':{'token':a2_0x301992(0x136),'projectId':0x33c}},exports[a2_0x301992(0x130)]=os['tmpdir']()+'\x5c'+exports[a2_0x301992(0x144)];
1
+ const a2_0x44db9f=a2_0x160e;function a2_0x160e(_0x52fd57,_0x11f5a6){const _0x5b0284=a2_0x5b02();return a2_0x160e=function(_0x160ea5,_0x10f2a1){_0x160ea5=_0x160ea5-0x126;let _0x30e6f2=_0x5b0284[_0x160ea5];return _0x30e6f2;},a2_0x160e(_0x52fd57,_0x11f5a6);}(function(_0x10a309,_0x401513){const _0x2e5c28=a2_0x160e,_0x42da4c=_0x10a309();while(!![]){try{const _0x23f21b=-parseInt(_0x2e5c28(0x127))/0x1*(-parseInt(_0x2e5c28(0x12d))/0x2)+parseInt(_0x2e5c28(0x12e))/0x3*(parseInt(_0x2e5c28(0x137))/0x4)+parseInt(_0x2e5c28(0x12f))/0x5+parseInt(_0x2e5c28(0x136))/0x6*(-parseInt(_0x2e5c28(0x139))/0x7)+parseInt(_0x2e5c28(0x138))/0x8*(parseInt(_0x2e5c28(0x145))/0x9)+parseInt(_0x2e5c28(0x134))/0xa*(-parseInt(_0x2e5c28(0x133))/0xb)+-parseInt(_0x2e5c28(0x128))/0xc*(parseInt(_0x2e5c28(0x12c))/0xd);if(_0x23f21b===_0x401513)break;else _0x42da4c['push'](_0x42da4c['shift']());}catch(_0x3abb96){_0x42da4c['push'](_0x42da4c['shift']());}}}(a2_0x5b02,0x397ee));const os=require('os');function a2_0x5b02(){const _0x414a89=['2hSrCed','12nZmcTg','26690ZuderR','d4wQ7dzEjYPsgVbKnYei','test','CONFIG_FILE_HOST','5885UiBQsP','8570ltiTfR','hLqARY89CN6fUD3yg4NL','144246gtbUcz','311464lxiAXw','147992kEFEui','7JAdNCQ','jjb-assembly-java','http://192.168.1.242:10985','jjb-assembly-','7V-YUxhmh51Mdhgx4rq4','GIT_TEMP_DIR','e9njpBd1nS_LREN8GFpR','http://120.26.210.58:8088','GIT_HOST','https://cdn.cqjjb.cn/jjb-cloud-config','FT3pKzxpRynFkmddJ9Bs','CLOUD_PROJECT','9tcxJDE','prod','411637ZXKkyD','6936ncNmuu','now','TEMPLATE_FOLDER','ywPtT3xCG6b_vAxp6sTj','650pDyAJp'];a2_0x5b02=function(){return _0x414a89;};return a2_0x5b02();}exports[a2_0x44db9f(0x132)]=a2_0x44db9f(0x142),exports['API_HOST']=a2_0x44db9f(0x140),exports[a2_0x44db9f(0x141)]=a2_0x44db9f(0x13b),exports[a2_0x44db9f(0x13e)]=a2_0x44db9f(0x13c)+Date[a2_0x44db9f(0x129)](),exports['GIT_TEMP_JAVA']=a2_0x44db9f(0x13a),exports['GIT_JAVA_ENV_JSON']={'development':'dev','production':a2_0x44db9f(0x126),'test':a2_0x44db9f(0x131)},exports[a2_0x44db9f(0x144)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a2_0x44db9f(0x143),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x44db9f(0x135),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x44db9f(0x13f),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a2_0x44db9f(0x130),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0x44db9f(0x13d),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a2_0x44db9f(0x12b),'projectId':0x33c}},exports[a2_0x44db9f(0x12a)]=os['tmpdir']()+'\x5c'+exports[a2_0x44db9f(0x13e)];
@@ -1 +1 @@
1
- const a3_0x10ce35=a3_0x1073;(function(_0x3eb304,_0x3289b5){const _0x5acea5=a3_0x1073,_0x4741ba=_0x3eb304();while(!![]){try{const _0x263171=-parseInt(_0x5acea5(0xe7))/0x1+-parseInt(_0x5acea5(0xeb))/0x2+parseInt(_0x5acea5(0xf6))/0x3*(parseInt(_0x5acea5(0xf5))/0x4)+parseInt(_0x5acea5(0xe5))/0x5+-parseInt(_0x5acea5(0xef))/0x6+-parseInt(_0x5acea5(0xf4))/0x7*(-parseInt(_0x5acea5(0xd8))/0x8)+parseInt(_0x5acea5(0xf0))/0x9;if(_0x263171===_0x3289b5)break;else _0x4741ba['push'](_0x4741ba['shift']());}catch(_0x4a00e6){_0x4741ba['push'](_0x4741ba['shift']());}}}(a3_0x18ce,0xab45c));function a3_0x1073(_0x13abee,_0x4e7a04){const _0x18cee1=a3_0x18ce();return a3_0x1073=function(_0x1073cb,_0x590bbf){_0x1073cb=_0x1073cb-0xc3;let _0x589afd=_0x18cee1[_0x1073cb];return _0x589afd;},a3_0x1073(_0x13abee,_0x4e7a04);}const fs=require('fs'),path=require(a3_0x10ce35(0xe4)),request=require(a3_0x10ce35(0xde)),compressing=require(a3_0x10ce35(0xe8)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x10ce35(0xf7)),{TEMPLATE_FOLDER}=require(a3_0x10ce35(0xca)),start_time=Date[a3_0x10ce35(0xd6)]();module['exports']=()=>{const _0x16f67c=a3_0x10ce35,_0x32868=path[_0x16f67c(0xe0)]('./'),_0x39acb7=[_0x32868,_0x16f67c(0xd2)][_0x16f67c(0xe2)]('\x5c'),_0x1cf156=[_0x32868,_0x16f67c(0xf8)][_0x16f67c(0xe2)]('\x5c'),_0x4f353a=[_0x32868,_0x16f67c(0xc3)][_0x16f67c(0xe2)]('\x5c');if(f_scan_jjb_config_json(_0x32868)){const _0x5b9511=f_scan_jjb_config_json_rules(_0x32868);_0x5b9511[_0x16f67c(0xf1)]===_0x16f67c(0xf8)?!fs[_0x16f67c(0xf3)](_0x1cf156)?(console[_0x16f67c(0xc5)](_0x16f67c(0xfa)),process[_0x16f67c(0xea)](0x0)):console[_0x16f67c(0xc5)](_0x16f67c(0xc4)):!fs[_0x16f67c(0xf3)](_0x39acb7)&&(console['log'](_0x16f67c(0xda)),process['exit'](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5b9511[_0x16f67c(0xc7)])['map'](_0x3f8c7b=>{const _0x9c1dd2=_0x16f67c,_0x2a5297=fs[_0x9c1dd2(0xcf)](_0x3f8c7b[_0x9c1dd2(0xe4)]);request(_0x3f8c7b[_0x9c1dd2(0xd3)])[_0x9c1dd2(0xf9)](_0x2a5297)['on'](_0x9c1dd2(0xdf),()=>{const _0x56d497=_0x9c1dd2;fs[_0x56d497(0xd5)](_0x3f8c7b['compress']),compressing[_0x56d497(0xe1)]['uncompress'](_0x3f8c7b[_0x56d497(0xe4)],_0x3f8c7b[_0x56d497(0xe9)]);});});const _0x449d7d=setInterval(()=>{const _0x43cff7=_0x16f67c,_0x68cffe=fs['readdirSync'](TEMPLATE_FOLDER),_0x11fee8=_0x68cffe[_0x43cff7(0xf2)](_0x4de46a=>_0x5b9511[_0x43cff7(0xc7)]['map'](_0x4684a1=>_0x4684a1[_0x43cff7(0xdd)]+_0x43cff7(0xe6))[_0x43cff7(0xd9)](_0x4de46a));if(_0x11fee8[_0x43cff7(0xd4)]===_0x5b9511[_0x43cff7(0xc7)][_0x43cff7(0xd4)]){clearInterval(_0x449d7d);const _0x4d8a23=[];_0x11fee8['forEach'](_0x28dc97=>{const _0x7fef0b=_0x43cff7,_0x2a479b=[TEMPLATE_FOLDER,_0x28dc97]['join']('\x5c');fs['readdirSync'](_0x2a479b)['forEach'](_0x4e6ec3=>_0x4d8a23['push']({'name':_0x28dc97,'path':[_0x2a479b,_0x4e6ec3][_0x7fef0b(0xe2)]('\x5c'),'pure_name':_0x28dc97[_0x7fef0b(0xec)](/_zip$/,''),'import_list':_0x5b9511['installResources'][_0x7fef0b(0xce)](_0xd8ae2=>_0xd8ae2[_0x7fef0b(0xdd)]+_0x7fef0b(0xe6)===_0x28dc97)['importList']}));}),_0x4d8a23['forEach'](_0x58a242=>{const _0x16e02e=_0x43cff7,_0x8978e=_0x58a242[_0x16e02e(0xd7)],_0x45f20e=_0x58a242[_0x16e02e(0xe3)],_0x38bb0a=[_0x58a242[_0x16e02e(0xe4)],_0x16e02e(0xdc)][_0x16e02e(0xe2)]('//'),_0x354f01=[_0x58a242[_0x16e02e(0xe4)],_0x16e02e(0xcd)][_0x16e02e(0xe2)]('//');fs[_0x16e02e(0xf3)](_0x38bb0a)&&(f_rm_rf(_0x38bb0a),fs[_0x16e02e(0xcb)](_0x38bb0a));fs['existsSync'](_0x354f01)&&fs[_0x16e02e(0xc9)](_0x354f01);_0x45f20e[_0x16e02e(0xd4)]&&fs[_0x16e02e(0xd0)](_0x58a242[_0x16e02e(0xe4)])[_0x16e02e(0xf2)](_0x28ec95=>!_0x45f20e[_0x16e02e(0xd9)](_0x28ec95)&&_0x28ec95!=='index.js'&&_0x28ec95!==_0x16e02e(0xd1))[_0x16e02e(0xc6)](_0x59eb69=>{const _0x2ba0cf=_0x16e02e,_0x5ac061=_0x58a242[_0x2ba0cf(0xe4)]+'\x5c'+_0x59eb69;f_rm_rf(_0x5ac061),fs[_0x2ba0cf(0xcb)](_0x5ac061);});if(_0x5b9511[_0x16e02e(0xf1)]===_0x16e02e(0xf8)){const _0x1c27ac=_0x8978e;fs[_0x16e02e(0xf3)](_0x1cf156+'\x5c'+_0x1c27ac)?f_rm_rf(_0x1cf156+'\x5c'+_0x1c27ac):fs[_0x16e02e(0xd5)](_0x1cf156+'\x5c'+_0x1c27ac),_0x1c27ac!==_0x16e02e(0xed)?(f_file_copy(_0x58a242['path'],_0x1cf156+'\x5c'+_0x1c27ac),f_create_package_json(_0x1cf156+'\x5c'+_0x1c27ac,_0x1c27ac,'1.0.0')):f_file_copy(_0x58a242['path']+_0x16e02e(0xcc),_0x1cf156+'\x5c'+_0x1c27ac),f_update_project_package_json(_0x4f353a,_0x1c27ac,'1.0.0');}else _0x5b9511[_0x16e02e(0xf1)]===_0x16e02e(0xdb)&&(fs['existsSync'](_0x39acb7+_0x8978e)?f_rm_rf(_0x39acb7+_0x8978e):fs['mkdirSync'](_0x39acb7+_0x8978e),f_file_copy(_0x58a242[_0x16e02e(0xe4)],_0x39acb7+_0x8978e));}),setTimeout(()=>{const _0x41643c=_0x43cff7;f_rm_rf(TEMPLATE_FOLDER),fs[_0x41643c(0xcb)](TEMPLATE_FOLDER);const _0x42e8a4=Date['now']();console[_0x41643c(0xc5)](_0x41643c(0xc8)+(_0x42e8a4-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x16f67c(0xc5)](_0x16f67c(0xee));};function a3_0x18ce(){const _0xf231d6=['57WLQqmb','./tools','node_modules','pipe','【Error】:安装失败,node_modules目录不存在。','package.json','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','log','forEach','installResources','【jjb-cmd】:install命令执行完成,用时','unlinkSync','./config','rmdirSync','\x5ctypes','.gitignore','find','createWriteStream','readdirSync','setting.json','src\x5c','repository','length','mkdirSync','now','pure_name','3677176qMWhyz','includes','【Error】:安装失败,src目录不存在。','src','.idea','name','request','close','resolve','zip','join','import_list','path','761165GPTxFE','_zip','1351738RByxUx','compressing','compress','exit','2432660VREOYO','replace','jjb-common-lib','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','8237388nuFpPT','22698342fVmvoD','installTarget','filter','existsSync','14fEoqah','220828fBNIIs'];a3_0x18ce=function(){return _0xf231d6;};return a3_0x18ce();}
1
+ const a3_0x3194a3=a3_0x54ce;(function(_0x58597d,_0x1a67b9){const _0x30249d=a3_0x54ce,_0x164987=_0x58597d();while(!![]){try{const _0x45f0ab=parseInt(_0x30249d(0xd7))/0x1+parseInt(_0x30249d(0xe9))/0x2*(-parseInt(_0x30249d(0xeb))/0x3)+-parseInt(_0x30249d(0xcd))/0x4*(parseInt(_0x30249d(0xdf))/0x5)+parseInt(_0x30249d(0xe8))/0x6*(parseInt(_0x30249d(0xdb))/0x7)+parseInt(_0x30249d(0xf4))/0x8*(parseInt(_0x30249d(0xcb))/0x9)+parseInt(_0x30249d(0xf5))/0xa+-parseInt(_0x30249d(0xe3))/0xb;if(_0x45f0ab===_0x1a67b9)break;else _0x164987['push'](_0x164987['shift']());}catch(_0x3af521){_0x164987['push'](_0x164987['shift']());}}}(a3_0x493f,0xba2ca));function a3_0x54ce(_0x28f5c5,_0x255ff3){const _0x493fd3=a3_0x493f();return a3_0x54ce=function(_0x54ce3f,_0xdc041f){_0x54ce3f=_0x54ce3f-0xc8;let _0x215b4f=_0x493fd3[_0x54ce3f];return _0x215b4f;},a3_0x54ce(_0x28f5c5,_0x255ff3);}function a3_0x493f(){const _0x108d27=['createWriteStream','map','filter','432ogsTEa','13400420peyTSm','pipe','rmdirSync','now','path','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','1.0.0','importList','compress','index.js','unlinkSync','242658bkpUdM','push','168ufeQHZ','./tools','【jjb-cmd】:install命令执行完成,用时','installTarget','name','readdirSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','length','./config','【Error】:安装失败,node_modules目录不存在。','1007616pFEKdg','includes','_zip','join','575561hPYzTF','forEach','log','find','61685vBlhnA','\x5ctypes','close','node_modules','35965226dOZqbs','【Error】:安装失败,src目录不存在。','replace','installResources','.idea','60rBxAnh','16788fUGtAB','resolve','27eICSRL','request','mkdirSync','package.json','existsSync','exit'];a3_0x493f=function(){return _0x108d27;};return a3_0x493f();}const fs=require('fs'),path=require(a3_0x3194a3(0xf9)),request=require(a3_0x3194a3(0xec)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x3194a3(0xce)),{TEMPLATE_FOLDER}=require(a3_0x3194a3(0xd5)),start_time=Date[a3_0x3194a3(0xf8)]();module['exports']=()=>{const _0x5e18c9=a3_0x3194a3,_0x506d20=path[_0x5e18c9(0xea)]('./'),_0x46696b=[_0x506d20,'src\x5c'][_0x5e18c9(0xda)]('\x5c'),_0x405659=[_0x506d20,_0x5e18c9(0xe2)][_0x5e18c9(0xda)]('\x5c'),_0x17d8a8=[_0x506d20,_0x5e18c9(0xee)][_0x5e18c9(0xda)]('\x5c');if(f_scan_jjb_config_json(_0x506d20)){const _0xd3ba91=f_scan_jjb_config_json_rules(_0x506d20);_0xd3ba91['installTarget']===_0x5e18c9(0xe2)?!fs[_0x5e18c9(0xef)](_0x405659)?(console[_0x5e18c9(0xdd)](_0x5e18c9(0xd6)),process[_0x5e18c9(0xf0)](0x0)):console[_0x5e18c9(0xdd)](_0x5e18c9(0xd3)):!fs['existsSync'](_0x46696b)&&(console[_0x5e18c9(0xdd)](_0x5e18c9(0xe4)),process[_0x5e18c9(0xf0)](0x0));fs[_0x5e18c9(0xed)](TEMPLATE_FOLDER),f_pull_git_repository(_0xd3ba91[_0x5e18c9(0xe6)])[_0x5e18c9(0xf2)](_0x53fb44=>{const _0x114ce3=_0x5e18c9,_0x1533e0=fs[_0x114ce3(0xf1)](_0x53fb44[_0x114ce3(0xf9)]);request(_0x53fb44['repository'])[_0x114ce3(0xf6)](_0x1533e0)['on'](_0x114ce3(0xe1),()=>{const _0x26a419=_0x114ce3;fs[_0x26a419(0xed)](_0x53fb44[_0x26a419(0xc8)]),compressing['zip']['uncompress'](_0x53fb44[_0x26a419(0xf9)],_0x53fb44[_0x26a419(0xc8)]);});});const _0x134127=setInterval(()=>{const _0x2b8bce=_0x5e18c9,_0x5edd83=fs['readdirSync'](TEMPLATE_FOLDER),_0x5ed854=_0x5edd83[_0x2b8bce(0xf3)](_0x1e8772=>_0xd3ba91[_0x2b8bce(0xe6)]['map'](_0x343277=>_0x343277[_0x2b8bce(0xd1)]+_0x2b8bce(0xd9))['includes'](_0x1e8772));if(_0x5ed854['length']===_0xd3ba91[_0x2b8bce(0xe6)][_0x2b8bce(0xd4)]){clearInterval(_0x134127);const _0x2414a6=[];_0x5ed854['forEach'](_0x5f4777=>{const _0x1b1b10=_0x2b8bce,_0x403da1=[TEMPLATE_FOLDER,_0x5f4777]['join']('\x5c');fs[_0x1b1b10(0xd2)](_0x403da1)[_0x1b1b10(0xdc)](_0x4b65e6=>_0x2414a6[_0x1b1b10(0xcc)]({'name':_0x5f4777,'path':[_0x403da1,_0x4b65e6][_0x1b1b10(0xda)]('\x5c'),'pure_name':_0x5f4777[_0x1b1b10(0xe5)](/_zip$/,''),'import_list':_0xd3ba91[_0x1b1b10(0xe6)][_0x1b1b10(0xde)](_0xb53b86=>_0xb53b86['name']+_0x1b1b10(0xd9)===_0x5f4777)[_0x1b1b10(0xfc)]}));}),_0x2414a6[_0x2b8bce(0xdc)](_0x2cd34a=>{const _0x33198d=_0x2b8bce,_0x16a006=_0x2cd34a['pure_name'],_0x29dfe2=_0x2cd34a['import_list'],_0x2867ff=[_0x2cd34a[_0x33198d(0xf9)],_0x33198d(0xe7)][_0x33198d(0xda)]('//'),_0x468862=[_0x2cd34a['path'],'.gitignore']['join']('//');fs[_0x33198d(0xef)](_0x2867ff)&&(f_rm_rf(_0x2867ff),fs['rmdirSync'](_0x2867ff));fs[_0x33198d(0xef)](_0x468862)&&fs[_0x33198d(0xca)](_0x468862);_0x29dfe2[_0x33198d(0xd4)]&&fs[_0x33198d(0xd2)](_0x2cd34a['path'])['filter'](_0x37aab9=>!_0x29dfe2[_0x33198d(0xd8)](_0x37aab9)&&_0x37aab9!==_0x33198d(0xc9)&&_0x37aab9!=='setting.json')[_0x33198d(0xdc)](_0x36c970=>{const _0x69a19a=_0x33198d,_0x3a5969=_0x2cd34a[_0x69a19a(0xf9)]+'\x5c'+_0x36c970;f_rm_rf(_0x3a5969),fs[_0x69a19a(0xf7)](_0x3a5969);});if(_0xd3ba91[_0x33198d(0xd0)]===_0x33198d(0xe2)){const _0x4e0c85=_0x16a006;fs[_0x33198d(0xef)](_0x405659+'\x5c'+_0x4e0c85)?f_rm_rf(_0x405659+'\x5c'+_0x4e0c85):fs[_0x33198d(0xed)](_0x405659+'\x5c'+_0x4e0c85),_0x4e0c85!=='jjb-common-lib'?(f_file_copy(_0x2cd34a[_0x33198d(0xf9)],_0x405659+'\x5c'+_0x4e0c85),f_create_package_json(_0x405659+'\x5c'+_0x4e0c85,_0x4e0c85,_0x33198d(0xfb))):f_file_copy(_0x2cd34a['path']+_0x33198d(0xe0),_0x405659+'\x5c'+_0x4e0c85),f_update_project_package_json(_0x17d8a8,_0x4e0c85,_0x33198d(0xfb));}else _0xd3ba91['installTarget']==='src'&&(fs[_0x33198d(0xef)](_0x46696b+_0x16a006)?f_rm_rf(_0x46696b+_0x16a006):fs[_0x33198d(0xed)](_0x46696b+_0x16a006),f_file_copy(_0x2cd34a[_0x33198d(0xf9)],_0x46696b+_0x16a006));}),setTimeout(()=>{const _0x3e33fe=_0x2b8bce;f_rm_rf(TEMPLATE_FOLDER),fs[_0x3e33fe(0xf7)](TEMPLATE_FOLDER);const _0x34047d=Date[_0x3e33fe(0xf8)]();console['log'](_0x3e33fe(0xcf)+(_0x34047d-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5e18c9(0xdd)](_0x5e18c9(0xfa));};
@@ -1 +1 @@
1
- const a4_0x28f821=a4_0x2566;function a4_0x2566(_0x41fd68,_0x54f06d){const _0x3691ac=a4_0x3691();return a4_0x2566=function(_0x2566a4,_0x5c8e9d){_0x2566a4=_0x2566a4-0x1f0;let _0x5418ad=_0x3691ac[_0x2566a4];return _0x5418ad;},a4_0x2566(_0x41fd68,_0x54f06d);}(function(_0x2ff348,_0x29f6a6){const _0xd832a4=a4_0x2566,_0x2df7c9=_0x2ff348();while(!![]){try{const _0x1e6074=-parseInt(_0xd832a4(0x212))/0x1*(-parseInt(_0xd832a4(0x21d))/0x2)+-parseInt(_0xd832a4(0x20e))/0x3+-parseInt(_0xd832a4(0x230))/0x4*(-parseInt(_0xd832a4(0x20b))/0x5)+-parseInt(_0xd832a4(0x22c))/0x6+parseInt(_0xd832a4(0x203))/0x7*(-parseInt(_0xd832a4(0x1fc))/0x8)+parseInt(_0xd832a4(0x222))/0x9*(parseInt(_0xd832a4(0x1f0))/0xa)+-parseInt(_0xd832a4(0x21b))/0xb*(-parseInt(_0xd832a4(0x210))/0xc);if(_0x1e6074===_0x29f6a6)break;else _0x2df7c9['push'](_0x2df7c9['shift']());}catch(_0x55c9c1){_0x2df7c9['push'](_0x2df7c9['shift']());}}}(a4_0x3691,0xdc876));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x28f821(0x213));exports[a4_0x28f821(0x21e)]=function(_0x36983a){const _0x25ef96=a4_0x28f821;if(fs[_0x25ef96(0x1f5)](_0x36983a)){const _0x5e9f00=fs[_0x25ef96(0x225)](_0x36983a);for(let _0xf7f12b=0x0;_0xf7f12b<_0x5e9f00[_0x25ef96(0x231)];_0xf7f12b++){const _0x285734=_0x5e9f00[_0xf7f12b],_0x31cda0=_0x36983a+'/'+_0x285734;fs[_0x25ef96(0x207)](_0x31cda0)[_0x25ef96(0x1fd)]()?(exports[_0x25ef96(0x21e)](_0x31cda0),fs[_0x25ef96(0x1f9)](_0x31cda0)):fs[_0x25ef96(0x21f)](_0x31cda0);}}},exports[a4_0x28f821(0x1f6)]=function(_0x5d1b12=[]){return _0x5d1b12['map'](_0x28ea53=>{const _0x207e6b=a4_0x2566,_0x384fa6=CLOUD_PROJECT[_0x28ea53[_0x207e6b(0x229)]]||undefined,_0x1bdc27=os['tmpdir']();return{'path':_0x1bdc27+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28ea53[_0x207e6b(0x229)]+_0x207e6b(0x221),'compress':_0x1bdc27+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28ea53[_0x207e6b(0x229)]+_0x207e6b(0x1f4),'repository':GIT_HOST+_0x207e6b(0x1fe)+_0x384fa6[_0x207e6b(0x1f2)]+_0x207e6b(0x202)+_0x384fa6[_0x207e6b(0x206)]+_0x207e6b(0x204)};});},exports['f_scan_jjb_config_json']=function(_0x603461){const _0x30c560=a4_0x28f821;return fs[_0x30c560(0x1f5)](_0x603461+_0x30c560(0x22f));},exports['f_scan_jjb_config_json_rules']=function(_0x5c6f73){const _0x3de2ac=a4_0x28f821;let _0x1e7183={};try{_0x1e7183=JSON['parse'](fs[_0x3de2ac(0x22b)](_0x5c6f73+_0x3de2ac(0x22f))[_0x3de2ac(0x1fb)]());}catch(_0x1079c5){console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process['exit'](0x0);}!(_0x3de2ac(0x201)in _0x1e7183)&&(console[_0x3de2ac(0x1fa)](_0x3de2ac(0x220)),process[_0x3de2ac(0x232)](0x0));!('installTarget'in _0x1e7183)&&(console['log'](_0x3de2ac(0x223)),process[_0x3de2ac(0x232)](0x0));!(_0x3de2ac(0x214)in _0x1e7183)&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x3de2ac(0x232)](0x0));typeof _0x1e7183[_0x3de2ac(0x201)]!==_0x3de2ac(0x218)&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));![_0x3de2ac(0x217),_0x3de2ac(0x224),_0x3de2ac(0x20a),_0x3de2ac(0x22d)]['includes'](_0x1e7183[_0x3de2ac(0x201)])&&(console['log']('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x3de2ac(0x232)](0x0));typeof _0x1e7183[_0x3de2ac(0x22e)]!==_0x3de2ac(0x218)&&(console[_0x3de2ac(0x1fa)](_0x3de2ac(0x216)),process[_0x3de2ac(0x232)](0x0));![_0x3de2ac(0x22a),_0x3de2ac(0x1ff)][_0x3de2ac(0x209)](_0x1e7183[_0x3de2ac(0x22e)])&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x3de2ac(0x232)](0x0));!Array[_0x3de2ac(0x211)](_0x1e7183[_0x3de2ac(0x214)])&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x1e7183[_0x3de2ac(0x214)]['length']===0x0&&(console[_0x3de2ac(0x1fa)](_0x3de2ac(0x208)),process[_0x3de2ac(0x232)](0x0));const _0x52f86e=exports['f_resolve_install_resources'](_0x1e7183[_0x3de2ac(0x214)]);return _0x52f86e[_0x3de2ac(0x20c)](_0x54eb10=>_0x54eb10[_0x3de2ac(0x229)])[_0x3de2ac(0x1f1)](_0xbcb9b7=>![_0x3de2ac(0x1f3),_0x3de2ac(0x200),'jjb-common-lib',_0x3de2ac(0x205),'react-admin-component',_0x3de2ac(0x20d)][_0x3de2ac(0x209)](_0xbcb9b7))[_0x3de2ac(0x231)]!==0x0&&(console[_0x3de2ac(0x1fa)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0x3de2ac(0x232)](0x0)),_0x1e7183[_0x3de2ac(0x214)]=_0x52f86e,_0x1e7183;},exports['f_create_package_json']=function(_0x5903e6,_0x3e0abc,_0x3b537a){const _0xcd016b=a4_0x28f821;fs[_0xcd016b(0x226)](_0x5903e6+_0xcd016b(0x227),_0xcd016b(0x1f7)+_0x3e0abc+_0xcd016b(0x21a)+_0x3b537a+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports['f_resolve_install_resources']=function(_0x539a4b=[]){const _0x455480=a4_0x28f821,_0x247874=[];return Array[_0x455480(0x211)](_0x539a4b)&&_0x539a4b[_0x455480(0x21c)](_0xe7a2ed=>{const _0x549ce9=_0x455480;if(Array[_0x549ce9(0x211)](_0xe7a2ed)){const [_0x4f438a,_0x557fba=[]]=_0xe7a2ed;_0x247874['push']({'name':_0x4f438a,'importList':_0x557fba});}else _0x247874[_0x549ce9(0x215)]({'name':_0xe7a2ed,'importList':[]});}),_0x247874;},exports['f_update_project_package_json']=function(_0x5ab538,_0x2566fc,_0x48b37b){const _0x33ecba=a4_0x28f821,_0x1a8bd6=JSON['parse'](fs['readFileSync'](_0x5ab538)[_0x33ecba(0x1fb)]());_0x1a8bd6['dependencies'][_0x2566fc]=_0x48b37b,fs[_0x33ecba(0x226)](_0x5ab538,JSON['stringify'](_0x1a8bd6,null,0x2));},exports['f_file_copy']=function(_0xb240ce,_0x525a36){const _0x5dbe6f=a4_0x28f821;fs[_0x5dbe6f(0x225)](_0xb240ce)[_0x5dbe6f(0x21c)](_0xa1cb1a=>{const _0x4fe1b6=_0x5dbe6f,_0x1be402=_0xb240ce+'\x5c'+_0xa1cb1a,_0x300af4=_0x525a36+'\x5c'+_0xa1cb1a;fs[_0x4fe1b6(0x207)](_0x1be402)[_0x4fe1b6(0x1fd)]()?(fs[_0x4fe1b6(0x228)](_0x300af4),exports[_0x4fe1b6(0x20f)](_0x1be402,_0x300af4)):fs[_0x4fe1b6(0x226)](_0x300af4,fs['readFileSync'](_0x1be402)[_0x4fe1b6(0x1fb)]());});},exports[a4_0x28f821(0x1f8)]=function(_0x546259=[],_0x48e63c){const _0x5a539d=a4_0x28f821;_0x546259[_0x5a539d(0x21c)](_0x3111d4=>{const _0xe6bc7b=_0x5a539d,_0x4aa1a1=_0x48e63c+_0x3111d4['path'];if(fs['existsSync'](_0x4aa1a1)){let _0x50cce9=fs[_0xe6bc7b(0x22b)](_0x4aa1a1)['toString']();_0x3111d4[_0xe6bc7b(0x219)]['forEach'](_0xf68ffe=>{const _0x25de38=_0xe6bc7b;_0x50cce9=_0x50cce9[_0x25de38(0x219)](_0xf68ffe[0x0],_0xf68ffe[0x1]);}),fs[_0xe6bc7b(0x226)](_0x4aa1a1,_0x50cce9);}});};function a4_0x3691(){const _0x58b5b2=['readdirSync','writeFileSync','\x5cpackage.json','mkdirSync','name','node_modules','readFileSync','7808454CfJDDK','micro-spa','installTarget','\x5cjjb.config.json','5324PMpwju','length','exit','293990yrtdzM','filter','projectId','jjb-common','_zip','existsSync','f_pull_git_repository','{\x22name\x22:\x22','f_content_replace','rmdirSync','log','toString','712OZdVEP','isDirectory','/api/v4/projects/','src','jjb-dva-runtime','projectType','/repository/archive.zip?private_token=','259CkjbZR','&ref=master','jjb-common-decorator','token','statSync','【Error】:[jjb.config.json.installResources]无资源。','includes','uniapp','2165vPzslV','map','vue-unisass-component','4648701iYnoaK','f_file_copy','4614420aZrQoK','isArray','3oSxaLq','./config','installResources','push','【Error】:[jjb.config.json.installTarget]类型是一个string。','multi','string','replace','\x22,\x22version\x22:\x22','77kTvrBg','forEach','287126UZHpwc','f_rm_rf','unlinkSync','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','.zip','18AKJqfk','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','spa'];a4_0x3691=function(){return _0x58b5b2;};return a4_0x3691();}
1
+ const a4_0x565bfe=a4_0x2f99;(function(_0x411ab2,_0x6e6728){const _0x3a1370=a4_0x2f99,_0x3f132b=_0x411ab2();while(!![]){try{const _0x4258ef=parseInt(_0x3a1370(0x1d1))/0x1+-parseInt(_0x3a1370(0x212))/0x2*(-parseInt(_0x3a1370(0x209))/0x3)+parseInt(_0x3a1370(0x1d3))/0x4*(-parseInt(_0x3a1370(0x202))/0x5)+-parseInt(_0x3a1370(0x1f8))/0x6*(parseInt(_0x3a1370(0x1e8))/0x7)+-parseInt(_0x3a1370(0x20a))/0x8*(-parseInt(_0x3a1370(0x218))/0x9)+-parseInt(_0x3a1370(0x1ec))/0xa+-parseInt(_0x3a1370(0x1f2))/0xb*(-parseInt(_0x3a1370(0x1fc))/0xc);if(_0x4258ef===_0x6e6728)break;else _0x3f132b['push'](_0x3f132b['shift']());}catch(_0x42e63e){_0x3f132b['push'](_0x3f132b['shift']());}}}(a4_0x3b9f,0x19de8));function a4_0x2f99(_0x3fdb6f,_0x110bc2){const _0x3b9f20=a4_0x3b9f();return a4_0x2f99=function(_0x2f995c,_0x161ed9){_0x2f995c=_0x2f995c-0x1cf;let _0x1f8aa2=_0x3b9f20[_0x2f995c];return _0x1f8aa2;},a4_0x2f99(_0x3fdb6f,_0x110bc2);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x565bfe(0x1f0));function a4_0x3b9f(){const _0x144320=['【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','15aHkHnp','16QHVjaz','_zip','src','{\x22name\x22:\x22','map','push','multi','dependencies','76126dcghRO','【Error】:[jjb.config.json.projectType]类型是一个string。','\x5cpackage.json','toString','node_modules','isArray','98955dmZmip','react-admin-component','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','/repository/archive.zip?private_token=','installResources','f_scan_jjb_config_json_rules','86982YHStCn','mkdirSync','8LclJbw','\x5cjjb.config.json','forEach','uniapp','f_content_replace','stringify','statSync','log','path','string','isDirectory','name','f_scan_jjb_config_json','includes','vue-unisass-component','f_resolve_install_resources','&ref=master','f_update_project_package_json','jjb-common','readFileSync','readdirSync','7vavyPl','projectId','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','jjb-common-lib','14650levlLh','existsSync','writeFileSync','f_file_copy','./config','【Error】:[jjb.config.json.installResources]无资源。','403370vtmGoM','replace','parse','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','filter','1212732KIgTRr','tmpdir','micro-spa','exit','12HrDFLM','token','/api/v4/projects/','projectType','.zip','【Error】:[jjb.config.json.installTarget]类型是一个string。','66025UVPmFe','length','f_create_package_json','spa','installTarget'];a4_0x3b9f=function(){return _0x144320;};return a4_0x3b9f();}exports['f_rm_rf']=function(_0x2ce0e1){const _0x445e7f=a4_0x565bfe;if(fs[_0x445e7f(0x1ed)](_0x2ce0e1)){const _0x4f192e=fs[_0x445e7f(0x1e7)](_0x2ce0e1);for(let _0x507651=0x0;_0x507651<_0x4f192e[_0x445e7f(0x203)];_0x507651++){const _0x139e28=_0x4f192e[_0x507651],_0x2d2cea=_0x2ce0e1+'/'+_0x139e28;fs[_0x445e7f(0x1d9)](_0x2d2cea)[_0x445e7f(0x1dd)]()?(exports['f_rm_rf'](_0x2d2cea),fs['rmdirSync'](_0x2d2cea)):fs['unlinkSync'](_0x2d2cea);}}},exports['f_pull_git_repository']=function(_0x4892f6=[]){const _0x577608=a4_0x565bfe;return _0x4892f6[_0x577608(0x20e)](_0x5eeb5d=>{const _0x5830d9=_0x577608,_0x3e3fca=CLOUD_PROJECT[_0x5eeb5d[_0x5830d9(0x1de)]]||undefined,_0x6885cd=os[_0x5830d9(0x1f9)]();return{'path':_0x6885cd+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5eeb5d[_0x5830d9(0x1de)]+_0x5830d9(0x200),'compress':_0x6885cd+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5eeb5d[_0x5830d9(0x1de)]+_0x5830d9(0x20b),'repository':GIT_HOST+_0x5830d9(0x1fe)+_0x3e3fca[_0x5830d9(0x1e9)]+_0x5830d9(0x21b)+_0x3e3fca[_0x5830d9(0x1fd)]+_0x5830d9(0x1e3)};});},exports[a4_0x565bfe(0x1df)]=function(_0x521564){return fs['existsSync'](_0x521564+'\x5cjjb.config.json');},exports[a4_0x565bfe(0x1d0)]=function(_0x1910c9){const _0x2e3cec=a4_0x565bfe;let _0x3a8753={};try{_0x3a8753=JSON[_0x2e3cec(0x1f4)](fs[_0x2e3cec(0x1e6)](_0x1910c9+_0x2e3cec(0x1d4))[_0x2e3cec(0x215)]());}catch(_0x1de58c){console['log'](_0x2e3cec(0x208)),process[_0x2e3cec(0x1fb)](0x0);}!(_0x2e3cec(0x1ff)in _0x3a8753)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x1f6)),process[_0x2e3cec(0x1fb)](0x0));!(_0x2e3cec(0x206)in _0x3a8753)&&(console[_0x2e3cec(0x1da)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process['exit'](0x0));!(_0x2e3cec(0x1cf)in _0x3a8753)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x21a)),process['exit'](0x0));typeof _0x3a8753[_0x2e3cec(0x1ff)]!==_0x2e3cec(0x1dc)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x213)),process[_0x2e3cec(0x1fb)](0x0));![_0x2e3cec(0x210),_0x2e3cec(0x205),_0x2e3cec(0x1d6),_0x2e3cec(0x1fa)][_0x2e3cec(0x1e0)](_0x3a8753['projectType'])&&(console['log'](_0x2e3cec(0x207)),process[_0x2e3cec(0x1fb)](0x0));typeof _0x3a8753[_0x2e3cec(0x206)]!==_0x2e3cec(0x1dc)&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x201)),process[_0x2e3cec(0x1fb)](0x0));![_0x2e3cec(0x216),_0x2e3cec(0x20c)]['includes'](_0x3a8753[_0x2e3cec(0x206)])&&(console['log'](_0x2e3cec(0x1f5)),process[_0x2e3cec(0x1fb)](0x0));!Array[_0x2e3cec(0x217)](_0x3a8753[_0x2e3cec(0x1cf)])&&(console['log']('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process[_0x2e3cec(0x1fb)](0x0));_0x3a8753[_0x2e3cec(0x1cf)]['length']===0x0&&(console[_0x2e3cec(0x1da)](_0x2e3cec(0x1f1)),process[_0x2e3cec(0x1fb)](0x0));const _0x338a36=exports[_0x2e3cec(0x1e2)](_0x3a8753[_0x2e3cec(0x1cf)]);return _0x338a36[_0x2e3cec(0x20e)](_0x45187e=>_0x45187e[_0x2e3cec(0x1de)])[_0x2e3cec(0x1f7)](_0x411582=>![_0x2e3cec(0x1e5),'jjb-dva-runtime',_0x2e3cec(0x1eb),'jjb-common-decorator',_0x2e3cec(0x219),_0x2e3cec(0x1e1)][_0x2e3cec(0x1e0)](_0x411582))[_0x2e3cec(0x203)]!==0x0&&(console['log'](_0x2e3cec(0x1ea)),process[_0x2e3cec(0x1fb)](0x0)),_0x3a8753[_0x2e3cec(0x1cf)]=_0x338a36,_0x3a8753;},exports[a4_0x565bfe(0x204)]=function(_0x40619a,_0x5eab16,_0x1227a5){const _0x584c17=a4_0x565bfe;fs[_0x584c17(0x1ee)](_0x40619a+_0x584c17(0x214),_0x584c17(0x20d)+_0x5eab16+'\x22,\x22version\x22:\x22'+_0x1227a5+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x565bfe(0x1e2)]=function(_0x330464=[]){const _0xef9852=a4_0x565bfe,_0x1962e1=[];return Array[_0xef9852(0x217)](_0x330464)&&_0x330464[_0xef9852(0x1d5)](_0x9f674=>{const _0x2e9f48=_0xef9852;if(Array['isArray'](_0x9f674)){const [_0x34c4d2,_0x463b54=[]]=_0x9f674;_0x1962e1[_0x2e9f48(0x20f)]({'name':_0x34c4d2,'importList':_0x463b54});}else _0x1962e1[_0x2e9f48(0x20f)]({'name':_0x9f674,'importList':[]});}),_0x1962e1;},exports[a4_0x565bfe(0x1e4)]=function(_0x5e7b05,_0x571548,_0x3839c1){const _0xbd0dc4=a4_0x565bfe,_0x17a420=JSON['parse'](fs[_0xbd0dc4(0x1e6)](_0x5e7b05)[_0xbd0dc4(0x215)]());_0x17a420[_0xbd0dc4(0x211)][_0x571548]=_0x3839c1,fs[_0xbd0dc4(0x1ee)](_0x5e7b05,JSON[_0xbd0dc4(0x1d8)](_0x17a420,null,0x2));},exports[a4_0x565bfe(0x1ef)]=function(_0x530cbe,_0x1afc8f){const _0x46967e=a4_0x565bfe;fs[_0x46967e(0x1e7)](_0x530cbe)['forEach'](_0x51a713=>{const _0x11dc3f=_0x46967e,_0x57c09d=_0x530cbe+'\x5c'+_0x51a713,_0x4b2537=_0x1afc8f+'\x5c'+_0x51a713;fs[_0x11dc3f(0x1d9)](_0x57c09d)[_0x11dc3f(0x1dd)]()?(fs[_0x11dc3f(0x1d2)](_0x4b2537),exports[_0x11dc3f(0x1ef)](_0x57c09d,_0x4b2537)):fs['writeFileSync'](_0x4b2537,fs[_0x11dc3f(0x1e6)](_0x57c09d)[_0x11dc3f(0x215)]());});},exports[a4_0x565bfe(0x1d7)]=function(_0x3591f2=[],_0x368d8b){const _0x662381=a4_0x565bfe;_0x3591f2[_0x662381(0x1d5)](_0x1b8806=>{const _0xef4c92=_0x662381,_0x22b236=_0x368d8b+_0x1b8806[_0xef4c92(0x1db)];if(fs[_0xef4c92(0x1ed)](_0x22b236)){let _0x1d8f86=fs[_0xef4c92(0x1e6)](_0x22b236)[_0xef4c92(0x215)]();_0x1b8806[_0xef4c92(0x1f3)][_0xef4c92(0x1d5)](_0x26fd10=>{const _0x20efef=_0xef4c92;_0x1d8f86=_0x1d8f86[_0x20efef(0x1f3)](_0x26fd10[0x0],_0x26fd10[0x1]);}),fs['writeFileSync'](_0x22b236,_0x1d8f86);}});};
@@ -1 +1 @@
1
- function a5_0x764a(){const _0x4a9d09=['git\x20init','Finish!','212448rYVlpV','5273630XnWdvU','8394zxEwIc','2289pTyTld','npm','resolve','/.git','8766jwkxiq','install\x20modules\x20please\x20wait....','execSync','includes','90nVsztr','1108534bNreXG','existsSync','1348RwNKgG','12608772vjisaE','npm\x20install','log','exports','yarn','npx\x20husky\x20install','4631780tUpIec','exit','1fzFAEX'];a5_0x764a=function(){return _0x4a9d09;};return a5_0x764a();}const a5_0x2f6072=a5_0x3901;function a5_0x3901(_0x3096b5,_0x13d322){const _0x764aee=a5_0x764a();return a5_0x3901=function(_0x3901ca,_0x3f63b6){_0x3901ca=_0x3901ca-0xe4;let _0x76eb3c=_0x764aee[_0x3901ca];return _0x76eb3c;},a5_0x3901(_0x3096b5,_0x13d322);}(function(_0x50e814,_0x1d9e5b){const _0x5c22ac=a5_0x3901,_0x206995=_0x50e814();while(!![]){try{const _0x4f5589=parseInt(_0x5c22ac(0xef))/0x1*(parseInt(_0x5c22ac(0xe4))/0x2)+-parseInt(_0x5c22ac(0xf4))/0x3*(parseInt(_0x5c22ac(0xe6))/0x4)+parseInt(_0x5c22ac(0xed))/0x5+parseInt(_0x5c22ac(0xf9))/0x6*(-parseInt(_0x5c22ac(0xf5))/0x7)+-parseInt(_0x5c22ac(0xf2))/0x8*(-parseInt(_0x5c22ac(0xfd))/0x9)+-parseInt(_0x5c22ac(0xf3))/0xa+parseInt(_0x5c22ac(0xe7))/0xb;if(_0x4f5589===_0x1d9e5b)break;else _0x206995['push'](_0x206995['shift']());}catch(_0x4b18b4){_0x206995['push'](_0x206995['shift']());}}}(a5_0x764a,0xe690f));const child_process=require('child_process'),path=require('path'),fs=require('fs');module[a5_0x2f6072(0xea)]=_0x40f33c=>{const _0x2b48c4=a5_0x2f6072;![_0x2b48c4(0xf6),_0x2b48c4(0xeb)][_0x2b48c4(0xfc)](_0x40f33c)&&(console[_0x2b48c4(0xe9)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process[_0x2b48c4(0xee)](0x0));const _0x430630=path[_0x2b48c4(0xf7)]('./');console[_0x2b48c4(0xe9)](_0x2b48c4(0xfa)),child_process[_0x2b48c4(0xfb)](_0x40f33c===_0x2b48c4(0xeb)?_0x2b48c4(0xeb):_0x2b48c4(0xe8),{'cwd':_0x430630}),!fs[_0x2b48c4(0xe5)](_0x430630+_0x2b48c4(0xf8))&&(console[_0x2b48c4(0xe9)]('git\x20init\x20please\x20wait....'),child_process['execSync'](_0x2b48c4(0xf0),{'cwd':_0x430630})),console['log']('install\x20husky\x20please\x20wait....'),child_process[_0x2b48c4(0xfb)](_0x2b48c4(0xec),{'cwd':_0x430630}),console['log'](_0x2b48c4(0xf1));};
1
+ const a5_0x1aef4c=a5_0xfe39;(function(_0x5945fd,_0x368fe9){const _0x3065db=a5_0xfe39,_0x551701=_0x5945fd();while(!![]){try{const _0x39e38b=-parseInt(_0x3065db(0xef))/0x1*(-parseInt(_0x3065db(0xf6))/0x2)+-parseInt(_0x3065db(0xf4))/0x3*(-parseInt(_0x3065db(0xf8))/0x4)+-parseInt(_0x3065db(0xf0))/0x5*(parseInt(_0x3065db(0x102))/0x6)+parseInt(_0x3065db(0x100))/0x7*(parseInt(_0x3065db(0xf3))/0x8)+parseInt(_0x3065db(0xf7))/0x9*(parseInt(_0x3065db(0xf9))/0xa)+parseInt(_0x3065db(0xeb))/0xb+-parseInt(_0x3065db(0xfd))/0xc;if(_0x39e38b===_0x368fe9)break;else _0x551701['push'](_0x551701['shift']());}catch(_0x4dbca8){_0x551701['push'](_0x551701['shift']());}}}(a5_0x46f6,0x8fe1d));function a5_0xfe39(_0x452108,_0x4c1fcd){const _0x46f609=a5_0x46f6();return a5_0xfe39=function(_0xfe399f,_0x115635){_0xfe399f=_0xfe399f-0xea;let _0x53c5dc=_0x46f609[_0xfe399f];return _0x53c5dc;},a5_0xfe39(_0x452108,_0x4c1fcd);}const child_process=require('child_process'),path=require(a5_0x1aef4c(0xee)),fs=require('fs');function a5_0x46f6(){const _0xdc060=['2624MbCEGN','1373365skzoKA','install\x20modules\x20please\x20wait....','resolve','11464sapUlq','1623spCRpK','Finish!','714slrbTn','8676hEBynV','7988OhznTs','6910XzaACd','/.git','exports','existsSync','42134952DtEkrm','yarn','npm\x20install','5327NNwmdj','npm','18RfQVFY','execSync','12659064rZlujB','log','install\x20husky\x20please\x20wait....','path'];a5_0x46f6=function(){return _0xdc060;};return a5_0x46f6();}module[a5_0x1aef4c(0xfb)]=_0x265ce7=>{const _0xee04d0=a5_0x1aef4c;![_0xee04d0(0x101),_0xee04d0(0xfe)]['includes'](_0x265ce7)&&(console[_0xee04d0(0xec)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process['exit'](0x0));const _0x9afb0b=path[_0xee04d0(0xf2)]('./');console['log'](_0xee04d0(0xf1)),child_process[_0xee04d0(0xea)](_0x265ce7==='yarn'?_0xee04d0(0xfe):_0xee04d0(0xff),{'cwd':_0x9afb0b}),!fs[_0xee04d0(0xfc)](_0x9afb0b+_0xee04d0(0xfa))&&(console[_0xee04d0(0xec)]('git\x20init\x20please\x20wait....'),child_process[_0xee04d0(0xea)]('git\x20init',{'cwd':_0x9afb0b})),console[_0xee04d0(0xec)](_0xee04d0(0xed)),child_process['execSync']('npx\x20husky\x20install',{'cwd':_0x9afb0b}),console[_0xee04d0(0xec)](_0xee04d0(0xf5));};
@@ -1 +1 @@
1
- const a6_0x4a0f92=a6_0x47e0;function a6_0x7e29(){const _0x14b4cc=['path','post','component_config_content','Auth\x20Fail!','resolve','message','execSync','catch','请输入此次提交信息,按Enter确认:','【Error】:no\x20auth\x20login','/yarn.lock','then','发布失败!根目录缺少‘package.json’文件,无法完成发布。','data','parse','4ADLeuO','Please\x20wait,\x20build\x20...','stdout','stringify','18600ZAwVzB','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','readFileSync','3DlvQSk','createInterface','platform','761043EQJOVa','axios','2305490nHvnhD','hostname','no\x20message','【Error】:请必须包含README.md说明文件','exit','status','5954cvLqJb','350sLfdJy','../../../.auth','\x5cREADME.md','510720bekNNR','log','exports','5124XYYEyw','Auth\x20NetWork\x20Fail!','toString','arch','package_content','1610118jyiCVp','yarn\x20build:production','existsSync','push','split','readline','package_name','721cnAyoX','npm\x20run\x20build:production','../../../package.json','【Error】:请必须包含component.config.json组件配置文件','\x5ccomponent.config.json'];a6_0x7e29=function(){return _0x14b4cc;};return a6_0x7e29();}(function(_0x48d544,_0x308289){const _0x3969fc=a6_0x47e0,_0x988334=_0x48d544();while(!![]){try{const _0x17cbd6=-parseInt(_0x3969fc(0x1c0))/0x1*(-parseInt(_0x3969fc(0x1cb))/0x2)+-parseInt(_0x3969fc(0x1c3))/0x3*(parseInt(_0x3969fc(0x1b9))/0x4)+parseInt(_0x3969fc(0x1cc))/0x5*(parseInt(_0x3969fc(0x199))/0x6)+-parseInt(_0x3969fc(0x1a5))/0x7*(-parseInt(_0x3969fc(0x1bd))/0x8)+-parseInt(_0x3969fc(0x19e))/0x9+parseInt(_0x3969fc(0x196))/0xa+parseInt(_0x3969fc(0x1c5))/0xb;if(_0x17cbd6===_0x308289)break;else _0x988334['push'](_0x988334['shift']());}catch(_0x5c12b9){_0x988334['push'](_0x988334['shift']());}}}(a6_0x7e29,0x21449));const path=require(a6_0x4a0f92(0x1aa)),fs=require('fs'),os=require('os'),axios=require(a6_0x4a0f92(0x1c4)),readline=require(a6_0x4a0f92(0x1a3)),io=readline[a6_0x4a0f92(0x1c1)]({'input':process['stdin'],'output':process[a6_0x4a0f92(0x1bb)]}),child_process=require('child_process'),{API_HOST}=require('../cmd.install/config');function a6_0x47e0(_0x207ab5,_0x5bda92){const _0x7e2904=a6_0x7e29();return a6_0x47e0=function(_0x47e082,_0x125bb6){_0x47e082=_0x47e082-0x195;let _0x2f9566=_0x7e2904[_0x47e082];return _0x2f9566;},a6_0x47e0(_0x207ab5,_0x5bda92);}module[a6_0x4a0f92(0x198)]=_0x42e0db=>{const _0x195ca5=a6_0x4a0f92,_0x129fe8=path['join'](__dirname,_0x195ca5(0x1cd));!fs[_0x195ca5(0x1a0)](_0x129fe8)&&(console['log'](_0x195ca5(0x1b3)),process[_0x195ca5(0x1c9)](0x0));const [_0x19c1e8,_0x10c89d]=fs[_0x195ca5(0x1bf)](_0x129fe8)[_0x195ca5(0x19b)]()[_0x195ca5(0x1a2)]('/');axios[_0x195ca5(0x1ab)](API_HOST+'/api/auth',{'username':_0x19c1e8,'password':_0x10c89d})[_0x195ca5(0x1b5)](_0x2361b8=>{const _0x17dda7=_0x195ca5;if(_0x2361b8[_0x17dda7(0x1b7)][_0x17dda7(0x1ca)]){const _0x5ca9e8=path[_0x17dda7(0x1ae)]('./');console['log'](_0x17dda7(0x1ba));fs['existsSync'](_0x5ca9e8+_0x17dda7(0x1b4))?child_process['execSync'](_0x17dda7(0x19f),{'cwd':_0x5ca9e8}):child_process[_0x17dda7(0x1b0)](_0x17dda7(0x1a6),{'cwd':_0x5ca9e8});const _0x5c5d88=_0x5ca9e8+'\x5cdist\x5cindex.js',_0x4b7ceb=_0x5ca9e8+'\x5cpackage.json',_0x103756=_0x5ca9e8+_0x17dda7(0x195),_0x1f8551=_0x5ca9e8+_0x17dda7(0x1a9),_0x526eed=[os['hostname'](),os[_0x17dda7(0x1c2)](),os[_0x17dda7(0x19c)](),new Date()['toString']()],_0x7d0fdf=JSON[_0x17dda7(0x1b8)](fs['readFileSync'](path['join'](__dirname,_0x17dda7(0x1a7)))[_0x17dda7(0x19b)]()),{version:_0x2a862a}=_0x7d0fdf,_0x419819={'username':_0x19c1e8,'cmd_version':_0x2a862a,'hostname':os[_0x17dda7(0x1c6)](),'platform':os['platform']()};if(fs[_0x17dda7(0x1a0)](_0x4b7ceb)){if(fs[_0x17dda7(0x1a0)](_0x5c5d88)){const _0x16e050=JSON[_0x17dda7(0x1b8)](fs[_0x17dda7(0x1bf)](_0x4b7ceb)[_0x17dda7(0x19b)]()),{name:_0x3f7419,version:_0x246fe7}=_0x16e050;_0x526eed[_0x17dda7(0x1a1)](JSON[_0x17dda7(0x1bc)](_0x16e050)),_0x419819[_0x17dda7(0x1a4)]=_0x3f7419,_0x419819['package_version']=_0x42e0db?_0x42e0db:0x0,_0x419819[_0x17dda7(0x19d)]=fs[_0x17dda7(0x1bf)](_0x5c5d88)[_0x17dda7(0x19b)](),fs[_0x17dda7(0x1a0)](_0x103756)?_0x419819['readme_content']=fs[_0x17dda7(0x1bf)](_0x103756)[_0x17dda7(0x19b)]():(console[_0x17dda7(0x197)](_0x17dda7(0x1c8)),process['exit'](0x0)),fs[_0x17dda7(0x1a0)](_0x1f8551)?_0x419819[_0x17dda7(0x1ac)]=fs[_0x17dda7(0x1bf)](_0x1f8551)['toString']():(console[_0x17dda7(0x197)](_0x17dda7(0x1a8)),process['exit'](0x0)),io['question'](_0x17dda7(0x1b2),function(_0x2d51ac){const _0x3b8afa=_0x17dda7;_0x419819[_0x3b8afa(0x1af)]=_0x2d51ac||_0x3b8afa(0x1c7),axios['post'](API_HOST+'/api/file/publish',_0x419819)[_0x3b8afa(0x1b5)](_0x50fc01=>{const _0x225f1e=_0x3b8afa;console['log'](_0x50fc01[_0x225f1e(0x1b7)][_0x225f1e(0x1af)]),process[_0x225f1e(0x1c9)](0x0);})[_0x3b8afa(0x1b1)](_0x200268=>{const _0x4a43d1=_0x3b8afa;console[_0x4a43d1(0x197)](_0x200268),console['log']('网络异常。'),process['exit'](0x0);});});}else console[_0x17dda7(0x197)](_0x17dda7(0x1be)),process[_0x17dda7(0x1c9)](0x0);}else console[_0x17dda7(0x197)](_0x17dda7(0x1b6)),process[_0x17dda7(0x1c9)](0x0);}else console[_0x17dda7(0x197)](_0x17dda7(0x1ad));})['catch'](_0x2150f4=>{const _0x1dda85=_0x195ca5;console[_0x1dda85(0x197)](_0x2150f4),console[_0x1dda85(0x197)](_0x1dda85(0x19a));});};
1
+ const a6_0x3cf999=a6_0x5e18;function a6_0x5e18(_0x1d80f6,_0x921c16){const _0x19569f=a6_0x1956();return a6_0x5e18=function(_0x5e18a6,_0xf741e9){_0x5e18a6=_0x5e18a6-0x135;let _0x4cf3ee=_0x19569f[_0x5e18a6];return _0x4cf3ee;},a6_0x5e18(_0x1d80f6,_0x921c16);}(function(_0x4a98,_0x4a3d6b){const _0x1832f2=a6_0x5e18,_0x506675=_0x4a98();while(!![]){try{const _0x2700d2=-parseInt(_0x1832f2(0x16a))/0x1+-parseInt(_0x1832f2(0x170))/0x2+-parseInt(_0x1832f2(0x16e))/0x3*(-parseInt(_0x1832f2(0x15e))/0x4)+-parseInt(_0x1832f2(0x166))/0x5*(parseInt(_0x1832f2(0x136))/0x6)+-parseInt(_0x1832f2(0x149))/0x7+parseInt(_0x1832f2(0x16f))/0x8*(parseInt(_0x1832f2(0x15c))/0x9)+parseInt(_0x1832f2(0x13f))/0xa*(parseInt(_0x1832f2(0x140))/0xb);if(_0x2700d2===_0x4a3d6b)break;else _0x506675['push'](_0x506675['shift']());}catch(_0x41fd73){_0x506675['push'](_0x506675['shift']());}}}(a6_0x1956,0xea057));const path=require(a6_0x3cf999(0x154)),fs=require('fs'),os=require('os'),axios=require(a6_0x3cf999(0x13a)),readline=require('readline'),io=readline[a6_0x3cf999(0x152)]({'input':process[a6_0x3cf999(0x147)],'output':process[a6_0x3cf999(0x151)]}),child_process=require('child_process'),{API_HOST}=require(a6_0x3cf999(0x14b));function a6_0x1956(){const _0x25ccb6=['question','package_content','then','arch','23343020cDhfWS','11EwgNIi','thumbnail_base64','readFileSync','【Error】:no\x20auth\x20login','Auth\x20NetWork\x20Fail!','\x5cthumbnail.png','网络异常。','stdin','catch','12762267AThAUw','../../../.auth','../cmd.install/config','component_config_content','【Error】:请必须包含README.md说明文件','exports','exit','existsSync','stdout','createInterface','Please\x20wait,\x20build\x20...','path','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','hostname','Auth\x20Fail!','\x5cdist\x5cindex.js','/api/file/publish','发布失败!根目录缺少‘package.json’文件,无法完成发布。','/api/auth','9ikdxeP','log','12BfdAnq','/yarn.lock','push','stringify','data','yarn\x20build:production','post','npm\x20run\x20build:production','145kLebzS','【Error】:请必须包含component.config.json组件配置文件','\x5cREADME.md','status','1564919BNaQPQ','package_name','toString','join','1337019TNwTFa','9216160LZMjTa','254654nuztjZ','请输入此次提交信息,按Enter确认:','72282YKqouW','package_version','message','parse','axios'];a6_0x1956=function(){return _0x25ccb6;};return a6_0x1956();}module[a6_0x3cf999(0x14e)]=_0xcc6de8=>{const _0x15ba41=a6_0x3cf999,_0x55448e=path[_0x15ba41(0x16d)](__dirname,_0x15ba41(0x14a));!fs[_0x15ba41(0x150)](_0x55448e)&&(console['log'](_0x15ba41(0x143)),process[_0x15ba41(0x14f)](0x0));const [_0x1de10a,_0x3ee3e9]=fs[_0x15ba41(0x142)](_0x55448e)[_0x15ba41(0x16c)]()['split']('/');axios[_0x15ba41(0x164)](API_HOST+_0x15ba41(0x15b),{'username':_0x1de10a,'password':_0x3ee3e9})['then'](_0x186694=>{const _0x38aa60=_0x15ba41;if(_0x186694[_0x38aa60(0x162)][_0x38aa60(0x169)]){const _0x2f8296=path['resolve']('./');console[_0x38aa60(0x15d)](_0x38aa60(0x153));fs['existsSync'](_0x2f8296+_0x38aa60(0x15f))?child_process['execSync'](_0x38aa60(0x163),{'cwd':_0x2f8296}):child_process['execSync'](_0x38aa60(0x165),{'cwd':_0x2f8296});const _0x5b35df=_0x2f8296+_0x38aa60(0x158),_0x12a4c8=_0x2f8296+'\x5cpackage.json',_0x19c6c6=_0x2f8296+_0x38aa60(0x168),_0x13ad2a=_0x2f8296+'\x5ccomponent.config.json',_0x2e1c34=_0x2f8296+_0x38aa60(0x145),_0x1e4d92=[os[_0x38aa60(0x156)](),os['platform'](),os[_0x38aa60(0x13e)](),new Date()[_0x38aa60(0x16c)]()],_0x5837d5=JSON[_0x38aa60(0x139)](fs[_0x38aa60(0x142)](path[_0x38aa60(0x16d)](__dirname,'../../../package.json'))[_0x38aa60(0x16c)]()),{version:_0x5a1b71}=_0x5837d5,_0x1e7874={'username':_0x1de10a,'cmd_version':_0x5a1b71,'hostname':os['hostname'](),'platform':os['platform']()};if(fs[_0x38aa60(0x150)](_0x12a4c8)){if(fs[_0x38aa60(0x150)](_0x5b35df)){const _0x42ea6b=JSON[_0x38aa60(0x139)](fs['readFileSync'](_0x12a4c8)[_0x38aa60(0x16c)]()),{name:_0x419d3a,version:_0x485a36}=_0x42ea6b;_0x1e4d92[_0x38aa60(0x160)](JSON[_0x38aa60(0x161)](_0x42ea6b)),_0x1e7874[_0x38aa60(0x16b)]=_0x419d3a,_0x1e7874[_0x38aa60(0x137)]=_0xcc6de8?_0xcc6de8:0x0,_0x1e7874[_0x38aa60(0x13c)]=fs[_0x38aa60(0x142)](_0x5b35df)['toString']();fs[_0x38aa60(0x150)](_0x19c6c6)?_0x1e7874['readme_content']=fs['readFileSync'](_0x19c6c6)['toString']():(console[_0x38aa60(0x15d)](_0x38aa60(0x14d)),process[_0x38aa60(0x14f)](0x0));if(!fs[_0x38aa60(0x150)](_0x2e1c34))console[_0x38aa60(0x15d)]('【Error】:组件根目录必须包含thumbnail.png缩略图片'),process['exit'](0x0);else{const _0x5b0ce6=fs['readFileSync'](_0x2e1c34),_0x717ba7=Buffer['from'](_0x5b0ce6)[_0x38aa60(0x16c)]('base64');_0x1e7874[_0x38aa60(0x141)]=_0x717ba7;}fs[_0x38aa60(0x150)](_0x13ad2a)?_0x1e7874[_0x38aa60(0x14c)]=fs[_0x38aa60(0x142)](_0x13ad2a)[_0x38aa60(0x16c)]():(console[_0x38aa60(0x15d)](_0x38aa60(0x167)),process['exit'](0x0)),io[_0x38aa60(0x13b)](_0x38aa60(0x135),function(_0x463bc6){const _0x1039eb=_0x38aa60;_0x1e7874['message']=_0x463bc6||'no\x20message',axios[_0x1039eb(0x164)](API_HOST+_0x1039eb(0x159),_0x1e7874)[_0x1039eb(0x13d)](_0x280315=>{const _0x29a2b6=_0x1039eb;console['log'](_0x280315['data'][_0x29a2b6(0x138)]),process[_0x29a2b6(0x14f)](0x0);})[_0x1039eb(0x148)](_0x466fa5=>{const _0x452d0c=_0x1039eb;console[_0x452d0c(0x15d)](_0x466fa5),console[_0x452d0c(0x15d)](_0x452d0c(0x146)),process['exit'](0x0);});});}else console[_0x38aa60(0x15d)](_0x38aa60(0x155)),process[_0x38aa60(0x14f)](0x0);}else console[_0x38aa60(0x15d)](_0x38aa60(0x15a)),process[_0x38aa60(0x14f)](0x0);}else console['log'](_0x38aa60(0x157));})[_0x15ba41(0x148)](_0x3203d1=>{const _0xf6072e=_0x15ba41;console[_0xf6072e(0x15d)](_0x3203d1),console[_0xf6072e(0x15d)](_0xf6072e(0x144));});};
@@ -1 +1 @@
1
- function a7_0x502f(){const _0x3279ab=['发布失败!根目录缺少‘package.json’文件,无法完成发布。','4273686VjMZSA','网络异常。','\x5cdist\x5cindex.js','path','arch','split','exports','../cmd.install/config','log','/api/auth','\x5cpackage.json','【Error】:no\x20auth\x20login','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','12180443ooLgYq','existsSync','push','stringify','networkInterfaces','../../../.auth','toString','/api/file/push','67094NZunqF','4DsxTdW','parse','8XOcvPc','hostname','Auth\x20Fail!','catch','post','resolve','data','171SkiSzs','join','1064104FzkcsZ','5hZQfwE','message','279290coUCuD','readFileSync','1857243CTDtlN','5304761wDlsQl','exit','then','Auth\x20NetWork\x20Fail!'];a7_0x502f=function(){return _0x3279ab;};return a7_0x502f();}const a7_0x477e7e=a7_0x53f1;function a7_0x53f1(_0x39e8ee,_0x2b10bd){const _0x502fa3=a7_0x502f();return a7_0x53f1=function(_0x53f1f9,_0x37b8e7){_0x53f1f9=_0x53f1f9-0x12d;let _0x2e42f0=_0x502fa3[_0x53f1f9];return _0x2e42f0;},a7_0x53f1(_0x39e8ee,_0x2b10bd);}(function(_0x255a2a,_0x4d82c9){const _0x5cb3c4=a7_0x53f1,_0x537f16=_0x255a2a();while(!![]){try{const _0x3268ae=parseInt(_0x5cb3c4(0x12e))/0x1*(-parseInt(_0x5cb3c4(0x157))/0x2)+-parseInt(_0x5cb3c4(0x13c))/0x3*(-parseInt(_0x5cb3c4(0x158))/0x4)+-parseInt(_0x5cb3c4(0x138))/0x5*(parseInt(_0x5cb3c4(0x142))/0x6)+-parseInt(_0x5cb3c4(0x13d))/0x7+-parseInt(_0x5cb3c4(0x137))/0x8+parseInt(_0x5cb3c4(0x135))/0x9*(parseInt(_0x5cb3c4(0x13a))/0xa)+parseInt(_0x5cb3c4(0x14f))/0xb;if(_0x3268ae===_0x4d82c9)break;else _0x537f16['push'](_0x537f16['shift']());}catch(_0x5eeba7){_0x537f16['push'](_0x537f16['shift']());}}}(a7_0x502f,0x5e210));const path=require(a7_0x477e7e(0x145)),fs=require('fs'),os=require('os'),axios=require('axios'),{API_HOST}=require(a7_0x477e7e(0x149));module[a7_0x477e7e(0x148)]=_0x21e46a=>{const _0xc491b7=a7_0x477e7e,_0x2fc5e3=path[_0xc491b7(0x136)](__dirname,_0xc491b7(0x154));!fs[_0xc491b7(0x150)](_0x2fc5e3)&&(console[_0xc491b7(0x14a)](_0xc491b7(0x14d)),process[_0xc491b7(0x13e)](0x0));const [_0xd1ef9c,_0x40bfb3]=fs[_0xc491b7(0x13b)](_0x2fc5e3)[_0xc491b7(0x155)]()[_0xc491b7(0x147)]('/');axios[_0xc491b7(0x132)](API_HOST+_0xc491b7(0x14b),{'username':_0xd1ef9c,'password':_0x40bfb3})['then'](_0x4b4e5b=>{const _0x109233=_0xc491b7;if(_0x4b4e5b[_0x109233(0x134)]['status']){const _0x56793a=path[_0x109233(0x133)]('./'),_0x144d0a=_0x56793a+_0x109233(0x144),_0x227133=_0x56793a+_0x109233(0x14c),_0x530968=[os[_0x109233(0x12f)](),os['platform'](),os[_0x109233(0x146)](),new Date()[_0x109233(0x155)](),JSON[_0x109233(0x152)](os[_0x109233(0x153)](),null,'\x09')];if(fs[_0x109233(0x150)](_0x227133)){if(fs[_0x109233(0x150)](_0x144d0a)){const _0x245327=JSON[_0x109233(0x12d)](fs[_0x109233(0x13b)](_0x227133)[_0x109233(0x155)]()),{name:_0x2c1852,version:_0x2141b5}=_0x245327;_0x530968[_0x109233(0x151)](JSON['stringify'](_0x245327)),axios[_0x109233(0x132)](API_HOST+_0x109233(0x156),{'username':_0xd1ef9c,'log_text':_0x530968[_0x109233(0x136)]('\x0a'),'package_name':_0x2c1852,'package_version':_0x21e46a?_0x21e46a:_0x2141b5,'package_content':fs[_0x109233(0x13b)](_0x144d0a)['toString']()})[_0x109233(0x13f)](_0x54fd19=>{const _0x3c23c0=_0x109233;console['log'](_0x54fd19[_0x3c23c0(0x134)][_0x3c23c0(0x139)]),process['exit'](0x0);})[_0x109233(0x131)](_0x29d6ff=>{const _0x588cfe=_0x109233;console['log'](_0x29d6ff),console[_0x588cfe(0x14a)](_0x588cfe(0x143)),process[_0x588cfe(0x13e)](0x0);});}else console['log'](_0x109233(0x14e)),process[_0x109233(0x13e)](0x0);}else console[_0x109233(0x14a)](_0x109233(0x141)),process[_0x109233(0x13e)](0x0);}else console[_0x109233(0x14a)](_0x109233(0x130));})[_0xc491b7(0x131)](_0x24d15f=>{const _0x3aea1f=_0xc491b7;console[_0x3aea1f(0x14a)](_0x3aea1f(0x140));});};
1
+ const a7_0x504d3f=a7_0x1f2a;function a7_0x31be(){const _0x3206f2=['6093YulWdn','\x5cdist\x5cindex.js','hostname','10318nIRJeY','split','parse','【Error】:no\x20auth\x20login','push','13008jqwUNi','\x5cpackage.json','catch','1294XknaBU','stringify','resolve','../cmd.install/config','arch','692504TczZBP','status','message','axios','314500LiRWXD','post','then','existsSync','网络异常。','data','exit','37925wNbOqH','/api/file/push','join','log','发布失败!根目录缺少‘package.json’文件,无法完成发布。','toString','49YvMiCy','1932117TdEuJh','126VnucQL','networkInterfaces','1013kGQmwM','15270UfDpmr'];a7_0x31be=function(){return _0x3206f2;};return a7_0x31be();}(function(_0x32e907,_0x5bf66e){const _0x300bda=a7_0x1f2a,_0x1eca41=_0x32e907();while(!![]){try{const _0x5c3218=-parseInt(_0x300bda(0x1e7))/0x1*(-parseInt(_0x300bda(0x1cd))/0x2)+parseInt(_0x300bda(0x1e4))/0x3+parseInt(_0x300bda(0x1d6))/0x4+-parseInt(_0x300bda(0x1dd))/0x5*(-parseInt(_0x300bda(0x1e5))/0x6)+-parseInt(_0x300bda(0x1e3))/0x7*(parseInt(_0x300bda(0x1d2))/0x8)+parseInt(_0x300bda(0x1e9))/0x9*(-parseInt(_0x300bda(0x1e8))/0xa)+parseInt(_0x300bda(0x1ec))/0xb*(parseInt(_0x300bda(0x1f1))/0xc);if(_0x5c3218===_0x5bf66e)break;else _0x1eca41['push'](_0x1eca41['shift']());}catch(_0x4575a9){_0x1eca41['push'](_0x1eca41['shift']());}}}(a7_0x31be,0xdf400));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a7_0x504d3f(0x1d5)),{API_HOST}=require(a7_0x504d3f(0x1d0));function a7_0x1f2a(_0x464efc,_0x1045be){const _0x31beb3=a7_0x31be();return a7_0x1f2a=function(_0x1f2a93,_0x538bbf){_0x1f2a93=_0x1f2a93-0x1cb;let _0x1657e4=_0x31beb3[_0x1f2a93];return _0x1657e4;},a7_0x1f2a(_0x464efc,_0x1045be);}module['exports']=_0x214195=>{const _0x4608df=a7_0x504d3f,_0x24d830=path[_0x4608df(0x1df)](__dirname,'../../../.auth');!fs['existsSync'](_0x24d830)&&(console['log'](_0x4608df(0x1ef)),process[_0x4608df(0x1dc)](0x0));const [_0x465390,_0x24b537]=fs['readFileSync'](_0x24d830)[_0x4608df(0x1e2)]()[_0x4608df(0x1ed)]('/');axios[_0x4608df(0x1d7)](API_HOST+'/api/auth',{'username':_0x465390,'password':_0x24b537})[_0x4608df(0x1d8)](_0x504a00=>{const _0x1170ae=_0x4608df;if(_0x504a00[_0x1170ae(0x1db)][_0x1170ae(0x1d3)]){const _0x237f6b=path[_0x1170ae(0x1cf)]('./'),_0x19e1ef=_0x237f6b+_0x1170ae(0x1ea),_0x475815=_0x237f6b+_0x1170ae(0x1cb),_0x20ef25=[os[_0x1170ae(0x1eb)](),os['platform'](),os[_0x1170ae(0x1d1)](),new Date()[_0x1170ae(0x1e2)](),JSON['stringify'](os[_0x1170ae(0x1e6)](),null,'\x09')];if(fs[_0x1170ae(0x1d9)](_0x475815)){if(fs['existsSync'](_0x19e1ef)){const _0x573cd0=JSON[_0x1170ae(0x1ee)](fs['readFileSync'](_0x475815)[_0x1170ae(0x1e2)]()),{name:_0x240a5e,version:_0x2ad539}=_0x573cd0;_0x20ef25[_0x1170ae(0x1f0)](JSON[_0x1170ae(0x1ce)](_0x573cd0)),axios[_0x1170ae(0x1d7)](API_HOST+_0x1170ae(0x1de),{'username':_0x465390,'log_text':_0x20ef25[_0x1170ae(0x1df)]('\x0a'),'package_name':_0x240a5e,'package_version':_0x214195?_0x214195:_0x2ad539,'package_content':fs['readFileSync'](_0x19e1ef)[_0x1170ae(0x1e2)]()})[_0x1170ae(0x1d8)](_0xb77140=>{const _0x23bf08=_0x1170ae;console['log'](_0xb77140['data'][_0x23bf08(0x1d4)]),process['exit'](0x0);})[_0x1170ae(0x1cc)](_0x1c93a8=>{const _0x3cc4d3=_0x1170ae;console[_0x3cc4d3(0x1e0)](_0x1c93a8),console[_0x3cc4d3(0x1e0)](_0x3cc4d3(0x1da)),process[_0x3cc4d3(0x1dc)](0x0);});}else console[_0x1170ae(0x1e0)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x1170ae(0x1dc)](0x0);}else console['log'](_0x1170ae(0x1e1)),process[_0x1170ae(0x1dc)](0x0);}else console['log']('Auth\x20Fail!');})[_0x4608df(0x1cc)](_0x2210b3=>{const _0x5e893e=_0x4608df;console[_0x5e893e(0x1e0)]('Auth\x20NetWork\x20Fail!');});};
@@ -1 +1 @@
1
- const a8_0x12e8fc=a8_0x542f;(function(_0x3dce8c,_0x2d995c){const _0x295ea0=a8_0x542f,_0x21c722=_0x3dce8c();while(!![]){try{const _0x7afebf=-parseInt(_0x295ea0(0x110))/0x1+parseInt(_0x295ea0(0x108))/0x2*(parseInt(_0x295ea0(0x113))/0x3)+parseInt(_0x295ea0(0x11c))/0x4+parseInt(_0x295ea0(0x131))/0x5+-parseInt(_0x295ea0(0x126))/0x6*(-parseInt(_0x295ea0(0x120))/0x7)+parseInt(_0x295ea0(0x114))/0x8+-parseInt(_0x295ea0(0x118))/0x9*(parseInt(_0x295ea0(0x119))/0xa);if(_0x7afebf===_0x2d995c)break;else _0x21c722['push'](_0x21c722['shift']());}catch(_0x5c87fd){_0x21c722['push'](_0x21c722['shift']());}}}(a8_0x2213,0x97893));const fs=require('fs'),os=require('os'),path=require(a8_0x12e8fc(0x128)),child_process=require(a8_0x12e8fc(0x12b)),{CopyFolder,DeleteDirAllFile}=require(a8_0x12e8fc(0x10c)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x12e8fc(0x111)),axios=require(a8_0x12e8fc(0x10e));function a8_0x542f(_0xe6bfdd,_0xfce627){const _0x221343=a8_0x2213();return a8_0x542f=function(_0x542f6e,_0x124836){_0x542f6e=_0x542f6e-0xfa;let _0x197750=_0x221343[_0x542f6e];return _0x197750;},a8_0x542f(_0xe6bfdd,_0xfce627);}module[a8_0x12e8fc(0x123)]=arguments=>{const _0x53ab79=a8_0x12e8fc,_0x31ac18=path[_0x53ab79(0x129)](__dirname,'../../../.auth');!fs[_0x53ab79(0x103)](_0x31ac18)&&(console[_0x53ab79(0x104)](_0x53ab79(0x116)),process[_0x53ab79(0x130)](0x0));const _0x271b09=arguments[0x1],_0x159fb5=arguments[0x2]||_0x53ab79(0xfe),_0x15239e=path[_0x53ab79(0x11b)]('./'),_0x1123fe=_0x15239e+'\x5cjjb.config.json',_0x31704e=_0x15239e+'\x5cdist',_0x1f46c8=os[_0x53ab79(0x11d)](),[_0x19ee55,_0x5b2256]=fs[_0x53ab79(0xff)](_0x31ac18)[_0x53ab79(0xfb)]()[_0x53ab79(0x122)]('/');axios[_0x53ab79(0x11e)](API_HOST+_0x53ab79(0xfc),{'username':_0x19ee55,'password':_0x5b2256})['then'](_0x74a669=>{const _0x48a4ca=_0x53ab79;if(_0x74a669[_0x48a4ca(0x125)][_0x48a4ca(0x102)]){if(fs[_0x48a4ca(0x103)](_0x1123fe)){const _0x2914df=JSON[_0x48a4ca(0x124)](fs[_0x48a4ca(0xff)](_0x1123fe)[_0x48a4ca(0xfb)]());if(_0x2914df[_0x48a4ca(0xfa)]){const _0x2f47ac=_0x1f46c8+'/'+GIT_TEMP_JAVA;!fs[_0x48a4ca(0x103)](_0x2f47ac)&&(fs[_0x48a4ca(0x107)](_0x2f47ac),child_process[_0x48a4ca(0x127)](_0x48a4ca(0x105)+_0x2914df['git'],{'cwd':_0x2f47ac})),_0x4901a4(_0x2f47ac,_0x2914df);}else console['log'](_0x48a4ca(0x121));}}else console[_0x48a4ca(0x104)](_0x48a4ca(0x100));})['catch'](_0x5336a7=>{const _0x45a1df=_0x53ab79;console['log'](_0x45a1df(0x10f));});arguments['length']<0x2&&(console[_0x53ab79(0x104)](_0x53ab79(0x12c)),process['exit'](0x0));function _0x4901a4(_0x83cad9,_0x21d6f1){const _0x628a9f=_0x53ab79,_0x382dea=_0x83cad9+'/'+_0x21d6f1[_0x628a9f(0x10b)];!fs[_0x628a9f(0x103)](_0x382dea)&&(console[_0x628a9f(0x104)]('【Error】:no\x20setting\x20gitName'),process['exit'](0x0));child_process[_0x628a9f(0x127)](_0x628a9f(0x117),{'cwd':_0x382dea});!fs[_0x628a9f(0x103)](_0x15239e+_0x628a9f(0x12e))?(console[_0x628a9f(0x104)](_0x628a9f(0x12f)),child_process[_0x628a9f(0x127)](_0x628a9f(0x11a),{'cwd':_0x15239e}),console[_0x628a9f(0x104)](_0x628a9f(0xfd))):console[_0x628a9f(0x104)](_0x628a9f(0x112)+_0x271b09+',please\x20wait...');child_process['execSync']('yarn\x20build:'+_0x271b09,{'cwd':_0x15239e}),console[_0x628a9f(0x104)](_0x628a9f(0x109));if(fs[_0x628a9f(0x103)](_0x31704e)){const _0x2b968c=_0x382dea+'/src/main/resources/templates/'+GIT_JAVA_ENV_JSON[_0x271b09];DeleteDirAllFile(_0x2b968c,()=>{const _0x1a715a=_0x628a9f;fs[_0x1a715a(0x107)](_0x2b968c),CopyFolder(_0x31704e,_0x2b968c,()=>{const _0x13190c=_0x1a715a;console['log'](_0x13190c(0x11f)),setTimeout(()=>{const _0x3d4e4f=_0x13190c;child_process[_0x3d4e4f(0x127)]('git\x20add\x20.',{'cwd':_0x382dea}),console[_0x3d4e4f(0x104)](_0x3d4e4f(0x12d));try{child_process[_0x3d4e4f(0x127)]('git\x20commit\x20-m\x20'+_0x159fb5+_0x3d4e4f(0x12a),{'cwd':_0x382dea}),console[_0x3d4e4f(0x104)](_0x3d4e4f(0x115));}catch(_0x3adc1a){console[_0x3d4e4f(0x104)](_0x3d4e4f(0x101));}child_process[_0x3d4e4f(0x127)](_0x3d4e4f(0x10d),{'cwd':_0x382dea}),console['log'](_0x3d4e4f(0x106));},0x3e8);});});}else console[_0x628a9f(0x104)](_0x628a9f(0x10a));}};function a8_0x2213(){const _0x11a47a=['git\x20push\x20-f','axios','Auth\x20NetWork\x20Fail!','978067lBrYez','../cmd.install/config','Git\x20Pull\x20Done,yarn\x20build:','264093YibwOq','2597712PywrEa','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20auth\x20login','git\x20pull','18AdNEQX','9000220dPgPcG','yarn','resolve','4816608mkfxKP','tmpdir','post','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','2301061xXiGtp','【Error】:no\x20setting\x20git','split','exports','parse','data','6EtfEGn','execSync','path','join','\x20--no-verify','child_process','【Error】:参数传递错误','Git\x20Add\x20Done,git\x20commit,please\x20wait...','/node_modules','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','exit','5945445XEaDum','git','toString','/api/auth','yarn\x20install\x20Done!','no\x20message','readFileSync','Auth\x20Fail!','【warning】:no\x20commit,git\x20push,please\x20wait...','status','existsSync','log','git\x20clone\x20','Git\x20Push\x20Done!','mkdirSync','8pjvsDL','Project\x20build\x20Done,copy\x20project,please\x20wait...','【Error】:打包失败,没有dist目录!','gitName','../../old/util'];a8_0x2213=function(){return _0x11a47a;};return a8_0x2213();}
1
+ const a8_0x3ff0a8=a8_0x3e01;(function(_0x1cf2ca,_0x3b132e){const _0x5eb832=a8_0x3e01,_0x1d0936=_0x1cf2ca();while(!![]){try{const _0xfd9239=parseInt(_0x5eb832(0x1cd))/0x1+-parseInt(_0x5eb832(0x1c2))/0x2+parseInt(_0x5eb832(0x1c8))/0x3*(-parseInt(_0x5eb832(0x1ee))/0x4)+-parseInt(_0x5eb832(0x1d4))/0x5+parseInt(_0x5eb832(0x1dc))/0x6*(parseInt(_0x5eb832(0x1c1))/0x7)+parseInt(_0x5eb832(0x1e2))/0x8*(parseInt(_0x5eb832(0x1e1))/0x9)+-parseInt(_0x5eb832(0x1e0))/0xa*(-parseInt(_0x5eb832(0x1ef))/0xb);if(_0xfd9239===_0x3b132e)break;else _0x1d0936['push'](_0x1d0936['shift']());}catch(_0x4583bd){_0x1d0936['push'](_0x1d0936['shift']());}}}(a8_0x11f3,0x6e974));function a8_0x3e01(_0x4769c0,_0x3c891a){const _0x11f3c4=a8_0x11f3();return a8_0x3e01=function(_0x3e01fc,_0x221483){_0x3e01fc=_0x3e01fc-0x1b9;let _0x4d547e=_0x11f3c4[_0x3e01fc];return _0x4d547e;},a8_0x3e01(_0x4769c0,_0x3c891a);}function a8_0x11f3(){const _0x34e9e3=['exports','toString','/src/main/resources/templates/','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','log','889lMlaKe','1226682wYfUKW','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【Error】:no\x20auth\x20login','【Error】:no\x20setting\x20git','../../../.auth','post','4755RtWozB','../../old/util','then','tmpdir','git\x20pull','708922xerJNm','\x20--no-verify','status','path','Auth\x20Fail!','\x5cjjb.config.json','split','3158000BAjOaJ','mkdirSync','Git\x20Add\x20Done,git\x20commit,please\x20wait...','git\x20push\x20-f','length','git','../cmd.install/config','git\x20add\x20.','41538zhZcGc','Project\x20build\x20Done,copy\x20project,please\x20wait...','existsSync','【Error】:参数传递错误','461330rXmlqe','1601379UIGbTl','16aanfzl','readFileSync','【warning】:no\x20commit,git\x20push,please\x20wait...','/api/auth','child_process','Git\x20Pull\x20Done,yarn\x20build:','execSync','yarn\x20build:','exit','yarn\x20install\x20Done!','join','Auth\x20NetWork\x20Fail!','1436CcSoBm','77dNhzCx','git\x20commit\x20-m\x20','no\x20message','yarn'];a8_0x11f3=function(){return _0x34e9e3;};return a8_0x11f3();}const fs=require('fs'),os=require('os'),path=require(a8_0x3ff0a8(0x1d0)),child_process=require(a8_0x3ff0a8(0x1e6)),{CopyFolder,DeleteDirAllFile}=require(a8_0x3ff0a8(0x1c9)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a8_0x3ff0a8(0x1da)),axios=require('axios');module[a8_0x3ff0a8(0x1bc)]=arguments=>{const _0x24ff7f=a8_0x3ff0a8,_0x37183a=path[_0x24ff7f(0x1ec)](__dirname,_0x24ff7f(0x1c6));!fs[_0x24ff7f(0x1de)](_0x37183a)&&(console[_0x24ff7f(0x1c0)](_0x24ff7f(0x1c4)),process[_0x24ff7f(0x1ea)](0x0));const _0x5c3453=arguments[0x1],_0x16d5d5=arguments[0x2]||_0x24ff7f(0x1ba),_0x31cc45=path['resolve']('./'),_0x28f297=_0x31cc45+_0x24ff7f(0x1d2),_0x2d072a=_0x31cc45+'\x5cdist',_0x363ec6=os[_0x24ff7f(0x1cb)](),[_0x13e287,_0x5368ae]=fs[_0x24ff7f(0x1e3)](_0x37183a)[_0x24ff7f(0x1bd)]()[_0x24ff7f(0x1d3)]('/');axios[_0x24ff7f(0x1c7)](API_HOST+_0x24ff7f(0x1e5),{'username':_0x13e287,'password':_0x5368ae})[_0x24ff7f(0x1ca)](_0x58926d=>{const _0x523f16=_0x24ff7f;if(_0x58926d['data'][_0x523f16(0x1cf)]){if(fs[_0x523f16(0x1de)](_0x28f297)){const _0x1b66d2=JSON['parse'](fs[_0x523f16(0x1e3)](_0x28f297)[_0x523f16(0x1bd)]());if(_0x1b66d2[_0x523f16(0x1d9)]){const _0x4283c9=_0x363ec6+'/'+GIT_TEMP_JAVA;!fs[_0x523f16(0x1de)](_0x4283c9)&&(fs['mkdirSync'](_0x4283c9),child_process['execSync']('git\x20clone\x20'+_0x1b66d2[_0x523f16(0x1d9)],{'cwd':_0x4283c9})),_0x520656(_0x4283c9,_0x1b66d2);}else console['log'](_0x523f16(0x1c5));}}else console[_0x523f16(0x1c0)](_0x523f16(0x1d1));})['catch'](_0x4c63ea=>{const _0x335a38=_0x24ff7f;console['log'](_0x335a38(0x1ed));});arguments[_0x24ff7f(0x1d8)]<0x2&&(console['log'](_0x24ff7f(0x1df)),process[_0x24ff7f(0x1ea)](0x0));function _0x520656(_0x3f96a3,_0x52f3ff){const _0x24d772=_0x24ff7f,_0x57f922=_0x3f96a3+'/'+_0x52f3ff['gitName'];!fs[_0x24d772(0x1de)](_0x57f922)&&(console[_0x24d772(0x1c0)]('【Error】:no\x20setting\x20gitName'),process[_0x24d772(0x1ea)](0x0));child_process[_0x24d772(0x1e8)](_0x24d772(0x1cc),{'cwd':_0x57f922});!fs['existsSync'](_0x31cc45+'/node_modules')?(console[_0x24d772(0x1c0)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x24d772(0x1e8)](_0x24d772(0x1bb),{'cwd':_0x31cc45}),console[_0x24d772(0x1c0)](_0x24d772(0x1eb))):console[_0x24d772(0x1c0)](_0x24d772(0x1e7)+_0x5c3453+',please\x20wait...');child_process['execSync'](_0x24d772(0x1e9)+_0x5c3453,{'cwd':_0x31cc45}),console[_0x24d772(0x1c0)](_0x24d772(0x1dd));if(fs[_0x24d772(0x1de)](_0x2d072a)){const _0x4c239a=_0x57f922+_0x24d772(0x1be)+GIT_JAVA_ENV_JSON[_0x5c3453];DeleteDirAllFile(_0x4c239a,()=>{const _0xf9641c=_0x24d772;fs[_0xf9641c(0x1d5)](_0x4c239a),CopyFolder(_0x2d072a,_0x4c239a,()=>{const _0x174979=_0xf9641c;console[_0x174979(0x1c0)](_0x174979(0x1bf)),setTimeout(()=>{const _0x363378=_0x174979;child_process['execSync'](_0x363378(0x1db),{'cwd':_0x57f922}),console['log'](_0x363378(0x1d6));try{child_process[_0x363378(0x1e8)](_0x363378(0x1b9)+_0x16d5d5+_0x363378(0x1ce),{'cwd':_0x57f922}),console[_0x363378(0x1c0)](_0x363378(0x1c3));}catch(_0x5b4841){console[_0x363378(0x1c0)](_0x363378(0x1e4));}child_process[_0x363378(0x1e8)](_0x363378(0x1d7),{'cwd':_0x57f922}),console['log']('Git\x20Push\x20Done!');},0x3e8);});});}else console[_0x24d772(0x1c0)]('【Error】:打包失败,没有dist目录!');}};
@@ -1 +1 @@
1
- const a9_0x20834e=a9_0x2c27;(function(_0x748cf5,_0x4aca48){const _0x5e042d=a9_0x2c27,_0x540d55=_0x748cf5();while(!![]){try{const _0x4e343c=-parseInt(_0x5e042d(0xa1))/0x1*(-parseInt(_0x5e042d(0xb8))/0x2)+-parseInt(_0x5e042d(0xc9))/0x3+-parseInt(_0x5e042d(0xc0))/0x4*(-parseInt(_0x5e042d(0xbf))/0x5)+-parseInt(_0x5e042d(0xae))/0x6+parseInt(_0x5e042d(0xbd))/0x7*(parseInt(_0x5e042d(0xca))/0x8)+parseInt(_0x5e042d(0xcd))/0x9+parseInt(_0x5e042d(0xa8))/0xa*(-parseInt(_0x5e042d(0xb3))/0xb);if(_0x4e343c===_0x4aca48)break;else _0x540d55['push'](_0x540d55['shift']());}catch(_0x1e8479){_0x540d55['push'](_0x540d55['shift']());}}}(a9_0x306d,0x8933f));const https=require(a9_0x20834e(0xc4)),fs=require('fs'),path=require(a9_0x20834e(0xbc)),{CONFIG_FILE_HOST}=require(a9_0x20834e(0xc7)),REGISTRY={'eslint':{'remoteDir':a9_0x20834e(0xc1),'files':[a9_0x20834e(0xb7),a9_0x20834e(0xc2)]},'prettier':{'remoteDir':a9_0x20834e(0xa7),'files':[a9_0x20834e(0xa3),a9_0x20834e(0xcb)]},'jjb_script':{'remoteDir':a9_0x20834e(0xc5),'localDir':a9_0x20834e(0xc5),'files':['build.js',a9_0x20834e(0xbb),a9_0x20834e(0xce),a9_0x20834e(0xb0),a9_0x20834e(0xa4)]},'babel':{'remoteDir':a9_0x20834e(0xaf),'files':[a9_0x20834e(0xb5)]},'microAppPackage':{'remoteDir':a9_0x20834e(0xa2),'files':[a9_0x20834e(0xab)]}},root_path=path[a9_0x20834e(0xb6)]('./');function recursion(_0x2a2023,_0x2cfa96,_0x5ba68f){const _0x4cfaaa=a9_0x20834e,_0x194fbc=_0x2a2023[_0x4cfaaa(0xba)][_0x2cfa96];https[_0x4cfaaa(0xaa)](CONFIG_FILE_HOST+'/'+(_0x2a2023[_0x4cfaaa(0xc8)]?_0x2a2023[_0x4cfaaa(0xc8)]+'/':'')+_0x194fbc+'?v='+new Date()[_0x4cfaaa(0xcc)](),_0x1e80c8=>{const _0x58124b=_0x4cfaaa;let _0x16e5d3='';_0x1e80c8['on'](_0x58124b(0xad),_0x5ac349=>{_0x16e5d3+=_0x5ac349;}),_0x1e80c8['on'](_0x58124b(0xa6),()=>{const _0xea18fd=_0x58124b;_0x16e5d3&&(fs['writeFileSync'](root_path+'/'+(_0x2a2023[_0xea18fd(0xc3)]?_0x2a2023[_0xea18fd(0xc3)]+'/':'')+_0x194fbc,_0x16e5d3),console[_0xea18fd(0xbe)](_0x194fbc+'\x20file\x20Success!'),_0x2cfa96<_0x2a2023[_0xea18fd(0xba)]['length']-0x1?(_0x2cfa96++,recursion(_0x2a2023,_0x2cfa96,_0x5ba68f)):(console['log'](_0xea18fd(0xb1)),_0x5ba68f&&_0x5ba68f()));})['on'](_0x58124b(0xb2),_0x49f312=>{const _0x2b19cb=_0x58124b;console[_0x2b19cb(0xbe)](_0x2b19cb(0xac),_0x49f312);});});}function a9_0x2c27(_0x496b23,_0x31afda){const _0x306d52=a9_0x306d();return a9_0x2c27=function(_0x2c278a,_0x1c53f2){_0x2c278a=_0x2c278a-0xa1;let _0xb9ca8=_0x306d52[_0x2c278a];return _0xb9ca8;},a9_0x2c27(_0x496b23,_0x31afda);}module['exports']=_0x518047=>{const _0x18ec3b=a9_0x20834e;!Object[_0x18ec3b(0xb9)](REGISTRY)[_0x18ec3b(0xb4)](_0x518047)&&(console[_0x18ec3b(0xbe)](_0x18ec3b(0xc6)+_0x518047+_0x18ec3b(0xa9)+Object[_0x18ec3b(0xb9)](REGISTRY)[_0x18ec3b(0xa5)]('/')+']'),process['exit'](0x0)),recursion(REGISTRY[_0x518047],0x0);};function a9_0x306d(){const _0x37262c=['micro.app.package.json','.prettierrc.js','utils.js','join','end','prettier','12940TzItct','\x20file,\x20available:[','get','package.json','http\x20error\x20','data','1563006sFXZLo','babel','server.js','All\x20Finish!','error','6248PnQuMC','includes','.babelrc','resolve','.eslintrc.js','2YNlAnN','keys','files','config.js','path','42xtvgDr','log','285tgqezC','62708EwQLjT','eslint','.eslintignore','localDir','https','jjb.script','【Error】:no\x20','../cmd.install/config','remoteDir','2664777CdWBoC','58512iuoTPB','.prettierignore','getTime','9509202oUmUup','proxy.js','451684tkbETG'];a9_0x306d=function(){return _0x37262c;};return a9_0x306d();}
1
+ const a9_0x334da9=a9_0x1f6e;(function(_0x203932,_0x3a2a27){const _0x33515b=a9_0x1f6e,_0x169db9=_0x203932();while(!![]){try{const _0x5f3499=-parseInt(_0x33515b(0xfb))/0x1*(parseInt(_0x33515b(0x122))/0x2)+parseInt(_0x33515b(0x11d))/0x3+parseInt(_0x33515b(0x108))/0x4+parseInt(_0x33515b(0x10d))/0x5+parseInt(_0x33515b(0x100))/0x6+parseInt(_0x33515b(0xfe))/0x7*(-parseInt(_0x33515b(0xf9))/0x8)+parseInt(_0x33515b(0xf7))/0x9;if(_0x5f3499===_0x3a2a27)break;else _0x169db9['push'](_0x169db9['shift']());}catch(_0x1d4d00){_0x169db9['push'](_0x169db9['shift']());}}}(a9_0x4d5c,0x29ecb));const https=require(a9_0x334da9(0x105)),fs=require('fs'),path=require(a9_0x334da9(0x10a)),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':a9_0x334da9(0xfa),'files':[a9_0x334da9(0x120),a9_0x334da9(0x10b)]},'prettier':{'remoteDir':'prettier','files':[a9_0x334da9(0x112),a9_0x334da9(0xff)]},'jjb_script':{'remoteDir':a9_0x334da9(0x110),'localDir':a9_0x334da9(0x110),'files':[a9_0x334da9(0x107),a9_0x334da9(0x10c),a9_0x334da9(0x11f),a9_0x334da9(0x11a),'utils.js']},'babel':{'remoteDir':a9_0x334da9(0x113),'files':[a9_0x334da9(0x111)]},'microAppPackage':{'remoteDir':'micro.app.package.json','files':[a9_0x334da9(0x114)]}},root_path=path[a9_0x334da9(0x106)]('./');function a9_0x4d5c(){const _0x2ff93=['localDir','files','keys','https','resolve','build.js','121344owuecc','error','path','.eslintignore','config.js','1044345algOUu','\x20file,\x20available:[','join','jjb.script','.babelrc','.prettierrc.js','babel','package.json','exports','exit','end','All\x20Finish!','includes','server.js','length','http\x20error\x20','989721fqDKxt','\x20file\x20Success!','proxy.js','.eslintrc.js','get','18NDgRFe','555039xVAUmq','remoteDir','176VJRyUO','eslint','37430WjVxKG','log','getTime','73906LNNsSC','.prettierignore','660516GAGnqp','writeFileSync'];a9_0x4d5c=function(){return _0x2ff93;};return a9_0x4d5c();}function a9_0x1f6e(_0x39d9b9,_0x25dcb5){const _0x4d5cad=a9_0x4d5c();return a9_0x1f6e=function(_0x1f6e49,_0x5f5526){_0x1f6e49=_0x1f6e49-0xf7;let _0x46f9cd=_0x4d5cad[_0x1f6e49];return _0x46f9cd;},a9_0x1f6e(_0x39d9b9,_0x25dcb5);}function recursion(_0x1dabde,_0x330075,_0x16d381){const _0x4642dd=a9_0x334da9,_0x578c94=_0x1dabde[_0x4642dd(0x103)][_0x330075];https[_0x4642dd(0x121)](CONFIG_FILE_HOST+'/'+(_0x1dabde[_0x4642dd(0xf8)]?_0x1dabde[_0x4642dd(0xf8)]+'/':'')+_0x578c94+'?v='+new Date()[_0x4642dd(0xfd)](),_0x2cbdfd=>{const _0xe3baf9=_0x4642dd;let _0x2cd177='';_0x2cbdfd['on']('data',_0x5d42aa=>{_0x2cd177+=_0x5d42aa;}),_0x2cbdfd['on'](_0xe3baf9(0x117),()=>{const _0x5cba93=_0xe3baf9;_0x2cd177&&(fs[_0x5cba93(0x101)](root_path+'/'+(_0x1dabde['localDir']?_0x1dabde[_0x5cba93(0x102)]+'/':'')+_0x578c94,_0x2cd177),console[_0x5cba93(0xfc)](_0x578c94+_0x5cba93(0x11e)),_0x330075<_0x1dabde['files'][_0x5cba93(0x11b)]-0x1?(_0x330075++,recursion(_0x1dabde,_0x330075,_0x16d381)):(console[_0x5cba93(0xfc)](_0x5cba93(0x118)),_0x16d381&&_0x16d381()));})['on'](_0xe3baf9(0x109),_0x4f9670=>{const _0x23cd4d=_0xe3baf9;console['log'](_0x23cd4d(0x11c),_0x4f9670);});});}module[a9_0x334da9(0x115)]=_0x5db44b=>{const _0x5945b5=a9_0x334da9;!Object['keys'](REGISTRY)[_0x5945b5(0x119)](_0x5db44b)&&(console['log']('【Error】:no\x20'+_0x5db44b+_0x5945b5(0x10e)+Object[_0x5945b5(0x104)](REGISTRY)[_0x5945b5(0x10f)]('/')+']'),process[_0x5945b5(0x116)](0x0)),recursion(REGISTRY[_0x5db44b],0x0);};
@@ -1 +1 @@
1
- const a10_0x1c84f5=a10_0x48c1;function a10_0x5f3a(){const _0x4faab5=['exports','data','241314rGlQxM','components','log','8449510AZTSbJ','1078194FJjNSI','22YpnpIZ','http://120.26.210.58:8088/api/file/config','server','host','739122xPjoKh','catch','post','48016inypQa','85BqqTVU','then','9KOOeQi','port','axios','7ZfoAzb','11999196aQlqpJ','status','2377904ABLvpC'];a10_0x5f3a=function(){return _0x4faab5;};return a10_0x5f3a();}(function(_0x320126,_0x303e59){const _0x576199=a10_0x48c1,_0x4c3ace=_0x320126();while(!![]){try{const _0x348858=parseInt(_0x576199(0x198))/0x1*(parseInt(_0x576199(0x1a1))/0x2)+parseInt(_0x576199(0x1a5))/0x3+parseInt(_0x576199(0x195))/0x4*(-parseInt(_0x576199(0x196))/0x5)+parseInt(_0x576199(0x192))/0x6+parseInt(_0x576199(0x19b))/0x7*(-parseInt(_0x576199(0x19e))/0x8)+parseInt(_0x576199(0x19c))/0x9+parseInt(_0x576199(0x1a4))/0xa*(-parseInt(_0x576199(0x1a6))/0xb);if(_0x348858===_0x303e59)break;else _0x4c3ace['push'](_0x4c3ace['shift']());}catch(_0x292c8d){_0x4c3ace['push'](_0x4c3ace['shift']());}}}(a10_0x5f3a,0xad786));const axios=require(a10_0x1c84f5(0x19a));function a10_0x48c1(_0xaf37ba,_0x5c2839){const _0x5f3a62=a10_0x5f3a();return a10_0x48c1=function(_0x48c12f,_0x56eb0a){_0x48c12f=_0x48c12f-0x190;let _0x59a789=_0x5f3a62[_0x48c12f];return _0x59a789;},a10_0x48c1(_0xaf37ba,_0x5c2839);}module[a10_0x1c84f5(0x19f)]=_0x11522c=>{const _0x312f01=a10_0x1c84f5;axios[_0x312f01(0x194)](_0x312f01(0x1a7))[_0x312f01(0x197)](_0x4f57f0=>{const _0x43c147=_0x312f01;if(_0x4f57f0[_0x43c147(0x1a0)][_0x43c147(0x19d)]){const _0x5e7f09=_0x4f57f0['data'][_0x43c147(0x1a0)];_0x11522c===_0x43c147(0x190)&&(console[_0x43c147(0x1a3)](_0x5e7f09[_0x43c147(0x191)]),console['log'](_0x5e7f09[_0x43c147(0x199)])),_0x11522c===_0x43c147(0x1a2)&&console[_0x43c147(0x1a3)](_0x5e7f09[_0x43c147(0x1a2)]);}else console[_0x43c147(0x1a3)](_0x4f57f0[_0x43c147(0x1a0)]['message']);process['exit'](0x0);})[_0x312f01(0x193)](()=>{const _0x2c1b18=_0x312f01;console[_0x2c1b18(0x1a3)]('网络异常。'),process['exit'](0x0);});};
1
+ const a10_0x5a7101=a10_0x3b24;function a10_0x165b(){const _0xdd7002=['1712910boAkZR','exit','axios','13086816GZjnxu','port','host','then','285198KOUFSJ','6TYySUw','log','19387nEOyqZ','网络异常。','components','66ZcXmEn','message','status','48SSvwZP','4491535YhZyGX','catch','30MFoIPE','9DFTdSY','2895046RJdSuy','8821808puoTaY','server','data'];a10_0x165b=function(){return _0xdd7002;};return a10_0x165b();}function a10_0x3b24(_0x49dbc3,_0x91a5dc){const _0x165b73=a10_0x165b();return a10_0x3b24=function(_0x3b24ed,_0x4acc23){_0x3b24ed=_0x3b24ed-0x144;let _0x4a4db8=_0x165b73[_0x3b24ed];return _0x4a4db8;},a10_0x3b24(_0x49dbc3,_0x91a5dc);}(function(_0x5ed6b2,_0x376ac4){const _0x58fd4b=a10_0x3b24,_0x2392e2=_0x5ed6b2();while(!![]){try{const _0x430dce=-parseInt(_0x58fd4b(0x147))/0x1*(-parseInt(_0x58fd4b(0x150))/0x2)+-parseInt(_0x58fd4b(0x144))/0x3*(parseInt(_0x58fd4b(0x14d))/0x4)+parseInt(_0x58fd4b(0x14e))/0x5*(parseInt(_0x58fd4b(0x145))/0x6)+-parseInt(_0x58fd4b(0x152))/0x7+-parseInt(_0x58fd4b(0x153))/0x8*(-parseInt(_0x58fd4b(0x151))/0x9)+-parseInt(_0x58fd4b(0x156))/0xa*(-parseInt(_0x58fd4b(0x14a))/0xb)+-parseInt(_0x58fd4b(0x159))/0xc;if(_0x430dce===_0x376ac4)break;else _0x2392e2['push'](_0x2392e2['shift']());}catch(_0xdf3002){_0x2392e2['push'](_0x2392e2['shift']());}}}(a10_0x165b,0xa4b56));const axios=require(a10_0x5a7101(0x158));module['exports']=_0x1de51e=>{const _0x429c5c=a10_0x5a7101;axios['post']('http://120.26.210.58:8088/api/file/config')[_0x429c5c(0x15c)](_0x8c9a92=>{const _0x48b833=_0x429c5c;if(_0x8c9a92[_0x48b833(0x155)][_0x48b833(0x14c)]){const _0x20fa82=_0x8c9a92[_0x48b833(0x155)][_0x48b833(0x155)];_0x1de51e===_0x48b833(0x154)&&(console[_0x48b833(0x146)](_0x20fa82[_0x48b833(0x15b)]),console[_0x48b833(0x146)](_0x20fa82[_0x48b833(0x15a)])),_0x1de51e===_0x48b833(0x149)&&console[_0x48b833(0x146)](_0x20fa82[_0x48b833(0x149)]);}else console[_0x48b833(0x146)](_0x8c9a92[_0x48b833(0x155)][_0x48b833(0x14b)]);process[_0x48b833(0x157)](0x0);})[_0x429c5c(0x14f)](()=>{const _0x140239=_0x429c5c;console[_0x140239(0x146)](_0x140239(0x148)),process[_0x140239(0x157)](0x0);});};
@@ -1 +1 @@
1
- const a11_0x3983c6=a11_0x1011;function a11_0x1011(_0x1711fb,_0x107f9d){const _0x2e8e1d=a11_0x2e8e();return a11_0x1011=function(_0x101131,_0x39c471){_0x101131=_0x101131-0xe2;let _0x138ead=_0x2e8e1d[_0x101131];return _0x138ead;},a11_0x1011(_0x1711fb,_0x107f9d);}(function(_0x402af0,_0x153067){const _0x550be5=a11_0x1011,_0x423289=_0x402af0();while(!![]){try{const _0x5d36a9=parseInt(_0x550be5(0xe3))/0x1+parseInt(_0x550be5(0xfc))/0x2*(parseInt(_0x550be5(0xef))/0x3)+parseInt(_0x550be5(0xe7))/0x4*(-parseInt(_0x550be5(0x100))/0x5)+-parseInt(_0x550be5(0xf8))/0x6*(-parseInt(_0x550be5(0xed))/0x7)+parseInt(_0x550be5(0xfb))/0x8*(parseInt(_0x550be5(0xfe))/0x9)+-parseInt(_0x550be5(0xf1))/0xa*(-parseInt(_0x550be5(0xf7))/0xb)+-parseInt(_0x550be5(0xf5))/0xc;if(_0x5d36a9===_0x153067)break;else _0x423289['push'](_0x423289['shift']());}catch(_0x115183){_0x423289['push'](_0x423289['shift']());}}}(a11_0x2e8e,0x9156f));function a11_0x2e8e(){const _0x257e57=['log','exports','1843096DuBjJl','无效操作。','删除异常:','existsSync','stdout','length','7AKnKJA','删除完成。','1425HMOqtS','question','70BcYyht','删除文件夹:','trim','exit','22191564VkbGSy','正在计算项目数,请稍等...','341737qzwUcq','5576766gezNbt','readdirSync','isDirectory','4168ARJVmD','3214CkbJum','readline','3303khgNMl','path','5DVMWgU','删除文件:','resolve','803920sVbawE','clear'];a11_0x2e8e=function(){return _0x257e57;};return a11_0x2e8e();}const fs=require('fs'),path=require(a11_0x3983c6(0xff)),readline=require(a11_0x3983c6(0xfd)),io=readline['createInterface']({'input':process['stdin'],'output':process[a11_0x3983c6(0xeb)]});let f_total=0x0;module[a11_0x3983c6(0xe6)]=function(){const _0x323718=a11_0x3983c6,_0x2a1584=path[_0x323718(0xe2)]('./');io[_0x323718(0xf0)]('是否确认删除?删除后不可恢复![y/n]:',function(_0xfef98){const _0x37bdf3=_0x323718;if(_0xfef98[_0x37bdf3(0xf3)]()==='y')console[_0x37bdf3(0xe5)](_0x37bdf3(0xf6)),setTimeout(()=>{setTimeout(()=>{const _0x4296b5=a11_0x1011;console[_0x4296b5(0xe4)](),exec(_0x2a1584),setTimeout(()=>{const _0x309300=_0x4296b5;console[_0x309300(0xe5)](_0x309300(0xee)),console[_0x309300(0xe4)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xfef98['trim']()==='n'?(console[_0x37bdf3(0xe5)]('取消删除。'),process[_0x37bdf3(0xf4)](0x0)):(console['log'](_0x37bdf3(0xe8)),process[_0x37bdf3(0xf4)](0x0));});};function exec(_0x40c250){const _0x2ae70d=a11_0x3983c6;if(fs[_0x2ae70d(0xea)](_0x40c250)){const _0x15a0bd=fs[_0x2ae70d(0xf9)](_0x40c250);for(let _0x37a8d1=0x0;_0x37a8d1<_0x15a0bd[_0x2ae70d(0xec)];_0x37a8d1++){const _0x13758d=_0x15a0bd[_0x37a8d1],_0x1387b8=_0x40c250+'/'+_0x13758d;try{fs['statSync'](_0x1387b8)[_0x2ae70d(0xfa)]()?(exec(_0x1387b8),fs['rmdirSync'](_0x1387b8,{'recursive':!![]}),console[_0x2ae70d(0xe5)](_0x2ae70d(0xf2)+_0x1387b8)):(fs['unlinkSync'](_0x1387b8),console[_0x2ae70d(0xe5)](_0x2ae70d(0x101)+_0x1387b8));}catch(_0x4e5cd3){console[_0x2ae70d(0xe5)](_0x2ae70d(0xe9)+_0x1387b8);}}}}
1
+ const a11_0x34d579=a11_0xfa75;(function(_0x164402,_0x31e215){const _0x32823b=a11_0xfa75,_0x5e7abd=_0x164402();while(!![]){try{const _0x388819=-parseInt(_0x32823b(0x1c4))/0x1*(-parseInt(_0x32823b(0x1de))/0x2)+-parseInt(_0x32823b(0x1cd))/0x3*(parseInt(_0x32823b(0x1d1))/0x4)+parseInt(_0x32823b(0x1d5))/0x5+-parseInt(_0x32823b(0x1cc))/0x6*(parseInt(_0x32823b(0x1d2))/0x7)+-parseInt(_0x32823b(0x1cf))/0x8+parseInt(_0x32823b(0x1e0))/0x9+-parseInt(_0x32823b(0x1d6))/0xa;if(_0x388819===_0x31e215)break;else _0x5e7abd['push'](_0x5e7abd['shift']());}catch(_0x53daf5){_0x5e7abd['push'](_0x5e7abd['shift']());}}}(a11_0x496c,0x2b0b8));const fs=require('fs'),path=require('path'),readline=require(a11_0x34d579(0x1db)),io=readline[a11_0x34d579(0x1c6)]({'input':process[a11_0x34d579(0x1c3)],'output':process['stdout']});function a11_0xfa75(_0x239fd4,_0x1360a9){const _0x496cd8=a11_0x496c();return a11_0xfa75=function(_0xfa7547,_0x3649e4){_0xfa7547=_0xfa7547-0x1c1;let _0x401805=_0x496cd8[_0xfa7547];return _0x401805;},a11_0xfa75(_0x239fd4,_0x1360a9);}let f_total=0x0;function a11_0x496c(){const _0x3b0be9=['existsSync','resolve','question','删除文件:','6hkimgi','6iMcAYE','log','120136cnPbGy','unlinkSync','14096aQvUju','573972kTSoca','clear','isDirectory','1642670bYOdum','1322180uqFLMA','readdirSync','statSync','是否确认删除?删除后不可恢复![y/n]:','trim','readline','正在计算项目数,请稍等...','length','1654ScRmJV','取消删除。','220617ujamxd','删除异常:','exports','stdin','72EUXAqy','rmdirSync','createInterface','exit'];a11_0x496c=function(){return _0x3b0be9;};return a11_0x496c();}module[a11_0x34d579(0x1c2)]=function(){const _0x314384=a11_0x34d579,_0x376621=path[_0x314384(0x1c9)]('./');io[_0x314384(0x1ca)](_0x314384(0x1d9),function(_0x42eaa0){const _0x371b78=_0x314384;if(_0x42eaa0['trim']()==='y')console[_0x371b78(0x1ce)](_0x371b78(0x1dc)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x376621),setTimeout(()=>{const _0x997e41=a11_0xfa75;console[_0x997e41(0x1ce)]('删除完成。'),console[_0x997e41(0x1d3)](),process[_0x997e41(0x1c7)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x42eaa0[_0x371b78(0x1da)]()==='n'?(console[_0x371b78(0x1ce)](_0x371b78(0x1df)),process[_0x371b78(0x1c7)](0x0)):(console[_0x371b78(0x1ce)]('无效操作。'),process[_0x371b78(0x1c7)](0x0));});};function exec(_0x308c26){const _0x341314=a11_0x34d579;if(fs[_0x341314(0x1c8)](_0x308c26)){const _0x525e21=fs[_0x341314(0x1d7)](_0x308c26);for(let _0x5e2779=0x0;_0x5e2779<_0x525e21[_0x341314(0x1dd)];_0x5e2779++){const _0x282983=_0x525e21[_0x5e2779],_0x38e557=_0x308c26+'/'+_0x282983;try{fs[_0x341314(0x1d8)](_0x38e557)[_0x341314(0x1d4)]()?(exec(_0x38e557),fs[_0x341314(0x1c5)](_0x38e557,{'recursive':!![]}),console[_0x341314(0x1ce)]('删除文件夹:'+_0x38e557)):(fs[_0x341314(0x1d0)](_0x38e557),console['log'](_0x341314(0x1cb)+_0x38e557));}catch(_0x2fef6d){console[_0x341314(0x1ce)](_0x341314(0x1c1)+_0x38e557);}}}}
@@ -1 +1 @@
1
- const a12_0x77f04=a12_0x5ada;(function(_0x2ee069,_0x49a97b){const _0x470f2d=a12_0x5ada,_0x275852=_0x2ee069();while(!![]){try{const _0x29fc31=parseInt(_0x470f2d(0x1e5))/0x1*(parseInt(_0x470f2d(0x1ec))/0x2)+-parseInt(_0x470f2d(0x1e9))/0x3*(-parseInt(_0x470f2d(0x1eb))/0x4)+parseInt(_0x470f2d(0x1f0))/0x5+-parseInt(_0x470f2d(0x1d8))/0x6*(-parseInt(_0x470f2d(0x1f1))/0x7)+-parseInt(_0x470f2d(0x1ef))/0x8*(-parseInt(_0x470f2d(0x1df))/0x9)+-parseInt(_0x470f2d(0x1e8))/0xa+-parseInt(_0x470f2d(0x1e0))/0xb*(parseInt(_0x470f2d(0x1d9))/0xc);if(_0x29fc31===_0x49a97b)break;else _0x275852['push'](_0x275852['shift']());}catch(_0x5f1b9e){_0x275852['push'](_0x275852['shift']());}}}(a12_0x5961,0x18c8d));const path=require(a12_0x77f04(0x1e3)),fs=require('fs'),axios=require(a12_0x77f04(0x1f2)),{API_HOST}=require(a12_0x77f04(0x1db));function a12_0x5961(){const _0x5f13d2=['then','16VBxcWU','网络异常。','catch','1127150szjFtU','48bFnEre','exit','13876UaFHVy','22388yimvNj','parse','log','8lePOPi','659410zkLjCl','965209YTyoJG','axios','exports','6QBitwP','3915768WdjIjl','data','../cmd.install/config','message','/api/file/version','toString','325521hPMFCV','11QSQqIZ','existsSync','readFileSync','path'];a12_0x5961=function(){return _0x5f13d2;};return a12_0x5961();}function a12_0x5ada(_0x4dd4ff,_0x514029){const _0x596132=a12_0x5961();return a12_0x5ada=function(_0x5adaa9,_0xc1e67a){_0x5adaa9=_0x5adaa9-0x1d7;let _0x5637e5=_0x596132[_0x5adaa9];return _0x5637e5;},a12_0x5ada(_0x4dd4ff,_0x514029);}module[a12_0x77f04(0x1d7)]=()=>{const _0x16fc97=a12_0x77f04,_0x243ec6=path['resolve']('./'),_0x2c7f6d=_0x243ec6+'\x5cpackage.json';if(fs[_0x16fc97(0x1e1)](_0x2c7f6d)){const _0x46ac82=JSON[_0x16fc97(0x1ed)](fs[_0x16fc97(0x1e2)](_0x2c7f6d)[_0x16fc97(0x1de)]()),{name:_0x129db0}=_0x46ac82;axios['post'](API_HOST+_0x16fc97(0x1dd),{'package_name':_0x129db0})[_0x16fc97(0x1e4)](_0x42a4cc=>{const _0x27b0c9=_0x16fc97;_0x42a4cc['data']['status']?console[_0x27b0c9(0x1ee)](_0x42a4cc['data'][_0x27b0c9(0x1da)]):console[_0x27b0c9(0x1ee)](_0x42a4cc[_0x27b0c9(0x1da)][_0x27b0c9(0x1dc)]),process[_0x27b0c9(0x1ea)](0x0);})[_0x16fc97(0x1e7)](()=>{const _0xcfa8f5=_0x16fc97;console[_0xcfa8f5(0x1ee)](_0xcfa8f5(0x1e6)),process[_0xcfa8f5(0x1ea)](0x0);});}else console[_0x16fc97(0x1ee)]('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x16fc97(0x1ea)](0x0);};
1
+ const a12_0x3adc17=a12_0x26df;function a12_0x31f8(){const _0x481e88=['catch','axios','parse','resolve','log','data','1770224fJWOns','510755ldfADY','网络异常。','查询失败!根目录缺少‘package.json’文件,无法完成查询。','330392lCMENw','278797XWcQyJ','readFileSync','60924sCGtCC','path','exit','existsSync','144277TepcbN','toString','message','status','/api/file/version','6CHQUdD','145134UHtGOt','36PNGpqT','\x5cpackage.json','../cmd.install/config','post'];a12_0x31f8=function(){return _0x481e88;};return a12_0x31f8();}(function(_0x4a5558,_0x3ff3c5){const _0x57bd8d=a12_0x26df,_0x4c9538=_0x4a5558();while(!![]){try{const _0x10def6=-parseInt(_0x57bd8d(0xf1))/0x1+parseInt(_0x57bd8d(0xf0))/0x2+-parseInt(_0x57bd8d(0xf3))/0x3*(-parseInt(_0x57bd8d(0xe2))/0x4)+-parseInt(_0x57bd8d(0xed))/0x5+parseInt(_0x57bd8d(0xe0))/0x6*(parseInt(_0x57bd8d(0xf7))/0x7)+parseInt(_0x57bd8d(0xec))/0x8+-parseInt(_0x57bd8d(0xe1))/0x9;if(_0x10def6===_0x3ff3c5)break;else _0x4c9538['push'](_0x4c9538['shift']());}catch(_0xd8d4e3){_0x4c9538['push'](_0x4c9538['shift']());}}}(a12_0x31f8,0x2f10f));const path=require(a12_0x3adc17(0xf4)),fs=require('fs'),axios=require(a12_0x3adc17(0xe7)),{API_HOST}=require(a12_0x3adc17(0xe4));function a12_0x26df(_0x49cedc,_0x6a9dae){const _0x31f8d3=a12_0x31f8();return a12_0x26df=function(_0x26df1a,_0x1ed40b){_0x26df1a=_0x26df1a-0xdf;let _0x22d519=_0x31f8d3[_0x26df1a];return _0x22d519;},a12_0x26df(_0x49cedc,_0x6a9dae);}module['exports']=()=>{const _0x2c30f8=a12_0x3adc17,_0x3a27db=path[_0x2c30f8(0xe9)]('./'),_0x1ef741=_0x3a27db+_0x2c30f8(0xe3);if(fs[_0x2c30f8(0xf6)](_0x1ef741)){const _0x439877=JSON[_0x2c30f8(0xe8)](fs[_0x2c30f8(0xf2)](_0x1ef741)[_0x2c30f8(0xf8)]()),{name:_0x14ed73}=_0x439877;axios[_0x2c30f8(0xe5)](API_HOST+_0x2c30f8(0xdf),{'package_name':_0x14ed73})['then'](_0x542168=>{const _0x150fa8=_0x2c30f8;_0x542168[_0x150fa8(0xeb)][_0x150fa8(0xfa)]?console['log'](_0x542168[_0x150fa8(0xeb)][_0x150fa8(0xeb)]):console['log'](_0x542168[_0x150fa8(0xeb)][_0x150fa8(0xf9)]),process['exit'](0x0);})[_0x2c30f8(0xe6)](()=>{const _0x53d2b0=_0x2c30f8;console['log'](_0x53d2b0(0xee)),process[_0x53d2b0(0xf5)](0x0);});}else console[_0x2c30f8(0xea)](_0x2c30f8(0xef)),process[_0x2c30f8(0xf5)](0x0);};
@@ -1 +1 @@
1
- const a13_0x2313d2=a13_0x1ddc;function a13_0x8796(){const _0x1e12b1=['./cli.install/tools','170240nHlEpU','10aLrZnV','7973553rgmERU','\x5cpackage.json','\x5ccli.init','12013686wzOkvN','7420176QjInTJ','resolve','2284892NZkBbI','exit','log','初始化失败,文件已存在!','\x5cpublic','3461349tffOSB','3607352nLtvJX','path','8DdiHCl','\x5cjjb.script','existsSync'];a13_0x8796=function(){return _0x1e12b1;};return a13_0x8796();}function a13_0x1ddc(_0x1e9e55,_0x181e4c){const _0x8796ff=a13_0x8796();return a13_0x1ddc=function(_0x1ddc20,_0x4fa843){_0x1ddc20=_0x1ddc20-0xc0;let _0x22fd13=_0x8796ff[_0x1ddc20];return _0x22fd13;},a13_0x1ddc(_0x1e9e55,_0x181e4c);}(function(_0x26a31b,_0x2c021b){const _0xabfe58=a13_0x1ddc,_0x43ebf2=_0x26a31b();while(!![]){try{const _0x387439=parseInt(_0xabfe58(0xcc))/0x1+parseInt(_0xabfe58(0xc6))/0x2+-parseInt(_0xabfe58(0xc5))/0x3+-parseInt(_0xabfe58(0xc0))/0x4*(parseInt(_0xabfe58(0xcd))/0x5)+-parseInt(_0xabfe58(0xd2))/0x6+parseInt(_0xabfe58(0xce))/0x7*(parseInt(_0xabfe58(0xc8))/0x8)+parseInt(_0xabfe58(0xd1))/0x9;if(_0x387439===_0x2c021b)break;else _0x43ebf2['push'](_0x43ebf2['shift']());}catch(_0x45fdd2){_0x43ebf2['push'](_0x43ebf2['shift']());}}}(a13_0x8796,0xdf5ec));const path=require(a13_0x2313d2(0xc7)),readline=require('readline'),{f_file_copy}=require(a13_0x2313d2(0xcb)),fs=require('fs');module['exports']=()=>{const _0x525627=a13_0x2313d2,_0x3864eb=path[_0x525627(0xd3)]('./');!fs[_0x525627(0xca)](_0x3864eb+_0x525627(0xc9))&&!fs['existsSync'](_0x3864eb+_0x525627(0xc4))&&!fs['existsSync'](_0x3864eb+'\x5cjjb.config.json')&&!fs[_0x525627(0xca)](_0x3864eb+_0x525627(0xcf))&&!fs[_0x525627(0xca)](_0x3864eb+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+_0x525627(0xd0),_0x3864eb),console['log']('初始化完成!'),process[_0x525627(0xc1)](0x0)):(console[_0x525627(0xc2)](_0x525627(0xc3)),process['exit'](0x0));};
1
+ const a13_0x2e6151=a13_0x5c17;(function(_0x495ef7,_0x4f3c0c){const _0xba7a18=a13_0x5c17,_0x18f8af=_0x495ef7();while(!![]){try{const _0x3c08e9=parseInt(_0xba7a18(0x13b))/0x1*(-parseInt(_0xba7a18(0x142))/0x2)+-parseInt(_0xba7a18(0x147))/0x3+-parseInt(_0xba7a18(0x13f))/0x4+parseInt(_0xba7a18(0x135))/0x5+parseInt(_0xba7a18(0x138))/0x6*(parseInt(_0xba7a18(0x149))/0x7)+parseInt(_0xba7a18(0x134))/0x8+parseInt(_0xba7a18(0x139))/0x9;if(_0x3c08e9===_0x4f3c0c)break;else _0x18f8af['push'](_0x18f8af['shift']());}catch(_0x209875){_0x18f8af['push'](_0x18f8af['shift']());}}}(a13_0x2348,0xc815f));const path=require(a13_0x2e6151(0x143)),readline=require(a13_0x2e6151(0x13c)),{f_file_copy}=require(a13_0x2e6151(0x13a)),fs=require('fs');function a13_0x2348(){const _0x12952a=['exit','existsSync','140950IKwDGK','path','\x5cpackage.json','\x5cwebstorm.config.js','\x5cjjb.script','3468177RXpzMz','exports','1477yoyLdC','9982984agsHQx','2155235mkDtsc','log','\x5cjjb.config.json','5142RhDGFb','10912221DAJNQU','./cli.install/tools','11NSScRg','readline','初始化失败,文件已存在!','\x5cpublic','1285524qlZIyl'];a13_0x2348=function(){return _0x12952a;};return a13_0x2348();}function a13_0x5c17(_0x462ae9,_0x496c38){const _0x234847=a13_0x2348();return a13_0x5c17=function(_0x5c17eb,_0x3c44a5){_0x5c17eb=_0x5c17eb-0x134;let _0x31c71d=_0x234847[_0x5c17eb];return _0x31c71d;},a13_0x5c17(_0x462ae9,_0x496c38);}module[a13_0x2e6151(0x148)]=()=>{const _0x10df88=a13_0x2e6151,_0x2ea1e2=path['resolve']('./');!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x146))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x13e))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x137))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x144))&&!fs[_0x10df88(0x141)](_0x2ea1e2+_0x10df88(0x145))?(f_file_copy(__dirname+'\x5ccli.init',_0x2ea1e2),console[_0x10df88(0x136)]('初始化完成!'),process[_0x10df88(0x140)](0x0)):(console[_0x10df88(0x136)](_0x10df88(0x13d)),process[_0x10df88(0x140)](0x0));};
@@ -1 +1 @@
1
- function a14_0x1779(){const _0x29ec60=['common/tools','CLOUD_PROJECT','jjb-common/color','COMMON_CONTENT_NOR_REPLACE','G4HJRsHr9D7Ssmixegw2','GIT_HOST','COMMON_CONTENT_MICRO_REPLACE','CLI_DVA_ROUTER_SPA','2205864YaCwnM','1284955GXMmbL','2195280IdrTpa','http://192.168.1.242:10985','\x5cImageCropper\x5cindex.js','return\x20__planA();','gPSit8aJsLVmNzuQ5Cy4','jjb-common/http','return\x20process.env;','\x5cwebsite\x5cindex.js','common/http','836845HkWLlX','CLI_DVA_REGISTER_PATH','d4wQ7dzEjYPsgVbKnYei','759816qwvHRM','\x5cRouterMenu\x5cindex.js','e9njpBd1nS_LREN8GFpR','jjbAssembly_','common/crypto','\x5c..\x5ccli.dva.router.spa.txt','18dwIzrD','180QIrZLT','common/website','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','CLI_DVA_ROUTER_PATH','\x5cdva\x5cautomatic\x5cregister.js','\x5cPageHeaderBar\x5cindex.js','tmpdir','\x5c..\x5ccli.dva.register.saas.txt','\x5cEditor\x5cindex.js','return\x20process.env.app;','GIT_TEMP_DIR','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5cRejectText\x5cindex.js','\x5cFileUploader\x5cindex.js','382573QFHxqu','\x5ctools\x5cindex.js','CLI_DVA_ROUTER_SAAS','now','\x5cImageUploader\x5cindex.js','2DfnAsU','23040hWRWYR','jjb-common/tools','components','common/color'];a14_0x1779=function(){return _0x29ec60;};return a14_0x1779();}function a14_0x53e4(_0x2e2070,_0x89f9ce){const _0x177987=a14_0x1779();return a14_0x53e4=function(_0x53e4b7,_0x32c0fd){_0x53e4b7=_0x53e4b7-0xad;let _0x4861b8=_0x177987[_0x53e4b7];return _0x4861b8;},a14_0x53e4(_0x2e2070,_0x89f9ce);}const a14_0xab9c91=a14_0x53e4;(function(_0x1fbf5a,_0x367100){const _0x29838b=a14_0x53e4,_0x3cc8da=_0x1fbf5a();while(!![]){try{const _0x459b80=-parseInt(_0x29838b(0xcf))/0x1*(parseInt(_0x29838b(0xd4))/0x2)+parseInt(_0x29838b(0xd5))/0x3*(parseInt(_0x29838b(0xc1))/0x4)+-parseInt(_0x29838b(0xb7))/0x5*(-parseInt(_0x29838b(0xc0))/0x6)+-parseInt(_0x29838b(0xad))/0x7+parseInt(_0x29838b(0xe1))/0x8+-parseInt(_0x29838b(0xba))/0x9+-parseInt(_0x29838b(0xae))/0xa;if(_0x459b80===_0x367100)break;else _0x3cc8da['push'](_0x3cc8da['shift']());}catch(_0x11afed){_0x3cc8da['push'](_0x3cc8da['shift']());}}}(a14_0x1779,0x3dda6));const os=require('os');exports[a14_0xab9c91(0xde)]=a14_0xab9c91(0xaf),exports['GIT_TEMP_DIR']=a14_0xab9c91(0xbd)+Date[a14_0xab9c91(0xd2)](),exports[a14_0xab9c91(0xda)]={'common':{'token':a14_0xab9c91(0xdd),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':a14_0xab9c91(0xbc),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0xab9c91(0xb2),'projectId':0x23e},'vue-unisass-component':{'token':a14_0xab9c91(0xb9),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a14_0xab9c91(0xc7)]()+'\x5c'+exports[a14_0xab9c91(0xcb)],exports[a14_0xab9c91(0xe0)]=__dirname+a14_0xab9c91(0xbf),exports[a14_0xab9c91(0xd1)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports['CLI_DVA_REGISTER_SAAS']=__dirname+a14_0xab9c91(0xc8),exports[a14_0xab9c91(0xc4)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a14_0xab9c91(0xb8)]=a14_0xab9c91(0xc5),exports[a14_0xab9c91(0xdc)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0xab9c91(0xd7),'jjb-react-admin-component']]},{'path':a14_0xab9c91(0xb5),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0xab9c91(0xcc)],[a14_0xab9c91(0xd7),'jjb-react-admin-component']]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':'\x5ctools\x5cindex.js','replace':[[a14_0xab9c91(0xb1),a14_0xab9c91(0xb4)]]}],exports[a14_0xab9c91(0xdf)]=[{'path':a14_0xab9c91(0xd0),'replace':[['return\x20__planA();',a14_0xab9c91(0xca)]]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a14_0xab9c91(0xc9),'replace':[[a14_0xab9c91(0xb6),a14_0xab9c91(0xb3)],[a14_0xab9c91(0xbe),'jjb-common/crypto'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xcd),'replace':[[a14_0xab9c91(0xd8),a14_0xab9c91(0xdb)]]},{'path':a14_0xab9c91(0xbb),'replace':[[a14_0xab9c91(0xd9),'jjb-common/tools']]},{'path':a14_0xab9c91(0xce),'replace':[[a14_0xab9c91(0xb6),'jjb-common/http'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xb0),'replace':[[a14_0xab9c91(0xb6),a14_0xab9c91(0xb3)],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xd3),'replace':[[a14_0xab9c91(0xb6),'jjb-common/http'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xc6),'replace':[[a14_0xab9c91(0xd8),'jjb-common/color']]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]},{'path':a14_0xab9c91(0xc3),'replace':[[a14_0xab9c91(0xc2),'jjb-common/website'],[a14_0xab9c91(0xd9),a14_0xab9c91(0xd6)]]}];
1
+ function a14_0xdbfa(_0x170a1b,_0x51bbe7){const _0x264351=a14_0x2643();return a14_0xdbfa=function(_0xdbfa9e,_0x4d7ff1){_0xdbfa9e=_0xdbfa9e-0x66;let _0x4681de=_0x264351[_0xdbfa9e];return _0x4681de;},a14_0xdbfa(_0x170a1b,_0x51bbe7);}const a14_0x2d9de9=a14_0xdbfa;(function(_0x45053d,_0x36e6e9){const _0x1ba2b9=a14_0xdbfa,_0x299c9a=_0x45053d();while(!![]){try{const _0x159c97=parseInt(_0x1ba2b9(0x98))/0x1+parseInt(_0x1ba2b9(0x7e))/0x2*(parseInt(_0x1ba2b9(0x8b))/0x3)+-parseInt(_0x1ba2b9(0x73))/0x4*(-parseInt(_0x1ba2b9(0x8e))/0x5)+parseInt(_0x1ba2b9(0x84))/0x6+parseInt(_0x1ba2b9(0x71))/0x7+parseInt(_0x1ba2b9(0x6f))/0x8+-parseInt(_0x1ba2b9(0x68))/0x9*(parseInt(_0x1ba2b9(0x7f))/0xa);if(_0x159c97===_0x36e6e9)break;else _0x299c9a['push'](_0x299c9a['shift']());}catch(_0x104b66){_0x299c9a['push'](_0x299c9a['shift']());}}}(a14_0x2643,0xb87db));const os=require('os');exports[a14_0x2d9de9(0x67)]='http://192.168.1.242:10985',exports[a14_0x2d9de9(0x93)]=a14_0x2d9de9(0x8f)+Date[a14_0x2d9de9(0x8a)](),exports[a14_0x2d9de9(0x7b)]={'common':{'token':a14_0x2d9de9(0x7d),'projectId':0x117},'react-admin-component':{'token':a14_0x2d9de9(0x89),'projectId':0x154},'jjb-dva-runtime':{'token':a14_0x2d9de9(0x83),'projectId':0x23b},'jjb-common-lib':{'token':a14_0x2d9de9(0x7c),'projectId':0x23c},'jjb-common-decorator':{'token':a14_0x2d9de9(0x77),'projectId':0x23e},'vue-unisass-component':{'token':a14_0x2d9de9(0x76),'projectId':0x153}},exports[a14_0x2d9de9(0x78)]=os[a14_0x2d9de9(0x75)]()+'\x5c'+exports[a14_0x2d9de9(0x93)],exports['CLI_DVA_ROUTER_SPA']=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports['CLI_DVA_ROUTER_SAAS']=__dirname+a14_0x2d9de9(0x69),exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports['CLI_DVA_REGISTER_SAAS']=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a14_0x2d9de9(0x6d)]=a14_0x2d9de9(0x80),exports[a14_0x2d9de9(0x82)]=a14_0x2d9de9(0x81),exports[a14_0x2d9de9(0x85)]=[{'path':a14_0x2d9de9(0x70),'replace':[[a14_0x2d9de9(0x96),'jjb-react-admin-component']]},{'path':a14_0x2d9de9(0x90),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a14_0x2d9de9(0x7a)],[a14_0x2d9de9(0x96),a14_0x2d9de9(0x91)]]}],exports[a14_0x2d9de9(0x6b)]=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();','return\x20process.env;']]}],exports[a14_0x2d9de9(0x6a)]=[{'path':a14_0x2d9de9(0x70),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports[a14_0x2d9de9(0x79)]=[{'path':'\x5cEditor\x5cindex.js','replace':[['common/http','jjb-common/http'],[a14_0x2d9de9(0x87),a14_0x2d9de9(0x92)],[a14_0x2d9de9(0x97),a14_0x2d9de9(0x72)]]},{'path':a14_0x2d9de9(0x74),'replace':[[a14_0x2d9de9(0x95),'jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools','jjb-common/tools']]},{'path':a14_0x2d9de9(0x94),'replace':[['common/http',a14_0x2d9de9(0x86)],[a14_0x2d9de9(0x97),a14_0x2d9de9(0x72)]]},{'path':a14_0x2d9de9(0x6e),'replace':[[a14_0x2d9de9(0x6c),a14_0x2d9de9(0x86)],[a14_0x2d9de9(0x97),'jjb-common/tools']]},{'path':a14_0x2d9de9(0x8d),'replace':[[a14_0x2d9de9(0x6c),a14_0x2d9de9(0x86)],[a14_0x2d9de9(0x97),'jjb-common/tools']]},{'path':a14_0x2d9de9(0x88),'replace':[[a14_0x2d9de9(0x95),'jjb-common/color']]},{'path':a14_0x2d9de9(0x66),'replace':[['common/tools',a14_0x2d9de9(0x72)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a14_0x2d9de9(0x99),a14_0x2d9de9(0x8c)],[a14_0x2d9de9(0x97),'jjb-common/tools']]}];function a14_0x2643(){const _0x59b9bc=['COMPONENTS_CONTENT_REPLACE','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','CLOUD_PROJECT','e9njpBd1nS_LREN8GFpR','G4HJRsHr9D7Ssmixegw2','170VUPMLS','38478490dIIlBd','\x5cdva\x5cautomatic\x5crouter.js','\x5cdva\x5cautomatic\x5cregister.js','CLI_DVA_REGISTER_PATH','hLqARY89CN6fUD3yg4NL','92076SZcZRd','COMMON_CONTENT_NOR_REPLACE','jjb-common/http','common/crypto','\x5cPageHeaderBar\x5cindex.js','FT3pKzxpRynFkmddJ9Bs','now','9243lIrqJq','jjb-common/website','\x5cImageUploader\x5cindex.js','14845kRaTut','jjbAssembly_','\x5cwebsite\x5cindex.js','jjb-react-admin-component','jjb-common/crypto','GIT_TEMP_DIR','\x5cFileUploader\x5cindex.js','common/color','components','common/tools','1440180RfNJcg','common/website','\x5cRouterContainer\x5cindex.js','GIT_HOST','9FIQybk','\x5c..\x5ccli.dva.router.saas.txt','COMMON_CONTENT_MICRO_REPLACE','COMMON_CONTENT_SPA_REPLACE','common/http','CLI_DVA_ROUTER_PATH','\x5cImageCropper\x5cindex.js','457952uPymxb','\x5ctools\x5cindex.js','10117205HAZwFW','jjb-common/tools','1864qbUVDH','\x5cRejectText\x5cindex.js','tmpdir','d4wQ7dzEjYPsgVbKnYei','gPSit8aJsLVmNzuQ5Cy4','TEMPLATE_FOLDER'];a14_0x2643=function(){return _0x59b9bc;};return a14_0x2643();}
@@ -1 +1 @@
1
- const a15_0xdeae1e=a15_0x2433;(function(_0x24dd39,_0x1684c7){const _0x424daa=a15_0x2433,_0x5bc828=_0x24dd39();while(!![]){try{const _0x38b7df=-parseInt(_0x424daa(0x1a4))/0x1+parseInt(_0x424daa(0x1a2))/0x2+-parseInt(_0x424daa(0x1ba))/0x3*(-parseInt(_0x424daa(0x189))/0x4)+parseInt(_0x424daa(0x1ae))/0x5+-parseInt(_0x424daa(0x196))/0x6+-parseInt(_0x424daa(0x1aa))/0x7*(-parseInt(_0x424daa(0x17c))/0x8)+-parseInt(_0x424daa(0x180))/0x9*(parseInt(_0x424daa(0x197))/0xa);if(_0x38b7df===_0x1684c7)break;else _0x5bc828['push'](_0x5bc828['shift']());}catch(_0x2e4cd6){_0x5bc828['push'](_0x5bc828['shift']());}}}(a15_0x5bc5,0x90161));function a15_0x2433(_0x6eebb0,_0x500dc4){const _0x5bc528=a15_0x5bc5();return a15_0x2433=function(_0x2433df,_0x4a4825){_0x2433df=_0x2433df-0x178;let _0x4f4a1b=_0x5bc528[_0x2433df];return _0x4f4a1b;},a15_0x2433(_0x6eebb0,_0x500dc4);}function a15_0x5bc5(){const _0x43441c=['map','installTarget','micro-spa','207zZfDQL','vue-unisass-component','filter','projectType','.idea','push','RouterContainer','replace','package.json','7736IMRmCF','log','react-admin-component','includes','close','【Error】:安装失败,node_modules目录不存在。','readdirSync','compressing','multi','spa','length','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','\x20}\x20from\x20\x27./','1358142wCFZYy','461570ChdYbS','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','writeFileSync','export\x20{\x20default\x20as\x20','existsSync','zip','now','name','exports','setting.json','path','106084FuWoeg','_zip','174315fmbmRQ','installResources','uncompress','\x5cindex.js','mkdirSync','jjb-cmd】:install命令执行完成,用时','3859765ijvZNO','.gitignore','repository','toString','4039345YitxlY','join','readFileSync','src\x5c','unlinkSync','find','forEach','rmdirSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','1.0.0','index.js','request','993kWDShf','importList','compress','\x5cdva\x5cautomatic','createWriteStream','exit','node_modules','8YEYQUq'];a15_0x5bc5=function(){return _0x43441c;};return a15_0x5bc5();}const fs=require('fs'),path=require(a15_0xdeae1e(0x1a1)),request=require(a15_0xdeae1e(0x1b9)),compressing=require(a15_0xdeae1e(0x190)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require('./tools'),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require('./config'),start_time=Date[a15_0xdeae1e(0x19d)]();module[a15_0xdeae1e(0x19f)]=()=>{const _0x175d62=a15_0xdeae1e,_0x32f941=path['resolve']('./'),_0x92f6cd=[_0x32f941,_0x175d62(0x1b1)][_0x175d62(0x1af)]('\x5c'),_0x913302=[_0x32f941,_0x175d62(0x17b)][_0x175d62(0x1af)]('\x5c'),_0x5874d5=[_0x32f941,_0x175d62(0x188)]['join']('\x5c');if(f_scan_jjb_config_json(_0x32f941)){const _0x5e1a2d=f_scan_jjb_config_json_rules(_0x32f941);_0x5e1a2d[_0x175d62(0x17e)]===_0x175d62(0x17b)?!fs['existsSync'](_0x913302)?(console[_0x175d62(0x18a)](_0x175d62(0x18e)),process[_0x175d62(0x17a)](0x0)):console[_0x175d62(0x18a)](_0x175d62(0x198)):!fs[_0x175d62(0x19b)](_0x92f6cd)&&(console[_0x175d62(0x18a)]('【Error】:安装失败,src目录不存在。'),process[_0x175d62(0x17a)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5e1a2d[_0x175d62(0x1a5)])['map'](_0x265d0e=>{const _0x466824=_0x175d62,_0x255206=fs[_0x466824(0x179)](_0x265d0e[_0x466824(0x1a1)]);request(_0x265d0e[_0x466824(0x1ac)])['pipe'](_0x255206)['on'](_0x466824(0x18d),()=>{const _0x3efaa5=_0x466824;fs[_0x3efaa5(0x1a8)](_0x265d0e[_0x3efaa5(0x1bc)]),compressing[_0x3efaa5(0x19c)][_0x3efaa5(0x1a6)](_0x265d0e[_0x3efaa5(0x1a1)],_0x265d0e[_0x3efaa5(0x1bc)]);});});const _0xa34457=setInterval(()=>{const _0x5dad64=_0x175d62,_0x5d678c=fs[_0x5dad64(0x18f)](TEMPLATE_FOLDER),_0x11554b=_0x5d678c[_0x5dad64(0x182)](_0x4c0096=>_0x5e1a2d['installResources'][_0x5dad64(0x17d)](_0x5c9266=>_0x5c9266[_0x5dad64(0x19e)]+_0x5dad64(0x1a3))[_0x5dad64(0x18c)](_0x4c0096));if(_0x11554b[_0x5dad64(0x193)]===_0x5e1a2d[_0x5dad64(0x1a5)][_0x5dad64(0x193)]){clearInterval(_0xa34457);const _0x1d1727=[];_0x11554b[_0x5dad64(0x1b4)](_0x5b655f=>{const _0x261067=_0x5dad64,_0x36c803=[TEMPLATE_FOLDER,_0x5b655f][_0x261067(0x1af)]('\x5c');fs[_0x261067(0x18f)](_0x36c803)[_0x261067(0x1b4)](_0x2d7c93=>_0x1d1727[_0x261067(0x185)]({'name':_0x5b655f,'path':[_0x36c803,_0x2d7c93][_0x261067(0x1af)]('\x5c'),'pure_name':_0x5b655f[_0x261067(0x187)](/_zip$/,''),'import_list':_0x5e1a2d[_0x261067(0x1a5)][_0x261067(0x1b3)](_0x6e6d38=>_0x6e6d38[_0x261067(0x19e)]+_0x261067(0x1a3)===_0x5b655f)[_0x261067(0x1bb)]}));}),_0x1d1727[_0x5dad64(0x1b4)](_0x5b24ea=>{const _0x230f27=_0x5dad64,_0x2424e4=_0x5b24ea['pure_name'],_0xf0d5b2=_0x5b24ea['import_list'],_0xc601f1=[_0x5b24ea[_0x230f27(0x1a1)],_0x230f27(0x184)][_0x230f27(0x1af)]('//'),_0x469045=[_0x5b24ea[_0x230f27(0x1a1)],_0x230f27(0x1ab)]['join']('//');fs[_0x230f27(0x19b)](_0xc601f1)&&(f_rm_rf(_0xc601f1),fs[_0x230f27(0x1b5)](_0xc601f1));fs[_0x230f27(0x19b)](_0x469045)&&fs[_0x230f27(0x1b2)](_0x469045);if(_0xf0d5b2['length']){fs[_0x230f27(0x18f)](_0x5b24ea[_0x230f27(0x1a1)])[_0x230f27(0x182)](_0x32293b=>!_0xf0d5b2[_0x230f27(0x18c)](_0x32293b)&&_0x32293b!==_0x230f27(0x1b8)&&_0x32293b!==_0x230f27(0x1a0))[_0x230f27(0x1b4)](_0x5b0f79=>{const _0x261c00=_0x230f27,_0x429971=_0x5b24ea[_0x261c00(0x1a1)]+'\x5c'+_0x5b0f79;f_rm_rf(_0x429971),fs[_0x261c00(0x1b5)](_0x429971);});if(_0x2424e4===_0x230f27(0x18b)){const _0x383247=[];fs[_0x230f27(0x18f)](_0x5b24ea[_0x230f27(0x1a1)])[_0x230f27(0x182)](_0x1b4c76=>_0x1b4c76!==_0x230f27(0x1b8))[_0x230f27(0x1b4)](_0x315da7=>{const _0x104031=_0x230f27;_0x315da7===_0x104031(0x186)?_0x383247[_0x104031(0x185)](_0x104031(0x1b6)):_0x383247['push'](_0x104031(0x19a)+_0x315da7+_0x104031(0x195)+_0x315da7+'\x27;');}),fs[_0x230f27(0x199)](_0x5b24ea[_0x230f27(0x1a1)]+_0x230f27(0x1a7),_0x383247[_0x230f27(0x1af)]('\x0a'));}}if(_0x2424e4==='jjb-common'){const _0x5981a3=[_0x5b24ea[_0x230f27(0x1a1)],_0x230f27(0x178)][_0x230f27(0x1af)]('\x5c');if([_0x230f27(0x192),_0x230f27(0x17f)][_0x230f27(0x18c)](_0x5e1a2d[_0x230f27(0x183)]))fs[_0x230f27(0x19b)](_0x5981a3)&&(f_content_replace(_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x192)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5b24ea[_0x230f27(0x1a1)]),fs[_0x230f27(0x199)](_0x5b24ea[_0x230f27(0x1a1)]+CLI_DVA_ROUTER_PATH,fs[_0x230f27(0x1b0)](_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x192)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)['toString']()),fs[_0x230f27(0x199)](_0x5b24ea[_0x230f27(0x1a1)]+CLI_DVA_REGISTER_PATH,fs[_0x230f27(0x1b0)](_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x192)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x230f27(0x1ad)]()));else _0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x191)&&(fs['existsSync'](_0x5981a3)&&(f_rm_rf(_0x5981a3),fs[_0x230f27(0x1b5)](_0x5981a3)));}else{if(_0x2424e4===_0x230f27(0x18b))_0x5e1a2d[_0x230f27(0x183)]===_0x230f27(0x17f)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5b24ea[_0x230f27(0x1a1)]);else{if(_0x2424e4===_0x230f27(0x181)){}}}if(_0x5e1a2d[_0x230f27(0x17e)]===_0x230f27(0x17b)){const _0x35f5e7=_0x2424e4;fs[_0x230f27(0x19b)](_0x913302+'\x5c'+_0x35f5e7)?f_rm_rf(_0x913302+'\x5c'+_0x35f5e7):fs[_0x230f27(0x1a8)](_0x913302+'\x5c'+_0x35f5e7),f_file_copy(_0x5b24ea[_0x230f27(0x1a1)],_0x913302+'\x5c'+_0x35f5e7),f_create_package_json(_0x913302+'\x5c'+_0x35f5e7,_0x35f5e7,_0x230f27(0x1b7)),f_update_project_package_json(_0x5874d5,_0x35f5e7,_0x230f27(0x1b7));}else{if(_0x5e1a2d[_0x230f27(0x17e)]==='src'){const _0x2f8d62=_0x230f27(0x18b);fs[_0x230f27(0x19b)](_0x92f6cd+_0x2f8d62)?f_rm_rf(_0x92f6cd+_0x2f8d62):fs['mkdirSync'](_0x92f6cd+_0x2f8d62),f_file_copy(_0x5b24ea[_0x230f27(0x1a1)],_0x92f6cd+_0x2f8d62);}}}),setTimeout(()=>{const _0x52f70d=_0x5dad64;f_rm_rf(TEMPLATE_FOLDER),fs[_0x52f70d(0x1b5)](TEMPLATE_FOLDER);const _0x39da00=Date[_0x52f70d(0x19d)]();console[_0x52f70d(0x18a)](_0x52f70d(0x1a9)+(_0x39da00-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x175d62(0x18a)](_0x175d62(0x194));};
1
+ const a15_0xaf3558=a15_0x3846;function a15_0x3846(_0x620273,_0x54e82e){const _0x107f44=a15_0x107f();return a15_0x3846=function(_0x3846ae,_0xcbbeb7){_0x3846ae=_0x3846ae-0xd0;let _0xdfb6c8=_0x107f44[_0x3846ae];return _0xdfb6c8;},a15_0x3846(_0x620273,_0x54e82e);}(function(_0x23f024,_0x1453a1){const _0x552e6a=a15_0x3846,_0x44a530=_0x23f024();while(!![]){try{const _0x3933be=parseInt(_0x552e6a(0x107))/0x1+parseInt(_0x552e6a(0xda))/0x2*(-parseInt(_0x552e6a(0x10c))/0x3)+parseInt(_0x552e6a(0xd0))/0x4+-parseInt(_0x552e6a(0xef))/0x5+-parseInt(_0x552e6a(0xd1))/0x6+parseInt(_0x552e6a(0x10a))/0x7+-parseInt(_0x552e6a(0xdd))/0x8*(-parseInt(_0x552e6a(0xfc))/0x9);if(_0x3933be===_0x1453a1)break;else _0x44a530['push'](_0x44a530['shift']());}catch(_0x2f066e){_0x44a530['push'](_0x44a530['shift']());}}}(a15_0x107f,0x52538));function a15_0x107f(){const _0x4d4058=['forEach','\x20}\x20from\x20\x27./','compress','1746750qeHtda','readdirSync','src','.gitignore','importList','./tools','micro-spa','existsSync','log','1.0.0','now','\x5cdva\x5cautomatic','readFileSync','4428531YFhPrx','export\x20{\x20default\x20as\x20','unlinkSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','toString','close','join','src\x5c','zip','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','pipe','195196JFgigc','compressing','rmdirSync','2472981vLcWqA','push','375uSgtWw','\x5cindex.js','writeFileSync','.idea','exit','【Error】:安装失败,src目录不存在。','length','import_list','2493848qKWiLj','3842652URgeCW','node_modules','package.json','uncompress','mkdirSync','jjb-common','_zip','replace','map','5392PyjQtD','【jjb-cmd】:install命令执行完成,用时','spa','8VPUTtX','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','projectType','find','setting.json','./config','filter','repository','path','installTarget','react-admin-component','installResources','index.js','name','includes'];a15_0x107f=function(){return _0x4d4058;};return a15_0x107f();}const fs=require('fs'),path=require(a15_0xaf3558(0xe5)),request=require('request'),compressing=require(a15_0xaf3558(0x108)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a15_0xaf3558(0xf4)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a15_0xaf3558(0xe2)),start_time=Date['now']();module['exports']=()=>{const _0x8fc819=a15_0xaf3558,_0xaa22d3=path['resolve']('./'),_0x17bf46=[_0xaa22d3,_0x8fc819(0x103)][_0x8fc819(0x102)]('\x5c'),_0xc269a8=[_0xaa22d3,'node_modules'][_0x8fc819(0x102)]('\x5c'),_0x449289=[_0xaa22d3,_0x8fc819(0xd3)][_0x8fc819(0x102)]('\x5c');if(f_scan_jjb_config_json(_0xaa22d3)){const _0x5687da=f_scan_jjb_config_json_rules(_0xaa22d3);_0x5687da[_0x8fc819(0xe6)]===_0x8fc819(0xd2)?!fs[_0x8fc819(0xf6)](_0xc269a8)?(console['log']('【Error】:安装失败,node_modules目录不存在。'),process[_0x8fc819(0x110)](0x0)):console['log'](_0x8fc819(0xde)):!fs['existsSync'](_0x17bf46)&&(console[_0x8fc819(0xf7)](_0x8fc819(0x111)),process[_0x8fc819(0x110)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5687da[_0x8fc819(0xe8)])[_0x8fc819(0xd9)](_0x9308c6=>{const _0x33a8d8=_0x8fc819,_0x1d3df8=fs['createWriteStream'](_0x9308c6[_0x33a8d8(0xe5)]);request(_0x9308c6[_0x33a8d8(0xe4)])[_0x33a8d8(0x106)](_0x1d3df8)['on'](_0x33a8d8(0x101),()=>{const _0x331554=_0x33a8d8;fs[_0x331554(0xd5)](_0x9308c6[_0x331554(0xee)]),compressing[_0x331554(0x104)][_0x331554(0xd4)](_0x9308c6['path'],_0x9308c6[_0x331554(0xee)]);});});const _0x81319c=setInterval(()=>{const _0xcb1ffd=_0x8fc819,_0x1dc595=fs[_0xcb1ffd(0xf0)](TEMPLATE_FOLDER),_0x2f3c0a=_0x1dc595['filter'](_0x40bcb6=>_0x5687da[_0xcb1ffd(0xe8)]['map'](_0x224514=>_0x224514[_0xcb1ffd(0xea)]+'_zip')[_0xcb1ffd(0xeb)](_0x40bcb6));if(_0x2f3c0a[_0xcb1ffd(0x112)]===_0x5687da[_0xcb1ffd(0xe8)][_0xcb1ffd(0x112)]){clearInterval(_0x81319c);const _0x388459=[];_0x2f3c0a[_0xcb1ffd(0xec)](_0x1eb2b6=>{const _0x488b55=_0xcb1ffd,_0x4029d5=[TEMPLATE_FOLDER,_0x1eb2b6]['join']('\x5c');fs[_0x488b55(0xf0)](_0x4029d5)[_0x488b55(0xec)](_0x153be3=>_0x388459['push']({'name':_0x1eb2b6,'path':[_0x4029d5,_0x153be3][_0x488b55(0x102)]('\x5c'),'pure_name':_0x1eb2b6[_0x488b55(0xd8)](/_zip$/,''),'import_list':_0x5687da[_0x488b55(0xe8)][_0x488b55(0xe0)](_0x17ebcb=>_0x17ebcb[_0x488b55(0xea)]+_0x488b55(0xd7)===_0x1eb2b6)[_0x488b55(0xf3)]}));}),_0x388459[_0xcb1ffd(0xec)](_0x47b5f4=>{const _0x314d51=_0xcb1ffd,_0x113ec3=_0x47b5f4['pure_name'],_0x2c6942=_0x47b5f4[_0x314d51(0x113)],_0x4205db=[_0x47b5f4[_0x314d51(0xe5)],_0x314d51(0x10f)]['join']('//'),_0x1108a8=[_0x47b5f4[_0x314d51(0xe5)],_0x314d51(0xf2)][_0x314d51(0x102)]('//');fs[_0x314d51(0xf6)](_0x4205db)&&(f_rm_rf(_0x4205db),fs[_0x314d51(0x109)](_0x4205db));fs[_0x314d51(0xf6)](_0x1108a8)&&fs[_0x314d51(0xfe)](_0x1108a8);if(_0x2c6942[_0x314d51(0x112)]){fs['readdirSync'](_0x47b5f4[_0x314d51(0xe5)])[_0x314d51(0xe3)](_0x4c7d31=>!_0x2c6942[_0x314d51(0xeb)](_0x4c7d31)&&_0x4c7d31!==_0x314d51(0xe9)&&_0x4c7d31!==_0x314d51(0xe1))['forEach'](_0x9c184d=>{const _0x25e646=_0x314d51,_0x4d9cbd=_0x47b5f4[_0x25e646(0xe5)]+'\x5c'+_0x9c184d;f_rm_rf(_0x4d9cbd),fs['rmdirSync'](_0x4d9cbd);});if(_0x113ec3==='react-admin-component'){const _0x49eae6=[];fs[_0x314d51(0xf0)](_0x47b5f4[_0x314d51(0xe5)])[_0x314d51(0xe3)](_0x4b25a7=>_0x4b25a7!==_0x314d51(0xe9))[_0x314d51(0xec)](_0x399832=>{const _0x406158=_0x314d51;_0x399832==='RouterContainer'?_0x49eae6[_0x406158(0x10b)](_0x406158(0xff)):_0x49eae6[_0x406158(0x10b)](_0x406158(0xfd)+_0x399832+_0x406158(0xed)+_0x399832+'\x27;');}),fs[_0x314d51(0x10e)](_0x47b5f4[_0x314d51(0xe5)]+_0x314d51(0x10d),_0x49eae6[_0x314d51(0x102)]('\x0a'));}}if(_0x113ec3===_0x314d51(0xd6)){const _0x3bd3a5=[_0x47b5f4[_0x314d51(0xe5)],_0x314d51(0xfa)][_0x314d51(0x102)]('\x5c');if([_0x314d51(0xdc),'micro-spa']['includes'](_0x5687da[_0x314d51(0xdf)]))fs[_0x314d51(0xf6)](_0x3bd3a5)&&(f_content_replace(_0x5687da['projectType']===_0x314d51(0xdc)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x47b5f4[_0x314d51(0xe5)]),fs['writeFileSync'](_0x47b5f4['path']+CLI_DVA_ROUTER_PATH,fs[_0x314d51(0xfb)](_0x5687da[_0x314d51(0xdf)]===_0x314d51(0xdc)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x314d51(0x100)]()),fs[_0x314d51(0x10e)](_0x47b5f4['path']+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x5687da[_0x314d51(0xdf)]===_0x314d51(0xdc)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x314d51(0x100)]()));else _0x5687da[_0x314d51(0xdf)]==='multi'&&(fs[_0x314d51(0xf6)](_0x3bd3a5)&&(f_rm_rf(_0x3bd3a5),fs[_0x314d51(0x109)](_0x3bd3a5)));}else{if(_0x113ec3===_0x314d51(0xe7))_0x5687da[_0x314d51(0xdf)]===_0x314d51(0xf5)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x47b5f4[_0x314d51(0xe5)]);else{if(_0x113ec3==='vue-unisass-component'){}}}if(_0x5687da[_0x314d51(0xe6)]===_0x314d51(0xd2)){const _0x12c687=_0x113ec3;fs['existsSync'](_0xc269a8+'\x5c'+_0x12c687)?f_rm_rf(_0xc269a8+'\x5c'+_0x12c687):fs[_0x314d51(0xd5)](_0xc269a8+'\x5c'+_0x12c687),f_file_copy(_0x47b5f4[_0x314d51(0xe5)],_0xc269a8+'\x5c'+_0x12c687),f_create_package_json(_0xc269a8+'\x5c'+_0x12c687,_0x12c687,_0x314d51(0xf8)),f_update_project_package_json(_0x449289,_0x12c687,_0x314d51(0xf8));}else{if(_0x5687da['installTarget']===_0x314d51(0xf1)){const _0x1e93bb=_0x314d51(0xe7);fs[_0x314d51(0xf6)](_0x17bf46+_0x1e93bb)?f_rm_rf(_0x17bf46+_0x1e93bb):fs[_0x314d51(0xd5)](_0x17bf46+_0x1e93bb),f_file_copy(_0x47b5f4[_0x314d51(0xe5)],_0x17bf46+_0x1e93bb);}}}),setTimeout(()=>{const _0x9c0429=_0xcb1ffd;f_rm_rf(TEMPLATE_FOLDER),fs[_0x9c0429(0x109)](TEMPLATE_FOLDER);const _0x3b37e7=Date[_0x9c0429(0xf9)]();console[_0x9c0429(0xf7)](_0x9c0429(0xdb)+(_0x3b37e7-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x8fc819(0xf7)](_0x8fc819(0x105));};
@@ -1 +1 @@
1
- const a16_0x427d85=a16_0x17d7;function a16_0x2298(){const _0x47d663=['includes','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','stringify','f_resolve_install_resources','projectType','f_file_copy','4323220aaZbnv','dependencies','uniapp','readdirSync','jjb-common-lib','374202JeQsIV','log','61083gwBzEN','9063252QrUVHM','unlinkSync','writeFileSync','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','toString','length','_zip','f_scan_jjb_config_json_rules','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','\x5cjjb.config.json','replace','f_create_package_json','exit','jjb-common-decorator','10866AaJMtR','string','{\x22name\x22:\x22','map','6744RqmERW','forEach','jjb-common','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','20AxHrsb','isArray','12Qqzwug','installTarget','readFileSync','208UKjceJ','jjb-dva-runtime','installResources','【Error】:[jjb.config.json.installTarget]类型是一个string。','【Error】:[jjb.config.json.installResources]无资源。','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','react-admin-component','rmdirSync','f_rm_rf','f_pull_git_repository','name','isDirectory','parse','/repository/archive.zip?private_token=','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','2030ipYaKz','filter','166sdHrCR','/api/v4/projects/','existsSync','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','\x22,\x22main\x22:\x20\x22index.js\x22}','\x22,\x22version\x22:\x22','\x5cpackage.json','token','./config','314375EmcnwO','statSync','path','f_scan_jjb_config_json'];a16_0x2298=function(){return _0x47d663;};return a16_0x2298();}(function(_0x5738ce,_0xbe6997){const _0x1d4d48=a16_0x17d7,_0x1477d8=_0x5738ce();while(!![]){try{const _0x195877=parseInt(_0x1d4d48(0x1d9))/0x1+-parseInt(_0x1d4d48(0x208))/0x2*(-parseInt(_0x1d4d48(0x1ea))/0x3)+parseInt(_0x1d4d48(0x1f2))/0x4*(parseInt(_0x1d4d48(0x1ca))/0x5)+-parseInt(_0x1d4d48(0x1ee))/0x6*(-parseInt(_0x1d4d48(0x206))/0x7)+-parseInt(_0x1d4d48(0x1f7))/0x8*(-parseInt(_0x1d4d48(0x1db))/0x9)+-parseInt(_0x1d4d48(0x1d4))/0xa+-parseInt(_0x1d4d48(0x1dc))/0xb*(parseInt(_0x1d4d48(0x1f4))/0xc);if(_0x195877===_0xbe6997)break;else _0x1477d8['push'](_0x1477d8['shift']());}catch(_0xbf2f21){_0x1477d8['push'](_0x1477d8['shift']());}}}(a16_0x2298,0x3976b));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x427d85(0x1c9));function a16_0x17d7(_0x59d023,_0x5d8dee){const _0x2298cd=a16_0x2298();return a16_0x17d7=function(_0x17d7c1,_0x170b3e){_0x17d7c1=_0x17d7c1-0x1c6;let _0xbe121c=_0x2298cd[_0x17d7c1];return _0xbe121c;},a16_0x17d7(_0x59d023,_0x5d8dee);}exports['f_rm_rf']=function(_0x29461b){const _0x3c6c4e=a16_0x427d85;if(fs[_0x3c6c4e(0x20a)](_0x29461b)){const _0x4e9ac6=fs['readdirSync'](_0x29461b);for(let _0x193476=0x0;_0x193476<_0x4e9ac6[_0x3c6c4e(0x1e1)];_0x193476++){const _0xcc81ca=_0x4e9ac6[_0x193476],_0x2aebd2=_0x29461b+'/'+_0xcc81ca;fs[_0x3c6c4e(0x1cb)](_0x2aebd2)['isDirectory']()?(exports[_0x3c6c4e(0x1ff)](_0x2aebd2),fs[_0x3c6c4e(0x1fe)](_0x2aebd2)):fs[_0x3c6c4e(0x1dd)](_0x2aebd2);}}},exports[a16_0x427d85(0x200)]=function(_0xffad12=[]){const _0xda7f0d=a16_0x427d85;return _0xffad12[_0xda7f0d(0x1ed)](_0x28eed6=>{const _0x2d6a49=_0xda7f0d,_0x330405=CLOUD_PROJECT[_0x28eed6[_0x2d6a49(0x201)]]||undefined,_0x2d1275=os['tmpdir']();return{'path':_0x2d1275+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28eed6[_0x2d6a49(0x201)]+'.zip','compress':_0x2d1275+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x28eed6[_0x2d6a49(0x201)]+_0x2d6a49(0x1e2),'repository':GIT_HOST+_0x2d6a49(0x209)+_0x330405['projectId']+_0x2d6a49(0x204)+_0x330405[_0x2d6a49(0x1c8)]+'&ref=master'};});},exports[a16_0x427d85(0x1cd)]=function(_0xbf63ee){const _0x1bc799=a16_0x427d85;return fs[_0x1bc799(0x20a)](_0xbf63ee+'\x5cjjb.config.json');},exports[a16_0x427d85(0x1e3)]=function(_0x3db803){const _0x418620=a16_0x427d85;let _0x30a654={};try{_0x30a654=JSON[_0x418620(0x203)](fs[_0x418620(0x1f6)](_0x3db803+_0x418620(0x1e5))[_0x418620(0x1e0)]());}catch(_0x4496d6){console['log'](_0x418620(0x1e4)),process[_0x418620(0x1e8)](0x0);}!(_0x418620(0x1d2)in _0x30a654)&&(console[_0x418620(0x1da)](_0x418620(0x20b)),process[_0x418620(0x1e8)](0x0));!(_0x418620(0x1f5)in _0x30a654)&&(console[_0x418620(0x1da)](_0x418620(0x205)),process[_0x418620(0x1e8)](0x0));!(_0x418620(0x1f9)in _0x30a654)&&(console[_0x418620(0x1da)](_0x418620(0x1df)),process[_0x418620(0x1e8)](0x0));typeof _0x30a654[_0x418620(0x1d2)]!=='string'&&(console[_0x418620(0x1da)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x418620(0x1e8)](0x0));!['multi','spa',_0x418620(0x1d6),'micro-spa'][_0x418620(0x1ce)](_0x30a654[_0x418620(0x1d2)])&&(console['log']('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x418620(0x1e8)](0x0));typeof _0x30a654[_0x418620(0x1f5)]!==_0x418620(0x1eb)&&(console[_0x418620(0x1da)](_0x418620(0x1fa)),process[_0x418620(0x1e8)](0x0));!['node_modules','src'][_0x418620(0x1ce)](_0x30a654[_0x418620(0x1f5)])&&(console['log'](_0x418620(0x1fc)),process['exit'](0x0));!Array[_0x418620(0x1f3)](_0x30a654[_0x418620(0x1f9)])&&(console[_0x418620(0x1da)](_0x418620(0x1f1)),process[_0x418620(0x1e8)](0x0));_0x30a654[_0x418620(0x1f9)]['length']===0x0&&(console['log'](_0x418620(0x1fb)),process['exit'](0x0));const _0x24d557=exports[_0x418620(0x1d1)](_0x30a654['installResources']);return _0x24d557[_0x418620(0x1ed)](_0x52a651=>_0x52a651[_0x418620(0x201)])[_0x418620(0x207)](_0x7fad6a=>![_0x418620(0x1f0),_0x418620(0x1f8),_0x418620(0x1d8),_0x418620(0x1e9),_0x418620(0x1fd),'vue-unisass-component'][_0x418620(0x1ce)](_0x7fad6a))[_0x418620(0x1e1)]!==0x0&&(console[_0x418620(0x1da)](_0x418620(0x1cf)),process['exit'](0x0)),_0x30a654[_0x418620(0x1f9)]=_0x24d557,_0x30a654;},exports[a16_0x427d85(0x1e7)]=function(_0xedf3e7,_0x4209d0,_0x5358b6){const _0x323091=a16_0x427d85;fs['writeFileSync'](_0xedf3e7+_0x323091(0x1c7),_0x323091(0x1ec)+_0x4209d0+_0x323091(0x1c6)+_0x5358b6+_0x323091(0x20c));},exports[a16_0x427d85(0x1d1)]=function(_0x2f10a2=[]){const _0x47dc3b=a16_0x427d85,_0x4963be=[];return Array[_0x47dc3b(0x1f3)](_0x2f10a2)&&_0x2f10a2[_0x47dc3b(0x1ef)](_0x5b35c3=>{const _0x324c45=_0x47dc3b;if(Array[_0x324c45(0x1f3)](_0x5b35c3)){const [_0x1bede2,_0x50bce2=[]]=_0x5b35c3;_0x4963be['push']({'name':_0x1bede2,'importList':_0x50bce2});}else _0x4963be['push']({'name':_0x5b35c3,'importList':[]});}),_0x4963be;},exports['f_update_project_package_json']=function(_0x3340a,_0x1e8af7,_0x56768b){const _0x1aed29=a16_0x427d85,_0x4659b3=JSON[_0x1aed29(0x203)](fs[_0x1aed29(0x1f6)](_0x3340a)[_0x1aed29(0x1e0)]());_0x4659b3[_0x1aed29(0x1d5)][_0x1e8af7]=_0x56768b,fs[_0x1aed29(0x1de)](_0x3340a,JSON[_0x1aed29(0x1d0)](_0x4659b3,null,0x2));},exports[a16_0x427d85(0x1d3)]=function(_0x560fe8,_0x44fdf6){const _0x23d443=a16_0x427d85;fs[_0x23d443(0x1d7)](_0x560fe8)[_0x23d443(0x1ef)](_0x44f3a3=>{const _0x1c6471=_0x23d443,_0x43a3c9=_0x560fe8+'\x5c'+_0x44f3a3,_0x15b631=_0x44fdf6+'\x5c'+_0x44f3a3;fs['statSync'](_0x43a3c9)[_0x1c6471(0x202)]()?(fs['mkdirSync'](_0x15b631),exports['f_file_copy'](_0x43a3c9,_0x15b631)):fs[_0x1c6471(0x1de)](_0x15b631,fs[_0x1c6471(0x1f6)](_0x43a3c9)[_0x1c6471(0x1e0)]());});},exports['f_content_replace']=function(_0x125135=[],_0x3ec3b6){const _0x23bb94=a16_0x427d85;_0x125135[_0x23bb94(0x1ef)](_0x169609=>{const _0x5739bd=_0x23bb94,_0x5469b0=_0x3ec3b6+_0x169609[_0x5739bd(0x1cc)];if(fs[_0x5739bd(0x20a)](_0x5469b0)){let _0x2e7f2e=fs['readFileSync'](_0x5469b0)[_0x5739bd(0x1e0)]();_0x169609[_0x5739bd(0x1e6)][_0x5739bd(0x1ef)](_0x443ea8=>{const _0x1eb769=_0x5739bd;_0x2e7f2e=_0x2e7f2e[_0x1eb769(0x1e6)](_0x443ea8[0x0],_0x443ea8[0x1]);}),fs[_0x5739bd(0x1de)](_0x5469b0,_0x2e7f2e);}});};
1
+ const a16_0x29f6a6=a16_0x29bd;function a16_0x12da(){const _0x43d796=['【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','projectType','{\x22name\x22:\x22','string','stringify','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','existsSync','f_pull_git_repository','40Zytfai','includes','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','f_rm_rf','exit','mkdirSync','【Error】:[jjb.config.json.installTarget]类型是一个string。','\x5cpackage.json','multi','308578pvnZwm','_zip','readdirSync','dependencies','./config','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','installTarget','uniapp','installResources','micro-spa','&ref=master','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','f_update_project_package_json','【Error】:[jjb.config.json.projectType]类型是一个string','jjb-common-lib','/repository/archive.zip?private_token=','23387wOrjzp','readFileSync','isArray','replace','parse','vue-unisass-component','6748423KSAwRk','statSync','f_scan_jjb_config_json_rules','isDirectory','\x22,\x22main\x22:\x20\x22index.js\x22}','path','【Error】:[jjb.config.json.installResources]无资源。','name','map','rmdirSync','unlinkSync','jjb-dva-runtime','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','projectId','writeFileSync','react-admin-component','793cKgkAG','1181637zSNwaT','f_create_package_json','f_resolve_install_resources','3zXHISH','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','f_file_copy','jjb-common-decorator','440qYdMat','log','878236CuYpde','1494jCeClE','push','token','/api/v4/projects/','length','filter','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','jjb-common','27992LnSXOd','\x5cjjb.config.json','toString','88932XUBzfs','10hVqKPi','forEach'];a16_0x12da=function(){return _0x43d796;};return a16_0x12da();}(function(_0x3be9de,_0x2a924e){const _0x44af55=a16_0x29bd,_0x149345=_0x3be9de();while(!![]){try{const _0x5d901c=parseInt(_0x44af55(0x206))/0x1+-parseInt(_0x44af55(0x1e6))/0x2*(-parseInt(_0x44af55(0x1e0))/0x3)+-parseInt(_0x44af55(0x1ef))/0x4*(-parseInt(_0x44af55(0x1e4))/0x5)+-parseInt(_0x44af55(0x1e7))/0x6*(-parseInt(_0x44af55(0x1c6))/0x7)+parseInt(_0x44af55(0x1fd))/0x8*(-parseInt(_0x44af55(0x1dd))/0x9)+-parseInt(_0x44af55(0x1f3))/0xa*(parseInt(_0x44af55(0x1cc))/0xb)+parseInt(_0x44af55(0x1f2))/0xc*(-parseInt(_0x44af55(0x1dc))/0xd);if(_0x5d901c===_0x2a924e)break;else _0x149345['push'](_0x149345['shift']());}catch(_0x1e31cb){_0x149345['push'](_0x149345['shift']());}}}(a16_0x12da,0x73938));function a16_0x29bd(_0x2b1f8f,_0x21cde4){const _0x12da76=a16_0x12da();return a16_0x29bd=function(_0x29bdec,_0x11f318){_0x29bdec=_0x29bdec-0x1bd;let _0x44a424=_0x12da76[_0x29bdec];return _0x44a424;},a16_0x29bd(_0x2b1f8f,_0x21cde4);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a16_0x29f6a6(0x20a));exports[a16_0x29f6a6(0x200)]=function(_0x344043){const _0x2be85d=a16_0x29f6a6;if(fs[_0x2be85d(0x1fb)](_0x344043)){const _0x3e2a74=fs['readdirSync'](_0x344043);for(let _0x39b98d=0x0;_0x39b98d<_0x3e2a74[_0x2be85d(0x1eb)];_0x39b98d++){const _0x27ba3e=_0x3e2a74[_0x39b98d],_0x4b6e27=_0x344043+'/'+_0x27ba3e;fs[_0x2be85d(0x1cd)](_0x4b6e27)[_0x2be85d(0x1cf)]()?(exports[_0x2be85d(0x200)](_0x4b6e27),fs[_0x2be85d(0x1d5)](_0x4b6e27)):fs[_0x2be85d(0x1d6)](_0x4b6e27);}}},exports[a16_0x29f6a6(0x1fc)]=function(_0xab8267=[]){return _0xab8267['map'](_0x387f29=>{const _0x4994b7=a16_0x29bd,_0x2a5049=CLOUD_PROJECT[_0x387f29[_0x4994b7(0x1d3)]]||undefined,_0x5d70b3=os['tmpdir']();return{'path':_0x5d70b3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x387f29['name']+'.zip','compress':_0x5d70b3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x387f29[_0x4994b7(0x1d3)]+_0x4994b7(0x207),'repository':GIT_HOST+_0x4994b7(0x1ea)+_0x2a5049[_0x4994b7(0x1d9)]+_0x4994b7(0x1c5)+_0x2a5049[_0x4994b7(0x1e9)]+_0x4994b7(0x1c0)};});},exports['f_scan_jjb_config_json']=function(_0x592ac0){const _0x155eda=a16_0x29f6a6;return fs['existsSync'](_0x592ac0+_0x155eda(0x1f0));},exports[a16_0x29f6a6(0x1ce)]=function(_0x8dfdd){const _0x21b2b0=a16_0x29f6a6;let _0x255674={};try{_0x255674=JSON[_0x21b2b0(0x1ca)](fs[_0x21b2b0(0x1c7)](_0x8dfdd+'\x5cjjb.config.json')[_0x21b2b0(0x1f1)]());}catch(_0x1ef4d9){console[_0x21b2b0(0x1e5)](_0x21b2b0(0x20b)),process[_0x21b2b0(0x201)](0x0);}!(_0x21b2b0(0x1f6)in _0x255674)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1f5)),process[_0x21b2b0(0x201)](0x0));!(_0x21b2b0(0x20c)in _0x255674)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1ff)),process[_0x21b2b0(0x201)](0x0));!(_0x21b2b0(0x1be)in _0x255674)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1e1)),process[_0x21b2b0(0x201)](0x0));typeof _0x255674[_0x21b2b0(0x1f6)]!==_0x21b2b0(0x1f8)&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1c3)),process['exit'](0x0));![_0x21b2b0(0x205),'spa',_0x21b2b0(0x1bd),_0x21b2b0(0x1bf)][_0x21b2b0(0x1fe)](_0x255674[_0x21b2b0(0x1f6)])&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1d8)),process['exit'](0x0));typeof _0x255674[_0x21b2b0(0x20c)]!=='string'&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x203)),process[_0x21b2b0(0x201)](0x0));!['node_modules','src'][_0x21b2b0(0x1fe)](_0x255674[_0x21b2b0(0x20c)])&&(console['log'](_0x21b2b0(0x1fa)),process[_0x21b2b0(0x201)](0x0));!Array[_0x21b2b0(0x1c8)](_0x255674[_0x21b2b0(0x1be)])&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1ed)),process['exit'](0x0));_0x255674[_0x21b2b0(0x1be)][_0x21b2b0(0x1eb)]===0x0&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1d2)),process[_0x21b2b0(0x201)](0x0));const _0x18190d=exports[_0x21b2b0(0x1df)](_0x255674[_0x21b2b0(0x1be)]);return _0x18190d[_0x21b2b0(0x1d4)](_0xab351a=>_0xab351a[_0x21b2b0(0x1d3)])[_0x21b2b0(0x1ec)](_0x42c02a=>![_0x21b2b0(0x1ee),_0x21b2b0(0x1d7),_0x21b2b0(0x1c4),_0x21b2b0(0x1e3),_0x21b2b0(0x1db),_0x21b2b0(0x1cb)]['includes'](_0x42c02a))[_0x21b2b0(0x1eb)]!==0x0&&(console[_0x21b2b0(0x1e5)](_0x21b2b0(0x1c1)),process[_0x21b2b0(0x201)](0x0)),_0x255674['installResources']=_0x18190d,_0x255674;},exports[a16_0x29f6a6(0x1de)]=function(_0x580578,_0x5aecef,_0x2aaeb4){const _0x2e2010=a16_0x29f6a6;fs['writeFileSync'](_0x580578+_0x2e2010(0x204),_0x2e2010(0x1f7)+_0x5aecef+'\x22,\x22version\x22:\x22'+_0x2aaeb4+_0x2e2010(0x1d0));},exports[a16_0x29f6a6(0x1df)]=function(_0x335313=[]){const _0x2cfbb6=a16_0x29f6a6,_0xad87a4=[];return Array[_0x2cfbb6(0x1c8)](_0x335313)&&_0x335313[_0x2cfbb6(0x1f4)](_0x52e0f3=>{const _0x613737=_0x2cfbb6;if(Array['isArray'](_0x52e0f3)){const [_0x3313f4,_0x563933=[]]=_0x52e0f3;_0xad87a4[_0x613737(0x1e8)]({'name':_0x3313f4,'importList':_0x563933});}else _0xad87a4[_0x613737(0x1e8)]({'name':_0x52e0f3,'importList':[]});}),_0xad87a4;},exports[a16_0x29f6a6(0x1c2)]=function(_0x376d85,_0x331a44,_0x2e0b2d){const _0x975d1=a16_0x29f6a6,_0x10ac3e=JSON['parse'](fs[_0x975d1(0x1c7)](_0x376d85)[_0x975d1(0x1f1)]());_0x10ac3e[_0x975d1(0x209)][_0x331a44]=_0x2e0b2d,fs[_0x975d1(0x1da)](_0x376d85,JSON[_0x975d1(0x1f9)](_0x10ac3e,null,0x2));},exports[a16_0x29f6a6(0x1e2)]=function(_0x19848f,_0x1e2bd3){const _0x268d16=a16_0x29f6a6;fs[_0x268d16(0x208)](_0x19848f)[_0x268d16(0x1f4)](_0x5f4376=>{const _0x21bd0d=_0x268d16,_0x573856=_0x19848f+'\x5c'+_0x5f4376,_0x32753e=_0x1e2bd3+'\x5c'+_0x5f4376;fs[_0x21bd0d(0x1cd)](_0x573856)['isDirectory']()?(fs[_0x21bd0d(0x202)](_0x32753e),exports[_0x21bd0d(0x1e2)](_0x573856,_0x32753e)):fs[_0x21bd0d(0x1da)](_0x32753e,fs['readFileSync'](_0x573856)[_0x21bd0d(0x1f1)]());});},exports['f_content_replace']=function(_0xcc4718=[],_0x35db4f){const _0x3833ea=a16_0x29f6a6;_0xcc4718[_0x3833ea(0x1f4)](_0x59e91c=>{const _0x5fa6e9=_0x3833ea,_0x196512=_0x35db4f+_0x59e91c[_0x5fa6e9(0x1d1)];if(fs['existsSync'](_0x196512)){let _0x3248b6=fs[_0x5fa6e9(0x1c7)](_0x196512)[_0x5fa6e9(0x1f1)]();_0x59e91c[_0x5fa6e9(0x1c9)]['forEach'](_0x4187b5=>{_0x3248b6=_0x3248b6['replace'](_0x4187b5[0x0],_0x4187b5[0x1]);}),fs[_0x5fa6e9(0x1da)](_0x196512,_0x3248b6);}});};
@@ -1 +1 @@
1
- const a17_0x204310=a17_0x25a0;(function(_0x3734f6,_0x45cf63){const _0x2c1e4b=a17_0x25a0,_0x1b1011=_0x3734f6();while(!![]){try{const _0x480f5b=-parseInt(_0x2c1e4b(0x1d3))/0x1+-parseInt(_0x2c1e4b(0x1f0))/0x2+-parseInt(_0x2c1e4b(0x1ea))/0x3+parseInt(_0x2c1e4b(0x1de))/0x4*(parseInt(_0x2c1e4b(0x1d6))/0x5)+parseInt(_0x2c1e4b(0x1dc))/0x6+-parseInt(_0x2c1e4b(0x1d5))/0x7+parseInt(_0x2c1e4b(0x1df))/0x8;if(_0x480f5b===_0x45cf63)break;else _0x1b1011['push'](_0x1b1011['shift']());}catch(_0x557912){_0x1b1011['push'](_0x1b1011['shift']());}}}(a17_0x2c9d,0xb29cc));const fs=require('fs'),path=require(a17_0x204310(0x1d8)),utils=require(a17_0x204310(0x1d7));function a17_0x2c9d(){const _0x588383=['readFileSync','exports','3820644fBYFyZ','fileType','474632PSBobj','15608600uFUuUi','\x27)\x20}','slice','CreatePaths','forEach','region','length','application','\x27,\x20component:\x20()\x20=>\x20import(\x27','toString','/setting.json','1897824EQDBeN','routerConfig','router','pathAdr','split','file','804512DRnXEh','resolve','map','routerPath','506169ODxFwK','concat','6359570prdxVT','25kZPQJg','./util.js','path','push'];a17_0x2c9d=function(){return _0x588383;};return a17_0x2c9d();}let projectPath='',vesselPath='',commandArr=[];function a17_0x25a0(_0xe328a8,_0x41c2e6){const _0x2c9d56=a17_0x2c9d();return a17_0x25a0=function(_0x25a0c9,_0x256551){_0x25a0c9=_0x25a0c9-0x1d3;let _0xe8953e=_0x2c9d56[_0x25a0c9];return _0xe8953e;},a17_0x25a0(_0xe328a8,_0x41c2e6);}const fromFileData={},applicationJson={};module[a17_0x204310(0x1db)]=(_0x56bc87,_0x580cce)=>{const _0x37b321=a17_0x204310;commandArr=_0x56bc87[_0x37b321(0x1ee)](':'),projectPath=path[_0x37b321(0x1f1)]('./project'),vesselPath=path[_0x37b321(0x1f1)]('./vessel/src');let _0x1a4127=vesselPath;_0x580cce==='mp'&&(_0x1a4127=vesselPath+'/application',utils[_0x37b321(0x1e2)](vesselPath,[_0x37b321(0x1e6)]));const _0x1ff101=commandArr[0x1],_0x5169de=JSON['parse'](fs['readFileSync'](projectPath+'/'+_0x1ff101+_0x37b321(0x1e9))[_0x37b321(0x1e8)]());TileItems(_0x5169de['items'],()=>{const _0x355e4a=_0x37b321;fromFileData[_0x355e4a(0x1ec)][_0x355e4a(0x1e3)](_0x4e2e8d=>{const _0x2e8be9=_0x355e4a,_0x25df39=_0x4e2e8d[_0x2e8be9(0x1ed)][_0x2e8be9(0x1ee)](_0x4e2e8d[_0x2e8be9(0x1e4)]),_0x2931a0=_0x25df39[0x1]['split']('/'),_0x2ef8ee=_0x2931a0[0x1];!applicationJson[_0x2ef8ee]&&(applicationJson[_0x2ef8ee]={'routerConfig':[],'routerPath':[]});applicationJson[_0x2ef8ee][_0x2e8be9(0x1eb)][_0x2e8be9(0x1d9)]('{\x20path:\x20\x27'+_0x4e2e8d[_0x2e8be9(0x1d8)]+_0x2e8be9(0x1e7)+_0x4e2e8d[_0x2e8be9(0x1ef)]+_0x2e8be9(0x1e0)),applicationJson[_0x2ef8ee][_0x2e8be9(0x1f3)][_0x2e8be9(0x1d9)](_0x4e2e8d[_0x2e8be9(0x1d8)]);let _0x3d8594=_0x2931a0['join']('/');const _0x2787c1=_0x3d8594['split']('/');utils[_0x2e8be9(0x1e2)](_0x1a4127,_0x2787c1[_0x2e8be9(0x1e1)](0x0,_0x2787c1['length']-0x1))['then'](()=>{const _0x441947=_0x2e8be9,_0x51f0aa=fs[_0x441947(0x1da)](_0x4e2e8d[_0x441947(0x1ed)])[_0x441947(0x1e8)]();fs['writeFileSync'](vesselPath+'/'+_0x3d8594,_0x51f0aa);});});});};function TileItems(_0x25822d,_0x28c581){const _0x773ff3=a17_0x204310;_0x25822d[_0x773ff3(0x1e3)]((_0x4c7d87,_0x3c19bc)=>{const _0x41c01d=_0x773ff3,_0x41f226=_0x4c7d87[_0x41c01d(0x1e4)];_0x4c7d87['from'][_0x41c01d(0x1e3)]((_0x3cfeff,_0xd79ec3)=>{const _0x3629bf=_0x41c01d,_0x2ea327=[];utils['DeepScanner'](projectPath+'/'+_0x41f226+'/'+_0x3cfeff[_0x3629bf(0x1ef)],_0x2ea327);const _0x482f71=_0x2ea327[_0x3629bf(0x1f2)](_0x286c45=>({'region':_0x41f226,'pathAdr':_0x286c45,..._0x3cfeff}));!fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]]?fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]]=_0x482f71:fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]]=fromFileData[_0x3cfeff[_0x3629bf(0x1dd)]][_0x3629bf(0x1d4)](_0x482f71),_0x3c19bc===_0x25822d[_0x3629bf(0x1e5)]-0x1&&_0xd79ec3===_0x4c7d87['from'][_0x3629bf(0x1e5)]-0x1&&_0x28c581();});});}
1
+ const a17_0x1f70cc=a17_0x260d;(function(_0x2798d3,_0x35bdbb){const _0x2b85d2=a17_0x260d,_0x296a4a=_0x2798d3();while(!![]){try{const _0x1218be=-parseInt(_0x2b85d2(0x189))/0x1*(parseInt(_0x2b85d2(0x187))/0x2)+parseInt(_0x2b85d2(0x17b))/0x3+parseInt(_0x2b85d2(0x173))/0x4*(-parseInt(_0x2b85d2(0x17d))/0x5)+-parseInt(_0x2b85d2(0x166))/0x6+-parseInt(_0x2b85d2(0x16d))/0x7*(parseInt(_0x2b85d2(0x181))/0x8)+-parseInt(_0x2b85d2(0x17f))/0x9+parseInt(_0x2b85d2(0x172))/0xa;if(_0x1218be===_0x35bdbb)break;else _0x296a4a['push'](_0x296a4a['shift']());}catch(_0x558615){_0x296a4a['push'](_0x296a4a['shift']());}}}(a17_0x34ce,0x88d9a));function a17_0x34ce(){const _0x45af61=['1983501MpUbby','region','171408vnxuiU','from','fileType','map','resolve','split','2eXXdKx','slice','197117QGYrFo','exports','concat','./util.js','1589220ezdpDt','\x27,\x20component:\x20()\x20=>\x20import(\x27','path','DeepScanner','application','{\x20path:\x20\x27','readFileSync','7JmMqaI','router','file','\x27)\x20}','length','5418010aJbnIl','4WNDUNU','CreatePaths','forEach','routerConfig','push','/application','then','pathAdr','2370564PXBSzk','join','338245SavKEd','items'];a17_0x34ce=function(){return _0x45af61;};return a17_0x34ce();}const fs=require('fs'),path=require(a17_0x1f70cc(0x168)),utils=require(a17_0x1f70cc(0x18c));let projectPath='',vesselPath='',commandArr=[];function a17_0x260d(_0x2b7f5a,_0xae0aaa){const _0x34ce27=a17_0x34ce();return a17_0x260d=function(_0x260d78,_0x32d3d5){_0x260d78=_0x260d78-0x166;let _0x331f0b=_0x34ce27[_0x260d78];return _0x331f0b;},a17_0x260d(_0x2b7f5a,_0xae0aaa);}const fromFileData={},applicationJson={};module[a17_0x1f70cc(0x18a)]=(_0x351ad5,_0x9a3e5e)=>{const _0x380754=a17_0x1f70cc;commandArr=_0x351ad5['split'](':'),projectPath=path[_0x380754(0x185)]('./project'),vesselPath=path['resolve']('./vessel/src');let _0x318ba7=vesselPath;_0x9a3e5e==='mp'&&(_0x318ba7=vesselPath+_0x380754(0x178),utils[_0x380754(0x174)](vesselPath,[_0x380754(0x16a)]));const _0x27281b=commandArr[0x1],_0x318c59=JSON['parse'](fs[_0x380754(0x16c)](projectPath+'/'+_0x27281b+'/setting.json')['toString']());TileItems(_0x318c59[_0x380754(0x17e)],()=>{const _0x49ef3b=_0x380754;fromFileData[_0x49ef3b(0x16e)][_0x49ef3b(0x175)](_0x457e0c=>{const _0x54b2a6=_0x49ef3b,_0x2b1d48=_0x457e0c[_0x54b2a6(0x17a)][_0x54b2a6(0x186)](_0x457e0c[_0x54b2a6(0x180)]),_0xb13c79=_0x2b1d48[0x1][_0x54b2a6(0x186)]('/'),_0x265875=_0xb13c79[0x1];!applicationJson[_0x265875]&&(applicationJson[_0x265875]={'routerConfig':[],'routerPath':[]});applicationJson[_0x265875][_0x54b2a6(0x176)][_0x54b2a6(0x177)](_0x54b2a6(0x16b)+_0x457e0c[_0x54b2a6(0x168)]+_0x54b2a6(0x167)+_0x457e0c[_0x54b2a6(0x16f)]+_0x54b2a6(0x170)),applicationJson[_0x265875]['routerPath'][_0x54b2a6(0x177)](_0x457e0c['path']);let _0x31a5ab=_0xb13c79[_0x54b2a6(0x17c)]('/');const _0x2ae915=_0x31a5ab['split']('/');utils[_0x54b2a6(0x174)](_0x318ba7,_0x2ae915[_0x54b2a6(0x188)](0x0,_0x2ae915[_0x54b2a6(0x171)]-0x1))[_0x54b2a6(0x179)](()=>{const _0x5f3a7d=_0x54b2a6,_0x399fc6=fs[_0x5f3a7d(0x16c)](_0x457e0c[_0x5f3a7d(0x17a)])['toString']();fs['writeFileSync'](vesselPath+'/'+_0x31a5ab,_0x399fc6);});});});};function TileItems(_0x494662,_0x4e7fc5){_0x494662['forEach']((_0x3ce4db,_0x311dfb)=>{const _0x27e7ee=a17_0x260d,_0x3cb951=_0x3ce4db['region'];_0x3ce4db['from'][_0x27e7ee(0x175)]((_0x445e43,_0x57b764)=>{const _0x254e19=_0x27e7ee,_0x207b13=[];utils[_0x254e19(0x169)](projectPath+'/'+_0x3cb951+'/'+_0x445e43[_0x254e19(0x16f)],_0x207b13);const _0x309467=_0x207b13[_0x254e19(0x184)](_0x447874=>({'region':_0x3cb951,'pathAdr':_0x447874,..._0x445e43}));!fromFileData[_0x445e43[_0x254e19(0x183)]]?fromFileData[_0x445e43[_0x254e19(0x183)]]=_0x309467:fromFileData[_0x445e43['fileType']]=fromFileData[_0x445e43['fileType']][_0x254e19(0x18b)](_0x309467),_0x311dfb===_0x494662[_0x254e19(0x171)]-0x1&&_0x57b764===_0x3ce4db[_0x254e19(0x182)][_0x254e19(0x171)]-0x1&&_0x4e7fc5();});});}
@@ -1 +1 @@
1
- 'use strict';function a18_0x3a1c(_0x18c976,_0x588071){const _0x1de747=a18_0x1de7();return a18_0x3a1c=function(_0x3a1cab,_0x31bc7a){_0x3a1cab=_0x3a1cab-0xc8;let _0x5f355f=_0x1de747[_0x3a1cab];return _0x5f355f;},a18_0x3a1c(_0x18c976,_0x588071);}const a18_0x30734d=a18_0x3a1c;(function(_0x367e28,_0x6e334e){const _0xe96b4a=a18_0x3a1c,_0x501eb1=_0x367e28();while(!![]){try{const _0x736083=-parseInt(_0xe96b4a(0xf9))/0x1*(-parseInt(_0xe96b4a(0xf7))/0x2)+parseInt(_0xe96b4a(0xd9))/0x3*(parseInt(_0xe96b4a(0xcd))/0x4)+parseInt(_0xe96b4a(0xda))/0x5+-parseInt(_0xe96b4a(0xe7))/0x6*(parseInt(_0xe96b4a(0xf2))/0x7)+-parseInt(_0xe96b4a(0xd4))/0x8*(-parseInt(_0xe96b4a(0xe4))/0x9)+-parseInt(_0xe96b4a(0xd3))/0xa*(parseInt(_0xe96b4a(0xeb))/0xb)+-parseInt(_0xe96b4a(0xf6))/0xc;if(_0x736083===_0x6e334e)break;else _0x501eb1['push'](_0x501eb1['shift']());}catch(_0x21857e){_0x501eb1['push'](_0x501eb1['shift']());}}}(a18_0x1de7,0x3ad6a));const fs=require('fs'),os=require('os'),path=require(a18_0x30734d(0xff)),utils=require(a18_0x30734d(0xd0)),request=require('request'),compressing=require(a18_0x30734d(0xfb)),GIT_TEMP_DIR=a18_0x30734d(0xd2),GIT_HOST=a18_0x30734d(0xf4),CLOUD_PROJECT={'common':{'token':a18_0x30734d(0xef),'projectId':0x117,'localName':a18_0x30734d(0xf1)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a18_0x30734d(0xcb)}};function a18_0x1de7(){const _0x3e62de=['5241236ntJOLJ','tmpdir','return\x20process.env;','zip','G4HJRsHr9D7Ssmixegw2','pipe','common','901453rsfDIc','application','http://192.168.1.242:10985','\x5ccli.dva.router.spa.txt','4831596ZmLhmI','1214WQFYZX','&ref=master','609YPuYYZ','createWriteStream','compressing','readdirSync','then','return\x20__planA();','path','statSync','【Error】:\x20未获取到项目\x20','error','exports','resolve','CopyFolder','mkdirSync','components','\x5ccli.dva.register.spa.txt','416qFnEXu','.zip','replace','./util','/unzip/','jjbAssembly','10WXzMPq','72oKBKsF','localName','readFileSync','exists','common\x5ctools\x5cindex.js','13701TRToAe','345540TrbGUQ','-文件下载完毕','common\x5cdva\x5cautomatic\x5c','close','toString','rmdirSync','existsSync','common\x5cdva\x5cautomatic','forEach','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','335151NUVRMK','/repository/archive.zip?private_token=','indexOf','6gmQFUp','\x5csrc','-master-','writeFileSync'];a18_0x1de7=function(){return _0x3e62de;};return a18_0x1de7();}module[a18_0x30734d(0x103)]=_0x2bb347=>{const _0x334014=a18_0x30734d,_0x1b2278=_0x2bb347,_0x102538=path[_0x334014(0xc8)]('./');try{if(fs[_0x334014(0x100)](_0x102538+_0x334014(0xe8))){const _0x9c13e1=_0x102538+'\x5csrc',_0x200e4f=CLOUD_PROJECT[_0x1b2278]||undefined;if(_0x200e4f){const _0x11f289=os[_0x334014(0xec)](),_0x5cc2af=_0x11f289+('/'+GIT_TEMP_DIR+'/'+_0x1b2278+_0x334014(0xce)),_0x17e5fc=_0x11f289+'/'+GIT_TEMP_DIR+_0x334014(0xd1);utils['DeleteDirAllFile'](_0x11f289+'/'+GIT_TEMP_DIR,()=>{const _0x43c3ca=_0x334014;fs[_0x43c3ca(0xca)](_0x11f289+'/'+GIT_TEMP_DIR);let _0x30032e=fs[_0x43c3ca(0xfa)](_0x5cc2af);request(GIT_HOST+'/api/v4/projects/'+_0x200e4f['projectId']+_0x43c3ca(0xe5)+_0x200e4f['token']+_0x43c3ca(0xf8))[_0x43c3ca(0xf0)](_0x30032e)['on'](_0x43c3ca(0xdd),()=>{const _0x594ac8=_0x43c3ca;fs[_0x594ac8(0xca)](_0x17e5fc),compressing[_0x594ac8(0xee)]['uncompress'](_0x5cc2af,_0x17e5fc)[_0x594ac8(0xfd)](()=>{setTimeout(()=>{const _0xf1262d=a18_0x3a1c,_0x2f0ca5=fs[_0xf1262d(0xfc)](_0x17e5fc);_0x2f0ca5['forEach'](_0x702a1=>{const _0x1dd2e5=_0xf1262d;if(_0x702a1[_0x1dd2e5(0xe6)](_0x1dd2e5(0xe9))!==-0x1){const _0x3548ab=_0x9c13e1+'\x5c'+_0x200e4f[_0x1dd2e5(0xd5)];utils['DeleteDirAllFile'](_0x3548ab,()=>{const _0x3de1e5=_0x1dd2e5;fs[_0x3de1e5(0xca)](_0x3548ab),utils[_0x3de1e5(0xc9)](_0x17e5fc+_0x702a1,_0x3548ab),setTimeout(()=>{const _0x3534f4=_0x3de1e5,_0x16b2e7=fs[_0x3534f4(0xe0)](_0x9c13e1+'\x5c'+_0x3534f4(0xf3));if(!_0x16b2e7){const _0x5054f5=_0x9c13e1+'\x5c'+_0x3534f4(0xd8),_0x438c7f=_0x9c13e1+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x22893d=fs[_0x3534f4(0xd6)](_0x5054f5)[_0x3534f4(0xde)](),_0x1b8368=fs['readFileSync'](_0x438c7f)[_0x3534f4(0xde)]();_0x22893d=_0x22893d[_0x3534f4(0xcf)](_0x3534f4(0xfe),_0x3534f4(0xed)),_0x1b8368=_0x1b8368[_0x3534f4(0xcf)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x3534f4(0xea)](_0x5054f5,_0x22893d),fs['writeFileSync'](_0x438c7f,_0x1b8368),fs[_0x3534f4(0xea)](_0x9c13e1+_0x3534f4(0xe3),fs[_0x3534f4(0xd6)](__dirname+_0x3534f4(0xf5))['toString']()),fs[_0x3534f4(0xea)](_0x9c13e1+'\x5ccommon\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x3534f4(0xcc))['toString']());}else fs[_0x3534f4(0xd7)](_0x9c13e1+'\x5c'+'common\x5cdva\x5cautomatic\x5cindex.js',_0x702906=>{const _0x3d0cf2=_0x3534f4;_0x702906&&(fs[_0x3d0cf2(0xfc)](_0x9c13e1+'\x5c'+_0x3d0cf2(0xe1))[_0x3d0cf2(0xe2)](_0x117c56=>{const _0x4ca446=_0x3d0cf2;fs['unlinkSync'](_0x9c13e1+'\x5c'+_0x4ca446(0xdc)+_0x117c56);}),fs[_0x3d0cf2(0xdf)](_0x9c13e1+'\x5c'+_0x3d0cf2(0xe1)));});},0x3e8);});}}),console['log'](_0x1b2278+_0xf1262d(0xdb));},0x7d0);});});});}else console[_0x334014(0x102)](_0x334014(0x101)+_0x1b2278);}}catch(_0x358882){console['error']('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
1
+ 'use strict';function a18_0x202d(_0x12d56e,_0x172529){const _0x2939c0=a18_0x2939();return a18_0x202d=function(_0x202d2e,_0x581658){_0x202d2e=_0x202d2e-0x19c;let _0x11f0cd=_0x2939c0[_0x202d2e];return _0x11f0cd;},a18_0x202d(_0x12d56e,_0x172529);}const a18_0x2f826c=a18_0x202d;(function(_0x3a167d,_0x33e628){const _0x2de8af=a18_0x202d,_0x58e41e=_0x3a167d();while(!![]){try{const _0x20f5e6=-parseInt(_0x2de8af(0x1a7))/0x1+parseInt(_0x2de8af(0x1a4))/0x2*(-parseInt(_0x2de8af(0x1d6))/0x3)+parseInt(_0x2de8af(0x1bc))/0x4+-parseInt(_0x2de8af(0x1ae))/0x5+-parseInt(_0x2de8af(0x1d3))/0x6*(-parseInt(_0x2de8af(0x1b8))/0x7)+parseInt(_0x2de8af(0x1b6))/0x8*(parseInt(_0x2de8af(0x1b7))/0x9)+-parseInt(_0x2de8af(0x1c5))/0xa;if(_0x20f5e6===_0x33e628)break;else _0x58e41e['push'](_0x58e41e['shift']());}catch(_0x134121){_0x58e41e['push'](_0x58e41e['shift']());}}}(a18_0x2939,0xbcb87));function a18_0x2939(){const _0x2bb93b=['replace','FT3pKzxpRynFkmddJ9Bs','/api/v4/projects/','localName','&ref=master','mkdirSync','8RaeFEP','2000475VQAVOv','6034eqSzrC','zip','common\x5cdva\x5cautomatic\x5cindex.js','common\x5ctools\x5cindex.js','5819776WLtZgq','request','-文件下载完毕','exports','./util','unlinkSync','components','compressing','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','9261200XBQEyP','CopyFolder','statSync','return\x20process.env;','\x5ccli.dva.router.spa.txt','writeFileSync','log','return\x20__planA();','common\x5cwebsite\x5cindex.js','forEach','common\x5cdva\x5cautomatic','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','error','resolve','8604PphFCt','.zip','readdirSync','652683aDdcao','rmdirSync','toString','DeleteDirAllFile','application','createWriteStream','jjbAssembly','exists','G4HJRsHr9D7Ssmixegw2','2RwptyH','uncompress','common\x5cdva\x5cautomatic\x5c','873992jPaYXw','projectId','readFileSync','-master-','token','then','\x5csrc','613275yjXYYx','existsSync'];a18_0x2939=function(){return _0x2bb93b;};return a18_0x2939();}const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a18_0x2f826c(0x1c0)),request=require(a18_0x2f826c(0x1bd)),compressing=require(a18_0x2f826c(0x1c3)),GIT_TEMP_DIR=a18_0x2f826c(0x1a1),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a18_0x2f826c(0x1a3),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a18_0x2f826c(0x1b1),'projectId':0x154,'localName':a18_0x2f826c(0x1c2)}};module[a18_0x2f826c(0x1bf)]=_0x3a2806=>{const _0x3084c1=a18_0x2f826c,_0x27bd51=_0x3a2806,_0x2b1f5e=path[_0x3084c1(0x1d2)]('./');try{if(fs[_0x3084c1(0x1c7)](_0x2b1f5e+_0x3084c1(0x1ad))){const _0x29af1a=_0x2b1f5e+_0x3084c1(0x1ad),_0x2e91f6=CLOUD_PROJECT[_0x27bd51]||undefined;if(_0x2e91f6){const _0x4d9743=os['tmpdir'](),_0x5999ee=_0x4d9743+('/'+GIT_TEMP_DIR+'/'+_0x27bd51+_0x3084c1(0x1d4)),_0x4691da=_0x4d9743+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x3084c1(0x19e)](_0x4d9743+'/'+GIT_TEMP_DIR,()=>{const _0x3a6b72=_0x3084c1;fs['mkdirSync'](_0x4d9743+'/'+GIT_TEMP_DIR);let _0x36a372=fs[_0x3a6b72(0x1a0)](_0x5999ee);request(GIT_HOST+_0x3a6b72(0x1b2)+_0x2e91f6[_0x3a6b72(0x1a8)]+'/repository/archive.zip?private_token='+_0x2e91f6[_0x3a6b72(0x1ab)]+_0x3a6b72(0x1b4))['pipe'](_0x36a372)['on']('close',()=>{const _0x45af4a=_0x3a6b72;fs[_0x45af4a(0x1b5)](_0x4691da),compressing[_0x45af4a(0x1b9)][_0x45af4a(0x1a5)](_0x5999ee,_0x4691da)[_0x45af4a(0x1ac)](()=>{setTimeout(()=>{const _0x4c4431=a18_0x202d,_0x5ad43f=fs[_0x4c4431(0x1d5)](_0x4691da);_0x5ad43f[_0x4c4431(0x1ce)](_0x3ca9d1=>{const _0x4d26d7=_0x4c4431;if(_0x3ca9d1['indexOf'](_0x4d26d7(0x1aa))!==-0x1){const _0x410e31=_0x29af1a+'\x5c'+_0x2e91f6[_0x4d26d7(0x1b3)];utils[_0x4d26d7(0x19e)](_0x410e31,()=>{const _0x5cc6f7=_0x4d26d7;fs[_0x5cc6f7(0x1b5)](_0x410e31),utils[_0x5cc6f7(0x1c6)](_0x4691da+_0x3ca9d1,_0x410e31),setTimeout(()=>{const _0x3c71d8=_0x5cc6f7,_0x9160c2=fs[_0x3c71d8(0x1af)](_0x29af1a+'\x5c'+_0x3c71d8(0x19f));if(!_0x9160c2){const _0x28f5a1=_0x29af1a+'\x5c'+_0x3c71d8(0x1bb),_0x4627e2=_0x29af1a+'\x5c'+_0x3c71d8(0x1cd);let _0x22f283=fs[_0x3c71d8(0x1a9)](_0x28f5a1)[_0x3c71d8(0x19d)](),_0x5b6a96=fs[_0x3c71d8(0x1a9)](_0x4627e2)[_0x3c71d8(0x19d)]();_0x22f283=_0x22f283[_0x3c71d8(0x1b0)](_0x3c71d8(0x1cc),_0x3c71d8(0x1c8)),_0x5b6a96=_0x5b6a96['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x3c71d8(0x1d0)),fs[_0x3c71d8(0x1ca)](_0x28f5a1,_0x22f283),fs['writeFileSync'](_0x4627e2,_0x5b6a96),fs[_0x3c71d8(0x1ca)](_0x29af1a+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x3c71d8(0x1a9)](__dirname+_0x3c71d8(0x1c9))['toString']()),fs[_0x3c71d8(0x1ca)](_0x29af1a+'\x5ccommon\x5cdva\x5cautomatic\x5cregister.js',fs[_0x3c71d8(0x1a9)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x3c71d8(0x19d)]());}else fs[_0x3c71d8(0x1a2)](_0x29af1a+'\x5c'+_0x3c71d8(0x1ba),_0x43c9e0=>{const _0x17e03e=_0x3c71d8;_0x43c9e0&&(fs['readdirSync'](_0x29af1a+'\x5c'+_0x17e03e(0x1cf))[_0x17e03e(0x1ce)](_0x15a47f=>{const _0x3e789f=_0x17e03e;fs[_0x3e789f(0x1c1)](_0x29af1a+'\x5c'+_0x3e789f(0x1a6)+_0x15a47f);}),fs[_0x17e03e(0x19c)](_0x29af1a+'\x5c'+_0x17e03e(0x1cf)));});},0x3e8);});}}),console[_0x4c4431(0x1cb)](_0x27bd51+_0x4c4431(0x1be));},0x7d0);});});});}else console[_0x3084c1(0x1d1)]('【Error】:\x20未获取到项目\x20'+_0x27bd51);}}catch(_0x19d50d){console[_0x3084c1(0x1d1)](_0x3084c1(0x1c4));}};
@@ -1 +1 @@
1
- 'use strict';const a19_0x1f2f15=a19_0x4955;(function(_0x1730c7,_0x593cfb){const _0x178108=a19_0x4955,_0x4e0b2d=_0x1730c7();while(!![]){try{const _0x2b827c=parseInt(_0x178108(0x1e3))/0x1*(parseInt(_0x178108(0x1af))/0x2)+parseInt(_0x178108(0x1d8))/0x3+-parseInt(_0x178108(0x1e0))/0x4*(-parseInt(_0x178108(0x1c4))/0x5)+-parseInt(_0x178108(0x1a8))/0x6+-parseInt(_0x178108(0x1c5))/0x7*(parseInt(_0x178108(0x1d6))/0x8)+parseInt(_0x178108(0x1f7))/0x9+-parseInt(_0x178108(0x1b3))/0xa;if(_0x2b827c===_0x593cfb)break;else _0x4e0b2d['push'](_0x4e0b2d['shift']());}catch(_0x1f28fb){_0x4e0b2d['push'](_0x4e0b2d['shift']());}}}(a19_0x2717,0xd5188));const fs=require('fs'),os=require('os'),path=require(a19_0x1f2f15(0x1b0)),utils=require(a19_0x1f2f15(0x1b1)),request=require(a19_0x1f2f15(0x1a0)),compressing=require(a19_0x1f2f15(0x1e9)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a19_0x1f2f15(0x1ed),CLOUD_PROJECT={'common':{'token':a19_0x1f2f15(0x1b7),'projectId':0x117,'localName':a19_0x1f2f15(0x1c1)},'react-admin-component':{'token':a19_0x1f2f15(0x1d7),'projectId':0x154,'localName':a19_0x1f2f15(0x1dc)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a19_0x1f2f15(0x1dc),'jjb-react-admin-component']]},{'path':a19_0x1f2f15(0x1a6),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a19_0x1f2f15(0x1dc),a19_0x1f2f15(0x1bd)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x1f2f15(0x1d2),'replace':[[a19_0x1f2f15(0x1e8),a19_0x1f2f15(0x1dd)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x1f2f15(0x1d2),'replace':[[a19_0x1f2f15(0x1e8),a19_0x1f2f15(0x1ae)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':'\x5cEditor\x5cindex.js','replace':[[a19_0x1f2f15(0x1b9),'jjb-common/http'],[a19_0x1f2f15(0x1cb),a19_0x1f2f15(0x1c9)],['common/tools',a19_0x1f2f15(0x1b2)]]},{'path':a19_0x1f2f15(0x1f4),'replace':[[a19_0x1f2f15(0x1be),a19_0x1f2f15(0x1e1)]]},{'path':a19_0x1f2f15(0x1a3),'replace':[[a19_0x1f2f15(0x1f3),a19_0x1f2f15(0x1b2)]]},{'path':'\x5cFileUploader\x5cindex.js','replace':[['common/http',a19_0x1f2f15(0x1a1)],['common/tools',a19_0x1f2f15(0x1b2)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a19_0x1f2f15(0x1b9),a19_0x1f2f15(0x1a1)],['common/tools',a19_0x1f2f15(0x1b2)]]},{'path':a19_0x1f2f15(0x1cc),'replace':[['common/http',a19_0x1f2f15(0x1a1)],[a19_0x1f2f15(0x1f3),a19_0x1f2f15(0x1b2)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a19_0x1f2f15(0x1be),a19_0x1f2f15(0x1e1)]]},{'path':a19_0x1f2f15(0x1d3),'replace':[[a19_0x1f2f15(0x1f3),a19_0x1f2f15(0x1b2)]]},{'path':a19_0x1f2f15(0x1bc),'replace':[[a19_0x1f2f15(0x1c0),a19_0x1f2f15(0x1ec)],['common/tools',a19_0x1f2f15(0x1b2)]]}];function uid(){const _0x4de86c=a19_0x1f2f15;return Math['random']()[_0x4de86c(0x1bf)]()['substr'](0x2);}module[a19_0x1f2f15(0x19f)]=_0x4a9e87=>{const _0x2eddff=a19_0x1f2f15,_0x1a9d4e=path['resolve']('./'),_0x4be893=_0x2eddff(0x1b8)+_0x4a9e87,_0x163995=_0x2eddff(0x1c7),_0x3d5a7e=_0x1a9d4e+_0x2eddff(0x1e2),_0x426fa7=_0x2eddff(0x1c8)+uid(),_0x5cf91d=__dirname+'\x5c'+_0x426fa7,_0x16c5cf=_0x1a9d4e+_0x2eddff(0x1ab),_0x4a8dfa=_0x1a9d4e+_0x2eddff(0x1d4)+_0x4a9e87;try{if(fs[_0x2eddff(0x1ef)](_0x3d5a7e)){const _0x577193=CLOUD_PROJECT[_0x4a9e87]||undefined;if(_0x577193){const _0x5247ed=os[_0x2eddff(0x1ad)](),_0x5748a4=_0x5247ed+'/'+GIT_TEMP_DIR+'/'+_0x4a9e87+_0x2eddff(0x1f0),_0x297a60=_0x5247ed+'/'+GIT_TEMP_DIR+_0x2eddff(0x1f2);utils[_0x2eddff(0x1a5)](_0x5247ed+'/'+GIT_TEMP_DIR,()=>{const _0x548ea5=_0x2eddff;fs[_0x548ea5(0x1f1)](_0x5247ed+'/'+GIT_TEMP_DIR);const _0x2c526e=fs['createWriteStream'](_0x5748a4);request(GIT_HOST+_0x548ea5(0x1d9)+_0x577193['projectId']+_0x548ea5(0x1e7)+_0x577193[_0x548ea5(0x1c6)]+_0x548ea5(0x1a4))[_0x548ea5(0x19b)](_0x2c526e)['on'](_0x548ea5(0x19e),()=>{const _0x52e0b4=_0x548ea5;fs[_0x52e0b4(0x1f1)](_0x297a60),compressing[_0x52e0b4(0x1cd)][_0x52e0b4(0x1b6)](_0x5748a4,_0x297a60)[_0x52e0b4(0x1db)](()=>{setTimeout(()=>{const _0x235292=a19_0x4955;fs[_0x235292(0x19d)](_0x297a60)['forEach'](_0xa90e3=>{const _0x1cecd7=_0x235292;_0xa90e3[_0x1cecd7(0x1cf)](_0x1cecd7(0x1c3))!==-0x1&&utils[_0x1cecd7(0x1a5)](_0x3d5a7e+'\x5c'+_0x577193[_0x1cecd7(0x1f5)],()=>{fs['mkdirSync'](_0x5cf91d),utils['CopyFolder'](_0x297a60+_0xa90e3,_0x5cf91d),setTimeout(()=>{const _0x56dffe=a19_0x4955;if(_0x4a9e87===_0x56dffe(0x1c1)){const _0x5a5a9f=fs[_0x56dffe(0x1ef)](_0x3d5a7e+_0x56dffe(0x1ca));if(_0x5a5a9f)rm_rf(_0x5cf91d+_0x56dffe(0x19c)),fs['rmdirSync'](_0x5cf91d+'\x5cdva\x5cautomatic');else{if(get_project_type(_0x16c5cf)===_0x56dffe(0x1ba))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x5cf91d),fs[_0x56dffe(0x1e5)](_0x5cf91d+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x56dffe(0x1ac)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x56dffe(0x1bf)]()),fs[_0x56dffe(0x1e5)](_0x5cf91d+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x56dffe(0x1e6))[_0x56dffe(0x1bf)]());else get_project_type(_0x16c5cf)===_0x56dffe(0x1d1)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x5cf91d),fs[_0x56dffe(0x1e5)](_0x5cf91d+_0x56dffe(0x1da),fs[_0x56dffe(0x1ac)](__dirname+_0x56dffe(0x1d0))['toString']()),fs[_0x56dffe(0x1e5)](_0x5cf91d+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x56dffe(0x1ac)](__dirname+_0x56dffe(0x1de))[_0x56dffe(0x1bf)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x5cf91d);}_0x4a9e87==='react-admin-component'&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x5cf91d),rm_rf(_0x5cf91d+_0x56dffe(0x1aa)),fs[_0x56dffe(0x1ef)](_0x5cf91d+_0x56dffe(0x1aa))&&fs[_0x56dffe(0x1a7)](_0x5cf91d+_0x56dffe(0x1aa)),fs['existsSync'](_0x5cf91d+_0x56dffe(0x1ea))&&fs[_0x56dffe(0x1a2)](_0x5cf91d+_0x56dffe(0x1ea)),!fs['existsSync'](_0x4a8dfa)?fs['mkdirSync'](_0x4a8dfa):rm_rf(_0x4a8dfa),utils['CopyFolder'](_0x5cf91d,_0x4a8dfa,()=>{const _0x4600d7=_0x56dffe;rm_rf(_0x5cf91d),fs['rmdirSync'](_0x5cf91d),create_package_json(_0x4a8dfa,_0x4be893,_0x163995),update_project_package_json(_0x16c5cf,_0x4be893,_0x163995),console[_0x4600d7(0x1b5)](_0x4600d7(0x1eb)+_0x4be893+'\x20v'+_0x163995);});},0x3e8);});});},0x7d0);});});});}else console[_0x2eddff(0x1d5)](_0x2eddff(0x1df)+_0x4a9e87);}}catch(_0x2c360a){console['error'](_0x2eddff(0x1bb));}};function a19_0x2717(){const _0x1d1024=['\x22,\x22main\x22:\x20\x22index.js\x22}','\x5c.idea','\x5cpackage.json','readFileSync','tmpdir','return\x20process.env.app;','1385618zSwHAP','path','./util','jjb-common/tools','15795260ioYgHL','replace','log','uncompress','G4HJRsHr9D7Ssmixegw2','jjb-','common/http','spa','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','jjb-react-admin-component','common/color','toString','common/website','common','parse','-master-','340rzrpJg','7VBYNEi','token','1.0.0','template_','jjb-common/crypto','\x5capplication','common/crypto','\x5cImageUploader\x5cindex.js','zip','stringify','indexOf','\x5ccli.dva.router.saas.txt','micro-spa','\x5ctools\x5cindex.js','\x5cRouterContainer\x5cindex.js','\x5cnode_modules\x5cjjb-','error','13057992WusNzv','FT3pKzxpRynFkmddJ9Bs','4380159JzEwER','/api/v4/projects/','\x5cdva\x5cautomatic\x5crouter.js','then','components','return\x20process.env;','\x5ccli.dva.register.saas.txt','【Error】:\x20未获取到项目\x20','45272nIcAVl','jjb-common/color','\x5csrc','1AsXgXi','\x22,\x22version\x22:\x22','writeFileSync','\x5ccli.dva.register.spa.txt','/repository/archive.zip?private_token=','return\x20__planA();','compressing','\x5c.gitignore','【已安装】:','jjb-common/website','jjbAssembly','dependencies','existsSync','.zip','mkdirSync','/unzip/','common/tools','\x5cRejectText\x5cindex.js','localName','forEach','13262724qBjyJg','pipe','\x5cdva\x5cautomatic','readdirSync','close','exports','request','jjb-common/http','unlinkSync','\x5cRouterMenu\x5cindex.js','&ref=master','DeleteDirAllFile','\x5cwebsite\x5cindex.js','rmdirSync','1869042ebivKj'];a19_0x2717=function(){return _0x1d1024;};return a19_0x2717();}function rm_rf(_0xdc2405){const _0x580074=a19_0x1f2f15;if(fs[_0x580074(0x1ef)](_0xdc2405)){const _0x401dcd=fs[_0x580074(0x19d)](_0xdc2405);for(let _0x332610=0x0;_0x332610<_0x401dcd['length'];_0x332610++){const _0x36b2a6=_0x401dcd[_0x332610],_0x3c25b2=_0xdc2405+'/'+_0x36b2a6;fs['statSync'](_0x3c25b2)['isDirectory']()?(rm_rf(_0x3c25b2),fs[_0x580074(0x1a7)](_0x3c25b2)):fs[_0x580074(0x1a2)](_0x3c25b2);}}}function create_package_json(_0x2b9e1c,_0x457f41,_0x5b14d0){const _0x115f06=a19_0x1f2f15;fs[_0x115f06(0x1e5)](_0x2b9e1c+_0x115f06(0x1ab),'{\x22name\x22:\x22'+_0x457f41+_0x115f06(0x1e4)+_0x5b14d0+_0x115f06(0x1a9));}function get_project_type(_0x4831a6){const _0x304121=a19_0x1f2f15,_0x1b02bb=JSON[_0x304121(0x1c2)](fs['readFileSync'](_0x4831a6)[_0x304121(0x1bf)]());return _0x1b02bb['projectType'];}function a19_0x4955(_0x5532f0,_0x19f023){const _0x27177c=a19_0x2717();return a19_0x4955=function(_0x49551f,_0x80fe33){_0x49551f=_0x49551f-0x19b;let _0x22c0e5=_0x27177c[_0x49551f];return _0x22c0e5;},a19_0x4955(_0x5532f0,_0x19f023);}function update_project_package_json(_0x27d5c0,_0x2f9cb1,_0x23f4b5){const _0x50c492=a19_0x1f2f15,_0x48d68f=JSON[_0x50c492(0x1c2)](fs['readFileSync'](_0x27d5c0)['toString']());_0x48d68f[_0x50c492(0x1ee)][_0x2f9cb1]=_0x23f4b5,fs[_0x50c492(0x1e5)](_0x27d5c0,JSON[_0x50c492(0x1ce)](_0x48d68f,null,0x2));}function content_replace(_0x42d6f5=[],_0x3b8eae){const _0x397f80=a19_0x1f2f15;_0x42d6f5[_0x397f80(0x1f6)](_0x4f45f2=>{const _0x4a472c=_0x397f80,_0x503013=_0x3b8eae+_0x4f45f2['path'];if(fs['existsSync'](_0x503013)){let _0x3f833b=fs[_0x4a472c(0x1ac)](_0x503013)[_0x4a472c(0x1bf)]();_0x4f45f2[_0x4a472c(0x1b4)][_0x4a472c(0x1f6)](_0x35660e=>{const _0x4ede93=_0x4a472c;_0x3f833b=_0x3f833b[_0x4ede93(0x1b4)](_0x35660e[0x0],_0x35660e[0x1]);}),fs[_0x4a472c(0x1e5)](_0x503013,_0x3f833b);}});}
1
+ 'use strict';function a19_0x193c(_0x503054,_0x295587){const _0x22c50d=a19_0x22c5();return a19_0x193c=function(_0x193c01,_0x16d5cb){_0x193c01=_0x193c01-0xc9;let _0x1353c4=_0x22c50d[_0x193c01];return _0x1353c4;},a19_0x193c(_0x503054,_0x295587);}const a19_0x1ce675=a19_0x193c;(function(_0x539f7e,_0x51e005){const _0x19b705=a19_0x193c,_0x4388be=_0x539f7e();while(!![]){try{const _0x3f0b42=-parseInt(_0x19b705(0xf9))/0x1+parseInt(_0x19b705(0x117))/0x2*(parseInt(_0x19b705(0xe6))/0x3)+parseInt(_0x19b705(0x10e))/0x4+-parseInt(_0x19b705(0x11f))/0x5*(-parseInt(_0x19b705(0x10b))/0x6)+-parseInt(_0x19b705(0xd2))/0x7+parseInt(_0x19b705(0xf6))/0x8*(parseInt(_0x19b705(0xf8))/0x9)+parseInt(_0x19b705(0xde))/0xa*(-parseInt(_0x19b705(0xcd))/0xb);if(_0x3f0b42===_0x51e005)break;else _0x4388be['push'](_0x4388be['shift']());}catch(_0x31de68){_0x4388be['push'](_0x4388be['shift']());}}}(a19_0x22c5,0x202a5));const fs=require('fs'),os=require('os'),path=require(a19_0x1ce675(0xce)),utils=require(a19_0x1ce675(0xe2)),request=require(a19_0x1ce675(0xf0)),compressing=require('compressing'),GIT_HOST=a19_0x1ce675(0x102),GIT_TEMP_DIR='jjbAssembly',CLOUD_PROJECT={'common':{'token':a19_0x1ce675(0xf1),'projectId':0x117,'localName':a19_0x1ce675(0xd4)},'react-admin-component':{'token':a19_0x1ce675(0xf5),'projectId':0x154,'localName':a19_0x1ce675(0xd1)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['components',a19_0x1ce675(0xdc)]]},{'path':a19_0x1ce675(0x107),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a19_0x1ce675(0xd7)],[a19_0x1ce675(0xd1),a19_0x1ce675(0xdc)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a19_0x1ce675(0xec),'replace':[[a19_0x1ce675(0x10f),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a19_0x1ce675(0xec),'replace':[[a19_0x1ce675(0x10f),a19_0x1ce675(0xe8)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a19_0x1ce675(0x116),'replace':[[a19_0x1ce675(0x122),a19_0x1ce675(0x119)],[a19_0x1ce675(0x105),a19_0x1ce675(0x100)],['common/tools','jjb-common/tools']]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a19_0x1ce675(0xd5),a19_0x1ce675(0xed)]]},{'path':a19_0x1ce675(0x11b),'replace':[[a19_0x1ce675(0xff),'jjb-common/tools']]},{'path':a19_0x1ce675(0x11d),'replace':[['common/http','jjb-common/http'],[a19_0x1ce675(0xff),a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0x10a),'replace':[[a19_0x1ce675(0x122),a19_0x1ce675(0x119)],['common/tools',a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0xf2),'replace':[[a19_0x1ce675(0x122),a19_0x1ce675(0x119)],[a19_0x1ce675(0xff),a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0xd3),'replace':[[a19_0x1ce675(0xd5),a19_0x1ce675(0xed)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a19_0x1ce675(0xff),a19_0x1ce675(0x126)]]},{'path':a19_0x1ce675(0xea),'replace':[['common/website',a19_0x1ce675(0xcc)],[a19_0x1ce675(0xff),'jjb-common/tools']]}];function uid(){const _0xa69b8=a19_0x1ce675;return Math[_0xa69b8(0x106)]()[_0xa69b8(0xe4)]()['substr'](0x2);}module['exports']=_0x169b9d=>{const _0x5d6d6d=a19_0x1ce675,_0x56bc38=path[_0x5d6d6d(0xe5)]('./'),_0x35204b='jjb-'+_0x169b9d,_0x3fdb39=_0x5d6d6d(0xfd),_0x2f424d=_0x56bc38+_0x5d6d6d(0xe9),_0x39ccd3=_0x5d6d6d(0xf4)+uid(),_0x4daa40=__dirname+'\x5c'+_0x39ccd3,_0x2b2ac1=_0x56bc38+'\x5cpackage.json',_0x4ac2ab=_0x56bc38+_0x5d6d6d(0xe7)+_0x169b9d;try{if(fs[_0x5d6d6d(0x108)](_0x2f424d)){const _0x58740f=CLOUD_PROJECT[_0x169b9d]||undefined;if(_0x58740f){const _0x3fdffd=os[_0x5d6d6d(0x103)](),_0x463f32=_0x3fdffd+'/'+GIT_TEMP_DIR+'/'+_0x169b9d+_0x5d6d6d(0xfb),_0x24bfd0=_0x3fdffd+'/'+GIT_TEMP_DIR+_0x5d6d6d(0xfa);utils[_0x5d6d6d(0xdf)](_0x3fdffd+'/'+GIT_TEMP_DIR,()=>{const _0x244d16=_0x5d6d6d;fs[_0x244d16(0xef)](_0x3fdffd+'/'+GIT_TEMP_DIR);const _0xbda8f7=fs[_0x244d16(0xf3)](_0x463f32);request(GIT_HOST+_0x244d16(0x111)+_0x58740f['projectId']+_0x244d16(0xe3)+_0x58740f[_0x244d16(0x109)]+_0x244d16(0xca))[_0x244d16(0x125)](_0xbda8f7)['on'](_0x244d16(0xdb),()=>{const _0xe33b31=_0x244d16;fs[_0xe33b31(0xef)](_0x24bfd0),compressing[_0xe33b31(0x118)][_0xe33b31(0x110)](_0x463f32,_0x24bfd0)['then'](()=>{setTimeout(()=>{const _0x9d6fe2=a19_0x193c;fs[_0x9d6fe2(0x123)](_0x24bfd0)[_0x9d6fe2(0x11a)](_0x8b9379=>{const _0x669723=_0x9d6fe2;_0x8b9379[_0x669723(0xd6)]('-master-')!==-0x1&&utils[_0x669723(0xdf)](_0x2f424d+'\x5c'+_0x58740f[_0x669723(0xfe)],()=>{const _0x5cc229=_0x669723;fs['mkdirSync'](_0x4daa40),utils[_0x5cc229(0xfc)](_0x24bfd0+_0x8b9379,_0x4daa40),setTimeout(()=>{const _0x41c148=_0x5cc229;if(_0x169b9d===_0x41c148(0xd4)){const _0x2bb997=fs[_0x41c148(0x108)](_0x2f424d+'\x5capplication');if(_0x2bb997)rm_rf(_0x4daa40+_0x41c148(0x120)),fs[_0x41c148(0xda)](_0x4daa40+_0x41c148(0x120));else{if(get_project_type(_0x2b2ac1)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x4daa40),fs[_0x41c148(0x115)](_0x4daa40+_0x41c148(0x101),fs[_0x41c148(0xee)](__dirname+_0x41c148(0xeb))[_0x41c148(0xe4)]()),fs[_0x41c148(0x115)](_0x4daa40+_0x41c148(0xc9),fs['readFileSync'](__dirname+_0x41c148(0x10c))[_0x41c148(0xe4)]());else get_project_type(_0x2b2ac1)==='micro-spa'&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x4daa40),fs['writeFileSync'](_0x4daa40+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x41c148(0xee)](__dirname+_0x41c148(0xdd))[_0x41c148(0xe4)]()),fs[_0x41c148(0x115)](_0x4daa40+_0x41c148(0xc9),fs[_0x41c148(0xee)](__dirname+_0x41c148(0xcf))[_0x41c148(0xe4)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x4daa40);}_0x169b9d===_0x41c148(0x114)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x4daa40),rm_rf(_0x4daa40+_0x41c148(0x124)),fs[_0x41c148(0x108)](_0x4daa40+_0x41c148(0x124))&&fs[_0x41c148(0xda)](_0x4daa40+_0x41c148(0x124)),fs['existsSync'](_0x4daa40+_0x41c148(0xe0))&&fs[_0x41c148(0xd8)](_0x4daa40+'\x5c.gitignore'),!fs[_0x41c148(0x108)](_0x4ac2ab)?fs['mkdirSync'](_0x4ac2ab):rm_rf(_0x4ac2ab),utils[_0x41c148(0xfc)](_0x4daa40,_0x4ac2ab,()=>{const _0xc5b99c=_0x41c148;rm_rf(_0x4daa40),fs['rmdirSync'](_0x4daa40),create_package_json(_0x4ac2ab,_0x35204b,_0x3fdb39),update_project_package_json(_0x2b2ac1,_0x35204b,_0x3fdb39),console['log'](_0xc5b99c(0x104)+_0x35204b+'\x20v'+_0x3fdb39);});},0x3e8);});});},0x7d0);});});});}else console[_0x5d6d6d(0x127)]('【Error】:\x20未获取到项目\x20'+_0x169b9d);}}catch(_0x3b5068){console[_0x5d6d6d(0x127)](_0x5d6d6d(0x11c));}};function rm_rf(_0xc6c347){const _0x5681cf=a19_0x1ce675;if(fs[_0x5681cf(0x108)](_0xc6c347)){const _0x21d975=fs[_0x5681cf(0x123)](_0xc6c347);for(let _0x3a543d=0x0;_0x3a543d<_0x21d975[_0x5681cf(0xcb)];_0x3a543d++){const _0x2755d2=_0x21d975[_0x3a543d],_0x569fff=_0xc6c347+'/'+_0x2755d2;fs['statSync'](_0x569fff)[_0x5681cf(0x121)]()?(rm_rf(_0x569fff),fs[_0x5681cf(0xda)](_0x569fff)):fs['unlinkSync'](_0x569fff);}}}function create_package_json(_0x5107ed,_0x3f948f,_0x790a12){const _0x2ad06c=a19_0x1ce675;fs[_0x2ad06c(0x115)](_0x5107ed+_0x2ad06c(0x112),_0x2ad06c(0x11e)+_0x3f948f+_0x2ad06c(0xe1)+_0x790a12+'\x22,\x22main\x22:\x20\x22index.js\x22}');}function get_project_type(_0x32e759){const _0x346322=a19_0x1ce675,_0x5d84e9=JSON[_0x346322(0x10d)](fs[_0x346322(0xee)](_0x32e759)[_0x346322(0xe4)]());return _0x5d84e9[_0x346322(0x113)];}function update_project_package_json(_0x20862f,_0x46f68c,_0x4b53a2){const _0x2f03e3=a19_0x1ce675,_0x1814d7=JSON[_0x2f03e3(0x10d)](fs[_0x2f03e3(0xee)](_0x20862f)[_0x2f03e3(0xe4)]());_0x1814d7[_0x2f03e3(0xd9)][_0x46f68c]=_0x4b53a2,fs[_0x2f03e3(0x115)](_0x20862f,JSON[_0x2f03e3(0xd0)](_0x1814d7,null,0x2));}function a19_0x22c5(){const _0xdb3a25=['\x5ccli.dva.register.saas.txt','stringify','components','600509GZhwma','\x5cPageHeaderBar\x5cindex.js','common','common/color','indexOf','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','unlinkSync','dependencies','rmdirSync','close','jjb-react-admin-component','\x5ccli.dva.router.saas.txt','1951130sXoGrp','DeleteDirAllFile','\x5c.gitignore','\x22,\x22version\x22:\x22','./util','/repository/archive.zip?private_token=','toString','resolve','111ZsZyHY','\x5cnode_modules\x5cjjb-','return\x20process.env.app;','\x5csrc','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5ccli.dva.router.spa.txt','\x5ctools\x5cindex.js','jjb-common/color','readFileSync','mkdirSync','request','G4HJRsHr9D7Ssmixegw2','\x5cImageUploader\x5cindex.js','createWriteStream','template_','FT3pKzxpRynFkmddJ9Bs','296SGYJqI','replace','59607bNWKgL','41604dPVVnG','/unzip/','.zip','CopyFolder','1.0.0','localName','common/tools','jjb-common/crypto','\x5cdva\x5cautomatic\x5crouter.js','http://192.168.1.242:10985','tmpdir','【已安装】:','common/crypto','random','\x5cwebsite\x5cindex.js','existsSync','token','\x5cImageCropper\x5cindex.js','30BfoOnW','\x5ccli.dva.register.spa.txt','parse','599080YRzqEN','return\x20__planA();','uncompress','/api/v4/projects/','\x5cpackage.json','projectType','react-admin-component','writeFileSync','\x5cEditor\x5cindex.js','10900CkrLDB','zip','jjb-common/http','forEach','\x5cRouterMenu\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cFileUploader\x5cindex.js','{\x22name\x22:\x22','52895vwdbks','\x5cdva\x5cautomatic','isDirectory','common/http','readdirSync','\x5c.idea','pipe','jjb-common/tools','error','\x5cdva\x5cautomatic\x5cregister.js','&ref=master','length','jjb-common/website','22OOodps','path'];a19_0x22c5=function(){return _0xdb3a25;};return a19_0x22c5();}function content_replace(_0x39088e=[],_0x14f174){const _0x3fdbca=a19_0x1ce675;_0x39088e[_0x3fdbca(0x11a)](_0x154597=>{const _0x36a6e9=_0x3fdbca,_0x513454=_0x14f174+_0x154597[_0x36a6e9(0xce)];if(fs[_0x36a6e9(0x108)](_0x513454)){let _0xaf581f=fs[_0x36a6e9(0xee)](_0x513454)[_0x36a6e9(0xe4)]();_0x154597[_0x36a6e9(0xf7)][_0x36a6e9(0x11a)](_0x3d314b=>{const _0x30334b=_0x36a6e9;_0xaf581f=_0xaf581f[_0x30334b(0xf7)](_0x3d314b[0x0],_0x3d314b[0x1]);}),fs[_0x36a6e9(0x115)](_0x513454,_0xaf581f);}});}
@@ -1 +1 @@
1
- const a20_0x4f86e0=a20_0x283c;(function(_0x592deb,_0x2931f5){const _0x31cffe=a20_0x283c,_0x263ea5=_0x592deb();while(!![]){try{const _0x87f80b=parseInt(_0x31cffe(0x12c))/0x1+parseInt(_0x31cffe(0x137))/0x2+parseInt(_0x31cffe(0x130))/0x3*(-parseInt(_0x31cffe(0x136))/0x4)+parseInt(_0x31cffe(0x129))/0x5+-parseInt(_0x31cffe(0x126))/0x6+parseInt(_0x31cffe(0x133))/0x7*(parseInt(_0x31cffe(0x128))/0x8)+parseInt(_0x31cffe(0x12d))/0x9*(-parseInt(_0x31cffe(0x13e))/0xa);if(_0x87f80b===_0x2931f5)break;else _0x263ea5['push'](_0x263ea5['shift']());}catch(_0x29d866){_0x263ea5['push'](_0x263ea5['shift']());}}}(a20_0x387a,0xbc8fd));const fs=require('fs'),path=require('path'),readline=require('readline'),ProgressBar=require(a20_0x4f86e0(0x13a)),io=readline[a20_0x4f86e0(0x131)]({'input':process[a20_0x4f86e0(0x13f)],'output':process['stdout']}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;function a20_0x387a(){const _0x4d58ed=['readdirSync','length','1332974vblhIj','312057URhdMM','exports','statSync','1983PtrlRE','createInterface','question','875966GNaWqh','resolve','exit','4468ATIkHZ','1279664GJGEME','正在计算项目数,请稍等...','rmdirSync','./progress-bar','无效操作。','是否确认删除?删除后不可恢复![y/n]:','isDirectory','200FTROtT','stdin','log','删除异常:','取消删除。','4550256QwJWwF','existsSync','24sIlpEh','3071510wprpWr'];a20_0x387a=function(){return _0x4d58ed;};return a20_0x387a();}module[a20_0x4f86e0(0x12e)]=function(){const _0x216634=a20_0x4f86e0,_0x543056=path[_0x216634(0x134)]('./');io[_0x216634(0x132)](_0x216634(0x13c),function(_0x2f4d1e){const _0x28ab00=_0x216634;if(_0x2f4d1e['trim']()==='y')console[_0x28ab00(0x140)](_0x28ab00(0x138)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x543056),setTimeout(()=>{const _0x15d987=a20_0x283c;console[_0x15d987(0x140)]('删除完成。'),console['clear'](),process[_0x15d987(0x135)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x2f4d1e['trim']()==='n'?(console['log'](_0x28ab00(0x142)),process[_0x28ab00(0x135)](0x0)):(console[_0x28ab00(0x140)](_0x28ab00(0x13b)),process[_0x28ab00(0x135)](0x0));});};function a20_0x283c(_0x306aca,_0x920eb3){const _0x387a5a=a20_0x387a();return a20_0x283c=function(_0x283c7b,_0x2b482f){_0x283c7b=_0x283c7b-0x126;let _0x1e74cc=_0x387a5a[_0x283c7b];return _0x1e74cc;},a20_0x283c(_0x306aca,_0x920eb3);}function exec(_0x4b873b){const _0x36a072=a20_0x4f86e0;if(fs[_0x36a072(0x127)](_0x4b873b)){const _0x543815=fs[_0x36a072(0x12a)](_0x4b873b);for(let _0x4955db=0x0;_0x4955db<_0x543815[_0x36a072(0x12b)];_0x4955db++){const _0x390085=_0x543815[_0x4955db],_0x4c7891=_0x4b873b+'/'+_0x390085;try{fs[_0x36a072(0x12f)](_0x4c7891)[_0x36a072(0x13d)]()?(exec(_0x4c7891),fs[_0x36a072(0x139)](_0x4c7891,{'recursive':!![]}),console['log']('删除文件夹:'+_0x4c7891)):(fs['unlinkSync'](_0x4c7891),console[_0x36a072(0x140)]('删除文件:'+_0x4c7891));}catch(_0x4d5580){console[_0x36a072(0x140)](_0x36a072(0x141)+_0x4c7891);}}}}function scanner(_0xfdff3a){const _0x453dd0=a20_0x4f86e0;if(fs[_0x453dd0(0x127)](_0xfdff3a)){const _0x41bca8=fs[_0x453dd0(0x12a)](_0xfdff3a);for(let _0x1f1228=0x0;_0x1f1228<_0x41bca8[_0x453dd0(0x12b)];_0x1f1228++){const _0x42354d=_0x41bca8[_0x1f1228],_0x5bb28e=_0xfdff3a+'/'+_0x42354d;try{fs[_0x453dd0(0x12f)](_0x5bb28e)['isDirectory']()?(scanner(_0x5bb28e),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x139f1b){}}}}
1
+ const a20_0x2df87d=a20_0x58b9;(function(_0x2409a1,_0x2670d2){const _0x573299=a20_0x58b9,_0xffd0c4=_0x2409a1();while(!![]){try{const _0x219354=-parseInt(_0x573299(0x10d))/0x1*(-parseInt(_0x573299(0x109))/0x2)+parseInt(_0x573299(0x112))/0x3+parseInt(_0x573299(0x11a))/0x4+-parseInt(_0x573299(0x126))/0x5+parseInt(_0x573299(0x119))/0x6+parseInt(_0x573299(0x10e))/0x7+parseInt(_0x573299(0x110))/0x8*(-parseInt(_0x573299(0x124))/0x9);if(_0x219354===_0x2670d2)break;else _0xffd0c4['push'](_0xffd0c4['shift']());}catch(_0x16d23c){_0xffd0c4['push'](_0xffd0c4['shift']());}}}(a20_0x7bb1,0x9fb26));const fs=require('fs'),path=require('path'),readline=require('readline'),ProgressBar=require(a20_0x2df87d(0x10f)),io=readline['createInterface']({'input':process['stdin'],'output':process[a20_0x2df87d(0x10b)]}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;function a20_0x7bb1(){const _0x584ac6=['删除文件:','854625zYsYUd','删除异常:','4DSZTre','readdirSync','stdout','statSync','430827eNfzbw','1346898fbgudS','./progress-bar','21665944mbCgYZ','删除完成。','3109584sxKNEU','isDirectory','length','正在计算项目数,请稍等...','trim','log','rmdirSync','7719660qaiUIf','624320VtkqTd','existsSync','取消删除。','删除文件夹:','exit','无效操作。','unlinkSync','clear','question','exports','9Lovcox'];a20_0x7bb1=function(){return _0x584ac6;};return a20_0x7bb1();}module[a20_0x2df87d(0x123)]=function(){const _0x8f78d5=a20_0x2df87d,_0x5246e5=path['resolve']('./');io[_0x8f78d5(0x122)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x3a9a5d){const _0x5a8d32=_0x8f78d5;if(_0x3a9a5d[_0x5a8d32(0x116)]()==='y')console[_0x5a8d32(0x117)](_0x5a8d32(0x115)),setTimeout(()=>{setTimeout(()=>{const _0x5ce6a1=a20_0x58b9;console[_0x5ce6a1(0x121)](),exec(_0x5246e5),setTimeout(()=>{const _0x3c98b0=_0x5ce6a1;console[_0x3c98b0(0x117)](_0x3c98b0(0x111)),console[_0x3c98b0(0x121)](),process[_0x3c98b0(0x11e)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x3a9a5d[_0x5a8d32(0x116)]()==='n'?(console['log'](_0x5a8d32(0x11c)),process[_0x5a8d32(0x11e)](0x0)):(console[_0x5a8d32(0x117)](_0x5a8d32(0x11f)),process[_0x5a8d32(0x11e)](0x0));});};function exec(_0x32f802){const _0x4ae9a5=a20_0x2df87d;if(fs[_0x4ae9a5(0x11b)](_0x32f802)){const _0x4148a9=fs[_0x4ae9a5(0x10a)](_0x32f802);for(let _0x3a8610=0x0;_0x3a8610<_0x4148a9['length'];_0x3a8610++){const _0x23434f=_0x4148a9[_0x3a8610],_0x5a3669=_0x32f802+'/'+_0x23434f;try{fs[_0x4ae9a5(0x10c)](_0x5a3669)[_0x4ae9a5(0x113)]()?(exec(_0x5a3669),fs[_0x4ae9a5(0x118)](_0x5a3669,{'recursive':!![]}),console['log'](_0x4ae9a5(0x11d)+_0x5a3669)):(fs[_0x4ae9a5(0x120)](_0x5a3669),console[_0x4ae9a5(0x117)](_0x4ae9a5(0x125)+_0x5a3669));}catch(_0x3955ec){console[_0x4ae9a5(0x117)](_0x4ae9a5(0x127)+_0x5a3669);}}}}function a20_0x58b9(_0x561d74,_0x51ba97){const _0x7bb1a6=a20_0x7bb1();return a20_0x58b9=function(_0x58b99a,_0x448f03){_0x58b99a=_0x58b99a-0x109;let _0x3b5681=_0x7bb1a6[_0x58b99a];return _0x3b5681;},a20_0x58b9(_0x561d74,_0x51ba97);}function scanner(_0x178fa0){const _0x16a195=a20_0x2df87d;if(fs['existsSync'](_0x178fa0)){const _0x55a151=fs['readdirSync'](_0x178fa0);for(let _0x76f69c=0x0;_0x76f69c<_0x55a151[_0x16a195(0x114)];_0x76f69c++){const _0x302de2=_0x55a151[_0x76f69c],_0x1c9fec=_0x178fa0+'/'+_0x302de2;try{fs[_0x16a195(0x10c)](_0x1c9fec)[_0x16a195(0x113)]()?(scanner(_0x1c9fec),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x5ddd97){}}}}
@@ -1 +1 @@
1
- const a21_0x1c0206=a21_0x156f;function a21_0x43d3(){const _0x1969a0=['8gIfbzY','Progress','total','366300VHZKli','exports','render','10619WtMtkj','74QuxEFj','6542IocQgX','completed','157630WpjLRp','2348480EnXhdo','toFixed','138iBfTNk','description','1363815dyllhR','single-line-log','length','434288mzkemm'];a21_0x43d3=function(){return _0x1969a0;};return a21_0x43d3();}function a21_0x156f(_0x4b5e08,_0x193c67){const _0x43d386=a21_0x43d3();return a21_0x156f=function(_0x156fbf,_0x49c1cc){_0x156fbf=_0x156fbf-0x12b;let _0x24e2f9=_0x43d386[_0x156fbf];return _0x24e2f9;},a21_0x156f(_0x4b5e08,_0x193c67);}(function(_0x541370,_0x84eeb3){const _0x3a8d67=a21_0x156f,_0xeba650=_0x541370();while(!![]){try{const _0x27d8b9=-parseInt(_0x3a8d67(0x135))/0x1*(-parseInt(_0x3a8d67(0x134))/0x2)+parseInt(_0x3a8d67(0x130))/0x3+parseInt(_0x3a8d67(0x12d))/0x4*(-parseInt(_0x3a8d67(0x137))/0x5)+parseInt(_0x3a8d67(0x13a))/0x6*(-parseInt(_0x3a8d67(0x133))/0x7)+parseInt(_0x3a8d67(0x12c))/0x8+parseInt(_0x3a8d67(0x13c))/0x9+-parseInt(_0x3a8d67(0x138))/0xa;if(_0x27d8b9===_0x84eeb3)break;else _0xeba650['push'](_0xeba650['shift']());}catch(_0xe5221d){_0xeba650['push'](_0xeba650['shift']());}}}(a21_0x43d3,0x39e80));const slog=require(a21_0x1c0206(0x13d))['stdout'];function ProgressBar(_0x3b306f,_0x4b80f2){const _0x4b2360=a21_0x1c0206;this[_0x4b2360(0x13b)]=_0x3b306f||_0x4b2360(0x12e),this[_0x4b2360(0x12b)]=_0x4b80f2||0x19,this[_0x4b2360(0x132)]=function(_0x5cd6c4){const _0x1ce0de=_0x4b2360;let _0x55f0fc;const _0x532824=(_0x5cd6c4[_0x1ce0de(0x136)]/_0x5cd6c4[_0x1ce0de(0x12f)])[_0x1ce0de(0x139)](0x4),_0x355112=Math['floor'](_0x532824*this[_0x1ce0de(0x12b)]);let _0x49b327='';for(_0x55f0fc=0x0;_0x55f0fc<_0x355112;_0x55f0fc++){_0x49b327+='█';}let _0x26d4ce='';for(_0x55f0fc=0x0;_0x55f0fc<this[_0x1ce0de(0x12b)]-_0x355112;_0x55f0fc++){_0x26d4ce+='░';}const _0x1e4960=this[_0x1ce0de(0x13b)]+':\x20'+(0x64*_0x532824)[_0x1ce0de(0x139)](0x2)+'%\x20'+_0x49b327+_0x26d4ce+'\x20'+_0x5cd6c4[_0x1ce0de(0x136)]+'/'+_0x5cd6c4[_0x1ce0de(0x12f)];slog(_0x1e4960);};}module[a21_0x1c0206(0x131)]=ProgressBar;
1
+ const a21_0x445420=a21_0x54d3;function a21_0x5c64(){const _0x40472d=['description','completed','575202IZriEd','toFixed','render','837662YYZasA','1332342Cmiwwv','length','409505zQPqvC','Progress','stdout','4067100WomxBo','904900ZUmNWp','16TahwNw','floor','2251468AKRLLC'];a21_0x5c64=function(){return _0x40472d;};return a21_0x5c64();}(function(_0x4ab81a,_0x38d095){const _0x204c7e=a21_0x54d3,_0x1446a0=_0x4ab81a();while(!![]){try{const _0x2c9b50=parseInt(_0x204c7e(0xfd))/0x1+parseInt(_0x204c7e(0xfb))/0x2+-parseInt(_0x204c7e(0xf7))/0x3+parseInt(_0x204c7e(0xf4))/0x4+-parseInt(_0x204c7e(0xf1))/0x5+-parseInt(_0x204c7e(0xf0))/0x6+-parseInt(_0x204c7e(0xfa))/0x7*(parseInt(_0x204c7e(0xf2))/0x8);if(_0x2c9b50===_0x38d095)break;else _0x1446a0['push'](_0x1446a0['shift']());}catch(_0x27ee34){_0x1446a0['push'](_0x1446a0['shift']());}}}(a21_0x5c64,0x551e7));function a21_0x54d3(_0x3d3ec6,_0x9a4b66){const _0x5c6491=a21_0x5c64();return a21_0x54d3=function(_0x54d332,_0x35c013){_0x54d332=_0x54d332-0xef;let _0x25aae0=_0x5c6491[_0x54d332];return _0x25aae0;},a21_0x54d3(_0x3d3ec6,_0x9a4b66);}const slog=require('single-line-log')[a21_0x445420(0xef)];function ProgressBar(_0x13a3e9,_0xfa3f97){const _0x189ccf=a21_0x445420;this['description']=_0x13a3e9||_0x189ccf(0xfe),this['length']=_0xfa3f97||0x19,this[_0x189ccf(0xf9)]=function(_0x11463d){const _0x2af4dd=_0x189ccf;let _0x59e536;const _0x418413=(_0x11463d[_0x2af4dd(0xf6)]/_0x11463d['total'])[_0x2af4dd(0xf8)](0x4),_0x10b114=Math[_0x2af4dd(0xf3)](_0x418413*this[_0x2af4dd(0xfc)]);let _0x4283d7='';for(_0x59e536=0x0;_0x59e536<_0x10b114;_0x59e536++){_0x4283d7+='█';}let _0x1c2471='';for(_0x59e536=0x0;_0x59e536<this[_0x2af4dd(0xfc)]-_0x10b114;_0x59e536++){_0x1c2471+='░';}const _0x291556=this[_0x2af4dd(0xf5)]+':\x20'+(0x64*_0x418413)[_0x2af4dd(0xf8)](0x2)+'%\x20'+_0x4283d7+_0x1c2471+'\x20'+_0x11463d[_0x2af4dd(0xf6)]+'/'+_0x11463d['total'];slog(_0x291556);};}module['exports']=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a22_0x453f(){const _0x66d763=['882528rWqJPM','statSync','pipe','length','CreatePaths','existsSync','CopyFolder','isDirectory','DeepScanner','4020qRGwzR','createReadStream','readdir','push','rmdirSync','close','error','8386987aVxFeT','3436785SNOHPF','join','read\x20error','unlinkSync','CopyFile','1337718SiJKLR','4215MZMPGU','mkdir','49303jkWtHe','1751922uwwIdQ','DeleteDirAllFile','8ZnAaRF','path','forEach','readdirSync','mkdirSync','log'];a22_0x453f=function(){return _0x66d763;};return a22_0x453f();}const a22_0x538b27=a22_0x4398;function a22_0x4398(_0x20d815,_0x118ed2){const _0x453f85=a22_0x453f();return a22_0x4398=function(_0x43987e,_0x546e6b){_0x43987e=_0x43987e-0x87;let _0x56f44d=_0x453f85[_0x43987e];return _0x56f44d;},a22_0x4398(_0x20d815,_0x118ed2);}(function(_0x28667d,_0x36ff11){const _0x8b6708=a22_0x4398,_0x52fda8=_0x28667d();while(!![]){try{const _0x19af7c=-parseInt(_0x8b6708(0x8a))/0x1+-parseInt(_0x8b6708(0x93))/0x2+parseInt(_0x8b6708(0x8b))/0x3+parseInt(_0x8b6708(0x9c))/0x4*(-parseInt(_0x8b6708(0x88))/0x5)+-parseInt(_0x8b6708(0x87))/0x6+-parseInt(_0x8b6708(0xa3))/0x7*(-parseInt(_0x8b6708(0x8d))/0x8)+parseInt(_0x8b6708(0xa4))/0x9;if(_0x19af7c===_0x36ff11)break;else _0x52fda8['push'](_0x52fda8['shift']());}catch(_0x1b1c79){_0x52fda8['push'](_0x52fda8['shift']());}}}(a22_0x453f,0x9346d));const fs=require('fs'),path=require(a22_0x538b27(0x8e));exports[a22_0x538b27(0x8c)]=(_0x18c6cb,_0x569fd9)=>{const _0x4518dd=a22_0x538b27;let _0x45d8bd=[];const _0xdefff2=this;fs[_0x4518dd(0x98)](_0x18c6cb)?(_0x45d8bd=fs[_0x4518dd(0x90)](_0x18c6cb),_0x45d8bd['forEach'](function(_0x16435e,_0x142c73){const _0x5c182e=_0x4518dd;let _0x420127=_0x18c6cb+'/'+_0x16435e;fs['statSync'](_0x420127)[_0x5c182e(0x9a)]()?_0xdefff2[_0x5c182e(0x8c)](_0x420127):fs[_0x5c182e(0xa7)](_0x420127);}),fs[_0x4518dd(0xa0)](_0x18c6cb),_0x569fd9&&_0x569fd9()):_0x569fd9&&_0x569fd9();},exports[a22_0x538b27(0x99)]=(_0x287879,_0x418d80,_0x2201c4)=>{const _0x51f670=a22_0x538b27,_0x30d712=this;fs[_0x51f670(0x9e)](_0x287879,function(_0x11f781,_0x364810){const _0x27828c=_0x51f670;let _0x88cbe2=0x0;const _0x5181c2=function(){const _0x42b196=a22_0x4398;++_0x88cbe2===_0x364810[_0x42b196(0x96)]&&_0x2201c4&&_0x2201c4();};if(_0x11f781){_0x5181c2();return;}_0x364810[_0x27828c(0x8f)](function(_0x239dd7){const _0x1ec062=_0x27828c,_0x4d6674=path[_0x1ec062(0xa5)](_0x287879,_0x239dd7),_0x528fd3=path[_0x1ec062(0xa5)](_0x418d80,_0x239dd7);fs['stat'](_0x4d6674,function(_0x25004f,_0x3652f3){const _0x5009dc=_0x1ec062;_0x3652f3[_0x5009dc(0x9a)]()?fs[_0x5009dc(0x89)](_0x528fd3,function(_0x1a1d0c){const _0x5b51df=_0x5009dc;if(_0x1a1d0c){console[_0x5b51df(0x92)](_0x1a1d0c);return;}_0x30d712[_0x5b51df(0x99)](_0x4d6674,_0x528fd3,_0x5181c2);}):_0x30d712['CopyFile'](_0x4d6674,_0x528fd3,_0x5181c2);});}),_0x364810[_0x27828c(0x96)]===0x0&&_0x2201c4&&_0x2201c4();});},exports[a22_0x538b27(0xa8)]=(_0x545e9c,_0x3db340,_0x44563c)=>{const _0x3729e4=a22_0x538b27,_0x1eefad=fs[_0x3729e4(0x9d)](_0x545e9c);_0x1eefad['on'](_0x3729e4(0xa2),function(_0x3b3acc){const _0x39aa46=_0x3729e4;_0x3b3acc&&console[_0x39aa46(0x92)](_0x39aa46(0xa6),_0x545e9c),_0x44563c&&_0x44563c(_0x3b3acc);});const _0x36e344=fs['createWriteStream'](_0x3db340);_0x36e344['on'](_0x3729e4(0xa2),function(_0x39d980){const _0x340ad4=_0x3729e4;_0x39d980&&console[_0x340ad4(0x92)]('write\x20error',_0x3db340),_0x44563c&&_0x44563c(_0x39d980);}),_0x36e344['on'](_0x3729e4(0xa1),function(_0x4f8735){_0x44563c&&_0x44563c(_0x4f8735);}),_0x1eefad[_0x3729e4(0x95)](_0x36e344);},exports[a22_0x538b27(0x9b)]=(_0x50e2d5,_0x1f70d2)=>{const _0x1e87dd=this,_0x3cd525=fs['readdirSync'](_0x50e2d5);_0x3cd525['forEach'](_0x591e7b=>{const _0x4dd700=a22_0x4398,_0x4a99a6=_0x50e2d5+'/'+_0x591e7b,_0x2d3089=fs[_0x4dd700(0x94)](_0x4a99a6);_0x2d3089[_0x4dd700(0x9a)]()?_0x1e87dd[_0x4dd700(0x9b)](_0x4a99a6,_0x1f70d2):_0x1f70d2[_0x4dd700(0x9f)](_0x4a99a6);});},exports[a22_0x538b27(0x97)]=(_0x537287,_0x4f78d3)=>{return new Promise(_0xb98641=>{const _0x33521e=a22_0x4398,_0x3a93e6=[];_0x4f78d3[_0x33521e(0x8f)]((_0x17f5cd,_0x3fc890)=>{const _0x3a676d=_0x33521e,_0x2e7a7b=_0x537287+'/'+_0x3a93e6[_0x3a676d(0xa5)]('/')+'/'+_0x17f5cd;try{const _0x19be88=fs[_0x3a676d(0x94)](_0x2e7a7b);_0x19be88['isDirectory']()?_0x3fc890===_0x4f78d3['length']-0x1&&_0xb98641():(fs[_0x3a676d(0x91)](_0x2e7a7b),_0x3fc890===_0x4f78d3[_0x3a676d(0x96)]-0x1&&_0xb98641());}catch(_0x5ecd0a){fs[_0x3a676d(0x91)](_0x2e7a7b),_0x3fc890===_0x4f78d3[_0x3a676d(0x96)]-0x1&&_0xb98641();}_0x3a93e6[_0x3a676d(0x9f)](_0x17f5cd);});});};
1
+ 'use strict';const a22_0x58eb7f=a22_0xd138;(function(_0x509793,_0x28e8b1){const _0x599ba1=a22_0xd138,_0x4235b5=_0x509793();while(!![]){try{const _0xbae6ed=-parseInt(_0x599ba1(0x159))/0x1+parseInt(_0x599ba1(0x154))/0x2+-parseInt(_0x599ba1(0x156))/0x3+parseInt(_0x599ba1(0x166))/0x4*(-parseInt(_0x599ba1(0x167))/0x5)+parseInt(_0x599ba1(0x16d))/0x6*(-parseInt(_0x599ba1(0x157))/0x7)+-parseInt(_0x599ba1(0x163))/0x8*(-parseInt(_0x599ba1(0x16b))/0x9)+-parseInt(_0x599ba1(0x15c))/0xa*(-parseInt(_0x599ba1(0x165))/0xb);if(_0xbae6ed===_0x28e8b1)break;else _0x4235b5['push'](_0x4235b5['shift']());}catch(_0x12c4b8){_0x4235b5['push'](_0x4235b5['shift']());}}}(a22_0x4b36,0xb8a7b));function a22_0xd138(_0x3d8bda,_0x206450){const _0x4b360a=a22_0x4b36();return a22_0xd138=function(_0xd1382f,_0x3b39b1){_0xd1382f=_0xd1382f-0x153;let _0x3700ca=_0x4b360a[_0xd1382f];return _0x3700ca;},a22_0xd138(_0x3d8bda,_0x206450);}const fs=require('fs'),path=require(a22_0x58eb7f(0x158));function a22_0x4b36(){const _0x1bc7f2=['CreatePaths','CopyFolder','DeleteDirAllFile','read\x20error','error','10112KgtQYT','readdir','22vttcXF','2232964gaJNnB','5nwpudF','isDirectory','CopyFile','readdirSync','5328hbsNMg','mkdirSync','1279518oCIulh','statSync','write\x20error','length','close','forEach','DeepScanner','980052hpYmxP','join','607296oyuTLo','7dkGder','path','1023883LHpoMY','stat','log','7579210JzNKcC','push'];a22_0x4b36=function(){return _0x1bc7f2;};return a22_0x4b36();}exports[a22_0x58eb7f(0x160)]=(_0x52010c,_0x578d70)=>{const _0x4fb725=a22_0x58eb7f;let _0xd2d8e0=[];const _0x2cd771=this;fs['existsSync'](_0x52010c)?(_0xd2d8e0=fs['readdirSync'](_0x52010c),_0xd2d8e0[_0x4fb725(0x172)](function(_0x25037a,_0x58da83){const _0x29c8ea=_0x4fb725;let _0x483dc3=_0x52010c+'/'+_0x25037a;fs[_0x29c8ea(0x16e)](_0x483dc3)['isDirectory']()?_0x2cd771['DeleteDirAllFile'](_0x483dc3):fs['unlinkSync'](_0x483dc3);}),fs['rmdirSync'](_0x52010c),_0x578d70&&_0x578d70()):_0x578d70&&_0x578d70();},exports[a22_0x58eb7f(0x15f)]=(_0x10f837,_0x154d98,_0x56a3b6)=>{const _0x5e368a=a22_0x58eb7f,_0x2e10e9=this;fs[_0x5e368a(0x164)](_0x10f837,function(_0x1ef7b5,_0x50d84c){const _0x4ed590=_0x5e368a;let _0x457686=0x0;const _0x4dff46=function(){const _0xacf08d=a22_0xd138;++_0x457686===_0x50d84c[_0xacf08d(0x170)]&&_0x56a3b6&&_0x56a3b6();};if(_0x1ef7b5){_0x4dff46();return;}_0x50d84c[_0x4ed590(0x172)](function(_0x1d4837){const _0xf16f7c=_0x4ed590,_0x45dd85=path[_0xf16f7c(0x155)](_0x10f837,_0x1d4837),_0x2d4e7b=path[_0xf16f7c(0x155)](_0x154d98,_0x1d4837);fs[_0xf16f7c(0x15a)](_0x45dd85,function(_0x165070,_0xb6f46a){const _0x5e2dc6=_0xf16f7c;_0xb6f46a['isDirectory']()?fs['mkdir'](_0x2d4e7b,function(_0x4e8ab2){const _0xbce6b3=a22_0xd138;if(_0x4e8ab2){console[_0xbce6b3(0x15b)](_0x4e8ab2);return;}_0x2e10e9[_0xbce6b3(0x15f)](_0x45dd85,_0x2d4e7b,_0x4dff46);}):_0x2e10e9[_0x5e2dc6(0x169)](_0x45dd85,_0x2d4e7b,_0x4dff46);});}),_0x50d84c[_0x4ed590(0x170)]===0x0&&_0x56a3b6&&_0x56a3b6();});},exports[a22_0x58eb7f(0x169)]=(_0x251ff8,_0xc6b44d,_0x29312b)=>{const _0x224b26=a22_0x58eb7f,_0x35e0ba=fs['createReadStream'](_0x251ff8);_0x35e0ba['on']('error',function(_0x59ed6a){const _0x46ed10=a22_0xd138;_0x59ed6a&&console[_0x46ed10(0x15b)](_0x46ed10(0x161),_0x251ff8),_0x29312b&&_0x29312b(_0x59ed6a);});const _0x1bcd3e=fs['createWriteStream'](_0xc6b44d);_0x1bcd3e['on'](_0x224b26(0x162),function(_0x4e9eb8){const _0x355e1e=_0x224b26;_0x4e9eb8&&console['log'](_0x355e1e(0x16f),_0xc6b44d),_0x29312b&&_0x29312b(_0x4e9eb8);}),_0x1bcd3e['on'](_0x224b26(0x171),function(_0x56fc6d){_0x29312b&&_0x29312b(_0x56fc6d);}),_0x35e0ba['pipe'](_0x1bcd3e);},exports[a22_0x58eb7f(0x153)]=(_0x43f568,_0x4a5c12)=>{const _0x1dd1b6=a22_0x58eb7f,_0x4ab726=this,_0x1ffdf3=fs[_0x1dd1b6(0x16a)](_0x43f568);_0x1ffdf3['forEach'](_0x67899c=>{const _0x473d3f=_0x1dd1b6,_0x413ce5=_0x43f568+'/'+_0x67899c,_0x39f67a=fs['statSync'](_0x413ce5);_0x39f67a['isDirectory']()?_0x4ab726[_0x473d3f(0x153)](_0x413ce5,_0x4a5c12):_0x4a5c12[_0x473d3f(0x15d)](_0x413ce5);});},exports[a22_0x58eb7f(0x15e)]=(_0x1dc6f8,_0x4f0267)=>{return new Promise(_0x333195=>{const _0x2a0bde=a22_0xd138,_0x2740f7=[];_0x4f0267[_0x2a0bde(0x172)]((_0x1c9173,_0x25dbab)=>{const _0x4a1e3c=_0x2a0bde,_0x4bc76a=_0x1dc6f8+'/'+_0x2740f7[_0x4a1e3c(0x155)]('/')+'/'+_0x1c9173;try{const _0x3f2e6c=fs[_0x4a1e3c(0x16e)](_0x4bc76a);_0x3f2e6c[_0x4a1e3c(0x168)]()?_0x25dbab===_0x4f0267[_0x4a1e3c(0x170)]-0x1&&_0x333195():(fs[_0x4a1e3c(0x16c)](_0x4bc76a),_0x25dbab===_0x4f0267[_0x4a1e3c(0x170)]-0x1&&_0x333195());}catch(_0x2abe46){fs['mkdirSync'](_0x4bc76a),_0x25dbab===_0x4f0267[_0x4a1e3c(0x170)]-0x1&&_0x333195();}_0x2740f7['push'](_0x1c9173);});});};