@ranger-testing/ranger-cli 2.0.6 → 2.0.7

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 (59) 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/setupCi.js +1 -1
  25. package/build/commands/skillup.js +1 -1
  26. package/build/commands/start.js +1 -1
  27. package/build/commands/status.js +1 -1
  28. package/build/commands/update.js +1 -1
  29. package/build/commands/updateEnv.js +1 -1
  30. package/build/commands/useEnv.js +1 -1
  31. package/build/commands/utils/activeProfile.js +1 -1
  32. package/build/commands/utils/browserSessionsApi.js +1 -1
  33. package/build/commands/utils/claudeConfig.js +1 -1
  34. package/build/commands/utils/claudePlugin.js +1 -1
  35. package/build/commands/utils/crypto.js +1 -1
  36. package/build/commands/utils/desirePathLog.js +1 -1
  37. package/build/commands/utils/deviceAuth.js +1 -1
  38. package/build/commands/utils/environment.js +1 -1
  39. package/build/commands/utils/featureApi.js +1 -1
  40. package/build/commands/utils/featureReportGenerator.js +1 -1
  41. package/build/commands/utils/fixWebmDuration.js +1 -0
  42. package/build/commands/utils/git.js +1 -1
  43. package/build/commands/utils/keychain.js +1 -1
  44. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  45. package/build/commands/utils/profileMessages.js +1 -1
  46. package/build/commands/utils/profileSetupBanner.js +1 -1
  47. package/build/commands/utils/rangerRoot.js +1 -1
  48. package/build/commands/utils/reportGenerator.js +1 -1
  49. package/build/commands/utils/retry.js +1 -1
  50. package/build/commands/utils/sessionCache.js +1 -1
  51. package/build/commands/utils/settings.js +1 -1
  52. package/build/commands/utils/skillContent.js +1 -1
  53. package/build/commands/utils/skills.js +1 -1
  54. package/build/commands/utils/telemetry.js +1 -1
  55. package/build/commands/utils/userApi.js +1 -1
  56. package/build/commands/utils/version.js +1 -1
  57. package/build/commands/verifyFeature.js +1 -1
  58. package/build/commands/verifyInBrowser.js +1 -1
  59. package/package.json +4 -1
@@ -1 +1 @@
1
- (function(_0xa9d4e9,_0x2a4ac2){const _0x36b550=_0x4a05,_0xc8b2d0=_0xa9d4e9();while(!![]){try{const _0x39e005=-parseInt(_0x36b550(0xf3))/0x1*(parseInt(_0x36b550(0x109))/0x2)+-parseInt(_0x36b550(0xf9))/0x3+-parseInt(_0x36b550(0x103))/0x4+parseInt(_0x36b550(0xff))/0x5+-parseInt(_0x36b550(0xec))/0x6+parseInt(_0x36b550(0x10c))/0x7+parseInt(_0x36b550(0x10d))/0x8*(parseInt(_0x36b550(0xfd))/0x9);if(_0x39e005===_0x2a4ac2)break;else _0xc8b2d0['push'](_0xc8b2d0['shift']());}catch(_0x303ce4){_0xc8b2d0['push'](_0xc8b2d0['shift']());}}}(_0x392e,0xdc713));const _0x26253a=(function(){const _0x2e0b9d=_0x4a05,_0x1df00b={'MlSTz':function(_0x338c0b,_0x2e574a){return _0x338c0b!==_0x2e574a;},'NegWE':_0x2e0b9d(0xed),'XBZtt':_0x2e0b9d(0x100),'mJzoX':_0x2e0b9d(0xf4),'zfpEF':_0x2e0b9d(0x108)};let _0x601870=!![];return function(_0x26ed3c,_0x3e96a6){const _0xcbf0f7=_0x2e0b9d,_0x519b98={'ZBVSP':_0x1df00b[_0xcbf0f7(0x10f)]};if(_0x1df00b['MlSTz'](_0xcbf0f7(0x107),_0x1df00b[_0xcbf0f7(0xeb)])){const _0x5db570=_0x601870?function(){const _0xf0cb0d=_0xcbf0f7;if(_0x1df00b[_0xf0cb0d(0xfc)](_0x1df00b[_0xf0cb0d(0xf7)],_0xf0cb0d(0xf2))){if(_0x3e96a6){if(_0x1df00b[_0xf0cb0d(0xfc)](_0x1df00b[_0xf0cb0d(0xf8)],_0x1df00b[_0xf0cb0d(0xf8)]))return _0x24a3cd[_0xf0cb0d(0xea)]()[_0xf0cb0d(0x105)](_0x519b98[_0xf0cb0d(0xee)])[_0xf0cb0d(0xea)]()[_0xf0cb0d(0xef)](_0x2b2a61)[_0xf0cb0d(0x105)](_0x519b98[_0xf0cb0d(0xee)]);else{const _0x787079=_0x3e96a6[_0xf0cb0d(0xfb)](_0x26ed3c,arguments);return _0x3e96a6=null,_0x787079;}}}else{if(_0x58b5c0){const _0x11b5d4=_0x528c28['apply'](_0x5ea09c,arguments);return _0xac1805=null,_0x11b5d4;}}}:function(){};return _0x601870=![],_0x5db570;}else return;};}()),_0x39b7d3=_0x26253a(this,function(){const _0x154a56=_0x4a05,_0x2242e3={'AVXXP':_0x154a56(0xf4)};return _0x39b7d3[_0x154a56(0xea)]()[_0x154a56(0x105)](_0x2242e3[_0x154a56(0xf5)])[_0x154a56(0xea)]()[_0x154a56(0xef)](_0x39b7d3)[_0x154a56(0x105)](_0x2242e3[_0x154a56(0xf5)]);});function _0x4a05(_0x1f05bd,_0x252105){_0x1f05bd=_0x1f05bd-0xea;const _0x37c980=_0x392e();let _0x39b7d3=_0x37c980[_0x1f05bd];if(_0x4a05['CnwDMv']===undefined){var _0x26253a=function(_0x444a87){const _0x5e6272='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x15ef34='',_0x40b45a='',_0x2b7795=_0x15ef34+_0x26253a;for(let _0xfd207d=0x0,_0x5a0575,_0x2b5206,_0x1a776b=0x0;_0x2b5206=_0x444a87['charAt'](_0x1a776b++);~_0x2b5206&&(_0x5a0575=_0xfd207d%0x4?_0x5a0575*0x40+_0x2b5206:_0x2b5206,_0xfd207d++%0x4)?_0x15ef34+=_0x2b7795['charCodeAt'](_0x1a776b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5a0575>>(-0x2*_0xfd207d&0x6)):_0xfd207d:0x0){_0x2b5206=_0x5e6272['indexOf'](_0x2b5206);}for(let _0x3ccce7=0x0,_0xaa7f2b=_0x15ef34['length'];_0x3ccce7<_0xaa7f2b;_0x3ccce7++){_0x40b45a+='%'+('00'+_0x15ef34['charCodeAt'](_0x3ccce7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40b45a);};_0x4a05['cLywpF']=_0x26253a,_0x4a05['QRZONk']={},_0x4a05['CnwDMv']=!![];}const _0x392e50=_0x37c980[0x0],_0x4a05ea=_0x1f05bd+_0x392e50,_0x4a8092=_0x4a05['QRZONk'][_0x4a05ea];if(!_0x4a8092){const _0x24deab=function(_0x82e871){this['oZdqHl']=_0x82e871,this['BkcZxJ']=[0x1,0x0,0x0],this['seAkGR']=function(){return'newState';},this['FnHSNU']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['fQuxZD']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x24deab['prototype']['BmFzxI']=function(){const _0x4ac6e0=new RegExp(this['FnHSNU']+this['fQuxZD']),_0x2be942=_0x4ac6e0['test'](this['seAkGR']['toString']())?--this['BkcZxJ'][0x1]:--this['BkcZxJ'][0x0];return this['ZpLGLs'](_0x2be942);},_0x24deab['prototype']['ZpLGLs']=function(_0x3e6b59){if(!Boolean(~_0x3e6b59))return _0x3e6b59;return this['dYWkVl'](this['oZdqHl']);},_0x24deab['prototype']['dYWkVl']=function(_0x7a0fec){for(let _0x848489=0x0,_0x185a3d=this['BkcZxJ']['length'];_0x848489<_0x185a3d;_0x848489++){this['BkcZxJ']['push'](Math['round'](Math['random']())),_0x185a3d=this['BkcZxJ']['length'];}return _0x7a0fec(this['BkcZxJ'][0x0]);},new _0x24deab(_0x4a05)['BmFzxI'](),_0x39b7d3=_0x4a05['cLywpF'](_0x39b7d3),_0x4a05['QRZONk'][_0x4a05ea]=_0x39b7d3;}else _0x39b7d3=_0x4a8092;return _0x39b7d3;}_0x39b7d3();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';function _0x392e(){const _0x590abc=['D296vxu','mti2og9mvfjzAW','ue9tva','q1ntD1m','otqYntuYohLvsgXuyG','mZa3otuYsxDsBvfW','ze5ps3u','BuP6B1G','Dg9tDhjPBMC','EMzWruy','mta0mduWmdHQDLf6vLC','DhH4q0K','wKjwu1a','y29UC3rYDwn0B3i','Dgv4Da','wgjQvuC','BeP0Ewi','mtm0n0LJuxr4qW','kcGOlISPkYKRksSK','qvzywfa','zxjYB3i','tMvNv0u','wejADhq','mJG0nZa3mK53sMP4ua','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','yxbWBhK','twXtvhO','oti3rKT4tgjy','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','mtiZodG0nw9KCMXkza','ruz0DKi','C3bJzM4','uxDHu2u','ndq3nJeZnKjWy01Vtq','rhDmuui','C2vHCMnO','BKjVB08','rKrlBLm'];_0x392e=function(){return _0x590abc;};return _0x392e();}export async function logLocalAgentInstallation(_0x326959,_0xda8ca1,_0x31814e){const _0x1a1efd=_0x4a05,_0x4c009b={'dNOKu':function(_0x39a991){return _0x39a991();},'spcfn':function(_0x430741,_0x38ae39,_0x1b5501){return _0x430741(_0x38ae39,_0x1b5501);},'CSSwS':_0x1a1efd(0x10a),'XbjUG':'application/json','nBooO':function(_0x32e50f,_0x3d5ba5){return _0x32e50f===_0x3d5ba5;},'DwLQB':_0x1a1efd(0x102)},_0x39f05c=await _0x4c009b['dNOKu'](getToken);if(!_0x39f05c)return;const _0x519a61=_0x4c009b[_0x1a1efd(0x10e)](getApiBaseUrl),_0x200a32=await _0x4c009b[_0x1a1efd(0x101)](fetch,_0x519a61+_0x1a1efd(0xfe),{'method':_0x4c009b[_0x1a1efd(0x10b)],'headers':{'Authorization':'Bearer\x20'+_0x39f05c,'Content-Type':_0x4c009b[_0x1a1efd(0xf1)]},'body':JSON['stringify']({'skillName':_0x326959,'cliVersion':_0x31814e,'metadata':_0xda8ca1})});if(!_0x200a32['ok']){if(_0x4c009b[_0x1a1efd(0x106)](_0x4c009b[_0x1a1efd(0x104)],_0x4c009b[_0x1a1efd(0x104)])){const _0x1d2d07=await _0x200a32[_0x1a1efd(0xf0)]();console[_0x1a1efd(0xf6)](_0x1a1efd(0xfa)+_0x1d2d07);}else{const _0x14890a=_0x24deab?function(){const _0x4442d8=_0x1a1efd;if(_0x848489){const _0x212cdb=_0x4ed564[_0x4442d8(0xfb)](_0x36b734,arguments);return _0x3b6f5b=null,_0x212cdb;}}:function(){};return _0x7a0fec=![],_0x14890a;}}}
1
+ function _0x11eb(_0x341631,_0x3f4971){_0x341631=_0x341631-0x168;const _0x35933b=_0x4c5c();let _0x18fe8c=_0x35933b[_0x341631];if(_0x11eb['RXtLYi']===undefined){var _0x9af53a=function(_0x14fbc0){const _0x89f978='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x28460b='',_0x10262b='',_0x47aa67=_0x28460b+_0x9af53a;for(let _0x40317e=0x0,_0x38311a,_0x42872d,_0x4798fa=0x0;_0x42872d=_0x14fbc0['charAt'](_0x4798fa++);~_0x42872d&&(_0x38311a=_0x40317e%0x4?_0x38311a*0x40+_0x42872d:_0x42872d,_0x40317e++%0x4)?_0x28460b+=_0x47aa67['charCodeAt'](_0x4798fa+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x38311a>>(-0x2*_0x40317e&0x6)):_0x40317e:0x0){_0x42872d=_0x89f978['indexOf'](_0x42872d);}for(let _0x525cb9=0x0,_0x3118d2=_0x28460b['length'];_0x525cb9<_0x3118d2;_0x525cb9++){_0x10262b+='%'+('00'+_0x28460b['charCodeAt'](_0x525cb9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10262b);};_0x11eb['afiPJa']=_0x9af53a,_0x11eb['sAHGJH']={},_0x11eb['RXtLYi']=!![];}const _0x4c5c34=_0x35933b[0x0],_0x11eb6e=_0x341631+_0x4c5c34,_0x33edf3=_0x11eb['sAHGJH'][_0x11eb6e];if(!_0x33edf3){const _0xa06b2f=function(_0x2706b1){this['xRQuyR']=_0x2706b1,this['HddbBA']=[0x1,0x0,0x0],this['qcqTms']=function(){return'newState';},this['XNzzDt']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['uZdoGe']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xa06b2f['prototype']['InSqDn']=function(){const _0x26d0e8=new RegExp(this['XNzzDt']+this['uZdoGe']),_0x1b9c44=_0x26d0e8['test'](this['qcqTms']['toString']())?--this['HddbBA'][0x1]:--this['HddbBA'][0x0];return this['UXFMuW'](_0x1b9c44);},_0xa06b2f['prototype']['UXFMuW']=function(_0x54eec6){if(!Boolean(~_0x54eec6))return _0x54eec6;return this['wMPjbl'](this['xRQuyR']);},_0xa06b2f['prototype']['wMPjbl']=function(_0x54a75b){for(let _0x4bf6f4=0x0,_0x174cbe=this['HddbBA']['length'];_0x4bf6f4<_0x174cbe;_0x4bf6f4++){this['HddbBA']['push'](Math['round'](Math['random']())),_0x174cbe=this['HddbBA']['length'];}return _0x54a75b(this['HddbBA'][0x0]);},new _0xa06b2f(_0x11eb)['InSqDn'](),_0x18fe8c=_0x11eb['afiPJa'](_0x18fe8c),_0x11eb['sAHGJH'][_0x11eb6e]=_0x18fe8c;}else _0x18fe8c=_0x33edf3;return _0x18fe8c;}(function(_0x119a16,_0x25537d){const _0x536d55=_0x11eb,_0x4dabac=_0x119a16();while(!![]){try{const _0x5ae2e2=parseInt(_0x536d55(0x184))/0x1*(-parseInt(_0x536d55(0x180))/0x2)+parseInt(_0x536d55(0x16d))/0x3+-parseInt(_0x536d55(0x178))/0x4+parseInt(_0x536d55(0x17c))/0x5*(parseInt(_0x536d55(0x181))/0x6)+parseInt(_0x536d55(0x16f))/0x7+parseInt(_0x536d55(0x175))/0x8*(-parseInt(_0x536d55(0x183))/0x9)+parseInt(_0x536d55(0x16b))/0xa;if(_0x5ae2e2===_0x25537d)break;else _0x4dabac['push'](_0x4dabac['shift']());}catch(_0x46f6e2){_0x4dabac['push'](_0x4dabac['shift']());}}}(_0x4c5c,0x514d4));const _0x9af53a=(function(){const _0xd53da0=_0x11eb,_0x542350={'GnGAX':_0xd53da0(0x16e),'rpsri':function(_0x1ddab2,_0x3a4cf8){return _0x1ddab2!==_0x3a4cf8;},'dPBgF':'QXGxR','TfpdK':_0xd53da0(0x170),'BJORc':function(_0x18d653,_0x5c9739){return _0x18d653!==_0x5c9739;},'GylFp':_0xd53da0(0x182)};let _0x314a8a=!![];return function(_0x163de4,_0x3c82be){const _0x3006fe=_0xd53da0,_0x213dfc={'TEIQv':_0x542350[_0x3006fe(0x18d)],'rLqkK':function(_0x1fc3ad,_0x1e9b25){const _0x105b98=_0x3006fe;return _0x542350[_0x105b98(0x17a)](_0x1fc3ad,_0x1e9b25);},'FUQWe':_0x542350[_0x3006fe(0x18b)],'CpTdf':_0x542350['TfpdK']};if(_0x542350[_0x3006fe(0x16a)](_0x542350[_0x3006fe(0x173)],_0x3006fe(0x168))){const _0x4c1fd9=_0x314a8a?function(){const _0x493e42=_0x3006fe;if(_0x213dfc['TEIQv']===_0x213dfc[_0x493e42(0x176)]){if(_0x3c82be){if(_0x213dfc['rLqkK'](_0x213dfc[_0x493e42(0x177)],_0x213dfc[_0x493e42(0x186)])){const _0xdc85f8=_0x3c82be['apply'](_0x163de4,arguments);return _0x3c82be=null,_0xdc85f8;}else{if(_0x3a8786){const _0x131dba=_0x169e33[_0x493e42(0x17f)](_0xe0a816,arguments);return _0x1c1d6a=null,_0x131dba;}}}}else{const _0x467ac7=_0x2a377f[_0x493e42(0x17f)](_0x296423,arguments);return _0x4f6b92=null,_0x467ac7;}}:function(){};return _0x314a8a=![],_0x4c1fd9;}else return;};}()),_0x18fe8c=_0x9af53a(this,function(){const _0x290912=_0x11eb,_0x55bd7b={'kljig':_0x290912(0x187)};return _0x18fe8c[_0x290912(0x188)]()['search'](_0x55bd7b['kljig'])[_0x290912(0x188)]()[_0x290912(0x17b)](_0x18fe8c)[_0x290912(0x17d)](_0x55bd7b['kljig']);});_0x18fe8c();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';function _0x4c5c(){const _0x3fc99d=['y29UC3rYDwn0B3i','mJi5merpBgDyEG','C2vHCMnO','qMn2ywe','yxbWBhK','mZaYmtGWrxjeCKzb','mZm0oeXcD1zsyG','ufLIuKW','mti2Cw5kENvc','mwzAt3LjDG','yu5HsLK','q3buzgy','kcGOlISPkYKRksSK','Dg9tDhjPBMC','C3rYAw5NAwz5','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','zfbcz0y','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','r25hqvG','r0TeDNe','Dvznruu','qKPpuMm','mtyWnZK5mgHKrefNCq','yxbWBgLJyxrPB24VANnVBG','mtC2ntK2nvjpte9OrW','q0X1reG','ndyZndqYn0TcBurvqG','qLnLt0K','DMThrMO','BNDOz28','r3LSrNa','zxjYB3i','mZq4odK2yu5Mu3nW','vevjuxy','rLvrv2u','mJi4otyZnNfyt3vJwG','Dgv4Da','CNbZCMK'];_0x4c5c=function(){return _0x3fc99d;};return _0x4c5c();}export async function logLocalAgentInstallation(_0x2f30b7,_0x563be8,_0x19f623){const _0x4e6953=_0x11eb,_0xba6699={'uVMEE':_0x4e6953(0x187),'vkGFj':function(_0x3aa530){return _0x3aa530();},'aNaJY':'DwpgR','Bcvaa':_0x4e6953(0x16c)},_0x319adf=await _0xba6699[_0x4e6953(0x171)](getToken);if(!_0x319adf){if(_0x4e6953(0x172)!==_0xba6699[_0x4e6953(0x185)])return;else return _0x18045b['toString']()['search'](CAWvBt[_0x4e6953(0x169)])[_0x4e6953(0x188)]()[_0x4e6953(0x17b)](_0x52f641)['search'](CAWvBt[_0x4e6953(0x169)]);}const _0x3ec9a1=_0xba6699[_0x4e6953(0x171)](getApiBaseUrl),_0x4ca312=await fetch(_0x3ec9a1+_0x4e6953(0x18a),{'method':'POST','headers':{'Authorization':'Bearer\x20'+_0x319adf,'Content-Type':_0xba6699[_0x4e6953(0x17e)]},'body':JSON[_0x4e6953(0x189)]({'skillName':_0x2f30b7,'cliVersion':_0x19f623,'metadata':_0x563be8})});if(!_0x4ca312['ok']){const _0x6f0923=await _0x4ca312[_0x4e6953(0x179)]();console[_0x4e6953(0x174)](_0x4e6953(0x18c)+_0x6f0923);}}
@@ -1 +1 @@
1
- function _0x5285(){const _0x272e88=['3505372TrcXli','13002066qzHvvf','101PmZrpN','28904AKzkzc','Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20','553325OKAqdY','6BVtPoz','1662850mcjlHD','2748711gUfrfD','9765120BTZDCl'];_0x5285=function(){return _0x272e88;};return _0x5285();}(function(_0x88a3d3,_0x2e21f7){const _0x3c4d4f=_0x2797,_0x402892=_0x88a3d3();while(!![]){try{const _0x4ac5dc=parseInt(_0x3c4d4f(0xdc))/0x1*(-parseInt(_0x3c4d4f(0xdd))/0x2)+parseInt(_0x3c4d4f(0xd8))/0x3+-parseInt(_0x3c4d4f(0xda))/0x4+parseInt(_0x3c4d4f(0xd5))/0x5*(-parseInt(_0x3c4d4f(0xd6))/0x6)+-parseInt(_0x3c4d4f(0xd7))/0x7+parseInt(_0x3c4d4f(0xd9))/0x8+parseInt(_0x3c4d4f(0xdb))/0x9;if(_0x4ac5dc===_0x2e21f7)break;else _0x402892['push'](_0x402892['shift']());}catch(_0x2f4a6f){_0x402892['push'](_0x402892['shift']());}}}(_0x5285,0xdb13d));function _0x2797(_0x4f9253,_0x53c26e){_0x4f9253=_0x4f9253-0xd4;const _0x528577=_0x5285();let _0x2797f1=_0x528577[_0x4f9253];return _0x2797f1;}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x5d2a53){const _0x47d920=_0x2797,_0x4150f5=_0x5d2a53?_0x5d2a53(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x47d920(0xd4)+_0x4150f5+'.';}
1
+ const _0x2c47f2=_0x5086;(function(_0x3f0bba,_0x50ff25){const _0x5292fa=_0x5086,_0x47be17=_0x3f0bba();while(!![]){try{const _0x534186=-parseInt(_0x5292fa(0x1d2))/0x1+parseInt(_0x5292fa(0x1d1))/0x2*(parseInt(_0x5292fa(0x1d4))/0x3)+parseInt(_0x5292fa(0x1cf))/0x4+parseInt(_0x5292fa(0x1d5))/0x5*(-parseInt(_0x5292fa(0x1cd))/0x6)+parseInt(_0x5292fa(0x1d3))/0x7+parseInt(_0x5292fa(0x1ca))/0x8+-parseInt(_0x5292fa(0x1d0))/0x9*(parseInt(_0x5292fa(0x1cc))/0xa);if(_0x534186===_0x50ff25)break;else _0x47be17['push'](_0x47be17['shift']());}catch(_0x356f72){_0x47be17['push'](_0x47be17['shift']());}}}(_0x3f1c,0x683f3));const DEFAULT_PROFILE_COMMAND=_0x2c47f2(0x1ce);export function formatProfileRequiredMessage(_0x284f56){const _0x1839f5=_0x2c47f2,_0x38fc4c={'fYIXo':function(_0x3bddb9,_0x9fe293){return _0x3bddb9(_0x9fe293);}},_0x4e6509=_0x284f56?_0x38fc4c['fYIXo'](_0x284f56,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x1839f5(0x1cb)+_0x4e6509+'.';}function _0x5086(_0x37c878,_0x4badc5){_0x37c878=_0x37c878-0x1ca;const _0x3f1caf=_0x3f1c();let _0x5086bd=_0x3f1caf[_0x37c878];return _0x5086bd;}function _0x3f1c(){const _0x20a9ca=['Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20','18710PMxuvL','11526vAdfAw','ranger\x20profile\x20add\x20local','3254272NAKShZ','2952grFZDh','10jqofHb','424491PUOYEF','231623DIOjCp','204933lBZEXT','985SJkJnA','5243192NxtvIT'];_0x3f1c=function(){return _0x20a9ca;};return _0x3f1c();}
@@ -1 +1 @@
1
- function _0x1871(){const _0x282928=['628HUEMay','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','110278dnZuOp','stringify','475510CCafmN','737844FFWoOL','144nDIFQD','462KnXBou','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','8012175kUHKXe','3BjVwhD','BbIke','addInitScript','8890296MHqxpQ','12688956TuHSpd','ZGTlk','BwNtM',';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a','GMOjJ','</div>','124SvTugB','Iofpg'];_0x1871=function(){return _0x282928;};return _0x1871();}function _0x2950(_0x3bdeba,_0x40a9bc){_0x3bdeba=_0x3bdeba-0x15f;const _0x18716a=_0x1871();let _0x295033=_0x18716a[_0x3bdeba];return _0x295033;}(function(_0x175b1b,_0x4e6c6a){const _0x46af23=_0x2950,_0x4ade4a=_0x175b1b();while(!![]){try{const _0x492f9f=-parseInt(_0x46af23(0x167))/0x1*(-parseInt(_0x46af23(0x165))/0x2)+-parseInt(_0x46af23(0x171))/0x3*(parseInt(_0x46af23(0x16c))/0x4)+-parseInt(_0x46af23(0x170))/0x5+parseInt(_0x46af23(0x16d))/0x6*(parseInt(_0x46af23(0x169))/0x7)+-parseInt(_0x46af23(0x174))/0x8+parseInt(_0x46af23(0x15f))/0x9+-parseInt(_0x46af23(0x16b))/0xa*(-parseInt(_0x46af23(0x16e))/0xb);if(_0x492f9f===_0x4e6c6a)break;else _0x4ade4a['push'](_0x4ade4a['shift']());}catch(_0x3bbf64){_0x4ade4a['push'](_0x4ade4a['shift']());}}}(_0x1871,0xe20b3));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x1f540c=_0x2950,_0x114f55={'pQTlU':function(_0x4bbf38,_0x227077){return _0x4bbf38+_0x227077;},'ZGTlk':function(_0x43deb6,_0x48b348){return _0x43deb6+_0x48b348;},'Iofpg':'<div\x20class=\x22ranger-banner__content\x22>','BwNtM':'<div\x20class=\x22ranger-banner__message\x22>','GMOjJ':'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','BbIke':_0x1f540c(0x164),'DXsEZ':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x52f456=_0x114f55['pQTlU'](_0x114f55[_0x1f540c(0x160)](_0x114f55[_0x1f540c(0x166)]+'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>',_0x114f55[_0x1f540c(0x161)])+_0x114f55[_0x1f540c(0x163)]+_0x1f540c(0x168),_0x114f55[_0x1f540c(0x172)])+_0x114f55['BbIke']+_0x114f55['DXsEZ'],_0x1d4f99='\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a';return _0x1f540c(0x16f)+JSON['stringify'](_0x52f456)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON[_0x1f540c(0x16a)](_0x1d4f99)+_0x1f540c(0x162);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x4fa5d3){const _0x2bfdaf=_0x2950;await _0x4fa5d3[_0x2bfdaf(0x173)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ function _0x1cf3(_0x5eb270,_0x17cc75){_0x5eb270=_0x5eb270-0xef;const _0x11dd75=_0x11dd();let _0x1cf398=_0x11dd75[_0x5eb270];return _0x1cf398;}(function(_0x445f64,_0x5d5632){const _0x1b8eed=_0x1cf3,_0x69109c=_0x445f64();while(!![]){try{const _0x4c95ac=parseInt(_0x1b8eed(0xfc))/0x1*(parseInt(_0x1b8eed(0x100))/0x2)+parseInt(_0x1b8eed(0x103))/0x3*(parseInt(_0x1b8eed(0xf2))/0x4)+-parseInt(_0x1b8eed(0xf4))/0x5+parseInt(_0x1b8eed(0xf7))/0x6*(parseInt(_0x1b8eed(0xfb))/0x7)+parseInt(_0x1b8eed(0xf5))/0x8+parseInt(_0x1b8eed(0xf9))/0x9+-parseInt(_0x1b8eed(0xf1))/0xa;if(_0x4c95ac===_0x5d5632)break;else _0x69109c['push'](_0x69109c['shift']());}catch(_0x3d60eb){_0x69109c['push'](_0x69109c['shift']());}}}(_0x11dd,0xd1d24));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x455fc8=_0x1cf3,_0x53a81b={'CAqiR':function(_0x588369,_0x2846d2){return _0x588369+_0x2846d2;},'XeYQB':function(_0x5bbf61,_0x428e8e){return _0x5bbf61+_0x428e8e;},'zUukB':_0x455fc8(0xf3),'OuCKC':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','HeYQQ':_0x455fc8(0xf0),'oZzdR':_0x455fc8(0xf8)},_0x2f680c=_0x53a81b['CAqiR'](_0x53a81b['XeYQB'](_0x53a81b['zUukB']+_0x53a81b[_0x455fc8(0xfa)],'<div\x20class=\x22ranger-banner__message\x22>')+_0x53a81b[_0x455fc8(0xfe)]+_0x455fc8(0xff)+_0x455fc8(0xf8),_0x53a81b[_0x455fc8(0x102)])+_0x455fc8(0xef),_0x4729f6='\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a';return'\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20'+JSON['stringify'](_0x2f680c)+_0x455fc8(0x101)+JSON[_0x455fc8(0xfd)](_0x4729f6)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x11dd(){const _0x49ffb8=['2226595loGcet','3IefmYe','stringify','HeYQQ','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','358754IfwePm',';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20','oZzdR','1320027uHUrzu','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','4573240kPDPPh','4lomXsG','<div\x20class=\x22ranger-banner__content\x22>','4202090rgXzod','5588416kAugBD','addInitScript','6UVlpZd','</div>','1461537rQxHNH','OuCKC'];_0x11dd=function(){return _0x49ffb8;};return _0x11dd();}export async function addProfileSetupBanner(_0x27c884){const _0x3b6eff=_0x1cf3;await _0x27c884[_0x3b6eff(0xf6)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x531081,_0x44fb3d){const _0x5382ff=_0x116a,_0x443012=_0x531081();while(!![]){try{const _0x343190=parseInt(_0x5382ff(0x110))/0x1+parseInt(_0x5382ff(0x118))/0x2*(-parseInt(_0x5382ff(0x10e))/0x3)+-parseInt(_0x5382ff(0x10f))/0x4+parseInt(_0x5382ff(0x11c))/0x5*(parseInt(_0x5382ff(0x119))/0x6)+parseInt(_0x5382ff(0x11e))/0x7*(parseInt(_0x5382ff(0x114))/0x8)+parseInt(_0x5382ff(0x11b))/0x9*(-parseInt(_0x5382ff(0x11f))/0xa)+parseInt(_0x5382ff(0x115))/0xb;if(_0x343190===_0x44fb3d)break;else _0x443012['push'](_0x443012['shift']());}catch(_0x4eb024){_0x443012['push'](_0x443012['shift']());}}}(_0x5732,0xab401));import{dirname,join,parse}from'path';function _0x5732(){const _0x583755=['.ranger','YDNcL','YqRBJ','450qFNkso','2453616zYuCiQ','670667srKjUb','EYbqx','root','LUHiu','89584nKCNbr','11962016WUQGSt','cwd','.git','3672FVQrHe','1162992mDrHGW','ocRrT','11411532Ocdrkp','20yMCbSA','HSkHs','203BBHtUf','10ZmzoBN'];_0x5732=function(){return _0x583755;};return _0x5732();}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x4e79b4=_0x116a,_0x31508b={'oVWEs':function(_0x545cfa,_0x9e74ff){return _0x545cfa(_0x9e74ff);},'HSkHs':'.ranger','dSILS':function(_0x3d0daf,_0x548b1b){return _0x3d0daf(_0x548b1b);},'KtKPi':function(_0x42b215,_0x278520,_0x4f3a41){return _0x42b215(_0x278520,_0x4f3a41);},'LUHiu':function(_0x46851f){return _0x46851f();}};let _0x10cc92=process['cwd']();const _0x10806a=parse(_0x10cc92)[_0x4e79b4(0x112)];while(_0x10cc92!==_0x10806a){if(_0x31508b['oVWEs'](existsSync,join(_0x10cc92,_0x31508b[_0x4e79b4(0x11d)])))return _0x10cc92;_0x10cc92=_0x31508b['dSILS'](dirname,_0x10cc92);}if(existsSync(_0x31508b['KtKPi'](join,_0x10806a,_0x31508b[_0x4e79b4(0x11d)])))return _0x10806a;const _0x1baae1=_0x31508b[_0x4e79b4(0x113)](findGitRoot);if(_0x1baae1)return _0x1baae1;return process[_0x4e79b4(0x116)]();}export function getRangerDir(){const _0x22f87a=_0x116a,_0x5c50f1={'YqRBJ':'.ranger'};return join(getRangerRoot(),_0x5c50f1[_0x22f87a(0x10d)]);}function _0x116a(_0x4f533f,_0x151250){_0x4f533f=_0x4f533f-0x10c;const _0x57322e=_0x5732();let _0x116a28=_0x57322e[_0x4f533f];return _0x116a28;}export function findGitRoot(){const _0x43822c=_0x116a,_0x52db2e={'ocRrT':function(_0x5c98fc,_0x3e16d0){return _0x5c98fc!==_0x3e16d0;},'YDNcL':function(_0x34b2dd,_0x57ae85){return _0x34b2dd(_0x57ae85);},'RjlKb':function(_0x54c0ee,_0x3316d7){return _0x54c0ee(_0x3316d7);},'oWJJC':function(_0x14b324,_0x9a6883){return _0x14b324(_0x9a6883);},'EYbqx':'.git'};let _0x1b1583=process[_0x43822c(0x116)]();const _0x2d3219=parse(_0x1b1583)[_0x43822c(0x112)];while(_0x52db2e[_0x43822c(0x11a)](_0x1b1583,_0x2d3219)){if(_0x52db2e[_0x43822c(0x10c)](existsSync,join(_0x1b1583,_0x43822c(0x117))))return _0x1b1583;_0x1b1583=_0x52db2e['RjlKb'](dirname,_0x1b1583);}if(_0x52db2e['oWJJC'](existsSync,join(_0x2d3219,_0x52db2e[_0x43822c(0x111)])))return _0x2d3219;return null;}export function getRangerHomeDir(){const _0x480c51=_0x116a,_0x479a0b={'QZfAx':function(_0x543a2b){return _0x543a2b();},'nPOjn':_0x480c51(0x120)};return join(_0x479a0b['QZfAx'](homedir),_0x479a0b['nPOjn']);}
1
+ (function(_0x48b045,_0x329aeb){const _0x1903d8=_0xd188,_0x3f8215=_0x48b045();while(!![]){try{const _0x447aa1=-parseInt(_0x1903d8(0x1be))/0x1*(parseInt(_0x1903d8(0x1b5))/0x2)+parseInt(_0x1903d8(0x1b9))/0x3+parseInt(_0x1903d8(0x1bd))/0x4*(parseInt(_0x1903d8(0x1b4))/0x5)+parseInt(_0x1903d8(0x1c2))/0x6*(parseInt(_0x1903d8(0x1c0))/0x7)+parseInt(_0x1903d8(0x1b7))/0x8*(parseInt(_0x1903d8(0x1c3))/0x9)+parseInt(_0x1903d8(0x1ba))/0xa+-parseInt(_0x1903d8(0x1b3))/0xb;if(_0x447aa1===_0x329aeb)break;else _0x3f8215['push'](_0x3f8215['shift']());}catch(_0xe68588){_0x3f8215['push'](_0x3f8215['shift']());}}}(_0x58f4,0x3bbf5));import{dirname,join,parse}from'path';function _0xd188(_0x9e188,_0xeb7a5b){_0x9e188=_0x9e188-0x1af;const _0x58f446=_0x58f4();let _0xd1880f=_0x58f446[_0x9e188];return _0xd1880f;}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x1d4ace=_0xd188,_0x5dc825={'Fmetz':function(_0x436902,_0x6b32ad){return _0x436902(_0x6b32ad);},'YPbSy':function(_0x1b2208,_0xea3ddb){return _0x1b2208!==_0xea3ddb;},'qhaOR':function(_0x256b01,_0x559a61,_0x21042f){return _0x256b01(_0x559a61,_0x21042f);},'DYbDg':function(_0x58ff8a){return _0x58ff8a();}};let _0x27a26f=process['cwd']();const _0x4228bf=_0x5dc825[_0x1d4ace(0x1c1)](parse,_0x27a26f)['root'];while(_0x5dc825[_0x1d4ace(0x1bf)](_0x27a26f,_0x4228bf)){if(_0x5dc825[_0x1d4ace(0x1c1)](existsSync,_0x5dc825[_0x1d4ace(0x1b0)](join,_0x27a26f,_0x1d4ace(0x1b6))))return _0x27a26f;_0x27a26f=dirname(_0x27a26f);}if(existsSync(_0x5dc825[_0x1d4ace(0x1b0)](join,_0x4228bf,_0x1d4ace(0x1b6))))return _0x4228bf;const _0x1be02f=_0x5dc825['DYbDg'](findGitRoot);if(_0x1be02f)return _0x1be02f;return process['cwd']();}export function getRangerDir(){const _0x3a138a=_0xd188,_0x3bc600={'sHwDw':function(_0x3e1ab8,_0x133b09,_0x44f61c){return _0x3e1ab8(_0x133b09,_0x44f61c);},'DaHTQ':function(_0x5df080){return _0x5df080();}};return _0x3bc600[_0x3a138a(0x1b1)](join,_0x3bc600['DaHTQ'](getRangerRoot),'.ranger');}function _0x58f4(){const _0x5eddb5=['5871811ykzqPl','476815jBSjOB','724618xiygSg','.ranger','46224xYCvFH','.git','1025814EbFoBH','1482890DEGDTc','vDZdc','rrcRh','8tPVtai','1XQEBTw','YPbSy','50764KwohMv','Fmetz','108UfvZDA','513glwtiy','Mjdpn','qhaOR','sHwDw','root'];_0x58f4=function(){return _0x5eddb5;};return _0x58f4();}export function findGitRoot(){const _0x495f37=_0xd188,_0x127e70={'rrcRh':function(_0x57469d,_0x460261){return _0x57469d(_0x460261);},'xBEzj':function(_0x53f8a3,_0x33c876){return _0x53f8a3!==_0x33c876;},'vDZdc':function(_0x70ab66,_0x19d81b,_0x1ff4b9){return _0x70ab66(_0x19d81b,_0x1ff4b9);},'cxPdo':'.git'};let _0x35d9db=process['cwd']();const _0x11f79e=_0x127e70[_0x495f37(0x1bc)](parse,_0x35d9db)[_0x495f37(0x1b2)];while(_0x127e70['xBEzj'](_0x35d9db,_0x11f79e)){if(_0x127e70['rrcRh'](existsSync,_0x127e70['vDZdc'](join,_0x35d9db,_0x495f37(0x1b8))))return _0x35d9db;_0x35d9db=_0x127e70[_0x495f37(0x1bc)](dirname,_0x35d9db);}if(existsSync(_0x127e70[_0x495f37(0x1bb)](join,_0x11f79e,_0x127e70['cxPdo'])))return _0x11f79e;return null;}export function getRangerHomeDir(){const _0x18c470=_0xd188,_0x5039de={'Mjdpn':function(_0x979adc){return _0x979adc();}};return join(_0x5039de[_0x18c470(0x1af)](homedir),'.ranger');}
@@ -1 +1 @@
1
- function _0x1258(){const _0x531679=['TDVFI','####\x20','replace','severity','toFixed','CskkJ','4307040qJrXnC','3087ZuFqOA','map','1685948XeZfsT','slice','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](','###\x20','6009414XHHxXe','PASSED','47392zYrSXH','79788IUdZXZ','push','ISSUES\x20FOUND','relativePath','find','**Generated:**\x20','BLOCKER','length','209209itSqAs','join','yZVFJ','filename','##\x20Result','#\x20Verification\x20Report','193623pRMWCI','###\x20Issues\x20Found\x20(','17SCAORs','toISOString','screenshot','###\x20Summary'];_0x1258=function(){return _0x531679;};return _0x1258();}(function(_0x2fc1d9,_0x4db543){const _0x7fc6e0=_0xa2fa,_0x1681d6=_0x2fc1d9();while(!![]){try{const _0x9af0ee=-parseInt(_0x7fc6e0(0x11d))/0x1*(-parseInt(_0x7fc6e0(0x10d))/0x2)+parseInt(_0x7fc6e0(0x11b))/0x3+-parseInt(_0x7fc6e0(0x12a))/0x4+-parseInt(_0x7fc6e0(0x127))/0x5+-parseInt(_0x7fc6e0(0x12e))/0x6+parseInt(_0x7fc6e0(0x115))/0x7+parseInt(_0x7fc6e0(0x130))/0x8*(parseInt(_0x7fc6e0(0x128))/0x9);if(_0x9af0ee===_0x4db543)break;else _0x1681d6['push'](_0x1681d6['shift']());}catch(_0x44102a){_0x1681d6['push'](_0x1681d6['shift']());}}}(_0x1258,0x7ef9e));import{readdir}from'fs/promises';import{join}from'path';function _0xa2fa(_0x728284,_0x66e292){_0x728284=_0x728284-0x10d;const _0x12583f=_0x1258();let _0xa2fa05=_0x12583f[_0x728284];return _0xa2fa05;}import{existsSync}from'fs';export async function collectScreenshots(_0x33af1e){const _0x579e1e=_0xa2fa,_0x3cc7e7={'CskkJ':function(_0xbf0701,_0xe22061){return _0xbf0701(_0xe22061);},'pgpfS':function(_0x416764,_0x1c6b1d){return _0x416764(_0x1c6b1d);}},_0xf4e229=[],_0x244b33=[];if(!_0x3cc7e7[_0x579e1e(0x126)](existsSync,_0x33af1e))return{'screenshots':_0xf4e229,'paths':_0x244b33};const _0x22baac=await _0x3cc7e7['pgpfS'](readdir,_0x33af1e),_0x4d03a6=_0x22baac['filter'](_0x316b4d=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x316b4d))['sort']();for(const _0x53a924 of _0x4d03a6){const _0x2acc89=join(_0x33af1e,_0x53a924);_0xf4e229['push']({'filename':_0x53a924,'path':_0x2acc89,'relativePath':'./'+_0x53a924}),_0x244b33['push'](_0x2acc89);}return{'screenshots':_0xf4e229,'paths':_0x244b33};}function getSeverityEmoji(_0x21f1c1){const _0x203335=_0xa2fa,_0x4b52fe={'sktee':'MAJOR'};switch(_0x21f1c1){case _0x203335(0x113):return'🔴';case _0x4b52fe['sktee']:return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x1ee33b){const _0x389ad3=_0xa2fa,_0x242f93=_0x1ee33b[_0x389ad3(0x123)](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x5736f8=_0x242f93['replace'](/^\d+-/,'');return _0x5736f8['split']('-')[_0x389ad3(0x129)](_0x27c7c9=>_0x27c7c9['charAt'](0x0)['toUpperCase']()+_0x27c7c9[_0x389ad3(0x12b)](0x1))['join']('\x20');}export function generateMarkdownReport(_0x345143){const _0x18cd51=_0xa2fa,_0x3c7514={'TDVFI':_0x18cd51(0x10f),'yZVFJ':function(_0x4dbf1f,_0x3956e1){return _0x4dbf1f>_0x3956e1;},'SRvJB':function(_0x39a0c4,_0x52cce3){return _0x39a0c4(_0x52cce3);}},{sessionId:_0x2b246e,task:_0x1a2509,url:_0x253a76,success:_0x492b0d,summary:_0x9fc5c5,issues:_0x16f1a9,screenshots:_0x3a6e76,durationMs:_0x5127b6,traceViewerUrl:_0x4ce4b3}=_0x345143,_0x42c131=new Date()[_0x18cd51(0x11e)](),_0x1ff719=(_0x5127b6/0x3e8)[_0x18cd51(0x125)](0x1),_0x2e32c9=[];_0x2e32c9[_0x18cd51(0x10e)](_0x18cd51(0x11a)),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9['push']('**Session:**\x20`'+_0x2b246e+'`'),_0x2e32c9[_0x18cd51(0x10e)](_0x18cd51(0x112)+_0x42c131),_0x2e32c9['push']('**Duration:**\x20'+_0x1ff719+'s'),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9['push']('##\x20Task'),_0x2e32c9['push'](''),_0x2e32c9['push']('**URL:**\x20'+_0x253a76),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9['push']('>\x20'+_0x1a2509),_0x2e32c9['push'](''),_0x2e32c9[_0x18cd51(0x10e)](_0x18cd51(0x119)),_0x2e32c9[_0x18cd51(0x10e)]('');const _0x51102b=_0x492b0d?'✅':'❌';_0x2e32c9[_0x18cd51(0x10e)]('**Status:**\x20'+_0x51102b+'\x20'+(_0x492b0d?_0x18cd51(0x12f):_0x3c7514[_0x18cd51(0x121)])),_0x2e32c9['push'](''),_0x2e32c9['push'](_0x18cd51(0x120)),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9['push'](_0x9fc5c5),_0x2e32c9[_0x18cd51(0x10e)]('');if(_0x16f1a9&&_0x3c7514[_0x18cd51(0x117)](_0x16f1a9[_0x18cd51(0x114)],0x0)){_0x2e32c9[_0x18cd51(0x10e)](_0x18cd51(0x11c)+_0x16f1a9[_0x18cd51(0x114)]+')'),_0x2e32c9[_0x18cd51(0x10e)]('');for(const _0x23819b of _0x16f1a9){const _0x528823=_0x3c7514['SRvJB'](getSeverityEmoji,_0x23819b['severity']);_0x2e32c9['push'](_0x18cd51(0x122)+_0x528823+'\x20['+_0x23819b[_0x18cd51(0x124)]+']\x20Issue'),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9[_0x18cd51(0x10e)](_0x23819b['description']),_0x2e32c9[_0x18cd51(0x10e)]('');if(_0x23819b[_0x18cd51(0x11f)]){const _0x4f9e44=_0x23819b['screenshot'],_0x4cc6ff=_0x3a6e76[_0x18cd51(0x111)](_0x571088=>_0x571088[_0x18cd51(0x118)]===_0x4f9e44||_0x571088[_0x18cd51(0x118)]['includes'](_0x4f9e44));_0x4cc6ff&&(_0x2e32c9[_0x18cd51(0x10e)]('**Screenshot:**'),_0x2e32c9['push'](''),_0x2e32c9['push']('!['+_0x4f9e44+']('+_0x4cc6ff[_0x18cd51(0x110)]+')'),_0x2e32c9[_0x18cd51(0x10e)](''));}}}if(_0x3a6e76['length']>0x0){_0x2e32c9['push']('##\x20Screenshots\x20('+_0x3a6e76['length']+')'),_0x2e32c9[_0x18cd51(0x10e)]('');for(const _0x216e12 of _0x3a6e76){const _0x4b9a61=formatScreenshotCaption(_0x216e12[_0x18cd51(0x118)]);_0x2e32c9[_0x18cd51(0x10e)](_0x18cd51(0x12d)+_0x4b9a61),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9['push']('!['+_0x216e12['filename']+']('+_0x216e12['relativePath']+')'),_0x2e32c9['push']('');}}return _0x4ce4b3&&(_0x2e32c9['push']('---'),_0x2e32c9[_0x18cd51(0x10e)](''),_0x2e32c9[_0x18cd51(0x10e)](_0x18cd51(0x12c)+_0x4ce4b3+')'),_0x2e32c9['push']('')),_0x2e32c9[_0x18cd51(0x116)]('\x0a');}
1
+ (function(_0x318bff,_0x1b6dab){const _0x4d5bb1=_0xa6b0,_0x236b57=_0x318bff();while(!![]){try{const _0x2bebfe=-parseInt(_0x4d5bb1(0x8d))/0x1*(parseInt(_0x4d5bb1(0x75))/0x2)+parseInt(_0x4d5bb1(0x8a))/0x3*(-parseInt(_0x4d5bb1(0x90))/0x4)+parseInt(_0x4d5bb1(0x86))/0x5*(parseInt(_0x4d5bb1(0x7b))/0x6)+parseInt(_0x4d5bb1(0x7c))/0x7+-parseInt(_0x4d5bb1(0x8b))/0x8*(parseInt(_0x4d5bb1(0x9b))/0x9)+-parseInt(_0x4d5bb1(0x8c))/0xa+parseInt(_0x4d5bb1(0x8e))/0xb*(parseInt(_0x4d5bb1(0x87))/0xc);if(_0x2bebfe===_0x1b6dab)break;else _0x236b57['push'](_0x236b57['shift']());}catch(_0x295825){_0x236b57['push'](_0x236b57['shift']());}}}(_0x4a94,0xbf893));import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';export async function collectScreenshots(_0x3e71f3){const _0x440684=_0xa6b0,_0x4bdde4={'PxjBC':function(_0x17f3ec,_0x254e60){return _0x17f3ec(_0x254e60);},'ZwUrA':function(_0x4c0163,_0x444b37,_0x35cd61){return _0x4c0163(_0x444b37,_0x35cd61);}},_0x2bba1f=[],_0x936e43=[];if(!_0x4bdde4[_0x440684(0x7e)](existsSync,_0x3e71f3))return{'screenshots':_0x2bba1f,'paths':_0x936e43};const _0x540d6b=await readdir(_0x3e71f3),_0x2080bf=_0x540d6b['filter'](_0x43c101=>/\.(png|jpg|jpeg|gif|webp)$/i[_0x440684(0x78)](_0x43c101))['sort']();for(const _0x5e2e9c of _0x2080bf){const _0x327851=_0x4bdde4[_0x440684(0x84)](join,_0x3e71f3,_0x5e2e9c);_0x2bba1f['push']({'filename':_0x5e2e9c,'path':_0x327851,'relativePath':'./'+_0x5e2e9c}),_0x936e43[_0x440684(0x8f)](_0x327851);}return{'screenshots':_0x2bba1f,'paths':_0x936e43};}function _0xa6b0(_0x1fa9be,_0x37ac12){_0x1fa9be=_0x1fa9be-0x71;const _0x4a9421=_0x4a94();let _0xa6b0d7=_0x4a9421[_0x1fa9be];return _0xa6b0d7;}function getSeverityEmoji(_0x51d8c7){const _0x31f218={'UrMap':'MAJOR'};switch(_0x51d8c7){case'BLOCKER':return'🔴';case _0x31f218['UrMap']:return'🟠';default:return'⚪';}}function _0x4a94(){const _0x5b780d=['11903xhiXTC','155936vSWrZV','push','5692oNWgpp','###\x20Issues\x20Found\x20(','xDdTy','**Generated:**\x20','severity','toFixed','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](',']\x20Issue','slice','**Duration:**\x20','**Screenshot:**','4925709AvwWUG','replace','**URL:**\x20','screenshot','charAt','####\x20','202muIFjD','toUpperCase','ISSUES\x20FOUND','test','###\x20Summary','filename','1617402pySaLM','2499266tyIpEM','##\x20Screenshots\x20(','PxjBC','TgefT','find','length','description','##\x20Task','ZwUrA','##\x20Result','15WqToxz','2328UDHZVR','relativePath','---','873TMpZPH','8BmAkAf','9677550YuJURz'];_0x4a94=function(){return _0x5b780d;};return _0x4a94();}function formatScreenshotCaption(_0x246285){const _0x5e7835=_0xa6b0,_0x88e63f=_0x246285['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x276ecb=_0x88e63f[_0x5e7835(0x9c)](/^\d+-/,'');return _0x276ecb['split']('-')['map'](_0x550a16=>_0x550a16[_0x5e7835(0x73)](0x0)[_0x5e7835(0x76)]()+_0x550a16[_0x5e7835(0x98)](0x1))['join']('\x20');}export function generateMarkdownReport(_0x320145){const _0x35cb44=_0xa6b0,_0x304043={'xDdTy':'PASSED','TgefT':function(_0x4bde35,_0x47f4a1){return _0x4bde35(_0x47f4a1);}},{sessionId:_0x1853f7,task:_0x133d1f,url:_0x307ef3,success:_0x14ceae,summary:_0x34baaf,issues:_0x22bf42,screenshots:_0x4e9c2e,durationMs:_0x2d2e4b,traceViewerUrl:_0x53fe92}=_0x320145,_0x1969c1=new Date()['toISOString'](),_0x514865=(_0x2d2e4b/0x3e8)[_0x35cb44(0x95)](0x1),_0x2a6f66=[];_0x2a6f66['push']('#\x20Verification\x20Report'),_0x2a6f66['push'](''),_0x2a6f66['push']('**Session:**\x20`'+_0x1853f7+'`'),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x93)+_0x1969c1),_0x2a6f66['push'](_0x35cb44(0x99)+_0x514865+'s'),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push'](_0x35cb44(0x83)),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x71)+_0x307ef3),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push']('>\x20'+_0x133d1f),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x85)),_0x2a6f66['push']('');const _0xbb176e=_0x14ceae?'✅':'❌';_0x2a6f66[_0x35cb44(0x8f)]('**Status:**\x20'+_0xbb176e+'\x20'+(_0x14ceae?_0x304043[_0x35cb44(0x92)]:_0x35cb44(0x77))),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x79)),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x34baaf),_0x2a6f66[_0x35cb44(0x8f)]('');if(_0x22bf42&&_0x22bf42[_0x35cb44(0x81)]>0x0){_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x91)+_0x22bf42['length']+')'),_0x2a6f66['push']('');for(const _0x453916 of _0x22bf42){const _0x1210ea=_0x304043[_0x35cb44(0x7f)](getSeverityEmoji,_0x453916[_0x35cb44(0x94)]);_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x74)+_0x1210ea+'\x20['+_0x453916[_0x35cb44(0x94)]+_0x35cb44(0x97)),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x453916[_0x35cb44(0x82)]),_0x2a6f66[_0x35cb44(0x8f)]('');if(_0x453916['screenshot']){const _0x51e9bb=_0x453916[_0x35cb44(0x72)],_0xef685a=_0x4e9c2e[_0x35cb44(0x80)](_0x58a5da=>_0x58a5da[_0x35cb44(0x7a)]===_0x51e9bb||_0x58a5da[_0x35cb44(0x7a)]['includes'](_0x51e9bb));_0xef685a&&(_0x2a6f66['push'](_0x35cb44(0x9a)),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push']('!['+_0x51e9bb+']('+_0xef685a['relativePath']+')'),_0x2a6f66['push'](''));}}}if(_0x4e9c2e['length']>0x0){_0x2a6f66['push'](_0x35cb44(0x7d)+_0x4e9c2e[_0x35cb44(0x81)]+')'),_0x2a6f66[_0x35cb44(0x8f)]('');for(const _0x1166d8 of _0x4e9c2e){const _0x3f4599=formatScreenshotCaption(_0x1166d8[_0x35cb44(0x7a)]);_0x2a6f66['push']('###\x20'+_0x3f4599),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push']('!['+_0x1166d8['filename']+']('+_0x1166d8[_0x35cb44(0x88)]+')'),_0x2a6f66['push']('');}}return _0x53fe92&&(_0x2a6f66['push'](_0x35cb44(0x89)),_0x2a6f66['push'](''),_0x2a6f66['push'](_0x35cb44(0x96)+_0x53fe92+')'),_0x2a6f66[_0x35cb44(0x8f)]('')),_0x2a6f66['join']('\x0a');}
@@ -1 +1 @@
1
- (function(_0x57f472,_0x323053){const _0x42045f=_0x2338,_0x4211c6=_0x57f472();while(!![]){try{const _0x2b66e4=parseInt(_0x42045f(0xda))/0x1+parseInt(_0x42045f(0xdf))/0x2+-parseInt(_0x42045f(0xe4))/0x3+parseInt(_0x42045f(0xd9))/0x4+-parseInt(_0x42045f(0xe6))/0x5+parseInt(_0x42045f(0xdc))/0x6*(parseInt(_0x42045f(0xe0))/0x7)+parseInt(_0x42045f(0xdb))/0x8;if(_0x2b66e4===_0x323053)break;else _0x4211c6['push'](_0x4211c6['shift']());}catch(_0x54e738){_0x4211c6['push'](_0x4211c6['shift']());}}}(_0x4fbc,0x3f904));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x2338(_0x451c25,_0x208705){_0x451c25=_0x451c25-0xd9;const _0x4fbc8b=_0x4fbc();let _0x233891=_0x4fbc8b[_0x451c25];return _0x233891;}function _0x4fbc(){const _0x4b7377=['label','1732080BjlnRW','624156eqFWVK','113437KnYUbp','4119584QzkFaD','428118yuRqep','SvGxh','fusUV','512980iFuRGo','7vtXiZn','rgBgW','maxRetries','error','1516485OzfDac'];_0x4fbc=function(){return _0x4b7377;};return _0x4fbc();}export async function withRetry(_0x4d924d,_0x48802d){const _0x46c77a=_0x2338,_0x5f52cc={'MjGnx':function(_0x893bdd,_0x47a2c4){return _0x893bdd<=_0x47a2c4;},'rgBgW':function(_0x18287f){return _0x18287f();},'fusUV':function(_0x595cbf,_0x4d7862){return _0x595cbf(_0x4d7862);},'SvGxh':function(_0x4027ab,_0x5c1672){return _0x4027ab+_0x5c1672;}},_0x479793=_0x48802d?.[_0x46c77a(0xe2)]??DEFAULT_MAX_RETRIES,_0x4804cf=_0x48802d?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x4682fb;for(let _0x152d91=0x0;_0x5f52cc['MjGnx'](_0x152d91,_0x479793);_0x152d91++){try{return await _0x5f52cc[_0x46c77a(0xe1)](_0x4d924d);}catch(_0x32e74c){_0x4682fb=_0x32e74c instanceof Error?_0x32e74c:new Error(_0x5f52cc[_0x46c77a(0xde)](String,_0x32e74c));if(_0x152d91<_0x479793){const _0x19294f=_0x4804cf*Math['pow'](0x2,_0x152d91);_0x48802d?.[_0x46c77a(0xe5)]&&console[_0x46c77a(0xe3)](_0x48802d['label']+'\x20failed\x20(attempt\x20'+_0x5f52cc[_0x46c77a(0xdd)](_0x152d91,0x1)+'/'+(_0x479793+0x1)+'),\x20retrying\x20in\x20'+_0x19294f+'ms...'),await new Promise(_0xe63c70=>setTimeout(_0xe63c70,_0x19294f));}}}throw _0x4682fb;}
1
+ (function(_0x29ad81,_0x4c62be){const _0xb079a2=_0x3d29,_0x3360ba=_0x29ad81();while(!![]){try{const _0x1f64ee=-parseInt(_0xb079a2(0xaf))/0x1*(-parseInt(_0xb079a2(0xaa))/0x2)+-parseInt(_0xb079a2(0xa9))/0x3*(parseInt(_0xb079a2(0xa8))/0x4)+parseInt(_0xb079a2(0xb2))/0x5*(parseInt(_0xb079a2(0xa5))/0x6)+-parseInt(_0xb079a2(0xa6))/0x7*(parseInt(_0xb079a2(0xb1))/0x8)+-parseInt(_0xb079a2(0xb3))/0x9+parseInt(_0xb079a2(0xa7))/0xa*(-parseInt(_0xb079a2(0xac))/0xb)+parseInt(_0xb079a2(0xb0))/0xc;if(_0x1f64ee===_0x4c62be)break;else _0x3360ba['push'](_0x3360ba['shift']());}catch(_0x10d47e){_0x3360ba['push'](_0x3360ba['shift']());}}}(_0x5ec9,0xbf5e9));function _0x3d29(_0x3f73bb,_0x1e8a5){_0x3f73bb=_0x3f73bb-0xa4;const _0x5ec9cc=_0x5ec9();let _0x3d2916=_0x5ec9cc[_0x3f73bb];return _0x3d2916;}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x5ec9(){const _0x3f95fd=['6lrjfon','234444wYTAEw','15475190PCgfUj','6988Klfzkw','2361IsGTxQ','12rGZtvG','aXZOd','11jRpkYc','pow','baseDelayMs','192264rjdTWH','45464100OAVHss','256aJSNby','281915JTBfSt','1985769quEFfI','ms...','\x20failed\x20(attempt\x20','label','error'];_0x5ec9=function(){return _0x3f95fd;};return _0x5ec9();}export async function withRetry(_0xc26e33,_0x29a442){const _0x40a4e3=_0x3d29,_0x33f484={'aySEd':function(_0x2a1173,_0x25b9b8){return _0x2a1173<=_0x25b9b8;},'tPqon':function(_0x14283b,_0x5bd5be){return _0x14283b*_0x5bd5be;},'aXZOd':function(_0x3857c6,_0x1ee890){return _0x3857c6+_0x1ee890;}},_0x289ece=_0x29a442?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x23c098=_0x29a442?.[_0x40a4e3(0xae)]??DEFAULT_BASE_DELAY_MS;let _0x13b706;for(let _0x1454d2=0x0;_0x33f484['aySEd'](_0x1454d2,_0x289ece);_0x1454d2++){try{return await _0xc26e33();}catch(_0x489134){_0x13b706=_0x489134 instanceof Error?_0x489134:new Error(String(_0x489134));if(_0x1454d2<_0x289ece){const _0x1fc8b5=_0x33f484['tPqon'](_0x23c098,Math[_0x40a4e3(0xad)](0x2,_0x1454d2));_0x29a442?.['label']&&console[_0x40a4e3(0xa4)](_0x29a442[_0x40a4e3(0xb6)]+_0x40a4e3(0xb5)+_0x33f484[_0x40a4e3(0xab)](_0x1454d2,0x1)+'/'+(_0x289ece+0x1)+'),\x20retrying\x20in\x20'+_0x1fc8b5+_0x40a4e3(0xb4)),await new Promise(_0x406919=>setTimeout(_0x406919,_0x1fc8b5));}}}throw _0x13b706;}
@@ -1 +1 @@
1
- const _0x2f0a6=_0x8f43;(function(_0x3514f7,_0x515aa0){const _0x41b5f3=_0x8f43,_0x4d8560=_0x3514f7();while(!![]){try{const _0x5f18e6=-parseInt(_0x41b5f3(0xa0))/0x1+parseInt(_0x41b5f3(0x74))/0x2*(parseInt(_0x41b5f3(0x88))/0x3)+parseInt(_0x41b5f3(0x87))/0x4+-parseInt(_0x41b5f3(0x73))/0x5*(-parseInt(_0x41b5f3(0x8c))/0x6)+-parseInt(_0x41b5f3(0x9e))/0x7+-parseInt(_0x41b5f3(0x77))/0x8+-parseInt(_0x41b5f3(0x90))/0x9*(parseInt(_0x41b5f3(0xa1))/0xa);if(_0x5f18e6===_0x515aa0)break;else _0x4d8560['push'](_0x4d8560['shift']());}catch(_0xa4f92c){_0x4d8560['push'](_0x4d8560['shift']());}}}(_0x1ace,0x746d0));import*as _0x412b15 from'fs';import*as _0x39a74c from'path';import*as _0x4cdd60 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x39a74c['join'](_0x4cdd60['homedir'](),_0x2f0a6(0x94),'.ranger_cache.json');function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x17ee43=_0x2f0a6;try{if(_0x412b15[_0x17ee43(0x8a)](CACHE_FILE)){const _0x2b84b6=JSON['parse'](_0x412b15[_0x17ee43(0x76)](CACHE_FILE,'utf-8'));return{'version':0x3,'sessions':_0x2b84b6['sessions']||{},'branches':_0x2b84b6[_0x17ee43(0x84)]||{},'lastEnabledSessionClearedAt':_0x2b84b6['lastEnabledSessionClearedAt']};}}catch{}return createEmptyCache();}function saveCache(_0x2474db){const _0xca58a6=_0x2f0a6;try{const _0x2d367c=_0x39a74c['dirname'](CACHE_FILE);!_0x412b15[_0xca58a6(0x8a)](_0x2d367c)&&_0x412b15['mkdirSync'](_0x2d367c,{'recursive':!![]}),_0x412b15[_0xca58a6(0x86)](CACHE_FILE,JSON['stringify'](_0x2474db,null,0x2));}catch{}}export function getCurrentBranch(){const _0x128509=_0x2f0a6,_0x3e2269={'rTPCx':function(_0x4b2e19,_0x448e9c,_0x71400a){return _0x4b2e19(_0x448e9c,_0x71400a);},'vPFSf':'HEAD'};try{const _0x18cd72=_0x3e2269['rTPCx'](execSync,_0x128509(0x93),{'encoding':_0x128509(0x8d),'stdio':['pipe','pipe','pipe']})['trim']();if(!_0x18cd72||_0x18cd72===_0x3e2269['vPFSf'])return null;return _0x18cd72;}catch{return null;}}export function enableBranch(_0x130f57){const _0x494209=_0x2f0a6,_0x3db1f9={'wgpSc':function(_0x3a012c){return _0x3a012c();},'UxKAX':function(_0x5c9a9b,_0x43cf7f){return _0x5c9a9b(_0x43cf7f);}},_0x1f8cf5=_0x3db1f9['wgpSc'](loadCache);_0x1f8cf5[_0x494209(0x84)][_0x130f57]=!![],_0x3db1f9['UxKAX'](saveCache,_0x1f8cf5);}export function disableBranch(_0x13ec65){const _0x5dd77f=_0x2f0a6,_0x539bb8=loadCache();delete _0x539bb8[_0x5dd77f(0x84)][_0x13ec65],saveCache(_0x539bb8);}export function isBranchEnabled(_0x1aeb6e){const _0x4cf68=_0x2f0a6,_0xf44048={'Nmxov':function(_0x27e68b,_0x45a434){return _0x27e68b===_0x45a434;}},_0x2ff501=loadCache();return _0xf44048['Nmxov'](_0x2ff501[_0x4cf68(0x84)][_0x1aeb6e],!![]);}function getOrCreateSession(_0x2730f7,_0x256e53){const _0x1ba419=_0x2f0a6;return!_0x2730f7[_0x1ba419(0x9d)][_0x256e53]&&(_0x2730f7[_0x1ba419(0x9d)][_0x256e53]={}),_0x2730f7['sessions'][_0x256e53];}export function enableSession(_0x525977){const _0x338f29=_0x2f0a6,_0xac0b02={'BLNsP':function(_0x42b804,_0x1b937a){return _0x42b804!==_0x1b937a;},'QhWCT':function(_0x5540f7,_0x3f6769){return _0x5540f7(_0x3f6769);}},_0x410c9b=loadCache(),_0x29011e=getOrCreateSession(_0x410c9b,_0x525977);_0x29011e[_0x338f29(0x82)]=!![];const _0x4724d8=getCurrentBranch();_0x4724d8&&_0xac0b02['BLNsP'](_0x4724d8,_0x338f29(0x98))&&_0xac0b02[_0x338f29(0x7b)](_0x4724d8,_0x338f29(0x7a))&&(_0x410c9b[_0x338f29(0x84)][_0x4724d8]=!![],_0x29011e['currentBranch']=_0x4724d8),_0xac0b02['QhWCT'](saveCache,_0x410c9b);}export function isSessionEnabled(_0x4e67c4){const _0x8ee0e4=_0x2f0a6,_0x3793ef={'MJVbv':function(_0x373f18){return _0x373f18();},'AIRqA':function(_0x2b172d,_0x1c569a){return _0x2b172d===_0x1c569a;},'nsplc':_0x8ee0e4(0x98)},_0x9895fe=_0x3793ef['MJVbv'](loadCache),_0x395e6b=getCurrentBranch();if(!_0x395e6b||_0x3793ef[_0x8ee0e4(0x83)](_0x395e6b,_0x3793ef['nsplc'])||_0x395e6b===_0x8ee0e4(0x7a))return _0x3793ef['AIRqA'](_0x9895fe['sessions'][_0x4e67c4]?.['enabled'],!![]);const _0x40ccc1=_0x3793ef['AIRqA'](_0x9895fe[_0x8ee0e4(0x84)][_0x395e6b],!![]),_0x5a7903=_0x9895fe[_0x8ee0e4(0x9d)][_0x4e67c4]?.[_0x8ee0e4(0x82)]===!![];return _0x40ccc1||_0x5a7903;}export function disableSession(_0x1f91ff){const _0x318001=_0x2f0a6,_0x24ebcc={'EcnFI':function(_0x42a182){return _0x42a182();},'yXYgZ':function(_0x349c3c,_0x556474){return _0x349c3c(_0x556474);}},_0x808fcf=_0x24ebcc['EcnFI'](loadCache),_0x17cb80=getOrCreateSession(_0x808fcf,_0x1f91ff);_0x17cb80['enabled']=![],_0x24ebcc[_0x318001(0x85)](saveCache,_0x808fcf);}export function updateBranchTracking(_0x3ad4df){const _0x16b8ad=_0x2f0a6,_0xd1b3f4={'OKjVN':function(_0x3b0f4c){return _0x3b0f4c();},'sCedR':function(_0x3a0ed3,_0x370ea7){return _0x3a0ed3===_0x370ea7;},'ThkBQ':'main','cqxME':'master','VGjkl':function(_0x1c0d40,_0xfe9d2a){return _0x1c0d40(_0xfe9d2a);}},_0x2cf0af=_0xd1b3f4[_0x16b8ad(0x8f)](loadCache),_0x1e389f=_0x2cf0af[_0x16b8ad(0x9d)][_0x3ad4df];if(!_0x1e389f?.[_0x16b8ad(0x82)])return;const _0x1a36c5=_0xd1b3f4[_0x16b8ad(0x8f)](getCurrentBranch);if(!_0x1a36c5||_0xd1b3f4['sCedR'](_0x1a36c5,_0xd1b3f4['ThkBQ'])||_0x1a36c5===_0xd1b3f4['cqxME'])return;_0x1e389f['currentBranch']!==_0x1a36c5&&(_0x2cf0af['branches'][_0x1a36c5]=!![],_0x1e389f[_0x16b8ad(0x79)]=_0x1a36c5,_0xd1b3f4['VGjkl'](saveCache,_0x2cf0af));}export function initBranchTracking(_0x2bd3c9){const _0x56bbfc=_0x2f0a6,_0x43a098={'qvELj':function(_0x1cd752){return _0x1cd752();},'yvHyO':function(_0x169852,_0x2bd017){return _0x169852===_0x2bd017;},'lGgod':'main','RuQXV':function(_0x1cec4f,_0x421469){return _0x1cec4f(_0x421469);}},_0x45fa1b=loadCache(),_0xbb3ca1=_0x43a098[_0x56bbfc(0x99)](getCurrentBranch);if(!_0xbb3ca1||_0x43a098['yvHyO'](_0xbb3ca1,_0x43a098['lGgod'])||_0xbb3ca1===_0x56bbfc(0x7a))return;if(_0x45fa1b[_0x56bbfc(0x84)][_0xbb3ca1]===!![]){const _0x563cab=getOrCreateSession(_0x45fa1b,_0x2bd3c9);_0x563cab[_0x56bbfc(0x82)]=!![],_0x563cab['currentBranch']=_0xbb3ca1,_0x43a098[_0x56bbfc(0x8e)](saveCache,_0x45fa1b);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x2b8ddd){const _0x1ac6c3=_0x2f0a6,_0x66ce6e=loadCache(),_0x20151d=_0x66ce6e['sessions'][_0x2b8ddd];_0x20151d?.['enabled']&&(_0x66ce6e[_0x1ac6c3(0x78)]=Date['now'](),saveCache(_0x66ce6e));}export function shouldAutoEnableAfterClear(_0x4238cd){const _0x8f81bf=_0x2f0a6,_0x317df1={'alMIs':function(_0x548fb2,_0x1751ec){return _0x548fb2<=_0x1751ec;}};if(_0x4238cd!==_0x8f81bf(0x9c))return![];const _0x1367bc=loadCache(),_0x5286ef=_0x1367bc['lastEnabledSessionClearedAt'];if(!_0x5286ef)return![];const _0x4e8857=Date['now']()-_0x5286ef;return _0x317df1[_0x8f81bf(0x95)](_0x4e8857,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x430683){const _0x3dd0fe=_0x2f0a6,_0x13883a={'KUxLl':function(_0x2c10b6){return _0x2c10b6();},'oOtUk':function(_0x3b8cdb,_0x39a747,_0x570072){return _0x3b8cdb(_0x39a747,_0x570072);},'ELfgG':function(_0x5c1bda,_0x23e980){return _0x5c1bda!==_0x23e980;},'IcLlA':_0x3dd0fe(0x7a)},_0xb8f7c1=_0x13883a[_0x3dd0fe(0x75)](loadCache),_0x33f2e2=_0x13883a[_0x3dd0fe(0x7f)](getOrCreateSession,_0xb8f7c1,_0x430683);_0x33f2e2['enabled']=!![];const _0x59e335=getCurrentBranch();_0x59e335&&_0x59e335!==_0x3dd0fe(0x98)&&_0x13883a[_0x3dd0fe(0x9b)](_0x59e335,_0x13883a[_0x3dd0fe(0x80)])&&(_0x33f2e2['currentBranch']=_0x59e335),delete _0xb8f7c1[_0x3dd0fe(0x78)],saveCache(_0xb8f7c1);}export function registerSession(_0x434ac0,_0x25363c){const _0x513913=_0x2f0a6,_0x1c5c91={'CJnTn':function(_0x502c14){return _0x502c14();},'qoNiZ':function(_0x16e79a,_0x1a0ce3,_0x356267){return _0x16e79a(_0x1a0ce3,_0x356267);},'Iyein':function(_0x2f2fd5,_0x5495ec){return _0x2f2fd5(_0x5495ec);}},_0x36d953=_0x1c5c91[_0x513913(0x92)](loadCache),_0xa20317=_0x1c5c91['qoNiZ'](getOrCreateSession,_0x36d953,_0x434ac0);_0xa20317[_0x513913(0x7e)]=_0x25363c,_0xa20317['registeredAt']=new Date()['toISOString'](),_0x1c5c91[_0x513913(0x8b)](saveCache,_0x36d953);}function _0x8f43(_0x1188ba,_0x27beaf){_0x1188ba=_0x1188ba-0x73;const _0x1aceec=_0x1ace();let _0x8f4303=_0x1aceec[_0x1188ba];return _0x8f4303;}function _0x1ace(){const _0xfab812=['writeFileSync','1857988BXSWcR','3bERGyc','LcZCw','existsSync','Iyein','24fbNhFk','utf-8','RuQXV','OKjVN','45xYwujT','ZvmhV','CJnTn','git\x20rev-parse\x20--abbrev-ref\x20HEAD','.claude','alMIs','tKpVI','lastPlanReminderAt','main','qvELj','now','ELfgG','clear','sessions','1139159phIDBQ','registeredAt','170498NuIRWu','377030szJPNy','428555mQwMNw','807558BZTITy','KUxLl','readFileSync','1699920DGMYRg','lastEnabledSessionClearedAt','currentBranch','master','BLNsP','FFudp','prompted','featureId','oOtUk','IcLlA','rCyMp','enabled','AIRqA','branches','yXYgZ'];_0x1ace=function(){return _0xfab812;};return _0x1ace();}export function getSessionEntry(_0x205d8b){const _0x9c1c10=_0x2f0a6,_0x389b7c={'VCKjQ':function(_0x423e1f){return _0x423e1f();}},_0x346931=_0x389b7c['VCKjQ'](loadCache),_0x14754d=_0x346931[_0x9c1c10(0x9d)][_0x205d8b];if(_0x14754d?.['featureId']&&_0x14754d?.[_0x9c1c10(0x9f)])return{'featureId':_0x14754d['featureId'],'registeredAt':_0x14754d[_0x9c1c10(0x9f)]};return null;}export function unregisterSession(_0x286231){const _0x492e09=_0x2f0a6,_0x5d7475=loadCache(),_0x3d2a07=_0x5d7475[_0x492e09(0x9d)][_0x286231];_0x3d2a07&&(delete _0x3d2a07[_0x492e09(0x7e)],delete _0x3d2a07[_0x492e09(0x9f)],saveCache(_0x5d7475));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x231e75){const _0x34e1b4=_0x2f0a6,_0x5dfbf1={'tKpVI':function(_0xcc1ebd){return _0xcc1ebd();},'rCyMp':function(_0x4bf39d,_0x51b39c){return _0x4bf39d>=_0x51b39c;},'LcZCw':function(_0x337a4f,_0xed05ed){return _0x337a4f(_0xed05ed);}},_0x54fc27=_0x5dfbf1[_0x34e1b4(0x96)](loadCache),_0x535b43=getOrCreateSession(_0x54fc27,_0x231e75),_0x25ddaa=_0x535b43['lastPlanReminderAt']||0x0,_0x253bc9=Date[_0x34e1b4(0x9a)]();if(_0x5dfbf1[_0x34e1b4(0x81)](_0x253bc9-_0x25ddaa,PLAN_REMINDER_INTERVAL_MS))return _0x535b43[_0x34e1b4(0x97)]=_0x253bc9,_0x5dfbf1[_0x34e1b4(0x89)](saveCache,_0x54fc27),!![];return![];}export function hasSessionBeenPrompted(_0x33b468){const _0xaffb51=_0x2f0a6,_0x35f917={'FFudp':function(_0x5bdb53){return _0x5bdb53();},'vyXJw':function(_0x46e4ac,_0x473f09){return _0x46e4ac===_0x473f09;}},_0x1fd590=_0x35f917[_0xaffb51(0x7c)](loadCache);return _0x35f917['vyXJw'](_0x1fd590['sessions'][_0x33b468]?.[_0xaffb51(0x7d)],!![]);}export function markSessionPrompted(_0x5249ca){const _0x34cf16=_0x2f0a6,_0x4888f5={'ZvmhV':function(_0x404f60,_0x3b44a2,_0x30028f){return _0x404f60(_0x3b44a2,_0x30028f);},'szYyy':function(_0x1c85e3,_0x1e0dfa){return _0x1c85e3(_0x1e0dfa);}},_0x527875=loadCache(),_0x476100=_0x4888f5[_0x34cf16(0x91)](getOrCreateSession,_0x527875,_0x5249ca);_0x476100['prompted']=!![],_0x4888f5['szYyy'](saveCache,_0x527875);}export function getCacheFile(){return CACHE_FILE;}
1
+ function _0xf6a7(){const _0x4e43bc=['parse','lastEnabledSessionClearedAt','czyHg','toISOString','440573leNdOm','readFileSync','30636lcVfWW','330255camkSE','git\x20rev-parse\x20--abbrev-ref\x20HEAD','TZxVW','18vfDBLN','kkpwK','6aDcUWw','stringify','writeFileSync','branches','LLngE','646296fEZije','lastPlanReminderAt','4AhMuLf','laqJC','132256godbCo','lpqSD','utf-8','.ranger_cache.json','mXeSb','nnGRb','ggozm','TCBSx','CXhbg','DPuCC','riknZ','LqaRD','sessions','main','pipe','trim','registeredAt','2494390VznBJp','featureId','master','enabled','96582PniEJk','currentBranch'];_0xf6a7=function(){return _0x4e43bc;};return _0xf6a7();}const _0x3d3c6e=_0x2129;(function(_0x13f54e,_0x386efc){const _0x2eb5a8=_0x2129,_0x5055d3=_0x13f54e();while(!![]){try{const _0x48767c=parseInt(_0x2eb5a8(0xb2))/0x1+-parseInt(_0x2eb5a8(0xbf))/0x2*(-parseInt(_0x2eb5a8(0xaa))/0x3)+parseInt(_0x2eb5a8(0xbd))/0x4+parseInt(_0x2eb5a8(0xb3))/0x5+parseInt(_0x2eb5a8(0xb8))/0x6*(parseInt(_0x2eb5a8(0xb0))/0x7)+-parseInt(_0x2eb5a8(0xc1))/0x8*(parseInt(_0x2eb5a8(0xb6))/0x9)+-parseInt(_0x2eb5a8(0xd2))/0xa;if(_0x48767c===_0x386efc)break;else _0x5055d3['push'](_0x5055d3['shift']());}catch(_0xaf0fc5){_0x5055d3['push'](_0x5055d3['shift']());}}}(_0xf6a7,0x192ad));import*as _0x23b163 from'fs';import*as _0x1b0f68 from'path';import*as _0x24a8c2 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x1b0f68['join'](_0x24a8c2['homedir'](),'.claude',_0x3d3c6e(0xc4));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function _0x2129(_0x29cfcf,_0x3d6db4){_0x29cfcf=_0x29cfcf-0xaa;const _0xf6a744=_0xf6a7();let _0x2129b4=_0xf6a744[_0x29cfcf];return _0x2129b4;}function loadCache(){const _0x750d9=_0x3d3c6e,_0x146548={'vlPIJ':'utf-8','riknZ':function(_0x407baf){return _0x407baf();}};try{if(_0x23b163['existsSync'](CACHE_FILE)){const _0x445ed9=JSON[_0x750d9(0xac)](_0x23b163[_0x750d9(0xb1)](CACHE_FILE,_0x146548['vlPIJ']));return{'version':0x3,'sessions':_0x445ed9[_0x750d9(0xcd)]||{},'branches':_0x445ed9['branches']||{},'lastEnabledSessionClearedAt':_0x445ed9['lastEnabledSessionClearedAt']};}}catch{}return _0x146548[_0x750d9(0xcb)](createEmptyCache);}function saveCache(_0x3e5866){const _0x446425=_0x3d3c6e;try{const _0x4031c=_0x1b0f68['dirname'](CACHE_FILE);!_0x23b163['existsSync'](_0x4031c)&&_0x23b163['mkdirSync'](_0x4031c,{'recursive':!![]}),_0x23b163[_0x446425(0xba)](CACHE_FILE,JSON[_0x446425(0xb9)](_0x3e5866,null,0x2));}catch{}}export function getCurrentBranch(){const _0x53160f=_0x3d3c6e,_0x3aec99={'LLngE':_0x53160f(0xb4),'zUNEG':_0x53160f(0xcf),'TKhXX':function(_0x11e32d,_0x2e553e){return _0x11e32d===_0x2e553e;}};try{const _0x547817=execSync(_0x3aec99[_0x53160f(0xbc)],{'encoding':_0x53160f(0xc3),'stdio':['pipe','pipe',_0x3aec99['zUNEG']]})[_0x53160f(0xd0)]();if(!_0x547817||_0x3aec99['TKhXX'](_0x547817,'HEAD'))return null;return _0x547817;}catch{return null;}}export function enableBranch(_0x11b792){const _0x149830=_0x3d3c6e,_0x57f0aa=loadCache();_0x57f0aa[_0x149830(0xbb)][_0x11b792]=!![],saveCache(_0x57f0aa);}export function disableBranch(_0x36dddc){const _0x3ed9f6=loadCache();delete _0x3ed9f6['branches'][_0x36dddc],saveCache(_0x3ed9f6);}export function isBranchEnabled(_0x4338e4){const _0x232ec4=_0x3d3c6e,_0x3614b8={'lpqSD':function(_0x4514c7,_0x22553d){return _0x4514c7===_0x22553d;}},_0x33a4ab=loadCache();return _0x3614b8[_0x232ec4(0xc2)](_0x33a4ab[_0x232ec4(0xbb)][_0x4338e4],!![]);}function getOrCreateSession(_0x1dd52e,_0x4da962){const _0x240437=_0x3d3c6e;return!_0x1dd52e[_0x240437(0xcd)][_0x4da962]&&(_0x1dd52e[_0x240437(0xcd)][_0x4da962]={}),_0x1dd52e['sessions'][_0x4da962];}export function enableSession(_0x3a1c7e){const _0x37a30d=_0x3d3c6e,_0x3cf6e9={'oXlnI':function(_0x389cc8){return _0x389cc8();},'JXqpj':_0x37a30d(0xce)},_0x3371e2=_0x3cf6e9['oXlnI'](loadCache),_0x2c413c=getOrCreateSession(_0x3371e2,_0x3a1c7e);_0x2c413c['enabled']=!![];const _0xc8ea4d=getCurrentBranch();_0xc8ea4d&&_0xc8ea4d!==_0x3cf6e9['JXqpj']&&_0xc8ea4d!=='master'&&(_0x3371e2[_0x37a30d(0xbb)][_0xc8ea4d]=!![],_0x2c413c['currentBranch']=_0xc8ea4d),saveCache(_0x3371e2);}export function isSessionEnabled(_0x24a8f9){const _0x238e18=_0x3d3c6e,_0x4a8956={'Uiqao':'main','kkpwK':'master','yAxjs':function(_0x385b70,_0xefbda5){return _0x385b70===_0xefbda5;}},_0x8b9029=loadCache(),_0x5bd5f2=getCurrentBranch();if(!_0x5bd5f2||_0x5bd5f2===_0x4a8956['Uiqao']||_0x5bd5f2===_0x4a8956[_0x238e18(0xb7)])return _0x8b9029['sessions'][_0x24a8f9]?.['enabled']===!![];const _0x54891b=_0x8b9029[_0x238e18(0xbb)][_0x5bd5f2]===!![],_0x6ced74=_0x4a8956['yAxjs'](_0x8b9029['sessions'][_0x24a8f9]?.['enabled'],!![]);return _0x54891b||_0x6ced74;}export function disableSession(_0x5d9142){const _0x54d58c=_0x3d3c6e,_0x26bdf7=loadCache(),_0xc59195=getOrCreateSession(_0x26bdf7,_0x5d9142);_0xc59195[_0x54d58c(0xd5)]=![],saveCache(_0x26bdf7);}export function updateBranchTracking(_0x2912d5){const _0x2fe4be=_0x3d3c6e,_0x3c9f0b={'umIbs':function(_0x19aa80){return _0x19aa80();},'TZxVW':function(_0xade8fa){return _0xade8fa();},'laqJC':function(_0x49281e,_0x17f92a){return _0x49281e===_0x17f92a;}},_0x5ba6cd=_0x3c9f0b['umIbs'](loadCache),_0x296864=_0x5ba6cd[_0x2fe4be(0xcd)][_0x2912d5];if(!_0x296864?.['enabled'])return;const _0x592ba5=_0x3c9f0b[_0x2fe4be(0xb5)](getCurrentBranch);if(!_0x592ba5||_0x3c9f0b[_0x2fe4be(0xc0)](_0x592ba5,'main')||_0x3c9f0b[_0x2fe4be(0xc0)](_0x592ba5,_0x2fe4be(0xd4)))return;_0x296864[_0x2fe4be(0xab)]!==_0x592ba5&&(_0x5ba6cd[_0x2fe4be(0xbb)][_0x592ba5]=!![],_0x296864['currentBranch']=_0x592ba5,saveCache(_0x5ba6cd));}export function initBranchTracking(_0x24ad23){const _0x89e749=_0x3d3c6e,_0x3967f2={'ZDbwg':function(_0x4c6475){return _0x4c6475();},'mXeSb':function(_0x389e74,_0x224877,_0x3ca871){return _0x389e74(_0x224877,_0x3ca871);}},_0x54fc33=loadCache(),_0x486f1c=_0x3967f2['ZDbwg'](getCurrentBranch);if(!_0x486f1c||_0x486f1c==='main'||_0x486f1c===_0x89e749(0xd4))return;if(_0x54fc33['branches'][_0x486f1c]===!![]){const _0x169e9b=_0x3967f2[_0x89e749(0xc5)](getOrCreateSession,_0x54fc33,_0x24ad23);_0x169e9b[_0x89e749(0xd5)]=!![],_0x169e9b[_0x89e749(0xab)]=_0x486f1c,saveCache(_0x54fc33);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x303dd4){const _0x292123=_0x3d3c6e,_0x26a9f8={'Jevzl':function(_0x2fd7f2){return _0x2fd7f2();},'WpxSt':function(_0x21b96e,_0x4af822){return _0x21b96e(_0x4af822);}},_0xcdaa59=_0x26a9f8['Jevzl'](loadCache),_0x3dfe4b=_0xcdaa59[_0x292123(0xcd)][_0x303dd4];_0x3dfe4b?.[_0x292123(0xd5)]&&(_0xcdaa59[_0x292123(0xad)]=Date['now'](),_0x26a9f8['WpxSt'](saveCache,_0xcdaa59));}export function shouldAutoEnableAfterClear(_0x2792fc){const _0xbfbc68=_0x3d3c6e,_0xf9f02e={'czyHg':function(_0x42ab63,_0x2b60a3){return _0x42ab63!==_0x2b60a3;},'oQyEo':function(_0x42cc47,_0x42dcf4){return _0x42cc47<=_0x42dcf4;}};if(_0xf9f02e[_0xbfbc68(0xae)](_0x2792fc,'clear'))return![];const _0x4deeac=loadCache(),_0x28c627=_0x4deeac['lastEnabledSessionClearedAt'];if(!_0x28c627)return![];const _0x90b59f=Date['now']()-_0x28c627;return _0xf9f02e['oQyEo'](_0x90b59f,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x6f6199){const _0x406497=_0x3d3c6e,_0x1c4486={'CXhbg':function(_0x47b412,_0x270b77){return _0x47b412!==_0x270b77;},'LqaRD':function(_0x270aba,_0x2d101b){return _0x270aba(_0x2d101b);}},_0x2a2987=loadCache(),_0x401a4f=getOrCreateSession(_0x2a2987,_0x6f6199);_0x401a4f['enabled']=!![];const _0x58a10e=getCurrentBranch();_0x58a10e&&_0x1c4486[_0x406497(0xc9)](_0x58a10e,'main')&&_0x58a10e!==_0x406497(0xd4)&&(_0x401a4f['currentBranch']=_0x58a10e),delete _0x2a2987[_0x406497(0xad)],_0x1c4486[_0x406497(0xcc)](saveCache,_0x2a2987);}export function registerSession(_0x35b049,_0x9980a9){const _0x2464de=_0x3d3c6e,_0x16b76f={'ggozm':function(_0x1ef460){return _0x1ef460();}},_0x5d24c4=_0x16b76f[_0x2464de(0xc7)](loadCache),_0x333b32=getOrCreateSession(_0x5d24c4,_0x35b049);_0x333b32['featureId']=_0x9980a9,_0x333b32[_0x2464de(0xd1)]=new Date()[_0x2464de(0xaf)](),saveCache(_0x5d24c4);}export function getSessionEntry(_0x56af4f){const _0x51ceea=_0x3d3c6e,_0x59d075=loadCache(),_0x43cf1b=_0x59d075['sessions'][_0x56af4f];if(_0x43cf1b?.['featureId']&&_0x43cf1b?.[_0x51ceea(0xd1)])return{'featureId':_0x43cf1b[_0x51ceea(0xd3)],'registeredAt':_0x43cf1b[_0x51ceea(0xd1)]};return null;}export function unregisterSession(_0x4d081c){const _0x16b029=_0x3d3c6e,_0x5ac54f={'DPuCC':function(_0xc8f185){return _0xc8f185();}},_0x2189f0=_0x5ac54f[_0x16b029(0xca)](loadCache),_0x37789d=_0x2189f0['sessions'][_0x4d081c];_0x37789d&&(delete _0x37789d['featureId'],delete _0x37789d['registeredAt'],saveCache(_0x2189f0));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x3bd8bf){const _0x18a663=_0x3d3c6e,_0x320e4b={'nKhLC':function(_0xc7e6a0,_0x47d511,_0x4b3747){return _0xc7e6a0(_0x47d511,_0x4b3747);},'IjxSZ':function(_0x4f8935,_0x4130d1){return _0x4f8935-_0x4130d1;}},_0x4d3ae7=loadCache(),_0x223d19=_0x320e4b['nKhLC'](getOrCreateSession,_0x4d3ae7,_0x3bd8bf),_0x1e0351=_0x223d19[_0x18a663(0xbe)]||0x0,_0x25eaba=Date['now']();if(_0x320e4b['IjxSZ'](_0x25eaba,_0x1e0351)>=PLAN_REMINDER_INTERVAL_MS)return _0x223d19[_0x18a663(0xbe)]=_0x25eaba,saveCache(_0x4d3ae7),!![];return![];}export function hasSessionBeenPrompted(_0xc7b8f2){const _0xe21206=_0x3d3c6e,_0x2f58ef={'XIioV':function(_0x2023f1){return _0x2023f1();},'TCBSx':function(_0x37df5a,_0x355f43){return _0x37df5a===_0x355f43;}},_0x2bc473=_0x2f58ef['XIioV'](loadCache);return _0x2f58ef[_0xe21206(0xc8)](_0x2bc473[_0xe21206(0xcd)][_0xc7b8f2]?.['prompted'],!![]);}export function markSessionPrompted(_0x32d82c){const _0x15c7bd=_0x3d3c6e,_0x9b7ee5={'eBWKV':function(_0x17ff65){return _0x17ff65();},'nnGRb':function(_0x46ecc2,_0x56f7c9,_0x54a3f8){return _0x46ecc2(_0x56f7c9,_0x54a3f8);}},_0x51e085=_0x9b7ee5['eBWKV'](loadCache),_0x54ea33=_0x9b7ee5[_0x15c7bd(0xc6)](getOrCreateSession,_0x51e085,_0x32d82c);_0x54ea33['prompted']=!![],saveCache(_0x51e085);}export function getCacheFile(){return CACHE_FILE;}
@@ -1 +1 @@
1
- (function(_0x22f1ca,_0x136083){const _0xa8cdc5=_0x4324,_0x53ebea=_0x22f1ca();while(!![]){try{const _0x218216=-parseInt(_0xa8cdc5(0xde))/0x1*(parseInt(_0xa8cdc5(0x121))/0x2)+-parseInt(_0xa8cdc5(0xdf))/0x3+-parseInt(_0xa8cdc5(0x10a))/0x4*(-parseInt(_0xa8cdc5(0x115))/0x5)+parseInt(_0xa8cdc5(0x10d))/0x6+parseInt(_0xa8cdc5(0x103))/0x7*(-parseInt(_0xa8cdc5(0xe1))/0x8)+-parseInt(_0xa8cdc5(0x108))/0x9*(parseInt(_0xa8cdc5(0x120))/0xa)+parseInt(_0xa8cdc5(0x119))/0xb;if(_0x218216===_0x136083)break;else _0x53ebea['push'](_0x53ebea['shift']());}catch(_0x110d64){_0x53ebea['push'](_0x53ebea['shift']());}}}(_0x5950,0x71a94));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';function _0x4324(_0x2d2211,_0x58ca5f){_0x2d2211=_0x2d2211-0xd1;const _0x5950e3=_0x5950();let _0x43243d=_0x5950e3[_0x2d2211];return _0x43243d;}import{getRangerDir}from'./rangerRoot.js';export function getEnvDir(_0x36a2e4){const _0x1606b0=_0x4324,_0x1f328b={'egILE':function(_0xa0bc43){return _0xa0bc43();},'iTiJG':function(_0x54ee64,_0x3c992b,_0x2613d2,_0x366174){return _0x54ee64(_0x3c992b,_0x2613d2,_0x366174);},'mEzES':'local','PXijU':function(_0x3a3316,_0x2e6405){return _0x3a3316(_0x2e6405);}},_0x40ea72=_0x1f328b[_0x1606b0(0x10e)](getRangerDir),_0x47d978=_0x1f328b['iTiJG'](join,_0x40ea72,'ci',_0x36a2e4),_0x8a367f=_0x1f328b[_0x1606b0(0x106)](join,_0x40ea72,_0x1f328b[_0x1606b0(0xe8)],_0x36a2e4),_0x41aedf=join(_0x40ea72,_0x36a2e4),_0x396b55=join(_0x40ea72,'local'),_0x1eb989=join(_0x40ea72,'ci');if(_0x1f328b['PXijU'](existsSync,_0x47d978))return _0x47d978;if(existsSync(_0x8a367f))return _0x8a367f;if(existsSync(_0x41aedf)&&(_0x41aedf!==_0x396b55&&_0x41aedf!==_0x1eb989?!![]:hasLegacyProfileFiles(_0x41aedf)))return _0x41aedf;return _0x8a367f;}export function findExistingEnv(_0x5ce13d,_0x9dc7a9){const _0xe9200c=_0x4324,_0x5e369d={'kttCj':'local','vWqbl':function(_0x834b67,_0x51b5a3,_0x445229){return _0x834b67(_0x51b5a3,_0x445229);},'vZTSH':function(_0x3b2d8f,_0x5ba41a,_0x54ac1c,_0x4f9c88){return _0x3b2d8f(_0x5ba41a,_0x54ac1c,_0x4f9c88);},'EXaXV':function(_0x3abc17,_0x25c769,_0x540c4a){return _0x3abc17(_0x25c769,_0x540c4a);},'ptKkc':_0xe9200c(0xe0),'JCFyd':function(_0x1279a0,_0x226969){return _0x1279a0(_0x226969);}},_0x1cfec6=getRangerDir(),_0x4a6fbd=_0x9dc7a9?.['locations']??['ci','local','legacy'],_0x4d190b=join(_0x1cfec6,_0x5e369d[_0xe9200c(0xfe)]),_0x3a4fee=_0x5e369d[_0xe9200c(0xfc)](join,_0x1cfec6,'ci'),_0x2079f7=[{'location':'ci','path':join(_0x1cfec6,'ci',_0x5ce13d)},{'location':'local','path':_0x5e369d[_0xe9200c(0xf9)](join,_0x1cfec6,_0x5e369d[_0xe9200c(0xfe)],_0x5ce13d)},{'location':'legacy','path':_0x5e369d['EXaXV'](join,_0x1cfec6,_0x5ce13d)}];for(const _0x31aa9a of _0x2079f7){if(_0x4a6fbd[_0xe9200c(0xee)](_0x31aa9a['location'])&&existsSync(_0x31aa9a[_0xe9200c(0xd1)])){if(_0x31aa9a[_0xe9200c(0x116)]===_0x5e369d['ptKkc']&&(_0x31aa9a['path']===_0x4d190b||_0x31aa9a[_0xe9200c(0xd1)]===_0x3a4fee)&&!_0x5e369d['JCFyd'](hasLegacyProfileFiles,_0x31aa9a[_0xe9200c(0xd1)]))continue;return{'path':_0x31aa9a[_0xe9200c(0xd1)],'location':_0x31aa9a[_0xe9200c(0x116)]};}}return null;}function hasLegacyProfileFiles(_0x11832e){const _0x2451fb=_0x4324,_0x25bbb7={'vzJMd':function(_0xa8a505,_0x526594){return _0xa8a505(_0x526594);},'SOtuk':function(_0x5587b7,_0x15c61d,_0x39ae98){return _0x5587b7(_0x15c61d,_0x39ae98);},'YpZPf':_0x2451fb(0xdb),'qbYWA':function(_0x10b23c,_0xfb90f1,_0x47d9a5){return _0x10b23c(_0xfb90f1,_0x47d9a5);},'FSRGv':function(_0x952e5f,_0x44754b,_0x51d128){return _0x952e5f(_0x44754b,_0x51d128);}};return _0x25bbb7[_0x2451fb(0xe2)](existsSync,_0x25bbb7[_0x2451fb(0x100)](join,_0x11832e,_0x25bbb7[_0x2451fb(0xd6)]))||_0x25bbb7[_0x2451fb(0xe2)](existsSync,_0x25bbb7[_0x2451fb(0x102)](join,_0x11832e,'auth.json'))||existsSync(_0x25bbb7['FSRGv'](join,_0x11832e,_0x2451fb(0xf8)));}export function isEnvCi(_0x5c86ae){const _0x5a5d1a={'CCnHY':function(_0x31ca7d,_0x281fd6){return _0x31ca7d(_0x281fd6);},'aaJKv':function(_0x574549){return _0x574549();}};return _0x5a5d1a['CCnHY'](existsSync,join(_0x5a5d1a['aaJKv'](getRangerDir),'ci',_0x5c86ae));}export async function cleanupTempFiles(_0x397b43){const _0x5ec897=_0x4324,_0x2d7085={'bedno':'ENOENT'},_0x49ea14=[_0x397b43[_0x5ec897(0xf0)],_0x397b43[_0x5ec897(0x113)]]['filter'](Boolean);await Promise['all'](_0x49ea14['map'](_0x1b5ef0=>unlink(_0x1b5ef0)[_0x5ec897(0xd5)](_0x254776=>{const _0x4f3aad=_0x5ec897;_0x254776[_0x4f3aad(0xd7)]!==_0x2d7085['bedno']&&console['warn'](_0x4f3aad(0x109)+_0x1b5ef0+':',_0x254776[_0x4f3aad(0xed)]);})));}export function getSettingsPath(_0x60388){const _0x2c6829=_0x4324,_0x4fc076={'CeDcb':function(_0x48d0be,_0x2008e7,_0x13c092){return _0x48d0be(_0x2008e7,_0x13c092);},'uIRAM':function(_0x333842,_0x5a545a){return _0x333842(_0x5a545a);}};return _0x4fc076[_0x2c6829(0xd3)](join,_0x4fc076[_0x2c6829(0xfd)](getEnvDir,_0x60388),'settings.json');}export async function loadSettings(_0x41d5fe){const _0x3ec0d1=_0x4324,_0x438d22={'UMTBl':function(_0x46854e,_0xf65ea9){return _0x46854e(_0xf65ea9);},'iBAmo':function(_0x26afe1,_0x50f7e9,_0x331373){return _0x26afe1(_0x50f7e9,_0x331373);},'QkyAW':'utf-8'},_0x1446f2=_0x438d22[_0x3ec0d1(0x11c)](getSettingsPath,_0x41d5fe);if(!_0x438d22['UMTBl'](existsSync,_0x1446f2))return{};try{const _0x313daf=await _0x438d22[_0x3ec0d1(0x114)](readFile,_0x1446f2,_0x438d22[_0x3ec0d1(0x111)]);return JSON['parse'](_0x313daf);}catch{return{};}}export async function saveSettings(_0x2a747c,_0x239f21){const _0x84fa7f=_0x4324,_0x12ddad={'efDIw':function(_0x6f8dcc,_0x362709,_0x44b855){return _0x6f8dcc(_0x362709,_0x44b855);}},_0x4d16cd=getSettingsPath(_0x2a747c),_0x45f3bc=dirname(_0x4d16cd);!existsSync(_0x45f3bc)&&await _0x12ddad[_0x84fa7f(0x101)](mkdir,_0x45f3bc,{'recursive':!![]}),await _0x12ddad[_0x84fa7f(0x101)](writeFile,_0x4d16cd,JSON[_0x84fa7f(0x11d)](_0x239f21,null,0x2));}export function resolveEnvVars(_0x3ea375){const _0x123f96=_0x4324,_0x5db7dd={'bSxAC':function(_0x31ecc6,_0x1aed88){return _0x31ecc6===_0x1aed88;},'QVGLY':_0x123f96(0xef)};if(_0x5db7dd['bSxAC'](typeof _0x3ea375,_0x5db7dd[_0x123f96(0xe6)]))return _0x3ea375[_0x123f96(0xfb)](/\$\{(\w+)\}/g,(_0x8b4537,_0x2f3bb2)=>{const _0x3bd356=_0x123f96,_0x234487=process[_0x3bd356(0x10f)][_0x2f3bb2];if(_0x234487===undefined)throw new Error(_0x3bd356(0xdc)+_0x2f3bb2+_0x3bd356(0xd8));return _0x234487;});if(Array[_0x123f96(0x110)](_0x3ea375))return _0x3ea375[_0x123f96(0x117)](resolveEnvVars);if(_0x3ea375&&typeof _0x3ea375==='object')return Object[_0x123f96(0xfa)](Object['entries'](_0x3ea375)['map'](([_0x3baf57,_0x3ca8d4])=>[_0x3baf57,resolveEnvVars(_0x3ca8d4)]));return _0x3ea375;}export async function buildPlaywrightConfig(_0x58c1bb,_0x146d93,_0x399ee6,_0x1b3b5c){const _0x206d9b=_0x4324,_0x537e90={'HqmFg':function(_0x8bfe34,_0x555e23){return _0x8bfe34(_0x555e23);},'rKXoK':function(_0x41e78f,_0x573c4e,_0x4904fa){return _0x41e78f(_0x573c4e,_0x4904fa);},'bObIY':'auth.json','VEVTx':function(_0x5a1e83,_0x2372cf,_0x2de121){return _0x5a1e83(_0x2372cf,_0x2de121);},'jvpYi':function(_0x3deba2,_0x4ed53c){return _0x3deba2(_0x4ed53c);},'XgMno':function(_0x533c01){return _0x533c01();},'vCKcu':_0x206d9b(0xda),'FPSWY':'chromium','vOcvU':function(_0x7d928b,_0x42d1d9){return _0x7d928b===_0x42d1d9;},'jRkCN':'--disable-setuid-sandbox','tekYZ':'clipboard-read','qBLmS':'tabs','jOyNh':'install','Qxihh':_0x206d9b(0xd9),'ZseLS':'vision','wurar':function(_0x4e2d84){return _0x4e2d84();},'ylnMd':function(_0x2896d2,_0x544d89,_0x47f1df){return _0x2896d2(_0x544d89,_0x47f1df);}},_0x548b3f=_0x537e90['HqmFg'](getEnvDir,_0x146d93),_0x3a8547=_0x537e90['rKXoK'](join,_0x548b3f,_0x206d9b(0xf8)),_0x18ebef=join(_0x548b3f,_0x537e90[_0x206d9b(0xea)]);let _0x104997,_0x5d95a5;if(existsSync(_0x3a8547))try{const _0x34ff30=await getToken();if(!_0x34ff30)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x3989ee=await readFile(_0x3a8547),_0x1798cb=_0x537e90['VEVTx'](decrypt,_0x3989ee,_0x34ff30);_0x5d95a5=join(tmpdir(),_0x206d9b(0xf6)+Date['now']()+_0x206d9b(0x11b)),await writeFile(_0x5d95a5,_0x1798cb),_0x104997=_0x5d95a5;}catch(_0x24611c){const _0x5b2a09=_0x24611c instanceof Error?_0x24611c[_0x206d9b(0xed)]:_0x537e90[_0x206d9b(0xf1)](String,_0x24611c);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x5b2a09);}else _0x537e90['jvpYi'](existsSync,_0x18ebef)&&(_0x104997=_0x18ebef);const _0x395a3b=_0x399ee6||_0x537e90['XgMno'](randomUUID),_0x13b28f=join(getRangerDir(),_0x537e90['vCKcu'],_0x395a3b),_0x464225={'name':_0x146d93,'browser':{'isolated':!![],'browserName':_0x537e90['FPSWY'],'launchOptions':{'headless':_0x1b3b5c?![]:_0x58c1bb['headless']??!![],..._0x537e90['vOcvU'](process['getuid']?.(),0x0)&&{'args':[_0x206d9b(0x11e),_0x537e90[_0x206d9b(0xe3)]]}},'contextOptions':{'permissions':[_0x537e90[_0x206d9b(0xf2)],'clipboard-write'],'userAgent':_0x58c1bb[_0x206d9b(0xf5)]||undefined,'extraHTTPHeaders':_0x58c1bb[_0x206d9b(0xe7)]||{},'storageState':_0x104997,'viewport':{'width':0x500,'height':0x2d0}}},'capabilities':[_0x206d9b(0x11a),_0x537e90[_0x206d9b(0xd2)],_0x537e90['jOyNh'],_0x537e90['Qxihh'],_0x537e90['ZseLS']],'imageResponses':'allow','saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x13b28f},_0x4f91f1=_0x464225[_0x206d9b(0x10c)],_0x7e8273=_0x4f91f1['contextOptions'];if(_0x7e8273['userAgent']===undefined)delete _0x7e8273[_0x206d9b(0xf5)];if(_0x7e8273[_0x206d9b(0x11f)]===undefined)delete _0x7e8273[_0x206d9b(0x11f)];const _0xb3216=join(_0x537e90[_0x206d9b(0x105)](tmpdir),'ranger-config');!existsSync(_0xb3216)&&await mkdir(_0xb3216,{'recursive':!![]});const _0x3f6d8c=_0x537e90['ylnMd'](join,_0xb3216,_0x146d93+'-'+Date[_0x206d9b(0xf4)]()+'.json');return await _0x537e90[_0x206d9b(0xdd)](writeFile,_0x3f6d8c,JSON['stringify'](_0x464225,null,0x2)),{'configPath':_0x3f6d8c,'tempAuthPath':_0x5d95a5};}export function getNestedValue(_0x53910b,_0x582f70){const _0x204910=_0x4324,_0x23709b={'aKWBD':function(_0x5626ed,_0x5497d8){return _0x5626ed(_0x5497d8);},'JJXva':_0x204910(0x104)},_0x272eaa=_0x23709b[_0x204910(0x112)](parseKeyPath,_0x582f70);let _0x59d8e0=_0x53910b;for(const _0x417368 of _0x272eaa){if(_0x59d8e0===null||_0x59d8e0===undefined||typeof _0x59d8e0!==_0x23709b['JJXva'])return undefined;_0x59d8e0=_0x59d8e0[_0x417368];}return _0x59d8e0;}export function setNestedValue(_0x309329,_0x59d432,_0xfee262){const _0x5116ca=_0x4324,_0x9627c3={'ZCOdl':function(_0x53130a,_0x574b7e){return _0x53130a(_0x574b7e);},'ZwaSf':function(_0x30c6df,_0x2f83bd){return _0x30c6df<_0x2f83bd;},'ItOsl':function(_0x2090b0,_0x1e15bc){return _0x2090b0-_0x1e15bc;},'nHZPX':function(_0x32d585,_0x377b66){return _0x32d585 in _0x377b66;},'LbGZK':function(_0x481694,_0x3844d1){return _0x481694!==_0x3844d1;},'XZuiM':_0x5116ca(0x104)},_0x2cd89d=_0x9627c3[_0x5116ca(0x10b)](parseKeyPath,_0x59d432);let _0x3522ea=_0x309329;for(let _0x416185=0x0;_0x9627c3['ZwaSf'](_0x416185,_0x9627c3[_0x5116ca(0xec)](_0x2cd89d['length'],0x1));_0x416185++){const _0x52f44f=_0x2cd89d[_0x416185];(!_0x9627c3[_0x5116ca(0xd4)](_0x52f44f,_0x3522ea)||_0x9627c3[_0x5116ca(0x107)](typeof _0x3522ea[_0x52f44f],_0x9627c3[_0x5116ca(0xeb)]))&&(_0x3522ea[_0x52f44f]={}),_0x3522ea=_0x3522ea[_0x52f44f];}_0x3522ea[_0x2cd89d[_0x2cd89d['length']-0x1]]=_0xfee262;}export function deleteNestedValue(_0x117232,_0x474582){const _0x3ff206=_0x4324,_0x17c9af={'cDbem':function(_0x422b7a,_0x5ad5f2){return _0x422b7a<_0x5ad5f2;},'kESbX':function(_0x4d3db9,_0x429bf1){return _0x4d3db9===_0x429bf1;},'somIU':function(_0x5ad0b5,_0x2b00f0){return _0x5ad0b5!==_0x2b00f0;},'UlEvR':function(_0x1cdd9d,_0x645325){return _0x1cdd9d===_0x645325;},'QayBU':function(_0x26549f,_0x15ea40){return _0x26549f!==_0x15ea40;}},_0x51aa33=parseKeyPath(_0x474582);let _0x3f6835=_0x117232;for(let _0x221c65=0x0;_0x17c9af[_0x3ff206(0xe9)](_0x221c65,_0x51aa33['length']-0x1);_0x221c65++){if(_0x17c9af['kESbX'](_0x3f6835,null)||_0x3f6835===undefined||_0x17c9af['somIU'](typeof _0x3f6835,_0x3ff206(0x104)))return![];_0x3f6835=_0x3f6835[_0x51aa33[_0x221c65]];}if(_0x3f6835===null||_0x17c9af['UlEvR'](_0x3f6835,undefined)||_0x17c9af[_0x3ff206(0xff)](typeof _0x3f6835,_0x3ff206(0x104)))return![];const _0x2ecd2a=_0x51aa33[_0x51aa33[_0x3ff206(0xf3)]-0x1];if(_0x2ecd2a in _0x3f6835)return delete _0x3f6835[_0x2ecd2a],!![];return![];}function _0x5950(){const _0x516d9b=['iBAmo','978715KtQlTp','location','map','split','20552422WAmWaZ','core','.json','UMTBl','stringify','--no-sandbox','storageState','20uOmqIX','897976UTNFQA','path','qBLmS','CeDcb','nHZPX','catch','YpZPf','code','\x20is\x20not\x20set','pdf','sessions','settings.json','Environment\x20variable\x20','VEVTx','1NXprcs','2002542qIRXgV','legacy','8648DDaiIK','vzJMd','jRkCN','entries','join','QVGLY','headers','mEzES','cDbem','bObIY','XZuiM','ItOsl','message','includes','string','tempAuthPath','HqmFg','tekYZ','length','now','userAgent','ranger-auth-','AuIue','auth.json.enc','vZTSH','fromEntries','replace','vWqbl','uIRAM','kttCj','QayBU','SOtuk','efDIw','qbYWA','1932IUIrUv','object','wurar','iTiJG','LbGZK','3011454wcHSYk','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','12kSjZqM','ZCOdl','browser','563970fXeScI','egILE','env','isArray','QkyAW','aKWBD','configPath'];_0x5950=function(){return _0x516d9b;};return _0x5950();}function parseKeyPath(_0x16d481){const _0xc7f105=_0x4324,_0x10678c={'mqAOl':'header','AuIue':_0xc7f105(0xe7)},_0x345524=_0x16d481[_0xc7f105(0x118)]('.');return _0x345524[0x0]===_0x10678c['mqAOl']&&(_0x345524[0x0]=_0x10678c[_0xc7f105(0xf7)]),_0x345524;}export function formatSettings(_0x3647f2,_0x22813e=0x0){const _0x25fea8=_0x4324,_0x4b01ca={'gvGVp':function(_0x30b66c,_0x354017){return _0x30b66c===_0x354017;},'zFopG':function(_0x1ab652,_0x5b2450){return _0x1ab652!==_0x5b2450;}},_0x1cf5a3=[],_0x6e2981='\x20\x20'['repeat'](_0x22813e);for(const [_0x29f14c,_0x35f066]of Object[_0x25fea8(0xe4)](_0x3647f2)){if(_0x4b01ca['gvGVp'](_0x35f066,undefined))continue;if(typeof _0x35f066===_0x25fea8(0x104)&&_0x4b01ca['zFopG'](_0x35f066,null)){_0x1cf5a3['push'](''+_0x6e2981+_0x29f14c+':');for(const [_0x14a8e9,_0x482c97]of Object[_0x25fea8(0xe4)](_0x35f066)){_0x1cf5a3['push'](_0x6e2981+'\x20\x20'+_0x14a8e9+':\x20'+_0x482c97);}}else _0x1cf5a3['push'](''+_0x6e2981+_0x29f14c+':\x20'+_0x35f066);}return _0x1cf5a3[_0x25fea8(0xe5)]('\x0a');}
1
+ (function(_0x1fc5a9,_0x58d0ff){const _0x49e5a4=_0x4336,_0xcc84c5=_0x1fc5a9();while(!![]){try{const _0x53387a=-parseInt(_0x49e5a4(0xc4))/0x1+-parseInt(_0x49e5a4(0xf3))/0x2*(-parseInt(_0x49e5a4(0xef))/0x3)+-parseInt(_0x49e5a4(0xc2))/0x4*(parseInt(_0x49e5a4(0xcb))/0x5)+-parseInt(_0x49e5a4(0x111))/0x6+parseInt(_0x49e5a4(0xda))/0x7*(-parseInt(_0x49e5a4(0xf1))/0x8)+-parseInt(_0x49e5a4(0xfe))/0x9+parseInt(_0x49e5a4(0x110))/0xa;if(_0x53387a===_0x58d0ff)break;else _0xcc84c5['push'](_0xcc84c5['shift']());}catch(_0x14109f){_0xcc84c5['push'](_0xcc84c5['shift']());}}}(_0x23fe,0x9f538));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';function _0x4336(_0x4edd07,_0x3330c2){_0x4edd07=_0x4edd07-0xc0;const _0x23fe37=_0x23fe();let _0x433642=_0x23fe37[_0x4edd07];return _0x433642;}import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';function _0x23fe(){const _0x581a5a=['jErHt','QdmLh','32052950nEWwyn','1906428hLBoIv','push','local','includes','3092oppnTm','join','926773thlMou','FFAGm','--disable-setuid-sandbox','auth.json','lxnQe','tdESD','location','2545hjIgdR','yuTKR','ranger-auth-','warn','replace','kepiq','legacy','length','getuid','filter','now','install','catch','DRnzF','xndIf','315DEXujL','vEADL','split','eBRTs','map','hPZwM','sessions','isArray','SJJgq','XduoZ','ENOENT','entries','pqHVA','FdjQU','settings.json','env','kwTxa','WySSA','XpSNA','cdpEndpoint','fromEntries','3UtQfbh','gjavw','131232wHJkAP','path','1626896iSJGEw','ranger-config','string','JmNkO','UGVEt','TgMol','object','headers','jkpAE','KzAVL','utf-8','8909955zFLgvu','abHkJ','pUEzW','auth.json.enc','userAgent','PMpzc','clipboard-read','vision','erbTw','KJbOW','WQfGm','AHOiH','suoNG','iJmaa','PBjFV','eHIsJ'];_0x23fe=function(){return _0x581a5a;};return _0x23fe();}export function getEnvDir(_0x30888f){const _0xd5d5cb=_0x4336,_0x49f282={'FFAGm':function(_0x159456,_0x52728d,_0x4fe7be,_0x2bef0f){return _0x159456(_0x52728d,_0x4fe7be,_0x2bef0f);},'QbAPT':function(_0xce4146,_0x187f10,_0x4beb21){return _0xce4146(_0x187f10,_0x4beb21);},'hPZwM':function(_0x45835c,_0x15e968,_0x125609){return _0x45835c(_0x15e968,_0x125609);},'iMxhM':function(_0x4daa43,_0x547209){return _0x4daa43(_0x547209);},'QdmLh':function(_0x1078a7,_0x56bb1d){return _0x1078a7(_0x56bb1d);},'PMpzc':function(_0x20b79c,_0x3ad3dd){return _0x20b79c!==_0x3ad3dd;},'gSaeT':function(_0x3372bf,_0x538c10){return _0x3372bf(_0x538c10);}},_0x37223e=getRangerDir(),_0x391e79=_0x49f282[_0xd5d5cb(0xc5)](join,_0x37223e,'ci',_0x30888f),_0x280bc1=_0x49f282[_0xd5d5cb(0xc5)](join,_0x37223e,_0xd5d5cb(0xc0),_0x30888f),_0x39d7c6=_0x49f282['QbAPT'](join,_0x37223e,_0x30888f),_0x152d05=join(_0x37223e,'local'),_0x4b20fc=_0x49f282[_0xd5d5cb(0xdf)](join,_0x37223e,'ci');if(_0x49f282['iMxhM'](existsSync,_0x391e79))return _0x391e79;if(_0x49f282[_0xd5d5cb(0x10f)](existsSync,_0x280bc1))return _0x280bc1;if(existsSync(_0x39d7c6)&&(_0x39d7c6!==_0x152d05&&_0x49f282[_0xd5d5cb(0x103)](_0x39d7c6,_0x4b20fc)?!![]:_0x49f282['gSaeT'](hasLegacyProfileFiles,_0x39d7c6)))return _0x39d7c6;return _0x280bc1;}export function findExistingEnv(_0x6b1792,_0x21ba83){const _0x440ea3=_0x4336,_0x26c246={'eHIsJ':function(_0x3ee460){return _0x3ee460();},'KzAVL':'local','vEADL':_0x440ea3(0xd1),'abHkJ':function(_0x46effc,_0x4f6708,_0x5a92cc){return _0x46effc(_0x4f6708,_0x5a92cc);},'eBRTs':function(_0x495964,_0x26d293,_0x1965d2){return _0x495964(_0x26d293,_0x1965d2);},'kepiq':function(_0x411a08,_0x2a0abe,_0xe8e3b7,_0x4ab5f2){return _0x411a08(_0x2a0abe,_0xe8e3b7,_0x4ab5f2);},'QvUWh':function(_0x9c10ae,_0x73294a,_0x5f0d2a){return _0x9c10ae(_0x73294a,_0x5f0d2a);},'GuPUy':function(_0x5b8ef8,_0x4dbc5f){return _0x5b8ef8(_0x4dbc5f);}},_0x1a39c2=_0x26c246[_0x440ea3(0x10d)](getRangerDir),_0x12ef83=_0x21ba83?.['locations']??['ci',_0x26c246['KzAVL'],_0x26c246[_0x440ea3(0xdb)]],_0x5692ee=_0x26c246[_0x440ea3(0xff)](join,_0x1a39c2,'local'),_0x2a4892=_0x26c246[_0x440ea3(0xdd)](join,_0x1a39c2,'ci'),_0x406b82=[{'location':'ci','path':_0x26c246[_0x440ea3(0xd0)](join,_0x1a39c2,'ci',_0x6b1792)},{'location':_0x26c246[_0x440ea3(0xfc)],'path':_0x26c246['kepiq'](join,_0x1a39c2,_0x440ea3(0xc0),_0x6b1792)},{'location':_0x26c246['vEADL'],'path':_0x26c246['QvUWh'](join,_0x1a39c2,_0x6b1792)}];for(const _0x4e92d4 of _0x406b82){if(_0x12ef83[_0x440ea3(0xc1)](_0x4e92d4[_0x440ea3(0xca)])&&_0x26c246['GuPUy'](existsSync,_0x4e92d4[_0x440ea3(0xf2)])){if(_0x4e92d4['location']===_0x26c246['vEADL']&&(_0x4e92d4['path']===_0x5692ee||_0x4e92d4['path']===_0x2a4892)&&!hasLegacyProfileFiles(_0x4e92d4['path']))continue;return{'path':_0x4e92d4[_0x440ea3(0xf2)],'location':_0x4e92d4['location']};}}return null;}function hasLegacyProfileFiles(_0x21926c){const _0x2c0088=_0x4336,_0xe74e49={'KJbOW':function(_0x1b6397,_0x16fa6c,_0x21abb5){return _0x1b6397(_0x16fa6c,_0x21abb5);},'pqHVA':function(_0xb0032c,_0x41227b){return _0xb0032c(_0x41227b);},'UGVEt':function(_0x32fd39,_0x4e49e2){return _0x32fd39(_0x4e49e2);},'xndIf':function(_0x662a18,_0xb2f1a5,_0x4d4fc1){return _0x662a18(_0xb2f1a5,_0x4d4fc1);}};return existsSync(_0xe74e49[_0x2c0088(0x107)](join,_0x21926c,_0x2c0088(0xe8)))||_0xe74e49[_0x2c0088(0xe6)](existsSync,_0xe74e49['KJbOW'](join,_0x21926c,_0x2c0088(0xc7)))||_0xe74e49[_0x2c0088(0xf7)](existsSync,_0xe74e49[_0x2c0088(0xd9)](join,_0x21926c,_0x2c0088(0x101)));}export function isEnvCi(_0x4ee0b3){const _0x5e457d={'kElqA':function(_0x5c7523){return _0x5c7523();}};return existsSync(join(_0x5e457d['kElqA'](getRangerDir),'ci',_0x4ee0b3));}export async function cleanupTempFiles(_0x259ebc){const _0x5d1cf1=_0x4336,_0xa1ee7={'hpnOZ':function(_0x2ce949,_0x5ab4fa){return _0x2ce949!==_0x5ab4fa;},'WQfGm':_0x5d1cf1(0xe4)},_0x5dec02=[_0x259ebc['tempAuthPath'],_0x259ebc['configPath']][_0x5d1cf1(0xd4)](Boolean);await Promise['all'](_0x5dec02[_0x5d1cf1(0xde)](_0x3bc88a=>unlink(_0x3bc88a)[_0x5d1cf1(0xd7)](_0x205b5b=>{const _0x5c94fd=_0x5d1cf1;_0xa1ee7['hpnOZ'](_0x205b5b['code'],_0xa1ee7[_0x5c94fd(0x108)])&&console[_0x5c94fd(0xce)]('Failed\x20to\x20clean\x20up\x20temp\x20file\x20'+_0x3bc88a+':',_0x205b5b['message']);})));}export function getSettingsPath(_0x16033f){return join(getEnvDir(_0x16033f),'settings.json');}export async function loadSettings(_0x825152){const _0x98b3ea=_0x4336,_0x3f65ef={'iJmaa':function(_0x52db69,_0x52ec64,_0x597e15){return _0x52db69(_0x52ec64,_0x597e15);}},_0x10e98f=getSettingsPath(_0x825152);if(!existsSync(_0x10e98f))return{};try{const _0x3eceb2=await _0x3f65ef[_0x98b3ea(0x10b)](readFile,_0x10e98f,_0x98b3ea(0xfd));return JSON['parse'](_0x3eceb2);}catch{return{};}}export async function saveSettings(_0x4211ae,_0x350f78){const _0x46872e={'yAKSC':function(_0x3efe95,_0x50b137){return _0x3efe95(_0x50b137);},'fDVpJ':function(_0x2e6bc4,_0x5786f7){return _0x2e6bc4(_0x5786f7);},'sOevV':function(_0x1560d7,_0x151ce3,_0x49f55e){return _0x1560d7(_0x151ce3,_0x49f55e);}},_0x2a73c2=_0x46872e['yAKSC'](getSettingsPath,_0x4211ae),_0x150d99=_0x46872e['fDVpJ'](dirname,_0x2a73c2);!existsSync(_0x150d99)&&await mkdir(_0x150d99,{'recursive':!![]}),await _0x46872e['sOevV'](writeFile,_0x2a73c2,JSON['stringify'](_0x350f78,null,0x2));}export function resolveEnvVars(_0xfc9fa9){const _0x2a327e=_0x4336,_0x5ba50b={'TgMol':function(_0x2fbd89,_0x40e9a3){return _0x2fbd89===_0x40e9a3;},'SJJgq':'object'};if(typeof _0xfc9fa9===_0x2a327e(0xf5))return _0xfc9fa9[_0x2a327e(0xcf)](/\$\{(\w+)\}/g,(_0x4b8ac0,_0x20b441)=>{const _0x31cc2c=_0x2a327e,_0x2507c1=process[_0x31cc2c(0xe9)][_0x20b441];if(_0x2507c1===undefined)throw new Error('Environment\x20variable\x20'+_0x20b441+'\x20is\x20not\x20set');return _0x2507c1;});if(Array[_0x2a327e(0xe1)](_0xfc9fa9))return _0xfc9fa9[_0x2a327e(0xde)](resolveEnvVars);if(_0xfc9fa9&&_0x5ba50b[_0x2a327e(0xf8)](typeof _0xfc9fa9,_0x5ba50b[_0x2a327e(0xe2)]))return Object[_0x2a327e(0xee)](Object[_0x2a327e(0xe5)](_0xfc9fa9)['map'](([_0x3ae2a0,_0x243611])=>[_0x3ae2a0,resolveEnvVars(_0x243611)]));return _0xfc9fa9;}export async function buildPlaywrightConfig(_0x31d559,_0x3239fb,_0x5b2eea,_0x4e4c5e){const _0x18626e=_0x4336,_0x11c63c={'uUIUM':function(_0x223ad4,_0x1f7797){return _0x223ad4(_0x1f7797);},'JmNkO':function(_0x202c32,_0x44a7cc,_0x1289cc){return _0x202c32(_0x44a7cc,_0x1289cc);},'suoNG':_0x18626e(0xc7),'erbTw':function(_0x2fc3f5){return _0x2fc3f5();},'ySeaT':function(_0x2efe46,_0x365c36){return _0x2efe46 instanceof _0x365c36;},'pUEzW':function(_0x56d897,_0x4a92b1){return _0x56d897(_0x4a92b1);},'jkpAE':function(_0x129c06,_0x3fe605){return _0x129c06(_0x3fe605);},'HDikE':_0x18626e(0xe0),'icvCF':'chromium','sBYCV':'--no-sandbox','FdjQU':_0x18626e(0xc6),'lxnQe':'clipboard-write','trocq':'pdf','dlEbD':'allow','CoPym':function(_0xb5c4bc,_0x596604){return _0xb5c4bc===_0x596604;},'DRnzF':function(_0x46b09f,_0x40cd3d){return _0x46b09f(_0x40cd3d);},'ZUWSI':function(_0x542df3,_0x209e96,_0x545957){return _0x542df3(_0x209e96,_0x545957);}},_0x1380dd=_0x11c63c['uUIUM'](getEnvDir,_0x3239fb),_0x24e51a=_0x11c63c['JmNkO'](join,_0x1380dd,'auth.json.enc'),_0x4d1479=join(_0x1380dd,_0x11c63c[_0x18626e(0x10a)]);let _0x41056a,_0x2b7e77;if(_0x11c63c['uUIUM'](existsSync,_0x24e51a))try{const _0x436b43=await _0x11c63c[_0x18626e(0x106)](getToken);if(!_0x436b43)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x3b6341=await readFile(_0x24e51a),_0xa16a5=decrypt(_0x3b6341,_0x436b43);_0x2b7e77=_0x11c63c[_0x18626e(0xf6)](join,tmpdir(),_0x18626e(0xcd)+Date['now']()+'.json'),await writeFile(_0x2b7e77,_0xa16a5),_0x41056a=_0x2b7e77;}catch(_0x29eaff){const _0x487fd2=_0x11c63c['ySeaT'](_0x29eaff,Error)?_0x29eaff['message']:_0x11c63c[_0x18626e(0x100)](String,_0x29eaff);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x487fd2);}else _0x11c63c[_0x18626e(0xfb)](existsSync,_0x4d1479)&&(_0x41056a=_0x4d1479);const _0x2e6c66=_0x5b2eea||_0x11c63c[_0x18626e(0x106)](randomUUID),_0x160967=join(getRangerDir(),_0x11c63c['HDikE'],_0x2e6c66),_0x17c9a3=Boolean(_0x31d559[_0x18626e(0xed)]),_0x48046d=_0x17c9a3?{'browserName':_0x11c63c['icvCF'],'cdpEndpoint':_0x31d559[_0x18626e(0xed)]}:{'isolated':!![],'browserName':'chromium','launchOptions':{'headless':_0x4e4c5e?![]:_0x31d559['headless']??!![],...process[_0x18626e(0xd3)]?.()===0x0&&{'args':[_0x11c63c['sBYCV'],_0x11c63c[_0x18626e(0xe7)]]}},'contextOptions':{'permissions':[_0x18626e(0x104),_0x11c63c[_0x18626e(0xc8)]],'userAgent':_0x31d559['userAgent']||undefined,'extraHTTPHeaders':_0x31d559[_0x18626e(0xfa)]||{},'storageState':_0x41056a,'viewport':{'width':0x500,'height':0x2d0}}},_0x4c12cc={'name':_0x3239fb,'browser':_0x48046d,'capabilities':['core','tabs',_0x18626e(0xd6),_0x11c63c['trocq'],_0x18626e(0x105)],'imageResponses':_0x11c63c['dlEbD'],'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x160967};if(!_0x17c9a3){const _0x27535a=_0x4c12cc['browser'],_0x2d4eda=_0x27535a['contextOptions'];if(_0x11c63c['CoPym'](_0x2d4eda[_0x18626e(0x102)],undefined))delete _0x2d4eda[_0x18626e(0x102)];if(_0x11c63c['CoPym'](_0x2d4eda['storageState'],undefined))delete _0x2d4eda['storageState'];}const _0xf77d0c=_0x11c63c[_0x18626e(0xf6)](join,tmpdir(),_0x18626e(0xf4));!_0x11c63c[_0x18626e(0xd8)](existsSync,_0xf77d0c)&&await _0x11c63c['ZUWSI'](mkdir,_0xf77d0c,{'recursive':!![]});const _0x3a0082=_0x11c63c[_0x18626e(0xf6)](join,_0xf77d0c,_0x3239fb+'-'+Date[_0x18626e(0xd5)]()+'.json');return await _0x11c63c['JmNkO'](writeFile,_0x3a0082,JSON['stringify'](_0x4c12cc,null,0x2)),{'configPath':_0x3a0082,'tempAuthPath':_0x2b7e77};}export function getNestedValue(_0x326498,_0x14dd39){const _0x11fa1e=_0x4336,_0x4f36b4={'HPtwQ':function(_0x4c6597,_0x5dc37a){return _0x4c6597(_0x5dc37a);},'XduoZ':function(_0x1866c5,_0xb7717e){return _0x1866c5!==_0xb7717e;},'tdESD':_0x11fa1e(0xf9)},_0x1dcb81=_0x4f36b4['HPtwQ'](parseKeyPath,_0x14dd39);let _0x21c7db=_0x326498;for(const _0x1175c3 of _0x1dcb81){if(_0x21c7db===null||_0x21c7db===undefined||_0x4f36b4[_0x11fa1e(0xe3)](typeof _0x21c7db,_0x4f36b4[_0x11fa1e(0xc9)]))return undefined;_0x21c7db=_0x21c7db[_0x1175c3];}return _0x21c7db;}export function setNestedValue(_0x5faa70,_0x308fa5,_0x760317){const _0x6c46ea=_0x4336,_0x30948c={'lsVMm':function(_0x4a6ec8,_0x5e6a80){return _0x4a6ec8(_0x5e6a80);},'haYsc':function(_0x593f4c,_0x269f10){return _0x593f4c<_0x269f10;},'jErHt':function(_0x358b93,_0x310aee){return _0x358b93 in _0x310aee;},'kwTxa':function(_0x1746b7,_0x53f06a){return _0x1746b7!==_0x53f06a;},'yuTKR':function(_0x36a356,_0x5965bd){return _0x36a356-_0x5965bd;}},_0x1150c5=_0x30948c['lsVMm'](parseKeyPath,_0x308fa5);let _0x2c30e3=_0x5faa70;for(let _0x4ba33=0x0;_0x30948c['haYsc'](_0x4ba33,_0x1150c5[_0x6c46ea(0xd2)]-0x1);_0x4ba33++){const _0x50af9d=_0x1150c5[_0x4ba33];(!_0x30948c[_0x6c46ea(0x10e)](_0x50af9d,_0x2c30e3)||_0x30948c[_0x6c46ea(0xea)](typeof _0x2c30e3[_0x50af9d],'object'))&&(_0x2c30e3[_0x50af9d]={}),_0x2c30e3=_0x2c30e3[_0x50af9d];}_0x2c30e3[_0x1150c5[_0x30948c[_0x6c46ea(0xcc)](_0x1150c5['length'],0x1)]]=_0x760317;}export function deleteNestedValue(_0x51e20b,_0x50324f){const _0x2169c6=_0x4336,_0x11d6d3={'bdhFw':function(_0x555e4f,_0x11032d){return _0x555e4f(_0x11032d);},'enjDD':function(_0x2f0345,_0x295868){return _0x2f0345<_0x295868;},'uzNZH':function(_0x38e310,_0x262d41){return _0x38e310===_0x262d41;},'jFUoB':function(_0x1de5ce,_0x1de9d2){return _0x1de5ce!==_0x1de9d2;},'WySSA':'object','gjavw':function(_0x4078ed,_0x1f267b){return _0x4078ed in _0x1f267b;}},_0x79dfd0=_0x11d6d3['bdhFw'](parseKeyPath,_0x50324f);let _0x7d48a4=_0x51e20b;for(let _0x5f363a=0x0;_0x11d6d3['enjDD'](_0x5f363a,_0x79dfd0['length']-0x1);_0x5f363a++){if(_0x11d6d3['uzNZH'](_0x7d48a4,null)||_0x7d48a4===undefined||_0x11d6d3['jFUoB'](typeof _0x7d48a4,_0x2169c6(0xf9)))return![];_0x7d48a4=_0x7d48a4[_0x79dfd0[_0x5f363a]];}if(_0x11d6d3['uzNZH'](_0x7d48a4,null)||_0x7d48a4===undefined||typeof _0x7d48a4!==_0x11d6d3[_0x2169c6(0xeb)])return![];const _0x31a601=_0x79dfd0[_0x79dfd0['length']-0x1];if(_0x11d6d3[_0x2169c6(0xf0)](_0x31a601,_0x7d48a4))return delete _0x7d48a4[_0x31a601],!![];return![];}function parseKeyPath(_0x4fc4b4){const _0x1011f9=_0x4336,_0xa0ccd3={'PBjFV':'headers'},_0x36f2be=_0x4fc4b4[_0x1011f9(0xdc)]('.');return _0x36f2be[0x0]==='header'&&(_0x36f2be[0x0]=_0xa0ccd3[_0x1011f9(0x10c)]),_0x36f2be;}export function formatSettings(_0x47c1c0,_0x352d69=0x0){const _0x25d508=_0x4336,_0xf84476={'XpSNA':function(_0x48deeb,_0x358d44){return _0x48deeb===_0x358d44;},'gpkuA':function(_0x6daa1e,_0x256700){return _0x6daa1e===_0x256700;},'AHOiH':function(_0x5d6bef,_0x4d5e68){return _0x5d6bef!==_0x4d5e68;}},_0x576089=[],_0x59a5a9='\x20\x20'['repeat'](_0x352d69);for(const [_0x45ad3d,_0x10389d]of Object[_0x25d508(0xe5)](_0x47c1c0)){if(_0xf84476[_0x25d508(0xec)](_0x10389d,undefined))continue;if(_0xf84476['gpkuA'](typeof _0x10389d,_0x25d508(0xf9))&&_0xf84476[_0x25d508(0x109)](_0x10389d,null)){_0x576089[_0x25d508(0x112)](''+_0x59a5a9+_0x45ad3d+':');for(const [_0x279180,_0xd15add]of Object['entries'](_0x10389d)){_0x576089['push'](_0x59a5a9+'\x20\x20'+_0x279180+':\x20'+_0xd15add);}}else _0x576089[_0x25d508(0x112)](''+_0x59a5a9+_0x45ad3d+':\x20'+_0x10389d);}return _0x576089[_0x25d508(0xc3)]('\x0a');}
@@ -1 +1 @@
1
- (function(_0x443764,_0x4e62f8){const _0x2f3f0b=_0xd787,_0x1d1145=_0x443764();while(!![]){try{const _0x741120=-parseInt(_0x2f3f0b(0x1d7))/0x1*(-parseInt(_0x2f3f0b(0x1e1))/0x2)+-parseInt(_0x2f3f0b(0x1d9))/0x3*(-parseInt(_0x2f3f0b(0x1db))/0x4)+-parseInt(_0x2f3f0b(0x1e5))/0x5*(-parseInt(_0x2f3f0b(0x1da))/0x6)+-parseInt(_0x2f3f0b(0x1de))/0x7+-parseInt(_0x2f3f0b(0x1dd))/0x8+parseInt(_0x2f3f0b(0x1dc))/0x9+-parseInt(_0x2f3f0b(0x1df))/0xa*(parseInt(_0x2f3f0b(0x1e4))/0xb);if(_0x741120===_0x4e62f8)break;else _0x1d1145['push'](_0x1d1145['shift']());}catch(_0x20a12e){_0x1d1145['push'](_0x1d1145['shift']());}}}(_0x2b85,0xd1fc3));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function _0xd787(_0x2a2e25,_0x598c48){_0x2a2e25=_0x2a2e25-0x1d7;const _0x2b856e=_0x2b85();let _0xd78701=_0x2b856e[_0x2a2e25];return _0xd78701;}export function readSkillContent(_0x2f17b8){const _0x1a4650=_0xd787,_0x10a7f2={'IJPWE':function(_0x355aed,_0x5b2960,_0xe74458,_0x1dc0ea,_0x5dfbea){return _0x355aed(_0x5b2960,_0xe74458,_0x1dc0ea,_0x5dfbea);},'HRWRn':function(_0x1a69ac,_0x31360a,_0x2f278a){return _0x1a69ac(_0x31360a,_0x2f278a);}},_0x4f26b8=_0x10a7f2['IJPWE'](join,__dirname,'..','..','skills'),_0x3035df=join(_0x4f26b8,_0x2f17b8);try{return _0x10a7f2[_0x1a4650(0x1e3)](readFileSync,_0x3035df,_0x1a4650(0x1e0));}catch{return'';}}function _0x2b85(){const _0x45a521=['22LHzlor','5sFMIUd','1MIVwRW','PEjOk','1550262pjONYL','5870694QxNIPm','4eQaBct','14082210WAwzau','13439048EHODKI','6639584PzElgo','3531940Nnjpco','utf-8','2269974GJUnah','ranger/SKILL.md','HRWRn'];_0x2b85=function(){return _0x45a521;};return _0x2b85();}export function getRangerSkillContent(){const _0xcb1fd7=_0xd787,_0x66f7d9={'PEjOk':function(_0x229dd3,_0x124608){return _0x229dd3(_0x124608);},'RvAew':_0xcb1fd7(0x1e2)};return _0x66f7d9[_0xcb1fd7(0x1d8)](readSkillContent,_0x66f7d9['RvAew']);}
1
+ (function(_0x4485c4,_0x5a933d){const _0x43c894=_0x5616,_0x5b64ce=_0x4485c4();while(!![]){try{const _0xdc5d95=parseInt(_0x43c894(0xca))/0x1+-parseInt(_0x43c894(0xcf))/0x2*(parseInt(_0x43c894(0xc4))/0x3)+-parseInt(_0x43c894(0xc9))/0x4+-parseInt(_0x43c894(0xd0))/0x5+parseInt(_0x43c894(0xcb))/0x6+parseInt(_0x43c894(0xcd))/0x7*(-parseInt(_0x43c894(0xc7))/0x8)+parseInt(_0x43c894(0xc5))/0x9;if(_0xdc5d95===_0x5a933d)break;else _0x5b64ce['push'](_0x5b64ce['shift']());}catch(_0xcb9bcf){_0x5b64ce['push'](_0x5b64ce['shift']());}}}(_0x409f,0xf3517));import{readFileSync}from'fs';function _0x409f(){const _0x1f7114=['5924349GKMxTk','47334726lbJSDY','pxjFt','44024SLtKTO','HbURV','4605532uJHgfy','1239396BsyyKS','2684946iLRLge','utf-8','1267XQAXEJ','FaREB','2ELhkWd','9137305jJvrkv','UwXfp'];_0x409f=function(){return _0x1f7114;};return _0x409f();}import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x190bb6){const _0x36d3e2=_0x5616,_0x3a5c85={'FaREB':function(_0x67dda4,_0x44b2b3,_0x3da4fe,_0x2b49a6,_0x5ea624){return _0x67dda4(_0x44b2b3,_0x3da4fe,_0x2b49a6,_0x5ea624);},'pxjFt':'skills','UwXfp':function(_0x2391cd,_0x408453,_0xa26952){return _0x2391cd(_0x408453,_0xa26952);}},_0x29ff8a=_0x3a5c85[_0x36d3e2(0xce)](join,__dirname,'..','..',_0x3a5c85[_0x36d3e2(0xc6)]),_0x2968fd=join(_0x29ff8a,_0x190bb6);try{return _0x3a5c85[_0x36d3e2(0xd1)](readFileSync,_0x2968fd,_0x36d3e2(0xcc));}catch{return'';}}function _0x5616(_0x46a53b,_0x1c3c11){_0x46a53b=_0x46a53b-0xc4;const _0x409f51=_0x409f();let _0x5616ba=_0x409f51[_0x46a53b];return _0x5616ba;}export function getRangerSkillContent(){const _0x1fcf87=_0x5616,_0x298580={'HbURV':'ranger/SKILL.md'};return readSkillContent(_0x298580[_0x1fcf87(0xc8)]);}
@@ -1 +1 @@
1
- const _0x4a4861=_0x51a7;(function(_0x47d471,_0xbb1d07){const _0x9ab44d=_0x51a7,_0x447838=_0x47d471();while(!![]){try{const _0x3f5127=parseInt(_0x9ab44d(0x134))/0x1+-parseInt(_0x9ab44d(0x139))/0x2+parseInt(_0x9ab44d(0x140))/0x3*(parseInt(_0x9ab44d(0x148))/0x4)+parseInt(_0x9ab44d(0x14a))/0x5+-parseInt(_0x9ab44d(0x13d))/0x6*(-parseInt(_0x9ab44d(0x14c))/0x7)+-parseInt(_0x9ab44d(0x150))/0x8*(-parseInt(_0x9ab44d(0x14f))/0x9)+-parseInt(_0x9ab44d(0x147))/0xa;if(_0x3f5127===_0xbb1d07)break;else _0x447838['push'](_0x447838['shift']());}catch(_0x3ef122){_0x447838['push'](_0x447838['shift']());}}}(_0x5b9f,0xd022e));function _0x5b9f(){const _0x1223d5=['YoeZb','9877343SqrJNX','utf-8','\x20\x20Removed\x20deprecated\x20skill:\x20','1197RSsJhH','100112iHwscn','e2e-test-recommender','BDxjd','kdQuz','log','filter','\x20\x20Location:\x20','1262171cHyMOa','feature-tracker','CwMfx','endsWith','push','2856472PlWgLf','ranger','sKrIw','warn','6fnBiaC','isDirectory','trim','42esqLzY','kQuGi','ctsGp','bug-bash','skills','Ptsle','vXyHt','45262670DMdXJQ','312772sXQGOW','hkJRs','6873725JTFbBO'];_0x5b9f=function(){return _0x1223d5;};return _0x5b9f();}import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x4a4861(0x13a)];function _0x51a7(_0x513007,_0x2abef3){_0x513007=_0x513007-0x132;const _0x5b9f56=_0x5b9f();let _0x51a79c=_0x5b9f56[_0x513007];return _0x51a79c;}export const DEPRECATED_SKILLS=[_0x4a4861(0x151),_0x4a4861(0x143),_0x4a4861(0x135)];export async function installSkill(_0xb3f051,_0x1b1a1c={}){const _0x34025c=_0x4a4861,_0x2d40fd={'sKrIw':'project','BDxjd':function(_0x57408f){return _0x57408f();},'kdQuz':function(_0x29b300,_0xc76b14,_0x4e31bb){return _0x29b300(_0xc76b14,_0x4e31bb);},'YoeZb':function(_0x53c8ec,_0x5d2b05){return _0x53c8ec(_0x5d2b05);},'vXyHt':'SKILL.md','hkJRs':function(_0x4cd79e,_0x40881b){return _0x4cd79e(_0x40881b);},'CwMfx':function(_0x2340e6,_0xa73acb,_0x307147){return _0x2340e6(_0xa73acb,_0x307147);},'WpakL':_0x34025c(0x14d),'TUjYE':function(_0x57da3b,_0x4aaf39,_0x74f242){return _0x57da3b(_0x4aaf39,_0x74f242);},'xnGUL':function(_0x523e63,_0x245633,_0x4b33db,_0x5591de){return _0x523e63(_0x245633,_0x4b33db,_0x5591de);}},{level:level=_0x2d40fd[_0x34025c(0x13b)],cliVersion:_0x8e95f8}=_0x1b1a1c,_0x4bcbf5=_0x2d40fd[_0x34025c(0x152)](getSourceSkillsDir),_0x533876=join(_0x4bcbf5,_0xb3f051),_0x2f1ca8=_0x2d40fd['kdQuz'](join,_0x4bcbf5,_0xb3f051+'.md'),_0x4f3fca=existsSync(_0x533876)&&_0x2d40fd[_0x34025c(0x14b)](statSync,_0x533876)[_0x34025c(0x13e)]()&&existsSync(_0x2d40fd['kdQuz'](join,_0x533876,_0x2d40fd[_0x34025c(0x146)])),_0x249526=existsSync(_0x2f1ca8);if(!_0x4f3fca&&!_0x249526)return console[_0x34025c(0x13c)]('\x20\x20Skill\x20not\x20found:\x20'+_0xb3f051),![];const _0x2fb013=_0x2d40fd[_0x34025c(0x149)](getSkillsDir,level),_0x17cc53=join(_0x2fb013,_0xb3f051);await mkdir(_0x17cc53,{'recursive':!![]});let _0x261aa2,_0x1c4934=[];if(_0x4f3fca){const _0x2848c7=await _0x2d40fd[_0x34025c(0x14b)](readdir,_0x533876),_0x508b8e=_0x2848c7[_0x34025c(0x132)](_0x4ae458=>_0x4ae458[_0x34025c(0x137)]('.md'));for(const _0x4d3302 of _0x508b8e){const _0x9bb69a=join(_0x533876,_0x4d3302),_0x561c82=_0x2d40fd[_0x34025c(0x153)](join,_0x17cc53,_0x4d3302);await _0x2d40fd[_0x34025c(0x136)](copyFile,_0x9bb69a,_0x561c82),_0x1c4934[_0x34025c(0x138)](_0x4d3302);}_0x261aa2=await readFile(join(_0x533876,'SKILL.md'),_0x2d40fd['WpakL']);}else{_0x261aa2=await readFile(_0x2f1ca8,_0x34025c(0x14d));const _0x216259=_0x2d40fd['TUjYE'](join,_0x17cc53,_0x2d40fd[_0x34025c(0x146)]);await writeFile(_0x216259,_0x261aa2,_0x2d40fd['WpakL']),_0x1c4934['push'](_0x2d40fd['vXyHt']);}const {name:_0x1ffe55}=parseFrontmatter(_0x261aa2);return console[_0x34025c(0x154)]('\x20\x20Installed\x20skill:\x20'+_0x1ffe55),console['log'](_0x34025c(0x133)+_0x17cc53),_0x1c4934['length']>0x1&&console['log']('\x20\x20Files:\x20'+_0x1c4934['join'](',\x20')),_0x2d40fd['xnGUL'](logLocalAgentInstallation,_0xb3f051,{'skillDisplayName':_0x1ffe55,'installLevel':level},_0x8e95f8)['catch'](()=>{}),!![];}function getSourceSkillsDir(){const _0x1e5ea2=_0x4a4861,_0x1beaf4={'JfVxC':_0x1e5ea2(0x144),'kQuGi':function(_0x4d0ae9,_0x5e3d5e,_0x3d00f2,_0x4e836f,_0x55d6e8,_0x22f8bd){return _0x4d0ae9(_0x5e3d5e,_0x3d00f2,_0x4e836f,_0x55d6e8,_0x22f8bd);}},_0x10ad4e=[join(__dirname,'..','..',_0x1beaf4['JfVxC']),_0x1beaf4[_0x1e5ea2(0x141)](join,__dirname,'..','..','..','skills')];for(const _0x5cbe51 of _0x10ad4e){if(existsSync(_0x5cbe51))return _0x5cbe51;}return _0x10ad4e[0x0];}function parseFrontmatter(_0x2ba9c4){const _0x1c9edb=_0x4a4861,_0x133deb=_0x2ba9c4['match'](/^---\n([\s\S]+?)\n---/);if(!_0x133deb)throw new Error('Invalid\x20skill\x20frontmatter');const _0x1d387a=_0x133deb[0x1],_0x572b57=_0x1d387a['match'](/name:\s*(.+)/),_0x19a39a=_0x1d387a['match'](/description:\s*"?(.+?)"?\n/);return{'name':_0x572b57?.[0x1][_0x1c9edb(0x13f)]()||'','description':_0x19a39a?.[0x1][_0x1c9edb(0x13f)]()||''};}export async function removeSkill(_0x12ed32,_0x5b3aa8){const _0x8b50bd=_0x4a4861,_0x509eb6={'Ptsle':function(_0x433aea,_0x1cf015,_0x4cff41){return _0x433aea(_0x1cf015,_0x4cff41);},'ctsGp':function(_0x2000c8,_0x4c233a){return _0x2000c8(_0x4c233a);}},_0x18ddb1=getSkillsDir(_0x5b3aa8),_0x39b78f=_0x509eb6[_0x8b50bd(0x145)](join,_0x18ddb1,_0x12ed32);if(!_0x509eb6[_0x8b50bd(0x142)](existsSync,_0x39b78f))return![];try{return await rm(_0x39b78f,{'recursive':!![]}),console[_0x8b50bd(0x154)](_0x8b50bd(0x14e)+_0x12ed32),!![];}catch{return console[_0x8b50bd(0x13c)]('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x12ed32),![];}}
1
+ const _0x4985c9=_0x3bc1;(function(_0x93c667,_0x1b556d){const _0x2d0280=_0x3bc1,_0x2e30d6=_0x93c667();while(!![]){try{const _0x4cb0df=parseInt(_0x2d0280(0x14d))/0x1+parseInt(_0x2d0280(0x162))/0x2+-parseInt(_0x2d0280(0x154))/0x3+parseInt(_0x2d0280(0x14f))/0x4*(-parseInt(_0x2d0280(0x147))/0x5)+parseInt(_0x2d0280(0x14a))/0x6+-parseInt(_0x2d0280(0x164))/0x7*(-parseInt(_0x2d0280(0x15e))/0x8)+-parseInt(_0x2d0280(0x15f))/0x9;if(_0x4cb0df===_0x1b556d)break;else _0x2e30d6['push'](_0x2e30d6['shift']());}catch(_0x3d86c7){_0x2e30d6['push'](_0x2e30d6['shift']());}}}(_0x1801,0x75150));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';function _0x3bc1(_0x522d2f,_0x4f453b){_0x522d2f=_0x522d2f-0x145;const _0x180189=_0x1801();let _0x3bc106=_0x180189[_0x522d2f];return _0x3bc106;}import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';function _0x1801(){const _0x26e5ef=['e2e-test-recommender','264089DMmGyu','catch','DpeeS','join','YGlaF','5WLMqQJ','CTgdH','log','2526888iExWLP','warn','SKILL.md','80790QXTJVF','Wylhg','227828nZfZim','REkwa','XcPRe','JzSfC','.md','476250arxbyd','wXVqo','push','endsWith','Cjfqo','trim','skills','zmshP','\x20\x20Location:\x20','icmOK','192jVhWhc','8332731ufBXZr','Invalid\x20skill\x20frontmatter','wjkJY','427496PajXnv'];_0x1801=function(){return _0x26e5ef;};return _0x1801();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=['ranger'];export const DEPRECATED_SKILLS=[_0x4985c9(0x163),'bug-bash','feature-tracker'];export async function installSkill(_0x424be7,_0x2357db={}){const _0x126917=_0x4985c9,_0x417e06={'XcPRe':function(_0x275eec,_0x11f334,_0xf686dd){return _0x275eec(_0x11f334,_0xf686dd);},'DpeeS':function(_0x4afb1e,_0x2718dd){return _0x4afb1e(_0x2718dd);},'YGlaF':function(_0x7d7940,_0x4ff5c0,_0x498691){return _0x7d7940(_0x4ff5c0,_0x498691);},'icmOK':function(_0x5ed685,_0x24e360,_0x474699){return _0x5ed685(_0x24e360,_0x474699);},'Cjfqo':'utf-8','gmxev':function(_0x119d4b,_0x2f771d,_0x5dc405){return _0x119d4b(_0x2f771d,_0x5dc405);},'wXVqo':'SKILL.md','REkwa':function(_0x7021af,_0x2e0746,_0x10afd2,_0x2ffbe8){return _0x7021af(_0x2e0746,_0x10afd2,_0x2ffbe8);},'CTgdH':function(_0x2edf4d,_0x2c5c37){return _0x2edf4d(_0x2c5c37);},'ZiJOC':function(_0x320b30,_0x1bff79){return _0x320b30>_0x1bff79;}},{level:level='project',cliVersion:_0x5bfda4}=_0x2357db,_0x3ea12e=getSourceSkillsDir(),_0x3c62dc=_0x417e06[_0x126917(0x151)](join,_0x3ea12e,_0x424be7),_0x131ba9=join(_0x3ea12e,_0x424be7+_0x126917(0x153)),_0x2fd338=_0x417e06['DpeeS'](existsSync,_0x3c62dc)&&statSync(_0x3c62dc)['isDirectory']()&&existsSync(join(_0x3c62dc,'SKILL.md')),_0x3f94a6=_0x417e06[_0x126917(0x166)](existsSync,_0x131ba9);if(!_0x2fd338&&!_0x3f94a6)return console[_0x126917(0x14b)]('\x20\x20Skill\x20not\x20found:\x20'+_0x424be7),![];const _0x1a6bc1=getSkillsDir(level),_0x1e8eaa=join(_0x1a6bc1,_0x424be7);await _0x417e06[_0x126917(0x151)](mkdir,_0x1e8eaa,{'recursive':!![]});let _0x31ee04,_0x4ce643=[];if(_0x2fd338){const _0x37d60b=await readdir(_0x3c62dc),_0x5536e9=_0x37d60b['filter'](_0x2a77ac=>_0x2a77ac[_0x126917(0x157)]('.md'));for(const _0x4d8e76 of _0x5536e9){const _0x5a9785=join(_0x3c62dc,_0x4d8e76),_0x4de804=_0x417e06[_0x126917(0x146)](join,_0x1e8eaa,_0x4d8e76);await copyFile(_0x5a9785,_0x4de804),_0x4ce643[_0x126917(0x156)](_0x4d8e76);}_0x31ee04=await readFile(_0x417e06[_0x126917(0x15d)](join,_0x3c62dc,_0x126917(0x14c)),_0x417e06[_0x126917(0x158)]);}else{_0x31ee04=await _0x417e06['gmxev'](readFile,_0x131ba9,'utf-8');const _0x5ac1a7=join(_0x1e8eaa,_0x417e06['wXVqo']);await _0x417e06[_0x126917(0x150)](writeFile,_0x5ac1a7,_0x31ee04,_0x417e06[_0x126917(0x158)]),_0x4ce643[_0x126917(0x156)](_0x417e06[_0x126917(0x155)]);}const {name:_0x206ed1}=_0x417e06[_0x126917(0x148)](parseFrontmatter,_0x31ee04);return console[_0x126917(0x149)]('\x20\x20Installed\x20skill:\x20'+_0x206ed1),console[_0x126917(0x149)](_0x126917(0x15c)+_0x1e8eaa),_0x417e06['ZiJOC'](_0x4ce643['length'],0x1)&&console[_0x126917(0x149)]('\x20\x20Files:\x20'+_0x4ce643[_0x126917(0x145)](',\x20')),logLocalAgentInstallation(_0x424be7,{'skillDisplayName':_0x206ed1,'installLevel':level},_0x5bfda4)[_0x126917(0x165)](()=>{}),!![];}function getSourceSkillsDir(){const _0x423b28=_0x4985c9,_0x55143e={'JzSfC':function(_0x101526,_0x5b1ab4,_0x36bc37,_0x39aa37,_0xa4a4fa){return _0x101526(_0x5b1ab4,_0x36bc37,_0x39aa37,_0xa4a4fa);},'zmshP':_0x423b28(0x15a),'rpxHt':function(_0x47706a,_0x19b7c3,_0x4ee335,_0x2fc054,_0x390293,_0x2904d9){return _0x47706a(_0x19b7c3,_0x4ee335,_0x2fc054,_0x390293,_0x2904d9);}},_0x1db070=[_0x55143e[_0x423b28(0x152)](join,__dirname,'..','..',_0x55143e[_0x423b28(0x15b)]),_0x55143e['rpxHt'](join,__dirname,'..','..','..','skills')];for(const _0x17ae5c of _0x1db070){if(existsSync(_0x17ae5c))return _0x17ae5c;}return _0x1db070[0x0];}function parseFrontmatter(_0x362afb){const _0x3a9924=_0x4985c9,_0x5df2fc={'Wylhg':_0x3a9924(0x160)},_0x4a5fe8=_0x362afb['match'](/^---\n([\s\S]+?)\n---/);if(!_0x4a5fe8)throw new Error(_0x5df2fc[_0x3a9924(0x14e)]);const _0x4f22e3=_0x4a5fe8[0x1],_0x37c273=_0x4f22e3['match'](/name:\s*(.+)/),_0x1f2db6=_0x4f22e3['match'](/description:\s*"?(.+?)"?\n/);return{'name':_0x37c273?.[0x1][_0x3a9924(0x159)]()||'','description':_0x1f2db6?.[0x1]['trim']()||''};}export async function removeSkill(_0x3297eb,_0x1a770c){const _0x2f3c51=_0x4985c9,_0x251b9d={'wjkJY':function(_0x1b7794,_0x3bd2d7){return _0x1b7794(_0x3bd2d7);},'nDWIW':function(_0xdfd98f,_0x9f1e5b,_0x3fe24d){return _0xdfd98f(_0x9f1e5b,_0x3fe24d);}},_0x488b15=getSkillsDir(_0x1a770c),_0xaef3c7=join(_0x488b15,_0x3297eb);if(!_0x251b9d[_0x2f3c51(0x161)](existsSync,_0xaef3c7))return![];try{return await _0x251b9d['nDWIW'](rm,_0xaef3c7,{'recursive':!![]}),console[_0x2f3c51(0x149)]('\x20\x20Removed\x20deprecated\x20skill:\x20'+_0x3297eb),!![];}catch{return console['warn']('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x3297eb),![];}}
@@ -1 +1 @@
1
- const _0x51312d=_0x1634;(function(_0x38e761,_0x3b9089){const _0x302f68=_0x1634,_0x49770d=_0x38e761();while(!![]){try{const _0x4c7f8d=parseInt(_0x302f68(0x130))/0x1+parseInt(_0x302f68(0x12a))/0x2*(parseInt(_0x302f68(0x11f))/0x3)+parseInt(_0x302f68(0x11e))/0x4+-parseInt(_0x302f68(0x128))/0x5*(-parseInt(_0x302f68(0x14d))/0x6)+parseInt(_0x302f68(0x145))/0x7+-parseInt(_0x302f68(0x147))/0x8*(-parseInt(_0x302f68(0x139))/0x9)+-parseInt(_0x302f68(0x12d))/0xa;if(_0x4c7f8d===_0x3b9089)break;else _0x49770d['push'](_0x49770d['shift']());}catch(_0x2dd70b){_0x49770d['push'](_0x49770d['shift']());}}}(_0x16d5,0x8be9d));import{randomUUID}from'crypto';import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';import{getCurrentVersion}from'./version.js';function _0x1634(_0x4d9517,_0x336929){_0x4d9517=_0x4d9517-0x119;const _0x16d524=_0x16d5();let _0x163412=_0x16d524[_0x4d9517];return _0x163412;}export class TelemetryCollector{['buffer']=[];['commandId'];[_0x51312d(0x121)];['commandStartTime'];['phaseCounter']=0x0;[_0x51312d(0x12f)]=new Map();['flushing']=null;[_0x51312d(0x13f)];[_0x51312d(0x132)];['platform'];['isTty'];[_0x51312d(0x11c)];[_0x51312d(0x13e)];['checklistItemId'];[_0x51312d(0x143)];constructor(_0x25c4f9){const _0x282faa=_0x51312d,_0x388c46={'fxwVF':function(_0x29acde){return _0x29acde();}};this[_0x282faa(0x133)]=_0x388c46[_0x282faa(0x149)](randomUUID),this[_0x282faa(0x121)]=_0x25c4f9,this[_0x282faa(0x157)]=Date['now'](),this[_0x282faa(0x13f)]=getCurrentVersion(),this[_0x282faa(0x132)]=process['version'],this['platform']=process[_0x282faa(0x13c)],this[_0x282faa(0x131)]=process['stdout'][_0x282faa(0x154)]??![],this[_0x282faa(0x11c)]=!!(process['env']['CI']||process[_0x282faa(0x12c)]['GITHUB_ACTIONS']);}[_0x51312d(0x127)](_0x30ee2b){const _0x889eeb=_0x51312d;if(_0x30ee2b['featureId'])this['featureId']=_0x30ee2b['featureId'];if(_0x30ee2b['checklistItemId'])this['checklistItemId']=_0x30ee2b['checklistItemId'];if(_0x30ee2b['browserSessionId'])this[_0x889eeb(0x143)]=_0x30ee2b['browserSessionId'];}async['trackCommandStart'](_0x40e2f2){const _0x17446c=_0x51312d,_0x3db337=this[_0x17446c(0x148)]({'eventType':'command_start','metadata':_0x40e2f2});await this[_0x17446c(0x135)](_0x3db337);}async[_0x51312d(0x122)](_0x244e55,_0x10c696){const _0x13d648=_0x51312d,_0x2a9552={'PyHKp':_0x13d648(0x136),'rxRiM':function(_0x5132af,_0x27bb79){return _0x5132af-_0x27bb79;}},_0x3bd0ea=this['buildEvent']({'eventType':_0x2a9552[_0x13d648(0x152)],'outcome':_0x244e55,'durationMs':_0x2a9552['rxRiM'](Date[_0x13d648(0x120)](),this['commandStartTime']),'metadata':_0x10c696});await this[_0x13d648(0x135)](_0x3bd0ea),await this['flush']();}async[_0x51312d(0x153)](_0x5a741b,_0x4dab45){const _0x149d3c=_0x51312d,_0x282bd3={'PvKhg':function(_0x38b549,_0x18dc2c){return _0x38b549(_0x18dc2c);},'NMZpR':function(_0x53e52a,_0x1a1646){return _0x53e52a instanceof _0x1a1646;},'RjlcT':'Unknown'},_0x1be172=this['buildEvent']({'eventType':_0x149d3c(0x155),'errorMessage':truncate(_0x5a741b instanceof Error?_0x5a741b[_0x149d3c(0x146)]:_0x282bd3[_0x149d3c(0x14a)](String,_0x5a741b),0x1f4),'errorType':_0x282bd3['NMZpR'](_0x5a741b,Error)?_0x5a741b['constructor']['name']:_0x282bd3['RjlcT'],'durationMs':Date[_0x149d3c(0x120)]()-this['commandStartTime'],'metadata':_0x4dab45});await this['sendImmediate'](_0x1be172),await this['flush']();}['trackPhaseStart'](_0x4b04ad,_0x57da97){const _0x754915=_0x51312d,_0x224f75={'YBOro':_0x754915(0x141)};this[_0x754915(0x14f)]++,this[_0x754915(0x12f)][_0x754915(0x126)](_0x4b04ad,Date[_0x754915(0x120)]());const _0x4c0ade=this[_0x754915(0x148)]({'eventType':_0x224f75['YBOro'],'phase':_0x4b04ad,'phaseIndex':this[_0x754915(0x14f)],'metadata':_0x57da97});this[_0x754915(0x12e)]['push'](_0x4c0ade);}[_0x51312d(0x119)](_0x2fa2e8,_0x589e6c){const _0x1088b8=_0x51312d,_0x3c3139={'zAjYn':function(_0x26dc0b,_0x557cd7){return _0x26dc0b-_0x557cd7;},'WPPHq':function(_0x53dd3c,_0x5c79e3){return _0x53dd3c>=_0x5c79e3;}},_0x16c2b1=this['phaseStartTimes']['get'](_0x2fa2e8),_0x4ec66b=_0x16c2b1?_0x3c3139['zAjYn'](Date[_0x1088b8(0x120)](),_0x16c2b1):undefined;this[_0x1088b8(0x12f)][_0x1088b8(0x14c)](_0x2fa2e8);const _0x545e33=this[_0x1088b8(0x148)]({'eventType':_0x1088b8(0x134),'phase':_0x2fa2e8,'durationMs':_0x4ec66b,'metadata':_0x589e6c});this[_0x1088b8(0x12e)]['push'](_0x545e33),_0x3c3139[_0x1088b8(0x14e)](this[_0x1088b8(0x12e)][_0x1088b8(0x140)],0xa)&&this['flushAsync']();}async[_0x51312d(0x137)](_0x13bdc8,_0xd5e7e8,_0x177970){const _0x37819d=_0x51312d,_0x4ca11a={'XFAHa':function(_0x4d3aaa,_0x3541f3){return _0x4d3aaa-_0x3541f3;},'Ywyio':function(_0x139591,_0x1d03fc){return _0x139591 instanceof _0x1d03fc;},'mItWE':function(_0x3cc393,_0x2153a9){return _0x3cc393 instanceof _0x2153a9;}},_0x12c2fd=this['phaseStartTimes'][_0x37819d(0x124)](_0x13bdc8),_0xf34b24=_0x12c2fd?_0x4ca11a['XFAHa'](Date['now'](),_0x12c2fd):undefined;this['phaseStartTimes'][_0x37819d(0x14c)](_0x13bdc8);const _0x23f1b9=this[_0x37819d(0x148)]({'eventType':_0x37819d(0x125),'phase':_0x13bdc8,'durationMs':_0xf34b24,'errorMessage':truncate(_0x4ca11a['Ywyio'](_0xd5e7e8,Error)?_0xd5e7e8['message']:String(_0xd5e7e8),0x1f4),'errorType':_0x4ca11a['mItWE'](_0xd5e7e8,Error)?_0xd5e7e8[_0x37819d(0x13b)][_0x37819d(0x15a)]:'Unknown','metadata':_0x177970});await this['sendImmediate'](_0x23f1b9);}async[_0x51312d(0x150)](){const _0x18c2e3=_0x51312d;if(this['buffer'][_0x18c2e3(0x140)]===0x0)return;const _0x1f4696=this['buffer']['splice'](0x0);try{await this['sendBatch'](_0x1f4696);}catch{}}['buildEvent'](_0x1642f2){const _0x2d50d7=_0x51312d;return{'eventType':_0x1642f2[_0x2d50d7(0x144)],'command':this['command'],'commandId':this['commandId'],'timestamp':new Date()[_0x2d50d7(0x129)](),'durationMs':_0x1642f2[_0x2d50d7(0x13a)],'phase':_0x1642f2[_0x2d50d7(0x11d)],'phaseIndex':_0x1642f2['phaseIndex'],'outcome':_0x1642f2[_0x2d50d7(0x158)],'errorMessage':_0x1642f2[_0x2d50d7(0x123)],'errorType':_0x1642f2['errorType'],'featureId':this['featureId'],'checklistItemId':this[_0x2d50d7(0x13d)],'browserSessionId':this['browserSessionId'],'evaluation':_0x1642f2['evaluation'],'cliVersion':this[_0x2d50d7(0x13f)],'nodeVersion':this[_0x2d50d7(0x132)],'platform':this[_0x2d50d7(0x13c)],'isTty':this[_0x2d50d7(0x131)],'isCI':this['isCI'],'metadata':_0x1642f2[_0x2d50d7(0x138)]};}async['sendImmediate'](_0x59eb56){try{await this['sendBatch']([_0x59eb56]);}catch{}}['flushAsync'](){if(this['flushing'])return;this['flushing']=this['flush']()['finally'](()=>{this['flushing']=null;});}async[_0x51312d(0x11a)](_0x6602c7){const _0x43ddae=_0x51312d,_0x201afb={'RdHVA':function(_0x388bd5){return _0x388bd5();},'GcqCf':function(_0xf766ca,_0x2ee59d,_0x559684){return _0xf766ca(_0x2ee59d,_0x559684);}},_0x144784=await getToken()['catch'](()=>null),_0x387f74=_0x201afb['RdHVA'](getApiBaseUrl),_0x1d23bc={'Content-Type':_0x43ddae(0x156)};_0x144784&&(_0x1d23bc[_0x43ddae(0x11b)]='Bearer\x20'+_0x144784);const _0x2145e4={'events':_0x6602c7};process['env'][_0x43ddae(0x159)]&&console['error']('[telemetry]\x20Sending\x20'+_0x6602c7['length']+'\x20event(s)\x20to\x20'+_0x387f74+'/api/v1/mcp/cli-telemetry');const _0x15872e=new AbortController(),_0xba52cd=_0x201afb[_0x43ddae(0x14b)](setTimeout,()=>_0x15872e['abort'](),0x1388);try{await fetch(_0x387f74+'/api/v1/mcp/cli-telemetry',{'method':_0x43ddae(0x142),'headers':_0x1d23bc,'body':JSON['stringify'](_0x2145e4),'signal':_0x15872e[_0x43ddae(0x12b)]});}finally{clearTimeout(_0xba52cd);}}}function _0x16d5(){const _0x5710af=['set','setContext','45eGbVoJ','toISOString','18PyGOBc','signal','env','36603270DhEtnM','buffer','phaseStartTimes','518249lKQWEs','isTty','nodeVersion','commandId','phase_end','sendImmediate','command_end','trackPhaseError','metadata','9CoLtMd','durationMs','constructor','platform','checklistItemId','featureId','cliVersion','length','phase_start','POST','browserSessionId','eventType','2761871SRLMHA','message','8153168sCxxQx','buildEvent','fxwVF','PvKhg','GcqCf','delete','645342ciMhEx','WPPHq','phaseCounter','flush','dgSiA','PyHKp','trackCommandError','isTTY','command_error','application/json','commandStartTime','outcome','DEBUG','name','trackPhaseEnd','sendBatch','Authorization','isCI','phase','4562648GBenqv','64263cAbkbK','now','command','trackCommandEnd','errorMessage','get','phase_error'];_0x16d5=function(){return _0x5710af;};return _0x16d5();}let currentCollector=null;export function createTelemetryCollector(_0x33d785){return currentCollector=new TelemetryCollector(_0x33d785),currentCollector;}export function getCurrentCollector(){return currentCollector;}export async function withTelemetry(_0x4f2942,_0x5ee7c2,_0x5265c8){const _0x50778b=_0x51312d,_0x1f4a60={'dgSiA':function(_0x134e6c,_0x5024af){return _0x134e6c(_0x5024af);}},_0x2985cd=_0x1f4a60[_0x50778b(0x151)](createTelemetryCollector,_0x4f2942);await _0x2985cd['trackCommandStart'](_0x5265c8);try{const _0x96c515=await _0x5ee7c2(_0x2985cd);return await _0x2985cd['trackCommandEnd']('success'),_0x96c515;}catch(_0x1b3370){await _0x2985cd['trackCommandError'](_0x1b3370);throw _0x1b3370;}finally{await _0x2985cd[_0x50778b(0x150)]();}}function truncate(_0x194459,_0x50a64a){const _0x277aa1={'pKEWn':'...'};return _0x194459['length']>_0x50a64a?_0x194459['slice'](0x0,_0x50a64a)+_0x277aa1['pKEWn']:_0x194459;}
1
+ const _0x2b1e7d=_0xad06;(function(_0xaaadcd,_0x5f5253){const _0x4acf54=_0xad06,_0xf1ee73=_0xaaadcd();while(!![]){try{const _0x4741e3=parseInt(_0x4acf54(0x1fa))/0x1*(-parseInt(_0x4acf54(0x21d))/0x2)+parseInt(_0x4acf54(0x1e4))/0x3+parseInt(_0x4acf54(0x1f9))/0x4+parseInt(_0x4acf54(0x1ef))/0x5+-parseInt(_0x4acf54(0x1db))/0x6*(parseInt(_0x4acf54(0x20f))/0x7)+parseInt(_0x4acf54(0x206))/0x8*(parseInt(_0x4acf54(0x21b))/0x9)+-parseInt(_0x4acf54(0x20d))/0xa;if(_0x4741e3===_0x5f5253)break;else _0xf1ee73['push'](_0xf1ee73['shift']());}catch(_0x3dde6c){_0xf1ee73['push'](_0xf1ee73['shift']());}}}(_0x2688,0x1f667));import{randomUUID}from'crypto';import{getToken}from'./keychain.js';function _0xad06(_0x39834,_0x1d1a9f){_0x39834=_0x39834-0x1da;const _0x268880=_0x2688();let _0xad0633=_0x268880[_0x39834];return _0xad0633;}function _0x2688(){const _0x8370b9=['slice','buffer','31725kwfuNy','phaseCounter','115006PaYDwA','RJYWc','6UNWWLr','delete','kkNbW','platform','PAeyi','sendImmediate','length','success','\x20event(s)\x20to\x20','711627uqNpZQ','name','KJEqc','browserSessionId','Authorization','env','flushAsync','buildEvent','now','commandStartTime','phaseStartTimes','1130985MgtlbF','setContext','commandId','WDlEQ','sendBatch','/api/v1/mcp/cli-telemetry','command_error','...','trackPhaseEnd','cliVersion','740848fmkSJe','1WEkmPj','DEBUG','isTty','phase_start','uNAkG','GITHUB_ACTIONS','version','push','nodeVersion','featureId','stdout','flushing','536WDoYFA','phase','trackCommandStart','catch','set','flush','splice','6170580AwahNk','eventType','571319FdtCaU','cikDe','constructor','signal','trackCommandError','message','jHazI','command','isCI','metadata'];_0x2688=function(){return _0x8370b9;};return _0x2688();}import{getApiBaseUrl}from'./environment.js';import{getCurrentVersion}from'./version.js';export class TelemetryCollector{[_0x2b1e7d(0x21a)]=[];['commandId'];['command'];[_0x2b1e7d(0x1ed)];['phaseCounter']=0x0;[_0x2b1e7d(0x1ee)]=new Map();['flushing']=null;[_0x2b1e7d(0x1f8)];[_0x2b1e7d(0x202)];['platform'];['isTty'];[_0x2b1e7d(0x217)];['featureId'];['checklistItemId'];[_0x2b1e7d(0x1e7)];constructor(_0x229a20){const _0x171e54=_0x2b1e7d,_0x2ac216={'rSUYR':function(_0x4f8094){return _0x4f8094();}};this['commandId']=randomUUID(),this[_0x171e54(0x216)]=_0x229a20,this['commandStartTime']=Date['now'](),this['cliVersion']=_0x2ac216['rSUYR'](getCurrentVersion),this['nodeVersion']=process[_0x171e54(0x200)],this['platform']=process[_0x171e54(0x1de)],this[_0x171e54(0x1fc)]=process[_0x171e54(0x204)]['isTTY']??![],this['isCI']=!!(process[_0x171e54(0x1e9)]['CI']||process[_0x171e54(0x1e9)][_0x171e54(0x1ff)]);}[_0x2b1e7d(0x1f0)](_0x242ae5){const _0x5b32fb=_0x2b1e7d;if(_0x242ae5[_0x5b32fb(0x203)])this[_0x5b32fb(0x203)]=_0x242ae5['featureId'];if(_0x242ae5['checklistItemId'])this['checklistItemId']=_0x242ae5['checklistItemId'];if(_0x242ae5[_0x5b32fb(0x1e7)])this['browserSessionId']=_0x242ae5['browserSessionId'];}async[_0x2b1e7d(0x208)](_0x58bdf4){const _0x22738e=_0x2b1e7d,_0x528784=this[_0x22738e(0x1eb)]({'eventType':'command_start','metadata':_0x58bdf4});await this['sendImmediate'](_0x528784);}async['trackCommandEnd'](_0x5ac211,_0x407f17){const _0x584610=_0x2b1e7d,_0x6de8dc={'jEhfP':'command_end'},_0xd06efe=this[_0x584610(0x1eb)]({'eventType':_0x6de8dc['jEhfP'],'outcome':_0x5ac211,'durationMs':Date['now']()-this['commandStartTime'],'metadata':_0x407f17});await this[_0x584610(0x1e0)](_0xd06efe),await this[_0x584610(0x20b)]();}async['trackCommandError'](_0x32bb79,_0x22fcda){const _0x24b53d=_0x2b1e7d,_0x758b3={'lIzIr':_0x24b53d(0x1f5),'RJYWc':function(_0x50a109,_0x19827d,_0x436c9f){return _0x50a109(_0x19827d,_0x436c9f);},'WDlEQ':function(_0x32a1ab,_0x1102fb){return _0x32a1ab instanceof _0x1102fb;},'RfeRn':function(_0xbe2fe9,_0x418845){return _0xbe2fe9 instanceof _0x418845;},'KJEqc':function(_0x16392e,_0x220814){return _0x16392e-_0x220814;}},_0x10b919=this[_0x24b53d(0x1eb)]({'eventType':_0x758b3['lIzIr'],'errorMessage':_0x758b3[_0x24b53d(0x1da)](truncate,_0x758b3[_0x24b53d(0x1f2)](_0x32bb79,Error)?_0x32bb79[_0x24b53d(0x214)]:String(_0x32bb79),0x1f4),'errorType':_0x758b3['RfeRn'](_0x32bb79,Error)?_0x32bb79[_0x24b53d(0x211)][_0x24b53d(0x1e5)]:'Unknown','durationMs':_0x758b3[_0x24b53d(0x1e6)](Date[_0x24b53d(0x1ec)](),this['commandStartTime']),'metadata':_0x22fcda});await this[_0x24b53d(0x1e0)](_0x10b919),await this['flush']();}['trackPhaseStart'](_0x1faca3,_0x1224e8){const _0x4bcb6c=_0x2b1e7d,_0x444ff8={'jHazI':_0x4bcb6c(0x1fd)};this[_0x4bcb6c(0x21c)]++,this['phaseStartTimes'][_0x4bcb6c(0x20a)](_0x1faca3,Date['now']());const _0x2460e9=this['buildEvent']({'eventType':_0x444ff8[_0x4bcb6c(0x215)],'phase':_0x1faca3,'phaseIndex':this['phaseCounter'],'metadata':_0x1224e8});this['buffer']['push'](_0x2460e9);}[_0x2b1e7d(0x1f7)](_0x8565b7,_0x2168e6){const _0x3638ce=_0x2b1e7d,_0x90c895={'sUIVi':function(_0x16f188,_0x351710){return _0x16f188-_0x351710;},'JfFbt':'phase_end'},_0x28d870=this['phaseStartTimes']['get'](_0x8565b7),_0x27213e=_0x28d870?_0x90c895['sUIVi'](Date['now'](),_0x28d870):undefined;this['phaseStartTimes'][_0x3638ce(0x1dc)](_0x8565b7);const _0x3b3eab=this[_0x3638ce(0x1eb)]({'eventType':_0x90c895['JfFbt'],'phase':_0x8565b7,'durationMs':_0x27213e,'metadata':_0x2168e6});this['buffer'][_0x3638ce(0x201)](_0x3b3eab),this[_0x3638ce(0x21a)]['length']>=0xa&&this[_0x3638ce(0x1ea)]();}async['trackPhaseError'](_0x5a1d60,_0x258600,_0x3a0976){const _0x118cd4=_0x2b1e7d,_0x1c5659={'HfjBk':'phase_error','cikDe':function(_0xb86b60,_0x432bd5,_0x52f392){return _0xb86b60(_0x432bd5,_0x52f392);},'cZrph':function(_0x7e64cb,_0x31dbac){return _0x7e64cb instanceof _0x31dbac;},'SoHYt':'Unknown'},_0x4a0058=this[_0x118cd4(0x1ee)]['get'](_0x5a1d60),_0xd27462=_0x4a0058?Date[_0x118cd4(0x1ec)]()-_0x4a0058:undefined;this[_0x118cd4(0x1ee)][_0x118cd4(0x1dc)](_0x5a1d60);const _0xb96db9=this['buildEvent']({'eventType':_0x1c5659['HfjBk'],'phase':_0x5a1d60,'durationMs':_0xd27462,'errorMessage':_0x1c5659[_0x118cd4(0x210)](truncate,_0x1c5659['cZrph'](_0x258600,Error)?_0x258600[_0x118cd4(0x214)]:String(_0x258600),0x1f4),'errorType':_0x258600 instanceof Error?_0x258600['constructor'][_0x118cd4(0x1e5)]:_0x1c5659['SoHYt'],'metadata':_0x3a0976});await this['sendImmediate'](_0xb96db9);}async[_0x2b1e7d(0x20b)](){const _0x30a22a=_0x2b1e7d,_0x4ab989={'xPBlZ':function(_0x2710f,_0x4bce82){return _0x2710f===_0x4bce82;}};if(_0x4ab989['xPBlZ'](this['buffer']['length'],0x0))return;const _0x4fae02=this[_0x30a22a(0x21a)][_0x30a22a(0x20c)](0x0);try{await this['sendBatch'](_0x4fae02);}catch{}}['buildEvent'](_0x529dc2){const _0xc9ad3b=_0x2b1e7d;return{'eventType':_0x529dc2[_0xc9ad3b(0x20e)],'command':this['command'],'commandId':this[_0xc9ad3b(0x1f1)],'timestamp':new Date()['toISOString'](),'durationMs':_0x529dc2['durationMs'],'phase':_0x529dc2[_0xc9ad3b(0x207)],'phaseIndex':_0x529dc2['phaseIndex'],'outcome':_0x529dc2['outcome'],'errorMessage':_0x529dc2['errorMessage'],'errorType':_0x529dc2['errorType'],'featureId':this['featureId'],'checklistItemId':this['checklistItemId'],'browserSessionId':this[_0xc9ad3b(0x1e7)],'evaluation':_0x529dc2['evaluation'],'cliVersion':this[_0xc9ad3b(0x1f8)],'nodeVersion':this['nodeVersion'],'platform':this[_0xc9ad3b(0x1de)],'isTty':this['isTty'],'isCI':this[_0xc9ad3b(0x217)],'metadata':_0x529dc2[_0xc9ad3b(0x218)]};}async['sendImmediate'](_0x3958a8){const _0x89bb40=_0x2b1e7d;try{await this[_0x89bb40(0x1f3)]([_0x3958a8]);}catch{}}[_0x2b1e7d(0x1ea)](){const _0x130956=_0x2b1e7d;if(this[_0x130956(0x205)])return;this['flushing']=this[_0x130956(0x20b)]()['finally'](()=>{this['flushing']=null;});}async['sendBatch'](_0x1f1052){const _0x351bf0=_0x2b1e7d,_0x3f6981={'BZmiV':function(_0xd30dcb){return _0xd30dcb();},'ukiry':function(_0x1d31c9){return _0x1d31c9();},'PAeyi':function(_0x4e6619,_0x5e4c73,_0x1e6778){return _0x4e6619(_0x5e4c73,_0x1e6778);},'GbzNT':'POST'},_0x4c5f27=await _0x3f6981['BZmiV'](getToken)[_0x351bf0(0x209)](()=>null),_0x1cc50c=_0x3f6981['ukiry'](getApiBaseUrl),_0xddff80={'Content-Type':'application/json'};_0x4c5f27&&(_0xddff80[_0x351bf0(0x1e8)]='Bearer\x20'+_0x4c5f27);const _0x2bcfcd={'events':_0x1f1052};process[_0x351bf0(0x1e9)][_0x351bf0(0x1fb)]&&console['error']('[telemetry]\x20Sending\x20'+_0x1f1052[_0x351bf0(0x1e1)]+_0x351bf0(0x1e3)+_0x1cc50c+_0x351bf0(0x1f4));const _0x3d5081=new AbortController(),_0x52d1e4=_0x3f6981[_0x351bf0(0x1df)](setTimeout,()=>_0x3d5081['abort'](),0x1388);try{await _0x3f6981['PAeyi'](fetch,_0x1cc50c+'/api/v1/mcp/cli-telemetry',{'method':_0x3f6981['GbzNT'],'headers':_0xddff80,'body':JSON['stringify'](_0x2bcfcd),'signal':_0x3d5081[_0x351bf0(0x212)]});}finally{clearTimeout(_0x52d1e4);}}}let currentCollector=null;export function createTelemetryCollector(_0x2ad445){return currentCollector=new TelemetryCollector(_0x2ad445),currentCollector;}export function getCurrentCollector(){return currentCollector;}export async function withTelemetry(_0x4670e1,_0x1756bf,_0x10ac23){const _0x46a5b6=_0x2b1e7d,_0x472641={'uNAkG':function(_0x34e0a9,_0x52f65e){return _0x34e0a9(_0x52f65e);},'kkNbW':_0x46a5b6(0x1e2)},_0x19f3eb=_0x472641[_0x46a5b6(0x1fe)](createTelemetryCollector,_0x4670e1);await _0x19f3eb[_0x46a5b6(0x208)](_0x10ac23);try{const _0x367e19=await _0x1756bf(_0x19f3eb);return await _0x19f3eb['trackCommandEnd'](_0x472641[_0x46a5b6(0x1dd)]),_0x367e19;}catch(_0x304caf){await _0x19f3eb[_0x46a5b6(0x213)](_0x304caf);throw _0x304caf;}finally{await _0x19f3eb[_0x46a5b6(0x20b)]();}}function truncate(_0x31b04d,_0x5df6a7){const _0xb987c6=_0x2b1e7d,_0x361bfe={'QWyEJ':function(_0x564a8e,_0x4b4ee9){return _0x564a8e>_0x4b4ee9;}};return _0x361bfe['QWyEJ'](_0x31b04d['length'],_0x5df6a7)?_0x31b04d[_0xb987c6(0x219)](0x0,_0x5df6a7)+_0xb987c6(0x1f6):_0x31b04d;}
@@ -1 +1 @@
1
- function _0x40fe(_0x17ca6b,_0x426a84){_0x17ca6b=_0x17ca6b-0xb4;const _0x2303a8=_0x2303();let _0x40feba=_0x2303a8[_0x17ca6b];return _0x40feba;}(function(_0x5cfe07,_0xef6adc){const _0x47a260=_0x40fe,_0x7fadc8=_0x5cfe07();while(!![]){try{const _0x5209cd=-parseInt(_0x47a260(0xc1))/0x1+parseInt(_0x47a260(0xc3))/0x2*(-parseInt(_0x47a260(0xc2))/0x3)+-parseInt(_0x47a260(0xbb))/0x4*(-parseInt(_0x47a260(0xbd))/0x5)+-parseInt(_0x47a260(0xb8))/0x6*(parseInt(_0x47a260(0xb9))/0x7)+-parseInt(_0x47a260(0xbf))/0x8*(-parseInt(_0x47a260(0xb7))/0x9)+-parseInt(_0x47a260(0xbe))/0xa*(parseInt(_0x47a260(0xb5))/0xb)+parseInt(_0x47a260(0xc4))/0xc;if(_0x5209cd===_0xef6adc)break;else _0x7fadc8['push'](_0x7fadc8['shift']());}catch(_0xd3ae7c){_0x7fadc8['push'](_0x7fadc8['shift']());}}}(_0x2303,0x314b6));import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x66c373){const _0x719f2b=_0x40fe,_0x52aac6={'jXXgc':function(_0x1b082e){return _0x1b082e();},'cfccl':function(_0x4d9ade,_0x4e4591,_0xd16ee4){return _0x4d9ade(_0x4e4591,_0xd16ee4);},'ceXPE':'GET','yuqHM':function(_0x437325,_0x2954e0){return _0x437325(_0x2954e0);}},_0x212cd8=_0x52aac6[_0x719f2b(0xc0)](getApiBaseUrl);try{const _0x52549d=await _0x52aac6['cfccl'](fetch,_0x212cd8+_0x719f2b(0xc7),{'method':_0x52aac6[_0x719f2b(0xb6)],'headers':{'Authorization':_0x719f2b(0xba)+_0x66c373}});if(!_0x52549d['ok'])return{'success':![],'error':_0x52549d[_0x719f2b(0xb4)]+'\x20'+_0x52549d['statusText'],'status':_0x52549d[_0x719f2b(0xb4)]};const _0x1889bb=await _0x52549d[_0x719f2b(0xc5)]();return{'success':!![],'user':_0x1889bb};}catch(_0x3a2742){return{'success':![],'error':_0x3a2742 instanceof Error?_0x3a2742[_0x719f2b(0xc6)]:_0x52aac6[_0x719f2b(0xbc)](String,_0x3a2742)};}}function _0x2303(){const _0x402816=['Bearer\x20','366176gvScvf','yuqHM','10RvAZyB','10kITgfc','16FmfrFc','jXXgc','235538BXTOaL','8331xGngcp','250vcQnCi','7620252LIWsQE','json','message','/api/v1/mcp/me','status','776974IJmlyT','ceXPE','810801RShdwZ','42zmwjVX','143080sszoiX'];_0x2303=function(){return _0x402816;};return _0x2303();}
1
+ (function(_0x3ca0a9,_0x22d929){const _0x3b311f=_0x226b,_0x5d6734=_0x3ca0a9();while(!![]){try{const _0x25edef=-parseInt(_0x3b311f(0xdb))/0x1+-parseInt(_0x3b311f(0xd7))/0x2*(parseInt(_0x3b311f(0xd0))/0x3)+-parseInt(_0x3b311f(0xcc))/0x4+parseInt(_0x3b311f(0xcd))/0x5+-parseInt(_0x3b311f(0xd3))/0x6+parseInt(_0x3b311f(0xcf))/0x7*(-parseInt(_0x3b311f(0xda))/0x8)+parseInt(_0x3b311f(0xd9))/0x9*(parseInt(_0x3b311f(0xd4))/0xa);if(_0x25edef===_0x22d929)break;else _0x5d6734['push'](_0x5d6734['shift']());}catch(_0x41a8a7){_0x5d6734['push'](_0x5d6734['shift']());}}}(_0x491a,0xdd342));function _0x491a(){const _0xbb7d48=['5490590CZKrCk','status','228277YLqCYG','3eKWZkc','GET','MZiWj','5215650RpAVlF','11824230tBClKe','statusText','json','429366qMKkMZ','Bearer\x20','36SOGBwW','368gZnZmn','567610qYMRzk','7080344hvEmxB'];_0x491a=function(){return _0xbb7d48;};return _0x491a();}function _0x226b(_0x69a873,_0x4f2cd5){_0x69a873=_0x69a873-0xcc;const _0x491a4a=_0x491a();let _0x226b3b=_0x491a4a[_0x69a873];return _0x226b3b;}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x2dd023){const _0x13a402=_0x226b,_0x19ef6c={'MZiWj':function(_0x252c37){return _0x252c37();},'NoJSo':function(_0x32974a,_0x25e781,_0x2d5602){return _0x32974a(_0x25e781,_0x2d5602);},'tWAYw':_0x13a402(0xd1),'NAEHt':function(_0x28b624,_0x2518f1){return _0x28b624(_0x2518f1);}},_0x30c459=_0x19ef6c[_0x13a402(0xd2)](getApiBaseUrl);try{const _0x3a1368=await _0x19ef6c['NoJSo'](fetch,_0x30c459+'/api/v1/mcp/me',{'method':_0x19ef6c['tWAYw'],'headers':{'Authorization':_0x13a402(0xd8)+_0x2dd023}});if(!_0x3a1368['ok'])return{'success':![],'error':_0x3a1368['status']+'\x20'+_0x3a1368[_0x13a402(0xd5)],'status':_0x3a1368[_0x13a402(0xce)]};const _0x39f596=await _0x3a1368[_0x13a402(0xd6)]();return{'success':!![],'user':_0x39f596};}catch(_0x21ce27){return{'success':![],'error':_0x21ce27 instanceof Error?_0x21ce27['message']:_0x19ef6c['NAEHt'](String,_0x21ce27)};}}
@@ -1 +1 @@
1
- (function(_0x34a3de,_0x4465c4){const _0x1d7e8e=_0x5b78,_0x5446ab=_0x34a3de();while(!![]){try{const _0x1260a3=parseInt(_0x1d7e8e(0x162))/0x1+parseInt(_0x1d7e8e(0x16b))/0x2+-parseInt(_0x1d7e8e(0x168))/0x3*(parseInt(_0x1d7e8e(0x172))/0x4)+parseInt(_0x1d7e8e(0x165))/0x5+parseInt(_0x1d7e8e(0x164))/0x6*(parseInt(_0x1d7e8e(0x163))/0x7)+-parseInt(_0x1d7e8e(0x166))/0x8+parseInt(_0x1d7e8e(0x169))/0x9;if(_0x1260a3===_0x4465c4)break;else _0x5446ab['push'](_0x5446ab['shift']());}catch(_0x2dc74c){_0x5446ab['push'](_0x5446ab['shift']());}}}(_0x22a2,0xdd5d6));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';function _0x5b78(_0x9e883,_0xdb6e99){_0x9e883=_0x9e883-0x161;const _0x22a25b=_0x22a2();let _0x5b7865=_0x22a25b[_0x9e883];return _0x5b7865;}import{dirname,join}from'path';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function _0x22a2(){const _0xe2b07b=['8YjjUTk','bzboP','iWdPL','WWcuA','318796OqYEeD','7aRYyfX','4657242FlBTcf','2654630KWJVet','14340096ijYKCn','trim','2048241FSWyGL','7213581qeqvmX','package.json','3274556LANBhA','MlMoh','map','GTHdr','split','unknown','\x20version\x202>/dev/null'];_0x22a2=function(){return _0xe2b07b;};return _0x22a2();}export const PACKAGE_NAME='@ranger-testing/ranger-cli';export function getCurrentVersion(){const _0x3fa767=_0x5b78,_0x27c9e2={'CbNel':function(_0x58cf13,_0x49d191,_0xd17e6,_0x45e908,_0x5e47ec){return _0x58cf13(_0x49d191,_0xd17e6,_0x45e908,_0x5e47ec);},'pijZK':_0x3fa767(0x16a),'WWcuA':function(_0x1b6646,_0x563e4f){return _0x1b6646(_0x563e4f);},'bcNVw':function(_0x58eb05,_0x6524d7,_0x509347){return _0x58eb05(_0x6524d7,_0x509347);},'iWdPL':'utf-8','bzboP':_0x3fa767(0x170)},_0xb2c70f=[_0x27c9e2['CbNel'](join,__dirname,'..','..',_0x27c9e2['pijZK']),join(__dirname,'..','..','..','package.json')];for(const _0x16192b of _0xb2c70f){if(_0x27c9e2[_0x3fa767(0x161)](existsSync,_0x16192b))try{const _0x5e7de7=JSON['parse'](_0x27c9e2['bcNVw'](readFileSync,_0x16192b,_0x27c9e2[_0x3fa767(0x174)]));return _0x5e7de7['version']||_0x3fa767(0x170);}catch{continue;}}return _0x27c9e2[_0x3fa767(0x173)];}export function getLatestVersion(){const _0x30b4cb=_0x5b78,_0x5a5d6b={'EEbrb':function(_0x3f886a,_0x4a411a,_0x531d03){return _0x3f886a(_0x4a411a,_0x531d03);},'MlMoh':'utf-8'};try{const _0x4ef11a=_0x5a5d6b['EEbrb'](execSync,'npm\x20view\x20'+PACKAGE_NAME+_0x30b4cb(0x171),{'encoding':_0x5a5d6b[_0x30b4cb(0x16c)],'timeout':0x1388});return _0x4ef11a[_0x30b4cb(0x167)]();}catch{return null;}}export function compareVersions(_0x479c63,_0x425572){const _0x214ff1=_0x5b78,_0x46f9a0={'GTHdr':function(_0x1305f1,_0xdabf86){return _0x1305f1>_0xdabf86;}},_0x37c6cf=_0x479c63[_0x214ff1(0x16f)]('.')['map'](Number),_0x75a8f3=_0x425572[_0x214ff1(0x16f)]('.')[_0x214ff1(0x16d)](Number);for(let _0x3d2384=0x0;_0x3d2384<0x3;_0x3d2384++){const _0x440f5e=_0x37c6cf[_0x3d2384]||0x0,_0x39ad0d=_0x75a8f3[_0x3d2384]||0x0;if(_0x46f9a0[_0x214ff1(0x16e)](_0x39ad0d,_0x440f5e))return 0x1;if(_0x39ad0d<_0x440f5e)return-0x1;}return 0x0;}
1
+ (function(_0x49c0d2,_0x1e935a){const _0x1cd30f=_0x2349,_0x53c36a=_0x49c0d2();while(!![]){try{const _0x2f021f=-parseInt(_0x1cd30f(0xf1))/0x1+-parseInt(_0x1cd30f(0xe9))/0x2+-parseInt(_0x1cd30f(0xf0))/0x3*(parseInt(_0x1cd30f(0xe5))/0x4)+-parseInt(_0x1cd30f(0xe8))/0x5*(-parseInt(_0x1cd30f(0xeb))/0x6)+-parseInt(_0x1cd30f(0xf2))/0x7+parseInt(_0x1cd30f(0xee))/0x8+-parseInt(_0x1cd30f(0xf8))/0x9*(-parseInt(_0x1cd30f(0xe7))/0xa);if(_0x2f021f===_0x1e935a)break;else _0x53c36a['push'](_0x53c36a['shift']());}catch(_0x3449d8){_0x53c36a['push'](_0x53c36a['shift']());}}}(_0x2475,0x55823));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME='@ranger-testing/ranger-cli';function _0x2475(){const _0x227846=['nXwKY','3063720AjAAHD','package.json','1907877kZLCny','381360mziPqU','2414433jQoQQm','parse','RYKWO','split','version','unknown','106731ttYubN','4RGZLpT','txLmE','1410bpZFZo','5005WRuudX','689210cYwxMm','map','12pLUQGS','slSlo'];_0x2475=function(){return _0x227846;};return _0x2475();}function _0x2349(_0x57905f,_0x4f7464){_0x57905f=_0x57905f-0xe5;const _0x247523=_0x2475();let _0x234980=_0x247523[_0x57905f];return _0x234980;}export function getCurrentVersion(){const _0x4deff0=_0x2349,_0x15e3cb={'nXwKY':function(_0x846b00,_0x28f988,_0x2c611f,_0x1a4a5c,_0x1f7fcc){return _0x846b00(_0x28f988,_0x2c611f,_0x1a4a5c,_0x1f7fcc);},'slSlo':'package.json','NcRXV':function(_0x353104,_0x70cc7b,_0x245af4){return _0x353104(_0x70cc7b,_0x245af4);},'utrPv':'utf-8','XAfxb':_0x4deff0(0xf7)},_0x43b43e=[_0x15e3cb[_0x4deff0(0xed)](join,__dirname,'..','..',_0x15e3cb[_0x4deff0(0xec)]),join(__dirname,'..','..','..',_0x4deff0(0xef))];for(const _0xad931f of _0x43b43e){if(existsSync(_0xad931f))try{const _0x5df989=JSON[_0x4deff0(0xf3)](_0x15e3cb['NcRXV'](readFileSync,_0xad931f,_0x15e3cb['utrPv']));return _0x5df989[_0x4deff0(0xf6)]||_0x4deff0(0xf7);}catch{continue;}}return _0x15e3cb['XAfxb'];}export function getLatestVersion(){const _0x161962=_0x2349,_0x10ce2b={'RYKWO':function(_0x11cd78,_0x5a228f,_0x2cff68){return _0x11cd78(_0x5a228f,_0x2cff68);},'GUSuV':'utf-8'};try{const _0x304a7b=_0x10ce2b[_0x161962(0xf4)](execSync,'npm\x20view\x20'+PACKAGE_NAME+'\x20version\x202>/dev/null',{'encoding':_0x10ce2b['GUSuV'],'timeout':0x1388});return _0x304a7b['trim']();}catch{return null;}}export function compareVersions(_0x4be58c,_0x25a084){const _0x23f84e=_0x2349,_0x492a7d={'txLmE':function(_0x4768d,_0x1dd320){return _0x4768d<_0x1dd320;}},_0x5898f4=_0x4be58c['split']('.')['map'](Number),_0xad3815=_0x25a084[_0x23f84e(0xf5)]('.')[_0x23f84e(0xea)](Number);for(let _0x91ce5e=0x0;_0x492a7d[_0x23f84e(0xe6)](_0x91ce5e,0x3);_0x91ce5e++){const _0x17fe16=_0x5898f4[_0x91ce5e]||0x0,_0x3cfab9=_0xad3815[_0x91ce5e]||0x0;if(_0x3cfab9>_0x17fe16)return 0x1;if(_0x492a7d[_0x23f84e(0xe6)](_0x3cfab9,_0x17fe16))return-0x1;}return 0x0;}