jjb-cmd 2.1.17 → 2.1.18

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.18</p>
6
+ <div>init命令初始化完成,增加询问是否立即安装项目 - 优化完善</div>
7
+ </li>
4
8
  <li>
5
9
  <p>2.1.17</p>
6
10
  <div>init命令初始化完成,增加询问是否立即安装项目</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.17",
4
+ "version": "2.1.18",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x52f4d1=a0_0x2aae;(function(_0x1ee6af,_0xc980db){const _0x570e72=a0_0x2aae,_0x1ea22c=_0x1ee6af();while(!![]){try{const _0x2243b5=-parseInt(_0x570e72(0x7d))/0x1+-parseInt(_0x570e72(0x73))/0x2*(parseInt(_0x570e72(0x7e))/0x3)+-parseInt(_0x570e72(0x75))/0x4*(parseInt(_0x570e72(0x80))/0x5)+-parseInt(_0x570e72(0x6f))/0x6*(parseInt(_0x570e72(0x7b))/0x7)+-parseInt(_0x570e72(0x72))/0x8+-parseInt(_0x570e72(0x6a))/0x9+-parseInt(_0x570e72(0x6e))/0xa*(-parseInt(_0x570e72(0x71))/0xb);if(_0x2243b5===_0xc980db)break;else _0x1ea22c['push'](_0x1ea22c['shift']());}catch(_0x42be3){_0x1ea22c['push'](_0x1ea22c['shift']());}}}(a0_0x489d,0x51a38));function a0_0x489d(){const _0x5901cf=['Auth\x20NetWork\x20Fail!','8NVXQOB','log','../../../.auth','unlinkSync','path','catch','14HEhFjA','data','43990UMWYtm','3cvbplt','../cmd.install/config','952765sgQvyK','Auth\x20Success!','writeFileSync','3267657YZUMYV','join','status','then','29670knlaKv','1267212PyzpUU','/api/auth','9746jJnHSz','4216592SLxzUv','1113446CgWQUv'];a0_0x489d=function(){return _0x5901cf;};return a0_0x489d();}const axios=require('axios'),fs=require('fs'),path=require(a0_0x52f4d1(0x79)),{API_HOST}=require(a0_0x52f4d1(0x7f));function a0_0x2aae(_0x5631f7,_0x3735a3){const _0x489d5b=a0_0x489d();return a0_0x2aae=function(_0x2aaea1,_0x71b788){_0x2aaea1=_0x2aaea1-0x69;let _0x24b549=_0x489d5b[_0x2aaea1];return _0x24b549;},a0_0x2aae(_0x5631f7,_0x3735a3);}module['exports']=_0x2dd1ea=>{const _0x5cfeaa=a0_0x52f4d1;console[_0x5cfeaa(0x76)](_0x2dd1ea);const [_0x4ac34e,_0x164194]=_0x2dd1ea;axios['post'](API_HOST+_0x5cfeaa(0x70),{'username':_0x4ac34e,'password':_0x164194})[_0x5cfeaa(0x6d)](_0x54b490=>{const _0x2763f4=_0x5cfeaa,_0x150901=path[_0x2763f4(0x6b)](__dirname,_0x2763f4(0x77));_0x54b490[_0x2763f4(0x7c)][_0x2763f4(0x6c)]?(console[_0x2763f4(0x76)](_0x2763f4(0x81)),fs[_0x2763f4(0x69)](_0x150901,_0x4ac34e+'/'+_0x164194)):(console['log']('Auth\x20Fail!'),fs['existsSync'](_0x150901)&&fs[_0x2763f4(0x78)](_0x150901));})[_0x5cfeaa(0x7a)](_0x760c6d=>{const _0x2b86cc=_0x5cfeaa;console[_0x2b86cc(0x76)](_0x2b86cc(0x74));});};
1
+ const a0_0x4ea82a=a0_0x3d76;(function(_0x41012e,_0x1eb29a){const _0x1c67aa=a0_0x3d76,_0x4c06e4=_0x41012e();while(!![]){try{const _0x35d37d=parseInt(_0x1c67aa(0x10f))/0x1*(-parseInt(_0x1c67aa(0x102))/0x2)+parseInt(_0x1c67aa(0x115))/0x3+-parseInt(_0x1c67aa(0x106))/0x4*(-parseInt(_0x1c67aa(0x105))/0x5)+parseInt(_0x1c67aa(0x117))/0x6*(parseInt(_0x1c67aa(0x118))/0x7)+-parseInt(_0x1c67aa(0x10a))/0x8*(-parseInt(_0x1c67aa(0x116))/0x9)+parseInt(_0x1c67aa(0x112))/0xa*(-parseInt(_0x1c67aa(0x10c))/0xb)+-parseInt(_0x1c67aa(0x103))/0xc*(parseInt(_0x1c67aa(0x10e))/0xd);if(_0x35d37d===_0x1eb29a)break;else _0x4c06e4['push'](_0x4c06e4['shift']());}catch(_0x98cf4d){_0x4c06e4['push'](_0x4c06e4['shift']());}}}(a0_0x336d,0xb0a09));function a0_0x336d(){const _0x2909e1=['path','writeFileSync','62iRXFNo','250164Jifkmx','unlinkSync','10UbtSev','2285372FUUVNg','Auth\x20NetWork\x20Fail!','log','exports','747200CLCyhC','join','8852811MWnFxJ','Auth\x20Success!','299FMKJJh','26489uuKxlW','status','then','10biAbVA','/api/auth','../cmd.install/config','3476403MYtUpt','36gQYxof','1266EBwMvN','5103aQFRDt','axios','data'];a0_0x336d=function(){return _0x2909e1;};return a0_0x336d();}function a0_0x3d76(_0xea50f8,_0x460aa1){const _0x336dfc=a0_0x336d();return a0_0x3d76=function(_0x3d763,_0x464745){_0x3d763=_0x3d763-0x102;let _0x5c0b51=_0x336dfc[_0x3d763];return _0x5c0b51;},a0_0x3d76(_0xea50f8,_0x460aa1);}const axios=require(a0_0x4ea82a(0x119)),fs=require('fs'),path=require(a0_0x4ea82a(0x11b)),{API_HOST}=require(a0_0x4ea82a(0x114));module[a0_0x4ea82a(0x109)]=_0x4b60d3=>{const _0x4235b2=a0_0x4ea82a;console['log'](_0x4b60d3);const [_0x594796,_0x54cfff]=_0x4b60d3;axios['post'](API_HOST+_0x4235b2(0x113),{'username':_0x594796,'password':_0x54cfff})[_0x4235b2(0x111)](_0x1029dc=>{const _0x4d267f=_0x4235b2,_0x179b5a=path[_0x4d267f(0x10b)](__dirname,'../../../.auth');_0x1029dc[_0x4d267f(0x11a)][_0x4d267f(0x110)]?(console[_0x4d267f(0x108)](_0x4d267f(0x10d)),fs[_0x4d267f(0x11c)](_0x179b5a,_0x594796+'/'+_0x54cfff)):(console[_0x4d267f(0x108)]('Auth\x20Fail!'),fs['existsSync'](_0x179b5a)&&fs[_0x4d267f(0x104)](_0x179b5a));})['catch'](_0x5c3aef=>{const _0x455d69=_0x4235b2;console[_0x455d69(0x108)](_0x455d69(0x107));});};
@@ -1 +1 @@
1
- function a1_0x3b54(_0x3dc172,_0x749f5a){const _0x2c3706=a1_0x2c37();return a1_0x3b54=function(_0x3b546a,_0xb7f181){_0x3b546a=_0x3b546a-0xb8;let _0x1a7750=_0x2c3706[_0x3b546a];return _0x1a7750;},a1_0x3b54(_0x3dc172,_0x749f5a);}function a1_0x2c37(){const _0x395bdd=['tmpdir','request','createInterface','projectId','exit','【Error】:初始化失败,','/repository/archive.zip?private_token=','createWriteStream','不存在。','stdin','&ref=master','then','forEach','log','question','stdout','-master-','mkdirSync','yarn','78331bVCpog','trim','pipe','indexOf','npm','515892svIZky','25218HpFDlj','208775kRstJP','resolve','includes','.zip','CopyFolder','execSync','child_process','jjb-cmd\x20install.app\x20','5TotnOU','../../old/util','62xcOdex','2113460WwDNvh','16QTktsY','zip','exports','DeleteDirAllFile','path','2889810wbVoNb','初始化完成?请选择安装方式![yarn/npm]:','close','298614FTgCdg'];a1_0x2c37=function(){return _0x395bdd;};return a1_0x2c37();}const a1_0x2883a2=a1_0x3b54;(function(_0x2912c0,_0x7491af){const _0x25d7ce=a1_0x3b54,_0x1f8432=_0x2912c0();while(!![]){try{const _0x149fce=parseInt(_0x25d7ce(0xc8))/0x1+parseInt(_0x25d7ce(0xd9))/0x2*(parseInt(_0x25d7ce(0xce))/0x3)+parseInt(_0x25d7ce(0xcd))/0x4*(parseInt(_0x25d7ce(0xd7))/0x5)+-parseInt(_0x25d7ce(0xe3))/0x6+parseInt(_0x25d7ce(0xcf))/0x7*(-parseInt(_0x25d7ce(0xdb))/0x8)+-parseInt(_0x25d7ce(0xe0))/0x9+parseInt(_0x25d7ce(0xda))/0xa;if(_0x149fce===_0x7491af)break;else _0x1f8432['push'](_0x1f8432['shift']());}catch(_0x196072){_0x1f8432['push'](_0x1f8432['shift']());}}}(a1_0x2c37,0x3cb97));const fs=require('fs'),os=require('os'),path=require(a1_0x2883a2(0xdf)),request=require(a1_0x2883a2(0xe5)),utils=require(a1_0x2883a2(0xd8)),compressing=require('compressing'),io=readline[a1_0x2883a2(0xe6)]({'input':process[a1_0x2883a2(0xbe)],'output':process[a1_0x2883a2(0xc4)]}),child_process=require(a1_0x2883a2(0xd5)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config');module[a1_0x2883a2(0xdd)]=_0x59534d=>{const _0x338cae=a1_0x2883a2,_0xed63b=path[_0x338cae(0xd0)]('./'),_0x35ca41=CLOUD_PROJECT[_0x59534d]||undefined;if(_0x35ca41){const _0x5c52df=os[_0x338cae(0xe4)](),_0x495e6f=_0x5c52df+'/'+GIT_TEMP_DIR+'/'+_0x59534d+_0x338cae(0xd2),_0x2dcb71=_0x5c52df+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x338cae(0xde)](_0x5c52df+'/'+GIT_TEMP_DIR,()=>{const _0x52e635=_0x338cae;fs['mkdirSync'](_0x5c52df+'/'+GIT_TEMP_DIR);let _0x4d74f9=fs[_0x52e635(0xbc)](_0x495e6f);request(GIT_HOST+'/api/v4/projects/'+_0x35ca41[_0x52e635(0xb8)]+_0x52e635(0xbb)+_0x35ca41['token']+_0x52e635(0xbf))[_0x52e635(0xca)](_0x4d74f9)['on'](_0x52e635(0xe2),()=>{const _0x10ec25=_0x52e635;fs[_0x10ec25(0xc6)](_0x2dcb71),compressing[_0x10ec25(0xdc)]['uncompress'](_0x495e6f,_0x2dcb71)[_0x10ec25(0xc0)](()=>{setTimeout(()=>{const _0x1e3468=a1_0x3b54;fs['readdirSync'](_0x2dcb71)[_0x1e3468(0xc1)](_0x5e7d47=>{const _0x4dce92=_0x1e3468;_0x5e7d47[_0x4dce92(0xcb)](_0x4dce92(0xc5))!==-0x1&&utils[_0x4dce92(0xd3)](_0x2dcb71+_0x5e7d47,_0xed63b,()=>{const _0x4c9572=_0x4dce92;io[_0x4c9572(0xc3)](_0x4c9572(0xe1),function(_0x499eaf){const _0x4dc45b=_0x4c9572;[_0x4dc45b(0xc7),_0x4dc45b(0xcc)][_0x4dc45b(0xd1)](_0x499eaf[_0x4dc45b(0xc9)]())?child_process[_0x4dc45b(0xd4)](_0x4dc45b(0xd6)+_0x499eaf[_0x4dc45b(0xc9)](),{'cwd':_0xed63b}):(console[_0x4dc45b(0xc2)]('初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!'),process[_0x4dc45b(0xb9)](0x0));});});});},0x7d0);});});});}else console['log'](_0x338cae(0xba)+_0x59534d+_0x338cae(0xbd));};
1
+ const a1_0x56b963=a1_0x3fd5;(function(_0x536878,_0x59b285){const _0x2db5ad=a1_0x3fd5,_0x3644fa=_0x536878();while(!![]){try{const _0x5db585=parseInt(_0x2db5ad(0x1f9))/0x1*(-parseInt(_0x2db5ad(0x1fa))/0x2)+parseInt(_0x2db5ad(0x1d2))/0x3*(parseInt(_0x2db5ad(0x1d8))/0x4)+-parseInt(_0x2db5ad(0x1d7))/0x5+parseInt(_0x2db5ad(0x1ec))/0x6+parseInt(_0x2db5ad(0x1dc))/0x7+-parseInt(_0x2db5ad(0x1ef))/0x8*(-parseInt(_0x2db5ad(0x1d6))/0x9)+-parseInt(_0x2db5ad(0x1ee))/0xa;if(_0x5db585===_0x59b285)break;else _0x3644fa['push'](_0x3644fa['shift']());}catch(_0x481058){_0x3644fa['push'](_0x3644fa['shift']());}}}(a1_0x196d,0x928d2));const fs=require('fs'),os=require('os'),path=require(a1_0x56b963(0x1e8)),request=require(a1_0x56b963(0x1e9)),utils=require('../../old/util'),compressing=require(a1_0x56b963(0x1d1)),readline=require(a1_0x56b963(0x1f3)),io=readline['createInterface']({'input':process[a1_0x56b963(0x1d0)],'output':process[a1_0x56b963(0x1f0)]}),child_process=require(a1_0x56b963(0x1ce)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config');module[a1_0x56b963(0x1da)]=_0x42496e=>{const _0x50309d=a1_0x56b963,_0x309276=path[_0x50309d(0x1df)]('./'),_0x1c2881=CLOUD_PROJECT[_0x42496e]||undefined;if(_0x1c2881){const _0x519694=os[_0x50309d(0x1d9)](),_0x283408=_0x519694+'/'+GIT_TEMP_DIR+'/'+_0x42496e+'.zip',_0x17ad1a=_0x519694+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x50309d(0x1e0)](_0x519694+'/'+GIT_TEMP_DIR,()=>{const _0x47715e=_0x50309d;fs[_0x47715e(0x1f4)](_0x519694+'/'+GIT_TEMP_DIR);let _0x286c41=fs[_0x47715e(0x1db)](_0x283408);request(GIT_HOST+_0x47715e(0x1ed)+_0x1c2881['projectId']+_0x47715e(0x1f2)+_0x1c2881[_0x47715e(0x1f1)]+'&ref=master')['pipe'](_0x286c41)['on'](_0x47715e(0x1e6),()=>{const _0x60a114=_0x47715e;fs['mkdirSync'](_0x17ad1a),compressing[_0x60a114(0x1de)][_0x60a114(0x1dd)](_0x283408,_0x17ad1a)[_0x60a114(0x1ea)](()=>{setTimeout(()=>{const _0x24923a=a1_0x3fd5;fs[_0x24923a(0x1d4)](_0x17ad1a)['forEach'](_0x193b1f=>{const _0x4d7068=_0x24923a;_0x193b1f[_0x4d7068(0x1cf)](_0x4d7068(0x1eb))!==-0x1&&utils[_0x4d7068(0x1e2)](_0x17ad1a+_0x193b1f,_0x309276,()=>{const _0xf20782=_0x4d7068;io[_0xf20782(0x1e1)](_0xf20782(0x1f8),function(_0x4a2361){const _0x4da071=_0xf20782;['yarn','npm'][_0x4da071(0x1e5)](_0x4a2361[_0x4da071(0x1f5)]())?(console[_0x4da071(0x1e3)](_0x4da071(0x1cd)),child_process[_0x4da071(0x1f7)](_0x4da071(0x1d3)+_0x4a2361['trim'](),{'cwd':_0x309276}),console[_0x4da071(0x1e3)](_0x4da071(0x1e4)),process[_0x4da071(0x1d5)](0x0)):(console[_0x4da071(0x1e3)](_0x4da071(0x1f6)),process[_0x4da071(0x1d5)](0x0));});});});},0x7d0);});});});}else console['log']('【Error】:初始化失败,'+_0x42496e+_0x50309d(0x1e7));};function a1_0x3fd5(_0x3f1c38,_0x231092){const _0x196d1a=a1_0x196d();return a1_0x3fd5=function(_0x3fd580,_0x2feffa){_0x3fd580=_0x3fd580-0x1cd;let _0x1b0214=_0x196d1a[_0x3fd580];return _0x1b0214;},a1_0x3fd5(_0x3f1c38,_0x231092);}function a1_0x196d(){const _0x3298b5=['CopyFolder','log','安装完成,祝您愉快编码!','includes','close','不存在。','path','request','then','-master-','2858070tnndIE','/api/v4/projects/','7914580wqojHI','2168KQJCwG','stdout','token','/repository/archive.zip?private_token=','readline','mkdirSync','trim','初始化完成!请自行使用jjb-cmd\x20install.app\x20yarn/npm安装项目!','execSync','初始化完成?请选择安装方式![yarn/npm]:','342mEAuYg','376xsIISO','安装中,请耐心等待...','child_process','indexOf','stdin','compressing','3ZjMami','jjb-cmd\x20install.app\x20','readdirSync','exit','10845vIwRYF','1024950BOeUxL','1533164OtVBvY','tmpdir','exports','createWriteStream','3323789uIlITk','uncompress','zip','resolve','DeleteDirAllFile','question'];a1_0x196d=function(){return _0x3298b5;};return a1_0x196d();}
@@ -1 +1 @@
1
- const a2_0xc03bc1=a2_0x490e;function a2_0x490e(_0x4d6559,_0x363582){const _0x53b0da=a2_0x53b0();return a2_0x490e=function(_0x490e35,_0x12d770){_0x490e35=_0x490e35-0x126;let _0x536bb7=_0x53b0da[_0x490e35];return _0x536bb7;},a2_0x490e(_0x4d6559,_0x363582);}(function(_0x21533e,_0x589a83){const _0x20a5e7=a2_0x490e,_0xfeba15=_0x21533e();while(!![]){try{const _0x4cd0fa=parseInt(_0x20a5e7(0x141))/0x1*(parseInt(_0x20a5e7(0x13f))/0x2)+parseInt(_0x20a5e7(0x12b))/0x3*(-parseInt(_0x20a5e7(0x145))/0x4)+parseInt(_0x20a5e7(0x140))/0x5*(-parseInt(_0x20a5e7(0x12a))/0x6)+parseInt(_0x20a5e7(0x13b))/0x7*(parseInt(_0x20a5e7(0x12c))/0x8)+parseInt(_0x20a5e7(0x13c))/0x9+parseInt(_0x20a5e7(0x129))/0xa+-parseInt(_0x20a5e7(0x127))/0xb*(parseInt(_0x20a5e7(0x137))/0xc);if(_0x4cd0fa===_0x589a83)break;else _0xfeba15['push'](_0xfeba15['shift']());}catch(_0x3c77fe){_0xfeba15['push'](_0xfeba15['shift']());}}}(a2_0x53b0,0x59be5));const os=require('os');exports[a2_0xc03bc1(0x136)]=a2_0xc03bc1(0x12e),exports[a2_0xc03bc1(0x134)]='http://120.26.210.58:8088',exports['GIT_HOST']=a2_0xc03bc1(0x142),exports[a2_0xc03bc1(0x13e)]='jjb-assembly-'+Date[a2_0xc03bc1(0x132)](),exports['GIT_TEMP_JAVA']=a2_0xc03bc1(0x133),exports[a2_0xc03bc1(0x13a)]={'development':'dev','production':a2_0xc03bc1(0x138),'test':a2_0xc03bc1(0x131)},exports[a2_0xc03bc1(0x13d)]={'common':{'token':a2_0xc03bc1(0x12d),'projectId':0x117},'react-admin-component':{'token':a2_0xc03bc1(0x126),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0xc03bc1(0x143),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a2_0xc03bc1(0x12f),'projectId':0x23e},'vue-unisass-component':{'token':a2_0xc03bc1(0x135),'projectId':0x153},'react-component':{'token':'snBxJ2i5kYarGGcsojhY','projectId':0x33f},'micro-app-ts':{'token':a2_0xc03bc1(0x144),'projectId':0x33e},'micro-app':{'token':a2_0xc03bc1(0x130),'projectId':0x33d},'lib':{'token':a2_0xc03bc1(0x128),'projectId':0x33c}},exports[a2_0xc03bc1(0x139)]=os['tmpdir']()+'\x5c'+exports[a2_0xc03bc1(0x13e)];function a2_0x53b0(){const _0x507064=['672AOtVYS','2999025wCEmrp','CLOUD_PROJECT','GIT_TEMP_DIR','18htXiAH','1190TbsnCp','16814cVkeOn','http://192.168.1.242:10985','hLqARY89CN6fUD3yg4NL','7V-YUxhmh51Mdhgx4rq4','4ZkNsLe','FT3pKzxpRynFkmddJ9Bs','33Mqczmy','ywPtT3xCG6b_vAxp6sTj','2112630xSKPtq','6822cyXjtJ','1824483PgAiCw','49712rGFINf','G4HJRsHr9D7Ssmixegw2','https://cdn.cqjjb.cn/jjb-cloud-config','gPSit8aJsLVmNzuQ5Cy4','FqNrmFAgrxasMrbbjvq9','test','now','jjb-assembly-java','API_HOST','d4wQ7dzEjYPsgVbKnYei','CONFIG_FILE_HOST','184008TicNDL','prod','TEMPLATE_FOLDER','GIT_JAVA_ENV_JSON'];a2_0x53b0=function(){return _0x507064;};return a2_0x53b0();}
1
+ const a2_0x35c26f=a2_0x43f8;function a2_0x356b(){const _0x4f239f=['818270pMHiKL','1949319zZHQES','60308bajdqB','hLqARY89CN6fUD3yg4NL','143bFMtUn','1RbTuFs','now','tmpdir','ywPtT3xCG6b_vAxp6sTj','FT3pKzxpRynFkmddJ9Bs','4067648ZlyBev','68802pJjlxv','54IMlbta','gPSit8aJsLVmNzuQ5Cy4','TEMPLATE_FOLDER','287arMSTZ','CLOUD_PROJECT','240NJnEpw','d4wQ7dzEjYPsgVbKnYei','GIT_TEMP_DIR','http://120.26.210.58:8088','546038BcrlFJ','dev','http://192.168.1.242:10985','test','GIT_HOST','FqNrmFAgrxasMrbbjvq9','snBxJ2i5kYarGGcsojhY','CONFIG_FILE_HOST','1957428HZkibV','GIT_JAVA_ENV_JSON','e9njpBd1nS_LREN8GFpR','GIT_TEMP_JAVA','prod'];a2_0x356b=function(){return _0x4f239f;};return a2_0x356b();}function a2_0x43f8(_0x6b82bb,_0x58645c){const _0x356b15=a2_0x356b();return a2_0x43f8=function(_0x43f882,_0x6347de){_0x43f882=_0x43f882-0x170;let _0x797d3e=_0x356b15[_0x43f882];return _0x797d3e;},a2_0x43f8(_0x6b82bb,_0x58645c);}(function(_0x465bb1,_0x17b5e5){const _0x4468a4=a2_0x43f8,_0x113cbd=_0x465bb1();while(!![]){try{const _0x513f99=parseInt(_0x4468a4(0x18c))/0x1*(-parseInt(_0x4468a4(0x17a))/0x2)+-parseInt(_0x4468a4(0x188))/0x3+-parseInt(_0x4468a4(0x189))/0x4*(-parseInt(_0x4468a4(0x176))/0x5)+-parseInt(_0x4468a4(0x170))/0x6*(parseInt(_0x4468a4(0x174))/0x7)+-parseInt(_0x4468a4(0x191))/0x8+-parseInt(_0x4468a4(0x171))/0x9*(parseInt(_0x4468a4(0x187))/0xa)+-parseInt(_0x4468a4(0x18b))/0xb*(-parseInt(_0x4468a4(0x182))/0xc);if(_0x513f99===_0x17b5e5)break;else _0x113cbd['push'](_0x113cbd['shift']());}catch(_0x1cb441){_0x113cbd['push'](_0x113cbd['shift']());}}}(a2_0x356b,0x6e52e));const os=require('os');exports[a2_0x35c26f(0x181)]='https://cdn.cqjjb.cn/jjb-cloud-config',exports['API_HOST']=a2_0x35c26f(0x179),exports[a2_0x35c26f(0x17e)]=a2_0x35c26f(0x17c),exports[a2_0x35c26f(0x178)]='jjb-assembly-'+Date[a2_0x35c26f(0x18d)](),exports[a2_0x35c26f(0x185)]='jjb-assembly-java',exports[a2_0x35c26f(0x183)]={'development':a2_0x35c26f(0x17b),'production':a2_0x35c26f(0x186),'test':a2_0x35c26f(0x17d)},exports[a2_0x35c26f(0x175)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a2_0x35c26f(0x190),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x35c26f(0x18a),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x35c26f(0x184),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x35c26f(0x172),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x35c26f(0x177),'projectId':0x153},'react-component':{'token':a2_0x35c26f(0x180),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':a2_0x35c26f(0x17f),'projectId':0x33d},'lib':{'token':a2_0x35c26f(0x18f),'projectId':0x33c}},exports[a2_0x35c26f(0x173)]=os[a2_0x35c26f(0x18e)]()+'\x5c'+exports[a2_0x35c26f(0x178)];
@@ -1 +1 @@
1
- const a3_0x1cdd7e=a3_0x2e09;(function(_0x12e8fa,_0x80f675){const _0x2d7a75=a3_0x2e09,_0x23032a=_0x12e8fa();while(!![]){try{const _0x1cb3ac=parseInt(_0x2d7a75(0x1a3))/0x1*(parseInt(_0x2d7a75(0x1a5))/0x2)+-parseInt(_0x2d7a75(0x189))/0x3*(parseInt(_0x2d7a75(0x18e))/0x4)+-parseInt(_0x2d7a75(0x1a4))/0x5+parseInt(_0x2d7a75(0x18c))/0x6*(-parseInt(_0x2d7a75(0x1ab))/0x7)+-parseInt(_0x2d7a75(0x1a7))/0x8*(parseInt(_0x2d7a75(0x18f))/0x9)+-parseInt(_0x2d7a75(0x1ac))/0xa+parseInt(_0x2d7a75(0x184))/0xb;if(_0x1cb3ac===_0x80f675)break;else _0x23032a['push'](_0x23032a['shift']());}catch(_0x47b634){_0x23032a['push'](_0x23032a['shift']());}}}(a3_0x2f2a,0x4815e));function a3_0x2e09(_0x108fcc,_0x59be3c){const _0x2f2a9a=a3_0x2f2a();return a3_0x2e09=function(_0x2e0926,_0x5d4579){_0x2e0926=_0x2e0926-0x17e;let _0x3852bb=_0x2f2a9a[_0x2e0926];return _0x3852bb;},a3_0x2e09(_0x108fcc,_0x59be3c);}const fs=require('fs'),path=require(a3_0x1cdd7e(0x1a9)),request=require(a3_0x1cdd7e(0x18a)),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_0x1cdd7e(0x17e)),{TEMPLATE_FOLDER}=require(a3_0x1cdd7e(0x1ad)),start_time=Date[a3_0x1cdd7e(0x190)]();function a3_0x2f2a(){const _0x100e83=['287QTIJYz','708310IMFgEZ','./config','resolve','.idea','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','unlinkSync','./tools','\x5ctypes','installResources','length','includes','rmdirSync','5095838zcdHEg','.gitignore','forEach','mkdirSync','【jjb-cmd】:install命令执行完成,用时','359673joKyKD','request','join','28968nnKRXz','_zip','4NEiwFs','558hyWfXP','now','src','createWriteStream','exit','name','filter','log','map','installTarget','compress','zip','【Error】:安装失败,src目录不存在。','package.json','pure_name','node_modules','readdirSync','1.0.0','setting.json','index.js','522833eMcuTx','1003325MAyxNr','2NtzMgy','exports','13096ZZLtcw','uncompress','path','existsSync'];a3_0x2f2a=function(){return _0x100e83;};return a3_0x2f2a();}module[a3_0x1cdd7e(0x1a6)]=()=>{const _0x4343f0=a3_0x1cdd7e,_0x4bf275=path[_0x4343f0(0x1ae)]('./'),_0x1b2ba0=[_0x4bf275,'src\x5c'][_0x4343f0(0x18b)]('\x5c'),_0x50220d=[_0x4bf275,'node_modules'][_0x4343f0(0x18b)]('\x5c'),_0x53b639=[_0x4bf275,_0x4343f0(0x19c)][_0x4343f0(0x18b)]('\x5c');if(f_scan_jjb_config_json(_0x4bf275)){const _0x561d98=f_scan_jjb_config_json_rules(_0x4bf275);_0x561d98[_0x4343f0(0x198)]===_0x4343f0(0x19e)?!fs[_0x4343f0(0x1aa)](_0x50220d)?(console[_0x4343f0(0x196)]('【Error】:安装失败,node_modules目录不存在。'),process['exit'](0x0)):console[_0x4343f0(0x196)]('【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。'):!fs['existsSync'](_0x1b2ba0)&&(console[_0x4343f0(0x196)](_0x4343f0(0x19b)),process[_0x4343f0(0x193)](0x0));fs[_0x4343f0(0x187)](TEMPLATE_FOLDER),f_pull_git_repository(_0x561d98['installResources'])[_0x4343f0(0x197)](_0x50d314=>{const _0x44546a=_0x4343f0,_0x518bd6=fs[_0x44546a(0x192)](_0x50d314['path']);request(_0x50d314['repository'])['pipe'](_0x518bd6)['on']('close',()=>{const _0x2316ab=_0x44546a;fs[_0x2316ab(0x187)](_0x50d314[_0x2316ab(0x199)]),compressing[_0x2316ab(0x19a)][_0x2316ab(0x1a8)](_0x50d314[_0x2316ab(0x1a9)],_0x50d314[_0x2316ab(0x199)]);});});const _0x201f0e=setInterval(()=>{const _0x4b7d29=_0x4343f0,_0x5e7549=fs[_0x4b7d29(0x19f)](TEMPLATE_FOLDER),_0x226a56=_0x5e7549[_0x4b7d29(0x195)](_0x4e6e3b=>_0x561d98[_0x4b7d29(0x180)][_0x4b7d29(0x197)](_0x3c98b4=>_0x3c98b4[_0x4b7d29(0x194)]+_0x4b7d29(0x18d))[_0x4b7d29(0x182)](_0x4e6e3b));if(_0x226a56[_0x4b7d29(0x181)]===_0x561d98[_0x4b7d29(0x180)]['length']){clearInterval(_0x201f0e);const _0x2ca5a5=[];_0x226a56[_0x4b7d29(0x186)](_0x2f12c9=>{const _0x5917e2=_0x4b7d29,_0x4278e5=[TEMPLATE_FOLDER,_0x2f12c9][_0x5917e2(0x18b)]('\x5c');fs['readdirSync'](_0x4278e5)[_0x5917e2(0x186)](_0x21c8aa=>_0x2ca5a5['push']({'name':_0x2f12c9,'path':[_0x4278e5,_0x21c8aa]['join']('\x5c'),'pure_name':_0x2f12c9['replace'](/_zip$/,''),'import_list':_0x561d98[_0x5917e2(0x180)]['find'](_0x491be8=>_0x491be8[_0x5917e2(0x194)]+_0x5917e2(0x18d)===_0x2f12c9)['importList']}));}),_0x2ca5a5[_0x4b7d29(0x186)](_0x176bea=>{const _0xa24f4c=_0x4b7d29,_0x1e7dd4=_0x176bea[_0xa24f4c(0x19d)],_0x5cdb0f=_0x176bea['import_list'],_0x2afaf5=[_0x176bea['path'],_0xa24f4c(0x1af)][_0xa24f4c(0x18b)]('//'),_0x5d9d48=[_0x176bea[_0xa24f4c(0x1a9)],_0xa24f4c(0x185)]['join']('//');fs[_0xa24f4c(0x1aa)](_0x2afaf5)&&(f_rm_rf(_0x2afaf5),fs[_0xa24f4c(0x183)](_0x2afaf5));fs[_0xa24f4c(0x1aa)](_0x5d9d48)&&fs[_0xa24f4c(0x1b1)](_0x5d9d48);_0x5cdb0f[_0xa24f4c(0x181)]&&fs[_0xa24f4c(0x19f)](_0x176bea[_0xa24f4c(0x1a9)])[_0xa24f4c(0x195)](_0xc1554c=>!_0x5cdb0f[_0xa24f4c(0x182)](_0xc1554c)&&_0xc1554c!==_0xa24f4c(0x1a2)&&_0xc1554c!==_0xa24f4c(0x1a1))[_0xa24f4c(0x186)](_0xb3b2e9=>{const _0x156925=_0xa24f4c,_0x39b7a4=_0x176bea[_0x156925(0x1a9)]+'\x5c'+_0xb3b2e9;f_rm_rf(_0x39b7a4),fs[_0x156925(0x183)](_0x39b7a4);});if(_0x561d98[_0xa24f4c(0x198)]===_0xa24f4c(0x19e)){const _0xaf5a60=_0x1e7dd4;fs[_0xa24f4c(0x1aa)](_0x50220d+'\x5c'+_0xaf5a60)?f_rm_rf(_0x50220d+'\x5c'+_0xaf5a60):fs[_0xa24f4c(0x187)](_0x50220d+'\x5c'+_0xaf5a60),_0xaf5a60!=='jjb-common-lib'?(f_file_copy(_0x176bea['path'],_0x50220d+'\x5c'+_0xaf5a60),f_create_package_json(_0x50220d+'\x5c'+_0xaf5a60,_0xaf5a60,_0xa24f4c(0x1a0))):f_file_copy(_0x176bea['path']+_0xa24f4c(0x17f),_0x50220d+'\x5c'+_0xaf5a60),f_update_project_package_json(_0x53b639,_0xaf5a60,_0xa24f4c(0x1a0));}else _0x561d98[_0xa24f4c(0x198)]===_0xa24f4c(0x191)&&(fs['existsSync'](_0x1b2ba0+_0x1e7dd4)?f_rm_rf(_0x1b2ba0+_0x1e7dd4):fs[_0xa24f4c(0x187)](_0x1b2ba0+_0x1e7dd4),f_file_copy(_0x176bea['path'],_0x1b2ba0+_0x1e7dd4));}),setTimeout(()=>{const _0x3b7f5f=_0x4b7d29;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x131cd6=Date[_0x3b7f5f(0x190)]();console[_0x3b7f5f(0x196)](_0x3b7f5f(0x188)+(_0x131cd6-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4343f0(0x196)](_0x4343f0(0x1b0));};
1
+ const a3_0x34abb3=a3_0x137c;(function(_0x37dbfa,_0x43142d){const _0x2080d3=a3_0x137c,_0x1fa3f4=_0x37dbfa();while(!![]){try{const _0x5857ae=parseInt(_0x2080d3(0x205))/0x1+-parseInt(_0x2080d3(0x215))/0x2*(parseInt(_0x2080d3(0x1f5))/0x3)+parseInt(_0x2080d3(0x1ef))/0x4+-parseInt(_0x2080d3(0x1f1))/0x5+parseInt(_0x2080d3(0x203))/0x6+-parseInt(_0x2080d3(0x1f7))/0x7*(-parseInt(_0x2080d3(0x213))/0x8)+-parseInt(_0x2080d3(0x212))/0x9*(parseInt(_0x2080d3(0x1e1))/0xa);if(_0x5857ae===_0x43142d)break;else _0x1fa3f4['push'](_0x1fa3f4['shift']());}catch(_0x559c23){_0x1fa3f4['push'](_0x1fa3f4['shift']());}}}(a3_0x2e12,0x4ced7));const fs=require('fs'),path=require(a3_0x34abb3(0x1eb)),request=require('request'),compressing=require(a3_0x34abb3(0x1e4)),{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('./tools'),{TEMPLATE_FOLDER}=require(a3_0x34abb3(0x1f0)),start_time=Date[a3_0x34abb3(0x201)]();function a3_0x137c(_0x193404,_0x56b53f){const _0x2e12ec=a3_0x2e12();return a3_0x137c=function(_0x137cfc,_0x2f5829){_0x137cfc=_0x137cfc-0x1e0;let _0x42ae81=_0x2e12ec[_0x137cfc];return _0x42ae81;},a3_0x137c(_0x193404,_0x56b53f);}module[a3_0x34abb3(0x20a)]=()=>{const _0x4f9695=a3_0x34abb3,_0x2b7668=path['resolve']('./'),_0x583428=[_0x2b7668,'src\x5c'][_0x4f9695(0x217)]('\x5c'),_0x4cda22=[_0x2b7668,'node_modules'][_0x4f9695(0x217)]('\x5c'),_0x585c65=[_0x2b7668,_0x4f9695(0x200)][_0x4f9695(0x217)]('\x5c');if(f_scan_jjb_config_json(_0x2b7668)){const _0x51a1b3=f_scan_jjb_config_json_rules(_0x2b7668);_0x51a1b3[_0x4f9695(0x1fd)]===_0x4f9695(0x1f2)?!fs[_0x4f9695(0x211)](_0x4cda22)?(console[_0x4f9695(0x20c)](_0x4f9695(0x1f9)),process[_0x4f9695(0x1e6)](0x0)):console[_0x4f9695(0x20c)](_0x4f9695(0x208)):!fs[_0x4f9695(0x211)](_0x583428)&&(console[_0x4f9695(0x20c)](_0x4f9695(0x1e0)),process[_0x4f9695(0x1e6)](0x0));fs[_0x4f9695(0x1ff)](TEMPLATE_FOLDER),f_pull_git_repository(_0x51a1b3[_0x4f9695(0x1ea)])[_0x4f9695(0x1e3)](_0x216467=>{const _0x161167=_0x4f9695,_0x40de0f=fs[_0x161167(0x20e)](_0x216467['path']);request(_0x216467[_0x161167(0x1f6)])[_0x161167(0x214)](_0x40de0f)['on']('close',()=>{const _0x4f683d=_0x161167;fs[_0x4f683d(0x1ff)](_0x216467[_0x4f683d(0x1f8)]),compressing[_0x4f683d(0x20d)][_0x4f683d(0x1ed)](_0x216467[_0x4f683d(0x1eb)],_0x216467[_0x4f683d(0x1f8)]);});});const _0xb86724=setInterval(()=>{const _0x499026=_0x4f9695,_0x4e2411=fs['readdirSync'](TEMPLATE_FOLDER),_0x2690f4=_0x4e2411['filter'](_0x2300b5=>_0x51a1b3[_0x499026(0x1ea)]['map'](_0x347f75=>_0x347f75[_0x499026(0x1f3)]+_0x499026(0x209))[_0x499026(0x1e8)](_0x2300b5));if(_0x2690f4[_0x499026(0x207)]===_0x51a1b3[_0x499026(0x1ea)]['length']){clearInterval(_0xb86724);const _0x483033=[];_0x2690f4[_0x499026(0x20f)](_0xa834ee=>{const _0x399b77=_0x499026,_0x1362d2=[TEMPLATE_FOLDER,_0xa834ee]['join']('\x5c');fs[_0x399b77(0x1fc)](_0x1362d2)['forEach'](_0x224efe=>_0x483033['push']({'name':_0xa834ee,'path':[_0x1362d2,_0x224efe][_0x399b77(0x217)]('\x5c'),'pure_name':_0xa834ee['replace'](/_zip$/,''),'import_list':_0x51a1b3[_0x399b77(0x1ea)]['find'](_0x22ce04=>_0x22ce04['name']+_0x399b77(0x209)===_0xa834ee)[_0x399b77(0x1ee)]}));}),_0x483033['forEach'](_0xb3a129=>{const _0x6fce88=_0x499026,_0x5a84e1=_0xb3a129[_0x6fce88(0x20b)],_0x3e4e4f=_0xb3a129[_0x6fce88(0x204)],_0x31a89e=[_0xb3a129[_0x6fce88(0x1eb)],_0x6fce88(0x216)][_0x6fce88(0x217)]('//'),_0x143940=[_0xb3a129[_0x6fce88(0x1eb)],_0x6fce88(0x1e9)][_0x6fce88(0x217)]('//');fs[_0x6fce88(0x211)](_0x31a89e)&&(f_rm_rf(_0x31a89e),fs[_0x6fce88(0x1f4)](_0x31a89e));fs[_0x6fce88(0x211)](_0x143940)&&fs[_0x6fce88(0x1e7)](_0x143940);_0x3e4e4f['length']&&fs[_0x6fce88(0x1fc)](_0xb3a129[_0x6fce88(0x1eb)])[_0x6fce88(0x1e5)](_0xc2fa04=>!_0x3e4e4f['includes'](_0xc2fa04)&&_0xc2fa04!==_0x6fce88(0x1fa)&&_0xc2fa04!==_0x6fce88(0x1ec))[_0x6fce88(0x20f)](_0x33c48b=>{const _0x3aed10=_0x6fce88,_0x2a9fef=_0xb3a129[_0x3aed10(0x1eb)]+'\x5c'+_0x33c48b;f_rm_rf(_0x2a9fef),fs[_0x3aed10(0x1f4)](_0x2a9fef);});if(_0x51a1b3[_0x6fce88(0x1fd)]===_0x6fce88(0x1f2)){const _0x4b02aa=_0x5a84e1;fs[_0x6fce88(0x211)](_0x4cda22+'\x5c'+_0x4b02aa)?f_rm_rf(_0x4cda22+'\x5c'+_0x4b02aa):fs[_0x6fce88(0x1ff)](_0x4cda22+'\x5c'+_0x4b02aa),_0x4b02aa!==_0x6fce88(0x210)?(f_file_copy(_0xb3a129[_0x6fce88(0x1eb)],_0x4cda22+'\x5c'+_0x4b02aa),f_create_package_json(_0x4cda22+'\x5c'+_0x4b02aa,_0x4b02aa,_0x6fce88(0x1fe))):f_file_copy(_0xb3a129[_0x6fce88(0x1eb)]+_0x6fce88(0x206),_0x4cda22+'\x5c'+_0x4b02aa),f_update_project_package_json(_0x585c65,_0x4b02aa,'1.0.0');}else _0x51a1b3[_0x6fce88(0x1fd)]===_0x6fce88(0x1fb)&&(fs[_0x6fce88(0x211)](_0x583428+_0x5a84e1)?f_rm_rf(_0x583428+_0x5a84e1):fs[_0x6fce88(0x1ff)](_0x583428+_0x5a84e1),f_file_copy(_0xb3a129['path'],_0x583428+_0x5a84e1));}),setTimeout(()=>{const _0x5d9f6f=_0x499026;f_rm_rf(TEMPLATE_FOLDER),fs[_0x5d9f6f(0x1f4)](TEMPLATE_FOLDER);const _0x56f9b0=Date[_0x5d9f6f(0x201)]();console['log'](_0x5d9f6f(0x1e2)+(_0x56f9b0-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4f9695(0x20c)](_0x4f9695(0x202));};function a3_0x2e12(){const _0x483d72=['filter','exit','unlinkSync','includes','.gitignore','installResources','path','setting.json','uncompress','importList','2515184VmoOcp','./config','1656550qLfupd','node_modules','name','rmdirSync','1089465OtdADN','repository','1610ICxNIM','compress','【Error】:安装失败,node_modules目录不存在。','index.js','src','readdirSync','installTarget','1.0.0','mkdirSync','package.json','now','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','1401390PEzgwp','import_list','607351HsyCsA','\x5ctypes','length','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','_zip','exports','pure_name','log','zip','createWriteStream','forEach','jjb-common-lib','existsSync','2124CIAkSp','880AghaOK','pipe','2lGAqWx','.idea','join','【Error】:安装失败,src目录不存在。','20570SwwwIw','【jjb-cmd】:install命令执行完成,用时','map','compressing'];a3_0x2e12=function(){return _0x483d72;};return a3_0x2e12();}
@@ -1 +1 @@
1
- function a4_0x480c(_0x2f2e48,_0x9686ac){const _0x1d0f9b=a4_0x1d0f();return a4_0x480c=function(_0x480c0f,_0x5c575d){_0x480c0f=_0x480c0f-0x70;let _0xb28ee8=_0x1d0f9b[_0x480c0f];return _0xb28ee8;},a4_0x480c(_0x2f2e48,_0x9686ac);}function a4_0x1d0f(){const _0xe8d81a=['203tVNEMN','parse','log','isArray','\x5cjjb.config.json','node_modules','includes','path','/api/v4/projects/','1584250HvNSpk','forEach','1609368HKDvsP','token','replace','micro-spa','projectId','.zip','\x5cpackage.json','f_scan_jjb_config_json_rules','28584OuOZIN','&ref=master','jjb-common','exit','src','236207akYWzp','length','uniapp','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','4338NIAhbL','/repository/archive.zip?private_token=','jjb-common-lib','f_scan_jjb_config_json','./config','_zip','string','stringify','installResources','toString','f_rm_rf','241920OLlcxF','multi','\x22,\x22main\x22:\x20\x22index.js\x22}','3339388KLvqhA','push','react-admin-component','installTarget','isDirectory','\x22,\x22version\x22:\x22','statSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','readFileSync','filter','f_update_project_package_json','projectType','map','readdirSync','name','writeFileSync','f_resolve_install_resources','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','jjb-dva-runtime','f_file_copy','{\x22name\x22:\x22','【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>。','existsSync','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','unlinkSync','82902PogXNw','f_content_replace'];a4_0x1d0f=function(){return _0xe8d81a;};return a4_0x1d0f();}const a4_0x268eaa=a4_0x480c;(function(_0x1bca72,_0x8eaf1b){const _0xba3321=a4_0x480c,_0x35c59d=_0x1bca72();while(!![]){try{const _0x3a6127=parseInt(_0xba3321(0xae))/0x1+-parseInt(_0xba3321(0x9f))/0x2+parseInt(_0xba3321(0xa1))/0x3+-parseInt(_0xba3321(0x7a))/0x4+-parseInt(_0xba3321(0x77))/0x5+parseInt(_0xba3321(0x94))/0x6*(-parseInt(_0xba3321(0x96))/0x7)+parseInt(_0xba3321(0xa9))/0x8*(parseInt(_0xba3321(0xb2))/0x9);if(_0x3a6127===_0x8eaf1b)break;else _0x35c59d['push'](_0x35c59d['shift']());}catch(_0x30204c){_0x35c59d['push'](_0x35c59d['shift']());}}}(a4_0x1d0f,0x663f0));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x268eaa(0x70));exports[a4_0x268eaa(0x76)]=function(_0xa77790){const _0x14774b=a4_0x268eaa;if(fs[_0x14774b(0x90)](_0xa77790)){const _0x1fe8ac=fs[_0x14774b(0x87)](_0xa77790);for(let _0x243c7a=0x0;_0x243c7a<_0x1fe8ac[_0x14774b(0xaf)];_0x243c7a++){const _0x5b2eda=_0x1fe8ac[_0x243c7a],_0x3250eb=_0xa77790+'/'+_0x5b2eda;fs[_0x14774b(0x80)](_0x3250eb)[_0x14774b(0x7e)]()?(exports['f_rm_rf'](_0x3250eb),fs['rmdirSync'](_0x3250eb)):fs[_0x14774b(0x93)](_0x3250eb);}}},exports['f_pull_git_repository']=function(_0x1e0b83=[]){const _0x11c9a6=a4_0x268eaa;return _0x1e0b83[_0x11c9a6(0x86)](_0x43ad0f=>{const _0x5826ad=_0x11c9a6,_0x433b4c=CLOUD_PROJECT[_0x43ad0f[_0x5826ad(0x88)]]||undefined,_0x181da9=os['tmpdir']();return{'path':_0x181da9+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x43ad0f[_0x5826ad(0x88)]+_0x5826ad(0xa6),'compress':_0x181da9+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x43ad0f[_0x5826ad(0x88)]+_0x5826ad(0x71),'repository':GIT_HOST+_0x5826ad(0x9e)+_0x433b4c[_0x5826ad(0xa5)]+_0x5826ad(0xb3)+_0x433b4c[_0x5826ad(0xa2)]+_0x5826ad(0xaa)};});},exports[a4_0x268eaa(0xb5)]=function(_0x886813){const _0x506f43=a4_0x268eaa;return fs[_0x506f43(0x90)](_0x886813+_0x506f43(0x9a));},exports[a4_0x268eaa(0xa8)]=function(_0x1eda37){const _0x20b6c1=a4_0x268eaa;let _0x213140={};try{_0x213140=JSON[_0x20b6c1(0x97)](fs['readFileSync'](_0x1eda37+'\x5cjjb.config.json')[_0x20b6c1(0x75)]());}catch(_0x3b8567){console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x20b6c1(0xac)](0x0);}!(_0x20b6c1(0x85)in _0x213140)&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x92)),process[_0x20b6c1(0xac)](0x0));!(_0x20b6c1(0x7d)in _0x213140)&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x8b)),process[_0x20b6c1(0xac)](0x0));!(_0x20b6c1(0x74)in _0x213140)&&(console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x20b6c1(0xac)](0x0));typeof _0x213140[_0x20b6c1(0x85)]!==_0x20b6c1(0x72)&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x91)),process[_0x20b6c1(0xac)](0x0));![_0x20b6c1(0x78),'spa',_0x20b6c1(0xb0),_0x20b6c1(0xa4)][_0x20b6c1(0x9c)](_0x213140[_0x20b6c1(0x85)])&&(console[_0x20b6c1(0x98)](_0x20b6c1(0xb1)),process[_0x20b6c1(0xac)](0x0));typeof _0x213140[_0x20b6c1(0x7d)]!==_0x20b6c1(0x72)&&(console['log']('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x20b6c1(0xac)](0x0));![_0x20b6c1(0x9b),_0x20b6c1(0xad)][_0x20b6c1(0x9c)](_0x213140[_0x20b6c1(0x7d)])&&(console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x20b6c1(0xac)](0x0));!Array['isArray'](_0x213140[_0x20b6c1(0x74)])&&(console['log'](_0x20b6c1(0x81)),process['exit'](0x0));_0x213140[_0x20b6c1(0x74)][_0x20b6c1(0xaf)]===0x0&&(console[_0x20b6c1(0x98)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0x20b6c1(0xac)](0x0));const _0x20a16d=exports[_0x20b6c1(0x8a)](_0x213140[_0x20b6c1(0x74)]);return _0x20a16d[_0x20b6c1(0x86)](_0xa79367=>_0xa79367[_0x20b6c1(0x88)])[_0x20b6c1(0x83)](_0x591205=>![_0x20b6c1(0xab),_0x20b6c1(0x8c),_0x20b6c1(0xb4),'jjb-common-decorator',_0x20b6c1(0x7c),'vue-unisass-component'][_0x20b6c1(0x9c)](_0x591205))['length']!==0x0&&(console[_0x20b6c1(0x98)](_0x20b6c1(0x8f)),process[_0x20b6c1(0xac)](0x0)),_0x213140['installResources']=_0x20a16d,_0x213140;},exports['f_create_package_json']=function(_0x1d9705,_0x599906,_0x29c8d0){const _0x50ee40=a4_0x268eaa;fs['writeFileSync'](_0x1d9705+_0x50ee40(0xa7),_0x50ee40(0x8e)+_0x599906+_0x50ee40(0x7f)+_0x29c8d0+_0x50ee40(0x79));},exports[a4_0x268eaa(0x8a)]=function(_0x31cf87=[]){const _0x3af381=a4_0x268eaa,_0x317ab1=[];return Array[_0x3af381(0x99)](_0x31cf87)&&_0x31cf87[_0x3af381(0xa0)](_0x43fd4d=>{const _0x53c533=_0x3af381;if(Array[_0x53c533(0x99)](_0x43fd4d)){const [_0x3a41bf,_0x4ba02b=[]]=_0x43fd4d;_0x317ab1[_0x53c533(0x7b)]({'name':_0x3a41bf,'importList':_0x4ba02b});}else _0x317ab1[_0x53c533(0x7b)]({'name':_0x43fd4d,'importList':[]});}),_0x317ab1;},exports[a4_0x268eaa(0x84)]=function(_0x551970,_0x2f8e3d,_0x305fa1){const _0x201beb=a4_0x268eaa,_0x52df80=JSON[_0x201beb(0x97)](fs[_0x201beb(0x82)](_0x551970)['toString']());_0x52df80['dependencies'][_0x2f8e3d]=_0x305fa1,fs['writeFileSync'](_0x551970,JSON[_0x201beb(0x73)](_0x52df80,null,0x2));},exports[a4_0x268eaa(0x8d)]=function(_0x5555d1,_0x3e1f10){const _0x3af0b9=a4_0x268eaa;fs[_0x3af0b9(0x87)](_0x5555d1)[_0x3af0b9(0xa0)](_0x3a37f5=>{const _0x416f19=_0x3af0b9,_0x1f06ef=_0x5555d1+'\x5c'+_0x3a37f5,_0x2b104f=_0x3e1f10+'\x5c'+_0x3a37f5;fs[_0x416f19(0x80)](_0x1f06ef)['isDirectory']()?(fs['mkdirSync'](_0x2b104f),exports[_0x416f19(0x8d)](_0x1f06ef,_0x2b104f)):fs[_0x416f19(0x89)](_0x2b104f,fs[_0x416f19(0x82)](_0x1f06ef)[_0x416f19(0x75)]());});},exports[a4_0x268eaa(0x95)]=function(_0x5512e2=[],_0x4414cf){const _0x4db8ef=a4_0x268eaa;_0x5512e2[_0x4db8ef(0xa0)](_0x1ae022=>{const _0x397e57=_0x4db8ef,_0x18fb9a=_0x4414cf+_0x1ae022[_0x397e57(0x9d)];if(fs[_0x397e57(0x90)](_0x18fb9a)){let _0x17fb27=fs[_0x397e57(0x82)](_0x18fb9a)['toString']();_0x1ae022[_0x397e57(0xa3)][_0x397e57(0xa0)](_0x16083a=>{_0x17fb27=_0x17fb27['replace'](_0x16083a[0x0],_0x16083a[0x1]);}),fs[_0x397e57(0x89)](_0x18fb9a,_0x17fb27);}});};
1
+ const a4_0x50d223=a4_0x1f5b;function a4_0xd829(){const _0xe35dc8=['projectType','statSync','_zip','installResources','f_file_copy','5TllQsP','f_update_project_package_json','stringify','【Error】:[jjb.config.json.projectType]类型是一个string。','replace','.zip','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','isDirectory','f_resolve_install_resources','rmdirSync','dependencies','map','mkdirSync','existsSync','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','filter','【Error】:[jjb.config.json.installResources]无资源。','name','5247848DpMeQx','\x5cjjb.config.json','f_scan_jjb_config_json','【Error】:[jjb.config.json.installTarget]类型是一个string。','push','token','432SIysoN','installTarget','【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>。','\x5cpackage.json','1209IDCTxr','readdirSync','writeFileSync','includes','jjb-common-lib','\x22,\x22version\x22:\x22','5855591xIFMwT','exit','react-admin-component','./config','1007684kBuVAG','isArray','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','\x22,\x22main\x22:\x20\x22index.js\x22}','multi','string','f_pull_git_repository','toString','unlinkSync','jjb-common-decorator','length','readFileSync','2917612sWGlbz','tmpdir','/api/v4/projects/','uniapp','log','19618002PINlwx','jjb-dva-runtime','2450874wiKPiO','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','forEach','node_modules','micro-spa','f_rm_rf','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'];a4_0xd829=function(){return _0xe35dc8;};return a4_0xd829();}(function(_0x5bfb98,_0x1028d4){const _0xd2404e=a4_0x1f5b,_0x56c108=_0x5bfb98();while(!![]){try{const _0x483e4b=-parseInt(_0xd2404e(0x185))/0x1+parseInt(_0xd2404e(0x177))/0x2*(-parseInt(_0xd2404e(0x17b))/0x3)+-parseInt(_0xd2404e(0x191))/0x4*(-parseInt(_0xd2404e(0x15f))/0x5)+parseInt(_0xd2404e(0x153))/0x6+-parseInt(_0xd2404e(0x181))/0x7+-parseInt(_0xd2404e(0x171))/0x8+parseInt(_0xd2404e(0x196))/0x9;if(_0x483e4b===_0x1028d4)break;else _0x56c108['push'](_0x56c108['shift']());}catch(_0x52cbdc){_0x56c108['push'](_0x56c108['shift']());}}}(a4_0xd829,0xb2542));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x50d223(0x184));function a4_0x1f5b(_0x46d821,_0x440fb7){const _0xd829b4=a4_0xd829();return a4_0x1f5b=function(_0x1f5b87,_0x1ad625){_0x1f5b87=_0x1f5b87-0x152;let _0x123ad2=_0xd829b4[_0x1f5b87];return _0x123ad2;},a4_0x1f5b(_0x46d821,_0x440fb7);}exports[a4_0x50d223(0x158)]=function(_0x478a40){const _0x2c24dc=a4_0x50d223;if(fs[_0x2c24dc(0x16c)](_0x478a40)){const _0x148df1=fs[_0x2c24dc(0x17c)](_0x478a40);for(let _0x3516ce=0x0;_0x3516ce<_0x148df1[_0x2c24dc(0x18f)];_0x3516ce++){const _0x462a04=_0x148df1[_0x3516ce],_0x1fca0b=_0x478a40+'/'+_0x462a04;fs[_0x2c24dc(0x15b)](_0x1fca0b)[_0x2c24dc(0x166)]()?(exports[_0x2c24dc(0x158)](_0x1fca0b),fs[_0x2c24dc(0x168)](_0x1fca0b)):fs[_0x2c24dc(0x18d)](_0x1fca0b);}}},exports[a4_0x50d223(0x18b)]=function(_0x54cb3c=[]){const _0x325611=a4_0x50d223;return _0x54cb3c[_0x325611(0x16a)](_0x202e97=>{const _0x2ad835=_0x325611,_0x2dfccf=CLOUD_PROJECT[_0x202e97['name']]||undefined,_0x16f246=os[_0x2ad835(0x192)]();return{'path':_0x16f246+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x202e97['name']+_0x2ad835(0x164),'compress':_0x16f246+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x202e97[_0x2ad835(0x170)]+_0x2ad835(0x15c),'repository':GIT_HOST+_0x2ad835(0x193)+_0x2dfccf['projectId']+'/repository/archive.zip?private_token='+_0x2dfccf[_0x2ad835(0x176)]+'&ref=master'};});},exports[a4_0x50d223(0x173)]=function(_0x318ad3){const _0x4167cf=a4_0x50d223;return fs[_0x4167cf(0x16c)](_0x318ad3+_0x4167cf(0x172));},exports['f_scan_jjb_config_json_rules']=function(_0x1eb127){const _0x457a9f=a4_0x50d223;let _0x575150={};try{_0x575150=JSON['parse'](fs[_0x457a9f(0x190)](_0x1eb127+'\x5cjjb.config.json')[_0x457a9f(0x18c)]());}catch(_0x4c2ea4){console[_0x457a9f(0x195)](_0x457a9f(0x159)),process[_0x457a9f(0x182)](0x0);}!(_0x457a9f(0x15a)in _0x575150)&&(console[_0x457a9f(0x195)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x457a9f(0x182)](0x0));!(_0x457a9f(0x178)in _0x575150)&&(console['log'](_0x457a9f(0x165)),process[_0x457a9f(0x182)](0x0));!(_0x457a9f(0x15d)in _0x575150)&&(console[_0x457a9f(0x195)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x457a9f(0x182)](0x0));typeof _0x575150['projectType']!==_0x457a9f(0x18a)&&(console[_0x457a9f(0x195)](_0x457a9f(0x162)),process[_0x457a9f(0x182)](0x0));![_0x457a9f(0x189),'spa',_0x457a9f(0x194),_0x457a9f(0x157)][_0x457a9f(0x17e)](_0x575150[_0x457a9f(0x15a)])&&(console[_0x457a9f(0x195)](_0x457a9f(0x154)),process[_0x457a9f(0x182)](0x0));typeof _0x575150[_0x457a9f(0x178)]!=='string'&&(console['log'](_0x457a9f(0x174)),process[_0x457a9f(0x182)](0x0));![_0x457a9f(0x156),'src']['includes'](_0x575150[_0x457a9f(0x178)])&&(console['log'](_0x457a9f(0x16d)),process[_0x457a9f(0x182)](0x0));!Array[_0x457a9f(0x186)](_0x575150[_0x457a9f(0x15d)])&&(console[_0x457a9f(0x195)](_0x457a9f(0x187)),process['exit'](0x0));_0x575150[_0x457a9f(0x15d)][_0x457a9f(0x18f)]===0x0&&(console[_0x457a9f(0x195)](_0x457a9f(0x16f)),process[_0x457a9f(0x182)](0x0));const _0x251caa=exports[_0x457a9f(0x167)](_0x575150[_0x457a9f(0x15d)]);return _0x251caa[_0x457a9f(0x16a)](_0x44a2e9=>_0x44a2e9['name'])[_0x457a9f(0x16e)](_0xcaa9a8=>!['jjb-common',_0x457a9f(0x152),_0x457a9f(0x17f),_0x457a9f(0x18e),_0x457a9f(0x183),'vue-unisass-component'][_0x457a9f(0x17e)](_0xcaa9a8))[_0x457a9f(0x18f)]!==0x0&&(console['log'](_0x457a9f(0x179)),process[_0x457a9f(0x182)](0x0)),_0x575150[_0x457a9f(0x15d)]=_0x251caa,_0x575150;},exports['f_create_package_json']=function(_0x16c575,_0x177f93,_0x3889cb){const _0x55a1ca=a4_0x50d223;fs['writeFileSync'](_0x16c575+_0x55a1ca(0x17a),'{\x22name\x22:\x22'+_0x177f93+_0x55a1ca(0x180)+_0x3889cb+_0x55a1ca(0x188));},exports[a4_0x50d223(0x167)]=function(_0xd8f6e8=[]){const _0xe12a7f=a4_0x50d223,_0x4170fc=[];return Array['isArray'](_0xd8f6e8)&&_0xd8f6e8[_0xe12a7f(0x155)](_0x2de2bc=>{const _0x5a4b45=_0xe12a7f;if(Array['isArray'](_0x2de2bc)){const [_0x3919af,_0xf19c13=[]]=_0x2de2bc;_0x4170fc[_0x5a4b45(0x175)]({'name':_0x3919af,'importList':_0xf19c13});}else _0x4170fc[_0x5a4b45(0x175)]({'name':_0x2de2bc,'importList':[]});}),_0x4170fc;},exports[a4_0x50d223(0x160)]=function(_0x5cd0a0,_0xfc4e9,_0x5bd4b0){const _0x209364=a4_0x50d223,_0x37d453=JSON['parse'](fs['readFileSync'](_0x5cd0a0)[_0x209364(0x18c)]());_0x37d453[_0x209364(0x169)][_0xfc4e9]=_0x5bd4b0,fs[_0x209364(0x17d)](_0x5cd0a0,JSON[_0x209364(0x161)](_0x37d453,null,0x2));},exports[a4_0x50d223(0x15e)]=function(_0x1359a0,_0x4727d0){const _0x408387=a4_0x50d223;fs[_0x408387(0x17c)](_0x1359a0)[_0x408387(0x155)](_0x1f4099=>{const _0x300c7e=_0x408387,_0x33200b=_0x1359a0+'\x5c'+_0x1f4099,_0x17afad=_0x4727d0+'\x5c'+_0x1f4099;fs['statSync'](_0x33200b)['isDirectory']()?(fs[_0x300c7e(0x16b)](_0x17afad),exports[_0x300c7e(0x15e)](_0x33200b,_0x17afad)):fs[_0x300c7e(0x17d)](_0x17afad,fs[_0x300c7e(0x190)](_0x33200b)[_0x300c7e(0x18c)]());});},exports['f_content_replace']=function(_0x39573b=[],_0x37de6f){_0x39573b['forEach'](_0x4ab7ad=>{const _0x572118=a4_0x1f5b,_0x3fb679=_0x37de6f+_0x4ab7ad['path'];if(fs['existsSync'](_0x3fb679)){let _0x4f53af=fs[_0x572118(0x190)](_0x3fb679)[_0x572118(0x18c)]();_0x4ab7ad[_0x572118(0x163)][_0x572118(0x155)](_0x4ae28e=>{const _0x15f6b7=_0x572118;_0x4f53af=_0x4f53af[_0x15f6b7(0x163)](_0x4ae28e[0x0],_0x4ae28e[0x1]);}),fs[_0x572118(0x17d)](_0x3fb679,_0x4f53af);}});};
@@ -1 +1 @@
1
- const a5_0x94d3ae=a5_0x4d0c;(function(_0x2ad175,_0x58277e){const _0xf3b10b=a5_0x4d0c,_0xb7c263=_0x2ad175();while(!![]){try{const _0x41313a=parseInt(_0xf3b10b(0x1c5))/0x1+parseInt(_0xf3b10b(0x1c6))/0x2+parseInt(_0xf3b10b(0x1cb))/0x3+-parseInt(_0xf3b10b(0x1c9))/0x4*(-parseInt(_0xf3b10b(0x1b8))/0x5)+-parseInt(_0xf3b10b(0x1bd))/0x6+-parseInt(_0xf3b10b(0x1c4))/0x7+-parseInt(_0xf3b10b(0x1b9))/0x8*(-parseInt(_0xf3b10b(0x1b7))/0x9);if(_0x41313a===_0x58277e)break;else _0xb7c263['push'](_0xb7c263['shift']());}catch(_0x434af6){_0xb7c263['push'](_0xb7c263['shift']());}}}(a5_0x31d1,0x7d78f));function a5_0x31d1(){const _0x53b683=['install\x20modules\x20please\x20wait....','execSync','git\x20init\x20please\x20wait....','yarn','3319043dWnjvY','294832UBaEyB','281470dACSJP','exit','includes','285256NeKkOb','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','2310042Prrlev','npm\x20install','install\x20husky\x20please\x20wait....','exports','npx\x20husky\x20install','5535mvZKkY','20rYrZQW','6776GQLGcB','log','resolve','child_process','6141948moEgeY','existsSync','/.git'];a5_0x31d1=function(){return _0x53b683;};return a5_0x31d1();}const child_process=require(a5_0x94d3ae(0x1bc)),path=require('path'),fs=require('fs');function a5_0x4d0c(_0x451361,_0x54efdf){const _0x31d134=a5_0x31d1();return a5_0x4d0c=function(_0x4d0ca1,_0x59bda7){_0x4d0ca1=_0x4d0ca1-0x1b6;let _0x28a4d6=_0x31d134[_0x4d0ca1];return _0x28a4d6;},a5_0x4d0c(_0x451361,_0x54efdf);}module[a5_0x94d3ae(0x1ce)]=_0xb3c437=>{const _0x33f85d=a5_0x94d3ae;!['npm',_0x33f85d(0x1c3)][_0x33f85d(0x1c8)](_0xb3c437)&&(console[_0x33f85d(0x1ba)](_0x33f85d(0x1ca)),process[_0x33f85d(0x1c7)](0x0));const _0x2732a7=path[_0x33f85d(0x1bb)]('./');console[_0x33f85d(0x1ba)](_0x33f85d(0x1c0)),child_process[_0x33f85d(0x1c1)](_0xb3c437==='yarn'?_0x33f85d(0x1c3):_0x33f85d(0x1cc),{'cwd':_0x2732a7}),!fs[_0x33f85d(0x1be)](_0x2732a7+_0x33f85d(0x1bf))&&(console[_0x33f85d(0x1ba)](_0x33f85d(0x1c2)),child_process['execSync']('git\x20init',{'cwd':_0x2732a7})),console[_0x33f85d(0x1ba)](_0x33f85d(0x1cd)),child_process[_0x33f85d(0x1c1)](_0x33f85d(0x1b6),{'cwd':_0x2732a7}),console['log']('Finish!');};
1
+ function a5_0x5c8e(_0x5b01dd,_0x61e018){const _0xd98f40=a5_0xd98f();return a5_0x5c8e=function(_0x5c8e40,_0x51d4b2){_0x5c8e40=_0x5c8e40-0xca;let _0x32f990=_0xd98f40[_0x5c8e40];return _0x32f990;},a5_0x5c8e(_0x5b01dd,_0x61e018);}const a5_0x36cbab=a5_0x5c8e;(function(_0x29eedf,_0x43ddf8){const _0x1c3c51=a5_0x5c8e,_0x4142f1=_0x29eedf();while(!![]){try{const _0x2185cc=parseInt(_0x1c3c51(0xcc))/0x1+parseInt(_0x1c3c51(0xd4))/0x2+parseInt(_0x1c3c51(0xdb))/0x3+parseInt(_0x1c3c51(0xd7))/0x4+-parseInt(_0x1c3c51(0xda))/0x5+parseInt(_0x1c3c51(0xd8))/0x6+-parseInt(_0x1c3c51(0xd3))/0x7;if(_0x2185cc===_0x43ddf8)break;else _0x4142f1['push'](_0x4142f1['shift']());}catch(_0x208ee1){_0x4142f1['push'](_0x4142f1['shift']());}}}(a5_0xd98f,0xe9ed7));function a5_0xd98f(){const _0x484ecf=['path','24242274IaXCUJ','1547668JAqrKF','exports','log','7613484syAPKO','3870654drmOdB','execSync','1782155HUZheo','2202099pgFZHI','npm','Finish!','existsSync','includes','install\x20husky\x20please\x20wait....','git\x20init','npx\x20husky\x20install','git\x20init\x20please\x20wait....','721433VrSgQU','child_process','yarn','/.git','resolve','npm\x20install'];a5_0xd98f=function(){return _0x484ecf;};return a5_0xd98f();}const child_process=require(a5_0x36cbab(0xcd)),path=require(a5_0x36cbab(0xd2)),fs=require('fs');module[a5_0x36cbab(0xd5)]=_0x4c7024=>{const _0x20fb63=a5_0x36cbab;![_0x20fb63(0xdc),'yarn'][_0x20fb63(0xdf)](_0x4c7024)&&(console[_0x20fb63(0xd6)]('【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]'),process['exit'](0x0));const _0x11ede3=path[_0x20fb63(0xd0)]('./');console['log']('install\x20modules\x20please\x20wait....'),child_process[_0x20fb63(0xd9)](_0x4c7024===_0x20fb63(0xce)?'yarn':_0x20fb63(0xd1),{'cwd':_0x11ede3}),!fs[_0x20fb63(0xde)](_0x11ede3+_0x20fb63(0xcf))&&(console['log'](_0x20fb63(0xcb)),child_process['execSync'](_0x20fb63(0xe1),{'cwd':_0x11ede3})),console[_0x20fb63(0xd6)](_0x20fb63(0xe0)),child_process[_0x20fb63(0xd9)](_0x20fb63(0xca),{'cwd':_0x11ede3}),console[_0x20fb63(0xd6)](_0x20fb63(0xdd));};
@@ -1 +1 @@
1
- const a6_0x3bb0cb=a6_0x3d20;(function(_0x595572,_0x13af2b){const _0x24fb28=a6_0x3d20,_0x570ce1=_0x595572();while(!![]){try{const _0x820f57=parseInt(_0x24fb28(0x19f))/0x1*(parseInt(_0x24fb28(0x1ad))/0x2)+-parseInt(_0x24fb28(0x194))/0x3+parseInt(_0x24fb28(0x1ae))/0x4+parseInt(_0x24fb28(0x1a5))/0x5+parseInt(_0x24fb28(0x19c))/0x6+-parseInt(_0x24fb28(0x18f))/0x7+-parseInt(_0x24fb28(0x195))/0x8;if(_0x820f57===_0x13af2b)break;else _0x570ce1['push'](_0x570ce1['shift']());}catch(_0x3cdab2){_0x570ce1['push'](_0x570ce1['shift']());}}}(a6_0x356f,0xe5d5f));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a6_0x3bb0cb(0x19e)),{API_HOST}=require(a6_0x3bb0cb(0x1a7));function a6_0x3d20(_0x4bd5ce,_0x8e4b73){const _0x356f07=a6_0x356f();return a6_0x3d20=function(_0x3d201c,_0x33198c){_0x3d201c=_0x3d201c-0x18e;let _0x5dc9e0=_0x356f07[_0x3d201c];return _0x5dc9e0;},a6_0x3d20(_0x4bd5ce,_0x8e4b73);}function a6_0x356f(){const _0xf4d4c5=['Auth\x20NetWork\x20Fail!','status','9234490mdFCxh','platform','../cmd.install/config','log','网络异常。','\x5cdist\x5cindex.js','【Error】:no\x20auth\x20login','then','8czIXcn','5914988uOrkAI','catch','Auth\x20Fail!','5840233lXBaXC','post','resolve','stringify','../../../.auth','3763389VPWJOA','7655064BtGQeA','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','toString','message','/api/auth','exit','existsSync','1059738AFNiYW','readFileSync','axios','121201jIvfgI','发布失败!根目录缺少‘package.json’文件,无法完成发布。','split','join'];a6_0x356f=function(){return _0xf4d4c5;};return a6_0x356f();}module['exports']=_0x28d585=>{const _0x3e11d4=a6_0x3bb0cb,_0x17fb22=path[_0x3e11d4(0x1a2)](__dirname,_0x3e11d4(0x193));!fs[_0x3e11d4(0x19b)](_0x17fb22)&&(console[_0x3e11d4(0x1a8)](_0x3e11d4(0x1ab)),process[_0x3e11d4(0x19a)](0x0));const [_0x12165e,_0x1d5717]=fs[_0x3e11d4(0x19d)](_0x17fb22)[_0x3e11d4(0x197)]()[_0x3e11d4(0x1a1)]('/');axios[_0x3e11d4(0x190)](API_HOST+_0x3e11d4(0x199),{'username':_0x12165e,'password':_0x1d5717})[_0x3e11d4(0x1ac)](_0xb3c09c=>{const _0x41c166=_0x3e11d4;if(_0xb3c09c['data'][_0x41c166(0x1a4)]){const _0x3cee56=path[_0x41c166(0x191)]('./'),_0x1d20fc=_0x3cee56+_0x41c166(0x1aa),_0x51bee6=_0x3cee56+'\x5cpackage.json',_0x27cea5=[os['hostname'](),os[_0x41c166(0x1a6)](),os['arch'](),new Date()[_0x41c166(0x197)](),JSON[_0x41c166(0x192)](os['networkInterfaces'](),null,'\x09')];if(fs[_0x41c166(0x19b)](_0x51bee6)){if(fs['existsSync'](_0x1d20fc)){const _0x1eb622=JSON['parse'](fs[_0x41c166(0x19d)](_0x51bee6)[_0x41c166(0x197)]()),{name:_0x14df95,version:_0x686978}=_0x1eb622;_0x27cea5['push'](JSON['stringify'](_0x1eb622)),axios[_0x41c166(0x190)](API_HOST+'/api/file/push',{'username':_0x12165e,'log_text':_0x27cea5[_0x41c166(0x1a2)]('\x0a'),'package_name':_0x14df95,'package_version':_0x28d585?_0x28d585:_0x686978,'package_content':fs[_0x41c166(0x19d)](_0x1d20fc)['toString']()})[_0x41c166(0x1ac)](_0x4c1660=>{const _0x30f634=_0x41c166;console[_0x30f634(0x1a8)](_0x4c1660['data'][_0x30f634(0x198)]),process['exit'](0x0);})[_0x41c166(0x1af)](_0xcd85d3=>{const _0x228963=_0x41c166;console[_0x228963(0x1a8)](_0xcd85d3),console['log'](_0x228963(0x1a9)),process[_0x228963(0x19a)](0x0);});}else console['log'](_0x41c166(0x196)),process[_0x41c166(0x19a)](0x0);}else console['log'](_0x41c166(0x1a0)),process[_0x41c166(0x19a)](0x0);}else console[_0x41c166(0x1a8)](_0x41c166(0x18e));})[_0x3e11d4(0x1af)](_0x81f17c=>{const _0x192eee=_0x3e11d4;console[_0x192eee(0x1a8)](_0x192eee(0x1a3));});};
1
+ const a6_0xa69a74=a6_0x46a7;(function(_0x2ca0e4,_0x6d7c59){const _0x5eeb33=a6_0x46a7,_0x253d22=_0x2ca0e4();while(!![]){try{const _0x4624e2=parseInt(_0x5eeb33(0x1fd))/0x1+-parseInt(_0x5eeb33(0x20c))/0x2+-parseInt(_0x5eeb33(0x1ed))/0x3+-parseInt(_0x5eeb33(0x1ef))/0x4+-parseInt(_0x5eeb33(0x209))/0x5*(parseInt(_0x5eeb33(0x1ea))/0x6)+parseInt(_0x5eeb33(0x1fb))/0x7*(-parseInt(_0x5eeb33(0x1ee))/0x8)+parseInt(_0x5eeb33(0x1e6))/0x9*(parseInt(_0x5eeb33(0x1fc))/0xa);if(_0x4624e2===_0x6d7c59)break;else _0x253d22['push'](_0x253d22['shift']());}catch(_0xb935df){_0x253d22['push'](_0x253d22['shift']());}}}(a6_0x40a5,0xae19a));const path=require(a6_0xa69a74(0x1f1)),fs=require('fs'),os=require('os'),axios=require(a6_0xa69a74(0x1ff)),{API_HOST}=require(a6_0xa69a74(0x20d));function a6_0x40a5(){const _0x2c491b=['1974024FVjwjY','../cmd.install/config','exports','发布失败!根目录缺少‘package.json’文件,无法完成发布。','log','networkInterfaces','5517JjLbZT','stringify','arch','网络异常。','4090038mUSpnn','status','message','2027886xlCYhg','2168uujQgU','1308732RAYumI','exit','path','Auth\x20NetWork\x20Fail!','data','then','\x5cpackage.json','toString','Auth\x20Fail!','existsSync','push','catch','9772rVGFnC','41110rzMExt','1243217DKPjzD','/api/file/push','axios','\x5cdist\x5cindex.js','/api/auth','【Error】:no\x20auth\x20login','resolve','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','hostname','split','post','parse','5Ovfusq','../../../.auth','readFileSync'];a6_0x40a5=function(){return _0x2c491b;};return a6_0x40a5();}function a6_0x46a7(_0xdb4a96,_0x2b06f6){const _0x40a5f5=a6_0x40a5();return a6_0x46a7=function(_0x46a7d9,_0x1ab093){_0x46a7d9=_0x46a7d9-0x1e3;let _0x43a60d=_0x40a5f5[_0x46a7d9];return _0x43a60d;},a6_0x46a7(_0xdb4a96,_0x2b06f6);}module[a6_0xa69a74(0x20e)]=_0x3184fd=>{const _0x347f77=a6_0xa69a74,_0x2a8149=path['join'](__dirname,_0x347f77(0x20a));!fs[_0x347f77(0x1f8)](_0x2a8149)&&(console[_0x347f77(0x1e4)](_0x347f77(0x202)),process['exit'](0x0));const [_0x590ac3,_0x50ee13]=fs[_0x347f77(0x20b)](_0x2a8149)[_0x347f77(0x1f6)]()[_0x347f77(0x206)]('/');axios['post'](API_HOST+_0x347f77(0x201),{'username':_0x590ac3,'password':_0x50ee13})[_0x347f77(0x1f4)](_0xd5f66c=>{const _0x4fd2db=_0x347f77;if(_0xd5f66c[_0x4fd2db(0x1f3)][_0x4fd2db(0x1eb)]){const _0x2fad51=path[_0x4fd2db(0x203)]('./'),_0x47533d=_0x2fad51+_0x4fd2db(0x200),_0x5e69aa=_0x2fad51+_0x4fd2db(0x1f5),_0x375b2a=[os[_0x4fd2db(0x205)](),os['platform'](),os[_0x4fd2db(0x1e8)](),new Date()[_0x4fd2db(0x1f6)](),JSON[_0x4fd2db(0x1e7)](os[_0x4fd2db(0x1e5)](),null,'\x09')];if(fs[_0x4fd2db(0x1f8)](_0x5e69aa)){if(fs[_0x4fd2db(0x1f8)](_0x47533d)){const _0x124e33=JSON[_0x4fd2db(0x208)](fs[_0x4fd2db(0x20b)](_0x5e69aa)[_0x4fd2db(0x1f6)]()),{name:_0x325fa9,version:_0x461063}=_0x124e33;_0x375b2a[_0x4fd2db(0x1f9)](JSON[_0x4fd2db(0x1e7)](_0x124e33)),axios[_0x4fd2db(0x207)](API_HOST+_0x4fd2db(0x1fe),{'username':_0x590ac3,'log_text':_0x375b2a['join']('\x0a'),'package_name':_0x325fa9,'package_version':_0x3184fd?_0x3184fd:_0x461063,'package_content':fs[_0x4fd2db(0x20b)](_0x47533d)[_0x4fd2db(0x1f6)]()})[_0x4fd2db(0x1f4)](_0x27aa8e=>{const _0xe073d1=_0x4fd2db;console[_0xe073d1(0x1e4)](_0x27aa8e[_0xe073d1(0x1f3)][_0xe073d1(0x1ec)]),process['exit'](0x0);})[_0x4fd2db(0x1fa)](_0x3182e9=>{const _0x49df77=_0x4fd2db;console['log'](_0x3182e9),console[_0x49df77(0x1e4)](_0x49df77(0x1e9)),process[_0x49df77(0x1f0)](0x0);});}else console[_0x4fd2db(0x1e4)](_0x4fd2db(0x204)),process[_0x4fd2db(0x1f0)](0x0);}else console[_0x4fd2db(0x1e4)](_0x4fd2db(0x1e3)),process[_0x4fd2db(0x1f0)](0x0);}else console['log'](_0x4fd2db(0x1f7));})['catch'](_0x8de2a1=>{const _0x5d8fa9=_0x347f77;console[_0x5d8fa9(0x1e4)](_0x5d8fa9(0x1f2));});};
@@ -1 +1 @@
1
- const a7_0x329740=a7_0x5845;(function(_0x4af1e3,_0x478dbf){const _0x5669de=a7_0x5845,_0x393dfb=_0x4af1e3();while(!![]){try{const _0xe365e5=-parseInt(_0x5669de(0x1cc))/0x1*(parseInt(_0x5669de(0x1e4))/0x2)+-parseInt(_0x5669de(0x1cd))/0x3*(-parseInt(_0x5669de(0x1cf))/0x4)+-parseInt(_0x5669de(0x1df))/0x5*(parseInt(_0x5669de(0x1c1))/0x6)+-parseInt(_0x5669de(0x1f4))/0x7+parseInt(_0x5669de(0x1bf))/0x8*(parseInt(_0x5669de(0x1d6))/0x9)+-parseInt(_0x5669de(0x1ca))/0xa+parseInt(_0x5669de(0x1ec))/0xb;if(_0xe365e5===_0x478dbf)break;else _0x393dfb['push'](_0x393dfb['shift']());}catch(_0x53bf1d){_0x393dfb['push'](_0x393dfb['shift']());}}}(a7_0x5c17,0xd8c08));const fs=require('fs'),os=require('os'),path=require(a7_0x329740(0x1c8)),child_process=require(a7_0x329740(0x1e8)),{CopyFolder,DeleteDirAllFile}=require(a7_0x329740(0x1b8)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x329740(0x1c2)),axios=require(a7_0x329740(0x1e1));function a7_0x5c17(){const _0x50ed48=['5705900iSlaso','Git\x20Pull\x20Done,yarn\x20build:','5kAmcVa','1528425ceiUUp','Auth\x20Fail!','4rdBjqP','post','split','/src/main/resources/templates/','exit','/node_modules','status','16101nHpZaM','【Error】:no\x20setting\x20gitName','execSync','git\x20commit\x20-m\x20','readFileSync','\x20--no-verify','../../../.auth','exports','\x5cjjb.config.json','1150HTtUty','Git\x20Push\x20Done!','axios','tmpdir',',please\x20wait...','48366fvLgZz','【Error】:no\x20auth\x20login','existsSync','git\x20pull','child_process','【warning】:no\x20commit,git\x20push,please\x20wait...','catch','yarn\x20install\x20Done!','24741596EQAvlF','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','git\x20add\x20.','git\x20clone\x20','yarn','Auth\x20NetWork\x20Fail!','gitName','toString','11464110PTZhBi','mkdirSync','log','git','../../old/util','/api/auth','Git\x20Add\x20Done,git\x20commit,please\x20wait...','parse','data','no\x20message','length','3760XckhmF','join','9978fyPQIH','../cmd.install/config','【Error】:参数传递错误','【Error】:打包失败,没有dist目录!','【Error】:no\x20setting\x20git','\x5cdist','yarn\x20build:','path','git\x20push\x20-f'];a7_0x5c17=function(){return _0x50ed48;};return a7_0x5c17();}function a7_0x5845(_0x19e862,_0xed8d69){const _0x5c17e3=a7_0x5c17();return a7_0x5845=function(_0x5845e3,_0x3e7e99){_0x5845e3=_0x5845e3-0x1b6;let _0x441ca2=_0x5c17e3[_0x5845e3];return _0x441ca2;},a7_0x5845(_0x19e862,_0xed8d69);}module[a7_0x329740(0x1dd)]=arguments=>{const _0x328d4f=a7_0x329740,_0x46fe1d=path[_0x328d4f(0x1c0)](__dirname,_0x328d4f(0x1dc));!fs['existsSync'](_0x46fe1d)&&(console[_0x328d4f(0x1b6)](_0x328d4f(0x1e5)),process[_0x328d4f(0x1d3)](0x0));const _0xafc99d=arguments[0x1],_0x24de1=arguments[0x2]||_0x328d4f(0x1bd),_0x41dda1=path['resolve']('./'),_0x81a936=_0x41dda1+_0x328d4f(0x1de),_0x110942=_0x41dda1+_0x328d4f(0x1c6),_0x4f37b8=os[_0x328d4f(0x1e2)](),[_0x414647,_0x28d836]=fs[_0x328d4f(0x1da)](_0x46fe1d)[_0x328d4f(0x1f3)]()[_0x328d4f(0x1d1)]('/');axios[_0x328d4f(0x1d0)](API_HOST+_0x328d4f(0x1b9),{'username':_0x414647,'password':_0x28d836})['then'](_0x5ef805=>{const _0x4fe681=_0x328d4f;if(_0x5ef805[_0x4fe681(0x1bc)][_0x4fe681(0x1d5)]){if(fs['existsSync'](_0x81a936)){const _0x855336=JSON[_0x4fe681(0x1bb)](fs[_0x4fe681(0x1da)](_0x81a936)['toString']());if(_0x855336[_0x4fe681(0x1b7)]){const _0x15a381=_0x4f37b8+'/'+GIT_TEMP_JAVA;!fs['existsSync'](_0x15a381)&&(fs[_0x4fe681(0x1f5)](_0x15a381),child_process['execSync'](_0x4fe681(0x1ef)+_0x855336[_0x4fe681(0x1b7)],{'cwd':_0x15a381})),_0x11a0f6(_0x15a381,_0x855336);}else console[_0x4fe681(0x1b6)](_0x4fe681(0x1c5));}}else console['log'](_0x4fe681(0x1ce));})[_0x328d4f(0x1ea)](_0x513b50=>{const _0x5ee9ab=_0x328d4f;console['log'](_0x5ee9ab(0x1f1));});arguments[_0x328d4f(0x1be)]<0x2&&(console['log'](_0x328d4f(0x1c3)),process[_0x328d4f(0x1d3)](0x0));function _0x11a0f6(_0x283a39,_0x2dd0d8){const _0x4cccfe=_0x328d4f,_0x2bdcd4=_0x283a39+'/'+_0x2dd0d8[_0x4cccfe(0x1f2)];!fs[_0x4cccfe(0x1e6)](_0x2bdcd4)&&(console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1d7)),process[_0x4cccfe(0x1d3)](0x0));child_process[_0x4cccfe(0x1d8)](_0x4cccfe(0x1e7),{'cwd':_0x2bdcd4});!fs[_0x4cccfe(0x1e6)](_0x41dda1+_0x4cccfe(0x1d4))?(console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1ed)),child_process[_0x4cccfe(0x1d8)](_0x4cccfe(0x1f0),{'cwd':_0x41dda1}),console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1eb))):console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1cb)+_0xafc99d+_0x4cccfe(0x1e3));child_process[_0x4cccfe(0x1d8)](_0x4cccfe(0x1c7)+_0xafc99d,{'cwd':_0x41dda1}),console[_0x4cccfe(0x1b6)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4cccfe(0x1e6)](_0x110942)){const _0x4ca0a4=_0x2bdcd4+_0x4cccfe(0x1d2)+GIT_JAVA_ENV_JSON[_0xafc99d];DeleteDirAllFile(_0x4ca0a4,()=>{const _0x3c0b1e=_0x4cccfe;fs[_0x3c0b1e(0x1f5)](_0x4ca0a4),CopyFolder(_0x110942,_0x4ca0a4,()=>{const _0xa27442=_0x3c0b1e;console[_0xa27442(0x1b6)]('Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...'),setTimeout(()=>{const _0x201c8d=_0xa27442;child_process[_0x201c8d(0x1d8)](_0x201c8d(0x1ee),{'cwd':_0x2bdcd4}),console['log'](_0x201c8d(0x1ba));try{child_process[_0x201c8d(0x1d8)](_0x201c8d(0x1d9)+_0x24de1+_0x201c8d(0x1db),{'cwd':_0x2bdcd4}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0xf7dcbf){console['log'](_0x201c8d(0x1e9));}child_process['execSync'](_0x201c8d(0x1c9),{'cwd':_0x2bdcd4}),console['log'](_0x201c8d(0x1e0));},0x3e8);});});}else console[_0x4cccfe(0x1b6)](_0x4cccfe(0x1c4));}};
1
+ const a7_0x429f10=a7_0x3176;function a7_0x58a8(){const _0x47f5eb=['length','status','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','【warning】:no\x20commit,git\x20push,please\x20wait...','/src/main/resources/templates/','Git\x20Add\x20Done,git\x20commit,please\x20wait...','exit','19080Abxkmf','mkdirSync','toString','228848GLFIgX','existsSync','【Error】:参数传递错误','1133125wPZooT','execSync','git','../../../.auth','Project\x20build\x20Done,copy\x20project,please\x20wait...','axios','Auth\x20Fail!','split','../cmd.install/config','resolve','\x5cdist','yarn\x20install\x20Done!','path','git\x20add\x20.','git\x20commit\x20-m\x20','/node_modules','3638290oQvgpM','/api/auth','【Error】:no\x20setting\x20git','tmpdir','log','readFileSync','【Error】:no\x20setting\x20gitName','\x20--no-verify','then','parse','17360nyoTGU','data','gitName','no\x20message','11UgOZrr','exports','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','git\x20clone\x20','69796lbgLoW','203svGkfg','1768juhfgu','12951bQtOPL','Git\x20Commit\x20Done,git\x20push,please\x20wait...','Git\x20Pull\x20Done,yarn\x20build:','git\x20pull','git\x20push\x20-f','6VVpCcf','【Error】:no\x20auth\x20login','catch','Git\x20Push\x20Done!'];a7_0x58a8=function(){return _0x47f5eb;};return a7_0x58a8();}(function(_0x17c337,_0x168c1f){const _0x3a19ad=a7_0x3176,_0x2e8998=_0x17c337();while(!![]){try{const _0x15e276=parseInt(_0x3a19ad(0x125))/0x1+-parseInt(_0x3a19ad(0x107))/0x2*(-parseInt(_0x3a19ad(0x117))/0x3)+parseInt(_0x3a19ad(0x10f))/0x4+-parseInt(_0x3a19ad(0xed))/0x5+parseInt(_0x3a19ad(0x122))/0x6*(parseInt(_0x3a19ad(0x110))/0x7)+parseInt(_0x3a19ad(0x111))/0x8*(-parseInt(_0x3a19ad(0x112))/0x9)+parseInt(_0x3a19ad(0xfd))/0xa*(parseInt(_0x3a19ad(0x10b))/0xb);if(_0x15e276===_0x168c1f)break;else _0x2e8998['push'](_0x2e8998['shift']());}catch(_0x135d47){_0x2e8998['push'](_0x2e8998['shift']());}}}(a7_0x58a8,0x2abd6));const fs=require('fs'),os=require('os'),path=require(a7_0x429f10(0xf9)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x429f10(0xf5)),axios=require(a7_0x429f10(0xf2));function a7_0x3176(_0x577de0,_0x44ab57){const _0x58a8f3=a7_0x58a8();return a7_0x3176=function(_0x3176d1,_0xb44259){_0x3176d1=_0x3176d1-0xec;let _0x399a61=_0x58a8f3[_0x3176d1];return _0x399a61;},a7_0x3176(_0x577de0,_0x44ab57);}module[a7_0x429f10(0x10c)]=arguments=>{const _0x424dbe=a7_0x429f10,_0x2e8e98=path['join'](__dirname,_0x424dbe(0xf0));!fs[_0x424dbe(0x126)](_0x2e8e98)&&(console[_0x424dbe(0x101)](_0x424dbe(0x118)),process[_0x424dbe(0x121)](0x0));const _0x2dcde9=arguments[0x1],_0x73add2=arguments[0x2]||_0x424dbe(0x10a),_0x42e4ea=path[_0x424dbe(0xf6)]('./'),_0x448d80=_0x42e4ea+'\x5cjjb.config.json',_0xf22b6c=_0x42e4ea+_0x424dbe(0xf7),_0x607e4c=os[_0x424dbe(0x100)](),[_0x28ec97,_0x20383d]=fs[_0x424dbe(0x102)](_0x2e8e98)['toString']()[_0x424dbe(0xf4)]('/');axios['post'](API_HOST+_0x424dbe(0xfe),{'username':_0x28ec97,'password':_0x20383d})[_0x424dbe(0x105)](_0x4e8dc1=>{const _0x45b608=_0x424dbe;if(_0x4e8dc1[_0x45b608(0x108)][_0x45b608(0x11c)]){if(fs[_0x45b608(0x126)](_0x448d80)){const _0x385326=JSON[_0x45b608(0x106)](fs[_0x45b608(0x102)](_0x448d80)[_0x45b608(0x124)]());if(_0x385326['git']){const _0x1f3353=_0x607e4c+'/'+GIT_TEMP_JAVA;!fs[_0x45b608(0x126)](_0x1f3353)&&(fs[_0x45b608(0x123)](_0x1f3353),child_process[_0x45b608(0xee)](_0x45b608(0x10e)+_0x385326[_0x45b608(0xef)],{'cwd':_0x1f3353})),_0x1103c2(_0x1f3353,_0x385326);}else console['log'](_0x45b608(0xff));}}else console[_0x45b608(0x101)](_0x45b608(0xf3));})[_0x424dbe(0x119)](_0x49cc79=>{console['log']('Auth\x20NetWork\x20Fail!');});arguments[_0x424dbe(0x11b)]<0x2&&(console[_0x424dbe(0x101)](_0x424dbe(0xec)),process[_0x424dbe(0x121)](0x0));function _0x1103c2(_0x4af4cd,_0x37c4f0){const _0x1132f9=_0x424dbe,_0x2f5a70=_0x4af4cd+'/'+_0x37c4f0[_0x1132f9(0x109)];!fs[_0x1132f9(0x126)](_0x2f5a70)&&(console[_0x1132f9(0x101)](_0x1132f9(0x103)),process[_0x1132f9(0x121)](0x0));child_process['execSync'](_0x1132f9(0x115),{'cwd':_0x2f5a70});!fs[_0x1132f9(0x126)](_0x42e4ea+_0x1132f9(0xfc))?(console[_0x1132f9(0x101)](_0x1132f9(0x11d)),child_process[_0x1132f9(0xee)]('yarn',{'cwd':_0x42e4ea}),console['log'](_0x1132f9(0xf8))):console[_0x1132f9(0x101)](_0x1132f9(0x114)+_0x2dcde9+',please\x20wait...');child_process[_0x1132f9(0xee)]('yarn\x20build:'+_0x2dcde9,{'cwd':_0x42e4ea}),console[_0x1132f9(0x101)](_0x1132f9(0xf1));if(fs['existsSync'](_0xf22b6c)){const _0x4bb693=_0x2f5a70+_0x1132f9(0x11f)+GIT_JAVA_ENV_JSON[_0x2dcde9];DeleteDirAllFile(_0x4bb693,()=>{const _0x352681=_0x1132f9;fs[_0x352681(0x123)](_0x4bb693),CopyFolder(_0xf22b6c,_0x4bb693,()=>{const _0x1f12b7=_0x352681;console['log'](_0x1f12b7(0x10d)),setTimeout(()=>{const _0x40a13b=_0x1f12b7;child_process[_0x40a13b(0xee)](_0x40a13b(0xfa),{'cwd':_0x2f5a70}),console[_0x40a13b(0x101)](_0x40a13b(0x120));try{child_process[_0x40a13b(0xee)](_0x40a13b(0xfb)+_0x73add2+_0x40a13b(0x104),{'cwd':_0x2f5a70}),console[_0x40a13b(0x101)](_0x40a13b(0x113));}catch(_0x371b99){console[_0x40a13b(0x101)](_0x40a13b(0x11e));}child_process['execSync'](_0x40a13b(0x116),{'cwd':_0x2f5a70}),console[_0x40a13b(0x101)](_0x40a13b(0x11a));},0x3e8);});});}else console[_0x1132f9(0x101)]('【Error】:打包失败,没有dist目录!');}};
@@ -1 +1 @@
1
- function a8_0x4b9f(_0x30422b,_0x4f2e37){const _0x975150=a8_0x9751();return a8_0x4b9f=function(_0x4b9f03,_0x41c339){_0x4b9f03=_0x4b9f03-0x1ae;let _0x20c4ff=_0x975150[_0x4b9f03];return _0x20c4ff;},a8_0x4b9f(_0x30422b,_0x4f2e37);}const a8_0x1e2b8d=a8_0x4b9f;(function(_0x181bb4,_0x50fc3e){const _0x59d924=a8_0x4b9f,_0x44d352=_0x181bb4();while(!![]){try{const _0x687497=parseInt(_0x59d924(0x1bd))/0x1*(parseInt(_0x59d924(0x1c3))/0x2)+-parseInt(_0x59d924(0x1c2))/0x3*(-parseInt(_0x59d924(0x1c4))/0x4)+-parseInt(_0x59d924(0x1b9))/0x5+parseInt(_0x59d924(0x1d0))/0x6+parseInt(_0x59d924(0x1d1))/0x7*(parseInt(_0x59d924(0x1d5))/0x8)+parseInt(_0x59d924(0x1bb))/0x9*(-parseInt(_0x59d924(0x1b0))/0xa)+-parseInt(_0x59d924(0x1d3))/0xb;if(_0x687497===_0x50fc3e)break;else _0x44d352['push'](_0x44d352['shift']());}catch(_0x21b7c5){_0x44d352['push'](_0x44d352['shift']());}}}(a8_0x9751,0xa505f));const https=require(a8_0x1e2b8d(0x1c1)),fs=require('fs'),path=require(a8_0x1e2b8d(0x1bc)),{CONFIG_FILE_HOST}=require(a8_0x1e2b8d(0x1ae)),REGISTRY={'eslint':{'remoteDir':'eslint','files':['.eslintrc.js',a8_0x1e2b8d(0x1c9)]},'prettier':{'remoteDir':a8_0x1e2b8d(0x1ba),'files':['.prettierrc.js',a8_0x1e2b8d(0x1cb)]},'jjb_script':{'remoteDir':'jjb.script','localDir':'jjb.script','files':[a8_0x1e2b8d(0x1c6),a8_0x1e2b8d(0x1ca),a8_0x1e2b8d(0x1b5),a8_0x1e2b8d(0x1c0),'utils.js']},'babel':{'remoteDir':a8_0x1e2b8d(0x1c5),'files':[a8_0x1e2b8d(0x1b7)]}},root_path=path[a8_0x1e2b8d(0x1af)]('./');function a8_0x9751(){const _0x4072c6=['.babelrc','\x20file\x20Success!','3930910nZWAJQ','prettier','549720YQwhCr','path','138YtwBHV','includes','files','server.js','https','3117flbCLs','16262auOtlv','1900naCCWr','babel','build.js','http\x20error\x20','localDir','.eslintignore','config.js','.prettierignore','All\x20Finish!','data','\x20file,\x20available:[','length','3148182IItDGf','7XfXZka','get','8515716ehrEpE','log','8097384IebBfn','../cmd.install/config','resolve','150sYucDy','join','?v=','【Error】:no\x20','exit','proxy.js','remoteDir'];a8_0x9751=function(){return _0x4072c6;};return a8_0x9751();}function recursion(_0x48f1de,_0x5973ea,_0x2a393a){const _0x458668=a8_0x1e2b8d,_0x1d827b=_0x48f1de[_0x458668(0x1bf)][_0x5973ea];https[_0x458668(0x1d2)](CONFIG_FILE_HOST+'/'+(_0x48f1de[_0x458668(0x1b6)]?_0x48f1de[_0x458668(0x1b6)]+'/':'')+_0x1d827b+_0x458668(0x1b2)+new Date()['getTime'](),_0x312a51=>{const _0x4d413a=_0x458668;let _0x3350c5='';_0x312a51['on'](_0x4d413a(0x1cd),_0x3a233f=>{_0x3350c5+=_0x3a233f;}),_0x312a51['on']('end',()=>{const _0x2174d8=_0x4d413a;_0x3350c5&&(fs['writeFileSync'](root_path+'/'+(_0x48f1de['localDir']?_0x48f1de[_0x2174d8(0x1c8)]+'/':'')+_0x1d827b,_0x3350c5),console['log'](_0x1d827b+_0x2174d8(0x1b8)),_0x5973ea<_0x48f1de[_0x2174d8(0x1bf)][_0x2174d8(0x1cf)]-0x1?(_0x5973ea++,recursion(_0x48f1de,_0x5973ea,_0x2a393a)):(console[_0x2174d8(0x1d4)](_0x2174d8(0x1cc)),_0x2a393a&&_0x2a393a()));})['on']('error',_0x574570=>{const _0x30444c=_0x4d413a;console[_0x30444c(0x1d4)](_0x30444c(0x1c7),_0x574570);});});}module['exports']=_0x539042=>{const _0x11edd4=a8_0x1e2b8d;!Object['keys'](REGISTRY)[_0x11edd4(0x1be)](_0x539042)&&(console[_0x11edd4(0x1d4)](_0x11edd4(0x1b3)+_0x539042+_0x11edd4(0x1ce)+Object['keys'](REGISTRY)[_0x11edd4(0x1b1)]('/')+']'),process[_0x11edd4(0x1b4)](0x0)),recursion(REGISTRY[_0x539042],0x0);};
1
+ const a8_0x129cab=a8_0x1ee7;(function(_0x3b9dd0,_0x39d232){const _0x426271=a8_0x1ee7,_0x53b445=_0x3b9dd0();while(!![]){try{const _0x4d1b8a=parseInt(_0x426271(0x18a))/0x1*(parseInt(_0x426271(0x170))/0x2)+-parseInt(_0x426271(0x17c))/0x3+parseInt(_0x426271(0x177))/0x4*(parseInt(_0x426271(0x176))/0x5)+parseInt(_0x426271(0x179))/0x6*(-parseInt(_0x426271(0x17d))/0x7)+-parseInt(_0x426271(0x183))/0x8*(-parseInt(_0x426271(0x18f))/0x9)+-parseInt(_0x426271(0x182))/0xa*(-parseInt(_0x426271(0x188))/0xb)+-parseInt(_0x426271(0x17e))/0xc;if(_0x4d1b8a===_0x39d232)break;else _0x53b445['push'](_0x53b445['shift']());}catch(_0x4452ef){_0x53b445['push'](_0x53b445['shift']());}}}(a8_0x3299,0x62f1c));const https=require(a8_0x129cab(0x187)),fs=require('fs'),path=require('path'),{CONFIG_FILE_HOST}=require('../cmd.install/config'),REGISTRY={'eslint':{'remoteDir':a8_0x129cab(0x173),'files':[a8_0x129cab(0x18b),a8_0x129cab(0x17a)]},'prettier':{'remoteDir':a8_0x129cab(0x168),'files':[a8_0x129cab(0x16f),a8_0x129cab(0x189)]},'jjb_script':{'remoteDir':a8_0x129cab(0x185),'localDir':a8_0x129cab(0x185),'files':[a8_0x129cab(0x16c),a8_0x129cab(0x180),a8_0x129cab(0x167),a8_0x129cab(0x174),a8_0x129cab(0x16b)]},'babel':{'remoteDir':a8_0x129cab(0x186),'files':[a8_0x129cab(0x192)]}},root_path=path[a8_0x129cab(0x16a)]('./');function a8_0x1ee7(_0x80f68a,_0x454788){const _0x3299d6=a8_0x3299();return a8_0x1ee7=function(_0x1ee782,_0x3d26e1){_0x1ee782=_0x1ee782-0x167;let _0x2a1db0=_0x3299d6[_0x1ee782];return _0x2a1db0;},a8_0x1ee7(_0x80f68a,_0x454788);}function recursion(_0x9cf60f,_0x266da5,_0x48255e){const _0x4c9474=a8_0x129cab,_0x2c1523=_0x9cf60f[_0x4c9474(0x172)][_0x266da5];https[_0x4c9474(0x175)](CONFIG_FILE_HOST+'/'+(_0x9cf60f[_0x4c9474(0x191)]?_0x9cf60f[_0x4c9474(0x191)]+'/':'')+_0x2c1523+_0x4c9474(0x181)+new Date()[_0x4c9474(0x169)](),_0x52fa32=>{let _0x1d7dfb='';_0x52fa32['on']('data',_0x698d94=>{_0x1d7dfb+=_0x698d94;}),_0x52fa32['on']('end',()=>{const _0x254423=a8_0x1ee7;_0x1d7dfb&&(fs[_0x254423(0x17f)](root_path+'/'+(_0x9cf60f['localDir']?_0x9cf60f[_0x254423(0x178)]+'/':'')+_0x2c1523,_0x1d7dfb),console['log'](_0x2c1523+'\x20file\x20Success!'),_0x266da5<_0x9cf60f[_0x254423(0x172)][_0x254423(0x18c)]-0x1?(_0x266da5++,recursion(_0x9cf60f,_0x266da5,_0x48255e)):(console[_0x254423(0x171)](_0x254423(0x18d)),_0x48255e&&_0x48255e()));})['on']('error',_0x5d335c=>{const _0x418fe3=a8_0x1ee7;console[_0x418fe3(0x171)](_0x418fe3(0x184),_0x5d335c);});});}function a8_0x3299(){const _0x24d9a7=['14749716SnZDVa','writeFileSync','config.js','?v=','10Dzdtyq','149008mbkIEN','http\x20error\x20','jjb.script','babel','https','7035919fJMahC','.prettierignore','162MREOWS','.eslintrc.js','length','All\x20Finish!','join','207aRPtWE','\x20file,\x20available:[','remoteDir','.babelrc','proxy.js','prettier','getTime','resolve','utils.js','build.js','includes','keys','.prettierrc.js','8890ThwAtr','log','files','eslint','server.js','get','171830mHelIr','44lDRIWj','localDir','330906GtDrWt','.eslintignore','【Error】:no\x20','1098813qkqPLL','21BpOpEA'];a8_0x3299=function(){return _0x24d9a7;};return a8_0x3299();}module['exports']=_0x2408f0=>{const _0x25a9c7=a8_0x129cab;!Object['keys'](REGISTRY)[_0x25a9c7(0x16d)](_0x2408f0)&&(console[_0x25a9c7(0x171)](_0x25a9c7(0x17b)+_0x2408f0+_0x25a9c7(0x190)+Object[_0x25a9c7(0x16e)](REGISTRY)[_0x25a9c7(0x18e)]('/')+']'),process['exit'](0x0)),recursion(REGISTRY[_0x2408f0],0x0);};
@@ -1 +1 @@
1
- const a9_0x440468=a9_0x4130;function a9_0x4130(_0x4dc492,_0x4dab7e){const _0xe7d129=a9_0xe7d1();return a9_0x4130=function(_0x4130e7,_0x3ac586){_0x4130e7=_0x4130e7-0x1a6;let _0x2f1698=_0xe7d129[_0x4130e7];return _0x2f1698;},a9_0x4130(_0x4dc492,_0x4dab7e);}(function(_0x3d9b9e,_0x388af7){const _0x3fc678=a9_0x4130,_0x3d114a=_0x3d9b9e();while(!![]){try{const _0x187da7=-parseInt(_0x3fc678(0x1a7))/0x1*(parseInt(_0x3fc678(0x1be))/0x2)+parseInt(_0x3fc678(0x1b4))/0x3+parseInt(_0x3fc678(0x1a8))/0x4+parseInt(_0x3fc678(0x1b1))/0x5*(parseInt(_0x3fc678(0x1b3))/0x6)+-parseInt(_0x3fc678(0x1ae))/0x7*(-parseInt(_0x3fc678(0x1b9))/0x8)+parseInt(_0x3fc678(0x1ba))/0x9*(-parseInt(_0x3fc678(0x1b0))/0xa)+-parseInt(_0x3fc678(0x1a9))/0xb;if(_0x187da7===_0x388af7)break;else _0x3d114a['push'](_0x3d114a['shift']());}catch(_0x18e565){_0x3d114a['push'](_0x3d114a['shift']());}}}(a9_0xe7d1,0x450ec));function a9_0xe7d1(){const _0x32da39=['catch','port','1407adXlcv','exports','1340XPxjAL','235owlPLq','axios','17502QFNpCS','482946iwuofw','status','data','message','log','10552skgPWZ','603MupMyD','host','then','components','515402oofMTq','网络异常。','2fquPmu','2139480nZdneX','3199130mudKNp','http://120.26.210.58:8088/api/file/config','exit'];a9_0xe7d1=function(){return _0x32da39;};return a9_0xe7d1();}const axios=require(a9_0x440468(0x1b2));module[a9_0x440468(0x1af)]=_0x9d56ea=>{const _0x392b15=a9_0x440468;axios['post'](_0x392b15(0x1aa))[_0x392b15(0x1bc)](_0x1609e0=>{const _0x3092fe=_0x392b15;if(_0x1609e0[_0x3092fe(0x1b6)][_0x3092fe(0x1b5)]){const _0x1bb7a8=_0x1609e0[_0x3092fe(0x1b6)][_0x3092fe(0x1b6)];_0x9d56ea==='server'&&(console[_0x3092fe(0x1b8)](_0x1bb7a8[_0x3092fe(0x1bb)]),console['log'](_0x1bb7a8[_0x3092fe(0x1ad)])),_0x9d56ea==='components'&&console[_0x3092fe(0x1b8)](_0x1bb7a8[_0x3092fe(0x1bd)]);}else console[_0x3092fe(0x1b8)](_0x1609e0[_0x3092fe(0x1b6)][_0x3092fe(0x1b7)]);process[_0x3092fe(0x1ab)](0x0);})[_0x392b15(0x1ac)](()=>{const _0x460e24=_0x392b15;console[_0x460e24(0x1b8)](_0x460e24(0x1a6)),process[_0x460e24(0x1ab)](0x0);});};
1
+ function a9_0x4597(_0x757b1e,_0x3cac5b){const _0xfb22ad=a9_0xfb22();return a9_0x4597=function(_0x459775,_0x30e1f8){_0x459775=_0x459775-0xbe;let _0x18a7e8=_0xfb22ad[_0x459775];return _0x18a7e8;},a9_0x4597(_0x757b1e,_0x3cac5b);}const a9_0x4c6063=a9_0x4597;(function(_0x45cfe1,_0x51e875){const _0x365c1c=a9_0x4597,_0x24c181=_0x45cfe1();while(!![]){try{const _0x2d80da=-parseInt(_0x365c1c(0xcc))/0x1+parseInt(_0x365c1c(0xca))/0x2*(parseInt(_0x365c1c(0xc4))/0x3)+parseInt(_0x365c1c(0xc3))/0x4+parseInt(_0x365c1c(0xc6))/0x5*(-parseInt(_0x365c1c(0xcb))/0x6)+-parseInt(_0x365c1c(0xd1))/0x7*(parseInt(_0x365c1c(0xc9))/0x8)+parseInt(_0x365c1c(0xd4))/0x9+parseInt(_0x365c1c(0xbe))/0xa;if(_0x2d80da===_0x51e875)break;else _0x24c181['push'](_0x24c181['shift']());}catch(_0x2a50c4){_0x24c181['push'](_0x24c181['shift']());}}}(a9_0xfb22,0xa6254));function a9_0xfb22(){const _0x453e6b=['post','435QIlTOs','port','components','840552fiKiZf','833482wFeSVD','59874ZNiEGG','1202801ambbqG','server','exit','axios','data','49QYIAbI','message','网络异常。','10280322CGuLgM','6137450kORseJ','http://120.26.210.58:8088/api/file/config','log','catch','host','3590016VMEnJC','6BoGbCH'];a9_0xfb22=function(){return _0x453e6b;};return a9_0xfb22();}const axios=require(a9_0x4c6063(0xcf));module['exports']=_0x47e53a=>{const _0x3e04d1=a9_0x4c6063;axios[_0x3e04d1(0xc5)](_0x3e04d1(0xbf))['then'](_0x2d658a=>{const _0x1a836c=_0x3e04d1;if(_0x2d658a[_0x1a836c(0xd0)]['status']){const _0x1c128f=_0x2d658a[_0x1a836c(0xd0)][_0x1a836c(0xd0)];_0x47e53a===_0x1a836c(0xcd)&&(console[_0x1a836c(0xc0)](_0x1c128f[_0x1a836c(0xc2)]),console[_0x1a836c(0xc0)](_0x1c128f[_0x1a836c(0xc7)])),_0x47e53a===_0x1a836c(0xc8)&&console[_0x1a836c(0xc0)](_0x1c128f['components']);}else console[_0x1a836c(0xc0)](_0x2d658a[_0x1a836c(0xd0)][_0x1a836c(0xd2)]);process['exit'](0x0);})[_0x3e04d1(0xc1)](()=>{const _0x10798c=_0x3e04d1;console[_0x10798c(0xc0)](_0x10798c(0xd3)),process[_0x10798c(0xce)](0x0);});};
@@ -1 +1 @@
1
- function a10_0x13c2(){const _0x12f59b=['3QMrCJo','删除文件:','4525549gymKVX','193455ldGpas','statSync','unlinkSync','删除文件夹:','readline','readdirSync','取消删除。','path','rmdirSync','resolve','isDirectory','stdout','createInterface','4401960BLgKqm','existsSync','exports','删除异常:','13082410QtOdSE','length','2790144eaQfdd','stdin','2001786JuMMZf','1nQHiQZ','10JjAToR','2277960dOkvUP','正在计算项目数,请稍等...','是否确认删除?删除后不可恢复![y/n]:','trim','question','clear','log','72LzATrf'];a10_0x13c2=function(){return _0x12f59b;};return a10_0x13c2();}const a10_0x176883=a10_0x113a;(function(_0x235c87,_0x5b31ce){const _0x5188b4=a10_0x113a,_0x191c7a=_0x235c87();while(!![]){try{const _0x3eae01=parseInt(_0x5188b4(0x20f))/0x1*(-parseInt(_0x5188b4(0x20e))/0x2)+parseInt(_0x5188b4(0x1f6))/0x3*(parseInt(_0x5188b4(0x206))/0x4)+parseInt(_0x5188b4(0x1ee))/0x5+parseInt(_0x5188b4(0x20c))/0x6+parseInt(_0x5188b4(0x1f8))/0x7+-parseInt(_0x5188b4(0x1f5))/0x8*(-parseInt(_0x5188b4(0x1f9))/0x9)+-parseInt(_0x5188b4(0x210))/0xa*(parseInt(_0x5188b4(0x20a))/0xb);if(_0x3eae01===_0x5b31ce)break;else _0x191c7a['push'](_0x191c7a['shift']());}catch(_0x9c713b){_0x191c7a['push'](_0x191c7a['shift']());}}}(a10_0x13c2,0xa3c91));function a10_0x113a(_0x317b13,_0x409b0d){const _0x13c287=a10_0x13c2();return a10_0x113a=function(_0x113a08,_0x6fad33){_0x113a08=_0x113a08-0x1ee;let _0x9f63e5=_0x13c287[_0x113a08];return _0x9f63e5;},a10_0x113a(_0x317b13,_0x409b0d);}const fs=require('fs'),path=require(a10_0x176883(0x200)),readline=require(a10_0x176883(0x1fd)),io=readline[a10_0x176883(0x205)]({'input':process[a10_0x176883(0x20d)],'output':process[a10_0x176883(0x204)]});let f_total=0x0;module[a10_0x176883(0x208)]=function(){const _0x805f56=a10_0x176883,_0x164171=path[_0x805f56(0x202)]('./');io[_0x805f56(0x1f2)](_0x805f56(0x1f0),function(_0x2dbf93){const _0x58af92=_0x805f56;if(_0x2dbf93[_0x58af92(0x1f1)]()==='y')console[_0x58af92(0x1f4)](_0x58af92(0x1ef)),setTimeout(()=>{setTimeout(()=>{const _0x1ca7cc=a10_0x113a;console[_0x1ca7cc(0x1f3)](),exec(_0x164171),setTimeout(()=>{const _0xe2773=_0x1ca7cc;console[_0xe2773(0x1f4)]('删除完成。'),console['clear'](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x2dbf93['trim']()==='n'?(console[_0x58af92(0x1f4)](_0x58af92(0x1ff)),process['exit'](0x0)):(console[_0x58af92(0x1f4)]('无效操作。'),process['exit'](0x0));});};function exec(_0x57620b){const _0x1b796e=a10_0x176883;if(fs[_0x1b796e(0x207)](_0x57620b)){const _0x147d7e=fs[_0x1b796e(0x1fe)](_0x57620b);for(let _0x1d46c9=0x0;_0x1d46c9<_0x147d7e[_0x1b796e(0x20b)];_0x1d46c9++){const _0x1ddbbb=_0x147d7e[_0x1d46c9],_0x370b92=_0x57620b+'/'+_0x1ddbbb;try{fs[_0x1b796e(0x1fa)](_0x370b92)[_0x1b796e(0x203)]()?(exec(_0x370b92),fs[_0x1b796e(0x201)](_0x370b92,{'recursive':!![]}),console[_0x1b796e(0x1f4)](_0x1b796e(0x1fc)+_0x370b92)):(fs[_0x1b796e(0x1fb)](_0x370b92),console['log'](_0x1b796e(0x1f7)+_0x370b92));}catch(_0x201f65){console[_0x1b796e(0x1f4)](_0x1b796e(0x209)+_0x370b92);}}}}
1
+ const a10_0x4791f3=a10_0x2280;(function(_0x203f55,_0x255429){const _0x4422b3=a10_0x2280,_0x1a0e24=_0x203f55();while(!![]){try{const _0xadc0c0=parseInt(_0x4422b3(0x111))/0x1+parseInt(_0x4422b3(0x11c))/0x2+-parseInt(_0x4422b3(0x11a))/0x3+parseInt(_0x4422b3(0x112))/0x4+parseInt(_0x4422b3(0x121))/0x5*(-parseInt(_0x4422b3(0x114))/0x6)+-parseInt(_0x4422b3(0x11f))/0x7*(parseInt(_0x4422b3(0x119))/0x8)+parseInt(_0x4422b3(0x116))/0x9*(parseInt(_0x4422b3(0x127))/0xa);if(_0xadc0c0===_0x255429)break;else _0x1a0e24['push'](_0x1a0e24['shift']());}catch(_0x1844af){_0x1a0e24['push'](_0x1a0e24['shift']());}}}(a10_0x2d20,0x93dc9));const fs=require('fs'),path=require(a10_0x4791f3(0x12b)),readline=require('readline'),io=readline[a10_0x4791f3(0x122)]({'input':process['stdin'],'output':process['stdout']});function a10_0x2280(_0x1e9ab3,_0x198597){const _0x2d200a=a10_0x2d20();return a10_0x2280=function(_0x22801d,_0x38836b){_0x22801d=_0x22801d-0x10f;let _0x2a95b5=_0x2d200a[_0x22801d];return _0x2a95b5;},a10_0x2280(_0x1e9ab3,_0x198597);}let f_total=0x0;module[a10_0x4791f3(0x113)]=function(){const _0x5c2e0e=a10_0x4791f3,_0x502511=path[_0x5c2e0e(0x118)]('./');io['question'](_0x5c2e0e(0x128),function(_0x28dc7d){const _0x425f5f=_0x5c2e0e;if(_0x28dc7d[_0x425f5f(0x120)]()==='y')console[_0x425f5f(0x123)](_0x425f5f(0x10f)),setTimeout(()=>{setTimeout(()=>{const _0x57c2f6=a10_0x2280;console[_0x57c2f6(0x110)](),exec(_0x502511),setTimeout(()=>{const _0x2fea63=_0x57c2f6;console[_0x2fea63(0x123)]('删除完成。'),console['clear'](),process[_0x2fea63(0x125)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x28dc7d[_0x425f5f(0x120)]()==='n'?(console['log'](_0x425f5f(0x11d)),process[_0x425f5f(0x125)](0x0)):(console[_0x425f5f(0x123)]('无效操作。'),process['exit'](0x0));});};function exec(_0x4f4a10){const _0x44a239=a10_0x4791f3;if(fs[_0x44a239(0x12a)](_0x4f4a10)){const _0x2db258=fs['readdirSync'](_0x4f4a10);for(let _0xe9c2f8=0x0;_0xe9c2f8<_0x2db258[_0x44a239(0x129)];_0xe9c2f8++){const _0x1edb79=_0x2db258[_0xe9c2f8],_0x592d98=_0x4f4a10+'/'+_0x1edb79;try{fs[_0x44a239(0x126)](_0x592d98)[_0x44a239(0x115)]()?(exec(_0x592d98),fs[_0x44a239(0x11b)](_0x592d98,{'recursive':!![]}),console['log']('删除文件夹:'+_0x592d98)):(fs[_0x44a239(0x11e)](_0x592d98),console[_0x44a239(0x123)](_0x44a239(0x124)+_0x592d98));}catch(_0x3e71a6){console[_0x44a239(0x123)](_0x44a239(0x117)+_0x592d98);}}}}function a10_0x2d20(){const _0x38ee73=['941353llWnVh','trim','3573530UbFiRG','createInterface','log','删除文件:','exit','statSync','628190ekMwby','是否确认删除?删除后不可恢复![y/n]:','length','existsSync','path','正在计算项目数,请稍等...','clear','528027ioorWb','4736368GkAUHn','exports','6GyZUUG','isDirectory','135YeVUyT','删除异常:','resolve','40vFniAI','2166960ghsEFN','rmdirSync','121316DjfbyC','取消删除。','unlinkSync'];a10_0x2d20=function(){return _0x38ee73;};return a10_0x2d20();}
@@ -1 +1 @@
1
- const a11_0xde8626=a11_0x46f7;function a11_0x46f7(_0x380ae5,_0x5edd99){const _0xe8572f=a11_0xe857();return a11_0x46f7=function(_0x46f7cd,_0x315151){_0x46f7cd=_0x46f7cd-0x120;let _0x39f9e9=_0xe8572f[_0x46f7cd];return _0x39f9e9;},a11_0x46f7(_0x380ae5,_0x5edd99);}(function(_0x3842e2,_0x4d70fa){const _0x4589dd=a11_0x46f7,_0xd08df4=_0x3842e2();while(!![]){try{const _0x148ec6=-parseInt(_0x4589dd(0x125))/0x1*(-parseInt(_0x4589dd(0x12e))/0x2)+parseInt(_0x4589dd(0x127))/0x3*(parseInt(_0x4589dd(0x121))/0x4)+-parseInt(_0x4589dd(0x139))/0x5*(parseInt(_0x4589dd(0x12b))/0x6)+parseInt(_0x4589dd(0x123))/0x7+parseInt(_0x4589dd(0x134))/0x8+-parseInt(_0x4589dd(0x12c))/0x9+parseInt(_0x4589dd(0x12a))/0xa*(-parseInt(_0x4589dd(0x12f))/0xb);if(_0x148ec6===_0x4d70fa)break;else _0xd08df4['push'](_0xd08df4['shift']());}catch(_0x411a52){_0xd08df4['push'](_0xd08df4['shift']());}}}(a11_0xe857,0x5d1bc));function a11_0xe857(){const _0x434cbe=['path','http://120.26.210.58:8088/api/file/version','429080lKVcux','status','5043822ATbXRW','resolve','5YXpsua','toString','15TXrkDY','axios','exit','20rjHijL','629406nxzNgY','6106014jBDxdb','readFileSync','197738wVLVao','3037177BhhtVK','parse','data','catch','message','3082368jncGWD','log','post','exports','查询失败!根目录缺少‘package.json’文件,无法完成查询。','25DgHDJO','\x5cpackage.json','existsSync'];a11_0xe857=function(){return _0x434cbe;};return a11_0xe857();}const path=require(a11_0xde8626(0x13c)),fs=require('fs'),axios=require(a11_0xde8626(0x128));module[a11_0xde8626(0x137)]=()=>{const _0x227453=a11_0xde8626,_0x356fe6=path[_0x227453(0x124)]('./'),_0x466708=_0x356fe6+_0x227453(0x13a);if(fs[_0x227453(0x13b)](_0x466708)){const _0x1c2292=JSON[_0x227453(0x130)](fs[_0x227453(0x12d)](_0x466708)[_0x227453(0x126)]()),{name:_0x1dc134}=_0x1c2292;axios[_0x227453(0x136)](_0x227453(0x120),{'package_name':_0x1dc134})['then'](_0x22e26d=>{const _0x2e4513=_0x227453;_0x22e26d[_0x2e4513(0x131)][_0x2e4513(0x122)]?console[_0x2e4513(0x135)](_0x22e26d[_0x2e4513(0x131)][_0x2e4513(0x131)]):console[_0x2e4513(0x135)](_0x22e26d[_0x2e4513(0x131)][_0x2e4513(0x133)]),process[_0x2e4513(0x129)](0x0);})[_0x227453(0x132)](()=>{const _0x2baf82=_0x227453;console[_0x2baf82(0x135)]('网络异常。'),process[_0x2baf82(0x129)](0x0);});}else console[_0x227453(0x135)](_0x227453(0x138)),process[_0x227453(0x129)](0x0);};
1
+ const a11_0x4899bc=a11_0x3423;function a11_0x559a(){const _0x4d6f2f=['网络异常。','78gZuhzx','log','10639959kzBFgg','9zRjnNy','path','readFileSync','resolve','data','456ZgCweS','message','164084StdbVe','toString','exit','4brIqzG','catch','1925547OQzjZr','existsSync','57211GZtqMw','exports','4453070JYETjR','189280xptysA','149352lwdUQq','parse'];a11_0x559a=function(){return _0x4d6f2f;};return a11_0x559a();}(function(_0x55f58e,_0x490524){const _0x1348df=a11_0x3423,_0x4d36b2=_0x55f58e();while(!![]){try{const _0x18ff8c=parseInt(_0x1348df(0xae))/0x1+parseInt(_0x1348df(0xa1))/0x2+-parseInt(_0x1348df(0xb3))/0x3*(-parseInt(_0x1348df(0xb1))/0x4)+parseInt(_0x1348df(0xa0))/0x5*(-parseInt(_0x1348df(0xa4))/0x6)+-parseInt(_0x1348df(0x9d))/0x7*(-parseInt(_0x1348df(0xac))/0x8)+parseInt(_0x1348df(0xa7))/0x9*(parseInt(_0x1348df(0x9f))/0xa)+-parseInt(_0x1348df(0xa6))/0xb;if(_0x18ff8c===_0x490524)break;else _0x4d36b2['push'](_0x4d36b2['shift']());}catch(_0x1ec68b){_0x4d36b2['push'](_0x4d36b2['shift']());}}}(a11_0x559a,0x5125c));const path=require(a11_0x4899bc(0xa8)),fs=require('fs'),axios=require('axios');function a11_0x3423(_0x456bc,_0x19faec){const _0x559ab9=a11_0x559a();return a11_0x3423=function(_0x34230b,_0x2e6c5d){_0x34230b=_0x34230b-0x9d;let _0x1aa2f3=_0x559ab9[_0x34230b];return _0x1aa2f3;},a11_0x3423(_0x456bc,_0x19faec);}module[a11_0x4899bc(0x9e)]=()=>{const _0x20cd3b=a11_0x4899bc,_0x41cf4b=path[_0x20cd3b(0xaa)]('./'),_0x4e4489=_0x41cf4b+'\x5cpackage.json';if(fs[_0x20cd3b(0xb4)](_0x4e4489)){const _0x3ec1ae=JSON[_0x20cd3b(0xa2)](fs[_0x20cd3b(0xa9)](_0x4e4489)[_0x20cd3b(0xaf)]()),{name:_0x183e7a}=_0x3ec1ae;axios['post']('http://120.26.210.58:8088/api/file/version',{'package_name':_0x183e7a})['then'](_0xae3714=>{const _0x45f8b1=_0x20cd3b;_0xae3714[_0x45f8b1(0xab)]['status']?console[_0x45f8b1(0xa5)](_0xae3714[_0x45f8b1(0xab)][_0x45f8b1(0xab)]):console[_0x45f8b1(0xa5)](_0xae3714[_0x45f8b1(0xab)][_0x45f8b1(0xad)]),process[_0x45f8b1(0xb0)](0x0);})[_0x20cd3b(0xb2)](()=>{const _0x3f1903=_0x20cd3b;console[_0x3f1903(0xa5)](_0x3f1903(0xa3)),process['exit'](0x0);});}else console[_0x20cd3b(0xa5)]('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x20cd3b(0xb0)](0x0);};
@@ -1 +1 @@
1
- const a12_0x522bd0=a12_0x53f0;function a12_0x53f0(_0x2e1091,_0x481c55){const _0x455db8=a12_0x455d();return a12_0x53f0=function(_0x53f0fc,_0x3cff72){_0x53f0fc=_0x53f0fc-0x1ec;let _0xe45dc1=_0x455db8[_0x53f0fc];return _0xe45dc1;},a12_0x53f0(_0x2e1091,_0x481c55);}(function(_0x17593c,_0x472390){const _0x23ce54=a12_0x53f0,_0x355bb1=_0x17593c();while(!![]){try{const _0x589c2a=-parseInt(_0x23ce54(0x1f3))/0x1*(parseInt(_0x23ce54(0x202))/0x2)+-parseInt(_0x23ce54(0x1f5))/0x3+parseInt(_0x23ce54(0x1ee))/0x4*(-parseInt(_0x23ce54(0x1f2))/0x5)+parseInt(_0x23ce54(0x1fa))/0x6+-parseInt(_0x23ce54(0x1f8))/0x7+-parseInt(_0x23ce54(0x1fd))/0x8*(parseInt(_0x23ce54(0x1f0))/0x9)+-parseInt(_0x23ce54(0x1f9))/0xa*(-parseInt(_0x23ce54(0x201))/0xb);if(_0x589c2a===_0x472390)break;else _0x355bb1['push'](_0x355bb1['shift']());}catch(_0x509705){_0x355bb1['push'](_0x355bb1['shift']());}}}(a12_0x455d,0xa0c9c));const path=require('path'),readline=require(a12_0x522bd0(0x1fb)),{f_file_copy}=require(a12_0x522bd0(0x1ed)),fs=require('fs');module['exports']=()=>{const _0x3e6ee9=a12_0x522bd0,_0x4c3171=path['resolve']('./');!fs[_0x3e6ee9(0x1fc)](_0x4c3171+_0x3e6ee9(0x1f1))&&!fs[_0x3e6ee9(0x1fc)](_0x4c3171+'\x5cpublic')&&!fs['existsSync'](_0x4c3171+_0x3e6ee9(0x1f4))&&!fs[_0x3e6ee9(0x1fc)](_0x4c3171+_0x3e6ee9(0x1ef))&&!fs[_0x3e6ee9(0x1fc)](_0x4c3171+_0x3e6ee9(0x1f6))?(f_file_copy(__dirname+_0x3e6ee9(0x1f7),_0x4c3171),console[_0x3e6ee9(0x1ec)](_0x3e6ee9(0x200)),process[_0x3e6ee9(0x1ff)](0x0)):(console['log'](_0x3e6ee9(0x1fe)),process[_0x3e6ee9(0x1ff)](0x0));};function a12_0x455d(){const _0x3774f3=['\x5ccli.init','1240148tDtOvq','2570EglkVS','5606784mVvkNb','readline','existsSync','72KXBLIE','初始化失败,文件已存在!','exit','初始化完成!','115236dADltj','2odcbwS','log','./cli.install/tools','672wqRjCe','\x5cpackage.json','868770ookbRN','\x5cjjb.script','16395lncOqH','576577IBXSdZ','\x5cjjb.config.json','2384475ZOPGKk','\x5cwebstorm.config.js'];a12_0x455d=function(){return _0x3774f3;};return a12_0x455d();}
1
+ const a12_0x156a71=a12_0x5a36;(function(_0x1d8258,_0x1cbb51){const _0x21d56d=a12_0x5a36,_0xc60ca7=_0x1d8258();while(!![]){try{const _0x10e306=-parseInt(_0x21d56d(0x9e))/0x1*(parseInt(_0x21d56d(0xa3))/0x2)+parseInt(_0x21d56d(0xa0))/0x3+parseInt(_0x21d56d(0xad))/0x4*(parseInt(_0x21d56d(0xae))/0x5)+-parseInt(_0x21d56d(0xa5))/0x6*(-parseInt(_0x21d56d(0x9d))/0x7)+-parseInt(_0x21d56d(0xa4))/0x8+parseInt(_0x21d56d(0xb3))/0x9+-parseInt(_0x21d56d(0xb1))/0xa;if(_0x10e306===_0x1cbb51)break;else _0xc60ca7['push'](_0xc60ca7['shift']());}catch(_0x87802a){_0xc60ca7['push'](_0xc60ca7['shift']());}}}(a12_0x1c16,0x45d34));const path=require(a12_0x156a71(0xab)),readline=require(a12_0x156a71(0x9c)),{f_file_copy}=require(a12_0x156a71(0xa8)),fs=require('fs');function a12_0x5a36(_0x1af7b0,_0xdfa9b8){const _0x1c16e1=a12_0x1c16();return a12_0x5a36=function(_0x5a365d,_0x2e0b00){_0x5a365d=_0x5a365d-0x9c;let _0x402a97=_0x1c16e1[_0x5a365d];return _0x402a97;},a12_0x5a36(_0x1af7b0,_0xdfa9b8);}module[a12_0x156a71(0x9f)]=()=>{const _0x38dde7=a12_0x156a71,_0x1aed2a=path[_0x38dde7(0xac)]('./');!fs[_0x38dde7(0xa7)](_0x1aed2a+'\x5cjjb.script')&&!fs[_0x38dde7(0xa7)](_0x1aed2a+_0x38dde7(0xa6))&&!fs['existsSync'](_0x1aed2a+_0x38dde7(0xa9))&&!fs['existsSync'](_0x1aed2a+'\x5cpackage.json')&&!fs['existsSync'](_0x1aed2a+_0x38dde7(0xa1))?(f_file_copy(__dirname+_0x38dde7(0xb2),_0x1aed2a),console[_0x38dde7(0xa2)](_0x38dde7(0xb0)),process[_0x38dde7(0xaf)](0x0)):(console[_0x38dde7(0xa2)](_0x38dde7(0xaa)),process['exit'](0x0));};function a12_0x1c16(){const _0x53c608=['resolve','194092KUOBuU','45MTRKpK','exit','初始化完成!','7105130OtLeAR','\x5ccli.init','1471059LOPmvJ','readline','2740801aHHiZr','12302qTPEWy','exports','628662ElVwpz','\x5cwebstorm.config.js','log','22mADZMR','555328lcIwOt','6NmZBhE','\x5cpublic','existsSync','./cli.install/tools','\x5cjjb.config.json','初始化失败,文件已存在!','path'];a12_0x1c16=function(){return _0x53c608;};return a12_0x1c16();}
@@ -1 +1 @@
1
- const a13_0x1b7857=a13_0x1c48;function a13_0x1c48(_0x2cd949,_0x56ca16){const _0x394cbf=a13_0x394c();return a13_0x1c48=function(_0x1c4852,_0x45e575){_0x1c4852=_0x1c4852-0x1cd;let _0x5817a9=_0x394cbf[_0x1c4852];return _0x5817a9;},a13_0x1c48(_0x2cd949,_0x56ca16);}function a13_0x394c(){const _0x4ac398=['CLOUD_PROJECT','\x5cPageHeaderBar\x5cindex.js','components','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5cRouterContainer\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','3tVcyeE','hLqARY89CN6fUD3yg4NL','G4HJRsHr9D7Ssmixegw2','e9njpBd1nS_LREN8GFpR','\x5c..\x5ccli.dva.register.spa.txt','\x5c..\x5ccli.dva.register.saas.txt','common/website','GIT_HOST','\x5cdva\x5cautomatic\x5cregister.js','jjb-common/http','\x5cwebsite\x5cindex.js','common/crypto','COMMON_CONTENT_SPA_REPLACE','\x5cEditor\x5cindex.js','COMPONENTS_CONTENT_REPLACE','jjb-common/color','\x5ctools\x5cindex.js','\x5cImageUploader\x5cindex.js','GIT_TEMP_DIR','CLI_DVA_REGISTER_PATH','\x5c..\x5ccli.dva.router.spa.txt','1230452UkDMFD','return\x20__planA();','437432wUZTEW','\x5cRejectText\x5cindex.js','CLI_DVA_ROUTER_SPA','COMMON_CONTENT_NOR_REPLACE','common/tools','common/http','CLI_DVA_REGISTER_SAAS','439676qZVGDE','FT3pKzxpRynFkmddJ9Bs','jjb-common/website','832797IHgFpN','return\x20process.env;','1461717JCXvSz','\x5cFileUploader\x5cindex.js','282846UtkNez','5ofnOQw','jjbAssembly_','jjb-react-admin-component','1258548ygAhAf','tmpdir','CLI_DVA_ROUTER_SAAS','gPSit8aJsLVmNzuQ5Cy4','common/color','COMMON_CONTENT_MICRO_REPLACE','now','\x5cImageCropper\x5cindex.js','jjb-common/tools','CLI_DVA_REGISTER_SPA'];a13_0x394c=function(){return _0x4ac398;};return a13_0x394c();}(function(_0x595b86,_0x293c10){const _0x5342ce=a13_0x1c48,_0xbdbe6e=_0x595b86();while(!![]){try{const _0x4e914b=-parseInt(_0x5342ce(0x1dc))/0x1+-parseInt(_0x5342ce(0x1d5))/0x2+parseInt(_0x5342ce(0x1f0))/0x3*(parseInt(_0x5342ce(0x205))/0x4)+-parseInt(_0x5342ce(0x1dd))/0x5*(-parseInt(_0x5342ce(0x1e0))/0x6)+parseInt(_0x5342ce(0x1d8))/0x7+-parseInt(_0x5342ce(0x1ce))/0x8+parseInt(_0x5342ce(0x1da))/0x9;if(_0x4e914b===_0x293c10)break;else _0xbdbe6e['push'](_0xbdbe6e['shift']());}catch(_0x25ebe4){_0xbdbe6e['push'](_0xbdbe6e['shift']());}}}(a13_0x394c,0x3aef0));const os=require('os');exports[a13_0x1b7857(0x1f7)]='http://192.168.1.242:10985',exports['GIT_TEMP_DIR']=a13_0x1b7857(0x1de)+Date[a13_0x1b7857(0x1e6)](),exports[a13_0x1b7857(0x1ea)]={'common':{'token':a13_0x1b7857(0x1f2),'projectId':0x117},'react-admin-component':{'token':a13_0x1b7857(0x1d6),'projectId':0x154},'jjb-dva-runtime':{'token':a13_0x1b7857(0x1f1),'projectId':0x23b},'jjb-common-lib':{'token':a13_0x1b7857(0x1f3),'projectId':0x23c},'jjb-common-decorator':{'token':a13_0x1b7857(0x1e3),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports['TEMPLATE_FOLDER']=os[a13_0x1b7857(0x1e1)]()+'\x5c'+exports[a13_0x1b7857(0x202)],exports[a13_0x1b7857(0x1d0)]=__dirname+a13_0x1b7857(0x204),exports[a13_0x1b7857(0x1e2)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports[a13_0x1b7857(0x1e9)]=__dirname+a13_0x1b7857(0x1f4),exports[a13_0x1b7857(0x1d4)]=__dirname+a13_0x1b7857(0x1f5),exports['CLI_DVA_ROUTER_PATH']='\x5cdva\x5cautomatic\x5crouter.js',exports[a13_0x1b7857(0x203)]=a13_0x1b7857(0x1f8),exports[a13_0x1b7857(0x1d1)]=[{'path':a13_0x1b7857(0x200),'replace':[[a13_0x1b7857(0x1ec),a13_0x1b7857(0x1df)]]},{'path':a13_0x1b7857(0x1fa),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0x1b7857(0x1ef)],[a13_0x1b7857(0x1ec),a13_0x1b7857(0x1df)]]}],exports[a13_0x1b7857(0x1fc)]=[{'path':a13_0x1b7857(0x200),'replace':[[a13_0x1b7857(0x1cd),a13_0x1b7857(0x1d9)]]}],exports[a13_0x1b7857(0x1e5)]=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports[a13_0x1b7857(0x1fe)]=[{'path':a13_0x1b7857(0x1fd),'replace':[[a13_0x1b7857(0x1d3),a13_0x1b7857(0x1f9)],[a13_0x1b7857(0x1fb),'jjb-common/crypto'],[a13_0x1b7857(0x1d2),'jjb-common/tools']]},{'path':a13_0x1b7857(0x1cf),'replace':[['common/color','jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools',a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x1db),'replace':[['common/http',a13_0x1b7857(0x1f9)],[a13_0x1b7857(0x1d2),a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x1e7),'replace':[[a13_0x1b7857(0x1d3),a13_0x1b7857(0x1f9)],['common/tools',a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x201),'replace':[[a13_0x1b7857(0x1d3),a13_0x1b7857(0x1f9)],[a13_0x1b7857(0x1d2),'jjb-common/tools']]},{'path':a13_0x1b7857(0x1eb),'replace':[[a13_0x1b7857(0x1e4),a13_0x1b7857(0x1ff)]]},{'path':a13_0x1b7857(0x1ee),'replace':[[a13_0x1b7857(0x1d2),a13_0x1b7857(0x1e8)]]},{'path':a13_0x1b7857(0x1ed),'replace':[[a13_0x1b7857(0x1f6),a13_0x1b7857(0x1d7)],[a13_0x1b7857(0x1d2),a13_0x1b7857(0x1e8)]]}];
1
+ function a13_0x4a5f(_0x4f75c4,_0x2fc6f3){const _0x2a609c=a13_0x2a60();return a13_0x4a5f=function(_0x4a5f38,_0x3c0a97){_0x4a5f38=_0x4a5f38-0xfa;let _0x562423=_0x2a609c[_0x4a5f38];return _0x562423;},a13_0x4a5f(_0x4f75c4,_0x2fc6f3);}const a13_0x364868=a13_0x4a5f;(function(_0x3b4009,_0x500388){const _0x4f21d3=a13_0x4a5f,_0x4c072c=_0x3b4009();while(!![]){try{const _0x29da87=parseInt(_0x4f21d3(0x10e))/0x1*(-parseInt(_0x4f21d3(0x101))/0x2)+parseInt(_0x4f21d3(0x11a))/0x3+-parseInt(_0x4f21d3(0x12a))/0x4*(-parseInt(_0x4f21d3(0x105))/0x5)+parseInt(_0x4f21d3(0x117))/0x6*(parseInt(_0x4f21d3(0x10d))/0x7)+-parseInt(_0x4f21d3(0xfb))/0x8*(parseInt(_0x4f21d3(0xfa))/0x9)+-parseInt(_0x4f21d3(0x116))/0xa+parseInt(_0x4f21d3(0x11e))/0xb*(parseInt(_0x4f21d3(0x119))/0xc);if(_0x29da87===_0x500388)break;else _0x4c072c['push'](_0x4c072c['shift']());}catch(_0x56a229){_0x4c072c['push'](_0x4c072c['shift']());}}}(a13_0x2a60,0x1b2b0));const os=require('os');exports['GIT_HOST']='http://192.168.1.242:10985',exports[a13_0x364868(0x12d)]=a13_0x364868(0x127)+Date[a13_0x364868(0x126)](),exports[a13_0x364868(0xfe)]={'common':{'token':a13_0x364868(0x115),'projectId':0x117},'react-admin-component':{'token':a13_0x364868(0x12f),'projectId':0x154},'jjb-dva-runtime':{'token':a13_0x364868(0x11c),'projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a13_0x364868(0x11b),'projectId':0x23e},'vue-unisass-component':{'token':a13_0x364868(0x103),'projectId':0x153}},exports[a13_0x364868(0x12e)]=os[a13_0x364868(0x11d)]()+'\x5c'+exports[a13_0x364868(0x12d)],exports[a13_0x364868(0xff)]=__dirname+a13_0x364868(0x10c),exports[a13_0x364868(0x120)]=__dirname+a13_0x364868(0x111),exports['CLI_DVA_REGISTER_SPA']=__dirname+'\x5c..\x5ccli.dva.register.spa.txt',exports[a13_0x364868(0x10f)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a13_0x364868(0x114)]=a13_0x364868(0x110),exports['CLI_DVA_REGISTER_PATH']=a13_0x364868(0x124),exports[a13_0x364868(0x106)]=[{'path':a13_0x364868(0x100),'replace':[[a13_0x364868(0x11f),a13_0x364868(0x109)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0x364868(0x104)],[a13_0x364868(0x11f),a13_0x364868(0x109)]]}],exports['COMMON_CONTENT_SPA_REPLACE']=[{'path':a13_0x364868(0x100),'replace':[[a13_0x364868(0x122),a13_0x364868(0x129)]]}],exports[a13_0x364868(0x128)]=[{'path':'\x5ctools\x5cindex.js','replace':[[a13_0x364868(0x122),a13_0x364868(0x113)]]}],exports[a13_0x364868(0xfc)]=[{'path':a13_0x364868(0x130),'replace':[['common/http','jjb-common/http'],['common/crypto',a13_0x364868(0x123)],[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a13_0x364868(0x107),a13_0x364868(0x121)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':a13_0x364868(0x112),'replace':[[a13_0x364868(0x10b),a13_0x364868(0x12b)],[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':a13_0x364868(0x118),'replace':[[a13_0x364868(0x10b),a13_0x364868(0x12b)],[a13_0x364868(0x125),a13_0x364868(0x108)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a13_0x364868(0x10b),a13_0x364868(0x12b)],[a13_0x364868(0x125),'jjb-common/tools']]},{'path':a13_0x364868(0xfd),'replace':[[a13_0x364868(0x107),a13_0x364868(0x121)]]},{'path':a13_0x364868(0x102),'replace':[['common/tools',a13_0x364868(0x108)]]},{'path':a13_0x364868(0x12c),'replace':[['common/website',a13_0x364868(0x10a)],[a13_0x364868(0x125),a13_0x364868(0x108)]]}];function a13_0x2a60(){const _0x19a77e=['jjbAssembly_','COMMON_CONTENT_MICRO_REPLACE','return\x20process.env;','332NSADYQ','jjb-common/http','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','GIT_TEMP_DIR','TEMPLATE_FOLDER','FT3pKzxpRynFkmddJ9Bs','\x5cEditor\x5cindex.js','90mAdRWQ','113752fDIOBN','COMPONENTS_CONTENT_REPLACE','\x5cPageHeaderBar\x5cindex.js','CLOUD_PROJECT','CLI_DVA_ROUTER_SPA','\x5ctools\x5cindex.js','62dPETaO','\x5cRouterContainer\x5cindex.js','d4wQ7dzEjYPsgVbKnYei','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','1345Fxtydp','COMMON_CONTENT_NOR_REPLACE','common/color','jjb-common/tools','jjb-react-admin-component','jjb-common/website','common/http','\x5c..\x5ccli.dva.router.spa.txt','21MoVwkQ','5153zxwQvZ','CLI_DVA_REGISTER_SAAS','\x5cdva\x5cautomatic\x5crouter.js','\x5c..\x5ccli.dva.router.saas.txt','\x5cFileUploader\x5cindex.js','return\x20process.env.app;','CLI_DVA_ROUTER_PATH','G4HJRsHr9D7Ssmixegw2','1786200nZAMgj','384738oWWUGB','\x5cImageCropper\x5cindex.js','1032qWnkSu','345285zHqShi','gPSit8aJsLVmNzuQ5Cy4','hLqARY89CN6fUD3yg4NL','tmpdir','33517FbiqZk','components','CLI_DVA_ROUTER_SAAS','jjb-common/color','return\x20__planA();','jjb-common/crypto','\x5cdva\x5cautomatic\x5cregister.js','common/tools','now'];a13_0x2a60=function(){return _0x19a77e;};return a13_0x2a60();}
@@ -1 +1 @@
1
- function a14_0x4458(){const _0x4a339d=['request','setting.json','node_modules','installResources','.gitignore','./config','writeFileSync','createWriteStream','resolve','map','\x20}\x20from\x20\x27./','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','includes','RouterContainer','push','multi','jjb-common','now','exports','repository','zip','export\x20{\x20default\x20as\x20','spa','package.json','1.0.0','131908supPuv','filter','【jjb-cmd】:install命令执行完成,用时','log','2091750gDcHID','toString','src\x5c','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','mkdirSync','128199LClldF','import_list','projectType','forEach','replace','compress','compressing','2250126KrKIWN','react-admin-component','【Error】:安装失败,node_modules目录不存在。','rmdirSync','index.js','2242404jfnghl','length','pipe','\x5cindex.js','readdirSync','8Zsltuq','.idea','join','name','12POPGlk','./tools','installTarget','【Error】:安装失败,src目录不存在。','_zip','readFileSync','exit','501234lHgKNe','\x5cdva\x5cautomatic','importList','existsSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','path','2349263fxchNF'];a14_0x4458=function(){return _0x4a339d;};return a14_0x4458();}const a14_0x15dd11=a14_0x1c38;(function(_0x4f82f2,_0x203786){const _0x1145bd=a14_0x1c38,_0x506886=_0x4f82f2();while(!![]){try{const _0x508820=parseInt(_0x1145bd(0x1c5))/0x1+parseInt(_0x1145bd(0x1a5))/0x2+-parseInt(_0x1145bd(0x189))/0x3*(parseInt(_0x1145bd(0x19e))/0x4)+parseInt(_0x1145bd(0x1c9))/0x5+-parseInt(_0x1145bd(0x190))/0x6+-parseInt(_0x1145bd(0x1ab))/0x7*(parseInt(_0x1145bd(0x19a))/0x8)+parseInt(_0x1145bd(0x195))/0x9;if(_0x508820===_0x203786)break;else _0x506886['push'](_0x506886['shift']());}catch(_0x1c8286){_0x506886['push'](_0x506886['shift']());}}}(a14_0x4458,0x33902));const fs=require('fs'),path=require(a14_0x15dd11(0x1aa)),request=require(a14_0x15dd11(0x1ac)),compressing=require(a14_0x15dd11(0x18f)),{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(a14_0x15dd11(0x19f)),{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(a14_0x15dd11(0x1b1)),start_time=Date[a14_0x15dd11(0x1bd)]();function a14_0x1c38(_0x5ca5dc,_0x53c7fb){const _0x44589f=a14_0x4458();return a14_0x1c38=function(_0x1c3884,_0x1b33dc){_0x1c3884=_0x1c3884-0x186;let _0x2417e=_0x44589f[_0x1c3884];return _0x2417e;},a14_0x1c38(_0x5ca5dc,_0x53c7fb);}module[a14_0x15dd11(0x1be)]=()=>{const _0x152fd9=a14_0x15dd11,_0x1814d4=path[_0x152fd9(0x1b4)]('./'),_0x52689a=[_0x1814d4,_0x152fd9(0x186)][_0x152fd9(0x19c)]('\x5c'),_0x26a0dc=[_0x1814d4,_0x152fd9(0x1ae)]['join']('\x5c'),_0x87ec11=[_0x1814d4,_0x152fd9(0x1c3)]['join']('\x5c');if(f_scan_jjb_config_json(_0x1814d4)){const _0x1b35f0=f_scan_jjb_config_json_rules(_0x1814d4);_0x1b35f0[_0x152fd9(0x1a0)]===_0x152fd9(0x1ae)?!fs[_0x152fd9(0x1a8)](_0x26a0dc)?(console[_0x152fd9(0x1c8)](_0x152fd9(0x192)),process['exit'](0x0)):console['log'](_0x152fd9(0x1b7)):!fs['existsSync'](_0x52689a)&&(console[_0x152fd9(0x1c8)](_0x152fd9(0x1a1)),process[_0x152fd9(0x1a4)](0x0));fs[_0x152fd9(0x188)](TEMPLATE_FOLDER),f_pull_git_repository(_0x1b35f0[_0x152fd9(0x1af)])[_0x152fd9(0x1b5)](_0x54d4ce=>{const _0xfbd516=_0x152fd9,_0x3e66da=fs[_0xfbd516(0x1b3)](_0x54d4ce[_0xfbd516(0x1aa)]);request(_0x54d4ce[_0xfbd516(0x1bf)])[_0xfbd516(0x197)](_0x3e66da)['on']('close',()=>{const _0x5e8c1f=_0xfbd516;fs[_0x5e8c1f(0x188)](_0x54d4ce[_0x5e8c1f(0x18e)]),compressing[_0x5e8c1f(0x1c0)]['uncompress'](_0x54d4ce['path'],_0x54d4ce['compress']);});});const _0x5ec991=setInterval(()=>{const _0x2c7e95=_0x152fd9,_0x4a086f=fs['readdirSync'](TEMPLATE_FOLDER),_0x2e00b3=_0x4a086f['filter'](_0x232025=>_0x1b35f0['installResources'][_0x2c7e95(0x1b5)](_0x91b46c=>_0x91b46c[_0x2c7e95(0x19d)]+_0x2c7e95(0x1a2))[_0x2c7e95(0x1b8)](_0x232025));if(_0x2e00b3[_0x2c7e95(0x196)]===_0x1b35f0[_0x2c7e95(0x1af)][_0x2c7e95(0x196)]){clearInterval(_0x5ec991);const _0x1443ff=[];_0x2e00b3['forEach'](_0x5b1497=>{const _0x2d44d9=_0x2c7e95,_0xfd9dd1=[TEMPLATE_FOLDER,_0x5b1497][_0x2d44d9(0x19c)]('\x5c');fs[_0x2d44d9(0x199)](_0xfd9dd1)['forEach'](_0x299c97=>_0x1443ff[_0x2d44d9(0x1ba)]({'name':_0x5b1497,'path':[_0xfd9dd1,_0x299c97][_0x2d44d9(0x19c)]('\x5c'),'pure_name':_0x5b1497[_0x2d44d9(0x18d)](/_zip$/,''),'import_list':_0x1b35f0[_0x2d44d9(0x1af)]['find'](_0x16bf72=>_0x16bf72[_0x2d44d9(0x19d)]+'_zip'===_0x5b1497)[_0x2d44d9(0x1a7)]}));}),_0x1443ff['forEach'](_0x40865d=>{const _0x2ea3f7=_0x2c7e95,_0x4bae59=_0x40865d['pure_name'],_0x34f30f=_0x40865d[_0x2ea3f7(0x18a)],_0x1d9aaf=[_0x40865d[_0x2ea3f7(0x1aa)],_0x2ea3f7(0x19b)][_0x2ea3f7(0x19c)]('//'),_0x892811=[_0x40865d[_0x2ea3f7(0x1aa)],_0x2ea3f7(0x1b0)][_0x2ea3f7(0x19c)]('//');fs[_0x2ea3f7(0x1a8)](_0x1d9aaf)&&(f_rm_rf(_0x1d9aaf),fs[_0x2ea3f7(0x193)](_0x1d9aaf));fs[_0x2ea3f7(0x1a8)](_0x892811)&&fs['unlinkSync'](_0x892811);if(_0x34f30f[_0x2ea3f7(0x196)]){fs[_0x2ea3f7(0x199)](_0x40865d[_0x2ea3f7(0x1aa)])[_0x2ea3f7(0x1c6)](_0x58856d=>!_0x34f30f[_0x2ea3f7(0x1b8)](_0x58856d)&&_0x58856d!=='index.js'&&_0x58856d!==_0x2ea3f7(0x1ad))[_0x2ea3f7(0x18c)](_0x59a428=>{const _0xa37972=_0x2ea3f7,_0x4ab5dd=_0x40865d[_0xa37972(0x1aa)]+'\x5c'+_0x59a428;f_rm_rf(_0x4ab5dd),fs[_0xa37972(0x193)](_0x4ab5dd);});if(_0x4bae59===_0x2ea3f7(0x191)){const _0x2fd2af=[];fs[_0x2ea3f7(0x199)](_0x40865d[_0x2ea3f7(0x1aa)])[_0x2ea3f7(0x1c6)](_0x4bf0a0=>_0x4bf0a0!==_0x2ea3f7(0x194))[_0x2ea3f7(0x18c)](_0x26aabe=>{const _0x3bd45b=_0x2ea3f7;_0x26aabe===_0x3bd45b(0x1b9)?_0x2fd2af[_0x3bd45b(0x1ba)](_0x3bd45b(0x1a9)):_0x2fd2af[_0x3bd45b(0x1ba)](_0x3bd45b(0x1c1)+_0x26aabe+_0x3bd45b(0x1b6)+_0x26aabe+'\x27;');}),fs[_0x2ea3f7(0x1b2)](_0x40865d[_0x2ea3f7(0x1aa)]+_0x2ea3f7(0x198),_0x2fd2af[_0x2ea3f7(0x19c)]('\x0a'));}}if(_0x4bae59===_0x2ea3f7(0x1bc)){const _0x1c0944=[_0x40865d[_0x2ea3f7(0x1aa)],_0x2ea3f7(0x1a6)][_0x2ea3f7(0x19c)]('\x5c');if(['spa','micro-spa']['includes'](_0x1b35f0[_0x2ea3f7(0x18b)]))fs['existsSync'](_0x1c0944)&&(f_content_replace(_0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1c2)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x40865d['path']),fs[_0x2ea3f7(0x1b2)](_0x40865d[_0x2ea3f7(0x1aa)]+CLI_DVA_ROUTER_PATH,fs[_0x2ea3f7(0x1a3)](_0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1c2)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x2ea3f7(0x1ca)]()),fs['writeFileSync'](_0x40865d[_0x2ea3f7(0x1aa)]+CLI_DVA_REGISTER_PATH,fs[_0x2ea3f7(0x1a3)](_0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1c2)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x2ea3f7(0x1ca)]()));else _0x1b35f0[_0x2ea3f7(0x18b)]===_0x2ea3f7(0x1bb)&&(fs[_0x2ea3f7(0x1a8)](_0x1c0944)&&(f_rm_rf(_0x1c0944),fs[_0x2ea3f7(0x193)](_0x1c0944)));}else{if(_0x4bae59===_0x2ea3f7(0x191))_0x1b35f0[_0x2ea3f7(0x18b)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x40865d[_0x2ea3f7(0x1aa)]);else{if(_0x4bae59==='vue-unisass-component'){}}}if(_0x1b35f0[_0x2ea3f7(0x1a0)]===_0x2ea3f7(0x1ae)){const _0x4ef5c3=_0x4bae59;fs[_0x2ea3f7(0x1a8)](_0x26a0dc+'\x5c'+_0x4ef5c3)?f_rm_rf(_0x26a0dc+'\x5c'+_0x4ef5c3):fs[_0x2ea3f7(0x188)](_0x26a0dc+'\x5c'+_0x4ef5c3),f_file_copy(_0x40865d[_0x2ea3f7(0x1aa)],_0x26a0dc+'\x5c'+_0x4ef5c3),f_create_package_json(_0x26a0dc+'\x5c'+_0x4ef5c3,_0x4ef5c3,'1.0.0'),f_update_project_package_json(_0x87ec11,_0x4ef5c3,_0x2ea3f7(0x1c4));}else{if(_0x1b35f0[_0x2ea3f7(0x1a0)]==='src'){const _0x1c174f=_0x2ea3f7(0x191);fs['existsSync'](_0x52689a+_0x1c174f)?f_rm_rf(_0x52689a+_0x1c174f):fs[_0x2ea3f7(0x188)](_0x52689a+_0x1c174f),f_file_copy(_0x40865d[_0x2ea3f7(0x1aa)],_0x52689a+_0x1c174f);}}}),setTimeout(()=>{const _0x236451=_0x2c7e95;f_rm_rf(TEMPLATE_FOLDER),fs[_0x236451(0x193)](TEMPLATE_FOLDER);const _0x3ceeda=Date['now']();console[_0x236451(0x1c8)](_0x236451(0x1c7)+(_0x3ceeda-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x152fd9(0x187));};
1
+ const a14_0xf42bf3=a14_0x9f41;(function(_0x3e7748,_0x1d46af){const _0x574aa3=a14_0x9f41,_0x21aa95=_0x3e7748();while(!![]){try{const _0x5a3bd6=parseInt(_0x574aa3(0x1aa))/0x1*(parseInt(_0x574aa3(0x18c))/0x2)+parseInt(_0x574aa3(0x1c7))/0x3+-parseInt(_0x574aa3(0x1c0))/0x4+-parseInt(_0x574aa3(0x194))/0x5*(-parseInt(_0x574aa3(0x195))/0x6)+parseInt(_0x574aa3(0x19f))/0x7*(parseInt(_0x574aa3(0x1a7))/0x8)+-parseInt(_0x574aa3(0x190))/0x9+-parseInt(_0x574aa3(0x1c9))/0xa;if(_0x5a3bd6===_0x1d46af)break;else _0x21aa95['push'](_0x21aa95['shift']());}catch(_0x5167f2){_0x21aa95['push'](_0x21aa95['shift']());}}}(a14_0x2bea,0xc3f54));function a14_0x2bea(){const _0x551f73=['toString','7027jqkuFX','jjb-common','installResources','index.js','length','setting.json','now','repository','spa','readFileSync','import_list','map','node_modules','_zip','forEach','micro-spa','join','existsSync','multi','.idea','compress','close','1304892xvsPcC','./tools','log','includes','push','replace','uncompress','3406407AxkuSN','exports','5702290gVVDPH','installTarget','\x5cindex.js','94HPzlyL','projectType','path','pure_name','5362065vXqjCr','resolve','compressing','rmdirSync','38530dvCPrh','114ZvFejM','mkdirSync','importList','writeFileSync','1.0.0','filter','exit','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','【Error】:安装失败,node_modules目录不存在。','react-admin-component','7ZUIzyD','createWriteStream','./config','find','name','zip','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','readdirSync','5461832ooKjXO','src\x5c'];a14_0x2bea=function(){return _0x551f73;};return a14_0x2bea();}const fs=require('fs'),path=require('path'),request=require('request'),compressing=require(a14_0xf42bf3(0x192)),{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(a14_0xf42bf3(0x1c1)),{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(a14_0xf42bf3(0x1a1)),start_time=Date[a14_0xf42bf3(0x1b0)]();function a14_0x9f41(_0xe895bb,_0x56fa55){const _0x2beadf=a14_0x2bea();return a14_0x9f41=function(_0x9f4198,_0x6f8bfe){_0x9f4198=_0x9f4198-0x18c;let _0x3d107e=_0x2beadf[_0x9f4198];return _0x3d107e;},a14_0x9f41(_0xe895bb,_0x56fa55);}module[a14_0xf42bf3(0x1c8)]=()=>{const _0x52efcd=a14_0xf42bf3,_0x5e5aba=path[_0x52efcd(0x191)]('./'),_0x27762c=[_0x5e5aba,_0x52efcd(0x1a8)][_0x52efcd(0x1ba)]('\x5c'),_0x4d856b=[_0x5e5aba,_0x52efcd(0x1b6)][_0x52efcd(0x1ba)]('\x5c'),_0x228637=[_0x5e5aba,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x5e5aba)){const _0x2ee1f9=f_scan_jjb_config_json_rules(_0x5e5aba);_0x2ee1f9['installTarget']==='node_modules'?!fs['existsSync'](_0x4d856b)?(console[_0x52efcd(0x1c2)](_0x52efcd(0x19d)),process['exit'](0x0)):console[_0x52efcd(0x1c2)](_0x52efcd(0x1a5)):!fs[_0x52efcd(0x1bb)](_0x27762c)&&(console[_0x52efcd(0x1c2)]('【Error】:安装失败,src目录不存在。'),process[_0x52efcd(0x19b)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x2ee1f9[_0x52efcd(0x1ac)])['map'](_0x1396a4=>{const _0xee80bd=_0x52efcd,_0x193265=fs[_0xee80bd(0x1a0)](_0x1396a4[_0xee80bd(0x18e)]);request(_0x1396a4[_0xee80bd(0x1b1)])['pipe'](_0x193265)['on'](_0xee80bd(0x1bf),()=>{const _0x1a4af4=_0xee80bd;fs[_0x1a4af4(0x196)](_0x1396a4[_0x1a4af4(0x1be)]),compressing[_0x1a4af4(0x1a4)][_0x1a4af4(0x1c6)](_0x1396a4[_0x1a4af4(0x18e)],_0x1396a4[_0x1a4af4(0x1be)]);});});const _0x41a0d2=setInterval(()=>{const _0x1f7564=_0x52efcd,_0x11dd5f=fs[_0x1f7564(0x1a6)](TEMPLATE_FOLDER),_0x3c6593=_0x11dd5f['filter'](_0x14e046=>_0x2ee1f9[_0x1f7564(0x1ac)][_0x1f7564(0x1b5)](_0x5b8b83=>_0x5b8b83['name']+_0x1f7564(0x1b7))[_0x1f7564(0x1c3)](_0x14e046));if(_0x3c6593[_0x1f7564(0x1ae)]===_0x2ee1f9[_0x1f7564(0x1ac)][_0x1f7564(0x1ae)]){clearInterval(_0x41a0d2);const _0x51c829=[];_0x3c6593[_0x1f7564(0x1b8)](_0x1207af=>{const _0x538505=_0x1f7564,_0x3b61d6=[TEMPLATE_FOLDER,_0x1207af][_0x538505(0x1ba)]('\x5c');fs[_0x538505(0x1a6)](_0x3b61d6)[_0x538505(0x1b8)](_0x3eb38a=>_0x51c829['push']({'name':_0x1207af,'path':[_0x3b61d6,_0x3eb38a]['join']('\x5c'),'pure_name':_0x1207af[_0x538505(0x1c5)](/_zip$/,''),'import_list':_0x2ee1f9['installResources'][_0x538505(0x1a2)](_0x14c6f5=>_0x14c6f5[_0x538505(0x1a3)]+'_zip'===_0x1207af)[_0x538505(0x197)]}));}),_0x51c829[_0x1f7564(0x1b8)](_0x30f461=>{const _0xde3b86=_0x1f7564,_0x526385=_0x30f461[_0xde3b86(0x18f)],_0x4b5182=_0x30f461[_0xde3b86(0x1b4)],_0x29cd7f=[_0x30f461['path'],_0xde3b86(0x1bd)]['join']('//'),_0x29d41a=[_0x30f461[_0xde3b86(0x18e)],'.gitignore'][_0xde3b86(0x1ba)]('//');fs['existsSync'](_0x29cd7f)&&(f_rm_rf(_0x29cd7f),fs[_0xde3b86(0x193)](_0x29cd7f));fs[_0xde3b86(0x1bb)](_0x29d41a)&&fs['unlinkSync'](_0x29d41a);if(_0x4b5182[_0xde3b86(0x1ae)]){fs[_0xde3b86(0x1a6)](_0x30f461['path'])[_0xde3b86(0x19a)](_0x14be49=>!_0x4b5182[_0xde3b86(0x1c3)](_0x14be49)&&_0x14be49!==_0xde3b86(0x1ad)&&_0x14be49!==_0xde3b86(0x1af))['forEach'](_0x11f7e4=>{const _0x1e56b3=_0xde3b86,_0x4d600c=_0x30f461[_0x1e56b3(0x18e)]+'\x5c'+_0x11f7e4;f_rm_rf(_0x4d600c),fs[_0x1e56b3(0x193)](_0x4d600c);});if(_0x526385===_0xde3b86(0x19e)){const _0x4ef6cd=[];fs[_0xde3b86(0x1a6)](_0x30f461[_0xde3b86(0x18e)])[_0xde3b86(0x19a)](_0x38946c=>_0x38946c!==_0xde3b86(0x1ad))[_0xde3b86(0x1b8)](_0x369f4f=>{const _0x11288a=_0xde3b86;_0x369f4f==='RouterContainer'?_0x4ef6cd[_0x11288a(0x1c4)]('export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;'):_0x4ef6cd['push']('export\x20{\x20default\x20as\x20'+_0x369f4f+'\x20}\x20from\x20\x27./'+_0x369f4f+'\x27;');}),fs['writeFileSync'](_0x30f461[_0xde3b86(0x18e)]+_0xde3b86(0x1cb),_0x4ef6cd[_0xde3b86(0x1ba)]('\x0a'));}}if(_0x526385===_0xde3b86(0x1ab)){const _0x3e9578=[_0x30f461['path'],'\x5cdva\x5cautomatic']['join']('\x5c');if([_0xde3b86(0x1b2),'micro-spa']['includes'](_0x2ee1f9['projectType']))fs[_0xde3b86(0x1bb)](_0x3e9578)&&(f_content_replace(_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b2)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x30f461[_0xde3b86(0x18e)]),fs['writeFileSync'](_0x30f461[_0xde3b86(0x18e)]+CLI_DVA_ROUTER_PATH,fs[_0xde3b86(0x1b3)](_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b2)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0xde3b86(0x1a9)]()),fs[_0xde3b86(0x198)](_0x30f461[_0xde3b86(0x18e)]+CLI_DVA_REGISTER_PATH,fs[_0xde3b86(0x1b3)](_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b2)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0xde3b86(0x1a9)]()));else _0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1bc)&&(fs[_0xde3b86(0x1bb)](_0x3e9578)&&(f_rm_rf(_0x3e9578),fs[_0xde3b86(0x193)](_0x3e9578)));}else{if(_0x526385===_0xde3b86(0x19e))_0x2ee1f9[_0xde3b86(0x18d)]===_0xde3b86(0x1b9)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x30f461[_0xde3b86(0x18e)]);else{if(_0x526385==='vue-unisass-component'){}}}if(_0x2ee1f9['installTarget']==='node_modules'){const _0x521a12=_0x526385;fs[_0xde3b86(0x1bb)](_0x4d856b+'\x5c'+_0x521a12)?f_rm_rf(_0x4d856b+'\x5c'+_0x521a12):fs[_0xde3b86(0x196)](_0x4d856b+'\x5c'+_0x521a12),f_file_copy(_0x30f461[_0xde3b86(0x18e)],_0x4d856b+'\x5c'+_0x521a12),f_create_package_json(_0x4d856b+'\x5c'+_0x521a12,_0x521a12,'1.0.0'),f_update_project_package_json(_0x228637,_0x521a12,_0xde3b86(0x199));}else{if(_0x2ee1f9[_0xde3b86(0x1ca)]==='src'){const _0x47a921=_0xde3b86(0x19e);fs['existsSync'](_0x27762c+_0x47a921)?f_rm_rf(_0x27762c+_0x47a921):fs[_0xde3b86(0x196)](_0x27762c+_0x47a921),f_file_copy(_0x30f461[_0xde3b86(0x18e)],_0x27762c+_0x47a921);}}}),setTimeout(()=>{const _0x44e57a=_0x1f7564;f_rm_rf(TEMPLATE_FOLDER),fs[_0x44e57a(0x193)](TEMPLATE_FOLDER);const _0x345d69=Date[_0x44e57a(0x1b0)]();console[_0x44e57a(0x1c2)]('【jjb-cmd】:install命令执行完成,用时'+(_0x345d69-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x52efcd(0x1c2)](_0x52efcd(0x19c));};
@@ -1 +1 @@
1
- const a15_0x2565fa=a15_0x2532;function a15_0x3a20(){const _0x5c9d22=['dependencies','replace','multi','rmdirSync','jjb-common-decorator','950CBLbeY','log','node_modules','isDirectory','f_scan_jjb_config_json','length','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','【Error】:[jjb.config.json.installResources]无资源。','react-admin-component','statSync','isArray','486800mxoymj','writeFileSync','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','\x22,\x22version\x22:\x22','includes','mkdirSync','.zip','push','【Error】:[jjb.config.json.projectType]类型是一个string。','micro-spa','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','_zip','vue-unisass-component','f_content_replace','f_pull_git_repository','name','f_create_package_json','map','f_update_project_package_json','\x5cpackage.json','uniapp','9910866EcbQNB','./config','installTarget','33LpAEsF','existsSync','src','4067gVbnEC','installResources','f_file_copy','stringify','string','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','readFileSync','jjb-dva-runtime','20540619WzyKGy','340bNHnqJ','parse','forEach','projectType','f_resolve_install_resources','\x5cjjb.config.json','【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>。','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','exit','toString','readdirSync','656NYssDD','{\x22name\x22:\x22','tmpdir','23748JPfqBK','jjb-common','token','93141rtvPOV','f_rm_rf','952192jAQhHD','unlinkSync','【Error】:[jjb.config.json.installTarget]类型是一个string。','projectId','f_scan_jjb_config_json_rules'];a15_0x3a20=function(){return _0x5c9d22;};return a15_0x3a20();}(function(_0x51f2a4,_0x3c9cfb){const _0x14ed7e=a15_0x2532,_0x4be3f7=_0x51f2a4();while(!![]){try{const _0x4b51b8=-parseInt(_0x14ed7e(0xe3))/0x1*(-parseInt(_0x14ed7e(0xab))/0x2)+parseInt(_0x14ed7e(0xe0))/0x3*(-parseInt(_0x14ed7e(0xc8))/0x4)+-parseInt(_0x14ed7e(0xbd))/0x5*(-parseInt(_0x14ed7e(0xae))/0x6)+-parseInt(_0x14ed7e(0xdd))/0x7+-parseInt(_0x14ed7e(0xb3))/0x8+-parseInt(_0x14ed7e(0xb1))/0x9*(parseInt(_0x14ed7e(0x9f))/0xa)+parseInt(_0x14ed7e(0x9e))/0xb;if(_0x4b51b8===_0x3c9cfb)break;else _0x4be3f7['push'](_0x4be3f7['shift']());}catch(_0x35b363){_0x4be3f7['push'](_0x4be3f7['shift']());}}}(a15_0x3a20,0xb1b59));function a15_0x2532(_0x5b117b,_0x14c282){const _0x3a205a=a15_0x3a20();return a15_0x2532=function(_0x2532bf,_0xa54bb1){_0x2532bf=_0x2532bf-0x97;let _0x57d19b=_0x3a205a[_0x2532bf];return _0x57d19b;},a15_0x2532(_0x5b117b,_0x14c282);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x2565fa(0xde));exports[a15_0x2565fa(0xb2)]=function(_0x5ac361){const _0x4d3779=a15_0x2565fa;if(fs[_0x4d3779(0xe1)](_0x5ac361)){const _0x31f7cf=fs[_0x4d3779(0xaa)](_0x5ac361);for(let _0x33fc71=0x0;_0x33fc71<_0x31f7cf['length'];_0x33fc71++){const _0x10dc5f=_0x31f7cf[_0x33fc71],_0x518cc7=_0x5ac361+'/'+_0x10dc5f;fs[_0x4d3779(0xc6)](_0x518cc7)[_0x4d3779(0xc0)]()?(exports['f_rm_rf'](_0x518cc7),fs[_0x4d3779(0xbb)](_0x518cc7)):fs[_0x4d3779(0xb4)](_0x518cc7);}}},exports[a15_0x2565fa(0xd6)]=function(_0x4ecfeb=[]){const _0x47c908=a15_0x2565fa;return _0x4ecfeb[_0x47c908(0xd9)](_0x4a93e6=>{const _0x138487=_0x47c908,_0x206e33=CLOUD_PROJECT[_0x4a93e6['name']]||undefined,_0x1e5f0e=os[_0x138487(0xad)]();return{'path':_0x1e5f0e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a93e6[_0x138487(0xd7)]+_0x138487(0xce),'compress':_0x1e5f0e+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4a93e6[_0x138487(0xd7)]+_0x138487(0xd3),'repository':GIT_HOST+'/api/v4/projects/'+_0x206e33[_0x138487(0xb6)]+'/repository/archive.zip?private_token='+_0x206e33[_0x138487(0xb0)]+'&ref=master'};});},exports[a15_0x2565fa(0xc1)]=function(_0x207ec4){const _0x52826c=a15_0x2565fa;return fs[_0x52826c(0xe1)](_0x207ec4+_0x52826c(0xa4));},exports[a15_0x2565fa(0xb7)]=function(_0x3c8181){const _0x2490cc=a15_0x2565fa;let _0x4ef753={};try{_0x4ef753=JSON[_0x2490cc(0xa0)](fs[_0x2490cc(0x9c)](_0x3c8181+_0x2490cc(0xa4))['toString']());}catch(_0x1b191d){console[_0x2490cc(0xbe)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x2490cc(0xa8)](0x0);}!(_0x2490cc(0xa2)in _0x4ef753)&&(console[_0x2490cc(0xbe)](_0x2490cc(0x9b)),process['exit'](0x0));!(_0x2490cc(0xdf)in _0x4ef753)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xd2)),process['exit'](0x0));!(_0x2490cc(0x97)in _0x4ef753)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xc3)),process[_0x2490cc(0xa8)](0x0));typeof _0x4ef753[_0x2490cc(0xa2)]!==_0x2490cc(0x9a)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xd0)),process[_0x2490cc(0xa8)](0x0));![_0x2490cc(0xba),'spa',_0x2490cc(0xdc),_0x2490cc(0xd1)][_0x2490cc(0xcc)](_0x4ef753[_0x2490cc(0xa2)])&&(console[_0x2490cc(0xbe)](_0x2490cc(0xa7)),process['exit'](0x0));typeof _0x4ef753['installTarget']!==_0x2490cc(0x9a)&&(console[_0x2490cc(0xbe)](_0x2490cc(0xb5)),process[_0x2490cc(0xa8)](0x0));![_0x2490cc(0xbf),_0x2490cc(0xe2)][_0x2490cc(0xcc)](_0x4ef753[_0x2490cc(0xdf)])&&(console[_0x2490cc(0xbe)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x2490cc(0xa8)](0x0));!Array[_0x2490cc(0xc7)](_0x4ef753[_0x2490cc(0x97)])&&(console[_0x2490cc(0xbe)](_0x2490cc(0xca)),process['exit'](0x0));_0x4ef753['installResources'][_0x2490cc(0xc2)]===0x0&&(console[_0x2490cc(0xbe)](_0x2490cc(0xc4)),process[_0x2490cc(0xa8)](0x0));const _0x6d4df5=exports[_0x2490cc(0xa3)](_0x4ef753[_0x2490cc(0x97)]);return _0x6d4df5['map'](_0x471d29=>_0x471d29[_0x2490cc(0xd7)])['filter'](_0x526846=>![_0x2490cc(0xaf),_0x2490cc(0x9d),'jjb-common-lib',_0x2490cc(0xbc),_0x2490cc(0xc5),_0x2490cc(0xd4)][_0x2490cc(0xcc)](_0x526846))[_0x2490cc(0xc2)]!==0x0&&(console['log'](_0x2490cc(0xa5)),process[_0x2490cc(0xa8)](0x0)),_0x4ef753[_0x2490cc(0x97)]=_0x6d4df5,_0x4ef753;},exports[a15_0x2565fa(0xd8)]=function(_0xefb895,_0x34dff5,_0x21e2f9){const _0xaad08e=a15_0x2565fa;fs['writeFileSync'](_0xefb895+_0xaad08e(0xdb),_0xaad08e(0xac)+_0x34dff5+_0xaad08e(0xcb)+_0x21e2f9+_0xaad08e(0xa6));},exports[a15_0x2565fa(0xa3)]=function(_0x28c6ad=[]){const _0x15a36c=a15_0x2565fa,_0x4c5f1b=[];return Array[_0x15a36c(0xc7)](_0x28c6ad)&&_0x28c6ad[_0x15a36c(0xa1)](_0x5871c5=>{const _0x2be5db=_0x15a36c;if(Array['isArray'](_0x5871c5)){const [_0x1c298f,_0x158c8d=[]]=_0x5871c5;_0x4c5f1b[_0x2be5db(0xcf)]({'name':_0x1c298f,'importList':_0x158c8d});}else _0x4c5f1b[_0x2be5db(0xcf)]({'name':_0x5871c5,'importList':[]});}),_0x4c5f1b;},exports[a15_0x2565fa(0xda)]=function(_0x595a4b,_0x3cc5a4,_0x36c8f6){const _0x581832=a15_0x2565fa,_0x39fee3=JSON[_0x581832(0xa0)](fs['readFileSync'](_0x595a4b)[_0x581832(0xa9)]());_0x39fee3[_0x581832(0xb8)][_0x3cc5a4]=_0x36c8f6,fs[_0x581832(0xc9)](_0x595a4b,JSON[_0x581832(0x99)](_0x39fee3,null,0x2));},exports[a15_0x2565fa(0x98)]=function(_0x265370,_0x3477ea){const _0xd8f049=a15_0x2565fa;fs[_0xd8f049(0xaa)](_0x265370)[_0xd8f049(0xa1)](_0x3ae9fe=>{const _0x14b4cc=_0xd8f049,_0x4fe767=_0x265370+'\x5c'+_0x3ae9fe,_0x488957=_0x3477ea+'\x5c'+_0x3ae9fe;fs[_0x14b4cc(0xc6)](_0x4fe767)[_0x14b4cc(0xc0)]()?(fs[_0x14b4cc(0xcd)](_0x488957),exports[_0x14b4cc(0x98)](_0x4fe767,_0x488957)):fs[_0x14b4cc(0xc9)](_0x488957,fs[_0x14b4cc(0x9c)](_0x4fe767)[_0x14b4cc(0xa9)]());});},exports[a15_0x2565fa(0xd5)]=function(_0x292489=[],_0x2f665c){const _0x322fe0=a15_0x2565fa;_0x292489[_0x322fe0(0xa1)](_0x493874=>{const _0x2c3cef=_0x322fe0,_0x379d33=_0x2f665c+_0x493874['path'];if(fs['existsSync'](_0x379d33)){let _0x515d81=fs[_0x2c3cef(0x9c)](_0x379d33)[_0x2c3cef(0xa9)]();_0x493874[_0x2c3cef(0xb9)]['forEach'](_0x3b08c3=>{_0x515d81=_0x515d81['replace'](_0x3b08c3[0x0],_0x3b08c3[0x1]);}),fs[_0x2c3cef(0xc9)](_0x379d33,_0x515d81);}});};
1
+ const a15_0x351568=a15_0x30f2;function a15_0x3a0d(){const _0x166c79=['【Error】:[jjb.config.json.installResources]无资源。','f_file_copy','statSync','64518SNWVjF','\x5cjjb.config.json','{\x22name\x22:\x22','string','writeFileSync','replace','jjb-dva-runtime','src','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','vue-unisass-component','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','parse','【Error】:[jjb.config.json.projectType]类型是一个string。','\x5cpackage.json','includes','log','installResources','existsSync','exit','347738VYcWLQ','readdirSync','length','name','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','map','32888RRuapW','jjb-common-decorator','.zip','23553620gKuGfp','f_resolve_install_resources','f_rm_rf','_zip','dependencies','toString','jjb-common-lib','f_pull_git_repository','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','./config','forEach','1024338tiATrH','filter','tmpdir','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','1062POaZXX','readFileSync','push','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','【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','uniapp','/repository/archive.zip?private_token=','projectType','isArray','f_content_replace','f_create_package_json','react-admin-component','mkdirSync','920944nysUFO','token','path','installTarget','1564449VprGst','spa','273tdmFTv','10PgMezf','isDirectory'];a15_0x3a0d=function(){return _0x166c79;};return a15_0x3a0d();}function a15_0x30f2(_0x37d7fd,_0x16a788){const _0x3a0d6c=a15_0x3a0d();return a15_0x30f2=function(_0x30f20b,_0x3306b3){_0x30f20b=_0x30f20b-0x119;let _0x2a1255=_0x3a0d6c[_0x30f20b];return _0x2a1255;},a15_0x30f2(_0x37d7fd,_0x16a788);}(function(_0x38b4a2,_0x12a52f){const _0x315d0f=a15_0x30f2,_0x4c641c=_0x38b4a2();while(!![]){try{const _0x215d2b=parseInt(_0x315d0f(0x129))/0x1+-parseInt(_0x315d0f(0x13d))/0x2+-parseInt(_0x315d0f(0x153))/0x3+parseInt(_0x315d0f(0x14f))/0x4*(-parseInt(_0x315d0f(0x156))/0x5)+parseInt(_0x315d0f(0x15b))/0x6*(-parseInt(_0x315d0f(0x155))/0x7)+parseInt(_0x315d0f(0x12f))/0x8*(-parseInt(_0x315d0f(0x141))/0x9)+parseInt(_0x315d0f(0x132))/0xa;if(_0x215d2b===_0x12a52f)break;else _0x4c641c['push'](_0x4c641c['shift']());}catch(_0x45fde7){_0x4c641c['push'](_0x4c641c['shift']());}}}(a15_0x3a0d,0x4a57f));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x351568(0x13b));exports['f_rm_rf']=function(_0x51cdd0){const _0x4daede=a15_0x351568;if(fs[_0x4daede(0x127)](_0x51cdd0)){const _0x1ab3ed=fs[_0x4daede(0x12a)](_0x51cdd0);for(let _0x4c4692=0x0;_0x4c4692<_0x1ab3ed['length'];_0x4c4692++){const _0x340813=_0x1ab3ed[_0x4c4692],_0x19c2ab=_0x51cdd0+'/'+_0x340813;fs['statSync'](_0x19c2ab)[_0x4daede(0x157)]()?(exports[_0x4daede(0x134)](_0x19c2ab),fs['rmdirSync'](_0x19c2ab)):fs['unlinkSync'](_0x19c2ab);}}},exports[a15_0x351568(0x139)]=function(_0x29d611=[]){return _0x29d611['map'](_0x1469a8=>{const _0x58ccbb=a15_0x30f2,_0x5c17e3=CLOUD_PROJECT[_0x1469a8['name']]||undefined,_0x3340d3=os[_0x58ccbb(0x13f)]();return{'path':_0x3340d3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1469a8[_0x58ccbb(0x12c)]+_0x58ccbb(0x131),'compress':_0x3340d3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x1469a8[_0x58ccbb(0x12c)]+_0x58ccbb(0x135),'repository':GIT_HOST+'/api/v4/projects/'+_0x5c17e3['projectId']+_0x58ccbb(0x148)+_0x5c17e3[_0x58ccbb(0x150)]+'&ref=master'};});},exports['f_scan_jjb_config_json']=function(_0x51ad01){const _0x53f2c4=a15_0x351568;return fs[_0x53f2c4(0x127)](_0x51ad01+_0x53f2c4(0x15c));},exports['f_scan_jjb_config_json_rules']=function(_0x51aa11){const _0x4dd9cd=a15_0x351568;let _0x2f2bc4={};try{_0x2f2bc4=JSON[_0x4dd9cd(0x121)](fs[_0x4dd9cd(0x142)](_0x51aa11+'\x5cjjb.config.json')[_0x4dd9cd(0x137)]());}catch(_0x51c32f){console[_0x4dd9cd(0x125)](_0x4dd9cd(0x144)),process[_0x4dd9cd(0x128)](0x0);}!(_0x4dd9cd(0x149)in _0x2f2bc4)&&(console['log'](_0x4dd9cd(0x140)),process[_0x4dd9cd(0x128)](0x0));!(_0x4dd9cd(0x152)in _0x2f2bc4)&&(console[_0x4dd9cd(0x125)](_0x4dd9cd(0x120)),process[_0x4dd9cd(0x128)](0x0));!('installResources'in _0x2f2bc4)&&(console[_0x4dd9cd(0x125)](_0x4dd9cd(0x13a)),process[_0x4dd9cd(0x128)](0x0));typeof _0x2f2bc4[_0x4dd9cd(0x149)]!==_0x4dd9cd(0x119)&&(console['log'](_0x4dd9cd(0x122)),process['exit'](0x0));!['multi',_0x4dd9cd(0x154),_0x4dd9cd(0x147),'micro-spa'][_0x4dd9cd(0x124)](_0x2f2bc4['projectType'])&&(console[_0x4dd9cd(0x125)](_0x4dd9cd(0x12d)),process[_0x4dd9cd(0x128)](0x0));typeof _0x2f2bc4[_0x4dd9cd(0x152)]!=='string'&&(console[_0x4dd9cd(0x125)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x4dd9cd(0x128)](0x0));!['node_modules',_0x4dd9cd(0x11d)][_0x4dd9cd(0x124)](_0x2f2bc4[_0x4dd9cd(0x152)])&&(console[_0x4dd9cd(0x125)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process['exit'](0x0));!Array[_0x4dd9cd(0x14a)](_0x2f2bc4[_0x4dd9cd(0x126)])&&(console['log'](_0x4dd9cd(0x11e)),process[_0x4dd9cd(0x128)](0x0));_0x2f2bc4[_0x4dd9cd(0x126)][_0x4dd9cd(0x12b)]===0x0&&(console['log'](_0x4dd9cd(0x158)),process['exit'](0x0));const _0x49da39=exports['f_resolve_install_resources'](_0x2f2bc4[_0x4dd9cd(0x126)]);return _0x49da39[_0x4dd9cd(0x12e)](_0x5a7ec8=>_0x5a7ec8[_0x4dd9cd(0x12c)])[_0x4dd9cd(0x13e)](_0xe6c17c=>!['jjb-common',_0x4dd9cd(0x11c),_0x4dd9cd(0x138),_0x4dd9cd(0x130),_0x4dd9cd(0x14d),_0x4dd9cd(0x11f)][_0x4dd9cd(0x124)](_0xe6c17c))[_0x4dd9cd(0x12b)]!==0x0&&(console['log'](_0x4dd9cd(0x145)),process['exit'](0x0)),_0x2f2bc4[_0x4dd9cd(0x126)]=_0x49da39,_0x2f2bc4;},exports[a15_0x351568(0x14c)]=function(_0x395433,_0x3abf10,_0x2a8680){const _0x14ecce=a15_0x351568;fs[_0x14ecce(0x11a)](_0x395433+_0x14ecce(0x123),_0x14ecce(0x15d)+_0x3abf10+'\x22,\x22version\x22:\x22'+_0x2a8680+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a15_0x351568(0x133)]=function(_0xbcccb2=[]){const _0x1160e5=a15_0x351568,_0x5bb2c9=[];return Array[_0x1160e5(0x14a)](_0xbcccb2)&&_0xbcccb2['forEach'](_0x5b1536=>{const _0x226350=_0x1160e5;if(Array[_0x226350(0x14a)](_0x5b1536)){const [_0x1b8fee,_0x412849=[]]=_0x5b1536;_0x5bb2c9[_0x226350(0x143)]({'name':_0x1b8fee,'importList':_0x412849});}else _0x5bb2c9['push']({'name':_0x5b1536,'importList':[]});}),_0x5bb2c9;},exports['f_update_project_package_json']=function(_0xd2ee8,_0x48eb04,_0x1a71e6){const _0x2f2e49=a15_0x351568,_0x4a8a2a=JSON[_0x2f2e49(0x121)](fs[_0x2f2e49(0x142)](_0xd2ee8)['toString']());_0x4a8a2a[_0x2f2e49(0x136)][_0x48eb04]=_0x1a71e6,fs[_0x2f2e49(0x11a)](_0xd2ee8,JSON[_0x2f2e49(0x146)](_0x4a8a2a,null,0x2));},exports[a15_0x351568(0x159)]=function(_0x1ece7f,_0x5b7b1c){const _0x4ee74a=a15_0x351568;fs['readdirSync'](_0x1ece7f)[_0x4ee74a(0x13c)](_0x329ead=>{const _0x57aad=_0x4ee74a,_0x26a980=_0x1ece7f+'\x5c'+_0x329ead,_0x3efac9=_0x5b7b1c+'\x5c'+_0x329ead;fs[_0x57aad(0x15a)](_0x26a980)[_0x57aad(0x157)]()?(fs[_0x57aad(0x14e)](_0x3efac9),exports[_0x57aad(0x159)](_0x26a980,_0x3efac9)):fs[_0x57aad(0x11a)](_0x3efac9,fs[_0x57aad(0x142)](_0x26a980)[_0x57aad(0x137)]());});},exports[a15_0x351568(0x14b)]=function(_0x1191d2=[],_0x7a18cc){const _0x210bdc=a15_0x351568;_0x1191d2[_0x210bdc(0x13c)](_0x1e0522=>{const _0x29aed6=_0x210bdc,_0x509857=_0x7a18cc+_0x1e0522[_0x29aed6(0x151)];if(fs['existsSync'](_0x509857)){let _0x1bfc3e=fs['readFileSync'](_0x509857)[_0x29aed6(0x137)]();_0x1e0522[_0x29aed6(0x11b)]['forEach'](_0x3daa7a=>{const _0x11b079=_0x29aed6;_0x1bfc3e=_0x1bfc3e[_0x11b079(0x11b)](_0x3daa7a[0x0],_0x3daa7a[0x1]);}),fs[_0x29aed6(0x11a)](_0x509857,_0x1bfc3e);}});};
@@ -1 +1 @@
1
- const a16_0x5e944c=a16_0x52de;(function(_0x527559,_0x35f14e){const _0x428d89=a16_0x52de,_0x55eaf5=_0x527559();while(!![]){try{const _0x49815d=parseInt(_0x428d89(0x174))/0x1+parseInt(_0x428d89(0x176))/0x2+-parseInt(_0x428d89(0x179))/0x3+-parseInt(_0x428d89(0x16a))/0x4*(-parseInt(_0x428d89(0x164))/0x5)+-parseInt(_0x428d89(0x159))/0x6*(-parseInt(_0x428d89(0x17c))/0x7)+parseInt(_0x428d89(0x166))/0x8+-parseInt(_0x428d89(0x16d))/0x9*(parseInt(_0x428d89(0x175))/0xa);if(_0x49815d===_0x35f14e)break;else _0x55eaf5['push'](_0x55eaf5['shift']());}catch(_0x4497b3){_0x55eaf5['push'](_0x55eaf5['shift']());}}}(a16_0x35a9,0x84d3a));function a16_0x35a9(){const _0x5e2179=['routerConfig','split','4498277QLSjIE','toString','application','6gKyGql','from','slice','exports','length','forEach','pathAdr','region','path','readFileSync','then','2582410RlKZpu','{\x20path:\x20\x27','5528792zgneRd','writeFileSync','push','/application','8OJSqmi','./vessel/src','CreatePaths','1091331xrkfDs','join','file','resolve','fileType','map','\x27)\x20}','1040890mAIEdZ','190HEpwPf','837252yWiAUC','router','routerPath','2934633QDaQxI'];a16_0x35a9=function(){return _0x5e2179;};return a16_0x35a9();}const fs=require('fs'),path=require(a16_0x5e944c(0x161)),utils=require('./util.js');let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a16_0x5e944c(0x15c)]=(_0x3aa033,_0xb46b8d)=>{const _0x314a14=a16_0x5e944c;commandArr=_0x3aa033[_0x314a14(0x17b)](':'),projectPath=path[_0x314a14(0x170)]('./project'),vesselPath=path[_0x314a14(0x170)](_0x314a14(0x16b));let _0x4e1341=vesselPath;_0xb46b8d==='mp'&&(_0x4e1341=vesselPath+_0x314a14(0x169),utils['CreatePaths'](vesselPath,[_0x314a14(0x17e)]));const _0x2628a1=commandArr[0x1],_0x21a581=JSON['parse'](fs[_0x314a14(0x162)](projectPath+'/'+_0x2628a1+'/setting.json')[_0x314a14(0x17d)]());TileItems(_0x21a581['items'],()=>{const _0x4c299b=_0x314a14;fromFileData[_0x4c299b(0x177)][_0x4c299b(0x15e)](_0x136d5f=>{const _0xe94a37=_0x4c299b,_0x57c0f6=_0x136d5f['pathAdr']['split'](_0x136d5f[_0xe94a37(0x160)]),_0x193b4b=_0x57c0f6[0x1]['split']('/'),_0x3aece3=_0x193b4b[0x1];!applicationJson[_0x3aece3]&&(applicationJson[_0x3aece3]={'routerConfig':[],'routerPath':[]});applicationJson[_0x3aece3][_0xe94a37(0x17a)][_0xe94a37(0x168)](_0xe94a37(0x165)+_0x136d5f[_0xe94a37(0x161)]+'\x27,\x20component:\x20()\x20=>\x20import(\x27'+_0x136d5f[_0xe94a37(0x16f)]+_0xe94a37(0x173)),applicationJson[_0x3aece3][_0xe94a37(0x178)][_0xe94a37(0x168)](_0x136d5f[_0xe94a37(0x161)]);let _0x3a51ce=_0x193b4b[_0xe94a37(0x16e)]('/');const _0x49ee5d=_0x3a51ce['split']('/');utils[_0xe94a37(0x16c)](_0x4e1341,_0x49ee5d[_0xe94a37(0x15b)](0x0,_0x49ee5d['length']-0x1))[_0xe94a37(0x163)](()=>{const _0x49ff7d=_0xe94a37,_0x3e0dcd=fs['readFileSync'](_0x136d5f[_0x49ff7d(0x15f)])['toString']();fs[_0x49ff7d(0x167)](vesselPath+'/'+_0x3a51ce,_0x3e0dcd);});});});};function a16_0x52de(_0x2fdee1,_0x26e106){const _0x35a9f6=a16_0x35a9();return a16_0x52de=function(_0x52deeb,_0x1bc055){_0x52deeb=_0x52deeb-0x159;let _0x4a5f62=_0x35a9f6[_0x52deeb];return _0x4a5f62;},a16_0x52de(_0x2fdee1,_0x26e106);}function TileItems(_0x2bedc3,_0x1588e4){_0x2bedc3['forEach']((_0x2f5054,_0x54dab6)=>{const _0x5193a6=a16_0x52de,_0x5bdd4c=_0x2f5054[_0x5193a6(0x160)];_0x2f5054[_0x5193a6(0x15a)][_0x5193a6(0x15e)]((_0x3e0026,_0x41d9ae)=>{const _0xddde75=_0x5193a6,_0x1efa23=[];utils['DeepScanner'](projectPath+'/'+_0x5bdd4c+'/'+_0x3e0026[_0xddde75(0x16f)],_0x1efa23);const _0x1c86b4=_0x1efa23[_0xddde75(0x172)](_0x16b1f5=>({'region':_0x5bdd4c,'pathAdr':_0x16b1f5,..._0x3e0026}));!fromFileData[_0x3e0026[_0xddde75(0x171)]]?fromFileData[_0x3e0026[_0xddde75(0x171)]]=_0x1c86b4:fromFileData[_0x3e0026[_0xddde75(0x171)]]=fromFileData[_0x3e0026[_0xddde75(0x171)]]['concat'](_0x1c86b4),_0x54dab6===_0x2bedc3[_0xddde75(0x15d)]-0x1&&_0x41d9ae===_0x2f5054[_0xddde75(0x15a)][_0xddde75(0x15d)]-0x1&&_0x1588e4();});});}
1
+ const a16_0x4e8273=a16_0x2cec;function a16_0x55f1(){const _0x5f1d1e=['2JsKAZc','routerPath','273968LpVFgu','path','from','145kNeMYH','8WSrdkw','571835KXwxZR','exports','fileType','./project','push','122328EhfOpQ','./util.js','resolve','forEach','574419cBXxoo','region','13506guYLvl','2577127sAoVHc','\x27,\x20component:\x20()\x20=>\x20import(\x27','routerConfig','map','parse','concat','./vessel/src','length','split','1239528NaJFmZ','slice','250flWRGm','then','pathAdr','toString','join','file','{\x20path:\x20\x27','writeFileSync','DeepScanner','readFileSync'];a16_0x55f1=function(){return _0x5f1d1e;};return a16_0x55f1();}(function(_0x3aa9b0,_0x10553c){const _0x4a05a7=a16_0x2cec,_0x269819=_0x3aa9b0();while(!![]){try{const _0x20861e=parseInt(_0x4a05a7(0x1db))/0x1+parseInt(_0x4a05a7(0x1d9))/0x2*(parseInt(_0x4a05a7(0x1e9))/0x3)+parseInt(_0x4a05a7(0x1cd))/0x4+parseInt(_0x4a05a7(0x1de))/0x5*(parseInt(_0x4a05a7(0x1eb))/0x6)+parseInt(_0x4a05a7(0x1ec))/0x7*(-parseInt(_0x4a05a7(0x1df))/0x8)+-parseInt(_0x4a05a7(0x1e5))/0x9*(parseInt(_0x4a05a7(0x1cf))/0xa)+parseInt(_0x4a05a7(0x1e0))/0xb;if(_0x20861e===_0x10553c)break;else _0x269819['push'](_0x269819['shift']());}catch(_0x176825){_0x269819['push'](_0x269819['shift']());}}}(a16_0x55f1,0x2d132));const fs=require('fs'),path=require(a16_0x4e8273(0x1dc)),utils=require(a16_0x4e8273(0x1e6));let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a16_0x4e8273(0x1e1)]=(_0x44f079,_0x4f6c0c)=>{const _0x14aaae=a16_0x4e8273;commandArr=_0x44f079[_0x14aaae(0x1cc)](':'),projectPath=path[_0x14aaae(0x1e7)](_0x14aaae(0x1e3)),vesselPath=path['resolve'](_0x14aaae(0x1ca));let _0xd3d64f=vesselPath;_0x4f6c0c==='mp'&&(_0xd3d64f=vesselPath+'/application',utils['CreatePaths'](vesselPath,['application']));const _0x5b9b20=commandArr[0x1],_0x4c74e7=JSON[_0x14aaae(0x1f0)](fs[_0x14aaae(0x1d8)](projectPath+'/'+_0x5b9b20+'/setting.json')[_0x14aaae(0x1d2)]());TileItems(_0x4c74e7['items'],()=>{const _0x53423e=_0x14aaae;fromFileData['router'][_0x53423e(0x1e8)](_0x168868=>{const _0x1fd1a4=_0x53423e,_0x54d2b1=_0x168868[_0x1fd1a4(0x1d1)][_0x1fd1a4(0x1cc)](_0x168868[_0x1fd1a4(0x1ea)]),_0x1e0efc=_0x54d2b1[0x1][_0x1fd1a4(0x1cc)]('/'),_0x34b330=_0x1e0efc[0x1];!applicationJson[_0x34b330]&&(applicationJson[_0x34b330]={'routerConfig':[],'routerPath':[]});applicationJson[_0x34b330][_0x1fd1a4(0x1ee)][_0x1fd1a4(0x1e4)](_0x1fd1a4(0x1d5)+_0x168868[_0x1fd1a4(0x1dc)]+_0x1fd1a4(0x1ed)+_0x168868[_0x1fd1a4(0x1d4)]+'\x27)\x20}'),applicationJson[_0x34b330][_0x1fd1a4(0x1da)][_0x1fd1a4(0x1e4)](_0x168868[_0x1fd1a4(0x1dc)]);let _0x1269a7=_0x1e0efc[_0x1fd1a4(0x1d3)]('/');const _0x1c981b=_0x1269a7[_0x1fd1a4(0x1cc)]('/');utils['CreatePaths'](_0xd3d64f,_0x1c981b[_0x1fd1a4(0x1ce)](0x0,_0x1c981b['length']-0x1))[_0x1fd1a4(0x1d0)](()=>{const _0x43e59b=_0x1fd1a4,_0x32749a=fs['readFileSync'](_0x168868[_0x43e59b(0x1d1)])[_0x43e59b(0x1d2)]();fs[_0x43e59b(0x1d6)](vesselPath+'/'+_0x1269a7,_0x32749a);});});});};function a16_0x2cec(_0xc7e2e2,_0x1b46fa){const _0x55f1c7=a16_0x55f1();return a16_0x2cec=function(_0x2cec78,_0x404bda){_0x2cec78=_0x2cec78-0x1ca;let _0x391bec=_0x55f1c7[_0x2cec78];return _0x391bec;},a16_0x2cec(_0xc7e2e2,_0x1b46fa);}function TileItems(_0x38380e,_0x403181){const _0x55cd85=a16_0x4e8273;_0x38380e[_0x55cd85(0x1e8)]((_0x3e0b90,_0xb9c53)=>{const _0x4d8949=_0x55cd85,_0x774978=_0x3e0b90[_0x4d8949(0x1ea)];_0x3e0b90[_0x4d8949(0x1dd)]['forEach']((_0x35f304,_0xbfa4b5)=>{const _0x5d321c=_0x4d8949,_0x48cb87=[];utils[_0x5d321c(0x1d7)](projectPath+'/'+_0x774978+'/'+_0x35f304[_0x5d321c(0x1d4)],_0x48cb87);const _0x237a19=_0x48cb87[_0x5d321c(0x1ef)](_0x579fa7=>({'region':_0x774978,'pathAdr':_0x579fa7,..._0x35f304}));!fromFileData[_0x35f304[_0x5d321c(0x1e2)]]?fromFileData[_0x35f304[_0x5d321c(0x1e2)]]=_0x237a19:fromFileData[_0x35f304[_0x5d321c(0x1e2)]]=fromFileData[_0x35f304[_0x5d321c(0x1e2)]][_0x5d321c(0x1f1)](_0x237a19),_0xb9c53===_0x38380e[_0x5d321c(0x1cb)]-0x1&&_0xbfa4b5===_0x3e0b90[_0x5d321c(0x1dd)]['length']-0x1&&_0x403181();});});}
@@ -1 +1 @@
1
- 'use strict';const a17_0x58949b=a17_0x22ca;(function(_0x5edc0e,_0x1f8585){const _0x362598=a17_0x22ca,_0xd3c476=_0x5edc0e();while(!![]){try{const _0x5442af=-parseInt(_0x362598(0x19f))/0x1+parseInt(_0x362598(0x1cc))/0x2+parseInt(_0x362598(0x1bb))/0x3*(-parseInt(_0x362598(0x1a1))/0x4)+-parseInt(_0x362598(0x1c7))/0x5+parseInt(_0x362598(0x1c1))/0x6+parseInt(_0x362598(0x1a4))/0x7+parseInt(_0x362598(0x1c8))/0x8;if(_0x5442af===_0x1f8585)break;else _0xd3c476['push'](_0xd3c476['shift']());}catch(_0x1fa38c){_0xd3c476['push'](_0xd3c476['shift']());}}}(a17_0x2d74,0x980f2));function a17_0x22ca(_0x2eda93,_0x19b678){const _0x2d74b1=a17_0x2d74();return a17_0x22ca=function(_0x22ca04,_0x1a7d07){_0x22ca04=_0x22ca04-0x19d;let _0x107791=_0x2d74b1[_0x22ca04];return _0x107791;},a17_0x22ca(_0x2eda93,_0x19b678);}function a17_0x2d74(){const _0x21bead=['toString','-master-','\x5csrc','mkdirSync','G4HJRsHr9D7Ssmixegw2','compressing','application','tmpdir','forEach','.zip','zip','&ref=master','log','projectId','indexOf','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','3uPkQOm','exists','exports','return\x20process.env;','common\x5ctools\x5cindex.js','resolve','3481584sHpqTT','token','then','/repository/archive.zip?private_token=','createWriteStream','writeFileSync','3378075cPMxiZ','2544144xvDsZr','FT3pKzxpRynFkmddJ9Bs','request','unlinkSync','1986644FRGdDh','common\x5cdva\x5cautomatic\x5c','close','\x5ccli.dva.router.spa.txt','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','statSync','error','common\x5cwebsite\x5cindex.js','jjbAssembly','DeleteDirAllFile','/unzip/','localName','common\x5cdva\x5cautomatic','readFileSync','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','307602JjNlrj','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','1597920PMqqRw','CopyFolder','rmdirSync','797489XgbufP','path','【Error】:\x20未获取到项目\x20','pipe','common\x5cdva\x5cautomatic\x5cindex.js','replace','readdirSync'];a17_0x2d74=function(){return _0x21bead;};return a17_0x2d74();}const fs=require('fs'),os=require('os'),path=require(a17_0x58949b(0x1a5)),utils=require('./util'),request=require(a17_0x58949b(0x1ca)),compressing=require(a17_0x58949b(0x1b0)),GIT_TEMP_DIR=a17_0x58949b(0x1d4),GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a17_0x58949b(0x1af),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a17_0x58949b(0x1c9),'projectId':0x154,'localName':'components'}};module[a17_0x58949b(0x1bd)]=_0x2acacb=>{const _0x3178f7=a17_0x58949b,_0xd78ca5=_0x2acacb,_0x124725=path[_0x3178f7(0x1c0)]('./');try{if(fs[_0x3178f7(0x1d1)](_0x124725+_0x3178f7(0x1ad))){const _0x404192=_0x124725+'\x5csrc',_0x3fecfd=CLOUD_PROJECT[_0xd78ca5]||undefined;if(_0x3fecfd){const _0xab9789=os[_0x3178f7(0x1b2)](),_0x18913e=_0xab9789+('/'+GIT_TEMP_DIR+'/'+_0xd78ca5+_0x3178f7(0x1b4)),_0x4bf349=_0xab9789+'/'+GIT_TEMP_DIR+_0x3178f7(0x1d6);utils['DeleteDirAllFile'](_0xab9789+'/'+GIT_TEMP_DIR,()=>{const _0x51867f=_0x3178f7;fs[_0x51867f(0x1ae)](_0xab9789+'/'+GIT_TEMP_DIR);let _0x2229d2=fs[_0x51867f(0x1c5)](_0x18913e);request(GIT_HOST+'/api/v4/projects/'+_0x3fecfd[_0x51867f(0x1b8)]+_0x51867f(0x1c4)+_0x3fecfd[_0x51867f(0x1c2)]+_0x51867f(0x1b6))[_0x51867f(0x1a7)](_0x2229d2)['on'](_0x51867f(0x1ce),()=>{const _0x2a3a28=_0x51867f;fs[_0x2a3a28(0x1ae)](_0x4bf349),compressing[_0x2a3a28(0x1b5)]['uncompress'](_0x18913e,_0x4bf349)[_0x2a3a28(0x1c3)](()=>{setTimeout(()=>{const _0x7b3818=a17_0x22ca,_0x2a4c32=fs[_0x7b3818(0x1aa)](_0x4bf349);_0x2a4c32[_0x7b3818(0x1b3)](_0x298e65=>{const _0x553cfb=_0x7b3818;if(_0x298e65[_0x553cfb(0x1b9)](_0x553cfb(0x1ac))!==-0x1){const _0x5b62ef=_0x404192+'\x5c'+_0x3fecfd[_0x553cfb(0x1d7)];utils[_0x553cfb(0x1d5)](_0x5b62ef,()=>{const _0x461403=_0x553cfb;fs[_0x461403(0x1ae)](_0x5b62ef),utils[_0x461403(0x1a2)](_0x4bf349+_0x298e65,_0x5b62ef),setTimeout(()=>{const _0x48478f=_0x461403,_0x4d9739=fs['existsSync'](_0x404192+'\x5c'+_0x48478f(0x1b1));if(!_0x4d9739){const _0x3ea5d6=_0x404192+'\x5c'+_0x48478f(0x1bf),_0x4247fb=_0x404192+'\x5c'+_0x48478f(0x1d3);let _0x421455=fs[_0x48478f(0x19d)](_0x3ea5d6)['toString'](),_0x4b55c9=fs[_0x48478f(0x19d)](_0x4247fb)[_0x48478f(0x1ab)]();_0x421455=_0x421455[_0x48478f(0x1a9)]('return\x20__planA();',_0x48478f(0x1be)),_0x4b55c9=_0x4b55c9[_0x48478f(0x1a9)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x48478f(0x1a0)),fs[_0x48478f(0x1c6)](_0x3ea5d6,_0x421455),fs['writeFileSync'](_0x4247fb,_0x4b55c9),fs[_0x48478f(0x1c6)](_0x404192+_0x48478f(0x1ba),fs[_0x48478f(0x19d)](__dirname+_0x48478f(0x1cf))['toString']()),fs['writeFileSync'](_0x404192+_0x48478f(0x1d0),fs[_0x48478f(0x19d)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x48478f(0x1ab)]());}else fs[_0x48478f(0x1bc)](_0x404192+'\x5c'+_0x48478f(0x1a8),_0x45a527=>{const _0x2277ec=_0x48478f;_0x45a527&&(fs[_0x2277ec(0x1aa)](_0x404192+'\x5c'+_0x2277ec(0x1d8))[_0x2277ec(0x1b3)](_0x33473e=>{const _0x4e2873=_0x2277ec;fs[_0x4e2873(0x1cb)](_0x404192+'\x5c'+_0x4e2873(0x1cd)+_0x33473e);}),fs[_0x2277ec(0x1a3)](_0x404192+'\x5c'+_0x2277ec(0x1d8)));});},0x3e8);});}}),console[_0x7b3818(0x1b7)](_0xd78ca5+'-文件下载完毕');},0x7d0);});});});}else console[_0x3178f7(0x1d2)](_0x3178f7(0x1a6)+_0xd78ca5);}}catch(_0x4968d7){console[_0x3178f7(0x1d2)](_0x3178f7(0x19e));}};
1
+ 'use strict';const a17_0xbbdc06=a17_0x1601;(function(_0x32b78c,_0x9a7c8b){const _0x2765ff=a17_0x1601,_0x25ea9a=_0x32b78c();while(!![]){try{const _0x53b470=-parseInt(_0x2765ff(0xe8))/0x1+parseInt(_0x2765ff(0xdc))/0x2*(parseInt(_0x2765ff(0xf3))/0x3)+-parseInt(_0x2765ff(0xd8))/0x4*(parseInt(_0x2765ff(0x108))/0x5)+parseInt(_0x2765ff(0xff))/0x6*(-parseInt(_0x2765ff(0x106))/0x7)+-parseInt(_0x2765ff(0xd9))/0x8+-parseInt(_0x2765ff(0xdf))/0x9*(parseInt(_0x2765ff(0xfd))/0xa)+-parseInt(_0x2765ff(0xed))/0xb*(-parseInt(_0x2765ff(0xde))/0xc);if(_0x53b470===_0x9a7c8b)break;else _0x25ea9a['push'](_0x25ea9a['shift']());}catch(_0x4a2764){_0x25ea9a['push'](_0x25ea9a['shift']());}}}(a17_0x1471,0xef5f5));const fs=require('fs'),os=require('os'),path=require(a17_0xbbdc06(0x10c)),utils=require(a17_0xbbdc06(0xe1)),request=require('request'),compressing=require(a17_0xbbdc06(0x10a)),GIT_TEMP_DIR=a17_0xbbdc06(0xf7),GIT_HOST=a17_0xbbdc06(0xd4),CLOUD_PROJECT={'common':{'token':a17_0xbbdc06(0xf2),'projectId':0x117,'localName':a17_0xbbdc06(0xfa)},'react-admin-component':{'token':a17_0xbbdc06(0xf0),'projectId':0x154,'localName':a17_0xbbdc06(0xe5)}};function a17_0x1471(){const _0x1b3643=['replace','writeFileSync','error','token','common\x5cwebsite\x5cindex.js','-master-','2219qrAbSN','existsSync','5AnmqTE','mkdirSync','compressing','common\x5cdva\x5cautomatic','path','createWriteStream','projectId','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','\x5csrc','indexOf','zip','pipe','tmpdir','http://192.168.1.242:10985','common\x5cdva\x5cautomatic\x5cindex.js','unlinkSync','【Error】:\x20未获取到项目\x20','1383420nWdafs','4527760hBFcYl','toString','/unzip/','46654xxRIOm','DeleteDirAllFile','12XcTvxJ','9hzzQXM','common\x5cdva\x5cautomatic\x5c','./util','common\x5ctools\x5cindex.js','.zip','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','components','readdirSync','exports','1691179TTrmOo','uncompress','-文件下载完毕','readFileSync','return\x20__planA();','45203488xoVGcb','/api/v4/projects/','&ref=master','FT3pKzxpRynFkmddJ9Bs','\x5ccli.dva.router.spa.txt','G4HJRsHr9D7Ssmixegw2','111EaZppU','localName','log','forEach','jjbAssembly','statSync','close','common','return\x20process.env;','/repository/archive.zip?private_token=','3648070adnkev','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','19386EmwDjB'];a17_0x1471=function(){return _0x1b3643;};return a17_0x1471();}function a17_0x1601(_0x4ab327,_0x2887f3){const _0x1471cb=a17_0x1471();return a17_0x1601=function(_0x16012a,_0x3aa6ff){_0x16012a=_0x16012a-0xd1;let _0x5821ed=_0x1471cb[_0x16012a];return _0x5821ed;},a17_0x1601(_0x4ab327,_0x2887f3);}module[a17_0xbbdc06(0xe7)]=_0x3171a6=>{const _0x45132f=a17_0xbbdc06,_0x18cf4a=_0x3171a6,_0x3ff2d3=path['resolve']('./');try{if(fs[_0x45132f(0xf8)](_0x3ff2d3+_0x45132f(0x110))){const _0x4c83c3=_0x3ff2d3+_0x45132f(0x110),_0xa6c967=CLOUD_PROJECT[_0x18cf4a]||undefined;if(_0xa6c967){const _0x387ddb=os[_0x45132f(0xd3)](),_0xc0b7f6=_0x387ddb+('/'+GIT_TEMP_DIR+'/'+_0x18cf4a+_0x45132f(0xe3)),_0x49be9a=_0x387ddb+'/'+GIT_TEMP_DIR+_0x45132f(0xdb);utils[_0x45132f(0xdd)](_0x387ddb+'/'+GIT_TEMP_DIR,()=>{const _0x53537c=_0x45132f;fs[_0x53537c(0x109)](_0x387ddb+'/'+GIT_TEMP_DIR);let _0x24f51b=fs[_0x53537c(0x10d)](_0xc0b7f6);request(GIT_HOST+_0x53537c(0xee)+_0xa6c967[_0x53537c(0x10e)]+_0x53537c(0xfc)+_0xa6c967[_0x53537c(0x103)]+_0x53537c(0xef))[_0x53537c(0xd2)](_0x24f51b)['on'](_0x53537c(0xf9),()=>{const _0x7b07f2=_0x53537c;fs['mkdirSync'](_0x49be9a),compressing[_0x7b07f2(0xd1)][_0x7b07f2(0xe9)](_0xc0b7f6,_0x49be9a)['then'](()=>{setTimeout(()=>{const _0x252737=a17_0x1601,_0x12f38f=fs['readdirSync'](_0x49be9a);_0x12f38f['forEach'](_0x523abd=>{const _0x3908bb=a17_0x1601;if(_0x523abd[_0x3908bb(0x111)](_0x3908bb(0x105))!==-0x1){const _0x2c14e5=_0x4c83c3+'\x5c'+_0xa6c967[_0x3908bb(0xf4)];utils[_0x3908bb(0xdd)](_0x2c14e5,()=>{fs['mkdirSync'](_0x2c14e5),utils['CopyFolder'](_0x49be9a+_0x523abd,_0x2c14e5),setTimeout(()=>{const _0x1c1fae=a17_0x1601,_0x29fba4=fs[_0x1c1fae(0x107)](_0x4c83c3+'\x5c'+'application');if(!_0x29fba4){const _0x251fe8=_0x4c83c3+'\x5c'+_0x1c1fae(0xe2),_0x4688c7=_0x4c83c3+'\x5c'+_0x1c1fae(0x104);let _0x33cec9=fs[_0x1c1fae(0xeb)](_0x251fe8)[_0x1c1fae(0xda)](),_0x3c5616=fs['readFileSync'](_0x4688c7)[_0x1c1fae(0xda)]();_0x33cec9=_0x33cec9[_0x1c1fae(0x100)](_0x1c1fae(0xec),_0x1c1fae(0xfb)),_0x3c5616=_0x3c5616['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x1c1fae(0xfe)),fs['writeFileSync'](_0x251fe8,_0x33cec9),fs[_0x1c1fae(0x101)](_0x4688c7,_0x3c5616),fs['writeFileSync'](_0x4c83c3+_0x1c1fae(0xe4),fs['readFileSync'](__dirname+_0x1c1fae(0xf1))[_0x1c1fae(0xda)]()),fs[_0x1c1fae(0x101)](_0x4c83c3+_0x1c1fae(0x10f),fs['readFileSync'](__dirname+'\x5ccli.dva.register.spa.txt')['toString']());}else fs['exists'](_0x4c83c3+'\x5c'+_0x1c1fae(0xd5),_0xf0e384=>{const _0xdd4278=_0x1c1fae;_0xf0e384&&(fs[_0xdd4278(0xe6)](_0x4c83c3+'\x5c'+_0xdd4278(0x10b))[_0xdd4278(0xf6)](_0x536648=>{const _0x42f91a=_0xdd4278;fs[_0x42f91a(0xd6)](_0x4c83c3+'\x5c'+_0x42f91a(0xe0)+_0x536648);}),fs['rmdirSync'](_0x4c83c3+'\x5c'+_0xdd4278(0x10b)));});},0x3e8);});}}),console[_0x252737(0xf5)](_0x18cf4a+_0x252737(0xea));},0x7d0);});});});}else console[_0x45132f(0x102)](_0x45132f(0xd7)+_0x18cf4a);}}catch(_0x5929a7){console[_0x45132f(0x102)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
@@ -1 +1 @@
1
- 'use strict';const a18_0x2c1a5e=a18_0x24dc;function a18_0x2714(){const _0x195262=['\x5cFileUploader\x5cindex.js','unlinkSync','error','common/tools','projectType','DeleteDirAllFile','replace','\x5cdva\x5cautomatic\x5cregister.js','exports','token','forEach','resolve','common/color','dependencies','writeFileSync','return\x20process.env;','isDirectory','117681fFbwoR','jjb-common/http','5710UHeITU','return\x20process.env.app;','\x5cnode_modules\x5cjjb-','/repository/archive.zip?private_token=','G4HJRsHr9D7Ssmixegw2','\x5cImageUploader\x5cindex.js','\x5cImageCropper\x5cindex.js','compressing','components','\x5ccli.dva.router.saas.txt','/unzip/','\x5cRouterMenu\x5cindex.js','\x5ccli.dva.router.spa.txt','projectId','random','template_','existsSync','271040CndVMl','micro-spa','2547ADuZtc','1118072pZBlHx','./util','jjb-react-admin-component','length','/api/v4/projects/','\x5cwebsite\x5cindex.js','common/http','4dKFARD','rmdirSync','jjb-common/crypto','\x5ctools\x5cindex.js','\x5cdva\x5cautomatic\x5crouter.js','\x5c.idea','\x5cEditor\x5cindex.js','CopyFolder','1.0.0','7rkvNaR','react-admin-component','jjb-common/tools','-master-','【Error】:\x20未获取到项目\x20','return\x20__planA();','\x5ccli.dva.register.spa.txt','common','jjb-common/website','\x5c.gitignore','common/website','http://192.168.1.242:10985','122442qjsLOJ','statSync','tmpdir','mkdirSync','toString','jjbAssembly','\x5cRouterContainer\x5cindex.js','readFileSync','path','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','\x5cPageHeaderBar\x5cindex.js','\x22,\x22main\x22:\x20\x22index.js\x22}','\x22,\x22version\x22:\x22','.zip','\x5capplication','readdirSync','\x5cdva\x5cautomatic','45fwJRnJ','262912BmGAlP','close','\x5cpackage.json','parse','jjb-common/color','&ref=master','createWriteStream','jjb-','112723cCCjoN','localName','【已安装】:','request','\x5ccli.dva.register.saas.txt','common/crypto','indexOf'];a18_0x2714=function(){return _0x195262;};return a18_0x2714();}(function(_0x26492b,_0x1635cd){const _0x35d939=a18_0x24dc,_0x4ffbee=_0x26492b();while(!![]){try{const _0x261418=parseInt(_0x35d939(0xef))/0x1+parseInt(_0x35d939(0xe7))/0x2+-parseInt(_0x35d939(0x107))/0x3*(-parseInt(_0x35d939(0x124))/0x4)+parseInt(_0x35d939(0xe6))/0x5*(-parseInt(_0x35d939(0xd5))/0x6)+-parseInt(_0x35d939(0xc9))/0x7*(-parseInt(_0x35d939(0x11d))/0x8)+parseInt(_0x35d939(0x11c))/0x9*(-parseInt(_0x35d939(0x109))/0xa)+parseInt(_0x35d939(0x11a))/0xb;if(_0x261418===_0x1635cd)break;else _0x4ffbee['push'](_0x4ffbee['shift']());}catch(_0x3df8bb){_0x4ffbee['push'](_0x4ffbee['shift']());}}}(a18_0x2714,0x19095));function a18_0x24dc(_0x43c936,_0x30950e){const _0x27142e=a18_0x2714();return a18_0x24dc=function(_0x24dc6e,_0x4aebff){_0x24dc6e=_0x24dc6e-0xc5;let _0x4e4652=_0x27142e[_0x24dc6e];return _0x4e4652;},a18_0x24dc(_0x43c936,_0x30950e);}const fs=require('fs'),os=require('os'),path=require(a18_0x2c1a5e(0xdd)),utils=require(a18_0x2c1a5e(0x11e)),request=require(a18_0x2c1a5e(0xf2)),compressing=require(a18_0x2c1a5e(0x110)),GIT_HOST=a18_0x2c1a5e(0xd4),GIT_TEMP_DIR=a18_0x2c1a5e(0xda),CLOUD_PROJECT={'common':{'token':a18_0x2c1a5e(0x10d),'projectId':0x117,'localName':a18_0x2c1a5e(0xd0)},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a18_0x2c1a5e(0x111)}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['components',a18_0x2c1a5e(0x11f)]]},{'path':a18_0x2c1a5e(0x122),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a18_0x2c1a5e(0x111),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a18_0x2c1a5e(0x127),'replace':[['return\x20__planA();',a18_0x2c1a5e(0x105)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x2c1a5e(0x127),'replace':[[a18_0x2c1a5e(0xce),a18_0x2c1a5e(0x10a)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a18_0x2c1a5e(0xc6),'replace':[[a18_0x2c1a5e(0x123),'jjb-common/http'],[a18_0x2c1a5e(0xf4),a18_0x2c1a5e(0x126)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a18_0x2c1a5e(0x102),a18_0x2c1a5e(0xeb)]]},{'path':a18_0x2c1a5e(0x114),'replace':[[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0xf6),'replace':[[a18_0x2c1a5e(0x123),a18_0x2c1a5e(0x108)],[a18_0x2c1a5e(0xf9),'jjb-common/tools']]},{'path':a18_0x2c1a5e(0x10f),'replace':[[a18_0x2c1a5e(0x123),a18_0x2c1a5e(0x108)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0x10e),'replace':[[a18_0x2c1a5e(0x123),a18_0x2c1a5e(0x108)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0xdf),'replace':[[a18_0x2c1a5e(0x102),a18_0x2c1a5e(0xeb)]]},{'path':a18_0x2c1a5e(0xdb),'replace':[['common/tools',a18_0x2c1a5e(0xcb)]]},{'path':a18_0x2c1a5e(0xde),'replace':[[a18_0x2c1a5e(0xd3),a18_0x2c1a5e(0xd1)],[a18_0x2c1a5e(0xf9),a18_0x2c1a5e(0xcb)]]}];function uid(){const _0x2a9c0b=a18_0x2c1a5e;return Math[_0x2a9c0b(0x117)]()[_0x2a9c0b(0xd9)]()['substr'](0x2);}module[a18_0x2c1a5e(0xfe)]=_0x3d700a=>{const _0x58c24c=a18_0x2c1a5e,_0x49456c=path[_0x58c24c(0x101)]('./'),_0x49bf18=_0x58c24c(0xee)+_0x3d700a,_0x86b923=_0x58c24c(0xc8),_0x5eef4d=_0x49456c+'\x5csrc',_0x4f0fc8=_0x58c24c(0x118)+uid(),_0x455aaa=__dirname+'\x5c'+_0x4f0fc8,_0x3f3449=_0x49456c+_0x58c24c(0xe9),_0x2da675=_0x49456c+_0x58c24c(0x10b)+_0x3d700a;try{if(fs['existsSync'](_0x5eef4d)){const _0x24df58=CLOUD_PROJECT[_0x3d700a]||undefined;if(_0x24df58){const _0x3fa9be=os[_0x58c24c(0xd7)](),_0x2af18f=_0x3fa9be+'/'+GIT_TEMP_DIR+'/'+_0x3d700a+_0x58c24c(0xe2),_0x20814f=_0x3fa9be+'/'+GIT_TEMP_DIR+_0x58c24c(0x113);utils[_0x58c24c(0xfb)](_0x3fa9be+'/'+GIT_TEMP_DIR,()=>{const _0x50d186=_0x58c24c;fs[_0x50d186(0xd8)](_0x3fa9be+'/'+GIT_TEMP_DIR);const _0x371e26=fs[_0x50d186(0xed)](_0x2af18f);request(GIT_HOST+_0x50d186(0x121)+_0x24df58[_0x50d186(0x116)]+_0x50d186(0x10c)+_0x24df58[_0x50d186(0xff)]+_0x50d186(0xec))['pipe'](_0x371e26)['on'](_0x50d186(0xe8),()=>{const _0x375a25=_0x50d186;fs[_0x375a25(0xd8)](_0x20814f),compressing['zip']['uncompress'](_0x2af18f,_0x20814f)['then'](()=>{setTimeout(()=>{const _0x57b174=a18_0x24dc;fs[_0x57b174(0xe4)](_0x20814f)[_0x57b174(0x100)](_0x297749=>{const _0x3693f0=_0x57b174;_0x297749[_0x3693f0(0xf5)](_0x3693f0(0xcc))!==-0x1&&utils['DeleteDirAllFile'](_0x5eef4d+'\x5c'+_0x24df58[_0x3693f0(0xf0)],()=>{const _0x353b1c=_0x3693f0;fs['mkdirSync'](_0x455aaa),utils[_0x353b1c(0xc7)](_0x20814f+_0x297749,_0x455aaa),setTimeout(()=>{const _0x27dca5=_0x353b1c;if(_0x3d700a===_0x27dca5(0xd0)){const _0x41b80e=fs[_0x27dca5(0x119)](_0x5eef4d+_0x27dca5(0xe3));if(_0x41b80e)rm_rf(_0x455aaa+_0x27dca5(0xe5)),fs[_0x27dca5(0x125)](_0x455aaa+_0x27dca5(0xe5));else{if(get_project_type(_0x3f3449)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x455aaa),fs['writeFileSync'](_0x455aaa+_0x27dca5(0x128),fs['readFileSync'](__dirname+_0x27dca5(0x115))['toString']()),fs[_0x27dca5(0x104)](_0x455aaa+_0x27dca5(0xfd),fs[_0x27dca5(0xdc)](__dirname+_0x27dca5(0xcf))['toString']());else get_project_type(_0x3f3449)===_0x27dca5(0x11b)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x455aaa),fs[_0x27dca5(0x104)](_0x455aaa+'\x5cdva\x5cautomatic\x5crouter.js',fs['readFileSync'](__dirname+_0x27dca5(0x112))[_0x27dca5(0xd9)]()),fs['writeFileSync'](_0x455aaa+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x27dca5(0xf3))[_0x27dca5(0xd9)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x455aaa);}_0x3d700a===_0x27dca5(0xca)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x455aaa),rm_rf(_0x455aaa+_0x27dca5(0xc5)),fs[_0x27dca5(0x119)](_0x455aaa+_0x27dca5(0xc5))&&fs[_0x27dca5(0x125)](_0x455aaa+_0x27dca5(0xc5)),fs[_0x27dca5(0x119)](_0x455aaa+'\x5c.gitignore')&&fs[_0x27dca5(0xf7)](_0x455aaa+_0x27dca5(0xd2)),!fs['existsSync'](_0x2da675)?fs[_0x27dca5(0xd8)](_0x2da675):rm_rf(_0x2da675),utils[_0x27dca5(0xc7)](_0x455aaa,_0x2da675,()=>{const _0x5c363c=_0x27dca5;rm_rf(_0x455aaa),fs[_0x5c363c(0x125)](_0x455aaa),create_package_json(_0x2da675,_0x49bf18,_0x86b923),update_project_package_json(_0x3f3449,_0x49bf18,_0x86b923),console['log'](_0x5c363c(0xf1)+_0x49bf18+'\x20v'+_0x86b923);});},0x3e8);});});},0x7d0);});});});}else console[_0x58c24c(0xf8)](_0x58c24c(0xcd)+_0x3d700a);}}catch(_0x2d072d){console[_0x58c24c(0xf8)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};function rm_rf(_0xa16b66){const _0x2f4396=a18_0x2c1a5e;if(fs[_0x2f4396(0x119)](_0xa16b66)){const _0x32321d=fs[_0x2f4396(0xe4)](_0xa16b66);for(let _0x5da0d5=0x0;_0x5da0d5<_0x32321d[_0x2f4396(0x120)];_0x5da0d5++){const _0x449c28=_0x32321d[_0x5da0d5],_0xc8e2d=_0xa16b66+'/'+_0x449c28;fs[_0x2f4396(0xd6)](_0xc8e2d)[_0x2f4396(0x106)]()?(rm_rf(_0xc8e2d),fs[_0x2f4396(0x125)](_0xc8e2d)):fs[_0x2f4396(0xf7)](_0xc8e2d);}}}function create_package_json(_0x3e3889,_0x1e3dd6,_0x4ea82c){const _0x3a1b5b=a18_0x2c1a5e;fs[_0x3a1b5b(0x104)](_0x3e3889+'\x5cpackage.json','{\x22name\x22:\x22'+_0x1e3dd6+_0x3a1b5b(0xe1)+_0x4ea82c+_0x3a1b5b(0xe0));}function get_project_type(_0x1f5cc0){const _0x1830f0=a18_0x2c1a5e,_0x2e213d=JSON[_0x1830f0(0xea)](fs['readFileSync'](_0x1f5cc0)[_0x1830f0(0xd9)]());return _0x2e213d[_0x1830f0(0xfa)];}function update_project_package_json(_0x19240d,_0x4158a6,_0x51fc48){const _0x34f58d=a18_0x2c1a5e,_0x4c0a8b=JSON['parse'](fs[_0x34f58d(0xdc)](_0x19240d)[_0x34f58d(0xd9)]());_0x4c0a8b[_0x34f58d(0x103)][_0x4158a6]=_0x51fc48,fs[_0x34f58d(0x104)](_0x19240d,JSON['stringify'](_0x4c0a8b,null,0x2));}function content_replace(_0x4f2bdf=[],_0x549dc9){const _0x12a01b=a18_0x2c1a5e;_0x4f2bdf[_0x12a01b(0x100)](_0x484f7e=>{const _0x5cf072=_0x12a01b,_0x79dfc4=_0x549dc9+_0x484f7e[_0x5cf072(0xdd)];if(fs[_0x5cf072(0x119)](_0x79dfc4)){let _0x205c73=fs[_0x5cf072(0xdc)](_0x79dfc4)[_0x5cf072(0xd9)]();_0x484f7e['replace']['forEach'](_0x14d405=>{const _0x5040b5=_0x5cf072;_0x205c73=_0x205c73[_0x5040b5(0xfc)](_0x14d405[0x0],_0x14d405[0x1]);}),fs[_0x5cf072(0x104)](_0x79dfc4,_0x205c73);}});}
1
+ 'use strict';const a18_0x4c530e=a18_0x40b6;(function(_0x5c2e89,_0x4e883c){const _0x22acca=a18_0x40b6,_0x2c7403=_0x5c2e89();while(!![]){try{const _0x133f21=parseInt(_0x22acca(0x21d))/0x1*(parseInt(_0x22acca(0x21e))/0x2)+-parseInt(_0x22acca(0x201))/0x3*(-parseInt(_0x22acca(0x21f))/0x4)+-parseInt(_0x22acca(0x1f9))/0x5*(parseInt(_0x22acca(0x243))/0x6)+parseInt(_0x22acca(0x21c))/0x7+-parseInt(_0x22acca(0x1f8))/0x8*(-parseInt(_0x22acca(0x203))/0x9)+-parseInt(_0x22acca(0x214))/0xa+-parseInt(_0x22acca(0x232))/0xb;if(_0x133f21===_0x4e883c)break;else _0x2c7403['push'](_0x2c7403['shift']());}catch(_0x4e12e8){_0x2c7403['push'](_0x2c7403['shift']());}}}(a18_0xc55b,0x8bedf));function a18_0x40b6(_0x5ad382,_0x175e6c){const _0xc55b4b=a18_0xc55b();return a18_0x40b6=function(_0x40b6c4,_0x87cd09){_0x40b6c4=_0x40b6c4-0x1e7;let _0x44972a=_0xc55b4b[_0x40b6c4];return _0x44972a;},a18_0x40b6(_0x5ad382,_0x175e6c);}const fs=require('fs'),os=require('os'),path=require(a18_0x4c530e(0x222)),utils=require(a18_0x4c530e(0x245)),request=require('request'),compressing=require(a18_0x4c530e(0x206)),GIT_HOST='http://192.168.1.242:10985',GIT_TEMP_DIR=a18_0x4c530e(0x224),CLOUD_PROJECT={'common':{'token':a18_0x4c530e(0x1f2),'projectId':0x117,'localName':a18_0x4c530e(0x1fe)},'react-admin-component':{'token':a18_0x4c530e(0x22e),'projectId':0x154,'localName':a18_0x4c530e(0x237)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a18_0x4c530e(0x217),'replace':[[a18_0x4c530e(0x237),a18_0x4c530e(0x20e)]]},{'path':a18_0x4c530e(0x239),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a18_0x4c530e(0x210)],[a18_0x4c530e(0x237),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a18_0x4c530e(0x235),a18_0x4c530e(0x1eb)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x4c530e(0x217),'replace':[[a18_0x4c530e(0x235),a18_0x4c530e(0x220)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a18_0x4c530e(0x233),'replace':[[a18_0x4c530e(0x205),a18_0x4c530e(0x1fa)],[a18_0x4c530e(0x1e8),'jjb-common/crypto'],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':a18_0x4c530e(0x227),'replace':[[a18_0x4c530e(0x244),a18_0x4c530e(0x228)]]},{'path':a18_0x4c530e(0x1f6),'replace':[['common/tools',a18_0x4c530e(0x242)]]},{'path':a18_0x4c530e(0x1ff),'replace':[[a18_0x4c530e(0x205),a18_0x4c530e(0x1fa)],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':a18_0x4c530e(0x22b),'replace':[[a18_0x4c530e(0x205),a18_0x4c530e(0x1fa)],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a18_0x4c530e(0x205),'jjb-common/http'],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[['common/color',a18_0x4c530e(0x228)]]},{'path':a18_0x4c530e(0x241),'replace':[[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a18_0x4c530e(0x1f1),a18_0x4c530e(0x21a)],[a18_0x4c530e(0x213),a18_0x4c530e(0x242)]]}];function uid(){const _0x42679f=a18_0x4c530e;return Math['random']()[_0x42679f(0x225)]()[_0x42679f(0x23b)](0x2);}module[a18_0x4c530e(0x20f)]=_0x464248=>{const _0x3ff1d0=a18_0x4c530e,_0x8cf4a0=path[_0x3ff1d0(0x215)]('./'),_0x5ab984='jjb-'+_0x464248,_0x320742=_0x3ff1d0(0x229),_0x1101f9=_0x8cf4a0+'\x5csrc',_0x194f7f=_0x3ff1d0(0x223)+uid(),_0x377d33=__dirname+'\x5c'+_0x194f7f,_0x229272=_0x8cf4a0+'\x5cpackage.json',_0x55d43c=_0x8cf4a0+'\x5cnode_modules\x5cjjb-'+_0x464248;try{if(fs[_0x3ff1d0(0x1f3)](_0x1101f9)){const _0x36b1a3=CLOUD_PROJECT[_0x464248]||undefined;if(_0x36b1a3){const _0x34aa4f=os[_0x3ff1d0(0x231)](),_0xc95500=_0x34aa4f+'/'+GIT_TEMP_DIR+'/'+_0x464248+_0x3ff1d0(0x1ed),_0x2ba96e=_0x34aa4f+'/'+GIT_TEMP_DIR+_0x3ff1d0(0x20a);utils['DeleteDirAllFile'](_0x34aa4f+'/'+GIT_TEMP_DIR,()=>{const _0x4fa62c=_0x3ff1d0;fs[_0x4fa62c(0x240)](_0x34aa4f+'/'+GIT_TEMP_DIR);const _0x5031f6=fs[_0x4fa62c(0x218)](_0xc95500);request(GIT_HOST+'/api/v4/projects/'+_0x36b1a3[_0x4fa62c(0x23e)]+_0x4fa62c(0x236)+_0x36b1a3['token']+_0x4fa62c(0x1e7))['pipe'](_0x5031f6)['on'](_0x4fa62c(0x234),()=>{const _0x11af06=_0x4fa62c;fs['mkdirSync'](_0x2ba96e),compressing[_0x11af06(0x1ef)][_0x11af06(0x1fb)](_0xc95500,_0x2ba96e)[_0x11af06(0x1e9)](()=>{setTimeout(()=>{fs['readdirSync'](_0x2ba96e)['forEach'](_0x468719=>{const _0x56c815=a18_0x40b6;_0x468719[_0x56c815(0x219)](_0x56c815(0x1f7))!==-0x1&&utils[_0x56c815(0x207)](_0x1101f9+'\x5c'+_0x36b1a3[_0x56c815(0x221)],()=>{const _0xfd6c74=_0x56c815;fs[_0xfd6c74(0x240)](_0x377d33),utils[_0xfd6c74(0x204)](_0x2ba96e+_0x468719,_0x377d33),setTimeout(()=>{const _0x37d47f=_0xfd6c74;if(_0x464248===_0x37d47f(0x1fe)){const _0x343689=fs[_0x37d47f(0x1f3)](_0x1101f9+_0x37d47f(0x1ec));if(_0x343689)rm_rf(_0x377d33+'\x5cdva\x5cautomatic'),fs[_0x37d47f(0x1f4)](_0x377d33+_0x37d47f(0x202));else{if(get_project_type(_0x229272)===_0x37d47f(0x209))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x377d33),fs['writeFileSync'](_0x377d33+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x37d47f(0x22c)](__dirname+_0x37d47f(0x23f))['toString']()),fs[_0x37d47f(0x208)](_0x377d33+_0x37d47f(0x22d),fs[_0x37d47f(0x22c)](__dirname+_0x37d47f(0x22f))[_0x37d47f(0x225)]());else get_project_type(_0x229272)===_0x37d47f(0x1f0)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x377d33),fs['writeFileSync'](_0x377d33+_0x37d47f(0x230),fs[_0x37d47f(0x22c)](__dirname+_0x37d47f(0x23c))[_0x37d47f(0x225)]()),fs[_0x37d47f(0x208)](_0x377d33+_0x37d47f(0x22d),fs['readFileSync'](__dirname+'\x5ccli.dva.register.saas.txt')[_0x37d47f(0x225)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x377d33);}_0x464248===_0x37d47f(0x212)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x377d33),rm_rf(_0x377d33+_0x37d47f(0x1fc)),fs[_0x37d47f(0x1f3)](_0x377d33+_0x37d47f(0x1fc))&&fs[_0x37d47f(0x1f4)](_0x377d33+'\x5c.idea'),fs[_0x37d47f(0x1f3)](_0x377d33+_0x37d47f(0x20c))&&fs[_0x37d47f(0x20b)](_0x377d33+'\x5c.gitignore'),!fs[_0x37d47f(0x1f3)](_0x55d43c)?fs[_0x37d47f(0x240)](_0x55d43c):rm_rf(_0x55d43c),utils[_0x37d47f(0x204)](_0x377d33,_0x55d43c,()=>{const _0x446b97=_0x37d47f;rm_rf(_0x377d33),fs[_0x446b97(0x1f4)](_0x377d33),create_package_json(_0x55d43c,_0x5ab984,_0x320742),update_project_package_json(_0x229272,_0x5ab984,_0x320742),console[_0x446b97(0x1f5)](_0x446b97(0x22a)+_0x5ab984+'\x20v'+_0x320742);});},0x3e8);});});},0x7d0);});});});}else console[_0x3ff1d0(0x211)]('【Error】:\x20未获取到项目\x20'+_0x464248);}}catch(_0x25a35f){console[_0x3ff1d0(0x211)](_0x3ff1d0(0x226));}};function rm_rf(_0x69a48b){const _0x15cd45=a18_0x4c530e;if(fs[_0x15cd45(0x1f3)](_0x69a48b)){const _0x252b5e=fs['readdirSync'](_0x69a48b);for(let _0x142d71=0x0;_0x142d71<_0x252b5e[_0x15cd45(0x20d)];_0x142d71++){const _0x53ee5b=_0x252b5e[_0x142d71],_0x539389=_0x69a48b+'/'+_0x53ee5b;fs['statSync'](_0x539389)[_0x15cd45(0x216)]()?(rm_rf(_0x539389),fs['rmdirSync'](_0x539389)):fs[_0x15cd45(0x20b)](_0x539389);}}}function create_package_json(_0x298e8b,_0x7281ca,_0x98115c){const _0x3b47f3=a18_0x4c530e;fs[_0x3b47f3(0x208)](_0x298e8b+_0x3b47f3(0x1ea),_0x3b47f3(0x200)+_0x7281ca+'\x22,\x22version\x22:\x22'+_0x98115c+_0x3b47f3(0x21b));}function a18_0xc55b(){const _0x5e44db=['\x5cRouterMenu\x5cindex.js','-master-','3115352NFgnqh','10GpmNmw','jjb-common/http','uncompress','\x5c.idea','forEach','common','\x5cFileUploader\x5cindex.js','{\x22name\x22:\x22','211887TNOiJc','\x5cdva\x5cautomatic','9eXefgj','CopyFolder','common/http','compressing','DeleteDirAllFile','writeFileSync','spa','/unzip/','unlinkSync','\x5c.gitignore','length','jjb-react-admin-component','exports','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','error','react-admin-component','common/tools','3713530QKjNSR','resolve','isDirectory','\x5ctools\x5cindex.js','createWriteStream','indexOf','jjb-common/website','\x22,\x22main\x22:\x20\x22index.js\x22}','7807485dmhVKH','840508GoMUhL','2SGNqnb','40fOKHvT','return\x20process.env.app;','localName','path','template_','jjbAssembly','toString','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','\x5cRejectText\x5cindex.js','jjb-common/color','1.0.0','【已安装】:','\x5cImageCropper\x5cindex.js','readFileSync','\x5cdva\x5cautomatic\x5cregister.js','FT3pKzxpRynFkmddJ9Bs','\x5ccli.dva.register.spa.txt','\x5cdva\x5cautomatic\x5crouter.js','tmpdir','15275018OcQIIK','\x5cEditor\x5cindex.js','close','return\x20__planA();','/repository/archive.zip?private_token=','components','replace','\x5cwebsite\x5cindex.js','dependencies','substr','\x5ccli.dva.router.saas.txt','parse','projectId','\x5ccli.dva.router.spa.txt','mkdirSync','\x5cRouterContainer\x5cindex.js','jjb-common/tools','2155290JoqHZH','common/color','./util','&ref=master','common/crypto','then','\x5cpackage.json','return\x20process.env;','\x5capplication','.zip','stringify','zip','micro-spa','common/website','G4HJRsHr9D7Ssmixegw2','existsSync','rmdirSync','log'];a18_0xc55b=function(){return _0x5e44db;};return a18_0xc55b();}function get_project_type(_0x36f50b){const _0xdcb9e5=a18_0x4c530e,_0x578143=JSON['parse'](fs[_0xdcb9e5(0x22c)](_0x36f50b)[_0xdcb9e5(0x225)]());return _0x578143['projectType'];}function update_project_package_json(_0x2cbc29,_0x56edd3,_0x1aab5e){const _0x48a88e=a18_0x4c530e,_0x28b44a=JSON[_0x48a88e(0x23d)](fs[_0x48a88e(0x22c)](_0x2cbc29)[_0x48a88e(0x225)]());_0x28b44a[_0x48a88e(0x23a)][_0x56edd3]=_0x1aab5e,fs[_0x48a88e(0x208)](_0x2cbc29,JSON[_0x48a88e(0x1ee)](_0x28b44a,null,0x2));}function content_replace(_0x1d1151=[],_0x319f0d){_0x1d1151['forEach'](_0x4d7d64=>{const _0x179a18=a18_0x40b6,_0x2f9a81=_0x319f0d+_0x4d7d64[_0x179a18(0x222)];if(fs[_0x179a18(0x1f3)](_0x2f9a81)){let _0x2bfb18=fs[_0x179a18(0x22c)](_0x2f9a81)['toString']();_0x4d7d64['replace'][_0x179a18(0x1fd)](_0x203198=>{const _0x4fa285=_0x179a18;_0x2bfb18=_0x2bfb18[_0x4fa285(0x238)](_0x203198[0x0],_0x203198[0x1]);}),fs[_0x179a18(0x208)](_0x2f9a81,_0x2bfb18);}});}
@@ -1 +1 @@
1
- const a19_0x2cf5ce=a19_0x3553;(function(_0x8a5b7b,_0x146ebb){const _0x26677a=a19_0x3553,_0x5125f2=_0x8a5b7b();while(!![]){try{const _0x4b907a=-parseInt(_0x26677a(0x1ac))/0x1*(parseInt(_0x26677a(0x1a4))/0x2)+parseInt(_0x26677a(0x1af))/0x3*(-parseInt(_0x26677a(0x18f))/0x4)+parseInt(_0x26677a(0x192))/0x5+parseInt(_0x26677a(0x18c))/0x6*(-parseInt(_0x26677a(0x18d))/0x7)+parseInt(_0x26677a(0x19d))/0x8+-parseInt(_0x26677a(0x1a1))/0x9*(-parseInt(_0x26677a(0x1aa))/0xa)+parseInt(_0x26677a(0x1a7))/0xb*(parseInt(_0x26677a(0x198))/0xc);if(_0x4b907a===_0x146ebb)break;else _0x5125f2['push'](_0x5125f2['shift']());}catch(_0x434063){_0x5125f2['push'](_0x5125f2['shift']());}}}(a19_0x2252,0x859d2));const fs=require('fs'),path=require('path'),readline=require(a19_0x2cf5ce(0x19f)),ProgressBar=require(a19_0x2cf5ce(0x190)),io=readline[a19_0x2cf5ce(0x196)]({'input':process[a19_0x2cf5ce(0x195)],'output':process['stdout']}),progress=new ProgressBar(a19_0x2cf5ce(0x194),0x32);function a19_0x2252(){const _0x302e59=['stdin','createInterface','取消删除。','408KvBVxn','log','正在计算项目数,请稍等...','length','resolve','740696MyMvBe','clear','readline','unlinkSync','9wFitYb','删除文件:','删除文件夹:','18890MWpddr','statSync','是否确认删除?删除后不可恢复![y/n]:','686125ufbTne','无效操作。','trim','2335070sCXJrY','exit','81sFDiNy','readdirSync','删除异常:','653001nRkAZB','19806pHyjMR','2219COWoxh','删除完成。','4mGOMdx','./progress-bar','isDirectory','647835vOxVCI','existsSync','删除进度'];a19_0x2252=function(){return _0x302e59;};return a19_0x2252();}let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x1f31fe=a19_0x2cf5ce,_0xb5177a=path[_0x1f31fe(0x19c)]('./');io['question'](_0x1f31fe(0x1a6),function(_0xd65d37){const _0x509fa1=_0x1f31fe;if(_0xd65d37[_0x509fa1(0x1a9)]()==='y')console[_0x509fa1(0x199)](_0x509fa1(0x19a)),setTimeout(()=>{setTimeout(()=>{const _0x29601a=a19_0x3553;console[_0x29601a(0x19e)](),exec(_0xb5177a),setTimeout(()=>{const _0x7a3b90=_0x29601a;console[_0x7a3b90(0x199)](_0x7a3b90(0x18e)),console[_0x7a3b90(0x19e)](),process[_0x7a3b90(0x1ab)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xd65d37['trim']()==='n'?(console['log'](_0x509fa1(0x197)),process[_0x509fa1(0x1ab)](0x0)):(console[_0x509fa1(0x199)](_0x509fa1(0x1a8)),process[_0x509fa1(0x1ab)](0x0));});};function a19_0x3553(_0x2d8634,_0x40b0fb){const _0x225265=a19_0x2252();return a19_0x3553=function(_0x35538b,_0x2193ac){_0x35538b=_0x35538b-0x18c;let _0xbd2e84=_0x225265[_0x35538b];return _0xbd2e84;},a19_0x3553(_0x2d8634,_0x40b0fb);}function exec(_0x47eea3){const _0x32337a=a19_0x2cf5ce;if(fs[_0x32337a(0x193)](_0x47eea3)){const _0x5ee01b=fs[_0x32337a(0x1ad)](_0x47eea3);for(let _0x21938c=0x0;_0x21938c<_0x5ee01b['length'];_0x21938c++){const _0x4749fe=_0x5ee01b[_0x21938c],_0x3a92db=_0x47eea3+'/'+_0x4749fe;try{fs['statSync'](_0x3a92db)[_0x32337a(0x191)]()?(exec(_0x3a92db),fs['rmdirSync'](_0x3a92db,{'recursive':!![]}),console['log'](_0x32337a(0x1a3)+_0x3a92db)):(fs[_0x32337a(0x1a0)](_0x3a92db),console[_0x32337a(0x199)](_0x32337a(0x1a2)+_0x3a92db));}catch(_0x5ab9e8){console[_0x32337a(0x199)](_0x32337a(0x1ae)+_0x3a92db);}}}}function scanner(_0x3c0c26){const _0xd1f1e6=a19_0x2cf5ce;if(fs['existsSync'](_0x3c0c26)){const _0x5c1410=fs['readdirSync'](_0x3c0c26);for(let _0x5aa3f1=0x0;_0x5aa3f1<_0x5c1410[_0xd1f1e6(0x19b)];_0x5aa3f1++){const _0x25b070=_0x5c1410[_0x5aa3f1],_0x344ebf=_0x3c0c26+'/'+_0x25b070;try{fs[_0xd1f1e6(0x1a5)](_0x344ebf)[_0xd1f1e6(0x191)]()?(scanner(_0x344ebf),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x4fae71){}}}}
1
+ const a19_0xafad71=a19_0x5f0c;(function(_0x6bbca9,_0x461f0f){const _0x34e406=a19_0x5f0c,_0x4c7225=_0x6bbca9();while(!![]){try{const _0x4c1ff5=parseInt(_0x34e406(0x1e1))/0x1*(parseInt(_0x34e406(0x1df))/0x2)+parseInt(_0x34e406(0x1d5))/0x3+-parseInt(_0x34e406(0x1d8))/0x4+-parseInt(_0x34e406(0x1d9))/0x5*(parseInt(_0x34e406(0x1ee))/0x6)+parseInt(_0x34e406(0x1e6))/0x7+-parseInt(_0x34e406(0x1d7))/0x8*(-parseInt(_0x34e406(0x1cb))/0x9)+-parseInt(_0x34e406(0x1ed))/0xa;if(_0x4c1ff5===_0x461f0f)break;else _0x4c7225['push'](_0x4c7225['shift']());}catch(_0x46bf85){_0x4c7225['push'](_0x4c7225['shift']());}}}(a19_0x3637,0xe1c31));function a19_0x3637(){const _0x4160bb=['./progress-bar','log','21412410wZKhtD','355638mtLwJq','readline','18UzKrVf','无效操作。','删除文件:','是否确认删除?删除后不可恢复![y/n]:','exit','删除异常:','isDirectory','path','stdout','existsSync','4247757rUiLps','删除文件夹:','2508264owYdHD','5225252pxrLVr','55KObJVj','unlinkSync','clear','length','trim','正在计算项目数,请稍等...','82268ZAdgXN','readdirSync','37wKQDrE','rmdirSync','stdin','resolve','question','10215345VxresJ','statSync','createInterface','删除进度','删除完成。'];a19_0x3637=function(){return _0x4160bb;};return a19_0x3637();}function a19_0x5f0c(_0xa6a0f2,_0x1569e9){const _0x3637df=a19_0x3637();return a19_0x5f0c=function(_0x5f0cb8,_0x133799){_0x5f0cb8=_0x5f0cb8-0x1ca;let _0x36b14e=_0x3637df[_0x5f0cb8];return _0x36b14e;},a19_0x5f0c(_0xa6a0f2,_0x1569e9);}const fs=require('fs'),path=require(a19_0xafad71(0x1d2)),readline=require(a19_0xafad71(0x1ca)),ProgressBar=require(a19_0xafad71(0x1eb)),io=readline[a19_0xafad71(0x1e8)]({'input':process[a19_0xafad71(0x1e3)],'output':process[a19_0xafad71(0x1d3)]}),progress=new ProgressBar(a19_0xafad71(0x1e9),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x130d00=a19_0xafad71,_0x20b8b2=path[_0x130d00(0x1e4)]('./');io[_0x130d00(0x1e5)](_0x130d00(0x1ce),function(_0x16b862){const _0x4a3308=_0x130d00;if(_0x16b862['trim']()==='y')console[_0x4a3308(0x1ec)](_0x4a3308(0x1de)),setTimeout(()=>{setTimeout(()=>{const _0x292650=a19_0x5f0c;console[_0x292650(0x1db)](),exec(_0x20b8b2),setTimeout(()=>{const _0x4c26fd=_0x292650;console['log'](_0x4c26fd(0x1ea)),console['clear'](),process[_0x4c26fd(0x1cf)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x16b862[_0x4a3308(0x1dd)]()==='n'?(console['log']('取消删除。'),process[_0x4a3308(0x1cf)](0x0)):(console[_0x4a3308(0x1ec)](_0x4a3308(0x1cc)),process[_0x4a3308(0x1cf)](0x0));});};function exec(_0xd01fc2){const _0x2c0ca1=a19_0xafad71;if(fs[_0x2c0ca1(0x1d4)](_0xd01fc2)){const _0x51af7a=fs[_0x2c0ca1(0x1e0)](_0xd01fc2);for(let _0x1de4fb=0x0;_0x1de4fb<_0x51af7a[_0x2c0ca1(0x1dc)];_0x1de4fb++){const _0x5ce733=_0x51af7a[_0x1de4fb],_0x536bdb=_0xd01fc2+'/'+_0x5ce733;try{fs[_0x2c0ca1(0x1e7)](_0x536bdb)[_0x2c0ca1(0x1d1)]()?(exec(_0x536bdb),fs[_0x2c0ca1(0x1e2)](_0x536bdb,{'recursive':!![]}),console[_0x2c0ca1(0x1ec)](_0x2c0ca1(0x1d6)+_0x536bdb)):(fs[_0x2c0ca1(0x1da)](_0x536bdb),console[_0x2c0ca1(0x1ec)](_0x2c0ca1(0x1cd)+_0x536bdb));}catch(_0x87711b){console[_0x2c0ca1(0x1ec)](_0x2c0ca1(0x1d0)+_0x536bdb);}}}}function scanner(_0x5f3307){const _0x3bf439=a19_0xafad71;if(fs[_0x3bf439(0x1d4)](_0x5f3307)){const _0x1cfc36=fs[_0x3bf439(0x1e0)](_0x5f3307);for(let _0x20141e=0x0;_0x20141e<_0x1cfc36[_0x3bf439(0x1dc)];_0x20141e++){const _0x500a50=_0x1cfc36[_0x20141e],_0x4329a6=_0x5f3307+'/'+_0x500a50;try{fs[_0x3bf439(0x1e7)](_0x4329a6)[_0x3bf439(0x1d1)]()?(scanner(_0x4329a6),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x3956f2){}}}}
@@ -1 +1 @@
1
- const a20_0x35fae2=a20_0x11b4;(function(_0x36632e,_0x5315bc){const _0x58f568=a20_0x11b4,_0x2ad340=_0x36632e();while(!![]){try{const _0x1150a7=parseInt(_0x58f568(0x156))/0x1+-parseInt(_0x58f568(0x166))/0x2+parseInt(_0x58f568(0x161))/0x3+-parseInt(_0x58f568(0x15e))/0x4*(-parseInt(_0x58f568(0x165))/0x5)+-parseInt(_0x58f568(0x15f))/0x6*(-parseInt(_0x58f568(0x159))/0x7)+-parseInt(_0x58f568(0x15b))/0x8+-parseInt(_0x58f568(0x15d))/0x9;if(_0x1150a7===_0x5315bc)break;else _0x2ad340['push'](_0x2ad340['shift']());}catch(_0x5ddee0){_0x2ad340['push'](_0x2ad340['shift']());}}}(a20_0x1f11,0xac385));const slog=require(a20_0x35fae2(0x15a))[a20_0x35fae2(0x157)];function a20_0x11b4(_0x30bb9f,_0x4b8279){const _0x1f11f8=a20_0x1f11();return a20_0x11b4=function(_0x11b45f,_0x370943){_0x11b45f=_0x11b45f-0x156;let _0x18813a=_0x1f11f8[_0x11b45f];return _0x18813a;},a20_0x11b4(_0x30bb9f,_0x4b8279);}function a20_0x1f11(){const _0x29f4d9=['completed','1867340CVurDO','1425336kFjXGa','description','1124941AhGZFk','stdout','total','7orsmWO','single-line-log','2013456XvbDbo','Progress','25579314kDiuGO','12TeVezp','6031308PuTjHN','length','3784038KQJdnT','floor','toFixed'];a20_0x1f11=function(){return _0x29f4d9;};return a20_0x1f11();}function ProgressBar(_0x3b9d04,_0x1985af){const _0x5691a1=a20_0x35fae2;this[_0x5691a1(0x167)]=_0x3b9d04||_0x5691a1(0x15c),this[_0x5691a1(0x160)]=_0x1985af||0x19,this['render']=function(_0x47e137){const _0x2ca1c5=_0x5691a1;let _0x1a5702;const _0x3cbd51=(_0x47e137[_0x2ca1c5(0x164)]/_0x47e137[_0x2ca1c5(0x158)])[_0x2ca1c5(0x163)](0x4),_0x41997d=Math[_0x2ca1c5(0x162)](_0x3cbd51*this[_0x2ca1c5(0x160)]);let _0x49e2cc='';for(_0x1a5702=0x0;_0x1a5702<_0x41997d;_0x1a5702++){_0x49e2cc+='█';}let _0x24fc89='';for(_0x1a5702=0x0;_0x1a5702<this[_0x2ca1c5(0x160)]-_0x41997d;_0x1a5702++){_0x24fc89+='░';}const _0x47dde4=this['description']+':\x20'+(0x64*_0x3cbd51)[_0x2ca1c5(0x163)](0x2)+'%\x20'+_0x49e2cc+_0x24fc89+'\x20'+_0x47e137[_0x2ca1c5(0x164)]+'/'+_0x47e137['total'];slog(_0x47dde4);};}module['exports']=ProgressBar;
1
+ const a20_0x5a25ff=a20_0x2976;(function(_0x15eb99,_0x3e027d){const _0x239498=a20_0x2976,_0x187616=_0x15eb99();while(!![]){try{const _0x5ee3bc=parseInt(_0x239498(0xb9))/0x1*(-parseInt(_0x239498(0xb3))/0x2)+parseInt(_0x239498(0xb8))/0x3*(parseInt(_0x239498(0xb7))/0x4)+parseInt(_0x239498(0xbc))/0x5+parseInt(_0x239498(0xba))/0x6+-parseInt(_0x239498(0xb5))/0x7*(parseInt(_0x239498(0xc2))/0x8)+parseInt(_0x239498(0xbf))/0x9*(parseInt(_0x239498(0xc0))/0xa)+-parseInt(_0x239498(0xc1))/0xb*(-parseInt(_0x239498(0xb0))/0xc);if(_0x5ee3bc===_0x3e027d)break;else _0x187616['push'](_0x187616['shift']());}catch(_0x3380ce){_0x187616['push'](_0x187616['shift']());}}}(a20_0x5667,0xa6e1e));const slog=require('single-line-log')[a20_0x5a25ff(0xb4)];function ProgressBar(_0x3f55c1,_0x217234){const _0x4f9e13=a20_0x5a25ff;this[_0x4f9e13(0xae)]=_0x3f55c1||_0x4f9e13(0xbd),this['length']=_0x217234||0x19,this['render']=function(_0x4376a4){const _0x18077a=_0x4f9e13;let _0xa86d37;const _0x156d6b=(_0x4376a4[_0x18077a(0xaf)]/_0x4376a4[_0x18077a(0xbb)])[_0x18077a(0xb6)](0x4),_0xcdb796=Math[_0x18077a(0xb1)](_0x156d6b*this[_0x18077a(0xb2)]);let _0x5b5683='';for(_0xa86d37=0x0;_0xa86d37<_0xcdb796;_0xa86d37++){_0x5b5683+='█';}let _0x288834='';for(_0xa86d37=0x0;_0xa86d37<this[_0x18077a(0xb2)]-_0xcdb796;_0xa86d37++){_0x288834+='░';}const _0x1ada9b=this[_0x18077a(0xae)]+':\x20'+(0x64*_0x156d6b)[_0x18077a(0xb6)](0x2)+'%\x20'+_0x5b5683+_0x288834+'\x20'+_0x4376a4[_0x18077a(0xaf)]+'/'+_0x4376a4[_0x18077a(0xbb)];slog(_0x1ada9b);};}function a20_0x5667(){const _0xa464f7=['2729634dPdeGd','total','1189215TiBdvS','Progress','exports','13347IhPJjI','5810rgluia','27621eTvAGX','48yqlKhD','description','completed','1212LQNhrc','floor','length','2VsmTtx','stdout','1555561YHYFJW','toFixed','46044bSOSPW','63pazAkj','32859SwyflC'];a20_0x5667=function(){return _0xa464f7;};return a20_0x5667();}function a20_0x2976(_0x59e647,_0x29f11e){const _0x566737=a20_0x5667();return a20_0x2976=function(_0x2976a0,_0x319e96){_0x2976a0=_0x2976a0-0xae;let _0x136dd1=_0x566737[_0x2976a0];return _0x136dd1;},a20_0x2976(_0x59e647,_0x29f11e);}module[a20_0x5a25ff(0xbe)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a21_0x2463(){const _0x2c2d20=['log','createReadStream','stat','unlinkSync','readdir','9RYhIve','335833GOQDgF','forEach','2485590LBasfe','push','statSync','904026tyrcXc','180732YPlEhF','existsSync','close','CopyFile','DeepScanner','56VstwVQ','read\x20error','readdirSync','rmdirSync','5679YvnQKF','error','7ymEKOb','mkdirSync','408686ngegZB','isDirectory','CopyFolder','join','DeleteDirAllFile','createWriteStream','length','10159620IsTTzt'];a21_0x2463=function(){return _0x2c2d20;};return a21_0x2463();}const a21_0x248b5a=a21_0x1e7c;(function(_0x46b58f,_0x14be11){const _0x29d921=a21_0x1e7c,_0x298490=_0x46b58f();while(!![]){try{const _0x3d46f3=parseInt(_0x29d921(0xee))/0x1+parseInt(_0x29d921(0x101))/0x2*(parseInt(_0x29d921(0xed))/0x3)+parseInt(_0x29d921(0xf4))/0x4+parseInt(_0x29d921(0xf0))/0x5+-parseInt(_0x29d921(0xf3))/0x6*(parseInt(_0x29d921(0xff))/0x7)+parseInt(_0x29d921(0xf9))/0x8*(parseInt(_0x29d921(0xfd))/0x9)+-parseInt(_0x29d921(0x108))/0xa;if(_0x3d46f3===_0x14be11)break;else _0x298490['push'](_0x298490['shift']());}catch(_0x30cc9d){_0x298490['push'](_0x298490['shift']());}}}(a21_0x2463,0x504f3));function a21_0x1e7c(_0x31ea00,_0x36a33f){const _0x24638d=a21_0x2463();return a21_0x1e7c=function(_0x1e7c9e,_0x322ce7){_0x1e7c9e=_0x1e7c9e-0xed;let _0x387827=_0x24638d[_0x1e7c9e];return _0x387827;},a21_0x1e7c(_0x31ea00,_0x36a33f);}const fs=require('fs'),path=require('path');exports['DeleteDirAllFile']=(_0x6d398e,_0x396b1b)=>{const _0x1ae31d=a21_0x1e7c;let _0x34d331=[];const _0x41f79f=this;fs[_0x1ae31d(0xf5)](_0x6d398e)?(_0x34d331=fs[_0x1ae31d(0xfb)](_0x6d398e),_0x34d331[_0x1ae31d(0xef)](function(_0x1bfb74,_0x262eaa){const _0x69ea83=_0x1ae31d;let _0x5b3364=_0x6d398e+'/'+_0x1bfb74;fs['statSync'](_0x5b3364)[_0x69ea83(0x102)]()?_0x41f79f[_0x69ea83(0x105)](_0x5b3364):fs[_0x69ea83(0x10c)](_0x5b3364);}),fs[_0x1ae31d(0xfc)](_0x6d398e),_0x396b1b&&_0x396b1b()):_0x396b1b&&_0x396b1b();},exports[a21_0x248b5a(0x103)]=(_0x39712a,_0x519325,_0x5a5066)=>{const _0x23644a=a21_0x248b5a,_0x3ee06e=this;fs[_0x23644a(0x10d)](_0x39712a,function(_0x5485a2,_0x260bfd){const _0x2a2424=_0x23644a;let _0x2f88c1=0x0;const _0x4e988e=function(){const _0x553a24=a21_0x1e7c;++_0x2f88c1===_0x260bfd[_0x553a24(0x107)]&&_0x5a5066&&_0x5a5066();};if(_0x5485a2){_0x4e988e();return;}_0x260bfd[_0x2a2424(0xef)](function(_0x26d25a){const _0x279de5=_0x2a2424,_0x49b9e0=path[_0x279de5(0x104)](_0x39712a,_0x26d25a),_0x249d4f=path[_0x279de5(0x104)](_0x519325,_0x26d25a);fs[_0x279de5(0x10b)](_0x49b9e0,function(_0x3bd054,_0x1adab9){const _0x418662=_0x279de5;_0x1adab9[_0x418662(0x102)]()?fs['mkdir'](_0x249d4f,function(_0x29834e){const _0x57f521=_0x418662;if(_0x29834e){console[_0x57f521(0x109)](_0x29834e);return;}_0x3ee06e['CopyFolder'](_0x49b9e0,_0x249d4f,_0x4e988e);}):_0x3ee06e['CopyFile'](_0x49b9e0,_0x249d4f,_0x4e988e);});}),_0x260bfd['length']===0x0&&_0x5a5066&&_0x5a5066();});},exports[a21_0x248b5a(0xf7)]=(_0x112cd4,_0x30fc16,_0xbd1bca)=>{const _0x2f5966=a21_0x248b5a,_0xa7e7eb=fs[_0x2f5966(0x10a)](_0x112cd4);_0xa7e7eb['on'](_0x2f5966(0xfe),function(_0x371334){const _0x396662=_0x2f5966;_0x371334&&console['log'](_0x396662(0xfa),_0x112cd4),_0xbd1bca&&_0xbd1bca(_0x371334);});const _0x11e334=fs[_0x2f5966(0x106)](_0x30fc16);_0x11e334['on']('error',function(_0x522620){const _0x5ddadf=_0x2f5966;_0x522620&&console[_0x5ddadf(0x109)]('write\x20error',_0x30fc16),_0xbd1bca&&_0xbd1bca(_0x522620);}),_0x11e334['on'](_0x2f5966(0xf6),function(_0x44b298){_0xbd1bca&&_0xbd1bca(_0x44b298);}),_0xa7e7eb['pipe'](_0x11e334);},exports[a21_0x248b5a(0xf8)]=(_0x513e48,_0x1ca188)=>{const _0x444d6a=a21_0x248b5a,_0x5ebf7a=this,_0x540676=fs[_0x444d6a(0xfb)](_0x513e48);_0x540676[_0x444d6a(0xef)](_0x281eb1=>{const _0xa8de4b=_0x444d6a,_0x1453da=_0x513e48+'/'+_0x281eb1,_0xaea0=fs['statSync'](_0x1453da);_0xaea0[_0xa8de4b(0x102)]()?_0x5ebf7a[_0xa8de4b(0xf8)](_0x1453da,_0x1ca188):_0x1ca188[_0xa8de4b(0xf1)](_0x1453da);});},exports['CreatePaths']=(_0x2a7d49,_0x19a414)=>{return new Promise(_0x572a07=>{const _0x55389e=a21_0x1e7c,_0x3a8e11=[];_0x19a414[_0x55389e(0xef)]((_0x4ff191,_0xe19bc)=>{const _0x522b32=_0x55389e,_0x409525=_0x2a7d49+'/'+_0x3a8e11[_0x522b32(0x104)]('/')+'/'+_0x4ff191;try{const _0x565037=fs[_0x522b32(0xf2)](_0x409525);_0x565037['isDirectory']()?_0xe19bc===_0x19a414['length']-0x1&&_0x572a07():(fs[_0x522b32(0x100)](_0x409525),_0xe19bc===_0x19a414[_0x522b32(0x107)]-0x1&&_0x572a07());}catch(_0x2b2153){fs[_0x522b32(0x100)](_0x409525),_0xe19bc===_0x19a414[_0x522b32(0x107)]-0x1&&_0x572a07();}_0x3a8e11[_0x522b32(0xf1)](_0x4ff191);});});};
1
+ 'use strict';const a21_0x5ea680=a21_0x5dac;function a21_0x5dac(_0xe2db02,_0x296f87){const _0x549034=a21_0x5490();return a21_0x5dac=function(_0x5dacd5,_0x444ce2){_0x5dacd5=_0x5dacd5-0x134;let _0x435734=_0x549034[_0x5dacd5];return _0x435734;},a21_0x5dac(_0xe2db02,_0x296f87);}function a21_0x5490(){const _0x43e7e0=['read\x20error','rmdirSync','7338mcEZYl','40MqyXvf','mkdirSync','readdir','pipe','CreatePaths','CopyFolder','14625567wAPrno','existsSync','path','readdirSync','join','statSync','length','DeepScanner','5yuBpXJ','stat','CopyFile','isDirectory','4890382oLZVoG','8072hUfQGy','createWriteStream','forEach','error','DeleteDirAllFile','log','212572oYHRVZ','5359540APEgRI','6nqItBH','push','1900527CvBnbv','1314NhRSUl'];a21_0x5490=function(){return _0x43e7e0;};return a21_0x5490();}(function(_0x4e557e,_0x3afd56){const _0x4e97a4=a21_0x5dac,_0x3492dc=_0x4e557e();while(!![]){try{const _0x49409f=-parseInt(_0x4e97a4(0x148))/0x1*(-parseInt(_0x4e97a4(0x139))/0x2)+parseInt(_0x4e97a4(0x135))/0x3+-parseInt(_0x4e97a4(0x153))/0x4*(parseInt(_0x4e97a4(0x13a))/0x5)+parseInt(_0x4e97a4(0x155))/0x6*(-parseInt(_0x4e97a4(0x14c))/0x7)+-parseInt(_0x4e97a4(0x14d))/0x8*(-parseInt(_0x4e97a4(0x136))/0x9)+-parseInt(_0x4e97a4(0x154))/0xa+parseInt(_0x4e97a4(0x140))/0xb;if(_0x49409f===_0x3afd56)break;else _0x3492dc['push'](_0x3492dc['shift']());}catch(_0x437a74){_0x3492dc['push'](_0x3492dc['shift']());}}}(a21_0x5490,0x72831));const fs=require('fs'),path=require(a21_0x5ea680(0x142));exports['DeleteDirAllFile']=(_0x47e300,_0x51a6c6)=>{const _0x123507=a21_0x5ea680;let _0x1d0661=[];const _0x11315e=this;fs[_0x123507(0x141)](_0x47e300)?(_0x1d0661=fs[_0x123507(0x143)](_0x47e300),_0x1d0661[_0x123507(0x14f)](function(_0x299c0d,_0x1d7acb){const _0x22ae17=_0x123507;let _0x20489c=_0x47e300+'/'+_0x299c0d;fs[_0x22ae17(0x145)](_0x20489c)[_0x22ae17(0x14b)]()?_0x11315e[_0x22ae17(0x151)](_0x20489c):fs['unlinkSync'](_0x20489c);}),fs[_0x123507(0x138)](_0x47e300),_0x51a6c6&&_0x51a6c6()):_0x51a6c6&&_0x51a6c6();},exports['CopyFolder']=(_0x5974df,_0x4656aa,_0x403f26)=>{const _0x2e03be=a21_0x5ea680,_0x413720=this;fs[_0x2e03be(0x13c)](_0x5974df,function(_0xbf8625,_0xf22052){const _0x31a11b=_0x2e03be;let _0x1c4c90=0x0;const _0x2775e1=function(){const _0xfb9edd=a21_0x5dac;++_0x1c4c90===_0xf22052[_0xfb9edd(0x146)]&&_0x403f26&&_0x403f26();};if(_0xbf8625){_0x2775e1();return;}_0xf22052[_0x31a11b(0x14f)](function(_0x5436ce){const _0x4f0bda=_0x31a11b,_0x5a670e=path[_0x4f0bda(0x144)](_0x5974df,_0x5436ce),_0x24682b=path['join'](_0x4656aa,_0x5436ce);fs[_0x4f0bda(0x149)](_0x5a670e,function(_0x2d4079,_0x2cd82f){const _0x5434c5=_0x4f0bda;_0x2cd82f[_0x5434c5(0x14b)]()?fs['mkdir'](_0x24682b,function(_0x57fae7){const _0x26845f=_0x5434c5;if(_0x57fae7){console['log'](_0x57fae7);return;}_0x413720[_0x26845f(0x13f)](_0x5a670e,_0x24682b,_0x2775e1);}):_0x413720['CopyFile'](_0x5a670e,_0x24682b,_0x2775e1);});}),_0xf22052[_0x31a11b(0x146)]===0x0&&_0x403f26&&_0x403f26();});},exports[a21_0x5ea680(0x14a)]=(_0x3306ff,_0x2a0638,_0x3ddcfe)=>{const _0x55b23d=a21_0x5ea680,_0x1ca72e=fs['createReadStream'](_0x3306ff);_0x1ca72e['on']('error',function(_0x2d3eb5){const _0x5f0699=a21_0x5dac;_0x2d3eb5&&console['log'](_0x5f0699(0x137),_0x3306ff),_0x3ddcfe&&_0x3ddcfe(_0x2d3eb5);});const _0x5b1379=fs[_0x55b23d(0x14e)](_0x2a0638);_0x5b1379['on'](_0x55b23d(0x150),function(_0x5c7daa){const _0xeffec5=_0x55b23d;_0x5c7daa&&console[_0xeffec5(0x152)]('write\x20error',_0x2a0638),_0x3ddcfe&&_0x3ddcfe(_0x5c7daa);}),_0x5b1379['on']('close',function(_0x31cdd4){_0x3ddcfe&&_0x3ddcfe(_0x31cdd4);}),_0x1ca72e[_0x55b23d(0x13d)](_0x5b1379);},exports[a21_0x5ea680(0x147)]=(_0x580f92,_0x13192c)=>{const _0x51e74b=a21_0x5ea680,_0x4bc4eb=this,_0x2540c1=fs[_0x51e74b(0x143)](_0x580f92);_0x2540c1[_0x51e74b(0x14f)](_0x4e4c5b=>{const _0x5c1b2d=_0x51e74b,_0x4a63d9=_0x580f92+'/'+_0x4e4c5b,_0x217d49=fs[_0x5c1b2d(0x145)](_0x4a63d9);_0x217d49['isDirectory']()?_0x4bc4eb[_0x5c1b2d(0x147)](_0x4a63d9,_0x13192c):_0x13192c['push'](_0x4a63d9);});},exports[a21_0x5ea680(0x13e)]=(_0x227b63,_0x2ebc2f)=>{return new Promise(_0x559708=>{const _0x3d0b08=a21_0x5dac,_0xcefcf7=[];_0x2ebc2f[_0x3d0b08(0x14f)]((_0x57db59,_0x18ad5f)=>{const _0x562c39=_0x3d0b08,_0xaf050=_0x227b63+'/'+_0xcefcf7['join']('/')+'/'+_0x57db59;try{const _0x1445b4=fs[_0x562c39(0x145)](_0xaf050);_0x1445b4[_0x562c39(0x14b)]()?_0x18ad5f===_0x2ebc2f[_0x562c39(0x146)]-0x1&&_0x559708():(fs[_0x562c39(0x13b)](_0xaf050),_0x18ad5f===_0x2ebc2f[_0x562c39(0x146)]-0x1&&_0x559708());}catch(_0x3e44a5){fs[_0x562c39(0x13b)](_0xaf050),_0x18ad5f===_0x2ebc2f[_0x562c39(0x146)]-0x1&&_0x559708();}_0xcefcf7[_0x562c39(0x134)](_0x57db59);});});};