jjb-cmd 2.1.16 → 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,14 @@
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>
8
+ <li>
9
+ <p>2.1.17</p>
10
+ <div>init命令初始化完成,增加询问是否立即安装项目</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.15</p>
6
14
  <div>refresh增加babel配置文件更新</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.16",
4
+ "version": "2.1.18",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x3edb8e=a0_0x232d;(function(_0x22e3b,_0x39fcd4){const _0x3633ac=a0_0x232d,_0x47b790=_0x22e3b();while(!![]){try{const _0x45e198=-parseInt(_0x3633ac(0x14d))/0x1+-parseInt(_0x3633ac(0x14f))/0x2*(-parseInt(_0x3633ac(0x162))/0x3)+parseInt(_0x3633ac(0x161))/0x4*(parseInt(_0x3633ac(0x154))/0x5)+parseInt(_0x3633ac(0x15e))/0x6*(parseInt(_0x3633ac(0x14b))/0x7)+-parseInt(_0x3633ac(0x152))/0x8+parseInt(_0x3633ac(0x153))/0x9+parseInt(_0x3633ac(0x150))/0xa;if(_0x45e198===_0x39fcd4)break;else _0x47b790['push'](_0x47b790['shift']());}catch(_0x5041e3){_0x47b790['push'](_0x47b790['shift']());}}}(a0_0x268b,0xbd69f));const axios=require(a0_0x3edb8e(0x157)),fs=require('fs'),path=require(a0_0x3edb8e(0x15d)),{API_HOST}=require(a0_0x3edb8e(0x160));function a0_0x268b(){const _0x4ddd7c=['../cmd.install/config','3944208zAQBNn','6RgLixC','log','then','Auth\x20Fail!','30555AtOVcv','/api/auth','1069719yPyTcO','unlinkSync','210326YCCqPz','14247830tYvwIz','../../../.auth','11504576ReBkUb','1208736OjBSCM','5UOKZid','data','writeFileSync','axios','Auth\x20Success!','existsSync','Auth\x20NetWork\x20Fail!','catch','status','path','726BvKIHA','exports'];a0_0x268b=function(){return _0x4ddd7c;};return a0_0x268b();}function a0_0x232d(_0x11dd55,_0x2af3f9){const _0x268bf9=a0_0x268b();return a0_0x232d=function(_0x232d1f,_0x586e9f){_0x232d1f=_0x232d1f-0x148;let _0x431cc1=_0x268bf9[_0x232d1f];return _0x431cc1;},a0_0x232d(_0x11dd55,_0x2af3f9);}module[a0_0x3edb8e(0x15f)]=_0x154d71=>{const _0x15fca8=a0_0x3edb8e;console['log'](_0x154d71);const [_0x4b450f,_0x35266a]=_0x154d71;axios['post'](API_HOST+_0x15fca8(0x14c),{'username':_0x4b450f,'password':_0x35266a})[_0x15fca8(0x149)](_0x19cde1=>{const _0x2d85b4=_0x15fca8,_0x12903a=path['join'](__dirname,_0x2d85b4(0x151));_0x19cde1[_0x2d85b4(0x155)][_0x2d85b4(0x15c)]?(console['log'](_0x2d85b4(0x158)),fs[_0x2d85b4(0x156)](_0x12903a,_0x4b450f+'/'+_0x35266a)):(console['log'](_0x2d85b4(0x14a)),fs[_0x2d85b4(0x159)](_0x12903a)&&fs[_0x2d85b4(0x14e)](_0x12903a));})[_0x15fca8(0x15b)](_0x40dd2d=>{const _0x28ea28=_0x15fca8;console[_0x28ea28(0x148)](_0x28ea28(0x15a));});};
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_0x2b69(_0x3c0c3f,_0x182a36){const _0xe38d46=a1_0xe38d();return a1_0x2b69=function(_0x2b69f2,_0x89bd91){_0x2b69f2=_0x2b69f2-0xdd;let _0x4fc83b=_0xe38d46[_0x2b69f2];return _0x4fc83b;},a1_0x2b69(_0x3c0c3f,_0x182a36);}function a1_0xe38d(){const _0x1354b3=['log','request','10FQGBzt','-master-','290UbmGsM','45150534hLAETx','2840864ImDFIw','forEach','初始化完成!','zip','1223748UKSTum','/unzip/','indexOf','projectId','../cmd.install/tools','7210436UmvWLM','tmpdir','pipe','DeleteDirAllFile','exports','uncompress','../../old/util','.zip','10442HCoACc','CopyFolder','2069550igKULF','close','&ref=master','../cmd.install/config','5049927vJhElB','exit','createWriteStream','then','/api/v4/projects/','compressing','21cpIBfk','mkdirSync','5PmUAYB'];a1_0xe38d=function(){return _0x1354b3;};return a1_0xe38d();}const a1_0x1aa67a=a1_0x2b69;(function(_0x3e1155,_0x236c17){const _0x4eb72a=a1_0x2b69,_0xfae279=_0x3e1155();while(!![]){try{const _0x36f60c=-parseInt(_0x4eb72a(0x100))/0x1*(parseInt(_0x4eb72a(0xed))/0x2)+-parseInt(_0x4eb72a(0x102))/0x3+-parseInt(_0x4eb72a(0xf8))/0x4*(parseInt(_0x4eb72a(0xe8))/0x5)+-parseInt(_0x4eb72a(0xf3))/0x6*(-parseInt(_0x4eb72a(0xe6))/0x7)+-parseInt(_0x4eb72a(0xef))/0x8+parseInt(_0x4eb72a(0xe0))/0x9*(parseInt(_0x4eb72a(0xeb))/0xa)+parseInt(_0x4eb72a(0xee))/0xb;if(_0x36f60c===_0x236c17)break;else _0xfae279['push'](_0xfae279['shift']());}catch(_0x3e8238){_0xfae279['push'](_0xfae279['shift']());}}}(a1_0xe38d,0xdf9ca));const path=require('path'),{f_file_copy}=require(a1_0x1aa67a(0xf7)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0x1aa67a(0xdf)),fs=require('fs'),os=require('os'),utils=require(a1_0x1aa67a(0xfe)),request=require(a1_0x1aa67a(0xea)),compressing=require(a1_0x1aa67a(0xe5));module[a1_0x1aa67a(0xfc)]=_0x1974c0=>{const _0x1363e7=a1_0x1aa67a,_0xbe2ccd=path['resolve']('./'),_0x585a7c=CLOUD_PROJECT[_0x1974c0]||undefined;if(_0x585a7c){const _0x907443=os[_0x1363e7(0xf9)](),_0x3f5748=_0x907443+'/'+GIT_TEMP_DIR+'/'+_0x1974c0+_0x1363e7(0xff),_0x38c76a=_0x907443+'/'+GIT_TEMP_DIR+_0x1363e7(0xf4);utils[_0x1363e7(0xfb)](_0x907443+'/'+GIT_TEMP_DIR,()=>{const _0x3c9bf1=_0x1363e7;fs['mkdirSync'](_0x907443+'/'+GIT_TEMP_DIR);let _0x2a1673=fs[_0x3c9bf1(0xe2)](_0x3f5748);request(GIT_HOST+_0x3c9bf1(0xe4)+_0x585a7c[_0x3c9bf1(0xf6)]+'/repository/archive.zip?private_token='+_0x585a7c['token']+_0x3c9bf1(0xde))[_0x3c9bf1(0xfa)](_0x2a1673)['on'](_0x3c9bf1(0xdd),()=>{const _0x343476=_0x3c9bf1;fs[_0x343476(0xe7)](_0x38c76a),compressing[_0x343476(0xf2)][_0x343476(0xfd)](_0x3f5748,_0x38c76a)[_0x343476(0xe3)](()=>{setTimeout(()=>{const _0x111432=a1_0x2b69;fs['readdirSync'](_0x38c76a)[_0x111432(0xf0)](_0x112d66=>{const _0x6e0a7b=_0x111432;_0x112d66[_0x6e0a7b(0xf5)](_0x6e0a7b(0xec))!==-0x1&&utils[_0x6e0a7b(0x101)](_0x38c76a+_0x112d66,_0xbe2ccd,()=>{const _0x3732be=_0x6e0a7b;console['log'](_0x3732be(0xf1)),process[_0x3732be(0xe1)](0x0);});});},0x7d0);});});});}else console[_0x1363e7(0xe9)]('【Error】:初始化失败,'+_0x1974c0+'不存在。');};
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_0x479639=a2_0x5ede;function a2_0x5ede(_0x16f157,_0x23938d){const _0x2730ed=a2_0x2730();return a2_0x5ede=function(_0x5edef4,_0x511aa3){_0x5edef4=_0x5edef4-0xff;let _0x254441=_0x2730ed[_0x5edef4];return _0x254441;},a2_0x5ede(_0x16f157,_0x23938d);}function a2_0x2730(){const _0x5da40f=['8104cxqZwV','TEMPLATE_FOLDER','test','CLOUD_PROJECT','G4HJRsHr9D7Ssmixegw2','e9njpBd1nS_LREN8GFpR','1687iHvBZr','4zQmCYQ','GIT_TEMP_DIR','tmpdir','https://cdn.cqjjb.cn/jjb-cloud-config','http://120.26.210.58:8088','ywPtT3xCG6b_vAxp6sTj','8fqqwot','9WIOkyG','now','d4wQ7dzEjYPsgVbKnYei','1615220tkFiKt','FT3pKzxpRynFkmddJ9Bs','FqNrmFAgrxasMrbbjvq9','http://192.168.1.242:10985','prod','492792MepdkQ','927231xsQZhs','GIT_JAVA_ENV_JSON','262025VxWJqF','hLqARY89CN6fUD3yg4NL','1546605kwZRjC','dev','snBxJ2i5kYarGGcsojhY','99hKwBiV','2087754OkNTru'];a2_0x2730=function(){return _0x5da40f;};return a2_0x2730();}(function(_0x358e40,_0x2c3ff0){const _0x10f3d8=a2_0x5ede,_0x325998=_0x358e40();while(!![]){try{const _0x177537=parseInt(_0x10f3d8(0x108))/0x1+-parseInt(_0x10f3d8(0x116))/0x2*(-parseInt(_0x10f3d8(0x106))/0x3)+parseInt(_0x10f3d8(0x11c))/0x4*(-parseInt(_0x10f3d8(0x10a))/0x5)+parseInt(_0x10f3d8(0x10e))/0x6+parseInt(_0x10f3d8(0x115))/0x7*(parseInt(_0x10f3d8(0x10f))/0x8)+parseInt(_0x10f3d8(0x11d))/0x9*(-parseInt(_0x10f3d8(0x100))/0xa)+parseInt(_0x10f3d8(0x10d))/0xb*(-parseInt(_0x10f3d8(0x105))/0xc);if(_0x177537===_0x2c3ff0)break;else _0x325998['push'](_0x325998['shift']());}catch(_0x2dead3){_0x325998['push'](_0x325998['shift']());}}}(a2_0x2730,0x4ebd1));const os=require('os');exports['CONFIG_FILE_HOST']=a2_0x479639(0x119),exports['API_HOST']=a2_0x479639(0x11a),exports['GIT_HOST']=a2_0x479639(0x103),exports[a2_0x479639(0x117)]='jjb-assembly-'+Date[a2_0x479639(0x11e)](),exports['GIT_TEMP_JAVA']='jjb-assembly-java',exports[a2_0x479639(0x107)]={'development':a2_0x479639(0x10b),'production':a2_0x479639(0x104),'test':a2_0x479639(0x111)},exports[a2_0x479639(0x112)]={'common':{'token':a2_0x479639(0x113),'projectId':0x117},'react-admin-component':{'token':a2_0x479639(0x101),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x479639(0x109),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x479639(0x114),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a2_0x479639(0xff),'projectId':0x153},'react-component':{'token':a2_0x479639(0x10c),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':a2_0x479639(0x102),'projectId':0x33d},'lib':{'token':a2_0x479639(0x11b),'projectId':0x33c}},exports[a2_0x479639(0x110)]=os[a2_0x479639(0x118)]()+'\x5c'+exports['GIT_TEMP_DIR'];
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_0x59d647=a3_0x3022;(function(_0x3160a6,_0x3fd80f){const _0x15e50e=a3_0x3022,_0x49dbfd=_0x3160a6();while(!![]){try{const _0x172791=-parseInt(_0x15e50e(0x16f))/0x1*(parseInt(_0x15e50e(0x16e))/0x2)+-parseInt(_0x15e50e(0x157))/0x3*(parseInt(_0x15e50e(0x171))/0x4)+-parseInt(_0x15e50e(0x165))/0x5*(-parseInt(_0x15e50e(0x17b))/0x6)+-parseInt(_0x15e50e(0x186))/0x7+parseInt(_0x15e50e(0x185))/0x8+parseInt(_0x15e50e(0x180))/0x9+-parseInt(_0x15e50e(0x15f))/0xa*(parseInt(_0x15e50e(0x177))/0xb);if(_0x172791===_0x3fd80f)break;else _0x49dbfd['push'](_0x49dbfd['shift']());}catch(_0x5020e2){_0x49dbfd['push'](_0x49dbfd['shift']());}}}(a3_0x599f,0x2bdbe));function a3_0x599f(){const _0x13cd33=['./tools','map','existsSync','1480744JrqBYS','407134KUyJtA','path','join','.gitignore','compress','resolve','zip','find','pipe','forEach','1455uPrchf','exit','jjb-common-lib','1.0.0','package.json','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','node_modules','length','20tlTfQu','./config','now','src','unlinkSync','rmdirSync','4965jDJiny','log','includes','name','close','src\x5c','mkdirSync','uncompress','readdirSync','24dNitAI','21817QtmCey','importList','2012yzyzSu','repository','setting.json','【jjb-cmd】:install命令执行完成,用时','replace','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','267069UmWRRO','filter','compressing','installTarget','1866VQbYSF','installResources','push','pure_name','request','2683881fIvlwy','exports'];a3_0x599f=function(){return _0x13cd33;};return a3_0x599f();}function a3_0x3022(_0x406453,_0x395e01){const _0x599f79=a3_0x599f();return a3_0x3022=function(_0x3022ab,_0x110eec){_0x3022ab=_0x3022ab-0x155;let _0x2ccedb=_0x599f79[_0x3022ab];return _0x2ccedb;},a3_0x3022(_0x406453,_0x395e01);}const fs=require('fs'),path=require('path'),request=require(a3_0x59d647(0x17f)),compressing=require(a3_0x59d647(0x179)),{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_0x59d647(0x182)),{TEMPLATE_FOLDER}=require(a3_0x59d647(0x160)),start_time=Date[a3_0x59d647(0x161)]();module[a3_0x59d647(0x181)]=()=>{const _0x40f4b5=a3_0x59d647,_0x5c0a6d=path[_0x40f4b5(0x18b)]('./'),_0xdde63e=[_0x5c0a6d,_0x40f4b5(0x16a)][_0x40f4b5(0x188)]('\x5c'),_0x3b173e=[_0x5c0a6d,'node_modules'][_0x40f4b5(0x188)]('\x5c'),_0x22aab5=[_0x5c0a6d,_0x40f4b5(0x15b)][_0x40f4b5(0x188)]('\x5c');if(f_scan_jjb_config_json(_0x5c0a6d)){const _0x429126=f_scan_jjb_config_json_rules(_0x5c0a6d);_0x429126[_0x40f4b5(0x17a)]===_0x40f4b5(0x15d)?!fs[_0x40f4b5(0x184)](_0x3b173e)?(console[_0x40f4b5(0x166)]('【Error】:安装失败,node_modules目录不存在。'),process[_0x40f4b5(0x158)](0x0)):console['log'](_0x40f4b5(0x176)):!fs[_0x40f4b5(0x184)](_0xdde63e)&&(console[_0x40f4b5(0x166)]('【Error】:安装失败,src目录不存在。'),process[_0x40f4b5(0x158)](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x429126[_0x40f4b5(0x17c)])[_0x40f4b5(0x183)](_0x380755=>{const _0x7d5c80=_0x40f4b5,_0x5a0cd0=fs['createWriteStream'](_0x380755['path']);request(_0x380755[_0x7d5c80(0x172)])[_0x7d5c80(0x155)](_0x5a0cd0)['on'](_0x7d5c80(0x169),()=>{const _0x103914=_0x7d5c80;fs[_0x103914(0x16b)](_0x380755[_0x103914(0x18a)]),compressing[_0x103914(0x18c)][_0x103914(0x16c)](_0x380755[_0x103914(0x187)],_0x380755[_0x103914(0x18a)]);});});const _0x224931=setInterval(()=>{const _0xb6fba1=_0x40f4b5,_0x3cb1db=fs[_0xb6fba1(0x16d)](TEMPLATE_FOLDER),_0x3ee217=_0x3cb1db['filter'](_0x3e331f=>_0x429126[_0xb6fba1(0x17c)][_0xb6fba1(0x183)](_0x3dc14d=>_0x3dc14d[_0xb6fba1(0x168)]+'_zip')[_0xb6fba1(0x167)](_0x3e331f));if(_0x3ee217[_0xb6fba1(0x15e)]===_0x429126['installResources'][_0xb6fba1(0x15e)]){clearInterval(_0x224931);const _0x10dd4f=[];_0x3ee217[_0xb6fba1(0x156)](_0x32d1f9=>{const _0x3b5655=_0xb6fba1,_0x5804d8=[TEMPLATE_FOLDER,_0x32d1f9]['join']('\x5c');fs[_0x3b5655(0x16d)](_0x5804d8)[_0x3b5655(0x156)](_0x3d530e=>_0x10dd4f[_0x3b5655(0x17d)]({'name':_0x32d1f9,'path':[_0x5804d8,_0x3d530e]['join']('\x5c'),'pure_name':_0x32d1f9[_0x3b5655(0x175)](/_zip$/,''),'import_list':_0x429126['installResources'][_0x3b5655(0x18d)](_0xcba734=>_0xcba734[_0x3b5655(0x168)]+'_zip'===_0x32d1f9)[_0x3b5655(0x170)]}));}),_0x10dd4f[_0xb6fba1(0x156)](_0x46fb87=>{const _0x2455d2=_0xb6fba1,_0xf60817=_0x46fb87[_0x2455d2(0x17e)],_0x17e361=_0x46fb87['import_list'],_0x3cb67b=[_0x46fb87[_0x2455d2(0x187)],'.idea']['join']('//'),_0x593ee6=[_0x46fb87['path'],_0x2455d2(0x189)][_0x2455d2(0x188)]('//');fs[_0x2455d2(0x184)](_0x3cb67b)&&(f_rm_rf(_0x3cb67b),fs[_0x2455d2(0x164)](_0x3cb67b));fs['existsSync'](_0x593ee6)&&fs[_0x2455d2(0x163)](_0x593ee6);_0x17e361['length']&&fs['readdirSync'](_0x46fb87[_0x2455d2(0x187)])[_0x2455d2(0x178)](_0x227907=>!_0x17e361['includes'](_0x227907)&&_0x227907!=='index.js'&&_0x227907!==_0x2455d2(0x173))[_0x2455d2(0x156)](_0x4dcbc7=>{const _0x3c0f52=_0x2455d2,_0x21116b=_0x46fb87['path']+'\x5c'+_0x4dcbc7;f_rm_rf(_0x21116b),fs[_0x3c0f52(0x164)](_0x21116b);});if(_0x429126['installTarget']===_0x2455d2(0x15d)){const _0x2ce9e0=_0xf60817;fs[_0x2455d2(0x184)](_0x3b173e+'\x5c'+_0x2ce9e0)?f_rm_rf(_0x3b173e+'\x5c'+_0x2ce9e0):fs[_0x2455d2(0x16b)](_0x3b173e+'\x5c'+_0x2ce9e0),_0x2ce9e0!==_0x2455d2(0x159)?(f_file_copy(_0x46fb87[_0x2455d2(0x187)],_0x3b173e+'\x5c'+_0x2ce9e0),f_create_package_json(_0x3b173e+'\x5c'+_0x2ce9e0,_0x2ce9e0,_0x2455d2(0x15a))):f_file_copy(_0x46fb87['path']+'\x5ctypes',_0x3b173e+'\x5c'+_0x2ce9e0),f_update_project_package_json(_0x22aab5,_0x2ce9e0,_0x2455d2(0x15a));}else _0x429126[_0x2455d2(0x17a)]===_0x2455d2(0x162)&&(fs[_0x2455d2(0x184)](_0xdde63e+_0xf60817)?f_rm_rf(_0xdde63e+_0xf60817):fs[_0x2455d2(0x16b)](_0xdde63e+_0xf60817),f_file_copy(_0x46fb87['path'],_0xdde63e+_0xf60817));}),setTimeout(()=>{const _0x4ac131=_0xb6fba1;f_rm_rf(TEMPLATE_FOLDER),fs[_0x4ac131(0x164)](TEMPLATE_FOLDER);const _0x32da0a=Date[_0x4ac131(0x161)]();console[_0x4ac131(0x166)](_0x4ac131(0x174)+(_0x32da0a-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console['log'](_0x40f4b5(0x15c));};
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
- const a4_0x144926=a4_0x38ed;function a4_0x38ed(_0x2a67ad,_0x233022){const _0x24ae9b=a4_0x24ae();return a4_0x38ed=function(_0x38edeb,_0x14bb6d){_0x38edeb=_0x38edeb-0x1ea;let _0x10eac5=_0x24ae9b[_0x38edeb];return _0x10eac5;},a4_0x38ed(_0x2a67ad,_0x233022);}function a4_0x24ae(){const _0x54b8a4=['【Error】:[jjb.config.json.installResources]无资源。','spa','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','vue-unisass-component','f_file_copy','【Error】:[jjb.config.json.projectType]类型是一个string。','mkdirSync','token','installResources','log','jjb-common','react-admin-component','push','installTarget','f_resolve_install_resources','name','statSync','/api/v4/projects/','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','multi','readFileSync','toString','unlinkSync','dependencies','f_pull_git_repository','length','path','replace','{\x22name\x22:\x22','uniapp','547593FfXjag','2431485LzOVQT','readdirSync','parse','.zip','_zip','stringify','46200OQwRgH','micro-spa','src','f_scan_jjb_config_json','\x22,\x22version\x22:\x22','isDirectory','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','map','f_content_replace','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','jjb-common-lib','existsSync','3062143jKFeEb','/repository/archive.zip?private_token=','f_rm_rf','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','90385RXppVE','2926VOXGrP','projectType','writeFileSync','f_create_package_json','174SInnto','968248YnybJR','&ref=master','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','f_update_project_package_json','string','2ebEcsE','exit','isArray','forEach','rmdirSync','8QQarZX','\x5cjjb.config.json','jjb-dva-runtime','includes','221289zEhCNW'];a4_0x24ae=function(){return _0x54b8a4;};return a4_0x24ae();}(function(_0x1e3c1b,_0x49d46c){const _0x2578e4=a4_0x38ed,_0xdaabee=_0x1e3c1b();while(!![]){try{const _0x81cae5=-parseInt(_0x2578e4(0x21f))/0x1*(parseInt(_0x2578e4(0x1f7))/0x2)+-parseInt(_0x2578e4(0x200))/0x3*(-parseInt(_0x2578e4(0x1fc))/0x4)+parseInt(_0x2578e4(0x1ec))/0x5*(-parseInt(_0x2578e4(0x1f1))/0x6)+parseInt(_0x2578e4(0x232))/0x7+-parseInt(_0x2578e4(0x1f2))/0x8+-parseInt(_0x2578e4(0x220))/0x9+-parseInt(_0x2578e4(0x226))/0xa*(-parseInt(_0x2578e4(0x1ed))/0xb);if(_0x81cae5===_0x49d46c)break;else _0xdaabee['push'](_0xdaabee['shift']());}catch(_0x1e99e3){_0xdaabee['push'](_0xdaabee['shift']());}}}(a4_0x24ae,0x55a99));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');exports[a4_0x144926(0x1ea)]=function(_0x580e8e){const _0x592f44=a4_0x144926;if(fs[_0x592f44(0x231)](_0x580e8e)){const _0x2899d5=fs[_0x592f44(0x221)](_0x580e8e);for(let _0x56aad8=0x0;_0x56aad8<_0x2899d5[_0x592f44(0x21a)];_0x56aad8++){const _0x2739ad=_0x2899d5[_0x56aad8],_0x180693=_0x580e8e+'/'+_0x2739ad;fs['statSync'](_0x180693)['isDirectory']()?(exports['f_rm_rf'](_0x180693),fs[_0x592f44(0x1fb)](_0x180693)):fs[_0x592f44(0x217)](_0x180693);}}},exports[a4_0x144926(0x219)]=function(_0x5dc237=[]){return _0x5dc237['map'](_0x33748=>{const _0x4217a2=a4_0x38ed,_0x207d5c=CLOUD_PROJECT[_0x33748['name']]||undefined,_0x8c4ab3=os['tmpdir']();return{'path':_0x8c4ab3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x33748[_0x4217a2(0x210)]+_0x4217a2(0x223),'compress':_0x8c4ab3+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x33748[_0x4217a2(0x210)]+_0x4217a2(0x224),'repository':GIT_HOST+_0x4217a2(0x212)+_0x207d5c['projectId']+_0x4217a2(0x233)+_0x207d5c[_0x4217a2(0x208)]+_0x4217a2(0x1f3)};});},exports[a4_0x144926(0x229)]=function(_0x2039cc){const _0x11576c=a4_0x144926;return fs['existsSync'](_0x2039cc+_0x11576c(0x1fd));},exports['f_scan_jjb_config_json_rules']=function(_0x96fd19){const _0x40cb10=a4_0x144926;let _0x4bf33e={};try{_0x4bf33e=JSON[_0x40cb10(0x222)](fs[_0x40cb10(0x215)](_0x96fd19+'\x5cjjb.config.json')[_0x40cb10(0x216)]());}catch(_0x5bdc65){console[_0x40cb10(0x20a)](_0x40cb10(0x22f)),process[_0x40cb10(0x1f8)](0x0);}!(_0x40cb10(0x1ee)in _0x4bf33e)&&(console[_0x40cb10(0x20a)](_0x40cb10(0x203)),process['exit'](0x0));!(_0x40cb10(0x20e)in _0x4bf33e)&&(console['log'](_0x40cb10(0x22c)),process['exit'](0x0));!(_0x40cb10(0x209)in _0x4bf33e)&&(console[_0x40cb10(0x20a)](_0x40cb10(0x213)),process['exit'](0x0));typeof _0x4bf33e[_0x40cb10(0x1ee)]!==_0x40cb10(0x1f6)&&(console[_0x40cb10(0x20a)](_0x40cb10(0x206)),process['exit'](0x0));![_0x40cb10(0x214),_0x40cb10(0x202),_0x40cb10(0x21e),_0x40cb10(0x227)][_0x40cb10(0x1ff)](_0x4bf33e[_0x40cb10(0x1ee)])&&(console[_0x40cb10(0x20a)](_0x40cb10(0x1eb)),process[_0x40cb10(0x1f8)](0x0));typeof _0x4bf33e['installTarget']!=='string'&&(console[_0x40cb10(0x20a)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process[_0x40cb10(0x1f8)](0x0));!['node_modules',_0x40cb10(0x228)][_0x40cb10(0x1ff)](_0x4bf33e[_0x40cb10(0x20e)])&&(console[_0x40cb10(0x20a)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process['exit'](0x0));!Array[_0x40cb10(0x1f9)](_0x4bf33e[_0x40cb10(0x209)])&&(console['log']('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process[_0x40cb10(0x1f8)](0x0));_0x4bf33e[_0x40cb10(0x209)][_0x40cb10(0x21a)]===0x0&&(console[_0x40cb10(0x20a)](_0x40cb10(0x201)),process['exit'](0x0));const _0x611659=exports['f_resolve_install_resources'](_0x4bf33e[_0x40cb10(0x209)]);return _0x611659[_0x40cb10(0x22d)](_0x3c1d71=>_0x3c1d71[_0x40cb10(0x210)])['filter'](_0x6c539a=>![_0x40cb10(0x20b),_0x40cb10(0x1fe),_0x40cb10(0x230),'jjb-common-decorator',_0x40cb10(0x20c),_0x40cb10(0x204)][_0x40cb10(0x1ff)](_0x6c539a))[_0x40cb10(0x21a)]!==0x0&&(console[_0x40cb10(0x20a)](_0x40cb10(0x1f4)),process[_0x40cb10(0x1f8)](0x0)),_0x4bf33e[_0x40cb10(0x209)]=_0x611659,_0x4bf33e;},exports[a4_0x144926(0x1f0)]=function(_0x2e1671,_0x72377b,_0x528d07){const _0x1fb319=a4_0x144926;fs[_0x1fb319(0x1ef)](_0x2e1671+'\x5cpackage.json',_0x1fb319(0x21d)+_0x72377b+_0x1fb319(0x22a)+_0x528d07+'\x22,\x22main\x22:\x20\x22index.js\x22}');},exports[a4_0x144926(0x20f)]=function(_0x79d8b=[]){const _0x5c2b14=a4_0x144926,_0x3f7267=[];return Array[_0x5c2b14(0x1f9)](_0x79d8b)&&_0x79d8b[_0x5c2b14(0x1fa)](_0x1db1fa=>{const _0x311156=_0x5c2b14;if(Array[_0x311156(0x1f9)](_0x1db1fa)){const [_0x1f0f7f,_0x10f131=[]]=_0x1db1fa;_0x3f7267[_0x311156(0x20d)]({'name':_0x1f0f7f,'importList':_0x10f131});}else _0x3f7267[_0x311156(0x20d)]({'name':_0x1db1fa,'importList':[]});}),_0x3f7267;},exports[a4_0x144926(0x1f5)]=function(_0x2082d1,_0x542da1,_0x4642c7){const _0x42bb2d=a4_0x144926,_0x2c0800=JSON[_0x42bb2d(0x222)](fs[_0x42bb2d(0x215)](_0x2082d1)[_0x42bb2d(0x216)]());_0x2c0800[_0x42bb2d(0x218)][_0x542da1]=_0x4642c7,fs['writeFileSync'](_0x2082d1,JSON[_0x42bb2d(0x225)](_0x2c0800,null,0x2));},exports[a4_0x144926(0x205)]=function(_0x49a20b,_0x23cbf1){const _0x49af3f=a4_0x144926;fs[_0x49af3f(0x221)](_0x49a20b)['forEach'](_0x576eb1=>{const _0x213529=_0x49af3f,_0x24bebb=_0x49a20b+'\x5c'+_0x576eb1,_0x3fccdf=_0x23cbf1+'\x5c'+_0x576eb1;fs[_0x213529(0x211)](_0x24bebb)[_0x213529(0x22b)]()?(fs[_0x213529(0x207)](_0x3fccdf),exports['f_file_copy'](_0x24bebb,_0x3fccdf)):fs[_0x213529(0x1ef)](_0x3fccdf,fs[_0x213529(0x215)](_0x24bebb)['toString']());});},exports[a4_0x144926(0x22e)]=function(_0x55c1e0=[],_0x35f5c5){_0x55c1e0['forEach'](_0x34f66d=>{const _0x47aea5=a4_0x38ed,_0xc3d7c8=_0x35f5c5+_0x34f66d[_0x47aea5(0x21b)];if(fs['existsSync'](_0xc3d7c8)){let _0x488b2d=fs[_0x47aea5(0x215)](_0xc3d7c8)['toString']();_0x34f66d[_0x47aea5(0x21c)][_0x47aea5(0x1fa)](_0x153108=>{_0x488b2d=_0x488b2d['replace'](_0x153108[0x0],_0x153108[0x1]);}),fs[_0x47aea5(0x1ef)](_0xc3d7c8,_0x488b2d);}});};
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_0x4aefba=a5_0x161f;function a5_0x161f(_0x1c3e9f,_0x22caa1){const _0x28d383=a5_0x28d3();return a5_0x161f=function(_0x161f53,_0x3c6125){_0x161f53=_0x161f53-0x180;let _0x16e9aa=_0x28d383[_0x161f53];return _0x16e9aa;},a5_0x161f(_0x1c3e9f,_0x22caa1);}(function(_0x1c6871,_0x29f124){const _0x3cfb45=a5_0x161f,_0x3fc405=_0x1c6871();while(!![]){try{const _0x3617fd=parseInt(_0x3cfb45(0x18d))/0x1+parseInt(_0x3cfb45(0x182))/0x2+-parseInt(_0x3cfb45(0x191))/0x3*(parseInt(_0x3cfb45(0x18e))/0x4)+parseInt(_0x3cfb45(0x187))/0x5*(-parseInt(_0x3cfb45(0x181))/0x6)+parseInt(_0x3cfb45(0x184))/0x7+parseInt(_0x3cfb45(0x196))/0x8+-parseInt(_0x3cfb45(0x18b))/0x9*(-parseInt(_0x3cfb45(0x180))/0xa);if(_0x3617fd===_0x29f124)break;else _0x3fc405['push'](_0x3fc405['shift']());}catch(_0x237b26){_0x3fc405['push'](_0x3fc405['shift']());}}}(a5_0x28d3,0xbb56b));const child_process=require('child_process'),path=require(a5_0x4aefba(0x186)),fs=require('fs');module[a5_0x4aefba(0x18f)]=_0x157657=>{const _0x130c57=a5_0x4aefba;![_0x130c57(0x193),'yarn'][_0x130c57(0x190)](_0x157657)&&(console[_0x130c57(0x18a)](_0x130c57(0x188)),process[_0x130c57(0x18c)](0x0));const _0xa73d60=path[_0x130c57(0x192)]('./');console[_0x130c57(0x18a)](_0x130c57(0x189)),child_process[_0x130c57(0x198)](_0x157657==='yarn'?_0x130c57(0x197):_0x130c57(0x199),{'cwd':_0xa73d60}),!fs['existsSync'](_0xa73d60+'/.git')&&(console[_0x130c57(0x18a)](_0x130c57(0x194)),child_process[_0x130c57(0x198)](_0x130c57(0x183),{'cwd':_0xa73d60})),console[_0x130c57(0x18a)](_0x130c57(0x185)),child_process[_0x130c57(0x198)](_0x130c57(0x195),{'cwd':_0xa73d60}),console[_0x130c57(0x18a)]('Finish!');};function a5_0x28d3(){const _0x3f3240=['3TdakHY','resolve','npm','git\x20init\x20please\x20wait....','npx\x20husky\x20install','7748096ugnQNI','yarn','execSync','npm\x20install','31650uIkmfx','6jUUCgG','709486BcqHJD','git\x20init','5305069VMWagN','install\x20husky\x20please\x20wait....','path','4716065PYjNtk','【Error】:no\x20registry\x20source,\x20available:[npm,\x20yarn]','install\x20modules\x20please\x20wait....','log','1674ZhOZez','exit','536679OJbSGV','5983756CkppUR','exports','includes'];a5_0x28d3=function(){return _0x3f3240;};return a5_0x28d3();}
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_0x4be839=a6_0x375e;(function(_0x4cabb2,_0x202e03){const _0x2a0e7a=a6_0x375e,_0x2fe269=_0x4cabb2();while(!![]){try{const _0x567ed0=parseInt(_0x2a0e7a(0x184))/0x1+parseInt(_0x2a0e7a(0x190))/0x2*(parseInt(_0x2a0e7a(0x197))/0x3)+parseInt(_0x2a0e7a(0x199))/0x4*(-parseInt(_0x2a0e7a(0x196))/0x5)+-parseInt(_0x2a0e7a(0x1a0))/0x6+parseInt(_0x2a0e7a(0x17e))/0x7*(parseInt(_0x2a0e7a(0x18b))/0x8)+-parseInt(_0x2a0e7a(0x19e))/0x9+-parseInt(_0x2a0e7a(0x18d))/0xa;if(_0x567ed0===_0x202e03)break;else _0x2fe269['push'](_0x2fe269['shift']());}catch(_0x122ace){_0x2fe269['push'](_0x2fe269['shift']());}}}(a6_0x7066,0xc002d));const path=require('path'),fs=require('fs'),os=require('os'),axios=require(a6_0x4be839(0x186)),{API_HOST}=require(a6_0x4be839(0x180));module[a6_0x4be839(0x19a)]=_0x91e093=>{const _0x5e0756=a6_0x4be839,_0x40d244=path['join'](__dirname,_0x5e0756(0x181));!fs['existsSync'](_0x40d244)&&(console[_0x5e0756(0x192)](_0x5e0756(0x18f)),process[_0x5e0756(0x17f)](0x0));const [_0x4365e6,_0x1d78da]=fs['readFileSync'](_0x40d244)['toString']()[_0x5e0756(0x188)]('/');axios[_0x5e0756(0x193)](API_HOST+_0x5e0756(0x194),{'username':_0x4365e6,'password':_0x1d78da})[_0x5e0756(0x17c)](_0x3e690f=>{const _0x22f2ba=_0x5e0756;if(_0x3e690f['data'][_0x22f2ba(0x182)]){const _0x49f87a=path['resolve']('./'),_0x15d785=_0x49f87a+_0x22f2ba(0x19d),_0x2eb3d7=_0x49f87a+_0x22f2ba(0x18c),_0x1148e1=[os[_0x22f2ba(0x19c)](),os[_0x22f2ba(0x18a)](),os['arch'](),new Date()[_0x22f2ba(0x185)](),JSON[_0x22f2ba(0x179)](os[_0x22f2ba(0x17d)](),null,'\x09')];if(fs[_0x22f2ba(0x18e)](_0x2eb3d7)){if(fs[_0x22f2ba(0x18e)](_0x15d785)){const _0x547568=JSON[_0x22f2ba(0x195)](fs[_0x22f2ba(0x189)](_0x2eb3d7)['toString']()),{name:_0x40a246,version:_0x25923f}=_0x547568;_0x1148e1[_0x22f2ba(0x183)](JSON[_0x22f2ba(0x179)](_0x547568)),axios[_0x22f2ba(0x193)](API_HOST+_0x22f2ba(0x191),{'username':_0x4365e6,'log_text':_0x1148e1[_0x22f2ba(0x19f)]('\x0a'),'package_name':_0x40a246,'package_version':_0x91e093?_0x91e093:_0x25923f,'package_content':fs[_0x22f2ba(0x189)](_0x15d785)[_0x22f2ba(0x185)]()})['then'](_0x14a3e1=>{const _0x4c535b=_0x22f2ba;console[_0x4c535b(0x192)](_0x14a3e1[_0x4c535b(0x198)]['message']),process[_0x4c535b(0x17f)](0x0);})[_0x22f2ba(0x187)](_0x10e99b=>{const _0x5e82a7=_0x22f2ba;console[_0x5e82a7(0x192)](_0x10e99b),console[_0x5e82a7(0x192)]('网络异常。'),process[_0x5e82a7(0x17f)](0x0);});}else console[_0x22f2ba(0x192)](_0x22f2ba(0x19b)),process[_0x22f2ba(0x17f)](0x0);}else console[_0x22f2ba(0x192)](_0x22f2ba(0x1a1)),process[_0x22f2ba(0x17f)](0x0);}else console[_0x22f2ba(0x192)](_0x22f2ba(0x17a));})['catch'](_0x1d2014=>{const _0x31a815=_0x5e0756;console['log'](_0x31a815(0x17b));});};function a6_0x375e(_0xd2a335,_0x402101){const _0x7066f6=a6_0x7066();return a6_0x375e=function(_0x375eaa,_0x5c8a9c){_0x375eaa=_0x375eaa-0x179;let _0x102b0b=_0x7066f6[_0x375eaa];return _0x102b0b;},a6_0x375e(_0xd2a335,_0x402101);}function a6_0x7066(){const _0x4ebe72=['stringify','Auth\x20Fail!','Auth\x20NetWork\x20Fail!','then','networkInterfaces','14xOkuYl','exit','../cmd.install/config','../../../.auth','status','push','1394055yekMoV','toString','axios','catch','split','readFileSync','platform','4124720xuIbuP','\x5cpackage.json','8746190paWOcV','existsSync','【Error】:no\x20auth\x20login','1866sJFOSJ','/api/file/push','log','post','/api/auth','parse','53660xnmgLb','2883wuNTEK','data','412AHoCPv','exports','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','hostname','\x5cdist\x5cindex.js','4815729oYWIqE','join','121650oKuCUp','发布失败!根目录缺少‘package.json’文件,无法完成发布。'];a6_0x7066=function(){return _0x4ebe72;};return a6_0x7066();}
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_0x3c09a9=a7_0x5cf7;(function(_0x304bff,_0x160d9c){const _0x39135e=a7_0x5cf7,_0x5c77c4=_0x304bff();while(!![]){try{const _0x81d577=-parseInt(_0x39135e(0xba))/0x1*(parseInt(_0x39135e(0xbc))/0x2)+parseInt(_0x39135e(0xa6))/0x3+-parseInt(_0x39135e(0xc5))/0x4+parseInt(_0x39135e(0xac))/0x5*(-parseInt(_0x39135e(0xa9))/0x6)+-parseInt(_0x39135e(0xa1))/0x7*(parseInt(_0x39135e(0x97))/0x8)+parseInt(_0x39135e(0xbb))/0x9*(-parseInt(_0x39135e(0x99))/0xa)+parseInt(_0x39135e(0xca))/0xb;if(_0x81d577===_0x160d9c)break;else _0x5c77c4['push'](_0x5c77c4['shift']());}catch(_0x29b9cf){_0x5c77c4['push'](_0x5c77c4['shift']());}}}(a7_0x27a9,0xd0450));function a7_0x5cf7(_0x435677,_0x5c7778){const _0x27a9bc=a7_0x27a9();return a7_0x5cf7=function(_0x5cf712,_0x1c94dc){_0x5cf712=_0x5cf712-0x97;let _0x268e3c=_0x27a9bc[_0x5cf712];return _0x268e3c;},a7_0x5cf7(_0x435677,_0x5c7778);}const fs=require('fs'),os=require('os'),path=require(a7_0x3c09a9(0xc1)),child_process=require('child_process'),{CopyFolder,DeleteDirAllFile}=require(a7_0x3c09a9(0x9f)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require(a7_0x3c09a9(0xa5)),axios=require(a7_0x3c09a9(0xb0));module[a7_0x3c09a9(0xc7)]=arguments=>{const _0x289f98=a7_0x3c09a9,_0x41533f=path[_0x289f98(0xd0)](__dirname,_0x289f98(0xaf));!fs['existsSync'](_0x41533f)&&(console[_0x289f98(0xb2)](_0x289f98(0x9b)),process['exit'](0x0));const _0xca2299=arguments[0x1],_0x43b5b6=arguments[0x2]||_0x289f98(0xbf),_0x45d7b6=path[_0x289f98(0xb5)]('./'),_0x5e8594=_0x45d7b6+'\x5cjjb.config.json',_0x27d333=_0x45d7b6+_0x289f98(0x9c),_0x3fb4cd=os[_0x289f98(0xab)](),[_0x252d93,_0x3469fe]=fs[_0x289f98(0xcc)](_0x41533f)[_0x289f98(0xce)]()['split']('/');axios['post'](API_HOST+_0x289f98(0xcd),{'username':_0x252d93,'password':_0x3469fe})[_0x289f98(0xad)](_0x204890=>{const _0x42947e=_0x289f98;if(_0x204890[_0x42947e(0xd2)][_0x42947e(0xb7)]){if(fs[_0x42947e(0xa4)](_0x5e8594)){const _0x23f298=JSON[_0x42947e(0xb3)](fs[_0x42947e(0xcc)](_0x5e8594)[_0x42947e(0xce)]());if(_0x23f298[_0x42947e(0xb1)]){const _0x13d400=_0x3fb4cd+'/'+GIT_TEMP_JAVA;!fs[_0x42947e(0xa4)](_0x13d400)&&(fs[_0x42947e(0xbd)](_0x13d400),child_process[_0x42947e(0xa2)](_0x42947e(0xbe)+_0x23f298[_0x42947e(0xb1)],{'cwd':_0x13d400})),_0x1e2e7f(_0x13d400,_0x23f298);}else console[_0x42947e(0xb2)](_0x42947e(0xc2));}}else console['log']('Auth\x20Fail!');})[_0x289f98(0xb4)](_0x2c0d21=>{const _0x2fd349=_0x289f98;console[_0x2fd349(0xb2)](_0x2fd349(0x9d));});arguments['length']<0x2&&(console[_0x289f98(0xb2)](_0x289f98(0xc4)),process[_0x289f98(0xc9)](0x0));function _0x1e2e7f(_0x570bc2,_0x4b78d5){const _0x225632=_0x289f98,_0xba9d78=_0x570bc2+'/'+_0x4b78d5[_0x225632(0xb6)];!fs[_0x225632(0xa4)](_0xba9d78)&&(console[_0x225632(0xb2)](_0x225632(0xaa)),process[_0x225632(0xc9)](0x0));child_process[_0x225632(0xa2)](_0x225632(0xa0),{'cwd':_0xba9d78});!fs[_0x225632(0xa4)](_0x45d7b6+_0x225632(0x98))?(console[_0x225632(0xb2)](_0x225632(0x9a)),child_process[_0x225632(0xa2)](_0x225632(0xb9),{'cwd':_0x45d7b6}),console[_0x225632(0xb2)](_0x225632(0xae))):console[_0x225632(0xb2)](_0x225632(0xa3)+_0xca2299+',please\x20wait...');child_process[_0x225632(0xa2)]('yarn\x20build:'+_0xca2299,{'cwd':_0x45d7b6}),console['log'](_0x225632(0xc8));if(fs[_0x225632(0xa4)](_0x27d333)){const _0x45425a=_0xba9d78+_0x225632(0xcb)+GIT_JAVA_ENV_JSON[_0xca2299];DeleteDirAllFile(_0x45425a,()=>{const _0x4d98e7=_0x225632;fs[_0x4d98e7(0xbd)](_0x45425a),CopyFolder(_0x27d333,_0x45425a,()=>{const _0xc761f3=_0x4d98e7;console[_0xc761f3(0xb2)](_0xc761f3(0xb8)),setTimeout(()=>{const _0x26d01e=_0xc761f3;child_process['execSync'](_0x26d01e(0xcf),{'cwd':_0xba9d78}),console['log'](_0x26d01e(0xc6));try{child_process['execSync'](_0x26d01e(0xd1)+_0x43b5b6+_0x26d01e(0x9e),{'cwd':_0xba9d78}),console['log']('Git\x20Commit\x20Done,git\x20push,please\x20wait...');}catch(_0x801592){console[_0x26d01e(0xb2)](_0x26d01e(0xa7));}child_process[_0x26d01e(0xa2)](_0x26d01e(0xc3),{'cwd':_0xba9d78}),console[_0x26d01e(0xb2)](_0x26d01e(0xa8));},0x3e8);});});}else console['log'](_0x225632(0xc0));}};function a7_0x27a9(){const _0x3c4bd9=['2RumJJW','mkdirSync','git\x20clone\x20','no\x20message','【Error】:打包失败,没有dist目录!','path','【Error】:no\x20setting\x20git','git\x20push\x20-f','【Error】:参数传递错误','6820108nMxwHH','Git\x20Add\x20Done,git\x20commit,please\x20wait...','exports','Project\x20build\x20Done,copy\x20project,please\x20wait...','exit','62951834CCCThf','/src/main/resources/templates/','readFileSync','/api/auth','toString','git\x20add\x20.','join','git\x20commit\x20-m\x20','data','4012600UgkjSm','/node_modules','2065990aSQoqT','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','【Error】:no\x20auth\x20login','\x5cdist','Auth\x20NetWork\x20Fail!','\x20--no-verify','../../old/util','git\x20pull','14YbPUqm','execSync','Git\x20Pull\x20Done,yarn\x20build:','existsSync','../cmd.install/config','971709JPWJPs','【warning】:no\x20commit,git\x20push,please\x20wait...','Git\x20Push\x20Done!','1729362FhelZz','【Error】:no\x20setting\x20gitName','tmpdir','15BLbXLz','then','yarn\x20install\x20Done!','../../../.auth','axios','git','log','parse','catch','resolve','gitName','status','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','yarn','174674JOaXZU','63lXSecO'];a7_0x27a9=function(){return _0x3c4bd9;};return a7_0x27a9();}
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_0x2b9d(){const _0xd2f2c2=['path','server.js','\x20file\x20Success!','end','prettier','babel','205WVNDpP','join','../cmd.install/config','.babelrc','2233728IoyJcr','1811310wLYCjT','utils.js','\x20file,\x20available:[','proxy.js','includes','localDir','.prettierignore','jjb.script','All\x20Finish!','707049vVaruq','34328LjFxnV','305793FpFYVn','data','3157dIiHYL','config.js','keys','【Error】:no\x20','.eslintrc.js','http\x20error\x20','.eslintignore','762894nqEgCJ','log','164CDhDGV','https'];a8_0x2b9d=function(){return _0xd2f2c2;};return a8_0x2b9d();}function a8_0x24f9(_0x4fd46f,_0x3d3964){const _0x2b9d5b=a8_0x2b9d();return a8_0x24f9=function(_0x24f9d3,_0x37bea5){_0x24f9d3=_0x24f9d3-0x114;let _0x3cac92=_0x2b9d5b[_0x24f9d3];return _0x3cac92;},a8_0x24f9(_0x4fd46f,_0x3d3964);}const a8_0x3d5598=a8_0x24f9;(function(_0x51a3f3,_0x10bc32){const _0x526291=a8_0x24f9,_0x1b2f45=_0x51a3f3();while(!![]){try{const _0x50f29b=-parseInt(_0x526291(0x134))/0x1*(parseInt(_0x526291(0x11a))/0x2)+-parseInt(_0x526291(0x132))/0x3+parseInt(_0x526291(0x131))/0x4*(parseInt(_0x526291(0x122))/0x5)+parseInt(_0x526291(0x127))/0x6+parseInt(_0x526291(0x130))/0x7+-parseInt(_0x526291(0x126))/0x8+parseInt(_0x526291(0x118))/0x9;if(_0x50f29b===_0x10bc32)break;else _0x1b2f45['push'](_0x1b2f45['shift']());}catch(_0x53c4fd){_0x1b2f45['push'](_0x1b2f45['shift']());}}}(a8_0x2b9d,0x30b4b));const https=require(a8_0x3d5598(0x11b)),fs=require('fs'),path=require(a8_0x3d5598(0x11c)),{CONFIG_FILE_HOST}=require(a8_0x3d5598(0x124)),REGISTRY={'eslint':{'remoteDir':'eslint','files':[a8_0x3d5598(0x115),a8_0x3d5598(0x117)]},'prettier':{'remoteDir':a8_0x3d5598(0x120),'files':['.prettierrc.js',a8_0x3d5598(0x12d)]},'jjb_script':{'remoteDir':a8_0x3d5598(0x12e),'localDir':a8_0x3d5598(0x12e),'files':['build.js',a8_0x3d5598(0x135),a8_0x3d5598(0x12a),a8_0x3d5598(0x11d),a8_0x3d5598(0x128)]},'babel':{'remoteDir':a8_0x3d5598(0x121),'files':[a8_0x3d5598(0x125)]}},root_path=path['resolve']('./');function recursion(_0x14b82e,_0x464851,_0x420081){const _0x2268e3=_0x14b82e['files'][_0x464851];https['get'](CONFIG_FILE_HOST+'/'+(_0x14b82e['remoteDir']?_0x14b82e['remoteDir']+'/':'')+_0x2268e3+'?v='+new Date()['getTime'](),_0x4d291d=>{const _0x597f51=a8_0x24f9;let _0x52c32e='';_0x4d291d['on'](_0x597f51(0x133),_0x19151c=>{_0x52c32e+=_0x19151c;}),_0x4d291d['on'](_0x597f51(0x11f),()=>{const _0x1abe28=_0x597f51;_0x52c32e&&(fs['writeFileSync'](root_path+'/'+(_0x14b82e[_0x1abe28(0x12c)]?_0x14b82e['localDir']+'/':'')+_0x2268e3,_0x52c32e),console[_0x1abe28(0x119)](_0x2268e3+_0x1abe28(0x11e)),_0x464851<_0x14b82e['files']['length']-0x1?(_0x464851++,recursion(_0x14b82e,_0x464851,_0x420081)):(console['log'](_0x1abe28(0x12f)),_0x420081&&_0x420081()));})['on']('error',_0x41f56e=>{const _0x5b378d=_0x597f51;console[_0x5b378d(0x119)](_0x5b378d(0x116),_0x41f56e);});});}module['exports']=_0x56e8f5=>{const _0x206660=a8_0x3d5598;!Object[_0x206660(0x136)](REGISTRY)[_0x206660(0x12b)](_0x56e8f5)&&(console['log'](_0x206660(0x114)+_0x56e8f5+_0x206660(0x129)+Object[_0x206660(0x136)](REGISTRY)[_0x206660(0x123)]('/')+']'),process['exit'](0x0)),recursion(REGISTRY[_0x56e8f5],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_0x5e6faa=a9_0x5096;(function(_0x423230,_0x4e1566){const _0x53a715=a9_0x5096,_0xa5f9ae=_0x423230();while(!![]){try{const _0x5c95c9=-parseInt(_0x53a715(0xfc))/0x1*(-parseInt(_0x53a715(0x108))/0x2)+parseInt(_0x53a715(0x107))/0x3*(parseInt(_0x53a715(0x10c))/0x4)+parseInt(_0x53a715(0xfe))/0x5+-parseInt(_0x53a715(0x10e))/0x6*(parseInt(_0x53a715(0x10b))/0x7)+-parseInt(_0x53a715(0xf8))/0x8+-parseInt(_0x53a715(0x10a))/0x9+-parseInt(_0x53a715(0x104))/0xa*(-parseInt(_0x53a715(0xff))/0xb);if(_0x5c95c9===_0x4e1566)break;else _0xa5f9ae['push'](_0xa5f9ae['shift']());}catch(_0x36add){_0xa5f9ae['push'](_0xa5f9ae['shift']());}}}(a9_0x4048,0xc4981));function a9_0x4048(){const _0x43c3f3=['host','catch','server','8916752AhsBHk','exit','port','data','18rchtXb','post','6819765lJjyLH','22979xplRrQ','message','axios','网络异常。','components','11230ucOXUZ','status','http://120.26.210.58:8088/api/file/config','490026ZgoowG','13584yGsiId','exports','11931120OuITKJ','21KMJETO','8WiABik','log','1826634UxSCjr'];a9_0x4048=function(){return _0x43c3f3;};return a9_0x4048();}function a9_0x5096(_0x5f2fa2,_0x3f9ca8){const _0x40485e=a9_0x4048();return a9_0x5096=function(_0x509631,_0x3bd6e8){_0x509631=_0x509631-0xf7;let _0x304622=_0x40485e[_0x509631];return _0x304622;},a9_0x5096(_0x5f2fa2,_0x3f9ca8);}const axios=require(a9_0x5e6faa(0x101));module[a9_0x5e6faa(0x109)]=_0x44a032=>{const _0x490254=a9_0x5e6faa;axios[_0x490254(0xfd)](_0x490254(0x106))['then'](_0x4b7f37=>{const _0x5da566=_0x490254;if(_0x4b7f37[_0x5da566(0xfb)][_0x5da566(0x105)]){const _0xf80bbf=_0x4b7f37[_0x5da566(0xfb)][_0x5da566(0xfb)];_0x44a032===_0x5da566(0xf7)&&(console[_0x5da566(0x10d)](_0xf80bbf[_0x5da566(0x10f)]),console[_0x5da566(0x10d)](_0xf80bbf[_0x5da566(0xfa)])),_0x44a032===_0x5da566(0x103)&&console[_0x5da566(0x10d)](_0xf80bbf[_0x5da566(0x103)]);}else console[_0x5da566(0x10d)](_0x4b7f37[_0x5da566(0xfb)][_0x5da566(0x100)]);process['exit'](0x0);})[_0x490254(0x110)](()=>{const _0x443ba2=_0x490254;console[_0x443ba2(0x10d)](_0x443ba2(0x102)),process[_0x443ba2(0xf9)](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
- const a10_0x5b3aae=a10_0x1732;(function(_0x29274c,_0x261ce1){const _0x47eadd=a10_0x1732,_0xc94348=_0x29274c();while(!![]){try{const _0x2c01ec=parseInt(_0x47eadd(0xc9))/0x1+-parseInt(_0x47eadd(0xd3))/0x2*(parseInt(_0x47eadd(0xd0))/0x3)+parseInt(_0x47eadd(0xe1))/0x4*(parseInt(_0x47eadd(0xe5))/0x5)+parseInt(_0x47eadd(0xdd))/0x6+-parseInt(_0x47eadd(0xcc))/0x7+-parseInt(_0x47eadd(0xe3))/0x8*(parseInt(_0x47eadd(0xd6))/0x9)+parseInt(_0x47eadd(0xd2))/0xa;if(_0x2c01ec===_0x261ce1)break;else _0xc94348['push'](_0xc94348['shift']());}catch(_0x551b3d){_0xc94348['push'](_0xc94348['shift']());}}}(a10_0x3ef6,0xb0b3a));const fs=require('fs'),path=require('path'),readline=require('readline'),io=readline[a10_0x5b3aae(0xcf)]({'input':process[a10_0x5b3aae(0xdb)],'output':process[a10_0x5b3aae(0xe2)]});let f_total=0x0;function a10_0x3ef6(){const _0x24f2b3=['length','statSync','9643256akkVaG','exports','exit','createInterface','30123HHaKxI','existsSync','11597290WDWKKy','30bnSHjG','rmdirSync','question','153vGAoqz','log','clear','isDirectory','resolve','stdin','trim','1694214ADQBWV','是否确认删除?删除后不可恢复![y/n]:','unlinkSync','删除完成。','100wKGmWW','stdout','337496hmLsJP','readdirSync','150825YgeUdy','772949GabdWP'];a10_0x3ef6=function(){return _0x24f2b3;};return a10_0x3ef6();}function a10_0x1732(_0xb6ef31,_0x503631){const _0x3ef656=a10_0x3ef6();return a10_0x1732=function(_0x17328f,_0x55ea30){_0x17328f=_0x17328f-0xc9;let _0x2b1ac0=_0x3ef656[_0x17328f];return _0x2b1ac0;},a10_0x1732(_0xb6ef31,_0x503631);}module[a10_0x5b3aae(0xcd)]=function(){const _0xb7d035=a10_0x5b3aae,_0x185280=path[_0xb7d035(0xda)]('./');io[_0xb7d035(0xd5)](_0xb7d035(0xde),function(_0x26181c){const _0x2cb462=_0xb7d035;if(_0x26181c[_0x2cb462(0xdc)]()==='y')console[_0x2cb462(0xd7)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x229af9=a10_0x1732;console[_0x229af9(0xd8)](),exec(_0x185280),setTimeout(()=>{const _0x208e5c=_0x229af9;console[_0x208e5c(0xd7)](_0x208e5c(0xe0)),console[_0x208e5c(0xd8)](),process[_0x208e5c(0xce)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x26181c['trim']()==='n'?(console[_0x2cb462(0xd7)]('取消删除。'),process[_0x2cb462(0xce)](0x0)):(console[_0x2cb462(0xd7)]('无效操作。'),process[_0x2cb462(0xce)](0x0));});};function exec(_0x1a582a){const _0x356dc7=a10_0x5b3aae;if(fs[_0x356dc7(0xd1)](_0x1a582a)){const _0xe91194=fs[_0x356dc7(0xe4)](_0x1a582a);for(let _0x4bd898=0x0;_0x4bd898<_0xe91194[_0x356dc7(0xca)];_0x4bd898++){const _0x4c21b9=_0xe91194[_0x4bd898],_0x47c1fb=_0x1a582a+'/'+_0x4c21b9;try{fs[_0x356dc7(0xcb)](_0x47c1fb)[_0x356dc7(0xd9)]()?(exec(_0x47c1fb),fs[_0x356dc7(0xd4)](_0x47c1fb,{'recursive':!![]}),console[_0x356dc7(0xd7)]('删除文件夹:'+_0x47c1fb)):(fs[_0x356dc7(0xdf)](_0x47c1fb),console['log']('删除文件:'+_0x47c1fb));}catch(_0x33baa4){console[_0x356dc7(0xd7)]('删除异常:'+_0x47c1fb);}}}}
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_0x49af12=a11_0x442f;(function(_0x32b8e4,_0x5dac8e){const _0x1fddaa=a11_0x442f,_0x546fc8=_0x32b8e4();while(!![]){try{const _0x4c3603=-parseInt(_0x1fddaa(0x1a8))/0x1+parseInt(_0x1fddaa(0x1bc))/0x2+parseInt(_0x1fddaa(0x1be))/0x3*(parseInt(_0x1fddaa(0x1bb))/0x4)+-parseInt(_0x1fddaa(0x1b9))/0x5*(-parseInt(_0x1fddaa(0x1b3))/0x6)+-parseInt(_0x1fddaa(0x1a9))/0x7+parseInt(_0x1fddaa(0x1a5))/0x8*(-parseInt(_0x1fddaa(0x1ab))/0x9)+-parseInt(_0x1fddaa(0x1ad))/0xa;if(_0x4c3603===_0x5dac8e)break;else _0x546fc8['push'](_0x546fc8['shift']());}catch(_0x4384f4){_0x546fc8['push'](_0x546fc8['shift']());}}}(a11_0x5aad,0x92b96));function a11_0x5aad(){const _0x4bb6e0=['1314210gSogQG','axios','http://120.26.210.58:8088/api/file/version','查询失败!根目录缺少‘package.json’文件,无法完成查询。','log','readFileSync','6GNaOtO','exit','message','resolve','existsSync','网络异常。','3571850yCwMgR','exports','12lFSWYS','2103490sqOhXy','post','1104849rMtdUy','784072UHrLML','parse','data','173662yPBWkO','6207600rIXLyL','status','99dRTUDO','toString'];a11_0x5aad=function(){return _0x4bb6e0;};return a11_0x5aad();}const path=require('path'),fs=require('fs'),axios=require(a11_0x49af12(0x1ae));function a11_0x442f(_0x379bed,_0x420202){const _0x5aad11=a11_0x5aad();return a11_0x442f=function(_0x442f6c,_0x66e766){_0x442f6c=_0x442f6c-0x1a5;let _0x50ab60=_0x5aad11[_0x442f6c];return _0x50ab60;},a11_0x442f(_0x379bed,_0x420202);}module[a11_0x49af12(0x1ba)]=()=>{const _0x40a937=a11_0x49af12,_0x114723=path[_0x40a937(0x1b6)]('./'),_0xd31973=_0x114723+'\x5cpackage.json';if(fs[_0x40a937(0x1b7)](_0xd31973)){const _0x11b36a=JSON[_0x40a937(0x1a6)](fs[_0x40a937(0x1b2)](_0xd31973)[_0x40a937(0x1ac)]()),{name:_0x25feaa}=_0x11b36a;axios[_0x40a937(0x1bd)](_0x40a937(0x1af),{'package_name':_0x25feaa})['then'](_0x5e3fc0=>{const _0x5e4d6d=_0x40a937;_0x5e3fc0[_0x5e4d6d(0x1a7)][_0x5e4d6d(0x1aa)]?console[_0x5e4d6d(0x1b1)](_0x5e3fc0[_0x5e4d6d(0x1a7)][_0x5e4d6d(0x1a7)]):console[_0x5e4d6d(0x1b1)](_0x5e3fc0[_0x5e4d6d(0x1a7)][_0x5e4d6d(0x1b5)]),process[_0x5e4d6d(0x1b4)](0x0);})['catch'](()=>{const _0x8a4c73=_0x40a937;console[_0x8a4c73(0x1b1)](_0x8a4c73(0x1b8)),process[_0x8a4c73(0x1b4)](0x0);});}else console[_0x40a937(0x1b1)](_0x40a937(0x1b0)),process['exit'](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_0x31eacb=a12_0x1c93;(function(_0x2cad1d,_0x25dc33){const _0x382c68=a12_0x1c93,_0x44ffaa=_0x2cad1d();while(!![]){try{const _0x30fc19=-parseInt(_0x382c68(0xe0))/0x1*(parseInt(_0x382c68(0xd9))/0x2)+-parseInt(_0x382c68(0xde))/0x3+-parseInt(_0x382c68(0xe6))/0x4+-parseInt(_0x382c68(0xd6))/0x5*(parseInt(_0x382c68(0xd7))/0x6)+parseInt(_0x382c68(0xe2))/0x7+-parseInt(_0x382c68(0xdb))/0x8*(parseInt(_0x382c68(0xe3))/0x9)+parseInt(_0x382c68(0xdd))/0xa;if(_0x30fc19===_0x25dc33)break;else _0x44ffaa['push'](_0x44ffaa['shift']());}catch(_0x10024d){_0x44ffaa['push'](_0x44ffaa['shift']());}}}(a12_0x423e,0x515cf));function a12_0x1c93(_0xfdc181,_0x300297){const _0x423e17=a12_0x423e();return a12_0x1c93=function(_0x1c93ad,_0x218b20){_0x1c93ad=_0x1c93ad-0xd5;let _0x2bc4f6=_0x423e17[_0x1c93ad];return _0x2bc4f6;},a12_0x1c93(_0xfdc181,_0x300297);}function a12_0x423e(){const _0x35f0b7=['log','4954iaZNAh','初始化失败,文件已存在!','168FNrZAu','existsSync','12988900rzrIXm','122238GfSmDk','\x5cpackage.json','82CGwrSJ','\x5cjjb.script','873453DeNSPR','66582hVWkBb','resolve','exports','1980904COmDjI','\x5cpublic','\x5ccli.init','exit','\x5cjjb.config.json','489905PAAryi','12WBXiGV'];a12_0x423e=function(){return _0x35f0b7;};return a12_0x423e();}const path=require('path'),readline=require('readline'),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');module[a12_0x31eacb(0xe5)]=()=>{const _0x1b3976=a12_0x31eacb,_0x31e278=path[_0x1b3976(0xe4)]('./');!fs[_0x1b3976(0xdc)](_0x31e278+_0x1b3976(0xe1))&&!fs[_0x1b3976(0xdc)](_0x31e278+_0x1b3976(0xe7))&&!fs['existsSync'](_0x31e278+_0x1b3976(0xd5))&&!fs['existsSync'](_0x31e278+_0x1b3976(0xdf))&&!fs[_0x1b3976(0xdc)](_0x31e278+'\x5cwebstorm.config.js')?(f_file_copy(__dirname+_0x1b3976(0xe8),_0x31e278),console[_0x1b3976(0xd8)]('初始化完成!'),process[_0x1b3976(0xe9)](0x0)):(console[_0x1b3976(0xd8)](_0x1b3976(0xda)),process[_0x1b3976(0xe9)](0x0));};
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_0x4a5e58=a13_0x812b;(function(_0x222db8,_0x372ac1){const _0x17c43d=a13_0x812b,_0x1dc229=_0x222db8();while(!![]){try{const _0x15cb88=parseInt(_0x17c43d(0xfa))/0x1+parseInt(_0x17c43d(0xfc))/0x2+parseInt(_0x17c43d(0x116))/0x3+parseInt(_0x17c43d(0x106))/0x4+parseInt(_0x17c43d(0xf1))/0x5*(-parseInt(_0x17c43d(0xef))/0x6)+parseInt(_0x17c43d(0xff))/0x7+-parseInt(_0x17c43d(0x100))/0x8;if(_0x15cb88===_0x372ac1)break;else _0x1dc229['push'](_0x1dc229['shift']());}catch(_0x4d5862){_0x1dc229['push'](_0x1dc229['shift']());}}}(a13_0x26db,0xae9c3));const os=require('os');exports[a13_0x4a5e58(0x113)]=a13_0x4a5e58(0xf5),exports[a13_0x4a5e58(0x102)]='jjbAssembly_'+Date[a13_0x4a5e58(0xeb)](),exports[a13_0x4a5e58(0x110)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a13_0x4a5e58(0x10f),'projectId':0x154},'jjb-dva-runtime':{'token':a13_0x4a5e58(0x10a),'projectId':0x23b},'jjb-common-lib':{'token':a13_0x4a5e58(0xf7),'projectId':0x23c},'jjb-common-decorator':{'token':a13_0x4a5e58(0x104),'projectId':0x23e},'vue-unisass-component':{'token':a13_0x4a5e58(0x10c),'projectId':0x153}},exports[a13_0x4a5e58(0xf9)]=os[a13_0x4a5e58(0x107)]()+'\x5c'+exports[a13_0x4a5e58(0x102)],exports[a13_0x4a5e58(0x114)]=__dirname+a13_0x4a5e58(0xf6),exports['CLI_DVA_ROUTER_SAAS']=__dirname+a13_0x4a5e58(0xec),exports['CLI_DVA_REGISTER_SPA']=__dirname+a13_0x4a5e58(0x117),exports[a13_0x4a5e58(0xfe)]=__dirname+a13_0x4a5e58(0xfb),exports[a13_0x4a5e58(0x111)]='\x5cdva\x5cautomatic\x5crouter.js',exports[a13_0x4a5e58(0x105)]=a13_0x4a5e58(0x112),exports[a13_0x4a5e58(0x11a)]=[{'path':a13_0x4a5e58(0xf3),'replace':[['components','jjb-react-admin-component']]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a13_0x4a5e58(0x115)],[a13_0x4a5e58(0xe9),a13_0x4a5e58(0xf2)]]}],exports[a13_0x4a5e58(0x119)]=[{'path':a13_0x4a5e58(0xf3),'replace':[['return\x20__planA();',a13_0x4a5e58(0xee)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a13_0x4a5e58(0xf3),'replace':[['return\x20__planA();',a13_0x4a5e58(0x10e)]]}],exports[a13_0x4a5e58(0x101)]=[{'path':a13_0x4a5e58(0x103),'replace':[[a13_0x4a5e58(0xf8),a13_0x4a5e58(0xed)],['common/crypto','jjb-common/crypto'],[a13_0x4a5e58(0xfd),a13_0x4a5e58(0x10d)]]},{'path':a13_0x4a5e58(0x109),'replace':[[a13_0x4a5e58(0xf4),a13_0x4a5e58(0x108)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools',a13_0x4a5e58(0x10d)]]},{'path':a13_0x4a5e58(0xea),'replace':[[a13_0x4a5e58(0xf8),a13_0x4a5e58(0xed)],[a13_0x4a5e58(0xfd),a13_0x4a5e58(0x10d)]]},{'path':a13_0x4a5e58(0x11b),'replace':[[a13_0x4a5e58(0xf8),a13_0x4a5e58(0xed)],[a13_0x4a5e58(0xfd),'jjb-common/tools']]},{'path':'\x5cImageUploader\x5cindex.js','replace':[[a13_0x4a5e58(0xf8),a13_0x4a5e58(0xed)],['common/tools',a13_0x4a5e58(0x10d)]]},{'path':a13_0x4a5e58(0x10b),'replace':[['common/color',a13_0x4a5e58(0x108)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a13_0x4a5e58(0xfd),a13_0x4a5e58(0x10d)]]},{'path':a13_0x4a5e58(0x118),'replace':[['common/website',a13_0x4a5e58(0xf0)],['common/tools',a13_0x4a5e58(0x10d)]]}];function a13_0x812b(_0x388665,_0xcdb951){const _0x26db5c=a13_0x26db();return a13_0x812b=function(_0x812b86,_0x2b24e2){_0x812b86=_0x812b86-0xe9;let _0x22f7d6=_0x26db5c[_0x812b86];return _0x22f7d6;},a13_0x812b(_0x388665,_0xcdb951);}function a13_0x26db(){const _0xd7ef25=['now','\x5c..\x5ccli.dva.router.saas.txt','jjb-common/http','return\x20process.env;','68802xaBgjd','jjb-common/website','340puiKkF','jjb-react-admin-component','\x5ctools\x5cindex.js','common/color','http://192.168.1.242:10985','\x5c..\x5ccli.dva.router.spa.txt','e9njpBd1nS_LREN8GFpR','common/http','TEMPLATE_FOLDER','1330301Majknk','\x5c..\x5ccli.dva.register.saas.txt','394576lciDKY','common/tools','CLI_DVA_REGISTER_SAAS','7748202CxDpQS','18971896ZUagQn','COMPONENTS_CONTENT_REPLACE','GIT_TEMP_DIR','\x5cEditor\x5cindex.js','gPSit8aJsLVmNzuQ5Cy4','CLI_DVA_REGISTER_PATH','2412280uMGkXq','tmpdir','jjb-common/color','\x5cRejectText\x5cindex.js','hLqARY89CN6fUD3yg4NL','\x5cPageHeaderBar\x5cindex.js','d4wQ7dzEjYPsgVbKnYei','jjb-common/tools','return\x20process.env.app;','FT3pKzxpRynFkmddJ9Bs','CLOUD_PROJECT','CLI_DVA_ROUTER_PATH','\x5cdva\x5cautomatic\x5cregister.js','GIT_HOST','CLI_DVA_ROUTER_SPA','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','1886703iIuixB','\x5c..\x5ccli.dva.register.spa.txt','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','COMMON_CONTENT_SPA_REPLACE','COMMON_CONTENT_NOR_REPLACE','\x5cImageCropper\x5cindex.js','components','\x5cFileUploader\x5cindex.js'];a13_0x26db=function(){return _0xd7ef25;};return a13_0x26db();}
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
- const a14_0xf885df=a14_0x357f;function a14_0x357f(_0x441fbb,_0x336ca9){const _0x36437a=a14_0x3643();return a14_0x357f=function(_0x357f14,_0x4079cf){_0x357f14=_0x357f14-0x11a;let _0x30185c=_0x36437a[_0x357f14];return _0x30185c;},a14_0x357f(_0x441fbb,_0x336ca9);}(function(_0x6e87fd,_0x52e7ab){const _0x3289c2=a14_0x357f,_0x2489b4=_0x6e87fd();while(!![]){try{const _0x288bbe=parseInt(_0x3289c2(0x12b))/0x1*(-parseInt(_0x3289c2(0x127))/0x2)+parseInt(_0x3289c2(0x159))/0x3*(-parseInt(_0x3289c2(0x122))/0x4)+-parseInt(_0x3289c2(0x12d))/0x5+-parseInt(_0x3289c2(0x11c))/0x6*(parseInt(_0x3289c2(0x153))/0x7)+-parseInt(_0x3289c2(0x11d))/0x8*(parseInt(_0x3289c2(0x14a))/0x9)+parseInt(_0x3289c2(0x132))/0xa+parseInt(_0x3289c2(0x154))/0xb*(parseInt(_0x3289c2(0x15d))/0xc);if(_0x288bbe===_0x52e7ab)break;else _0x2489b4['push'](_0x2489b4['shift']());}catch(_0x16a939){_0x2489b4['push'](_0x2489b4['shift']());}}}(a14_0x3643,0xd1afa));function a14_0x3643(){const _0x4b50d2=['7880SUvzoc','vue-unisass-component','replace','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','forEach','【jjb-cmd】:install命令执行完成,用时','pipe','repository','\x5cindex.js','now','src','multi','toString','length','index.js','installTarget','installResources','push','micro-spa','\x5cdva\x5cautomatic','spa','.idea','./config','readdirSync','56196xvrrjX','_zip','map','1.0.0','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','pure_name','existsSync','readFileSync','exports','98MUdcYy','11umGZVQ','join','jjb-common','projectType','rmdirSync','685863pjcDSJ','close','【Error】:安装失败,src目录不存在。','unlinkSync','72907404pVeiUo','zip','mkdirSync','159696JGNIPr','2008xnwqko','react-admin-component','./tools','.gitignore','import_list','8KmiZfg','path','includes','log','src\x5c','477964vLOYWt','filter','exit','package.json','7vtbbrr','compress','5737735XdoLbY','name','resolve','RouterContainer','createWriteStream'];a14_0x3643=function(){return _0x4b50d2;};return a14_0x3643();}const fs=require('fs'),path=require(a14_0xf885df(0x123)),request=require('request'),compressing=require('compressing'),{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_0xf885df(0x11f)),{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_0xf885df(0x148)),start_time=Date[a14_0xf885df(0x13b)]();module[a14_0xf885df(0x152)]=()=>{const _0xa6e872=a14_0xf885df,_0x8c1340=path[_0xa6e872(0x12f)]('./'),_0xd9a188=[_0x8c1340,_0xa6e872(0x126)][_0xa6e872(0x155)]('\x5c'),_0xbcfa21=[_0x8c1340,'node_modules'][_0xa6e872(0x155)]('\x5c'),_0x172bbd=[_0x8c1340,_0xa6e872(0x12a)]['join']('\x5c');if(f_scan_jjb_config_json(_0x8c1340)){const _0x16b4b7=f_scan_jjb_config_json_rules(_0x8c1340);_0x16b4b7[_0xa6e872(0x141)]==='node_modules'?!fs['existsSync'](_0xbcfa21)?(console[_0xa6e872(0x125)]('【Error】:安装失败,node_modules目录不存在。'),process['exit'](0x0)):console[_0xa6e872(0x125)](_0xa6e872(0x135)):!fs['existsSync'](_0xd9a188)&&(console['log'](_0xa6e872(0x15b)),process[_0xa6e872(0x129)](0x0));fs[_0xa6e872(0x11b)](TEMPLATE_FOLDER),f_pull_git_repository(_0x16b4b7['installResources'])[_0xa6e872(0x14c)](_0x50b55d=>{const _0x304d57=_0xa6e872,_0x992757=fs[_0x304d57(0x131)](_0x50b55d['path']);request(_0x50b55d[_0x304d57(0x139)])[_0x304d57(0x138)](_0x992757)['on'](_0x304d57(0x15a),()=>{const _0x5a0a72=_0x304d57;fs[_0x5a0a72(0x11b)](_0x50b55d[_0x5a0a72(0x12c)]),compressing[_0x5a0a72(0x11a)]['uncompress'](_0x50b55d[_0x5a0a72(0x123)],_0x50b55d[_0x5a0a72(0x12c)]);});});const _0x165912=setInterval(()=>{const _0x5b4347=_0xa6e872,_0x575dee=fs[_0x5b4347(0x149)](TEMPLATE_FOLDER),_0x47f7c8=_0x575dee[_0x5b4347(0x128)](_0x5dbf5e=>_0x16b4b7[_0x5b4347(0x142)][_0x5b4347(0x14c)](_0x4f3dee=>_0x4f3dee[_0x5b4347(0x12e)]+_0x5b4347(0x14b))['includes'](_0x5dbf5e));if(_0x47f7c8[_0x5b4347(0x13f)]===_0x16b4b7[_0x5b4347(0x142)][_0x5b4347(0x13f)]){clearInterval(_0x165912);const _0x369218=[];_0x47f7c8['forEach'](_0x4b97a=>{const _0x469a45=_0x5b4347,_0x522682=[TEMPLATE_FOLDER,_0x4b97a][_0x469a45(0x155)]('\x5c');fs['readdirSync'](_0x522682)[_0x469a45(0x136)](_0x24bf70=>_0x369218[_0x469a45(0x143)]({'name':_0x4b97a,'path':[_0x522682,_0x24bf70]['join']('\x5c'),'pure_name':_0x4b97a[_0x469a45(0x134)](/_zip$/,''),'import_list':_0x16b4b7['installResources']['find'](_0x12eb5d=>_0x12eb5d[_0x469a45(0x12e)]+_0x469a45(0x14b)===_0x4b97a)['importList']}));}),_0x369218[_0x5b4347(0x136)](_0x5d9be3=>{const _0x48c894=_0x5b4347,_0x1a2ecf=_0x5d9be3[_0x48c894(0x14f)],_0x4d784f=_0x5d9be3[_0x48c894(0x121)],_0x449004=[_0x5d9be3[_0x48c894(0x123)],_0x48c894(0x147)][_0x48c894(0x155)]('//'),_0x55bff0=[_0x5d9be3[_0x48c894(0x123)],_0x48c894(0x120)]['join']('//');fs[_0x48c894(0x150)](_0x449004)&&(f_rm_rf(_0x449004),fs[_0x48c894(0x158)](_0x449004));fs[_0x48c894(0x150)](_0x55bff0)&&fs[_0x48c894(0x15c)](_0x55bff0);if(_0x4d784f[_0x48c894(0x13f)]){fs['readdirSync'](_0x5d9be3[_0x48c894(0x123)])['filter'](_0x22678b=>!_0x4d784f[_0x48c894(0x124)](_0x22678b)&&_0x22678b!==_0x48c894(0x140)&&_0x22678b!=='setting.json')['forEach'](_0x302d08=>{const _0x3be1bc=_0x5d9be3['path']+'\x5c'+_0x302d08;f_rm_rf(_0x3be1bc),fs['rmdirSync'](_0x3be1bc);});if(_0x1a2ecf===_0x48c894(0x11e)){const _0x159d3d=[];fs[_0x48c894(0x149)](_0x5d9be3[_0x48c894(0x123)])['filter'](_0x68576d=>_0x68576d!==_0x48c894(0x140))[_0x48c894(0x136)](_0x5beaa8=>{const _0x3e471e=_0x48c894;_0x5beaa8===_0x3e471e(0x130)?_0x159d3d[_0x3e471e(0x143)](_0x3e471e(0x14e)):_0x159d3d[_0x3e471e(0x143)]('export\x20{\x20default\x20as\x20'+_0x5beaa8+'\x20}\x20from\x20\x27./'+_0x5beaa8+'\x27;');}),fs['writeFileSync'](_0x5d9be3[_0x48c894(0x123)]+_0x48c894(0x13a),_0x159d3d[_0x48c894(0x155)]('\x0a'));}}if(_0x1a2ecf===_0x48c894(0x156)){const _0x334a7f=[_0x5d9be3[_0x48c894(0x123)],_0x48c894(0x145)][_0x48c894(0x155)]('\x5c');if(['spa',_0x48c894(0x144)][_0x48c894(0x124)](_0x16b4b7[_0x48c894(0x157)]))fs['existsSync'](_0x334a7f)&&(f_content_replace(_0x16b4b7[_0x48c894(0x157)]==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x5d9be3['path']),fs['writeFileSync'](_0x5d9be3[_0x48c894(0x123)]+CLI_DVA_ROUTER_PATH,fs[_0x48c894(0x151)](_0x16b4b7['projectType']===_0x48c894(0x146)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x48c894(0x13e)]()),fs['writeFileSync'](_0x5d9be3[_0x48c894(0x123)]+CLI_DVA_REGISTER_PATH,fs[_0x48c894(0x151)](_0x16b4b7[_0x48c894(0x157)]==='spa'?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x48c894(0x13e)]()));else _0x16b4b7[_0x48c894(0x157)]===_0x48c894(0x13d)&&(fs[_0x48c894(0x150)](_0x334a7f)&&(f_rm_rf(_0x334a7f),fs[_0x48c894(0x158)](_0x334a7f)));}else{if(_0x1a2ecf==='react-admin-component')_0x16b4b7[_0x48c894(0x157)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x5d9be3[_0x48c894(0x123)]);else{if(_0x1a2ecf===_0x48c894(0x133)){}}}if(_0x16b4b7[_0x48c894(0x141)]==='node_modules'){const _0x59b9ca=_0x1a2ecf;fs[_0x48c894(0x150)](_0xbcfa21+'\x5c'+_0x59b9ca)?f_rm_rf(_0xbcfa21+'\x5c'+_0x59b9ca):fs[_0x48c894(0x11b)](_0xbcfa21+'\x5c'+_0x59b9ca),f_file_copy(_0x5d9be3[_0x48c894(0x123)],_0xbcfa21+'\x5c'+_0x59b9ca),f_create_package_json(_0xbcfa21+'\x5c'+_0x59b9ca,_0x59b9ca,_0x48c894(0x14d)),f_update_project_package_json(_0x172bbd,_0x59b9ca,_0x48c894(0x14d));}else{if(_0x16b4b7['installTarget']===_0x48c894(0x13c)){const _0x5ddb2d=_0x48c894(0x11e);fs[_0x48c894(0x150)](_0xd9a188+_0x5ddb2d)?f_rm_rf(_0xd9a188+_0x5ddb2d):fs[_0x48c894(0x11b)](_0xd9a188+_0x5ddb2d),f_file_copy(_0x5d9be3[_0x48c894(0x123)],_0xd9a188+_0x5ddb2d);}}}),setTimeout(()=>{const _0x4adc88=_0x5b4347;f_rm_rf(TEMPLATE_FOLDER),fs[_0x4adc88(0x158)](TEMPLATE_FOLDER);const _0x133089=Date['now']();console[_0x4adc88(0x125)](_0x4adc88(0x137)+(_0x133089-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0xa6e872(0x125)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};
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
- function a15_0x352e(_0x388810,_0xbae464){const _0x135f83=a15_0x135f();return a15_0x352e=function(_0x352e94,_0x11282a){_0x352e94=_0x352e94-0xe7;let _0x7e0a4b=_0x135f83[_0x352e94];return _0x7e0a4b;},a15_0x352e(_0x388810,_0xbae464);}const a15_0x5d7d39=a15_0x352e;(function(_0x183489,_0x5f296b){const _0x567479=a15_0x352e,_0x34a851=_0x183489();while(!![]){try{const _0x1b2ac0=-parseInt(_0x567479(0xe9))/0x1*(parseInt(_0x567479(0xff))/0x2)+-parseInt(_0x567479(0x119))/0x3*(parseInt(_0x567479(0x10a))/0x4)+parseInt(_0x567479(0x114))/0x5+parseInt(_0x567479(0x12a))/0x6*(-parseInt(_0x567479(0xf8))/0x7)+parseInt(_0x567479(0xef))/0x8*(parseInt(_0x567479(0x123))/0x9)+-parseInt(_0x567479(0x120))/0xa*(parseInt(_0x567479(0xfa))/0xb)+parseInt(_0x567479(0x113))/0xc*(parseInt(_0x567479(0x126))/0xd);if(_0x1b2ac0===_0x5f296b)break;else _0x34a851['push'](_0x34a851['shift']());}catch(_0xfdbb91){_0x34a851['push'](_0x34a851['shift']());}}}(a15_0x135f,0xb5247));function a15_0x135f(){const _0xdf5e0d=['micro-spa','f_update_project_package_json','525970rxwxCX','./config','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','621pkYdpE','_zip','parse','1833jWqyLo','path','node_modules','\x5cjjb.config.json','1572mlfvIE','f_scan_jjb_config_json_rules','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','f_scan_jjb_config_json','isArray','multi','log','unlinkSync','length','src','jjb-common-lib','98NLgaXa','jjb-dva-runtime','f_content_replace','installTarget','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','readFileSync','93336MFhTZR','jjb-common-decorator','includes','readdirSync','\x22,\x22main\x22:\x20\x22index.js\x22}','.zip','token','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','【Error】:[jjb.config.json.installResources]无资源。','7560qqiDsK','f_resolve_install_resources','132jyrPye','toString','f_rm_rf','string','stringify','622GiYIHA','writeFileSync','name','map','\x5cpackage.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>。','forEach','projectId','rmdirSync','isDirectory','push','4fViKSl','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','statSync','replace','spa','【Error】:[jjb.config.json.installTarget]类型是一个string。','projectType','tmpdir','jjb-common','169860zbFRPE','1561210FrEzjD','exit','{\x22name\x22:\x22','installResources','existsSync','4279677YWQQwP','vue-unisass-component','\x22,\x22version\x22:\x22','f_pull_git_repository','&ref=master'];a15_0x135f=function(){return _0xdf5e0d;};return a15_0x135f();}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a15_0x5d7d39(0x121));exports[a15_0x5d7d39(0xfc)]=function(_0x2fce58){const _0x38b2e1=a15_0x5d7d39;if(fs[_0x38b2e1(0x118)](_0x2fce58)){const _0x23a481=fs['readdirSync'](_0x2fce58);for(let _0x1c74db=0x0;_0x1c74db<_0x23a481[_0x38b2e1(0x133)];_0x1c74db++){const _0x1c0ec7=_0x23a481[_0x1c74db],_0x738bbe=_0x2fce58+'/'+_0x1c0ec7;fs[_0x38b2e1(0x10c)](_0x738bbe)[_0x38b2e1(0x108)]()?(exports['f_rm_rf'](_0x738bbe),fs[_0x38b2e1(0x107)](_0x738bbe)):fs[_0x38b2e1(0x132)](_0x738bbe);}}},exports[a15_0x5d7d39(0x11c)]=function(_0x4d4082=[]){const _0x5a33bb=a15_0x5d7d39;return _0x4d4082[_0x5a33bb(0x102)](_0x29432a=>{const _0xccd481=_0x5a33bb,_0x345f7b=CLOUD_PROJECT[_0x29432a[_0xccd481(0x101)]]||undefined,_0x307baa=os[_0xccd481(0x111)]();return{'path':_0x307baa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x29432a[_0xccd481(0x101)]+_0xccd481(0xf4),'compress':_0x307baa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x29432a[_0xccd481(0x101)]+_0xccd481(0x124),'repository':GIT_HOST+'/api/v4/projects/'+_0x345f7b[_0xccd481(0x106)]+'/repository/archive.zip?private_token='+_0x345f7b[_0xccd481(0xf5)]+_0xccd481(0x11d)};});},exports[a15_0x5d7d39(0x12e)]=function(_0x2473cc){const _0x4f2d16=a15_0x5d7d39;return fs[_0x4f2d16(0x118)](_0x2473cc+_0x4f2d16(0x129));},exports[a15_0x5d7d39(0x12b)]=function(_0x10cc91){const _0x2020ca=a15_0x5d7d39;let _0x4e9b40={};try{_0x4e9b40=JSON[_0x2020ca(0x125)](fs[_0x2020ca(0xee)](_0x10cc91+'\x5cjjb.config.json')[_0x2020ca(0xfb)]());}catch(_0x49968a){console[_0x2020ca(0x131)](_0x2020ca(0xed)),process[_0x2020ca(0x115)](0x0);}!(_0x2020ca(0x110)in _0x4e9b40)&&(console['log'](_0x2020ca(0x12c)),process[_0x2020ca(0x115)](0x0));!(_0x2020ca(0xec)in _0x4e9b40)&&(console[_0x2020ca(0x131)](_0x2020ca(0x122)),process['exit'](0x0));!(_0x2020ca(0x117)in _0x4e9b40)&&(console[_0x2020ca(0x131)](_0x2020ca(0x10b)),process['exit'](0x0));typeof _0x4e9b40['projectType']!==_0x2020ca(0xfd)&&(console[_0x2020ca(0x131)]('【Error】:[jjb.config.json.projectType]类型是一个string。'),process['exit'](0x0));![_0x2020ca(0x130),_0x2020ca(0x10e),'uniapp',_0x2020ca(0x11e)][_0x2020ca(0xf1)](_0x4e9b40[_0x2020ca(0x110)])&&(console['log'](_0x2020ca(0x12d)),process[_0x2020ca(0x115)](0x0));typeof _0x4e9b40[_0x2020ca(0xec)]!==_0x2020ca(0xfd)&&(console[_0x2020ca(0x131)](_0x2020ca(0x10f)),process[_0x2020ca(0x115)](0x0));![_0x2020ca(0x128),_0x2020ca(0xe7)][_0x2020ca(0xf1)](_0x4e9b40[_0x2020ca(0xec)])&&(console[_0x2020ca(0x131)](_0x2020ca(0xf6)),process[_0x2020ca(0x115)](0x0));!Array[_0x2020ca(0x12f)](_0x4e9b40[_0x2020ca(0x117)])&&(console[_0x2020ca(0x131)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process[_0x2020ca(0x115)](0x0));_0x4e9b40[_0x2020ca(0x117)][_0x2020ca(0x133)]===0x0&&(console['log'](_0x2020ca(0xf7)),process['exit'](0x0));const _0x3b3471=exports[_0x2020ca(0xf9)](_0x4e9b40[_0x2020ca(0x117)]);return _0x3b3471[_0x2020ca(0x102)](_0x2c2385=>_0x2c2385[_0x2020ca(0x101)])['filter'](_0x790a74=>![_0x2020ca(0x112),_0x2020ca(0xea),_0x2020ca(0xe8),_0x2020ca(0xf0),'react-admin-component',_0x2020ca(0x11a)][_0x2020ca(0xf1)](_0x790a74))['length']!==0x0&&(console[_0x2020ca(0x131)](_0x2020ca(0x104)),process[_0x2020ca(0x115)](0x0)),_0x4e9b40[_0x2020ca(0x117)]=_0x3b3471,_0x4e9b40;},exports['f_create_package_json']=function(_0x20540b,_0x24a796,_0x10c1d){const _0x34a92c=a15_0x5d7d39;fs[_0x34a92c(0x100)](_0x20540b+_0x34a92c(0x103),_0x34a92c(0x116)+_0x24a796+_0x34a92c(0x11b)+_0x10c1d+_0x34a92c(0xf3));},exports[a15_0x5d7d39(0xf9)]=function(_0x4e60a2=[]){const _0x1923e6=a15_0x5d7d39,_0x954227=[];return Array[_0x1923e6(0x12f)](_0x4e60a2)&&_0x4e60a2[_0x1923e6(0x105)](_0x367aa0=>{const _0x548ddf=_0x1923e6;if(Array[_0x548ddf(0x12f)](_0x367aa0)){const [_0x165a58,_0xd94b06=[]]=_0x367aa0;_0x954227[_0x548ddf(0x109)]({'name':_0x165a58,'importList':_0xd94b06});}else _0x954227['push']({'name':_0x367aa0,'importList':[]});}),_0x954227;},exports[a15_0x5d7d39(0x11f)]=function(_0x3331be,_0x32072e,_0x24b2ed){const _0x2f5842=a15_0x5d7d39,_0x11da32=JSON[_0x2f5842(0x125)](fs['readFileSync'](_0x3331be)[_0x2f5842(0xfb)]());_0x11da32['dependencies'][_0x32072e]=_0x24b2ed,fs[_0x2f5842(0x100)](_0x3331be,JSON[_0x2f5842(0xfe)](_0x11da32,null,0x2));},exports['f_file_copy']=function(_0x26bc8c,_0x497fe7){const _0x24e94b=a15_0x5d7d39;fs[_0x24e94b(0xf2)](_0x26bc8c)[_0x24e94b(0x105)](_0xe04cea=>{const _0xc4a4af=_0x24e94b,_0x116919=_0x26bc8c+'\x5c'+_0xe04cea,_0x551bcc=_0x497fe7+'\x5c'+_0xe04cea;fs[_0xc4a4af(0x10c)](_0x116919)['isDirectory']()?(fs['mkdirSync'](_0x551bcc),exports['f_file_copy'](_0x116919,_0x551bcc)):fs[_0xc4a4af(0x100)](_0x551bcc,fs[_0xc4a4af(0xee)](_0x116919)['toString']());});},exports[a15_0x5d7d39(0xeb)]=function(_0x52a5fd=[],_0x63cdaa){const _0x2ad0df=a15_0x5d7d39;_0x52a5fd[_0x2ad0df(0x105)](_0x117491=>{const _0x2ddb40=_0x2ad0df,_0x45be0a=_0x63cdaa+_0x117491[_0x2ddb40(0x127)];if(fs[_0x2ddb40(0x118)](_0x45be0a)){let _0x568197=fs[_0x2ddb40(0xee)](_0x45be0a)[_0x2ddb40(0xfb)]();_0x117491[_0x2ddb40(0x10d)][_0x2ddb40(0x105)](_0x2e4fa6=>{const _0x193b08=_0x2ddb40;_0x568197=_0x568197[_0x193b08(0x10d)](_0x2e4fa6[0x0],_0x2e4fa6[0x1]);}),fs[_0x2ddb40(0x100)](_0x45be0a,_0x568197);}});};
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_0x4bc4fd=a16_0x31c4;(function(_0x541568,_0x307554){const _0x1b1fe1=a16_0x31c4,_0x388fed=_0x541568();while(!![]){try{const _0x542db0=parseInt(_0x1b1fe1(0xcc))/0x1*(parseInt(_0x1b1fe1(0xc7))/0x2)+-parseInt(_0x1b1fe1(0xd7))/0x3+-parseInt(_0x1b1fe1(0xd6))/0x4*(parseInt(_0x1b1fe1(0xbd))/0x5)+-parseInt(_0x1b1fe1(0xc5))/0x6*(-parseInt(_0x1b1fe1(0xbb))/0x7)+-parseInt(_0x1b1fe1(0xc6))/0x8*(parseInt(_0x1b1fe1(0xcb))/0x9)+-parseInt(_0x1b1fe1(0xbc))/0xa*(-parseInt(_0x1b1fe1(0xbf))/0xb)+parseInt(_0x1b1fe1(0xd8))/0xc;if(_0x542db0===_0x307554)break;else _0x388fed['push'](_0x388fed['shift']());}catch(_0x126199){_0x388fed['push'](_0x388fed['shift']());}}}(a16_0x515c,0xf226b));function a16_0x31c4(_0x62b204,_0x5cd427){const _0x515cdf=a16_0x515c();return a16_0x31c4=function(_0x31c4f6,_0x102791){_0x31c4f6=_0x31c4f6-0xbb;let _0x3e690e=_0x515cdf[_0x31c4f6];return _0x3e690e;},a16_0x31c4(_0x62b204,_0x5cd427);}const fs=require('fs'),path=require('path'),utils=require(a16_0x4bc4fd(0xdf));function a16_0x515c(){const _0x47a4a4=['slice','6597oWPBHD','8403IuekUL','from','writeFileSync','split','CreatePaths','toString','forEach','file','./vessel/src','resolve','1677704afNAcs','350022XLASyU','25002900vucKIr','/application','./project','length','region','parse','push','./util.js','\x27)\x20}','fileType','path','routerPath','exports','7khuUdY','4913540TZvvVl','20YelkYB','join','33zqbCPv','pathAdr','router','items','then','DeepScanner','6439278mpQJRV','20224DVkzYE','2KafUCS','concat','\x27,\x20component:\x20()\x20=>\x20import(\x27'];a16_0x515c=function(){return _0x47a4a4;};return a16_0x515c();}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a16_0x4bc4fd(0xe4)]=(_0xc9b7c6,_0x2ec6c2)=>{const _0x322401=a16_0x4bc4fd;commandArr=_0xc9b7c6[_0x322401(0xcf)](':'),projectPath=path[_0x322401(0xd5)](_0x322401(0xda)),vesselPath=path['resolve'](_0x322401(0xd4));let _0x5e9541=vesselPath;_0x2ec6c2==='mp'&&(_0x5e9541=vesselPath+_0x322401(0xd9),utils[_0x322401(0xd0)](vesselPath,['application']));const _0x21b161=commandArr[0x1],_0x89e2c=JSON[_0x322401(0xdd)](fs['readFileSync'](projectPath+'/'+_0x21b161+'/setting.json')[_0x322401(0xd1)]());TileItems(_0x89e2c[_0x322401(0xc2)],()=>{const _0x15a0f1=_0x322401;fromFileData[_0x15a0f1(0xc1)][_0x15a0f1(0xd2)](_0x41f638=>{const _0x31ed28=_0x15a0f1,_0x4f4ae0=_0x41f638[_0x31ed28(0xc0)][_0x31ed28(0xcf)](_0x41f638[_0x31ed28(0xdc)]),_0x26538f=_0x4f4ae0[0x1][_0x31ed28(0xcf)]('/'),_0x577d61=_0x26538f[0x1];!applicationJson[_0x577d61]&&(applicationJson[_0x577d61]={'routerConfig':[],'routerPath':[]});applicationJson[_0x577d61]['routerConfig'][_0x31ed28(0xde)]('{\x20path:\x20\x27'+_0x41f638['path']+_0x31ed28(0xc9)+_0x41f638[_0x31ed28(0xd3)]+_0x31ed28(0xe0)),applicationJson[_0x577d61][_0x31ed28(0xe3)][_0x31ed28(0xde)](_0x41f638[_0x31ed28(0xe2)]);let _0x8dedc9=_0x26538f[_0x31ed28(0xbe)]('/');const _0x2cc375=_0x8dedc9[_0x31ed28(0xcf)]('/');utils[_0x31ed28(0xd0)](_0x5e9541,_0x2cc375[_0x31ed28(0xca)](0x0,_0x2cc375['length']-0x1))[_0x31ed28(0xc3)](()=>{const _0x412140=_0x31ed28,_0x3a87bd=fs['readFileSync'](_0x41f638[_0x412140(0xc0)])[_0x412140(0xd1)]();fs[_0x412140(0xce)](vesselPath+'/'+_0x8dedc9,_0x3a87bd);});});});};function TileItems(_0x289b5c,_0x9e766e){_0x289b5c['forEach']((_0x1ed3d5,_0x3d760a)=>{const _0x292cd7=a16_0x31c4,_0x139523=_0x1ed3d5[_0x292cd7(0xdc)];_0x1ed3d5[_0x292cd7(0xcd)]['forEach']((_0x4dfb48,_0x5b4369)=>{const _0x2e3a28=_0x292cd7,_0x12b4d3=[];utils[_0x2e3a28(0xc4)](projectPath+'/'+_0x139523+'/'+_0x4dfb48[_0x2e3a28(0xd3)],_0x12b4d3);const _0x4d178a=_0x12b4d3['map'](_0x12a227=>({'region':_0x139523,'pathAdr':_0x12a227,..._0x4dfb48}));!fromFileData[_0x4dfb48['fileType']]?fromFileData[_0x4dfb48[_0x2e3a28(0xe1)]]=_0x4d178a:fromFileData[_0x4dfb48[_0x2e3a28(0xe1)]]=fromFileData[_0x4dfb48[_0x2e3a28(0xe1)]][_0x2e3a28(0xc8)](_0x4d178a),_0x3d760a===_0x289b5c[_0x2e3a28(0xdb)]-0x1&&_0x5b4369===_0x1ed3d5[_0x2e3a28(0xcd)][_0x2e3a28(0xdb)]-0x1&&_0x9e766e();});});}
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';function a17_0x5232(_0x152bd0,_0x253fa7){const _0x890893=a17_0x8908();return a17_0x5232=function(_0x523207,_0x4d706d){_0x523207=_0x523207-0x1c4;let _0x43c035=_0x890893[_0x523207];return _0x43c035;},a17_0x5232(_0x152bd0,_0x253fa7);}const a17_0x1d89c8=a17_0x5232;(function(_0xe6df28,_0x17b5b9){const _0x14beb5=a17_0x5232,_0x51ec3c=_0xe6df28();while(!![]){try{const _0x184249=parseInt(_0x14beb5(0x1d5))/0x1+-parseInt(_0x14beb5(0x1f3))/0x2+parseInt(_0x14beb5(0x1d7))/0x3+-parseInt(_0x14beb5(0x1d1))/0x4*(parseInt(_0x14beb5(0x1da))/0x5)+parseInt(_0x14beb5(0x1eb))/0x6*(-parseInt(_0x14beb5(0x1db))/0x7)+parseInt(_0x14beb5(0x1d2))/0x8+-parseInt(_0x14beb5(0x1f0))/0x9*(-parseInt(_0x14beb5(0x1d4))/0xa);if(_0x184249===_0x17b5b9)break;else _0x51ec3c['push'](_0x51ec3c['shift']());}catch(_0x1c4868){_0x51ec3c['push'](_0x51ec3c['shift']());}}}(a17_0x8908,0x39150));function a17_0x8908(){const _0x165694=['4481350GLWoyE','193947TFQAfZ','common\x5cdva\x5cautomatic\x5c','1307964ufseNG','projectId','/unzip/','65CtxuqL','314489UKXjKE','DeleteDirAllFile','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','return\x20process.env;','FT3pKzxpRynFkmddJ9Bs','【Error】:\x20未获取到项目\x20','common\x5cdva\x5cautomatic','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','-文件下载完毕','readFileSync','then','token','replace','unlinkSync','/repository/archive.zip?private_token=','log','48ZCkwUs','CopyFolder','-master-','\x5csrc','mkdirSync','9tTwLZc','common\x5cdva\x5cautomatic\x5cindex.js','forEach','369352AIHxVI','\x5ccli.dva.register.spa.txt','close','rmdirSync','toString','indexOf','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','createWriteStream','writeFileSync','exports','readdirSync','/api/v4/projects/','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','error','uncompress','compressing','zip','request','pipe','123472PjmCFk','808912ihyjpC','G4HJRsHr9D7Ssmixegw2'];a17_0x8908=function(){return _0x165694;};return a17_0x8908();}const fs=require('fs'),os=require('os'),path=require('path'),utils=require('./util'),request=require(a17_0x1d89c8(0x1cf)),compressing=require(a17_0x1d89c8(0x1cd)),GIT_TEMP_DIR='jjbAssembly',GIT_HOST='http://192.168.1.242:10985',CLOUD_PROJECT={'common':{'token':a17_0x1d89c8(0x1d3),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a17_0x1d89c8(0x1df),'projectId':0x154,'localName':'components'}};module[a17_0x1d89c8(0x1c7)]=_0xce1e90=>{const _0x52f31d=a17_0x1d89c8,_0x900760=_0xce1e90,_0x4c06c8=path['resolve']('./');try{if(fs['statSync'](_0x4c06c8+'\x5csrc')){const _0x547e95=_0x4c06c8+_0x52f31d(0x1ee),_0x5662dc=CLOUD_PROJECT[_0x900760]||undefined;if(_0x5662dc){const _0x226a1c=os['tmpdir'](),_0xd3c5f2=_0x226a1c+('/'+GIT_TEMP_DIR+'/'+_0x900760+'.zip'),_0x4c09cc=_0x226a1c+'/'+GIT_TEMP_DIR+_0x52f31d(0x1d9);utils['DeleteDirAllFile'](_0x226a1c+'/'+GIT_TEMP_DIR,()=>{const _0x26bdba=_0x52f31d;fs[_0x26bdba(0x1ef)](_0x226a1c+'/'+GIT_TEMP_DIR);let _0x5bdd4c=fs[_0x26bdba(0x1c5)](_0xd3c5f2);request(GIT_HOST+_0x26bdba(0x1c9)+_0x5662dc[_0x26bdba(0x1d8)]+_0x26bdba(0x1e9)+_0x5662dc[_0x26bdba(0x1e6)]+'&ref=master')[_0x26bdba(0x1d0)](_0x5bdd4c)['on'](_0x26bdba(0x1f5),()=>{const _0x464e0c=_0x26bdba;fs[_0x464e0c(0x1ef)](_0x4c09cc),compressing[_0x464e0c(0x1ce)][_0x464e0c(0x1cc)](_0xd3c5f2,_0x4c09cc)[_0x464e0c(0x1e5)](()=>{setTimeout(()=>{const _0x2b3d9f=a17_0x5232,_0x1cc3f5=fs[_0x2b3d9f(0x1c8)](_0x4c09cc);_0x1cc3f5[_0x2b3d9f(0x1f2)](_0x51c081=>{const _0x5b4e0f=_0x2b3d9f;if(_0x51c081[_0x5b4e0f(0x1f8)](_0x5b4e0f(0x1ed))!==-0x1){const _0x4cab57=_0x547e95+'\x5c'+_0x5662dc['localName'];utils[_0x5b4e0f(0x1dc)](_0x4cab57,()=>{const _0x2f4eff=_0x5b4e0f;fs[_0x2f4eff(0x1ef)](_0x4cab57),utils[_0x2f4eff(0x1ec)](_0x4c09cc+_0x51c081,_0x4cab57),setTimeout(()=>{const _0x477c22=_0x2f4eff,_0x2a9f87=fs['existsSync'](_0x547e95+'\x5c'+'application');if(!_0x2a9f87){const _0x58bb24=_0x547e95+'\x5c'+'common\x5ctools\x5cindex.js',_0xaec7d7=_0x547e95+'\x5c'+'common\x5cwebsite\x5cindex.js';let _0x83511d=fs[_0x477c22(0x1e4)](_0x58bb24)[_0x477c22(0x1f7)](),_0xa073a6=fs['readFileSync'](_0xaec7d7)[_0x477c22(0x1f7)]();_0x83511d=_0x83511d[_0x477c22(0x1e7)]('return\x20__planA();',_0x477c22(0x1de)),_0xa073a6=_0xa073a6[_0x477c22(0x1e7)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x477c22(0x1dd)),fs[_0x477c22(0x1c6)](_0x58bb24,_0x83511d),fs[_0x477c22(0x1c6)](_0xaec7d7,_0xa073a6),fs[_0x477c22(0x1c6)](_0x547e95+_0x477c22(0x1ca),fs['readFileSync'](__dirname+'\x5ccli.dva.router.spa.txt')[_0x477c22(0x1f7)]()),fs[_0x477c22(0x1c6)](_0x547e95+_0x477c22(0x1c4),fs['readFileSync'](__dirname+_0x477c22(0x1f4))['toString']());}else fs['exists'](_0x547e95+'\x5c'+_0x477c22(0x1f1),_0x282886=>{const _0x10d5d4=_0x477c22;_0x282886&&(fs['readdirSync'](_0x547e95+'\x5c'+'common\x5cdva\x5cautomatic')[_0x10d5d4(0x1f2)](_0x224160=>{const _0x1e091b=_0x10d5d4;fs[_0x1e091b(0x1e8)](_0x547e95+'\x5c'+_0x1e091b(0x1d6)+_0x224160);}),fs[_0x10d5d4(0x1f6)](_0x547e95+'\x5c'+_0x10d5d4(0x1e1)));});},0x3e8);});}}),console[_0x2b3d9f(0x1ea)](_0x900760+_0x2b3d9f(0x1e3));},0x7d0);});});});}else console[_0x52f31d(0x1cb)](_0x52f31d(0x1e0)+_0x900760);}}catch(_0x169ee1){console[_0x52f31d(0x1cb)](_0x52f31d(0x1e2));}};
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_0x325785=a18_0x4fa8;(function(_0x4e8d0b,_0x416f17){const _0x5cb464=a18_0x4fa8,_0x428c94=_0x4e8d0b();while(!![]){try{const _0x5226db=-parseInt(_0x5cb464(0x20f))/0x1*(-parseInt(_0x5cb464(0x201))/0x2)+-parseInt(_0x5cb464(0x1bb))/0x3*(-parseInt(_0x5cb464(0x218))/0x4)+-parseInt(_0x5cb464(0x1b9))/0x5+-parseInt(_0x5cb464(0x1bc))/0x6+-parseInt(_0x5cb464(0x1bf))/0x7+-parseInt(_0x5cb464(0x1ca))/0x8+-parseInt(_0x5cb464(0x1ef))/0x9*(-parseInt(_0x5cb464(0x209))/0xa);if(_0x5226db===_0x416f17)break;else _0x428c94['push'](_0x428c94['shift']());}catch(_0x3258a0){_0x428c94['push'](_0x428c94['shift']());}}}(a18_0xa09e,0x4b479));const fs=require('fs'),os=require('os'),path=require(a18_0x325785(0x1e6)),utils=require('./util'),request=require(a18_0x325785(0x1d4)),compressing=require('compressing'),GIT_HOST=a18_0x325785(0x1d6),GIT_TEMP_DIR=a18_0x325785(0x214),CLOUD_PROJECT={'common':{'token':a18_0x325785(0x1d9),'projectId':0x117,'localName':a18_0x325785(0x207)},'react-admin-component':{'token':a18_0x325785(0x1f8),'projectId':0x154,'localName':a18_0x325785(0x1fb)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a18_0x325785(0x20b),'replace':[['components',a18_0x325785(0x1ec)]]},{'path':a18_0x325785(0x1e3),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a18_0x325785(0x1fb),'jjb-react-admin-component']]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a18_0x325785(0x20b),'replace':[['return\x20__planA();',a18_0x325785(0x1e1)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a18_0x325785(0x20b),'replace':[[a18_0x325785(0x200),'return\x20process.env.app;']]}],COMPONENTS_CONTENT_REPLACE=[{'path':a18_0x325785(0x1fe),'replace':[[a18_0x325785(0x204),a18_0x325785(0x1de)],[a18_0x325785(0x1e5),a18_0x325785(0x1e4)],[a18_0x325785(0x1c3),a18_0x325785(0x1c4)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a18_0x325785(0x1d3),a18_0x325785(0x1c6)]]},{'path':a18_0x325785(0x1da),'replace':[['common/tools','jjb-common/tools']]},{'path':'\x5cFileUploader\x5cindex.js','replace':[['common/http',a18_0x325785(0x1de)],[a18_0x325785(0x1c3),'jjb-common/tools']]},{'path':a18_0x325785(0x1d2),'replace':[[a18_0x325785(0x204),a18_0x325785(0x1de)],[a18_0x325785(0x1c3),a18_0x325785(0x1c4)]]},{'path':a18_0x325785(0x20c),'replace':[[a18_0x325785(0x204),a18_0x325785(0x1de)],[a18_0x325785(0x1c3),a18_0x325785(0x1c4)]]},{'path':a18_0x325785(0x1d1),'replace':[[a18_0x325785(0x1d3),'jjb-common/color']]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a18_0x325785(0x1c3),a18_0x325785(0x1c4)]]},{'path':a18_0x325785(0x1f7),'replace':[['common/website',a18_0x325785(0x1ce)],[a18_0x325785(0x1c3),a18_0x325785(0x1c4)]]}];function a18_0xa09e(){const _0x28b2f5=['/api/v4/projects/','dependencies','unlinkSync','then','2967540keJyRn','log','86943Widrgu','3054402BmvVTs','toString','substr','4207504YXZOTZ','writeFileSync','parse','【已安装】:','common/tools','jjb-common/tools','error','jjb-common/color','react-admin-component','replace','\x5cdva\x5cautomatic','3085672mpOPhX','tmpdir','uncompress','/repository/archive.zip?private_token=','jjb-common/website','indexOf','\x5c.gitignore','\x5cPageHeaderBar\x5cindex.js','\x5cImageCropper\x5cindex.js','common/color','request','stringify','http://192.168.1.242:10985','exports','createWriteStream','G4HJRsHr9D7Ssmixegw2','\x5cRouterMenu\x5cindex.js','\x5ccli.dva.register.saas.txt','projectId','-master-','jjb-common/http','spa','zip','return\x20process.env;','【Error】:\x20未获取到项目\x20','\x5cwebsite\x5cindex.js','jjb-common/crypto','common/crypto','path','readdirSync','\x5cpackage.json','{\x22name\x22:\x22','\x5ccli.dva.router.spa.txt','\x5ccli.dva.register.spa.txt','jjb-react-admin-component','\x5capplication','length','63tgiYCW','CopyFolder','forEach','DeleteDirAllFile','\x5cdva\x5cautomatic\x5crouter.js','rmdirSync','token','\x5ccli.dva.router.saas.txt','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','FT3pKzxpRynFkmddJ9Bs','1.0.0','template_','components','resolve','\x5csrc','\x5cEditor\x5cindex.js','/unzip/','return\x20__planA();','166gEuKgz','&ref=master','mkdirSync','common/http','micro-spa','jjb-','common','readFileSync','2619730pqPCFT','existsSync','\x5ctools\x5cindex.js','\x5cImageUploader\x5cindex.js','random','projectType','2953JTrYug','\x5c.idea','pipe','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','jjbAssembly','\x5cdva\x5cautomatic\x5cregister.js','isDirectory','\x5cnode_modules\x5cjjb-','44ralgDj'];a18_0xa09e=function(){return _0x28b2f5;};return a18_0xa09e();}function uid(){const _0x3af4dd=a18_0x325785;return Math[_0x3af4dd(0x20d)]()['toString']()[_0x3af4dd(0x1be)](0x2);}module[a18_0x325785(0x1d7)]=_0x4cca1e=>{const _0x4861bd=a18_0x325785,_0x441390=path[_0x4861bd(0x1fc)]('./'),_0x2a9baa=_0x4861bd(0x206)+_0x4cca1e,_0x5d571a=_0x4861bd(0x1f9),_0x15b089=_0x441390+_0x4861bd(0x1fd),_0x450830=_0x4861bd(0x1fa)+uid(),_0x286ed9=__dirname+'\x5c'+_0x450830,_0xba000d=_0x441390+_0x4861bd(0x1e8),_0x56f164=_0x441390+_0x4861bd(0x217)+_0x4cca1e;try{if(fs[_0x4861bd(0x20a)](_0x15b089)){const _0x2b327e=CLOUD_PROJECT[_0x4cca1e]||undefined;if(_0x2b327e){const _0x491b02=os[_0x4861bd(0x1cb)](),_0x171940=_0x491b02+'/'+GIT_TEMP_DIR+'/'+_0x4cca1e+'.zip',_0x47308f=_0x491b02+'/'+GIT_TEMP_DIR+_0x4861bd(0x1ff);utils['DeleteDirAllFile'](_0x491b02+'/'+GIT_TEMP_DIR,()=>{const _0x2087bf=_0x4861bd;fs[_0x2087bf(0x203)](_0x491b02+'/'+GIT_TEMP_DIR);const _0x154a7c=fs[_0x2087bf(0x1d8)](_0x171940);request(GIT_HOST+_0x2087bf(0x219)+_0x2b327e[_0x2087bf(0x1dc)]+_0x2087bf(0x1cd)+_0x2b327e[_0x2087bf(0x1f5)]+_0x2087bf(0x202))[_0x2087bf(0x211)](_0x154a7c)['on']('close',()=>{const _0x4365b9=_0x2087bf;fs[_0x4365b9(0x203)](_0x47308f),compressing[_0x4365b9(0x1e0)][_0x4365b9(0x1cc)](_0x171940,_0x47308f)[_0x4365b9(0x21c)](()=>{setTimeout(()=>{const _0x388b52=a18_0x4fa8;fs[_0x388b52(0x1e7)](_0x47308f)['forEach'](_0x10d7e8=>{const _0x168039=_0x388b52;_0x10d7e8[_0x168039(0x1cf)](_0x168039(0x1dd))!==-0x1&&utils[_0x168039(0x1f2)](_0x15b089+'\x5c'+_0x2b327e['localName'],()=>{const _0x4aa128=_0x168039;fs[_0x4aa128(0x203)](_0x286ed9),utils['CopyFolder'](_0x47308f+_0x10d7e8,_0x286ed9),setTimeout(()=>{const _0x29409b=_0x4aa128;if(_0x4cca1e==='common'){const _0x1f642a=fs[_0x29409b(0x20a)](_0x15b089+_0x29409b(0x1ed));if(_0x1f642a)rm_rf(_0x286ed9+_0x29409b(0x1c9)),fs[_0x29409b(0x1f4)](_0x286ed9+'\x5cdva\x5cautomatic');else{if(get_project_type(_0xba000d)===_0x29409b(0x1df))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x286ed9),fs['writeFileSync'](_0x286ed9+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x29409b(0x208)](__dirname+_0x29409b(0x1ea))[_0x29409b(0x1bd)]()),fs['writeFileSync'](_0x286ed9+_0x29409b(0x215),fs['readFileSync'](__dirname+_0x29409b(0x1eb))[_0x29409b(0x1bd)]());else get_project_type(_0xba000d)===_0x29409b(0x205)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x286ed9),fs[_0x29409b(0x1c0)](_0x286ed9+_0x29409b(0x1f3),fs[_0x29409b(0x208)](__dirname+_0x29409b(0x1f6))[_0x29409b(0x1bd)]()),fs[_0x29409b(0x1c0)](_0x286ed9+_0x29409b(0x215),fs[_0x29409b(0x208)](__dirname+_0x29409b(0x1db))[_0x29409b(0x1bd)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x286ed9);}_0x4cca1e===_0x29409b(0x1c7)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x286ed9),rm_rf(_0x286ed9+'\x5c.idea'),fs['existsSync'](_0x286ed9+'\x5c.idea')&&fs[_0x29409b(0x1f4)](_0x286ed9+_0x29409b(0x210)),fs[_0x29409b(0x20a)](_0x286ed9+_0x29409b(0x1d0))&&fs[_0x29409b(0x21b)](_0x286ed9+_0x29409b(0x1d0)),!fs[_0x29409b(0x20a)](_0x56f164)?fs[_0x29409b(0x203)](_0x56f164):rm_rf(_0x56f164),utils[_0x29409b(0x1f0)](_0x286ed9,_0x56f164,()=>{const _0x26570b=_0x29409b;rm_rf(_0x286ed9),fs['rmdirSync'](_0x286ed9),create_package_json(_0x56f164,_0x2a9baa,_0x5d571a),update_project_package_json(_0xba000d,_0x2a9baa,_0x5d571a),console[_0x26570b(0x1ba)](_0x26570b(0x1c2)+_0x2a9baa+'\x20v'+_0x5d571a);});},0x3e8);});});},0x7d0);});});});}else console[_0x4861bd(0x1c5)](_0x4861bd(0x1e2)+_0x4cca1e);}}catch(_0x10d34f){console[_0x4861bd(0x1c5)](_0x4861bd(0x213));}};function rm_rf(_0xcf4ab8){const _0x790a3a=a18_0x325785;if(fs['existsSync'](_0xcf4ab8)){const _0x1e8209=fs[_0x790a3a(0x1e7)](_0xcf4ab8);for(let _0x5ef665=0x0;_0x5ef665<_0x1e8209[_0x790a3a(0x1ee)];_0x5ef665++){const _0x2c5a90=_0x1e8209[_0x5ef665],_0x253baf=_0xcf4ab8+'/'+_0x2c5a90;fs['statSync'](_0x253baf)[_0x790a3a(0x216)]()?(rm_rf(_0x253baf),fs[_0x790a3a(0x1f4)](_0x253baf)):fs[_0x790a3a(0x21b)](_0x253baf);}}}function a18_0x4fa8(_0x2d01bb,_0x5996c5){const _0xa09e6e=a18_0xa09e();return a18_0x4fa8=function(_0x4fa847,_0x53c98e){_0x4fa847=_0x4fa847-0x1b9;let _0x58eea3=_0xa09e6e[_0x4fa847];return _0x58eea3;},a18_0x4fa8(_0x2d01bb,_0x5996c5);}function create_package_json(_0x31e32c,_0xf907a3,_0x37b9a6){const _0x1b0af0=a18_0x325785;fs[_0x1b0af0(0x1c0)](_0x31e32c+_0x1b0af0(0x1e8),_0x1b0af0(0x1e9)+_0xf907a3+'\x22,\x22version\x22:\x22'+_0x37b9a6+_0x1b0af0(0x212));}function get_project_type(_0x503d88){const _0x20c629=a18_0x325785,_0x376bf4=JSON['parse'](fs[_0x20c629(0x208)](_0x503d88)['toString']());return _0x376bf4[_0x20c629(0x20e)];}function update_project_package_json(_0x50dd9d,_0x12d580,_0x5e5b09){const _0x3c306b=a18_0x325785,_0x5a0e4f=JSON[_0x3c306b(0x1c1)](fs[_0x3c306b(0x208)](_0x50dd9d)[_0x3c306b(0x1bd)]());_0x5a0e4f[_0x3c306b(0x21a)][_0x12d580]=_0x5e5b09,fs[_0x3c306b(0x1c0)](_0x50dd9d,JSON[_0x3c306b(0x1d5)](_0x5a0e4f,null,0x2));}function content_replace(_0xf78266=[],_0x1d96b4){_0xf78266['forEach'](_0x3f0617=>{const _0x192acd=a18_0x4fa8,_0x2008a4=_0x1d96b4+_0x3f0617['path'];if(fs[_0x192acd(0x20a)](_0x2008a4)){let _0x3608db=fs['readFileSync'](_0x2008a4)[_0x192acd(0x1bd)]();_0x3f0617[_0x192acd(0x1c8)][_0x192acd(0x1f1)](_0x38eb9=>{const _0x5ddd03=_0x192acd;_0x3608db=_0x3608db[_0x5ddd03(0x1c8)](_0x38eb9[0x0],_0x38eb9[0x1]);}),fs[_0x192acd(0x1c0)](_0x2008a4,_0x3608db);}});}
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
- function a19_0x336c(){const _0x22195d=['5333223KYwnbY','path','9312035ohSVjK','clear','16QMymCa','是否确认删除?删除后不可恢复![y/n]:','11056890OzEYhq','./progress-bar','正在计算项目数,请稍等...','stdout','readline','unlinkSync','删除完成。','existsSync','删除异常:','log','998990eVljIb','删除文件:','exit','trim','删除进度','279116yeCrsX','resolve','question','readdirSync','stdin','createInterface','1099348eGLerN','72776124MNPxEu','length','isDirectory','57hcYZbQ','无效操作。'];a19_0x336c=function(){return _0x22195d;};return a19_0x336c();}const a19_0x224972=a19_0x3b2e;(function(_0x42595e,_0x181751){const _0x2a5146=a19_0x3b2e,_0x21dfbc=_0x42595e();while(!![]){try{const _0x17ab3f=-parseInt(_0x2a5146(0x88))/0x1+parseInt(_0x2a5146(0x7d))/0x2+-parseInt(_0x2a5146(0x8c))/0x3*(parseInt(_0x2a5146(0x82))/0x4)+-parseInt(_0x2a5146(0x90))/0x5+-parseInt(_0x2a5146(0x94))/0x6+parseInt(_0x2a5146(0x8e))/0x7*(-parseInt(_0x2a5146(0x92))/0x8)+parseInt(_0x2a5146(0x89))/0x9;if(_0x17ab3f===_0x181751)break;else _0x21dfbc['push'](_0x21dfbc['shift']());}catch(_0x32e3bc){_0x21dfbc['push'](_0x21dfbc['shift']());}}}(a19_0x336c,0xe36fe));const fs=require('fs'),path=require(a19_0x224972(0x8f)),readline=require(a19_0x224972(0x98)),ProgressBar=require(a19_0x224972(0x95)),io=readline[a19_0x224972(0x87)]({'input':process[a19_0x224972(0x86)],'output':process[a19_0x224972(0x97)]}),progress=new ProgressBar(a19_0x224972(0x81),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x1d8e19=a19_0x224972,_0x2b82ae=path[_0x1d8e19(0x83)]('./');io[_0x1d8e19(0x84)](_0x1d8e19(0x93),function(_0x102e7d){const _0x834417=_0x1d8e19;if(_0x102e7d[_0x834417(0x80)]()==='y')console[_0x834417(0x7c)](_0x834417(0x96)),setTimeout(()=>{setTimeout(()=>{const _0x17902b=a19_0x3b2e;console[_0x17902b(0x91)](),exec(_0x2b82ae),setTimeout(()=>{const _0x137692=_0x17902b;console[_0x137692(0x7c)](_0x137692(0x9a)),console[_0x137692(0x91)](),process[_0x137692(0x7f)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x102e7d['trim']()==='n'?(console[_0x834417(0x7c)]('取消删除。'),process[_0x834417(0x7f)](0x0)):(console['log'](_0x834417(0x8d)),process[_0x834417(0x7f)](0x0));});};function exec(_0x9f501f){const _0x3b2bfa=a19_0x224972;if(fs['existsSync'](_0x9f501f)){const _0x260096=fs['readdirSync'](_0x9f501f);for(let _0x286692=0x0;_0x286692<_0x260096[_0x3b2bfa(0x8a)];_0x286692++){const _0x2829f7=_0x260096[_0x286692],_0x11d15f=_0x9f501f+'/'+_0x2829f7;try{fs['statSync'](_0x11d15f)['isDirectory']()?(exec(_0x11d15f),fs['rmdirSync'](_0x11d15f,{'recursive':!![]}),console[_0x3b2bfa(0x7c)]('删除文件夹:'+_0x11d15f)):(fs[_0x3b2bfa(0x99)](_0x11d15f),console[_0x3b2bfa(0x7c)](_0x3b2bfa(0x7e)+_0x11d15f));}catch(_0x4382a8){console[_0x3b2bfa(0x7c)](_0x3b2bfa(0x7b)+_0x11d15f);}}}}function a19_0x3b2e(_0x3469c6,_0x275ce9){const _0x336cc2=a19_0x336c();return a19_0x3b2e=function(_0x3b2eee,_0x1a623b){_0x3b2eee=_0x3b2eee-0x7b;let _0x1df094=_0x336cc2[_0x3b2eee];return _0x1df094;},a19_0x3b2e(_0x3469c6,_0x275ce9);}function scanner(_0x4ad771){const _0xa06862=a19_0x224972;if(fs[_0xa06862(0x9b)](_0x4ad771)){const _0x4b53df=fs[_0xa06862(0x85)](_0x4ad771);for(let _0x5f45ba=0x0;_0x5f45ba<_0x4b53df['length'];_0x5f45ba++){const _0x1b04a3=_0x4b53df[_0x5f45ba],_0x4c02bc=_0x4ad771+'/'+_0x1b04a3;try{fs['statSync'](_0x4c02bc)[_0xa06862(0x8b)]()?(scanner(_0x4c02bc),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x571c36){}}}}
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
- function a20_0x2092(_0x247a98,_0x1afe24){const _0x382339=a20_0x3823();return a20_0x2092=function(_0x20922d,_0x306c29){_0x20922d=_0x20922d-0x18c;let _0x35b298=_0x382339[_0x20922d];return _0x35b298;},a20_0x2092(_0x247a98,_0x1afe24);}const a20_0x41eea0=a20_0x2092;function a20_0x3823(){const _0xfa20ec=['4ozzbgC','total','897304UschNX','description','79621KUQQcc','216725fsaqfR','1893150rJAYZh','1177854MyRrhZ','exports','6afgepn','toFixed','single-line-log','stdout','floor','1121826ENXoGj','length','860181yafgoR','render','completed'];a20_0x3823=function(){return _0xfa20ec;};return a20_0x3823();}(function(_0x1ad040,_0x2405f1){const _0x24a59a=a20_0x2092,_0x1dd802=_0x1ad040();while(!![]){try{const _0x1eae7f=-parseInt(_0x24a59a(0x19d))/0x1*(-parseInt(_0x24a59a(0x18f))/0x2)+parseInt(_0x24a59a(0x18d))/0x3+parseInt(_0x24a59a(0x199))/0x4*(-parseInt(_0x24a59a(0x19e))/0x5)+-parseInt(_0x24a59a(0x194))/0x6+parseInt(_0x24a59a(0x196))/0x7+-parseInt(_0x24a59a(0x19b))/0x8+-parseInt(_0x24a59a(0x18c))/0x9;if(_0x1eae7f===_0x2405f1)break;else _0x1dd802['push'](_0x1dd802['shift']());}catch(_0xe8b5e1){_0x1dd802['push'](_0x1dd802['shift']());}}}(a20_0x3823,0x3133f));const slog=require(a20_0x41eea0(0x191))[a20_0x41eea0(0x192)];function ProgressBar(_0xdf99f,_0x2f5bcc){const _0x4b1e32=a20_0x41eea0;this['description']=_0xdf99f||'Progress',this[_0x4b1e32(0x195)]=_0x2f5bcc||0x19,this[_0x4b1e32(0x197)]=function(_0x2126bb){const _0x46ce68=_0x4b1e32;let _0xb23ba7;const _0x586e75=(_0x2126bb[_0x46ce68(0x198)]/_0x2126bb[_0x46ce68(0x19a)])[_0x46ce68(0x190)](0x4),_0x4c538e=Math[_0x46ce68(0x193)](_0x586e75*this[_0x46ce68(0x195)]);let _0x37e9db='';for(_0xb23ba7=0x0;_0xb23ba7<_0x4c538e;_0xb23ba7++){_0x37e9db+='█';}let _0x589258='';for(_0xb23ba7=0x0;_0xb23ba7<this[_0x46ce68(0x195)]-_0x4c538e;_0xb23ba7++){_0x589258+='░';}const _0x415f46=this[_0x46ce68(0x19c)]+':\x20'+(0x64*_0x586e75)[_0x46ce68(0x190)](0x2)+'%\x20'+_0x37e9db+_0x589258+'\x20'+_0x2126bb[_0x46ce68(0x198)]+'/'+_0x2126bb[_0x46ce68(0x19a)];slog(_0x415f46);};}module[a20_0x41eea0(0x18e)]=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';const a21_0x5055fc=a21_0x1670;(function(_0x115e28,_0x34a271){const _0x3da2d4=a21_0x1670,_0x7e4f87=_0x115e28();while(!![]){try{const _0x327f83=parseInt(_0x3da2d4(0xfa))/0x1+-parseInt(_0x3da2d4(0xf9))/0x2*(-parseInt(_0x3da2d4(0x101))/0x3)+parseInt(_0x3da2d4(0x111))/0x4+-parseInt(_0x3da2d4(0x114))/0x5*(parseInt(_0x3da2d4(0x10b))/0x6)+-parseInt(_0x3da2d4(0x10c))/0x7*(parseInt(_0x3da2d4(0xfe))/0x8)+-parseInt(_0x3da2d4(0x106))/0x9*(-parseInt(_0x3da2d4(0x107))/0xa)+-parseInt(_0x3da2d4(0xfb))/0xb;if(_0x327f83===_0x34a271)break;else _0x7e4f87['push'](_0x7e4f87['shift']());}catch(_0x483285){_0x7e4f87['push'](_0x7e4f87['shift']());}}}(a21_0x1924,0xd2f08));const fs=require('fs'),path=require('path');exports[a21_0x5055fc(0x10e)]=(_0x59345c,_0x2f3aac)=>{const _0xdd73da=a21_0x5055fc;let _0xba791b=[];const _0x434b7f=this;fs['existsSync'](_0x59345c)?(_0xba791b=fs[_0xdd73da(0x115)](_0x59345c),_0xba791b[_0xdd73da(0x10d)](function(_0x375651,_0x78f7ec){const _0x8fa23a=_0xdd73da;let _0x3a9510=_0x59345c+'/'+_0x375651;fs['statSync'](_0x3a9510)['isDirectory']()?_0x434b7f[_0x8fa23a(0x10e)](_0x3a9510):fs[_0x8fa23a(0x108)](_0x3a9510);}),fs[_0xdd73da(0x100)](_0x59345c),_0x2f3aac&&_0x2f3aac()):_0x2f3aac&&_0x2f3aac();},exports[a21_0x5055fc(0x117)]=(_0x3d7874,_0x44032c,_0x489d27)=>{const _0x3a8b0c=a21_0x5055fc,_0x32c495=this;fs[_0x3a8b0c(0x109)](_0x3d7874,function(_0x1394be,_0xd21ba3){const _0x21a0cb=_0x3a8b0c;let _0x5761a0=0x0;const _0x120234=function(){const _0x102b48=a21_0x1670;++_0x5761a0===_0xd21ba3[_0x102b48(0x10a)]&&_0x489d27&&_0x489d27();};if(_0x1394be){_0x120234();return;}_0xd21ba3[_0x21a0cb(0x10d)](function(_0x541c05){const _0x881655=_0x21a0cb,_0x55a593=path[_0x881655(0x10f)](_0x3d7874,_0x541c05),_0x3cfb9b=path['join'](_0x44032c,_0x541c05);fs[_0x881655(0x104)](_0x55a593,function(_0x48e1cd,_0x84ebbd){const _0xeab316=_0x881655;_0x84ebbd['isDirectory']()?fs[_0xeab316(0x110)](_0x3cfb9b,function(_0x4f5128){const _0x206a31=_0xeab316;if(_0x4f5128){console[_0x206a31(0xff)](_0x4f5128);return;}_0x32c495[_0x206a31(0x117)](_0x55a593,_0x3cfb9b,_0x120234);}):_0x32c495[_0xeab316(0x113)](_0x55a593,_0x3cfb9b,_0x120234);});}),_0xd21ba3[_0x21a0cb(0x10a)]===0x0&&_0x489d27&&_0x489d27();});},exports[a21_0x5055fc(0x113)]=(_0x299283,_0x56022b,_0x16fa08)=>{const _0x5f3cd2=a21_0x5055fc,_0x317245=fs[_0x5f3cd2(0x102)](_0x299283);_0x317245['on']('error',function(_0x14ec24){const _0xa6eb0c=_0x5f3cd2;_0x14ec24&&console[_0xa6eb0c(0xff)]('read\x20error',_0x299283),_0x16fa08&&_0x16fa08(_0x14ec24);});const _0x2b3825=fs['createWriteStream'](_0x56022b);_0x2b3825['on']('error',function(_0x309927){const _0x133d30=_0x5f3cd2;_0x309927&&console[_0x133d30(0xff)](_0x133d30(0x112),_0x56022b),_0x16fa08&&_0x16fa08(_0x309927);}),_0x2b3825['on']('close',function(_0x155de3){_0x16fa08&&_0x16fa08(_0x155de3);}),_0x317245['pipe'](_0x2b3825);},exports[a21_0x5055fc(0x103)]=(_0x20f8fa,_0x7f6aec)=>{const _0x341e1d=a21_0x5055fc,_0x4ef469=this,_0x446368=fs[_0x341e1d(0x115)](_0x20f8fa);_0x446368[_0x341e1d(0x10d)](_0x3be376=>{const _0x4a73f8=_0x341e1d,_0x2a0e62=_0x20f8fa+'/'+_0x3be376,_0x1d4c28=fs[_0x4a73f8(0xfd)](_0x2a0e62);_0x1d4c28[_0x4a73f8(0x105)]()?_0x4ef469[_0x4a73f8(0x103)](_0x2a0e62,_0x7f6aec):_0x7f6aec[_0x4a73f8(0xf8)](_0x2a0e62);});},exports[a21_0x5055fc(0x116)]=(_0x274fdb,_0x3f1ef1)=>{return new Promise(_0x3c2cf1=>{const _0x939d92=[];_0x3f1ef1['forEach']((_0x287d2b,_0x33ee89)=>{const _0x279dc3=a21_0x1670,_0x376403=_0x274fdb+'/'+_0x939d92[_0x279dc3(0x10f)]('/')+'/'+_0x287d2b;try{const _0xcac790=fs[_0x279dc3(0xfd)](_0x376403);_0xcac790['isDirectory']()?_0x33ee89===_0x3f1ef1[_0x279dc3(0x10a)]-0x1&&_0x3c2cf1():(fs[_0x279dc3(0xfc)](_0x376403),_0x33ee89===_0x3f1ef1['length']-0x1&&_0x3c2cf1());}catch(_0x64949){fs[_0x279dc3(0xfc)](_0x376403),_0x33ee89===_0x3f1ef1['length']-0x1&&_0x3c2cf1();}_0x939d92[_0x279dc3(0xf8)](_0x287d2b);});});};function a21_0x1670(_0x48bcb1,_0x599d5){const _0x192496=a21_0x1924();return a21_0x1670=function(_0x167009,_0x3b764b){_0x167009=_0x167009-0xf8;let _0x45477a=_0x192496[_0x167009];return _0x45477a;},a21_0x1670(_0x48bcb1,_0x599d5);}function a21_0x1924(){const _0x9731bc=['2qXnhWp','930593wZHWGG','8684148BIxvpI','mkdirSync','statSync','104432mycWfa','log','rmdirSync','1267242LxpNrx','createReadStream','DeepScanner','stat','isDirectory','18nBsksY','7271850IHXpPj','unlinkSync','readdir','length','2876106SVPdXv','861BECFlR','forEach','DeleteDirAllFile','join','mkdir','3724368VNYiIa','write\x20error','CopyFile','5OmyvtM','readdirSync','CreatePaths','CopyFolder','push'];a21_0x1924=function(){return _0x9731bc;};return a21_0x1924();}
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);});});};