@ranger-testing/ranger-cli 2.4.1 → 2.4.2

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 (70) 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/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/agentEnv.js +1 -1
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudePlugin.js +1 -1
  38. package/build/commands/utils/crypto.js +1 -1
  39. package/build/commands/utils/desirePathLog.js +1 -1
  40. package/build/commands/utils/deviceAuth.js +1 -1
  41. package/build/commands/utils/environment.js +1 -1
  42. package/build/commands/utils/featureApi.js +1 -1
  43. package/build/commands/utils/featureReportGenerator.js +1 -1
  44. package/build/commands/utils/fixWebmDuration.js +1 -1
  45. package/build/commands/utils/git.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/reportGenerator.js +1 -1
  57. package/build/commands/utils/retry.js +1 -1
  58. package/build/commands/utils/sessionCache.js +1 -1
  59. package/build/commands/utils/settings.js +1 -1
  60. package/build/commands/utils/skillContent.js +1 -1
  61. package/build/commands/utils/skills.js +1 -1
  62. package/build/commands/utils/stitchWebmFiles.js +1 -1
  63. package/build/commands/utils/telemetry.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/build/commands/verifyInBrowser.js +1 -1
  70. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x1121(){const _0xc2211=['pipe','\x0astderr:\x20','vSZIG','soaiJ','exited\x20with\x20code=','FYTSq','join','hhbVO','SIGKILL','null','2137385LSrXPs','sha256','toString','error','\x20signal=','match','kgDzC','-s=','--config','data','subcommand','commandArgs','hEJME','trim','update','npx','string','timeoutMs','sessionId','14099110gMeTAP','\x27\x5c\x27\x27','6ezWLJw','QfznG','timed\x20out\x20after\x20','GfukQ','4143816iFvUiD','5675215YhgagH','find','ILvPW','fflXa','RqfQW','4829440BwDJyx','bUJoD','stderr','replace','bWBsQ','values','LoGPn','icqUu','kill','length','close','1275720absMEE','slice','1KOGCvH','3rZBqwF','ynUZJ','SIGTERM','1101382OrCtDQ'];_0x1121=function(){return _0xc2211;};return _0x1121();}(function(_0x268901,_0x57191b){const _0x4dee39=_0x2440,_0x255ef4=_0x268901();while(!![]){try{const _0xf30210=parseInt(_0x4dee39(0xf4))/0x1*(parseInt(_0x4dee39(0xf8))/0x2)+parseInt(_0x4dee39(0xf5))/0x3*(parseInt(_0x4dee39(0xf2))/0x4)+parseInt(_0x4dee39(0xc8))/0x5*(parseInt(_0x4dee39(0xdd))/0x6)+parseInt(_0x4dee39(0xe2))/0x7+-parseInt(_0x4dee39(0xe7))/0x8+parseInt(_0x4dee39(0xe1))/0x9+-parseInt(_0x4dee39(0xdb))/0xa;if(_0xf30210===_0x57191b)break;else _0x255ef4['push'](_0x255ef4['shift']());}catch(_0x3179a6){_0x255ef4['push'](_0x255ef4['shift']());}}}(_0x1121,0x876b4));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x1bad51){const _0x59be8a=_0x2440,_0x22cf1c={'vSZIG':function(_0x1a1d5e,_0xaaf31f){return _0x1a1d5e(_0xaaf31f);},'LoGPn':_0x59be8a(0xc9),'UUqai':'hex'},_0x1607ba=_0x22cf1c[_0x59be8a(0xfb)](createHash,_0x22cf1c[_0x59be8a(0xed)])[_0x59be8a(0xd6)](_0x1bad51)['digest'](_0x22cf1c['UUqai'])[_0x59be8a(0xf3)](0x0,0xc);return'rg-'+_0x1607ba;}function shellQuote(_0xf3bc66){const _0x4592e3=_0x2440;return'\x27'+_0xf3bc66[_0x4592e3(0xea)](/'/g,_0x4592e3(0xdc))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x3dd179){return SAFE_SHELL_TOKEN['test'](_0x3dd179)?_0x3dd179:shellQuote(_0x3dd179);}export function buildPlaywrightCliInvocation(_0x35e967,_0x650d0e,_0x4fa49c){const _0xdb0e8d=_0x2440,_0x1da366={'uEZPV':'unknown','biGmp':_0xdb0e8d(0xd7),'WHjvk':function(_0x329039,_0xc10965){return _0x329039(_0xc10965);},'hhbVO':_0xdb0e8d(0xd0)},_0x4f119a=toPlaywrightCliSessionKey(_0x35e967),[_0x4acaae=_0x1da366['uEZPV']]=_0x4fa49c,_0x21a785=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x4f119a,_0xdb0e8d(0xd0),_0x650d0e,..._0x4fa49c];return{'command':_0x1da366['biGmp'],'args':_0x21a785,'shellCommand':[_0x1da366['biGmp'],PLAYWRIGHT_CLI_BINARY,_0xdb0e8d(0xcf)+_0x1da366['WHjvk'](quoteShellArg,_0x4f119a),_0x1da366[_0xdb0e8d(0x100)],quoteShellArg(_0x650d0e),..._0x4fa49c['map'](quoteShellArg)][_0xdb0e8d(0xff)]('\x20'),'subcommand':_0x4acaae};}function _0x2440(_0x228bda,_0x210127){_0x228bda=_0x228bda-0xc7;const _0x112105=_0x1121();let _0x244088=_0x112105[_0x228bda];return _0x244088;}export function buildPlaywrightCliCommandPrefix(_0x213bb9,_0x513aa5){const _0x58f5ec=_0x2440,_0xd642c0={'xsvLs':_0x58f5ec(0xd0),'ILvPW':function(_0x44b517,_0x42aa0a){return _0x44b517(_0x42aa0a);}},_0x52b5c2=toPlaywrightCliSessionKey(_0x213bb9);return[_0x58f5ec(0xd7),PLAYWRIGHT_CLI_BINARY,_0x58f5ec(0xcf)+quoteShellArg(_0x52b5c2),_0xd642c0['xsvLs'],_0xd642c0[_0x58f5ec(0xe4)](quoteShellArg,_0x513aa5)][_0x58f5ec(0xff)]('\x20');}function truncateOutput(_0x583a7f,_0x3115a8=0x7d0){const _0x561464=_0x2440,_0x533c82={'kZEvT':function(_0x3b83f7,_0x400d25){return _0x3b83f7+_0x400d25;},'GfukQ':'...'};return _0x583a7f[_0x561464(0xf0)]>_0x3115a8?_0x533c82['kZEvT'](_0x583a7f[_0x561464(0xf3)](0x0,_0x3115a8),_0x533c82[_0x561464(0xe0)]):_0x583a7f;}export async function runPlaywrightCliCommand(_0x22d692){const _0x41cdc3=_0x2440,_0x29d17d={'FYTSq':function(_0x1b53b4,_0x26d36e){return _0x1b53b4===_0x26d36e;},'QfznG':function(_0x385aef,_0x537492){return _0x385aef(_0x537492);},'AnIGu':_0x41cdc3(0xc7),'soaiJ':function(_0x352791,_0x55efae){return _0x352791(_0x55efae);},'bUJoD':function(_0xcc3bd6,_0x8b9c6e){return _0xcc3bd6(_0x8b9c6e);},'ynUZJ':function(_0x4f88cf,_0x213a7f,_0x58f21b,_0x337123){return _0x4f88cf(_0x213a7f,_0x58f21b,_0x337123);},'bWBsQ':'ignore','fflXa':_0x41cdc3(0xf9),'hEJME':_0x41cdc3(0xd1),'eWphk':_0x41cdc3(0xf1)},_0x3293ce=buildPlaywrightCliInvocation(_0x22d692[_0x41cdc3(0xda)],_0x22d692['configPath'],_0x22d692[_0x41cdc3(0xd3)]);return new Promise((_0x14c4f1,_0x3bf91a)=>{const _0x12deb0=_0x41cdc3,_0x9ba141={'kgDzC':function(_0x47b426,_0x165626){return _0x47b426(_0x165626);}},_0x44eb25=_0x29d17d[_0x12deb0(0xf6)](spawn,_0x3293ce['command'],_0x3293ce['args'],{'cwd':_0x22d692['cwd'],'env':_0x22d692['env'],'stdio':[_0x29d17d[_0x12deb0(0xeb)],_0x29d17d[_0x12deb0(0xe5)],_0x29d17d['fflXa']]});let _0x5dca26='',_0x50ec9a='',_0x765d3=![];const _0x45dc69=_0x22d692['timeoutMs']&&_0x22d692[_0x12deb0(0xd9)]>0x0?setTimeout(()=>{const _0x5bc660=_0x12deb0;_0x765d3=!![],_0x44eb25['kill'](_0x5bc660(0xf7)),setTimeout(()=>{const _0x1e412b=_0x5bc660;try{_0x44eb25[_0x1e412b(0xef)](_0x1e412b(0x101));}catch{}},0x3e8);},_0x22d692['timeoutMs']):null;_0x44eb25['stdout']?.['on'](_0x29d17d[_0x12deb0(0xd4)],_0x28aea7=>{_0x5dca26+=_0x28aea7['toString']();}),_0x44eb25[_0x12deb0(0xe9)]?.['on']('data',_0x2a3ecd=>{const _0x4625df=_0x12deb0;_0x50ec9a+=_0x2a3ecd[_0x4625df(0xca)]();}),_0x44eb25['on'](_0x12deb0(0xcb),_0x416d33=>{const _0xb5ad24=_0x12deb0;if(_0x45dc69)clearTimeout(_0x45dc69);_0x9ba141[_0xb5ad24(0xce)](_0x3bf91a,_0x416d33);}),_0x44eb25['on'](_0x29d17d['eWphk'],(_0x2130f5,_0xc6f09a)=>{const _0x26bbba=_0x12deb0;if(_0x45dc69)clearTimeout(_0x45dc69);if(_0x29d17d[_0x26bbba(0xfe)](_0x2130f5,0x0)){_0x29d17d[_0x26bbba(0xde)](_0x14c4f1,{'stdout':_0x5dca26,'stderr':_0x50ec9a,'invocation':_0x3293ce});return;}const _0x2844eb=_0x765d3?_0x26bbba(0xdf)+_0x22d692[_0x26bbba(0xd9)]+'ms':_0x26bbba(0xfd)+(_0x2130f5??_0x29d17d['AnIGu'])+_0x26bbba(0xcc)+(_0xc6f09a??'null');_0x3bf91a(new Error('playwright-cli\x20'+_0x3293ce[_0x26bbba(0xd2)]+'\x20'+_0x2844eb+'\x0astdout:\x20'+_0x29d17d[_0x26bbba(0xfc)](truncateOutput,_0x5dca26)+_0x26bbba(0xfa)+_0x29d17d[_0x26bbba(0xe8)](truncateOutput,_0x50ec9a)));});});}export function extractBashCommand(_0x245343){const _0x37750a=_0x2440,_0x3bdfec={'GfHZe':'command','RqfQW':'script','icqUu':_0x37750a(0xd8),'iQTtz':function(_0x760140,_0x183911){return _0x760140??_0x183911;}},_0x20ea05=[_0x3bdfec['GfHZe'],'cmd',_0x3bdfec[_0x37750a(0xe6)],'bash_command'];for(const _0x479be8 of _0x20ea05){const _0x195bbe=_0x245343[_0x479be8];if(typeof _0x195bbe===_0x3bdfec[_0x37750a(0xee)]&&_0x195bbe[_0x37750a(0xd5)]())return _0x195bbe;}const _0xcec8bf=Object[_0x37750a(0xec)](_0x245343)[_0x37750a(0xe3)](_0x3ca9a8=>typeof _0x3ca9a8==='string'&&_0x3ca9a8[_0x37750a(0xd5)]()['length']>0x0);return _0x3bdfec['iQTtz'](_0xcec8bf,null);}export function parsePlaywrightCliCommand(_0x3f564c){const _0x1344dc=_0x2440,_0x8dc900=_0x3f564c[_0x1344dc(0xcd)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x8dc900?.[0x1]??null;}
1
+ (function(_0x3ba358,_0x31de9c){const _0x16d54b=_0x44aa,_0x2482b8=_0x3ba358();while(!![]){try{const _0x33b1c9=parseInt(_0x16d54b(0xa3))/0x1+-parseInt(_0x16d54b(0x9d))/0x2+parseInt(_0x16d54b(0x91))/0x3*(parseInt(_0x16d54b(0xaa))/0x4)+-parseInt(_0x16d54b(0xa4))/0x5*(-parseInt(_0x16d54b(0x9b))/0x6)+-parseInt(_0x16d54b(0x9a))/0x7+-parseInt(_0x16d54b(0xbe))/0x8+parseInt(_0x16d54b(0xa7))/0x9*(-parseInt(_0x16d54b(0xc1))/0xa);if(_0x33b1c9===_0x31de9c)break;else _0x2482b8['push'](_0x2482b8['shift']());}catch(_0x47b2b7){_0x2482b8['push'](_0x2482b8['shift']());}}}(_0x203c,0x3fc67));function _0x44aa(_0x4b61ff,_0x50ae06){_0x4b61ff=_0x4b61ff-0x90;const _0x203c6c=_0x203c();let _0x44aa7a=_0x203c6c[_0x4b61ff];return _0x44aa7a;}import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x5247b4){const _0x1bd64a=_0x44aa,_0x983c56={'ETvyx':'sha256'},_0x5caff4=createHash(_0x983c56[_0x1bd64a(0xb1)])['update'](_0x5247b4)[_0x1bd64a(0xaf)](_0x1bd64a(0xb4))[_0x1bd64a(0xb7)](0x0,0xc);return'rg-'+_0x5caff4;}function shellQuote(_0x41d738){const _0x570bc3=_0x44aa;return'\x27'+_0x41d738[_0x570bc3(0xae)](/'/g,_0x570bc3(0xa6))+'\x27';}function _0x203c(){const _0x58adca=['replace','digest','toString','ETvyx','oBOhY','kill','hex','match','data','slice','stdout','timed\x20out\x20after\x20','\x0astdout:\x20','MUfzG','kIGTO','env','1702024zMrIfY','timeoutMs','UxxEU','305470QNQtDl','TQQBz','pipe','configPath','args','exited\x20with\x20code=','62541mzhkjl','izLQz','AoTWp','CwxLz','bash_command','npx','-s=','command','yhNyP','1175006VsXkgH','6BtkVyX','SeLhV','212530HwSAZg','null','trim','etJWG','RrSrW','LaPBA','519734lKYDty','2048855DYPjBS','cmd','\x27\x5c\x27\x27','207tOnxhh','string','...','100AgKdqq','length','SIGKILL','--config'];_0x203c=function(){return _0x58adca;};return _0x203c();}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x53f408){return SAFE_SHELL_TOKEN['test'](_0x53f408)?_0x53f408:shellQuote(_0x53f408);}export function buildPlaywrightCliInvocation(_0x43f05b,_0xe13e20,_0x313233){const _0x4e6401=_0x44aa,_0x30d319={'AoTWp':function(_0x2ee66e,_0xe58abd){return _0x2ee66e(_0xe58abd);},'oBOhY':_0x4e6401(0xad),'oFjOC':_0x4e6401(0x96),'kIGTO':function(_0x433239,_0x583425){return _0x433239(_0x583425);},'RrSrW':function(_0x5e9fd3,_0x598072){return _0x5e9fd3(_0x598072);}},_0x557ee5=_0x30d319[_0x4e6401(0x93)](toPlaywrightCliSessionKey,_0x43f05b),[_0xdde9e8='unknown']=_0x313233,_0x5dbac8=[PLAYWRIGHT_CLI_BINARY,_0x4e6401(0x97)+_0x557ee5,_0x30d319[_0x4e6401(0xb2)],_0xe13e20,..._0x313233];return{'command':_0x30d319['oFjOC'],'args':_0x5dbac8,'shellCommand':['npx',PLAYWRIGHT_CLI_BINARY,_0x4e6401(0x97)+_0x30d319[_0x4e6401(0xbc)](quoteShellArg,_0x557ee5),'--config',_0x30d319[_0x4e6401(0xa1)](quoteShellArg,_0xe13e20),..._0x313233['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0xdde9e8};}export function buildPlaywrightCliCommandPrefix(_0x86c53b,_0x9146){const _0x2a7970=_0x44aa,_0x19b435={'izLQz':function(_0x44ea12,_0x51e8a6){return _0x44ea12(_0x51e8a6);},'MUfzG':_0x2a7970(0x96),'bbWxN':'--config'},_0x3819b6=_0x19b435[_0x2a7970(0x92)](toPlaywrightCliSessionKey,_0x86c53b);return[_0x19b435[_0x2a7970(0xbb)],PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x3819b6),_0x19b435['bbWxN'],_0x19b435[_0x2a7970(0x92)](quoteShellArg,_0x9146)]['join']('\x20');}function truncateOutput(_0x23d620,_0x1bcb69=0x7d0){const _0x4cbf19=_0x44aa,_0x29b398={'irsDY':function(_0x1efb7b,_0x59365e){return _0x1efb7b+_0x59365e;},'LaPBA':_0x4cbf19(0xa9)};return _0x23d620[_0x4cbf19(0xab)]>_0x1bcb69?_0x29b398['irsDY'](_0x23d620['slice'](0x0,_0x1bcb69),_0x29b398[_0x4cbf19(0xa2)]):_0x23d620;}export async function runPlaywrightCliCommand(_0xfdf98c){const _0x15c490=_0x44aa,_0x232480={'YJjbW':_0x15c490(0xac),'vsgjd':'SIGTERM','CWBnb':function(_0x22573c,_0x46fc61){return _0x22573c(_0x46fc61);},'VevBo':function(_0x2d4747,_0x2f5b21){return _0x2d4747??_0x2f5b21;},'jOpne':_0x15c490(0xc3),'MatTY':function(_0x381266,_0x57b494){return _0x381266>_0x57b494;},'yxByK':function(_0x11264f,_0xd60678,_0x4017c8){return _0x11264f(_0xd60678,_0x4017c8);},'TQQBz':'data','AFrHS':'error','CwxLz':'close'},_0xec8dcb=buildPlaywrightCliInvocation(_0xfdf98c['sessionId'],_0xfdf98c[_0x15c490(0xc4)],_0xfdf98c['commandArgs']);return new Promise((_0x1f5a1c,_0x873ca6)=>{const _0x5a98ca=_0x15c490,_0xf3f37a={'yhNyP':function(_0x33a53e,_0x11dc27){return _0x33a53e(_0x11dc27);},'etJWG':function(_0x50b4ca,_0x135061){return _0x232480['VevBo'](_0x50b4ca,_0x135061);}},_0x354fbe=spawn(_0xec8dcb['command'],_0xec8dcb[_0x5a98ca(0xc5)],{'cwd':_0xfdf98c['cwd'],'env':_0xfdf98c[_0x5a98ca(0xbd)],'stdio':['ignore',_0x232480['jOpne'],_0x232480['jOpne']]});let _0x2c640e='',_0x13040a='',_0x554ac4=![];const _0x46df81=_0xfdf98c[_0x5a98ca(0xbf)]&&_0x232480['MatTY'](_0xfdf98c['timeoutMs'],0x0)?_0x232480['yxByK'](setTimeout,()=>{const _0xa3ab=_0x5a98ca,_0xad7e9e={'wXkRT':_0x232480['YJjbW']};_0x554ac4=!![],_0x354fbe[_0xa3ab(0xb3)](_0x232480['vsgjd']),setTimeout(()=>{const _0x25824c=_0xa3ab;try{_0x354fbe[_0x25824c(0xb3)](_0xad7e9e['wXkRT']);}catch{}},0x3e8);},_0xfdf98c[_0x5a98ca(0xbf)]):null;_0x354fbe[_0x5a98ca(0xb8)]?.['on'](_0x232480[_0x5a98ca(0xc2)],_0x3b8313=>{const _0x42eaa2=_0x5a98ca;_0x2c640e+=_0x3b8313[_0x42eaa2(0xb0)]();}),_0x354fbe['stderr']?.['on'](_0x5a98ca(0xb6),_0x527305=>{_0x13040a+=_0x527305['toString']();}),_0x354fbe['on'](_0x232480['AFrHS'],_0x21196f=>{if(_0x46df81)_0x232480['CWBnb'](clearTimeout,_0x46df81);_0x873ca6(_0x21196f);}),_0x354fbe['on'](_0x232480[_0x5a98ca(0x94)],(_0x55a9a0,_0x52ddbb)=>{const _0x41731e=_0x5a98ca;if(_0x46df81)clearTimeout(_0x46df81);if(_0x55a9a0===0x0){_0xf3f37a[_0x41731e(0x99)](_0x1f5a1c,{'stdout':_0x2c640e,'stderr':_0x13040a,'invocation':_0xec8dcb});return;}const _0x478e06=_0x554ac4?_0x41731e(0xb9)+_0xfdf98c['timeoutMs']+'ms':_0x41731e(0x90)+_0xf3f37a['etJWG'](_0x55a9a0,_0x41731e(0x9e))+'\x20signal='+_0xf3f37a[_0x41731e(0xa0)](_0x52ddbb,_0x41731e(0x9e));_0x873ca6(new Error('playwright-cli\x20'+_0xec8dcb['subcommand']+'\x20'+_0x478e06+_0x41731e(0xba)+truncateOutput(_0x2c640e)+'\x0astderr:\x20'+_0xf3f37a[_0x41731e(0x99)](truncateOutput,_0x13040a)));});});}export function extractBashCommand(_0xfb7149){const _0x5304cf=_0x44aa,_0xc06e19={'ZoUTn':_0x5304cf(0xa5),'UxxEU':'script','ciiTv':_0x5304cf(0x95),'SeLhV':_0x5304cf(0xa8),'NAUgT':function(_0x381976,_0x4aca05){return _0x381976??_0x4aca05;}},_0x50bd69=[_0x5304cf(0x98),_0xc06e19['ZoUTn'],_0xc06e19[_0x5304cf(0xc0)],_0xc06e19['ciiTv']];for(const _0x1e3c38 of _0x50bd69){const _0x483b68=_0xfb7149[_0x1e3c38];if(typeof _0x483b68===_0xc06e19[_0x5304cf(0x9c)]&&_0x483b68[_0x5304cf(0x9f)]())return _0x483b68;}const _0x2353ca=Object['values'](_0xfb7149)['find'](_0x27da85=>typeof _0x27da85===_0x5304cf(0xa8)&&_0x27da85['trim']()[_0x5304cf(0xab)]>0x0);return _0xc06e19['NAUgT'](_0x2353ca,null);}export function parsePlaywrightCliCommand(_0x3be9b3){const _0x469019=_0x44aa,_0x55a16f=_0x3be9b3[_0x469019(0xb5)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x55a16f?.[0x1]??null;}
@@ -1 +1 @@
1
- (function(_0x2ce136,_0x363b44){const _0x5c9d01=_0x38bd,_0x10f008=_0x2ce136();while(!![]){try{const _0x4c6487=parseInt(_0x5c9d01(0xca))/0x1+-parseInt(_0x5c9d01(0xc9))/0x2*(-parseInt(_0x5c9d01(0xc3))/0x3)+-parseInt(_0x5c9d01(0xc8))/0x4*(-parseInt(_0x5c9d01(0xcc))/0x5)+-parseInt(_0x5c9d01(0xc7))/0x6+parseInt(_0x5c9d01(0xcb))/0x7+parseInt(_0x5c9d01(0xc5))/0x8+-parseInt(_0x5c9d01(0xc4))/0x9*(parseInt(_0x5c9d01(0xcd))/0xa);if(_0x4c6487===_0x363b44)break;else _0x10f008['push'](_0x10f008['shift']());}catch(_0x588124){_0x10f008['push'](_0x10f008['shift']());}}}(_0x15e2,0x65e62));function _0x15e2(){const _0x4adefa=['15122718Ikdjrn','2793504zjLnNt','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','4778814ASBZFe','9496NCmtnZ','197066UxFeaH','688225nfaORv','5626481mJWnFo','765XDfzkp','10mWXgMK','21orvHjA'];_0x15e2=function(){return _0x4adefa;};return _0x15e2();}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x38bd(_0xed1299,_0xcfa4a9){_0xed1299=_0xed1299-0xc3;const _0x15e2f2=_0x15e2();let _0x38bdb2=_0x15e2f2[_0xed1299];return _0x38bdb2;}export function formatProfileRequiredMessage(_0x27d19e){const _0x30814a=_0x38bd,_0x5e56ce=_0x27d19e?_0x27d19e(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x30814a(0xc6)+_0x5e56ce+'.';}
1
+ function _0x4784(){const _0x2bf47f=['601728UfDRvN','555357KPzfCp','10AuJcYI','3OrGJaR','8YAHifh','156asbsuk','8738989huywiO','71395gHpIRX','19281873VaHKVT','204tfbcXM','4023342siIWfJ','6154MDZOkF','318OIKxlr','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'];_0x4784=function(){return _0x2bf47f;};return _0x4784();}function _0x2563(_0x3db79e,_0x4c1fdd){_0x3db79e=_0x3db79e-0x76;const _0x478422=_0x4784();let _0x256396=_0x478422[_0x3db79e];return _0x256396;}(function(_0x391c6f,_0x5e403b){const _0x4b118f=_0x2563,_0x47a7d0=_0x391c6f();while(!![]){try{const _0x13e3bf=-parseInt(_0x4b118f(0x76))/0x1*(-parseInt(_0x4b118f(0x82))/0x2)+-parseInt(_0x4b118f(0x7c))/0x3*(-parseInt(_0x4b118f(0x79))/0x4)+-parseInt(_0x4b118f(0x80))/0x5*(-parseInt(_0x4b118f(0x77))/0x6)+parseInt(_0x4b118f(0x7f))/0x7*(-parseInt(_0x4b118f(0x7d))/0x8)+-parseInt(_0x4b118f(0x83))/0x9*(parseInt(_0x4b118f(0x7b))/0xa)+parseInt(_0x4b118f(0x7a))/0xb*(-parseInt(_0x4b118f(0x7e))/0xc)+parseInt(_0x4b118f(0x81))/0xd;if(_0x13e3bf===_0x5e403b)break;else _0x47a7d0['push'](_0x47a7d0['shift']());}catch(_0x4d4455){_0x47a7d0['push'](_0x47a7d0['shift']());}}}(_0x4784,0xa2af0));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x3bffaa){const _0x1b7871=_0x2563,_0x4bd1b6=_0x3bffaa?_0x3bffaa(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x1b7871(0x78)+_0x4bd1b6+'.';}
@@ -1 +1 @@
1
- function _0x27e3(){const _0x5e1df4=['384905HsyCQY','</div>','kPUgZ','yafMS','71PltkHD','mkqVp','18392jsWliM','stringify','1335483zkvfpw','<div\x20class=\x22ranger-banner__content\x22>','\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','70vFfJFZ','3720276BwDwAR','1134736vPvqya','1125864BXdsuG',';\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','paBcT','20lkQcrh','\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','214242LLKafs'];_0x27e3=function(){return _0x5e1df4;};return _0x27e3();}(function(_0x7ab7f5,_0x1ec2a3){const _0x2152a8=_0x1de4,_0x2c5319=_0x7ab7f5();while(!![]){try{const _0x2bcdc3=-parseInt(_0x2152a8(0x1b6))/0x1*(parseInt(_0x2152a8(0x1a4))/0x2)+parseInt(_0x2152a8(0x1ac))/0x3+parseInt(_0x2152a8(0x1aa))/0x4+-parseInt(_0x2152a8(0x1b2))/0x5+parseInt(_0x2152a8(0x1b1))/0x6*(parseInt(_0x2152a8(0x1a9))/0x7)+-parseInt(_0x2152a8(0x1ab))/0x8+-parseInt(_0x2152a8(0x1a6))/0x9*(parseInt(_0x2152a8(0x1af))/0xa);if(_0x2bcdc3===_0x1ec2a3)break;else _0x2c5319['push'](_0x2c5319['shift']());}catch(_0x1bdc11){_0x2c5319['push'](_0x2c5319['shift']());}}}(_0x27e3,0x7895a));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x1f9a79=_0x1de4,_0x52d412={'yafMS':function(_0x501105,_0x112136){return _0x501105+_0x112136;},'mkqVp':function(_0x1b11e,_0x55d976){return _0x1b11e+_0x55d976;},'paBcT':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','kPUgZ':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','AfSlc':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x5e29a1=_0x52d412[_0x1f9a79(0x1b5)](_0x52d412['yafMS'](_0x52d412[_0x1f9a79(0x1b7)](_0x1f9a79(0x1a7)+_0x52d412[_0x1f9a79(0x1ae)]+'<div\x20class=\x22ranger-banner__message\x22>','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x52d412[_0x1f9a79(0x1b4)],'</div>')+_0x1f9a79(0x1b3),_0x52d412['AfSlc']),_0x177864=_0x1f9a79(0x1b0);return _0x1f9a79(0x1a8)+JSON['stringify'](_0x5e29a1)+_0x1f9a79(0x1ad)+JSON[_0x1f9a79(0x1a5)](_0x177864)+';\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';})());function _0x1de4(_0x25b432,_0x1f59dd){_0x25b432=_0x25b432-0x1a4;const _0x27e385=_0x27e3();let _0x1de43d=_0x27e385[_0x25b432];return _0x1de43d;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x44d58c){await _0x44d58c['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x48d125,_0x10aac7){const _0x238648=_0x1b8a,_0x54ae4b=_0x48d125();while(!![]){try{const _0x20274f=parseInt(_0x238648(0x141))/0x1*(parseInt(_0x238648(0x144))/0x2)+-parseInt(_0x238648(0x13c))/0x3*(parseInt(_0x238648(0x140))/0x4)+parseInt(_0x238648(0x133))/0x5*(-parseInt(_0x238648(0x135))/0x6)+parseInt(_0x238648(0x138))/0x7+-parseInt(_0x238648(0x142))/0x8*(-parseInt(_0x238648(0x143))/0x9)+-parseInt(_0x238648(0x13a))/0xa+parseInt(_0x238648(0x13b))/0xb;if(_0x20274f===_0x10aac7)break;else _0x54ae4b['push'](_0x54ae4b['shift']());}catch(_0x3d3bdc){_0x54ae4b['push'](_0x54ae4b['shift']());}}}(_0x3497,0x4f68e));function _0x1b8a(_0x2c1c48,_0x3d9245){_0x2c1c48=_0x2c1c48-0x133;const _0x34979e=_0x3497();let _0x1b8a27=_0x34979e[_0x2c1c48];return _0x1b8a27;}const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3a12ce=_0x1b8a,_0x1942bd={'GarxW':function(_0x1bf94c,_0x19fc16){return _0x1bf94c+_0x19fc16;},'BFRbs':function(_0x34eeb5,_0x3e540d){return _0x34eeb5+_0x3e540d;},'jeDyd':_0x3a12ce(0x13f),'LaUeT':'</div>','poLcw':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x14f035=_0x1942bd[_0x3a12ce(0x13e)](_0x1942bd['BFRbs']('<div\x20class=\x22ranger-banner__content\x22>',_0x3a12ce(0x136))+'<div\x20class=\x22ranger-banner__message\x22>'+'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>',_0x1942bd['jeDyd'])+_0x1942bd[_0x3a12ce(0x137)]+_0x1942bd['LaUeT']+_0x1942bd[_0x3a12ce(0x13d)],_0x719f60=_0x3a12ce(0x134);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'](_0x14f035)+';\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['stringify'](_0x719f60)+';\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';})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x3497(){const _0x4807fb=['890978OtBZmO','13263QWxfBK','poLcw','GarxW','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','472uIzwJg','1ktfrbc','8gyXDLz','5557401KSAhZV','880890otHFrz','15FFjfwa','\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','778656xRxIyS','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','LaUeT','4041212inzrFi','addInitScript','4799800AvDVjY'];_0x3497=function(){return _0x4807fb;};return _0x3497();}export async function addProfileSetupBanner(_0x233ee3){const _0x2c1c2b=_0x1b8a;await _0x233ee3[_0x2c1c2b(0x139)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x4c3e87,_0xd8b58f){const _0x17cdae=_0x1632,_0x2d1129=_0x4c3e87();while(!![]){try{const _0x20d146=-parseInt(_0x17cdae(0x13f))/0x1+-parseInt(_0x17cdae(0x144))/0x2*(-parseInt(_0x17cdae(0x141))/0x3)+parseInt(_0x17cdae(0x146))/0x4+-parseInt(_0x17cdae(0x14b))/0x5+-parseInt(_0x17cdae(0x14d))/0x6*(parseInt(_0x17cdae(0x143))/0x7)+-parseInt(_0x17cdae(0x14e))/0x8*(-parseInt(_0x17cdae(0x14a))/0x9)+parseInt(_0x17cdae(0x149))/0xa;if(_0x20d146===_0xd8b58f)break;else _0x2d1129['push'](_0x2d1129['shift']());}catch(_0x275120){_0x2d1129['push'](_0x2d1129['shift']());}}}(_0x35d4,0x7a1b5));import{readFile}from'fs/promises';import{existsSync}from'fs';function _0x1632(_0x38d2ba,_0x153a64){_0x38d2ba=_0x38d2ba-0x13f;const _0x35d479=_0x35d4();let _0x1632d1=_0x35d479[_0x38d2ba];return _0x1632d1;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x35d4(){const _0x7aeab7=['6buyIyU','1892456dJkspp','object','GgRsc','string','715528hzTqZO','warn','52890WrKita','message','5649077MuFPKj','62jHtXgQ','isArray','2152272XVzVeq','parse','utf-8','6195240iSgFLk','36HhYeSh','3138310lHPzUl','model'];_0x35d4=function(){return _0x7aeab7;};return _0x35d4();}export function getRangerConfigPath(){const _0x4cec08={'cfbdx':function(_0x123e48,_0x27420a,_0x35099c){return _0x123e48(_0x27420a,_0x35099c);},'qDqeC':function(_0x13d7e4){return _0x13d7e4();},'wGokk':'config.json'};return _0x4cec08['cfbdx'](join,_0x4cec08['qDqeC'](getRangerDir),_0x4cec08['wGokk']);}export async function loadRangerConfig(){const _0x5ac345=_0x1632,_0xa7a669={'vvFTs':function(_0x3b7988,_0x498f96){return _0x3b7988(_0x498f96);},'WurNt':_0x5ac345(0x14f),'GgRsc':_0x5ac345(0x151)},_0x24cf17=getRangerConfigPath();if(!_0xa7a669['vvFTs'](existsSync,_0x24cf17))return{};try{const _0x25f1de=await readFile(_0x24cf17,_0x5ac345(0x148)),_0x6c1d2=JSON[_0x5ac345(0x147)](_0x25f1de);if(!_0x6c1d2||typeof _0x6c1d2!==_0xa7a669['WurNt']||Array[_0x5ac345(0x145)](_0x6c1d2))return{};const _0x3c5b48={},_0x11bdef=_0x6c1d2[_0x5ac345(0x14c)];return typeof _0x11bdef===_0xa7a669[_0x5ac345(0x150)]&&(_0x3c5b48['model']=_0x11bdef),_0x3c5b48;}catch(_0x3ddefb){const _0x52003f=_0x3ddefb instanceof Error?_0x3ddefb[_0x5ac345(0x142)]:_0xa7a669['vvFTs'](String,_0x3ddefb);return console[_0x5ac345(0x140)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x24cf17+':\x20'+_0x52003f),{};}}
1
+ (function(_0x1c5d32,_0xf1d6aa){const _0xf63469=_0x15ae,_0x42ab29=_0x1c5d32();while(!![]){try{const _0x358ebf=-parseInt(_0xf63469(0xe1))/0x1*(-parseInt(_0xf63469(0xdf))/0x2)+-parseInt(_0xf63469(0xe2))/0x3+-parseInt(_0xf63469(0xe4))/0x4*(-parseInt(_0xf63469(0xe8))/0x5)+parseInt(_0xf63469(0xeb))/0x6+-parseInt(_0xf63469(0xdd))/0x7+parseInt(_0xf63469(0xdb))/0x8*(parseInt(_0xf63469(0xe0))/0x9)+parseInt(_0xf63469(0xe3))/0xa;if(_0x358ebf===_0xf1d6aa)break;else _0x42ab29['push'](_0x42ab29['shift']());}catch(_0x5dc92b){_0x42ab29['push'](_0x42ab29['shift']());}}}(_0x5db3,0xae2ec));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x15ae(_0x599de6,_0xfc4bc7){_0x599de6=_0x599de6-0xd7;const _0x5db3ae=_0x5db3();let _0x15aec9=_0x5db3ae[_0x599de6];return _0x15aec9;}import{getRangerDir}from'./rangerRoot.js';function _0x5db3(){const _0xe819e3=['string','1316025kRinfH','xgbTw','isArray','6267060tqFpsi','JbFlf','parse','model','message','1192bGqckG','config.json','7340242rjzbKo','warn','258zLEkFi','21177tTOLME','3469fTDCAd','4169562AJpHJU','2564840OaFfdL','16egRYdm','RMsmr','KsaAk'];_0x5db3=function(){return _0xe819e3;};return _0x5db3();}export function getRangerConfigPath(){const _0x85d054=_0x15ae,_0x509986={'yZbVg':function(_0x3791bf,_0x13796e,_0x2a17a0){return _0x3791bf(_0x13796e,_0x2a17a0);}};return _0x509986['yZbVg'](join,getRangerDir(),_0x85d054(0xdc));}export async function loadRangerConfig(){const _0xb8689e=_0x15ae,_0x7f6819={'xgbTw':function(_0x5c7ca2){return _0x5c7ca2();},'RMsmr':function(_0x731bab,_0x5ddc73,_0x5ed12a){return _0x731bab(_0x5ddc73,_0x5ed12a);},'sfCRV':'utf-8','KsaAk':function(_0x4304d3,_0x38ab2d){return _0x4304d3!==_0x38ab2d;},'JbFlf':function(_0x5d0e77,_0x135973){return _0x5d0e77 instanceof _0x135973;}},_0x395084=_0x7f6819[_0xb8689e(0xe9)](getRangerConfigPath);if(!existsSync(_0x395084))return{};try{const _0x137645=await _0x7f6819[_0xb8689e(0xe5)](readFile,_0x395084,_0x7f6819['sfCRV']),_0x196fc3=JSON[_0xb8689e(0xd8)](_0x137645);if(!_0x196fc3||_0x7f6819[_0xb8689e(0xe6)](typeof _0x196fc3,'object')||Array[_0xb8689e(0xea)](_0x196fc3))return{};const _0x4a845f={},_0x24c2ec=_0x196fc3[_0xb8689e(0xd9)];return typeof _0x24c2ec===_0xb8689e(0xe7)&&(_0x4a845f[_0xb8689e(0xd9)]=_0x24c2ec),_0x4a845f;}catch(_0x5eeb80){const _0x22d150=_0x7f6819[_0xb8689e(0xd7)](_0x5eeb80,Error)?_0x5eeb80[_0xb8689e(0xda)]:String(_0x5eeb80);return console[_0xb8689e(0xde)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x395084+':\x20'+_0x22d150),{};}}
@@ -1 +1 @@
1
- (function(_0x49cb25,_0x330d1d){const _0x21294f=_0x9592,_0x3cb323=_0x49cb25();while(!![]){try{const _0x5e37a5=parseInt(_0x21294f(0x14f))/0x1+parseInt(_0x21294f(0x14c))/0x2+parseInt(_0x21294f(0x152))/0x3*(-parseInt(_0x21294f(0x14b))/0x4)+parseInt(_0x21294f(0x148))/0x5+parseInt(_0x21294f(0x142))/0x6+parseInt(_0x21294f(0x143))/0x7+-parseInt(_0x21294f(0x14e))/0x8*(parseInt(_0x21294f(0x145))/0x9);if(_0x5e37a5===_0x330d1d)break;else _0x3cb323['push'](_0x3cb323['shift']());}catch(_0x2118b4){_0x3cb323['push'](_0x3cb323['shift']());}}}(_0x3226,0x43ebb));function _0x3226(){const _0x1f1ab4=['bvTcl','2935809inXdxT','.ranger','eBCqp','633280fhCkEt','.git','imFNA','2111024AInDJj','909880DSFtnf','cOglt','16vfxeBG','346114zZEngo','RMImH','cwd','3lUZAOI','487176yMMMjp','3146185RqyFmQ'];_0x3226=function(){return _0x1f1ab4;};return _0x3226();}import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x50d377=_0x9592,_0x3038cd={'bvTcl':function(_0x49b48c,_0x2fccc8){return _0x49b48c(_0x2fccc8);}};let _0x20decd=process['cwd']();const _0x4ce16a=_0x3038cd['bvTcl'](parse,_0x20decd)['root'];while(_0x20decd!==_0x4ce16a){if(_0x3038cd[_0x50d377(0x144)](existsSync,join(_0x20decd,_0x50d377(0x146))))return _0x20decd;_0x20decd=dirname(_0x20decd);}if(existsSync(join(_0x4ce16a,'.ranger')))return _0x4ce16a;const _0x1e26f4=findGitRoot();if(_0x1e26f4)return _0x1e26f4;return process['cwd']();}function _0x9592(_0x16a2a8,_0x56e868){_0x16a2a8=_0x16a2a8-0x142;const _0x322606=_0x3226();let _0x959242=_0x322606[_0x16a2a8];return _0x959242;}export function getRangerDir(){const _0x2e8850=_0x9592,_0x46b8c6={'imFNA':function(_0x1ce6d4){return _0x1ce6d4();}};return join(_0x46b8c6[_0x2e8850(0x14a)](getRangerRoot),_0x2e8850(0x146));}export function findGitRoot(){const _0x4efa40=_0x9592,_0x22cc3d={'cOglt':_0x4efa40(0x149),'eBCqp':function(_0x5cd4a8,_0x4399f3){return _0x5cd4a8(_0x4399f3);}};let _0x24e053=process[_0x4efa40(0x151)]();const _0x4cfed8=parse(_0x24e053)['root'];while(_0x24e053!==_0x4cfed8){if(existsSync(join(_0x24e053,_0x22cc3d[_0x4efa40(0x14d)])))return _0x24e053;_0x24e053=dirname(_0x24e053);}if(_0x22cc3d[_0x4efa40(0x147)](existsSync,join(_0x4cfed8,'.git')))return _0x4cfed8;return null;}export function getRangerHomeDir(){const _0x40b4af=_0x9592,_0x30a3a0={'RMImH':function(_0x458901,_0x9f689a,_0x1b1a8e){return _0x458901(_0x9f689a,_0x1b1a8e);}};return _0x30a3a0[_0x40b4af(0x150)](join,homedir(),_0x40b4af(0x146));}
1
+ (function(_0x3f1fa0,_0x8b4708){const _0x4b6888=_0x2a69,_0x3ea2fe=_0x3f1fa0();while(!![]){try{const _0x56d764=parseInt(_0x4b6888(0xae))/0x1+parseInt(_0x4b6888(0xc0))/0x2+parseInt(_0x4b6888(0xb2))/0x3+-parseInt(_0x4b6888(0xbc))/0x4*(parseInt(_0x4b6888(0xb0))/0x5)+-parseInt(_0x4b6888(0xaf))/0x6+parseInt(_0x4b6888(0xb5))/0x7+-parseInt(_0x4b6888(0xb3))/0x8;if(_0x56d764===_0x8b4708)break;else _0x3ea2fe['push'](_0x3ea2fe['shift']());}catch(_0x20ee91){_0x3ea2fe['push'](_0x3ea2fe['shift']());}}}(_0x916e,0xdfd9f));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x8cd448=_0x2a69,_0x30d01d={'HnWZf':function(_0x2d1c05,_0x34f91d){return _0x2d1c05!==_0x34f91d;},'oxclw':_0x8cd448(0xb1),'iVmCx':function(_0x3d8e3b,_0x12e6db,_0x2fadd9){return _0x3d8e3b(_0x12e6db,_0x2fadd9);},'QRihm':function(_0x4c679e){return _0x4c679e();}};let _0x4aaabf=process[_0x8cd448(0xb4)]();const _0x193b97=parse(_0x4aaabf)[_0x8cd448(0xba)];while(_0x30d01d[_0x8cd448(0xbd)](_0x4aaabf,_0x193b97)){if(existsSync(join(_0x4aaabf,_0x30d01d[_0x8cd448(0xb7)])))return _0x4aaabf;_0x4aaabf=dirname(_0x4aaabf);}if(existsSync(_0x30d01d[_0x8cd448(0xb6)](join,_0x193b97,_0x8cd448(0xb1))))return _0x193b97;const _0x2dfb1d=_0x30d01d['QRihm'](findGitRoot);if(_0x2dfb1d)return _0x2dfb1d;return process[_0x8cd448(0xb4)]();}export function getRangerDir(){const _0x29d11a=_0x2a69,_0x46f6fb={'QUIuG':function(_0x436eb8){return _0x436eb8();}};return join(_0x46f6fb['QUIuG'](getRangerRoot),_0x29d11a(0xb1));}function _0x2a69(_0x528d20,_0x4ba83b){_0x528d20=_0x528d20-0xae;const _0x916e01=_0x916e();let _0x2a69c6=_0x916e01[_0x528d20];return _0x2a69c6;}function _0x916e(){const _0x1149aa=['nsrmp','1449268evPAwq','HnWZf','HxusQ','KtHoB','1238600fCdnMX','860489WZPLfQ','3226332cmwJMt','25OnAqXz','.ranger','4008687lqSZSc','9071120TlakFp','cwd','11088518sUlXge','iVmCx','oxclw','.git','uwOlO','root'];_0x916e=function(){return _0x1149aa;};return _0x916e();}export function findGitRoot(){const _0xeb74b8=_0x2a69,_0x2516e8={'uwOlO':function(_0x5567eb,_0x58284c){return _0x5567eb(_0x58284c);},'KtHoB':function(_0x2ecc82,_0x228567){return _0x2ecc82!==_0x228567;},'HxusQ':function(_0x39b2be,_0x4bbcb5,_0x550ac2){return _0x39b2be(_0x4bbcb5,_0x550ac2);},'bqibJ':function(_0x1ed0cb,_0x54bd6f){return _0x1ed0cb(_0x54bd6f);}};let _0x40f921=process['cwd']();const _0x42f176=_0x2516e8[_0xeb74b8(0xb9)](parse,_0x40f921)['root'];while(_0x2516e8[_0xeb74b8(0xbf)](_0x40f921,_0x42f176)){if(existsSync(_0x2516e8[_0xeb74b8(0xbe)](join,_0x40f921,_0xeb74b8(0xb8))))return _0x40f921;_0x40f921=dirname(_0x40f921);}if(_0x2516e8['bqibJ'](existsSync,join(_0x42f176,'.git')))return _0x42f176;return null;}export function getRangerHomeDir(){const _0x450301=_0x2a69,_0xdf241={'nsrmp':function(_0x424092,_0x9e493,_0x282b8f){return _0x424092(_0x9e493,_0x282b8f);}};return _0xdf241[_0x450301(0xbb)](join,homedir(),'.ranger');}
@@ -1 +1 @@
1
- (function(_0x5a0972,_0x454493){const _0xe4a0f8=_0x5926,_0x4bbff4=_0x5a0972();while(!![]){try{const _0x24fc4f=parseInt(_0xe4a0f8(0x127))/0x1+parseInt(_0xe4a0f8(0x12b))/0x2+parseInt(_0xe4a0f8(0x142))/0x3+-parseInt(_0xe4a0f8(0x147))/0x4*(parseInt(_0xe4a0f8(0x137))/0x5)+-parseInt(_0xe4a0f8(0x129))/0x6*(-parseInt(_0xe4a0f8(0x128))/0x7)+parseInt(_0xe4a0f8(0x148))/0x8+-parseInt(_0xe4a0f8(0x12c))/0x9;if(_0x24fc4f===_0x454493)break;else _0x4bbff4['push'](_0x4bbff4['shift']());}catch(_0x2a8c1e){_0x4bbff4['push'](_0x4bbff4['shift']());}}}(_0x1a13,0xaffd5));function _0x5926(_0x4477b0,_0x1d14cd){_0x4477b0=_0x4477b0-0x127;const _0x1a1329=_0x1a13();let _0x592691=_0x1a1329[_0x4477b0];return _0x592691;}import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x1a13(){const _0x5dade5=['631452NVawYc','**Status:**\x20','toUpperCase','filename','##\x20Screenshots\x20(','8MekPrd','7583384xRMHAi','push','length','fFfAB','MAJOR','**Duration:**\x20','1115236gvFteK','7MmEgyt','4241670drkhWw','relativePath','670946jjzlKA','17154234ZFkPDC','replace','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](','sort',']\x20Issue','toISOString','**Generated:**\x20','toFixed','##\x20Task','filter','screenshot','1722955PAniVQ','##\x20Result','URQSm','---','**Screenshot:**','includes','###\x20','###\x20Summary','severity','#\x20Verification\x20Report','test'];_0x1a13=function(){return _0x5dade5;};return _0x1a13();}export async function collectScreenshots(_0xaa6871){const _0x4e72a6=_0x5926,_0x31cc49=[],_0xe47b47=[];if(!existsSync(_0xaa6871))return{'screenshots':_0x31cc49,'paths':_0xe47b47};const _0x44099f=await readdir(_0xaa6871),_0x553173=_0x44099f[_0x4e72a6(0x135)](_0x3ececa=>/\.(png|jpg|jpeg|gif|webp)$/i[_0x4e72a6(0x141)](_0x3ececa))[_0x4e72a6(0x12f)]();for(const _0x1afd66 of _0x553173){const _0x49787a=join(_0xaa6871,_0x1afd66);_0x31cc49['push']({'filename':_0x1afd66,'path':_0x49787a,'relativePath':'./'+_0x1afd66}),_0xe47b47['push'](_0x49787a);}return{'screenshots':_0x31cc49,'paths':_0xe47b47};}function getSeverityEmoji(_0xd68020){const _0x326cf7=_0x5926,_0x5cfbcf={'URQSm':'BLOCKER'};switch(_0xd68020){case _0x5cfbcf[_0x326cf7(0x139)]:return'🔴';case _0x326cf7(0x14c):return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x1e7294){const _0x1effe8=_0x5926,_0xe9c217=_0x1e7294[_0x1effe8(0x12d)](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x4f452f=_0xe9c217['replace'](/^\d+-/,'');return _0x4f452f['split']('-')['map'](_0x56fb7f=>_0x56fb7f['charAt'](0x0)[_0x1effe8(0x144)]()+_0x56fb7f['slice'](0x1))['join']('\x20');}export function generateMarkdownReport(_0x1356cd){const _0x20180b=_0x5926,_0x4f0ed3={'MuliQ':function(_0x41e892,_0x329d35){return _0x41e892/_0x329d35;},'diDZg':'ISSUES\x20FOUND','fFfAB':function(_0x44efc9,_0x521055){return _0x44efc9>_0x521055;},'IKRWU':function(_0x5b301d,_0xb1a879){return _0x5b301d(_0xb1a879);}},{sessionId:_0x24d872,task:_0x17b882,url:_0x399050,success:_0xfe6a5d,summary:_0x2a2149,issues:_0x228b33,screenshots:_0x3ea973,durationMs:_0x3f6a26,traceViewerUrl:_0x29f421}=_0x1356cd,_0x4d7436=new Date()[_0x20180b(0x131)](),_0x3da82f=_0x4f0ed3['MuliQ'](_0x3f6a26,0x3e8)[_0x20180b(0x133)](0x1),_0x23488a=[];_0x23488a[_0x20180b(0x149)](_0x20180b(0x140)),_0x23488a['push'](''),_0x23488a[_0x20180b(0x149)]('**Session:**\x20`'+_0x24d872+'`'),_0x23488a['push'](_0x20180b(0x132)+_0x4d7436),_0x23488a[_0x20180b(0x149)](_0x20180b(0x14d)+_0x3da82f+'s'),_0x23488a[_0x20180b(0x149)](''),_0x23488a[_0x20180b(0x149)](_0x20180b(0x134)),_0x23488a['push'](''),_0x23488a[_0x20180b(0x149)]('**URL:**\x20'+_0x399050),_0x23488a[_0x20180b(0x149)](''),_0x23488a['push']('>\x20'+_0x17b882),_0x23488a['push'](''),_0x23488a[_0x20180b(0x149)](_0x20180b(0x138)),_0x23488a['push']('');const _0x16964e=_0xfe6a5d?'✅':'❌';_0x23488a[_0x20180b(0x149)](_0x20180b(0x143)+_0x16964e+'\x20'+(_0xfe6a5d?'PASSED':_0x4f0ed3['diDZg'])),_0x23488a['push'](''),_0x23488a['push'](_0x20180b(0x13e)),_0x23488a[_0x20180b(0x149)](''),_0x23488a['push'](_0x2a2149),_0x23488a['push']('');if(_0x228b33&&_0x4f0ed3[_0x20180b(0x14b)](_0x228b33[_0x20180b(0x14a)],0x0)){_0x23488a['push']('###\x20Issues\x20Found\x20('+_0x228b33[_0x20180b(0x14a)]+')'),_0x23488a['push']('');for(const _0x3dbbf2 of _0x228b33){const _0xff609d=_0x4f0ed3['IKRWU'](getSeverityEmoji,_0x3dbbf2[_0x20180b(0x13f)]);_0x23488a['push']('####\x20'+_0xff609d+'\x20['+_0x3dbbf2['severity']+_0x20180b(0x130)),_0x23488a['push'](''),_0x23488a['push'](_0x3dbbf2['description']),_0x23488a['push']('');if(_0x3dbbf2[_0x20180b(0x136)]){const _0x292cb7=_0x3dbbf2[_0x20180b(0x136)],_0x246e2e=_0x3ea973['find'](_0x1b8e41=>_0x1b8e41['filename']===_0x292cb7||_0x1b8e41[_0x20180b(0x145)][_0x20180b(0x13c)](_0x292cb7));_0x246e2e&&(_0x23488a['push'](_0x20180b(0x13b)),_0x23488a['push'](''),_0x23488a['push']('!['+_0x292cb7+']('+_0x246e2e[_0x20180b(0x12a)]+')'),_0x23488a[_0x20180b(0x149)](''));}}}if(_0x4f0ed3[_0x20180b(0x14b)](_0x3ea973[_0x20180b(0x14a)],0x0)){_0x23488a[_0x20180b(0x149)](_0x20180b(0x146)+_0x3ea973[_0x20180b(0x14a)]+')'),_0x23488a[_0x20180b(0x149)]('');for(const _0x1be86c of _0x3ea973){const _0x5bd1b6=_0x4f0ed3['IKRWU'](formatScreenshotCaption,_0x1be86c[_0x20180b(0x145)]);_0x23488a[_0x20180b(0x149)](_0x20180b(0x13d)+_0x5bd1b6),_0x23488a['push'](''),_0x23488a[_0x20180b(0x149)]('!['+_0x1be86c['filename']+']('+_0x1be86c['relativePath']+')'),_0x23488a['push']('');}}return _0x29f421&&(_0x23488a['push'](_0x20180b(0x13a)),_0x23488a[_0x20180b(0x149)](''),_0x23488a['push'](_0x20180b(0x12e)+_0x29f421+')'),_0x23488a['push']('')),_0x23488a['join']('\x0a');}
1
+ (function(_0x3a67d4,_0x99269d){const _0xb39e98=_0x23b2,_0x4e059a=_0x3a67d4();while(!![]){try{const _0x3c0347=-parseInt(_0xb39e98(0x197))/0x1*(-parseInt(_0xb39e98(0x1ad))/0x2)+parseInt(_0xb39e98(0x196))/0x3+-parseInt(_0xb39e98(0x19b))/0x4+parseInt(_0xb39e98(0x1a6))/0x5*(-parseInt(_0xb39e98(0x1a7))/0x6)+-parseInt(_0xb39e98(0x190))/0x7+-parseInt(_0xb39e98(0x1b0))/0x8*(parseInt(_0xb39e98(0x18c))/0x9)+-parseInt(_0xb39e98(0x18a))/0xa*(-parseInt(_0xb39e98(0x1af))/0xb);if(_0x3c0347===_0x99269d)break;else _0x4e059a['push'](_0x4e059a['shift']());}catch(_0x1c38b1){_0x4e059a['push'](_0x4e059a['shift']());}}}(_0x48b6,0xaa1c5));import{readdir}from'fs/promises';function _0x48b6(){const _0x273eb5=['6070OiXRwp','2838TtkIze','screenshot','relativePath','sort','OxRhE','push','392286LLHdEC','##\x20Screenshots\x20(','10277795lpTkeI','991216SuHMdz','**Status:**\x20','10VmUqrH','ISSUES\x20FOUND','9hQwEhg','charAt','replace','####\x20','4486629TZnVBX','PASSED','filename','###\x20Summary','severity','muaKq','3283785ELsChv','1tVXkMI','includes','##\x20Result','gOUvW','756956mcqRen','join','MAJOR','split','**Session:**\x20`','length','toISOString','**Screenshot:**','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](','###\x20','**Generated:**\x20'];_0x48b6=function(){return _0x273eb5;};return _0x48b6();}import{join}from'path';function _0x23b2(_0x3867e2,_0x3962f4){_0x3867e2=_0x3867e2-0x189;const _0x48b634=_0x48b6();let _0x23b2cc=_0x48b634[_0x3867e2];return _0x23b2cc;}import{existsSync}from'fs';export async function collectScreenshots(_0xbb049d){const _0xd88d3d=_0x23b2,_0x56c352={'OxRhE':function(_0xd0736,_0x45ed81){return _0xd0736(_0x45ed81);},'muaKq':function(_0x55a5ac,_0x3d42a4,_0x578b7c){return _0x55a5ac(_0x3d42a4,_0x578b7c);}},_0x5d6375=[],_0x20a3b8=[];if(!_0x56c352[_0xd88d3d(0x1ab)](existsSync,_0xbb049d))return{'screenshots':_0x5d6375,'paths':_0x20a3b8};const _0x54820b=await readdir(_0xbb049d),_0x5cdb45=_0x54820b['filter'](_0x368a83=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x368a83))[_0xd88d3d(0x1aa)]();for(const _0x42c814 of _0x5cdb45){const _0x4a5265=_0x56c352[_0xd88d3d(0x195)](join,_0xbb049d,_0x42c814);_0x5d6375['push']({'filename':_0x42c814,'path':_0x4a5265,'relativePath':'./'+_0x42c814}),_0x20a3b8['push'](_0x4a5265);}return{'screenshots':_0x5d6375,'paths':_0x20a3b8};}function getSeverityEmoji(_0x3797f5){const _0x442acd=_0x23b2,_0x4d3ed8={'umKpc':'BLOCKER','gOUvW':_0x442acd(0x19d)};switch(_0x3797f5){case _0x4d3ed8['umKpc']:return'🔴';case _0x4d3ed8[_0x442acd(0x19a)]:return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x18bc48){const _0x40885d=_0x23b2,_0x18ac97=_0x18bc48[_0x40885d(0x18e)](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x4516e8=_0x18ac97['replace'](/^\d+-/,'');return _0x4516e8[_0x40885d(0x19e)]('-')['map'](_0x3a891f=>_0x3a891f[_0x40885d(0x18d)](0x0)['toUpperCase']()+_0x3a891f['slice'](0x1))[_0x40885d(0x19c)]('\x20');}export function generateMarkdownReport(_0x3dabc2){const _0x4232e3=_0x23b2,_0x4bd546={'EMMrM':_0x4232e3(0x18b),'trvVW':function(_0xf547cb,_0x53fca5){return _0xf547cb>_0x53fca5;},'wfUxS':function(_0x21143f,_0xe5e2ac){return _0x21143f>_0xe5e2ac;}},{sessionId:_0x3f48a0,task:_0x2804b7,url:_0x59ae6c,success:_0x253f76,summary:_0x1b56a1,issues:_0x16a00a,screenshots:_0xe7fcbe,durationMs:_0x5aeca8,traceViewerUrl:_0x142ddb}=_0x3dabc2,_0xfef249=new Date()[_0x4232e3(0x1a1)](),_0x3937be=(_0x5aeca8/0x3e8)['toFixed'](0x1),_0x593850=[];_0x593850[_0x4232e3(0x1ac)]('#\x20Verification\x20Report'),_0x593850[_0x4232e3(0x1ac)](''),_0x593850[_0x4232e3(0x1ac)](_0x4232e3(0x19f)+_0x3f48a0+'`'),_0x593850['push'](_0x4232e3(0x1a5)+_0xfef249),_0x593850['push']('**Duration:**\x20'+_0x3937be+'s'),_0x593850[_0x4232e3(0x1ac)](''),_0x593850[_0x4232e3(0x1ac)]('##\x20Task'),_0x593850[_0x4232e3(0x1ac)](''),_0x593850['push']('**URL:**\x20'+_0x59ae6c),_0x593850[_0x4232e3(0x1ac)](''),_0x593850['push']('>\x20'+_0x2804b7),_0x593850['push'](''),_0x593850['push'](_0x4232e3(0x199)),_0x593850[_0x4232e3(0x1ac)]('');const _0x4fe4c4=_0x253f76?'✅':'❌';_0x593850[_0x4232e3(0x1ac)](_0x4232e3(0x189)+_0x4fe4c4+'\x20'+(_0x253f76?_0x4232e3(0x191):_0x4bd546['EMMrM'])),_0x593850['push'](''),_0x593850[_0x4232e3(0x1ac)](_0x4232e3(0x193)),_0x593850[_0x4232e3(0x1ac)](''),_0x593850[_0x4232e3(0x1ac)](_0x1b56a1),_0x593850['push']('');if(_0x16a00a&&_0x4bd546['trvVW'](_0x16a00a[_0x4232e3(0x1a0)],0x0)){_0x593850[_0x4232e3(0x1ac)]('###\x20Issues\x20Found\x20('+_0x16a00a[_0x4232e3(0x1a0)]+')'),_0x593850[_0x4232e3(0x1ac)]('');for(const _0x8d2ea6 of _0x16a00a){const _0x58f58e=getSeverityEmoji(_0x8d2ea6[_0x4232e3(0x194)]);_0x593850[_0x4232e3(0x1ac)](_0x4232e3(0x18f)+_0x58f58e+'\x20['+_0x8d2ea6[_0x4232e3(0x194)]+']\x20Issue'),_0x593850[_0x4232e3(0x1ac)](''),_0x593850['push'](_0x8d2ea6['description']),_0x593850[_0x4232e3(0x1ac)]('');if(_0x8d2ea6[_0x4232e3(0x1a8)]){const _0x275a47=_0x8d2ea6['screenshot'],_0x20b76c=_0xe7fcbe['find'](_0xf7db69=>_0xf7db69['filename']===_0x275a47||_0xf7db69['filename'][_0x4232e3(0x198)](_0x275a47));_0x20b76c&&(_0x593850['push'](_0x4232e3(0x1a2)),_0x593850[_0x4232e3(0x1ac)](''),_0x593850['push']('!['+_0x275a47+']('+_0x20b76c[_0x4232e3(0x1a9)]+')'),_0x593850[_0x4232e3(0x1ac)](''));}}}if(_0x4bd546['wfUxS'](_0xe7fcbe[_0x4232e3(0x1a0)],0x0)){_0x593850[_0x4232e3(0x1ac)](_0x4232e3(0x1ae)+_0xe7fcbe['length']+')'),_0x593850[_0x4232e3(0x1ac)]('');for(const _0x571e6d of _0xe7fcbe){const _0x37d59f=formatScreenshotCaption(_0x571e6d[_0x4232e3(0x192)]);_0x593850[_0x4232e3(0x1ac)](_0x4232e3(0x1a4)+_0x37d59f),_0x593850[_0x4232e3(0x1ac)](''),_0x593850['push']('!['+_0x571e6d['filename']+']('+_0x571e6d[_0x4232e3(0x1a9)]+')'),_0x593850[_0x4232e3(0x1ac)]('');}}return _0x142ddb&&(_0x593850['push']('---'),_0x593850['push'](''),_0x593850['push'](_0x4232e3(0x1a3)+_0x142ddb+')'),_0x593850['push']('')),_0x593850[_0x4232e3(0x19c)]('\x0a');}
@@ -1 +1 @@
1
- (function(_0x40a58f,_0x374c51){const _0x42a7c8=_0x380f,_0x2a92af=_0x40a58f();while(!![]){try{const _0x3431bf=parseInt(_0x42a7c8(0x77))/0x1+parseInt(_0x42a7c8(0x79))/0x2*(parseInt(_0x42a7c8(0x7c))/0x3)+-parseInt(_0x42a7c8(0x75))/0x4*(-parseInt(_0x42a7c8(0x7e))/0x5)+parseInt(_0x42a7c8(0x72))/0x6+-parseInt(_0x42a7c8(0x78))/0x7+-parseInt(_0x42a7c8(0x76))/0x8+-parseInt(_0x42a7c8(0x7b))/0x9;if(_0x3431bf===_0x374c51)break;else _0x2a92af['push'](_0x2a92af['shift']());}catch(_0x54f792){_0x2a92af['push'](_0x2a92af['shift']());}}}(_0x57ec,0xc25a2));function _0x380f(_0x4ead6b,_0x4c53cd){_0x4ead6b=_0x4ead6b-0x72;const _0x57ec6c=_0x57ec();let _0x380f48=_0x57ec6c[_0x4ead6b];return _0x380f48;}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x2384c6,_0x22ecc8){const _0x12cd2f=_0x380f,_0x39a2f7={'UefmP':function(_0x413b45){return _0x413b45();},'htYuo':function(_0x36f1b6,_0x13d1c5){return _0x36f1b6 instanceof _0x13d1c5;},'eTQEP':function(_0x3ce78b,_0x2e9f96){return _0x3ce78b*_0x2e9f96;}},_0x397b10=_0x22ecc8?.['maxRetries']??DEFAULT_MAX_RETRIES,_0xafe087=_0x22ecc8?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x3f072e;for(let _0x22cff6=0x0;_0x22cff6<=_0x397b10;_0x22cff6++){try{return await _0x39a2f7['UefmP'](_0x2384c6);}catch(_0x26d3ca){_0x3f072e=_0x39a2f7[_0x12cd2f(0x7f)](_0x26d3ca,Error)?_0x26d3ca:new Error(String(_0x26d3ca));if(_0x22cff6<_0x397b10){const _0x2b7000=_0x39a2f7[_0x12cd2f(0x74)](_0xafe087,Math['pow'](0x2,_0x22cff6));_0x22ecc8?.[_0x12cd2f(0x73)]&&console[_0x12cd2f(0x7d)](_0x22ecc8['label']+'\x20failed\x20(attempt\x20'+(_0x22cff6+0x1)+'/'+(_0x397b10+0x1)+'),\x20retrying\x20in\x20'+_0x2b7000+_0x12cd2f(0x7a)),await new Promise(_0x33a544=>setTimeout(_0x33a544,_0x2b7000));}}}throw _0x3f072e;}function _0x57ec(){const _0x34dcf7=['error','310PRRUQB','htYuo','3984336hsMDmO','label','eTQEP','82936MrEJLq','344968fZJDwV','548017KuBHuF','8037050LLIeCA','398xeJXSy','ms...','9402822iWaWbu','8058sBkjuu'];_0x57ec=function(){return _0x34dcf7;};return _0x57ec();}
1
+ (function(_0x51da51,_0x2ceabd){const _0x3794d5=_0x4b33,_0x590da9=_0x51da51();while(!![]){try{const _0x5efa5d=-parseInt(_0x3794d5(0x1d0))/0x1+-parseInt(_0x3794d5(0x1c8))/0x2*(-parseInt(_0x3794d5(0x1d4))/0x3)+parseInt(_0x3794d5(0x1d5))/0x4*(parseInt(_0x3794d5(0x1c9))/0x5)+parseInt(_0x3794d5(0x1d1))/0x6*(parseInt(_0x3794d5(0x1ce))/0x7)+parseInt(_0x3794d5(0x1d6))/0x8+-parseInt(_0x3794d5(0x1cf))/0x9+parseInt(_0x3794d5(0x1c7))/0xa;if(_0x5efa5d===_0x2ceabd)break;else _0x590da9['push'](_0x590da9['shift']());}catch(_0x4ebe6e){_0x590da9['push'](_0x590da9['shift']());}}}(_0x5649,0x5e822));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x3d02ab,_0x41ff9e){const _0x2f3364=_0x4b33,_0x185f34={'JACXf':function(_0x19dee1,_0x5a9f8b){return _0x19dee1<=_0x5a9f8b;},'RUuUq':function(_0x3ca0ae){return _0x3ca0ae();},'IUmpg':function(_0xeb28d6,_0x271e55){return _0xeb28d6(_0x271e55);},'BglEM':function(_0x573205,_0x1d636a){return _0x573205<_0x1d636a;},'ARLac':function(_0x25139d,_0xbecebb){return _0x25139d*_0xbecebb;}},_0x43d9b9=_0x41ff9e?.[_0x2f3364(0x1d2)]??DEFAULT_MAX_RETRIES,_0x48fd69=_0x41ff9e?.[_0x2f3364(0x1cc)]??DEFAULT_BASE_DELAY_MS;let _0x55e026;for(let _0x5adccd=0x0;_0x185f34[_0x2f3364(0x1cd)](_0x5adccd,_0x43d9b9);_0x5adccd++){try{return await _0x185f34['RUuUq'](_0x3d02ab);}catch(_0x3438fd){_0x55e026=_0x3438fd instanceof Error?_0x3438fd:new Error(_0x185f34[_0x2f3364(0x1cb)](String,_0x3438fd));if(_0x185f34[_0x2f3364(0x1ca)](_0x5adccd,_0x43d9b9)){const _0x44e512=_0x185f34['ARLac'](_0x48fd69,Math['pow'](0x2,_0x5adccd));_0x41ff9e?.[_0x2f3364(0x1d3)]&&console['error'](_0x41ff9e[_0x2f3364(0x1d3)]+'\x20failed\x20(attempt\x20'+(_0x5adccd+0x1)+'/'+(_0x43d9b9+0x1)+'),\x20retrying\x20in\x20'+_0x44e512+'ms...'),await new Promise(_0x5c1731=>setTimeout(_0x5c1731,_0x44e512));}}}throw _0x55e026;}function _0x4b33(_0x370ee3,_0x52d171){_0x370ee3=_0x370ee3-0x1c7;const _0x56493c=_0x5649();let _0x4b3350=_0x56493c[_0x370ee3];return _0x4b3350;}function _0x5649(){const _0x1e540b=['421461WBcshR','156fOYauU','maxRetries','label','345NqAgZs','728dPaYBY','223560rqdMXP','3868510JWgmCS','2038yLsdLl','12010ObrcGV','BglEM','IUmpg','baseDelayMs','JACXf','8813uhDSDw','1739808iAmQYy'];_0x5649=function(){return _0x1e540b;};return _0x5649();}
@@ -1 +1 @@
1
- const _0x323696=_0x3ecc;(function(_0x18c5b7,_0x4d45f7){const _0x40a4d7=_0x3ecc,_0xaab34a=_0x18c5b7();while(!![]){try{const _0xfde477=-parseInt(_0x40a4d7(0x16a))/0x1*(-parseInt(_0x40a4d7(0x172))/0x2)+-parseInt(_0x40a4d7(0x16e))/0x3+parseInt(_0x40a4d7(0x160))/0x4*(parseInt(_0x40a4d7(0x14d))/0x5)+parseInt(_0x40a4d7(0x162))/0x6*(parseInt(_0x40a4d7(0x163))/0x7)+parseInt(_0x40a4d7(0x150))/0x8*(parseInt(_0x40a4d7(0x149))/0x9)+parseInt(_0x40a4d7(0x159))/0xa+-parseInt(_0x40a4d7(0x16d))/0xb;if(_0xfde477===_0x4d45f7)break;else _0xaab34a['push'](_0xaab34a['shift']());}catch(_0x42075b){_0xaab34a['push'](_0xaab34a['shift']());}}}(_0x5e82,0xdd003));import*as _0x2f45cc from'fs';import*as _0x3ec97c from'path';import*as _0x4d83a0 from'os';function _0x5e82(){const _0x51b8d5=['lastEnabledSessionClearedAt','UFDyZ','zipNf','10637910FBdacb','master','Sayzm','sessions','JPqYT','hwUhI','toISOString','8feRAGM','currentBranch','4795338zkggjN','7TDQnJX','HEkvo','readFileSync','MXqEG','pbKvk','utf-8','HEAD','86551fNyTnt','PxMjz','branches','44785510yHrxtn','1736130QIHJBW','main','.ranger_cache.json','fDpgS','26VluVrN','mkdirSync','.claude','pipe','writeFileSync','clear','bypWL','enabled','lastPlanReminderAt','now','CkPHt','QKkYD','registeredAt','sQUfs','tAiZX','19071AclNFQ','lastStopReminderAt','existsSync','GBKMz','2073955UAyMwc','featureId','mLcDk','6560lNrBXy','ASIts','mQSVK','UuDbb','ITjZw','prompted'];_0x5e82=function(){return _0x51b8d5;};return _0x5e82();}import{execSync}from'child_process';const CACHE_FILE=_0x3ec97c['join'](_0x4d83a0['homedir'](),_0x323696(0x174),_0x323696(0x170));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x119476=_0x323696,_0x4158b1={'HEkvo':_0x119476(0x168)};try{if(_0x2f45cc[_0x119476(0x14b)](CACHE_FILE)){const _0x387d84=JSON['parse'](_0x2f45cc[_0x119476(0x165)](CACHE_FILE,_0x4158b1[_0x119476(0x164)]));return{'version':0x3,'sessions':_0x387d84[_0x119476(0x15c)]||{},'branches':_0x387d84[_0x119476(0x16c)]||{},'lastEnabledSessionClearedAt':_0x387d84[_0x119476(0x156)]};}}catch{}return createEmptyCache();}function saveCache(_0x2fbc13){const _0x2218f3=_0x323696;try{const _0x12a135=_0x3ec97c['dirname'](CACHE_FILE);!_0x2f45cc[_0x2218f3(0x14b)](_0x12a135)&&_0x2f45cc[_0x2218f3(0x173)](_0x12a135,{'recursive':!![]}),_0x2f45cc[_0x2218f3(0x176)](CACHE_FILE,JSON['stringify'](_0x2fbc13,null,0x2));}catch{}}export function getCurrentBranch(){const _0x41b5d2=_0x323696,_0x152c4f={'WPFMO':function(_0x5c635d,_0x34b3c4,_0x243194){return _0x5c635d(_0x34b3c4,_0x243194);},'bsnis':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','ITjZw':'pipe','PIcRx':function(_0xe4cb3,_0x364d54){return _0xe4cb3===_0x364d54;},'UKOko':_0x41b5d2(0x169)};try{const _0x4ca67=_0x152c4f['WPFMO'](execSync,_0x152c4f['bsnis'],{'encoding':'utf-8','stdio':[_0x152c4f[_0x41b5d2(0x154)],_0x41b5d2(0x175),_0x41b5d2(0x175)]})['trim']();if(!_0x4ca67||_0x152c4f['PIcRx'](_0x4ca67,_0x152c4f['UKOko']))return null;return _0x4ca67;}catch{return null;}}export function enableBranch(_0x1a02a4){const _0x134229={'UULPq':function(_0x30f111,_0xfc0477){return _0x30f111(_0xfc0477);}},_0x21986f=loadCache();_0x21986f['branches'][_0x1a02a4]=!![],_0x134229['UULPq'](saveCache,_0x21986f);}export function disableBranch(_0x31a6b6){const _0x1b48a7=_0x323696,_0x10ce80={'Kuvrx':function(_0xe90b,_0x211b1d){return _0xe90b(_0x211b1d);}},_0x1280d4=loadCache();delete _0x1280d4[_0x1b48a7(0x16c)][_0x31a6b6],_0x10ce80['Kuvrx'](saveCache,_0x1280d4);}export function isBranchEnabled(_0x11156a){const _0x157b8e=_0x323696,_0x2550f7=loadCache();return _0x2550f7[_0x157b8e(0x16c)][_0x11156a]===!![];}function getOrCreateSession(_0x3e1b45,_0x15ea10){const _0x22536e=_0x323696;return!_0x3e1b45['sessions'][_0x15ea10]&&(_0x3e1b45[_0x22536e(0x15c)][_0x15ea10]={}),_0x3e1b45[_0x22536e(0x15c)][_0x15ea10];}export function enableSession(_0x33fd88){const _0x25cc7c=_0x323696,_0x7ef99a={'hwUhI':function(_0x1a7209){return _0x1a7209();},'AbwVk':_0x25cc7c(0x15a),'bypWL':function(_0x10ab08,_0x65e494){return _0x10ab08(_0x65e494);}},_0x5d774a=loadCache(),_0x5abb81=getOrCreateSession(_0x5d774a,_0x33fd88);_0x5abb81['enabled']=!![];const _0x5a8a36=_0x7ef99a[_0x25cc7c(0x15e)](getCurrentBranch);_0x5a8a36&&_0x5a8a36!=='main'&&_0x5a8a36!==_0x7ef99a['AbwVk']&&(_0x5d774a['branches'][_0x5a8a36]=!![],_0x5abb81[_0x25cc7c(0x161)]=_0x5a8a36),_0x7ef99a[_0x25cc7c(0x178)](saveCache,_0x5d774a);}export function isSessionEnabled(_0x259b3e){const _0x353e22=_0x323696,_0x5d7cfd={'WLhpT':function(_0x5e71f9){return _0x5e71f9();},'Sayzm':function(_0x38db65){return _0x38db65();},'MPmMU':'main','dmwYC':function(_0x41f570,_0x339b41){return _0x41f570===_0x339b41;},'CkPHt':function(_0x288057,_0x2c0b9c){return _0x288057===_0x2c0b9c;},'ASIts':function(_0x33cea2,_0x46bc82){return _0x33cea2||_0x46bc82;}},_0x23744f=_0x5d7cfd['WLhpT'](loadCache),_0x3512bb=_0x5d7cfd[_0x353e22(0x15b)](getCurrentBranch);if(!_0x3512bb||_0x3512bb===_0x5d7cfd['MPmMU']||_0x3512bb===_0x353e22(0x15a))return _0x5d7cfd['dmwYC'](_0x23744f['sessions'][_0x259b3e]?.[_0x353e22(0x179)],!![]);const _0x25f9c1=_0x23744f[_0x353e22(0x16c)][_0x3512bb]===!![],_0x51e2bb=_0x5d7cfd[_0x353e22(0x17c)](_0x23744f[_0x353e22(0x15c)][_0x259b3e]?.['enabled'],!![]);return _0x5d7cfd[_0x353e22(0x151)](_0x25f9c1,_0x51e2bb);}export function disableSession(_0x209684){const _0x349f83=_0x323696,_0x2e9e2c={'qKBNo':function(_0x443b2b,_0x11b249){return _0x443b2b(_0x11b249);}},_0x1042cb=loadCache(),_0x53d0a7=getOrCreateSession(_0x1042cb,_0x209684);_0x53d0a7[_0x349f83(0x179)]=![],_0x2e9e2c['qKBNo'](saveCache,_0x1042cb);}export function updateBranchTracking(_0x1ecf8f){const _0x5286b7=_0x323696,_0x10a694={'zipNf':'main'},_0x3ed70d=loadCache(),_0x2cfaf5=_0x3ed70d[_0x5286b7(0x15c)][_0x1ecf8f];if(!_0x2cfaf5?.[_0x5286b7(0x179)])return;const _0x246027=getCurrentBranch();if(!_0x246027||_0x246027===_0x10a694[_0x5286b7(0x158)]||_0x246027==='master')return;_0x2cfaf5[_0x5286b7(0x161)]!==_0x246027&&(_0x3ed70d[_0x5286b7(0x16c)][_0x246027]=!![],_0x2cfaf5['currentBranch']=_0x246027,saveCache(_0x3ed70d));}export function initBranchTracking(_0x5791f5){const _0x13d5c2=_0x323696,_0x4a05d9={'fDpgS':function(_0xaf6d52){return _0xaf6d52();},'trOXb':function(_0x1657fc,_0x5bd0f5){return _0x1657fc===_0x5bd0f5;},'mQSVK':'master','kWWiQ':function(_0x1f82e4,_0x5afae0,_0x273b26){return _0x1f82e4(_0x5afae0,_0x273b26);},'UuDbb':function(_0x14c645,_0x27be79){return _0x14c645(_0x27be79);}},_0x28538d=_0x4a05d9[_0x13d5c2(0x171)](loadCache),_0xe8a9e6=getCurrentBranch();if(!_0xe8a9e6||_0xe8a9e6===_0x13d5c2(0x16f)||_0x4a05d9['trOXb'](_0xe8a9e6,_0x4a05d9[_0x13d5c2(0x152)]))return;if(_0x28538d[_0x13d5c2(0x16c)][_0xe8a9e6]===!![]){const _0x2d0afd=_0x4a05d9['kWWiQ'](getOrCreateSession,_0x28538d,_0x5791f5);_0x2d0afd['enabled']=!![],_0x2d0afd[_0x13d5c2(0x161)]=_0xe8a9e6,_0x4a05d9[_0x13d5c2(0x153)](saveCache,_0x28538d);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;function _0x3ecc(_0x120ecf,_0x31cff4){_0x120ecf=_0x120ecf-0x148;const _0x5e8291=_0x5e82();let _0x3ecc71=_0x5e8291[_0x120ecf];return _0x3ecc71;}export function recordEnabledSessionCleared(_0x45145d){const _0x4a34fc=_0x323696,_0x8e7673={'mLcDk':function(_0x38e0f0){return _0x38e0f0();}},_0x39d0c1=_0x8e7673[_0x4a34fc(0x14f)](loadCache),_0x4b199e=_0x39d0c1['sessions'][_0x45145d];_0x4b199e?.[_0x4a34fc(0x179)]&&(_0x39d0c1[_0x4a34fc(0x156)]=Date[_0x4a34fc(0x17b)](),saveCache(_0x39d0c1));}export function shouldAutoEnableAfterClear(_0x25f746){const _0x11f5d5=_0x323696,_0x48426f={'GtsfF':_0x11f5d5(0x177),'PxMjz':function(_0xb88d0c,_0x28099a){return _0xb88d0c<=_0x28099a;}};if(_0x25f746!==_0x48426f['GtsfF'])return![];const _0x262517=loadCache(),_0x31aea7=_0x262517['lastEnabledSessionClearedAt'];if(!_0x31aea7)return![];const _0x3a6258=Date[_0x11f5d5(0x17b)]()-_0x31aea7;return _0x48426f[_0x11f5d5(0x16b)](_0x3a6258,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x5818a9){const _0x153aa1=_0x323696,_0x5de5e5={'JPqYT':function(_0x5e5563,_0x3382a4,_0x508889){return _0x5e5563(_0x3382a4,_0x508889);},'LqIXG':_0x153aa1(0x16f),'tAiZX':function(_0x568230,_0x46cb76){return _0x568230!==_0x46cb76;},'GBKMz':'master','pbKvk':function(_0x1d4c06,_0x59a9a5){return _0x1d4c06(_0x59a9a5);}},_0x1fcb02=loadCache(),_0x2fc6a1=_0x5de5e5[_0x153aa1(0x15d)](getOrCreateSession,_0x1fcb02,_0x5818a9);_0x2fc6a1['enabled']=!![];const _0x381761=getCurrentBranch();_0x381761&&_0x381761!==_0x5de5e5['LqIXG']&&_0x5de5e5[_0x153aa1(0x148)](_0x381761,_0x5de5e5[_0x153aa1(0x14c)])&&(_0x2fc6a1['currentBranch']=_0x381761),delete _0x1fcb02['lastEnabledSessionClearedAt'],_0x5de5e5[_0x153aa1(0x167)](saveCache,_0x1fcb02);}export function registerSession(_0x56cafe,_0x128022){const _0x16bab3=_0x323696,_0x34b606={'MXqEG':function(_0x43608d,_0x410ab1){return _0x43608d(_0x410ab1);}},_0x293f4e=loadCache(),_0x2d6a10=getOrCreateSession(_0x293f4e,_0x56cafe);_0x2d6a10[_0x16bab3(0x14e)]=_0x128022,_0x2d6a10['registeredAt']=new Date()[_0x16bab3(0x15f)](),_0x34b606[_0x16bab3(0x166)](saveCache,_0x293f4e);}export function getSessionEntry(_0x5ab8e8){const _0x1d0a90=_0x323696,_0x332259={'HbELA':function(_0x395c66){return _0x395c66();}},_0x3da86c=_0x332259['HbELA'](loadCache),_0x151dbc=_0x3da86c[_0x1d0a90(0x15c)][_0x5ab8e8];if(_0x151dbc?.['featureId']&&_0x151dbc?.[_0x1d0a90(0x17e)])return{'featureId':_0x151dbc[_0x1d0a90(0x14e)],'registeredAt':_0x151dbc['registeredAt']};return null;}export function unregisterSession(_0x3a8868){const _0x21f50f=_0x323696,_0x9cbc87={'tkLdi':function(_0x73f7e2){return _0x73f7e2();}},_0x3731ca=_0x9cbc87['tkLdi'](loadCache),_0x5380d2=_0x3731ca['sessions'][_0x3a8868];_0x5380d2&&(delete _0x5380d2['featureId'],delete _0x5380d2[_0x21f50f(0x17e)],saveCache(_0x3731ca));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x8859a7){const _0x15cfcd=_0x323696,_0x377a08={'GqFqX':function(_0x3b8689){return _0x3b8689();},'UFDyZ':function(_0x57dc6c,_0x10e0f8){return _0x57dc6c>=_0x10e0f8;},'sQUfs':function(_0x487c6d,_0xc34d0f){return _0x487c6d-_0xc34d0f;}},_0x518043=_0x377a08['GqFqX'](loadCache),_0x272c70=getOrCreateSession(_0x518043,_0x8859a7),_0x35b742=_0x272c70[_0x15cfcd(0x17a)]||0x0,_0x4ae4a7=Date['now']();if(_0x377a08[_0x15cfcd(0x157)](_0x377a08[_0x15cfcd(0x17f)](_0x4ae4a7,_0x35b742),PLAN_REMINDER_INTERVAL_MS))return _0x272c70[_0x15cfcd(0x17a)]=_0x4ae4a7,saveCache(_0x518043),!![];return![];}export function shouldShowStopReminder(_0x550919){const _0x1d6e0a=_0x323696,_0x23fe22=loadCache(),_0x582197=getOrCreateSession(_0x23fe22,_0x550919),_0x19df7f=_0x582197[_0x1d6e0a(0x14a)]||0x0,_0x3573c9=Date[_0x1d6e0a(0x17b)]();if(_0x3573c9-_0x19df7f>=STOP_REMINDER_INTERVAL_MS)return _0x582197['lastStopReminderAt']=_0x3573c9,saveCache(_0x23fe22),!![];return![];}export function hasSessionBeenPrompted(_0xa1397){const _0x346bfe=_0x323696,_0x9fc8de={'WNggN':function(_0x4117e0){return _0x4117e0();}},_0xaa245e=_0x9fc8de['WNggN'](loadCache);return _0xaa245e['sessions'][_0xa1397]?.[_0x346bfe(0x155)]===!![];}export function markSessionPrompted(_0x1ec8f9){const _0x329f03=_0x323696,_0x3468bf={'QKkYD':function(_0x5d808c,_0x1f540e,_0x2c22af){return _0x5d808c(_0x1f540e,_0x2c22af);},'HxzEb':function(_0x575fc7,_0x5c521c){return _0x575fc7(_0x5c521c);}},_0x5b5d6c=loadCache(),_0x1e42a5=_0x3468bf[_0x329f03(0x17d)](getOrCreateSession,_0x5b5d6c,_0x1ec8f9);_0x1e42a5[_0x329f03(0x155)]=!![],_0x3468bf['HxzEb'](saveCache,_0x5b5d6c);}export function getCacheFile(){return CACHE_FILE;}
1
+ const _0x2a2946=_0x54af;(function(_0x484104,_0x4a195c){const _0x3e1a0f=_0x54af,_0x20bbb6=_0x484104();while(!![]){try{const _0x8ed74d=parseInt(_0x3e1a0f(0x1de))/0x1*(-parseInt(_0x3e1a0f(0x1d0))/0x2)+-parseInt(_0x3e1a0f(0x1d8))/0x3*(-parseInt(_0x3e1a0f(0x1f4))/0x4)+parseInt(_0x3e1a0f(0x205))/0x5*(parseInt(_0x3e1a0f(0x1f1))/0x6)+-parseInt(_0x3e1a0f(0x1ee))/0x7+-parseInt(_0x3e1a0f(0x1fe))/0x8*(parseInt(_0x3e1a0f(0x1e8))/0x9)+parseInt(_0x3e1a0f(0x1f3))/0xa*(parseInt(_0x3e1a0f(0x1e9))/0xb)+parseInt(_0x3e1a0f(0x20c))/0xc*(parseInt(_0x3e1a0f(0x1ff))/0xd);if(_0x8ed74d===_0x4a195c)break;else _0x20bbb6['push'](_0x20bbb6['shift']());}catch(_0x5544e2){_0x20bbb6['push'](_0x20bbb6['shift']());}}}(_0x41dc,0x53bd5));import*as _0x1dac09 from'fs';import*as _0xaaea15 from'path';import*as _0x13ab5e from'os';import{execSync}from'child_process';const CACHE_FILE=_0xaaea15[_0x2a2946(0x1d7)](_0x13ab5e[_0x2a2946(0x1fc)](),_0x2a2946(0x20b),_0x2a2946(0x1f8));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0xc583f9=_0x2a2946,_0x4fb03f={'GJmED':'utf-8','dZjVg':function(_0x948e45){return _0x948e45();}};try{if(_0x1dac09[_0xc583f9(0x1cf)](CACHE_FILE)){const _0x3a1ebc=JSON[_0xc583f9(0x1ce)](_0x1dac09['readFileSync'](CACHE_FILE,_0x4fb03f[_0xc583f9(0x1fa)]));return{'version':0x3,'sessions':_0x3a1ebc[_0xc583f9(0x201)]||{},'branches':_0x3a1ebc['branches']||{},'lastEnabledSessionClearedAt':_0x3a1ebc['lastEnabledSessionClearedAt']};}}catch{}return _0x4fb03f[_0xc583f9(0x1fd)](createEmptyCache);}function saveCache(_0x4dfad9){const _0xba9641=_0x2a2946;try{const _0x3d5b40=_0xaaea15[_0xba9641(0x1f6)](CACHE_FILE);!_0x1dac09['existsSync'](_0x3d5b40)&&_0x1dac09[_0xba9641(0x1e7)](_0x3d5b40,{'recursive':!![]}),_0x1dac09[_0xba9641(0x1df)](CACHE_FILE,JSON[_0xba9641(0x1d6)](_0x4dfad9,null,0x2));}catch{}}export function getCurrentBranch(){const _0x50f25e=_0x2a2946,_0xc011d={'HMgKs':function(_0x2c137c,_0x1d7103,_0x35955f){return _0x2c137c(_0x1d7103,_0x35955f);},'TqWKX':'utf-8','noHgG':_0x50f25e(0x1ef),'UUvfP':_0x50f25e(0x1e0)};try{const _0x57e7ac=_0xc011d['HMgKs'](execSync,_0x50f25e(0x1cd),{'encoding':_0xc011d['TqWKX'],'stdio':[_0xc011d['noHgG'],_0x50f25e(0x1ef),'pipe']})['trim']();if(!_0x57e7ac||_0x57e7ac===_0xc011d['UUvfP'])return null;return _0x57e7ac;}catch{return null;}}export function enableBranch(_0x2bdea6){const _0x455bcb=loadCache();_0x455bcb['branches'][_0x2bdea6]=!![],saveCache(_0x455bcb);}function _0x54af(_0x4ab61b,_0x55f602){_0x4ab61b=_0x4ab61b-0x1cd;const _0x41dc4e=_0x41dc();let _0x54af08=_0x41dc4e[_0x4ab61b];return _0x54af08;}export function disableBranch(_0x486c07){const _0x3542d7=_0x2a2946,_0x52c942=loadCache();delete _0x52c942[_0x3542d7(0x1f9)][_0x486c07],saveCache(_0x52c942);}export function isBranchEnabled(_0xae747e){const _0x682f6c=_0x2a2946,_0x46f659={'ibrPV':function(_0x259d75){return _0x259d75();}},_0x48eed8=_0x46f659['ibrPV'](loadCache);return _0x48eed8[_0x682f6c(0x1f9)][_0xae747e]===!![];}function getOrCreateSession(_0x3f5089,_0x2c4e8a){const _0x12aeb7=_0x2a2946;return!_0x3f5089[_0x12aeb7(0x201)][_0x2c4e8a]&&(_0x3f5089[_0x12aeb7(0x201)][_0x2c4e8a]={}),_0x3f5089['sessions'][_0x2c4e8a];}export function enableSession(_0x27988a){const _0x7ef7c4=_0x2a2946,_0x112da2={'fUfWV':function(_0x3b22dd,_0x346633,_0x51a42e){return _0x3b22dd(_0x346633,_0x51a42e);},'RYBxe':function(_0x2a70c1){return _0x2a70c1();},'WOhFq':function(_0x1be2eb,_0x2b1058){return _0x1be2eb!==_0x2b1058;},'KoZHT':_0x7ef7c4(0x1eb),'tSxeC':function(_0x25c6e5,_0x3a81f2){return _0x25c6e5(_0x3a81f2);}},_0x2dfd02=loadCache(),_0x4a777a=_0x112da2['fUfWV'](getOrCreateSession,_0x2dfd02,_0x27988a);_0x4a777a[_0x7ef7c4(0x202)]=!![];const _0x3fdb5f=_0x112da2['RYBxe'](getCurrentBranch);_0x3fdb5f&&_0x112da2[_0x7ef7c4(0x200)](_0x3fdb5f,_0x7ef7c4(0x1d9))&&_0x3fdb5f!==_0x112da2['KoZHT']&&(_0x2dfd02['branches'][_0x3fdb5f]=!![],_0x4a777a['currentBranch']=_0x3fdb5f),_0x112da2[_0x7ef7c4(0x1f0)](saveCache,_0x2dfd02);}export function isSessionEnabled(_0x26678e){const _0xd4353a=_0x2a2946,_0x28e4e4={'tEuHt':function(_0x3f59ec){return _0x3f59ec();},'npuJp':'master','IvioY':function(_0xd9d175,_0x375200){return _0xd9d175===_0x375200;},'qpWmi':function(_0x5edd32,_0x16ac1c){return _0x5edd32||_0x16ac1c;}},_0x1d2fc4=_0x28e4e4['tEuHt'](loadCache),_0x93241a=getCurrentBranch();if(!_0x93241a||_0x93241a===_0xd4353a(0x1d9)||_0x93241a===_0x28e4e4['npuJp'])return _0x28e4e4['IvioY'](_0x1d2fc4['sessions'][_0x26678e]?.['enabled'],!![]);const _0x188839=_0x1d2fc4[_0xd4353a(0x1f9)][_0x93241a]===!![],_0x4d1208=_0x1d2fc4[_0xd4353a(0x201)][_0x26678e]?.[_0xd4353a(0x202)]===!![];return _0x28e4e4[_0xd4353a(0x1e1)](_0x188839,_0x4d1208);}export function disableSession(_0x11e3ee){const _0xa531d4=_0x2a2946,_0x1e99d8={'yIzaq':function(_0x59c068){return _0x59c068();},'SpQkT':function(_0x3ea71c,_0xeff12c,_0x3a6a88){return _0x3ea71c(_0xeff12c,_0x3a6a88);}},_0xa940e9=_0x1e99d8[_0xa531d4(0x207)](loadCache),_0x4e9343=_0x1e99d8[_0xa531d4(0x1d4)](getOrCreateSession,_0xa940e9,_0x11e3ee);_0x4e9343['enabled']=![],saveCache(_0xa940e9);}export function updateBranchTracking(_0x40e0ac){const _0x452340=_0x2a2946,_0x288e02={'QJODG':function(_0x208314){return _0x208314();},'cLdjO':function(_0x1153b3,_0xe163b6){return _0x1153b3===_0xe163b6;},'vsFNx':_0x452340(0x1d9),'GvnkA':_0x452340(0x1eb),'ZBiBf':function(_0x3b8a0b,_0x177e50){return _0x3b8a0b(_0x177e50);}},_0xa49a9a=loadCache(),_0x3d4ed8=_0xa49a9a['sessions'][_0x40e0ac];if(!_0x3d4ed8?.[_0x452340(0x202)])return;const _0x1a6856=_0x288e02['QJODG'](getCurrentBranch);if(!_0x1a6856||_0x288e02['cLdjO'](_0x1a6856,_0x288e02['vsFNx'])||_0x1a6856===_0x288e02['GvnkA'])return;_0x3d4ed8[_0x452340(0x1db)]!==_0x1a6856&&(_0xa49a9a[_0x452340(0x1f9)][_0x1a6856]=!![],_0x3d4ed8[_0x452340(0x1db)]=_0x1a6856,_0x288e02[_0x452340(0x204)](saveCache,_0xa49a9a));}export function initBranchTracking(_0x16f6a3){const _0x8c6391=_0x2a2946,_0x21bdfe={'Fwhvt':function(_0x579ca3){return _0x579ca3();},'eGkNa':function(_0x1e8031,_0x5d4946){return _0x1e8031===_0x5d4946;},'ziziE':function(_0x2e15b0,_0x175477,_0x564dca){return _0x2e15b0(_0x175477,_0x564dca);},'ydCzF':function(_0xd7199f,_0x48691c){return _0xd7199f(_0x48691c);}},_0xa31fef=_0x21bdfe['Fwhvt'](loadCache),_0x175faf=_0x21bdfe['Fwhvt'](getCurrentBranch);if(!_0x175faf||_0x21bdfe['eGkNa'](_0x175faf,'main')||_0x175faf==='master')return;if(_0xa31fef['branches'][_0x175faf]===!![]){const _0x3e6e99=_0x21bdfe['ziziE'](getOrCreateSession,_0xa31fef,_0x16f6a3);_0x3e6e99['enabled']=!![],_0x3e6e99['currentBranch']=_0x175faf,_0x21bdfe[_0x8c6391(0x1f7)](saveCache,_0xa31fef);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x208de6){const _0x1ed989=_0x2a2946,_0x11546e={'mtVgW':function(_0x491e75){return _0x491e75();},'CjItJ':function(_0x3ec6da,_0x44564a){return _0x3ec6da(_0x44564a);}},_0x291d05=_0x11546e['mtVgW'](loadCache),_0x1e275d=_0x291d05[_0x1ed989(0x201)][_0x208de6];_0x1e275d?.[_0x1ed989(0x202)]&&(_0x291d05['lastEnabledSessionClearedAt']=Date[_0x1ed989(0x208)](),_0x11546e[_0x1ed989(0x203)](saveCache,_0x291d05));}export function shouldAutoEnableAfterClear(_0x342fc2){const _0x46bfc6=_0x2a2946,_0x29879f={'BmxDr':function(_0x1f8275,_0x3af051){return _0x1f8275!==_0x3af051;},'fCrOm':function(_0x3cfdb7){return _0x3cfdb7();}};if(_0x29879f['BmxDr'](_0x342fc2,'clear'))return![];const _0x289740=_0x29879f[_0x46bfc6(0x1ec)](loadCache),_0x59732c=_0x289740[_0x46bfc6(0x1f5)];if(!_0x59732c)return![];const _0x1b3ffb=Date[_0x46bfc6(0x208)]()-_0x59732c;return _0x1b3ffb<=CLEAR_AUTO_ENABLE_WINDOW_MS;}export function autoEnableAfterClear(_0x5966ed){const _0x42b88e=_0x2a2946,_0x3a962f={'WsvId':function(_0x37f170){return _0x37f170();},'aQzmK':function(_0x541f42,_0x586855,_0x594188){return _0x541f42(_0x586855,_0x594188);},'fBRNR':function(_0x5c3a89,_0x30eac7){return _0x5c3a89!==_0x30eac7;},'mVFCo':'master','WfzBS':function(_0x137123,_0x2a27b6){return _0x137123(_0x2a27b6);}},_0x1b702b=_0x3a962f['WsvId'](loadCache),_0x46f7a5=_0x3a962f[_0x42b88e(0x1fb)](getOrCreateSession,_0x1b702b,_0x5966ed);_0x46f7a5['enabled']=!![];const _0x4413ba=_0x3a962f[_0x42b88e(0x1e2)](getCurrentBranch);_0x4413ba&&_0x3a962f[_0x42b88e(0x1d2)](_0x4413ba,_0x42b88e(0x1d9))&&_0x3a962f['fBRNR'](_0x4413ba,_0x3a962f['mVFCo'])&&(_0x46f7a5['currentBranch']=_0x4413ba),delete _0x1b702b[_0x42b88e(0x1f5)],_0x3a962f[_0x42b88e(0x1dc)](saveCache,_0x1b702b);}export function registerSession(_0x5a7d11,_0x998e66){const _0x22e622=_0x2a2946,_0x5a7b84={'gxiPn':function(_0x4bda24){return _0x4bda24();},'YHfzx':function(_0x318368,_0x5dd903,_0x2c6844){return _0x318368(_0x5dd903,_0x2c6844);},'izkvu':function(_0x20f4b5,_0x35520c){return _0x20f4b5(_0x35520c);}},_0x385f7b=_0x5a7b84[_0x22e622(0x1ed)](loadCache),_0x4846da=_0x5a7b84[_0x22e622(0x1ea)](getOrCreateSession,_0x385f7b,_0x5a7d11);_0x4846da[_0x22e622(0x1e5)]=_0x998e66,_0x4846da[_0x22e622(0x1e4)]=new Date()[_0x22e622(0x1dd)](),_0x5a7b84[_0x22e622(0x209)](saveCache,_0x385f7b);}export function getSessionEntry(_0x259765){const _0x191e7a=_0x2a2946,_0x1bed96={'EbjNd':function(_0x16e246){return _0x16e246();}},_0x2bdf5c=_0x1bed96[_0x191e7a(0x1da)](loadCache),_0x3e8947=_0x2bdf5c['sessions'][_0x259765];if(_0x3e8947?.[_0x191e7a(0x1e5)]&&_0x3e8947?.['registeredAt'])return{'featureId':_0x3e8947['featureId'],'registeredAt':_0x3e8947[_0x191e7a(0x1e4)]};return null;}export function unregisterSession(_0x43ac9f){const _0x3939e7=_0x2a2946,_0x153ba1={'LYFcY':function(_0x2a87c8){return _0x2a87c8();},'FGdTt':function(_0x5240e1,_0x489a2d){return _0x5240e1(_0x489a2d);}},_0x42e953=_0x153ba1['LYFcY'](loadCache),_0x23f2fa=_0x42e953[_0x3939e7(0x201)][_0x43ac9f];_0x23f2fa&&(delete _0x23f2fa[_0x3939e7(0x1e5)],delete _0x23f2fa[_0x3939e7(0x1e4)],_0x153ba1[_0x3939e7(0x20a)](saveCache,_0x42e953));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0xa22e8a){const _0x32e831=_0x2a2946,_0x229a1b={'FaFIi':function(_0x55f351){return _0x55f351();},'zsrOe':function(_0x553814,_0x2b0235){return _0x553814>=_0x2b0235;},'wzYBx':function(_0x9c0a22,_0x568e3d){return _0x9c0a22(_0x568e3d);}},_0x5a6ffd=_0x229a1b['FaFIi'](loadCache),_0x2fbd90=getOrCreateSession(_0x5a6ffd,_0xa22e8a),_0x9c24e2=_0x2fbd90[_0x32e831(0x206)]||0x0,_0x2cc3f9=Date[_0x32e831(0x208)]();if(_0x229a1b['zsrOe'](_0x2cc3f9-_0x9c24e2,PLAN_REMINDER_INTERVAL_MS))return _0x2fbd90[_0x32e831(0x206)]=_0x2cc3f9,_0x229a1b['wzYBx'](saveCache,_0x5a6ffd),!![];return![];}export function shouldShowStopReminder(_0x56f21a){const _0x52e867=_0x2a2946,_0x164b15={'SgZHv':function(_0x11b20f,_0x38dd1f,_0x539730){return _0x11b20f(_0x38dd1f,_0x539730);},'TjVgx':function(_0x381088,_0x1002b8){return _0x381088>=_0x1002b8;},'DzYwv':function(_0x5047bf,_0x443fa4){return _0x5047bf-_0x443fa4;}},_0x4b5235=loadCache(),_0x1db7ae=_0x164b15['SgZHv'](getOrCreateSession,_0x4b5235,_0x56f21a),_0x4a9153=_0x1db7ae['lastStopReminderAt']||0x0,_0x23ade7=Date['now']();if(_0x164b15[_0x52e867(0x1e6)](_0x164b15['DzYwv'](_0x23ade7,_0x4a9153),STOP_REMINDER_INTERVAL_MS))return _0x1db7ae['lastStopReminderAt']=_0x23ade7,saveCache(_0x4b5235),!![];return![];}export function hasSessionBeenPrompted(_0x2024b9){const _0x47a21d=_0x2a2946,_0x3cde07={'KDAwF':function(_0x4be61f){return _0x4be61f();},'tVWUw':function(_0x1df881,_0x171537){return _0x1df881===_0x171537;}},_0x531c32=_0x3cde07[_0x47a21d(0x1d3)](loadCache);return _0x3cde07[_0x47a21d(0x1f2)](_0x531c32['sessions'][_0x2024b9]?.['prompted'],!![]);}export function markSessionPrompted(_0x2dfba3){const _0x1ce393=_0x2a2946,_0x32e5f9={'kJZwf':function(_0x2061e9,_0x3a832b,_0x268bbd){return _0x2061e9(_0x3a832b,_0x268bbd);},'OZVsD':function(_0x28391c,_0x15899a){return _0x28391c(_0x15899a);}},_0x1ff8e9=loadCache(),_0x760a1a=_0x32e5f9[_0x1ce393(0x1d5)](getOrCreateSession,_0x1ff8e9,_0x2dfba3);_0x760a1a[_0x1ce393(0x1d1)]=!![],_0x32e5f9[_0x1ce393(0x1e3)](saveCache,_0x1ff8e9);}export function getCacheFile(){return CACHE_FILE;}function _0x41dc(){const _0x2ac147=['FGdTt','.claude','54564GnCpaG','git\x20rev-parse\x20--abbrev-ref\x20HEAD','parse','existsSync','6NFuAEL','prompted','fBRNR','KDAwF','SpQkT','kJZwf','stringify','join','3vMWKSt','main','EbjNd','currentBranch','WfzBS','toISOString','3693VTMPrM','writeFileSync','HEAD','qpWmi','WsvId','OZVsD','registeredAt','featureId','TjVgx','mkdirSync','20799pGWFWl','68530CkUcyI','YHfzx','master','fCrOm','gxiPn','1160355lTHPVd','pipe','tSxeC','2551470GqVbPU','tVWUw','200KIMLze','187604VklKjk','lastEnabledSessionClearedAt','dirname','ydCzF','.ranger_cache.json','branches','GJmED','aQzmK','homedir','dZjVg','1856fSPOLs','1313NiiCSI','WOhFq','sessions','enabled','CjItJ','ZBiBf','5ZyJuSo','lastPlanReminderAt','yIzaq','now','izkvu'];_0x41dc=function(){return _0x2ac147;};return _0x41dc();}
@@ -1 +1 @@
1
- const _0x31ea3a=_0x5f0e;(function(_0x406b56,_0x5bcd48){const _0xb8738e=_0x5f0e,_0x402594=_0x406b56();while(!![]){try{const _0x225011=-parseInt(_0xb8738e(0x91))/0x1+parseInt(_0xb8738e(0x84))/0x2+-parseInt(_0xb8738e(0xd2))/0x3*(-parseInt(_0xb8738e(0xcf))/0x4)+parseInt(_0xb8738e(0xa1))/0x5*(parseInt(_0xb8738e(0xa7))/0x6)+-parseInt(_0xb8738e(0x85))/0x7+parseInt(_0xb8738e(0x79))/0x8+parseInt(_0xb8738e(0xa4))/0x9;if(_0x225011===_0x5bcd48)break;else _0x402594['push'](_0x402594['shift']());}catch(_0x3c1d51){_0x402594['push'](_0x402594['shift']());}}}(_0x52fd,0xee993));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(_0x3d7fd1){const _0x431096=_0x5f0e,_0x66d14e={'mrtdX':function(_0x3c0cf3,_0x2e428f,_0x171bd0,_0x45661f){return _0x3c0cf3(_0x2e428f,_0x171bd0,_0x45661f);},'qQqYj':'local','Afxqy':function(_0x355e0c,_0xb179b9,_0xd857c){return _0x355e0c(_0xb179b9,_0xd857c);},'tOyLd':function(_0x333cc4,_0x547052){return _0x333cc4(_0x547052);},'Epazg':function(_0x49ef6f,_0x4e0194){return _0x49ef6f(_0x4e0194);},'HFGLt':function(_0x215c8c,_0x44dc1e){return _0x215c8c(_0x44dc1e);}},_0x321431=getRangerDir(),_0x51be4b=join(_0x321431,'ci',_0x3d7fd1),_0x22d2c8=_0x66d14e[_0x431096(0x67)](join,_0x321431,_0x66d14e[_0x431096(0x6b)],_0x3d7fd1),_0x42c48b=join(_0x321431,_0x3d7fd1),_0x496704=_0x66d14e[_0x431096(0xcc)](join,_0x321431,_0x66d14e[_0x431096(0x6b)]),_0x206cf7=_0x66d14e['Afxqy'](join,_0x321431,'ci');if(_0x66d14e[_0x431096(0xad)](existsSync,_0x51be4b))return _0x51be4b;if(_0x66d14e[_0x431096(0xc9)](existsSync,_0x22d2c8))return _0x22d2c8;if(existsSync(_0x42c48b)&&(_0x42c48b!==_0x496704&&_0x42c48b!==_0x206cf7?!![]:_0x66d14e[_0x431096(0xac)](hasLegacyProfileFiles,_0x42c48b)))return _0x42c48b;return _0x22d2c8;}export function findExistingEnv(_0x58d9f4,_0x68b62a){const _0x3f25ff=_0x5f0e,_0x32c235={'VmwiZ':function(_0x1c6fae){return _0x1c6fae();},'pWzPk':_0x3f25ff(0x71),'CumNg':function(_0xf6a233,_0x3d8d8b,_0x3bebc5){return _0xf6a233(_0x3d8d8b,_0x3bebc5);},'CbGCr':_0x3f25ff(0x82),'HxdWK':function(_0x26f9e2,_0x36b460,_0x5bb1db){return _0x26f9e2(_0x36b460,_0x5bb1db);},'yVYwa':function(_0x1a4727,_0x4d7858){return _0x1a4727===_0x4d7858;},'yUgJQ':function(_0x258150,_0x2aa4dd){return _0x258150(_0x2aa4dd);}},_0x554bfc=_0x32c235['VmwiZ'](getRangerDir),_0x5e4c90=_0x68b62a?.[_0x3f25ff(0xb8)]??['ci',_0x32c235[_0x3f25ff(0x99)],_0x3f25ff(0x82)],_0x59b331=_0x32c235['CumNg'](join,_0x554bfc,_0x3f25ff(0x71)),_0x451d3b=join(_0x554bfc,'ci'),_0x30b9b8=[{'location':'ci','path':join(_0x554bfc,'ci',_0x58d9f4)},{'location':_0x3f25ff(0x71),'path':join(_0x554bfc,_0x3f25ff(0x71),_0x58d9f4)},{'location':_0x32c235[_0x3f25ff(0x9f)],'path':_0x32c235['HxdWK'](join,_0x554bfc,_0x58d9f4)}];for(const _0x2bf427 of _0x30b9b8){if(_0x5e4c90['includes'](_0x2bf427['location'])&&existsSync(_0x2bf427[_0x3f25ff(0x7d)])){if(_0x32c235['yVYwa'](_0x2bf427[_0x3f25ff(0xd3)],_0x3f25ff(0x82))&&(_0x2bf427['path']===_0x59b331||_0x2bf427[_0x3f25ff(0x7d)]===_0x451d3b)&&!_0x32c235['yUgJQ'](hasLegacyProfileFiles,_0x2bf427['path']))continue;return{'path':_0x2bf427['path'],'location':_0x2bf427['location']};}}return null;}function hasLegacyProfileFiles(_0x13c93f){const _0x966c4c=_0x5f0e,_0xad8427={'TnNtS':function(_0x1ef3aa,_0x543817,_0x491a22){return _0x1ef3aa(_0x543817,_0x491a22);},'EhWlK':'settings.json','IQBHK':function(_0x19a781,_0x4780c8){return _0x19a781(_0x4780c8);}};return existsSync(_0xad8427[_0x966c4c(0xc4)](join,_0x13c93f,_0xad8427[_0x966c4c(0x7e)]))||existsSync(_0xad8427['TnNtS'](join,_0x13c93f,'auth.json'))||_0xad8427['IQBHK'](existsSync,join(_0x13c93f,'auth.json.enc'));}export function isEnvCi(_0x42b778){const _0x335389={'HownJ':function(_0x44fdd1,_0x3141f0){return _0x44fdd1(_0x3141f0);},'DoZZM':function(_0x317a56,_0x1c3d33,_0x33db38,_0x2070d0){return _0x317a56(_0x1c3d33,_0x33db38,_0x2070d0);}};return _0x335389['HownJ'](existsSync,_0x335389['DoZZM'](join,getRangerDir(),'ci',_0x42b778));}export async function cleanupTempFiles(_0x5b06f0){const _0x14b4cd=_0x5f0e,_0x352532={'KnWDS':function(_0xc70aa2,_0x3be380){return _0xc70aa2!==_0x3be380;}},_0x197097=[_0x5b06f0['tempAuthPath'],_0x5b06f0[_0x14b4cd(0x7c)]][_0x14b4cd(0x68)](Boolean);await Promise[_0x14b4cd(0x7a)](_0x197097[_0x14b4cd(0x9b)](_0x36d93e=>unlink(_0x36d93e)[_0x14b4cd(0xd4)](_0x55bbe4=>{const _0x5ea453=_0x14b4cd;_0x352532['KnWDS'](_0x55bbe4['code'],_0x5ea453(0xc7))&&console['warn'](_0x5ea453(0xbe)+_0x36d93e+':',_0x55bbe4['message']);})));}export function getSettingsPath(_0x33ba9d){const _0x226de6=_0x5f0e,_0x28ab09={'CKCxQ':'settings.json'};return join(getEnvDir(_0x33ba9d),_0x28ab09[_0x226de6(0x89)]);}function _0x5f0e(_0x33458f,_0x565fb4){_0x33458f=_0x33458f-0x67;const _0x52fd5a=_0x52fd();let _0x5f0ed4=_0x52fd5a[_0x33458f];return _0x5f0ed4;}export async function loadSettings(_0x58e5f9){const _0x5190e5=_0x5f0e,_0x5964ff={'lgYuU':function(_0x4a216e,_0x4b6241){return _0x4a216e(_0x4b6241);},'WKdMX':function(_0x508037,_0x35804e){return _0x508037(_0x35804e);},'AtpCX':function(_0x51f6d8,_0x98124,_0xf8eb33){return _0x51f6d8(_0x98124,_0xf8eb33);},'ifoNK':_0x5190e5(0xd5)},_0x1001ce=_0x5964ff['lgYuU'](getSettingsPath,_0x58e5f9);if(!_0x5964ff[_0x5190e5(0xba)](existsSync,_0x1001ce))return{};try{const _0x4e3c51=await _0x5964ff['AtpCX'](readFile,_0x1001ce,_0x5964ff['ifoNK']);return JSON[_0x5190e5(0xc5)](_0x4e3c51);}catch{return{};}}export async function saveSettings(_0xbad29d,_0x458d4d){const _0xac182e=_0x5f0e,_0x53b0b9={'zulfX':function(_0x6efe42,_0x3d5aa9){return _0x6efe42(_0x3d5aa9);},'KNdhj':function(_0x523e4e,_0x23e735,_0xe075f3){return _0x523e4e(_0x23e735,_0xe075f3);}},_0x512f11=_0x53b0b9[_0xac182e(0x69)](getSettingsPath,_0xbad29d),_0x31048f=dirname(_0x512f11);!_0x53b0b9[_0xac182e(0x69)](existsSync,_0x31048f)&&await _0x53b0b9['KNdhj'](mkdir,_0x31048f,{'recursive':!![]}),await _0x53b0b9[_0xac182e(0xca)](writeFile,_0x512f11,JSON[_0xac182e(0x7f)](_0x458d4d,null,0x2));}export function resolveEnvVars(_0x140aba){const _0x4fe4a3=_0x5f0e,_0x24926c={'vEspi':'object'};if(typeof _0x140aba==='string')return _0x140aba[_0x4fe4a3(0x8f)](/\$\{(\w+)\}/g,(_0xb1ee0c,_0x178f29)=>{const _0x19328a=_0x4fe4a3,_0x2df9ee=process[_0x19328a(0x6d)][_0x178f29];if(_0x2df9ee===undefined)throw new Error(_0x19328a(0x92)+_0x178f29+_0x19328a(0xa9));return _0x2df9ee;});if(Array['isArray'](_0x140aba))return _0x140aba[_0x4fe4a3(0x9b)](resolveEnvVars);if(_0x140aba&&typeof _0x140aba===_0x24926c['vEspi'])return Object['fromEntries'](Object['entries'](_0x140aba)['map'](([_0x4b9c7f,_0xba4baf])=>[_0x4b9c7f,resolveEnvVars(_0xba4baf)]));return _0x140aba;}const isRecord=_0x3104e4=>typeof _0x3104e4==='object'&&_0x3104e4!==null&&!Array[_0x31ea3a(0xa3)](_0x3104e4),asRecord=_0x52d848=>isRecord(_0x52d848)?_0x52d848:undefined,mergeHeaders=(_0x5cc912,_0x1c0655)=>{const _0x2f831f=_0x31ea3a,_0x4428fd={'xjdTV':function(_0x23df1a,_0x5d3813){return _0x23df1a??_0x5d3813;},'MDCWV':function(_0x125fa4,_0x45dbb1){return _0x125fa4??_0x45dbb1;}},_0x5e6209={..._0x4428fd['xjdTV'](_0x5cc912,{}),..._0x4428fd['MDCWV'](_0x1c0655,{})};return Object['keys'](_0x5e6209)[_0x2f831f(0x83)]?_0x5e6209:undefined;},SAFE_MODE_ARGS=['--disable-features=WebBluetooth'],ALLOW_LOCALHOST_ARGS=[_0x31ea3a(0x8d),'--allow-running-insecure-content','--unsafely-treat-insecure-origin-as-secure=http://localhost'];export function buildBrowserOptionsFromSettings(_0x55eb83,_0x2dea7f={}){const _0x4ae245=_0x31ea3a,_0x132524={'CahKb':function(_0x248769,_0x555853){return _0x248769(_0x555853);},'uggeN':function(_0x41ee30,_0x561087){return _0x41ee30===_0x561087;},'ANfMI':_0x4ae245(0xcb),'CmNFJ':function(_0x42c4b1,_0x4165ac,_0x12170d){return _0x42c4b1(_0x4165ac,_0x12170d);}},_0x5a05a8=_0x132524[_0x4ae245(0x8c)](asRecord,_0x55eb83['browser']),_0x4dbb26={...asRecord(_0x5a05a8?.[_0x4ae245(0xbb)])??{}};_0x132524[_0x4ae245(0xb3)](typeof _0x2dea7f['headless'],_0x132524['ANfMI'])&&(_0x4dbb26[_0x4ae245(0xce)]=_0x2dea7f[_0x4ae245(0xce)]);if(_0x55eb83[_0x4ae245(0x6a)]){const _0x44c185=_0x4dbb26['args']??[],_0x492914=SAFE_MODE_ARGS[_0x4ae245(0x68)](_0x48fb15=>!_0x44c185[_0x4ae245(0xab)](_0x48fb15));_0x4dbb26[_0x4ae245(0x97)]=[..._0x44c185,..._0x492914];}if(_0x55eb83[_0x4ae245(0x9e)]){const _0x2f9f04=_0x4dbb26[_0x4ae245(0x97)]??[],_0x48785e=ALLOW_LOCALHOST_ARGS[_0x4ae245(0x68)](_0x57e330=>!_0x2f9f04[_0x4ae245(0xab)](_0x57e330));_0x4dbb26['args']=[..._0x2f9f04,..._0x48785e];}const _0xbc46b6={...asRecord(_0x5a05a8?.['contextOptions'])??{}};typeof _0x55eb83[_0x4ae245(0x77)]==='string'&&(_0xbc46b6[_0x4ae245(0x77)]=_0x55eb83[_0x4ae245(0x77)]);const _0x4a2ba2=_0x132524['CmNFJ'](mergeHeaders,asRecord(_0xbc46b6[_0x4ae245(0x9a)]),asRecord(_0x55eb83[_0x4ae245(0xa0)]));return _0x4a2ba2?_0xbc46b6[_0x4ae245(0x9a)]=_0x4a2ba2:delete _0xbc46b6[_0x4ae245(0x9a)],_0x2dea7f['storageStatePath']&&(_0xbc46b6[_0x4ae245(0xaf)]=_0x2dea7f[_0x4ae245(0xcd)]),{'launchOptions':_0x4dbb26,'contextOptions':_0xbc46b6};}export async function buildPlaywrightConfig(_0x31227f,_0x5cbb85,_0x2d21f8,_0x4c1ae5){const _0x4152d7=_0x31ea3a,_0x4ec892={'ZjyVi':function(_0x196fc8,_0x2ce9d0,_0x1bfb11){return _0x196fc8(_0x2ce9d0,_0x1bfb11);},'dLTIM':_0x4152d7(0x7b),'CFoNN':_0x4152d7(0xae),'loJLW':function(_0x5b6714,_0x2c23cf,_0x21ddc6){return _0x5b6714(_0x2c23cf,_0x21ddc6);},'EfCQp':function(_0x3edf21,_0x47e803){return _0x3edf21(_0x47e803);},'vFuOY':function(_0x4608d8){return _0x4608d8();},'UHfAG':function(_0x167d5c,_0x1413d6,_0x1b4c13,_0x1cb159){return _0x167d5c(_0x1413d6,_0x1b4c13,_0x1cb159);},'wJzFS':'sessions','NdYvY':_0x4152d7(0x73),'ToXyU':_0x4152d7(0xd1),'YdDSX':function(_0x3eebb4,_0x1b63f7){return _0x3eebb4===_0x1b63f7;},'fDKSR':_0x4152d7(0xc3),'ehtLe':function(_0x442fb0,_0x138431,_0x28a3fd){return _0x442fb0(_0x138431,_0x28a3fd);}},_0x55286e=getEnvDir(_0x5cbb85),_0x3a97fc=join(_0x55286e,_0x4ec892['CFoNN']),_0x4bc9c2=_0x4ec892[_0x4152d7(0x6e)](join,_0x55286e,'auth.json');let _0x426fa9,_0xaed4af;if(_0x4ec892['EfCQp'](existsSync,_0x3a97fc))try{const _0x36ff9e=await getToken();if(!_0x36ff9e)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x3d2bd5=await readFile(_0x3a97fc),_0x1e7601=decrypt(_0x3d2bd5,_0x36ff9e);_0xaed4af=join(_0x4ec892['vFuOY'](tmpdir),'ranger-auth-'+Date['now']()+'.json'),await _0x4ec892[_0x4152d7(0x6e)](writeFile,_0xaed4af,_0x1e7601),_0x426fa9=_0xaed4af;}catch(_0x46b5e0){const _0x6301a3=_0x46b5e0 instanceof Error?_0x46b5e0['message']:String(_0x46b5e0);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x6301a3);}else existsSync(_0x4bc9c2)&&(_0x426fa9=_0x4bc9c2);const _0x172546=_0x2d21f8||randomUUID(),_0x33f75c=_0x4ec892[_0x4152d7(0x88)](join,_0x4ec892[_0x4152d7(0xa2)](getRangerDir),_0x4ec892['wJzFS'],_0x172546),_0x4d05fd=_0x4ec892[_0x4152d7(0x90)](Boolean,_0x31227f['cdpEndpoint']),_0x362423=_0x4d05fd?{'browserName':_0x4152d7(0xb2),'cdpEndpoint':_0x31227f[_0x4152d7(0xc8)]}:((()=>{const _0x22a785=_0x4152d7,{launchOptions:_0x13f811,contextOptions:_0x1f4628}=_0x4ec892['ZjyVi'](buildBrowserOptionsFromSettings,_0x31227f,{'headless':_0x4c1ae5?![]:_0x31227f['headless']??!![],'storageStatePath':_0x426fa9});if(process['getuid']?.()===0x0){const _0x14e4a1=['--no-sandbox','--disable-setuid-sandbox'],_0x333cc6=_0x13f811[_0x22a785(0x97)]??[],_0x3ff0fd=_0x14e4a1[_0x22a785(0x68)](_0x2f25e2=>!_0x333cc6['includes'](_0x2f25e2));_0x13f811[_0x22a785(0x97)]=[..._0x333cc6,..._0x3ff0fd];}return{'isolated':!![],'browserName':'chromium','launchOptions':_0x13f811,'contextOptions':{..._0x1f4628,'permissions':[_0x4ec892['dLTIM'],'clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x569846={'name':_0x5cbb85,'browser':_0x362423,'capabilities':[_0x4ec892['NdYvY'],_0x4152d7(0x6f),_0x4152d7(0x70),_0x4152d7(0xb0),_0x4ec892['ToXyU']],'imageResponses':_0x4152d7(0xbf),'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x33f75c};if(!_0x4d05fd){const _0x40bde7=_0x569846['browser'],_0x147171=_0x40bde7['contextOptions'];if(_0x4ec892['YdDSX'](_0x147171['userAgent'],undefined))delete _0x147171[_0x4152d7(0x77)];if(_0x147171['storageState']===undefined)delete _0x147171[_0x4152d7(0xaf)];}const _0x3f5000=join(tmpdir(),_0x4ec892['fDKSR']);!existsSync(_0x3f5000)&&await _0x4ec892['ZjyVi'](mkdir,_0x3f5000,{'recursive':!![]});const _0x54ed8c=join(_0x3f5000,_0x5cbb85+'-'+Date[_0x4152d7(0xa8)]()+'.json');return await _0x4ec892['ehtLe'](writeFile,_0x54ed8c,JSON[_0x4152d7(0x7f)](_0x569846,null,0x2)),{'configPath':_0x54ed8c,'tempAuthPath':_0xaed4af};}export async function buildPlaywrightCliConfig(_0x3dcaea,_0x2d8d5b,_0x5610c7,_0x5423e7){const _0x216fa6=_0x31ea3a,_0x12687c={'CXdGa':function(_0x1a56d2,_0x225efb,_0x363301){return _0x1a56d2(_0x225efb,_0x363301);},'aBNYQ':function(_0xd1f5b9,_0x160211){return _0xd1f5b9===_0x160211;},'IzocM':'--disable-setuid-sandbox','vryRI':'clipboard-write','QDrSR':function(_0xa72d51,_0x5e5596){return _0xa72d51(_0x5e5596);},'xUAdz':_0x216fa6(0x74),'PtDuC':function(_0x3c18f2){return _0x3c18f2();},'MRaph':function(_0x55e324,_0x7ce8d0){return _0x55e324 instanceof _0x7ce8d0;},'Zowoc':function(_0x65f5fb,_0x12570a,_0x49886c,_0x2b11d4){return _0x65f5fb(_0x12570a,_0x49886c,_0x2b11d4);},'bzjyX':_0x216fa6(0x8a),'wDsfR':function(_0x9fb443,_0x153469){return _0x9fb443(_0x153469);},'Hodjq':'file','fnmFI':'none','uzqwq':'ranger-config','fymHM':function(_0x18e97d,_0x2e0160){return _0x18e97d(_0x2e0160);}},_0x3ad21d=_0x12687c[_0x216fa6(0xc6)](getEnvDir,_0x2d8d5b),_0x532f4c=join(_0x3ad21d,'auth.json.enc'),_0x2d6e33=join(_0x3ad21d,_0x12687c[_0x216fa6(0xc2)]);let _0x55ba9c,_0x2f6361;if(_0x12687c[_0x216fa6(0xc6)](existsSync,_0x532f4c))try{const _0x3463a3=await _0x12687c['PtDuC'](getToken);if(!_0x3463a3)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x2dedc2=await _0x12687c['QDrSR'](readFile,_0x532f4c),_0x8f869d=_0x12687c[_0x216fa6(0x87)](decrypt,_0x2dedc2,_0x3463a3);_0x2f6361=_0x12687c[_0x216fa6(0x87)](join,tmpdir(),_0x216fa6(0x94)+Date[_0x216fa6(0xa8)]()+_0x216fa6(0x9c)),await writeFile(_0x2f6361,_0x8f869d),_0x55ba9c=_0x2f6361;}catch(_0x48a0bc){const _0x5234de=_0x12687c['MRaph'](_0x48a0bc,Error)?_0x48a0bc[_0x216fa6(0xa6)]:_0x12687c['QDrSR'](String,_0x48a0bc);throw new Error(_0x216fa6(0xaa)+_0x5234de);}else existsSync(_0x2d6e33)&&(_0x55ba9c=_0x2d6e33);const _0x3c15d0=_0x5610c7||randomUUID(),_0xfe610f=_0x12687c[_0x216fa6(0x75)](join,_0x12687c['PtDuC'](getRangerDir),_0x12687c['bzjyX'],_0x3c15d0),_0x237c05=_0x12687c[_0x216fa6(0x78)](Boolean,_0x3dcaea['cdpEndpoint']),_0x2cc7d6=_0x237c05?{'browserName':_0x216fa6(0xb2),'cdpEndpoint':_0x3dcaea[_0x216fa6(0xc8)]}:((()=>{const _0x5eeca0=_0x216fa6,{launchOptions:_0x1e44db,contextOptions:_0x50b1fc}=_0x12687c['CXdGa'](buildBrowserOptionsFromSettings,_0x3dcaea,{'headless':_0x5423e7?![]:_0x3dcaea[_0x5eeca0(0xce)]??!![],'storageStatePath':_0x55ba9c});if(_0x12687c['aBNYQ'](process['getuid']?.(),0x0)){const _0xe57319=['--no-sandbox',_0x12687c[_0x5eeca0(0xb5)]],_0x578b0e=_0x1e44db[_0x5eeca0(0x97)]??[],_0x15cc1c=_0xe57319['filter'](_0x474b6c=>!_0x578b0e['includes'](_0x474b6c));_0x1e44db[_0x5eeca0(0x97)]=[..._0x578b0e,..._0x15cc1c];}return{'isolated':!![],'browserName':'chromium','launchOptions':_0x1e44db,'contextOptions':{..._0x50b1fc,'permissions':[_0x5eeca0(0x7b),_0x12687c[_0x5eeca0(0xc0)]],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x237c05){const _0x5d6590=_0x2cc7d6['contextOptions'];if(_0x12687c['aBNYQ'](_0x5d6590[_0x216fa6(0x77)],undefined))delete _0x5d6590[_0x216fa6(0x77)];if(_0x5d6590[_0x216fa6(0xaf)]===undefined)delete _0x5d6590[_0x216fa6(0xaf)];}const _0x233f7b={'browser':_0x2cc7d6,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0xfe610f,'outputMode':_0x12687c['Hodjq'],'codegen':_0x12687c[_0x216fa6(0x98)]},_0x4aa309=_0x12687c['CXdGa'](join,tmpdir(),_0x12687c[_0x216fa6(0xbd)]);!_0x12687c[_0x216fa6(0xb6)](existsSync,_0x4aa309)&&await _0x12687c['CXdGa'](mkdir,_0x4aa309,{'recursive':!![]});const _0x3a6509=join(_0x4aa309,_0x2d8d5b+'-'+Date['now']()+_0x216fa6(0x95));return await writeFile(_0x3a6509,JSON['stringify'](_0x233f7b,null,0x2)),{'configPath':_0x3a6509,'tempAuthPath':_0x2f6361};}export function getNestedValue(_0x19f012,_0xc09713){const _0x3e48db=_0x31ea3a,_0x334be1={'bPzyV':function(_0x1ce470,_0x3d9e37){return _0x1ce470(_0x3d9e37);},'wgqlh':_0x3e48db(0xb4)},_0x35d21b=_0x334be1[_0x3e48db(0xb1)](parseKeyPath,_0xc09713);let _0x1c999a=_0x19f012;for(const _0x2f80ff of _0x35d21b){if(_0x1c999a===null||_0x1c999a===undefined||typeof _0x1c999a!==_0x334be1[_0x3e48db(0xd0)])return undefined;_0x1c999a=_0x1c999a[_0x2f80ff];}return _0x1c999a;}export function setNestedValue(_0x4c402b,_0x3c744e,_0xc77174){const _0x597fd4=_0x31ea3a,_0x46a89b={'HdCDJ':function(_0x3ec6c8,_0x459d0d){return _0x3ec6c8(_0x459d0d);},'wQGBJ':function(_0x144986,_0x415751){return _0x144986<_0x415751;},'ypugi':function(_0x3607dc,_0x48bfac){return _0x3607dc-_0x48bfac;},'waZLs':function(_0x43f8bc,_0x2e0c93){return _0x43f8bc!==_0x2e0c93;},'dgQGH':'object'},_0x1cfa6e=_0x46a89b['HdCDJ'](parseKeyPath,_0x3c744e);let _0x20ddf6=_0x4c402b;for(let _0x966def=0x0;_0x46a89b[_0x597fd4(0xa5)](_0x966def,_0x46a89b[_0x597fd4(0x81)](_0x1cfa6e[_0x597fd4(0x83)],0x1));_0x966def++){const _0x21a979=_0x1cfa6e[_0x966def];(!(_0x21a979 in _0x20ddf6)||_0x46a89b[_0x597fd4(0x6c)](typeof _0x20ddf6[_0x21a979],_0x46a89b[_0x597fd4(0x8e)]))&&(_0x20ddf6[_0x21a979]={}),_0x20ddf6=_0x20ddf6[_0x21a979];}_0x20ddf6[_0x1cfa6e[_0x46a89b[_0x597fd4(0x81)](_0x1cfa6e[_0x597fd4(0x83)],0x1)]]=_0xc77174;}export function deleteNestedValue(_0x2b3a96,_0x2df5df){const _0xcaba25=_0x31ea3a,_0x4c574f={'eaTrY':function(_0x2670c1,_0x264e5e){return _0x2670c1(_0x264e5e);},'AUwYW':function(_0x4825ed,_0x1af3d6){return _0x4825ed<_0x1af3d6;},'mSknJ':function(_0x402aa1,_0x598412){return _0x402aa1===_0x598412;},'DbYUj':function(_0x4288ec,_0x1ba978){return _0x4288ec!==_0x1ba978;},'nqfFI':function(_0x28492b,_0x16ed13){return _0x28492b-_0x16ed13;}},_0x195db4=_0x4c574f[_0xcaba25(0xb9)](parseKeyPath,_0x2df5df);let _0x38d407=_0x2b3a96;for(let _0x5e76b6=0x0;_0x4c574f[_0xcaba25(0x72)](_0x5e76b6,_0x195db4[_0xcaba25(0x83)]-0x1);_0x5e76b6++){if(_0x38d407===null||_0x4c574f[_0xcaba25(0x80)](_0x38d407,undefined)||_0x4c574f[_0xcaba25(0x8b)](typeof _0x38d407,_0xcaba25(0xb4)))return![];_0x38d407=_0x38d407[_0x195db4[_0x5e76b6]];}if(_0x4c574f[_0xcaba25(0x80)](_0x38d407,null)||_0x38d407===undefined||typeof _0x38d407!=='object')return![];const _0xeb5b3b=_0x195db4[_0x4c574f['nqfFI'](_0x195db4[_0xcaba25(0x83)],0x1)];if(_0xeb5b3b in _0x38d407)return delete _0x38d407[_0xeb5b3b],!![];return![];}function _0x52fd(){const _0x3f5b83=['utf-8','mrtdX','filter','zulfX','safeMode','qQqYj','waZLs','env','loJLW','tabs','install','local','AUwYW','core','auth.json','Zowoc','KrMdm','userAgent','wDsfR','11525672ifKYgI','all','clipboard-read','configPath','path','EhWlK','stringify','mSknJ','ypugi','legacy','length','936882zeOQXN','12950931cLgYTF','entries','CXdGa','UHfAG','CKCxQ','sessions','DbYUj','CahKb','--disable-web-security','dgQGH','replace','EfCQp','1297136YXSoqo','Environment\x20variable\x20','repeat','ranger-auth-','-cli.json','push','args','fnmFI','pWzPk','extraHTTPHeaders','map','.json','vRGzK','allowInsecureLocalhost','CbGCr','headers','5ZcopAc','vFuOY','isArray','3156228ceIvDq','wQGBJ','message','6670662QQODRA','now','\x20is\x20not\x20set','Failed\x20to\x20decrypt\x20auth\x20state:\x20','includes','HFGLt','tOyLd','auth.json.enc','storageState','pdf','bPzyV','chromium','uggeN','object','IzocM','fymHM','setupHeader','locations','eaTrY','WKdMX','launchOptions','join','uzqwq','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','allow','vryRI','split','xUAdz','ranger-config','TnNtS','parse','QDrSR','ENOENT','cdpEndpoint','Epazg','KNdhj','boolean','Afxqy','storageStatePath','headless','8532kdQuZb','wgqlh','vision','1059IwJCqS','location','catch'];_0x52fd=function(){return _0x3f5b83;};return _0x52fd();}function parseKeyPath(_0x1969d6){const _0x2ce72d=_0x31ea3a,_0x5b2bfd={'vRGzK':'header','LQoLD':'setupHeaders'},_0x4a8908=_0x1969d6[_0x2ce72d(0xc1)]('.');return _0x4a8908[0x0]===_0x5b2bfd[_0x2ce72d(0x9d)]&&(_0x4a8908[0x0]='headers'),_0x4a8908[0x0]===_0x2ce72d(0xb7)&&(_0x4a8908[0x0]=_0x5b2bfd['LQoLD']),_0x4a8908;}export function formatSettings(_0x5527b6,_0x4d7bb4=0x0){const _0x34dcda=_0x31ea3a,_0x40b776={'YGNeu':function(_0x26017c,_0x3618a0){return _0x26017c===_0x3618a0;},'KrMdm':function(_0x505793,_0x2116ef){return _0x505793!==_0x2116ef;}},_0x1f39d8=[],_0x10b078='\x20\x20'[_0x34dcda(0x93)](_0x4d7bb4);for(const [_0x2499e9,_0x11b759]of Object['entries'](_0x5527b6)){if(_0x40b776['YGNeu'](_0x11b759,undefined))continue;if(_0x40b776['YGNeu'](typeof _0x11b759,'object')&&_0x40b776[_0x34dcda(0x76)](_0x11b759,null)){_0x1f39d8[_0x34dcda(0x96)](''+_0x10b078+_0x2499e9+':');for(const [_0x1099a5,_0x24a3f8]of Object[_0x34dcda(0x86)](_0x11b759)){_0x1f39d8['push'](_0x10b078+'\x20\x20'+_0x1099a5+':\x20'+_0x24a3f8);}}else _0x1f39d8[_0x34dcda(0x96)](''+_0x10b078+_0x2499e9+':\x20'+_0x11b759);}return _0x1f39d8[_0x34dcda(0xbc)]('\x0a');}
1
+ const _0x1ee84c=_0x1b10;(function(_0x1e3b93,_0x1b1ec1){const _0x27d6e6=_0x1b10,_0x3ab82b=_0x1e3b93();while(!![]){try{const _0xffdab2=-parseInt(_0x27d6e6(0x1f2))/0x1*(parseInt(_0x27d6e6(0x239))/0x2)+parseInt(_0x27d6e6(0x207))/0x3+parseInt(_0x27d6e6(0x214))/0x4*(-parseInt(_0x27d6e6(0x220))/0x5)+-parseInt(_0x27d6e6(0x1f9))/0x6*(parseInt(_0x27d6e6(0x248))/0x7)+parseInt(_0x27d6e6(0x1e5))/0x8*(parseInt(_0x27d6e6(0x1e1))/0x9)+-parseInt(_0x27d6e6(0x1f1))/0xa+parseInt(_0x27d6e6(0x203))/0xb;if(_0xffdab2===_0x1b1ec1)break;else _0x3ab82b['push'](_0x3ab82b['shift']());}catch(_0x38c644){_0x3ab82b['push'](_0x3ab82b['shift']());}}}(_0xb415,0xd5881));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(_0x28cdc8){const _0x6bfd80=_0x1b10,_0x12e11e={'ZZzAH':function(_0x4bd112){return _0x4bd112();},'SXMdr':function(_0x3298d4,_0x127f61,_0x1955b1,_0xbe19c8){return _0x3298d4(_0x127f61,_0x1955b1,_0xbe19c8);},'BYimc':function(_0x580742,_0x215da8,_0x18e678){return _0x580742(_0x215da8,_0x18e678);},'xlyxv':function(_0xddd3b6,_0x4feec6){return _0xddd3b6(_0x4feec6);},'JnlJW':function(_0xaf3b58,_0x27a3bf){return _0xaf3b58(_0x27a3bf);},'GwfHv':function(_0x453613,_0x331351){return _0x453613(_0x331351);},'swBtJ':function(_0x3547aa,_0x341baf){return _0x3547aa!==_0x341baf;}},_0xe6b50f=_0x12e11e[_0x6bfd80(0x232)](getRangerDir),_0x171a12=join(_0xe6b50f,'ci',_0x28cdc8),_0x505874=_0x12e11e[_0x6bfd80(0x225)](join,_0xe6b50f,'local',_0x28cdc8),_0x2208e5=_0x12e11e[_0x6bfd80(0x1f6)](join,_0xe6b50f,_0x28cdc8),_0x2c32b5=join(_0xe6b50f,'local'),_0x4eee8c=join(_0xe6b50f,'ci');if(_0x12e11e['xlyxv'](existsSync,_0x171a12))return _0x171a12;if(_0x12e11e['JnlJW'](existsSync,_0x505874))return _0x505874;if(_0x12e11e[_0x6bfd80(0x21b)](existsSync,_0x2208e5)&&(_0x12e11e['swBtJ'](_0x2208e5,_0x2c32b5)&&_0x2208e5!==_0x4eee8c?!![]:hasLegacyProfileFiles(_0x2208e5)))return _0x2208e5;return _0x505874;}function _0xb415(){const _0x463cfc=['core','oZDYW','MGonA','browser','hTUHc','UZDRK','mKlGm','.json','5636aXyidW','EcIAX','clipboard-write','repeat','goDJu','ZBGFl','path','GwfHv','allowInsecureLocalhost','xXtit','aEDzd','QFvTa','1770PFTsjV','KdRLX','contextOptions','XkhXt','isArray','SXMdr','length','locations','cdpEndpoint','--disable-setuid-sandbox','eZXOQ','Environment\x20variable\x20','rgNvS','header','KQIII','--no-sandbox','TBcIh','njvSS','ZZzAH','tabs','LgrhX','string','nWiqZ','entries','fDSFz','6ISBLaW','join','storageState','VQcWY','GzPpU','dyWjn','setupHeaders','tcBJG','nMmEt','omNAk','hwRyS','boolean','local','HoQdi','fromEntries','749yPcPcr','includes','ENOENT','DHarj','extraHTTPHeaders','qVVCz','SUHYC','stringify','zxwro','lRrNr','ROAKx','ERrKa','warn','--allow-insecure-localhost','999xiBdKo','now','lMRIG','--unsafely-treat-insecure-origin-as-secure=http://localhost','61192HmjyLG','map','getuid','bGcgu','bPvLu','EAWWy','HHkCf','xRRXw','code','clipboard-read','dcIPU','headers','4701040StqwFN','564089WKZxFR','kbLzG','sessions','allow','BYimc','ILkob','IbxyK','51858BLFRpk','--allow-running-insecure-content','args','Failed\x20to\x20decrypt\x20auth\x20state:\x20','headless','JXUGe','userAgent','auth.json','location','chromium','35871737CyxutA','WgVNf','parse','push','1051431QgQAAY','env','KOETV','message','ranger-auth-'];_0xb415=function(){return _0x463cfc;};return _0xb415();}export function findExistingEnv(_0x39abce,_0x18485b){const _0x580ae8=_0x1b10,_0x265f63={'bPvLu':function(_0x173b15){return _0x173b15();},'dcIPU':'local','KsenX':'legacy','xXtit':function(_0x450fac,_0xaff2cd,_0x4d004a){return _0x450fac(_0xaff2cd,_0x4d004a);},'WgVNf':function(_0x4de10d,_0xd18b2b,_0x305057,_0x4a7730){return _0x4de10d(_0xd18b2b,_0x305057,_0x4a7730);},'KOETV':function(_0x43c18f,_0x56167b){return _0x43c18f(_0x56167b);},'dvJos':function(_0x4f9447,_0x18dcdd){return _0x4f9447===_0x18dcdd;}},_0x3ccf84=_0x265f63[_0x580ae8(0x1e9)](getRangerDir),_0x3c86d2=_0x18485b?.[_0x580ae8(0x227)]??['ci',_0x265f63['dcIPU'],_0x265f63['KsenX']],_0x343fb3=_0x265f63[_0x580ae8(0x21d)](join,_0x3ccf84,_0x265f63[_0x580ae8(0x1ef)]),_0x2e3274=join(_0x3ccf84,'ci'),_0x16961c=[{'location':'ci','path':join(_0x3ccf84,'ci',_0x39abce)},{'location':'local','path':_0x265f63[_0x580ae8(0x204)](join,_0x3ccf84,_0x580ae8(0x245),_0x39abce)},{'location':_0x265f63['KsenX'],'path':join(_0x3ccf84,_0x39abce)}];for(const _0x33e83b of _0x16961c){if(_0x3c86d2['includes'](_0x33e83b[_0x580ae8(0x201)])&&_0x265f63[_0x580ae8(0x209)](existsSync,_0x33e83b['path'])){if(_0x265f63['dvJos'](_0x33e83b['location'],'legacy')&&(_0x265f63['dvJos'](_0x33e83b['path'],_0x343fb3)||_0x33e83b[_0x580ae8(0x21a)]===_0x2e3274)&&!_0x265f63['KOETV'](hasLegacyProfileFiles,_0x33e83b['path']))continue;return{'path':_0x33e83b['path'],'location':_0x33e83b['location']};}}return null;}function hasLegacyProfileFiles(_0x2ca819){const _0x3eb094=_0x1b10,_0x358885={'DHarj':function(_0x110192,_0x3a66fe,_0x21cc39){return _0x110192(_0x3a66fe,_0x21cc39);},'zxwro':function(_0x53080c,_0x159d4e){return _0x53080c(_0x159d4e);},'goDJu':_0x3eb094(0x200),'kbLzG':function(_0xc39f55,_0x44e824){return _0xc39f55(_0x44e824);},'tgXVO':'auth.json.enc'};return existsSync(_0x358885[_0x3eb094(0x24b)](join,_0x2ca819,'settings.json'))||_0x358885[_0x3eb094(0x250)](existsSync,join(_0x2ca819,_0x358885[_0x3eb094(0x218)]))||_0x358885[_0x3eb094(0x1f3)](existsSync,_0x358885[_0x3eb094(0x24b)](join,_0x2ca819,_0x358885['tgXVO']));}export function isEnvCi(_0x51093c){const _0x180357=_0x1b10,_0x216a7d={'dyWjn':function(_0x4605c2,_0xd71ce1){return _0x4605c2(_0xd71ce1);},'COtDp':function(_0x6c281f,_0x2e02e7,_0x416e85,_0x2e3e77){return _0x6c281f(_0x2e02e7,_0x416e85,_0x2e3e77);},'rgNvS':function(_0x1f78d4){return _0x1f78d4();}};return _0x216a7d[_0x180357(0x23e)](existsSync,_0x216a7d['COtDp'](join,_0x216a7d[_0x180357(0x22c)](getRangerDir),'ci',_0x51093c));}function _0x1b10(_0x5c0468,_0x16ba50){_0x5c0468=_0x5c0468-0x1e1;const _0xb415b6=_0xb415();let _0x1b1027=_0xb415b6[_0x5c0468];return _0x1b1027;}export async function cleanupTempFiles(_0x32170b){const _0x2a0ff1=_0x1b10,_0x1a3a37={'XkhXt':function(_0x23b77f,_0x1e3015){return _0x23b77f!==_0x1e3015;}},_0x2dd967=[_0x32170b['tempAuthPath'],_0x32170b['configPath']]['filter'](Boolean);await Promise['all'](_0x2dd967[_0x2a0ff1(0x1e6)](_0x253bf0=>unlink(_0x253bf0)['catch'](_0x2ef73b=>{const _0x4dc554=_0x2a0ff1;_0x1a3a37[_0x4dc554(0x223)](_0x2ef73b[_0x4dc554(0x1ed)],_0x4dc554(0x24a))&&console[_0x4dc554(0x254)]('Failed\x20to\x20clean\x20up\x20temp\x20file\x20'+_0x253bf0+':',_0x2ef73b[_0x4dc554(0x20a)]);})));}export function getSettingsPath(_0xa5179a){const _0x7e9f09=_0x1b10,_0xdaba38={'vmaSX':function(_0x2dc8c7,_0x2a4746,_0x140be7){return _0x2dc8c7(_0x2a4746,_0x140be7);},'KdRLX':function(_0x43dd33,_0x5d52e8){return _0x43dd33(_0x5d52e8);}};return _0xdaba38['vmaSX'](join,_0xdaba38[_0x7e9f09(0x221)](getEnvDir,_0xa5179a),'settings.json');}export async function loadSettings(_0x19bb63){const _0x10710d=_0x1b10,_0x3af554={'GzPpU':function(_0x4ba560,_0x24d95d,_0x3ce3b1){return _0x4ba560(_0x24d95d,_0x3ce3b1);}},_0x469576=getSettingsPath(_0x19bb63);if(!existsSync(_0x469576))return{};try{const _0x30b5d6=await _0x3af554[_0x10710d(0x23d)](readFile,_0x469576,'utf-8');return JSON[_0x10710d(0x205)](_0x30b5d6);}catch{return{};}}export async function saveSettings(_0x325b98,_0x3b713e){const _0x13fa1c=_0x1b10,_0x5630a4={'MWyGk':function(_0x550470,_0x20c45e){return _0x550470(_0x20c45e);},'HHkCf':function(_0x1ea74d,_0x474ca0){return _0x1ea74d(_0x474ca0);},'omNAk':function(_0x4399b0,_0x5e2218,_0x50cee5){return _0x4399b0(_0x5e2218,_0x50cee5);},'tcBJG':function(_0x45d3f5,_0x5ca02d,_0x541c33){return _0x45d3f5(_0x5ca02d,_0x541c33);}},_0x5ae702=_0x5630a4['MWyGk'](getSettingsPath,_0x325b98),_0xc2234f=dirname(_0x5ae702);!_0x5630a4[_0x13fa1c(0x1eb)](existsSync,_0xc2234f)&&await _0x5630a4[_0x13fa1c(0x242)](mkdir,_0xc2234f,{'recursive':!![]}),await _0x5630a4[_0x13fa1c(0x240)](writeFile,_0x5ae702,JSON['stringify'](_0x3b713e,null,0x2));}export function resolveEnvVars(_0x57fec9){const _0x59a353=_0x1b10,_0x4c9f5e={'nTbkz':function(_0x4e59e9,_0x106189){return _0x4e59e9===_0x106189;},'EcIAX':function(_0x297cc3,_0xa6c293){return _0x297cc3===_0xa6c293;}};if(_0x4c9f5e['nTbkz'](typeof _0x57fec9,_0x59a353(0x235)))return _0x57fec9['replace'](/\$\{(\w+)\}/g,(_0x22ffc5,_0x17d6cd)=>{const _0x1a9da0=_0x59a353,_0x343e2b=process[_0x1a9da0(0x208)][_0x17d6cd];if(_0x343e2b===undefined)throw new Error(_0x1a9da0(0x22b)+_0x17d6cd+'\x20is\x20not\x20set');return _0x343e2b;});if(Array[_0x59a353(0x224)](_0x57fec9))return _0x57fec9['map'](resolveEnvVars);if(_0x57fec9&&_0x4c9f5e[_0x59a353(0x215)](typeof _0x57fec9,'object'))return Object[_0x59a353(0x247)](Object[_0x59a353(0x237)](_0x57fec9)[_0x59a353(0x1e6)](([_0x7e5465,_0x1c2108])=>[_0x7e5465,resolveEnvVars(_0x1c2108)]));return _0x57fec9;}const isRecord=_0x53e661=>typeof _0x53e661==='object'&&_0x53e661!==null&&!Array['isArray'](_0x53e661),asRecord=_0x495cf4=>isRecord(_0x495cf4)?_0x495cf4:undefined,mergeHeaders=(_0x536e19,_0x186f1e)=>{const _0x41a451=_0x1b10,_0x37f804={'uskyd':function(_0x1a5443,_0x1a521e){return _0x1a5443??_0x1a521e;},'ILkob':function(_0x396e8e,_0x5e86dd){return _0x396e8e??_0x5e86dd;}},_0x148de2={..._0x37f804['uskyd'](_0x536e19,{}),..._0x37f804[_0x41a451(0x1f7)](_0x186f1e,{})};return Object['keys'](_0x148de2)['length']?_0x148de2:undefined;},SAFE_MODE_ARGS=['--disable-features=WebBluetooth'],ALLOW_LOCALHOST_ARGS=['--disable-web-security',_0x1ee84c(0x1fa),_0x1ee84c(0x1e4),_0x1ee84c(0x255)];export function buildBrowserOptionsFromSettings(_0x534b42,_0x243599={}){const _0x5462aa=_0x1ee84c,_0x115f45={'lMRIG':function(_0x1c3602,_0xb83b3){return _0x1c3602(_0xb83b3);},'TBcIh':function(_0x2a9147,_0xd544eb){return _0x2a9147(_0xd544eb);},'oZDYW':_0x5462aa(0x244),'Pdgrp':function(_0x2ab922,_0x23635e){return _0x2ab922===_0x23635e;},'ZBGFl':function(_0x1ec33d,_0xadc5dc){return _0x1ec33d(_0xadc5dc);}},_0x114b74=_0x115f45[_0x5462aa(0x1e3)](asRecord,_0x534b42[_0x5462aa(0x20f)]),_0xf8efc0={..._0x115f45[_0x5462aa(0x230)](asRecord,_0x114b74?.['launchOptions'])??{}};typeof _0x243599['headless']===_0x115f45[_0x5462aa(0x20d)]&&(_0xf8efc0['headless']=_0x243599['headless']);if(_0x534b42['safeMode']){const _0xb75eaa=_0xf8efc0['args']??[],_0x356ae0=SAFE_MODE_ARGS['filter'](_0x1e73b7=>!_0xb75eaa[_0x5462aa(0x249)](_0x1e73b7));_0xf8efc0['args']=[..._0xb75eaa,..._0x356ae0];}if(_0x534b42[_0x5462aa(0x21c)]){const _0x2ad07c=_0xf8efc0['args']??[],_0x40c0be=ALLOW_LOCALHOST_ARGS['filter'](_0x4e6aaa=>!_0x2ad07c['includes'](_0x4e6aaa));_0xf8efc0[_0x5462aa(0x1fb)]=[..._0x2ad07c,..._0x40c0be];}const _0x82ead6={...asRecord(_0x114b74?.[_0x5462aa(0x222)])??{}};_0x82ead6['ignoreHTTPSErrors']=!![];_0x115f45['Pdgrp'](typeof _0x534b42[_0x5462aa(0x1ff)],'string')&&(_0x82ead6['userAgent']=_0x534b42['userAgent']);const _0x163068=mergeHeaders(asRecord(_0x82ead6[_0x5462aa(0x24c)]),_0x115f45[_0x5462aa(0x219)](asRecord,_0x534b42[_0x5462aa(0x1f0)]));return _0x163068?_0x82ead6['extraHTTPHeaders']=_0x163068:delete _0x82ead6['extraHTTPHeaders'],_0x243599['storageStatePath']&&(_0x82ead6['storageState']=_0x243599['storageStatePath']),{'launchOptions':_0xf8efc0,'contextOptions':_0x82ead6};}export async function buildPlaywrightConfig(_0x2c798c,_0x11183f,_0x74707e,_0x570c7f){const _0x11b2fd=_0x1ee84c,_0x4f7ae5={'fxEPU':_0x11b2fd(0x229),'zdidv':'chromium','EBjQN':'auth.json','mKlGm':function(_0x28dd1c,_0x1bdbc0){return _0x28dd1c(_0x1bdbc0);},'nMmEt':function(_0x20fce6){return _0x20fce6();},'sknSN':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','LgrhX':function(_0x3d5010,_0x14ee94,_0x5f2225){return _0x3d5010(_0x14ee94,_0x5f2225);},'kWGee':function(_0x5035cd){return _0x5035cd();},'njvSS':_0x11b2fd(0x20c),'EAWWy':_0x11b2fd(0x233),'PUoOD':'vision','KQIII':_0x11b2fd(0x1f5),'ROAKx':function(_0x5b2a17,_0x801587){return _0x5b2a17===_0x801587;},'IQLPE':function(_0x250e89,_0x3ca2da){return _0x250e89(_0x3ca2da);}},_0x3d85a1=getEnvDir(_0x11183f),_0x23c33b=join(_0x3d85a1,'auth.json.enc'),_0x343312=join(_0x3d85a1,_0x4f7ae5['EBjQN']);let _0x1de17f,_0x246ae9;if(_0x4f7ae5[_0x11b2fd(0x212)](existsSync,_0x23c33b))try{const _0x4f20f8=await _0x4f7ae5[_0x11b2fd(0x241)](getToken);if(!_0x4f20f8)throw new Error(_0x4f7ae5['sknSN']);const _0x26657d=await _0x4f7ae5[_0x11b2fd(0x212)](readFile,_0x23c33b),_0x33b999=_0x4f7ae5[_0x11b2fd(0x234)](decrypt,_0x26657d,_0x4f20f8);_0x246ae9=_0x4f7ae5['LgrhX'](join,_0x4f7ae5['nMmEt'](tmpdir),_0x11b2fd(0x20b)+Date[_0x11b2fd(0x1e2)]()+'.json'),await writeFile(_0x246ae9,_0x33b999),_0x1de17f=_0x246ae9;}catch(_0x3ee7ff){const _0x110814=_0x3ee7ff instanceof Error?_0x3ee7ff['message']:String(_0x3ee7ff);throw new Error(_0x11b2fd(0x1fc)+_0x110814);}else _0x4f7ae5[_0x11b2fd(0x212)](existsSync,_0x343312)&&(_0x1de17f=_0x343312);const _0x455cbb=_0x74707e||_0x4f7ae5[_0x11b2fd(0x241)](randomUUID),_0x497bfd=join(_0x4f7ae5['kWGee'](getRangerDir),'sessions',_0x455cbb),_0x36ac09=Boolean(_0x2c798c[_0x11b2fd(0x228)]),_0x137c67=_0x36ac09?{'browserName':'chromium','cdpEndpoint':_0x2c798c[_0x11b2fd(0x228)]}:((()=>{const _0x4c6e6d=_0x11b2fd,{launchOptions:_0x34c3a3,contextOptions:_0x31c7bb}=buildBrowserOptionsFromSettings(_0x2c798c,{'headless':_0x570c7f?![]:_0x2c798c[_0x4c6e6d(0x1fd)]??!![],'storageStatePath':_0x1de17f});if(process['getuid']?.()===0x0){const _0x262d76=['--no-sandbox',_0x4f7ae5['fxEPU']],_0x4f0a0b=_0x34c3a3[_0x4c6e6d(0x1fb)]??[],_0x557249=_0x262d76['filter'](_0x255b35=>!_0x4f0a0b['includes'](_0x255b35));_0x34c3a3['args']=[..._0x4f0a0b,..._0x557249];}return{'isolated':!![],'browserName':_0x4f7ae5['zdidv'],'launchOptions':_0x34c3a3,'contextOptions':{..._0x31c7bb,'permissions':['clipboard-read','clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x31f4ee={'name':_0x11183f,'browser':_0x137c67,'capabilities':[_0x4f7ae5[_0x11b2fd(0x231)],_0x4f7ae5[_0x11b2fd(0x1ea)],'install','pdf',_0x4f7ae5['PUoOD']],'imageResponses':_0x4f7ae5[_0x11b2fd(0x22e)],'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x497bfd};if(!_0x36ac09){const _0x45a67f=_0x31f4ee['browser'],_0x47ff8d=_0x45a67f[_0x11b2fd(0x222)];if(_0x47ff8d[_0x11b2fd(0x1ff)]===undefined)delete _0x47ff8d['userAgent'];if(_0x4f7ae5[_0x11b2fd(0x252)](_0x47ff8d[_0x11b2fd(0x23b)],undefined))delete _0x47ff8d[_0x11b2fd(0x23b)];}const _0x2f4f89=join(_0x4f7ae5['nMmEt'](tmpdir),'ranger-config');!_0x4f7ae5['IQLPE'](existsSync,_0x2f4f89)&&await mkdir(_0x2f4f89,{'recursive':!![]});const _0x35d9c5=join(_0x2f4f89,_0x11183f+'-'+Date[_0x11b2fd(0x1e2)]()+_0x11b2fd(0x213));return await _0x4f7ae5[_0x11b2fd(0x234)](writeFile,_0x35d9c5,JSON[_0x11b2fd(0x24f)](_0x31f4ee,null,0x2)),{'configPath':_0x35d9c5,'tempAuthPath':_0x246ae9};}export async function buildPlaywrightCliConfig(_0x53c536,_0x31e087,_0x225814,_0x27eb33){const _0x533adf=_0x1ee84c,_0x5b070d={'ERrKa':function(_0x3f4464,_0x320995){return _0x3f4464===_0x320995;},'aEDzd':_0x533adf(0x229),'IbxyK':_0x533adf(0x202),'xvvjX':_0x533adf(0x216),'pzoyK':function(_0x1d745d,_0xdb51a5,_0xc4288d){return _0x1d745d(_0xdb51a5,_0xc4288d);},'OZCjZ':'auth.json.enc','CBogF':function(_0x2a4b24){return _0x2a4b24();},'bjJvm':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','hTUHc':function(_0x518c75,_0x2c350d){return _0x518c75(_0x2c350d);},'imrBX':function(_0x282642,_0x124167,_0x991dce){return _0x282642(_0x124167,_0x991dce);},'nWiqZ':function(_0x2ac7bc){return _0x2ac7bc();},'QFvTa':function(_0x3d64e0,_0x2a9b33){return _0x3d64e0(_0x2a9b33);},'JXUGe':_0x533adf(0x1f4),'bGcgu':'file','KFfJl':'none','VQcWY':function(_0x1377f5){return _0x1377f5();},'MGonA':'ranger-config','QFnGJ':function(_0x29135d,_0x59899a,_0x26de71){return _0x29135d(_0x59899a,_0x26de71);},'HoQdi':function(_0x18290d,_0x4eb76d,_0x1c3b19){return _0x18290d(_0x4eb76d,_0x1c3b19);}},_0x5c2322=getEnvDir(_0x31e087),_0x52df14=_0x5b070d['pzoyK'](join,_0x5c2322,_0x5b070d['OZCjZ']),_0x864536=join(_0x5c2322,_0x533adf(0x200));let _0x4ba31a,_0x33d9f2;if(existsSync(_0x52df14))try{const _0x4878a8=await _0x5b070d['CBogF'](getToken);if(!_0x4878a8)throw new Error(_0x5b070d['bjJvm']);const _0x5f3e28=await _0x5b070d[_0x533adf(0x210)](readFile,_0x52df14),_0x2108f2=_0x5b070d['imrBX'](decrypt,_0x5f3e28,_0x4878a8);_0x33d9f2=join(_0x5b070d[_0x533adf(0x236)](tmpdir),_0x533adf(0x20b)+Date['now']()+_0x533adf(0x213)),await writeFile(_0x33d9f2,_0x2108f2),_0x4ba31a=_0x33d9f2;}catch(_0x49fdd5){const _0x25ccd8=_0x49fdd5 instanceof Error?_0x49fdd5['message']:String(_0x49fdd5);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x25ccd8);}else _0x5b070d[_0x533adf(0x21f)](existsSync,_0x864536)&&(_0x4ba31a=_0x864536);const _0x4f363a=_0x225814||_0x5b070d['nWiqZ'](randomUUID),_0x57b308=join(getRangerDir(),_0x5b070d[_0x533adf(0x1fe)],_0x4f363a),_0x23828a=_0x5b070d['hTUHc'](Boolean,_0x53c536[_0x533adf(0x228)]),_0x143ff5=_0x23828a?{'browserName':_0x5b070d[_0x533adf(0x1f8)],'cdpEndpoint':_0x53c536[_0x533adf(0x228)]}:((()=>{const _0x10d171=_0x533adf,{launchOptions:_0x5d4a7a,contextOptions:_0x5bf6a8}=buildBrowserOptionsFromSettings(_0x53c536,{'headless':_0x27eb33?![]:_0x53c536[_0x10d171(0x1fd)]??!![],'storageStatePath':_0x4ba31a});if(_0x5b070d[_0x10d171(0x253)](process[_0x10d171(0x1e7)]?.(),0x0)){const _0x3efdb5=[_0x10d171(0x22f),_0x5b070d[_0x10d171(0x21e)]],_0x599fa2=_0x5d4a7a[_0x10d171(0x1fb)]??[],_0x701687=_0x3efdb5['filter'](_0x10086f=>!_0x599fa2['includes'](_0x10086f));_0x5d4a7a[_0x10d171(0x1fb)]=[..._0x599fa2,..._0x701687];}return{'isolated':!![],'browserName':_0x5b070d[_0x10d171(0x1f8)],'launchOptions':_0x5d4a7a,'contextOptions':{..._0x5bf6a8,'permissions':[_0x10d171(0x1ee),_0x5b070d['xvvjX']],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x23828a){const _0x306aba=_0x143ff5[_0x533adf(0x222)];if(_0x306aba['userAgent']===undefined)delete _0x306aba['userAgent'];if(_0x5b070d[_0x533adf(0x253)](_0x306aba['storageState'],undefined))delete _0x306aba[_0x533adf(0x23b)];}const _0x29b012={'browser':_0x143ff5,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x57b308,'outputMode':_0x5b070d[_0x533adf(0x1e8)],'codegen':_0x5b070d['KFfJl']},_0x56f3ee=join(_0x5b070d[_0x533adf(0x23c)](tmpdir),_0x5b070d[_0x533adf(0x20e)]);!_0x5b070d[_0x533adf(0x210)](existsSync,_0x56f3ee)&&await _0x5b070d['QFnGJ'](mkdir,_0x56f3ee,{'recursive':!![]});const _0x1fd910=_0x5b070d[_0x533adf(0x246)](join,_0x56f3ee,_0x31e087+'-'+Date[_0x533adf(0x1e2)]()+'-cli.json');return await writeFile(_0x1fd910,JSON[_0x533adf(0x24f)](_0x29b012,null,0x2)),{'configPath':_0x1fd910,'tempAuthPath':_0x33d9f2};}export function getNestedValue(_0x5c6954,_0x1d1969){const _0x4ea6b0=_0x1ee84c,_0x17b30f={'ajJHx':function(_0x2398bb,_0x3843c5){return _0x2398bb===_0x3843c5;},'hwRyS':function(_0x3c7765,_0x333c96){return _0x3c7765!==_0x333c96;}},_0x3b6cbd=parseKeyPath(_0x1d1969);let _0x512273=_0x5c6954;for(const _0x335c8f of _0x3b6cbd){if(_0x512273===null||_0x17b30f['ajJHx'](_0x512273,undefined)||_0x17b30f[_0x4ea6b0(0x243)](typeof _0x512273,'object'))return undefined;_0x512273=_0x512273[_0x335c8f];}return _0x512273;}export function setNestedValue(_0x46898d,_0x4f5bed,_0x10db0e){const _0x2777eb=_0x1ee84c,_0x27e997={'eZXOQ':function(_0x1a9375,_0x1ee21c){return _0x1a9375(_0x1ee21c);},'lRrNr':function(_0x13c8ec,_0x10c793){return _0x13c8ec!==_0x10c793;},'fDSFz':function(_0x4dde94,_0x5580a8){return _0x4dde94-_0x5580a8;}},_0x3074c5=_0x27e997[_0x2777eb(0x22a)](parseKeyPath,_0x4f5bed);let _0x483ef4=_0x46898d;for(let _0x1f10ce=0x0;_0x1f10ce<_0x3074c5[_0x2777eb(0x226)]-0x1;_0x1f10ce++){const _0x580398=_0x3074c5[_0x1f10ce];(!(_0x580398 in _0x483ef4)||_0x27e997[_0x2777eb(0x251)](typeof _0x483ef4[_0x580398],'object'))&&(_0x483ef4[_0x580398]={}),_0x483ef4=_0x483ef4[_0x580398];}_0x483ef4[_0x3074c5[_0x27e997[_0x2777eb(0x238)](_0x3074c5[_0x2777eb(0x226)],0x1)]]=_0x10db0e;}export function deleteNestedValue(_0xd73801,_0x22f44d){const _0x5c742c=_0x1ee84c,_0x5a7623={'RxhVj':function(_0x4acb23,_0x499f9d){return _0x4acb23(_0x499f9d);},'SUHYC':function(_0x7de20d,_0x4a69ca){return _0x7de20d===_0x4a69ca;},'LJrfD':function(_0x465bc2,_0x5300b1){return _0x465bc2!==_0x5300b1;},'bkwuE':'object','qVVCz':function(_0x321a75,_0x2a36b2){return _0x321a75-_0x2a36b2;}},_0x17548c=_0x5a7623['RxhVj'](parseKeyPath,_0x22f44d);let _0x581439=_0xd73801;for(let _0x3d98ab=0x0;_0x3d98ab<_0x17548c['length']-0x1;_0x3d98ab++){if(_0x581439===null||_0x5a7623[_0x5c742c(0x24e)](_0x581439,undefined)||_0x5a7623['LJrfD'](typeof _0x581439,_0x5a7623['bkwuE']))return![];_0x581439=_0x581439[_0x17548c[_0x3d98ab]];}if(_0x5a7623['SUHYC'](_0x581439,null)||_0x581439===undefined||typeof _0x581439!==_0x5a7623['bkwuE'])return![];const _0x44b24c=_0x17548c[_0x5a7623[_0x5c742c(0x24d)](_0x17548c['length'],0x1)];if(_0x44b24c in _0x581439)return delete _0x581439[_0x44b24c],!![];return![];}function parseKeyPath(_0x3e23e1){const _0x1d81e6=_0x1ee84c,_0x4b353d={'UZDRK':function(_0x48513c,_0x2c4e21){return _0x48513c===_0x2c4e21;},'YqCtU':_0x1d81e6(0x22d),'aOGoO':'headers'},_0x359e24=_0x3e23e1['split']('.');return _0x4b353d[_0x1d81e6(0x211)](_0x359e24[0x0],_0x4b353d['YqCtU'])&&(_0x359e24[0x0]=_0x4b353d['aOGoO']),_0x4b353d['UZDRK'](_0x359e24[0x0],'setupHeader')&&(_0x359e24[0x0]=_0x1d81e6(0x23f)),_0x359e24;}export function formatSettings(_0x17ed59,_0x256e9c=0x0){const _0x30a71b=_0x1ee84c,_0x5e4248={'xRRXw':function(_0x3e5893,_0x33a387){return _0x3e5893!==_0x33a387;}},_0x6b8e9f=[],_0x2ffaa2='\x20\x20'[_0x30a71b(0x217)](_0x256e9c);for(const [_0x2f3551,_0x22090a]of Object[_0x30a71b(0x237)](_0x17ed59)){if(_0x22090a===undefined)continue;if(typeof _0x22090a==='object'&&_0x5e4248[_0x30a71b(0x1ec)](_0x22090a,null)){_0x6b8e9f['push'](''+_0x2ffaa2+_0x2f3551+':');for(const [_0x5845d2,_0x5f27c6]of Object['entries'](_0x22090a)){_0x6b8e9f['push'](_0x2ffaa2+'\x20\x20'+_0x5845d2+':\x20'+_0x5f27c6);}}else _0x6b8e9f[_0x30a71b(0x206)](''+_0x2ffaa2+_0x2f3551+':\x20'+_0x22090a);}return _0x6b8e9f[_0x30a71b(0x23a)]('\x0a');}
@@ -1 +1 @@
1
- (function(_0x4bc876,_0x65181d){const _0x266c8b=_0x112a,_0x5d4ccd=_0x4bc876();while(!![]){try{const _0x527a24=-parseInt(_0x266c8b(0x8d))/0x1+-parseInt(_0x266c8b(0x91))/0x2+parseInt(_0x266c8b(0x93))/0x3+parseInt(_0x266c8b(0x92))/0x4*(parseInt(_0x266c8b(0x8f))/0x5)+-parseInt(_0x266c8b(0x94))/0x6*(parseInt(_0x266c8b(0x90))/0x7)+parseInt(_0x266c8b(0x96))/0x8*(-parseInt(_0x266c8b(0x8e))/0x9)+-parseInt(_0x266c8b(0x98))/0xa*(-parseInt(_0x266c8b(0x97))/0xb);if(_0x527a24===_0x65181d)break;else _0x5d4ccd['push'](_0x5d4ccd['shift']());}catch(_0xeb96f9){_0x5d4ccd['push'](_0x5d4ccd['shift']());}}}(_0x4301,0xde039));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';function _0x112a(_0x323ae7,_0x234bb6){_0x323ae7=_0x323ae7-0x8d;const _0x4301b0=_0x4301();let _0x112ac4=_0x4301b0[_0x323ae7];return _0x112ac4;}function _0x4301(){const _0x22da6b=['787048fhIzhh','1507yUxyaX','317430bDGUqV','1620155SRyEqK','18yQjohk','730YZVJoP','35cSfrLH','2726590nEWeEL','1800YEAxas','2682225pkHXTM','1462782nGdJiL','skills'];_0x4301=function(){return _0x22da6b;};return _0x4301();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0xd50855){const _0x283ad8=_0x112a,_0x4aab9f={'xVAyV':function(_0x5c3a6a,_0x5f4094,_0x254e8b,_0x41d524,_0x27b94e){return _0x5c3a6a(_0x5f4094,_0x254e8b,_0x41d524,_0x27b94e);}},_0x315633=_0x4aab9f['xVAyV'](join,__dirname,'..','..',_0x283ad8(0x95)),_0x36067e=join(_0x315633,_0xd50855);try{return readFileSync(_0x36067e,'utf-8');}catch{return'';}}export function getRangerSkillContent(){const _0x278686={'GwJxn':'ranger/SKILL.md'};return readSkillContent(_0x278686['GwJxn']);}
1
+ (function(_0x454994,_0x5c4387){const _0xb3101a=_0x27fe,_0x22cb6a=_0x454994();while(!![]){try{const _0x4040cc=parseInt(_0xb3101a(0x1e9))/0x1*(-parseInt(_0xb3101a(0x1e4))/0x2)+-parseInt(_0xb3101a(0x1df))/0x3+-parseInt(_0xb3101a(0x1de))/0x4+parseInt(_0xb3101a(0x1e8))/0x5+-parseInt(_0xb3101a(0x1e7))/0x6*(-parseInt(_0xb3101a(0x1e3))/0x7)+parseInt(_0xb3101a(0x1ea))/0x8*(-parseInt(_0xb3101a(0x1e2))/0x9)+parseInt(_0xb3101a(0x1e5))/0xa*(parseInt(_0xb3101a(0x1e1))/0xb);if(_0x4040cc===_0x5c4387)break;else _0x22cb6a['push'](_0x22cb6a['shift']());}catch(_0x58966){_0x22cb6a['push'](_0x22cb6a['shift']());}}}(_0x5ebf,0x7fe8f));import{readFileSync}from'fs';import{dirname,join}from'path';function _0x27fe(_0x4b78bc,_0x21d701){_0x4b78bc=_0x4b78bc-0x1de;const _0x5ebfbf=_0x5ebf();let _0x27fe8f=_0x5ebfbf[_0x4b78bc];return _0x27fe8f;}function _0x5ebf(){const _0x2792dc=['117569mtpfcn','16rZsDEy','utf-8','436804ILKpBa','2138658wKkAJD','ranger/SKILL.md','425887PZqSCu','783495Yvxhsu','6195UTtUMK','10GgijKG','160JTztdU','Nurwc','5940nuCTca','3061695kmsAZH'];_0x5ebf=function(){return _0x2792dc;};return _0x5ebf();}import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x325ae8){const _0x10dacf=_0x27fe,_0xcd1768={'bjSHB':function(_0x21c232,_0x32f723,_0x5d21c2,_0x3082f7,_0x1bce5a){return _0x21c232(_0x32f723,_0x5d21c2,_0x3082f7,_0x1bce5a);},'Nurwc':function(_0x18e39f,_0x2d8bd1,_0x3fbd2e){return _0x18e39f(_0x2d8bd1,_0x3fbd2e);},'EGTYe':_0x10dacf(0x1eb)},_0x2d9555=_0xcd1768['bjSHB'](join,__dirname,'..','..','skills'),_0x626d82=join(_0x2d9555,_0x325ae8);try{return _0xcd1768[_0x10dacf(0x1e6)](readFileSync,_0x626d82,_0xcd1768['EGTYe']);}catch{return'';}}export function getRangerSkillContent(){const _0x426ed2=_0x27fe,_0xc2bea0={'YdkJV':function(_0x353150,_0xf35b9){return _0x353150(_0xf35b9);},'qDuSS':_0x426ed2(0x1e0)};return _0xc2bea0['YdkJV'](readSkillContent,_0xc2bea0['qDuSS']);}
@@ -1 +1 @@
1
- const _0x171a16=_0x3a51;(function(_0x52d8bc,_0x3222f0){const _0x59240b=_0x3a51,_0x4dde26=_0x52d8bc();while(!![]){try{const _0x127a60=parseInt(_0x59240b(0x95))/0x1+-parseInt(_0x59240b(0x8c))/0x2+-parseInt(_0x59240b(0x87))/0x3+-parseInt(_0x59240b(0x8b))/0x4*(-parseInt(_0x59240b(0x86))/0x5)+parseInt(_0x59240b(0x81))/0x6*(-parseInt(_0x59240b(0x84))/0x7)+parseInt(_0x59240b(0x94))/0x8*(parseInt(_0x59240b(0x9c))/0x9)+parseInt(_0x59240b(0x80))/0xa*(parseInt(_0x59240b(0x98))/0xb);if(_0x127a60===_0x3222f0)break;else _0x4dde26['push'](_0x4dde26['shift']());}catch(_0x50821a){_0x4dde26['push'](_0x4dde26['shift']());}}}(_0x4d33,0xd4575));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';function _0x3a51(_0x1e46f4,_0x598366){_0x1e46f4=_0x1e46f4-0x7e;const _0x4d33d7=_0x4d33();let _0x3a51f2=_0x4d33d7[_0x1e46f4];return _0x3a51f2;}import{join,dirname}from'path';import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';import{getOpencodeSkillsDir}from'./opencodeConfig.js';function _0x4d33(){const _0x854ee8=['7qvTpIJ','EfNrJ','10yzMCSB','3718071nyHbPc','\x20\x20Files:\x20','log','push','1723336cKiTbn','1508932dLvAYr','claude','skills','join','isDirectory','warn','endsWith','cAkMP','352TTenkq','60711nWyNiH','xtgfo','haJPR','99wDgpCy','\x20\x20Installed\x20skill:\x20','match','catch','64809LFAwvd','ranger','project','filter','xvNyZ','xOLOt','2657440lCvjCq','4604082xzaIaF','bug-bash','SKILL.md'];_0x4d33=function(){return _0x854ee8;};return _0x4d33();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x171a16(0x9d)];export const DEPRECATED_SKILLS=['e2e-test-recommender',_0x171a16(0x82),'feature-tracker'];export async function installSkill(_0x2b338c,_0x216ec7={}){const _0x50d597=_0x171a16,_0x29a4f1={'ZHlvG':_0x50d597(0x9e),'xtgfo':function(_0xcd4ab1,_0x4fb699,_0xf0a0ef){return _0xcd4ab1(_0x4fb699,_0xf0a0ef);},'ATNuF':function(_0x23a990,_0x5c4d69){return _0x23a990&&_0x5c4d69;},'TqqiM':function(_0xd65a13,_0x155d82){return _0xd65a13===_0x155d82;},'cAkMP':'opencode','CmiQA':function(_0x4949ee,_0x5af1c1,_0x4f7029){return _0x4949ee(_0x5af1c1,_0x4f7029);},'haJPR':function(_0x433e75,_0x1d11b2,_0x8f4598){return _0x433e75(_0x1d11b2,_0x8f4598);},'LgEbp':'utf-8','eImaD':function(_0xaae7cc,_0x392e9b,_0x1b6fc3){return _0xaae7cc(_0x392e9b,_0x1b6fc3);},'EfNrJ':function(_0x2ca7ea,_0x2e881a){return _0x2ca7ea>_0x2e881a;}},{level:level=_0x29a4f1['ZHlvG'],cliVersion:_0x209799,platform:platform=_0x50d597(0x8d)}=_0x216ec7,_0x10869a=getSourceSkillsDir(),_0x436973=_0x29a4f1[_0x50d597(0x96)](join,_0x10869a,_0x2b338c),_0x25b60d=join(_0x10869a,_0x2b338c+'.md'),_0x16bd11=existsSync(_0x436973)&&statSync(_0x436973)[_0x50d597(0x90)]()&&existsSync(join(_0x436973,_0x50d597(0x83))),_0x25de4e=existsSync(_0x25b60d);if(_0x29a4f1['ATNuF'](!_0x16bd11,!_0x25de4e))return console['warn']('\x20\x20Skill\x20not\x20found:\x20'+_0x2b338c),![];const _0x3f783b=_0x29a4f1['TqqiM'](platform,_0x29a4f1[_0x50d597(0x93)])?getOpencodeSkillsDir(level):getSkillsDir(level),_0x36f345=join(_0x3f783b,_0x2b338c);await _0x29a4f1['xtgfo'](mkdir,_0x36f345,{'recursive':!![]});let _0x5150cd,_0x1b8f8c=[];if(_0x16bd11){const _0xff9a4a=await readdir(_0x436973),_0x594a10=_0xff9a4a[_0x50d597(0x9f)](_0x4759fe=>_0x4759fe[_0x50d597(0x92)]('.md'));for(const _0x46cbe7 of _0x594a10){const _0x32a22d=join(_0x436973,_0x46cbe7),_0x13fbbb=join(_0x36f345,_0x46cbe7);await _0x29a4f1['CmiQA'](copyFile,_0x32a22d,_0x13fbbb),_0x1b8f8c['push'](_0x46cbe7);}_0x5150cd=await _0x29a4f1[_0x50d597(0x96)](readFile,_0x29a4f1[_0x50d597(0x97)](join,_0x436973,_0x50d597(0x83)),_0x29a4f1['LgEbp']);}else{_0x5150cd=await _0x29a4f1['eImaD'](readFile,_0x25b60d,'utf-8');const _0x41df88=join(_0x36f345,'SKILL.md');await writeFile(_0x41df88,_0x5150cd,_0x29a4f1['LgEbp']),_0x1b8f8c[_0x50d597(0x8a)](_0x50d597(0x83));}const {name:_0xd29c71}=parseFrontmatter(_0x5150cd);return console[_0x50d597(0x89)](_0x50d597(0x99)+_0xd29c71),console[_0x50d597(0x89)]('\x20\x20Location:\x20'+_0x36f345),_0x29a4f1[_0x50d597(0x85)](_0x1b8f8c['length'],0x1)&&console[_0x50d597(0x89)](_0x50d597(0x88)+_0x1b8f8c[_0x50d597(0x8f)](',\x20')),logLocalAgentInstallation(_0x2b338c,{'skillDisplayName':_0xd29c71,'installLevel':level},_0x209799)[_0x50d597(0x9b)](()=>{}),!![];}function getSourceSkillsDir(){const _0x5dcf8e=_0x171a16,_0xcbaa70={'xOLOt':_0x5dcf8e(0x8e)},_0x5913f4=[join(__dirname,'..','..',_0xcbaa70[_0x5dcf8e(0x7f)]),join(__dirname,'..','..','..','skills')];for(const _0x5400f4 of _0x5913f4){if(existsSync(_0x5400f4))return _0x5400f4;}return _0x5913f4[0x0];}function parseFrontmatter(_0x3059dc){const _0x29851c=_0x171a16,_0x5dee37={'xvNyZ':'Invalid\x20skill\x20frontmatter'},_0x6c8af7=_0x3059dc[_0x29851c(0x9a)](/^---\n([\s\S]+?)\n---/);if(!_0x6c8af7)throw new Error(_0x5dee37[_0x29851c(0x7e)]);const _0x2acb5e=_0x6c8af7[0x1],_0x384b21=_0x2acb5e['match'](/name:\s*(.+)/),_0x2342c3=_0x2acb5e[_0x29851c(0x9a)](/description:\s*"?(.+?)"?\n/);return{'name':_0x384b21?.[0x1]['trim']()||'','description':_0x2342c3?.[0x1]['trim']()||''};}export async function removeSkill(_0x2c7d2c,_0x146ada){const _0x21d39b=_0x171a16,_0x3f014f={'CQRsm':function(_0x32db8b,_0xa6b10e){return _0x32db8b(_0xa6b10e);},'BdWeD':function(_0x5165a4,_0x2d9e43,_0x294756){return _0x5165a4(_0x2d9e43,_0x294756);}},_0x5f0bd1=_0x3f014f['CQRsm'](getSkillsDir,_0x146ada),_0x606b0e=_0x3f014f['BdWeD'](join,_0x5f0bd1,_0x2c7d2c);if(!existsSync(_0x606b0e))return![];try{return await _0x3f014f['BdWeD'](rm,_0x606b0e,{'recursive':!![]}),console['log']('\x20\x20Removed\x20deprecated\x20skill:\x20'+_0x2c7d2c),!![];}catch{return console[_0x21d39b(0x91)]('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x2c7d2c),![];}}
1
+ const _0x49c2b6=_0x439d;function _0x439d(_0x238723,_0x1331a4){_0x238723=_0x238723-0xb5;const _0x36f24b=_0x36f2();let _0x439de9=_0x36f24b[_0x238723];return _0x439de9;}(function(_0x3e1c02,_0x2454eb){const _0x509beb=_0x439d,_0x2eae06=_0x3e1c02();while(!![]){try{const _0x26c872=parseInt(_0x509beb(0xd5))/0x1*(parseInt(_0x509beb(0xb5))/0x2)+parseInt(_0x509beb(0xbe))/0x3*(parseInt(_0x509beb(0xca))/0x4)+parseInt(_0x509beb(0xda))/0x5*(-parseInt(_0x509beb(0xd9))/0x6)+parseInt(_0x509beb(0xc8))/0x7+-parseInt(_0x509beb(0xdc))/0x8*(-parseInt(_0x509beb(0xc7))/0x9)+-parseInt(_0x509beb(0xc3))/0xa*(parseInt(_0x509beb(0xbc))/0xb)+-parseInt(_0x509beb(0xbd))/0xc;if(_0x26c872===_0x2454eb)break;else _0x2eae06['push'](_0x2eae06['shift']());}catch(_0x53b196){_0x2eae06['push'](_0x2eae06['shift']());}}}(_0x36f2,0x570c3));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';import{getOpencodeSkillsDir}from'./opencodeConfig.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=['ranger'];export const DEPRECATED_SKILLS=[_0x49c2b6(0xd6),_0x49c2b6(0xce),_0x49c2b6(0xc2)];export async function installSkill(_0x206bcd,_0x3efa17={}){const _0x3f0402=_0x49c2b6,_0x5140c0={'cZeaz':function(_0x6228e9,_0x1d7650,_0x1dec69){return _0x6228e9(_0x1d7650,_0x1dec69);},'IdxKD':function(_0x46fde6,_0x2e7bd5){return _0x46fde6(_0x2e7bd5);},'YLSQB':function(_0x32476b,_0x29fb02){return _0x32476b(_0x29fb02);},'HYCuD':function(_0x40596a,_0x41cc61){return _0x40596a(_0x41cc61);},'UeohL':'SKILL.md','jebTr':function(_0x516f86,_0x5d8b8b){return _0x516f86===_0x5d8b8b;},'jtQxu':_0x3f0402(0xc6),'hbvVu':function(_0x41cc0d,_0x2b0c8d){return _0x41cc0d(_0x2b0c8d);},'HcWjJ':function(_0x565274,_0x363f79,_0x19789c,_0x421f73){return _0x565274(_0x363f79,_0x19789c,_0x421f73);}},{level:level=_0x3f0402(0xb8),cliVersion:_0x19f40c,platform:platform='claude'}=_0x3efa17,_0x3edf89=getSourceSkillsDir(),_0x13e687=_0x5140c0[_0x3f0402(0xd3)](join,_0x3edf89,_0x206bcd),_0x2ec2ca=join(_0x3edf89,_0x206bcd+_0x3f0402(0xc1)),_0x3d94c1=_0x5140c0['IdxKD'](existsSync,_0x13e687)&&_0x5140c0[_0x3f0402(0xbf)](statSync,_0x13e687)['isDirectory']()&&_0x5140c0['HYCuD'](existsSync,join(_0x13e687,_0x5140c0[_0x3f0402(0xd4)])),_0x26db89=existsSync(_0x2ec2ca);if(!_0x3d94c1&&!_0x26db89)return console[_0x3f0402(0xd0)](_0x3f0402(0xe0)+_0x206bcd),![];const _0x54c210=_0x5140c0[_0x3f0402(0xdd)](platform,_0x5140c0['jtQxu'])?getOpencodeSkillsDir(level):_0x5140c0[_0x3f0402(0xc0)](getSkillsDir,level),_0x4b69ab=_0x5140c0[_0x3f0402(0xd3)](join,_0x54c210,_0x206bcd);await mkdir(_0x4b69ab,{'recursive':!![]});let _0x42c290,_0x33c90c=[];if(_0x3d94c1){const _0x407202=await _0x5140c0['HYCuD'](readdir,_0x13e687),_0x306b9a=_0x407202[_0x3f0402(0xc4)](_0x337f57=>_0x337f57[_0x3f0402(0xb9)]('.md'));for(const _0x1a12c1 of _0x306b9a){const _0xfe0cf6=_0x5140c0[_0x3f0402(0xd3)](join,_0x13e687,_0x1a12c1),_0x4121a0=join(_0x4b69ab,_0x1a12c1);await _0x5140c0[_0x3f0402(0xd3)](copyFile,_0xfe0cf6,_0x4121a0),_0x33c90c[_0x3f0402(0xcf)](_0x1a12c1);}_0x42c290=await _0x5140c0['cZeaz'](readFile,join(_0x13e687,_0x5140c0['UeohL']),'utf-8');}else{_0x42c290=await readFile(_0x2ec2ca,_0x3f0402(0xdf));const _0x53360f=join(_0x4b69ab,_0x5140c0[_0x3f0402(0xd4)]);await writeFile(_0x53360f,_0x42c290,'utf-8'),_0x33c90c['push'](_0x5140c0[_0x3f0402(0xd4)]);}const {name:_0x4a1b37}=parseFrontmatter(_0x42c290);return console[_0x3f0402(0xb7)]('\x20\x20Installed\x20skill:\x20'+_0x4a1b37),console[_0x3f0402(0xb7)](_0x3f0402(0xd7)+_0x4b69ab),_0x33c90c[_0x3f0402(0xc9)]>0x1&&console['log'](_0x3f0402(0xdb)+_0x33c90c['join'](',\x20')),_0x5140c0['HcWjJ'](logLocalAgentInstallation,_0x206bcd,{'skillDisplayName':_0x4a1b37,'installLevel':level},_0x19f40c)[_0x3f0402(0xde)](()=>{}),!![];}function getSourceSkillsDir(){const _0x227b34=_0x49c2b6,_0x5c9b44={'xmoRN':function(_0x374365,_0x55cc49,_0x38a63f,_0x46322d,_0x3475ac,_0x1cfb22){return _0x374365(_0x55cc49,_0x38a63f,_0x46322d,_0x3475ac,_0x1cfb22);},'MqkiN':_0x227b34(0xcd),'VDfgp':function(_0x1028ec,_0xeb1120){return _0x1028ec(_0xeb1120);}},_0x275993=[join(__dirname,'..','..','skills'),_0x5c9b44[_0x227b34(0xc5)](join,__dirname,'..','..','..',_0x5c9b44[_0x227b34(0xcc)])];for(const _0x299059 of _0x275993){if(_0x5c9b44[_0x227b34(0xcb)](existsSync,_0x299059))return _0x299059;}return _0x275993[0x0];}function _0x36f2(){const _0x47d17f=['bug-bash','push','warn','uekpR','zmAqf','cZeaz','UeohL','3694iagplL','e2e-test-recommender','\x20\x20Location:\x20','trim','27060DYpPrS','775pAJnNj','\x20\x20Files:\x20','8fzusQz','jebTr','catch','utf-8','\x20\x20Skill\x20not\x20found:\x20','226ZMbHUH','match','log','project','endsWith','Invalid\x20skill\x20frontmatter','fpxNy','121616dvVvOO','893304HxInUr','12ghCTOw','YLSQB','hbvVu','.md','feature-tracker','470ZaRfUt','filter','xmoRN','opencode','1679499YnekVA','3590790JfqfzU','length','532668uBIBSX','VDfgp','MqkiN','skills'];_0x36f2=function(){return _0x47d17f;};return _0x36f2();}function parseFrontmatter(_0x2efe42){const _0xcd9471=_0x49c2b6,_0x28a6a5={'fpxNy':_0xcd9471(0xba)},_0x53f7c8=_0x2efe42[_0xcd9471(0xb6)](/^---\n([\s\S]+?)\n---/);if(!_0x53f7c8)throw new Error(_0x28a6a5[_0xcd9471(0xbb)]);const _0x2627ba=_0x53f7c8[0x1],_0x209d7d=_0x2627ba['match'](/name:\s*(.+)/),_0x206aa1=_0x2627ba['match'](/description:\s*"?(.+?)"?\n/);return{'name':_0x209d7d?.[0x1]['trim']()||'','description':_0x206aa1?.[0x1][_0xcd9471(0xd8)]()||''};}export async function removeSkill(_0x3edc84,_0x5b34e7){const _0x307022=_0x49c2b6,_0x24eac4={'uekpR':function(_0x3fe62b,_0x2baeb6){return _0x3fe62b(_0x2baeb6);},'zmAqf':function(_0x453b28,_0x2d21a0,_0x592925){return _0x453b28(_0x2d21a0,_0x592925);}},_0xc005ac=getSkillsDir(_0x5b34e7),_0x1fbf9c=join(_0xc005ac,_0x3edc84);if(!_0x24eac4[_0x307022(0xd1)](existsSync,_0x1fbf9c))return![];try{return await _0x24eac4[_0x307022(0xd2)](rm,_0x1fbf9c,{'recursive':!![]}),console['log']('\x20\x20Removed\x20deprecated\x20skill:\x20'+_0x3edc84),!![];}catch{return console[_0x307022(0xd0)]('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x3edc84),![];}}