@ranger-testing/ranger-cli 2.4.1 → 2.4.3

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
+ const _0x47c02a=_0x414c;(function(_0x3e6a46,_0x24af7f){const _0x3f0e3f=_0x414c,_0x516b06=_0x3e6a46();while(!![]){try{const _0x347642=parseInt(_0x3f0e3f(0x13e))/0x1*(-parseInt(_0x3f0e3f(0x112))/0x2)+-parseInt(_0x3f0e3f(0x13f))/0x3+-parseInt(_0x3f0e3f(0x12c))/0x4*(parseInt(_0x3f0e3f(0x140))/0x5)+-parseInt(_0x3f0e3f(0x113))/0x6+parseInt(_0x3f0e3f(0x11f))/0x7*(parseInt(_0x3f0e3f(0x11a))/0x8)+parseInt(_0x3f0e3f(0x137))/0x9*(-parseInt(_0x3f0e3f(0x146))/0xa)+-parseInt(_0x3f0e3f(0x12e))/0xb*(-parseInt(_0x3f0e3f(0x141))/0xc);if(_0x347642===_0x24af7f)break;else _0x516b06['push'](_0x516b06['shift']());}catch(_0x3c1d82){_0x516b06['push'](_0x516b06['shift']());}}}(_0xcdfb,0xd2733));import{spawn}from'child_process';import{createHash}from'crypto';function _0xcdfb(){const _0x364213=['update','tVBev','dkciG','21hEotiJ','env','runhU','@playwright/cli','sessionId','KCeDK','exited\x20with\x20code=','LuZzD','trim','sha256','subcommand','-s=','kill','176egbmol','close','330MyBzsx','timed\x20out\x20after\x20','ryvMF','tELQj','SIGKILL','CWTSs','data','digest','null','54WSNFPE','tEhMZ','--config','npx','join','\x0astdout:\x20','pipe','241viiyod','2522352IJRpIB','97135mNpLru','1077036TgAQrk','string','map','timeoutMs','atFrh','583280yHNBtQ','PuGqY','\x0astderr:\x20','LcJcn','2334kKcrvu','6159114IRxnQN','stderr','ojxwo','match','KIoni','hex','bash_command','4060584lXtYtL','command'];_0xcdfb=function(){return _0x364213;};return _0xcdfb();}export const PLAYWRIGHT_CLI_BINARY=_0x47c02a(0x122);function toPlaywrightCliSessionKey(_0x427faf){const _0x30e671=_0x47c02a,_0x348600=createHash(_0x30e671(0x128))[_0x30e671(0x11c)](_0x427faf)[_0x30e671(0x135)](_0x30e671(0x118))['slice'](0x0,0xc);return'rg-'+_0x348600;}function shellQuote(_0x5d1a74){return'\x27'+_0x5d1a74['replace'](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x479961){return SAFE_SHELL_TOKEN['test'](_0x479961)?_0x479961:shellQuote(_0x479961);}export function buildPlaywrightCliInvocation(_0x18e003,_0x5078cd,_0x3a9000){const _0x1bab3a=_0x47c02a,_0x4e9c86={'atFrh':'npx','QYPQy':_0x1bab3a(0x139),'PuGqY':function(_0x539914,_0x544a5b){return _0x539914(_0x544a5b);}},_0x417607=toPlaywrightCliSessionKey(_0x18e003),[_0x58c11d='unknown']=_0x3a9000,_0x59eb3a=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x417607,'--config',_0x5078cd,..._0x3a9000];return{'command':_0x4e9c86[_0x1bab3a(0x145)],'args':_0x59eb3a,'shellCommand':[_0x4e9c86['atFrh'],PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x417607),_0x4e9c86['QYPQy'],_0x4e9c86[_0x1bab3a(0x147)](quoteShellArg,_0x5078cd),..._0x3a9000[_0x1bab3a(0x143)](quoteShellArg)][_0x1bab3a(0x13b)]('\x20'),'subcommand':_0x58c11d};}function _0x414c(_0x4e2efb,_0x151649){_0x4e2efb=_0x4e2efb-0x111;const _0xcdfbc0=_0xcdfb();let _0x414ca7=_0xcdfbc0[_0x4e2efb];return _0x414ca7;}export function buildPlaywrightCliCommandPrefix(_0x35cf48,_0x5212f1){const _0x2b3c4a=_0x47c02a,_0x582c11={'YuMLc':'--config','tEhMZ':function(_0x4fc85c,_0xda0a74){return _0x4fc85c(_0xda0a74);}},_0x7431d8=toPlaywrightCliSessionKey(_0x35cf48);return[_0x2b3c4a(0x13a),PLAYWRIGHT_CLI_BINARY,_0x2b3c4a(0x12a)+quoteShellArg(_0x7431d8),_0x582c11['YuMLc'],_0x582c11[_0x2b3c4a(0x138)](quoteShellArg,_0x5212f1)][_0x2b3c4a(0x13b)]('\x20');}function truncateOutput(_0x2c84f3,_0x43bcd8=0x7d0){const _0x58ef99={'CwxjQ':function(_0xa56a8a,_0x50220b){return _0xa56a8a>_0x50220b;}};return _0x58ef99['CwxjQ'](_0x2c84f3['length'],_0x43bcd8)?_0x2c84f3['slice'](0x0,_0x43bcd8)+'...':_0x2c84f3;}export async function runPlaywrightCliCommand(_0x1e81ec){const _0x38fc9a=_0x47c02a,_0x1463ef={'naYoy':function(_0x3e238a,_0x3b0779){return _0x3e238a===_0x3b0779;},'UYsyx':function(_0x321d10,_0x53adbb){return _0x321d10??_0x53adbb;},'KCeDK':'null','ryvMF':function(_0x3a8009,_0x18b320,_0x4db60e,_0x38e595){return _0x3a8009(_0x18b320,_0x4db60e,_0x38e595);},'ojxwo':'ignore','runhU':_0x38fc9a(0x13d),'tVBev':'data','dkciG':'error'},_0x5e1b10=buildPlaywrightCliInvocation(_0x1e81ec[_0x38fc9a(0x123)],_0x1e81ec['configPath'],_0x1e81ec['commandArgs']);return new Promise((_0x5101c2,_0x29acde)=>{const _0x17477f=_0x38fc9a,_0x408283={'rojfo':_0x17477f(0x132),'KIoni':'SIGTERM','chpYI':function(_0x53adc1,_0x195736){return _0x53adc1(_0x195736);},'GpMxp':function(_0x36b30b,_0x216d6b){return _0x1463ef['naYoy'](_0x36b30b,_0x216d6b);},'iEUUq':function(_0x4984bf,_0x5a137d){return _0x1463ef['UYsyx'](_0x4984bf,_0x5a137d);},'BmoJm':_0x1463ef[_0x17477f(0x124)]},_0x1109b2=_0x1463ef[_0x17477f(0x130)](spawn,_0x5e1b10['command'],_0x5e1b10['args'],{'cwd':_0x1e81ec['cwd'],'env':_0x1e81ec[_0x17477f(0x120)],'stdio':[_0x1463ef[_0x17477f(0x115)],_0x1463ef['runhU'],_0x1463ef[_0x17477f(0x121)]]});let _0x2ecc5f='',_0x176f99='',_0x1e8b1c=![];const _0x37d6ab=_0x1e81ec[_0x17477f(0x144)]&&_0x1e81ec['timeoutMs']>0x0?setTimeout(()=>{const _0x205bc5=_0x17477f,_0x5e996c={'ecnaB':_0x408283['rojfo']};_0x1e8b1c=!![],_0x1109b2[_0x205bc5(0x12b)](_0x408283[_0x205bc5(0x117)]),setTimeout(()=>{const _0x696988=_0x205bc5;try{_0x1109b2[_0x696988(0x12b)](_0x5e996c['ecnaB']);}catch{}},0x3e8);},_0x1e81ec[_0x17477f(0x144)]):null;_0x1109b2['stdout']?.['on'](_0x17477f(0x134),_0x402a79=>{_0x2ecc5f+=_0x402a79['toString']();}),_0x1109b2[_0x17477f(0x114)]?.['on'](_0x1463ef[_0x17477f(0x11d)],_0x153a01=>{_0x176f99+=_0x153a01['toString']();}),_0x1109b2['on'](_0x1463ef[_0x17477f(0x11e)],_0x5ad7f5=>{if(_0x37d6ab)clearTimeout(_0x37d6ab);_0x408283['chpYI'](_0x29acde,_0x5ad7f5);}),_0x1109b2['on'](_0x17477f(0x12d),(_0x257068,_0x483576)=>{const _0x3ba3c2=_0x17477f;if(_0x37d6ab)clearTimeout(_0x37d6ab);if(_0x408283['GpMxp'](_0x257068,0x0)){_0x5101c2({'stdout':_0x2ecc5f,'stderr':_0x176f99,'invocation':_0x5e1b10});return;}const _0x33f824=_0x1e8b1c?_0x3ba3c2(0x12f)+_0x1e81ec[_0x3ba3c2(0x144)]+'ms':_0x3ba3c2(0x125)+(_0x257068??_0x3ba3c2(0x136))+'\x20signal='+_0x408283['iEUUq'](_0x483576,_0x408283['BmoJm']);_0x29acde(new Error('playwright-cli\x20'+_0x5e1b10[_0x3ba3c2(0x129)]+'\x20'+_0x33f824+_0x3ba3c2(0x13c)+truncateOutput(_0x2ecc5f)+_0x3ba3c2(0x148)+truncateOutput(_0x176f99)));});});}export function extractBashCommand(_0x536dac){const _0x2409b=_0x47c02a,_0x261ac7={'tELQj':_0x2409b(0x11b),'LuZzD':'cmd','CWTSs':function(_0x1b781a,_0x803ff4){return _0x1b781a===_0x803ff4;},'PNAtA':_0x2409b(0x142),'LcJcn':function(_0x10a329,_0x3844e8){return _0x10a329??_0x3844e8;}},_0x3d15b2=[_0x261ac7[_0x2409b(0x131)],_0x261ac7[_0x2409b(0x126)],'script',_0x2409b(0x119)];for(const _0x4270f6 of _0x3d15b2){const _0x26741e=_0x536dac[_0x4270f6];if(_0x261ac7[_0x2409b(0x133)](typeof _0x26741e,_0x261ac7['PNAtA'])&&_0x26741e[_0x2409b(0x127)]())return _0x26741e;}const _0x4a6e53=Object['values'](_0x536dac)['find'](_0x558f5c=>typeof _0x558f5c===_0x2409b(0x142)&&_0x558f5c[_0x2409b(0x127)]()['length']>0x0);return _0x261ac7[_0x2409b(0x111)](_0x4a6e53,null);}export function parsePlaywrightCliCommand(_0x31d453){const _0xe31468=_0x47c02a,_0x4c4e5f=_0x31d453[_0xe31468(0x116)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x4c4e5f?.[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 _0x2ca3(){const _0x2389d8=['6MPwrPv','417aQyYWb','8446bUpWLF','1120708hGGgoF','7279024Lwpyct','8321705DRkDif','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','4381610kHfkag','585390jckbHc','ranger\x20profile\x20add\x20local','1663074WYajqF'];_0x2ca3=function(){return _0x2389d8;};return _0x2ca3();}const _0x29c153=_0x5813;(function(_0x12feb7,_0x36e9ae){const _0x1ffe9a=_0x5813,_0x22920f=_0x12feb7();while(!![]){try{const _0x285d78=parseInt(_0x1ffe9a(0x71))/0x1+-parseInt(_0x1ffe9a(0x76))/0x2*(parseInt(_0x1ffe9a(0x75))/0x3)+parseInt(_0x1ffe9a(0x6c))/0x4+parseInt(_0x1ffe9a(0x70))/0x5+parseInt(_0x1ffe9a(0x74))/0x6*(-parseInt(_0x1ffe9a(0x6e))/0x7)+parseInt(_0x1ffe9a(0x6d))/0x8+-parseInt(_0x1ffe9a(0x73))/0x9;if(_0x285d78===_0x36e9ae)break;else _0x22920f['push'](_0x22920f['shift']());}catch(_0xf6952f){_0x22920f['push'](_0x22920f['shift']());}}}(_0x2ca3,0xa8be1));function _0x5813(_0x92d4f3,_0xb474ef){_0x92d4f3=_0x92d4f3-0x6c;const _0x2ca3b1=_0x2ca3();let _0x5813d1=_0x2ca3b1[_0x92d4f3];return _0x5813d1;}const DEFAULT_PROFILE_COMMAND=_0x29c153(0x72);export function formatProfileRequiredMessage(_0x105a91){const _0x142e86=_0x29c153,_0x3391ae={'xoeJV':function(_0x519300,_0x306695){return _0x519300(_0x306695);}},_0x337416=_0x105a91?_0x3391ae['xoeJV'](_0x105a91,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x142e86(0x6f)+_0x337416+'.';}
@@ -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 _0x11dd(){const _0x68571a=['stringify','104pMgugp','5504202vonLvq','887392wiNstv','15174XbwvCv','157146LYrPSZ','477568DYfhri','1252368frsOdX','FCqIM','1500dYesZW','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','5VgZcnS','\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','hueAd','154aFrlcy','165498NrOODn','</div>','<div\x20class=\x22ranger-banner__message\x22>','addInitScript','GJqKA'];_0x11dd=function(){return _0x68571a;};return _0x11dd();}(function(_0x3cb371,_0x2ebcbc){const _0x4d4656=_0x2003,_0x305cc9=_0x3cb371();while(!![]){try{const _0x2f883c=parseInt(_0x4d4656(0x154))/0x1+-parseInt(_0x4d4656(0x153))/0x2*(parseInt(_0x4d4656(0x149))/0x3)+parseInt(_0x4d4656(0x148))/0x4+-parseInt(_0x4d4656(0x150))/0x5*(parseInt(_0x4d4656(0x15b))/0x6)+-parseInt(_0x4d4656(0x14b))/0x7*(parseInt(_0x4d4656(0x15a))/0x8)+parseInt(_0x4d4656(0x14c))/0x9+-parseInt(_0x4d4656(0x14e))/0xa*(-parseInt(_0x4d4656(0x14a))/0xb);if(_0x2f883c===_0x2ebcbc)break;else _0x305cc9['push'](_0x305cc9['shift']());}catch(_0x48d5f5){_0x305cc9['push'](_0x305cc9['shift']());}}}(_0x11dd,0x74205));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x230c01=_0x2003,_0x36fd75={'hueAd':function(_0x303d96,_0x86eab3){return _0x303d96+_0x86eab3;},'CzGwI':function(_0x3b303a,_0x37b361){return _0x3b303a+_0x37b361;},'FCqIM':'<div\x20class=\x22ranger-banner__content\x22>','GJqKA':_0x230c01(0x156)},_0x90a71f=_0x36fd75[_0x230c01(0x152)](_0x36fd75['CzGwI'](_0x36fd75[_0x230c01(0x14d)]+'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>',_0x36fd75[_0x230c01(0x158)])+'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>',_0x230c01(0x14f))+_0x230c01(0x155)+'</div>'+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x20440f='\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a';return _0x230c01(0x151)+JSON[_0x230c01(0x159)](_0x90a71f)+';\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'](_0x20440f)+';\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 _0x2003(_0x2e0dc4,_0x338297){_0x2e0dc4=_0x2e0dc4-0x148;const _0x11dd37=_0x11dd();let _0x200364=_0x11dd37[_0x2e0dc4];return _0x200364;}export async function addProfileSetupBanner(_0x5081b2){const _0x22d250=_0x2003;await _0x5081b2[_0x22d250(0x157)]({'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(_0x27e45b,_0x341bf8){const _0x564191=_0x267b,_0x3c1c8e=_0x27e45b();while(!![]){try{const _0x3ecf1d=-parseInt(_0x564191(0xf0))/0x1+parseInt(_0x564191(0xf2))/0x2+parseInt(_0x564191(0xf5))/0x3*(parseInt(_0x564191(0xfb))/0x4)+parseInt(_0x564191(0xf6))/0x5+parseInt(_0x564191(0xfd))/0x6+parseInt(_0x564191(0x100))/0x7*(parseInt(_0x564191(0xfc))/0x8)+parseInt(_0x564191(0xff))/0x9*(-parseInt(_0x564191(0xf8))/0xa);if(_0x3ecf1d===_0x341bf8)break;else _0x3c1c8e['push'](_0x3c1c8e['shift']());}catch(_0x569df6){_0x3c1c8e['push'](_0x3c1c8e['shift']());}}}(_0x36d3,0x8d7f5));function _0x36d3(){const _0xef55d1=['326396VLKbAf','pwYca','config.json','isArray','4963RdIYsD','VOLoh','275258RydrUP','object','warn','31422PwRkuD','4308720jzfkpr','model','10grjDnY','ddXux','parse','56fUJifg','8ejVkDC','1563948LRGHfg','RkLje','7818831HQkcAI'];_0x36d3=function(){return _0xef55d1;};return _0x36d3();}import{readFile}from'fs/promises';import{existsSync}from'fs';function _0x267b(_0x500206,_0x1af63e){_0x500206=_0x500206-0xee;const _0x36d340=_0x36d3();let _0x267b19=_0x36d340[_0x500206];return _0x267b19;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x45c76e=_0x267b,_0x1e40b9={'eqmeN':function(_0x37550e,_0x2944f0,_0x3b03d0){return _0x37550e(_0x2944f0,_0x3b03d0);}};return _0x1e40b9['eqmeN'](join,getRangerDir(),_0x45c76e(0xee));}export async function loadRangerConfig(){const _0x12e289=_0x267b,_0x2b0ec1={'rkZoI':function(_0x4baec0){return _0x4baec0();},'ddXux':function(_0xcdf2bb,_0xcf22af){return _0xcdf2bb(_0xcf22af);},'JLjXF':function(_0x324da5,_0x45a62d,_0x479b3b){return _0x324da5(_0x45a62d,_0x479b3b);},'CLzSg':function(_0x5e1912,_0x2a64e4){return _0x5e1912!==_0x2a64e4;},'gXHbo':_0x12e289(0xf3),'RkLje':function(_0x5a61cf,_0x325973){return _0x5a61cf===_0x325973;},'VOLoh':function(_0x2415f2,_0x45499c){return _0x2415f2 instanceof _0x45499c;},'pwYca':function(_0x3afa67,_0x3d86c8){return _0x3afa67(_0x3d86c8);}},_0x523d89=_0x2b0ec1['rkZoI'](getRangerConfigPath);if(!_0x2b0ec1[_0x12e289(0xf9)](existsSync,_0x523d89))return{};try{const _0x476b1c=await _0x2b0ec1['JLjXF'](readFile,_0x523d89,'utf-8'),_0x1610de=JSON[_0x12e289(0xfa)](_0x476b1c);if(!_0x1610de||_0x2b0ec1['CLzSg'](typeof _0x1610de,_0x2b0ec1['gXHbo'])||Array[_0x12e289(0xef)](_0x1610de))return{};const _0x58f47d={},_0x378ce8=_0x1610de['model'];return _0x2b0ec1[_0x12e289(0xfe)](typeof _0x378ce8,'string')&&(_0x58f47d[_0x12e289(0xf7)]=_0x378ce8),_0x58f47d;}catch(_0x4f0430){const _0x23849e=_0x2b0ec1[_0x12e289(0xf1)](_0x4f0430,Error)?_0x4f0430['message']:_0x2b0ec1[_0x12e289(0x101)](String,_0x4f0430);return console[_0x12e289(0xf4)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x523d89+':\x20'+_0x23849e),{};}}
@@ -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(_0x10c972,_0x105d0f){const _0x346cd2=_0x5d93,_0x258954=_0x10c972();while(!![]){try{const _0x317750=-parseInt(_0x346cd2(0x87))/0x1*(-parseInt(_0x346cd2(0x7a))/0x2)+parseInt(_0x346cd2(0x7c))/0x3*(-parseInt(_0x346cd2(0x78))/0x4)+parseInt(_0x346cd2(0x85))/0x5*(-parseInt(_0x346cd2(0x81))/0x6)+-parseInt(_0x346cd2(0x83))/0x7+parseInt(_0x346cd2(0x84))/0x8*(-parseInt(_0x346cd2(0x7b))/0x9)+parseInt(_0x346cd2(0x80))/0xa*(parseInt(_0x346cd2(0x7d))/0xb)+parseInt(_0x346cd2(0x79))/0xc*(parseInt(_0x346cd2(0x86))/0xd);if(_0x317750===_0x105d0f)break;else _0x258954['push'](_0x258954['shift']());}catch(_0x463d63){_0x258954['push'](_0x258954['shift']());}}}(_0x2b64,0x30626));function _0x5d93(_0xb2cee9,_0x2ce7d1){_0xb2cee9=_0xb2cee9-0x76;const _0x2b646d=_0x2b64();let _0x5d93ed=_0x2b646d[_0xb2cee9];return _0x5d93ed;}import{dirname,join,parse}from'path';function _0x2b64(){const _0x5f4b07=['114390TZSmGE','.ranger','2716175FYOfCe','5120xNJQXp','10pXKCaK','6157840AbAbQh','542TXDykx','KLkth','GPotO','yIPzw','1346356lkHBer','24jAlBnC','46SnOzrM','2358AYMXZu','3OOvmyr','618860xqxkgu','UMgIF','cwd','30YEWXLg'];_0x2b64=function(){return _0x5f4b07;};return _0x2b64();}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x220b3d=_0x5d93,_0x6ea169={'pWdFH':function(_0x35ce71,_0x4de223){return _0x35ce71(_0x4de223);},'KLkth':function(_0x35b4e7,_0x4be9aa){return _0x35b4e7(_0x4be9aa);},'RXJup':'.ranger'};let _0x2511c8=process[_0x220b3d(0x7f)]();const _0x2528f0=_0x6ea169['pWdFH'](parse,_0x2511c8)['root'];while(_0x2511c8!==_0x2528f0){if(_0x6ea169[_0x220b3d(0x88)](existsSync,join(_0x2511c8,_0x6ea169['RXJup'])))return _0x2511c8;_0x2511c8=dirname(_0x2511c8);}if(_0x6ea169[_0x220b3d(0x88)](existsSync,join(_0x2528f0,_0x220b3d(0x82))))return _0x2528f0;const _0x2294be=findGitRoot();if(_0x2294be)return _0x2294be;return process['cwd']();}export function getRangerDir(){const _0x1337ba=_0x5d93,_0x38ad0f={'yIPzw':function(_0x78fb7a,_0x27eb0e,_0x233fd7){return _0x78fb7a(_0x27eb0e,_0x233fd7);},'yRLBn':function(_0x4aae03){return _0x4aae03();},'UgFeX':_0x1337ba(0x82)};return _0x38ad0f[_0x1337ba(0x77)](join,_0x38ad0f['yRLBn'](getRangerRoot),_0x38ad0f['UgFeX']);}export function findGitRoot(){const _0x32c42d=_0x5d93,_0x4aa622={'UMgIF':function(_0x2b6990,_0x284b13){return _0x2b6990(_0x284b13);},'klDRj':function(_0x298810,_0x420d61,_0x59275b){return _0x298810(_0x420d61,_0x59275b);},'nKRJv':'.git','GPotO':function(_0x5d5777,_0x3cb879,_0xde9db5){return _0x5d5777(_0x3cb879,_0xde9db5);}};let _0x1ef36d=process[_0x32c42d(0x7f)]();const _0xea79ee=_0x4aa622[_0x32c42d(0x7e)](parse,_0x1ef36d)['root'];while(_0x1ef36d!==_0xea79ee){if(existsSync(_0x4aa622['klDRj'](join,_0x1ef36d,_0x4aa622['nKRJv'])))return _0x1ef36d;_0x1ef36d=_0x4aa622[_0x32c42d(0x7e)](dirname,_0x1ef36d);}if(existsSync(_0x4aa622[_0x32c42d(0x76)](join,_0xea79ee,'.git')))return _0xea79ee;return null;}export function getRangerHomeDir(){const _0xc012e8={'CNYLb':function(_0x155555,_0x4e10f5,_0x2e2a49){return _0x155555(_0x4e10f5,_0x2e2a49);},'WRTEh':'.ranger'};return _0xc012e8['CNYLb'](join,homedir(),_0xc012e8['WRTEh']);}
@@ -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(_0x1c577d,_0x2ccb5f){const _0x5b8d7a=_0x163c,_0x256613=_0x1c577d();while(!![]){try{const _0x2dd30d=-parseInt(_0x5b8d7a(0x1ab))/0x1*(parseInt(_0x5b8d7a(0x1a1))/0x2)+parseInt(_0x5b8d7a(0x1a6))/0x3*(parseInt(_0x5b8d7a(0x19d))/0x4)+-parseInt(_0x5b8d7a(0x19f))/0x5+-parseInt(_0x5b8d7a(0x1b8))/0x6*(parseInt(_0x5b8d7a(0x1aa))/0x7)+parseInt(_0x5b8d7a(0x1bc))/0x8+-parseInt(_0x5b8d7a(0x1a2))/0x9+parseInt(_0x5b8d7a(0x1af))/0xa;if(_0x2dd30d===_0x2ccb5f)break;else _0x256613['push'](_0x256613['shift']());}catch(_0x1c4302){_0x256613['push'](_0x256613['shift']());}}}(_0x1ddd,0xd929e));import{readdir}from'fs/promises';function _0x163c(_0x17dc40,_0x4f47a0){_0x17dc40=_0x17dc40-0x199;const _0x1ddd3d=_0x1ddd();let _0x163cd8=_0x1ddd3d[_0x17dc40];return _0x163cd8;}import{join}from'path';import{existsSync}from'fs';function _0x1ddd(){const _0x119a87=['length',']\x20Issue','replace','**Duration:**\x20','toISOString','join','wGTzd','6488292rCPXDW','severity','PASSED','---','13574704JJclZs','#\x20Verification\x20Report','##\x20Task','push','KDYBR','201044FNGWQB','slice','5878485LrAOsk','EGAQE','2zKReQG','2941173WBHjzS','**Status:**\x20','charAt','find','51yKIvNt','BLOCKER','filename','**Session:**\x20`','7TomlUo','458987VhAkrt','includes','screenshot','###\x20Issues\x20Found\x20(','13810900IZqpfm','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer]('];_0x1ddd=function(){return _0x119a87;};return _0x1ddd();}export async function collectScreenshots(_0x507cd0){const _0x5f0d7f=_0x163c,_0x1e4368={'EGAQE':function(_0xe76461,_0x123d98,_0x52beb9){return _0xe76461(_0x123d98,_0x52beb9);}},_0x56f839=[],_0x2325a3=[];if(!existsSync(_0x507cd0))return{'screenshots':_0x56f839,'paths':_0x2325a3};const _0x257f14=await readdir(_0x507cd0),_0x13a8e7=_0x257f14['filter'](_0x4feb8d=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x4feb8d))['sort']();for(const _0x3f17f4 of _0x13a8e7){const _0x51a083=_0x1e4368[_0x5f0d7f(0x1a0)](join,_0x507cd0,_0x3f17f4);_0x56f839['push']({'filename':_0x3f17f4,'path':_0x51a083,'relativePath':'./'+_0x3f17f4}),_0x2325a3[_0x5f0d7f(0x19b)](_0x51a083);}return{'screenshots':_0x56f839,'paths':_0x2325a3};}function getSeverityEmoji(_0x566b53){const _0x5c877d=_0x163c;switch(_0x566b53){case _0x5c877d(0x1a7):return'🔴';case'MAJOR':return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x3e0cac){const _0xbb6b5=_0x163c,_0x33130f=_0x3e0cac[_0xbb6b5(0x1b3)](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x5aa9a2=_0x33130f['replace'](/^\d+-/,'');return _0x5aa9a2['split']('-')['map'](_0x35abc6=>_0x35abc6[_0xbb6b5(0x1a4)](0x0)['toUpperCase']()+_0x35abc6[_0xbb6b5(0x19e)](0x1))[_0xbb6b5(0x1b6)]('\x20');}export function generateMarkdownReport(_0x478ca6){const _0xf8c478=_0x163c,_0x26f970={'wGTzd':function(_0x1052ac,_0x1697d2){return _0x1052ac>_0x1697d2;},'KDYBR':function(_0xa17d58,_0x71a3cc){return _0xa17d58(_0x71a3cc);}},{sessionId:_0x4d7aa2,task:_0x3d1aeb,url:_0x2556d6,success:_0x12c3b3,summary:_0x1d5338,issues:_0x181e88,screenshots:_0x161377,durationMs:_0x5e9b34,traceViewerUrl:_0x40fe32}=_0x478ca6,_0x57a7c0=new Date()[_0xf8c478(0x1b5)](),_0x86341c=(_0x5e9b34/0x3e8)['toFixed'](0x1),_0x5d1279=[];_0x5d1279['push'](_0xf8c478(0x199)),_0x5d1279['push'](''),_0x5d1279['push'](_0xf8c478(0x1a9)+_0x4d7aa2+'`'),_0x5d1279['push']('**Generated:**\x20'+_0x57a7c0),_0x5d1279[_0xf8c478(0x19b)](_0xf8c478(0x1b4)+_0x86341c+'s'),_0x5d1279['push'](''),_0x5d1279['push'](_0xf8c478(0x19a)),_0x5d1279['push'](''),_0x5d1279['push']('**URL:**\x20'+_0x2556d6),_0x5d1279['push'](''),_0x5d1279[_0xf8c478(0x19b)]('>\x20'+_0x3d1aeb),_0x5d1279[_0xf8c478(0x19b)](''),_0x5d1279['push']('##\x20Result'),_0x5d1279['push']('');const _0x1c20df=_0x12c3b3?'✅':'❌';_0x5d1279[_0xf8c478(0x19b)](_0xf8c478(0x1a3)+_0x1c20df+'\x20'+(_0x12c3b3?_0xf8c478(0x1ba):'ISSUES\x20FOUND')),_0x5d1279[_0xf8c478(0x19b)](''),_0x5d1279['push']('###\x20Summary'),_0x5d1279['push'](''),_0x5d1279[_0xf8c478(0x19b)](_0x1d5338),_0x5d1279[_0xf8c478(0x19b)]('');if(_0x181e88&&_0x26f970[_0xf8c478(0x1b7)](_0x181e88[_0xf8c478(0x1b1)],0x0)){_0x5d1279[_0xf8c478(0x19b)](_0xf8c478(0x1ae)+_0x181e88[_0xf8c478(0x1b1)]+')'),_0x5d1279[_0xf8c478(0x19b)]('');for(const _0x4a4aa9 of _0x181e88){const _0x45ef9c=getSeverityEmoji(_0x4a4aa9[_0xf8c478(0x1b9)]);_0x5d1279['push']('####\x20'+_0x45ef9c+'\x20['+_0x4a4aa9['severity']+_0xf8c478(0x1b2)),_0x5d1279[_0xf8c478(0x19b)](''),_0x5d1279['push'](_0x4a4aa9['description']),_0x5d1279['push']('');if(_0x4a4aa9[_0xf8c478(0x1ad)]){const _0x115b56=_0x4a4aa9[_0xf8c478(0x1ad)],_0x3dee10=_0x161377[_0xf8c478(0x1a5)](_0x341334=>_0x341334[_0xf8c478(0x1a8)]===_0x115b56||_0x341334[_0xf8c478(0x1a8)][_0xf8c478(0x1ac)](_0x115b56));_0x3dee10&&(_0x5d1279['push']('**Screenshot:**'),_0x5d1279['push'](''),_0x5d1279['push']('!['+_0x115b56+']('+_0x3dee10['relativePath']+')'),_0x5d1279[_0xf8c478(0x19b)](''));}}}if(_0x26f970[_0xf8c478(0x1b7)](_0x161377[_0xf8c478(0x1b1)],0x0)){_0x5d1279[_0xf8c478(0x19b)]('##\x20Screenshots\x20('+_0x161377['length']+')'),_0x5d1279[_0xf8c478(0x19b)]('');for(const _0x1bd036 of _0x161377){const _0x3f4a19=_0x26f970[_0xf8c478(0x19c)](formatScreenshotCaption,_0x1bd036['filename']);_0x5d1279[_0xf8c478(0x19b)]('###\x20'+_0x3f4a19),_0x5d1279['push'](''),_0x5d1279['push']('!['+_0x1bd036[_0xf8c478(0x1a8)]+']('+_0x1bd036['relativePath']+')'),_0x5d1279['push']('');}}return _0x40fe32&&(_0x5d1279[_0xf8c478(0x19b)](_0xf8c478(0x1bb)),_0x5d1279[_0xf8c478(0x19b)](''),_0x5d1279[_0xf8c478(0x19b)](_0xf8c478(0x1b0)+_0x40fe32+')'),_0x5d1279[_0xf8c478(0x19b)]('')),_0x5d1279['join']('\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 _0x417a(){const _0x4a7f75=['1wwiufN','1359178bXDZrd','12563400jCIneW','1205466Xjkuex','label','uRaux','75qmTkxE','127500larHKk','maxRetries','cBqkP','1800WNcHFs','error','yLGZl','1242804HTRZJs','),\x20retrying\x20in\x20','6843150MorRkP','19705kjiFKE'];_0x417a=function(){return _0x4a7f75;};return _0x417a();}function _0x3a8a(_0x49f381,_0x2b79f6){_0x49f381=_0x49f381-0xb6;const _0x417a92=_0x417a();let _0x3a8aad=_0x417a92[_0x49f381];return _0x3a8aad;}(function(_0x11e649,_0x3f8985){const _0xc82e94=_0x3a8a,_0x30fe9f=_0x11e649();while(!![]){try{const _0x4e2a10=parseInt(_0xc82e94(0xbe))/0x1*(parseInt(_0xc82e94(0xbf))/0x2)+parseInt(_0xc82e94(0xc1))/0x3+parseInt(_0xc82e94(0xc5))/0x4*(parseInt(_0xc82e94(0xc4))/0x5)+parseInt(_0xc82e94(0xba))/0x6+parseInt(_0xc82e94(0xbd))/0x7*(parseInt(_0xc82e94(0xb7))/0x8)+-parseInt(_0xc82e94(0xbc))/0x9+-parseInt(_0xc82e94(0xc0))/0xa;if(_0x4e2a10===_0x3f8985)break;else _0x30fe9f['push'](_0x30fe9f['shift']());}catch(_0x36bd2b){_0x30fe9f['push'](_0x30fe9f['shift']());}}}(_0x417a,0x5d97b));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x275949,_0x3135f3){const _0x26d959=_0x3a8a,_0x5d2858={'gLVdG':function(_0x33ed7a,_0x14f5c5){return _0x33ed7a<=_0x14f5c5;},'cBqkP':function(_0x5b4407,_0x3bcc5a){return _0x5b4407 instanceof _0x3bcc5a;},'yLGZl':function(_0x21a6c5,_0x3cb912){return _0x21a6c5<_0x3cb912;},'uRaux':function(_0x5b2698,_0x13c7c6){return _0x5b2698+_0x13c7c6;}},_0x20aa18=_0x3135f3?.[_0x26d959(0xc6)]??DEFAULT_MAX_RETRIES,_0x377e54=_0x3135f3?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x3bc4a4;for(let _0x25029c=0x0;_0x5d2858['gLVdG'](_0x25029c,_0x20aa18);_0x25029c++){try{return await _0x275949();}catch(_0x102c9f){_0x3bc4a4=_0x5d2858[_0x26d959(0xb6)](_0x102c9f,Error)?_0x102c9f:new Error(String(_0x102c9f));if(_0x5d2858[_0x26d959(0xb9)](_0x25029c,_0x20aa18)){const _0xca2443=_0x377e54*Math['pow'](0x2,_0x25029c);_0x3135f3?.[_0x26d959(0xc2)]&&console[_0x26d959(0xb8)](_0x3135f3[_0x26d959(0xc2)]+'\x20failed\x20(attempt\x20'+_0x5d2858[_0x26d959(0xc3)](_0x25029c,0x1)+'/'+_0x5d2858['uRaux'](_0x20aa18,0x1)+_0x26d959(0xbb)+_0xca2443+'ms...'),await new Promise(_0x3cce51=>setTimeout(_0x3cce51,_0xca2443));}}}throw _0x3bc4a4;}
@@ -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 _0x3009a4=_0x152c;(function(_0x4de1ad,_0x57645e){const _0x3c39a7=_0x152c,_0x900d3e=_0x4de1ad();while(!![]){try{const _0x1182c2=parseInt(_0x3c39a7(0x1eb))/0x1+-parseInt(_0x3c39a7(0x203))/0x2*(parseInt(_0x3c39a7(0x1e9))/0x3)+-parseInt(_0x3c39a7(0x20f))/0x4*(parseInt(_0x3c39a7(0x219))/0x5)+-parseInt(_0x3c39a7(0x21c))/0x6*(parseInt(_0x3c39a7(0x1f2))/0x7)+-parseInt(_0x3c39a7(0x1e5))/0x8*(parseInt(_0x3c39a7(0x1ea))/0x9)+parseInt(_0x3c39a7(0x1ed))/0xa*(-parseInt(_0x3c39a7(0x1ff))/0xb)+parseInt(_0x3c39a7(0x1f3))/0xc;if(_0x1182c2===_0x57645e)break;else _0x900d3e['push'](_0x900d3e['shift']());}catch(_0x19bbaa){_0x900d3e['push'](_0x900d3e['shift']());}}}(_0xfadb,0x1e2d8));import*as _0x1872ae from'fs';function _0xfadb(){const _0x200f39=['existsSync','RpzRR','lastStopReminderAt','620SOHDZE','cPZgo','OFTLX','102MLGgUw','sessions','pipe','currentBranch','OXCEW','208QJOrGQ','branches','prompted','jJDyG','9411bDmjnG','15462Oxfhtl','117670FdaNJi','FNbUG','2085260fcsEpO','APMPE','writeFileSync','master','xFfjQ','52199axkLWX','6713856neGjzy','tqmbh','lastEnabledSessionClearedAt','registeredAt','join','VOAcx','SQoLm','crSjt','SJwpD','utf-8','vGQnf','KiTDZ','11VCGCEw','lHiVV','now','vOfTX','6ePWQMF','yVWqY','enabled','MAEyV','Hjxhh','iwGBy','VsOPj','aAPex','mkdirSync','JgRKQ','kUEKl','parse','5296rmgIzy','oxEsN','CkQZT','qTIyO','nWnJv','featureId','main'];_0xfadb=function(){return _0x200f39;};return _0xfadb();}import*as _0x5165d1 from'path';import*as _0x1565f5 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x5165d1[_0x3009a4(0x1f7)](_0x1565f5['homedir'](),'.claude','.ranger_cache.json');function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x23169c=_0x3009a4,_0x531d7f={'SJwpD':_0x23169c(0x1fc),'aAPex':function(_0xa7475a){return _0xa7475a();}};try{if(_0x1872ae['existsSync'](CACHE_FILE)){const _0xbf559e=JSON[_0x23169c(0x20e)](_0x1872ae['readFileSync'](CACHE_FILE,_0x531d7f[_0x23169c(0x1fb)]));return{'version':0x3,'sessions':_0xbf559e['sessions']||{},'branches':_0xbf559e['branches']||{},'lastEnabledSessionClearedAt':_0xbf559e[_0x23169c(0x1f5)]};}}catch{}return _0x531d7f[_0x23169c(0x20a)](createEmptyCache);}function saveCache(_0x51a3d6){const _0x56a9d0=_0x3009a4;try{const _0x171dbf=_0x5165d1['dirname'](CACHE_FILE);!_0x1872ae[_0x56a9d0(0x216)](_0x171dbf)&&_0x1872ae[_0x56a9d0(0x20b)](_0x171dbf,{'recursive':!![]}),_0x1872ae[_0x56a9d0(0x1ef)](CACHE_FILE,JSON['stringify'](_0x51a3d6,null,0x2));}catch{}}export function getCurrentBranch(){const _0x240f37=_0x3009a4,_0x1b6dc8={'kUEKl':_0x240f37(0x1e2),'evlfc':function(_0x130b1d,_0x29ba86){return _0x130b1d===_0x29ba86;}};try{const _0x41e4ac=execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':'utf-8','stdio':[_0x1b6dc8['kUEKl'],_0x1b6dc8[_0x240f37(0x20d)],_0x1b6dc8[_0x240f37(0x20d)]]})['trim']();if(!_0x41e4ac||_0x1b6dc8['evlfc'](_0x41e4ac,'HEAD'))return null;return _0x41e4ac;}catch{return null;}}export function enableBranch(_0xf78ea2){const _0x146af7=_0x3009a4,_0x474478={'oxEsN':function(_0x3e4950){return _0x3e4950();},'AhSAI':function(_0x4ec06b,_0x74ca24){return _0x4ec06b(_0x74ca24);}},_0x1be69b=_0x474478[_0x146af7(0x210)](loadCache);_0x1be69b['branches'][_0xf78ea2]=!![],_0x474478['AhSAI'](saveCache,_0x1be69b);}export function disableBranch(_0x2dfe15){const _0x574558={'ovBbp':function(_0xdc16b0){return _0xdc16b0();}},_0x2f1bd2=_0x574558['ovBbp'](loadCache);delete _0x2f1bd2['branches'][_0x2dfe15],saveCache(_0x2f1bd2);}export function isBranchEnabled(_0x522520){const _0x4ca8c3=_0x3009a4,_0x119c29={'KiTDZ':function(_0x43393b){return _0x43393b();}},_0x19b212=_0x119c29[_0x4ca8c3(0x1fe)](loadCache);return _0x19b212[_0x4ca8c3(0x1e6)][_0x522520]===!![];}function getOrCreateSession(_0x54af11,_0x100ef7){const _0x3c265d=_0x3009a4;return!_0x54af11['sessions'][_0x100ef7]&&(_0x54af11[_0x3c265d(0x1e1)][_0x100ef7]={}),_0x54af11[_0x3c265d(0x1e1)][_0x100ef7];}export function enableSession(_0x3d3d5b){const _0x2d5528=_0x3009a4,_0x3014f1={'APMPE':function(_0x433359){return _0x433359();},'CkQZT':function(_0x575e4b,_0x44b0c9){return _0x575e4b!==_0x44b0c9;},'Hjxhh':'master','VOAcx':function(_0x2b0d87,_0x555876){return _0x2b0d87(_0x555876);}},_0x281aa2=_0x3014f1[_0x2d5528(0x1ee)](loadCache),_0x3676cb=getOrCreateSession(_0x281aa2,_0x3d3d5b);_0x3676cb['enabled']=!![];const _0x1d60f6=_0x3014f1['APMPE'](getCurrentBranch);_0x1d60f6&&_0x1d60f6!==_0x2d5528(0x215)&&_0x3014f1[_0x2d5528(0x211)](_0x1d60f6,_0x3014f1[_0x2d5528(0x207)])&&(_0x281aa2[_0x2d5528(0x1e6)][_0x1d60f6]=!![],_0x3676cb['currentBranch']=_0x1d60f6),_0x3014f1[_0x2d5528(0x1f8)](saveCache,_0x281aa2);}export function isSessionEnabled(_0x4c346e){const _0xfb7030=_0x3009a4,_0x2d68ae={'sQnuS':function(_0x304429){return _0x304429();},'jJDyG':function(_0x527b88,_0x2d2ac0){return _0x527b88===_0x2d2ac0;},'xFfjQ':function(_0x1df8e7,_0x337a3d){return _0x1df8e7===_0x337a3d;},'MCzkU':function(_0x2c41be,_0x12a2a8){return _0x2c41be===_0x12a2a8;}},_0x1acb7c=_0x2d68ae['sQnuS'](loadCache),_0x1bb43e=_0x2d68ae['sQnuS'](getCurrentBranch);if(!_0x1bb43e||_0x2d68ae[_0xfb7030(0x1e8)](_0x1bb43e,'main')||_0x2d68ae[_0xfb7030(0x1f1)](_0x1bb43e,'master'))return _0x1acb7c['sessions'][_0x4c346e]?.[_0xfb7030(0x205)]===!![];const _0xcd6cc=_0x2d68ae['xFfjQ'](_0x1acb7c[_0xfb7030(0x1e6)][_0x1bb43e],!![]),_0x1ae20a=_0x2d68ae['MCzkU'](_0x1acb7c[_0xfb7030(0x1e1)][_0x4c346e]?.['enabled'],!![]);return _0xcd6cc||_0x1ae20a;}export function disableSession(_0x4bd229){const _0x26330a=loadCache(),_0x2452fb=getOrCreateSession(_0x26330a,_0x4bd229);_0x2452fb['enabled']=![],saveCache(_0x26330a);}export function updateBranchTracking(_0x26ac76){const _0x14e3e8=_0x3009a4,_0x59d1d6={'qTIyO':function(_0x1a21fe){return _0x1a21fe();},'VsOPj':_0x14e3e8(0x215),'lXHBo':function(_0x5638ae,_0x2dd1a3){return _0x5638ae===_0x2dd1a3;},'RpzRR':'master','SQoLm':function(_0x406ff1,_0xd1fd81){return _0x406ff1!==_0xd1fd81;}},_0x5da72c=loadCache(),_0x3ba906=_0x5da72c['sessions'][_0x26ac76];if(!_0x3ba906?.[_0x14e3e8(0x205)])return;const _0x1dfe3c=_0x59d1d6[_0x14e3e8(0x212)](getCurrentBranch);if(!_0x1dfe3c||_0x1dfe3c===_0x59d1d6[_0x14e3e8(0x209)]||_0x59d1d6['lXHBo'](_0x1dfe3c,_0x59d1d6[_0x14e3e8(0x217)]))return;_0x59d1d6[_0x14e3e8(0x1f9)](_0x3ba906[_0x14e3e8(0x1e3)],_0x1dfe3c)&&(_0x5da72c['branches'][_0x1dfe3c]=!![],_0x3ba906[_0x14e3e8(0x1e3)]=_0x1dfe3c,saveCache(_0x5da72c));}export function initBranchTracking(_0x1dcd85){const _0x2cbc5d=_0x3009a4,_0x15003f={'FNbUG':'main','crSjt':function(_0x2e09a6,_0x2027ef){return _0x2e09a6===_0x2027ef;},'SrPOu':_0x2cbc5d(0x1f0)},_0x3a9699=loadCache(),_0x14b395=getCurrentBranch();if(!_0x14b395||_0x14b395===_0x15003f[_0x2cbc5d(0x1ec)]||_0x15003f[_0x2cbc5d(0x1fa)](_0x14b395,_0x15003f['SrPOu']))return;if(_0x3a9699['branches'][_0x14b395]===!![]){const _0x32cbc9=getOrCreateSession(_0x3a9699,_0x1dcd85);_0x32cbc9['enabled']=!![],_0x32cbc9['currentBranch']=_0x14b395,saveCache(_0x3a9699);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x254afc){const _0x55908e=_0x3009a4,_0x2d109b={'OXCEW':function(_0x90dea1,_0x37a027){return _0x90dea1(_0x37a027);}},_0x333ba5=loadCache(),_0xc5f9ad=_0x333ba5['sessions'][_0x254afc];_0xc5f9ad?.[_0x55908e(0x205)]&&(_0x333ba5['lastEnabledSessionClearedAt']=Date[_0x55908e(0x201)](),_0x2d109b[_0x55908e(0x1e4)](saveCache,_0x333ba5));}export function shouldAutoEnableAfterClear(_0x48e84d){const _0xcf69f5=_0x3009a4,_0xdf7aae={'MAEyV':function(_0x4d1419,_0x47f9a6){return _0x4d1419!==_0x47f9a6;},'tqmbh':function(_0x288995){return _0x288995();},'vGQnf':function(_0x5e6fe9,_0xa72bd5){return _0x5e6fe9-_0xa72bd5;}};if(_0xdf7aae[_0xcf69f5(0x206)](_0x48e84d,'clear'))return![];const _0x248495=_0xdf7aae[_0xcf69f5(0x1f4)](loadCache),_0x56c5e0=_0x248495['lastEnabledSessionClearedAt'];if(!_0x56c5e0)return![];const _0xcfb5b2=_0xdf7aae[_0xcf69f5(0x1fd)](Date[_0xcf69f5(0x201)](),_0x56c5e0);return _0xcfb5b2<=CLEAR_AUTO_ENABLE_WINDOW_MS;}export function autoEnableAfterClear(_0x2dc183){const _0xafcde1=_0x3009a4,_0x517fae={'iwGBy':function(_0x371e67){return _0x371e67();},'lHiVV':function(_0x1fd9e6,_0x223858,_0x9b752a){return _0x1fd9e6(_0x223858,_0x9b752a);},'cPZgo':function(_0x3c50d9,_0x1440c5){return _0x3c50d9!==_0x1440c5;},'UxLoi':'master'},_0xaf680a=_0x517fae['iwGBy'](loadCache),_0x1e1762=_0x517fae[_0xafcde1(0x200)](getOrCreateSession,_0xaf680a,_0x2dc183);_0x1e1762['enabled']=!![];const _0x4d4f7f=_0x517fae[_0xafcde1(0x208)](getCurrentBranch);_0x4d4f7f&&_0x4d4f7f!==_0xafcde1(0x215)&&_0x517fae[_0xafcde1(0x21a)](_0x4d4f7f,_0x517fae['UxLoi'])&&(_0x1e1762[_0xafcde1(0x1e3)]=_0x4d4f7f),delete _0xaf680a[_0xafcde1(0x1f5)],saveCache(_0xaf680a);}export function registerSession(_0x243fcf,_0x55be7e){const _0x21e257=_0x3009a4,_0x503b52=loadCache(),_0x40dae4=getOrCreateSession(_0x503b52,_0x243fcf);_0x40dae4['featureId']=_0x55be7e,_0x40dae4[_0x21e257(0x1f6)]=new Date()['toISOString'](),saveCache(_0x503b52);}export function getSessionEntry(_0x440484){const _0x3eddcd=_0x3009a4,_0x451a05={'vOfTX':function(_0xe8fe8f){return _0xe8fe8f();}},_0x31086d=_0x451a05[_0x3eddcd(0x202)](loadCache),_0x2e3428=_0x31086d['sessions'][_0x440484];if(_0x2e3428?.[_0x3eddcd(0x214)]&&_0x2e3428?.['registeredAt'])return{'featureId':_0x2e3428[_0x3eddcd(0x214)],'registeredAt':_0x2e3428['registeredAt']};return null;}export function unregisterSession(_0x4ba901){const _0x488066=_0x3009a4,_0x2791c0=loadCache(),_0x5d7ba5=_0x2791c0[_0x488066(0x1e1)][_0x4ba901];_0x5d7ba5&&(delete _0x5d7ba5['featureId'],delete _0x5d7ba5['registeredAt'],saveCache(_0x2791c0));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x311d48){const _0x45e17c={'BSaAu':function(_0x3d83fb,_0x49c89b,_0x54deab){return _0x3d83fb(_0x49c89b,_0x54deab);}},_0x42921b=loadCache(),_0x4ca373=_0x45e17c['BSaAu'](getOrCreateSession,_0x42921b,_0x311d48),_0x7ac435=_0x4ca373['lastPlanReminderAt']||0x0,_0x683d22=Date['now']();if(_0x683d22-_0x7ac435>=PLAN_REMINDER_INTERVAL_MS)return _0x4ca373['lastPlanReminderAt']=_0x683d22,saveCache(_0x42921b),!![];return![];}export function shouldShowStopReminder(_0x490912){const _0x2af9f0=_0x3009a4,_0x18133f={'AbjOw':function(_0x41f9ed){return _0x41f9ed();},'JgRKQ':function(_0x196a89,_0x140c53,_0x604075){return _0x196a89(_0x140c53,_0x604075);},'nWnJv':function(_0xcbc463,_0xf08ef){return _0xcbc463-_0xf08ef;},'yVWqY':function(_0x36b439,_0x10b57a){return _0x36b439(_0x10b57a);}},_0x2d2b61=_0x18133f['AbjOw'](loadCache),_0x420c64=_0x18133f[_0x2af9f0(0x20c)](getOrCreateSession,_0x2d2b61,_0x490912),_0x3e66c7=_0x420c64[_0x2af9f0(0x218)]||0x0,_0x3b9738=Date[_0x2af9f0(0x201)]();if(_0x18133f[_0x2af9f0(0x213)](_0x3b9738,_0x3e66c7)>=STOP_REMINDER_INTERVAL_MS)return _0x420c64['lastStopReminderAt']=_0x3b9738,_0x18133f[_0x2af9f0(0x204)](saveCache,_0x2d2b61),!![];return![];}function _0x152c(_0x558081,_0x427de1){_0x558081=_0x558081-0x1e1;const _0xfadb91=_0xfadb();let _0x152c5a=_0xfadb91[_0x558081];return _0x152c5a;}export function hasSessionBeenPrompted(_0xe094cc){const _0x2e399e=loadCache();return _0x2e399e['sessions'][_0xe094cc]?.['prompted']===!![];}export function markSessionPrompted(_0x56c0ec){const _0x3e2126=_0x3009a4,_0x68e558={'OFTLX':function(_0x3b19d2,_0x34d9b5,_0x230d94){return _0x3b19d2(_0x34d9b5,_0x230d94);}},_0x260c2d=loadCache(),_0x437ef4=_0x68e558[_0x3e2126(0x21b)](getOrCreateSession,_0x260c2d,_0x56c0ec);_0x437ef4[_0x3e2126(0x1e7)]=!![],saveCache(_0x260c2d);}export function getCacheFile(){return CACHE_FILE;}
@@ -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
+ function _0x28da(_0x433856,_0x1b79f4){_0x433856=_0x433856-0x10a;const _0x148dc7=_0x148d();let _0x28da4b=_0x148dc7[_0x433856];return _0x28da4b;}const _0xf58312=_0x28da;function _0x148d(){const _0x506e8a=['XrmJd','aDjKD','28326OPLHcw','AWMCC','1617447sdMyBC','vTuDX','ranger-config','ignoreHTTPSErrors','includes','RPixX','auth.json.enc','NNQul','replace','PAvWa','xiUdm','setupHeader','530OEYAgl','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','--disable-setuid-sandbox','MmChD','--unsafely-treat-insecure-origin-as-secure=http://localhost','entries','core','krYpN','headless','location','getuid','map','2VJtAfv','local','string','wtXxd','7944vQXyYb','launchOptions','nokSa','pTXiM','--disable-web-security','3542diSyZh','107739biMEaq','args','ranger-auth-','ZMRnH','pxuEA','warn','\x20is\x20not\x20set','storageState','WzNui','chromium','contextOptions','pHawp','install','--allow-insecure-localhost','EIAdk','extraHTTPHeaders','userAgent','bvkTf','fwqkx','RRsGV','object','.json','boolean','allowInsecureLocalhost','join','iPrnD','515BzyTiJ','ENOENT','zurbw','rHIgZ','RLWXX','VgkKA','DIEhg','XGNSa','PNjaB','UUsXU','hSdGi','setupHeaders','NWxAv','qnbRh','vTjKl','push','configPath','tempAuthPath','message','settings.json','--no-sandbox','849090kGyYkN','RJnOQ','--disable-features=WebBluetooth','wunZO','filter','legacy','now','692016EwCoxK','eemJG','wmEna','stringify','auth.json','--allow-running-insecure-content','tabs','IHrkp','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','OkyEo','path','cLYNo','hHZxb','lDaiy','length','TaRHH','4245274osItYZ','clipboard-read'];_0x148d=function(){return _0x506e8a;};return _0x148d();}(function(_0x271c81,_0x84ceac){const _0x10dd97=_0x28da,_0x49d260=_0x271c81();while(!![]){try{const _0x10f15b=parseInt(_0x10dd97(0x11d))/0x1+-parseInt(_0x10dd97(0x152))/0x2*(-parseInt(_0x10dd97(0x13a))/0x3)+-parseInt(_0x10dd97(0x124))/0x4+parseInt(_0x10dd97(0x176))/0x5*(-parseInt(_0x10dd97(0x138))/0x6)+parseInt(_0x10dd97(0x15b))/0x7*(-parseInt(_0x10dd97(0x156))/0x8)+parseInt(_0x10dd97(0x15c))/0x9*(parseInt(_0x10dd97(0x146))/0xa)+-parseInt(_0x10dd97(0x134))/0xb;if(_0x10f15b===_0x84ceac)break;else _0x49d260['push'](_0x49d260['shift']());}catch(_0x2f4ba6){_0x49d260['push'](_0x49d260['shift']());}}}(_0x148d,0x73fa3));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(_0x228490){const _0x23f8a5=_0x28da,_0x327db7={'HDLlA':function(_0x2d13ac){return _0x2d13ac();},'lTEWR':function(_0x1b95f3,_0x4f58a3,_0x1aa8d3,_0x3f038f){return _0x1b95f3(_0x4f58a3,_0x1aa8d3,_0x3f038f);},'XrmJd':_0x23f8a5(0x153),'vTuDX':function(_0x55e483,_0x11be70,_0x558850){return _0x55e483(_0x11be70,_0x558850);}},_0x3aa4d6=_0x327db7['HDLlA'](getRangerDir),_0x2d96c7=join(_0x3aa4d6,'ci',_0x228490),_0xdacacc=_0x327db7['lTEWR'](join,_0x3aa4d6,_0x327db7[_0x23f8a5(0x136)],_0x228490),_0x54dcb6=_0x327db7[_0x23f8a5(0x13b)](join,_0x3aa4d6,_0x228490),_0x4e30a5=join(_0x3aa4d6,_0x327db7['XrmJd']),_0x45a61f=_0x327db7['vTuDX'](join,_0x3aa4d6,'ci');if(existsSync(_0x2d96c7))return _0x2d96c7;if(existsSync(_0xdacacc))return _0xdacacc;if(existsSync(_0x54dcb6)&&(_0x54dcb6!==_0x4e30a5&&_0x54dcb6!==_0x45a61f?!![]:hasLegacyProfileFiles(_0x54dcb6)))return _0x54dcb6;return _0xdacacc;}export function findExistingEnv(_0x23ef97,_0x4d4ee2){const _0x1aa5c3=_0x28da,_0x1ab0a6={'EIAdk':_0x1aa5c3(0x153),'RRsGV':_0x1aa5c3(0x122),'ICKLU':function(_0x182c23,_0x52923e,_0x612714){return _0x182c23(_0x52923e,_0x612714);},'AiDyj':function(_0xbb0b8f,_0x49299e,_0x290b63){return _0xbb0b8f(_0x49299e,_0x290b63);},'cePfb':function(_0xeaefd0,_0xb57cd7,_0x24931c,_0xa8db07){return _0xeaefd0(_0xb57cd7,_0x24931c,_0xa8db07);},'eNAMo':function(_0x431ad4,_0x5950e6){return _0x431ad4(_0x5950e6);}},_0x416abf=getRangerDir(),_0x2fe6fc=_0x4d4ee2?.['locations']??['ci',_0x1ab0a6['EIAdk'],_0x1ab0a6[_0x1aa5c3(0x16f)]],_0x507235=_0x1ab0a6['ICKLU'](join,_0x416abf,_0x1aa5c3(0x153)),_0x25f7df=_0x1ab0a6['AiDyj'](join,_0x416abf,'ci'),_0x1f3212=[{'location':'ci','path':join(_0x416abf,'ci',_0x23ef97)},{'location':_0x1ab0a6[_0x1aa5c3(0x16a)],'path':_0x1ab0a6['cePfb'](join,_0x416abf,_0x1ab0a6[_0x1aa5c3(0x16a)],_0x23ef97)},{'location':_0x1aa5c3(0x122),'path':join(_0x416abf,_0x23ef97)}];for(const _0x19e9ac of _0x1f3212){if(_0x2fe6fc[_0x1aa5c3(0x13e)](_0x19e9ac['location'])&&existsSync(_0x19e9ac[_0x1aa5c3(0x12e)])){if(_0x19e9ac[_0x1aa5c3(0x14f)]===_0x1aa5c3(0x122)&&(_0x19e9ac['path']===_0x507235||_0x19e9ac[_0x1aa5c3(0x12e)]===_0x25f7df)&&!_0x1ab0a6['eNAMo'](hasLegacyProfileFiles,_0x19e9ac[_0x1aa5c3(0x12e)]))continue;return{'path':_0x19e9ac[_0x1aa5c3(0x12e)],'location':_0x19e9ac['location']};}}return null;}function hasLegacyProfileFiles(_0x2bc420){const _0x5ed013=_0x28da,_0xfbd23c={'CEIzb':function(_0x1a6d82,_0x3c45ff){return _0x1a6d82(_0x3c45ff);},'NWxAv':function(_0x548212,_0xd74e57,_0x5bd012){return _0x548212(_0xd74e57,_0x5bd012);},'hHZxb':_0x5ed013(0x11b),'lDaiy':_0x5ed013(0x128),'zKuGI':'auth.json.enc'};return _0xfbd23c['CEIzb'](existsSync,_0xfbd23c['NWxAv'](join,_0x2bc420,_0xfbd23c[_0x5ed013(0x130)]))||existsSync(_0xfbd23c[_0x5ed013(0x114)](join,_0x2bc420,_0xfbd23c[_0x5ed013(0x131)]))||_0xfbd23c['CEIzb'](existsSync,_0xfbd23c['NWxAv'](join,_0x2bc420,_0xfbd23c['zKuGI']));}export function isEnvCi(_0x2f20f9){const _0x2bbe5a=_0x28da,_0x3b0253={'AWMCC':function(_0x562145,_0x379e47,_0x2c6d27,_0x252c71){return _0x562145(_0x379e47,_0x2c6d27,_0x252c71);},'PNjaB':function(_0x2c001e){return _0x2c001e();}};return existsSync(_0x3b0253[_0x2bbe5a(0x139)](join,_0x3b0253[_0x2bbe5a(0x110)](getRangerDir),'ci',_0x2f20f9));}export async function cleanupTempFiles(_0x2427da){const _0x577b1a=_0x28da,_0x32374c={'mkViA':function(_0x2da892,_0x36ce62){return _0x2da892!==_0x36ce62;}},_0x5af835=[_0x2427da[_0x577b1a(0x119)],_0x2427da[_0x577b1a(0x118)]]['filter'](Boolean);await Promise['all'](_0x5af835['map'](_0x4a354f=>unlink(_0x4a354f)['catch'](_0x2188d7=>{const _0x3434cb=_0x577b1a;_0x32374c['mkViA'](_0x2188d7['code'],_0x3434cb(0x177))&&console[_0x3434cb(0x161)](_0x3434cb(0x12c)+_0x4a354f+':',_0x2188d7['message']);})));}export function getSettingsPath(_0x5d2367){const _0x4fee1c=_0x28da,_0x457a87={'wmEna':function(_0x1bcb35,_0x2160ae,_0x12fd6d){return _0x1bcb35(_0x2160ae,_0x12fd6d);}};return _0x457a87[_0x4fee1c(0x126)](join,getEnvDir(_0x5d2367),_0x4fee1c(0x11b));}export async function loadSettings(_0x2a4107){const _0x57b44a=_0x28da,_0x20f5d0={'fwqkx':function(_0x4e7381,_0x25f154){return _0x4e7381(_0x25f154);}},_0x1e4952=_0x20f5d0[_0x57b44a(0x16e)](getSettingsPath,_0x2a4107);if(!existsSync(_0x1e4952))return{};try{const _0x1c51b8=await readFile(_0x1e4952,'utf-8');return JSON['parse'](_0x1c51b8);}catch{return{};}}export async function saveSettings(_0xf6783f,_0x3027b7){const _0x16a0ad=_0x28da,_0x54976e={'eemJG':function(_0x357812,_0x1d38e2){return _0x357812(_0x1d38e2);},'xBCan':function(_0x451e28,_0x2dc1ad){return _0x451e28(_0x2dc1ad);},'aDjKD':function(_0x4e16ef,_0x2af08b){return _0x4e16ef(_0x2af08b);}},_0x4479fd=_0x54976e[_0x16a0ad(0x125)](getSettingsPath,_0xf6783f),_0x1dbc7b=_0x54976e['xBCan'](dirname,_0x4479fd);!_0x54976e[_0x16a0ad(0x137)](existsSync,_0x1dbc7b)&&await mkdir(_0x1dbc7b,{'recursive':!![]}),await writeFile(_0x4479fd,JSON['stringify'](_0x3027b7,null,0x2));}export function resolveEnvVars(_0x1c76ab){const _0x263579=_0x28da,_0x1b5ac9={'pxuEA':function(_0x2f2df2,_0x6a59a5){return _0x2f2df2===_0x6a59a5;},'EFRar':'string','DIEhg':_0x263579(0x170)};if(typeof _0x1c76ab===_0x1b5ac9['EFRar'])return _0x1c76ab[_0x263579(0x142)](/\$\{(\w+)\}/g,(_0x554700,_0x4075e6)=>{const _0x59edc2=_0x263579,_0x2a0193=process['env'][_0x4075e6];if(_0x1b5ac9[_0x59edc2(0x160)](_0x2a0193,undefined))throw new Error('Environment\x20variable\x20'+_0x4075e6+_0x59edc2(0x162));return _0x2a0193;});if(Array['isArray'](_0x1c76ab))return _0x1c76ab[_0x263579(0x151)](resolveEnvVars);if(_0x1c76ab&&_0x1b5ac9['pxuEA'](typeof _0x1c76ab,_0x1b5ac9[_0x263579(0x10e)]))return Object['fromEntries'](Object[_0x263579(0x14b)](_0x1c76ab)['map'](([_0x45390a,_0x20cc40])=>[_0x45390a,resolveEnvVars(_0x20cc40)]));return _0x1c76ab;}const isRecord=_0xb2f16f=>typeof _0xb2f16f===_0xf58312(0x170)&&_0xb2f16f!==null&&!Array['isArray'](_0xb2f16f),asRecord=_0x3499ff=>isRecord(_0x3499ff)?_0x3499ff:undefined,mergeHeaders=(_0x23c176,_0x405c42)=>{const _0x1035d4=_0xf58312,_0x39aa5b={..._0x23c176??{},..._0x405c42??{}};return Object['keys'](_0x39aa5b)[_0x1035d4(0x132)]?_0x39aa5b:undefined;},SAFE_MODE_ARGS=[_0xf58312(0x11f)],ALLOW_LOCALHOST_ARGS=[_0xf58312(0x15a),_0xf58312(0x129),_0xf58312(0x14a),_0xf58312(0x169)];export function buildBrowserOptionsFromSettings(_0x48ba90,_0x4b8999={}){const _0x14ab21=_0xf58312,_0x22ed19={'NNQul':function(_0x40eeec,_0x45f88a){return _0x40eeec(_0x45f88a);},'pTXiM':function(_0x5567f9,_0x109fdb){return _0x5567f9===_0x109fdb;},'uyPrX':_0x14ab21(0x172)},_0x5428b7=asRecord(_0x48ba90['browser']),_0x2af559={..._0x22ed19[_0x14ab21(0x141)](asRecord,_0x5428b7?.[_0x14ab21(0x157)])??{}};_0x22ed19[_0x14ab21(0x159)](typeof _0x4b8999[_0x14ab21(0x14e)],_0x22ed19['uyPrX'])&&(_0x2af559['headless']=_0x4b8999[_0x14ab21(0x14e)]);if(_0x48ba90['safeMode']){const _0x2461ff=_0x2af559['args']??[],_0x7a4693=SAFE_MODE_ARGS[_0x14ab21(0x121)](_0x5d7868=>!_0x2461ff[_0x14ab21(0x13e)](_0x5d7868));_0x2af559['args']=[..._0x2461ff,..._0x7a4693];}if(_0x48ba90[_0x14ab21(0x173)]){const _0x13437d=_0x2af559[_0x14ab21(0x15d)]??[],_0x31f6e8=ALLOW_LOCALHOST_ARGS['filter'](_0x2970c6=>!_0x13437d['includes'](_0x2970c6));_0x2af559[_0x14ab21(0x15d)]=[..._0x13437d,..._0x31f6e8];}const _0x3ca6cf={...asRecord(_0x5428b7?.[_0x14ab21(0x166)])??{}};_0x3ca6cf[_0x14ab21(0x13d)]=!![];typeof _0x48ba90[_0x14ab21(0x16c)]===_0x14ab21(0x154)&&(_0x3ca6cf[_0x14ab21(0x16c)]=_0x48ba90['userAgent']);const _0x16d84b=mergeHeaders(_0x22ed19['NNQul'](asRecord,_0x3ca6cf['extraHTTPHeaders']),asRecord(_0x48ba90['headers']));return _0x16d84b?_0x3ca6cf[_0x14ab21(0x16b)]=_0x16d84b:delete _0x3ca6cf['extraHTTPHeaders'],_0x4b8999['storageStatePath']&&(_0x3ca6cf[_0x14ab21(0x163)]=_0x4b8999['storageStatePath']),{'launchOptions':_0x2af559,'contextOptions':_0x3ca6cf};}export async function buildPlaywrightConfig(_0x53f3fa,_0xb49652,_0x3325b6,_0x64b7a8){const _0x242cf9=_0xf58312,_0x14a95e={'PHNXF':function(_0x2fe001,_0x29b518){return _0x2fe001===_0x29b518;},'bQoET':_0x242cf9(0x148),'xiUdm':_0x242cf9(0x165),'XGNSa':'clipboard-read','pHawp':function(_0x3d8431,_0x4156d7,_0x3b6828){return _0x3d8431(_0x4156d7,_0x3b6828);},'cLYNo':function(_0xc6e49b,_0x43208e,_0xc8490e){return _0xc6e49b(_0x43208e,_0xc8490e);},'krYpN':function(_0xefb88e,_0x486167){return _0xefb88e(_0x486167);},'TaRHH':function(_0x181360){return _0x181360();},'Wphvb':function(_0x59dbe0,_0x33c99e,_0x10bee8){return _0x59dbe0(_0x33c99e,_0x10bee8);},'wunZO':function(_0x32725a,_0x48f4eb,_0x59e246,_0x143609){return _0x32725a(_0x48f4eb,_0x59e246,_0x143609);},'RlshZ':function(_0x44c8c4){return _0x44c8c4();},'oRyaS':'sessions','MmChD':_0x242cf9(0x12a),'nokSa':function(_0x2d16c8,_0x1b857c){return _0x2d16c8===_0x1b857c;},'ZMRnH':function(_0x2f6a11,_0x3cb102,_0x3a78ea){return _0x2f6a11(_0x3cb102,_0x3a78ea);},'qnbRh':function(_0x3f87b2){return _0x3f87b2();},'bvkTf':function(_0x69fd66,_0x5a9ecf,_0x3a1b77){return _0x69fd66(_0x5a9ecf,_0x3a1b77);}},_0x3c4cb3=getEnvDir(_0xb49652),_0x581571=_0x14a95e[_0x242cf9(0x167)](join,_0x3c4cb3,_0x242cf9(0x140)),_0x344b91=_0x14a95e['cLYNo'](join,_0x3c4cb3,'auth.json');let _0x481690,_0x5580ab;if(_0x14a95e[_0x242cf9(0x14d)](existsSync,_0x581571))try{const _0x40a1d2=await getToken();if(!_0x40a1d2)throw new Error(_0x242cf9(0x147));const _0x4bdca8=await readFile(_0x581571),_0xc4466e=_0x14a95e[_0x242cf9(0x167)](decrypt,_0x4bdca8,_0x40a1d2);_0x5580ab=join(_0x14a95e[_0x242cf9(0x133)](tmpdir),'ranger-auth-'+Date[_0x242cf9(0x123)]()+_0x242cf9(0x171)),await _0x14a95e['Wphvb'](writeFile,_0x5580ab,_0xc4466e),_0x481690=_0x5580ab;}catch(_0x4e48c5){const _0x4cad27=_0x4e48c5 instanceof Error?_0x4e48c5['message']:_0x14a95e[_0x242cf9(0x14d)](String,_0x4e48c5);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x4cad27);}else _0x14a95e[_0x242cf9(0x14d)](existsSync,_0x344b91)&&(_0x481690=_0x344b91);const _0x5e7a38=_0x3325b6||randomUUID(),_0x532d92=_0x14a95e[_0x242cf9(0x120)](join,_0x14a95e['RlshZ'](getRangerDir),_0x14a95e['oRyaS'],_0x5e7a38),_0x47a8c2=Boolean(_0x53f3fa['cdpEndpoint']),_0x36c290=_0x47a8c2?{'browserName':'chromium','cdpEndpoint':_0x53f3fa['cdpEndpoint']}:((()=>{const _0x4dee23=_0x242cf9,{launchOptions:_0x121ed7,contextOptions:_0x5cc445}=buildBrowserOptionsFromSettings(_0x53f3fa,{'headless':_0x64b7a8?![]:_0x53f3fa[_0x4dee23(0x14e)]??!![],'storageStatePath':_0x481690});if(_0x14a95e['PHNXF'](process[_0x4dee23(0x150)]?.(),0x0)){const _0x1eab82=[_0x4dee23(0x11c),_0x14a95e['bQoET']],_0x30f29b=_0x121ed7[_0x4dee23(0x15d)]??[],_0xdfe213=_0x1eab82['filter'](_0xeb2d03=>!_0x30f29b['includes'](_0xeb2d03));_0x121ed7['args']=[..._0x30f29b,..._0xdfe213];}return{'isolated':!![],'browserName':_0x14a95e[_0x4dee23(0x144)],'launchOptions':_0x121ed7,'contextOptions':{..._0x5cc445,'permissions':[_0x14a95e[_0x4dee23(0x10f)],'clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x5690cb={'name':_0xb49652,'browser':_0x36c290,'capabilities':[_0x242cf9(0x14c),_0x14a95e[_0x242cf9(0x149)],_0x242cf9(0x168),'pdf','vision'],'imageResponses':'allow','saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x532d92};if(!_0x47a8c2){const _0x37e06b=_0x5690cb['browser'],_0x258f04=_0x37e06b[_0x242cf9(0x166)];if(_0x14a95e[_0x242cf9(0x158)](_0x258f04['userAgent'],undefined))delete _0x258f04[_0x242cf9(0x16c)];if(_0x258f04['storageState']===undefined)delete _0x258f04['storageState'];}const _0x14bb9c=_0x14a95e[_0x242cf9(0x15f)](join,_0x14a95e[_0x242cf9(0x115)](tmpdir),_0x242cf9(0x13c));!_0x14a95e[_0x242cf9(0x14d)](existsSync,_0x14bb9c)&&await _0x14a95e[_0x242cf9(0x12f)](mkdir,_0x14bb9c,{'recursive':!![]});const _0x2428fe=_0x14a95e['Wphvb'](join,_0x14bb9c,_0xb49652+'-'+Date['now']()+'.json');return await _0x14a95e[_0x242cf9(0x16d)](writeFile,_0x2428fe,JSON[_0x242cf9(0x127)](_0x5690cb,null,0x2)),{'configPath':_0x2428fe,'tempAuthPath':_0x5580ab};}export async function buildPlaywrightCliConfig(_0x16afc9,_0x1a00ab,_0x1ea73e,_0x3e056a){const _0x49a281=_0xf58312,_0x220e83={'IHrkp':function(_0x448f1b,_0x2f6b94,_0x5e2901){return _0x448f1b(_0x2f6b94,_0x5e2901);},'ykoaT':function(_0x5a21fc,_0x4c5982){return _0x5a21fc===_0x4c5982;},'Fpqiv':'--no-sandbox','WzNui':_0x49a281(0x165),'fUfkq':_0x49a281(0x135),'PAvWa':'clipboard-write','zurbw':function(_0x3df74b,_0xe941ea){return _0x3df74b(_0xe941ea);},'RJnOQ':function(_0xa82186,_0x4c90a7,_0xe5fe7c){return _0xa82186(_0x4c90a7,_0xe5fe7c);},'rHIgZ':_0x49a281(0x128),'VgkKA':function(_0x3fcdc6,_0x2ed253){return _0x3fcdc6(_0x2ed253);},'RPixX':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','lVbFQ':function(_0x35a6e7,_0x1f129c,_0x42a4ee,_0x3affdd){return _0x35a6e7(_0x1f129c,_0x42a4ee,_0x3affdd);},'vTjKl':'sessions','wtXxd':function(_0x4a9727,_0xd2149e){return _0x4a9727===_0xd2149e;},'RLWXX':function(_0x75920b,_0x269eb3,_0x3887da){return _0x75920b(_0x269eb3,_0x3887da);},'OkyEo':'ranger-config','nLMZU':function(_0x22632e,_0x543c4e,_0x163cfc){return _0x22632e(_0x543c4e,_0x163cfc);},'vmzXt':function(_0x4dc360,_0xaa77d8,_0x5e5652){return _0x4dc360(_0xaa77d8,_0x5e5652);}},_0x37a8b9=_0x220e83['zurbw'](getEnvDir,_0x1a00ab),_0x4bff6b=join(_0x37a8b9,_0x49a281(0x140)),_0x3be91b=_0x220e83[_0x49a281(0x11e)](join,_0x37a8b9,_0x220e83[_0x49a281(0x10b)]);let _0x31353f,_0x28c840;if(_0x220e83['VgkKA'](existsSync,_0x4bff6b))try{const _0x4604a7=await getToken();if(!_0x4604a7)throw new Error(_0x220e83[_0x49a281(0x13f)]);const _0x5b343d=await _0x220e83[_0x49a281(0x10a)](readFile,_0x4bff6b),_0x1d0b4c=_0x220e83['RJnOQ'](decrypt,_0x5b343d,_0x4604a7);_0x28c840=join(tmpdir(),_0x49a281(0x15e)+Date['now']()+_0x49a281(0x171)),await writeFile(_0x28c840,_0x1d0b4c),_0x31353f=_0x28c840;}catch(_0x237df6){const _0x27009d=_0x237df6 instanceof Error?_0x237df6[_0x49a281(0x11a)]:String(_0x237df6);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x27009d);}else existsSync(_0x3be91b)&&(_0x31353f=_0x3be91b);const _0x26a4a2=_0x1ea73e||randomUUID(),_0x4b154b=_0x220e83['lVbFQ'](join,getRangerDir(),_0x220e83[_0x49a281(0x116)],_0x26a4a2),_0x428fff=_0x220e83[_0x49a281(0x10d)](Boolean,_0x16afc9['cdpEndpoint']),_0x10cc8b=_0x428fff?{'browserName':'chromium','cdpEndpoint':_0x16afc9['cdpEndpoint']}:((()=>{const _0xd3a7a4=_0x49a281,{launchOptions:_0x252143,contextOptions:_0x5a7174}=_0x220e83[_0xd3a7a4(0x12b)](buildBrowserOptionsFromSettings,_0x16afc9,{'headless':_0x3e056a?![]:_0x16afc9[_0xd3a7a4(0x14e)]??!![],'storageStatePath':_0x31353f});if(_0x220e83['ykoaT'](process['getuid']?.(),0x0)){const _0x247aa8=[_0x220e83['Fpqiv'],'--disable-setuid-sandbox'],_0x4e35db=_0x252143[_0xd3a7a4(0x15d)]??[],_0x170c6a=_0x247aa8[_0xd3a7a4(0x121)](_0x48ee9d=>!_0x4e35db[_0xd3a7a4(0x13e)](_0x48ee9d));_0x252143[_0xd3a7a4(0x15d)]=[..._0x4e35db,..._0x170c6a];}return{'isolated':!![],'browserName':_0x220e83[_0xd3a7a4(0x164)],'launchOptions':_0x252143,'contextOptions':{..._0x5a7174,'permissions':[_0x220e83['fUfkq'],_0x220e83[_0xd3a7a4(0x143)]],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x428fff){const _0x3db647=_0x10cc8b['contextOptions'];if(_0x3db647[_0x49a281(0x16c)]===undefined)delete _0x3db647['userAgent'];if(_0x220e83[_0x49a281(0x155)](_0x3db647['storageState'],undefined))delete _0x3db647['storageState'];}const _0x50b543={'browser':_0x10cc8b,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x4b154b,'outputMode':'file','codegen':'none'},_0xaf81d=_0x220e83[_0x49a281(0x10c)](join,tmpdir(),_0x220e83[_0x49a281(0x12d)]);!_0x220e83[_0x49a281(0x10a)](existsSync,_0xaf81d)&&await _0x220e83['nLMZU'](mkdir,_0xaf81d,{'recursive':!![]});const _0x289a89=join(_0xaf81d,_0x1a00ab+'-'+Date['now']()+'-cli.json');return await _0x220e83['vmzXt'](writeFile,_0x289a89,JSON[_0x49a281(0x127)](_0x50b543,null,0x2)),{'configPath':_0x289a89,'tempAuthPath':_0x28c840};}export function getNestedValue(_0x35cfe7,_0xfd8020){const _0x561e64=_0xf58312,_0x3af1ac={'iPrnD':function(_0x368afa,_0x1dbc3b){return _0x368afa(_0x1dbc3b);}},_0x46bd70=_0x3af1ac[_0x561e64(0x175)](parseKeyPath,_0xfd8020);let _0x6bf48b=_0x35cfe7;for(const _0x3978a6 of _0x46bd70){if(_0x6bf48b===null||_0x6bf48b===undefined||typeof _0x6bf48b!==_0x561e64(0x170))return undefined;_0x6bf48b=_0x6bf48b[_0x3978a6];}return _0x6bf48b;}export function setNestedValue(_0x1245c9,_0x4ceee6,_0x2c7e0f){const _0x4f096d=_0xf58312,_0x30c9b2={'hSdGi':_0x4f096d(0x170)},_0x414fc7=parseKeyPath(_0x4ceee6);let _0x48593e=_0x1245c9;for(let _0x382c76=0x0;_0x382c76<_0x414fc7[_0x4f096d(0x132)]-0x1;_0x382c76++){const _0x4ed259=_0x414fc7[_0x382c76];(!(_0x4ed259 in _0x48593e)||typeof _0x48593e[_0x4ed259]!==_0x30c9b2[_0x4f096d(0x112)])&&(_0x48593e[_0x4ed259]={}),_0x48593e=_0x48593e[_0x4ed259];}_0x48593e[_0x414fc7[_0x414fc7['length']-0x1]]=_0x2c7e0f;}export function deleteNestedValue(_0x4aa0eb,_0x990641){const _0x1065c2=_0xf58312,_0x5e35bb={'CBZRi':_0x1065c2(0x170),'UUsXU':function(_0x3bcd63,_0x566441){return _0x3bcd63===_0x566441;},'KNIDM':function(_0x325367,_0x5083fa){return _0x325367-_0x5083fa;}},_0x49f7f7=parseKeyPath(_0x990641);let _0xb865d4=_0x4aa0eb;for(let _0xe21038=0x0;_0xe21038<_0x49f7f7[_0x1065c2(0x132)]-0x1;_0xe21038++){if(_0xb865d4===null||_0xb865d4===undefined||typeof _0xb865d4!==_0x5e35bb['CBZRi'])return![];_0xb865d4=_0xb865d4[_0x49f7f7[_0xe21038]];}if(_0x5e35bb[_0x1065c2(0x111)](_0xb865d4,null)||_0x5e35bb[_0x1065c2(0x111)](_0xb865d4,undefined)||typeof _0xb865d4!==_0x5e35bb['CBZRi'])return![];const _0x15e750=_0x49f7f7[_0x5e35bb['KNIDM'](_0x49f7f7['length'],0x1)];if(_0x15e750 in _0xb865d4)return delete _0xb865d4[_0x15e750],!![];return![];}function parseKeyPath(_0x88a4b9){const _0x1b64db=_0xf58312,_0x3aaa64={'fJQjf':function(_0x3db8f5,_0x4db296){return _0x3db8f5===_0x4db296;}},_0x3b2a36=_0x88a4b9['split']('.');return _0x3aaa64['fJQjf'](_0x3b2a36[0x0],'header')&&(_0x3b2a36[0x0]='headers'),_0x3b2a36[0x0]===_0x1b64db(0x145)&&(_0x3b2a36[0x0]=_0x1b64db(0x113)),_0x3b2a36;}export function formatSettings(_0xbd836d,_0x14dc11=0x0){const _0x47c3cd=_0xf58312,_0x49c1cf={'TEVCI':function(_0x509cf6,_0x3c3da7){return _0x509cf6===_0x3c3da7;}},_0x631b0e=[],_0x44373b='\x20\x20'['repeat'](_0x14dc11);for(const [_0x15755b,_0x1b081a]of Object[_0x47c3cd(0x14b)](_0xbd836d)){if(_0x1b081a===undefined)continue;if(_0x49c1cf['TEVCI'](typeof _0x1b081a,_0x47c3cd(0x170))&&_0x1b081a!==null){_0x631b0e['push'](''+_0x44373b+_0x15755b+':');for(const [_0x5c0beb,_0x5b5fc8]of Object[_0x47c3cd(0x14b)](_0x1b081a)){_0x631b0e['push'](_0x44373b+'\x20\x20'+_0x5c0beb+':\x20'+_0x5b5fc8);}}else _0x631b0e[_0x47c3cd(0x117)](''+_0x44373b+_0x15755b+':\x20'+_0x1b081a);}return _0x631b0e[_0x47c3cd(0x174)]('\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 _0x3c19(){const _0x431b15=['7282CCSFnt','189615JMqijM','3213591czVZnO','335190gvaksJ','4iPcIiB','1625LrnoUs','1832llHkqT','119QMGjde','22ZGewFm','12864fuFYFq','utf-8','89399AcAONC','6410bWTGWk','15831YKxipZ'];_0x3c19=function(){return _0x431b15;};return _0x3c19();}(function(_0x491f35,_0x343aad){const _0x55afb0=_0x38bd,_0x39b81c=_0x491f35();while(!![]){try{const _0x3f8a6e=parseInt(_0x55afb0(0x1db))/0x1*(parseInt(_0x55afb0(0x1e6))/0x2)+parseInt(_0x55afb0(0x1e0))/0x3*(-parseInt(_0x55afb0(0x1e2))/0x4)+-parseInt(_0x55afb0(0x1df))/0x5+parseInt(_0x55afb0(0x1e1))/0x6*(parseInt(_0x55afb0(0x1e5))/0x7)+parseInt(_0x55afb0(0x1e4))/0x8*(parseInt(_0x55afb0(0x1dd))/0x9)+-parseInt(_0x55afb0(0x1dc))/0xa*(parseInt(_0x55afb0(0x1de))/0xb)+-parseInt(_0x55afb0(0x1d9))/0xc*(parseInt(_0x55afb0(0x1e3))/0xd);if(_0x3f8a6e===_0x343aad)break;else _0x39b81c['push'](_0x39b81c['shift']());}catch(_0x3bf12f){_0x39b81c['push'](_0x39b81c['shift']());}}}(_0x3c19,0xa331b));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';function _0x38bd(_0x4e5ccf,_0x1b6f53){_0x4e5ccf=_0x4e5ccf-0x1d9;const _0x3c193d=_0x3c19();let _0x38bda5=_0x3c193d[_0x4e5ccf];return _0x38bda5;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x14dede){const _0x1dcd28=_0x38bd,_0x2f74ca={'BQkFS':'skills','ubuEk':function(_0x10b68f,_0x3c848d,_0x5f0673){return _0x10b68f(_0x3c848d,_0x5f0673);}},_0x4a9ae4=join(__dirname,'..','..',_0x2f74ca['BQkFS']),_0x1b7356=_0x2f74ca['ubuEk'](join,_0x4a9ae4,_0x14dede);try{return readFileSync(_0x1b7356,_0x1dcd28(0x1da));}catch{return'';}}export function getRangerSkillContent(){return readSkillContent('ranger/SKILL.md');}
@@ -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 _0x1c57e0=_0x30f9;(function(_0x1e1c19,_0x199cc4){const _0x3c79bc=_0x30f9,_0xe70935=_0x1e1c19();while(!![]){try{const _0x1bb64a=-parseInt(_0x3c79bc(0x134))/0x1+-parseInt(_0x3c79bc(0x136))/0x2+-parseInt(_0x3c79bc(0x13c))/0x3+-parseInt(_0x3c79bc(0x155))/0x4*(parseInt(_0x3c79bc(0x144))/0x5)+parseInt(_0x3c79bc(0x14a))/0x6+parseInt(_0x3c79bc(0x149))/0x7+parseInt(_0x3c79bc(0x142))/0x8*(parseInt(_0x3c79bc(0x151))/0x9);if(_0x1bb64a===_0x199cc4)break;else _0xe70935['push'](_0xe70935['shift']());}catch(_0x23a2e6){_0xe70935['push'](_0xe70935['shift']());}}}(_0x1221,0xd278e));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';function _0x1221(){const _0x47ce6b=['Hcodw','join','feature-tracker','project','8KFMckN','\x20\x20Removed\x20deprecated\x20skill:\x20','455ekCOur','EJnIC','isDirectory','e2e-test-recommender','filter','9035313sTYnZV','5072022KpIPNn','INjpK','wGhwP','SKILL.md','opencode','.md','GEXhm','18985581LWZGNJ','log','utf-8','\x20\x20Installed\x20skill:\x20','71468syLAKY','UBvjm','cbMpL','match','warn','bTLso','skills','533937ijVawf','claude','776474afGuZu','ERByH','bug-bash','endsWith','length','zfcKZ','2506320yMlnIF','\x20\x20Files:\x20'];_0x1221=function(){return _0x47ce6b;};return _0x1221();}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=[_0x1c57e0(0x147),_0x1c57e0(0x138),_0x1c57e0(0x140)];function _0x30f9(_0x5f005d,_0xdfe4c7){_0x5f005d=_0x5f005d-0x12e;const _0x1221af=_0x1221();let _0x30f9a2=_0x1221af[_0x5f005d];return _0x30f9a2;}export async function installSkill(_0x1ea557,_0x5726f5={}){const _0x2d457b=_0x1c57e0,_0x114a8a={'Mrbou':_0x2d457b(0x141),'Hcodw':_0x2d457b(0x135),'GEXhm':function(_0x15a041){return _0x15a041();},'INjpK':function(_0x45f49e,_0x4edae6,_0x21f832){return _0x45f49e(_0x4edae6,_0x21f832);},'ERByH':function(_0x5c876a,_0xc1276b){return _0x5c876a(_0xc1276b);},'CZMmS':function(_0x1074a,_0x450775,_0xa957bc){return _0x1074a(_0x450775,_0xa957bc);},'SOHLe':_0x2d457b(0x14d),'wGhwP':function(_0x2ac901,_0x109c4c){return _0x2ac901&&_0x109c4c;},'ARHxA':function(_0x380488,_0x5dd47b){return _0x380488===_0x5dd47b;},'AwlGY':function(_0x5d78cf,_0x3b302b,_0x4e07b7){return _0x5d78cf(_0x3b302b,_0x4e07b7);},'cbMpL':_0x2d457b(0x153),'UBvjm':function(_0x54a989,_0x1479ca,_0x13ef57,_0x5172d6){return _0x54a989(_0x1479ca,_0x13ef57,_0x5172d6);},'zfcKZ':function(_0x45e413,_0x1e9303){return _0x45e413>_0x1e9303;}},{level:level=_0x114a8a['Mrbou'],cliVersion:_0x202934,platform:platform=_0x114a8a[_0x2d457b(0x13e)]}=_0x5726f5,_0x54375c=_0x114a8a[_0x2d457b(0x150)](getSourceSkillsDir),_0xeda8bb=_0x114a8a[_0x2d457b(0x14b)](join,_0x54375c,_0x1ea557),_0x5463d1=_0x114a8a['INjpK'](join,_0x54375c,_0x1ea557+_0x2d457b(0x14f)),_0x1fbf4a=existsSync(_0xeda8bb)&&_0x114a8a['ERByH'](statSync,_0xeda8bb)[_0x2d457b(0x146)]()&&existsSync(_0x114a8a['CZMmS'](join,_0xeda8bb,_0x114a8a['SOHLe'])),_0x35bc4b=existsSync(_0x5463d1);if(_0x114a8a[_0x2d457b(0x14c)](!_0x1fbf4a,!_0x35bc4b))return console[_0x2d457b(0x131)]('\x20\x20Skill\x20not\x20found:\x20'+_0x1ea557),![];const _0x110805=_0x114a8a['ARHxA'](platform,_0x2d457b(0x14e))?_0x114a8a['ERByH'](getOpencodeSkillsDir,level):getSkillsDir(level),_0x26d109=_0x114a8a['INjpK'](join,_0x110805,_0x1ea557);await mkdir(_0x26d109,{'recursive':!![]});let _0x1dd9df,_0xd2bd7d=[];if(_0x1fbf4a){const _0x386dd9=await readdir(_0xeda8bb),_0x2e6c45=_0x386dd9[_0x2d457b(0x148)](_0xbdc13=>_0xbdc13[_0x2d457b(0x139)]('.md'));for(const _0x2f8596 of _0x2e6c45){const _0x545bce=join(_0xeda8bb,_0x2f8596),_0x203d91=_0x114a8a['CZMmS'](join,_0x26d109,_0x2f8596);await copyFile(_0x545bce,_0x203d91),_0xd2bd7d['push'](_0x2f8596);}_0x1dd9df=await _0x114a8a['AwlGY'](readFile,_0x114a8a['INjpK'](join,_0xeda8bb,_0x114a8a['SOHLe']),_0x2d457b(0x153));}else{_0x1dd9df=await readFile(_0x5463d1,_0x114a8a[_0x2d457b(0x12f)]);const _0x431626=_0x114a8a[_0x2d457b(0x14b)](join,_0x26d109,_0x2d457b(0x14d));await _0x114a8a['UBvjm'](writeFile,_0x431626,_0x1dd9df,'utf-8'),_0xd2bd7d['push'](_0x2d457b(0x14d));}const {name:_0x58e259}=_0x114a8a[_0x2d457b(0x137)](parseFrontmatter,_0x1dd9df);return console[_0x2d457b(0x152)](_0x2d457b(0x154)+_0x58e259),console[_0x2d457b(0x152)]('\x20\x20Location:\x20'+_0x26d109),_0x114a8a[_0x2d457b(0x13b)](_0xd2bd7d[_0x2d457b(0x13a)],0x1)&&console['log'](_0x2d457b(0x13d)+_0xd2bd7d[_0x2d457b(0x13f)](',\x20')),_0x114a8a[_0x2d457b(0x12e)](logLocalAgentInstallation,_0x1ea557,{'skillDisplayName':_0x58e259,'installLevel':level},_0x202934)['catch'](()=>{}),!![];}function getSourceSkillsDir(){const _0x4db4cb=_0x1c57e0,_0x4f8f6a={'bTLso':_0x4db4cb(0x133)},_0x54b642=[join(__dirname,'..','..',_0x4f8f6a[_0x4db4cb(0x132)]),join(__dirname,'..','..','..',_0x4db4cb(0x133))];for(const _0xab2278 of _0x54b642){if(existsSync(_0xab2278))return _0xab2278;}return _0x54b642[0x0];}function parseFrontmatter(_0x1e5e3b){const _0x1d10af=_0x1c57e0,_0x4bc097={'ngpmX':'Invalid\x20skill\x20frontmatter'},_0x73f844=_0x1e5e3b[_0x1d10af(0x130)](/^---\n([\s\S]+?)\n---/);if(!_0x73f844)throw new Error(_0x4bc097['ngpmX']);const _0x473d1b=_0x73f844[0x1],_0x424fe0=_0x473d1b['match'](/name:\s*(.+)/),_0x20cb4d=_0x473d1b[_0x1d10af(0x130)](/description:\s*"?(.+?)"?\n/);return{'name':_0x424fe0?.[0x1]['trim']()||'','description':_0x20cb4d?.[0x1]['trim']()||''};}export async function removeSkill(_0x10ccd8,_0x2a1c28){const _0x49fbc6=_0x1c57e0,_0x17e89f={'WWqUI':function(_0x40d3f4,_0x3f84dd){return _0x40d3f4(_0x3f84dd);},'EJnIC':function(_0x1171a4,_0x13f7fe,_0x5ce4e5){return _0x1171a4(_0x13f7fe,_0x5ce4e5);}},_0x3e224c=_0x17e89f['WWqUI'](getSkillsDir,_0x2a1c28),_0x1afd12=join(_0x3e224c,_0x10ccd8);if(!_0x17e89f['WWqUI'](existsSync,_0x1afd12))return![];try{return await _0x17e89f[_0x49fbc6(0x145)](rm,_0x1afd12,{'recursive':!![]}),console['log'](_0x49fbc6(0x143)+_0x10ccd8),!![];}catch{return console[_0x49fbc6(0x131)]('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x10ccd8),![];}}