@ranger-testing/ranger-cli 2.5.2 → 2.5.4-alpha.071b7bd-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.
Files changed (69) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/mcpBootstrap.js +1 -1
  25. package/build/commands/setup/claude.js +1 -1
  26. package/build/commands/setup/opencode.js +1 -1
  27. package/build/commands/setupCi.js +1 -1
  28. package/build/commands/skillup.js +1 -1
  29. package/build/commands/start.js +1 -1
  30. package/build/commands/status.js +1 -1
  31. package/build/commands/update.js +1 -1
  32. package/build/commands/updateEnv.js +1 -1
  33. package/build/commands/useEnv.js +1 -1
  34. package/build/commands/utils/activeProfile.js +1 -1
  35. package/build/commands/utils/agentEnv.js +1 -1
  36. package/build/commands/utils/browserSessionsApi.js +1 -1
  37. package/build/commands/utils/claudeConfig.js +1 -1
  38. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  39. package/build/commands/utils/claudePlugin.js +1 -1
  40. package/build/commands/utils/crypto.js +1 -1
  41. package/build/commands/utils/desirePathLog.js +1 -1
  42. package/build/commands/utils/deviceAuth.js +1 -1
  43. package/build/commands/utils/environment.js +1 -1
  44. package/build/commands/utils/featureApi.js +1 -1
  45. package/build/commands/utils/fixWebmDuration.js +1 -1
  46. package/build/commands/utils/keychain.js +1 -1
  47. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  48. package/build/commands/utils/mcpImageBase64.js +1 -1
  49. package/build/commands/utils/model.js +1 -1
  50. package/build/commands/utils/opencodeConfig.js +1 -1
  51. package/build/commands/utils/playwrightCli.js +1 -1
  52. package/build/commands/utils/profileMessages.js +1 -1
  53. package/build/commands/utils/profileSetupBanner.js +1 -1
  54. package/build/commands/utils/rangerConfig.js +1 -1
  55. package/build/commands/utils/rangerRoot.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/stitchWebmFiles.js +1 -1
  62. package/build/commands/utils/telemetry.js +1 -1
  63. package/build/commands/utils/tokenRefresh.js +1 -1
  64. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  65. package/build/commands/utils/userApi.js +1 -1
  66. package/build/commands/utils/version.js +1 -1
  67. package/build/commands/verifyFeature.js +1 -1
  68. package/build/commands/verifyFeatureCli.js +1 -1
  69. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0xcfafa2,_0x469f59){const _0x578677=_0x52bc,_0x15bd6d=_0xcfafa2();while(!![]){try{const _0x48761d=-parseInt(_0x578677(0xb4))/0x1+-parseInt(_0x578677(0xad))/0x2+-parseInt(_0x578677(0x92))/0x3*(parseInt(_0x578677(0xbd))/0x4)+-parseInt(_0x578677(0xbc))/0x5+parseInt(_0x578677(0x95))/0x6*(-parseInt(_0x578677(0x9c))/0x7)+parseInt(_0x578677(0x8f))/0x8+-parseInt(_0x578677(0x9d))/0x9*(-parseInt(_0x578677(0x93))/0xa);if(_0x48761d===_0x469f59)break;else _0x15bd6d['push'](_0x15bd6d['shift']());}catch(_0x3867c2){_0x15bd6d['push'](_0x15bd6d['shift']());}}}(_0x4c66,0x80732));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0x40e410){const _0x4f96bc=_0x52bc,_0x33fe64={'ShaZY':function(_0x57eda7,_0x358e3e){return _0x57eda7===_0x358e3e;},'BnRCW':'object','JVRws':function(_0x4c7afb,_0x3740bf){return _0x4c7afb!==_0x3740bf;}};return _0x33fe64[_0x4f96bc(0xa3)](typeof _0x40e410,_0x33fe64[_0x4f96bc(0xa7)])&&_0x33fe64['JVRws'](_0x40e410,null);}function isImageBlock(_0x5d2e6a){const _0x18d0b2=_0x52bc;return isRecord(_0x5d2e6a)&&_0x5d2e6a['type']===_0x18d0b2(0xa2);}function isDataUrl(_0x28ab5f){const _0x53ba08=_0x52bc,_0x3dfc6b={'kJZCB':_0x53ba08(0x9e)};return _0x28ab5f[_0x53ba08(0x96)](_0x3dfc6b['kJZCB']);}function parseDataUrl(_0x438066){const _0x2475b6=_0x52bc,_0xc3fac3=/^data:([^;]+);base64,(.+)$/[_0x2475b6(0xd2)](_0x438066);if(!_0xc3fac3)return null;const _0x51796e=_0xc3fac3[0x1][_0x2475b6(0xab)]();if(!isValidMediaType(_0x51796e))return null;return{'data':_0xc3fac3[0x2],'mediaType':_0x51796e};}function isValidMediaType(_0x298fb4){const _0x9a8a7c=_0x52bc,_0x32c1e0={'yOEeR':_0x9a8a7c(0x8d),'DSOyC':'image/gif'};return[_0x32c1e0['yOEeR'],_0x9a8a7c(0xcd),_0x32c1e0['DSOyC'],'image/webp']['includes'](_0x298fb4);}function _0x4c66(){const _0x5209d4=['content','status','McSwp','3582455tzSDRl','576xDPiqa','url','gif','size','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','zARkX','length','webp','source','https://','VlPFP','updated','headers','AscJl','PostToolUse','coPWF','image/png','arrayBuffer','CuQoL','toString','\x20bytes)','exec','map','ClcDx','image/jpeg','type','5453904GtutKT','jpg','UuHAp','12588hhCFCF','470XNQthP','KtiAK','2418618acsLMt','startsWith','http://','VCuna','Image\x20exceeds\x20size\x20limit\x20(','entries','jpeg','7OKJGCC','417078ZBUigC','data:','aAAcd','image/webp','get','image','ShaZY','TPjsY','byteLength','IflkV','BnRCW','qHBIz','block','tool_response','toLowerCase','yCGHt','731274zLnuMe','base64','image/gif','isArray','IVStE','fromEntries','APngd','244227EipyWB','JKiwh','mimeType','LGLsj','xjnAP'];_0x4c66=function(){return _0x5209d4;};return _0x4c66();}function _0x52bc(_0x4f58b8,_0x1ecf59){_0x4f58b8=_0x4f58b8-0x8b;const _0x4c6610=_0x4c66();let _0x52bc5d=_0x4c6610[_0x4f58b8];return _0x52bc5d;}function inferMediaType(_0x127b76,_0x13ab3d){const _0x58cb45=_0x52bc,_0x3c756={'xjnAP':function(_0x2910b6,_0x3ac46a){return _0x2910b6(_0x3ac46a);},'zOUWv':_0x58cb45(0x90),'HrtZM':_0x58cb45(0x9b),'KtiAK':'image/jpeg','VCuna':'png','rkkGs':_0x58cb45(0xaf),'ZqKXx':_0x58cb45(0xc4),'IVStE':_0x58cb45(0xa0),'JciYG':'image/png'};if(_0x127b76){const _0x588f3e=_0x127b76[_0x58cb45(0xab)]()['split'](';')[0x0]['trim']();if(_0x3c756[_0x58cb45(0xb8)](isValidMediaType,_0x588f3e))return _0x588f3e;}const _0x459f76=extname(_0x13ab3d)[_0x58cb45(0xab)]()['replace']('.','');switch(_0x459f76){case _0x3c756['zOUWv']:case _0x3c756['HrtZM']:return _0x3c756[_0x58cb45(0x94)];case _0x3c756[_0x58cb45(0x98)]:return _0x58cb45(0xcd);case _0x58cb45(0xbf):return _0x3c756['rkkGs'];case _0x3c756['ZqKXx']:return _0x3c756[_0x58cb45(0xb1)];default:return _0x3c756['JciYG'];}}async function readImageFromUrl(_0x5a5189){const _0x11c35a=_0x52bc,_0x4a53f1={'vFRek':function(_0x32fcd0,_0x4d7c4a){return _0x32fcd0(_0x4d7c4a);},'zARkX':_0x11c35a(0xc1),'AscJl':'file://','CuQoL':_0x11c35a(0x97),'APngd':function(_0x279035,_0x39d4f8,_0x219073){return _0x279035(_0x39d4f8,_0x219073);},'ClcDx':function(_0x11e6db,_0x4cb7ca){return _0x11e6db(_0x4cb7ca);},'yCGHt':function(_0x4cc8d5,_0x7cb780){return _0x4cc8d5>_0x7cb780;},'cTGME':function(_0x2f630d,_0x209725){return _0x2f630d>_0x209725;},'JKiwh':'base64'};if(_0x4a53f1['vFRek'](isDataUrl,_0x5a5189)){const _0x297172=parseDataUrl(_0x5a5189);if(_0x297172)return _0x297172;throw new Error(_0x4a53f1[_0x11c35a(0xc2)]);}if(_0x5a5189[_0x11c35a(0x96)](_0x4a53f1[_0x11c35a(0xca)])){const _0x1d3485=fileURLToPath(_0x5a5189),_0x185079=await _0x4a53f1['vFRek'](stat,_0x1d3485);if(_0x185079[_0x11c35a(0xc0)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x11c35a(0x99)+MAX_IMAGE_SIZE_BYTES+_0x11c35a(0xd1));const _0x487975=await readFile(_0x1d3485);return{'data':_0x487975[_0x11c35a(0xd0)]('base64'),'mediaType':inferMediaType(null,_0x1d3485)};}if(_0x5a5189[_0x11c35a(0x96)](_0x4a53f1[_0x11c35a(0xcf)])||_0x5a5189[_0x11c35a(0x96)](_0x11c35a(0xc6))){const _0x52f41e=await _0x4a53f1[_0x11c35a(0xb3)](fetch,_0x5a5189,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x52f41e['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x52f41e[_0x11c35a(0xba)]);const _0x634449=_0x52f41e['headers']['get']('content-length');if(_0x634449){const _0x3c6891=_0x4a53f1[_0x11c35a(0x8c)](Number,_0x634449);if(!Number['isNaN'](_0x3c6891)&&_0x4a53f1[_0x11c35a(0xac)](_0x3c6891,MAX_IMAGE_SIZE_BYTES))throw new Error(_0x11c35a(0x99)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x4b44aa=await _0x52f41e[_0x11c35a(0xce)]();if(_0x4a53f1['cTGME'](_0x4b44aa[_0x11c35a(0xa5)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x11c35a(0x99)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0x4b44aa)['toString'](_0x4a53f1[_0x11c35a(0xb5)]),'mediaType':inferMediaType(_0x52f41e[_0x11c35a(0xc9)][_0x11c35a(0xa1)]('content-type'),_0x5a5189)};}const _0x595c69=await _0x4a53f1['ClcDx'](stat,_0x5a5189);if(_0x595c69['size']>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x11c35a(0xd1));const _0x8b1f3a=await readFile(_0x5a5189);return{'data':_0x8b1f3a['toString']('base64'),'mediaType':inferMediaType(null,_0x5a5189)};}async function convertImageBlockToBase64(_0x2f6636){const _0x346bad=_0x52bc,_0x45a90b={'qNHDb':function(_0x46f285,_0x44cba1){return _0x46f285===_0x44cba1;},'coPWF':function(_0x18b8cd,_0x57abaa){return _0x18b8cd(_0x57abaa);},'CewVI':'base64'};if(_0x45a90b['qNHDb'](_0x2f6636[_0x346bad(0xc5)]?.[_0x346bad(0x8e)],_0x346bad(0xae)))return{'updated':![],'block':_0x2f6636};if(_0x2f6636['data']&&_0x2f6636[_0x346bad(0xb6)])return{'updated':![],'block':_0x2f6636};const _0x3dbc0b=_0x2f6636['source']?.['url']??_0x2f6636[_0x346bad(0xbe)];if(!_0x3dbc0b)return{'updated':![],'block':_0x2f6636};const _0x511c69=await _0x45a90b[_0x346bad(0xcc)](readImageFromUrl,_0x3dbc0b);return{'updated':!![],'block':{..._0x2f6636,'source':{'type':_0x45a90b['CewVI'],'media_type':_0x511c69['mediaType'],'data':_0x511c69['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x313d96){const _0x438b0b=_0x52bc,_0x1b5d7f={'zKgEr':function(_0xd39e7b,_0xd55f22){return _0xd39e7b(_0xd55f22);}};if(!isRecord(_0x313d96))return{'updated':![],'output':_0x313d96};const _0x3281dd=_0x313d96[_0x438b0b(0xb9)];if(!Array[_0x438b0b(0xb0)](_0x3281dd))return{'updated':![],'output':_0x313d96};let _0x4fb130=![];const _0x46df40=await Promise['all'](_0x3281dd[_0x438b0b(0x8b)](async _0x44258a=>{const _0x1be978=_0x438b0b;if(!_0x1b5d7f['zKgEr'](isImageBlock,_0x44258a))return _0x44258a;try{const _0x4b1c26=await convertImageBlockToBase64(_0x44258a);if(_0x4b1c26[_0x1be978(0xc8)])_0x4fb130=!![];return _0x4b1c26[_0x1be978(0xa9)];}catch{return _0x44258a;}}));if(!_0x4fb130)return{'updated':![],'output':_0x313d96};return{'updated':!![],'output':{..._0x313d96,'content':_0x46df40}};}function sanitizeLoneSurrogates(_0x11f467){const _0x8761b5=_0x52bc,_0x31fb98={'LGLsj':function(_0x52fdd4,_0x9a0afc){return _0x52fdd4<_0x9a0afc;},'aAAcd':function(_0x2a5abd,_0x53ea7b){return _0x2a5abd>=_0x53ea7b;},'uBCpg':function(_0xde1a9,_0x5d8d5b){return _0xde1a9<=_0x5d8d5b;},'VlPFP':function(_0x1a1145,_0x50451f){return _0x1a1145>=_0x50451f;},'qHBIz':function(_0xb81a11,_0x5c49fe){return _0xb81a11+_0x5c49fe;},'IflkV':function(_0x549fae,_0x17675e){return _0x549fae<=_0x17675e;}};let _0x448ab0=![],_0x3f27d4='';for(let _0x466bc0=0x0;_0x31fb98[_0x8761b5(0xb7)](_0x466bc0,_0x11f467[_0x8761b5(0xc3)]);_0x466bc0+=0x1){const _0x8f76dd=_0x11f467['charCodeAt'](_0x466bc0);if(_0x31fb98[_0x8761b5(0x9f)](_0x8f76dd,0xd800)&&_0x31fb98['uBCpg'](_0x8f76dd,0xdbff)){const _0x24522a=_0x11f467['charCodeAt'](_0x466bc0+0x1);if(_0x31fb98[_0x8761b5(0xc7)](_0x24522a,0xdc00)&&_0x24522a<=0xdfff){_0x3f27d4+=_0x31fb98[_0x8761b5(0xa8)](_0x11f467[_0x466bc0],_0x11f467[_0x466bc0+0x1]),_0x466bc0+=0x1;continue;}_0x448ab0=!![],_0x3f27d4+='�';continue;}if(_0x8f76dd>=0xdc00&&_0x31fb98[_0x8761b5(0xa6)](_0x8f76dd,0xdfff)){_0x448ab0=!![],_0x3f27d4+='�';continue;}_0x3f27d4+=_0x11f467[_0x466bc0];}return _0x448ab0?{'updated':_0x448ab0,'value':_0x3f27d4}:{'updated':_0x448ab0,'value':_0x11f467};}function sanitizeLoneSurrogatesDeep(_0x1dc287){const _0x2be73f=_0x52bc,_0x29d18a={'UuHAp':function(_0x3f2263,_0x14e936){return _0x3f2263(_0x14e936);},'gPOhU':function(_0x2e11b5,_0x2372fa){return _0x2e11b5===_0x2372fa;}};if(_0x29d18a['gPOhU'](typeof _0x1dc287,'string'))return sanitizeLoneSurrogates(_0x1dc287);if(Array['isArray'](_0x1dc287)){let _0x4607d5=![];const _0x2c5ac6=_0x1dc287['map'](_0x1da5cc=>{const _0x441dfe=sanitizeLoneSurrogatesDeep(_0x1da5cc);return _0x441dfe['updated']&&(_0x4607d5=!![]),_0x441dfe['value'];});return _0x4607d5?{'updated':!![],'value':_0x2c5ac6}:{'updated':![],'value':_0x1dc287};}if(!_0x29d18a[_0x2be73f(0x91)](isRecord,_0x1dc287))return{'updated':![],'value':_0x1dc287};let _0x4ea9a5=![];const _0x40b4c9=Object[_0x2be73f(0x9a)](_0x1dc287)['map'](([_0x1a22ea,_0x296ab7])=>{const _0x5b0145=_0x29d18a['UuHAp'](sanitizeLoneSurrogatesDeep,_0x296ab7);return _0x5b0145['updated']&&(_0x4ea9a5=!![]),[_0x1a22ea,_0x5b0145['value']];});return _0x4ea9a5?{'updated':!![],'value':Object[_0x2be73f(0xb2)](_0x40b4c9)}:{'updated':![],'value':_0x1dc287};}export function createMcpImageBase64Hook(){const _0x431cff=_0x52bc,_0x30a687={'McSwp':function(_0x485f54,_0x56c729){return _0x485f54!==_0x56c729;},'TPjsY':_0x431cff(0xcb),'SIhyq':function(_0x40df1c,_0x3ead1b){return _0x40df1c(_0x3ead1b);}};return async _0x35bb69=>{const _0x5b0325=_0x431cff;if(_0x30a687[_0x5b0325(0xbb)](_0x35bb69['hook_event_name'],_0x30a687['TPjsY']))return{};const _0x4e479a=_0x35bb69,_0x4a5cd1=await convertToolOutputImagesToBase64(_0x4e479a[_0x5b0325(0xaa)]),_0x26c9ca=_0x30a687['SIhyq'](sanitizeLoneSurrogatesDeep,_0x4a5cd1['output']),_0x338271=_0x4a5cd1['updated']||_0x26c9ca['updated'];if(!_0x338271)return{};return{'hookSpecificOutput':{'hookEventName':_0x30a687[_0x5b0325(0xa4)],'updatedMCPToolOutput':_0x26c9ca['value']}};};}
1
+ (function(_0x226b7f,_0x25ba17){const _0x117ed9=_0x1c73,_0xc818b9=_0x226b7f();while(!![]){try{const _0x543422=parseInt(_0x117ed9(0xc6))/0x1*(parseInt(_0x117ed9(0xcd))/0x2)+-parseInt(_0x117ed9(0xc2))/0x3+-parseInt(_0x117ed9(0xd2))/0x4+parseInt(_0x117ed9(0xb0))/0x5*(-parseInt(_0x117ed9(0x9d))/0x6)+-parseInt(_0x117ed9(0xae))/0x7*(-parseInt(_0x117ed9(0xbe))/0x8)+parseInt(_0x117ed9(0xce))/0x9*(-parseInt(_0x117ed9(0xb9))/0xa)+parseInt(_0x117ed9(0xd1))/0xb;if(_0x543422===_0x25ba17)break;else _0xc818b9['push'](_0xc818b9['shift']());}catch(_0x4dfa89){_0xc818b9['push'](_0xc818b9['shift']());}}}(_0x1731,0x716ff));import{readFile,stat}from'fs/promises';import{extname}from'path';function _0x1731(){const _0xdc78c=['EijaO','4524942xTNSxf','Failed\x20to\x20fetch\x20image:\x20','sTFis','value','source','fromEntries','toLowerCase','AHnCM','image','data:','data','block','Image\x20exceeds\x20size\x20limit\x20(','map','CDmte','PmvvZ','gif','7ViWhIC','isArray','5tAWbmp','entries','get','mvDHx','\x20bytes)','image/gif','toString','VIKVE','HqjAc','71000LpkBat','wfgQJ','size','vwdMQ','gyHtX','2890568JlcNbA','HgpEh','hook_event_name','object','2152089MFUrWr','drkHr','all','charCodeAt','1SDUAAK','mJnTk','content-length','onKll','split','image/png','zxdQQ','1723132NxFwIJ','522TBJGjd','isNaN','base64','15540514lunoGx','1150808wVGHfR','arrayBuffer','replace','image/jpeg','file://','fNKws','wESou','IqoBN','DJZsf','startsWith','type','string','image/webp','bPQjT','mediaType','updated'];_0x1731=function(){return _0xdc78c;};return _0x1731();}import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0x19fb73){const _0x182246=_0x1c73,_0x3c0506={'drkHr':_0x182246(0xc1),'gyHtX':function(_0x288768,_0x54f8f2){return _0x288768!==_0x54f8f2;}};return typeof _0x19fb73===_0x3c0506[_0x182246(0xc3)]&&_0x3c0506[_0x182246(0xbd)](_0x19fb73,null);}function isImageBlock(_0x4aa03c){const _0x594db9=_0x1c73,_0x1818cf={'oREMP':function(_0x4e49a3,_0x2a6881){return _0x4e49a3(_0x2a6881);},'gUstl':function(_0x9a708d,_0x1166c3){return _0x9a708d===_0x1166c3;}};return _0x1818cf['oREMP'](isRecord,_0x4aa03c)&&_0x1818cf['gUstl'](_0x4aa03c[_0x594db9(0x96)],_0x594db9(0xa5));}function isDataUrl(_0x3303d5){const _0x5136d4=_0x1c73,_0x376f16={'vwdMQ':_0x5136d4(0xa6)};return _0x3303d5['startsWith'](_0x376f16[_0x5136d4(0xbc)]);}function parseDataUrl(_0x5b42d9){const _0x2faaf9=/^data:([^;]+);base64,(.+)$/['exec'](_0x5b42d9);if(!_0x2faaf9)return null;const _0x53349a=_0x2faaf9[0x1]['toLowerCase']();if(!isValidMediaType(_0x53349a))return null;return{'data':_0x2faaf9[0x2],'mediaType':_0x53349a};}function isValidMediaType(_0x3b514f){const _0x198527=_0x1c73,_0x43a6c0={'RysYe':_0x198527(0xcb),'mbIEP':_0x198527(0x98)};return[_0x198527(0x8f),_0x43a6c0['RysYe'],_0x198527(0xb5),_0x43a6c0['mbIEP']]['includes'](_0x3b514f);}function inferMediaType(_0xcc21eb,_0x87f46b){const _0x25904e=_0x1c73,_0x7afeca={'XHzHQ':function(_0x10c7b1,_0x13ba14){return _0x10c7b1(_0x13ba14);},'fEKDy':'jpeg','mvDHx':_0x25904e(0xcb),'zxvrC':_0x25904e(0xad),'IqoBN':'image/webp'};if(_0xcc21eb){const _0x4d6b49=_0xcc21eb[_0x25904e(0xa3)]()[_0x25904e(0xca)](';')[0x0]['trim']();if(isValidMediaType(_0x4d6b49))return _0x4d6b49;}const _0x4bf5f4=_0x7afeca['XHzHQ'](extname,_0x87f46b)['toLowerCase']()[_0x25904e(0xd4)]('.','');switch(_0x4bf5f4){case'jpg':case _0x7afeca['fEKDy']:return'image/jpeg';case'png':return _0x7afeca[_0x25904e(0xb3)];case _0x7afeca['zxvrC']:return'image/gif';case'webp':return _0x7afeca[_0x25904e(0x93)];default:return'image/png';}}async function readImageFromUrl(_0x576b4b){const _0x568a19=_0x1c73,_0x28042a={'DXpFb':function(_0x1579b3,_0x134195){return _0x1579b3(_0x134195);},'zxdQQ':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','VIKVE':_0x568a19(0x90),'mJnTk':function(_0x231129,_0x1a9d08){return _0x231129(_0x1a9d08);},'sTFis':function(_0x55ce2e,_0x5327b0,_0x58f17e){return _0x55ce2e(_0x5327b0,_0x58f17e);},'PBpUb':'https://','EijaO':function(_0x3d4b38,_0x4bb796,_0x29ae3b){return _0x3d4b38(_0x4bb796,_0x29ae3b);},'wfgQJ':function(_0x2c9792,_0xcfdcd1){return _0x2c9792>_0xcfdcd1;},'HqjAc':function(_0x45ae93,_0x37eec){return _0x45ae93>_0x37eec;},'PmvvZ':_0x568a19(0xd0),'MKyus':'content-type','onKll':function(_0x87fca7,_0x1c4066){return _0x87fca7(_0x1c4066);},'onACT':function(_0x3daaae,_0x3a12e0){return _0x3daaae>_0x3a12e0;},'fNKws':function(_0x3c76db,_0x2069df){return _0x3c76db(_0x2069df);}};if(_0x28042a['DXpFb'](isDataUrl,_0x576b4b)){const _0x542173=parseDataUrl(_0x576b4b);if(_0x542173)return _0x542173;throw new Error(_0x28042a[_0x568a19(0xcc)]);}if(_0x576b4b[_0x568a19(0x95)](_0x28042a[_0x568a19(0xb7)])){const _0x45a142=fileURLToPath(_0x576b4b),_0x5a7fe7=await stat(_0x45a142);if(_0x5a7fe7[_0x568a19(0xbb)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x568a19(0xb4));const _0x378e86=await _0x28042a['mJnTk'](readFile,_0x45a142);return{'data':_0x378e86['toString'](_0x568a19(0xd0)),'mediaType':_0x28042a[_0x568a19(0x9f)](inferMediaType,null,_0x45a142)};}if(_0x576b4b['startsWith']('http://')||_0x576b4b['startsWith'](_0x28042a['PBpUb'])){const _0x2515ef=await _0x28042a[_0x568a19(0x9c)](fetch,_0x576b4b,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x2515ef['ok'])throw new Error(_0x568a19(0x9e)+_0x2515ef['status']);const _0xa267b0=_0x2515ef['headers'][_0x568a19(0xb2)](_0x568a19(0xc8));if(_0xa267b0){const _0x1397fb=_0x28042a[_0x568a19(0xc7)](Number,_0xa267b0);if(!Number[_0x568a19(0xcf)](_0x1397fb)&&_0x28042a[_0x568a19(0xba)](_0x1397fb,MAX_IMAGE_SIZE_BYTES))throw new Error(_0x568a19(0xa9)+MAX_IMAGE_SIZE_BYTES+_0x568a19(0xb4));}const _0x9d6d4d=await _0x2515ef[_0x568a19(0xd3)]();if(_0x28042a[_0x568a19(0xb8)](_0x9d6d4d['byteLength'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x568a19(0xb4));return{'data':Buffer['from'](_0x9d6d4d)[_0x568a19(0xb6)](_0x28042a[_0x568a19(0xac)]),'mediaType':_0x28042a['EijaO'](inferMediaType,_0x2515ef['headers']['get'](_0x28042a['MKyus']),_0x576b4b)};}const _0x46d0fa=await _0x28042a[_0x568a19(0xc9)](stat,_0x576b4b);if(_0x28042a['onACT'](_0x46d0fa['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x568a19(0xa9)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x685a14=await _0x28042a[_0x568a19(0x91)](readFile,_0x576b4b);return{'data':_0x685a14['toString'](_0x28042a['PmvvZ']),'mediaType':inferMediaType(null,_0x576b4b)};}async function convertImageBlockToBase64(_0x51815c){const _0x4883bb=_0x1c73,_0x2dc647={'QMIfs':function(_0x3d95b4,_0xe58ffe){return _0x3d95b4===_0xe58ffe;}};if(_0x2dc647['QMIfs'](_0x51815c['source']?.[_0x4883bb(0x96)],_0x4883bb(0xd0)))return{'updated':![],'block':_0x51815c};if(_0x51815c['data']&&_0x51815c['mimeType'])return{'updated':![],'block':_0x51815c};const _0x2ba138=_0x51815c[_0x4883bb(0xa1)]?.['url']??_0x51815c['url'];if(!_0x2ba138)return{'updated':![],'block':_0x51815c};const _0x291eff=await readImageFromUrl(_0x2ba138);return{'updated':!![],'block':{..._0x51815c,'source':{'type':'base64','media_type':_0x291eff[_0x4883bb(0x9a)],'data':_0x291eff[_0x4883bb(0xa7)]},'url':undefined}};}function _0x1c73(_0x490cb5,_0x234032){_0x490cb5=_0x490cb5-0x8f;const _0x17318d=_0x1731();let _0x1c7359=_0x17318d[_0x490cb5];return _0x1c7359;}async function convertToolOutputImagesToBase64(_0x44fda3){const _0x411bdd=_0x1c73,_0x3e7d64={'Rvued':function(_0x20abe1,_0x175873){return _0x20abe1(_0x175873);}};if(!_0x3e7d64['Rvued'](isRecord,_0x44fda3))return{'updated':![],'output':_0x44fda3};const _0x5f2322=_0x44fda3['content'];if(!Array[_0x411bdd(0xaf)](_0x5f2322))return{'updated':![],'output':_0x44fda3};let _0x3dd388=![];const _0x2f39a4=await Promise[_0x411bdd(0xc4)](_0x5f2322['map'](async _0x5f0105=>{const _0x46d967=_0x411bdd;if(!isImageBlock(_0x5f0105))return _0x5f0105;try{const _0x919455=await convertImageBlockToBase64(_0x5f0105);if(_0x919455[_0x46d967(0x9b)])_0x3dd388=!![];return _0x919455[_0x46d967(0xa8)];}catch{return _0x5f0105;}}));if(!_0x3dd388)return{'updated':![],'output':_0x44fda3};return{'updated':!![],'output':{..._0x44fda3,'content':_0x2f39a4}};}function sanitizeLoneSurrogates(_0x152954){const _0x239a67=_0x1c73,_0x32e3c2={'bPQjT':function(_0x31d051,_0x131383){return _0x31d051<_0x131383;},'wESou':function(_0x260260,_0x3ebb13){return _0x260260>=_0x3ebb13;},'VbJvR':function(_0xcdeedb,_0x15b1b1){return _0xcdeedb<=_0x15b1b1;},'AHnCM':function(_0x174118,_0x580fe8){return _0x174118<=_0x580fe8;},'LIakl':function(_0x567edc,_0x21abc2){return _0x567edc+_0x21abc2;},'EHEXI':function(_0x21f9d7,_0x2e120c){return _0x21f9d7>=_0x2e120c;},'weYpz':function(_0x32a9cc,_0x3f57ec){return _0x32a9cc<=_0x3f57ec;}};let _0x224d54=![],_0x4a368c='';for(let _0x1360b6=0x0;_0x32e3c2[_0x239a67(0x99)](_0x1360b6,_0x152954['length']);_0x1360b6+=0x1){const _0x41dcd8=_0x152954['charCodeAt'](_0x1360b6);if(_0x32e3c2[_0x239a67(0x92)](_0x41dcd8,0xd800)&&_0x32e3c2['VbJvR'](_0x41dcd8,0xdbff)){const _0x16b410=_0x152954[_0x239a67(0xc5)](_0x1360b6+0x1);if(_0x16b410>=0xdc00&&_0x32e3c2[_0x239a67(0xa4)](_0x16b410,0xdfff)){_0x4a368c+=_0x32e3c2['LIakl'](_0x152954[_0x1360b6],_0x152954[_0x32e3c2['LIakl'](_0x1360b6,0x1)]),_0x1360b6+=0x1;continue;}_0x224d54=!![],_0x4a368c+='�';continue;}if(_0x32e3c2['EHEXI'](_0x41dcd8,0xdc00)&&_0x32e3c2['weYpz'](_0x41dcd8,0xdfff)){_0x224d54=!![],_0x4a368c+='�';continue;}_0x4a368c+=_0x152954[_0x1360b6];}return _0x224d54?{'updated':_0x224d54,'value':_0x4a368c}:{'updated':_0x224d54,'value':_0x152954};}function sanitizeLoneSurrogatesDeep(_0x2168e3){const _0x243d6c=_0x1c73,_0x5bfa12={'HgpEh':function(_0x2802dc,_0x81d70c){return _0x2802dc(_0x81d70c);},'CDmte':function(_0x45f560,_0x6e1d54){return _0x45f560===_0x6e1d54;},'DJZsf':_0x243d6c(0x97)};if(_0x5bfa12[_0x243d6c(0xab)](typeof _0x2168e3,_0x5bfa12[_0x243d6c(0x94)]))return sanitizeLoneSurrogates(_0x2168e3);if(Array['isArray'](_0x2168e3)){let _0x438aa3=![];const _0x33302e=_0x2168e3['map'](_0x33cb34=>{const _0xa98c7c=_0x243d6c,_0xaa293c=_0x5bfa12[_0xa98c7c(0xbf)](sanitizeLoneSurrogatesDeep,_0x33cb34);return _0xaa293c[_0xa98c7c(0x9b)]&&(_0x438aa3=!![]),_0xaa293c['value'];});return _0x438aa3?{'updated':!![],'value':_0x33302e}:{'updated':![],'value':_0x2168e3};}if(!isRecord(_0x2168e3))return{'updated':![],'value':_0x2168e3};let _0x1a9ce5=![];const _0x1270c9=Object[_0x243d6c(0xb1)](_0x2168e3)[_0x243d6c(0xaa)](([_0x15d8c6,_0x858f84])=>{const _0x56a045=_0x243d6c,_0x5f0c48=sanitizeLoneSurrogatesDeep(_0x858f84);return _0x5f0c48[_0x56a045(0x9b)]&&(_0x1a9ce5=!![]),[_0x15d8c6,_0x5f0c48[_0x56a045(0xa0)]];});return _0x1a9ce5?{'updated':!![],'value':Object[_0x243d6c(0xa2)](_0x1270c9)}:{'updated':![],'value':_0x2168e3};}export function createMcpImageBase64Hook(){const _0xb5de5a={'FmvWq':function(_0x252465,_0x49ea69){return _0x252465!==_0x49ea69;},'BkKnn':'PostToolUse'};return async _0xfdd86e=>{const _0x4bed0a=_0x1c73;if(_0xb5de5a['FmvWq'](_0xfdd86e[_0x4bed0a(0xc0)],_0xb5de5a['BkKnn']))return{};const _0x3f972a=_0xfdd86e,_0x281206=await convertToolOutputImagesToBase64(_0x3f972a['tool_response']),_0x28a513=sanitizeLoneSurrogatesDeep(_0x281206['output']),_0x40a088=_0x281206['updated']||_0x28a513['updated'];if(!_0x40a088)return{};return{'hookSpecificOutput':{'hookEventName':_0xb5de5a['BkKnn'],'updatedMCPToolOutput':_0x28a513['value']}};};}
@@ -1 +1 @@
1
- const _0x4d3928=_0x1259;function _0x1259(_0x470ef5,_0x5ef1ad){_0x470ef5=_0x470ef5-0x1c0;const _0x26c607=_0x26c6();let _0x125928=_0x26c607[_0x470ef5];return _0x125928;}(function(_0x359d26,_0x5df780){const _0x52e5c1=_0x1259,_0x21fa4d=_0x359d26();while(!![]){try{const _0x431976=parseInt(_0x52e5c1(0x1c0))/0x1*(parseInt(_0x52e5c1(0x1c3))/0x2)+-parseInt(_0x52e5c1(0x1ca))/0x3*(parseInt(_0x52e5c1(0x1cd))/0x4)+-parseInt(_0x52e5c1(0x1cc))/0x5+parseInt(_0x52e5c1(0x1c5))/0x6*(-parseInt(_0x52e5c1(0x1c9))/0x7)+-parseInt(_0x52e5c1(0x1c7))/0x8*(-parseInt(_0x52e5c1(0x1c8))/0x9)+-parseInt(_0x52e5c1(0x1c4))/0xa+parseInt(_0x52e5c1(0x1c1))/0xb;if(_0x431976===_0x5df780)break;else _0x21fa4d['push'](_0x21fa4d['shift']());}catch(_0x53ce7a){_0x21fa4d['push'](_0x21fa4d['shift']());}}}(_0x26c6,0xafedd));const VERIFY_MODEL_ALIASES={'opus':_0x4d3928(0x1c6),'sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL='claude-sonnet-4-6';export function resolveVerifyModel(_0x2b8c47){const _0x20aac9=_0x4d3928,_0x3ac662={'YypNU':function(_0x363402,_0x5f7f13){return _0x363402??_0x5f7f13;}};if(!_0x2b8c47)return undefined;const _0x2dfd11=_0x2b8c47[_0x20aac9(0x1c2)]();if(!_0x2dfd11)return undefined;const _0x2caf0a=VERIFY_MODEL_ALIASES[_0x2dfd11['toLowerCase']()];return _0x3ac662[_0x20aac9(0x1cb)](_0x2caf0a,_0x2dfd11);}function _0x26c6(){const _0x3941c4=['6221727ZbPpZD','9800KKJnKV','690XxCFeK','YypNU','6421180hjQfzd','13144TDVttB','1WaAQEM','25576353ZlkFjo','trim','2636362WaKAoR','5197860tONITk','4518HBgWTm','claude-opus-4-6','8YxKkww'];_0x26c6=function(){return _0x3941c4;};return _0x26c6();}
1
+ const _0x46e974=_0x4c95;(function(_0x3f599e,_0x5a5e80){const _0x76016c=_0x4c95,_0x4c3c3e=_0x3f599e();while(!![]){try{const _0x258a50=parseInt(_0x76016c(0x158))/0x1+parseInt(_0x76016c(0x156))/0x2+parseInt(_0x76016c(0x15b))/0x3*(parseInt(_0x76016c(0x152))/0x4)+parseInt(_0x76016c(0x153))/0x5*(-parseInt(_0x76016c(0x15d))/0x6)+parseInt(_0x76016c(0x157))/0x7*(-parseInt(_0x76016c(0x15a))/0x8)+parseInt(_0x76016c(0x15c))/0x9*(parseInt(_0x76016c(0x155))/0xa)+-parseInt(_0x76016c(0x159))/0xb;if(_0x258a50===_0x5a5e80)break;else _0x4c3c3e['push'](_0x4c3c3e['shift']());}catch(_0x3dcff8){_0x4c3c3e['push'](_0x4c3c3e['shift']());}}}(_0x2a15,0xf0cba));const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':_0x46e974(0x154)};export const DEFAULT_VERIFY_MODEL=_0x46e974(0x154);function _0x4c95(_0x48f03e,_0x55c334){_0x48f03e=_0x48f03e-0x152;const _0x2a15c6=_0x2a15();let _0x4c955c=_0x2a15c6[_0x48f03e];return _0x4c955c;}function _0x2a15(){const _0x2b2987=['657HgGOFp','9AsVqnI','198cCTlJT','28600XIIEOf','158090PrHlVW','claude-sonnet-4-6','7388610xLHYRG','3900782IcwxRE','7LLczrv','64200bmFEEP','5999257BdWizg','13953784TfZYXb'];_0x2a15=function(){return _0x2b2987;};return _0x2a15();}export function resolveVerifyModel(_0x38a48b){if(!_0x38a48b)return undefined;const _0x51f0c0=_0x38a48b['trim']();if(!_0x51f0c0)return undefined;const _0x56d57e=VERIFY_MODEL_ALIASES[_0x51f0c0['toLowerCase']()];return _0x56d57e??_0x51f0c0;}
@@ -1 +1 @@
1
- (function(_0x16d03a,_0x2fd622){var _0x5c706a=_0x37d8,_0x3c49f6=_0x16d03a();while(!![]){try{var _0x4ec946=-parseInt(_0x5c706a(0x160))/0x1*(-parseInt(_0x5c706a(0x155))/0x2)+parseInt(_0x5c706a(0x15c))/0x3*(-parseInt(_0x5c706a(0x15f))/0x4)+parseInt(_0x5c706a(0x156))/0x5+-parseInt(_0x5c706a(0x158))/0x6+parseInt(_0x5c706a(0x163))/0x7+-parseInt(_0x5c706a(0x161))/0x8*(parseInt(_0x5c706a(0x15b))/0x9)+-parseInt(_0x5c706a(0x15a))/0xa;if(_0x4ec946===_0x2fd622)break;else _0x3c49f6['push'](_0x3c49f6['shift']());}catch(_0x506e29){_0x3c49f6['push'](_0x3c49f6['shift']());}}}(_0x8dfc,0xdf447));import{homedir}from'os';import{join}from'path';function _0x37d8(_0x2d68cf,_0x121be9){_0x2d68cf=_0x2d68cf-0x155;var _0x8dfc71=_0x8dfc();var _0x37d841=_0x8dfc71[_0x2d68cf];return _0x37d841;}import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0xb3c610){var _0x397e22=_0x37d8,_0x524a43={'lNDnH':'opencode','ykutP':function(_0xe256a6,_0x350f93,_0x4e3aea,_0x9ac24b){return _0xe256a6(_0x350f93,_0x4e3aea,_0x9ac24b);},'ENFAl':function(_0x18cb1a){return _0x18cb1a();},'CrEBX':'.opencode'};if(process['env'][_0x397e22(0x159)])return process[_0x397e22(0x15e)]['OPENCODE_CONFIG_DIR'];if(_0xb3c610==='user'){if(process[_0x397e22(0x15e)]['XDG_CONFIG_HOME'])return join(process['env']['XDG_CONFIG_HOME'],_0x524a43['lNDnH']);return _0x524a43['ykutP'](join,_0x524a43['ENFAl'](homedir),_0x397e22(0x15d),_0x524a43[_0x397e22(0x162)]);}return join(getProjectRoot(),_0x524a43['CrEBX']);}export function getOpencodeSkillsDir(_0x4e806d){var _0x11d761=_0x37d8,_0xe930c1={'zQdRx':function(_0x574a54,_0x4af6e6,_0x2025a1){return _0x574a54(_0x4af6e6,_0x2025a1);},'UdRfH':'skills'};return _0xe930c1[_0x11d761(0x157)](join,getOpencodeConfigDir(_0x4e806d),_0xe930c1['UdRfH']);}function _0x8dfc(){var _0x29c13f=['4wZayUG','2LwoJgQ','10768egkzbY','lNDnH','10577994XGpDuA','1726722hcvLku','7473260UkEVIw','zQdRx','7654944Ycywve','OPENCODE_CONFIG_DIR','5701100PNqObW','8469NXmDmn','2116479DmalLE','.config','env'];_0x8dfc=function(){return _0x29c13f;};return _0x8dfc();}
1
+ (function(_0x46a8f6,_0x29c53b){var _0x4dace5=_0x4d9a,_0xe2858a=_0x46a8f6();while(!![]){try{var _0x4fb99e=parseInt(_0x4dace5(0x1d6))/0x1*(parseInt(_0x4dace5(0x1d1))/0x2)+-parseInt(_0x4dace5(0x1cd))/0x3+parseInt(_0x4dace5(0x1ca))/0x4*(parseInt(_0x4dace5(0x1cc))/0x5)+-parseInt(_0x4dace5(0x1c8))/0x6*(-parseInt(_0x4dace5(0x1d5))/0x7)+parseInt(_0x4dace5(0x1ce))/0x8+parseInt(_0x4dace5(0x1cb))/0x9+parseInt(_0x4dace5(0x1c9))/0xa*(-parseInt(_0x4dace5(0x1cf))/0xb);if(_0x4fb99e===_0x29c53b)break;else _0xe2858a['push'](_0xe2858a['shift']());}catch(_0xc83be0){_0xe2858a['push'](_0xe2858a['shift']());}}}(_0x2101,0xe1466));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x4d9a(_0xa8b539,_0x1df706){_0xa8b539=_0xa8b539-0x1c5;var _0x210127=_0x2101();var _0x4d9a35=_0x210127[_0xa8b539];return _0x4d9a35;}function _0x2101(){var _0x1330c2=['1zCZDGB','KJvIj','env','GbMTL','6JJJdhM','40CIqrsR','6406636kofhlm','8995842OURfgq','5MxWMSB','2144082QsglqM','2909936xYezGX','4599683phPPYp','.opencode','526982vUFZgP','.config','opencode','OPENCODE_CONFIG_DIR','571214FCvFKv'];_0x2101=function(){return _0x1330c2;};return _0x2101();}export function getOpencodeConfigDir(_0x260f79){var _0x565082=_0x4d9a,_0x594699={'GbMTL':function(_0x13a1e1,_0x6d5bd7){return _0x13a1e1===_0x6d5bd7;},'lcTBQ':function(_0x204cc4,_0x5e99dd,_0x3d7954,_0x575c0e){return _0x204cc4(_0x5e99dd,_0x3d7954,_0x575c0e);},'KJvIj':_0x565082(0x1d2)};if(process[_0x565082(0x1c6)]['OPENCODE_CONFIG_DIR'])return process['env'][_0x565082(0x1d4)];if(_0x594699[_0x565082(0x1c7)](_0x260f79,'user')){if(process['env']['XDG_CONFIG_HOME'])return join(process[_0x565082(0x1c6)]['XDG_CONFIG_HOME'],_0x565082(0x1d3));return _0x594699['lcTBQ'](join,homedir(),_0x594699[_0x565082(0x1c5)],_0x565082(0x1d3));}return join(getProjectRoot(),_0x565082(0x1d0));}export function getOpencodeSkillsDir(_0x1276a6){var _0x91c0ec={'TEYKC':function(_0x186ad1,_0x5e1f5c,_0x59c275){return _0x186ad1(_0x5e1f5c,_0x59c275);}};return _0x91c0ec['TEYKC'](join,getOpencodeConfigDir(_0x1276a6),'skills');}
@@ -1 +1 @@
1
- const _0x18854d=_0x23aa;(function(_0x13ebab,_0x316790){const _0x412623=_0x23aa,_0x55424f=_0x13ebab();while(!![]){try{const _0x24e30a=-parseInt(_0x412623(0x20e))/0x1*(parseInt(_0x412623(0x1e8))/0x2)+-parseInt(_0x412623(0x1fb))/0x3*(parseInt(_0x412623(0x1ef))/0x4)+parseInt(_0x412623(0x20a))/0x5+parseInt(_0x412623(0x1fa))/0x6*(-parseInt(_0x412623(0x1f8))/0x7)+-parseInt(_0x412623(0x207))/0x8+-parseInt(_0x412623(0x206))/0x9*(-parseInt(_0x412623(0x202))/0xa)+parseInt(_0x412623(0x1f2))/0xb;if(_0x24e30a===_0x316790)break;else _0x55424f['push'](_0x55424f['shift']());}catch(_0x1344bb){_0x55424f['push'](_0x55424f['shift']());}}}(_0x1c5e,0xd861c));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY=_0x18854d(0x1f3);function toPlaywrightCliSessionKey(_0x30e939){const _0x212cb8=_0x18854d,_0x2e645d={'SOZbV':'sha256','PNVkT':_0x212cb8(0x210)},_0x534b53=createHash(_0x2e645d[_0x212cb8(0x1e4)])['update'](_0x30e939)[_0x212cb8(0x20f)](_0x2e645d[_0x212cb8(0x1f0)])[_0x212cb8(0x1f5)](0x0,0xc);return'rg-'+_0x534b53;}function _0x1c5e(){const _0x3b233b=['3646447mlbYbS','BBVWg','18LhvNMU','76035uVccHp','...','trim','env','command','SIGTERM','Aanws','1062390sqMDaE','replace','MbfIu','cwd','9lUXRRu','11309392PLLqQa','--config','toString','1155760gPwFkD','timeoutMs','HLZvO','kill','38327ySAqAj','digest','hex','npx','sessionId','NlcfI','GsPfs','SIGKILL','string','\x27\x5c\x27\x27','values','SOZbV','fDhFe','bQYLI','stderr','62bDEOvJ','dcvBl','TprLQ','playwright-cli\x20','configPath','TFLZv','pipe','220cGKZwu','PNVkT','YKeUn','67182038uhKNbx','@playwright/cli','test','slice','length','TobwB'];_0x1c5e=function(){return _0x3b233b;};return _0x1c5e();}function shellQuote(_0x34c232){const _0x14a471=_0x18854d;return'\x27'+_0x34c232[_0x14a471(0x203)](/'/g,_0x14a471(0x1e2))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x54f174){const _0x22e339=_0x18854d;return SAFE_SHELL_TOKEN[_0x22e339(0x1f4)](_0x54f174)?_0x54f174:shellQuote(_0x54f174);}export function buildPlaywrightCliInvocation(_0x38aca9,_0xa2950,_0x5eae34){const _0x1193b1=_0x18854d,_0x249cdd={'Sqvos':'unknown','KXcBY':_0x1193b1(0x1dc),'xZLvD':'--config','BBVWg':function(_0x384e39,_0x411d0e){return _0x384e39(_0x411d0e);}},_0x378ab0=toPlaywrightCliSessionKey(_0x38aca9),[_0x28d6b2=_0x249cdd['Sqvos']]=_0x5eae34,_0x462600=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x378ab0,_0x1193b1(0x208),_0xa2950,..._0x5eae34];return{'command':_0x249cdd['KXcBY'],'args':_0x462600,'shellCommand':[_0x1193b1(0x1dc),PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x378ab0),_0x249cdd['xZLvD'],_0x249cdd[_0x1193b1(0x1f9)](quoteShellArg,_0xa2950),..._0x5eae34['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x28d6b2};}function _0x23aa(_0x4c2110,_0x11cf22){_0x4c2110=_0x4c2110-0x1dc;const _0x1c5e0e=_0x1c5e();let _0x23aac7=_0x1c5e0e[_0x4c2110];return _0x23aac7;}export function buildPlaywrightCliCommandPrefix(_0x4a6bad,_0x3f7cc9){const _0x228558=_0x18854d,_0x1fd9d4={'YKeUn':function(_0x1448f0,_0x2fa103){return _0x1448f0(_0x2fa103);},'TobwB':_0x228558(0x1dc),'fDhFe':'--config','TFLZv':function(_0x3c1a27,_0x474813){return _0x3c1a27(_0x474813);}},_0x5de948=_0x1fd9d4[_0x228558(0x1f1)](toPlaywrightCliSessionKey,_0x4a6bad);return[_0x1fd9d4[_0x228558(0x1f7)],PLAYWRIGHT_CLI_BINARY,'-s='+_0x1fd9d4['YKeUn'](quoteShellArg,_0x5de948),_0x1fd9d4[_0x228558(0x1e5)],_0x1fd9d4[_0x228558(0x1ed)](quoteShellArg,_0x3f7cc9)]['join']('\x20');}function truncateOutput(_0x119e1c,_0x271a99=0x7d0){const _0x589940=_0x18854d,_0x2aaf77={'SwcWv':function(_0x253427,_0x583a2d){return _0x253427+_0x583a2d;},'dcvBl':_0x589940(0x1fc)};return _0x119e1c[_0x589940(0x1f6)]>_0x271a99?_0x2aaf77['SwcWv'](_0x119e1c[_0x589940(0x1f5)](0x0,_0x271a99),_0x2aaf77[_0x589940(0x1e9)]):_0x119e1c;}export async function runPlaywrightCliCommand(_0x37c435){const _0x5167fe=_0x18854d,_0xaf4626={'sxYEd':function(_0x5dfa19,_0x32d933){return _0x5dfa19===_0x32d933;},'TprLQ':function(_0x1a9e35,_0x6194){return _0x1a9e35??_0x6194;},'HLZvO':'null','bQYLI':function(_0x536ee6,_0x49761c){return _0x536ee6(_0x49761c);},'NlcfI':function(_0x210ecf,_0x17b75f,_0x56a2f1,_0x1b754b){return _0x210ecf(_0x17b75f,_0x56a2f1,_0x1b754b);},'GfQNa':'ignore','GsPfs':'pipe','Aanws':function(_0x3d5645,_0x4f240d){return _0x3d5645>_0x4f240d;},'MbfIu':'error','iHSzY':function(_0x3497de,_0x1f3863,_0x5406e9,_0x29d5cd){return _0x3497de(_0x1f3863,_0x5406e9,_0x29d5cd);}},_0x204ea7=_0xaf4626['iHSzY'](buildPlaywrightCliInvocation,_0x37c435[_0x5167fe(0x1dd)],_0x37c435[_0x5167fe(0x1ec)],_0x37c435['commandArgs']);return new Promise((_0xa0e3a2,_0x3c5966)=>{const _0x23b7c7=_0x5167fe,_0x249d01=_0xaf4626[_0x23b7c7(0x1de)](spawn,_0x204ea7['command'],_0x204ea7['args'],{'cwd':_0x37c435[_0x23b7c7(0x205)],'env':_0x37c435[_0x23b7c7(0x1fe)],'stdio':[_0xaf4626['GfQNa'],_0x23b7c7(0x1ee),_0xaf4626[_0x23b7c7(0x1df)]]});let _0x1a8054='',_0x1ec79f='',_0x1be34=![];const _0x15ed64=_0x37c435['timeoutMs']&&_0xaf4626[_0x23b7c7(0x201)](_0x37c435['timeoutMs'],0x0)?setTimeout(()=>{const _0x132956=_0x23b7c7;_0x1be34=!![],_0x249d01[_0x132956(0x20d)](_0x132956(0x200)),setTimeout(()=>{const _0x4c78b3=_0x132956;try{_0x249d01[_0x4c78b3(0x20d)](_0x4c78b3(0x1e0));}catch{}},0x3e8);},_0x37c435['timeoutMs']):null;_0x249d01['stdout']?.['on']('data',_0x14d833=>{const _0x1f2ed0=_0x23b7c7;_0x1a8054+=_0x14d833[_0x1f2ed0(0x209)]();}),_0x249d01[_0x23b7c7(0x1e7)]?.['on']('data',_0x1bd081=>{_0x1ec79f+=_0x1bd081['toString']();}),_0x249d01['on'](_0xaf4626[_0x23b7c7(0x204)],_0x24a2b5=>{if(_0x15ed64)clearTimeout(_0x15ed64);_0x3c5966(_0x24a2b5);}),_0x249d01['on']('close',(_0x4834a3,_0x4c9b30)=>{const _0xbe0bad=_0x23b7c7;if(_0x15ed64)clearTimeout(_0x15ed64);if(_0xaf4626['sxYEd'](_0x4834a3,0x0)){_0xa0e3a2({'stdout':_0x1a8054,'stderr':_0x1ec79f,'invocation':_0x204ea7});return;}const _0x303bd1=_0x1be34?'timed\x20out\x20after\x20'+_0x37c435[_0xbe0bad(0x20b)]+'ms':'exited\x20with\x20code='+_0xaf4626[_0xbe0bad(0x1ea)](_0x4834a3,_0xaf4626[_0xbe0bad(0x20c)])+'\x20signal='+(_0x4c9b30??_0xaf4626['HLZvO']);_0xaf4626['bQYLI'](_0x3c5966,new Error(_0xbe0bad(0x1eb)+_0x204ea7['subcommand']+'\x20'+_0x303bd1+'\x0astdout:\x20'+_0xaf4626[_0xbe0bad(0x1e6)](truncateOutput,_0x1a8054)+'\x0astderr:\x20'+_0xaf4626[_0xbe0bad(0x1e6)](truncateOutput,_0x1ec79f)));});});}export function extractBashCommand(_0x5c0a6b){const _0x23ca76=_0x18854d,_0x146ca2={'bvCrZ':_0x23ca76(0x1ff),'HJshr':'script'},_0x3679ce=[_0x146ca2['bvCrZ'],'cmd',_0x146ca2['HJshr'],'bash_command'];for(const _0x3dac90 of _0x3679ce){const _0x17f65c=_0x5c0a6b[_0x3dac90];if(typeof _0x17f65c===_0x23ca76(0x1e1)&&_0x17f65c[_0x23ca76(0x1fd)]())return _0x17f65c;}const _0x5ed796=Object[_0x23ca76(0x1e3)](_0x5c0a6b)['find'](_0x5a312e=>typeof _0x5a312e===_0x23ca76(0x1e1)&&_0x5a312e[_0x23ca76(0x1fd)]()['length']>0x0);return _0x5ed796??null;}export function parsePlaywrightCliCommand(_0x1fc0c0){const _0x6eec41=_0x1fc0c0['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x6eec41?.[0x1]??null;}
1
+ const _0x2eec3e=_0x3fa6;function _0x3fa6(_0xf09881,_0x84efad){_0xf09881=_0xf09881-0x130;const _0x4d223f=_0x4d22();let _0x3fa6a9=_0x4d223f[_0xf09881];return _0x3fa6a9;}(function(_0x3a585e,_0x372d09){const _0x4244ec=_0x3fa6,_0x1a3496=_0x3a585e();while(!![]){try{const _0x2c1693=-parseInt(_0x4244ec(0x146))/0x1+-parseInt(_0x4244ec(0x15c))/0x2*(parseInt(_0x4244ec(0x152))/0x3)+parseInt(_0x4244ec(0x15b))/0x4*(parseInt(_0x4244ec(0x135))/0x5)+-parseInt(_0x4244ec(0x13c))/0x6*(-parseInt(_0x4244ec(0x148))/0x7)+-parseInt(_0x4244ec(0x138))/0x8+-parseInt(_0x4244ec(0x14f))/0x9+parseInt(_0x4244ec(0x150))/0xa*(parseInt(_0x4244ec(0x145))/0xb);if(_0x2c1693===_0x372d09)break;else _0x1a3496['push'](_0x1a3496['shift']());}catch(_0x172c6d){_0x1a3496['push'](_0x1a3496['shift']());}}}(_0x4d22,0x4648b));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY=_0x2eec3e(0x154);function toPlaywrightCliSessionKey(_0x45d9b2){const _0x43700e=_0x2eec3e,_0x3959b9={'PNqmo':'sha256'},_0x4e7c7d=createHash(_0x3959b9[_0x43700e(0x151)])['update'](_0x45d9b2)['digest']('hex')[_0x43700e(0x15f)](0x0,0xc);return _0x43700e(0x158)+_0x4e7c7d;}function _0x4d22(){const _0x31351f=['args','3885672mSqdpI','gGEAM','npx','\x0astdout:\x20','11124yDGfHG','cmd','length','--config','aMudR','tGXwW','toString','RiQmt','script','3417667vpFSfJ','436788oPpqbm','LwBvG','1232LjeulN','\x20signal=','data','bash_command','tEqQF','ignore','trim','1729647hfqoWH','30ZXmvPF','PNqmo','6gQJgGK','fqDxJ','@playwright/cli','SIGTERM','env','\x0astderr:\x20','rg-','timeoutMs','ucGdK','12CfYDQB','13098eHFNGx','fRozA','commandArgs','slice','stdout','command','join','-s=','NgupQ','sessionId','error','string','null','262110PbRumC','replace'];_0x4d22=function(){return _0x31351f;};return _0x4d22();}function shellQuote(_0x4f0dd4){const _0x482ea7=_0x2eec3e;return'\x27'+_0x4f0dd4[_0x482ea7(0x136)](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x1f8e7b){return SAFE_SHELL_TOKEN['test'](_0x1f8e7b)?_0x1f8e7b:shellQuote(_0x1f8e7b);}export function buildPlaywrightCliInvocation(_0x5f1055,_0x5a9767,_0x43716){const _0x28267d=_0x2eec3e,_0x517583={'tEqQF':_0x28267d(0x13a),'UCiSc':'--config','FaujE':function(_0x2d9558,_0x4dccc1){return _0x2d9558(_0x4dccc1);}},_0x3a8d19=toPlaywrightCliSessionKey(_0x5f1055),[_0x451724='unknown']=_0x43716,_0x57e319=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x3a8d19,'--config',_0x5a9767,..._0x43716];return{'command':_0x517583['tEqQF'],'args':_0x57e319,'shellCommand':[_0x517583[_0x28267d(0x14c)],PLAYWRIGHT_CLI_BINARY,_0x28267d(0x163)+quoteShellArg(_0x3a8d19),_0x517583['UCiSc'],_0x517583['FaujE'](quoteShellArg,_0x5a9767),..._0x43716['map'](quoteShellArg)][_0x28267d(0x162)]('\x20'),'subcommand':_0x451724};}export function buildPlaywrightCliCommandPrefix(_0x475b14,_0x4298eb){const _0x8a20c6=_0x2eec3e,_0x4a4e0e={'bwpvc':_0x8a20c6(0x13a),'ucGdK':function(_0x51fdc6,_0x16a04c){return _0x51fdc6(_0x16a04c);},'LwBvG':_0x8a20c6(0x13f)},_0x514931=toPlaywrightCliSessionKey(_0x475b14);return[_0x4a4e0e['bwpvc'],PLAYWRIGHT_CLI_BINARY,_0x8a20c6(0x163)+_0x4a4e0e[_0x8a20c6(0x15a)](quoteShellArg,_0x514931),_0x4a4e0e[_0x8a20c6(0x147)],quoteShellArg(_0x4298eb)][_0x8a20c6(0x162)]('\x20');}function truncateOutput(_0x5c388d,_0x57edac=0x7d0){const _0x7de135=_0x2eec3e,_0x4bb985={'fqDxJ':function(_0x4e8927,_0xf8dd23){return _0x4e8927>_0xf8dd23;},'tGXwW':function(_0x1af7e4,_0x3936ae){return _0x1af7e4+_0x3936ae;}};return _0x4bb985[_0x7de135(0x153)](_0x5c388d['length'],_0x57edac)?_0x4bb985[_0x7de135(0x141)](_0x5c388d[_0x7de135(0x15f)](0x0,_0x57edac),'...'):_0x5c388d;}export async function runPlaywrightCliCommand(_0x218c02){const _0x1244af=_0x2eec3e,_0x3b892b={'RiQmt':function(_0x37c679,_0x3b74bf,_0x3d10dc){return _0x37c679(_0x3b74bf,_0x3d10dc);},'HdNQQ':function(_0x59abc1,_0x1861fa){return _0x59abc1(_0x1861fa);},'GJkTg':function(_0x5403cc,_0x4f20f9){return _0x5403cc??_0x4f20f9;},'KMZhM':function(_0x3a08a6,_0x1eb8e1,_0x686da6,_0x5e5118){return _0x3a08a6(_0x1eb8e1,_0x686da6,_0x5e5118);},'gGEAM':_0x1244af(0x14a),'yktnT':'close'},_0xaa6a98=buildPlaywrightCliInvocation(_0x218c02[_0x1244af(0x131)],_0x218c02['configPath'],_0x218c02[_0x1244af(0x15e)]);return new Promise((_0x54ae0,_0x30b126)=>{const _0x31e9b5=_0x1244af,_0x1c9591={'UlsGF':function(_0x2be198,_0x311d49){return _0x2be198===_0x311d49;},'GygAJ':function(_0x2670d0,_0x1534e9){return _0x2670d0(_0x1534e9);},'aMudR':'null','JESyK':function(_0x204d13,_0x3d37a6){return _0x3b892b['GJkTg'](_0x204d13,_0x3d37a6);}},_0xaa02d4=_0x3b892b['KMZhM'](spawn,_0xaa6a98[_0x31e9b5(0x161)],_0xaa6a98[_0x31e9b5(0x137)],{'cwd':_0x218c02['cwd'],'env':_0x218c02[_0x31e9b5(0x156)],'stdio':[_0x31e9b5(0x14d),'pipe','pipe']});let _0x3c5912='',_0x573840='',_0x21e25a=![];const _0x537615=_0x218c02['timeoutMs']&&_0x218c02['timeoutMs']>0x0?_0x3b892b[_0x31e9b5(0x143)](setTimeout,()=>{const _0x3d1506=_0x31e9b5;_0x21e25a=!![],_0xaa02d4['kill'](_0x3d1506(0x155)),_0x3b892b[_0x3d1506(0x143)](setTimeout,()=>{try{_0xaa02d4['kill']('SIGKILL');}catch{}},0x3e8);},_0x218c02[_0x31e9b5(0x159)]):null;_0xaa02d4[_0x31e9b5(0x160)]?.['on'](_0x3b892b[_0x31e9b5(0x139)],_0xfad88b=>{_0x3c5912+=_0xfad88b['toString']();}),_0xaa02d4['stderr']?.['on']('data',_0x262acf=>{const _0x42d76d=_0x31e9b5;_0x573840+=_0x262acf[_0x42d76d(0x142)]();}),_0xaa02d4['on'](_0x31e9b5(0x132),_0x2ab49b=>{if(_0x537615)_0x3b892b['HdNQQ'](clearTimeout,_0x537615);_0x30b126(_0x2ab49b);}),_0xaa02d4['on'](_0x3b892b['yktnT'],(_0x18fd7e,_0x5cccd9)=>{const _0x278787=_0x31e9b5;if(_0x537615)clearTimeout(_0x537615);if(_0x1c9591['UlsGF'](_0x18fd7e,0x0)){_0x1c9591['GygAJ'](_0x54ae0,{'stdout':_0x3c5912,'stderr':_0x573840,'invocation':_0xaa6a98});return;}const _0xdf0d40=_0x21e25a?'timed\x20out\x20after\x20'+_0x218c02['timeoutMs']+'ms':'exited\x20with\x20code='+(_0x18fd7e??_0x1c9591[_0x278787(0x140)])+_0x278787(0x149)+_0x1c9591['JESyK'](_0x5cccd9,_0x278787(0x134));_0x30b126(new Error('playwright-cli\x20'+_0xaa6a98['subcommand']+'\x20'+_0xdf0d40+_0x278787(0x13b)+truncateOutput(_0x3c5912)+_0x278787(0x157)+truncateOutput(_0x573840)));});});}export function extractBashCommand(_0xaf5924){const _0x301415=_0x2eec3e,_0x1fed84={'fRozA':_0x301415(0x14b),'NgupQ':function(_0x41ad39,_0x7d9460){return _0x41ad39===_0x7d9460;},'phLtI':_0x301415(0x133)},_0x46d3f8=['command',_0x301415(0x13d),_0x301415(0x144),_0x1fed84[_0x301415(0x15d)]];for(const _0x5d61de of _0x46d3f8){const _0x5164e=_0xaf5924[_0x5d61de];if(_0x1fed84[_0x301415(0x130)](typeof _0x5164e,_0x1fed84['phLtI'])&&_0x5164e['trim']())return _0x5164e;}const _0x86bb18=Object['values'](_0xaf5924)['find'](_0x385fce=>typeof _0x385fce==='string'&&_0x385fce[_0x301415(0x14e)]()[_0x301415(0x13e)]>0x0);return _0x86bb18??null;}export function parsePlaywrightCliCommand(_0x5d53b){const _0x5140ba=_0x5d53b['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x5140ba?.[0x1]??null;}
@@ -1 +1 @@
1
- const _0x335ea9=_0x3338;(function(_0x39f9cc,_0x196a17){const _0x2aa461=_0x3338,_0x2e3c7d=_0x39f9cc();while(!![]){try{const _0x4b6cb4=-parseInt(_0x2aa461(0x1de))/0x1+parseInt(_0x2aa461(0x1e1))/0x2*(parseInt(_0x2aa461(0x1dd))/0x3)+parseInt(_0x2aa461(0x1db))/0x4+parseInt(_0x2aa461(0x1df))/0x5*(parseInt(_0x2aa461(0x1e4))/0x6)+-parseInt(_0x2aa461(0x1e0))/0x7*(-parseInt(_0x2aa461(0x1d9))/0x8)+-parseInt(_0x2aa461(0x1dc))/0x9*(-parseInt(_0x2aa461(0x1da))/0xa)+-parseInt(_0x2aa461(0x1d8))/0xb;if(_0x4b6cb4===_0x196a17)break;else _0x2e3c7d['push'](_0x2e3c7d['shift']());}catch(_0x4d1fe7){_0x2e3c7d['push'](_0x2e3c7d['shift']());}}}(_0x256f,0x744f7));function _0x256f(){const _0x5c4c01=['1353cpTDaB','252840DVIGpC','1392240TdhxEY','623cZjjhy','632oAslIC','Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20','ranger\x20profile\x20add\x20local','6MlMbRG','2881043AqYKCM','40392aYTqLp','7180WCJMaf','457492lWiEeH','81maebCM'];_0x256f=function(){return _0x5c4c01;};return _0x256f();}function _0x3338(_0x446766,_0x5d75b4){_0x446766=_0x446766-0x1d8;const _0x256f73=_0x256f();let _0x3338b7=_0x256f73[_0x446766];return _0x3338b7;}const DEFAULT_PROFILE_COMMAND=_0x335ea9(0x1e3);export function formatProfileRequiredMessage(_0x2fe7ef){const _0x41b75c=_0x335ea9,_0x2cf923=_0x2fe7ef?_0x2fe7ef(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x41b75c(0x1e2)+_0x2cf923+'.';}
1
+ function _0x2d3a(_0x4167d7,_0x2429bd){_0x4167d7=_0x4167d7-0x130;const _0x528d7d=_0x528d();let _0x2d3ac9=_0x528d7d[_0x4167d7];return _0x2d3ac9;}(function(_0x36f2b6,_0x406683){const _0x1fc9a6=_0x2d3a,_0x4c91b3=_0x36f2b6();while(!![]){try{const _0x3c02d1=parseInt(_0x1fc9a6(0x134))/0x1*(parseInt(_0x1fc9a6(0x130))/0x2)+parseInt(_0x1fc9a6(0x138))/0x3+parseInt(_0x1fc9a6(0x133))/0x4+-parseInt(_0x1fc9a6(0x139))/0x5+parseInt(_0x1fc9a6(0x137))/0x6+-parseInt(_0x1fc9a6(0x136))/0x7+parseInt(_0x1fc9a6(0x135))/0x8*(parseInt(_0x1fc9a6(0x132))/0x9);if(_0x3c02d1===_0x406683)break;else _0x4c91b3['push'](_0x4c91b3['shift']());}catch(_0xfc78a2){_0x4c91b3['push'](_0x4c91b3['shift']());}}}(_0x528d,0xa9e3e));function _0x528d(){const _0x1b3534=['13078UlWXUM','Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20','1032381cDnTxi','3073272eacVfR','46nliTbc','56DTSYpg','7005530rTLmDb','335316aXxcBW','479355dSAwGP','1955430REJizH'];_0x528d=function(){return _0x1b3534;};return _0x528d();}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0xe62371){const _0x12e0c0=_0x2d3a,_0x20dec6=_0xe62371?_0xe62371(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x12e0c0(0x131)+_0x20dec6+'.';}
@@ -1 +1 @@
1
- (function(_0x1151ce,_0x2cabc2){const _0x54d9ac=_0x4f57,_0x177dc0=_0x1151ce();while(!![]){try{const _0x2346dc=parseInt(_0x54d9ac(0x133))/0x1+-parseInt(_0x54d9ac(0x127))/0x2*(-parseInt(_0x54d9ac(0x135))/0x3)+-parseInt(_0x54d9ac(0x125))/0x4*(parseInt(_0x54d9ac(0x126))/0x5)+-parseInt(_0x54d9ac(0x12e))/0x6+parseInt(_0x54d9ac(0x131))/0x7*(parseInt(_0x54d9ac(0x12a))/0x8)+-parseInt(_0x54d9ac(0x12c))/0x9+parseInt(_0x54d9ac(0x136))/0xa;if(_0x2346dc===_0x2cabc2)break;else _0x177dc0['push'](_0x177dc0['shift']());}catch(_0x285930){_0x177dc0['push'](_0x177dc0['shift']());}}}(_0x2f7a,0x50ac7));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x59730a=_0x4f57,_0x43ba0b={'USzvp':function(_0x36c456,_0x3e84bb){return _0x36c456+_0x3e84bb;},'ZCPTc':function(_0x28c9c1,_0x1bbdd7){return _0x28c9c1+_0x1bbdd7;},'Lzsqx':function(_0x3b6673,_0x30e4dc){return _0x3b6673+_0x30e4dc;},'HOweQ':function(_0x24b0cd,_0xc4c7f2){return _0x24b0cd+_0xc4c7f2;},'RgGas':_0x59730a(0x138),'AHIKf':_0x59730a(0x134)},_0x2c386e=_0x43ba0b['USzvp'](_0x43ba0b['ZCPTc'](_0x43ba0b['Lzsqx'](_0x43ba0b['HOweQ']('<div\x20class=\x22ranger-banner__content\x22>'+_0x59730a(0x128),_0x59730a(0x130)),_0x43ba0b['RgGas'])+_0x59730a(0x12f),'</div>'),'</div>')+_0x43ba0b[_0x59730a(0x137)],_0x20c450='\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a';return _0x59730a(0x129)+JSON[_0x59730a(0x12b)](_0x2c386e)+_0x59730a(0x12d)+JSON['stringify'](_0x20c450)+_0x59730a(0x132);})());function _0x4f57(_0x12041d,_0xa058c6){_0x12041d=_0x12041d-0x125;const _0x2f7a12=_0x2f7a();let _0x4f57d9=_0x2f7a12[_0x12041d];return _0x4f57d9;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x2f7a(){const _0x3a1ec1=['2056ZzygzI','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','24YzgYdG','stringify','4370454LFGSed',';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20','1788450MtKBQy','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','<div\x20class=\x22ranger-banner__message\x22>','1492519jaiTge',';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a','98353frVMsP','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','1455eNegav','528540kxGdWR','AHIKf','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','4904ucHyCi','715fyGCkS'];_0x2f7a=function(){return _0x3a1ec1;};return _0x2f7a();}export async function addProfileSetupBanner(_0x458d02){await _0x458d02['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x1509be,_0x430012){const _0x318991=_0x4234,_0x30dbfc=_0x1509be();while(!![]){try{const _0x3ec4ee=parseInt(_0x318991(0x1b6))/0x1*(-parseInt(_0x318991(0x1be))/0x2)+-parseInt(_0x318991(0x1bd))/0x3*(-parseInt(_0x318991(0x1b8))/0x4)+parseInt(_0x318991(0x1c0))/0x5+-parseInt(_0x318991(0x1c8))/0x6*(parseInt(_0x318991(0x1b7))/0x7)+-parseInt(_0x318991(0x1c2))/0x8*(-parseInt(_0x318991(0x1c7))/0x9)+-parseInt(_0x318991(0x1c1))/0xa*(-parseInt(_0x318991(0x1bb))/0xb)+parseInt(_0x318991(0x1b5))/0xc*(parseInt(_0x318991(0x1c6))/0xd);if(_0x3ec4ee===_0x430012)break;else _0x30dbfc['push'](_0x30dbfc['shift']());}catch(_0x18d7b1){_0x30dbfc['push'](_0x30dbfc['shift']());}}}(_0x232b,0xa16a1));function _0x4234(_0x11c53b,_0x2698c6){_0x11c53b=_0x11c53b-0x1b4;const _0x232b0a=_0x232b();let _0x42347b=_0x232b0a[_0x11c53b];return _0x42347b;}function _0x232b(){const _0x38b91a=[';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a','182622oTaRiT','flviA','6dQcBhk','2BacRbt','\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a','120105Ykdzjs','170feCXaI','11672uYHDfm','stringify','</div>','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','542243FylGPu','5769nrfuIp','6URQUMi','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','396GyZKGC','1182187bHzkjJ','8224657zwxxIR','800708ObDAJf','<div\x20class=\x22ranger-banner__message\x22>'];_0x232b=function(){return _0x38b91a;};return _0x232b();}const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x707bc2=_0x4234,_0x1f96c0={'flviA':function(_0x7f3a8b,_0x3424da){return _0x7f3a8b+_0x3424da;},'gFCNI':_0x707bc2(0x1c5),'mcSPD':_0x707bc2(0x1b4),'YSjzM':_0x707bc2(0x1c4)},_0x48d4fb=_0x1f96c0[_0x707bc2(0x1bc)](_0x1f96c0['flviA']('<div\x20class=\x22ranger-banner__content\x22>'+_0x1f96c0['gFCNI'],_0x707bc2(0x1b9))+_0x1f96c0['mcSPD'],'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>')+_0x1f96c0['YSjzM']+'</div>'+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x43e8a5=_0x707bc2(0x1bf);return'\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20'+JSON['stringify'](_0x48d4fb)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON[_0x707bc2(0x1c3)](_0x43e8a5)+_0x707bc2(0x1ba);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x4d316e){await _0x4d316e['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x521f08,_0x156720){const _0x1da1b2=_0x117c,_0x3e1375=_0x521f08();while(!![]){try{const _0xcf1f79=-parseInt(_0x1da1b2(0x1b6))/0x1*(parseInt(_0x1da1b2(0x1c0))/0x2)+-parseInt(_0x1da1b2(0x1bf))/0x3+-parseInt(_0x1da1b2(0x1b8))/0x4*(parseInt(_0x1da1b2(0x1c7))/0x5)+-parseInt(_0x1da1b2(0x1cb))/0x6+-parseInt(_0x1da1b2(0x1c6))/0x7+-parseInt(_0x1da1b2(0x1c2))/0x8*(-parseInt(_0x1da1b2(0x1c3))/0x9)+parseInt(_0x1da1b2(0x1b7))/0xa;if(_0xcf1f79===_0x156720)break;else _0x3e1375['push'](_0x3e1375['shift']());}catch(_0x594233){_0x3e1375['push'](_0x3e1375['shift']());}}}(_0x430e,0xe25e3));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x117c(_0x5e3bfe,_0x4569f8){_0x5e3bfe=_0x5e3bfe-0x1b5;const _0x430ec6=_0x430e();let _0x117cf7=_0x430ec6[_0x5e3bfe];return _0x117cf7;}import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x67bd94=_0x117c,_0x2c4bb7={'zuoNY':function(_0x5da6e4){return _0x5da6e4();},'BHeEc':'config.json'};return join(_0x2c4bb7[_0x67bd94(0x1c5)](getRangerDir),_0x2c4bb7['BHeEc']);}export async function loadRangerConfig(){const _0x4b5a83=_0x117c,_0x55c82c={'uqqoD':function(_0x1672a9){return _0x1672a9();},'FiMBN':function(_0x3955b3,_0x554f3e){return _0x3955b3(_0x554f3e);},'GtFWM':function(_0x2f23e6,_0x1b04ec,_0x31174e){return _0x2f23e6(_0x1b04ec,_0x31174e);},'FlAEU':function(_0x2f12ab,_0x5207ad){return _0x2f12ab!==_0x5207ad;},'WuoyJ':_0x4b5a83(0x1ca),'JorDp':function(_0xce27f5,_0x39d75e){return _0xce27f5===_0x39d75e;},'iYnkA':function(_0x515939,_0x3e3228){return _0x515939 instanceof _0x3e3228;},'VtCNQ':function(_0x11da8e,_0x5a4d9e){return _0x11da8e(_0x5a4d9e);}},_0x44bad1=_0x55c82c[_0x4b5a83(0x1be)](getRangerConfigPath);if(!_0x55c82c['FiMBN'](existsSync,_0x44bad1))return{};try{const _0x3de940=await _0x55c82c['GtFWM'](readFile,_0x44bad1,_0x4b5a83(0x1c4)),_0x1037cb=JSON[_0x4b5a83(0x1c8)](_0x3de940);if(!_0x1037cb||_0x55c82c[_0x4b5a83(0x1b5)](typeof _0x1037cb,_0x55c82c['WuoyJ'])||Array[_0x4b5a83(0x1bc)](_0x1037cb))return{};const _0x3ce412={},_0x1b3be6=_0x1037cb[_0x4b5a83(0x1bd)];return _0x55c82c[_0x4b5a83(0x1c9)](typeof _0x1b3be6,_0x4b5a83(0x1ba))&&(_0x3ce412[_0x4b5a83(0x1bd)]=_0x1b3be6),_0x3ce412;}catch(_0x460f7a){const _0x1d399f=_0x55c82c[_0x4b5a83(0x1b9)](_0x460f7a,Error)?_0x460f7a['message']:_0x55c82c['VtCNQ'](String,_0x460f7a);return console[_0x4b5a83(0x1c1)](_0x4b5a83(0x1bb)+_0x44bad1+':\x20'+_0x1d399f),{};}}function _0x430e(){const _0x29a5d4=['warn','32520NTNpkA','3933TtNWqA','utf-8','zuoNY','8594264xRSAZD','10trqAXS','parse','JorDp','object','5435220PNQDOA','FlAEU','1ZBGUjt','29577080YGvEPq','405416WStsUj','iYnkA','string','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','isArray','model','uqqoD','3076101TouhOJ','890426SbKFJT'];_0x430e=function(){return _0x29a5d4;};return _0x430e();}
1
+ (function(_0x335c52,_0x34bebc){const _0xc0d44e=_0x1d15,_0x5411a0=_0x335c52();while(!![]){try{const _0x3f86b2=-parseInt(_0xc0d44e(0x1a7))/0x1*(-parseInt(_0xc0d44e(0x19a))/0x2)+parseInt(_0xc0d44e(0x19f))/0x3*(parseInt(_0xc0d44e(0x1ab))/0x4)+parseInt(_0xc0d44e(0x199))/0x5*(parseInt(_0xc0d44e(0x1a4))/0x6)+parseInt(_0xc0d44e(0x1a5))/0x7*(-parseInt(_0xc0d44e(0x198))/0x8)+-parseInt(_0xc0d44e(0x19b))/0x9*(-parseInt(_0xc0d44e(0x1a6))/0xa)+parseInt(_0xc0d44e(0x1a0))/0xb+-parseInt(_0xc0d44e(0x1a9))/0xc;if(_0x3f86b2===_0x34bebc)break;else _0x5411a0['push'](_0x5411a0['shift']());}catch(_0x13700b){_0x5411a0['push'](_0x5411a0['shift']());}}}(_0x10e3,0xe1370));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x10e3(){const _0x362b38=['265946mkwHuU','hrSSb','33366108NbtXPC','zkXFn','339736aolbGf','24mpGvPA','5080WTXtTS','4KLGPCj','144EolFWx','aYcsb','nJtaw','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','45qprqqX','7816017AhuVVc','warn','string','parse','7632rlUzok','2428132UtpsKn','584260ZNMIEz'];_0x10e3=function(){return _0x362b38;};return _0x10e3();}import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x5de974={'njLdz':function(_0x2958de){return _0x2958de();}};return join(_0x5de974['njLdz'](getRangerDir),'config.json');}function _0x1d15(_0x245141,_0x3f215e){_0x245141=_0x245141-0x198;const _0x10e34c=_0x10e3();let _0x1d15b2=_0x10e34c[_0x245141];return _0x1d15b2;}export async function loadRangerConfig(){const _0x29d536=_0x1d15,_0x1e52a5={'aYcsb':function(_0xc9dbb0){return _0xc9dbb0();},'zkXFn':function(_0x1c5364,_0x4e3830,_0x3fb3c0){return _0x1c5364(_0x4e3830,_0x3fb3c0);},'UlPMU':'utf-8','mpsLk':function(_0x160571,_0x16a421){return _0x160571!==_0x16a421;},'hrSSb':'object','nJtaw':function(_0x6345e2,_0x2eed7b){return _0x6345e2 instanceof _0x2eed7b;}},_0x6b4f2b=_0x1e52a5[_0x29d536(0x19c)](getRangerConfigPath);if(!existsSync(_0x6b4f2b))return{};try{const _0x3b79af=await _0x1e52a5[_0x29d536(0x1aa)](readFile,_0x6b4f2b,_0x1e52a5['UlPMU']),_0x3a3149=JSON[_0x29d536(0x1a3)](_0x3b79af);if(!_0x3a3149||_0x1e52a5['mpsLk'](typeof _0x3a3149,_0x1e52a5[_0x29d536(0x1a8)])||Array['isArray'](_0x3a3149))return{};const _0x46c59c={},_0x6b3ffa=_0x3a3149['model'];return typeof _0x6b3ffa===_0x29d536(0x1a2)&&(_0x46c59c['model']=_0x6b3ffa),_0x46c59c;}catch(_0x42a89f){const _0x22c6c8=_0x1e52a5[_0x29d536(0x19d)](_0x42a89f,Error)?_0x42a89f['message']:String(_0x42a89f);return console[_0x29d536(0x1a1)](_0x29d536(0x19e)+_0x6b4f2b+':\x20'+_0x22c6c8),{};}}
@@ -1 +1 @@
1
- (function(_0x424fe0,_0x3e9117){const _0xb83a99=_0x227c,_0x18b75a=_0x424fe0();while(!![]){try{const _0x3ba6e8=parseInt(_0xb83a99(0xf3))/0x1+-parseInt(_0xb83a99(0xed))/0x2+parseInt(_0xb83a99(0xe7))/0x3+parseInt(_0xb83a99(0xe9))/0x4*(parseInt(_0xb83a99(0xe8))/0x5)+parseInt(_0xb83a99(0xf2))/0x6*(-parseInt(_0xb83a99(0xf1))/0x7)+parseInt(_0xb83a99(0xf0))/0x8*(-parseInt(_0xb83a99(0xe4))/0x9)+-parseInt(_0xb83a99(0xeb))/0xa;if(_0x3ba6e8===_0x3e9117)break;else _0x18b75a['push'](_0x18b75a['shift']());}catch(_0x40964e){_0x18b75a['push'](_0x18b75a['shift']());}}}(_0x3edd,0xdba3a));function _0x227c(_0x251bea,_0x11e1cf){_0x251bea=_0x251bea-0xdf;const _0x3eddb5=_0x3edd();let _0x227c3e=_0x3eddb5[_0x251bea];return _0x227c3e;}import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x112f56=_0x227c,_0x4b385c={'fqKej':function(_0x45a62b,_0x1c3348){return _0x45a62b!==_0x1c3348;},'FAXPF':function(_0x1a1daf,_0x279717,_0x1e70e7){return _0x1a1daf(_0x279717,_0x1e70e7);},'xrhHJ':_0x112f56(0xe6)};let _0x229276=process[_0x112f56(0xdf)]();const _0x54660b=parse(_0x229276)['root'];while(_0x4b385c[_0x112f56(0xf5)](_0x229276,_0x54660b)){if(existsSync(_0x4b385c[_0x112f56(0xf6)](join,_0x229276,_0x4b385c[_0x112f56(0xe0)])))return _0x229276;_0x229276=dirname(_0x229276);}if(existsSync(join(_0x54660b,_0x4b385c[_0x112f56(0xe0)])))return _0x54660b;const _0x48ca01=findGitRoot();if(_0x48ca01)return _0x48ca01;return process[_0x112f56(0xdf)]();}export function getRangerDir(){const _0x5aa5ea=_0x227c,_0x36f5aa={'CItCo':function(_0x33faae){return _0x33faae();},'GZXjt':'.ranger'};return join(_0x36f5aa['CItCo'](getRangerRoot),_0x36f5aa[_0x5aa5ea(0xee)]);}function _0x3edd(){const _0x1eca99=['ZLrJH','35576WewcED','2282DGtVls','14088nxzIoM','801676UskgZE','aPsJu','fqKej','FAXPF','cwd','xrhHJ','ookpk','rGSZk','xUkTf','99cuasJe','root','.ranger','4059981cECtKU','2168195pjzJar','8AwvwoQ','.git','8221620mMbsbM','YJiLJ','972224EgoCUJ','GZXjt'];_0x3edd=function(){return _0x1eca99;};return _0x3edd();}export function findGitRoot(){const _0xd28b3c=_0x227c,_0xf03e56={'ookpk':function(_0x5025e4,_0x5ba664){return _0x5025e4!==_0x5ba664;},'ZLrJH':function(_0x35fea4,_0x1f0867){return _0x35fea4(_0x1f0867);},'YJiLJ':function(_0xcc8cbe,_0x13b535,_0x574672){return _0xcc8cbe(_0x13b535,_0x574672);},'xUkTf':'.git'};let _0x3264e6=process[_0xd28b3c(0xdf)]();const _0xeb32d1=parse(_0x3264e6)[_0xd28b3c(0xe5)];while(_0xf03e56[_0xd28b3c(0xe1)](_0x3264e6,_0xeb32d1)){if(existsSync(join(_0x3264e6,_0xd28b3c(0xea))))return _0x3264e6;_0x3264e6=dirname(_0x3264e6);}if(_0xf03e56[_0xd28b3c(0xef)](existsSync,_0xf03e56[_0xd28b3c(0xec)](join,_0xeb32d1,_0xf03e56[_0xd28b3c(0xe3)])))return _0xeb32d1;return null;}export function getRangerHomeDir(){const _0x9a2d40=_0x227c,_0x1893e1={'aPsJu':function(_0xa61946){return _0xa61946();},'rGSZk':'.ranger'};return join(_0x1893e1[_0x9a2d40(0xf4)](homedir),_0x1893e1[_0x9a2d40(0xe2)]);}
1
+ (function(_0x1feced,_0x212005){const _0x11df15=_0x5803,_0x2f6862=_0x1feced();while(!![]){try{const _0x36a4f8=parseInt(_0x11df15(0x171))/0x1*(-parseInt(_0x11df15(0x16a))/0x2)+parseInt(_0x11df15(0x168))/0x3+-parseInt(_0x11df15(0x163))/0x4*(-parseInt(_0x11df15(0x16b))/0x5)+parseInt(_0x11df15(0x165))/0x6*(-parseInt(_0x11df15(0x173))/0x7)+parseInt(_0x11df15(0x170))/0x8+parseInt(_0x11df15(0x169))/0x9*(-parseInt(_0x11df15(0x164))/0xa)+-parseInt(_0x11df15(0x162))/0xb*(parseInt(_0x11df15(0x167))/0xc);if(_0x36a4f8===_0x212005)break;else _0x2f6862['push'](_0x2f6862['shift']());}catch(_0x5430f9){_0x2f6862['push'](_0x2f6862['shift']());}}}(_0x1212,0x813ca));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x1af110=_0x5803,_0x3be4a0={'byeal':function(_0x45f17f,_0x36c125,_0x1aa081){return _0x45f17f(_0x36c125,_0x1aa081);},'LJSEJ':_0x1af110(0x172),'cRTKV':function(_0x5c6b77,_0x42a104){return _0x5c6b77(_0x42a104);},'wRpSC':function(_0x5497fc){return _0x5497fc();}};let _0x28d501=process[_0x1af110(0x176)]();const _0x3cc8d3=parse(_0x28d501)[_0x1af110(0x174)];while(_0x28d501!==_0x3cc8d3){if(existsSync(_0x3be4a0[_0x1af110(0x160)](join,_0x28d501,_0x3be4a0[_0x1af110(0x16d)])))return _0x28d501;_0x28d501=_0x3be4a0['cRTKV'](dirname,_0x28d501);}if(existsSync(join(_0x3cc8d3,_0x3be4a0['LJSEJ'])))return _0x3cc8d3;const _0x5067d3=_0x3be4a0[_0x1af110(0x15f)](findGitRoot);if(_0x5067d3)return _0x5067d3;return process[_0x1af110(0x176)]();}function _0x5803(_0x5bef34,_0x38e1f5){_0x5bef34=_0x5bef34-0x15f;const _0x12125e=_0x1212();let _0x580319=_0x12125e[_0x5bef34];return _0x580319;}export function getRangerDir(){const _0x349e63=_0x5803,_0x4b37af={'jAApc':function(_0x3fb8db,_0xcccc4a,_0x518888){return _0x3fb8db(_0xcccc4a,_0x518888);},'TIyIn':function(_0x287b07){return _0x287b07();}};return _0x4b37af[_0x349e63(0x175)](join,_0x4b37af['TIyIn'](getRangerRoot),_0x349e63(0x172));}function _0x1212(){const _0xfb6ee1=['byeal','.git','9579174mtybLn','2974756POawLI','1500680ThbIzW','130926TuRgWG','OhxyO','12VSRsWN','1741122PHebku','9WQsKzK','54928wICjfJ','5fgdFmo','zYHHH','LJSEJ','YSxJY','NZBDJ','8229424SBJIBm','3tfFykb','.ranger','231YDbUnB','root','jAApc','cwd','wRpSC'];_0x1212=function(){return _0xfb6ee1;};return _0x1212();}export function findGitRoot(){const _0x2dce2a=_0x5803,_0x2ad2e6={'NZBDJ':function(_0x2ec04c,_0x1ab9f4,_0x3eaef8){return _0x2ec04c(_0x1ab9f4,_0x3eaef8);},'OhxyO':function(_0x2f6406,_0x2d6d8f){return _0x2f6406(_0x2d6d8f);},'YSxJY':function(_0x36b99f,_0x1cf635){return _0x36b99f(_0x1cf635);},'tWTBW':_0x2dce2a(0x161)};let _0x23c44c=process['cwd']();const _0x432ead=parse(_0x23c44c)['root'];while(_0x23c44c!==_0x432ead){if(existsSync(_0x2ad2e6[_0x2dce2a(0x16f)](join,_0x23c44c,_0x2dce2a(0x161))))return _0x23c44c;_0x23c44c=_0x2ad2e6[_0x2dce2a(0x166)](dirname,_0x23c44c);}if(_0x2ad2e6[_0x2dce2a(0x16e)](existsSync,join(_0x432ead,_0x2ad2e6['tWTBW'])))return _0x432ead;return null;}export function getRangerHomeDir(){const _0x5ba8a8=_0x5803,_0x1247e0={'zYHHH':function(_0x15a7d5){return _0x15a7d5();},'QlpeH':'.ranger'};return join(_0x1247e0[_0x5ba8a8(0x16c)](homedir),_0x1247e0['QlpeH']);}
@@ -1 +1 @@
1
- function _0x373e(_0x3a169c,_0x385807){_0x3a169c=_0x3a169c-0xf9;const _0x1dff78=_0x1dff();let _0x373e60=_0x1dff78[_0x3a169c];return _0x373e60;}(function(_0x4980a9,_0xc2a748){const _0x196a66=_0x373e,_0x2929b1=_0x4980a9();while(!![]){try{const _0x1d1384=-parseInt(_0x196a66(0xfc))/0x1*(parseInt(_0x196a66(0xfe))/0x2)+parseInt(_0x196a66(0xff))/0x3+parseInt(_0x196a66(0x106))/0x4*(-parseInt(_0x196a66(0x105))/0x5)+-parseInt(_0x196a66(0xf9))/0x6+parseInt(_0x196a66(0xfa))/0x7+-parseInt(_0x196a66(0x103))/0x8*(-parseInt(_0x196a66(0xfd))/0x9)+-parseInt(_0x196a66(0x100))/0xa*(parseInt(_0x196a66(0x104))/0xb);if(_0x1d1384===_0xc2a748)break;else _0x2929b1['push'](_0x2929b1['shift']());}catch(_0x52b957){_0x2929b1['push'](_0x2929b1['shift']());}}}(_0x1dff,0x89419));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x1dff(){const _0x38f6e7=['5812504JgWlRf','77nxTSnZ','45zMGSBw','156192XOewAh','3331530DWsozq','6127478KVbLNh','label','6454xxTMyb','9IKuWlK','174iHeEjO','1498935GEheHf','101680sElSVb','ms...','\x20failed\x20(attempt\x20'];_0x1dff=function(){return _0x38f6e7;};return _0x1dff();}export async function withRetry(_0x2cb9a8,_0x293fe0){const _0xd0a630=_0x373e,_0x35306f={'JCUwl':function(_0x287631,_0x1913f5){return _0x287631<=_0x1913f5;},'mQblG':function(_0x21b699,_0x10e61d){return _0x21b699<_0x10e61d;},'SGouD':function(_0x1403e0,_0x281899){return _0x1403e0*_0x281899;},'yvonO':function(_0x40599a,_0x524a98){return _0x40599a+_0x524a98;}},_0x32c01c=_0x293fe0?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x4eebb9=_0x293fe0?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x179ae2;for(let _0x1e5eb4=0x0;_0x35306f['JCUwl'](_0x1e5eb4,_0x32c01c);_0x1e5eb4++){try{return await _0x2cb9a8();}catch(_0x5270c6){_0x179ae2=_0x5270c6 instanceof Error?_0x5270c6:new Error(String(_0x5270c6));if(_0x35306f['mQblG'](_0x1e5eb4,_0x32c01c)){const _0x15323e=_0x35306f['SGouD'](_0x4eebb9,Math['pow'](0x2,_0x1e5eb4));_0x293fe0?.[_0xd0a630(0xfb)]&&console['error'](_0x293fe0['label']+_0xd0a630(0x102)+(_0x1e5eb4+0x1)+'/'+_0x35306f['yvonO'](_0x32c01c,0x1)+'),\x20retrying\x20in\x20'+_0x15323e+_0xd0a630(0x101)),await new Promise(_0x3985e7=>setTimeout(_0x3985e7,_0x15323e));}}}throw _0x179ae2;}
1
+ (function(_0x3c7e37,_0x3bcc22){const _0x22dad0=_0x1366,_0x3e108f=_0x3c7e37();while(!![]){try{const _0xe8d0cb=parseInt(_0x22dad0(0x88))/0x1*(-parseInt(_0x22dad0(0x85))/0x2)+parseInt(_0x22dad0(0x8f))/0x3*(-parseInt(_0x22dad0(0x8a))/0x4)+parseInt(_0x22dad0(0x8d))/0x5*(-parseInt(_0x22dad0(0x8e))/0x6)+-parseInt(_0x22dad0(0x87))/0x7*(-parseInt(_0x22dad0(0x84))/0x8)+parseInt(_0x22dad0(0x89))/0x9*(parseInt(_0x22dad0(0x92))/0xa)+parseInt(_0x22dad0(0x83))/0xb+parseInt(_0x22dad0(0x91))/0xc;if(_0xe8d0cb===_0x3bcc22)break;else _0x3e108f['push'](_0x3e108f['shift']());}catch(_0x567221){_0x3e108f['push'](_0x3e108f['shift']());}}}(_0x135b,0xbae60));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x4e955c,_0x234cd1){const _0x165e90=_0x1366,_0x1f3425={'Fzear':function(_0x33e303,_0x26aec3){return _0x33e303 instanceof _0x26aec3;},'rNDUq':function(_0x31034b,_0x116a63){return _0x31034b+_0x116a63;}},_0x58146f=_0x234cd1?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x4bfbb3=_0x234cd1?.[_0x165e90(0x90)]??DEFAULT_BASE_DELAY_MS;let _0x2ddaab;for(let _0xdb92fa=0x0;_0xdb92fa<=_0x58146f;_0xdb92fa++){try{return await _0x4e955c();}catch(_0x3396a2){_0x2ddaab=_0x1f3425[_0x165e90(0x86)](_0x3396a2,Error)?_0x3396a2:new Error(String(_0x3396a2));if(_0xdb92fa<_0x58146f){const _0x1263b7=_0x4bfbb3*Math['pow'](0x2,_0xdb92fa);_0x234cd1?.['label']&&console['error'](_0x234cd1['label']+_0x165e90(0x8c)+(_0xdb92fa+0x1)+'/'+_0x1f3425['rNDUq'](_0x58146f,0x1)+_0x165e90(0x8b)+_0x1263b7+'ms...'),await new Promise(_0x39168b=>setTimeout(_0x39168b,_0x1263b7));}}}throw _0x2ddaab;}function _0x1366(_0x34ec88,_0x341709){_0x34ec88=_0x34ec88-0x83;const _0x135b24=_0x135b();let _0x136636=_0x135b24[_0x34ec88];return _0x136636;}function _0x135b(){const _0x1929a5=['10896556POelKP','78928FacXtS','873640XJSGad','Fzear','847TIDpty','1VKRzCV','225exRJmz','4HUTVVe','),\x20retrying\x20in\x20','\x20failed\x20(attempt\x20','5krdHkQ','1164156jBccHt','3997977uUvKUU','baseDelayMs','484608UQUcbX','201710JxnqFW'];_0x135b=function(){return _0x1929a5;};return _0x135b();}
@@ -1 +1 @@
1
- (function(_0xb68f5c,_0x4bf02e){const _0x57363a=_0xb547,_0xfc208e=_0xb68f5c();while(!![]){try{const _0xd5e899=parseInt(_0x57363a(0x11c))/0x1*(parseInt(_0x57363a(0x12b))/0x2)+-parseInt(_0x57363a(0x12e))/0x3+parseInt(_0x57363a(0x131))/0x4*(-parseInt(_0x57363a(0x14e))/0x5)+parseInt(_0x57363a(0x120))/0x6*(parseInt(_0x57363a(0x14a))/0x7)+-parseInt(_0x57363a(0x139))/0x8*(-parseInt(_0x57363a(0x141))/0x9)+parseInt(_0x57363a(0x14f))/0xa*(parseInt(_0x57363a(0x145))/0xb)+parseInt(_0x57363a(0x11d))/0xc*(-parseInt(_0x57363a(0x14c))/0xd);if(_0xd5e899===_0x4bf02e)break;else _0xfc208e['push'](_0xfc208e['shift']());}catch(_0x4bc179){_0xfc208e['push'](_0xfc208e['shift']());}}}(_0x1b7f,0xd2abd));import*as _0x251069 from'fs';import*as _0x1bba8b from'path';import*as _0x537558 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x1bba8b['join'](_0x537558['homedir'](),'.claude','.ranger_cache.json');function _0xb547(_0x52fa5a,_0x530ed2){_0x52fa5a=_0x52fa5a-0x11b;const _0x1b7f89=_0x1b7f();let _0xb54746=_0x1b7f89[_0x52fa5a];return _0xb54746;}function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x5e3691=_0xb547,_0x340ee1={'XXtqP':function(_0x1f246c){return _0x1f246c();}};try{if(_0x251069[_0x5e3691(0x148)](CACHE_FILE)){const _0x564275=JSON['parse'](_0x251069[_0x5e3691(0x12f)](CACHE_FILE,_0x5e3691(0x149)));return{'version':0x3,'sessions':_0x564275[_0x5e3691(0x123)]||{},'branches':_0x564275[_0x5e3691(0x150)]||{},'lastEnabledSessionClearedAt':_0x564275[_0x5e3691(0x136)]};}}catch{}return _0x340ee1['XXtqP'](createEmptyCache);}function saveCache(_0x3046e9){const _0x367b0d=_0xb547;try{const _0xc075cc=_0x1bba8b['dirname'](CACHE_FILE);!_0x251069[_0x367b0d(0x148)](_0xc075cc)&&_0x251069[_0x367b0d(0x11e)](_0xc075cc,{'recursive':!![]}),_0x251069['writeFileSync'](CACHE_FILE,JSON[_0x367b0d(0x122)](_0x3046e9,null,0x2));}catch{}}export function getCurrentBranch(){const _0x22dd4c=_0xb547,_0x1d4450={'heFzq':function(_0x36b9dd,_0x4f246e,_0x58f999){return _0x36b9dd(_0x4f246e,_0x58f999);},'cZbbs':'utf-8','CtZzg':'pipe'};try{const _0x49e6ff=_0x1d4450['heFzq'](execSync,_0x22dd4c(0x144),{'encoding':_0x1d4450[_0x22dd4c(0x12a)],'stdio':['pipe',_0x1d4450['CtZzg'],_0x22dd4c(0x135)]})[_0x22dd4c(0x13c)]();if(!_0x49e6ff||_0x49e6ff==='HEAD')return null;return _0x49e6ff;}catch{return null;}}function _0x1b7f(){const _0x1b4d30=['4FwNUsq','IpJuc','WhKDj','4314414uEDycu','readFileSync','enabled','4NxHqjg','prompted','registeredAt','dJOSQ','pipe','lastEnabledSessionClearedAt','CnAuY','cXveT','8QMqpPc','naUjh','MqOys','trim','TNCaa','rGqbt','WKsEQ','now','4931505bNXkkB','lastPlanReminderAt','kfUFI','git\x20rev-parse\x20--abbrev-ref\x20HEAD','49753loRhPA','yuKpy','XIaGe','existsSync','utf-8','18242RFvcZy','currentBranch','26azVFbI','master','1576550zULisk','2900XuAQLq','branches','DOeIa','kdFaG','abkQO','IHCOg','597676XoZJVV','10950012PLUsMF','mkdirSync','dgmbs','3192MBbNfU','lastStopReminderAt','stringify','sessions','ZHdCh','hOiqV','main','bItji','featureId','aZdJk','cZbbs'];_0x1b7f=function(){return _0x1b4d30;};return _0x1b7f();}export function enableBranch(_0x496f21){const _0x253835=_0xb547,_0x1d4537={'abkQO':function(_0x3bba67){return _0x3bba67();},'dJOSQ':function(_0x13ff24,_0xc91922){return _0x13ff24(_0xc91922);}},_0x395d37=_0x1d4537[_0x253835(0x153)](loadCache);_0x395d37[_0x253835(0x150)][_0x496f21]=!![],_0x1d4537[_0x253835(0x134)](saveCache,_0x395d37);}export function disableBranch(_0xbf0022){const _0x30c234=_0xb547,_0x4645ce={'CfLZe':function(_0x2d1167,_0x5f2290){return _0x2d1167(_0x5f2290);}},_0x3c764b=loadCache();delete _0x3c764b[_0x30c234(0x150)][_0xbf0022],_0x4645ce['CfLZe'](saveCache,_0x3c764b);}export function isBranchEnabled(_0xb63fa8){const _0x1571e4=_0xb547,_0x20c385={'naUjh':function(_0x1a2e81,_0x5ecd47){return _0x1a2e81===_0x5ecd47;}},_0x44b6b9=loadCache();return _0x20c385[_0x1571e4(0x13a)](_0x44b6b9[_0x1571e4(0x150)][_0xb63fa8],!![]);}function getOrCreateSession(_0x4d643c,_0x3acc79){return!_0x4d643c['sessions'][_0x3acc79]&&(_0x4d643c['sessions'][_0x3acc79]={}),_0x4d643c['sessions'][_0x3acc79];}export function enableSession(_0x45693a){const _0x2e1c41=_0xb547,_0x1ab823={'ZHdCh':function(_0x10b291,_0x120bd2,_0x4d0047){return _0x10b291(_0x120bd2,_0x4d0047);},'yQsHg':function(_0x4e6851,_0x35ca68){return _0x4e6851!==_0x35ca68;}},_0x1faada=loadCache(),_0x11e53e=_0x1ab823[_0x2e1c41(0x124)](getOrCreateSession,_0x1faada,_0x45693a);_0x11e53e[_0x2e1c41(0x130)]=!![];const _0x4ae275=getCurrentBranch();_0x4ae275&&_0x1ab823['yQsHg'](_0x4ae275,'main')&&_0x1ab823['yQsHg'](_0x4ae275,'master')&&(_0x1faada[_0x2e1c41(0x150)][_0x4ae275]=!![],_0x11e53e['currentBranch']=_0x4ae275),saveCache(_0x1faada);}export function isSessionEnabled(_0x211350){const _0xf49431=_0xb547,_0x55effe={'yuKpy':function(_0x18c33a){return _0x18c33a();},'bItji':'main','IHCOg':function(_0x4b5955,_0x4495dd){return _0x4b5955===_0x4495dd;}},_0x4f948a=loadCache(),_0x384983=_0x55effe[_0xf49431(0x146)](getCurrentBranch);if(!_0x384983||_0x384983===_0x55effe[_0xf49431(0x127)]||_0x384983==='master')return _0x55effe['IHCOg'](_0x4f948a[_0xf49431(0x123)][_0x211350]?.[_0xf49431(0x130)],!![]);const _0x3a87cf=_0x4f948a['branches'][_0x384983]===!![],_0x1b3de2=_0x55effe[_0xf49431(0x11b)](_0x4f948a[_0xf49431(0x123)][_0x211350]?.[_0xf49431(0x130)],!![]);return _0x3a87cf||_0x1b3de2;}export function disableSession(_0x163fb4){const _0x541138=_0xb547,_0x2dfcc9={'rGqbt':function(_0x5e50d8){return _0x5e50d8();},'QbhFK':function(_0x127454,_0x576fbd){return _0x127454(_0x576fbd);}},_0x3fc0d8=_0x2dfcc9[_0x541138(0x13e)](loadCache),_0x1db8e6=getOrCreateSession(_0x3fc0d8,_0x163fb4);_0x1db8e6[_0x541138(0x130)]=![],_0x2dfcc9['QbhFK'](saveCache,_0x3fc0d8);}export function updateBranchTracking(_0x5e179a){const _0x405990=_0xb547,_0x4af3a6={'MqOys':function(_0x572693){return _0x572693();},'IpJuc':function(_0x5bd5b9,_0x5c3ce0){return _0x5bd5b9===_0x5c3ce0;},'xbwzO':_0x405990(0x14d),'GxzGr':function(_0x366f42,_0x894a8c){return _0x366f42!==_0x894a8c;}},_0x8f538d=_0x4af3a6[_0x405990(0x13b)](loadCache),_0x42f8a7=_0x8f538d[_0x405990(0x123)][_0x5e179a];if(!_0x42f8a7?.['enabled'])return;const _0x4354d5=_0x4af3a6[_0x405990(0x13b)](getCurrentBranch);if(!_0x4354d5||_0x4af3a6[_0x405990(0x12c)](_0x4354d5,_0x405990(0x126))||_0x4354d5===_0x4af3a6['xbwzO'])return;_0x4af3a6['GxzGr'](_0x42f8a7['currentBranch'],_0x4354d5)&&(_0x8f538d['branches'][_0x4354d5]=!![],_0x42f8a7['currentBranch']=_0x4354d5,saveCache(_0x8f538d));}export function initBranchTracking(_0x2957cc){const _0x135261=_0xb547,_0x5812e9={'dsJsC':function(_0x486cd2){return _0x486cd2();},'ywIKB':function(_0x366a2d,_0x525acb){return _0x366a2d===_0x525acb;},'twHnk':function(_0x3d49e1,_0x47f9ba){return _0x3d49e1(_0x47f9ba);}},_0x34d328=_0x5812e9['dsJsC'](loadCache),_0x5befac=_0x5812e9['dsJsC'](getCurrentBranch);if(!_0x5befac||_0x5812e9['ywIKB'](_0x5befac,_0x135261(0x126))||_0x5befac==='master')return;if(_0x34d328[_0x135261(0x150)][_0x5befac]===!![]){const _0x241d4f=getOrCreateSession(_0x34d328,_0x2957cc);_0x241d4f[_0x135261(0x130)]=!![],_0x241d4f[_0x135261(0x14b)]=_0x5befac,_0x5812e9['twHnk'](saveCache,_0x34d328);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x393afc){const _0x2174b1=_0xb547,_0x35423f={'ZevFJ':function(_0x3ea7bb){return _0x3ea7bb();},'WhKDj':function(_0x40f30a,_0x3f738a){return _0x40f30a(_0x3f738a);}},_0x422551=_0x35423f['ZevFJ'](loadCache),_0x25a72c=_0x422551['sessions'][_0x393afc];_0x25a72c?.['enabled']&&(_0x422551['lastEnabledSessionClearedAt']=Date[_0x2174b1(0x140)](),_0x35423f[_0x2174b1(0x12d)](saveCache,_0x422551));}export function shouldAutoEnableAfterClear(_0x1e7a4e){const _0x1a09a4=_0xb547,_0x55b1dd={'gxUYj':'clear','iBkGa':function(_0x39e0d6){return _0x39e0d6();}};if(_0x1e7a4e!==_0x55b1dd['gxUYj'])return![];const _0x42ede9=_0x55b1dd['iBkGa'](loadCache),_0x4efe96=_0x42ede9[_0x1a09a4(0x136)];if(!_0x4efe96)return![];const _0x3d4a08=Date['now']()-_0x4efe96;return _0x3d4a08<=CLEAR_AUTO_ENABLE_WINDOW_MS;}export function autoEnableAfterClear(_0x498013){const _0x541f18=_0xb547,_0x3612e7={'CnAuY':function(_0x5d3bf9){return _0x5d3bf9();},'hOiqV':function(_0x2bbdd6,_0x5f3d76,_0x182b78){return _0x2bbdd6(_0x5f3d76,_0x182b78);},'hqsFq':function(_0x3f99bd,_0x13887a){return _0x3f99bd!==_0x13887a;},'aZdJk':'master','kdFaG':function(_0x33e578,_0x244b9d){return _0x33e578(_0x244b9d);}},_0x414999=_0x3612e7[_0x541f18(0x137)](loadCache),_0x15ec1f=_0x3612e7[_0x541f18(0x125)](getOrCreateSession,_0x414999,_0x498013);_0x15ec1f['enabled']=!![];const _0x532451=getCurrentBranch();_0x532451&&_0x532451!==_0x541f18(0x126)&&_0x3612e7['hqsFq'](_0x532451,_0x3612e7[_0x541f18(0x129)])&&(_0x15ec1f[_0x541f18(0x14b)]=_0x532451),delete _0x414999['lastEnabledSessionClearedAt'],_0x3612e7[_0x541f18(0x152)](saveCache,_0x414999);}export function registerSession(_0x6496c9,_0x7b2b9e){const _0x520200=_0xb547,_0x2f08bd={'cXveT':function(_0x55fcc7){return _0x55fcc7();},'qWsoI':function(_0x67fb8e,_0x3936e1,_0xd512b9){return _0x67fb8e(_0x3936e1,_0xd512b9);},'XIaGe':function(_0x3ff9ed,_0x2cd1e4){return _0x3ff9ed(_0x2cd1e4);}},_0x2121a3=_0x2f08bd[_0x520200(0x138)](loadCache),_0x46e110=_0x2f08bd['qWsoI'](getOrCreateSession,_0x2121a3,_0x6496c9);_0x46e110['featureId']=_0x7b2b9e,_0x46e110['registeredAt']=new Date()['toISOString'](),_0x2f08bd[_0x520200(0x147)](saveCache,_0x2121a3);}export function getSessionEntry(_0x3f44e2){const _0x322d24=_0xb547,_0x3ef84c={'IOdRz':function(_0x1dffe1){return _0x1dffe1();}},_0x54dc69=_0x3ef84c['IOdRz'](loadCache),_0x52be8f=_0x54dc69['sessions'][_0x3f44e2];if(_0x52be8f?.['featureId']&&_0x52be8f?.['registeredAt'])return{'featureId':_0x52be8f[_0x322d24(0x128)],'registeredAt':_0x52be8f['registeredAt']};return null;}export function unregisterSession(_0xc9c234){const _0x5e3699=_0xb547,_0x511f1d={'TNCaa':function(_0x45245d,_0x5d5a9e){return _0x45245d(_0x5d5a9e);}},_0x960ba9=loadCache(),_0x546cd6=_0x960ba9['sessions'][_0xc9c234];_0x546cd6&&(delete _0x546cd6[_0x5e3699(0x128)],delete _0x546cd6[_0x5e3699(0x133)],_0x511f1d[_0x5e3699(0x13d)](saveCache,_0x960ba9));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x2b7906){const _0x3fc63b=_0xb547,_0x3f63fd={'dgmbs':function(_0xd49e96,_0x33d924,_0x598ce1){return _0xd49e96(_0x33d924,_0x598ce1);},'DOeIa':function(_0x3e6546,_0x16eb99){return _0x3e6546>=_0x16eb99;},'kfUFI':function(_0x25378b,_0x5256d0){return _0x25378b-_0x5256d0;},'dpBiB':function(_0xfd300f,_0x12aef9){return _0xfd300f(_0x12aef9);}},_0x57e2da=loadCache(),_0x44d78d=_0x3f63fd[_0x3fc63b(0x11f)](getOrCreateSession,_0x57e2da,_0x2b7906),_0x32eac3=_0x44d78d[_0x3fc63b(0x142)]||0x0,_0x530277=Date[_0x3fc63b(0x140)]();if(_0x3f63fd[_0x3fc63b(0x151)](_0x3f63fd[_0x3fc63b(0x143)](_0x530277,_0x32eac3),PLAN_REMINDER_INTERVAL_MS))return _0x44d78d['lastPlanReminderAt']=_0x530277,_0x3f63fd['dpBiB'](saveCache,_0x57e2da),!![];return![];}export function shouldShowStopReminder(_0x31baf8){const _0x31eb73=_0xb547,_0x2be185={'WKsEQ':function(_0x2dbbc7,_0x41b034,_0x10b3f2){return _0x2dbbc7(_0x41b034,_0x10b3f2);},'LSRWc':function(_0x5ec8f2,_0x15370a){return _0x5ec8f2(_0x15370a);}},_0x1adc05=loadCache(),_0x4acd2f=_0x2be185[_0x31eb73(0x13f)](getOrCreateSession,_0x1adc05,_0x31baf8),_0x62fb49=_0x4acd2f[_0x31eb73(0x121)]||0x0,_0x444949=Date[_0x31eb73(0x140)]();if(_0x444949-_0x62fb49>=STOP_REMINDER_INTERVAL_MS)return _0x4acd2f[_0x31eb73(0x121)]=_0x444949,_0x2be185['LSRWc'](saveCache,_0x1adc05),!![];return![];}export function hasSessionBeenPrompted(_0x40c176){const _0x2e4bec=_0xb547,_0x22bbaf=loadCache();return _0x22bbaf['sessions'][_0x40c176]?.[_0x2e4bec(0x132)]===!![];}export function markSessionPrompted(_0x826918){const _0x5477fc=_0xb547,_0x5e8762=loadCache(),_0x4a287d=getOrCreateSession(_0x5e8762,_0x826918);_0x4a287d[_0x5477fc(0x132)]=!![],saveCache(_0x5e8762);}export function getCacheFile(){return CACHE_FILE;}
1
+ const _0x1163a4=_0x9a3d;(function(_0x3d7113,_0x57e34d){const _0x1a2570=_0x9a3d,_0x302edd=_0x3d7113();while(!![]){try{const _0x1a3996=-parseInt(_0x1a2570(0x12a))/0x1+-parseInt(_0x1a2570(0x154))/0x2+parseInt(_0x1a2570(0x14c))/0x3+parseInt(_0x1a2570(0x153))/0x4+-parseInt(_0x1a2570(0x158))/0x5*(-parseInt(_0x1a2570(0x15a))/0x6)+-parseInt(_0x1a2570(0x152))/0x7+-parseInt(_0x1a2570(0x150))/0x8*(parseInt(_0x1a2570(0x13f))/0x9);if(_0x1a3996===_0x57e34d)break;else _0x302edd['push'](_0x302edd['shift']());}catch(_0x589c46){_0x302edd['push'](_0x302edd['shift']());}}}(_0x1217,0xdbbe5));import*as _0x6bef61 from'fs';import*as _0x1ec0ae from'path';import*as _0x24d619 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x1ec0ae[_0x1163a4(0x12c)](_0x24d619['homedir'](),'.claude',_0x1163a4(0x13a));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x4c7b5c=_0x1163a4,_0x1fc4c5={'YJxWd':'utf-8','zCDag':function(_0x105c17){return _0x105c17();}};try{if(_0x6bef61['existsSync'](CACHE_FILE)){const _0x59e428=JSON['parse'](_0x6bef61[_0x4c7b5c(0x13c)](CACHE_FILE,_0x1fc4c5['YJxWd']));return{'version':0x3,'sessions':_0x59e428['sessions']||{},'branches':_0x59e428[_0x4c7b5c(0x142)]||{},'lastEnabledSessionClearedAt':_0x59e428[_0x4c7b5c(0x135)]};}}catch{}return _0x1fc4c5['zCDag'](createEmptyCache);}function saveCache(_0x30a335){const _0x1ea24e=_0x1163a4;try{const _0x305b3b=_0x1ec0ae['dirname'](CACHE_FILE);!_0x6bef61[_0x1ea24e(0x14f)](_0x305b3b)&&_0x6bef61['mkdirSync'](_0x305b3b,{'recursive':!![]}),_0x6bef61[_0x1ea24e(0x157)](CACHE_FILE,JSON[_0x1ea24e(0x147)](_0x30a335,null,0x2));}catch{}}export function getCurrentBranch(){const _0x5b7f5a=_0x1163a4,_0x5b0632={'KMsJn':function(_0x426cd1,_0x28d320,_0x3d6373){return _0x426cd1(_0x28d320,_0x3d6373);},'zViLq':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','oToFC':'utf-8','ebXVS':_0x5b7f5a(0x12b)};try{const _0x55fb5d=_0x5b0632[_0x5b7f5a(0x146)](execSync,_0x5b0632['zViLq'],{'encoding':_0x5b0632[_0x5b7f5a(0x12d)],'stdio':['pipe',_0x5b7f5a(0x137),'pipe']})[_0x5b7f5a(0x129)]();if(!_0x55fb5d||_0x55fb5d===_0x5b0632['ebXVS'])return null;return _0x55fb5d;}catch{return null;}}export function enableBranch(_0x2daa8b){const _0x168e38=_0x1163a4,_0xb043e2={'bQqUF':function(_0x5f264a,_0x4bbaa8){return _0x5f264a(_0x4bbaa8);}},_0x69833d=loadCache();_0x69833d[_0x168e38(0x142)][_0x2daa8b]=!![],_0xb043e2[_0x168e38(0x155)](saveCache,_0x69833d);}export function disableBranch(_0x56bf72){const _0x4364e5=_0x1163a4,_0x56ca60={'FAYZB':function(_0x357358){return _0x357358();}},_0x58c107=_0x56ca60[_0x4364e5(0x131)](loadCache);delete _0x58c107['branches'][_0x56bf72],saveCache(_0x58c107);}export function isBranchEnabled(_0x3d7a9e){const _0x4f94c4=_0x1163a4,_0x50cca9={'rjMDT':function(_0x3f374b){return _0x3f374b();}},_0x1021e1=_0x50cca9['rjMDT'](loadCache);return _0x1021e1[_0x4f94c4(0x142)][_0x3d7a9e]===!![];}function getOrCreateSession(_0x2b730c,_0x3aeeff){const _0x48dcd2=_0x1163a4;return!_0x2b730c[_0x48dcd2(0x13b)][_0x3aeeff]&&(_0x2b730c[_0x48dcd2(0x13b)][_0x3aeeff]={}),_0x2b730c['sessions'][_0x3aeeff];}export function enableSession(_0x4b2144){const _0x428792=_0x1163a4,_0x33ea3d={'wuGZQ':function(_0x54476a){return _0x54476a();},'kRsXA':_0x428792(0x156),'jByfv':function(_0x4d3208,_0x20f0b1){return _0x4d3208!==_0x20f0b1;},'aWAEF':function(_0x568b8b,_0x40b3cb){return _0x568b8b(_0x40b3cb);}},_0x1cda8a=_0x33ea3d[_0x428792(0x132)](loadCache),_0x584868=getOrCreateSession(_0x1cda8a,_0x4b2144);_0x584868[_0x428792(0x14b)]=!![];const _0xa02b49=_0x33ea3d[_0x428792(0x132)](getCurrentBranch);_0xa02b49&&_0xa02b49!==_0x33ea3d['kRsXA']&&_0x33ea3d[_0x428792(0x12f)](_0xa02b49,'master')&&(_0x1cda8a[_0x428792(0x142)][_0xa02b49]=!![],_0x584868['currentBranch']=_0xa02b49),_0x33ea3d[_0x428792(0x134)](saveCache,_0x1cda8a);}export function isSessionEnabled(_0x1f8e37){const _0x1cca79=_0x1163a4,_0x37f827={'oeueB':function(_0x35fe57,_0x572933){return _0x35fe57===_0x572933;},'KUJsv':function(_0xd03eed,_0x5ab3ef){return _0xd03eed||_0x5ab3ef;}},_0x2b2996=loadCache(),_0x5a417d=getCurrentBranch();if(!_0x5a417d||_0x5a417d===_0x1cca79(0x156)||_0x5a417d==='master')return _0x37f827[_0x1cca79(0x159)](_0x2b2996['sessions'][_0x1f8e37]?.[_0x1cca79(0x14b)],!![]);const _0x48d389=_0x37f827[_0x1cca79(0x159)](_0x2b2996['branches'][_0x5a417d],!![]),_0x16e13d=_0x2b2996[_0x1cca79(0x13b)][_0x1f8e37]?.['enabled']===!![];return _0x37f827['KUJsv'](_0x48d389,_0x16e13d);}export function disableSession(_0x33efbc){const _0x5209f8=loadCache(),_0x5751ed=getOrCreateSession(_0x5209f8,_0x33efbc);_0x5751ed['enabled']=![],saveCache(_0x5209f8);}export function updateBranchTracking(_0x55da2d){const _0x5d3012=_0x1163a4,_0x3b410b={'RESIY':function(_0x25df92){return _0x25df92();},'BCjqL':function(_0x4f0a92){return _0x4f0a92();},'oisUE':function(_0x31e318,_0x24b64c){return _0x31e318===_0x24b64c;}},_0x1f641f=_0x3b410b[_0x5d3012(0x14a)](loadCache),_0x581a25=_0x1f641f[_0x5d3012(0x13b)][_0x55da2d];if(!_0x581a25?.[_0x5d3012(0x14b)])return;const _0x1edc90=_0x3b410b[_0x5d3012(0x145)](getCurrentBranch);if(!_0x1edc90||_0x1edc90===_0x5d3012(0x156)||_0x3b410b['oisUE'](_0x1edc90,'master'))return;_0x581a25['currentBranch']!==_0x1edc90&&(_0x1f641f['branches'][_0x1edc90]=!![],_0x581a25['currentBranch']=_0x1edc90,saveCache(_0x1f641f));}export function initBranchTracking(_0x34bf65){const _0x428bec=_0x1163a4,_0x450d50={'xXfZG':function(_0x4b7aa2){return _0x4b7aa2();},'TTvpD':function(_0x2f07ee,_0xda5a1f){return _0x2f07ee===_0xda5a1f;},'RJoRJ':_0x428bec(0x156),'VSrFv':_0x428bec(0x13d),'XCpET':function(_0x2bd4cc,_0x200549){return _0x2bd4cc===_0x200549;},'PIfgs':function(_0x15db55,_0x45fc4c){return _0x15db55(_0x45fc4c);}},_0x395543=_0x450d50['xXfZG'](loadCache),_0x3b96b1=getCurrentBranch();if(!_0x3b96b1||_0x450d50[_0x428bec(0x13e)](_0x3b96b1,_0x450d50[_0x428bec(0x151)])||_0x3b96b1===_0x450d50[_0x428bec(0x128)])return;if(_0x450d50[_0x428bec(0x148)](_0x395543[_0x428bec(0x142)][_0x3b96b1],!![])){const _0x545d87=getOrCreateSession(_0x395543,_0x34bf65);_0x545d87['enabled']=!![],_0x545d87['currentBranch']=_0x3b96b1,_0x450d50['PIfgs'](saveCache,_0x395543);}}function _0x9a3d(_0x902526,_0x506972){_0x902526=_0x902526-0x128;const _0x121716=_0x1217();let _0x9a3d5=_0x121716[_0x902526];return _0x9a3d5;}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;function _0x1217(){const _0x354edc=['wuGZQ','registeredAt','aWAEF','lastEnabledSessionClearedAt','yGFGh','pipe','Mlshk','QadGs','.ranger_cache.json','sessions','readFileSync','master','TTvpD','4442598HLkzAy','toISOString','currentBranch','branches','clear','dQwNl','BCjqL','KMsJn','stringify','XCpET','featureId','RESIY','enabled','3097122KbPUhv','ggBJc','qAGFr','existsSync','8gbAgEf','RJoRJ','3530653KULULB','166600cXpREO','404676hlTXMs','bQqUF','main','writeFileSync','5iFlLNy','oeueB','10093026jEhIEs','VLXIJ','VSrFv','trim','655787UsIrIb','HEAD','join','oToFC','lastPlanReminderAt','jByfv','now','FAYZB'];_0x1217=function(){return _0x354edc;};return _0x1217();}export function recordEnabledSessionCleared(_0xa82821){const _0x9e0f7f=_0x1163a4,_0x1e9a7a={'dQwNl':function(_0x4cb970){return _0x4cb970();},'Qgzzv':function(_0xbabfca,_0x42f167){return _0xbabfca(_0x42f167);}},_0x50f5fb=_0x1e9a7a[_0x9e0f7f(0x144)](loadCache),_0x5b4607=_0x50f5fb[_0x9e0f7f(0x13b)][_0xa82821];_0x5b4607?.[_0x9e0f7f(0x14b)]&&(_0x50f5fb[_0x9e0f7f(0x135)]=Date[_0x9e0f7f(0x130)](),_0x1e9a7a['Qgzzv'](saveCache,_0x50f5fb));}export function shouldAutoEnableAfterClear(_0x274258){const _0x5a718c=_0x1163a4,_0x17b54d={'dNfAl':function(_0x304d17,_0x1637e9){return _0x304d17!==_0x1637e9;},'ZNAHf':function(_0x52f0cc){return _0x52f0cc();},'NqBrL':function(_0x4fba2c,_0x199705){return _0x4fba2c-_0x199705;}};if(_0x17b54d['dNfAl'](_0x274258,_0x5a718c(0x143)))return![];const _0x415311=_0x17b54d['ZNAHf'](loadCache),_0x3dd4d7=_0x415311[_0x5a718c(0x135)];if(!_0x3dd4d7)return![];const _0x1d3393=_0x17b54d['NqBrL'](Date['now'](),_0x3dd4d7);return _0x1d3393<=CLEAR_AUTO_ENABLE_WINDOW_MS;}export function autoEnableAfterClear(_0x270534){const _0x2ad4cb=_0x1163a4,_0x8cc36b={'WvgDD':function(_0x47477a){return _0x47477a();},'QadGs':function(_0xf68932){return _0xf68932();},'pDbuF':function(_0x6967a2,_0x5914e5){return _0x6967a2!==_0x5914e5;},'uSVnV':_0x2ad4cb(0x156)},_0x5ac978=_0x8cc36b['WvgDD'](loadCache),_0x2fa05b=getOrCreateSession(_0x5ac978,_0x270534);_0x2fa05b[_0x2ad4cb(0x14b)]=!![];const _0x2e83a7=_0x8cc36b[_0x2ad4cb(0x139)](getCurrentBranch);_0x2e83a7&&_0x8cc36b['pDbuF'](_0x2e83a7,_0x8cc36b['uSVnV'])&&_0x2e83a7!=='master'&&(_0x2fa05b[_0x2ad4cb(0x141)]=_0x2e83a7),delete _0x5ac978['lastEnabledSessionClearedAt'],saveCache(_0x5ac978);}export function registerSession(_0x12b5ea,_0x2b19ae){const _0x4bff65=_0x1163a4,_0xcd4e57={'Mlshk':function(_0x1f4199){return _0x1f4199();},'VgidW':function(_0x546545,_0x3a5d73,_0x432974){return _0x546545(_0x3a5d73,_0x432974);},'nhKwO':function(_0x3845df,_0x30f923){return _0x3845df(_0x30f923);}},_0xa01ac6=_0xcd4e57[_0x4bff65(0x138)](loadCache),_0x39eeef=_0xcd4e57['VgidW'](getOrCreateSession,_0xa01ac6,_0x12b5ea);_0x39eeef[_0x4bff65(0x149)]=_0x2b19ae,_0x39eeef[_0x4bff65(0x133)]=new Date()[_0x4bff65(0x140)](),_0xcd4e57['nhKwO'](saveCache,_0xa01ac6);}export function getSessionEntry(_0x7b35e9){const _0x51fd41=_0x1163a4,_0x3a42cf=loadCache(),_0x3338f4=_0x3a42cf[_0x51fd41(0x13b)][_0x7b35e9];if(_0x3338f4?.['featureId']&&_0x3338f4?.['registeredAt'])return{'featureId':_0x3338f4['featureId'],'registeredAt':_0x3338f4['registeredAt']};return null;}export function unregisterSession(_0x5bd4a9){const _0x58b274=_0x1163a4,_0x4c7ec0=loadCache(),_0x4c533a=_0x4c7ec0[_0x58b274(0x13b)][_0x5bd4a9];_0x4c533a&&(delete _0x4c533a[_0x58b274(0x149)],delete _0x4c533a['registeredAt'],saveCache(_0x4c7ec0));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x1d7c46){const _0x57ace0=_0x1163a4,_0x52dad7={'qAGFr':function(_0x5f0a60,_0x2c556f){return _0x5f0a60>=_0x2c556f;}},_0x4ae304=loadCache(),_0x3541e0=getOrCreateSession(_0x4ae304,_0x1d7c46),_0x67efa9=_0x3541e0['lastPlanReminderAt']||0x0,_0x1a2264=Date[_0x57ace0(0x130)]();if(_0x52dad7[_0x57ace0(0x14e)](_0x1a2264-_0x67efa9,PLAN_REMINDER_INTERVAL_MS))return _0x3541e0[_0x57ace0(0x12e)]=_0x1a2264,saveCache(_0x4ae304),!![];return![];}export function shouldShowStopReminder(_0x429f5d){const _0x27d630=_0x1163a4,_0x11e7f7={'ggBJc':function(_0x568535,_0x50b339,_0x24fd2a){return _0x568535(_0x50b339,_0x24fd2a);},'VLXIJ':function(_0x1af084,_0x1340ab){return _0x1af084>=_0x1340ab;},'yGFGh':function(_0x5b66f9,_0x3d9b5e){return _0x5b66f9-_0x3d9b5e;}},_0x27acab=loadCache(),_0x3abf9a=_0x11e7f7[_0x27d630(0x14d)](getOrCreateSession,_0x27acab,_0x429f5d),_0x47210b=_0x3abf9a['lastStopReminderAt']||0x0,_0x34669d=Date[_0x27d630(0x130)]();if(_0x11e7f7[_0x27d630(0x15b)](_0x11e7f7[_0x27d630(0x136)](_0x34669d,_0x47210b),STOP_REMINDER_INTERVAL_MS))return _0x3abf9a['lastStopReminderAt']=_0x34669d,saveCache(_0x27acab),!![];return![];}export function hasSessionBeenPrompted(_0x27b3d4){const _0x125a81=loadCache();return _0x125a81['sessions'][_0x27b3d4]?.['prompted']===!![];}export function markSessionPrompted(_0x492b0b){const _0x6940ac={'yUgIC':function(_0x16a786,_0x4f37eb){return _0x16a786(_0x4f37eb);}},_0x112249=loadCache(),_0x4cf3c5=getOrCreateSession(_0x112249,_0x492b0b);_0x4cf3c5['prompted']=!![],_0x6940ac['yUgIC'](saveCache,_0x112249);}export function getCacheFile(){return CACHE_FILE;}
@@ -1 +1 @@
1
- const _0x4b6d94=_0xe175;(function(_0x457c50,_0x18e922){const _0x198358=_0xe175,_0x27213e=_0x457c50();while(!![]){try{const _0x2787f9=-parseInt(_0x198358(0xf9))/0x1+-parseInt(_0x198358(0x125))/0x2*(parseInt(_0x198358(0x121))/0x3)+-parseInt(_0x198358(0xda))/0x4*(parseInt(_0x198358(0xe8))/0x5)+-parseInt(_0x198358(0x109))/0x6+parseInt(_0x198358(0xe0))/0x7*(parseInt(_0x198358(0x13b))/0x8)+parseInt(_0x198358(0x129))/0x9+parseInt(_0x198358(0x134))/0xa*(parseInt(_0x198358(0x127))/0xb);if(_0x2787f9===_0x18e922)break;else _0x27213e['push'](_0x27213e['shift']());}catch(_0x4eef72){_0x27213e['push'](_0x27213e['shift']());}}}(_0x4917,0x6220f));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';export function getEnvDir(_0x348c1e){const _0x4f288f=_0xe175,_0xcdf808={'ytYCQ':function(_0x8b9743){return _0x8b9743();},'nHKts':function(_0x2fff4c,_0x161d7f,_0x3dfc1d,_0x326674){return _0x2fff4c(_0x161d7f,_0x3dfc1d,_0x326674);},'bgGhz':function(_0xb15bf6,_0x31165a,_0x2636ec,_0xb8405){return _0xb15bf6(_0x31165a,_0x2636ec,_0xb8405);},'ImKJp':'local','MJNlK':function(_0x22267e,_0x4d6289,_0x9594b3){return _0x22267e(_0x4d6289,_0x9594b3);},'acxUJ':function(_0xe69e55,_0x5efb43,_0x2ae27b){return _0xe69e55(_0x5efb43,_0x2ae27b);},'alrKS':function(_0x5c2441,_0x21be1c){return _0x5c2441(_0x21be1c);}},_0x508c45=_0xcdf808[_0x4f288f(0x12c)](getRangerDir),_0x4c74ce=_0xcdf808['nHKts'](join,_0x508c45,'ci',_0x348c1e),_0x44ed53=_0xcdf808[_0x4f288f(0x100)](join,_0x508c45,_0xcdf808[_0x4f288f(0x131)],_0x348c1e),_0x20898d=_0xcdf808['MJNlK'](join,_0x508c45,_0x348c1e),_0x49f358=_0xcdf808[_0x4f288f(0x11a)](join,_0x508c45,_0xcdf808['ImKJp']),_0x194fce=join(_0x508c45,'ci');if(existsSync(_0x4c74ce))return _0x4c74ce;if(existsSync(_0x44ed53))return _0x44ed53;if(_0xcdf808['alrKS'](existsSync,_0x20898d)&&(_0x20898d!==_0x49f358&&_0x20898d!==_0x194fce?!![]:hasLegacyProfileFiles(_0x20898d)))return _0x20898d;return _0x44ed53;}export function findExistingEnv(_0x1839ca,_0x43f15f){const _0x36bebb=_0xe175,_0x4ba7c8={'drYdc':function(_0x2638c9){return _0x2638c9();},'bgsVi':function(_0x4ef7a2,_0x307f94,_0x4ed382){return _0x4ef7a2(_0x307f94,_0x4ed382);},'UwHFN':'local','oKYNc':function(_0x122319,_0x29120f){return _0x122319(_0x29120f);},'pVabS':function(_0x4bfc62,_0x3e622b){return _0x4bfc62===_0x3e622b;},'QBaez':function(_0xf65e99,_0x46630e){return _0xf65e99(_0x46630e);}},_0x2caeb6=_0x43f15f?.['rangerDir']??_0x4ba7c8['drYdc'](getRangerDir),_0x58f714=_0x43f15f?.['locations']??['ci','local','legacy'],_0x50259d=_0x4ba7c8['bgsVi'](join,_0x2caeb6,_0x36bebb(0x136)),_0x4cdc6b=_0x4ba7c8[_0x36bebb(0x122)](join,_0x2caeb6,'ci'),_0x2aa28c=[{'location':'ci','path':join(_0x2caeb6,'ci',_0x1839ca)},{'location':_0x4ba7c8[_0x36bebb(0xfa)],'path':join(_0x2caeb6,_0x4ba7c8[_0x36bebb(0xfa)],_0x1839ca)},{'location':_0x36bebb(0xfd),'path':join(_0x2caeb6,_0x1839ca)}];for(const _0x2c7ad8 of _0x2aa28c){if(_0x58f714['includes'](_0x2c7ad8['location'])&&_0x4ba7c8[_0x36bebb(0xdf)](existsSync,_0x2c7ad8['path'])){if(_0x4ba7c8[_0x36bebb(0xfb)](_0x2c7ad8['location'],'legacy')&&(_0x2c7ad8['path']===_0x50259d||_0x2c7ad8['path']===_0x4cdc6b)&&!_0x4ba7c8[_0x36bebb(0xf7)](hasLegacyProfileFiles,_0x2c7ad8[_0x36bebb(0x11c)]))continue;return{'path':_0x2c7ad8['path'],'location':_0x2c7ad8['location']};}}return null;}function hasLegacyProfileFiles(_0x5c4cfe){const _0xe260bf={'dwiHu':function(_0x264972,_0x58c6eb){return _0x264972(_0x58c6eb);},'ttrjV':function(_0x1b5702,_0x509c51,_0x1020e1){return _0x1b5702(_0x509c51,_0x1020e1);},'RGpEx':function(_0x167f66,_0x459d59){return _0x167f66(_0x459d59);},'PDHBb':'auth.json.enc'};return existsSync(join(_0x5c4cfe,'settings.json'))||_0xe260bf['dwiHu'](existsSync,_0xe260bf['ttrjV'](join,_0x5c4cfe,'auth.json'))||_0xe260bf['RGpEx'](existsSync,join(_0x5c4cfe,_0xe260bf['PDHBb']));}export function isEnvCi(_0x3b941b){return existsSync(join(getRangerDir(),'ci',_0x3b941b));}function _0xe175(_0x856be0,_0x3b3b5a){_0x856be0=_0x856be0-0xd9;const _0x491700=_0x4917();let _0xe1757d=_0x491700[_0x856be0];return _0xe1757d;}export async function cleanupTempFiles(_0x4195cc){const _0x24fede=_0xe175,_0x27617f={'bVGxM':function(_0x38c5f1,_0x263de5){return _0x38c5f1!==_0x263de5;}},_0x3bfde2=[_0x4195cc[_0x24fede(0x10b)],_0x4195cc['configPath']]['filter'](Boolean);await Promise['all'](_0x3bfde2['map'](_0x3f3f2=>unlink(_0x3f3f2)[_0x24fede(0x10f)](_0x4eee41=>{const _0x1c23d1=_0x24fede;_0x27617f['bVGxM'](_0x4eee41['code'],'ENOENT')&&console[_0x1c23d1(0xe9)]('Failed\x20to\x20clean\x20up\x20temp\x20file\x20'+_0x3f3f2+':',_0x4eee41[_0x1c23d1(0x13a)]);})));}export function getSettingsPath(_0x23e140){const _0x23343e=_0xe175,_0x5e1801={'ZEEmc':function(_0x2db7d2,_0x46c596,_0x46bccf){return _0x2db7d2(_0x46c596,_0x46bccf);},'MnzJn':'settings.json'};return _0x5e1801[_0x23343e(0x108)](join,getEnvDir(_0x23e140),_0x5e1801['MnzJn']);}export async function loadSettings(_0x51dde6){const _0x17e591=_0xe175,_0x532fb7={'nVPbG':function(_0x281695,_0x3a1f3b){return _0x281695(_0x3a1f3b);},'FiZLY':_0x17e591(0x11f)},_0x1dba76=_0x532fb7['nVPbG'](getSettingsPath,_0x51dde6);if(!existsSync(_0x1dba76))return{};try{const _0x452011=await readFile(_0x1dba76,_0x532fb7[_0x17e591(0xde)]);return JSON['parse'](_0x452011);}catch{return{};}}export async function saveSettings(_0x3d0089,_0x5f4760){const _0x1622e1=_0xe175,_0x42ed6b={'JrOFx':function(_0x2e51e1,_0x4a3173){return _0x2e51e1(_0x4a3173);},'DfnnX':function(_0x173060,_0x484818){return _0x173060(_0x484818);},'NsHrY':function(_0x159c7e,_0x293beb,_0x3f3480){return _0x159c7e(_0x293beb,_0x3f3480);}},_0x1ce041=_0x42ed6b['JrOFx'](getSettingsPath,_0x3d0089),_0x2a57e4=dirname(_0x1ce041);!_0x42ed6b[_0x1622e1(0x117)](existsSync,_0x2a57e4)&&await mkdir(_0x2a57e4,{'recursive':!![]}),await _0x42ed6b['NsHrY'](writeFile,_0x1ce041,JSON[_0x1622e1(0x104)](_0x5f4760,null,0x2));}export function resolveEnvVars(_0x416f97){const _0x48a611=_0xe175,_0x37463f={'asdJU':function(_0x423ee7,_0x7b950f){return _0x423ee7===_0x7b950f;},'ThRQg':_0x48a611(0xe3)};if(_0x37463f[_0x48a611(0x128)](typeof _0x416f97,_0x37463f['ThRQg']))return _0x416f97[_0x48a611(0xee)](/\$\{(\w+)\}/g,(_0x237bd8,_0x380305)=>{const _0x3e86e5=process['env'][_0x380305];if(_0x3e86e5===undefined)throw new Error('Environment\x20variable\x20'+_0x380305+'\x20is\x20not\x20set');return _0x3e86e5;});if(Array[_0x48a611(0x10a)](_0x416f97))return _0x416f97[_0x48a611(0xfe)](resolveEnvVars);if(_0x416f97&&typeof _0x416f97==='object')return Object['fromEntries'](Object['entries'](_0x416f97)[_0x48a611(0xfe)](([_0x14987f,_0x25f467])=>[_0x14987f,resolveEnvVars(_0x25f467)]));return _0x416f97;}const isRecord=_0x2c791b=>typeof _0x2c791b==='object'&&_0x2c791b!==null&&!Array['isArray'](_0x2c791b),asRecord=_0x5ca490=>isRecord(_0x5ca490)?_0x5ca490:undefined,mergeHeaders=(_0x393961,_0x670b32)=>{const _0x1d3a08=_0xe175,_0x214abd={'WcZGz':function(_0x26c707,_0x349d54){return _0x26c707??_0x349d54;}},_0x31c2b0={..._0x214abd[_0x1d3a08(0xe2)](_0x393961,{}),..._0x670b32??{}};return Object['keys'](_0x31c2b0)[_0x1d3a08(0x116)]?_0x31c2b0:undefined;},SAFE_MODE_ARGS=['--disable-features=WebBluetooth'],ALLOW_LOCALHOST_ARGS=[_0x4b6d94(0xec),_0x4b6d94(0x11e),_0x4b6d94(0x132),'--allow-insecure-localhost'];export function buildBrowserOptionsFromSettings(_0x328fa6,_0x3d7d0a={}){const _0x47e096=_0x4b6d94,_0x8ccc7c={'GYUsv':'boolean','lpzdz':function(_0x1ccf73,_0x23a577){return _0x1ccf73(_0x23a577);},'ellua':_0x47e096(0xe3)},_0x8552a5=asRecord(_0x328fa6['browser']),_0x55ea57={...asRecord(_0x8552a5?.[_0x47e096(0xf6)])??{}};typeof _0x3d7d0a['headless']===_0x8ccc7c[_0x47e096(0x105)]&&(_0x55ea57[_0x47e096(0xef)]=_0x3d7d0a[_0x47e096(0xef)]);if(_0x328fa6[_0x47e096(0xf5)]){const _0x2e4c8d=_0x55ea57['args']??[],_0x2b9837=SAFE_MODE_ARGS['filter'](_0x3a791d=>!_0x2e4c8d['includes'](_0x3a791d));_0x55ea57[_0x47e096(0xf0)]=[..._0x2e4c8d,..._0x2b9837];}if(_0x328fa6['allowInsecureLocalhost']){const _0x549968=_0x55ea57['args']??[],_0x251c9b=ALLOW_LOCALHOST_ARGS[_0x47e096(0x111)](_0x30caf9=>!_0x549968['includes'](_0x30caf9));_0x55ea57[_0x47e096(0xf0)]=[..._0x549968,..._0x251c9b];}const _0x1a379a={..._0x8ccc7c['lpzdz'](asRecord,_0x8552a5?.['contextOptions'])??{}};_0x1a379a['ignoreHTTPSErrors']=!![];typeof _0x328fa6[_0x47e096(0x10e)]===_0x8ccc7c[_0x47e096(0x12f)]&&(_0x1a379a[_0x47e096(0x10e)]=_0x328fa6[_0x47e096(0x10e)]);const _0x11bee8=mergeHeaders(asRecord(_0x1a379a['extraHTTPHeaders']),asRecord(_0x328fa6['headers']));return _0x11bee8?_0x1a379a[_0x47e096(0x101)]=_0x11bee8:delete _0x1a379a['extraHTTPHeaders'],_0x3d7d0a['storageStatePath']&&(_0x1a379a['storageState']=_0x3d7d0a['storageStatePath']),{'launchOptions':_0x55ea57,'contextOptions':_0x1a379a};}function _0x4917(){const _0x3d9bd7=['GYUsv','egaGu','WxUpY','ZEEmc','233934qlXdbm','isArray','tempAuthPath','mNroG','sessions','userAgent','catch','hXlkm','filter','includes','WpsMq','LqLOR','auth.json','length','DfnnX','UHsGS','yhIPp','acxUJ','eQiYd','path','tGpwG','--allow-running-insecure-content','utf-8','setupHeader','3InAhfL','bgsVi','--no-sandbox','header','1266946nwspyb','WCUtI','4497141rySLIU','asdJU','1588401SpVfCt','.json','MKWIK','ytYCQ','core','ZnMcZ','ellua','hVTVh','ImKJp','--unsafely-treat-insecure-origin-as-secure=http://localhost','join','40xPZVyI','vision','local','WzVVk','JINbb','--disable-setuid-sandbox','message','5048CbqiyF','Uahbi','FTyXB','gfTiL','4TLXVoV','trBUC','allow','none','FiZLY','oKYNc','4585qbiUmq','clipboard-write','WcZGz','string','ranger-auth-','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','now','MVWXI','2565715YiEPxL','warn','ranger-config','Failed\x20to\x20decrypt\x20auth\x20state:\x20','--disable-web-security','KXZMb','replace','headless','args','clipboard-read','storageState','Btqcz','-cli.json','safeMode','launchOptions','QBaez','split','637578oYwccQ','UwHFN','pVabS','cdpEndpoint','legacy','map','IJREE','bgGhz','extraHTTPHeaders','setupHeaders','CqYGy','stringify'];_0x4917=function(){return _0x3d9bd7;};return _0x4917();}export async function buildPlaywrightConfig(_0x54c17b,_0x3e286c,_0x9feff4,_0x42b082){const _0x5aec0e=_0x4b6d94,_0x101aff={'ckYbA':_0x5aec0e(0x139),'SfdkT':_0x5aec0e(0xf1),'mNroG':_0x5aec0e(0xe1),'FTyXB':function(_0x16d975,_0x46b77f,_0x21cb51){return _0x16d975(_0x46b77f,_0x21cb51);},'uMYUW':function(_0x37fa93,_0x3544c7){return _0x37fa93(_0x3544c7);},'LqLOR':function(_0x28bf2f){return _0x28bf2f();},'xbSZb':function(_0x567432,_0x3c6242){return _0x567432(_0x3c6242);},'LvkIz':function(_0x5767c5,_0x20428c,_0x78b0b){return _0x5767c5(_0x20428c,_0x78b0b);},'rlHCk':function(_0x1db2e9,_0x1852b9,_0x4ca3d7,_0x377d5c){return _0x1db2e9(_0x1852b9,_0x4ca3d7,_0x377d5c);},'QdImV':_0x5aec0e(0x12d),'ltOMQ':'tabs','pzZJk':_0x5aec0e(0x135),'rGSNm':_0x5aec0e(0xdc),'WpsMq':function(_0x13c04e,_0x252be4){return _0x13c04e===_0x252be4;},'gfTiL':function(_0x28b2c3,_0x5af891){return _0x28b2c3===_0x5af891;},'MVWXI':'ranger-config'},_0x4ea93e=getEnvDir(_0x3e286c),_0x1d1e23=_0x101aff[_0x5aec0e(0x13d)](join,_0x4ea93e,'auth.json.enc'),_0x1215ea=join(_0x4ea93e,_0x5aec0e(0x115));let _0x33cc45,_0x2cb4b9;if(_0x101aff['uMYUW'](existsSync,_0x1d1e23))try{const _0x273227=await _0x101aff[_0x5aec0e(0x114)](getToken);if(!_0x273227)throw new Error(_0x5aec0e(0xe5));const _0x4467cc=await _0x101aff['xbSZb'](readFile,_0x1d1e23),_0x489e0f=decrypt(_0x4467cc,_0x273227);_0x2cb4b9=_0x101aff['FTyXB'](join,tmpdir(),'ranger-auth-'+Date['now']()+_0x5aec0e(0x12a)),await _0x101aff['LvkIz'](writeFile,_0x2cb4b9,_0x489e0f),_0x33cc45=_0x2cb4b9;}catch(_0x26445d){const _0x4428d1=_0x26445d instanceof Error?_0x26445d['message']:String(_0x26445d);throw new Error(_0x5aec0e(0xeb)+_0x4428d1);}else _0x101aff['uMYUW'](existsSync,_0x1215ea)&&(_0x33cc45=_0x1215ea);const _0x5d1472=_0x9feff4||_0x101aff[_0x5aec0e(0x114)](randomUUID),_0x5edd07=_0x101aff['rlHCk'](join,getRangerDir(),_0x5aec0e(0x10d),_0x5d1472),_0x17019c=Boolean(_0x54c17b['cdpEndpoint']),_0x9c9e2a=_0x17019c?{'browserName':'chromium','cdpEndpoint':_0x54c17b['cdpEndpoint']}:((()=>{const _0x4384f8=_0x5aec0e,{launchOptions:_0x639c92,contextOptions:_0x40bbeb}=buildBrowserOptionsFromSettings(_0x54c17b,{'headless':_0x42b082?![]:_0x54c17b[_0x4384f8(0xef)]??!![],'storageStatePath':_0x33cc45});if(process['getuid']?.()===0x0){const _0x2d2cd8=[_0x4384f8(0x123),_0x101aff['ckYbA']],_0x2ebe11=_0x639c92[_0x4384f8(0xf0)]??[],_0x46a6b3=_0x2d2cd8[_0x4384f8(0x111)](_0x350b39=>!_0x2ebe11['includes'](_0x350b39));_0x639c92[_0x4384f8(0xf0)]=[..._0x2ebe11,..._0x46a6b3];}return{'isolated':!![],'browserName':'chromium','launchOptions':_0x639c92,'contextOptions':{..._0x40bbeb,'permissions':[_0x101aff['SfdkT'],_0x101aff[_0x4384f8(0x10c)]],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x329bd9={'name':_0x3e286c,'browser':_0x9c9e2a,'capabilities':[_0x101aff['QdImV'],_0x101aff['ltOMQ'],'install','pdf',_0x101aff['pzZJk']],'imageResponses':_0x101aff['rGSNm'],'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x5edd07};if(!_0x17019c){const _0x486f49=_0x329bd9['browser'],_0x4b9ac4=_0x486f49['contextOptions'];if(_0x101aff[_0x5aec0e(0x113)](_0x4b9ac4['userAgent'],undefined))delete _0x4b9ac4[_0x5aec0e(0x10e)];if(_0x101aff[_0x5aec0e(0xd9)](_0x4b9ac4[_0x5aec0e(0xf2)],undefined))delete _0x4b9ac4[_0x5aec0e(0xf2)];}const _0x4a57c4=join(tmpdir(),_0x101aff[_0x5aec0e(0xe7)]);!existsSync(_0x4a57c4)&&await mkdir(_0x4a57c4,{'recursive':!![]});const _0x4dcda9=_0x101aff[_0x5aec0e(0x13d)](join,_0x4a57c4,_0x3e286c+'-'+Date[_0x5aec0e(0xe6)]()+'.json');return await _0x101aff[_0x5aec0e(0x13d)](writeFile,_0x4dcda9,JSON['stringify'](_0x329bd9,null,0x2)),{'configPath':_0x4dcda9,'tempAuthPath':_0x2cb4b9};}export async function buildPlaywrightCliConfig(_0x968492,_0x28a91b,_0x37302c,_0x1c4d69){const _0x3a4b7c=_0x4b6d94,_0x1951d9={'WxUpY':function(_0x581678,_0xcb04e7,_0x30c20d){return _0x581678(_0xcb04e7,_0x30c20d);},'FvMjb':function(_0xc06740,_0x40c509){return _0xc06740===_0x40c509;},'fVQWL':'--no-sandbox','YyMtN':'clipboard-read','Btqcz':function(_0x30f538,_0x424501,_0x337316){return _0x30f538(_0x424501,_0x337316);},'PofJx':'auth.json.enc','ZnMcZ':function(_0x50e674,_0x5382fb){return _0x50e674(_0x5382fb);},'WCUtI':function(_0x29bca6){return _0x29bca6();},'iXZQo':function(_0x95e511,_0xf9a50e){return _0x95e511(_0xf9a50e);},'ksbMA':function(_0x3a3936,_0x40ac8c,_0x2b0cf8){return _0x3a3936(_0x40ac8c,_0x2b0cf8);},'YOaYu':function(_0x2cf1ec){return _0x2cf1ec();},'hVTVh':function(_0x2f4923,_0x50ce15){return _0x2f4923(_0x50ce15);},'yhIPp':function(_0x1d2fb5,_0x4b04e1,_0x201906,_0x5de13c){return _0x1d2fb5(_0x4b04e1,_0x201906,_0x5de13c);},'MKWIK':'sessions','WzVVk':'chromium','Uahbi':function(_0x4a4cc2,_0xb5cb20){return _0x4a4cc2===_0xb5cb20;},'CqYGy':'file','eIuhR':_0x3a4b7c(0xea),'hXlkm':function(_0x148483,_0x403731,_0x147e93){return _0x148483(_0x403731,_0x147e93);}},_0x535186=getEnvDir(_0x28a91b),_0x5791ff=_0x1951d9['Btqcz'](join,_0x535186,_0x1951d9['PofJx']),_0x153b50=_0x1951d9[_0x3a4b7c(0xf3)](join,_0x535186,_0x3a4b7c(0x115));let _0xf7a5f0,_0x50e47f;if(_0x1951d9[_0x3a4b7c(0x12e)](existsSync,_0x5791ff))try{const _0x3be990=await _0x1951d9[_0x3a4b7c(0x126)](getToken);if(!_0x3be990)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x30f2e6=await _0x1951d9['iXZQo'](readFile,_0x5791ff),_0x511e18=_0x1951d9['ksbMA'](decrypt,_0x30f2e6,_0x3be990);_0x50e47f=join(_0x1951d9['YOaYu'](tmpdir),_0x3a4b7c(0xe4)+Date['now']()+'.json'),await _0x1951d9['Btqcz'](writeFile,_0x50e47f,_0x511e18),_0xf7a5f0=_0x50e47f;}catch(_0x548738){const _0x142bd5=_0x548738 instanceof Error?_0x548738[_0x3a4b7c(0x13a)]:String(_0x548738);throw new Error(_0x3a4b7c(0xeb)+_0x142bd5);}else _0x1951d9[_0x3a4b7c(0x130)](existsSync,_0x153b50)&&(_0xf7a5f0=_0x153b50);const _0x1835ff=_0x37302c||randomUUID(),_0x19d543=_0x1951d9[_0x3a4b7c(0x119)](join,_0x1951d9['WCUtI'](getRangerDir),_0x1951d9[_0x3a4b7c(0x12b)],_0x1835ff),_0x268358=Boolean(_0x968492[_0x3a4b7c(0xfc)]),_0x10e248=_0x268358?{'browserName':_0x1951d9[_0x3a4b7c(0x137)],'cdpEndpoint':_0x968492[_0x3a4b7c(0xfc)]}:((()=>{const _0x1337b9=_0x3a4b7c,{launchOptions:_0xee3523,contextOptions:_0x3a564b}=_0x1951d9[_0x1337b9(0x107)](buildBrowserOptionsFromSettings,_0x968492,{'headless':_0x1c4d69?![]:_0x968492[_0x1337b9(0xef)]??!![],'storageStatePath':_0xf7a5f0});if(_0x1951d9['FvMjb'](process['getuid']?.(),0x0)){const _0x4d341f=[_0x1951d9['fVQWL'],_0x1337b9(0x139)],_0x4606b5=_0xee3523['args']??[],_0x36959f=_0x4d341f[_0x1337b9(0x111)](_0x33ec7f=>!_0x4606b5[_0x1337b9(0x112)](_0x33ec7f));_0xee3523[_0x1337b9(0xf0)]=[..._0x4606b5,..._0x36959f];}return{'isolated':!![],'browserName':'chromium','launchOptions':_0xee3523,'contextOptions':{..._0x3a564b,'permissions':[_0x1951d9['YyMtN'],'clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x268358){const _0xfde5f4=_0x10e248['contextOptions'];if(_0x1951d9[_0x3a4b7c(0x13c)](_0xfde5f4[_0x3a4b7c(0x10e)],undefined))delete _0xfde5f4[_0x3a4b7c(0x10e)];if(_0xfde5f4[_0x3a4b7c(0xf2)]===undefined)delete _0xfde5f4['storageState'];}const _0x210b40={'browser':_0x10e248,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x19d543,'outputMode':_0x1951d9[_0x3a4b7c(0x103)],'codegen':_0x3a4b7c(0xdd)},_0x1abeb9=join(tmpdir(),_0x1951d9['eIuhR']);!_0x1951d9[_0x3a4b7c(0x12e)](existsSync,_0x1abeb9)&&await mkdir(_0x1abeb9,{'recursive':!![]});const _0x1cb3ed=_0x1951d9[_0x3a4b7c(0x110)](join,_0x1abeb9,_0x28a91b+'-'+Date[_0x3a4b7c(0xe6)]()+_0x3a4b7c(0xf4));return await _0x1951d9['WxUpY'](writeFile,_0x1cb3ed,JSON[_0x3a4b7c(0x104)](_0x210b40,null,0x2)),{'configPath':_0x1cb3ed,'tempAuthPath':_0x50e47f};}export function getNestedValue(_0x40ae83,_0x1f7125){const _0x2014c0=_0x4b6d94,_0x175277={'UHsGS':function(_0x38be4c,_0x28e6e3){return _0x38be4c(_0x28e6e3);},'DAeoZ':function(_0x1a8c00,_0x29a9e3){return _0x1a8c00===_0x29a9e3;},'trBUC':'object'},_0x30e93a=_0x175277[_0x2014c0(0x118)](parseKeyPath,_0x1f7125);let _0x20e1d7=_0x40ae83;for(const _0x96176f of _0x30e93a){if(_0x175277['DAeoZ'](_0x20e1d7,null)||_0x20e1d7===undefined||typeof _0x20e1d7!==_0x175277[_0x2014c0(0xdb)])return undefined;_0x20e1d7=_0x20e1d7[_0x96176f];}return _0x20e1d7;}export function setNestedValue(_0x69bcbd,_0x1b77f6,_0x48bb59){const _0x4bb0f5=_0x4b6d94,_0x40a84f={'IJREE':function(_0x4c7d88,_0x3f8db2){return _0x4c7d88(_0x3f8db2);},'qgCOD':function(_0x2c3bcc,_0x507ae5){return _0x2c3bcc<_0x507ae5;},'mVqeG':function(_0x338b91,_0x3576a5){return _0x338b91!==_0x3576a5;}},_0x1b276b=_0x40a84f[_0x4bb0f5(0xff)](parseKeyPath,_0x1b77f6);let _0x431b38=_0x69bcbd;for(let _0x5b4195=0x0;_0x40a84f['qgCOD'](_0x5b4195,_0x1b276b[_0x4bb0f5(0x116)]-0x1);_0x5b4195++){const _0x1cac2a=_0x1b276b[_0x5b4195];(!(_0x1cac2a in _0x431b38)||_0x40a84f['mVqeG'](typeof _0x431b38[_0x1cac2a],'object'))&&(_0x431b38[_0x1cac2a]={}),_0x431b38=_0x431b38[_0x1cac2a];}_0x431b38[_0x1b276b[_0x1b276b['length']-0x1]]=_0x48bb59;}export function deleteNestedValue(_0x3f12ec,_0x505b9a){const _0x200686=_0x4b6d94,_0x2f07d6={'XKBSZ':function(_0x4e2f53,_0x22640b){return _0x4e2f53<_0x22640b;},'egaGu':function(_0x1f102b,_0x3a72d7){return _0x1f102b-_0x3a72d7;},'JINbb':'object','tGpwG':function(_0x2af453,_0x296bab){return _0x2af453===_0x296bab;},'VROLr':function(_0x196c2a,_0x1b02df){return _0x196c2a in _0x1b02df;}},_0x564c06=parseKeyPath(_0x505b9a);let _0x34dc95=_0x3f12ec;for(let _0x3a8c69=0x0;_0x2f07d6['XKBSZ'](_0x3a8c69,_0x2f07d6[_0x200686(0x106)](_0x564c06['length'],0x1));_0x3a8c69++){if(_0x34dc95===null||_0x34dc95===undefined||typeof _0x34dc95!==_0x2f07d6[_0x200686(0x138)])return![];_0x34dc95=_0x34dc95[_0x564c06[_0x3a8c69]];}if(_0x2f07d6[_0x200686(0x11d)](_0x34dc95,null)||_0x34dc95===undefined||typeof _0x34dc95!==_0x2f07d6[_0x200686(0x138)])return![];const _0xc6f29d=_0x564c06[_0x2f07d6['egaGu'](_0x564c06[_0x200686(0x116)],0x1)];if(_0x2f07d6['VROLr'](_0xc6f29d,_0x34dc95))return delete _0x34dc95[_0xc6f29d],!![];return![];}function parseKeyPath(_0x3b5817){const _0x40b682=_0x4b6d94,_0x27e4e1={'eQiYd':_0x40b682(0x124),'KXZMb':function(_0xd02dfd,_0x39a462){return _0xd02dfd===_0x39a462;}},_0x780ee7=_0x3b5817[_0x40b682(0xf8)]('.');return _0x780ee7[0x0]===_0x27e4e1[_0x40b682(0x11b)]&&(_0x780ee7[0x0]='headers'),_0x27e4e1[_0x40b682(0xed)](_0x780ee7[0x0],_0x40b682(0x120))&&(_0x780ee7[0x0]=_0x40b682(0x102)),_0x780ee7;}export function formatSettings(_0x134cbf,_0x294d8f=0x0){const _0x1caf68=_0x4b6d94,_0x600d7f={'fMdcp':function(_0x2ffc98,_0x3f0d97){return _0x2ffc98===_0x3f0d97;},'AIjFB':function(_0x5862c5,_0x519f62){return _0x5862c5===_0x519f62;}},_0x220145=[],_0x2479b3='\x20\x20'['repeat'](_0x294d8f);for(const [_0x32d13c,_0x5ebe74]of Object['entries'](_0x134cbf)){if(_0x600d7f['fMdcp'](_0x5ebe74,undefined))continue;if(_0x600d7f['AIjFB'](typeof _0x5ebe74,'object')&&_0x5ebe74!==null){_0x220145['push'](''+_0x2479b3+_0x32d13c+':');for(const [_0xbc1c7f,_0x1b66ea]of Object['entries'](_0x5ebe74)){_0x220145['push'](_0x2479b3+'\x20\x20'+_0xbc1c7f+':\x20'+_0x1b66ea);}}else _0x220145['push'](''+_0x2479b3+_0x32d13c+':\x20'+_0x5ebe74);}return _0x220145[_0x1caf68(0x133)]('\x0a');}
1
+ const _0x493253=_0x3f22;(function(_0x246105,_0x5c4747){const _0x5c981e=_0x3f22,_0x5e387a=_0x246105();while(!![]){try{const _0x1e14fb=parseInt(_0x5c981e(0x115))/0x1*(parseInt(_0x5c981e(0x168))/0x2)+parseInt(_0x5c981e(0x12c))/0x3*(parseInt(_0x5c981e(0x110))/0x4)+parseInt(_0x5c981e(0x10c))/0x5+-parseInt(_0x5c981e(0x118))/0x6+-parseInt(_0x5c981e(0x103))/0x7*(-parseInt(_0x5c981e(0x107))/0x8)+parseInt(_0x5c981e(0x141))/0x9*(-parseInt(_0x5c981e(0x11e))/0xa)+-parseInt(_0x5c981e(0x144))/0xb*(parseInt(_0x5c981e(0x155))/0xc);if(_0x1e14fb===_0x5c4747)break;else _0x5e387a['push'](_0x5e387a['shift']());}catch(_0x39a308){_0x5e387a['push'](_0x5e387a['shift']());}}}(_0x2803,0x335ff));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';export function getEnvDir(_0x3a139e){const _0x526143=_0x3f22,_0x42b02d={'YgSzM':function(_0x1cebc3,_0x2d8b64,_0x38dd9f,_0x155245){return _0x1cebc3(_0x2d8b64,_0x38dd9f,_0x155245);},'GJkHW':function(_0x29b183,_0x261a9b,_0x27680e){return _0x29b183(_0x261a9b,_0x27680e);},'DJSTP':function(_0x343f54,_0x5a0c7a,_0x5784a4){return _0x343f54(_0x5a0c7a,_0x5784a4);},'cbzsL':function(_0x53705b,_0x51670b){return _0x53705b(_0x51670b);},'pDwmX':function(_0x2a97a8,_0x2f9d4f){return _0x2a97a8!==_0x2f9d4f;}},_0x183a88=getRangerDir(),_0x329873=_0x42b02d['YgSzM'](join,_0x183a88,'ci',_0x3a139e),_0x164664=join(_0x183a88,_0x526143(0x15a),_0x3a139e),_0x23bf70=_0x42b02d[_0x526143(0x123)](join,_0x183a88,_0x3a139e),_0xc5f76d=_0x42b02d[_0x526143(0x14d)](join,_0x183a88,_0x526143(0x15a)),_0x2cae97=join(_0x183a88,'ci');if(_0x42b02d[_0x526143(0x149)](existsSync,_0x329873))return _0x329873;if(existsSync(_0x164664))return _0x164664;if(existsSync(_0x23bf70)&&(_0x23bf70!==_0xc5f76d&&_0x42b02d[_0x526143(0x106)](_0x23bf70,_0x2cae97)?!![]:hasLegacyProfileFiles(_0x23bf70)))return _0x23bf70;return _0x164664;}export function findExistingEnv(_0x4086e6,_0xa4e8e){const _0x406550=_0x3f22,_0x5d2312={'OsvQj':function(_0x42b927){return _0x42b927();},'ifTXS':_0x406550(0x15a),'eZisl':function(_0x1aa357,_0x34278d,_0x484a89){return _0x1aa357(_0x34278d,_0x484a89);},'wTILl':function(_0x3c9ca0,_0x2c0f39){return _0x3c9ca0===_0x2c0f39;}},_0x388df9=_0xa4e8e?.['rangerDir']??_0x5d2312[_0x406550(0x116)](getRangerDir),_0x363da5=_0xa4e8e?.['locations']??['ci',_0x5d2312[_0x406550(0x14c)],_0x406550(0x12b)],_0x36790a=_0x5d2312['eZisl'](join,_0x388df9,_0x5d2312[_0x406550(0x14c)]),_0x910116=join(_0x388df9,'ci'),_0x29fb97=[{'location':'ci','path':join(_0x388df9,'ci',_0x4086e6)},{'location':_0x5d2312['ifTXS'],'path':join(_0x388df9,_0x406550(0x15a),_0x4086e6)},{'location':_0x406550(0x12b),'path':join(_0x388df9,_0x4086e6)}];for(const _0x402ac9 of _0x29fb97){if(_0x363da5[_0x406550(0x132)](_0x402ac9[_0x406550(0x146)])&&existsSync(_0x402ac9[_0x406550(0x152)])){if(_0x402ac9[_0x406550(0x146)]==='legacy'&&(_0x402ac9[_0x406550(0x152)]===_0x36790a||_0x5d2312['wTILl'](_0x402ac9['path'],_0x910116))&&!hasLegacyProfileFiles(_0x402ac9[_0x406550(0x152)]))continue;return{'path':_0x402ac9[_0x406550(0x152)],'location':_0x402ac9[_0x406550(0x146)]};}}return null;}function hasLegacyProfileFiles(_0x4a4993){const _0x1c36f4=_0x3f22,_0x3f35cc={'TcNew':function(_0x52925f,_0x575019){return _0x52925f(_0x575019);},'jURYp':'settings.json','FPHLw':'auth.json','XMSDy':function(_0x5da501,_0x48d365,_0x4baa36){return _0x5da501(_0x48d365,_0x4baa36);}};return _0x3f35cc['TcNew'](existsSync,join(_0x4a4993,_0x3f35cc[_0x1c36f4(0x138)]))||existsSync(join(_0x4a4993,_0x3f35cc['FPHLw']))||existsSync(_0x3f35cc[_0x1c36f4(0x165)](join,_0x4a4993,_0x1c36f4(0x117)));}export function isEnvCi(_0x1d6e83){return existsSync(join(getRangerDir(),'ci',_0x1d6e83));}function _0x2803(){const _0x52c0ad=['replace','12rVEZPO','XRKma','TDBhK','Brmjo','--disable-features=WebBluetooth','local','--disable-setuid-sandbox','vision','clipboard-write','settings.json','args','install','AdOAR','headless','safeMode','xqldV','XMSDy','NfPRg','object','202KvtmzH','3934JcXcKv','map','entries','pDwmX','5816lUpvaA','keys','contextOptions','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','sXJgc','2055185FhJaua','xdqGx','string','repeat','4szVGgb','--allow-running-insecure-content','ycTSm','VVChD','core','3011VmcrBR','OsvQj','auth.json.enc','1227528rYefbp','storageState','ranger-config','length','now','header','152930EgVSPC','setupHeader','launchOptions','uNetp','dGebd','GJkHW','clipboard-read','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','--allow-insecure-localhost','auth.json','AdkOA','none','ignoreHTTPSErrors','legacy','845274ZmPZPY','pdf','stringify','browser','headers','zWTBL','includes','rFKTo','HBVjj','fromEntries','filter','kwNDU','jURYp','BEVjs','userAgent','WZKBm','cdpEndpoint','allow','push','extraHTTPHeaders','tabs','72EDcjlQ','isArray','catch','9549287luLmFd','wbRcj','location','xEhri','getuid','cbzsL','message','all','ifTXS','DJSTP','dgfRT','env','chromium','LnQMM','path','OWxOH'];_0x2803=function(){return _0x52c0ad;};return _0x2803();}export async function cleanupTempFiles(_0x10de7b){const _0x2a86c0=_0x3f22,_0x25bf41={'YeloG':function(_0x498000,_0x24d5d2){return _0x498000!==_0x24d5d2;},'ToicD':'ENOENT'},_0x42b12f=[_0x10de7b['tempAuthPath'],_0x10de7b['configPath']]['filter'](Boolean);await Promise[_0x2a86c0(0x14b)](_0x42b12f['map'](_0x31988a=>unlink(_0x31988a)[_0x2a86c0(0x143)](_0x202759=>{const _0x4784cf=_0x2a86c0;_0x25bf41['YeloG'](_0x202759['code'],_0x25bf41['ToicD'])&&console['warn'](_0x4784cf(0x10a)+_0x31988a+':',_0x202759[_0x4784cf(0x14a)]);})));}export function getSettingsPath(_0x2cb9ff){const _0x545ebd=_0x3f22;return join(getEnvDir(_0x2cb9ff),_0x545ebd(0x15e));}export async function loadSettings(_0x49c129){const _0x1457a1=_0x3f22,_0x606682={'dgfRT':function(_0x542b39,_0x4cb2cb){return _0x542b39(_0x4cb2cb);}},_0x4f85b3=_0x606682[_0x1457a1(0x14e)](getSettingsPath,_0x49c129);if(!_0x606682['dgfRT'](existsSync,_0x4f85b3))return{};try{const _0x2aafa4=await readFile(_0x4f85b3,'utf-8');return JSON['parse'](_0x2aafa4);}catch{return{};}}export async function saveSettings(_0x54cf84,_0x4326af){const _0x53ead5=_0x3f22,_0x3b3586={'qlHqA':function(_0x5e159a,_0x4a2060){return _0x5e159a(_0x4a2060);},'DaHIq':function(_0x55e218,_0xbbcede){return _0x55e218(_0xbbcede);},'VVChD':function(_0x2a3a7c,_0x15a49f,_0x105851){return _0x2a3a7c(_0x15a49f,_0x105851);}},_0x5c55cb=_0x3b3586['qlHqA'](getSettingsPath,_0x54cf84),_0x1ceec9=dirname(_0x5c55cb);!_0x3b3586['DaHIq'](existsSync,_0x1ceec9)&&await _0x3b3586[_0x53ead5(0x113)](mkdir,_0x1ceec9,{'recursive':!![]}),await _0x3b3586['VVChD'](writeFile,_0x5c55cb,JSON[_0x53ead5(0x12e)](_0x4326af,null,0x2));}export function resolveEnvVars(_0x3afc42){const _0x4c54af=_0x3f22,_0xf959ec={'hWefO':_0x4c54af(0x167)};if(typeof _0x3afc42===_0x4c54af(0x10e))return _0x3afc42[_0x4c54af(0x154)](/\$\{(\w+)\}/g,(_0xd12825,_0x3b4ce8)=>{const _0x1680a9=_0x4c54af,_0x17f5c1=process[_0x1680a9(0x14f)][_0x3b4ce8];if(_0x17f5c1===undefined)throw new Error('Environment\x20variable\x20'+_0x3b4ce8+'\x20is\x20not\x20set');return _0x17f5c1;});if(Array['isArray'](_0x3afc42))return _0x3afc42[_0x4c54af(0x104)](resolveEnvVars);if(_0x3afc42&&typeof _0x3afc42===_0xf959ec['hWefO'])return Object[_0x4c54af(0x135)](Object[_0x4c54af(0x105)](_0x3afc42)['map'](([_0x5d43c6,_0x379155])=>[_0x5d43c6,resolveEnvVars(_0x379155)]));return _0x3afc42;}function _0x3f22(_0x58af24,_0x2cc985){_0x58af24=_0x58af24-0x103;const _0x28035e=_0x2803();let _0x3f22a8=_0x28035e[_0x58af24];return _0x3f22a8;}const isRecord=_0x528d95=>typeof _0x528d95==='object'&&_0x528d95!==null&&!Array[_0x493253(0x142)](_0x528d95),asRecord=_0x3a176e=>isRecord(_0x3a176e)?_0x3a176e:undefined,mergeHeaders=(_0xfc8245,_0x59073e)=>{const _0x4e69cf=_0x493253,_0x43a9c4={'uNetp':function(_0x5b4225,_0x66ff8d){return _0x5b4225??_0x66ff8d;}},_0x237d67={..._0xfc8245??{},..._0x43a9c4[_0x4e69cf(0x121)](_0x59073e,{})};return Object[_0x4e69cf(0x108)](_0x237d67)['length']?_0x237d67:undefined;},SAFE_MODE_ARGS=[_0x493253(0x159)],ALLOW_LOCALHOST_ARGS=['--disable-web-security',_0x493253(0x111),'--unsafely-treat-insecure-origin-as-secure=http://localhost',_0x493253(0x126)];export function buildBrowserOptionsFromSettings(_0x1b445d,_0x341390={}){const _0x330785=_0x493253,_0x3772ed={'MxVwk':function(_0x2f3e70,_0x379c61){return _0x2f3e70(_0x379c61);},'rWvMD':function(_0x6994fd,_0x105609){return _0x6994fd===_0x105609;},'LVdir':function(_0x5aab03,_0x78e3e7,_0x3e2131){return _0x5aab03(_0x78e3e7,_0x3e2131);},'WSVoK':function(_0x3778cd,_0x4bd552){return _0x3778cd(_0x4bd552);}},_0x5f2a1f=_0x3772ed['MxVwk'](asRecord,_0x1b445d['browser']),_0x51c435={...asRecord(_0x5f2a1f?.[_0x330785(0x120)])??{}};_0x3772ed['rWvMD'](typeof _0x341390[_0x330785(0x162)],'boolean')&&(_0x51c435['headless']=_0x341390[_0x330785(0x162)]);if(_0x1b445d[_0x330785(0x163)]){const _0x3101be=_0x51c435['args']??[],_0x2dee5b=SAFE_MODE_ARGS[_0x330785(0x136)](_0x371df9=>!_0x3101be[_0x330785(0x132)](_0x371df9));_0x51c435['args']=[..._0x3101be,..._0x2dee5b];}if(_0x1b445d['allowInsecureLocalhost']){const _0x4d89cc=_0x51c435[_0x330785(0x15f)]??[],_0x145e07=ALLOW_LOCALHOST_ARGS['filter'](_0x4c4832=>!_0x4d89cc[_0x330785(0x132)](_0x4c4832));_0x51c435[_0x330785(0x15f)]=[..._0x4d89cc,..._0x145e07];}const _0x3a6272={...asRecord(_0x5f2a1f?.[_0x330785(0x109)])??{}};_0x3a6272[_0x330785(0x12a)]=!![];_0x3772ed['rWvMD'](typeof _0x1b445d[_0x330785(0x13a)],'string')&&(_0x3a6272['userAgent']=_0x1b445d['userAgent']);const _0x595f9f=_0x3772ed['LVdir'](mergeHeaders,asRecord(_0x3a6272['extraHTTPHeaders']),_0x3772ed['WSVoK'](asRecord,_0x1b445d[_0x330785(0x130)]));return _0x595f9f?_0x3a6272[_0x330785(0x13f)]=_0x595f9f:delete _0x3a6272['extraHTTPHeaders'],_0x341390['storageStatePath']&&(_0x3a6272['storageState']=_0x341390['storageStatePath']),{'launchOptions':_0x51c435,'contextOptions':_0x3a6272};}export async function buildPlaywrightConfig(_0x1faf25,_0xa486aa,_0x242d19,_0x2a68b3){const _0x54d1a8=_0x493253,_0x283385={'Rileq':function(_0x19c3a1,_0x11cd05,_0xf6b1b5){return _0x19c3a1(_0x11cd05,_0xf6b1b5);},'BXjlX':function(_0x468283,_0x51fe93){return _0x468283===_0x51fe93;},'SfKgz':_0x54d1a8(0x124),'Brmjo':_0x54d1a8(0x15d),'xdqGx':'auth.json.enc','AdkOA':function(_0x21f24a,_0xe4be2f){return _0x21f24a(_0xe4be2f);},'wGWYS':function(_0x13bf4c,_0x30e0a8,_0x28687e){return _0x13bf4c(_0x30e0a8,_0x28687e);},'dPwDW':function(_0x5ba9f6){return _0x5ba9f6();},'fOqhB':function(_0x3eaf71,_0x30034f){return _0x3eaf71 instanceof _0x30034f;},'HBVjj':function(_0x239b67,_0x51d0d0,_0x255392,_0x282898){return _0x239b67(_0x51d0d0,_0x255392,_0x282898);},'XiKSC':'chromium','ZmJjO':_0x54d1a8(0x114),'NfPRg':_0x54d1a8(0x140),'UrDwS':_0x54d1a8(0x160),'LnQMM':function(_0x45528d,_0x500df4,_0x1474ea){return _0x45528d(_0x500df4,_0x1474ea);},'sXJgc':function(_0x496ca3){return _0x496ca3();},'BUdLD':function(_0x1c6dfa,_0x2c0d43,_0xb2fe26){return _0x1c6dfa(_0x2c0d43,_0xb2fe26);}},_0x26873f=getEnvDir(_0xa486aa),_0x46a1b7=join(_0x26873f,_0x283385[_0x54d1a8(0x10d)]),_0x55a3a6=join(_0x26873f,'auth.json');let _0x32e2fa,_0x3bf9a3;if(_0x283385['AdkOA'](existsSync,_0x46a1b7))try{const _0x57af10=await getToken();if(!_0x57af10)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x3e2cb1=await readFile(_0x46a1b7),_0x472661=decrypt(_0x3e2cb1,_0x57af10);_0x3bf9a3=_0x283385['wGWYS'](join,_0x283385['dPwDW'](tmpdir),'ranger-auth-'+Date['now']()+'.json'),await writeFile(_0x3bf9a3,_0x472661),_0x32e2fa=_0x3bf9a3;}catch(_0x5edcc8){const _0x1a6e01=_0x283385['fOqhB'](_0x5edcc8,Error)?_0x5edcc8[_0x54d1a8(0x14a)]:String(_0x5edcc8);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x1a6e01);}else existsSync(_0x55a3a6)&&(_0x32e2fa=_0x55a3a6);const _0xa6bc40=_0x242d19||randomUUID(),_0x4f9c5e=_0x283385[_0x54d1a8(0x134)](join,_0x283385['dPwDW'](getRangerDir),'sessions',_0xa6bc40),_0x359c7c=_0x283385[_0x54d1a8(0x128)](Boolean,_0x1faf25['cdpEndpoint']),_0xcd46bc=_0x359c7c?{'browserName':_0x283385['XiKSC'],'cdpEndpoint':_0x1faf25[_0x54d1a8(0x13c)]}:((()=>{const _0x332222=_0x54d1a8,{launchOptions:_0x490d7e,contextOptions:_0x51e10f}=_0x283385['Rileq'](buildBrowserOptionsFromSettings,_0x1faf25,{'headless':_0x2a68b3?![]:_0x1faf25['headless']??!![],'storageStatePath':_0x32e2fa});if(_0x283385['BXjlX'](process['getuid']?.(),0x0)){const _0x34700d=['--no-sandbox','--disable-setuid-sandbox'],_0x23f2a0=_0x490d7e[_0x332222(0x15f)]??[],_0x257418=_0x34700d['filter'](_0x287ea0=>!_0x23f2a0['includes'](_0x287ea0));_0x490d7e[_0x332222(0x15f)]=[..._0x23f2a0,..._0x257418];}return{'isolated':!![],'browserName':_0x332222(0x150),'launchOptions':_0x490d7e,'contextOptions':{..._0x51e10f,'permissions':[_0x283385['SfKgz'],_0x283385[_0x332222(0x158)]],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x2f01ac={'name':_0xa486aa,'browser':_0xcd46bc,'capabilities':[_0x283385['ZmJjO'],_0x283385[_0x54d1a8(0x166)],_0x283385['UrDwS'],_0x54d1a8(0x12d),_0x54d1a8(0x15c)],'imageResponses':_0x54d1a8(0x13d),'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x4f9c5e};if(!_0x359c7c){const _0x4dab2d=_0x2f01ac[_0x54d1a8(0x12f)],_0x299039=_0x4dab2d['contextOptions'];if(_0x299039[_0x54d1a8(0x13a)]===undefined)delete _0x299039['userAgent'];if(_0x299039[_0x54d1a8(0x119)]===undefined)delete _0x299039[_0x54d1a8(0x119)];}const _0x5e7178=_0x283385[_0x54d1a8(0x151)](join,_0x283385[_0x54d1a8(0x10b)](tmpdir),_0x54d1a8(0x11a));!existsSync(_0x5e7178)&&await mkdir(_0x5e7178,{'recursive':!![]});const _0x28e6a0=_0x283385['BUdLD'](join,_0x5e7178,_0xa486aa+'-'+Date['now']()+'.json');return await _0x283385['LnQMM'](writeFile,_0x28e6a0,JSON['stringify'](_0x2f01ac,null,0x2)),{'configPath':_0x28e6a0,'tempAuthPath':_0x3bf9a3};}export async function buildPlaywrightCliConfig(_0x354493,_0x13f223,_0x3c8f2e,_0x17f7e0){const _0x11b131=_0x493253,_0x846786={'nONLr':function(_0x57fff5,_0xc4ca5d,_0x5c439b){return _0x57fff5(_0xc4ca5d,_0x5c439b);},'AdOAR':function(_0x4f3821,_0x328c35){return _0x4f3821===_0x328c35;},'ZOlie':'--no-sandbox','hhLRu':_0x11b131(0x15b),'xEhri':'clipboard-write','ycTSm':function(_0x56fbff,_0x30736f,_0x9149cf){return _0x56fbff(_0x30736f,_0x9149cf);},'NeyDV':_0x11b131(0x127),'dGebd':function(_0x801456,_0x112bde){return _0x801456(_0x112bde);},'rFKTo':_0x11b131(0x125),'wbRcj':function(_0x9a5382){return _0x9a5382();},'TDBhK':function(_0x2bbecc,_0x2352be){return _0x2bbecc instanceof _0x2352be;},'FvNDf':function(_0x537664,_0x4c3c9f){return _0x537664(_0x4c3c9f);},'oHOSY':_0x11b131(0x129),'YDcTo':function(_0x396a41,_0x1f45b3,_0x4cada5){return _0x396a41(_0x1f45b3,_0x4cada5);},'PRnRV':_0x11b131(0x11a),'gwFOd':function(_0x585824,_0x48f18c,_0x537f6a){return _0x585824(_0x48f18c,_0x537f6a);}},_0x17ded0=getEnvDir(_0x13f223),_0x276c3d=_0x846786[_0x11b131(0x112)](join,_0x17ded0,_0x11b131(0x117)),_0x5c0e7a=join(_0x17ded0,_0x846786['NeyDV']);let _0x54f399,_0x376461;if(_0x846786[_0x11b131(0x122)](existsSync,_0x276c3d))try{const _0x136310=await getToken();if(!_0x136310)throw new Error(_0x846786[_0x11b131(0x133)]);const _0x5aee71=await readFile(_0x276c3d),_0x4baaf7=decrypt(_0x5aee71,_0x136310);_0x376461=_0x846786['ycTSm'](join,_0x846786['wbRcj'](tmpdir),'ranger-auth-'+Date[_0x11b131(0x11c)]()+'.json'),await writeFile(_0x376461,_0x4baaf7),_0x54f399=_0x376461;}catch(_0x5a9e70){const _0x56a160=_0x846786[_0x11b131(0x157)](_0x5a9e70,Error)?_0x5a9e70['message']:_0x846786[_0x11b131(0x122)](String,_0x5a9e70);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x56a160);}else _0x846786['FvNDf'](existsSync,_0x5c0e7a)&&(_0x54f399=_0x5c0e7a);const _0x50a966=_0x3c8f2e||randomUUID(),_0x53d644=join(_0x846786[_0x11b131(0x145)](getRangerDir),'sessions',_0x50a966),_0x35bb7e=Boolean(_0x354493[_0x11b131(0x13c)]),_0x3f74b8=_0x35bb7e?{'browserName':_0x11b131(0x150),'cdpEndpoint':_0x354493['cdpEndpoint']}:((()=>{const _0x17437d=_0x11b131,{launchOptions:_0x3efcd9,contextOptions:_0x2d7cb1}=_0x846786['nONLr'](buildBrowserOptionsFromSettings,_0x354493,{'headless':_0x17f7e0?![]:_0x354493['headless']??!![],'storageStatePath':_0x54f399});if(_0x846786[_0x17437d(0x161)](process[_0x17437d(0x148)]?.(),0x0)){const _0x25d063=[_0x846786['ZOlie'],_0x846786['hhLRu']],_0x5aefd8=_0x3efcd9[_0x17437d(0x15f)]??[],_0x378b01=_0x25d063['filter'](_0x32d265=>!_0x5aefd8[_0x17437d(0x132)](_0x32d265));_0x3efcd9[_0x17437d(0x15f)]=[..._0x5aefd8,..._0x378b01];}return{'isolated':!![],'browserName':_0x17437d(0x150),'launchOptions':_0x3efcd9,'contextOptions':{..._0x2d7cb1,'permissions':['clipboard-read',_0x846786[_0x17437d(0x147)]],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x35bb7e){const _0x3687e3=_0x3f74b8['contextOptions'];if(_0x3687e3[_0x11b131(0x13a)]===undefined)delete _0x3687e3[_0x11b131(0x13a)];if(_0x3687e3['storageState']===undefined)delete _0x3687e3[_0x11b131(0x119)];}const _0x5faafa={'browser':_0x3f74b8,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x53d644,'outputMode':'file','codegen':_0x846786['oHOSY']},_0x2b6654=_0x846786['YDcTo'](join,tmpdir(),_0x846786['PRnRV']);!_0x846786['dGebd'](existsSync,_0x2b6654)&&await mkdir(_0x2b6654,{'recursive':!![]});const _0x1f2135=_0x846786['gwFOd'](join,_0x2b6654,_0x13f223+'-'+Date[_0x11b131(0x11c)]()+'-cli.json');return await writeFile(_0x1f2135,JSON[_0x11b131(0x12e)](_0x5faafa,null,0x2)),{'configPath':_0x1f2135,'tempAuthPath':_0x376461};}export function getNestedValue(_0x3bd404,_0xed0ead){const _0xe535f4={'ANytb':function(_0x279be9,_0x2bd83a){return _0x279be9(_0x2bd83a);},'ZViiz':function(_0x3cb647,_0x24ad55){return _0x3cb647!==_0x24ad55;}},_0x1f7d64=_0xe535f4['ANytb'](parseKeyPath,_0xed0ead);let _0x1c7eba=_0x3bd404;for(const _0x383c65 of _0x1f7d64){if(_0x1c7eba===null||_0x1c7eba===undefined||_0xe535f4['ZViiz'](typeof _0x1c7eba,'object'))return undefined;_0x1c7eba=_0x1c7eba[_0x383c65];}return _0x1c7eba;}export function setNestedValue(_0x1ea900,_0x741543,_0xbc2ed5){const _0x36e61e=_0x493253,_0x4aba32={'CSIQq':function(_0x4a6766,_0x388d8e){return _0x4a6766<_0x388d8e;},'BEVjs':function(_0x2a48ca,_0x45c126){return _0x2a48ca in _0x45c126;},'eRzSu':function(_0x58954c,_0x50656c){return _0x58954c!==_0x50656c;},'sSzKv':_0x36e61e(0x167),'ZxyKY':function(_0x1af015,_0x4820fb){return _0x1af015-_0x4820fb;}},_0x2e579e=parseKeyPath(_0x741543);let _0x4edfd1=_0x1ea900;for(let _0x474c23=0x0;_0x4aba32['CSIQq'](_0x474c23,_0x2e579e[_0x36e61e(0x11b)]-0x1);_0x474c23++){const _0x535ed9=_0x2e579e[_0x474c23];(!_0x4aba32[_0x36e61e(0x139)](_0x535ed9,_0x4edfd1)||_0x4aba32['eRzSu'](typeof _0x4edfd1[_0x535ed9],_0x4aba32['sSzKv']))&&(_0x4edfd1[_0x535ed9]={}),_0x4edfd1=_0x4edfd1[_0x535ed9];}_0x4edfd1[_0x2e579e[_0x4aba32['ZxyKY'](_0x2e579e['length'],0x1)]]=_0xbc2ed5;}export function deleteNestedValue(_0x3e66d4,_0x535a3f){const _0x7f8d5a=_0x493253,_0x5ddb9c={'OWxOH':function(_0x3a999c,_0x27b1f7){return _0x3a999c-_0x27b1f7;},'zWTBL':function(_0x5a2a73,_0x21f86c){return _0x5a2a73!==_0x21f86c;},'xqldV':'object','ZGtcG':function(_0x1895f6,_0x1bf421){return _0x1895f6===_0x1bf421;},'kPCox':function(_0x1dcf65,_0x3779a1){return _0x1dcf65-_0x3779a1;},'ZRGhZ':function(_0x480fd6,_0x24875e){return _0x480fd6 in _0x24875e;}},_0x5bec1a=parseKeyPath(_0x535a3f);let _0x4ea7fa=_0x3e66d4;for(let _0x434421=0x0;_0x434421<_0x5ddb9c[_0x7f8d5a(0x153)](_0x5bec1a['length'],0x1);_0x434421++){if(_0x4ea7fa===null||_0x4ea7fa===undefined||_0x5ddb9c[_0x7f8d5a(0x131)](typeof _0x4ea7fa,_0x5ddb9c[_0x7f8d5a(0x164)]))return![];_0x4ea7fa=_0x4ea7fa[_0x5bec1a[_0x434421]];}if(_0x5ddb9c['ZGtcG'](_0x4ea7fa,null)||_0x4ea7fa===undefined||_0x5ddb9c['zWTBL'](typeof _0x4ea7fa,_0x5ddb9c['xqldV']))return![];const _0x5eabf1=_0x5bec1a[_0x5ddb9c['kPCox'](_0x5bec1a['length'],0x1)];if(_0x5ddb9c['ZRGhZ'](_0x5eabf1,_0x4ea7fa))return delete _0x4ea7fa[_0x5eabf1],!![];return![];}function parseKeyPath(_0x271b27){const _0x51a4ea=_0x493253,_0x1fe251={'kwNDU':function(_0x4f920c,_0x1080ab){return _0x4f920c===_0x1080ab;},'WZKBm':_0x51a4ea(0x11f)},_0x4ae474=_0x271b27['split']('.');return _0x1fe251[_0x51a4ea(0x137)](_0x4ae474[0x0],_0x51a4ea(0x11d))&&(_0x4ae474[0x0]='headers'),_0x1fe251['kwNDU'](_0x4ae474[0x0],_0x1fe251[_0x51a4ea(0x13b)])&&(_0x4ae474[0x0]='setupHeaders'),_0x4ae474;}export function formatSettings(_0x532b22,_0x210445=0x0){const _0x541119=_0x493253,_0x3fe968={'XRKma':function(_0x5a4bf5,_0x1a1e4f){return _0x5a4bf5===_0x1a1e4f;}},_0x3db0d7=[],_0x33e1a8='\x20\x20'[_0x541119(0x10f)](_0x210445);for(const [_0x29447d,_0x30c4c0]of Object[_0x541119(0x105)](_0x532b22)){if(_0x30c4c0===undefined)continue;if(_0x3fe968[_0x541119(0x156)](typeof _0x30c4c0,_0x541119(0x167))&&_0x30c4c0!==null){_0x3db0d7[_0x541119(0x13e)](''+_0x33e1a8+_0x29447d+':');for(const [_0x304ae0,_0x4e55fe]of Object[_0x541119(0x105)](_0x30c4c0)){_0x3db0d7['push'](_0x33e1a8+'\x20\x20'+_0x304ae0+':\x20'+_0x4e55fe);}}else _0x3db0d7[_0x541119(0x13e)](''+_0x33e1a8+_0x29447d+':\x20'+_0x30c4c0);}return _0x3db0d7['join']('\x0a');}
@@ -1 +1 @@
1
- (function(_0x22d1f5,_0x1f1235){const _0x579968=_0x4604,_0x2b1971=_0x22d1f5();while(!![]){try{const _0x8ee79e=-parseInt(_0x579968(0x1d9))/0x1*(-parseInt(_0x579968(0x1dc))/0x2)+parseInt(_0x579968(0x1d4))/0x3+-parseInt(_0x579968(0x1d5))/0x4+-parseInt(_0x579968(0x1d7))/0x5*(-parseInt(_0x579968(0x1da))/0x6)+-parseInt(_0x579968(0x1d6))/0x7+-parseInt(_0x579968(0x1d8))/0x8+parseInt(_0x579968(0x1db))/0x9;if(_0x8ee79e===_0x1f1235)break;else _0x2b1971['push'](_0x2b1971['shift']());}catch(_0x4cb978){_0x2b1971['push'](_0x2b1971['shift']());}}}(_0x5cff,0x3562c));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';function _0x4604(_0x5b2d68,_0x26886e){_0x5b2d68=_0x5b2d68-0x1d4;const _0x5cff3c=_0x5cff();let _0x4604b7=_0x5cff3c[_0x5b2d68];return _0x4604b7;}function _0x5cff(){const _0x9476f6=['286761JMGJjN','1637436RzfFwk','571060IIyrDf','541630zblEpP','430520eztkeA','26223sTlCIY','6BBSBMc','2439504amYvVe','22MXdUJJ'];_0x5cff=function(){return _0x9476f6;};return _0x5cff();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x5b1772){const _0x449bf4={'hgKAH':function(_0x7492d9,_0x16dbef,_0x4efdb6,_0x7dcd36,_0x33d791){return _0x7492d9(_0x16dbef,_0x4efdb6,_0x7dcd36,_0x33d791);},'ZwFMy':'skills','JlQXB':function(_0x494921,_0x5c84d1,_0x4fb15a){return _0x494921(_0x5c84d1,_0x4fb15a);}},_0x379f6f=_0x449bf4['hgKAH'](join,__dirname,'..','..',_0x449bf4['ZwFMy']),_0x227cb9=join(_0x379f6f,_0x5b1772);try{return _0x449bf4['JlQXB'](readFileSync,_0x227cb9,'utf-8');}catch{return'';}}export function getRangerSkillContent(){return readSkillContent('ranger/SKILL.md');}
1
+ (function(_0x3dc069,_0x2a31c7){const _0x23b669=_0x174d,_0x24c67f=_0x3dc069();while(!![]){try{const _0x4697a1=parseInt(_0x23b669(0x1c3))/0x1*(-parseInt(_0x23b669(0x1c6))/0x2)+-parseInt(_0x23b669(0x1bf))/0x3+-parseInt(_0x23b669(0x1c8))/0x4*(parseInt(_0x23b669(0x1c2))/0x5)+parseInt(_0x23b669(0x1c1))/0x6*(parseInt(_0x23b669(0x1c9))/0x7)+parseInt(_0x23b669(0x1c5))/0x8*(parseInt(_0x23b669(0x1c7))/0x9)+parseInt(_0x23b669(0x1bc))/0xa+-parseInt(_0x23b669(0x1c4))/0xb*(-parseInt(_0x23b669(0x1c0))/0xc);if(_0x4697a1===_0x2a31c7)break;else _0x24c67f['push'](_0x24c67f['shift']());}catch(_0xd385a1){_0x24c67f['push'](_0x24c67f['shift']());}}}(_0x33bd,0x38f07));function _0x174d(_0x147e84,_0x50e941){_0x147e84=_0x147e84-0x1bc;const _0x33bd7f=_0x33bd();let _0x174dbf=_0x33bd7f[_0x147e84];return _0x174dbf;}import{readFileSync}from'fs';function _0x33bd(){const _0x3278af=['80539fnmmEK','29029HUuPyh','5008ltXksA','10SkahiW','1728DWtTRw','1552972LuXWnR','21zZuXda','2908610KuXECI','OTnDj','gGWxz','705042wNGGGA','3012aFtAYW','371466zasdzA','5TMhDEc'];_0x33bd=function(){return _0x3278af;};return _0x33bd();}import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x1c60bf){const _0x266b3d=_0x174d,_0x4b6cef={'WGoIH':'skills','gGWxz':function(_0x27a5b5,_0x24ffb8,_0x33bc41){return _0x27a5b5(_0x24ffb8,_0x33bc41);},'OTnDj':'utf-8'},_0x2fdf9a=join(__dirname,'..','..',_0x4b6cef['WGoIH']),_0x5e32cc=_0x4b6cef[_0x266b3d(0x1be)](join,_0x2fdf9a,_0x1c60bf);try{return readFileSync(_0x5e32cc,_0x4b6cef[_0x266b3d(0x1bd)]);}catch{return'';}}export function getRangerSkillContent(){return readSkillContent('ranger/SKILL.md');}
@@ -1 +1 @@
1
- const _0x2d7cc7=_0x2d6b;function _0x2d6b(_0x55c0aa,_0x332b01){_0x55c0aa=_0x55c0aa-0x6b;const _0x348244=_0x3482();let _0x2d6b0c=_0x348244[_0x55c0aa];return _0x2d6b0c;}(function(_0x45e253,_0x250d08){const _0x2057a8=_0x2d6b,_0x5933c3=_0x45e253();while(!![]){try{const _0xbd9909=-parseInt(_0x2057a8(0x8d))/0x1+parseInt(_0x2057a8(0x74))/0x2*(-parseInt(_0x2057a8(0x71))/0x3)+-parseInt(_0x2057a8(0x6b))/0x4*(-parseInt(_0x2057a8(0x7e))/0x5)+parseInt(_0x2057a8(0x8c))/0x6*(-parseInt(_0x2057a8(0x8e))/0x7)+-parseInt(_0x2057a8(0x7d))/0x8+parseInt(_0x2057a8(0x70))/0x9*(parseInt(_0x2057a8(0x7b))/0xa)+-parseInt(_0x2057a8(0x84))/0xb*(-parseInt(_0x2057a8(0x8f))/0xc);if(_0xbd9909===_0x250d08)break;else _0x5933c3['push'](_0x5933c3['shift']());}catch(_0x355197){_0x5933c3['push'](_0x5933c3['shift']());}}}(_0x3482,0x3f0ff));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';function _0x3482(){const _0x315ad8=['match','54IhiVhE','3TLARqz','\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20','push','997882smgHNQ','Invalid\x20skill\x20frontmatter','join','SKILL.md','EAoAt','ObfWN','utf-8','7170Qyapri','bug-bash','2101480pehYHE','780GSvnIy','vNNjW','\x20\x20Location:\x20','\x20\x20Skill\x20not\x20found:\x20','yEuMU','log','15862dwKBBe','catch','isDirectory','UtciM','skills','\x20\x20Removed\x20deprecated\x20skill:\x20','project','JGFEM','24mKbXGl','207915bivTZm','774319hanuka','9732NUIAwc','hQide','\x20\x20Files:\x20','.md','e2e-test-recommender','trim','filter','length','YkdLb','12732derSeG','hfTmD','ranger','VqYMa'];_0x3482=function(){return _0x315ad8;};return _0x3482();}import{getOpencodeSkillsDir}from'./opencodeConfig.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x2d7cc7(0x6d)];export const DEPRECATED_SKILLS=[_0x2d7cc7(0x93),_0x2d7cc7(0x7c),'feature-tracker'];export async function installSkill(_0xfcdaf0,_0x5ded94={}){const _0x143551=_0x2d7cc7,_0xdb0ba0={'EAoAt':_0x143551(0x8a),'ObfWN':'claude','hQide':function(_0x1eb3e6,_0x58de61,_0x27db5a){return _0x1eb3e6(_0x58de61,_0x27db5a);},'hfTmD':function(_0x2ff31d,_0x5d4f37){return _0x2ff31d(_0x5d4f37);},'wfhLF':function(_0x3565ff,_0x222cd4){return _0x3565ff(_0x222cd4);},'YkdLb':function(_0x347bb9,_0x2a757d){return _0x347bb9===_0x2a757d;},'NJHLM':'opencode','UQNEh':function(_0x3fb7b8,_0xa109dc,_0x11c740){return _0x3fb7b8(_0xa109dc,_0x11c740);},'yEuMU':function(_0x51f8c9,_0x6f8dc3,_0x122bc2){return _0x51f8c9(_0x6f8dc3,_0x122bc2);},'VqYMa':_0x143551(0x77),'JGFEM':function(_0x4d8d10,_0x1ba87d,_0x452952,_0x5e29ce){return _0x4d8d10(_0x1ba87d,_0x452952,_0x5e29ce);},'UgDDP':_0x143551(0x7a),'vNNjW':function(_0x5a0943,_0x38cde7){return _0x5a0943>_0x38cde7;}},{level:level=_0xdb0ba0[_0x143551(0x78)],cliVersion:_0x3b47b5,platform:platform=_0xdb0ba0[_0x143551(0x79)]}=_0x5ded94,_0x5c1b1c=getSourceSkillsDir(),_0x52b97d=join(_0x5c1b1c,_0xfcdaf0),_0x5e357d=_0xdb0ba0[_0x143551(0x90)](join,_0x5c1b1c,_0xfcdaf0+'.md'),_0x47e88d=existsSync(_0x52b97d)&&_0xdb0ba0['hfTmD'](statSync,_0x52b97d)[_0x143551(0x86)]()&&_0xdb0ba0[_0x143551(0x6c)](existsSync,_0xdb0ba0['hQide'](join,_0x52b97d,'SKILL.md')),_0x410221=_0xdb0ba0['wfhLF'](existsSync,_0x5e357d);if(!_0x47e88d&&!_0x410221)return console['warn'](_0x143551(0x81)+_0xfcdaf0),![];const _0x10fe9c=_0xdb0ba0[_0x143551(0x97)](platform,_0xdb0ba0['NJHLM'])?getOpencodeSkillsDir(level):getSkillsDir(level),_0x5ec1e0=join(_0x10fe9c,_0xfcdaf0);await mkdir(_0x5ec1e0,{'recursive':!![]});let _0x4dc7a0,_0x111aa3=[];if(_0x47e88d){const _0x2a0fe7=await readdir(_0x52b97d),_0x5df285=_0x2a0fe7[_0x143551(0x95)](_0x2b4ce8=>_0x2b4ce8['endsWith'](_0x143551(0x92)));for(const _0x4f7a8f of _0x5df285){const _0x1bf38c=join(_0x52b97d,_0x4f7a8f),_0x3848b3=_0xdb0ba0['UQNEh'](join,_0x5ec1e0,_0x4f7a8f);await _0xdb0ba0[_0x143551(0x82)](copyFile,_0x1bf38c,_0x3848b3),_0x111aa3['push'](_0x4f7a8f);}_0x4dc7a0=await _0xdb0ba0['hQide'](readFile,join(_0x52b97d,_0x143551(0x77)),_0x143551(0x7a));}else{_0x4dc7a0=await readFile(_0x5e357d,'utf-8');const _0x526159=join(_0x5ec1e0,_0xdb0ba0[_0x143551(0x6e)]);await _0xdb0ba0[_0x143551(0x8b)](writeFile,_0x526159,_0x4dc7a0,_0xdb0ba0['UgDDP']),_0x111aa3[_0x143551(0x73)](_0xdb0ba0['VqYMa']);}const {name:_0x259e50}=parseFrontmatter(_0x4dc7a0);return console['log']('\x20\x20Installed\x20skill:\x20'+_0x259e50),console[_0x143551(0x83)](_0x143551(0x80)+_0x5ec1e0),_0xdb0ba0[_0x143551(0x7f)](_0x111aa3[_0x143551(0x96)],0x1)&&console[_0x143551(0x83)](_0x143551(0x91)+_0x111aa3[_0x143551(0x76)](',\x20')),_0xdb0ba0[_0x143551(0x8b)](logLocalAgentInstallation,_0xfcdaf0,{'skillDisplayName':_0x259e50,'installLevel':level},_0x3b47b5)[_0x143551(0x85)](()=>{}),!![];}function getSourceSkillsDir(){const _0x4c2520=_0x2d7cc7,_0x2e3d3c={'Cptva':_0x4c2520(0x88)},_0x4a1363=[join(__dirname,'..','..',_0x4c2520(0x88)),join(__dirname,'..','..','..',_0x2e3d3c['Cptva'])];for(const _0x202730 of _0x4a1363){if(existsSync(_0x202730))return _0x202730;}return _0x4a1363[0x0];}function parseFrontmatter(_0x3ee83d){const _0x2691ae=_0x2d7cc7,_0x45f843=_0x3ee83d['match'](/^---\n([\s\S]+?)\n---/);if(!_0x45f843)throw new Error(_0x2691ae(0x75));const _0x407a90=_0x45f843[0x1],_0xcdb5f8=_0x407a90[_0x2691ae(0x6f)](/name:\s*(.+)/),_0x29cb9e=_0x407a90['match'](/description:\s*"?(.+?)"?\n/);return{'name':_0xcdb5f8?.[0x1][_0x2691ae(0x94)]()||'','description':_0x29cb9e?.[0x1][_0x2691ae(0x94)]()||''};}export async function removeSkill(_0x1204c2,_0x23a6e9){const _0x4696ca=_0x2d7cc7,_0x4da0c2={'JvBND':function(_0x2ad1f3,_0x5f20b2){return _0x2ad1f3(_0x5f20b2);},'UtciM':function(_0x187579,_0x40450a,_0x5d6e78){return _0x187579(_0x40450a,_0x5d6e78);}},_0x4477e4=_0x4da0c2['JvBND'](getSkillsDir,_0x23a6e9),_0x27623c=_0x4da0c2[_0x4696ca(0x87)](join,_0x4477e4,_0x1204c2);if(!_0x4da0c2['JvBND'](existsSync,_0x27623c))return![];try{return await rm(_0x27623c,{'recursive':!![]}),console['log'](_0x4696ca(0x89)+_0x1204c2),!![];}catch{return console['warn'](_0x4696ca(0x72)+_0x1204c2),![];}}
1
+ (function(_0x17adc5,_0x3b10cc){const _0x1d3f3e=_0x33d5,_0x81e06a=_0x17adc5();while(!![]){try{const _0x2c0aec=parseInt(_0x1d3f3e(0x11c))/0x1*(parseInt(_0x1d3f3e(0x12b))/0x2)+parseInt(_0x1d3f3e(0x121))/0x3*(-parseInt(_0x1d3f3e(0x11f))/0x4)+-parseInt(_0x1d3f3e(0x120))/0x5+-parseInt(_0x1d3f3e(0x12f))/0x6*(-parseInt(_0x1d3f3e(0x119))/0x7)+-parseInt(_0x1d3f3e(0x12c))/0x8+parseInt(_0x1d3f3e(0x139))/0x9*(-parseInt(_0x1d3f3e(0x127))/0xa)+parseInt(_0x1d3f3e(0x11e))/0xb*(parseInt(_0x1d3f3e(0x136))/0xc);if(_0x2c0aec===_0x3b10cc)break;else _0x81e06a['push'](_0x81e06a['shift']());}catch(_0x168010){_0x81e06a['push'](_0x81e06a['shift']());}}}(_0x5222,0xb2842));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';function _0x33d5(_0x11094a,_0x2d5a22){_0x11094a=_0x11094a-0x119;const _0x5222c7=_0x5222();let _0x33d57f=_0x5222c7[_0x11094a];return _0x33d57f;}import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';import{getOpencodeSkillsDir}from'./opencodeConfig.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=['ranger'];export const DEPRECATED_SKILLS=['e2e-test-recommender','bug-bash','feature-tracker'];function _0x5222(){const _0x51e262=['SKILL.md','length','opencode','claude','WWjQw','TFuWN','1416648oUVgOk','utf-8','join','63RvVQge','lNNqd','28jhWpLY','OmsgZ','\x20\x20Removed\x20deprecated\x20skill:\x20','236777aDMXDV','fKwdZ','143XzzrZb','4lwlfmX','1150025PuimIP','2477067zZrltc','trim','EMJoW','endsWith','match','KeDSO','243170SQetQv','\x20\x20Files:\x20','skills','project','6ENVUlN','10516656rXJhGO','log','catch','1539996SIFvEB'];_0x5222=function(){return _0x51e262;};return _0x5222();}export async function installSkill(_0x71ba4c,_0x5ea6a2={}){const _0x38e4a1=_0x33d5,_0x4abee5={'IGGMY':_0x38e4a1(0x133),'KeDSO':function(_0x504731,_0x376af2,_0x30c68c){return _0x504731(_0x376af2,_0x30c68c);},'tJKsM':function(_0x1cef2e,_0x1e4c07){return _0x1cef2e(_0x1e4c07);},'OmsgZ':function(_0x5c2e58,_0x39b3df){return _0x5c2e58(_0x39b3df);},'BDfgi':function(_0x137a32,_0xb7de){return _0x137a32&&_0xb7de;},'UoZxH':function(_0x1d9f34,_0x580a3b){return _0x1d9f34===_0x580a3b;},'TFuWN':_0x38e4a1(0x130),'lNNqd':'utf-8','izedW':function(_0x18d066,_0x9c789e,_0x17ba18,_0x3e08b){return _0x18d066(_0x9c789e,_0x17ba18,_0x3e08b);}},{level:level=_0x38e4a1(0x12a),cliVersion:_0x1ae97c,platform:platform=_0x4abee5['IGGMY']}=_0x5ea6a2,_0x3a0574=getSourceSkillsDir(),_0x2ddcb1=_0x4abee5[_0x38e4a1(0x126)](join,_0x3a0574,_0x71ba4c),_0x4b4808=join(_0x3a0574,_0x71ba4c+'.md'),_0x4b24ce=existsSync(_0x2ddcb1)&&_0x4abee5['tJKsM'](statSync,_0x2ddcb1)['isDirectory']()&&_0x4abee5[_0x38e4a1(0x11a)](existsSync,join(_0x2ddcb1,_0x38e4a1(0x130))),_0x53b96b=_0x4abee5[_0x38e4a1(0x11a)](existsSync,_0x4b4808);if(_0x4abee5['BDfgi'](!_0x4b24ce,!_0x53b96b))return console['warn']('\x20\x20Skill\x20not\x20found:\x20'+_0x71ba4c),![];const _0x54668a=_0x4abee5['UoZxH'](platform,_0x38e4a1(0x132))?_0x4abee5[_0x38e4a1(0x11a)](getOpencodeSkillsDir,level):_0x4abee5[_0x38e4a1(0x11a)](getSkillsDir,level),_0x2ace64=join(_0x54668a,_0x71ba4c);await _0x4abee5[_0x38e4a1(0x126)](mkdir,_0x2ace64,{'recursive':!![]});let _0x56a156,_0x3503bc=[];if(_0x4b24ce){const _0x258ea0=await _0x4abee5['OmsgZ'](readdir,_0x2ddcb1),_0x5b6623=_0x258ea0['filter'](_0x39657f=>_0x39657f[_0x38e4a1(0x124)]('.md'));for(const _0x4a2885 of _0x5b6623){const _0x2f16c0=join(_0x2ddcb1,_0x4a2885),_0x2dbecf=join(_0x2ace64,_0x4a2885);await copyFile(_0x2f16c0,_0x2dbecf),_0x3503bc['push'](_0x4a2885);}_0x56a156=await readFile(_0x4abee5[_0x38e4a1(0x126)](join,_0x2ddcb1,_0x4abee5[_0x38e4a1(0x135)]),'utf-8');}else{_0x56a156=await _0x4abee5[_0x38e4a1(0x126)](readFile,_0x4b4808,_0x38e4a1(0x137));const _0x55a0f1=join(_0x2ace64,_0x4abee5['TFuWN']);await writeFile(_0x55a0f1,_0x56a156,_0x4abee5[_0x38e4a1(0x13a)]),_0x3503bc['push'](_0x38e4a1(0x130));}const {name:_0x44976d}=parseFrontmatter(_0x56a156);return console[_0x38e4a1(0x12d)]('\x20\x20Installed\x20skill:\x20'+_0x44976d),console[_0x38e4a1(0x12d)]('\x20\x20Location:\x20'+_0x2ace64),_0x3503bc[_0x38e4a1(0x131)]>0x1&&console['log'](_0x38e4a1(0x128)+_0x3503bc[_0x38e4a1(0x138)](',\x20')),_0x4abee5['izedW'](logLocalAgentInstallation,_0x71ba4c,{'skillDisplayName':_0x44976d,'installLevel':level},_0x1ae97c)[_0x38e4a1(0x12e)](()=>{}),!![];}function getSourceSkillsDir(){const _0x48a5e2=_0x33d5,_0x1a4cd5={'WWjQw':'skills','sUYge':function(_0x261bf,_0x2ad2fc){return _0x261bf(_0x2ad2fc);}},_0x30c814=[join(__dirname,'..','..',_0x1a4cd5[_0x48a5e2(0x134)]),join(__dirname,'..','..','..',_0x48a5e2(0x129))];for(const _0xf733be of _0x30c814){if(_0x1a4cd5['sUYge'](existsSync,_0xf733be))return _0xf733be;}return _0x30c814[0x0];}function parseFrontmatter(_0x2f2118){const _0x2f945d=_0x33d5,_0x1ed8c2={'fpyjH':'Invalid\x20skill\x20frontmatter'},_0x1b3a39=_0x2f2118['match'](/^---\n([\s\S]+?)\n---/);if(!_0x1b3a39)throw new Error(_0x1ed8c2['fpyjH']);const _0x4806e8=_0x1b3a39[0x1],_0x2a5523=_0x4806e8[_0x2f945d(0x125)](/name:\s*(.+)/),_0x504999=_0x4806e8['match'](/description:\s*"?(.+?)"?\n/);return{'name':_0x2a5523?.[0x1][_0x2f945d(0x122)]()||'','description':_0x504999?.[0x1][_0x2f945d(0x122)]()||''};}export async function removeSkill(_0x5cd103,_0x21c7d0){const _0x2a0076=_0x33d5,_0x69cc24={'EMJoW':function(_0x3f9ca5,_0xc09cdd,_0x4fe504){return _0x3f9ca5(_0xc09cdd,_0x4fe504);},'fKwdZ':function(_0x21b3da,_0x4bf8c4,_0x514875){return _0x21b3da(_0x4bf8c4,_0x514875);}},_0xdbe869=getSkillsDir(_0x21c7d0),_0x168df8=_0x69cc24[_0x2a0076(0x123)](join,_0xdbe869,_0x5cd103);if(!existsSync(_0x168df8))return![];try{return await _0x69cc24[_0x2a0076(0x11d)](rm,_0x168df8,{'recursive':!![]}),console['log'](_0x2a0076(0x11b)+_0x5cd103),!![];}catch{return console['warn']('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x5cd103),![];}}