@ranger-testing/ranger-cli 3.1.2-alpha.059c7a3-40 → 3.1.2-alpha.b450a14-41

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 (85) 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/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x4cca69=_0x56ab;(function(_0x20fb6b,_0x725d27){const _0x496c81=_0x56ab,_0x234ee4=_0x20fb6b();while(!![]){try{const _0x37e0ee=-parseInt(_0x496c81(0x135))/0x1*(-parseInt(_0x496c81(0x14a))/0x2)+-parseInt(_0x496c81(0x169))/0x3+-parseInt(_0x496c81(0x15a))/0x4*(-parseInt(_0x496c81(0x1a3))/0x5)+parseInt(_0x496c81(0x170))/0x6+parseInt(_0x496c81(0x101))/0x7+-parseInt(_0x496c81(0x193))/0x8*(parseInt(_0x496c81(0x12c))/0x9)+-parseInt(_0x496c81(0x14b))/0xa;if(_0x37e0ee===_0x725d27)break;else _0x234ee4['push'](_0x234ee4['shift']());}catch(_0x537b9d){_0x234ee4['push'](_0x234ee4['shift']());}}}(_0x854f,0x96de0));import{spawn}from'child_process';import{createHash}from'crypto';import{access,chmod,mkdir,readFile,readdir,stat,writeFile}from'fs/promises';function _0x854f(){const _0x2524cc=['jOsGp','now','Cookies','2268utfkRX','exitCode','bmhIO','filter','executablePath','number','--remote-debugging-port=','digest','Rjxvu','577pMLmai','\x0astderr:\x20','--json','evaluate','--headed','uhzKQ','CseTe','origin','null','port','pipe','otRbQ','UsCFk','sNlkI','DsRgB','/opt/homebrew/bin','map','\x20is\x20on\x20PATH.\x0astdout:\x20','NTZef','setItem','kUATf','1240zVixWP','9121230whTMJq','LUMBB','hQbyv','trim','once','cjMmR','UV_TOOL_BIN_DIR','`,\x20and\x20`uv`\x20is\x20not\x20available\x20to\x20install\x20it.\x0aInstall\x20uv,\x20or\x20run:\x20uv\x20tool\x20install\x20\x22','off','exit','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','floor','timed\x20out\x20after\x20','kJnSF','ignore','1741044aAKyul','\x20signal=','FKWPm','JpJjV','YvuJY','AfYOu','length','\x0astdout:\x20','rvzNe','aZoxB','browserCommandPath','exited\x20with\x20code=','browser','localeCompare','AWS_PROFILE','1987488ZoYsga','PATH','cookies','domain','stdout:\x20','--quiet','nova-act-browser','6178584bkLYph','value','logsDirectory','--launch-arg=','sort','Local\x20State','eUVwJ','slice','rBbPQ','timeoutMs','act','origins','error','NXbhD','add','jAUiP','cTmdO','--no-first-run','odFgC','ShyFC','logs_directory','export','For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>','podim','QTPle','UyoIM','Preferences','Default','Xkrkj','tool','\x20browser','rvQCH','--browser-profile-path','...','parse','480bsueBQ','set','entries','rg-','oxuZt','\x20Fix:\x20','fail','unknown','stderr:\x20','bnQUk','object','/.local/bin','webSocketDebuggerUrl','Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.','ekWyj','LgRnX','5ITeGcK','leveldb','commandArgs','toString','session','CMYXq','EAvRs','localStorage','browserProfilePath','SIGTERM','match','--version','push','MKkoV','kill','Installed\x20','name','timedOut','IbejE','2694482fjKVRT','expires','Failed\x20to\x20allocate\x20hydration\x20browser\x20port','PIzuV','mzsbg','stderr','Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP','lsyYq','sessionId','YmpjD','bsGQR','size','all','SIGKILL','stdout','sha256','WJFGH','join','lHVzl','close','fiUKX','cwd','doctor','tOpkC','split','utf-8','tqxup','wdlns','Cwsqg','fix','/json/version','message','env','ArysF','qjotT','AKgOB','TugGD','LZysu','userDataDir','isFile'];_0x854f=function(){return _0x2524cc;};return _0x854f();}import{createServer}from'net';import{delimiter,dirname,isAbsolute,join}from'path';import{homedir}from'os';import{chromium}from'playwright';import{quoteShellArg}from'./playwrightCli.js';export const NOVA_ACT_CLI_BINARY=_0x4cca69(0x17a);export const NOVA_ACT_CLI_UV_PACKAGE='nova-act[cli]';const NOVA_ACT_CLI_PREVIEW_LIMIT=0xf0,NOVA_ACT_BOOTSTRAP_TIMEOUT_MS=0x2bf20,NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS=0x3a98,NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS=0x7*0x18*0x3c*0x3c;export function toNovaActCliSessionId(_0x7312f){const _0x1263fb=_0x4cca69,_0xfbc198={'QTPle':function(_0x51fab2,_0x411b96){return _0x51fab2(_0x411b96);},'KJjXC':_0x1263fb(0x110),'ekWyj':'hex'},_0x3cee7f=_0xfbc198[_0x1263fb(0x188)](createHash,_0xfbc198['KJjXC'])['update'](_0x7312f)['digest'](_0xfbc198[_0x1263fb(0x1a1)])[_0x1263fb(0x177)](0x0,0xc);return _0x1263fb(0x196)+_0x3cee7f;}export async function inspectNovaStorageStateFile(_0x2a3b4d){const _0x2c8d9d=_0x4cca69,_0x551f52={'AnzQW':'utf-8','rJqTV':'hex','JKEDt':function(_0x557a78,_0x4a6681){return _0x557a78/_0x4a6681;},'cjMmR':function(_0x350810,_0x37cf6c){return _0x350810 instanceof _0x37cf6c;}};try{const [_0x4b8067,_0x49ad9c]=await Promise['all']([stat(_0x2a3b4d),readFile(_0x2a3b4d,_0x551f52['AnzQW'])]),_0x6d1cd1={'path':_0x2a3b4d,'exists':!![],'byteLength':Buffer['byteLength'](_0x49ad9c),'sha256':createHash('sha256')['update'](_0x49ad9c)[_0x2c8d9d(0x133)](_0x551f52['rJqTV'])};try{const _0x305987=JSON['parse'](_0x49ad9c),_0x49e303=_0x305987[_0x2c8d9d(0x16b)]??[],_0x4ae7fa=Math[_0x2c8d9d(0x156)](_0x551f52['JKEDt'](Date['now'](),0x3e8)),_0x5e3c44=new Map();for(const _0x5040e3 of _0x49e303){const _0x1b3fb9=_0x5e3c44['get'](_0x5040e3[_0x2c8d9d(0x16c)])??[];_0x1b3fb9[_0x2c8d9d(0x1af)](_0x5040e3[_0x2c8d9d(0xfe)]),_0x5e3c44[_0x2c8d9d(0x194)](_0x5040e3['domain'],_0x1b3fb9);}return{..._0x6d1cd1,'byteLength':_0x4b8067[_0x2c8d9d(0x10c)],'cookieCount':_0x49e303[_0x2c8d9d(0x160)],'cookieDomains':[..._0x5e3c44[_0x2c8d9d(0x195)]()]['sort'](([_0x4c92fd],[_0x3e8e10])=>_0x4c92fd[_0x2c8d9d(0x167)](_0x3e8e10))[_0x2c8d9d(0x145)](([_0xc9ad78,_0x3a7910])=>({'domain':_0xc9ad78,'count':_0x3a7910[_0x2c8d9d(0x160)],'names':_0x3a7910[_0x2c8d9d(0x174)]()[_0x2c8d9d(0x177)](0x0,0x19)})),'httpOnlyCookieCount':_0x49e303['filter'](_0x1e4022=>_0x1e4022['httpOnly'])['length'],'secureCookieCount':_0x49e303['filter'](_0x494923=>_0x494923['secure'])[_0x2c8d9d(0x160)],'sessionCookieCount':_0x49e303[_0x2c8d9d(0x12f)](_0x3b2ac2=>_0x3b2ac2['expires']===-0x1)[_0x2c8d9d(0x160)],'expiredCookieCount':_0x49e303['filter'](_0x4f3912=>typeof _0x4f3912[_0x2c8d9d(0x102)]===_0x2c8d9d(0x131)&&_0x4f3912[_0x2c8d9d(0x102)]>0x0&&_0x4f3912[_0x2c8d9d(0x102)]<_0x4ae7fa)['length'],'originCount':_0x305987[_0x2c8d9d(0x17b)]?.[_0x2c8d9d(0x160)]??0x0,'origins':(_0x305987[_0x2c8d9d(0x17b)]??[])[_0x2c8d9d(0x145)](_0x2d3394=>({'origin':_0x2d3394[_0x2c8d9d(0x13c)],'localStorageCount':_0x2d3394['localStorage']?.[_0x2c8d9d(0x160)]??0x0,'localStorageKeys':_0x2d3394[_0x2c8d9d(0x1aa)]?.[_0x2c8d9d(0x145)](_0xf39942=>_0xf39942['name'])['sort']()[_0x2c8d9d(0x177)](0x0,0x19)??[]}))};}catch(_0x11fca6){return{..._0x6d1cd1,'byteLength':_0x4b8067[_0x2c8d9d(0x10c)],'parseError':_0x11fca6 instanceof Error?_0x11fca6[_0x2c8d9d(0x120)]:String(_0x11fca6)};}}catch(_0x3dc099){return{'path':_0x2a3b4d,'exists':![],'readError':_0x551f52[_0x2c8d9d(0x150)](_0x3dc099,Error)?_0x3dc099['message']:String(_0x3dc099)};}}export async function inspectNovaProfileFiles(_0x538f42){const _0x2f190c=_0x4cca69,_0x13ca0d={'KACGa':_0x2f190c(0x12b),'KfVUw':function(_0x39b348,_0x295733,_0x2aeb10,_0x4d79c0){return _0x39b348(_0x295733,_0x2aeb10,_0x4d79c0);},'jvgOA':'Network','WJFGH':'Local\x20Storage','VIRAF':function(_0x1cdec6,_0x4ef9ba){return _0x1cdec6(_0x4ef9ba);},'vgzHr':function(_0x31e129,_0x5efe2c){return _0x31e129(_0x5efe2c);},'sNlkI':function(_0x162655,_0xc56878){return _0x162655(_0xc56878);},'edBxK':function(_0x5a6cca,_0x7b0cae){return _0x5a6cca(_0x7b0cae);},'rBbPQ':function(_0x177fac,_0x438b4a){return _0x177fac(_0x438b4a);},'lsyYq':function(_0x193f3d,_0x26ff0c){return _0x193f3d(_0x26ff0c);}},_0x7e45d4=join(_0x538f42['userDataDir'],_0x2f190c(0x175)),_0x3c95e3=join(_0x538f42[_0x2f190c(0x1ab)],'Preferences'),_0x13c310=join(_0x538f42[_0x2f190c(0x1ab)],_0x13ca0d['KACGa']),_0x2cb876=_0x13ca0d['KfVUw'](join,_0x538f42['browserProfilePath'],_0x13ca0d['jvgOA'],_0x2f190c(0x12b)),_0x30f9bd=join(_0x538f42[_0x2f190c(0x1ab)],_0x13ca0d[_0x2f190c(0x111)]),_0x519af5=join(_0x30f9bd,_0x2f190c(0x1a4)),[_0x266eec,_0x35cf30,_0x7c1110,_0x1e02ec,_0x3a5999,_0x286e63,_0x46dbea,_0x46abaf,_0x45c957,_0x36359f,_0xc33c66]=await Promise[_0x2f190c(0x10d)]([_0x13ca0d['VIRAF'](inspectPath,_0x538f42['userDataDir']),_0x13ca0d['vgzHr'](inspectPath,_0x538f42['browserProfilePath']),inspectPath(_0x7e45d4),_0x13ca0d[_0x2f190c(0x142)](inspectPath,_0x3c95e3),_0x13ca0d['VIRAF'](inspectPath,_0x13c310),_0x13ca0d['sNlkI'](inspectPath,_0x2cb876),inspectPath(_0x30f9bd),_0x13ca0d['edBxK'](inspectPath,_0x519af5),listDir(_0x538f42[_0x2f190c(0x127)]),_0x13ca0d[_0x2f190c(0x178)](listDir,_0x538f42[_0x2f190c(0x1ab)]),_0x13ca0d[_0x2f190c(0x108)](listDir,_0x519af5)]);return{'userDataDir':_0x538f42[_0x2f190c(0x127)],'browserProfilePath':_0x538f42[_0x2f190c(0x1ab)],'rootEntries':_0x45c957,'defaultEntries':_0x36359f,'localStorageEntries':_0xc33c66,'paths':{'userDataDir':_0x266eec,'browserProfilePath':_0x35cf30,'localState':_0x7c1110,'preferences':_0x1e02ec,'cookies':_0x3a5999,'networkCookies':_0x286e63,'localStorage':_0x46dbea,'levelDb':_0x46abaf}};}async function inspectPath(_0x36770b){const _0x319601=_0x4cca69,_0x479c9c={'FTraS':function(_0x9a06ce,_0x59d7ce){return _0x9a06ce(_0x59d7ce);}};try{const _0x15db6f=await _0x479c9c['FTraS'](stat,_0x36770b);return{'path':_0x36770b,'exists':!![],'isDirectory':_0x15db6f['isDirectory'](),'byteLength':_0x15db6f[_0x319601(0x128)]()?_0x15db6f[_0x319601(0x10c)]:undefined,'mtimeMs':_0x15db6f['mtimeMs']};}catch(_0x570127){return{'path':_0x36770b,'exists':![],'error':_0x570127 instanceof Error?_0x570127['message']:String(_0x570127)};}}async function listDir(_0x5c77aa){const _0x33a00c=_0x4cca69,_0x3e90d0={'VcpDE':function(_0x5a349e,_0x5bf8a1){return _0x5a349e(_0x5bf8a1);}};try{return(await _0x3e90d0['VcpDE'](readdir,_0x5c77aa))[_0x33a00c(0x174)]()['slice'](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x347b52,_0xe1a259=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x2df70e=_0x4cca69,_0x312e16={'lUUDf':function(_0x23e6af,_0x17e9ba){return _0x23e6af>_0x17e9ba;}};return _0x312e16['lUUDf'](_0x347b52['length'],_0xe1a259)?_0x347b52[_0x2df70e(0x177)](0x0,_0xe1a259)+'...':_0x347b52;}function truncateOutput(_0x1df9b9,_0x27b900=0x7d0){const _0x52ac2d=_0x4cca69,_0xf76d10={'LTPQu':function(_0x385e19,_0x15da9c){return _0x385e19>_0x15da9c;},'tqxup':_0x52ac2d(0x191)};return _0xf76d10['LTPQu'](_0x1df9b9['length'],_0x27b900)?_0x1df9b9['slice'](0x0,_0x27b900)+_0xf76d10[_0x52ac2d(0x11b)]:_0x1df9b9;}function getNovaActCliBinDirs(_0x1ad530){const _0x714cef=_0x4cca69,_0x1370d4={'AfYOu':function(_0x14d1f3){return _0x14d1f3();}};return[_0x1ad530[_0x714cef(0x151)],_0x1370d4[_0x714cef(0x15f)](homedir)+_0x714cef(0x19e),_0x714cef(0x144),'/usr/local/bin']['filter'](_0x477e75=>Boolean(_0x477e75));}function buildPathWithNovaActCliBins(_0x483801){const _0x24d43f=_0x4cca69,_0x51921a={'CMYXq':function(_0x398bfd,_0xdf3aaa){return _0x398bfd(_0xdf3aaa);}},_0x278245=new Set(),_0x518812=[..._0x51921a[_0x24d43f(0x1a8)](getNovaActCliBinDirs,_0x483801),...(_0x483801[_0x24d43f(0x16a)]??'')[_0x24d43f(0x119)](delimiter)][_0x24d43f(0x12f)](_0x38bd1e=>{const _0x5116f8=_0x24d43f;if(!_0x38bd1e||_0x278245['has'](_0x38bd1e))return![];return _0x278245[_0x5116f8(0x17e)](_0x38bd1e),!![];});return _0x518812[_0x24d43f(0x112)](delimiter);}export function applyNovaActCliPath(_0x5b4f2a){const _0x541654=_0x4cca69;_0x5b4f2a[_0x541654(0x16a)]=buildPathWithNovaActCliBins(_0x5b4f2a);}function withNovaActCliPath(_0xa517c7){return{..._0xa517c7,'PATH':buildPathWithNovaActCliBins(_0xa517c7)};}function runBootstrapCommand(_0x36ad87){const _0x2663aa=_0x4cca69,_0x1e6392={'ArysF':_0x2663aa(0x10e),'TugGD':'SIGTERM','bsGQR':function(_0xde1000,_0x3d00cd){return _0xde1000(_0x3d00cd);},'kQahz':function(_0xe77099,_0x41d2e8){return _0xe77099??_0x41d2e8;},'fiUKX':function(_0xcc42e6,_0x5132fe){return _0xcc42e6??_0x5132fe;},'oxuZt':function(_0x4a8f2d,_0xc65a21){return _0x4a8f2d(_0xc65a21);},'jOsGp':_0x2663aa(0x13f),'AKgOB':'data','WKdyY':_0x2663aa(0x114)},{command:_0x2592ff,args:_0x29d6b5,env:_0x1b4b01,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x36ad87;return new Promise((_0x455ae8,_0x5d6e07)=>{const _0x3857a7=_0x2663aa,_0x5d0841={'sVkIR':function(_0x531110,_0x37493e){return _0x1e6392['bsGQR'](_0x531110,_0x37493e);},'PJqpE':function(_0x56b718,_0x155b79){return _0x1e6392['kQahz'](_0x56b718,_0x155b79);},'IbejE':'null','gFRfI':function(_0x2aedd0,_0x312347){const _0x1689c0=_0x56ab;return _0x1e6392[_0x1689c0(0x115)](_0x2aedd0,_0x312347);},'nsgzI':function(_0x1caaaf,_0x492450){const _0x8f4159=_0x56ab;return _0x1e6392[_0x8f4159(0x10b)](_0x1caaaf,_0x492450);},'xFZMl':function(_0x46d6d8,_0x47c91e){const _0x14977e=_0x56ab;return _0x1e6392[_0x14977e(0x197)](_0x46d6d8,_0x47c91e);}},_0x394f18=spawn(_0x2592ff,_0x29d6b5,{'env':_0x1b4b01,'stdio':[_0x3857a7(0x159),_0x1e6392[_0x3857a7(0x129)],_0x3857a7(0x13f)]});let _0x269d9e='',_0x3e8601='',_0x2ee6e5=![];const _0x829aab=setTimeout(()=>{const _0x9ebe6e=_0x3857a7,_0x296dcd={'VvMtn':_0x1e6392[_0x9ebe6e(0x122)]};_0x2ee6e5=!![],_0x394f18[_0x9ebe6e(0x1b1)](_0x1e6392[_0x9ebe6e(0x125)]),setTimeout(()=>{const _0x1417c7=_0x9ebe6e;try{_0x394f18[_0x1417c7(0x1b1)](_0x296dcd['VvMtn']);}catch{}},0x3e8);},timeoutMs);_0x394f18[_0x3857a7(0x10f)]?.['on']('data',_0x1242d1=>{const _0x88f906=_0x3857a7;_0x269d9e+=_0x1242d1[_0x88f906(0x1a6)]();}),_0x394f18[_0x3857a7(0x106)]?.['on'](_0x1e6392[_0x3857a7(0x124)],_0x33fd99=>{const _0x5b6903=_0x3857a7;_0x3e8601+=_0x33fd99[_0x5b6903(0x1a6)]();}),_0x394f18['on']('error',_0x66050e=>{clearTimeout(_0x829aab),_0x5d6e07(_0x66050e);}),_0x394f18['on'](_0x1e6392['WKdyY'],(_0x4bf235,_0x1f9d2a)=>{const _0x5a9c07=_0x3857a7;clearTimeout(_0x829aab);if(_0x4bf235===0x0){_0x5d0841['sVkIR'](_0x455ae8,{'stdout':_0x269d9e,'stderr':_0x3e8601});return;}const _0x499b1c=_0x2ee6e5?_0x5a9c07(0x157)+timeoutMs+'ms':_0x5a9c07(0x165)+_0x5d0841['PJqpE'](_0x4bf235,_0x5d0841[_0x5a9c07(0x100)])+_0x5a9c07(0x15b)+_0x5d0841['gFRfI'](_0x1f9d2a,_0x5d0841[_0x5a9c07(0x100)]);_0x5d0841['nsgzI'](_0x5d6e07,new Error(_0x2592ff+'\x20'+_0x29d6b5[_0x5a9c07(0x112)]('\x20')+'\x20'+_0x499b1c+_0x5a9c07(0x161)+_0x5d0841['xFZMl'](truncateOutput,_0x269d9e)+'\x0astderr:\x20'+truncateOutput(_0x3e8601)));});});}function runCommandAllowFailure(_0x50467f){const _0x29c0ab=_0x4cca69,_0x5029a8={'fFsaZ':function(_0xf40eeb,_0x4c58b6){return _0xf40eeb(_0x4c58b6);},'Xkrkj':function(_0x29c36b,_0x2f0986){return _0x29c36b(_0x2f0986);},'Rjxvu':'SIGTERM','CCtqO':function(_0x17d2f4,_0x165ee2,_0x10af9a,_0x204bfd){return _0x17d2f4(_0x165ee2,_0x10af9a,_0x204bfd);},'NTZef':_0x29c0ab(0x13f),'PIzuV':'data'},{command:_0x10270c,args:_0x35d8c7,env:_0x592e36,timeoutMs:_0x5e5985}=_0x50467f;return new Promise((_0x3141c7,_0xddc185)=>{const _0x4446b1=_0x29c0ab,_0x54c081={'vKKoD':_0x5029a8[_0x4446b1(0x134)]},_0x3f9282=_0x5029a8['CCtqO'](spawn,_0x10270c,_0x35d8c7,{'env':_0x592e36,'stdio':['ignore',_0x5029a8[_0x4446b1(0x147)],'pipe']});let _0x31b294='',_0x3d0309='',_0x3c0876=![];const _0x1618ff=setTimeout(()=>{_0x3c0876=!![],_0x3f9282['kill'](_0x54c081['vKKoD']),setTimeout(()=>{try{_0x3f9282['kill']('SIGKILL');}catch{}},0x3e8);},_0x5e5985);_0x3f9282['stdout']?.['on'](_0x5029a8[_0x4446b1(0x104)],_0x227365=>{const _0x242037=_0x4446b1;_0x31b294+=_0x227365[_0x242037(0x1a6)]();}),_0x3f9282['stderr']?.['on']('data',_0x4b8e93=>{const _0x19ac5c=_0x4446b1;_0x3d0309+=_0x4b8e93[_0x19ac5c(0x1a6)]();}),_0x3f9282['on']('error',_0x13737c=>{clearTimeout(_0x1618ff),_0xddc185(_0x13737c);}),_0x3f9282['on'](_0x4446b1(0x114),(_0x41c55,_0x3ef043)=>{const _0x186a88=_0x4446b1;_0x5029a8['fFsaZ'](clearTimeout,_0x1618ff),_0x5029a8[_0x186a88(0x18c)](_0x3141c7,{'code':_0x41c55,'signal':_0x3ef043,'stdout':_0x31b294,'stderr':_0x3d0309,'timedOut':_0x3c0876});});});}async function resolveActPath(_0x5f3a1f){const _0x595d7b=_0x4cca69,_0x11fc67=isAbsolute(NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x5f3a1f['PATH']??'')['split'](delimiter)['filter'](Boolean)[_0x595d7b(0x145)](_0x3f643e=>join(_0x3f643e,NOVA_ACT_CLI_BINARY));for(const _0x16e924 of _0x11fc67){try{return await access(_0x16e924),_0x16e924;}catch{}}return null;}async function checkNovaActCli(_0x32232c){const _0x809776=_0x4cca69,_0x289fc5={'ulFQR':function(_0x5be9ad,_0x2aed26){return _0x5be9ad(_0x2aed26);},'qDcHP':'--help','gaEPE':function(_0x40eb22,_0xdd92ea){return _0x40eb22(_0xdd92ea);}};try{return await _0x289fc5['ulFQR'](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':[_0x809776(0x166),_0x289fc5['qDcHP']],'env':_0x32232c,'timeoutMs':0x7530}),await _0x289fc5['gaEPE'](resolveActPath,_0x32232c)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0x140073={}){const _0x4b444c=_0x4cca69,_0x55c2aa={'LUMBB':function(_0x488354,_0x4e7682){return _0x488354(_0x4e7682);},'ZUMkh':function(_0xae03a,_0x51e271){return _0xae03a instanceof _0x51e271;},'rvQCH':function(_0x432407,_0x1e7678){return _0x432407(_0x1e7678);},'GwuHr':_0x4b444c(0x18d),'CxqrO':'install','UsCFk':function(_0x1626be,_0x2efeae){return _0x1626be(_0x2efeae);}},_0x482a5a=_0x55c2aa[_0x4b444c(0x14c)](withNovaActCliPath,_0x140073['env']??process[_0x4b444c(0x121)]),_0xf42857=await checkNovaActCli(_0x482a5a);if(_0xf42857)return{'installed':![],'actPath':_0xf42857,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await runBootstrapCommand({'command':'uv','args':[_0x4b444c(0x1ae)],'env':_0x482a5a,'timeoutMs':0x7530});}catch(_0x91f21e){throw new Error('nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`'+NOVA_ACT_CLI_BINARY+_0x4b444c(0x152)+NOVA_ACT_CLI_UV_PACKAGE+'\x22\x0a'+(_0x55c2aa['ZUMkh'](_0x91f21e,Error)?_0x91f21e['message']:String(_0x91f21e)));}const _0x17034e=await _0x55c2aa[_0x4b444c(0x18f)](runBootstrapCommand,{'command':'uv','args':[_0x55c2aa['GwuHr'],_0x55c2aa['CxqrO'],NOVA_ACT_CLI_UV_PACKAGE],'env':_0x482a5a,'timeoutMs':_0x140073[_0x4b444c(0x179)]??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x28ca56=await checkNovaActCli(_0x482a5a);if(!_0x28ca56)throw new Error(_0x4b444c(0x1b2)+NOVA_ACT_CLI_UV_PACKAGE+',\x20but\x20`'+NOVA_ACT_CLI_BINARY+_0x4b444c(0x155)+_0x55c2aa[_0x4b444c(0x141)](getNovaActCliBinDirs,_0x482a5a)[_0x4b444c(0x112)](',\x20')+_0x4b444c(0x146)+_0x55c2aa['LUMBB'](truncateOutput,_0x17034e['stdout'])+_0x4b444c(0x136)+truncateOutput(_0x17034e[_0x4b444c(0x106)]));return{'installed':!![],'actPath':_0x28ca56,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x17034e['stdout'],'stderr':_0x17034e['stderr']};}function parseNovaActDoctorOutput(_0x494f92){try{return JSON['parse'](_0x494f92);}catch{return null;}}function buildNovaActCliPreflightError(_0x51ac2f){const _0x359af4=_0x4cca69,_0x27bd85={'ksXBD':'act\x20browser\x20doctor\x20--json\x20timed\x20out','kJnSF':function(_0x5fd32e,_0x7dd28c){return _0x5fd32e??_0x7dd28c;},'bmhIO':function(_0x506c7e,_0x11ee5b){return _0x506c7e??_0x11ee5b;},'Tgqyw':function(_0x4f5454,_0x3a22cb){return _0x4f5454(_0x3a22cb);}},{checks:_0x477699,stdout:_0x7dc3ac,stderr:_0x9ba4f,env:_0x546705,code:_0x319d00,signal:_0x30fd19,timedOut:_0x472d9a}=_0x51ac2f,_0x5ea4eb=_0x477699['filter'](_0x191607=>_0x191607['status']===_0x359af4(0x199)),_0x49b1ca=_0x5ea4eb['length']>0x0?_0x5ea4eb[_0x359af4(0x145)](_0x43b2a1=>{const _0x409bcd=_0x359af4,_0x1778ad=_0x43b2a1[_0x409bcd(0x11e)]?_0x409bcd(0x198)+_0x43b2a1['fix']:'';return'-\x20'+_0x43b2a1[_0x409bcd(0xfe)]+':\x20'+_0x43b2a1[_0x409bcd(0x120)]+'.'+_0x1778ad;})['join']('\x0a'):[_0x472d9a?_0x27bd85['ksXBD']:'act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code='+_0x27bd85[_0x359af4(0x158)](_0x319d00,_0x359af4(0x13d))+_0x359af4(0x15b)+_0x27bd85[_0x359af4(0x12e)](_0x30fd19,'null'),_0x7dc3ac?_0x359af4(0x16d)+truncateOutput(_0x7dc3ac):'',_0x9ba4f?_0x359af4(0x19b)+_0x27bd85['Tgqyw'](truncateOutput,_0x9ba4f):''][_0x359af4(0x12f)](Boolean)[_0x359af4(0x112)]('\x0a'),_0x144f0c=_0x546705[_0x359af4(0x168)]?.['trim'](),_0x11769b=_0x144f0c?'For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20'+_0x144f0c:_0x359af4(0x186);return new Error(['Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.',_0x49b1ca,_0x359af4(0x1a0),_0x11769b]['join']('\x0a'));}export async function preflightNovaActCli(_0x1d47d6={}){const _0x5d8b50=_0x4cca69,_0x450b20={'jAUiP':function(_0x469486,_0x10f9a1){return _0x469486(_0x10f9a1);},'ojvqp':function(_0x399dff,_0x48abc6){return _0x399dff!==_0x48abc6;}},_0x2b3187=withNovaActCliPath(_0x1d47d6['env']??process[_0x5d8b50(0x121)]),_0x1a6f56=await runCommandAllowFailure({'command':NOVA_ACT_CLI_BINARY,'args':['browser',_0x5d8b50(0x117),'--json'],'env':_0x2b3187,'timeoutMs':_0x1d47d6['timeoutMs']??0x7530}),_0x1cd2f5=_0x450b20[_0x5d8b50(0x17f)](parseNovaActDoctorOutput,_0x1a6f56['stdout']),_0x193198=_0x1cd2f5?.['data']?.['checks']??[],_0x83cd6a=_0x193198['some'](_0x24dbf1=>_0x24dbf1['status']==='fail');if(_0x450b20['ojvqp'](_0x1a6f56['code'],0x0)||_0x1a6f56[_0x5d8b50(0xff)]||_0x83cd6a)throw buildNovaActCliPreflightError({'checks':_0x193198,'stdout':_0x1a6f56[_0x5d8b50(0x10f)],'stderr':_0x1a6f56[_0x5d8b50(0x106)],'env':_0x2b3187,'code':_0x1a6f56['code'],'signal':_0x1a6f56['signal'],'timedOut':_0x1a6f56['timedOut']});return{'checks':_0x193198,'logDir':_0x1cd2f5?.['log_dir']??_0x1cd2f5?.['logDir']};}function _0x56ab(_0x1011db,_0x101218){_0x1011db=_0x1011db-0xfe;const _0x854f5f=_0x854f();let _0x56ab4f=_0x854f5f[_0x1011db];return _0x56ab4f;}function getNovaActCliSubcommand(_0x50ba85){const _0x48c302=_0x4cca69,_0x1ae2ee={'DXmtx':_0x48c302(0x19a)},[_0x1c25e4=_0x1ae2ee['DXmtx'],_0x13c824]=_0x50ba85;return _0x1c25e4===_0x48c302(0x1a7)&&_0x13c824?_0x1c25e4+'\x20'+_0x13c824:_0x1c25e4;}function supportsBrowserSessionOptions(_0x363ae5){const _0x9edf12=_0x4cca69,_0x3e9f3a={'dIGLY':_0x9edf12(0x1a7),'mzsbg':'export'};return!(_0x363ae5[0x0]===_0x3e9f3a['dIGLY']&&(_0x363ae5[0x1]===_0x3e9f3a[_0x9edf12(0x105)]||_0x363ae5[0x1]==='close'));}function buildSharedArgs(_0x1b933d,_0x2dbfb4){const _0x4e98b4=_0x4cca69,_0xe76bfd={'DjVZg':'--session-id','uyKXM':_0x4e98b4(0x137),'KXsFg':function(_0x35f62c,_0xb2730c){return _0x35f62c(_0xb2730c);}},_0x426be4=[_0xe76bfd['DjVZg'],_0x1b933d[_0x4e98b4(0x109)],_0xe76bfd['uyKXM']];if(_0xe76bfd['KXsFg'](supportsBrowserSessionOptions,_0x2dbfb4)){_0x426be4[_0x4e98b4(0x1af)](_0x4e98b4(0x16e)),_0x426be4['push'](_0x1b933d['headless']?'--headless':_0x4e98b4(0x139));_0x1b933d[_0x4e98b4(0x1ab)]&&_0x426be4[_0x4e98b4(0x1af)](_0x4e98b4(0x190),_0x1b933d['browserProfilePath']);_0x1b933d['executablePath']&&_0x426be4[_0x4e98b4(0x1af)]('--executable-path',_0x1b933d['executablePath']);_0x1b933d['cdpEndpoint']&&_0x426be4[_0x4e98b4(0x1af)]('--cdp',_0x1b933d['cdpEndpoint']);for(const _0x4a4cd5 of _0x1b933d['launchArgs']??[]){_0x426be4['push'](_0x4e98b4(0x173)+_0x4a4cd5);}}return _0x426be4;}export function buildNovaActCliInvocation(_0x355be1,_0x2ee16c){const _0x2fc477=_0x4cca69,_0x301245={'Epvju':function(_0x5d8d06,_0x5686fd,_0x17766f){return _0x5d8d06(_0x5686fd,_0x17766f);},'tocBM':'browser'},_0x511a7c=_0x301245['Epvju'](buildSharedArgs,_0x355be1,_0x2ee16c),_0xb22613=[_0x301245['tocBM'],..._0x2ee16c,..._0x511a7c];return{'command':NOVA_ACT_CLI_BINARY,'args':_0xb22613,'shellCommand':[NOVA_ACT_CLI_BINARY,_0x301245['tocBM'],..._0x2ee16c[_0x2fc477(0x145)](quoteShellArg),..._0x511a7c['map'](quoteShellArg)]['join']('\x20'),'subcommand':getNovaActCliSubcommand(_0x2ee16c)};}export function buildNovaActCliCommandPrefix(){const _0x4474a3=_0x4cca69;return NOVA_ACT_CLI_BINARY+_0x4474a3(0x18e);}export function buildNovaActCliBrowserWrapperPath(_0x30b050){const _0x2c25b7=_0x4cca69,_0x4f25da={'eUVwJ':function(_0x5f5137,_0x2851b0,_0x24b6ae){return _0x5f5137(_0x2851b0,_0x24b6ae);},'AWVYE':function(_0x4422cf,_0x16e03d){return _0x4422cf(_0x16e03d);},'RhqPB':_0x2c25b7(0x16f)};return _0x4f25da[_0x2c25b7(0x176)](join,_0x4f25da['AWVYE'](dirname,_0x30b050[_0x2c25b7(0x127)]),_0x4f25da['RhqPB']);}export async function writeNovaActCliBrowserWrapper(_0x7e3ca5){const _0x1903b2=_0x4cca69,_0x3c34ba={'CseTe':function(_0x42da35,_0x313d6b,_0x5af692){return _0x42da35(_0x313d6b,_0x5af692);},'lBHjj':'execute','vSJRM':'session','UyoIM':function(_0x579e0a,_0x3cda21,_0x11c86c){return _0x579e0a(_0x3cda21,_0x11c86c);},'wdlns':function(_0x32bfcf,_0x46666b,_0x5de5ef){return _0x32bfcf(_0x46666b,_0x5de5ef);}},_0x402aec=_0x7e3ca5[_0x1903b2(0x164)]??buildNovaActCliBrowserWrapperPath(_0x7e3ca5),_0x53e383=_0x3c34ba[_0x1903b2(0x13b)](buildSharedArgs,_0x7e3ca5,[_0x3c34ba['lBHjj']])['map'](quoteShellArg)['join']('\x20'),_0x383cf2=buildSharedArgs(_0x7e3ca5,[_0x3c34ba['vSJRM'],_0x1903b2(0x185)])['map'](quoteShellArg)[_0x1903b2(0x112)]('\x20');return await _0x3c34ba[_0x1903b2(0x189)](mkdir,dirname(_0x402aec),{'recursive':!![]}),await _0x3c34ba['wdlns'](mkdir,_0x7e3ca5['userDataDir'],{'recursive':!![]}),await writeFile(_0x402aec,'#!/usr/bin/env\x20bash\x0aset\x20-euo\x20pipefail\x0aif\x20[[\x20\x22${1:-}\x22\x20==\x20\x22session\x22\x20&&\x20(\x20\x22${2:-}\x22\x20==\x20\x22export\x22\x20||\x20\x22${2:-}\x22\x20==\x20\x22close\x22\x20)\x20]];\x20then\x0a\x20\x20exec\x20'+quoteShellArg(NOVA_ACT_CLI_BINARY)+'\x20browser\x20\x22$@\x22\x20'+_0x383cf2+'\x0afi\x0a\x0aexec\x20'+quoteShellArg(NOVA_ACT_CLI_BINARY)+'\x20browser\x20\x22$@\x22\x20'+_0x53e383+'\x0a',_0x1903b2(0x11a)),await _0x3c34ba[_0x1903b2(0x11c)](chmod,_0x402aec,0x1ed),_0x402aec;}export function buildNovaActCliSharedOptionsSuffix(_0x55a061,_0x1d8ed0=['execute']){const _0x30618a=_0x4cca69;return buildSharedArgs(_0x55a061,_0x1d8ed0)[_0x30618a(0x145)](quoteShellArg)[_0x30618a(0x112)]('\x20');}export async function runNovaActCliCommand(_0x3152bc){const _0x5e380a=_0x4cca69,_0x5b82c2={'MvuPF':function(_0x35de87,_0x20a41f,_0x5516c0){return _0x35de87(_0x20a41f,_0x5516c0);},'hQbyv':function(_0x3afe72,_0x4f41ab){return _0x3afe72(_0x4f41ab);},'NccWg':_0x5e380a(0x13d),'kUATf':function(_0x470429,_0x20f974){return _0x470429(_0x20f974);},'Wyfxn':function(_0x3cd9b6,_0x26a49c,_0x3e9b57,_0x9b0c70){return _0x3cd9b6(_0x26a49c,_0x3e9b57,_0x9b0c70);},'VpxSJ':_0x5e380a(0x13f),'cTmdO':'data'};await mkdir(_0x3152bc['userDataDir'],{'recursive':!![]});const _0x2d6717=buildNovaActCliInvocation(_0x3152bc,_0x3152bc[_0x5e380a(0x1a5)]);return new Promise((_0x2204c7,_0x47d33a)=>{const _0x34cb4e=_0x5e380a,_0x88bebe={'qQwpR':function(_0x3e6e2d,_0x167f13,_0x4e4097){return _0x5b82c2['MvuPF'](_0x3e6e2d,_0x167f13,_0x4e4097);},'bnQUk':function(_0x4faf4e,_0x50b92a){return _0x4faf4e(_0x50b92a);},'YyiEU':function(_0x4d4854,_0x25b085){return _0x5b82c2['hQbyv'](_0x4d4854,_0x25b085);},'uhzKQ':function(_0x35880b,_0x1c9be6){return _0x5b82c2['hQbyv'](_0x35880b,_0x1c9be6);},'JpJjV':_0x5b82c2['NccWg'],'EAvRs':function(_0x1863a4,_0x3260f4){const _0x435864=_0x56ab;return _0x5b82c2[_0x435864(0x149)](_0x1863a4,_0x3260f4);},'TIpGm':function(_0x489428,_0x3d447e){const _0x53c948=_0x56ab;return _0x5b82c2[_0x53c948(0x14d)](_0x489428,_0x3d447e);}},_0x1e8ec6=_0x5b82c2['Wyfxn'](spawn,_0x2d6717['command'],_0x2d6717['args'],{'cwd':_0x3152bc[_0x34cb4e(0x116)],'env':_0x3152bc[_0x34cb4e(0x121)],'stdio':['ignore',_0x5b82c2['VpxSJ'],'pipe']});let _0xa8bf8b='',_0x42eb2e='',_0x2a3fcb=![];const _0x4da038=_0x3152bc['timeoutMs']&&_0x3152bc[_0x34cb4e(0x179)]>0x0?_0x5b82c2['MvuPF'](setTimeout,()=>{const _0x3044cc=_0x34cb4e,_0x1b9f44={'frAzR':_0x3044cc(0x10e)};_0x2a3fcb=!![],_0x1e8ec6[_0x3044cc(0x1b1)](_0x3044cc(0x1ac)),_0x88bebe['qQwpR'](setTimeout,()=>{try{_0x1e8ec6['kill'](_0x1b9f44['frAzR']);}catch{}},0x3e8);},_0x3152bc[_0x34cb4e(0x179)]):null;_0x1e8ec6['stdout']?.['on'](_0x5b82c2['cTmdO'],_0x10763d=>{_0xa8bf8b+=_0x10763d['toString']();}),_0x1e8ec6['stderr']?.['on'](_0x5b82c2[_0x34cb4e(0x180)],_0x5ca82e=>{_0x42eb2e+=_0x5ca82e['toString']();}),_0x1e8ec6['on']('error',_0x1e97e3=>{const _0x2ce05e=_0x34cb4e;if(_0x4da038)clearTimeout(_0x4da038);_0x88bebe[_0x2ce05e(0x19c)](_0x47d33a,_0x1e97e3);}),_0x1e8ec6['on'](_0x34cb4e(0x114),(_0x184027,_0x147b45)=>{const _0x52e2df=_0x34cb4e;if(_0x4da038)_0x88bebe['YyiEU'](clearTimeout,_0x4da038);if(_0x184027===0x0){_0x88bebe[_0x52e2df(0x13a)](_0x2204c7,{'stdout':_0xa8bf8b,'stderr':_0x42eb2e,'invocation':_0x2d6717});return;}const _0x503594=_0x2a3fcb?_0x52e2df(0x157)+_0x3152bc['timeoutMs']+'ms':'exited\x20with\x20code='+(_0x184027??_0x88bebe['JpJjV'])+_0x52e2df(0x15b)+(_0x147b45??_0x88bebe[_0x52e2df(0x15d)]);_0x47d33a(new Error('nova-act-cli\x20'+_0x2d6717['subcommand']+'\x20'+_0x503594+'\x0astdout:\x20'+_0x88bebe[_0x52e2df(0x1a9)](truncateOutput,_0xa8bf8b)+'\x0astderr:\x20'+_0x88bebe['TIpGm'](truncateOutput,_0x42eb2e)));});});}export function parseNovaActCliCommand(_0x49060c){const _0x331264=_0x49060c['match'](/(?:^|\s)(?:(?:"[^"]*\/act"|'[^']*\/act'|\S*\/act|act)\s+browser|(?:"[^"]*\/nova-act-browser"|'[^']*\/nova-act-browser'|\S*\/nova-act-browser|nova-act-browser))\s+(session\s+[a-z-]+|[a-z][a-z-]*)\b/);return _0x331264?.[0x1]??null;}export function extractNovaActLogDir(_0xa237d){const _0x58f8ae=_0x4cca69;try{const _0x23c3d6=JSON[_0x58f8ae(0x192)](_0xa237d),_0x26f91a=[_0x23c3d6[_0x58f8ae(0x184)],_0x23c3d6[_0x58f8ae(0x172)],_0x23c3d6['logs_dir'],_0x23c3d6['logDir'],_0x23c3d6['log_dir']],_0x2e469e=_0x26f91a['find'](_0x39a8d8=>typeof _0x39a8d8==='string'&&_0x39a8d8[_0x58f8ae(0x14e)]()[_0x58f8ae(0x160)]>0x0);if(_0x2e469e)return _0x2e469e;}catch{}const _0x386e59=_0xa237d[_0x58f8ae(0x1ad)](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0x386e59?.[0x1]??null;}export async function loadNovaActSessionExport(_0x6b9687){const _0x162afa=_0x4cca69;try{return JSON[_0x162afa(0x192)](await readFile(_0x6b9687,_0x162afa(0x11a)));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0x155322){const _0x5cf6a3=_0x4cca69,_0x553db1={'lGWBC':function(_0x545633,_0x61ab15){return _0x545633/_0x61ab15;},'tOpkC':'utf-8','YvuJY':function(_0x209211,_0x5d6eeb){return _0x209211(_0x5d6eeb);},'PoHmZ':function(_0x22638c,_0x5df220,_0x4cb2da){return _0x22638c(_0x5df220,_0x4cb2da);},'FKWPm':function(_0x52e183,_0x2bf538,_0x330d90){return _0x52e183(_0x2bf538,_0x330d90);},'wCkAN':'Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','OHzVs':function(_0x14a574,_0x312f94,_0x5f10b2){return _0x14a574(_0x312f94,_0x5f10b2);},'oNUIv':function(_0x19372f,_0x26a007,_0x3c2612){return _0x19372f(_0x26a007,_0x3c2612);}},_0x59db66=JSON[_0x5cf6a3(0x192)](await readFile(_0x155322['storageStatePath'],_0x553db1[_0x5cf6a3(0x118)])),_0x492631=await _0x553db1['YvuJY'](inspectNovaStorageStateFile,_0x155322['storageStatePath']);await _0x553db1['PoHmZ'](mkdir,_0x155322['userDataDir'],{'recursive':!![]});const _0x1375cb=_0x553db1[_0x5cf6a3(0x15c)](join,_0x155322['userDataDir'],_0x5cf6a3(0x18b)),_0x5a17f4=await inspectNovaProfileFiles({'userDataDir':_0x155322['userDataDir'],'browserProfilePath':_0x1375cb}),{browser:_0x539ad0,process:_0x41a66a}=await _0x553db1[_0x5cf6a3(0x15e)](launchNovaHydrationBrowser,{'userDataDir':_0x155322['userDataDir'],'browserProfilePath':_0x1375cb,'executablePath':_0x155322['executablePath'],'headless':_0x155322['headless'],'launchArgs':_0x155322['launchArgs']}),_0x18d9af=_0x539ad0['contexts']()[0x0];if(!_0x18d9af){await closeNovaHydrationBrowser(_0x539ad0,_0x41a66a);throw new Error(_0x553db1['wCkAN']);}let _0x5ad211=0x0,_0x33343d=0x0;try{const _0x28c9a9=_0x59db66[_0x5cf6a3(0x16b)]??[];if(_0x28c9a9[_0x5cf6a3(0x160)]>0x0){const _0x19bdb5=_0x28c9a9['map'](_0x41cdb0=>{const _0x38e720=_0x5cf6a3;if(_0x41cdb0['expires']!==-0x1)return _0x41cdb0;return _0x33343d+=0x1,{..._0x41cdb0,'expires':Math['floor'](_0x553db1['lGWBC'](Date[_0x38e720(0x12a)](),0x3e8))+NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS};});await _0x18d9af['addCookies'](_0x19bdb5);}for(const _0x239b0c of _0x59db66['origins']??[]){if(!_0x239b0c['localStorage']?.[_0x5cf6a3(0x160)])continue;const _0x47e494=await _0x18d9af['newPage']();await _0x47e494['goto'](_0x239b0c['origin'],{'waitUntil':'domcontentloaded','timeout':0x7530}),await _0x47e494[_0x5cf6a3(0x138)](_0x363e45=>{const _0x2816d7=_0x5cf6a3;for(const _0x5da336 of _0x363e45){window[_0x2816d7(0x1aa)][_0x2816d7(0x148)](_0x5da336[_0x2816d7(0xfe)],_0x5da336[_0x2816d7(0x171)]);}},_0x239b0c[_0x5cf6a3(0x1aa)]),_0x5ad211+=_0x239b0c['localStorage'][_0x5cf6a3(0x160)],await _0x47e494['close']();}if(_0x155322['baseUrl']){const _0x3451d6=await _0x18d9af['newPage']();await _0x3451d6['goto'](_0x155322['baseUrl'],{'waitUntil':'domcontentloaded','timeout':0x7530}),await _0x3451d6[_0x5cf6a3(0x114)]();}await _0x553db1['OHzVs'](ensureChromeProfileShape,_0x155322[_0x5cf6a3(0x127)],_0x1375cb);}finally{await _0x553db1['oNUIv'](closeNovaHydrationBrowser,_0x539ad0,_0x41a66a);}const _0x469c09=await inspectNovaProfileFiles({'userDataDir':_0x155322['userDataDir'],'browserProfilePath':_0x1375cb});return{'browserProfilePath':_0x1375cb,'cookieCount':_0x59db66[_0x5cf6a3(0x16b)]?.[_0x5cf6a3(0x160)]??0x0,'promotedSessionCookieCount':_0x33343d,'originCount':_0x59db66['origins']?.[_0x5cf6a3(0x160)]??0x0,'localStorageEntryCount':_0x5ad211,'storageStateDiagnostics':_0x492631,'profileBefore':_0x5a17f4,'profileAfter':_0x469c09};}async function launchNovaHydrationBrowser(_0x594c6e){const _0x1952f3=_0x4cca69,_0x156b20={'lHVzl':function(_0x4dee14,_0x1117e5,_0x8c3b81){return _0x4dee14(_0x1117e5,_0x8c3b81);},'KNUww':'--profile-directory=Default','DsRgB':'--window-size=1280,720','NXbhD':'--remote-allow-origins=http://localhost','rvzNe':'--headless=new','PPgLD':function(_0x548344,_0x571212,_0x33f5e0,_0xc881ab){return _0x548344(_0x571212,_0x33f5e0,_0xc881ab);},'aMnIN':_0x1952f3(0x13f)};await _0x156b20[_0x1952f3(0x113)](ensureChromeProfileShape,_0x594c6e[_0x1952f3(0x127)],_0x594c6e[_0x1952f3(0x1ab)]);const _0x4267e8=_0x594c6e[_0x1952f3(0x130)]??chromium['executablePath'](),_0xef2afa=await getAvailablePort(),_0x386dd8=[_0x1952f3(0x132)+_0xef2afa,'--user-data-dir='+_0x594c6e['userDataDir'],_0x156b20['KNUww'],_0x156b20[_0x1952f3(0x143)],_0x1952f3(0x181),_0x156b20[_0x1952f3(0x17d)]];_0x594c6e['headless']&&_0x386dd8['push'](_0x156b20[_0x1952f3(0x162)]);_0x386dd8[_0x1952f3(0x1af)](..._0x594c6e['launchArgs']??[]);const _0x374b52=_0x156b20['PPgLD'](spawn,_0x4267e8,_0x386dd8,{'stdio':[_0x1952f3(0x159),_0x156b20['aMnIN'],_0x1952f3(0x13f)]});try{const _0x32e6b9=await _0x156b20[_0x1952f3(0x113)](waitForCdpEndpoint,_0x374b52,_0xef2afa),_0x46366c=await chromium['connectOverCDP'](_0x32e6b9);return{'browser':_0x46366c,'process':_0x374b52};}catch(_0x36e612){await terminateNovaHydrationBrowser(_0x374b52);throw _0x36e612;}}async function closeNovaHydrationBrowser(_0x468a82,_0x59091e){const _0xd808c0=_0x4cca69,_0x44d67e={'qTuyU':function(_0xdd3ba6,_0x166873){return _0xdd3ba6(_0x166873);},'OQPkI':function(_0x350d85,_0x225517,_0x2ade63){return _0x350d85(_0x225517,_0x2ade63);}};try{await _0x468a82[_0xd808c0(0x114)]();}catch{await _0x44d67e['qTuyU'](terminateNovaHydrationBrowser,_0x59091e);return;}const _0x2abe91=await _0x44d67e['OQPkI'](waitForProcessExit,_0x59091e,0x1388);!_0x2abe91&&await terminateNovaHydrationBrowser(_0x59091e);}async function terminateNovaHydrationBrowser(_0x4bc40b){const _0x6676ba=_0x4cca69,_0x1dd4d2={'MyweK':function(_0x1e21e3,_0x51d181){return _0x1e21e3!==_0x51d181;},'LgRnX':_0x6676ba(0x1ac),'YmpjD':function(_0x1200dc,_0x238041){return _0x1200dc===_0x238041;},'MKkoV':'SIGKILL'};if(_0x1dd4d2['MyweK'](_0x4bc40b[_0x6676ba(0x12d)],null))return;try{_0x4bc40b[_0x6676ba(0x1b1)](_0x1dd4d2[_0x6676ba(0x1a2)]);}catch{}await waitForProcessExit(_0x4bc40b,0x7d0);if(_0x1dd4d2[_0x6676ba(0x10a)](_0x4bc40b[_0x6676ba(0x12d)],null)){try{_0x4bc40b[_0x6676ba(0x1b1)](_0x1dd4d2[_0x6676ba(0x1b0)]);}catch{}await waitForProcessExit(_0x4bc40b,0x7d0);}}async function waitForCdpEndpoint(_0x211dbf,_0x41df25){const _0x53cd56=_0x4cca69,_0x24c618={'FGfgx':function(_0x1f8cce,_0x16db0a){return _0x1f8cce===_0x16db0a;},'PtpAt':function(_0x43b118,_0x4099d2){return _0x43b118(_0x4099d2);},'Cwsqg':function(_0x19611e,_0x2cff98){return _0x19611e instanceof _0x2cff98;}},_0x333667=Date[_0x53cd56(0x12a)]();let _0x17efdb;while(Date[_0x53cd56(0x12a)]()-_0x333667<NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS){if(_0x211dbf['exitCode']!==null)throw new Error('Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20'+_0x211dbf['exitCode']);try{const _0x2b9e97=await fetch('http://127.0.0.1:'+_0x41df25+_0x53cd56(0x11f));if(_0x2b9e97['ok']){const _0x5e2e65=await _0x2b9e97['json']();if(_0x24c618['FGfgx'](typeof _0x5e2e65['webSocketDebuggerUrl'],'string'))return _0x5e2e65[_0x53cd56(0x19f)];}}catch(_0x218bd7){_0x17efdb=_0x218bd7;}await _0x24c618['PtpAt'](delay,0x64);}const _0x49d1a8=_0x24c618[_0x53cd56(0x11d)](_0x17efdb,Error)?':\x20'+_0x17efdb['message']:'';throw new Error(_0x53cd56(0x107)+_0x49d1a8);}async function getAvailablePort(){const _0x4afa7b={'qjotT':function(_0x568e9d,_0x1ec9e5){return _0x568e9d(_0x1ec9e5);}};return new Promise((_0x172cce,_0xd5cb77)=>{const _0x2cdaf9=_0x56ab,_0x442a62=createServer();_0x442a62[_0x2cdaf9(0x14f)](_0x2cdaf9(0x17c),_0xd5cb77),_0x442a62['listen'](0x0,'127.0.0.1',()=>{const _0x2d8e72=_0x2cdaf9,_0x5184ec={'ShyFC':function(_0x7f1076,_0xb19b67){return _0x4afa7b['qjotT'](_0x7f1076,_0xb19b67);},'aZoxB':function(_0x4a38fb,_0x5ca024){const _0x3f8f0f=_0x56ab;return _0x4afa7b[_0x3f8f0f(0x123)](_0x4a38fb,_0x5ca024);}},_0x15b9d4=_0x442a62['address']();_0x442a62[_0x2d8e72(0x114)](_0x1a5217=>{const _0x67a530=_0x2d8e72;if(_0x1a5217){_0x5184ec[_0x67a530(0x183)](_0xd5cb77,_0x1a5217);return;}if(typeof _0x15b9d4===_0x67a530(0x19d)&&_0x15b9d4?.[_0x67a530(0x13e)]){_0x5184ec['ShyFC'](_0x172cce,_0x15b9d4[_0x67a530(0x13e)]);return;}_0x5184ec[_0x67a530(0x163)](_0xd5cb77,new Error(_0x67a530(0x103)));});});});}async function waitForProcessExit(_0x3772ba,_0x295e7e){const _0x2dc20c=_0x4cca69,_0x31dc04={'otRbQ':function(_0x523fe4){return _0x523fe4();},'bmpBv':function(_0x1c2597,_0x4b416){return _0x1c2597(_0x4b416);},'EvUMF':function(_0x28a1af,_0x1e0d03,_0x5b9200){return _0x28a1af(_0x1e0d03,_0x5b9200);}};if(_0x3772ba[_0x2dc20c(0x12d)]!==null)return!![];return new Promise(_0x239178=>{const _0x262d7f=_0x2dc20c,_0x1cc514={'odFgC':function(_0x3da2fe,_0x49e1a4){return _0x31dc04['bmpBv'](_0x3da2fe,_0x49e1a4);}},_0x956412=_0x31dc04['EvUMF'](setTimeout,()=>{const _0x23199f=_0x56ab;_0x31dc04[_0x23199f(0x140)](_0x358a5a),_0x239178(![]);},_0x295e7e),_0xbd69d3=()=>{_0x358a5a(),_0x31dc04['bmpBv'](_0x239178,!![]);},_0x358a5a=()=>{const _0x276804=_0x56ab;_0x1cc514[_0x276804(0x182)](clearTimeout,_0x956412),_0x3772ba[_0x276804(0x153)](_0x276804(0x154),_0xbd69d3);};_0x3772ba[_0x262d7f(0x14f)](_0x262d7f(0x154),_0xbd69d3);});}async function delay(_0x31a208){await new Promise(_0x38a73e=>setTimeout(_0x38a73e,_0x31a208));}async function ensureChromeProfileShape(_0x5a7905,_0x5cc404){const _0x3204b5=_0x4cca69,_0x1c407a={'eYnQa':function(_0x411d22,_0x537910,_0x502444){return _0x411d22(_0x537910,_0x502444);}};await mkdir(_0x5cc404,{'recursive':!![]}),await ensureJsonFile(_0x1c407a['eYnQa'](join,_0x5a7905,_0x3204b5(0x175))),await ensureJsonFile(join(_0x5cc404,_0x3204b5(0x18a)));}async function ensureJsonFile(_0x89adba){const _0x5bd5f7=_0x4cca69,_0x3a48ce={'podim':function(_0xe7a85d,_0x4a3f22){return _0xe7a85d(_0x4a3f22);},'LZysu':function(_0x5f567b,_0x78f735,_0x1e3599,_0x4a8cb4){return _0x5f567b(_0x78f735,_0x1e3599,_0x4a8cb4);}};try{await _0x3a48ce[_0x5bd5f7(0x187)](access,_0x89adba);}catch{await _0x3a48ce[_0x5bd5f7(0x126)](writeFile,_0x89adba,'{}','utf-8');}}export function previewNovaActCliCommand(_0x20416a){return truncatePreview(_0x20416a);}
1
+ const _0x2c26de=_0x5373;(function(_0x3e5be0,_0x35ff64){const _0x225457=_0x5373,_0x36db85=_0x3e5be0();while(!![]){try{const _0x54a50f=parseInt(_0x225457(0x133))/0x1+parseInt(_0x225457(0x16f))/0x2*(-parseInt(_0x225457(0x185))/0x3)+parseInt(_0x225457(0x10e))/0x4*(-parseInt(_0x225457(0x17a))/0x5)+parseInt(_0x225457(0x105))/0x6+-parseInt(_0x225457(0x119))/0x7+parseInt(_0x225457(0x13e))/0x8+-parseInt(_0x225457(0x128))/0x9*(-parseInt(_0x225457(0x169))/0xa);if(_0x54a50f===_0x35ff64)break;else _0x36db85['push'](_0x36db85['shift']());}catch(_0x5eabd3){_0x36db85['push'](_0x36db85['shift']());}}}(_0x47f2,0xb3adc));import{spawn}from'child_process';import{createHash}from'crypto';import{access,chmod,mkdir,readFile,readdir,stat,writeFile}from'fs/promises';import{createServer}from'net';import{delimiter,dirname,isAbsolute,join}from'path';import{homedir}from'os';import{chromium}from'playwright';import{quoteShellArg}from'./playwrightCli.js';function _0x5373(_0x51e8ce,_0x3d8aea){_0x51e8ce=_0x51e8ce-0xd9;const _0x47f280=_0x47f2();let _0x5373b1=_0x47f280[_0x51e8ce];return _0x5373b1;}export const NOVA_ACT_CLI_BINARY=_0x2c26de(0x170);function _0x47f2(){const _0x6660df=['map','session','code','ZNLVu','match','4073916YCrZPg','yTdtL','once','utf-8','bnHsT','pjQxt','sort','WpWPc','RPUex','XHYKC','json','BJKDp','BFtih','127.0.0.1','wqDPR','432891kpDEQg','zBYLY','dNNdG','install','userDataDir','sWKvl','contexts','toString','oFFls','size','cookies','509929IJVBUs','\x0astderr:\x20','mqhtk','GRPnl','uzfoR','origins','tdLUJ','timedOut','Muqzf','set','OQhaz','8762392BKERdL','RbfTj','parse','filter','kill','LSLOM','fix','data','entries','oQrEy','For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20','push','ZowuP','slice','rqwpl','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','stdout','iTUGy','message','nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`','stderr:\x20','FapuO','fxaMD','domain','nova-act-cli\x20','sha256','gGALj','commandArgs','--headless','Installed\x20','find','cdpEndpoint','timeoutMs','rg-','SWujV','SFUSv','bQDyf','ZxxLm','now','webSocketDebuggerUrl','digest','YHzzJ','--help','250BAJKyt','YUHuG','ICdwK','stdout:\x20','VjidG','baseUrl','978BGMdNv','act','error','uUMcr','BKJZp','oQeoh','addCookies','wOvwC','--version','add','storageStatePath','4933840igbdWi','ZmmQi','kzzlB','SIGTERM','Rkzsp','logs_directory','args','unknown','act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code=','MHtji','dKpYg','5835RvkPvk','qLCCM','connectOverCDP','domcontentloaded','isDirectory','AtoVw','XITwy','length','--json','wLLVq','origin','exitCode','--profile-directory=Default','vPeTC','qJhFi','name','IqntE','stderr','--user-data-dir=','dLWBX','setItem','ignore','exited\x20with\x20code=','export','...','\x20browser\x20\x22$@\x22\x20','Local\x20State','--launch-arg=','yPqtx','DWCnb','localeCompare','executablePath','update','mtimeMs','SkEkF','browserCommandPath','browserProfilePath','ZQrKJ','AWsAG','SIGKILL','hex','split','timed\x20out\x20after\x20','launchArgs','env','localStorage','JeWPC','null','IKkfp','string','fail','Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20','expires','status','logDir','GSunN','Preferences','--no-first-run','has','bypqP','PZFtW','bdARd','PATH','2688732uzCVZI','tWlIa','pipe','nova-act[cli]','join','RKPKm','Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP','close','KtNUk','4iVUoYl','exit','checks','log_dir','--browser-profile-path','newPage'];_0x47f2=function(){return _0x6660df;};return _0x47f2();}export const NOVA_ACT_CLI_UV_PACKAGE=_0x2c26de(0x108);const NOVA_ACT_CLI_PREVIEW_LIMIT=0xf0,NOVA_ACT_BOOTSTRAP_TIMEOUT_MS=0x2bf20,NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS=0x3a98,NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS=0x7*0x18*0x3c*0x3c;export function toNovaActCliSessionId(_0xf385e){const _0x35361b=_0x2c26de,_0x4d2f2e={'HXTts':_0x35361b(0xee)},_0x4aba9b=createHash(_0x35361b(0x157))[_0x35361b(0xe6)](_0xf385e)[_0x35361b(0x166)](_0x4d2f2e['HXTts'])[_0x35361b(0x14b)](0x0,0xc);return _0x35361b(0x15f)+_0x4aba9b;}export async function inspectNovaStorageStateFile(_0x3769bb){const _0x39fd6e=_0x2c26de,_0xf0f35d={'KfWUk':function(_0x2d21cc,_0x5b63b6){return _0x2d21cc(_0x5b63b6);},'KrIAq':_0x39fd6e(0x11c),'MHtji':_0x39fd6e(0x157),'PZFtW':function(_0x56cba8,_0x3681b3){return _0x56cba8 instanceof _0x3681b3;}};try{const [_0x3499b6,_0x4e450e]=await Promise['all']([_0xf0f35d['KfWUk'](stat,_0x3769bb),readFile(_0x3769bb,_0xf0f35d['KrIAq'])]),_0x40eeb8={'path':_0x3769bb,'exists':!![],'byteLength':Buffer['byteLength'](_0x4e450e),'sha256':createHash(_0xf0f35d[_0x39fd6e(0x183)])['update'](_0x4e450e)['digest'](_0x39fd6e(0xee))};try{const _0x51b08e=JSON['parse'](_0x4e450e),_0x34bf45=_0x51b08e[_0x39fd6e(0x132)]??[],_0x138baf=Math['floor'](Date[_0x39fd6e(0x164)]()/0x3e8),_0x4e5323=new Map();for(const _0x1a8c25 of _0x34bf45){const _0x199e78=_0x4e5323['get'](_0x1a8c25[_0x39fd6e(0x155)])??[];_0x199e78[_0x39fd6e(0x149)](_0x1a8c25['name']),_0x4e5323[_0x39fd6e(0x13c)](_0x1a8c25['domain'],_0x199e78);}return{..._0x40eeb8,'byteLength':_0x3499b6[_0x39fd6e(0x131)],'cookieCount':_0x34bf45['length'],'cookieDomains':[..._0x4e5323[_0x39fd6e(0x146)]()]['sort'](([_0xb20b69],[_0x3cae4e])=>_0xb20b69[_0x39fd6e(0xe4)](_0x3cae4e))['map'](([_0x2878bd,_0x1078be])=>({'domain':_0x2878bd,'count':_0x1078be[_0x39fd6e(0x18c)],'names':_0x1078be[_0x39fd6e(0x11f)]()[_0x39fd6e(0x14b)](0x0,0x19)})),'httpOnlyCookieCount':_0x34bf45['filter'](_0x41a8e8=>_0x41a8e8['httpOnly'])['length'],'secureCookieCount':_0x34bf45[_0x39fd6e(0x141)](_0x1fc8b3=>_0x1fc8b3['secure'])['length'],'sessionCookieCount':_0x34bf45['filter'](_0x3d9235=>_0x3d9235[_0x39fd6e(0xfa)]===-0x1)[_0x39fd6e(0x18c)],'expiredCookieCount':_0x34bf45['filter'](_0x2c7a35=>typeof _0x2c7a35['expires']==='number'&&_0x2c7a35['expires']>0x0&&_0x2c7a35['expires']<_0x138baf)[_0x39fd6e(0x18c)],'originCount':_0x51b08e[_0x39fd6e(0x138)]?.['length']??0x0,'origins':(_0x51b08e['origins']??[])['map'](_0x44e5ad=>({'origin':_0x44e5ad[_0x39fd6e(0x18f)],'localStorageCount':_0x44e5ad['localStorage']?.['length']??0x0,'localStorageKeys':_0x44e5ad['localStorage']?.[_0x39fd6e(0x114)](_0x2964d9=>_0x2964d9[_0x39fd6e(0x194)])[_0x39fd6e(0x11f)]()['slice'](0x0,0x19)??[]}))};}catch(_0x477a8f){return{..._0x40eeb8,'byteLength':_0x3499b6[_0x39fd6e(0x131)],'parseError':_0xf0f35d['PZFtW'](_0x477a8f,Error)?_0x477a8f[_0x39fd6e(0x150)]:String(_0x477a8f)};}}catch(_0x287a56){return{'path':_0x3769bb,'exists':![],'readError':_0xf0f35d[_0x39fd6e(0x102)](_0x287a56,Error)?_0x287a56[_0x39fd6e(0x150)]:_0xf0f35d['KfWUk'](String,_0x287a56)};}}export async function inspectNovaProfileFiles(_0x3fedc0){const _0x5d7862=_0x2c26de,_0xc12dc={'qFksg':function(_0x32a94c,_0x30332e,_0x430cc9){return _0x32a94c(_0x30332e,_0x430cc9);},'bJFOP':_0x5d7862(0xfe),'ZxxLm':'Cookies','uUMcr':function(_0x3b1605,_0x3134e6,_0x22e583,_0x4e2729){return _0x3b1605(_0x3134e6,_0x22e583,_0x4e2729);},'BKJZp':'Network','Muqzf':'Local\x20Storage','AuTka':function(_0x2931c1,_0x10afc6,_0x5a5fb3){return _0x2931c1(_0x10afc6,_0x5a5fb3);},'oFFls':'leveldb','cundn':function(_0x1d0822,_0xb75c63){return _0x1d0822(_0xb75c63);},'sBriJ':function(_0x13d977,_0x3d3329){return _0x13d977(_0x3d3329);},'iTUGy':function(_0x32b352,_0x564e16){return _0x32b352(_0x564e16);},'Rkzsp':function(_0x1a8b0c,_0x1e7b1c){return _0x1a8b0c(_0x1e7b1c);},'tWbvx':function(_0x5318f5,_0x1e4064){return _0x5318f5(_0x1e4064);}},_0x348316=_0xc12dc['qFksg'](join,_0x3fedc0[_0x5d7862(0x12c)],'Local\x20State'),_0x378d42=join(_0x3fedc0[_0x5d7862(0xea)],_0xc12dc['bJFOP']),_0x2f895b=join(_0x3fedc0[_0x5d7862(0xea)],_0xc12dc[_0x5d7862(0x163)]),_0x407f12=_0xc12dc[_0x5d7862(0x172)](join,_0x3fedc0[_0x5d7862(0xea)],_0xc12dc[_0x5d7862(0x173)],'Cookies'),_0x316ee2=join(_0x3fedc0[_0x5d7862(0xea)],_0xc12dc[_0x5d7862(0x13b)]),_0x24424e=_0xc12dc['AuTka'](join,_0x316ee2,_0xc12dc[_0x5d7862(0x130)]),[_0x43d82c,_0x10e00a,_0x36f47e,_0x173c47,_0x1044a4,_0x3cf66d,_0x1bfbd3,_0x3abe72,_0x472589,_0x31ebc2,_0x2cf784]=await Promise['all']([inspectPath(_0x3fedc0[_0x5d7862(0x12c)]),inspectPath(_0x3fedc0['browserProfilePath']),inspectPath(_0x348316),inspectPath(_0x378d42),_0xc12dc['cundn'](inspectPath,_0x2f895b),inspectPath(_0x407f12),_0xc12dc['sBriJ'](inspectPath,_0x316ee2),_0xc12dc[_0x5d7862(0x14f)](inspectPath,_0x24424e),_0xc12dc[_0x5d7862(0x17e)](listDir,_0x3fedc0['userDataDir']),listDir(_0x3fedc0['browserProfilePath']),_0xc12dc['tWbvx'](listDir,_0x24424e)]);return{'userDataDir':_0x3fedc0['userDataDir'],'browserProfilePath':_0x3fedc0[_0x5d7862(0xea)],'rootEntries':_0x472589,'defaultEntries':_0x31ebc2,'localStorageEntries':_0x2cf784,'paths':{'userDataDir':_0x43d82c,'browserProfilePath':_0x10e00a,'localState':_0x36f47e,'preferences':_0x173c47,'cookies':_0x1044a4,'networkCookies':_0x3cf66d,'localStorage':_0x1bfbd3,'levelDb':_0x3abe72}};}async function inspectPath(_0x7e310c){const _0x366287=_0x2c26de,_0x4a0f6b={'kZMfI':function(_0x1d14ff,_0x58871c){return _0x1d14ff(_0x58871c);}};try{const _0x5d45f4=await _0x4a0f6b['kZMfI'](stat,_0x7e310c);return{'path':_0x7e310c,'exists':!![],'isDirectory':_0x5d45f4[_0x366287(0x189)](),'byteLength':_0x5d45f4['isFile']()?_0x5d45f4['size']:undefined,'mtimeMs':_0x5d45f4[_0x366287(0xe7)]};}catch(_0x5aa0ed){return{'path':_0x7e310c,'exists':![],'error':_0x5aa0ed instanceof Error?_0x5aa0ed[_0x366287(0x150)]:String(_0x5aa0ed)};}}async function listDir(_0x17f06d){const _0x79e424=_0x2c26de,_0x5e5946={'YKRKQ':function(_0x519ee3,_0x3ec6f3){return _0x519ee3(_0x3ec6f3);}};try{return(await _0x5e5946['YKRKQ'](readdir,_0x17f06d))[_0x79e424(0x11f)]()[_0x79e424(0x14b)](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x49a714,_0x133657=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x1cb13c=_0x2c26de;return _0x49a714[_0x1cb13c(0x18c)]>_0x133657?_0x49a714[_0x1cb13c(0x14b)](0x0,_0x133657)+'...':_0x49a714;}function truncateOutput(_0x48886d,_0x55f961=0x7d0){const _0x1169f6=_0x2c26de,_0x110cb2={'ZowuP':function(_0x1b0857,_0x334929){return _0x1b0857>_0x334929;},'HZdUT':_0x1169f6(0xde)};return _0x110cb2[_0x1169f6(0x14a)](_0x48886d['length'],_0x55f961)?_0x48886d[_0x1169f6(0x14b)](0x0,_0x55f961)+_0x110cb2['HZdUT']:_0x48886d;}function getNovaActCliBinDirs(_0x93f026){const _0x3eb040=_0x2c26de,_0x4c8963={'wLLVq':'/opt/homebrew/bin'};return[_0x93f026['UV_TOOL_BIN_DIR'],homedir()+'/.local/bin',_0x4c8963[_0x3eb040(0x18e)],'/usr/local/bin'][_0x3eb040(0x141)](_0x4b91ef=>Boolean(_0x4b91ef));}function buildPathWithNovaActCliBins(_0x4495e9){const _0x77ab1c=_0x2c26de,_0x5602bc={'AEbnn':function(_0x2f11ff,_0x14861b){return _0x2f11ff(_0x14861b);}},_0x5ddcbc=new Set(),_0x63fcc2=[..._0x5602bc['AEbnn'](getNovaActCliBinDirs,_0x4495e9),...(_0x4495e9[_0x77ab1c(0x104)]??'')[_0x77ab1c(0xef)](delimiter)]['filter'](_0x4b92d3=>{const _0x38a4cf=_0x77ab1c;if(!_0x4b92d3||_0x5ddcbc[_0x38a4cf(0x100)](_0x4b92d3))return![];return _0x5ddcbc[_0x38a4cf(0x178)](_0x4b92d3),!![];});return _0x63fcc2['join'](delimiter);}export function applyNovaActCliPath(_0x2e3540){_0x2e3540['PATH']=buildPathWithNovaActCliBins(_0x2e3540);}function withNovaActCliPath(_0x549a15){return{..._0x549a15,'PATH':buildPathWithNovaActCliBins(_0x549a15)};}function runBootstrapCommand(_0x508802){const _0x325385={'dLWBX':function(_0x4eae61,_0x1e9487){return _0x4eae61===_0x1e9487;},'LSLOM':function(_0x1c6387,_0x39b60e){return _0x1c6387??_0x39b60e;},'RbfTj':function(_0x45a432,_0x2a80a6){return _0x45a432(_0x2a80a6);},'qlwHt':function(_0x165eda,_0x2f1d8e,_0x578da6){return _0x165eda(_0x2f1d8e,_0x578da6);},'bpDoJ':'data','hFCJb':'close'},{command:_0x2888b8,args:_0x51727e,env:_0x5705f2,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x508802;return new Promise((_0x18ef9b,_0x5b0164)=>{const _0x13f232=_0x5373,_0x28f83e={'sEUAI':'SIGKILL','UajJy':function(_0x4e503a,_0x4b8d85,_0x85bd9){return _0x4e503a(_0x4b8d85,_0x85bd9);}},_0x17895a=spawn(_0x2888b8,_0x51727e,{'env':_0x5705f2,'stdio':['ignore',_0x13f232(0x107),_0x13f232(0x107)]});let _0x60aaf4='',_0x15bf4d='',_0xc6815c=![];const _0x2e393b=_0x325385['qlwHt'](setTimeout,()=>{const _0x228f2b=_0x13f232;_0xc6815c=!![],_0x17895a['kill'](_0x228f2b(0x17d)),_0x28f83e['UajJy'](setTimeout,()=>{try{_0x17895a['kill'](_0x28f83e['sEUAI']);}catch{}},0x3e8);},timeoutMs);_0x17895a['stdout']?.['on'](_0x325385['bpDoJ'],_0x211c51=>{const _0x1391cb=_0x13f232;_0x60aaf4+=_0x211c51[_0x1391cb(0x12f)]();}),_0x17895a['stderr']?.['on'](_0x13f232(0x145),_0x5704d7=>{const _0x4b2c8a=_0x13f232;_0x15bf4d+=_0x5704d7[_0x4b2c8a(0x12f)]();}),_0x17895a['on'](_0x13f232(0x171),_0x3fbc21=>{clearTimeout(_0x2e393b),_0x5b0164(_0x3fbc21);}),_0x17895a['on'](_0x325385['hFCJb'],(_0x12639f,_0x3c8a1d)=>{const _0x548f8a=_0x13f232;clearTimeout(_0x2e393b);if(_0x325385[_0x548f8a(0xd9)](_0x12639f,0x0)){_0x18ef9b({'stdout':_0x60aaf4,'stderr':_0x15bf4d});return;}const _0x3534cf=_0xc6815c?_0x548f8a(0xf0)+timeoutMs+'ms':'exited\x20with\x20code='+_0x325385[_0x548f8a(0x143)](_0x12639f,'null')+'\x20signal='+(_0x3c8a1d??_0x548f8a(0xf5));_0x325385[_0x548f8a(0x13f)](_0x5b0164,new Error(_0x2888b8+'\x20'+_0x51727e[_0x548f8a(0x109)]('\x20')+'\x20'+_0x3534cf+'\x0astdout:\x20'+_0x325385[_0x548f8a(0x13f)](truncateOutput,_0x60aaf4)+_0x548f8a(0x134)+_0x325385['RbfTj'](truncateOutput,_0x15bf4d)));});});}function runCommandAllowFailure(_0x5a64b3){const _0x21a751=_0x2c26de,_0x1e379a={'FapuO':function(_0x1eb045,_0x3a7d39){return _0x1eb045(_0x3a7d39);},'rqwpl':_0x21a751(0xdb),'kzzlB':'pipe','AsGob':'error','JlHgA':'close'},{command:_0x1c040a,args:_0x478e7e,env:_0x54e3b4,timeoutMs:_0x2cabd3}=_0x5a64b3;return new Promise((_0x128fb8,_0x387e5e)=>{const _0x22e11c=_0x21a751,_0x2c420a={'uwTuD':function(_0x13acd9,_0x598c44){return _0x13acd9(_0x598c44);}},_0x1a12e0=spawn(_0x1c040a,_0x478e7e,{'env':_0x54e3b4,'stdio':[_0x1e379a[_0x22e11c(0x14c)],_0x1e379a[_0x22e11c(0x17c)],_0x1e379a[_0x22e11c(0x17c)]]});let _0x247c19='',_0x16117a='',_0x557bb1=![];const _0x2986db=setTimeout(()=>{const _0x1c4271=_0x22e11c;_0x557bb1=!![],_0x1a12e0['kill'](_0x1c4271(0x17d)),setTimeout(()=>{try{_0x1a12e0['kill']('SIGKILL');}catch{}},0x3e8);},_0x2cabd3);_0x1a12e0['stdout']?.['on'](_0x22e11c(0x145),_0x133779=>{_0x247c19+=_0x133779['toString']();}),_0x1a12e0['stderr']?.['on'](_0x22e11c(0x145),_0x1c482b=>{const _0x16bf4a=_0x22e11c;_0x16117a+=_0x1c482b[_0x16bf4a(0x12f)]();}),_0x1a12e0['on'](_0x1e379a['AsGob'],_0x1cc6de=>{const _0x542f56=_0x22e11c;_0x1e379a['FapuO'](clearTimeout,_0x2986db),_0x1e379a[_0x542f56(0x153)](_0x387e5e,_0x1cc6de);}),_0x1a12e0['on'](_0x1e379a['JlHgA'],(_0x295003,_0x5ad38f)=>{_0x2c420a['uwTuD'](clearTimeout,_0x2986db),_0x128fb8({'code':_0x295003,'signal':_0x5ad38f,'stdout':_0x247c19,'stderr':_0x16117a,'timedOut':_0x557bb1});});});}async function resolveActPath(_0x40695e){const _0x209f50=_0x2c26de,_0x29cae3={'bCFpl':function(_0x54997e,_0x5dc61e){return _0x54997e(_0x5dc61e);}},_0x4f6c99=isAbsolute(NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x40695e['PATH']??'')[_0x209f50(0xef)](delimiter)['filter'](Boolean)['map'](_0x11ec4c=>join(_0x11ec4c,NOVA_ACT_CLI_BINARY));for(const _0x537716 of _0x4f6c99){try{return await _0x29cae3['bCFpl'](access,_0x537716),_0x537716;}catch{}}return null;}async function checkNovaActCli(_0x4ce894){const _0x351bc4=_0x2c26de,_0xf356bf={'vPeTC':function(_0xa7c9c0,_0x2735f7){return _0xa7c9c0(_0x2735f7);},'kRgTp':_0x351bc4(0x168)};try{return await _0xf356bf[_0x351bc4(0x192)](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':['browser',_0xf356bf['kRgTp']],'env':_0x4ce894,'timeoutMs':0x7530}),await resolveActPath(_0x4ce894)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0x30150f={}){const _0x47f5db=_0x2c26de,_0x21c710={'tWlIa':function(_0x53f1cb,_0x156b47){return _0x53f1cb(_0x156b47);},'RKPKm':_0x47f5db(0x177),'ySGtl':function(_0x42c160,_0x3a7185){return _0x42c160 instanceof _0x3a7185;},'mqhtk':function(_0x19272d,_0x47fc87){return _0x19272d(_0x47fc87);},'AtoVw':function(_0x43c410,_0x5b0882){return _0x43c410(_0x5b0882);}},_0x1b14ad=_0x21c710['tWlIa'](withNovaActCliPath,_0x30150f['env']??process['env']),_0x42d3d5=await checkNovaActCli(_0x1b14ad);if(_0x42d3d5)return{'installed':![],'actPath':_0x42d3d5,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await _0x21c710[_0x47f5db(0x106)](runBootstrapCommand,{'command':'uv','args':[_0x21c710[_0x47f5db(0x10a)]],'env':_0x1b14ad,'timeoutMs':0x7530});}catch(_0x1a3628){throw new Error(_0x47f5db(0x151)+NOVA_ACT_CLI_BINARY+'`,\x20and\x20`uv`\x20is\x20not\x20available\x20to\x20install\x20it.\x0aInstall\x20uv,\x20or\x20run:\x20uv\x20tool\x20install\x20\x22'+NOVA_ACT_CLI_UV_PACKAGE+'\x22\x0a'+(_0x21c710['ySGtl'](_0x1a3628,Error)?_0x1a3628['message']:_0x21c710[_0x47f5db(0x106)](String,_0x1a3628)));}const _0x1564cf=await _0x21c710[_0x47f5db(0x135)](runBootstrapCommand,{'command':'uv','args':['tool',_0x47f5db(0x12b),NOVA_ACT_CLI_UV_PACKAGE],'env':_0x1b14ad,'timeoutMs':_0x30150f['timeoutMs']??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x212857=await _0x21c710['tWlIa'](checkNovaActCli,_0x1b14ad);if(!_0x212857)throw new Error(_0x47f5db(0x15b)+NOVA_ACT_CLI_UV_PACKAGE+',\x20but\x20`'+NOVA_ACT_CLI_BINARY+_0x47f5db(0x14d)+_0x21c710['AtoVw'](getNovaActCliBinDirs,_0x1b14ad)[_0x47f5db(0x109)](',\x20')+'\x20is\x20on\x20PATH.\x0astdout:\x20'+_0x21c710[_0x47f5db(0x18a)](truncateOutput,_0x1564cf['stdout'])+_0x47f5db(0x134)+_0x21c710['tWlIa'](truncateOutput,_0x1564cf[_0x47f5db(0x196)]));return{'installed':!![],'actPath':_0x212857,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x1564cf[_0x47f5db(0x14e)],'stderr':_0x1564cf[_0x47f5db(0x196)]};}function parseNovaActDoctorOutput(_0x367b4a){try{return JSON['parse'](_0x367b4a);}catch{return null;}}function buildNovaActCliPreflightError(_0x5e4761){const _0x665ac=_0x2c26de,_0x21b963={'YUHuG':function(_0x338a7f,_0x58345f){return _0x338a7f??_0x58345f;},'sWKvl':'null','lJFfh':function(_0x7e998c,_0x346eae){return _0x7e998c(_0x346eae);},'oQeoh':function(_0x27ab55,_0x942eeb){return _0x27ab55(_0x942eeb);},'ZNLVu':'Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.','APPNy':'Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.'},{checks:_0x30a630,stdout:_0x3f0966,stderr:_0x23150f,env:_0x4f4d01,code:_0x1897dd,signal:_0x3f2614,timedOut:_0x48d624}=_0x5e4761,_0x4c2c0d=_0x30a630['filter'](_0x5f37e6=>_0x5f37e6[_0x665ac(0xfb)]===_0x665ac(0xf8)),_0x2dab2f=_0x4c2c0d['length']>0x0?_0x4c2c0d[_0x665ac(0x114)](_0x30d695=>{const _0x145dc6=_0x665ac,_0x3e6747=_0x30d695[_0x145dc6(0x144)]?'\x20Fix:\x20'+_0x30d695[_0x145dc6(0x144)]:'';return'-\x20'+_0x30d695[_0x145dc6(0x194)]+':\x20'+_0x30d695['message']+'.'+_0x3e6747;})[_0x665ac(0x109)]('\x0a'):[_0x48d624?'act\x20browser\x20doctor\x20--json\x20timed\x20out':_0x665ac(0x182)+_0x21b963[_0x665ac(0x16a)](_0x1897dd,_0x21b963[_0x665ac(0x12d)])+'\x20signal='+(_0x3f2614??_0x21b963[_0x665ac(0x12d)]),_0x3f0966?_0x665ac(0x16c)+_0x21b963['lJFfh'](truncateOutput,_0x3f0966):'',_0x23150f?_0x665ac(0x152)+_0x21b963[_0x665ac(0x174)](truncateOutput,_0x23150f):''][_0x665ac(0x141)](Boolean)['join']('\x0a'),_0x56473b=_0x4f4d01['AWS_PROFILE']?.['trim'](),_0x1e644a=_0x56473b?_0x665ac(0x148)+_0x56473b:'For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>';return new Error([_0x21b963[_0x665ac(0x117)],_0x2dab2f,_0x21b963['APPNy'],_0x1e644a][_0x665ac(0x109)]('\x0a'));}export async function preflightNovaActCli(_0x116ea9={}){const _0x411499=_0x2c26de,_0x4c8123={'eiGtU':'doctor','jjRnP':'--json','SFUSv':function(_0x34591f,_0x10c5a9){return _0x34591f!==_0x10c5a9;},'cKCLL':function(_0x56a8bc,_0x2c39e5){return _0x56a8bc(_0x2c39e5);}},_0x2480af=withNovaActCliPath(_0x116ea9[_0x411499(0xf2)]??process['env']),_0x5630f2=await runCommandAllowFailure({'command':NOVA_ACT_CLI_BINARY,'args':['browser',_0x4c8123['eiGtU'],_0x4c8123['jjRnP']],'env':_0x2480af,'timeoutMs':_0x116ea9['timeoutMs']??0x7530}),_0x520542=parseNovaActDoctorOutput(_0x5630f2['stdout']),_0x4270b3=_0x520542?.['data']?.[_0x411499(0x110)]??[],_0x7fc39=_0x4270b3['some'](_0x207408=>_0x207408['status']==='fail');if(_0x4c8123[_0x411499(0x161)](_0x5630f2[_0x411499(0x116)],0x0)||_0x5630f2['timedOut']||_0x7fc39)throw _0x4c8123['cKCLL'](buildNovaActCliPreflightError,{'checks':_0x4270b3,'stdout':_0x5630f2['stdout'],'stderr':_0x5630f2[_0x411499(0x196)],'env':_0x2480af,'code':_0x5630f2['code'],'signal':_0x5630f2['signal'],'timedOut':_0x5630f2[_0x411499(0x13a)]});return{'checks':_0x4270b3,'logDir':_0x520542?.[_0x411499(0x111)]??_0x520542?.[_0x411499(0xfc)]};}function getNovaActCliSubcommand(_0x6c8747){const _0x53f29c=_0x2c26de,[_0x27391f=_0x53f29c(0x181),_0xb5cc82]=_0x6c8747;return _0x27391f===_0x53f29c(0x115)&&_0xb5cc82?_0x27391f+'\x20'+_0xb5cc82:_0x27391f;}function supportsBrowserSessionOptions(_0x5d9cff){const _0xee627a=_0x2c26de,_0x1ebe9a={'wqDPR':function(_0x2922cc,_0x1d068a){return _0x2922cc===_0x1d068a;},'ZykTh':function(_0xfca887,_0x4f4a39){return _0xfca887===_0x4f4a39;},'wwfek':'export','JeWPC':_0xee627a(0x10c)};return!(_0x1ebe9a[_0xee627a(0x127)](_0x5d9cff[0x0],'session')&&(_0x1ebe9a['ZykTh'](_0x5d9cff[0x1],_0x1ebe9a['wwfek'])||_0x5d9cff[0x1]===_0x1ebe9a[_0xee627a(0xf4)]));}function buildSharedArgs(_0x450e9c,_0xfd6aa0){const _0x5677ec=_0x2c26de,_0x2a8cd6={'mtoVE':'--session-id','bQDyf':_0x5677ec(0x18d),'OQhaz':function(_0x54493c,_0xefa942){return _0x54493c(_0xefa942);},'fxaMD':'--quiet','rqeMQ':'--headed','ONupY':'--cdp'},_0x595f=[_0x2a8cd6['mtoVE'],_0x450e9c['sessionId'],_0x2a8cd6[_0x5677ec(0x162)]];if(_0x2a8cd6[_0x5677ec(0x13d)](supportsBrowserSessionOptions,_0xfd6aa0)){_0x595f[_0x5677ec(0x149)](_0x2a8cd6[_0x5677ec(0x154)]),_0x595f['push'](_0x450e9c['headless']?_0x5677ec(0x15a):_0x2a8cd6['rqeMQ']);_0x450e9c[_0x5677ec(0xea)]&&_0x595f['push'](_0x5677ec(0x112),_0x450e9c[_0x5677ec(0xea)]);_0x450e9c[_0x5677ec(0xe5)]&&_0x595f[_0x5677ec(0x149)]('--executable-path',_0x450e9c[_0x5677ec(0xe5)]);_0x450e9c['cdpEndpoint']&&_0x595f['push'](_0x2a8cd6['ONupY'],_0x450e9c[_0x5677ec(0x15d)]);for(const _0x23640c of _0x450e9c[_0x5677ec(0xf1)]??[]){_0x595f['push'](_0x5677ec(0xe1)+_0x23640c);}}return _0x595f;}export function buildNovaActCliInvocation(_0x22b9b0,_0x5e89d4){const _0x55e04d=_0x2c26de,_0xdf0b49={'SWujV':function(_0x464b4b,_0x292b86,_0x22adfd){return _0x464b4b(_0x292b86,_0x22adfd);},'SkEkF':'browser'},_0x4fa471=_0xdf0b49[_0x55e04d(0x160)](buildSharedArgs,_0x22b9b0,_0x5e89d4),_0xf6edb9=[_0xdf0b49[_0x55e04d(0xe8)],..._0x5e89d4,..._0x4fa471];return{'command':NOVA_ACT_CLI_BINARY,'args':_0xf6edb9,'shellCommand':[NOVA_ACT_CLI_BINARY,_0xdf0b49[_0x55e04d(0xe8)],..._0x5e89d4['map'](quoteShellArg),..._0x4fa471[_0x55e04d(0x114)](quoteShellArg)]['join']('\x20'),'subcommand':getNovaActCliSubcommand(_0x5e89d4)};}export function buildNovaActCliCommandPrefix(){return NOVA_ACT_CLI_BINARY+'\x20browser';}export function buildNovaActCliBrowserWrapperPath(_0x75ac47){const _0x495d11=_0x2c26de,_0xd56914={'bnHsT':function(_0x4e7ce1,_0xe33c00,_0x531e37){return _0x4e7ce1(_0xe33c00,_0x531e37);},'WpWPc':'nova-act-browser'};return _0xd56914[_0x495d11(0x11d)](join,dirname(_0x75ac47[_0x495d11(0x12c)]),_0xd56914[_0x495d11(0x120)]);}export async function writeNovaActCliBrowserWrapper(_0x3b1a4f){const _0x2f3002=_0x2c26de,_0x472c23={'KtNUk':function(_0x28cafb,_0x5411c3,_0x3af4b1){return _0x28cafb(_0x5411c3,_0x3af4b1);},'qLCCM':_0x2f3002(0xdd),'zBYLY':function(_0x33547e,_0xffae27){return _0x33547e(_0xffae27);},'XITwy':function(_0x7fca43,_0x5ce338,_0x2527e9,_0x4124fb){return _0x7fca43(_0x5ce338,_0x2527e9,_0x4124fb);},'lnrqJ':function(_0x37c9e3,_0x1e0865){return _0x37c9e3(_0x1e0865);}},_0xbeb8a2=_0x3b1a4f[_0x2f3002(0xe9)]??buildNovaActCliBrowserWrapperPath(_0x3b1a4f),_0x3c7689=_0x472c23[_0x2f3002(0x10d)](buildSharedArgs,_0x3b1a4f,['execute'])['map'](quoteShellArg)['join']('\x20'),_0xb7375e=buildSharedArgs(_0x3b1a4f,[_0x2f3002(0x115),_0x472c23[_0x2f3002(0x186)]])[_0x2f3002(0x114)](quoteShellArg)['join']('\x20');return await mkdir(_0x472c23[_0x2f3002(0x129)](dirname,_0xbeb8a2),{'recursive':!![]}),await _0x472c23[_0x2f3002(0x10d)](mkdir,_0x3b1a4f['userDataDir'],{'recursive':!![]}),await _0x472c23[_0x2f3002(0x18b)](writeFile,_0xbeb8a2,'#!/usr/bin/env\x20bash\x0aset\x20-euo\x20pipefail\x0aif\x20[[\x20\x22${1:-}\x22\x20==\x20\x22session\x22\x20&&\x20(\x20\x22${2:-}\x22\x20==\x20\x22export\x22\x20||\x20\x22${2:-}\x22\x20==\x20\x22close\x22\x20)\x20]];\x20then\x0a\x20\x20exec\x20'+quoteShellArg(NOVA_ACT_CLI_BINARY)+_0x2f3002(0xdf)+_0xb7375e+'\x0afi\x0a\x0aexec\x20'+_0x472c23['lnrqJ'](quoteShellArg,NOVA_ACT_CLI_BINARY)+_0x2f3002(0xdf)+_0x3c7689+'\x0a','utf-8'),await chmod(_0xbeb8a2,0x1ed),_0xbeb8a2;}export function buildNovaActCliSharedOptionsSuffix(_0x11f2d2,_0x42d508=['execute']){const _0x370692=_0x2c26de,_0x1737b3={'ceXxf':function(_0x2f6279,_0x27337,_0x4997be){return _0x2f6279(_0x27337,_0x4997be);}};return _0x1737b3['ceXxf'](buildSharedArgs,_0x11f2d2,_0x42d508)[_0x370692(0x114)](quoteShellArg)['join']('\x20');}export async function runNovaActCliCommand(_0x5907a2){const _0x32f74b=_0x2c26de,_0x29aea2={'qbWae':function(_0x30e6ec,_0x2fa18b){return _0x30e6ec===_0x2fa18b;},'GSunN':function(_0x500b30,_0xd1f229){return _0x500b30??_0xd1f229;},'dLRit':'null','RHLrn':function(_0x17bd21,_0x696fb8){return _0x17bd21(_0x696fb8);},'zqvli':function(_0x3f9919,_0x1eb261,_0x4acd7f,_0xaa610b){return _0x3f9919(_0x1eb261,_0x4acd7f,_0xaa610b);},'yTdtL':_0x32f74b(0x107),'wOvwC':_0x32f74b(0x145),'mlnwm':_0x32f74b(0x10c),'EpJTM':function(_0x1efe61,_0x167a3e,_0x26b873){return _0x1efe61(_0x167a3e,_0x26b873);}};await _0x29aea2['EpJTM'](mkdir,_0x5907a2['userDataDir'],{'recursive':!![]});const _0x2c686f=buildNovaActCliInvocation(_0x5907a2,_0x5907a2[_0x32f74b(0x159)]);return new Promise((_0x1b6087,_0x5e43bc)=>{const _0x4ecf46=_0x32f74b,_0x8ea239={'bdARd':function(_0x4bbb30,_0x4fd16d){return _0x4bbb30(_0x4fd16d);}},_0x232cce=_0x29aea2['zqvli'](spawn,_0x2c686f['command'],_0x2c686f[_0x4ecf46(0x180)],{'cwd':_0x5907a2['cwd'],'env':_0x5907a2['env'],'stdio':[_0x4ecf46(0xdb),_0x29aea2[_0x4ecf46(0x11a)],_0x29aea2['yTdtL']]});let _0x3b0c38='',_0x20a17a='',_0x2a22af=![];const _0x492955=_0x5907a2[_0x4ecf46(0x15e)]&&_0x5907a2[_0x4ecf46(0x15e)]>0x0?setTimeout(()=>{const _0x37c624=_0x4ecf46,_0x59b75d={'uzfoR':'SIGKILL'};_0x2a22af=!![],_0x232cce[_0x37c624(0x142)](_0x37c624(0x17d)),setTimeout(()=>{const _0xd19489=_0x37c624;try{_0x232cce['kill'](_0x59b75d[_0xd19489(0x137)]);}catch{}},0x3e8);},_0x5907a2['timeoutMs']):null;_0x232cce[_0x4ecf46(0x14e)]?.['on'](_0x29aea2[_0x4ecf46(0x176)],_0x3e82d4=>{_0x3b0c38+=_0x3e82d4['toString']();}),_0x232cce[_0x4ecf46(0x196)]?.['on'](_0x29aea2['wOvwC'],_0x2c76b0=>{_0x20a17a+=_0x2c76b0['toString']();}),_0x232cce['on']('error',_0x358587=>{const _0x4d34cf=_0x4ecf46;if(_0x492955)_0x8ea239[_0x4d34cf(0x103)](clearTimeout,_0x492955);_0x8ea239['bdARd'](_0x5e43bc,_0x358587);}),_0x232cce['on'](_0x29aea2['mlnwm'],(_0x39e9c6,_0x297691)=>{const _0x11a370=_0x4ecf46;if(_0x492955)clearTimeout(_0x492955);if(_0x29aea2['qbWae'](_0x39e9c6,0x0)){_0x1b6087({'stdout':_0x3b0c38,'stderr':_0x20a17a,'invocation':_0x2c686f});return;}const _0x2b6a5f=_0x2a22af?'timed\x20out\x20after\x20'+_0x5907a2[_0x11a370(0x15e)]+'ms':_0x11a370(0xdc)+_0x29aea2[_0x11a370(0xfd)](_0x39e9c6,_0x29aea2['dLRit'])+'\x20signal='+_0x29aea2['GSunN'](_0x297691,_0x11a370(0xf5));_0x5e43bc(new Error(_0x11a370(0x156)+_0x2c686f['subcommand']+'\x20'+_0x2b6a5f+'\x0astdout:\x20'+truncateOutput(_0x3b0c38)+'\x0astderr:\x20'+_0x29aea2['RHLrn'](truncateOutput,_0x20a17a)));});});}export function parseNovaActCliCommand(_0x279230){const _0x25ebd2=_0x279230['match'](/(?:^|\s)(?:(?:"[^"]*\/act"|'[^']*\/act'|\S*\/act|act)\s+browser|(?:"[^"]*\/nova-act-browser"|'[^']*\/nova-act-browser'|\S*\/nova-act-browser|nova-act-browser))\s+(session\s+[a-z-]+|[a-z][a-z-]*)\b/);return _0x25ebd2?.[0x1]??null;}export function extractNovaActLogDir(_0x429e30){const _0x3c8251=_0x2c26de;try{const _0xfe6bc2=JSON[_0x3c8251(0x140)](_0x429e30),_0x2a4a36=[_0xfe6bc2[_0x3c8251(0x17f)],_0xfe6bc2['logsDirectory'],_0xfe6bc2['logs_dir'],_0xfe6bc2[_0x3c8251(0xfc)],_0xfe6bc2[_0x3c8251(0x111)]],_0x2d6443=_0x2a4a36[_0x3c8251(0x15c)](_0x523dfe=>typeof _0x523dfe===_0x3c8251(0xf7)&&_0x523dfe['trim']()['length']>0x0);if(_0x2d6443)return _0x2d6443;}catch{}const _0x13d137=_0x429e30[_0x3c8251(0x118)](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0x13d137?.[0x1]??null;}export async function loadNovaActSessionExport(_0x5da660){const _0x47f596=_0x2c26de,_0xac508d={'AWsAG':function(_0x9393d3,_0x1196be,_0x1c1995){return _0x9393d3(_0x1196be,_0x1c1995);}};try{return JSON['parse'](await _0xac508d[_0x47f596(0xec)](readFile,_0x5da660,'utf-8'));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0xb8aecd){const _0x10ff60=_0x2c26de,_0x56f054={'yPqtx':function(_0x586f6e,_0x4ee4f1){return _0x586f6e+_0x4ee4f1;},'LiMiJ':function(_0x35735e,_0x1e6623){return _0x35735e/_0x1e6623;},'BFtih':function(_0x6f5fcc,_0x3f40e4){return _0x6f5fcc(_0x3f40e4);},'dKpYg':function(_0x5b5c15,_0x48f5dd,_0x166527){return _0x5b5c15(_0x48f5dd,_0x166527);},'nRGOQ':function(_0xccdff7,_0x214433){return _0xccdff7(_0x214433);},'YHzzJ':'Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','IKkfp':function(_0x1573ac,_0x330da6){return _0x1573ac>_0x330da6;},'lKVBp':function(_0x4351ff,_0xd26fec,_0x1c3115){return _0x4351ff(_0xd26fec,_0x1c3115);}},_0x42f8ef=JSON[_0x10ff60(0x140)](await readFile(_0xb8aecd['storageStatePath'],'utf-8')),_0x464bad=await _0x56f054[_0x10ff60(0x125)](inspectNovaStorageStateFile,_0xb8aecd[_0x10ff60(0x179)]);await _0x56f054[_0x10ff60(0x184)](mkdir,_0xb8aecd['userDataDir'],{'recursive':!![]});const _0x27db6b=join(_0xb8aecd['userDataDir'],'Default'),_0x2ce4f1=await inspectNovaProfileFiles({'userDataDir':_0xb8aecd['userDataDir'],'browserProfilePath':_0x27db6b}),{browser:_0x3e6904,process:_0x2753eb}=await _0x56f054['nRGOQ'](launchNovaHydrationBrowser,{'userDataDir':_0xb8aecd[_0x10ff60(0x12c)],'browserProfilePath':_0x27db6b,'executablePath':_0xb8aecd[_0x10ff60(0xe5)],'headless':_0xb8aecd['headless'],'launchArgs':_0xb8aecd[_0x10ff60(0xf1)]}),_0x21fbc6=_0x3e6904[_0x10ff60(0x12e)]()[0x0];if(!_0x21fbc6){await closeNovaHydrationBrowser(_0x3e6904,_0x2753eb);throw new Error(_0x56f054[_0x10ff60(0x167)]);}let _0x220932=0x0,_0x146dd6=0x0;try{const _0x432e43=_0x42f8ef['cookies']??[];if(_0x56f054[_0x10ff60(0xf6)](_0x432e43[_0x10ff60(0x18c)],0x0)){const _0x30de41=_0x432e43[_0x10ff60(0x114)](_0x2ceb5a=>{const _0x33abec=_0x10ff60;if(_0x2ceb5a['expires']!==-0x1)return _0x2ceb5a;return _0x146dd6+=0x1,{..._0x2ceb5a,'expires':_0x56f054[_0x33abec(0xe2)](Math['floor'](_0x56f054['LiMiJ'](Date[_0x33abec(0x164)](),0x3e8)),NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS)};});await _0x21fbc6[_0x10ff60(0x175)](_0x30de41);}for(const _0x9620c2 of _0x42f8ef['origins']??[]){if(!_0x9620c2[_0x10ff60(0xf3)]?.[_0x10ff60(0x18c)])continue;const _0x723eb3=await _0x21fbc6[_0x10ff60(0x113)]();await _0x723eb3['goto'](_0x9620c2['origin'],{'waitUntil':_0x10ff60(0x188),'timeout':0x7530}),await _0x723eb3['evaluate'](_0x2de07e=>{const _0x284ec7=_0x10ff60;for(const _0x5add2a of _0x2de07e){window[_0x284ec7(0xf3)][_0x284ec7(0xda)](_0x5add2a['name'],_0x5add2a['value']);}},_0x9620c2[_0x10ff60(0xf3)]),_0x220932+=_0x9620c2[_0x10ff60(0xf3)][_0x10ff60(0x18c)],await _0x723eb3[_0x10ff60(0x10c)]();}if(_0xb8aecd[_0x10ff60(0x16e)]){const _0x88c238=await _0x21fbc6['newPage']();await _0x88c238['goto'](_0xb8aecd[_0x10ff60(0x16e)],{'waitUntil':_0x10ff60(0x188),'timeout':0x7530}),await _0x88c238['close']();}await ensureChromeProfileShape(_0xb8aecd[_0x10ff60(0x12c)],_0x27db6b);}finally{await _0x56f054['lKVBp'](closeNovaHydrationBrowser,_0x3e6904,_0x2753eb);}const _0x320d92=await _0x56f054[_0x10ff60(0x125)](inspectNovaProfileFiles,{'userDataDir':_0xb8aecd[_0x10ff60(0x12c)],'browserProfilePath':_0x27db6b});return{'browserProfilePath':_0x27db6b,'cookieCount':_0x42f8ef[_0x10ff60(0x132)]?.[_0x10ff60(0x18c)]??0x0,'promotedSessionCookieCount':_0x146dd6,'originCount':_0x42f8ef['origins']?.[_0x10ff60(0x18c)]??0x0,'localStorageEntryCount':_0x220932,'storageStateDiagnostics':_0x464bad,'profileBefore':_0x2ce4f1,'profileAfter':_0x320d92};}async function launchNovaHydrationBrowser(_0x19c2f){const _0x2e5b60=_0x2c26de,_0x51570d={'UZhZH':function(_0x2c84a5){return _0x2c84a5();},'BryFt':_0x2e5b60(0x191),'uTaIl':_0x2e5b60(0xff),'qJhFi':'--headless=new','kRcLK':'ignore','bsiaN':_0x2e5b60(0x107),'VjidG':function(_0x550b13,_0x45913f){return _0x550b13(_0x45913f);}};await ensureChromeProfileShape(_0x19c2f[_0x2e5b60(0x12c)],_0x19c2f[_0x2e5b60(0xea)]);const _0x1148c9=_0x19c2f['executablePath']??chromium[_0x2e5b60(0xe5)](),_0x34a0e7=await _0x51570d['UZhZH'](getAvailablePort),_0x2c45b5=['--remote-debugging-port='+_0x34a0e7,_0x2e5b60(0x197)+_0x19c2f[_0x2e5b60(0x12c)],_0x51570d['BryFt'],'--window-size=1280,720',_0x51570d['uTaIl'],'--remote-allow-origins=http://localhost'];_0x19c2f['headless']&&_0x2c45b5['push'](_0x51570d[_0x2e5b60(0x193)]);_0x2c45b5[_0x2e5b60(0x149)](..._0x19c2f[_0x2e5b60(0xf1)]??[]);const _0x1f135a=spawn(_0x1148c9,_0x2c45b5,{'stdio':[_0x51570d['kRcLK'],'pipe',_0x51570d['bsiaN']]});try{const _0x2362cc=await waitForCdpEndpoint(_0x1f135a,_0x34a0e7),_0x68433a=await chromium[_0x2e5b60(0x187)](_0x2362cc);return{'browser':_0x68433a,'process':_0x1f135a};}catch(_0x5ac5c5){await _0x51570d[_0x2e5b60(0x16d)](terminateNovaHydrationBrowser,_0x1f135a);throw _0x5ac5c5;}}async function closeNovaHydrationBrowser(_0x3ca0a5,_0x1fdc53){const _0xebaa37=_0x2c26de;try{await _0x3ca0a5[_0xebaa37(0x10c)]();}catch{await terminateNovaHydrationBrowser(_0x1fdc53);return;}const _0x2ae14f=await waitForProcessExit(_0x1fdc53,0x1388);!_0x2ae14f&&await terminateNovaHydrationBrowser(_0x1fdc53);}async function terminateNovaHydrationBrowser(_0x3fcc98){const _0x3f0875=_0x2c26de,_0xd28679={'RPUex':function(_0x5026c0,_0x38adb6){return _0x5026c0===_0x38adb6;}};if(_0x3fcc98['exitCode']!==null)return;try{_0x3fcc98[_0x3f0875(0x142)]('SIGTERM');}catch{}await waitForProcessExit(_0x3fcc98,0x7d0);if(_0xd28679[_0x3f0875(0x121)](_0x3fcc98['exitCode'],null)){try{_0x3fcc98['kill'](_0x3f0875(0xed));}catch{}await waitForProcessExit(_0x3fcc98,0x7d0);}}async function waitForCdpEndpoint(_0x2ec666,_0x14d956){const _0x18f467=_0x2c26de,_0x57c933={'VJrYa':function(_0x3325fc,_0x267319){return _0x3325fc<_0x267319;},'lDVCj':function(_0x2de315,_0x129584){return _0x2de315-_0x129584;},'GRPnl':function(_0x25b970,_0x4f0258){return _0x25b970(_0x4f0258);},'VgPCU':function(_0x4e47a7,_0x3ee4d6){return _0x4e47a7 instanceof _0x3ee4d6;}},_0x528917=Date[_0x18f467(0x164)]();let _0x2789f1;while(_0x57c933['VJrYa'](_0x57c933['lDVCj'](Date[_0x18f467(0x164)](),_0x528917),NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS)){if(_0x2ec666[_0x18f467(0x190)]!==null)throw new Error(_0x18f467(0xf9)+_0x2ec666['exitCode']);try{const _0x1f9916=await _0x57c933[_0x18f467(0x136)](fetch,'http://127.0.0.1:'+_0x14d956+'/json/version');if(_0x1f9916['ok']){const _0x30fe3f=await _0x1f9916[_0x18f467(0x123)]();if(typeof _0x30fe3f[_0x18f467(0x165)]===_0x18f467(0xf7))return _0x30fe3f[_0x18f467(0x165)];}}catch(_0x95e972){_0x2789f1=_0x95e972;}await delay(0x64);}const _0x4436de=_0x57c933['VgPCU'](_0x2789f1,Error)?':\x20'+_0x2789f1[_0x18f467(0x150)]:'';throw new Error(_0x18f467(0x10b)+_0x4436de);}async function getAvailablePort(){const _0x46266e=_0x2c26de,_0x518dbb={'WjPtB':function(_0x2b156f,_0xa0ffb3){return _0x2b156f(_0xa0ffb3);},'dZPch':'object','IqntE':'error','ZmmQi':_0x46266e(0x126)};return new Promise((_0xec68a,_0xabfc4c)=>{const _0x819c1f=_0x46266e,_0x375f99={'jpJaH':function(_0x570cab,_0x4c365e){return _0x518dbb['WjPtB'](_0x570cab,_0x4c365e);},'dNNdG':function(_0x59bfba,_0x5674a6){return _0x59bfba===_0x5674a6;},'bypqP':_0x518dbb['dZPch']},_0x52aa8b=createServer();_0x52aa8b[_0x819c1f(0x11b)](_0x518dbb[_0x819c1f(0x195)],_0xabfc4c),_0x52aa8b['listen'](0x0,_0x518dbb[_0x819c1f(0x17b)],()=>{const _0x1d9f14=_0x819c1f,_0x13eeb3=_0x52aa8b['address']();_0x52aa8b[_0x1d9f14(0x10c)](_0x672db=>{const _0x1d0516=_0x1d9f14;if(_0x672db){_0x375f99['jpJaH'](_0xabfc4c,_0x672db);return;}if(_0x375f99[_0x1d0516(0x12a)](typeof _0x13eeb3,_0x375f99[_0x1d0516(0x101)])&&_0x13eeb3?.['port']){_0x375f99['jpJaH'](_0xec68a,_0x13eeb3['port']);return;}_0x375f99['jpJaH'](_0xabfc4c,new Error('Failed\x20to\x20allocate\x20hydration\x20browser\x20port'));});});});}async function waitForProcessExit(_0x3f4046,_0x45d1d9){const _0x4f7970=_0x2c26de,_0x33e360={'tdLUJ':function(_0x145dff){return _0x145dff();},'ZQrKJ':function(_0x41d6c0,_0x233975){return _0x41d6c0(_0x233975);},'XHYKC':_0x4f7970(0x10f),'CmvXV':function(_0x111be3,_0x36a45f){return _0x111be3(_0x36a45f);},'ICdwK':function(_0x440c84,_0x107698,_0x5c5b76){return _0x440c84(_0x107698,_0x5c5b76);},'oQrEy':function(_0x34a87f,_0x4182ab){return _0x34a87f!==_0x4182ab;}};if(_0x33e360[_0x4f7970(0x147)](_0x3f4046[_0x4f7970(0x190)],null))return!![];return new Promise(_0xdb7834=>{const _0x582854=_0x4f7970,_0x5c3d89={'BJKDp':function(_0x4bee27){const _0x5a208e=_0x5373;return _0x33e360[_0x5a208e(0x139)](_0x4bee27);},'DWCnb':function(_0x21916d,_0x5b8404){return _0x33e360['CmvXV'](_0x21916d,_0x5b8404);}},_0x58cf4c=_0x33e360[_0x582854(0x16b)](setTimeout,()=>{const _0x239586=_0x582854;_0x5c3d89[_0x239586(0x124)](_0xf27809),_0x5c3d89[_0x239586(0xe3)](_0xdb7834,![]);},_0x45d1d9),_0x5c16aa=()=>{_0x33e360['tdLUJ'](_0xf27809),_0xdb7834(!![]);},_0xf27809=()=>{const _0x2a77bf=_0x582854;_0x33e360[_0x2a77bf(0xeb)](clearTimeout,_0x58cf4c),_0x3f4046['off'](_0x33e360[_0x2a77bf(0x122)],_0x5c16aa);};_0x3f4046[_0x582854(0x11b)](_0x582854(0x10f),_0x5c16aa);});}async function delay(_0x342cb6){await new Promise(_0x59e76c=>setTimeout(_0x59e76c,_0x342cb6));}async function ensureChromeProfileShape(_0x2454ec,_0x3a94df){const _0x5ecb4b=_0x2c26de,_0x18b294={'gGALj':function(_0x17bf44,_0x983c0a,_0x4c66e0){return _0x17bf44(_0x983c0a,_0x4c66e0);},'pjQxt':function(_0x203e8a,_0xffc7af,_0x22b4ef){return _0x203e8a(_0xffc7af,_0x22b4ef);}};await _0x18b294['gGALj'](mkdir,_0x3a94df,{'recursive':!![]}),await ensureJsonFile(_0x18b294[_0x5ecb4b(0x11e)](join,_0x2454ec,_0x5ecb4b(0xe0))),await ensureJsonFile(_0x18b294[_0x5ecb4b(0x158)](join,_0x3a94df,'Preferences'));}async function ensureJsonFile(_0x2ddd1e){const _0x35db54=_0x2c26de,_0x49ad28={'Dobui':function(_0x1b962a,_0x59d056){return _0x1b962a(_0x59d056);},'HKvTz':function(_0x2f26c4,_0x599c4b,_0x1b8012,_0x401a7b){return _0x2f26c4(_0x599c4b,_0x1b8012,_0x401a7b);},'IysFd':_0x35db54(0x11c)};try{await _0x49ad28['Dobui'](access,_0x2ddd1e);}catch{await _0x49ad28['HKvTz'](writeFile,_0x2ddd1e,'{}',_0x49ad28['IysFd']);}}export function previewNovaActCliCommand(_0x1c59c2){const _0x42b8b6={'Fwnvm':function(_0x303990,_0x46a3fb){return _0x303990(_0x46a3fb);}};return _0x42b8b6['Fwnvm'](truncatePreview,_0x1c59c2);}
@@ -1 +1 @@
1
- (function(_0xf1233e,_0x1b3f11){var _0x171f8f=_0x3282,_0x5df057=_0xf1233e();while(!![]){try{var _0x4e30f0=parseInt(_0x171f8f(0xe8))/0x1+parseInt(_0x171f8f(0xf3))/0x2+parseInt(_0x171f8f(0xea))/0x3*(parseInt(_0x171f8f(0xe9))/0x4)+parseInt(_0x171f8f(0xe4))/0x5*(-parseInt(_0x171f8f(0xe7))/0x6)+parseInt(_0x171f8f(0xeb))/0x7+parseInt(_0x171f8f(0xe3))/0x8+-parseInt(_0x171f8f(0xef))/0x9;if(_0x4e30f0===_0x1b3f11)break;else _0x5df057['push'](_0x5df057['shift']());}catch(_0x299a84){_0x5df057['push'](_0x5df057['shift']());}}}(_0x174a,0xc6a3e));function _0x174a(){var _0x56a33c=['18CCEfta','1205280mBYbIo','2688116VLnOfv','3jewxYi','10202367LpZpOs','skills','env','user','19360260qVFZTV','PQiCT','OPENCODE_CONFIG_DIR','opencode','318164uroiiw','lJCuQ','7495216dhkdcN','2443340dxukXA','.opencode','XDG_CONFIG_HOME'];_0x174a=function(){return _0x56a33c;};return _0x174a();}function _0x3282(_0x1594fc,_0x138961){_0x1594fc=_0x1594fc-0xe3;var _0x174ac8=_0x174a();var _0x328229=_0x174ac8[_0x1594fc];return _0x328229;}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x3a6212){var _0x11c544=_0x3282,_0x1a58f8={'RbLJF':_0x11c544(0xee),'lJCuQ':function(_0x337658){return _0x337658();},'PQiCT':'.config','ggKbj':function(_0x1e5a37,_0x3bccd6,_0x179c42){return _0x1e5a37(_0x3bccd6,_0x179c42);}};if(process[_0x11c544(0xed)]['OPENCODE_CONFIG_DIR'])return process[_0x11c544(0xed)][_0x11c544(0xf1)];if(_0x3a6212===_0x1a58f8['RbLJF']){if(process[_0x11c544(0xed)][_0x11c544(0xe6)])return join(process['env']['XDG_CONFIG_HOME'],'opencode');return join(_0x1a58f8[_0x11c544(0xf4)](homedir),_0x1a58f8[_0x11c544(0xf0)],_0x11c544(0xf2));}return _0x1a58f8['ggKbj'](join,getProjectRoot(),_0x11c544(0xe5));}export function getOpencodeSkillsDir(_0x1b4878){var _0x67ef1f=_0x3282,_0x2e340b={'UysZE':function(_0x143506,_0x38d61c,_0x28dddb){return _0x143506(_0x38d61c,_0x28dddb);},'iHOLp':_0x67ef1f(0xec)};return _0x2e340b['UysZE'](join,getOpencodeConfigDir(_0x1b4878),_0x2e340b['iHOLp']);}
1
+ (function(_0x4a23dd,_0x455a63){var _0x40854e=_0x2dcb,_0x57358e=_0x4a23dd();while(!![]){try{var _0x5cb65e=-parseInt(_0x40854e(0x15e))/0x1*(-parseInt(_0x40854e(0x155))/0x2)+parseInt(_0x40854e(0x14e))/0x3*(parseInt(_0x40854e(0x159))/0x4)+parseInt(_0x40854e(0x157))/0x5*(-parseInt(_0x40854e(0x152))/0x6)+parseInt(_0x40854e(0x15a))/0x7*(-parseInt(_0x40854e(0x158))/0x8)+parseInt(_0x40854e(0x151))/0x9+parseInt(_0x40854e(0x150))/0xa+-parseInt(_0x40854e(0x156))/0xb*(parseInt(_0x40854e(0x15b))/0xc);if(_0x5cb65e===_0x455a63)break;else _0x57358e['push'](_0x57358e['shift']());}catch(_0x333c95){_0x57358e['push'](_0x57358e['shift']());}}}(_0x3cbe,0x594d0));function _0x2dcb(_0x432549,_0x109a9b){_0x432549=_0x432549-0x14d;var _0x3cbec6=_0x3cbe();var _0x2dcb08=_0x3cbec6[_0x432549];return _0x2dcb08;}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x55808b){var _0x203022=_0x2dcb,_0x53cfab={'Nfywl':'user','zywjj':function(_0x4c460b){return _0x4c460b();},'vmKBw':_0x203022(0x15c)};if(process[_0x203022(0x14d)]['OPENCODE_CONFIG_DIR'])return process['env'][_0x203022(0x15d)];if(_0x55808b===_0x53cfab['Nfywl']){if(process['env'][_0x203022(0x160)])return join(process[_0x203022(0x14d)][_0x203022(0x160)],'opencode');return join(_0x53cfab['zywjj'](homedir),_0x203022(0x15f),_0x203022(0x154));}return join(getProjectRoot(),_0x53cfab[_0x203022(0x14f)]);}export function getOpencodeSkillsDir(_0x3660f3){var _0x47c60b=_0x2dcb,_0x3aecf0={'RBBTQ':function(_0x40ce50,_0x577a9c){return _0x40ce50(_0x577a9c);},'WCcLx':_0x47c60b(0x153)};return join(_0x3aecf0['RBBTQ'](getOpencodeConfigDir,_0x3660f3),_0x3aecf0['WCcLx']);}function _0x3cbe(){var _0x55edc0=['5358990uPVfRx','218538rdcazq','3354eODieX','skills','opencode','16oPtKoe','36509TYOvMN','2435XBPaYN','209320FMRTls','1656tujSpb','77uMmUNr','2316bZjEts','.opencode','OPENCODE_CONFIG_DIR','70973MoCMlM','.config','XDG_CONFIG_HOME','env','3177GbItxI','vmKBw'];_0x3cbe=function(){return _0x55edc0;};return _0x3cbe();}
@@ -1 +1 @@
1
- function _0x30d7(){const _0x457f9a=['1556624OLavoi','\x20must\x20be\x20a\x20string\x20or\x20number','ngKuq','1152YSKICP','nxfcw','OGKoi','from','filter','546685cXDCoO','263460Pbeqyi','fromEntries','huuOc','number','/organization/environment-variables','Bearer\x20','917Safmgm','45002ghlWaN','dyQxd','GET','QsQQW','5988zbeviG','Svgth','set','1222504XNoelz','12fMZhRP','status','29200GdoLhT'];_0x30d7=function(){return _0x457f9a;};return _0x30d7();}(function(_0x29960a,_0xfbfec6){const _0x2a698e=_0x2369,_0x2e6fe0=_0x29960a();while(!![]){try{const _0x285aaf=parseInt(_0x2a698e(0xc9))/0x1+-parseInt(_0x2a698e(0xd0))/0x2*(parseInt(_0x2a698e(0xbd))/0x3)+-parseInt(_0x2a698e(0xbc))/0x4+parseInt(_0x2a698e(0xc8))/0x5+parseInt(_0x2a698e(0xb9))/0x6*(-parseInt(_0x2a698e(0xcf))/0x7)+parseInt(_0x2a698e(0xc0))/0x8+parseInt(_0x2a698e(0xc3))/0x9*(parseInt(_0x2a698e(0xbf))/0xa);if(_0x285aaf===_0xfbfec6)break;else _0x2e6fe0['push'](_0x2e6fe0['shift']());}catch(_0x4e881e){_0x2e6fe0['push'](_0x2e6fe0['shift']());}}}(_0x30d7,0x6542f));import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';async function getOrganizationEnvironmentVariable(_0x2edd6){const _0x56babc=_0x2369,_0x46c365={'dyQxd':'No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','KNytQ':function(_0x20b35e){return _0x20b35e();},'ngKuq':'variableName','OGKoi':function(_0x2bba7b,_0x2ba12f){return _0x2bba7b===_0x2ba12f;},'huuOc':function(_0x1586d4,_0x47e327){return _0x1586d4===_0x47e327;},'nxfcw':function(_0x2c2a64,_0x1ce4fa){return _0x2c2a64(_0x1ce4fa);}},_0x347582=await getToken();if(!_0x347582)throw new Error(_0x46c365[_0x56babc(0xd1)]);const _0xb2a1af=new URL(_0x46c365['KNytQ'](getApiBaseUrl)+_0x56babc(0xcd));_0xb2a1af['searchParams'][_0x56babc(0xbb)](_0x46c365[_0x56babc(0xc2)],_0x2edd6);const _0x3d1b6d=await fetch(_0xb2a1af,{'method':_0x56babc(0xd2),'headers':{'Authorization':_0x56babc(0xce)+_0x347582}});if(_0x46c365[_0x56babc(0xc5)](_0x3d1b6d[_0x56babc(0xbe)],0x194))return null;if(!_0x3d1b6d['ok']){const _0x1b4cfa=await _0x3d1b6d['text']();throw new Error('Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20'+_0x2edd6+':\x20'+_0x3d1b6d[_0x56babc(0xbe)]+'\x20'+_0x1b4cfa);}const _0x799522=await _0x3d1b6d['json'](),_0x1e81de=_0x799522[_0x2edd6];if(_0x46c365['OGKoi'](_0x1e81de,undefined)||_0x46c365['huuOc'](_0x1e81de,null))return null;if(_0x46c365[_0x56babc(0xcb)](typeof _0x1e81de,'string')||typeof _0x1e81de===_0x56babc(0xcc))return _0x46c365[_0x56babc(0xc4)](String,_0x1e81de);throw new Error('Organization\x20environment\x20variable\x20'+_0x2edd6+_0x56babc(0xc1));}function _0x2369(_0x5291e1,_0x1cf135){_0x5291e1=_0x5291e1-0xb9;const _0x30d738=_0x30d7();let _0x2369c4=_0x30d738[_0x5291e1];return _0x2369c4;}export async function getOrganizationEnvironmentVariables(_0x5366c4){const _0x56bbcd=_0x2369,_0x22b5ab={'QsQQW':function(_0x1c5cea,_0x54cb54){return _0x1c5cea(_0x54cb54);},'Svgth':function(_0x34a1b7,_0x4da0e7){return _0x34a1b7===_0x4da0e7;}},_0x35726e=Array[_0x56bbcd(0xc6)](new Set(_0x5366c4)),_0x5bfe2d=await Promise['all'](_0x35726e['map'](async _0x108f2f=>{const _0x788794=_0x56bbcd,_0x59b97a=await _0x22b5ab[_0x788794(0xd3)](getOrganizationEnvironmentVariable,_0x108f2f);return _0x22b5ab[_0x788794(0xba)](_0x59b97a,null)?null:[_0x108f2f,_0x59b97a];}));return Object[_0x56bbcd(0xca)](_0x5bfe2d[_0x56bbcd(0xc7)](_0x21132e=>Boolean(_0x21132e)));}
1
+ (function(_0x5b8190,_0x364a24){const _0x29d1c8=_0x3acf,_0x8ebaac=_0x5b8190();while(!![]){try{const _0x445bac=-parseInt(_0x29d1c8(0x1b2))/0x1+-parseInt(_0x29d1c8(0x1b4))/0x2+parseInt(_0x29d1c8(0x1c0))/0x3*(-parseInt(_0x29d1c8(0x1aa))/0x4)+-parseInt(_0x29d1c8(0x1bb))/0x5*(parseInt(_0x29d1c8(0x1ba))/0x6)+-parseInt(_0x29d1c8(0x1b1))/0x7*(-parseInt(_0x29d1c8(0x1b8))/0x8)+-parseInt(_0x29d1c8(0x1b7))/0x9*(-parseInt(_0x29d1c8(0x1ad))/0xa)+-parseInt(_0x29d1c8(0x1bf))/0xb;if(_0x445bac===_0x364a24)break;else _0x8ebaac['push'](_0x8ebaac['shift']());}catch(_0x3bd0a1){_0x8ebaac['push'](_0x8ebaac['shift']());}}}(_0x4a21,0xf2660));import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';function _0x4a21(){const _0x5cc82e=['set','wiDCt','1442727iFrfNF','2532MzvfIh','map','pFzud','GET','\x20must\x20be\x20a\x20string\x20or\x20number','No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','1728OkZziu','json','variableName','290jRxNlf','searchParams','text','gHsul','14WSDHzA','104498jYwVgD','Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20','1471794sXiXEW','status','number','569133XdTlOA','3425816KnQVNo','JTOqW','2167818fLdNuN','5MjNUWO','KGIct'];_0x4a21=function(){return _0x5cc82e;};return _0x4a21();}async function getOrganizationEnvironmentVariable(_0x3b6cb4){const _0x5bb796=_0x3acf,_0x1fc83b={'Nnrrs':_0x5bb796(0x1a9),'NUunI':_0x5bb796(0x1ac),'htXRZ':function(_0x11f1e2,_0x261149,_0x9cf48d){return _0x11f1e2(_0x261149,_0x9cf48d);},'pFzud':_0x5bb796(0x1c3),'JTOqW':function(_0x172827,_0x580a27){return _0x172827===_0x580a27;},'VPGzh':'string','gHsul':_0x5bb796(0x1b6),'RIVhb':function(_0x2aa565,_0x471704){return _0x2aa565(_0x471704);}},_0x273796=await getToken();if(!_0x273796)throw new Error(_0x1fc83b['Nnrrs']);const _0x256888=new URL(getApiBaseUrl()+'/organization/environment-variables');_0x256888[_0x5bb796(0x1ae)][_0x5bb796(0x1bd)](_0x1fc83b['NUunI'],_0x3b6cb4);const _0x1d0031=await _0x1fc83b['htXRZ'](fetch,_0x256888,{'method':_0x1fc83b[_0x5bb796(0x1c2)],'headers':{'Authorization':'Bearer\x20'+_0x273796}});if(_0x1fc83b[_0x5bb796(0x1b9)](_0x1d0031['status'],0x194))return null;if(!_0x1d0031['ok']){const _0x15fb07=await _0x1d0031[_0x5bb796(0x1af)]();throw new Error(_0x5bb796(0x1b3)+_0x3b6cb4+':\x20'+_0x1d0031[_0x5bb796(0x1b5)]+'\x20'+_0x15fb07);}const _0x2326fb=await _0x1d0031[_0x5bb796(0x1ab)](),_0x4e0bbe=_0x2326fb[_0x3b6cb4];if(_0x4e0bbe===undefined||_0x4e0bbe===null)return null;if(typeof _0x4e0bbe===_0x1fc83b['VPGzh']||_0x1fc83b['JTOqW'](typeof _0x4e0bbe,_0x1fc83b[_0x5bb796(0x1b0)]))return _0x1fc83b['RIVhb'](String,_0x4e0bbe);throw new Error('Organization\x20environment\x20variable\x20'+_0x3b6cb4+_0x5bb796(0x1c4));}function _0x3acf(_0x52094d,_0x420fd3){_0x52094d=_0x52094d-0x1a9;const _0x4a2189=_0x4a21();let _0x3acfed=_0x4a2189[_0x52094d];return _0x3acfed;}export async function getOrganizationEnvironmentVariables(_0xe4872d){const _0x4ab93d=_0x3acf,_0x26be98={'KGIct':function(_0x42f514,_0x2c70d1){return _0x42f514(_0x2c70d1);},'wiDCt':function(_0x5a1b23,_0x189e6a){return _0x5a1b23===_0x189e6a;}},_0x56200b=Array['from'](new Set(_0xe4872d)),_0x503b18=await Promise['all'](_0x56200b[_0x4ab93d(0x1c1)](async _0x5e0acd=>{const _0xc03e06=_0x4ab93d,_0x2ba5dd=await _0x26be98[_0xc03e06(0x1bc)](getOrganizationEnvironmentVariable,_0x5e0acd);return _0x26be98[_0xc03e06(0x1be)](_0x2ba5dd,null)?null:[_0x5e0acd,_0x2ba5dd];}));return Object['fromEntries'](_0x503b18['filter'](_0x44bd05=>Boolean(_0x44bd05)));}
@@ -1 +1 @@
1
- (function(_0x2f82ec,_0x24cedf){const _0x5cce2e=_0x1034,_0x55a311=_0x2f82ec();while(!![]){try{const _0x54892f=-parseInt(_0x5cce2e(0x1f9))/0x1+-parseInt(_0x5cce2e(0x207))/0x2+parseInt(_0x5cce2e(0x1ff))/0x3*(-parseInt(_0x5cce2e(0x1fa))/0x4)+parseInt(_0x5cce2e(0x1f5))/0x5+-parseInt(_0x5cce2e(0x1ed))/0x6+parseInt(_0x5cce2e(0x201))/0x7*(-parseInt(_0x5cce2e(0x1fd))/0x8)+parseInt(_0x5cce2e(0x20b))/0x9;if(_0x54892f===_0x24cedf)break;else _0x55a311['push'](_0x55a311['shift']());}catch(_0x58a4b9){_0x55a311['push'](_0x55a311['shift']());}}}(_0x17a3,0xb9995));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x89ff3d){const _0x4d368e=_0x1034,_0x3e752f={'oGTre':'sha256'},_0x510369=createHash(_0x3e752f['oGTre'])[_0x4d368e(0x208)](_0x89ff3d)['digest']('hex')['slice'](0x0,0xc);return'rg-'+_0x510369;}function shellQuote(_0x363d17){const _0x2b4043=_0x1034;return'\x27'+_0x363d17[_0x2b4043(0x1ee)](/'/g,_0x2b4043(0x1f0))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x5abb3c){const _0x27cc22=_0x1034,_0x2ed513={'LlXYI':function(_0x1b1689,_0x1a7a1d){return _0x1b1689(_0x1a7a1d);}};return SAFE_SHELL_TOKEN[_0x27cc22(0x1fb)](_0x5abb3c)?_0x5abb3c:_0x2ed513[_0x27cc22(0x1f1)](shellQuote,_0x5abb3c);}export function buildPlaywrightCliInvocation(_0x340995,_0x58c906,_0xaa3f94){const _0x5039e6=_0x1034,_0x533ab4={'qHsWK':function(_0x13bf23,_0x463d19){return _0x13bf23(_0x463d19);},'rCPEx':_0x5039e6(0x204),'JVyRO':_0x5039e6(0x203)},_0x563a7b=_0x533ab4[_0x5039e6(0x1fe)](toPlaywrightCliSessionKey,_0x340995),[_0x2835ca=_0x533ab4[_0x5039e6(0x213)]]=_0xaa3f94,_0x518c7a=[PLAYWRIGHT_CLI_BINARY,_0x5039e6(0x1ec)+_0x563a7b,_0x5039e6(0x1f4),_0x58c906,..._0xaa3f94];return{'command':_0x533ab4['JVyRO'],'args':_0x518c7a,'shellCommand':[_0x5039e6(0x203),PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x563a7b),_0x5039e6(0x1f4),quoteShellArg(_0x58c906),..._0xaa3f94['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x2835ca};}function _0x1034(_0x5eb4dc,_0x49f8de){_0x5eb4dc=_0x5eb4dc-0x1eb;const _0x17a318=_0x17a3();let _0x10349b=_0x17a318[_0x5eb4dc];return _0x10349b;}export function buildPlaywrightCliCommandPrefix(_0x850d47,_0x34dc75){const _0xb227fc=_0x1034,_0x4e162f={'HhpGX':function(_0x18b477,_0x13215f){return _0x18b477(_0x13215f);}},_0x4db85e=toPlaywrightCliSessionKey(_0x850d47);return[_0xb227fc(0x203),PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x4db85e),'--config',_0x4e162f[_0xb227fc(0x209)](quoteShellArg,_0x34dc75)][_0xb227fc(0x216)]('\x20');}function truncateOutput(_0x7b41f9,_0x18e39b=0x7d0){const _0x53e4ff=_0x1034,_0x31cd72={'RRYrp':function(_0x363c11,_0x11fb27){return _0x363c11>_0x11fb27;},'XBqlQ':function(_0x134ec6,_0x1413d2){return _0x134ec6+_0x1413d2;}};return _0x31cd72['RRYrp'](_0x7b41f9[_0x53e4ff(0x210)],_0x18e39b)?_0x31cd72['XBqlQ'](_0x7b41f9['slice'](0x0,_0x18e39b),_0x53e4ff(0x212)):_0x7b41f9;}export async function runPlaywrightCliCommand(_0x247b9a){const _0x1c7f60=_0x1034,_0x565764={'OiNUr':'SIGTERM','IMHPB':function(_0x4f2d80,_0x399d0c,_0x2bf1a0){return _0x4f2d80(_0x399d0c,_0x2bf1a0);},'yHTJX':function(_0x23e74e,_0xfdb6fe){return _0x23e74e(_0xfdb6fe);},'FIOIz':function(_0x2f3f3e,_0x65994){return _0x2f3f3e(_0x65994);},'Tyoty':function(_0x735bcd,_0x168dc3){return _0x735bcd(_0x168dc3);},'aHFLe':function(_0x40cddd,_0x564484,_0x557c35,_0x12dda9){return _0x40cddd(_0x564484,_0x557c35,_0x12dda9);},'dZegW':'ignore','QbnXD':'pipe','RRePD':function(_0x44cd47,_0x5c131e){return _0x44cd47>_0x5c131e;},'HrCWt':'data'},_0x25cf10=buildPlaywrightCliInvocation(_0x247b9a[_0x1c7f60(0x211)],_0x247b9a['configPath'],_0x247b9a[_0x1c7f60(0x218)]);return new Promise((_0xec4e4d,_0x47203f)=>{const _0x2029a7=_0x1c7f60,_0x405ad0=_0x565764[_0x2029a7(0x20f)](spawn,_0x25cf10[_0x2029a7(0x1f2)],_0x25cf10[_0x2029a7(0x217)],{'cwd':_0x247b9a['cwd'],'env':_0x247b9a['env'],'stdio':[_0x565764['dZegW'],_0x565764['QbnXD'],_0x565764[_0x2029a7(0x1f8)]]});let _0x5102f4='',_0xfb4f4f='',_0x6c0c01=![];const _0x1831e6=_0x247b9a['timeoutMs']&&_0x565764[_0x2029a7(0x20d)](_0x247b9a['timeoutMs'],0x0)?_0x565764['IMHPB'](setTimeout,()=>{_0x6c0c01=!![],_0x405ad0['kill'](_0x565764['OiNUr']),_0x565764['IMHPB'](setTimeout,()=>{const _0x371555=_0x1034;try{_0x405ad0['kill'](_0x371555(0x20c));}catch{}},0x3e8);},_0x247b9a['timeoutMs']):null;_0x405ad0['stdout']?.['on'](_0x565764[_0x2029a7(0x206)],_0x18bc9f=>{const _0x165cf4=_0x2029a7;_0x5102f4+=_0x18bc9f[_0x165cf4(0x1f3)]();}),_0x405ad0[_0x2029a7(0x202)]?.['on'](_0x2029a7(0x215),_0xb6424b=>{const _0x12612f=_0x2029a7;_0xfb4f4f+=_0xb6424b[_0x12612f(0x1f3)]();}),_0x405ad0['on']('error',_0x2bf889=>{if(_0x1831e6)clearTimeout(_0x1831e6);_0x47203f(_0x2bf889);}),_0x405ad0['on'](_0x2029a7(0x1eb),(_0x145cca,_0x3dffb1)=>{const _0x26a051=_0x2029a7;if(_0x1831e6)clearTimeout(_0x1831e6);if(_0x145cca===0x0){_0x565764['yHTJX'](_0xec4e4d,{'stdout':_0x5102f4,'stderr':_0xfb4f4f,'invocation':_0x25cf10});return;}const _0x42e35d=_0x6c0c01?_0x26a051(0x1fc)+_0x247b9a[_0x26a051(0x20e)]+'ms':'exited\x20with\x20code='+(_0x145cca??'null')+'\x20signal='+(_0x3dffb1??_0x26a051(0x1ef));_0x47203f(new Error('playwright-cli\x20'+_0x25cf10[_0x26a051(0x1f7)]+'\x20'+_0x42e35d+'\x0astdout:\x20'+_0x565764[_0x26a051(0x1f6)](truncateOutput,_0x5102f4)+'\x0astderr:\x20'+_0x565764['Tyoty'](truncateOutput,_0xfb4f4f)));});});}export function extractBashCommand(_0xfcd0ba){const _0x3ef5c2=_0x1034,_0x54e93a={'zzXHZ':'cmd','Mursi':function(_0x19f367,_0x28c3c7){return _0x19f367??_0x28c3c7;}},_0x19c3ad=['command',_0x54e93a[_0x3ef5c2(0x205)],_0x3ef5c2(0x20a),'bash_command'];for(const _0x335960 of _0x19c3ad){const _0x1a393a=_0xfcd0ba[_0x335960];if(typeof _0x1a393a==='string'&&_0x1a393a['trim']())return _0x1a393a;}const _0x3d4026=Object[_0x3ef5c2(0x214)](_0xfcd0ba)['find'](_0x4293c3=>typeof _0x4293c3==='string'&&_0x4293c3['trim']()['length']>0x0);return _0x54e93a[_0x3ef5c2(0x200)](_0x3d4026,null);}function _0x17a3(){const _0xd080cb=['close','-s=','7546272AziWaM','replace','null','\x27\x5c\x27\x27','LlXYI','command','toString','--config','528340NbdWlE','FIOIz','subcommand','QbnXD','1500973pvvkFP','8CAvPzQ','test','timed\x20out\x20after\x20','1115072TkNbSw','qHsWK','448251YUkLtK','Mursi','49OuohRW','stderr','npx','unknown','zzXHZ','HrCWt','2149114SPSIPR','update','HhpGX','script','51860781MOPrWN','SIGKILL','RRePD','timeoutMs','aHFLe','length','sessionId','...','rCPEx','values','data','join','args','commandArgs'];_0x17a3=function(){return _0xd080cb;};return _0x17a3();}export function parsePlaywrightCliCommand(_0x16cd22){const _0x1ebe62=_0x16cd22['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x1ebe62?.[0x1]??null;}
1
+ (function(_0x3a5cd6,_0x5a61f2){const _0x35454e=_0x5c0c,_0x301cc7=_0x3a5cd6();while(!![]){try{const _0x41ef9f=-parseInt(_0x35454e(0x1f7))/0x1*(-parseInt(_0x35454e(0x210))/0x2)+parseInt(_0x35454e(0x20b))/0x3*(parseInt(_0x35454e(0x1e5))/0x4)+-parseInt(_0x35454e(0x1e0))/0x5+-parseInt(_0x35454e(0x202))/0x6+-parseInt(_0x35454e(0x1f8))/0x7+parseInt(_0x35454e(0x206))/0x8*(parseInt(_0x35454e(0x1fa))/0x9)+parseInt(_0x35454e(0x20f))/0xa;if(_0x41ef9f===_0x5a61f2)break;else _0x301cc7['push'](_0x301cc7['shift']());}catch(_0x2624c0){_0x301cc7['push'](_0x301cc7['shift']());}}}(_0x4a33,0x8b291));import{spawn}from'child_process';import{createHash}from'crypto';function _0x5c0c(_0x11c3d3,_0x3c4c2c){_0x11c3d3=_0x11c3d3-0x1e0;const _0x4a3368=_0x4a33();let _0x5c0c10=_0x4a3368[_0x11c3d3];return _0x5c0c10;}function _0x4a33(){const _0x2c58e4=['slice','npx','KvclQ','...','sessionId','\x0astderr:\x20','485570pJLVjm','3334982QbIkvE','ignore','980937ndUyXz','find','SIGTERM','pipe','join','replace','toString','stdout','2523378YhImsq','bash_command','timeoutMs','iSYMC','56CUpgTb','fppqA','kill','MjeXD','\x20signal=','1246701dQVWhV','-s=','exited\x20with\x20code=','args','7584400eNwYPj','2tcThdf','length','--config','zrlCu','4777690CqHyQK','nVVIY','error','null','\x0astdout:\x20','4cIoZKz','zUTbx','trim','data','sha256','test','env','hEBaL','map','PFZjP','BykcH','\x27\x5c\x27\x27'];_0x4a33=function(){return _0x2c58e4;};return _0x4a33();}export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x4e4c5a){const _0x2b2861=_0x5c0c,_0x50def2={'fppqA':function(_0xe0d462,_0x955d14){return _0xe0d462(_0x955d14);},'PSJSN':_0x2b2861(0x1e9)},_0x35cf74=_0x50def2[_0x2b2861(0x207)](createHash,_0x50def2['PSJSN'])['update'](_0x4e4c5a)['digest']('hex')[_0x2b2861(0x1f1)](0x0,0xc);return'rg-'+_0x35cf74;}function shellQuote(_0x13a315){const _0x11415d=_0x5c0c;return'\x27'+_0x13a315[_0x11415d(0x1ff)](/'/g,_0x11415d(0x1f0))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x3bc458){const _0x19150b=_0x5c0c,_0x1a0c58={'NRsyn':function(_0x1f6d2b,_0x4fa17a){return _0x1f6d2b(_0x4fa17a);}};return SAFE_SHELL_TOKEN[_0x19150b(0x1ea)](_0x3bc458)?_0x3bc458:_0x1a0c58['NRsyn'](shellQuote,_0x3bc458);}export function buildPlaywrightCliInvocation(_0x31830d,_0x27e5fd,_0x568918){const _0x41324e=_0x5c0c,_0x42adac={'MjeXD':function(_0x327ace,_0x266367){return _0x327ace(_0x266367);},'VhiaL':_0x41324e(0x1f2),'OdtkO':'--config'},_0x362444=_0x42adac[_0x41324e(0x209)](toPlaywrightCliSessionKey,_0x31830d),[_0xb5dbb9='unknown']=_0x568918,_0x327a8d=[PLAYWRIGHT_CLI_BINARY,_0x41324e(0x20c)+_0x362444,'--config',_0x27e5fd,..._0x568918];return{'command':_0x42adac['VhiaL'],'args':_0x327a8d,'shellCommand':[_0x42adac['VhiaL'],PLAYWRIGHT_CLI_BINARY,_0x41324e(0x20c)+quoteShellArg(_0x362444),_0x42adac['OdtkO'],_0x42adac['MjeXD'](quoteShellArg,_0x27e5fd),..._0x568918[_0x41324e(0x1ed)](quoteShellArg)][_0x41324e(0x1fe)]('\x20'),'subcommand':_0xb5dbb9};}export function buildPlaywrightCliCommandPrefix(_0x3b0ac4,_0x29bcf0){const _0x253e71=_0x5c0c,_0x3c5253={'zUTbx':_0x253e71(0x212),'zRpki':function(_0x1b30c4,_0x1105a7){return _0x1b30c4(_0x1105a7);}},_0x1a22ef=toPlaywrightCliSessionKey(_0x3b0ac4);return[_0x253e71(0x1f2),PLAYWRIGHT_CLI_BINARY,_0x253e71(0x20c)+quoteShellArg(_0x1a22ef),_0x3c5253[_0x253e71(0x1e6)],_0x3c5253['zRpki'](quoteShellArg,_0x29bcf0)]['join']('\x20');}function truncateOutput(_0x4b8250,_0x2ad954=0x7d0){const _0x567a97=_0x5c0c;return _0x4b8250['length']>_0x2ad954?_0x4b8250['slice'](0x0,_0x2ad954)+_0x567a97(0x1f4):_0x4b8250;}export async function runPlaywrightCliCommand(_0x3c1324){const _0x4a1617=_0x5c0c,_0x3e335c={'AwSOo':function(_0x339abd,_0x39da26){return _0x339abd===_0x39da26;},'Wjziy':function(_0x3ff715,_0x52ddef){return _0x3ff715??_0x52ddef;},'KvclQ':function(_0x380274,_0x25033b,_0x2b3cbe,_0x4f5b6d){return _0x380274(_0x25033b,_0x2b3cbe,_0x4f5b6d);},'DhcMA':_0x4a1617(0x1f9),'PFZjP':'pipe','Yvnur':function(_0x4b2bbb,_0x2866ee){return _0x4b2bbb>_0x2866ee;},'zrlCu':_0x4a1617(0x1e8),'fYLSF':_0x4a1617(0x1e2),'ktVpP':'close'},_0x1b7197=_0x3e335c[_0x4a1617(0x1f3)](buildPlaywrightCliInvocation,_0x3c1324[_0x4a1617(0x1f5)],_0x3c1324['configPath'],_0x3c1324['commandArgs']);return new Promise((_0x2a9029,_0x4b5fb1)=>{const _0x4a6dcd=_0x4a1617,_0xbf9d55={'BykcH':function(_0x46307,_0x24f4f9){return _0x46307(_0x24f4f9);},'iSYMC':function(_0x1c582e,_0x58280c){return _0x3e335c['AwSOo'](_0x1c582e,_0x58280c);},'hEBaL':function(_0x3046ff,_0xed9891){return _0x3046ff(_0xed9891);},'SEqLJ':function(_0x5c93f7,_0x350f0f){return _0x3e335c['Wjziy'](_0x5c93f7,_0x350f0f);},'KdPqr':function(_0x58db7a,_0x13fa88){return _0x58db7a(_0x13fa88);}},_0x33cb2b=_0x3e335c['KvclQ'](spawn,_0x1b7197['command'],_0x1b7197[_0x4a6dcd(0x20e)],{'cwd':_0x3c1324['cwd'],'env':_0x3c1324[_0x4a6dcd(0x1eb)],'stdio':[_0x3e335c['DhcMA'],_0x3e335c[_0x4a6dcd(0x1ee)],_0x4a6dcd(0x1fd)]});let _0xd88c78='',_0x2b737a='',_0x15eeda=![];const _0xf5a4c3=_0x3c1324[_0x4a6dcd(0x204)]&&_0x3e335c['Yvnur'](_0x3c1324['timeoutMs'],0x0)?setTimeout(()=>{const _0x1e3a64=_0x4a6dcd;_0x15eeda=!![],_0x33cb2b[_0x1e3a64(0x208)](_0x1e3a64(0x1fc)),setTimeout(()=>{const _0x5927e8=_0x1e3a64;try{_0x33cb2b[_0x5927e8(0x208)]('SIGKILL');}catch{}},0x3e8);},_0x3c1324['timeoutMs']):null;_0x33cb2b[_0x4a6dcd(0x201)]?.['on'](_0x4a6dcd(0x1e8),_0x3ddbe3=>{const _0x4e2e9e=_0x4a6dcd;_0xd88c78+=_0x3ddbe3[_0x4e2e9e(0x200)]();}),_0x33cb2b['stderr']?.['on'](_0x3e335c[_0x4a6dcd(0x213)],_0x1fe06b=>{_0x2b737a+=_0x1fe06b['toString']();}),_0x33cb2b['on'](_0x3e335c['fYLSF'],_0x1160f5=>{const _0x4808d5=_0x4a6dcd;if(_0xf5a4c3)_0xbf9d55[_0x4808d5(0x1ef)](clearTimeout,_0xf5a4c3);_0x4b5fb1(_0x1160f5);}),_0x33cb2b['on'](_0x3e335c['ktVpP'],(_0x3c5684,_0x45b9b1)=>{const _0x3fe309=_0x4a6dcd;if(_0xf5a4c3)_0xbf9d55[_0x3fe309(0x1ef)](clearTimeout,_0xf5a4c3);if(_0xbf9d55[_0x3fe309(0x205)](_0x3c5684,0x0)){_0xbf9d55[_0x3fe309(0x1ec)](_0x2a9029,{'stdout':_0xd88c78,'stderr':_0x2b737a,'invocation':_0x1b7197});return;}const _0x45ef2f=_0x15eeda?'timed\x20out\x20after\x20'+_0x3c1324[_0x3fe309(0x204)]+'ms':_0x3fe309(0x20d)+_0xbf9d55['SEqLJ'](_0x3c5684,_0x3fe309(0x1e3))+_0x3fe309(0x20a)+(_0x45b9b1??'null');_0xbf9d55[_0x3fe309(0x1ef)](_0x4b5fb1,new Error('playwright-cli\x20'+_0x1b7197['subcommand']+'\x20'+_0x45ef2f+_0x3fe309(0x1e4)+truncateOutput(_0xd88c78)+_0x3fe309(0x1f6)+_0xbf9d55['KdPqr'](truncateOutput,_0x2b737a)));});});}export function extractBashCommand(_0x2db90c){const _0x3eb013=_0x5c0c,_0x20ee2d={'nVVIY':_0x3eb013(0x203)},_0x51148c=['command','cmd','script',_0x20ee2d[_0x3eb013(0x1e1)]];for(const _0x456031 of _0x51148c){const _0x4908be=_0x2db90c[_0x456031];if(typeof _0x4908be==='string'&&_0x4908be['trim']())return _0x4908be;}const _0x1caf56=Object['values'](_0x2db90c)[_0x3eb013(0x1fb)](_0x4943da=>typeof _0x4943da==='string'&&_0x4943da[_0x3eb013(0x1e7)]()[_0x3eb013(0x211)]>0x0);return _0x1caf56??null;}export function parsePlaywrightCliCommand(_0x1a394a){const _0x42a15b=_0x1a394a['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x42a15b?.[0x1]??null;}
@@ -1 +1 @@
1
- const _0x94b2a7=_0x20bf;function _0x20bf(_0x44795a,_0x5eee55){_0x44795a=_0x44795a-0x6a;const _0x4789b7=_0x4789();let _0x20bf7f=_0x4789b7[_0x44795a];return _0x20bf7f;}(function(_0x594a15,_0x4bf5f3){const _0x518769=_0x20bf,_0x3ddd67=_0x594a15();while(!![]){try{const _0x4335e7=parseInt(_0x518769(0x73))/0x1+parseInt(_0x518769(0x6f))/0x2*(-parseInt(_0x518769(0x6e))/0x3)+-parseInt(_0x518769(0x6b))/0x4*(parseInt(_0x518769(0x72))/0x5)+parseInt(_0x518769(0x71))/0x6*(parseInt(_0x518769(0x6a))/0x7)+parseInt(_0x518769(0x6c))/0x8+-parseInt(_0x518769(0x74))/0x9+-parseInt(_0x518769(0x70))/0xa;if(_0x4335e7===_0x4bf5f3)break;else _0x3ddd67['push'](_0x3ddd67['shift']());}catch(_0x3aa6ba){_0x3ddd67['push'](_0x3ddd67['shift']());}}}(_0x4789,0xec264));const DEFAULT_PROFILE_COMMAND=_0x94b2a7(0x6d);function _0x4789(){const _0xce4053=['11860210XrbriN','208218HlZakM','15EVLghr','1354096VdTNBh','13337712ZmoVtl','259gfiCFs','426876tEfSlG','14946432rnPmXp','ranger\x20profile\x20add\x20local','1652991czlXra','2vTTwii'];_0x4789=function(){return _0xce4053;};return _0x4789();}export function formatProfileRequiredMessage(_0x459f68){const _0x44bd79={'IPuiK':function(_0x5c2eb1,_0x4fa3d6){return _0x5c2eb1(_0x4fa3d6);}},_0x5dbe9e=_0x459f68?_0x44bd79['IPuiK'](_0x459f68,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'+_0x5dbe9e+'.';}
1
+ const _0x7d5475=_0x10ba;(function(_0x568817,_0x3f5153){const _0x38b39b=_0x10ba,_0x1a4556=_0x568817();while(!![]){try{const _0x17584e=parseInt(_0x38b39b(0x11b))/0x1*(parseInt(_0x38b39b(0x120))/0x2)+-parseInt(_0x38b39b(0x11c))/0x3*(parseInt(_0x38b39b(0x123))/0x4)+parseInt(_0x38b39b(0x122))/0x5*(parseInt(_0x38b39b(0x11d))/0x6)+parseInt(_0x38b39b(0x11a))/0x7*(-parseInt(_0x38b39b(0x117))/0x8)+parseInt(_0x38b39b(0x119))/0x9*(parseInt(_0x38b39b(0x118))/0xa)+parseInt(_0x38b39b(0x11e))/0xb*(parseInt(_0x38b39b(0x121))/0xc)+-parseInt(_0x38b39b(0x11f))/0xd;if(_0x17584e===_0x3f5153)break;else _0x1a4556['push'](_0x1a4556['shift']());}catch(_0x5270db){_0x1a4556['push'](_0x1a4556['shift']());}}}(_0x2348,0x90c11));const DEFAULT_PROFILE_COMMAND=_0x7d5475(0x116);export function formatProfileRequiredMessage(_0x1c3e0c){const _0x342cf9={'SZNWb':function(_0x313edc,_0x2803d5){return _0x313edc(_0x2803d5);}},_0x3d38ad=_0x1c3e0c?_0x342cf9['SZNWb'](_0x1c3e0c,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'+_0x3d38ad+'.';}function _0x10ba(_0x2e7afc,_0xf3d26b){_0x2e7afc=_0x2e7afc-0x116;const _0x2348ac=_0x2348();let _0x10ba15=_0x2348ac[_0x2e7afc];return _0x10ba15;}function _0x2348(){const _0x24e12d=['7NUdScg','2699871QVzyDo','6PSHVgH','418ZQumHK','6324240ztUPmx','184638rmwDfk','56424YIHsPw','2899850NvcVgI','4PEdphE','ranger\x20profile\x20add\x20local','680zNKdXc','20dzbUBB','4304457UmCTfg','31465nuaivS'];_0x2348=function(){return _0x24e12d;};return _0x2348();}
@@ -1 +1 @@
1
- (function(_0x131108,_0x4eea25){const _0x33f330=_0x34ed,_0xd44c59=_0x131108();while(!![]){try{const _0x163e41=parseInt(_0x33f330(0x1d7))/0x1+-parseInt(_0x33f330(0x1da))/0x2+-parseInt(_0x33f330(0x1cf))/0x3+parseInt(_0x33f330(0x1cd))/0x4+-parseInt(_0x33f330(0x1d5))/0x5*(-parseInt(_0x33f330(0x1d0))/0x6)+parseInt(_0x33f330(0x1d4))/0x7*(-parseInt(_0x33f330(0x1d6))/0x8)+-parseInt(_0x33f330(0x1db))/0x9*(-parseInt(_0x33f330(0x1d2))/0xa);if(_0x163e41===_0x4eea25)break;else _0xd44c59['push'](_0xd44c59['shift']());}catch(_0x5ed70d){_0xd44c59['push'](_0xd44c59['shift']());}}}(_0x4c34,0x7322d));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x4e867f=_0x34ed,_0x25646f={'tfcUy':function(_0x33e23e,_0xd69179){return _0x33e23e+_0xd69179;},'JpJiL':function(_0x448422,_0x556025){return _0x448422+_0x556025;},'FaYwU':function(_0x41ff36,_0xbaf565){return _0x41ff36+_0xbaf565;},'Jfglt':function(_0x425e68,_0x1030c0){return _0x425e68+_0x1030c0;},'JGuMm':_0x4e867f(0x1c5),'CBesU':'<div\x20class=\x22ranger-banner__message\x22>','iojjZ':'</div>','MwoRw':_0x4e867f(0x1ce)},_0x13f958=_0x25646f[_0x4e867f(0x1d3)](_0x25646f[_0x4e867f(0x1cc)](_0x25646f[_0x4e867f(0x1c6)](_0x25646f[_0x4e867f(0x1d9)](_0x25646f['JGuMm'],'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>')+_0x25646f[_0x4e867f(0x1d1)],'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x4e867f(0x1d8),_0x25646f['iojjZ']),_0x4e867f(0x1c7))+_0x25646f[_0x4e867f(0x1cb)],_0x21bb74='\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 _0x4e867f(0x1c9)+JSON['stringify'](_0x13f958)+';\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'](_0x21bb74)+_0x4e867f(0x1ca);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x2260f1){const _0x4ab300=_0x34ed;await _0x2260f1[_0x4ab300(0x1c8)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x34ed(_0x2516e9,_0x5ee5fb){_0x2516e9=_0x2516e9-0x1c5;const _0x4c3488=_0x4c34();let _0x34ed48=_0x4c3488[_0x2516e9];return _0x34ed48;}function _0x4c34(){const _0x3fa683=['564311tLkMLr','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','Jfglt','593786rNocad','891801djgTEr','<div\x20class=\x22ranger-banner__content\x22>','FaYwU','</div>','addInitScript','\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',';\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','MwoRw','JpJiL','7048qmXDtx','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','1235283DEckvw','6wWqIFx','CBesU','60decMGE','tfcUy','135499XEJoGi','195005TNbZfo','8aavbeI'];_0x4c34=function(){return _0x3fa683;};return _0x4c34();}
1
+ (function(_0x35802f,_0x28670e){const _0xd1bfd8=_0x1429,_0x303e8a=_0x35802f();while(!![]){try{const _0xc70444=-parseInt(_0xd1bfd8(0x143))/0x1+-parseInt(_0xd1bfd8(0x13e))/0x2+-parseInt(_0xd1bfd8(0x14a))/0x3*(-parseInt(_0xd1bfd8(0x144))/0x4)+-parseInt(_0xd1bfd8(0x13f))/0x5+-parseInt(_0xd1bfd8(0x13d))/0x6+-parseInt(_0xd1bfd8(0x146))/0x7+-parseInt(_0xd1bfd8(0x148))/0x8*(-parseInt(_0xd1bfd8(0x147))/0x9);if(_0xc70444===_0x28670e)break;else _0x303e8a['push'](_0x303e8a['shift']());}catch(_0x4021d0){_0x303e8a['push'](_0x303e8a['shift']());}}}(_0x1233,0x3d39d));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3ece64=_0x1429,_0x35406d={'FlNkS':function(_0x1ff3bc,_0x1895a5){return _0x1ff3bc+_0x1895a5;},'wphqn':function(_0x47acbe,_0x2ef5de){return _0x47acbe+_0x2ef5de;},'aXyOY':function(_0x46a1c4,_0x29f306){return _0x46a1c4+_0x29f306;},'TwdGg':'<div\x20class=\x22ranger-banner__content\x22>','CllEx':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','nEvNl':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','ojmpz':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x3f3266=_0x35406d['FlNkS'](_0x35406d['wphqn'](_0x35406d['aXyOY'](_0x35406d[_0x3ece64(0x14b)](_0x35406d['TwdGg']+_0x35406d['CllEx'],_0x3ece64(0x140)),'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x35406d['nEvNl'],_0x3ece64(0x145)),_0x3ece64(0x145))+_0x35406d['ojmpz'],_0x3969de='\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'\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20'+JSON['stringify'](_0x3f3266)+_0x3ece64(0x142)+JSON['stringify'](_0x3969de)+_0x3ece64(0x141);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x1429(_0x1920cc,_0x7a8b1e){_0x1920cc=_0x1920cc-0x13d;const _0x123371=_0x1233();let _0x14299b=_0x123371[_0x1920cc];return _0x14299b;}function _0x1233(){const _0x388f1e=['addInitScript','3JpPTku','aXyOY','734382AtMixG','291270VQZRRB','545395HpxUOj','<div\x20class=\x22ranger-banner__message\x22>',';\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',';\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','122675CgKYQq','883132TJkymG','</div>','1405131MpDIFO','2979dbmzYe','17656TMrqVq'];_0x1233=function(){return _0x388f1e;};return _0x1233();}export async function addProfileSetupBanner(_0x15340d){const _0x2016b5=_0x1429;await _0x15340d[_0x2016b5(0x149)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x38c77f,_0x2d5724){const _0x22be7f=_0x2caf,_0x1109a7=_0x38c77f();while(!![]){try{const _0x3ce822=-parseInt(_0x22be7f(0xe8))/0x1*(-parseInt(_0x22be7f(0xf5))/0x2)+parseInt(_0x22be7f(0xef))/0x3+parseInt(_0x22be7f(0xfb))/0x4*(-parseInt(_0x22be7f(0xf4))/0x5)+parseInt(_0x22be7f(0xea))/0x6*(-parseInt(_0x22be7f(0xf6))/0x7)+-parseInt(_0x22be7f(0x10e))/0x8+parseInt(_0x22be7f(0xf7))/0x9*(parseInt(_0x22be7f(0x104))/0xa)+parseInt(_0x22be7f(0x100))/0xb*(-parseInt(_0x22be7f(0xfe))/0xc);if(_0x3ce822===_0x2d5724)break;else _0x1109a7['push'](_0x1109a7['shift']());}catch(_0xcfdb){_0x1109a7['push'](_0x1109a7['shift']());}}}(_0x12f7,0xae249));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){return join(getRangerHomeDir(),'projects.json');}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x50d42c=_0x2caf,_0x44bfd8={'dtzxc':function(_0x2bdbfc){return _0x2bdbfc();},'atxAx':function(_0x5a1087,_0x25b54d){return _0x5a1087(_0x25b54d);},'iYmKO':function(_0x12e9b4,_0x1529bc,_0x25d918){return _0x12e9b4(_0x1529bc,_0x25d918);},'TTHPm':'utf-8','HpRBR':function(_0x6925d5,_0x363f8c){return _0x6925d5 instanceof _0x363f8c;},'sIkkv':function(_0xbdb32a,_0x358107){return _0xbdb32a!==_0x358107;},'lFWLl':function(_0x317f76,_0x432a07){return _0x317f76!==_0x432a07;},'aPsjg':_0x50d42c(0x102),'aODGL':function(_0x572fca,_0x26e577){return _0x572fca===_0x26e577;},'pQZcX':function(_0x7560d9){return _0x7560d9();}},_0x29388a=_0x44bfd8[_0x50d42c(0x108)](getProjectsConfigPath);if(!_0x44bfd8[_0x50d42c(0xf8)](existsSync,_0x29388a))return emptyConfig();let _0x46fb3a;try{_0x46fb3a=_0x44bfd8['iYmKO'](readFileSync,_0x29388a,_0x44bfd8[_0x50d42c(0xf9)]);}catch(_0x287088){const _0x4e599f=_0x287088 instanceof Error?_0x287088['message']:_0x44bfd8[_0x50d42c(0xf8)](String,_0x287088);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x29388a+':\x20'+_0x4e599f+'.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x44bfd8[_0x50d42c(0x108)](emptyConfig);}let _0x1cf1dd;try{_0x1cf1dd=JSON[_0x50d42c(0x10f)](_0x46fb3a);}catch(_0x1544ac){const _0x75852e=_0x44bfd8['HpRBR'](_0x1544ac,Error)?_0x1544ac[_0x50d42c(0x106)]:String(_0x1544ac);return console[_0x50d42c(0xee)](_0x50d42c(0x105)+_0x29388a+'\x20is\x20not\x20valid\x20JSON\x20('+_0x75852e+').\x20Ignoring\x20local\x20profile\x20overrides.'),_0x44bfd8['dtzxc'](emptyConfig);}if(!_0x1cf1dd||typeof _0x1cf1dd!=='object'||Array['isArray'](_0x1cf1dd)||_0x44bfd8['sIkkv'](_0x1cf1dd[_0x50d42c(0x10b)],CURRENT_VERSION)||_0x44bfd8['lFWLl'](typeof _0x1cf1dd['projects'],_0x44bfd8['aPsjg'])||_0x44bfd8[_0x50d42c(0x113)](_0x1cf1dd[_0x50d42c(0x112)],null)||Array[_0x50d42c(0x10d)](_0x1cf1dd[_0x50d42c(0x112)]))return console['warn'](_0x50d42c(0x105)+_0x29388a+'\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x44bfd8[_0x50d42c(0x111)](emptyConfig);return _0x1cf1dd;}export function writeProjectsConfig(_0x477fb9){const _0x9a1c20=_0x2caf,_0x3ee911={'HvuCQ':function(_0x19e6e6,_0x1295c7){return _0x19e6e6(_0x1295c7);},'deCDy':function(_0x4ab70f,_0x52e4b1,_0x1a1fe6){return _0x4ab70f(_0x52e4b1,_0x1a1fe6);},'uRaRz':function(_0x185147,_0x2c9232){return _0x185147+_0x2c9232;},'TELUz':function(_0x1fa7e7,_0x8400a9,_0x16fc28,_0x36d467){return _0x1fa7e7(_0x8400a9,_0x16fc28,_0x36d467);},'tJFGH':_0x9a1c20(0xed),'kCqcV':function(_0x31eae8,_0x38e298){return _0x31eae8(_0x38e298);},'xIDxx':function(_0x34d4ae,_0x5793c6){return _0x34d4ae(_0x5793c6);}},_0x6121bb=getProjectsConfigPath(),_0xc09d29=dirname(_0x6121bb);!_0x3ee911[_0x9a1c20(0x114)](existsSync,_0xc09d29)&&_0x3ee911['deCDy'](mkdirSync,_0xc09d29,{'recursive':!![]});const _0x50dcd8=_0x6121bb+'.'+process[_0x9a1c20(0xf1)]+'.'+Date['now']()+_0x9a1c20(0x109),_0x57cf52=_0x3ee911['uRaRz'](JSON['stringify'](_0x477fb9,null,0x2),'\x0a');try{_0x3ee911['TELUz'](writeFileSync,_0x50dcd8,_0x57cf52,{'encoding':_0x3ee911['tJFGH'],'mode':0x180}),renameSync(_0x50dcd8,_0x6121bb);}catch(_0xf8bbd8){try{_0x3ee911['kCqcV'](existsSync,_0x50dcd8)&&_0x3ee911[_0x9a1c20(0xeb)](unlinkSync,_0x50dcd8);}catch{}throw _0xf8bbd8;}}function _0x2caf(_0x4e52f7,_0x4feb7f){_0x4e52f7=_0x4e52f7-0xe4;const _0x12f7a0=_0x12f7();let _0x2cafb5=_0x12f7a0[_0x4e52f7];return _0x2cafb5;}export function readProfileOverrides(_0x4f4dd7,_0x3a8c40){const _0x2522a0=_0x2caf,_0x392c09=readProjectsConfig(),_0x4e4852=_0x392c09['projects'][_0x4f4dd7];if(!_0x4e4852||!_0x4e4852['profiles'])return null;const _0x5160c3=_0x4e4852['profiles'][_0x3a8c40];if(!_0x5160c3||!_0x5160c3[_0x2522a0(0xfa)])return null;return _0x5160c3[_0x2522a0(0xfa)]??null;}export function setProfileOverride(_0x1f834d,_0x529057,_0x462dfe,_0x4d4509){const _0x23dfe8=_0x2caf,_0x1cacd8={'mazUi':function(_0x7e5b07,_0x1bc760,_0x1fc9fb,_0x165c0c){return _0x7e5b07(_0x1bc760,_0x1fc9fb,_0x165c0c);},'XHbmg':function(_0x37dd21,_0x14ead3){return _0x37dd21(_0x14ead3);}};if(!_0x462dfe)throw new Error(_0x23dfe8(0x101));const _0x4b06b3=readProjectsConfig(),_0x4abdd5=_0x4b06b3['projects'][_0x1f834d]??={},_0x379eaf=_0x4abdd5['profiles']??={},_0x743e5e=_0x379eaf[_0x529057]??={},_0x124589=_0x743e5e['settings']??={};_0x1cacd8[_0x23dfe8(0xfc)](setByKeyPath,_0x124589,_0x462dfe,_0x4d4509),_0x1cacd8[_0x23dfe8(0xec)](writeProjectsConfig,_0x4b06b3);}function _0x12f7(){const _0x1bea0f=['11gAyUdZ','keyPath\x20is\x20required','object','length','116570boAHVD','[ranger]\x20Warning:\x20','message','split','dtzxc','.tmp','htaUL','version','profiles','isArray','3264968cLpoOQ','parse','dXzYx','pQZcX','projects','aODGL','HvuCQ','entries','lastProfile','nqDiB','keys','blDJq','28YGsrkQ','XcsQe','4334922yKGeAg','xIDxx','XHbmg','utf-8','warn','3630228BhIgoa','XPzfc','pid','Uvrgs','IEIMA','35hzfqKt','85732hbEEaI','7JSAjCO','612EZQtPj','atxAx','TTHPm','settings','561040PmJdfI','mazUi','jYESy','4527396ekpRtI','rnuto'];_0x12f7=function(){return _0x1bea0f;};return _0x12f7();}export function unsetProfileOverride(_0x2c95fc,_0xc4314a,_0x5c2947){const _0x4c6d9e=_0x2caf,_0x5835f9={'Uvrgs':function(_0x398b59,_0x18cf5d,_0x17ea10){return _0x398b59(_0x18cf5d,_0x17ea10);},'XcsQe':function(_0x7773db,_0x4dd566){return _0x7773db(_0x4dd566);}};if(!_0x5c2947)throw new Error('keyPath\x20is\x20required');const _0x431a46=readProjectsConfig(),_0x2b7f4=_0x431a46['projects'][_0x2c95fc];if(!_0x2b7f4?.['profiles'])return![];const _0x185ca9=_0x2b7f4[_0x4c6d9e(0x10c)][_0xc4314a];if(!_0x185ca9?.['settings'])return![];const _0xac3f5c=_0x5835f9[_0x4c6d9e(0xf2)](deleteByKeyPath,_0x185ca9['settings'],_0x5c2947);if(!_0xac3f5c)return![];return _0x5835f9[_0x4c6d9e(0xe9)](writeProjectsConfig,_0x431a46),!![];}export function resetProfileOverrides(_0x3a4c9c,_0x8ea271){const _0x20e69d=_0x2caf,_0x21d2fd=readProjectsConfig(),_0x2647a9=_0x21d2fd['projects'][_0x3a4c9c];if(!_0x2647a9?.[_0x20e69d(0x10c)])return;if(!(_0x8ea271 in _0x2647a9[_0x20e69d(0x10c)]))return;delete _0x2647a9[_0x20e69d(0x10c)][_0x8ea271],Object[_0x20e69d(0xe6)](_0x2647a9[_0x20e69d(0x10c)])['length']===0x0&&(!_0x2647a9['lastProfile']?delete _0x21d2fd[_0x20e69d(0x112)][_0x3a4c9c]:_0x2647a9['profiles']={}),writeProjectsConfig(_0x21d2fd);}export function readLastProfile(_0x42bfe0){const _0x4e210b=_0x2caf,_0x415866=readProjectsConfig(),_0x4c293a=_0x415866[_0x4e210b(0x112)][_0x42bfe0];return _0x4c293a?.[_0x4e210b(0xe4)]??null;}export function writeLastProfile(_0x31a193,_0x514f26){const _0x51c393=_0x2caf,_0x2af12f={'blDJq':function(_0x226e74){return _0x226e74();}},_0x308636=_0x2af12f[_0x51c393(0xe7)](readProjectsConfig),_0x44629b=_0x308636[_0x51c393(0x112)][_0x31a193]??={};_0x44629b[_0x51c393(0xe4)]=_0x514f26,writeProjectsConfig(_0x308636);}export function clearLastProfile(_0x384f08,_0xaf8805){const _0x746f66=_0x2caf,_0x4d7ab5={'dXzYx':function(_0x181846){return _0x181846();},'rnuto':function(_0x321a95,_0x346074){return _0x321a95(_0x346074);}},_0x2ebdec=_0x4d7ab5[_0x746f66(0x110)](readProjectsConfig),_0x15a590=_0x2ebdec[_0x746f66(0x112)][_0x384f08];if(!_0x15a590||_0x15a590[_0x746f66(0xe4)]!==_0xaf8805)return![];return delete _0x15a590['lastProfile'],(!_0x15a590['profiles']||Object[_0x746f66(0xe6)](_0x15a590[_0x746f66(0x10c)])['length']===0x0)&&delete _0x2ebdec[_0x746f66(0x112)][_0x384f08],_0x4d7ab5[_0x746f66(0xff)](writeProjectsConfig,_0x2ebdec),!![];}export function mergeCloudProfileSettings(_0x31ca21,_0x3e1821){const _0x599461=_0x2caf,_0xe3a69={'htaUL':function(_0x578a5e,_0x1ef4d4){return _0x578a5e??_0x1ef4d4;},'aIGjQ':function(_0x54d467,_0x4cd444){return _0x54d467===_0x4cd444;},'jYESy':function(_0xe99e4f,_0x54e591){return _0xe99e4f===_0x54e591;},'jyvOQ':'setupHeaders','XPzfc':function(_0x160836,_0x2fe586){return _0x160836(_0x2fe586);},'IEIMA':function(_0x5bed38,_0x3c237f){return _0x5bed38===_0x3c237f;}},_0x5a9ff9={..._0xe3a69[_0x599461(0x10a)](_0x31ca21,{})};if(!_0x3e1821)return _0x5a9ff9;for(const [_0x5556f2,_0x186264]of Object[_0x599461(0x115)](_0x3e1821)){if(_0xe3a69['aIGjQ'](_0x186264,undefined))continue;if(_0xe3a69[_0x599461(0xfd)](_0x186264,null)){delete _0x5a9ff9[_0x5556f2];continue;}if(_0x5556f2==='headers'||_0x5556f2===_0xe3a69['jyvOQ']){const _0x4445b8=asRecord(_0x5a9ff9[_0x5556f2])??{},_0x4eeda1=_0xe3a69[_0x599461(0xf0)](asRecord,_0x186264);if(!_0x4eeda1){_0x5a9ff9[_0x5556f2]=_0x186264;continue;}const _0x1a9fe2={..._0x4445b8};for(const [_0x2efe82,_0x2359a0]of Object[_0x599461(0x115)](_0x4eeda1)){if(_0xe3a69[_0x599461(0xf3)](_0x2359a0,null))delete _0x1a9fe2[_0x2efe82];else _0x2359a0!==undefined&&(_0x1a9fe2[_0x2efe82]=_0x2359a0);}_0x5a9ff9[_0x5556f2]=_0x1a9fe2;continue;}_0x5a9ff9[_0x5556f2]=_0x186264;}return _0x5a9ff9;}function asRecord(_0x4f929f){const _0xff17d6=_0x2caf,_0x217aec={'usmeQ':'object'};return _0x4f929f&&typeof _0x4f929f===_0x217aec['usmeQ']&&!Array[_0xff17d6(0x10d)](_0x4f929f)?_0x4f929f:undefined;}function setByKeyPath(_0x2ac236,_0x2e128b,_0x1653c4){const _0x4b8909=_0x2caf,_0x15e1af={'pVLFy':function(_0x2b965a,_0x45e30f){return _0x2b965a-_0x45e30f;},'nqDiB':_0x4b8909(0x102)},_0x4a3bff=_0x2e128b['split']('.');let _0x11c69e=_0x2ac236;for(let _0x3712ef=0x0;_0x3712ef<_0x15e1af['pVLFy'](_0x4a3bff[_0x4b8909(0x103)],0x1);_0x3712ef++){const _0xb9dccb=_0x4a3bff[_0x3712ef],_0x53802a=_0x11c69e[_0xb9dccb];(!_0x53802a||typeof _0x53802a!==_0x15e1af[_0x4b8909(0xe5)]||Array['isArray'](_0x53802a))&&(_0x11c69e[_0xb9dccb]={}),_0x11c69e=_0x11c69e[_0xb9dccb];}_0x11c69e[_0x4a3bff[_0x4a3bff['length']-0x1]]=_0x1653c4;}function deleteByKeyPath(_0xca7c3f,_0x58d30b){const _0x5e839e=_0x2caf,_0x872ca7={'blcXo':function(_0x2ad9d9,_0x521f15){return _0x2ad9d9<_0x521f15;},'TLwDD':function(_0x25c034,_0x502286){return _0x25c034 in _0x502286;}},_0x111fb7=_0x58d30b[_0x5e839e(0x107)]('.');let _0x252137=_0xca7c3f;for(let _0x14b06d=0x0;_0x872ca7['blcXo'](_0x14b06d,_0x111fb7['length']-0x1);_0x14b06d++){const _0x4685fe=_0x111fb7[_0x14b06d],_0x924259=_0x252137[_0x4685fe];if(!_0x924259||typeof _0x924259!=='object'||Array[_0x5e839e(0x10d)](_0x924259))return![];_0x252137=_0x924259;}const _0x55fa94=_0x111fb7[_0x111fb7['length']-0x1];if(!_0x872ca7['TLwDD'](_0x55fa94,_0x252137))return![];return delete _0x252137[_0x55fa94],!![];}
1
+ (function(_0x88be40,_0x1db442){const _0xfafd2b=_0x22bb,_0x2648d0=_0x88be40();while(!![]){try{const _0x56726a=parseInt(_0xfafd2b(0x17c))/0x1+parseInt(_0xfafd2b(0x177))/0x2*(parseInt(_0xfafd2b(0x18b))/0x3)+-parseInt(_0xfafd2b(0x174))/0x4*(parseInt(_0xfafd2b(0x169))/0x5)+-parseInt(_0xfafd2b(0x188))/0x6+-parseInt(_0xfafd2b(0x17a))/0x7+parseInt(_0xfafd2b(0x199))/0x8*(parseInt(_0xfafd2b(0x196))/0x9)+parseInt(_0xfafd2b(0x170))/0xa*(parseInt(_0xfafd2b(0x19a))/0xb);if(_0x56726a===_0x1db442)break;else _0x2648d0['push'](_0x2648d0['shift']());}catch(_0x3571fa){_0x2648d0['push'](_0x2648d0['shift']());}}}(_0xc1c5,0x81c9a));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';function _0x22bb(_0x514366,_0x1ad0f5){_0x514366=_0x514366-0x169;const _0xc1c5db=_0xc1c5();let _0x22bb16=_0xc1c5db[_0x514366];return _0x22bb16;}function _0xc1c5(){const _0x2eb532=['AJHwf','3OxUXMV','keys','split','CAqDm','lastProfile','now','object','entries','version','length','wfLDU','5121iAKPPF','message','projects','4744yMwyeX','2654839vLPftL','15nvfiZf','DgKWe','vpGzV','DfIJJ','UKDyH','[ranger]\x20Warning:\x20','wHvAL','50IRzqaS','isArray','rhlJU','ewiQz','1212212TuhrAK','keyPath\x20is\x20required','gUaRq','610556bakhzc','parse','warn','2871834hfVtYV','profiles','78905LhfAiV','pLqbv','OXmMJ','setupHeaders','stringify','AnIKJ','settings','.\x20Ignoring\x20local\x20profile\x20overrides.','SkDLu','projects.json','hauNb','\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.','463884EoYLAp','OSNnV'];_0xc1c5=function(){return _0x2eb532;};return _0xc1c5();}import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x5275ca=_0x22bb,_0x3e4c01={'ewiQz':function(_0x2e9a49){return _0x2e9a49();}};return join(_0x3e4c01[_0x5275ca(0x173)](getRangerHomeDir),_0x5275ca(0x185));}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x5494f5=_0x22bb,_0x2102b0={'CAqDm':function(_0x1c1320){return _0x1c1320();},'PxEXE':function(_0x3ccadd){return _0x3ccadd();},'tHbOK':function(_0x1d2814,_0x49c9d5,_0x2a5f34){return _0x1d2814(_0x49c9d5,_0x2a5f34);},'EqzRF':function(_0x4ca3b9,_0x86c1be){return _0x4ca3b9 instanceof _0x86c1be;},'aVxxA':function(_0x2334ba,_0x31a70c){return _0x2334ba(_0x31a70c);},'IfGVv':function(_0x502502,_0x3973a9){return _0x502502!==_0x3973a9;},'Noswq':_0x5494f5(0x191),'UKDyH':function(_0x7dc7f9,_0x23ed89){return _0x7dc7f9!==_0x23ed89;},'CUGrD':function(_0x3373c3,_0x2b825f){return _0x3373c3===_0x2b825f;}},_0x2cbcb1=_0x2102b0[_0x5494f5(0x18e)](getProjectsConfigPath);if(!existsSync(_0x2cbcb1))return _0x2102b0['PxEXE'](emptyConfig);let _0x20777f;try{_0x20777f=_0x2102b0['tHbOK'](readFileSync,_0x2cbcb1,'utf-8');}catch(_0x1a9bb1){const _0x4a1e33=_0x2102b0['EqzRF'](_0x1a9bb1,Error)?_0x1a9bb1['message']:_0x2102b0['aVxxA'](String,_0x1a9bb1);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x2cbcb1+':\x20'+_0x4a1e33+_0x5494f5(0x183)),emptyConfig();}let _0x11e663;try{_0x11e663=JSON[_0x5494f5(0x178)](_0x20777f);}catch(_0x31a452){const _0x27e328=_0x31a452 instanceof Error?_0x31a452[_0x5494f5(0x197)]:String(_0x31a452);return console['warn'](_0x5494f5(0x16e)+_0x2cbcb1+'\x20is\x20not\x20valid\x20JSON\x20('+_0x27e328+').\x20Ignoring\x20local\x20profile\x20overrides.'),emptyConfig();}if(!_0x11e663||_0x2102b0['IfGVv'](typeof _0x11e663,_0x2102b0['Noswq'])||Array['isArray'](_0x11e663)||_0x2102b0[_0x5494f5(0x16d)](_0x11e663[_0x5494f5(0x193)],CURRENT_VERSION)||typeof _0x11e663[_0x5494f5(0x198)]!==_0x2102b0['Noswq']||_0x2102b0['CUGrD'](_0x11e663[_0x5494f5(0x198)],null)||Array[_0x5494f5(0x171)](_0x11e663[_0x5494f5(0x198)]))return console[_0x5494f5(0x179)](_0x5494f5(0x16e)+_0x2cbcb1+_0x5494f5(0x187)),emptyConfig();return _0x11e663;}export function writeProjectsConfig(_0x91771){const _0x1102e3=_0x22bb,_0x30b366={'OPDnJ':function(_0x4553da,_0x3ed315){return _0x4553da(_0x3ed315);},'MCMMH':function(_0xc8d55,_0x47a613,_0x2c34a3){return _0xc8d55(_0x47a613,_0x2c34a3);},'RhUyh':function(_0x3d10fa,_0x365cc2){return _0x3d10fa+_0x365cc2;},'AtQTn':'utf-8','pLqbv':function(_0x455625,_0x4a0ab8){return _0x455625(_0x4a0ab8);}},_0x2c6169=getProjectsConfigPath(),_0x57cedd=_0x30b366['OPDnJ'](dirname,_0x2c6169);!existsSync(_0x57cedd)&&_0x30b366['MCMMH'](mkdirSync,_0x57cedd,{'recursive':!![]});const _0x3bbe55=_0x2c6169+'.'+process['pid']+'.'+Date[_0x1102e3(0x190)]()+'.tmp',_0x2a2d19=_0x30b366['RhUyh'](JSON[_0x1102e3(0x180)](_0x91771,null,0x2),'\x0a');try{writeFileSync(_0x3bbe55,_0x2a2d19,{'encoding':_0x30b366['AtQTn'],'mode':0x180}),renameSync(_0x3bbe55,_0x2c6169);}catch(_0x3afbb8){try{_0x30b366[_0x1102e3(0x17d)](existsSync,_0x3bbe55)&&_0x30b366['pLqbv'](unlinkSync,_0x3bbe55);}catch{}throw _0x3afbb8;}}export function readProfileOverrides(_0x21ee8a,_0x2c8ca1){const _0x498d16=_0x22bb,_0x1cdd50={'vpGzV':function(_0x1ac466){return _0x1ac466();}},_0x1b7bf6=_0x1cdd50[_0x498d16(0x16b)](readProjectsConfig),_0x49c75e=_0x1b7bf6['projects'][_0x21ee8a];if(!_0x49c75e||!_0x49c75e['profiles'])return null;const _0x59378f=_0x49c75e['profiles'][_0x2c8ca1];if(!_0x59378f||!_0x59378f['settings'])return null;return _0x59378f['settings']??null;}export function setProfileOverride(_0x104706,_0x4eee26,_0x2dfef3,_0x28747c){const _0x3fd496=_0x22bb,_0x2f5f2f={'OSNnV':function(_0x52514c){return _0x52514c();},'VyRYW':function(_0x221b69,_0x40b294){return _0x221b69(_0x40b294);}};if(!_0x2dfef3)throw new Error('keyPath\x20is\x20required');const _0x5544c5=_0x2f5f2f[_0x3fd496(0x189)](readProjectsConfig),_0x47e2c3=_0x5544c5[_0x3fd496(0x198)][_0x104706]??={},_0x1a8bd4=_0x47e2c3[_0x3fd496(0x17b)]??={},_0x4544dd=_0x1a8bd4[_0x4eee26]??={},_0x22422f=_0x4544dd[_0x3fd496(0x182)]??={};setByKeyPath(_0x22422f,_0x2dfef3,_0x28747c),_0x2f5f2f['VyRYW'](writeProjectsConfig,_0x5544c5);}export function unsetProfileOverride(_0x1eb9a5,_0x5c7888,_0x47c6cd){const _0x54fdd9=_0x22bb,_0x4cb5cc={'DzZLb':function(_0x2970cd){return _0x2970cd();},'rhlJU':function(_0x352b28,_0x5a6a71,_0x5eda4a){return _0x352b28(_0x5a6a71,_0x5eda4a);},'OXmMJ':function(_0x354f00,_0x380c30){return _0x354f00(_0x380c30);}};if(!_0x47c6cd)throw new Error(_0x54fdd9(0x175));const _0x326044=_0x4cb5cc['DzZLb'](readProjectsConfig),_0x113482=_0x326044[_0x54fdd9(0x198)][_0x1eb9a5];if(!_0x113482?.[_0x54fdd9(0x17b)])return![];const _0x4bfb80=_0x113482[_0x54fdd9(0x17b)][_0x5c7888];if(!_0x4bfb80?.['settings'])return![];const _0x47d549=_0x4cb5cc[_0x54fdd9(0x172)](deleteByKeyPath,_0x4bfb80['settings'],_0x47c6cd);if(!_0x47d549)return![];return _0x4cb5cc[_0x54fdd9(0x17e)](writeProjectsConfig,_0x326044),!![];}export function resetProfileOverrides(_0xb3bee9,_0x393d20){const _0xc46d52=_0x22bb,_0xa89b13={'bFAey':function(_0x46fa0f){return _0x46fa0f();},'AnIKJ':function(_0x261181,_0x5aa381){return _0x261181 in _0x5aa381;},'KgBmj':function(_0x331cc5,_0x3fab20){return _0x331cc5===_0x3fab20;},'MxIdf':function(_0x3ad610,_0x424315){return _0x3ad610(_0x424315);}},_0x340896=_0xa89b13['bFAey'](readProjectsConfig),_0x48d22e=_0x340896[_0xc46d52(0x198)][_0xb3bee9];if(!_0x48d22e?.['profiles'])return;if(!_0xa89b13[_0xc46d52(0x181)](_0x393d20,_0x48d22e['profiles']))return;delete _0x48d22e['profiles'][_0x393d20],_0xa89b13['KgBmj'](Object[_0xc46d52(0x18c)](_0x48d22e[_0xc46d52(0x17b)])['length'],0x0)&&(!_0x48d22e[_0xc46d52(0x18f)]?delete _0x340896[_0xc46d52(0x198)][_0xb3bee9]:_0x48d22e[_0xc46d52(0x17b)]={}),_0xa89b13['MxIdf'](writeProjectsConfig,_0x340896);}export function readLastProfile(_0x30da25){const _0x45bf64={'YzSks':function(_0x514590){return _0x514590();}},_0xde063d=_0x45bf64['YzSks'](readProjectsConfig),_0x35ab9b=_0xde063d['projects'][_0x30da25];return _0x35ab9b?.['lastProfile']??null;}export function writeLastProfile(_0x1a7ec2,_0x5ea43f){const _0x1c7d58=_0x22bb,_0x460d60=readProjectsConfig(),_0x4d2265=_0x460d60[_0x1c7d58(0x198)][_0x1a7ec2]??={};_0x4d2265[_0x1c7d58(0x18f)]=_0x5ea43f,writeProjectsConfig(_0x460d60);}export function clearLastProfile(_0x483759,_0x4aa365){const _0x1dd86a=_0x22bb,_0x3e512c={'WmgOi':function(_0x232346,_0x50b29f){return _0x232346(_0x50b29f);}},_0x5a7f85=readProjectsConfig(),_0xe2dff1=_0x5a7f85['projects'][_0x483759];if(!_0xe2dff1||_0xe2dff1[_0x1dd86a(0x18f)]!==_0x4aa365)return![];return delete _0xe2dff1['lastProfile'],(!_0xe2dff1[_0x1dd86a(0x17b)]||Object[_0x1dd86a(0x18c)](_0xe2dff1[_0x1dd86a(0x17b)])[_0x1dd86a(0x194)]===0x0)&&delete _0x5a7f85[_0x1dd86a(0x198)][_0x483759],_0x3e512c['WmgOi'](writeProjectsConfig,_0x5a7f85),!![];}export function mergeCloudProfileSettings(_0x5d6fc3,_0x1eaf5f){const _0x2e39ab=_0x22bb,_0x1d0d56={'Kezvw':function(_0x454361,_0x2ce40e){return _0x454361??_0x2ce40e;},'AJHwf':function(_0xaf2445,_0x39d4ea){return _0xaf2445===_0x39d4ea;},'wfLDU':function(_0x5d7972,_0x18e9cf){return _0x5d7972(_0x18e9cf);},'DfIJJ':function(_0x3f8b0d,_0x20e6b6){return _0x3f8b0d!==_0x20e6b6;}},_0x43fef4={..._0x1d0d56['Kezvw'](_0x5d6fc3,{})};if(!_0x1eaf5f)return _0x43fef4;for(const [_0x5cf2c9,_0x24c1bb]of Object[_0x2e39ab(0x192)](_0x1eaf5f)){if(_0x1d0d56[_0x2e39ab(0x18a)](_0x24c1bb,undefined))continue;if(_0x24c1bb===null){delete _0x43fef4[_0x5cf2c9];continue;}if(_0x1d0d56[_0x2e39ab(0x18a)](_0x5cf2c9,'headers')||_0x5cf2c9===_0x2e39ab(0x17f)){const _0xc28135=_0x1d0d56[_0x2e39ab(0x195)](asRecord,_0x43fef4[_0x5cf2c9])??{},_0x5a3224=_0x1d0d56[_0x2e39ab(0x195)](asRecord,_0x24c1bb);if(!_0x5a3224){_0x43fef4[_0x5cf2c9]=_0x24c1bb;continue;}const _0x42404e={..._0xc28135};for(const [_0x422953,_0xfa3933]of Object[_0x2e39ab(0x192)](_0x5a3224)){if(_0x1d0d56[_0x2e39ab(0x18a)](_0xfa3933,null))delete _0x42404e[_0x422953];else _0x1d0d56[_0x2e39ab(0x16c)](_0xfa3933,undefined)&&(_0x42404e[_0x422953]=_0xfa3933);}_0x43fef4[_0x5cf2c9]=_0x42404e;continue;}_0x43fef4[_0x5cf2c9]=_0x24c1bb;}return _0x43fef4;}function asRecord(_0x27c55f){const _0x3952e8=_0x22bb,_0x5e3ae0={'SkDLu':function(_0x4acdd1,_0x277717){return _0x4acdd1===_0x277717;}};return _0x27c55f&&_0x5e3ae0[_0x3952e8(0x184)](typeof _0x27c55f,'object')&&!Array[_0x3952e8(0x171)](_0x27c55f)?_0x27c55f:undefined;}function setByKeyPath(_0x13d541,_0x5078a7,_0x20871f){const _0x345ff=_0x22bb,_0x35253e={'DgKWe':function(_0x4659d3,_0x192ccc){return _0x4659d3<_0x192ccc;}},_0x9028cf=_0x5078a7[_0x345ff(0x18d)]('.');let _0x9f3ba=_0x13d541;for(let _0x5ab90e=0x0;_0x35253e[_0x345ff(0x16a)](_0x5ab90e,_0x9028cf['length']-0x1);_0x5ab90e++){const _0x3740aa=_0x9028cf[_0x5ab90e],_0x502597=_0x9f3ba[_0x3740aa];(!_0x502597||typeof _0x502597!=='object'||Array[_0x345ff(0x171)](_0x502597))&&(_0x9f3ba[_0x3740aa]={}),_0x9f3ba=_0x9f3ba[_0x3740aa];}_0x9f3ba[_0x9028cf[_0x9028cf[_0x345ff(0x194)]-0x1]]=_0x20871f;}function deleteByKeyPath(_0x405551,_0x3fecfe){const _0x55fd76=_0x22bb,_0x417f55={'wHvAL':function(_0x4c76f5,_0xac566e){return _0x4c76f5-_0xac566e;},'gUaRq':function(_0x25fc6a,_0x44400e){return _0x25fc6a-_0x44400e;},'hauNb':function(_0x487776,_0x95ec3c){return _0x487776 in _0x95ec3c;}},_0x42e575=_0x3fecfe[_0x55fd76(0x18d)]('.');let _0x11f686=_0x405551;for(let _0x49edb3=0x0;_0x49edb3<_0x417f55[_0x55fd76(0x16f)](_0x42e575[_0x55fd76(0x194)],0x1);_0x49edb3++){const _0x345d20=_0x42e575[_0x49edb3],_0x3a100a=_0x11f686[_0x345d20];if(!_0x3a100a||typeof _0x3a100a!==_0x55fd76(0x191)||Array['isArray'](_0x3a100a))return![];_0x11f686=_0x3a100a;}const _0x31fb55=_0x42e575[_0x417f55[_0x55fd76(0x176)](_0x42e575[_0x55fd76(0x194)],0x1)];if(!_0x417f55[_0x55fd76(0x186)](_0x31fb55,_0x11f686))return![];return delete _0x11f686[_0x31fb55],!![];}
@@ -1 +1 @@
1
- (function(_0x3d1b85,_0x5e274a){const _0x26752c=_0x3eba,_0x41e16c=_0x3d1b85();while(!![]){try{const _0x1e17f9=-parseInt(_0x26752c(0x106))/0x1*(parseInt(_0x26752c(0x113))/0x2)+-parseInt(_0x26752c(0x116))/0x3+-parseInt(_0x26752c(0x10d))/0x4+parseInt(_0x26752c(0x114))/0x5+parseInt(_0x26752c(0x109))/0x6*(-parseInt(_0x26752c(0x112))/0x7)+-parseInt(_0x26752c(0x115))/0x8+parseInt(_0x26752c(0x118))/0x9*(parseInt(_0x26752c(0x107))/0xa);if(_0x1e17f9===_0x5e274a)break;else _0x41e16c['push'](_0x41e16c['shift']());}catch(_0x1570b6){_0x41e16c['push'](_0x41e16c['shift']());}}}(_0x2ad4,0x33af7));function _0x3eba(_0x1383b1,_0x486655){_0x1383b1=_0x1383b1-0x106;const _0x2ad488=_0x2ad4();let _0x3eba36=_0x2ad488[_0x1383b1];return _0x3eba36;}import{readFile}from'fs/promises';import{existsSync}from'fs';function _0x2ad4(){const _0x3096db=['model','string','message','871036HaFvVy','config.json','warn','isArray','utf-8','962486HnXKih','243622FISmCG','759725xDionP','1439544QeDAfh','17661SHEbPo','RPcWV','36xEGvmZ','3pYOxpS','2759440nBaarr','parse','12CNTPhu'];_0x2ad4=function(){return _0x3096db;};return _0x2ad4();}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x406b74=_0x3eba,_0x5b9cee={'vYlDv':function(_0x544f84){return _0x544f84();},'wdyJV':_0x406b74(0x10e)};return join(_0x5b9cee['vYlDv'](getRangerDir),_0x5b9cee['wdyJV']);}export async function loadRangerConfig(){const _0x51384f=_0x3eba,_0x14ed8e={'uUCaG':function(_0x50cfe4,_0x3f468b){return _0x50cfe4(_0x3f468b);},'Ivvkg':function(_0x1a9eb6,_0x44516e){return _0x1a9eb6!==_0x44516e;},'gTcYf':'object','RPcWV':_0x51384f(0x10b),'OGEPq':function(_0x331512,_0x5c0669){return _0x331512 instanceof _0x5c0669;}},_0x2a1e49=getRangerConfigPath();if(!_0x14ed8e['uUCaG'](existsSync,_0x2a1e49))return{};try{const _0x154ad8=await readFile(_0x2a1e49,_0x51384f(0x111)),_0x22ef04=JSON[_0x51384f(0x108)](_0x154ad8);if(!_0x22ef04||_0x14ed8e['Ivvkg'](typeof _0x22ef04,_0x14ed8e['gTcYf'])||Array[_0x51384f(0x110)](_0x22ef04))return{};const _0x2bcb0f={},_0xd59d8e=_0x22ef04[_0x51384f(0x10a)];return typeof _0xd59d8e===_0x14ed8e[_0x51384f(0x117)]&&(_0x2bcb0f['model']=_0xd59d8e),_0x2bcb0f;}catch(_0x3b16b2){const _0x212364=_0x14ed8e['OGEPq'](_0x3b16b2,Error)?_0x3b16b2[_0x51384f(0x10c)]:String(_0x3b16b2);return console[_0x51384f(0x10f)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x2a1e49+':\x20'+_0x212364),{};}}
1
+ (function(_0x598c63,_0x2e07fd){const _0x3652c7=_0xc26e,_0xb223bb=_0x598c63();while(!![]){try{const _0x386fae=parseInt(_0x3652c7(0xfd))/0x1*(-parseInt(_0x3652c7(0xff))/0x2)+-parseInt(_0x3652c7(0x100))/0x3*(-parseInt(_0x3652c7(0x103))/0x4)+-parseInt(_0x3652c7(0xfc))/0x5+parseInt(_0x3652c7(0x104))/0x6*(-parseInt(_0x3652c7(0xfa))/0x7)+parseInt(_0x3652c7(0x107))/0x8*(-parseInt(_0x3652c7(0xfe))/0x9)+-parseInt(_0x3652c7(0xf8))/0xa+parseInt(_0x3652c7(0x10a))/0xb*(parseInt(_0x3652c7(0xf9))/0xc);if(_0x386fae===_0x2e07fd)break;else _0xb223bb['push'](_0xb223bb['shift']());}catch(_0x397af3){_0xb223bb['push'](_0xb223bb['shift']());}}}(_0x309b,0x4c264));import{readFile}from'fs/promises';function _0x309b(){const _0x550e51=['string','1382530IYkxMc','1VNJBpk','36klLroX','450382JkLoTW','156YQvUQe','config.json','TnVyS','28784YqYcms','372SHdznx','parse','JLRwy','574104DPwztR','mfuPB','message','449614KTnFyi','isArray','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','model','3276930HTgDwN','444UDBNCI','51730hoEcuM'];_0x309b=function(){return _0x550e51;};return _0x309b();}import{existsSync}from'fs';function _0xc26e(_0x210755,_0x429831){_0x210755=_0x210755-0xf6;const _0x309b00=_0x309b();let _0xc26e0f=_0x309b00[_0x210755];return _0xc26e0f;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x28a29f=_0xc26e;return join(getRangerDir(),_0x28a29f(0x101));}export async function loadRangerConfig(){const _0x2c7ebd=_0xc26e,_0x5993cd={'TeLpP':function(_0x3578fe){return _0x3578fe();},'mfuPB':function(_0x3218be,_0x40b21e,_0x1895d5){return _0x3218be(_0x40b21e,_0x1895d5);},'HsRzE':'utf-8','JLRwy':function(_0x5947f7,_0x461c36){return _0x5947f7!==_0x461c36;},'imfxW':'object','TnVyS':function(_0x1b330c,_0xcef08e){return _0x1b330c instanceof _0xcef08e;},'eEgDs':function(_0x47d092,_0x58deba){return _0x47d092(_0x58deba);}},_0x2edb47=_0x5993cd['TeLpP'](getRangerConfigPath);if(!existsSync(_0x2edb47))return{};try{const _0x10dbc2=await _0x5993cd[_0x2c7ebd(0x108)](readFile,_0x2edb47,_0x5993cd['HsRzE']),_0x17971b=JSON[_0x2c7ebd(0x105)](_0x10dbc2);if(!_0x17971b||_0x5993cd[_0x2c7ebd(0x106)](typeof _0x17971b,_0x5993cd['imfxW'])||Array[_0x2c7ebd(0x10b)](_0x17971b))return{};const _0x37180d={},_0x286cef=_0x17971b[_0x2c7ebd(0xf7)];return typeof _0x286cef===_0x2c7ebd(0xfb)&&(_0x37180d['model']=_0x286cef),_0x37180d;}catch(_0x9ffe2e){const _0x48cd45=_0x5993cd[_0x2c7ebd(0x102)](_0x9ffe2e,Error)?_0x9ffe2e[_0x2c7ebd(0x109)]:_0x5993cd['eEgDs'](String,_0x9ffe2e);return console['warn'](_0x2c7ebd(0xf6)+_0x2edb47+':\x20'+_0x48cd45),{};}}
@@ -1 +1 @@
1
- (function(_0x22dedd,_0x2639e7){const _0x4b1ab=_0x4fbf,_0x428996=_0x22dedd();while(!![]){try{const _0x28f885=parseInt(_0x4b1ab(0x1a9))/0x1*(-parseInt(_0x4b1ab(0x1b1))/0x2)+parseInt(_0x4b1ab(0x1b7))/0x3*(-parseInt(_0x4b1ab(0x1b6))/0x4)+-parseInt(_0x4b1ab(0x1ad))/0x5*(parseInt(_0x4b1ab(0x1a8))/0x6)+parseInt(_0x4b1ab(0x1b0))/0x7+parseInt(_0x4b1ab(0x1b8))/0x8*(-parseInt(_0x4b1ab(0x1b3))/0x9)+-parseInt(_0x4b1ab(0x1af))/0xa+parseInt(_0x4b1ab(0x1bb))/0xb;if(_0x28f885===_0x2639e7)break;else _0x428996['push'](_0x428996['shift']());}catch(_0x29e9d0){_0x428996['push'](_0x428996['shift']());}}}(_0x5079,0xdb41c));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x110eef=_0x4fbf,_0x1fa371={'mmcvC':function(_0x58c91a,_0x33d98c){return _0x58c91a(_0x33d98c);},'TNHXh':function(_0x269161,_0x8c9ce9){return _0x269161(_0x8c9ce9);},'AqKvL':function(_0x228691,_0x46a1d7,_0x30bdb1){return _0x228691(_0x46a1d7,_0x30bdb1);},'aqyHB':function(_0x4106dd,_0x143175){return _0x4106dd(_0x143175);},'FgcHy':function(_0x4f59bd,_0x2e9777,_0x2ff477){return _0x4f59bd(_0x2e9777,_0x2ff477);}};let _0x362588=process[_0x110eef(0x1aa)]();const _0x260bd7=_0x1fa371[_0x110eef(0x1a4)](parse,_0x362588)[_0x110eef(0x1a7)];while(_0x362588!==_0x260bd7){if(_0x1fa371['TNHXh'](existsSync,_0x1fa371[_0x110eef(0x1a5)](join,_0x362588,'.ranger')))return _0x362588;_0x362588=dirname(_0x362588);}if(_0x1fa371[_0x110eef(0x1b4)](existsSync,_0x1fa371['FgcHy'](join,_0x260bd7,_0x110eef(0x1ac))))return _0x260bd7;const _0x441abb=findGitRoot();if(_0x441abb)return _0x441abb;return process[_0x110eef(0x1aa)]();}export function getRangerDir(){const _0x546768=_0x4fbf,_0xfe9c09={'TxFLo':function(_0x574b67,_0x281f17,_0x1f8036){return _0x574b67(_0x281f17,_0x1f8036);},'wBfFv':function(_0x5a8a9e){return _0x5a8a9e();},'hSXJQ':'.ranger'};return _0xfe9c09[_0x546768(0x1ab)](join,_0xfe9c09['wBfFv'](getRangerRoot),_0xfe9c09[_0x546768(0x1ae)]);}function _0x5079(){const _0x54ff48=['cwd','TxFLo','.ranger','8239215EwqWUq','hSXJQ','14876360uNDrpq','7061929UkuLUM','2362622EGpTYa','qmUoF','377370chclTC','aqyHB','Zqpzz','6092220BmdNCJ','3lNICIA','32DFZDVG','SKIkv','IJFvA','64864734iiFTLL','.git','mmcvC','AqKvL','LkYBz','root','6eQvuza','1INJGvB'];_0x5079=function(){return _0x54ff48;};return _0x5079();}export function findGitRoot(){const _0x2d2b0d=_0x4fbf,_0x6478b6={'LkYBz':function(_0x3d5456,_0x6e49e3){return _0x3d5456!==_0x6e49e3;},'SKIkv':function(_0x55277e,_0x271237){return _0x55277e(_0x271237);},'NeKPY':function(_0x45dafd,_0x33505c,_0x363d98){return _0x45dafd(_0x33505c,_0x363d98);},'qmUoF':'.git','IJFvA':function(_0x4ca523,_0x3d2eb0){return _0x4ca523(_0x3d2eb0);}};let _0xae243c=process['cwd']();const _0x4eefc9=parse(_0xae243c)[_0x2d2b0d(0x1a7)];while(_0x6478b6[_0x2d2b0d(0x1a6)](_0xae243c,_0x4eefc9)){if(_0x6478b6[_0x2d2b0d(0x1b9)](existsSync,_0x6478b6['NeKPY'](join,_0xae243c,_0x6478b6[_0x2d2b0d(0x1b2)])))return _0xae243c;_0xae243c=dirname(_0xae243c);}if(_0x6478b6[_0x2d2b0d(0x1ba)](existsSync,join(_0x4eefc9,_0x2d2b0d(0x1a3))))return _0x4eefc9;return null;}function _0x4fbf(_0x270b62,_0x48c098){_0x270b62=_0x270b62-0x1a3;const _0x5079f2=_0x5079();let _0x4fbfdc=_0x5079f2[_0x270b62];return _0x4fbfdc;}export function getRangerHomeDir(){const _0x49c541=_0x4fbf,_0x32a593={'Zqpzz':function(_0x1635b3){return _0x1635b3();}};return join(_0x32a593[_0x49c541(0x1b5)](homedir),'.ranger');}
1
+ (function(_0x12a918,_0x3063ac){const _0x4e28bf=_0x5bd4,_0x2ff309=_0x12a918();while(!![]){try{const _0x2af640=parseInt(_0x4e28bf(0x1aa))/0x1*(-parseInt(_0x4e28bf(0x1a2))/0x2)+parseInt(_0x4e28bf(0x19e))/0x3*(-parseInt(_0x4e28bf(0x194))/0x4)+-parseInt(_0x4e28bf(0x19c))/0x5*(parseInt(_0x4e28bf(0x19f))/0x6)+-parseInt(_0x4e28bf(0x192))/0x7*(parseInt(_0x4e28bf(0x193))/0x8)+parseInt(_0x4e28bf(0x19b))/0x9*(-parseInt(_0x4e28bf(0x1a7))/0xa)+parseInt(_0x4e28bf(0x1a6))/0xb*(-parseInt(_0x4e28bf(0x19a))/0xc)+-parseInt(_0x4e28bf(0x1a5))/0xd*(-parseInt(_0x4e28bf(0x1ab))/0xe);if(_0x2af640===_0x3063ac)break;else _0x2ff309['push'](_0x2ff309['shift']());}catch(_0x11492f){_0x2ff309['push'](_0x2ff309['shift']());}}}(_0x113e,0x74647));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x5b8edd=_0x5bd4,_0x6c1ca={'HVpzV':function(_0x3e20ff,_0x1345d7){return _0x3e20ff!==_0x1345d7;},'rLjLR':function(_0x24f089,_0x378944){return _0x24f089(_0x378944);},'dtUZj':'.ranger','fAeKa':function(_0x26f487,_0x45a44d){return _0x26f487(_0x45a44d);},'ACcKD':function(_0x5639bd,_0x56ab58,_0x5d5f5a){return _0x5639bd(_0x56ab58,_0x5d5f5a);}};let _0x5dc460=process['cwd']();const _0x4a30b4=parse(_0x5dc460)['root'];while(_0x6c1ca[_0x5b8edd(0x198)](_0x5dc460,_0x4a30b4)){if(_0x6c1ca['rLjLR'](existsSync,join(_0x5dc460,_0x6c1ca['dtUZj'])))return _0x5dc460;_0x5dc460=dirname(_0x5dc460);}if(_0x6c1ca['fAeKa'](existsSync,_0x6c1ca['ACcKD'](join,_0x4a30b4,_0x6c1ca[_0x5b8edd(0x195)])))return _0x4a30b4;const _0x94997e=findGitRoot();if(_0x94997e)return _0x94997e;return process['cwd']();}export function getRangerDir(){const _0x3cf0c9=_0x5bd4,_0x2ce966={'UXMhX':function(_0x5531df,_0x9dbea7,_0xf5e93c){return _0x5531df(_0x9dbea7,_0xf5e93c);},'DlVKr':function(_0x358118){return _0x358118();},'jVHAh':_0x3cf0c9(0x1a4)};return _0x2ce966[_0x3cf0c9(0x197)](join,_0x2ce966[_0x3cf0c9(0x1a9)](getRangerRoot),_0x2ce966[_0x3cf0c9(0x19d)]);}function _0x5bd4(_0x153447,_0x57cdd3){_0x153447=_0x153447-0x191;const _0x113e2b=_0x113e();let _0x5bd484=_0x113e2b[_0x153447];return _0x5bd484;}function _0x113e(){const _0x15722f=['jVHAh','3GeOaSg','7620zGswTi','.git','nfUwr','8570aKXtAk','vAwIg','.ranger','26OdmPih','384494FbTUuS','10fkiWAN','bAqBP','DlVKr','157LgvZkJ','18528594XYMCMJ','JhwhT','198135vwvybJ','8kmyXdt','1674168qcFhQI','dtUZj','SsFHW','UXMhX','HVpzV','WRPsT','12LbbBjo','8306487wTSSnt','365XAsTEw'];_0x113e=function(){return _0x15722f;};return _0x113e();}export function findGitRoot(){const _0xa3d103=_0x5bd4,_0x20d7c4={'SsFHW':function(_0x6192bb,_0x3af197){return _0x6192bb(_0x3af197);},'JhwhT':function(_0x3b9319,_0x4b84b9){return _0x3b9319!==_0x4b84b9;},'dFzSW':function(_0x5f2252,_0x5485c9,_0x82f6f9){return _0x5f2252(_0x5485c9,_0x82f6f9);},'vAwIg':_0xa3d103(0x1a0)};let _0x3dd44c=process['cwd']();const _0x2b9923=_0x20d7c4[_0xa3d103(0x196)](parse,_0x3dd44c)['root'];while(_0x20d7c4[_0xa3d103(0x191)](_0x3dd44c,_0x2b9923)){if(existsSync(_0x20d7c4['dFzSW'](join,_0x3dd44c,_0x20d7c4[_0xa3d103(0x1a3)])))return _0x3dd44c;_0x3dd44c=dirname(_0x3dd44c);}if(existsSync(join(_0x2b9923,_0x20d7c4['vAwIg'])))return _0x2b9923;return null;}export function getRangerHomeDir(){const _0xa7bff7=_0x5bd4,_0x20e788={'WRPsT':function(_0x3e5474,_0x5a398b,_0x4e4725){return _0x3e5474(_0x5a398b,_0x4e4725);},'bAqBP':function(_0x197002){return _0x197002();},'nfUwr':_0xa7bff7(0x1a4)};return _0x20e788[_0xa7bff7(0x199)](join,_0x20e788[_0xa7bff7(0x1a8)](homedir),_0x20e788[_0xa7bff7(0x1a1)]);}
@@ -1 +1 @@
1
- (function(_0xce1d0d,_0x5ef95){const _0x232533=_0x5032,_0x2ab0cd=_0xce1d0d();while(!![]){try{const _0x3e367c=-parseInt(_0x232533(0x140))/0x1+-parseInt(_0x232533(0x16f))/0x2*(-parseInt(_0x232533(0x157))/0x3)+parseInt(_0x232533(0x14e))/0x4*(parseInt(_0x232533(0x13f))/0x5)+parseInt(_0x232533(0x15c))/0x6+parseInt(_0x232533(0x164))/0x7*(-parseInt(_0x232533(0x152))/0x8)+parseInt(_0x232533(0x149))/0x9*(parseInt(_0x232533(0x162))/0xa)+-parseInt(_0x232533(0x143))/0xb;if(_0x3e367c===_0x5ef95)break;else _0x2ab0cd['push'](_0x2ab0cd['shift']());}catch(_0x24b6a8){_0x2ab0cd['push'](_0x2ab0cd['shift']());}}}(_0x317c,0x26cb2));import{spawn}from'child_process';import{createRequire}from'module';import{dirname,join}from'path';function _0x5032(_0x37f5bf,_0x1c46c7){_0x37f5bf=_0x37f5bf-0x13e;const _0x317c09=_0x317c();let _0x503259=_0x317c09[_0x37f5bf];return _0x503259;}import{readFileSync}from'fs';import{quoteShellArg}from'./playwrightCli.js';export const RANGERWRIGHT_CLI_PACKAGE='@ranger-testing/rangerwright';export const RANGERWRIGHT_CLI_BINARY='rangerwright';function readPackageJson(_0x13d278){const _0x40a76b=_0x5032,_0x11525c={'CEpyi':function(_0x4e0273,_0x260f5e){return _0x4e0273!==_0x260f5e;}},_0x350140=readFileSync(_0x13d278,'utf-8'),_0x5b3a53=JSON['parse'](_0x350140);if(!_0x5b3a53||_0x11525c[_0x40a76b(0x153)](typeof _0x5b3a53,_0x40a76b(0x16c)))return{};return _0x5b3a53;}export function resolveRangerwrightCliBinary(){const _0x2c6a13=_0x5032,_0x445553={'xvwac':function(_0x1ff8ad,_0x1d0ec5){return _0x1ff8ad(_0x1d0ec5);},'vaYqW':function(_0x3d23cf,_0x478233,_0x2d2920){return _0x3d23cf(_0x478233,_0x2d2920);}},_0x1c06f1=createRequire(process[_0x2c6a13(0x161)][0x1]||join(process['cwd'](),'package.json')),_0x3e6af8=_0x1c06f1[_0x2c6a13(0x154)](RANGERWRIGHT_CLI_PACKAGE+_0x2c6a13(0x150)),_0x40829a=dirname(_0x3e6af8),_0x220f83=_0x445553['xvwac'](readPackageJson,_0x3e6af8),_0x115744=typeof _0x220f83[_0x2c6a13(0x16b)]==='string'?_0x220f83[_0x2c6a13(0x16b)]:_0x220f83[_0x2c6a13(0x16b)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x115744)throw new Error(RANGERWRIGHT_CLI_PACKAGE+_0x2c6a13(0x144)+RANGERWRIGHT_CLI_BINARY+_0x2c6a13(0x166));return _0x445553['vaYqW'](join,_0x40829a,_0x115744);}export function buildRangerwrightCliEnv(_0x38419f){const _0x1d8386=_0x5032;return{'RANGERWRIGHT_SESSION':_0x38419f[_0x1d8386(0x171)],'RANGERWRIGHT_CONFIG':_0x38419f[_0x1d8386(0x14c)],'RANGERWRIGHT_ARTIFACT_DIR':_0x38419f['artifactDir'],..._0x38419f[_0x1d8386(0x165)]?{'RANGERWRIGHT_SOCKET_PATH':_0x38419f['socketPath']}:{}};}export function applyRangerwrightCliEnv(_0x4d81e5,_0x4f717f){const _0x4888c8={'ZOdCt':function(_0x1bc48b,_0xd24ca7){return _0x1bc48b(_0xd24ca7);}};Object['assign'](_0x4d81e5,_0x4888c8['ZOdCt'](buildRangerwrightCliEnv,_0x4f717f));}export function buildRangerwrightCliCommandPrefix(_0x3dcb01=resolveRangerwrightCliBinary()){const _0x1ed11a=_0x5032;return quoteShellArg(_0x3dcb01)+_0x1ed11a(0x15e);}function getRangerwrightSubcommand(_0x23695f){const _0x5aabcd=_0x5032;return _0x23695f[0x0]??_0x5aabcd(0x15d);}function _0x317c(){const _0x14344a=['toString','1330524ceUOXM','pipe','rangerwright-cli\x20','configPath','binaryPath','8XwjqPn','match','/package.json','error','32FVZsDD','CEpyi','resolve','njXtt','PcQyz','111cJQYab','null','GUEHc','length','timeoutMs','1656330ARtJmQ','unknown','\x20--json','kill','map','argv','10KMqRGo','SIGTERM','361298mOviIC','socketPath','\x20binary','febjU','--json','data','command','bin','object','subcommand','UFoeo','14422gJTuli','fxosN','sessionId','cwd','678685zafwFO','222233cmedTt','slice','stdout','4120435MKYIYA','\x20does\x20not\x20expose\x20a\x20','stderr','IfrsQ','\x20signal='];_0x317c=function(){return _0x14344a;};return _0x317c();}export function buildRangerwrightCliInvocation(_0x3bf531,_0x15558b){const _0x518bb5=_0x5032,_0x367de8={'njXtt':function(_0x212ed3){return _0x212ed3();},'EBQDv':function(_0x5df9a5,_0x202507){return _0x5df9a5(_0x202507);}},_0x371792=_0x3bf531[_0x518bb5(0x14d)]??_0x367de8[_0x518bb5(0x155)](resolveRangerwrightCliBinary),_0x42ea44=[_0x518bb5(0x168),..._0x15558b];return{'command':_0x371792,'args':_0x42ea44,'shellCommand':[quoteShellArg(_0x371792),_0x518bb5(0x168),..._0x15558b[_0x518bb5(0x160)](quoteShellArg)]['join']('\x20'),'subcommand':_0x367de8['EBQDv'](getRangerwrightSubcommand,_0x15558b)};}function truncateOutput(_0x9e284c,_0x40dbd3=0x7d0){const _0x1d2d42=_0x5032,_0x15d4ab={'PcQyz':'...'};return _0x9e284c[_0x1d2d42(0x15a)]>_0x40dbd3?_0x9e284c[_0x1d2d42(0x141)](0x0,_0x40dbd3)+_0x15d4ab[_0x1d2d42(0x156)]:_0x9e284c;}export async function runRangerwrightCliCommand(_0x57aa24){const _0x368a6b=_0x5032,_0x5dd8f5={'xCOKG':function(_0x1b7e76,_0x580bba,_0x33fe0e){return _0x1b7e76(_0x580bba,_0x33fe0e);},'UFoeo':function(_0x7f41c2,_0x249872){return _0x7f41c2(_0x249872);},'BlkVx':function(_0x5ef66a,_0x43d837){return _0x5ef66a===_0x43d837;},'GUEHc':function(_0x1e5a72,_0x31238c){return _0x1e5a72??_0x31238c;},'IfrsQ':function(_0x4f55f9,_0x2ed0d1){return _0x4f55f9(_0x2ed0d1);},'fxosN':function(_0x49967f,_0x561615,_0x4f95f4,_0x44d7e1){return _0x49967f(_0x561615,_0x4f95f4,_0x44d7e1);},'gDbcW':_0x368a6b(0x14a),'nvnAK':'close','klzJE':function(_0x5313e9,_0xe304d6){return _0x5313e9(_0xe304d6);}},_0x54b7a6=buildRangerwrightCliInvocation(_0x57aa24,_0x57aa24['commandArgs']),_0x3b2ffb={..._0x57aa24['env']??process['env'],..._0x5dd8f5['klzJE'](buildRangerwrightCliEnv,_0x57aa24)};return new Promise((_0x25f2c9,_0x4fced7)=>{const _0x26ba74=_0x368a6b,_0x21a054={'JNqxr':function(_0x2fd6a6,_0x12d2bc){return _0x2fd6a6(_0x12d2bc);}},_0xdb9dbc=_0x5dd8f5[_0x26ba74(0x170)](spawn,_0x54b7a6[_0x26ba74(0x16a)],_0x54b7a6['args'],{'cwd':_0x57aa24[_0x26ba74(0x13e)],'env':_0x3b2ffb,'stdio':['ignore','pipe',_0x5dd8f5['gDbcW']]});let _0x4e4069='',_0x196e44='',_0x108d18=![];const _0xdc0a66=_0x57aa24['timeoutMs']&&_0x57aa24['timeoutMs']>0x0?setTimeout(()=>{const _0x53026e=_0x26ba74,_0x20dd2a={'febjU':'SIGKILL'};_0x108d18=!![],_0xdb9dbc[_0x53026e(0x15f)](_0x53026e(0x163)),_0x5dd8f5['xCOKG'](setTimeout,()=>{const _0x34e020=_0x53026e;try{_0xdb9dbc['kill'](_0x20dd2a[_0x34e020(0x167)]);}catch{}},0x3e8);},_0x57aa24['timeoutMs']):null;_0xdb9dbc[_0x26ba74(0x142)]?.['on']('data',_0x28d626=>{const _0x4b2782=_0x26ba74;_0x4e4069+=_0x28d626[_0x4b2782(0x148)]();}),_0xdb9dbc[_0x26ba74(0x145)]?.['on'](_0x26ba74(0x169),_0x3f5c24=>{_0x196e44+=_0x3f5c24['toString']();}),_0xdb9dbc['on'](_0x26ba74(0x151),_0x2ea2ca=>{if(_0xdc0a66)clearTimeout(_0xdc0a66);_0x21a054['JNqxr'](_0x4fced7,_0x2ea2ca);}),_0xdb9dbc['on'](_0x5dd8f5['nvnAK'],(_0x6404eb,_0x319f5d)=>{const _0x224cf3=_0x26ba74;if(_0xdc0a66)_0x5dd8f5[_0x224cf3(0x16e)](clearTimeout,_0xdc0a66);if(_0x5dd8f5['BlkVx'](_0x6404eb,0x0)){_0x5dd8f5['UFoeo'](_0x25f2c9,{'stdout':_0x4e4069,'stderr':_0x196e44,'invocation':_0x54b7a6});return;}const _0x1f0cdb=_0x108d18?'timed\x20out\x20after\x20'+_0x57aa24[_0x224cf3(0x15b)]+'ms':'exited\x20with\x20code='+(_0x6404eb??_0x224cf3(0x158))+_0x224cf3(0x147)+_0x5dd8f5[_0x224cf3(0x159)](_0x319f5d,_0x224cf3(0x158));_0x5dd8f5[_0x224cf3(0x146)](_0x4fced7,new Error(_0x224cf3(0x14b)+_0x54b7a6[_0x224cf3(0x16d)]+'\x20'+_0x1f0cdb+'\x0astdout:\x20'+_0x5dd8f5[_0x224cf3(0x16e)](truncateOutput,_0x4e4069)+'\x0astderr:\x20'+truncateOutput(_0x196e44)));});});}export function parseRangerwrightCliCommand(_0x5703ec){const _0x1f7d20=_0x5032,_0xc84823=_0x5703ec[_0x1f7d20(0x14f)](/(?:^|\s)(?:"[^"]*rangerwright"|'[^']*rangerwright'|\S*rangerwright)(?:\s+--json)?\s+([a-z-]+)/);return _0xc84823?.[0x1]??null;}
1
+ const _0x1f3704=_0xf903;(function(_0x53420e,_0x37014a){const _0x3f3bde=_0xf903,_0x26fe7e=_0x53420e();while(!![]){try{const _0x3c8d3c=parseInt(_0x3f3bde(0x1c8))/0x1*(parseInt(_0x3f3bde(0x1d2))/0x2)+parseInt(_0x3f3bde(0x1d4))/0x3+parseInt(_0x3f3bde(0x1c7))/0x4+-parseInt(_0x3f3bde(0x1e3))/0x5*(-parseInt(_0x3f3bde(0x1db))/0x6)+parseInt(_0x3f3bde(0x1c6))/0x7*(-parseInt(_0x3f3bde(0x1de))/0x8)+parseInt(_0x3f3bde(0x1d9))/0x9*(-parseInt(_0x3f3bde(0x1e1))/0xa)+-parseInt(_0x3f3bde(0x1c2))/0xb;if(_0x3c8d3c===_0x37014a)break;else _0x26fe7e['push'](_0x26fe7e['shift']());}catch(_0x25866){_0x26fe7e['push'](_0x26fe7e['shift']());}}}(_0x387e,0x45a39));import{spawn}from'child_process';function _0x387e(){const _0x180577=['469uQdXUE','591084bHUzSr','391532mwlgoS','close','artifactDir','SIGTERM','commandArgs','string','\x20does\x20not\x20expose\x20a\x20','\x0astderr:\x20','data','object','2WtKEoD','kill','1133919fyZgbV','argv','stdout','assign','null','14481AXDuON','command','1517952qJUHPX','bin','rangerwright','3856ODDalK','\x20binary','package.json','1930HdfrMN','XToAI','5RPgAeh','resolve','\x20--json','rangerwright-cli\x20','5964156aHYdeB','PfqDo','lOEPP','timeoutMs'];_0x387e=function(){return _0x180577;};return _0x387e();}import{createRequire}from'module';import{dirname,join}from'path';function _0xf903(_0x4a4c50,_0x22cdae){_0x4a4c50=_0x4a4c50-0x1bf;const _0x387e85=_0x387e();let _0xf90333=_0x387e85[_0x4a4c50];return _0xf90333;}import{readFileSync}from'fs';import{quoteShellArg}from'./playwrightCli.js';export const RANGERWRIGHT_CLI_PACKAGE='@ranger-testing/rangerwright';export const RANGERWRIGHT_CLI_BINARY=_0x1f3704(0x1dd);function readPackageJson(_0x1f9272){const _0x20abc8=_0x1f3704,_0x4aaac4=readFileSync(_0x1f9272,'utf-8'),_0x4bf764=JSON['parse'](_0x4aaac4);if(!_0x4bf764||typeof _0x4bf764!==_0x20abc8(0x1d1))return{};return _0x4bf764;}export function resolveRangerwrightCliBinary(){const _0x3514bb=_0x1f3704,_0x5c7f34={'JUNvZ':function(_0x59558d,_0x33a77f){return _0x59558d(_0x33a77f);},'WnalH':function(_0xdc1c55,_0x186add,_0x2b297d){return _0xdc1c55(_0x186add,_0x2b297d);}},_0x596e06=createRequire(process[_0x3514bb(0x1d5)][0x1]||join(process['cwd'](),_0x3514bb(0x1e0))),_0x2baf27=_0x596e06[_0x3514bb(0x1bf)](RANGERWRIGHT_CLI_PACKAGE+'/package.json'),_0x1e55df=dirname(_0x2baf27),_0x25eb68=_0x5c7f34['JUNvZ'](readPackageJson,_0x2baf27),_0x1f2685=typeof _0x25eb68['bin']===_0x3514bb(0x1cd)?_0x25eb68['bin']:_0x25eb68[_0x3514bb(0x1dc)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x1f2685)throw new Error(RANGERWRIGHT_CLI_PACKAGE+_0x3514bb(0x1ce)+RANGERWRIGHT_CLI_BINARY+_0x3514bb(0x1df));return _0x5c7f34['WnalH'](join,_0x1e55df,_0x1f2685);}export function buildRangerwrightCliEnv(_0x485026){const _0x886d8a=_0x1f3704;return{'RANGERWRIGHT_SESSION':_0x485026['sessionId'],'RANGERWRIGHT_CONFIG':_0x485026['configPath'],'RANGERWRIGHT_ARTIFACT_DIR':_0x485026[_0x886d8a(0x1ca)],..._0x485026['socketPath']?{'RANGERWRIGHT_SOCKET_PATH':_0x485026['socketPath']}:{}};}export function applyRangerwrightCliEnv(_0x37d6f6,_0x193acb){const _0x17201b=_0x1f3704,_0x1ca2c6={'lbfrh':function(_0x5d4e70,_0x22f2ff){return _0x5d4e70(_0x22f2ff);}};Object[_0x17201b(0x1d7)](_0x37d6f6,_0x1ca2c6['lbfrh'](buildRangerwrightCliEnv,_0x193acb));}export function buildRangerwrightCliCommandPrefix(_0x35576a=resolveRangerwrightCliBinary()){const _0x4314f3=_0x1f3704;return quoteShellArg(_0x35576a)+_0x4314f3(0x1c0);}function getRangerwrightSubcommand(_0x17ff7a){return _0x17ff7a[0x0]??'unknown';}export function buildRangerwrightCliInvocation(_0x5e3529,_0x404d95){const _0x4b38f7={'wkZNU':function(_0x49f78d,_0x3122c3){return _0x49f78d(_0x3122c3);}},_0x173798=_0x5e3529['binaryPath']??resolveRangerwrightCliBinary(),_0x3d6e72=['--json',..._0x404d95];return{'command':_0x173798,'args':_0x3d6e72,'shellCommand':[quoteShellArg(_0x173798),'--json',..._0x404d95['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x4b38f7['wkZNU'](getRangerwrightSubcommand,_0x404d95)};}function truncateOutput(_0x34ecee,_0x14b189=0x7d0){return _0x34ecee['length']>_0x14b189?_0x34ecee['slice'](0x0,_0x14b189)+'...':_0x34ecee;}export async function runRangerwrightCliCommand(_0x22ee55){const _0xe17656=_0x1f3704,_0x4ecb65={'NqIpB':function(_0x2ff87a,_0x35052f,_0x404625,_0x211564){return _0x2ff87a(_0x35052f,_0x404625,_0x211564);},'kKsoD':'pipe','lOEPP':function(_0x73918c,_0x363b43){return _0x73918c>_0x363b43;},'PfqDo':function(_0xb73670,_0x389f72,_0x115bb6){return _0xb73670(_0x389f72,_0x115bb6);},'VshXf':_0xe17656(0x1c9),'pqwTc':function(_0x3cd351,_0x9d8b62){return _0x3cd351(_0x9d8b62);}},_0x2ec937=_0x4ecb65['PfqDo'](buildRangerwrightCliInvocation,_0x22ee55,_0x22ee55[_0xe17656(0x1cc)]),_0xe5a121={..._0x22ee55['env']??process['env'],..._0x4ecb65['pqwTc'](buildRangerwrightCliEnv,_0x22ee55)};return new Promise((_0x637f74,_0x14a721)=>{const _0x40f2b5=_0xe17656,_0x130d8e={'XToAI':function(_0x33db06,_0x1eb0de,_0x278e77){return _0x33db06(_0x1eb0de,_0x278e77);},'fMQic':function(_0x377e97,_0x596db5){return _0x377e97(_0x596db5);},'TfAAS':function(_0x352255,_0x28b2dc){return _0x352255===_0x28b2dc;},'abdAP':_0x40f2b5(0x1d8)},_0x191b1b=_0x4ecb65['NqIpB'](spawn,_0x2ec937[_0x40f2b5(0x1da)],_0x2ec937['args'],{'cwd':_0x22ee55['cwd'],'env':_0xe5a121,'stdio':['ignore','pipe',_0x4ecb65['kKsoD']]});let _0x3a3bc1='',_0x3e2dcf='',_0x17c3f8=![];const _0x49dc24=_0x22ee55['timeoutMs']&&_0x4ecb65[_0x40f2b5(0x1c4)](_0x22ee55['timeoutMs'],0x0)?_0x4ecb65[_0x40f2b5(0x1c3)](setTimeout,()=>{const _0x84a5fe=_0x40f2b5;_0x17c3f8=!![],_0x191b1b[_0x84a5fe(0x1d3)](_0x84a5fe(0x1cb)),_0x130d8e[_0x84a5fe(0x1e2)](setTimeout,()=>{const _0x3a1e7a=_0x84a5fe;try{_0x191b1b[_0x3a1e7a(0x1d3)]('SIGKILL');}catch{}},0x3e8);},_0x22ee55['timeoutMs']):null;_0x191b1b[_0x40f2b5(0x1d6)]?.['on'](_0x40f2b5(0x1d0),_0x122baa=>{_0x3a3bc1+=_0x122baa['toString']();}),_0x191b1b['stderr']?.['on'](_0x40f2b5(0x1d0),_0x35a10a=>{_0x3e2dcf+=_0x35a10a['toString']();}),_0x191b1b['on']('error',_0x21a14a=>{if(_0x49dc24)_0x130d8e['fMQic'](clearTimeout,_0x49dc24);_0x14a721(_0x21a14a);}),_0x191b1b['on'](_0x4ecb65['VshXf'],(_0x4c674d,_0x35c9f9)=>{const _0x17638b=_0x40f2b5;if(_0x49dc24)clearTimeout(_0x49dc24);if(_0x130d8e['TfAAS'](_0x4c674d,0x0)){_0x130d8e['fMQic'](_0x637f74,{'stdout':_0x3a3bc1,'stderr':_0x3e2dcf,'invocation':_0x2ec937});return;}const _0x12ffd3=_0x17c3f8?'timed\x20out\x20after\x20'+_0x22ee55[_0x17638b(0x1c5)]+'ms':'exited\x20with\x20code='+(_0x4c674d??_0x130d8e['abdAP'])+'\x20signal='+(_0x35c9f9??_0x130d8e['abdAP']);_0x14a721(new Error(_0x17638b(0x1c1)+_0x2ec937['subcommand']+'\x20'+_0x12ffd3+'\x0astdout:\x20'+_0x130d8e['fMQic'](truncateOutput,_0x3a3bc1)+_0x17638b(0x1cf)+truncateOutput(_0x3e2dcf)));});});}export function parseRangerwrightCliCommand(_0x1d59ae){const _0x3ab9fa=_0x1d59ae['match'](/(?:^|\s)(?:"[^"]*rangerwright"|'[^']*rangerwright'|\S*rangerwright)(?:\s+--json)?\s+([a-z-]+)/);return _0x3ab9fa?.[0x1]??null;}