@vmosedge/cli 1.3.0 → 1.3.1

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.
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x22439e,_0x4080b6){const _0x3d7a4f=_0x1d37,_0x4d62e4=_0x22439e();while(!![]){try{const _0x43d0ba=parseInt(_0x3d7a4f(0x19f))/0x1*(parseInt(_0x3d7a4f(0x1a7))/0x2)+parseInt(_0x3d7a4f(0x19a))/0x3+parseInt(_0x3d7a4f(0x1a2))/0x4+parseInt(_0x3d7a4f(0x1a3))/0x5+parseInt(_0x3d7a4f(0x19b))/0x6*(parseInt(_0x3d7a4f(0x19d))/0x7)+parseInt(_0x3d7a4f(0x1a0))/0x8*(-parseInt(_0x3d7a4f(0x19e))/0x9)+-parseInt(_0x3d7a4f(0x1a6))/0xa*(parseInt(_0x3d7a4f(0x19c))/0xb);if(_0x43d0ba===_0x4080b6)break;else _0x4d62e4['push'](_0x4d62e4['shift']());}catch(_0x1c9bcc){_0x4d62e4['push'](_0x4d62e4['shift']());}}}(_0x5c88,0xbe521));import{CDPBridge as _0x1218ed,Page as _0x3696e1,withSession as _0x31bd44}from'./chunk-5JYVMMCT.js';import{probeCDP as _0x38e0d9,resolveEndpoint as _0x420d7b}from'./chunk-DYK5UMUB.js';import'./chunk-PJ5YDGGN.js';function _0x5c88(){const _0x58cd34=['ntKXmJHJExfcs0O','y2XVC2u','ntq2mZi1mKr2q2j2yG','mZq1nZe4mffWAfbwCW','y2f0y2G','y29UBMvJDa','mJC1mZyYmdbmsg9dC0O','mtKYnZa3ofjYEMPOsa','mZG5mZmWngL4t0Lzwa','mJq4mtzADLf5CgW','mtfss1beB0e','mta4nwzoz2z1va','mtCZn1Puv2DAEa','mwHwB0XKDG'];_0x5c88=function(){return _0x58cd34;};return _0x5c88();}function _0x1d37(_0x3bd86a,_0x46325d){_0x3bd86a=_0x3bd86a-0x19a;const _0x5c88b6=_0x5c88();let _0x1d37f4=_0x5c88b6[_0x3bd86a];if(_0x1d37['ncNmiA']===undefined){var _0x324a41=function(_0x3575d3){const _0x543728='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27e109='',_0x137570='';for(let _0x3f92fa=0x0,_0x28e9e2,_0x6f11d0,_0x34c3cf=0x0;_0x6f11d0=_0x3575d3['charAt'](_0x34c3cf++);~_0x6f11d0&&(_0x28e9e2=_0x3f92fa%0x4?_0x28e9e2*0x40+_0x6f11d0:_0x6f11d0,_0x3f92fa++%0x4)?_0x27e109+=String['fromCharCode'](0xff&_0x28e9e2>>(-0x2*_0x3f92fa&0x6)):0x0){_0x6f11d0=_0x543728['indexOf'](_0x6f11d0);}for(let _0x373063=0x0,_0x4c8a42=_0x27e109['length'];_0x373063<_0x4c8a42;_0x373063++){_0x137570+='%'+('00'+_0x27e109['charCodeAt'](_0x373063)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x137570);};_0x1d37['WYtdfx']=_0x324a41,_0x1d37['LUAGvy']={},_0x1d37['ncNmiA']=!![];}const _0x7bf945=_0x5c88b6[0x0],_0x336707=_0x3bd86a+_0x7bf945,_0x401481=_0x1d37['LUAGvy'][_0x336707];return!_0x401481?(_0x1d37f4=_0x1d37['WYtdfx'](_0x1d37f4),_0x1d37['LUAGvy'][_0x336707]=_0x1d37f4):_0x1d37f4=_0x401481,_0x1d37f4;}import'./chunk-P2X57GXU.js';import'./chunk-5G2X62D4.js';async function i(_0x1f3f03){const _0x4ad27d=_0x1d37,_0x5697fa=await _0x420d7b(),_0x156342=new _0x1218ed();try{return await _0x156342[_0x4ad27d(0x1a5)](_0x5697fa),await _0x1f3f03(new _0x3696e1(_0x156342));}finally{await _0x156342[_0x4ad27d(0x1a1)]()[_0x4ad27d(0x1a4)](()=>{});}}export{_0x1218ed as CDPBridge,_0x3696e1 as Page,_0x38e0d9 as probeCDP,_0x420d7b as resolveEndpoint,i as withPage,_0x31bd44 as withSession};
2
+ (function(_0xf96264,_0x400c8b){const _0x3283c4=_0x477b,_0x130c2e=_0xf96264();while(!![]){try{const _0xb47a88=parseInt(_0x3283c4(0x88))/0x1+parseInt(_0x3283c4(0x84))/0x2*(-parseInt(_0x3283c4(0x7f))/0x3)+parseInt(_0x3283c4(0x81))/0x4*(-parseInt(_0x3283c4(0x8d))/0x5)+parseInt(_0x3283c4(0x82))/0x6*(-parseInt(_0x3283c4(0x80))/0x7)+-parseInt(_0x3283c4(0x8e))/0x8*(parseInt(_0x3283c4(0x83))/0x9)+-parseInt(_0x3283c4(0x8b))/0xa*(parseInt(_0x3283c4(0x89))/0xb)+-parseInt(_0x3283c4(0x8a))/0xc*(-parseInt(_0x3283c4(0x86))/0xd);if(_0xb47a88===_0x400c8b)break;else _0x130c2e['push'](_0x130c2e['shift']());}catch(_0x15b6c8){_0x130c2e['push'](_0x130c2e['shift']());}}}(_0x3544,0xcddb9));import{CDPBridge as _0x273d83,Page as _0x33aee7,withSession as _0x281add}from'./chunk-5JYVMMCT.js';function _0x3544(){const _0x1001ad=['mtm4mdzquxfyEg8','mZu5nZC3we1LCwLM','mtu2z3jJuLLW','ndmWrxfPwe5U','y29UBMvJDa','mJeZnvflA1LnDa','nduYmfjdCxfmyG','y2f0y2G','ndKXnhHit2z5rq','mtiWmtqXB0P3wgzp','ntu4me1WC2fpBW','mJm0s3rbvNDQ','mJm1mZv0t21gu3e','mtG2vxvyrLb1','y2XVC2u','nteZmdyXoxLAu3PIwa','EeHRAe4'];_0x3544=function(){return _0x1001ad;};return _0x3544();}import{probeCDP as _0x1143c5,resolveEndpoint as _0x5709cb}from'./chunk-DYK5UMUB.js';import'./chunk-PJ5YDGGN.js';function _0x477b(_0x7bddfb,_0x5eb6fb){_0x7bddfb=_0x7bddfb-0x7e;const _0x3544d8=_0x3544();let _0x477bbc=_0x3544d8[_0x7bddfb];if(_0x477b['EzUuld']===undefined){var _0x124be9=function(_0x48b608){const _0x2d2c6e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x226f5d='',_0x9e635e='';for(let _0x3dafed=0x0,_0x5135df,_0x1de90d,_0x12fa8c=0x0;_0x1de90d=_0x48b608['charAt'](_0x12fa8c++);~_0x1de90d&&(_0x5135df=_0x3dafed%0x4?_0x5135df*0x40+_0x1de90d:_0x1de90d,_0x3dafed++%0x4)?_0x226f5d+=String['fromCharCode'](0xff&_0x5135df>>(-0x2*_0x3dafed&0x6)):0x0){_0x1de90d=_0x2d2c6e['indexOf'](_0x1de90d);}for(let _0x3bedb1=0x0,_0x11bba8=_0x226f5d['length'];_0x3bedb1<_0x11bba8;_0x3bedb1++){_0x9e635e+='%'+('00'+_0x226f5d['charCodeAt'](_0x3bedb1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9e635e);};_0x477b['yosHWg']=_0x124be9,_0x477b['hKHYmz']={},_0x477b['EzUuld']=!![];}const _0x27d8fc=_0x3544d8[0x0],_0x53a049=_0x7bddfb+_0x27d8fc,_0x5a22b1=_0x477b['hKHYmz'][_0x53a049];return!_0x5a22b1?(_0x477bbc=_0x477b['yosHWg'](_0x477bbc),_0x477b['hKHYmz'][_0x53a049]=_0x477bbc):_0x477bbc=_0x5a22b1,_0x477bbc;}import'./chunk-P2X57GXU.js';import'./chunk-5G2X62D4.js';async function i(_0x3ad124){const _0xead145=_0x477b,_0x1fad36={'xHkhN':function(_0x2e8f4c){return _0x2e8f4c();}},_0x319b78=await _0x1fad36[_0xead145(0x87)](_0x5709cb),_0x5867fd=new _0x273d83();try{return await _0x5867fd[_0xead145(0x8c)](_0x319b78),await _0x3ad124(new _0x33aee7(_0x5867fd));}finally{await _0x5867fd[_0xead145(0x85)]()[_0xead145(0x7e)](()=>{});}}export{_0x273d83 as CDPBridge,_0x33aee7 as Page,_0x1143c5 as probeCDP,_0x5709cb as resolveEndpoint,i as withPage,_0x281add as withSession};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x29e8ff=_0x3054;(function(_0x271fac,_0x33459b){const _0x599e99=_0x3054,_0x2a71b3=_0x271fac();while(!![]){try{const _0x541f3c=parseInt(_0x599e99(0x16a))/0x1*(parseInt(_0x599e99(0x16f))/0x2)+-parseInt(_0x599e99(0x163))/0x3*(parseInt(_0x599e99(0x16e))/0x4)+-parseInt(_0x599e99(0x17c))/0x5+parseInt(_0x599e99(0x165))/0x6+-parseInt(_0x599e99(0x154))/0x7+-parseInt(_0x599e99(0x15f))/0x8+parseInt(_0x599e99(0x15c))/0x9;if(_0x541f3c===_0x33459b)break;else _0x2a71b3['push'](_0x2a71b3['shift']());}catch(_0x3d1c40){_0x2a71b3['push'](_0x2a71b3['shift']());}}}(_0x482c,0x6ff2e));function _0x3054(_0x58e663,_0x3eb28e){_0x58e663=_0x58e663-0x149;const _0x482c43=_0x482c();let _0x305438=_0x482c43[_0x58e663];if(_0x3054['Dkfhqc']===undefined){var _0x4515eb=function(_0x3b2b96){const _0x50356b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x429886='',_0x39a226='';for(let _0x23aa2a=0x0,_0x262c62,_0x38adb5,_0x2ea765=0x0;_0x38adb5=_0x3b2b96['charAt'](_0x2ea765++);~_0x38adb5&&(_0x262c62=_0x23aa2a%0x4?_0x262c62*0x40+_0x38adb5:_0x38adb5,_0x23aa2a++%0x4)?_0x429886+=String['fromCharCode'](0xff&_0x262c62>>(-0x2*_0x23aa2a&0x6)):0x0){_0x38adb5=_0x50356b['indexOf'](_0x38adb5);}for(let _0x3cac8d=0x0,_0x54a7aa=_0x429886['length'];_0x3cac8d<_0x54a7aa;_0x3cac8d++){_0x39a226+='%'+('00'+_0x429886['charCodeAt'](_0x3cac8d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x39a226);};_0x3054['vWpFkj']=_0x4515eb,_0x3054['cpeJWP']={},_0x3054['Dkfhqc']=!![];}const _0x4bea32=_0x482c43[0x0],_0x414fa2=_0x58e663+_0x4bea32,_0x8beec7=_0x3054['cpeJWP'][_0x414fa2];return!_0x8beec7?(_0x305438=_0x3054['vWpFkj'](_0x305438),_0x3054['cpeJWP'][_0x414fa2]=_0x305438):_0x305438=_0x8beec7,_0x305438;}import _0x25f829 from'fs';import _0x10949d from'path';import _0x391737 from'os';import _0x3ef1c5 from'js-yaml';var o=_0x10949d[_0x29e8ff(0x157)](_0x391737['homedir'](),_0x29e8ff(0x167)),i=_0x10949d[_0x29e8ff(0x157)](o,_0x29e8ff(0x179)),s={'app':{'bin-path':'','cdp-port':0x2406},'api':{'copilot-port':0x4705,'control-port':0x4706,'direct-port':0x4709},'control-mode':'auto','screenshot-dir':_0x29e8ff(0x15b)};function c(){return o;}function f(){return i;}function a(){const _0xb2220c=_0x29e8ff;_0x25f829[_0xb2220c(0x17a)](o)||_0x25f829['mkdirSync'](o,{'recursive':!0x0});}function u(){if(!_0x25f829['existsSync'](i))return{...s};const _0x24919c=_0x25f829['readFileSync'](i,'utf-8'),_0x1ffdf9=_0x3ef1c5['load'](_0x24919c);return h(s,_0x1ffdf9);}function _0x482c(){const _0x435258=['mJK0mte4mMvUzxHzza','CMvHzgrPCLn5BMm','lNzTB3mTzwrNzs1JBgK','ywnJzxnZu3LUyW','Aw1ZyMm','ndvMDKrKvKG','EfnJBKe','wf9psW','kE+8JoIVT+MfJEE9RUwfT+s9K+I3R+w+Ha','mZuYA2ftsM13','mtG1ntrOsLHJEuq','Bg9Hza','CMvHzezPBgvtEw5J','CNflrey','BgLUDxG','AevuEeW','zMLSDgvY','DxrMltG','AxnbCNjHEq','lMfWCa','y29UzMLNlNLHBwW','zxHPC3rZu3LUyW','CgXHDgzVCM0','mtiXndy1mhHUDxnjzG','ioEBRUw9LEs4REACQUAjVUwiScaUzxHLioAwH+s7TU+8JoIVT+MfJEE9RUwfT+s9K+EAHowpR+AjP+IHJoAwH+s7TUI3R+w+Ha','lMv4zq','v0LLyuC','ioAyR+EBRUw9LEIaJoMDNUwpR+AjP+IHJoAwH+s7TU+8JoIVT+MfJEE9RUwfT+s9K+EAHowpR+AjP+IHJoAwH+s7TUI3R+w+Ha','ugHJweO','A2v5CW','AxngAwXL','rhHAwxe','kE+8JoIVT+MfJEE9RUwfT+s9K+EAHowpR+AjP+IHJoAwH+s7TUI3R+w+Ha','zMLUza','Chjkwxi','ioEBRUw9LEs4REACQUAjVUwiSowpR+AjP+IHJoAwH+s7TU+8JoIVT+MfJEE9RUwfT+s9K+I3R+w+Ha','mZKWmZK3mhrAu3jQrG','ioAyRYaUyxbWioEBRUw9LE+8JoACQUAjVUwiSca','zw5KC1DPDgG','AM9PBG','q29UDgvUDhm','Dg9mB3DLCKnHC2u','AxneAxjLy3rVCNK','lI9Zy3jLzw5ZAg90CW','mtiWnta2mZfHExb3wwy','C3rHDfn5BMm','yMfZzw5HBwu','nduXnJC5mMD2uNHTuG','BgvUz3rO','zgfYD2LU','77Ym6k+36ywn572U5A6E6zMf5y+V5OMN6kgm5PAh5lU26lEV5B6e','mtq0mtv0z2rerNa','y29UC3rHBNrZ'];_0x482c=function(){return _0x435258;};return _0x482c();}function l(){const _0x4dacef=_0x29e8ff,_0x252dcd={'xScnA':_0x4dacef(0x176)};if(!_0x25f829['existsSync'](i))return null;const _0x4058ce=_0x25f829[_0x4dacef(0x171)](i,_0x252dcd[_0x4dacef(0x16b)]);return _0x3ef1c5[_0x4dacef(0x170)](_0x4058ce)||null;}function p(_0x1d8fcf){const _0x4114a8=_0x29e8ff;a();const _0x14f219=_0x3ef1c5['dump'](_0x1d8fcf,{'lineWidth':0x78,'noRefs':!0x0});_0x25f829['writeFileSync'](i,_0x14f219,_0x4114a8(0x176));}function y(){return _0x25f829['existsSync'](i);}function d(_0x4e2322){const _0xcdfe15=_0x29e8ff,_0x1ce106={'imsbc':function(_0x401a44,_0x36a3e5){return _0x401a44===_0x36a3e5;},'DxZYq':_0xcdfe15(0x161),'rqKDF':'MacOS','WIeaG':_0xcdfe15(0x173)};if(!_0x25f829[_0xcdfe15(0x17a)](_0x4e2322))return _0x4e2322;if(!_0x25f829[_0xcdfe15(0x15d)](_0x4e2322)[_0xcdfe15(0x15a)]())return _0x4e2322;const _0x237ea0=process[_0xcdfe15(0x17b)],_0x212d55=_0x10949d['basename'](_0x4e2322);if(_0x1ce106[_0xcdfe15(0x169)](_0x1ce106[_0xcdfe15(0x14f)],_0x237ea0)&&_0x4e2322['endsWith'](_0xcdfe15(0x178))){const _0x3d0a31=_0x10949d[_0xcdfe15(0x15e)](_0x4e2322,_0xcdfe15(0x178)),_0x31b66e=_0x10949d[_0xcdfe15(0x157)](_0x4e2322,_0xcdfe15(0x158),_0x1ce106[_0xcdfe15(0x172)],_0x3d0a31);if(_0x25f829[_0xcdfe15(0x17a)](_0x31b66e))return _0x31b66e;throw new Error(_0x4e2322+_0xcdfe15(0x155)+_0x31b66e+_0xcdfe15(0x162));}if('win32'===_0x237ea0){const _0x530ce8=_0x25f829['readdirSync'](_0x4e2322)[_0xcdfe15(0x175)](_0x339e3a=>{const _0x514788=_0xcdfe15;if(!_0x339e3a[_0x514788(0x159)]()[_0x514788(0x156)](_0x514788(0x149)))return!0x1;try{return _0x25f829['statSync'](_0x10949d[_0x514788(0x157)](_0x4e2322,_0x339e3a))[_0x514788(0x14e)]();}catch{return _0x1ce106[_0x514788(0x169)]('hETxL',_0x514788(0x174))?!0x1:_0x513f32[_0x514788(0x15d)](_0xa37c79[_0x514788(0x157)](_0x443516,_0x3ec1f2))[_0x514788(0x14e)]();}}),_0x5ae5da=_0x530ce8[_0xcdfe15(0x151)](_0x585131=>_0x10949d[_0xcdfe15(0x15e)](_0x585131,'.exe')['toLowerCase']()===_0x212d55[_0xcdfe15(0x159)]());if(_0x5ae5da)return _0x10949d[_0xcdfe15(0x157)](_0x4e2322,_0x5ae5da);if(0x1===_0x530ce8[_0xcdfe15(0x160)])return _0x10949d[_0xcdfe15(0x157)](_0x4e2322,_0x530ce8[0x0]);throw new Error(_0x1ce106['imsbc'](0x0,_0x530ce8['length'])?_0x4e2322+_0xcdfe15(0x17d):_0x4e2322+'\x20包含多个\x20.exe\x20('+_0x530ce8['join'](',\x20')+_0xcdfe15(0x150));}if(_0x1ce106[_0xcdfe15(0x14a)]===_0x237ea0){const _0x3467ec=_0x25f829[_0xcdfe15(0x166)](_0x4e2322)[_0xcdfe15(0x175)](_0x4d3ba2=>{const _0x3e42bb=_0xcdfe15,_0x23049b=_0x10949d[_0x3e42bb(0x157)](_0x4e2322,_0x4d3ba2);try{return!!_0x25f829[_0x3e42bb(0x15d)](_0x23049b)[_0x3e42bb(0x14e)]()&&(_0x25f829[_0x3e42bb(0x168)](_0x23049b,_0x25f829[_0x3e42bb(0x164)][_0x3e42bb(0x16c)]),!0x0);}catch{return!0x1;}}),_0xa3574f=_0x3467ec[_0xcdfe15(0x151)](_0x2320a7=>_0x2320a7[_0xcdfe15(0x159)]()===_0x212d55[_0xcdfe15(0x159)]());if(_0xa3574f)return _0x10949d[_0xcdfe15(0x157)](_0x4e2322,_0xa3574f);const _0x51c604=_0x3467ec[_0xcdfe15(0x175)](_0xb07e08=>!/\.(so|sh)(\.|$)/['test'](_0xb07e08)&&'chrome-sandbox'!==_0xb07e08);if(0x1===_0x51c604[_0xcdfe15(0x160)])return _0x10949d[_0xcdfe15(0x157)](_0x4e2322,_0x51c604[0x0]);throw new Error(0x0===_0x3467ec[_0xcdfe15(0x160)]?_0x4e2322+_0xcdfe15(0x153):_0x4e2322+'\x20包含多个可执行文件\x20('+_0x3467ec[_0xcdfe15(0x157)](',\x20')+_0xcdfe15(0x16d));}throw new Error(_0x4e2322+_0xcdfe15(0x14b));}function h(_0x447fc0,_0x344964){const _0x5dd584=_0x29e8ff,_0x1149b6={'PhcXJ':'object','prJYr':function(_0x4ed2bf,_0x3cdbde,_0x271c62){return _0x4ed2bf(_0x3cdbde,_0x271c62);}},_0x1725c0={..._0x447fc0};for(const _0x5d1d13 of Object[_0x5dd584(0x14d)](_0x344964))_0x344964[_0x5d1d13]&&_0x1149b6['PhcXJ']==typeof _0x344964[_0x5d1d13]&&!Array[_0x5dd584(0x177)](_0x344964[_0x5d1d13])&&_0x447fc0[_0x5d1d13]&&_0x1149b6[_0x5dd584(0x14c)]==typeof _0x447fc0[_0x5d1d13]?_0x1725c0[_0x5d1d13]=_0x1149b6[_0x5dd584(0x152)](h,_0x447fc0[_0x5d1d13],_0x344964[_0x5d1d13]):void 0x0!==_0x344964[_0x5d1d13]&&(_0x1725c0[_0x5d1d13]=_0x344964[_0x5d1d13]);return _0x1725c0;}export{c as getConfigDir,f as getConfigPath,a as ensureConfigDir,u as loadConfig,l as loadRawConfig,p as saveConfig,y as configExists,d as resolveBinPath};
2
+ const _0x1f2876=_0x4bea;(function(_0x2aa2aa,_0x24b605){const _0x180afa=_0x4bea,_0x5e1620=_0x2aa2aa();while(!![]){try{const _0xc2deb2=parseInt(_0x180afa(0x15c))/0x1+-parseInt(_0x180afa(0x184))/0x2+-parseInt(_0x180afa(0x183))/0x3*(parseInt(_0x180afa(0x17c))/0x4)+parseInt(_0x180afa(0x154))/0x5*(parseInt(_0x180afa(0x185))/0x6)+parseInt(_0x180afa(0x187))/0x7*(-parseInt(_0x180afa(0x163))/0x8)+parseInt(_0x180afa(0x172))/0x9+-parseInt(_0x180afa(0x165))/0xa;if(_0xc2deb2===_0x24b605)break;else _0x5e1620['push'](_0x5e1620['shift']());}catch(_0x1cfaff){_0x5e1620['push'](_0x5e1620['shift']());}}}(_0x3223,0x341d3));import _0x3c57f2 from'fs';import _0x2d4cd3 from'path';import _0x15a9de from'os';import _0x2ef4a1 from'js-yaml';var o=_0x2d4cd3['join'](_0x15a9de[_0x1f2876(0x17d)](),_0x1f2876(0x16d)),i=_0x2d4cd3['join'](o,_0x1f2876(0x15d)),s={'app':{'bin-path':'','cdp-port':0x2406},'api':{'copilot-port':0x4705,'control-port':0x4706,'direct-port':0x4709},'control-mode':_0x1f2876(0x168),'screenshot-dir':_0x1f2876(0x170)};function c(){return o;}function f(){return i;}function _0x3223(){const _0x247c7c=['BwTKAxjtEw5J','twfJt1m','mZy3mdy5yMvsDKnJ','y29UzMLNlNLHBwW','kE+8JoIVT+MfJEE9RUwfT+s9K+I3R+w+Ha','B2jQzwn0','lMfWCa','AxnbCNjHEq','BgLUDxG','mJC3ntj0Een0C0S','rxHSr2q','mtmWnda4mfvqBwfcAa','yMfZzw5HBwu','CgXHDgzVCM0','yxv0BW','CMvHzezPBgvtEw5J','DxrMltG','CuvcyMC','zMLUza','lNzTB3mTzwrNzs1JBgK','ioEBRUw9LEs4REACQUAjVUwiSowpR+AjP+IHJoAwH+s7TU+8JoIVT+MfJEE9RUwfT+s9K+I3R+w+Ha','BgvUz3rO','lI9Zy3jLzw5ZAg90CW','q29UDgvUDhm','mtm1otK0nxfbrLnbAG','u1LYs2i','A2v5CW','zgfYD2LU','kE+8JoIVT+MfJEE9RUwfT+s9K+EAHowpR+AjP+IHJoAwH+s7TUI3R+w+Ha','AxngAwXL','y29UC3rHBNrZ','AM9PBG','Dg9mB3DLCKnHC2u','iowmHEwqQ+wKMUs4QUwpR+AjP+IHJoAwH+s7TIaO','ngnPEwvSAa','Ag9TzwrPCG','iowmHEwqQ+wKMUs4QIaUzxHLicG','zxHPC3rZu3LUyW','C3rHDfn5BMm','q3bNqxK','ioEBRUw9LEs4REACQUAjVUwiScaUzxHLioAwH+s7TU+8JoIVT+MfJEE9RUwfT+s9K+EAHowpR+AjP+IHJoAwH+s7TUI3R+w+Ha','oteZndDnCezPvfG','mZG2nJK2rLHZvNnu','mJi5nZq2AuvOzNnJ','zw5KC1DPDgG','ndqXsLPZDhft','y2HYB21LlxnHBMrIB3G','77Ym6k+36ywn572U5A6E6zMf5y+V5OMN6kgm5PAh5lU26lEV5B6e','ioAyR+EBRUw9LEIaJoMDNUwpR+AjP+IHJoAwH+s7TU+8JoIVT+MfJEE9RUwfT+s9K+EAHowpR+AjP+IHJoAwH+s7TUI3R+w+Ha','lMv4zq','D3jPDgvgAwXLu3LUyW','zMLSDgvY','mZvIrhfpAwC','Bg9Hza','ioAyRYaUyxbWioEBRUw9LE+8JoACQUAjVUwiSca','D2LUmZi','CMvHzgrPCLn5BMm','wf9psW'];_0x3223=function(){return _0x247c7c;};return _0x3223();}function a(){const _0x185a06=_0x1f2876;_0x3c57f2[_0x185a06(0x17f)](o)||_0x3c57f2[_0x185a06(0x15a)](o,{'recursive':!0x0});}function u(){const _0x4fd944=_0x1f2876;if(!_0x3c57f2[_0x4fd944(0x17f)](i))return{...s};const _0x532f5a=_0x3c57f2[_0x4fd944(0x169)](i,'utf-8'),_0x2a7231=_0x2ef4a1[_0x4fd944(0x155)](_0x532f5a);return h(s,_0x2a7231);}function l(){const _0x3e2b6=_0x1f2876,_0x1ae514={'eKKDT':'utf-8'};if(!_0x3c57f2[_0x3e2b6(0x17f)](i))return null;const _0x4f8a6f=_0x3c57f2[_0x3e2b6(0x169)](i,_0x1ae514['eKKDT']);return _0x2ef4a1[_0x3e2b6(0x155)](_0x4f8a6f)||null;}function p(_0x5bd78d){const _0x33ff39=_0x1f2876;a();const _0x344dfa=_0x2ef4a1['dump'](_0x5bd78d,{'lineWidth':0x78,'noRefs':!0x0});_0x3c57f2[_0x33ff39(0x18c)](i,_0x344dfa,_0x33ff39(0x16a));}function _0x4bea(_0x200c9f,_0x420b7e){_0x200c9f=_0x200c9f-0x153;const _0x3223d2=_0x3223();let _0x4beaad=_0x3223d2[_0x200c9f];if(_0x4bea['bfcGtG']===undefined){var _0x20d9d3=function(_0x13ebb7){const _0x91fa55='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x131d11='',_0x20bad9='';for(let _0x397919=0x0,_0x1cf178,_0x178f03,_0x20189a=0x0;_0x178f03=_0x13ebb7['charAt'](_0x20189a++);~_0x178f03&&(_0x1cf178=_0x397919%0x4?_0x1cf178*0x40+_0x178f03:_0x178f03,_0x397919++%0x4)?_0x131d11+=String['fromCharCode'](0xff&_0x1cf178>>(-0x2*_0x397919&0x6)):0x0){_0x178f03=_0x91fa55['indexOf'](_0x178f03);}for(let _0x28c6b9=0x0,_0x116df8=_0x131d11['length'];_0x28c6b9<_0x116df8;_0x28c6b9++){_0x20bad9+='%'+('00'+_0x131d11['charCodeAt'](_0x28c6b9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x20bad9);};_0x4bea['jDcmHc']=_0x20d9d3,_0x4bea['FjWkzh']={},_0x4bea['bfcGtG']=!![];}const _0x4155df=_0x3223d2[0x0],_0x2428d0=_0x200c9f+_0x4155df,_0x59e0a6=_0x4bea['FjWkzh'][_0x2428d0];return!_0x59e0a6?(_0x4beaad=_0x4bea['jDcmHc'](_0x4beaad),_0x4bea['FjWkzh'][_0x2428d0]=_0x4beaad):_0x4beaad=_0x59e0a6,_0x4beaad;}function y(){const _0x2584b3=_0x1f2876;return _0x3c57f2[_0x2584b3(0x17f)](i);}function d(_0x201d79){const _0x3bbdef=_0x1f2876,_0x492041={'wTxUh':_0x3bbdef(0x175),'CpgAy':_0x3bbdef(0x160),'mSqot':_0x3bbdef(0x15b),'qEBbg':function(_0x56838a,_0x4d4d86){return _0x56838a===_0x4d4d86;},'SYrKb':function(_0x1ab4cc,_0x2289dd){return _0x1ab4cc===_0x2289dd;}};if(!_0x3c57f2[_0x3bbdef(0x17f)](_0x201d79))return _0x201d79;if(!_0x3c57f2['statSync'](_0x201d79)['isDirectory']())return _0x201d79;const _0x56c2bf=process[_0x3bbdef(0x167)],_0x5d2857=_0x2d4cd3[_0x3bbdef(0x166)](_0x201d79);if(_0x492041['wTxUh']===_0x56c2bf&&_0x201d79[_0x3bbdef(0x186)](_0x492041[_0x3bbdef(0x181)])){const _0x26319c=_0x2d4cd3[_0x3bbdef(0x166)](_0x201d79,_0x492041['CpgAy']),_0x4ce6c6=_0x2d4cd3['join'](_0x201d79,_0x3bbdef(0x171),_0x492041['mSqot'],_0x26319c);if(_0x3c57f2[_0x3bbdef(0x17f)](_0x4ce6c6))return _0x4ce6c6;throw new Error(_0x201d79+_0x3bbdef(0x156)+_0x4ce6c6+_0x3bbdef(0x189));}if(_0x492041[_0x3bbdef(0x16b)](_0x3bbdef(0x157),_0x56c2bf)){const _0x4cf682=_0x3c57f2[_0x3bbdef(0x158)](_0x201d79)[_0x3bbdef(0x153)](_0x5755eb=>{const _0x26156b=_0x3bbdef;if(!_0x5755eb[_0x26156b(0x17a)]()[_0x26156b(0x186)]('.exe'))return!0x1;try{return _0x3c57f2['statSync'](_0x2d4cd3[_0x26156b(0x179)](_0x201d79,_0x5755eb))['isFile']();}catch{return!0x1;}}),_0x3794c7=_0x4cf682[_0x3bbdef(0x16c)](_0x1c6075=>_0x2d4cd3[_0x3bbdef(0x166)](_0x1c6075,_0x3bbdef(0x18b))[_0x3bbdef(0x17a)]()===_0x5d2857[_0x3bbdef(0x17a)]());if(_0x3794c7)return _0x2d4cd3[_0x3bbdef(0x179)](_0x201d79,_0x3794c7);if(0x1===_0x4cf682[_0x3bbdef(0x16f)])return _0x2d4cd3['join'](_0x201d79,_0x4cf682[0x0]);throw new Error(_0x492041[_0x3bbdef(0x173)](0x0,_0x4cf682[_0x3bbdef(0x16f)])?_0x201d79+_0x3bbdef(0x182):_0x201d79+_0x3bbdef(0x17e)+_0x4cf682['join'](',\x20')+_0x3bbdef(0x176));}if(_0x3bbdef(0x162)===_0x56c2bf){const _0x2049ab=_0x3c57f2[_0x3bbdef(0x158)](_0x201d79)[_0x3bbdef(0x153)](_0x562779=>{const _0x13a95b=_0x3bbdef,_0xe1035a=_0x2d4cd3['join'](_0x201d79,_0x562779);try{return!!_0x3c57f2[_0x13a95b(0x180)](_0xe1035a)[_0x13a95b(0x177)]()&&(_0x3c57f2['accessSync'](_0xe1035a,_0x3c57f2[_0x13a95b(0x178)][_0x13a95b(0x159)]),!0x0);}catch{return!0x1;}}),_0x3de90c=_0x2049ab['find'](_0x5d3f9d=>_0x5d3f9d[_0x3bbdef(0x17a)]()===_0x5d2857[_0x3bbdef(0x17a)]());if(_0x3de90c)return _0x2d4cd3[_0x3bbdef(0x179)](_0x201d79,_0x3de90c);const _0x4357dd=_0x2049ab['filter'](_0x80e978=>!/\.(so|sh)(\.|$)/['test'](_0x80e978)&&_0x3bbdef(0x188)!==_0x80e978);if(0x1===_0x4357dd[_0x3bbdef(0x16f)])return _0x2d4cd3[_0x3bbdef(0x179)](_0x201d79,_0x4357dd[0x0]);throw new Error(0x0===_0x2049ab[_0x3bbdef(0x16f)]?_0x201d79+_0x3bbdef(0x16e):_0x201d79+_0x3bbdef(0x17b)+_0x2049ab['join'](',\x20')+_0x3bbdef(0x15e));}throw new Error(_0x201d79+_0x3bbdef(0x18a));}function h(_0x22f59f,_0x2a630a){const _0x21cb29=_0x1f2876,_0xb19134={'ExlGd':_0x21cb29(0x15f)},_0x4c1f5e={..._0x22f59f};for(const _0xc8ec7f of Object[_0x21cb29(0x174)](_0x2a630a))_0x2a630a[_0xc8ec7f]&&'object'==typeof _0x2a630a[_0xc8ec7f]&&!Array[_0x21cb29(0x161)](_0x2a630a[_0xc8ec7f])&&_0x22f59f[_0xc8ec7f]&&_0xb19134[_0x21cb29(0x164)]==typeof _0x22f59f[_0xc8ec7f]?_0x4c1f5e[_0xc8ec7f]=h(_0x22f59f[_0xc8ec7f],_0x2a630a[_0xc8ec7f]):void 0x0!==_0x2a630a[_0xc8ec7f]&&(_0x4c1f5e[_0xc8ec7f]=_0x2a630a[_0xc8ec7f]);return _0x4c1f5e;}export{c as getConfigDir,f as getConfigPath,a as ensureConfigDir,u as loadConfig,l as loadRawConfig,p as saveConfig,y as configExists,d as resolveBinPath};