@ranger-testing/ranger-cli 3.1.2-alpha.b450a14-41 → 3.1.3-alpha.e1ca941-42

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 _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
+ (function(_0x50dbe1,_0x4ab528){const _0x5e9412=_0x2e0d,_0xfbf4f6=_0x50dbe1();while(!![]){try{const _0x154376=-parseInt(_0x5e9412(0x1e1))/0x1+-parseInt(_0x5e9412(0x196))/0x2+-parseInt(_0x5e9412(0x1b8))/0x3*(parseInt(_0x5e9412(0x1cd))/0x4)+-parseInt(_0x5e9412(0x1c4))/0x5+-parseInt(_0x5e9412(0x205))/0x6*(-parseInt(_0x5e9412(0x1bc))/0x7)+-parseInt(_0x5e9412(0x20d))/0x8+parseInt(_0x5e9412(0x1bf))/0x9;if(_0x154376===_0x4ab528)break;else _0xfbf4f6['push'](_0xfbf4f6['shift']());}catch(_0x48664f){_0xfbf4f6['push'](_0xfbf4f6['shift']());}}}(_0x5510,0x4e11f));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';export const NOVA_ACT_CLI_BINARY='act';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(_0xbbd596){const _0x5258fb=_0x2e0d,_0x264f73={'bndeG':function(_0xe8340c,_0x28caf7){return _0xe8340c(_0x28caf7);},'lgxDR':_0x5258fb(0x212)},_0x2eb060=_0x264f73[_0x5258fb(0x1a5)](createHash,'sha256')[_0x5258fb(0x1f2)](_0xbbd596)[_0x5258fb(0x1d1)](_0x264f73[_0x5258fb(0x1e0)])[_0x5258fb(0x22c)](0x0,0xc);return'rg-'+_0x2eb060;}export async function inspectNovaStorageStateFile(_0x12e031){const _0x363906=_0x2e0d,_0x4ec6b4={'vucvT':function(_0x454f05,_0x203ac6){return _0x454f05(_0x203ac6);},'werRF':function(_0x1eb183,_0x546ce6,_0x5d8832){return _0x1eb183(_0x546ce6,_0x5d8832);},'EsBXs':'utf-8','VPSsI':function(_0x335c87,_0x52df8f){return _0x335c87/_0x52df8f;},'iOsYJ':function(_0x1f0700,_0xcd830){return _0x1f0700 instanceof _0xcd830;}};try{const [_0xcc0174,_0x2f87b4]=await Promise[_0x363906(0x21f)]([_0x4ec6b4[_0x363906(0x1d5)](stat,_0x12e031),_0x4ec6b4['werRF'](readFile,_0x12e031,_0x4ec6b4[_0x363906(0x1c8)])]),_0x5be1fa={'path':_0x12e031,'exists':!![],'byteLength':Buffer[_0x363906(0x1c6)](_0x2f87b4),'sha256':createHash('sha256')[_0x363906(0x1f2)](_0x2f87b4)[_0x363906(0x1d1)]('hex')};try{const _0x2f2ae6=JSON['parse'](_0x2f87b4),_0x20b6af=_0x2f2ae6[_0x363906(0x1e8)]??[],_0x38ea5c=Math['floor'](_0x4ec6b4['VPSsI'](Date[_0x363906(0x1f0)](),0x3e8)),_0x462a9a=new Map();for(const _0x1aefa8 of _0x20b6af){const _0x5056d9=_0x462a9a[_0x363906(0x190)](_0x1aefa8[_0x363906(0x1c1)])??[];_0x5056d9[_0x363906(0x1ee)](_0x1aefa8[_0x363906(0x1e6)]),_0x462a9a['set'](_0x1aefa8[_0x363906(0x1c1)],_0x5056d9);}return{..._0x5be1fa,'byteLength':_0xcc0174[_0x363906(0x243)],'cookieCount':_0x20b6af['length'],'cookieDomains':[..._0x462a9a['entries']()]['sort'](([_0x20bcd2],[_0x197011])=>_0x20bcd2['localeCompare'](_0x197011))['map'](([_0x419eb3,_0x3768fd])=>({'domain':_0x419eb3,'count':_0x3768fd[_0x363906(0x222)],'names':_0x3768fd['sort']()[_0x363906(0x22c)](0x0,0x19)})),'httpOnlyCookieCount':_0x20b6af['filter'](_0x5ba1d3=>_0x5ba1d3['httpOnly'])['length'],'secureCookieCount':_0x20b6af[_0x363906(0x1fe)](_0x33c47c=>_0x33c47c['secure'])[_0x363906(0x222)],'sessionCookieCount':_0x20b6af[_0x363906(0x1fe)](_0xfc13f2=>_0xfc13f2[_0x363906(0x1b7)]===-0x1)[_0x363906(0x222)],'expiredCookieCount':_0x20b6af[_0x363906(0x1fe)](_0x416a44=>typeof _0x416a44['expires']===_0x363906(0x1a1)&&_0x416a44[_0x363906(0x1b7)]>0x0&&_0x416a44[_0x363906(0x1b7)]<_0x38ea5c)[_0x363906(0x222)],'originCount':_0x2f2ae6[_0x363906(0x246)]?.['length']??0x0,'origins':(_0x2f2ae6['origins']??[])['map'](_0x2a0091=>({'origin':_0x2a0091[_0x363906(0x1d8)],'localStorageCount':_0x2a0091[_0x363906(0x186)]?.['length']??0x0,'localStorageKeys':_0x2a0091['localStorage']?.[_0x363906(0x1a9)](_0x44048f=>_0x44048f[_0x363906(0x1e6)])[_0x363906(0x21d)]()[_0x363906(0x22c)](0x0,0x19)??[]}))};}catch(_0x2d416e){return{..._0x5be1fa,'byteLength':_0xcc0174['size'],'parseError':_0x4ec6b4[_0x363906(0x217)](_0x2d416e,Error)?_0x2d416e[_0x363906(0x247)]:_0x4ec6b4['vucvT'](String,_0x2d416e)};}}catch(_0x396b80){return{'path':_0x12e031,'exists':![],'readError':_0x396b80 instanceof Error?_0x396b80['message']:_0x4ec6b4['vucvT'](String,_0x396b80)};}}export async function inspectNovaProfileFiles(_0x4d7ab6){const _0x4e2723=_0x2e0d,_0xa3ffb6={'vVjVF':'Local\x20State','tzRAw':'Cookies','jpGoL':function(_0x28c1f0,_0x4e1906,_0x43b131,_0x2be730){return _0x28c1f0(_0x4e1906,_0x43b131,_0x2be730);},'EKeLA':_0x4e2723(0x1ad),'crYRh':function(_0x6ba545,_0x73e7ca,_0x43bfbf){return _0x6ba545(_0x73e7ca,_0x43bfbf);},'fhSvl':function(_0x5ee70d,_0x51a5a0){return _0x5ee70d(_0x51a5a0);},'apJdK':function(_0x1b6a60,_0xacba2b){return _0x1b6a60(_0xacba2b);},'MwvuC':function(_0x93641f,_0x59f13c){return _0x93641f(_0x59f13c);},'lKknj':function(_0x5f01d8,_0x3a8d57){return _0x5f01d8(_0x3a8d57);},'waUbY':function(_0x2ee413,_0x515c6e){return _0x2ee413(_0x515c6e);},'BXlRN':function(_0x194750,_0x4afcc9){return _0x194750(_0x4afcc9);},'ZmOEi':function(_0xf4c047,_0x3fcf0a){return _0xf4c047(_0x3fcf0a);},'xCkij':function(_0x7242e3,_0x4f8a01){return _0x7242e3(_0x4f8a01);}},_0x4086fd=join(_0x4d7ab6[_0x4e2723(0x1f4)],_0xa3ffb6[_0x4e2723(0x1e9)]),_0x4239a6=join(_0x4d7ab6['browserProfilePath'],'Preferences'),_0xfd7136=join(_0x4d7ab6['browserProfilePath'],_0xa3ffb6[_0x4e2723(0x1b0)]),_0x35303e=_0xa3ffb6[_0x4e2723(0x192)](join,_0x4d7ab6[_0x4e2723(0x1f8)],_0xa3ffb6[_0x4e2723(0x19c)],_0xa3ffb6[_0x4e2723(0x1b0)]),_0x5b2879=join(_0x4d7ab6['browserProfilePath'],'Local\x20Storage'),_0x304e80=_0xa3ffb6['crYRh'](join,_0x5b2879,'leveldb'),[_0x455330,_0x12f93a,_0x284f63,_0x3544b9,_0x20dfd8,_0x18ce6e,_0x19a68c,_0x31ed2d,_0x2883e3,_0x3fd385,_0x1f08cf]=await Promise[_0x4e2723(0x21f)]([_0xa3ffb6[_0x4e2723(0x207)](inspectPath,_0x4d7ab6['userDataDir']),_0xa3ffb6['apJdK'](inspectPath,_0x4d7ab6[_0x4e2723(0x1f8)]),_0xa3ffb6[_0x4e2723(0x1d9)](inspectPath,_0x4086fd),_0xa3ffb6[_0x4e2723(0x200)](inspectPath,_0x4239a6),_0xa3ffb6[_0x4e2723(0x200)](inspectPath,_0xfd7136),_0xa3ffb6['waUbY'](inspectPath,_0x35303e),inspectPath(_0x5b2879),_0xa3ffb6['BXlRN'](inspectPath,_0x304e80),_0xa3ffb6['ZmOEi'](listDir,_0x4d7ab6['userDataDir']),_0xa3ffb6[_0x4e2723(0x18b)](listDir,_0x4d7ab6[_0x4e2723(0x1f8)]),_0xa3ffb6['fhSvl'](listDir,_0x304e80)]);return{'userDataDir':_0x4d7ab6['userDataDir'],'browserProfilePath':_0x4d7ab6[_0x4e2723(0x1f8)],'rootEntries':_0x2883e3,'defaultEntries':_0x3fd385,'localStorageEntries':_0x1f08cf,'paths':{'userDataDir':_0x455330,'browserProfilePath':_0x12f93a,'localState':_0x284f63,'preferences':_0x3544b9,'cookies':_0x20dfd8,'networkCookies':_0x18ce6e,'localStorage':_0x19a68c,'levelDb':_0x31ed2d}};}async function inspectPath(_0x2c0c4c){const _0x4b2670=_0x2e0d,_0x2f3f1e={'puSCu':function(_0x3a6046,_0xfdce22){return _0x3a6046 instanceof _0xfdce22;}};try{const _0x272ad5=await stat(_0x2c0c4c);return{'path':_0x2c0c4c,'exists':!![],'isDirectory':_0x272ad5['isDirectory'](),'byteLength':_0x272ad5[_0x4b2670(0x242)]()?_0x272ad5[_0x4b2670(0x243)]:undefined,'mtimeMs':_0x272ad5['mtimeMs']};}catch(_0x562f0b){return{'path':_0x2c0c4c,'exists':![],'error':_0x2f3f1e['puSCu'](_0x562f0b,Error)?_0x562f0b['message']:String(_0x562f0b)};}}async function listDir(_0xf2a3a8){const _0x29d7dd=_0x2e0d;try{return(await readdir(_0xf2a3a8))['sort']()[_0x29d7dd(0x22c)](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x3a2f24,_0x4e9b95=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x31e8e0=_0x2e0d,_0x3ce854={'HvmSj':function(_0x37460c,_0x2de351){return _0x37460c>_0x2de351;},'KwBQg':function(_0x4dfe54,_0x4ab003){return _0x4dfe54+_0x4ab003;},'hYNHR':'...'};return _0x3ce854['HvmSj'](_0x3a2f24[_0x31e8e0(0x222)],_0x4e9b95)?_0x3ce854['KwBQg'](_0x3a2f24[_0x31e8e0(0x22c)](0x0,_0x4e9b95),_0x3ce854[_0x31e8e0(0x20b)]):_0x3a2f24;}function truncateOutput(_0x7a22ae,_0x556cfd=0x7d0){const _0x5c72c9=_0x2e0d,_0x55363c={'BklAp':function(_0x452328,_0xd8025c){return _0x452328>_0xd8025c;},'AaLNT':function(_0x2c628e,_0x17aec0){return _0x2c628e+_0x17aec0;},'ydzJg':'...'};return _0x55363c['BklAp'](_0x7a22ae['length'],_0x556cfd)?_0x55363c['AaLNT'](_0x7a22ae[_0x5c72c9(0x22c)](0x0,_0x556cfd),_0x55363c['ydzJg']):_0x7a22ae;}function getNovaActCliBinDirs(_0x5f10db){const _0x349814=_0x2e0d,_0x4887e6={'kYFCc':function(_0x1dc775){return _0x1dc775();},'qWQue':_0x349814(0x1ac)};return[_0x5f10db[_0x349814(0x1a3)],_0x4887e6[_0x349814(0x229)](homedir)+_0x349814(0x23d),'/opt/homebrew/bin',_0x4887e6[_0x349814(0x1ce)]]['filter'](_0x2d6fb8=>Boolean(_0x2d6fb8));}function buildPathWithNovaActCliBins(_0x36ed6d){const _0x531244=_0x2e0d,_0x41fa91=new Set(),_0x5db3f4=[...getNovaActCliBinDirs(_0x36ed6d),...(_0x36ed6d['PATH']??'')['split'](delimiter)][_0x531244(0x1fe)](_0x195475=>{const _0x363bb1=_0x531244;if(!_0x195475||_0x41fa91['has'](_0x195475))return![];return _0x41fa91[_0x363bb1(0x18d)](_0x195475),!![];});return _0x5db3f4['join'](delimiter);}export function applyNovaActCliPath(_0x4bb0fd){const _0xf25c3d=_0x2e0d;_0x4bb0fd[_0xf25c3d(0x195)]=buildPathWithNovaActCliBins(_0x4bb0fd);}function withNovaActCliPath(_0xe62e34){return{..._0xe62e34,'PATH':buildPathWithNovaActCliBins(_0xe62e34)};}function runBootstrapCommand(_0x502565){const _0xf0f075=_0x2e0d,_0x169a51={'PsHtb':function(_0x2a543d,_0x6736){return _0x2a543d??_0x6736;},'SpMnh':function(_0x377c81,_0x65373e){return _0x377c81(_0x65373e);},'qzaLA':function(_0x57ca60,_0x31b829){return _0x57ca60(_0x31b829);},'xfvXt':'SIGKILL','XkKCV':function(_0x12ae95,_0x548704){return _0x12ae95(_0x548704);},'YFFMy':function(_0x1ea186,_0x447fed,_0x897cbc,_0x266aae){return _0x1ea186(_0x447fed,_0x897cbc,_0x266aae);},'GyFGQ':_0xf0f075(0x1a8),'QWVcI':'pipe','qQEgX':'data','mVtVl':'error'},{command:_0x51fe5e,args:_0x6e98a0,env:_0x5055c3,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x502565;return new Promise((_0x5aeeba,_0x4ef870)=>{const _0x1a7354=_0xf0f075,_0x377764={'rSFOB':_0x169a51[_0x1a7354(0x1a4)],'IlywI':_0x1a7354(0x201),'HnKRA':function(_0x529225,_0x40f2e3){return _0x169a51['XkKCV'](_0x529225,_0x40f2e3);}},_0x3d0765=_0x169a51['YFFMy'](spawn,_0x51fe5e,_0x6e98a0,{'env':_0x5055c3,'stdio':[_0x169a51['GyFGQ'],_0x169a51[_0x1a7354(0x1d2)],_0x169a51[_0x1a7354(0x1d2)]]});let _0x35c7dd='',_0x57795f='',_0x2414d9=![];const _0x577216=setTimeout(()=>{const _0x22aec3=_0x1a7354;_0x2414d9=!![],_0x3d0765[_0x22aec3(0x1d4)](_0x377764[_0x22aec3(0x240)]),setTimeout(()=>{const _0x2dbc12=_0x22aec3;try{_0x3d0765[_0x2dbc12(0x1d4)](_0x377764[_0x2dbc12(0x1d6)]);}catch{}},0x3e8);},timeoutMs);_0x3d0765[_0x1a7354(0x1b5)]?.['on'](_0x169a51[_0x1a7354(0x22a)],_0x52e285=>{_0x35c7dd+=_0x52e285['toString']();}),_0x3d0765[_0x1a7354(0x1c5)]?.['on']('data',_0x234825=>{const _0x4a0445=_0x1a7354;_0x57795f+=_0x234825[_0x4a0445(0x23a)]();}),_0x3d0765['on'](_0x169a51[_0x1a7354(0x1f3)],_0x85a41f=>{_0x377764['HnKRA'](clearTimeout,_0x577216),_0x4ef870(_0x85a41f);}),_0x3d0765['on']('close',(_0x20f41a,_0xcc67c7)=>{const _0x3ad166=_0x1a7354;clearTimeout(_0x577216);if(_0x20f41a===0x0){_0x5aeeba({'stdout':_0x35c7dd,'stderr':_0x57795f});return;}const _0xcd4b62=_0x2414d9?'timed\x20out\x20after\x20'+timeoutMs+'ms':_0x3ad166(0x1df)+(_0x20f41a??'null')+'\x20signal='+_0x169a51['PsHtb'](_0xcc67c7,'null');_0x169a51['SpMnh'](_0x4ef870,new Error(_0x51fe5e+'\x20'+_0x6e98a0[_0x3ad166(0x214)]('\x20')+'\x20'+_0xcd4b62+_0x3ad166(0x1f7)+_0x169a51[_0x3ad166(0x1e4)](truncateOutput,_0x35c7dd)+'\x0astderr:\x20'+truncateOutput(_0x57795f)));});});}function runCommandAllowFailure(_0x499415){const _0x15a227={'sLiXN':function(_0x101005,_0x44ecf1){return _0x101005(_0x44ecf1);},'Jqkyw':function(_0x26c58f,_0x319be4){return _0x26c58f(_0x319be4);}},{command:_0x25d336,args:_0x3cfbbd,env:_0x43640d,timeoutMs:_0x312bfc}=_0x499415;return new Promise((_0x2ed301,_0x53493)=>{const _0xbf373a={'GWbDj':'SIGTERM','ICZBA':function(_0x5ec940,_0x6f393a){const _0x1094ed=_0x2e0d;return _0x15a227[_0x1094ed(0x18e)](_0x5ec940,_0x6f393a);}},_0x176a76=spawn(_0x25d336,_0x3cfbbd,{'env':_0x43640d,'stdio':['ignore','pipe','pipe']});let _0xe5886c='',_0x111179='',_0xe92719=![];const _0x1b1496=setTimeout(()=>{const _0x49c154=_0x2e0d,_0xb87a67={'bYXeK':_0x49c154(0x1c7)};_0xe92719=!![],_0x176a76['kill'](_0xbf373a['GWbDj']),setTimeout(()=>{const _0x16866d=_0x49c154;try{_0x176a76[_0x16866d(0x1d4)](_0xb87a67[_0x16866d(0x224)]);}catch{}},0x3e8);},_0x312bfc);_0x176a76['stdout']?.['on']('data',_0x488e65=>{_0xe5886c+=_0x488e65['toString']();}),_0x176a76['stderr']?.['on']('data',_0x5e2448=>{const _0x3db85b=_0x2e0d;_0x111179+=_0x5e2448[_0x3db85b(0x23a)]();}),_0x176a76['on']('error',_0x598bc2=>{const _0x2ae0a5=_0x2e0d;_0x15a227[_0x2ae0a5(0x20e)](clearTimeout,_0x1b1496),_0x15a227[_0x2ae0a5(0x20e)](_0x53493,_0x598bc2);}),_0x176a76['on']('close',(_0x1d0df7,_0xbb0b9d)=>{_0xbf373a['ICZBA'](clearTimeout,_0x1b1496),_0xbf373a['ICZBA'](_0x2ed301,{'code':_0x1d0df7,'signal':_0xbb0b9d,'stdout':_0xe5886c,'stderr':_0x111179,'timedOut':_0xe92719});});});}async function resolveActPath(_0x200d89){const _0x42e244=_0x2e0d,_0x38cb25={'Yxwen':function(_0x53c931,_0x487a3e){return _0x53c931(_0x487a3e);}},_0x1db334=isAbsolute(NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x200d89[_0x42e244(0x195)]??'')[_0x42e244(0x1b2)](delimiter)['filter'](Boolean)['map'](_0x2c53cc=>join(_0x2c53cc,NOVA_ACT_CLI_BINARY));for(const _0x54bdad of _0x1db334){try{return await _0x38cb25[_0x42e244(0x1c3)](access,_0x54bdad),_0x54bdad;}catch{}}return null;}async function checkNovaActCli(_0x391f32){const _0x3212b3=_0x2e0d,_0x25fdb7={'wvqCa':function(_0x1739de,_0x149305){return _0x1739de(_0x149305);}};try{return await _0x25fdb7[_0x3212b3(0x227)](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':[_0x3212b3(0x22f),'--help'],'env':_0x391f32,'timeoutMs':0x7530}),await _0x25fdb7['wvqCa'](resolveActPath,_0x391f32)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0xe1a5f4={}){const _0x290b86=_0x2e0d,_0x50204c={'FikAe':function(_0x3e98e6,_0x35650e){return _0x3e98e6(_0x35650e);},'VNJub':function(_0x4df758,_0x4392c2){return _0x4df758(_0x4392c2);},'SJvFG':function(_0x1fc6f5,_0x22c4be){return _0x1fc6f5(_0x22c4be);},'uUcah':'tool','FULip':_0x290b86(0x193)},_0x23b5c3=withNovaActCliPath(_0xe1a5f4[_0x290b86(0x238)]??process['env']),_0x24c1bf=await checkNovaActCli(_0x23b5c3);if(_0x24c1bf)return{'installed':![],'actPath':_0x24c1bf,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await _0x50204c['FikAe'](runBootstrapCommand,{'command':'uv','args':['--version'],'env':_0x23b5c3,'timeoutMs':0x7530});}catch(_0x440abb){throw new Error('nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`'+NOVA_ACT_CLI_BINARY+_0x290b86(0x1ab)+NOVA_ACT_CLI_UV_PACKAGE+'\x22\x0a'+(_0x440abb instanceof Error?_0x440abb['message']:_0x50204c[_0x290b86(0x1dd)](String,_0x440abb)));}const _0x38a672=await _0x50204c[_0x290b86(0x1ba)](runBootstrapCommand,{'command':'uv','args':[_0x50204c['uUcah'],_0x50204c[_0x290b86(0x188)],NOVA_ACT_CLI_UV_PACKAGE],'env':_0x23b5c3,'timeoutMs':_0xe1a5f4['timeoutMs']??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x1680a8=await _0x50204c[_0x290b86(0x1ba)](checkNovaActCli,_0x23b5c3);if(!_0x1680a8)throw new Error(_0x290b86(0x1bb)+NOVA_ACT_CLI_UV_PACKAGE+',\x20but\x20`'+NOVA_ACT_CLI_BINARY+_0x290b86(0x197)+_0x50204c['FikAe'](getNovaActCliBinDirs,_0x23b5c3)['join'](',\x20')+_0x290b86(0x228)+truncateOutput(_0x38a672[_0x290b86(0x1b5)])+'\x0astderr:\x20'+truncateOutput(_0x38a672['stderr']));return{'installed':!![],'actPath':_0x1680a8,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x38a672['stdout'],'stderr':_0x38a672['stderr']};}function parseNovaActDoctorOutput(_0xf4b4e8){const _0x2403bc=_0x2e0d;try{return JSON[_0x2403bc(0x237)](_0xf4b4e8);}catch{return null;}}function buildNovaActCliPreflightError(_0x294d6c){const _0x39a1d3=_0x2e0d,_0x240a6c={'kNkuh':'null','Hegnc':function(_0x5f02d5,_0x2dcef6){return _0x5f02d5(_0x2dcef6);},'kYrLZ':'For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>'},{checks:_0x5b7da5,stdout:_0x266e4f,stderr:_0x36a299,env:_0x228272,code:_0x1ca376,signal:_0x1a182e,timedOut:_0x3046ba}=_0x294d6c,_0x2487e7=_0x5b7da5['filter'](_0x85c4f4=>_0x85c4f4[_0x39a1d3(0x1e3)]===_0x39a1d3(0x218)),_0x433789=_0x2487e7[_0x39a1d3(0x222)]>0x0?_0x2487e7[_0x39a1d3(0x1a9)](_0x190a7d=>{const _0x5cf0a4=_0x39a1d3,_0x13bcb6=_0x190a7d[_0x5cf0a4(0x210)]?'\x20Fix:\x20'+_0x190a7d['fix']:'';return'-\x20'+_0x190a7d['name']+':\x20'+_0x190a7d[_0x5cf0a4(0x247)]+'.'+_0x13bcb6;})['join']('\x0a'):[_0x3046ba?_0x39a1d3(0x1aa):'act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code='+(_0x1ca376??'null')+'\x20signal='+(_0x1a182e??_0x240a6c['kNkuh']),_0x266e4f?_0x39a1d3(0x216)+truncateOutput(_0x266e4f):'',_0x36a299?'stderr:\x20'+_0x240a6c[_0x39a1d3(0x204)](truncateOutput,_0x36a299):''][_0x39a1d3(0x1fe)](Boolean)[_0x39a1d3(0x214)]('\x0a'),_0x161097=_0x228272[_0x39a1d3(0x1e5)]?.['trim'](),_0x1f1f9e=_0x161097?_0x39a1d3(0x22e)+_0x161097:_0x240a6c[_0x39a1d3(0x1c2)];return new Error(['Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.',_0x433789,_0x39a1d3(0x235),_0x1f1f9e][_0x39a1d3(0x214)]('\x0a'));}export async function preflightNovaActCli(_0x7c1661={}){const _0x10f0f9=_0x2e0d,_0x1c95e7={'TXjly':_0x10f0f9(0x22f),'vXedf':_0x10f0f9(0x241),'FZCIy':function(_0x58c9c8,_0x1a57dc){return _0x58c9c8(_0x1a57dc);},'nYXts':function(_0x793aaa,_0x4ede6e){return _0x793aaa!==_0x4ede6e;},'zRmyI':function(_0x40f1fe,_0x2901a2){return _0x40f1fe(_0x2901a2);}},_0x4fdd05=withNovaActCliPath(_0x7c1661[_0x10f0f9(0x238)]??process['env']),_0x2e5785=await runCommandAllowFailure({'command':NOVA_ACT_CLI_BINARY,'args':[_0x1c95e7[_0x10f0f9(0x1fa)],_0x1c95e7[_0x10f0f9(0x1ec)],_0x10f0f9(0x20c)],'env':_0x4fdd05,'timeoutMs':_0x7c1661[_0x10f0f9(0x18c)]??0x7530}),_0x48e6eb=_0x1c95e7[_0x10f0f9(0x1be)](parseNovaActDoctorOutput,_0x2e5785['stdout']),_0x4d6a8d=_0x48e6eb?.['data']?.[_0x10f0f9(0x1db)]??[],_0x5be740=_0x4d6a8d[_0x10f0f9(0x1a0)](_0x19a5db=>_0x19a5db['status']===_0x10f0f9(0x218));if(_0x1c95e7['nYXts'](_0x2e5785[_0x10f0f9(0x1fc)],0x0)||_0x2e5785['timedOut']||_0x5be740)throw _0x1c95e7['zRmyI'](buildNovaActCliPreflightError,{'checks':_0x4d6a8d,'stdout':_0x2e5785[_0x10f0f9(0x1b5)],'stderr':_0x2e5785[_0x10f0f9(0x1c5)],'env':_0x4fdd05,'code':_0x2e5785[_0x10f0f9(0x1fc)],'signal':_0x2e5785['signal'],'timedOut':_0x2e5785['timedOut']});return{'checks':_0x4d6a8d,'logDir':_0x48e6eb?.['log_dir']??_0x48e6eb?.['logDir']};}function getNovaActCliSubcommand(_0x5b680e){const _0x385e14=_0x2e0d,_0x520735={'QlCfJ':_0x385e14(0x18a)},[_0x4d774d=_0x385e14(0x22b),_0x940969]=_0x5b680e;return _0x4d774d===_0x520735[_0x385e14(0x230)]&&_0x940969?_0x4d774d+'\x20'+_0x940969:_0x4d774d;}function supportsBrowserSessionOptions(_0x51ca5b){const _0x3d4bbb=_0x2e0d,_0x30b828={'CCZLf':function(_0x51b2fe,_0x41d068){return _0x51b2fe===_0x41d068;},'sblxc':_0x3d4bbb(0x225)};return!(_0x30b828[_0x3d4bbb(0x19d)](_0x51ca5b[0x0],_0x3d4bbb(0x18a))&&(_0x51ca5b[0x1]===_0x3d4bbb(0x1bd)||_0x51ca5b[0x1]===_0x30b828['sblxc']));}function buildSharedArgs(_0x15cda5,_0x55c736){const _0x57ff6e=_0x2e0d,_0x178e2f={'jiunu':'--json','pTcwO':_0x57ff6e(0x1ed),'phPLQ':_0x57ff6e(0x1ff),'XcXbg':'--headed','lMGIc':'--executable-path','vnelA':'--cdp'},_0x50eb14=['--session-id',_0x15cda5['sessionId'],_0x178e2f[_0x57ff6e(0x199)]];if(supportsBrowserSessionOptions(_0x55c736)){_0x50eb14[_0x57ff6e(0x1ee)](_0x178e2f[_0x57ff6e(0x234)]),_0x50eb14['push'](_0x15cda5[_0x57ff6e(0x1d7)]?_0x178e2f['phPLQ']:_0x178e2f[_0x57ff6e(0x1c0)]);_0x15cda5['browserProfilePath']&&_0x50eb14[_0x57ff6e(0x1ee)]('--browser-profile-path',_0x15cda5[_0x57ff6e(0x1f8)]);_0x15cda5[_0x57ff6e(0x206)]&&_0x50eb14[_0x57ff6e(0x1ee)](_0x178e2f[_0x57ff6e(0x1fd)],_0x15cda5['executablePath']);_0x15cda5[_0x57ff6e(0x194)]&&_0x50eb14['push'](_0x178e2f['vnelA'],_0x15cda5[_0x57ff6e(0x194)]);for(const _0xe00f9a of _0x15cda5['launchArgs']??[]){_0x50eb14[_0x57ff6e(0x1ee)](_0x57ff6e(0x22d)+_0xe00f9a);}}return _0x50eb14;}export function buildNovaActCliInvocation(_0x800e54,_0x3cc7b5){const _0x365287=_0x2e0d,_0xb68afc={'vVmGf':function(_0x28fae9,_0x47fc82,_0x182490){return _0x28fae9(_0x47fc82,_0x182490);}},_0x48ac99=_0xb68afc['vVmGf'](buildSharedArgs,_0x800e54,_0x3cc7b5),_0x2dd2d8=[_0x365287(0x22f),..._0x3cc7b5,..._0x48ac99];return{'command':NOVA_ACT_CLI_BINARY,'args':_0x2dd2d8,'shellCommand':[NOVA_ACT_CLI_BINARY,_0x365287(0x22f),..._0x3cc7b5['map'](quoteShellArg),..._0x48ac99[_0x365287(0x1a9)](quoteShellArg)]['join']('\x20'),'subcommand':getNovaActCliSubcommand(_0x3cc7b5)};}export function buildNovaActCliCommandPrefix(){const _0x526f09=_0x2e0d;return NOVA_ACT_CLI_BINARY+_0x526f09(0x203);}export function buildNovaActCliBrowserWrapperPath(_0x585d37){const _0x55d26b=_0x2e0d,_0x2fbc3d={'jTZGO':'nova-act-browser'};return join(dirname(_0x585d37[_0x55d26b(0x1f4)]),_0x2fbc3d[_0x55d26b(0x187)]);}export async function writeNovaActCliBrowserWrapper(_0x2d80ed){const _0x111aef=_0x2e0d,_0x40cbde={'xLFob':function(_0x1acd4b,_0x2733cc,_0x59d068){return _0x1acd4b(_0x2733cc,_0x59d068);},'jCypU':_0x111aef(0x19a),'qdhZq':_0x111aef(0x18a),'TzhnM':function(_0x2f0171,_0x3918a0){return _0x2f0171(_0x3918a0);},'IrtHY':function(_0x48ac22,_0x33e9e3,_0x397993,_0x1e2880){return _0x48ac22(_0x33e9e3,_0x397993,_0x1e2880);},'pAYGC':function(_0x24c4a6,_0x330447){return _0x24c4a6(_0x330447);}},_0x418995=_0x2d80ed['browserCommandPath']??buildNovaActCliBrowserWrapperPath(_0x2d80ed),_0x268306=_0x40cbde[_0x111aef(0x19e)](buildSharedArgs,_0x2d80ed,[_0x40cbde['jCypU']])['map'](quoteShellArg)[_0x111aef(0x214)]('\x20'),_0x42ee98=_0x40cbde[_0x111aef(0x19e)](buildSharedArgs,_0x2d80ed,[_0x40cbde[_0x111aef(0x1fb)],'export'])['map'](quoteShellArg)['join']('\x20');return await _0x40cbde['xLFob'](mkdir,_0x40cbde['TzhnM'](dirname,_0x418995),{'recursive':!![]}),await mkdir(_0x2d80ed[_0x111aef(0x1f4)],{'recursive':!![]}),await _0x40cbde['IrtHY'](writeFile,_0x418995,'#!/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'+_0x42ee98+_0x111aef(0x232)+_0x40cbde[_0x111aef(0x1ca)](quoteShellArg,NOVA_ACT_CLI_BINARY)+'\x20browser\x20\x22$@\x22\x20'+_0x268306+'\x0a','utf-8'),await chmod(_0x418995,0x1ed),_0x418995;}export function buildNovaActCliSharedOptionsSuffix(_0x569241,_0x2d3460=['execute']){return buildSharedArgs(_0x569241,_0x2d3460)['map'](quoteShellArg)['join']('\x20');}export async function runNovaActCliCommand(_0x2832a1){const _0xf7d4b1=_0x2e0d,_0x3b7c79={'TTiZz':_0xf7d4b1(0x201),'SjenQ':function(_0x1a7e6a,_0x257953){return _0x1a7e6a??_0x257953;},'WXtIe':function(_0x5bd547,_0x343c8b,_0x86d072,_0x261377){return _0x5bd547(_0x343c8b,_0x86d072,_0x261377);},'LkyYd':'ignore','fmVtK':'pipe','jsIAT':function(_0x287cc9,_0x1237df){return _0x287cc9>_0x1237df;},'GRxsd':function(_0x50e812,_0x25eca3,_0x3fa8b6){return _0x50e812(_0x25eca3,_0x3fa8b6);},'OCTQo':'error','xMGwv':function(_0x318ad7,_0x279141,_0x5062fe){return _0x318ad7(_0x279141,_0x5062fe);}};await _0x3b7c79[_0xf7d4b1(0x231)](mkdir,_0x2832a1['userDataDir'],{'recursive':!![]});const _0x27c627=_0x3b7c79['xMGwv'](buildNovaActCliInvocation,_0x2832a1,_0x2832a1[_0xf7d4b1(0x1a6)]);return new Promise((_0x1ec7b3,_0x43e86d)=>{const _0x226500=_0xf7d4b1,_0x15131b={'hNPnT':function(_0x493b83,_0xa5f439){return _0x493b83===_0xa5f439;},'GkFsS':function(_0x2f76ce,_0x380a80){return _0x3b7c79['SjenQ'](_0x2f76ce,_0x380a80);},'rBUIy':'null','RxjKi':function(_0x3a68c3,_0x19f841){return _0x3a68c3(_0x19f841);}},_0x4ec5e2=_0x3b7c79[_0x226500(0x1a7)](spawn,_0x27c627[_0x226500(0x1e7)],_0x27c627['args'],{'cwd':_0x2832a1[_0x226500(0x1da)],'env':_0x2832a1[_0x226500(0x238)],'stdio':[_0x3b7c79[_0x226500(0x1ea)],_0x3b7c79[_0x226500(0x1f9)],_0x226500(0x1b3)]});let _0x3794fe='',_0x1514c1='',_0x421cde=![];const _0x372d74=_0x2832a1['timeoutMs']&&_0x3b7c79['jsIAT'](_0x2832a1['timeoutMs'],0x0)?_0x3b7c79['GRxsd'](setTimeout,()=>{const _0x17daf8=_0x226500;_0x421cde=!![],_0x4ec5e2[_0x17daf8(0x1d4)](_0x3b7c79[_0x17daf8(0x1b6)]),setTimeout(()=>{const _0xf09f33=_0x17daf8;try{_0x4ec5e2[_0xf09f33(0x1d4)](_0xf09f33(0x1c7));}catch{}},0x3e8);},_0x2832a1['timeoutMs']):null;_0x4ec5e2['stdout']?.['on'](_0x226500(0x21c),_0x3c5200=>{const _0x89a1da=_0x226500;_0x3794fe+=_0x3c5200[_0x89a1da(0x23a)]();}),_0x4ec5e2['stderr']?.['on']('data',_0x5c6a79=>{const _0xdb8a7f=_0x226500;_0x1514c1+=_0x5c6a79[_0xdb8a7f(0x23a)]();}),_0x4ec5e2['on'](_0x3b7c79[_0x226500(0x21a)],_0x5b8bd2=>{if(_0x372d74)clearTimeout(_0x372d74);_0x43e86d(_0x5b8bd2);}),_0x4ec5e2['on'](_0x226500(0x225),(_0x16dd1a,_0x3af15e)=>{const _0xf75424=_0x226500;if(_0x372d74)clearTimeout(_0x372d74);if(_0x15131b['hNPnT'](_0x16dd1a,0x0)){_0x1ec7b3({'stdout':_0x3794fe,'stderr':_0x1514c1,'invocation':_0x27c627});return;}const _0x493f76=_0x421cde?'timed\x20out\x20after\x20'+_0x2832a1['timeoutMs']+'ms':_0xf75424(0x1df)+_0x15131b['GkFsS'](_0x16dd1a,_0x15131b['rBUIy'])+_0xf75424(0x21b)+_0x15131b['GkFsS'](_0x3af15e,_0xf75424(0x1cf));_0x43e86d(new Error('nova-act-cli\x20'+_0x27c627['subcommand']+'\x20'+_0x493f76+_0xf75424(0x1f7)+_0x15131b[_0xf75424(0x219)](truncateOutput,_0x3794fe)+'\x0astderr:\x20'+truncateOutput(_0x1514c1)));});});}export function parseNovaActCliCommand(_0x734adc){const _0x2791a1=_0x2e0d,_0x596525=_0x734adc[_0x2791a1(0x223)](/(?:^|\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 _0x596525?.[0x1]??null;}export function extractNovaActLogDir(_0x4916d6){const _0x141f58=_0x2e0d;try{const _0x487043=JSON['parse'](_0x4916d6),_0x441a36=[_0x487043[_0x141f58(0x23b)],_0x487043[_0x141f58(0x236)],_0x487043[_0x141f58(0x244)],_0x487043[_0x141f58(0x209)],_0x487043['log_dir']],_0x47ec7e=_0x441a36['find'](_0x5e4ddf=>typeof _0x5e4ddf===_0x141f58(0x23e)&&_0x5e4ddf['trim']()[_0x141f58(0x222)]>0x0);if(_0x47ec7e)return _0x47ec7e;}catch{}const _0xc6008=_0x4916d6[_0x141f58(0x223)](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0xc6008?.[0x1]??null;}export async function loadNovaActSessionExport(_0x584ac4){const _0x174fa9=_0x2e0d;try{return JSON[_0x174fa9(0x237)](await readFile(_0x584ac4,_0x174fa9(0x202)));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0x2fb262){const _0x82b505=_0x2e0d,_0x2df9cc={'ZKpCm':function(_0x11e074,_0x540419){return _0x11e074!==_0x540419;},'Nxlde':function(_0x4f8358,_0x40598a){return _0x4f8358+_0x40598a;},'AdHBF':function(_0x3e5fcc,_0x2230fd){return _0x3e5fcc/_0x2230fd;},'zDEGv':function(_0x4c5978,_0x13b2a9,_0x2d7d10){return _0x4c5978(_0x13b2a9,_0x2d7d10);},'nypwu':function(_0x1aa108,_0x4c5a59){return _0x1aa108(_0x4c5a59);},'caPph':'Default','DgqTR':function(_0x6aa4dd,_0x193032,_0x1eb90e){return _0x6aa4dd(_0x193032,_0x1eb90e);},'NAJJb':_0x82b505(0x1f6),'LgVaZ':'domcontentloaded','fJjka':function(_0xd1ee62,_0x2b3e34,_0x570b0c){return _0xd1ee62(_0x2b3e34,_0x570b0c);}},_0x1501a1=JSON['parse'](await _0x2df9cc[_0x82b505(0x20f)](readFile,_0x2fb262[_0x82b505(0x198)],'utf-8')),_0x53dd0e=await _0x2df9cc[_0x82b505(0x226)](inspectNovaStorageStateFile,_0x2fb262[_0x82b505(0x198)]);await _0x2df9cc[_0x82b505(0x20f)](mkdir,_0x2fb262['userDataDir'],{'recursive':!![]});const _0x2e540b=join(_0x2fb262['userDataDir'],_0x2df9cc['caPph']),_0x4eef9d=await inspectNovaProfileFiles({'userDataDir':_0x2fb262[_0x82b505(0x1f4)],'browserProfilePath':_0x2e540b}),{browser:_0x5d90c0,process:_0x1ffaf0}=await launchNovaHydrationBrowser({'userDataDir':_0x2fb262['userDataDir'],'browserProfilePath':_0x2e540b,'executablePath':_0x2fb262['executablePath'],'headless':_0x2fb262[_0x82b505(0x1d7)],'launchArgs':_0x2fb262['launchArgs']}),_0xa15fe3=_0x5d90c0[_0x82b505(0x239)]()[0x0];if(!_0xa15fe3){await _0x2df9cc['DgqTR'](closeNovaHydrationBrowser,_0x5d90c0,_0x1ffaf0);throw new Error(_0x2df9cc['NAJJb']);}let _0x51cfb9=0x0,_0x59f7a3=0x0;try{const _0x38d0f3=_0x1501a1[_0x82b505(0x1e8)]??[];if(_0x38d0f3['length']>0x0){const _0x3e73fa=_0x38d0f3['map'](_0x2bb077=>{const _0x3b11ea=_0x82b505;if(_0x2df9cc['ZKpCm'](_0x2bb077['expires'],-0x1))return _0x2bb077;return _0x59f7a3+=0x1,{..._0x2bb077,'expires':_0x2df9cc['Nxlde'](Math[_0x3b11ea(0x21e)](_0x2df9cc['AdHBF'](Date['now'](),0x3e8)),NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS)};});await _0xa15fe3['addCookies'](_0x3e73fa);}for(const _0x1a3f89 of _0x1501a1[_0x82b505(0x246)]??[]){if(!_0x1a3f89['localStorage']?.[_0x82b505(0x222)])continue;const _0x27df29=await _0xa15fe3['newPage']();await _0x27df29['goto'](_0x1a3f89[_0x82b505(0x1d8)],{'waitUntil':_0x2df9cc['LgVaZ'],'timeout':0x7530}),await _0x27df29['evaluate'](_0x8c6eb4=>{const _0x230059=_0x82b505;for(const _0x3941e6 of _0x8c6eb4){window['localStorage'][_0x230059(0x19b)](_0x3941e6['name'],_0x3941e6[_0x230059(0x215)]);}},_0x1a3f89['localStorage']),_0x51cfb9+=_0x1a3f89[_0x82b505(0x186)]['length'],await _0x27df29[_0x82b505(0x225)]();}if(_0x2fb262['baseUrl']){const _0x905ebd=await _0xa15fe3[_0x82b505(0x191)]();await _0x905ebd[_0x82b505(0x1ae)](_0x2fb262['baseUrl'],{'waitUntil':_0x2df9cc['LgVaZ'],'timeout':0x7530}),await _0x905ebd['close']();}await ensureChromeProfileShape(_0x2fb262[_0x82b505(0x1f4)],_0x2e540b);}finally{await _0x2df9cc['fJjka'](closeNovaHydrationBrowser,_0x5d90c0,_0x1ffaf0);}const _0x2ccc65=await inspectNovaProfileFiles({'userDataDir':_0x2fb262['userDataDir'],'browserProfilePath':_0x2e540b});return{'browserProfilePath':_0x2e540b,'cookieCount':_0x1501a1['cookies']?.['length']??0x0,'promotedSessionCookieCount':_0x59f7a3,'originCount':_0x1501a1[_0x82b505(0x246)]?.[_0x82b505(0x222)]??0x0,'localStorageEntryCount':_0x51cfb9,'storageStateDiagnostics':_0x53dd0e,'profileBefore':_0x4eef9d,'profileAfter':_0x2ccc65};}function _0x2e0d(_0x154049,_0x5b3c7a){_0x154049=_0x154049-0x186;const _0x551088=_0x5510();let _0x2e0d82=_0x551088[_0x154049];return _0x2e0d82;}async function launchNovaHydrationBrowser(_0x5c0c36){const _0x89fdbe=_0x2e0d,_0x42dd82={'rNxYX':function(_0x8b9122,_0xee3ee3,_0x59fb71){return _0x8b9122(_0xee3ee3,_0x59fb71);},'VDUBX':function(_0x1ad975){return _0x1ad975();},'LNirn':'--profile-directory=Default','aXCPQ':'--window-size=1280,720','kgSPP':_0x89fdbe(0x18f),'HlJXG':function(_0x1689d2,_0x20a816,_0x490fd2,_0x5e5f60){return _0x1689d2(_0x20a816,_0x490fd2,_0x5e5f60);},'jWbzH':'ignore','FLVFn':_0x89fdbe(0x1b3)};await _0x42dd82['rNxYX'](ensureChromeProfileShape,_0x5c0c36[_0x89fdbe(0x1f4)],_0x5c0c36[_0x89fdbe(0x1f8)]);const _0x208dd9=_0x5c0c36[_0x89fdbe(0x206)]??chromium[_0x89fdbe(0x206)](),_0x17d3b3=await _0x42dd82['VDUBX'](getAvailablePort),_0x4bd5b1=[_0x89fdbe(0x1e2)+_0x17d3b3,_0x89fdbe(0x211)+_0x5c0c36['userDataDir'],_0x42dd82[_0x89fdbe(0x1eb)],_0x42dd82['aXCPQ'],_0x89fdbe(0x1dc),_0x42dd82['kgSPP']];_0x5c0c36[_0x89fdbe(0x1d7)]&&_0x4bd5b1['push']('--headless=new');_0x4bd5b1['push'](..._0x5c0c36[_0x89fdbe(0x1f1)]??[]);const _0x201166=_0x42dd82['HlJXG'](spawn,_0x208dd9,_0x4bd5b1,{'stdio':[_0x42dd82['jWbzH'],_0x89fdbe(0x1b3),_0x42dd82['FLVFn']]});try{const _0x486816=await waitForCdpEndpoint(_0x201166,_0x17d3b3),_0x3e8b47=await chromium[_0x89fdbe(0x1c9)](_0x486816);return{'browser':_0x3e8b47,'process':_0x201166};}catch(_0x5ec44e){await terminateNovaHydrationBrowser(_0x201166);throw _0x5ec44e;}}async function closeNovaHydrationBrowser(_0x2b5b3c,_0x3be896){const _0x4cbfce=_0x2e0d,_0x11d542={'CHRNx':function(_0x3dad30,_0x170d2a){return _0x3dad30(_0x170d2a);}};try{await _0x2b5b3c[_0x4cbfce(0x225)]();}catch{await _0x11d542['CHRNx'](terminateNovaHydrationBrowser,_0x3be896);return;}const _0x4c6303=await waitForProcessExit(_0x3be896,0x1388);!_0x4c6303&&await terminateNovaHydrationBrowser(_0x3be896);}async function terminateNovaHydrationBrowser(_0x123346){const _0x2a7d21=_0x2e0d,_0x2f3e24={'YVBkW':'SIGTERM','AcXRx':function(_0x294374,_0x37fe41){return _0x294374===_0x37fe41;}};if(_0x123346['exitCode']!==null)return;try{_0x123346[_0x2a7d21(0x1d4)](_0x2f3e24[_0x2a7d21(0x245)]);}catch{}await waitForProcessExit(_0x123346,0x7d0);if(_0x2f3e24['AcXRx'](_0x123346['exitCode'],null)){try{_0x123346['kill'](_0x2a7d21(0x1c7));}catch{}await waitForProcessExit(_0x123346,0x7d0);}}async function waitForCdpEndpoint(_0x1ba914,_0x4e74ef){const _0x57db33=_0x2e0d,_0x1621d9={'xOGUp':function(_0x1afc2f,_0x53909b){return _0x1afc2f===_0x53909b;},'IcuYQ':function(_0x4e2e9e,_0x3dfa25){return _0x4e2e9e(_0x3dfa25);}},_0x25729=Date['now']();let _0x3175c4;while(Date[_0x57db33(0x1f0)]()-_0x25729<NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS){if(_0x1ba914[_0x57db33(0x1a2)]!==null)throw new Error('Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20'+_0x1ba914[_0x57db33(0x1a2)]);try{const _0x4a1e76=await fetch('http://127.0.0.1:'+_0x4e74ef+'/json/version');if(_0x4a1e76['ok']){const _0x135040=await _0x4a1e76['json']();if(_0x1621d9[_0x57db33(0x208)](typeof _0x135040[_0x57db33(0x213)],'string'))return _0x135040['webSocketDebuggerUrl'];}}catch(_0x6bc6eb){_0x3175c4=_0x6bc6eb;}await _0x1621d9[_0x57db33(0x1d0)](delay,0x64);}const _0x40edf9=_0x3175c4 instanceof Error?':\x20'+_0x3175c4[_0x57db33(0x247)]:'';throw new Error(_0x57db33(0x23c)+_0x40edf9);}async function getAvailablePort(){const _0x57b7df={'QuPpI':function(_0x12e378){return _0x12e378();},'eUTem':'error'};return new Promise((_0x3bba85,_0x4bb06c)=>{const _0xe0bcf=_0x2e0d,_0x2f28f8={'XUmXj':function(_0x35a5d5,_0x5a461e){return _0x35a5d5===_0x5a461e;},'FeJcH':_0xe0bcf(0x20a),'hbmhx':'Failed\x20to\x20allocate\x20hydration\x20browser\x20port'},_0xe80969=_0x57b7df[_0xe0bcf(0x1f5)](createServer);_0xe80969[_0xe0bcf(0x1af)](_0x57b7df['eUTem'],_0x4bb06c),_0xe80969[_0xe0bcf(0x221)](0x0,_0xe0bcf(0x23f),()=>{const _0xb9143a=_0xe80969['address']();_0xe80969['close'](_0x20af7b=>{const _0x2e6852=_0x2e0d;if(_0x20af7b){_0x4bb06c(_0x20af7b);return;}if(_0x2f28f8['XUmXj'](typeof _0xb9143a,_0x2f28f8[_0x2e6852(0x19f)])&&_0xb9143a?.['port']){_0x3bba85(_0xb9143a[_0x2e6852(0x1de)]);return;}_0x4bb06c(new Error(_0x2f28f8[_0x2e6852(0x1b9)]));});});});}async function waitForProcessExit(_0x463dae,_0x3b5ca2){const _0x4bda09=_0x2e0d,_0x131253={'VXOdW':function(_0x3011f2){return _0x3011f2();},'zVByb':function(_0x8bd7a7,_0x30a00c){return _0x8bd7a7(_0x30a00c);},'gIsrY':function(_0x5aaae1,_0x6f93c9,_0x46ca53){return _0x5aaae1(_0x6f93c9,_0x46ca53);},'KewNA':'exit','dFMGI':function(_0x54272b,_0x42ca32){return _0x54272b!==_0x42ca32;}};if(_0x131253[_0x4bda09(0x1ef)](_0x463dae[_0x4bda09(0x1a2)],null))return!![];return new Promise(_0x277059=>{const _0x3c79c4=_0x4bda09,_0x230f92={'IdpVm':function(_0x583eb6,_0x455eb2){return _0x583eb6(_0x455eb2);},'sQwhp':'exit'},_0x4ec988=_0x131253['gIsrY'](setTimeout,()=>{const _0x2dc3d3=_0x2e0d;_0x131253['VXOdW'](_0x24198b),_0x131253[_0x2dc3d3(0x220)](_0x277059,![]);},_0x3b5ca2),_0x2f4964=()=>{const _0x2f5a4b=_0x2e0d;_0x24198b(),_0x230f92[_0x2f5a4b(0x189)](_0x277059,!![]);},_0x24198b=()=>{const _0x55596b=_0x2e0d;clearTimeout(_0x4ec988),_0x463dae[_0x55596b(0x1cb)](_0x230f92[_0x55596b(0x1b4)],_0x2f4964);};_0x463dae['once'](_0x131253[_0x3c79c4(0x233)],_0x2f4964);});}async function delay(_0x13ea05){await new Promise(_0x508f25=>setTimeout(_0x508f25,_0x13ea05));}function _0x5510(){const _0x172cf7=['act\x20browser\x20doctor\x20--json\x20timed\x20out','`,\x20and\x20`uv`\x20is\x20not\x20available\x20to\x20install\x20it.\x0aInstall\x20uv,\x20or\x20run:\x20uv\x20tool\x20install\x20\x22','/usr/local/bin','Network','goto','once','tzRAw','ylcwX','split','pipe','sQwhp','stdout','TTiZz','expires','51KegAxK','hbmhx','SJvFG','Installed\x20','7777HSIeiJ','export','FZCIy','14143419VUWqbp','XcXbg','domain','kYrLZ','Yxwen','2330420vzRYZA','stderr','byteLength','SIGKILL','EsBXs','connectOverCDP','pAYGC','off','Local\x20State','81460xRcjEU','qWQue','null','IcuYQ','digest','QWVcI','Preferences','kill','vucvT','rSFOB','headless','origin','MwvuC','cwd','checks','--no-first-run','VNJub','port','exited\x20with\x20code=','lgxDR','176331YDDTAb','--remote-debugging-port=','status','qzaLA','AWS_PROFILE','name','command','cookies','vVjVF','LkyYd','LNirn','vXedf','--quiet','push','dFMGI','now','launchArgs','update','mVtVl','userDataDir','QuPpI','Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','\x0astdout:\x20','browserProfilePath','fmVtK','TXjly','qdhZq','code','lMGIc','filter','--headless','lKknj','SIGTERM','utf-8','\x20browser','Hegnc','1668QADCkj','executablePath','fhSvl','xOGUp','logDir','object','hYNHR','--json','524168DTppcR','sLiXN','zDEGv','fix','--user-data-dir=','hex','webSocketDebuggerUrl','join','value','stdout:\x20','iOsYJ','fail','RxjKi','OCTQo','\x20signal=','data','sort','floor','all','zVByb','listen','length','match','bYXeK','close','nypwu','wvqCa','\x20is\x20on\x20PATH.\x0astdout:\x20','kYFCc','qQEgX','unknown','slice','--launch-arg=','For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20','browser','QlCfJ','GRxsd','\x0afi\x0a\x0aexec\x20','KewNA','pTcwO','Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.','logsDirectory','parse','env','contexts','toString','logs_directory','Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP','/.local/bin','string','127.0.0.1','IlywI','doctor','isFile','size','logs_dir','YVBkW','origins','message','localStorage','jTZGO','FULip','IdpVm','session','xCkij','timeoutMs','add','Jqkyw','--remote-allow-origins=http://localhost','get','newPage','jpGoL','install','cdpEndpoint','PATH','1012866gxfJNm','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','storageStatePath','jiunu','execute','setItem','EKeLA','CCZLf','xLFob','FeJcH','some','number','exitCode','UV_TOOL_BIN_DIR','xfvXt','bndeG','commandArgs','WXtIe','ignore','map'];_0x5510=function(){return _0x172cf7;};return _0x5510();}async function ensureChromeProfileShape(_0x58b4c5,_0x2ca3eb){const _0xb5d2ba=_0x2e0d,_0x5dcf1d={'XyDOD':function(_0x3549cd,_0x31e9d1){return _0x3549cd(_0x31e9d1);},'ylcwX':_0xb5d2ba(0x1cc)};await mkdir(_0x2ca3eb,{'recursive':!![]}),await _0x5dcf1d['XyDOD'](ensureJsonFile,join(_0x58b4c5,_0x5dcf1d[_0xb5d2ba(0x1b1)])),await ensureJsonFile(join(_0x2ca3eb,_0xb5d2ba(0x1d3)));}async function ensureJsonFile(_0x199144){const _0x1594d9={'gQQxJ':function(_0x52a5da,_0x278a46){return _0x52a5da(_0x278a46);},'emEpy':function(_0x3c8a36,_0x406d24,_0x5d9931,_0x5c9dc3){return _0x3c8a36(_0x406d24,_0x5d9931,_0x5c9dc3);}};try{await _0x1594d9['gQQxJ'](access,_0x199144);}catch{await _0x1594d9['emEpy'](writeFile,_0x199144,'{}','utf-8');}}export function previewNovaActCliCommand(_0x41fd03){return truncatePreview(_0x41fd03);}
@@ -1 +1 @@
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
+ (function(_0x391155,_0x41b017){var _0x169845=_0x269e,_0x54dbea=_0x391155();while(!![]){try{var _0x39de82=parseInt(_0x169845(0x1ce))/0x1+parseInt(_0x169845(0x1cf))/0x2*(-parseInt(_0x169845(0x1c3))/0x3)+-parseInt(_0x169845(0x1c8))/0x4+parseInt(_0x169845(0x1cb))/0x5+parseInt(_0x169845(0x1c1))/0x6*(parseInt(_0x169845(0x1cd))/0x7)+parseInt(_0x169845(0x1cc))/0x8*(parseInt(_0x169845(0x1bf))/0x9)+-parseInt(_0x169845(0x1c7))/0xa*(parseInt(_0x169845(0x1bd))/0xb);if(_0x39de82===_0x41b017)break;else _0x54dbea['push'](_0x54dbea['shift']());}catch(_0x36244d){_0x54dbea['push'](_0x54dbea['shift']());}}}(_0x7f1a,0xa5c89));function _0x7f1a(){var _0x388dfc=['opencode','XDG_CONFIG_HOME','280795kyyKFp','844136XyZAOR','315HeOdZL','1159708soKIJa','22AuBLlj','3982CIiixg','xmOAu','9MgatCq','.opencode','179466sYoGsL','airbI','277026SKkTwX','.config','usThB','env','13010tvyccl','2006424vybvua'];_0x7f1a=function(){return _0x388dfc;};return _0x7f1a();}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x269e(_0x32cce8,_0x1770ee){_0x32cce8=_0x32cce8-0x1bd;var _0x7f1a04=_0x7f1a();var _0x269e15=_0x7f1a04[_0x32cce8];return _0x269e15;}export function getOpencodeConfigDir(_0x1e136e){var _0x469b21=_0x269e,_0x5e8a0a={'usThB':function(_0x1c445e,_0x143ceb){return _0x1c445e===_0x143ceb;},'uLMiR':function(_0x1ba7b4,_0x576f0c,_0x4cafe9){return _0x1ba7b4(_0x576f0c,_0x4cafe9);},'zEXzu':function(_0x4eaad2,_0x566ad3,_0x6a5b26,_0x590ccb){return _0x4eaad2(_0x566ad3,_0x6a5b26,_0x590ccb);},'dpfcY':function(_0x5613a1){return _0x5613a1();},'JeoiD':_0x469b21(0x1c4),'xmOAu':function(_0x4aa4c8,_0x3faa4d,_0x216adc){return _0x4aa4c8(_0x3faa4d,_0x216adc);}};if(process['env']['OPENCODE_CONFIG_DIR'])return process[_0x469b21(0x1c6)]['OPENCODE_CONFIG_DIR'];if(_0x5e8a0a[_0x469b21(0x1c5)](_0x1e136e,'user')){if(process[_0x469b21(0x1c6)][_0x469b21(0x1ca)])return _0x5e8a0a['uLMiR'](join,process[_0x469b21(0x1c6)][_0x469b21(0x1ca)],'opencode');return _0x5e8a0a['zEXzu'](join,_0x5e8a0a['dpfcY'](homedir),_0x5e8a0a['JeoiD'],_0x469b21(0x1c9));}return _0x5e8a0a[_0x469b21(0x1be)](join,getProjectRoot(),_0x469b21(0x1c0));}export function getOpencodeSkillsDir(_0xdcb1e9){var _0x106e9f=_0x269e,_0x2bfb2a={'airbI':function(_0x32cb8f,_0x1974a2,_0x3842ec){return _0x32cb8f(_0x1974a2,_0x3842ec);},'bESih':'skills'};return _0x2bfb2a[_0x106e9f(0x1c2)](join,getOpencodeConfigDir(_0xdcb1e9),_0x2bfb2a['bESih']);}
@@ -1 +1 @@
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
+ function _0x459a(){const _0x5796b0=['string','1086bnQmxG','81414ugFabp','map','\x20must\x20be\x20a\x20string\x20or\x20number','968600FDCXhy','29948vYWXWu','51uIsZXv','searchParams','99539Dsaqjl','1211uqTvnS','410ohKSrg','310TVMccS','8316600IOLFHQ','variableName','304qzgOzw','status','No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','/organization/environment-variables','Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20','Organization\x20environment\x20variable\x20','886ABTZGQ','from','filter'];_0x459a=function(){return _0x5796b0;};return _0x459a();}(function(_0x1c6cd0,_0x53d508){const _0xd229e0=_0x2cad,_0x35308e=_0x1c6cd0();while(!![]){try{const _0x183887=-parseInt(_0xd229e0(0xca))/0x1*(parseInt(_0xd229e0(0xd3))/0x2)+-parseInt(_0xd229e0(0xc5))/0x3*(parseInt(_0xd229e0(0xc4))/0x4)+-parseInt(_0xd229e0(0xc3))/0x5+parseInt(_0xd229e0(0xd7))/0x6*(parseInt(_0xd229e0(0xc8))/0x7)+parseInt(_0xd229e0(0xcd))/0x8*(-parseInt(_0xd229e0(0xc0))/0x9)+parseInt(_0xd229e0(0xc9))/0xa*(parseInt(_0xd229e0(0xc7))/0xb)+parseInt(_0xd229e0(0xcb))/0xc;if(_0x183887===_0x53d508)break;else _0x35308e['push'](_0x35308e['shift']());}catch(_0x575ba1){_0x35308e['push'](_0x35308e['shift']());}}}(_0x459a,0x479af));function _0x2cad(_0x3f55b1,_0x32bd9f){_0x3f55b1=_0x3f55b1-0xc0;const _0x459a41=_0x459a();let _0x2cad67=_0x459a41[_0x3f55b1];return _0x2cad67;}import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';async function getOrganizationEnvironmentVariable(_0xd65b3d){const _0x36a27c=_0x2cad,_0x56fe35={'JhEXD':function(_0x39029d){return _0x39029d();},'tslBG':function(_0x29392e){return _0x29392e();},'fPCeV':function(_0x568cb7,_0x169843){return _0x568cb7===_0x169843;}},_0xf5c77c=await _0x56fe35['JhEXD'](getToken);if(!_0xf5c77c)throw new Error(_0x36a27c(0xcf));const _0x11554f=new URL(_0x56fe35['tslBG'](getApiBaseUrl)+_0x36a27c(0xd0));_0x11554f[_0x36a27c(0xc6)]['set'](_0x36a27c(0xcc),_0xd65b3d);const _0x3907f6=await fetch(_0x11554f,{'method':'GET','headers':{'Authorization':'Bearer\x20'+_0xf5c77c}});if(_0x3907f6[_0x36a27c(0xce)]===0x194)return null;if(!_0x3907f6['ok']){const _0xfc4571=await _0x3907f6['text']();throw new Error(_0x36a27c(0xd1)+_0xd65b3d+':\x20'+_0x3907f6[_0x36a27c(0xce)]+'\x20'+_0xfc4571);}const _0x59ce66=await _0x3907f6['json'](),_0x35f112=_0x59ce66[_0xd65b3d];if(_0x56fe35['fPCeV'](_0x35f112,undefined)||_0x35f112===null)return null;if(typeof _0x35f112===_0x36a27c(0xd6)||typeof _0x35f112==='number')return String(_0x35f112);throw new Error(_0x36a27c(0xd2)+_0xd65b3d+_0x36a27c(0xc2));}export async function getOrganizationEnvironmentVariables(_0x58d7f4){const _0x11ed7b=_0x2cad,_0x2b95e3=Array[_0x11ed7b(0xd4)](new Set(_0x58d7f4)),_0x10bf52=await Promise['all'](_0x2b95e3[_0x11ed7b(0xc1)](async _0x4509f1=>{const _0x49d51b=await getOrganizationEnvironmentVariable(_0x4509f1);return _0x49d51b===null?null:[_0x4509f1,_0x49d51b];}));return Object['fromEntries'](_0x10bf52[_0x11ed7b(0xd5)](_0x62365e=>Boolean(_0x62365e)));}
@@ -1 +1 @@
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
+ (function(_0x5cc64d,_0x5add65){const _0x383c6c=_0x20f1,_0x203e7c=_0x5cc64d();while(!![]){try{const _0x3d6ae0=parseInt(_0x383c6c(0xd6))/0x1+-parseInt(_0x383c6c(0xce))/0x2*(-parseInt(_0x383c6c(0xba))/0x3)+-parseInt(_0x383c6c(0xc2))/0x4*(parseInt(_0x383c6c(0xc5))/0x5)+-parseInt(_0x383c6c(0xe9))/0x6+parseInt(_0x383c6c(0xc7))/0x7*(parseInt(_0x383c6c(0xb9))/0x8)+-parseInt(_0x383c6c(0xe5))/0x9*(-parseInt(_0x383c6c(0xe3))/0xa)+parseInt(_0x383c6c(0xd1))/0xb*(-parseInt(_0x383c6c(0xd5))/0xc);if(_0x3d6ae0===_0x5add65)break;else _0x203e7c['push'](_0x203e7c['shift']());}catch(_0x10b79f){_0x203e7c['push'](_0x203e7c['shift']());}}}(_0x2ab4,0x92be5));function _0x2ab4(){const _0x1e609b=['pipe','\x27\x5c\x27\x27','unknown','10WdWJdY','-s=','2240019PMRyHb','qJial','commandArgs','toYyY','4353438eMEVyO','configPath','map','pEQYI','command','SIGTERM','aXpBd','join','120ynoGAI','9KJglys','find','sha256','null','trim','bugAm','update','\x0astdout:\x20','764SfJuRH','ignore','--config','6135mKBIVQ','oIPjt','199570buirmq','sessionId','kill','env','cmd','args','SIGKILL','342014QbNBKM','tdSrQ','script','33AdDNcM','bash_command','playwright-cli\x20','npx','1870572FZHHut','839072xitupQ','stderr','string','timeoutMs','subcommand','toString','SkaCO','test','length','aWtkM'];_0x2ab4=function(){return _0x1e609b;};return _0x2ab4();}import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function _0x20f1(_0x34b18d,_0x3ea886){_0x34b18d=_0x34b18d-0xb4;const _0x2ab4dc=_0x2ab4();let _0x20f1e4=_0x2ab4dc[_0x34b18d];return _0x20f1e4;}function toPlaywrightCliSessionKey(_0x45970d){const _0x547e8e=_0x20f1,_0x3daac2={'bugAm':_0x547e8e(0xbc),'TaTrT':'hex'},_0x46a38d=createHash(_0x3daac2[_0x547e8e(0xbf)])[_0x547e8e(0xc0)](_0x45970d)['digest'](_0x3daac2['TaTrT'])['slice'](0x0,0xc);return'rg-'+_0x46a38d;}function shellQuote(_0x4a2ead){const _0x4ef9ac=_0x20f1;return'\x27'+_0x4a2ead['replace'](/'/g,_0x4ef9ac(0xe1))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x2b13fa){const _0x2c808e=_0x20f1;return SAFE_SHELL_TOKEN[_0x2c808e(0xdd)](_0x2b13fa)?_0x2b13fa:shellQuote(_0x2b13fa);}export function buildPlaywrightCliInvocation(_0x4e69d9,_0xaa9814,_0x2dfc95){const _0x4b6329=_0x20f1,_0x140c63={'LMEtu':_0x4b6329(0xe2),'wCpdN':_0x4b6329(0xd4)},_0x52c74d=toPlaywrightCliSessionKey(_0x4e69d9),[_0xf8f02a=_0x140c63['LMEtu']]=_0x2dfc95,_0x2ce0ed=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x52c74d,_0x4b6329(0xc4),_0xaa9814,..._0x2dfc95];return{'command':'npx','args':_0x2ce0ed,'shellCommand':[_0x140c63['wCpdN'],PLAYWRIGHT_CLI_BINARY,_0x4b6329(0xe4)+quoteShellArg(_0x52c74d),_0x4b6329(0xc4),quoteShellArg(_0xaa9814),..._0x2dfc95[_0x4b6329(0xeb)](quoteShellArg)][_0x4b6329(0xb8)]('\x20'),'subcommand':_0xf8f02a};}export function buildPlaywrightCliCommandPrefix(_0x4a32fc,_0x2766dd){const _0x25f8b4=_0x20f1,_0x5d51f3={'aWtkM':function(_0x1ac259,_0x4a5e6d){return _0x1ac259(_0x4a5e6d);},'pEQYI':_0x25f8b4(0xc4)},_0xeefcd3=_0x5d51f3['aWtkM'](toPlaywrightCliSessionKey,_0x4a32fc);return['npx',PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0xeefcd3),_0x5d51f3[_0x25f8b4(0xb4)],_0x5d51f3[_0x25f8b4(0xdf)](quoteShellArg,_0x2766dd)][_0x25f8b4(0xb8)]('\x20');}function truncateOutput(_0x44c8d3,_0x5d610d=0x7d0){const _0xe71730={'Zhlas':'...'};return _0x44c8d3['length']>_0x5d610d?_0x44c8d3['slice'](0x0,_0x5d610d)+_0xe71730['Zhlas']:_0x44c8d3;}export async function runPlaywrightCliCommand(_0x3a1f4d){const _0x2d2316=_0x20f1,_0x4031af={'zPVke':_0x2d2316(0xb6),'agzRJ':function(_0xf56698,_0x2c2c01,_0x3d56cb){return _0xf56698(_0x2c2c01,_0x3d56cb);},'aXpBd':_0x2d2316(0xcd),'ZCWrV':function(_0x29e4a0,_0x2e23b2){return _0x29e4a0(_0x2e23b2);},'tdSrQ':function(_0x21620a,_0x1470ca,_0x6536d0,_0x147f06){return _0x21620a(_0x1470ca,_0x6536d0,_0x147f06);},'CoYpD':'data','oIPjt':'error'},_0x232085=buildPlaywrightCliInvocation(_0x3a1f4d[_0x2d2316(0xc8)],_0x3a1f4d[_0x2d2316(0xea)],_0x3a1f4d[_0x2d2316(0xe7)]);return new Promise((_0x4f998a,_0xe7d94c)=>{const _0x54ab9d=_0x2d2316,_0x1a5740={'SkaCO':_0x4031af[_0x54ab9d(0xb7)],'owqJn':'null','qJial':function(_0x1773e7,_0x1712ed){return _0x4031af['ZCWrV'](_0x1773e7,_0x1712ed);}},_0x474956=_0x4031af[_0x54ab9d(0xcf)](spawn,_0x232085[_0x54ab9d(0xb5)],_0x232085[_0x54ab9d(0xcc)],{'cwd':_0x3a1f4d['cwd'],'env':_0x3a1f4d[_0x54ab9d(0xca)],'stdio':[_0x54ab9d(0xc3),_0x54ab9d(0xe0),_0x54ab9d(0xe0)]});let _0x5059b3='',_0x444735='',_0x2e9543=![];const _0x5a274d=_0x3a1f4d[_0x54ab9d(0xd9)]&&_0x3a1f4d['timeoutMs']>0x0?_0x4031af['agzRJ'](setTimeout,()=>{const _0x43ff5a=_0x54ab9d;_0x2e9543=!![],_0x474956[_0x43ff5a(0xc9)](_0x4031af['zPVke']),_0x4031af['agzRJ'](setTimeout,()=>{const _0x2886c3=_0x43ff5a;try{_0x474956[_0x2886c3(0xc9)](_0x1a5740[_0x2886c3(0xdc)]);}catch{}},0x3e8);},_0x3a1f4d['timeoutMs']):null;_0x474956['stdout']?.['on'](_0x4031af['CoYpD'],_0x40c26e=>{_0x5059b3+=_0x40c26e['toString']();}),_0x474956[_0x54ab9d(0xd7)]?.['on']('data',_0x2d7b31=>{const _0x159767=_0x54ab9d;_0x444735+=_0x2d7b31[_0x159767(0xdb)]();}),_0x474956['on'](_0x4031af[_0x54ab9d(0xc6)],_0x6fa887=>{if(_0x5a274d)clearTimeout(_0x5a274d);_0xe7d94c(_0x6fa887);}),_0x474956['on']('close',(_0xd9c460,_0xe5599a)=>{const _0x353d89=_0x54ab9d;if(_0x5a274d)clearTimeout(_0x5a274d);if(_0xd9c460===0x0){_0x4f998a({'stdout':_0x5059b3,'stderr':_0x444735,'invocation':_0x232085});return;}const _0x37b6c8=_0x2e9543?'timed\x20out\x20after\x20'+_0x3a1f4d['timeoutMs']+'ms':'exited\x20with\x20code='+(_0xd9c460??_0x1a5740['owqJn'])+'\x20signal='+(_0xe5599a??_0x353d89(0xbd));_0x1a5740['qJial'](_0xe7d94c,new Error(_0x353d89(0xd3)+_0x232085[_0x353d89(0xda)]+'\x20'+_0x37b6c8+_0x353d89(0xc1)+truncateOutput(_0x5059b3)+'\x0astderr:\x20'+_0x1a5740[_0x353d89(0xe6)](truncateOutput,_0x444735)));});});}export function extractBashCommand(_0x4ac242){const _0x36cd2d=_0x20f1,_0x2499cc={'toYyY':_0x36cd2d(0xd0),'hBOUN':_0x36cd2d(0xd2),'DrXWp':function(_0x1828a2,_0x1bed78){return _0x1828a2??_0x1bed78;}},_0x325930=['command',_0x36cd2d(0xcb),_0x2499cc[_0x36cd2d(0xe8)],_0x2499cc['hBOUN']];for(const _0x3b15f5 of _0x325930){const _0x5cc780=_0x4ac242[_0x3b15f5];if(typeof _0x5cc780==='string'&&_0x5cc780['trim']())return _0x5cc780;}const _0x2bacc4=Object['values'](_0x4ac242)[_0x36cd2d(0xbb)](_0x4aaeec=>typeof _0x4aaeec===_0x36cd2d(0xd8)&&_0x4aaeec[_0x36cd2d(0xbe)]()[_0x36cd2d(0xde)]>0x0);return _0x2499cc['DrXWp'](_0x2bacc4,null);}export function parsePlaywrightCliCommand(_0x5b879c){const _0x270ccc=_0x5b879c['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x270ccc?.[0x1]??null;}
@@ -1 +1 @@
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
+ function _0x448b(_0x2126c4,_0xd29f00){_0x2126c4=_0x2126c4-0x16b;const _0x129180=_0x1291();let _0x448b28=_0x129180[_0x2126c4];return _0x448b28;}function _0x1291(){const _0x4d5116=['9307655pnszIV','3157324PFYQrz','3XpDFIp','ranger\x20profile\x20add\x20local','13686516byTDVm','2391696znUtxu','6RdysXc','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','175258nRnbuv','2050720bbAHLG','519395JrreYG'];_0x1291=function(){return _0x4d5116;};return _0x1291();}const _0x3c9c1=_0x448b;(function(_0x1280d0,_0x486a43){const _0x3d87bc=_0x448b,_0x6c26c3=_0x1280d0();while(!![]){try{const _0x5889bf=parseInt(_0x3d87bc(0x173))/0x1+-parseInt(_0x3d87bc(0x171))/0x2+parseInt(_0x3d87bc(0x16b))/0x3*(parseInt(_0x3d87bc(0x175))/0x4)+-parseInt(_0x3d87bc(0x172))/0x5+-parseInt(_0x3d87bc(0x16f))/0x6*(-parseInt(_0x3d87bc(0x174))/0x7)+parseInt(_0x3d87bc(0x16e))/0x8+-parseInt(_0x3d87bc(0x16d))/0x9;if(_0x5889bf===_0x486a43)break;else _0x6c26c3['push'](_0x6c26c3['shift']());}catch(_0x97bd68){_0x6c26c3['push'](_0x6c26c3['shift']());}}}(_0x1291,0xe0548));const DEFAULT_PROFILE_COMMAND=_0x3c9c1(0x16c);export function formatProfileRequiredMessage(_0x39092a){const _0x45570d=_0x3c9c1,_0x5ae2cb=_0x39092a?_0x39092a(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x45570d(0x170)+_0x5ae2cb+'.';}
@@ -1 +1 @@
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
+ function _0x6ca7(_0x2b554e,_0x3fa15a){_0x2b554e=_0x2b554e-0x99;const _0x35e295=_0x35e2();let _0x6ca7f0=_0x35e295[_0x2b554e];return _0x6ca7f0;}(function(_0x57f21b,_0xc086c9){const _0x5d7c02=_0x6ca7,_0x31df9e=_0x57f21b();while(!![]){try{const _0x1181ca=parseInt(_0x5d7c02(0xa8))/0x1*(-parseInt(_0x5d7c02(0xa4))/0x2)+parseInt(_0x5d7c02(0xa7))/0x3*(-parseInt(_0x5d7c02(0xa5))/0x4)+parseInt(_0x5d7c02(0xaa))/0x5*(parseInt(_0x5d7c02(0x99))/0x6)+parseInt(_0x5d7c02(0xa9))/0x7*(-parseInt(_0x5d7c02(0xac))/0x8)+parseInt(_0x5d7c02(0xa1))/0x9+-parseInt(_0x5d7c02(0xa0))/0xa*(-parseInt(_0x5d7c02(0xab))/0xb)+parseInt(_0x5d7c02(0x9a))/0xc;if(_0x1181ca===_0xc086c9)break;else _0x31df9e['push'](_0x31df9e['shift']());}catch(_0x31d73a){_0x31df9e['push'](_0x31df9e['shift']());}}}(_0x35e2,0x8831b));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0xc7b475=_0x6ca7,_0xc7d5a1={'kAHRt':function(_0x4a4675,_0x5e64a2){return _0x4a4675+_0x5e64a2;},'dAGLr':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','RVpmG':'<div\x20class=\x22ranger-banner__message\x22>','SJICc':'</div>'},_0x5125d4=_0xc7d5a1[_0xc7b475(0x9f)](_0xc7d5a1['kAHRt'](_0xc7d5a1['kAHRt'](_0xc7b475(0x9b)+_0xc7d5a1['dAGLr'],_0xc7d5a1[_0xc7b475(0xa3)])+_0xc7b475(0x9e),_0xc7b475(0x9d))+_0xc7d5a1['SJICc'],_0xc7d5a1['SJICc'])+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x30edc5='\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'](_0x5125d4)+_0xc7b475(0xa6)+JSON[_0xc7b475(0x9c)](_0x30edc5)+_0xc7b475(0xa2);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x35e2(){const _0xc9afd7=['584Yqurgb','917892GNbZdG','9810612QOiDNc','<div\x20class=\x22ranger-banner__content\x22>','stringify','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','kAHRt','120ywgvYL','8585622rWPTxJ',';\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','RVpmG','2BjRBNl','4088636RKXRbX',';\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','3zVdRHm','292346LVvFBs','82201fkhMmQ','5tBqbPn','738012CZNUPF'];_0x35e2=function(){return _0xc9afd7;};return _0x35e2();}export async function addProfileSetupBanner(_0x2a9c9b){await _0x2a9c9b['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
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
+ (function(_0x99996b,_0xac08ad){const _0xff9a7a=_0x260b,_0xf3a363=_0x99996b();while(!![]){try{const _0x4d819d=parseInt(_0xff9a7a(0xea))/0x1*(-parseInt(_0xff9a7a(0xee))/0x2)+parseInt(_0xff9a7a(0xd6))/0x3+-parseInt(_0xff9a7a(0xe2))/0x4+-parseInt(_0xff9a7a(0xe4))/0x5*(parseInt(_0xff9a7a(0xcb))/0x6)+-parseInt(_0xff9a7a(0xdc))/0x7+-parseInt(_0xff9a7a(0xeb))/0x8+parseInt(_0xff9a7a(0xf9))/0x9*(parseInt(_0xff9a7a(0xf6))/0xa);if(_0x4d819d===_0xac08ad)break;else _0xf3a363['push'](_0xf3a363['shift']());}catch(_0x16e1de){_0xf3a363['push'](_0xf3a363['shift']());}}}(_0x5a7a,0xc98a9));function _0x260b(_0x53573c,_0xce15ba){_0x53573c=_0x53573c-0xcb;const _0x5a7ad9=_0x5a7a();let _0x260bb3=_0x5a7ad9[_0x53573c];return _0x260bb3;}import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';function _0x5a7a(){const _0x353147=['zBogd','4082340BUWIdw','YZexo','90kMfkXn','TQijQ','lastProfile','isArray','SdCPZ','projects.json','693310qwazGp','6571272LxMuiy','FdGic','stringify','4MtDBGk','setupHeaders','message','rXvWX','utf-8','\x20is\x20not\x20valid\x20JSON\x20(','QBIqv','HusXK','20KfxvTB','lJEaN','profiles','19596519dGOzot','split','YKCYj',').\x20Ignoring\x20local\x20profile\x20overrides.','warn','version','[ranger]\x20Warning:\x20','450792wSQlDP','drQIb','OJWgl','.tmp','wHBri','length','parse','orUBs','qcdRU','gyawI','Lbprx','4423098rnouNJ','UYXez','dQYNK','CZACF','object','projects','2958515fdeXlP','settings','now','rhVSB','xBvhC'];_0x5a7a=function(){return _0x353147;};return _0x5a7a();}import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x488908=_0x260b,_0x2cf978={'JyPnf':_0x488908(0xe9)};return join(getRangerHomeDir(),_0x2cf978['JyPnf']);}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x14c6c8=_0x260b,_0x350302={'XLUaw':function(_0x269329){return _0x269329();},'FdGic':function(_0x5711f0){return _0x5711f0();},'mdnID':function(_0xd7603a,_0x31a4fa,_0x3704e1){return _0xd7603a(_0x31a4fa,_0x3704e1);},'FnUpR':function(_0xf46402,_0x192cb6){return _0xf46402(_0x192cb6);},'qcdRU':function(_0x42e6d1,_0x583462){return _0x42e6d1!==_0x583462;},'zBogd':function(_0x2c60ef,_0x93d64c){return _0x2c60ef===_0x93d64c;},'lJEaN':function(_0x8e7d08){return _0x8e7d08();}},_0x2e3b05=_0x350302['XLUaw'](getProjectsConfigPath);if(!existsSync(_0x2e3b05))return _0x350302[_0x14c6c8(0xec)](emptyConfig);let _0x58c596;try{_0x58c596=_0x350302['mdnID'](readFileSync,_0x2e3b05,'utf-8');}catch(_0x3a39f9){const _0x4014c7=_0x3a39f9 instanceof Error?_0x3a39f9[_0x14c6c8(0xf0)]:_0x350302['FnUpR'](String,_0x3a39f9);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x2e3b05+':\x20'+_0x4014c7+'.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x350302['FdGic'](emptyConfig);}let _0x2e54f6;try{_0x2e54f6=JSON[_0x14c6c8(0xd1)](_0x58c596);}catch(_0x40808b){const _0x42779c=_0x40808b instanceof Error?_0x40808b['message']:String(_0x40808b);return console[_0x14c6c8(0xfd)](_0x14c6c8(0xff)+_0x2e3b05+_0x14c6c8(0xf3)+_0x42779c+_0x14c6c8(0xfc)),_0x350302[_0x14c6c8(0xec)](emptyConfig);}if(!_0x2e54f6||_0x350302[_0x14c6c8(0xd3)](typeof _0x2e54f6,'object')||Array[_0x14c6c8(0xe7)](_0x2e54f6)||_0x2e54f6[_0x14c6c8(0xfe)]!==CURRENT_VERSION||typeof _0x2e54f6[_0x14c6c8(0xdb)]!==_0x14c6c8(0xda)||_0x350302[_0x14c6c8(0xe1)](_0x2e54f6[_0x14c6c8(0xdb)],null)||Array[_0x14c6c8(0xe7)](_0x2e54f6['projects']))return console[_0x14c6c8(0xfd)](_0x14c6c8(0xff)+_0x2e3b05+'\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x350302[_0x14c6c8(0xf7)](emptyConfig);return _0x2e54f6;}export function writeProjectsConfig(_0xee86a0){const _0x524aee=_0x260b,_0x4821f6={'QBIqv':function(_0x10e8cd){return _0x10e8cd();},'SdCPZ':function(_0x33f4bb,_0x4a496e){return _0x33f4bb(_0x4a496e);},'dQYNK':function(_0x3f9864,_0x155f0c,_0x109248){return _0x3f9864(_0x155f0c,_0x109248);},'OJWgl':function(_0x1469c7,_0x81cd3,_0x18a938,_0x41521e){return _0x1469c7(_0x81cd3,_0x18a938,_0x41521e);},'drQIb':_0x524aee(0xf2),'eNduf':function(_0x441041,_0x393020,_0x1587e0){return _0x441041(_0x393020,_0x1587e0);}},_0x573a95=_0x4821f6[_0x524aee(0xf4)](getProjectsConfigPath),_0x4dbd41=_0x4821f6[_0x524aee(0xe8)](dirname,_0x573a95);!existsSync(_0x4dbd41)&&_0x4821f6[_0x524aee(0xd8)](mkdirSync,_0x4dbd41,{'recursive':!![]});const _0x21aaf3=_0x573a95+'.'+process['pid']+'.'+Date[_0x524aee(0xde)]()+_0x524aee(0xce),_0x579057=JSON[_0x524aee(0xed)](_0xee86a0,null,0x2)+'\x0a';try{_0x4821f6[_0x524aee(0xcd)](writeFileSync,_0x21aaf3,_0x579057,{'encoding':_0x4821f6[_0x524aee(0xcc)],'mode':0x180}),_0x4821f6['eNduf'](renameSync,_0x21aaf3,_0x573a95);}catch(_0xf5b0ee){try{existsSync(_0x21aaf3)&&unlinkSync(_0x21aaf3);}catch{}throw _0xf5b0ee;}}export function readProfileOverrides(_0x2325a6,_0x5bfe05){const _0x53e96c=_0x260b,_0x2963ef=readProjectsConfig(),_0x149eeb=_0x2963ef['projects'][_0x2325a6];if(!_0x149eeb||!_0x149eeb[_0x53e96c(0xf8)])return null;const _0x429d0d=_0x149eeb[_0x53e96c(0xf8)][_0x5bfe05];if(!_0x429d0d||!_0x429d0d[_0x53e96c(0xdd)])return null;return _0x429d0d[_0x53e96c(0xdd)]??null;}export function setProfileOverride(_0x4d24f0,_0x48db37,_0x577d18,_0x280674){const _0x2c6338=_0x260b,_0x4a4ae7={'xBvhC':function(_0x127430){return _0x127430();},'FnDdA':function(_0x14555d,_0x2b2404){return _0x14555d(_0x2b2404);}};if(!_0x577d18)throw new Error('keyPath\x20is\x20required');const _0x2d4494=_0x4a4ae7[_0x2c6338(0xe0)](readProjectsConfig),_0x2bc9ec=_0x2d4494['projects'][_0x4d24f0]??={},_0x261af5=_0x2bc9ec['profiles']??={},_0x137ed2=_0x261af5[_0x48db37]??={},_0x289519=_0x137ed2[_0x2c6338(0xdd)]??={};setByKeyPath(_0x289519,_0x577d18,_0x280674),_0x4a4ae7['FnDdA'](writeProjectsConfig,_0x2d4494);}export function unsetProfileOverride(_0x207e41,_0x4257be,_0x457eba){const _0x31ea1f=_0x260b,_0x4a0873={'Lbprx':'keyPath\x20is\x20required','HdnTJ':function(_0x264996){return _0x264996();},'HusXK':function(_0x3a9e07,_0x5b72d4,_0x333459){return _0x3a9e07(_0x5b72d4,_0x333459);},'gyawI':function(_0x5b0ea2,_0x8821a5){return _0x5b0ea2(_0x8821a5);}};if(!_0x457eba)throw new Error(_0x4a0873[_0x31ea1f(0xd5)]);const _0x459403=_0x4a0873['HdnTJ'](readProjectsConfig),_0x17cb7a=_0x459403['projects'][_0x207e41];if(!_0x17cb7a?.[_0x31ea1f(0xf8)])return![];const _0x54eef1=_0x17cb7a['profiles'][_0x4257be];if(!_0x54eef1?.['settings'])return![];const _0x24004e=_0x4a0873[_0x31ea1f(0xf5)](deleteByKeyPath,_0x54eef1['settings'],_0x457eba);if(!_0x24004e)return![];return _0x4a0873[_0x31ea1f(0xd4)](writeProjectsConfig,_0x459403),!![];}export function resetProfileOverrides(_0x21542e,_0x552537){const _0x370831=_0x260b,_0x53addb={'TQijQ':function(_0x2d267e){return _0x2d267e();},'rXvWX':function(_0x192f19,_0x1881c2){return _0x192f19===_0x1881c2;},'CZACF':function(_0x46d69d,_0x4c9c66){return _0x46d69d(_0x4c9c66);}},_0x35d848=_0x53addb[_0x370831(0xe5)](readProjectsConfig),_0x58f6bb=_0x35d848['projects'][_0x21542e];if(!_0x58f6bb?.[_0x370831(0xf8)])return;if(!(_0x552537 in _0x58f6bb[_0x370831(0xf8)]))return;delete _0x58f6bb['profiles'][_0x552537],_0x53addb[_0x370831(0xf1)](Object['keys'](_0x58f6bb[_0x370831(0xf8)])['length'],0x0)&&(!_0x58f6bb['lastProfile']?delete _0x35d848['projects'][_0x21542e]:_0x58f6bb[_0x370831(0xf8)]={}),_0x53addb[_0x370831(0xd9)](writeProjectsConfig,_0x35d848);}export function readLastProfile(_0x6da5e9){const _0x5f27c7=_0x260b,_0x50401c=readProjectsConfig(),_0x125778=_0x50401c[_0x5f27c7(0xdb)][_0x6da5e9];return _0x125778?.[_0x5f27c7(0xe6)]??null;}export function writeLastProfile(_0x284af6,_0x1c9e46){const _0x1d4d45=_0x260b,_0x53892e={'DKZuN':function(_0x112f60){return _0x112f60();},'YKCYj':function(_0x1cf666,_0x509d37){return _0x1cf666(_0x509d37);}},_0x5029b2=_0x53892e['DKZuN'](readProjectsConfig),_0x25a81a=_0x5029b2[_0x1d4d45(0xdb)][_0x284af6]??={};_0x25a81a['lastProfile']=_0x1c9e46,_0x53892e[_0x1d4d45(0xfb)](writeProjectsConfig,_0x5029b2);}export function clearLastProfile(_0x3a4a78,_0x4a201f){const _0x97ea7e=_0x260b,_0x299738={'sSqtz':function(_0x242dac){return _0x242dac();},'EKutc':function(_0x2540d2,_0x353adb){return _0x2540d2!==_0x353adb;},'MVxxZ':function(_0x3f2767,_0x34b437){return _0x3f2767===_0x34b437;},'jhyYn':function(_0x5d8fe8,_0x80e95e){return _0x5d8fe8(_0x80e95e);}},_0x55fc6e=_0x299738['sSqtz'](readProjectsConfig),_0x18ea90=_0x55fc6e[_0x97ea7e(0xdb)][_0x3a4a78];if(!_0x18ea90||_0x299738['EKutc'](_0x18ea90[_0x97ea7e(0xe6)],_0x4a201f))return![];return delete _0x18ea90[_0x97ea7e(0xe6)],(!_0x18ea90[_0x97ea7e(0xf8)]||_0x299738['MVxxZ'](Object['keys'](_0x18ea90[_0x97ea7e(0xf8)])[_0x97ea7e(0xd0)],0x0))&&delete _0x55fc6e[_0x97ea7e(0xdb)][_0x3a4a78],_0x299738['jhyYn'](writeProjectsConfig,_0x55fc6e),!![];}export function mergeCloudProfileSettings(_0x9694f8,_0x206793){const _0x5aa849=_0x260b,_0x2b5c6b={'YZexo':function(_0x499a4f,_0x139f67){return _0x499a4f===_0x139f67;},'wHBri':function(_0x42be3a,_0x2c0a5c){return _0x42be3a===_0x2c0a5c;},'UYXez':function(_0x7b3f9a,_0x25fdae){return _0x7b3f9a===_0x25fdae;},'HJzGl':_0x5aa849(0xef),'gpfrj':function(_0x4724b4,_0x2479b9){return _0x4724b4(_0x2479b9);}},_0xa3f074={..._0x9694f8??{}};if(!_0x206793)return _0xa3f074;for(const [_0x587e2a,_0xd75710]of Object['entries'](_0x206793)){if(_0x2b5c6b[_0x5aa849(0xe3)](_0xd75710,undefined))continue;if(_0x2b5c6b[_0x5aa849(0xcf)](_0xd75710,null)){delete _0xa3f074[_0x587e2a];continue;}if(_0x587e2a==='headers'||_0x2b5c6b[_0x5aa849(0xd7)](_0x587e2a,_0x2b5c6b['HJzGl'])){const _0x38c974=asRecord(_0xa3f074[_0x587e2a])??{},_0x5dc5cb=_0x2b5c6b['gpfrj'](asRecord,_0xd75710);if(!_0x5dc5cb){_0xa3f074[_0x587e2a]=_0xd75710;continue;}const _0x5b8925={..._0x38c974};for(const [_0x1329fa,_0x5e256f]of Object['entries'](_0x5dc5cb)){if(_0x5e256f===null)delete _0x5b8925[_0x1329fa];else _0x5e256f!==undefined&&(_0x5b8925[_0x1329fa]=_0x5e256f);}_0xa3f074[_0x587e2a]=_0x5b8925;continue;}_0xa3f074[_0x587e2a]=_0xd75710;}return _0xa3f074;}function asRecord(_0x1425c7){const _0x65faf3=_0x260b,_0x9f984f={'sRuWI':'object'};return _0x1425c7&&typeof _0x1425c7===_0x9f984f['sRuWI']&&!Array[_0x65faf3(0xe7)](_0x1425c7)?_0x1425c7:undefined;}function setByKeyPath(_0xb92c4f,_0x57003d,_0x469ea7){const _0x266311=_0x260b,_0x2eebe0={'orUBs':function(_0x4e5602,_0x3db2e4){return _0x4e5602-_0x3db2e4;},'HEmFW':function(_0x16639b,_0x45fdcc){return _0x16639b!==_0x45fdcc;}},_0x4e525a=_0x57003d['split']('.');let _0x4e6d0c=_0xb92c4f;for(let _0x312df3=0x0;_0x312df3<_0x2eebe0[_0x266311(0xd2)](_0x4e525a['length'],0x1);_0x312df3++){const _0x25b0ac=_0x4e525a[_0x312df3],_0x25ae5e=_0x4e6d0c[_0x25b0ac];(!_0x25ae5e||_0x2eebe0['HEmFW'](typeof _0x25ae5e,'object')||Array['isArray'](_0x25ae5e))&&(_0x4e6d0c[_0x25b0ac]={}),_0x4e6d0c=_0x4e6d0c[_0x25b0ac];}_0x4e6d0c[_0x4e525a[_0x4e525a[_0x266311(0xd0)]-0x1]]=_0x469ea7;}function deleteByKeyPath(_0xf9e22,_0x340c40){const _0x5afefe=_0x260b,_0x34f7f4={'WIYAs':function(_0x29af5a,_0x3a4c8d){return _0x29af5a<_0x3a4c8d;},'rhVSB':function(_0x505d79,_0x6dc06d){return _0x505d79 in _0x6dc06d;}},_0x34af02=_0x340c40[_0x5afefe(0xfa)]('.');let _0x2237c2=_0xf9e22;for(let _0x3f923e=0x0;_0x34f7f4['WIYAs'](_0x3f923e,_0x34af02['length']-0x1);_0x3f923e++){const _0x42bb49=_0x34af02[_0x3f923e],_0x2bcd55=_0x2237c2[_0x42bb49];if(!_0x2bcd55||typeof _0x2bcd55!==_0x5afefe(0xda)||Array[_0x5afefe(0xe7)](_0x2bcd55))return![];_0x2237c2=_0x2bcd55;}const _0x2b88c0=_0x34af02[_0x34af02['length']-0x1];if(!_0x34f7f4[_0x5afefe(0xdf)](_0x2b88c0,_0x2237c2))return![];return delete _0x2237c2[_0x2b88c0],!![];}
@@ -1 +1 @@
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
+ function _0x42e3(_0x167c30,_0x43ebfc){_0x167c30=_0x167c30-0x16e;const _0x1d2086=_0x1d20();let _0x42e337=_0x1d2086[_0x167c30];return _0x42e337;}(function(_0x52255a,_0x3dc151){const _0x5c4638=_0x42e3,_0x5c3e86=_0x52255a();while(!![]){try{const _0x1de7e5=parseInt(_0x5c4638(0x177))/0x1+-parseInt(_0x5c4638(0x174))/0x2*(parseInt(_0x5c4638(0x178))/0x3)+-parseInt(_0x5c4638(0x176))/0x4+-parseInt(_0x5c4638(0x183))/0x5*(parseInt(_0x5c4638(0x17e))/0x6)+-parseInt(_0x5c4638(0x170))/0x7+parseInt(_0x5c4638(0x181))/0x8+parseInt(_0x5c4638(0x182))/0x9;if(_0x1de7e5===_0x3dc151)break;else _0x5c3e86['push'](_0x5c3e86['shift']());}catch(_0x193f0b){_0x5c3e86['push'](_0x5c3e86['shift']());}}}(_0x1d20,0x8a701));function _0x1d20(){const _0x50d4ad=['uVVKt','object','3481163xrnpxn','string','model','LspQG','2WLKBpY','xBvKG','955068AzgGmD','787019OkLbSf','706461nkDTDx','SxJOV','yISFk','utf-8','message','parse','43842sBHzVo','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','isArray','5502416tJuxcO','2744226zWYegX','165mvgusV'];_0x1d20=function(){return _0x50d4ad;};return _0x1d20();}import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x52b35c=_0x42e3,_0x295c88={'yISFk':function(_0x1189b4){return _0x1189b4();}};return join(_0x295c88[_0x52b35c(0x17a)](getRangerDir),'config.json');}export async function loadRangerConfig(){const _0x30ec0f=_0x42e3,_0x30d45f={'sFrSo':function(_0x227c15){return _0x227c15();},'RwuEl':function(_0x27bd72,_0x3c0ea3){return _0x27bd72(_0x3c0ea3);},'xBvKG':function(_0x54a9c5,_0x4de894,_0x49bc37){return _0x54a9c5(_0x4de894,_0x49bc37);},'SxJOV':_0x30ec0f(0x17b),'uVVKt':function(_0x24a958,_0x1fb6c3){return _0x24a958!==_0x1fb6c3;},'LspQG':_0x30ec0f(0x171)},_0x5e1a1b=_0x30d45f['sFrSo'](getRangerConfigPath);if(!_0x30d45f['RwuEl'](existsSync,_0x5e1a1b))return{};try{const _0x55e847=await _0x30d45f[_0x30ec0f(0x175)](readFile,_0x5e1a1b,_0x30d45f[_0x30ec0f(0x179)]),_0x35069e=JSON[_0x30ec0f(0x17d)](_0x55e847);if(!_0x35069e||_0x30d45f[_0x30ec0f(0x16e)](typeof _0x35069e,_0x30ec0f(0x16f))||Array[_0x30ec0f(0x180)](_0x35069e))return{};const _0x5d0624={},_0x27fd91=_0x35069e['model'];return typeof _0x27fd91===_0x30d45f[_0x30ec0f(0x173)]&&(_0x5d0624[_0x30ec0f(0x172)]=_0x27fd91),_0x5d0624;}catch(_0x270322){const _0x297429=_0x270322 instanceof Error?_0x270322[_0x30ec0f(0x17c)]:String(_0x270322);return console['warn'](_0x30ec0f(0x17f)+_0x5e1a1b+':\x20'+_0x297429),{};}}
@@ -1 +1 @@
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
+ (function(_0xac8576,_0x4372b8){const _0x4be47e=_0x51d9,_0x49d747=_0xac8576();while(!![]){try{const _0x26e1fe=parseInt(_0x4be47e(0x12b))/0x1*(-parseInt(_0x4be47e(0x137))/0x2)+-parseInt(_0x4be47e(0x136))/0x3+parseInt(_0x4be47e(0x12e))/0x4+-parseInt(_0x4be47e(0x132))/0x5+-parseInt(_0x4be47e(0x135))/0x6*(-parseInt(_0x4be47e(0x134))/0x7)+-parseInt(_0x4be47e(0x133))/0x8+-parseInt(_0x4be47e(0x12a))/0x9*(-parseInt(_0x4be47e(0x13a))/0xa);if(_0x26e1fe===_0x4372b8)break;else _0x49d747['push'](_0x49d747['shift']());}catch(_0x50f345){_0x49d747['push'](_0x49d747['shift']());}}}(_0x1bd0,0xcd3d9));import{dirname,join,parse}from'path';function _0x1bd0(){const _0x5d8216=['2820123QnbWoX','734igcTql','HFeLs','EoWDN','120ybHqwx','cwd','KOiju','YxoWW','.ranger','2475072uIXkkn','2393QRouAF','root','.git','2276844LINiay','cWDoM','ursKg','AYVNT','6957555VRsGSd','6993144HJWlKW','28kOtidn','1582926HauGiH'];_0x1bd0=function(){return _0x5d8216;};return _0x1bd0();}import{existsSync}from'fs';function _0x51d9(_0x2efbef,_0x48bcba){_0x2efbef=_0x2efbef-0x12a;const _0x1bd0ed=_0x1bd0();let _0x51d96d=_0x1bd0ed[_0x2efbef];return _0x51d96d;}import{homedir}from'os';export function getRangerRoot(){const _0x144f89=_0x51d9,_0x203f09={'cWDoM':function(_0x2495ee,_0x430425){return _0x2495ee!==_0x430425;},'YxoWW':function(_0x5766c7,_0x2b5857){return _0x5766c7(_0x2b5857);},'KOiju':function(_0x4e011a,_0x3c8489,_0xd1c197){return _0x4e011a(_0x3c8489,_0xd1c197);},'EoWDN':function(_0x318dd3,_0x368e20){return _0x318dd3(_0x368e20);}};let _0x534dfe=process['cwd']();const _0x1c422a=parse(_0x534dfe)[_0x144f89(0x12c)];while(_0x203f09[_0x144f89(0x12f)](_0x534dfe,_0x1c422a)){if(_0x203f09[_0x144f89(0x13d)](existsSync,_0x203f09[_0x144f89(0x13c)](join,_0x534dfe,_0x144f89(0x13e))))return _0x534dfe;_0x534dfe=dirname(_0x534dfe);}if(_0x203f09[_0x144f89(0x139)](existsSync,join(_0x1c422a,_0x144f89(0x13e))))return _0x1c422a;const _0x314d5c=findGitRoot();if(_0x314d5c)return _0x314d5c;return process[_0x144f89(0x13b)]();}export function getRangerDir(){const _0xc5d299=_0x51d9,_0x4f286c={'ursKg':function(_0x182d53){return _0x182d53();},'AYVNT':_0xc5d299(0x13e)};return join(_0x4f286c[_0xc5d299(0x130)](getRangerRoot),_0x4f286c[_0xc5d299(0x131)]);}export function findGitRoot(){const _0x498202=_0x51d9,_0x29205={'oDJIl':function(_0x42e147,_0xe8a0c0){return _0x42e147(_0xe8a0c0);},'HFeLs':function(_0x2ee0e4,_0x44d0be){return _0x2ee0e4!==_0x44d0be;}};let _0x8b37e5=process['cwd']();const _0x879d90=_0x29205['oDJIl'](parse,_0x8b37e5)['root'];while(_0x29205[_0x498202(0x138)](_0x8b37e5,_0x879d90)){if(existsSync(join(_0x8b37e5,_0x498202(0x12d))))return _0x8b37e5;_0x8b37e5=_0x29205['oDJIl'](dirname,_0x8b37e5);}if(existsSync(join(_0x879d90,_0x498202(0x12d))))return _0x879d90;return null;}export function getRangerHomeDir(){return join(homedir(),'.ranger');}
@@ -1 +1 @@
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;}
1
+ const _0x2ae0a5=_0x1d59;(function(_0x36a363,_0x3be05a){const _0x959d6=_0x1d59,_0x44d8fe=_0x36a363();while(!![]){try{const _0x26b616=parseInt(_0x959d6(0x1ec))/0x1*(-parseInt(_0x959d6(0x1dd))/0x2)+-parseInt(_0x959d6(0x1d5))/0x3*(-parseInt(_0x959d6(0x1e7))/0x4)+parseInt(_0x959d6(0x1b6))/0x5*(parseInt(_0x959d6(0x1b8))/0x6)+parseInt(_0x959d6(0x1d2))/0x7+-parseInt(_0x959d6(0x1c9))/0x8+-parseInt(_0x959d6(0x1db))/0x9+parseInt(_0x959d6(0x1c3))/0xa*(parseInt(_0x959d6(0x1eb))/0xb);if(_0x26b616===_0x3be05a)break;else _0x44d8fe['push'](_0x44d8fe['shift']());}catch(_0x177b98){_0x44d8fe['push'](_0x44d8fe['shift']());}}}(_0x177c,0xaba68));import{spawn}from'child_process';import{createRequire}from'module';import{dirname,join}from'path';import{readFileSync}from'fs';import{quoteShellArg}from'./playwrightCli.js';export const RANGERWRIGHT_CLI_PACKAGE=_0x2ae0a5(0x1e1);export const RANGERWRIGHT_CLI_BINARY='rangerwright';function readPackageJson(_0x28a038){const _0x141ac4=_0x2ae0a5,_0x5d533f={'DYvpO':function(_0x862022,_0x355999){return _0x862022!==_0x355999;}},_0x2a1a2f=readFileSync(_0x28a038,_0x141ac4(0x1e0)),_0x3e23de=JSON['parse'](_0x2a1a2f);if(!_0x3e23de||_0x5d533f[_0x141ac4(0x1c1)](typeof _0x3e23de,'object'))return{};return _0x3e23de;}function _0x177c(){const _0x39830f=['...','bJhit','5006484GrozFO','null','nPvEE','3462BFXTlZ','\x20--json','close','bqEAn','\x0astderr:\x20','artifactDir','10358757hIFnnG','mbTob','658870GfERvV','Alzrk','data','utf-8','@ranger-testing/rangerwright','string','commandArgs','stderr','YVYwG','inVGh','1676Ftlhvc','YcRQj','unknown','assign','712822avyCdy','3DnkFgn','sessionId','uWyeP','subcommand','binaryPath','\x20binary','XXCKl','SIGTERM','kill','1835OuvHzr','env','7116mSQCOA','\x0astdout:\x20','toString','slice','socketPath','Ywywz','AbPhO','\x20signal=','fpaFr','DYvpO','match','310rNwOVD','PEauR','map','pipe','cwd','SIGKILL','6404032sihBsm','--json','timed\x20out\x20after\x20','timeoutMs','bin','sjpXY','UiZKt'];_0x177c=function(){return _0x39830f;};return _0x177c();}export function resolveRangerwrightCliBinary(){const _0x2e726d=_0x2ae0a5,_0x5ae259={'fpaFr':'package.json','inVGh':function(_0x513eb5,_0x4d8a22){return _0x513eb5(_0x4d8a22);},'Ywywz':function(_0x5d55de,_0x2c4965){return _0x5d55de===_0x2c4965;},'YVYwG':_0x2e726d(0x1e2),'LPQwN':function(_0x2bf0d7,_0x3f75a4,_0x254c95){return _0x2bf0d7(_0x3f75a4,_0x254c95);}},_0x37a2b3=createRequire(process['argv'][0x1]||join(process[_0x2e726d(0x1c7)](),_0x5ae259[_0x2e726d(0x1c0)])),_0x34b2c9=_0x37a2b3['resolve'](RANGERWRIGHT_CLI_PACKAGE+'/package.json'),_0x4515e1=dirname(_0x34b2c9),_0x4dc648=_0x5ae259[_0x2e726d(0x1e6)](readPackageJson,_0x34b2c9),_0x136b68=_0x5ae259[_0x2e726d(0x1bd)](typeof _0x4dc648[_0x2e726d(0x1cd)],_0x5ae259[_0x2e726d(0x1e5)])?_0x4dc648[_0x2e726d(0x1cd)]:_0x4dc648[_0x2e726d(0x1cd)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x136b68)throw new Error(RANGERWRIGHT_CLI_PACKAGE+'\x20does\x20not\x20expose\x20a\x20'+RANGERWRIGHT_CLI_BINARY+_0x2e726d(0x1b2));return _0x5ae259['LPQwN'](join,_0x4515e1,_0x136b68);}export function buildRangerwrightCliEnv(_0x5281a0){const _0x373624=_0x2ae0a5;return{'RANGERWRIGHT_SESSION':_0x5281a0[_0x373624(0x1ae)],'RANGERWRIGHT_CONFIG':_0x5281a0['configPath'],'RANGERWRIGHT_ARTIFACT_DIR':_0x5281a0[_0x373624(0x1da)],..._0x5281a0['socketPath']?{'RANGERWRIGHT_SOCKET_PATH':_0x5281a0[_0x373624(0x1bc)]}:{}};}function _0x1d59(_0x41e37c,_0x100492){_0x41e37c=_0x41e37c-0x1ae;const _0x177cde=_0x177c();let _0x1d5954=_0x177cde[_0x41e37c];return _0x1d5954;}export function applyRangerwrightCliEnv(_0x2175d4,_0x27dfe7){const _0x285854=_0x2ae0a5;Object[_0x285854(0x1ea)](_0x2175d4,buildRangerwrightCliEnv(_0x27dfe7));}export function buildRangerwrightCliCommandPrefix(_0x1fbaac=resolveRangerwrightCliBinary()){const _0x3ce106=_0x2ae0a5;return quoteShellArg(_0x1fbaac)+_0x3ce106(0x1d6);}function getRangerwrightSubcommand(_0x33a5c8){const _0x384750=_0x2ae0a5,_0x1b643f={'wOcBU':_0x384750(0x1e9)};return _0x33a5c8[0x0]??_0x1b643f['wOcBU'];}export function buildRangerwrightCliInvocation(_0x607b30,_0x3a8b14){const _0x4191bf=_0x2ae0a5,_0x357537={'YcRQj':function(_0x173ca4){return _0x173ca4();},'aZDJD':function(_0x2b8050,_0x5e2eff){return _0x2b8050(_0x5e2eff);},'uWyeP':'--json'},_0xcbd15b=_0x607b30[_0x4191bf(0x1b1)]??_0x357537[_0x4191bf(0x1e8)](resolveRangerwrightCliBinary),_0x51a24a=[_0x4191bf(0x1ca),..._0x3a8b14];return{'command':_0xcbd15b,'args':_0x51a24a,'shellCommand':[_0x357537['aZDJD'](quoteShellArg,_0xcbd15b),_0x357537[_0x4191bf(0x1af)],..._0x3a8b14[_0x4191bf(0x1c5)](quoteShellArg)]['join']('\x20'),'subcommand':getRangerwrightSubcommand(_0x3a8b14)};}function truncateOutput(_0x30b70d,_0x4e8e4f=0x7d0){const _0x25fee0=_0x2ae0a5;return _0x30b70d['length']>_0x4e8e4f?_0x30b70d[_0x25fee0(0x1bb)](0x0,_0x4e8e4f)+_0x25fee0(0x1d0):_0x30b70d;}export async function runRangerwrightCliCommand(_0x24aef4){const _0x2b648e=_0x2ae0a5,_0x423d6a={'PEauR':function(_0x190e58,_0x430055){return _0x190e58(_0x430055);},'UiZKt':_0x2b648e(0x1b4),'mbTob':function(_0xc0c069,_0x550cf0){return _0xc0c069(_0x550cf0);},'nonSm':function(_0x512cfd,_0x38b84f,_0x28e214,_0x409052){return _0x512cfd(_0x38b84f,_0x28e214,_0x409052);},'MXqVA':'ignore','bqEAn':'pipe','AbPhO':function(_0x5b0062,_0x407296){return _0x5b0062>_0x407296;},'sjpXY':function(_0x67704e,_0x250327,_0x5c2a83){return _0x67704e(_0x250327,_0x5c2a83);},'sElWl':'error','bJhit':_0x2b648e(0x1d7),'XRlzi':function(_0x382914,_0x1c9fce,_0x9e108b){return _0x382914(_0x1c9fce,_0x9e108b);},'XXCKl':function(_0x1affeb,_0x39f41e){return _0x1affeb(_0x39f41e);}},_0x34a39f=_0x423d6a['XRlzi'](buildRangerwrightCliInvocation,_0x24aef4,_0x24aef4[_0x2b648e(0x1e3)]),_0x12cf61={..._0x24aef4[_0x2b648e(0x1b7)]??process['env'],..._0x423d6a[_0x2b648e(0x1b3)](buildRangerwrightCliEnv,_0x24aef4)};return new Promise((_0x2434cf,_0x3a4ac7)=>{const _0x65ef0b=_0x2b648e,_0x2b68a1={'vTAZn':_0x65ef0b(0x1c8),'Alzrk':_0x423d6a[_0x65ef0b(0x1cf)],'DBPfS':function(_0x3ab67d,_0x35a5cf){const _0x24e92a=_0x65ef0b;return _0x423d6a[_0x24e92a(0x1dc)](_0x3ab67d,_0x35a5cf);},'nPvEE':_0x65ef0b(0x1d3),'npHmI':function(_0x28046c,_0x244883){const _0x4a1aa2=_0x65ef0b;return _0x423d6a[_0x4a1aa2(0x1c4)](_0x28046c,_0x244883);}},_0x4df8a7=_0x423d6a['nonSm'](spawn,_0x34a39f['command'],_0x34a39f['args'],{'cwd':_0x24aef4[_0x65ef0b(0x1c7)],'env':_0x12cf61,'stdio':[_0x423d6a['MXqVA'],_0x423d6a[_0x65ef0b(0x1d8)],_0x65ef0b(0x1c6)]});let _0x3c8e21='',_0x5b4b6f='',_0x12c7e9=![];const _0x32e924=_0x24aef4[_0x65ef0b(0x1cc)]&&_0x423d6a[_0x65ef0b(0x1be)](_0x24aef4[_0x65ef0b(0x1cc)],0x0)?_0x423d6a[_0x65ef0b(0x1ce)](setTimeout,()=>{const _0x54db19=_0x65ef0b;_0x12c7e9=!![],_0x4df8a7[_0x54db19(0x1b5)](_0x2b68a1[_0x54db19(0x1de)]),setTimeout(()=>{try{_0x4df8a7['kill'](_0x2b68a1['vTAZn']);}catch{}},0x3e8);},_0x24aef4[_0x65ef0b(0x1cc)]):null;_0x4df8a7['stdout']?.['on'](_0x65ef0b(0x1df),_0x1d38b1=>{_0x3c8e21+=_0x1d38b1['toString']();}),_0x4df8a7[_0x65ef0b(0x1e4)]?.['on'](_0x65ef0b(0x1df),_0x2b00f6=>{const _0x345cb9=_0x65ef0b;_0x5b4b6f+=_0x2b00f6[_0x345cb9(0x1ba)]();}),_0x4df8a7['on'](_0x423d6a['sElWl'],_0x546722=>{if(_0x32e924)clearTimeout(_0x32e924);_0x423d6a['PEauR'](_0x3a4ac7,_0x546722);}),_0x4df8a7['on'](_0x423d6a[_0x65ef0b(0x1d1)],(_0x4edf95,_0x25277b)=>{const _0x16f6d2=_0x65ef0b;if(_0x32e924)_0x2b68a1['DBPfS'](clearTimeout,_0x32e924);if(_0x4edf95===0x0){_0x2434cf({'stdout':_0x3c8e21,'stderr':_0x5b4b6f,'invocation':_0x34a39f});return;}const _0x4a55f8=_0x12c7e9?_0x16f6d2(0x1cb)+_0x24aef4['timeoutMs']+'ms':'exited\x20with\x20code='+(_0x4edf95??_0x2b68a1[_0x16f6d2(0x1d4)])+_0x16f6d2(0x1bf)+(_0x25277b??'null');_0x3a4ac7(new Error('rangerwright-cli\x20'+_0x34a39f[_0x16f6d2(0x1b0)]+'\x20'+_0x4a55f8+_0x16f6d2(0x1b9)+truncateOutput(_0x3c8e21)+_0x16f6d2(0x1d9)+_0x2b68a1['npHmI'](truncateOutput,_0x5b4b6f)));});});}export function parseRangerwrightCliCommand(_0x574bfc){const _0x1b8fad=_0x2ae0a5,_0x8ab84=_0x574bfc[_0x1b8fad(0x1c2)](/(?:^|\s)(?:"[^"]*rangerwright"|'[^']*rangerwright'|\S*rangerwright)(?:\s+--json)?\s+([a-z-]+)/);return _0x8ab84?.[0x1]??null;}