@ranger-testing/ranger-cli 3.1.3 → 3.1.4-alpha.fb796e7-45

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
- function _0x3cdd(_0x39a48c,_0x3bc801){_0x39a48c=_0x39a48c-0x114;var _0x41ab85=_0x41ab();var _0x3cdd18=_0x41ab85[_0x39a48c];return _0x3cdd18;}(function(_0x2d3235,_0x5a4d3c){var _0x44019b=_0x3cdd,_0xb597ff=_0x2d3235();while(!![]){try{var _0x2dd938=parseInt(_0x44019b(0x122))/0x1+parseInt(_0x44019b(0x11e))/0x2+parseInt(_0x44019b(0x118))/0x3*(-parseInt(_0x44019b(0x119))/0x4)+-parseInt(_0x44019b(0x11f))/0x5*(-parseInt(_0x44019b(0x11d))/0x6)+-parseInt(_0x44019b(0x11c))/0x7*(parseInt(_0x44019b(0x117))/0x8)+-parseInt(_0x44019b(0x121))/0x9+-parseInt(_0x44019b(0x114))/0xa;if(_0x2dd938===_0x5a4d3c)break;else _0xb597ff['push'](_0xb597ff['shift']());}catch(_0x2ffce9){_0xb597ff['push'](_0xb597ff['shift']());}}}(_0x41ab,0x8e69e));function _0x41ab(){var _0x3b6667=['1506306OmQgpa','15OuxuXu','yJfiR','7655445GZOpKG','625689DWNEye','4526910CXofJh','.config','XDG_CONFIG_HOME','599096RngMbk','375InltZW','9780FedlDz','env','YCsQd','21EAWgqF','2076132kOqUbb'];_0x41ab=function(){return _0x3b6667;};return _0x41ab();}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x4c0c87){var _0x484f35=_0x3cdd,_0x2cd8d7={'yJfiR':function(_0x208108,_0x1964cd){return _0x208108===_0x1964cd;},'QxXyf':function(_0x5645a2,_0x4b7a04,_0x1ba47b){return _0x5645a2(_0x4b7a04,_0x1ba47b);},'YCsQd':'opencode','FTRlt':function(_0x6c7f2d){return _0x6c7f2d();}};if(process[_0x484f35(0x11a)]['OPENCODE_CONFIG_DIR'])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x2cd8d7[_0x484f35(0x120)](_0x4c0c87,'user')){if(process[_0x484f35(0x11a)][_0x484f35(0x116)])return _0x2cd8d7['QxXyf'](join,process['env'][_0x484f35(0x116)],_0x2cd8d7['YCsQd']);return join(_0x2cd8d7['FTRlt'](homedir),_0x484f35(0x115),_0x2cd8d7[_0x484f35(0x11b)]);}return join(getProjectRoot(),'.opencode');}export function getOpencodeSkillsDir(_0x374415){var _0x25b016={'Halhn':function(_0x259f6b,_0xcaad67){return _0x259f6b(_0xcaad67);}};return join(_0x25b016['Halhn'](getOpencodeConfigDir,_0x374415),'skills');}
1
+ (function(_0x2fe361,_0x15b869){var _0x282a18=_0x37f1,_0xb13b49=_0x2fe361();while(!![]){try{var _0x321328=-parseInt(_0x282a18(0x13f))/0x1*(-parseInt(_0x282a18(0x137))/0x2)+parseInt(_0x282a18(0x141))/0x3*(-parseInt(_0x282a18(0x149))/0x4)+-parseInt(_0x282a18(0x13e))/0x5+parseInt(_0x282a18(0x14b))/0x6*(parseInt(_0x282a18(0x142))/0x7)+-parseInt(_0x282a18(0x13b))/0x8*(parseInt(_0x282a18(0x140))/0x9)+-parseInt(_0x282a18(0x138))/0xa*(parseInt(_0x282a18(0x14d))/0xb)+parseInt(_0x282a18(0x14a))/0xc*(parseInt(_0x282a18(0x148))/0xd);if(_0x321328===_0x15b869)break;else _0xb13b49['push'](_0xb13b49['shift']());}catch(_0x1670c5){_0xb13b49['push'](_0xb13b49['shift']());}}}(_0x4443,0x95cab));function _0x4443(){var _0x234bda=['59KPBqcq','214317wuSOQU','54183PbeChV','7194859aeeoWX','myUMG','opencode','XDG_CONFIG_HOME','skills','.opencode','34801ZLSeDf','268onobTi','11604ZmcoSE','6grforD','env','10270051QAumPy','ekwUL','PrrId','34286MHcWWR','10QfVZXo','DilpG','user','328ApJUlj','KnHhf','.config','4471625RmunCz'];_0x4443=function(){return _0x234bda;};return _0x4443();}import{homedir}from'os';function _0x37f1(_0x39343e,_0x437721){_0x39343e=_0x39343e-0x136;var _0x444367=_0x4443();var _0x37f122=_0x444367[_0x39343e];return _0x37f122;}import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x181fd7){var _0x2ee790=_0x37f1,_0x45ac4a={'CYTSP':function(_0x4e9d28,_0x1f81b2){return _0x4e9d28===_0x1f81b2;},'DilpG':_0x2ee790(0x13a),'ekwUL':_0x2ee790(0x144),'xTAgv':function(_0x4345f9,_0x2fb5d8,_0x2090d9,_0x168c33){return _0x4345f9(_0x2fb5d8,_0x2090d9,_0x168c33);},'KnHhf':function(_0x44db12){return _0x44db12();},'kMlvi':function(_0x1d3650,_0x4d8482,_0x2f2c23){return _0x1d3650(_0x4d8482,_0x2f2c23);},'myUMG':_0x2ee790(0x147)};if(process[_0x2ee790(0x14c)]['OPENCODE_CONFIG_DIR'])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x45ac4a['CYTSP'](_0x181fd7,_0x45ac4a[_0x2ee790(0x139)])){if(process['env'][_0x2ee790(0x145)])return join(process['env']['XDG_CONFIG_HOME'],_0x45ac4a[_0x2ee790(0x14e)]);return _0x45ac4a['xTAgv'](join,_0x45ac4a['KnHhf'](homedir),_0x2ee790(0x13d),_0x45ac4a['ekwUL']);}return _0x45ac4a['kMlvi'](join,_0x45ac4a[_0x2ee790(0x13c)](getProjectRoot),_0x45ac4a[_0x2ee790(0x143)]);}export function getOpencodeSkillsDir(_0x3e37b1){var _0x3456e7=_0x37f1,_0x30255b={'PrrId':function(_0x55310c,_0x3a9835,_0x4a3692){return _0x55310c(_0x3a9835,_0x4a3692);}};return _0x30255b[_0x3456e7(0x136)](join,getOpencodeConfigDir(_0x3e37b1),_0x3456e7(0x146));}
@@ -1 +1 @@
1
- function _0x305a(){const _0x5bb55f=['status','No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','zzRcA','searchParams','Organization\x20environment\x20variable\x20','set','136945PBHbkW','760384jWLnWR','from','YxMXv','json','bUEkI','string','120jpsjZp','text','10TkPfzW','1062111pPJKzV','fromEntries','134715wFxwuv','20JaxYDG','all','map','number','6654319cAXzwL','\x20must\x20be\x20a\x20string\x20or\x20number','1908472NKvROh','16174530AZKZpB'];_0x305a=function(){return _0x5bb55f;};return _0x305a();}function _0x5cfb(_0x49609e,_0x5e37d0){_0x49609e=_0x49609e-0x10a;const _0x305a40=_0x305a();let _0x5cfb53=_0x305a40[_0x49609e];return _0x5cfb53;}(function(_0x1e3e36,_0x408879){const _0x17cfd3=_0x5cfb,_0x331fcb=_0x1e3e36();while(!![]){try{const _0x29f970=-parseInt(_0x17cfd3(0x123))/0x1+parseInt(_0x17cfd3(0x10b))/0x2*(-parseInt(_0x17cfd3(0x10a))/0x3)+parseInt(_0x17cfd3(0x11a))/0x4+-parseInt(_0x17cfd3(0x119))/0x5*(parseInt(_0x17cfd3(0x120))/0x6)+parseInt(_0x17cfd3(0x10f))/0x7+-parseInt(_0x17cfd3(0x111))/0x8+-parseInt(_0x17cfd3(0x112))/0x9*(-parseInt(_0x17cfd3(0x122))/0xa);if(_0x29f970===_0x408879)break;else _0x331fcb['push'](_0x331fcb['shift']());}catch(_0x4442d7){_0x331fcb['push'](_0x331fcb['shift']());}}}(_0x305a,0x9c57f));import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';async function getOrganizationEnvironmentVariable(_0xfea41d){const _0x59c954=_0x5cfb,_0xcd2f26={'YxMXv':'variableName','uObOl':'GET','bUEkI':function(_0x5490a2,_0x335316){return _0x5490a2===_0x335316;},'StaMf':_0x59c954(0x11f),'iEnGo':function(_0x19d47f,_0x2b86ef){return _0x19d47f===_0x2b86ef;},'zzRcA':function(_0x33ff80,_0x249f00){return _0x33ff80(_0x249f00);}},_0x210f63=await getToken();if(!_0x210f63)throw new Error(_0x59c954(0x114));const _0x21f140=new URL(getApiBaseUrl()+'/organization/environment-variables');_0x21f140[_0x59c954(0x116)][_0x59c954(0x118)](_0xcd2f26[_0x59c954(0x11c)],_0xfea41d);const _0x2b5384=await fetch(_0x21f140,{'method':_0xcd2f26['uObOl'],'headers':{'Authorization':'Bearer\x20'+_0x210f63}});if(_0xcd2f26[_0x59c954(0x11e)](_0x2b5384['status'],0x194))return null;if(!_0x2b5384['ok']){const _0x339125=await _0x2b5384[_0x59c954(0x121)]();throw new Error('Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20'+_0xfea41d+':\x20'+_0x2b5384[_0x59c954(0x113)]+'\x20'+_0x339125);}const _0x174fbc=await _0x2b5384[_0x59c954(0x11d)](),_0x11aeb1=_0x174fbc[_0xfea41d];if(_0x11aeb1===undefined||_0x11aeb1===null)return null;if(_0xcd2f26[_0x59c954(0x11e)](typeof _0x11aeb1,_0xcd2f26['StaMf'])||_0xcd2f26['iEnGo'](typeof _0x11aeb1,_0x59c954(0x10e)))return _0xcd2f26[_0x59c954(0x115)](String,_0x11aeb1);throw new Error(_0x59c954(0x117)+_0xfea41d+_0x59c954(0x110));}export async function getOrganizationEnvironmentVariables(_0x4f5dac){const _0x4cd0e2=_0x5cfb,_0x5144c1={'sySpx':function(_0x529230,_0x32a76b){return _0x529230(_0x32a76b);}},_0x4ea934=Array[_0x4cd0e2(0x11b)](new Set(_0x4f5dac)),_0x4a4f63=await Promise[_0x4cd0e2(0x10c)](_0x4ea934[_0x4cd0e2(0x10d)](async _0x520e47=>{const _0x503335=await _0x5144c1['sySpx'](getOrganizationEnvironmentVariable,_0x520e47);return _0x503335===null?null:[_0x520e47,_0x503335];}));return Object[_0x4cd0e2(0x124)](_0x4a4f63['filter'](_0x57de34=>Boolean(_0x57de34)));}
1
+ (function(_0x2d8e17,_0x34a9c9){const _0x5b356d=_0x3403,_0x1ee105=_0x2d8e17();while(!![]){try{const _0x463936=-parseInt(_0x5b356d(0xe0))/0x1*(-parseInt(_0x5b356d(0xe8))/0x2)+-parseInt(_0x5b356d(0xe3))/0x3*(parseInt(_0x5b356d(0xdf))/0x4)+-parseInt(_0x5b356d(0xd6))/0x5+-parseInt(_0x5b356d(0xd7))/0x6+-parseInt(_0x5b356d(0xdc))/0x7*(parseInt(_0x5b356d(0xe1))/0x8)+-parseInt(_0x5b356d(0xe7))/0x9*(parseInt(_0x5b356d(0xd5))/0xa)+parseInt(_0x5b356d(0xd8))/0xb*(parseInt(_0x5b356d(0xe2))/0xc);if(_0x463936===_0x34a9c9)break;else _0x1ee105['push'](_0x1ee105['shift']());}catch(_0x3165f6){_0x1ee105['push'](_0x1ee105['shift']());}}}(_0x3e3d,0x65c20));function _0x3403(_0x415efa,_0x43c0a0){_0x415efa=_0x415efa-0xd5;const _0x3e3de2=_0x3e3d();let _0x340385=_0x3e3de2[_0x415efa];return _0x340385;}import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';async function getOrganizationEnvironmentVariable(_0x36d569){const _0x7c77b=_0x3403,_0x2260a5={'NPeXx':function(_0x38f247){return _0x38f247();},'nzXwI':'No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','dazzi':_0x7c77b(0xdd),'JArDV':function(_0x581fae,_0x1fcb03){return _0x581fae===_0x1fcb03;},'pBjpG':_0x7c77b(0xe6),'luGfi':function(_0xd69574,_0x3ec68f){return _0xd69574(_0x3ec68f);}},_0x17938b=await _0x2260a5['NPeXx'](getToken);if(!_0x17938b)throw new Error(_0x2260a5['nzXwI']);const _0x53b246=new URL(getApiBaseUrl()+'/organization/environment-variables');_0x53b246['searchParams'][_0x7c77b(0xe4)](_0x2260a5['dazzi'],_0x36d569);const _0x1d7fa7=await fetch(_0x53b246,{'method':'GET','headers':{'Authorization':_0x7c77b(0xd9)+_0x17938b}});if(_0x2260a5[_0x7c77b(0xdb)](_0x1d7fa7['status'],0x194))return null;if(!_0x1d7fa7['ok']){const _0x240323=await _0x1d7fa7['text']();throw new Error('Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20'+_0x36d569+':\x20'+_0x1d7fa7['status']+'\x20'+_0x240323);}const _0x252f52=await _0x1d7fa7[_0x7c77b(0xe9)](),_0x305276=_0x252f52[_0x36d569];if(_0x305276===undefined||_0x305276===null)return null;if(_0x2260a5['JArDV'](typeof _0x305276,_0x7c77b(0xea))||typeof _0x305276===_0x2260a5['pBjpG'])return _0x2260a5[_0x7c77b(0xe5)](String,_0x305276);throw new Error('Organization\x20environment\x20variable\x20'+_0x36d569+'\x20must\x20be\x20a\x20string\x20or\x20number');}function _0x3e3d(){const _0x54b880=['847404SNsIdN','4KnROBW','json','string','60DZhoGq','4056085GBmpWT','2576634GMZYAV','979xmRiJN','Bearer\x20','fromEntries','JArDV','7uBWdjR','variableName','map','52LlCZyq','104011cdrkUz','1759352NOKVbd','366180QFcctu','111126uunHoR','set','luGfi','number'];_0x3e3d=function(){return _0x54b880;};return _0x3e3d();}export async function getOrganizationEnvironmentVariables(_0x8d2845){const _0xa561a7=_0x3403,_0x530235={'vmtxx':function(_0x19d20e,_0x306f14){return _0x19d20e===_0x306f14;}},_0x21b9cd=Array['from'](new Set(_0x8d2845)),_0x3e3235=await Promise['all'](_0x21b9cd[_0xa561a7(0xde)](async _0x2cc20d=>{const _0x31ba99=await getOrganizationEnvironmentVariable(_0x2cc20d);return _0x530235['vmtxx'](_0x31ba99,null)?null:[_0x2cc20d,_0x31ba99];}));return Object[_0xa561a7(0xda)](_0x3e3235['filter'](_0x3f2bd5=>Boolean(_0x3f2bd5)));}
@@ -1 +1 @@
1
- function _0x3760(){const _0x523edd=['3068435SztXOW','playwright-cli\x20','xRtBV','quVLG','timed\x20out\x20after\x20','npx','YTzMO','configPath','ZlMxz','3OAFgkR','replace','sha256','28uXEJba','command','Saypk','140366FDsgKi','1632856BjUmGM','1075311AMSVOl','unknown','WXJDd','2HrsWfq','string','JnecY','Zxixx','data','stdout','FJFBE','50mFBqiO','timeoutMs','VqNZt','find','...','null','pipe','--config','values','\x20signal=','digest','-s=','env','3113561GeJCQH','vQidf','sMrTv','hex','cwd','vhERp','join','toString','trim','425598TqYgqr','4779112wjltqX'];_0x3760=function(){return _0x523edd;};return _0x3760();}(function(_0x759e27,_0x4c974d){const _0x48b8ca=_0xddc8,_0x4e97d1=_0x759e27();while(!![]){try{const _0xf0e536=parseInt(_0x48b8ca(0x17c))/0x1*(parseInt(_0x48b8ca(0x1aa))/0x2)+parseInt(_0x48b8ca(0x1a4))/0x3*(-parseInt(_0x48b8ca(0x1ab))/0x4)+-parseInt(_0x48b8ca(0x19b))/0x5+parseInt(_0x48b8ca(0x199))/0x6*(parseInt(_0x48b8ca(0x1a7))/0x7)+-parseInt(_0x48b8ca(0x19a))/0x8+parseInt(_0x48b8ca(0x1ac))/0x9+-parseInt(_0x48b8ca(0x183))/0xa*(-parseInt(_0x48b8ca(0x190))/0xb);if(_0xf0e536===_0x4c974d)break;else _0x4e97d1['push'](_0x4e97d1['shift']());}catch(_0x145684){_0x4e97d1['push'](_0x4e97d1['shift']());}}}(_0x3760,0x52e56));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x444aa5){const _0x53fcb2=_0xddc8,_0x516cd9={'WbdDq':function(_0x47c0bf,_0x5ba7a6){return _0x47c0bf(_0x5ba7a6);},'vQidf':_0x53fcb2(0x193)},_0x3299e0=_0x516cd9['WbdDq'](createHash,_0x53fcb2(0x1a6))['update'](_0x444aa5)[_0x53fcb2(0x18d)](_0x516cd9[_0x53fcb2(0x191)])['slice'](0x0,0xc);return'rg-'+_0x3299e0;}function _0xddc8(_0x4541d9,_0xc45a72){_0x4541d9=_0x4541d9-0x17b;const _0x376055=_0x3760();let _0xddc81f=_0x376055[_0x4541d9];return _0xddc81f;}function shellQuote(_0x23ac81){const _0x4191f4=_0xddc8;return'\x27'+_0x23ac81[_0x4191f4(0x1a5)](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x4f6785){const _0x2a921e=_0xddc8,_0x3a45ef={'Saypk':function(_0x418079,_0x117115){return _0x418079(_0x117115);}};return SAFE_SHELL_TOKEN['test'](_0x4f6785)?_0x4f6785:_0x3a45ef[_0x2a921e(0x1a9)](shellQuote,_0x4f6785);}export function buildPlaywrightCliInvocation(_0x46bcab,_0x2f9fa3,_0x1c31c2){const _0x1f33b0=_0xddc8,_0x1062f0={'hBgos':_0x1f33b0(0x1ad),'JnecY':function(_0x21bafd,_0x296fb1){return _0x21bafd(_0x296fb1);},'xRtBV':'--config'},_0x1a8db9=toPlaywrightCliSessionKey(_0x46bcab),[_0x16214b=_0x1062f0['hBgos']]=_0x1c31c2,_0x5dcf0b=[PLAYWRIGHT_CLI_BINARY,_0x1f33b0(0x18e)+_0x1a8db9,'--config',_0x2f9fa3,..._0x1c31c2];return{'command':'npx','args':_0x5dcf0b,'shellCommand':['npx',PLAYWRIGHT_CLI_BINARY,'-s='+_0x1062f0[_0x1f33b0(0x17e)](quoteShellArg,_0x1a8db9),_0x1062f0[_0x1f33b0(0x19d)],quoteShellArg(_0x2f9fa3),..._0x1c31c2['map'](quoteShellArg)][_0x1f33b0(0x196)]('\x20'),'subcommand':_0x16214b};}export function buildPlaywrightCliCommandPrefix(_0x4c3a32,_0x44dd82){const _0x260611=_0xddc8,_0x1a40b8={'vhERp':_0x260611(0x1a0),'Zxixx':function(_0x558012,_0x5e3969){return _0x558012(_0x5e3969);}},_0x4982aa=toPlaywrightCliSessionKey(_0x4c3a32);return[_0x1a40b8[_0x260611(0x195)],PLAYWRIGHT_CLI_BINARY,_0x260611(0x18e)+_0x1a40b8[_0x260611(0x17f)](quoteShellArg,_0x4982aa),_0x260611(0x18a),quoteShellArg(_0x44dd82)][_0x260611(0x196)]('\x20');}function truncateOutput(_0x578873,_0x279fbd=0x7d0){const _0x4ca476=_0xddc8,_0x4d0c1e={'ZlMxz':function(_0x303281,_0x98035d){return _0x303281+_0x98035d;}};return _0x578873['length']>_0x279fbd?_0x4d0c1e[_0x4ca476(0x1a3)](_0x578873['slice'](0x0,_0x279fbd),_0x4ca476(0x187)):_0x578873;}export async function runPlaywrightCliCommand(_0x5a8ee4){const _0x4cf4b3=_0xddc8,_0x48fa07={'oBObI':function(_0x20e4af,_0x304525,_0xac8da8){return _0x20e4af(_0x304525,_0xac8da8);},'quVLG':function(_0x3871d9,_0x53510e){return _0x3871d9(_0x53510e);},'BJcNW':function(_0x4a4387,_0x11d150){return _0x4a4387===_0x11d150;},'rTboX':function(_0x4a5fa3,_0x14db38){return _0x4a5fa3(_0x14db38);},'VqNZt':function(_0x585e52,_0x485da0){return _0x585e52??_0x485da0;},'httvn':'null','sMrTv':'SIGKILL','WXJDd':'ignore','FJFBE':_0x4cf4b3(0x189),'Jxxkg':_0x4cf4b3(0x180),'YTzMO':function(_0x15bb75,_0x5da979,_0x3be4cb,_0x3803c7){return _0x15bb75(_0x5da979,_0x3be4cb,_0x3803c7);}},_0x20c476=_0x48fa07[_0x4cf4b3(0x1a1)](buildPlaywrightCliInvocation,_0x5a8ee4['sessionId'],_0x5a8ee4[_0x4cf4b3(0x1a2)],_0x5a8ee4['commandArgs']);return new Promise((_0x4eb035,_0x392697)=>{const _0x301bc=_0x4cf4b3,_0x5c67a1={'QYCuP':_0x48fa07[_0x301bc(0x192)],'eGQQu':function(_0x548d7b,_0x5de69a){return _0x548d7b(_0x5de69a);}},_0x13a9f4=spawn(_0x20c476[_0x301bc(0x1a8)],_0x20c476['args'],{'cwd':_0x5a8ee4[_0x301bc(0x194)],'env':_0x5a8ee4[_0x301bc(0x18f)],'stdio':[_0x48fa07[_0x301bc(0x17b)],'pipe',_0x48fa07[_0x301bc(0x182)]]});let _0x1c07e7='',_0x2a282e='',_0x30f729=![];const _0x5686ee=_0x5a8ee4['timeoutMs']&&_0x5a8ee4[_0x301bc(0x184)]>0x0?setTimeout(()=>{_0x30f729=!![],_0x13a9f4['kill']('SIGTERM'),_0x48fa07['oBObI'](setTimeout,()=>{try{_0x13a9f4['kill'](_0x5c67a1['QYCuP']);}catch{}},0x3e8);},_0x5a8ee4[_0x301bc(0x184)]):null;_0x13a9f4[_0x301bc(0x181)]?.['on'](_0x48fa07['Jxxkg'],_0x433f96=>{const _0x5f5586=_0x301bc;_0x1c07e7+=_0x433f96[_0x5f5586(0x197)]();}),_0x13a9f4['stderr']?.['on'](_0x301bc(0x180),_0x292bab=>{_0x2a282e+=_0x292bab['toString']();}),_0x13a9f4['on']('error',_0x46ea1b=>{if(_0x5686ee)_0x5c67a1['eGQQu'](clearTimeout,_0x5686ee);_0x5c67a1['eGQQu'](_0x392697,_0x46ea1b);}),_0x13a9f4['on']('close',(_0x35aeb6,_0x33df50)=>{const _0xb61328=_0x301bc;if(_0x5686ee)_0x48fa07[_0xb61328(0x19e)](clearTimeout,_0x5686ee);if(_0x48fa07['BJcNW'](_0x35aeb6,0x0)){_0x48fa07['rTboX'](_0x4eb035,{'stdout':_0x1c07e7,'stderr':_0x2a282e,'invocation':_0x20c476});return;}const _0x256f93=_0x30f729?_0xb61328(0x19f)+_0x5a8ee4['timeoutMs']+'ms':'exited\x20with\x20code='+(_0x35aeb6??_0xb61328(0x188))+_0xb61328(0x18c)+_0x48fa07[_0xb61328(0x185)](_0x33df50,_0x48fa07['httvn']);_0x48fa07['rTboX'](_0x392697,new Error(_0xb61328(0x19c)+_0x20c476['subcommand']+'\x20'+_0x256f93+'\x0astdout:\x20'+truncateOutput(_0x1c07e7)+'\x0astderr:\x20'+truncateOutput(_0x2a282e)));});});}export function extractBashCommand(_0x59962a){const _0x3c3070=_0xddc8,_0x3af490=['command','cmd','script','bash_command'];for(const _0x400de0 of _0x3af490){const _0x13d8c2=_0x59962a[_0x400de0];if(typeof _0x13d8c2===_0x3c3070(0x17d)&&_0x13d8c2[_0x3c3070(0x198)]())return _0x13d8c2;}const _0x74cd3a=Object[_0x3c3070(0x18b)](_0x59962a)[_0x3c3070(0x186)](_0x235c19=>typeof _0x235c19==='string'&&_0x235c19[_0x3c3070(0x198)]()['length']>0x0);return _0x74cd3a??null;}export function parsePlaywrightCliCommand(_0x133dcc){const _0x339b85=_0x133dcc['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x339b85?.[0x1]??null;}
1
+ (function(_0x45c452,_0x235419){const _0x4fedbb=_0x452f,_0x305022=_0x45c452();while(!![]){try{const _0x2e8c85=-parseInt(_0x4fedbb(0xe9))/0x1+-parseInt(_0x4fedbb(0xf0))/0x2+parseInt(_0x4fedbb(0xea))/0x3+-parseInt(_0x4fedbb(0xc4))/0x4+parseInt(_0x4fedbb(0xd8))/0x5+parseInt(_0x4fedbb(0xc8))/0x6+parseInt(_0x4fedbb(0xc0))/0x7;if(_0x2e8c85===_0x235419)break;else _0x305022['push'](_0x305022['shift']());}catch(_0x2d016e){_0x305022['push'](_0x305022['shift']());}}}(_0x2df4,0xa7772));import{spawn}from'child_process';function _0x2df4(){const _0x4eeccc=['script','jMjTY','update','sessionId','1087159diEVSE','3502644igqCGH','data','SIGKILL','commandArgs','ignore','find','1522756wCkpEj','kdKcs','npx','map','match','VRgzp','SIGTERM','digest','4991686pwgnAC','pipe','YrZAD','unknown','615896YFjytx','join','slice','pVbiA','2363574qdnvDL','qEHDk','rg-','dNNqT','timeoutMs','env','null','stderr','close','-s=','\x0astderr:\x20','ckqgL','--config','\x0astdout:\x20','SiqtC','NUxVb','2069370lfIeaN','INZpc','kOcof','string','icOmF','tZORw','HufxC','subcommand','error','vtOwd','...','aYjPo','kill'];_0x2df4=function(){return _0x4eeccc;};return _0x2df4();}import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x41fe7c){const _0x4cb7ef=_0x452f,_0x46721a={'TrUfB':'sha256','tUgzU':'hex'},_0x451f0c=createHash(_0x46721a['TrUfB'])[_0x4cb7ef(0xe7)](_0x41fe7c)[_0x4cb7ef(0xbf)](_0x46721a['tUgzU'])[_0x4cb7ef(0xc6)](0x0,0xc);return _0x4cb7ef(0xca)+_0x451f0c;}function shellQuote(_0x43f6e6){return'\x27'+_0x43f6e6['replace'](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x2b9aed){return SAFE_SHELL_TOKEN['test'](_0x2b9aed)?_0x2b9aed:shellQuote(_0x2b9aed);}function _0x452f(_0x3bd24a,_0x2614f7){_0x3bd24a=_0x3bd24a-0xbb;const _0x2df4a2=_0x2df4();let _0x452fc8=_0x2df4a2[_0x3bd24a];return _0x452fc8;}export function buildPlaywrightCliInvocation(_0x515d5a,_0x236a75,_0x2f4ddc){const _0xb78788=_0x452f,_0x3616fc={'kdKcs':function(_0xb8c4d2,_0x3b6999){return _0xb8c4d2(_0x3b6999);},'XQjQA':_0xb78788(0xf2)},_0x24e040=_0x3616fc['kdKcs'](toPlaywrightCliSessionKey,_0x515d5a),[_0x3e3b77=_0xb78788(0xc3)]=_0x2f4ddc,_0x5b976c=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x24e040,_0xb78788(0xd4),_0x236a75,..._0x2f4ddc];return{'command':_0x3616fc['XQjQA'],'args':_0x5b976c,'shellCommand':[_0xb78788(0xf2),PLAYWRIGHT_CLI_BINARY,_0xb78788(0xd1)+_0x3616fc[_0xb78788(0xf1)](quoteShellArg,_0x24e040),'--config',_0x3616fc['kdKcs'](quoteShellArg,_0x236a75),..._0x2f4ddc[_0xb78788(0xbb)](quoteShellArg)][_0xb78788(0xc5)]('\x20'),'subcommand':_0x3e3b77};}export function buildPlaywrightCliCommandPrefix(_0x58f388,_0x52740a){const _0x564614=_0x452f,_0x32d123={'pVbiA':function(_0x425f7f,_0x1e145f){return _0x425f7f(_0x1e145f);},'INZpc':'npx','ckqgL':function(_0x46a200,_0xba2be5){return _0x46a200(_0xba2be5);},'WtreC':'--config'},_0x395707=_0x32d123[_0x564614(0xc7)](toPlaywrightCliSessionKey,_0x58f388);return[_0x32d123[_0x564614(0xd9)],PLAYWRIGHT_CLI_BINARY,'-s='+_0x32d123[_0x564614(0xd3)](quoteShellArg,_0x395707),_0x32d123['WtreC'],quoteShellArg(_0x52740a)][_0x564614(0xc5)]('\x20');}function truncateOutput(_0x5670bb,_0x5dc77f=0x7d0){const _0x14b3b5=_0x452f,_0x11f76e={'tZORw':function(_0x15bb83,_0x38b0e6){return _0x15bb83>_0x38b0e6;},'VRgzp':function(_0x2fb1c8,_0x258f48){return _0x2fb1c8+_0x258f48;}};return _0x11f76e[_0x14b3b5(0xdd)](_0x5670bb['length'],_0x5dc77f)?_0x11f76e[_0x14b3b5(0xbd)](_0x5670bb['slice'](0x0,_0x5dc77f),_0x14b3b5(0xe2)):_0x5670bb;}export async function runPlaywrightCliCommand(_0x24eab0){const _0x4f81db=_0x452f,_0x35f501={'HufxC':_0x4f81db(0xec),'kOcof':function(_0x43a045,_0x42d817){return _0x43a045(_0x42d817);},'ESKrr':function(_0x288347,_0x30e79a){return _0x288347(_0x30e79a);},'SkceU':function(_0x547c6e,_0x3fbeb4,_0x48670e,_0x1ffa56){return _0x547c6e(_0x3fbeb4,_0x48670e,_0x1ffa56);},'jMjTY':_0x4f81db(0xee),'eJEgh':_0x4f81db(0xc1),'NUxVb':function(_0x48f248,_0x3c147f,_0x56e474){return _0x48f248(_0x3c147f,_0x56e474);},'EeUhh':_0x4f81db(0xeb),'dNNqT':_0x4f81db(0xe0),'aYjPo':_0x4f81db(0xd0)},_0x14f34c=buildPlaywrightCliInvocation(_0x24eab0[_0x4f81db(0xe8)],_0x24eab0['configPath'],_0x24eab0[_0x4f81db(0xed)]);return new Promise((_0x51610f,_0x56efb1)=>{const _0x3d173c=_0x4f81db,_0x31e0cb={'LSjoz':_0x35f501[_0x3d173c(0xde)],'YrZAD':function(_0x48ab79,_0x194cf5){return _0x48ab79(_0x194cf5);},'vtOwd':function(_0x5e13e5,_0x2af63c){const _0x25b16c=_0x3d173c;return _0x35f501[_0x25b16c(0xda)](_0x5e13e5,_0x2af63c);},'ajVlR':function(_0x4b27c6,_0x1b19b1){return _0x35f501['ESKrr'](_0x4b27c6,_0x1b19b1);},'MsWgT':function(_0x4d095d,_0x250028){return _0x4d095d(_0x250028);},'icOmF':function(_0x5d1b64,_0x25f45b){return _0x5d1b64(_0x25f45b);}},_0x9b9cfc=_0x35f501['SkceU'](spawn,_0x14f34c['command'],_0x14f34c['args'],{'cwd':_0x24eab0['cwd'],'env':_0x24eab0[_0x3d173c(0xcd)],'stdio':[_0x35f501[_0x3d173c(0xe6)],_0x35f501['eJEgh'],_0x3d173c(0xc1)]});let _0x3e9441='',_0x3266fe='',_0x197164=![];const _0x22e371=_0x24eab0[_0x3d173c(0xcc)]&&_0x24eab0['timeoutMs']>0x0?_0x35f501[_0x3d173c(0xd7)](setTimeout,()=>{const _0x48121d=_0x3d173c;_0x197164=!![],_0x9b9cfc[_0x48121d(0xe4)](_0x48121d(0xbe)),setTimeout(()=>{const _0xa4e9bf=_0x48121d;try{_0x9b9cfc[_0xa4e9bf(0xe4)](_0x31e0cb['LSjoz']);}catch{}},0x3e8);},_0x24eab0['timeoutMs']):null;_0x9b9cfc['stdout']?.['on'](_0x35f501['EeUhh'],_0x57d793=>{_0x3e9441+=_0x57d793['toString']();}),_0x9b9cfc[_0x3d173c(0xcf)]?.['on'](_0x35f501['EeUhh'],_0x4349e2=>{_0x3266fe+=_0x4349e2['toString']();}),_0x9b9cfc['on'](_0x35f501[_0x3d173c(0xcb)],_0x1c1a2e=>{if(_0x22e371)clearTimeout(_0x22e371);_0x56efb1(_0x1c1a2e);}),_0x9b9cfc['on'](_0x35f501[_0x3d173c(0xe3)],(_0x7a5f3,_0x167180)=>{const _0x3bc13d=_0x3d173c;if(_0x22e371)_0x31e0cb[_0x3bc13d(0xc2)](clearTimeout,_0x22e371);if(_0x7a5f3===0x0){_0x31e0cb[_0x3bc13d(0xe1)](_0x51610f,{'stdout':_0x3e9441,'stderr':_0x3266fe,'invocation':_0x14f34c});return;}const _0x3dfb63=_0x197164?'timed\x20out\x20after\x20'+_0x24eab0[_0x3bc13d(0xcc)]+'ms':'exited\x20with\x20code='+(_0x7a5f3??_0x3bc13d(0xce))+'\x20signal='+(_0x167180??'null');_0x31e0cb['ajVlR'](_0x56efb1,new Error('playwright-cli\x20'+_0x14f34c[_0x3bc13d(0xdf)]+'\x20'+_0x3dfb63+_0x3bc13d(0xd5)+_0x31e0cb['MsWgT'](truncateOutput,_0x3e9441)+_0x3bc13d(0xd2)+_0x31e0cb[_0x3bc13d(0xdc)](truncateOutput,_0x3266fe)));});});}export function extractBashCommand(_0x33be2a){const _0x1b0882=_0x452f,_0x372cc4={'jzkzH':'command','awCvH':_0x1b0882(0xe5),'SiqtC':'bash_command','qEHDk':function(_0x44ebbf,_0x38d9b6){return _0x44ebbf===_0x38d9b6;}},_0x21f69a=[_0x372cc4['jzkzH'],'cmd',_0x372cc4['awCvH'],_0x372cc4[_0x1b0882(0xd6)]];for(const _0x5040e6 of _0x21f69a){const _0x5e4137=_0x33be2a[_0x5040e6];if(_0x372cc4[_0x1b0882(0xc9)](typeof _0x5e4137,_0x1b0882(0xdb))&&_0x5e4137['trim']())return _0x5e4137;}const _0x442f78=Object['values'](_0x33be2a)[_0x1b0882(0xef)](_0x2d52b1=>typeof _0x2d52b1==='string'&&_0x2d52b1['trim']()['length']>0x0);return _0x442f78??null;}export function parsePlaywrightCliCommand(_0x886312){const _0x43ad17=_0x452f,_0x4fbacb=_0x886312[_0x43ad17(0xbc)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x4fbacb?.[0x1]??null;}
@@ -1 +1 @@
1
- const _0x16612f=_0x56bf;(function(_0x24398f,_0x2cdae9){const _0xbc10c=_0x56bf,_0x3744c9=_0x24398f();while(!![]){try{const _0x37c329=-parseInt(_0xbc10c(0x8a))/0x1*(-parseInt(_0xbc10c(0x82))/0x2)+parseInt(_0xbc10c(0x8c))/0x3*(-parseInt(_0xbc10c(0x87))/0x4)+parseInt(_0xbc10c(0x85))/0x5+parseInt(_0xbc10c(0x88))/0x6+-parseInt(_0xbc10c(0x8b))/0x7+parseInt(_0xbc10c(0x86))/0x8*(parseInt(_0xbc10c(0x80))/0x9)+parseInt(_0xbc10c(0x83))/0xa*(parseInt(_0xbc10c(0x84))/0xb);if(_0x37c329===_0x2cdae9)break;else _0x3744c9['push'](_0x3744c9['shift']());}catch(_0x5cc5cd){_0x3744c9['push'](_0x3744c9['shift']());}}}(_0x4692,0xb44b0));function _0x4692(){const _0x1cd70c=['4796238VCfSmz','ranger\x20profile\x20add\x20local','1tsElcF','10098676QAmfEF','28659pePFGV','1521594bMvIrW','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','2100812HQKhbq','60cXZZlj','84051zcKoca','4451250RMjSKp','8OmMWkJ','324gHOgPc'];_0x4692=function(){return _0x1cd70c;};return _0x4692();}function _0x56bf(_0x143b43,_0x216bc8){_0x143b43=_0x143b43-0x80;const _0x469235=_0x4692();let _0x56bfc3=_0x469235[_0x143b43];return _0x56bfc3;}const DEFAULT_PROFILE_COMMAND=_0x16612f(0x89);export function formatProfileRequiredMessage(_0xc5d720){const _0x1a92bf=_0x16612f,_0xb41da1=_0xc5d720?_0xc5d720(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x1a92bf(0x81)+_0xb41da1+'.';}
1
+ const _0x5324c0=_0x4f01;(function(_0x431692,_0x51142d){const _0xb9a1a5=_0x4f01,_0x27ad34=_0x431692();while(!![]){try{const _0x418e57=parseInt(_0xb9a1a5(0x136))/0x1*(parseInt(_0xb9a1a5(0x12d))/0x2)+parseInt(_0xb9a1a5(0x12f))/0x3+parseInt(_0xb9a1a5(0x134))/0x4*(parseInt(_0xb9a1a5(0x135))/0x5)+-parseInt(_0xb9a1a5(0x138))/0x6*(-parseInt(_0xb9a1a5(0x133))/0x7)+-parseInt(_0xb9a1a5(0x130))/0x8*(-parseInt(_0xb9a1a5(0x12e))/0x9)+parseInt(_0xb9a1a5(0x139))/0xa+parseInt(_0xb9a1a5(0x137))/0xb*(-parseInt(_0xb9a1a5(0x131))/0xc);if(_0x418e57===_0x51142d)break;else _0x27ad34['push'](_0x27ad34['shift']());}catch(_0x9f515a){_0x27ad34['push'](_0x27ad34['shift']());}}}(_0x3901,0x7f30a));const DEFAULT_PROFILE_COMMAND=_0x5324c0(0x132);function _0x3901(){const _0x1293d0=['435IMFFQj','728090CxgXDM','209814zHfAXh','1973900nwoDqW','4306kwSvhf','3341799VijJDJ','165699qtqNnb','8VBCgMi','384ugxZAn','ranger\x20profile\x20add\x20local','49Nmydzh','24FsLyge','694815SDmfzp'];_0x3901=function(){return _0x1293d0;};return _0x3901();}function _0x4f01(_0x2e858b,_0x41a47e){_0x2e858b=_0x2e858b-0x12d;const _0x390187=_0x3901();let _0x4f010c=_0x390187[_0x2e858b];return _0x4f010c;}export function formatProfileRequiredMessage(_0x4ca12e){const _0x140d32=_0x4ca12e?_0x4ca12e(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'+_0x140d32+'.';}
@@ -1 +1 @@
1
- (function(_0x547eac,_0xb90a82){const _0x2bf08a=_0x268a,_0x4b7be1=_0x547eac();while(!![]){try{const _0x495bb8=-parseInt(_0x2bf08a(0x1dd))/0x1*(-parseInt(_0x2bf08a(0x1da))/0x2)+-parseInt(_0x2bf08a(0x1de))/0x3*(parseInt(_0x2bf08a(0x1ea))/0x4)+-parseInt(_0x2bf08a(0x1d8))/0x5+-parseInt(_0x2bf08a(0x1d9))/0x6*(-parseInt(_0x2bf08a(0x1dc))/0x7)+-parseInt(_0x2bf08a(0x1e9))/0x8+-parseInt(_0x2bf08a(0x1e2))/0x9+-parseInt(_0x2bf08a(0x1e7))/0xa*(-parseInt(_0x2bf08a(0x1df))/0xb);if(_0x495bb8===_0xb90a82)break;else _0x4b7be1['push'](_0x4b7be1['shift']());}catch(_0x582a6a){_0x4b7be1['push'](_0x4b7be1['shift']());}}}(_0x4a23,0x6b04e));function _0x4a23(){const _0xfa17a2=['11xAGIqu','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','WlOye','1642959JrWDKO','\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','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','<div\x20class=\x22ranger-banner__message\x22>','10614570QuZfSt','UNuAM','2755128dEPEee','4UkhYbi','271875xOhlIl','6tKtEvx','12CEdOBF','\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','273945rgudMq','15094DJyGtF','514467GUvYkP'];_0x4a23=function(){return _0xfa17a2;};return _0x4a23();}const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x172981=_0x268a,_0x4b249f={'UNuAM':function(_0x4f063f,_0x53aba2){return _0x4f063f+_0x53aba2;},'IPPCJ':function(_0x386666,_0x189e14){return _0x386666+_0x189e14;},'WlOye':_0x172981(0x1e0),'MHCnK':'</div>','RMbOj':_0x172981(0x1e4)},_0x2fd52e=_0x4b249f[_0x172981(0x1e8)](_0x4b249f['IPPCJ']('<div\x20class=\x22ranger-banner__content\x22>'+'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>'+_0x172981(0x1e6),_0x4b249f[_0x172981(0x1e1)])+_0x172981(0x1e5)+_0x4b249f['MHCnK']+'</div>',_0x4b249f['RMbOj']),_0x258140=_0x172981(0x1db);return _0x172981(0x1e3)+JSON['stringify'](_0x2fd52e)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON['stringify'](_0x258140)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());function _0x268a(_0x3c5308,_0x36f74f){_0x3c5308=_0x3c5308-0x1d8;const _0x4a23c3=_0x4a23();let _0x268af0=_0x4a23c3[_0x3c5308];return _0x268af0;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x4dcfb4){await _0x4dcfb4['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ function _0x1b9e(){const _0x186c44=['56078aTdlna','31083tqOgdO','MNPit','24VBmVVd','VWnqJ','rMDac','1244940XwWVrK','kXLyU','18OujJIP','</div>','35fZvDxZ','387956MSOWuR','3443HMdgjS','4412856NmJOcl','<div\x20class=\x22ranger-banner__message\x22>','26ELujoj','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20',';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','3185721ECLssl','21NkWHkI','1930blBbmi',';\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'];_0x1b9e=function(){return _0x186c44;};return _0x1b9e();}function _0x3acd(_0x4cdfc2,_0x57ab45){_0x4cdfc2=_0x4cdfc2-0x186;const _0x1b9e99=_0x1b9e();let _0x3acd00=_0x1b9e99[_0x4cdfc2];return _0x3acd00;}(function(_0x4ef846,_0x4a202c){const _0x4bfd55=_0x3acd,_0x291c20=_0x4ef846();while(!![]){try{const _0x854e95=parseInt(_0x4bfd55(0x186))/0x1+-parseInt(_0x4bfd55(0x19c))/0x2*(-parseInt(_0x4bfd55(0x18d))/0x3)+-parseInt(_0x4bfd55(0x190))/0x4*(parseInt(_0x4bfd55(0x18f))/0x5)+-parseInt(_0x4bfd55(0x18b))/0x6*(parseInt(_0x4bfd55(0x199))/0x7)+-parseInt(_0x4bfd55(0x188))/0x8*(-parseInt(_0x4bfd55(0x198))/0x9)+parseInt(_0x4bfd55(0x19a))/0xa*(-parseInt(_0x4bfd55(0x191))/0xb)+parseInt(_0x4bfd55(0x192))/0xc*(parseInt(_0x4bfd55(0x194))/0xd);if(_0x854e95===_0x4a202c)break;else _0x291c20['push'](_0x291c20['shift']());}catch(_0x1d7613){_0x291c20['push'](_0x291c20['shift']());}}}(_0x1b9e,0x9b012));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x5105fa=_0x3acd,_0x54be20={'MNPit':function(_0x581474,_0xc2b06c){return _0x581474+_0xc2b06c;},'WIexu':function(_0x530ec7,_0x2cdeb8){return _0x530ec7+_0x2cdeb8;},'kXLyU':function(_0x58e62d,_0x325d3c){return _0x58e62d+_0x325d3c;},'yvySb':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','ZOQXa':'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','rMDac':_0x5105fa(0x197),'VWnqJ':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x3c7972=_0x54be20[_0x5105fa(0x187)](_0x54be20['WIexu'](_0x54be20[_0x5105fa(0x18c)](_0x54be20[_0x5105fa(0x187)]('<div\x20class=\x22ranger-banner__content\x22>',_0x54be20['yvySb'])+_0x5105fa(0x193),_0x54be20['ZOQXa'])+_0x54be20[_0x5105fa(0x18a)]+_0x5105fa(0x18e),'</div>'),_0x54be20[_0x5105fa(0x189)]),_0x1757ec='\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 _0x5105fa(0x195)+JSON['stringify'](_0x3c7972)+_0x5105fa(0x196)+JSON['stringify'](_0x1757ec)+_0x5105fa(0x19b);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x593e24){await _0x593e24['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x20f068,_0x43b92f){const _0xa8f1a6=_0x4499,_0x5afa30=_0x20f068();while(!![]){try{const _0x4c672e=parseInt(_0xa8f1a6(0x1e6))/0x1*(-parseInt(_0xa8f1a6(0x1c7))/0x2)+-parseInt(_0xa8f1a6(0x1c3))/0x3+-parseInt(_0xa8f1a6(0x1c5))/0x4*(parseInt(_0xa8f1a6(0x1c2))/0x5)+parseInt(_0xa8f1a6(0x1e1))/0x6*(parseInt(_0xa8f1a6(0x1cb))/0x7)+parseInt(_0xa8f1a6(0x1ec))/0x8*(-parseInt(_0xa8f1a6(0x1d9))/0x9)+parseInt(_0xa8f1a6(0x1d8))/0xa+-parseInt(_0xa8f1a6(0x1ca))/0xb*(-parseInt(_0xa8f1a6(0x1e7))/0xc);if(_0x4c672e===_0x43b92f)break;else _0x5afa30['push'](_0x5afa30['shift']());}catch(_0x209134){_0x5afa30['push'](_0x5afa30['shift']());}}}(_0x25ab,0x9affc));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){return join(getRangerHomeDir(),'projects.json');}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x1feec6=_0x4499,_0x432dd7={'phUEN':function(_0x458692){return _0x458692();},'fudPt':function(_0x4e8490,_0xf18e7f){return _0x4e8490(_0xf18e7f);},'XyEVU':function(_0x279aa0,_0x520d15,_0x1f6db9){return _0x279aa0(_0x520d15,_0x1f6db9);},'LpYmx':function(_0x347362,_0x17cc5f){return _0x347362 instanceof _0x17cc5f;},'tIOAe':function(_0x113dc7){return _0x113dc7();},'DufmO':'object','EkCOG':function(_0x5deba4,_0x217e8d){return _0x5deba4!==_0x217e8d;},'gOTqI':function(_0x2b6714,_0x296c1e){return _0x2b6714===_0x296c1e;},'zLqmU':function(_0x26035d){return _0x26035d();}},_0x4d7094=_0x432dd7[_0x1feec6(0x1cd)](getProjectsConfigPath);if(!_0x432dd7[_0x1feec6(0x1c0)](existsSync,_0x4d7094))return _0x432dd7[_0x1feec6(0x1cd)](emptyConfig);let _0x4af8e0;try{_0x4af8e0=_0x432dd7['XyEVU'](readFileSync,_0x4d7094,'utf-8');}catch(_0x533c07){const _0x959d2f=_0x432dd7['LpYmx'](_0x533c07,Error)?_0x533c07[_0x1feec6(0x1d6)]:String(_0x533c07);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x4d7094+':\x20'+_0x959d2f+_0x1feec6(0x1dc)),_0x432dd7['tIOAe'](emptyConfig);}let _0x5c2458;try{_0x5c2458=JSON['parse'](_0x4af8e0);}catch(_0x19603a){const _0xd94c7b=_0x19603a instanceof Error?_0x19603a['message']:String(_0x19603a);return console['warn']('[ranger]\x20Warning:\x20'+_0x4d7094+_0x1feec6(0x1c4)+_0xd94c7b+_0x1feec6(0x1e5)),_0x432dd7[_0x1feec6(0x1cd)](emptyConfig);}if(!_0x5c2458||typeof _0x5c2458!==_0x432dd7['DufmO']||Array['isArray'](_0x5c2458)||_0x5c2458['version']!==CURRENT_VERSION||_0x432dd7[_0x1feec6(0x1c1)](typeof _0x5c2458[_0x1feec6(0x1bc)],_0x432dd7[_0x1feec6(0x1c6)])||_0x432dd7[_0x1feec6(0x1eb)](_0x5c2458['projects'],null)||Array[_0x1feec6(0x1c8)](_0x5c2458[_0x1feec6(0x1bc)]))return console[_0x1feec6(0x1bb)](_0x1feec6(0x1e0)+_0x4d7094+'\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x432dd7['zLqmU'](emptyConfig);return _0x5c2458;}export function writeProjectsConfig(_0x53ef0e){const _0x295c59=_0x4499,_0x30f65f={'xoAnj':function(_0x1cc5e2){return _0x1cc5e2();},'FqHBQ':function(_0x1a3b9f,_0x3f2633){return _0x1a3b9f(_0x3f2633);},'UPWwF':function(_0x4483fd,_0x211fb7){return _0x4483fd+_0x211fb7;},'cQiWH':'utf-8'},_0xd99f54=_0x30f65f['xoAnj'](getProjectsConfigPath),_0x512ac5=_0x30f65f[_0x295c59(0x1da)](dirname,_0xd99f54);!existsSync(_0x512ac5)&&mkdirSync(_0x512ac5,{'recursive':!![]});const _0x5b6c23=_0xd99f54+'.'+process['pid']+'.'+Date[_0x295c59(0x1db)]()+'.tmp',_0x10052a=_0x30f65f['UPWwF'](JSON[_0x295c59(0x1e8)](_0x53ef0e,null,0x2),'\x0a');try{writeFileSync(_0x5b6c23,_0x10052a,{'encoding':_0x30f65f[_0x295c59(0x1ed)],'mode':0x180}),renameSync(_0x5b6c23,_0xd99f54);}catch(_0x5bd8f2){try{_0x30f65f[_0x295c59(0x1da)](existsSync,_0x5b6c23)&&unlinkSync(_0x5b6c23);}catch{}throw _0x5bd8f2;}}export function readProfileOverrides(_0x692c6d,_0x300402){const _0x2617c9=_0x4499,_0x329f1f={'lUTVt':function(_0xcc25c0){return _0xcc25c0();}},_0x3d9a7e=_0x329f1f[_0x2617c9(0x1d3)](readProjectsConfig),_0x100c1f=_0x3d9a7e['projects'][_0x692c6d];if(!_0x100c1f||!_0x100c1f['profiles'])return null;const _0x248522=_0x100c1f['profiles'][_0x300402];if(!_0x248522||!_0x248522['settings'])return null;return _0x248522['settings']??null;}function _0x4499(_0xa13dce,_0x52a104){_0xa13dce=_0xa13dce-0x1bb;const _0x25ab7b=_0x25ab();let _0x449961=_0x25ab7b[_0xa13dce];return _0x449961;}function _0x25ab(){const _0x186107=['JzqXE','MhqyJ','message','ajCWu','4971210KuCmoW','36QVvLah','FqHBQ','now','.\x20Ignoring\x20local\x20profile\x20overrides.','DxBwI','FSnMf','BcZhA','[ranger]\x20Warning:\x20','1227852LyROtg','LXhel','object','settings',').\x20Ignoring\x20local\x20profile\x20overrides.','827151SItaqe','12YtsxXZ','stringify','XyFPM','length','gOTqI','437624ifAOuR','cQiWH','weIzZ','warn','projects','WXYWk','aHAKM','profiles','fudPt','EkCOG','4317455ypAZGM','2375886ehMxpw','\x20is\x20not\x20valid\x20JSON\x20(','4LkqUBk','DufmO','2JgwDVm','isArray','slkFq','17724509hFcLTB','42sOzefi','entries','phUEN','keys','lastProfile','split','CTVrN','kybgK','lUTVt'];_0x25ab=function(){return _0x186107;};return _0x25ab();}export function setProfileOverride(_0x4b630e,_0x234ce0,_0x30cb45,_0x5e608f){const _0x4354d0=_0x4499,_0x11597e={'MhqyJ':'keyPath\x20is\x20required','dKZgk':function(_0x261132,_0x13fe2f,_0x39d6d3,_0x5343fd){return _0x261132(_0x13fe2f,_0x39d6d3,_0x5343fd);},'Fnikt':function(_0x4a31e4,_0x2da136){return _0x4a31e4(_0x2da136);}};if(!_0x30cb45)throw new Error(_0x11597e[_0x4354d0(0x1d5)]);const _0x267eca=readProjectsConfig(),_0x42a88b=_0x267eca['projects'][_0x4b630e]??={},_0x38bea8=_0x42a88b['profiles']??={},_0x2953e1=_0x38bea8[_0x234ce0]??={},_0xf6b6a9=_0x2953e1['settings']??={};_0x11597e['dKZgk'](setByKeyPath,_0xf6b6a9,_0x30cb45,_0x5e608f),_0x11597e['Fnikt'](writeProjectsConfig,_0x267eca);}export function unsetProfileOverride(_0x210aa2,_0x2ce5f8,_0x1e2269){const _0x4436fe=_0x4499,_0x493878={'PwIbL':function(_0x2b0bda){return _0x2b0bda();},'slkFq':function(_0x25d065,_0x377947,_0x4535a9){return _0x25d065(_0x377947,_0x4535a9);},'JzqXE':function(_0x36e60e,_0x1e4683){return _0x36e60e(_0x1e4683);}};if(!_0x1e2269)throw new Error('keyPath\x20is\x20required');const _0x2f4dbb=_0x493878['PwIbL'](readProjectsConfig),_0x2d2593=_0x2f4dbb['projects'][_0x210aa2];if(!_0x2d2593?.[_0x4436fe(0x1bf)])return![];const _0x37312c=_0x2d2593[_0x4436fe(0x1bf)][_0x2ce5f8];if(!_0x37312c?.[_0x4436fe(0x1e4)])return![];const _0x5132de=_0x493878[_0x4436fe(0x1c9)](deleteByKeyPath,_0x37312c['settings'],_0x1e2269);if(!_0x5132de)return![];return _0x493878[_0x4436fe(0x1d4)](writeProjectsConfig,_0x2f4dbb),!![];}export function resetProfileOverrides(_0x2dade0,_0x3d40e9){const _0x37a77f=_0x4499,_0x4084cb={'TozAK':function(_0x3af7cf,_0x5046d6){return _0x3af7cf in _0x5046d6;},'CTVrN':function(_0x5a2d8f,_0x10500f){return _0x5a2d8f===_0x10500f;}},_0x5707c3=readProjectsConfig(),_0x563581=_0x5707c3[_0x37a77f(0x1bc)][_0x2dade0];if(!_0x563581?.['profiles'])return;if(!_0x4084cb['TozAK'](_0x3d40e9,_0x563581['profiles']))return;delete _0x563581[_0x37a77f(0x1bf)][_0x3d40e9],_0x4084cb[_0x37a77f(0x1d1)](Object[_0x37a77f(0x1ce)](_0x563581['profiles'])[_0x37a77f(0x1ea)],0x0)&&(!_0x563581[_0x37a77f(0x1cf)]?delete _0x5707c3[_0x37a77f(0x1bc)][_0x2dade0]:_0x563581['profiles']={}),writeProjectsConfig(_0x5707c3);}export function readLastProfile(_0x596b2a){const _0x158ad1=_0x4499,_0x4d236d=readProjectsConfig(),_0x44610e=_0x4d236d['projects'][_0x596b2a];return _0x44610e?.[_0x158ad1(0x1cf)]??null;}export function writeLastProfile(_0x5444be,_0x535f22){const _0x6b798f=_0x4499,_0x4f85dd={'TTGxQ':function(_0x3e3183){return _0x3e3183();},'TDTNA':function(_0x3ce979,_0x221f3b){return _0x3ce979(_0x221f3b);}},_0x173316=_0x4f85dd['TTGxQ'](readProjectsConfig),_0x13cd49=_0x173316['projects'][_0x5444be]??={};_0x13cd49[_0x6b798f(0x1cf)]=_0x535f22,_0x4f85dd['TDTNA'](writeProjectsConfig,_0x173316);}export function clearLastProfile(_0x5e2c3c,_0x3c419f){const _0x3174ad=_0x4499,_0x4f8959={'aHAKM':function(_0x40c5aa,_0x3df1fe){return _0x40c5aa===_0x3df1fe;},'FSnMf':function(_0xb56dc4,_0x1e54fe){return _0xb56dc4(_0x1e54fe);}},_0x40fc02=readProjectsConfig(),_0x40a4bf=_0x40fc02['projects'][_0x5e2c3c];if(!_0x40a4bf||_0x40a4bf[_0x3174ad(0x1cf)]!==_0x3c419f)return![];return delete _0x40a4bf['lastProfile'],(!_0x40a4bf['profiles']||_0x4f8959[_0x3174ad(0x1be)](Object[_0x3174ad(0x1ce)](_0x40a4bf[_0x3174ad(0x1bf)])['length'],0x0))&&delete _0x40fc02[_0x3174ad(0x1bc)][_0x5e2c3c],_0x4f8959[_0x3174ad(0x1de)](writeProjectsConfig,_0x40fc02),!![];}export function mergeCloudProfileSettings(_0x59e838,_0x249150){const _0x39bb2d=_0x4499,_0x543cdf={'ajCWu':function(_0x3362f2,_0x17bd97){return _0x3362f2??_0x17bd97;},'kybgK':function(_0x9cb806,_0x36f3ef){return _0x9cb806===_0x36f3ef;},'YFiXd':function(_0x36160b,_0x319c38){return _0x36160b===_0x319c38;},'XyFPM':function(_0x20da32,_0x466ddf){return _0x20da32===_0x466ddf;}},_0x3503a3={..._0x543cdf[_0x39bb2d(0x1d7)](_0x59e838,{})};if(!_0x249150)return _0x3503a3;for(const [_0x39bc99,_0x2f32fd]of Object[_0x39bb2d(0x1cc)](_0x249150)){if(_0x2f32fd===undefined)continue;if(_0x543cdf[_0x39bb2d(0x1d2)](_0x2f32fd,null)){delete _0x3503a3[_0x39bc99];continue;}if(_0x543cdf['YFiXd'](_0x39bc99,'headers')||_0x543cdf[_0x39bb2d(0x1e9)](_0x39bc99,'setupHeaders')){const _0x44daa3=asRecord(_0x3503a3[_0x39bc99])??{},_0x50d5a9=asRecord(_0x2f32fd);if(!_0x50d5a9){_0x3503a3[_0x39bc99]=_0x2f32fd;continue;}const _0xf061b8={..._0x44daa3};for(const [_0x44ff7e,_0x171f92]of Object[_0x39bb2d(0x1cc)](_0x50d5a9)){if(_0x543cdf['XyFPM'](_0x171f92,null))delete _0xf061b8[_0x44ff7e];else _0x171f92!==undefined&&(_0xf061b8[_0x44ff7e]=_0x171f92);}_0x3503a3[_0x39bc99]=_0xf061b8;continue;}_0x3503a3[_0x39bc99]=_0x2f32fd;}return _0x3503a3;}function asRecord(_0x415fe7){const _0x2f7367=_0x4499;return _0x415fe7&&typeof _0x415fe7===_0x2f7367(0x1e3)&&!Array['isArray'](_0x415fe7)?_0x415fe7:undefined;}function setByKeyPath(_0x1c1f95,_0x4882be,_0x5a883c){const _0xa0e27=_0x4499,_0x2ba7a1={'DxBwI':function(_0x47baca,_0x39606f){return _0x47baca-_0x39606f;}},_0xde01bb=_0x4882be[_0xa0e27(0x1d0)]('.');let _0x53ff5e=_0x1c1f95;for(let _0xff1761=0x0;_0xff1761<_0x2ba7a1[_0xa0e27(0x1dd)](_0xde01bb['length'],0x1);_0xff1761++){const _0x33e3c6=_0xde01bb[_0xff1761],_0x5ceda6=_0x53ff5e[_0x33e3c6];(!_0x5ceda6||typeof _0x5ceda6!==_0xa0e27(0x1e3)||Array[_0xa0e27(0x1c8)](_0x5ceda6))&&(_0x53ff5e[_0x33e3c6]={}),_0x53ff5e=_0x53ff5e[_0x33e3c6];}_0x53ff5e[_0xde01bb[_0xde01bb[_0xa0e27(0x1ea)]-0x1]]=_0x5a883c;}function deleteByKeyPath(_0x3ff7d9,_0x37991d){const _0x3ade85=_0x4499,_0x5eb95d={'BcZhA':function(_0x20dc63,_0x188201){return _0x20dc63<_0x188201;},'weIzZ':'object','LXhel':function(_0x3dc111,_0x4136af){return _0x3dc111-_0x4136af;},'WXYWk':function(_0x42a05f,_0x430418){return _0x42a05f in _0x430418;}},_0x49ebcd=_0x37991d[_0x3ade85(0x1d0)]('.');let _0x41acb0=_0x3ff7d9;for(let _0x3b061d=0x0;_0x5eb95d[_0x3ade85(0x1df)](_0x3b061d,_0x49ebcd[_0x3ade85(0x1ea)]-0x1);_0x3b061d++){const _0x428abf=_0x49ebcd[_0x3b061d],_0x418450=_0x41acb0[_0x428abf];if(!_0x418450||typeof _0x418450!==_0x5eb95d[_0x3ade85(0x1ee)]||Array[_0x3ade85(0x1c8)](_0x418450))return![];_0x41acb0=_0x418450;}const _0x4a0027=_0x49ebcd[_0x5eb95d[_0x3ade85(0x1e2)](_0x49ebcd['length'],0x1)];if(!_0x5eb95d[_0x3ade85(0x1bd)](_0x4a0027,_0x41acb0))return![];return delete _0x41acb0[_0x4a0027],!![];}
1
+ (function(_0x54e46f,_0x332661){const _0x3071c8=_0x124f,_0x483076=_0x54e46f();while(!![]){try{const _0x18a80c=parseInt(_0x3071c8(0xab))/0x1*(-parseInt(_0x3071c8(0xb3))/0x2)+parseInt(_0x3071c8(0xd2))/0x3+parseInt(_0x3071c8(0xbc))/0x4+parseInt(_0x3071c8(0xbf))/0x5+-parseInt(_0x3071c8(0xcb))/0x6+-parseInt(_0x3071c8(0xbb))/0x7+-parseInt(_0x3071c8(0xc4))/0x8*(parseInt(_0x3071c8(0xaa))/0x9);if(_0x18a80c===_0x332661)break;else _0x483076['push'](_0x483076['shift']());}catch(_0x48f7db){_0x483076['push'](_0x483076['shift']());}}}(_0x1f4b,0x6874f));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x163d69=_0x124f,_0x4cd0ad={'mgvex':function(_0x415a6e){return _0x415a6e();}};return join(_0x4cd0ad[_0x163d69(0xcc)](getRangerHomeDir),'projects.json');}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x3e84d0=_0x124f,_0x17ad6e={'pGnmj':function(_0x3a148e,_0x5a09fc,_0x256506){return _0x3a148e(_0x5a09fc,_0x256506);},'OyAfs':function(_0x11bffa,_0x10d065){return _0x11bffa instanceof _0x10d065;},'mnkrV':function(_0x45def6,_0x16f66e){return _0x45def6(_0x16f66e);},'acsUF':function(_0x277f4d){return _0x277f4d();},'DECPd':_0x3e84d0(0xbe),'BvRct':function(_0x523573){return _0x523573();}},_0x4b7b73=getProjectsConfigPath();if(!existsSync(_0x4b7b73))return emptyConfig();let _0x3a4f97;try{_0x3a4f97=_0x17ad6e['pGnmj'](readFileSync,_0x4b7b73,'utf-8');}catch(_0x2b6fd1){const _0x37ae52=_0x17ad6e['OyAfs'](_0x2b6fd1,Error)?_0x2b6fd1['message']:_0x17ad6e[_0x3e84d0(0xae)](String,_0x2b6fd1);return console[_0x3e84d0(0xcd)]('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x4b7b73+':\x20'+_0x37ae52+_0x3e84d0(0xb5)),_0x17ad6e['acsUF'](emptyConfig);}let _0xaf2be6;try{_0xaf2be6=JSON['parse'](_0x3a4f97);}catch(_0x432828){const _0x54e467=_0x432828 instanceof Error?_0x432828[_0x3e84d0(0xd5)]:String(_0x432828);return console[_0x3e84d0(0xcd)](_0x3e84d0(0xd1)+_0x4b7b73+'\x20is\x20not\x20valid\x20JSON\x20('+_0x54e467+').\x20Ignoring\x20local\x20profile\x20overrides.'),_0x17ad6e[_0x3e84d0(0xc1)](emptyConfig);}if(!_0xaf2be6||typeof _0xaf2be6!==_0x3e84d0(0xbe)||Array['isArray'](_0xaf2be6)||_0xaf2be6[_0x3e84d0(0xb2)]!==CURRENT_VERSION||typeof _0xaf2be6[_0x3e84d0(0xc3)]!==_0x17ad6e[_0x3e84d0(0xba)]||_0xaf2be6['projects']===null||Array[_0x3e84d0(0xa9)](_0xaf2be6['projects']))return console[_0x3e84d0(0xcd)]('[ranger]\x20Warning:\x20'+_0x4b7b73+'\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x17ad6e['BvRct'](emptyConfig);return _0xaf2be6;}export function writeProjectsConfig(_0x4e103e){const _0x287fcf=_0x124f,_0x39891e={'QpyIb':function(_0x19a5d1){return _0x19a5d1();},'Ujsih':function(_0x4a2443,_0x1235d7){return _0x4a2443+_0x1235d7;},'dQDAN':function(_0x25369e,_0x1c7607,_0x3042aa,_0x280f83){return _0x25369e(_0x1c7607,_0x3042aa,_0x280f83);},'KmLeW':function(_0x10a2aa,_0x4832ca){return _0x10a2aa(_0x4832ca);}},_0x30557e=_0x39891e['QpyIb'](getProjectsConfigPath),_0x46d217=dirname(_0x30557e);!existsSync(_0x46d217)&&mkdirSync(_0x46d217,{'recursive':!![]});const _0x3814f0=_0x30557e+'.'+process[_0x287fcf(0xb0)]+'.'+Date['now']()+'.tmp',_0x1193a9=_0x39891e['Ujsih'](JSON[_0x287fcf(0xac)](_0x4e103e,null,0x2),'\x0a');try{_0x39891e[_0x287fcf(0xb6)](writeFileSync,_0x3814f0,_0x1193a9,{'encoding':_0x287fcf(0xcf),'mode':0x180}),renameSync(_0x3814f0,_0x30557e);}catch(_0x26283d){try{existsSync(_0x3814f0)&&_0x39891e[_0x287fcf(0xc8)](unlinkSync,_0x3814f0);}catch{}throw _0x26283d;}}function _0x1f4b(){const _0x1a4e5e=['qPpym','tjtbJ','headers','DECPd','65933wFDjMb','2089708UzevLG','saRYQ','object','3234285jfsfUc','pCPFd','acsUF','PGdzY','projects','48tzPGTe','hsTYI','NHfAw','NMDbo','KmLeW','entries','woNjp','3468816RdsaXY','mgvex','warn','GKlYJ','utf-8','profiles','[ranger]\x20Warning:\x20','887106GqKHmD','keyPath\x20is\x20required','lastProfile','message','KPIho','length','isArray','577629WUXaMV','12898HWFrlB','stringify','JEIAL','mnkrV','split','pid','settings','version','10ygVtBx','dbVbW','.\x20Ignoring\x20local\x20profile\x20overrides.','dQDAN'];_0x1f4b=function(){return _0x1a4e5e;};return _0x1f4b();}export function readProfileOverrides(_0x2a20b9,_0x4da894){const _0x4c2c73=_0x124f,_0x3228b3=readProjectsConfig(),_0x4e6064=_0x3228b3['projects'][_0x2a20b9];if(!_0x4e6064||!_0x4e6064[_0x4c2c73(0xd0)])return null;const _0x5de0ad=_0x4e6064['profiles'][_0x4da894];if(!_0x5de0ad||!_0x5de0ad['settings'])return null;return _0x5de0ad['settings']??null;}export function setProfileOverride(_0x58ce18,_0x2a9164,_0x35017e,_0x3aac38){const _0x3415fb=_0x124f,_0xc29641={'ntTOS':_0x3415fb(0xd3),'qPpym':function(_0x4cae42,_0x18b339,_0xc45de5,_0x2c5a27){return _0x4cae42(_0x18b339,_0xc45de5,_0x2c5a27);},'wNoam':function(_0x244c3f,_0x1a3e40){return _0x244c3f(_0x1a3e40);}};if(!_0x35017e)throw new Error(_0xc29641['ntTOS']);const _0x7c8c63=readProjectsConfig(),_0x430edc=_0x7c8c63[_0x3415fb(0xc3)][_0x58ce18]??={},_0x541b6f=_0x430edc['profiles']??={},_0x1e3d0d=_0x541b6f[_0x2a9164]??={},_0x5a1948=_0x1e3d0d['settings']??={};_0xc29641[_0x3415fb(0xb7)](setByKeyPath,_0x5a1948,_0x35017e,_0x3aac38),_0xc29641['wNoam'](writeProjectsConfig,_0x7c8c63);}export function unsetProfileOverride(_0x29d9ff,_0xe09f70,_0x477226){const _0x5c849d=_0x124f,_0x4019df={'dbVbW':function(_0x45fec4,_0x5ed779,_0xc6bea3){return _0x45fec4(_0x5ed779,_0xc6bea3);}};if(!_0x477226)throw new Error(_0x5c849d(0xd3));const _0x4425a5=readProjectsConfig(),_0x1f42c0=_0x4425a5['projects'][_0x29d9ff];if(!_0x1f42c0?.['profiles'])return![];const _0x118dee=_0x1f42c0[_0x5c849d(0xd0)][_0xe09f70];if(!_0x118dee?.[_0x5c849d(0xb1)])return![];const _0x45ad72=_0x4019df[_0x5c849d(0xb4)](deleteByKeyPath,_0x118dee[_0x5c849d(0xb1)],_0x477226);if(!_0x45ad72)return![];return writeProjectsConfig(_0x4425a5),!![];}function _0x124f(_0xc0e01a,_0x41d374){_0xc0e01a=_0xc0e01a-0xa9;const _0x1f4b06=_0x1f4b();let _0x124fb2=_0x1f4b06[_0xc0e01a];return _0x124fb2;}export function resetProfileOverrides(_0x1c5e09,_0xcea23b){const _0x249ddf=_0x124f,_0x50ff7d={'iruTZ':function(_0x51c4c4,_0x348430){return _0x51c4c4 in _0x348430;}},_0x3659ff=readProjectsConfig(),_0x218351=_0x3659ff['projects'][_0x1c5e09];if(!_0x218351?.[_0x249ddf(0xd0)])return;if(!_0x50ff7d['iruTZ'](_0xcea23b,_0x218351[_0x249ddf(0xd0)]))return;delete _0x218351['profiles'][_0xcea23b],Object['keys'](_0x218351['profiles'])[_0x249ddf(0xd7)]===0x0&&(!_0x218351['lastProfile']?delete _0x3659ff[_0x249ddf(0xc3)][_0x1c5e09]:_0x218351[_0x249ddf(0xd0)]={}),writeProjectsConfig(_0x3659ff);}export function readLastProfile(_0xc15128){const _0x16139b=_0x124f,_0x14a38d={'ibHoI':function(_0x29e1ad){return _0x29e1ad();}},_0x259386=_0x14a38d['ibHoI'](readProjectsConfig),_0x5d6913=_0x259386[_0x16139b(0xc3)][_0xc15128];return _0x5d6913?.[_0x16139b(0xd4)]??null;}export function writeLastProfile(_0x1a2345,_0x2fd5cc){const _0x302d65=_0x124f,_0x449554={'cBdPN':function(_0x3edc24){return _0x3edc24();},'MDJMv':function(_0x4ad8e5,_0x45be7e){return _0x4ad8e5(_0x45be7e);}},_0xdeb858=_0x449554['cBdPN'](readProjectsConfig),_0x25f46b=_0xdeb858[_0x302d65(0xc3)][_0x1a2345]??={};_0x25f46b['lastProfile']=_0x2fd5cc,_0x449554['MDJMv'](writeProjectsConfig,_0xdeb858);}export function clearLastProfile(_0x3e85e0,_0x256b41){const _0x2aadb2=_0x124f,_0x36d87c={'tYkJG':function(_0x59c2b1,_0x12f082){return _0x59c2b1!==_0x12f082;},'mfMmV':function(_0x258923,_0x674c12){return _0x258923===_0x674c12;},'woNjp':function(_0x225f26,_0xc149b4){return _0x225f26(_0xc149b4);}},_0x533090=readProjectsConfig(),_0x418d92=_0x533090['projects'][_0x3e85e0];if(!_0x418d92||_0x36d87c['tYkJG'](_0x418d92[_0x2aadb2(0xd4)],_0x256b41))return![];return delete _0x418d92['lastProfile'],(!_0x418d92[_0x2aadb2(0xd0)]||_0x36d87c['mfMmV'](Object['keys'](_0x418d92[_0x2aadb2(0xd0)])['length'],0x0))&&delete _0x533090[_0x2aadb2(0xc3)][_0x3e85e0],_0x36d87c[_0x2aadb2(0xca)](writeProjectsConfig,_0x533090),!![];}export function mergeCloudProfileSettings(_0x16043a,_0x25e236){const _0x552e30=_0x124f,_0x2852d3={'saRYQ':function(_0x2f9974,_0x13a376){return _0x2f9974===_0x13a376;},'LpryI':function(_0x1d189c,_0x446cbd){return _0x1d189c===_0x446cbd;},'tjtbJ':function(_0x4dd130,_0xe9a0d1){return _0x4dd130===_0xe9a0d1;},'hsTYI':'setupHeaders'},_0x5a6ba2={..._0x16043a??{}};if(!_0x25e236)return _0x5a6ba2;for(const [_0x1b32c9,_0x36d794]of Object['entries'](_0x25e236)){if(_0x2852d3[_0x552e30(0xbd)](_0x36d794,undefined))continue;if(_0x2852d3['LpryI'](_0x36d794,null)){delete _0x5a6ba2[_0x1b32c9];continue;}if(_0x1b32c9===_0x552e30(0xb9)||_0x2852d3[_0x552e30(0xb8)](_0x1b32c9,_0x2852d3[_0x552e30(0xc5)])){const _0x50e7ef=asRecord(_0x5a6ba2[_0x1b32c9])??{},_0xdeda=asRecord(_0x36d794);if(!_0xdeda){_0x5a6ba2[_0x1b32c9]=_0x36d794;continue;}const _0x3550a1={..._0x50e7ef};for(const [_0x58a8f8,_0x255c3b]of Object[_0x552e30(0xc9)](_0xdeda)){if(_0x255c3b===null)delete _0x3550a1[_0x58a8f8];else _0x255c3b!==undefined&&(_0x3550a1[_0x58a8f8]=_0x255c3b);}_0x5a6ba2[_0x1b32c9]=_0x3550a1;continue;}_0x5a6ba2[_0x1b32c9]=_0x36d794;}return _0x5a6ba2;}function asRecord(_0x118ce4){const _0x4ac20d=_0x124f,_0x1e0364={'NHfAw':function(_0x281817,_0x2093c1){return _0x281817===_0x2093c1;},'GKlYJ':_0x4ac20d(0xbe)};return _0x118ce4&&_0x1e0364[_0x4ac20d(0xc6)](typeof _0x118ce4,_0x1e0364[_0x4ac20d(0xce)])&&!Array['isArray'](_0x118ce4)?_0x118ce4:undefined;}function setByKeyPath(_0x281216,_0xd66156,_0x519d4e){const _0x1ddce0=_0x124f,_0x3ddf7f={'pCPFd':function(_0x4d4231,_0x50405c){return _0x4d4231<_0x50405c;},'bIhaL':function(_0x58cd2f,_0x3c9f35){return _0x58cd2f!==_0x3c9f35;},'KPIho':function(_0x5261a9,_0x2af8ef){return _0x5261a9-_0x2af8ef;}},_0x2e8ccd=_0xd66156[_0x1ddce0(0xaf)]('.');let _0x5cc09e=_0x281216;for(let _0x3587fc=0x0;_0x3ddf7f[_0x1ddce0(0xc0)](_0x3587fc,_0x2e8ccd['length']-0x1);_0x3587fc++){const _0x391568=_0x2e8ccd[_0x3587fc],_0x213d36=_0x5cc09e[_0x391568];(!_0x213d36||_0x3ddf7f['bIhaL'](typeof _0x213d36,_0x1ddce0(0xbe))||Array['isArray'](_0x213d36))&&(_0x5cc09e[_0x391568]={}),_0x5cc09e=_0x5cc09e[_0x391568];}_0x5cc09e[_0x2e8ccd[_0x3ddf7f[_0x1ddce0(0xd6)](_0x2e8ccd['length'],0x1)]]=_0x519d4e;}function deleteByKeyPath(_0x5059b4,_0x4bae84){const _0x471ae9=_0x124f,_0x40ace0={'NMDbo':function(_0x536a41,_0x586f1f){return _0x536a41-_0x586f1f;},'PGdzY':function(_0x4e72b7,_0x232476){return _0x4e72b7!==_0x232476;},'JEIAL':_0x471ae9(0xbe)},_0x1e3016=_0x4bae84[_0x471ae9(0xaf)]('.');let _0x44e1d8=_0x5059b4;for(let _0x32bf65=0x0;_0x32bf65<_0x40ace0[_0x471ae9(0xc7)](_0x1e3016[_0x471ae9(0xd7)],0x1);_0x32bf65++){const _0x697866=_0x1e3016[_0x32bf65],_0x24ca3c=_0x44e1d8[_0x697866];if(!_0x24ca3c||_0x40ace0[_0x471ae9(0xc2)](typeof _0x24ca3c,_0x40ace0[_0x471ae9(0xad)])||Array[_0x471ae9(0xa9)](_0x24ca3c))return![];_0x44e1d8=_0x24ca3c;}const _0x1c0afe=_0x1e3016[_0x40ace0[_0x471ae9(0xc7)](_0x1e3016['length'],0x1)];if(!(_0x1c0afe in _0x44e1d8))return![];return delete _0x44e1d8[_0x1c0afe],!![];}
@@ -1 +1 @@
1
- (function(_0x700551,_0x3c41db){const _0x586e81=_0x10ca,_0x477bd2=_0x700551();while(!![]){try{const _0x3602fc=parseInt(_0x586e81(0x126))/0x1+-parseInt(_0x586e81(0x120))/0x2*(parseInt(_0x586e81(0x125))/0x3)+-parseInt(_0x586e81(0x11d))/0x4+parseInt(_0x586e81(0x11c))/0x5+parseInt(_0x586e81(0x123))/0x6+-parseInt(_0x586e81(0x11f))/0x7+-parseInt(_0x586e81(0x11e))/0x8*(-parseInt(_0x586e81(0x127))/0x9);if(_0x3602fc===_0x3c41db)break;else _0x477bd2['push'](_0x477bd2['shift']());}catch(_0x167e41){_0x477bd2['push'](_0x477bd2['shift']());}}}(_0x4a02,0xe7bf9));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x4a02(){const _0x375243=['1058MUvrpr','msamv','config.json','360480ALDKCg','model','5004QdrXnA','83999gOXRqO','9LBcYvK','isArray','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','5191950twLBXb','3695272HlJGKE','17384920arByhZ','4201071dNCPEB'];_0x4a02=function(){return _0x375243;};return _0x4a02();}function _0x10ca(_0x183aa7,_0x4940ab){_0x183aa7=_0x183aa7-0x11b;const _0x4a029f=_0x4a02();let _0x10ca52=_0x4a029f[_0x183aa7];return _0x10ca52;}export function getRangerConfigPath(){const _0x5b65fd=_0x10ca,_0x1e63a1={'tQogm':function(_0x223d9d){return _0x223d9d();},'YxBvN':_0x5b65fd(0x122)};return join(_0x1e63a1['tQogm'](getRangerDir),_0x1e63a1['YxBvN']);}export async function loadRangerConfig(){const _0x585970=_0x10ca,_0xbe82ad={'aLoCI':'utf-8','msamv':function(_0x35f024,_0x2dda70){return _0x35f024!==_0x2dda70;},'NHIOI':'object','YAHxW':function(_0x3ea36b,_0x4c11f2){return _0x3ea36b===_0x4c11f2;},'nAZhg':'string','vMZzf':function(_0x105cbf,_0x16532c){return _0x105cbf instanceof _0x16532c;},'vliJw':function(_0x474cc9,_0x5790cb){return _0x474cc9(_0x5790cb);}},_0x4bf731=getRangerConfigPath();if(!existsSync(_0x4bf731))return{};try{const _0x1e6b16=await readFile(_0x4bf731,_0xbe82ad['aLoCI']),_0x7db74a=JSON['parse'](_0x1e6b16);if(!_0x7db74a||_0xbe82ad[_0x585970(0x121)](typeof _0x7db74a,_0xbe82ad['NHIOI'])||Array[_0x585970(0x128)](_0x7db74a))return{};const _0x26d9d1={},_0x2da2cb=_0x7db74a[_0x585970(0x124)];return _0xbe82ad['YAHxW'](typeof _0x2da2cb,_0xbe82ad['nAZhg'])&&(_0x26d9d1[_0x585970(0x124)]=_0x2da2cb),_0x26d9d1;}catch(_0x209c1e){const _0x4774ac=_0xbe82ad['vMZzf'](_0x209c1e,Error)?_0x209c1e['message']:_0xbe82ad['vliJw'](String,_0x209c1e);return console['warn'](_0x585970(0x11b)+_0x4bf731+':\x20'+_0x4774ac),{};}}
1
+ (function(_0xe5bce7,_0x439204){const _0x40a223=_0x5584,_0x420167=_0xe5bce7();while(!![]){try{const _0xe9cd71=-parseInt(_0x40a223(0x155))/0x1+parseInt(_0x40a223(0x158))/0x2+parseInt(_0x40a223(0x162))/0x3*(-parseInt(_0x40a223(0x15a))/0x4)+parseInt(_0x40a223(0x15d))/0x5+parseInt(_0x40a223(0x161))/0x6+-parseInt(_0x40a223(0x15e))/0x7+parseInt(_0x40a223(0x15f))/0x8;if(_0xe9cd71===_0x439204)break;else _0x420167['push'](_0x420167['shift']());}catch(_0x41da78){_0x420167['push'](_0x420167['shift']());}}}(_0x188a,0x68faf));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x5584(_0x3c4d7e,_0x277e13){_0x3c4d7e=_0x3c4d7e-0x154;const _0x188ac7=_0x188a();let _0x558431=_0x188ac7[_0x3c4d7e];return _0x558431;}export function getRangerConfigPath(){const _0x115241=_0x5584,_0x154a2a={'NpkNs':function(_0x549590,_0x4dd32c,_0x1cc483){return _0x549590(_0x4dd32c,_0x1cc483);},'KOUzq':function(_0x54b5b4){return _0x54b5b4();},'TZykh':'config.json'};return _0x154a2a['NpkNs'](join,_0x154a2a['KOUzq'](getRangerDir),_0x154a2a[_0x115241(0x154)]);}function _0x188a(){const _0x577020=['1596166ChEHOW','message','3168096CQYPmw','model','SEmQS','872385hQfLwU','4288515LJVhxq','2469104XkLcsk','JTCxM','3857964HEbWQU','3lMOVMG','string','TZykh','89524DHewZw','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','object'];_0x188a=function(){return _0x577020;};return _0x188a();}export async function loadRangerConfig(){const _0x2d2149=_0x5584,_0x24129d={'BiSEC':function(_0x40a38d){return _0x40a38d();},'dDjIh':_0x2d2149(0x157),'JTCxM':function(_0x381c76,_0x37378c){return _0x381c76===_0x37378c;},'SEmQS':function(_0x5816e2,_0x165de1){return _0x5816e2(_0x165de1);}},_0x2d85a8=_0x24129d['BiSEC'](getRangerConfigPath);if(!existsSync(_0x2d85a8))return{};try{const _0x5ec066=await readFile(_0x2d85a8,'utf-8'),_0x59c6d6=JSON['parse'](_0x5ec066);if(!_0x59c6d6||typeof _0x59c6d6!==_0x24129d['dDjIh']||Array['isArray'](_0x59c6d6))return{};const _0x4a9c9f={},_0x465be9=_0x59c6d6[_0x2d2149(0x15b)];return _0x24129d[_0x2d2149(0x160)](typeof _0x465be9,_0x2d2149(0x163))&&(_0x4a9c9f['model']=_0x465be9),_0x4a9c9f;}catch(_0x416b33){const _0x282b72=_0x416b33 instanceof Error?_0x416b33[_0x2d2149(0x159)]:_0x24129d[_0x2d2149(0x15c)](String,_0x416b33);return console['warn'](_0x2d2149(0x156)+_0x2d85a8+':\x20'+_0x282b72),{};}}
@@ -1 +1 @@
1
- function _0x406e(_0x183dfc,_0x5590e0){_0x183dfc=_0x183dfc-0x182;const _0x518912=_0x5189();let _0x406e5a=_0x518912[_0x183dfc];return _0x406e5a;}(function(_0x560b85,_0x425a5e){const _0x29dc75=_0x406e,_0x106387=_0x560b85();while(!![]){try{const _0x4189b8=-parseInt(_0x29dc75(0x189))/0x1+parseInt(_0x29dc75(0x18c))/0x2*(parseInt(_0x29dc75(0x182))/0x3)+parseInt(_0x29dc75(0x18f))/0x4+-parseInt(_0x29dc75(0x18e))/0x5+-parseInt(_0x29dc75(0x187))/0x6+parseInt(_0x29dc75(0x183))/0x7*(-parseInt(_0x29dc75(0x186))/0x8)+parseInt(_0x29dc75(0x190))/0x9*(parseInt(_0x29dc75(0x184))/0xa);if(_0x4189b8===_0x425a5e)break;else _0x106387['push'](_0x106387['shift']());}catch(_0x4264d6){_0x106387['push'](_0x106387['shift']());}}}(_0x5189,0xe7c5e));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x271b2d=_0x406e,_0x5bffff={'dzoPj':function(_0x8835f3,_0x1a2d0e){return _0x8835f3(_0x1a2d0e);},'RUjmw':function(_0x254576,_0x29f82d,_0x13d12f){return _0x254576(_0x29f82d,_0x13d12f);},'mXcfC':_0x271b2d(0x18d),'yVNxQ':function(_0x5d4758,_0x15fcc5){return _0x5d4758(_0x15fcc5);}};let _0x1362fe=process[_0x271b2d(0x188)]();const _0x5df081=parse(_0x1362fe)[_0x271b2d(0x192)];while(_0x1362fe!==_0x5df081){if(_0x5bffff[_0x271b2d(0x185)](existsSync,_0x5bffff[_0x271b2d(0x18b)](join,_0x1362fe,_0x5bffff['mXcfC'])))return _0x1362fe;_0x1362fe=_0x5bffff['yVNxQ'](dirname,_0x1362fe);}if(_0x5bffff[_0x271b2d(0x185)](existsSync,_0x5bffff[_0x271b2d(0x18b)](join,_0x5df081,_0x5bffff['mXcfC'])))return _0x5df081;const _0x391c64=findGitRoot();if(_0x391c64)return _0x391c64;return process['cwd']();}export function getRangerDir(){const _0x1ffa62=_0x406e,_0x55080c={'tONmQ':function(_0x35b25,_0x5a0851,_0x12ffff){return _0x35b25(_0x5a0851,_0x12ffff);},'czfhK':function(_0x37d6fb){return _0x37d6fb();},'LNJTE':_0x1ffa62(0x18d)};return _0x55080c[_0x1ffa62(0x191)](join,_0x55080c['czfhK'](getRangerRoot),_0x55080c[_0x1ffa62(0x18a)]);}export function findGitRoot(){const _0x4bbd2b=_0x406e,_0x4670f4={'WVQqO':function(_0x5d17fe,_0xeca41a){return _0x5d17fe(_0xeca41a);}};let _0x180fd3=process[_0x4bbd2b(0x188)]();const _0x467992=parse(_0x180fd3)['root'];while(_0x180fd3!==_0x467992){if(existsSync(join(_0x180fd3,'.git')))return _0x180fd3;_0x180fd3=dirname(_0x180fd3);}if(_0x4670f4['WVQqO'](existsSync,join(_0x467992,'.git')))return _0x467992;return null;}export function getRangerHomeDir(){const _0x53331b=_0x406e,_0x42483e={'AcgrO':function(_0x3a09d8,_0x263f1d,_0x51bcdd){return _0x3a09d8(_0x263f1d,_0x51bcdd);},'KGAzE':function(_0x2e6635){return _0x2e6635();}};return _0x42483e['AcgrO'](join,_0x42483e['KGAzE'](homedir),_0x53331b(0x18d));}function _0x5189(){const _0x37d18e=['22316HYsmFi','280GODnjp','dzoPj','2504ngFDcQ','8140020uqQZKD','cwd','626071LMMGlu','LNJTE','RUjmw','14MXskUb','.ranger','6446865pHOgCb','3057524BJZfxj','1006029MXxoHy','tONmQ','root','567879YAxlwL'];_0x5189=function(){return _0x37d18e;};return _0x5189();}
1
+ (function(_0x148aa4,_0x8405cd){const _0x578beb=_0x25f7,_0x559830=_0x148aa4();while(!![]){try{const _0x21e215=-parseInt(_0x578beb(0xf9))/0x1*(-parseInt(_0x578beb(0xf5))/0x2)+parseInt(_0x578beb(0xf2))/0x3*(parseInt(_0x578beb(0xeb))/0x4)+-parseInt(_0x578beb(0xf0))/0x5+parseInt(_0x578beb(0xfa))/0x6+-parseInt(_0x578beb(0xf6))/0x7+parseInt(_0x578beb(0xef))/0x8*(parseInt(_0x578beb(0xf1))/0x9)+-parseInt(_0x578beb(0xf4))/0xa;if(_0x21e215===_0x8405cd)break;else _0x559830['push'](_0x559830['shift']());}catch(_0x28149b){_0x559830['push'](_0x559830['shift']());}}}(_0x579f,0xb247a));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0xec048f=_0x25f7,_0x4bc295={'QPyCn':function(_0x2eb412,_0x47f284){return _0x2eb412(_0x47f284);},'KQdTH':function(_0xe8ba80,_0x406044){return _0xe8ba80(_0x406044);},'gfdjN':function(_0xd4dc81){return _0xd4dc81();}};let _0x167772=process['cwd']();const _0x1e71bc=parse(_0x167772)['root'];while(_0x167772!==_0x1e71bc){if(_0x4bc295['QPyCn'](existsSync,join(_0x167772,_0xec048f(0xf8))))return _0x167772;_0x167772=_0x4bc295[_0xec048f(0xed)](dirname,_0x167772);}if(_0x4bc295['KQdTH'](existsSync,join(_0x1e71bc,_0xec048f(0xf8))))return _0x1e71bc;const _0x5b9960=_0x4bc295[_0xec048f(0xf3)](findGitRoot);if(_0x5b9960)return _0x5b9960;return process[_0xec048f(0xec)]();}export function getRangerDir(){const _0x39c184=_0x25f7,_0xc2c703={'RBMKJ':function(_0x1cc2ad,_0x50f39b,_0x15225d){return _0x1cc2ad(_0x50f39b,_0x15225d);}};return _0xc2c703['RBMKJ'](join,getRangerRoot(),_0x39c184(0xf8));}export function findGitRoot(){const _0x475a99=_0x25f7,_0x52823b={'HEYJu':function(_0x59b939,_0x4b30b4){return _0x59b939(_0x4b30b4);},'tvaQn':function(_0x2fd79a,_0x16aaba,_0xc68cc0){return _0x2fd79a(_0x16aaba,_0xc68cc0);},'YlsBn':'.git'};let _0x403e95=process['cwd']();const _0x16444d=parse(_0x403e95)['root'];while(_0x403e95!==_0x16444d){if(_0x52823b['HEYJu'](existsSync,_0x52823b['tvaQn'](join,_0x403e95,'.git')))return _0x403e95;_0x403e95=dirname(_0x403e95);}if(_0x52823b[_0x475a99(0xf7)](existsSync,join(_0x16444d,_0x52823b['YlsBn'])))return _0x16444d;return null;}export function getRangerHomeDir(){const _0x47e66b=_0x25f7,_0x3ebdbf={'INLuc':function(_0x549b1b){return _0x549b1b();},'jukzY':'.ranger'};return join(_0x3ebdbf['INLuc'](homedir),_0x3ebdbf[_0x47e66b(0xee)]);}function _0x25f7(_0x1b71e1,_0x2e518e){_0x1b71e1=_0x1b71e1-0xeb;const _0x579fc4=_0x579f();let _0x25f76d=_0x579fc4[_0x1b71e1];return _0x25f76d;}function _0x579f(){const _0x5745eb=['8544807BuUZPh','809259cDHWEX','gfdjN','13587790qVnhmF','2YivCzw','4377632vSqSQW','HEYJu','.ranger','738235DskDVS','4754640edczAy','16fdwPcy','cwd','QPyCn','jukzY','8HsEsLq','4223605hsTkfN'];_0x579f=function(){return _0x5745eb;};return _0x579f();}
@@ -1 +1 @@
1
- const _0x27d4fb=_0x5e81;(function(_0x45f524,_0x1fb9db){const _0x3a86d5=_0x5e81,_0x1016e6=_0x45f524();while(!![]){try{const _0x1010c2=-parseInt(_0x3a86d5(0x184))/0x1+parseInt(_0x3a86d5(0x17f))/0x2*(parseInt(_0x3a86d5(0x171))/0x3)+-parseInt(_0x3a86d5(0x170))/0x4*(-parseInt(_0x3a86d5(0x164))/0x5)+-parseInt(_0x3a86d5(0x17c))/0x6+-parseInt(_0x3a86d5(0x165))/0x7*(-parseInt(_0x3a86d5(0x187))/0x8)+parseInt(_0x3a86d5(0x168))/0x9+-parseInt(_0x3a86d5(0x18e))/0xa;if(_0x1010c2===_0x1fb9db)break;else _0x1016e6['push'](_0x1016e6['shift']());}catch(_0x2f2b21){_0x1016e6['push'](_0x1016e6['shift']());}}}(_0x2b96,0x4aaac));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='@ranger-testing/rangerwright';function _0x2b96(){const _0x4253ac=['hnszU','519342GxfHRx','ioVQx','timeoutMs','237336wTwMiI','tZMiM','Enhet','artifactDir','mNNfP','unknown','package.json','1938050TICDGP','--json','join','kill','NiPaG','KHsIO','data','429880YLOkka','105YEkjMc','exited\x20with\x20code=','WDJIm','3510351QLUYWU','inioy','dPubh','error','RpDOI','hJTLQ','null','ZLUfs','20tWRLRs','9702pzXHwY','slice','AQZiM','string','lsVVA','UTzeE','FoCMD','eTRVh','pipe','\x20does\x20not\x20expose\x20a\x20','rangerwright-cli\x20','3377238iMAXYj','jaLhg','cwd','196jTOeTW','env','rangerwright','/package.json'];_0x2b96=function(){return _0x4253ac;};return _0x2b96();}export const RANGERWRIGHT_CLI_BINARY=_0x27d4fb(0x181);function readPackageJson(_0x228b3f){const _0x453db5=_0x27d4fb,_0x338dbd={'NiPaG':function(_0x3d7d17,_0x377bf0,_0x5699d8){return _0x3d7d17(_0x377bf0,_0x5699d8);},'Enhet':'object'},_0x27d45b=_0x338dbd[_0x453db5(0x161)](readFileSync,_0x228b3f,'utf-8'),_0x4fbdeb=JSON['parse'](_0x27d45b);if(!_0x4fbdeb||typeof _0x4fbdeb!==_0x338dbd[_0x453db5(0x189)])return{};return _0x4fbdeb;}export function resolveRangerwrightCliBinary(){const _0x4ef39a=_0x27d4fb,_0x5e3b6f={'RpDOI':function(_0x20533f,_0x1daf1d,_0x434a65){return _0x20533f(_0x1daf1d,_0x434a65);},'hJTLQ':_0x4ef39a(0x18d),'YpSKY':function(_0x6ae19a,_0x44f602){return _0x6ae19a(_0x44f602);},'bPQTp':function(_0x30c75a,_0x2dd98e){return _0x30c75a(_0x2dd98e);},'caKEF':function(_0x52a167,_0x79afa2){return _0x52a167===_0x79afa2;}},_0x19fb30=createRequire(process['argv'][0x1]||_0x5e3b6f[_0x4ef39a(0x16c)](join,process['cwd'](),_0x5e3b6f[_0x4ef39a(0x16d)])),_0x3f1aad=_0x19fb30['resolve'](RANGERWRIGHT_CLI_PACKAGE+_0x4ef39a(0x182)),_0x7d6028=_0x5e3b6f['YpSKY'](dirname,_0x3f1aad),_0x276db5=_0x5e3b6f['bPQTp'](readPackageJson,_0x3f1aad),_0x3d3abc=_0x5e3b6f['caKEF'](typeof _0x276db5['bin'],_0x4ef39a(0x174))?_0x276db5['bin']:_0x276db5['bin']?.[RANGERWRIGHT_CLI_BINARY];if(!_0x3d3abc)throw new Error(RANGERWRIGHT_CLI_PACKAGE+_0x4ef39a(0x17a)+RANGERWRIGHT_CLI_BINARY+'\x20binary');return join(_0x7d6028,_0x3d3abc);}export function buildRangerwrightCliEnv(_0x1a9a5c){const _0x2df352=_0x27d4fb;return{'RANGERWRIGHT_SESSION':_0x1a9a5c['sessionId'],'RANGERWRIGHT_CONFIG':_0x1a9a5c['configPath'],'RANGERWRIGHT_ARTIFACT_DIR':_0x1a9a5c[_0x2df352(0x18a)],..._0x1a9a5c['socketPath']?{'RANGERWRIGHT_SOCKET_PATH':_0x1a9a5c['socketPath']}:{}};}export function applyRangerwrightCliEnv(_0x67df68,_0x26a9da){Object['assign'](_0x67df68,buildRangerwrightCliEnv(_0x26a9da));}export function buildRangerwrightCliCommandPrefix(_0x3827ec=resolveRangerwrightCliBinary()){return quoteShellArg(_0x3827ec)+'\x20--json';}function getRangerwrightSubcommand(_0x99edf4){const _0x15f0b6=_0x27d4fb;return _0x99edf4[0x0]??_0x15f0b6(0x18c);}export function buildRangerwrightCliInvocation(_0x3d88f1,_0x182bea){const _0xe1b86d=_0x27d4fb,_0x3fb672={'hnszU':function(_0x589ea2){return _0x589ea2();},'eTRVh':_0xe1b86d(0x15e),'WDJIm':function(_0xefbd4b,_0x5ba33c){return _0xefbd4b(_0x5ba33c);}},_0xd99c12=_0x3d88f1['binaryPath']??_0x3fb672[_0xe1b86d(0x183)](resolveRangerwrightCliBinary),_0x388a71=[_0x3fb672[_0xe1b86d(0x178)],..._0x182bea];return{'command':_0xd99c12,'args':_0x388a71,'shellCommand':[quoteShellArg(_0xd99c12),_0xe1b86d(0x15e),..._0x182bea['map'](quoteShellArg)][_0xe1b86d(0x15f)]('\x20'),'subcommand':_0x3fb672[_0xe1b86d(0x167)](getRangerwrightSubcommand,_0x182bea)};}function _0x5e81(_0x285a34,_0x19cce5){_0x285a34=_0x285a34-0x15e;const _0x2b96eb=_0x2b96();let _0x5e8122=_0x2b96eb[_0x285a34];return _0x5e8122;}function truncateOutput(_0x3cf466,_0x43abea=0x7d0){const _0x27508a=_0x27d4fb,_0x53a1b0={'AQZiM':function(_0x4f92da,_0x2d61a6){return _0x4f92da>_0x2d61a6;},'inioy':function(_0xcf222e,_0x2af37d){return _0xcf222e+_0x2af37d;},'ioVQx':'...'};return _0x53a1b0[_0x27508a(0x173)](_0x3cf466['length'],_0x43abea)?_0x53a1b0[_0x27508a(0x169)](_0x3cf466[_0x27508a(0x172)](0x0,_0x43abea),_0x53a1b0[_0x27508a(0x185)]):_0x3cf466;}export async function runRangerwrightCliCommand(_0x4303e0){const _0x31e7df=_0x27d4fb,_0xe83061={'lsVVA':function(_0x4e80db,_0x16dc6e){return _0x4e80db(_0x16dc6e);},'TMmDo':function(_0x3f155f,_0x506127){return _0x3f155f===_0x506127;},'FoCMD':'ignore','tZMiM':_0x31e7df(0x179),'UTzeE':function(_0x25e6c3,_0x58fce9){return _0x25e6c3>_0x58fce9;},'jaLhg':function(_0x1fbf39,_0x2e543d,_0x14e1ba){return _0x1fbf39(_0x2e543d,_0x14e1ba);},'dPubh':_0x31e7df(0x163)},_0x258765=_0xe83061[_0x31e7df(0x17d)](buildRangerwrightCliInvocation,_0x4303e0,_0x4303e0['commandArgs']),_0x121341={..._0x4303e0[_0x31e7df(0x180)]??process[_0x31e7df(0x180)],..._0xe83061[_0x31e7df(0x175)](buildRangerwrightCliEnv,_0x4303e0)};return new Promise((_0x1913ce,_0x555b55)=>{const _0x55c78b=_0x31e7df,_0xadc25={'cDBlm':function(_0x1c7b8c,_0x2ecfe2,_0x1feeb7){return _0x1c7b8c(_0x2ecfe2,_0x1feeb7);},'JFbdu':function(_0x464dc5,_0x4733e6){return _0xe83061['TMmDo'](_0x464dc5,_0x4733e6);},'odFqq':function(_0x488c2a,_0x575bfc){return _0x488c2a(_0x575bfc);},'DfzVn':function(_0x2d0fa9,_0x54824b){return _0x2d0fa9??_0x54824b;},'KHsIO':_0x55c78b(0x16e),'ZLUfs':function(_0x4b1d3c,_0x42d202){return _0x4b1d3c(_0x42d202);}},_0x28059c=spawn(_0x258765['command'],_0x258765['args'],{'cwd':_0x4303e0[_0x55c78b(0x17e)],'env':_0x121341,'stdio':[_0xe83061[_0x55c78b(0x177)],_0xe83061[_0x55c78b(0x188)],_0xe83061[_0x55c78b(0x188)]]});let _0x340737='',_0x4521a3='',_0x483abf=![];const _0x1386f0=_0x4303e0[_0x55c78b(0x186)]&&_0xe83061[_0x55c78b(0x176)](_0x4303e0['timeoutMs'],0x0)?_0xe83061[_0x55c78b(0x17d)](setTimeout,()=>{const _0x146488={'mNNfP':'SIGKILL'};_0x483abf=!![],_0x28059c['kill']('SIGTERM'),_0xadc25['cDBlm'](setTimeout,()=>{const _0x28a873=_0x5e81;try{_0x28059c[_0x28a873(0x160)](_0x146488[_0x28a873(0x18b)]);}catch{}},0x3e8);},_0x4303e0[_0x55c78b(0x186)]):null;_0x28059c['stdout']?.['on']('data',_0xc09443=>{_0x340737+=_0xc09443['toString']();}),_0x28059c['stderr']?.['on'](_0xe83061[_0x55c78b(0x16a)],_0x1d7443=>{_0x4521a3+=_0x1d7443['toString']();}),_0x28059c['on'](_0x55c78b(0x16b),_0x48f8a7=>{if(_0x1386f0)clearTimeout(_0x1386f0);_0xe83061['lsVVA'](_0x555b55,_0x48f8a7);}),_0x28059c['on']('close',(_0x5bb8f9,_0x23a8c1)=>{const _0x4d9362=_0x55c78b;if(_0x1386f0)clearTimeout(_0x1386f0);if(_0xadc25['JFbdu'](_0x5bb8f9,0x0)){_0xadc25['odFqq'](_0x1913ce,{'stdout':_0x340737,'stderr':_0x4521a3,'invocation':_0x258765});return;}const _0x1cec7f=_0x483abf?'timed\x20out\x20after\x20'+_0x4303e0['timeoutMs']+'ms':_0x4d9362(0x166)+_0xadc25['DfzVn'](_0x5bb8f9,_0xadc25[_0x4d9362(0x162)])+'\x20signal='+_0xadc25['DfzVn'](_0x23a8c1,'null');_0xadc25[_0x4d9362(0x16f)](_0x555b55,new Error(_0x4d9362(0x17b)+_0x258765['subcommand']+'\x20'+_0x1cec7f+'\x0astdout:\x20'+_0xadc25['ZLUfs'](truncateOutput,_0x340737)+'\x0astderr:\x20'+truncateOutput(_0x4521a3)));});});}export function parseRangerwrightCliCommand(_0x5293bc){const _0x519dba=_0x5293bc['match'](/(?:^|\s)(?:"[^"]*rangerwright(?:\/build\/cli\.js)?"|'[^']*rangerwright(?:\/build\/cli\.js)?'|\S*rangerwright(?:\/build\/cli\.js)?)(?:\s+--json)?\s+([a-z-]+)/);return _0x519dba?.[0x1]??null;}
1
+ const _0x20df38=_0x1ab4;function _0x1fdc(){const _0x49c08d=['277712BLXJBV','rqCSS','\x0astderr:\x20','configPath','\x20--json','toString','188MnKAzi','cHMoo','rangerwright','247315bOfLpx','fJxDJ','2175710JVhhgB','\x0astdout:\x20','assign','7714qWMDeJ','argv','artifactDir','613216VhdSQP','timed\x20out\x20after\x20','data','socketPath','18WZYWXc','\x20binary','subcommand','--json','QHnxe','package.json','Olkld','commandArgs','642pcCRio','wdWMk','cwd','SIGKILL','9657YqhByd','match','map','resolve','SIGTERM','stdout','parse','ANOsn','103004ARSoKK','WOMjT','object','pipe','bin','slice','env','command','null'];_0x1fdc=function(){return _0x49c08d;};return _0x1fdc();}(function(_0x2c22c1,_0x35aa56){const _0x1cf5c7=_0x1ab4,_0x4fdfe8=_0x2c22c1();while(!![]){try{const _0x845a08=parseInt(_0x1cf5c7(0x132))/0x1+-parseInt(_0x1cf5c7(0x109))/0x2+-parseInt(_0x1cf5c7(0x12a))/0x3*(parseInt(_0x1cf5c7(0x10f))/0x4)+parseInt(_0x1cf5c7(0x112))/0x5+parseInt(_0x1cf5c7(0x126))/0x6*(-parseInt(_0x1cf5c7(0x117))/0x7)+-parseInt(_0x1cf5c7(0x11a))/0x8+parseInt(_0x1cf5c7(0x11e))/0x9*(parseInt(_0x1cf5c7(0x114))/0xa);if(_0x845a08===_0x35aa56)break;else _0x4fdfe8['push'](_0x4fdfe8['shift']());}catch(_0x5e8180){_0x4fdfe8['push'](_0x4fdfe8['shift']());}}}(_0x1fdc,0x191ee));import{spawn}from'child_process';function _0x1ab4(_0x24dd43,_0x5a1b78){_0x24dd43=_0x24dd43-0x103;const _0x1fdc8b=_0x1fdc();let _0x1ab4a2=_0x1fdc8b[_0x24dd43];return _0x1ab4a2;}import{createRequire}from'module';import{dirname,join}from'path';import{readFileSync}from'fs';import{quoteShellArg}from'./playwrightCli.js';export const RANGERWRIGHT_CLI_PACKAGE='@ranger-testing/rangerwright';export const RANGERWRIGHT_CLI_BINARY=_0x20df38(0x111);function readPackageJson(_0x485409){const _0x568827=_0x20df38,_0x3aefc6={'fJxDJ':function(_0x432fcb,_0x344ad7,_0x19a469){return _0x432fcb(_0x344ad7,_0x19a469);},'Olkld':function(_0x2d61ca,_0x1a4af3){return _0x2d61ca!==_0x1a4af3;}},_0x1c6cd8=_0x3aefc6[_0x568827(0x113)](readFileSync,_0x485409,'utf-8'),_0x487ad3=JSON[_0x568827(0x130)](_0x1c6cd8);if(!_0x487ad3||_0x3aefc6[_0x568827(0x124)](typeof _0x487ad3,_0x568827(0x134)))return{};return _0x487ad3;}export function resolveRangerwrightCliBinary(){const _0x3e927e=_0x20df38,_0x2b7942={'QHnxe':function(_0x538b27,_0x4333c5){return _0x538b27(_0x4333c5);},'oGAqP':function(_0x44ea00,_0x7a0a0c,_0x5eb91b){return _0x44ea00(_0x7a0a0c,_0x5eb91b);}},_0x7ef2ce=_0x2b7942[_0x3e927e(0x122)](createRequire,process[_0x3e927e(0x118)][0x1]||join(process['cwd'](),_0x3e927e(0x123))),_0x565824=_0x7ef2ce[_0x3e927e(0x12d)](RANGERWRIGHT_CLI_PACKAGE+'/package.json'),_0x24f2a0=_0x2b7942['QHnxe'](dirname,_0x565824),_0x58b6c6=readPackageJson(_0x565824),_0x522bcb=typeof _0x58b6c6[_0x3e927e(0x104)]==='string'?_0x58b6c6['bin']:_0x58b6c6['bin']?.[RANGERWRIGHT_CLI_BINARY];if(!_0x522bcb)throw new Error(RANGERWRIGHT_CLI_PACKAGE+'\x20does\x20not\x20expose\x20a\x20'+RANGERWRIGHT_CLI_BINARY+_0x3e927e(0x11f));return _0x2b7942['oGAqP'](join,_0x24f2a0,_0x522bcb);}export function buildRangerwrightCliEnv(_0x5216b3){const _0x5381a4=_0x20df38;return{'RANGERWRIGHT_SESSION':_0x5216b3['sessionId'],'RANGERWRIGHT_CONFIG':_0x5216b3[_0x5381a4(0x10c)],'RANGERWRIGHT_ARTIFACT_DIR':_0x5216b3[_0x5381a4(0x119)],..._0x5216b3[_0x5381a4(0x11d)]?{'RANGERWRIGHT_SOCKET_PATH':_0x5216b3['socketPath']}:{}};}export function applyRangerwrightCliEnv(_0x3e5bcb,_0x3c85f2){const _0x14d72b=_0x20df38,_0x20b304={'fyOMU':function(_0x330b09,_0x1603f7){return _0x330b09(_0x1603f7);}};Object[_0x14d72b(0x116)](_0x3e5bcb,_0x20b304['fyOMU'](buildRangerwrightCliEnv,_0x3c85f2));}export function buildRangerwrightCliCommandPrefix(_0x10f80d=resolveRangerwrightCliBinary()){const _0xf804fc=_0x20df38;return quoteShellArg(_0x10f80d)+_0xf804fc(0x10d);}function getRangerwrightSubcommand(_0x554414){const _0x46ede2={'bDnTX':'unknown'};return _0x554414[0x0]??_0x46ede2['bDnTX'];}export function buildRangerwrightCliInvocation(_0x22d4f8,_0x198051){const _0x11c667=_0x20df38,_0x1669e6={'rqCSS':function(_0x4d2472){return _0x4d2472();},'OPHzV':_0x11c667(0x121),'uDtCz':function(_0x494e22,_0x54c11f){return _0x494e22(_0x54c11f);}},_0x53deaf=_0x22d4f8['binaryPath']??_0x1669e6[_0x11c667(0x10a)](resolveRangerwrightCliBinary),_0x1ef36c=[_0x1669e6['OPHzV'],..._0x198051];return{'command':_0x53deaf,'args':_0x1ef36c,'shellCommand':[quoteShellArg(_0x53deaf),_0x1669e6['OPHzV'],..._0x198051[_0x11c667(0x12c)](quoteShellArg)]['join']('\x20'),'subcommand':_0x1669e6['uDtCz'](getRangerwrightSubcommand,_0x198051)};}function truncateOutput(_0x3955b3,_0x554a1d=0x7d0){const _0x3d9e1=_0x20df38;return _0x3955b3['length']>_0x554a1d?_0x3955b3[_0x3d9e1(0x105)](0x0,_0x554a1d)+'...':_0x3955b3;}export async function runRangerwrightCliCommand(_0x850560){const _0x3736d6=_0x20df38,_0x3500f4={'vOWfQ':_0x3736d6(0x12e),'lMoeu':function(_0x19e2ca,_0x1c684d){return _0x19e2ca===_0x1c684d;},'cHMoo':function(_0x2c5c70,_0x4b757c){return _0x2c5c70??_0x4b757c;},'wdWMk':function(_0x20cdf1,_0x5086f9){return _0x20cdf1(_0x5086f9);},'BNETl':'ignore','AlXLP':_0x3736d6(0x103),'HAsnd':function(_0x12a003,_0x250436){return _0x12a003>_0x250436;},'ANOsn':_0x3736d6(0x11c)},_0x228325=buildRangerwrightCliInvocation(_0x850560,_0x850560[_0x3736d6(0x125)]),_0x211ba0={..._0x850560[_0x3736d6(0x106)]??process['env'],...buildRangerwrightCliEnv(_0x850560)};return new Promise((_0xe4576a,_0x597222)=>{const _0x1cce46=_0x3736d6,_0x5dc553={'WOMjT':function(_0x526a73,_0x27bb5c){return _0x526a73(_0x27bb5c);}},_0x31f557=spawn(_0x228325[_0x1cce46(0x107)],_0x228325['args'],{'cwd':_0x850560[_0x1cce46(0x128)],'env':_0x211ba0,'stdio':[_0x3500f4['BNETl'],_0x3500f4['AlXLP'],'pipe']});let _0x11efbf='',_0x50d4d1='',_0x2a0afc=![];const _0x180338=_0x850560['timeoutMs']&&_0x3500f4['HAsnd'](_0x850560['timeoutMs'],0x0)?setTimeout(()=>{_0x2a0afc=!![],_0x31f557['kill'](_0x3500f4['vOWfQ']),setTimeout(()=>{const _0x1313b2=_0x1ab4;try{_0x31f557['kill'](_0x1313b2(0x129));}catch{}},0x3e8);},_0x850560['timeoutMs']):null;_0x31f557[_0x1cce46(0x12f)]?.['on'](_0x1cce46(0x11c),_0xeea676=>{const _0xa44eab=_0x1cce46;_0x11efbf+=_0xeea676[_0xa44eab(0x10e)]();}),_0x31f557['stderr']?.['on'](_0x3500f4[_0x1cce46(0x131)],_0x1bd789=>{_0x50d4d1+=_0x1bd789['toString']();}),_0x31f557['on']('error',_0x4cfd11=>{const _0x368362=_0x1cce46;if(_0x180338)clearTimeout(_0x180338);_0x5dc553[_0x368362(0x133)](_0x597222,_0x4cfd11);}),_0x31f557['on']('close',(_0x447226,_0x20f281)=>{const _0x5466c4=_0x1cce46;if(_0x180338)clearTimeout(_0x180338);if(_0x3500f4['lMoeu'](_0x447226,0x0)){_0xe4576a({'stdout':_0x11efbf,'stderr':_0x50d4d1,'invocation':_0x228325});return;}const _0x5e56f2=_0x2a0afc?_0x5466c4(0x11b)+_0x850560['timeoutMs']+'ms':'exited\x20with\x20code='+_0x3500f4[_0x5466c4(0x110)](_0x447226,_0x5466c4(0x108))+'\x20signal='+_0x3500f4[_0x5466c4(0x110)](_0x20f281,_0x5466c4(0x108));_0x597222(new Error('rangerwright-cli\x20'+_0x228325[_0x5466c4(0x120)]+'\x20'+_0x5e56f2+_0x5466c4(0x115)+truncateOutput(_0x11efbf)+_0x5466c4(0x10b)+_0x3500f4[_0x5466c4(0x127)](truncateOutput,_0x50d4d1)));});});}export function parseRangerwrightCliCommand(_0x8f643a){const _0x286192=_0x20df38,_0x2bf3ed=_0x8f643a[_0x286192(0x12b)](/(?:^|\s)(?:"[^"]*rangerwright(?:\/build\/cli\.js)?"|'[^']*rangerwright(?:\/build\/cli\.js)?'|\S*rangerwright(?:\/build\/cli\.js)?)(?:\s+--json)?\s+([a-z-]+)/);return _0x2bf3ed?.[0x1]??null;}
@@ -1 +1 @@
1
- (function(_0x4f3377,_0x46ea60){const _0x2428bb=_0x3e18,_0x39c414=_0x4f3377();while(!![]){try{const _0x159596=-parseInt(_0x2428bb(0x111))/0x1*(-parseInt(_0x2428bb(0x10c))/0x2)+-parseInt(_0x2428bb(0x10e))/0x3*(-parseInt(_0x2428bb(0x113))/0x4)+parseInt(_0x2428bb(0x13e))/0x5+-parseInt(_0x2428bb(0x112))/0x6+parseInt(_0x2428bb(0x115))/0x7+parseInt(_0x2428bb(0x12e))/0x8*(parseInt(_0x2428bb(0x11a))/0x9)+-parseInt(_0x2428bb(0x107))/0xa;if(_0x159596===_0x46ea60)break;else _0x39c414['push'](_0x39c414['shift']());}catch(_0x43b236){_0x39c414['push'](_0x39c414['shift']());}}}(_0x4e76,0x3878a));import{existsSync}from'fs';import _0x2465fc from'inquirer';import{ApiError,fetchAuthConfig,fetchCloudProfile,listCloudProfiles,resolveAdHocProfile,resolveCloudProfileSession}from'./cloudProfile.js';import{isInteractive,resolveAuthEnvironmentLocally}from'./cloudProfileSession.js';function _0x3e18(_0x7f15ac,_0x5c8f80){_0x7f15ac=_0x7f15ac-0x107;const _0x4e764c=_0x4e76();let _0x3e1881=_0x4e764c[_0x7f15ac];return _0x3e1881;}function _0x4e76(){const _0x311c6f=['cdpEndpoint','\x20\x20-\x20set\x20RANGER_TEST_USERNAME\x20(+\x20RANGER_TEST_PASSWORD)\x20to\x20materialize\x20one,\x20or\x0a','\x20\x20(pass\x20--profile\x20<name>\x20to\x20pin,\x20or\x20RANGER_TEST_USERNAME=...\x20to\x20materialize\x20a\x20new\x20one)','RANGER_SESSION_STATE_PATH','name','396410IqhBiq','startPath','geIBg','2957100AizRhR','url','YzDoi','\x22\x20not\x20found\x20locally\x20or\x20in\x20the\x20cloud.\x0a','ZyJfE','94326TSjVza','string','1070841YCLmoL','Cloud\x20profile\x20(recommended)','source','2laBlvz','2167452UgJuEl','4aABWiT','log','976472cYMMZI','length','profile','TobHl','domains','8217ovFdNk','env','MPZGm','aykcK','local','resolvedEnv','\x22\x20exists\x20both\x20locally\x20and\x20in\x20the\x20cloud.\x20Which\x20one\x20should\x20be\x20used?','`ranger\x20profile\x20add`\x20to\x20create\x20one.','ZYPuT','TtESc','cloud','fCgtX','WQHrK','\x22.\x20Run:\x20ranger\x20profile\x20config\x20set\x20','telemetry','\x20baseUrl\x20<url>','Profile\x20\x22','baseUrl','\x20does\x20not\x20exist.','RANGER_SESSION_STATE_PATH=','1912YMlpZS','Local\x20profile','\x20\x20-\x20run\x20`ranger\x20profile\x20use\x20<name>`\x20once,\x20or\x0a','envStartPath','pGZuJ','RANGER_TEST_USERNAME','\x20\x20-\x20pass\x20--profile\x20<name>\x20/\x20set\x20RANGER_PROFILE,\x20or\x0a','wvaRq','pHYdu','LjgGb','prompt'];_0x4e76=function(){return _0x311c6f;};return _0x4e76();}import{mergeCloudProfileSettings,readProfileOverrides}from'./projectsConfig.js';import{readUrlEnvVars,resolveProfileUrl}from'./resolveProfileUrl.js';import{getEnvDir,loadSettings,resolveEnvVars}from'./settings.js';import{readActiveProfileName}from'./activeProfile.js';export async function resolveProfileContext(_0x5632c6){const _0x4fcf45=_0x3e18,_0x688991={'aykcK':function(_0x4871e7){return _0x4871e7();},'MPZGm':function(_0x24a436){return _0x24a436();},'TobHl':function(_0x41fee6,_0x5c12cc){return _0x41fee6===_0x5c12cc;},'geIBg':function(_0x1ba8af,_0x24a81f){return _0x1ba8af+_0x24a81f;},'Ophph':'Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up.\x20Options:\x0a','GxBDt':_0x4fcf45(0x134),'YjYdi':_0x4fcf45(0x130),'eTcxU':'\x20\x20-\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20create\x20a\x20new\x20one.','ZYPuT':function(_0xdd2395,_0x57f4be){return _0xdd2395(_0x57f4be);},'fCgtX':function(_0x236daa,_0x1227cc){return _0x236daa(_0x1227cc);},'wvaRq':function(_0x3e4349,_0x5f5c26){return _0x3e4349===_0x5f5c26;},'WQHrK':function(_0x2496f9,_0x1cb1d0){return _0x2496f9&&_0x1cb1d0;},'LjgGb':_0x4fcf45(0x121),'RuyRs':'list','heHLc':_0x4fcf45(0x10f),'ZzJeh':_0x4fcf45(0x124),'pHYdu':_0x4fcf45(0x11e),'MVQtY':function(_0xeded6e){return _0xeded6e();},'doaQI':function(_0x5220b4,_0x3093dc){return _0x5220b4(_0x3093dc);},'AkGVv':function(_0x3beb1d,_0x4e9ea8){return _0x3beb1d(_0x4e9ea8);},'WWmOR':function(_0x1bbe00,_0x1e549b,_0x20b6df){return _0x1bbe00(_0x1e549b,_0x20b6df);},'uTrtZ':function(_0x17f280,_0x335d2c){return _0x17f280(_0x335d2c);},'YzDoi':function(_0x138b4d,_0x303fff){return _0x138b4d&&_0x303fff;}},_0x469dbe=_0x5632c6['profile'];let _0x550c53=_0x5632c6[_0x4fcf45(0x117)]??await _0x688991[_0x4fcf45(0x11d)](readActiveProfileName),_0x314baa=null;if(!_0x550c53&&process[_0x4fcf45(0x11b)][_0x4fcf45(0x133)]){const _0x2aaa7d=await _0x688991[_0x4fcf45(0x11c)](resolveAdHocProfile);_0x2aaa7d&&(_0x550c53=_0x2aaa7d[_0x4fcf45(0x13d)],_0x314baa=_0x2aaa7d['profile']);}if(!_0x550c53)try{const _0x39f403=await listCloudProfiles();if(_0x688991[_0x4fcf45(0x118)](_0x39f403[_0x4fcf45(0x116)],0x1)){const _0x105da4=_0x39f403[0x0];_0x550c53=_0x105da4['name'],console['log']('\x0aUsing\x20the\x20only\x20cloud\x20profile\x20for\x20your\x20org:\x20'+_0x105da4['name']),console[_0x4fcf45(0x114)](_0x4fcf45(0x13b));}}catch{}if(!_0x550c53)throw new Error(_0x688991[_0x4fcf45(0x140)](_0x688991['Ophph'],_0x4fcf45(0x13a))+_0x688991['GxBDt']+_0x688991['YjYdi']+_0x688991['eTcxU']);const _0x409dfc=_0x688991[_0x4fcf45(0x122)](getEnvDir,_0x550c53),_0x32f1ad=_0x688991[_0x4fcf45(0x122)](existsSync,_0x409dfc);let _0x3b250f=_0x314baa,_0x2a872e=![];if(!_0x3b250f)try{_0x3b250f=await _0x688991[_0x4fcf45(0x125)](fetchCloudProfile,_0x550c53);if(!_0x3b250f)_0x2a872e=!![];}catch(_0x21ffc2){_0x21ffc2 instanceof ApiError&&_0x688991[_0x4fcf45(0x135)](_0x21ffc2['status'],0x194)&&(_0x2a872e=!![]);}if(_0x688991['WQHrK'](_0x469dbe,_0x2a872e)&&!_0x32f1ad&&!_0x3b250f)throw new Error(_0x688991['geIBg'](_0x4fcf45(0x12a)+_0x469dbe+_0x4fcf45(0x10a),'\x20\x20Run\x20`ranger\x20profile\x20ls`\x20to\x20see\x20available\x20profiles,\x20or\x20')+_0x688991[_0x4fcf45(0x137)]);if(_0x688991[_0x4fcf45(0x126)](_0x3b250f,_0x32f1ad)){let _0x15a627=!![];if(isInteractive()){const {source:_0x30b31b}=await _0x2465fc[_0x4fcf45(0x138)]([{'type':_0x688991['RuyRs'],'name':_0x4fcf45(0x110),'message':_0x4fcf45(0x12a)+_0x550c53+_0x4fcf45(0x120),'choices':[{'name':_0x688991['heHLc'],'value':_0x688991['ZzJeh']},{'name':_0x4fcf45(0x12f),'value':_0x688991[_0x4fcf45(0x136)]}],'default':_0x4fcf45(0x124)}]);_0x15a627=_0x30b31b===_0x688991['ZzJeh'];}if(!_0x15a627)_0x3b250f=null;}const _0x5c0d60=readProfileOverrides(process['cwd'](),_0x550c53);let _0x1d61e1=null,_0x2b50c3,_0x21cc55,_0x26ff9f,_0x2e1536,_0x108ae4=null,_0x4bc819;const _0x4ae194=_0x688991[_0x4fcf45(0x125)](expandOverrides,_0x5c0d60),_0x551a2c=_0x688991['MPZGm'](readUrlEnvVars);if(_0x3b250f){_0x1d61e1=_0x3b250f;const _0x2aaa3d=_0x3b250f['settings']??{},_0x14193c=mergeCloudProfileSettings(_0x2aaa3d,_0x5c0d60??undefined),_0xd9a07={..._0x3b250f,'settings':_0x14193c};_0x108ae4={'baseUrl':expandString(_0x2aaa3d[_0x4fcf45(0x12b)]),'startPath':_0x688991[_0x4fcf45(0x125)](expandString,_0x2aaa3d[_0x4fcf45(0x13f)])};const _0x3e01f5=await _0x688991['MVQtY'](fetchAuthConfig),_0xd0e6c2=_0x3e01f5?resolveAuthEnvironmentLocally(_0x3e01f5,_0x3b250f['environmentKey']):null;_0x4bc819=_0xd0e6c2?.[_0x4fcf45(0x119)]?.[0x0];const _0x15e950=resolveProfileUrl({'flagBaseUrl':_0x5632c6['baseUrl'],'flagStartPath':_0x5632c6['startPath'],'envBaseUrl':_0x551a2c['envBaseUrl'],'envStartPath':_0x551a2c[_0x4fcf45(0x131)],'projectOverrides':_0x4ae194,'cloudSettings':_0x108ae4,'authEnvironmentDomain':_0x4bc819}),_0x32522f=process[_0x4fcf45(0x11b)][_0x4fcf45(0x13c)];if(_0x32522f){if(!_0x688991['doaQI'](existsSync,_0x32522f))throw new Error(_0x4fcf45(0x12d)+_0x32522f+_0x4fcf45(0x12c));_0x2b50c3=_0x32522f,_0x21cc55=_0x688991['ZYPuT'](resolveEnvVars,_0x14193c),_0x26ff9f=_0x688991['AkGVv'](Boolean,_0x21cc55['cdpEndpoint']);}else{const _0x27c02a=await _0x688991['WWmOR'](resolveCloudProfileSession,_0xd9a07,{'effectiveBaseUrl':_0x15e950['baseUrl'],'telemetry':_0x5632c6[_0x4fcf45(0x128)]});_0x2b50c3=_0x27c02a['authPath'],_0x21cc55=resolveEnvVars(_0x27c02a['settings']),_0x26ff9f=Boolean(_0x21cc55['cdpEndpoint']),_0x4bc819=_0x27c02a[_0x4fcf45(0x11f)]?.[_0x4fcf45(0x119)]?.[0x0];}}else{if(!_0x32f1ad)throw new Error('Profile\x20\x22'+_0x550c53+'\x22\x20not\x20found.\x20Run:\x20ranger\x20profile\x20add\x20'+_0x550c53);const _0x48498a=await _0x688991['uTrtZ'](loadSettings,_0x550c53);_0x21cc55=resolveEnvVars(_0x48498a),_0x26ff9f=Boolean(_0x21cc55[_0x4fcf45(0x139)]),_0x2e1536=_0x21cc55['baseUrl'];}const _0x3a9c88=resolveProfileUrl({'flagBaseUrl':_0x5632c6[_0x4fcf45(0x12b)],'flagStartPath':_0x5632c6[_0x4fcf45(0x13f)],'envBaseUrl':_0x551a2c['envBaseUrl'],'envStartPath':_0x551a2c[_0x4fcf45(0x131)],'localSettingsBaseUrl':_0x2e1536,'projectOverrides':_0x4ae194,'cloudSettings':_0x108ae4,'authEnvironmentDomain':_0x4bc819}),_0x1f66ab=_0x3a9c88[_0x4fcf45(0x108)]??_0x3a9c88['baseUrl'];if(_0x688991[_0x4fcf45(0x109)](!_0x1f66ab,!_0x26ff9f))throw new Error('No\x20baseUrl\x20configured\x20for\x20profile\x20\x22'+_0x550c53+_0x4fcf45(0x127)+_0x550c53+_0x4fcf45(0x129));return{'activeProfile':_0x550c53,'resolvedCloudProfile':_0x1d61e1,'cloudAuthPath':_0x2b50c3,'resolvedSettings':_0x21cc55,'isCdpMode':_0x26ff9f,'url':_0x1f66ab,'startPath':_0x3a9c88[_0x4fcf45(0x13f)]};}function expandString(_0x10038a){const _0x27d47e=_0x3e18,_0x45fb7d={'zhKgn':function(_0x3f8832,_0x4485f6){return _0x3f8832!==_0x4485f6;},'zyLzh':_0x27d47e(0x10d)};if(_0x45fb7d['zhKgn'](typeof _0x10038a,_0x45fb7d['zyLzh']))return _0x10038a;return resolveEnvVars(_0x10038a);}function expandOverrides(_0x534f16){const _0x321ba7=_0x3e18,_0x4c9e47={'pGZuJ':_0x321ba7(0x10d),'TtESc':function(_0x1e40ed,_0x5217fc){return _0x1e40ed(_0x5217fc);},'ZyJfE':function(_0x2c44cb,_0x4b27cd){return _0x2c44cb===_0x4b27cd;}};if(!_0x534f16)return _0x534f16;const _0x961422={..._0x534f16};return typeof _0x961422[_0x321ba7(0x12b)]===_0x4c9e47[_0x321ba7(0x132)]&&(_0x961422['baseUrl']=_0x4c9e47[_0x321ba7(0x123)](resolveEnvVars,_0x961422[_0x321ba7(0x12b)])),_0x4c9e47[_0x321ba7(0x10b)](typeof _0x961422['startPath'],_0x4c9e47['pGZuJ'])&&(_0x961422[_0x321ba7(0x13f)]=resolveEnvVars(_0x961422[_0x321ba7(0x13f)])),_0x961422;}
1
+ function _0x555c(){const _0x2f1d6d=['\x20\x20-\x20pass\x20--profile\x20<name>\x20/\x20set\x20RANGER_PROFILE,\x20or\x0a','baseUrl','317220dThtFE','404907dViwVU','envBaseUrl','name','cwd','LcKKv','JMpic','\x20\x20-\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20create\x20a\x20new\x20one.','url','cloud','string','startPath','Profile\x20\x22','RANGER_SESSION_STATE_PATH','\x20\x20Run\x20`ranger\x20profile\x20ls`\x20to\x20see\x20available\x20profiles,\x20or\x20','9pIwQVV','No\x20baseUrl\x20configured\x20for\x20profile\x20\x22','PXnHW','Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up.\x20Options:\x0a','profile','resolvedEnv','240785fXMuus','\x22.\x20Run:\x20ranger\x20profile\x20config\x20set\x20','source','DISKK','EBrOr','environmentKey','RANGER_SESSION_STATE_PATH=','Cloud\x20profile\x20(recommended)','telemetry','\x22\x20not\x20found.\x20Run:\x20ranger\x20profile\x20add\x20','8qVsMqx','Mejcv','ngFtj','ItiZI','log','length','NodMo','\x20\x20-\x20run\x20`ranger\x20profile\x20use\x20<name>`\x20once,\x20or\x0a','Local\x20profile','332804pgGRZC','hGGRM','cdpEndpoint','ivJft','envStartPath','380302yzhmjH','fKSUQ','status','TYffA','zGwlD','SkFxe','742238QvGSkg','UfPXS','zWRqU','\x22\x20exists\x20both\x20locally\x20and\x20in\x20the\x20cloud.\x20Which\x20one\x20should\x20be\x20used?','domains','3264410IfDgXR','36uBNBZe','settings'];_0x555c=function(){return _0x2f1d6d;};return _0x555c();}(function(_0x3e7b67,_0x15e14b){const _0x182a6a=_0x2807,_0x2afdc2=_0x3e7b67();while(!![]){try{const _0x407736=-parseInt(_0x182a6a(0x167))/0x1+-parseInt(_0x182a6a(0x157))/0x2+-parseInt(_0x182a6a(0x168))/0x3+parseInt(_0x182a6a(0x18f))/0x4+-parseInt(_0x182a6a(0x17c))/0x5*(-parseInt(_0x182a6a(0x163))/0x6)+parseInt(_0x182a6a(0x15d))/0x7*(parseInt(_0x182a6a(0x186))/0x8)+-parseInt(_0x182a6a(0x176))/0x9*(-parseInt(_0x182a6a(0x162))/0xa);if(_0x407736===_0x15e14b)break;else _0x2afdc2['push'](_0x2afdc2['shift']());}catch(_0x590a26){_0x2afdc2['push'](_0x2afdc2['shift']());}}}(_0x555c,0x279e6));import{existsSync}from'fs';import _0x2c2e87 from'inquirer';import{ApiError,fetchAuthConfig,fetchCloudProfile,listCloudProfiles,resolveAdHocProfile,resolveCloudProfileSession}from'./cloudProfile.js';import{isInteractive,resolveAuthEnvironmentLocally}from'./cloudProfileSession.js';import{mergeCloudProfileSettings,readProfileOverrides}from'./projectsConfig.js';import{readUrlEnvVars,resolveProfileUrl}from'./resolveProfileUrl.js';import{getEnvDir,loadSettings,resolveEnvVars}from'./settings.js';import{readActiveProfileName}from'./activeProfile.js';export async function resolveProfileContext(_0x1a680e){const _0xb6517e=_0x2807,_0x5825b4={'Mejcv':function(_0x5209f3){return _0x5209f3();},'zWRqU':function(_0x4a993c){return _0x4a993c();},'uhdtw':function(_0x41f7ae,_0x486d0c){return _0x41f7ae===_0x486d0c;},'PbuyC':function(_0x383262,_0x29dbcf){return _0x383262+_0x29dbcf;},'ItiZI':_0xb6517e(0x179),'GRpfW':_0xb6517e(0x165),'MFDPB':_0xb6517e(0x18d),'ppPVm':_0xb6517e(0x16e),'zGwlD':function(_0x500532,_0x478068){return _0x500532(_0x478068);},'YeTQn':function(_0x56d0d2,_0x17111e){return _0x56d0d2(_0x17111e);},'IoEha':function(_0x45d401,_0x45ec7d){return _0x45d401===_0x45ec7d;},'EGFjX':function(_0x48726a,_0x1e05c8){return _0x48726a&&_0x1e05c8;},'ivJft':function(_0x344c24,_0x19fc17){return _0x344c24+_0x19fc17;},'mdgjU':'`ranger\x20profile\x20add`\x20to\x20create\x20one.','iubOV':_0xb6517e(0x17e),'fKSUQ':_0xb6517e(0x170),'EBrOr':_0xb6517e(0x18e),'LcKKv':'local','JMpic':function(_0xae357f,_0x1f96a6){return _0xae357f===_0x1f96a6;},'PXnHW':function(_0x60caff,_0x4ab460,_0x41e753){return _0x60caff(_0x4ab460,_0x41e753);},'ozObz':function(_0x4eee00,_0x3226b0){return _0x4eee00(_0x3226b0);},'Lmwcw':function(_0x1d9966,_0x5b8011){return _0x1d9966??_0x5b8011;},'SkFxe':function(_0x15c4d3,_0x1a3039){return _0x15c4d3(_0x1a3039);},'UfPXS':function(_0x314bee,_0x1cd57d){return _0x314bee(_0x1cd57d);},'QAQKe':function(_0x38428f,_0x4682fe){return _0x38428f(_0x4682fe);},'hGGRM':function(_0x3222c9,_0x124945){return _0x3222c9(_0x124945);},'NodMo':function(_0x5d8fae,_0x436bc0){return _0x5d8fae(_0x436bc0);},'tUCiX':function(_0x1bb4a0,_0x1b72f9){return _0x1bb4a0(_0x1b72f9);},'pYACp':function(_0x49fc40,_0x55a26c){return _0x49fc40&&_0x55a26c;}},_0x465ede=_0x1a680e[_0xb6517e(0x17a)];let _0x591a4a=_0x1a680e[_0xb6517e(0x17a)]??await _0x5825b4[_0xb6517e(0x187)](readActiveProfileName),_0x5a8378=null;if(!_0x591a4a&&process['env']['RANGER_TEST_USERNAME']){const _0x4a185e=await resolveAdHocProfile();_0x4a185e&&(_0x591a4a=_0x4a185e[_0xb6517e(0x16a)],_0x5a8378=_0x4a185e[_0xb6517e(0x17a)]);}if(!_0x591a4a)try{const _0x310283=await _0x5825b4[_0xb6517e(0x15f)](listCloudProfiles);if(_0x5825b4['uhdtw'](_0x310283[_0xb6517e(0x18b)],0x1)){const _0x4a0887=_0x310283[0x0];_0x591a4a=_0x4a0887['name'],console['log']('\x0aUsing\x20the\x20only\x20cloud\x20profile\x20for\x20your\x20org:\x20'+_0x4a0887[_0xb6517e(0x16a)]),console[_0xb6517e(0x18a)]('\x20\x20(pass\x20--profile\x20<name>\x20to\x20pin,\x20or\x20RANGER_TEST_USERNAME=...\x20to\x20materialize\x20a\x20new\x20one)');}}catch{}if(!_0x591a4a)throw new Error(_0x5825b4['PbuyC'](_0x5825b4[_0xb6517e(0x189)]+'\x20\x20-\x20set\x20RANGER_TEST_USERNAME\x20(+\x20RANGER_TEST_PASSWORD)\x20to\x20materialize\x20one,\x20or\x0a',_0x5825b4['GRpfW'])+_0x5825b4['MFDPB']+_0x5825b4['ppPVm']);const _0x19e303=getEnvDir(_0x591a4a),_0x4b6251=_0x5825b4['zGwlD'](existsSync,_0x19e303);let _0x6322a=_0x5a8378,_0x525126=![];if(!_0x6322a)try{_0x6322a=await _0x5825b4['YeTQn'](fetchCloudProfile,_0x591a4a);if(!_0x6322a)_0x525126=!![];}catch(_0x1c6c62){_0x1c6c62 instanceof ApiError&&_0x5825b4['IoEha'](_0x1c6c62[_0xb6517e(0x159)],0x194)&&(_0x525126=!![]);}if(_0x5825b4['EGFjX'](_0x465ede,_0x525126)&&!_0x4b6251&&!_0x6322a)throw new Error(_0x5825b4[_0xb6517e(0x192)](_0xb6517e(0x173)+_0x465ede+'\x22\x20not\x20found\x20locally\x20or\x20in\x20the\x20cloud.\x0a'+_0xb6517e(0x175),_0x5825b4['mdgjU']));if(_0x6322a&&_0x4b6251){let _0x5d342c=!![];if(_0x5825b4['zWRqU'](isInteractive)){const {source:_0x1155c5}=await _0x2c2e87['prompt']([{'type':'list','name':_0x5825b4['iubOV'],'message':'Profile\x20\x22'+_0x591a4a+_0xb6517e(0x160),'choices':[{'name':_0xb6517e(0x183),'value':_0x5825b4[_0xb6517e(0x158)]},{'name':_0x5825b4[_0xb6517e(0x180)],'value':_0x5825b4[_0xb6517e(0x16c)]}],'default':_0xb6517e(0x170)}]);_0x5d342c=_0x5825b4[_0xb6517e(0x16d)](_0x1155c5,_0x5825b4[_0xb6517e(0x158)]);}if(!_0x5d342c)_0x6322a=null;}const _0x102e2e=_0x5825b4[_0xb6517e(0x178)](readProfileOverrides,process[_0xb6517e(0x16b)](),_0x591a4a);let _0x464deb=null,_0x3fbf07,_0x30d1a8,_0x291c70,_0x481347,_0x2aaecb=null,_0x5c80db;const _0x5bec18=_0x5825b4['ozObz'](expandOverrides,_0x102e2e),_0x12b8be=readUrlEnvVars();if(_0x6322a){_0x464deb=_0x6322a;const _0x2290a4=_0x6322a[_0xb6517e(0x164)]??{},_0x2e30ff=mergeCloudProfileSettings(_0x2290a4,_0x5825b4['Lmwcw'](_0x102e2e,undefined)),_0x31cbde={..._0x6322a,'settings':_0x2e30ff};_0x2aaecb={'baseUrl':_0x5825b4['SkFxe'](expandString,_0x2290a4['baseUrl']),'startPath':expandString(_0x2290a4[_0xb6517e(0x172)])};const _0x177cc3=await _0x5825b4['Mejcv'](fetchAuthConfig),_0x45ce89=_0x177cc3?resolveAuthEnvironmentLocally(_0x177cc3,_0x6322a[_0xb6517e(0x181)]):null;_0x5c80db=_0x45ce89?.[_0xb6517e(0x161)]?.[0x0];const _0x4db832=resolveProfileUrl({'flagBaseUrl':_0x1a680e[_0xb6517e(0x166)],'flagStartPath':_0x1a680e[_0xb6517e(0x172)],'envBaseUrl':_0x12b8be[_0xb6517e(0x169)],'envStartPath':_0x12b8be[_0xb6517e(0x156)],'projectOverrides':_0x5bec18,'cloudSettings':_0x2aaecb,'authEnvironmentDomain':_0x5c80db}),_0x2e6c50=process['env'][_0xb6517e(0x174)];if(_0x2e6c50){if(!_0x5825b4[_0xb6517e(0x15e)](existsSync,_0x2e6c50))throw new Error(_0xb6517e(0x182)+_0x2e6c50+'\x20does\x20not\x20exist.');_0x3fbf07=_0x2e6c50,_0x30d1a8=_0x5825b4['QAQKe'](resolveEnvVars,_0x2e30ff),_0x291c70=_0x5825b4[_0xb6517e(0x190)](Boolean,_0x30d1a8['cdpEndpoint']);}else{const _0x37a7bd=await resolveCloudProfileSession(_0x31cbde,{'effectiveBaseUrl':_0x4db832['baseUrl'],'telemetry':_0x1a680e[_0xb6517e(0x184)]});_0x3fbf07=_0x37a7bd['authPath'],_0x30d1a8=_0x5825b4['ozObz'](resolveEnvVars,_0x37a7bd['settings']),_0x291c70=Boolean(_0x30d1a8[_0xb6517e(0x191)]),_0x5c80db=_0x37a7bd[_0xb6517e(0x17b)]?.[_0xb6517e(0x161)]?.[0x0];}}else{if(!_0x4b6251)throw new Error(_0xb6517e(0x173)+_0x591a4a+_0xb6517e(0x185)+_0x591a4a);const _0x3f3b3d=await _0x5825b4[_0xb6517e(0x15c)](loadSettings,_0x591a4a);_0x30d1a8=_0x5825b4[_0xb6517e(0x15b)](resolveEnvVars,_0x3f3b3d),_0x291c70=_0x5825b4[_0xb6517e(0x18c)](Boolean,_0x30d1a8[_0xb6517e(0x191)]),_0x481347=_0x30d1a8[_0xb6517e(0x166)];}const _0x10ae95=_0x5825b4['tUCiX'](resolveProfileUrl,{'flagBaseUrl':_0x1a680e[_0xb6517e(0x166)],'flagStartPath':_0x1a680e['startPath'],'envBaseUrl':_0x12b8be['envBaseUrl'],'envStartPath':_0x12b8be[_0xb6517e(0x156)],'localSettingsBaseUrl':_0x481347,'projectOverrides':_0x5bec18,'cloudSettings':_0x2aaecb,'authEnvironmentDomain':_0x5c80db}),_0x43e9fe=_0x10ae95[_0xb6517e(0x16f)]??_0x10ae95['baseUrl'];if(_0x5825b4['pYACp'](!_0x43e9fe,!_0x291c70))throw new Error(_0xb6517e(0x177)+_0x591a4a+_0xb6517e(0x17d)+_0x591a4a+'\x20baseUrl\x20<url>');return{'activeProfile':_0x591a4a,'resolvedCloudProfile':_0x464deb,'cloudAuthPath':_0x3fbf07,'resolvedSettings':_0x30d1a8,'isCdpMode':_0x291c70,'url':_0x43e9fe,'startPath':_0x10ae95[_0xb6517e(0x172)]};}function expandString(_0x7e45b2){const _0x52e923=_0x2807,_0x377aa7={'TYffA':function(_0x4a5216,_0x42914d){return _0x4a5216!==_0x42914d;},'VWfQU':function(_0x20a466,_0x43d804){return _0x20a466(_0x43d804);}};if(_0x377aa7[_0x52e923(0x15a)](typeof _0x7e45b2,'string'))return _0x7e45b2;return _0x377aa7['VWfQU'](resolveEnvVars,_0x7e45b2);}function _0x2807(_0x417bf3,_0x196b15){_0x417bf3=_0x417bf3-0x156;const _0x555ced=_0x555c();let _0x280765=_0x555ced[_0x417bf3];return _0x280765;}function expandOverrides(_0x3366b5){const _0x4dad38=_0x2807,_0x7e0f3={'uPfHe':function(_0x5a6b30,_0x27e14c){return _0x5a6b30===_0x27e14c;},'DISKK':_0x4dad38(0x171),'ngFtj':function(_0x3a8d68,_0x3a97ff){return _0x3a8d68(_0x3a97ff);}};if(!_0x3366b5)return _0x3366b5;const _0x292686={..._0x3366b5};return _0x7e0f3['uPfHe'](typeof _0x292686[_0x4dad38(0x166)],_0x4dad38(0x171))&&(_0x292686[_0x4dad38(0x166)]=resolveEnvVars(_0x292686['baseUrl'])),typeof _0x292686[_0x4dad38(0x172)]===_0x7e0f3[_0x4dad38(0x17f)]&&(_0x292686[_0x4dad38(0x172)]=_0x7e0f3[_0x4dad38(0x188)](resolveEnvVars,_0x292686['startPath'])),_0x292686;}
@@ -1 +1 @@
1
- const _0xa86bb8=_0x2b93;(function(_0x29f40b,_0x1d1a4d){const _0x4bc609=_0x2b93,_0x3b1f75=_0x29f40b();while(!![]){try{const _0x6a19e0=-parseInt(_0x4bc609(0x135))/0x1*(parseInt(_0x4bc609(0x12e))/0x2)+-parseInt(_0x4bc609(0x13f))/0x3*(parseInt(_0x4bc609(0x131))/0x4)+parseInt(_0x4bc609(0x138))/0x5+parseInt(_0x4bc609(0x139))/0x6*(-parseInt(_0x4bc609(0x136))/0x7)+parseInt(_0x4bc609(0x13d))/0x8*(-parseInt(_0x4bc609(0x129))/0x9)+parseInt(_0x4bc609(0x13c))/0xa*(parseInt(_0x4bc609(0x137))/0xb)+parseInt(_0x4bc609(0x13e))/0xc;if(_0x6a19e0===_0x1d1a4d)break;else _0x3b1f75['push'](_0x3b1f75['shift']());}catch(_0x55bfea){_0x3b1f75['push'](_0x3b1f75['shift']());}}}(_0x486d,0x38df0));function firstDefined(..._0x30a625){const _0x5055d={'LzrqR':function(_0x166cae,_0x547abb){return _0x166cae!==_0x547abb;},'WRoTk':function(_0x112bec,_0x18a183){return _0x112bec!==_0x18a183;}};for(const _0x1381ff of _0x30a625){if(_0x5055d['LzrqR'](_0x1381ff,undefined)&&_0x5055d['LzrqR'](_0x1381ff,null)&&_0x5055d['WRoTk'](_0x1381ff,''))return _0x1381ff;}return undefined;}function _0x486d(){const _0x5a1a2d=['2220rePgMj','48kfnqDZ','5381376zZqBNB','430932ohSVGQ','477837SCbYLH','SSCJP','test','endsWith','RANGER_START_PATH','204052oOifJU','startPath','RANGER_BASE_URL','4nWAFSb','WvoHh','cloudSettings','startsWith','4VcEJjR','7CrewlJ','19679LnTlCB','1380225rFZcMo','110406bOcNUD','env','projectOverrides'];_0x486d=function(){return _0x5a1a2d;};return _0x486d();}function normalizeAuthEnvironmentDomain(_0x1a36de){const _0x3f7338=_0x2b93;if(!_0x1a36de)return undefined;if(/^[a-z][a-z0-9+.-]*:\/\//i[_0x3f7338(0x12b)](_0x1a36de))return _0x1a36de;return'https://'+_0x1a36de;}export function resolveBaseUrl(_0x391849){const _0x2c43f2=_0x2b93,_0xba971b={'CxGFP':function(_0x3c5b76,_0x343b50){return _0x3c5b76 in _0x343b50;},'aZuza':function(_0x7eb659,_0x12ee39){return _0x7eb659===_0x12ee39;},'SSCJP':'string','gmebt':function(_0x5d57f4,_0x37936f){return _0x5d57f4(_0x37936f);}},_0x297686=_0x391849['projectOverrides'],_0x4def3c=!!_0x297686&&_0xba971b['CxGFP']('baseUrl',_0x297686),_0x6c01b5=_0x297686?.['baseUrl'],_0x2054ad=!(_0x4def3c&&_0xba971b['aZuza'](_0x6c01b5,null));return firstDefined(_0x391849['flagBaseUrl'],_0x391849['envBaseUrl'],_0x391849['localSettingsBaseUrl'],typeof _0x6c01b5===_0xba971b[_0x2c43f2(0x12a)]?_0x6c01b5:undefined,_0x2054ad?_0x391849[_0x2c43f2(0x133)]?.['baseUrl']:undefined,_0x2054ad?_0xba971b['gmebt'](normalizeAuthEnvironmentDomain,_0x391849['authEnvironmentDomain']):undefined);}function _0x2b93(_0x294b95,_0x79dfb8){_0x294b95=_0x294b95-0x129;const _0x486d22=_0x486d();let _0x2b93b2=_0x486d22[_0x294b95];return _0x2b93b2;}export function resolveStartPath(_0x405354){const _0xf92b3c=_0x2b93,_0x2d863a={'WvoHh':function(_0x384883,_0x1167d3,_0x19d1a1,_0x13df17,_0x51548d){return _0x384883(_0x1167d3,_0x19d1a1,_0x13df17,_0x51548d);},'zuumC':'string'},_0x3a71f1=_0x405354[_0xf92b3c(0x13b)],_0x31dcc2=!!_0x3a71f1&&'startPath'in _0x3a71f1,_0x3fcc6d=_0x3a71f1?.[_0xf92b3c(0x12f)],_0x53177d=!(_0x31dcc2&&_0x3fcc6d===null);return _0x2d863a[_0xf92b3c(0x132)](firstDefined,_0x405354['flagStartPath'],_0x405354['envStartPath'],typeof _0x3fcc6d===_0x2d863a['zuumC']?_0x3fcc6d:undefined,_0x53177d?_0x405354[_0xf92b3c(0x133)]?.['startPath']:undefined);}export function joinBaseAndPath(_0x2e4199,_0x5ab40b){const _0x4f3bba=_0x2b93;if(!_0x2e4199)return undefined;if(!_0x5ab40b)return _0x2e4199;const _0x3731a1=_0x2e4199[_0x4f3bba(0x12c)]('/')?_0x2e4199['slice'](0x0,-0x1):_0x2e4199,_0x44b7b1=_0x5ab40b[_0x4f3bba(0x134)]('/')?_0x5ab40b:'/'+_0x5ab40b;return _0x3731a1+_0x44b7b1;}export function resolveProfileUrl(_0x31aee4){const _0x5a97a8={'MQCsm':function(_0x2d1784,_0x482387){return _0x2d1784(_0x482387);}},_0x3b3727=resolveBaseUrl(_0x31aee4),_0x391e24=_0x5a97a8['MQCsm'](resolveStartPath,_0x31aee4);return{'baseUrl':_0x3b3727,'startPath':_0x391e24,'url':joinBaseAndPath(_0x3b3727,_0x391e24)};}export function readUrlEnvVars(_0x5b8b3f=process[_0xa86bb8(0x13a)]){const _0x350cc7=_0xa86bb8;return{'envBaseUrl':_0x5b8b3f[_0x350cc7(0x130)],'envStartPath':_0x5b8b3f[_0x350cc7(0x12d)]};}
1
+ (function(_0x34537d,_0x3c9b58){const _0x4cd74c=_0x493b,_0x2acd6f=_0x34537d();while(!![]){try{const _0x54295a=-parseInt(_0x4cd74c(0x142))/0x1+-parseInt(_0x4cd74c(0x143))/0x2*(parseInt(_0x4cd74c(0x144))/0x3)+parseInt(_0x4cd74c(0x147))/0x4*(-parseInt(_0x4cd74c(0x13c))/0x5)+parseInt(_0x4cd74c(0x145))/0x6+parseInt(_0x4cd74c(0x137))/0x7+parseInt(_0x4cd74c(0x138))/0x8*(-parseInt(_0x4cd74c(0x14a))/0x9)+parseInt(_0x4cd74c(0x13d))/0xa;if(_0x54295a===_0x3c9b58)break;else _0x2acd6f['push'](_0x2acd6f['shift']());}catch(_0x567652){_0x2acd6f['push'](_0x2acd6f['shift']());}}}(_0x4acb,0x34e5f));function firstDefined(..._0x59b8d3){const _0x315b96={'smkuv':function(_0x23454f,_0x2f833d){return _0x23454f!==_0x2f833d;}};for(const _0x2409ec of _0x59b8d3){if(_0x2409ec!==undefined&&_0x2409ec!==null&&_0x315b96['smkuv'](_0x2409ec,''))return _0x2409ec;}return undefined;}function normalizeAuthEnvironmentDomain(_0x32f92e){const _0x376d41=_0x493b;if(!_0x32f92e)return undefined;if(/^[a-z][a-z0-9+.-]*:\/\//i[_0x376d41(0x135)](_0x32f92e))return _0x32f92e;return'https://'+_0x32f92e;}export function resolveBaseUrl(_0xb8066c){const _0x317d2f=_0x493b,_0x4316e5={'UnJvK':'baseUrl','BELWZ':function(_0x153a54,_0x2a4264){return _0x153a54===_0x2a4264;},'qjhWi':_0x317d2f(0x14b),'VMxKL':function(_0x197304,_0xf263cb){return _0x197304(_0xf263cb);}},_0x3e476a=_0xb8066c[_0x317d2f(0x136)],_0x40857d=!!_0x3e476a&&_0x4316e5[_0x317d2f(0x149)]in _0x3e476a,_0x364e21=_0x3e476a?.[_0x317d2f(0x13e)],_0x22a5c8=!(_0x40857d&&_0x364e21===null);return firstDefined(_0xb8066c[_0x317d2f(0x14d)],_0xb8066c[_0x317d2f(0x148)],_0xb8066c[_0x317d2f(0x14c)],_0x4316e5['BELWZ'](typeof _0x364e21,_0x4316e5['qjhWi'])?_0x364e21:undefined,_0x22a5c8?_0xb8066c[_0x317d2f(0x146)]?.['baseUrl']:undefined,_0x22a5c8?_0x4316e5['VMxKL'](normalizeAuthEnvironmentDomain,_0xb8066c['authEnvironmentDomain']):undefined);}export function resolveStartPath(_0x5e648d){const _0x4b785c=_0x493b,_0x1fc45e={'wonFh':function(_0x3ea0b7,_0x11e810){return _0x3ea0b7 in _0x11e810;},'acxQw':function(_0x4a0052,_0x314448,_0x225fe9,_0x3ef5e9,_0x465e9f){return _0x4a0052(_0x314448,_0x225fe9,_0x3ef5e9,_0x465e9f);},'XlaqM':function(_0x329b7b,_0x17c2a8){return _0x329b7b===_0x17c2a8;}},_0x54be97=_0x5e648d[_0x4b785c(0x136)],_0x5ecaf9=!!_0x54be97&&_0x1fc45e['wonFh'](_0x4b785c(0x13b),_0x54be97),_0x22dc41=_0x54be97?.[_0x4b785c(0x13b)],_0x5d3c95=!(_0x5ecaf9&&_0x22dc41===null);return _0x1fc45e['acxQw'](firstDefined,_0x5e648d[_0x4b785c(0x141)],_0x5e648d['envStartPath'],_0x1fc45e['XlaqM'](typeof _0x22dc41,_0x4b785c(0x14b))?_0x22dc41:undefined,_0x5d3c95?_0x5e648d[_0x4b785c(0x146)]?.['startPath']:undefined);}export function joinBaseAndPath(_0x39af67,_0x15f80a){const _0x2e5405=_0x493b;if(!_0x39af67)return undefined;if(!_0x15f80a)return _0x39af67;const _0x466b9c=_0x39af67['endsWith']('/')?_0x39af67[_0x2e5405(0x13a)](0x0,-0x1):_0x39af67,_0x484e2f=_0x15f80a['startsWith']('/')?_0x15f80a:'/'+_0x15f80a;return _0x466b9c+_0x484e2f;}export function resolveProfileUrl(_0x381c37){const _0x3d78d4=_0x493b,_0x32d76f={'BtJUT':function(_0x537819,_0x4dc0ec){return _0x537819(_0x4dc0ec);},'xIUmG':function(_0x512eea,_0x43a56a){return _0x512eea(_0x43a56a);}},_0x398de4=_0x32d76f[_0x3d78d4(0x13f)](resolveBaseUrl,_0x381c37),_0x1a1e6d=_0x32d76f['xIUmG'](resolveStartPath,_0x381c37);return{'baseUrl':_0x398de4,'startPath':_0x1a1e6d,'url':joinBaseAndPath(_0x398de4,_0x1a1e6d)};}function _0x4acb(){const _0x44752e=['12sDKlxO','88047MlvIRt','773898GTnOOk','cloudSettings','1314592tHcUvG','envBaseUrl','UnJvK','1876500oZcUzf','string','localSettingsBaseUrl','flagBaseUrl','test','projectOverrides','2798187rMXmbg','16eANfso','RANGER_BASE_URL','slice','startPath','5ZmXuvg','8470280qaRSrM','baseUrl','BtJUT','RANGER_START_PATH','flagStartPath','237339RIjdkF'];_0x4acb=function(){return _0x44752e;};return _0x4acb();}function _0x493b(_0x305c78,_0x3b1c7f){_0x305c78=_0x305c78-0x135;const _0x4acb59=_0x4acb();let _0x493bdc=_0x4acb59[_0x305c78];return _0x493bdc;}export function readUrlEnvVars(_0x4d8fb1=process['env']){const _0x2934d8=_0x493b;return{'envBaseUrl':_0x4d8fb1[_0x2934d8(0x139)],'envStartPath':_0x4d8fb1[_0x2934d8(0x140)]};}
@@ -1 +1 @@
1
- function _0x1968(){const _0x5ffc0b=['error','54836ZnMCUw','baseDelayMs','Szomp','4023207QuiPdJ','1950865qogCHA','255002wXFYuy','4724528ijhRCt','12jMrlAw','ms...','pGaEE','label','1909852UGMHjv','373708xYPWfr','\x20failed\x20(attempt\x20','12CTrLMI','maxRetries'];_0x1968=function(){return _0x5ffc0b;};return _0x1968();}(function(_0x43d727,_0x4c6a1e){const _0x3d8844=_0x3967,_0x12e836=_0x43d727();while(!![]){try{const _0xc0ae24=parseInt(_0x3d8844(0x8a))/0x1+-parseInt(_0x3d8844(0x94))/0x2+parseInt(_0x3d8844(0x8c))/0x3*(parseInt(_0x3d8844(0x8f))/0x4)+-parseInt(_0x3d8844(0x93))/0x5+-parseInt(_0x3d8844(0x96))/0x6*(-parseInt(_0x3d8844(0x89))/0x7)+-parseInt(_0x3d8844(0x95))/0x8+parseInt(_0x3d8844(0x92))/0x9;if(_0xc0ae24===_0x4c6a1e)break;else _0x12e836['push'](_0x12e836['shift']());}catch(_0x3b8896){_0x12e836['push'](_0x12e836['shift']());}}}(_0x1968,0x4c6a7));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x3967(_0xf7cc55,_0x3e3ab1){_0xf7cc55=_0xf7cc55-0x87;const _0x196842=_0x1968();let _0x39673f=_0x196842[_0xf7cc55];return _0x39673f;}export async function withRetry(_0x33d54a,_0x3d4b40){const _0x34b1ed=_0x3967,_0x312bf1={'pGaEE':function(_0x240fb4,_0x4053ff){return _0x240fb4(_0x4053ff);},'Szomp':function(_0x3e956e,_0x11bb2c){return _0x3e956e+_0x11bb2c;}},_0x1ff87d=_0x3d4b40?.[_0x34b1ed(0x8d)]??DEFAULT_MAX_RETRIES,_0x22d51e=_0x3d4b40?.[_0x34b1ed(0x90)]??DEFAULT_BASE_DELAY_MS;let _0x2504ac;for(let _0x3e5c8e=0x0;_0x3e5c8e<=_0x1ff87d;_0x3e5c8e++){try{return await _0x33d54a();}catch(_0x26db13){_0x2504ac=_0x26db13 instanceof Error?_0x26db13:new Error(_0x312bf1[_0x34b1ed(0x87)](String,_0x26db13));if(_0x3e5c8e<_0x1ff87d){const _0x49a865=_0x22d51e*Math['pow'](0x2,_0x3e5c8e);_0x3d4b40?.['label']&&console[_0x34b1ed(0x8e)](_0x3d4b40[_0x34b1ed(0x88)]+_0x34b1ed(0x8b)+_0x312bf1[_0x34b1ed(0x91)](_0x3e5c8e,0x1)+'/'+_0x312bf1['Szomp'](_0x1ff87d,0x1)+'),\x20retrying\x20in\x20'+_0x49a865+_0x34b1ed(0x97)),await new Promise(_0x5502f1=>setTimeout(_0x5502f1,_0x49a865));}}}throw _0x2504ac;}
1
+ (function(_0x33bd1e,_0x3ddb7b){const _0x50d4b8=_0x2da9,_0x5bd0ea=_0x33bd1e();while(!![]){try{const _0x2444e9=-parseInt(_0x50d4b8(0x1a1))/0x1*(-parseInt(_0x50d4b8(0x1ac))/0x2)+parseInt(_0x50d4b8(0x1a2))/0x3*(-parseInt(_0x50d4b8(0x1a3))/0x4)+-parseInt(_0x50d4b8(0x1ad))/0x5*(-parseInt(_0x50d4b8(0x1a7))/0x6)+-parseInt(_0x50d4b8(0x1a6))/0x7+parseInt(_0x50d4b8(0x1a5))/0x8+-parseInt(_0x50d4b8(0x1a4))/0x9*(parseInt(_0x50d4b8(0x1a8))/0xa)+-parseInt(_0x50d4b8(0x1ab))/0xb*(-parseInt(_0x50d4b8(0x1a9))/0xc);if(_0x2444e9===_0x3ddb7b)break;else _0x5bd0ea['push'](_0x5bd0ea['shift']());}catch(_0x4eee67){_0x5bd0ea['push'](_0x5bd0ea['shift']());}}}(_0x82c9,0x27b5d));function _0x82c9(){const _0x337e14=['error','33oMqBOl','10FluZhI','2570qZcHEn','),\x20retrying\x20in\x20','26669NxelYi','90mjOmsE','27836TfFfSt','480582rnrSfS','1247496YpNvgV','1167670ajubbz','1386EUFXEC','10CGHXNA','734460ENKhMo'];_0x82c9=function(){return _0x337e14;};return _0x82c9();}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x2da9(_0x3b9703,_0x5cc550){_0x3b9703=_0x3b9703-0x1a0;const _0x82c9ba=_0x82c9();let _0x2da9fc=_0x82c9ba[_0x3b9703];return _0x2da9fc;}export async function withRetry(_0xd0db3f,_0x4a0e8a){const _0xa4525d=_0x2da9,_0x37172b={'HuWHP':function(_0x1804e5,_0x291421){return _0x1804e5*_0x291421;},'EUEXm':function(_0x546cca,_0x1ac8ae){return _0x546cca+_0x1ac8ae;}},_0x6e97c=_0x4a0e8a?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x48782b=_0x4a0e8a?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x12d2af;for(let _0x320edd=0x0;_0x320edd<=_0x6e97c;_0x320edd++){try{return await _0xd0db3f();}catch(_0x443003){_0x12d2af=_0x443003 instanceof Error?_0x443003:new Error(String(_0x443003));if(_0x320edd<_0x6e97c){const _0x3f3c6b=_0x37172b['HuWHP'](_0x48782b,Math['pow'](0x2,_0x320edd));_0x4a0e8a?.['label']&&console[_0xa4525d(0x1aa)](_0x4a0e8a['label']+'\x20failed\x20(attempt\x20'+_0x37172b['EUEXm'](_0x320edd,0x1)+'/'+(_0x6e97c+0x1)+_0xa4525d(0x1a0)+_0x3f3c6b+'ms...'),await new Promise(_0x43f691=>setTimeout(_0x43f691,_0x3f3c6b));}}}throw _0x12d2af;}
@@ -1 +1 @@
1
- function _0x35ac(_0x38b2e9,_0x31116f){_0x38b2e9=_0x38b2e9-0xd4;const _0x1127dc=_0x1127();let _0x35acc4=_0x1127dc[_0x38b2e9];return _0x35acc4;}const _0x52cf63=_0x35ac;(function(_0x2e029f,_0x546f21){const _0x8847c7=_0x35ac,_0xab5c9a=_0x2e029f();while(!![]){try{const _0x1f44d5=parseInt(_0x8847c7(0x102))/0x1+parseInt(_0x8847c7(0xdf))/0x2*(parseInt(_0x8847c7(0xfd))/0x3)+parseInt(_0x8847c7(0xf8))/0x4*(-parseInt(_0x8847c7(0xd4))/0x5)+-parseInt(_0x8847c7(0xf9))/0x6+parseInt(_0x8847c7(0x100))/0x7*(-parseInt(_0x8847c7(0x105))/0x8)+-parseInt(_0x8847c7(0xe6))/0x9+parseInt(_0x8847c7(0xfc))/0xa;if(_0x1f44d5===_0x546f21)break;else _0xab5c9a['push'](_0xab5c9a['shift']());}catch(_0x58ab42){_0xab5c9a['push'](_0xab5c9a['shift']());}}}(_0x1127,0x3e5b4));import*as _0x29a1dd from'fs';import*as _0x1ff4e3 from'path';import*as _0x23bf79 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x1ff4e3[_0x52cf63(0xe4)](_0x23bf79['homedir'](),'.claude',_0x52cf63(0xd8));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function _0x1127(){const _0x2d62aa=['main','.ranger_cache.json','HEAD','gVsVn','VBunH','now','JvSzM','writeFileSync','6814zzTOKl','PALPB','JoNHq','GpPba','lastStopReminderAt','join','TVaNe','3145293tJdbda','KQGqs','featureId','master','prompted','trim','stringify','registeredAt','yOOYH','lastPlanReminderAt','xODhY','sessions','PSQFO','AdrLH','lastEnabledSessionClearedAt','pipe','parse','dirname','774792uBnmOK','628098HXAJyH','veLYn','AiRcw','4378810zmxbzO','312ecCCSP','enabled','fBiOn','94423gEgdSc','currentBranch','399182gJBwOZ','kpsHZ','BqHpo','56fbTZfm','utf-8','ZqmSy','branches','10hZsVhb','WMNQe','SgKnk'];_0x1127=function(){return _0x2d62aa;};return _0x1127();}function loadCache(){const _0x4eae9f=_0x52cf63,_0x1d36e8={'efUgL':function(_0x54b7bf){return _0x54b7bf();}};try{if(_0x29a1dd['existsSync'](CACHE_FILE)){const _0x9f4900=JSON[_0x4eae9f(0xf6)](_0x29a1dd['readFileSync'](CACHE_FILE,'utf-8'));return{'version':0x3,'sessions':_0x9f4900['sessions']||{},'branches':_0x9f4900[_0x4eae9f(0x108)]||{},'lastEnabledSessionClearedAt':_0x9f4900['lastEnabledSessionClearedAt']};}}catch{}return _0x1d36e8['efUgL'](createEmptyCache);}function saveCache(_0x3f0524){const _0x3878d8=_0x52cf63;try{const _0x7c8bbe=_0x1ff4e3[_0x3878d8(0xf7)](CACHE_FILE);!_0x29a1dd['existsSync'](_0x7c8bbe)&&_0x29a1dd['mkdirSync'](_0x7c8bbe,{'recursive':!![]}),_0x29a1dd[_0x3878d8(0xde)](CACHE_FILE,JSON[_0x3878d8(0xec)](_0x3f0524,null,0x2));}catch{}}export function getCurrentBranch(){const _0x39ac77=_0x52cf63,_0x2f3f87={'BeKdd':_0x39ac77(0x106),'yMjjl':_0x39ac77(0xf5),'UYOUZ':_0x39ac77(0xd9)};try{const _0x4afc38=execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x2f3f87['BeKdd'],'stdio':[_0x39ac77(0xf5),_0x39ac77(0xf5),_0x2f3f87['yMjjl']]})[_0x39ac77(0xeb)]();if(!_0x4afc38||_0x4afc38===_0x2f3f87['UYOUZ'])return null;return _0x4afc38;}catch{return null;}}export function enableBranch(_0x337726){const _0x36b281=_0x52cf63,_0x41dae9={'AlYcu':function(_0x3a99c2){return _0x3a99c2();},'PSQFO':function(_0x23754e,_0x526fd3){return _0x23754e(_0x526fd3);}},_0x1ae6ab=_0x41dae9['AlYcu'](loadCache);_0x1ae6ab[_0x36b281(0x108)][_0x337726]=!![],_0x41dae9[_0x36b281(0xf2)](saveCache,_0x1ae6ab);}export function disableBranch(_0x479162){const _0x43e9c0=loadCache();delete _0x43e9c0['branches'][_0x479162],saveCache(_0x43e9c0);}export function isBranchEnabled(_0xff6492){const _0xb36a88=_0x52cf63,_0x2d4261={'dTfUZ':function(_0x1ceefa){return _0x1ceefa();},'BejXK':function(_0x11e57f,_0x296493){return _0x11e57f===_0x296493;}},_0x2ea6ff=_0x2d4261['dTfUZ'](loadCache);return _0x2d4261['BejXK'](_0x2ea6ff[_0xb36a88(0x108)][_0xff6492],!![]);}function getOrCreateSession(_0x26b09f,_0x19e153){const _0x136d2b=_0x52cf63;return!_0x26b09f[_0x136d2b(0xf1)][_0x19e153]&&(_0x26b09f[_0x136d2b(0xf1)][_0x19e153]={}),_0x26b09f[_0x136d2b(0xf1)][_0x19e153];}export function enableSession(_0x499f0e){const _0x1e875c=_0x52cf63,_0x257044={'MlGac':function(_0x578955){return _0x578955();},'xODhY':function(_0x468b3d,_0x52357e,_0x25ebdf){return _0x468b3d(_0x52357e,_0x25ebdf);}},_0x585164=_0x257044['MlGac'](loadCache),_0x375ca8=_0x257044[_0x1e875c(0xf0)](getOrCreateSession,_0x585164,_0x499f0e);_0x375ca8['enabled']=!![];const _0x469692=_0x257044['MlGac'](getCurrentBranch);_0x469692&&_0x469692!==_0x1e875c(0xd7)&&_0x469692!==_0x1e875c(0xe9)&&(_0x585164[_0x1e875c(0x108)][_0x469692]=!![],_0x375ca8[_0x1e875c(0x101)]=_0x469692),saveCache(_0x585164);}export function isSessionEnabled(_0x537525){const _0x59e622=_0x52cf63,_0x3acc02={'pURQB':'master','AiRcw':function(_0x5a4327,_0x37dc02){return _0x5a4327===_0x37dc02;}},_0x3d0466=loadCache(),_0x2ee599=getCurrentBranch();if(!_0x2ee599||_0x2ee599==='main'||_0x2ee599===_0x3acc02['pURQB'])return _0x3acc02[_0x59e622(0xfb)](_0x3d0466[_0x59e622(0xf1)][_0x537525]?.[_0x59e622(0xfe)],!![]);const _0x1e98d4=_0x3d0466['branches'][_0x2ee599]===!![],_0x1bfa4c=_0x3acc02[_0x59e622(0xfb)](_0x3d0466[_0x59e622(0xf1)][_0x537525]?.[_0x59e622(0xfe)],!![]);return _0x1e98d4||_0x1bfa4c;}export function disableSession(_0x21d04e){const _0x4f8c12=_0x52cf63,_0x4ff298={'WMNQe':function(_0x723616){return _0x723616();},'GpPba':function(_0x343a29,_0x2eed52){return _0x343a29(_0x2eed52);}},_0x31048f=_0x4ff298[_0x4f8c12(0xd5)](loadCache),_0x2c1415=getOrCreateSession(_0x31048f,_0x21d04e);_0x2c1415[_0x4f8c12(0xfe)]=![],_0x4ff298[_0x4f8c12(0xe2)](saveCache,_0x31048f);}export function updateBranchTracking(_0x1d6b7a){const _0x59f183=_0x52cf63,_0x1f1d36={'Szqky':function(_0x318ef6){return _0x318ef6();},'DRsvX':function(_0x30edb6){return _0x30edb6();},'yOOYH':function(_0x5811bc,_0x23357e){return _0x5811bc===_0x23357e;},'Hpktl':function(_0x195608,_0x306dc7){return _0x195608!==_0x306dc7;},'QAbMO':function(_0x7a80a3,_0x1e33f1){return _0x7a80a3(_0x1e33f1);}},_0x13b27d=_0x1f1d36['Szqky'](loadCache),_0x406949=_0x13b27d[_0x59f183(0xf1)][_0x1d6b7a];if(!_0x406949?.['enabled'])return;const _0x24848f=_0x1f1d36['DRsvX'](getCurrentBranch);if(!_0x24848f||_0x1f1d36['yOOYH'](_0x24848f,_0x59f183(0xd7))||_0x1f1d36[_0x59f183(0xee)](_0x24848f,_0x59f183(0xe9)))return;_0x1f1d36['Hpktl'](_0x406949['currentBranch'],_0x24848f)&&(_0x13b27d[_0x59f183(0x108)][_0x24848f]=!![],_0x406949['currentBranch']=_0x24848f,_0x1f1d36['QAbMO'](saveCache,_0x13b27d));}export function initBranchTracking(_0x7bf3a9){const _0x27870e=_0x52cf63,_0x36c9f3={'KQGqs':function(_0x2c8bf5){return _0x2c8bf5();},'rwUBW':function(_0x1d3bda,_0xce8654){return _0x1d3bda===_0xce8654;},'QBrsq':_0x27870e(0xd7),'gVsVn':'master','BqHpo':function(_0x234186,_0x59d614,_0x2f754b){return _0x234186(_0x59d614,_0x2f754b);},'gQkLv':function(_0x32175b,_0x2b7c81){return _0x32175b(_0x2b7c81);}},_0x12fa13=loadCache(),_0x25a7a0=_0x36c9f3[_0x27870e(0xe7)](getCurrentBranch);if(!_0x25a7a0||_0x36c9f3['rwUBW'](_0x25a7a0,_0x36c9f3['QBrsq'])||_0x25a7a0===_0x36c9f3[_0x27870e(0xda)])return;if(_0x36c9f3['rwUBW'](_0x12fa13['branches'][_0x25a7a0],!![])){const _0x3cb0d7=_0x36c9f3[_0x27870e(0x104)](getOrCreateSession,_0x12fa13,_0x7bf3a9);_0x3cb0d7['enabled']=!![],_0x3cb0d7[_0x27870e(0x101)]=_0x25a7a0,_0x36c9f3['gQkLv'](saveCache,_0x12fa13);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x332981){const _0x2db52c=_0x52cf63,_0x28c85b={'fBiOn':function(_0x41effd,_0x67f900){return _0x41effd(_0x67f900);}},_0x3f9c44=loadCache(),_0x20f922=_0x3f9c44[_0x2db52c(0xf1)][_0x332981];_0x20f922?.['enabled']&&(_0x3f9c44['lastEnabledSessionClearedAt']=Date[_0x2db52c(0xdc)](),_0x28c85b[_0x2db52c(0xff)](saveCache,_0x3f9c44));}export function shouldAutoEnableAfterClear(_0x288faf){const _0x238c02=_0x52cf63,_0xa2b10c={'kpsHZ':function(_0x144c89,_0x371089){return _0x144c89!==_0x371089;},'AUBgC':'clear','IFADf':function(_0xa75e06){return _0xa75e06();},'JvSzM':function(_0xdcb5ee,_0x597d8b){return _0xdcb5ee-_0x597d8b;},'PALPB':function(_0x15269f,_0x5047d0){return _0x15269f<=_0x5047d0;}};if(_0xa2b10c[_0x238c02(0x103)](_0x288faf,_0xa2b10c['AUBgC']))return![];const _0x3ce69f=_0xa2b10c['IFADf'](loadCache),_0x356feb=_0x3ce69f[_0x238c02(0xf4)];if(!_0x356feb)return![];const _0x56f4af=_0xa2b10c[_0x238c02(0xdd)](Date['now'](),_0x356feb);return _0xa2b10c[_0x238c02(0xe0)](_0x56f4af,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0xcc22e){const _0x1414d2=_0x52cf63,_0x14f81a={'JoNHq':function(_0x96c4f2,_0x3d6ae7,_0x6e6122){return _0x96c4f2(_0x3d6ae7,_0x6e6122);},'wjJrz':_0x1414d2(0xe9),'SgKnk':function(_0x5c8e94,_0x285ac9){return _0x5c8e94(_0x285ac9);}},_0x2cf330=loadCache(),_0x644c55=_0x14f81a[_0x1414d2(0xe1)](getOrCreateSession,_0x2cf330,_0xcc22e);_0x644c55['enabled']=!![];const _0x9ea494=getCurrentBranch();_0x9ea494&&_0x9ea494!=='main'&&_0x9ea494!==_0x14f81a['wjJrz']&&(_0x644c55[_0x1414d2(0x101)]=_0x9ea494),delete _0x2cf330[_0x1414d2(0xf4)],_0x14f81a[_0x1414d2(0xd6)](saveCache,_0x2cf330);}export function registerSession(_0x35f7a9,_0x9c19d9){const _0x20ea21=_0x52cf63,_0xf5d11a={'TVaNe':function(_0x329419){return _0x329419();},'ZNdWR':function(_0x36c8e6,_0xca756e,_0x3f161c){return _0x36c8e6(_0xca756e,_0x3f161c);}},_0x45d779=_0xf5d11a[_0x20ea21(0xe5)](loadCache),_0x3277f5=_0xf5d11a['ZNdWR'](getOrCreateSession,_0x45d779,_0x35f7a9);_0x3277f5[_0x20ea21(0xe8)]=_0x9c19d9,_0x3277f5['registeredAt']=new Date()['toISOString'](),saveCache(_0x45d779);}export function getSessionEntry(_0x5ca201){const _0x1b531b=_0x52cf63,_0x213354={'veLYn':function(_0x4ac737){return _0x4ac737();}},_0x1d3c0e=_0x213354[_0x1b531b(0xfa)](loadCache),_0x182fae=_0x1d3c0e['sessions'][_0x5ca201];if(_0x182fae?.[_0x1b531b(0xe8)]&&_0x182fae?.['registeredAt'])return{'featureId':_0x182fae['featureId'],'registeredAt':_0x182fae[_0x1b531b(0xed)]};return null;}export function unregisterSession(_0xd42d0e){const _0x45d825=loadCache(),_0x7efb23=_0x45d825['sessions'][_0xd42d0e];_0x7efb23&&(delete _0x7efb23['featureId'],delete _0x7efb23['registeredAt'],saveCache(_0x45d825));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x2b0c5d){const _0x54e211=_0x52cf63,_0x2295b1={'RVJcq':function(_0x474f55,_0x2bf9f2,_0x500d38){return _0x474f55(_0x2bf9f2,_0x500d38);},'bZoHh':function(_0x31e267,_0x342a98){return _0x31e267>=_0x342a98;},'jBnrr':function(_0x350122,_0x5dfca2){return _0x350122-_0x5dfca2;}},_0x3ffcf6=loadCache(),_0x55d497=_0x2295b1['RVJcq'](getOrCreateSession,_0x3ffcf6,_0x2b0c5d),_0x12553a=_0x55d497[_0x54e211(0xef)]||0x0,_0x20d78a=Date['now']();if(_0x2295b1['bZoHh'](_0x2295b1['jBnrr'](_0x20d78a,_0x12553a),PLAN_REMINDER_INTERVAL_MS))return _0x55d497[_0x54e211(0xef)]=_0x20d78a,saveCache(_0x3ffcf6),!![];return![];}export function shouldShowStopReminder(_0x57f5bb){const _0xc429bd=_0x52cf63,_0x4a374e={'AdrLH':function(_0x33cc41){return _0x33cc41();},'abPyu':function(_0x25a7b7,_0x2cbd4c){return _0x25a7b7>=_0x2cbd4c;},'VBunH':function(_0x78bdd4,_0x181d96){return _0x78bdd4-_0x181d96;},'rjlme':function(_0x257745,_0x30b579){return _0x257745(_0x30b579);}},_0x289ee2=_0x4a374e[_0xc429bd(0xf3)](loadCache),_0xff2fb7=getOrCreateSession(_0x289ee2,_0x57f5bb),_0x54347b=_0xff2fb7[_0xc429bd(0xe3)]||0x0,_0x4c4ff6=Date['now']();if(_0x4a374e['abPyu'](_0x4a374e[_0xc429bd(0xdb)](_0x4c4ff6,_0x54347b),STOP_REMINDER_INTERVAL_MS))return _0xff2fb7[_0xc429bd(0xe3)]=_0x4c4ff6,_0x4a374e['rjlme'](saveCache,_0x289ee2),!![];return![];}export function hasSessionBeenPrompted(_0x5da4ff){const _0x589b9b=_0x52cf63,_0x116024=loadCache();return _0x116024['sessions'][_0x5da4ff]?.[_0x589b9b(0xea)]===!![];}export function markSessionPrompted(_0x2e2000){const _0x374539=_0x52cf63,_0x3bb315={'ZqmSy':function(_0xaf8f24){return _0xaf8f24();},'tkEAR':function(_0x17f0f9,_0x7a750e,_0x107f0c){return _0x17f0f9(_0x7a750e,_0x107f0c);}},_0x554ff6=_0x3bb315[_0x374539(0x107)](loadCache),_0x405451=_0x3bb315['tkEAR'](getOrCreateSession,_0x554ff6,_0x2e2000);_0x405451['prompted']=!![],saveCache(_0x554ff6);}export function getCacheFile(){return CACHE_FILE;}
1
+ const _0x3a4e38=_0x3f2d;(function(_0x2f1ab3,_0x5866c1){const _0x290a1a=_0x3f2d,_0x1f43ee=_0x2f1ab3();while(!![]){try{const _0x3df6e7=parseInt(_0x290a1a(0x14f))/0x1*(-parseInt(_0x290a1a(0x13e))/0x2)+-parseInt(_0x290a1a(0x13f))/0x3*(parseInt(_0x290a1a(0x149))/0x4)+parseInt(_0x290a1a(0x141))/0x5*(parseInt(_0x290a1a(0x14c))/0x6)+-parseInt(_0x290a1a(0x14d))/0x7*(parseInt(_0x290a1a(0x138))/0x8)+-parseInt(_0x290a1a(0x133))/0x9+-parseInt(_0x290a1a(0x153))/0xa*(-parseInt(_0x290a1a(0x12c))/0xb)+parseInt(_0x290a1a(0x12e))/0xc;if(_0x3df6e7===_0x5866c1)break;else _0x1f43ee['push'](_0x1f43ee['shift']());}catch(_0x4419ac){_0x1f43ee['push'](_0x1f43ee['shift']());}}}(_0x2566,0x690d0));import*as _0x461a86 from'fs';import*as _0x157448 from'path';import*as _0x12fd9c from'os';import{execSync}from'child_process';const CACHE_FILE=_0x157448['join'](_0x12fd9c[_0x3a4e38(0x13d)](),'.claude','.ranger_cache.json');function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0xaea1e3=_0x3a4e38;try{if(_0x461a86['existsSync'](CACHE_FILE)){const _0x2f630e=JSON[_0xaea1e3(0x135)](_0x461a86[_0xaea1e3(0x144)](CACHE_FILE,_0xaea1e3(0x147)));return{'version':0x3,'sessions':_0x2f630e[_0xaea1e3(0x146)]||{},'branches':_0x2f630e['branches']||{},'lastEnabledSessionClearedAt':_0x2f630e[_0xaea1e3(0x131)]};}}catch{}return createEmptyCache();}function saveCache(_0x293d03){const _0x4b8ff8=_0x3a4e38;try{const _0x9cdb5=_0x157448['dirname'](CACHE_FILE);!_0x461a86['existsSync'](_0x9cdb5)&&_0x461a86[_0x4b8ff8(0x12b)](_0x9cdb5,{'recursive':!![]}),_0x461a86['writeFileSync'](CACHE_FILE,JSON['stringify'](_0x293d03,null,0x2));}catch{}}export function getCurrentBranch(){const _0x51b82e=_0x3a4e38,_0x3e72bd={'ddukj':_0x51b82e(0x15a),'lKDJD':'utf-8','SKahH':'pipe','DVlAC':'HEAD'};try{const _0x7390f1=execSync(_0x3e72bd[_0x51b82e(0x150)],{'encoding':_0x3e72bd[_0x51b82e(0x12a)],'stdio':[_0x3e72bd['SKahH'],_0x51b82e(0x12f),_0x51b82e(0x12f)]})['trim']();if(!_0x7390f1||_0x7390f1===_0x3e72bd[_0x51b82e(0x13c)])return null;return _0x7390f1;}catch{return null;}}export function enableBranch(_0x55afd8){const _0x2ce847=_0x3a4e38,_0x3b357f={'ueQGV':function(_0x4ccbff){return _0x4ccbff();},'MCqyC':function(_0x1cb7dc,_0x1d47a7){return _0x1cb7dc(_0x1d47a7);}},_0x3f9e2f=_0x3b357f[_0x2ce847(0x134)](loadCache);_0x3f9e2f['branches'][_0x55afd8]=!![],_0x3b357f[_0x2ce847(0x13b)](saveCache,_0x3f9e2f);}function _0x2566(){const _0x30788b=['311526QaTEzH','ueQGV','parse','vTphO','CBJhk','64LfvrQv','uZlFK','main','MCqyC','DVlAC','homedir','2mTdtpD','6VEhDbQ','ikMho','5075kxbyEu','enabled','uCtMZ','readFileSync','UhbuO','sessions','utf-8','MeJgV','920784pZLzCu','branches','featureId','1014srtUhy','487438GOyvVw','TODHM','705981SPeBOD','ddukj','BLjeJ','YgGao','7220PDyXzc','now','pSuNu','currentBranch','prompted','YCLpU','HYJhg','git\x20rev-parse\x20--abbrev-ref\x20HEAD','master','mWnPS','nzuYv','lKDJD','mkdirSync','6941YkFBME','clear','18734760QfrxBY','pipe','registeredAt','lastEnabledSessionClearedAt','RGfYk'];_0x2566=function(){return _0x30788b;};return _0x2566();}export function disableBranch(_0x32a388){const _0x56efc8=loadCache();delete _0x56efc8['branches'][_0x32a388],saveCache(_0x56efc8);}export function isBranchEnabled(_0x28dbdb){const _0x11adcf=_0x3a4e38,_0x21752a=loadCache();return _0x21752a[_0x11adcf(0x14a)][_0x28dbdb]===!![];}function getOrCreateSession(_0x10e328,_0x5d0ad9){const _0x30d7e4=_0x3a4e38;return!_0x10e328['sessions'][_0x5d0ad9]&&(_0x10e328['sessions'][_0x5d0ad9]={}),_0x10e328[_0x30d7e4(0x146)][_0x5d0ad9];}export function enableSession(_0x38986c){const _0x376e1=_0x3a4e38,_0x1933a0={'ikMho':function(_0x5393d8){return _0x5393d8();},'MeJgV':function(_0x2f6413,_0x502384,_0x43d9dc){return _0x2f6413(_0x502384,_0x43d9dc);},'zenhG':function(_0x54f26f,_0x4e9536){return _0x54f26f!==_0x4e9536;}},_0xdc32f5=_0x1933a0[_0x376e1(0x140)](loadCache),_0x4d19cc=_0x1933a0[_0x376e1(0x148)](getOrCreateSession,_0xdc32f5,_0x38986c);_0x4d19cc[_0x376e1(0x142)]=!![];const _0x1224e5=getCurrentBranch();_0x1224e5&&_0x1224e5!==_0x376e1(0x13a)&&_0x1933a0['zenhG'](_0x1224e5,'master')&&(_0xdc32f5['branches'][_0x1224e5]=!![],_0x4d19cc[_0x376e1(0x156)]=_0x1224e5),saveCache(_0xdc32f5);}export function isSessionEnabled(_0x3fa135){const _0x167341=_0x3a4e38,_0x2aab08={'BLjeJ':function(_0xf339f0){return _0xf339f0();},'UhbuO':function(_0x5a1cd3,_0x1f7c4b){return _0x5a1cd3===_0x1f7c4b;},'JBUrK':'main','IVEAX':function(_0x201eee,_0x4a7e8e){return _0x201eee===_0x4a7e8e;}},_0x1faa7d=_0x2aab08['BLjeJ'](loadCache),_0x1469d9=_0x2aab08[_0x167341(0x151)](getCurrentBranch);if(!_0x1469d9||_0x2aab08[_0x167341(0x145)](_0x1469d9,_0x2aab08['JBUrK'])||_0x1469d9===_0x167341(0x15b))return _0x1faa7d[_0x167341(0x146)][_0x3fa135]?.[_0x167341(0x142)]===!![];const _0x731f3a=_0x2aab08['IVEAX'](_0x1faa7d['branches'][_0x1469d9],!![]),_0x4a8dc8=_0x2aab08['IVEAX'](_0x1faa7d['sessions'][_0x3fa135]?.['enabled'],!![]);return _0x731f3a||_0x4a8dc8;}export function disableSession(_0x37186a){const _0x56fa59=_0x3a4e38,_0x422a2b={'uCtMZ':function(_0xe2790){return _0xe2790();},'fFUea':function(_0x59bc0c,_0x452322,_0x420d2b){return _0x59bc0c(_0x452322,_0x420d2b);},'DTFEn':function(_0x1225dc,_0x28954e){return _0x1225dc(_0x28954e);}},_0x18403c=_0x422a2b[_0x56fa59(0x143)](loadCache),_0x15391f=_0x422a2b['fFUea'](getOrCreateSession,_0x18403c,_0x37186a);_0x15391f[_0x56fa59(0x142)]=![],_0x422a2b['DTFEn'](saveCache,_0x18403c);}export function updateBranchTracking(_0x57b41f){const _0x1b71d7=_0x3a4e38,_0x4e051d={'NGfke':'main','HMgmt':function(_0x4f0286,_0x160f2f){return _0x4f0286!==_0x160f2f;}},_0x198106=loadCache(),_0x3dc4de=_0x198106[_0x1b71d7(0x146)][_0x57b41f];if(!_0x3dc4de?.[_0x1b71d7(0x142)])return;const _0x5e07d1=getCurrentBranch();if(!_0x5e07d1||_0x5e07d1===_0x4e051d['NGfke']||_0x5e07d1===_0x1b71d7(0x15b))return;_0x4e051d['HMgmt'](_0x3dc4de[_0x1b71d7(0x156)],_0x5e07d1)&&(_0x198106[_0x1b71d7(0x14a)][_0x5e07d1]=!![],_0x3dc4de[_0x1b71d7(0x156)]=_0x5e07d1,saveCache(_0x198106));}export function initBranchTracking(_0x424a54){const _0x110141=_0x3a4e38,_0x1d6e6c={'kPSJX':function(_0x339850){return _0x339850();},'yhfPe':'main','nzuYv':_0x110141(0x15b)},_0x3162e9=loadCache(),_0x28b693=_0x1d6e6c['kPSJX'](getCurrentBranch);if(!_0x28b693||_0x28b693===_0x1d6e6c['yhfPe']||_0x28b693===_0x1d6e6c[_0x110141(0x15d)])return;if(_0x3162e9['branches'][_0x28b693]===!![]){const _0x141abd=getOrCreateSession(_0x3162e9,_0x424a54);_0x141abd['enabled']=!![],_0x141abd['currentBranch']=_0x28b693,saveCache(_0x3162e9);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x382f2e){const _0x5b3342=_0x3a4e38,_0x3d9780={'kZupG':function(_0x5b8baf){return _0x5b8baf();}},_0x3479c4=_0x3d9780['kZupG'](loadCache),_0x33d346=_0x3479c4['sessions'][_0x382f2e];_0x33d346?.['enabled']&&(_0x3479c4[_0x5b3342(0x131)]=Date['now'](),saveCache(_0x3479c4));}export function shouldAutoEnableAfterClear(_0x2214f1){const _0x126326=_0x3a4e38,_0x56c83e={'wwOHb':function(_0x2a3381,_0x31ed33){return _0x2a3381!==_0x31ed33;},'HYJhg':_0x126326(0x12d),'vTphO':function(_0x3f7371,_0x15e2b9){return _0x3f7371-_0x15e2b9;}};if(_0x56c83e['wwOHb'](_0x2214f1,_0x56c83e[_0x126326(0x159)]))return![];const _0x3bb095=loadCache(),_0x2bcbe8=_0x3bb095['lastEnabledSessionClearedAt'];if(!_0x2bcbe8)return![];const _0x1631a1=_0x56c83e[_0x126326(0x136)](Date['now'](),_0x2bcbe8);return _0x1631a1<=CLEAR_AUTO_ENABLE_WINDOW_MS;}export function autoEnableAfterClear(_0xb3252a){const _0x46b80e=_0x3a4e38,_0x3c68ec={'DBxqn':function(_0x8e06f4){return _0x8e06f4();},'pSuNu':'main','uqTSN':function(_0x2445b6,_0x9f5256){return _0x2445b6(_0x9f5256);}},_0x575fe4=_0x3c68ec['DBxqn'](loadCache),_0x174143=getOrCreateSession(_0x575fe4,_0xb3252a);_0x174143[_0x46b80e(0x142)]=!![];const _0x21d1dd=getCurrentBranch();_0x21d1dd&&_0x21d1dd!==_0x3c68ec[_0x46b80e(0x155)]&&_0x21d1dd!==_0x46b80e(0x15b)&&(_0x174143[_0x46b80e(0x156)]=_0x21d1dd),delete _0x575fe4[_0x46b80e(0x131)],_0x3c68ec['uqTSN'](saveCache,_0x575fe4);}export function registerSession(_0x16b18e,_0x53c035){const _0x476dce=_0x3a4e38,_0x49c6dd={'mWnPS':function(_0xb9e60f){return _0xb9e60f();},'YCLpU':function(_0x56608b,_0x573669,_0x3ab9d4){return _0x56608b(_0x573669,_0x3ab9d4);},'uZlFK':function(_0x244e5a,_0x447283){return _0x244e5a(_0x447283);}},_0x405a72=_0x49c6dd[_0x476dce(0x15c)](loadCache),_0x130350=_0x49c6dd[_0x476dce(0x158)](getOrCreateSession,_0x405a72,_0x16b18e);_0x130350['featureId']=_0x53c035,_0x130350[_0x476dce(0x130)]=new Date()['toISOString'](),_0x49c6dd[_0x476dce(0x139)](saveCache,_0x405a72);}export function getSessionEntry(_0x4588a6){const _0x288698=_0x3a4e38,_0x19c6d5={'CBJhk':function(_0x282003){return _0x282003();}},_0x2ad9f8=_0x19c6d5[_0x288698(0x137)](loadCache),_0x213c75=_0x2ad9f8['sessions'][_0x4588a6];if(_0x213c75?.[_0x288698(0x14b)]&&_0x213c75?.[_0x288698(0x130)])return{'featureId':_0x213c75['featureId'],'registeredAt':_0x213c75['registeredAt']};return null;}export function unregisterSession(_0xf459e){const _0x25efdb=_0x3a4e38,_0x3ef9c1={'NUtbk':function(_0x2ba878){return _0x2ba878();},'TODHM':function(_0x22e969,_0x1373aa){return _0x22e969(_0x1373aa);}},_0x1a134d=_0x3ef9c1['NUtbk'](loadCache),_0x10d8f8=_0x1a134d[_0x25efdb(0x146)][_0xf459e];_0x10d8f8&&(delete _0x10d8f8[_0x25efdb(0x14b)],delete _0x10d8f8[_0x25efdb(0x130)],_0x3ef9c1[_0x25efdb(0x14e)](saveCache,_0x1a134d));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;function _0x3f2d(_0x2bab08,_0x3f14d3){_0x2bab08=_0x2bab08-0x12a;const _0x256659=_0x2566();let _0x3f2d69=_0x256659[_0x2bab08];return _0x3f2d69;}export function shouldShowPlanReminder(_0x409215){const _0xb782ab=_0x3a4e38,_0x1f037a={'RGfYk':function(_0x3c922f,_0x431f6a,_0x43e0a4){return _0x3c922f(_0x431f6a,_0x43e0a4);}},_0x2da467=loadCache(),_0x3f73d9=_0x1f037a[_0xb782ab(0x132)](getOrCreateSession,_0x2da467,_0x409215),_0x40c2e8=_0x3f73d9['lastPlanReminderAt']||0x0,_0x39e1df=Date[_0xb782ab(0x154)]();if(_0x39e1df-_0x40c2e8>=PLAN_REMINDER_INTERVAL_MS)return _0x3f73d9['lastPlanReminderAt']=_0x39e1df,saveCache(_0x2da467),!![];return![];}export function shouldShowStopReminder(_0x4e8a7a){const _0x1a49e3=_0x3a4e38,_0x434a78={'ggsEW':function(_0xf298c2,_0x339a6d){return _0xf298c2>=_0x339a6d;},'xdpmF':function(_0x2cd290,_0x1d675e){return _0x2cd290-_0x1d675e;}},_0x4b649e=loadCache(),_0x33d7fc=getOrCreateSession(_0x4b649e,_0x4e8a7a),_0x562e8a=_0x33d7fc['lastStopReminderAt']||0x0,_0x35203c=Date[_0x1a49e3(0x154)]();if(_0x434a78['ggsEW'](_0x434a78['xdpmF'](_0x35203c,_0x562e8a),STOP_REMINDER_INTERVAL_MS))return _0x33d7fc['lastStopReminderAt']=_0x35203c,saveCache(_0x4b649e),!![];return![];}export function hasSessionBeenPrompted(_0x45d12c){const _0x51aff7=_0x3a4e38,_0x5ee25f={'cRQjT':function(_0x52cf3f){return _0x52cf3f();},'YgGao':function(_0x3d6a23,_0x5e3330){return _0x3d6a23===_0x5e3330;}},_0x88da8c=_0x5ee25f['cRQjT'](loadCache);return _0x5ee25f[_0x51aff7(0x152)](_0x88da8c['sessions'][_0x45d12c]?.[_0x51aff7(0x157)],!![]);}export function markSessionPrompted(_0x41fe75){const _0x4c0da0={'BaIuO':function(_0x41869c,_0x52c097){return _0x41869c(_0x52c097);}},_0x97b0c8=loadCache(),_0x585da8=getOrCreateSession(_0x97b0c8,_0x41fe75);_0x585da8['prompted']=!![],_0x4c0da0['BaIuO'](saveCache,_0x97b0c8);}export function getCacheFile(){return CACHE_FILE;}