@ranger-testing/ranger-cli 2.2.3 → 2.2.5

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 (67) 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/stitchWebmFiles.js +1 -1
  61. package/build/commands/utils/telemetry.js +1 -1
  62. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  63. package/build/commands/utils/userApi.js +1 -1
  64. package/build/commands/utils/version.js +1 -1
  65. package/build/commands/verifyFeature.js +1 -1
  66. package/build/commands/verifyInBrowser.js +1 -1
  67. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x3ec279=_0x9509;(function(_0x3780a6,_0x3bc19d){const _0x5cca74=_0x9509,_0x494375=_0x3780a6();while(!![]){try{const _0x248c9c=parseInt(_0x5cca74(0xbc))/0x1+parseInt(_0x5cca74(0xd8))/0x2+parseInt(_0x5cca74(0xda))/0x3+-parseInt(_0x5cca74(0x13b))/0x4*(-parseInt(_0x5cca74(0x1f4))/0x5)+parseInt(_0x5cca74(0x198))/0x6*(-parseInt(_0x5cca74(0xbb))/0x7)+-parseInt(_0x5cca74(0xc7))/0x8+-parseInt(_0x5cca74(0xfe))/0x9;if(_0x248c9c===_0x3bc19d)break;else _0x494375['push'](_0x494375['shift']());}catch(_0x5f1364){_0x494375['push'](_0x494375['shift']());}}}(_0x197a,0x94efc));import _0x460887 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x472cd6=_0x9509,_0x2c54c4={'tIKae':function(_0x11d396,_0x3b2d8a){return _0x11d396(_0x3b2d8a);},'tfEli':function(_0x8b58df,_0x8577e3){return _0x8b58df(_0x8577e3);}};let _0x47d281=process['cwd']();const _0x204dd7=_0x2c54c4['tIKae'](parse,_0x47d281)['root'];while(_0x47d281!==_0x204dd7){if(_0x2c54c4['tfEli'](existsSync,join(_0x47d281,_0x472cd6(0x141)))||_0x2c54c4['tIKae'](existsSync,join(_0x47d281,'.env')))return _0x47d281;_0x47d281=_0x2c54c4[_0x472cd6(0x219)](dirname,_0x47d281);}return process[_0x472cd6(0xfd)]();}_0x460887[_0x3ec279(0x17c)]({'path':join(findProjectRoot(),_0x3ec279(0x1df))});import _0x3a29da 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';function _0x9509(_0x93f04b,_0x1bb276){_0x93f04b=_0x93f04b-0xb7;const _0x197a09=_0x197a();let _0x95094c=_0x197a09[_0x93f04b];return _0x95094c;}function _0x197a(){const _0x997e77=['417162zKXgpV','Set\x20a\x20config\x20value','ARewY','MMyQO','VqOxu','headed','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','ZCasj','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','IeOfy','ranger\x20feature\x20add-checklist-item','1836720oNqTAi','BCfdr','klPlw','feature','tcMDk','ZXGsM','use','xNnjY','\x0aError:\x20','ranger\x20restore','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','disable','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','JFRoq','Bhyiv','iMutt','863548UcOWTz','help','1936380BdLiet','rzOTn','jSOze','option','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','exitCode','checklist','You\x20must\x20specify\x20a\x20config\x20subcommand','FjwbD','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Profile\x20name','includes','hPuWc','Kngyn','url','restore\x20<id>','skip-chromium','report\x20[id]','gHdgq','clean','ranger\x20add-scenario','UuPrT','Optional\x20feature\x20ID','boolean','HqCEJ','QNNlh','debug-address-comments','cmnZC','tvhgk','Config\x20key\x20to\x20remove','array','skip-auth','ranger\x20delete','profile\x20update','show\x20[id]','cwd','12057615GQznGw','JNDAx','add-scenario\x20<description>','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','cZLuC','--env','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','profile\x20encrypt-auth','item','lowoo','nxsyG','demandCommand','ranger\x20create','report','EqSCx','oMKPI','argv','task','\x0aIssues:','IzWTL','NqBxC','zpiWo','evaluation','base-url','scope','bOLED','tCRfL','offset','IVpuE','BVTxk','Number\x20of\x20feature\x20reviews\x20to\x20skip','Include\x20soft-deleted\x20feature\x20reviews','add\x20env\x20<env-name>','thRYh','ranger\x20profile\x20config\x20list','XYJXp','DDPXC','update\x20<env-name>','eZpMM','fIUCE','YkfKe','edit-scenario\x20<description>','--notes','session-id','hook:enable','VHppp','start','Install\x20skills\x20for\x20OpenCode','mUlwH','rxaRS','ranger\x20go','tAzRu','ranger\x20auth\x20encrypt','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','json','FAghM','jAsxP','mjaur','RPViy','gryAF','17044pdPPen','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Config\x20key','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\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\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\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','positional','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','.ranger','nPOyc','iMVbJ','LPLXv','claude','--item','KafkS','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','ranger\x20feature\x20get-feedback','limit','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xDXJp','dLKar','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Name\x20of\x20the\x20profile\x20to\x20update','SMJWe','qogCY','EhSvW','jyOal','verified','feature\x20create','opencode','\x20is\x20now\x20','failed','lqXsp','KKSbd','error','VVWwZ','setup-ci','rpuFA','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','log','ranger\x20feature\x20show','TuTso','user','lhMho','OMkHX','FSVzG','upJMH','profile-name','sNLKw','xTskJ','scenario','fsyay','Install\x20scope\x20for\x20skills','Toobs','gMtah','iWMmY','nDzOO','allow-insecure-localhost','unset\x20<env>\x20<key>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','vragz','FsxZl','YkRfs','encrypt\x20<profile>','LgoUn','ELSGz','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','config','NFHCu','Feature\x20review\x20ID','profile\x20config\x20get','hTGUH','ranger\x20get-review','project','pjWeo','fblun','nnHPA','MsnQL','token','key','ranger\x20feature\x20restore','YcMXW','--scenario','ASHzI','\x20PARTIAL','Etljw','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','list\x20<env>','hook:disable','Name\x20of\x20the\x20environment\x20to\x20update','skillup','name','env\x20list','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','Feature\x20review\x20description','2358360oASlPT','mPFgn','restore','ranger\x20use','fZdrZ','SxyLZ','GxOVH','koByn','vrbnO','Feature\x20review\x20ID\x20to\x20restore','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','kkcvA','update','blocked','WDtMl','config\x20set','ranger\x20start','Manage\x20profile\x20configuration','trackCommandError','use\x20<env-name>','yZojY','get-feedback\x20[id]','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','egDAf','ePhKL','FJkro','get\x20<env>\x20<key>','uEKxc','jMHJn','--checklist','akaCi','hObkg','Environment\x20name','--task','Summary:\x20','ranger\x20resume','exclude-scenario','AHjZS','LaYuP','delete\x20[id]','force','env','You\x20must\x20specify\x20an\x20env\x20subcommand','ranger\x20config\x20unset','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','value','show','PBSmK','ranger\x20profile\x20update','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','List\x20all\x20config\x20for\x20a\x20profile','message','Switch\x20to\x20using\x20a\x20specific\x20profile','XGkVg','model','slice','profile\x20add','Unknown\x20command','Scenario\x20index\x20(1-based)','kfaIL','incomplete','SrKIe','YGPkn','alias','list','sdYYh','ranger\x20setup','startsWith','tvAuZ','command','profile\x20config\x20set','.env','version','AuhWi','nUDuM','hook','resume\x20[id]','aJiZI','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','biohO','rVdfU','current-branch','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20feature\x20resume','feature\x20list','aPdNO','BbpUA','PvyWy','oqRzy','strictCommands','Rwnjd','flag','1265CgsvMB','jngcP','wRoon','JPmFJ','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','add-scenario','profile','profile\x20config\x20list','ranger\x20profile\x20config\x20set','PtYFy','config\x20get','CVpaN','evaluationReason','env-name','AOPPs','string','JmHzP','description','cdp-endpoint','start-path','iqxxv','bUTtO','get-review\x20[id]','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','unset\x20<profile>\x20<key>','YZoAk','\x20\x20https://docs.ranger.net\x0a','notes','oiwnm','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','include-deleted','feature\x20show','iSoDp','number','map','ibsji','QwzWd','tIKae','status','FnvRn','FUnak','UTjrg','7sAeJLD'];_0x197a=function(){return _0x997e77;};return _0x197a();}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']('unhandledRejection',async _0x65690c=>{const _0x32aff4=_0x3ec279,_0x5244d3={'IrNiG':function(_0x467411){return _0x467411();}},_0x238820=_0x5244d3['IrNiG'](getCurrentCollector);_0x238820&&await _0x238820['trackCommandError'](_0x65690c),process[_0x32aff4(0xdf)]=0x1;});const rawArgs=process['argv'][_0x3ec279(0x1cf)](0x2),TOP_LEVEL_HELP='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_HELP='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',PROFILE_CONFIG_HELP=_0x3ec279(0x13e);function warnRenamed(_0x533cbe,_0x4a7cef){const _0xdc9201=_0x3ec279;console['error']('\x0a'+_0x533cbe+_0xdc9201(0x157)+_0x4a7cef+'\x0a');}function argUsed(_0x227b18){const _0x1980d6=_0x3ec279;return rawArgs['some'](_0x1868a8=>_0x1868a8===_0x227b18||_0x1868a8[_0x1980d6(0x1db)](_0x227b18+'='));}function warnFlagRenamed(_0x389016,_0x4d7708,_0x592912){const _0x4a6ad1=_0x3ec279,_0x14a9d6={'akaCi':function(_0x2dc0e7,_0x6cd203){return _0x2dc0e7(_0x6cd203);}};_0x14a9d6[_0x4a6ad1(0x1b6)](argUsed,_0x4d7708)&&warnRenamed(_0x389016+'\x20'+_0x4d7708,_0x389016+'\x20'+_0x592912);}async function runGoCommand(_0x3a78df,_0x58ec93=![]){const _0x1d0006=_0x3ec279,_0x2ab2ae={'FAghM':function(_0x4a2020,_0x51ee08){return _0x4a2020+_0x51ee08;},'MsnQL':function(_0x11e920,_0x26dcc3,_0x11e65b){return _0x11e920(_0x26dcc3,_0x11e65b);},'gqdCU':_0x1d0006(0x131),'JARHo':_0x1d0006(0x104),'kfaIL':'--profile','BCfdr':_0x1d0006(0x129),'iEBjh':function(_0x1e6906,_0x22a9bb,_0x1f1791,_0x3f63df){return _0x1e6906(_0x22a9bb,_0x1f1791,_0x3f63df);},'uTveK':_0x1d0006(0x18b),'tzPyr':function(_0x2f0bf8){return _0x2f0bf8();},'cIsFj':function(_0x2dd3a9,_0x4bbbb8){return _0x2dd3a9??_0x4bbbb8;},'jtObx':_0x1d0006(0x1f3),'yZojY':function(_0x5db57e,_0x325ddc){return _0x5db57e(_0x325ddc);},'gHdgq':'debug-address-comments','LgoUn':'verified','jMHJn':'\x20VERIFIED','wnQqm':'\x20INCOMPLETE','LPLXv':function(_0x310197,_0x4b0eaf){return _0x310197===_0x4b0eaf;},'SrKIe':'partial','jyOal':_0x1d0006(0x1a5)};_0x58ec93&&_0x2ab2ae[_0x1d0006(0x186)](warnRenamed,'ranger\x20verify-feature',_0x2ab2ae['gqdCU']);warnFlagRenamed(_0x2ab2ae['gqdCU'],_0x2ab2ae['JARHo'],_0x2ab2ae[_0x1d0006(0x1d3)]),warnFlagRenamed(_0x2ab2ae['gqdCU'],_0x1d0006(0x1b9),_0x2ab2ae[_0x1d0006(0xc8)]),_0x2ab2ae['iEBjh'](warnFlagRenamed,_0x1d0006(0x131),_0x1d0006(0x146),_0x2ab2ae['uTveK']);const _0x348b66=await _0x2ab2ae['tzPyr'](loadRangerConfig),_0xbd942=_0x3a78df['model'],_0x19a1ca=_0x348b66[_0x1d0006(0x1ce)],_0xa26a05=_0x2ab2ae['cIsFj'](_0xbd942,_0x19a1ca),_0x152acb=_0xbd942?_0x2ab2ae['jtObx']:_0x19a1ca?'config':'default',_0xb313e8=await _0x2ab2ae[_0x1d0006(0x1ac)](verifyFeature,{'featureId':_0x3a78df['feature'],'profile':_0x3a78df[_0x1d0006(0x1fa)]??_0x3a78df[_0x1d0006(0x1c1)],'notes':_0x3a78df['notes']??_0x3a78df[_0x1d0006(0x110)],'scenario':_0x3a78df['scenario']??_0x3a78df['item'],'startPath':_0x3a78df[_0x1d0006(0x207)],'debugOutcome':_0x3a78df['debug-outcome'],'debugAddressComments':_0x3a78df[_0x2ab2ae[_0x1d0006(0xec)]],'headed':_0x3a78df[_0x1d0006(0xc1)],'verifyModel':_0xa26a05,'verifyModelInput':_0xa26a05,'verifyModelSource':_0x152acb});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0xb313e8[_0x1d0006(0x115)]===_0x2ab2ae[_0x1d0006(0x179)]?_0x2ab2ae[_0x1d0006(0x1b4)]:_0xb313e8[_0x1d0006(0x115)]===_0x1d0006(0x1d4)?_0x2ab2ae['wnQqm']:_0x2ab2ae[_0x1d0006(0x144)](_0xb313e8[_0x1d0006(0x115)],_0x2ab2ae[_0x1d0006(0x1d5)])?_0x1d0006(0x18d):_0xb313e8[_0x1d0006(0x115)]===_0x2ab2ae[_0x1d0006(0x153)]?'\x20BLOCKED':'\x20FAILED'),console[_0x1d0006(0x160)]('='['repeat'](0x3c)),console['log'](_0x1d0006(0x1ba)+_0xb313e8['summary']),console['log']('Evaluation:\x20'+_0xb313e8[_0x1d0006(0x115)]),console[_0x1d0006(0x160)]('Reason:\x20'+_0xb313e8[_0x1d0006(0x200)]),_0xb313e8['issues']?.['length']&&(console[_0x1d0006(0x160)](_0x1d0006(0x111)),_0xb313e8['issues']['forEach']((_0x1b61d8,_0x5f5483)=>{const _0x53b10f=_0x1d0006;console['log']('\x0a'+_0x2ab2ae[_0x53b10f(0x136)](_0x5f5483,0x1)+'.\x20['+_0x1b61d8['severity']+']\x20'+_0x1b61d8[_0x53b10f(0x205)]);})),process['exit'](_0x2ab2ae['LPLXv'](_0xb313e8[_0x1d0006(0x115)],_0x1d0006(0x154))?0x0:0x1);}_0x3a29da(process['argv']['slice'](0x2))['scriptName']('ranger')['usage'](TOP_LEVEL_HELP)[_0x3ec279(0x1e0)](getCurrentVersion())['command']('create\x20<name>',_0x3ec279(0x15f),_0x5d0a85=>{const _0x256e63=_0x3ec279,_0x47b52c={'tvAuZ':_0x256e63(0x203),'LSjNu':'scenario','Wmjdk':_0x256e63(0xf8),'uRGgD':_0x256e63(0xe0)};return _0x5d0a85[_0x256e63(0x13f)]('name',{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x256e63(0xdd)](_0x256e63(0x205),{'type':_0x47b52c[_0x256e63(0x1dc)],'alias':'d','description':_0x256e63(0x197)})['option'](_0x47b52c['LSjNu'],{'type':_0x47b52c['Wmjdk'],'alias':'c','description':_0x256e63(0x148)})[_0x256e63(0xdd)](_0x47b52c['uRGgD'],{'type':_0x47b52c['Wmjdk'],'hidden':!![]});},async _0x482070=>{const _0x3fef59=_0x3ec279,_0x2cfcc2={'cWyiF':_0x3fef59(0x10b),'mjaur':_0x3fef59(0x1b5),'AuhWi':_0x3fef59(0x18b),'qRAQW':function(_0x46f256,_0x3031a4,_0x124fcf){return _0x46f256(_0x3031a4,_0x124fcf);},'cvXul':'create'};warnFlagRenamed(_0x2cfcc2['cWyiF'],_0x2cfcc2[_0x3fef59(0x138)],_0x2cfcc2[_0x3fef59(0x1e1)]);const _0x529394=_0x482070['scenario']||_0x482070['checklist'];await _0x2cfcc2['qRAQW'](withTelemetry,_0x2cfcc2['cvXul'],()=>featureCreate(_0x482070[_0x3fef59(0x194)],{'description':_0x482070[_0x3fef59(0x205)],'scenarios':_0x529394}));})[_0x3ec279(0x1dd)](_0x3ec279(0x1d8),'List\x20all\x20feature\x20reviews',_0x7d0b73=>{const _0x3298bf=_0x3ec279,_0x519b62={'nxsyG':_0x3298bf(0xf1),'JFRoq':_0x3298bf(0xc4),'JPmFJ':_0x3298bf(0x215),'OmtTw':_0x3298bf(0x14e),'pjWeo':_0x3298bf(0x11a),'nnHPA':'Include\x20soft-deleted\x20feature\x20reviews'};return _0x7d0b73['option'](_0x3298bf(0x1e9),{'type':_0x519b62[_0x3298bf(0x109)],'description':_0x519b62[_0x3298bf(0xd5)]})[_0x3298bf(0xdd)]('limit',{'type':_0x519b62[_0x3298bf(0x1f7)],'alias':'l','description':_0x519b62['OmtTw'],'default':0xa})[_0x3298bf(0xdd)](_0x519b62[_0x3298bf(0x183)],{'type':_0x519b62['JPmFJ'],'alias':'o','description':_0x3298bf(0x11d),'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x519b62[_0x3298bf(0x185)],'default':![]});},async _0x1fc89e=>{const _0x5b3276=_0x3ec279,_0x1b1f34={'GxOVH':function(_0xd62191,_0x5c78c7,_0x5befad){return _0xd62191(_0x5c78c7,_0x5befad);},'iVaHP':'list'};await _0x1b1f34[_0x5b3276(0x19e)](withTelemetry,_0x1b1f34['iVaHP'],()=>featureList({'currentBranch':_0x1fc89e[_0x5b3276(0x1e9)],'limit':_0x1fc89e[_0x5b3276(0x14a)],'offset':_0x1fc89e[_0x5b3276(0x11a)],'includeDeleted':_0x1fc89e[_0x5b3276(0x212)]}));})[_0x3ec279(0x1dd)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x512e54=>{const _0x374711=_0x3ec279,_0xc0687f={'IFyzW':'string'};return _0x512e54[_0x374711(0x13f)]('id',{'type':_0xc0687f['IFyzW'],'description':'Feature\x20review\x20ID'});},async _0x4d7a69=>{const _0xeafff1=_0x3ec279,_0x5e8068={'oiwnm':function(_0x33f3d8,_0x5e2f20,_0x504f62){return _0x33f3d8(_0x5e2f20,_0x504f62);},'tvhgk':_0xeafff1(0x1c6)};await _0x5e8068[_0xeafff1(0x210)](withTelemetry,_0x5e8068[_0xeafff1(0xf6)],()=>featureShow(_0x4d7a69['id']));})['command'](_0x3ec279(0x1e4),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x598479=>{const _0x416bdf=_0x3ec279,_0x505919={'GObiM':'string','bOLED':_0x416bdf(0x101)};return _0x598479[_0x416bdf(0x13f)]('id',{'type':_0x505919['GObiM'],'description':_0x505919[_0x416bdf(0x118)]});},async _0x311ee9=>{const _0x14a72c={'xWynA':'resume'};await withTelemetry(_0x14a72c['xWynA'],()=>featureResume(_0x311ee9['id']));})['command'](_0x3ec279(0x100),_0x3ec279(0x1f8),_0x3d3741=>{const _0x5508a5=_0x3ec279,_0x2f2f3d={'aYhZu':_0x5508a5(0x203),'iMutt':'Scenario\x20description','MuwJT':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x3d3741[_0x5508a5(0x13f)]('description',{'type':_0x2f2f3d['aYhZu'],'description':_0x2f2f3d[_0x5508a5(0xd7)],'demandOption':!![]})[_0x5508a5(0xdd)]('id',{'type':_0x5508a5(0x203),'description':_0x2f2f3d['MuwJT']});},async _0xc0b6e1=>{const _0x4a0e06=_0x3ec279;await withTelemetry(_0x4a0e06(0x1f9),()=>featureAddScenario(_0xc0b6e1['description'],_0xc0b6e1['id']));})['command'](_0x3ec279(0x128),_0x3ec279(0x105),_0x1cc54b=>{const _0x80a99f=_0x3ec279,_0x15fe61={'THChj':'New\x20scenario\x20description','tcMDk':'scenario','SMJWe':'Scenario\x20number\x20to\x20edit\x20(1-based)','QwzWd':_0x80a99f(0x211)};return _0x1cc54b[_0x80a99f(0x13f)](_0x80a99f(0x205),{'type':'string','description':_0x15fe61['THChj'],'demandOption':!![]})[_0x80a99f(0xdd)](_0x15fe61[_0x80a99f(0xcb)],{'type':'number','description':_0x15fe61[_0x80a99f(0x150)],'demandOption':!![]})['option']('id',{'type':_0x80a99f(0x203),'description':_0x15fe61[_0x80a99f(0x218)]});},async _0x33ada2=>{const _0x1143df=_0x3ec279,_0x2dcb5c={'hzixe':function(_0x46a44d,_0x19c896,_0xdead0){return _0x46a44d(_0x19c896,_0xdead0);},'fbSxc':'edit-scenario'};await _0x2dcb5c['hzixe'](withTelemetry,_0x2dcb5c['fbSxc'],()=>featureEditScenario(_0x33ada2[_0x1143df(0x205)],{'id':_0x33ada2['id'],'scenario':_0x33ada2[_0x1143df(0x16b)]}));})[_0x3ec279(0x1dd)](_0x3ec279(0xeb),'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x1c7e68=>{const _0x562a92=_0x3ec279,_0x4105c2={'WbXss':_0x562a92(0x203),'ZPsCn':_0x562a92(0x17e),'evGUB':'exclude-scenario','Gfqno':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','qYRmK':_0x562a92(0xf1),'SZJCS':_0x562a92(0xd4)};return _0x1c7e68['positional']('id',{'type':_0x4105c2['WbXss'],'description':_0x4105c2['ZPsCn']})['option'](_0x4105c2['evGUB'],{'type':_0x562a92(0xf8),'description':_0x4105c2['Gfqno']})[_0x562a92(0xdd)]('json',{'type':_0x4105c2['qYRmK'],'description':_0x4105c2['SZJCS'],'default':![]});},async _0x5ec8ed=>{const _0x26f230=_0x3ec279,_0x434ebe={'lTaxF':function(_0x3a96f8,_0x24ab27,_0x4d1123){return _0x3a96f8(_0x24ab27,_0x4d1123);},'kkcvA':_0x26f230(0x10c)},_0x370e6e=_0x5ec8ed[_0x26f230(0x1bc)],_0x1656b5=_0x370e6e?_0x370e6e[_0x26f230(0x216)](_0xc193d9=>Number(_0xc193d9)):undefined;await _0x434ebe['lTaxF'](withTelemetry,_0x434ebe[_0x26f230(0x1a3)],()=>featureReportPrDescription(_0x5ec8ed['id'],{'excludeScenarios':_0x1656b5,'json':_0x5ec8ed[_0x26f230(0x135)]}));})['command'](_0x3ec279(0x20a),_0x3ec279(0xe3),_0x359e53=>{const _0x50132f=_0x3ec279,_0xf13c4d={'dunEK':_0x50132f(0x211)};return _0x359e53['positional']('id',{'type':_0x50132f(0x203),'description':_0xf13c4d['dunEK']});},async _0xa8d5d6=>{const _0x12eed1=_0x3ec279,_0x33c736={'zpiWo':'get-review'};await withTelemetry(_0x33c736[_0x12eed1(0x114)],()=>featureGetReview(_0xa8d5d6['id']));})['command'](_0x3ec279(0x1bf),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x29bf0b=>{const _0x479b59=_0x3ec279,_0x369de5={'OTANY':'string'};return _0x29bf0b[_0x479b59(0x13f)]('id',{'type':_0x369de5['OTANY'],'description':'Feature\x20review\x20ID'});},async _0x301050=>{const _0x3ee92d=_0x3ec279,_0x58b7aa={'oMKPI':function(_0x47bee1,_0x37f1cc,_0x248731){return _0x47bee1(_0x37f1cc,_0x248731);},'Etljw':'delete'};await _0x58b7aa[_0x3ee92d(0x10e)](withTelemetry,_0x58b7aa[_0x3ee92d(0x18e)],()=>featureDelete(_0x301050['id']));})['command'](_0x3ec279(0xe9),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1a90c5=>{const _0x5a5960=_0x3ec279,_0x54215c={'LaYuP':_0x5a5960(0x203)};return _0x1a90c5[_0x5a5960(0x13f)]('id',{'type':_0x54215c[_0x5a5960(0x1be)],'description':_0x5a5960(0x1a1),'demandOption':!![]});},async _0x16f8f8=>{const _0x4c7bd1=_0x3ec279,_0x27f2af={'qWKVU':function(_0x1790e5,_0x12028c,_0x580ef2){return _0x1790e5(_0x12028c,_0x580ef2);}};await _0x27f2af['qWKVU'](withTelemetry,_0x4c7bd1(0x19a),()=>featureRestore(_0x16f8f8['id']));})[_0x3ec279(0x1dd)]('setup\x20[token]','Initialize\x20Ranger\x20in\x20your\x20project',_0xf40ee4=>{const _0x5b26de=_0x3ec279,_0x251b23={'pSKNm':_0x5b26de(0x134),'lqXsp':_0x5b26de(0x203),'wNKpe':_0x5b26de(0x163),'qwzmL':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','WsVkR':'url','xDXJp':'boolean','nDzOO':_0x5b26de(0x20b),'VVWwZ':'allow-insecure-localhost','YZoAk':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'};return _0xf40ee4['positional']('token',{'type':'string','description':_0x251b23['pSKNm']})['option'](_0x5b26de(0xea),{'type':_0x5b26de(0xf1),'description':_0x5b26de(0x1c4),'default':![]})[_0x5b26de(0xdd)](_0x5b26de(0x117),{'type':_0x251b23['lqXsp'],'choices':[_0x251b23['wNKpe'],_0x5b26de(0x182)],'description':_0x251b23['qwzmL']})[_0x5b26de(0xdd)](_0x251b23['WsVkR'],{'type':_0x251b23[_0x5b26de(0x159)],'description':_0x5b26de(0x140)})[_0x5b26de(0xdd)]('force',{'type':_0x251b23['xDXJp'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x5b26de(0x156),{'type':_0x251b23[_0x5b26de(0x14c)],'description':_0x251b23[_0x5b26de(0x171)],'default':![]})['option'](_0x251b23[_0x5b26de(0x15c)],{'type':_0x5b26de(0xf1),'description':_0x251b23[_0x5b26de(0x20d)],'default':![]});},async _0x309e35=>{const _0x41cebe=_0x3ec279;await withTelemetry(_0x41cebe(0x12d),_0x418a47=>start(_0x309e35[_0x41cebe(0x187)],{'skipChromium':_0x309e35['skip-chromium'],'scope':_0x309e35[_0x41cebe(0x117)],'url':_0x309e35['url'],'force':_0x309e35['force'],'opencode':_0x309e35[_0x41cebe(0x156)],'allowInsecureLocalhost':_0x309e35['allow-insecure-localhost']},_0x418a47));})[_0x3ec279(0x1dd)]('setup-ci\x20<token>',_0x3ec279(0x174),_0xf6845b=>{const _0x4f0567=_0x3ec279,_0x2de74c={'YGPkn':'token','egDAf':_0x4f0567(0x203),'TuTso':'Ranger\x20API\x20token','NqBxC':_0x4f0567(0x1fa),'klPlw':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','RCPbC':_0x4f0567(0x102),'fZdrZ':_0x4f0567(0xea)};return _0xf6845b[_0x4f0567(0x13f)](_0x2de74c[_0x4f0567(0x1d6)],{'type':_0x2de74c['egDAf'],'description':_0x2de74c[_0x4f0567(0x162)],'demandOption':!![]})[_0x4f0567(0xdd)](_0x2de74c[_0x4f0567(0x113)],{'type':_0x2de74c[_0x4f0567(0x1af)],'description':_0x2de74c[_0x4f0567(0xc9)]})['option'](_0x4f0567(0x116),{'type':'string','description':_0x2de74c['RCPbC']})[_0x4f0567(0xdd)](_0x2de74c[_0x4f0567(0x19c)],{'type':_0x4f0567(0xf1),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x1927e0=>{const _0x2db0f9=_0x3ec279;await withTelemetry(_0x2db0f9(0x15d),_0x311b97=>setupCi(_0x1927e0['token'],{'profile':_0x1927e0['profile'],'baseUrl':_0x1927e0[_0x2db0f9(0x116)],'skipChromium':_0x1927e0['skip-chromium']},_0x311b97));})[_0x3ec279(0x1dd)]('login',_0x3ec279(0x14b),()=>{},async()=>{const _0x58f84f={'kysZe':'login'};await withTelemetry(_0x58f84f['kysZe'],()=>login());})[_0x3ec279(0x1dd)]('skillup','Install\x20Ranger\x20skills',_0x339b65=>{const _0x5859cc=_0x3ec279,_0x76513c={'EhSvW':'opencode','lWiwj':_0x5859cc(0xf1),'DpaMy':'string','JedWC':'project','ackqq':_0x5859cc(0x16d)};return _0x339b65[_0x5859cc(0xdd)](_0x76513c[_0x5859cc(0x152)],{'type':_0x76513c['lWiwj'],'description':_0x5859cc(0x12e),'default':![]})['option'](_0x5859cc(0x117),{'type':_0x76513c['DpaMy'],'choices':[_0x5859cc(0x163),_0x76513c['JedWC']],'description':_0x76513c['ackqq']});},async _0x40e854=>{const _0x2357d6=_0x3ec279,_0x4a7821=Boolean(_0x40e854[_0x2357d6(0x156)]);await withTelemetry(_0x2357d6(0x193),()=>skillup({'autoInstall':_0x40e854['scope'],'platform':_0x4a7821?'opencode':_0x2357d6(0x145)}));})[_0x3ec279(0x1dd)]('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x2eeae4=_0x3ec279,_0x201996={'aJiZI':function(_0x141725,_0x509a58,_0xd8a131){return _0x141725(_0x509a58,_0xd8a131);},'CVpaN':_0x2eeae4(0xed)};await _0x201996[_0x2eeae4(0x1e5)](withTelemetry,_0x201996[_0x2eeae4(0x1ff)],()=>clean());})['command'](_0x3ec279(0x1fa),'Manage\x20profiles',_0x5b3c7d=>{const _0x44c120=_0x3ec279,_0x4a10fa={'Dtmbq':_0x44c120(0x17b),'OMkHX':_0x44c120(0xf1),'koByn':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','IzWTL':_0x44c120(0x1ea),'FsxZl':'url','mPFgn':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','gEElJ':'string','CdiWg':_0x44c120(0x1c9),'xhbVa':'allow-insecure-localhost','cPbfy':'safe-mode','xNnjY':function(_0x5ce2a9,_0x3768ed,_0x38e8c8,_0x5932d4){return _0x5ce2a9(_0x3768ed,_0x38e8c8,_0x5932d4);},'wRoon':_0x44c120(0x1d0),'UuPrT':_0x44c120(0x168),'bfgvu':'Name\x20of\x20the\x20profile','VwGIk':'profile\x20use','VHppp':function(_0x1ac291,_0x5c7067,_0x4719d1){return _0x1ac291(_0x5c7067,_0x4719d1);},'vrbnO':_0x44c120(0x106),'RqSgi':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','xTskJ':_0x44c120(0xfb),'gyThZ':_0x44c120(0x1fa),'gryAF':'Config\x20key','Bhyiv':_0x44c120(0x17f),'iaSlG':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','MxhwQ':'Config\x20value','jAsxP':'set\x20<profile>\x20<key>\x20<value>','MMyQO':'get\x20<profile>\x20<key>','rpuFA':_0x44c120(0x1ca),'jSOze':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','JmHzP':'Add\x20profile\x20configuration','tCRfL':_0x44c120(0x1cc),'rxaRS':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','XGkVg':'Update\x20authentication\x20for\x20an\x20existing\x20profile','FnvRn':'config','BNmxN':_0x44c120(0x1a9),'WHvhK':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x5b3c7d['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x4a10fa[_0x44c120(0x204)],_0x4d5b45=>{const _0x4394b9=_0x44c120;return _0x4d5b45['positional'](_0x4394b9(0x168),{'type':'string','description':_0x4a10fa['Dtmbq'],'demandOption':!![]})[_0x4394b9(0xdd)]('ci',{'type':_0x4a10fa['OMkHX'],'description':_0x4a10fa[_0x4394b9(0x19f)],'default':![]})[_0x4394b9(0xdd)](_0x4394b9(0xf9),{'type':_0x4394b9(0xf1),'description':_0x4a10fa[_0x4394b9(0x112)],'default':![]})[_0x4394b9(0xdd)](_0x4a10fa[_0x4394b9(0x176)],{'type':'string','description':_0x4a10fa[_0x4394b9(0x199)]})['option']('force',{'type':_0x4394b9(0xf1),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4394b9(0x206),{'type':_0x4a10fa['gEElJ'],'description':_0x4a10fa['CdiWg']})[_0x4394b9(0xdd)](_0x4a10fa['xhbVa'],{'type':_0x4a10fa[_0x4394b9(0x165)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x4a10fa['cPbfy'],{'type':_0x4a10fa[_0x4394b9(0x165)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]});},async _0x10a94a=>{const _0x1104d1=_0x44c120;await _0x4a10fa[_0x1104d1(0xce)](withTelemetry,_0x4a10fa[_0x1104d1(0x1f6)],_0x2d6db0=>addEnv(_0x10a94a['profile-name'],{'ci':_0x10a94a['ci'],'skipAuth':_0x10a94a['skip-auth'],'url':_0x10a94a['url'],'force':_0x10a94a['force'],'cdpEndpoint':_0x10a94a['cdp-endpoint'],'allowInsecureLocalhost':_0x10a94a['allow-insecure-localhost'],'safeMode':_0x10a94a['safe-mode']},_0x2d6db0),{'isElectron':Boolean(_0x10a94a[_0x1104d1(0x206)])});})[_0x44c120(0x1dd)]('use\x20<profile-name>',_0x4a10fa[_0x44c120(0x119)],_0x5c30ad=>{const _0x474990=_0x44c120;return _0x5c30ad['positional'](_0x4a10fa[_0x474990(0xef)],{'type':'string','description':_0x4a10fa['bfgvu'],'demandOption':!![]});},async _0x62dce8=>{const _0x32394a=_0x44c120;await withTelemetry(_0x4a10fa['VwGIk'],()=>useEnv(_0x62dce8[_0x32394a(0x168)]));})['command']('encrypt-auth\x20<profile>',_0x4a10fa[_0x44c120(0x130)],_0x4b8ae4=>{const _0x5a25a4=_0x44c120;return _0x4b8ae4[_0x5a25a4(0x13f)](_0x5a25a4(0x1fa),{'type':_0x5a25a4(0x203),'description':'Profile\x20name','demandOption':!![]});},async _0x317005=>{const _0x481b2e=_0x44c120;await _0x4a10fa['VHppp'](withTelemetry,_0x4a10fa[_0x481b2e(0x1a0)],()=>authEncrypt(_0x317005['profile']));})[_0x44c120(0x1dd)]('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x44c120(0x1dd)]('update\x20<profile-name>',_0x4a10fa[_0x44c120(0x1cd)],_0x3d9359=>{const _0x3085d0=_0x44c120;return _0x3d9359['positional'](_0x4a10fa['UuPrT'],{'type':_0x3085d0(0x203),'description':_0x3085d0(0x14f),'demandOption':!![]})['option'](_0x3085d0(0x172),{'type':_0x4a10fa[_0x3085d0(0x165)],'description':_0x4a10fa['RqSgi']});},async _0x5dbcf5=>{const _0x22021e=_0x44c120;await _0x4a10fa[_0x22021e(0x12c)](withTelemetry,_0x4a10fa[_0x22021e(0x16a)],_0x31e9df=>updateEnv(_0x5dbcf5['profile-name'],_0x31e9df,{'allowInsecureLocalhost':_0x5dbcf5['allow-insecure-localhost']}));})['command'](_0x4a10fa[_0x44c120(0xb8)],_0x4a10fa['BNmxN'],_0x5b2495=>{const _0x4a07fa=_0x44c120,_0x19445a={'EOQNd':_0x4a10fa['iaSlG'],'cmnZC':_0x4a07fa(0x203),'lbiWx':_0x4a10fa['MxhwQ'],'wuYfJ':_0x4a07fa(0x1de),'rVdfU':function(_0x24568b,_0x5ec840,_0xe38338){return _0x24568b(_0x5ec840,_0xe38338);},'PBSmK':'Profile\x20name','lmaOP':_0x4a07fa(0xf7)};return _0x5b2495['usage'](PROFILE_CONFIG_HELP)[_0x4a07fa(0x1dd)](_0x4a10fa[_0x4a07fa(0x137)],_0x4a07fa(0xbd),_0xc5478d=>{const _0x564009=_0x4a07fa;return _0xc5478d['positional']('profile',{'type':_0x564009(0x203),'description':_0x564009(0xe4),'demandOption':!![]})[_0x564009(0x13f)](_0x564009(0x188),{'type':_0x564009(0x203),'description':_0x19445a['EOQNd'],'demandOption':!![]})[_0x564009(0x13f)]('value',{'type':_0x19445a[_0x564009(0xf5)],'description':_0x19445a['lbiWx'],'demandOption':!![]});},async _0x4c03e6=>{await withTelemetry(_0x19445a['wuYfJ'],()=>configSet(_0x4c03e6['profile'],_0x4c03e6['key'],_0x4c03e6['value']));})[_0x4a07fa(0x1dd)](_0x4a10fa[_0x4a07fa(0xbf)],'Get\x20a\x20config\x20value',_0x5de627=>{const _0x5eed2c=_0x4a07fa;return _0x5de627['positional'](_0x4a10fa['gyThZ'],{'type':_0x5eed2c(0x203),'description':'Profile\x20name','demandOption':!![]})[_0x5eed2c(0x13f)](_0x5eed2c(0x188),{'type':_0x4a10fa['gEElJ'],'description':_0x4a10fa[_0x5eed2c(0x13a)],'demandOption':!![]});},async _0x4574e1=>{const _0x539460=_0x4a07fa;await withTelemetry(_0x4a10fa[_0x539460(0xd6)],()=>configGet(_0x4574e1['profile'],_0x4574e1['key']));})['command']('list\x20<profile>',_0x4a10fa[_0x4a07fa(0x15e)],_0x42be4a=>{const _0x54036c=_0x4a07fa;return _0x42be4a['positional'](_0x4a10fa['gyThZ'],{'type':_0x54036c(0x203),'description':'Profile\x20name','demandOption':!![]});},async _0x9683ac=>{const _0x5007bf=_0x4a07fa;await _0x19445a[_0x5007bf(0x1e8)](withTelemetry,_0x5007bf(0x1fb),()=>configList(_0x9683ac[_0x5007bf(0x1fa)]));})['command'](_0x4a07fa(0x20c),'Remove\x20a\x20config\x20value',_0x104485=>{const _0x2d5c33=_0x4a07fa;return _0x104485['positional'](_0x2d5c33(0x1fa),{'type':_0x2d5c33(0x203),'description':_0x19445a[_0x2d5c33(0x1c7)],'demandOption':!![]})['positional'](_0x2d5c33(0x188),{'type':_0x2d5c33(0x203),'description':_0x19445a['lmaOP'],'demandOption':!![]});},async _0x1068e5=>{const _0x2cf68d=_0x4a07fa;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x1068e5[_0x2cf68d(0x1fa)],_0x1068e5[_0x2cf68d(0x188)]));})[_0x4a07fa(0x10a)](0x1,_0x4a10fa[_0x4a07fa(0xdc)]);})['demandCommand'](0x1,_0x4a10fa['WHvhK']);})[_0x3ec279(0x1dd)](_0x3ec279(0xb7),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x5c7397=_0x3ec279,_0x1d57b7={'XLand':function(_0x1b9882,_0x78d214,_0x192d42){return _0x1b9882(_0x78d214,_0x192d42);},'fsyay':_0x5c7397(0xb7)};await _0x1d57b7['XLand'](withTelemetry,_0x1d57b7[_0x5c7397(0x16c)],()=>status());})[_0x3ec279(0x1dd)](_0x3ec279(0x1a4),_0x3ec279(0x1a2),()=>{},async()=>{const _0x59e298={'eRcTZ':function(_0x23e5e4,_0x4a8499,_0x3a906d){return _0x23e5e4(_0x4a8499,_0x3a906d);}};await _0x59e298['eRcTZ'](withTelemetry,'update',()=>update());})['command']('go',_0x3ec279(0x196),_0x3b0a18=>{const _0x56f9fc=_0x3ec279,_0x37702e={'QNNlh':_0x56f9fc(0x203),'CUZCg':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','mcFGj':'scenario','tJUKm':_0x56f9fc(0x215),'XURLj':_0x56f9fc(0x1ce),'Wmjau':_0x56f9fc(0x154),'ikWia':'partial','oZSkP':'incomplete','DpxXe':_0x56f9fc(0x1c1),'BcIyV':_0x56f9fc(0x110)};return _0x3b0a18[_0x56f9fc(0xdd)]('feature',{'type':'string','description':_0x56f9fc(0xf0)})['option'](_0x56f9fc(0x1fa),{'type':_0x56f9fc(0x203),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x56f9fc(0xdd)](_0x56f9fc(0x20f),{'type':_0x37702e['QNNlh'],'description':_0x37702e['CUZCg']})['option'](_0x37702e['mcFGj'],{'type':_0x37702e['tJUKm'],'description':_0x56f9fc(0x1d2)})['option']('start-path',{'type':_0x37702e[_0x56f9fc(0xf3)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})['option'](_0x37702e['XURLj'],{'type':_0x56f9fc(0x203),'description':_0x56f9fc(0xc2)})['option']('headed',{'type':'boolean','description':_0x56f9fc(0xde),'default':![]})[_0x56f9fc(0xdd)]('debug-outcome',{'type':_0x37702e['QNNlh'],'hidden':!![],'choices':[_0x37702e['Wmjau'],_0x37702e['ikWia'],'blocked','failed',_0x37702e['oZSkP']]})[_0x56f9fc(0xdd)](_0x56f9fc(0xf4),{'type':'boolean','hidden':!![]})['option'](_0x37702e['DpxXe'],{'type':_0x37702e['QNNlh'],'hidden':!![]})['option'](_0x37702e['BcIyV'],{'type':'string','hidden':!![]})['option'](_0x56f9fc(0x107),{'type':_0x56f9fc(0x215),'hidden':!![]});},async _0x3a959e=>{await runGoCommand(_0x3a959e);})[_0x3ec279(0x1dd)]('auth',![],_0x5c5bf9=>{const _0x2c1afe=_0x3ec279,_0x39ec24={'eYnVz':_0x2c1afe(0x1fa),'aVllp':'string','ivEdk':'Profile\x20name','lhMho':function(_0x1e40c1,_0x548ab2,_0x5278b4){return _0x1e40c1(_0x548ab2,_0x5278b4);},'XYJXp':_0x2c1afe(0x133),'LXLXy':function(_0x45d889,_0x485cc6){return _0x45d889(_0x485cc6);},'ZXGsM':_0x2c1afe(0x178)};return _0x5c5bf9['command'](_0x39ec24[_0x2c1afe(0xcc)],![],_0x10d08d=>{return _0x10d08d['positional'](_0x39ec24['eYnVz'],{'type':_0x39ec24['aVllp'],'description':_0x39ec24['ivEdk'],'demandOption':!![]});},async _0x14a09f=>{const _0x40afac=_0x2c1afe;_0x39ec24[_0x40afac(0x164)](warnRenamed,_0x39ec24[_0x40afac(0x122)],'ranger\x20profile\x20encrypt-auth'),await _0x39ec24['LXLXy'](authEncrypt,_0x14a09f['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x3ec279(0x1dd)]('start\x20[token]',![],_0x2029a7=>{const _0x35dd7a=_0x3ec279,_0x36a236={'EqSCx':_0x35dd7a(0x203),'hnCxi':_0x35dd7a(0x134),'ASHzI':'skip-chromium','ygsSy':_0x35dd7a(0xf1),'vragz':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hPuWc':'user','TDLKX':'project','NFHCu':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','FjwbD':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','BbpUA':_0x35dd7a(0x1c0)};return _0x2029a7['positional'](_0x35dd7a(0x187),{'type':_0x36a236[_0x35dd7a(0x10d)],'description':_0x36a236['hnCxi']})[_0x35dd7a(0xdd)](_0x36a236[_0x35dd7a(0x18c)],{'type':_0x36a236['ygsSy'],'description':_0x36a236[_0x35dd7a(0x175)],'default':![]})['option']('scope',{'type':_0x36a236[_0x35dd7a(0x10d)],'choices':[_0x36a236[_0x35dd7a(0xe6)],_0x36a236['TDLKX']],'description':_0x36a236[_0x35dd7a(0x17d)]})['option'](_0x35dd7a(0xe8),{'type':'string','description':_0x36a236[_0x35dd7a(0xe2)]})['option'](_0x36a236[_0x35dd7a(0x1ee)],{'type':_0x36a236['ygsSy'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]});},async _0x1345f7=>{const _0x2c0b63=_0x3ec279,_0x3b8983={'vzasn':_0x2c0b63(0x1a8),'ifxVO':_0x2c0b63(0x1da)};warnRenamed(_0x3b8983['vzasn'],_0x3b8983['ifxVO']),await withTelemetry(_0x2c0b63(0x12d),_0x2fca98=>start(_0x1345f7[_0x2c0b63(0x187)],{'skipChromium':_0x1345f7['skip-chromium'],'scope':_0x1345f7[_0x2c0b63(0x117)],'url':_0x1345f7[_0x2c0b63(0xe8)],'force':_0x1345f7['force']},_0x2fca98));})[_0x3ec279(0x1dd)]('verify-feature',![],_0x28ba11=>{const _0x1a54e5=_0x3ec279,_0x358260={'uYEzD':_0x1a54e5(0x1c1),'sdYYh':'string','bdlMJ':_0x1a54e5(0xd2),'DhPPT':'task','BVTxk':_0x1a54e5(0x107),'JNDAx':_0x1a54e5(0x1d2),'cPGbL':_0x1a54e5(0x1fa),'MUMkH':'notes','sNLKw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','mYGcy':_0x1a54e5(0xc1),'GTXQM':'boolean','vINqi':'debug-outcome','ePhKL':_0x1a54e5(0x154),'YfyHU':'partial','YkfKe':_0x1a54e5(0x158),'eyWSk':_0x1a54e5(0x1d4)};return _0x28ba11[_0x1a54e5(0xdd)](_0x358260['uYEzD'],{'type':_0x358260['sdYYh'],'description':_0x358260['bdlMJ']})['option'](_0x358260['DhPPT'],{'type':_0x358260['sdYYh'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x1a54e5(0xdd)](_0x358260[_0x1a54e5(0x11c)],{'type':_0x1a54e5(0x215),'description':_0x358260[_0x1a54e5(0xff)]})[_0x1a54e5(0xdd)](_0x358260['cPGbL'],{'type':_0x1a54e5(0x203),'hidden':!![]})['option'](_0x358260['MUMkH'],{'type':_0x358260[_0x1a54e5(0x1d9)],'hidden':!![]})['option'](_0x1a54e5(0x16b),{'type':_0x1a54e5(0x215),'hidden':!![]})['option'](_0x1a54e5(0x207),{'type':_0x358260[_0x1a54e5(0x1d9)],'description':_0x358260[_0x1a54e5(0x169)]})[_0x1a54e5(0xdd)](_0x1a54e5(0x1ce),{'type':'string','hidden':!![]})[_0x1a54e5(0xdd)](_0x358260['mYGcy'],{'type':_0x358260['GTXQM'],'hidden':!![],'default':![]})[_0x1a54e5(0xdd)](_0x358260['vINqi'],{'type':_0x358260[_0x1a54e5(0x1d9)],'hidden':!![],'choices':[_0x358260[_0x1a54e5(0x1b0)],_0x358260['YfyHU'],_0x1a54e5(0x1a5),_0x358260[_0x1a54e5(0x127)],_0x358260['eyWSk']]});},async _0x104858=>{const _0x28cab5=_0x3ec279,_0x766cae={'hTGUH':function(_0xdd2191,_0x333e6c,_0x4e5f30){return _0xdd2191(_0x333e6c,_0x4e5f30);}};await _0x766cae[_0x28cab5(0x180)](runGoCommand,_0x104858,!![]);})[_0x3ec279(0x1dd)](_0x3ec279(0x11f),![],_0x2f6d1b=>{const _0x31c217=_0x3ec279,_0x4a2eb3={'iSoDp':_0x31c217(0x201),'KKSbd':_0x31c217(0x203),'vmQwL':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','rzOTn':'boolean','upJMH':_0x31c217(0x1e6),'YkRfs':_0x31c217(0xf9)};return _0x2f6d1b['positional'](_0x4a2eb3[_0x31c217(0x214)],{'type':_0x4a2eb3[_0x31c217(0x15a)],'description':_0x4a2eb3['vmQwL'],'demandOption':!![]})['option']('ci',{'type':_0x4a2eb3[_0x31c217(0xdb)],'description':_0x4a2eb3[_0x31c217(0x167)],'default':![]})[_0x31c217(0xdd)](_0x4a2eb3[_0x31c217(0x177)],{'type':_0x4a2eb3[_0x31c217(0xdb)],'description':_0x31c217(0x1ea),'default':![]});},async _0x54ad98=>{const _0x56f1d0=_0x3ec279,_0x5a4b65={'thRYh':'add\x20env'};warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x5a4b65[_0x56f1d0(0x120)],_0x36a539=>addEnv(_0x54ad98['env-name'],{'ci':_0x54ad98['ci'],'skipAuth':_0x54ad98[_0x56f1d0(0xf9)]},_0x36a539));})['command'](_0x3ec279(0x1ab),![],_0x54291c=>{const _0x1a948f=_0x3ec279,_0x1d2540={'acGIo':'string'};return _0x54291c[_0x1a948f(0x13f)](_0x1a948f(0x201),{'type':_0x1d2540['acGIo'],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x2ecc4e=>{const _0x48345a=_0x3ec279,_0x3eefc9={'wKnqC':function(_0x54a2ff,_0x22960d,_0x18f59f){return _0x54a2ff(_0x22960d,_0x18f59f);}};_0x3eefc9['wKnqC'](warnRenamed,_0x48345a(0x19b),'ranger\x20profile\x20use'),await _0x3eefc9['wKnqC'](withTelemetry,_0x48345a(0xcd),()=>useEnv(_0x2ecc4e['env-name']));})[_0x3ec279(0x1dd)](_0x3ec279(0x17c),![],_0xf41e18=>{const _0x23e5f4=_0x3ec279,_0x21517f={'FSVzG':_0x23e5f4(0x203),'YcMXW':'Environment\x20name','bUTtO':_0x23e5f4(0x188),'aKWQY':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','SxyLZ':'value','ZCasj':'Config\x20value','TDGhr':_0x23e5f4(0x1fc),'KafkS':_0x23e5f4(0x1a7),'HqCEJ':_0x23e5f4(0x1c1),'qogCY':_0x23e5f4(0x13d),'tNGAQ':function(_0x126bca,_0xe9319c,_0x24706c){return _0x126bca(_0xe9319c,_0x24706c);},'vqasS':'ranger\x20config\x20get','UTjrg':_0x23e5f4(0x1fe),'fIUCE':function(_0x43b4c6,_0x4155d9,_0x2f7999){return _0x43b4c6(_0x4155d9,_0x2f7999);},'VqOxu':'ranger\x20config\x20list','AHjZS':_0x23e5f4(0x121),'PvyWy':function(_0x4ef2ae,_0x1f43cb,_0xf0e22){return _0x4ef2ae(_0x1f43cb,_0xf0e22);},'uWwVV':'Config\x20key\x20to\x20remove','Rwnjd':function(_0x4d3eb4,_0x4dc8da,_0x48832b){return _0x4d3eb4(_0x4dc8da,_0x48832b);},'AOPPs':_0x23e5f4(0x1c3),'Kngyn':_0x23e5f4(0x1b2),'EfVxY':_0x23e5f4(0x190),'WDtMl':_0x23e5f4(0x173),'BKECn':_0x23e5f4(0xe1)};return _0xf41e18['command']('set\x20<env>\x20<key>\x20<value>',![],_0xf4db10=>{const _0x645eb6=_0x23e5f4;return _0xf4db10['positional']('env',{'type':_0x21517f[_0x645eb6(0x166)],'description':_0x21517f[_0x645eb6(0x18a)],'demandOption':!![]})['positional'](_0x21517f[_0x645eb6(0x209)],{'type':'string','description':_0x21517f['aKWQY'],'demandOption':!![]})['positional'](_0x21517f[_0x645eb6(0x19d)],{'type':_0x21517f['FSVzG'],'description':_0x21517f[_0x645eb6(0xc3)],'demandOption':!![]});},async _0x2638bc=>{const _0x4c7d01=_0x23e5f4;warnRenamed('ranger\x20config\x20set',_0x21517f['TDGhr']),await withTelemetry(_0x21517f[_0x4c7d01(0x147)],()=>configSet(_0x2638bc[_0x4c7d01(0x1c1)],_0x2638bc['key'],_0x2638bc[_0x4c7d01(0x1c5)]));})['command'](_0x21517f[_0x23e5f4(0xe7)],![],_0x175f48=>{const _0xe69db8=_0x23e5f4;return _0x175f48[_0xe69db8(0x13f)](_0x21517f[_0xe69db8(0xf2)],{'type':'string','description':_0xe69db8(0x1b8),'demandOption':!![]})[_0xe69db8(0x13f)](_0x21517f['bUTtO'],{'type':_0xe69db8(0x203),'description':_0x21517f[_0xe69db8(0x151)],'demandOption':!![]});},async _0x47f784=>{const _0x5f0474=_0x23e5f4;_0x21517f['tNGAQ'](warnRenamed,_0x21517f['vqasS'],'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x21517f[_0x5f0474(0xba)],()=>configGet(_0x47f784[_0x5f0474(0x1c1)],_0x47f784[_0x5f0474(0x188)]));})['command'](_0x21517f['EfVxY'],![],_0x41ca7c=>{const _0x4ac95c=_0x23e5f4;return _0x41ca7c['positional'](_0x21517f[_0x4ac95c(0xf2)],{'type':_0x21517f[_0x4ac95c(0x166)],'description':_0x4ac95c(0x1b8),'demandOption':!![]});},async _0x9825f6=>{const _0x44c9b8=_0x23e5f4;_0x21517f[_0x44c9b8(0x126)](warnRenamed,_0x21517f[_0x44c9b8(0xc0)],_0x21517f[_0x44c9b8(0x1bd)]),await _0x21517f[_0x44c9b8(0x1ef)](withTelemetry,'config\x20list',()=>configList(_0x9825f6[_0x44c9b8(0x1c1)]));})['command'](_0x21517f[_0x23e5f4(0x1a6)],![],_0x1607a7=>{const _0x42e19d=_0x23e5f4;return _0x1607a7['positional'](_0x21517f[_0x42e19d(0xf2)],{'type':_0x42e19d(0x203),'description':'Environment\x20name','demandOption':!![]})[_0x42e19d(0x13f)]('key',{'type':'string','description':_0x21517f['uWwVV'],'demandOption':!![]});},async _0x1f6d48=>{const _0x1a65ea=_0x23e5f4;_0x21517f[_0x1a65ea(0x1f2)](warnRenamed,_0x21517f[_0x1a65ea(0x202)],'ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x1f6d48['env'],_0x1f6d48['key']));})[_0x23e5f4(0x10a)](0x1,_0x21517f['BKECn']);})['command'](_0x3ec279(0x1c1),![],_0x1d5222=>{const _0xe78815=_0x3ec279,_0x144677={'BtYuO':'ranger\x20env\x20ls','qMEwJ':function(_0x3d31ab,_0x5a990e,_0x5d164a){return _0x3d31ab(_0x5a990e,_0x5d164a);},'nPOyc':'ranger\x20env\x20update','eZpMM':'env\x20update'};return _0x1d5222['command']('ls',![],()=>{},async()=>{const _0x578468=_0x9509;warnRenamed(_0x144677['BtYuO'],'ranger\x20profile\x20ls'),await withTelemetry(_0x578468(0x195),()=>envList());})[_0xe78815(0x1dd)](_0xe78815(0x124),![],_0x4e7f98=>{const _0x50a532=_0xe78815;return _0x4e7f98['positional']('env-name',{'type':_0x50a532(0x203),'description':_0x50a532(0x192),'demandOption':!![]});},async _0x19613d=>{const _0x362a2d=_0xe78815;_0x144677['qMEwJ'](warnRenamed,_0x144677[_0x362a2d(0x142)],_0x362a2d(0x1c8)),await withTelemetry(_0x144677[_0x362a2d(0x125)],_0x32102c=>updateEnv(_0x19613d['env-name'],_0x32102c));})['demandCommand'](0x1,_0xe78815(0x1c2));})[_0x3ec279(0x1dd)](_0x3ec279(0xca),![],_0x5ec283=>{const _0x172262=_0x3ec279,_0x1cd550={'fblun':_0x172262(0x203),'gMtah':'description','iMVbJ':'array','tuRio':function(_0x210451,_0x305fd6,_0x371487){return _0x210451(_0x305fd6,_0x371487);},'aPdNO':'ranger\x20create','cZLuC':'--checklist','xZoEn':'--scenario','dLKar':function(_0x1791fb,_0x237407,_0x2e258f){return _0x1791fb(_0x237407,_0x2e258f);},'zrnSg':'boolean','dBIHh':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','BiqXG':'offset','tAzRu':_0x172262(0x11d),'DDPXC':'include-deleted','ELSGz':function(_0x526347,_0x18d231,_0x430949){return _0x526347(_0x18d231,_0x430949);},'dOKLZ':'ranger\x20feature\x20list','IeOfy':'Feature\x20review\x20ID','ARewY':_0x172262(0x1bb),'FJkro':function(_0x23f2c2,_0x257d45,_0xf0085b){return _0x23f2c2(_0x257d45,_0xf0085b);},'URrrW':'feature\x20resume','iqxxv':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BuhGA':_0x172262(0xee),'YKAQr':'feature\x20add-checklist-item','oqRzy':function(_0x1a74c5,_0x26cc48,_0x527a59){return _0x1a74c5(_0x26cc48,_0x527a59);},'Mzlba':_0x172262(0x181),'ibsji':function(_0x14ebe8,_0x5b0794,_0x310798){return _0x14ebe8(_0x5b0794,_0x310798);},'uEKxc':'ranger\x20feature\x20delete','iWMmY':_0x172262(0xd0),'biohO':'feature\x20restore','gmniw':'create\x20<name>','jngcP':_0x172262(0x1d8),'hObkg':_0x172262(0xfc),'IVpuE':'add-checklist-item\x20<description>','mUlwH':_0x172262(0x1bf),'OekOE':'restore\x20<id>','rmnMs':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x5ec283[_0x172262(0x1dd)](_0x1cd550['gmniw'],![],_0x5ee266=>{const _0x199b49=_0x172262;return _0x5ee266[_0x199b49(0x13f)]('name',{'type':_0x1cd550['fblun'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x199b49(0xdd)](_0x1cd550[_0x199b49(0x16f)],{'type':_0x199b49(0x203),'alias':'d','description':_0x199b49(0x197)})[_0x199b49(0xdd)]('checklist',{'type':_0x1cd550[_0x199b49(0x143)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x199b49(0xdd)]('scenario',{'type':'array','hidden':!![]});},async _0x381aaf=>{const _0x2641aa=_0x172262;_0x1cd550['tuRio'](warnRenamed,'ranger\x20feature\x20create',_0x1cd550[_0x2641aa(0x1ed)]),warnFlagRenamed(_0x2641aa(0x10b),_0x1cd550[_0x2641aa(0x103)],_0x1cd550['xZoEn']);const _0x4b45a7=_0x381aaf['scenario']||_0x381aaf[_0x2641aa(0xe0)];await _0x1cd550['dLKar'](withTelemetry,_0x2641aa(0x155),()=>featureCreate(_0x381aaf[_0x2641aa(0x194)],{'description':_0x381aaf['description'],'scenarios':_0x4b45a7}));})[_0x172262(0x1dd)](_0x1cd550[_0x172262(0x1f5)],![],_0x4a2704=>{const _0x26fc76=_0x172262;return _0x4a2704['option']('current-branch',{'type':_0x1cd550['zrnSg'],'description':_0x26fc76(0xc4)})[_0x26fc76(0xdd)]('limit',{'type':_0x26fc76(0x215),'alias':'l','description':_0x1cd550['dBIHh'],'default':0xa})[_0x26fc76(0xdd)](_0x1cd550['BiqXG'],{'type':_0x26fc76(0x215),'alias':'o','description':_0x1cd550[_0x26fc76(0x132)],'default':0x0})['option'](_0x1cd550[_0x26fc76(0x123)],{'type':_0x1cd550['zrnSg'],'alias':'d','description':_0x26fc76(0x11e),'default':![]});},async _0x47b108=>{const _0x1282b3=_0x172262;_0x1cd550['ELSGz'](warnRenamed,_0x1cd550['dOKLZ'],'ranger\x20list'),await _0x1cd550[_0x1282b3(0x14d)](withTelemetry,_0x1282b3(0x1ec),()=>featureList({'currentBranch':_0x47b108[_0x1282b3(0x1e9)],'limit':_0x47b108[_0x1282b3(0x14a)],'offset':_0x47b108[_0x1282b3(0x11a)],'includeDeleted':_0x47b108[_0x1282b3(0x212)]}));})[_0x172262(0x1dd)](_0x1cd550[_0x172262(0x1b7)],![],_0x1320e7=>{const _0x10f831=_0x172262;return _0x1320e7['positional']('id',{'type':'string','description':_0x1cd550[_0x10f831(0xc5)]});},async _0x25f222=>{const _0x349800=_0x172262;warnRenamed(_0x349800(0x161),'ranger\x20show'),await withTelemetry(_0x349800(0x213),()=>featureShow(_0x25f222['id']));})[_0x172262(0x1dd)]('resume\x20[id]',![],_0xcdae97=>{const _0x52e281=_0x172262;return _0xcdae97[_0x52e281(0x13f)]('id',{'type':_0x1cd550[_0x52e281(0x184)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2e193b=>{const _0x1ecc3c=_0x172262;warnRenamed(_0x1ecc3c(0x1eb),_0x1cd550[_0x1ecc3c(0xbe)]),await _0x1cd550[_0x1ecc3c(0x1b1)](withTelemetry,_0x1cd550['URrrW'],()=>featureResume(_0x2e193b['id']));})[_0x172262(0x1dd)](_0x1cd550[_0x172262(0x11b)],![],_0x76e8de=>{const _0x1c0dd9=_0x172262;return _0x76e8de['positional'](_0x1cd550['gMtah'],{'type':_0x1cd550[_0x1c0dd9(0x184)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1cd550[_0x1c0dd9(0x184)],'description':_0x1cd550[_0x1c0dd9(0x208)]});},async _0x59c6f6=>{const _0x5accb3=_0x172262;_0x1cd550[_0x5accb3(0x17a)](warnRenamed,_0x5accb3(0xc6),_0x1cd550['BuhGA']),await _0x1cd550['dLKar'](withTelemetry,_0x1cd550['YKAQr'],()=>featureAddScenario(_0x59c6f6['description'],_0x59c6f6['id']));})['command'](_0x172262(0x1ad),![],_0x2a9d9e=>{const _0x532198=_0x172262;return _0x2a9d9e['positional']('id',{'type':_0x532198(0x203),'description':_0x1cd550[_0x532198(0x208)]});},async _0x2271f1=>{const _0x3ac241=_0x172262;_0x1cd550[_0x3ac241(0x1f0)](warnRenamed,_0x3ac241(0x149),_0x1cd550['Mzlba']),await _0x1cd550[_0x3ac241(0x14d)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x2271f1['id']));})['command'](_0x1cd550[_0x172262(0x12f)],![],_0xde801b=>{const _0x3f2412=_0x172262;return _0xde801b['positional']('id',{'type':_0x3f2412(0x203),'description':'Feature\x20review\x20ID'});},async _0x5f408f=>{const _0x3a3f84=_0x172262;_0x1cd550[_0x3a3f84(0x217)](warnRenamed,_0x1cd550[_0x3a3f84(0x1b3)],_0x3a3f84(0xfa)),await _0x1cd550[_0x3a3f84(0x1b1)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x5f408f['id']));})['command'](_0x1cd550['OekOE'],![],_0x1d997d=>{const _0x407e34=_0x172262;return _0x1d997d[_0x407e34(0x13f)]('id',{'type':_0x1cd550[_0x407e34(0x184)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x58d12f=>{const _0x11a8af=_0x172262;warnRenamed(_0x11a8af(0x189),_0x1cd550[_0x11a8af(0x170)]),await withTelemetry(_0x1cd550[_0x11a8af(0x1e7)],()=>featureRestore(_0x58d12f['id']));})['demandCommand'](0x1,_0x1cd550['rmnMs']);})['command'](_0x3ec279(0x1e3),![],_0x3f5732=>{const _0x36d298=_0x3ec279,_0x27d8f7={'Toobs':'session-id','lowoo':_0x36d298(0x1ae),'Ftkpf':function(_0x5573e7,_0x3c1428,_0xa95b19){return _0x5573e7(_0x3c1428,_0xa95b19);},'RPViy':'name','uhbZN':_0x36d298(0x203),'xvXOR':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x3f5732[_0x36d298(0x1dd)]('enable',_0x36d298(0xd1),_0x1306ce=>{const _0x149947=_0x36d298;return _0x1306ce[_0x149947(0xdd)](_0x149947(0x12a),{'type':_0x149947(0x203),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x44478a=>{const _0x8d5c7b=_0x36d298;await withTelemetry(_0x8d5c7b(0x12b),()=>hook('enable',_0x44478a['session-id']));})['command']('disable',_0x36d298(0x18f),_0x1a3a4c=>{const _0x445089=_0x36d298;return _0x1a3a4c['option'](_0x27d8f7[_0x445089(0x16e)],{'type':_0x445089(0x203),'description':_0x27d8f7[_0x445089(0x108)]});},async _0x3032b0=>{const _0x509ba6=_0x36d298;await _0x27d8f7['Ftkpf'](withTelemetry,_0x509ba6(0x191),()=>hook(_0x509ba6(0xd3),_0x3032b0['session-id']));})['option'](_0x27d8f7[_0x36d298(0x139)],{'type':_0x27d8f7['uhbZN'],'description':_0x27d8f7['xvXOR']})[_0x36d298(0xdd)](_0x36d298(0x12a),{'type':_0x27d8f7['uhbZN'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x10f603=>{const _0x48098c=_0x3ec279,_0x28b391={'PtYFy':function(_0x3c1e13,_0x1bc43f,_0x1cac68){return _0x3c1e13(_0x1bc43f,_0x1cac68);},'FUnak':_0x48098c(0x12a)};_0x10f603['name']&&await _0x28b391[_0x48098c(0x1fd)](hook,_0x10f603[_0x48098c(0x194)],_0x10f603[_0x28b391[_0x48098c(0xb9)]]);})[_0x3ec279(0x10a)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x3ec279(0x1f1)]()['fail'](async(_0xd2fcbc,_0x22ad64,_0x34b18a)=>{const _0x1d5e44=_0x3ec279,_0x3b4382={'nUDuM':function(_0x3e9158,_0x3168da){return _0x3e9158(_0x3168da);},'ItAIC':function(_0x132665,_0x21a672,_0x392ca6){return _0x132665(_0x21a672,_0x392ca6);},'ojnOC':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','YYgXx':function(_0x3974dc,_0x568ecd){return _0x3974dc||_0x568ecd;}},_0x13bf31=_0x3b4382[_0x1d5e44(0x1e2)](sanitizeArgs,process['argv']['slice'](0x2)),_0x174359=_0x3b4382['ItAIC'](getErrorType,_0xd2fcbc,_0x22ad64);if(_0xd2fcbc&&_0xd2fcbc[_0x1d5e44(0xe5)](_0x1d5e44(0x1d1))){const _0x47bb37=process[_0x1d5e44(0x10f)][0x2];console[_0x1d5e44(0x15b)]('\x0aUnknown\x20command:\x20'+_0x47bb37),console[_0x1d5e44(0x15b)](_0x3b4382['ojnOC']);}else{if(_0xd2fcbc)console['error']('\x0a'+_0xd2fcbc+'\x0a');else _0x22ad64&&console['error'](_0x1d5e44(0xcf)+_0x22ad64[_0x1d5e44(0x1cb)]+'\x0a');}await _0x3b4382[_0x1d5e44(0x1e2)](logDesirePath,{'rawCommand':_0x13bf31,'errorMessage':_0xd2fcbc||_0x22ad64?.[_0x1d5e44(0x1cb)],'errorType':_0x174359});const _0x42f732=getCurrentCollector();_0x42f732&&await _0x42f732[_0x1d5e44(0x1aa)](_0x22ad64||new Error(_0x3b4382['YYgXx'](_0xd2fcbc,'Unknown\x20error'))),process['exit'](0x1);})['epilogue']('Documentation:\x0a'+_0x3ec279(0x20e)+_0x3ec279(0x13c))[_0x3ec279(0xd9)]()[_0x3ec279(0x1d7)](_0x3ec279(0xd9),'h')['parse']();
2
+ const _0x50e094=_0x163e;(function(_0x109c21,_0x58b281){const _0x12a47e=_0x163e,_0x14a5c3=_0x109c21();while(!![]){try{const _0x4cc1bf=parseInt(_0x12a47e(0x23c))/0x1+-parseInt(_0x12a47e(0x20e))/0x2*(parseInt(_0x12a47e(0x1e2))/0x3)+parseInt(_0x12a47e(0x221))/0x4+-parseInt(_0x12a47e(0x235))/0x5+parseInt(_0x12a47e(0x25d))/0x6*(parseInt(_0x12a47e(0x27e))/0x7)+-parseInt(_0x12a47e(0x262))/0x8+-parseInt(_0x12a47e(0x28e))/0x9;if(_0x4cc1bf===_0x58b281)break;else _0x14a5c3['push'](_0x14a5c3['shift']());}catch(_0x29bc44){_0x14a5c3['push'](_0x14a5c3['shift']());}}}(_0x1e45,0xdb72e));import _0x44ff43 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x38f529=_0x163e,_0x5e81a6={'FGAJo':function(_0x5b6e0d,_0x25fe5c){return _0x5b6e0d(_0x25fe5c);},'LWHGw':function(_0x57ae32,_0x26f93b){return _0x57ae32(_0x26f93b);},'TYEEj':'.ranger'};let _0x39ec21=process[_0x38f529(0x2cb)]();const _0x51313f=_0x5e81a6[_0x38f529(0x2b0)](parse,_0x39ec21)['root'];while(_0x39ec21!==_0x51313f){if(_0x5e81a6[_0x38f529(0x2f6)](existsSync,join(_0x39ec21,_0x5e81a6['TYEEj']))||existsSync(join(_0x39ec21,_0x38f529(0x2d5))))return _0x39ec21;_0x39ec21=dirname(_0x39ec21);}return process['cwd']();}_0x44ff43['config']({'path':join(findProjectRoot(),_0x50e094(0x2d5))});import _0x12c73f 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';function _0x1e45(){const _0x13637c=['yLCeg','profile\x20use','bEoMo','ftTgM','vMmJZ','ueUmC','cjfSZ','rwzOd','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','resume\x20[id]','MruQX','szWkU','WMTaB','profile-name','\x20VERIFIED','offset','6480324jCUSUI','clean','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','QjpKE','headed','hook','LIuMu','add\x20env\x20<env-name>','yZcoq','config','unset\x20<env>\x20<key>','You\x20must\x20specify\x20an\x20env\x20subcommand','ugrSr','jFrHX','FslRo','lJNyE','start\x20[token]','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','vzORL','1986535nfRzti','get-review','nrQhm','json','length','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','limit','702331LSPtsw','ranger\x20start','update\x20<profile-name>','ranger\x20show','aQngn','TJHiE','uQIeL','XdZHO','ranger\x20feature\x20get-feedback','Qavcq','FyaRT','include-deleted','name','add\x20<profile-name>','error','KNoqr','hook:disable','ranger\x20profile\x20add','xNsfk','cavmg','restore','--item','IBtoj','delete','exitCode','ranger\x20feature\x20add-checklist-item','\x20BLOCKED','setup-ci\x20<token>','BhZbU','ZUiyJ','ranger\x20config\x20unset','option','Cnflv','4678962aArsiG','default','argv','profile','\x20PARTIAL','8362744cBPQfv','trackCommandError','OmOLC','skip-auth','Feature\x20review\x20name','FnmrL','Install\x20scope\x20for\x20skills','CUTdz','status','user','Feature\x20review\x20ID\x20to\x20restore','Mlxcw','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','Name\x20of\x20the\x20environment\x20to\x20update','Config\x20key\x20to\x20remove','BUWBV','session-id','Switch\x20to\x20using\x20a\x20specific\x20profile','checklist','UmtZs','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','fUHoi','qWJKK','config\x20set','task','--checklist','Remove\x20a\x20config\x20value','\x0aIssues:','7LwqYGC','GwWUK','get-review\x20[id]','XmMNT','boolean','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','vcXwl','partial','Add\x20profile\x20configuration','HRsCG','config\x20list','Install\x20Ranger\x20skills','config\x20get','force','mZHkm','abGuN','5596488IGctDJ','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','project','eChIb','Unknown\x20command','BIZPS','Name\x20of\x20the\x20profile\x20to\x20update','feature','number','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','--env','Config\x20key','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ZFHSf','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','allow-insecure-localhost','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','htDfg','--scenario','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','RMxcA','PxuDN','QuYcZ','uNNbz','ranger\x20auth\x20encrypt','description','fIAJq','vtDKl','forEach','WRFnb','ranger\x20go','MjRGR','feature\x20list','FGAJo','iSgOK','kcuJg','log','show','verified','scope','exit','fail','DDQSG','TxvNA','MRDdJ','Feature\x20review\x20description','opencode','zvsko','Initialize\x20Ranger\x20in\x20your\x20project','NSFHS','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ranger','start','ranger\x20profile\x20config\x20list','demandCommand','get-feedback\x20[id]','exclude-scenario','add\x20env','Include\x20soft-deleted\x20feature\x20reviews','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','cwd','qGSpV','profile\x20add','ranger\x20feature\x20show','AQFOn','.\x20[','create','SzCOm','map','zsJuU','.env','ranger\x20list','xTWXO','key','login','speTq','Yhmoy','\x0aError:\x20','FIGys','ywaRB','profile\x20config\x20set','start-path','Hwgtn','token','get\x20<profile>\x20<key>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Scenario\x20index\x20(1-based)','tfJxp','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','positional','mKJMf','command','BWpjM','nUULE','PNRer','TdgZi','arRAz','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','AMFZW','\x0aUnknown\x20command:\x20','You\x20must\x20specify\x20a\x20command','xeKQI','help','LWHGw','zaJXn','some','IVKti','EFMae','blocked','Summary:\x20','ranger\x20feature\x20restore','set\x20<profile>\x20<key>\x20<value>','jSCpt','list','usage','claude','cBIuf','env-name','BczZN','disable','Set\x20a\x20config\x20value','YMNse','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','You\x20must\x20specify\x20a\x20config\x20subcommand','RivpM','nrtbC','use','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','PDRfk','list\x20<env>','incomplete','adcCF','uedte','XQIXx','profile\x20ls','safe-mode','url','Scenario\x20number\x20to\x20edit\x20(1-based)','bjHvT','debug-address-comments','ranger\x20verify-feature','Profile\x20name','tOeiN','repeat','ranger\x20config\x20set','scriptName','wCltI','Config\x20value','BSXYD','You\x20must\x20specify\x20a\x20profile\x20subcommand','scenario','slice','epilogue','show\x20[id]','enable','current-branch','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','HHUmQ','feature\x20delete','array','QxDfS','add-scenario','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','etUQT','ranger\x20create','SiUOM','model','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','ranger\x20config\x20get','Manage\x20profiles','Get\x20a\x20config\x20value','LUrQQ','3ThMBfU','encrypt-auth\x20<profile>','profile\x20config\x20unset','Feature\x20review\x20ID','feature\x20restore','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','JCkLm','string','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','eGVUd','YFWxK','Number\x20of\x20feature\x20reviews\x20to\x20skip','OqeZR','ranger\x20use','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','skip-chromium','AKfnf','gVTCw','ranger\x20profile\x20encrypt-auth','UbxzI','value','Ranger\x20API\x20token','Skip\x20Chromium\x20browser\x20installation','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20profile\x20ls','\x20is\x20now\x20','List\x20all\x20profiles','lqsDb','env','skillup','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','setup-ci','geAlN','DqYqd','ranger\x20feature\x20resume','TmlGx','gtrWe','notes','RpiJo','ovebs','DnSQQ','ranger\x20feature\x20create','rBKos','evaluation','277790jYjUEu','Environment\x20name','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'];_0x1e45=function(){return _0x13637c;};return _0x1e45();}import{getCurrentVersion}from'./commands/utils/version.js';function _0x163e(_0x115960,_0x149aac){_0x115960=_0x115960-0x1d7;const _0x1e4535=_0x1e45();let _0x163ec9=_0x1e4535[_0x115960];return _0x163ec9;}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x4737d7=>{const _0x8beeb6=_0x50e094,_0x131301={'jFrHX':function(_0x2f3e2c){return _0x2f3e2c();}},_0x18803c=_0x131301[_0x8beeb6(0x22e)](getCurrentCollector);_0x18803c&&await _0x18803c[_0x8beeb6(0x263)](_0x4737d7),process[_0x8beeb6(0x254)]=0x1;});const rawArgs=process[_0x50e094(0x25f)][_0x50e094(0x326)](0x2),TOP_LEVEL_HELP='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_HELP='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',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\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\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\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x186f1c,_0x5604f6){const _0x3b522c=_0x50e094;console['error']('\x0a'+_0x186f1c+_0x3b522c(0x1fb)+_0x5604f6+'\x0a');}function argUsed(_0x5f0b49){const _0x577859=_0x50e094;return rawArgs[_0x577859(0x2f8)](_0x4fe3c2=>_0x4fe3c2===_0x5f0b49||_0x4fe3c2['startsWith'](_0x5f0b49+'='));}function warnFlagRenamed(_0x3c72d3,_0x3b441c,_0x2bd83f){const _0x4948da={'wDIxP':function(_0x44f800,_0x29aed6,_0x2cda88){return _0x44f800(_0x29aed6,_0x2cda88);}};argUsed(_0x3b441c)&&_0x4948da['wDIxP'](warnRenamed,_0x3c72d3+'\x20'+_0x3b441c,_0x3c72d3+'\x20'+_0x2bd83f);}async function runGoCommand(_0x391cde,_0x40f457=![]){const _0x4454e3=_0x50e094,_0x466db1={'vtDKl':_0x4454e3(0x31b),'FyaRT':function(_0x262bc1,_0x387a99,_0x7b4330,_0x559e0c){return _0x262bc1(_0x387a99,_0x7b4330,_0x559e0c);},'yZcoq':_0x4454e3(0x2ad),'aBpve':_0x4454e3(0x298),'TmlGx':function(_0x2d403a,_0x494d6e,_0x39e2da,_0x3db469){return _0x2d403a(_0x494d6e,_0x39e2da,_0x3db469);},'ueUmC':'--notes','BxeZP':function(_0xf63b5c,_0xfe4844,_0x1dbd6f,_0x63aaec){return _0xf63b5c(_0xfe4844,_0x1dbd6f,_0x63aaec);},'ZOxaV':_0x4454e3(0x251),'CsXwV':function(_0x311d4b){return _0x311d4b();},'DTRJR':function(_0x47ba54,_0x21d6f9){return _0x47ba54??_0x21d6f9;},'HkFQu':'flag','RMxcA':function(_0x1bf7d2,_0x5dd293){return _0x1bf7d2(_0x5dd293);},'yEJCb':'debug-outcome','vcXwl':function(_0x348f06,_0x1d1033){return _0x348f06+_0x1d1033;},'SzCOm':function(_0x33c16f,_0x18f446){return _0x33c16f===_0x18f446;},'HHUmQ':_0x4454e3(0x21f),'xNsfk':'\x20INCOMPLETE','GwWUK':'partial','zcOyc':_0x4454e3(0x261),'geAlN':_0x4454e3(0x256),'uNNbz':'verified'};_0x40f457&&warnRenamed(_0x466db1[_0x4454e3(0x2aa)],'ranger\x20go');_0x466db1[_0x4454e3(0x246)](warnFlagRenamed,_0x466db1['yZcoq'],_0x466db1['aBpve'],'--profile'),_0x466db1[_0x4454e3(0x205)](warnFlagRenamed,_0x466db1[_0x4454e3(0x229)],'--task',_0x466db1[_0x4454e3(0x216)]),_0x466db1['BxeZP'](warnFlagRenamed,_0x4454e3(0x2ad),_0x466db1['ZOxaV'],_0x4454e3(0x2a1));const _0x534aad=await _0x466db1['CsXwV'](loadRangerConfig),_0x5bf728=_0x391cde['model'],_0x559d83=_0x534aad[_0x4454e3(0x1dc)],_0x1d1a20=_0x466db1['DTRJR'](_0x5bf728,_0x559d83),_0x36ecca=_0x5bf728?_0x466db1['HkFQu']:_0x559d83?_0x4454e3(0x22a):_0x4454e3(0x25e),_0x3a3023=await _0x466db1[_0x4454e3(0x2a3)](verifyFeature,{'featureId':_0x391cde['feature'],'profile':_0x391cde[_0x4454e3(0x260)]??_0x391cde[_0x4454e3(0x1fe)],'notes':_0x391cde['notes']??_0x391cde['task'],'scenario':_0x391cde[_0x4454e3(0x325)]??_0x391cde['item'],'startPath':_0x391cde[_0x4454e3(0x2e0)],'debugOutcome':_0x391cde[_0x466db1['yEJCb']],'debugAddressComments':_0x391cde['debug-address-comments'],'headed':_0x391cde['headed'],'verifyModel':_0x1d1a20,'verifyModelInput':_0x1d1a20,'verifyModelSource':_0x36ecca});console[_0x4454e3(0x2b3)](_0x466db1[_0x4454e3(0x284)]('\x0a','='['repeat'](0x3c))),console['log'](_0x466db1[_0x4454e3(0x2d2)](_0x3a3023['evaluation'],_0x4454e3(0x2b5))?_0x466db1[_0x4454e3(0x32c)]:_0x466db1[_0x4454e3(0x2d2)](_0x3a3023[_0x4454e3(0x20d)],'incomplete')?_0x466db1[_0x4454e3(0x24e)]:_0x3a3023['evaluation']===_0x466db1[_0x4454e3(0x27f)]?_0x466db1['zcOyc']:_0x466db1[_0x4454e3(0x2d2)](_0x3a3023[_0x4454e3(0x20d)],_0x4454e3(0x2fb))?_0x466db1[_0x4454e3(0x202)]:'\x20FAILED'),console[_0x4454e3(0x2b3)]('='[_0x4454e3(0x31e)](0x3c)),console[_0x4454e3(0x2b3)](_0x4454e3(0x2fc)+_0x3a3023['summary']),console[_0x4454e3(0x2b3)]('Evaluation:\x20'+_0x3a3023[_0x4454e3(0x20d)]),console['log']('Reason:\x20'+_0x3a3023['evaluationReason']),_0x3a3023['issues']?.[_0x4454e3(0x239)]&&(console[_0x4454e3(0x2b3)](_0x4454e3(0x27d)),_0x3a3023['issues'][_0x4454e3(0x2ab)]((_0x3654be,_0x2e5454)=>{const _0x10dfb7=_0x4454e3;console['log']('\x0a'+(_0x2e5454+0x1)+_0x10dfb7(0x2d0)+_0x3654be['severity']+']\x20'+_0x3654be['description']);})),process[_0x4454e3(0x2b7)](_0x3a3023[_0x4454e3(0x20d)]===_0x466db1[_0x4454e3(0x2a6)]?0x0:0x1);}_0x12c73f(process[_0x50e094(0x25f)]['slice'](0x2))[_0x50e094(0x320)](_0x50e094(0x2c2))[_0x50e094(0x301)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x50e094(0x2ea)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x43ef8d=>{const _0xb2ace1=_0x50e094,_0x527dc0={'VcDzb':'name','OlEoB':_0xb2ace1(0x2a8),'uTPvx':_0xb2ace1(0x325),'nrQhm':_0xb2ace1(0x274)};return _0x43ef8d['positional'](_0x527dc0['VcDzb'],{'type':_0xb2ace1(0x1e9),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x527dc0['OlEoB'],{'type':_0xb2ace1(0x1e9),'alias':'d','description':_0xb2ace1(0x2bc)})[_0xb2ace1(0x25b)](_0x527dc0['uTPvx'],{'type':_0xb2ace1(0x32e),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x527dc0[_0xb2ace1(0x237)],{'type':'array','hidden':!![]});},async _0x2e852=>{const _0x2c7204=_0x50e094,_0x408fdc={'DPgyc':_0x2c7204(0x1da)};warnFlagRenamed(_0x408fdc['DPgyc'],_0x2c7204(0x27b),_0x2c7204(0x2a1));const _0xbb9e33=_0x2e852['scenario']||_0x2e852['checklist'];await withTelemetry(_0x2c7204(0x2d1),()=>featureCreate(_0x2e852['name'],{'description':_0x2e852['description'],'scenarios':_0xbb9e33}));})['command'](_0x50e094(0x300),'List\x20all\x20feature\x20reviews',_0x2faf65=>{const _0x12ef23=_0x50e094,_0x3ec4e2={'iSgOK':'current-branch','yLCeg':'limit','eGVUd':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','vMmJZ':'offset','EFMae':_0x12ef23(0x247)};return _0x2faf65['option'](_0x3ec4e2[_0x12ef23(0x2b1)],{'type':_0x12ef23(0x282),'description':_0x12ef23(0x1f0)})[_0x12ef23(0x25b)](_0x3ec4e2[_0x12ef23(0x211)],{'type':_0x12ef23(0x296),'alias':'l','description':_0x3ec4e2[_0x12ef23(0x1eb)],'default':0xa})['option'](_0x3ec4e2[_0x12ef23(0x215)],{'type':_0x12ef23(0x296),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x3ec4e2[_0x12ef23(0x2fa)],{'type':'boolean','alias':'d','description':_0x12ef23(0x2c9),'default':![]});},async _0x26b1d0=>{const _0x3a0d36=_0x50e094;await withTelemetry(_0x3a0d36(0x300),()=>featureList({'currentBranch':_0x26b1d0['current-branch'],'limit':_0x26b1d0['limit'],'offset':_0x26b1d0[_0x3a0d36(0x220)],'includeDeleted':_0x26b1d0['include-deleted']}));})[_0x50e094(0x2ea)](_0x50e094(0x328),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1a3368=>{const _0x46b070=_0x50e094,_0x1959db={'uTQLh':'Feature\x20review\x20ID'};return _0x1a3368[_0x46b070(0x2e8)]('id',{'type':'string','description':_0x1959db['uTQLh']});},async _0x2371ef=>{const _0x4f7a57=_0x50e094;await withTelemetry(_0x4f7a57(0x2b4),()=>featureShow(_0x2371ef['id']));})[_0x50e094(0x2ea)](_0x50e094(0x21a),_0x50e094(0x2f0),_0x497a43=>{const _0x302580=_0x50e094;return _0x497a43[_0x302580(0x2e8)]('id',{'type':_0x302580(0x1e9),'description':_0x302580(0x28f)});},async _0xb9c004=>{const _0x17cad7=_0x50e094,_0x13ba38={'BUWBV':function(_0x50127e,_0x11908c,_0x1ef325){return _0x50127e(_0x11908c,_0x1ef325);},'vExCx':'resume'};await _0x13ba38[_0x17cad7(0x271)](withTelemetry,_0x13ba38['vExCx'],()=>featureResume(_0xb9c004['id']));})[_0x50e094(0x2ea)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x564594=>{const _0x42e9e6=_0x50e094,_0x5cb883={'jZFbc':'string','IBtoj':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x564594[_0x42e9e6(0x2e8)](_0x42e9e6(0x2a8),{'type':'string','description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x5cb883['jZFbc'],'description':_0x5cb883[_0x42e9e6(0x252)]});},async _0x5d0129=>{const _0x2e729e=_0x50e094,_0x3f2ec3={'rvvMX':function(_0x592bda,_0x1f10c6,_0x18c24b){return _0x592bda(_0x1f10c6,_0x18c24b);},'BSXYD':_0x2e729e(0x1d7)};await _0x3f2ec3['rvvMX'](withTelemetry,_0x3f2ec3[_0x2e729e(0x323)],()=>featureAddScenario(_0x5d0129['description'],_0x5d0129['id']));})[_0x50e094(0x2ea)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x747d2f=>{const _0x14d2a6=_0x50e094,_0x41810a={'rjScX':_0x14d2a6(0x1e9),'fIAJq':'scenario','NSFHS':_0x14d2a6(0x296)};return _0x747d2f['positional']('description',{'type':_0x41810a['rjScX'],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x41810a[_0x14d2a6(0x2a9)],{'type':_0x41810a[_0x14d2a6(0x2c0)],'description':_0x14d2a6(0x318),'demandOption':!![]})[_0x14d2a6(0x25b)]('id',{'type':_0x14d2a6(0x1e9),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4e8a90=>{const _0x4a2fc3={'DqwXJ':'edit-scenario'};await withTelemetry(_0x4a2fc3['DqwXJ'],()=>featureEditScenario(_0x4e8a90['description'],{'id':_0x4e8a90['id'],'scenario':_0x4e8a90['scenario']}));})['command']('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x3f8ccb=>{const _0x324acb=_0x50e094,_0x754f99={'Kjohe':_0x324acb(0x1e9),'xTWXO':_0x324acb(0x2c7),'XBvMb':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x3f8ccb[_0x324acb(0x2e8)]('id',{'type':_0x754f99['Kjohe'],'description':_0x324acb(0x1e5)})['option'](_0x754f99[_0x324acb(0x2d7)],{'type':'array','description':_0x754f99['XBvMb']})['option'](_0x324acb(0x238),{'type':'boolean','description':_0x324acb(0x233),'default':![]});},async _0x434cd7=>{const _0x8b9b12=_0x50e094,_0x540886={'SiiZY':'report'},_0x4bc575=_0x434cd7['exclude-scenario'],_0x1d5660=_0x4bc575?_0x4bc575[_0x8b9b12(0x2d3)](_0x493e3e=>Number(_0x493e3e)):undefined;await withTelemetry(_0x540886['SiiZY'],()=>featureReportPrDescription(_0x434cd7['id'],{'excludeScenarios':_0x1d5660,'json':_0x434cd7['json']}));})['command'](_0x50e094(0x280),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x2200d6=>{const _0x83802b=_0x50e094,_0x1c0a1={'SiUOM':_0x83802b(0x1e9),'ZFzZU':_0x83802b(0x2e7)};return _0x2200d6[_0x83802b(0x2e8)]('id',{'type':_0x1c0a1[_0x83802b(0x1db)],'description':_0x1c0a1['ZFzZU']});},async _0x16e37e=>{const _0x58033d=_0x50e094,_0x52672c={'irmeS':function(_0x1a9978,_0x5381ba,_0x35c1c7){return _0x1a9978(_0x5381ba,_0x35c1c7);}};await _0x52672c['irmeS'](withTelemetry,_0x58033d(0x236),()=>featureGetReview(_0x16e37e['id']));})['command']('delete\x20[id]',_0x50e094(0x29f),_0x1e383b=>{const _0x1db03d=_0x50e094,_0xd82483={'PNRer':'string'};return _0x1e383b[_0x1db03d(0x2e8)]('id',{'type':_0xd82483[_0x1db03d(0x2ed)],'description':_0x1db03d(0x1e5)});},async _0x4cf70c=>{const _0x17971a=_0x50e094,_0x22be61={'vzORL':function(_0x58c2a7,_0x586d43,_0x1cc90c){return _0x58c2a7(_0x586d43,_0x1cc90c);},'YqTcr':_0x17971a(0x253)};await _0x22be61[_0x17971a(0x234)](withTelemetry,_0x22be61['YqTcr'],()=>featureDelete(_0x4cf70c['id']));})['command']('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x13e8c4=>{const _0x3050f6=_0x50e094;return _0x13e8c4[_0x3050f6(0x2e8)]('id',{'type':_0x3050f6(0x1e9),'description':_0x3050f6(0x26c),'demandOption':!![]});},async _0x25d2b5=>{const _0x849416=_0x50e094,_0x187ee4={'speTq':function(_0x4c1117,_0x241250,_0x1ed798){return _0x4c1117(_0x241250,_0x1ed798);}};await _0x187ee4[_0x849416(0x2da)](withTelemetry,_0x849416(0x250),()=>featureRestore(_0x25d2b5['id']));})['command']('setup\x20[token]',_0x50e094(0x2bf),_0x40e8d8=>{const _0x20b8b2=_0x50e094,_0x27f91a={'FIGys':'boolean','sFIoG':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','lqsDb':_0x20b8b2(0x26b),'qGSpV':'url','zvsmE':'string','RivpM':_0x20b8b2(0x210),'BczZN':_0x20b8b2(0x28b),'ECqZE':_0x20b8b2(0x2bd),'LUrQQ':'allow-insecure-localhost'};return _0x40e8d8['positional']('token',{'type':_0x20b8b2(0x1e9),'description':_0x20b8b2(0x2e4)})['option']('skip-chromium',{'type':_0x27f91a[_0x20b8b2(0x2dd)],'description':_0x27f91a['sFIoG'],'default':![]})[_0x20b8b2(0x25b)]('scope',{'type':'string','choices':[_0x27f91a[_0x20b8b2(0x1fd)],_0x20b8b2(0x290)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x27f91a[_0x20b8b2(0x2cc)],{'type':_0x27f91a['zvsmE'],'description':_0x27f91a[_0x20b8b2(0x30b)]})['option'](_0x27f91a[_0x20b8b2(0x305)],{'type':_0x27f91a['FIGys'],'description':_0x20b8b2(0x309),'default':![]})['option'](_0x27f91a['ECqZE'],{'type':'boolean','description':_0x20b8b2(0x30e),'default':![]})['option'](_0x27f91a[_0x20b8b2(0x1e1)],{'type':_0x27f91a[_0x20b8b2(0x2dd)],'description':_0x20b8b2(0x1ea),'default':![]});},async _0x2a614e=>{const _0x3ccc1d=_0x50e094,_0x4fddac={'mZHkm':function(_0x5b6fa8,_0x222993,_0x3256cf){return _0x5b6fa8(_0x222993,_0x3256cf);},'adcCF':'start'};await _0x4fddac[_0x3ccc1d(0x28c)](withTelemetry,_0x4fddac[_0x3ccc1d(0x312)],_0x310ad2=>start(_0x2a614e[_0x3ccc1d(0x2e2)],{'skipChromium':_0x2a614e[_0x3ccc1d(0x1f1)],'scope':_0x2a614e['scope'],'url':_0x2a614e[_0x3ccc1d(0x317)],'force':_0x2a614e[_0x3ccc1d(0x28b)],'opencode':_0x2a614e[_0x3ccc1d(0x2bd)],'allowInsecureLocalhost':_0x2a614e[_0x3ccc1d(0x29e)]},_0x310ad2));})['command'](_0x50e094(0x257),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x103c42=>{const _0x23aca4=_0x50e094,_0x276d3d={'VSbcU':_0x23aca4(0x2e2),'Mlxcw':'string','hMbdl':_0x23aca4(0x260),'TalDM':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'};return _0x103c42['positional'](_0x276d3d['VSbcU'],{'type':_0x276d3d[_0x23aca4(0x26d)],'description':_0x23aca4(0x1f7),'demandOption':!![]})[_0x23aca4(0x25b)](_0x276d3d['hMbdl'],{'type':_0x276d3d[_0x23aca4(0x26d)],'description':_0x23aca4(0x1d8)})[_0x23aca4(0x25b)]('base-url',{'type':_0x276d3d['Mlxcw'],'description':_0x276d3d['TalDM']})[_0x23aca4(0x25b)]('skip-chromium',{'type':_0x23aca4(0x282),'description':_0x23aca4(0x1f8),'default':![]});},async _0x2131c1=>{const _0xb2249c=_0x50e094,_0x59c2a0={'FslRo':function(_0x50adcf,_0x27aad8,_0x42b1b5){return _0x50adcf(_0x27aad8,_0x42b1b5);},'zaJXn':_0xb2249c(0x201)};await _0x59c2a0[_0xb2249c(0x22f)](withTelemetry,_0x59c2a0[_0xb2249c(0x2f7)],_0x3bb9e5=>setupCi(_0x2131c1['token'],{'profile':_0x2131c1['profile'],'baseUrl':_0x2131c1['base-url'],'skipChromium':_0x2131c1['skip-chromium']},_0x3bb9e5));})[_0x50e094(0x2ea)]('login',_0x50e094(0x2ca),()=>{},async()=>{const _0x46da57=_0x50e094,_0x595808={'jluDN':function(_0x52906f,_0x3b52ae,_0x562a0b){return _0x52906f(_0x3b52ae,_0x562a0b);}};await _0x595808['jluDN'](withTelemetry,_0x46da57(0x2d9),()=>login());})['command'](_0x50e094(0x1ff),_0x50e094(0x289),_0x4274aa=>{const _0x1a71d4=_0x50e094,_0x1cfb94={'WbWGs':'Install\x20skills\x20for\x20OpenCode','XbHMy':_0x1a71d4(0x290),'UKFHr':_0x1a71d4(0x268)};return _0x4274aa['option']('opencode',{'type':'boolean','description':_0x1cfb94['WbWGs'],'default':![]})[_0x1a71d4(0x25b)](_0x1a71d4(0x2b6),{'type':'string','choices':[_0x1a71d4(0x26b),_0x1cfb94['XbHMy']],'description':_0x1cfb94['UKFHr']});},async _0x439e0a=>{const _0x5e7e6e=_0x50e094,_0x3eb6e7={'XwYvm':function(_0x328cc9,_0x573ea1){return _0x328cc9(_0x573ea1);}},_0x5e8593=_0x3eb6e7['XwYvm'](Boolean,_0x439e0a[_0x5e7e6e(0x2bd)]);await withTelemetry(_0x5e7e6e(0x1ff),()=>skillup({'autoInstall':_0x439e0a[_0x5e7e6e(0x2b6)],'platform':_0x5e8593?_0x5e7e6e(0x2bd):_0x5e7e6e(0x302)}));})[_0x50e094(0x2ea)](_0x50e094(0x222),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x4314c6=_0x50e094,_0x11efbd={'NfvAM':_0x4314c6(0x222)};await withTelemetry(_0x11efbd['NfvAM'],()=>clean());})[_0x50e094(0x2ea)](_0x50e094(0x260),_0x50e094(0x1df),_0x3a7326=>{const _0x307d22=_0x50e094,_0x186de7={'PDRfk':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','abGuN':_0x307d22(0x282),'wCltI':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','TCmRG':'cdp-endpoint','uQIeL':'string','ywaRB':_0x307d22(0x1ea),'nUULE':_0x307d22(0x316),'BWpjM':function(_0xc85619,_0x52c2c2,_0xf78f96,_0x236b52){return _0xc85619(_0x52c2c2,_0xf78f96,_0x236b52);},'wKqTC':_0x307d22(0x2cd),'clyau':_0x307d22(0x21e),'gtrWe':function(_0x38830d,_0x174c74,_0x3a655a){return _0x38830d(_0x174c74,_0x3a655a);},'TxvNA':function(_0x37734a,_0x4f90b7,_0xa90e4){return _0x37734a(_0x4f90b7,_0xa90e4);},'bjHvT':_0x307d22(0x315),'MjRGR':_0x307d22(0x294),'cjfSZ':'profile\x20update','MRDdJ':_0x307d22(0x31c),'wYUfu':_0x307d22(0x1e4),'nFEfu':_0x307d22(0x23a),'eyNPv':_0x307d22(0x322),'ftTgM':_0x307d22(0x2fe),'WccBF':_0x307d22(0x307),'MruQX':_0x307d22(0x1e0),'FuTNG':'List\x20all\x20config\x20for\x20a\x20profile','qfmGZ':_0x307d22(0x27c),'nCeHJ':_0x307d22(0x32b),'LIuMu':_0x307d22(0x22a)};return _0x3a7326['usage'](PROFILE_HELP)[_0x307d22(0x2ea)](_0x307d22(0x249),_0x307d22(0x286),_0x4668e1=>{const _0x5dcdf9=_0x307d22;return _0x4668e1[_0x5dcdf9(0x2e8)]('profile-name',{'type':'string','description':_0x186de7[_0x5dcdf9(0x30f)],'demandOption':!![]})['option']('ci',{'type':_0x186de7['abGuN'],'description':_0x186de7[_0x5dcdf9(0x321)],'default':![]})['option']('skip-auth',{'type':_0x186de7[_0x5dcdf9(0x28d)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x5dcdf9(0x25b)](_0x5dcdf9(0x317),{'type':_0x5dcdf9(0x1e9),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x5dcdf9(0x25b)]('force',{'type':_0x186de7[_0x5dcdf9(0x28d)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x186de7['TCmRG'],{'type':_0x186de7[_0x5dcdf9(0x242)],'description':_0x5dcdf9(0x200)})['option'](_0x5dcdf9(0x29e),{'type':_0x186de7['abGuN'],'description':_0x186de7[_0x5dcdf9(0x2de)],'default':![]})['option'](_0x186de7[_0x5dcdf9(0x2ec)],{'type':'boolean','description':_0x5dcdf9(0x283),'default':![]});},async _0x2ddbb2=>{const _0x5d62c4=_0x307d22;await _0x186de7[_0x5d62c4(0x2eb)](withTelemetry,_0x186de7['wKqTC'],_0x166a52=>addEnv(_0x2ddbb2[_0x5d62c4(0x21e)],{'ci':_0x2ddbb2['ci'],'skipAuth':_0x2ddbb2['skip-auth'],'url':_0x2ddbb2['url'],'force':_0x2ddbb2['force'],'cdpEndpoint':_0x2ddbb2['cdp-endpoint'],'allowInsecureLocalhost':_0x2ddbb2['allow-insecure-localhost'],'safeMode':_0x2ddbb2['safe-mode']},_0x166a52),{'isElectron':Boolean(_0x2ddbb2['cdp-endpoint'])});})['command']('use\x20<profile-name>',_0x307d22(0x273),_0x99f59d=>{const _0x1b998e=_0x307d22;return _0x99f59d['positional'](_0x186de7['clyau'],{'type':_0x186de7[_0x1b998e(0x242)],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1e8896=>{const _0x432fcd=_0x307d22;await _0x186de7['gtrWe'](withTelemetry,_0x432fcd(0x212),()=>useEnv(_0x1e8896['profile-name']));})[_0x307d22(0x2ea)](_0x307d22(0x1e3),'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x1ae97e=>{const _0x58de0a=_0x307d22;return _0x1ae97e[_0x58de0a(0x2e8)](_0x58de0a(0x260),{'type':_0x186de7[_0x58de0a(0x242)],'description':'Profile\x20name','demandOption':!![]});},async _0x293862=>{const _0xf577a3=_0x307d22;await _0x186de7[_0xf577a3(0x2ba)](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x293862[_0xf577a3(0x260)]));})['command']('ls',_0x307d22(0x1fc),()=>{},async()=>{const _0x450731=_0x307d22;await _0x186de7[_0x450731(0x206)](withTelemetry,_0x186de7[_0x450731(0x319)],()=>envList());})[_0x307d22(0x2ea)](_0x307d22(0x23e),'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x5cd5ec=>{const _0x3f720e=_0x307d22;return _0x5cd5ec[_0x3f720e(0x2e8)](_0x3f720e(0x21e),{'type':_0x186de7['uQIeL'],'description':_0x186de7[_0x3f720e(0x2ae)],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x186de7[_0x3f720e(0x28d)],'description':_0x3f720e(0x1ea)});},async _0x2f0b4b=>{const _0x26e0d0=_0x307d22;await withTelemetry(_0x186de7[_0x26e0d0(0x217)],_0x11a215=>updateEnv(_0x2f0b4b[_0x26e0d0(0x21e)],_0x11a215,{'allowInsecureLocalhost':_0x2f0b4b[_0x26e0d0(0x29e)]}));})['command'](_0x186de7[_0x307d22(0x227)],'Manage\x20profile\x20configuration',_0x380ceb=>{const _0x1bc9f7=_0x307d22,_0x398789={'uedte':_0x1bc9f7(0x1e9),'jSCpt':_0x186de7['nFEfu'],'JCkLm':_0x1bc9f7(0x1f6),'QxDfS':_0x186de7['eyNPv'],'UHDdK':'profile\x20config\x20get'};return _0x380ceb['usage'](PROFILE_CONFIG_HELP)['command'](_0x186de7[_0x1bc9f7(0x214)],_0x186de7['WccBF'],_0x4f221a=>{const _0x59e6b2=_0x1bc9f7;return _0x4f221a[_0x59e6b2(0x2e8)](_0x59e6b2(0x260),{'type':_0x398789[_0x59e6b2(0x313)],'description':_0x59e6b2(0x31c),'demandOption':!![]})['positional']('key',{'type':'string','description':_0x398789[_0x59e6b2(0x2ff)],'demandOption':!![]})['positional'](_0x398789[_0x59e6b2(0x1e8)],{'type':_0x398789[_0x59e6b2(0x313)],'description':_0x398789[_0x59e6b2(0x32f)],'demandOption':!![]});},async _0x3b0309=>{const _0x21962f=_0x1bc9f7;await withTelemetry(_0x21962f(0x2df),()=>configSet(_0x3b0309[_0x21962f(0x260)],_0x3b0309['key'],_0x3b0309['value']));})[_0x1bc9f7(0x2ea)](_0x1bc9f7(0x2e3),_0x186de7[_0x1bc9f7(0x21b)],_0x3dfee3=>{const _0x3ace7e=_0x1bc9f7;return _0x3dfee3['positional'](_0x3ace7e(0x260),{'type':'string','description':_0x186de7['MRDdJ'],'demandOption':!![]})[_0x3ace7e(0x2e8)]('key',{'type':_0x3ace7e(0x1e9),'description':_0x3ace7e(0x299),'demandOption':!![]});},async _0x4349a1=>{const _0x2d14e8=_0x1bc9f7;await withTelemetry(_0x398789['UHDdK'],()=>configGet(_0x4349a1['profile'],_0x4349a1[_0x2d14e8(0x2d8)]));})['command']('list\x20<profile>',_0x186de7['FuTNG'],_0xa12ca9=>{const _0x8101f0=_0x1bc9f7;return _0xa12ca9[_0x8101f0(0x2e8)]('profile',{'type':_0x186de7['uQIeL'],'description':_0x186de7['MRDdJ'],'demandOption':!![]});},async _0x45ce1f=>{await _0x186de7['TxvNA'](withTelemetry,'profile\x20config\x20list',()=>configList(_0x45ce1f['profile']));})[_0x1bc9f7(0x2ea)]('unset\x20<profile>\x20<key>',_0x186de7['qfmGZ'],_0x6d177d=>{const _0x1474c7=_0x1bc9f7;return _0x6d177d[_0x1474c7(0x2e8)](_0x1474c7(0x260),{'type':_0x186de7[_0x1474c7(0x242)],'description':_0x186de7[_0x1474c7(0x2bb)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x1474c7(0x270),'demandOption':!![]});},async _0xb8e72f=>{const _0x35ed34=_0x1bc9f7;await withTelemetry(_0x186de7['wYUfu'],()=>configUnset(_0xb8e72f['profile'],_0xb8e72f[_0x35ed34(0x2d8)]));})[_0x1bc9f7(0x2c5)](0x1,_0x186de7['nCeHJ']);})[_0x307d22(0x2c5)](0x1,_0x307d22(0x324));})[_0x50e094(0x2ea)]('status',_0x50e094(0x232),()=>{},async()=>{const _0x1775a9=_0x50e094,_0x57aa69={'DnSQQ':function(_0x397a0,_0x3cfebf,_0x35d720){return _0x397a0(_0x3cfebf,_0x35d720);}};await _0x57aa69[_0x1775a9(0x20a)](withTelemetry,_0x1775a9(0x26a),()=>status());})['command']('update',_0x50e094(0x223),()=>{},async()=>{await withTelemetry('update',()=>update());})['command']('go',_0x50e094(0x1e7),_0x5cf9e3=>{const _0x33119c=_0x50e094,_0x1b1543={'QDvaL':'feature','tOeiN':_0x33119c(0x260),'HRsCG':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Hwgtn':_0x33119c(0x207),'aQngn':_0x33119c(0x1e9),'VhgdV':_0x33119c(0x296),'bxdch':_0x33119c(0x2e5),'RpiJo':'start-path','koNtZ':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','kWOWw':'debug-outcome','ZFHSf':_0x33119c(0x285),'rwzOd':_0x33119c(0x2fb),'TBmTJ':_0x33119c(0x311),'htDfg':_0x33119c(0x1fe)};return _0x5cf9e3['option'](_0x1b1543['QDvaL'],{'type':_0x33119c(0x1e9),'description':'Optional\x20feature\x20ID'})['option'](_0x1b1543[_0x33119c(0x31d)],{'type':'string','description':_0x1b1543[_0x33119c(0x287)]})[_0x33119c(0x25b)](_0x1b1543[_0x33119c(0x2e1)],{'type':_0x1b1543['aQngn'],'description':_0x33119c(0x2c1)})['option'](_0x33119c(0x325),{'type':_0x1b1543['VhgdV'],'description':_0x1b1543['bxdch']})['option'](_0x1b1543[_0x33119c(0x208)],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})['option'](_0x33119c(0x1dc),{'type':_0x1b1543[_0x33119c(0x240)],'description':_0x1b1543['koNtZ']})['option'](_0x33119c(0x225),{'type':_0x33119c(0x282),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x33119c(0x25b)](_0x1b1543['kWOWw'],{'type':_0x1b1543['aQngn'],'hidden':!![],'choices':['verified',_0x1b1543[_0x33119c(0x29b)],_0x1b1543[_0x33119c(0x218)],'failed',_0x1b1543['TBmTJ']]})['option'](_0x33119c(0x31a),{'type':_0x33119c(0x282),'hidden':!![]})['option'](_0x1b1543[_0x33119c(0x2a0)],{'type':'string','hidden':!![]})['option'](_0x33119c(0x27a),{'type':_0x33119c(0x1e9),'hidden':!![]})[_0x33119c(0x25b)]('item',{'type':_0x1b1543['VhgdV'],'hidden':!![]});},async _0x5a7027=>{await runGoCommand(_0x5a7027);})[_0x50e094(0x2ea)]('auth',![],_0x38fb5f=>{const _0x1a237d=_0x50e094,_0x34179a={'EnFEn':_0x1a237d(0x260),'yqsgU':_0x1a237d(0x2a7),'sjNfl':function(_0x5dac4d,_0x427444){return _0x5dac4d(_0x427444);},'NBjHU':'encrypt\x20<profile>'};return _0x38fb5f['command'](_0x34179a['NBjHU'],![],_0x2ce2b7=>{const _0x5578c2=_0x1a237d;return _0x2ce2b7[_0x5578c2(0x2e8)](_0x34179a['EnFEn'],{'type':'string','description':_0x5578c2(0x31c),'demandOption':!![]});},async _0x54ccc7=>{const _0x2b7715=_0x1a237d;warnRenamed(_0x34179a['yqsgU'],_0x2b7715(0x1f4)),await _0x34179a['sjNfl'](authEncrypt,_0x54ccc7[_0x2b7715(0x260)]);})[_0x1a237d(0x2c5)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x50e094(0x2ea)](_0x50e094(0x231),![],_0x3f33ff=>{const _0x48bae8=_0x50e094,_0x6c3e1f={'IKfXH':_0x48bae8(0x1e9),'PxuDN':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ErlFX':'boolean','sCUQN':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Cnflv':'project','BIZPS':_0x48bae8(0x26e),'QffxB':_0x48bae8(0x210),'gbFEB':_0x48bae8(0x28b),'xeKQI':_0x48bae8(0x309)};return _0x3f33ff['positional'](_0x48bae8(0x2e2),{'type':_0x6c3e1f['IKfXH'],'description':_0x6c3e1f[_0x48bae8(0x2a4)]})['option'](_0x48bae8(0x1f1),{'type':_0x6c3e1f['ErlFX'],'description':_0x6c3e1f['sCUQN'],'default':![]})[_0x48bae8(0x25b)]('scope',{'type':_0x6c3e1f['IKfXH'],'choices':['user',_0x6c3e1f[_0x48bae8(0x25c)]],'description':_0x6c3e1f[_0x48bae8(0x293)]})[_0x48bae8(0x25b)](_0x48bae8(0x317),{'type':_0x48bae8(0x1e9),'description':_0x6c3e1f['QffxB']})['option'](_0x6c3e1f['gbFEB'],{'type':_0x6c3e1f['ErlFX'],'description':_0x6c3e1f[_0x48bae8(0x2f4)],'default':![]});},async _0x50473b=>{const _0x4be743=_0x50e094,_0x6d6fff={'lJNyE':_0x4be743(0x23d),'CUTdz':_0x4be743(0x2c3)};warnRenamed(_0x6d6fff[_0x4be743(0x230)],'ranger\x20setup'),await withTelemetry(_0x6d6fff[_0x4be743(0x269)],_0x489a09=>start(_0x50473b['token'],{'skipChromium':_0x50473b['skip-chromium'],'scope':_0x50473b['scope'],'url':_0x50473b['url'],'force':_0x50473b['force']},_0x489a09));})['command']('verify-feature',![],_0x3d6c9c=>{const _0x12e6b4=_0x50e094,_0x4cb280={'AQFOn':'string','OmOLC':_0x12e6b4(0x29a),'ovqfv':'task','XUPKR':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','vPzYi':'item','oMKHm':'Scenario\x20index\x20(1-based)','BhZbU':_0x12e6b4(0x260),'AcZEi':'start-path','YMNse':_0x12e6b4(0x225),'IYHJp':'debug-outcome','GiTfj':'partial','ZUiyJ':'failed'};return _0x3d6c9c[_0x12e6b4(0x25b)](_0x12e6b4(0x1fe),{'type':_0x4cb280['AQFOn'],'description':_0x4cb280[_0x12e6b4(0x264)]})[_0x12e6b4(0x25b)](_0x4cb280['ovqfv'],{'type':_0x4cb280[_0x12e6b4(0x2cf)],'description':_0x4cb280['XUPKR']})[_0x12e6b4(0x25b)](_0x4cb280['vPzYi'],{'type':_0x12e6b4(0x296),'description':_0x4cb280['oMKHm']})['option'](_0x4cb280[_0x12e6b4(0x258)],{'type':_0x12e6b4(0x1e9),'hidden':!![]})[_0x12e6b4(0x25b)](_0x12e6b4(0x207),{'type':'string','hidden':!![]})[_0x12e6b4(0x25b)](_0x12e6b4(0x325),{'type':_0x12e6b4(0x296),'hidden':!![]})['option'](_0x4cb280['AcZEi'],{'type':_0x4cb280['AQFOn'],'description':_0x12e6b4(0x1dd)})['option'](_0x12e6b4(0x1dc),{'type':_0x4cb280['AQFOn'],'hidden':!![]})['option'](_0x4cb280[_0x12e6b4(0x308)],{'type':'boolean','hidden':!![],'default':![]})[_0x12e6b4(0x25b)](_0x4cb280['IYHJp'],{'type':_0x12e6b4(0x1e9),'hidden':!![],'choices':[_0x12e6b4(0x2b5),_0x4cb280['GiTfj'],_0x12e6b4(0x2fb),_0x4cb280[_0x12e6b4(0x259)],'incomplete']});},async _0x2c550f=>{await runGoCommand(_0x2c550f,!![]);})['command'](_0x50e094(0x228),![],_0x2ccd84=>{const _0x3253f2=_0x50e094,_0x3f526f={'nBjgG':_0x3253f2(0x1e9),'Oqrjq':_0x3253f2(0x276),'abEig':'skip-auth','myZdd':'boolean'};return _0x2ccd84[_0x3253f2(0x2e8)](_0x3253f2(0x304),{'type':_0x3f526f['nBjgG'],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x3f526f['Oqrjq'],'default':![]})[_0x3253f2(0x25b)](_0x3f526f['abEig'],{'type':_0x3f526f['myZdd'],'description':_0x3253f2(0x1f9),'default':![]});},async _0x909fc8=>{const _0x106b60=_0x50e094,_0x462b89={'WMTaB':function(_0x17f5ee,_0x3657aa,_0x1143e9){return _0x17f5ee(_0x3657aa,_0x1143e9);},'QuYcZ':'ranger\x20add\x20env'};_0x462b89[_0x106b60(0x21d)](warnRenamed,_0x462b89[_0x106b60(0x2a5)],_0x106b60(0x24d)),await _0x462b89[_0x106b60(0x21d)](withTelemetry,_0x106b60(0x2c8),_0x5aedef=>addEnv(_0x909fc8['env-name'],{'ci':_0x909fc8['ci'],'skipAuth':_0x909fc8[_0x106b60(0x265)]},_0x5aedef));})['command']('use\x20<env-name>',![],_0x3eaa5f=>{const _0x3dfbfd=_0x50e094,_0x599657={'mdTHi':'Name\x20of\x20the\x20environment'};return _0x3eaa5f[_0x3dfbfd(0x2e8)]('env-name',{'type':_0x3dfbfd(0x1e9),'description':_0x599657['mdTHi'],'demandOption':!![]});},async _0xeece83=>{const _0x5ed50e=_0x50e094,_0x14c834={'YFWxK':_0x5ed50e(0x1ef),'etUQT':'ranger\x20profile\x20use'};warnRenamed(_0x14c834[_0x5ed50e(0x1ec)],_0x14c834[_0x5ed50e(0x1d9)]),await withTelemetry(_0x5ed50e(0x30d),()=>useEnv(_0xeece83[_0x5ed50e(0x304)]));})[_0x50e094(0x2ea)](_0x50e094(0x22a),![],_0x6940be=>{const _0x5acef3=_0x50e094,_0x34025d={'arRAz':_0x5acef3(0x1fe),'DqYqd':_0x5acef3(0x1e9),'Qavcq':_0x5acef3(0x20f),'cavmg':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','TbSCS':_0x5acef3(0x1f6),'UmtZs':_0x5acef3(0x31f),'IVKti':function(_0x3134ce,_0x3cb834,_0x223f06){return _0x3134ce(_0x3cb834,_0x223f06);},'HyIqx':function(_0x3e6e6c,_0x1c8eb2,_0x4c905a){return _0x3e6e6c(_0x1c8eb2,_0x4c905a);},'bxpXN':'ranger\x20profile\x20config\x20get','ovebs':_0x5acef3(0x2c4),'gVTCw':'key','FnmrL':_0x5acef3(0x270),'AKfnf':_0x5acef3(0x25a),'UeJfA':'ranger\x20profile\x20config\x20unset','UbxzI':'set\x20<env>\x20<key>\x20<value>','TdgZi':'get\x20<env>\x20<key>','KNoqr':_0x5acef3(0x310),'eChIb':_0x5acef3(0x30a)};return _0x6940be[_0x5acef3(0x2ea)](_0x34025d[_0x5acef3(0x1f5)],![],_0x57aa56=>{const _0x14be4f=_0x5acef3;return _0x57aa56[_0x14be4f(0x2e8)](_0x34025d['arRAz'],{'type':_0x34025d[_0x14be4f(0x203)],'description':_0x34025d['Qavcq'],'demandOption':!![]})['positional'](_0x14be4f(0x2d8),{'type':'string','description':_0x34025d[_0x14be4f(0x24f)],'demandOption':!![]})[_0x14be4f(0x2e8)](_0x34025d['TbSCS'],{'type':'string','description':_0x14be4f(0x322),'demandOption':!![]});},async _0x6519d9=>{const _0x4b98d8=_0x5acef3;warnRenamed(_0x34025d[_0x4b98d8(0x275)],'ranger\x20profile\x20config\x20set'),await _0x34025d[_0x4b98d8(0x2f9)](withTelemetry,_0x4b98d8(0x279),()=>configSet(_0x6519d9['env'],_0x6519d9['key'],_0x6519d9[_0x4b98d8(0x1f6)]));})['command'](_0x34025d[_0x5acef3(0x2ee)],![],_0x19c620=>{const _0x426e02=_0x5acef3;return _0x19c620[_0x426e02(0x2e8)](_0x426e02(0x1fe),{'type':'string','description':_0x34025d['Qavcq'],'demandOption':!![]})[_0x426e02(0x2e8)]('key',{'type':_0x34025d[_0x426e02(0x203)],'description':'Config\x20key','demandOption':!![]});},async _0x5e642b=>{const _0x1403db=_0x5acef3;_0x34025d['HyIqx'](warnRenamed,_0x1403db(0x1de),_0x34025d['bxpXN']),await _0x34025d[_0x1403db(0x2f9)](withTelemetry,_0x1403db(0x28a),()=>configGet(_0x5e642b['env'],_0x5e642b[_0x1403db(0x2d8)]));})[_0x5acef3(0x2ea)](_0x34025d[_0x5acef3(0x24b)],![],_0x275624=>{const _0x2da067=_0x5acef3;return _0x275624[_0x2da067(0x2e8)](_0x34025d[_0x2da067(0x2ef)],{'type':_0x34025d['DqYqd'],'description':_0x2da067(0x20f),'demandOption':!![]});},async _0x991eb7=>{const _0x39df7e=_0x5acef3;warnRenamed('ranger\x20config\x20list',_0x34025d[_0x39df7e(0x209)]),await withTelemetry(_0x39df7e(0x288),()=>configList(_0x991eb7['env']));})[_0x5acef3(0x2ea)](_0x5acef3(0x22b),![],_0x262b94=>{const _0x3c6750=_0x5acef3;return _0x262b94[_0x3c6750(0x2e8)]('env',{'type':'string','description':_0x34025d[_0x3c6750(0x245)],'demandOption':!![]})[_0x3c6750(0x2e8)](_0x34025d[_0x3c6750(0x1f3)],{'type':_0x34025d[_0x3c6750(0x203)],'description':_0x34025d[_0x3c6750(0x267)],'demandOption':!![]});},async _0x13eb04=>{const _0xa5ee9e=_0x5acef3;warnRenamed(_0x34025d[_0xa5ee9e(0x1f2)],_0x34025d['UeJfA']),await _0x34025d['HyIqx'](withTelemetry,'config\x20unset',()=>configUnset(_0x13eb04['env'],_0x13eb04[_0xa5ee9e(0x2d8)]));})['demandCommand'](0x1,_0x34025d[_0x5acef3(0x291)]);})['command'](_0x50e094(0x1fe),![],_0x6f147b=>{const _0x4efbb9=_0x50e094,_0x54f16d={'HTzcg':'ranger\x20env\x20ls','nrtbC':_0x4efbb9(0x1fa),'zvsko':function(_0x4a6b46,_0x130b33,_0x527867){return _0x4a6b46(_0x130b33,_0x527867);},'mKJMf':_0x4efbb9(0x1e9),'jFzra':_0x4efbb9(0x26f),'dZyAl':'ranger\x20env\x20update','ClnYc':'ranger\x20profile\x20update','XQIXx':_0x4efbb9(0x22c)};return _0x6f147b['command']('ls',![],()=>{},async()=>{const _0x4cca8b=_0x4efbb9;warnRenamed(_0x54f16d['HTzcg'],_0x54f16d[_0x4cca8b(0x30c)]),await _0x54f16d['zvsko'](withTelemetry,'env\x20list',()=>envList());})[_0x4efbb9(0x2ea)]('update\x20<env-name>',![],_0x37b1f3=>{const _0x42d030=_0x4efbb9;return _0x37b1f3[_0x42d030(0x2e8)](_0x42d030(0x304),{'type':_0x54f16d[_0x42d030(0x2e9)],'description':_0x54f16d['jFzra'],'demandOption':!![]});},async _0x110739=>{const _0x4ed399=_0x4efbb9;warnRenamed(_0x54f16d['dZyAl'],_0x54f16d['ClnYc']),await _0x54f16d[_0x4ed399(0x2be)](withTelemetry,'env\x20update',_0x59eed5=>updateEnv(_0x110739['env-name'],_0x59eed5));})[_0x4efbb9(0x2c5)](0x1,_0x54f16d[_0x4efbb9(0x314)]);})['command'](_0x50e094(0x295),![],_0x34da65=>{const _0x411119=_0x50e094,_0xd5d8ca={'DaSBt':_0x411119(0x32e),'NZMwC':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','vhavX':'ranger\x20create','peJLr':function(_0x2f63dd,_0x28bf93,_0x57a732,_0x2b88e4){return _0x2f63dd(_0x28bf93,_0x57a732,_0x2b88e4);},'qWJKK':'--checklist','rBKos':_0x411119(0x2a1),'cBIuf':function(_0x2f69c6,_0x4d6f4f,_0x337b9a){return _0x2f69c6(_0x4d6f4f,_0x337b9a);},'QjpKE':'feature\x20create','ShFhV':_0x411119(0x32a),'qVkeN':_0x411119(0x282),'OqeZR':_0x411119(0x23b),'DUdmH':'number','ugrSr':_0x411119(0x1ed),'uaZzI':'ranger\x20feature\x20list','kcuJg':_0x411119(0x1e9),'tfJxp':function(_0x14fb13,_0x4ecb3d,_0x2ae4fc){return _0x14fb13(_0x4ecb3d,_0x2ae4fc);},'ztdoK':'feature\x20show','CuimS':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','WRFnb':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','rKVCg':_0x411119(0x255),'ohwxt':'ranger\x20add-scenario','NJOmi':'feature\x20add-checklist-item','nxMga':_0x411119(0x1e5),'AMFZW':_0x411119(0x32d),'ZxaUE':_0x411119(0x1e6),'uYeXc':'list','bEoMo':'show\x20[id]','XdZHO':_0x411119(0x2c6),'WxxcV':'delete\x20[id]','ufSBD':'restore\x20<id>'};return _0x34da65['command']('create\x20<name>',![],_0x2f6cde=>{const _0x1a523e=_0x411119;return _0x2f6cde[_0x1a523e(0x2e8)](_0x1a523e(0x248),{'type':_0x1a523e(0x1e9),'description':_0x1a523e(0x266),'demandOption':!![]})[_0x1a523e(0x25b)](_0x1a523e(0x2a8),{'type':'string','alias':'d','description':_0x1a523e(0x2bc)})['option'](_0x1a523e(0x274),{'type':_0xd5d8ca['DaSBt'],'alias':'c','description':_0xd5d8ca['NZMwC']})['option']('scenario',{'type':_0xd5d8ca['DaSBt'],'hidden':!![]});},async _0x141213=>{const _0x537a4a=_0x411119;warnRenamed(_0x537a4a(0x20b),_0xd5d8ca['vhavX']),_0xd5d8ca['peJLr'](warnFlagRenamed,_0xd5d8ca['vhavX'],_0xd5d8ca[_0x537a4a(0x278)],_0xd5d8ca[_0x537a4a(0x20c)]);const _0x4c912d=_0x141213['scenario']||_0x141213[_0x537a4a(0x274)];await _0xd5d8ca['cBIuf'](withTelemetry,_0xd5d8ca[_0x537a4a(0x224)],()=>featureCreate(_0x141213['name'],{'description':_0x141213['description'],'scenarios':_0x4c912d}));})['command'](_0xd5d8ca['uYeXc'],![],_0x485c5b=>{const _0x5e24b4=_0x411119;return _0x485c5b['option'](_0xd5d8ca['ShFhV'],{'type':_0xd5d8ca['qVkeN'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x5e24b4(0x25b)](_0xd5d8ca[_0x5e24b4(0x1ee)],{'type':'number','alias':'l','description':_0x5e24b4(0x2a2),'default':0xa})['option'](_0x5e24b4(0x220),{'type':_0xd5d8ca['DUdmH'],'alias':'o','description':_0xd5d8ca[_0x5e24b4(0x22d)],'default':0x0})[_0x5e24b4(0x25b)](_0x5e24b4(0x247),{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x59776b=>{const _0x1c4291=_0x411119;_0xd5d8ca[_0x1c4291(0x303)](warnRenamed,_0xd5d8ca['uaZzI'],_0x1c4291(0x2d6)),await withTelemetry(_0x1c4291(0x2af),()=>featureList({'currentBranch':_0x59776b['current-branch'],'limit':_0x59776b['limit'],'offset':_0x59776b[_0x1c4291(0x220)],'includeDeleted':_0x59776b['include-deleted']}));})[_0x411119(0x2ea)](_0xd5d8ca[_0x411119(0x213)],![],_0x3834c0=>{const _0x28f683=_0x411119;return _0x3834c0['positional']('id',{'type':_0xd5d8ca[_0x28f683(0x2b2)],'description':'Feature\x20review\x20ID'});},async _0x566012=>{const _0x21d785=_0x411119;warnRenamed(_0x21d785(0x2ce),_0x21d785(0x23f)),await _0xd5d8ca['tfJxp'](withTelemetry,_0xd5d8ca['ztdoK'],()=>featureShow(_0x566012['id']));})['command']('resume\x20[id]',![],_0x54f8b1=>{const _0x2d388f=_0x411119;return _0x54f8b1['positional']('id',{'type':_0x2d388f(0x1e9),'description':_0xd5d8ca['CuimS']});},async _0x5adbc4=>{const _0x562149=_0x411119;warnRenamed(_0x562149(0x204),'ranger\x20resume'),await _0xd5d8ca['tfJxp'](withTelemetry,'feature\x20resume',()=>featureResume(_0x5adbc4['id']));})[_0x411119(0x2ea)]('add-checklist-item\x20<description>',![],_0x1aa2f2=>{const _0x32d804=_0x411119;return _0x1aa2f2[_0x32d804(0x2e8)](_0x32d804(0x2a8),{'type':_0xd5d8ca[_0x32d804(0x2b2)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x32d804(0x1e9),'description':_0xd5d8ca[_0x32d804(0x2ac)]});},async _0x50fda7=>{const _0x2c7dc6=_0x411119;warnRenamed(_0xd5d8ca['rKVCg'],_0xd5d8ca['ohwxt']),await withTelemetry(_0xd5d8ca['NJOmi'],()=>featureAddScenario(_0x50fda7[_0x2c7dc6(0x2a8)],_0x50fda7['id']));})['command'](_0xd5d8ca[_0x411119(0x243)],![],_0x5a4033=>{return _0x5a4033['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x200177=>{const _0x40cc74=_0x411119;warnRenamed(_0x40cc74(0x244),'ranger\x20get-review'),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x200177['id']));})['command'](_0xd5d8ca['WxxcV'],![],_0x2b94d0=>{const _0x35ff46=_0x411119;return _0x2b94d0['positional']('id',{'type':_0xd5d8ca[_0x35ff46(0x2b2)],'description':_0xd5d8ca['nxMga']});},async _0x4afcca=>{const _0x59e81a=_0x411119;warnRenamed('ranger\x20feature\x20delete','ranger\x20delete'),await _0xd5d8ca[_0x59e81a(0x2e6)](withTelemetry,_0xd5d8ca[_0x59e81a(0x2f1)],()=>featureDelete(_0x4afcca['id']));})[_0x411119(0x2ea)](_0xd5d8ca['ufSBD'],![],_0x439570=>{const _0x38111b=_0x411119;return _0x439570['positional']('id',{'type':'string','description':_0x38111b(0x26c),'demandOption':!![]});},async _0x50af2a=>{const _0x5dfc69=_0x411119;_0xd5d8ca[_0x5dfc69(0x2e6)](warnRenamed,_0x5dfc69(0x2fd),'ranger\x20restore'),await withTelemetry(_0xd5d8ca['ZxaUE'],()=>featureRestore(_0x50af2a['id']));})[_0x411119(0x2c5)](0x1,_0x411119(0x29c));})['command'](_0x50e094(0x226),![],_0x179116=>{const _0xf8d0b3=_0x50e094,_0x22f4ee={'fUHoi':'session-id','Yhmoy':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','szWkU':'hook:enable','soDgg':function(_0x4d378f,_0x5f284f,_0x44fc71){return _0x4d378f(_0x5f284f,_0x44fc71);},'TQYmz':'enable','TJHiE':_0xf8d0b3(0x219),'EkfQk':_0xf8d0b3(0x248),'zsJuU':_0xf8d0b3(0x29d)};return _0x179116[_0xf8d0b3(0x2ea)](_0x22f4ee['TQYmz'],_0xf8d0b3(0x297),_0x285112=>{const _0x2453ec=_0xf8d0b3;return _0x285112[_0x2453ec(0x25b)](_0x22f4ee[_0x2453ec(0x277)],{'type':_0x2453ec(0x1e9),'description':_0x22f4ee[_0x2453ec(0x2db)]});},async _0x7e9d17=>{const _0x19cb56=_0xf8d0b3;await withTelemetry(_0x22f4ee[_0x19cb56(0x21c)],()=>hook(_0x19cb56(0x329),_0x7e9d17[_0x19cb56(0x272)]));})[_0xf8d0b3(0x2ea)]('disable',_0x22f4ee[_0xf8d0b3(0x241)],_0xe35c4a=>{const _0x5d0212=_0xf8d0b3;return _0xe35c4a[_0x5d0212(0x25b)]('session-id',{'type':_0x5d0212(0x1e9),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x5e3945=>{const _0x47d7bf=_0xf8d0b3;await _0x22f4ee['soDgg'](withTelemetry,_0x47d7bf(0x24c),()=>hook(_0x47d7bf(0x306),_0x5e3945['session-id']));})[_0xf8d0b3(0x25b)](_0x22f4ee['EkfQk'],{'type':_0xf8d0b3(0x1e9),'description':_0x22f4ee[_0xf8d0b3(0x2d4)]})['option'](_0xf8d0b3(0x272),{'type':_0xf8d0b3(0x1e9),'description':_0x22f4ee['Yhmoy']});},async _0x79bb04=>{const _0x315c27=_0x50e094,_0x38a711={'DDQSG':_0x315c27(0x272)};_0x79bb04['name']&&await hook(_0x79bb04[_0x315c27(0x248)],_0x79bb04[_0x38a711[_0x315c27(0x2b9)]]);})['demandCommand'](0x1,_0x50e094(0x2f3))['strictCommands']()[_0x50e094(0x2b8)](async(_0x1f0c45,_0x37d8a5,_0x3fcacd)=>{const _0x143205=_0x50e094,_0xd35450={'ZbrFO':_0x143205(0x292),'xiBYY':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','XmMNT':function(_0x373147){return _0x373147();},'mEdpU':'Unknown\x20error'},_0x3bb06e=sanitizeArgs(process[_0x143205(0x25f)][_0x143205(0x326)](0x2)),_0x4bf62c=getErrorType(_0x1f0c45,_0x37d8a5);if(_0x1f0c45&&_0x1f0c45['includes'](_0xd35450['ZbrFO'])){const _0x99581d=process[_0x143205(0x25f)][0x2];console[_0x143205(0x24a)](_0x143205(0x2f2)+_0x99581d),console['error'](_0xd35450['xiBYY']);}else{if(_0x1f0c45)console['error']('\x0a'+_0x1f0c45+'\x0a');else _0x37d8a5&&console[_0x143205(0x24a)](_0x143205(0x2dc)+_0x37d8a5['message']+'\x0a');}await logDesirePath({'rawCommand':_0x3bb06e,'errorMessage':_0x1f0c45||_0x37d8a5?.['message'],'errorType':_0x4bf62c});const _0x257f3a=_0xd35450[_0x143205(0x281)](getCurrentCollector);_0x257f3a&&await _0x257f3a['trackCommandError'](_0x37d8a5||new Error(_0x1f0c45||_0xd35450['mEdpU'])),process['exit'](0x1);})[_0x50e094(0x327)]('Documentation:\x0a'+'\x20\x20https://docs.ranger.net\x0a'+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x50e094(0x2f5)]()['alias'](_0x50e094(0x2f5),'h')['parse']();
@@ -1 +1 @@
1
- (function(_0x1b4421,_0x58c0a9){const _0xaf8c64=_0x30cd,_0x4bc2ea=_0x1b4421();while(!![]){try{const _0x399012=parseInt(_0xaf8c64(0x10c))/0x1+-parseInt(_0xaf8c64(0x109))/0x2*(parseInt(_0xaf8c64(0xea))/0x3)+-parseInt(_0xaf8c64(0x135))/0x4+parseInt(_0xaf8c64(0x13c))/0x5*(parseInt(_0xaf8c64(0x11a))/0x6)+parseInt(_0xaf8c64(0x12c))/0x7*(parseInt(_0xaf8c64(0x137))/0x8)+-parseInt(_0xaf8c64(0x11d))/0x9+parseInt(_0xaf8c64(0x117))/0xa*(parseInt(_0xaf8c64(0x130))/0xb);if(_0x399012===_0x58c0a9)break;else _0x4bc2ea['push'](_0x4bc2ea['shift']());}catch(_0x2df3dd){_0x4bc2ea['push'](_0x4bc2ea['shift']());}}}(_0x2440,0xc33dd));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x375950 from'inquirer';import{chromium}from'playwright';function _0x30cd(_0xf83d46,_0x1fdd7c){_0xf83d46=_0xf83d46-0xd8;const _0x2440fc=_0x2440();let _0x30cdb7=_0x2440fc[_0xf83d46];return _0x30cdb7;}function _0x2440(){const _0x476fe0=['\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','\x22\x20configured','stdin','aQBWp','1409364xIfhah','isProtocolError','3616mrCjVA','path','push','baseUrl','newPage','842995jApHfc','cdpEndpoint','Aborted.','http://localhost:3000','signal','pZYVM','\x0a⚠️\x20\x20Profile\x20\x22','stringify','\x20(continuing\x20with\x20--force)','utf-8','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','OoZij','skipAuth','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','iTZJP','What\x20would\x20you\x20like\x20to\x20do?','\x20\x20Did\x20you\x20mean\x20','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','HEAD','JqhXr','log','\x20\x20\x20Creating\x20it\x20in\x20','XThMb','HTTP\x20','xvlQr','isTTY','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','Profile\x20\x22','--disable-features=WebBluetooth','--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.','⚠\x20Could\x20not\x20reach\x20','fViUi','storageState','qhUyY','fetch\x20failed','location','9978UnWiLr','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','list','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','TDwGN','includes','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','kbmKB','settings.json','oUpFx','safeMode','abort','MIGcg','http://','afkqo','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','Enter\x20a\x20different\x20URL','prompt','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','local','length','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','\x0a🌐\x20Profile\x20Setup\x0a','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','isElectron','catch','Could\x20not\x20reach\x20','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','XYGhm','Invalid\x20URL','904ToEMXg','input','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','1153427gyDgFt','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','\x20\x20Set\x20active\x20profile:\x20','config_write','newContext','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','\x0a\x20\x20Could\x20not\x20reach\x20','root\x20(.ranger/)','stdout','\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a','trackPhaseStart','730rLnHmj','\x20\x20ranger\x20profile\x20add\x20','TboFc','36Hyqmsw','\x0a\x20\x20Profile\x20\x22','You\x20can\x20try\x20again\x20with\x20one\x20of:','9656100EZhBzO','LEiEV','retry','✓\x20Auth\x20state\x20saved\x20to:\x20','url','\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.','EIqkT','aHffL','trackPhaseEnd','action','error','url_setup','continue','\x22\x20already\x20exists\x20in\x20','\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)','19411npjoeK','✓\x20Created\x20settings:\x20','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','PfJrW','46695aQhUSt'];_0x2440=function(){return _0x476fe0;};return _0x2440();}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';async function checkUrlReachability(_0x3cbc59){const _0x250f87=_0x30cd,_0x25df6c={'YmVtc':function(_0xc34d9f,_0x5d4b6f,_0x5ee91a){return _0xc34d9f(_0x5d4b6f,_0x5ee91a);}};try{const _0x28c279=new AbortController(),_0x223a12=setTimeout(()=>_0x28c279[_0x250f87(0xf5)](),0x1388),_0x56db40=await _0x25df6c['YmVtc'](fetch,_0x3cbc59,{'method':_0x250f87(0xd8),'signal':_0x28c279[_0x250f87(0x140)],'redirect':'manual'});clearTimeout(_0x223a12);if(_0x56db40['status']<0x190)return{'ok':!![]};return{'ok':![],'error':_0x250f87(0xdd)+_0x56db40['status']};}catch(_0x30c994){const _0x1a4f51=_0x30c994,_0x3340b9=_0x1a4f51['message']||String(_0x30c994),_0x493c5d=_0x3340b9[_0x250f87(0xef)](_0x250f87(0x108))||_0x1a4f51['name']==='TypeError'||_0x3340b9['includes'](_0x250f87(0xe8));return{'ok':![],'error':_0x3340b9,'isProtocolError':_0x493c5d};}}export async function addEnv(_0x37f43d,_0x5c6a21={},_0x11cd17){const _0x17516d=_0x30cd,_0x204b39={'qhUyY':_0x17516d(0xfd),'xvlQr':function(_0x3973f0){return _0x3973f0();},'iDSNA':function(_0x42a240,_0x24c859){return _0x42a240!==_0x24c859;},'mZyRf':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','aQBWp':_0x17516d(0xed),'EIqkT':_0x17516d(0xfc),'JqhXr':function(_0xe760d1,_0x629581){return _0xe760d1===_0x629581;},'bkoBa':'legacy','RCTHk':_0x17516d(0x113),'iTZJP':'confirm','bGHTr':'Aborted.','QIvXW':_0x17516d(0x100),'NIIwc':_0x17516d(0xe0),'oqFaa':_0x17516d(0x10a),'XYGhm':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','cwdty':function(_0x3eeb2d,_0x45dcf5){return _0x3eeb2d||_0x45dcf5;},'ymtin':function(_0x5f3859,_0x9e6752){return _0x5f3859(_0x9e6752);},'seweo':_0x17516d(0xec),'ncqCL':_0x17516d(0x14b),'pZYVM':'Continue\x20anyway','jLmYj':_0x17516d(0x129),'TDwGN':'url_setup','ZBuhp':function(_0x1524ca,_0x1db5c3,_0xd559fd){return _0x1524ca(_0x1db5c3,_0xd559fd);},'fViUi':'browser_auth','edmkO':'\x0a📋\x20Authentication\x20Setup','MIGcg':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','sxmoa':function(_0x52f413,_0x15bcfd){return _0x52f413>_0x15bcfd;},'TbVLJ':function(_0x16528b,_0x1f7d7f){return _0x16528b(_0x1f7d7f);},'XThMb':_0x17516d(0x122),'afkqo':'This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a','oUpFx':_0x17516d(0x11c),'eKGFJ':_0x17516d(0x145),'FXMKa':_0x17516d(0x12e),'ODCiU':_0x17516d(0x14d),'OoZij':function(_0x5713f7,_0x26f11b,_0x12891e){return _0x5713f7(_0x26f11b,_0x12891e);},'aHffL':function(_0x4a64de,_0x598f81,_0x4a42ca){return _0x4a64de(_0x598f81,_0x4a42ca);},'PfJrW':function(_0x476f03,_0x48058c){return _0x476f03+_0x48058c;},'LUNUh':function(_0x5bd7b6,_0x98cb14){return _0x5bd7b6(_0x98cb14);},'LEiEV':_0x17516d(0xf2),'kbmKB':function(_0x3a321e,_0x24195e,_0x296760){return _0x3a321e(_0x24195e,_0x296760);},'TboFc':function(_0x26b0a0,_0x4fb861,_0xa07cfe){return _0x26b0a0(_0x4fb861,_0xa07cfe);},'IEPmJ':function(_0x160a14,_0x39a02d,_0x27bbf7){return _0x160a14(_0x39a02d,_0x27bbf7);},'LOmqj':_0x17516d(0xeb),'wVWSN':'config_write','ShWYD':function(_0x2cbe44,_0xbd988c,_0x4988f2){return _0x2cbe44(_0xbd988c,_0x4988f2);}},_0x246945=_0x5c6a21['ci']??![],_0x20a4fc=_0x246945?'ci':_0x204b39[_0x17516d(0xe7)],_0x1939c8=join(getRangerDir(),_0x20a4fc,_0x37f43d),_0x61bd8d=join(_0x204b39[_0x17516d(0xde)](getRangerDir),_0x20a4fc);if(_0x204b39['iDSNA'](_0x5c6a21[_0x17516d(0x13d)],undefined)&&_0x5c6a21[_0x17516d(0x13d)]['trim']()==='')throw new Error(_0x204b39['mZyRf']);if(_0x5c6a21['cdpEndpoint']&&_0x5c6a21[_0x17516d(0x121)])throw new Error(_0x204b39[_0x17516d(0x134)]);if(_0x5c6a21[_0x17516d(0x13d)]&&_0x5c6a21['ci'])throw new Error(_0x17516d(0xe3));const _0x35d7e0=Boolean(_0x5c6a21[_0x17516d(0x13d)]),_0x2f038f=!_0x5c6a21[_0x17516d(0x148)]&&!_0x35d7e0,_0x2f87a6=process[_0x17516d(0x133)][_0x17516d(0xdf)]&&process[_0x17516d(0x114)]['isTTY'];if(!_0x2f87a6&&!_0x5c6a21[_0x17516d(0x121)]&&!_0x35d7e0)throw new Error(_0x204b39[_0x17516d(0x123)]);const _0x4ccf82=findExistingEnv(_0x37f43d);let _0x1242c0=null;if(_0x4ccf82){if(!_0x2f87a6)_0x1242c0=_0x4ccf82;else{if(_0x4ccf82['location']===_0x20a4fc){const {overwrite:_0x309748}=await _0x375950['prompt']([{'type':'confirm','name':'overwrite','message':_0x17516d(0xe1)+_0x37f43d+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x309748){console[_0x17516d(0xda)](_0x17516d(0x13e));return;}_0x1242c0=_0x4ccf82;}else{const _0x57301a=_0x204b39['JqhXr'](_0x4ccf82[_0x17516d(0xe9)],_0x204b39['bkoBa'])?_0x204b39['RCTHk']:_0x4ccf82['location'];console['error'](_0x17516d(0x142)+_0x37f43d+_0x17516d(0x12a)+_0x57301a+':\x20'+_0x4ccf82[_0x17516d(0x138)]),console[_0x17516d(0x127)](_0x17516d(0xdb)+_0x20a4fc+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x4cfee3}=await _0x375950[_0x17516d(0xfb)]([{'type':_0x204b39[_0x17516d(0x14a)],'name':'shouldReplace','message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x20a4fc+'?','default':![]}]);if(!_0x4cfee3){console['log'](_0x204b39['bGHTr']);return;}_0x1242c0=_0x4ccf82;}}}_0x11cd17?.[_0x17516d(0x116)](_0x17516d(0x128));let _0x3c7702='';if(_0x35d7e0)console[_0x17516d(0xda)](_0x17516d(0xff)),console['log'](_0x17516d(0xf9)+_0x5c6a21[_0x17516d(0x13d)]),console[_0x17516d(0xda)](_0x17516d(0x106));else{if(_0x5c6a21[_0x17516d(0x121)]){_0x3c7702=_0x5c6a21[_0x17516d(0x121)];const _0x167d4a=await checkUrlReachability(_0x3c7702);if(!_0x167d4a['ok']&&!_0x5c6a21['force'])throw new Error(_0x17516d(0x104)+_0x3c7702+':\x20'+_0x167d4a[_0x17516d(0x127)]+_0x17516d(0x101));!_0x167d4a['ok']&&_0x5c6a21['force']&&console[_0x17516d(0xda)](_0x17516d(0xe4)+_0x3c7702+':\x20'+_0x167d4a[_0x17516d(0x127)]+_0x17516d(0x144));}else{console['log'](_0x204b39['QIvXW']),console[_0x17516d(0xda)](_0x204b39['NIIwc']),console['log'](_0x17516d(0x10b));let _0x2830c0=![];while(!![]){const _0x329dae=await _0x375950['prompt']([{'type':_0x204b39['oqFaa'],'name':_0x17516d(0x13a),'message':_0x2830c0?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':_0x204b39[_0x17516d(0x107)],'default':_0x204b39['cwdty'](_0x3c7702,_0x17516d(0x13f))}]);_0x3c7702=_0x329dae[_0x17516d(0x13a)];const _0x154a63=await _0x204b39['ymtin'](checkUrlReachability,_0x3c7702);if(_0x154a63['ok'])break;const _0x1f400c=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x3c7702),_0x547ac5=_0x154a63[_0x17516d(0x136)]&&!_0x1f400c,_0x2ff589=_0x547ac5?_0x17516d(0xf7)+_0x3c7702:null;_0x2830c0=!![],console[_0x17516d(0xda)](_0x17516d(0x112)+_0x3c7702+':\x20'+_0x154a63[_0x17516d(0x127)]);_0x2ff589&&console['log'](_0x17516d(0x14c)+_0x2ff589+'?');const {action:_0x46ceef}=await _0x375950[_0x17516d(0xfb)]([{'type':_0x204b39['seweo'],'name':_0x17516d(0x126),'message':_0x204b39['ncqCL'],'choices':[..._0x2ff589?[{'name':'Use\x20'+_0x2ff589,'value':'use_suggestion'}]:[],{'name':_0x17516d(0xfa),'value':_0x17516d(0x11f)},{'name':_0x204b39[_0x17516d(0x141)],'value':'continue'}]}]);if(_0x204b39['JqhXr'](_0x46ceef,'use_suggestion')&&_0x2ff589){_0x3c7702=_0x2ff589;const _0x45bc80=await checkUrlReachability(_0x3c7702);if(_0x45bc80['ok'])break;console['log'](_0x17516d(0x105)+_0x3c7702+':\x20'+_0x45bc80[_0x17516d(0x127)]);}else{if(_0x204b39[_0x17516d(0xd9)](_0x46ceef,_0x204b39['jLmYj']))break;}}}}_0x11cd17?.['trackPhaseEnd'](_0x204b39[_0x17516d(0xee)]),await mkdir(_0x61bd8d,{'recursive':!![]});const _0x218495=await mkdtemp(join(_0x61bd8d,'.tmp-'+_0x37f43d+'-')),_0x3151f0=_0x204b39['ZBuhp'](join,_0x218495,'auth.json');try{if(_0x2f038f){_0x11cd17?.[_0x17516d(0x116)](_0x204b39[_0x17516d(0xe5)]),console[_0x17516d(0xda)](_0x204b39['edmkO']),console['log']('\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.'),console['log'](_0x204b39[_0x17516d(0xf6)]);!_0x2f87a6?(console[_0x17516d(0xda)](_0x17516d(0x131)),console[_0x17516d(0xda)](_0x17516d(0x146))):console['log']('');await new Promise(_0x1aa42f=>setTimeout(_0x1aa42f,0xbb8));const _0x2f2969=[];_0x5c6a21[_0x17516d(0xf4)]&&_0x2f2969[_0x17516d(0x139)](_0x17516d(0xe2));const _0x4d6513=await chromium['launch']({'headless':![],..._0x204b39['sxmoa'](_0x2f2969[_0x17516d(0xfe)],0x0)?{'args':_0x2f2969}:{}});try{const _0x420168=await _0x4d6513[_0x17516d(0x110)]();await _0x204b39['TbVLJ'](addProfileSetupBanner,_0x420168);const _0x52a840=await _0x420168[_0x17516d(0x13b)]();await _0x52a840['goto'](_0x3c7702||'about:blank');let _0x3a3326=![];await new Promise(_0x35d7b5=>{const _0x587fbf={'NxhPz':function(_0x13f533){return _0x13f533();}};_0x52a840['on']('close',async()=>{const _0x56c60a=_0x30cd;try{console[_0x56c60a(0xda)]('Saving\x20authentication\x20state...'),await _0x420168[_0x56c60a(0xe6)]({'path':_0x3151f0}),_0x3a3326=!![];}catch{}_0x587fbf['NxhPz'](_0x35d7b5);});});if(!_0x3a3326){console[_0x17516d(0xda)](_0x204b39[_0x17516d(0xdc)]);!_0x5c6a21[_0x17516d(0xf4)]&&(console['log'](_0x204b39[_0x17516d(0xf8)]),console['log'](_0x204b39[_0x17516d(0xf3)]),console[_0x17516d(0xda)](_0x17516d(0x118)+_0x37f43d+_0x17516d(0x12b)),console[_0x17516d(0xda)](_0x17516d(0x118)+_0x37f43d+_0x17516d(0x115)));throw new Error('Browser\x20closed\x20before\x20authentication\x20was\x20saved.');}}finally{await _0x4d6513['close']()[_0x17516d(0x103)](()=>{});}if(_0x246945){const _0x2ce56f=await _0x204b39['ZBuhp'](readFile,_0x3151f0,_0x204b39['eKGFJ']),_0x27f515=await getToken();if(!_0x27f515){console[_0x17516d(0x127)](_0x204b39['FXMKa']),await unlink(_0x3151f0)[_0x17516d(0x103)](()=>{});throw new Error(_0x204b39['ODCiU']);}else{const _0x23f32a=_0x204b39[_0x17516d(0x147)](encrypt,_0x2ce56f,_0x27f515);await _0x204b39[_0x17516d(0x124)](writeFile,_0x204b39[_0x17516d(0x12f)](_0x3151f0,'.enc'),_0x23f32a),await _0x204b39['LUNUh'](unlink,_0x3151f0),console['log']('✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x3151f0+'.enc'),console[_0x17516d(0xda)](_0x17516d(0x149)),console[_0x17516d(0xda)](_0x17516d(0x10d));}}else console[_0x17516d(0xda)](_0x17516d(0x120)+_0x3151f0);_0x11cd17?.[_0x17516d(0x125)](_0x204b39['fViUi']);}_0x11cd17?.[_0x17516d(0x116)](_0x17516d(0x10f));const _0x39f39c={};_0x3c7702&&(_0x39f39c[_0x17516d(0x13a)]=_0x3c7702);_0x5c6a21['cdpEndpoint']&&(_0x39f39c['cdpEndpoint']=_0x5c6a21['cdpEndpoint'],_0x39f39c[_0x17516d(0x102)]=!![]);_0x5c6a21['allowInsecureLocalhost']&&(_0x39f39c['allowInsecureLocalhost']=!![]);_0x5c6a21[_0x17516d(0xf4)]&&(_0x39f39c['safeMode']=!![]);await _0x204b39['aHffL'](writeFile,join(_0x218495,_0x204b39[_0x17516d(0x11e)]),JSON[_0x17516d(0x143)](_0x39f39c,null,0x2)),console[_0x17516d(0xda)](_0x17516d(0x12d)+_0x204b39[_0x17516d(0xf1)](join,_0x1939c8,_0x17516d(0xf2)));if(_0x204b39[_0x17516d(0xd9)](_0x1242c0?.['location'],_0x20a4fc)){const _0x1617ff=_0x1242c0['path']+'.backup-'+Date['now']();await rename(_0x1242c0['path'],_0x1617ff);try{await rename(_0x218495,_0x1939c8);}catch(_0x26fd7e){await _0x204b39[_0x17516d(0x119)](rename,_0x1617ff,_0x1242c0['path']);throw _0x26fd7e;}try{await rm(_0x1617ff,{'recursive':!![]});}catch{console[_0x17516d(0xda)](_0x17516d(0xf0)+_0x1617ff);}}else{await _0x204b39['IEPmJ'](rename,_0x218495,_0x1939c8);if(_0x1242c0)try{await rm(_0x1242c0[_0x17516d(0x138)],{'recursive':!![]}),console[_0x17516d(0xda)]('Removed\x20existing\x20profile\x20at\x20'+_0x1242c0[_0x17516d(0x138)]);}catch{console[_0x17516d(0xda)](_0x17516d(0x111)+_0x1242c0[_0x17516d(0x138)]);}}try{await writeActiveProfileName(_0x37f43d),console['log'](_0x17516d(0x10e)+_0x37f43d);}catch{console['log'](_0x204b39['LOmqj']);}_0x11cd17?.['trackPhaseEnd'](_0x204b39['wVWSN']),console[_0x17516d(0xda)](_0x17516d(0x11b)+_0x37f43d+_0x17516d(0x132));}catch(_0x4618c5){await _0x204b39['ShWYD'](rm,_0x218495,{'recursive':!![],'force':!![]});throw _0x4618c5;}}
1
+ (function(_0x270da8,_0x125408){const _0x5689f4=_0x3bf7,_0x34613c=_0x270da8();while(!![]){try{const _0x3cce13=-parseInt(_0x5689f4(0x17b))/0x1+parseInt(_0x5689f4(0x14d))/0x2+parseInt(_0x5689f4(0x13f))/0x3+parseInt(_0x5689f4(0x16a))/0x4+parseInt(_0x5689f4(0x170))/0x5*(parseInt(_0x5689f4(0x129))/0x6)+-parseInt(_0x5689f4(0x13d))/0x7+-parseInt(_0x5689f4(0x16f))/0x8*(parseInt(_0x5689f4(0x18a))/0x9);if(_0x3cce13===_0x125408)break;else _0x34613c['push'](_0x34613c['shift']());}catch(_0x3bf622){_0x34613c['push'](_0x34613c['shift']());}}}(_0x4509,0x90718));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';function _0x4509(){const _0x1bb49f=['storageState','path','use_suggestion','HTTP\x20','lAKjR','Invalid\x20URL','.backup-','prompt','\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)','http://localhost:3000','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','IyiBb','Removed\x20existing\x20profile\x20at\x20','tEVyT','goto','vDsec','action','xWUHl','stdin','Kllmk','jgUki','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','Aborted.','✓\x20Created\x20settings:\x20','location','2882900FPdxgu','GwenU','BjGFF','close','now','6392YRpwSu','5rgGayM','stringify','safeMode','status','sdPSM','\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a','catch','confirm','\x20would\x20shadow\x20the\x20existing\x20profile.','includes','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','694503pZWvSa','trackPhaseEnd','retry','HEAD','isTTY','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','allowInsecureLocalhost','stdout','FvHGj','config_write','launch','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','\x22\x20already\x20exists.\x20Overwrite?','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','dVodc','17802AHekao','\x0a📋\x20Authentication\x20Setup','\x20\x20Set\x20active\x20profile:\x20','NFXfu','NKSdo','url','KrLhN','abort','--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.','5538882okPEMk','AAnCq','signal','baseUrl','ijZOS','\x0a🌐\x20Profile\x20Setup\x0a','TypeError','name','trackPhaseStart','Use\x20','log','\x0a⚠️\x20\x20Profile\x20\x22','isElectron','Profile\x20\x22','\x20(continuing\x20with\x20--force)','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','error','settings.json','PDmmQ','isProtocolError','2711275KrLQde','cdpEndpoint','2380386uFVTyb','test','push','\x22\x20already\x20exists\x20in\x20','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','overwrite','RZggQ','continue','BAVtW','Could\x20not\x20reach\x20','url_setup','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','rKsnU','1633112ATgCFU','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','syEWr'];_0x4509=function(){return _0x1bb49f;};return _0x4509();}import _0x198840 from'inquirer';import{chromium}from'playwright';function _0x3bf7(_0x4924fc,_0x23b803){_0x4924fc=_0x4924fc-0x129;const _0x4509d0=_0x4509();let _0x3bf7bc=_0x4509d0[_0x4924fc];return _0x3bf7bc;}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';async function checkUrlReachability(_0x58c879){const _0x403f79=_0x3bf7,_0x794d2d={'lAKjR':function(_0x1b049e,_0x43af10,_0x6e8f93){return _0x1b049e(_0x43af10,_0x6e8f93);},'WkmGS':function(_0x5f1882,_0x2dac06,_0x5ee3ac){return _0x5f1882(_0x2dac06,_0x5ee3ac);},'ZYnSE':_0x403f79(0x17e),'KrLhN':function(_0x526b19,_0x520226){return _0x526b19<_0x520226;},'OAeah':_0x403f79(0x155),'bLwNH':_0x403f79(0x12f)};try{const _0x9822db=new AbortController(),_0x29ec76=_0x794d2d[_0x403f79(0x154)](setTimeout,()=>_0x9822db[_0x403f79(0x191)](),0x1388),_0x523d75=await _0x794d2d['WkmGS'](fetch,_0x58c879,{'method':_0x794d2d['ZYnSE'],'signal':_0x9822db[_0x403f79(0x12b)],'redirect':'manual'});clearTimeout(_0x29ec76);if(_0x794d2d[_0x403f79(0x190)](_0x523d75['status'],0x190))return{'ok':!![]};return{'ok':![],'error':_0x403f79(0x153)+_0x523d75[_0x403f79(0x173)]};}catch(_0x421335){const _0xbf3fd9=_0x421335,_0x8c01cb=_0xbf3fd9['message']||String(_0x421335),_0x7d8e5f=_0x8c01cb[_0x403f79(0x179)](_0x794d2d['OAeah'])||_0xbf3fd9[_0x403f79(0x130)]===_0x794d2d['bLwNH']||_0x8c01cb[_0x403f79(0x179)]('fetch\x20failed');return{'ok':![],'error':_0x8c01cb,'isProtocolError':_0x7d8e5f};}}export async function addEnv(_0x39a64e,_0x1693a7={},_0x1eec29){const _0x22bfe8=_0x3bf7,_0x29dcab={'NKSdo':'Saving\x20authentication\x20state...','YGRNn':'local','JKXdn':function(_0x1ca3ca){return _0x1ca3ca();},'FvHGj':function(_0x2786a3,_0x394a79){return _0x2786a3!==_0x394a79;},'dVodc':_0x22bfe8(0x14e),'swRYX':_0x22bfe8(0x138),'ivgwU':_0x22bfe8(0x192),'FAsBJ':function(_0x1e9d2c,_0x447f54){return _0x1e9d2c(_0x447f54);},'UvSWf':_0x22bfe8(0x188),'qqoQo':function(_0x28fb2d,_0x917ea6){return _0x28fb2d===_0x917ea6;},'rKsnU':_0x22bfe8(0x145),'syEWr':_0x22bfe8(0x167),'ioEEN':function(_0x20191a,_0x4b878a){return _0x20191a===_0x4b878a;},'YphzQ':'legacy','BjGFF':'confirm','SqDSj':'url_setup','PDmmQ':_0x22bfe8(0x143),'bVEFZ':'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','bGPcG':_0x22bfe8(0x159),'tEVyT':function(_0x20d175,_0x18e847){return _0x20d175(_0x18e847);},'sdPSM':'What\x20would\x20you\x20like\x20to\x20do?','xWUHl':'Enter\x20a\x20different\x20URL','IyiBb':'continue','Kllmk':function(_0x18365c,_0x436515,_0x4460b2){return _0x18365c(_0x436515,_0x4460b2);},'NFXfu':function(_0x452e9b,_0x114231,_0x3fff04){return _0x452e9b(_0x114231,_0x3fff04);},'BAVtW':'browser_auth','AAnCq':_0x22bfe8(0x18b),'nNfdG':_0x22bfe8(0x180),'GwenU':'--disable-features=WebBluetooth','vDsec':function(_0x479b4f,_0x37ae6e){return _0x479b4f||_0x37ae6e;},'GgJoA':'utf-8','qzSsR':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','jgUki':function(_0x4c83b0,_0x559494,_0x3ec585){return _0x4c83b0(_0x559494,_0x3ec585);},'nEgQq':'.enc','RZggQ':function(_0x537e01,_0x523060,_0x871303){return _0x537e01(_0x523060,_0x871303);},'Yyztf':_0x22bfe8(0x13a),'ijZOS':'Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.'},_0xc46949=_0x1693a7['ci']??![],_0x3274f2=_0xc46949?'ci':_0x29dcab['YGRNn'],_0x3e7c25=join(_0x29dcab['JKXdn'](getRangerDir),_0x3274f2,_0x39a64e),_0x785108=join(_0x29dcab['JKXdn'](getRangerDir),_0x3274f2);if(_0x29dcab[_0x22bfe8(0x183)](_0x1693a7['cdpEndpoint'],undefined)&&_0x1693a7[_0x22bfe8(0x13e)]['trim']()==='')throw new Error(_0x29dcab[_0x22bfe8(0x189)]);if(_0x1693a7[_0x22bfe8(0x13e)]&&_0x1693a7['url'])throw new Error(_0x29dcab['swRYX']);if(_0x1693a7['cdpEndpoint']&&_0x1693a7['ci'])throw new Error(_0x29dcab['ivgwU']);const _0x1dfbf1=_0x29dcab['FAsBJ'](Boolean,_0x1693a7['cdpEndpoint']),_0x53a2ba=!_0x1693a7['skipAuth']&&!_0x1dfbf1,_0x407fe9=process[_0x22bfe8(0x162)][_0x22bfe8(0x17f)]&&process[_0x22bfe8(0x182)][_0x22bfe8(0x17f)];if(!_0x407fe9&&!_0x1693a7[_0x22bfe8(0x18f)]&&!_0x1dfbf1)throw new Error(_0x29dcab['UvSWf']);const _0x22ffa5=_0x29dcab['FAsBJ'](findExistingEnv,_0x39a64e);let _0x5ba42c=null;if(_0x22ffa5){if(!_0x407fe9)_0x5ba42c=_0x22ffa5;else{if(_0x29dcab['qqoQo'](_0x22ffa5['location'],_0x3274f2)){const {overwrite:_0x4b2436}=await _0x198840[_0x22bfe8(0x157)]([{'type':_0x22bfe8(0x177),'name':_0x29dcab[_0x22bfe8(0x14c)],'message':_0x22bfe8(0x136)+_0x39a64e+_0x22bfe8(0x187),'default':![]}]);if(!_0x4b2436){console[_0x22bfe8(0x133)](_0x29dcab[_0x22bfe8(0x14f)]);return;}_0x5ba42c=_0x22ffa5;}else{const _0x5a63ab=_0x29dcab['ioEEN'](_0x22ffa5[_0x22bfe8(0x169)],_0x29dcab['YphzQ'])?'root\x20(.ranger/)':_0x22ffa5[_0x22bfe8(0x169)];console['error'](_0x22bfe8(0x134)+_0x39a64e+_0x22bfe8(0x142)+_0x5a63ab+':\x20'+_0x22ffa5[_0x22bfe8(0x151)]),console[_0x22bfe8(0x139)]('\x20\x20\x20Creating\x20it\x20in\x20'+_0x3274f2+_0x22bfe8(0x178));const {shouldReplace:_0x3c615c}=await _0x198840['prompt']([{'type':_0x29dcab[_0x22bfe8(0x16c)],'name':'shouldReplace','message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x3274f2+'?','default':![]}]);if(!_0x3c615c){console[_0x22bfe8(0x133)](_0x29dcab[_0x22bfe8(0x14f)]);return;}_0x5ba42c=_0x22ffa5;}}}_0x1eec29?.['trackPhaseStart'](_0x29dcab['SqDSj']);let _0x28348c='';if(_0x1dfbf1)console[_0x22bfe8(0x133)](_0x29dcab[_0x22bfe8(0x13b)]),console['log']('\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20'+_0x1693a7[_0x22bfe8(0x13e)]),console['log'](_0x22bfe8(0x186));else{if(_0x1693a7[_0x22bfe8(0x18f)]){_0x28348c=_0x1693a7['url'];const _0x36cf0d=await checkUrlReachability(_0x28348c);if(!_0x36cf0d['ok']&&!_0x1693a7['force'])throw new Error(_0x22bfe8(0x149)+_0x28348c+':\x20'+_0x36cf0d['error']+_0x22bfe8(0x166));!_0x36cf0d['ok']&&_0x1693a7['force']&&console['log']('⚠\x20Could\x20not\x20reach\x20'+_0x28348c+':\x20'+_0x36cf0d[_0x22bfe8(0x139)]+_0x22bfe8(0x137));}else{console[_0x22bfe8(0x133)](_0x22bfe8(0x12e)),console['log'](_0x22bfe8(0x17a)),console[_0x22bfe8(0x133)]('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x27e100=![];while(!![]){const _0x26db1c=await _0x198840['prompt']([{'type':'input','name':'baseUrl','message':_0x27e100?_0x29dcab['bVEFZ']:'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x28348c||_0x29dcab['bGPcG']}]);_0x28348c=_0x26db1c[_0x22bfe8(0x12c)];const _0x4dad5e=await _0x29dcab[_0x22bfe8(0x15d)](checkUrlReachability,_0x28348c);if(_0x4dad5e['ok'])break;const _0x4524d7=/^[a-zA-Z][\w+.-]*:\/\//[_0x22bfe8(0x140)](_0x28348c),_0x45d669=_0x4dad5e[_0x22bfe8(0x13c)]&&!_0x4524d7,_0x20a3bf=_0x45d669?'http://'+_0x28348c:null;_0x27e100=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x28348c+':\x20'+_0x4dad5e['error']);_0x20a3bf&&console['log']('\x20\x20Did\x20you\x20mean\x20'+_0x20a3bf+'?');const {action:_0x1d9a88}=await _0x198840[_0x22bfe8(0x157)]([{'type':'list','name':_0x22bfe8(0x160),'message':_0x29dcab[_0x22bfe8(0x174)],'choices':[..._0x20a3bf?[{'name':_0x22bfe8(0x132)+_0x20a3bf,'value':_0x22bfe8(0x152)}]:[],{'name':_0x29dcab[_0x22bfe8(0x161)],'value':_0x22bfe8(0x17d)},{'name':'Continue\x20anyway','value':_0x22bfe8(0x147)}]}]);if(_0x1d9a88===_0x22bfe8(0x152)&&_0x20a3bf){_0x28348c=_0x20a3bf;const _0x2b396e=await _0x29dcab['tEVyT'](checkUrlReachability,_0x28348c);if(_0x2b396e['ok'])break;console['log'](_0x22bfe8(0x15a)+_0x28348c+':\x20'+_0x2b396e['error']);}else{if(_0x1d9a88===_0x29dcab[_0x22bfe8(0x15b)])break;}}}}_0x1eec29?.[_0x22bfe8(0x17c)](_0x22bfe8(0x14a)),await _0x29dcab[_0x22bfe8(0x163)](mkdir,_0x785108,{'recursive':!![]});const _0x4f737e=await _0x29dcab['tEVyT'](mkdtemp,join(_0x785108,'.tmp-'+_0x39a64e+'-')),_0x175574=_0x29dcab['NFXfu'](join,_0x4f737e,'auth.json');try{if(_0x53a2ba){_0x1eec29?.[_0x22bfe8(0x131)](_0x29dcab[_0x22bfe8(0x148)]),console[_0x22bfe8(0x133)](_0x29dcab[_0x22bfe8(0x12a)]),console[_0x22bfe8(0x133)]('\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.'),console['log']('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x407fe9?(console[_0x22bfe8(0x133)]('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console['log'](_0x29dcab['nNfdG'])):console[_0x22bfe8(0x133)]('');await new Promise(_0x17272c=>setTimeout(_0x17272c,0xbb8));const _0x2364f5=[];_0x1693a7['safeMode']&&_0x2364f5[_0x22bfe8(0x141)](_0x29dcab[_0x22bfe8(0x16b)]);const _0x160fcd=await chromium[_0x22bfe8(0x185)]({'headless':![],..._0x2364f5['length']>0x0?{'args':_0x2364f5}:{}});try{const _0x1f1a27=await _0x160fcd['newContext']();await addProfileSetupBanner(_0x1f1a27);const _0x471ccb=await _0x1f1a27['newPage']();await _0x471ccb[_0x22bfe8(0x15e)](_0x29dcab[_0x22bfe8(0x15f)](_0x28348c,'about:blank'));let _0x138143=![];await new Promise(_0x3bc60d=>{const _0x5d2a6a=_0x22bfe8;_0x471ccb['on'](_0x5d2a6a(0x16d),async()=>{const _0x585875=_0x5d2a6a;try{console[_0x585875(0x133)](_0x29dcab[_0x585875(0x18e)]),await _0x1f1a27[_0x585875(0x150)]({'path':_0x175574}),_0x138143=!![];}catch{}_0x3bc60d();});});if(!_0x138143){console[_0x22bfe8(0x133)]('\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.');!_0x1693a7[_0x22bfe8(0x172)]&&(console['log']('This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a'),console['log']('You\x20can\x20try\x20again\x20with\x20one\x20of:'),console[_0x22bfe8(0x133)]('\x20\x20ranger\x20profile\x20add\x20'+_0x39a64e+_0x22bfe8(0x158)),console['log']('\x20\x20ranger\x20profile\x20add\x20'+_0x39a64e+_0x22bfe8(0x175)));throw new Error('Browser\x20closed\x20before\x20authentication\x20was\x20saved.');}}finally{await _0x160fcd[_0x22bfe8(0x16d)]()['catch'](()=>{});}if(_0xc46949){const _0x132ba5=await _0x29dcab[_0x22bfe8(0x18d)](readFile,_0x175574,_0x29dcab['GgJoA']),_0x330612=await _0x29dcab['JKXdn'](getToken);if(!_0x330612){console['error']('\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]'),await unlink(_0x175574)[_0x22bfe8(0x176)](()=>{});throw new Error(_0x29dcab['qzSsR']);}else{const _0x274037=_0x29dcab['Kllmk'](encrypt,_0x132ba5,_0x330612);await _0x29dcab[_0x22bfe8(0x164)](writeFile,_0x175574+_0x29dcab['nEgQq'],_0x274037),await unlink(_0x175574),console[_0x22bfe8(0x133)]('✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x175574+'.enc'),console['log'](_0x22bfe8(0x165)),console['log'](_0x22bfe8(0x14b));}}else console['log']('✓\x20Auth\x20state\x20saved\x20to:\x20'+_0x175574);_0x1eec29?.['trackPhaseEnd']('browser_auth');}_0x1eec29?.['trackPhaseStart'](_0x22bfe8(0x184));const _0x1491d7={};_0x28348c&&(_0x1491d7['baseUrl']=_0x28348c);_0x1693a7[_0x22bfe8(0x13e)]&&(_0x1491d7[_0x22bfe8(0x13e)]=_0x1693a7[_0x22bfe8(0x13e)],_0x1491d7[_0x22bfe8(0x135)]=!![]);_0x1693a7['allowInsecureLocalhost']&&(_0x1491d7[_0x22bfe8(0x181)]=!![]);_0x1693a7[_0x22bfe8(0x172)]&&(_0x1491d7['safeMode']=!![]);await _0x29dcab[_0x22bfe8(0x146)](writeFile,_0x29dcab[_0x22bfe8(0x164)](join,_0x4f737e,_0x29dcab['Yyztf']),JSON[_0x22bfe8(0x171)](_0x1491d7,null,0x2)),console[_0x22bfe8(0x133)](_0x22bfe8(0x168)+_0x29dcab['RZggQ'](join,_0x3e7c25,_0x22bfe8(0x13a)));if(_0x5ba42c?.['location']===_0x3274f2){const _0x450fd0=_0x5ba42c['path']+_0x22bfe8(0x156)+Date[_0x22bfe8(0x16e)]();await rename(_0x5ba42c[_0x22bfe8(0x151)],_0x450fd0);try{await rename(_0x4f737e,_0x3e7c25);}catch(_0x1c653c){await _0x29dcab[_0x22bfe8(0x163)](rename,_0x450fd0,_0x5ba42c[_0x22bfe8(0x151)]);throw _0x1c653c;}try{await rm(_0x450fd0,{'recursive':!![]});}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x450fd0);}}else{await _0x29dcab['NFXfu'](rename,_0x4f737e,_0x3e7c25);if(_0x5ba42c)try{await rm(_0x5ba42c['path'],{'recursive':!![]}),console[_0x22bfe8(0x133)](_0x22bfe8(0x15c)+_0x5ba42c[_0x22bfe8(0x151)]);}catch{console[_0x22bfe8(0x133)](_0x22bfe8(0x144)+_0x5ba42c['path']);}}try{await writeActiveProfileName(_0x39a64e),console['log'](_0x22bfe8(0x18c)+_0x39a64e);}catch{console[_0x22bfe8(0x133)](_0x29dcab[_0x22bfe8(0x12d)]);}_0x1eec29?.[_0x22bfe8(0x17c)](_0x22bfe8(0x184)),console['log']('\x0a\x20\x20Profile\x20\x22'+_0x39a64e+'\x22\x20configured');}catch(_0xe56388){await _0x29dcab['RZggQ'](rm,_0x4f737e,{'recursive':!![],'force':!![]});throw _0xe56388;}}
@@ -1 +1 @@
1
- (function(_0x3bd769,_0x416f8c){const _0x2c248b=_0x4a64,_0x356242=_0x3bd769();while(!![]){try{const _0x515f82=parseInt(_0x2c248b(0x14b))/0x1*(-parseInt(_0x2c248b(0x13c))/0x2)+-parseInt(_0x2c248b(0x139))/0x3+parseInt(_0x2c248b(0x13a))/0x4*(parseInt(_0x2c248b(0x146))/0x5)+-parseInt(_0x2c248b(0x14e))/0x6*(-parseInt(_0x2c248b(0x13b))/0x7)+-parseInt(_0x2c248b(0x142))/0x8+parseInt(_0x2c248b(0x14a))/0x9*(-parseInt(_0x2c248b(0x138))/0xa)+parseInt(_0x2c248b(0x14d))/0xb;if(_0x515f82===_0x416f8c)break;else _0x356242['push'](_0x356242['shift']());}catch(_0x7b6e74){_0x356242['push'](_0x356242['shift']());}}}(_0x2bc4,0xc7adb));function _0x4a64(_0x358714,_0x253685){_0x358714=_0x358714-0x138;const _0x2bc4e4=_0x2bc4();let _0x4a6461=_0x2bc4e4[_0x358714];return _0x4a6461;}import{readFile,writeFile}from'fs/promises';function _0x2bc4(){const _0xe7463a=['\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','4450220NMRJqb','oxWqE','Profile\x20\x22','.enc','741681yFAwEX','103qcLlLt','log','27073332yULIdN','42xaUluk','10IDrWFU','4585233gMGIxu','4EqDfJR','898051vKgujZ','12982xTSpUR','bPWtn','dSAoS','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','lRDFQ','9216248eVxoxK','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','dyVtg'];_0x2bc4=function(){return _0xe7463a;};return _0x2bc4();}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(_0xc6f8cd){const _0x287c60=_0x4a64,_0x43901c={'dSAoS':function(_0x16966b,_0x4cba93){return _0x16966b(_0x4cba93);},'lRDFQ':function(_0xeb786e,_0x326b10,_0x3566ed){return _0xeb786e(_0x326b10,_0x3566ed);},'fYcaO':'auth.json','dyVtg':function(_0x4bf837,_0x4aec9b){return _0x4bf837+_0x4aec9b;},'oxWqE':_0x287c60(0x149),'bPWtn':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','VSoxK':_0x287c60(0x143)},_0x425d1b=_0x43901c['dSAoS'](getEnvDir,_0xc6f8cd),_0x5c6094=_0x43901c['lRDFQ'](join,_0x425d1b,_0x43901c['fYcaO']),_0x1d9e33=_0x43901c[_0x287c60(0x144)](_0x5c6094,_0x43901c[_0x287c60(0x147)]);if(!_0x43901c[_0x287c60(0x13e)](existsSync,_0x425d1b))throw new Error(_0x287c60(0x148)+_0xc6f8cd+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0xc6f8cd);if(!existsSync(_0x5c6094))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x5c6094+_0x287c60(0x140));const _0x5860f3=await getToken();if(!_0x5860f3)throw new Error(_0x43901c[_0x287c60(0x13d)]);const _0x2da5af=await readFile(_0x5c6094,'utf-8'),_0x426bb9=_0x43901c[_0x287c60(0x141)](encrypt,_0x2da5af,_0x5860f3);await writeFile(_0x1d9e33,_0x426bb9),console['log'](_0x287c60(0x13f)+_0x1d9e33),console[_0x287c60(0x14c)]('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console[_0x287c60(0x14c)](_0x43901c['VSoxK']),_0x43901c[_0x287c60(0x13e)](existsSync,_0x1d9e33)&&(console[_0x287c60(0x14c)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log'](_0x287c60(0x145)));}
1
+ function _0x2f0f(_0x3a7b52,_0x26a2d2){_0x3a7b52=_0x3a7b52-0x70;const _0x21fdd7=_0x21fd();let _0x2f0f69=_0x21fdd7[_0x3a7b52];return _0x2f0f69;}(function(_0x2492b2,_0x5cc92a){const _0x131151=_0x2f0f,_0x1c2889=_0x2492b2();while(!![]){try{const _0x4718f3=parseInt(_0x131151(0x7f))/0x1+-parseInt(_0x131151(0x76))/0x2*(-parseInt(_0x131151(0x7d))/0x3)+-parseInt(_0x131151(0x79))/0x4*(parseInt(_0x131151(0x7c))/0x5)+-parseInt(_0x131151(0x80))/0x6*(-parseInt(_0x131151(0x7a))/0x7)+-parseInt(_0x131151(0x78))/0x8*(-parseInt(_0x131151(0x86))/0x9)+-parseInt(_0x131151(0x71))/0xa+-parseInt(_0x131151(0x83))/0xb;if(_0x4718f3===_0x5cc92a)break;else _0x1c2889['push'](_0x1c2889['shift']());}catch(_0x40d7de){_0x1c2889['push'](_0x1c2889['shift']());}}}(_0x21fd,0xcf20d));import{readFile,writeFile}from'fs/promises';function _0x21fd(){const _0x2c032c=['1194922QCXUWa','3006hovpWf','.enc','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','15963519ZTliHq','AFblg','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','91107egIGcE','KubFB','2560830VYYEzO','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','log','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','utf-8','128248wYHvLt','\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20','1128JWmdFy','12IICIRj','20783hChBcd','lzYVG','2696915iRuuwP','3MQjtdo','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.'];_0x21fd=function(){return _0x2c032c;};return _0x21fd();}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(_0x383fb1){const _0x2d980e=_0x2f0f,_0x1be3f0={'PWBRb':function(_0x289f3b,_0x143f2c){return _0x289f3b(_0x143f2c);},'ipeYd':function(_0xd34fb2,_0x595c59){return _0xd34fb2+_0x595c59;},'KubFB':function(_0x514eca,_0x3eb317,_0x11928a){return _0x514eca(_0x3eb317,_0x11928a);},'lzYVG':_0x2d980e(0x85),'AFblg':function(_0x4b4c66,_0x232019){return _0x4b4c66(_0x232019);}},_0x3f6326=_0x1be3f0['PWBRb'](getEnvDir,_0x383fb1),_0x31e548=join(_0x3f6326,'auth.json'),_0x470136=_0x1be3f0['ipeYd'](_0x31e548,_0x2d980e(0x81));if(!existsSync(_0x3f6326))throw new Error('Profile\x20\x22'+_0x383fb1+_0x2d980e(0x77)+_0x383fb1);if(!_0x1be3f0['PWBRb'](existsSync,_0x31e548))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x31e548+_0x2d980e(0x82));const _0x37f106=await getToken();if(!_0x37f106)throw new Error(_0x2d980e(0x74));const _0x1cfdfe=await _0x1be3f0[_0x2d980e(0x70)](readFile,_0x31e548,_0x2d980e(0x75)),_0x1ab34e=encrypt(_0x1cfdfe,_0x37f106);await writeFile(_0x470136,_0x1ab34e),console[_0x2d980e(0x73)]('\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x470136),console[_0x2d980e(0x73)](_0x1be3f0[_0x2d980e(0x7b)]),console[_0x2d980e(0x73)](_0x2d980e(0x7e)),_0x1be3f0[_0x2d980e(0x84)](existsSync,_0x470136)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x2d980e(0x73)](_0x2d980e(0x72)));}
@@ -1 +1 @@
1
- const _0x34de3f=_0x4f38;function _0x4f38(_0x42e372,_0x357d8e){_0x42e372=_0x42e372-0x107;const _0x3cf72a=_0x3cf7();let _0x4f38be=_0x3cf72a[_0x42e372];return _0x4f38be;}(function(_0x2fe071,_0x115d4d){const _0x5179cc=_0x4f38,_0x22d2b=_0x2fe071();while(!![]){try{const _0x114d78=-parseInt(_0x5179cc(0x135))/0x1+parseInt(_0x5179cc(0x12e))/0x2*(parseInt(_0x5179cc(0x131))/0x3)+parseInt(_0x5179cc(0x120))/0x4*(-parseInt(_0x5179cc(0x117))/0x5)+parseInt(_0x5179cc(0x12a))/0x6*(parseInt(_0x5179cc(0x136))/0x7)+-parseInt(_0x5179cc(0x121))/0x8+parseInt(_0x5179cc(0x122))/0x9+-parseInt(_0x5179cc(0x12c))/0xa;if(_0x114d78===_0x115d4d)break;else _0x22d2b['push'](_0x22d2b['shift']());}catch(_0xb63592){_0x22d2b['push'](_0x22d2b['shift']());}}}(_0x3cf7,0x2fb31));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';function _0x3cf7(){const _0x593a4e=['13240rUqQQm','✓\x20Removed\x20.ranger/\x20directory','TFpOc','kWUQo','✓\x20Removed\x20OpenCode\x20user\x20skill:\x20','replace','UNjLd','ranger','log','52QqHBnH','565856GjETsV','3134268NRyVdL','platform','zaqFo','HZAkl','vRNtW','JkTIt','URmhr','plYti','545598FEgEyb','close','2404930BBDtdd','oArDg','18TqSFEZ','isArray','user','47331yEgRYy','project','kkiIA','uninstall','222018YUuTci','21HeEobD','plugin','PtNAR','✓\x20Removed\x20OpenCode\x20project\x20skill:\x20','HKIHv','push','PvfGl','RCPtQ','length','uXkRA','AQCbt','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','uPNHE','claude','win32','e2e-test-recommender','pipe','pfaCc','Cljjy','✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','✓\x20Removed\x20user\x20skill:\x20','✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','bYnEL'];_0x3cf7=function(){return _0x593a4e;};return _0x3cf7();}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=[_0x34de3f(0x11e),'feature-tracker','bug-bash',_0x34de3f(0x10f)],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x2848d2){const _0x531a42=_0x34de3f,_0x304d8e=_0x2848d2[_0x531a42(0x11c)](/\/\*[\s\S]*?\*\//g,''),_0x254cf4=_0x304d8e[_0x531a42(0x11c)](/^\s*\/\/.*$/gm,''),_0x54bf8c=_0x254cf4[_0x531a42(0x11c)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x54bf8c);}async function removeOpencodePluginConfig(_0xc0d541){const _0x263169=_0x34de3f,_0x50fdc8={'PtNAR':function(_0x4c2be8,_0x4e2778,_0x56d2d6){return _0x4c2be8(_0x4e2778,_0x56d2d6);},'oArDg':function(_0x22ee57,_0xc8b042){return _0x22ee57(_0xc8b042);},'pfaCc':function(_0x2174a6,_0x513d60){return _0x2174a6===_0x513d60;}};if(!existsSync(_0xc0d541))return![];let _0x565316;try{const _0xaacea5=await _0x50fdc8[_0x263169(0x138)](readFile,_0xc0d541,'utf-8');_0x565316=_0x50fdc8[_0x263169(0x12d)](parseJsonc,_0xaacea5);}catch{return![];}const _0x14427b=Array[_0x263169(0x12f)](_0x565316[_0x263169(0x137)])?_0x565316['plugin']:[];if(_0x50fdc8[_0x263169(0x111)](_0x14427b[_0x263169(0x108)],0x0))return![];const _0x5ace1f=_0x14427b['filter'](_0x4a7f42=>{if(typeof _0x4a7f42!=='string')return!![];return _0x4a7f42!==opencodePluginName;});if(_0x5ace1f[_0x263169(0x108)]===_0x14427b['length'])return![];return _0x5ace1f[_0x263169(0x108)]===0x0?delete _0x565316[_0x263169(0x137)]:_0x565316[_0x263169(0x137)]=_0x5ace1f,await writeFile(_0xc0d541,JSON['stringify'](_0x565316,null,0x2)+'\x0a'),!![];}async function uninstallClaudePlugin(_0x5d2955){const _0xd363be=_0x34de3f,_0x1f84ce={'WkeYv':function(_0x1efcad,_0x396fb5){return _0x1efcad===_0x396fb5;},'zaqFo':function(_0x1cd066,_0x33826){return _0x1cd066(_0x33826);},'YoCpi':'plugin','HKIHv':_0xd363be(0x10d),'AQCbt':function(_0xd4fcdf,_0x2ca841){return _0xd4fcdf===_0x2ca841;},'lgfIE':_0xd363be(0x10e)};return new Promise(_0x4ae7eb=>{const _0x50f4d3=_0xd363be,_0x307ea0={'dIUdn':function(_0x2d81f5,_0x2152d3){return _0x2d81f5(_0x2152d3);},'DrpmG':function(_0x44794a,_0x93d4d8){return _0x1f84ce['WkeYv'](_0x44794a,_0x93d4d8);},'kWUQo':function(_0x45d326,_0x1af80d){const _0x13d616=_0x4f38;return _0x1f84ce[_0x13d616(0x124)](_0x45d326,_0x1af80d);}},_0xfb70c8=[_0x1f84ce['YoCpi'],_0x50f4d3(0x134),'ranger@trailhead'];_0x5d2955&&_0xfb70c8[_0x50f4d3(0x13b)]('--scope',_0x5d2955);const _0x265235=spawn(_0x1f84ce[_0x50f4d3(0x13a)],_0xfb70c8,{'stdio':'pipe','shell':_0x1f84ce[_0x50f4d3(0x10a)](process['platform'],_0x1f84ce['lgfIE'])});_0x265235['on'](_0x50f4d3(0x12b),_0x590a4b=>{_0x307ea0['dIUdn'](_0x4ae7eb,_0x307ea0['DrpmG'](_0x590a4b,0x0));}),_0x265235['on']('error',()=>{const _0x35644f=_0x50f4d3;_0x307ea0[_0x35644f(0x11a)](_0x4ae7eb,![]);});});}async function removeMarketplace(){const _0x16d71e=_0x34de3f,_0x532822={'URmhr':'plugin','hlCqD':'remove','nIfRr':'trailhead','WAfNI':function(_0x46b49a,_0x2ee2e0){return _0x46b49a===_0x2ee2e0;},'GnvdW':'win32','XqhmB':_0x16d71e(0x12b)};return new Promise(_0x12898=>{const _0x4de55f=_0x16d71e,_0x188f9f={'RCPtQ':function(_0x1df90b,_0x5e27e4){return _0x1df90b(_0x5e27e4);}},_0xdd36af=spawn(_0x4de55f(0x10d),[_0x532822[_0x4de55f(0x128)],'marketplace',_0x532822['hlCqD'],_0x532822['nIfRr']],{'stdio':_0x4de55f(0x110),'shell':_0x532822['WAfNI'](process[_0x4de55f(0x123)],_0x532822['GnvdW'])});_0xdd36af['on'](_0x532822['XqhmB'],_0x2702b6=>{const _0x2de97f=_0x4de55f;_0x188f9f[_0x2de97f(0x107)](_0x12898,_0x2702b6===0x0);}),_0xdd36af['on']('error',()=>{_0x12898(![]);});});}export async function clean(){const _0x5ba769=_0x34de3f,_0x54a681={'kkiIA':_0x5ba769(0x10b),'TFpOc':function(_0x4721e5){return _0x4721e5();},'YEEIT':function(_0x21f2ee,_0xc4199d){return _0x21f2ee(_0xc4199d);},'HZAkl':function(_0x5bf2c1,_0x16ec9a){return _0x5bf2c1(_0x16ec9a);},'vRNtW':function(_0x16fb0e,_0x39f940){return _0x16fb0e(_0x39f940);},'JkTIt':function(_0x444960,_0x38feb7,_0x243eef){return _0x444960(_0x38feb7,_0x243eef);},'HfzGX':_0x5ba769(0x118),'NCLru':function(_0x3336e0,_0x1860a7,_0x31ea6e){return _0x3336e0(_0x1860a7,_0x31ea6e);},'plYti':function(_0x142ac9,_0x3bee43){return _0x142ac9(_0x3bee43);},'UNjLd':function(_0x2a5281,_0x35c69c){return _0x2a5281(_0x35c69c);},'bYnEL':_0x5ba769(0x132),'Cljjy':function(_0x5c7901,_0x4ba037){return _0x5c7901(_0x4ba037);},'uPNHE':_0x5ba769(0x130),'PvfGl':function(_0x5429da,_0x18cfa2){return _0x5429da(_0x18cfa2);},'nwJXm':function(_0x3e4a2f){return _0x3e4a2f();},'VgePv':function(_0x1735c1,_0x4f9a77){return _0x1735c1(_0x4f9a77);},'uXkRA':'✓\x20Removed\x20trailhead\x20marketplace','rfozg':'\x0a✅\x20Cleanup\x20complete!\x0a','hXKHC':'Nothing\x20to\x20clean\x20up.\x0a'};console['log'](_0x54a681[_0x5ba769(0x133)]);let _0x49ecd0=![];try{await _0x54a681[_0x5ba769(0x119)](deleteAllCredentials),console[_0x5ba769(0x11f)]('✓\x20Removed\x20stored\x20credentials'),_0x49ecd0=!![];}catch{}const _0x578e1b=_0x54a681[_0x5ba769(0x119)](getCacheFile);_0x54a681['YEEIT'](existsSync,_0x578e1b)&&(await _0x54a681['HZAkl'](rm,_0x578e1b),_0x49ecd0=!![]);const _0xe57705=_0x54a681['TFpOc'](getRangerDir);_0x54a681[_0x5ba769(0x126)](existsSync,_0xe57705)&&(await _0x54a681[_0x5ba769(0x127)](rm,_0xe57705,{'recursive':!![]}),console[_0x5ba769(0x11f)](_0x54a681['HfzGX']),_0x49ecd0=!![]);const _0xafb522=_0x54a681['TFpOc'](getProjectSkillsDir);for(const _0x43ac24 of skillsToRemove){const _0xc84a1b=_0x54a681['NCLru'](join,_0xafb522,_0x43ac24);_0x54a681[_0x5ba769(0x129)](existsSync,_0xc84a1b)&&(await rm(_0xc84a1b,{'recursive':!![]}),console['log']('✓\x20Removed\x20project\x20skill:\x20'+_0x43ac24),_0x49ecd0=!![]);}const _0x48cf29=getUserSkillsDir();for(const _0x10887a of skillsToRemove){const _0x1c865e=join(_0x48cf29,_0x10887a);_0x54a681[_0x5ba769(0x11d)](existsSync,_0x1c865e)&&(await rm(_0x1c865e,{'recursive':!![]}),console['log'](_0x5ba769(0x114)+_0x10887a),_0x49ecd0=!![]);}const _0x4d1b5e=getOpencodeSkillsDir(_0x54a681[_0x5ba769(0x116)]);for(const _0x94a21b of skillsToRemove){const _0x39aa9c=_0x54a681['JkTIt'](join,_0x4d1b5e,_0x94a21b);_0x54a681[_0x5ba769(0x112)](existsSync,_0x39aa9c)&&(await rm(_0x39aa9c,{'recursive':!![]}),console['log'](_0x5ba769(0x139)+_0x94a21b),_0x49ecd0=!![]);}const _0x51a2f9=getOpencodeSkillsDir(_0x54a681[_0x5ba769(0x10c)]);for(const _0x1a3754 of skillsToRemove){const _0x33b5d6=join(_0x51a2f9,_0x1a3754);existsSync(_0x33b5d6)&&(await rm(_0x33b5d6,{'recursive':!![]}),console[_0x5ba769(0x11f)](_0x5ba769(0x11b)+_0x1a3754),_0x49ecd0=!![]);}const _0xf7efc3=join(getOpencodeConfigDir(_0x5ba769(0x132)),'opencode.json');await removeOpencodePluginConfig(_0xf7efc3)&&(console[_0x5ba769(0x11f)]('✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x49ecd0=!![]);const _0x3f467b=join(_0x54a681[_0x5ba769(0x125)](getOpencodeConfigDir,'user'),'opencode.json');await _0x54a681[_0x5ba769(0x13c)](removeOpencodePluginConfig,_0x3f467b)&&(console[_0x5ba769(0x11f)](_0x5ba769(0x113)),_0x49ecd0=!![]);const _0x462978=await _0x54a681['nwJXm'](uninstallClaudePlugin);_0x462978&&(console['log'](_0x5ba769(0x115)),_0x49ecd0=!![]);const _0x3a3016=await _0x54a681['VgePv'](uninstallClaudePlugin,_0x54a681['bYnEL']);_0x3a3016&&(console[_0x5ba769(0x11f)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x49ecd0=!![]);const _0x38f6b8=await _0x54a681[_0x5ba769(0x119)](removeMarketplace);_0x38f6b8&&(console[_0x5ba769(0x11f)](_0x54a681[_0x5ba769(0x109)]),_0x49ecd0=!![]),_0x49ecd0?console['log'](_0x54a681['rfozg']):console[_0x5ba769(0x11f)](_0x54a681['hXKHC']);}
1
+ const _0x50d187=_0x5022;(function(_0x516a92,_0x5131bd){const _0x2854c8=_0x5022,_0x2b5ede=_0x516a92();while(!![]){try{const _0x59b2a9=parseInt(_0x2854c8(0x1c5))/0x1+-parseInt(_0x2854c8(0x1bd))/0x2+-parseInt(_0x2854c8(0x1d1))/0x3*(-parseInt(_0x2854c8(0x1c6))/0x4)+-parseInt(_0x2854c8(0x1af))/0x5+-parseInt(_0x2854c8(0x1ab))/0x6+-parseInt(_0x2854c8(0x1b6))/0x7*(-parseInt(_0x2854c8(0x1c1))/0x8)+parseInt(_0x2854c8(0x1a0))/0x9*(parseInt(_0x2854c8(0x1a2))/0xa);if(_0x59b2a9===_0x5131bd)break;else _0x2b5ede['push'](_0x2b5ede['shift']());}catch(_0x5778e5){_0x2b5ede['push'](_0x2b5ede['shift']());}}}(_0x28bc,0xc6d1e));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';function _0x28bc(){const _0x236296=['Nothing\x20to\x20clean\x20up.\x0a','log','oyfeo','✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','BNceo','ranger','sKorS','@ranger-testing/opencode-plugin','3evXrUB','push','jbtoq','uninstall','JYUdI','claude','RVSlE','sVzHd','✓\x20Removed\x20OpenCode\x20user\x20skill:\x20','marketplace','length','rPpgP','mISrr','Snmdx','QChGK','HbLrM','pipe','59130gpbUGc','e2e-test-recommender','3070XOATYU','✓\x20Removed\x20OpenCode\x20project\x20skill:\x20','parse','win32','project','TrZIC','CCOwx','bug-bash','stringify','3615060HZflnt','✓\x20Removed\x20user\x20skill:\x20','utf-8','taYjs','671405ihcPEF','error','plugin','filter','--scope','✓\x20Removed\x20trailhead\x20marketplace','isArray','383978lGfUkg','platform','✓\x20Removed\x20project\x20skill:\x20','ThKIK','string','oKdQo','user','3028748vXteId','CVoOK','vKbbt','kuGZl','8hBXZTs','replace','rfYbW','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','943304JHLzJY','201532GNLfQV','✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','yGSMz'];_0x28bc=function(){return _0x236296;};return _0x28bc();}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';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=[_0x50d187(0x1ce),'feature-tracker',_0x50d187(0x1a9),_0x50d187(0x1a1)],opencodePluginName=_0x50d187(0x1d0);function parseJsonc(_0x150f59){const _0x322661=_0x50d187,_0x34d530=_0x150f59['replace'](/\/\*[\s\S]*?\*\//g,''),_0x1b4280=_0x34d530[_0x322661(0x1c2)](/^\s*\/\/.*$/gm,''),_0x3bc68a=_0x1b4280[_0x322661(0x1c2)](/,\s*([}\]])/g,'$1');return JSON[_0x322661(0x1a4)](_0x3bc68a);}async function removeOpencodePluginConfig(_0x2e6b47){const _0x360dc5=_0x50d187,_0x3c751e={'RvMVM':function(_0x311f59,_0x1e8708){return _0x311f59!==_0x1e8708;},'QChGK':_0x360dc5(0x1ba),'mISrr':function(_0x3c9ad8,_0x2e5850,_0x34adae){return _0x3c9ad8(_0x2e5850,_0x34adae);},'yGSMz':_0x360dc5(0x1ad),'NamlL':function(_0x4806a8,_0x2e53f0){return _0x4806a8===_0x2e53f0;},'jbtoq':function(_0x2cefb8,_0x137ab7){return _0x2cefb8+_0x137ab7;}};if(!existsSync(_0x2e6b47))return![];let _0x53e87f;try{const _0x5b9ecd=await _0x3c751e[_0x360dc5(0x1dd)](readFile,_0x2e6b47,_0x3c751e[_0x360dc5(0x1c8)]);_0x53e87f=parseJsonc(_0x5b9ecd);}catch{return![];}const _0x3c2040=Array[_0x360dc5(0x1b5)](_0x53e87f[_0x360dc5(0x1b1)])?_0x53e87f['plugin']:[];if(_0x3c751e['NamlL'](_0x3c2040['length'],0x0))return![];const _0x34dc41=_0x3c2040[_0x360dc5(0x1b2)](_0xb78a02=>{const _0x3a1f15=_0x360dc5;if(_0x3c751e['RvMVM'](typeof _0xb78a02,_0x3c751e[_0x3a1f15(0x19d)]))return!![];return _0xb78a02!==opencodePluginName;});if(_0x3c751e['NamlL'](_0x34dc41[_0x360dc5(0x1db)],_0x3c2040['length']))return![];return _0x34dc41['length']===0x0?delete _0x53e87f['plugin']:_0x53e87f['plugin']=_0x34dc41,await writeFile(_0x2e6b47,_0x3c751e[_0x360dc5(0x1d3)](JSON[_0x360dc5(0x1aa)](_0x53e87f,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x820056){const _0x3c9981=_0x50d187,_0x5d1617={'lJTBY':function(_0x4d887c,_0x3599d1){return _0x4d887c(_0x3599d1);},'rfYbW':'plugin','IrvOH':function(_0x46e0b4,_0x3a9736,_0x4eb517,_0x51ea92){return _0x46e0b4(_0x3a9736,_0x4eb517,_0x51ea92);},'drdvt':_0x3c9981(0x1d6),'gsWws':function(_0x4ee1f8,_0x4eb8ad){return _0x4ee1f8===_0x4eb8ad;},'VlKSY':_0x3c9981(0x1a5),'omKKF':'close','KqNhk':_0x3c9981(0x1b0)};return new Promise(_0x307e41=>{const _0x21b86e=_0x3c9981,_0xdcff72={'RVSlE':function(_0x18fc8a,_0x520c8a){return _0x18fc8a(_0x520c8a);},'HbLrM':function(_0xba6e8c,_0x45d78e){return _0x5d1617['lJTBY'](_0xba6e8c,_0x45d78e);}},_0x1ab821=[_0x5d1617[_0x21b86e(0x1c3)],_0x21b86e(0x1d4),'ranger@trailhead'];_0x820056&&_0x1ab821[_0x21b86e(0x1d2)](_0x21b86e(0x1b3),_0x820056);const _0x1a47df=_0x5d1617['IrvOH'](spawn,_0x5d1617['drdvt'],_0x1ab821,{'stdio':'pipe','shell':_0x5d1617['gsWws'](process['platform'],_0x5d1617['VlKSY'])});_0x1a47df['on'](_0x5d1617['omKKF'],_0x4c03dc=>{const _0x2f651d=_0x21b86e;_0xdcff72[_0x2f651d(0x1d7)](_0x307e41,_0x4c03dc===0x0);}),_0x1a47df['on'](_0x5d1617['KqNhk'],()=>{const _0x422909=_0x21b86e;_0xdcff72[_0x422909(0x19e)](_0x307e41,![]);});});}function _0x5022(_0x3b3862,_0x4d2e1a){_0x3b3862=_0x3b3862-0x19c;const _0x28bce3=_0x28bc();let _0x5022cb=_0x28bce3[_0x3b3862];return _0x5022cb;}async function removeMarketplace(){const _0x21d7d2=_0x50d187,_0x514459={'sVzHd':function(_0x1a66d0,_0x33edf4){return _0x1a66d0(_0x33edf4);},'TrZIC':'claude','fFOSW':_0x21d7d2(0x1da),'CVoOK':'trailhead','MldZS':_0x21d7d2(0x19f),'JYUdI':function(_0x5ea814,_0x4ea8bf){return _0x5ea814===_0x4ea8bf;},'yeteo':'win32','OiASz':'close','oKdQo':_0x21d7d2(0x1b0)};return new Promise(_0x51fbe6=>{const _0x35e8da=_0x21d7d2,_0xd707b=spawn(_0x514459[_0x35e8da(0x1a7)],[_0x35e8da(0x1b1),_0x514459['fFOSW'],'remove',_0x514459[_0x35e8da(0x1be)]],{'stdio':_0x514459['MldZS'],'shell':_0x514459[_0x35e8da(0x1d5)](process[_0x35e8da(0x1b7)],_0x514459['yeteo'])});_0xd707b['on'](_0x514459['OiASz'],_0x4c374d=>{const _0x532247=_0x35e8da;_0x514459[_0x532247(0x1d8)](_0x51fbe6,_0x4c374d===0x0);}),_0xd707b['on'](_0x514459[_0x35e8da(0x1bb)],()=>{_0x51fbe6(![]);});});}export async function clean(){const _0xc88940=_0x50d187,_0x26f20f={'BNceo':_0xc88940(0x1c4),'vKbbt':'✓\x20Removed\x20stored\x20credentials','Snmdx':function(_0x6f9f7b){return _0x6f9f7b();},'yPFAs':function(_0x1484e0){return _0x1484e0();},'JrYfR':'✓\x20Removed\x20.ranger/\x20directory','mzwqh':function(_0x29361b,_0x3534b0,_0xad27fa){return _0x29361b(_0x3534b0,_0xad27fa);},'CCOwx':function(_0x5a607b,_0x5b77f5){return _0x5a607b(_0x5b77f5);},'krReT':function(_0x3ec408){return _0x3ec408();},'JeRyv':function(_0x1e5fa2,_0x3332d4,_0x2e3c60){return _0x1e5fa2(_0x3332d4,_0x2e3c60);},'rPpgP':function(_0x5ec50a,_0x4f73af){return _0x5ec50a(_0x4f73af);},'sKorS':function(_0x1d59f5,_0x29b487,_0x2f1f95){return _0x1d59f5(_0x29b487,_0x2f1f95);},'ThKIK':_0xc88940(0x1bc),'lukoJ':function(_0x578aa5,_0x2b840d,_0x4478f6){return _0x578aa5(_0x2b840d,_0x4478f6);},'taYjs':function(_0x575214,_0x4e4b25){return _0x575214(_0x4e4b25);},'oyfeo':'opencode.json','RpmLV':_0xc88940(0x1c7),'kuGZl':function(_0x160c40,_0xae032a,_0x4b8b1c){return _0x160c40(_0xae032a,_0x4b8b1c);},'eQPdg':function(_0x528bd4,_0x14d18d){return _0x528bd4(_0x14d18d);},'GwbYC':_0xc88940(0x1cc),'QTkYR':function(_0x440d02){return _0x440d02();},'sQuFR':'✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','qfuaR':_0xc88940(0x1b4)};console[_0xc88940(0x1ca)](_0x26f20f[_0xc88940(0x1cd)]);let _0x74ef21=![];try{await deleteAllCredentials(),console[_0xc88940(0x1ca)](_0x26f20f[_0xc88940(0x1bf)]),_0x74ef21=!![];}catch{}const _0x1b8418=_0x26f20f[_0xc88940(0x19c)](getCacheFile);existsSync(_0x1b8418)&&(await rm(_0x1b8418),_0x74ef21=!![]);const _0x46448a=_0x26f20f['yPFAs'](getRangerDir);existsSync(_0x46448a)&&(await rm(_0x46448a,{'recursive':!![]}),console['log'](_0x26f20f['JrYfR']),_0x74ef21=!![]);const _0xc66ab2=getProjectSkillsDir();for(const _0x469525 of skillsToRemove){const _0x3f1646=_0x26f20f['mzwqh'](join,_0xc66ab2,_0x469525);_0x26f20f['CCOwx'](existsSync,_0x3f1646)&&(await rm(_0x3f1646,{'recursive':!![]}),console[_0xc88940(0x1ca)](_0xc88940(0x1b8)+_0x469525),_0x74ef21=!![]);}const _0x5d77dc=_0x26f20f['krReT'](getUserSkillsDir);for(const _0x452cd2 of skillsToRemove){const _0x41191d=_0x26f20f['JeRyv'](join,_0x5d77dc,_0x452cd2);_0x26f20f['rPpgP'](existsSync,_0x41191d)&&(await rm(_0x41191d,{'recursive':!![]}),console['log'](_0xc88940(0x1ac)+_0x452cd2),_0x74ef21=!![]);}const _0x3307b7=_0x26f20f['rPpgP'](getOpencodeSkillsDir,_0xc88940(0x1a6));for(const _0x1a84dc of skillsToRemove){const _0xec09b2=_0x26f20f[_0xc88940(0x1cf)](join,_0x3307b7,_0x1a84dc);_0x26f20f['CCOwx'](existsSync,_0xec09b2)&&(await rm(_0xec09b2,{'recursive':!![]}),console[_0xc88940(0x1ca)](_0xc88940(0x1a3)+_0x1a84dc),_0x74ef21=!![]);}const _0x245dab=_0x26f20f[_0xc88940(0x1dc)](getOpencodeSkillsDir,_0x26f20f[_0xc88940(0x1b9)]);for(const _0x3aa80d of skillsToRemove){const _0x59af93=_0x26f20f['mzwqh'](join,_0x245dab,_0x3aa80d);existsSync(_0x59af93)&&(await _0x26f20f['JeRyv'](rm,_0x59af93,{'recursive':!![]}),console['log'](_0xc88940(0x1d9)+_0x3aa80d),_0x74ef21=!![]);}const _0x3f7fb5=_0x26f20f['lukoJ'](join,_0x26f20f[_0xc88940(0x1ae)](getOpencodeConfigDir,_0xc88940(0x1a6)),_0x26f20f[_0xc88940(0x1cb)]);await removeOpencodePluginConfig(_0x3f7fb5)&&(console['log'](_0x26f20f['RpmLV']),_0x74ef21=!![]);const _0x4a2e4c=_0x26f20f[_0xc88940(0x1c0)](join,_0x26f20f['eQPdg'](getOpencodeConfigDir,_0x26f20f[_0xc88940(0x1b9)]),_0x26f20f['oyfeo']);await removeOpencodePluginConfig(_0x4a2e4c)&&(console['log'](_0x26f20f['GwbYC']),_0x74ef21=!![]);const _0x5ec22e=await _0x26f20f['QTkYR'](uninstallClaudePlugin);_0x5ec22e&&(console['log'](_0x26f20f['sQuFR']),_0x74ef21=!![]);const _0x30928e=await _0x26f20f[_0xc88940(0x1a8)](uninstallClaudePlugin,'project');_0x30928e&&(console['log']('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x74ef21=!![]);const _0x4106c8=await removeMarketplace();_0x4106c8&&(console['log'](_0x26f20f['qfuaR']),_0x74ef21=!![]),_0x74ef21?console[_0xc88940(0x1ca)]('\x0a✅\x20Cleanup\x20complete!\x0a'):console['log'](_0xc88940(0x1c9));}
@@ -1 +1 @@
1
- function _0x5410(){const _0x53b813=['Profile\x20\x22','\x20=\x20','No\x20configuration\x20set\x20for\x20\x22','26jjSyPG','2036395TxabtX','1616223OxnhNh','allowInsecureLocalhost','63846QOoVrZ','\x22\x20not\x20found','175724rrcebT','headless','Key\x20\x22','45711SvAKJi','6RLoPwc','BDGPL','Set\x20','\x22\x20does\x20not\x20exist.','Bhmvg','log','NYxQx','13947872zKxOnG','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','6749343uykrUn','dNzXN','qEXBI'];_0x5410=function(){return _0x53b813;};return _0x5410();}const _0x2d3554=_0x317f;(function(_0x5c20f5,_0x1b0913){const _0x3a9984=_0x317f,_0x1aef25=_0x5c20f5();while(!![]){try{const _0x325186=parseInt(_0x3a9984(0x1fd))/0x1*(parseInt(_0x3a9984(0x1f4))/0x2)+-parseInt(_0x3a9984(0x1f8))/0x3+-parseInt(_0x3a9984(0x1fa))/0x4+-parseInt(_0x3a9984(0x1f5))/0x5*(parseInt(_0x3a9984(0x1fe))/0x6)+-parseInt(_0x3a9984(0x1f6))/0x7+parseInt(_0x3a9984(0x205))/0x8+-parseInt(_0x3a9984(0x1ee))/0x9;if(_0x325186===_0x1b0913)break;else _0x1aef25['push'](_0x1aef25['shift']());}catch(_0x31ea7e){_0x1aef25['push'](_0x1aef25['shift']());}}}(_0x5410,0xd7ec3));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x2d3554(0x1fb),_0x2d3554(0x1f7)];function parseValue(_0x5da4d7,_0x4741af){if(BOOLEAN_KEYS['includes'](_0x5da4d7)){if(_0x4741af==='true')return!![];if(_0x4741af==='false')return![];throw new Error('Invalid\x20value\x20for\x20'+_0x5da4d7+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x4741af;}export async function configSet(_0x7157a6,_0x11501a,_0x41881c){const _0x1c1269=_0x2d3554,_0x4700c0={'aeduW':function(_0x38dce0,_0xa130ff){return _0x38dce0(_0xa130ff);},'qsavn':function(_0x4a64a5,_0x1b3ae3){return _0x4a64a5(_0x1b3ae3);},'xEUpv':function(_0x3468c0,_0x36c518,_0x32cc51){return _0x3468c0(_0x36c518,_0x32cc51);}},_0x2cce78=getEnvDir(_0x7157a6);if(!_0x4700c0['aeduW'](existsSync,_0x2cce78))throw new Error(_0x1c1269(0x1f1)+_0x7157a6+_0x1c1269(0x1ed)+_0x7157a6);const _0x3dee90=await _0x4700c0['qsavn'](loadSettings,_0x7157a6),_0x4726f9=parseValue(_0x11501a,_0x41881c);setNestedValue(_0x3dee90,_0x11501a,_0x4726f9),await _0x4700c0['xEUpv'](saveSettings,_0x7157a6,_0x3dee90),console[_0x1c1269(0x203)](_0x1c1269(0x200)+_0x11501a+_0x1c1269(0x1f2)+_0x4726f9);}export async function configGet(_0x49265e,_0x5ddd28){const _0x44232c=_0x2d3554,_0x46e53d={'NYxQx':function(_0x5c5f14,_0x3cddc3){return _0x5c5f14(_0x3cddc3);},'Bhmvg':function(_0x1e0e15,_0x122cd7){return _0x1e0e15(_0x122cd7);}},_0x3cb4ea=getEnvDir(_0x49265e);if(!_0x46e53d[_0x44232c(0x204)](existsSync,_0x3cb4ea))throw new Error(_0x44232c(0x1f1)+_0x49265e+'\x22\x20does\x20not\x20exist.');const _0x211ec0=await _0x46e53d[_0x44232c(0x202)](loadSettings,_0x49265e),_0x421f40=getNestedValue(_0x211ec0,_0x5ddd28);if(_0x421f40===undefined)console['log']('(not\x20set)');else typeof _0x421f40==='object'?console['log'](JSON['stringify'](_0x421f40,null,0x2)):console['log'](_0x421f40);}export async function configList(_0x464792){const _0x2e17ed=_0x2d3554,_0x3bed64={'kLOnO':function(_0x3eca3a,_0x4cf9d8){return _0x3eca3a(_0x4cf9d8);},'qEXBI':function(_0x28e302,_0x17ea7b){return _0x28e302(_0x17ea7b);}},_0x5c139b=getSettingsPath(_0x464792);if(!_0x3bed64['kLOnO'](existsSync,_0x5c139b)){const _0x2b4f3a=_0x3bed64['kLOnO'](getEnvDir,_0x464792);if(!_0x3bed64['qEXBI'](existsSync,_0x2b4f3a))throw new Error(_0x2e17ed(0x1f1)+_0x464792+'\x22\x20does\x20not\x20exist.');console[_0x2e17ed(0x203)]('No\x20configuration\x20set\x20for\x20\x22'+_0x464792+'\x22');return;}const _0x543d46=await loadSettings(_0x464792),_0x2544e7=_0x3bed64[_0x2e17ed(0x1f0)](formatSettings,_0x543d46);!_0x2544e7?console[_0x2e17ed(0x203)](_0x2e17ed(0x1f3)+_0x464792+'\x22'):console['log'](_0x2544e7);}function _0x317f(_0x29206e,_0x287a9b){_0x29206e=_0x29206e-0x1ed;const _0x5410e1=_0x5410();let _0x317f78=_0x5410e1[_0x29206e];return _0x317f78;}export async function configUnset(_0x4a63d5,_0x204ca2){const _0x1be13d=_0x2d3554,_0x1b8492={'dNzXN':function(_0x2116b2,_0x245024){return _0x2116b2(_0x245024);},'IAAXd':function(_0x34bbe7,_0x324dc){return _0x34bbe7(_0x324dc);},'BDGPL':function(_0x2f4d9e,_0x55f4e1,_0x1f2285){return _0x2f4d9e(_0x55f4e1,_0x1f2285);}},_0x2b7490=_0x1b8492[_0x1be13d(0x1ef)](getEnvDir,_0x4a63d5);if(!_0x1b8492['IAAXd'](existsSync,_0x2b7490))throw new Error(_0x1be13d(0x1f1)+_0x4a63d5+_0x1be13d(0x201));const _0x2e558d=await loadSettings(_0x4a63d5),_0x2acfff=_0x1b8492[_0x1be13d(0x1ff)](deleteNestedValue,_0x2e558d,_0x204ca2);_0x2acfff?(await saveSettings(_0x4a63d5,_0x2e558d),console['log']('Removed\x20'+_0x204ca2)):console[_0x1be13d(0x203)](_0x1be13d(0x1fc)+_0x204ca2+_0x1be13d(0x1f9));}
1
+ const _0x546371=_0x1512;(function(_0x9f04b3,_0x59a73e){const _0x12a9e6=_0x1512,_0x5126ec=_0x9f04b3();while(!![]){try{const _0x5e96ec=parseInt(_0x12a9e6(0x188))/0x1+-parseInt(_0x12a9e6(0x174))/0x2*(-parseInt(_0x12a9e6(0x185))/0x3)+-parseInt(_0x12a9e6(0x17a))/0x4+parseInt(_0x12a9e6(0x172))/0x5*(-parseInt(_0x12a9e6(0x17e))/0x6)+-parseInt(_0x12a9e6(0x18a))/0x7+-parseInt(_0x12a9e6(0x17b))/0x8+parseInt(_0x12a9e6(0x175))/0x9;if(_0x5e96ec===_0x59a73e)break;else _0x5126ec['push'](_0x5126ec['shift']());}catch(_0x4c3b97){_0x5126ec['push'](_0x5126ec['shift']());}}}(_0x1046,0x26e95));function _0x1512(_0x4ed312,_0x25db68){_0x4ed312=_0x4ed312-0x16f;const _0x1046dd=_0x1046();let _0x1512e7=_0x1046dd[_0x4ed312];return _0x1512e7;}import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x546371(0x182),_0x546371(0x173)];function parseValue(_0x3924ba,_0x3f5716){const _0x16694c=_0x546371,_0x128678={'woyEE':function(_0x2d76c2,_0x5a4443){return _0x2d76c2===_0x5a4443;},'KhTge':_0x16694c(0x17d),'xeIfL':'false'};if(BOOLEAN_KEYS[_0x16694c(0x184)](_0x3924ba)){if(_0x128678[_0x16694c(0x189)](_0x3f5716,_0x128678[_0x16694c(0x187)]))return!![];if(_0x128678['woyEE'](_0x3f5716,_0x128678['xeIfL']))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x3924ba+_0x16694c(0x181));}return _0x3f5716;}function _0x1046(){const _0x5dde45=['\x22\x20does\x20not\x20exist.',':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22','headless','Set\x20','includes','321225gLIENk','FvVea','KhTge','132123BLMoMX','woyEE','1951201hhaRuZ','\x22\x20not\x20found','\x20=\x20','Key\x20\x22','1032380JeMZeW','allowInsecureLocalhost','2geWuoX','7833771MyNUng','log','Removed\x20','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','bhsiQ','1100492Hintez','1519152BTzuYl','Profile\x20\x22','true','6IvECou','FFXnB'];_0x1046=function(){return _0x5dde45;};return _0x1046();}export async function configSet(_0x5b9fd9,_0x2bfeae,_0x55fc19){const _0x2ae4d4=_0x546371,_0x2b7df={'kpLfw':function(_0x36f5c3,_0x1aa83a,_0x2b89ab,_0x2e5f2f){return _0x36f5c3(_0x1aa83a,_0x2b89ab,_0x2e5f2f);},'ESkgZ':function(_0x5d5c94,_0x3c0177,_0xa0bea2){return _0x5d5c94(_0x3c0177,_0xa0bea2);}},_0x28bd52=getEnvDir(_0x5b9fd9);if(!existsSync(_0x28bd52))throw new Error(_0x2ae4d4(0x17c)+_0x5b9fd9+_0x2ae4d4(0x178)+_0x5b9fd9);const _0x2128cc=await loadSettings(_0x5b9fd9),_0x5c69bd=parseValue(_0x2bfeae,_0x55fc19);_0x2b7df['kpLfw'](setNestedValue,_0x2128cc,_0x2bfeae,_0x5c69bd),await _0x2b7df['ESkgZ'](saveSettings,_0x5b9fd9,_0x2128cc),console[_0x2ae4d4(0x176)](_0x2ae4d4(0x183)+_0x2bfeae+_0x2ae4d4(0x170)+_0x5c69bd);}export async function configGet(_0x150d24,_0xddab03){const _0x199d19=_0x546371,_0x171370={'UFsFj':function(_0x4a8a34,_0x197401){return _0x4a8a34(_0x197401);},'pwWLv':function(_0x2154eb,_0x3cc9a3,_0x1772c0){return _0x2154eb(_0x3cc9a3,_0x1772c0);},'bhsiQ':function(_0x33deeb,_0x42c0cb){return _0x33deeb===_0x42c0cb;},'FFXnB':'object'},_0x298983=getEnvDir(_0x150d24);if(!_0x171370['UFsFj'](existsSync,_0x298983))throw new Error('Profile\x20\x22'+_0x150d24+_0x199d19(0x180));const _0x1672a6=await loadSettings(_0x150d24),_0x301a45=_0x171370['pwWLv'](getNestedValue,_0x1672a6,_0xddab03);if(_0x171370[_0x199d19(0x179)](_0x301a45,undefined))console['log']('(not\x20set)');else _0x171370[_0x199d19(0x179)](typeof _0x301a45,_0x171370[_0x199d19(0x17f)])?console[_0x199d19(0x176)](JSON['stringify'](_0x301a45,null,0x2)):console['log'](_0x301a45);}export async function configList(_0x133a2f){const _0xc665c4=_0x546371,_0x36679d={'SODSX':function(_0x5cac1e,_0x4d9efe){return _0x5cac1e(_0x4d9efe);}},_0x384c4d=_0x36679d['SODSX'](getSettingsPath,_0x133a2f);if(!existsSync(_0x384c4d)){const _0x348c30=getEnvDir(_0x133a2f);if(!existsSync(_0x348c30))throw new Error(_0xc665c4(0x17c)+_0x133a2f+_0xc665c4(0x180));console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x133a2f+'\x22');return;}const _0x25a8ca=await loadSettings(_0x133a2f),_0xb19b86=_0x36679d['SODSX'](formatSettings,_0x25a8ca);!_0xb19b86?console[_0xc665c4(0x176)]('No\x20configuration\x20set\x20for\x20\x22'+_0x133a2f+'\x22'):console['log'](_0xb19b86);}export async function configUnset(_0x5ec1a8,_0x3e858a){const _0x31063c=_0x546371,_0xae54af={'FvVea':function(_0x20607d,_0x3cdab5){return _0x20607d(_0x3cdab5);},'ncVdN':function(_0x47d35b,_0x44b7bf){return _0x47d35b(_0x44b7bf);},'CyAVH':function(_0x1e2a52,_0x574b7f,_0xebc9f6){return _0x1e2a52(_0x574b7f,_0xebc9f6);}},_0x563b3a=_0xae54af[_0x31063c(0x186)](getEnvDir,_0x5ec1a8);if(!_0xae54af['ncVdN'](existsSync,_0x563b3a))throw new Error(_0x31063c(0x17c)+_0x5ec1a8+'\x22\x20does\x20not\x20exist.');const _0x4eb624=await loadSettings(_0x5ec1a8),_0x40d21f=_0xae54af['CyAVH'](deleteNestedValue,_0x4eb624,_0x3e858a);_0x40d21f?(await _0xae54af['CyAVH'](saveSettings,_0x5ec1a8,_0x4eb624),console[_0x31063c(0x176)](_0x31063c(0x177)+_0x3e858a)):console['log'](_0x31063c(0x171)+_0x3e858a+_0x31063c(0x16f));}