@ranger-testing/ranger-cli 2.4.5 → 2.4.6

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 (72) 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/claudeOverrideSettings.js +1 -1
  38. package/build/commands/utils/claudePlugin.js +1 -1
  39. package/build/commands/utils/crypto.js +1 -1
  40. package/build/commands/utils/desirePathLog.js +1 -1
  41. package/build/commands/utils/deviceAuth.js +1 -1
  42. package/build/commands/utils/environment.js +1 -1
  43. package/build/commands/utils/featureApi.js +1 -1
  44. package/build/commands/utils/featureReportGenerator.js +1 -1
  45. package/build/commands/utils/fixWebmDuration.js +1 -1
  46. package/build/commands/utils/git.js +1 -1
  47. package/build/commands/utils/keychain.js +1 -1
  48. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  49. package/build/commands/utils/mcpImageBase64.js +1 -1
  50. package/build/commands/utils/model.js +1 -1
  51. package/build/commands/utils/opencodeConfig.js +1 -1
  52. package/build/commands/utils/playwrightCli.js +1 -1
  53. package/build/commands/utils/profileMessages.js +1 -1
  54. package/build/commands/utils/profileSetupBanner.js +1 -1
  55. package/build/commands/utils/rangerConfig.js +1 -1
  56. package/build/commands/utils/rangerRoot.js +1 -1
  57. package/build/commands/utils/reportGenerator.js +1 -1
  58. package/build/commands/utils/retry.js +1 -1
  59. package/build/commands/utils/sessionCache.js +1 -1
  60. package/build/commands/utils/settings.js +1 -1
  61. package/build/commands/utils/skillContent.js +1 -1
  62. package/build/commands/utils/skills.js +1 -1
  63. package/build/commands/utils/stitchWebmFiles.js +1 -1
  64. package/build/commands/utils/telemetry.js +1 -1
  65. package/build/commands/utils/tokenRefresh.js +1 -1
  66. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  67. package/build/commands/utils/userApi.js +1 -1
  68. package/build/commands/utils/version.js +1 -1
  69. package/build/commands/verifyFeature.js +1 -1
  70. package/build/commands/verifyFeatureCli.js +1 -1
  71. package/build/commands/verifyInBrowser.js +1 -1
  72. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x346f12,_0x38f34d){const _0xda3d23=_0x33f2,_0x4997b7=_0x346f12();while(!![]){try{const _0x39ac02=parseInt(_0xda3d23(0x129))/0x1+parseInt(_0xda3d23(0x107))/0x2*(parseInt(_0xda3d23(0xf0))/0x3)+parseInt(_0xda3d23(0x11a))/0x4*(parseInt(_0xda3d23(0xf5))/0x5)+parseInt(_0xda3d23(0xee))/0x6*(-parseInt(_0xda3d23(0xf8))/0x7)+parseInt(_0xda3d23(0x11e))/0x8*(parseInt(_0xda3d23(0x109))/0x9)+parseInt(_0xda3d23(0x110))/0xa+-parseInt(_0xda3d23(0xf6))/0xb*(parseInt(_0xda3d23(0x127))/0xc);if(_0x39ac02===_0x38f34d)break;else _0x4997b7['push'](_0x4997b7['shift']());}catch(_0x2b2512){_0x4997b7['push'](_0x4997b7['shift']());}}}(_0x5bf8,0x5c3ca));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0xd6ebfb){const _0xb551fa=_0x33f2,_0x27f597={'maMKO':function(_0x5c39ee,_0x1d4b6b){return _0x5c39ee(_0x1d4b6b);},'Dzofq':_0xb551fa(0xfb)},_0x5af53e=_0x27f597['maMKO'](createHash,_0xb551fa(0xfd))['update'](_0xd6ebfb)[_0xb551fa(0xf2)](_0x27f597['Dzofq'])['slice'](0x0,0xc);return _0xb551fa(0x105)+_0x5af53e;}function shellQuote(_0x32dd5d){const _0x27b689=_0x33f2;return'\x27'+_0x32dd5d['replace'](/'/g,_0x27b689(0x119))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x105613){const _0x4c8609={'rmEoA':function(_0xb24eac,_0x5e996d){return _0xb24eac(_0x5e996d);}};return SAFE_SHELL_TOKEN['test'](_0x105613)?_0x105613:_0x4c8609['rmEoA'](shellQuote,_0x105613);}export function buildPlaywrightCliInvocation(_0x526395,_0x2ffa20,_0x550662){const _0x222a53=_0x33f2,_0x3655ec={'yBUpk':function(_0x299b62,_0x139d65){return _0x299b62(_0x139d65);},'kHYnT':'--config'},_0x21ffad=_0x3655ec['yBUpk'](toPlaywrightCliSessionKey,_0x526395),[_0x56d9f9=_0x222a53(0x10a)]=_0x550662,_0x325ccc=[PLAYWRIGHT_CLI_BINARY,_0x222a53(0xf7)+_0x21ffad,_0x3655ec[_0x222a53(0xfc)],_0x2ffa20,..._0x550662];return{'command':_0x222a53(0x106),'args':_0x325ccc,'shellCommand':[_0x222a53(0x106),PLAYWRIGHT_CLI_BINARY,_0x222a53(0xf7)+quoteShellArg(_0x21ffad),_0x222a53(0x10b),_0x3655ec[_0x222a53(0x111)](quoteShellArg,_0x2ffa20),..._0x550662[_0x222a53(0x101)](quoteShellArg)][_0x222a53(0xf3)]('\x20'),'subcommand':_0x56d9f9};}export function buildPlaywrightCliCommandPrefix(_0x4b86da,_0xbe804){const _0xad7c57=_0x33f2,_0x27de2f={'geGRo':function(_0x4ee951,_0x232da7){return _0x4ee951(_0x232da7);},'XyrIk':_0xad7c57(0x106),'jfOKk':function(_0x3a6626,_0x37c5e0){return _0x3a6626(_0x37c5e0);},'UjTsw':function(_0x202e44,_0x40c967){return _0x202e44(_0x40c967);}},_0x1fceff=_0x27de2f['geGRo'](toPlaywrightCliSessionKey,_0x4b86da);return[_0x27de2f[_0xad7c57(0x104)],PLAYWRIGHT_CLI_BINARY,_0xad7c57(0xf7)+_0x27de2f[_0xad7c57(0x123)](quoteShellArg,_0x1fceff),_0xad7c57(0x10b),_0x27de2f['UjTsw'](quoteShellArg,_0xbe804)]['join']('\x20');}function _0x33f2(_0x168b79,_0x2e625b){_0x168b79=_0x168b79-0xed;const _0x5bf83d=_0x5bf8();let _0x33f28b=_0x5bf83d[_0x168b79];return _0x33f28b;}function _0x5bf8(){const _0x3120e0=['hex','kHYnT','sha256','sessionId','args','CUFVY','map','\x0astdout:\x20','configPath','XyrIk','rg-','npx','138cyeXpL','SIGTERM','204381qVPxcN','unknown','--config','exited\x20with\x20code=','xhjmd','GXtmQ','Ehpfl','3087720TjIAnb','yBUpk','wmJkR','vvDSn','...','match','script','stdout','command','\x27\x5c\x27\x27','1219376dzXiZp','length','timeoutMs','UZHHP','40lOfKjy','\x0astderr:\x20','playwright-cli\x20','string','timed\x20out\x20after\x20','jfOKk','kill','UDNBf','SIGKILL','24HoDehk','ignore','159142zTxXiF','cUfwM','454452glSsuJ','slice','25293ytjDWH','data','digest','join','env','5uuPBpN','5579739NCkWQn','-s=','7JgEJcZ','values','bash_command'];_0x5bf8=function(){return _0x3120e0;};return _0x5bf8();}function truncateOutput(_0x5c17d1,_0x54fbd0=0x7d0){const _0x4fa565=_0x33f2,_0x2e6641={'QVGTm':function(_0x49d4d7,_0x28d38d){return _0x49d4d7+_0x28d38d;},'GXtmQ':_0x4fa565(0x114)};return _0x5c17d1[_0x4fa565(0x11b)]>_0x54fbd0?_0x2e6641['QVGTm'](_0x5c17d1[_0x4fa565(0xef)](0x0,_0x54fbd0),_0x2e6641[_0x4fa565(0x10e)]):_0x5c17d1;}export async function runPlaywrightCliCommand(_0x35ed79){const _0x20192e=_0x33f2,_0x17d2a8={'wdmTX':function(_0x464fcf,_0x50270d){return _0x464fcf(_0x50270d);},'CjrKl':function(_0x1e00be,_0x8392f1){return _0x1e00be??_0x8392f1;},'CUFVY':function(_0x9326ce,_0x544797,_0x4da93f,_0x1d4ba7){return _0x9326ce(_0x544797,_0x4da93f,_0x1d4ba7);},'puKSq':_0x20192e(0xf1),'Ehpfl':'error','UDNBf':'close'},_0x5e9885=_0x17d2a8[_0x20192e(0x100)](buildPlaywrightCliInvocation,_0x35ed79[_0x20192e(0xfe)],_0x35ed79[_0x20192e(0x103)],_0x35ed79['commandArgs']);return new Promise((_0x19116f,_0x304b5f)=>{const _0x11e1cd=_0x20192e,_0x409927={'vvDSn':function(_0x46b28f,_0x74a452){return _0x46b28f(_0x74a452);},'xhjmd':function(_0x4306f6,_0x15f559){return _0x17d2a8['wdmTX'](_0x4306f6,_0x15f559);},'uvQrf':function(_0x4a7c41,_0x34c823){return _0x17d2a8['CjrKl'](_0x4a7c41,_0x34c823);},'fJAZv':function(_0x4c05ac,_0x302b71){return _0x4c05ac(_0x302b71);},'wmJkR':function(_0x5f2c10,_0x54c2b9){return _0x5f2c10(_0x54c2b9);}},_0x82e8fa=_0x17d2a8[_0x11e1cd(0x100)](spawn,_0x5e9885[_0x11e1cd(0x118)],_0x5e9885[_0x11e1cd(0xff)],{'cwd':_0x35ed79['cwd'],'env':_0x35ed79[_0x11e1cd(0xf4)],'stdio':[_0x11e1cd(0x128),'pipe','pipe']});let _0x2fd08a='',_0x45fbed='',_0x414605=![];const _0x27ac7d=_0x35ed79['timeoutMs']&&_0x35ed79[_0x11e1cd(0x11c)]>0x0?setTimeout(()=>{const _0xe71b90=_0x11e1cd;_0x414605=!![],_0x82e8fa[_0xe71b90(0x124)](_0xe71b90(0x108)),setTimeout(()=>{const _0x42276d=_0xe71b90;try{_0x82e8fa['kill'](_0x42276d(0x126));}catch{}},0x3e8);},_0x35ed79[_0x11e1cd(0x11c)]):null;_0x82e8fa[_0x11e1cd(0x117)]?.['on'](_0x17d2a8['puKSq'],_0x29d990=>{_0x2fd08a+=_0x29d990['toString']();}),_0x82e8fa['stderr']?.['on']('data',_0x1dc3fb=>{_0x45fbed+=_0x1dc3fb['toString']();}),_0x82e8fa['on'](_0x17d2a8[_0x11e1cd(0x10f)],_0x518f3e=>{const _0x5ca300=_0x11e1cd;if(_0x27ac7d)_0x409927[_0x5ca300(0x113)](clearTimeout,_0x27ac7d);_0x409927['xhjmd'](_0x304b5f,_0x518f3e);}),_0x82e8fa['on'](_0x17d2a8[_0x11e1cd(0x125)],(_0x115d84,_0x14965d)=>{const _0x65db37=_0x11e1cd;if(_0x27ac7d)_0x409927[_0x65db37(0x10d)](clearTimeout,_0x27ac7d);if(_0x115d84===0x0){_0x19116f({'stdout':_0x2fd08a,'stderr':_0x45fbed,'invocation':_0x5e9885});return;}const _0x5a16e6=_0x414605?_0x65db37(0x122)+_0x35ed79['timeoutMs']+'ms':_0x65db37(0x10c)+_0x409927['uvQrf'](_0x115d84,'null')+'\x20signal='+(_0x14965d??'null');_0x304b5f(new Error(_0x65db37(0x120)+_0x5e9885['subcommand']+'\x20'+_0x5a16e6+_0x65db37(0x102)+_0x409927['fJAZv'](truncateOutput,_0x2fd08a)+_0x65db37(0x11f)+_0x409927[_0x65db37(0x112)](truncateOutput,_0x45fbed)));});});}export function extractBashCommand(_0x402243){const _0x2a64e9=_0x33f2,_0x2eff4a={'cUfwM':'cmd','UZHHP':function(_0x23b082,_0x1cba34){return _0x23b082===_0x1cba34;},'qWHvF':_0x2a64e9(0x121),'pRlHZ':function(_0x280eef,_0x4308e2){return _0x280eef??_0x4308e2;}},_0x48d62c=[_0x2a64e9(0x118),_0x2eff4a[_0x2a64e9(0xed)],_0x2a64e9(0x116),_0x2a64e9(0xfa)];for(const _0x368f6 of _0x48d62c){const _0xf96bbf=_0x402243[_0x368f6];if(_0x2eff4a[_0x2a64e9(0x11d)](typeof _0xf96bbf,_0x2eff4a['qWHvF'])&&_0xf96bbf['trim']())return _0xf96bbf;}const _0x482ef9=Object[_0x2a64e9(0xf9)](_0x402243)['find'](_0x43b528=>typeof _0x43b528===_0x2a64e9(0x121)&&_0x43b528['trim']()['length']>0x0);return _0x2eff4a['pRlHZ'](_0x482ef9,null);}export function parsePlaywrightCliCommand(_0x27c7f3){const _0x10fc92=_0x33f2,_0x4f7d04=_0x27c7f3[_0x10fc92(0x115)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x4f7d04?.[0x1]??null;}
1
+ (function(_0x2a5e9d,_0x280829){const _0x21af7c=_0x4f53,_0xe5784e=_0x2a5e9d();while(!![]){try{const _0x55487f=-parseInt(_0x21af7c(0x167))/0x1*(-parseInt(_0x21af7c(0x151))/0x2)+parseInt(_0x21af7c(0x166))/0x3*(parseInt(_0x21af7c(0x177))/0x4)+parseInt(_0x21af7c(0x187))/0x5*(parseInt(_0x21af7c(0x155))/0x6)+parseInt(_0x21af7c(0x161))/0x7*(-parseInt(_0x21af7c(0x181))/0x8)+-parseInt(_0x21af7c(0x174))/0x9+parseInt(_0x21af7c(0x17d))/0xa+-parseInt(_0x21af7c(0x170))/0xb;if(_0x55487f===_0x280829)break;else _0xe5784e['push'](_0xe5784e['shift']());}catch(_0xdade9a){_0xe5784e['push'](_0xe5784e['shift']());}}}(_0x50b1,0x663e5));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x1ffe79){const _0x3f7999=_0x4f53,_0x2cc1d2={'gfoJc':function(_0x33190,_0x1ca85b){return _0x33190(_0x1ca85b);},'ZIcCi':'hex'},_0x3148d6=_0x2cc1d2['gfoJc'](createHash,_0x3f7999(0x154))[_0x3f7999(0x171)](_0x1ffe79)['digest'](_0x2cc1d2['ZIcCi'])[_0x3f7999(0x178)](0x0,0xc);return _0x3f7999(0x159)+_0x3148d6;}function _0x4f53(_0x34aabc,_0x45439c){_0x34aabc=_0x34aabc-0x151;const _0x50b1fa=_0x50b1();let _0x4f53ad=_0x50b1fa[_0x34aabc];return _0x4f53ad;}function shellQuote(_0x19ff81){const _0x16d8dc=_0x4f53;return'\x27'+_0x19ff81[_0x16d8dc(0x158)](/'/g,_0x16d8dc(0x176))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;function _0x50b1(){const _0x3e7f7d=['--config','\x20signal=','1337645TwFDMM','15866dORarA','playwright-cli\x20','TWObc','sha256','6hDClbb','nNCiF','cwd','replace','rg-','error','nhRtY','hihFo','stdout','gdLXj','command','length','1183AKtfkY','zUQRg','timed\x20out\x20after\x20','configPath','SIGTERM','7470UMnlAk','103jAWMqB','yRxZy','kill','values','vyZfN','toString','trim','bfeet','env','8883083SVWXuG','update','npx','bash_command','1478340iGIPWi','script','\x27\x5c\x27\x27','1220zrJoCZ','slice','timeoutMs','stderr','join','null','2020750onKpcK','ignore','Xtkwd','args','31032AxBuUT','mbDcb','map','string'];_0x50b1=function(){return _0x3e7f7d;};return _0x50b1();}export function quoteShellArg(_0x7b2f7f){const _0x44d132=_0x4f53,_0x144ebb={'bfeet':function(_0x371cda,_0x35941c){return _0x371cda(_0x35941c);}};return SAFE_SHELL_TOKEN['test'](_0x7b2f7f)?_0x7b2f7f:_0x144ebb[_0x44d132(0x16e)](shellQuote,_0x7b2f7f);}export function buildPlaywrightCliInvocation(_0x51430c,_0x575dad,_0x4befc6){const _0x2afdc1=_0x4f53,_0x7910d3={'DqBme':function(_0x27984a,_0x421513){return _0x27984a(_0x421513);},'nxaIO':'--config','mbDcb':'npx'},_0x496797=_0x7910d3['DqBme'](toPlaywrightCliSessionKey,_0x51430c),[_0x5c1e24='unknown']=_0x4befc6,_0x968897=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x496797,_0x7910d3['nxaIO'],_0x575dad,..._0x4befc6];return{'command':_0x7910d3[_0x2afdc1(0x182)],'args':_0x968897,'shellCommand':[_0x7910d3['mbDcb'],PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x496797),_0x2afdc1(0x185),quoteShellArg(_0x575dad),..._0x4befc6[_0x2afdc1(0x183)](quoteShellArg)][_0x2afdc1(0x17b)]('\x20'),'subcommand':_0x5c1e24};}export function buildPlaywrightCliCommandPrefix(_0x56e042,_0x1c2dc8){const _0x5c7a23=_0x4f53,_0x2a235c={'OMRjf':_0x5c7a23(0x172),'WLRoZ':function(_0x4e1c63,_0x1dd8ba){return _0x4e1c63(_0x1dd8ba);}},_0x34faf3=toPlaywrightCliSessionKey(_0x56e042);return[_0x2a235c['OMRjf'],PLAYWRIGHT_CLI_BINARY,'-s='+_0x2a235c['WLRoZ'](quoteShellArg,_0x34faf3),'--config',quoteShellArg(_0x1c2dc8)]['join']('\x20');}function truncateOutput(_0x51e85e,_0x3cd9f6=0x7d0){const _0x4bbe08=_0x4f53,_0xd3890b={'SZmJo':function(_0x588e62,_0x5365b0){return _0x588e62>_0x5365b0;},'vWthB':'...'};return _0xd3890b['SZmJo'](_0x51e85e['length'],_0x3cd9f6)?_0x51e85e[_0x4bbe08(0x178)](0x0,_0x3cd9f6)+_0xd3890b['vWthB']:_0x51e85e;}export async function runPlaywrightCliCommand(_0x34650b){const _0x105df1=_0x4f53,_0x4d62fd={'kvVLz':'SIGKILL','TtlxF':function(_0x358dd2,_0x3ac46e){return _0x358dd2(_0x3ac46e);},'Xtkwd':function(_0x296ed3,_0x5bb16a){return _0x296ed3(_0x5bb16a);},'TWObc':_0x105df1(0x17c),'nNCiF':function(_0x5928c8,_0x5f90de,_0x33122f,_0x2272c7){return _0x5928c8(_0x5f90de,_0x33122f,_0x2272c7);},'mwgMF':_0x105df1(0x17e),'CkYcs':'pipe','gdLXj':function(_0x1b5369,_0xd4f9e7){return _0x1b5369>_0xd4f9e7;},'YHesg':function(_0x3a4db3,_0x3e5885,_0x314b26){return _0x3a4db3(_0x3e5885,_0x314b26);},'jHVlA':'data','NKtXO':_0x105df1(0x15a),'hihFo':function(_0x359289,_0x1f444d,_0x550b94,_0x1960c4){return _0x359289(_0x1f444d,_0x550b94,_0x1960c4);}},_0x368f7a=_0x4d62fd[_0x105df1(0x15c)](buildPlaywrightCliInvocation,_0x34650b['sessionId'],_0x34650b[_0x105df1(0x164)],_0x34650b['commandArgs']);return new Promise((_0x546f92,_0x2b9e1e)=>{const _0x45025c=_0x105df1,_0x56139f={'yRxZy':function(_0x3debba,_0x542ea8){const _0x323496=_0x4f53;return _0x4d62fd[_0x323496(0x17f)](_0x3debba,_0x542ea8);},'zUQRg':_0x4d62fd[_0x45025c(0x153)],'ZqmOu':function(_0x2eae46,_0x556de7){return _0x2eae46??_0x556de7;},'nhRtY':function(_0x223801,_0x12d145){return _0x223801(_0x12d145);}},_0xa60567=_0x4d62fd[_0x45025c(0x156)](spawn,_0x368f7a[_0x45025c(0x15f)],_0x368f7a[_0x45025c(0x180)],{'cwd':_0x34650b[_0x45025c(0x157)],'env':_0x34650b[_0x45025c(0x16f)],'stdio':[_0x4d62fd['mwgMF'],'pipe',_0x4d62fd['CkYcs']]});let _0x2e2a59='',_0x1fb234='',_0x3d351e=![];const _0x36507f=_0x34650b['timeoutMs']&&_0x4d62fd[_0x45025c(0x15e)](_0x34650b['timeoutMs'],0x0)?_0x4d62fd['YHesg'](setTimeout,()=>{const _0x1acb98=_0x45025c,_0x1db88d={'vyZfN':_0x4d62fd['kvVLz']};_0x3d351e=!![],_0xa60567[_0x1acb98(0x169)](_0x1acb98(0x165)),setTimeout(()=>{const _0x55edb4=_0x1acb98;try{_0xa60567[_0x55edb4(0x169)](_0x1db88d[_0x55edb4(0x16b)]);}catch{}},0x3e8);},_0x34650b['timeoutMs']):null;_0xa60567[_0x45025c(0x15d)]?.['on']('data',_0x4b5f59=>{_0x2e2a59+=_0x4b5f59['toString']();}),_0xa60567[_0x45025c(0x17a)]?.['on'](_0x4d62fd['jHVlA'],_0x15f0a1=>{const _0x4760f9=_0x45025c;_0x1fb234+=_0x15f0a1[_0x4760f9(0x16c)]();}),_0xa60567['on'](_0x4d62fd['NKtXO'],_0x8e9fef=>{if(_0x36507f)_0x4d62fd['TtlxF'](clearTimeout,_0x36507f);_0x2b9e1e(_0x8e9fef);}),_0xa60567['on']('close',(_0x247880,_0x44a46f)=>{const _0x32379a=_0x45025c;if(_0x36507f)_0x56139f['yRxZy'](clearTimeout,_0x36507f);if(_0x247880===0x0){_0x56139f[_0x32379a(0x168)](_0x546f92,{'stdout':_0x2e2a59,'stderr':_0x1fb234,'invocation':_0x368f7a});return;}const _0x50b65f=_0x3d351e?_0x32379a(0x163)+_0x34650b[_0x32379a(0x179)]+'ms':'exited\x20with\x20code='+(_0x247880??_0x56139f[_0x32379a(0x162)])+_0x32379a(0x186)+_0x56139f['ZqmOu'](_0x44a46f,_0x32379a(0x17c));_0x56139f[_0x32379a(0x168)](_0x2b9e1e,new Error(_0x32379a(0x152)+_0x368f7a['subcommand']+'\x20'+_0x50b65f+'\x0astdout:\x20'+_0x56139f[_0x32379a(0x15b)](truncateOutput,_0x2e2a59)+'\x0astderr:\x20'+_0x56139f[_0x32379a(0x15b)](truncateOutput,_0x1fb234)));});});}export function extractBashCommand(_0x16872e){const _0x359e70=_0x4f53,_0x5e432e={'UTWaC':'command','ZXxDf':_0x359e70(0x173)},_0x22fea7=[_0x5e432e['UTWaC'],'cmd',_0x359e70(0x175),_0x5e432e['ZXxDf']];for(const _0x1090fb of _0x22fea7){const _0x47385d=_0x16872e[_0x1090fb];if(typeof _0x47385d==='string'&&_0x47385d[_0x359e70(0x16d)]())return _0x47385d;}const _0x14291d=Object[_0x359e70(0x16a)](_0x16872e)['find'](_0x54ac22=>typeof _0x54ac22===_0x359e70(0x184)&&_0x54ac22[_0x359e70(0x16d)]()[_0x359e70(0x160)]>0x0);return _0x14291d??null;}export function parsePlaywrightCliCommand(_0x56a959){const _0x29a234=_0x56a959['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x29a234?.[0x1]??null;}
@@ -1 +1 @@
1
- function _0xd11b(_0x3f5272,_0x49fd6e){_0x3f5272=_0x3f5272-0x18e;const _0x2e3bab=_0x2e3b();let _0xd11bc6=_0x2e3bab[_0x3f5272];return _0xd11bc6;}(function(_0x5681de,_0x5208c4){const _0x40854a=_0xd11b,_0x3bcb3c=_0x5681de();while(!![]){try{const _0x343f8a=parseInt(_0x40854a(0x193))/0x1*(parseInt(_0x40854a(0x191))/0x2)+-parseInt(_0x40854a(0x18e))/0x3+parseInt(_0x40854a(0x192))/0x4*(parseInt(_0x40854a(0x198))/0x5)+parseInt(_0x40854a(0x190))/0x6*(parseInt(_0x40854a(0x18f))/0x7)+-parseInt(_0x40854a(0x195))/0x8+parseInt(_0x40854a(0x194))/0x9+-parseInt(_0x40854a(0x197))/0xa;if(_0x343f8a===_0x5208c4)break;else _0x3bcb3c['push'](_0x3bcb3c['shift']());}catch(_0x6f333e){_0x3bcb3c['push'](_0x3bcb3c['shift']());}}}(_0x2e3b,0x987c6));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x4402db){const _0x2142be=_0xd11b,_0x290580=_0x4402db?_0x4402db(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x2142be(0x196)+_0x290580+'.';}function _0x2e3b(){const _0x1210ad=['697515TlrkSA','3003nlnngC','6942xDClXi','98566VeHRyT','4552120bojaxs','13VwqXAU','7993620jVzjWv','8673672efVYdS','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','12219460uZvsNH','5wNCHix'];_0x2e3b=function(){return _0x1210ad;};return _0x2e3b();}
1
+ const _0x289797=_0x49c3;function _0x49c3(_0x4b091e,_0x26ad8a){_0x4b091e=_0x4b091e-0xb8;const _0x5da701=_0x5da7();let _0x49c3e5=_0x5da701[_0x4b091e];return _0x49c3e5;}(function(_0x530b68,_0x3e62d3){const _0x1b056b=_0x49c3,_0x56e9a8=_0x530b68();while(!![]){try{const _0x349ce2=-parseInt(_0x1b056b(0xc1))/0x1*(parseInt(_0x1b056b(0xc3))/0x2)+-parseInt(_0x1b056b(0xbd))/0x3*(-parseInt(_0x1b056b(0xc4))/0x4)+-parseInt(_0x1b056b(0xb8))/0x5+-parseInt(_0x1b056b(0xc5))/0x6+parseInt(_0x1b056b(0xb9))/0x7*(parseInt(_0x1b056b(0xbc))/0x8)+parseInt(_0x1b056b(0xc2))/0x9*(parseInt(_0x1b056b(0xbf))/0xa)+parseInt(_0x1b056b(0xba))/0xb*(-parseInt(_0x1b056b(0xbb))/0xc);if(_0x349ce2===_0x3e62d3)break;else _0x56e9a8['push'](_0x56e9a8['shift']());}catch(_0x1f21c6){_0x56e9a8['push'](_0x56e9a8['shift']());}}}(_0x5da7,0x9d030));const DEFAULT_PROFILE_COMMAND=_0x289797(0xbe);export function formatProfileRequiredMessage(_0x578455){const _0x5b3cf6=_0x289797,_0x4d6978={'GYKTA':function(_0x43986c,_0x5535da){return _0x43986c(_0x5535da);}},_0x1e3590=_0x578455?_0x4d6978[_0x5b3cf6(0xc0)](_0x578455,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return'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'+_0x1e3590+'.';}function _0x5da7(){const _0x889681=['179824XGBDrm','261BNhais','2SCxbQF','36ELJqNI','1883196czuXru','1270575fGoqJk','7SPDgid','10005303NcjDxS','12BMArcM','10056624ZEGZmo','308589yDfoJo','ranger\x20profile\x20add\x20local','40570iVifZQ','GYKTA'];_0x5da7=function(){return _0x889681;};return _0x5da7();}
@@ -1 +1 @@
1
- (function(_0x3f8dcb,_0xfaf72f){const _0x61959=_0x413f,_0x5ae498=_0x3f8dcb();while(!![]){try{const _0x37af33=-parseInt(_0x61959(0x9e))/0x1*(parseInt(_0x61959(0x9b))/0x2)+-parseInt(_0x61959(0x91))/0x3*(parseInt(_0x61959(0x9c))/0x4)+-parseInt(_0x61959(0x96))/0x5+-parseInt(_0x61959(0x93))/0x6*(-parseInt(_0x61959(0x94))/0x7)+parseInt(_0x61959(0x9a))/0x8*(-parseInt(_0x61959(0x9d))/0x9)+parseInt(_0x61959(0x92))/0xa+parseInt(_0x61959(0x99))/0xb;if(_0x37af33===_0xfaf72f)break;else _0x5ae498['push'](_0x5ae498['shift']());}catch(_0x34182f){_0x5ae498['push'](_0x5ae498['shift']());}}}(_0x1df7,0xded33));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x53c55d=_0x413f,_0x2eb403={'mySsT':function(_0x1583a3,_0x1ee6eb){return _0x1583a3+_0x1ee6eb;},'mvsGa':'<div\x20class=\x22ranger-banner__content\x22>','oSoIV':_0x53c55d(0x9f),'lioBg':'<div\x20class=\x22ranger-banner__message\x22>','aKDWg':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','eqiLj':_0x53c55d(0x95)},_0x1bc32c=_0x2eb403[_0x53c55d(0x97)](_0x2eb403['mySsT'](_0x2eb403['mvsGa']+_0x2eb403[_0x53c55d(0xa0)],_0x2eb403['lioBg'])+_0x53c55d(0xa1)+_0x2eb403['aKDWg']+'</div>','</div>')+_0x2eb403['eqiLj'],_0x31b5cc='\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 _0x53c55d(0xa3)+JSON[_0x53c55d(0x98)](_0x1bc32c)+';\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[_0x53c55d(0x98)](_0x31b5cc)+_0x53c55d(0xa2);})());function _0x1df7(){const _0x5a8ea8=['\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','addInitScript','3DUUnaP','10285260VIclTs','6OYPIYj','1606703XvUgsp','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','8758710cMCZhD','mySsT','stringify','28852307VpmGUr','195296NtTRVL','46108ZCYabr','2756004pqwcRF','135iAIJgj','7xttYyw','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','oSoIV','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>',';\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'];_0x1df7=function(){return _0x5a8ea8;};return _0x1df7();}function _0x413f(_0x54f123,_0x17f081){_0x54f123=_0x54f123-0x90;const _0x1df73f=_0x1df7();let _0x413f02=_0x1df73f[_0x54f123];return _0x413f02;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x137561){const _0x48d6be=_0x413f;await _0x137561[_0x48d6be(0x90)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ function _0x1483(){const _0x4a00bd=['2641qmSqBS','2226615mhqiVn','160464pHESbD','8202971WsdTBH','3428700NhHCLP','stringify','iWXoz','dqWVS','nGeDj','\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','OFouT',';\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','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','515116qAGTRg','BmePh','PRnox','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','944044wMuIKU'];_0x1483=function(){return _0x4a00bd;};return _0x1483();}(function(_0x2257a1,_0xde4d7b){const _0x3f5815=_0x402c,_0x9914d0=_0x2257a1();while(!![]){try{const _0x539ccd=parseInt(_0x3f5815(0x1bd))/0x1+parseInt(_0x3f5815(0x1b8))/0x2+parseInt(_0x3f5815(0x1bf))/0x3+parseInt(_0x3f5815(0x1bc))/0x4+parseInt(_0x3f5815(0x1be))/0x5+parseInt(_0x3f5815(0x1c1))/0x6+-parseInt(_0x3f5815(0x1c0))/0x7;if(_0x539ccd===_0xde4d7b)break;else _0x9914d0['push'](_0x9914d0['shift']());}catch(_0x4b3c31){_0x9914d0['push'](_0x9914d0['shift']());}}}(_0x1483,0x6057a));function _0x402c(_0x282665,_0x2597c4){_0x282665=_0x282665-0x1b2;const _0x148319=_0x1483();let _0x402ce2=_0x148319[_0x282665];return _0x402ce2;}const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x7f9970=_0x402c,_0x42604d={'nGeDj':function(_0x2fdbb3,_0x1f70b7){return _0x2fdbb3+_0x1f70b7;},'PRnox':_0x7f9970(0x1b7),'OFouT':'<div\x20class=\x22ranger-banner__message\x22>','iWXoz':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','dqWVS':'</div>','BmePh':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x52a19a=_0x42604d[_0x7f9970(0x1b3)](_0x42604d['nGeDj']('<div\x20class=\x22ranger-banner__content\x22>',_0x42604d[_0x7f9970(0x1ba)])+_0x42604d[_0x7f9970(0x1b5)]+_0x7f9970(0x1bb)+_0x42604d[_0x7f9970(0x1c3)],_0x42604d['dqWVS'])+_0x42604d[_0x7f9970(0x1b2)]+_0x42604d[_0x7f9970(0x1b9)],_0x28187e='\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 _0x7f9970(0x1b4)+JSON[_0x7f9970(0x1c2)](_0x52a19a)+';\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'](_0x28187e)+_0x7f9970(0x1b6);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x12a532){await _0x12a532['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x22ebb4,_0x2a38c7){const _0x3eb5da=_0x5203,_0x31f6d8=_0x22ebb4();while(!![]){try{const _0x20a2c0=-parseInt(_0x3eb5da(0xff))/0x1+parseInt(_0x3eb5da(0x109))/0x2*(parseInt(_0x3eb5da(0xfb))/0x3)+-parseInt(_0x3eb5da(0xf6))/0x4+-parseInt(_0x3eb5da(0xfa))/0x5+-parseInt(_0x3eb5da(0x10a))/0x6*(parseInt(_0x3eb5da(0x106))/0x7)+-parseInt(_0x3eb5da(0x104))/0x8+-parseInt(_0x3eb5da(0xf8))/0x9*(-parseInt(_0x3eb5da(0xfe))/0xa);if(_0x20a2c0===_0x2a38c7)break;else _0x31f6d8['push'](_0x31f6d8['shift']());}catch(_0x2739bc){_0x31f6d8['push'](_0x31f6d8['shift']());}}}(_0x38fd,0x6c4b0));import{readFile}from'fs/promises';import{existsSync}from'fs';function _0x5203(_0x2d4055,_0x3f7437){_0x2d4055=_0x2d4055-0xf6;const _0x38fd16=_0x38fd();let _0x52032b=_0x38fd16[_0x2d4055];return _0x52032b;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x38fd(){const _0x30311c=['1017465NFgSfY','14166FAkAhB','FLtsT','uRmQv','770pPoxZw','659037ChXYya','parse','object','model','config.json','3049256OZLtYc','warn','77IGmJSG','QQJPq','OCtHo','218oYiHic','21822tYnvYr','1802852SZHsaE','tPzQE','194409ActAbo','string'];_0x38fd=function(){return _0x30311c;};return _0x38fd();}export function getRangerConfigPath(){const _0xf48ae=_0x5203,_0x5c6e47={'yuwlK':function(_0xbca0cb,_0x3f4206,_0x140a8e){return _0xbca0cb(_0x3f4206,_0x140a8e);}};return _0x5c6e47['yuwlK'](join,getRangerDir(),_0xf48ae(0x103));}export async function loadRangerConfig(){const _0x4ae050=_0x5203,_0x3ceffc={'tPzQE':function(_0x3b8b92,_0x4dda3f){return _0x3b8b92(_0x4dda3f);},'FLtsT':function(_0x31e9b6,_0x2c3437,_0x3e577c){return _0x31e9b6(_0x2c3437,_0x3e577c);},'OCtHo':function(_0x185a11,_0x4b6193){return _0x185a11!==_0x4b6193;},'uRmQv':_0x4ae050(0x101),'QQJPq':function(_0x239d62,_0x324010){return _0x239d62 instanceof _0x324010;}},_0xdd7b4e=getRangerConfigPath();if(!_0x3ceffc['tPzQE'](existsSync,_0xdd7b4e))return{};try{const _0x5b5f53=await _0x3ceffc[_0x4ae050(0xfc)](readFile,_0xdd7b4e,'utf-8'),_0x7c610=JSON[_0x4ae050(0x100)](_0x5b5f53);if(!_0x7c610||_0x3ceffc[_0x4ae050(0x108)](typeof _0x7c610,_0x3ceffc[_0x4ae050(0xfd)])||Array['isArray'](_0x7c610))return{};const _0x15c708={},_0x30090e=_0x7c610[_0x4ae050(0x102)];return typeof _0x30090e===_0x4ae050(0xf9)&&(_0x15c708[_0x4ae050(0x102)]=_0x30090e),_0x15c708;}catch(_0x220088){const _0x5ccf51=_0x3ceffc[_0x4ae050(0x107)](_0x220088,Error)?_0x220088['message']:_0x3ceffc[_0x4ae050(0xf7)](String,_0x220088);return console[_0x4ae050(0x105)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0xdd7b4e+':\x20'+_0x5ccf51),{};}}
1
+ function _0x3980(){const _0x2c831c=['790380UKubKW','1614873dhjntx','warn','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','1234868OUNNEM','342344JUhEHK','ZHwOD','GabOj','202636jePaYG','550300pXHoRm','isArray','model','string','86wyUoGs','30yUcUGk','2762GjeChp','27UmzZYp'];_0x3980=function(){return _0x2c831c;};return _0x3980();}(function(_0xc383cd,_0x25d31b){const _0x14d4e8=_0x4231,_0x561de3=_0xc383cd();while(!![]){try{const _0x1ee17e=parseInt(_0x14d4e8(0x146))/0x1*(-parseInt(_0x14d4e8(0x144))/0x2)+parseInt(_0x14d4e8(0x149))/0x3+-parseInt(_0x14d4e8(0x13b))/0x4+parseInt(_0x14d4e8(0x140))/0x5+parseInt(_0x14d4e8(0x145))/0x6*(-parseInt(_0x14d4e8(0x13f))/0x7)+-parseInt(_0x14d4e8(0x13c))/0x8+-parseInt(_0x14d4e8(0x147))/0x9*(-parseInt(_0x14d4e8(0x148))/0xa);if(_0x1ee17e===_0x25d31b)break;else _0x561de3['push'](_0x561de3['shift']());}catch(_0x4523ad){_0x561de3['push'](_0x561de3['shift']());}}}(_0x3980,0x42071));import{readFile}from'fs/promises';function _0x4231(_0xa0c73a,_0x39ff81){_0xa0c73a=_0xa0c73a-0x139;const _0x39809b=_0x3980();let _0x423140=_0x39809b[_0xa0c73a];return _0x423140;}import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){return join(getRangerDir(),'config.json');}export async function loadRangerConfig(){const _0x459319=_0x4231,_0x53d4a2={'DGdfR':'utf-8','GabOj':_0x459319(0x143),'ZHwOD':function(_0x58f1d0,_0x35f8df){return _0x58f1d0(_0x35f8df);}},_0x580324=getRangerConfigPath();if(!existsSync(_0x580324))return{};try{const _0x574ea0=await readFile(_0x580324,_0x53d4a2['DGdfR']),_0x30260f=JSON['parse'](_0x574ea0);if(!_0x30260f||typeof _0x30260f!=='object'||Array[_0x459319(0x141)](_0x30260f))return{};const _0x13fd71={},_0x48715e=_0x30260f[_0x459319(0x142)];return typeof _0x48715e===_0x53d4a2[_0x459319(0x13e)]&&(_0x13fd71[_0x459319(0x142)]=_0x48715e),_0x13fd71;}catch(_0x33adb1){const _0x4af248=_0x33adb1 instanceof Error?_0x33adb1['message']:_0x53d4a2[_0x459319(0x13d)](String,_0x33adb1);return console[_0x459319(0x139)](_0x459319(0x13a)+_0x580324+':\x20'+_0x4af248),{};}}
@@ -1 +1 @@
1
- function _0x4bbb(_0x1d2a73,_0x49268c){_0x1d2a73=_0x1d2a73-0x19a;const _0xe051d6=_0xe051();let _0x4bbb22=_0xe051d6[_0x1d2a73];return _0x4bbb22;}(function(_0x45230a,_0x249c23){const _0x466008=_0x4bbb,_0x33bb5a=_0x45230a();while(!![]){try{const _0x56f1fe=-parseInt(_0x466008(0x1ab))/0x1+parseInt(_0x466008(0x1a6))/0x2+parseInt(_0x466008(0x1ad))/0x3*(parseInt(_0x466008(0x1a2))/0x4)+-parseInt(_0x466008(0x1a0))/0x5*(parseInt(_0x466008(0x19f))/0x6)+parseInt(_0x466008(0x1a5))/0x7+-parseInt(_0x466008(0x1ac))/0x8*(-parseInt(_0x466008(0x19a))/0x9)+-parseInt(_0x466008(0x19b))/0xa*(-parseInt(_0x466008(0x1aa))/0xb);if(_0x56f1fe===_0x249c23)break;else _0x33bb5a['push'](_0x33bb5a['shift']());}catch(_0x2a1281){_0x33bb5a['push'](_0x33bb5a['shift']());}}}(_0xe051,0x9e864));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x4a5126=_0x4bbb,_0x5bcdd5={'roFzG':function(_0x4eb79e,_0x263d6e){return _0x4eb79e(_0x263d6e);},'NhZtb':function(_0x4536d7,_0x6b6417,_0xe04a8d){return _0x4536d7(_0x6b6417,_0xe04a8d);}};let _0x2b2b8f=process['cwd']();const _0x292005=_0x5bcdd5['roFzG'](parse,_0x2b2b8f)[_0x4a5126(0x1a7)];while(_0x2b2b8f!==_0x292005){if(existsSync(join(_0x2b2b8f,'.ranger')))return _0x2b2b8f;_0x2b2b8f=dirname(_0x2b2b8f);}if(existsSync(_0x5bcdd5[_0x4a5126(0x19d)](join,_0x292005,_0x4a5126(0x1a8))))return _0x292005;const _0x36d4ea=findGitRoot();if(_0x36d4ea)return _0x36d4ea;return process[_0x4a5126(0x19e)]();}export function getRangerDir(){const _0x556293=_0x4bbb,_0x112ee={'VgpWa':function(_0x33d948,_0x597870,_0xa4de0a){return _0x33d948(_0x597870,_0xa4de0a);},'UIWsW':function(_0x155667){return _0x155667();},'fZdQe':'.ranger'};return _0x112ee[_0x556293(0x1a3)](join,_0x112ee[_0x556293(0x19c)](getRangerRoot),_0x112ee['fZdQe']);}function _0xe051(){const _0x1468c5=['VWdpE','2072632gsDNGq','VgpWa','iyvae','1718073ZfRHDS','586878pEHdCQ','root','.ranger','AjIUP','4213hjfrul','1128197EolKyL','16UIWVwD','3qgqZns','3062709hSDYfa','21350AXkHnv','UIWsW','NhZtb','cwd','4666980KgaJJY','5ataHvT'];_0xe051=function(){return _0x1468c5;};return _0xe051();}export function findGitRoot(){const _0x28ff68=_0x4bbb,_0x1c1288={'rwNge':function(_0x23bf23,_0x2157f2){return _0x23bf23(_0x2157f2);},'VWdpE':function(_0x19732d,_0x4c6be6,_0x5afbc3){return _0x19732d(_0x4c6be6,_0x5afbc3);},'iyvae':'.git'};let _0x4c7793=process[_0x28ff68(0x19e)]();const _0x47611c=parse(_0x4c7793)[_0x28ff68(0x1a7)];while(_0x4c7793!==_0x47611c){if(_0x1c1288['rwNge'](existsSync,_0x1c1288[_0x28ff68(0x1a1)](join,_0x4c7793,'.git')))return _0x4c7793;_0x4c7793=dirname(_0x4c7793);}if(existsSync(join(_0x47611c,_0x1c1288[_0x28ff68(0x1a4)])))return _0x47611c;return null;}export function getRangerHomeDir(){const _0x5a9e21=_0x4bbb,_0x34d421={'bbaJc':function(_0x547f4f,_0x4e2c3c,_0x12a42a){return _0x547f4f(_0x4e2c3c,_0x12a42a);},'AjIUP':function(_0x5101f1){return _0x5101f1();}};return _0x34d421['bbaJc'](join,_0x34d421[_0x5a9e21(0x1a9)](homedir),_0x5a9e21(0x1a8));}
1
+ (function(_0x568dd2,_0x2ce881){const _0x1dec4e=_0x3a6e,_0x52c625=_0x568dd2();while(!![]){try{const _0x2b04e8=parseInt(_0x1dec4e(0x14d))/0x1*(-parseInt(_0x1dec4e(0x146))/0x2)+-parseInt(_0x1dec4e(0x149))/0x3+parseInt(_0x1dec4e(0x148))/0x4*(-parseInt(_0x1dec4e(0x142))/0x5)+-parseInt(_0x1dec4e(0x13c))/0x6*(parseInt(_0x1dec4e(0x140))/0x7)+parseInt(_0x1dec4e(0x145))/0x8+-parseInt(_0x1dec4e(0x13f))/0x9+parseInt(_0x1dec4e(0x141))/0xa*(parseInt(_0x1dec4e(0x13d))/0xb);if(_0x2b04e8===_0x2ce881)break;else _0x52c625['push'](_0x52c625['shift']());}catch(_0x1694e5){_0x52c625['push'](_0x52c625['shift']());}}}(_0xdf68,0x276d0));import{dirname,join,parse}from'path';function _0xdf68(){const _0x1a0673=['IAhjI','EsqNB','248657nzCCnZ','mCwNl','cwd','884478AZLeAL','4945413tjyVJK','.ranger','631503dmcJMO','14FhbAjC','20bFlAWx','465zsiesb','TKzQh','toCko','1044232rZAKNO','2qKTeuU','pSlAo','3452zxGyWM','522894hIqkUe','GyxWq'];_0xdf68=function(){return _0x1a0673;};return _0xdf68();}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x146e96=_0x3a6e,_0x45cfc={'UwLUX':function(_0x42a264,_0x3a2f68){return _0x42a264(_0x3a2f68);},'RQMaV':function(_0x40631f,_0x3302a8){return _0x40631f(_0x3302a8);},'IAhjI':function(_0xb3ffb1,_0x3b51fc,_0x5bae4c){return _0xb3ffb1(_0x3b51fc,_0x5bae4c);},'EsqNB':_0x146e96(0x13e),'GyxWq':function(_0x43daa7){return _0x43daa7();}};let _0x1daf3=process[_0x146e96(0x14f)]();const _0x5f6960=_0x45cfc['UwLUX'](parse,_0x1daf3)['root'];while(_0x1daf3!==_0x5f6960){if(_0x45cfc['RQMaV'](existsSync,_0x45cfc[_0x146e96(0x14b)](join,_0x1daf3,_0x45cfc[_0x146e96(0x14c)])))return _0x1daf3;_0x1daf3=dirname(_0x1daf3);}if(existsSync(join(_0x5f6960,'.ranger')))return _0x5f6960;const _0x495abf=_0x45cfc[_0x146e96(0x14a)](findGitRoot);if(_0x495abf)return _0x495abf;return process['cwd']();}export function getRangerDir(){const _0x3b0942=_0x3a6e,_0x150383={'TKzQh':function(_0x11eb36,_0x129c60,_0x6aa2d2){return _0x11eb36(_0x129c60,_0x6aa2d2);},'DsAKm':function(_0x59999c){return _0x59999c();},'SBljD':'.ranger'};return _0x150383[_0x3b0942(0x143)](join,_0x150383['DsAKm'](getRangerRoot),_0x150383['SBljD']);}export function findGitRoot(){const _0xa0fbdf=_0x3a6e,_0x23d0ef={'lLrwQ':function(_0x57c4ba,_0x31692b){return _0x57c4ba!==_0x31692b;},'toCko':function(_0x8366e4,_0xff1c0,_0x2a4bf7){return _0x8366e4(_0xff1c0,_0x2a4bf7);},'mCwNl':function(_0x3e6684,_0x4140b0){return _0x3e6684(_0x4140b0);},'pSlAo':function(_0x50b00e,_0x4cdb3f,_0x3767ff){return _0x50b00e(_0x4cdb3f,_0x3767ff);}};let _0xf7716b=process[_0xa0fbdf(0x14f)]();const _0x77d723=parse(_0xf7716b)['root'];while(_0x23d0ef['lLrwQ'](_0xf7716b,_0x77d723)){if(existsSync(_0x23d0ef[_0xa0fbdf(0x144)](join,_0xf7716b,'.git')))return _0xf7716b;_0xf7716b=_0x23d0ef[_0xa0fbdf(0x14e)](dirname,_0xf7716b);}if(_0x23d0ef[_0xa0fbdf(0x14e)](existsSync,_0x23d0ef[_0xa0fbdf(0x147)](join,_0x77d723,'.git')))return _0x77d723;return null;}function _0x3a6e(_0x17f734,_0x31b603){_0x17f734=_0x17f734-0x13c;const _0xdf68ca=_0xdf68();let _0x3a6ec3=_0xdf68ca[_0x17f734];return _0x3a6ec3;}export function getRangerHomeDir(){const _0x2cd740={'OPQfL':function(_0x269e65){return _0x269e65();},'AqbXM':'.ranger'};return join(_0x2cd740['OPQfL'](homedir),_0x2cd740['AqbXM']);}
@@ -1 +1 @@
1
- (function(_0x6f24cb,_0x3af782){const _0xf2b099=_0x4642,_0x521374=_0x6f24cb();while(!![]){try{const _0x59be27=-parseInt(_0xf2b099(0x1cc))/0x1*(-parseInt(_0xf2b099(0x1db))/0x2)+parseInt(_0xf2b099(0x1e5))/0x3*(parseInt(_0xf2b099(0x1df))/0x4)+-parseInt(_0xf2b099(0x1e7))/0x5*(parseInt(_0xf2b099(0x1e4))/0x6)+parseInt(_0xf2b099(0x1d6))/0x7*(parseInt(_0xf2b099(0x1de))/0x8)+-parseInt(_0xf2b099(0x1e8))/0x9+-parseInt(_0xf2b099(0x1ce))/0xa*(parseInt(_0xf2b099(0x1e1))/0xb)+parseInt(_0xf2b099(0x1e9))/0xc*(parseInt(_0xf2b099(0x1cd))/0xd);if(_0x59be27===_0x3af782)break;else _0x521374['push'](_0x521374['shift']());}catch(_0x3f3d69){_0x521374['push'](_0x521374['shift']());}}}(_0x3913,0xe9ff2));import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';export async function collectScreenshots(_0x5780db){const _0x233e20=_0x4642,_0x1cc9e0={'hWzzG':function(_0x2884b4,_0x584da4){return _0x2884b4(_0x584da4);},'fKIJR':function(_0x5de84a,_0x592e6e,_0x1f267a){return _0x5de84a(_0x592e6e,_0x1f267a);}},_0x5eb1c3=[],_0x1a15ba=[];if(!_0x1cc9e0['hWzzG'](existsSync,_0x5780db))return{'screenshots':_0x5eb1c3,'paths':_0x1a15ba};const _0x3e9387=await _0x1cc9e0['hWzzG'](readdir,_0x5780db),_0x5adfa3=_0x3e9387['filter'](_0x20787f=>/\.(png|jpg|jpeg|gif|webp)$/i[_0x233e20(0x1e0)](_0x20787f))['sort']();for(const _0x58a6f3 of _0x5adfa3){const _0x3bc85b=_0x1cc9e0[_0x233e20(0x1cb)](join,_0x5780db,_0x58a6f3);_0x5eb1c3['push']({'filename':_0x58a6f3,'path':_0x3bc85b,'relativePath':'./'+_0x58a6f3}),_0x1a15ba['push'](_0x3bc85b);}return{'screenshots':_0x5eb1c3,'paths':_0x1a15ba};}function getSeverityEmoji(_0x537626){const _0x1f3a3b=_0x4642,_0x55118c={'FBqys':'BLOCKER'};switch(_0x537626){case _0x55118c[_0x1f3a3b(0x1eb)]:return'🔴';case'MAJOR':return'🟠';default:return'⚪';}}function _0x4642(_0xbb50ab,_0x1eed26){_0xbb50ab=_0xbb50ab-0x1cb;const _0x391377=_0x3913();let _0x46428d=_0x391377[_0xbb50ab];return _0x46428d;}function _0x3913(){const _0x408048=['1KLApQr','26tuIjki','235310tTEeKZ','replace','relativePath','severity','find','###\x20Issues\x20Found\x20(','##\x20Task','**Duration:**\x20','24031xhIstW','join','filename','###\x20Summary','**URL:**\x20','1027454TRLBpw','screenshot','#\x20Verification\x20Report','2912fUKkIS','4lybODs','test','781QTmCRt','length','**Status:**\x20','24HGIrJV','1063551KIogrP','slice','1986690edMUvk','615501MUhexW','13014216QEOFWW','push','FBqys','toUpperCase','ISSUES\x20FOUND','map','fKIJR'];_0x3913=function(){return _0x408048;};return _0x3913();}function formatScreenshotCaption(_0x500ac4){const _0x150340=_0x4642,_0x2e93da=_0x500ac4[_0x150340(0x1cf)](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x48ee3a=_0x2e93da[_0x150340(0x1cf)](/^\d+-/,'');return _0x48ee3a['split']('-')[_0x150340(0x1ee)](_0xcd60f3=>_0xcd60f3['charAt'](0x0)[_0x150340(0x1ec)]()+_0xcd60f3[_0x150340(0x1e6)](0x1))[_0x150340(0x1d7)]('\x20');}export function generateMarkdownReport(_0x4ecd0d){const _0x502c2b=_0x4642,{sessionId:_0x5338bd,task:_0x5ab23f,url:_0x2c6fec,success:_0x4e68cd,summary:_0xccd628,issues:_0x5f4a39,screenshots:_0x1bbc61,durationMs:_0x5750a1,traceViewerUrl:_0x1bbb70}=_0x4ecd0d,_0xfa613b=new Date()['toISOString'](),_0x5870a2=(_0x5750a1/0x3e8)['toFixed'](0x1),_0x5f2ec8=[];_0x5f2ec8[_0x502c2b(0x1ea)](_0x502c2b(0x1dd)),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8['push']('**Session:**\x20`'+_0x5338bd+'`'),_0x5f2ec8[_0x502c2b(0x1ea)]('**Generated:**\x20'+_0xfa613b),_0x5f2ec8[_0x502c2b(0x1ea)](_0x502c2b(0x1d5)+_0x5870a2+'s'),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8['push'](_0x502c2b(0x1d4)),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8[_0x502c2b(0x1ea)](_0x502c2b(0x1da)+_0x2c6fec),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8[_0x502c2b(0x1ea)]('>\x20'+_0x5ab23f),_0x5f2ec8['push'](''),_0x5f2ec8[_0x502c2b(0x1ea)]('##\x20Result'),_0x5f2ec8[_0x502c2b(0x1ea)]('');const _0x320940=_0x4e68cd?'✅':'❌';_0x5f2ec8[_0x502c2b(0x1ea)](_0x502c2b(0x1e3)+_0x320940+'\x20'+(_0x4e68cd?'PASSED':_0x502c2b(0x1ed))),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8['push'](_0x502c2b(0x1d9)),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8[_0x502c2b(0x1ea)](_0xccd628),_0x5f2ec8[_0x502c2b(0x1ea)]('');if(_0x5f4a39&&_0x5f4a39['length']>0x0){_0x5f2ec8[_0x502c2b(0x1ea)](_0x502c2b(0x1d3)+_0x5f4a39['length']+')'),_0x5f2ec8['push']('');for(const _0x50a24f of _0x5f4a39){const _0x249ff4=getSeverityEmoji(_0x50a24f[_0x502c2b(0x1d1)]);_0x5f2ec8[_0x502c2b(0x1ea)]('####\x20'+_0x249ff4+'\x20['+_0x50a24f['severity']+']\x20Issue'),_0x5f2ec8['push'](''),_0x5f2ec8['push'](_0x50a24f['description']),_0x5f2ec8['push']('');if(_0x50a24f['screenshot']){const _0x53949c=_0x50a24f[_0x502c2b(0x1dc)],_0x340a1c=_0x1bbc61[_0x502c2b(0x1d2)](_0x3e09e0=>_0x3e09e0['filename']===_0x53949c||_0x3e09e0[_0x502c2b(0x1d8)]['includes'](_0x53949c));_0x340a1c&&(_0x5f2ec8[_0x502c2b(0x1ea)]('**Screenshot:**'),_0x5f2ec8[_0x502c2b(0x1ea)](''),_0x5f2ec8['push']('!['+_0x53949c+']('+_0x340a1c[_0x502c2b(0x1d0)]+')'),_0x5f2ec8['push'](''));}}}if(_0x1bbc61[_0x502c2b(0x1e2)]>0x0){_0x5f2ec8[_0x502c2b(0x1ea)]('##\x20Screenshots\x20('+_0x1bbc61['length']+')'),_0x5f2ec8[_0x502c2b(0x1ea)]('');for(const _0x3d9070 of _0x1bbc61){const _0x800bab=formatScreenshotCaption(_0x3d9070[_0x502c2b(0x1d8)]);_0x5f2ec8[_0x502c2b(0x1ea)]('###\x20'+_0x800bab),_0x5f2ec8['push'](''),_0x5f2ec8['push']('!['+_0x3d9070['filename']+']('+_0x3d9070[_0x502c2b(0x1d0)]+')'),_0x5f2ec8[_0x502c2b(0x1ea)]('');}}return _0x1bbb70&&(_0x5f2ec8['push']('---'),_0x5f2ec8['push'](''),_0x5f2ec8[_0x502c2b(0x1ea)]('**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer]('+_0x1bbb70+')'),_0x5f2ec8[_0x502c2b(0x1ea)]('')),_0x5f2ec8[_0x502c2b(0x1d7)]('\x0a');}
1
+ (function(_0x338e44,_0x34c18b){const _0x4e49c7=_0xd7bf,_0x12934e=_0x338e44();while(!![]){try{const _0xcb0ad0=-parseInt(_0x4e49c7(0x1e6))/0x1*(parseInt(_0x4e49c7(0x201))/0x2)+-parseInt(_0x4e49c7(0x1ec))/0x3*(parseInt(_0x4e49c7(0x1f5))/0x4)+-parseInt(_0x4e49c7(0x200))/0x5*(parseInt(_0x4e49c7(0x1fc))/0x6)+-parseInt(_0x4e49c7(0x1f6))/0x7*(parseInt(_0x4e49c7(0x1f1))/0x8)+-parseInt(_0x4e49c7(0x1f8))/0x9+-parseInt(_0x4e49c7(0x1f7))/0xa*(parseInt(_0x4e49c7(0x1ed))/0xb)+-parseInt(_0x4e49c7(0x1eb))/0xc*(-parseInt(_0x4e49c7(0x1f4))/0xd);if(_0xcb0ad0===_0x34c18b)break;else _0x12934e['push'](_0x12934e['shift']());}catch(_0x1a86aa){_0x12934e['push'](_0x12934e['shift']());}}}(_0x4b49,0xa0f54));import{readdir}from'fs/promises';function _0x4b49(){const _0x581f6b=['gdQoB','101628QaAJit','39mDTGkR','9025082exbDNv','push','##\x20Result','**URL:**\x20','4800mzpDYc','length','join','6253BpygxZ','60328DOuwLu','1435ZLnpRL','10oRszCk','10761543TUcWKN','###\x20','BLOCKER','description','1552422ynCQed','sort','relativePath','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](','5zPZUdj','18434pLkgqE','includes','filename','####\x20','**Screenshot:**','replace','##\x20Task','**Status:**\x20','PEMbX','**Duration:**\x20','severity','MAJOR','89ymAdiU','filter','screenshot','ynvta'];_0x4b49=function(){return _0x581f6b;};return _0x4b49();}import{join}from'path';import{existsSync}from'fs';export async function collectScreenshots(_0x27576b){const _0x1e69b1=_0xd7bf,_0x80edae={'PEMbX':function(_0x249254,_0x4f7d15,_0x15aeaa){return _0x249254(_0x4f7d15,_0x15aeaa);}},_0x359acf=[],_0x53dd48=[];if(!existsSync(_0x27576b))return{'screenshots':_0x359acf,'paths':_0x53dd48};const _0x3dd9d7=await readdir(_0x27576b),_0x4ed4cf=_0x3dd9d7[_0x1e69b1(0x1e7)](_0x5ba868=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x5ba868))[_0x1e69b1(0x1fd)]();for(const _0x476155 of _0x4ed4cf){const _0x548eee=_0x80edae[_0x1e69b1(0x1e2)](join,_0x27576b,_0x476155);_0x359acf[_0x1e69b1(0x1ee)]({'filename':_0x476155,'path':_0x548eee,'relativePath':'./'+_0x476155}),_0x53dd48['push'](_0x548eee);}return{'screenshots':_0x359acf,'paths':_0x53dd48};}function _0xd7bf(_0x410643,_0x238531){_0x410643=_0x410643-0x1df;const _0x4b492c=_0x4b49();let _0xd7bf91=_0x4b492c[_0x410643];return _0xd7bf91;}function getSeverityEmoji(_0x334012){const _0xd918e9=_0xd7bf;switch(_0x334012){case _0xd918e9(0x1fa):return'🔴';case _0xd918e9(0x1e5):return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x4c4d17){const _0x5e172b=_0xd7bf,_0xe1c326=_0x4c4d17['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x146b2b=_0xe1c326[_0x5e172b(0x1df)](/^\d+-/,'');return _0x146b2b['split']('-')['map'](_0x4e7b80=>_0x4e7b80['charAt'](0x0)['toUpperCase']()+_0x4e7b80['slice'](0x1))['join']('\x20');}export function generateMarkdownReport(_0x3b68da){const _0x2779b4=_0xd7bf,_0x13b2b3={'ynvta':function(_0x105274,_0xd2c9bc){return _0x105274>_0xd2c9bc;},'gdQoB':function(_0xdf6982,_0x367cea){return _0xdf6982(_0x367cea);}},{sessionId:_0x47504c,task:_0x1d378e,url:_0x586e86,success:_0x13fd7b,summary:_0x144784,issues:_0x349aa8,screenshots:_0x4500e2,durationMs:_0x500867,traceViewerUrl:_0x6e944c}=_0x3b68da,_0xbffff5=new Date()['toISOString'](),_0xa74cb4=(_0x500867/0x3e8)['toFixed'](0x1),_0x579e4a=[];_0x579e4a['push']('#\x20Verification\x20Report'),_0x579e4a['push'](''),_0x579e4a['push']('**Session:**\x20`'+_0x47504c+'`'),_0x579e4a['push']('**Generated:**\x20'+_0xbffff5),_0x579e4a[_0x2779b4(0x1ee)](_0x2779b4(0x1e3)+_0xa74cb4+'s'),_0x579e4a[_0x2779b4(0x1ee)](''),_0x579e4a['push'](_0x2779b4(0x1e0)),_0x579e4a[_0x2779b4(0x1ee)](''),_0x579e4a['push'](_0x2779b4(0x1f0)+_0x586e86),_0x579e4a['push'](''),_0x579e4a['push']('>\x20'+_0x1d378e),_0x579e4a['push'](''),_0x579e4a['push'](_0x2779b4(0x1ef)),_0x579e4a['push']('');const _0x5b8517=_0x13fd7b?'✅':'❌';_0x579e4a[_0x2779b4(0x1ee)](_0x2779b4(0x1e1)+_0x5b8517+'\x20'+(_0x13fd7b?'PASSED':'ISSUES\x20FOUND')),_0x579e4a['push'](''),_0x579e4a[_0x2779b4(0x1ee)]('###\x20Summary'),_0x579e4a['push'](''),_0x579e4a[_0x2779b4(0x1ee)](_0x144784),_0x579e4a['push']('');if(_0x349aa8&&_0x13b2b3['ynvta'](_0x349aa8['length'],0x0)){_0x579e4a['push']('###\x20Issues\x20Found\x20('+_0x349aa8[_0x2779b4(0x1f2)]+')'),_0x579e4a[_0x2779b4(0x1ee)]('');for(const _0x1cfd0d of _0x349aa8){const _0x293483=getSeverityEmoji(_0x1cfd0d[_0x2779b4(0x1e4)]);_0x579e4a[_0x2779b4(0x1ee)](_0x2779b4(0x204)+_0x293483+'\x20['+_0x1cfd0d['severity']+']\x20Issue'),_0x579e4a['push'](''),_0x579e4a[_0x2779b4(0x1ee)](_0x1cfd0d[_0x2779b4(0x1fb)]),_0x579e4a[_0x2779b4(0x1ee)]('');if(_0x1cfd0d['screenshot']){const _0x1753ce=_0x1cfd0d[_0x2779b4(0x1e8)],_0x333fbc=_0x4500e2['find'](_0x45ac53=>_0x45ac53['filename']===_0x1753ce||_0x45ac53['filename'][_0x2779b4(0x202)](_0x1753ce));_0x333fbc&&(_0x579e4a[_0x2779b4(0x1ee)](_0x2779b4(0x205)),_0x579e4a[_0x2779b4(0x1ee)](''),_0x579e4a[_0x2779b4(0x1ee)]('!['+_0x1753ce+']('+_0x333fbc[_0x2779b4(0x1fe)]+')'),_0x579e4a['push'](''));}}}if(_0x13b2b3[_0x2779b4(0x1e9)](_0x4500e2[_0x2779b4(0x1f2)],0x0)){_0x579e4a['push']('##\x20Screenshots\x20('+_0x4500e2['length']+')'),_0x579e4a[_0x2779b4(0x1ee)]('');for(const _0x49c428 of _0x4500e2){const _0x3ae8b4=_0x13b2b3[_0x2779b4(0x1ea)](formatScreenshotCaption,_0x49c428[_0x2779b4(0x203)]);_0x579e4a[_0x2779b4(0x1ee)](_0x2779b4(0x1f9)+_0x3ae8b4),_0x579e4a[_0x2779b4(0x1ee)](''),_0x579e4a[_0x2779b4(0x1ee)]('!['+_0x49c428[_0x2779b4(0x203)]+']('+_0x49c428['relativePath']+')'),_0x579e4a[_0x2779b4(0x1ee)]('');}}return _0x6e944c&&(_0x579e4a['push']('---'),_0x579e4a[_0x2779b4(0x1ee)](''),_0x579e4a[_0x2779b4(0x1ee)](_0x2779b4(0x1ff)+_0x6e944c+')'),_0x579e4a[_0x2779b4(0x1ee)]('')),_0x579e4a[_0x2779b4(0x1f3)]('\x0a');}
@@ -1 +1 @@
1
- function _0x5717(_0x301a41,_0x3bf02f){_0x301a41=_0x301a41-0xc6;const _0x449c89=_0x449c();let _0x571747=_0x449c89[_0x301a41];return _0x571747;}(function(_0x47bc93,_0x40b499){const _0x35f841=_0x5717,_0x144eaa=_0x47bc93();while(!![]){try{const _0xeac8b5=-parseInt(_0x35f841(0xd0))/0x1+-parseInt(_0x35f841(0xd3))/0x2+parseInt(_0x35f841(0xd1))/0x3*(parseInt(_0x35f841(0xcf))/0x4)+-parseInt(_0x35f841(0xc9))/0x5+parseInt(_0x35f841(0xca))/0x6*(parseInt(_0x35f841(0xc7))/0x7)+parseInt(_0x35f841(0xce))/0x8+parseInt(_0x35f841(0xd4))/0x9*(-parseInt(_0x35f841(0xcc))/0xa);if(_0xeac8b5===_0x40b499)break;else _0x144eaa['push'](_0x144eaa['shift']());}catch(_0x370597){_0x144eaa['push'](_0x144eaa['shift']());}}}(_0x449c,0xcad39));function _0x449c(){const _0x57f11b=['20GWhfRv','ms...','10090608foArtO','1624868YukCpF','760400djzvME','9UWIFfU','baseDelayMs','404540JDkgzk','3527514rUPHLy','lzjtc','106148lJrSSK','ocFsb','1257050xfuEvN','138DbwLnz','),\x20retrying\x20in\x20'];_0x449c=function(){return _0x57f11b;};return _0x449c();}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x2e2086,_0x56875d){const _0x342eee=_0x5717,_0x129330={'lzjtc':function(_0x2ffd7b){return _0x2ffd7b();},'ocFsb':function(_0x5e2b44,_0x8c3cc6){return _0x5e2b44(_0x8c3cc6);}},_0x166889=_0x56875d?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x59379e=_0x56875d?.[_0x342eee(0xd2)]??DEFAULT_BASE_DELAY_MS;let _0x344619;for(let _0x20c236=0x0;_0x20c236<=_0x166889;_0x20c236++){try{return await _0x129330[_0x342eee(0xc6)](_0x2e2086);}catch(_0x51b596){_0x344619=_0x51b596 instanceof Error?_0x51b596:new Error(_0x129330[_0x342eee(0xc8)](String,_0x51b596));if(_0x20c236<_0x166889){const _0x2cfdd1=_0x59379e*Math['pow'](0x2,_0x20c236);_0x56875d?.['label']&&console['error'](_0x56875d['label']+'\x20failed\x20(attempt\x20'+(_0x20c236+0x1)+'/'+(_0x166889+0x1)+_0x342eee(0xcb)+_0x2cfdd1+_0x342eee(0xcd)),await new Promise(_0x36232b=>setTimeout(_0x36232b,_0x2cfdd1));}}}throw _0x344619;}
1
+ function _0x5ccf(){const _0x2f72dd=['SsBna','7328528tEwiys','\x20failed\x20(attempt\x20','447926kLQvLC','1289040JReuem','error','8YfXYQz','3617908cAfgxJ','baseDelayMs','1738041iIsSzs','label','304787ZRqcAw','pow','157260HQpxEd'];_0x5ccf=function(){return _0x2f72dd;};return _0x5ccf();}(function(_0x212520,_0x5e0f7a){const _0x2388b5=_0x3b6b,_0x5eb79b=_0x212520();while(!![]){try{const _0x34795d=-parseInt(_0x2388b5(0x1d6))/0x1+parseInt(_0x2388b5(0x1ce))/0x2+parseInt(_0x2388b5(0x1d4))/0x3+-parseInt(_0x2388b5(0x1d1))/0x4*(-parseInt(_0x2388b5(0x1d8))/0x5)+parseInt(_0x2388b5(0x1cf))/0x6+parseInt(_0x2388b5(0x1d2))/0x7+-parseInt(_0x2388b5(0x1cc))/0x8;if(_0x34795d===_0x5e0f7a)break;else _0x5eb79b['push'](_0x5eb79b['shift']());}catch(_0x1238ef){_0x5eb79b['push'](_0x5eb79b['shift']());}}}(_0x5ccf,0x5c0d5));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x3b6b(_0x19f3fa,_0x28cb8e){_0x19f3fa=_0x19f3fa-0x1cc;const _0x5ccfea=_0x5ccf();let _0x3b6b92=_0x5ccfea[_0x19f3fa];return _0x3b6b92;}export async function withRetry(_0x4c4ddc,_0x44da9c){const _0x4d4f14=_0x3b6b,_0x581b25={'SsBna':function(_0x9cc778,_0x439709){return _0x9cc778(_0x439709);},'ViqDb':function(_0x3711c6,_0x4607d4){return _0x3711c6+_0x4607d4;}},_0x327cfb=_0x44da9c?.['maxRetries']??DEFAULT_MAX_RETRIES,_0xdc0661=_0x44da9c?.[_0x4d4f14(0x1d3)]??DEFAULT_BASE_DELAY_MS;let _0x5c31ea;for(let _0x4ee4d3=0x0;_0x4ee4d3<=_0x327cfb;_0x4ee4d3++){try{return await _0x4c4ddc();}catch(_0x182e59){_0x5c31ea=_0x182e59 instanceof Error?_0x182e59:new Error(_0x581b25[_0x4d4f14(0x1d9)](String,_0x182e59));if(_0x4ee4d3<_0x327cfb){const _0x246504=_0xdc0661*Math[_0x4d4f14(0x1d7)](0x2,_0x4ee4d3);_0x44da9c?.['label']&&console[_0x4d4f14(0x1d0)](_0x44da9c[_0x4d4f14(0x1d5)]+_0x4d4f14(0x1cd)+_0x581b25['ViqDb'](_0x4ee4d3,0x1)+'/'+(_0x327cfb+0x1)+'),\x20retrying\x20in\x20'+_0x246504+'ms...'),await new Promise(_0x35224c=>setTimeout(_0x35224c,_0x246504));}}}throw _0x5c31ea;}
@@ -1 +1 @@
1
- const _0x314680=_0x45ce;(function(_0x388aba,_0x120763){const _0x11ccf3=_0x45ce,_0x51b7c8=_0x388aba();while(!![]){try{const _0x111c36=-parseInt(_0x11ccf3(0x130))/0x1*(parseInt(_0x11ccf3(0x125))/0x2)+parseInt(_0x11ccf3(0x151))/0x3+parseInt(_0x11ccf3(0x12e))/0x4*(-parseInt(_0x11ccf3(0x12a))/0x5)+parseInt(_0x11ccf3(0x137))/0x6+-parseInt(_0x11ccf3(0x149))/0x7+parseInt(_0x11ccf3(0x12b))/0x8+-parseInt(_0x11ccf3(0x150))/0x9*(parseInt(_0x11ccf3(0x12d))/0xa);if(_0x111c36===_0x120763)break;else _0x51b7c8['push'](_0x51b7c8['shift']());}catch(_0x3a9e8a){_0x51b7c8['push'](_0x51b7c8['shift']());}}}(_0x4554,0x36ebd));function _0x45ce(_0x38d9f3,_0xc11934){_0x38d9f3=_0x38d9f3-0x124;const _0x4554a1=_0x4554();let _0x45ce50=_0x4554a1[_0x38d9f3];return _0x45ce50;}import*as _0x427112 from'fs';import*as _0x44b1fe from'path';import*as _0x1c3e01 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x44b1fe[_0x314680(0x13c)](_0x1c3e01['homedir'](),_0x314680(0x124),_0x314680(0x13a));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x3d3f2c=_0x314680;try{if(_0x427112[_0x3d3f2c(0x13f)](CACHE_FILE)){const _0x5611c6=JSON[_0x3d3f2c(0x143)](_0x427112['readFileSync'](CACHE_FILE,_0x3d3f2c(0x13b)));return{'version':0x3,'sessions':_0x5611c6['sessions']||{},'branches':_0x5611c6['branches']||{},'lastEnabledSessionClearedAt':_0x5611c6[_0x3d3f2c(0x148)]};}}catch{}return createEmptyCache();}function saveCache(_0x39ad50){try{const _0x566a0d=_0x44b1fe['dirname'](CACHE_FILE);!_0x427112['existsSync'](_0x566a0d)&&_0x427112['mkdirSync'](_0x566a0d,{'recursive':!![]}),_0x427112['writeFileSync'](CACHE_FILE,JSON['stringify'](_0x39ad50,null,0x2));}catch{}}export function getCurrentBranch(){const _0x5e4e7d=_0x314680,_0x3c2dbb={'FerVb':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','gPyrk':'pipe'};try{const _0x182a0d=execSync(_0x3c2dbb['FerVb'],{'encoding':'utf-8','stdio':['pipe',_0x3c2dbb[_0x5e4e7d(0x14f)],_0x3c2dbb[_0x5e4e7d(0x14f)]]})['trim']();if(!_0x182a0d||_0x182a0d==='HEAD')return null;return _0x182a0d;}catch{return null;}}export function enableBranch(_0x341231){const _0x3ce70d=_0x314680,_0x47d10b=loadCache();_0x47d10b[_0x3ce70d(0x14d)][_0x341231]=!![],saveCache(_0x47d10b);}function _0x4554(){const _0x59af0e=['IBkZM','now','existsSync','sNbbo','featureId','TbKUU','parse','lastStopReminderAt','fjjMf','ADktc','registeredAt','lastEnabledSessionClearedAt','2349809FpzxQN','vHKOF','master','kmPso','branches','jaHWW','gPyrk','45WQivVq','390405ezmYbh','enabled','.claude','38102mnmZtv','NfSoK','Mmjuu','lCiIg','YJpll','20935xwwTkd','1775264YgLucj','iTQsw','7080gUadVA','124xfAxRT','currentBranch','1bWWwYf','GmSAn','lastPlanReminderAt','PckvQ','UjZSq','main','toISOString','2165934icWkVn','XciJw','sessions','.ranger_cache.json','utf-8','join'];_0x4554=function(){return _0x59af0e;};return _0x4554();}export function disableBranch(_0x583aa9){const _0x3d8881=_0x314680,_0x199d1c={'lCiIg':function(_0x56c73b){return _0x56c73b();},'NfSoK':function(_0x40c789,_0x541261){return _0x40c789(_0x541261);}},_0x3ed1f2=_0x199d1c[_0x3d8881(0x128)](loadCache);delete _0x3ed1f2['branches'][_0x583aa9],_0x199d1c[_0x3d8881(0x126)](saveCache,_0x3ed1f2);}export function isBranchEnabled(_0x2c621c){const _0x2ed345=_0x314680,_0x5e54ce={'ALTaH':function(_0x2719c7){return _0x2719c7();},'YJpll':function(_0x486fd2,_0x51b5c9){return _0x486fd2===_0x51b5c9;}},_0x1640c1=_0x5e54ce['ALTaH'](loadCache);return _0x5e54ce[_0x2ed345(0x129)](_0x1640c1['branches'][_0x2c621c],!![]);}function getOrCreateSession(_0x2379ab,_0x5351fd){const _0x467b86=_0x314680;return!_0x2379ab[_0x467b86(0x139)][_0x5351fd]&&(_0x2379ab['sessions'][_0x5351fd]={}),_0x2379ab[_0x467b86(0x139)][_0x5351fd];}export function enableSession(_0x466691){const _0x2c3f49=_0x314680,_0x186f32={'UjZSq':function(_0x324a79){return _0x324a79();},'vNLzH':function(_0x47af79,_0x588a8c,_0x4a1965){return _0x47af79(_0x588a8c,_0x4a1965);},'HWAlS':function(_0x70e901,_0x48ba6c){return _0x70e901!==_0x48ba6c;},'iTQsw':function(_0x120894,_0x2c133f){return _0x120894!==_0x2c133f;},'Mmjuu':function(_0x4c9cc1,_0x5e4e77){return _0x4c9cc1(_0x5e4e77);}},_0x4589ec=_0x186f32[_0x2c3f49(0x134)](loadCache),_0x43107=_0x186f32['vNLzH'](getOrCreateSession,_0x4589ec,_0x466691);_0x43107[_0x2c3f49(0x152)]=!![];const _0x10a45f=getCurrentBranch();_0x10a45f&&_0x186f32['HWAlS'](_0x10a45f,'main')&&_0x186f32[_0x2c3f49(0x12c)](_0x10a45f,_0x2c3f49(0x14b))&&(_0x4589ec['branches'][_0x10a45f]=!![],_0x43107[_0x2c3f49(0x12f)]=_0x10a45f),_0x186f32[_0x2c3f49(0x127)](saveCache,_0x4589ec);}export function isSessionEnabled(_0xf284bc){const _0x54c363=_0x314680,_0x30e36e={'sNbbo':function(_0x3d8570){return _0x3d8570();},'gseyg':'master','kmPso':function(_0xbf4381,_0x968d46){return _0xbf4381===_0x968d46;},'hlwTh':function(_0x5f0bb0,_0x10cb21){return _0x5f0bb0||_0x10cb21;}},_0x3b8adc=_0x30e36e[_0x54c363(0x140)](loadCache),_0x1e1f51=getCurrentBranch();if(!_0x1e1f51||_0x1e1f51===_0x54c363(0x135)||_0x1e1f51===_0x30e36e['gseyg'])return _0x30e36e[_0x54c363(0x14c)](_0x3b8adc[_0x54c363(0x139)][_0xf284bc]?.['enabled'],!![]);const _0x386fde=_0x30e36e['kmPso'](_0x3b8adc[_0x54c363(0x14d)][_0x1e1f51],!![]),_0x1bbf26=_0x3b8adc[_0x54c363(0x139)][_0xf284bc]?.['enabled']===!![];return _0x30e36e['hlwTh'](_0x386fde,_0x1bbf26);}export function disableSession(_0x12d4ce){const _0x42e91a=_0x314680,_0x204df5={'fjjMf':function(_0x3e78de){return _0x3e78de();}},_0xacfcd6=_0x204df5[_0x42e91a(0x145)](loadCache),_0x32749f=getOrCreateSession(_0xacfcd6,_0x12d4ce);_0x32749f[_0x42e91a(0x152)]=![],saveCache(_0xacfcd6);}export function updateBranchTracking(_0x5a01b9){const _0x1f9f5b=_0x314680,_0x354bb2={'XciJw':function(_0x591768){return _0x591768();},'LBecG':'master'},_0x486d89=loadCache(),_0x2610e3=_0x486d89[_0x1f9f5b(0x139)][_0x5a01b9];if(!_0x2610e3?.[_0x1f9f5b(0x152)])return;const _0x3fde21=_0x354bb2[_0x1f9f5b(0x138)](getCurrentBranch);if(!_0x3fde21||_0x3fde21===_0x1f9f5b(0x135)||_0x3fde21===_0x354bb2['LBecG'])return;_0x2610e3[_0x1f9f5b(0x12f)]!==_0x3fde21&&(_0x486d89[_0x1f9f5b(0x14d)][_0x3fde21]=!![],_0x2610e3['currentBranch']=_0x3fde21,saveCache(_0x486d89));}export function initBranchTracking(_0x5af4ed){const _0x237b5e=_0x314680,_0x2f798d={'iPUAL':function(_0x162a74){return _0x162a74();},'IBkZM':function(_0x53f28e){return _0x53f28e();},'zieCa':function(_0x1a0144,_0xa60c8c){return _0x1a0144===_0xa60c8c;},'wkinH':'master','IiTUH':function(_0x3df1b5,_0x38aca1){return _0x3df1b5===_0x38aca1;}},_0x233199=_0x2f798d['iPUAL'](loadCache),_0x39b745=_0x2f798d[_0x237b5e(0x13d)](getCurrentBranch);if(!_0x39b745||_0x2f798d['zieCa'](_0x39b745,_0x237b5e(0x135))||_0x39b745===_0x2f798d['wkinH'])return;if(_0x2f798d['IiTUH'](_0x233199[_0x237b5e(0x14d)][_0x39b745],!![])){const _0x1fb6d6=getOrCreateSession(_0x233199,_0x5af4ed);_0x1fb6d6['enabled']=!![],_0x1fb6d6['currentBranch']=_0x39b745,saveCache(_0x233199);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x2c1033){const _0x217c9f=_0x314680,_0x25cdcd={'kXEdH':function(_0x3d34ec,_0x11009f){return _0x3d34ec(_0x11009f);}},_0x2712f1=loadCache(),_0x445fba=_0x2712f1[_0x217c9f(0x139)][_0x2c1033];_0x445fba?.['enabled']&&(_0x2712f1['lastEnabledSessionClearedAt']=Date[_0x217c9f(0x13e)](),_0x25cdcd['kXEdH'](saveCache,_0x2712f1));}export function shouldAutoEnableAfterClear(_0x23732a){const _0x59e0cf=_0x314680,_0x143ebe={'OaFuq':function(_0x52eef8,_0x1be006){return _0x52eef8!==_0x1be006;},'GmSAn':'clear'};if(_0x143ebe['OaFuq'](_0x23732a,_0x143ebe[_0x59e0cf(0x131)]))return![];const _0x117e97=loadCache(),_0x34539d=_0x117e97['lastEnabledSessionClearedAt'];if(!_0x34539d)return![];const _0x3b84fa=Date[_0x59e0cf(0x13e)]()-_0x34539d;return _0x3b84fa<=CLEAR_AUTO_ENABLE_WINDOW_MS;}export function autoEnableAfterClear(_0x138796){const _0xc1cc80=_0x314680,_0x5b6505={'hItYj':function(_0x45b162){return _0x45b162();},'TbKUU':'main','PckvQ':function(_0xd9d722,_0xad0169){return _0xd9d722!==_0xad0169;},'TglfE':'master'},_0xe2f2b5=loadCache(),_0x22c8e8=getOrCreateSession(_0xe2f2b5,_0x138796);_0x22c8e8['enabled']=!![];const _0x33a27c=_0x5b6505['hItYj'](getCurrentBranch);_0x33a27c&&_0x33a27c!==_0x5b6505[_0xc1cc80(0x142)]&&_0x5b6505[_0xc1cc80(0x133)](_0x33a27c,_0x5b6505['TglfE'])&&(_0x22c8e8['currentBranch']=_0x33a27c),delete _0xe2f2b5[_0xc1cc80(0x148)],saveCache(_0xe2f2b5);}export function registerSession(_0x408e56,_0x55b0bb){const _0x1fef87=_0x314680,_0x2b0a0f={'tAoSx':function(_0x4d94c3){return _0x4d94c3();}},_0x483f98=_0x2b0a0f['tAoSx'](loadCache),_0x414414=getOrCreateSession(_0x483f98,_0x408e56);_0x414414[_0x1fef87(0x141)]=_0x55b0bb,_0x414414[_0x1fef87(0x147)]=new Date()[_0x1fef87(0x136)](),saveCache(_0x483f98);}export function getSessionEntry(_0x5e8af6){const _0x3d4b6f=_0x314680,_0x10094f=loadCache(),_0x3b4a78=_0x10094f['sessions'][_0x5e8af6];if(_0x3b4a78?.['featureId']&&_0x3b4a78?.['registeredAt'])return{'featureId':_0x3b4a78['featureId'],'registeredAt':_0x3b4a78[_0x3d4b6f(0x147)]};return null;}export function unregisterSession(_0x3cf57e){const _0x2e6562=_0x314680,_0x41389a={'ODBDv':function(_0x504cb3){return _0x504cb3();}},_0x3f33c6=_0x41389a['ODBDv'](loadCache),_0x1f0e0b=_0x3f33c6[_0x2e6562(0x139)][_0x3cf57e];_0x1f0e0b&&(delete _0x1f0e0b['featureId'],delete _0x1f0e0b[_0x2e6562(0x147)],saveCache(_0x3f33c6));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x1f8ff8){const _0x4d6821=_0x314680,_0x1a2163={'PydjN':function(_0x1b0789){return _0x1b0789();},'wdUqU':function(_0x27f46f,_0x22c49d,_0x254e29){return _0x27f46f(_0x22c49d,_0x254e29);},'jaHWW':function(_0x3a7d34,_0x156043){return _0x3a7d34>=_0x156043;},'xECHA':function(_0x4408de,_0x5d92cb){return _0x4408de-_0x5d92cb;},'ADktc':function(_0x3c9502,_0xd8c8e2){return _0x3c9502(_0xd8c8e2);}},_0x1e6eb3=_0x1a2163['PydjN'](loadCache),_0x192caa=_0x1a2163['wdUqU'](getOrCreateSession,_0x1e6eb3,_0x1f8ff8),_0x128433=_0x192caa[_0x4d6821(0x132)]||0x0,_0x1213b6=Date[_0x4d6821(0x13e)]();if(_0x1a2163[_0x4d6821(0x14e)](_0x1a2163['xECHA'](_0x1213b6,_0x128433),PLAN_REMINDER_INTERVAL_MS))return _0x192caa['lastPlanReminderAt']=_0x1213b6,_0x1a2163[_0x4d6821(0x146)](saveCache,_0x1e6eb3),!![];return![];}export function shouldShowStopReminder(_0x4caeae){const _0x35f20a=_0x314680,_0x1c3d35={'vHKOF':function(_0x410985,_0x1d0e9e,_0x52d648){return _0x410985(_0x1d0e9e,_0x52d648);}},_0x3b2308=loadCache(),_0x501cd4=_0x1c3d35[_0x35f20a(0x14a)](getOrCreateSession,_0x3b2308,_0x4caeae),_0x214b5d=_0x501cd4[_0x35f20a(0x144)]||0x0,_0x47268b=Date['now']();if(_0x47268b-_0x214b5d>=STOP_REMINDER_INTERVAL_MS)return _0x501cd4['lastStopReminderAt']=_0x47268b,saveCache(_0x3b2308),!![];return![];}export function hasSessionBeenPrompted(_0x52f1b5){const _0x150b77=_0x314680,_0x484200={'YzjVX':function(_0x13f3cc,_0x538c59){return _0x13f3cc===_0x538c59;}},_0xcad9b8=loadCache();return _0x484200['YzjVX'](_0xcad9b8[_0x150b77(0x139)][_0x52f1b5]?.['prompted'],!![]);}export function markSessionPrompted(_0x842fc9){const _0x451486={'xdsqS':function(_0x20eba9,_0x15d53d,_0x1e4971){return _0x20eba9(_0x15d53d,_0x1e4971);}},_0x210749=loadCache(),_0x5765f6=_0x451486['xdsqS'](getOrCreateSession,_0x210749,_0x842fc9);_0x5765f6['prompted']=!![],saveCache(_0x210749);}export function getCacheFile(){return CACHE_FILE;}
1
+ const _0x7d69f4=_0x5073;(function(_0x2e87fe,_0x4db20e){const _0x35fc66=_0x5073,_0x240c80=_0x2e87fe();while(!![]){try{const _0xf190fc=parseInt(_0x35fc66(0x199))/0x1+-parseInt(_0x35fc66(0x196))/0x2*(parseInt(_0x35fc66(0x184))/0x3)+parseInt(_0x35fc66(0x1a1))/0x4*(-parseInt(_0x35fc66(0x1a2))/0x5)+parseInt(_0x35fc66(0x1a7))/0x6+parseInt(_0x35fc66(0x193))/0x7+parseInt(_0x35fc66(0x19f))/0x8*(parseInt(_0x35fc66(0x18d))/0x9)+parseInt(_0x35fc66(0x195))/0xa;if(_0xf190fc===_0x4db20e)break;else _0x240c80['push'](_0x240c80['shift']());}catch(_0x5b0e6c){_0x240c80['push'](_0x240c80['shift']());}}}(_0x1a4c,0x69ee7));import*as _0x478e53 from'fs';import*as _0x2f3b8b from'path';import*as _0x250aeb from'os';function _0x1a4c(){const _0x14a65e=['YDUMR','enabled','SVufW','now','lastStopReminderAt','1104QhWWzK','existsSync','379572jDEQsG','45wPCnSU','parse','MihPm','lastPlanReminderAt','hmbNI','3274878VHNmQL','DVhZk','picjF','leBwO','gWQcl','writeFileSync','mkdirSync','.claude','21RMxBaq','NvpHM','aESoH','lastEnabledSessionClearedAt','yjLBF','.ranger_cache.json','DsBkb','git\x20rev-parse\x20--abbrev-ref\x20HEAD','currentBranch','2241ibzARm','master','sessions','branches','rXvNL','UcgVa','1310764kWjLgx','main','8990510UelLPe','220522mOLmZS','join','hvHdC','393281pSKCOx'];_0x1a4c=function(){return _0x14a65e;};return _0x1a4c();}import{execSync}from'child_process';const CACHE_FILE=_0x2f3b8b[_0x7d69f4(0x197)](_0x250aeb['homedir'](),_0x7d69f4(0x183),_0x7d69f4(0x189));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x114773=_0x7d69f4,_0x2db585={'ltFMO':'utf-8'};try{if(_0x478e53[_0x114773(0x1a0)](CACHE_FILE)){const _0xeb870f=JSON[_0x114773(0x1a3)](_0x478e53['readFileSync'](CACHE_FILE,_0x2db585['ltFMO']));return{'version':0x3,'sessions':_0xeb870f['sessions']||{},'branches':_0xeb870f['branches']||{},'lastEnabledSessionClearedAt':_0xeb870f['lastEnabledSessionClearedAt']};}}catch{}return createEmptyCache();}function saveCache(_0x51d73f){const _0x1db935=_0x7d69f4;try{const _0x503695=_0x2f3b8b['dirname'](CACHE_FILE);!_0x478e53['existsSync'](_0x503695)&&_0x478e53[_0x1db935(0x1ad)](_0x503695,{'recursive':!![]}),_0x478e53[_0x1db935(0x1ac)](CACHE_FILE,JSON['stringify'](_0x51d73f,null,0x2));}catch{}}export function getCurrentBranch(){const _0x193734=_0x7d69f4,_0x5e77c6={'ZmfXu':function(_0x32e177,_0x43a441,_0x465673){return _0x32e177(_0x43a441,_0x465673);},'aESoH':'utf-8','DVhZk':'pipe','OrarZ':'HEAD'};try{const _0x1a5251=_0x5e77c6['ZmfXu'](execSync,_0x193734(0x18b),{'encoding':_0x5e77c6[_0x193734(0x186)],'stdio':[_0x5e77c6['DVhZk'],_0x5e77c6['DVhZk'],_0x5e77c6[_0x193734(0x1a8)]]})['trim']();if(!_0x1a5251||_0x1a5251===_0x5e77c6['OrarZ'])return null;return _0x1a5251;}catch{return null;}}export function enableBranch(_0x75ab81){const _0x313f7f=loadCache();_0x313f7f['branches'][_0x75ab81]=!![],saveCache(_0x313f7f);}export function disableBranch(_0xc288c6){const _0xc27599=_0x7d69f4,_0x57be18=loadCache();delete _0x57be18[_0xc27599(0x190)][_0xc288c6],saveCache(_0x57be18);}export function isBranchEnabled(_0x2ef802){const _0x39e7bd=_0x7d69f4,_0x1e49c2={'yjLBF':function(_0x5dc538){return _0x5dc538();}},_0x966172=_0x1e49c2[_0x39e7bd(0x188)](loadCache);return _0x966172['branches'][_0x2ef802]===!![];}function getOrCreateSession(_0x3451fc,_0x394fa1){const _0x4358c4=_0x7d69f4;return!_0x3451fc[_0x4358c4(0x18f)][_0x394fa1]&&(_0x3451fc[_0x4358c4(0x18f)][_0x394fa1]={}),_0x3451fc[_0x4358c4(0x18f)][_0x394fa1];}export function enableSession(_0x349798){const _0x11ff81=_0x7d69f4,_0x140ba2={'LEnFD':function(_0x2e148c){return _0x2e148c();},'urGuI':function(_0x57de3f,_0x2013b0,_0x52235){return _0x57de3f(_0x2013b0,_0x52235);},'fNhwB':function(_0x35b9b8,_0x3014fb){return _0x35b9b8!==_0x3014fb;},'PvDxb':function(_0x2f9c06,_0x2c8a0d){return _0x2f9c06(_0x2c8a0d);}},_0x2c24b3=_0x140ba2['LEnFD'](loadCache),_0x3a4f44=_0x140ba2['urGuI'](getOrCreateSession,_0x2c24b3,_0x349798);_0x3a4f44[_0x11ff81(0x19b)]=!![];const _0x40cfa1=getCurrentBranch();_0x40cfa1&&_0x140ba2['fNhwB'](_0x40cfa1,'main')&&_0x40cfa1!==_0x11ff81(0x18e)&&(_0x2c24b3['branches'][_0x40cfa1]=!![],_0x3a4f44['currentBranch']=_0x40cfa1),_0x140ba2['PvDxb'](saveCache,_0x2c24b3);}export function isSessionEnabled(_0x4d4892){const _0x209faa=_0x7d69f4,_0x4a78f1={'BfLia':function(_0xbc06c4){return _0xbc06c4();},'YDUMR':function(_0x147bf8,_0x297140){return _0x147bf8===_0x297140;},'ZOWOm':function(_0x4b6523,_0x1b3a5f){return _0x4b6523===_0x1b3a5f;}},_0x150e0e=_0x4a78f1['BfLia'](loadCache),_0x493470=getCurrentBranch();if(!_0x493470||_0x4a78f1[_0x209faa(0x19a)](_0x493470,_0x209faa(0x194))||_0x4a78f1['ZOWOm'](_0x493470,'master'))return _0x150e0e[_0x209faa(0x18f)][_0x4d4892]?.[_0x209faa(0x19b)]===!![];const _0x116331=_0x150e0e['branches'][_0x493470]===!![],_0x43b3e5=_0x4a78f1[_0x209faa(0x19a)](_0x150e0e[_0x209faa(0x18f)][_0x4d4892]?.['enabled'],!![]);return _0x116331||_0x43b3e5;}export function disableSession(_0x137509){const _0x9f7d56=_0x7d69f4,_0x482cbd={'leBwO':function(_0x4aac44,_0x152131,_0x4b51e0){return _0x4aac44(_0x152131,_0x4b51e0);},'HNfMH':function(_0x2a71b0,_0x36a644){return _0x2a71b0(_0x36a644);}},_0x122fad=loadCache(),_0x26dfab=_0x482cbd[_0x9f7d56(0x1aa)](getOrCreateSession,_0x122fad,_0x137509);_0x26dfab[_0x9f7d56(0x19b)]=![],_0x482cbd['HNfMH'](saveCache,_0x122fad);}export function updateBranchTracking(_0x176062){const _0x5099e8=_0x7d69f4,_0x33f112={'rXvNL':function(_0x2e1331,_0x6e80c7){return _0x2e1331===_0x6e80c7;},'DsBkb':_0x5099e8(0x194),'NvpHM':function(_0x5740be,_0x1f45fb){return _0x5740be(_0x1f45fb);}},_0x61994c=loadCache(),_0xdace6b=_0x61994c[_0x5099e8(0x18f)][_0x176062];if(!_0xdace6b?.['enabled'])return;const _0x2b330a=getCurrentBranch();if(!_0x2b330a||_0x33f112['rXvNL'](_0x2b330a,_0x33f112[_0x5099e8(0x18a)])||_0x33f112[_0x5099e8(0x191)](_0x2b330a,'master'))return;_0xdace6b['currentBranch']!==_0x2b330a&&(_0x61994c['branches'][_0x2b330a]=!![],_0xdace6b[_0x5099e8(0x18c)]=_0x2b330a,_0x33f112[_0x5099e8(0x185)](saveCache,_0x61994c));}export function initBranchTracking(_0x8a1988){const _0x271728=_0x7d69f4,_0x384ed6={'hvHdC':function(_0x37a478){return _0x37a478();},'SVufW':'main','kgYQh':function(_0xe8b2b7,_0x2ebd28){return _0xe8b2b7===_0x2ebd28;},'slZHV':'master','NPbHg':function(_0x548c60,_0x3019ee){return _0x548c60===_0x3019ee;},'PhXmW':function(_0x280ba2,_0x18764d,_0x5f3c3a){return _0x280ba2(_0x18764d,_0x5f3c3a);},'plntY':function(_0x303114,_0x1e21b4){return _0x303114(_0x1e21b4);}},_0x26b3b6=loadCache(),_0x3b1593=_0x384ed6[_0x271728(0x198)](getCurrentBranch);if(!_0x3b1593||_0x3b1593===_0x384ed6[_0x271728(0x19c)]||_0x384ed6['kgYQh'](_0x3b1593,_0x384ed6['slZHV']))return;if(_0x384ed6['NPbHg'](_0x26b3b6[_0x271728(0x190)][_0x3b1593],!![])){const _0x4b234=_0x384ed6['PhXmW'](getOrCreateSession,_0x26b3b6,_0x8a1988);_0x4b234[_0x271728(0x19b)]=!![],_0x4b234['currentBranch']=_0x3b1593,_0x384ed6['plntY'](saveCache,_0x26b3b6);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x1cc91c){const _0x62330c=_0x7d69f4,_0x33f47a={'CzesT':function(_0x390a7b){return _0x390a7b();}},_0x16378c=_0x33f47a['CzesT'](loadCache),_0x2f738f=_0x16378c['sessions'][_0x1cc91c];_0x2f738f?.[_0x62330c(0x19b)]&&(_0x16378c[_0x62330c(0x187)]=Date['now'](),saveCache(_0x16378c));}export function shouldAutoEnableAfterClear(_0x243fcc){const _0x2bee43=_0x7d69f4,_0x45b0fa={'gWQcl':function(_0x2d5e67,_0x46db00){return _0x2d5e67!==_0x46db00;},'hwbBk':'clear','YkNcK':function(_0x5ff0ce,_0x349867){return _0x5ff0ce-_0x349867;},'picjF':function(_0x1d5e3d,_0x2dfa79){return _0x1d5e3d<=_0x2dfa79;}};if(_0x45b0fa[_0x2bee43(0x1ab)](_0x243fcc,_0x45b0fa['hwbBk']))return![];const _0x3f1d2c=loadCache(),_0x5bb715=_0x3f1d2c[_0x2bee43(0x187)];if(!_0x5bb715)return![];const _0x487bb5=_0x45b0fa['YkNcK'](Date[_0x2bee43(0x19d)](),_0x5bb715);return _0x45b0fa[_0x2bee43(0x1a9)](_0x487bb5,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x4e1441){const _0x42b990={'JjulX':function(_0x17077e,_0x59ccf8,_0x5a5724){return _0x17077e(_0x59ccf8,_0x5a5724);},'xlWjT':function(_0x579f97,_0x171a0c){return _0x579f97!==_0x171a0c;},'GHaYd':'main','epXOC':'master','WgabT':function(_0x1f14f0,_0x1e4156){return _0x1f14f0(_0x1e4156);}},_0x413aa2=loadCache(),_0xdf6117=_0x42b990['JjulX'](getOrCreateSession,_0x413aa2,_0x4e1441);_0xdf6117['enabled']=!![];const _0x5f288b=getCurrentBranch();_0x5f288b&&_0x42b990['xlWjT'](_0x5f288b,_0x42b990['GHaYd'])&&_0x5f288b!==_0x42b990['epXOC']&&(_0xdf6117['currentBranch']=_0x5f288b),delete _0x413aa2['lastEnabledSessionClearedAt'],_0x42b990['WgabT'](saveCache,_0x413aa2);}export function registerSession(_0x1399ca,_0x35145b){const _0x488cc7={'SDErZ':function(_0x2f0ce4,_0xa3cdee,_0x282b57){return _0x2f0ce4(_0xa3cdee,_0x282b57);},'atUpG':function(_0x163fcf,_0x548bbf){return _0x163fcf(_0x548bbf);}},_0x2b22da=loadCache(),_0x4e5df6=_0x488cc7['SDErZ'](getOrCreateSession,_0x2b22da,_0x1399ca);_0x4e5df6['featureId']=_0x35145b,_0x4e5df6['registeredAt']=new Date()['toISOString'](),_0x488cc7['atUpG'](saveCache,_0x2b22da);}export function getSessionEntry(_0x123faf){const _0xf0c2df=_0x7d69f4,_0x206f31={'hmbNI':function(_0x5e0b37){return _0x5e0b37();}},_0x64c3b8=_0x206f31[_0xf0c2df(0x1a6)](loadCache),_0x316700=_0x64c3b8[_0xf0c2df(0x18f)][_0x123faf];if(_0x316700?.['featureId']&&_0x316700?.['registeredAt'])return{'featureId':_0x316700['featureId'],'registeredAt':_0x316700['registeredAt']};return null;}export function unregisterSession(_0x349533){const _0xe8e657=_0x7d69f4,_0x5769eb=loadCache(),_0x2809ae=_0x5769eb[_0xe8e657(0x18f)][_0x349533];_0x2809ae&&(delete _0x2809ae['featureId'],delete _0x2809ae['registeredAt'],saveCache(_0x5769eb));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;function _0x5073(_0x921a04,_0x3a65c3){_0x921a04=_0x921a04-0x183;const _0x1a4ce5=_0x1a4c();let _0x50736e=_0x1a4ce5[_0x921a04];return _0x50736e;}export function shouldShowPlanReminder(_0x23b53b){const _0x5c3ffc=_0x7d69f4,_0x290911=loadCache(),_0x568c49=getOrCreateSession(_0x290911,_0x23b53b),_0x92e86a=_0x568c49['lastPlanReminderAt']||0x0,_0x3c1ea7=Date['now']();if(_0x3c1ea7-_0x92e86a>=PLAN_REMINDER_INTERVAL_MS)return _0x568c49[_0x5c3ffc(0x1a5)]=_0x3c1ea7,saveCache(_0x290911),!![];return![];}export function shouldShowStopReminder(_0x11d465){const _0x41859a=_0x7d69f4,_0xb8832f={'LTnnG':function(_0x17e6c6){return _0x17e6c6();},'IFMBV':function(_0x4d5ab6,_0x3d49ad){return _0x4d5ab6>=_0x3d49ad;},'MihPm':function(_0x2aec20,_0x53182b){return _0x2aec20-_0x53182b;},'UcgVa':function(_0x3a652c,_0xc310f5){return _0x3a652c(_0xc310f5);}},_0x991622=_0xb8832f['LTnnG'](loadCache),_0xf6f80c=getOrCreateSession(_0x991622,_0x11d465),_0x1ff51b=_0xf6f80c['lastStopReminderAt']||0x0,_0x4f5bb8=Date[_0x41859a(0x19d)]();if(_0xb8832f['IFMBV'](_0xb8832f[_0x41859a(0x1a4)](_0x4f5bb8,_0x1ff51b),STOP_REMINDER_INTERVAL_MS))return _0xf6f80c[_0x41859a(0x19e)]=_0x4f5bb8,_0xb8832f[_0x41859a(0x192)](saveCache,_0x991622),!![];return![];}export function hasSessionBeenPrompted(_0x4b4e95){const _0x126958=_0x7d69f4,_0xbd22ce={'cSuUJ':function(_0x375dba){return _0x375dba();}},_0x1d7a2b=_0xbd22ce['cSuUJ'](loadCache);return _0x1d7a2b[_0x126958(0x18f)][_0x4b4e95]?.['prompted']===!![];}export function markSessionPrompted(_0x500db5){const _0x16ea3b={'kAPQu':function(_0x2e6138){return _0x2e6138();},'dTcjw':function(_0x15eccd,_0x4c6ac3,_0x4fcc70){return _0x15eccd(_0x4c6ac3,_0x4fcc70);}},_0x2860ba=_0x16ea3b['kAPQu'](loadCache),_0x5e8039=_0x16ea3b['dTcjw'](getOrCreateSession,_0x2860ba,_0x500db5);_0x5e8039['prompted']=!![],saveCache(_0x2860ba);}export function getCacheFile(){return CACHE_FILE;}
@@ -1 +1 @@
1
- const _0x204fae=_0x21f3;(function(_0x37df03,_0xe729af){const _0x357646=_0x21f3,_0x45f110=_0x37df03();while(!![]){try{const _0x45c788=parseInt(_0x357646(0xca))/0x1+parseInt(_0x357646(0xac))/0x2*(-parseInt(_0x357646(0x9b))/0x3)+-parseInt(_0x357646(0xb0))/0x4*(-parseInt(_0x357646(0xe1))/0x5)+-parseInt(_0x357646(0xbd))/0x6+-parseInt(_0x357646(0xcc))/0x7*(-parseInt(_0x357646(0xc5))/0x8)+-parseInt(_0x357646(0xc8))/0x9*(-parseInt(_0x357646(0xda))/0xa)+parseInt(_0x357646(0xa2))/0xb;if(_0x45c788===_0xe729af)break;else _0x45f110['push'](_0x45f110['shift']());}catch(_0x42f79c){_0x45f110['push'](_0x45f110['shift']());}}}(_0x4265,0x2d30a));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';function _0x4265(){const _0x489b6a=['settings.json','core','EjAIQ','ElmfQ','hvZOg','1250676GruBFu','args','XAqrp','pathK','filter','ranger-config','all','--no-sandbox','8dgjuVC','--allow-insecure-localhost','push','27myzqui','path','187253jnlsVz','cdpEndpoint','1352141RvXqRk','local','headless','string','setupHeaders','browser','DGHbA','object','sessions','BxCed','repeat','allowInsecureLocalhost','pnDhK','hGhhs','139660sOvvJw','Mknol','FtVJL','ENOENT','sEwbp','KDLFR','clipboard-read','40vQElUP','storageStatePath','auth.json','includes','tvxTI','getuid','abzdD','.json','file','--disable-features=WebBluetooth','Qrmte','extraHTTPHeaders','VycyI','meAme','launchOptions','hvXVX','SQkDD','contextOptions','entries','fzEFm','isArray','tabs','owpfk','--disable-setuid-sandbox','fRCPQ','userAgent','now','oUvha','uoajX','EHrhH','storageState','pkkYk','LroWg','CKIeZ','--disable-web-security','length','87ZrpgCT','aqqEL','map','XVnLD','legacy','tempAuthPath','SqksV','1487233RFCkIk','boolean','clipboard-write','YHeyz','WNSKI','tYjxs','bzEse','EICOr','ETkXN','message','19874mfDMhm','UqApi','VWRGs','zQroa','62100prNtLT','fromEntries','chromium','WUvJH','allow','parse','env','location'];_0x4265=function(){return _0x489b6a;};return _0x4265();}export function getEnvDir(_0x392d5d){const _0x5ac2a1=_0x21f3,_0x2137b3={'pkkYk':function(_0x533af4){return _0x533af4();},'UqApi':function(_0x3e22b1,_0x26438b,_0x3b54af,_0x1dc586){return _0x3e22b1(_0x26438b,_0x3b54af,_0x1dc586);},'hDLQQ':'local','tYjxs':function(_0x542d77,_0x5c12d0,_0x4774e6){return _0x542d77(_0x5c12d0,_0x4774e6);},'EICOr':function(_0x3303da,_0x4e5ddb){return _0x3303da(_0x4e5ddb);}},_0xe0034b=_0x2137b3[_0x5ac2a1(0x96)](getRangerDir),_0x2f7342=_0x2137b3['UqApi'](join,_0xe0034b,'ci',_0x392d5d),_0x2291a3=_0x2137b3[_0x5ac2a1(0xad)](join,_0xe0034b,_0x2137b3['hDLQQ'],_0x392d5d),_0x1d803d=join(_0xe0034b,_0x392d5d),_0x50e939=_0x2137b3[_0x5ac2a1(0xa7)](join,_0xe0034b,_0x5ac2a1(0xcd)),_0x2efceb=join(_0xe0034b,'ci');if(_0x2137b3[_0x5ac2a1(0xa9)](existsSync,_0x2f7342))return _0x2f7342;if(existsSync(_0x2291a3))return _0x2291a3;if(existsSync(_0x1d803d)&&(_0x1d803d!==_0x50e939&&_0x1d803d!==_0x2efceb?!![]:hasLegacyProfileFiles(_0x1d803d)))return _0x1d803d;return _0x2291a3;}export function findExistingEnv(_0x3959d8,_0x315053){const _0x20f9e6=_0x21f3,_0x258e9c={'Mknol':_0x20f9e6(0xcd),'uywsQ':function(_0x3929a1,_0x302ff0){return _0x3929a1===_0x302ff0;},'fzEFm':function(_0x266f06,_0x252f7c){return _0x266f06(_0x252f7c);}},_0xc1171b=getRangerDir(),_0x4311de=_0x315053?.['locations']??['ci',_0x258e9c[_0x20f9e6(0xdb)],_0x20f9e6(0x9f)],_0x5221dc=join(_0xc1171b,_0x258e9c['Mknol']),_0x34b975=join(_0xc1171b,'ci'),_0x4e42ce=[{'location':'ci','path':join(_0xc1171b,'ci',_0x3959d8)},{'location':_0x258e9c[_0x20f9e6(0xdb)],'path':join(_0xc1171b,'local',_0x3959d8)},{'location':'legacy','path':join(_0xc1171b,_0x3959d8)}];for(const _0x580379 of _0x4e42ce){if(_0x4311de[_0x20f9e6(0xe4)](_0x580379[_0x20f9e6(0xb7)])&&existsSync(_0x580379[_0x20f9e6(0xc9)])){if(_0x580379['location']==='legacy'&&(_0x580379[_0x20f9e6(0xc9)]===_0x5221dc||_0x258e9c['uywsQ'](_0x580379[_0x20f9e6(0xc9)],_0x34b975))&&!_0x258e9c[_0x20f9e6(0xf4)](hasLegacyProfileFiles,_0x580379['path']))continue;return{'path':_0x580379['path'],'location':_0x580379['location']};}}return null;}function hasLegacyProfileFiles(_0x29ae82){const _0x1a1ea3=_0x21f3,_0x16cbe1={'ZcQHe':function(_0x1d0f20,_0x4f1920,_0x16ed75){return _0x1d0f20(_0x4f1920,_0x16ed75);},'tvxTI':function(_0x5cdc92,_0x4ce12f){return _0x5cdc92(_0x4ce12f);},'KDLFR':function(_0x27d61b,_0x299d73){return _0x27d61b(_0x299d73);},'SqksV':'auth.json.enc'};return existsSync(_0x16cbe1['ZcQHe'](join,_0x29ae82,_0x1a1ea3(0xb8)))||_0x16cbe1[_0x1a1ea3(0xe5)](existsSync,join(_0x29ae82,'auth.json'))||_0x16cbe1[_0x1a1ea3(0xdf)](existsSync,_0x16cbe1['ZcQHe'](join,_0x29ae82,_0x16cbe1[_0x1a1ea3(0xa1)]));}export function isEnvCi(_0x105ff2){const _0xddbc5b=_0x21f3,_0x2a6d6e={'hvXVX':function(_0x41985e,_0x159b77){return _0x41985e(_0x159b77);},'meAme':function(_0x4ba93c){return _0x4ba93c();}};return _0x2a6d6e[_0xddbc5b(0xf0)](existsSync,join(_0x2a6d6e[_0xddbc5b(0xee)](getRangerDir),'ci',_0x105ff2));}export async function cleanupTempFiles(_0x468a19){const _0x39ac32=_0x21f3,_0x478d4f={'VROkd':function(_0x5915ed,_0x2de111){return _0x5915ed!==_0x2de111;}},_0x5cb762=[_0x468a19[_0x39ac32(0xa0)],_0x468a19['configPath']]['filter'](Boolean);await Promise[_0x39ac32(0xc3)](_0x5cb762['map'](_0x1eeeac=>unlink(_0x1eeeac)['catch'](_0x514b8e=>{const _0x3f1a4e=_0x39ac32;_0x478d4f['VROkd'](_0x514b8e['code'],_0x3f1a4e(0xdd))&&console['warn']('Failed\x20to\x20clean\x20up\x20temp\x20file\x20'+_0x1eeeac+':',_0x514b8e[_0x3f1a4e(0xab)]);})));}export function getSettingsPath(_0x59c655){const _0x52875a=_0x21f3,_0x39f245={'iLlEA':function(_0x3353fd,_0x208fcd,_0x3ba389){return _0x3353fd(_0x208fcd,_0x3ba389);},'VWRGs':_0x52875a(0xb8)};return _0x39f245['iLlEA'](join,getEnvDir(_0x59c655),_0x39f245[_0x52875a(0xae)]);}export async function loadSettings(_0x4f1b7a){const _0x750a37=_0x21f3,_0x2bb8fb={'yotfI':function(_0x3ec97d,_0x15538e){return _0x3ec97d(_0x15538e);},'ZCJCf':function(_0x15a999,_0x1625c7){return _0x15a999(_0x1625c7);},'skPQU':function(_0xb0837c,_0x67a7bc,_0x2045d8){return _0xb0837c(_0x67a7bc,_0x2045d8);}},_0x57e399=_0x2bb8fb['yotfI'](getSettingsPath,_0x4f1b7a);if(!_0x2bb8fb['ZCJCf'](existsSync,_0x57e399))return{};try{const _0x190e68=await _0x2bb8fb['skPQU'](readFile,_0x57e399,'utf-8');return JSON[_0x750a37(0xb5)](_0x190e68);}catch{return{};}}export async function saveSettings(_0x2cd9a8,_0x395021){const _0x560851=_0x21f3,_0x164b72={'zQroa':function(_0x2513ea,_0x57fb4b){return _0x2513ea(_0x57fb4b);},'EjAIQ':function(_0x4c2e11,_0x32f29d,_0x1af0b3){return _0x4c2e11(_0x32f29d,_0x1af0b3);}},_0x5ad298=_0x164b72[_0x560851(0xaf)](getSettingsPath,_0x2cd9a8),_0x24b397=_0x164b72[_0x560851(0xaf)](dirname,_0x5ad298);!existsSync(_0x24b397)&&await _0x164b72['EjAIQ'](mkdir,_0x24b397,{'recursive':!![]}),await _0x164b72[_0x560851(0xba)](writeFile,_0x5ad298,JSON['stringify'](_0x395021,null,0x2));}export function resolveEnvVars(_0xa4d8f8){const _0x1ab9a1=_0x21f3,_0x3368ed={'XAqrp':function(_0x4bdb4e,_0x5e5fab){return _0x4bdb4e===_0x5e5fab;}};if(_0x3368ed[_0x1ab9a1(0xbf)](typeof _0xa4d8f8,_0x1ab9a1(0xcf)))return _0xa4d8f8['replace'](/\$\{(\w+)\}/g,(_0x5ce6c8,_0x13313e)=>{const _0x38ae4b=_0x1ab9a1,_0x57ac4b=process[_0x38ae4b(0xb6)][_0x13313e];if(_0x57ac4b===undefined)throw new Error('Environment\x20variable\x20'+_0x13313e+'\x20is\x20not\x20set');return _0x57ac4b;});if(Array[_0x1ab9a1(0x8b)](_0xa4d8f8))return _0xa4d8f8[_0x1ab9a1(0x9d)](resolveEnvVars);if(_0xa4d8f8&&typeof _0xa4d8f8==='object')return Object[_0x1ab9a1(0xb1)](Object['entries'](_0xa4d8f8)['map'](([_0x4b520f,_0x3f31d1])=>[_0x4b520f,resolveEnvVars(_0x3f31d1)]));return _0xa4d8f8;}const isRecord=_0x82afbd=>typeof _0x82afbd==='object'&&_0x82afbd!==null&&!Array[_0x204fae(0x8b)](_0x82afbd),asRecord=_0x5a28a0=>isRecord(_0x5a28a0)?_0x5a28a0:undefined,mergeHeaders=(_0x410c01,_0x4f9b59)=>{const _0x30a88f=_0x204fae,_0x53ffb7={'CedRj':function(_0x137dc5,_0x5bbbfa){return _0x137dc5??_0x5bbbfa;}},_0x2cb2fa={..._0x53ffb7['CedRj'](_0x410c01,{}),..._0x4f9b59??{}};return Object['keys'](_0x2cb2fa)[_0x30a88f(0x9a)]?_0x2cb2fa:undefined;},SAFE_MODE_ARGS=[_0x204fae(0xea)],ALLOW_LOCALHOST_ARGS=[_0x204fae(0x99),'--allow-running-insecure-content','--unsafely-treat-insecure-origin-as-secure=http://localhost',_0x204fae(0xc6)];export function buildBrowserOptionsFromSettings(_0x13eea8,_0x43ec8c={}){const _0x218d09=_0x204fae,_0x2f0632={'gYFiU':function(_0x5b3b18,_0x3a9f53){return _0x5b3b18(_0x3a9f53);},'KhxVx':_0x218d09(0xa3),'DDtQI':function(_0xfd578,_0x4a17dd){return _0xfd578(_0x4a17dd);},'ElmfQ':function(_0x4c0ee6,_0xb2f49f){return _0x4c0ee6===_0xb2f49f;},'FtVJL':_0x218d09(0xcf),'beEjI':function(_0x11413d,_0x88097,_0x3874bf){return _0x11413d(_0x88097,_0x3874bf);}},_0x235f6f=asRecord(_0x13eea8[_0x218d09(0xd1)]),_0x2eef0b={..._0x2f0632['gYFiU'](asRecord,_0x235f6f?.[_0x218d09(0xef)])??{}};typeof _0x43ec8c[_0x218d09(0xce)]===_0x2f0632['KhxVx']&&(_0x2eef0b['headless']=_0x43ec8c['headless']);if(_0x13eea8['safeMode']){const _0x3a5a0e=_0x2eef0b[_0x218d09(0xbe)]??[],_0x5b8522=SAFE_MODE_ARGS[_0x218d09(0xc1)](_0x3a2d77=>!_0x3a5a0e['includes'](_0x3a2d77));_0x2eef0b[_0x218d09(0xbe)]=[..._0x3a5a0e,..._0x5b8522];}if(_0x13eea8[_0x218d09(0xd7)]){const _0x20bd71=_0x2eef0b['args']??[],_0x3689f4=ALLOW_LOCALHOST_ARGS['filter'](_0x5df028=>!_0x20bd71[_0x218d09(0xe4)](_0x5df028));_0x2eef0b['args']=[..._0x20bd71,..._0x3689f4];}const _0x2da0ea={..._0x2f0632['DDtQI'](asRecord,_0x235f6f?.['contextOptions'])??{}};_0x2da0ea['ignoreHTTPSErrors']=!![];_0x2f0632[_0x218d09(0xbb)](typeof _0x13eea8[_0x218d09(0x90)],_0x2f0632[_0x218d09(0xdc)])&&(_0x2da0ea['userAgent']=_0x13eea8['userAgent']);const _0x467d8e=_0x2f0632['beEjI'](mergeHeaders,_0x2f0632['DDtQI'](asRecord,_0x2da0ea['extraHTTPHeaders']),asRecord(_0x13eea8['headers']));return _0x467d8e?_0x2da0ea['extraHTTPHeaders']=_0x467d8e:delete _0x2da0ea[_0x218d09(0xec)],_0x43ec8c[_0x218d09(0xe2)]&&(_0x2da0ea['storageState']=_0x43ec8c['storageStatePath']),{'launchOptions':_0x2eef0b,'contextOptions':_0x2da0ea};}export async function buildPlaywrightConfig(_0x4e9a4e,_0x55ff9a,_0x58fad4,_0x599372){const _0x37bb39=_0x204fae,_0x50bc2f={'VycyI':_0x37bb39(0xe0),'iKPcg':function(_0x1a89c9,_0x1973df){return _0x1a89c9(_0x1973df);},'RtHtE':_0x37bb39(0xe3),'XVnLD':function(_0x4968c6){return _0x4968c6();},'YHeyz':function(_0x63ac09,_0x5c2839){return _0x63ac09(_0x5c2839);},'oUvha':function(_0x6bcb52,_0x3dfe39,_0x11e490){return _0x6bcb52(_0x3dfe39,_0x11e490);},'sciIx':function(_0x1adf34){return _0x1adf34();},'GHcCo':function(_0x18bf0c){return _0x18bf0c();},'SQkDD':function(_0x48faf2,_0x4571e7,_0x4339b5,_0x50405b){return _0x48faf2(_0x4571e7,_0x4339b5,_0x50405b);},'QkfLB':function(_0x58455b){return _0x58455b();},'yuScv':_0x37bb39(0x8c),'uThaY':function(_0xe8fe25,_0x1fc2b7){return _0xe8fe25===_0x1fc2b7;},'owpfk':function(_0x1a1d81,_0x3b40b5,_0x43037e){return _0x1a1d81(_0x3b40b5,_0x43037e);}},_0x2bc8f6=_0x50bc2f['iKPcg'](getEnvDir,_0x55ff9a),_0x2b6ef9=join(_0x2bc8f6,'auth.json.enc'),_0x3892b1=join(_0x2bc8f6,_0x50bc2f['RtHtE']);let _0x30d29c,_0x3b523a;if(existsSync(_0x2b6ef9))try{const _0x3eb001=await _0x50bc2f[_0x37bb39(0x9e)](getToken);if(!_0x3eb001)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x2951dc=await _0x50bc2f[_0x37bb39(0xa5)](readFile,_0x2b6ef9),_0x2f2fb8=_0x50bc2f[_0x37bb39(0x92)](decrypt,_0x2951dc,_0x3eb001);_0x3b523a=join(_0x50bc2f['sciIx'](tmpdir),'ranger-auth-'+Date['now']()+_0x37bb39(0xe8)),await writeFile(_0x3b523a,_0x2f2fb8),_0x30d29c=_0x3b523a;}catch(_0x2db870){const _0x1c270f=_0x2db870 instanceof Error?_0x2db870[_0x37bb39(0xab)]:String(_0x2db870);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x1c270f);}else existsSync(_0x3892b1)&&(_0x30d29c=_0x3892b1);const _0x1084a1=_0x58fad4||_0x50bc2f['GHcCo'](randomUUID),_0x4f54f3=_0x50bc2f[_0x37bb39(0xf1)](join,_0x50bc2f['QkfLB'](getRangerDir),_0x37bb39(0xd4),_0x1084a1),_0x2be073=Boolean(_0x4e9a4e[_0x37bb39(0xcb)]),_0x2a2015=_0x2be073?{'browserName':'chromium','cdpEndpoint':_0x4e9a4e[_0x37bb39(0xcb)]}:((()=>{const _0x3ae781=_0x37bb39,{launchOptions:_0x6991af,contextOptions:_0x1719de}=buildBrowserOptionsFromSettings(_0x4e9a4e,{'headless':_0x599372?![]:_0x4e9a4e[_0x3ae781(0xce)]??!![],'storageStatePath':_0x30d29c});if(process['getuid']?.()===0x0){const _0x2a2546=['--no-sandbox',_0x3ae781(0x8e)],_0x714134=_0x6991af['args']??[],_0x266beb=_0x2a2546['filter'](_0x5d10f5=>!_0x714134['includes'](_0x5d10f5));_0x6991af[_0x3ae781(0xbe)]=[..._0x714134,..._0x266beb];}return{'isolated':!![],'browserName':_0x3ae781(0xb2),'launchOptions':_0x6991af,'contextOptions':{..._0x1719de,'permissions':[_0x50bc2f[_0x3ae781(0xed)],'clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x1f4907={'name':_0x55ff9a,'browser':_0x2a2015,'capabilities':[_0x37bb39(0xb9),_0x50bc2f['yuScv'],'install','pdf','vision'],'imageResponses':_0x37bb39(0xb4),'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x4f54f3};if(!_0x2be073){const _0x4aa063=_0x1f4907['browser'],_0x4993c4=_0x4aa063[_0x37bb39(0xf2)];if(_0x50bc2f['uThaY'](_0x4993c4[_0x37bb39(0x90)],undefined))delete _0x4993c4['userAgent'];if(_0x4993c4[_0x37bb39(0x95)]===undefined)delete _0x4993c4[_0x37bb39(0x95)];}const _0x448e22=join(_0x50bc2f[_0x37bb39(0x9e)](tmpdir),_0x37bb39(0xc2));!existsSync(_0x448e22)&&await mkdir(_0x448e22,{'recursive':!![]});const _0x334e37=_0x50bc2f[_0x37bb39(0x8d)](join,_0x448e22,_0x55ff9a+'-'+Date[_0x37bb39(0x91)]()+'.json');return await writeFile(_0x334e37,JSON['stringify'](_0x1f4907,null,0x2)),{'configPath':_0x334e37,'tempAuthPath':_0x3b523a};}export async function buildPlaywrightCliConfig(_0x555361,_0x556d99,_0x549343,_0x161494){const _0x43fb6d=_0x204fae,_0x14aee4={'APEBE':_0x43fb6d(0xc4),'pathK':_0x43fb6d(0x8e),'CDiXX':_0x43fb6d(0xe0),'tmXPP':_0x43fb6d(0xa4),'sEwbp':function(_0xc75616,_0x2edc8c){return _0xc75616(_0x2edc8c);},'hvZOg':function(_0x1ae875,_0x3f19c7,_0x2c443e){return _0x1ae875(_0x3f19c7,_0x2c443e);},'ImeRJ':_0x43fb6d(0xe3),'ETkXN':function(_0x1e7094){return _0x1e7094();},'hGhhs':function(_0x11a1fd,_0x38c1fb){return _0x11a1fd instanceof _0x38c1fb;},'uoajX':function(_0x3a2733,_0x2673ae,_0x392684,_0x186efd){return _0x3a2733(_0x2673ae,_0x392684,_0x186efd);},'aqqEL':_0x43fb6d(0xd4),'rkSEd':function(_0x40a882,_0x60ca5c){return _0x40a882(_0x60ca5c);},'WNSKI':function(_0x2de01b,_0x326107){return _0x2de01b===_0x326107;},'QkWot':_0x43fb6d(0xe9),'EHrhH':'none','CKIeZ':function(_0x36553f,_0x331707,_0x560ab7){return _0x36553f(_0x331707,_0x560ab7);},'iQMYt':_0x43fb6d(0xc2),'ULGfA':function(_0x2d675a,_0x217260){return _0x2d675a(_0x217260);},'pnDhK':function(_0x290480,_0x5b6c4e,_0x395805){return _0x290480(_0x5b6c4e,_0x395805);}},_0xe8176=_0x14aee4['sEwbp'](getEnvDir,_0x556d99),_0x1248f0=join(_0xe8176,'auth.json.enc'),_0x65c613=_0x14aee4[_0x43fb6d(0xbc)](join,_0xe8176,_0x14aee4['ImeRJ']);let _0x3494a8,_0x2cf3a0;if(_0x14aee4[_0x43fb6d(0xde)](existsSync,_0x1248f0))try{const _0x2c58ab=await getToken();if(!_0x2c58ab)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x12de8a=await readFile(_0x1248f0),_0x4723f9=decrypt(_0x12de8a,_0x2c58ab);_0x2cf3a0=join(_0x14aee4[_0x43fb6d(0xaa)](tmpdir),'ranger-auth-'+Date[_0x43fb6d(0x91)]()+'.json'),await _0x14aee4['hvZOg'](writeFile,_0x2cf3a0,_0x4723f9),_0x3494a8=_0x2cf3a0;}catch(_0x4941d0){const _0x45d102=_0x14aee4[_0x43fb6d(0xd9)](_0x4941d0,Error)?_0x4941d0['message']:String(_0x4941d0);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x45d102);}else _0x14aee4[_0x43fb6d(0xde)](existsSync,_0x65c613)&&(_0x3494a8=_0x65c613);const _0x3c5ea5=_0x549343||_0x14aee4['ETkXN'](randomUUID),_0x488623=_0x14aee4[_0x43fb6d(0x93)](join,getRangerDir(),_0x14aee4[_0x43fb6d(0x9c)],_0x3c5ea5),_0x503c73=_0x14aee4['rkSEd'](Boolean,_0x555361[_0x43fb6d(0xcb)]),_0xca3b65=_0x503c73?{'browserName':_0x43fb6d(0xb2),'cdpEndpoint':_0x555361[_0x43fb6d(0xcb)]}:((()=>{const _0xf2cd63=_0x43fb6d,{launchOptions:_0x3e59be,contextOptions:_0x420fcc}=buildBrowserOptionsFromSettings(_0x555361,{'headless':_0x161494?![]:_0x555361['headless']??!![],'storageStatePath':_0x3494a8});if(process[_0xf2cd63(0xe6)]?.()===0x0){const _0x879644=[_0x14aee4['APEBE'],_0x14aee4[_0xf2cd63(0xc0)]],_0x1b037a=_0x3e59be['args']??[],_0x392415=_0x879644[_0xf2cd63(0xc1)](_0x5ef7ad=>!_0x1b037a['includes'](_0x5ef7ad));_0x3e59be[_0xf2cd63(0xbe)]=[..._0x1b037a,..._0x392415];}return{'isolated':!![],'browserName':'chromium','launchOptions':_0x3e59be,'contextOptions':{..._0x420fcc,'permissions':[_0x14aee4['CDiXX'],_0x14aee4['tmXPP']],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x503c73){const _0x41a6f5=_0xca3b65[_0x43fb6d(0xf2)];if(_0x14aee4[_0x43fb6d(0xa6)](_0x41a6f5['userAgent'],undefined))delete _0x41a6f5[_0x43fb6d(0x90)];if(_0x14aee4[_0x43fb6d(0xa6)](_0x41a6f5[_0x43fb6d(0x95)],undefined))delete _0x41a6f5['storageState'];}const _0x657598={'browser':_0xca3b65,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x488623,'outputMode':_0x14aee4['QkWot'],'codegen':_0x14aee4[_0x43fb6d(0x94)]},_0x597388=_0x14aee4[_0x43fb6d(0x98)](join,_0x14aee4['ETkXN'](tmpdir),_0x14aee4['iQMYt']);!_0x14aee4['ULGfA'](existsSync,_0x597388)&&await _0x14aee4[_0x43fb6d(0x98)](mkdir,_0x597388,{'recursive':!![]});const _0x4db5b1=_0x14aee4[_0x43fb6d(0xd8)](join,_0x597388,_0x556d99+'-'+Date['now']()+'-cli.json');return await writeFile(_0x4db5b1,JSON['stringify'](_0x657598,null,0x2)),{'configPath':_0x4db5b1,'tempAuthPath':_0x2cf3a0};}export function getNestedValue(_0xba9cfe,_0x5c5dda){const _0x258215=_0x204fae,_0x180643={'VfxuE':function(_0x58605e,_0x291c15){return _0x58605e===_0x291c15;},'WUvJH':function(_0xaa07b2,_0x1d00be){return _0xaa07b2===_0x1d00be;},'abzdD':_0x258215(0xd3)},_0x400520=parseKeyPath(_0x5c5dda);let _0x2853dd=_0xba9cfe;for(const _0x44fdb9 of _0x400520){if(_0x180643['VfxuE'](_0x2853dd,null)||_0x180643[_0x258215(0xb3)](_0x2853dd,undefined)||typeof _0x2853dd!==_0x180643[_0x258215(0xe7)])return undefined;_0x2853dd=_0x2853dd[_0x44fdb9];}return _0x2853dd;}function _0x21f3(_0x2a47fe,_0x156c1d){_0x2a47fe=_0x2a47fe-0x8b;const _0x426592=_0x4265();let _0x21f3df=_0x426592[_0x2a47fe];return _0x21f3df;}export function setNestedValue(_0x2e36fc,_0x4ec5e1,_0x5cc355){const _0x19c0b8=_0x204fae,_0x2610c2={'lFoyH':function(_0x5a1758,_0x167ff8){return _0x5a1758<_0x167ff8;},'abnVa':function(_0x29737b,_0x3cdca7){return _0x29737b-_0x3cdca7;},'BwMWw':function(_0x49b6cb,_0x1dd3de){return _0x49b6cb in _0x1dd3de;},'hCJai':function(_0x268f8c,_0x546ed0){return _0x268f8c!==_0x546ed0;}},_0x539b31=parseKeyPath(_0x4ec5e1);let _0x75a857=_0x2e36fc;for(let _0x334485=0x0;_0x2610c2['lFoyH'](_0x334485,_0x2610c2['abnVa'](_0x539b31[_0x19c0b8(0x9a)],0x1));_0x334485++){const _0x53f445=_0x539b31[_0x334485];(!_0x2610c2['BwMWw'](_0x53f445,_0x75a857)||_0x2610c2['hCJai'](typeof _0x75a857[_0x53f445],'object'))&&(_0x75a857[_0x53f445]={}),_0x75a857=_0x75a857[_0x53f445];}_0x75a857[_0x539b31[_0x539b31[_0x19c0b8(0x9a)]-0x1]]=_0x5cc355;}export function deleteNestedValue(_0xd40a60,_0x578c75){const _0x5db874=_0x204fae,_0xf5a92b={'egFDq':function(_0x1168f5,_0x434f8b){return _0x1168f5<_0x434f8b;},'BxCed':function(_0x19b151,_0x1767b7){return _0x19b151-_0x1767b7;},'NwgNd':function(_0x53e6c9,_0x4b0f67){return _0x53e6c9===_0x4b0f67;},'DGHbA':function(_0x9c3c08,_0x3b0723){return _0x9c3c08!==_0x3b0723;},'fRCPQ':function(_0x3b4dac,_0x19af44){return _0x3b4dac-_0x19af44;},'bzEse':function(_0x1d0e62,_0x2bdd83){return _0x1d0e62 in _0x2bdd83;}},_0x19efd8=parseKeyPath(_0x578c75);let _0x2daa68=_0xd40a60;for(let _0x4e8118=0x0;_0xf5a92b['egFDq'](_0x4e8118,_0xf5a92b[_0x5db874(0xd5)](_0x19efd8[_0x5db874(0x9a)],0x1));_0x4e8118++){if(_0xf5a92b['NwgNd'](_0x2daa68,null)||_0x2daa68===undefined||_0xf5a92b[_0x5db874(0xd2)](typeof _0x2daa68,'object'))return![];_0x2daa68=_0x2daa68[_0x19efd8[_0x4e8118]];}if(_0x2daa68===null||_0x2daa68===undefined||typeof _0x2daa68!=='object')return![];const _0x3aed5c=_0x19efd8[_0xf5a92b[_0x5db874(0x8f)](_0x19efd8[_0x5db874(0x9a)],0x1)];if(_0xf5a92b[_0x5db874(0xa8)](_0x3aed5c,_0x2daa68))return delete _0x2daa68[_0x3aed5c],!![];return![];}function parseKeyPath(_0x5aebe5){const _0x47b142=_0x204fae,_0x28475b={'fJixj':function(_0x54799b,_0x4aa5e1){return _0x54799b===_0x4aa5e1;}},_0x1fff50=_0x5aebe5['split']('.');return _0x28475b['fJixj'](_0x1fff50[0x0],'header')&&(_0x1fff50[0x0]='headers'),_0x1fff50[0x0]==='setupHeader'&&(_0x1fff50[0x0]=_0x47b142(0xd0)),_0x1fff50;}export function formatSettings(_0x471e0e,_0x5e004b=0x0){const _0x371069=_0x204fae,_0x2818e4={'LroWg':function(_0x52f379,_0x42966e){return _0x52f379===_0x42966e;},'Qrmte':function(_0xed513d,_0x58314a){return _0xed513d!==_0x58314a;}},_0x4e2ee8=[],_0x54c841='\x20\x20'[_0x371069(0xd6)](_0x5e004b);for(const [_0x32512a,_0x3db4ea]of Object['entries'](_0x471e0e)){if(_0x2818e4[_0x371069(0x97)](_0x3db4ea,undefined))continue;if(typeof _0x3db4ea===_0x371069(0xd3)&&_0x2818e4[_0x371069(0xeb)](_0x3db4ea,null)){_0x4e2ee8['push'](''+_0x54c841+_0x32512a+':');for(const [_0x655b5,_0xaa05bb]of Object[_0x371069(0xf3)](_0x3db4ea)){_0x4e2ee8[_0x371069(0xc7)](_0x54c841+'\x20\x20'+_0x655b5+':\x20'+_0xaa05bb);}}else _0x4e2ee8['push'](''+_0x54c841+_0x32512a+':\x20'+_0x3db4ea);}return _0x4e2ee8['join']('\x0a');}
1
+ const _0x39628a=_0x4fb7;(function(_0x444661,_0x31fcbd){const _0x3a0e84=_0x4fb7,_0x141a37=_0x444661();while(!![]){try{const _0x4a5dd3=parseInt(_0x3a0e84(0x153))/0x1*(parseInt(_0x3a0e84(0x161))/0x2)+parseInt(_0x3a0e84(0x146))/0x3+-parseInt(_0x3a0e84(0x12f))/0x4+parseInt(_0x3a0e84(0x142))/0x5+-parseInt(_0x3a0e84(0x158))/0x6+parseInt(_0x3a0e84(0x10f))/0x7*(parseInt(_0x3a0e84(0x151))/0x8)+-parseInt(_0x3a0e84(0x133))/0x9;if(_0x4a5dd3===_0x31fcbd)break;else _0x141a37['push'](_0x141a37['shift']());}catch(_0x4f8401){_0x141a37['push'](_0x141a37['shift']());}}}(_0x391e,0x9fd85));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(_0x565b0b){const _0x12f517=_0x4fb7,_0x2a8821={'RoZVx':function(_0x426fcc,_0x12f306,_0x4f9e0f){return _0x426fcc(_0x12f306,_0x4f9e0f);},'uXfzg':_0x12f517(0x122),'equbk':function(_0x4b6071,_0x5d7a17){return _0x4b6071(_0x5d7a17);},'sPtGU':function(_0xa0ba0c,_0x2ec9f1){return _0xa0ba0c!==_0x2ec9f1;}},_0x34d109=getRangerDir(),_0x716de3=join(_0x34d109,'ci',_0x565b0b),_0x452a27=join(_0x34d109,_0x12f517(0x122),_0x565b0b),_0x58dd4d=join(_0x34d109,_0x565b0b),_0x277077=_0x2a8821['RoZVx'](join,_0x34d109,_0x2a8821[_0x12f517(0x150)]),_0x12a19a=join(_0x34d109,'ci');if(existsSync(_0x716de3))return _0x716de3;if(_0x2a8821[_0x12f517(0x145)](existsSync,_0x452a27))return _0x452a27;if(existsSync(_0x58dd4d)&&(_0x58dd4d!==_0x277077&&_0x2a8821['sPtGU'](_0x58dd4d,_0x12a19a)?!![]:_0x2a8821[_0x12f517(0x145)](hasLegacyProfileFiles,_0x58dd4d)))return _0x58dd4d;return _0x452a27;}export function findExistingEnv(_0x55acfe,_0x98947a){const _0x57733d=_0x4fb7,_0x3321aa={'fpBae':function(_0x39ef32){return _0x39ef32();},'dqfoh':_0x57733d(0x122),'tIWST':function(_0xb365c3,_0x2e3d21,_0x1875e4){return _0xb365c3(_0x2e3d21,_0x1875e4);},'wgphK':function(_0x3ea048,_0x15ef53,_0x4d969b,_0x1cfe22){return _0x3ea048(_0x15ef53,_0x4d969b,_0x1cfe22);},'qXGGN':function(_0x535243,_0x4cea3a,_0x5656e7){return _0x535243(_0x4cea3a,_0x5656e7);},'JjBln':function(_0x47012a,_0x1fbc8e){return _0x47012a(_0x1fbc8e);},'Ifndd':'legacy','uJvTV':function(_0x40be1b,_0x25e7b9){return _0x40be1b===_0x25e7b9;}},_0x5beb54=_0x3321aa['fpBae'](getRangerDir),_0xe94c0=_0x98947a?.[_0x57733d(0x131)]??['ci',_0x3321aa['dqfoh'],_0x57733d(0x10e)],_0x2f71cd=_0x3321aa['tIWST'](join,_0x5beb54,_0x57733d(0x122)),_0x2f0c4a=join(_0x5beb54,'ci'),_0x9a04ee=[{'location':'ci','path':join(_0x5beb54,'ci',_0x55acfe)},{'location':'local','path':_0x3321aa['wgphK'](join,_0x5beb54,_0x3321aa['dqfoh'],_0x55acfe)},{'location':_0x57733d(0x10e),'path':_0x3321aa[_0x57733d(0x13b)](join,_0x5beb54,_0x55acfe)}];for(const _0x105632 of _0x9a04ee){if(_0xe94c0[_0x57733d(0x121)](_0x105632[_0x57733d(0x116)])&&_0x3321aa['JjBln'](existsSync,_0x105632[_0x57733d(0x13a)])){if(_0x105632[_0x57733d(0x116)]===_0x3321aa['Ifndd']&&(_0x3321aa[_0x57733d(0x147)](_0x105632['path'],_0x2f71cd)||_0x105632[_0x57733d(0x13a)]===_0x2f0c4a)&&!_0x3321aa['JjBln'](hasLegacyProfileFiles,_0x105632['path']))continue;return{'path':_0x105632[_0x57733d(0x13a)],'location':_0x105632['location']};}}return null;}function hasLegacyProfileFiles(_0x4f2ec0){const _0x1461d5=_0x4fb7,_0x5dc149={'oVUtx':function(_0x558da5,_0x50e04f){return _0x558da5(_0x50e04f);},'GzSmz':_0x1461d5(0x15d),'OggWR':function(_0xb835b2,_0x4475d5){return _0xb835b2(_0x4475d5);},'pjoTV':_0x1461d5(0x109)};return existsSync(join(_0x4f2ec0,_0x1461d5(0x106)))||_0x5dc149['oVUtx'](existsSync,join(_0x4f2ec0,_0x5dc149[_0x1461d5(0xf8)]))||_0x5dc149[_0x1461d5(0x154)](existsSync,join(_0x4f2ec0,_0x5dc149[_0x1461d5(0x123)]));}export function isEnvCi(_0x14d167){const _0x53103a=_0x4fb7,_0x125388={'svDAX':function(_0x83eba5,_0x1b4254,_0x5612c,_0x1fa081){return _0x83eba5(_0x1b4254,_0x5612c,_0x1fa081);},'bioOq':function(_0xb774ab){return _0xb774ab();}};return existsSync(_0x125388['svDAX'](join,_0x125388[_0x53103a(0xfe)](getRangerDir),'ci',_0x14d167));}export async function cleanupTempFiles(_0x5e842a){const _0x13c8ab=_0x4fb7,_0x442aba={'StMIC':function(_0xf775a8,_0xb75e2f){return _0xf775a8!==_0xb75e2f;},'cYTDl':_0x13c8ab(0x130)},_0x20cf8b=[_0x5e842a[_0x13c8ab(0x14d)],_0x5e842a[_0x13c8ab(0x11b)]][_0x13c8ab(0x11f)](Boolean);await Promise[_0x13c8ab(0x10b)](_0x20cf8b[_0x13c8ab(0x11c)](_0x302c3f=>unlink(_0x302c3f)['catch'](_0x2ae83a=>{const _0x158106=_0x13c8ab;_0x442aba[_0x158106(0x11e)](_0x2ae83a[_0x158106(0x110)],_0x442aba[_0x158106(0x105)])&&console['warn'](_0x158106(0x118)+_0x302c3f+':',_0x2ae83a[_0x158106(0x102)]);})));}export function getSettingsPath(_0x1137b1){const _0x3e99a9=_0x4fb7,_0x590f2e={'ZLstm':function(_0x440b4f,_0x1d8d13){return _0x440b4f(_0x1d8d13);}};return join(_0x590f2e[_0x3e99a9(0x157)](getEnvDir,_0x1137b1),'settings.json');}export async function loadSettings(_0x57da6e){const _0x287ee0=_0x4fb7,_0x4d10b9={'hurbP':function(_0x3bae7c,_0x226659){return _0x3bae7c(_0x226659);},'ldvDl':function(_0x1bd5de,_0x5aac77,_0x358084){return _0x1bd5de(_0x5aac77,_0x358084);}},_0x23d12b=_0x4d10b9[_0x287ee0(0x126)](getSettingsPath,_0x57da6e);if(!existsSync(_0x23d12b))return{};try{const _0x4cac3b=await _0x4d10b9['ldvDl'](readFile,_0x23d12b,_0x287ee0(0x15e));return JSON[_0x287ee0(0x117)](_0x4cac3b);}catch{return{};}}export async function saveSettings(_0x320001,_0x2fb9db){const _0x5d906f=_0x4fb7,_0x40e04b={'qndLb':function(_0x190a49,_0x511bcb){return _0x190a49(_0x511bcb);},'VvnEJ':function(_0x21f719,_0x2994a1,_0x2de37c){return _0x21f719(_0x2994a1,_0x2de37c);}},_0x551082=getSettingsPath(_0x320001),_0xf9c74d=dirname(_0x551082);!_0x40e04b['qndLb'](existsSync,_0xf9c74d)&&await _0x40e04b['VvnEJ'](mkdir,_0xf9c74d,{'recursive':!![]}),await writeFile(_0x551082,JSON[_0x5d906f(0x13c)](_0x2fb9db,null,0x2));}export function resolveEnvVars(_0x12b827){const _0x1dcb14=_0x4fb7,_0x2c7da5={'PSJBC':_0x1dcb14(0xfc),'LlByi':function(_0x298b40,_0x2b05bf){return _0x298b40===_0x2b05bf;},'UahDs':'object'};if(typeof _0x12b827===_0x2c7da5['PSJBC'])return _0x12b827['replace'](/\$\{(\w+)\}/g,(_0x42fcbd,_0x31fd3d)=>{const _0x2c8728=_0x1dcb14,_0x23008a=process['env'][_0x31fd3d];if(_0x23008a===undefined)throw new Error(_0x2c8728(0x101)+_0x31fd3d+_0x2c8728(0xf3));return _0x23008a;});if(Array['isArray'](_0x12b827))return _0x12b827[_0x1dcb14(0x11c)](resolveEnvVars);if(_0x12b827&&_0x2c7da5['LlByi'](typeof _0x12b827,_0x2c7da5['UahDs']))return Object[_0x1dcb14(0x13e)](Object['entries'](_0x12b827)['map'](([_0x44fd73,_0x52433e])=>[_0x44fd73,resolveEnvVars(_0x52433e)]));return _0x12b827;}const isRecord=_0x15e120=>typeof _0x15e120===_0x39628a(0x14c)&&_0x15e120!==null&&!Array[_0x39628a(0xf7)](_0x15e120),asRecord=_0xaaf14f=>isRecord(_0xaaf14f)?_0xaaf14f:undefined,mergeHeaders=(_0x270750,_0x1b7740)=>{const _0xdc378d=_0x39628a,_0x5d187f={'pRJws':function(_0x36209b,_0x36f6f2){return _0x36209b??_0x36f6f2;}},_0x2da93e={..._0x5d187f['pRJws'](_0x270750,{}),..._0x1b7740??{}};return Object[_0xdc378d(0x148)](_0x2da93e)['length']?_0x2da93e:undefined;},SAFE_MODE_ARGS=[_0x39628a(0x149)],ALLOW_LOCALHOST_ARGS=['--disable-web-security','--allow-running-insecure-content',_0x39628a(0x138),'--allow-insecure-localhost'];export function buildBrowserOptionsFromSettings(_0x5439b7,_0x499a9f={}){const _0x4fdb88=_0x39628a,_0x38f0c={'FuPpB':function(_0x2e5489,_0x456c50){return _0x2e5489===_0x456c50;},'wETej':_0x4fdb88(0xfd),'IkYqN':function(_0xd08fa5,_0x100dcf,_0x2e7296){return _0xd08fa5(_0x100dcf,_0x2e7296);},'oaREN':function(_0x32db4a,_0x4e6fb9){return _0x32db4a(_0x4e6fb9);}},_0x4a37f2=asRecord(_0x5439b7[_0x4fdb88(0x10a)]),_0x5e9a10={...asRecord(_0x4a37f2?.[_0x4fdb88(0x12a)])??{}};_0x38f0c[_0x4fdb88(0xf9)](typeof _0x499a9f[_0x4fdb88(0xf1)],_0x38f0c[_0x4fdb88(0x143)])&&(_0x5e9a10[_0x4fdb88(0xf1)]=_0x499a9f['headless']);if(_0x5439b7['safeMode']){const _0x4942fa=_0x5e9a10[_0x4fdb88(0xee)]??[],_0x43453f=SAFE_MODE_ARGS['filter'](_0x1f2a79=>!_0x4942fa['includes'](_0x1f2a79));_0x5e9a10[_0x4fdb88(0xee)]=[..._0x4942fa,..._0x43453f];}if(_0x5439b7['allowInsecureLocalhost']){const _0x43f9af=_0x5e9a10[_0x4fdb88(0xee)]??[],_0x38f7c9=ALLOW_LOCALHOST_ARGS['filter'](_0x41e624=>!_0x43f9af['includes'](_0x41e624));_0x5e9a10['args']=[..._0x43f9af,..._0x38f7c9];}const _0xae1ec2={...asRecord(_0x4a37f2?.['contextOptions'])??{}};_0xae1ec2[_0x4fdb88(0x13d)]=!![];typeof _0x5439b7['userAgent']===_0x4fdb88(0xfc)&&(_0xae1ec2['userAgent']=_0x5439b7[_0x4fdb88(0xf5)]);const _0x186841=_0x38f0c[_0x4fdb88(0x162)](mergeHeaders,_0x38f0c[_0x4fdb88(0x111)](asRecord,_0xae1ec2['extraHTTPHeaders']),asRecord(_0x5439b7[_0x4fdb88(0x15a)]));return _0x186841?_0xae1ec2[_0x4fdb88(0x15f)]=_0x186841:delete _0xae1ec2[_0x4fdb88(0x15f)],_0x499a9f[_0x4fdb88(0x144)]&&(_0xae1ec2[_0x4fdb88(0x112)]=_0x499a9f[_0x4fdb88(0x144)]),{'launchOptions':_0x5e9a10,'contextOptions':_0xae1ec2};}export async function buildPlaywrightConfig(_0x350273,_0x440cb6,_0x42078d,_0x55cc2a){const _0x20035d=_0x39628a,_0x4836fd={'kTuoK':function(_0x91452f,_0x2e69a1){return _0x91452f===_0x2e69a1;},'QVtrG':_0x20035d(0x127),'mcmzV':'--disable-setuid-sandbox','GeceP':_0x20035d(0x152),'PHenX':function(_0x503232){return _0x503232();},'XoXmj':function(_0x45a7c7,_0x3e23f8,_0x5b52ed){return _0x45a7c7(_0x3e23f8,_0x5b52ed);},'yEcJC':function(_0x5325ae,_0x4ceaad,_0x4ce452){return _0x5325ae(_0x4ceaad,_0x4ce452);},'YmMJt':function(_0x5af801,_0xd7f0ed){return _0x5af801(_0xd7f0ed);},'NNpsX':function(_0x39fbf9){return _0x39fbf9();},'HsxLf':function(_0x49b1c7){return _0x49b1c7();},'QGhlz':'sessions','KilSq':_0x20035d(0xff),'zxfiN':_0x20035d(0xf6),'dFGIk':_0x20035d(0x12b),'YUnKw':_0x20035d(0x156),'iySri':_0x20035d(0x115),'trHui':function(_0x1d9561,_0x477c5c){return _0x1d9561(_0x477c5c);}},_0x161ed4=getEnvDir(_0x440cb6),_0x2990dd=join(_0x161ed4,_0x20035d(0x109)),_0x3c8c67=join(_0x161ed4,'auth.json');let _0x29d911,_0x3306cf;if(existsSync(_0x2990dd))try{const _0x1b68f4=await _0x4836fd[_0x20035d(0x108)](getToken);if(!_0x1b68f4)throw new Error(_0x20035d(0x114));const _0x22da94=await readFile(_0x2990dd),_0x59b1ee=_0x4836fd[_0x20035d(0x119)](decrypt,_0x22da94,_0x1b68f4);_0x3306cf=join(_0x4836fd['PHenX'](tmpdir),_0x20035d(0x124)+Date['now']()+'.json'),await _0x4836fd[_0x20035d(0x11d)](writeFile,_0x3306cf,_0x59b1ee),_0x29d911=_0x3306cf;}catch(_0xa16db8){const _0x43dc2d=_0xa16db8 instanceof Error?_0xa16db8['message']:String(_0xa16db8);throw new Error(_0x20035d(0x11a)+_0x43dc2d);}else _0x4836fd['YmMJt'](existsSync,_0x3c8c67)&&(_0x29d911=_0x3c8c67);const _0x59b8df=_0x42078d||_0x4836fd[_0x20035d(0xf4)](randomUUID),_0x35a2ac=join(_0x4836fd['HsxLf'](getRangerDir),_0x4836fd['QGhlz'],_0x59b8df),_0x2464a5=_0x4836fd['YmMJt'](Boolean,_0x350273[_0x20035d(0x136)]),_0xe14406=_0x2464a5?{'browserName':_0x20035d(0x10d),'cdpEndpoint':_0x350273[_0x20035d(0x136)]}:((()=>{const _0x50aa7f=_0x20035d,{launchOptions:_0x41a7ee,contextOptions:_0x1afab6}=buildBrowserOptionsFromSettings(_0x350273,{'headless':_0x55cc2a?![]:_0x350273['headless']??!![],'storageStatePath':_0x29d911});if(_0x4836fd['kTuoK'](process['getuid']?.(),0x0)){const _0x2fffa5=[_0x4836fd['QVtrG'],_0x4836fd['mcmzV']],_0x24ea81=_0x41a7ee['args']??[],_0x5999dd=_0x2fffa5[_0x50aa7f(0x11f)](_0x18cebc=>!_0x24ea81['includes'](_0x18cebc));_0x41a7ee[_0x50aa7f(0xee)]=[..._0x24ea81,..._0x5999dd];}return{'isolated':!![],'browserName':_0x50aa7f(0x10d),'launchOptions':_0x41a7ee,'contextOptions':{..._0x1afab6,'permissions':[_0x50aa7f(0x113),_0x4836fd['GeceP']],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x332e97={'name':_0x440cb6,'browser':_0xe14406,'capabilities':[_0x4836fd['KilSq'],_0x4836fd[_0x20035d(0x15c)],_0x4836fd[_0x20035d(0x12e)],_0x4836fd['YUnKw'],'vision'],'imageResponses':_0x4836fd[_0x20035d(0x128)],'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x35a2ac};if(!_0x2464a5){const _0x4b8be9=_0x332e97[_0x20035d(0x10a)],_0x17d20e=_0x4b8be9['contextOptions'];if(_0x17d20e['userAgent']===undefined)delete _0x17d20e['userAgent'];if(_0x17d20e[_0x20035d(0x112)]===undefined)delete _0x17d20e['storageState'];}const _0x31cb95=join(tmpdir(),_0x20035d(0xfb));!_0x4836fd['trHui'](existsSync,_0x31cb95)&&await mkdir(_0x31cb95,{'recursive':!![]});const _0x2ade42=_0x4836fd['XoXmj'](join,_0x31cb95,_0x440cb6+'-'+Date['now']()+_0x20035d(0x14f));return await writeFile(_0x2ade42,JSON[_0x20035d(0x13c)](_0x332e97,null,0x2)),{'configPath':_0x2ade42,'tempAuthPath':_0x3306cf};}function _0x391e(){const _0x3b8ca7=['string','boolean','bioOq','core','PNtXU','Environment\x20variable\x20','message','contextOptions','-cli.json','cYTDl','settings.json','bpGlD','PHenX','auth.json.enc','browser','all','none','chromium','legacy','11452qFOHYz','code','oaREN','storageState','clipboard-read','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','allow','location','parse','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','XoXmj','Failed\x20to\x20decrypt\x20auth\x20state:\x20','configPath','map','yEcJC','StMIC','filter','aSfEv','includes','local','pjoTV','ranger-auth-','ZdbwC','hurbP','--no-sandbox','iySri','BINFE','launchOptions','install','DsbNz','szpEg','dFGIk','1146240rwTmsA','ENOENT','locations','iJgJD','16556553XUBBiq','yyxfJ','setupHeaders','cdpEndpoint','header','--unsafely-treat-insecure-origin-as-secure=http://localhost','push','path','qXGGN','stringify','ignoreHTTPSErrors','fromEntries','VqudC','jnIZx','join','2038790zgpeIF','wETej','storageStatePath','equbk','3732852puReJP','uJvTV','keys','--disable-features=WebBluetooth','length','ugngM','object','tempAuthPath','gbMKH','.json','uXfzg','5416VArdje','clipboard-write','1633HByoLP','OggWR','YAiJU','pdf','ZLstm','6583902RuLcEb','YnDSN','headers','split','zxfiN','auth.json','utf-8','extraHTTPHeaders','now','1370EKIpvM','IkYqN','--disable-setuid-sandbox','args','QbjoC','ulTjS','headless','QeGHA','\x20is\x20not\x20set','NNpsX','userAgent','tabs','isArray','GzSmz','FuPpB','tWNAw','ranger-config'];_0x391e=function(){return _0x3b8ca7;};return _0x391e();}export async function buildPlaywrightCliConfig(_0x4951a0,_0xfbf1dd,_0x52da5f,_0x17ba98){const _0x2dc5ca=_0x39628a,_0x19d5ba={'QeGHA':function(_0xda287d,_0x3ec60a,_0x3ed864){return _0xda287d(_0x3ec60a,_0x3ed864);},'ugngM':function(_0x9b52db,_0x1934cf){return _0x9b52db===_0x1934cf;},'pEPAH':_0x2dc5ca(0x127),'lAfED':'chromium','PNtXU':function(_0xf07732,_0x2eb588){return _0xf07732(_0x2eb588);},'VqudC':_0x2dc5ca(0x15d),'ZdbwC':function(_0x1f79a6,_0x3e66eb){return _0x1f79a6(_0x3e66eb);},'szpEg':function(_0x2da835){return _0x2da835();},'DsbNz':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','QbjoC':function(_0x42f15a,_0x21da35,_0x344fa2){return _0x42f15a(_0x21da35,_0x344fa2);},'gbMKH':function(_0x3d56b1,_0x3e3382){return _0x3d56b1(_0x3e3382);},'ODlSY':function(_0x2deb60){return _0x2deb60();},'jnIZx':function(_0x44872e){return _0x44872e();},'NRbaK':'file','iJgJD':_0x2dc5ca(0x10c),'bpGlD':function(_0x2498d6,_0x5128b3){return _0x2498d6(_0x5128b3);},'TJISr':function(_0x569c6f,_0x2b1ea4,_0x1beffc){return _0x569c6f(_0x2b1ea4,_0x1beffc);}},_0x2e2f7b=_0x19d5ba[_0x2dc5ca(0x100)](getEnvDir,_0xfbf1dd),_0x33f601=join(_0x2e2f7b,_0x2dc5ca(0x109)),_0x4c55bf=_0x19d5ba[_0x2dc5ca(0xf2)](join,_0x2e2f7b,_0x19d5ba[_0x2dc5ca(0x13f)]);let _0xf42b6f,_0x1004c7;if(_0x19d5ba[_0x2dc5ca(0x125)](existsSync,_0x33f601))try{const _0x3a4248=await _0x19d5ba['szpEg'](getToken);if(!_0x3a4248)throw new Error(_0x19d5ba[_0x2dc5ca(0x12c)]);const _0x145d7b=await readFile(_0x33f601),_0x421819=_0x19d5ba[_0x2dc5ca(0xf2)](decrypt,_0x145d7b,_0x3a4248);_0x1004c7=_0x19d5ba[_0x2dc5ca(0xf2)](join,tmpdir(),'ranger-auth-'+Date[_0x2dc5ca(0x160)]()+'.json'),await _0x19d5ba['QbjoC'](writeFile,_0x1004c7,_0x421819),_0xf42b6f=_0x1004c7;}catch(_0x4c2a08){const _0x32e340=_0x4c2a08 instanceof Error?_0x4c2a08['message']:_0x19d5ba[_0x2dc5ca(0x100)](String,_0x4c2a08);throw new Error(_0x2dc5ca(0x11a)+_0x32e340);}else _0x19d5ba['gbMKH'](existsSync,_0x4c55bf)&&(_0xf42b6f=_0x4c55bf);const _0x216726=_0x52da5f||_0x19d5ba['ODlSY'](randomUUID),_0x777db8=join(_0x19d5ba[_0x2dc5ca(0x140)](getRangerDir),'sessions',_0x216726),_0x535763=_0x19d5ba[_0x2dc5ca(0x14e)](Boolean,_0x4951a0[_0x2dc5ca(0x136)]),_0x4e70b5=_0x535763?{'browserName':_0x2dc5ca(0x10d),'cdpEndpoint':_0x4951a0[_0x2dc5ca(0x136)]}:((()=>{const _0x2db742=_0x2dc5ca,{launchOptions:_0xd35feb,contextOptions:_0x48f81b}=_0x19d5ba['QeGHA'](buildBrowserOptionsFromSettings,_0x4951a0,{'headless':_0x17ba98?![]:_0x4951a0['headless']??!![],'storageStatePath':_0xf42b6f});if(_0x19d5ba[_0x2db742(0x14b)](process['getuid']?.(),0x0)){const _0x1f7ef7=[_0x19d5ba['pEPAH'],_0x2db742(0x163)],_0x560056=_0xd35feb[_0x2db742(0xee)]??[],_0x20ba7a=_0x1f7ef7[_0x2db742(0x11f)](_0x2d5487=>!_0x560056['includes'](_0x2d5487));_0xd35feb['args']=[..._0x560056,..._0x20ba7a];}return{'isolated':!![],'browserName':_0x19d5ba['lAfED'],'launchOptions':_0xd35feb,'contextOptions':{..._0x48f81b,'permissions':['clipboard-read','clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x535763){const _0x3be8bb=_0x4e70b5[_0x2dc5ca(0x103)];if(_0x3be8bb['userAgent']===undefined)delete _0x3be8bb['userAgent'];if(_0x19d5ba['ugngM'](_0x3be8bb['storageState'],undefined))delete _0x3be8bb['storageState'];}const _0xa6e8cf={'browser':_0x4e70b5,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x777db8,'outputMode':_0x19d5ba['NRbaK'],'codegen':_0x19d5ba[_0x2dc5ca(0x132)]},_0x134987=_0x19d5ba[_0x2dc5ca(0xef)](join,_0x19d5ba[_0x2dc5ca(0x12d)](tmpdir),'ranger-config');!_0x19d5ba[_0x2dc5ca(0x107)](existsSync,_0x134987)&&await mkdir(_0x134987,{'recursive':!![]});const _0x1a2343=join(_0x134987,_0xfbf1dd+'-'+Date['now']()+_0x2dc5ca(0x104));return await _0x19d5ba['TJISr'](writeFile,_0x1a2343,JSON['stringify'](_0xa6e8cf,null,0x2)),{'configPath':_0x1a2343,'tempAuthPath':_0x1004c7};}export function getNestedValue(_0x352d53,_0x156f5a){const _0x97ae5c=_0x39628a,_0x5d8a0d={'ulTjS':function(_0x2f0707,_0x399ed1){return _0x2f0707(_0x399ed1);},'YAiJU':function(_0x599e04,_0x69381f){return _0x599e04===_0x69381f;},'BINFE':function(_0x2117df,_0x5075f8){return _0x2117df!==_0x5075f8;}},_0x583f31=_0x5d8a0d[_0x97ae5c(0xf0)](parseKeyPath,_0x156f5a);let _0x3a2152=_0x352d53;for(const _0x2e2da3 of _0x583f31){if(_0x5d8a0d['YAiJU'](_0x3a2152,null)||_0x5d8a0d[_0x97ae5c(0x155)](_0x3a2152,undefined)||_0x5d8a0d[_0x97ae5c(0x129)](typeof _0x3a2152,'object'))return undefined;_0x3a2152=_0x3a2152[_0x2e2da3];}return _0x3a2152;}export function setNestedValue(_0xb7adbd,_0x53e213,_0x41e4a4){const _0x46a808=_0x39628a,_0x31340e={'fWHBk':function(_0x241ac9,_0x5dcd7d){return _0x241ac9(_0x5dcd7d);},'CzLOe':function(_0x1c1991,_0x7f3281){return _0x1c1991<_0x7f3281;},'tWNAw':function(_0x2e7749,_0x2330f1){return _0x2e7749 in _0x2330f1;},'YnDSN':function(_0x841a10,_0x3dcfc3){return _0x841a10-_0x3dcfc3;}},_0x3a64ef=_0x31340e['fWHBk'](parseKeyPath,_0x53e213);let _0x242a69=_0xb7adbd;for(let _0x2527e9=0x0;_0x31340e['CzLOe'](_0x2527e9,_0x3a64ef['length']-0x1);_0x2527e9++){const _0x344653=_0x3a64ef[_0x2527e9];(!_0x31340e[_0x46a808(0xfa)](_0x344653,_0x242a69)||typeof _0x242a69[_0x344653]!==_0x46a808(0x14c))&&(_0x242a69[_0x344653]={}),_0x242a69=_0x242a69[_0x344653];}_0x242a69[_0x3a64ef[_0x31340e[_0x46a808(0x159)](_0x3a64ef['length'],0x1)]]=_0x41e4a4;}export function deleteNestedValue(_0x16671d,_0x124225){const _0x9392bc=_0x39628a,_0x3559bd={'aZsDO':function(_0x1ecbcc,_0x3ff7f2){return _0x1ecbcc-_0x3ff7f2;},'aSfEv':function(_0x20a36e,_0x2bad2f){return _0x20a36e===_0x2bad2f;},'yyxfJ':_0x9392bc(0x14c),'QhMfb':function(_0x361464,_0x1a3bf1){return _0x361464!==_0x1a3bf1;}},_0x2e257f=parseKeyPath(_0x124225);let _0x3e38fc=_0x16671d;for(let _0x1a4445=0x0;_0x1a4445<_0x3559bd['aZsDO'](_0x2e257f[_0x9392bc(0x14a)],0x1);_0x1a4445++){if(_0x3559bd[_0x9392bc(0x120)](_0x3e38fc,null)||_0x3e38fc===undefined||typeof _0x3e38fc!==_0x3559bd[_0x9392bc(0x134)])return![];_0x3e38fc=_0x3e38fc[_0x2e257f[_0x1a4445]];}if(_0x3e38fc===null||_0x3e38fc===undefined||_0x3559bd['QhMfb'](typeof _0x3e38fc,_0x3559bd[_0x9392bc(0x134)]))return![];const _0xa138ae=_0x2e257f[_0x2e257f['length']-0x1];if(_0xa138ae in _0x3e38fc)return delete _0x3e38fc[_0xa138ae],!![];return![];}function parseKeyPath(_0x147d85){const _0x151f46=_0x39628a,_0x7baa8e={'QIgIW':function(_0x416a44,_0x3e6665){return _0x416a44===_0x3e6665;},'DmadB':'setupHeader'},_0x35f1ff=_0x147d85[_0x151f46(0x15b)]('.');return _0x7baa8e['QIgIW'](_0x35f1ff[0x0],_0x151f46(0x137))&&(_0x35f1ff[0x0]='headers'),_0x7baa8e['QIgIW'](_0x35f1ff[0x0],_0x7baa8e['DmadB'])&&(_0x35f1ff[0x0]=_0x151f46(0x135)),_0x35f1ff;}function _0x4fb7(_0x56f97b,_0x518ff9){_0x56f97b=_0x56f97b-0xee;const _0x391ebe=_0x391e();let _0x4fb7dc=_0x391ebe[_0x56f97b];return _0x4fb7dc;}export function formatSettings(_0xa163a1,_0x476485=0x0){const _0x45b535=_0x39628a,_0x50ffb6={'tmlZY':function(_0x438604,_0x189bac){return _0x438604===_0x189bac;}},_0x4e6634=[],_0x469bab='\x20\x20'['repeat'](_0x476485);for(const [_0x5c24c7,_0x546fa4]of Object['entries'](_0xa163a1)){if(_0x50ffb6['tmlZY'](_0x546fa4,undefined))continue;if(typeof _0x546fa4==='object'&&_0x546fa4!==null){_0x4e6634[_0x45b535(0x139)](''+_0x469bab+_0x5c24c7+':');for(const [_0xe742c3,_0x55b2e1]of Object['entries'](_0x546fa4)){_0x4e6634['push'](_0x469bab+'\x20\x20'+_0xe742c3+':\x20'+_0x55b2e1);}}else _0x4e6634[_0x45b535(0x139)](''+_0x469bab+_0x5c24c7+':\x20'+_0x546fa4);}return _0x4e6634[_0x45b535(0x141)]('\x0a');}
@@ -1 +1 @@
1
- function _0x5672(_0x2dce6a,_0x5d53a8){_0x2dce6a=_0x2dce6a-0x1f3;const _0x47a78d=_0x47a7();let _0x567260=_0x47a78d[_0x2dce6a];return _0x567260;}(function(_0x36b033,_0x57130e){const _0x6b827f=_0x5672,_0x4deed9=_0x36b033();while(!![]){try{const _0x481f98=parseInt(_0x6b827f(0x1f4))/0x1*(-parseInt(_0x6b827f(0x1fc))/0x2)+parseInt(_0x6b827f(0x1fd))/0x3+parseInt(_0x6b827f(0x1f3))/0x4*(parseInt(_0x6b827f(0x1f6))/0x5)+parseInt(_0x6b827f(0x1f9))/0x6*(parseInt(_0x6b827f(0x1ff))/0x7)+parseInt(_0x6b827f(0x1fa))/0x8*(-parseInt(_0x6b827f(0x200))/0x9)+parseInt(_0x6b827f(0x1f7))/0xa*(parseInt(_0x6b827f(0x1fb))/0xb)+-parseInt(_0x6b827f(0x1fe))/0xc*(parseInt(_0x6b827f(0x201))/0xd);if(_0x481f98===_0x57130e)break;else _0x4deed9['push'](_0x4deed9['shift']());}catch(_0x3a972d){_0x4deed9['push'](_0x4deed9['shift']());}}}(_0x47a7,0x3a0f0));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x51f139){const _0x50440b=_0x5672,_0xb00d0f={'oqWds':function(_0x9a12ee,_0xe3541d,_0x2537f4,_0x39f695,_0x25a973){return _0x9a12ee(_0xe3541d,_0x2537f4,_0x39f695,_0x25a973);},'ZXXEr':'skills','TcwMm':function(_0x2c0724,_0x5b0424,_0x3cd610){return _0x2c0724(_0x5b0424,_0x3cd610);}},_0x5e26fc=_0xb00d0f['oqWds'](join,__dirname,'..','..',_0xb00d0f[_0x50440b(0x203)]),_0x42caa5=_0xb00d0f['TcwMm'](join,_0x5e26fc,_0x51f139);try{return readFileSync(_0x42caa5,'utf-8');}catch{return'';}}export function getRangerSkillContent(){const _0x312ea2=_0x5672,_0x8462d5={'ErZsQ':function(_0x160b76,_0x5034fe){return _0x160b76(_0x5034fe);},'StOnG':_0x312ea2(0x202)};return _0x8462d5[_0x312ea2(0x1f8)](readSkillContent,_0x8462d5[_0x312ea2(0x1f5)]);}function _0x47a7(){const _0x13a172=['104032ExEuwN','922185iFZOIB','324JgMjqe','3137743pzdOKB','35514HxwRTL','276406uamenZ','ranger/SKILL.md','ZXXEr','316doPVOi','1FBDXgI','StOnG','11690fRetbr','10BBMUoJ','ErZsQ','6PllEiU','632grBsEJ','2588146JSrtEL'];_0x47a7=function(){return _0x13a172;};return _0x47a7();}
1
+ (function(_0x4430c2,_0x5b1624){const _0x1f96ef=_0x3795,_0x59fe88=_0x4430c2();while(!![]){try{const _0x5cfb76=parseInt(_0x1f96ef(0x1ea))/0x1+-parseInt(_0x1f96ef(0x1e9))/0x2+parseInt(_0x1f96ef(0x1ec))/0x3+parseInt(_0x1f96ef(0x1ee))/0x4+parseInt(_0x1f96ef(0x1ef))/0x5+parseInt(_0x1f96ef(0x1eb))/0x6+-parseInt(_0x1f96ef(0x1e8))/0x7;if(_0x5cfb76===_0x5b1624)break;else _0x59fe88['push'](_0x59fe88['shift']());}catch(_0x13cb55){_0x59fe88['push'](_0x59fe88['shift']());}}}(_0x744e,0xb3528));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function _0x3795(_0x4e5886,_0x567f8a){_0x4e5886=_0x4e5886-0x1e8;const _0x744eeb=_0x744e();let _0x379528=_0x744eeb[_0x4e5886];return _0x379528;}export function readSkillContent(_0x4aba73){const _0x21e676=_0x3795,_0x5a1089={'ZqseW':'skills','YCNmK':function(_0x18f477,_0x515ece,_0x212144){return _0x18f477(_0x515ece,_0x212144);},'vttDV':'utf-8'},_0xe4133a=join(__dirname,'..','..',_0x5a1089['ZqseW']),_0x5774e1=_0x5a1089['YCNmK'](join,_0xe4133a,_0x4aba73);try{return readFileSync(_0x5774e1,_0x5a1089[_0x21e676(0x1ed)]);}catch{return'';}}export function getRangerSkillContent(){return readSkillContent('ranger/SKILL.md');}function _0x744e(){const _0x3ed701=['4535105PzacxA','20996773EHdcug','466396dvACyK','1076687KqHOqt','7809378zqUQFO','164922YSNToJ','vttDV','2507984bpEfIU'];_0x744e=function(){return _0x3ed701;};return _0x744e();}
@@ -1 +1 @@
1
- function _0x193d(_0x583268,_0x5e9de2){_0x583268=_0x583268-0x10a;const _0xa895f3=_0xa895();let _0x193dd4=_0xa895f3[_0x583268];return _0x193dd4;}const _0x2feb93=_0x193d;(function(_0x32844c,_0x307971){const _0x2d4339=_0x193d,_0x42fde5=_0x32844c();while(!![]){try{const _0x483fcd=parseInt(_0x2d4339(0x129))/0x1*(-parseInt(_0x2d4339(0x126))/0x2)+parseInt(_0x2d4339(0x12d))/0x3+parseInt(_0x2d4339(0x10e))/0x4*(-parseInt(_0x2d4339(0x12b))/0x5)+-parseInt(_0x2d4339(0x10a))/0x6+-parseInt(_0x2d4339(0x118))/0x7+-parseInt(_0x2d4339(0x128))/0x8+-parseInt(_0x2d4339(0x112))/0x9*(-parseInt(_0x2d4339(0x124))/0xa);if(_0x483fcd===_0x307971)break;else _0x42fde5['push'](_0x42fde5['shift']());}catch(_0x194428){_0x42fde5['push'](_0x42fde5['shift']());}}}(_0xa895,0x41d91));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';import{getOpencodeSkillsDir}from'./opencodeConfig.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x2feb93(0x12c)];export const DEPRECATED_SKILLS=['e2e-test-recommender',_0x2feb93(0x12a),_0x2feb93(0x117)];export async function installSkill(_0x21a919,_0x457c6b={}){const _0x1d896e=_0x2feb93,_0x38b405={'DVvkM':'project','ONXDa':_0x1d896e(0x110),'ZDKXk':function(_0x32deac,_0x5be152,_0xaeddcb){return _0x32deac(_0x5be152,_0xaeddcb);},'alAMW':function(_0x587f10,_0x4b2f9b,_0x2a07aa){return _0x587f10(_0x4b2f9b,_0x2a07aa);},'WVSps':function(_0x41ff25,_0xe4c71b){return _0x41ff25(_0xe4c71b);},'mskxT':function(_0x140365,_0x3d01a7,_0xe20c25){return _0x140365(_0x3d01a7,_0xe20c25);},'JVteU':function(_0x37d613,_0x30045f){return _0x37d613===_0x30045f;},'ULjCM':_0x1d896e(0x11f),'YbMIW':function(_0x117620,_0x311eb2,_0x356780){return _0x117620(_0x311eb2,_0x356780);},'jtnbI':function(_0x40994f,_0x173df1,_0x3e27e2){return _0x40994f(_0x173df1,_0x3e27e2);},'KabbE':function(_0x5d996d,_0x1eaa67,_0x1558b6){return _0x5d996d(_0x1eaa67,_0x1558b6);},'UhJIg':_0x1d896e(0x11e),'Aksii':'SKILL.md','tmSoI':function(_0x1c0d9e,_0x6dadd2){return _0x1c0d9e(_0x6dadd2);}},{level:level=_0x38b405[_0x1d896e(0x10b)],cliVersion:_0x250659,platform:platform=_0x38b405[_0x1d896e(0x130)]}=_0x457c6b,_0x51725d=getSourceSkillsDir(),_0x20e21c=_0x38b405['ZDKXk'](join,_0x51725d,_0x21a919),_0x4214c9=_0x38b405[_0x1d896e(0x113)](join,_0x51725d,_0x21a919+_0x1d896e(0x114)),_0x166dbd=_0x38b405['WVSps'](existsSync,_0x20e21c)&&statSync(_0x20e21c)['isDirectory']()&&_0x38b405['WVSps'](existsSync,_0x38b405['mskxT'](join,_0x20e21c,_0x1d896e(0x11b))),_0x2c941f=existsSync(_0x4214c9);if(!_0x166dbd&&!_0x2c941f)return console[_0x1d896e(0x127)]('\x20\x20Skill\x20not\x20found:\x20'+_0x21a919),![];const _0x6a1547=_0x38b405['JVteU'](platform,_0x38b405['ULjCM'])?_0x38b405[_0x1d896e(0x10f)](getOpencodeSkillsDir,level):_0x38b405['WVSps'](getSkillsDir,level),_0x1f5eb4=_0x38b405[_0x1d896e(0x11a)](join,_0x6a1547,_0x21a919);await _0x38b405['jtnbI'](mkdir,_0x1f5eb4,{'recursive':!![]});let _0x1c62e7,_0x3bbea4=[];if(_0x166dbd){const _0x389c86=await readdir(_0x20e21c),_0x139db1=_0x389c86[_0x1d896e(0x123)](_0x203617=>_0x203617[_0x1d896e(0x12f)](_0x1d896e(0x114)));for(const _0x368cd8 of _0x139db1){const _0x385406=_0x38b405[_0x1d896e(0x120)](join,_0x20e21c,_0x368cd8),_0x3677ce=_0x38b405[_0x1d896e(0x125)](join,_0x1f5eb4,_0x368cd8);await _0x38b405[_0x1d896e(0x121)](copyFile,_0x385406,_0x3677ce),_0x3bbea4[_0x1d896e(0x119)](_0x368cd8);}_0x1c62e7=await _0x38b405[_0x1d896e(0x120)](readFile,join(_0x20e21c,'SKILL.md'),_0x38b405[_0x1d896e(0x12e)]);}else{_0x1c62e7=await readFile(_0x4214c9,_0x38b405[_0x1d896e(0x12e)]);const _0x4161e6=_0x38b405['ZDKXk'](join,_0x1f5eb4,_0x38b405[_0x1d896e(0x111)]);await writeFile(_0x4161e6,_0x1c62e7,'utf-8'),_0x3bbea4['push'](_0x38b405['Aksii']);}const {name:_0x54ef55}=_0x38b405[_0x1d896e(0x122)](parseFrontmatter,_0x1c62e7);return console[_0x1d896e(0x10d)]('\x20\x20Installed\x20skill:\x20'+_0x54ef55),console[_0x1d896e(0x10d)]('\x20\x20Location:\x20'+_0x1f5eb4),_0x3bbea4['length']>0x1&&console['log']('\x20\x20Files:\x20'+_0x3bbea4[_0x1d896e(0x11d)](',\x20')),logLocalAgentInstallation(_0x21a919,{'skillDisplayName':_0x54ef55,'installLevel':level},_0x250659)['catch'](()=>{}),!![];}function getSourceSkillsDir(){const _0x30b694=_0x2feb93,_0x914b06={'Wzoni':function(_0x1e1aa5,_0x43f54d,_0x4f1087,_0x5b96e2,_0x11a3b5,_0x435edf){return _0x1e1aa5(_0x43f54d,_0x4f1087,_0x5b96e2,_0x11a3b5,_0x435edf);},'PStzy':function(_0x8d06b7,_0x167e74){return _0x8d06b7(_0x167e74);}},_0x4b18c7=[join(__dirname,'..','..',_0x30b694(0x10c)),_0x914b06['Wzoni'](join,__dirname,'..','..','..',_0x30b694(0x10c))];for(const _0x5a7e9b of _0x4b18c7){if(_0x914b06['PStzy'](existsSync,_0x5a7e9b))return _0x5a7e9b;}return _0x4b18c7[0x0];}function _0xa895(){const _0x23d269=['WVSps','claude','Aksii','31869eSXShq','alAMW','.md','trim','match','feature-tracker','1040431YkueYx','push','YbMIW','SKILL.md','\x20\x20Removed\x20deprecated\x20skill:\x20','join','utf-8','opencode','KabbE','mskxT','tmSoI','filter','5090fFiVMT','ZDKXk','485542VCgHgt','warn','995712ZrvZog','1TJZGdC','bug-bash','2452135vVpHie','ranger','24783ytiguR','UhJIg','endsWith','ONXDa','3207732eNnrKq','DVvkM','skills','log','4aqNmYV'];_0xa895=function(){return _0x23d269;};return _0xa895();}function parseFrontmatter(_0x4c85f1){const _0x18f7be=_0x2feb93,_0xab7cd5=_0x4c85f1[_0x18f7be(0x116)](/^---\n([\s\S]+?)\n---/);if(!_0xab7cd5)throw new Error('Invalid\x20skill\x20frontmatter');const _0xbff4c3=_0xab7cd5[0x1],_0x69e984=_0xbff4c3[_0x18f7be(0x116)](/name:\s*(.+)/),_0x53957f=_0xbff4c3[_0x18f7be(0x116)](/description:\s*"?(.+?)"?\n/);return{'name':_0x69e984?.[0x1][_0x18f7be(0x115)]()||'','description':_0x53957f?.[0x1]['trim']()||''};}export async function removeSkill(_0x5c8a28,_0x4e242f){const _0x9a8ef2=_0x2feb93,_0x4707c3={'gYYNd':function(_0x3432ef,_0x5ec26e){return _0x3432ef(_0x5ec26e);}},_0x58a76c=getSkillsDir(_0x4e242f),_0x1f0a95=join(_0x58a76c,_0x5c8a28);if(!_0x4707c3['gYYNd'](existsSync,_0x1f0a95))return![];try{return await rm(_0x1f0a95,{'recursive':!![]}),console['log'](_0x9a8ef2(0x11c)+_0x5c8a28),!![];}catch{return console['warn']('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x5c8a28),![];}}
1
+ const _0x2f4eef=_0x42e1;(function(_0x2ba860,_0x4e6fb9){const _0x41ed3d=_0x42e1,_0x1c7cae=_0x2ba860();while(!![]){try{const _0x509359=-parseInt(_0x41ed3d(0x8a))/0x1*(-parseInt(_0x41ed3d(0x91))/0x2)+parseInt(_0x41ed3d(0x82))/0x3+parseInt(_0x41ed3d(0x98))/0x4*(parseInt(_0x41ed3d(0x85))/0x5)+-parseInt(_0x41ed3d(0x94))/0x6+-parseInt(_0x41ed3d(0x92))/0x7+-parseInt(_0x41ed3d(0x83))/0x8*(-parseInt(_0x41ed3d(0x9b))/0x9)+-parseInt(_0x41ed3d(0x86))/0xa*(parseInt(_0x41ed3d(0x8f))/0xb);if(_0x509359===_0x4e6fb9)break;else _0x1c7cae['push'](_0x1c7cae['shift']());}catch(_0x3656bf){_0x1c7cae['push'](_0x1c7cae['shift']());}}}(_0x49e5,0x6e4bb));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';function _0x42e1(_0x587464,_0x48a9b7){_0x587464=_0x587464-0x7e;const _0x49e56a=_0x49e5();let _0x42e1a1=_0x49e56a[_0x587464];return _0x42e1a1;}import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';import{getOpencodeSkillsDir}from'./opencodeConfig.js';function _0x49e5(){const _0x156806=['WjSGd','.md','log','join','skills','1611960FCsMte','5502488BnVGtZ','isDirectory','30aGyngd','2824690CazXng','length','catch','opencode','11497KKaDzQ','\x20\x20Location:\x20','qAKrV','filter','yeqDe','11AztFGh','ZmHYF','2hyYaho','5092465EtdJOT','utf-8','2953446gIhuCn','AvEAs','ranger','SKILL.md','478232MwmCqv','Invalid\x20skill\x20frontmatter','nawoL','9ucojyv','warn','push','match'];_0x49e5=function(){return _0x156806;};return _0x49e5();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x2f4eef(0x96)];export const DEPRECATED_SKILLS=['e2e-test-recommender','bug-bash','feature-tracker'];export async function installSkill(_0x6b7f65,_0x428973={}){const _0x5cdea5=_0x2f4eef,_0x30dc1e={'EwflX':'claude','xeKfV':function(_0x561c73,_0x4266e2){return _0x561c73(_0x4266e2);},'qAKrV':function(_0x29295d,_0x55e918){return _0x29295d(_0x55e918);},'nawoL':function(_0x524ce8,_0x269cbc,_0x3dffc1){return _0x524ce8(_0x269cbc,_0x3dffc1);},'rJKqp':function(_0x90c025,_0xf8f633){return _0x90c025&&_0xf8f633;},'FhZfZ':function(_0x1db111,_0x5aa91b){return _0x1db111===_0x5aa91b;},'yeqDe':_0x5cdea5(0x89),'ZmHYF':function(_0x1753d7,_0x193ac4,_0x26f676){return _0x1753d7(_0x193ac4,_0x26f676);},'RVhWC':function(_0x1ce57f,_0x59f5a4){return _0x1ce57f(_0x59f5a4);},'AvEAs':'SKILL.md','PcvXO':_0x5cdea5(0x93),'dSTyP':function(_0x19e9d5,_0x422864,_0x5e594e,_0x3b8e7a){return _0x19e9d5(_0x422864,_0x5e594e,_0x3b8e7a);},'WjSGd':function(_0x37b16a,_0x20537c,_0x1f0258,_0x19c822){return _0x37b16a(_0x20537c,_0x1f0258,_0x19c822);}},{level:level='project',cliVersion:_0x211722,platform:platform=_0x30dc1e['EwflX']}=_0x428973,_0x4142c1=getSourceSkillsDir(),_0xa0f80e=join(_0x4142c1,_0x6b7f65),_0x12c3a7=join(_0x4142c1,_0x6b7f65+_0x5cdea5(0x7e)),_0x5a46cf=_0x30dc1e['xeKfV'](existsSync,_0xa0f80e)&&_0x30dc1e[_0x5cdea5(0x8c)](statSync,_0xa0f80e)[_0x5cdea5(0x84)]()&&existsSync(_0x30dc1e['nawoL'](join,_0xa0f80e,'SKILL.md')),_0x540c20=_0x30dc1e['xeKfV'](existsSync,_0x12c3a7);if(_0x30dc1e['rJKqp'](!_0x5a46cf,!_0x540c20))return console['warn']('\x20\x20Skill\x20not\x20found:\x20'+_0x6b7f65),![];const _0x103b6f=_0x30dc1e['FhZfZ'](platform,_0x30dc1e[_0x5cdea5(0x8e)])?getOpencodeSkillsDir(level):_0x30dc1e['qAKrV'](getSkillsDir,level),_0x3a0046=_0x30dc1e['ZmHYF'](join,_0x103b6f,_0x6b7f65);await _0x30dc1e['nawoL'](mkdir,_0x3a0046,{'recursive':!![]});let _0x3caa2b,_0x3f9b5e=[];if(_0x5a46cf){const _0xb6e38=await _0x30dc1e['RVhWC'](readdir,_0xa0f80e),_0x436bfa=_0xb6e38[_0x5cdea5(0x8d)](_0x6a918c=>_0x6a918c['endsWith'](_0x5cdea5(0x7e)));for(const _0x25d8ac of _0x436bfa){const _0x36da5f=_0x30dc1e[_0x5cdea5(0x90)](join,_0xa0f80e,_0x25d8ac),_0x344802=join(_0x3a0046,_0x25d8ac);await copyFile(_0x36da5f,_0x344802),_0x3f9b5e[_0x5cdea5(0x9d)](_0x25d8ac);}_0x3caa2b=await readFile(join(_0xa0f80e,_0x30dc1e[_0x5cdea5(0x95)]),_0x30dc1e['PcvXO']);}else{_0x3caa2b=await _0x30dc1e[_0x5cdea5(0x9a)](readFile,_0x12c3a7,'utf-8');const _0x196875=join(_0x3a0046,_0x30dc1e['AvEAs']);await _0x30dc1e['dSTyP'](writeFile,_0x196875,_0x3caa2b,_0x5cdea5(0x93)),_0x3f9b5e[_0x5cdea5(0x9d)](_0x5cdea5(0x97));}const {name:_0x2cc538}=parseFrontmatter(_0x3caa2b);return console['log']('\x20\x20Installed\x20skill:\x20'+_0x2cc538),console['log'](_0x5cdea5(0x8b)+_0x3a0046),_0x3f9b5e[_0x5cdea5(0x87)]>0x1&&console[_0x5cdea5(0x7f)]('\x20\x20Files:\x20'+_0x3f9b5e[_0x5cdea5(0x80)](',\x20')),_0x30dc1e[_0x5cdea5(0x9f)](logLocalAgentInstallation,_0x6b7f65,{'skillDisplayName':_0x2cc538,'installLevel':level},_0x211722)[_0x5cdea5(0x88)](()=>{}),!![];}function getSourceSkillsDir(){const _0x1daf22=_0x2f4eef,_0x2fd41a={'Ftugb':function(_0x241cb3,_0x79d5cd,_0x13510a,_0x10e75d,_0x4d06d0){return _0x241cb3(_0x79d5cd,_0x13510a,_0x10e75d,_0x4d06d0);}},_0xc4b24d=[_0x2fd41a['Ftugb'](join,__dirname,'..','..',_0x1daf22(0x81)),join(__dirname,'..','..','..','skills')];for(const _0x5a018c of _0xc4b24d){if(existsSync(_0x5a018c))return _0x5a018c;}return _0xc4b24d[0x0];}function parseFrontmatter(_0x326ce7){const _0x212d68=_0x2f4eef,_0xc63c86={'UrrVZ':_0x212d68(0x99)},_0x5c5d67=_0x326ce7[_0x212d68(0x9e)](/^---\n([\s\S]+?)\n---/);if(!_0x5c5d67)throw new Error(_0xc63c86['UrrVZ']);const _0x510428=_0x5c5d67[0x1],_0x100e20=_0x510428[_0x212d68(0x9e)](/name:\s*(.+)/),_0x38ec13=_0x510428[_0x212d68(0x9e)](/description:\s*"?(.+?)"?\n/);return{'name':_0x100e20?.[0x1]['trim']()||'','description':_0x38ec13?.[0x1]['trim']()||''};}export async function removeSkill(_0x181b14,_0x35230f){const _0x1076b4=_0x2f4eef,_0x594084={'lpLSz':function(_0x24cd70,_0x5dc116){return _0x24cd70(_0x5dc116);},'azwZY':function(_0x116317,_0x19608f){return _0x116317(_0x19608f);}},_0x5693b7=_0x594084['lpLSz'](getSkillsDir,_0x35230f),_0x3c4dca=join(_0x5693b7,_0x181b14);if(!_0x594084['azwZY'](existsSync,_0x3c4dca))return![];try{return await rm(_0x3c4dca,{'recursive':!![]}),console[_0x1076b4(0x7f)]('\x20\x20Removed\x20deprecated\x20skill:\x20'+_0x181b14),!![];}catch{return console[_0x1076b4(0x9c)]('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x181b14),![];}}