@ranger-testing/ranger-cli 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/traceSnapshotMapper.js +1 -0
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/package.json +2 -1
@@ -1 +1 @@
1
- (function(_0x50da4b,_0x34acfc){const _0xf849ca=_0x44c3,_0x3bf0fe=_0x50da4b();while(!![]){try{const _0x2d8ff5=parseInt(_0xf849ca(0x1d1))/0x1+parseInt(_0xf849ca(0x1d5))/0x2+parseInt(_0xf849ca(0x1ee))/0x3*(parseInt(_0xf849ca(0x1c1))/0x4)+-parseInt(_0xf849ca(0x1c6))/0x5*(parseInt(_0xf849ca(0x1da))/0x6)+-parseInt(_0xf849ca(0x1a6))/0x7*(parseInt(_0xf849ca(0x1de))/0x8)+-parseInt(_0xf849ca(0x1cd))/0x9*(parseInt(_0xf849ca(0x1d4))/0xa)+parseInt(_0xf849ca(0x1aa))/0xb;if(_0x2d8ff5===_0x34acfc)break;else _0x3bf0fe['push'](_0x3bf0fe['shift']());}catch(_0xd2093f){_0x3bf0fe['push'](_0x3bf0fe['shift']());}}}(_0xdd93,0x7ed0d));function _0x44c3(_0x2bb757,_0x36f6ec){_0x2bb757=_0x2bb757-0x1a6;const _0xdd932d=_0xdd93();let _0x44c38e=_0xdd932d[_0x2bb757];return _0x44c38e;}export function buildTraceViewerUrl(_0x447e86){const _0xc4429b=encodeURIComponent(_0x447e86);return'https://trace.playwright.dev/?trace='+_0xc4429b;}function getStatusEmoji(_0x161f02){const _0xb79707=_0x44c3,_0x2aac88={'QPudy':'completed','swqsp':_0xb79707(0x1b7),'SiNgD':_0xb79707(0x1f4),'rxTCf':'closed'};switch(_0x161f02){case _0xb79707(0x1b2):case _0x2aac88[_0xb79707(0x1b3)]:return'✅';case _0xb79707(0x1db):case _0x2aac88['swqsp']:return'🔄';case _0xb79707(0x1b9):return'🟠';case _0x2aac88['SiNgD']:return'🛑';case _0x2aac88['rxTCf']:return'⛔';default:return'❓';}}function _0xdd93(){const _0x7433fc=['-\x20**','ready','verified','QPudy','xceCv','**Branch:**\x20','gBYoO','in_progress','**:\x20','incomplete','gitRepoUrl',':\x20Ready','tKYzO','zCPuH','wrVev','...','-\x20**Session:**\x20','8lfDZAP','Session\x20',':\x20Awaiting\x20Review','Completed','find','10830eEHXJK','RRsvL','description','-\x20**Blocked:**\x20','JQgev','##\x20Blocking\x20Issues','length','45oKLwHf','-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work','canceledReason','N/A','124516FtjOhp','-\x20**Closed:**\x20','closedAt','2063810cjNMko','1307854fNxRZw','completedAt','**Created:**\x20','zbmLb','en-US','2202bbeHGS','pending','floor','blockedAt','72kzYMLi','currentSession','None','ZFGCF','RetZs','\x20|\x20','ywxpr','pwiBw','No\x20Session','verifiedAt','position','checklistItemId','numeric','deDdu','iteration','browserSessionId','579399zKgmej','cybJb','YhbFx','sSpXZ','agentResponse','No\x20reason\x20provided','blocked','short','560280SFJyao','status','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','gitBranch','20921065QpPtvs','###\x20','closed','blockedReason','push','-\x20**Summary:**\x20'];_0xdd93=function(){return _0x7433fc;};return _0xdd93();}function formatDuration(_0x2f23f7){const _0x3d042f=_0x44c3,_0x155e0f={'zbmLb':function(_0x395e5d,_0x2d55ba){return _0x395e5d===_0x2d55ba;},'fKnzP':_0x3d042f(0x1d0),'cMSmi':function(_0x1fc71a,_0x24405d){return _0x1fc71a<_0x24405d;},'JQgev':function(_0x3ba596,_0x4b4178){return _0x3ba596/_0x4b4178;},'zCPuH':function(_0xdcc90b,_0x5e4ec7){return _0xdcc90b%_0x5e4ec7;}};if(_0x155e0f[_0x3d042f(0x1d8)](_0x2f23f7,null)||_0x2f23f7===undefined)return _0x155e0f['fKnzP'];if(_0x155e0f['cMSmi'](_0x2f23f7,0x3e8))return _0x2f23f7+'ms';const _0x59e728=Math[_0x3d042f(0x1dc)](_0x155e0f[_0x3d042f(0x1ca)](_0x2f23f7,0x3e8));if(_0x59e728<0x3c)return _0x59e728+'s';const _0x104d71=Math['floor'](_0x155e0f['JQgev'](_0x59e728,0x3c)),_0x471a29=_0x155e0f[_0x3d042f(0x1bd)](_0x59e728,0x3c);return _0x104d71+'m\x20'+_0x471a29+'s';}function formatDate(_0x13fd63){const _0x13edfe=_0x44c3,_0x50747d={'OhTGL':'N/A','wrVev':_0x13edfe(0x1ea)};if(!_0x13fd63)return _0x50747d['OhTGL'];return new Date(_0x13fd63)['toLocaleDateString'](_0x13edfe(0x1d9),{'year':_0x50747d[_0x13edfe(0x1be)],'month':_0x13edfe(0x1f5),'day':_0x50747d[_0x13edfe(0x1be)]});}export function generateFeatureReport(_0x316107){const _0x541d1e=_0x44c3,_0x2ca18a={'xffvu':_0x541d1e(0x1c4),'gBYoO':'completed','hOqqP':_0x541d1e(0x1e6),'RetZs':function(_0x4af913,_0x8d9328){return _0x4af913(_0x8d9328);},'SyzQT':'##\x20Description','YhbFx':function(_0x41f226,_0x3ba5b7){return _0x41f226===_0x3ba5b7;},'zBGDb':'verified','RRsvL':'blocked','ZFGCF':function(_0x192607,_0x486dfa){return _0x192607(_0x486dfa);},'BCmjo':function(_0x494040,_0xa77bc8){return _0x494040===_0xa77bc8;},'cybJb':_0x541d1e(0x1ac),'tKYzO':function(_0x5391cb,_0x57a422){return _0x5391cb(_0x57a422);},'deDdu':_0x541d1e(0x1cb),'StnlM':_0x541d1e(0x1f3),'KtRCw':_0x541d1e(0x1e0),'pwiBw':function(_0x259c0e,_0x33789e){return _0x259c0e>_0x33789e;},'xceCv':_0x541d1e(0x1a8),'ywxpr':'|---------|----------|--------|----------|------|','qKWbo':_0x541d1e(0x1bf),'sSpXZ':'N/A','ysXfo':'failed'},{feature:_0x2be6b2,stats:_0x2c62b1,checklistItems:_0x1252cc,sessions:_0x533793}=_0x316107,_0x3e0d05=[];_0x3e0d05['push']('#\x20Feature\x20Review\x20Report:\x20'+_0x2be6b2['name']),_0x3e0d05[_0x541d1e(0x1ae)]('');let _0x249f41,_0x475906;if(_0x2be6b2[_0x541d1e(0x1d6)])_0x249f41=_0x2ca18a['xffvu'],_0x475906='✅';else{if(_0x2be6b2['currentSession']){const _0x1ca4d9=_0x2be6b2[_0x541d1e(0x1df)][_0x541d1e(0x1a7)];switch(_0x1ca4d9){case _0x541d1e(0x1b1):_0x249f41='Session\x20'+_0x2be6b2['currentSession']['iteration']+_0x541d1e(0x1bb),_0x475906='▶️';break;case _0x541d1e(0x1b7):_0x249f41=_0x541d1e(0x1c2)+_0x2be6b2['currentSession'][_0x541d1e(0x1ec)]+':\x20In\x20Progress',_0x475906='🔄';break;case _0x2ca18a[_0x541d1e(0x1b6)]:_0x249f41=_0x541d1e(0x1c2)+_0x2be6b2['currentSession']['iteration']+_0x541d1e(0x1c3),_0x475906='📊';break;default:_0x249f41='Unknown',_0x475906='❓';}}else _0x249f41=_0x2ca18a['hOqqP'],_0x475906='⬜';}_0x3e0d05['push']('**Status:**\x20'+_0x475906+'\x20'+_0x249f41),_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1d7)+_0x2ca18a[_0x541d1e(0x1e2)](formatDate,_0x2be6b2['createdAt']));_0x2be6b2['completedAt']&&_0x3e0d05[_0x541d1e(0x1ae)]('**Completed:**\x20'+_0x2ca18a[_0x541d1e(0x1e2)](formatDate,_0x2be6b2[_0x541d1e(0x1d6)]));_0x2be6b2['gitRepoUrl']&&_0x3e0d05['push']('**Repository:**\x20'+_0x2be6b2[_0x541d1e(0x1ba)]);_0x2be6b2[_0x541d1e(0x1a9)]&&_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1b5)+_0x2be6b2['gitBranch']);_0x3e0d05['push']('');_0x2be6b2['description']&&(_0x3e0d05['push'](_0x2ca18a['SyzQT']),_0x3e0d05['push'](''),_0x3e0d05[_0x541d1e(0x1ae)](_0x2be6b2['description']),_0x3e0d05[_0x541d1e(0x1ae)](''));const _0xbc4ab9=_0x1252cc['filter'](_0x4dbfeb=>_0x4dbfeb[_0x541d1e(0x1a7)]!=='closed'),_0x4a3e65=_0x1252cc['filter'](_0xd3d3c0=>_0xd3d3c0['status']===_0x541d1e(0x1b2))[_0x541d1e(0x1cc)];_0x3e0d05['push']('##\x20Scenario\x20Progress\x20('+_0x4a3e65+'/'+_0xbc4ab9['length']+'\x20verified)'),_0x3e0d05['push']('');const _0x339bdf=[..._0x1252cc]['sort']((_0x2b53ef,_0x3a5a13)=>_0x2b53ef[_0x541d1e(0x1e8)]-_0x3a5a13['position']);for(const _0x12849e of _0x339bdf){const _0x1d3fa2=getStatusEmoji(_0x12849e['status']),_0x438c22=_0x2ca18a[_0x541d1e(0x1f0)](_0x12849e['status'],_0x541d1e(0x1ac)),_0x55beb3=_0x438c22?'~~':'',_0x57ff25=_0x438c22?'~~':'';_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1ab)+_0x1d3fa2+'\x20'+_0x55beb3+_0x12849e[_0x541d1e(0x1c8)]+_0x57ff25),_0x3e0d05[_0x541d1e(0x1ae)]('');_0x12849e[_0x541d1e(0x1a7)]===_0x2ca18a['zBGDb']&&_0x12849e[_0x541d1e(0x1e7)]&&_0x3e0d05['push']('-\x20**Verified:**\x20'+formatDate(_0x12849e[_0x541d1e(0x1e7)]));_0x12849e[_0x541d1e(0x1a7)]===_0x2ca18a[_0x541d1e(0x1c7)]&&_0x12849e[_0x541d1e(0x1dd)]&&(_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1c9)+_0x2ca18a[_0x541d1e(0x1e1)](formatDate,_0x12849e[_0x541d1e(0x1dd)])),_0x12849e[_0x541d1e(0x1ad)]&&_0x3e0d05[_0x541d1e(0x1ae)]('-\x20**Reason:**\x20'+_0x12849e['blockedReason']));_0x2ca18a['BCmjo'](_0x12849e['status'],_0x2ca18a[_0x541d1e(0x1ef)])&&_0x12849e['closedAt']&&(_0x3e0d05['push'](_0x541d1e(0x1d2)+_0x2ca18a[_0x541d1e(0x1bc)](formatDate,_0x12849e[_0x541d1e(0x1d3)])),_0x12849e[_0x541d1e(0x1cf)]&&_0x3e0d05['push']('-\x20**Reason:**\x20'+_0x12849e[_0x541d1e(0x1cf)]));_0x12849e[_0x541d1e(0x1a7)]===_0x541d1e(0x1b9)&&_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1ce));if(_0x12849e['browserSessionId']){_0x3e0d05['push'](_0x541d1e(0x1c0)+_0x12849e[_0x541d1e(0x1ed)]);const _0x7c0032=_0x533793[_0x541d1e(0x1c5)](_0x3368c4=>_0x3368c4['id']===_0x12849e[_0x541d1e(0x1ed)]);_0x7c0032&&(_0x7c0032[_0x541d1e(0x1f2)]&&_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1af)+_0x7c0032[_0x541d1e(0x1f2)]),_0x7c0032['traceUrl']&&_0x3e0d05['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x2ca18a[_0x541d1e(0x1e1)](buildTraceViewerUrl,_0x7c0032['traceUrl'])+')'));}_0x3e0d05[_0x541d1e(0x1ae)]('');}const _0x1134a9=_0x1252cc['filter'](_0x77b6bf=>_0x77b6bf['status']===_0x541d1e(0x1f4));if(_0x1134a9[_0x541d1e(0x1cc)]>0x0){_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a[_0x541d1e(0x1eb)]),_0x3e0d05['push']('');for(const _0x4c4ccf of _0x1134a9){_0x3e0d05['push'](_0x541d1e(0x1b0)+_0x4c4ccf['description']+_0x541d1e(0x1b8)+(_0x4c4ccf['blockedReason']||_0x2ca18a['StnlM']));}_0x3e0d05[_0x541d1e(0x1ae)]('');}else _0x3e0d05['push'](_0x2ca18a['deDdu']),_0x3e0d05[_0x541d1e(0x1ae)](''),_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a['KtRCw']),_0x3e0d05['push']('');if(_0x2ca18a[_0x541d1e(0x1e5)](_0x533793['length'],0x0)){_0x3e0d05[_0x541d1e(0x1ae)]('##\x20All\x20Verification\x20Sessions'),_0x3e0d05['push'](''),_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a[_0x541d1e(0x1b4)]),_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a[_0x541d1e(0x1e4)]);for(const _0x198e46 of _0x533793){const _0xc64e70=_0x198e46[_0x541d1e(0x1e9)]?_0x1252cc[_0x541d1e(0x1c5)](_0x57dee8=>_0x57dee8['id']===_0x198e46['checklistItemId']):null,_0x1a9fc7=_0xc64e70?_0xc64e70[_0x541d1e(0x1c8)]['substring'](0x0,0x1e)+(_0xc64e70['description'][_0x541d1e(0x1cc)]>0x1e?_0x2ca18a['qKWbo']:''):_0x2ca18a[_0x541d1e(0x1f1)],_0x2715d9=_0x198e46[_0x541d1e(0x1a7)]==='completed'?'✅':_0x198e46[_0x541d1e(0x1a7)]===_0x2ca18a['ysXfo']?'❌':'🔄';_0x3e0d05['push']('|\x20'+_0x198e46['id']+_0x541d1e(0x1e3)+_0x1a9fc7+_0x541d1e(0x1e3)+_0x2715d9+'\x20'+_0x198e46['status']+_0x541d1e(0x1e3)+formatDuration(_0x198e46['durationMs'])+_0x541d1e(0x1e3)+formatDate(_0x198e46['createdAt'])+'\x20|');}_0x3e0d05[_0x541d1e(0x1ae)]('');}return _0x3e0d05['join']('\x0a');}
1
+ (function(_0x5aee30,_0x373af1){const _0x87be6f=_0x3280,_0x2e05d2=_0x5aee30();while(!![]){try{const _0x243915=parseInt(_0x87be6f(0x13b))/0x1*(-parseInt(_0x87be6f(0x13f))/0x2)+-parseInt(_0x87be6f(0x13d))/0x3+-parseInt(_0x87be6f(0x16f))/0x4+parseInt(_0x87be6f(0x162))/0x5+parseInt(_0x87be6f(0x14a))/0x6+parseInt(_0x87be6f(0x16e))/0x7+parseInt(_0x87be6f(0x13a))/0x8*(parseInt(_0x87be6f(0x156))/0x9);if(_0x243915===_0x373af1)break;else _0x2e05d2['push'](_0x2e05d2['shift']());}catch(_0x63496b){_0x2e05d2['push'](_0x2e05d2['shift']());}}}(_0x24b9,0x76c51));export function buildTraceViewerUrl(_0x706461){const _0x1ebe99=_0x3280,_0x1959d2={'iDklp':function(_0x23561e,_0x515323){return _0x23561e(_0x515323);}},_0x12cd6c=_0x1959d2['iDklp'](encodeURIComponent,_0x706461);return _0x1ebe99(0x142)+_0x12cd6c;}function getStatusEmoji(_0x40b94d){const _0x42754a=_0x3280,_0x3b7618={'xKwrD':_0x42754a(0x130),'wCUbT':_0x42754a(0x15a),'kmSJc':'incomplete','lKDgE':_0x42754a(0x167)};switch(_0x40b94d){case _0x3b7618['xKwrD']:case'completed':return'✅';case _0x3b7618[_0x42754a(0x131)]:case _0x42754a(0x170):return'🔄';case _0x3b7618[_0x42754a(0x154)]:return'🟠';case _0x3b7618[_0x42754a(0x141)]:return'🛑';case _0x42754a(0x135):return'⛔';default:return'❓';}}function _0x3280(_0x29f6a1,_0x34d7e9){_0x29f6a1=_0x29f6a1-0x12b;const _0x24b9e4=_0x24b9();let _0x3280fd=_0x24b9e4[_0x29f6a1];return _0x3280fd;}function formatDuration(_0x4dbdb8){const _0x2bfb0a=_0x3280,_0x10b1fd={'BKBpG':function(_0x370df8,_0x2a2781){return _0x370df8===_0x2a2781;},'bzMfF':function(_0x59920f,_0x202d1d){return _0x59920f<_0x202d1d;},'lArDI':function(_0x33ca64,_0x479555){return _0x33ca64%_0x479555;}};if(_0x10b1fd['BKBpG'](_0x4dbdb8,null)||_0x10b1fd[_0x2bfb0a(0x16b)](_0x4dbdb8,undefined))return _0x2bfb0a(0x134);if(_0x10b1fd[_0x2bfb0a(0x173)](_0x4dbdb8,0x3e8))return _0x4dbdb8+'ms';const _0x2c91e0=Math['floor'](_0x4dbdb8/0x3e8);if(_0x2c91e0<0x3c)return _0x2c91e0+'s';const _0xfc7a66=Math[_0x2bfb0a(0x15c)](_0x2c91e0/0x3c),_0x2bbaae=_0x10b1fd['lArDI'](_0x2c91e0,0x3c);return _0xfc7a66+'m\x20'+_0x2bbaae+'s';}function _0x24b9(){const _0x152c2b=['kmSJc',':\x20In\x20Progress','7731981eBRbAM','RiBVH','QgHXw','###\x20','pending','checklistItemId','floor',':\x20Ready','iteration','filter','blockedReason','...','968510ZHxodC','closedAt','None','**Branch:**\x20','xuaXu','blocked','\x20verified)','currentSession','#\x20Feature\x20Review\x20Report:\x20','BKBpG','push','browserSessionId','6413820RiAaMG','3641172VUAUzo','in_progress','blockedAt','find','bzMfF','aJURN','EtqbE','OjArM','incomplete','short','status','numeric','sort','verified','wCUbT','createdAt','Completed','N/A','closed','JIoKS','length','kPMCk','description','8CRepLs','1AOVCUJ','##\x20Blocking\x20Issues','935442indNuk','completedAt','1487440HEYfZG','uYNkW','lKDgE','https://trace.playwright.dev/?trace=','gitBranch','aFVmh','position','canceledReason','Ygzpv','\x20|\x20','-\x20**Trace:**\x20[View\x20in\x20Playwright](','2899422QsWjNk','-\x20**Blocked:**\x20','##\x20Scenario\x20Progress\x20(','**Completed:**\x20','RKFep','-\x20**Reason:**\x20','traceUrl','**:\x20','verifiedAt','**Repository:**\x20'];_0x24b9=function(){return _0x152c2b;};return _0x24b9();}function formatDate(_0x3b2954){const _0x482233=_0x3280,_0x37c277={'EtqbE':_0x482233(0x134),'aFVmh':_0x482233(0x12e)};if(!_0x3b2954)return _0x37c277[_0x482233(0x175)];return new Date(_0x3b2954)['toLocaleDateString']('en-US',{'year':_0x37c277['aFVmh'],'month':_0x482233(0x12c),'day':_0x37c277[_0x482233(0x144)]});}export function generateFeatureReport(_0x47d34e){const _0x750b43=_0x3280,_0x4e2424={'OZkxW':'ready','RKFep':'completed','RiBVH':'Unknown','OjArM':'No\x20Session','aJURN':function(_0x435d9d,_0x34ae95){return _0x435d9d(_0x34ae95);},'QgHXw':'##\x20Description','JIoKS':'closed','xuaXu':_0x750b43(0x12b),'cKulk':'##\x20Blocking\x20Issues','MAFej':'|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','Ygzpv':'|---------|----------|--------|----------|------|','Xkklt':function(_0x350cd6,_0x3d8994){return _0x350cd6+_0x3d8994;},'uYNkW':_0x750b43(0x161),'BYbEC':'N/A','YfSKh':function(_0x4b50bb,_0x3fad34){return _0x4b50bb===_0x3fad34;},'kPMCk':function(_0x40c91b,_0x3a5486){return _0x40c91b===_0x3a5486;}},{feature:_0x109ca1,stats:_0x5c0e6a,checklistItems:_0x23f3f0,sessions:_0x30fb43}=_0x47d34e,_0x1929b3=[];_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x16a)+_0x109ca1['name']),_0x1929b3[_0x750b43(0x16c)]('');let _0x1c0d16,_0x4f8beb;if(_0x109ca1[_0x750b43(0x13e)])_0x1c0d16=_0x750b43(0x133),_0x4f8beb='✅';else{if(_0x109ca1[_0x750b43(0x169)]){const _0x51bab3=_0x109ca1['currentSession']['status'];switch(_0x51bab3){case _0x4e2424['OZkxW']:_0x1c0d16='Session\x20'+_0x109ca1['currentSession']['iteration']+_0x750b43(0x15d),_0x4f8beb='▶️';break;case'in_progress':_0x1c0d16='Session\x20'+_0x109ca1[_0x750b43(0x169)][_0x750b43(0x15e)]+_0x750b43(0x155),_0x4f8beb='🔄';break;case _0x4e2424[_0x750b43(0x14e)]:_0x1c0d16='Session\x20'+_0x109ca1['currentSession'][_0x750b43(0x15e)]+':\x20Awaiting\x20Review',_0x4f8beb='📊';break;default:_0x1c0d16=_0x4e2424[_0x750b43(0x157)],_0x4f8beb='❓';}}else _0x1c0d16=_0x4e2424[_0x750b43(0x176)],_0x4f8beb='⬜';}_0x1929b3[_0x750b43(0x16c)]('**Status:**\x20'+_0x4f8beb+'\x20'+_0x1c0d16),_0x1929b3[_0x750b43(0x16c)]('**Created:**\x20'+_0x4e2424['aJURN'](formatDate,_0x109ca1[_0x750b43(0x132)]));_0x109ca1[_0x750b43(0x13e)]&&_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x14d)+formatDate(_0x109ca1['completedAt']));_0x109ca1['gitRepoUrl']&&_0x1929b3['push'](_0x750b43(0x153)+_0x109ca1['gitRepoUrl']);_0x109ca1[_0x750b43(0x143)]&&_0x1929b3['push'](_0x750b43(0x165)+_0x109ca1[_0x750b43(0x143)]);_0x1929b3['push']('');_0x109ca1[_0x750b43(0x139)]&&(_0x1929b3[_0x750b43(0x16c)](_0x4e2424[_0x750b43(0x158)]),_0x1929b3['push'](''),_0x1929b3['push'](_0x109ca1['description']),_0x1929b3['push'](''));const _0x4bd52b=_0x23f3f0['filter'](_0x272234=>_0x272234[_0x750b43(0x12d)]!==_0x750b43(0x135)),_0x24d950=_0x23f3f0[_0x750b43(0x15f)](_0x2777c5=>_0x2777c5['status']===_0x750b43(0x130))['length'];_0x1929b3['push'](_0x750b43(0x14c)+_0x24d950+'/'+_0x4bd52b[_0x750b43(0x137)]+_0x750b43(0x168)),_0x1929b3[_0x750b43(0x16c)]('');const _0x2b24a6=[..._0x23f3f0][_0x750b43(0x12f)]((_0x5f0eda,_0x18a5df)=>_0x5f0eda[_0x750b43(0x145)]-_0x18a5df[_0x750b43(0x145)]);for(const _0x52fc60 of _0x2b24a6){const _0x5db9a4=getStatusEmoji(_0x52fc60[_0x750b43(0x12d)]),_0x1e8cd2=_0x52fc60['status']===_0x750b43(0x135),_0x3e5983=_0x1e8cd2?'~~':'',_0x33e560=_0x1e8cd2?'~~':'';_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x159)+_0x5db9a4+'\x20'+_0x3e5983+_0x52fc60['description']+_0x33e560),_0x1929b3['push']('');_0x52fc60[_0x750b43(0x12d)]===_0x750b43(0x130)&&_0x52fc60['verifiedAt']&&_0x1929b3['push']('-\x20**Verified:**\x20'+formatDate(_0x52fc60[_0x750b43(0x152)]));_0x52fc60['status']===_0x750b43(0x167)&&_0x52fc60[_0x750b43(0x171)]&&(_0x1929b3['push'](_0x750b43(0x14b)+_0x4e2424[_0x750b43(0x174)](formatDate,_0x52fc60['blockedAt'])),_0x52fc60[_0x750b43(0x160)]&&_0x1929b3['push'](_0x750b43(0x14f)+_0x52fc60[_0x750b43(0x160)]));_0x52fc60[_0x750b43(0x12d)]===_0x4e2424[_0x750b43(0x136)]&&_0x52fc60[_0x750b43(0x163)]&&(_0x1929b3['push']('-\x20**Closed:**\x20'+_0x4e2424[_0x750b43(0x174)](formatDate,_0x52fc60['closedAt'])),_0x52fc60['canceledReason']&&_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x14f)+_0x52fc60[_0x750b43(0x146)]));_0x52fc60['status']===_0x4e2424[_0x750b43(0x166)]&&_0x1929b3[_0x750b43(0x16c)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x52fc60[_0x750b43(0x16d)]){_0x1929b3['push']('-\x20**Session:**\x20'+_0x52fc60['browserSessionId']);const _0xbf2af2=_0x30fb43['find'](_0x331c80=>_0x331c80['id']===_0x52fc60['browserSessionId']);_0xbf2af2&&(_0xbf2af2['agentResponse']&&_0x1929b3[_0x750b43(0x16c)]('-\x20**Summary:**\x20'+_0xbf2af2['agentResponse']),_0xbf2af2[_0x750b43(0x150)]&&_0x1929b3['push'](_0x750b43(0x149)+_0x4e2424['aJURN'](buildTraceViewerUrl,_0xbf2af2['traceUrl'])+')'));}_0x1929b3['push']('');}const _0x469f5f=_0x23f3f0[_0x750b43(0x15f)](_0x286a35=>_0x286a35[_0x750b43(0x12d)]==='blocked');if(_0x469f5f['length']>0x0){_0x1929b3['push'](_0x4e2424['cKulk']),_0x1929b3['push']('');for(const _0x1d716d of _0x469f5f){_0x1929b3['push']('-\x20**'+_0x1d716d['description']+_0x750b43(0x151)+(_0x1d716d[_0x750b43(0x160)]||'No\x20reason\x20provided'));}_0x1929b3[_0x750b43(0x16c)]('');}else _0x1929b3['push'](_0x750b43(0x13c)),_0x1929b3['push'](''),_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x164)),_0x1929b3[_0x750b43(0x16c)]('');if(_0x30fb43[_0x750b43(0x137)]>0x0){_0x1929b3[_0x750b43(0x16c)]('##\x20All\x20Verification\x20Sessions'),_0x1929b3['push'](''),_0x1929b3[_0x750b43(0x16c)](_0x4e2424['MAFej']),_0x1929b3[_0x750b43(0x16c)](_0x4e2424[_0x750b43(0x147)]);for(const _0x1f5c51 of _0x30fb43){const _0x1919e7=_0x1f5c51['checklistItemId']?_0x23f3f0[_0x750b43(0x172)](_0x3b56c6=>_0x3b56c6['id']===_0x1f5c51[_0x750b43(0x15b)]):null,_0x288033=_0x1919e7?_0x4e2424['Xkklt'](_0x1919e7['description']['substring'](0x0,0x1e),_0x1919e7[_0x750b43(0x139)]['length']>0x1e?_0x4e2424[_0x750b43(0x140)]:''):_0x4e2424['BYbEC'],_0x41d9a1=_0x4e2424['YfSKh'](_0x1f5c51[_0x750b43(0x12d)],_0x4e2424['RKFep'])?'✅':_0x4e2424[_0x750b43(0x138)](_0x1f5c51[_0x750b43(0x12d)],'failed')?'❌':'🔄';_0x1929b3[_0x750b43(0x16c)]('|\x20'+_0x1f5c51['id']+'\x20|\x20'+_0x288033+'\x20|\x20'+_0x41d9a1+'\x20'+_0x1f5c51['status']+_0x750b43(0x148)+formatDuration(_0x1f5c51['durationMs'])+'\x20|\x20'+_0x4e2424['aJURN'](formatDate,_0x1f5c51['createdAt'])+'\x20|');}_0x1929b3[_0x750b43(0x16c)]('');}return _0x1929b3['join']('\x0a');}
@@ -1 +1 @@
1
- const _0x44b5c2=_0x2042;(function(_0x379e78,_0x45cd73){const _0x2c9806=_0x2042,_0x5d045e=_0x379e78();while(!![]){try{const _0x4f27f1=-parseInt(_0x2c9806(0xf6))/0x1*(-parseInt(_0x2c9806(0x104))/0x2)+parseInt(_0x2c9806(0x112))/0x3*(parseInt(_0x2c9806(0xee))/0x4)+parseInt(_0x2c9806(0xf4))/0x5*(-parseInt(_0x2c9806(0xf3))/0x6)+-parseInt(_0x2c9806(0x10a))/0x7+-parseInt(_0x2c9806(0xe5))/0x8+-parseInt(_0x2c9806(0xf9))/0x9+parseInt(_0x2c9806(0x107))/0xa*(parseInt(_0x2c9806(0x113))/0xb);if(_0x4f27f1===_0x45cd73)break;else _0x5d045e['push'](_0x5d045e['shift']());}catch(_0x23ba19){_0x5d045e['push'](_0x5d045e['shift']());}}}(_0x3eaa,0xa17bb));import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x29df0a,_0xbb8f2a){const _0x5c8268=_0x2042,_0x46cf29={'VkiIh':function(_0x46e3b5,_0xe3ebe1){return _0x46e3b5>=_0xe3ebe1;},'RYrCk':function(_0x9971cb,_0x49ec9a){return _0x9971cb<=_0x49ec9a;},'FweIE':function(_0x445b10,_0x1c5e4e){return _0x445b10>_0x1c5e4e;},'HZeuY':function(_0x33b227,_0x46935d){return _0x33b227&_0x46935d;},'fvSww':function(_0x1c16a8,_0x534090){return _0x1c16a8+_0x534090;}};if(_0x46cf29['VkiIh'](_0xbb8f2a,_0x29df0a['length']))return[0x0,0x0];const _0x21fa42=_0x29df0a[_0xbb8f2a];let _0x511bfd=0x1,_0x1eaf58=0x80;while(_0x46cf29['RYrCk'](_0x511bfd,0x8)&&!(_0x21fa42&_0x1eaf58)){_0x511bfd++,_0x1eaf58>>=0x1;}if(_0x46cf29[_0x5c8268(0x10c)](_0xbb8f2a+_0x511bfd,_0x29df0a[_0x5c8268(0xe6)]))return[0x0,0x0];let _0x146fc9=_0x46cf29[_0x5c8268(0xeb)](_0x21fa42,_0x1eaf58-0x1);for(let _0x22cfc4=0x1;_0x22cfc4<_0x511bfd;_0x22cfc4++){_0x146fc9=_0x46cf29['fvSww'](_0x146fc9*0x100,_0x29df0a[_0xbb8f2a+_0x22cfc4]);}return[_0x146fc9,_0x511bfd];}function readId(_0x102940,_0x1d51b1){const _0x14f103=_0x2042,_0x356eb3={'ejpqQ':function(_0xe77b6,_0x13afff){return _0xe77b6>=_0x13afff;},'XDWww':function(_0x1c72bc,_0x3de393){return _0x1c72bc>=_0x3de393;},'pGqkK':function(_0x308bb9,_0x7cf2e5){return _0x308bb9+_0x7cf2e5;}};if(_0x1d51b1>=_0x102940['length'])return[0x0,0x0];const _0x156c3b=_0x102940[_0x1d51b1];let _0x46ff76;if(_0x356eb3['ejpqQ'](_0x156c3b,0x80))_0x46ff76=0x1;else{if(_0x156c3b>=0x40)_0x46ff76=0x2;else{if(_0x356eb3['XDWww'](_0x156c3b,0x20))_0x46ff76=0x3;else{if(_0x156c3b>=0x10)_0x46ff76=0x4;else return[_0x156c3b,0x1];}}}if(_0x356eb3[_0x14f103(0x110)](_0x1d51b1,_0x46ff76)>_0x102940['length'])return[0x0,0x0];let _0x5cfe6e=0x0;for(let _0x3c6d25=0x0;_0x3c6d25<_0x46ff76;_0x3c6d25++){_0x5cfe6e=_0x5cfe6e*0x100+_0x102940[_0x356eb3[_0x14f103(0x110)](_0x1d51b1,_0x3c6d25)];}return[_0x5cfe6e,_0x46ff76];}function readUint(_0x6020dc,_0x4d7b25,_0x571489){const _0x551b89=_0x2042,_0x4f911d={'SQvAT':function(_0x46c58c,_0x4078f8){return _0x46c58c<_0x4078f8;},'UszAT':function(_0x1de4dd,_0x2417e9){return _0x1de4dd+_0x2417e9;}};let _0x531af7=0x0;for(let _0x558767=0x0;_0x4f911d[_0x551b89(0x11e)](_0x558767,_0x571489);_0x558767++){_0x531af7=_0x4f911d[_0x551b89(0xfc)](_0x531af7*0x100,_0x6020dc[_0x4f911d['UszAT'](_0x4d7b25,_0x558767)]);}return _0x531af7;}function isUnknownSize(_0x34d762,_0x5c2491){const _0x3b874a=_0x2042,_0x1f394c={'ankHQ':function(_0x228530,_0x4fe820){return _0x228530===_0x4fe820;},'kACRD':function(_0x4693db,_0x77c5db){return _0x4693db-_0x77c5db;}};return _0x1f394c['ankHQ'](_0x34d762,_0x1f394c[_0x3b874a(0xec)](Math[_0x3b874a(0x109)](0x2,0x7*_0x5c2491),0x1));}function writeId(_0x2660f0){const _0x17995b=_0x2042,_0x4c1725={'zpFox':function(_0x4ac44b,_0x15ec78){return _0x4ac44b<=_0x15ec78;},'qFKNk':function(_0x29329d,_0x26eced){return _0x29329d>>_0x26eced;},'KecLN':function(_0x1a3ac1,_0x5620a2){return _0x1a3ac1&_0x5620a2;},'KzCMP':function(_0x24091d,_0x5e6494){return _0x24091d<=_0x5e6494;},'mSPVV':function(_0xd3ee8e,_0x3060d3){return _0xd3ee8e&_0x3060d3;}};if(_0x2660f0<=0xff)return Buffer['from']([_0x2660f0]);if(_0x4c1725[_0x17995b(0xe9)](_0x2660f0,0xffff))return Buffer[_0x17995b(0xf5)]([_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x8)&0xff,_0x4c1725[_0x17995b(0x120)](_0x2660f0,0xff)]);if(_0x4c1725['KzCMP'](_0x2660f0,0xffffff))return Buffer['from']([_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x10)&0xff,_0x4c1725[_0x17995b(0x120)](_0x2660f0>>0x8,0xff),_0x4c1725[_0x17995b(0x120)](_0x2660f0,0xff)]);return Buffer[_0x17995b(0xf5)]([_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x18)&0xff,_0x4c1725['mSPVV'](_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x10),0xff),_0x2660f0>>0x8&0xff,_0x2660f0&0xff]);}function writeVint(_0x385b99,_0x50da74){const _0x421325=_0x2042,_0x5b4090={'qJBPD':function(_0x294e7c,_0x5f58c7){return _0x294e7c<_0x5f58c7;},'Fyykt':function(_0x50e0af,_0x512458){return _0x50e0af-_0x512458;},'lQwmS':function(_0x44bb09,_0x2bc106){return _0x44bb09*_0x2bc106;},'hzYDo':function(_0x3dd8b3,_0x98ebf1){return _0x3dd8b3&_0x98ebf1;}};let _0x54c4ff=_0x50da74||0x1;while(_0x5b4090[_0x421325(0x11a)](_0x5b4090['Fyykt'](Math[_0x421325(0x109)](0x2,_0x5b4090['lQwmS'](0x7,_0x54c4ff)),0x2),_0x385b99))_0x54c4ff++;const _0x357a0b=Buffer['alloc'](_0x54c4ff);for(let _0x521886=_0x54c4ff-0x1;_0x521886>=0x0;_0x521886--){_0x357a0b[_0x521886]=_0x5b4090[_0x421325(0xf8)](_0x385b99,0xff),_0x385b99=Math[_0x421325(0xe8)](_0x385b99/0x100);}return _0x357a0b[0x0]|=0x1<<0x8-_0x54c4ff,_0x357a0b;}function writeFloat64(_0x389ee7){const _0x1171b0=_0x2042,_0x9345a7=Buffer[_0x1171b0(0x105)](0x8);return _0x9345a7['writeDoubleBE'](_0x389ee7,0x0),_0x9345a7;}function writeVoid(_0x18918c){const _0x1d0ba1=_0x2042,_0x2f4156={'BEhgh':function(_0x3f9cc1,_0x29564d){return _0x3f9cc1-_0x29564d;},'NEaHG':function(_0x6d1013,_0x1d2e24){return _0x6d1013<=_0x1d2e24;}};for(let _0x5d6375=0x1;_0x5d6375<=0x8;_0x5d6375++){const _0x4f13e7=_0x2f4156['BEhgh'](_0x18918c,0x1)-_0x5d6375;if(_0x4f13e7>=0x0&&_0x2f4156['NEaHG'](_0x4f13e7,Math[_0x1d0ba1(0x109)](0x2,0x7*_0x5d6375)-0x2))return Buffer['concat']([Buffer[_0x1d0ba1(0xf5)]([ID_VOID]),writeVint(_0x4f13e7,_0x5d6375),Buffer[_0x1d0ba1(0x105)](_0x4f13e7)]);}return Buffer[_0x1d0ba1(0x105)](0x0);}function findElement(_0x828c61,_0x46b9b0,_0x4c74a6,_0x5a34f6){const _0xee9ae2=_0x2042,_0x4ac52c={'AEJcJ':function(_0x3e793a,_0x38289a,_0x3ed005){return _0x3e793a(_0x38289a,_0x3ed005);},'WOnSa':function(_0x1d59e1,_0x2580c9){return _0x1d59e1+_0x2580c9;},'ZdJhv':function(_0x1d5164,_0x527106){return _0x1d5164===_0x527106;},'ttphn':function(_0x5de3c8,_0x30bd29){return _0x5de3c8+_0x30bd29;},'naLbu':function(_0x525066,_0x30efb9,_0x27c962){return _0x525066(_0x30efb9,_0x27c962);}};let _0x2608bb=_0x46b9b0;while(_0x2608bb<_0x4c74a6){const [_0x4119eb,_0x3aa910]=readId(_0x828c61,_0x2608bb),[_0x76a296,_0x1f87c7]=_0x4ac52c[_0xee9ae2(0xfe)](readVint,_0x828c61,_0x4ac52c[_0xee9ae2(0xfa)](_0x2608bb,_0x3aa910));if(_0x4ac52c[_0xee9ae2(0xe7)](_0x4119eb,_0x5a34f6))return{'offset':_0x2608bb,'idLen':_0x3aa910,'sizeLen':_0x1f87c7,'dataSize':_0x76a296,'dataOffset':_0x4ac52c[_0xee9ae2(0xfa)](_0x4ac52c[_0xee9ae2(0x103)](_0x2608bb,_0x3aa910),_0x1f87c7)};if(_0x4ac52c['naLbu'](isUnknownSize,_0x76a296,_0x1f87c7))break;_0x2608bb+=_0x4ac52c['ttphn'](_0x3aa910,_0x1f87c7)+_0x76a296;}return null;}function computeDurationMs(_0x53c894,_0x940e14){const _0x3cc96d=_0x2042,_0x4a2ddd={'dFVPR':function(_0x452148,_0x220ec5,_0x558818){return _0x452148(_0x220ec5,_0x558818);},'sJojv':function(_0x276e2c,_0x1e0f94){return _0x276e2c!==_0x1e0f94;},'clxqQ':function(_0x59be1e,_0x145d57,_0x532668){return _0x59be1e(_0x145d57,_0x532668);},'WwZuj':function(_0x4b2101,_0x2e774e){return _0x4b2101<_0x2e774e;},'atzYf':function(_0x327015,_0x577d98){return _0x327015-_0x577d98;},'eVSOA':function(_0x440185,_0x2f1033,_0x2f2d0a){return _0x440185(_0x2f1033,_0x2f2d0a);},'DDfol':function(_0x120dc7,_0x26ec76){return _0x120dc7+_0x26ec76;},'OyxiX':function(_0x12f405,_0x3c6103){return _0x12f405+_0x3c6103;},'UVtgr':function(_0x51cc01,_0x230206,_0x527d6d){return _0x51cc01(_0x230206,_0x527d6d);},'udAqm':function(_0x2f1a34,_0x43910f){return _0x2f1a34===_0x43910f;},'FHurJ':function(_0x165efd,_0x5cc247){return _0x165efd===_0x5cc247;},'AdPMg':function(_0x8ec825,_0x387fb){return _0x8ec825/_0x387fb;},'ILZGd':function(_0x13f022,_0x92724b){return _0x13f022+_0x92724b;},'wjOXN':function(_0x1aad6c,_0x509441){return _0x1aad6c>_0x509441;}};let _0x46eb57=0x0;const _0x39f620=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x47be9f=_0x53c894[_0x3cc96d(0x116)](_0x39f620);if(_0x47be9f===-0x1)return 0x0;while(_0x47be9f<_0x53c894['length']){const [_0x14226f,_0x99abf]=_0x4a2ddd[_0x3cc96d(0x124)](readId,_0x53c894,_0x47be9f);if(_0x4a2ddd['sJojv'](_0x14226f,ID_CLUSTER))break;const [_0xb316f7,_0x453cce]=_0x4a2ddd['clxqQ'](readVint,_0x53c894,_0x47be9f+_0x99abf),_0x1cc839=_0x47be9f+_0x99abf+_0x453cce,_0x1689e3=isUnknownSize(_0xb316f7,_0x453cce);let _0x387899;if(_0x1689e3){let _0x51b419=_0x1cc839;while(_0x4a2ddd['WwZuj'](_0x51b419,_0x4a2ddd[_0x3cc96d(0xf2)](_0x53c894[_0x3cc96d(0xe6)],0x4))){const [_0x3c1415,_0x47a999]=_0x4a2ddd[_0x3cc96d(0x10b)](readId,_0x53c894,_0x51b419);if(_0x3c1415===ID_CLUSTER){_0x387899=_0x51b419;break;}const [_0x25caeb,_0x467189]=_0x4a2ddd['eVSOA'](readVint,_0x53c894,_0x4a2ddd['DDfol'](_0x51b419,_0x47a999));if(_0x4a2ddd[_0x3cc96d(0xed)](isUnknownSize,_0x25caeb,_0x467189)){_0x387899=_0x53c894[_0x3cc96d(0xe6)];break;}_0x51b419+=_0x4a2ddd['OyxiX'](_0x47a999,_0x467189)+_0x25caeb;}_0x387899??=_0x53c894[_0x3cc96d(0xe6)];}else _0x387899=_0x1cc839+_0xb316f7;let _0x3c1b75=0x0,_0x295f59=_0x1cc839;while(_0x4a2ddd['WwZuj'](_0x295f59,_0x387899)){const [_0x15a2c8,_0x25c6de]=_0x4a2ddd[_0x3cc96d(0xfd)](readId,_0x53c894,_0x295f59),[_0x2947ce,_0x24292b]=_0x4a2ddd['dFVPR'](readVint,_0x53c894,_0x295f59+_0x25c6de);if(_0x4a2ddd[_0x3cc96d(0x111)](_0x15a2c8,ID_TIMESTAMP))_0x3c1b75=readUint(_0x53c894,_0x295f59+_0x25c6de+_0x24292b,_0x2947ce);else{if(_0x4a2ddd['FHurJ'](_0x15a2c8,ID_SIMPLE_BLOCK)&&_0x2947ce>=0x4){const _0x5edbab=_0x295f59+_0x25c6de+_0x24292b,[,_0x1c6f3c]=readVint(_0x53c894,_0x5edbab),_0x11fb0a=_0x53c894[_0x3cc96d(0x121)](_0x5edbab+_0x1c6f3c),_0x5caa4e=_0x4a2ddd['AdPMg'](_0x4a2ddd['ILZGd'](_0x3c1b75,_0x11fb0a)*_0x940e14,0xf4240);_0x4a2ddd['wjOXN'](_0x5caa4e,_0x46eb57)&&(_0x46eb57=_0x5caa4e);}else{if(_0x15a2c8===ID_CLUSTER)break;}}if(isUnknownSize(_0x2947ce,_0x24292b))break;_0x295f59+=_0x25c6de+_0x24292b+_0x2947ce;}_0x47be9f=_0x387899;}return _0x46eb57;}function _0x3eaa(){const _0x5a59db=['alloc','error','970jiyfGG','qFKNk','pow','224042yZgwMY','clxqQ','FweIE','tmAHf','concat','GvWPs','pGqkK','udAqm','3CsIexi','10241dHGPsK','Lhjcj','oAoTH','indexOf','min','xQkhE','slice','qJBPD','SbLAS','log','ZTwLB','SQvAT','offset','KecLN','readInt16BE','idLen','iXwrt','dFVPR','704456zhaJAz','length','ZdJhv','floor','zpFox','Fixed:\x20','HZeuY','kACRD','eVSOA','3543948NDfjkJ','kNbsS','FgKnf','LtvAq','atzYf','318LPCLaZ','101275tSspdI','from','621DNYtgA','AKhth','hzYDo','888615WnjjIO','WOnSa','dataSize','UszAT','UVtgr','AEJcJ','argv','JACVF','dataOffset','JgLBr','ttphn','3148oaLyJh'];_0x3eaa=function(){return _0x5a59db;};return _0x3eaa();}export function fixWebmDuration(_0x1a057a,_0x334536){const _0x196095=_0x2042,_0x3843ef={'Lhjcj':function(_0x1c193b,_0x21ce83){return _0x1c193b(_0x21ce83);},'ZTwLB':function(_0xe4b58d,_0x2f0bfb){return _0xe4b58d+_0x2f0bfb;},'onThi':function(_0x55e93d,_0x3f64fa){return _0x55e93d+_0x3f64fa;},'tmAHf':function(_0x46ba58,_0x3a83e1,_0x322505){return _0x46ba58(_0x3a83e1,_0x322505);},'iXwrt':function(_0x44c0a2,_0x4326b4){return _0x44c0a2+_0x4326b4;},'FgKnf':function(_0x378a68,_0x268b76,_0x2802e6){return _0x378a68(_0x268b76,_0x2802e6);},'xQkhE':function(_0x272ab6,_0x44d4c2){return _0x272ab6+_0x44d4c2;},'SbLAS':function(_0x5cb5f0,_0x5992){return _0x5cb5f0+_0x5992;},'GvWPs':function(_0xe28d63,_0x16b7df,_0x318e0f,_0x499e6d,_0x5d87bd){return _0xe28d63(_0x16b7df,_0x318e0f,_0x499e6d,_0x5d87bd);},'gIMZi':function(_0x4d90c0,_0xb86cac){return _0x4d90c0<=_0xb86cac;},'oAoTH':function(_0x3e29b2,_0x1fba8b){return _0x3e29b2/_0x1fba8b;},'SGCHv':function(_0x23cc11,_0x3a4b75){return _0x23cc11*_0x3a4b75;},'LtvAq':function(_0x32547f,_0x18e8d7){return _0x32547f(_0x18e8d7);},'kNbsS':function(_0x538b29,_0x5e5914){return _0x538b29+_0x5e5914;},'ttTAu':function(_0xf6819c,_0x310c20){return _0xf6819c-_0x310c20;},'JxZIQ':function(_0x1c9ba6,_0x4e36f9,_0x4f51df,_0x264ee0,_0x2b4af8,_0x2f2b38,_0x10cd96){return _0x1c9ba6(_0x4e36f9,_0x4f51df,_0x264ee0,_0x2b4af8,_0x2f2b38,_0x10cd96);},'JACVF':function(_0xe350e6,_0xbd9936){return _0xe350e6(_0xbd9936);},'bcQYi':function(_0x59535f,_0x5bb149,_0x19e599){return _0x59535f(_0x5bb149,_0x19e599);}},_0x58323d=_0x3843ef[_0x196095(0x114)](readFileSync,_0x1a057a);let _0x595983=0x0;const [_0x3a1b0d,_0x2ac1ab]=readId(_0x58323d,_0x595983),[_0x1f3147,_0x4ebe1e]=readVint(_0x58323d,_0x3843ef[_0x196095(0x11d)](_0x595983,_0x2ac1ab));_0x595983+=_0x3843ef['onThi'](_0x2ac1ab,_0x4ebe1e)+_0x1f3147;const [_0x1cdc11,_0x5a90e2]=_0x3843ef[_0x196095(0x10d)](readId,_0x58323d,_0x595983);if(_0x1cdc11!==ID_SEGMENT)return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x25a00e]=readVint(_0x58323d,_0x3843ef[_0x196095(0x11d)](_0x595983,_0x5a90e2)),_0x3af99f=_0x3843ef['onThi'](_0x595983+_0x5a90e2,_0x25a00e);let _0x140b92=_0x3af99f;const _0x456000=Math[_0x196095(0x117)](_0x58323d['length'],_0x3843ef[_0x196095(0x123)](_0x3af99f,0x2710));let _0x3a802f=null,_0x358e57=null;while(_0x140b92<_0x456000){const [_0x5db98f,_0x50abb5]=readId(_0x58323d,_0x140b92),[_0x5356ce,_0x1fa576]=_0x3843ef[_0x196095(0xf0)](readVint,_0x58323d,_0x140b92+_0x50abb5);_0x5db98f===ID_VOID&&!_0x3a802f&&(_0x3a802f={'offset':_0x140b92,'idLen':_0x50abb5,'sizeLen':_0x1fa576,'dataSize':_0x5356ce,'dataOffset':_0x140b92+_0x50abb5+_0x1fa576});if(_0x5db98f===ID_INFO){_0x358e57={'offset':_0x140b92,'idLen':_0x50abb5,'sizeLen':_0x1fa576,'dataSize':_0x5356ce,'dataOffset':_0x140b92+_0x50abb5+_0x1fa576};break;}if(_0x5db98f===ID_CLUSTER)break;if(isUnknownSize(_0x5356ce,_0x1fa576))break;_0x140b92+=_0x3843ef[_0x196095(0x118)](_0x3843ef[_0x196095(0x11b)](_0x50abb5,_0x1fa576),_0x5356ce);}if(!_0x358e57)return console['error']('Could\x20not\x20find\x20Info\x20element'),![];const _0x5f4bd0=findElement(_0x58323d,_0x358e57['dataOffset'],_0x358e57['dataOffset']+_0x358e57['dataSize'],ID_DURATION);if(_0x5f4bd0)return![];const _0x5819f7=_0x3843ef[_0x196095(0x10f)](findElement,_0x58323d,_0x358e57['dataOffset'],_0x358e57['dataOffset']+_0x358e57[_0x196095(0xfb)],ID_TIMESTAMP_SCALE);let _0x544989=0xf4240;_0x5819f7&&(_0x544989=readUint(_0x58323d,_0x5819f7['dataOffset'],_0x5819f7[_0x196095(0xfb)]));const _0x512b7a=computeDurationMs(_0x58323d,_0x544989);if(_0x3843ef['gIMZi'](_0x512b7a,0x0))return console[_0x196095(0x106)]('Could\x20not\x20compute\x20duration'),![];const _0x1dc4cb=_0x3843ef[_0x196095(0x115)](_0x3843ef['SGCHv'](_0x512b7a,0xf4240),_0x544989),_0x3fc7b5=Buffer[_0x196095(0x10e)]([writeId(ID_DURATION),_0x3843ef[_0x196095(0xf1)](writeVint,0x8),writeFloat64(_0x1dc4cb)]),_0x58dfef=_0x3fc7b5['length'];if(!_0x3a802f||_0x3a802f['offset']<_0x358e57[_0x196095(0x11f)]){if(_0x3a802f){const _0x567543=_0x3843ef[_0x196095(0xef)](_0x3a802f[_0x196095(0x122)]+_0x3a802f['sizeLen'],_0x3a802f[_0x196095(0xfb)]),_0xdc72e6=_0x3843ef['ttTAu'](_0x567543,_0x58dfef);if(_0xdc72e6<0x2)return _0x3843ef['JxZIQ'](rewriteFile,_0x58323d,_0x358e57,_0x3fc7b5,_0x544989,_0x512b7a,_0x334536);const _0x4a6e5e=_0x358e57['dataSize']+_0x58dfef,_0x4c2df1=Buffer['concat']([_0x3843ef[_0x196095(0x100)](writeId,ID_INFO),_0x3843ef['bcQYi'](writeVint,_0x4a6e5e,_0x358e57['sizeLen'])]),_0xd36474=_0x58323d[_0x196095(0x119)](_0x358e57['dataOffset'],_0x358e57[_0x196095(0x101)]+_0x358e57['dataSize']),_0x59f4ef=writeVoid(_0xdc72e6),_0x5279e8=_0x58323d[_0x196095(0x119)](0x0,_0x3a802f['offset']),_0x4bc420=_0x58323d[_0x196095(0x119)](_0x358e57[_0x196095(0x101)]+_0x358e57['dataSize']);return writeFileSync(_0x334536,Buffer['concat']([_0x5279e8,_0x59f4ef,_0x4c2df1,_0xd36474,_0x3fc7b5,_0x4bc420])),!![];}}return rewriteFile(_0x58323d,_0x358e57,_0x3fc7b5,_0x544989,_0x512b7a,_0x334536);}function _0x2042(_0x5cfe0f,_0x247a74){_0x5cfe0f=_0x5cfe0f-0xe5;const _0x3eaab9=_0x3eaa();let _0x20427f=_0x3eaab9[_0x5cfe0f];return _0x20427f;}function rewriteFile(_0x25e4a0,_0x1862f1,_0x4c325e,_0x29fc6a,_0x25159b,_0x30664e){const _0x55be3e=_0x2042,_0x103797={'AKhth':function(_0x1cf439,_0x3f4719){return _0x1cf439+_0x3f4719;},'JgLBr':function(_0x4c34ce,_0x4f82fa){return _0x4c34ce(_0x4f82fa);},'KGuWI':function(_0x19e2d7,_0xf59637){return _0x19e2d7+_0xf59637;},'Axdrl':function(_0x28599e,_0x260bf3){return _0x28599e+_0x260bf3;},'ZGAsJ':function(_0xfb2379,_0x2fffb8){return _0xfb2379+_0x2fffb8;}},_0x32d051=_0x103797[_0x55be3e(0xf7)](_0x1862f1[_0x55be3e(0xfb)],_0x4c325e[_0x55be3e(0xe6)]),_0x4712fb=Buffer[_0x55be3e(0x10e)]([_0x103797[_0x55be3e(0x102)](writeId,ID_INFO),_0x103797['JgLBr'](writeVint,_0x32d051)]),_0x4ee9b4=_0x1862f1[_0x55be3e(0x122)]+_0x1862f1['sizeLen'],_0x19d337=_0x25e4a0[_0x55be3e(0x119)](0x0,_0x1862f1[_0x55be3e(0x11f)]),_0x36d5f4=_0x25e4a0[_0x55be3e(0x119)](_0x1862f1[_0x55be3e(0x101)],_0x103797['KGuWI'](_0x1862f1['dataOffset'],_0x1862f1['dataSize'])),_0x11bdde=_0x25e4a0['slice'](_0x103797['Axdrl'](_0x103797['ZGAsJ'](_0x1862f1['offset'],_0x4ee9b4),_0x1862f1['dataSize']));return writeFileSync(_0x30664e,Buffer['concat']([_0x19d337,_0x4712fb,_0x36d5f4,_0x4c325e,_0x11bdde])),!![];}if(process[_0x44b5c2(0xff)][0x1]?.['endsWith']('fixWebmDuration.ts')||process[_0x44b5c2(0xff)][0x1]?.['endsWith']('fixWebmDuration.js')){const input=process['argv'][0x2],output=process[_0x44b5c2(0xff)][0x3];(!input||!output)&&(console[_0x44b5c2(0x106)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log'](_0x44b5c2(0xea)+output):console[_0x44b5c2(0x11c)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
1
+ const _0x25be8f=_0x30aa;(function(_0x432575,_0x5efee1){const _0x4eb6f6=_0x30aa,_0xed7a49=_0x432575();while(!![]){try{const _0x2e5fcf=parseInt(_0x4eb6f6(0x22a))/0x1+parseInt(_0x4eb6f6(0x201))/0x2+-parseInt(_0x4eb6f6(0x1f3))/0x3*(parseInt(_0x4eb6f6(0x1fe))/0x4)+-parseInt(_0x4eb6f6(0x20c))/0x5*(parseInt(_0x4eb6f6(0x22d))/0x6)+-parseInt(_0x4eb6f6(0x1f9))/0x7+parseInt(_0x4eb6f6(0x203))/0x8*(parseInt(_0x4eb6f6(0x224))/0x9)+parseInt(_0x4eb6f6(0x213))/0xa*(parseInt(_0x4eb6f6(0x200))/0xb);if(_0x2e5fcf===_0x5efee1)break;else _0xed7a49['push'](_0xed7a49['shift']());}catch(_0x401db6){_0xed7a49['push'](_0xed7a49['shift']());}}}(_0x1ec9,0x89b0b));import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x320c27,_0x5b0f6e){const _0x52860c=_0x30aa,_0x697827={'MxMWc':function(_0x1d2827,_0x5bd12a){return _0x1d2827&_0x5bd12a;},'BxNUh':function(_0x4b32c4,_0x55cbd7){return _0x4b32c4&_0x55cbd7;},'GgKVM':function(_0x264df1,_0x1adadd){return _0x264df1<_0x1adadd;},'ZNIYK':function(_0x28c21e,_0x55b77c){return _0x28c21e+_0x55b77c;},'vFgMK':function(_0x238503,_0x44acb6){return _0x238503+_0x44acb6;}};if(_0x5b0f6e>=_0x320c27[_0x52860c(0x209)])return[0x0,0x0];const _0x28f1c5=_0x320c27[_0x5b0f6e];let _0x54eb3f=0x1,_0x50d285=0x80;while(_0x54eb3f<=0x8&&!_0x697827['MxMWc'](_0x28f1c5,_0x50d285)){_0x54eb3f++,_0x50d285>>=0x1;}if(_0x5b0f6e+_0x54eb3f>_0x320c27['length'])return[0x0,0x0];let _0x11c12d=_0x697827['BxNUh'](_0x28f1c5,_0x50d285-0x1);for(let _0x23d578=0x1;_0x697827['GgKVM'](_0x23d578,_0x54eb3f);_0x23d578++){_0x11c12d=_0x697827[_0x52860c(0x20a)](_0x11c12d*0x100,_0x320c27[_0x697827[_0x52860c(0x220)](_0x5b0f6e,_0x23d578)]);}return[_0x11c12d,_0x54eb3f];}function readId(_0x381600,_0xfad448){const _0x5c7096=_0x30aa,_0x1b1660={'QxjXT':function(_0x49c0bb,_0x41820d){return _0x49c0bb>=_0x41820d;},'BTJpB':function(_0xe9703f,_0x2cf54e){return _0xe9703f>=_0x2cf54e;},'UyyuT':function(_0x3af1be,_0x46c129){return _0x3af1be>=_0x46c129;},'MqzJP':function(_0xcb2427,_0x54ebd1){return _0xcb2427+_0x54ebd1;},'qryVH':function(_0x5b2e65,_0x161c19){return _0x5b2e65*_0x161c19;}};if(_0x1b1660['QxjXT'](_0xfad448,_0x381600['length']))return[0x0,0x0];const _0x51b4df=_0x381600[_0xfad448];let _0x577bbf;if(_0x1b1660[_0x5c7096(0x1f5)](_0x51b4df,0x80))_0x577bbf=0x1;else{if(_0x1b1660[_0x5c7096(0x204)](_0x51b4df,0x40))_0x577bbf=0x2;else{if(_0x51b4df>=0x20)_0x577bbf=0x3;else{if(_0x1b1660[_0x5c7096(0x1f5)](_0x51b4df,0x10))_0x577bbf=0x4;else return[_0x51b4df,0x1];}}}if(_0xfad448+_0x577bbf>_0x381600['length'])return[0x0,0x0];let _0x1a9e4f=0x0;for(let _0x580a39=0x0;_0x580a39<_0x577bbf;_0x580a39++){_0x1a9e4f=_0x1b1660['MqzJP'](_0x1b1660['qryVH'](_0x1a9e4f,0x100),_0x381600[_0xfad448+_0x580a39]);}return[_0x1a9e4f,_0x577bbf];}function readUint(_0x175887,_0x542f23,_0x524532){const _0x5a9d27=_0x30aa,_0x4de14f={'tCzzt':function(_0x56133a,_0x248d6b){return _0x56133a<_0x248d6b;},'lJFwr':function(_0xb36dfe,_0x5f5a75){return _0xb36dfe*_0x5f5a75;}};let _0x546f45=0x0;for(let _0x44f963=0x0;_0x4de14f['tCzzt'](_0x44f963,_0x524532);_0x44f963++){_0x546f45=_0x4de14f[_0x5a9d27(0x217)](_0x546f45,0x100)+_0x175887[_0x542f23+_0x44f963];}return _0x546f45;}function isUnknownSize(_0x5cbc67,_0x3329ee){const _0x59f3b6=_0x30aa,_0x4a4514={'ccepj':function(_0xf0c5cf,_0x5e4ec4){return _0xf0c5cf===_0x5e4ec4;},'WhaXp':function(_0x33d986,_0x3b3338){return _0x33d986-_0x3b3338;},'lheCH':function(_0x37948a,_0x428c32){return _0x37948a*_0x428c32;}};return _0x4a4514['ccepj'](_0x5cbc67,_0x4a4514['WhaXp'](Math['pow'](0x2,_0x4a4514[_0x59f3b6(0x206)](0x7,_0x3329ee)),0x1));}function writeId(_0x704b38){const _0x1eeae0=_0x30aa,_0x2e019d={'dCCxZ':function(_0x56d97c,_0x4099b1){return _0x56d97c<=_0x4099b1;},'IezKO':function(_0x3bbafd,_0x5dd963){return _0x3bbafd>>_0x5dd963;},'NamdD':function(_0x37d901,_0x2288d3){return _0x37d901&_0x2288d3;},'fCIsQ':function(_0x1681f1,_0x38b0bb){return _0x1681f1>>_0x38b0bb;},'qWaBJ':function(_0x18ce6b,_0x5dd58a){return _0x18ce6b>>_0x5dd58a;}};if(_0x2e019d[_0x1eeae0(0x1f2)](_0x704b38,0xff))return Buffer[_0x1eeae0(0x229)]([_0x704b38]);if(_0x2e019d['dCCxZ'](_0x704b38,0xffff))return Buffer[_0x1eeae0(0x229)]([_0x2e019d['IezKO'](_0x704b38,0x8)&0xff,_0x704b38&0xff]);if(_0x704b38<=0xffffff)return Buffer['from']([_0x704b38>>0x10&0xff,_0x2e019d['NamdD'](_0x2e019d['fCIsQ'](_0x704b38,0x8),0xff),_0x2e019d[_0x1eeae0(0x212)](_0x704b38,0xff)]);return Buffer['from']([_0x2e019d[_0x1eeae0(0x216)](_0x704b38,0x18)&0xff,_0x2e019d[_0x1eeae0(0x20e)](_0x704b38,0x10)&0xff,_0x2e019d['IezKO'](_0x704b38,0x8)&0xff,_0x704b38&0xff]);}function _0x1ec9(){const _0x52a2c9=['upnCq','jCfnM','argv','fzmDX','Could\x20not\x20find\x20Info\x20element','sizeLen','LIRnr','kRzfU','vFgMK','onllt','gQFab','error','21807zkLmsf','dGNmc','fixWebmDuration.ts','xWGXD','writeDoubleBE','from','722616zMTwTq','hCfAJ','QkxwR','6rywzuD','offset','wiemv','AULBc','iTnLv','CxSyu','AWDzA','aQytR','rQOeL','concat','VTfAO','dataOffset','dCCxZ','1264533pUkpEo','jovsI','BTJpB','zRqks','indexOf','yGOAC','7507738RfLAfu','jxjfE','NQLcA','alloc','scVrT','8mIbyHl','BtaYH','11olbMcZ','771744Dsblel','endsWith','2248hUIFnq','UyyuT','ODxbd','lheCH','dataSize','CkCkR','length','ZNIYK','Nsjwf','989060BTiHIl','JNNZR','qWaBJ','uYORv','slice','ipQpb','NamdD','8879960XVNYsS','MjnIZ','log','IezKO','lJFwr'];_0x1ec9=function(){return _0x52a2c9;};return _0x1ec9();}function writeVint(_0x493656,_0x50f42c){const _0x36760d=_0x30aa,_0x144b8b={'dGNmc':function(_0x424825,_0x49b95c){return _0x424825-_0x49b95c;},'gQFab':function(_0x51e38c,_0x3e2279){return _0x51e38c/_0x3e2279;},'JNNZR':function(_0xc37c8c,_0x4ee054){return _0xc37c8c<<_0x4ee054;}};let _0x35e44d=_0x50f42c||0x1;while(_0x144b8b[_0x36760d(0x225)](Math['pow'](0x2,0x7*_0x35e44d),0x2)<_0x493656)_0x35e44d++;const _0x4dfa5f=Buffer[_0x36760d(0x1fc)](_0x35e44d);for(let _0x219aab=_0x35e44d-0x1;_0x219aab>=0x0;_0x219aab--){_0x4dfa5f[_0x219aab]=_0x493656&0xff,_0x493656=Math['floor'](_0x144b8b[_0x36760d(0x222)](_0x493656,0x100));}return _0x4dfa5f[0x0]|=_0x144b8b[_0x36760d(0x20d)](0x1,0x8-_0x35e44d),_0x4dfa5f;}function writeFloat64(_0x4fcea3){const _0x280b84=_0x30aa,_0x3f4fc1=Buffer['alloc'](0x8);return _0x3f4fc1[_0x280b84(0x228)](_0x4fcea3,0x0),_0x3f4fc1;}function writeVoid(_0x31a86b){const _0x64a76=_0x30aa,_0x2cfeab={'pykOj':function(_0x5a075a,_0x5608fe){return _0x5a075a<=_0x5608fe;},'ctlkB':function(_0x39df8e,_0x466bad){return _0x39df8e>=_0x466bad;},'scVrT':function(_0x15afcd,_0x47a454){return _0x15afcd*_0x47a454;},'wiemv':function(_0x3e7909,_0x19f5f8,_0x5340f0){return _0x3e7909(_0x19f5f8,_0x5340f0);}};for(let _0x12fe32=0x1;_0x2cfeab['pykOj'](_0x12fe32,0x8);_0x12fe32++){const _0x35402a=_0x31a86b-0x1-_0x12fe32;if(_0x2cfeab['ctlkB'](_0x35402a,0x0)&&_0x35402a<=Math['pow'](0x2,_0x2cfeab[_0x64a76(0x1fd)](0x7,_0x12fe32))-0x2)return Buffer[_0x64a76(0x1ef)]([Buffer[_0x64a76(0x229)]([ID_VOID]),_0x2cfeab[_0x64a76(0x22f)](writeVint,_0x35402a,_0x12fe32),Buffer[_0x64a76(0x1fc)](_0x35402a)]);}return Buffer['alloc'](0x0);}function findElement(_0x4f3967,_0x1ae63c,_0x5e9cab,_0x3009f2){const _0x1c2d2b=_0x30aa,_0xc824f={'upnCq':function(_0x3f2d09,_0x16dc8c,_0x49edf7){return _0x3f2d09(_0x16dc8c,_0x49edf7);},'vGpVN':function(_0x3162a4,_0x5193f9,_0x170de0){return _0x3162a4(_0x5193f9,_0x170de0);},'CkCkR':function(_0x3f66bf,_0x3a61af){return _0x3f66bf+_0x3a61af;},'ODxbd':function(_0x2df20b,_0x23cd8b){return _0x2df20b+_0x23cd8b;},'CCkMf':function(_0x4e8247,_0x1d77c4){return _0x4e8247+_0x1d77c4;}};let _0x596696=_0x1ae63c;while(_0x596696<_0x5e9cab){const [_0x22c0ca,_0x1cad64]=_0xc824f[_0x1c2d2b(0x218)](readId,_0x4f3967,_0x596696),[_0x3512c2,_0x5b3e9f]=_0xc824f['vGpVN'](readVint,_0x4f3967,_0xc824f[_0x1c2d2b(0x208)](_0x596696,_0x1cad64));if(_0x22c0ca===_0x3009f2)return{'offset':_0x596696,'idLen':_0x1cad64,'sizeLen':_0x5b3e9f,'dataSize':_0x3512c2,'dataOffset':_0xc824f['ODxbd'](_0xc824f[_0x1c2d2b(0x205)](_0x596696,_0x1cad64),_0x5b3e9f)};if(_0xc824f[_0x1c2d2b(0x218)](isUnknownSize,_0x3512c2,_0x5b3e9f))break;_0x596696+=_0xc824f['CCkMf'](_0x1cad64+_0x5b3e9f,_0x3512c2);}return null;}function computeDurationMs(_0x20e0a6,_0x36a2a7){const _0x20f77f=_0x30aa,_0x5ca87e={'Nsjwf':function(_0x549971,_0x1c6d7f){return _0x549971===_0x1c6d7f;},'ipQpb':function(_0x268a46,_0x1fac8d,_0x288280){return _0x268a46(_0x1fac8d,_0x288280);},'MjnIZ':function(_0x3f6503,_0x265069){return _0x3f6503+_0x265069;},'jCfnM':function(_0x1e0aa7,_0x5c789a){return _0x1e0aa7===_0x5c789a;},'rQOeL':function(_0x46a14e,_0x2ef3f0,_0x42a11b){return _0x46a14e(_0x2ef3f0,_0x42a11b);},'CxSyu':function(_0x22836e,_0x1858d3){return _0x22836e+_0x1858d3;},'KrVpj':function(_0x477891,_0x32165a,_0x57bf57){return _0x477891(_0x32165a,_0x57bf57);},'onllt':function(_0x2697d2,_0x4507b4){return _0x2697d2<_0x4507b4;},'iwueT':function(_0x2fe4e0,_0x2d5f8e,_0x580a2e,_0x1a3188){return _0x2fe4e0(_0x2d5f8e,_0x580a2e,_0x1a3188);},'AULBc':function(_0xfe84b8,_0x4c4ad5){return _0xfe84b8>=_0x4c4ad5;},'lAVIy':function(_0x57d877,_0x3e7e36){return _0x57d877+_0x3e7e36;},'LIRnr':function(_0x54c8fe,_0x27ced6){return _0x54c8fe/_0x27ced6;},'DvBTr':function(_0x2e2943,_0x3ae11d){return _0x2e2943+_0x3ae11d;},'VTfAO':function(_0x193c9e,_0x56e7e6){return _0x193c9e+_0x56e7e6;}};let _0x46f594=0x0;const _0x19975c=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x49b09f=_0x20e0a6[_0x20f77f(0x1f7)](_0x19975c);if(_0x5ca87e[_0x20f77f(0x20b)](_0x49b09f,-0x1))return 0x0;while(_0x49b09f<_0x20e0a6[_0x20f77f(0x209)]){const [_0x114f67,_0x22ca1c]=_0x5ca87e[_0x20f77f(0x211)](readId,_0x20e0a6,_0x49b09f);if(_0x114f67!==ID_CLUSTER)break;const [_0x90c077,_0x4d5434]=_0x5ca87e['ipQpb'](readVint,_0x20e0a6,_0x5ca87e['MjnIZ'](_0x49b09f,_0x22ca1c)),_0xb07c21=_0x49b09f+_0x22ca1c+_0x4d5434,_0x3e5fad=isUnknownSize(_0x90c077,_0x4d5434);let _0x3a1cfd;if(_0x3e5fad){let _0x49ad76=_0xb07c21;while(_0x49ad76<_0x20e0a6[_0x20f77f(0x209)]-0x4){const [_0x1341b0,_0x5bbfb2]=readId(_0x20e0a6,_0x49ad76);if(_0x5ca87e[_0x20f77f(0x219)](_0x1341b0,ID_CLUSTER)){_0x3a1cfd=_0x49ad76;break;}const [_0x4e2de3,_0x1978f5]=_0x5ca87e[_0x20f77f(0x1ee)](readVint,_0x20e0a6,_0x5ca87e[_0x20f77f(0x1eb)](_0x49ad76,_0x5bbfb2));if(_0x5ca87e['KrVpj'](isUnknownSize,_0x4e2de3,_0x1978f5)){_0x3a1cfd=_0x20e0a6[_0x20f77f(0x209)];break;}_0x49ad76+=_0x5bbfb2+_0x1978f5+_0x4e2de3;}_0x3a1cfd??=_0x20e0a6[_0x20f77f(0x209)];}else _0x3a1cfd=_0x5ca87e['MjnIZ'](_0xb07c21,_0x90c077);let _0x4f1a4b=0x0,_0x4c4db7=_0xb07c21;while(_0x5ca87e[_0x20f77f(0x221)](_0x4c4db7,_0x3a1cfd)){const [_0x1a282f,_0x4032ec]=readId(_0x20e0a6,_0x4c4db7),[_0x371f01,_0x513191]=readVint(_0x20e0a6,_0x5ca87e[_0x20f77f(0x214)](_0x4c4db7,_0x4032ec));if(_0x5ca87e[_0x20f77f(0x20b)](_0x1a282f,ID_TIMESTAMP))_0x4f1a4b=_0x5ca87e['iwueT'](readUint,_0x20e0a6,_0x4c4db7+_0x4032ec+_0x513191,_0x371f01);else{if(_0x5ca87e[_0x20f77f(0x219)](_0x1a282f,ID_SIMPLE_BLOCK)&&_0x5ca87e[_0x20f77f(0x230)](_0x371f01,0x4)){const _0x2dd478=_0x4c4db7+_0x4032ec+_0x513191,[,_0xd72764]=readVint(_0x20e0a6,_0x2dd478),_0x5e652e=_0x20e0a6['readInt16BE'](_0x5ca87e['lAVIy'](_0x2dd478,_0xd72764)),_0x439f6b=_0x5ca87e[_0x20f77f(0x21e)](_0x5ca87e['DvBTr'](_0x4f1a4b,_0x5e652e)*_0x36a2a7,0xf4240);_0x439f6b>_0x46f594&&(_0x46f594=_0x439f6b);}else{if(_0x1a282f===ID_CLUSTER)break;}}if(_0x5ca87e['rQOeL'](isUnknownSize,_0x371f01,_0x513191))break;_0x4c4db7+=_0x5ca87e[_0x20f77f(0x1f0)](_0x4032ec+_0x513191,_0x371f01);}_0x49b09f=_0x3a1cfd;}return _0x46f594;}export function fixWebmDuration(_0x2e040c,_0x3a94ba){const _0x493aeb=_0x30aa,_0x2e355b={'voQYk':function(_0x2f87a6,_0x1e9191){return _0x2f87a6(_0x1e9191);},'QkxwR':function(_0x59967c,_0x1f0406,_0x180c19){return _0x59967c(_0x1f0406,_0x180c19);},'hCfAJ':function(_0x2cdea1,_0x1ee29e){return _0x2cdea1+_0x1ee29e;},'AWDzA':function(_0x1d390b,_0x3ff8a4){return _0x1d390b+_0x3ff8a4;},'jxjfE':function(_0x4b0d94,_0x43d2b9){return _0x4b0d94!==_0x43d2b9;},'kRzfU':function(_0x15011e,_0x3e388b,_0x1e96e5){return _0x15011e(_0x3e388b,_0x1e96e5);},'jovsI':function(_0x3e6186,_0x339577){return _0x3e6186+_0x339577;},'vsBHu':function(_0x50d028,_0xe30842,_0x3e2803){return _0x50d028(_0xe30842,_0x3e2803);},'zRqks':function(_0xfcb9ad,_0x126af0){return _0xfcb9ad===_0x126af0;},'aQytR':function(_0x43180c,_0x4a61ab){return _0x43180c+_0x4a61ab;},'OaEvB':function(_0x4de870,_0x52f1ac,_0x38c4ec,_0x1bfa4a,_0x4023e7){return _0x4de870(_0x52f1ac,_0x38c4ec,_0x1bfa4a,_0x4023e7);},'xWGXD':function(_0x34d400,_0x168ce9,_0x53eb6d,_0x26f477){return _0x34d400(_0x168ce9,_0x53eb6d,_0x26f477);},'BtaYH':function(_0x9a9f9b,_0x1cced1){return _0x9a9f9b(_0x1cced1);},'iTnLv':function(_0xa8895e,_0x5ce983){return _0xa8895e(_0x5ce983);},'RhfOA':function(_0x55b429,_0x286b2f){return _0x55b429<_0x286b2f;},'AUARS':function(_0x23e530,_0x5d5a46){return _0x23e530-_0x5d5a46;},'fzmDX':function(_0x417ece,_0x146481){return _0x417ece<_0x146481;},'NQLcA':function(_0x536d8c,_0x39616e,_0x5b80c,_0x39c6ef,_0x10a044,_0x3ef9a8,_0x16630a){return _0x536d8c(_0x39616e,_0x5b80c,_0x39c6ef,_0x10a044,_0x3ef9a8,_0x16630a);},'QdvkR':function(_0x5dc693,_0x5bb4fc){return _0x5dc693+_0x5bb4fc;},'lQwQd':function(_0x3aba65,_0x423c58,_0x1e5164,_0x2876fa,_0x24a738,_0x1ef6f7,_0xe371d4){return _0x3aba65(_0x423c58,_0x1e5164,_0x2876fa,_0x24a738,_0x1ef6f7,_0xe371d4);}},_0x138bff=_0x2e355b['voQYk'](readFileSync,_0x2e040c);let _0x405246=0x0;const [_0x24a512,_0x4e4ef9]=_0x2e355b[_0x493aeb(0x22c)](readId,_0x138bff,_0x405246),[_0x2b8e34,_0x3501f5]=readVint(_0x138bff,_0x2e355b[_0x493aeb(0x22b)](_0x405246,_0x4e4ef9));_0x405246+=_0x2e355b[_0x493aeb(0x1ec)](_0x2e355b['hCfAJ'](_0x4e4ef9,_0x3501f5),_0x2b8e34);const [_0x226442,_0x542693]=readId(_0x138bff,_0x405246);if(_0x2e355b[_0x493aeb(0x1fa)](_0x226442,ID_SEGMENT))return console[_0x493aeb(0x223)]('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x113dce]=_0x2e355b[_0x493aeb(0x21f)](readVint,_0x138bff,_0x2e355b[_0x493aeb(0x22b)](_0x405246,_0x542693)),_0x434b6d=_0x2e355b['hCfAJ'](_0x2e355b[_0x493aeb(0x1f4)](_0x405246,_0x542693),_0x113dce);let _0x22fa66=_0x434b6d;const _0x202a26=Math['min'](_0x138bff['length'],_0x2e355b[_0x493aeb(0x1ec)](_0x434b6d,0x2710));let _0x2396fd=null,_0x39cc4c=null;while(_0x22fa66<_0x202a26){const [_0x313a35,_0x414603]=readId(_0x138bff,_0x22fa66),[_0x23bc03,_0x4cb177]=_0x2e355b['vsBHu'](readVint,_0x138bff,_0x2e355b[_0x493aeb(0x1ec)](_0x22fa66,_0x414603));_0x2e355b[_0x493aeb(0x1f6)](_0x313a35,ID_VOID)&&!_0x2396fd&&(_0x2396fd={'offset':_0x22fa66,'idLen':_0x414603,'sizeLen':_0x4cb177,'dataSize':_0x23bc03,'dataOffset':_0x2e355b['hCfAJ'](_0x22fa66+_0x414603,_0x4cb177)});if(_0x2e355b['zRqks'](_0x313a35,ID_INFO)){_0x39cc4c={'offset':_0x22fa66,'idLen':_0x414603,'sizeLen':_0x4cb177,'dataSize':_0x23bc03,'dataOffset':_0x22fa66+_0x414603+_0x4cb177};break;}if(_0x313a35===ID_CLUSTER)break;if(_0x2e355b['QkxwR'](isUnknownSize,_0x23bc03,_0x4cb177))break;_0x22fa66+=_0x2e355b[_0x493aeb(0x1ec)](_0x2e355b['aQytR'](_0x414603,_0x4cb177),_0x23bc03);}if(!_0x39cc4c)return console[_0x493aeb(0x223)](_0x493aeb(0x21c)),![];const _0x3f7538=findElement(_0x138bff,_0x39cc4c['dataOffset'],_0x39cc4c['dataOffset']+_0x39cc4c[_0x493aeb(0x207)],ID_DURATION);if(_0x3f7538)return![];const _0x54a3ef=_0x2e355b['OaEvB'](findElement,_0x138bff,_0x39cc4c[_0x493aeb(0x1f1)],_0x39cc4c[_0x493aeb(0x1f1)]+_0x39cc4c['dataSize'],ID_TIMESTAMP_SCALE);let _0x2d8463=0xf4240;_0x54a3ef&&(_0x2d8463=_0x2e355b[_0x493aeb(0x227)](readUint,_0x138bff,_0x54a3ef['dataOffset'],_0x54a3ef[_0x493aeb(0x207)]));const _0x21bd81=computeDurationMs(_0x138bff,_0x2d8463);if(_0x21bd81<=0x0)return console[_0x493aeb(0x223)]('Could\x20not\x20compute\x20duration'),![];const _0x44f71c=_0x21bd81*0xf4240/_0x2d8463,_0x2279ed=Buffer['concat']([writeId(ID_DURATION),_0x2e355b[_0x493aeb(0x1ff)](writeVint,0x8),_0x2e355b[_0x493aeb(0x231)](writeFloat64,_0x44f71c)]),_0x506ec2=_0x2279ed[_0x493aeb(0x209)];if(!_0x2396fd||_0x2e355b['RhfOA'](_0x2396fd['offset'],_0x39cc4c[_0x493aeb(0x22e)])){if(_0x2396fd){const _0x22a0c8=_0x2396fd['idLen']+_0x2396fd[_0x493aeb(0x21d)]+_0x2396fd['dataSize'],_0x4f9d5a=_0x2e355b['AUARS'](_0x22a0c8,_0x506ec2);if(_0x2e355b[_0x493aeb(0x21b)](_0x4f9d5a,0x2))return _0x2e355b[_0x493aeb(0x1fb)](rewriteFile,_0x138bff,_0x39cc4c,_0x2279ed,_0x2d8463,_0x21bd81,_0x3a94ba);const _0x26043a=_0x39cc4c[_0x493aeb(0x207)]+_0x506ec2,_0x1a0638=Buffer[_0x493aeb(0x1ef)]([writeId(ID_INFO),_0x2e355b[_0x493aeb(0x22c)](writeVint,_0x26043a,_0x39cc4c[_0x493aeb(0x21d)])]),_0x4ea6b0=_0x138bff[_0x493aeb(0x210)](_0x39cc4c['dataOffset'],_0x2e355b['QdvkR'](_0x39cc4c[_0x493aeb(0x1f1)],_0x39cc4c[_0x493aeb(0x207)])),_0x1907b5=_0x2e355b[_0x493aeb(0x1ff)](writeVoid,_0x4f9d5a),_0x14f6b6=_0x138bff['slice'](0x0,_0x2396fd[_0x493aeb(0x22e)]),_0x2a4f36=_0x138bff[_0x493aeb(0x210)](_0x2e355b[_0x493aeb(0x1ed)](_0x39cc4c['dataOffset'],_0x39cc4c[_0x493aeb(0x207)]));return writeFileSync(_0x3a94ba,Buffer['concat']([_0x14f6b6,_0x1907b5,_0x1a0638,_0x4ea6b0,_0x2279ed,_0x2a4f36])),!![];}}return _0x2e355b['lQwQd'](rewriteFile,_0x138bff,_0x39cc4c,_0x2279ed,_0x2d8463,_0x21bd81,_0x3a94ba);}function rewriteFile(_0x191c4a,_0x219926,_0x286086,_0x427efd,_0x282852,_0x51b16f){const _0x2aebd2=_0x30aa,_0x449c3d={'RmLgp':function(_0x40423e,_0x3485b0){return _0x40423e+_0x3485b0;},'uYORv':function(_0x26825a,_0x35a305){return _0x26825a(_0x35a305);},'vMlZY':function(_0x116564,_0x238df1){return _0x116564+_0x238df1;},'yGOAC':function(_0x318163,_0x340a84,_0x5e4db9){return _0x318163(_0x340a84,_0x5e4db9);}},_0x129b8b=_0x449c3d['RmLgp'](_0x219926['dataSize'],_0x286086[_0x2aebd2(0x209)]),_0x48d7d3=Buffer['concat']([_0x449c3d['uYORv'](writeId,ID_INFO),_0x449c3d[_0x2aebd2(0x20f)](writeVint,_0x129b8b)]),_0x3e7f71=_0x219926['idLen']+_0x219926[_0x2aebd2(0x21d)],_0x574d7a=_0x191c4a['slice'](0x0,_0x219926[_0x2aebd2(0x22e)]),_0x993841=_0x191c4a['slice'](_0x219926[_0x2aebd2(0x1f1)],_0x449c3d['vMlZY'](_0x219926['dataOffset'],_0x219926[_0x2aebd2(0x207)])),_0x5e17be=_0x191c4a['slice'](_0x219926['offset']+_0x3e7f71+_0x219926['dataSize']);return _0x449c3d[_0x2aebd2(0x1f8)](writeFileSync,_0x51b16f,Buffer[_0x2aebd2(0x1ef)]([_0x574d7a,_0x48d7d3,_0x993841,_0x286086,_0x5e17be])),!![];}function _0x30aa(_0x1aa4fe,_0x295332){_0x1aa4fe=_0x1aa4fe-0x1eb;const _0x1ec9a4=_0x1ec9();let _0x30aa2f=_0x1ec9a4[_0x1aa4fe];return _0x30aa2f;}if(process[_0x25be8f(0x21a)][0x1]?.[_0x25be8f(0x202)](_0x25be8f(0x226))||process[_0x25be8f(0x21a)][0x1]?.[_0x25be8f(0x202)]('fixWebmDuration.js')){const input=process['argv'][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x25be8f(0x223)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log']('Fixed:\x20'+output):console[_0x25be8f(0x215)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- function _0x3ce4(_0x287706,_0x1b2773){_0x287706=_0x287706-0x1bd;const _0x54ce43=_0x54ce();let _0x3ce40f=_0x54ce43[_0x287706];return _0x3ce40f;}(function(_0x5dc245,_0x2685d4){const _0x38c911=_0x3ce4,_0x1f24a0=_0x5dc245();while(!![]){try{const _0x33ee8d=-parseInt(_0x38c911(0x1c2))/0x1+-parseInt(_0x38c911(0x1c3))/0x2*(parseInt(_0x38c911(0x1c4))/0x3)+-parseInt(_0x38c911(0x1be))/0x4+-parseInt(_0x38c911(0x1cc))/0x5+-parseInt(_0x38c911(0x1c5))/0x6+-parseInt(_0x38c911(0x1c0))/0x7*(parseInt(_0x38c911(0x1cb))/0x8)+-parseInt(_0x38c911(0x1ca))/0x9*(-parseInt(_0x38c911(0x1cd))/0xa);if(_0x33ee8d===_0x2685d4)break;else _0x1f24a0['push'](_0x1f24a0['shift']());}catch(_0x18f706){_0x1f24a0['push'](_0x1f24a0['shift']());}}}(_0x54ce,0x294b1));function _0x54ce(){const _0x1a107f=['326697imPtkD','244526RvVSIj','3JDQdoQ','1032570gBlnAE','trim','DXymC','pipe','aJoxx','27JccFUV','2099024QMUrqq','1149785TrlPne','5273330eFCYJA','HtwzY','github.com/','oObxB','1197888rFwHum','git\x20remote\x20get-url\x20origin','7RKABqh','replace'];_0x54ce=function(){return _0x1a107f;};return _0x54ce();}import{execSync}from'child_process';export function getGitBranch(){const _0x10b140=_0x3ce4,_0xc5f484={'HtwzY':'utf-8','DXymC':'pipe'};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0xc5f484[_0x10b140(0x1ce)],'stdio':['pipe',_0x10b140(0x1c8),_0xc5f484[_0x10b140(0x1c7)]]})[_0x10b140(0x1c6)]();}catch{return undefined;}}export function getGitRepoUrl(){const _0x21b5a9=_0x3ce4,_0x1c1132={'oObxB':_0x21b5a9(0x1c8)};try{const _0x2f3bc3=execSync(_0x21b5a9(0x1bf),{'encoding':'utf-8','stdio':[_0x1c1132[_0x21b5a9(0x1bd)],_0x21b5a9(0x1c8),_0x1c1132[_0x21b5a9(0x1bd)]]})[_0x21b5a9(0x1c6)]();return _0x2f3bc3[_0x21b5a9(0x1c1)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x21b5a9(0x1cf))['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x4d47cd=_0x3ce4,_0x435055={'aJoxx':function(_0xc08419){return _0xc08419();}};return{'branch':_0x435055['aJoxx'](getGitBranch),'repoUrl':_0x435055[_0x4d47cd(0x1c9)](getGitRepoUrl)};}
1
+ (function(_0x1d8023,_0x465ffc){const _0x3e05bc=_0x46e5,_0x3bdac4=_0x1d8023();while(!![]){try{const _0xbd17bd=parseInt(_0x3e05bc(0x1cc))/0x1+-parseInt(_0x3e05bc(0x1c7))/0x2+parseInt(_0x3e05bc(0x1cf))/0x3+parseInt(_0x3e05bc(0x1c8))/0x4*(-parseInt(_0x3e05bc(0x1c6))/0x5)+parseInt(_0x3e05bc(0x1ca))/0x6*(parseInt(_0x3e05bc(0x1d0))/0x7)+-parseInt(_0x3e05bc(0x1c5))/0x8*(parseInt(_0x3e05bc(0x1c4))/0x9)+parseInt(_0x3e05bc(0x1d1))/0xa;if(_0xbd17bd===_0x465ffc)break;else _0x3bdac4['push'](_0x3bdac4['shift']());}catch(_0x3129ff){_0x3bdac4['push'](_0x3bdac4['shift']());}}}(_0x5bee,0xac617));import{execSync}from'child_process';export function getGitBranch(){const _0x1fd1b0=_0x46e5,_0x25094f={'PPkCa':function(_0x5b083f,_0x363139,_0x5567a1){return _0x5b083f(_0x363139,_0x5567a1);},'UgCzH':_0x1fd1b0(0x1c3)};try{return _0x25094f['PPkCa'](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':'utf-8','stdio':[_0x25094f[_0x1fd1b0(0x1d3)],_0x25094f['UgCzH'],_0x25094f['UgCzH']]})[_0x1fd1b0(0x1d2)]();}catch{return undefined;}}function _0x46e5(_0x586c00,_0x3602eb){_0x586c00=_0x586c00-0x1c2;const _0x5bee75=_0x5bee();let _0x46e586=_0x5bee75[_0x586c00];return _0x46e586;}export function getGitRepoUrl(){const _0x312fd5=_0x46e5,_0x5a3ce4={'Fqnyn':_0x312fd5(0x1cd),'ERhGA':_0x312fd5(0x1c9)};try{const _0x4d83fa=execSync(_0x5a3ce4['Fqnyn'],{'encoding':_0x5a3ce4['ERhGA'],'stdio':['pipe','pipe',_0x312fd5(0x1c3)]})['trim']();return _0x4d83fa[_0x312fd5(0x1c2)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x312fd5(0x1ce))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function _0x5bee(){const _0x2d5754=['git\x20remote\x20get-url\x20origin','github.com/','2721555sAqKdE','1681127NsWuSX','12055160SGItQt','trim','UgCzH','replace','pipe','111753oKSojZ','184IhyUvS','64895HVlSBS','2390516WckSIB','344NRLpJC','utf-8','24xkIGsZ','wIYPS','229769zumFsl'];_0x5bee=function(){return _0x2d5754;};return _0x5bee();}export function getGitInfo(){const _0x40fc25=_0x46e5,_0x32a770={'wIYPS':function(_0x41a7a3){return _0x41a7a3();}};return{'branch':_0x32a770[_0x40fc25(0x1cb)](getGitBranch),'repoUrl':getGitRepoUrl()};}
@@ -1 +1 @@
1
- const _0x1ed13a=_0xbcaa;(function(_0x1202b9,_0x3c6a87){const _0x3072df=_0xbcaa,_0x45a246=_0x1202b9();while(!![]){try{const _0x3f8b24=parseInt(_0x3072df(0x19f))/0x1+parseInt(_0x3072df(0x1a7))/0x2+-parseInt(_0x3072df(0x1b9))/0x3*(parseInt(_0x3072df(0x1a3))/0x4)+-parseInt(_0x3072df(0x193))/0x5+parseInt(_0x3072df(0x1a4))/0x6+parseInt(_0x3072df(0x1b1))/0x7+-parseInt(_0x3072df(0x19a))/0x8*(parseInt(_0x3072df(0x1b4))/0x9);if(_0x3f8b24===_0x3c6a87)break;else _0x45a246['push'](_0x45a246['shift']());}catch(_0x50e1d8){_0x45a246['push'](_0x45a246['shift']());}}}(_0x3e4c,0x5896e));const _0x38b625=(function(){const _0x58be1e={'WIeII':function(_0x46c39c,_0x2da921){return _0x46c39c!==_0x2da921;},'gXMyT':'xiQqr'};let _0x2274cb=!![];return function(_0x3812e2,_0x5f50f6){const _0x3d2d48=_0x2274cb?function(){const _0x256278=_0xbcaa;if(_0x58be1e['WIeII'](_0x256278(0x1b3),_0x58be1e['gXMyT'])){if(_0x5f50f6){const _0x5b7a26=_0x5f50f6['apply'](_0x3812e2,arguments);return _0x5f50f6=null,_0x5b7a26;}}else{const _0x436dcd=_0x2c3eee[_0x256278(0x19c)](_0x186cf2,arguments);return _0x3872b1=null,_0x436dcd;}}:function(){};return _0x2274cb=![],_0x3d2d48;};}()),_0x434bbc=_0x38b625(this,function(){const _0x57e403=_0xbcaa,_0x195768={'wRUzh':_0x57e403(0x1b2)};return _0x434bbc[_0x57e403(0x1bd)]()['search'](_0x195768[_0x57e403(0x1c2)])[_0x57e403(0x1bd)]()[_0x57e403(0x1a1)](_0x434bbc)[_0x57e403(0x192)](_0x195768['wRUzh']);});_0x434bbc();function _0x3e4c(){const _0x53da6e=['D1jvEMG','Axz3zhK','Ag5jD1G','C2vHCMnO','mJeZnty2nwTgqKfbDq','CK5Vq0K','Ee5os2i','Afbvtfu','v01PvMC','BLfyC2W','DxrMltG','mJq5otCZnLvXC2Tsva','sgLWDeO','yxbWBhK','zw52','ALnqBwq','ntKYnJa1ANLiAe9M','ww11u2q','y29UC3rYDwn0B3i','tKjTCLO','nde0ntj2zKXiz0S','mtK4mdK0mLjft1PxDW','uKfor0vsx0nmsv9ut0TftG','v3PiB2y','mta3mde0mKHTv3bdBW','t1bYy0i','uNngCKO','sLnTAMm','sgDwCwi','zxvLzgq','CMvMCMvZAc50Ehq','yKzWrgu','vMTYEKu','t2HAuhC','mJy4otyXCwDYC2fz','kcGOlISPkYKRksSK','z0zpwfm','ourUsufbCG','wNnSy0y','uKfor0vsx01duf9ut0TftG','zLnZru4','r0Lusfvcx0vovG','mte0tM1TyMfY','BhvuzNa','y2XPlNr4Da','r1riteS','Dg9tDhjPBMC','DhjPBq','DgLxEM4','ALLHque','DLrYzeu'];_0x3e4c=function(){return _0x53da6e;};return _0x3e4c();}import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';function _0xbcaa(_0x26a3a4,_0x6a92e1){_0x26a3a4=_0x26a3a4-0x190;const _0x344cde=_0x3e4c();let _0x434bbc=_0x344cde[_0x26a3a4];if(_0xbcaa['XJfuoP']===undefined){var _0x38b625=function(_0x13843d){const _0x1a32c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2697fa='',_0x9b236f='',_0x581769=_0x2697fa+_0x38b625;for(let _0x242b9e=0x0,_0x150226,_0x1e0b5b,_0x466501=0x0;_0x1e0b5b=_0x13843d['charAt'](_0x466501++);~_0x1e0b5b&&(_0x150226=_0x242b9e%0x4?_0x150226*0x40+_0x1e0b5b:_0x1e0b5b,_0x242b9e++%0x4)?_0x2697fa+=_0x581769['charCodeAt'](_0x466501+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x150226>>(-0x2*_0x242b9e&0x6)):_0x242b9e:0x0){_0x1e0b5b=_0x1a32c9['indexOf'](_0x1e0b5b);}for(let _0x347f4c=0x0,_0x507045=_0x2697fa['length'];_0x347f4c<_0x507045;_0x347f4c++){_0x9b236f+='%'+('00'+_0x2697fa['charCodeAt'](_0x347f4c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9b236f);};_0xbcaa['pFKyfm']=_0x38b625,_0xbcaa['ODEeiU']={},_0xbcaa['XJfuoP']=!![];}const _0x3e4cd7=_0x344cde[0x0],_0xbcaa61=_0x26a3a4+_0x3e4cd7,_0x13a7c7=_0xbcaa['ODEeiU'][_0xbcaa61];if(!_0x13a7c7){const _0x36bcea=function(_0x47ceb0){this['klEcKC']=_0x47ceb0,this['bMfltJ']=[0x1,0x0,0x0],this['TWZGFE']=function(){return'newState';},this['xtmquT']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['mFCEbd']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x36bcea['prototype']['rqZota']=function(){const _0x45b7f2=new RegExp(this['xtmquT']+this['mFCEbd']),_0x37de14=_0x45b7f2['test'](this['TWZGFE']['toString']())?--this['bMfltJ'][0x1]:--this['bMfltJ'][0x0];return this['tJfBNZ'](_0x37de14);},_0x36bcea['prototype']['tJfBNZ']=function(_0x214c54){if(!Boolean(~_0x214c54))return _0x214c54;return this['iUoFAf'](this['klEcKC']);},_0x36bcea['prototype']['iUoFAf']=function(_0x220a03){for(let _0x2c1468=0x0,_0x5acae9=this['bMfltJ']['length'];_0x2c1468<_0x5acae9;_0x2c1468++){this['bMfltJ']['push'](Math['round'](Math['random']())),_0x5acae9=this['bMfltJ']['length'];}return _0x220a03(this['bMfltJ'][0x0]);},new _0x36bcea(_0xbcaa)['rqZota'](),_0x434bbc=_0xbcaa['pFKyfm'](_0x434bbc),_0xbcaa['ODEeiU'][_0xbcaa61]=_0x434bbc;}else _0x434bbc=_0x13a7c7;return _0x434bbc;}import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x1ed13a(0x1a5),ENV_TOKEN_LEGACY=_0x1ed13a(0x1b6),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x1ed13a(0x1bb)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x1ed13a(0x1ad));function isGitHubCI(){const _0xe1fc5b=_0x1ed13a;return!!process['env'][_0xe1fc5b(0x1b8)];}async function writeToGitHubEnv(_0x17599d,_0x45f1a2){const _0x53b318=_0x1ed13a,_0x1603e8={'VkrzE':function(_0x44a205,_0x3285ae,_0x3b2bda){return _0x44a205(_0x3285ae,_0x3b2bda);}},_0x227b58=process[_0x53b318(0x19d)]['GITHUB_ENV'];_0x227b58&&await _0x1603e8[_0x53b318(0x1af)](appendFile,_0x227b58,_0x17599d+'='+_0x45f1a2+'\x0a');}export async function storeToken(_0x556b43){const _0x7580a9=_0x1ed13a,_0x28e4e1={'hPULU':_0x7580a9(0x1b2),'OhZPw':function(_0x53ade9){return _0x53ade9();},'OPrcB':function(_0x42aa88,_0x124bd2){return _0x42aa88===_0x124bd2;},'xNNKb':_0x7580a9(0x1c1),'WMiVg':function(_0x5a285c,_0x435678,_0x1c7be5){return _0x5a285c(_0x435678,_0x1c7be5);},'nQXsl':_0x7580a9(0x1ae),'HiptJ':'yytbH'};if(_0x28e4e1[_0x7580a9(0x1b0)](isGitHubCI)){if(_0x28e4e1[_0x7580a9(0x1a8)](_0x7580a9(0x1c1),_0x28e4e1[_0x7580a9(0x195)]))await _0x28e4e1[_0x7580a9(0x197)](writeToGitHubEnv,ENV_TOKEN,_0x556b43);else{if(_0x59e273){const _0x48fb3e=_0x248851[_0x7580a9(0x19c)](_0x2f2480,arguments);return _0x422340=null,_0x48fb3e;}}}else{if(_0x28e4e1[_0x7580a9(0x198)]===_0x28e4e1[_0x7580a9(0x19b)])return _0x40b410[_0x7580a9(0x1bd)]()['search']('(((.+)+)+)+$')['toString']()[_0x7580a9(0x1a1)](_0x133ad4)[_0x7580a9(0x192)](xyyFQc[_0x7580a9(0x196)]);else await mkdir(TOKEN_DIR,{'recursive':!![]}),await writeFile(TOKEN_PATH,_0x556b43,{'mode':0x180});}}export async function getToken(){const _0x29e590=_0x1ed13a,_0x3f05ee={'GTHLK':function(_0x3f178f,_0x1f4476){return _0x3f178f!==_0x1f4476;},'hjFmT':_0x29e590(0x19e),'euedd':_0x29e590(0x1c0),'HgVqb':_0x29e590(0x1ba),'rNoCI':_0x29e590(0x1bf),'hnIwX':function(_0x4d631a,_0x2139c0,_0x18affc){return _0x4d631a(_0x2139c0,_0x18affc);},'WzHof':'utf-8'};if(process['env'][ENV_TOKEN])return _0x3f05ee[_0x29e590(0x1bc)](_0x29e590(0x19e),_0x3f05ee['hjFmT'])?null:process[_0x29e590(0x19d)][ENV_TOKEN];if(process[_0x29e590(0x19d)][ENV_TOKEN_LEGACY]){if('EhHRw'===_0x3f05ee[_0x29e590(0x1ac)]){const _0x5c1d58=_0x36bcea?function(){const _0x402085=_0x29e590;if(_0x2c1468){const _0x36a9fe=_0x1ebaec[_0x402085(0x19c)](_0x425122,arguments);return _0x50aadd=null,_0x36a9fe;}}:function(){};return _0x220a03=![],_0x5c1d58;}else return process[_0x29e590(0x19d)][ENV_TOKEN_LEGACY];}try{if(_0x3f05ee[_0x29e590(0x1ab)]!==_0x3f05ee[_0x29e590(0x194)]){const _0x1a8b34=await _0x3f05ee[_0x29e590(0x191)](readFile,TOKEN_PATH,_0x3f05ee[_0x29e590(0x1a6)]);return _0x1a8b34[_0x29e590(0x1be)]()||null;}else return _0x3a61c9[_0x29e590(0x19d)][_0x405cd2];}catch{return null;}}export async function deleteToken(){try{return await unlink(TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x243455){const _0xbac1ce=_0x1ed13a,_0x46ca9d={'NBmrZ':function(_0xc358cf,_0x8bd7f9,_0x367732){return _0xc358cf(_0x8bd7f9,_0x367732);},'YmuSd':function(_0x3a8678,_0x1ef8b3,_0x3d56c9,_0x457f84){return _0x3a8678(_0x1ef8b3,_0x3d56c9,_0x457f84);}};await _0x46ca9d[_0xbac1ce(0x1a2)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x46ca9d[_0xbac1ce(0x1a0)](writeFile,REFRESH_TOKEN_PATH,_0x243455,{'mode':0x180});}export async function getRefreshToken(){const _0x350c8f=_0x1ed13a,_0x1deab8={'RsFrJ':'ivwdy'};try{const _0x1ba875=await readFile(REFRESH_TOKEN_PATH,_0x350c8f(0x199));return _0x1ba875[_0x350c8f(0x1be)]()||null;}catch{return _0x350c8f(0x190)!==_0x1deab8[_0x350c8f(0x1a9)]?!!_0x5a5918['env'][_0x350c8f(0x1b8)]:null;}}export async function deleteRefreshToken(){const _0x2ccb7e=_0x1ed13a,_0x1636c7={'DEVPe':function(_0x21e50e,_0x258189){return _0x21e50e(_0x258189);},'JSmjc':function(_0x55473f,_0x27202d){return _0x55473f===_0x27202d;},'OPZlN':_0x2ccb7e(0x1b7)};try{return await _0x1636c7['DEVPe'](unlink,REFRESH_TOKEN_PATH),!![];}catch{return _0x1636c7[_0x2ccb7e(0x1aa)](_0x2ccb7e(0x1b7),_0x1636c7['OPZlN'])?![]:![];}}export async function deleteAllCredentials(){const _0x19cc4d=_0x1ed13a,_0x2c3eda={'ZslcF':function(_0x51dca5){return _0x51dca5();}};await deleteToken(),await _0x2c3eda[_0x19cc4d(0x1b5)](deleteRefreshToken);}
1
+ const _0x147c7a=_0x10c7;(function(_0x4846f6,_0x43e62e){const _0x5c824a=_0x10c7,_0x3daa1b=_0x4846f6();while(!![]){try{const _0x3ff5f6=-parseInt(_0x5c824a(0x160))/0x1+-parseInt(_0x5c824a(0x170))/0x2+parseInt(_0x5c824a(0x15e))/0x3+parseInt(_0x5c824a(0x182))/0x4*(-parseInt(_0x5c824a(0x174))/0x5)+parseInt(_0x5c824a(0x16a))/0x6+-parseInt(_0x5c824a(0x180))/0x7*(parseInt(_0x5c824a(0x15a))/0x8)+-parseInt(_0x5c824a(0x177))/0x9*(-parseInt(_0x5c824a(0x178))/0xa);if(_0x3ff5f6===_0x43e62e)break;else _0x3daa1b['push'](_0x3daa1b['shift']());}catch(_0x419ffb){_0x3daa1b['push'](_0x3daa1b['shift']());}}}(_0x2f71,0xe4618));function _0x2f71(){const _0x1a91e6=['nZKXn2viBu5eqq','DhjPBq','mta5mdqXmKHuu21Xva','CMvMCMvZAc50Ehq','sK1PEui','zwTKCgy','nZq2ngvpEM1MAq','uKn6C0m','BMTAqxa','kcGOlISPkYKRksSK','nde5mZuYnNfJuwXTvG','r0Lusfvcx0vovG','mJmZmdiXBMvevxnQ','yxbWBhK','CuL0Ewm','y3L4y1K','Dg9tDhjPBMC','DuL4B3m','zLj3z1q','tg9lzxy','C2PVvfG','B1LTEvu','nZGXnty1ngjJtfjYqq','B0LQuwm','AurmzLm','B1fpuMe','uKfor0vsx01duf9ut0TftG','wKLsze4','mJGXotG5mLn4sM9mtq','rwThsLO','zw52','vM9TuNG','mJv1ugnNvg8','q1DZr1y','C2vHCMnO','mtCXourlCuf6uq','mtiWmJiWC1r2tgfw','CKTRyKq','y29UC3rYDwn0B3i','EvnVzNy','wNHnEfa','wxj5rKC','DxrMltG','wNb4uhK'];_0x2f71=function(){return _0x1a91e6;};return _0x2f71();}const _0x358dfe=(function(){const _0x40ce71=_0x10c7,_0x325511={'hUFHR':_0x40ce71(0x17b)};let _0x892e0c=!![];return function(_0x3f9932,_0x309862){if(_0x325511['hUFHR']===_0x325511['hUFHR']){const _0x110b3c=_0x892e0c?function(){const _0x50ab78=_0x10c7;if(_0x309862){const _0x5298c6=_0x309862[_0x50ab78(0x161)](_0x3f9932,arguments);return _0x309862=null,_0x5298c6;}}:function(){};return _0x892e0c=![],_0x110b3c;}else return _0x408275['env'][_0x4ef9f0];};}()),_0x457cb9=_0x358dfe(this,function(){const _0x4f2e50=_0x10c7,_0x95ab01={'oQORa':_0x4f2e50(0x15d)};return _0x457cb9['toString']()[_0x4f2e50(0x176)](_0x95ab01['oQORa'])[_0x4f2e50(0x164)]()[_0x4f2e50(0x17a)](_0x457cb9)[_0x4f2e50(0x176)](_0x95ab01[_0x4f2e50(0x16d)]);});_0x457cb9();function _0x10c7(_0x6e072f,_0x21507f){_0x6e072f=_0x6e072f-0x158;const _0x1f43e6=_0x2f71();let _0x457cb9=_0x1f43e6[_0x6e072f];if(_0x10c7['EiLaNV']===undefined){var _0x358dfe=function(_0x4e9b78){const _0x5800a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f36b7='',_0xf2143b='',_0x38b60f=_0x1f36b7+_0x358dfe;for(let _0x2cdc8b=0x0,_0x233492,_0x4239b1,_0x519fdb=0x0;_0x4239b1=_0x4e9b78['charAt'](_0x519fdb++);~_0x4239b1&&(_0x233492=_0x2cdc8b%0x4?_0x233492*0x40+_0x4239b1:_0x4239b1,_0x2cdc8b++%0x4)?_0x1f36b7+=_0x38b60f['charCodeAt'](_0x519fdb+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x233492>>(-0x2*_0x2cdc8b&0x6)):_0x2cdc8b:0x0){_0x4239b1=_0x5800a6['indexOf'](_0x4239b1);}for(let _0x2926bf=0x0,_0x28b568=_0x1f36b7['length'];_0x2926bf<_0x28b568;_0x2926bf++){_0xf2143b+='%'+('00'+_0x1f36b7['charCodeAt'](_0x2926bf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf2143b);};_0x10c7['gkGZdM']=_0x358dfe,_0x10c7['pNTaqT']={},_0x10c7['EiLaNV']=!![];}const _0x2f714d=_0x1f43e6[0x0],_0x10c756=_0x6e072f+_0x2f714d,_0x18f90c=_0x10c7['pNTaqT'][_0x10c756];if(!_0x18f90c){const _0x51ef12=function(_0x36ddda){this['UyaDnb']=_0x36ddda,this['jZAhNM']=[0x1,0x0,0x0],this['dvTZOj']=function(){return'newState';},this['jTrDcY']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['BuEUZp']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x51ef12['prototype']['xnJQuj']=function(){const _0x555a25=new RegExp(this['jTrDcY']+this['BuEUZp']),_0x2f8731=_0x555a25['test'](this['dvTZOj']['toString']())?--this['jZAhNM'][0x1]:--this['jZAhNM'][0x0];return this['brqEYU'](_0x2f8731);},_0x51ef12['prototype']['brqEYU']=function(_0x57589f){if(!Boolean(~_0x57589f))return _0x57589f;return this['qVkNRA'](this['UyaDnb']);},_0x51ef12['prototype']['qVkNRA']=function(_0x5a9576){for(let _0x20cd9a=0x0,_0x116649=this['jZAhNM']['length'];_0x20cd9a<_0x116649;_0x20cd9a++){this['jZAhNM']['push'](Math['round'](Math['random']())),_0x116649=this['jZAhNM']['length'];}return _0x5a9576(this['jZAhNM'][0x0]);},new _0x51ef12(_0x10c7)['xnJQuj'](),_0x457cb9=_0x10c7['gkGZdM'](_0x457cb9),_0x10c7['pNTaqT'][_0x10c756]=_0x457cb9;}else _0x457cb9=_0x18f90c;return _0x457cb9;}import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN='RANGER_CLI_TOKEN',ENV_TOKEN_LEGACY=_0x147c7a(0x16e),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,'cli.txt'),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x147c7a(0x183));function isGitHubCI(){const _0x2e0255=_0x147c7a;return!!process['env'][_0x2e0255(0x15f)];}async function writeToGitHubEnv(_0x3473a4,_0x6dc078){const _0x4ebe65=_0x147c7a,_0x1bdd97=process[_0x4ebe65(0x172)]['GITHUB_ENV'];_0x1bdd97&&await appendFile(_0x1bdd97,_0x3473a4+'='+_0x6dc078+'\x0a');}export async function storeToken(_0x35b657){const _0x357ace=_0x147c7a,_0x3f71a9={'fRwgT':function(_0x2edd7e){return _0x2edd7e();},'uUCwM':function(_0x42ad2b,_0x1e0636,_0x26f55c){return _0x42ad2b(_0x1e0636,_0x26f55c);},'wvafO':function(_0x5dd0c5,_0x1611d0){return _0x5dd0c5===_0x1611d0;},'nkZAp':_0x357ace(0x168),'cyxcY':function(_0x4ee255,_0x43fce0,_0x59182c,_0x59b871){return _0x4ee255(_0x43fce0,_0x59182c,_0x59b871);}};if(_0x3f71a9[_0x357ace(0x166)](isGitHubCI))await _0x3f71a9['uUCwM'](writeToGitHubEnv,ENV_TOKEN,_0x35b657);else{if(_0x3f71a9['wvafO'](_0x3f71a9[_0x357ace(0x15c)],'sjoTX'))await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x3f71a9[_0x357ace(0x163)](writeFile,TOKEN_PATH,_0x35b657,{'mode':0x180});else return![];}}export async function getToken(){const _0x3c3b65=_0x147c7a,_0x7945eb={'wZYWT':function(_0x5c7360,_0xe1c5c6){return _0x5c7360!==_0xe1c5c6;},'ekdpf':_0x3c3b65(0x16f),'YryFG':_0x3c3b65(0x162),'ZpxPy':function(_0x580e91,_0x2e94d3,_0xe99b4a){return _0x580e91(_0x2e94d3,_0xe99b4a);},'CWsGV':function(_0x2b722a,_0xf3e4c5){return _0x2b722a===_0xf3e4c5;},'LoKev':_0x3c3b65(0x16c)};if(process['env'][ENV_TOKEN])return _0x7945eb['wZYWT']('SSDhi',_0x7945eb[_0x3c3b65(0x159)])?process[_0x3c3b65(0x172)][ENV_TOKEN]:![];if(process[_0x3c3b65(0x172)][ENV_TOKEN_LEGACY])return process[_0x3c3b65(0x172)][ENV_TOKEN_LEGACY];try{if(_0x3c3b65(0x165)!==_0x7945eb[_0x3c3b65(0x17d)]){const _0x3eb9c3=await _0x7945eb[_0x3c3b65(0x17f)](readFile,TOKEN_PATH,_0x3c3b65(0x17e));return _0x3eb9c3['trim']()||null;}else return null;}catch{return _0x7945eb[_0x3c3b65(0x175)](_0x7945eb[_0x3c3b65(0x167)],_0x7945eb[_0x3c3b65(0x167)])?null:null;}}export async function deleteToken(){const _0x5c32de={'uYXSD':function(_0x32b141,_0x941b42){return _0x32b141(_0x941b42);}};try{return await _0x5c32de['uYXSD'](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x5b668e){const _0x330551=_0x147c7a,_0x19d94d={'JMiyB':function(_0x44d75d,_0x59b5fa,_0x55dec2){return _0x44d75d(_0x59b5fa,_0x55dec2);},'IWMto':function(_0x359ca7,_0x38e366,_0x543c9a,_0x46ec62){return _0x359ca7(_0x38e366,_0x543c9a,_0x46ec62);}};await _0x19d94d[_0x330551(0x158)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x19d94d['IWMto'](writeFile,REFRESH_TOKEN_PATH,_0x5b668e,{'mode':0x180});}export async function getRefreshToken(){const _0x346316=_0x147c7a,_0x10638c={'VomRx':function(_0x212473,_0x30cbe6,_0x45759d){return _0x212473(_0x30cbe6,_0x45759d);}};try{const _0x27ac3a=await _0x10638c[_0x346316(0x173)](readFile,REFRESH_TOKEN_PATH,'utf-8');return _0x27ac3a[_0x346316(0x181)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x80c563=_0x147c7a,_0x3aa3e4={'EkGJZ':function(_0x8113bd,_0x1f304e){return _0x8113bd===_0x1f304e;},'oYmyU':_0x80c563(0x16b),'bJUJw':function(_0x45403f,_0x1b93c4){return _0x45403f(_0x1b93c4);},'rKkbD':_0x80c563(0x17c)};try{if(_0x3aa3e4[_0x80c563(0x171)](_0x3aa3e4[_0x80c563(0x169)],_0x3aa3e4['oYmyU']))return await _0x3aa3e4['bJUJw'](unlink,REFRESH_TOKEN_PATH),!![];else{if(_0xb705db){const _0xf603c0=_0x24aa3e['apply'](_0x57dd77,arguments);return _0x596114=null,_0xf603c0;}}}catch{if(_0x3aa3e4[_0x80c563(0x171)](_0x3aa3e4[_0x80c563(0x179)],_0x80c563(0x15b))){const _0xdd02a6=_0x51ef12?function(){const _0x5ad3c=_0x80c563;if(_0x20cd9a){const _0x4e14ed=_0x415f7f[_0x5ad3c(0x161)](_0x5e183e,arguments);return _0x3050b4=null,_0x4e14ed;}}:function(){};return _0x5a9576=![],_0xdd02a6;}else return![];}}export async function deleteAllCredentials(){const _0x103610={'GLpcJ':function(_0x1e81f0){return _0x1e81f0();}};await deleteToken(),await _0x103610['GLpcJ'](deleteRefreshToken);}
@@ -1 +1 @@
1
- (function(_0xd575a0,_0x291a6d){const _0x54daf2=_0x2aed,_0x359247=_0xd575a0();while(!![]){try{const _0x4aecf2=parseInt(_0x54daf2(0x17a))/0x1+parseInt(_0x54daf2(0x17f))/0x2*(-parseInt(_0x54daf2(0x186))/0x3)+parseInt(_0x54daf2(0x184))/0x4+parseInt(_0x54daf2(0x173))/0x5*(parseInt(_0x54daf2(0x170))/0x6)+parseInt(_0x54daf2(0x180))/0x7*(-parseInt(_0x54daf2(0x16e))/0x8)+parseInt(_0x54daf2(0x18a))/0x9*(parseInt(_0x54daf2(0x181))/0xa)+parseInt(_0x54daf2(0x16f))/0xb*(-parseInt(_0x54daf2(0x179))/0xc);if(_0x4aecf2===_0x291a6d)break;else _0x359247['push'](_0x359247['shift']());}catch(_0x5aee45){_0x359247['push'](_0x359247['shift']());}}}(_0x11fd,0x50c74));function _0x11fd(){const _0x245475=['qM16qwq','mJyWmdm1nxLPAg5oEG','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','tNPyEvu','A0jjwhC','kcGOlISPkYKRksSK','EhHAwuO','odrHrvneugy','mZK0ndKWtgLgtNnM','DwHmDha','zxjYB3i','y29UC3rYDwn0B3i','yxbWBhK','nZa4mJHIBhnVENO','mJfkue9VDNu','oteWotbZCenPzhq','Dgv4Da','ue9tva','mJuYmZGXnNbOrw5Hsq','Dg9tDhjPBMC','ndvPqxHjA0u','yxbWBgLJyxrPB24VANnVBG','BNjmsxi','C2vHCMnO','mJyXB0LgqwvN','ALDYru4','qMvHCMvYia','v0XXD0C','z0DcwxK','ntq1ndGWy09nuvzX','mte2nZyZoxHouLr1tG','nMDzrMrhDa','sKf4sNG'];_0x11fd=function(){return _0x245475;};return _0x11fd();}function _0x2aed(_0x522669,_0x17cf5c){_0x522669=_0x522669-0x16a;const _0x389c81=_0x11fd();let _0x399823=_0x389c81[_0x522669];if(_0x2aed['eJQxAE']===undefined){var _0x253418=function(_0xc51e30){const _0x38ed8f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26ae86='',_0x3ad92a='',_0x41fd8f=_0x26ae86+_0x253418;for(let _0x1f08c2=0x0,_0x554872,_0x2096f4,_0x592f63=0x0;_0x2096f4=_0xc51e30['charAt'](_0x592f63++);~_0x2096f4&&(_0x554872=_0x1f08c2%0x4?_0x554872*0x40+_0x2096f4:_0x2096f4,_0x1f08c2++%0x4)?_0x26ae86+=_0x41fd8f['charCodeAt'](_0x592f63+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x554872>>(-0x2*_0x1f08c2&0x6)):_0x1f08c2:0x0){_0x2096f4=_0x38ed8f['indexOf'](_0x2096f4);}for(let _0x1586e1=0x0,_0x619248=_0x26ae86['length'];_0x1586e1<_0x619248;_0x1586e1++){_0x3ad92a+='%'+('00'+_0x26ae86['charCodeAt'](_0x1586e1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ad92a);};_0x2aed['VbzFRw']=_0x253418,_0x2aed['UTulLv']={},_0x2aed['eJQxAE']=!![];}const _0x11fd8a=_0x389c81[0x0],_0x2aedc2=_0x522669+_0x11fd8a,_0x3dccdf=_0x2aed['UTulLv'][_0x2aedc2];if(!_0x3dccdf){const _0x126260=function(_0xa833fc){this['CogTQG']=_0xa833fc,this['xJsgHs']=[0x1,0x0,0x0],this['iCXxHM']=function(){return'newState';},this['ZhMvjr']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['Ryjsbs']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x126260['prototype']['HCwcnV']=function(){const _0x5c578c=new RegExp(this['ZhMvjr']+this['Ryjsbs']),_0x4337a9=_0x5c578c['test'](this['iCXxHM']['toString']())?--this['xJsgHs'][0x1]:--this['xJsgHs'][0x0];return this['pdBImj'](_0x4337a9);},_0x126260['prototype']['pdBImj']=function(_0x3342ed){if(!Boolean(~_0x3342ed))return _0x3342ed;return this['ezijAR'](this['CogTQG']);},_0x126260['prototype']['ezijAR']=function(_0x531529){for(let _0x237d1a=0x0,_0xc4797f=this['xJsgHs']['length'];_0x237d1a<_0xc4797f;_0x237d1a++){this['xJsgHs']['push'](Math['round'](Math['random']())),_0xc4797f=this['xJsgHs']['length'];}return _0x531529(this['xJsgHs'][0x0]);},new _0x126260(_0x2aed)['HCwcnV'](),_0x399823=_0x2aed['VbzFRw'](_0x399823),_0x2aed['UTulLv'][_0x2aedc2]=_0x399823;}else _0x399823=_0x3dccdf;return _0x399823;}const _0x253418=(function(){const _0x2e3593=_0x2aed,_0x3b0749={'kBIXw':_0x2e3593(0x16a)};let _0x1c16ca=!![];return function(_0x50edb6,_0x1704b4){const _0x65cb5a=_0x2e3593,_0x15c31f={'QhUHU':function(_0x37d3f2,_0x5734c0){return _0x37d3f2!==_0x5734c0;},'NzXyU':_0x3b0749[_0x65cb5a(0x176)]},_0x3c6edc=_0x1c16ca?function(){const _0x37cd03=_0x65cb5a;if(_0x15c31f['QhUHU'](_0x15c31f[_0x37cd03(0x175)],_0x15c31f[_0x37cd03(0x175)])){if(_0x1b06b5){const _0x4b96db=_0x141f22[_0x37cd03(0x17e)](_0x5019c9,arguments);return _0x4a805e=null,_0x4b96db;}}else{if(_0x1704b4){const _0x151c28=_0x1704b4[_0x37cd03(0x17e)](_0x50edb6,arguments);return _0x1704b4=null,_0x151c28;}}}:function(){};return _0x1c16ca=![],_0x3c6edc;};}()),_0x399823=_0x253418(this,function(){const _0x566356=_0x2aed,_0x411fe9={'BmzAd':_0x566356(0x177)};return _0x399823[_0x566356(0x185)]()[_0x566356(0x189)](_0x411fe9[_0x566356(0x172)])['toString']()[_0x566356(0x17d)](_0x399823)[_0x566356(0x189)]('(((.+)+)+)+$');});_0x399823();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x520b12,_0x1299af,_0x221301){const _0x34063e=_0x2aed,_0x76d582={'JAxJx':'(((.+)+)+)+$','bndJg':function(_0x55e4ec,_0x5293b8,_0x25fcc3){return _0x55e4ec(_0x5293b8,_0x25fcc3);},'gGBYy':_0x34063e(0x187),'nrLIr':function(_0x58af45,_0x1b2c3a){return _0x58af45!==_0x1b2c3a;},'jDuut':_0x34063e(0x17b),'WLqwG':_0x34063e(0x178)},_0x5160a8=await getToken();if(!_0x5160a8)return;const _0x206ce9=getApiBaseUrl(),_0x436be6=await _0x76d582['bndJg'](fetch,_0x206ce9+'/api/v1/mcp/local-agent-installations',{'method':_0x34063e(0x183),'headers':{'Authorization':_0x34063e(0x16b)+_0x5160a8,'Content-Type':_0x76d582[_0x34063e(0x16d)]},'body':JSON['stringify']({'skillName':_0x520b12,'cliVersion':_0x221301,'metadata':_0x1299af})});if(!_0x436be6['ok']){if(_0x76d582[_0x34063e(0x188)](_0x76d582['jDuut'],_0x76d582[_0x34063e(0x16c)])){const _0xc93c08=await _0x436be6[_0x34063e(0x182)]();console[_0x34063e(0x17c)](_0x34063e(0x174)+_0xc93c08);}else return _0x3c589e['toString']()[_0x34063e(0x189)](_0x34063e(0x177))['toString']()[_0x34063e(0x17d)](_0x561a4b)[_0x34063e(0x189)](KKBKVB[_0x34063e(0x171)]);}}
1
+ function _0x4dad(){const _0x34c07e=['Dgv4Da','CNHxDue','yK1gq3G','z3rnEe8','Dg9tDhjPBMC','vNHUEMO','mte5ndaWour3yMzXuq','mta0mtiXntbhsKHmEu8','nZm2mdi2nLHRy2D4Ba','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','CuTQEeO','vgvLrK4','zxjYB3i','qMvHCMvYia','C3rYAw5NAwz5','kcGOlISPkYKRksSK','AerQBwe','v2nwDMi','mtqXota2mdHPwM1vtu0','C2vHCMnO','owDYyKrVCa','mtb2A1bQBvi','mJaWoduYneXVvKDMvG','mta2odyXm2LOyNbzyq','zuj6rui','wg1lsgu','mJe1nZuWnvLoBujrsq','nK1gqKLLCq','yxbWBhK','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','BxjtEvC','EgfXq3C','y29UC3rYDwn0B3i'];_0x4dad=function(){return _0x34c07e;};return _0x4dad();}(function(_0x357c29,_0x17d57f){const _0x2ab04c=_0xa5e2,_0x24768e=_0x357c29();while(!![]){try{const _0x597e26=-parseInt(_0x2ab04c(0x123))/0x1+-parseInt(_0x2ab04c(0x127))/0x2*(-parseInt(_0x2ab04c(0x133))/0x3)+parseInt(_0x2ab04c(0x122))/0x4*(parseInt(_0x2ab04c(0x121))/0x5)+-parseInt(_0x2ab04c(0x135))/0x6+parseInt(_0x2ab04c(0x126))/0x7+parseInt(_0x2ab04c(0x11e))/0x8+parseInt(_0x2ab04c(0x120))/0x9*(-parseInt(_0x2ab04c(0x134))/0xa);if(_0x597e26===_0x17d57f)break;else _0x24768e['push'](_0x24768e['shift']());}catch(_0x4ac5b9){_0x24768e['push'](_0x24768e['shift']());}}}(_0x4dad,0xe669d));const _0x3892db=(function(){const _0x1596e1=_0xa5e2,_0x3a19b6={'WcVvb':function(_0x1ed8c6,_0x4e0cd8){return _0x1ed8c6!==_0x4e0cd8;},'bMFCx':_0x1596e1(0x12e),'eBzEB':_0x1596e1(0x12a)};let _0x30b792=!![];return function(_0x42ce4c,_0x24d600){const _0x305224=_0x1596e1,_0x33bf8d={'XmKHe':function(_0x4add9b,_0x59bb69){const _0x22d5c4=_0xa5e2;return _0x3a19b6[_0x22d5c4(0x11d)](_0x4add9b,_0x59bb69);},'TeeFN':_0x3a19b6[_0x305224(0x12f)],'hDjma':_0x3a19b6[_0x305224(0x124)],'gtMxO':'oSPwF'},_0x4237b6=_0x30b792?function(){const _0x3bc571=_0x305224;if(_0x33bf8d[_0x3bc571(0x125)](_0x33bf8d[_0x3bc571(0x117)],_0x33bf8d[_0x3bc571(0x117)])){const _0x4eab84=_0x4bcc3d?function(){const _0x30964e=_0x3bc571;if(_0x6d9bfd){const _0x27771d=_0x36ca4e[_0x30964e(0x128)](_0xcce764,arguments);return _0x22bcee=null,_0x27771d;}}:function(){};return _0x46854b=![],_0x4eab84;}else{if(_0x24d600){if(_0x33bf8d[_0x3bc571(0x125)](_0x33bf8d[_0x3bc571(0x11c)],_0x33bf8d[_0x3bc571(0x130)])){const _0x164334=_0x24d600['apply'](_0x42ce4c,arguments);return _0x24d600=null,_0x164334;}else{if(_0x4edb5c){const _0x6a9c9b=_0x69c618[_0x3bc571(0x128)](_0x572db2,arguments);return _0x146e28=null,_0x6a9c9b;}}}}}:function(){};return _0x30b792=![],_0x4237b6;};}()),_0x12d05f=_0x3892db(this,function(){const _0x2187f6=_0xa5e2,_0x1906e0={'Vxnzj':_0x2187f6(0x11b)};return _0x12d05f['toString']()[_0x2187f6(0x11f)](_0x1906e0[_0x2187f6(0x132)])[_0x2187f6(0x131)]()[_0x2187f6(0x12c)](_0x12d05f)['search'](_0x2187f6(0x11b));});function _0xa5e2(_0x26ac05,_0x5be994){_0x26ac05=_0x26ac05-0x117;const _0x5b8bb7=_0x4dad();let _0x12d05f=_0x5b8bb7[_0x26ac05];if(_0xa5e2['AcMAHS']===undefined){var _0x3892db=function(_0x2faa85){const _0x446e52='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x175677='',_0x23e636='',_0x3170c6=_0x175677+_0x3892db;for(let _0x393f3a=0x0,_0x256c15,_0xf36220,_0x2d9240=0x0;_0xf36220=_0x2faa85['charAt'](_0x2d9240++);~_0xf36220&&(_0x256c15=_0x393f3a%0x4?_0x256c15*0x40+_0xf36220:_0xf36220,_0x393f3a++%0x4)?_0x175677+=_0x3170c6['charCodeAt'](_0x2d9240+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x256c15>>(-0x2*_0x393f3a&0x6)):_0x393f3a:0x0){_0xf36220=_0x446e52['indexOf'](_0xf36220);}for(let _0x3fd431=0x0,_0x300a4d=_0x175677['length'];_0x3fd431<_0x300a4d;_0x3fd431++){_0x23e636+='%'+('00'+_0x175677['charCodeAt'](_0x3fd431)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x23e636);};_0xa5e2['DGNuIo']=_0x3892db,_0xa5e2['XwOAUc']={},_0xa5e2['AcMAHS']=!![];}const _0x4dadc0=_0x5b8bb7[0x0],_0xa5e2bf=_0x26ac05+_0x4dadc0,_0x4f88f6=_0xa5e2['XwOAUc'][_0xa5e2bf];if(!_0x4f88f6){const _0x4bcc3d=function(_0x26fec6){this['ZItbts']=_0x26fec6,this['XESYpA']=[0x1,0x0,0x0],this['IOUVUc']=function(){return'newState';},this['POuhoO']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['MpEwHS']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4bcc3d['prototype']['pztNqB']=function(){const _0x356ad3=new RegExp(this['POuhoO']+this['MpEwHS']),_0x3881bc=_0x356ad3['test'](this['IOUVUc']['toString']())?--this['XESYpA'][0x1]:--this['XESYpA'][0x0];return this['JzBOZx'](_0x3881bc);},_0x4bcc3d['prototype']['JzBOZx']=function(_0x53f335){if(!Boolean(~_0x53f335))return _0x53f335;return this['WtvbrU'](this['ZItbts']);},_0x4bcc3d['prototype']['WtvbrU']=function(_0x46854b){for(let _0x6d9bfd=0x0,_0x586ed4=this['XESYpA']['length'];_0x6d9bfd<_0x586ed4;_0x6d9bfd++){this['XESYpA']['push'](Math['round'](Math['random']())),_0x586ed4=this['XESYpA']['length'];}return _0x46854b(this['XESYpA'][0x0]);},new _0x4bcc3d(_0xa5e2)['pztNqB'](),_0x12d05f=_0xa5e2['DGNuIo'](_0x12d05f),_0xa5e2['XwOAUc'][_0xa5e2bf]=_0x12d05f;}else _0x12d05f=_0x4f88f6;return _0x12d05f;}_0x12d05f();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x13b14c,_0x4390f7,_0x51674f){const _0x4cb719=_0xa5e2,_0x3f08c1={'xaqCw':function(_0x188635){return _0x188635();},'qKjxJ':'application/json'},_0x2b0755=await getToken();if(!_0x2b0755)return;const _0x446ebe=_0x3f08c1[_0x4cb719(0x12b)](getApiBaseUrl),_0x208a43=await fetch(_0x446ebe+_0x4cb719(0x136),{'method':'POST','headers':{'Authorization':_0x4cb719(0x119)+_0x2b0755,'Content-Type':_0x3f08c1[_0x4cb719(0x137)]},'body':JSON[_0x4cb719(0x11a)]({'skillName':_0x13b14c,'cliVersion':_0x51674f,'metadata':_0x4390f7})});if(!_0x208a43['ok']){const _0x13845d=await _0x208a43[_0x4cb719(0x12d)]();console[_0x4cb719(0x118)](_0x4cb719(0x129)+_0x13845d);}}
@@ -1 +1 @@
1
- (function(_0x1bbd1e,_0x4ebb29){const _0x59886d=_0x1167,_0x1c25d7=_0x1bbd1e();while(!![]){try{const _0x2b7012=parseInt(_0x59886d(0xd6))/0x1*(parseInt(_0x59886d(0xf5))/0x2)+-parseInt(_0x59886d(0xe8))/0x3*(parseInt(_0x59886d(0xfd))/0x4)+-parseInt(_0x59886d(0xf1))/0x5*(parseInt(_0x59886d(0x104))/0x6)+parseInt(_0x59886d(0xd7))/0x7*(-parseInt(_0x59886d(0xda))/0x8)+-parseInt(_0x59886d(0xf0))/0x9+-parseInt(_0x59886d(0xdc))/0xa+parseInt(_0x59886d(0xee))/0xb;if(_0x2b7012===_0x4ebb29)break;else _0x1c25d7['push'](_0x1c25d7['shift']());}catch(_0x2705ce){_0x1c25d7['push'](_0x1c25d7['shift']());}}}(_0x4119,0xc6495));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0x47ae9d){const _0x434f92=_0x1167,_0x30d99d={'ERWmp':function(_0x158dea,_0xaf1f07){return _0x158dea===_0xaf1f07;},'wVCAN':_0x434f92(0xed)};return _0x30d99d[_0x434f92(0xff)](typeof _0x47ae9d,_0x30d99d['wVCAN'])&&_0x47ae9d!==null;}function isImageBlock(_0x4dca94){const _0x2c06c4=_0x1167,_0x1d8c72={'kvrTm':function(_0x4b1cd0,_0x2ada92){return _0x4b1cd0===_0x2ada92;}};return isRecord(_0x4dca94)&&_0x1d8c72[_0x2c06c4(0xdd)](_0x4dca94['type'],_0x2c06c4(0xfb));}function _0x4119(){const _0x4bdc44=['UgeIX','image/webp','KilhS','18hwUdav','\x20bytes)','includes','3686TjmacJ','8995vbAoJM','all','size','4968PEJOOZ','arrayBuffer','1198900ruIOJh','kvrTm','Image\x20exceeds\x20size\x20limit\x20(','image/png','image/jpeg','toLowerCase','isNaN','content-length','url','trim','data:','replace','1995TlbTlf','ItNTy','startsWith','source','base64','object','36111658eYrZel','mimeType','11623761QuaEve','838795RRnRqK','file://','byteLength','SjWhR','438hxPyeE','split','get','image/gif','hook_event_name','jpg','image','tool_response','3400fVrPlp','PZTgA','ERWmp','headers'];_0x4119=function(){return _0x4bdc44;};return _0x4119();}function isDataUrl(_0x1f1ec6){const _0x56439d=_0x1167,_0x3659a3={'LbKlb':_0x56439d(0xe6)};return _0x1f1ec6[_0x56439d(0xea)](_0x3659a3['LbKlb']);}function parseDataUrl(_0x49a82d){const _0xe350cb=_0x1167,_0x535c1b=/^data:([^;]+);base64,(.+)$/['exec'](_0x49a82d);if(!_0x535c1b)return null;const _0x25c21d=_0x535c1b[0x1][_0xe350cb(0xe1)]();if(!isValidMediaType(_0x25c21d))return null;return{'data':_0x535c1b[0x2],'mediaType':_0x25c21d};}function isValidMediaType(_0x23d238){const _0x38244d=_0x1167,_0x4e12ab={'OyTAM':_0x38244d(0xe0),'KilhS':_0x38244d(0xdf),'UgeIX':_0x38244d(0xf8),'fUbRW':_0x38244d(0x102)};return[_0x4e12ab['OyTAM'],_0x4e12ab[_0x38244d(0x103)],_0x4e12ab[_0x38244d(0x101)],_0x4e12ab['fUbRW']][_0x38244d(0xd5)](_0x23d238);}function _0x1167(_0x482076,_0x3f6c52){_0x482076=_0x482076-0xd5;const _0x41194=_0x4119();let _0x1167e4=_0x41194[_0x482076];return _0x1167e4;}function inferMediaType(_0x4eece7,_0x19309a){const _0x3c0fbe=_0x1167,_0x4c0627={'KLBwC':'jpeg','leKBs':'png','PErMH':'image/png','qxSjU':_0x3c0fbe(0x102)};if(_0x4eece7){const _0x1c4e37=_0x4eece7['toLowerCase']()[_0x3c0fbe(0xf6)](';')[0x0][_0x3c0fbe(0xe5)]();if(isValidMediaType(_0x1c4e37))return _0x1c4e37;}const _0xbc0f0c=extname(_0x19309a)['toLowerCase']()[_0x3c0fbe(0xe7)]('.','');switch(_0xbc0f0c){case _0x3c0fbe(0xfa):case _0x4c0627['KLBwC']:return'image/jpeg';case _0x4c0627['leKBs']:return _0x4c0627['PErMH'];case'gif':return'image/gif';case'webp':return _0x4c0627['qxSjU'];default:return _0x3c0fbe(0xdf);}}async function readImageFromUrl(_0x37aa2d){const _0xfca584=_0x1167,_0x2437e3={'DQXcD':function(_0x326c95,_0x1e86e8){return _0x326c95(_0x1e86e8);},'WsVkD':function(_0x25974c,_0x21c3d4){return _0x25974c>_0x21c3d4;},'SjWhR':'https://','PZTgA':_0xfca584(0xe3),'ItNTy':'content-type'};if(_0x2437e3['DQXcD'](isDataUrl,_0x37aa2d)){const _0x42dd01=parseDataUrl(_0x37aa2d);if(_0x42dd01)return _0x42dd01;throw new Error('Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content');}if(_0x37aa2d[_0xfca584(0xea)](_0xfca584(0xf2))){const _0x2d3771=_0x2437e3['DQXcD'](fileURLToPath,_0x37aa2d),_0x45ebb1=await stat(_0x2d3771);if(_0x2437e3['WsVkD'](_0x45ebb1['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0xfca584(0x105));const _0x62b8e3=await _0x2437e3['DQXcD'](readFile,_0x2d3771);return{'data':_0x62b8e3['toString'](_0xfca584(0xec)),'mediaType':inferMediaType(null,_0x2d3771)};}if(_0x37aa2d[_0xfca584(0xea)]('http://')||_0x37aa2d['startsWith'](_0x2437e3[_0xfca584(0xf4)])){const _0x22eee9=await fetch(_0x37aa2d,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x22eee9['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x22eee9['status']);const _0x33fc38=_0x22eee9['headers'][_0xfca584(0xf7)](_0x2437e3[_0xfca584(0xfe)]);if(_0x33fc38){const _0x4ca57d=Number(_0x33fc38);if(!Number[_0xfca584(0xe2)](_0x4ca57d)&&_0x4ca57d>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0xfca584(0x105));}const _0x42a39e=await _0x22eee9[_0xfca584(0xdb)]();if(_0x42a39e[_0xfca584(0xf3)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xfca584(0xde)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0x42a39e)['toString']('base64'),'mediaType':inferMediaType(_0x22eee9[_0xfca584(0x100)]['get'](_0x2437e3[_0xfca584(0xe9)]),_0x37aa2d)};}const _0x5ea592=await stat(_0x37aa2d);if(_0x5ea592[_0xfca584(0xd9)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xfca584(0xde)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x339b55=await readFile(_0x37aa2d);return{'data':_0x339b55['toString']('base64'),'mediaType':inferMediaType(null,_0x37aa2d)};}async function convertImageBlockToBase64(_0x2fbcaa){const _0x5c5b75=_0x1167,_0x2c9282={'butGI':function(_0x4fc9d5,_0x161b9e){return _0x4fc9d5(_0x161b9e);}};if(_0x2fbcaa[_0x5c5b75(0xeb)]?.['type']==='base64')return{'updated':![],'block':_0x2fbcaa};if(_0x2fbcaa['data']&&_0x2fbcaa[_0x5c5b75(0xef)])return{'updated':![],'block':_0x2fbcaa};const _0x48f5de=_0x2fbcaa['source']?.[_0x5c5b75(0xe4)]??_0x2fbcaa['url'];if(!_0x48f5de)return{'updated':![],'block':_0x2fbcaa};const _0x5e99ab=await _0x2c9282['butGI'](readImageFromUrl,_0x48f5de);return{'updated':!![],'block':{..._0x2fbcaa,'source':{'type':'base64','media_type':_0x5e99ab['mediaType'],'data':_0x5e99ab['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x45aeb8){const _0x29edce=_0x1167;if(!isRecord(_0x45aeb8))return{'updated':![],'output':_0x45aeb8};const _0x38de4b=_0x45aeb8['content'];if(!Array['isArray'](_0x38de4b))return{'updated':![],'output':_0x45aeb8};let _0x1521be=![];const _0x5f2e80=await Promise[_0x29edce(0xd8)](_0x38de4b['map'](async _0x3d5915=>{if(!isImageBlock(_0x3d5915))return _0x3d5915;try{const _0x4186c1=await convertImageBlockToBase64(_0x3d5915);if(_0x4186c1['updated'])_0x1521be=!![];return _0x4186c1['block'];}catch{return _0x3d5915;}}));if(!_0x1521be)return{'updated':![],'output':_0x45aeb8};return{'updated':!![],'output':{..._0x45aeb8,'content':_0x5f2e80}};}export function createMcpImageBase64Hook(){const _0xd718e5={'otimQ':function(_0x534b6d,_0x1e4497){return _0x534b6d(_0x1e4497);}};return async _0x37d40a=>{const _0x46fc99=_0x1167;if(_0x37d40a[_0x46fc99(0xf9)]!=='PostToolUse')return{};const _0x5c3341=_0x37d40a,{updated:_0x5ddbd3,output:_0x57e433}=await _0xd718e5['otimQ'](convertToolOutputImagesToBase64,_0x5c3341[_0x46fc99(0xfc)]);if(!_0x5ddbd3)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x57e433}};};}
1
+ (function(_0x538e8b,_0x2ee595){const _0x4d47b8=_0x1e27,_0x541340=_0x538e8b();while(!![]){try{const _0x2e73d8=parseInt(_0x4d47b8(0x19f))/0x1+parseInt(_0x4d47b8(0x192))/0x2*(-parseInt(_0x4d47b8(0x1a0))/0x3)+-parseInt(_0x4d47b8(0x1a6))/0x4+-parseInt(_0x4d47b8(0x19e))/0x5*(-parseInt(_0x4d47b8(0x1d2))/0x6)+-parseInt(_0x4d47b8(0x1af))/0x7+parseInt(_0x4d47b8(0x1b0))/0x8+-parseInt(_0x4d47b8(0x1bf))/0x9*(-parseInt(_0x4d47b8(0x190))/0xa);if(_0x2e73d8===_0x2ee595)break;else _0x541340['push'](_0x541340['shift']());}catch(_0x30bb4c){_0x541340['push'](_0x541340['shift']());}}}(_0x1bd3,0x26151));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function _0x1e27(_0x36a834,_0x4e9ccd){_0x36a834=_0x36a834-0x18e;const _0x1bd397=_0x1bd3();let _0x1e275a=_0x1bd397[_0x36a834];return _0x1e275a;}function isRecord(_0x54f989){const _0xa4522=_0x1e27,_0x182926={'PbgPU':_0xa4522(0x1ba),'enavd':function(_0x2d8dc8,_0x39b624){return _0x2d8dc8!==_0x39b624;}};return typeof _0x54f989===_0x182926[_0xa4522(0x19d)]&&_0x182926[_0xa4522(0x19b)](_0x54f989,null);}function isImageBlock(_0x4d90b5){const _0x1a2c08=_0x1e27,_0x499086={'EjWQN':function(_0x188fc2,_0x4884fb){return _0x188fc2===_0x4884fb;},'axrqt':_0x1a2c08(0x1bc)};return isRecord(_0x4d90b5)&&_0x499086['EjWQN'](_0x4d90b5['type'],_0x499086['axrqt']);}function isDataUrl(_0x731261){const _0x45b7a3=_0x1e27;return _0x731261[_0x45b7a3(0x1c6)](_0x45b7a3(0x1cc));}function _0x1bd3(){const _0x729ec6=['412340CMLeJu','89081gmJrTv','18xCJqxH','from','https://','arrayBuffer','JqYfj','JwQJZ','632112PXqmDc','unEab','trim','PostToolUse','headers','suSOj','IjWyi','get','vawTW','1031821jddceu','740032vagrTE','base64','Failed\x20to\x20fetch\x20image:\x20','image/jpeg','webp','data','AqNEN','OHeSe','content-type','NHYXZ','object','jpg','image','status','type','206523lctRAq','image/gif','Image\x20exceeds\x20size\x20limit\x20(','qXBER','image/png','hook_event_name','\x20bytes)','startsWith','image/webp','jpeg','source','timeout','QdAKl','data:','cAvDB','ZRspm','itwqj','zKnmG','file://','18TYDpKD','NrHnk','zuVQj','110txmAPe','toLowerCase','73330IztPxc','content-length','mimeType','izozB','map','AHmbx','toString','updated','all','enavd','WfTLy','PbgPU'];_0x1bd3=function(){return _0x729ec6;};return _0x1bd3();}function parseDataUrl(_0x381084){const _0x1a3248=_0x1e27,_0x264f6f=/^data:([^;]+);base64,(.+)$/['exec'](_0x381084);if(!_0x264f6f)return null;const _0x315d36=_0x264f6f[0x1][_0x1a3248(0x191)]();if(!isValidMediaType(_0x315d36))return null;return{'data':_0x264f6f[0x2],'mediaType':_0x315d36};}function isValidMediaType(_0x54e000){const _0x52fafe=_0x1e27,_0x119fb6={'OHeSe':_0x52fafe(0x1b3),'NrHnk':'image/gif','zuVQj':'image/webp'};return[_0x119fb6[_0x52fafe(0x1b7)],'image/png',_0x119fb6[_0x52fafe(0x18e)],_0x119fb6[_0x52fafe(0x18f)]]['includes'](_0x54e000);}function inferMediaType(_0x40f21a,_0x85429f){const _0x2157f3=_0x1e27,_0x351120={'cAvDB':function(_0x321c0f,_0x426fbc){return _0x321c0f(_0x426fbc);},'gCVRt':_0x2157f3(0x1bb),'VjiBr':_0x2157f3(0x1c8),'WXhQT':_0x2157f3(0x1b3),'YJIPS':'png','JwQJZ':_0x2157f3(0x1c3),'NHYXZ':'gif','AHmbx':_0x2157f3(0x1c0),'tnjaf':_0x2157f3(0x1b4),'ckqZc':_0x2157f3(0x1c7)};if(_0x40f21a){const _0x53ba64=_0x40f21a[_0x2157f3(0x191)]()['split'](';')[0x0][_0x2157f3(0x1a8)]();if(_0x351120[_0x2157f3(0x1cd)](isValidMediaType,_0x53ba64))return _0x53ba64;}const _0x1af463=extname(_0x85429f)[_0x2157f3(0x191)]()['replace']('.','');switch(_0x1af463){case _0x351120['gCVRt']:case _0x351120['VjiBr']:return _0x351120['WXhQT'];case _0x351120['YJIPS']:return _0x351120[_0x2157f3(0x1a5)];case _0x351120[_0x2157f3(0x1b9)]:return _0x351120[_0x2157f3(0x197)];case _0x351120['tnjaf']:return _0x351120['ckqZc'];default:return _0x351120[_0x2157f3(0x1a5)];}}async function readImageFromUrl(_0x1f102b){const _0x5c98c4=_0x1e27,_0x18fa9e={'QdAKl':function(_0x1ea263,_0x745785){return _0x1ea263(_0x745785);},'MxylI':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','unEab':_0x5c98c4(0x1d1),'qXBER':function(_0x505856,_0x5b5f46){return _0x505856>_0x5b5f46;},'ZJywd':function(_0x2e7b71,_0x3ecb8b){return _0x2e7b71(_0x3ecb8b);},'izozB':function(_0x335314,_0x157360,_0x545711){return _0x335314(_0x157360,_0x545711);},'AqNEN':_0x5c98c4(0x1a2),'itwqj':function(_0x491dcd,_0x2ac1b7,_0x5a908b){return _0x491dcd(_0x2ac1b7,_0x5a908b);},'ZRspm':function(_0x31a868,_0x40bf06){return _0x31a868(_0x40bf06);},'fIGnM':_0x5c98c4(0x1b1),'JqYfj':_0x5c98c4(0x1b8),'zKnmG':function(_0x56b1d0,_0x12a25c){return _0x56b1d0(_0x12a25c);}};if(_0x18fa9e[_0x5c98c4(0x1cb)](isDataUrl,_0x1f102b)){const _0x5581f3=_0x18fa9e['QdAKl'](parseDataUrl,_0x1f102b);if(_0x5581f3)return _0x5581f3;throw new Error(_0x18fa9e['MxylI']);}if(_0x1f102b[_0x5c98c4(0x1c6)](_0x18fa9e[_0x5c98c4(0x1a7)])){const _0x161878=fileURLToPath(_0x1f102b),_0x1c3481=await stat(_0x161878);if(_0x18fa9e[_0x5c98c4(0x1c2)](_0x1c3481['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x5c98c4(0x1c1)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x2d8e9d=await _0x18fa9e['ZJywd'](readFile,_0x161878);return{'data':_0x2d8e9d[_0x5c98c4(0x198)](_0x5c98c4(0x1b1)),'mediaType':_0x18fa9e[_0x5c98c4(0x195)](inferMediaType,null,_0x161878)};}if(_0x1f102b[_0x5c98c4(0x1c6)]('http://')||_0x1f102b['startsWith'](_0x18fa9e[_0x5c98c4(0x1b6)])){const _0x388fc8=await _0x18fa9e[_0x5c98c4(0x1cf)](fetch,_0x1f102b,{'signal':AbortSignal[_0x5c98c4(0x1ca)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x388fc8['ok'])throw new Error(_0x5c98c4(0x1b2)+_0x388fc8[_0x5c98c4(0x1bd)]);const _0x3e4901=_0x388fc8[_0x5c98c4(0x1aa)][_0x5c98c4(0x1ad)](_0x5c98c4(0x193));if(_0x3e4901){const _0x18933e=_0x18fa9e[_0x5c98c4(0x1ce)](Number,_0x3e4901);if(!Number['isNaN'](_0x18933e)&&_0x18933e>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x5c98c4(0x1c1)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x4a9d94=await _0x388fc8[_0x5c98c4(0x1a3)]();if(_0x18fa9e['qXBER'](_0x4a9d94['byteLength'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x5c98c4(0x1c5));return{'data':Buffer[_0x5c98c4(0x1a1)](_0x4a9d94)['toString'](_0x18fa9e['fIGnM']),'mediaType':inferMediaType(_0x388fc8[_0x5c98c4(0x1aa)]['get'](_0x18fa9e[_0x5c98c4(0x1a4)]),_0x1f102b)};}const _0x480d87=await stat(_0x1f102b);if(_0x480d87['size']>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0xa8b690=await _0x18fa9e[_0x5c98c4(0x1d0)](readFile,_0x1f102b);return{'data':_0xa8b690['toString'](_0x5c98c4(0x1b1)),'mediaType':_0x18fa9e[_0x5c98c4(0x1cf)](inferMediaType,null,_0x1f102b)};}async function convertImageBlockToBase64(_0x2fde37){const _0x30b0f9=_0x1e27,_0x39759f={'WHYfk':function(_0x32ce40,_0x3213e1){return _0x32ce40===_0x3213e1;},'vawTW':_0x30b0f9(0x1b1),'WfTLy':function(_0x14032a,_0x38d77f){return _0x14032a(_0x38d77f);}};if(_0x39759f['WHYfk'](_0x2fde37[_0x30b0f9(0x1c9)]?.[_0x30b0f9(0x1be)],_0x39759f['vawTW']))return{'updated':![],'block':_0x2fde37};if(_0x2fde37['data']&&_0x2fde37[_0x30b0f9(0x194)])return{'updated':![],'block':_0x2fde37};const _0x1fbd58=_0x2fde37[_0x30b0f9(0x1c9)]?.['url']??_0x2fde37['url'];if(!_0x1fbd58)return{'updated':![],'block':_0x2fde37};const _0x33f70e=await _0x39759f[_0x30b0f9(0x19c)](readImageFromUrl,_0x1fbd58);return{'updated':!![],'block':{..._0x2fde37,'source':{'type':_0x39759f[_0x30b0f9(0x1ae)],'media_type':_0x33f70e['mediaType'],'data':_0x33f70e[_0x30b0f9(0x1b5)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x465228){const _0x420ee2=_0x1e27,_0x6f3e2d={'suSOj':function(_0x542323,_0x5d6fc0){return _0x542323(_0x5d6fc0);}};if(!_0x6f3e2d[_0x420ee2(0x1ab)](isRecord,_0x465228))return{'updated':![],'output':_0x465228};const _0x3ce787=_0x465228['content'];if(!Array['isArray'](_0x3ce787))return{'updated':![],'output':_0x465228};let _0x52c8a2=![];const _0x2e69b0=await Promise[_0x420ee2(0x19a)](_0x3ce787[_0x420ee2(0x196)](async _0x33a9c5=>{const _0x59e81a=_0x420ee2;if(!isImageBlock(_0x33a9c5))return _0x33a9c5;try{const _0x429468=await _0x6f3e2d[_0x59e81a(0x1ab)](convertImageBlockToBase64,_0x33a9c5);if(_0x429468[_0x59e81a(0x199)])_0x52c8a2=!![];return _0x429468['block'];}catch{return _0x33a9c5;}}));if(!_0x52c8a2)return{'updated':![],'output':_0x465228};return{'updated':!![],'output':{..._0x465228,'content':_0x2e69b0}};}export function createMcpImageBase64Hook(){const _0x4c3e30={'IjWyi':'PostToolUse'};return async _0x5da507=>{const _0xeeb057=_0x1e27;if(_0x5da507[_0xeeb057(0x1c4)]!==_0x4c3e30[_0xeeb057(0x1ac)])return{};const _0x3e785c=_0x5da507,{updated:_0x314ef5,output:_0x4165dc}=await convertToolOutputImagesToBase64(_0x3e785c['tool_response']);if(!_0x314ef5)return{};return{'hookSpecificOutput':{'hookEventName':_0xeeb057(0x1a9),'updatedMCPToolOutput':_0x4165dc}};};}
@@ -1 +1 @@
1
- const _0x51838f=_0x1881;(function(_0x240a15,_0x4f1629){const _0x1a5821=_0x1881,_0x49c4dc=_0x240a15();while(!![]){try{const _0x5dff60=-parseInt(_0x1a5821(0x134))/0x1*(-parseInt(_0x1a5821(0x130))/0x2)+-parseInt(_0x1a5821(0x131))/0x3+parseInt(_0x1a5821(0x12e))/0x4*(-parseInt(_0x1a5821(0x137))/0x5)+-parseInt(_0x1a5821(0x133))/0x6*(-parseInt(_0x1a5821(0x132))/0x7)+-parseInt(_0x1a5821(0x138))/0x8+parseInt(_0x1a5821(0x135))/0x9*(-parseInt(_0x1a5821(0x136))/0xa)+parseInt(_0x1a5821(0x12c))/0xb*(parseInt(_0x1a5821(0x12a))/0xc);if(_0x5dff60===_0x4f1629)break;else _0x49c4dc['push'](_0x49c4dc['shift']());}catch(_0x262e63){_0x49c4dc['push'](_0x49c4dc['shift']());}}}(_0x15f5,0x974df));function _0x1881(_0x279741,_0x1c9434){_0x279741=_0x279741-0x12a;const _0x15f55e=_0x15f5();let _0x188181=_0x15f55e[_0x279741];return _0x188181;}function _0x15f5(){const _0x4c892f=['claude-opus-4-6','148yIieBQ','toLowerCase','2ddWnwd','351543GSOKtr','392kLZkny','68568ygayee','501137NsWWgZ','5812083yNwilz','10htkdtK','125050djamNr','4649736izNwmB','12SfbWIi','claude-sonnet-4-6','19230123qiWVNz'];_0x15f5=function(){return _0x4c892f;};return _0x15f5();}const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':_0x51838f(0x12b)};export const DEFAULT_VERIFY_MODEL=_0x51838f(0x12d);export function resolveVerifyModel(_0x235626){const _0x22e23a=_0x51838f;if(!_0x235626)return undefined;const _0x5f5a27=_0x235626['trim']();if(!_0x5f5a27)return undefined;const _0x140395=VERIFY_MODEL_ALIASES[_0x5f5a27[_0x22e23a(0x12f)]()];return _0x140395??_0x5f5a27;}
1
+ const _0x5c420b=_0x4bba;function _0x4bba(_0x4b8cfc,_0x1e0ee4){_0x4b8cfc=_0x4b8cfc-0xce;const _0x53c9dd=_0x53c9();let _0x4bbaaf=_0x53c9dd[_0x4b8cfc];return _0x4bbaaf;}(function(_0x5a9a23,_0xa2616e){const _0x5b8e8d=_0x4bba,_0xc639ba=_0x5a9a23();while(!![]){try{const _0x3c514f=parseInt(_0x5b8e8d(0xcf))/0x1+-parseInt(_0x5b8e8d(0xd6))/0x2+-parseInt(_0x5b8e8d(0xd2))/0x3+parseInt(_0x5b8e8d(0xd5))/0x4*(-parseInt(_0x5b8e8d(0xd3))/0x5)+parseInt(_0x5b8e8d(0xd0))/0x6*(-parseInt(_0x5b8e8d(0xd4))/0x7)+-parseInt(_0x5b8e8d(0xd8))/0x8*(-parseInt(_0x5b8e8d(0xd7))/0x9)+parseInt(_0x5b8e8d(0xce))/0xa;if(_0x3c514f===_0xa2616e)break;else _0xc639ba['push'](_0xc639ba['shift']());}catch(_0x3bd6c5){_0xc639ba['push'](_0xc639ba['shift']());}}}(_0x53c9,0xa5891));const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL=_0x5c420b(0xd1);export function resolveVerifyModel(_0x2b0568){if(!_0x2b0568)return undefined;const _0x3257c6=_0x2b0568['trim']();if(!_0x3257c6)return undefined;const _0x277f35=VERIFY_MODEL_ALIASES[_0x3257c6['toLowerCase']()];return _0x277f35??_0x3257c6;}function _0x53c9(){const _0x128af2=['4ZxiiZG','2098670QbUPSz','2126457rXaROT','16rQWqWr','13187630EtlwBP','1225326pvYlqc','1108872tPwdLp','claude-opus-4-6','3184554ppnOwW','214685HyzNOQ','7qBCeVo'];_0x53c9=function(){return _0x128af2;};return _0x53c9();}
@@ -1 +1 @@
1
- (function(_0x2ac67b,_0x437d5d){var _0x13dfb=_0x10ae,_0x5c536c=_0x2ac67b();while(!![]){try{var _0x3fb8a5=-parseInt(_0x13dfb(0x1a0))/0x1+parseInt(_0x13dfb(0x1a3))/0x2*(parseInt(_0x13dfb(0x1a8))/0x3)+-parseInt(_0x13dfb(0x1a9))/0x4*(parseInt(_0x13dfb(0x19e))/0x5)+-parseInt(_0x13dfb(0x1a7))/0x6+-parseInt(_0x13dfb(0x1aa))/0x7+parseInt(_0x13dfb(0x1a4))/0x8*(-parseInt(_0x13dfb(0x1a2))/0x9)+parseInt(_0x13dfb(0x1ae))/0xa*(parseInt(_0x13dfb(0x1a6))/0xb);if(_0x3fb8a5===_0x437d5d)break;else _0x5c536c['push'](_0x5c536c['shift']());}catch(_0x32cf6d){_0x5c536c['push'](_0x5c536c['shift']());}}}(_0x27ee,0xc0b3b));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x27ee(){var _0x573a02=['1921772aDgtHZ','10979969yKMkJT','.config','DkfYh','ediKv','10HWPyQy','OPENCODE_CONFIG_DIR','XDG_CONFIG_HOME','5hBlAVj','env','1165044zLQVHR','skills','18uDGtnY','1402GVVaYb','1307848sjljtC','opencode','53645262IZkDDR','3775422sqQztw','354RZKBBf'];_0x27ee=function(){return _0x573a02;};return _0x27ee();}export function getOpencodeConfigDir(_0x5cdcab){var _0x5d5d05=_0x10ae,_0x48add2={'hdVum':function(_0x1d1a8a,_0x4539d2){return _0x1d1a8a===_0x4539d2;},'ediKv':'user','BrCdK':function(_0x5a6825,_0x200a23,_0x2a1efa){return _0x5a6825(_0x200a23,_0x2a1efa);},'kRMQP':function(_0x46fed1,_0x38b72f,_0x2a4a1b,_0x5a190b){return _0x46fed1(_0x38b72f,_0x2a4a1b,_0x5a190b);},'DkfYh':_0x5d5d05(0x1ab),'AVciW':function(_0x1bc670){return _0x1bc670();},'oVsoh':'.opencode'};if(process['env'][_0x5d5d05(0x1af)])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x48add2['hdVum'](_0x5cdcab,_0x48add2[_0x5d5d05(0x1ad)])){if(process[_0x5d5d05(0x19f)]['XDG_CONFIG_HOME'])return _0x48add2['BrCdK'](join,process['env'][_0x5d5d05(0x1b0)],'opencode');return _0x48add2['kRMQP'](join,homedir(),_0x48add2[_0x5d5d05(0x1ac)],_0x5d5d05(0x1a5));}return join(_0x48add2['AVciW'](getProjectRoot),_0x48add2['oVsoh']);}function _0x10ae(_0x1032aa,_0x3ec509){_0x1032aa=_0x1032aa-0x19e;var _0x27ee1f=_0x27ee();var _0x10ae83=_0x27ee1f[_0x1032aa];return _0x10ae83;}export function getOpencodeSkillsDir(_0x1c3fb9){var _0x247d5a=_0x10ae,_0x46df63={'vtwbb':function(_0x541049,_0x4cb836,_0xe044e2){return _0x541049(_0x4cb836,_0xe044e2);},'GvWdE':function(_0x324b4b,_0x133f29){return _0x324b4b(_0x133f29);},'gJFYX':_0x247d5a(0x1a1)};return _0x46df63['vtwbb'](join,_0x46df63['GvWdE'](getOpencodeConfigDir,_0x1c3fb9),_0x46df63['gJFYX']);}
1
+ (function(_0x3866b7,_0x3ae4d3){var _0xb96b1f=_0x25b0,_0x260273=_0x3866b7();while(!![]){try{var _0x456a04=-parseInt(_0xb96b1f(0x13c))/0x1+-parseInt(_0xb96b1f(0x139))/0x2+-parseInt(_0xb96b1f(0x143))/0x3+parseInt(_0xb96b1f(0x134))/0x4*(parseInt(_0xb96b1f(0x138))/0x5)+-parseInt(_0xb96b1f(0x131))/0x6*(-parseInt(_0xb96b1f(0x145))/0x7)+-parseInt(_0xb96b1f(0x137))/0x8*(parseInt(_0xb96b1f(0x136))/0x9)+parseInt(_0xb96b1f(0x144))/0xa;if(_0x456a04===_0x3ae4d3)break;else _0x260273['push'](_0x260273['shift']());}catch(_0x560268){_0x260273['push'](_0x260273['shift']());}}}(_0x1a83,0x741fe));import{homedir}from'os';function _0x25b0(_0x1b639c,_0x11de7c){_0x1b639c=_0x1b639c-0x131;var _0x1a8376=_0x1a83();var _0x25b06e=_0x1a8376[_0x1b639c];return _0x25b06e;}import{join}from'path';function _0x1a83(){var _0x4f7aa6=['mthDc','.opencode','XDG_CONFIG_HOME','MjJCQ','1240122IhBHzQ','25190980VIUCIw','16779AmtSOz','264UkAsCw','GImCW','.config','112obonuJ','rUxbP','3282903wnwWSH','16jsowwz','13470AefiDn','1239672aixxKF','env','user','461608zuomBn','skills','NXiqJ'];_0x1a83=function(){return _0x4f7aa6;};return _0x1a83();}import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0xbb1d04){var _0x596634=_0x25b0,_0x2631c4={'JpPLi':function(_0x4b548b,_0x4d9075){return _0x4b548b===_0x4d9075;},'rUxbP':_0x596634(0x13b),'NXiqJ':'opencode','MjJCQ':function(_0x4aa6fc){return _0x4aa6fc();},'GImCW':_0x596634(0x133),'dgKJP':_0x596634(0x140)};if(process[_0x596634(0x13a)]['OPENCODE_CONFIG_DIR'])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x2631c4['JpPLi'](_0xbb1d04,_0x2631c4[_0x596634(0x135)])){if(process[_0x596634(0x13a)][_0x596634(0x141)])return join(process['env']['XDG_CONFIG_HOME'],_0x2631c4[_0x596634(0x13e)]);return join(_0x2631c4[_0x596634(0x142)](homedir),_0x2631c4[_0x596634(0x132)],_0x2631c4['NXiqJ']);}return join(getProjectRoot(),_0x2631c4['dgKJP']);}export function getOpencodeSkillsDir(_0x693c45){var _0x4ad47f=_0x25b0,_0x19e30b={'mthDc':function(_0x361fc0,_0x38a166,_0x3a1d2d){return _0x361fc0(_0x38a166,_0x3a1d2d);},'MUWQA':function(_0x1c12ba,_0x164366){return _0x1c12ba(_0x164366);}};return _0x19e30b[_0x4ad47f(0x13f)](join,_0x19e30b['MUWQA'](getOpencodeConfigDir,_0x693c45),_0x4ad47f(0x13d));}
@@ -1 +1 @@
1
- (function(_0x5cc271,_0x66c7cb){const _0x2cca4e=_0x4596,_0x1fbd4b=_0x5cc271();while(!![]){try{const _0x3b2b04=-parseInt(_0x2cca4e(0x118))/0x1*(-parseInt(_0x2cca4e(0x119))/0x2)+parseInt(_0x2cca4e(0x11d))/0x3*(-parseInt(_0x2cca4e(0x120))/0x4)+-parseInt(_0x2cca4e(0x122))/0x5+parseInt(_0x2cca4e(0x11a))/0x6+-parseInt(_0x2cca4e(0x11f))/0x7+-parseInt(_0x2cca4e(0x11e))/0x8*(-parseInt(_0x2cca4e(0x11b))/0x9)+parseInt(_0x2cca4e(0x11c))/0xa*(parseInt(_0x2cca4e(0x121))/0xb);if(_0x3b2b04===_0x66c7cb)break;else _0x1fbd4b['push'](_0x1fbd4b['shift']());}catch(_0x198083){_0x1fbd4b['push'](_0x1fbd4b['shift']());}}}(_0x4d20,0x9f3d2));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x22c057){const _0x200734={'NXrFF':function(_0x1abb43,_0x424085){return _0x1abb43(_0x424085);}},_0x34b85a=_0x22c057?_0x200734['NXrFF'](_0x22c057,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return'Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20'+_0x34b85a+'.';}function _0x4596(_0x50b586,_0x4f9e82){_0x50b586=_0x50b586-0x118;const _0x4d2011=_0x4d20();let _0x4596dc=_0x4d2011[_0x50b586];return _0x4596dc;}function _0x4d20(){const _0x4e4bea=['1700392nkNPdE','2476810IddHmh','4wSEPgo','946cuEwvP','1954140CUUcJF','401027AFHvOp','2KGgNoN','2408142tfLrLK','9pjeEXx','59620gMRqmp','392295CCPbdX'];_0x4d20=function(){return _0x4e4bea;};return _0x4d20();}
1
+ const _0x10a87e=_0x4d51;(function(_0x1bdc5b,_0xca704e){const _0x175536=_0x4d51,_0x4e41ac=_0x1bdc5b();while(!![]){try{const _0x10ba89=-parseInt(_0x175536(0x139))/0x1*(-parseInt(_0x175536(0x134))/0x2)+-parseInt(_0x175536(0x13a))/0x3+parseInt(_0x175536(0x136))/0x4+-parseInt(_0x175536(0x137))/0x5*(-parseInt(_0x175536(0x135))/0x6)+-parseInt(_0x175536(0x133))/0x7*(parseInt(_0x175536(0x12f))/0x8)+parseInt(_0x175536(0x131))/0x9+parseInt(_0x175536(0x130))/0xa;if(_0x10ba89===_0xca704e)break;else _0x4e41ac['push'](_0x4e41ac['shift']());}catch(_0x23b2a2){_0x4e41ac['push'](_0x4e41ac['shift']());}}}(_0x1eb0,0xb89a5));const DEFAULT_PROFILE_COMMAND=_0x10a87e(0x138);export function formatProfileRequiredMessage(_0x3bf62d){const _0x44be6b=_0x10a87e,_0x55c233=_0x3bf62d?_0x3bf62d(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x44be6b(0x132)+_0x55c233+'.';}function _0x4d51(_0x36fbc6,_0x4e77e0){_0x36fbc6=_0x36fbc6-0x12f;const _0x1eb020=_0x1eb0();let _0x4d514b=_0x1eb020[_0x36fbc6];return _0x4d514b;}function _0x1eb0(){const _0x4602e7=['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','1854986UKwuqL','166eArPBt','1979526DteYhj','22072iatpLi','5nJJpRC','ranger\x20profile\x20add\x20local','7289NBzBcL','416946mGVykF','40AnwsmR','9385200PICYrO','3070431GArBqn'];_0x1eb0=function(){return _0x4602e7;};return _0x1eb0();}
@@ -1 +1 @@
1
- (function(_0x4596a0,_0x28e750){const _0x3aa96c=_0x9813,_0x393d87=_0x4596a0();while(!![]){try{const _0x4b35b9=-parseInt(_0x3aa96c(0xa2))/0x1*(-parseInt(_0x3aa96c(0xab))/0x2)+-parseInt(_0x3aa96c(0xa5))/0x3+-parseInt(_0x3aa96c(0x9e))/0x4+parseInt(_0x3aa96c(0xae))/0x5*(parseInt(_0x3aa96c(0xa4))/0x6)+-parseInt(_0x3aa96c(0xa0))/0x7*(parseInt(_0x3aa96c(0xa9))/0x8)+parseInt(_0x3aa96c(0xac))/0x9+parseInt(_0x3aa96c(0xa1))/0xa;if(_0x4b35b9===_0x28e750)break;else _0x393d87['push'](_0x393d87['shift']());}catch(_0x8efcef){_0x393d87['push'](_0x393d87['shift']());}}}(_0x1b28,0xe790d));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0xa70a9=_0x9813,_0x30e4dc={'obfWo':function(_0x569f76,_0x455564){return _0x569f76+_0x455564;},'DHeOa':function(_0x3aad0d,_0x4a52c3){return _0x3aad0d+_0x4a52c3;},'FyBws':_0xa70a9(0x9c),'TzAis':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','tBmqo':_0xa70a9(0x9b)},_0x20c9f8=_0x30e4dc['obfWo'](_0x30e4dc['obfWo'](_0x30e4dc[_0xa70a9(0xa8)]('<div\x20class=\x22ranger-banner__content\x22>',_0x30e4dc['FyBws'])+_0xa70a9(0xaa)+'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>'+_0x30e4dc['TzAis'],_0x30e4dc[_0xa70a9(0xa7)])+_0xa70a9(0x9b),'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'),_0xf08525=_0xa70a9(0xa6);return _0xa70a9(0x9f)+JSON[_0xa70a9(0xa3)](_0x20c9f8)+_0xa70a9(0xad)+JSON['stringify'](_0xf08525)+_0xa70a9(0x9d);})());function _0x9813(_0x43933c,_0x3ef3d0){_0x43933c=_0x43933c-0x9b;const _0x1b28f6=_0x1b28();let _0x98139c=_0x1b28f6[_0x43933c];return _0x98139c;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x1b28(){const _0x35bba0=['\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','tBmqo','DHeOa','5480xOvDKh','<div\x20class=\x22ranger-banner__message\x22>','2lVrskd','1389141qanUZl',';\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','10PBCSIA','</div>','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>',';\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','3617924hbCqgV','\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','8890qiwCkE','4292930DyQcHi','1836599dcEeum','stringify','1845618KKqQrn','937569rAtuIL'];_0x1b28=function(){return _0x35bba0;};return _0x1b28();}export async function addProfileSetupBanner(_0x6ec4b1){await _0x6ec4b1['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x3d6091,_0x554b66){const _0x59b36c=_0x536e,_0x23e43a=_0x3d6091();while(!![]){try{const _0x55e257=-parseInt(_0x59b36c(0x158))/0x1+parseInt(_0x59b36c(0x160))/0x2+-parseInt(_0x59b36c(0x15e))/0x3+parseInt(_0x59b36c(0x16c))/0x4+-parseInt(_0x59b36c(0x169))/0x5*(parseInt(_0x59b36c(0x163))/0x6)+parseInt(_0x59b36c(0x16e))/0x7*(-parseInt(_0x59b36c(0x15b))/0x8)+parseInt(_0x59b36c(0x16b))/0x9;if(_0x55e257===_0x554b66)break;else _0x23e43a['push'](_0x23e43a['shift']());}catch(_0x4fce47){_0x23e43a['push'](_0x23e43a['shift']());}}}(_0x1a3a,0x1d3a8));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3c7bd0=_0x536e,_0x4ab317={'zNUvk':function(_0x456303,_0x1f3cd8){return _0x456303+_0x1f3cd8;},'SEiPF':function(_0x4499ed,_0x59df6b){return _0x4499ed+_0x59df6b;},'qvvsh':_0x3c7bd0(0x167),'EthMu':_0x3c7bd0(0x164),'dXJNw':_0x3c7bd0(0x170),'qwDcE':_0x3c7bd0(0x161)},_0x333083=_0x4ab317[_0x3c7bd0(0x15a)](_0x4ab317[_0x3c7bd0(0x166)](_0x4ab317['zNUvk'](_0x3c7bd0(0x15d)+_0x4ab317[_0x3c7bd0(0x16d)]+_0x3c7bd0(0x16f),_0x4ab317[_0x3c7bd0(0x15c)])+_0x4ab317['dXJNw'],_0x4ab317[_0x3c7bd0(0x168)]),_0x3c7bd0(0x161))+_0x3c7bd0(0x162),_0x242595=_0x3c7bd0(0x159);return _0x3c7bd0(0x165)+JSON['stringify'](_0x333083)+_0x3c7bd0(0x16a)+JSON['stringify'](_0x242595)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());function _0x536e(_0x50b958,_0x2e817c){_0x50b958=_0x50b958-0x158;const _0x1a3a7a=_0x1a3a();let _0x536e8e=_0x1a3a7a[_0x50b958];return _0x536e8e;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x9eeff9){const _0xdf63a5=_0x536e;await _0x9eeff9[_0xdf63a5(0x15f)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x1a3a(){const _0x1e9eef=['SEiPF','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','qwDcE','2540CaRgTA',';\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','4487499dCdOwN','194276YsHafo','qvvsh','7IvZqgM','<div\x20class=\x22ranger-banner__message\x22>','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','86562gVecYT','\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','zNUvk','1557720tOUGae','EthMu','<div\x20class=\x22ranger-banner__content\x22>','397674CcoKhS','addInitScript','412678XhDdrd','</div>','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','2598XdgsTT','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','\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'];_0x1a3a=function(){return _0x1e9eef;};return _0x1a3a();}
@@ -1 +1 @@
1
- (function(_0x5bae36,_0x2d9aea){const _0x35dc4c=_0x58d9,_0x42167e=_0x5bae36();while(!![]){try{const _0x5880b2=parseInt(_0x35dc4c(0xbb))/0x1*(parseInt(_0x35dc4c(0xb5))/0x2)+-parseInt(_0x35dc4c(0xb0))/0x3+parseInt(_0x35dc4c(0xb9))/0x4*(-parseInt(_0x35dc4c(0xb4))/0x5)+parseInt(_0x35dc4c(0xaf))/0x6*(parseInt(_0x35dc4c(0xab))/0x7)+-parseInt(_0x35dc4c(0xac))/0x8+parseInt(_0x35dc4c(0xae))/0x9*(parseInt(_0x35dc4c(0xb2))/0xa)+parseInt(_0x35dc4c(0xad))/0xb;if(_0x5880b2===_0x2d9aea)break;else _0x42167e['push'](_0x42167e['shift']());}catch(_0x503043){_0x42167e['push'](_0x42167e['shift']());}}}(_0x106c,0x67109));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x106c(){const _0x3bf377=['10uKYTYU','5816713yXSHiZ','3825712xxeIum','2338171KJERMb','18JRvNTo','6Lccqzo','2417121tsdJfR','qVvRR','2428620Cobhom','utf-8','65660UIkeTb','101026DrzCgD','object','config.json','model','100OcMZel','isArray'];_0x106c=function(){return _0x3bf377;};return _0x106c();}import{getRangerDir}from'./rangerRoot.js';function _0x58d9(_0x5e031d,_0x488f25){_0x5e031d=_0x5e031d-0xab;const _0x106c1a=_0x106c();let _0x58d931=_0x106c1a[_0x5e031d];return _0x58d931;}export function getRangerConfigPath(){const _0x16b1c9=_0x58d9,_0xab909c={'TZlxT':function(_0x4cae67,_0x21cb5a,_0x423e2d){return _0x4cae67(_0x21cb5a,_0x423e2d);}};return _0xab909c['TZlxT'](join,getRangerDir(),_0x16b1c9(0xb7));}export async function loadRangerConfig(){const _0x51e05f=_0x58d9,_0xcd4db7={'qVvRR':function(_0x51da6a,_0x171e00,_0x1ba253){return _0x51da6a(_0x171e00,_0x1ba253);},'Dotog':_0x51e05f(0xb3),'egbLQ':'string','XqmKO':function(_0x3889f5,_0x4c945a){return _0x3889f5(_0x4c945a);}},_0x509710=getRangerConfigPath();if(!existsSync(_0x509710))return{};try{const _0x2a0778=await _0xcd4db7[_0x51e05f(0xb1)](readFile,_0x509710,_0xcd4db7['Dotog']),_0x262325=JSON['parse'](_0x2a0778);if(!_0x262325||typeof _0x262325!==_0x51e05f(0xb6)||Array[_0x51e05f(0xba)](_0x262325))return{};const _0x19a020={},_0x359ff8=_0x262325['model'];return typeof _0x359ff8===_0xcd4db7['egbLQ']&&(_0x19a020[_0x51e05f(0xb8)]=_0x359ff8),_0x19a020;}catch(_0x5715fd){const _0x3b80b3=_0x5715fd instanceof Error?_0x5715fd['message']:_0xcd4db7['XqmKO'](String,_0x5715fd);return console['warn']('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x509710+':\x20'+_0x3b80b3),{};}}
1
+ (function(_0x5b108d,_0x50d312){const _0x4fbba0=_0x53c9,_0x19dc80=_0x5b108d();while(!![]){try{const _0x1a06df=-parseInt(_0x4fbba0(0x1e7))/0x1*(-parseInt(_0x4fbba0(0x1ed))/0x2)+-parseInt(_0x4fbba0(0x1e9))/0x3*(parseInt(_0x4fbba0(0x1e8))/0x4)+parseInt(_0x4fbba0(0x1ef))/0x5+-parseInt(_0x4fbba0(0x1e5))/0x6*(-parseInt(_0x4fbba0(0x1ee))/0x7)+-parseInt(_0x4fbba0(0x1f5))/0x8*(-parseInt(_0x4fbba0(0x1f7))/0x9)+-parseInt(_0x4fbba0(0x1f3))/0xa*(parseInt(_0x4fbba0(0x1f9))/0xb)+parseInt(_0x4fbba0(0x1f6))/0xc*(parseInt(_0x4fbba0(0x1ea))/0xd);if(_0x1a06df===_0x50d312)break;else _0x19dc80['push'](_0x19dc80['shift']());}catch(_0x4d5a10){_0x19dc80['push'](_0x19dc80['shift']());}}}(_0x5c5d,0xdd260));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x53c9(_0x4f7cc0,_0x383447){_0x4f7cc0=_0x4f7cc0-0x1e5;const _0x5c5d94=_0x5c5d();let _0x53c9c2=_0x5c5d94[_0x4f7cc0];return _0x53c9c2;}export function getRangerConfigPath(){const _0x71943=_0x53c9,_0x14c161={'CjdiV':function(_0x3f4b64,_0x439339,_0x18e4e1){return _0x3f4b64(_0x439339,_0x18e4e1);},'xLfgz':function(_0x541623){return _0x541623();}};return _0x14c161['CjdiV'](join,_0x14c161['xLfgz'](getRangerDir),_0x71943(0x1f1));}export async function loadRangerConfig(){const _0x156770=_0x53c9,_0xc16c21={'eCrfP':function(_0x195460){return _0x195460();},'OXbPN':function(_0x32cf08,_0x420db8){return _0x32cf08(_0x420db8);},'oGnEw':function(_0x433dec,_0x299003,_0x3b9722){return _0x433dec(_0x299003,_0x3b9722);},'rxSjV':_0x156770(0x1f4),'VeABk':_0x156770(0x1eb),'XOdXA':function(_0x5bfe77,_0x5eb5fc){return _0x5bfe77 instanceof _0x5eb5fc;}},_0x371935=_0xc16c21['eCrfP'](getRangerConfigPath);if(!_0xc16c21['OXbPN'](existsSync,_0x371935))return{};try{const _0x53bf8e=await _0xc16c21[_0x156770(0x1ec)](readFile,_0x371935,_0xc16c21['rxSjV']),_0x4989a5=JSON['parse'](_0x53bf8e);if(!_0x4989a5||typeof _0x4989a5!=='object'||Array['isArray'](_0x4989a5))return{};const _0x58de54={},_0x1b3ae8=_0x4989a5[_0x156770(0x1f0)];return typeof _0x1b3ae8===_0xc16c21['VeABk']&&(_0x58de54[_0x156770(0x1f0)]=_0x1b3ae8),_0x58de54;}catch(_0x2e6bf3){const _0x5cd9f5=_0xc16c21[_0x156770(0x1f2)](_0x2e6bf3,Error)?_0x2e6bf3[_0x156770(0x1e6)]:_0xc16c21['OXbPN'](String,_0x2e6bf3);return console[_0x156770(0x1f8)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x371935+':\x20'+_0x5cd9f5),{};}}function _0x5c5d(){const _0x4adb0f=['1706735DEsJvE','model','config.json','XOdXA','8870iNLLsR','utf-8','8395976ZynOQu','12LnPjMw','9hXSJeV','warn','14322cleEcE','1716642UOVqEs','message','3491CFuLrQ','4afJRDI','5093643WQUQeg','24292801oVWpvH','string','oGnEw','122PhoskO','7aaRjLS'];_0x5c5d=function(){return _0x4adb0f;};return _0x5c5d();}
@@ -1 +1 @@
1
- (function(_0xee6cac,_0x560629){const _0x416941=_0x2b61,_0x538dbd=_0xee6cac();while(!![]){try{const _0x349b56=parseInt(_0x416941(0x6c))/0x1*(-parseInt(_0x416941(0x77))/0x2)+-parseInt(_0x416941(0x75))/0x3+parseInt(_0x416941(0x74))/0x4+-parseInt(_0x416941(0x6f))/0x5*(parseInt(_0x416941(0x70))/0x6)+-parseInt(_0x416941(0x6d))/0x7+parseInt(_0x416941(0x7b))/0x8*(-parseInt(_0x416941(0x72))/0x9)+-parseInt(_0x416941(0x6b))/0xa*(-parseInt(_0x416941(0x6e))/0xb);if(_0x349b56===_0x560629)break;else _0x538dbd['push'](_0x538dbd['shift']());}catch(_0x392c3c){_0x538dbd['push'](_0x538dbd['shift']());}}}(_0x377f,0xc4daa));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0x2b61(_0xbc5054,_0x3caa97){_0xbc5054=_0xbc5054-0x6b;const _0x377f8b=_0x377f();let _0x2b6198=_0x377f8b[_0xbc5054];return _0x2b6198;}import{homedir}from'os';function _0x377f(){const _0x4f0197=['1129918ksnDZW','.ranger','root','PTiyV','56jkIhVr','5252450PQUVUR','2WVyZtG','1352736SkeezX','55HUwdFD','5NgkVRZ','7446372PQUKbL','ZSZeJ','63603gNeTZT','WYnDS','6184304vvUovX','2256870pDsnYD','cwd'];_0x377f=function(){return _0x4f0197;};return _0x377f();}export function getRangerRoot(){const _0x16b016=_0x2b61,_0x46c2ca={'ZSZeJ':function(_0x26c1eb,_0x22570a){return _0x26c1eb(_0x22570a);},'BTSvD':function(_0x3f7268,_0x45551f,_0x4323b2){return _0x3f7268(_0x45551f,_0x4323b2);},'KuVyx':function(_0xa3acb0){return _0xa3acb0();}};let _0x305204=process['cwd']();const _0x239b6e=parse(_0x305204)['root'];while(_0x305204!==_0x239b6e){if(existsSync(join(_0x305204,'.ranger')))return _0x305204;_0x305204=dirname(_0x305204);}if(_0x46c2ca[_0x16b016(0x71)](existsSync,_0x46c2ca['BTSvD'](join,_0x239b6e,_0x16b016(0x78))))return _0x239b6e;const _0x1b2cd5=_0x46c2ca['KuVyx'](findGitRoot);if(_0x1b2cd5)return _0x1b2cd5;return process[_0x16b016(0x76)]();}export function getRangerDir(){const _0x2bef69=_0x2b61,_0x1fa82f={'sTrzR':function(_0xe73f0c){return _0xe73f0c();}};return join(_0x1fa82f['sTrzR'](getRangerRoot),_0x2bef69(0x78));}export function findGitRoot(){const _0x33da76=_0x2b61,_0x301f4e={'PTiyV':function(_0x1be9cb,_0x228d76){return _0x1be9cb(_0x228d76);},'WYnDS':function(_0x3a1230,_0x4f86e8){return _0x3a1230!==_0x4f86e8;}};let _0x35e271=process['cwd']();const _0x5f4f6c=_0x301f4e[_0x33da76(0x7a)](parse,_0x35e271)[_0x33da76(0x79)];while(_0x301f4e[_0x33da76(0x73)](_0x35e271,_0x5f4f6c)){if(_0x301f4e[_0x33da76(0x7a)](existsSync,join(_0x35e271,'.git')))return _0x35e271;_0x35e271=dirname(_0x35e271);}if(_0x301f4e[_0x33da76(0x7a)](existsSync,join(_0x5f4f6c,'.git')))return _0x5f4f6c;return null;}export function getRangerHomeDir(){const _0x2bb2a0=_0x2b61;return join(homedir(),_0x2bb2a0(0x78));}
1
+ (function(_0x8605b7,_0xbeb771){const _0x1d7a19=_0x10a5,_0x150ee7=_0x8605b7();while(!![]){try{const _0x2aeea2=parseInt(_0x1d7a19(0x18b))/0x1+parseInt(_0x1d7a19(0x180))/0x2*(parseInt(_0x1d7a19(0x189))/0x3)+parseInt(_0x1d7a19(0x191))/0x4+-parseInt(_0x1d7a19(0x17b))/0x5*(parseInt(_0x1d7a19(0x183))/0x6)+-parseInt(_0x1d7a19(0x18e))/0x7*(parseInt(_0x1d7a19(0x18a))/0x8)+parseInt(_0x1d7a19(0x18c))/0x9+-parseInt(_0x1d7a19(0x186))/0xa*(parseInt(_0x1d7a19(0x18d))/0xb);if(_0x2aeea2===_0xbeb771)break;else _0x150ee7['push'](_0x150ee7['shift']());}catch(_0x1c3542){_0x150ee7['push'](_0x150ee7['shift']());}}}(_0x3a57,0x773cf));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x48abf1=_0x10a5,_0x52af8b={'RCYVm':function(_0x14ec27,_0x3b3d22){return _0x14ec27(_0x3b3d22);},'kfzwZ':function(_0x56431d,_0x44b055){return _0x56431d!==_0x44b055;},'pmUmx':_0x48abf1(0x185),'pINJw':function(_0x5684e1,_0x49df91,_0x3be9f1){return _0x5684e1(_0x49df91,_0x3be9f1);}};let _0x50da93=process[_0x48abf1(0x17c)]();const _0x4c5fd8=_0x52af8b[_0x48abf1(0x188)](parse,_0x50da93)[_0x48abf1(0x17e)];while(_0x52af8b[_0x48abf1(0x182)](_0x50da93,_0x4c5fd8)){if(_0x52af8b['RCYVm'](existsSync,join(_0x50da93,_0x52af8b['pmUmx'])))return _0x50da93;_0x50da93=dirname(_0x50da93);}if(existsSync(_0x52af8b[_0x48abf1(0x190)](join,_0x4c5fd8,_0x48abf1(0x185))))return _0x4c5fd8;const _0x39f610=findGitRoot();if(_0x39f610)return _0x39f610;return process[_0x48abf1(0x17c)]();}export function getRangerDir(){const _0x3dca75=_0x10a5,_0x1b96ab={'drsKe':function(_0x20dbf5){return _0x20dbf5();},'cFvto':'.ranger'};return join(_0x1b96ab[_0x3dca75(0x17a)](getRangerRoot),_0x1b96ab[_0x3dca75(0x17d)]);}function _0x10a5(_0x4b4566,_0x1d8df6){_0x4b4566=_0x4b4566-0x17a;const _0x3a575e=_0x3a57();let _0x10a53d=_0x3a575e[_0x4b4566];return _0x10a53d;}export function findGitRoot(){const _0x8a7751=_0x10a5,_0x4c44d6={'PtIdC':function(_0x425de3,_0x2a3483){return _0x425de3(_0x2a3483);},'EARKt':function(_0x5cf746,_0x5d20c6){return _0x5cf746!==_0x5d20c6;},'LmzTD':function(_0x206725,_0x4c94f9){return _0x206725(_0x4c94f9);},'aXXjR':function(_0x171cb4,_0x5eca26,_0x18adc1){return _0x171cb4(_0x5eca26,_0x18adc1);},'ObBqu':_0x8a7751(0x187)};let _0x244228=process['cwd']();const _0x1ab2d7=_0x4c44d6['PtIdC'](parse,_0x244228)[_0x8a7751(0x17e)];while(_0x4c44d6['EARKt'](_0x244228,_0x1ab2d7)){if(_0x4c44d6['LmzTD'](existsSync,_0x4c44d6[_0x8a7751(0x184)](join,_0x244228,_0x4c44d6[_0x8a7751(0x17f)])))return _0x244228;_0x244228=_0x4c44d6[_0x8a7751(0x18f)](dirname,_0x244228);}if(existsSync(_0x4c44d6[_0x8a7751(0x184)](join,_0x1ab2d7,'.git')))return _0x1ab2d7;return null;}function _0x3a57(){const _0x19dd80=['ObBqu','2VgbrwJ','acFIl','kfzwZ','6mSXTfy','aXXjR','.ranger','830WalgHM','.git','RCYVm','1471656kxiRms','8oTRcQS','298760zxgpzf','4123782snpOKt','55682DuMQQw','1689849kAaSOG','PtIdC','pINJw','2661060wMqAJH','drsKe','3814115nUivjd','cwd','cFvto','root'];_0x3a57=function(){return _0x19dd80;};return _0x3a57();}export function getRangerHomeDir(){const _0x482ed7=_0x10a5,_0x1d9b76={'acFIl':_0x482ed7(0x185)};return join(homedir(),_0x1d9b76[_0x482ed7(0x181)]);}