@ranger-testing/ranger-cli 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/traceSnapshotMapper.js +1 -0
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/package.json +2 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x17ffc4=_0x43d3;(function(_0xa8e603,_0x33ae80){const _0x26b37=_0x43d3,_0x44c31a=_0xa8e603();while(!![]){try{const _0x3aca97=parseInt(_0x26b37(0x2a1))/0x1+parseInt(_0x26b37(0x2ef))/0x2+parseInt(_0x26b37(0x219))/0x3*(-parseInt(_0x26b37(0x212))/0x4)+parseInt(_0x26b37(0x2f8))/0x5*(parseInt(_0x26b37(0x274))/0x6)+parseInt(_0x26b37(0x246))/0x7+-parseInt(_0x26b37(0x2d5))/0x8*(-parseInt(_0x26b37(0x2bd))/0x9)+-parseInt(_0x26b37(0x339))/0xa;if(_0x3aca97===_0x33ae80)break;else _0x44c31a['push'](_0x44c31a['shift']());}catch(_0x32521b){_0x44c31a['push'](_0x44c31a['shift']());}}}(_0x5cba,0xaf253));import _0x162054 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xb89c81=_0x43d3,_0x5257ac={'PIBDB':function(_0x4420b9,_0x15dba8){return _0x4420b9(_0x15dba8);},'dCaSm':function(_0x31341,_0x1215b3,_0x340bb5){return _0x31341(_0x1215b3,_0x340bb5);},'ucVzg':'.env'};let _0x51c4b3=process['cwd']();const _0xd94bf7=parse(_0x51c4b3)['root'];while(_0x51c4b3!==_0xd94bf7){if(_0x5257ac['PIBDB'](existsSync,_0x5257ac['dCaSm'](join,_0x51c4b3,_0xb89c81(0x206)))||existsSync(join(_0x51c4b3,_0x5257ac['ucVzg'])))return _0x51c4b3;_0x51c4b3=dirname(_0x51c4b3);}return process[_0xb89c81(0x21a)]();}_0x162054[_0x17ffc4(0x20e)]({'path':join(findProjectRoot(),_0x17ffc4(0x21c))});import _0x5111a1 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x17ffc4(0x1ff),async _0x1c2c25=>{const _0xeb3259=getCurrentCollector();_0xeb3259&&await _0xeb3259['trackCommandError'](_0x1c2c25),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x17ffc4(0x32f)](0x2),TOP_LEVEL_HELP=_0x17ffc4(0x2a8),PROFILE_HELP=_0x17ffc4(0x2a2),PROFILE_CONFIG_HELP=_0x17ffc4(0x336);function warnRenamed(_0x36e2d0,_0x264159){console['error']('\x0a'+_0x36e2d0+'\x20is\x20now\x20'+_0x264159+'\x0a');}function argUsed(_0x71f760){const _0x43f216=_0x17ffc4;return rawArgs['some'](_0x424cf3=>_0x424cf3===_0x71f760||_0x424cf3[_0x43f216(0x218)](_0x71f760+'='));}function _0x43d3(_0x570a66,_0x4ec97b){_0x570a66=_0x570a66-0x1ed;const _0x5cbae6=_0x5cba();let _0x43d3b3=_0x5cbae6[_0x570a66];return _0x43d3b3;}function _0x5cba(){const _0x8ea26f=['Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','gCerj','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','error','config\x20get','setup-ci','add-scenario','zxnRa','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','set\x20<env>\x20<key>\x20<value>','FnSqA','cdp-endpoint','edit-scenario','ranger\x20restore','Manage\x20profile\x20configuration','token','IBmLD','positional','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','list','restore\x20<id>','Set\x20a\x20config\x20value','skip-auth','oSCKA','edit-scenario\x20<description>','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','start','54ZJzzSC','zwsTv','uAnRe','Skip\x20Chromium\x20browser\x20installation','login','fqLva','show\x20[id]','wmsTX','env\x20list','pbrVF','severity','uPIcQ','XlaRS','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','scenario','HfZNd','WEKBq','fDKjN','checklist','ranger\x20env\x20ls','HJsQY','Config\x20key\x20to\x20remove','qfYXC','egXMM','aVZkm','cNwYp','KOLtj','iGHKR','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Xndfm','option','message','\x0aUnknown\x20command:\x20','ranger\x20config\x20set','string','vFKBx','demandCommand','ranger\x20setup','argv','debug-address-comments','DzipC','\x20INCOMPLETE','\x20PARTIAL','\x0aIssues:','1028697OteWJs','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true','Name\x20of\x20the\x20profile','ranger\x20profile\x20use','profile-name','vLbYt','ZnqIK','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','profile\x20config\x20unset','notes','yOlBc','TIvUf','ziEum','clean','JPmYj','gnwaf','XQUsS','yrIoj','jGTMV','default','task','NaMip','ranger\x20feature\x20list','item','QpwPb','iDyNr','include-deleted','GDKeN','2898jAppzy','xuSjG','Ranger\x20API\x20token','CdLph','AInyq','feature\x20create','ranger\x20profile\x20config\x20set','Name\x20of\x20the\x20environment','name','profile\x20ls','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Environment\x20name','boolean','mRFYE','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','YRiDn','pacPx','verified','cavil','usage','WvebM','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','wSFPn','Documentation:\x0a','22072iryFQy','FsOGe','forEach','Config\x20value','ranger\x20verify-feature','dpcWa','rrSCR','ranger','noZBh','ranger\x20config\x20get','ranger\x20go','AXBOM','OQzrP','exit','Number\x20of\x20feature\x20reviews\x20to\x20skip','uTgGv','env\x20update','start\x20[token]','rmgTG','VdISI','disable','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','evaluationReason','env','TwDdD','update\x20<profile-name>','2403058DcTzNz','MFPdT','project','restore','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','wAQgk','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Include\x20soft-deleted\x20feature\x20reviews','uOcxV','331745AisGwM','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','RFiOy','PyxQB','aUubU','nErOL','feature','rlnZV','rSFdc','aExsX','GivNX','OBcWJ','rrKDW','create\x20<name>','EuzoG','fDndL','--checklist','QznmE','QfQmd','YOClf','yjjCz','setup-ci\x20<token>','vAiwk','ranger\x20profile\x20config\x20get','\x20FAILED','use','fkaNZ','gghOQ','scope','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','GXlMC','config\x20unset','SYKwC','ranger\x20start','parse','hKaBP','enable','Feature\x20review\x20ID\x20to\x20restore','FLNsu','RcrNk','ranger\x20add\x20env','list\x20<env>','vnoNa','juZKI','trackCommandError','resume\x20[id]','CEYNT','VIKEe','yANxX','--scenario','KCWlU','partial','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','use\x20<env-name>','slice','VemTc','Summary:\x20','rlwpR','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','SWdXf','aDvBl','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','adOQo','vnQPi','24668990exGEqe','ranger\x20list','show','Zvkeu','SSNyM','Feature\x20review\x20ID','config\x20list','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','gAmbP','session-id','get\x20<env>\x20<key>','GVWPo','ranger\x20profile\x20encrypt-auth','resume','iUIGS','\x20BLOCKED','nhltV','status','number','miMkj','ranger\x20use','KvgFt','url','--profile','incomplete','List\x20all\x20profiles','jICSW','verify-feature','exclude-scenario','log','encrypt-auth\x20<profile>','XpquW','model','OJvnO','VRXna','CciuE','add\x20<profile-name>','imDVz','unhandledRejection','vCxvl','WyZmS','uQGNd','KVLsM','MEDae','key','.ranger','aolTw','feature\x20add-checklist-item','oNdmj','putOD','UtiMi','skip-chromium','zWFgc','config','RqoiU','YQXKx','user','202172OallpU','Name\x20of\x20the\x20profile\x20to\x20update','BMysP','current-branch','FxXya','delete\x20[id]','startsWith','63FvcxIa','cwd','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','.env','ranger\x20add-scenario','ranger\x20profile\x20ls','hxAyP','force','--item','YrJTm','unset\x20<profile>\x20<key>','HMibN','base-url','CxaSR','create','GKisy','GefNE','Add\x20profile\x20configuration','get-feedback\x20[id]','gvkPE','JAkMZ','ranger\x20config\x20list','get\x20<profile>\x20<key>','Config\x20key','feature\x20resume','blocked','command','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','debug-outcome','hook:enable','start-path','add-scenario\x20<description>','delete','AEnqz','hook','description','ranger\x20profile\x20update','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','array','value','ZVnuQ','MFwDb','ZgKyk','HlZBu','opencode','3709524RwdTlc','version','offset','profile','env-name','Unknown\x20command','Feature\x20review\x20name','cMSRA','GEhVS','encrypt\x20<profile>','--notes','FeGot','evaluation','profile\x20config\x20list','sXCJJ','alias','HikmS','mGMoB','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'];_0x5cba=function(){return _0x8ea26f;};return _0x5cba();}function warnFlagRenamed(_0x311959,_0x38c2b5,_0x54a41e){const _0x42fe4f=_0x17ffc4,_0x32bfa2={'aVZkm':function(_0xc07a78,_0x5e9f33,_0x3b55a9){return _0xc07a78(_0x5e9f33,_0x3b55a9);}};argUsed(_0x38c2b5)&&_0x32bfa2[_0x42fe4f(0x28d)](warnRenamed,_0x311959+'\x20'+_0x38c2b5,_0x311959+'\x20'+_0x54a41e);}async function runGoCommand(_0x8e8b1e,_0x390bd8=![]){const _0x19064c=_0x17ffc4,_0x5a2f97={'yrIoj':function(_0x36adb6,_0x12ed7b){return _0x36adb6+_0x12ed7b;},'SSNyM':'ranger\x20go','oYubW':function(_0x5296b8,_0x40f181,_0x5c580a,_0x440009){return _0x5296b8(_0x40f181,_0x5c580a,_0x440009);},'EuzoG':_0x19064c(0x1f0),'SWdXf':function(_0x4d9f07,_0x41a220,_0x4aed72,_0x39691e){return _0x4d9f07(_0x41a220,_0x4aed72,_0x39691e);},'ssLOh':_0x19064c(0x221),'igJFP':function(_0x119a65,_0x53da04){return _0x119a65??_0x53da04;},'Tpxln':'config','yEGeZ':_0x19064c(0x2b4),'hxAyP':_0x19064c(0x237),'CHdLm':_0x19064c(0x235),'OJvnO':_0x19064c(0x2ce),'ggGcQ':'\x20VERIFIED','fDKjN':function(_0x2ab731,_0x10ce53){return _0x2ab731===_0x10ce53;},'Jcuwd':'incomplete','jxxGU':_0x19064c(0x29e),'GXlMC':'partial','aTUOz':_0x19064c(0x29f),'gHwHd':function(_0x108b91,_0x580ed0){return _0x108b91===_0x580ed0;},'rrSCR':_0x19064c(0x349),'RcrNk':_0x19064c(0x310),'NKCAC':_0x19064c(0x2a0),'rlnZV':function(_0x22bc5a,_0x4d4cce){return _0x22bc5a===_0x4d4cce;}};_0x390bd8&&warnRenamed(_0x19064c(0x2d9),_0x5a2f97[_0x19064c(0x33d)]);_0x5a2f97['oYubW'](warnFlagRenamed,_0x19064c(0x2df),'--env',_0x5a2f97[_0x19064c(0x306)]),_0x5a2f97[_0x19064c(0x334)](warnFlagRenamed,_0x5a2f97['SSNyM'],'--task',_0x19064c(0x250)),warnFlagRenamed('ranger\x20go',_0x5a2f97['ssLOh'],'--scenario');const _0x3a4431=await loadRangerConfig(),_0x51ec65=_0x8e8b1e['model'],_0x1ceb54=_0x3a4431['model'],_0x309d43=_0x5a2f97['igJFP'](_0x51ec65,_0x1ceb54),_0x2d7354=_0x51ec65?'flag':_0x1ceb54?_0x5a2f97['Tpxln']:_0x5a2f97['yEGeZ'],_0x3523c0=await verifyFeature({'profile':_0x8e8b1e['profile']??_0x8e8b1e[_0x19064c(0x2ec)],'notes':_0x8e8b1e[_0x19064c(0x2aa)]??_0x8e8b1e[_0x19064c(0x2b5)],'scenario':_0x8e8b1e[_0x19064c(0x283)]??_0x8e8b1e[_0x19064c(0x2b8)],'startPath':_0x8e8b1e[_0x5a2f97[_0x19064c(0x21f)]],'debugOutcome':_0x8e8b1e[_0x5a2f97['CHdLm']],'debugAddressComments':_0x8e8b1e['debug-address-comments'],'verifyModel':_0x309d43,'verifyModelInput':_0x309d43,'verifyModelSource':_0x2d7354});console['log'](_0x5a2f97[_0x19064c(0x2b2)]('\x0a','='['repeat'](0x3c))),console['log'](_0x3523c0[_0x19064c(0x252)]===_0x5a2f97[_0x19064c(0x1fa)]?_0x5a2f97['ggGcQ']:_0x5a2f97[_0x19064c(0x286)](_0x3523c0[_0x19064c(0x252)],_0x5a2f97['Jcuwd'])?_0x5a2f97['jxxGU']:_0x3523c0['evaluation']===_0x5a2f97[_0x19064c(0x316)]?_0x5a2f97['aTUOz']:_0x5a2f97['gHwHd'](_0x3523c0[_0x19064c(0x252)],_0x19064c(0x232))?_0x5a2f97[_0x19064c(0x2db)]:_0x5a2f97[_0x19064c(0x31f)]),console[_0x19064c(0x1f6)]('='['repeat'](0x3c)),console['log'](_0x19064c(0x331)+_0x3523c0['summary']),console['log']('Evaluation:\x20'+_0x3523c0[_0x19064c(0x252)]),console['log']('Reason:\x20'+_0x3523c0[_0x19064c(0x2eb)]),_0x3523c0['issues']?.['length']&&(console[_0x19064c(0x1f6)](_0x5a2f97['NKCAC']),_0x3523c0['issues'][_0x19064c(0x2d7)]((_0x27a268,_0xe442a)=>{const _0x1baf7e=_0x19064c;console[_0x1baf7e(0x1f6)]('\x0a'+_0x5a2f97[_0x1baf7e(0x2b2)](_0xe442a,0x1)+'.\x20['+_0x27a268[_0x1baf7e(0x27e)]+']\x20'+_0x27a268['description']);})),process[_0x19064c(0x2e2)](_0x5a2f97[_0x19064c(0x2ff)](_0x3523c0[_0x19064c(0x252)],_0x19064c(0x2ce))?0x0:0x1);}_0x5111a1(process[_0x17ffc4(0x29b)][_0x17ffc4(0x32f)](0x2))['scriptName'](_0x17ffc4(0x2dc))[_0x17ffc4(0x2d0)](TOP_LEVEL_HELP)[_0x17ffc4(0x247)](getCurrentVersion())[_0x17ffc4(0x233)](_0x17ffc4(0x305),_0x17ffc4(0x2cb),_0x25a8f8=>{const _0x3ec577=_0x17ffc4,_0x39a7df={'lejMS':_0x3ec577(0x2c5),'uOcxV':_0x3ec577(0x297),'YVlvF':'Feature\x20review\x20description','dEhri':'scenario','jGTMV':_0x3ec577(0x23f),'MJqbx':_0x3ec577(0x287)};return _0x25a8f8['positional'](_0x39a7df['lejMS'],{'type':_0x39a7df['uOcxV'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x3ec577(0x293)](_0x3ec577(0x23c),{'type':_0x39a7df[_0x3ec577(0x2f7)],'alias':'d','description':_0x39a7df['YVlvF']})['option'](_0x39a7df['dEhri'],{'type':_0x39a7df[_0x3ec577(0x2b3)],'alias':'c','description':_0x3ec577(0x23e)})[_0x3ec577(0x293)](_0x39a7df['MJqbx'],{'type':_0x3ec577(0x23f),'hidden':!![]});},async _0x364f5e=>{const _0x506a14=_0x17ffc4,_0x335c2a={'FeaYD':function(_0xb1b8a,_0x34b197,_0x10ff39,_0x311241){return _0xb1b8a(_0x34b197,_0x10ff39,_0x311241);},'aUubU':'--scenario','CdLph':function(_0x4933bd,_0x39789c,_0x597589){return _0x4933bd(_0x39789c,_0x597589);},'wmsTX':_0x506a14(0x227)};_0x335c2a['FeaYD'](warnFlagRenamed,'ranger\x20create','--checklist',_0x335c2a[_0x506a14(0x2fc)]);const _0x5e9458=_0x364f5e[_0x506a14(0x283)]||_0x364f5e[_0x506a14(0x287)];await _0x335c2a[_0x506a14(0x2c0)](withTelemetry,_0x335c2a[_0x506a14(0x27b)],()=>featureCreate(_0x364f5e[_0x506a14(0x2c5)],{'description':_0x364f5e[_0x506a14(0x23c)],'scenarios':_0x5e9458}));})['command'](_0x17ffc4(0x26c),'List\x20all\x20feature\x20reviews',_0x131f76=>{const _0x5460=_0x17ffc4,_0x5707bc={'YQXKx':_0x5460(0x215),'mGMoB':_0x5460(0x2c9),'tIgaK':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','aoZPD':'limit','egXMM':'number','GDKeN':_0x5460(0x2bb)};return _0x131f76['option'](_0x5707bc[_0x5460(0x210)],{'type':_0x5707bc[_0x5460(0x257)],'description':_0x5707bc['tIgaK']})[_0x5460(0x293)](_0x5707bc['aoZPD'],{'type':_0x5707bc[_0x5460(0x28c)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x5460(0x293)]('offset',{'type':_0x5707bc[_0x5460(0x28c)],'alias':'o','description':_0x5460(0x2e3),'default':0x0})['option'](_0x5707bc[_0x5460(0x2bc)],{'type':_0x5460(0x2c9),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x3ecd77=>{const _0x40a1de=_0x17ffc4,_0x54af1a={'OQzrP':function(_0x10b3ca,_0x50a3ad,_0x80dfe8){return _0x10b3ca(_0x50a3ad,_0x80dfe8);}};await _0x54af1a[_0x40a1de(0x2e1)](withTelemetry,'list',()=>featureList({'currentBranch':_0x3ecd77['current-branch'],'limit':_0x3ecd77['limit'],'offset':_0x3ecd77['offset'],'includeDeleted':_0x3ecd77[_0x40a1de(0x2bb)]}));})[_0x17ffc4(0x233)](_0x17ffc4(0x27a),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4b42ee=>{const _0x585223=_0x17ffc4,_0x29def4={'KvgFt':'Feature\x20review\x20ID'};return _0x4b42ee['positional']('id',{'type':_0x585223(0x297),'description':_0x29def4[_0x585223(0x1ee)]});},async _0x5180a4=>{const _0x104bcd=_0x17ffc4;await withTelemetry(_0x104bcd(0x33b),()=>featureShow(_0x5180a4['id']));})[_0x17ffc4(0x233)](_0x17ffc4(0x325),_0x17ffc4(0x26b),_0x446690=>{const _0x2ce31a=_0x17ffc4,_0x17a542={'zxnRa':'string'};return _0x446690[_0x2ce31a(0x26a)]('id',{'type':_0x17a542[_0x2ce31a(0x260)],'description':_0x2ce31a(0x333)});},async _0x5b4dec=>{const _0x195845=_0x17ffc4,_0x19ba45={'ZVnuQ':_0x195845(0x347)};await withTelemetry(_0x19ba45[_0x195845(0x241)],()=>featureResume(_0x5b4dec['id']));})[_0x17ffc4(0x233)](_0x17ffc4(0x238),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x23f288=>{const _0x131ec4=_0x17ffc4,_0x5dc62e={'ppQlB':_0x131ec4(0x23c),'vnQPi':'string','FrUny':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x23f288['positional'](_0x5dc62e['ppQlB'],{'type':_0x5dc62e[_0x131ec4(0x338)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x5dc62e['FrUny']});},async _0x4e8155=>{const _0x2a874b=_0x17ffc4,_0x5b9b50={'qfYXC':_0x2a874b(0x25f)};await withTelemetry(_0x5b9b50[_0x2a874b(0x28b)],()=>featureAddScenario(_0x4e8155[_0x2a874b(0x23c)],_0x4e8155['id']));})[_0x17ffc4(0x233)](_0x17ffc4(0x271),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x17fa47=>{const _0x1dbe9d=_0x17ffc4,_0x2b3ea1={'cgJkU':'description','LbHFD':'string','VrpkW':'New\x20scenario\x20description','dmpCp':'number','iGHKR':_0x1dbe9d(0x282)};return _0x17fa47[_0x1dbe9d(0x26a)](_0x2b3ea1['cgJkU'],{'type':_0x2b3ea1['LbHFD'],'description':_0x2b3ea1['VrpkW'],'demandOption':!![]})['option']('scenario',{'type':_0x2b3ea1['dmpCp'],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x1dbe9d(0x297),'description':_0x2b3ea1[_0x1dbe9d(0x290)]});},async _0x28bbaf=>{const _0x1f7745=_0x17ffc4;await withTelemetry(_0x1f7745(0x265),()=>featureEditScenario(_0x28bbaf['description'],{'id':_0x28bbaf['id'],'scenario':_0x28bbaf[_0x1f7745(0x283)]}));})[_0x17ffc4(0x233)]('report\x20[id]',_0x17ffc4(0x259),_0x1505f8=>{const _0x3a0158=_0x17ffc4,_0x359ee3={'FnSqA':'string','HVtZw':_0x3a0158(0x1f5),'WvebM':'array'};return _0x1505f8['positional']('id',{'type':_0x359ee3[_0x3a0158(0x263)],'description':_0x3a0158(0x33e)})['option'](_0x359ee3['HVtZw'],{'type':_0x359ee3[_0x3a0158(0x2d1)],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'});},async _0x2aa318=>{const _0x3d22f3=_0x17ffc4,_0x306b45={'eYyBC':function(_0x5f0b08,_0x2d8074,_0x57ec93){return _0x5f0b08(_0x2d8074,_0x57ec93);},'VIKEe':'report'},_0x5e5f3f=_0x2aa318[_0x3d22f3(0x1f5)],_0x35defc=_0x5e5f3f?_0x5e5f3f['map'](_0x2894f8=>Number(_0x2894f8)):undefined;await _0x306b45['eYyBC'](withTelemetry,_0x306b45[_0x3d22f3(0x327)],()=>featureReportPrDescription(_0x2aa318['id'],{'excludeScenarios':_0x35defc}));})[_0x17ffc4(0x233)]('get-review\x20[id]',_0x17ffc4(0x25b),_0x292d1c=>{const _0x5962e2=_0x17ffc4,_0x5de751={'rrKDW':'string'};return _0x292d1c[_0x5962e2(0x26a)]('id',{'type':_0x5de751[_0x5962e2(0x304)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5edda5=>{const _0x5dc9c3=_0x17ffc4,_0x343513={'ziEum':function(_0x4d488d,_0x2a0a13,_0xf0bc2c){return _0x4d488d(_0x2a0a13,_0xf0bc2c);},'rSFdc':'get-review'};await _0x343513[_0x5dc9c3(0x2ad)](withTelemetry,_0x343513[_0x5dc9c3(0x300)],()=>featureGetReview(_0x5edda5['id']));})['command'](_0x17ffc4(0x217),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x25e240=>{const _0x698289=_0x17ffc4,_0x4fc2c2={'YgPZs':'string'};return _0x25e240['positional']('id',{'type':_0x4fc2c2['YgPZs'],'description':_0x698289(0x33e)});},async _0x109899=>{const _0x3f0dcb=_0x17ffc4;await withTelemetry(_0x3f0dcb(0x239),()=>featureDelete(_0x109899['id']));})[_0x17ffc4(0x233)]('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x287f40=>{const _0x41da3d=_0x17ffc4;return _0x287f40[_0x41da3d(0x26a)]('id',{'type':_0x41da3d(0x297),'description':_0x41da3d(0x31d),'demandOption':!![]});},async _0x56a0b6=>{const _0x2fa454=_0x17ffc4,_0x377fc4={'Jfdhx':function(_0x417da8,_0xb613e4,_0x210492){return _0x417da8(_0xb613e4,_0x210492);},'CEYNT':_0x2fa454(0x2f2)};await _0x377fc4['Jfdhx'](withTelemetry,_0x377fc4[_0x2fa454(0x326)],()=>featureRestore(_0x56a0b6['id']));})['command']('setup\x20[token]','Initialize\x20Ranger\x20in\x20your\x20project',_0x3a86b9=>{const _0x2eac26=_0x17ffc4,_0x4973e7={'SYKwC':_0x2eac26(0x2c9),'oNdmj':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','AXiRQ':_0x2eac26(0x314),'ZNTog':_0x2eac26(0x211),'uQGNd':_0x2eac26(0x2d2),'yOlBc':_0x2eac26(0x1ef),'gvkPE':_0x2eac26(0x291),'iUIGS':_0x2eac26(0x245)};return _0x3a86b9[_0x2eac26(0x26a)]('token',{'type':'string','description':_0x2eac26(0x315)})[_0x2eac26(0x293)]('skip-chromium',{'type':_0x4973e7['SYKwC'],'description':_0x4973e7[_0x2eac26(0x209)],'default':![]})[_0x2eac26(0x293)](_0x4973e7['AXiRQ'],{'type':'string','choices':[_0x4973e7['ZNTog'],_0x2eac26(0x2f1)],'description':_0x4973e7[_0x2eac26(0x202)]})['option'](_0x4973e7[_0x2eac26(0x2ab)],{'type':_0x2eac26(0x297),'description':_0x4973e7[_0x2eac26(0x22c)]})['option'](_0x2eac26(0x220),{'type':_0x4973e7[_0x2eac26(0x318)],'description':_0x2eac26(0x258),'default':![]})['option'](_0x4973e7[_0x2eac26(0x348)],{'type':_0x4973e7['SYKwC'],'description':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','default':![]});},async _0xf5b7a7=>{const _0x3edd94=_0x17ffc4,_0x516dd3={'fSaxO':function(_0x297aa1,_0x417163,_0x2ba59c){return _0x297aa1(_0x417163,_0x2ba59c);}};await _0x516dd3['fSaxO'](withTelemetry,_0x3edd94(0x273),_0x1bb456=>start(_0xf5b7a7['token'],{'skipChromium':_0xf5b7a7[_0x3edd94(0x20c)],'scope':_0xf5b7a7['scope'],'url':_0xf5b7a7['url'],'force':_0xf5b7a7[_0x3edd94(0x220)],'opencode':_0xf5b7a7['opencode']},_0x1bb456));})[_0x17ffc4(0x233)](_0x17ffc4(0x30d),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x5d457a=>{const _0x334855=_0x17ffc4,_0x510bdc={'fDndL':_0x334855(0x2bf),'YRiDn':_0x334855(0x249),'LZCET':'string','cavil':'base-url','pbrVF':_0x334855(0x277)};return _0x5d457a[_0x334855(0x26a)](_0x334855(0x268),{'type':_0x334855(0x297),'description':_0x510bdc[_0x334855(0x307)],'demandOption':!![]})['option'](_0x510bdc[_0x334855(0x2cc)],{'type':_0x510bdc['LZCET'],'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option'](_0x510bdc[_0x334855(0x2cf)],{'type':'string','description':_0x334855(0x2c7)})[_0x334855(0x293)]('skip-chromium',{'type':_0x334855(0x2c9),'description':_0x510bdc[_0x334855(0x27d)],'default':![]});},async _0x23ad0d=>{const _0x5320d6=_0x17ffc4,_0x358d57={'XMozC':function(_0x4b79ac,_0x3b9fdb,_0x11c506){return _0x4b79ac(_0x3b9fdb,_0x11c506);}};await _0x358d57['XMozC'](withTelemetry,_0x5320d6(0x25e),_0x34366a=>setupCi(_0x23ad0d['token'],{'profile':_0x23ad0d[_0x5320d6(0x249)],'baseUrl':_0x23ad0d[_0x5320d6(0x225)],'skipChromium':_0x23ad0d[_0x5320d6(0x20c)]},_0x34366a));})['command'](_0x17ffc4(0x278),_0x17ffc4(0x341),()=>{},async()=>{const _0x54b346=_0x17ffc4,_0x61fa1f={'nErOL':function(_0x593f39,_0x2fd880,_0x325e63){return _0x593f39(_0x2fd880,_0x325e63);},'WPSOi':'login'};await _0x61fa1f[_0x54b346(0x2fd)](withTelemetry,_0x61fa1f['WPSOi'],()=>login());})[_0x17ffc4(0x233)]('skillup','Install\x20Ranger\x20skills',_0x29738b=>{const _0x4b3e9e=_0x17ffc4,_0x3e3e65={'Zvkeu':_0x4b3e9e(0x245),'gMTvK':'boolean','kWQwb':'scope','czMYP':_0x4b3e9e(0x2f1),'LgtIY':'Install\x20scope\x20for\x20skills'};return _0x29738b[_0x4b3e9e(0x293)](_0x3e3e65[_0x4b3e9e(0x33c)],{'type':_0x3e3e65['gMTvK'],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x4b3e9e(0x293)](_0x3e3e65['kWQwb'],{'type':'string','choices':['user',_0x3e3e65['czMYP']],'description':_0x3e3e65['LgtIY']});},async _0x11f8c3=>{const _0x1e34a1=_0x17ffc4,_0x513acc=Boolean(_0x11f8c3['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x11f8c3[_0x1e34a1(0x314)],'platform':_0x513acc?_0x1e34a1(0x245):'claude'}));})['command'](_0x17ffc4(0x2ae),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x37ba13=_0x17ffc4,_0x2a868f={'rmgTG':'clean'};await withTelemetry(_0x2a868f[_0x37ba13(0x2e7)],()=>clean());})['command'](_0x17ffc4(0x249),'Manage\x20profiles',_0xb379f8=>{const _0x2238a6=_0x17ffc4,_0x5df356={'GVWPo':_0x2238a6(0x2a5),'OPYoY':'skip-auth','JPmYj':_0x2238a6(0x2c9),'dpcWa':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','zWFgc':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','DyDeG':'force','GKisy':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','zwsTv':_0x2238a6(0x264),'oSCKA':function(_0x132585,_0x264000,_0x111a99,_0x237b44){return _0x132585(_0x264000,_0x111a99,_0x237b44);},'vnoNa':'profile\x20add','BHKzh':function(_0x4d1ad9,_0x1d48c0){return _0x4d1ad9(_0x1d48c0);},'AEnqz':_0x2238a6(0x297),'MFwDb':_0x2238a6(0x2a3),'YOClf':function(_0x252e8f,_0x59a251,_0x5344a0){return _0x252e8f(_0x59a251,_0x5344a0);},'htvuY':'profile\x20use','TIvUf':'profile','DzipC':'profile\x20encrypt-auth','VRXna':function(_0x22bc4c,_0x214515,_0xa47ddc){return _0x22bc4c(_0x214515,_0xa47ddc);},'yjjCz':function(_0xcea583,_0xf5bfa1,_0x3890b0){return _0xcea583(_0xf5bfa1,_0x3890b0);},'sIcyV':'Profile\x20name','VemTc':_0x2238a6(0x205),'jagNj':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','VdISI':_0x2238a6(0x240),'KCWlU':_0x2238a6(0x2d8),'QFhUL':_0x2238a6(0x28a),'PXuIR':_0x2238a6(0x253),'VQlwo':'set\x20<profile>\x20<key>\x20<value>','vLbYt':_0x2238a6(0x26e),'sMNBk':_0x2238a6(0x22f),'miMkj':'Get\x20a\x20config\x20value','XpquW':'list\x20<profile>','jICSW':'List\x20all\x20config\x20for\x20a\x20profile','fDceM':'Remove\x20a\x20config\x20value','cjRkZ':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','WyZmS':'Switch\x20to\x20using\x20a\x20specific\x20profile','sEwnm':_0x2238a6(0x1f2),'CxaSR':'Update\x20authentication\x20for\x20an\x20existing\x20profile','YJwiB':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0xb379f8['usage'](PROFILE_HELP)[_0x2238a6(0x233)](_0x2238a6(0x1fd),_0x2238a6(0x22a),_0x376d30=>{const _0x26dc9a=_0x2238a6;return _0x376d30[_0x26dc9a(0x26a)](_0x5df356[_0x26dc9a(0x345)],{'type':'string','description':_0x26dc9a(0x32d),'demandOption':!![]})['option']('ci',{'type':_0x26dc9a(0x2c9),'description':_0x26dc9a(0x2f3),'default':![]})[_0x26dc9a(0x293)](_0x5df356['OPYoY'],{'type':_0x5df356[_0x26dc9a(0x2af)],'description':_0x5df356[_0x26dc9a(0x2da)],'default':![]})['option']('url',{'type':_0x26dc9a(0x297),'description':_0x5df356[_0x26dc9a(0x20d)]})['option'](_0x5df356['DyDeG'],{'type':_0x5df356[_0x26dc9a(0x2af)],'description':_0x5df356[_0x26dc9a(0x228)],'default':![]})[_0x26dc9a(0x293)](_0x5df356[_0x26dc9a(0x275)],{'type':'string','description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'});},async _0x959c42=>{const _0x2c19bb=_0x2238a6;await _0x5df356[_0x2c19bb(0x270)](withTelemetry,_0x5df356[_0x2c19bb(0x322)],_0x4511c3=>addEnv(_0x959c42[_0x2c19bb(0x2a5)],{'ci':_0x959c42['ci'],'skipAuth':_0x959c42[_0x2c19bb(0x26f)],'url':_0x959c42[_0x2c19bb(0x1ef)],'force':_0x959c42[_0x2c19bb(0x220)],'cdpEndpoint':_0x959c42['cdp-endpoint']},_0x4511c3),{'isElectron':_0x5df356['BHKzh'](Boolean,_0x959c42[_0x5df356[_0x2c19bb(0x275)]])});})['command']('use\x20<profile-name>',_0x5df356[_0x2238a6(0x201)],_0x9fd91=>{const _0x10dca5=_0x2238a6;return _0x9fd91['positional'](_0x5df356[_0x10dca5(0x345)],{'type':_0x5df356[_0x10dca5(0x23a)],'description':_0x5df356[_0x10dca5(0x242)],'demandOption':!![]});},async _0x29a795=>{const _0x46bfe7=_0x2238a6;await _0x5df356[_0x46bfe7(0x30b)](withTelemetry,_0x5df356['htvuY'],()=>useEnv(_0x29a795['profile-name']));})['command'](_0x2238a6(0x1f7),'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x5756c7=>{const _0x40189d=_0x2238a6;return _0x5756c7[_0x40189d(0x26a)](_0x5df356[_0x40189d(0x2ac)],{'type':_0x40189d(0x297),'description':'Profile\x20name','demandOption':!![]});},async _0x4a0c63=>{const _0x1d2565=_0x2238a6;await withTelemetry(_0x5df356[_0x1d2565(0x29d)],()=>authEncrypt(_0x4a0c63['profile']));})[_0x2238a6(0x233)]('ls',_0x5df356['sEwnm'],()=>{},async()=>{const _0x42e584=_0x2238a6;await _0x5df356[_0x42e584(0x1fb)](withTelemetry,_0x42e584(0x2c6),()=>envList());})['command'](_0x2238a6(0x2ee),_0x5df356[_0x2238a6(0x226)],_0x57566d=>{const _0x36f600=_0x2238a6;return _0x57566d[_0x36f600(0x26a)](_0x5df356[_0x36f600(0x345)],{'type':'string','description':_0x36f600(0x213),'demandOption':!![]});},async _0x59a6c9=>{const _0xf810ea=_0x2238a6;await _0x5df356[_0xf810ea(0x30c)](withTelemetry,'profile\x20update',_0x54c2e6=>updateEnv(_0x59a6c9[_0xf810ea(0x2a5)],_0x54c2e6));})['command'](_0x2238a6(0x20e),_0x2238a6(0x267),_0x3baca2=>{const _0x544ed5=_0x2238a6,_0x3da4ee={'imDVz':function(_0x638f49,_0x107202,_0x3d80ab){return _0x638f49(_0x107202,_0x3d80ab);},'CciuE':'profile\x20config\x20set','QpwPb':'Profile\x20name','UtiMi':_0x5df356['AEnqz'],'oYbBM':'Config\x20key','XQUsS':'profile','PPwed':_0x5df356['PXuIR']};return _0x3baca2[_0x544ed5(0x2d0)](PROFILE_CONFIG_HELP)[_0x544ed5(0x233)](_0x5df356['VQlwo'],_0x5df356[_0x544ed5(0x2a6)],_0x10f550=>{const _0x5d7c1f=_0x544ed5;return _0x10f550[_0x5d7c1f(0x26a)](_0x5df356['TIvUf'],{'type':_0x5d7c1f(0x297),'description':_0x5df356['sIcyV'],'demandOption':!![]})['positional'](_0x5df356[_0x5d7c1f(0x330)],{'type':_0x5df356['AEnqz'],'description':_0x5df356['jagNj'],'demandOption':!![]})['positional'](_0x5df356[_0x5d7c1f(0x2e8)],{'type':'string','description':_0x5df356[_0x5d7c1f(0x32a)],'demandOption':!![]});},async _0x5b5fb7=>{const _0x2d6401=_0x544ed5;await _0x3da4ee[_0x2d6401(0x1fe)](withTelemetry,_0x3da4ee[_0x2d6401(0x1fc)],()=>configSet(_0x5b5fb7[_0x2d6401(0x249)],_0x5b5fb7[_0x2d6401(0x205)],_0x5b5fb7['value']));})[_0x544ed5(0x233)](_0x5df356['sMNBk'],_0x5df356[_0x544ed5(0x34d)],_0x3c3e1f=>{const _0x36d8cd=_0x544ed5;return _0x3c3e1f[_0x36d8cd(0x26a)]('profile',{'type':_0x36d8cd(0x297),'description':_0x3da4ee[_0x36d8cd(0x2b9)],'demandOption':!![]})['positional']('key',{'type':_0x3da4ee[_0x36d8cd(0x20b)],'description':_0x3da4ee['oYbBM'],'demandOption':!![]});},async _0x47c66c=>{const _0x2d62f9=_0x544ed5;await _0x5df356['VRXna'](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x47c66c[_0x2d62f9(0x249)],_0x47c66c['key']));})[_0x544ed5(0x233)](_0x5df356[_0x544ed5(0x1f8)],_0x5df356[_0x544ed5(0x1f3)],_0x2166cf=>{const _0x5142c4=_0x544ed5;return _0x2166cf[_0x5142c4(0x26a)](_0x3da4ee[_0x5142c4(0x2b1)],{'type':_0x3da4ee[_0x5142c4(0x20b)],'description':_0x3da4ee[_0x5142c4(0x2b9)],'demandOption':!![]});},async _0x36552f=>{await withTelemetry(_0x3da4ee['PPwed'],()=>configList(_0x36552f['profile']));})[_0x544ed5(0x233)](_0x544ed5(0x223),_0x5df356['fDceM'],_0x3c2a63=>{const _0x83c433=_0x544ed5;return _0x3c2a63['positional'](_0x83c433(0x249),{'type':_0x5df356[_0x83c433(0x23a)],'description':_0x5df356['sIcyV'],'demandOption':!![]})[_0x83c433(0x26a)]('key',{'type':'string','description':_0x5df356['QFhUL'],'demandOption':!![]});},async _0x1e07d2=>{const _0x31c090=_0x544ed5;await withTelemetry(_0x31c090(0x2a9),()=>configUnset(_0x1e07d2['profile'],_0x1e07d2[_0x31c090(0x205)]));})['demandCommand'](0x1,_0x5df356['cjRkZ']);})['demandCommand'](0x1,_0x5df356['YJwiB']);})[_0x17ffc4(0x233)](_0x17ffc4(0x34b),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x53f55c=_0x17ffc4,_0x19a4e3={'rBYkT':_0x53f55c(0x34b)};await withTelemetry(_0x19a4e3['rBYkT'],()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x7bb69={'MAqwF':function(_0x39cb4d,_0xd23cfe,_0x197c3e){return _0x39cb4d(_0xd23cfe,_0x197c3e);}};await _0x7bb69['MAqwF'](withTelemetry,'update',()=>update());})[_0x17ffc4(0x233)]('go',_0x17ffc4(0x2f9),_0x474bb0=>{const _0x14b380=_0x17ffc4,_0x4ad91c={'vFKBx':'profile','Xndfm':_0x14b380(0x297),'juZKI':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','PyxQB':_0x14b380(0x2aa),'yAozI':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','aolTw':_0x14b380(0x34c),'XjgAQ':'Scenario\x20index\x20(1-based)','cjkXh':'start-path','tThrn':'model','VCYNT':_0x14b380(0x21b),'HikmS':_0x14b380(0x235),'NaMip':'verified','TBFLc':'partial','wSFPn':'boolean','ahnBa':'env','uWQns':_0x14b380(0x2b5)};return _0x474bb0[_0x14b380(0x293)](_0x4ad91c[_0x14b380(0x298)],{'type':_0x4ad91c[_0x14b380(0x292)],'description':_0x4ad91c[_0x14b380(0x323)]})['option'](_0x4ad91c[_0x14b380(0x2fb)],{'type':_0x14b380(0x297),'description':_0x4ad91c['yAozI']})['option'](_0x14b380(0x283),{'type':_0x4ad91c[_0x14b380(0x207)],'description':_0x4ad91c['XjgAQ']})[_0x14b380(0x293)](_0x4ad91c['cjkXh'],{'type':_0x4ad91c[_0x14b380(0x292)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})[_0x14b380(0x293)](_0x4ad91c['tThrn'],{'type':_0x4ad91c[_0x14b380(0x292)],'description':_0x4ad91c['VCYNT']})['option'](_0x4ad91c[_0x14b380(0x256)],{'type':_0x14b380(0x297),'hidden':!![],'choices':[_0x4ad91c[_0x14b380(0x2b6)],_0x4ad91c['TBFLc'],'blocked','failed',_0x14b380(0x1f1)]})[_0x14b380(0x293)](_0x14b380(0x29c),{'type':_0x4ad91c[_0x14b380(0x2d3)],'hidden':!![]})['option'](_0x4ad91c['ahnBa'],{'type':_0x4ad91c[_0x14b380(0x292)],'hidden':!![]})['option'](_0x4ad91c['uWQns'],{'type':_0x4ad91c[_0x14b380(0x292)],'hidden':!![]})[_0x14b380(0x293)](_0x14b380(0x2b8),{'type':_0x4ad91c[_0x14b380(0x207)],'hidden':!![]});},async _0x3c7bd6=>{await runGoCommand(_0x3c7bd6);})[_0x17ffc4(0x233)]('auth',![],_0x19c05b=>{const _0x13c870=_0x17ffc4,_0x435b13={'xuSjG':'profile','GivNX':_0x13c870(0x297),'yIkua':'Profile\x20name','YrJTm':function(_0x5e371b,_0x51375c,_0xe75601){return _0x5e371b(_0x51375c,_0xe75601);},'AXBOM':'ranger\x20auth\x20encrypt','uAnRe':_0x13c870(0x346),'pacPx':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x19c05b['command'](_0x13c870(0x24f),![],_0x4417e0=>{const _0x2e04b2=_0x13c870;return _0x4417e0[_0x2e04b2(0x26a)](_0x435b13[_0x2e04b2(0x2be)],{'type':_0x435b13[_0x2e04b2(0x302)],'description':_0x435b13['yIkua'],'demandOption':!![]});},async _0x22dd70=>{const _0x5201f8=_0x13c870;_0x435b13[_0x5201f8(0x222)](warnRenamed,_0x435b13[_0x5201f8(0x2e0)],_0x435b13[_0x5201f8(0x276)]),await authEncrypt(_0x22dd70[_0x5201f8(0x249)]);})[_0x13c870(0x299)](0x1,_0x435b13[_0x13c870(0x2cd)]);},()=>{})['command'](_0x17ffc4(0x2e6),![],_0x1fa129=>{const _0x116839=_0x17ffc4,_0x3f3d41={'MEDae':'string','yVgtu':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','aDvBl':'boolean','LPcKC':'scope','omySx':_0x116839(0x1ef),'OBcWJ':_0x116839(0x291),'nhltV':_0x116839(0x220),'CfsEH':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x1fa129['positional']('token',{'type':_0x3f3d41['MEDae'],'description':_0x3f3d41['yVgtu']})[_0x116839(0x293)]('skip-chromium',{'type':_0x3f3d41[_0x116839(0x335)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x116839(0x293)](_0x3f3d41['LPcKC'],{'type':_0x3f3d41[_0x116839(0x204)],'choices':['user',_0x116839(0x2f1)],'description':_0x116839(0x2d2)})['option'](_0x3f3d41['omySx'],{'type':_0x3f3d41[_0x116839(0x204)],'description':_0x3f3d41[_0x116839(0x303)]})[_0x116839(0x293)](_0x3f3d41[_0x116839(0x34a)],{'type':_0x116839(0x2c9),'description':_0x3f3d41['CfsEH'],'default':![]});},async _0x1af7d2=>{const _0x127ce6=_0x17ffc4,_0x54439c={'eUlpQ':function(_0x4ef31f,_0x2efd6c,_0x3b583f){return _0x4ef31f(_0x2efd6c,_0x3b583f);},'hKaBP':_0x127ce6(0x319),'gghOQ':_0x127ce6(0x29a),'lpsJs':'start'};_0x54439c['eUlpQ'](warnRenamed,_0x54439c[_0x127ce6(0x31b)],_0x54439c[_0x127ce6(0x313)]),await withTelemetry(_0x54439c['lpsJs'],_0x589059=>start(_0x1af7d2['token'],{'skipChromium':_0x1af7d2['skip-chromium'],'scope':_0x1af7d2['scope'],'url':_0x1af7d2['url'],'force':_0x1af7d2['force']},_0x589059));})[_0x17ffc4(0x233)](_0x17ffc4(0x1f4),![],_0x51077a=>{const _0x278a9e=_0x17ffc4,_0x537dd7={'rjAPv':'env','DhIWr':'task','HMibN':_0x278a9e(0x272),'QWFyD':'item','ZgKyk':'string','LFhIg':'notes','QfQmd':'start-path','adOQo':'blocked','FsOGe':'failed','noZBh':'incomplete'};return _0x51077a[_0x278a9e(0x293)](_0x537dd7['rjAPv'],{'type':_0x278a9e(0x297),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x537dd7['DhIWr'],{'type':_0x278a9e(0x297),'description':_0x537dd7[_0x278a9e(0x224)]})['option'](_0x537dd7['QWFyD'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x278a9e(0x249),{'type':_0x537dd7[_0x278a9e(0x243)],'hidden':!![]})['option'](_0x537dd7['LFhIg'],{'type':_0x278a9e(0x297),'hidden':!![]})[_0x278a9e(0x293)](_0x278a9e(0x283),{'type':'number','hidden':!![]})[_0x278a9e(0x293)](_0x537dd7[_0x278a9e(0x30a)],{'type':_0x537dd7[_0x278a9e(0x243)],'description':_0x278a9e(0x32c)})['option'](_0x278a9e(0x1f9),{'type':_0x278a9e(0x297),'hidden':!![]})['option']('debug-outcome',{'type':_0x537dd7[_0x278a9e(0x243)],'hidden':!![],'choices':['verified',_0x278a9e(0x32b),_0x537dd7[_0x278a9e(0x337)],_0x537dd7[_0x278a9e(0x2d6)],_0x537dd7[_0x278a9e(0x2dd)]]});},async _0x490a89=>{await runGoCommand(_0x490a89,!![]);})['command']('add\x20env\x20<env-name>',![],_0x43d035=>{const _0x499403=_0x17ffc4,_0xa7cc99={'wAQgk':'string','vAiwk':'boolean'};return _0x43d035['positional']('env-name',{'type':_0xa7cc99[_0x499403(0x2f4)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x499403(0x293)]('ci',{'type':_0xa7cc99['vAiwk'],'description':_0x499403(0x234),'default':![]})[_0x499403(0x293)](_0x499403(0x26f),{'type':_0xa7cc99[_0x499403(0x30e)],'description':_0x499403(0x281),'default':![]});},async _0x136672=>{const _0x21241f=_0x17ffc4,_0x3edcfd={'FxXya':_0x21241f(0x320),'iDyNr':function(_0x186c13,_0x47927e,_0x42752a){return _0x186c13(_0x47927e,_0x42752a);}};warnRenamed(_0x3edcfd[_0x21241f(0x216)],'ranger\x20profile\x20add'),await _0x3edcfd[_0x21241f(0x2ba)](withTelemetry,'add\x20env',_0x40b892=>addEnv(_0x136672[_0x21241f(0x24a)],{'ci':_0x136672['ci'],'skipAuth':_0x136672['skip-auth']},_0x40b892));})['command'](_0x17ffc4(0x32e),![],_0x45d482=>{const _0x4b9712=_0x17ffc4,_0x1cf99b={'XrbuC':_0x4b9712(0x24a),'ZDGFy':_0x4b9712(0x2c4)};return _0x45d482['positional'](_0x1cf99b['XrbuC'],{'type':'string','description':_0x1cf99b['ZDGFy'],'demandOption':!![]});},async _0x337b94=>{const _0x4bb494=_0x17ffc4,_0x32eaeb={'zpMJl':_0x4bb494(0x1ed),'HJsQY':function(_0x5e9b47,_0x13aede,_0x223d46){return _0x5e9b47(_0x13aede,_0x223d46);}};warnRenamed(_0x32eaeb['zpMJl'],_0x4bb494(0x2a4)),await _0x32eaeb[_0x4bb494(0x289)](withTelemetry,_0x4bb494(0x311),()=>useEnv(_0x337b94['env-name']));})['command'](_0x17ffc4(0x20e),![],_0x1fbd4f=>{const _0x11ec9c=_0x17ffc4,_0xf6800f={'GefNE':'string','OmMdp':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','RqoiU':'value','RIfiP':function(_0x1b9d47,_0x564fdf,_0x2b548b){return _0x1b9d47(_0x564fdf,_0x2b548b);},'pjUWu':'config\x20set','FeGot':_0x11ec9c(0x2de),'DuKqI':function(_0x3d1abe,_0x5229da,_0xae42f5){return _0x3d1abe(_0x5229da,_0xae42f5);},'yANxX':'env','fkaNZ':_0x11ec9c(0x22e),'UZckp':'ranger\x20profile\x20config\x20list','ptNFA':_0x11ec9c(0x33f),'BMysP':_0x11ec9c(0x2c8),'MFPdT':'Config\x20key\x20to\x20remove','KOLtj':function(_0x4a7ef4,_0x712dd0,_0x651f53){return _0x4a7ef4(_0x712dd0,_0x651f53);},'uTgGv':_0x11ec9c(0x317),'aExsX':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x1fbd4f['command'](_0x11ec9c(0x262),![],_0x2b393c=>{const _0x4cbb11=_0x11ec9c;return _0x2b393c[_0x4cbb11(0x26a)](_0x4cbb11(0x2ec),{'type':_0x4cbb11(0x297),'description':_0x4cbb11(0x2c8),'demandOption':!![]})[_0x4cbb11(0x26a)]('key',{'type':_0xf6800f['GefNE'],'description':_0xf6800f['OmMdp'],'demandOption':!![]})[_0x4cbb11(0x26a)](_0xf6800f[_0x4cbb11(0x20f)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0xc83666=>{const _0x44ff25=_0x11ec9c;_0xf6800f['RIfiP'](warnRenamed,_0x44ff25(0x296),_0x44ff25(0x2c3)),await withTelemetry(_0xf6800f['pjUWu'],()=>configSet(_0xc83666[_0x44ff25(0x2ec)],_0xc83666['key'],_0xc83666['value']));})['command'](_0x11ec9c(0x344),![],_0x23b88f=>{const _0x2af432=_0x11ec9c;return _0x23b88f['positional'](_0x2af432(0x2ec),{'type':_0xf6800f['GefNE'],'description':'Environment\x20name','demandOption':!![]})[_0x2af432(0x26a)](_0x2af432(0x205),{'type':'string','description':_0x2af432(0x230),'demandOption':!![]});},async _0x18dff6=>{const _0x1150e5=_0x11ec9c;warnRenamed(_0xf6800f[_0x1150e5(0x251)],_0x1150e5(0x30f)),await _0xf6800f['DuKqI'](withTelemetry,_0x1150e5(0x25d),()=>configGet(_0x18dff6[_0x1150e5(0x2ec)],_0x18dff6[_0x1150e5(0x205)]));})['command'](_0x11ec9c(0x321),![],_0x285bca=>{const _0x191d95=_0x11ec9c;return _0x285bca[_0x191d95(0x26a)](_0xf6800f[_0x191d95(0x328)],{'type':_0xf6800f[_0x191d95(0x229)],'description':_0x191d95(0x2c8),'demandOption':!![]});},async _0x221335=>{const _0x533d3a=_0x11ec9c;warnRenamed(_0xf6800f[_0x533d3a(0x312)],_0xf6800f['UZckp']),await withTelemetry(_0xf6800f['ptNFA'],()=>configList(_0x221335['env']));})['command']('unset\x20<env>\x20<key>',![],_0x130441=>{const _0x52ad12=_0x11ec9c;return _0x130441['positional']('env',{'type':'string','description':_0xf6800f[_0x52ad12(0x214)],'demandOption':!![]})[_0x52ad12(0x26a)](_0x52ad12(0x205),{'type':_0xf6800f['GefNE'],'description':_0xf6800f[_0x52ad12(0x2f0)],'demandOption':!![]});},async _0x2f59be=>{const _0x3a56f2=_0x11ec9c;_0xf6800f[_0x3a56f2(0x28f)](warnRenamed,'ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0xf6800f[_0x3a56f2(0x2e4)],()=>configUnset(_0x2f59be['env'],_0x2f59be['key']));})['demandCommand'](0x1,_0xf6800f[_0x11ec9c(0x301)]);})[_0x17ffc4(0x233)]('env',![],_0x4ca9cf=>{const _0x4ad2dc=_0x17ffc4,_0x478305={'pXFWy':function(_0xb58dd9,_0x51da23,_0x19d31f){return _0xb58dd9(_0x51da23,_0x19d31f);},'uxfir':_0x4ad2dc(0x288),'KVLsM':_0x4ad2dc(0x27c),'FLNsu':'env-name','vCxvl':function(_0x7713cd,_0x823562,_0x380c9d){return _0x7713cd(_0x823562,_0x380c9d);},'QznmE':'ranger\x20env\x20update','qwvnG':_0x4ad2dc(0x23d),'GlqEz':function(_0x42f1c3,_0x3e2e3d,_0x5812bc){return _0x42f1c3(_0x3e2e3d,_0x5812bc);}};return _0x4ca9cf['command']('ls',![],()=>{},async()=>{const _0x3b376d=_0x4ad2dc;_0x478305['pXFWy'](warnRenamed,_0x478305['uxfir'],_0x3b376d(0x21e)),await withTelemetry(_0x478305[_0x3b376d(0x203)],()=>envList());})['command']('update\x20<env-name>',![],_0x555aa3=>{const _0x391960=_0x4ad2dc;return _0x555aa3[_0x391960(0x26a)](_0x478305[_0x391960(0x31e)],{'type':_0x391960(0x297),'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x324390=>{const _0x67f55c=_0x4ad2dc;_0x478305[_0x67f55c(0x200)](warnRenamed,_0x478305[_0x67f55c(0x309)],_0x478305['qwvnG']),await _0x478305['GlqEz'](withTelemetry,_0x67f55c(0x2e5),_0x38c84b=>updateEnv(_0x324390['env-name'],_0x38c84b));})[_0x4ad2dc(0x299)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x17ffc4(0x233)](_0x17ffc4(0x2fe),![],_0x202cbd=>{const _0x3daa57=_0x17ffc4,_0x4b9149={'ykBoO':_0x3daa57(0x2c5),'putOD':_0x3daa57(0x297),'GEhVS':_0x3daa57(0x23c),'Pjhyc':'Feature\x20review\x20description','uFsyP':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','zLnwS':'scenario','ypqOn':'array','HlZBu':function(_0xc1c4ff,_0x21bc8a,_0x115953){return _0xc1c4ff(_0x21bc8a,_0x115953);},'gCerj':'ranger\x20feature\x20create','RFiOy':'ranger\x20create','LzwrE':_0x3daa57(0x329),'xSeZy':function(_0x43d496,_0x432e1e,_0x51c6ab){return _0x43d496(_0x432e1e,_0x51c6ab);},'NFdNK':_0x3daa57(0x2c2),'XlaRS':_0x3daa57(0x2c9),'sjsjz':_0x3daa57(0x340),'IMWRx':_0x3daa57(0x34c),'jNvaG':_0x3daa57(0x2e3),'uPIcQ':function(_0x15c288,_0x401114,_0x13afd4){return _0x15c288(_0x401114,_0x13afd4);},'shglh':_0x3daa57(0x2b7),'hMdOH':_0x3daa57(0x33a),'sXCJJ':'Feature\x20review\x20ID','wwcfG':'ranger\x20feature\x20show','IBmLD':function(_0x2b9d13,_0x1a0388,_0x3e2992){return _0x2b9d13(_0x1a0388,_0x3e2992);},'TwDdD':'ranger\x20feature\x20resume','AInyq':'ranger\x20resume','atTjW':function(_0x2353ba,_0x39cba9,_0x3b8e3){return _0x2353ba(_0x39cba9,_0x3b8e3);},'GrFrn':'ranger\x20feature\x20get-feedback','MOCBB':'ranger\x20get-review','pAFeF':function(_0x54e65f,_0x365b24,_0x179439){return _0x54e65f(_0x365b24,_0x179439);},'XXums':'ranger\x20feature\x20delete','LoDNv':_0x3daa57(0x31d),'ODQXp':function(_0x1b0f79,_0x155671,_0x44317e){return _0x1b0f79(_0x155671,_0x44317e);},'gnwaf':'ranger\x20feature\x20restore','gAmbP':_0x3daa57(0x305),'JAkMZ':'show\x20[id]','fqLva':'add-checklist-item\x20<description>','WPolL':_0x3daa57(0x26d)};return _0x202cbd['command'](_0x4b9149[_0x3daa57(0x342)],![],_0x28bc69=>{const _0x57a83a=_0x3daa57;return _0x28bc69['positional'](_0x4b9149['ykBoO'],{'type':_0x4b9149['putOD'],'description':_0x57a83a(0x24c),'demandOption':!![]})['option'](_0x4b9149[_0x57a83a(0x24e)],{'type':'string','alias':'d','description':_0x4b9149['Pjhyc']})[_0x57a83a(0x293)](_0x57a83a(0x287),{'type':_0x57a83a(0x23f),'alias':'c','description':_0x4b9149['uFsyP']})[_0x57a83a(0x293)](_0x4b9149['zLnwS'],{'type':_0x4b9149['ypqOn'],'hidden':!![]});},async _0x249f37=>{const _0x123596=_0x3daa57;_0x4b9149['HlZBu'](warnRenamed,_0x4b9149[_0x123596(0x25a)],_0x4b9149[_0x123596(0x2fa)]),warnFlagRenamed(_0x4b9149[_0x123596(0x2fa)],_0x123596(0x308),_0x4b9149['LzwrE']);const _0x4e2c45=_0x249f37[_0x123596(0x283)]||_0x249f37[_0x123596(0x287)];await _0x4b9149['xSeZy'](withTelemetry,_0x4b9149['NFdNK'],()=>featureCreate(_0x249f37['name'],{'description':_0x249f37[_0x123596(0x23c)],'scenarios':_0x4e2c45}));})[_0x3daa57(0x233)](_0x3daa57(0x26c),![],_0x1f45aa=>{const _0x1a4f2c=_0x3daa57;return _0x1f45aa['option'](_0x1a4f2c(0x215),{'type':_0x4b9149[_0x1a4f2c(0x280)],'description':_0x4b9149['sjsjz']})[_0x1a4f2c(0x293)]('limit',{'type':_0x1a4f2c(0x34c),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x1a4f2c(0x248),{'type':_0x4b9149['IMWRx'],'alias':'o','description':_0x4b9149['jNvaG'],'default':0x0})[_0x1a4f2c(0x293)]('include-deleted',{'type':_0x1a4f2c(0x2c9),'alias':'d','description':_0x1a4f2c(0x2f6),'default':![]});},async _0x994191=>{const _0x2691fd=_0x3daa57;_0x4b9149[_0x2691fd(0x27f)](warnRenamed,_0x4b9149['shglh'],_0x4b9149['hMdOH']),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x994191[_0x2691fd(0x215)],'limit':_0x994191['limit'],'offset':_0x994191['offset'],'includeDeleted':_0x994191[_0x2691fd(0x2bb)]}));})[_0x3daa57(0x233)](_0x4b9149[_0x3daa57(0x22d)],![],_0x5281c2=>{const _0x19b893=_0x3daa57;return _0x5281c2[_0x19b893(0x26a)]('id',{'type':_0x19b893(0x297),'description':_0x4b9149[_0x19b893(0x254)]});},async _0x26a4b6=>{const _0x1ad4b9=_0x3daa57;_0x4b9149[_0x1ad4b9(0x244)](warnRenamed,_0x4b9149['wwcfG'],'ranger\x20show'),await _0x4b9149['IBmLD'](withTelemetry,'feature\x20show',()=>featureShow(_0x26a4b6['id']));})['command'](_0x3daa57(0x325),![],_0x411e32=>{const _0x4c576=_0x3daa57;return _0x411e32['positional']('id',{'type':_0x4c576(0x297),'description':_0x4c576(0x333)});},async _0x13d906=>{const _0x190489=_0x3daa57;_0x4b9149[_0x190489(0x27f)](warnRenamed,_0x4b9149[_0x190489(0x2ed)],_0x4b9149[_0x190489(0x2c1)]),await _0x4b9149[_0x190489(0x269)](withTelemetry,_0x190489(0x231),()=>featureResume(_0x13d906['id']));})[_0x3daa57(0x233)](_0x4b9149[_0x3daa57(0x279)],![],_0x559028=>{const _0x1f6f9a=_0x3daa57;return _0x559028[_0x1f6f9a(0x26a)](_0x4b9149['GEhVS'],{'type':_0x4b9149[_0x1f6f9a(0x20a)],'description':'Scenario\x20description','demandOption':!![]})[_0x1f6f9a(0x293)]('id',{'type':_0x1f6f9a(0x297),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x131bbb=>{const _0x35d15a=_0x3daa57;warnRenamed('ranger\x20feature\x20add-checklist-item',_0x35d15a(0x21d)),await _0x4b9149['atTjW'](withTelemetry,_0x35d15a(0x208),()=>featureAddScenario(_0x131bbb['description'],_0x131bbb['id']));})['command'](_0x3daa57(0x22b),![],_0x2d1a15=>{const _0xf459bf=_0x3daa57;return _0x2d1a15[_0xf459bf(0x26a)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xd14be=>{warnRenamed(_0x4b9149['GrFrn'],_0x4b9149['MOCBB']),await _0x4b9149['pAFeF'](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0xd14be['id']));})['command'](_0x3daa57(0x217),![],_0x2739c4=>{const _0x43eb44=_0x3daa57;return _0x2739c4[_0x43eb44(0x26a)]('id',{'type':_0x43eb44(0x297),'description':_0x4b9149['sXCJJ']});},async _0x244ece=>{warnRenamed(_0x4b9149['XXums'],'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x244ece['id']));})['command'](_0x4b9149['WPolL'],![],_0x546261=>{const _0x512af2=_0x3daa57;return _0x546261[_0x512af2(0x26a)]('id',{'type':_0x4b9149[_0x512af2(0x20a)],'description':_0x4b9149['LoDNv'],'demandOption':!![]});},async _0x55abba=>{const _0x39d35e=_0x3daa57;_0x4b9149['ODQXp'](warnRenamed,_0x4b9149[_0x39d35e(0x2b0)],_0x39d35e(0x266)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x55abba['id']));})['demandCommand'](0x1,_0x3daa57(0x2f5));})[_0x17ffc4(0x233)](_0x17ffc4(0x23b),![],_0x256849=>{const _0x182a3c=_0x17ffc4,_0xc2bd9c={'MqdPy':_0x182a3c(0x236),'mRFYE':_0x182a3c(0x343),'WEKBq':_0x182a3c(0x297),'cMSRA':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','UxJvE':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XIVAD':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','cNwYp':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x256849['command'](_0x182a3c(0x31c),_0xc2bd9c['UxJvE'],_0x519a77=>{const _0x48b6e6=_0x182a3c;return _0x519a77[_0x48b6e6(0x293)]('session-id',{'type':_0x48b6e6(0x297),'description':_0x48b6e6(0x261)});},async _0x10afc5=>{const _0x28c4d3=_0x182a3c;await withTelemetry(_0xc2bd9c['MqdPy'],()=>hook('enable',_0x10afc5[_0x28c4d3(0x343)]));})[_0x182a3c(0x233)]('disable',_0xc2bd9c['XIVAD'],_0x4b3d65=>{const _0x497ec4=_0x182a3c;return _0x4b3d65[_0x497ec4(0x293)](_0xc2bd9c[_0x497ec4(0x2ca)],{'type':_0xc2bd9c[_0x497ec4(0x285)],'description':_0xc2bd9c['cMSRA']});},async _0x52fa2a=>{const _0x58660f=_0x182a3c;await withTelemetry('hook:disable',()=>hook(_0x58660f(0x2e9),_0x52fa2a['session-id']));})['option'](_0x182a3c(0x2c5),{'type':'string','description':_0xc2bd9c[_0x182a3c(0x28e)]})['option'](_0xc2bd9c[_0x182a3c(0x2ca)],{'type':_0x182a3c(0x297),'description':_0xc2bd9c[_0x182a3c(0x24d)]});},async _0x51e59b=>{const _0x1ecd5b=_0x17ffc4,_0x53817d={'ZnqIK':'session-id'};_0x51e59b[_0x1ecd5b(0x2c5)]&&await hook(_0x51e59b['name'],_0x51e59b[_0x53817d[_0x1ecd5b(0x2a7)]]);})[_0x17ffc4(0x299)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x3441d6,_0x5199c6,_0x13f85b)=>{const _0x4943c5=_0x17ffc4,_0x32e589={'HfZNd':function(_0x51b3bc,_0xadf3e2){return _0x51b3bc(_0xadf3e2);},'amxnO':function(_0x1aa0c0,_0xf03682,_0x3ef472){return _0x1aa0c0(_0xf03682,_0x3ef472);},'rlwpR':function(_0x443423,_0x18981d){return _0x443423||_0x18981d;}},_0x329555=_0x32e589[_0x4943c5(0x284)](sanitizeArgs,process['argv']['slice'](0x2)),_0x59b376=_0x32e589['amxnO'](getErrorType,_0x3441d6,_0x5199c6);if(_0x3441d6&&_0x3441d6['includes'](_0x4943c5(0x24b))){const _0x425e50=process[_0x4943c5(0x29b)][0x2];console['error'](_0x4943c5(0x295)+_0x425e50),console[_0x4943c5(0x25c)](_0x4943c5(0x2ea));}else{if(_0x3441d6)console[_0x4943c5(0x25c)]('\x0a'+_0x3441d6+'\x0a');else _0x5199c6&&console[_0x4943c5(0x25c)]('\x0aError:\x20'+_0x5199c6[_0x4943c5(0x294)]+'\x0a');}await logDesirePath({'rawCommand':_0x329555,'errorMessage':_0x3441d6||_0x5199c6?.['message'],'errorType':_0x59b376});const _0x4187af=getCurrentCollector();_0x4187af&&await _0x4187af[_0x4943c5(0x324)](_0x5199c6||new Error(_0x32e589[_0x4943c5(0x332)](_0x3441d6,'Unknown\x20error'))),process['exit'](0x1);})['epilogue'](_0x17ffc4(0x2d4)+'\x20\x20https://docs.ranger.net\x0a'+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x17ffc4(0x255)]('help','h')[_0x17ffc4(0x31a)]();
2
+ const _0x4698fa=_0x51be;(function(_0x1d55b7,_0x32fa5f){const _0x2f84cd=_0x51be,_0x36d1c1=_0x1d55b7();while(!![]){try{const _0xb5ec6e=parseInt(_0x2f84cd(0x101))/0x1*(parseInt(_0x2f84cd(0x1b9))/0x2)+-parseInt(_0x2f84cd(0x1b0))/0x3*(-parseInt(_0x2f84cd(0x20a))/0x4)+-parseInt(_0x2f84cd(0x1b4))/0x5+parseInt(_0x2f84cd(0xf4))/0x6*(parseInt(_0x2f84cd(0x17d))/0x7)+parseInt(_0x2f84cd(0x1d3))/0x8+parseInt(_0x2f84cd(0x1c8))/0x9*(-parseInt(_0x2f84cd(0x232))/0xa)+-parseInt(_0x2f84cd(0x172))/0xb;if(_0xb5ec6e===_0x32fa5f)break;else _0x36d1c1['push'](_0x36d1c1['shift']());}catch(_0x34f925){_0x36d1c1['push'](_0x36d1c1['shift']());}}}(_0x374e,0xcb979));import _0x4e43e2 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x387933=_0x51be,_0x2cc14b={'nnqVA':function(_0x1d6f58,_0x26ff8c){return _0x1d6f58(_0x26ff8c);},'OUQJF':function(_0x9e5f03,_0x26195f,_0x460163){return _0x9e5f03(_0x26195f,_0x460163);},'YLwQC':function(_0x577511,_0xb0d6){return _0x577511(_0xb0d6);}};let _0x5148bd=process['cwd']();const _0x48a481=_0x2cc14b['nnqVA'](parse,_0x5148bd)[_0x387933(0x123)];while(_0x5148bd!==_0x48a481){if(existsSync(_0x2cc14b[_0x387933(0x1a3)](join,_0x5148bd,'.ranger'))||_0x2cc14b[_0x387933(0x1ec)](existsSync,_0x2cc14b['OUQJF'](join,_0x5148bd,_0x387933(0x184))))return _0x5148bd;_0x5148bd=dirname(_0x5148bd);}return process[_0x387933(0x183)]();}_0x4e43e2[_0x4698fa(0x23d)]({'path':join(findProjectRoot(),'.env')});import _0xf004b1 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';function _0x51be(_0x5417fb,_0x352f29){_0x5417fb=_0x5417fb-0xee;const _0x374e4c=_0x374e();let _0x51be83=_0x374e4c[_0x5417fb];return _0x51be83;}import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x4698fa(0x153),async _0x54e03e=>{const _0x44a016=getCurrentCollector();_0x44a016&&await _0x44a016['trackCommandError'](_0x54e03e),process['exitCode']=0x1;});const rawArgs=process[_0x4698fa(0x105)]['slice'](0x2),TOP_LEVEL_HELP=_0x4698fa(0x20f),PROFILE_HELP=_0x4698fa(0x1db),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x3d1372,_0x84cf7f){console['error']('\x0a'+_0x3d1372+'\x20is\x20now\x20'+_0x84cf7f+'\x0a');}function argUsed(_0x2b25d4){const _0x337130=_0x4698fa;return rawArgs[_0x337130(0x148)](_0x163c01=>_0x163c01===_0x2b25d4||_0x163c01[_0x337130(0x1c0)](_0x2b25d4+'='));}function warnFlagRenamed(_0x1741f4,_0x44633a,_0x576062){const _0x4267f3=_0x4698fa,_0x4dc6c9={'ukuwm':function(_0x5ab1b9,_0x1ed89e,_0x17602d){return _0x5ab1b9(_0x1ed89e,_0x17602d);}};argUsed(_0x44633a)&&_0x4dc6c9[_0x4267f3(0x186)](warnRenamed,_0x1741f4+'\x20'+_0x44633a,_0x1741f4+'\x20'+_0x576062);}async function runGoCommand(_0x3d5036,_0xc310d0=![]){const _0xe39da3=_0x4698fa,_0x1e05f8={'EIdJc':function(_0x5cfd0b,_0x3485d5){return _0x5cfd0b+_0x3485d5;},'GYJCt':'ranger\x20go','lHljn':_0xe39da3(0x1c4),'BKylT':'--task','xPucC':_0xe39da3(0x167),'nLSqw':function(_0x725cf0){return _0x725cf0();},'RISKl':function(_0x322539,_0x7b8abf){return _0x322539??_0x7b8abf;},'hkiGJ':_0xe39da3(0x23d),'Sxgpq':'default','iRXlr':function(_0x301212,_0x1d1762){return _0x301212(_0x1d1762);},'quqIO':'debug-address-comments','IqeuF':_0xe39da3(0x19b),'wTvvs':function(_0x37cd43,_0x425ac1){return _0x37cd43===_0x425ac1;},'DxDFx':_0xe39da3(0x214),'NxBeE':'blocked','BvDVW':'\x20FAILED','MuCZo':'\x0aIssues:'};_0xc310d0&&warnRenamed(_0xe39da3(0x1b2),'ranger\x20go');warnFlagRenamed(_0x1e05f8['GYJCt'],_0xe39da3(0x13e),_0x1e05f8['lHljn']),warnFlagRenamed(_0x1e05f8[_0xe39da3(0x19f)],_0x1e05f8['BKylT'],_0x1e05f8['xPucC']),warnFlagRenamed('ranger\x20go','--item','--scenario');const _0x1516d9=await _0x1e05f8['nLSqw'](loadRangerConfig),_0x3ca331=_0x3d5036['model'],_0x3b0d00=_0x1516d9[_0xe39da3(0x1d1)],_0x56514a=_0x1e05f8[_0xe39da3(0x12d)](_0x3ca331,_0x3b0d00),_0x24006d=_0x3ca331?'flag':_0x3b0d00?_0x1e05f8[_0xe39da3(0x1a4)]:_0x1e05f8['Sxgpq'],_0x26a61f=await _0x1e05f8['iRXlr'](verifyFeature,{'profile':_0x3d5036['profile']??_0x3d5036['env'],'notes':_0x3d5036[_0xe39da3(0x139)]??_0x3d5036['task'],'scenario':_0x3d5036[_0xe39da3(0x102)]??_0x3d5036[_0xe39da3(0x1df)],'startPath':_0x3d5036['start-path'],'debugOutcome':_0x3d5036[_0xe39da3(0x223)],'debugAddressComments':_0x3d5036[_0x1e05f8['quqIO']],'verifyModel':_0x56514a,'verifyModelInput':_0x56514a,'verifyModelSource':_0x24006d});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0xe39da3(0x1d8)](_0x26a61f[_0xe39da3(0x121)]===_0x1e05f8[_0xe39da3(0x239)]?'\x20VERIFIED':_0x1e05f8['wTvvs'](_0x26a61f['evaluation'],_0xe39da3(0x218))?_0xe39da3(0x127):_0x26a61f['evaluation']===_0xe39da3(0x1dc)?_0x1e05f8['DxDFx']:_0x1e05f8['wTvvs'](_0x26a61f[_0xe39da3(0x121)],_0x1e05f8[_0xe39da3(0x119)])?_0xe39da3(0x138):_0x1e05f8[_0xe39da3(0x188)]),console['log']('='['repeat'](0x3c)),console['log'](_0xe39da3(0xfb)+_0x26a61f['summary']),console['log'](_0xe39da3(0x142)+_0x26a61f[_0xe39da3(0x121)]),console['log'](_0xe39da3(0x220)+_0x26a61f[_0xe39da3(0x1e1)]),_0x26a61f['issues']?.[_0xe39da3(0x18c)]&&(console[_0xe39da3(0x1d8)](_0x1e05f8[_0xe39da3(0x168)]),_0x26a61f['issues']['forEach']((_0x3d9cdc,_0x591cb1)=>{const _0x1f2219=_0xe39da3;console[_0x1f2219(0x1d8)]('\x0a'+_0x1e05f8['EIdJc'](_0x591cb1,0x1)+_0x1f2219(0x1d7)+_0x3d9cdc['severity']+']\x20'+_0x3d9cdc[_0x1f2219(0xfc)]);})),process[_0xe39da3(0x1fa)](_0x26a61f[_0xe39da3(0x121)]==='verified'?0x0:0x1);}function _0x374e(){const _0x32dfa9=['Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','rRATj','list\x20<profile>','mFdtE','restore\x20<id>','project','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ranger','xMktK','kwfKY','CLAIF','6RwaUXo','uiNoD','Qqchq','FzzKm','aaTNd','aAKEn','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Summary:\x20','description','HWyTe','number','TkhZN','jTlse','791906hdgPKS','scenario','bJHnK','JeVnp','argv','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','show\x20[id]','ranger\x20profile\x20encrypt-auth','QiPcx','List\x20all\x20feature\x20reviews','Profile\x20name','rnisK','feature\x20get-feedback','HRxYk','gAYlj','EUTYB','fcsAx','XlbTc','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','hook','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','VwuQs','scriptName','NxBeE','ranger\x20use','Scenario\x20number\x20to\x20edit\x20(1-based)','env\x20update','exclude-scenario','blocked','hwVRr','skip-chromium','evaluation','limit','root','\x0aUnknown\x20command:\x20','You\x20must\x20specify\x20a\x20profile\x20subcommand','BGeYI','\x20INCOMPLETE','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','VDPlU','ranger\x20feature\x20get-feedback','Number\x20of\x20feature\x20reviews\x20to\x20skip','status','RISKl','session-id','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','map','IChBp','ocllt','qqBAB','PMwZm','VoRYi','Environment\x20name','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','\x20BLOCKED','notes','nEAwL','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','CNEmL','trackCommandError','--env','Psbut','BqSsi','error','Evaluation:\x20','obUcx','list\x20<env>','nANOw','boolean','JXqey','some','lugNP','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','base-url','Remove\x20a\x20config\x20value','ranger\x20setup','Manage\x20profiles','feature','update','start','Set\x20a\x20config\x20value','unhandledRejection','yYQTk','JdBEi','command','CIIsp','Include\x20soft-deleted\x20feature\x20reviews','Pufll','WkGbS','nncmr','current-branch','ucEvI','EyPOR','env-name','positional','skip-auth','kTPuS','AJloI','ZwzUV','ZCTjS','xfChg','--notes','MuCZo','pbShY','Xvtli','demandCommand','zTVpq','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','kgAXK','VzeEs','TMbwa','cdp-endpoint','21515065AotfNm','array','epzNU','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','profile\x20config\x20get','dfZed','zcXIg','feature\x20add-checklist-item','slice','hexro','edit-scenario\x20<description>','9801127UuEXzy','yCfsy','opencode','update\x20<env-name>','mPXYt','LbzZZ','cwd','.env','ERDpl','ukuwm','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','BvDVW','pCvaO','ranger\x20config\x20set','usage','length','force','kDPLx','--scenario','nTCrC','RsShD','ubQBo','LwSRN','task','LuocL','bCmEz','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','key','ranger\x20delete','AOuJt','verified','Initialize\x20Ranger\x20in\x20your\x20project','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','ranger\x20config\x20unset','GYJCt','DcqrG','Manage\x20profile\x20configuration','JUJNY','OUQJF','hkiGJ','add-scenario','Config\x20key\x20to\x20remove','parse','xgFnW','eqbVs','vZtSj','PZvEO','scope','offset','cUYPK','restore','15sMHxYg','start-path','ranger\x20verify-feature','config\x20set','6799170zbdmtE','delete\x20[id]','edit-scenario','add\x20env','profile-name','2YIXzuk','hhMur','tRgle','ranger\x20feature\x20resume','ranger\x20feature\x20list','ranger\x20profile\x20config\x20set','ranger\x20create','startsWith','MBBjE','\x20\x20https://docs.ranger.net\x0a','UwVwv','--profile','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','HcTvM','profile\x20encrypt-auth','1710HdBCIE','profile\x20add','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ydeKF','skillup','Rkfdv','report','Skip\x20Chromium\x20browser\x20installation','CWlQa','model','failed','7734160NmiFmB','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','name','.\x20[','log','hook:enable','ULhQo','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true','partial','YHVyk','VgqKb','item','include-deleted','evaluationReason','dJWek','env','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','rAsOb','ranger\x20restore','LoAGj','iowdx','token','string','setup-ci\x20<token>','YLwQC','AFAqg','url','vNRno','ranger\x20add-scenario','CBzOk','Feature\x20review\x20ID','report\x20[id]','checklist','Scenario\x20description','Config\x20key','xYIzj','feature\x20show','You\x20must\x20specify\x20a\x20config\x20subcommand','exit','AKkex','use','option','list','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','add\x20<profile-name>','resume','tAcgm','ranger\x20profile\x20add','Update\x20authentication\x20for\x20an\x20existing\x20profile','hook:disable','wdDaV','value','List\x20all\x20profiles','IFClt','897388oPtiSo','SnmmB','ispED','includes','profile','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','yONSk','zZluE','login','Documentation:\x0a','\x20PARTIAL','XWvTh','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','incomplete','IJYDd','ywOgH','GSpfO','ranger\x20config\x20list','dvdls','verify-feature','user','Reason:\x20','help','ranger\x20config\x20get','debug-outcome','TdQmW','tXsSF','FMvlT','dqvbF','ranger\x20get-review','GDuhK','NyPHZ','enable','Feature\x20review\x20description','ranger\x20resume','add-scenario\x20<description>','yTseU','get-feedback\x20[id]','vRHhG','6890tnKjMC','Config\x20value','wGQXP','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Get\x20a\x20config\x20value','alias','IqeuF','OdeuT','config\x20get','jFVkS','config','swtRr'];_0x374e=function(){return _0x32dfa9;};return _0x374e();}_0xf004b1(process[_0x4698fa(0x105)][_0x4698fa(0x17a)](0x2))[_0x4698fa(0x118)](_0x4698fa(0xf0))[_0x4698fa(0x18b)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x4698fa(0x156)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0xd13fbb=>{const _0x592006=_0x4698fa,_0x471c3c={'zZluE':'description','lMWOh':'scenario','FzzKm':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','XUeSp':'checklist'};return _0xd13fbb[_0x592006(0x160)](_0x592006(0x1d6),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x471c3c[_0x592006(0x211)],{'type':'string','alias':'d','description':_0x592006(0x22c)})[_0x592006(0x1fd)](_0x471c3c['lMWOh'],{'type':_0x592006(0x173),'alias':'c','description':_0x471c3c[_0x592006(0xf7)]})[_0x592006(0x1fd)](_0x471c3c['XUeSp'],{'type':'array','hidden':!![]});},async _0x1d43f0=>{const _0x1a723d=_0x4698fa,_0x2ec645={'bZcSz':'--checklist','JdBEi':_0x1a723d(0x18f),'sNazj':function(_0x24c068,_0x437b47,_0x45f470){return _0x24c068(_0x437b47,_0x45f470);},'xfChg':'create'};warnFlagRenamed(_0x1a723d(0x1bf),_0x2ec645['bZcSz'],_0x2ec645[_0x1a723d(0x155)]);const _0x117d44=_0x1d43f0['scenario']||_0x1d43f0[_0x1a723d(0x1f4)];await _0x2ec645['sNazj'](withTelemetry,_0x2ec645[_0x1a723d(0x166)],()=>featureCreate(_0x1d43f0[_0x1a723d(0x1d6)],{'description':_0x1d43f0[_0x1a723d(0xfc)],'scenarios':_0x117d44}));})[_0x4698fa(0x156)](_0x4698fa(0x1fe),_0x4698fa(0x10b),_0x36fe62=>{const _0x1e30c6=_0x4698fa,_0x814df1={'bzPdz':'boolean','YHVyk':'limit','VRUEa':_0x1e30c6(0xfe),'hwVRr':_0x1e30c6(0x158)};return _0x36fe62[_0x1e30c6(0x1fd)]('current-branch',{'type':_0x814df1['bzPdz'],'description':_0x1e30c6(0xef)})['option'](_0x814df1[_0x1e30c6(0x1dd)],{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x814df1['VRUEa'],'alias':'o','description':_0x1e30c6(0x12b),'default':0x0})['option'](_0x1e30c6(0x1e0),{'type':'boolean','alias':'d','description':_0x814df1[_0x1e30c6(0x11f)],'default':![]});},async _0x4e817f=>{const _0x2417af=_0x4698fa,_0x54ffa1={'ClLOV':function(_0x55d6a5,_0x2fefaf,_0x467cfc){return _0x55d6a5(_0x2fefaf,_0x467cfc);},'yAcPD':'list'};await _0x54ffa1['ClLOV'](withTelemetry,_0x54ffa1['yAcPD'],()=>featureList({'currentBranch':_0x4e817f[_0x2417af(0x15c)],'limit':_0x4e817f['limit'],'offset':_0x4e817f['offset'],'includeDeleted':_0x4e817f[_0x2417af(0x1e0)]}));})[_0x4698fa(0x156)](_0x4698fa(0x108),_0x4698fa(0x16d),_0x27ec70=>{const _0x86a2b6=_0x4698fa;return _0x27ec70[_0x86a2b6(0x160)]('id',{'type':_0x86a2b6(0x1ea),'description':_0x86a2b6(0x1f2)});},async _0x5e72b7=>{const _0x8fb089=_0x4698fa,_0x1fac15={'tAcgm':function(_0x177bb9,_0x19c6a6,_0x355548){return _0x177bb9(_0x19c6a6,_0x355548);}};await _0x1fac15[_0x8fb089(0x202)](withTelemetry,'show',()=>featureShow(_0x5e72b7['id']));})[_0x4698fa(0x156)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x15fe8c=>{const _0x42b21d=_0x4698fa;return _0x15fe8c['positional']('id',{'type':_0x42b21d(0x1ea),'description':_0x42b21d(0x1ca)});},async _0x5bd291=>{const _0x3b3255=_0x4698fa,_0x5a8db0={'epzNU':function(_0x3d75f3,_0x5c2f44,_0x1ac8a1){return _0x3d75f3(_0x5c2f44,_0x1ac8a1);},'GAczu':_0x3b3255(0x201)};await _0x5a8db0[_0x3b3255(0x174)](withTelemetry,_0x5a8db0['GAczu'],()=>featureResume(_0x5bd291['id']));})[_0x4698fa(0x156)](_0x4698fa(0x22e),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x4ad331=>{const _0x345b85=_0x4698fa,_0x1a0c6a={'CirGX':_0x345b85(0x216)};return _0x4ad331['positional']('description',{'type':_0x345b85(0x1ea),'description':'Scenario\x20description','demandOption':!![]})[_0x345b85(0x1fd)]('id',{'type':_0x345b85(0x1ea),'description':_0x1a0c6a['CirGX']});},async _0x190b14=>{const _0x34d14b=_0x4698fa,_0x5cca50={'XdAtx':function(_0x474b72,_0xaab9b3,_0xe638fb){return _0x474b72(_0xaab9b3,_0xe638fb);}};await _0x5cca50['XdAtx'](withTelemetry,_0x34d14b(0x1a5),()=>featureAddScenario(_0x190b14['description'],_0x190b14['id']));})[_0x4698fa(0x156)](_0x4698fa(0x17c),_0x4698fa(0x197),_0x4d616c=>{const _0x5b4160=_0x4698fa,_0x3cff52={'VwuQs':'New\x20scenario\x20description','JSjYD':_0x5b4160(0xfe),'ocllt':_0x5b4160(0x11b)};return _0x4d616c['positional'](_0x5b4160(0xfc),{'type':_0x5b4160(0x1ea),'description':_0x3cff52[_0x5b4160(0x117)],'demandOption':!![]})[_0x5b4160(0x1fd)](_0x5b4160(0x102),{'type':_0x3cff52['JSjYD'],'description':_0x3cff52[_0x5b4160(0x132)],'demandOption':!![]})['option']('id',{'type':'string','description':_0x5b4160(0x216)});},async _0x9b0f3c=>{const _0x41ae81=_0x4698fa;await withTelemetry(_0x41ae81(0x1b6),()=>featureEditScenario(_0x9b0f3c['description'],{'id':_0x9b0f3c['id'],'scenario':_0x9b0f3c['scenario']}));})['command'](_0x4698fa(0x1f3),_0x4698fa(0x23f),_0x70ddd=>{const _0x1c996f=_0x4698fa,_0x25da82={'LnReA':'string','cERuL':_0x1c996f(0x1f2),'GSpfO':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x70ddd['positional']('id',{'type':_0x25da82['LnReA'],'description':_0x25da82['cERuL']})['option'](_0x1c996f(0x11d),{'type':'array','description':_0x25da82[_0x1c996f(0x21b)]});},async _0x436b0c=>{const _0x2a3a64=_0x4698fa,_0x4ea796=_0x436b0c[_0x2a3a64(0x11d)],_0x3fd516=_0x4ea796?_0x4ea796[_0x2a3a64(0x130)](_0x453a0f=>Number(_0x453a0f)):undefined;await withTelemetry(_0x2a3a64(0x1ce),()=>featureReportPrDescription(_0x436b0c['id'],{'excludeScenarios':_0x3fd516}));})['command']('get-review\x20[id]',_0x4698fa(0x137),_0x38d301=>{const _0x2dfa6=_0x4698fa;return _0x38d301['positional']('id',{'type':'string','description':_0x2dfa6(0x216)});},async _0x32dcd7=>{const _0x319081=_0x4698fa,_0x20412a={'kDPLx':'get-review'};await withTelemetry(_0x20412a[_0x319081(0x18e)],()=>featureGetReview(_0x32dcd7['id']));})[_0x4698fa(0x156)]('delete\x20[id]',_0x4698fa(0x116),_0x37caf4=>{const _0x5a86fe=_0x4698fa;return _0x37caf4[_0x5a86fe(0x160)]('id',{'type':_0x5a86fe(0x1ea),'description':'Feature\x20review\x20ID'});},async _0x45f468=>{const _0x2c081b=_0x4698fa,_0x29000d={'EyPOR':function(_0x467809,_0x3072b1,_0x523af0){return _0x467809(_0x3072b1,_0x523af0);}};await _0x29000d[_0x2c081b(0x15e)](withTelemetry,'delete',()=>featureDelete(_0x45f468['id']));})[_0x4698fa(0x156)](_0x4698fa(0x243),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x22aca9=>{const _0x436277=_0x4698fa,_0x41bc40={'wRIsx':_0x436277(0x1ea)};return _0x22aca9['positional']('id',{'type':_0x41bc40['wRIsx'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x3c5d4b=>{const _0x74e45d=_0x4698fa,_0x31030b={'ULhQo':_0x74e45d(0x1af)};await withTelemetry(_0x31030b[_0x74e45d(0x1da)],()=>featureRestore(_0x3c5d4b['id']));})['command']('setup\x20[token]',_0x4698fa(0x19c),_0x2133ee=>{const _0x6994a5=_0x4698fa,_0x4b5065={'zYtPt':_0x6994a5(0x1e9),'AFAqg':_0x6994a5(0x1e4),'vzAHw':_0x6994a5(0x120),'ubQBo':'boolean','xYIzj':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ISHFX':_0x6994a5(0x1ea),'XWvTh':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','fgUSV':'url','ZCTjS':_0x6994a5(0xfa),'jTlse':_0x6994a5(0x114),'XcGAB':'opencode','uiNoD':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)'};return _0x2133ee['positional'](_0x4b5065['zYtPt'],{'type':_0x6994a5(0x1ea),'description':_0x4b5065[_0x6994a5(0x1ed)]})['option'](_0x4b5065['vzAHw'],{'type':_0x4b5065[_0x6994a5(0x192)],'description':_0x4b5065[_0x6994a5(0x1f7)],'default':![]})['option'](_0x6994a5(0x1ac),{'type':_0x4b5065['ISHFX'],'choices':[_0x6994a5(0x21f),'project'],'description':_0x4b5065[_0x6994a5(0x215)]})['option'](_0x4b5065['fgUSV'],{'type':'string','description':_0x4b5065[_0x6994a5(0x165)]})['option']('force',{'type':_0x4b5065['ubQBo'],'description':_0x4b5065[_0x6994a5(0x100)],'default':![]})['option'](_0x4b5065['XcGAB'],{'type':_0x4b5065['ubQBo'],'description':_0x4b5065[_0x6994a5(0xf5)],'default':![]});},async _0xd2e711=>{const _0x4e2acf=_0x4698fa;await withTelemetry(_0x4e2acf(0x151),_0xff4b4b=>start(_0xd2e711[_0x4e2acf(0x1e9)],{'skipChromium':_0xd2e711[_0x4e2acf(0x120)],'scope':_0xd2e711[_0x4e2acf(0x1ac)],'url':_0xd2e711['url'],'force':_0xd2e711[_0x4e2acf(0x18d)],'opencode':_0xd2e711['opencode']},_0xff4b4b));})['command'](_0x4698fa(0x1eb),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x4db611=>{const _0x35063d=_0x4698fa,_0x290c97={'swtRr':'Ranger\x20API\x20token','EcWGb':_0x35063d(0x20e),'hCcou':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','wdDaV':_0x35063d(0x14b),'JXqey':'string','VUhOt':'skip-chromium','IEvix':'boolean'};return _0x4db611['positional']('token',{'type':'string','description':_0x290c97[_0x35063d(0x23e)],'demandOption':!![]})[_0x35063d(0x1fd)](_0x290c97['EcWGb'],{'type':'string','description':_0x290c97['hCcou']})['option'](_0x290c97[_0x35063d(0x206)],{'type':_0x290c97[_0x35063d(0x147)],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x35063d(0x1fd)](_0x290c97['VUhOt'],{'type':_0x290c97['IEvix'],'description':_0x35063d(0x1cf),'default':![]});},async _0x28a6fe=>{const _0xf53166=_0x4698fa;await withTelemetry('setup-ci',_0x23c2ae=>setupCi(_0x28a6fe[_0xf53166(0x1e9)],{'profile':_0x28a6fe['profile'],'baseUrl':_0x28a6fe[_0xf53166(0x14b)],'skipChromium':_0x28a6fe[_0xf53166(0x120)]},_0x23c2ae));})['command'](_0x4698fa(0x212),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x55d69b=_0x4698fa;await withTelemetry(_0x55d69b(0x212),()=>login());})['command']('skillup','Install\x20Ranger\x20skills',_0x13108f=>{const _0xc9cc41=_0x4698fa,_0x424e38={'rnisK':_0xc9cc41(0x17f),'OdeuT':'Install\x20scope\x20for\x20skills'};return _0x13108f[_0xc9cc41(0x1fd)](_0x424e38[_0xc9cc41(0x10d)],{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0xc9cc41(0x1fd)](_0xc9cc41(0x1ac),{'type':_0xc9cc41(0x1ea),'choices':['user',_0xc9cc41(0x244)],'description':_0x424e38[_0xc9cc41(0x23a)]});},async _0xc5850a=>{const _0x251e1f=_0x4698fa,_0x4d6eb3={'lQALK':function(_0x2ea972,_0x2d7c64,_0x5db1bf){return _0x2ea972(_0x2d7c64,_0x5db1bf);},'BGeYI':_0x251e1f(0x1cc)},_0x699c12=Boolean(_0xc5850a['opencode']);await _0x4d6eb3['lQALK'](withTelemetry,_0x4d6eb3[_0x251e1f(0x126)],()=>skillup({'autoInstall':_0xc5850a[_0x251e1f(0x1ac)],'platform':_0x699c12?_0x251e1f(0x17f):'claude'}));})['command']('clean',_0x4698fa(0x1d5),()=>{},async()=>{const _0x4b1baa={'gYAPn':'clean'};await withTelemetry(_0x4b1baa['gYAPn'],()=>clean());})[_0x4698fa(0x156)](_0x4698fa(0x20e),_0x4698fa(0x14e),_0x1fa73b=>{const _0x470d9a=_0x4698fa,_0x104c29={'OjhUS':'profile-name','LoAGj':_0x470d9a(0x1ea),'fupgS':_0x470d9a(0x235),'nEAwL':_0x470d9a(0x146),'UwVwv':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','FpZLa':_0x470d9a(0x1ee),'XlbTc':'force','mFdtE':_0x470d9a(0x171),'LuocL':_0x470d9a(0x12f),'vNRno':function(_0x21a350,_0x399167,_0x575ad6,_0x2242db){return _0x21a350(_0x399167,_0x575ad6,_0x2242db);},'nDYqa':'Name\x20of\x20the\x20profile','whRvb':function(_0xdb86cb,_0x295e40,_0x33d982){return _0xdb86cb(_0x295e40,_0x33d982);},'slmYU':'profile\x20ls','SnmmB':'Name\x20of\x20the\x20profile\x20to\x20update','ZwzUV':'profile\x20update','kgAXK':'profile','Psbut':_0x470d9a(0x106),'FyBFB':'value','WkGbS':function(_0x50fdaa,_0x4fe2d7,_0x39ff4c){return _0x50fdaa(_0x4fe2d7,_0x39ff4c);},'CLAIF':'profile\x20config\x20set','qKsjg':_0x470d9a(0x198),'gSNPO':'set\x20<profile>\x20<key>\x20<value>','CRudI':'get\x20<profile>\x20<key>','esBDm':_0x470d9a(0x237),'lPuqS':'List\x20all\x20config\x20for\x20a\x20profile','gAYlj':'unset\x20<profile>\x20<key>','fCqRp':_0x470d9a(0x14c),'ToMPa':_0x470d9a(0x200),'Xvtli':'Switch\x20to\x20using\x20a\x20specific\x20profile','BqSsi':'encrypt-auth\x20<profile>','QBMTp':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','NvSRH':'update\x20<profile-name>','PMwZm':_0x470d9a(0x1a1),'ispED':_0x470d9a(0x125)};return _0x1fa73b['usage'](PROFILE_HELP)['command'](_0x104c29['ToMPa'],'Add\x20profile\x20configuration',_0x1a835a=>{const _0x372974=_0x470d9a;return _0x1a835a[_0x372974(0x160)](_0x104c29['OjhUS'],{'type':_0x104c29[_0x372974(0x1e7)],'description':_0x104c29['fupgS'],'demandOption':!![]})['option']('ci',{'type':_0x104c29['nEAwL'],'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x372974(0x1fd)](_0x372974(0x161),{'type':_0x104c29[_0x372974(0x13a)],'description':_0x104c29[_0x372974(0x1c3)],'default':![]})['option'](_0x104c29['FpZLa'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x104c29[_0x372974(0x113)],{'type':'boolean','description':_0x372974(0x114),'default':![]})[_0x372974(0x1fd)](_0x104c29[_0x372974(0x242)],{'type':'string','description':_0x104c29[_0x372974(0x195)]});},async _0x532899=>{const _0x124637=_0x470d9a;await _0x104c29[_0x124637(0x1ef)](withTelemetry,_0x124637(0x1c9),_0x4d376d=>addEnv(_0x532899[_0x124637(0x1b8)],{'ci':_0x532899['ci'],'skipAuth':_0x532899['skip-auth'],'url':_0x532899['url'],'force':_0x532899[_0x124637(0x18d)],'cdpEndpoint':_0x532899['cdp-endpoint']},_0x4d376d),{'isElectron':Boolean(_0x532899[_0x104c29['mFdtE']])});})[_0x470d9a(0x156)]('use\x20<profile-name>',_0x104c29[_0x470d9a(0x16a)],_0x1fe089=>{const _0x3ad44a=_0x470d9a;return _0x1fe089[_0x3ad44a(0x160)](_0x3ad44a(0x1b8),{'type':_0x3ad44a(0x1ea),'description':_0x104c29['nDYqa'],'demandOption':!![]});},async _0x482c66=>{const _0x363136=_0x470d9a;await withTelemetry('profile\x20use',()=>useEnv(_0x482c66[_0x363136(0x1b8)]));})['command'](_0x104c29[_0x470d9a(0x140)],_0x104c29['QBMTp'],_0x366704=>{const _0x4f91f8=_0x470d9a;return _0x366704['positional']('profile',{'type':_0x104c29[_0x4f91f8(0x1e7)],'description':'Profile\x20name','demandOption':!![]});},async _0x6c23fd=>{const _0x53b1bf=_0x470d9a;await _0x104c29['whRvb'](withTelemetry,_0x53b1bf(0x1c7),()=>authEncrypt(_0x6c23fd['profile']));})['command']('ls',_0x470d9a(0x208),()=>{},async()=>{await _0x104c29['whRvb'](withTelemetry,_0x104c29['slmYU'],()=>envList());})[_0x470d9a(0x156)](_0x104c29['NvSRH'],_0x470d9a(0x204),_0x562da1=>{const _0x3f988b=_0x470d9a;return _0x562da1[_0x3f988b(0x160)](_0x104c29['OjhUS'],{'type':_0x3f988b(0x1ea),'description':_0x104c29[_0x3f988b(0x20b)],'demandOption':!![]});},async _0x5d81f1=>{const _0x1afb77=_0x470d9a;await withTelemetry(_0x104c29[_0x1afb77(0x164)],_0x24d2e3=>updateEnv(_0x5d81f1['profile-name'],_0x24d2e3));})['command']('config',_0x104c29[_0x470d9a(0x134)],_0x115ac6=>{const _0x1e94f9=_0x470d9a,_0x26e197={'FPmvj':_0x104c29[_0x1e94f9(0xf3)],'wGQXP':function(_0x4120ad,_0x54b7d4,_0x779fbd){return _0x4120ad(_0x54b7d4,_0x779fbd);},'FQyDc':'string','lugNP':_0x104c29['qKsjg'],'iKDjX':'profile\x20config\x20unset'};return _0x115ac6[_0x1e94f9(0x18b)](PROFILE_CONFIG_HELP)['command'](_0x104c29['gSNPO'],_0x1e94f9(0x152),_0x35ac1c=>{const _0x329dfb=_0x1e94f9;return _0x35ac1c['positional'](_0x104c29['kgAXK'],{'type':_0x329dfb(0x1ea),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x329dfb(0x198),{'type':'string','description':_0x104c29[_0x329dfb(0x13f)],'demandOption':!![]})['positional'](_0x104c29['FyBFB'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x11c149=>{const _0x42bf49=_0x1e94f9;await withTelemetry(_0x26e197['FPmvj'],()=>configSet(_0x11c149[_0x42bf49(0x20e)],_0x11c149['key'],_0x11c149['value']));})[_0x1e94f9(0x156)](_0x104c29['CRudI'],_0x104c29['esBDm'],_0x2636e0=>{const _0x3b4f51=_0x1e94f9;return _0x2636e0['positional']('profile',{'type':_0x3b4f51(0x1ea),'description':'Profile\x20name','demandOption':!![]})[_0x3b4f51(0x160)](_0x3b4f51(0x198),{'type':_0x3b4f51(0x1ea),'description':_0x3b4f51(0x1f6),'demandOption':!![]});},async _0x73aaa4=>{const _0x3a5ada=_0x1e94f9;await _0x26e197[_0x3a5ada(0x234)](withTelemetry,_0x3a5ada(0x176),()=>configGet(_0x73aaa4['profile'],_0x73aaa4['key']));})['command'](_0x1e94f9(0x241),_0x104c29['lPuqS'],_0x512529=>{const _0x4c3472=_0x1e94f9;return _0x512529[_0x4c3472(0x160)](_0x104c29[_0x4c3472(0x16e)],{'type':_0x104c29['LoAGj'],'description':_0x4c3472(0x10c),'demandOption':!![]});},async _0x476cae=>{const _0x368085=_0x1e94f9;await _0x104c29[_0x368085(0x15a)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x476cae[_0x368085(0x20e)]));})['command'](_0x104c29[_0x1e94f9(0x110)],_0x104c29['fCqRp'],_0x2f41cc=>{const _0xd62c20=_0x1e94f9;return _0x2f41cc[_0xd62c20(0x160)](_0xd62c20(0x20e),{'type':_0x26e197['FQyDc'],'description':_0xd62c20(0x10c),'demandOption':!![]})[_0xd62c20(0x160)](_0x26e197[_0xd62c20(0x149)],{'type':_0x26e197['FQyDc'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x1dcbf7=>{await withTelemetry(_0x26e197['iKDjX'],()=>configUnset(_0x1dcbf7['profile'],_0x1dcbf7['key']));})['demandCommand'](0x1,_0x1e94f9(0xee));})[_0x470d9a(0x16b)](0x1,_0x104c29[_0x470d9a(0x20c)]);})[_0x4698fa(0x156)](_0x4698fa(0x12c),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x474657=_0x4698fa,_0x5bc226={'CIIsp':function(_0xf9e7a9,_0x56d5c9,_0x5530eb){return _0xf9e7a9(_0x56d5c9,_0x5530eb);},'IJYDd':_0x474657(0x12c)};await _0x5bc226[_0x474657(0x157)](withTelemetry,_0x5bc226[_0x474657(0x219)],()=>status());})['command']('update',_0x4698fa(0x107),()=>{},async()=>{const _0x5034e7=_0x4698fa,_0x23c3fc={'NSFeR':function(_0x22f693,_0x49ef5e,_0x129ce0){return _0x22f693(_0x49ef5e,_0x129ce0);}};await _0x23c3fc['NSFeR'](withTelemetry,_0x5034e7(0x150),()=>update());})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x478445=>{const _0x47f682=_0x4698fa,_0xa874e9={'hexro':'string','rRATj':_0x47f682(0x1d4),'BAegT':_0x47f682(0x139),'VgqKb':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','TkhZN':'number','FmZJf':'Scenario\x20index\x20(1-based)','yTseU':_0x47f682(0x245),'YlnCL':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','qjRKs':_0x47f682(0x194)};return _0x478445['option'](_0x47f682(0x20e),{'type':_0xa874e9['hexro'],'description':_0xa874e9[_0x47f682(0x240)]})[_0x47f682(0x1fd)](_0xa874e9['BAegT'],{'type':_0xa874e9[_0x47f682(0x17b)],'description':_0xa874e9[_0x47f682(0x1de)]})[_0x47f682(0x1fd)]('scenario',{'type':_0xa874e9['TkhZN'],'description':_0xa874e9['FmZJf']})['option'](_0x47f682(0x1b1),{'type':_0xa874e9['hexro'],'description':_0xa874e9[_0x47f682(0x22f)]})['option']('model',{'type':_0xa874e9[_0x47f682(0x17b)],'description':_0xa874e9['YlnCL']})['option'](_0x47f682(0x223),{'type':_0x47f682(0x1ea),'hidden':!![],'choices':['verified',_0x47f682(0x1dc),_0x47f682(0x11e),_0x47f682(0x1d2),'incomplete']})['option']('debug-address-comments',{'type':'boolean','hidden':!![]})[_0x47f682(0x1fd)](_0x47f682(0x1e3),{'type':_0xa874e9[_0x47f682(0x17b)],'hidden':!![]})['option'](_0xa874e9['qjRKs'],{'type':_0xa874e9[_0x47f682(0x17b)],'hidden':!![]})[_0x47f682(0x1fd)]('item',{'type':_0xa874e9[_0x47f682(0xff)],'hidden':!![]});},async _0x3d54f6=>{await runGoCommand(_0x3d54f6);})[_0x4698fa(0x156)]('auth',![],_0x2f8226=>{const _0x4e8957=_0x4698fa,_0x53738b={'TMbwa':'profile','ydeKF':_0x4e8957(0x1ea),'notWH':'Profile\x20name','CBzOk':function(_0x268a47,_0x269af7,_0x5267af){return _0x268a47(_0x269af7,_0x5267af);},'bCmEz':'ranger\x20auth\x20encrypt','CWlQa':_0x4e8957(0x109),'xgFnW':'encrypt\x20<profile>','kwfKY':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x2f8226['command'](_0x53738b[_0x4e8957(0x1a8)],![],_0x11c484=>{const _0x97edbc=_0x4e8957;return _0x11c484['positional'](_0x53738b[_0x97edbc(0x170)],{'type':_0x53738b[_0x97edbc(0x1cb)],'description':_0x53738b['notWH'],'demandOption':!![]});},async _0x485e8b=>{const _0x2ba5ef=_0x4e8957;_0x53738b[_0x2ba5ef(0x1f1)](warnRenamed,_0x53738b[_0x2ba5ef(0x196)],_0x53738b[_0x2ba5ef(0x1d0)]),await authEncrypt(_0x485e8b[_0x2ba5ef(0x20e)]);})[_0x4e8957(0x16b)](0x1,_0x53738b[_0x4e8957(0xf2)]);},()=>{})['command']('start\x20[token]',![],_0x2b359e=>{const _0xedb2d5=_0x4698fa,_0x389afe={'rAsOb':'string','Qqchq':_0xedb2d5(0x1ac),'iQpNk':'project','ywOgH':_0xedb2d5(0x1ee),'pbShY':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x2b359e[_0xedb2d5(0x160)]('token',{'type':_0x389afe[_0xedb2d5(0x1e5)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0xedb2d5(0x1fd)](_0xedb2d5(0x120),{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x389afe[_0xedb2d5(0xf6)],{'type':'string','choices':[_0xedb2d5(0x21f),_0x389afe['iQpNk']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x389afe[_0xedb2d5(0x21a)],{'type':_0x389afe['rAsOb'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0xedb2d5(0x1fd)]('force',{'type':_0xedb2d5(0x146),'description':_0x389afe[_0xedb2d5(0x169)],'default':![]});},async _0x2b1537=>{const _0x25cc7f=_0x4698fa,_0x4fe514={'zBjoR':function(_0x441ce8,_0x4b5aaf,_0xe3bc49){return _0x441ce8(_0x4b5aaf,_0xe3bc49);},'yONSk':_0x25cc7f(0x14d),'btBeC':'start'};_0x4fe514['zBjoR'](warnRenamed,'ranger\x20start',_0x4fe514[_0x25cc7f(0x210)]),await withTelemetry(_0x4fe514['btBeC'],_0x38240b=>start(_0x2b1537[_0x25cc7f(0x1e9)],{'skipChromium':_0x2b1537['skip-chromium'],'scope':_0x2b1537[_0x25cc7f(0x1ac)],'url':_0x2b1537[_0x25cc7f(0x1ee)],'force':_0x2b1537['force']},_0x38240b));})['command'](_0x4698fa(0x21e),![],_0x5bd7a9=>{const _0x1c62a8=_0x4698fa,_0x471b58={'tMoXs':_0x1c62a8(0x194),'vZtSj':_0x1c62a8(0xfe),'LwSRN':'Scenario\x20index\x20(1-based)','AKkex':_0x1c62a8(0x20e),'AOuJt':_0x1c62a8(0x1ea),'BkOSd':_0x1c62a8(0x139),'HWyTe':_0x1c62a8(0x102),'GDhOI':_0x1c62a8(0x1b1),'cUYPK':_0x1c62a8(0x245),'RsShD':_0x1c62a8(0x1d1),'qoxAe':'debug-outcome','Igxfs':_0x1c62a8(0x1d2),'QiPcx':'incomplete'};return _0x5bd7a9[_0x1c62a8(0x1fd)](_0x1c62a8(0x1e3),{'type':'string','description':_0x1c62a8(0x1d4)})['option'](_0x471b58['tMoXs'],{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option']('item',{'type':_0x471b58[_0x1c62a8(0x1aa)],'description':_0x471b58[_0x1c62a8(0x193)]})[_0x1c62a8(0x1fd)](_0x471b58[_0x1c62a8(0x1fb)],{'type':_0x471b58['AOuJt'],'hidden':!![]})['option'](_0x471b58['BkOSd'],{'type':_0x1c62a8(0x1ea),'hidden':!![]})[_0x1c62a8(0x1fd)](_0x471b58[_0x1c62a8(0xfd)],{'type':_0x471b58['vZtSj'],'hidden':!![]})[_0x1c62a8(0x1fd)](_0x471b58['GDhOI'],{'type':_0x471b58[_0x1c62a8(0x19a)],'description':_0x471b58[_0x1c62a8(0x1ae)]})['option'](_0x471b58[_0x1c62a8(0x191)],{'type':_0x1c62a8(0x1ea),'hidden':!![]})['option'](_0x471b58['qoxAe'],{'type':_0x471b58['AOuJt'],'hidden':!![],'choices':[_0x1c62a8(0x19b),'partial','blocked',_0x471b58['Igxfs'],_0x471b58[_0x1c62a8(0x10a)]]});},async _0x9032ee=>{const _0x9c6f48={'FVRZd':function(_0x414830,_0x2e5fd7,_0xe2ec80){return _0x414830(_0x2e5fd7,_0xe2ec80);}};await _0x9c6f48['FVRZd'](runGoCommand,_0x9032ee,!![]);})[_0x4698fa(0x156)]('add\x20env\x20<env-name>',![],_0x4036dc=>{const _0x1ff237=_0x4698fa,_0x1e108c={'HCoRs':_0x1ff237(0x15f),'aAKEn':'string','bJHnK':_0x1ff237(0x146),'tRgle':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','JUJNY':'skip-auth','gbvRV':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x4036dc['positional'](_0x1e108c['HCoRs'],{'type':_0x1e108c[_0x1ff237(0xf9)],'description':_0x1ff237(0x13b),'demandOption':!![]})[_0x1ff237(0x1fd)]('ci',{'type':_0x1e108c[_0x1ff237(0x103)],'description':_0x1e108c[_0x1ff237(0x1bb)],'default':![]})[_0x1ff237(0x1fd)](_0x1e108c[_0x1ff237(0x1a2)],{'type':_0x1e108c['bJHnK'],'description':_0x1e108c['gbvRV'],'default':![]});},async _0x44e94c=>{const _0x504283=_0x4698fa,_0x55f499={'GDuhK':function(_0x436483,_0x43cbbd,_0x4b1e0c){return _0x436483(_0x43cbbd,_0x4b1e0c);},'IFClt':_0x504283(0x203),'yYQTk':function(_0x3cddf9,_0x124031,_0x3b7cc4){return _0x3cddf9(_0x124031,_0x3b7cc4);},'nANOw':_0x504283(0x1b7)};_0x55f499[_0x504283(0x229)](warnRenamed,'ranger\x20add\x20env',_0x55f499[_0x504283(0x209)]),await _0x55f499[_0x504283(0x154)](withTelemetry,_0x55f499[_0x504283(0x145)],_0x32df35=>addEnv(_0x44e94c['env-name'],{'ci':_0x44e94c['ci'],'skipAuth':_0x44e94c[_0x504283(0x161)]},_0x32df35));})[_0x4698fa(0x156)]('use\x20<env-name>',![],_0x3f4e4c=>{const _0x49fa8e=_0x4698fa,_0x4c54f4={'TMRhb':'env-name'};return _0x3f4e4c[_0x49fa8e(0x160)](_0x4c54f4['TMRhb'],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x17453e=>{const _0x2ba3f5=_0x4698fa,_0x306dac={'TdQmW':function(_0x424ec4,_0x183ee7,_0x582a38){return _0x424ec4(_0x183ee7,_0x582a38);},'sxecd':_0x2ba3f5(0x11a),'xMktK':_0x2ba3f5(0x1fc)};_0x306dac[_0x2ba3f5(0x224)](warnRenamed,_0x306dac['sxecd'],'ranger\x20profile\x20use'),await withTelemetry(_0x306dac[_0x2ba3f5(0xf1)],()=>useEnv(_0x17453e['env-name']));})[_0x4698fa(0x156)](_0x4698fa(0x23d),![],_0x46e5ce=>{const _0x59e398=_0x4698fa,_0x1d79cf={'Rkfdv':_0x59e398(0x1ea),'jFVkS':'key','JDNNP':_0x59e398(0x233),'LbzZZ':function(_0x4c55d1,_0x3b6273,_0xe54525){return _0x4c55d1(_0x3b6273,_0xe54525);},'obUcx':'env','JeVnp':_0x59e398(0x136),'yCfsy':'Config\x20key','JHIdU':_0x59e398(0x222),'PZvEO':'ranger\x20profile\x20config\x20get','njoyP':_0x59e398(0x21c),'vRHhG':'config\x20list','fcsAx':function(_0x41b8a0,_0x6b4d70,_0x48f41a){return _0x41b8a0(_0x6b4d70,_0x48f41a);},'LGTkZ':_0x59e398(0x19e),'Hznzq':'config\x20unset','zcXIg':'set\x20<env>\x20<key>\x20<value>','Pufll':_0x59e398(0x144),'ucEvI':'unset\x20<env>\x20<key>','yIuvJ':_0x59e398(0x1f9)};return _0x46e5ce['command'](_0x1d79cf[_0x59e398(0x178)],![],_0x393ee8=>{const _0x5a1a38=_0x59e398;return _0x393ee8['positional']('env',{'type':_0x1d79cf['Rkfdv'],'description':'Environment\x20name','demandOption':!![]})[_0x5a1a38(0x160)](_0x1d79cf[_0x5a1a38(0x23c)],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})[_0x5a1a38(0x160)](_0x5a1a38(0x207),{'type':_0x1d79cf[_0x5a1a38(0x1cd)],'description':_0x1d79cf['JDNNP'],'demandOption':!![]});},async _0x2d58f2=>{const _0x5644d3=_0x59e398;warnRenamed(_0x5644d3(0x18a),_0x5644d3(0x1be)),await _0x1d79cf[_0x5644d3(0x182)](withTelemetry,_0x5644d3(0x1b3),()=>configSet(_0x2d58f2[_0x5644d3(0x1e3)],_0x2d58f2[_0x5644d3(0x198)],_0x2d58f2['value']));})[_0x59e398(0x156)]('get\x20<env>\x20<key>',![],_0x2e1cfd=>{const _0x5116fd=_0x59e398;return _0x2e1cfd[_0x5116fd(0x160)](_0x1d79cf['obUcx'],{'type':_0x1d79cf['Rkfdv'],'description':_0x1d79cf[_0x5116fd(0x104)],'demandOption':!![]})['positional']('key',{'type':_0x5116fd(0x1ea),'description':_0x1d79cf[_0x5116fd(0x17e)],'demandOption':!![]});},async _0x5ee92a=>{const _0x1430af=_0x59e398;warnRenamed(_0x1d79cf['JHIdU'],_0x1d79cf[_0x1430af(0x1ab)]),await withTelemetry(_0x1430af(0x23b),()=>configGet(_0x5ee92a['env'],_0x5ee92a['key']));})[_0x59e398(0x156)](_0x1d79cf[_0x59e398(0x159)],![],_0xa08c68=>{const _0x555c41=_0x59e398;return _0xa08c68['positional'](_0x1d79cf[_0x555c41(0x143)],{'type':_0x1d79cf['Rkfdv'],'description':_0x1d79cf['JeVnp'],'demandOption':!![]});},async _0x9afbc6=>{const _0xb75f5f=_0x59e398;warnRenamed(_0x1d79cf['njoyP'],'ranger\x20profile\x20config\x20list'),await withTelemetry(_0x1d79cf[_0xb75f5f(0x231)],()=>configList(_0x9afbc6['env']));})[_0x59e398(0x156)](_0x1d79cf[_0x59e398(0x15d)],![],_0x5e4b40=>{const _0x14d7d0=_0x59e398;return _0x5e4b40['positional'](_0x1d79cf['obUcx'],{'type':_0x1d79cf['Rkfdv'],'description':_0x1d79cf['JeVnp'],'demandOption':!![]})['positional']('key',{'type':_0x1d79cf['Rkfdv'],'description':_0x14d7d0(0x1a6),'demandOption':!![]});},async _0xc5655d=>{const _0x1c4ff9=_0x59e398;_0x1d79cf[_0x1c4ff9(0x112)](warnRenamed,_0x1d79cf['LGTkZ'],'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x1d79cf['Hznzq'],()=>configUnset(_0xc5655d['env'],_0xc5655d['key']));})[_0x59e398(0x16b)](0x1,_0x1d79cf['yIuvJ']);})[_0x4698fa(0x156)](_0x4698fa(0x1e3),![],_0x589ed8=>{const _0x4fba49=_0x4698fa,_0x1f91a7={'HwTvg':function(_0x55ce5c,_0x5ce7cf,_0x1ed484){return _0x55ce5c(_0x5ce7cf,_0x1ed484);},'ArOce':'ranger\x20env\x20ls','WKOII':'ranger\x20profile\x20ls','pCvaO':_0x4fba49(0x1ea)};return _0x589ed8['command']('ls',![],()=>{},async()=>{_0x1f91a7['HwTvg'](warnRenamed,_0x1f91a7['ArOce'],_0x1f91a7['WKOII']),await withTelemetry('env\x20list',()=>envList());})[_0x4fba49(0x156)](_0x4fba49(0x180),![],_0x541e94=>{const _0x201544=_0x4fba49;return _0x541e94['positional'](_0x201544(0x15f),{'type':_0x1f91a7[_0x201544(0x189)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x14e530=>{const _0xcc21e8=_0x4fba49;warnRenamed('ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry(_0xcc21e8(0x11c),_0x59dee2=>updateEnv(_0x14e530[_0xcc21e8(0x15f)],_0x59dee2));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x4698fa(0x156)](_0x4698fa(0x14f),![],_0x35edcf=>{const _0x3a91ac=_0x4698fa,_0x138a30={'dfZed':'string','eqbVs':'description','DcqrG':'Feature\x20review\x20description','nncmr':_0x3a91ac(0x19d),'qqBAB':_0x3a91ac(0x102),'uhltg':'array','HcTvM':function(_0x4f2bf0,_0x44e6e0,_0x3047d0){return _0x4f2bf0(_0x44e6e0,_0x3047d0);},'YYLmu':_0x3a91ac(0x1bf),'bsHgU':'feature\x20create','MBBjE':_0x3a91ac(0x15c),'EUTYB':'limit','AJloI':_0x3a91ac(0x12b),'dvdls':'boolean','dqvbF':'ranger\x20list','stdlj':function(_0x5a6a2c,_0x2a19ea,_0x31ce1b){return _0x5a6a2c(_0x2a19ea,_0x31ce1b);},'ruKAa':'feature\x20list','oKRWi':'ranger\x20feature\x20show','zTVpq':function(_0x44b0dd,_0xfdaa8a,_0x2ab78f){return _0x44b0dd(_0xfdaa8a,_0x2ab78f);},'kTPuS':_0x3a91ac(0x1f8),'lEzKi':_0x3a91ac(0x1bc),'nTCrC':function(_0x4e589a,_0x1a1572,_0x118eba){return _0x4e589a(_0x1a1572,_0x118eba);},'YPdDI':_0x3a91ac(0x1f5),'IChBp':_0x3a91ac(0x216),'VDPlU':_0x3a91ac(0x228),'NVBqo':_0x3a91ac(0x1f2),'ijeEu':_0x3a91ac(0x199),'iEHeD':'feature\x20delete','tXsSF':'ranger\x20feature\x20restore','kdNld':'show\x20[id]','FMvlT':'resume\x20[id]','HRxYk':'add-checklist-item\x20<description>','EBvZr':_0x3a91ac(0x217)};return _0x35edcf[_0x3a91ac(0x156)]('create\x20<name>',![],_0x2ca20e=>{const _0x526205=_0x3a91ac;return _0x2ca20e[_0x526205(0x160)]('name',{'type':_0x138a30[_0x526205(0x177)],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x526205(0x1fd)](_0x138a30[_0x526205(0x1a9)],{'type':'string','alias':'d','description':_0x138a30[_0x526205(0x1a0)]})[_0x526205(0x1fd)]('checklist',{'type':_0x526205(0x173),'alias':'c','description':_0x138a30[_0x526205(0x15b)]})[_0x526205(0x1fd)](_0x138a30[_0x526205(0x133)],{'type':_0x138a30['uhltg'],'hidden':!![]});},async _0x1ebd57=>{const _0xa59526=_0x3a91ac;_0x138a30[_0xa59526(0x1c6)](warnRenamed,'ranger\x20feature\x20create',_0x138a30['YYLmu']),warnFlagRenamed(_0x138a30['YYLmu'],'--checklist',_0xa59526(0x18f));const _0x2b2872=_0x1ebd57['scenario']||_0x1ebd57['checklist'];await withTelemetry(_0x138a30['bsHgU'],()=>featureCreate(_0x1ebd57[_0xa59526(0x1d6)],{'description':_0x1ebd57[_0xa59526(0xfc)],'scenarios':_0x2b2872}));})[_0x3a91ac(0x156)]('list',![],_0x32816b=>{const _0x5ad271=_0x3a91ac;return _0x32816b[_0x5ad271(0x1fd)](_0x138a30[_0x5ad271(0x1c1)],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x5ad271(0x1fd)](_0x138a30[_0x5ad271(0x111)],{'type':'number','alias':'l','description':_0x5ad271(0x1ff),'default':0xa})[_0x5ad271(0x1fd)]('offset',{'type':'number','alias':'o','description':_0x138a30[_0x5ad271(0x163)],'default':0x0})['option'](_0x5ad271(0x1e0),{'type':_0x138a30[_0x5ad271(0x21d)],'alias':'d','description':_0x5ad271(0x158),'default':![]});},async _0x3b30c8=>{const _0x1660aa=_0x3a91ac;warnRenamed(_0x1660aa(0x1bd),_0x138a30[_0x1660aa(0x227)]),await _0x138a30['stdlj'](withTelemetry,_0x138a30['ruKAa'],()=>featureList({'currentBranch':_0x3b30c8[_0x1660aa(0x15c)],'limit':_0x3b30c8[_0x1660aa(0x122)],'offset':_0x3b30c8[_0x1660aa(0x1ad)],'includeDeleted':_0x3b30c8[_0x1660aa(0x1e0)]}));})[_0x3a91ac(0x156)](_0x138a30['kdNld'],![],_0x49ff21=>{return _0x49ff21['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x1a4103=>{const _0x4df7e2=_0x3a91ac;_0x138a30[_0x4df7e2(0x1c6)](warnRenamed,_0x138a30['oKRWi'],'ranger\x20show'),await _0x138a30[_0x4df7e2(0x16c)](withTelemetry,_0x138a30[_0x4df7e2(0x162)],()=>featureShow(_0x1a4103['id']));})['command'](_0x138a30[_0x3a91ac(0x226)],![],_0xdea220=>{const _0x15e51a=_0x3a91ac;return _0xdea220['positional']('id',{'type':_0x138a30[_0x15e51a(0x177)],'description':_0x15e51a(0x1ca)});},async _0x36bf37=>{const _0x2c5a98=_0x3a91ac;_0x138a30[_0x2c5a98(0x16c)](warnRenamed,_0x138a30['lEzKi'],_0x2c5a98(0x22d)),await _0x138a30[_0x2c5a98(0x190)](withTelemetry,'feature\x20resume',()=>featureResume(_0x36bf37['id']));})[_0x3a91ac(0x156)](_0x138a30[_0x3a91ac(0x10f)],![],_0x13ddcb=>{const _0x4f3d83=_0x3a91ac;return _0x13ddcb['positional'](_0x138a30['eqbVs'],{'type':_0x138a30[_0x4f3d83(0x177)],'description':_0x138a30['YPdDI'],'demandOption':!![]})['option']('id',{'type':_0x138a30[_0x4f3d83(0x177)],'description':_0x138a30[_0x4f3d83(0x131)]});},async _0x57fb32=>{const _0x41fe79=_0x3a91ac;_0x138a30['stdlj'](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x41fe79(0x1f0)),await withTelemetry(_0x41fe79(0x179),()=>featureAddScenario(_0x57fb32['description'],_0x57fb32['id']));})[_0x3a91ac(0x156)](_0x3a91ac(0x230),![],_0x4dddb9=>{const _0x1c74e1=_0x3a91ac;return _0x4dddb9['positional']('id',{'type':_0x138a30[_0x1c74e1(0x177)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4f44e8=>{const _0x236e6e=_0x3a91ac;warnRenamed(_0x236e6e(0x12a),_0x138a30[_0x236e6e(0x129)]),await withTelemetry(_0x236e6e(0x10e),()=>featureGetReview(_0x4f44e8['id']));})[_0x3a91ac(0x156)](_0x3a91ac(0x1b5),![],_0x436d4c=>{const _0x2f8bcb=_0x3a91ac;return _0x436d4c[_0x2f8bcb(0x160)]('id',{'type':_0x138a30['dfZed'],'description':_0x138a30['NVBqo']});},async _0x5391e9=>{const _0x20a24e=_0x3a91ac;warnRenamed('ranger\x20feature\x20delete',_0x138a30['ijeEu']),await _0x138a30[_0x20a24e(0x1c6)](withTelemetry,_0x138a30['iEHeD'],()=>featureDelete(_0x5391e9['id']));})['command']('restore\x20<id>',![],_0x42e899=>{const _0x417c13=_0x3a91ac;return _0x42e899[_0x417c13(0x160)]('id',{'type':_0x138a30[_0x417c13(0x177)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x29dec0=>{const _0x4f75a7=_0x3a91ac;warnRenamed(_0x138a30[_0x4f75a7(0x225)],_0x4f75a7(0x1e6)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x29dec0['id']));})[_0x3a91ac(0x16b)](0x1,_0x138a30['EBvZr']);})[_0x4698fa(0x156)](_0x4698fa(0x115),![],_0x5035b1=>{const _0x1d69aa=_0x4698fa,_0x2f52e6={'ERDpl':_0x1d69aa(0x236),'iowdx':'session-id','uueff':function(_0x1e7059,_0x2fdd5b,_0x3588e4){return _0x1e7059(_0x2fdd5b,_0x3588e4);},'CNEmL':_0x1d69aa(0x205),'dJWek':_0x1d69aa(0x22b),'hhMur':'disable','VoRYi':_0x1d69aa(0x128),'SpwXf':_0x1d69aa(0x1d6),'Olbxp':'string','aaTNd':_0x1d69aa(0x1c5)};return _0x5035b1[_0x1d69aa(0x156)](_0x2f52e6[_0x1d69aa(0x1e2)],_0x1d69aa(0x14a),_0x153a98=>{const _0x459ede=_0x1d69aa;return _0x153a98['option'](_0x459ede(0x12e),{'type':'string','description':_0x2f52e6[_0x459ede(0x185)]});},async _0x29ab46=>{const _0x58d407=_0x1d69aa;await withTelemetry(_0x58d407(0x1d9),()=>hook('enable',_0x29ab46[_0x58d407(0x12e)]));})['command'](_0x2f52e6[_0x1d69aa(0x1ba)],_0x2f52e6[_0x1d69aa(0x135)],_0x318aff=>{const _0x345f1b=_0x1d69aa;return _0x318aff[_0x345f1b(0x1fd)](_0x2f52e6[_0x345f1b(0x1e8)],{'type':_0x345f1b(0x1ea),'description':_0x2f52e6[_0x345f1b(0x185)]});},async _0x5d3399=>{const _0x5a9fcd=_0x1d69aa;await _0x2f52e6['uueff'](withTelemetry,_0x2f52e6[_0x5a9fcd(0x13c)],()=>hook('disable',_0x5d3399[_0x5a9fcd(0x12e)]));})[_0x1d69aa(0x1fd)](_0x2f52e6['SpwXf'],{'type':_0x2f52e6['Olbxp'],'description':_0x2f52e6[_0x1d69aa(0xf8)]})[_0x1d69aa(0x1fd)](_0x1d69aa(0x12e),{'type':_0x2f52e6['Olbxp'],'description':_0x1d69aa(0x236)});},async _0x14c8f8=>{const _0x14a529=_0x4698fa;_0x14c8f8[_0x14a529(0x1d6)]&&await hook(_0x14c8f8[_0x14a529(0x1d6)],_0x14c8f8[_0x14a529(0x12e)]);})[_0x4698fa(0x16b)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x138523,_0xf1ec60,_0x128846)=>{const _0x248c61=_0x4698fa,_0x30075a={'QGjiY':function(_0x115fc0,_0x366c0d){return _0x115fc0(_0x366c0d);},'LuCLJ':function(_0x13d383,_0x11d703,_0x11cc1a){return _0x13d383(_0x11d703,_0x11cc1a);},'NyPHZ':_0x248c61(0x175),'VzeEs':function(_0xbe2367){return _0xbe2367();},'mPXYt':'Unknown\x20error'},_0x169180=_0x30075a['QGjiY'](sanitizeArgs,process[_0x248c61(0x105)]['slice'](0x2)),_0x4e9aa8=_0x30075a['LuCLJ'](getErrorType,_0x138523,_0xf1ec60);if(_0x138523&&_0x138523[_0x248c61(0x20d)]('Unknown\x20command')){const _0x152350=process['argv'][0x2];console['error'](_0x248c61(0x124)+_0x152350),console[_0x248c61(0x141)](_0x30075a[_0x248c61(0x22a)]);}else{if(_0x138523)console[_0x248c61(0x141)]('\x0a'+_0x138523+'\x0a');else _0xf1ec60&&console[_0x248c61(0x141)]('\x0aError:\x20'+_0xf1ec60['message']+'\x0a');}await logDesirePath({'rawCommand':_0x169180,'errorMessage':_0x138523||_0xf1ec60?.['message'],'errorType':_0x4e9aa8});const _0x449fdb=_0x30075a[_0x248c61(0x16f)](getCurrentCollector);_0x449fdb&&await _0x449fdb[_0x248c61(0x13d)](_0xf1ec60||new Error(_0x138523||_0x30075a[_0x248c61(0x181)])),process[_0x248c61(0x1fa)](0x1);})['epilogue'](_0x4698fa(0x213)+_0x4698fa(0x1c2)+_0x4698fa(0x187))['help']()[_0x4698fa(0x238)](_0x4698fa(0x221),'h')[_0x4698fa(0x1a7)]();
@@ -1 +1 @@
1
- (function(_0x244138,_0x99dbd0){const _0x1f087c=_0x67c9,_0x3a3530=_0x244138();while(!![]){try{const _0x2adfac=parseInt(_0x1f087c(0x1e1))/0x1+parseInt(_0x1f087c(0x1f4))/0x2+parseInt(_0x1f087c(0x22d))/0x3*(parseInt(_0x1f087c(0x1e9))/0x4)+-parseInt(_0x1f087c(0x208))/0x5*(parseInt(_0x1f087c(0x215))/0x6)+parseInt(_0x1f087c(0x22e))/0x7+parseInt(_0x1f087c(0x1fc))/0x8*(-parseInt(_0x1f087c(0x203))/0x9)+-parseInt(_0x1f087c(0x20c))/0xa;if(_0x2adfac===_0x99dbd0)break;else _0x3a3530['push'](_0x3a3530['shift']());}catch(_0x1b8e3f){_0x3a3530['push'](_0x3a3530['shift']());}}}(_0xda35,0xa2140));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x472855 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';function _0x67c9(_0x5951f1,_0x3afb4f){_0x5951f1=_0x5951f1-0x1d9;const _0xda359=_0xda35();let _0x67c9d7=_0xda359[_0x5951f1];return _0x67c9d7;}import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x551347){const _0x29fb40=_0x67c9,_0x551486={'lecLY':function(_0x33027a,_0x505948,_0x1ad06d){return _0x33027a(_0x505948,_0x1ad06d);},'SwJFE':function(_0x1714ad,_0x242df0,_0x4c0664){return _0x1714ad(_0x242df0,_0x4c0664);},'uGimn':function(_0x35b8ca,_0x474637){return _0x35b8ca(_0x474637);},'LUyny':function(_0x45f26c,_0x5b6341){return _0x45f26c<_0x5b6341;},'CqYNi':function(_0x3ab134,_0x25fdfc){return _0x3ab134(_0x25fdfc);},'hxcdc':_0x29fb40(0x1eb)};try{const _0x15c722=new AbortController(),_0x285136=_0x551486['lecLY'](setTimeout,()=>_0x15c722[_0x29fb40(0x21b)](),0x1388),_0x45c372=await _0x551486[_0x29fb40(0x224)](fetch,_0x551347,{'method':_0x29fb40(0x1db),'signal':_0x15c722['signal'],'redirect':_0x29fb40(0x1df)});_0x551486[_0x29fb40(0x1ef)](clearTimeout,_0x285136);if(_0x551486['LUyny'](_0x45c372['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x45c372['status']};}catch(_0x3a3a1f){const _0x5899e2=_0x3a3a1f,_0x113cce=_0x5899e2[_0x29fb40(0x1da)]||_0x551486['CqYNi'](String,_0x3a3a1f),_0x22cd22=_0x113cce[_0x29fb40(0x229)](_0x551486['hxcdc'])||_0x5899e2[_0x29fb40(0x22a)]==='TypeError'||_0x113cce[_0x29fb40(0x229)]('fetch\x20failed');return{'ok':![],'error':_0x113cce,'isProtocolError':_0x22cd22};}}function _0xda35(){const _0x4783cf=['legacy','stdin','error','log','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','What\x20would\x20you\x20like\x20to\x20do?','izUTd','✓\x20Created\x20settings:\x20','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','list','\x22\x20configured','acuiC','⚠\x20Could\x20not\x20reach\x20','QYTxR','force','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','BSXKA','QhROu','trim','wRwjp','ydeGO','prompt','HmXQv','message','HEAD','.enc','newPage','AgyVk','manual','path','138906KyEYun','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','FtYZP','action','browser_auth','Enter\x20a\x20different\x20URL','Continue\x20anyway','guYhS','4TJvJqy','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','Invalid\x20URL','pIPVO','\x0a\x20\x20Could\x20not\x20reach\x20','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','uGimn','http://','url','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','Removed\x20existing\x20profile\x20at\x20','535156pPLKIe','xauKq','\x22\x20already\x20exists\x20in\x20','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','IfHRg','http://localhost:3000','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','baseUrl','21752tfFuJa','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','stdout','mqcXf','launch','zAKUs','jJfIz','3438yqBxmV','\x20would\x20shadow\x20the\x20existing\x20profile.','about:blank','test','trackPhaseEnd','115NNiJCw','close','Could\x20not\x20reach\x20','\x0a📋\x20Authentication\x20Setup','3036290jfCGoF','Delete\x20existing\x20and\x20create\x20new\x20in\x20','hjYes','url_setup','--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.','goto','ArANY','settings.json','skipAuth','134718FZRjYh','location','Wmvov','veCzR','config_write','Aborted.','abort','wuEul','continue','root\x20(.ranger/)','Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000','use_suggestion','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','SwJFE','MjdrO','stringify','\x22\x20already\x20exists.\x20Overwrite?','jrTgp','includes','name','trackPhaseStart','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','3029076Hctbpb','7744814ZLkdqD','cdpEndpoint'];_0xda35=function(){return _0x4783cf;};return _0xda35();}export async function addEnv(_0x2c67ba,_0x21eb1c={},_0x12a4f7){const _0x30758a=_0x67c9,_0x554e5c={'ydeGO':function(_0x57ba14){return _0x57ba14();},'jJfIz':'local','xmmMZ':function(_0x2eacd6,_0x22de2c,_0x51668b,_0x671cd0){return _0x2eacd6(_0x22de2c,_0x51668b,_0x671cd0);},'acuiC':function(_0xd8fc66,_0x25f0ea,_0x2d94be){return _0xd8fc66(_0x25f0ea,_0x2d94be);},'FtYZP':function(_0x32fff9){return _0x32fff9();},'wuEul':function(_0x5f21a5,_0x13dcb0){return _0x5f21a5===_0x13dcb0;},'wRwjp':_0x30758a(0x1ea),'QhROu':function(_0x5af57d,_0x52a6c3){return _0x5af57d(_0x52a6c3);},'ArANY':'confirm','izUTd':'overwrite','QYTxR':'Aborted.','zAKUs':_0x30758a(0x230),'sxFiy':_0x30758a(0x21e),'HmXQv':_0x30758a(0x20f),'HJjla':_0x30758a(0x1f2),'SSJav':'input','kCeOd':_0x30758a(0x1fb),'mqcXf':_0x30758a(0x239),'izkAf':_0x30758a(0x1e4),'wisfo':_0x30758a(0x235),'JrYeW':_0x30758a(0x1e6),'xauKq':_0x30758a(0x1e7),'KXrEG':_0x30758a(0x21d),'TdJmo':_0x30758a(0x220),'veCzR':function(_0x479c62,_0xfa9cb1){return _0x479c62(_0xfa9cb1);},'Wmvov':function(_0x10d302,_0x2f2f80,_0x15755c){return _0x10d302(_0x2f2f80,_0x15755c);},'AgyVk':function(_0x4c07be,_0x43effe,_0x4a2bac){return _0x4c07be(_0x43effe,_0x4a2bac);},'jrTgp':_0x30758a(0x1e5),'dwPwh':_0x30758a(0x223),'IfHRg':function(_0x12f786,_0x94acf5){return _0x12f786||_0x94acf5;},'qZsPg':_0x30758a(0x205),'Xvlin':'utf-8','lJsrQ':function(_0x59cb66){return _0x59cb66();},'hjYes':'\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','guYhS':function(_0x14bda3,_0x5be0c0,_0x567bee){return _0x14bda3(_0x5be0c0,_0x567bee);},'UnlgP':function(_0x132542,_0x1d8c08){return _0x132542(_0x1d8c08);},'pIPVO':function(_0x3f7723,_0xfbf5d5,_0x415a45){return _0x3f7723(_0xfbf5d5,_0x415a45);},'MjdrO':_0x30758a(0x213),'aZjra':function(_0x2aba6b,_0x509ea7,_0x504508){return _0x2aba6b(_0x509ea7,_0x504508);},'BSXKA':function(_0x29d1cb,_0x17c577,_0x3621f0){return _0x29d1cb(_0x17c577,_0x3621f0);}},_0x2ff2ef=_0x21eb1c['ci']??![],_0x2ee9eb=_0x2ff2ef?'ci':_0x554e5c[_0x30758a(0x202)],_0x4762e7=_0x554e5c['xmmMZ'](join,getRangerDir(),_0x2ee9eb,_0x2c67ba),_0x476af0=_0x554e5c[_0x30758a(0x23b)](join,_0x554e5c[_0x30758a(0x1e3)](getRangerDir),_0x2ee9eb);if(_0x21eb1c['cdpEndpoint']!==undefined&&_0x554e5c[_0x30758a(0x21c)](_0x21eb1c[_0x30758a(0x22f)][_0x30758a(0x242)](),''))throw new Error(_0x554e5c[_0x30758a(0x243)]);if(_0x21eb1c[_0x30758a(0x22f)]&&_0x21eb1c[_0x30758a(0x1f1)])throw new Error(_0x30758a(0x22c));if(_0x21eb1c['cdpEndpoint']&&_0x21eb1c['ci'])throw new Error(_0x30758a(0x210));const _0x8cf025=Boolean(_0x21eb1c[_0x30758a(0x22f)]),_0x370626=!_0x21eb1c[_0x30758a(0x214)]&&!_0x8cf025,_0x333f37=process[_0x30758a(0x231)]['isTTY']&&process[_0x30758a(0x1fe)]['isTTY'];if(!_0x333f37&&!_0x21eb1c['url']&&!_0x8cf025)throw new Error(_0x30758a(0x21f));const _0x131e5a=_0x554e5c[_0x30758a(0x241)](findExistingEnv,_0x2c67ba);let _0x2127b8=null;if(_0x131e5a){if(!_0x333f37)_0x2127b8=_0x131e5a;else{if(_0x131e5a[_0x30758a(0x216)]===_0x2ee9eb){const {overwrite:_0x529ed2}=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c[_0x30758a(0x212)],'name':_0x554e5c[_0x30758a(0x236)],'message':'Profile\x20\x22'+_0x2c67ba+_0x30758a(0x227),'default':![]}]);if(!_0x529ed2){console[_0x30758a(0x233)](_0x554e5c[_0x30758a(0x23d)]);return;}_0x2127b8=_0x131e5a;}else{const _0x3f00e7=_0x131e5a[_0x30758a(0x216)]===_0x554e5c[_0x30758a(0x201)]?_0x554e5c['sxFiy']:_0x131e5a[_0x30758a(0x216)];console[_0x30758a(0x232)]('\x0a⚠️\x20\x20Profile\x20\x22'+_0x2c67ba+_0x30758a(0x1f6)+_0x3f00e7+':\x20'+_0x131e5a['path']),console[_0x30758a(0x232)]('\x20\x20\x20Creating\x20it\x20in\x20'+_0x2ee9eb+_0x30758a(0x204));const {shouldReplace:_0x542a8d}=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c['ArANY'],'name':'shouldReplace','message':_0x30758a(0x20d)+_0x2ee9eb+'?','default':![]}]);if(!_0x542a8d){console['log'](_0x30758a(0x21a));return;}_0x2127b8=_0x131e5a;}}}_0x12a4f7?.[_0x30758a(0x22b)](_0x554e5c[_0x30758a(0x1d9)]);let _0x51b9ac='';if(_0x8cf025)console['log'](_0x554e5c['HJjla']),console[_0x30758a(0x233)](_0x30758a(0x1ee)+_0x21eb1c[_0x30758a(0x22f)]),console[_0x30758a(0x233)](_0x30758a(0x238));else{if(_0x21eb1c[_0x30758a(0x1f1)]){_0x51b9ac=_0x21eb1c['url'];const _0x592185=await _0x554e5c['QhROu'](checkUrlReachability,_0x51b9ac);if(!_0x592185['ok']&&!_0x21eb1c['force'])throw new Error(_0x30758a(0x20a)+_0x51b9ac+':\x20'+_0x592185[_0x30758a(0x232)]+_0x30758a(0x1fa));!_0x592185['ok']&&_0x21eb1c[_0x30758a(0x23e)]&&console['log'](_0x30758a(0x23c)+_0x51b9ac+':\x20'+_0x592185['error']+'\x20(continuing\x20with\x20--force)');}else{console[_0x30758a(0x233)]('\x0a🌐\x20Profile\x20Setup\x0a'),console[_0x30758a(0x233)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console[_0x30758a(0x233)](_0x30758a(0x1fd));let _0x887d52=![];while(!![]){const _0x440f94=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c['SSJav'],'name':_0x554e5c['kCeOd'],'message':_0x887d52?_0x30758a(0x222):'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x51b9ac||_0x30758a(0x1f9)}]);_0x51b9ac=_0x440f94['baseUrl'];const _0x47dfa3=await _0x554e5c[_0x30758a(0x241)](checkUrlReachability,_0x51b9ac);if(_0x47dfa3['ok'])break;const _0x4664a3=/^[a-zA-Z][\w+.-]*:\/\//[_0x30758a(0x206)](_0x51b9ac),_0x1ae94a=_0x47dfa3['isProtocolError']&&!_0x4664a3,_0x9c5cd0=_0x1ae94a?_0x30758a(0x1f0)+_0x51b9ac:null;_0x887d52=!![],console[_0x30758a(0x233)](_0x30758a(0x1ed)+_0x51b9ac+':\x20'+_0x47dfa3[_0x30758a(0x232)]);_0x9c5cd0&&console[_0x30758a(0x233)]('\x20\x20Did\x20you\x20mean\x20'+_0x9c5cd0+'?');const {action:_0x3529ee}=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c[_0x30758a(0x1ff)],'name':_0x554e5c['izkAf'],'message':_0x554e5c['wisfo'],'choices':[..._0x9c5cd0?[{'name':'Use\x20'+_0x9c5cd0,'value':'use_suggestion'}]:[],{'name':_0x554e5c['JrYeW'],'value':'retry'},{'name':_0x554e5c[_0x30758a(0x1f5)],'value':_0x554e5c['KXrEG']}]}]);if(_0x3529ee===_0x554e5c['TdJmo']&&_0x9c5cd0){_0x51b9ac=_0x9c5cd0;const _0x3b2be9=await checkUrlReachability(_0x51b9ac);if(_0x3b2be9['ok'])break;console['log'](_0x30758a(0x1e2)+_0x51b9ac+':\x20'+_0x3b2be9['error']);}else{if(_0x3529ee==='continue')break;}}}}_0x12a4f7?.[_0x30758a(0x207)](_0x30758a(0x20f)),await mkdir(_0x476af0,{'recursive':!![]});const _0x512258=await _0x554e5c[_0x30758a(0x218)](mkdtemp,_0x554e5c[_0x30758a(0x217)](join,_0x476af0,'.tmp-'+_0x2c67ba+'-')),_0x11a81d=_0x554e5c[_0x30758a(0x1de)](join,_0x512258,'auth.json');try{if(_0x370626){_0x12a4f7?.['trackPhaseStart'](_0x554e5c[_0x30758a(0x228)]),console[_0x30758a(0x233)](_0x30758a(0x20b)),console['log'](_0x554e5c['dwPwh']),console[_0x30758a(0x233)](_0x30758a(0x23f));!_0x333f37?(console[_0x30758a(0x233)]('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x30758a(0x233)]('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console['log']('');await new Promise(_0x1e5691=>setTimeout(_0x1e5691,0xbb8));const _0x12408c=await chromium[_0x30758a(0x200)]({'headless':![]});try{const _0x5cdf5b=await _0x12408c['newContext']();await addProfileSetupBanner(_0x5cdf5b);const _0x1e7341=await _0x5cdf5b[_0x30758a(0x1dd)]();await _0x1e7341[_0x30758a(0x211)](_0x554e5c[_0x30758a(0x1f8)](_0x51b9ac,_0x554e5c['qZsPg'])),await new Promise(_0x5dff1a=>{const _0x4e310c=_0x30758a,_0x35bfc8={'GdLEi':function(_0x5a4589){const _0x1369b5=_0x67c9;return _0x554e5c[_0x1369b5(0x244)](_0x5a4589);}};_0x1e7341['on'](_0x4e310c(0x209),async()=>{try{console['log']('Saving\x20authentication\x20state...'),await _0x5cdf5b['storageState']({'path':_0x11a81d});}catch{}_0x35bfc8['GdLEi'](_0x5dff1a);});});}finally{await _0x12408c['close']()['catch'](()=>{});}if(_0x2ff2ef){const _0x5bbecd=await readFile(_0x11a81d,_0x554e5c['Xvlin']),_0x2c3142=await _0x554e5c['lJsrQ'](getToken);if(!_0x2c3142){console[_0x30758a(0x232)](_0x554e5c[_0x30758a(0x20e)]),await unlink(_0x11a81d)['catch'](()=>{});throw new Error('Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.');}else{const _0x4b1b79=_0x554e5c['guYhS'](encrypt,_0x5bbecd,_0x2c3142);await _0x554e5c[_0x30758a(0x1de)](writeFile,_0x11a81d+'.enc',_0x4b1b79),await _0x554e5c['UnlgP'](unlink,_0x11a81d),console['log'](_0x30758a(0x1f7)+_0x11a81d+_0x30758a(0x1dc)),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console[_0x30758a(0x233)]('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console[_0x30758a(0x233)]('✓\x20Auth\x20state\x20saved\x20to:\x20'+_0x11a81d);_0x12a4f7?.['trackPhaseEnd'](_0x554e5c['jrTgp']);}_0x12a4f7?.['trackPhaseStart'](_0x30758a(0x219));const _0x176752={};_0x51b9ac&&(_0x176752[_0x30758a(0x1fb)]=_0x51b9ac);_0x21eb1c['cdpEndpoint']&&(_0x176752[_0x30758a(0x22f)]=_0x21eb1c['cdpEndpoint'],_0x176752['isElectron']=!![]);await writeFile(_0x554e5c['AgyVk'](join,_0x512258,_0x30758a(0x213)),JSON[_0x30758a(0x226)](_0x176752,null,0x2)),console['log'](_0x30758a(0x237)+_0x554e5c[_0x30758a(0x1ec)](join,_0x4762e7,_0x554e5c[_0x30758a(0x225)]));if(_0x2127b8?.['location']===_0x2ee9eb){const _0x5d1db0=_0x2127b8[_0x30758a(0x1e0)]+'.backup-'+Date['now']();await _0x554e5c['Wmvov'](rename,_0x2127b8[_0x30758a(0x1e0)],_0x5d1db0);try{await _0x554e5c[_0x30758a(0x1e8)](rename,_0x512258,_0x4762e7);}catch(_0x40225c){await _0x554e5c['aZjra'](rename,_0x5d1db0,_0x2127b8[_0x30758a(0x1e0)]);throw _0x40225c;}try{await rm(_0x5d1db0,{'recursive':!![]});}catch{console['log'](_0x30758a(0x234)+_0x5d1db0);}}else{await _0x554e5c[_0x30758a(0x240)](rename,_0x512258,_0x4762e7);if(_0x2127b8)try{await rm(_0x2127b8[_0x30758a(0x1e0)],{'recursive':!![]}),console[_0x30758a(0x233)](_0x30758a(0x1f3)+_0x2127b8['path']);}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x2127b8['path']);}}try{await writeActiveProfileName(_0x2c67ba),console['log']('\x20\x20Set\x20active\x20profile:\x20'+_0x2c67ba);}catch{console['log'](_0x30758a(0x221));}_0x12a4f7?.[_0x30758a(0x207)]('config_write'),console[_0x30758a(0x233)]('\x0a\x20\x20Profile\x20\x22'+_0x2c67ba+_0x30758a(0x23a));}catch(_0x4089c2){await rm(_0x512258,{'recursive':!![],'force':!![]});throw _0x4089c2;}}
1
+ function _0x16fc(_0x420074,_0x4acc6e){_0x420074=_0x420074-0x139;const _0x1b56e5=_0x1b56();let _0x16fc76=_0x1b56e5[_0x420074];return _0x16fc76;}(function(_0x34e016,_0x1c451f){const _0x7a314f=_0x16fc,_0x3f9dcd=_0x34e016();while(!![]){try{const _0x272868=parseInt(_0x7a314f(0x149))/0x1+-parseInt(_0x7a314f(0x161))/0x2*(parseInt(_0x7a314f(0x17f))/0x3)+parseInt(_0x7a314f(0x194))/0x4+parseInt(_0x7a314f(0x169))/0x5*(parseInt(_0x7a314f(0x18e))/0x6)+parseInt(_0x7a314f(0x172))/0x7+-parseInt(_0x7a314f(0x15d))/0x8*(-parseInt(_0x7a314f(0x143))/0x9)+-parseInt(_0x7a314f(0x13f))/0xa*(parseInt(_0x7a314f(0x18d))/0xb);if(_0x272868===_0x1c451f)break;else _0x3f9dcd['push'](_0x3f9dcd['shift']());}catch(_0x502e05){_0x3f9dcd['push'](_0x3f9dcd['shift']());}}}(_0x1b56,0x7a25a));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x4624e1 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';function _0x1b56(){const _0x328766=['Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','status','confirm','10aiQwxD','SrYQK','log','error','QSbKe','TOXbu','HlKIU','trim','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','5323304wUnqzF','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','catch','force','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','Invalid\x20URL','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','trackPhaseEnd','auth.json','kBiMq','LbCnG','Enter\x20a\x20different\x20URL','Delete\x20existing\x20and\x20create\x20new\x20in\x20','313548UoajaF','Use\x20','storageState','✓\x20Auth\x20state\x20saved\x20to:\x20','QKYiO','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','includes','LWusP','ugDfb','prompt','root\x20(.ranger/)','close','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','Saving\x20authentication\x20state...','11ulbAUK','671694pPSoLE','\x0a⚠️\x20\x20Profile\x20\x22','BebNN','\x0a\x20\x20Profile\x20\x22','settings.json','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','393788GfhaKE','DeRYn','ICmEP','DdEmd','gTjjF','baseUrl','HpmmW','manual','launch','OuPtC','✓\x20Created\x20settings:\x20','10125150vLSExj','config_write','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','name','9CfXAgS','\x22\x20already\x20exists.\x20Overwrite?','cdpEndpoint','now','Continue\x20anyway','\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','475091VaPrxj','What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','trackPhaseStart','isElectron','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','url_setup','newPage','LvLrP','\x20(continuing\x20with\x20--force)','url','skipAuth','Could\x20not\x20reach\x20','CGxkE','iUsSa','path','use_suggestion','uPOdK','browser_auth','\x0a📋\x20Authentication\x20Setup','test','6328392Qptyun','stdout','qjLra','about:blank','16uZldUL','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','utf-8','\x20\x20Did\x20you\x20mean\x20','TypeError'];_0x1b56=function(){return _0x328766;};return _0x1b56();}async function checkUrlReachability(_0x49cba7){const _0x3b22eb=_0x16fc,_0x21df6c={'HpmmW':function(_0x5e3200,_0x310f61,_0x229269){return _0x5e3200(_0x310f61,_0x229269);},'SrYQK':_0x3b22eb(0x13b),'IaEkl':function(_0x56ff4e,_0x5382da){return _0x56ff4e<_0x5382da;},'LKipn':function(_0x14d831,_0x1717e0){return _0x14d831===_0x1717e0;},'ICmEP':_0x3b22eb(0x165)};try{const _0x100cc0=new AbortController(),_0x2eccca=_0x21df6c[_0x3b22eb(0x13a)](setTimeout,()=>_0x100cc0['abort'](),0x1388),_0x1a51a9=await fetch(_0x49cba7,{'method':'HEAD','signal':_0x100cc0['signal'],'redirect':_0x21df6c[_0x3b22eb(0x16a)]});clearTimeout(_0x2eccca);if(_0x21df6c['IaEkl'](_0x1a51a9['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x1a51a9[_0x3b22eb(0x167)]};}catch(_0x1e2a6c){const _0x63dc30=_0x1e2a6c,_0x2ce69d=_0x63dc30['message']||String(_0x1e2a6c),_0x4febc8=_0x2ce69d['includes'](_0x3b22eb(0x177))||_0x21df6c['LKipn'](_0x63dc30[_0x3b22eb(0x142)],_0x21df6c[_0x3b22eb(0x196)])||_0x2ce69d[_0x3b22eb(0x185)]('fetch\x20failed');return{'ok':![],'error':_0x2ce69d,'isProtocolError':_0x4febc8};}}export async function addEnv(_0x1cf30e,_0x5c38fc={},_0x1b847b){const _0x2a3a0d=_0x16fc,_0x18fff5={'qjLra':'close','djVav':'local','aBecB':function(_0x395612,_0x2c6ce2,_0x3d5f07,_0x53eae9){return _0x395612(_0x2c6ce2,_0x3d5f07,_0x53eae9);},'EWboH':function(_0x29a5c3){return _0x29a5c3();},'BebNN':function(_0x3f56e7,_0x34da48,_0x25b166){return _0x3f56e7(_0x34da48,_0x25b166);},'Jumrm':_0x2a3a0d(0x184),'kBiMq':function(_0x217eed,_0x3acfc0){return _0x217eed(_0x3acfc0);},'DeRYn':function(_0xbf31cb,_0x56de82){return _0xbf31cb===_0x56de82;},'QSbKe':_0x2a3a0d(0x168),'XLXFk':'Aborted.','tzhAc':_0x2a3a0d(0x189),'QKYiO':'shouldReplace','iUsSa':_0x2a3a0d(0x14e),'fQURN':'\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','VeuAZ':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','jCEOY':function(_0x47f232,_0x291a20){return _0x47f232(_0x291a20);},'zFRdE':'\x0a🌐\x20Profile\x20Setup\x0a','vrSvY':_0x2a3a0d(0x173),'pAfAk':'\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','DdEmd':_0x2a3a0d(0x14a),'wZmAx':'http://localhost:3000','Fzpoy':'list','rcgsD':'action','LbCnG':'What\x20would\x20you\x20like\x20to\x20do?','LvLrP':_0x2a3a0d(0x147),'CGxkE':function(_0x4d5b17,_0x21bbb1){return _0x4d5b17(_0x21bbb1);},'loIyu':_0x2a3a0d(0x15b),'TOXbu':function(_0xa4358d,_0x506653){return _0xa4358d(_0x506653);},'GEbQc':_0x2a3a0d(0x160),'gTjjF':_0x2a3a0d(0x163),'SLRyW':function(_0x4f403d,_0x2ee316){return _0x4f403d(_0x2ee316);},'uOIiN':function(_0x592265,_0x337f43){return _0x592265+_0x337f43;},'ugDfb':'.enc','nkNzI':_0x2a3a0d(0x193),'pNFyC':'browser_auth','LWusP':function(_0x3cb1d9,_0x24fedf,_0x441fdd){return _0x3cb1d9(_0x24fedf,_0x441fdd);},'OuPtC':function(_0x3bb592,_0x255265,_0xa756){return _0x3bb592(_0x255265,_0xa756);},'KXlXg':'settings.json','HlKIU':function(_0x33ab28,_0x10fd48,_0x17b5e7){return _0x33ab28(_0x10fd48,_0x17b5e7);},'uPOdK':function(_0x59bc57,_0x3e0b4e,_0x4a5852){return _0x59bc57(_0x3e0b4e,_0x4a5852);},'pOpiK':_0x2a3a0d(0x141)},_0x1fa9cb=_0x5c38fc['ci']??![],_0x5ec68b=_0x1fa9cb?'ci':_0x18fff5['djVav'],_0x4acb55=_0x18fff5['aBecB'](join,_0x18fff5['EWboH'](getRangerDir),_0x5ec68b,_0x1cf30e),_0x49556c=_0x18fff5['BebNN'](join,getRangerDir(),_0x5ec68b);if(_0x5c38fc[_0x2a3a0d(0x145)]!==undefined&&_0x5c38fc[_0x2a3a0d(0x145)][_0x2a3a0d(0x170)]()==='')throw new Error(_0x18fff5['Jumrm']);if(_0x5c38fc[_0x2a3a0d(0x145)]&&_0x5c38fc['url'])throw new Error('--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.');if(_0x5c38fc[_0x2a3a0d(0x145)]&&_0x5c38fc['ci'])throw new Error('--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.');const _0x506dc9=_0x18fff5[_0x2a3a0d(0x17b)](Boolean,_0x5c38fc[_0x2a3a0d(0x145)]),_0x408093=!_0x5c38fc[_0x2a3a0d(0x153)]&&!_0x506dc9,_0x177d8f=process['stdin']['isTTY']&&process[_0x2a3a0d(0x15e)]['isTTY'];if(!_0x177d8f&&!_0x5c38fc[_0x2a3a0d(0x152)]&&!_0x506dc9)throw new Error('Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000');const _0x4d1072=_0x18fff5['kBiMq'](findExistingEnv,_0x1cf30e);let _0x492e94=null;if(_0x4d1072){if(!_0x177d8f)_0x492e94=_0x4d1072;else{if(_0x18fff5[_0x2a3a0d(0x195)](_0x4d1072['location'],_0x5ec68b)){const {overwrite:_0x147077}=await _0x4624e1['prompt']([{'type':_0x18fff5[_0x2a3a0d(0x16d)],'name':'overwrite','message':'Profile\x20\x22'+_0x1cf30e+_0x2a3a0d(0x144),'default':![]}]);if(!_0x147077){console[_0x2a3a0d(0x16b)](_0x18fff5['XLXFk']);return;}_0x492e94=_0x4d1072;}else{const _0x1733f6=_0x4d1072['location']==='legacy'?_0x18fff5['tzhAc']:_0x4d1072['location'];console['error'](_0x2a3a0d(0x18f)+_0x1cf30e+'\x22\x20already\x20exists\x20in\x20'+_0x1733f6+':\x20'+_0x4d1072[_0x2a3a0d(0x157)]),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x5ec68b+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x295361}=await _0x4624e1[_0x2a3a0d(0x188)]([{'type':_0x2a3a0d(0x168),'name':_0x18fff5[_0x2a3a0d(0x183)],'message':_0x2a3a0d(0x17e)+_0x5ec68b+'?','default':![]}]);if(!_0x295361){console[_0x2a3a0d(0x16b)]('Aborted.');return;}_0x492e94=_0x4d1072;}}}_0x1b847b?.['trackPhaseStart'](_0x18fff5[_0x2a3a0d(0x156)]);let _0x501a8d='';if(_0x506dc9)console['log'](_0x18fff5['fQURN']),console['log']('\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20'+_0x5c38fc['cdpEndpoint']),console['log'](_0x18fff5['VeuAZ']);else{if(_0x5c38fc[_0x2a3a0d(0x152)]){_0x501a8d=_0x5c38fc['url'];const _0x7fed30=await _0x18fff5['jCEOY'](checkUrlReachability,_0x501a8d);if(!_0x7fed30['ok']&&!_0x5c38fc[_0x2a3a0d(0x175)])throw new Error(_0x2a3a0d(0x154)+_0x501a8d+':\x20'+_0x7fed30['error']+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x7fed30['ok']&&_0x5c38fc[_0x2a3a0d(0x175)]&&console[_0x2a3a0d(0x16b)]('⚠\x20Could\x20not\x20reach\x20'+_0x501a8d+':\x20'+_0x7fed30[_0x2a3a0d(0x16c)]+_0x2a3a0d(0x151));}else{console[_0x2a3a0d(0x16b)](_0x18fff5['zFRdE']),console['log'](_0x18fff5['vrSvY']),console[_0x2a3a0d(0x16b)](_0x18fff5['pAfAk']);let _0xb2eee9=![];while(!![]){const _0x2c91e9=await _0x4624e1['prompt']([{'type':'input','name':'baseUrl','message':_0xb2eee9?_0x2a3a0d(0x18b):_0x18fff5[_0x2a3a0d(0x197)],'default':_0x501a8d||_0x18fff5['wZmAx']}]);_0x501a8d=_0x2c91e9[_0x2a3a0d(0x139)];const _0x4f29dd=await checkUrlReachability(_0x501a8d);if(_0x4f29dd['ok'])break;const _0x1a9343=/^[a-zA-Z][\w+.-]*:\/\//[_0x2a3a0d(0x15c)](_0x501a8d),_0x4f8a9d=_0x4f29dd['isProtocolError']&&!_0x1a9343,_0x57afe4=_0x4f8a9d?'http://'+_0x501a8d:null;_0xb2eee9=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x501a8d+':\x20'+_0x4f29dd['error']);_0x57afe4&&console[_0x2a3a0d(0x16b)](_0x2a3a0d(0x164)+_0x57afe4+'?');const {action:_0x48e53c}=await _0x4624e1[_0x2a3a0d(0x188)]([{'type':_0x18fff5['Fzpoy'],'name':_0x18fff5['rcgsD'],'message':_0x18fff5[_0x2a3a0d(0x17c)],'choices':[..._0x57afe4?[{'name':_0x2a3a0d(0x180)+_0x57afe4,'value':'use_suggestion'}]:[],{'name':_0x2a3a0d(0x17d),'value':'retry'},{'name':_0x18fff5[_0x2a3a0d(0x150)],'value':'continue'}]}]);if(_0x18fff5['DeRYn'](_0x48e53c,_0x2a3a0d(0x158))&&_0x57afe4){_0x501a8d=_0x57afe4;const _0x1ece18=await _0x18fff5[_0x2a3a0d(0x155)](checkUrlReachability,_0x501a8d);if(_0x1ece18['ok'])break;console['log'](_0x2a3a0d(0x162)+_0x501a8d+':\x20'+_0x1ece18[_0x2a3a0d(0x16c)]);}else{if(_0x48e53c==='continue')break;}}}}_0x1b847b?.['trackPhaseEnd'](_0x2a3a0d(0x14e)),await mkdir(_0x49556c,{'recursive':!![]});const _0x22e75b=await mkdtemp(join(_0x49556c,'.tmp-'+_0x1cf30e+'-')),_0x522e70=join(_0x22e75b,_0x2a3a0d(0x17a));try{if(_0x408093){_0x1b847b?.[_0x2a3a0d(0x14b)](_0x2a3a0d(0x15a)),console[_0x2a3a0d(0x16b)](_0x18fff5['loIyu']),console['log'](_0x2a3a0d(0x14d)),console[_0x2a3a0d(0x16b)]('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x177d8f?(console['log'](_0x2a3a0d(0x148)),console['log'](_0x2a3a0d(0x178))):console['log']('');await new Promise(_0x1ed742=>setTimeout(_0x1ed742,0xbb8));const _0x4c87b0=await chromium[_0x2a3a0d(0x13c)]({'headless':![]});try{const _0x35ed82=await _0x4c87b0['newContext']();await _0x18fff5[_0x2a3a0d(0x16e)](addProfileSetupBanner,_0x35ed82);const _0x517b4d=await _0x35ed82[_0x2a3a0d(0x14f)]();await _0x517b4d['goto'](_0x501a8d||_0x18fff5['GEbQc']),await new Promise(_0x3611e2=>{const _0x5446c2=_0x2a3a0d;_0x517b4d['on'](_0x18fff5[_0x5446c2(0x15f)],async()=>{const _0x145384=_0x5446c2;try{console[_0x145384(0x16b)](_0x145384(0x18c)),await _0x35ed82[_0x145384(0x181)]({'path':_0x522e70});}catch{}_0x3611e2();});});}finally{await _0x4c87b0[_0x2a3a0d(0x18a)]()[_0x2a3a0d(0x174)](()=>{});}if(_0x1fa9cb){const _0x5c949d=await _0x18fff5[_0x2a3a0d(0x190)](readFile,_0x522e70,_0x18fff5[_0x2a3a0d(0x198)]),_0x57255e=await getToken();if(!_0x57255e){console[_0x2a3a0d(0x16c)]('\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]'),await _0x18fff5['SLRyW'](unlink,_0x522e70)[_0x2a3a0d(0x174)](()=>{});throw new Error('Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.');}else{const _0x327718=encrypt(_0x5c949d,_0x57255e);await _0x18fff5['BebNN'](writeFile,_0x18fff5['uOIiN'](_0x522e70,_0x18fff5[_0x2a3a0d(0x187)]),_0x327718),await unlink(_0x522e70),console['log'](_0x2a3a0d(0x176)+_0x522e70+'.enc'),console['log'](_0x18fff5['nkNzI']),console['log']('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console['log'](_0x2a3a0d(0x182)+_0x522e70);_0x1b847b?.['trackPhaseEnd'](_0x18fff5['pNFyC']);}_0x1b847b?.[_0x2a3a0d(0x14b)]('config_write');const _0x11084d={};_0x501a8d&&(_0x11084d['baseUrl']=_0x501a8d);_0x5c38fc['cdpEndpoint']&&(_0x11084d[_0x2a3a0d(0x145)]=_0x5c38fc['cdpEndpoint'],_0x11084d[_0x2a3a0d(0x14c)]=!![]);await _0x18fff5[_0x2a3a0d(0x186)](writeFile,_0x18fff5[_0x2a3a0d(0x13d)](join,_0x22e75b,_0x2a3a0d(0x192)),JSON['stringify'](_0x11084d,null,0x2)),console[_0x2a3a0d(0x16b)](_0x2a3a0d(0x13e)+_0x18fff5[_0x2a3a0d(0x190)](join,_0x4acb55,_0x18fff5['KXlXg']));if(_0x492e94?.['location']===_0x5ec68b){const _0x234a42=_0x492e94[_0x2a3a0d(0x157)]+'.backup-'+Date[_0x2a3a0d(0x146)]();await rename(_0x492e94[_0x2a3a0d(0x157)],_0x234a42);try{await _0x18fff5['HlKIU'](rename,_0x22e75b,_0x4acb55);}catch(_0x409ecb){await _0x18fff5[_0x2a3a0d(0x159)](rename,_0x234a42,_0x492e94[_0x2a3a0d(0x157)]);throw _0x409ecb;}try{await _0x18fff5[_0x2a3a0d(0x16f)](rm,_0x234a42,{'recursive':!![]});}catch{console[_0x2a3a0d(0x16b)](_0x2a3a0d(0x171)+_0x234a42);}}else{await rename(_0x22e75b,_0x4acb55);if(_0x492e94)try{await rm(_0x492e94['path'],{'recursive':!![]}),console[_0x2a3a0d(0x16b)]('Removed\x20existing\x20profile\x20at\x20'+_0x492e94['path']);}catch{console[_0x2a3a0d(0x16b)](_0x2a3a0d(0x166)+_0x492e94[_0x2a3a0d(0x157)]);}}try{await writeActiveProfileName(_0x1cf30e),console[_0x2a3a0d(0x16b)]('\x20\x20Set\x20active\x20profile:\x20'+_0x1cf30e);}catch{console[_0x2a3a0d(0x16b)](_0x18fff5['pOpiK']);}_0x1b847b?.[_0x2a3a0d(0x179)](_0x2a3a0d(0x140)),console[_0x2a3a0d(0x16b)](_0x2a3a0d(0x191)+_0x1cf30e+'\x22\x20configured');}catch(_0x535f99){await rm(_0x22e75b,{'recursive':!![],'force':!![]});throw _0x535f99;}}
@@ -1 +1 @@
1
- function _0x3173(){const _0x34a987=['No\x20auth.json\x20found\x20at\x20','22qzNamR','utf-8','LOmIx','647470zbfHTS','BSeNL','70ETYitq','3590682pUMeGG','124617BjOwBj','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','83502powxfE','YRoAE','24eLQDNY','log','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','3665zohSVn','2020yPurpb','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','125092yXgQsw','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','.enc','962381AobYKP'];_0x3173=function(){return _0x34a987;};return _0x3173();}(function(_0xcf1f42,_0x565662){const _0x3370e1=_0x441e,_0x51db5d=_0xcf1f42();while(!![]){try{const _0x1f95dc=parseInt(_0x3370e1(0xb3))/0x1+-parseInt(_0x3370e1(0xb0))/0x2*(-parseInt(_0x3370e1(0xa1))/0x3)+-parseInt(_0x3370e1(0xa9))/0x4*(-parseInt(_0x3370e1(0xa8))/0x5)+-parseInt(_0x3370e1(0xb6))/0x6+-parseInt(_0x3370e1(0xae))/0x7*(parseInt(_0x3370e1(0xa5))/0x8)+-parseInt(_0x3370e1(0xa3))/0x9+-parseInt(_0x3370e1(0xb5))/0xa*(parseInt(_0x3370e1(0xab))/0xb);if(_0x1f95dc===_0x565662)break;else _0x51db5d['push'](_0x51db5d['shift']());}catch(_0x5d7e5f){_0x51db5d['push'](_0x51db5d['shift']());}}}(_0x3173,0x5b802));function _0x441e(_0xfab364,_0x3fb9b7){_0xfab364=_0xfab364-0xa1;const _0x31735a=_0x3173();let _0x441e6f=_0x31735a[_0xfab364];return _0x441e6f;}import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x5e5aaf){const _0x312fd1=_0x441e,_0x1286a0={'BSeNL':function(_0x3224ba,_0x147fdf){return _0x3224ba+_0x147fdf;},'XUFiv':_0x312fd1(0xad),'LOmIx':function(_0x2e81ea,_0x2df984){return _0x2e81ea(_0x2df984);},'bWMpY':function(_0x1c327f){return _0x1c327f();},'cVJNb':function(_0x1f8e1e,_0x2f83aa,_0x29caf6){return _0x1f8e1e(_0x2f83aa,_0x29caf6);},'YRoAE':_0x312fd1(0xaa),'fDvYH':_0x312fd1(0xa7)},_0x23f9f6=getEnvDir(_0x5e5aaf),_0x259664=join(_0x23f9f6,'auth.json'),_0x516753=_0x1286a0[_0x312fd1(0xb4)](_0x259664,_0x1286a0['XUFiv']);if(!existsSync(_0x23f9f6))throw new Error('Profile\x20\x22'+_0x5e5aaf+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x5e5aaf);if(!_0x1286a0[_0x312fd1(0xb2)](existsSync,_0x259664))throw new Error(_0x312fd1(0xaf)+_0x259664+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x5dc659=await _0x1286a0['bWMpY'](getToken);if(!_0x5dc659)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x37dc47=await readFile(_0x259664,_0x312fd1(0xb1)),_0x4fd438=_0x1286a0['cVJNb'](encrypt,_0x37dc47,_0x5dc659);await writeFile(_0x516753,_0x4fd438),console[_0x312fd1(0xa6)](_0x312fd1(0xac)+_0x516753),console['log'](_0x1286a0[_0x312fd1(0xa4)]),console['log'](_0x1286a0['fDvYH']),existsSync(_0x516753)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x312fd1(0xa6)](_0x312fd1(0xa2)));}
1
+ (function(_0x1de584,_0x255ba9){const _0x377a1d=_0x4038,_0x359d88=_0x1de584();while(!![]){try{const _0x1dd42e=-parseInt(_0x377a1d(0x1aa))/0x1+-parseInt(_0x377a1d(0x1a5))/0x2*(-parseInt(_0x377a1d(0x1a7))/0x3)+-parseInt(_0x377a1d(0x19e))/0x4+parseInt(_0x377a1d(0x1a8))/0x5+parseInt(_0x377a1d(0x19d))/0x6*(-parseInt(_0x377a1d(0x1a3))/0x7)+-parseInt(_0x377a1d(0x1ab))/0x8+parseInt(_0x377a1d(0x1a9))/0x9;if(_0x1dd42e===_0x255ba9)break;else _0x359d88['push'](_0x359d88['shift']());}catch(_0x53e637){_0x359d88['push'](_0x359d88['shift']());}}}(_0x5a93,0xdc692));function _0x5a93(){const _0x399aee=['1504528UaAgqK','log','No\x20auth.json\x20found\x20at\x20','\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','5866Hhiwob','Profile\x20\x22','145284kHDUTi','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','39TcTjlm','6353430JXqrwI','12737664BNdflb','267130mrppbk','11974608wNKJGU','.enc','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','4206GUAbNX'];_0x5a93=function(){return _0x399aee;};return _0x5a93();}import{readFile,writeFile}from'fs/promises';import{join}from'path';function _0x4038(_0x104467,_0x1b1262){_0x104467=_0x104467-0x19c;const _0x5a9332=_0x5a93();let _0x4038f1=_0x5a9332[_0x104467];return _0x4038f1;}import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x2c80c2){const _0x4de848=_0x4038,_0x4ae6ee={'RJSlH':function(_0x3ffa12,_0x23a522){return _0x3ffa12(_0x23a522);},'yvMvg':function(_0x4a5a64){return _0x4a5a64();},'oXZca':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','WoPwm':'utf-8','MmnsP':_0x4de848(0x1a6)},_0x1b3b46=_0x4ae6ee['RJSlH'](getEnvDir,_0x2c80c2),_0x248001=join(_0x1b3b46,'auth.json'),_0x4ab6ca=_0x248001+_0x4de848(0x1ac);if(!existsSync(_0x1b3b46))throw new Error(_0x4de848(0x1a4)+_0x2c80c2+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x2c80c2);if(!existsSync(_0x248001))throw new Error(_0x4de848(0x1a0)+_0x248001+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x3fc5fc=await _0x4ae6ee['yvMvg'](getToken);if(!_0x3fc5fc)throw new Error(_0x4ae6ee['oXZca']);const _0x2c833d=await readFile(_0x248001,_0x4ae6ee['WoPwm']),_0x1808c2=encrypt(_0x2c833d,_0x3fc5fc);await writeFile(_0x4ab6ca,_0x1808c2),console['log'](_0x4de848(0x1a2)+_0x4ab6ca),console[_0x4de848(0x19f)](_0x4ae6ee['MmnsP']),console['log']('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.'),existsSync(_0x4ab6ca)&&(console['log'](_0x4de848(0x1a1)),console['log'](_0x4de848(0x19c)));}
@@ -1 +1 @@
1
- const _0x3bd97d=_0x46ec;(function(_0x256eb9,_0x5b727a){const _0x7566c2=_0x46ec,_0x1628a9=_0x256eb9();while(!![]){try{const _0x501cb9=-parseInt(_0x7566c2(0x18c))/0x1+parseInt(_0x7566c2(0x179))/0x2+parseInt(_0x7566c2(0x196))/0x3+parseInt(_0x7566c2(0x1a4))/0x4*(-parseInt(_0x7566c2(0x16f))/0x5)+-parseInt(_0x7566c2(0x17d))/0x6*(parseInt(_0x7566c2(0x19c))/0x7)+parseInt(_0x7566c2(0x18d))/0x8+-parseInt(_0x7566c2(0x171))/0x9*(parseInt(_0x7566c2(0x177))/0xa);if(_0x501cb9===_0x5b727a)break;else _0x1628a9['push'](_0x1628a9['shift']());}catch(_0x463221){_0x1628a9['push'](_0x1628a9['shift']());}}}(_0x5fb2,0x783c8));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';function _0x46ec(_0x103dcb,_0x44925c){_0x103dcb=_0x103dcb-0x16c;const _0x5fb2f0=_0x5fb2();let _0x46ecc8=_0x5fb2f0[_0x103dcb];return _0x46ecc8;}import{existsSync}from'fs';function _0x5fb2(){const _0x29314c=['1511316PQjXuz','MvTKe','wVbFe','PotCf','close','VnqlW','20CRSowl','length','726850MXjiBU','string','tqKtx','pWpPv','10074oSjNLC','bRbEh','✓\x20Removed\x20project\x20skill:\x20','e2e-test-recommender','pPXBs','parse','✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','ranger@trailhead','claude','OylYV','✓\x20Removed\x20OpenCode\x20project\x20skill:\x20','RIuJw','plugin','log','✓\x20Removed\x20.ranger/\x20directory','326405zpNXDG','457424tlJdsT','push','✓\x20Removed\x20user\x20skill:\x20','jgyhD','AvXiN','PckLp','\x0a✅\x20Cleanup\x20complete!\x0a','stringify','trailhead','2559477owsEzJ','HCunI','✓\x20Removed\x20trailhead\x20marketplace','✓\x20Removed\x20OpenCode\x20user\x20skill:\x20','@ranger-testing/opencode-plugin','utf-8','245GgVGCd','project','FvLvl','SaCwY','pipe','EcvzR','pnHDW','Nothing\x20to\x20clean\x20up.\x0a','30128cDCMOi','EsUAu','PJgvB','SINAy','✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','KvBXh','replace','gqksW','40svjsKY','remove'];_0x5fb2=function(){return _0x29314c;};return _0x5fb2();}import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=['ranger','feature-tracker','bug-bash',_0x3bd97d(0x180)],opencodePluginName=_0x3bd97d(0x19a);function parseJsonc(_0x422f82){const _0x28b679=_0x3bd97d,_0xf89c93=_0x422f82[_0x28b679(0x16d)](/\/\*[\s\S]*?\*\//g,''),_0x4ede50=_0xf89c93[_0x28b679(0x16d)](/^\s*\/\/.*$/gm,''),_0x167653=_0x4ede50[_0x28b679(0x16d)](/,\s*([}\]])/g,'$1');return JSON[_0x28b679(0x182)](_0x167653);}async function removeOpencodePluginConfig(_0xc7702a){const _0x5a661f=_0x3bd97d,_0x222791={'pPXBs':_0x5a661f(0x17a),'wVbFe':function(_0x130d85,_0x117e92){return _0x130d85!==_0x117e92;},'AvXiN':function(_0x8f3ca8,_0x53ff10){return _0x8f3ca8(_0x53ff10);},'SOuIh':_0x5a661f(0x19b),'FvLvl':function(_0x10def4,_0x3e5594){return _0x10def4===_0x3e5594;},'vIMmj':function(_0x46488f,_0x2bb574,_0x28f9d2){return _0x46488f(_0x2bb574,_0x28f9d2);},'ZlyIM':function(_0x5e8a80,_0x490b6f){return _0x5e8a80+_0x490b6f;}};if(!_0x222791[_0x5a661f(0x191)](existsSync,_0xc7702a))return![];let _0x138851;try{const _0x4325c4=await readFile(_0xc7702a,_0x222791['SOuIh']);_0x138851=_0x222791[_0x5a661f(0x191)](parseJsonc,_0x4325c4);}catch{return![];}const _0x22d9fc=Array['isArray'](_0x138851['plugin'])?_0x138851[_0x5a661f(0x189)]:[];if(_0x222791['FvLvl'](_0x22d9fc[_0x5a661f(0x178)],0x0))return![];const _0x2a4274=_0x22d9fc['filter'](_0x586a26=>{const _0x1dae72=_0x5a661f;if(typeof _0x586a26!==_0x222791[_0x1dae72(0x181)])return!![];return _0x222791[_0x1dae72(0x173)](_0x586a26,opencodePluginName);});if(_0x222791[_0x5a661f(0x19e)](_0x2a4274[_0x5a661f(0x178)],_0x22d9fc['length']))return![];return _0x2a4274[_0x5a661f(0x178)]===0x0?delete _0x138851['plugin']:_0x138851['plugin']=_0x2a4274,await _0x222791['vIMmj'](writeFile,_0xc7702a,_0x222791['ZlyIM'](JSON[_0x5a661f(0x194)](_0x138851,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x3fbc66){const _0x2d32fe=_0x3bd97d,_0x2f2cfd={'tHzzX':_0x2d32fe(0x189),'KvBXh':_0x2d32fe(0x184),'HCunI':function(_0x497b58,_0x4ffe68,_0x49f1e4,_0x36bcf3){return _0x497b58(_0x4ffe68,_0x49f1e4,_0x36bcf3);},'gqAGO':_0x2d32fe(0x185),'jgyhD':'win32','SINAy':'error'};return new Promise(_0x2133ff=>{const _0x5c8354=_0x2d32fe,_0x1ebe17=[_0x2f2cfd['tHzzX'],'uninstall',_0x2f2cfd[_0x5c8354(0x16c)]];_0x3fbc66&&_0x1ebe17[_0x5c8354(0x18e)]('--scope',_0x3fbc66);const _0x5b6bd1=_0x2f2cfd[_0x5c8354(0x197)](spawn,_0x2f2cfd['gqAGO'],_0x1ebe17,{'stdio':_0x5c8354(0x1a0),'shell':process['platform']===_0x2f2cfd[_0x5c8354(0x190)]});_0x5b6bd1['on']('close',_0x189c39=>{_0x2133ff(_0x189c39===0x0);}),_0x5b6bd1['on'](_0x2f2cfd[_0x5c8354(0x1a7)],()=>{_0x2133ff(![]);});});}async function removeMarketplace(){const _0x1c3785=_0x3bd97d,_0x3cb7f1={'bRbEh':function(_0x17c214,_0x1b0214){return _0x17c214(_0x1b0214);},'PotCf':_0x1c3785(0x189),'HXaVA':_0x1c3785(0x170),'BxBFy':_0x1c3785(0x195),'pWpPv':_0x1c3785(0x175),'gqksW':'error'};return new Promise(_0x66668d=>{const _0x4c5fec=_0x1c3785,_0xa1a11c={'NEcET':function(_0x20f47e,_0x5e568c){return _0x20f47e(_0x5e568c);},'OylYV':function(_0x4f9539,_0x281277){return _0x4f9539===_0x281277;}},_0x51831a=spawn(_0x4c5fec(0x185),[_0x3cb7f1[_0x4c5fec(0x174)],'marketplace',_0x3cb7f1['HXaVA'],_0x3cb7f1['BxBFy']],{'stdio':'pipe','shell':process['platform']==='win32'});_0x51831a['on'](_0x3cb7f1[_0x4c5fec(0x17c)],_0x35e71a=>{const _0x15c290=_0x4c5fec;_0xa1a11c['NEcET'](_0x66668d,_0xa1a11c[_0x15c290(0x186)](_0x35e71a,0x0));}),_0x51831a['on'](_0x3cb7f1[_0x4c5fec(0x16e)],()=>{const _0x4f48cd=_0x4c5fec;_0x3cb7f1[_0x4f48cd(0x17e)](_0x66668d,![]);});});}export async function clean(){const _0x17b4b6=_0x3bd97d,_0x6cac90={'EcvzR':function(_0x5e0e5d){return _0x5e0e5d();},'PJgvB':function(_0x1140a3){return _0x1140a3();},'neUwF':function(_0x2088ee,_0x32cb3c){return _0x2088ee(_0x32cb3c);},'PckLp':function(_0x39c38d,_0x10b7b9){return _0x39c38d(_0x10b7b9);},'HAGvG':function(_0x4e3913,_0x10d6c5){return _0x4e3913(_0x10d6c5);},'tqKtx':function(_0x18e8d4,_0x35b1ff,_0x22ee29){return _0x18e8d4(_0x35b1ff,_0x22ee29);},'pnHDW':function(_0x272b4e,_0x9d61e,_0x196572){return _0x272b4e(_0x9d61e,_0x196572);},'MvTKe':function(_0x21738a,_0x5f530a,_0x54ab75){return _0x21738a(_0x5f530a,_0x54ab75);},'SaCwY':function(_0x4cd7ae,_0x14b564){return _0x4cd7ae(_0x14b564);},'VnqlW':function(_0x3162d6,_0x519afd){return _0x3162d6(_0x519afd);},'ymayX':function(_0x33b8b7,_0x93ac68,_0x1fb624){return _0x33b8b7(_0x93ac68,_0x1fb624);},'EsUAu':function(_0x3fd7bc,_0x1e978f,_0x146253){return _0x3fd7bc(_0x1e978f,_0x146253);},'qBAgk':'opencode.json','fjxlk':function(_0x164012,_0x7c62f4){return _0x164012(_0x7c62f4);},'GUVWh':'✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','LxJqb':_0x17b4b6(0x1a8),'RIuJw':_0x17b4b6(0x193),'VIcGb':_0x17b4b6(0x1a3)};console[_0x17b4b6(0x18a)]('\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a');let _0x5d1e13=![];try{await _0x6cac90['EcvzR'](deleteAllCredentials),console[_0x17b4b6(0x18a)]('✓\x20Removed\x20stored\x20credentials'),_0x5d1e13=!![];}catch{}const _0x23f94b=_0x6cac90[_0x17b4b6(0x1a6)](getCacheFile);_0x6cac90['neUwF'](existsSync,_0x23f94b)&&(await _0x6cac90[_0x17b4b6(0x192)](rm,_0x23f94b),_0x5d1e13=!![]);const _0x490de9=_0x6cac90[_0x17b4b6(0x1a1)](getRangerDir);_0x6cac90['HAGvG'](existsSync,_0x490de9)&&(await _0x6cac90[_0x17b4b6(0x17b)](rm,_0x490de9,{'recursive':!![]}),console[_0x17b4b6(0x18a)](_0x17b4b6(0x18b)),_0x5d1e13=!![]);const _0x5e2340=getProjectSkillsDir();for(const _0x5bb968 of skillsToRemove){const _0xb4e6d1=join(_0x5e2340,_0x5bb968);_0x6cac90['HAGvG'](existsSync,_0xb4e6d1)&&(await _0x6cac90['pnHDW'](rm,_0xb4e6d1,{'recursive':!![]}),console[_0x17b4b6(0x18a)](_0x17b4b6(0x17f)+_0x5bb968),_0x5d1e13=!![]);}const _0x1552a2=getUserSkillsDir();for(const _0x435a7a of skillsToRemove){const _0x399a3b=_0x6cac90[_0x17b4b6(0x1a2)](join,_0x1552a2,_0x435a7a);existsSync(_0x399a3b)&&(await _0x6cac90[_0x17b4b6(0x172)](rm,_0x399a3b,{'recursive':!![]}),console['log'](_0x17b4b6(0x18f)+_0x435a7a),_0x5d1e13=!![]);}const _0x6e4961=_0x6cac90[_0x17b4b6(0x192)](getOpencodeSkillsDir,'project');for(const _0x40ebbe of skillsToRemove){const _0x3ca589=join(_0x6e4961,_0x40ebbe);existsSync(_0x3ca589)&&(await _0x6cac90[_0x17b4b6(0x17b)](rm,_0x3ca589,{'recursive':!![]}),console[_0x17b4b6(0x18a)](_0x17b4b6(0x187)+_0x40ebbe),_0x5d1e13=!![]);}const _0x5a3a93=_0x6cac90[_0x17b4b6(0x19f)](getOpencodeSkillsDir,'user');for(const _0x410f15 of skillsToRemove){const _0x22d371=_0x6cac90[_0x17b4b6(0x17b)](join,_0x5a3a93,_0x410f15);_0x6cac90[_0x17b4b6(0x176)](existsSync,_0x22d371)&&(await _0x6cac90['ymayX'](rm,_0x22d371,{'recursive':!![]}),console['log'](_0x17b4b6(0x199)+_0x410f15),_0x5d1e13=!![]);}const _0x1f16f8=_0x6cac90[_0x17b4b6(0x1a5)](join,_0x6cac90['neUwF'](getOpencodeConfigDir,_0x17b4b6(0x19d)),_0x6cac90['qBAgk']);await _0x6cac90['PckLp'](removeOpencodePluginConfig,_0x1f16f8)&&(console[_0x17b4b6(0x18a)]('✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x5d1e13=!![]);const _0x3aeba9=join(getOpencodeConfigDir('user'),'opencode.json');await _0x6cac90['fjxlk'](removeOpencodePluginConfig,_0x3aeba9)&&(console['log'](_0x17b4b6(0x183)),_0x5d1e13=!![]);const _0x28bf3f=await uninstallClaudePlugin();_0x28bf3f&&(console[_0x17b4b6(0x18a)](_0x6cac90['GUVWh']),_0x5d1e13=!![]);const _0x5eb2ac=await uninstallClaudePlugin('project');_0x5eb2ac&&(console[_0x17b4b6(0x18a)](_0x6cac90['LxJqb']),_0x5d1e13=!![]);const _0x33dd5a=await removeMarketplace();_0x33dd5a&&(console['log'](_0x17b4b6(0x198)),_0x5d1e13=!![]),_0x5d1e13?console[_0x17b4b6(0x18a)](_0x6cac90[_0x17b4b6(0x188)]):console['log'](_0x6cac90['VIcGb']);}
1
+ const _0x3cf572=_0x5b7c;(function(_0x43d314,_0x4b2274){const _0x139e2a=_0x5b7c,_0x43c78e=_0x43d314();while(!![]){try{const _0x3a11d4=-parseInt(_0x139e2a(0x1e6))/0x1*(-parseInt(_0x139e2a(0x1d6))/0x2)+parseInt(_0x139e2a(0x1db))/0x3*(parseInt(_0x139e2a(0x1b7))/0x4)+-parseInt(_0x139e2a(0x1c9))/0x5+parseInt(_0x139e2a(0x1bf))/0x6*(-parseInt(_0x139e2a(0x1d2))/0x7)+parseInt(_0x139e2a(0x1cd))/0x8*(-parseInt(_0x139e2a(0x1dc))/0x9)+parseInt(_0x139e2a(0x1ec))/0xa*(-parseInt(_0x139e2a(0x1e4))/0xb)+parseInt(_0x139e2a(0x1eb))/0xc*(parseInt(_0x139e2a(0x1ed))/0xd);if(_0x3a11d4===_0x4b2274)break;else _0x43c78e['push'](_0x43c78e['shift']());}catch(_0xf13797){_0x43c78e['push'](_0x43c78e['shift']());}}}(_0xe595,0x849fe));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';function _0xe595(){const _0x3d6c22=['✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','zDRiG','lqPLY','18599tvDxDI','pipe','remove','DvkwF','2YKTrRg','push','TzlpV','error','\x0a✅\x20Cleanup\x20complete!\x0a','1470cZIHSI','67500nDYwgY','trailhead','YLamm','tarKl','KjzYR','DanRt','feature-tracker','BrMSO','473YMqWbQ','xOQVI','25827grltZg','Cfvqb','hrVBH','✓\x20Removed\x20OpenCode\x20user\x20skill:\x20','FLvqj','5713656dzFvRp','102820NIngOz','39PPpEQW','plugin','1252PfQHvl','--scope','IurVF','plmJJ','uninstall','close','project','win32','816bXRkIz','log','✓\x20Removed\x20project\x20skill:\x20','length','ycIRe','✓\x20Removed\x20stored\x20credentials','EMZHx','claude','ranger@trailhead','ranger','929515GJriBJ','replace','hFAWC','Nothing\x20to\x20clean\x20up.\x0a','80UOZOxZ','parse'];_0xe595=function(){return _0x3d6c22;};return _0xe595();}import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';function _0x5b7c(_0xb6f35,_0x2d43e8){_0xb6f35=_0xb6f35-0x1b7;const _0xe5951b=_0xe595();let _0x5b7c00=_0xe5951b[_0xb6f35];return _0x5b7c00;}const skillsToRemove=[_0x3cf572(0x1c8),_0x3cf572(0x1e2),'bug-bash','e2e-test-recommender'],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x2f1059){const _0xdebdde=_0x3cf572,_0x5671a5=_0x2f1059['replace'](/\/\*[\s\S]*?\*\//g,''),_0x128471=_0x5671a5[_0xdebdde(0x1ca)](/^\s*\/\/.*$/gm,''),_0x1cfd41=_0x128471[_0xdebdde(0x1ca)](/,\s*([}\]])/g,'$1');return JSON[_0xdebdde(0x1ce)](_0x1cfd41);}async function removeOpencodePluginConfig(_0x1e0012){const _0x4cc472=_0x3cf572,_0x140202={'RPbgS':function(_0x4f83b0,_0xe2b6e1){return _0x4f83b0!==_0xe2b6e1;},'BneXf':'string','LFArK':function(_0x4cb8a8,_0x112c37){return _0x4cb8a8(_0x112c37);},'IurVF':function(_0x3c3a83,_0x3ab4f1){return _0x3c3a83===_0x3ab4f1;},'zDRiG':function(_0x416388,_0x4f7f01,_0x477888){return _0x416388(_0x4f7f01,_0x477888);}};if(!_0x140202['LFArK'](existsSync,_0x1e0012))return![];let _0x57a8b8;try{const _0x3232cd=await readFile(_0x1e0012,'utf-8');_0x57a8b8=parseJsonc(_0x3232cd);}catch{return![];}const _0x4d256f=Array['isArray'](_0x57a8b8[_0x4cc472(0x1ee)])?_0x57a8b8['plugin']:[];if(_0x4d256f['length']===0x0)return![];const _0x30c1f2=_0x4d256f['filter'](_0x1bbf2d=>{if(_0x140202['RPbgS'](typeof _0x1bbf2d,_0x140202['BneXf']))return!![];return _0x1bbf2d!==opencodePluginName;});if(_0x140202['IurVF'](_0x30c1f2[_0x4cc472(0x1c2)],_0x4d256f[_0x4cc472(0x1c2)]))return![];return _0x140202[_0x4cc472(0x1b9)](_0x30c1f2['length'],0x0)?delete _0x57a8b8['plugin']:_0x57a8b8['plugin']=_0x30c1f2,await _0x140202[_0x4cc472(0x1d0)](writeFile,_0x1e0012,JSON['stringify'](_0x57a8b8,null,0x2)+'\x0a'),!![];}async function uninstallClaudePlugin(_0x56cecf){const _0xf0df91=_0x3cf572,_0x354ee9={'eMMjE':function(_0x457aa9,_0x36f89a){return _0x457aa9(_0x36f89a);},'FLvqj':_0xf0df91(0x1c7),'PofFK':_0xf0df91(0x1c6),'zVtWm':_0xf0df91(0x1d3),'hrVBH':'win32','SfpAU':_0xf0df91(0x1bc)};return new Promise(_0x2904d5=>{const _0x42c2f6=_0xf0df91,_0x1c4000=[_0x42c2f6(0x1ee),_0x42c2f6(0x1bb),_0x354ee9[_0x42c2f6(0x1ea)]];_0x56cecf&&_0x1c4000[_0x42c2f6(0x1d7)](_0x42c2f6(0x1b8),_0x56cecf);const _0x4e64a0=spawn(_0x354ee9['PofFK'],_0x1c4000,{'stdio':_0x354ee9['zVtWm'],'shell':process['platform']===_0x354ee9[_0x42c2f6(0x1e8)]});_0x4e64a0['on'](_0x354ee9['SfpAU'],_0x8845e7=>{_0x2904d5(_0x8845e7===0x0);}),_0x4e64a0['on'](_0x42c2f6(0x1d9),()=>{_0x354ee9['eMMjE'](_0x2904d5,![]);});});}async function removeMarketplace(){const _0x4da458=_0x3cf572,_0x35f3f5={'GLzxA':function(_0x14dc1c,_0x1abb68,_0x485fef,_0x2babcb){return _0x14dc1c(_0x1abb68,_0x485fef,_0x2babcb);},'zlhwx':'claude','DanRt':_0x4da458(0x1ee),'EFPpY':'marketplace','wNewC':_0x4da458(0x1d4),'PxVjx':'pipe','LdKIs':function(_0x3febf3,_0xb5aaea){return _0x3febf3===_0xb5aaea;},'ycIRe':_0x4da458(0x1be),'QrNcD':'error'};return new Promise(_0x50fff8=>{const _0x22b2ea=_0x4da458,_0x232235={'DvkwF':function(_0x154bb0,_0x390c75){return _0x154bb0(_0x390c75);},'DgEqi':function(_0x4a255e,_0x23d93c){return _0x4a255e===_0x23d93c;}},_0xf567c=_0x35f3f5['GLzxA'](spawn,_0x35f3f5['zlhwx'],[_0x35f3f5[_0x22b2ea(0x1e1)],_0x35f3f5['EFPpY'],_0x35f3f5['wNewC'],_0x22b2ea(0x1dd)],{'stdio':_0x35f3f5['PxVjx'],'shell':_0x35f3f5['LdKIs'](process['platform'],_0x35f3f5[_0x22b2ea(0x1c3)])});_0xf567c['on']('close',_0x15defc=>{const _0x69fb56=_0x22b2ea;_0x232235[_0x69fb56(0x1d5)](_0x50fff8,_0x232235['DgEqi'](_0x15defc,0x0));}),_0xf567c['on'](_0x35f3f5['QrNcD'],()=>{_0x50fff8(![]);});});}export async function clean(){const _0x2ef75c=_0x3cf572,_0x33ba02={'YLamm':function(_0x939f0c){return _0x939f0c();},'tarKl':_0x2ef75c(0x1c4),'TzlpV':function(_0x35b193,_0x223e47){return _0x35b193(_0x223e47);},'eEijo':function(_0x54d1ca){return _0x54d1ca();},'KjzYR':function(_0x28d53b,_0x561651,_0x5af9ee){return _0x28d53b(_0x561651,_0x5af9ee);},'TyxeZ':function(_0x582dfd){return _0x582dfd();},'EMZHx':function(_0x3ec2d1,_0x1a4ea2,_0x18a09c){return _0x3ec2d1(_0x1a4ea2,_0x18a09c);},'BrMSO':'user','plmJJ':function(_0x424ae,_0x28be97,_0x2243ec){return _0x424ae(_0x28be97,_0x2243ec);},'lqPLY':_0x2ef75c(0x1bd),'hFAWC':'✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','Cfvqb':'opencode.json','ksFSj':_0x2ef75c(0x1cf),'xOQVI':_0x2ef75c(0x1da)};console[_0x2ef75c(0x1c0)]('\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a');let _0x383c7a=![];try{await _0x33ba02[_0x2ef75c(0x1de)](deleteAllCredentials),console[_0x2ef75c(0x1c0)](_0x33ba02[_0x2ef75c(0x1df)]),_0x383c7a=!![];}catch{}const _0x113199=getCacheFile();existsSync(_0x113199)&&(await _0x33ba02[_0x2ef75c(0x1d8)](rm,_0x113199),_0x383c7a=!![]);const _0x4a6a4c=_0x33ba02['eEijo'](getRangerDir);_0x33ba02['TzlpV'](existsSync,_0x4a6a4c)&&(await _0x33ba02['KjzYR'](rm,_0x4a6a4c,{'recursive':!![]}),console['log']('✓\x20Removed\x20.ranger/\x20directory'),_0x383c7a=!![]);const _0xf2711d=_0x33ba02['TyxeZ'](getProjectSkillsDir);for(const _0x4b7c76 of skillsToRemove){const _0x1274f7=join(_0xf2711d,_0x4b7c76);existsSync(_0x1274f7)&&(await rm(_0x1274f7,{'recursive':!![]}),console['log'](_0x2ef75c(0x1c1)+_0x4b7c76),_0x383c7a=!![]);}const _0x130083=getUserSkillsDir();for(const _0x5b63d6 of skillsToRemove){const _0x1880f4=_0x33ba02[_0x2ef75c(0x1e0)](join,_0x130083,_0x5b63d6);existsSync(_0x1880f4)&&(await rm(_0x1880f4,{'recursive':!![]}),console['log']('✓\x20Removed\x20user\x20skill:\x20'+_0x5b63d6),_0x383c7a=!![]);}const _0x308d0c=_0x33ba02[_0x2ef75c(0x1d8)](getOpencodeSkillsDir,'project');for(const _0x4b5320 of skillsToRemove){const _0x55891d=join(_0x308d0c,_0x4b5320);_0x33ba02['TzlpV'](existsSync,_0x55891d)&&(await _0x33ba02[_0x2ef75c(0x1c5)](rm,_0x55891d,{'recursive':!![]}),console[_0x2ef75c(0x1c0)]('✓\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x4b5320),_0x383c7a=!![]);}const _0x2fba78=_0x33ba02[_0x2ef75c(0x1d8)](getOpencodeSkillsDir,_0x33ba02[_0x2ef75c(0x1e3)]);for(const _0x420126 of skillsToRemove){const _0x11f15c=_0x33ba02[_0x2ef75c(0x1ba)](join,_0x2fba78,_0x420126);existsSync(_0x11f15c)&&(await rm(_0x11f15c,{'recursive':!![]}),console[_0x2ef75c(0x1c0)](_0x2ef75c(0x1e9)+_0x420126),_0x383c7a=!![]);}const _0x2a8e03=join(getOpencodeConfigDir(_0x33ba02[_0x2ef75c(0x1d1)]),'opencode.json');await _0x33ba02['TzlpV'](removeOpencodePluginConfig,_0x2a8e03)&&(console[_0x2ef75c(0x1c0)](_0x33ba02[_0x2ef75c(0x1cb)]),_0x383c7a=!![]);const _0x1c7a54=join(getOpencodeConfigDir(_0x33ba02['BrMSO']),_0x33ba02[_0x2ef75c(0x1e7)]);await removeOpencodePluginConfig(_0x1c7a54)&&(console[_0x2ef75c(0x1c0)](_0x33ba02['ksFSj']),_0x383c7a=!![]);const _0x3f9df2=await _0x33ba02['eEijo'](uninstallClaudePlugin);_0x3f9df2&&(console[_0x2ef75c(0x1c0)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'),_0x383c7a=!![]);const _0xfc3dcb=await uninstallClaudePlugin(_0x33ba02['lqPLY']);_0xfc3dcb&&(console['log']('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x383c7a=!![]);const _0x5aefbc=await removeMarketplace();_0x5aefbc&&(console[_0x2ef75c(0x1c0)]('✓\x20Removed\x20trailhead\x20marketplace'),_0x383c7a=!![]),_0x383c7a?console[_0x2ef75c(0x1c0)](_0x33ba02[_0x2ef75c(0x1e5)]):console['log'](_0x2ef75c(0x1cc));}
@@ -1 +1 @@
1
- const _0x212479=_0x2298;(function(_0x15cdd5,_0x510a88){const _0x5604a0=_0x2298,_0x3661ee=_0x15cdd5();while(!![]){try{const _0x53a33b=-parseInt(_0x5604a0(0x1cc))/0x1+-parseInt(_0x5604a0(0x1e4))/0x2+parseInt(_0x5604a0(0x1ca))/0x3*(-parseInt(_0x5604a0(0x1d0))/0x4)+parseInt(_0x5604a0(0x1e3))/0x5+-parseInt(_0x5604a0(0x1cd))/0x6+-parseInt(_0x5604a0(0x1d7))/0x7+parseInt(_0x5604a0(0x1d4))/0x8;if(_0x53a33b===_0x510a88)break;else _0x3661ee['push'](_0x3661ee['shift']());}catch(_0x7af419){_0x3661ee['push'](_0x3661ee['shift']());}}}(_0x53de,0x3ece4));function _0x53de(){const _0x32a126=['true','4BVQotR','No\x20configuration\x20set\x20for\x20\x22','wXShO','MGMbp','13038288Msijia','Profile\x20\x22','false','3108413kAxQbr','YsoZj','vPQuB','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','\x22\x20not\x20found','log','uyjbC','\x22\x20does\x20not\x20exist.','headless','includes','OfHUO','\x20=\x20','1425840pKKutb','858966VBgYTK','Set\x20','1065417Fhysue','pVuds','384086iBFXzW','269610HxjLLM','Key\x20\x22'];_0x53de=function(){return _0x32a126;};return _0x53de();}import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x212479(0x1df)];function parseValue(_0xb4ac5f,_0x15c71e){const _0x18fcfb=_0x212479;if(BOOLEAN_KEYS[_0x18fcfb(0x1e0)](_0xb4ac5f)){if(_0x15c71e===_0x18fcfb(0x1cf))return!![];if(_0x15c71e===_0x18fcfb(0x1d6))return![];throw new Error('Invalid\x20value\x20for\x20'+_0xb4ac5f+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x15c71e;}export async function configSet(_0x3fa1fd,_0x45b02f,_0x24f680){const _0x3b36e9=_0x212479,_0x4b4bf1={'MGMbp':function(_0x426a2f,_0x3438b0){return _0x426a2f(_0x3438b0);},'vPQuB':function(_0x5c5592,_0x30f5b9,_0xc15548){return _0x5c5592(_0x30f5b9,_0xc15548);}},_0x41ec9e=_0x4b4bf1[_0x3b36e9(0x1d3)](getEnvDir,_0x3fa1fd);if(!existsSync(_0x41ec9e))throw new Error('Profile\x20\x22'+_0x3fa1fd+_0x3b36e9(0x1da)+_0x3fa1fd);const _0x211c50=await loadSettings(_0x3fa1fd),_0x49674d=_0x4b4bf1[_0x3b36e9(0x1d9)](parseValue,_0x45b02f,_0x24f680);setNestedValue(_0x211c50,_0x45b02f,_0x49674d),await saveSettings(_0x3fa1fd,_0x211c50),console['log'](_0x3b36e9(0x1c9)+_0x45b02f+_0x3b36e9(0x1e2)+_0x49674d);}export async function configGet(_0x5f4be0,_0x52344e){const _0x3cc8d7=_0x212479,_0x1a71a3={'uyjbC':function(_0x1edbcd,_0x53cfec){return _0x1edbcd(_0x53cfec);},'yMQWp':function(_0x3280c4,_0x35ce07){return _0x3280c4(_0x35ce07);},'YsoZj':'object'},_0x224762=_0x1a71a3[_0x3cc8d7(0x1dd)](getEnvDir,_0x5f4be0);if(!_0x1a71a3['yMQWp'](existsSync,_0x224762))throw new Error('Profile\x20\x22'+_0x5f4be0+_0x3cc8d7(0x1de));const _0x46aad8=await loadSettings(_0x5f4be0),_0x573bb0=getNestedValue(_0x46aad8,_0x52344e);if(_0x573bb0===undefined)console['log']('(not\x20set)');else typeof _0x573bb0===_0x1a71a3[_0x3cc8d7(0x1d8)]?console[_0x3cc8d7(0x1dc)](JSON['stringify'](_0x573bb0,null,0x2)):console[_0x3cc8d7(0x1dc)](_0x573bb0);}export async function configList(_0x14baac){const _0x5c2b37=_0x212479,_0x553e37={'wXShO':function(_0x5bf4e9,_0x5901bf){return _0x5bf4e9(_0x5901bf);},'OfHUO':function(_0x204cc4,_0x490582){return _0x204cc4(_0x490582);}},_0x24fe12=getSettingsPath(_0x14baac);if(!existsSync(_0x24fe12)){const _0x4c3df8=_0x553e37['wXShO'](getEnvDir,_0x14baac);if(!_0x553e37[_0x5c2b37(0x1e1)](existsSync,_0x4c3df8))throw new Error(_0x5c2b37(0x1d5)+_0x14baac+_0x5c2b37(0x1de));console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x14baac+'\x22');return;}const _0x505cdd=await _0x553e37[_0x5c2b37(0x1e1)](loadSettings,_0x14baac),_0x4014f1=_0x553e37[_0x5c2b37(0x1d2)](formatSettings,_0x505cdd);!_0x4014f1?console['log'](_0x5c2b37(0x1d1)+_0x14baac+'\x22'):console['log'](_0x4014f1);}function _0x2298(_0x3452c6,_0x569d13){_0x3452c6=_0x3452c6-0x1c9;const _0x53dea2=_0x53de();let _0x229840=_0x53dea2[_0x3452c6];return _0x229840;}export async function configUnset(_0x901512,_0x92b537){const _0x10aeba=_0x212479,_0x2e393d={'pVuds':function(_0x5315b5,_0xb5d05e,_0x50ea3a){return _0x5315b5(_0xb5d05e,_0x50ea3a);}},_0x5ae5e4=getEnvDir(_0x901512);if(!existsSync(_0x5ae5e4))throw new Error(_0x10aeba(0x1d5)+_0x901512+_0x10aeba(0x1de));const _0x155295=await loadSettings(_0x901512),_0x44ca3f=_0x2e393d[_0x10aeba(0x1cb)](deleteNestedValue,_0x155295,_0x92b537);_0x44ca3f?(await saveSettings(_0x901512,_0x155295),console['log']('Removed\x20'+_0x92b537)):console[_0x10aeba(0x1dc)](_0x10aeba(0x1ce)+_0x92b537+_0x10aeba(0x1db));}
1
+ const _0x3c2f48=_0x4aa9;(function(_0x5b6f44,_0x101301){const _0x28101e=_0x4aa9,_0x17fd32=_0x5b6f44();while(!![]){try{const _0x562f33=parseInt(_0x28101e(0xe2))/0x1+parseInt(_0x28101e(0xd6))/0x2*(parseInt(_0x28101e(0xcf))/0x3)+-parseInt(_0x28101e(0xd2))/0x4+-parseInt(_0x28101e(0xc8))/0x5*(-parseInt(_0x28101e(0xce))/0x6)+parseInt(_0x28101e(0xd8))/0x7+parseInt(_0x28101e(0xe3))/0x8*(parseInt(_0x28101e(0xd9))/0x9)+-parseInt(_0x28101e(0xd5))/0xa*(parseInt(_0x28101e(0xcc))/0xb);if(_0x562f33===_0x101301)break;else _0x17fd32['push'](_0x17fd32['shift']());}catch(_0x10f516){_0x17fd32['push'](_0x17fd32['shift']());}}}(_0x71f0,0x4aaff));function _0x71f0(){const _0x3e3d90=[':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22','3060690acjQos','291PDUYIF','(not\x20set)','EAULm','2351688wDvRpC','\x20=\x20','headless','10qpJTJH','7588nTWJuP','Key\x20\x22','3023034bfBiHc','288sdYJyB','Profile\x20\x22','log','\x22\x20does\x20not\x20exist.','object','Invalid\x20value\x20for\x20','CYcLt','false','hxAaW','72727JZMRtK','4680SGTuqQ','true','5QZcYDj','QLwMw','NwACf','hCXzi','5583611wRrIxt'];_0x71f0=function(){return _0x3e3d90;};return _0x71f0();}import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x3c2f48(0xd4)];function parseValue(_0x4aa075,_0x15f349){const _0x281ea5=_0x3c2f48,_0x12e389={'CJLsn':function(_0x40120d,_0x615e34){return _0x40120d===_0x615e34;}};if(BOOLEAN_KEYS['includes'](_0x4aa075)){if(_0x12e389['CJLsn'](_0x15f349,_0x281ea5(0xe4)))return!![];if(_0x15f349===_0x281ea5(0xe0))return![];throw new Error(_0x281ea5(0xde)+_0x4aa075+_0x281ea5(0xcd));}return _0x15f349;}export async function configSet(_0x3d821b,_0x371e13,_0x130826){const _0x27996a=_0x3c2f48,_0x318a51={'NwACf':function(_0x9636bf,_0x1b1617){return _0x9636bf(_0x1b1617);},'QLwMw':function(_0x5c15a4,_0x243a30,_0x5e7c57){return _0x5c15a4(_0x243a30,_0x5e7c57);}},_0x259e0d=_0x318a51[_0x27996a(0xca)](getEnvDir,_0x3d821b);if(!existsSync(_0x259e0d))throw new Error(_0x27996a(0xda)+_0x3d821b+'\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20'+_0x3d821b);const _0x53ddcf=await loadSettings(_0x3d821b),_0xed9bf7=parseValue(_0x371e13,_0x130826);setNestedValue(_0x53ddcf,_0x371e13,_0xed9bf7),await _0x318a51[_0x27996a(0xc9)](saveSettings,_0x3d821b,_0x53ddcf),console[_0x27996a(0xdb)]('Set\x20'+_0x371e13+_0x27996a(0xd3)+_0xed9bf7);}export async function configGet(_0x5bcbab,_0x5425cf){const _0x323108=_0x3c2f48,_0x406fdd={'CYcLt':function(_0x129ddb,_0x2fd506,_0x3c536f){return _0x129ddb(_0x2fd506,_0x3c536f);},'hxAaW':function(_0x271c15,_0x52a8cf){return _0x271c15===_0x52a8cf;},'pyZLn':_0x323108(0xdd)},_0x2ddb9b=getEnvDir(_0x5bcbab);if(!existsSync(_0x2ddb9b))throw new Error(_0x323108(0xda)+_0x5bcbab+_0x323108(0xdc));const _0x52571c=await loadSettings(_0x5bcbab),_0x12c832=_0x406fdd[_0x323108(0xdf)](getNestedValue,_0x52571c,_0x5425cf);if(_0x406fdd[_0x323108(0xe1)](_0x12c832,undefined))console['log'](_0x323108(0xd0));else typeof _0x12c832===_0x406fdd['pyZLn']?console[_0x323108(0xdb)](JSON['stringify'](_0x12c832,null,0x2)):console[_0x323108(0xdb)](_0x12c832);}function _0x4aa9(_0x3507c2,_0x2d2f0b){_0x3507c2=_0x3507c2-0xc8;const _0x71f022=_0x71f0();let _0x4aa970=_0x71f022[_0x3507c2];return _0x4aa970;}export async function configList(_0x2382b0){const _0x54a7b4=_0x3c2f48,_0x45bf36={'hCXzi':function(_0x55b3eb,_0x588956){return _0x55b3eb(_0x588956);},'EAULm':function(_0x2c8875,_0x2f80ec){return _0x2c8875(_0x2f80ec);}},_0x483392=getSettingsPath(_0x2382b0);if(!_0x45bf36[_0x54a7b4(0xcb)](existsSync,_0x483392)){const _0x4c0f4e=getEnvDir(_0x2382b0);if(!_0x45bf36[_0x54a7b4(0xd1)](existsSync,_0x4c0f4e))throw new Error(_0x54a7b4(0xda)+_0x2382b0+'\x22\x20does\x20not\x20exist.');console[_0x54a7b4(0xdb)]('No\x20configuration\x20set\x20for\x20\x22'+_0x2382b0+'\x22');return;}const _0x247793=await loadSettings(_0x2382b0),_0x3aa774=formatSettings(_0x247793);!_0x3aa774?console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x2382b0+'\x22'):console['log'](_0x3aa774);}export async function configUnset(_0x2b3227,_0x46010c){const _0x52380b=_0x3c2f48,_0x2be069={'vwknG':function(_0x5a1819,_0x336b96){return _0x5a1819(_0x336b96);},'MKaEe':function(_0x516b5f,_0x1cbe16,_0x138b23){return _0x516b5f(_0x1cbe16,_0x138b23);}},_0x1635fd=_0x2be069['vwknG'](getEnvDir,_0x2b3227);if(!existsSync(_0x1635fd))throw new Error(_0x52380b(0xda)+_0x2b3227+_0x52380b(0xdc));const _0x11cd3a=await loadSettings(_0x2b3227),_0x121487=deleteNestedValue(_0x11cd3a,_0x46010c);_0x121487?(await _0x2be069['MKaEe'](saveSettings,_0x2b3227,_0x11cd3a),console[_0x52380b(0xdb)]('Removed\x20'+_0x46010c)):console[_0x52380b(0xdb)](_0x52380b(0xd7)+_0x46010c+'\x22\x20not\x20found');}