@ranger-testing/ranger-cli 2.1.6 → 2.1.8

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 (71) hide show
  1. package/README.md +1 -1
  2. package/build/cli.js +1 -1
  3. package/build/commands/addEnv.js +1 -1
  4. package/build/commands/authEncrypt.js +1 -1
  5. package/build/commands/clean.js +1 -1
  6. package/build/commands/config.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/setup/claude.js +1 -1
  26. package/build/commands/setup/opencode.js +1 -1
  27. package/build/commands/setupCi.js +1 -1
  28. package/build/commands/skillup.js +1 -1
  29. package/build/commands/start.js +1 -1
  30. package/build/commands/status.js +1 -1
  31. package/build/commands/update.js +1 -1
  32. package/build/commands/updateEnv.js +1 -1
  33. package/build/commands/useEnv.js +1 -1
  34. package/build/commands/utils/activeProfile.js +1 -1
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudePlugin.js +1 -1
  38. package/build/commands/utils/crypto.js +1 -1
  39. package/build/commands/utils/desirePathLog.js +1 -1
  40. package/build/commands/utils/deviceAuth.js +1 -1
  41. package/build/commands/utils/environment.js +1 -1
  42. package/build/commands/utils/featureApi.js +1 -1
  43. package/build/commands/utils/featureReportGenerator.js +1 -1
  44. package/build/commands/utils/fixWebmDuration.js +1 -1
  45. package/build/commands/utils/git.js +1 -1
  46. package/build/commands/utils/keychain.js +1 -1
  47. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  48. package/build/commands/utils/mcpImageBase64.js +1 -1
  49. package/build/commands/utils/model.js +1 -1
  50. package/build/commands/utils/opencodeConfig.js +1 -1
  51. package/build/commands/utils/profileMessages.js +1 -1
  52. package/build/commands/utils/profileSetupBanner.js +1 -1
  53. package/build/commands/utils/rangerConfig.js +1 -1
  54. package/build/commands/utils/rangerRoot.js +1 -1
  55. package/build/commands/utils/reportGenerator.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/telemetry.js +1 -1
  62. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  63. package/build/commands/utils/userApi.js +1 -1
  64. package/build/commands/utils/version.js +1 -1
  65. package/build/commands/verifyFeature.js +1 -1
  66. package/build/commands/verifyInBrowser.js +1 -1
  67. package/build/skills/ranger/SKILL.md +25 -7
  68. package/build/skills/ranger/claude.md +7 -0
  69. package/build/skills/ranger/start.md +2 -2
  70. package/build/skills/ranger/verify.md +2 -1
  71. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x4ab9(_0xfeaf04,_0x55c887){_0xfeaf04=_0xfeaf04-0x1f1;const _0x465f0c=_0x465f();let _0x4ab913=_0x465f0c[_0xfeaf04];return _0x4ab913;}(function(_0x23dd78,_0x4ead6a){const _0x4d44c9=_0x4ab9,_0x1a40a9=_0x23dd78();while(!![]){try{const _0x2e6ff7=-parseInt(_0x4d44c9(0x226))/0x1*(parseInt(_0x4d44c9(0x230))/0x2)+-parseInt(_0x4d44c9(0x1fd))/0x3+-parseInt(_0x4d44c9(0x224))/0x4+-parseInt(_0x4d44c9(0x22e))/0x5+parseInt(_0x4d44c9(0x217))/0x6+-parseInt(_0x4d44c9(0x236))/0x7*(parseInt(_0x4d44c9(0x211))/0x8)+parseInt(_0x4d44c9(0x202))/0x9;if(_0x2e6ff7===_0x4ead6a)break;else _0x1a40a9['push'](_0x1a40a9['shift']());}catch(_0x491412){_0x1a40a9['push'](_0x1a40a9['shift']());}}}(_0x465f,0x22984));export function buildTraceViewerUrl(_0x8b7661){const _0x2a663e=_0x4ab9,_0x598c59={'uzQvV':function(_0x49a807,_0x4e6f9d){return _0x49a807(_0x4e6f9d);}},_0x129ba2=_0x598c59[_0x2a663e(0x216)](encodeURIComponent,_0x8b7661);return _0x2a663e(0x212)+_0x129ba2;}function _0x465f(){const _0x233f33=['N/A','-\x20**Verified:**\x20','NHpzl','verifiedAt','name','blockedReason','40CZFKOr','https://trace.playwright.dev/?trace=','###\x20','verified','blocked','uzQvV','281184reCFZY','canceledReason','substring','closed','|---------|----------|--------|----------|------|','sort','length','-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work','agentResponse','EEWbh','gitBranch','##\x20Blocking\x20Issues','ijfZQ','179176THHsEC',':\x20Awaiting\x20Review','6301TcBKej','position','in_progress','##\x20Scenario\x20Progress\x20(','iteration','find','UJuTs','browserSessionId','766670MjuPGP','completedAt','58HtJDBU','numeric','##\x20Description','closedAt','floor','traceUrl','38647nEQnlr','DrxLU','**:\x20','filter','currentSession','**Repository:**\x20','**Branch:**\x20','createdAt','push','None','checklistItemId','**Status:**\x20','\x20|\x20','ISCbX','status','wGTyC','description','**Completed:**\x20','FQvSN','##\x20All\x20Verification\x20Sessions',':\x20In\x20Progress','gitRepoUrl','join','incomplete','715920Emqgpu','oDaYh','\x20verified)','-\x20**Reason:**\x20','**Created:**\x20','6677442qdLXkm','UZaQE','beusj','Completed','-\x20**Closed:**\x20','blockedAt','completed','ohXQR','OHBEW'];_0x465f=function(){return _0x233f33;};return _0x465f();}function getStatusEmoji(_0x5cb0df){const _0x44fc2d=_0x4ab9,_0x27ab6c={'seSOf':'pending','beusj':_0x44fc2d(0x1fc)};switch(_0x5cb0df){case _0x44fc2d(0x214):case _0x44fc2d(0x208):return'✅';case _0x27ab6c['seSOf']:case'in_progress':return'🔄';case _0x27ab6c[_0x44fc2d(0x204)]:return'🟠';case'blocked':return'🛑';case'closed':return'⛔';default:return'❓';}}function formatDuration(_0x5a8a37){const _0x41355d=_0x4ab9,_0x485207={'UZaQE':function(_0x16b53d,_0xe17760){return _0x16b53d===_0xe17760;},'FQvSN':_0x41355d(0x20b),'ISCbX':function(_0x468f61,_0x4c6512){return _0x468f61/_0x4c6512;}};if(_0x485207['UZaQE'](_0x5a8a37,null)||_0x485207[_0x41355d(0x203)](_0x5a8a37,undefined))return _0x485207[_0x41355d(0x1f7)];if(_0x5a8a37<0x3e8)return _0x5a8a37+'ms';const _0x13ccc4=Math[_0x41355d(0x234)](_0x485207['ISCbX'](_0x5a8a37,0x3e8));if(_0x13ccc4<0x3c)return _0x13ccc4+'s';const _0x496443=Math[_0x41355d(0x234)](_0x485207[_0x41355d(0x1f2)](_0x13ccc4,0x3c)),_0xbdda49=_0x13ccc4%0x3c;return _0x496443+'m\x20'+_0xbdda49+'s';}function formatDate(_0x132a15){const _0x500158=_0x4ab9,_0x21f5df={'oDaYh':'N/A','UGHGB':_0x500158(0x231)};if(!_0x132a15)return _0x21f5df[_0x500158(0x1fe)];return new Date(_0x132a15)['toLocaleDateString']('en-US',{'year':_0x21f5df['UGHGB'],'month':'short','day':_0x21f5df['UGHGB']});}export function generateFeatureReport(_0x15e8e9){const _0x5d4bcb=_0x4ab9,_0x29da79={'icPQp':_0x5d4bcb(0x228),'ijfZQ':'Unknown','VJOKr':'No\x20Session','wGTyC':function(_0x369212,_0x3f5cfc){return _0x369212(_0x3f5cfc);},'qEYKh':function(_0x45e44e,_0x4ac069){return _0x45e44e===_0x4ac069;},'hSoXl':function(_0x516cef,_0x427add){return _0x516cef===_0x427add;},'UJuTs':_0x5d4bcb(0x21a),'NHpzl':function(_0xad221f,_0x48aea2){return _0xad221f===_0x48aea2;},'Qlusj':_0x5d4bcb(0x222),'QchVc':_0x5d4bcb(0x23f),'JPnqs':_0x5d4bcb(0x21b),'DrxLU':function(_0x2db831,_0x595cb9){return _0x2db831+_0x595cb9;},'ohXQR':'...','OHBEW':function(_0x323d90,_0x24f599){return _0x323d90===_0x24f599;},'EEWbh':'failed'},{feature:_0x52a5a5,stats:_0x1fbdd1,checklistItems:_0x3ae3ef,sessions:_0x29598c}=_0x15e8e9,_0x521bb0=[];_0x521bb0[_0x5d4bcb(0x23e)]('#\x20Feature\x20Review\x20Report:\x20'+_0x52a5a5[_0x5d4bcb(0x20f)]),_0x521bb0[_0x5d4bcb(0x23e)]('');let _0x5042f7,_0x310717;if(_0x52a5a5['completedAt'])_0x5042f7=_0x5d4bcb(0x205),_0x310717='✅';else{if(_0x52a5a5[_0x5d4bcb(0x23a)]){const _0x572fd2=_0x52a5a5['currentSession']['status'];switch(_0x572fd2){case'ready':_0x5042f7='Session\x20'+_0x52a5a5[_0x5d4bcb(0x23a)][_0x5d4bcb(0x22a)]+':\x20Ready',_0x310717='▶️';break;case _0x29da79['icPQp']:_0x5042f7='Session\x20'+_0x52a5a5[_0x5d4bcb(0x23a)]['iteration']+_0x5d4bcb(0x1f9),_0x310717='🔄';break;case _0x5d4bcb(0x208):_0x5042f7='Session\x20'+_0x52a5a5[_0x5d4bcb(0x23a)]['iteration']+_0x5d4bcb(0x225),_0x310717='📊';break;default:_0x5042f7=_0x29da79[_0x5d4bcb(0x223)],_0x310717='❓';}}else _0x5042f7=_0x29da79['VJOKr'],_0x310717='⬜';}_0x521bb0[_0x5d4bcb(0x23e)](_0x5d4bcb(0x241)+_0x310717+'\x20'+_0x5042f7),_0x521bb0['push'](_0x5d4bcb(0x201)+formatDate(_0x52a5a5['createdAt']));_0x52a5a5[_0x5d4bcb(0x22f)]&&_0x521bb0[_0x5d4bcb(0x23e)](_0x5d4bcb(0x1f6)+formatDate(_0x52a5a5[_0x5d4bcb(0x22f)]));_0x52a5a5[_0x5d4bcb(0x1fa)]&&_0x521bb0[_0x5d4bcb(0x23e)](_0x5d4bcb(0x23b)+_0x52a5a5['gitRepoUrl']);_0x52a5a5[_0x5d4bcb(0x221)]&&_0x521bb0['push'](_0x5d4bcb(0x23c)+_0x52a5a5['gitBranch']);_0x521bb0['push']('');_0x52a5a5['description']&&(_0x521bb0[_0x5d4bcb(0x23e)](_0x5d4bcb(0x232)),_0x521bb0['push'](''),_0x521bb0['push'](_0x52a5a5[_0x5d4bcb(0x1f5)]),_0x521bb0[_0x5d4bcb(0x23e)](''));const _0x167d3c=_0x3ae3ef['filter'](_0x515474=>_0x515474[_0x5d4bcb(0x1f3)]!=='closed'),_0x15fb8b=_0x3ae3ef[_0x5d4bcb(0x239)](_0x3e13fe=>_0x3e13fe['status']==='verified')[_0x5d4bcb(0x21d)];_0x521bb0[_0x5d4bcb(0x23e)](_0x5d4bcb(0x229)+_0x15fb8b+'/'+_0x167d3c['length']+_0x5d4bcb(0x1ff)),_0x521bb0['push']('');const _0x43066b=[..._0x3ae3ef][_0x5d4bcb(0x21c)]((_0x2642f7,_0x2f033e)=>_0x2642f7['position']-_0x2f033e[_0x5d4bcb(0x227)]);for(const _0x30ee9c of _0x43066b){const _0x511cc0=_0x29da79[_0x5d4bcb(0x1f4)](getStatusEmoji,_0x30ee9c['status']),_0x330408=_0x30ee9c['status']==='closed',_0x26485b=_0x330408?'~~':'',_0x5b226d=_0x330408?'~~':'';_0x521bb0[_0x5d4bcb(0x23e)](_0x5d4bcb(0x213)+_0x511cc0+'\x20'+_0x26485b+_0x30ee9c[_0x5d4bcb(0x1f5)]+_0x5b226d),_0x521bb0[_0x5d4bcb(0x23e)]('');_0x30ee9c['status']===_0x5d4bcb(0x214)&&_0x30ee9c[_0x5d4bcb(0x20e)]&&_0x521bb0['push'](_0x5d4bcb(0x20c)+_0x29da79['wGTyC'](formatDate,_0x30ee9c['verifiedAt']));_0x29da79['qEYKh'](_0x30ee9c['status'],_0x5d4bcb(0x215))&&_0x30ee9c[_0x5d4bcb(0x207)]&&(_0x521bb0['push']('-\x20**Blocked:**\x20'+_0x29da79['wGTyC'](formatDate,_0x30ee9c['blockedAt'])),_0x30ee9c[_0x5d4bcb(0x210)]&&_0x521bb0['push'](_0x5d4bcb(0x200)+_0x30ee9c['blockedReason']));_0x29da79['hSoXl'](_0x30ee9c['status'],_0x29da79[_0x5d4bcb(0x22c)])&&_0x30ee9c[_0x5d4bcb(0x233)]&&(_0x521bb0['push'](_0x5d4bcb(0x206)+formatDate(_0x30ee9c[_0x5d4bcb(0x233)])),_0x30ee9c[_0x5d4bcb(0x218)]&&_0x521bb0['push'](_0x5d4bcb(0x200)+_0x30ee9c['canceledReason']));_0x29da79[_0x5d4bcb(0x20d)](_0x30ee9c['status'],_0x5d4bcb(0x1fc))&&_0x521bb0['push'](_0x5d4bcb(0x21e));if(_0x30ee9c[_0x5d4bcb(0x22d)]){_0x521bb0[_0x5d4bcb(0x23e)]('-\x20**Session:**\x20'+_0x30ee9c['browserSessionId']);const _0x34817b=_0x29598c[_0x5d4bcb(0x22b)](_0x82bc68=>_0x82bc68['id']===_0x30ee9c[_0x5d4bcb(0x22d)]);_0x34817b&&(_0x34817b[_0x5d4bcb(0x21f)]&&_0x521bb0[_0x5d4bcb(0x23e)]('-\x20**Summary:**\x20'+_0x34817b[_0x5d4bcb(0x21f)]),_0x34817b['traceUrl']&&_0x521bb0[_0x5d4bcb(0x23e)]('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x29da79['wGTyC'](buildTraceViewerUrl,_0x34817b[_0x5d4bcb(0x235)])+')'));}_0x521bb0[_0x5d4bcb(0x23e)]('');}const _0x3d6e02=_0x3ae3ef['filter'](_0x27ebb7=>_0x27ebb7[_0x5d4bcb(0x1f3)]===_0x5d4bcb(0x215));if(_0x3d6e02[_0x5d4bcb(0x21d)]>0x0){_0x521bb0['push'](_0x5d4bcb(0x222)),_0x521bb0[_0x5d4bcb(0x23e)]('');for(const _0x10c032 of _0x3d6e02){_0x521bb0[_0x5d4bcb(0x23e)]('-\x20**'+_0x10c032['description']+_0x5d4bcb(0x238)+(_0x10c032[_0x5d4bcb(0x210)]||'No\x20reason\x20provided'));}_0x521bb0[_0x5d4bcb(0x23e)]('');}else _0x521bb0['push'](_0x29da79['Qlusj']),_0x521bb0[_0x5d4bcb(0x23e)](''),_0x521bb0['push'](_0x29da79['QchVc']),_0x521bb0['push']('');if(_0x29598c[_0x5d4bcb(0x21d)]>0x0){_0x521bb0['push'](_0x5d4bcb(0x1f8)),_0x521bb0[_0x5d4bcb(0x23e)](''),_0x521bb0['push']('|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|'),_0x521bb0[_0x5d4bcb(0x23e)](_0x29da79['JPnqs']);for(const _0x2fe2d4 of _0x29598c){const _0x5a50d1=_0x2fe2d4[_0x5d4bcb(0x240)]?_0x3ae3ef['find'](_0x5de2c1=>_0x5de2c1['id']===_0x2fe2d4[_0x5d4bcb(0x240)]):null,_0x4eaa4f=_0x5a50d1?_0x29da79[_0x5d4bcb(0x237)](_0x5a50d1['description'][_0x5d4bcb(0x219)](0x0,0x1e),_0x5a50d1[_0x5d4bcb(0x1f5)][_0x5d4bcb(0x21d)]>0x1e?_0x29da79[_0x5d4bcb(0x209)]:''):'N/A',_0x2b19d9=_0x29da79[_0x5d4bcb(0x20a)](_0x2fe2d4[_0x5d4bcb(0x1f3)],'completed')?'✅':_0x29da79[_0x5d4bcb(0x20a)](_0x2fe2d4['status'],_0x29da79[_0x5d4bcb(0x220)])?'❌':'🔄';_0x521bb0[_0x5d4bcb(0x23e)]('|\x20'+_0x2fe2d4['id']+_0x5d4bcb(0x1f1)+_0x4eaa4f+_0x5d4bcb(0x1f1)+_0x2b19d9+'\x20'+_0x2fe2d4[_0x5d4bcb(0x1f3)]+_0x5d4bcb(0x1f1)+_0x29da79['wGTyC'](formatDuration,_0x2fe2d4['durationMs'])+'\x20|\x20'+formatDate(_0x2fe2d4[_0x5d4bcb(0x23d)])+'\x20|');}_0x521bb0[_0x5d4bcb(0x23e)]('');}return _0x521bb0[_0x5d4bcb(0x1fb)]('\x0a');}
1
+ (function(_0x1b51ec,_0x27ae56){const _0x411367=_0x231d,_0x458652=_0x1b51ec();while(!![]){try{const _0x5d14d0=parseInt(_0x411367(0x15c))/0x1+parseInt(_0x411367(0x159))/0x2*(parseInt(_0x411367(0x16f))/0x3)+parseInt(_0x411367(0x191))/0x4*(parseInt(_0x411367(0x189))/0x5)+parseInt(_0x411367(0x17b))/0x6+-parseInt(_0x411367(0x179))/0x7*(parseInt(_0x411367(0x193))/0x8)+-parseInt(_0x411367(0x186))/0x9+-parseInt(_0x411367(0x162))/0xa;if(_0x5d14d0===_0x27ae56)break;else _0x458652['push'](_0x458652['shift']());}catch(_0x3bcbc7){_0x458652['push'](_0x458652['shift']());}}}(_0xedf4,0xce314));function _0xedf4(){const _0x29bd2f=['757307pUqzUO','push','position','##\x20All\x20Verification\x20Sessions','No\x20Session','traceUrl','6052950nlwYdT','completedAt','VcvSc','length','|---------|----------|--------|----------|------|','blockedReason','No\x20reason\x20provided','qghgF','-\x20**Summary:**\x20','##\x20Scenario\x20Progress\x20(','**Branch:**\x20','**Repository:**\x20','N/A','6690PdsqRI','iteration','filter','ICSSX','NbuCb','##\x20Blocking\x20Issues','https://trace.playwright.dev/?trace=','-\x20**Blocked:**\x20','QaNOx','cVgPT','123431beUIrY','jKOyQ','6745686aVExHw','-\x20**Closed:**\x20','QpuQL','-\x20**Trace:**\x20[View\x20in\x20Playwright](','durationMs','verified','mQFkP','description','\x20|\x20','YddCr','Session\x20','9229356pTMXEn','en-US','###\x20','165CrSqOO','\x20verified)','gNazK','in_progress','#\x20Feature\x20Review\x20Report:\x20',':\x20Ready','blockedAt','checklistItemId','4804DZPUqZ','wpTQr','128vRSayI','closedAt','NtYdw','-\x20**Reason:**\x20','blocked','incomplete','wucwH','##\x20Description','floor','**Completed:**\x20','FHPrI','closed','currentSession','FFkyv','-\x20**Session:**\x20','verifiedAt','FENJo','status','**Created:**\x20','toLocaleDateString','750TgnAcx','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','pending'];_0xedf4=function(){return _0x29bd2f;};return _0xedf4();}export function buildTraceViewerUrl(_0x132958){const _0x4d6394=_0x231d,_0x55db08=encodeURIComponent(_0x132958);return _0x4d6394(0x175)+_0x55db08;}function getStatusEmoji(_0x15749a){const _0x35b8aa=_0x231d,_0x452e42={'QpuQL':'in_progress','LXaOp':_0x35b8aa(0x198),'gHSVR':_0x35b8aa(0x150)};switch(_0x15749a){case'verified':case'completed':return'✅';case _0x35b8aa(0x15b):case _0x452e42[_0x35b8aa(0x17d)]:return'🔄';case _0x452e42['LXaOp']:return'🟠';case _0x35b8aa(0x197):return'🛑';case _0x452e42['gHSVR']:return'⛔';default:return'❓';}}function formatDuration(_0x12d981){const _0x30cf42=_0x231d,_0x3afd27={'ICSSX':function(_0x9f098,_0x1b613c){return _0x9f098===_0x1b613c;},'yTiEY':function(_0x5736b0,_0x4e1c1e){return _0x5736b0<_0x4e1c1e;},'NbuCb':function(_0x59d01a,_0x3385d3){return _0x59d01a/_0x3385d3;}};if(_0x12d981===null||_0x3afd27[_0x30cf42(0x172)](_0x12d981,undefined))return'N/A';if(_0x3afd27['yTiEY'](_0x12d981,0x3e8))return _0x12d981+'ms';const _0x8791c0=Math[_0x30cf42(0x19b)](_0x3afd27['NbuCb'](_0x12d981,0x3e8));if(_0x8791c0<0x3c)return _0x8791c0+'s';const _0x4d9ed2=Math['floor'](_0x3afd27[_0x30cf42(0x173)](_0x8791c0,0x3c)),_0x47ba4c=_0x8791c0%0x3c;return _0x4d9ed2+'m\x20'+_0x47ba4c+'s';}function _0x231d(_0x18ec51,_0x4c9729){_0x18ec51=_0x18ec51-0x14f;const _0xedf4a7=_0xedf4();let _0x231d27=_0xedf4a7[_0x18ec51];return _0x231d27;}function formatDate(_0x1c756e){const _0x191c69=_0x231d,_0xa49701={'FHPrI':'numeric'};if(!_0x1c756e)return'N/A';return new Date(_0x1c756e)[_0x191c69(0x158)](_0x191c69(0x187),{'year':'numeric','month':'short','day':_0xa49701[_0x191c69(0x14f)]});}export function generateFeatureReport(_0x2f764c){const _0x4201e5=_0x231d,_0x4af708={'fvUCn':'Completed','gNazK':'ready','ezlZP':_0x4201e5(0x18c),'cVgPT':'completed','qghgF':function(_0x3a1f1a,_0x223fac){return _0x3a1f1a(_0x223fac);},'QaNOx':_0x4201e5(0x19a),'cbOqS':'closed','wucwH':function(_0x19a0fc,_0x132439){return _0x19a0fc===_0x132439;},'VcvSc':'verified','NtYdw':function(_0x4e9b9c,_0xf798f2){return _0x4e9b9c===_0xf798f2;},'FFkyv':function(_0x94ebe9,_0x4461b8){return _0x94ebe9===_0x4461b8;},'FENJo':_0x4201e5(0x198),'ZKnPP':_0x4201e5(0x15f),'mQFkP':_0x4201e5(0x15a),'wpTQr':_0x4201e5(0x166),'jKOyQ':function(_0x20a4ff,_0x396eaa){return _0x20a4ff+_0x396eaa;},'pybzq':function(_0x3a2e44,_0x4e01b1){return _0x3a2e44>_0x4e01b1;},'YddCr':_0x4201e5(0x16e)},{feature:_0x1144ec,stats:_0x3d5c07,checklistItems:_0x41fc8e,sessions:_0x5577e3}=_0x2f764c,_0x265af3=[];_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x18d)+_0x1144ec['name']),_0x265af3[_0x4201e5(0x15d)]('');let _0x445dda,_0x55226f;if(_0x1144ec['completedAt'])_0x445dda=_0x4af708['fvUCn'],_0x55226f='✅';else{if(_0x1144ec[_0x4201e5(0x151)]){const _0x3ffbc4=_0x1144ec['currentSession'][_0x4201e5(0x156)];switch(_0x3ffbc4){case _0x4af708[_0x4201e5(0x18b)]:_0x445dda=_0x4201e5(0x185)+_0x1144ec['currentSession'][_0x4201e5(0x170)]+_0x4201e5(0x18e),_0x55226f='▶️';break;case _0x4af708['ezlZP']:_0x445dda=_0x4201e5(0x185)+_0x1144ec['currentSession']['iteration']+':\x20In\x20Progress',_0x55226f='🔄';break;case _0x4af708[_0x4201e5(0x178)]:_0x445dda='Session\x20'+_0x1144ec[_0x4201e5(0x151)][_0x4201e5(0x170)]+':\x20Awaiting\x20Review',_0x55226f='📊';break;default:_0x445dda='Unknown',_0x55226f='❓';}}else _0x445dda=_0x4201e5(0x160),_0x55226f='⬜';}_0x265af3[_0x4201e5(0x15d)]('**Status:**\x20'+_0x55226f+'\x20'+_0x445dda),_0x265af3['push'](_0x4201e5(0x157)+_0x4af708[_0x4201e5(0x169)](formatDate,_0x1144ec['createdAt']));_0x1144ec[_0x4201e5(0x163)]&&_0x265af3['push'](_0x4201e5(0x19c)+_0x4af708['qghgF'](formatDate,_0x1144ec['completedAt']));_0x1144ec['gitRepoUrl']&&_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x16d)+_0x1144ec['gitRepoUrl']);_0x1144ec['gitBranch']&&_0x265af3['push'](_0x4201e5(0x16c)+_0x1144ec['gitBranch']);_0x265af3[_0x4201e5(0x15d)]('');_0x1144ec[_0x4201e5(0x182)]&&(_0x265af3[_0x4201e5(0x15d)](_0x4af708[_0x4201e5(0x177)]),_0x265af3['push'](''),_0x265af3[_0x4201e5(0x15d)](_0x1144ec['description']),_0x265af3['push'](''));const _0x17058a=_0x41fc8e[_0x4201e5(0x171)](_0x4cd3ca=>_0x4cd3ca[_0x4201e5(0x156)]!==_0x4201e5(0x150)),_0x2971db=_0x41fc8e['filter'](_0x5bda19=>_0x5bda19['status']===_0x4201e5(0x180))[_0x4201e5(0x165)];_0x265af3['push'](_0x4201e5(0x16b)+_0x2971db+'/'+_0x17058a['length']+_0x4201e5(0x18a)),_0x265af3['push']('');const _0xf2a55a=[..._0x41fc8e]['sort']((_0x545903,_0x12cebe)=>_0x545903['position']-_0x12cebe[_0x4201e5(0x15e)]);for(const _0x57a9cf of _0xf2a55a){const _0x1e1e0f=getStatusEmoji(_0x57a9cf['status']),_0x522b2d=_0x57a9cf[_0x4201e5(0x156)]===_0x4af708['cbOqS'],_0x40452b=_0x522b2d?'~~':'',_0x427b07=_0x522b2d?'~~':'';_0x265af3['push'](_0x4201e5(0x188)+_0x1e1e0f+'\x20'+_0x40452b+_0x57a9cf['description']+_0x427b07),_0x265af3['push']('');_0x4af708['wucwH'](_0x57a9cf[_0x4201e5(0x156)],_0x4af708[_0x4201e5(0x164)])&&_0x57a9cf[_0x4201e5(0x154)]&&_0x265af3['push']('-\x20**Verified:**\x20'+formatDate(_0x57a9cf['verifiedAt']));_0x4af708[_0x4201e5(0x195)](_0x57a9cf['status'],_0x4201e5(0x197))&&_0x57a9cf[_0x4201e5(0x18f)]&&(_0x265af3['push'](_0x4201e5(0x176)+_0x4af708[_0x4201e5(0x169)](formatDate,_0x57a9cf['blockedAt'])),_0x57a9cf['blockedReason']&&_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x196)+_0x57a9cf[_0x4201e5(0x167)]));_0x4af708['FFkyv'](_0x57a9cf['status'],_0x4201e5(0x150))&&_0x57a9cf['closedAt']&&(_0x265af3['push'](_0x4201e5(0x17c)+formatDate(_0x57a9cf[_0x4201e5(0x194)])),_0x57a9cf['canceledReason']&&_0x265af3['push']('-\x20**Reason:**\x20'+_0x57a9cf['canceledReason']));_0x4af708['FFkyv'](_0x57a9cf[_0x4201e5(0x156)],_0x4af708[_0x4201e5(0x155)])&&_0x265af3[_0x4201e5(0x15d)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x57a9cf['browserSessionId']){_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x153)+_0x57a9cf['browserSessionId']);const _0x21a573=_0x5577e3['find'](_0x49e499=>_0x49e499['id']===_0x57a9cf['browserSessionId']);_0x21a573&&(_0x21a573['agentResponse']&&_0x265af3['push'](_0x4201e5(0x16a)+_0x21a573['agentResponse']),_0x21a573['traceUrl']&&_0x265af3['push'](_0x4201e5(0x17e)+_0x4af708['qghgF'](buildTraceViewerUrl,_0x21a573[_0x4201e5(0x161)])+')'));}_0x265af3['push']('');}const _0x4d8c7d=_0x41fc8e['filter'](_0x36d5df=>_0x36d5df['status']==='blocked');if(_0x4d8c7d['length']>0x0){_0x265af3['push']('##\x20Blocking\x20Issues'),_0x265af3[_0x4201e5(0x15d)]('');for(const _0x2dd4b6 of _0x4d8c7d){_0x265af3['push']('-\x20**'+_0x2dd4b6['description']+'**:\x20'+(_0x2dd4b6['blockedReason']||_0x4201e5(0x168)));}_0x265af3[_0x4201e5(0x15d)]('');}else _0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x174)),_0x265af3[_0x4201e5(0x15d)](''),_0x265af3[_0x4201e5(0x15d)]('None'),_0x265af3['push']('');if(_0x5577e3['length']>0x0){_0x265af3[_0x4201e5(0x15d)](_0x4af708['ZKnPP']),_0x265af3[_0x4201e5(0x15d)](''),_0x265af3['push'](_0x4af708[_0x4201e5(0x181)]),_0x265af3['push'](_0x4af708[_0x4201e5(0x192)]);for(const _0x5d0d45 of _0x5577e3){const _0x314d92=_0x5d0d45[_0x4201e5(0x190)]?_0x41fc8e['find'](_0x3e1c3a=>_0x3e1c3a['id']===_0x5d0d45[_0x4201e5(0x190)]):null,_0x170eb2=_0x314d92?_0x4af708[_0x4201e5(0x17a)](_0x314d92[_0x4201e5(0x182)]['substring'](0x0,0x1e),_0x4af708['pybzq'](_0x314d92['description'][_0x4201e5(0x165)],0x1e)?'...':''):_0x4af708[_0x4201e5(0x184)],_0x49c574=_0x4af708[_0x4201e5(0x152)](_0x5d0d45[_0x4201e5(0x156)],_0x4af708[_0x4201e5(0x178)])?'✅':_0x4af708[_0x4201e5(0x199)](_0x5d0d45['status'],'failed')?'❌':'🔄';_0x265af3[_0x4201e5(0x15d)]('|\x20'+_0x5d0d45['id']+'\x20|\x20'+_0x170eb2+'\x20|\x20'+_0x49c574+'\x20'+_0x5d0d45[_0x4201e5(0x156)]+'\x20|\x20'+formatDuration(_0x5d0d45[_0x4201e5(0x17f)])+_0x4201e5(0x183)+formatDate(_0x5d0d45['createdAt'])+'\x20|');}_0x265af3['push']('');}return _0x265af3['join']('\x0a');}
@@ -1 +1 @@
1
- const _0x5432ad=_0x116c;(function(_0x15439b,_0xd4957){const _0x221b20=_0x116c,_0xeada73=_0x15439b();while(!![]){try{const _0x24bab3=-parseInt(_0x221b20(0x9e))/0x1+parseInt(_0x221b20(0xbb))/0x2+parseInt(_0x221b20(0xd8))/0x3*(-parseInt(_0x221b20(0xb3))/0x4)+parseInt(_0x221b20(0xb0))/0x5*(-parseInt(_0x221b20(0xd5))/0x6)+parseInt(_0x221b20(0xc0))/0x7*(-parseInt(_0x221b20(0xb2))/0x8)+-parseInt(_0x221b20(0xad))/0x9*(-parseInt(_0x221b20(0xc6))/0xa)+parseInt(_0x221b20(0xaf))/0xb;if(_0x24bab3===_0xd4957)break;else _0xeada73['push'](_0xeada73['shift']());}catch(_0x482435){_0xeada73['push'](_0xeada73['shift']());}}}(_0x2cb1,0xc3a95));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(_0x5d188a,_0x5319c7){const _0x3b97ee=_0x116c,_0x1e1530={'rALrg':function(_0xbde583,_0x3eb744){return _0xbde583>=_0x3eb744;},'hyoUx':function(_0xe7add0,_0x1451df){return _0xe7add0>_0x1451df;},'UVgQG':function(_0xcd5743,_0xd6275f){return _0xcd5743-_0xd6275f;},'pyKiQ':function(_0x37b609,_0x29517c){return _0x37b609+_0x29517c;}};if(_0x1e1530['rALrg'](_0x5319c7,_0x5d188a[_0x3b97ee(0xdd)]))return[0x0,0x0];const _0x1bdc2a=_0x5d188a[_0x5319c7];let _0x3e7fb9=0x1,_0x3dc325=0x80;while(_0x3e7fb9<=0x8&&!(_0x1bdc2a&_0x3dc325)){_0x3e7fb9++,_0x3dc325>>=0x1;}if(_0x1e1530[_0x3b97ee(0x9d)](_0x5319c7+_0x3e7fb9,_0x5d188a[_0x3b97ee(0xdd)]))return[0x0,0x0];let _0x44244b=_0x1bdc2a&_0x1e1530['UVgQG'](_0x3dc325,0x1);for(let _0x253121=0x1;_0x253121<_0x3e7fb9;_0x253121++){_0x44244b=_0x1e1530[_0x3b97ee(0xa7)](_0x44244b*0x100,_0x5d188a[_0x5319c7+_0x253121]);}return[_0x44244b,_0x3e7fb9];}function readId(_0xb034aa,_0x337443){const _0xc15d32=_0x116c,_0x1ad45e={'PfWNo':function(_0x421339,_0x5749c1){return _0x421339>=_0x5749c1;},'LVYQW':function(_0x564f3c,_0x42dce1){return _0x564f3c>=_0x42dce1;},'rynNa':function(_0x1cb69a,_0x50541e){return _0x1cb69a<_0x50541e;}};if(_0x1ad45e['PfWNo'](_0x337443,_0xb034aa[_0xc15d32(0xdd)]))return[0x0,0x0];const _0x33f438=_0xb034aa[_0x337443];let _0x1b46f4;if(_0x33f438>=0x80)_0x1b46f4=0x1;else{if(_0x33f438>=0x40)_0x1b46f4=0x2;else{if(_0x1ad45e[_0xc15d32(0xc9)](_0x33f438,0x20))_0x1b46f4=0x3;else{if(_0x1ad45e[_0xc15d32(0xb6)](_0x33f438,0x10))_0x1b46f4=0x4;else return[_0x33f438,0x1];}}}if(_0x337443+_0x1b46f4>_0xb034aa['length'])return[0x0,0x0];let _0x5ddc85=0x0;for(let _0x359429=0x0;_0x1ad45e[_0xc15d32(0xbc)](_0x359429,_0x1b46f4);_0x359429++){_0x5ddc85=_0x5ddc85*0x100+_0xb034aa[_0x337443+_0x359429];}return[_0x5ddc85,_0x1b46f4];}function _0x2cb1(){const _0x3729f5=['YaByK','SLiee','19962EKgLNU','rynNa','EUHjF','pow','ebBQC','23583ofyVbn','log','kzizP','readInt16BE','QOvKM','floor','30rXEmez','sizeLen','ttoih','LVYQW','sCXZl','lCjIo','zHfNq','naCbu','slice','Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>','GCWmq','xrwCl','WJyfb','endsWith','min','6117486ckteUd','wLydG','offset','763959vPLwKM','dataOffset','djwRq','pefYM','hrqwh','length','gDfkU','kVnme','File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.','concat','nqbhZ','fixWebmDuration.ts','hTjqv','hyoUx','1305069xtGPKn','YSPqy','idLen','kuHGX','GjoPJ','dataSize','CBmsg','alloc','from','pyKiQ','roNRU','xRnKW','fixWebmDuration.js','CLQBQ','FQYrr','1248129ljTXYM','XquYW','44203588IGNnGS','5nFPUMU','XoRXQ','712CpHKds','16qcfvED','iZgvB','LAtFs','PfWNo','argv','error'];_0x2cb1=function(){return _0x3729f5;};return _0x2cb1();}function readUint(_0x239666,_0x305b05,_0x2fc27e){const _0x4aba36=_0x116c,_0x13589f={'JJcMd':function(_0x258566,_0xb5e94c){return _0x258566<_0xb5e94c;},'EBVnx':function(_0x1e0155,_0x5a73c7){return _0x1e0155+_0x5a73c7;},'kzizP':function(_0x323551,_0x387411){return _0x323551*_0x387411;}};let _0x575d1f=0x0;for(let _0x1bedd5=0x0;_0x13589f['JJcMd'](_0x1bedd5,_0x2fc27e);_0x1bedd5++){_0x575d1f=_0x13589f['EBVnx'](_0x13589f[_0x4aba36(0xc2)](_0x575d1f,0x100),_0x239666[_0x13589f['EBVnx'](_0x305b05,_0x1bedd5)]);}return _0x575d1f;}function isUnknownSize(_0x2361d3,_0x527234){const _0x57e582=_0x116c,_0x1a510c={'oKWfD':function(_0x4cea92,_0x232ce6){return _0x4cea92===_0x232ce6;},'djwRq':function(_0x171919,_0x5e8be6){return _0x171919-_0x5e8be6;}};return _0x1a510c['oKWfD'](_0x2361d3,_0x1a510c[_0x57e582(0xda)](Math[_0x57e582(0xbe)](0x2,0x7*_0x527234),0x1));}function writeId(_0x51981f){const _0x2138ff=_0x116c,_0x21dc0a={'XquYW':function(_0x2d5601,_0x5af3b9){return _0x2d5601&_0x5af3b9;},'XoRXQ':function(_0x14029f,_0x237fb5){return _0x14029f>>_0x237fb5;},'FQYrr':function(_0x3a2dab,_0x584b55){return _0x3a2dab&_0x584b55;},'YaByK':function(_0x477300,_0x2279c7){return _0x477300&_0x2279c7;},'EUHjF':function(_0x3c876b,_0x39c221){return _0x3c876b&_0x39c221;},'sCXZl':function(_0x33693b,_0x24fc73){return _0x33693b&_0x24fc73;},'SLiee':function(_0x447a3c,_0x19a6ea){return _0x447a3c&_0x19a6ea;}};if(_0x51981f<=0xff)return Buffer['from']([_0x51981f]);if(_0x51981f<=0xffff)return Buffer['from']([_0x21dc0a[_0x2138ff(0xae)](_0x21dc0a['XoRXQ'](_0x51981f,0x8),0xff),_0x21dc0a[_0x2138ff(0xac)](_0x51981f,0xff)]);if(_0x51981f<=0xffffff)return Buffer['from']([_0x21dc0a[_0x2138ff(0xb9)](_0x21dc0a[_0x2138ff(0xb1)](_0x51981f,0x10),0xff),_0x21dc0a['EUHjF'](_0x51981f>>0x8,0xff),_0x21dc0a[_0x2138ff(0xca)](_0x51981f,0xff)]);return Buffer[_0x2138ff(0xa6)]([_0x21dc0a['XquYW'](_0x21dc0a[_0x2138ff(0xb1)](_0x51981f,0x18),0xff),_0x21dc0a['XoRXQ'](_0x51981f,0x10)&0xff,_0x21dc0a[_0x2138ff(0xba)](_0x51981f>>0x8,0xff),_0x21dc0a[_0x2138ff(0xbd)](_0x51981f,0xff)]);}function writeVint(_0x25b754,_0x166680){const _0x408586=_0x116c,_0x1854b3={'TDSvG':function(_0x38bbf8,_0x41cfaf){return _0x38bbf8&_0x41cfaf;},'naCbu':function(_0x5557e7,_0x37e3f3){return _0x5557e7<<_0x37e3f3;},'hhBuX':function(_0x3009c8,_0x5c2a75){return _0x3009c8-_0x5c2a75;}};let _0x5b0872=_0x166680||0x1;while(Math[_0x408586(0xbe)](0x2,0x7*_0x5b0872)-0x2<_0x25b754)_0x5b0872++;const _0x126c8d=Buffer['alloc'](_0x5b0872);for(let _0x28a930=_0x5b0872-0x1;_0x28a930>=0x0;_0x28a930--){_0x126c8d[_0x28a930]=_0x1854b3['TDSvG'](_0x25b754,0xff),_0x25b754=Math[_0x408586(0xc5)](_0x25b754/0x100);}return _0x126c8d[0x0]|=_0x1854b3[_0x408586(0xcd)](0x1,_0x1854b3['hhBuX'](0x8,_0x5b0872)),_0x126c8d;}function writeFloat64(_0x23832c){const _0x320289=_0x116c,_0x3b3f02=Buffer[_0x320289(0xa5)](0x8);return _0x3b3f02['writeDoubleBE'](_0x23832c,0x0),_0x3b3f02;}function writeVoid(_0xe8db86){const _0x91686a=_0x116c,_0xf309ca={'wLydG':function(_0x433d83,_0xa5d8b8){return _0x433d83-_0xa5d8b8;},'XUdDo':function(_0x369e10,_0x25cced){return _0x369e10>=_0x25cced;},'GjoPJ':function(_0x8bd14c,_0x234ca3){return _0x8bd14c<=_0x234ca3;},'pefYM':function(_0x5a123a,_0x41b8b0,_0x1b781d){return _0x5a123a(_0x41b8b0,_0x1b781d);}};for(let _0x37527d=0x1;_0x37527d<=0x8;_0x37527d++){const _0x186e75=_0xf309ca[_0x91686a(0xd6)](_0xe8db86-0x1,_0x37527d);if(_0xf309ca['XUdDo'](_0x186e75,0x0)&&_0xf309ca[_0x91686a(0xa2)](_0x186e75,Math[_0x91686a(0xbe)](0x2,0x7*_0x37527d)-0x2))return Buffer['concat']([Buffer[_0x91686a(0xa6)]([ID_VOID]),_0xf309ca[_0x91686a(0xdb)](writeVint,_0x186e75,_0x37527d),Buffer['alloc'](_0x186e75)]);}return Buffer[_0x91686a(0xa5)](0x0);}function findElement(_0x5240d6,_0x445bd6,_0x40ad24,_0x30217c){const _0x2de867=_0x116c,_0x2e5bf4={'zHfNq':function(_0x407ee6,_0x73d4de){return _0x407ee6<_0x73d4de;},'sWjca':function(_0x5056be,_0x2e24bc,_0x39e799){return _0x5056be(_0x2e24bc,_0x39e799);},'lzpPu':function(_0x573649,_0x2ec35a){return _0x573649+_0x2ec35a;},'jNUCE':function(_0x247561,_0x1ef9ee){return _0x247561===_0x1ef9ee;}};let _0x5e1094=_0x445bd6;while(_0x2e5bf4[_0x2de867(0xcc)](_0x5e1094,_0x40ad24)){const [_0x17da3c,_0x4172ad]=_0x2e5bf4['sWjca'](readId,_0x5240d6,_0x5e1094),[_0x678e7e,_0x312e17]=readVint(_0x5240d6,_0x2e5bf4['lzpPu'](_0x5e1094,_0x4172ad));if(_0x2e5bf4['jNUCE'](_0x17da3c,_0x30217c))return{'offset':_0x5e1094,'idLen':_0x4172ad,'sizeLen':_0x312e17,'dataSize':_0x678e7e,'dataOffset':_0x5e1094+_0x4172ad+_0x312e17};if(isUnknownSize(_0x678e7e,_0x312e17))break;_0x5e1094+=_0x4172ad+_0x312e17+_0x678e7e;}return null;}function _0x116c(_0x5950e2,_0x551d02){_0x5950e2=_0x5950e2-0x96;const _0x2cb1d1=_0x2cb1();let _0x116c90=_0x2cb1d1[_0x5950e2];return _0x116c90;}function computeDurationMs(_0x51894c,_0x444974){const _0x441367=_0x116c,_0x57563e={'CLQBQ':function(_0x464808,_0x4a797b){return _0x464808<_0x4a797b;},'iZRZe':function(_0x425432,_0x3a89e6,_0x119050){return _0x425432(_0x3a89e6,_0x119050);},'xRnKW':function(_0x4b516c,_0x263220){return _0x4b516c!==_0x263220;},'NBdar':function(_0x31e6a3,_0x4f3a8c,_0x13fd32){return _0x31e6a3(_0x4f3a8c,_0x13fd32);},'ZRGXL':function(_0x161fe5,_0x101f60,_0x232026){return _0x161fe5(_0x101f60,_0x232026);},'GCWmq':function(_0x55f7fb,_0x57ddc0){return _0x55f7fb===_0x57ddc0;},'FLSHx':function(_0x1c8fb0,_0x14d413,_0x100ed7){return _0x1c8fb0(_0x14d413,_0x100ed7);},'gDfkU':function(_0x3ea8e7,_0x251e41){return _0x3ea8e7+_0x251e41;},'Nenjk':function(_0x581c06,_0x124391){return _0x581c06<_0x124391;},'vGFfD':function(_0x9d6ee9,_0xa0d542){return _0x9d6ee9+_0xa0d542;},'ZBznA':function(_0x5a395a,_0x161a8e,_0x16e6c8,_0x3b5fe1){return _0x5a395a(_0x161a8e,_0x16e6c8,_0x3b5fe1);},'GNlnF':function(_0xb365,_0x8efadc){return _0xb365+_0x8efadc;},'kuHGX':function(_0x2e4233,_0x4af005,_0x223680){return _0x2e4233(_0x4af005,_0x223680);},'ebBQC':function(_0x3e8f51,_0x1fc98a){return _0x3e8f51/_0x1fc98a;},'kVnme':function(_0x1d38d7,_0x44dff7){return _0x1d38d7*_0x44dff7;}};let _0x477216=0x0;const _0x24eac6=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x49ae0f=_0x51894c['indexOf'](_0x24eac6);if(_0x49ae0f===-0x1)return 0x0;while(_0x57563e[_0x441367(0xab)](_0x49ae0f,_0x51894c[_0x441367(0xdd)])){const [_0x3b5673,_0x2fd549]=_0x57563e['iZRZe'](readId,_0x51894c,_0x49ae0f);if(_0x57563e[_0x441367(0xa9)](_0x3b5673,ID_CLUSTER))break;const [_0x4c1dc8,_0x5349b8]=readVint(_0x51894c,_0x49ae0f+_0x2fd549),_0x483e89=_0x49ae0f+_0x2fd549+_0x5349b8,_0x2d9a2d=_0x57563e['NBdar'](isUnknownSize,_0x4c1dc8,_0x5349b8);let _0x5a0974;if(_0x2d9a2d){let _0x148220=_0x483e89;while(_0x148220<_0x51894c[_0x441367(0xdd)]-0x4){const [_0x52053e,_0x5f1ace]=_0x57563e['ZRGXL'](readId,_0x51894c,_0x148220);if(_0x57563e['GCWmq'](_0x52053e,ID_CLUSTER)){_0x5a0974=_0x148220;break;}const [_0xd27314,_0xb0237a]=_0x57563e['ZRGXL'](readVint,_0x51894c,_0x148220+_0x5f1ace);if(_0x57563e['FLSHx'](isUnknownSize,_0xd27314,_0xb0237a)){_0x5a0974=_0x51894c['length'];break;}_0x148220+=_0x57563e['gDfkU'](_0x57563e[_0x441367(0x96)](_0x5f1ace,_0xb0237a),_0xd27314);}_0x5a0974??=_0x51894c['length'];}else _0x5a0974=_0x483e89+_0x4c1dc8;let _0xfc0658=0x0,_0x30f540=_0x483e89;while(_0x57563e['Nenjk'](_0x30f540,_0x5a0974)){const [_0x32a9ac,_0x15650e]=readId(_0x51894c,_0x30f540),[_0x27442e,_0x2dc0c2]=readVint(_0x51894c,_0x57563e['vGFfD'](_0x30f540,_0x15650e));if(_0x32a9ac===ID_TIMESTAMP)_0xfc0658=_0x57563e['ZBznA'](readUint,_0x51894c,_0x57563e['GNlnF'](_0x30f540,_0x15650e)+_0x2dc0c2,_0x27442e);else{if(_0x32a9ac===ID_SIMPLE_BLOCK&&_0x27442e>=0x4){const _0x188eed=_0x30f540+_0x15650e+_0x2dc0c2,[,_0x2e3fce]=_0x57563e[_0x441367(0xa1)](readVint,_0x51894c,_0x188eed),_0x5e7913=_0x51894c[_0x441367(0xc3)](_0x188eed+_0x2e3fce),_0x99481d=_0x57563e[_0x441367(0xbf)](_0x57563e[_0x441367(0x97)](_0xfc0658+_0x5e7913,_0x444974),0xf4240);_0x99481d>_0x477216&&(_0x477216=_0x99481d);}else{if(_0x57563e[_0x441367(0xd0)](_0x32a9ac,ID_CLUSTER))break;}}if(_0x57563e[_0x441367(0xa1)](isUnknownSize,_0x27442e,_0x2dc0c2))break;_0x30f540+=_0x15650e+_0x2dc0c2+_0x27442e;}_0x49ae0f=_0x5a0974;}return _0x477216;}export function fixWebmDuration(_0x37362f,_0x58026f){const _0x3f308c=_0x116c,_0x2f5ed8={'KqQvu':function(_0x4fc8b3,_0x52242b){return _0x4fc8b3(_0x52242b);},'YSPqy':function(_0x73d995,_0x3e870e,_0x5658c1){return _0x73d995(_0x3e870e,_0x5658c1);},'iZgvB':function(_0x4a3a1c,_0x48d4e6){return _0x4a3a1c+_0x48d4e6;},'KOTIW':'Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','CBmsg':function(_0x3474f3,_0x1d726c){return _0x3474f3+_0x1d726c;},'jqBQg':function(_0x5f1392,_0x1ce2ce){return _0x5f1392+_0x1ce2ce;},'sJBJG':function(_0x3481e4,_0x366f81){return _0x3481e4+_0x366f81;},'Fqeps':function(_0x5286bd,_0x17174d){return _0x5286bd+_0x17174d;},'EheTg':function(_0x3b2fa7,_0x90ace7){return _0x3b2fa7===_0x90ace7;},'pmQTf':function(_0x4e39b2,_0x327472){return _0x4e39b2+_0x327472;},'LAtFs':function(_0x5801e1,_0x277444,_0x46234b){return _0x5801e1(_0x277444,_0x46234b);},'roNRU':function(_0x28d92e,_0x4ddae2){return _0x28d92e+_0x4ddae2;},'hrqwh':function(_0x1ffd7e,_0x4a0ac6,_0x56a816,_0x14e4f7,_0x45dc4c){return _0x1ffd7e(_0x4a0ac6,_0x56a816,_0x14e4f7,_0x45dc4c);},'iWOyI':function(_0x2571d2,_0x2be002,_0x1c4efd,_0x2e7138,_0x3f254e){return _0x2571d2(_0x2be002,_0x1c4efd,_0x2e7138,_0x3f254e);},'QOvKM':function(_0x1e5b27,_0x4238c5){return _0x1e5b27/_0x4238c5;},'lCjIo':function(_0x332a7c,_0x35c665){return _0x332a7c(_0x35c665);},'hTjqv':function(_0x3e3ad2,_0x4b0d19){return _0x3e3ad2<_0x4b0d19;},'WJyfb':function(_0x28da3f,_0x48871b){return _0x28da3f+_0x48871b;},'zMugo':function(_0x395b59,_0x4834ec,_0x74a647){return _0x395b59(_0x4834ec,_0x74a647);}},_0x3d2d38=_0x2f5ed8['KqQvu'](readFileSync,_0x37362f);let _0x15a365=0x0;const [_0x4b4b11,_0x315c35]=_0x2f5ed8[_0x3f308c(0x9f)](readId,_0x3d2d38,_0x15a365),[_0x42807a,_0x266c88]=readVint(_0x3d2d38,_0x15a365+_0x315c35);_0x15a365+=_0x2f5ed8['iZgvB'](_0x315c35+_0x266c88,_0x42807a);const [_0x3a5912,_0x5be333]=_0x2f5ed8[_0x3f308c(0x9f)](readId,_0x3d2d38,_0x15a365);if(_0x3a5912!==ID_SEGMENT)return console[_0x3f308c(0xb8)](_0x2f5ed8['KOTIW']),![];const [,_0x3b5bb8]=_0x2f5ed8[_0x3f308c(0x9f)](readVint,_0x3d2d38,_0x15a365+_0x5be333),_0x3529c5=_0x2f5ed8[_0x3f308c(0xb4)](_0x2f5ed8[_0x3f308c(0xa4)](_0x15a365,_0x5be333),_0x3b5bb8);let _0x2dc0e=_0x3529c5;const _0x3e9888=Math[_0x3f308c(0xd4)](_0x3d2d38['length'],_0x2f5ed8['jqBQg'](_0x3529c5,0x2710));let _0x15e633=null,_0x18af3a=null;while(_0x2dc0e<_0x3e9888){const [_0xc3f64b,_0x239082]=readId(_0x3d2d38,_0x2dc0e),[_0x3ca8ae,_0x444c09]=_0x2f5ed8['YSPqy'](readVint,_0x3d2d38,_0x2f5ed8['sJBJG'](_0x2dc0e,_0x239082));_0xc3f64b===ID_VOID&&!_0x15e633&&(_0x15e633={'offset':_0x2dc0e,'idLen':_0x239082,'sizeLen':_0x444c09,'dataSize':_0x3ca8ae,'dataOffset':_0x2f5ed8['Fqeps'](_0x2dc0e+_0x239082,_0x444c09)});if(_0x2f5ed8['EheTg'](_0xc3f64b,ID_INFO)){_0x18af3a={'offset':_0x2dc0e,'idLen':_0x239082,'sizeLen':_0x444c09,'dataSize':_0x3ca8ae,'dataOffset':_0x2f5ed8['pmQTf'](_0x2dc0e+_0x239082,_0x444c09)};break;}if(_0x2f5ed8['EheTg'](_0xc3f64b,ID_CLUSTER))break;if(_0x2f5ed8['LAtFs'](isUnknownSize,_0x3ca8ae,_0x444c09))break;_0x2dc0e+=_0x2f5ed8[_0x3f308c(0xa8)](_0x239082,_0x444c09)+_0x3ca8ae;}if(!_0x18af3a)return console[_0x3f308c(0xb8)]('Could\x20not\x20find\x20Info\x20element'),![];const _0x28fe52=_0x2f5ed8[_0x3f308c(0xdc)](findElement,_0x3d2d38,_0x18af3a['dataOffset'],_0x18af3a['dataOffset']+_0x18af3a['dataSize'],ID_DURATION);if(_0x28fe52)return![];const _0x3aaae7=_0x2f5ed8['iWOyI'](findElement,_0x3d2d38,_0x18af3a[_0x3f308c(0xd9)],_0x2f5ed8['Fqeps'](_0x18af3a[_0x3f308c(0xd9)],_0x18af3a[_0x3f308c(0xa3)]),ID_TIMESTAMP_SCALE);let _0x3f6565=0xf4240;_0x3aaae7&&(_0x3f6565=readUint(_0x3d2d38,_0x3aaae7[_0x3f308c(0xd9)],_0x3aaae7[_0x3f308c(0xa3)]));const _0x35ae2e=computeDurationMs(_0x3d2d38,_0x3f6565);if(_0x35ae2e<=0x0)return console[_0x3f308c(0xb8)]('Could\x20not\x20compute\x20duration'),![];const _0x59cfeb=_0x2f5ed8[_0x3f308c(0xc4)](_0x35ae2e*0xf4240,_0x3f6565),_0x5db83e=Buffer[_0x3f308c(0x99)]([writeId(ID_DURATION),_0x2f5ed8[_0x3f308c(0xcb)](writeVint,0x8),writeFloat64(_0x59cfeb)]),_0x116221=_0x5db83e['length'];if(!_0x15e633||_0x2f5ed8[_0x3f308c(0x9c)](_0x15e633[_0x3f308c(0xd7)],_0x18af3a['offset'])){if(_0x15e633){const _0x140192=_0x15e633[_0x3f308c(0xa0)]+_0x15e633[_0x3f308c(0xc7)]+_0x15e633['dataSize'],_0x667cb7=_0x140192-_0x116221;if(_0x667cb7<0x2)return rewriteFile(_0x3d2d38,_0x18af3a,_0x5db83e,_0x3f6565,_0x35ae2e,_0x58026f);const _0x555096=_0x18af3a[_0x3f308c(0xa3)]+_0x116221,_0x2bd4c2=Buffer['concat']([_0x2f5ed8[_0x3f308c(0xcb)](writeId,ID_INFO),_0x2f5ed8[_0x3f308c(0xb5)](writeVint,_0x555096,_0x18af3a[_0x3f308c(0xc7)])]),_0x35faf8=_0x3d2d38['slice'](_0x18af3a[_0x3f308c(0xd9)],_0x18af3a[_0x3f308c(0xd9)]+_0x18af3a[_0x3f308c(0xa3)]),_0x39b040=_0x2f5ed8['lCjIo'](writeVoid,_0x667cb7),_0x151142=_0x3d2d38['slice'](0x0,_0x15e633[_0x3f308c(0xd7)]),_0x2eae61=_0x3d2d38[_0x3f308c(0xce)](_0x2f5ed8[_0x3f308c(0xd2)](_0x18af3a['dataOffset'],_0x18af3a[_0x3f308c(0xa3)]));return _0x2f5ed8['zMugo'](writeFileSync,_0x58026f,Buffer[_0x3f308c(0x99)]([_0x151142,_0x39b040,_0x2bd4c2,_0x35faf8,_0x5db83e,_0x2eae61])),!![];}}return rewriteFile(_0x3d2d38,_0x18af3a,_0x5db83e,_0x3f6565,_0x35ae2e,_0x58026f);}function rewriteFile(_0x288a58,_0x5157f0,_0x1c6916,_0xa49a65,_0x3b6976,_0x523172){const _0x586984=_0x116c,_0x3102b3={'NYbgW':function(_0x188b8c,_0x40b377){return _0x188b8c+_0x40b377;},'jCPUQ':function(_0x35e47f,_0x447695){return _0x35e47f(_0x447695);},'ttoih':function(_0x2ac299,_0x17ba41){return _0x2ac299(_0x17ba41);},'xrwCl':function(_0x354932,_0xb3746a){return _0x354932+_0xb3746a;},'nqbhZ':function(_0x5873ff,_0x3401b4,_0x13f62c){return _0x5873ff(_0x3401b4,_0x13f62c);}},_0x4e9195=_0x3102b3['NYbgW'](_0x5157f0[_0x586984(0xa3)],_0x1c6916[_0x586984(0xdd)]),_0xd5663c=Buffer['concat']([_0x3102b3['jCPUQ'](writeId,ID_INFO),_0x3102b3[_0x586984(0xc8)](writeVint,_0x4e9195)]),_0x34359a=_0x3102b3['xrwCl'](_0x5157f0[_0x586984(0xa0)],_0x5157f0['sizeLen']),_0x353485=_0x288a58['slice'](0x0,_0x5157f0[_0x586984(0xd7)]),_0x27418a=_0x288a58['slice'](_0x5157f0['dataOffset'],_0x3102b3[_0x586984(0xd1)](_0x5157f0['dataOffset'],_0x5157f0['dataSize'])),_0x3c4d39=_0x288a58['slice'](_0x5157f0['offset']+_0x34359a+_0x5157f0['dataSize']);return _0x3102b3[_0x586984(0x9a)](writeFileSync,_0x523172,Buffer['concat']([_0x353485,_0xd5663c,_0x27418a,_0x1c6916,_0x3c4d39])),!![];}if(process[_0x5432ad(0xb7)][0x1]?.[_0x5432ad(0xd3)](_0x5432ad(0x9b))||process['argv'][0x1]?.['endsWith'](_0x5432ad(0xaa))){const input=process['argv'][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x5432ad(0xb8)](_0x5432ad(0xcf)),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x5432ad(0xc1)]('Fixed:\x20'+output):console[_0x5432ad(0xc1)](_0x5432ad(0x98));}
1
+ const _0x11e1ec=_0x3753;(function(_0x147b40,_0x325b4b){const _0x291315=_0x3753,_0x752173=_0x147b40();while(!![]){try{const _0x1935b1=parseInt(_0x291315(0x170))/0x1+parseInt(_0x291315(0x145))/0x2*(-parseInt(_0x291315(0x16d))/0x3)+-parseInt(_0x291315(0x17d))/0x4*(-parseInt(_0x291315(0x180))/0x5)+parseInt(_0x291315(0x14c))/0x6+-parseInt(_0x291315(0x168))/0x7+-parseInt(_0x291315(0x14f))/0x8*(-parseInt(_0x291315(0x151))/0x9)+-parseInt(_0x291315(0x173))/0xa;if(_0x1935b1===_0x325b4b)break;else _0x752173['push'](_0x752173['shift']());}catch(_0x5e0740){_0x752173['push'](_0x752173['shift']());}}}(_0x4428,0xaf7ed));import{readFileSync,writeFileSync}from'fs';function _0x3753(_0x24a8ac,_0x1d8316){_0x24a8ac=_0x24a8ac-0x145;const _0x44285c=_0x4428();let _0x375341=_0x44285c[_0x24a8ac];return _0x375341;}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(_0x2cb846,_0x10cdeb){const _0x43b1af=_0x3753,_0x17995a={'EZqDx':function(_0xb8513b,_0x42a07a){return _0xb8513b&_0x42a07a;},'yqExo':function(_0x33d5a5,_0x59b4a0){return _0x33d5a5+_0x59b4a0;}};if(_0x10cdeb>=_0x2cb846[_0x43b1af(0x158)])return[0x0,0x0];const _0x429cdd=_0x2cb846[_0x10cdeb];let _0x52b270=0x1,_0x57f433=0x80;while(_0x52b270<=0x8&&!_0x17995a['EZqDx'](_0x429cdd,_0x57f433)){_0x52b270++,_0x57f433>>=0x1;}if(_0x10cdeb+_0x52b270>_0x2cb846['length'])return[0x0,0x0];let _0x1f8410=_0x429cdd&_0x57f433-0x1;for(let _0x439a8d=0x1;_0x439a8d<_0x52b270;_0x439a8d++){_0x1f8410=_0x1f8410*0x100+_0x2cb846[_0x17995a['yqExo'](_0x10cdeb,_0x439a8d)];}return[_0x1f8410,_0x52b270];}function readId(_0x2782bf,_0xe88d24){const _0xab287d=_0x3753,_0x3250a4={'gmDkW':function(_0x2810a6,_0x24784a){return _0x2810a6>=_0x24784a;},'emDFg':function(_0x40772d,_0x482045){return _0x40772d<_0x482045;},'fhVtA':function(_0x4f88f3,_0xee613f){return _0x4f88f3+_0xee613f;}};if(_0xe88d24>=_0x2782bf[_0xab287d(0x158)])return[0x0,0x0];const _0x452349=_0x2782bf[_0xe88d24];let _0x17e794;if(_0x3250a4[_0xab287d(0x16b)](_0x452349,0x80))_0x17e794=0x1;else{if(_0x452349>=0x40)_0x17e794=0x2;else{if(_0x452349>=0x20)_0x17e794=0x3;else{if(_0x452349>=0x10)_0x17e794=0x4;else return[_0x452349,0x1];}}}if(_0xe88d24+_0x17e794>_0x2782bf['length'])return[0x0,0x0];let _0x1cfb27=0x0;for(let _0x58c38c=0x0;_0x3250a4[_0xab287d(0x176)](_0x58c38c,_0x17e794);_0x58c38c++){_0x1cfb27=_0x3250a4[_0xab287d(0x175)](_0x1cfb27*0x100,_0x2782bf[_0x3250a4[_0xab287d(0x175)](_0xe88d24,_0x58c38c)]);}return[_0x1cfb27,_0x17e794];}function readUint(_0x42a4c8,_0x301f3f,_0x3e863c){const _0x29f4a0=_0x3753,_0x3f2f02={'GvTcI':function(_0x5c9c53,_0x384241){return _0x5c9c53+_0x384241;},'NNPdP':function(_0x7ee6e5,_0x3df648){return _0x7ee6e5*_0x3df648;}};let _0x323f93=0x0;for(let _0x30a7a3=0x0;_0x30a7a3<_0x3e863c;_0x30a7a3++){_0x323f93=_0x3f2f02[_0x29f4a0(0x150)](_0x3f2f02['NNPdP'](_0x323f93,0x100),_0x42a4c8[_0x301f3f+_0x30a7a3]);}return _0x323f93;}function isUnknownSize(_0x2ceec5,_0x18d9f0){const _0xb98f1f=_0x3753,_0x29dcc3={'slKHg':function(_0x1af1f6,_0x15241b){return _0x1af1f6*_0x15241b;}};return _0x2ceec5===Math['pow'](0x2,_0x29dcc3[_0xb98f1f(0x147)](0x7,_0x18d9f0))-0x1;}function writeId(_0x533032){const _0xfe1a2d=_0x3753,_0x34baa9={'KMnVd':function(_0x1bcbc3,_0x15cdcc){return _0x1bcbc3<=_0x15cdcc;},'iGzyu':function(_0x109bef,_0x351af5){return _0x109bef>>_0x351af5;},'Srdzq':function(_0x4dd9f1,_0x273224){return _0x4dd9f1>>_0x273224;},'PyEVs':function(_0x552989,_0x5f76a0){return _0x552989&_0x5f76a0;},'thoHN':function(_0x3375aa,_0x1cb00d){return _0x3375aa>>_0x1cb00d;},'cuemC':function(_0x2ff186,_0x556f73){return _0x2ff186&_0x556f73;}};if(_0x34baa9[_0xfe1a2d(0x155)](_0x533032,0xff))return Buffer[_0xfe1a2d(0x152)]([_0x533032]);if(_0x34baa9[_0xfe1a2d(0x155)](_0x533032,0xffff))return Buffer['from']([_0x34baa9[_0xfe1a2d(0x148)](_0x533032,0x8)&0xff,_0x533032&0xff]);if(_0x533032<=0xffffff)return Buffer[_0xfe1a2d(0x152)]([_0x34baa9['Srdzq'](_0x533032,0x10)&0xff,_0x34baa9[_0xfe1a2d(0x15b)](_0x533032>>0x8,0xff),_0x533032&0xff]);return Buffer[_0xfe1a2d(0x152)]([_0x533032>>0x18&0xff,_0x34baa9[_0xfe1a2d(0x15b)](_0x34baa9['thoHN'](_0x533032,0x10),0xff),_0x34baa9['cuemC'](_0x533032>>0x8,0xff),_0x533032&0xff]);}function writeVint(_0x294789,_0x5819c1){const _0xaf8048=_0x3753,_0x5eb583={'JlZxE':function(_0x547280,_0xc552d2){return _0x547280||_0xc552d2;},'SYJxH':function(_0x14f647,_0x447ebd){return _0x14f647-_0x447ebd;},'pdudS':function(_0x5494db,_0x3b1d73){return _0x5494db*_0x3b1d73;},'EAsAz':function(_0x85ef1b,_0x4e49a1){return _0x85ef1b<<_0x4e49a1;}};let _0x250f4b=_0x5eb583[_0xaf8048(0x153)](_0x5819c1,0x1);while(_0x5eb583['SYJxH'](Math['pow'](0x2,_0x5eb583[_0xaf8048(0x15e)](0x7,_0x250f4b)),0x2)<_0x294789)_0x250f4b++;const _0x51efe4=Buffer[_0xaf8048(0x14b)](_0x250f4b);for(let _0x10dd83=_0x250f4b-0x1;_0x10dd83>=0x0;_0x10dd83--){_0x51efe4[_0x10dd83]=_0x294789&0xff,_0x294789=Math['floor'](_0x294789/0x100);}return _0x51efe4[0x0]|=_0x5eb583['EAsAz'](0x1,_0x5eb583['SYJxH'](0x8,_0x250f4b)),_0x51efe4;}function writeFloat64(_0x3ff9a2){const _0x3a3186=Buffer['alloc'](0x8);return _0x3a3186['writeDoubleBE'](_0x3ff9a2,0x0),_0x3a3186;}function writeVoid(_0x7ba46c){const _0x14e447=_0x3753,_0x1aed7f={'skMbb':function(_0x473181,_0x4796bc){return _0x473181<=_0x4796bc;},'HmsOR':function(_0x5e4614,_0x1ecf64){return _0x5e4614>=_0x1ecf64;},'lOZJO':function(_0x6b62b7,_0x617368){return _0x6b62b7<=_0x617368;},'smwOw':function(_0x190947,_0x19b0da){return _0x190947-_0x19b0da;}};for(let _0x52d8e5=0x1;_0x1aed7f['skMbb'](_0x52d8e5,0x8);_0x52d8e5++){const _0x5ce02f=_0x7ba46c-0x1-_0x52d8e5;if(_0x1aed7f['HmsOR'](_0x5ce02f,0x0)&&_0x1aed7f[_0x14e447(0x17b)](_0x5ce02f,_0x1aed7f['smwOw'](Math['pow'](0x2,0x7*_0x52d8e5),0x2)))return Buffer[_0x14e447(0x161)]([Buffer[_0x14e447(0x152)]([ID_VOID]),writeVint(_0x5ce02f,_0x52d8e5),Buffer[_0x14e447(0x14b)](_0x5ce02f)]);}return Buffer['alloc'](0x0);}function findElement(_0x10a62a,_0xbf6e36,_0x5ac7aa,_0x1d2ee7){const _0x5ceb3a=_0x3753,_0x456357={'gatsB':function(_0x2e8c03,_0x5e6ccb){return _0x2e8c03<_0x5e6ccb;},'IXykr':function(_0xfb4e2b,_0x5c9c20,_0x1fa2cd){return _0xfb4e2b(_0x5c9c20,_0x1fa2cd);},'vgcZY':function(_0x2aa4a6,_0x4dd1ce,_0x2f6511){return _0x2aa4a6(_0x4dd1ce,_0x2f6511);},'dwfGT':function(_0x5d2a57,_0x4f2cb5){return _0x5d2a57===_0x4f2cb5;},'tGZas':function(_0x4a9be7,_0x282bd9){return _0x4a9be7+_0x282bd9;},'fnjKL':function(_0x342ba4,_0x96a06e){return _0x342ba4+_0x96a06e;},'TlOrt':function(_0x1da356,_0x3c221f,_0x182de2){return _0x1da356(_0x3c221f,_0x182de2);}};let _0x2d58a2=_0xbf6e36;while(_0x456357['gatsB'](_0x2d58a2,_0x5ac7aa)){const [_0x142cfc,_0x37da06]=_0x456357['IXykr'](readId,_0x10a62a,_0x2d58a2),[_0x2da0e4,_0x3f5a71]=_0x456357[_0x5ceb3a(0x17e)](readVint,_0x10a62a,_0x2d58a2+_0x37da06);if(_0x456357[_0x5ceb3a(0x16f)](_0x142cfc,_0x1d2ee7))return{'offset':_0x2d58a2,'idLen':_0x37da06,'sizeLen':_0x3f5a71,'dataSize':_0x2da0e4,'dataOffset':_0x456357[_0x5ceb3a(0x164)](_0x456357['fnjKL'](_0x2d58a2,_0x37da06),_0x3f5a71)};if(_0x456357[_0x5ceb3a(0x14d)](isUnknownSize,_0x2da0e4,_0x3f5a71))break;_0x2d58a2+=_0x456357[_0x5ceb3a(0x164)](_0x37da06,_0x3f5a71)+_0x2da0e4;}return null;}function computeDurationMs(_0x58b594,_0x129acc){const _0x364739=_0x3753,_0x3734f8={'lGeGE':function(_0x310efa,_0x3646b2,_0x17a30d){return _0x310efa(_0x3646b2,_0x17a30d);},'qIMKt':function(_0x59eebf,_0x181d65){return _0x59eebf!==_0x181d65;},'jtunS':function(_0x353d8a,_0x2b39b0){return _0x353d8a+_0x2b39b0;},'pNUip':function(_0x57d798,_0x2b5a96){return _0x57d798+_0x2b5a96;},'MNLWM':function(_0x198f95,_0x3ba6f8){return _0x198f95===_0x3ba6f8;},'uhAgI':function(_0x39100d,_0x563c6a,_0x186fe9){return _0x39100d(_0x563c6a,_0x186fe9);},'EowSa':function(_0xc52729,_0xbc615){return _0xc52729+_0xbc615;},'jRupQ':function(_0x7f49b3,_0x139ba3,_0x2498b5){return _0x7f49b3(_0x139ba3,_0x2498b5);},'rQFFr':function(_0x19a5d7,_0x4b7ed3){return _0x19a5d7+_0x4b7ed3;},'DhNfg':function(_0x564fc0,_0x1ac362){return _0x564fc0+_0x1ac362;},'JDfOE':function(_0x19ebca,_0x2e9923){return _0x19ebca+_0x2e9923;}};let _0x5e59ec=0x0;const _0x330921=Buffer[_0x364739(0x152)]([0x1f,0x43,0xb6,0x75]);let _0xac4082=_0x58b594['indexOf'](_0x330921);if(_0xac4082===-0x1)return 0x0;while(_0xac4082<_0x58b594['length']){const [_0x507559,_0x27d4a6]=_0x3734f8[_0x364739(0x174)](readId,_0x58b594,_0xac4082);if(_0x3734f8[_0x364739(0x14a)](_0x507559,ID_CLUSTER))break;const [_0x16ff92,_0x16d783]=readVint(_0x58b594,_0x3734f8[_0x364739(0x15c)](_0xac4082,_0x27d4a6)),_0x240e08=_0x3734f8['pNUip'](_0xac4082+_0x27d4a6,_0x16d783),_0x3d46f5=isUnknownSize(_0x16ff92,_0x16d783);let _0x25f6be;if(_0x3d46f5){let _0x52fe92=_0x240e08;while(_0x52fe92<_0x58b594['length']-0x4){const [_0x482306,_0x409c46]=_0x3734f8['lGeGE'](readId,_0x58b594,_0x52fe92);if(_0x3734f8[_0x364739(0x165)](_0x482306,ID_CLUSTER)){_0x25f6be=_0x52fe92;break;}const [_0x698ebb,_0x1549af]=_0x3734f8['uhAgI'](readVint,_0x58b594,_0x52fe92+_0x409c46);if(isUnknownSize(_0x698ebb,_0x1549af)){_0x25f6be=_0x58b594[_0x364739(0x158)];break;}_0x52fe92+=_0x3734f8['jtunS'](_0x3734f8['pNUip'](_0x409c46,_0x1549af),_0x698ebb);}_0x25f6be??=_0x58b594['length'];}else _0x25f6be=_0x3734f8['EowSa'](_0x240e08,_0x16ff92);let _0x29d1e3=0x0,_0x2aef45=_0x240e08;while(_0x2aef45<_0x25f6be){const [_0xe209af,_0x4a2e3c]=readId(_0x58b594,_0x2aef45),[_0x233858,_0x2fae89]=_0x3734f8['jRupQ'](readVint,_0x58b594,_0x3734f8[_0x364739(0x166)](_0x2aef45,_0x4a2e3c));if(_0x3734f8['MNLWM'](_0xe209af,ID_TIMESTAMP))_0x29d1e3=readUint(_0x58b594,_0x3734f8[_0x364739(0x179)](_0x2aef45,_0x4a2e3c)+_0x2fae89,_0x233858);else{if(_0xe209af===ID_SIMPLE_BLOCK&&_0x233858>=0x4){const _0x5d3fd3=_0x3734f8['DhNfg'](_0x3734f8['JDfOE'](_0x2aef45,_0x4a2e3c),_0x2fae89),[,_0x2f2997]=readVint(_0x58b594,_0x5d3fd3),_0x2f3743=_0x58b594[_0x364739(0x167)](_0x3734f8[_0x364739(0x162)](_0x5d3fd3,_0x2f2997)),_0x5023a=(_0x29d1e3+_0x2f3743)*_0x129acc/0xf4240;_0x5023a>_0x5e59ec&&(_0x5e59ec=_0x5023a);}else{if(_0xe209af===ID_CLUSTER)break;}}if(isUnknownSize(_0x233858,_0x2fae89))break;_0x2aef45+=_0x4a2e3c+_0x2fae89+_0x233858;}_0xac4082=_0x25f6be;}return _0x5e59ec;}export function fixWebmDuration(_0x119f0f,_0xe51951){const _0x315d9a=_0x3753,_0xec5169={'rKUzd':function(_0x3bc059,_0x383656){return _0x3bc059(_0x383656);},'VWuaU':function(_0x1e17f5,_0x3491d3,_0x1b927e){return _0x1e17f5(_0x3491d3,_0x1b927e);},'xNffn':'Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','RcyWY':function(_0x21c4a1,_0x2d120a,_0x5c1b02){return _0x21c4a1(_0x2d120a,_0x5c1b02);},'GAndW':function(_0x3eaf75,_0x1a3975){return _0x3eaf75+_0x1a3975;},'drWSq':function(_0x5c7a7d,_0x5cc164){return _0x5c7a7d<_0x5cc164;},'DUUGt':function(_0x291b59,_0x30173e){return _0x291b59<=_0x30173e;},'OLqGh':function(_0x339c64,_0x5dbaec){return _0x339c64/_0x5dbaec;},'nPKtZ':function(_0x35ce75,_0x48526e){return _0x35ce75*_0x48526e;},'IWXkO':function(_0x2d622d,_0x187741){return _0x2d622d+_0x187741;},'duhKG':function(_0x448cd8,_0x28ead8){return _0x448cd8+_0x28ead8;},'eQkOH':function(_0x16ed7a,_0x3f8a61){return _0x16ed7a(_0x3f8a61);},'cGRup':function(_0x280e90,_0x164ba5){return _0x280e90+_0x164ba5;},'GebYV':function(_0x3b3ba6,_0x4f43c2){return _0x3b3ba6+_0x4f43c2;}},_0x3c4236=_0xec5169['rKUzd'](readFileSync,_0x119f0f);let _0x286504=0x0;const [_0x449393,_0x143bc1]=readId(_0x3c4236,_0x286504),[_0xd5bd00,_0x35e9a8]=readVint(_0x3c4236,_0x286504+_0x143bc1);_0x286504+=_0x143bc1+_0x35e9a8+_0xd5bd00;const [_0x28a16e,_0x52a1e2]=_0xec5169[_0x315d9a(0x16e)](readId,_0x3c4236,_0x286504);if(_0x28a16e!==ID_SEGMENT)return console[_0x315d9a(0x181)](_0xec5169[_0x315d9a(0x15f)]),![];const [,_0x3059e4]=_0xec5169['RcyWY'](readVint,_0x3c4236,_0x286504+_0x52a1e2),_0x4244c6=_0xec5169['GAndW'](_0x286504+_0x52a1e2,_0x3059e4);let _0x5c33b5=_0x4244c6;const _0x2fbff7=Math['min'](_0x3c4236[_0x315d9a(0x158)],_0x4244c6+0x2710);let _0x52b9e6=null,_0x3680d5=null;while(_0xec5169['drWSq'](_0x5c33b5,_0x2fbff7)){const [_0x1c2682,_0xa4473d]=_0xec5169[_0x315d9a(0x16a)](readId,_0x3c4236,_0x5c33b5),[_0x369571,_0x11449c]=readVint(_0x3c4236,_0x5c33b5+_0xa4473d);_0x1c2682===ID_VOID&&!_0x52b9e6&&(_0x52b9e6={'offset':_0x5c33b5,'idLen':_0xa4473d,'sizeLen':_0x11449c,'dataSize':_0x369571,'dataOffset':_0x5c33b5+_0xa4473d+_0x11449c});if(_0x1c2682===ID_INFO){_0x3680d5={'offset':_0x5c33b5,'idLen':_0xa4473d,'sizeLen':_0x11449c,'dataSize':_0x369571,'dataOffset':_0xec5169[_0x315d9a(0x178)](_0xec5169['GAndW'](_0x5c33b5,_0xa4473d),_0x11449c)};break;}if(_0x1c2682===ID_CLUSTER)break;if(isUnknownSize(_0x369571,_0x11449c))break;_0x5c33b5+=_0xec5169[_0x315d9a(0x178)](_0xa4473d,_0x11449c)+_0x369571;}if(!_0x3680d5)return console['error']('Could\x20not\x20find\x20Info\x20element'),![];const _0x2d0471=findElement(_0x3c4236,_0x3680d5[_0x315d9a(0x146)],_0x3680d5['dataOffset']+_0x3680d5[_0x315d9a(0x169)],ID_DURATION);if(_0x2d0471)return![];const _0x184f76=findElement(_0x3c4236,_0x3680d5[_0x315d9a(0x146)],_0xec5169[_0x315d9a(0x178)](_0x3680d5['dataOffset'],_0x3680d5[_0x315d9a(0x169)]),ID_TIMESTAMP_SCALE);let _0xdca20b=0xf4240;_0x184f76&&(_0xdca20b=readUint(_0x3c4236,_0x184f76['dataOffset'],_0x184f76[_0x315d9a(0x169)]));const _0x3d0d08=_0xec5169[_0x315d9a(0x16e)](computeDurationMs,_0x3c4236,_0xdca20b);if(_0xec5169[_0x315d9a(0x15d)](_0x3d0d08,0x0))return console[_0x315d9a(0x181)]('Could\x20not\x20compute\x20duration'),![];const _0x4dba79=_0xec5169[_0x315d9a(0x157)](_0xec5169[_0x315d9a(0x17c)](_0x3d0d08,0xf4240),_0xdca20b),_0x3cf596=Buffer[_0x315d9a(0x161)]([writeId(ID_DURATION),_0xec5169[_0x315d9a(0x156)](writeVint,0x8),writeFloat64(_0x4dba79)]),_0x52e5da=_0x3cf596[_0x315d9a(0x158)];if(!_0x52b9e6||_0x52b9e6[_0x315d9a(0x17a)]<_0x3680d5[_0x315d9a(0x17a)]){if(_0x52b9e6){const _0x2f36b2=_0xec5169['IWXkO'](_0x52b9e6[_0x315d9a(0x16c)],_0x52b9e6['sizeLen'])+_0x52b9e6[_0x315d9a(0x169)],_0x50b03a=_0x2f36b2-_0x52e5da;if(_0xec5169[_0x315d9a(0x177)](_0x50b03a,0x2))return rewriteFile(_0x3c4236,_0x3680d5,_0x3cf596,_0xdca20b,_0x3d0d08,_0xe51951);const _0x1dcb1e=_0xec5169[_0x315d9a(0x154)](_0x3680d5[_0x315d9a(0x169)],_0x52e5da),_0x20ae8f=Buffer[_0x315d9a(0x161)]([_0xec5169[_0x315d9a(0x15a)](writeId,ID_INFO),writeVint(_0x1dcb1e,_0x3680d5['sizeLen'])]),_0x30d499=_0x3c4236['slice'](_0x3680d5['dataOffset'],_0xec5169['cGRup'](_0x3680d5['dataOffset'],_0x3680d5[_0x315d9a(0x169)])),_0x269bd9=writeVoid(_0x50b03a),_0x40f9fd=_0x3c4236['slice'](0x0,_0x52b9e6['offset']),_0x346d41=_0x3c4236['slice'](_0xec5169[_0x315d9a(0x163)](_0x3680d5[_0x315d9a(0x146)],_0x3680d5['dataSize']));return _0xec5169['VWuaU'](writeFileSync,_0xe51951,Buffer['concat']([_0x40f9fd,_0x269bd9,_0x20ae8f,_0x30d499,_0x3cf596,_0x346d41])),!![];}}return rewriteFile(_0x3c4236,_0x3680d5,_0x3cf596,_0xdca20b,_0x3d0d08,_0xe51951);}function _0x4428(){const _0x436123=['MNLWM','EowSa','readInt16BE','1100253qdCAtZ','dataSize','RcyWY','gmDkW','idLen','9lUgBVp','VWuaU','dwfGT','1315360Hvmmls','slice','fixWebmDuration.js','23923770FLajVj','lGeGE','fhVtA','emDFg','drWSq','GAndW','rQFFr','offset','lOZJO','nPKtZ','64tgeMOd','vgcZY','joxiB','444790RlxCdz','error','fixWebmDuration.ts','556602yesoaR','dataOffset','slKHg','iGzyu','EdNrm','qIMKt','alloc','2188506xhQTYO','TlOrt','argv','8pWBjdk','GvTcI','8998641LxXvvj','from','JlZxE','duhKG','KMnVd','rKUzd','OLqGh','length','log','eQkOH','PyEVs','jtunS','DUUGt','pdudS','xNffn','gfWKy','concat','DhNfg','GebYV','tGZas'];_0x4428=function(){return _0x436123;};return _0x4428();}function rewriteFile(_0x224428,_0x16d469,_0x196bc4,_0x5c7b94,_0x3ba4c5,_0x16ef1c){const _0x26a5a3=_0x3753,_0x208a55={'joxiB':function(_0x28fbab,_0x16ada6){return _0x28fbab+_0x16ada6;},'dxats':function(_0x45a556,_0x25b615){return _0x45a556(_0x25b615);},'lDIkO':function(_0x519b6f,_0x37ea8a){return _0x519b6f+_0x37ea8a;},'EdNrm':function(_0x38be7a,_0x47cc42){return _0x38be7a+_0x47cc42;},'gfWKy':function(_0x381ad1,_0x114770,_0x469d04){return _0x381ad1(_0x114770,_0x469d04);}},_0x161869=_0x208a55[_0x26a5a3(0x17f)](_0x16d469['dataSize'],_0x196bc4[_0x26a5a3(0x158)]),_0x356d25=Buffer['concat']([_0x208a55['dxats'](writeId,ID_INFO),_0x208a55['dxats'](writeVint,_0x161869)]),_0x32c4d7=_0x16d469['idLen']+_0x16d469['sizeLen'],_0x2b2490=_0x224428[_0x26a5a3(0x171)](0x0,_0x16d469[_0x26a5a3(0x17a)]),_0x2b3333=_0x224428['slice'](_0x16d469['dataOffset'],_0x16d469['dataOffset']+_0x16d469['dataSize']),_0x1784e4=_0x224428[_0x26a5a3(0x171)](_0x208a55['lDIkO'](_0x208a55[_0x26a5a3(0x149)](_0x16d469[_0x26a5a3(0x17a)],_0x32c4d7),_0x16d469[_0x26a5a3(0x169)]));return _0x208a55[_0x26a5a3(0x160)](writeFileSync,_0x16ef1c,Buffer[_0x26a5a3(0x161)]([_0x2b2490,_0x356d25,_0x2b3333,_0x196bc4,_0x1784e4])),!![];}if(process[_0x11e1ec(0x14e)][0x1]?.['endsWith'](_0x11e1ec(0x182))||process[_0x11e1ec(0x14e)][0x1]?.['endsWith'](_0x11e1ec(0x172))){const input=process['argv'][0x2],output=process[_0x11e1ec(0x14e)][0x3];(!input||!output)&&(console[_0x11e1ec(0x181)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log']('Fixed:\x20'+output):console[_0x11e1ec(0x159)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- (function(_0x5ef32c,_0x5ed496){const _0x4d6196=_0x1670,_0x28241b=_0x5ef32c();while(!![]){try{const _0x15d969=parseInt(_0x4d6196(0xfc))/0x1*(parseInt(_0x4d6196(0x100))/0x2)+-parseInt(_0x4d6196(0x105))/0x3+parseInt(_0x4d6196(0xff))/0x4+parseInt(_0x4d6196(0x10c))/0x5+parseInt(_0x4d6196(0xfb))/0x6*(parseInt(_0x4d6196(0xf9))/0x7)+-parseInt(_0x4d6196(0xfe))/0x8*(parseInt(_0x4d6196(0x10a))/0x9)+-parseInt(_0x4d6196(0x102))/0xa*(parseInt(_0x4d6196(0x106))/0xb);if(_0x15d969===_0x5ed496)break;else _0x28241b['push'](_0x28241b['shift']());}catch(_0x3f4f2f){_0x28241b['push'](_0x28241b['shift']());}}}(_0x7b06,0x87813));import{execSync}from'child_process';function _0x1670(_0x2d5879,_0x123e8b){_0x2d5879=_0x2d5879-0xf7;const _0x7b0637=_0x7b06();let _0x167008=_0x7b0637[_0x2d5879];return _0x167008;}function _0x7b06(){const _0x512f65=['utf-8','317177CptSbV','trim','6UOHzja','463avuRED','replace','24XALLmb','3502368tsLPKv','3426MBPFtP','atpge','33070ILVTvu','IXQio','qLVCj','504195gChGgV','418eeCsfm','QcTua','github.com/','wCDgx','3186063EmMrVg','pipe','983785taNvVS','git\x20remote\x20get-url\x20origin'];_0x7b06=function(){return _0x512f65;};return _0x7b06();}export function getGitBranch(){const _0xe2eed8=_0x1670,_0x11af50={'QcTua':function(_0x3047d6,_0x2a24b3,_0x465a1d){return _0x3047d6(_0x2a24b3,_0x465a1d);},'IXQio':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','atpge':'pipe'};try{return _0x11af50[_0xe2eed8(0x107)](execSync,_0x11af50[_0xe2eed8(0x103)],{'encoding':_0xe2eed8(0xf8),'stdio':[_0xe2eed8(0x10b),_0xe2eed8(0x10b),_0x11af50[_0xe2eed8(0x101)]]})[_0xe2eed8(0xfa)]();}catch{return undefined;}}export function getGitRepoUrl(){const _0x281dfb=_0x1670,_0x5d9117={'NepMh':_0x281dfb(0xf7),'FbcaF':_0x281dfb(0xf8),'kDYUE':'pipe','wCDgx':_0x281dfb(0x108)};try{const _0x1c9e31=execSync(_0x5d9117['NepMh'],{'encoding':_0x5d9117['FbcaF'],'stdio':[_0x281dfb(0x10b),_0x5d9117['kDYUE'],'pipe']})[_0x281dfb(0xfa)]();return _0x1c9e31[_0x281dfb(0xfd)](/\.git$/,'')[_0x281dfb(0xfd)](/^git@github\.com:/,_0x5d9117[_0x281dfb(0x109)])['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x50eb40=_0x1670,_0x371a9e={'qLVCj':function(_0x51dec5){return _0x51dec5();}};return{'branch':_0x371a9e[_0x50eb40(0x104)](getGitBranch),'repoUrl':getGitRepoUrl()};}
1
+ (function(_0x383354,_0x56bde2){const _0x58b0ed=_0x5ae8,_0x12d8b8=_0x383354();while(!![]){try{const _0x3de2cb=parseInt(_0x58b0ed(0x1e4))/0x1*(parseInt(_0x58b0ed(0x1e2))/0x2)+-parseInt(_0x58b0ed(0x1db))/0x3*(parseInt(_0x58b0ed(0x1eb))/0x4)+-parseInt(_0x58b0ed(0x1e1))/0x5+parseInt(_0x58b0ed(0x1ed))/0x6*(-parseInt(_0x58b0ed(0x1e9))/0x7)+-parseInt(_0x58b0ed(0x1e3))/0x8+parseInt(_0x58b0ed(0x1e7))/0x9*(parseInt(_0x58b0ed(0x1e8))/0xa)+-parseInt(_0x58b0ed(0x1e0))/0xb*(-parseInt(_0x58b0ed(0x1ea))/0xc);if(_0x3de2cb===_0x56bde2)break;else _0x12d8b8['push'](_0x12d8b8['shift']());}catch(_0x4e0df2){_0x12d8b8['push'](_0x12d8b8['shift']());}}}(_0x4096,0x3a76e));function _0x4096(){const _0x1e30aa=['git\x20rev-parse\x20--abbrev-ref\x20HEAD','kfyUn','33pUTNKI','1188630ZpUzJG','148646wjDCZu','44592ymeiJW','1WpLzNy','ITMbF','trim','828uZEadu','36680senmkR','3229779CGbGwn','2137656zeDRdT','8dBQkQR','replace','6ZNjzZN','pipe','3039uBuiOU','utf-8','xamSJ'];_0x4096=function(){return _0x1e30aa;};return _0x4096();}import{execSync}from'child_process';export function getGitBranch(){const _0x82fb9=_0x5ae8,_0x366331={'ybhwT':_0x82fb9(0x1de),'qdqKO':_0x82fb9(0x1dc),'MELrX':'pipe'};try{return execSync(_0x366331['ybhwT'],{'encoding':_0x366331['qdqKO'],'stdio':[_0x366331['MELrX'],_0x366331['MELrX'],_0x82fb9(0x1da)]})['trim']();}catch{return undefined;}}export function getGitRepoUrl(){const _0x53f697=_0x5ae8,_0x36a836={'kfyUn':function(_0x2bcd33,_0x5d760c,_0x547321){return _0x2bcd33(_0x5d760c,_0x547321);},'CigHY':_0x53f697(0x1dc),'ITMbF':_0x53f697(0x1da),'xamSJ':'github.com/'};try{const _0xd46d01=_0x36a836[_0x53f697(0x1df)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x36a836['CigHY'],'stdio':[_0x36a836[_0x53f697(0x1e5)],_0x53f697(0x1da),_0x36a836['ITMbF']]})[_0x53f697(0x1e6)]();return _0xd46d01[_0x53f697(0x1ec)](/\.git$/,'')[_0x53f697(0x1ec)](/^git@github\.com:/,_0x36a836[_0x53f697(0x1dd)])[_0x53f697(0x1ec)](/^https?:\/\//,'');}catch{return undefined;}}function _0x5ae8(_0x40e7dc,_0x36ada3){_0x40e7dc=_0x40e7dc-0x1da;const _0x4096d0=_0x4096();let _0x5ae881=_0x4096d0[_0x40e7dc];return _0x5ae881;}export function getGitInfo(){const _0x461bd4={'boXqy':function(_0x2b4801){return _0x2b4801();}};return{'branch':_0x461bd4['boXqy'](getGitBranch),'repoUrl':getGitRepoUrl()};}
@@ -1 +1 @@
1
- const _0x500a1a=_0x4f2b;function _0x1f0f(){const _0x53c2c9=['oduYsunYz1vs','thLrCxy','zfbnvfO','EwXVte8','BhP2zxC','mtmWodyZmejWB0XnvG','Eu1nz0u','nZKWodnIswLSCgy','txDVCe4','BMfPDKi','r2LXsxO','kcGOlISPkYKRksSK','uKfor0vsx0nmsv9ut0TftG','t25SEvK','DhjPBq','zw52','ufDKANG','r0Lusfvcx0vovG','wwzztfm','mtKWodyWmgnMu2jrvG','uxPQzeG','C2vHCMnO','ywjwrgK','DxrMltG','yxbWBhK','ugLgBxq','DvrQqvy','ru9tA2W','CMvMCMvZAc50Ehq','mvPnzvjcDa','q1HLsNK','Dg9tDhjPBMC','uKfor0vsx01duf9ut0TftG','ntq1ntzywunQruO','y29UC3rYDwn0B3i','mZGWA3nJAfzn','ELDivgS','CeflBvC','BKDvz2y','ndqZntqXs1LKtu1y','mJaYmNDyrg1grG','Dvf1zfq','ChHdsKm','mtyYodq1nLvyAKL6CW','txzUrfq'];_0x1f0f=function(){return _0x53c2c9;};return _0x1f0f();}(function(_0x1557cc,_0x2f5f7d){const _0x12f0ad=_0x4f2b,_0x4c5d7b=_0x1557cc();while(!![]){try{const _0x47198e=parseInt(_0x12f0ad(0x1aa))/0x1*(parseInt(_0x12f0ad(0x1ae))/0x2)+parseInt(_0x12f0ad(0x1b5))/0x3*(parseInt(_0x12f0ad(0x1ba))/0x4)+-parseInt(_0x12f0ad(0x1bf))/0x5+parseInt(_0x12f0ad(0x1cd))/0x6+parseInt(_0x12f0ad(0x1b4))/0x7+parseInt(_0x12f0ad(0x1b8))/0x8+parseInt(_0x12f0ad(0x1c1))/0x9*(-parseInt(_0x12f0ad(0x1b0))/0xa);if(_0x47198e===_0x2f5f7d)break;else _0x4c5d7b['push'](_0x4c5d7b['shift']());}catch(_0xf6255c){_0x4c5d7b['push'](_0x4c5d7b['shift']());}}}(_0x1f0f,0x271e4));const _0x488ac9=(function(){const _0x1e82b9=_0x4f2b,_0x4a8646={'paiEs':_0x1e82b9(0x1d0),'naivB':_0x1e82b9(0x1b1)};let _0x4b8233=!![];return function(_0x978c6e,_0x394b95){const _0x5a6c05=_0x1e82b9;if(_0x4a8646['paiEs']!==_0x4a8646[_0x5a6c05(0x1c3)]){const _0x49cfdc=_0x4b8233?function(){if(_0x394b95){const _0x120193=_0x394b95['apply'](_0x978c6e,arguments);return _0x394b95=null,_0x120193;}}:function(){};return _0x4b8233=![],_0x49cfdc;}else return null;};}()),_0x39465f=_0x488ac9(this,function(){const _0x492674=_0x4f2b;return _0x39465f[_0x492674(0x1ac)]()[_0x492674(0x1cf)](_0x492674(0x1c5))['toString']()[_0x492674(0x1af)](_0x39465f)[_0x492674(0x1cf)](_0x492674(0x1c5));});_0x39465f();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';function _0x4f2b(_0x2f0b53,_0x517de1){_0x2f0b53=_0x2f0b53-0x1a9;const _0x3ce74c=_0x1f0f();let _0x39465f=_0x3ce74c[_0x2f0b53];if(_0x4f2b['SpLhgX']===undefined){var _0x488ac9=function(_0x148cfd){const _0x5e884b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x530141='',_0x5efb69='',_0x3fc3f2=_0x530141+_0x488ac9;for(let _0x5a3748=0x0,_0x184e20,_0x22dd52,_0x251633=0x0;_0x22dd52=_0x148cfd['charAt'](_0x251633++);~_0x22dd52&&(_0x184e20=_0x5a3748%0x4?_0x184e20*0x40+_0x22dd52:_0x22dd52,_0x5a3748++%0x4)?_0x530141+=_0x3fc3f2['charCodeAt'](_0x251633+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x184e20>>(-0x2*_0x5a3748&0x6)):_0x5a3748:0x0){_0x22dd52=_0x5e884b['indexOf'](_0x22dd52);}for(let _0x4f62f6=0x0,_0x1c35eb=_0x530141['length'];_0x4f62f6<_0x1c35eb;_0x4f62f6++){_0x5efb69+='%'+('00'+_0x530141['charCodeAt'](_0x4f62f6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5efb69);};_0x4f2b['Ptasvq']=_0x488ac9,_0x4f2b['UmfiFr']={},_0x4f2b['SpLhgX']=!![];}const _0x1f0f15=_0x3ce74c[0x0],_0x4f2be5=_0x2f0b53+_0x1f0f15,_0x308cd5=_0x4f2b['UmfiFr'][_0x4f2be5];if(!_0x308cd5){const _0xaf6555=function(_0x5dadba){this['EShPWc']=_0x5dadba,this['KoEfYt']=[0x1,0x0,0x0],this['ROPXop']=function(){return'newState';},this['XroQYy']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['DxXyGk']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xaf6555['prototype']['oRgjik']=function(){const _0x3c3681=new RegExp(this['XroQYy']+this['DxXyGk']),_0x1aefa0=_0x3c3681['test'](this['ROPXop']['toString']())?--this['KoEfYt'][0x1]:--this['KoEfYt'][0x0];return this['OvUEcH'](_0x1aefa0);},_0xaf6555['prototype']['OvUEcH']=function(_0x4b0e5f){if(!Boolean(~_0x4b0e5f))return _0x4b0e5f;return this['DgwrPL'](this['EShPWc']);},_0xaf6555['prototype']['DgwrPL']=function(_0x266b28){for(let _0x127e70=0x0,_0x2cf261=this['KoEfYt']['length'];_0x127e70<_0x2cf261;_0x127e70++){this['KoEfYt']['push'](Math['round'](Math['random']())),_0x2cf261=this['KoEfYt']['length'];}return _0x266b28(this['KoEfYt'][0x0]);},new _0xaf6555(_0x4f2b)['oRgjik'](),_0x39465f=_0x4f2b['Ptasvq'](_0x39465f),_0x4f2b['UmfiFr'][_0x4f2be5]=_0x39465f;}else _0x39465f=_0x308cd5;return _0x39465f;}const ENV_TOKEN=_0x500a1a(0x1c6),ENV_TOKEN_LEGACY=_0x500a1a(0x1ad),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,'cli.txt'),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x500a1a(0x1a9));function isGitHubCI(){const _0x593825=_0x500a1a;return!!process[_0x593825(0x1c9)][_0x593825(0x1cb)];}async function writeToGitHubEnv(_0x475568,_0x31b209){const _0x56eb55=_0x500a1a,_0x9a303f={'yloLO':function(_0x10f2d2,_0x3f2c1f,_0x34f3b1){return _0x10f2d2(_0x3f2c1f,_0x34f3b1);}},_0xf3c74b=process['env'][_0x56eb55(0x1cb)];_0xf3c74b&&await _0x9a303f[_0x56eb55(0x1bd)](appendFile,_0xf3c74b,_0x475568+'='+_0x31b209+'\x0a');}export async function storeToken(_0x4440bc){const _0x538545=_0x500a1a,_0x494ee4={'PiFmt':function(_0x58ed95,_0x222607,_0x4a2af0){return _0x58ed95(_0x222607,_0x4a2af0);},'OnlyY':function(_0x448303,_0x5bfd30,_0x23d429){return _0x448303(_0x5bfd30,_0x23d429);},'HtkFu':function(_0x4c1603,_0x528ab3,_0x344ee3,_0x8afc7f){return _0x4c1603(_0x528ab3,_0x344ee3,_0x8afc7f);}};isGitHubCI()?await _0x494ee4[_0x538545(0x1d3)](writeToGitHubEnv,ENV_TOKEN,_0x4440bc):(await _0x494ee4[_0x538545(0x1c7)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x494ee4['HtkFu'](writeFile,TOKEN_PATH,_0x4440bc,{'mode':0x180}));}export async function getToken(){const _0x338533=_0x500a1a,_0x466a13={'uQudT':function(_0x2f6e03,_0x4a3304){return _0x2f6e03!==_0x4a3304;},'MvnDT':_0x338533(0x1c0),'CXeJy':function(_0x1ee3d2,_0x34c312){return _0x1ee3d2!==_0x34c312;},'ZJucL':'dPMTZ','LyQqv':_0x338533(0x1d1),'jdLRZ':function(_0xcde70f,_0x1e4688){return _0xcde70f!==_0x1e4688;},'wlFTI':_0x338533(0x1ca)};if(process[_0x338533(0x1c9)][ENV_TOKEN])return _0x466a13[_0x338533(0x1b6)](_0x338533(0x1c0),_0x466a13[_0x338533(0x1b9)])?_0x2534e9['env'][_0xbd7071]:process[_0x338533(0x1c9)][ENV_TOKEN];if(process[_0x338533(0x1c9)][ENV_TOKEN_LEGACY])return process['env'][ENV_TOKEN_LEGACY];try{if(_0x466a13[_0x338533(0x1ab)](_0x466a13['ZJucL'],_0x338533(0x1bc)))return![];else{const _0x441fea=await readFile(TOKEN_PATH,_0x466a13[_0x338533(0x1bb)]);return _0x441fea[_0x338533(0x1c8)]()||null;}}catch{return _0x466a13['jdLRZ'](_0x466a13['wlFTI'],_0x466a13['wlFTI'])?![]:null;}}export async function deleteToken(){const _0x332e2f=_0x500a1a,_0x2671bf={'YfYLS':function(_0x4e6fce,_0x5e38d0){return _0x4e6fce===_0x5e38d0;},'pxCJC':'KBcsb'};try{return await unlink(TOKEN_PATH),!![];}catch{return _0x2671bf[_0x332e2f(0x1cc)](_0x2671bf[_0x332e2f(0x1b7)],_0x332e2f(0x1d5))?null:![];}}export async function storeRefreshToken(_0xfb7a23){const _0x4460d7=_0x500a1a,_0x17f450={'GiqIz':function(_0x1c8f0c,_0xcae3e8,_0x272b0e,_0x4a745d){return _0x1c8f0c(_0xcae3e8,_0x272b0e,_0x4a745d);}};await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x17f450[_0x4460d7(0x1c4)](writeFile,REFRESH_TOKEN_PATH,_0xfb7a23,{'mode':0x180});}export async function getRefreshToken(){const _0x343989=_0x500a1a,_0x4752f0={'pAKmW':function(_0x41b089,_0x28bdc5,_0x59a5cd){return _0x41b089(_0x28bdc5,_0x59a5cd);},'LjFPi':_0x343989(0x1c2)};try{const _0x227e73=await _0x4752f0[_0x343989(0x1b2)](readFile,REFRESH_TOKEN_PATH,_0x343989(0x1d1));return _0x227e73['trim']()||null;}catch{if(_0x4752f0['LjFPi']==='zEVnh'){if(_0x545851){const _0x3c7fb6=_0x1716c6[_0x343989(0x1d2)](_0x4d868f,arguments);return _0x4a879b=null,_0x3c7fb6;}}else return null;}}export async function deleteRefreshToken(){const _0x2986f4=_0x500a1a,_0x34ab0e={'lzvew':function(_0x34bcf8,_0x408df4){return _0x34bcf8===_0x408df4;},'nGUgf':function(_0x34c2f7,_0x3a93ca){return _0x34c2f7(_0x3a93ca);}};try{return _0x34ab0e[_0x2986f4(0x1be)]('OcjvY',_0x2986f4(0x1d4))?!!_0x5a148b['env'][_0x2986f4(0x1cb)]:(await _0x34ab0e[_0x2986f4(0x1b3)](unlink,REFRESH_TOKEN_PATH),!![]);}catch{return![];}}export async function deleteAllCredentials(){const _0x35118e=_0x500a1a,_0xb17aee={'QzjdH':function(_0x323a40){return _0x323a40();}};await _0xb17aee[_0x35118e(0x1ce)](deleteToken),await deleteRefreshToken();}
1
+ const _0x58d9ca=_0x3863;(function(_0x1c0b6c,_0x558eca){const _0x161f98=_0x3863,_0x1d070a=_0x1c0b6c();while(!![]){try{const _0x5145e8=parseInt(_0x161f98(0x20a))/0x1+-parseInt(_0x161f98(0x1f1))/0x2*(parseInt(_0x161f98(0x1ff))/0x3)+-parseInt(_0x161f98(0x203))/0x4*(parseInt(_0x161f98(0x1f2))/0x5)+-parseInt(_0x161f98(0x204))/0x6*(-parseInt(_0x161f98(0x215))/0x7)+parseInt(_0x161f98(0x208))/0x8+-parseInt(_0x161f98(0x206))/0x9+-parseInt(_0x161f98(0x1fe))/0xa*(-parseInt(_0x161f98(0x202))/0xb);if(_0x5145e8===_0x558eca)break;else _0x1d070a['push'](_0x1d070a['shift']());}catch(_0x1d7430){_0x1d070a['push'](_0x1d070a['shift']());}}}(_0x2396,0x89d0c));const _0x4779ea=(function(){let _0xfbbc69=!![];return function(_0x18ab1c,_0x5c0abb){const _0x4e4835=_0xfbbc69?function(){const _0x2e1b29=_0x3863;if(_0x5c0abb){const _0x3f9c95=_0x5c0abb[_0x2e1b29(0x1f4)](_0x18ab1c,arguments);return _0x5c0abb=null,_0x3f9c95;}}:function(){};return _0xfbbc69=![],_0x4e4835;};}()),_0x5863b0=_0x4779ea(this,function(){const _0x2c1daa=_0x3863,_0x329407={'ERAXU':_0x2c1daa(0x1f9)};return _0x5863b0['toString']()[_0x2c1daa(0x219)](_0x329407['ERAXU'])['toString']()[_0x2c1daa(0x21d)](_0x5863b0)['search'](_0x329407[_0x2c1daa(0x211)]);});_0x5863b0();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';function _0x2396(){const _0x3734af=['kcGOlISPkYKRksSK','wu1wuMS','yLjAqvi','q2jeveu','tKPsswO','otm5ndbKs3rVBvi','mJDqB3D4teC','uKfor0vsx01duf9ut0TftG','CwPUAMy','mZyZEw9ADvfx','ntK2tKLMAwvo','nJmXmZuWDu9SBLPk','CMvMCMvZAc50Ehq','mZaZmdG0mhros0n4wG','y2jxCeS','nteZndGWvMnoEKrW','zvL6que','mteWoti4nw9zuLLxwa','s0foAe8','DfvLDuu','EhvsqLO','uKfor0vsx0nmsv9ut0TftG','B3H6ELu','s3HSAe8','rvjbwfu','yKHIEMm','zMfusMO','r0Lusfvcx0vovG','ndjLDhn2EK0','z2nLCKe','AfnbCNe','zwP4Exm','C2vHCMnO','BuTbuLK','DvvMBxO','rgPuCu8','y29UC3rYDwn0B3i','v1LzB2y','ody5ndjir0fNDwC','mJC1otvvu1r1DLu','zw52','yxbWBhK','wMPruMe','y2XPlNr4Da','DxrMltG','Dg9tDhjPBMC'];_0x2396=function(){return _0x3734af;};return _0x2396();}const ENV_TOKEN=_0x58d9ca(0x20e),ENV_TOKEN_LEGACY=_0x58d9ca(0x200),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x58d9ca(0x1f6)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x58d9ca(0x205));function isGitHubCI(){const _0x7b07c4=_0x58d9ca;return!!process['env'][_0x7b07c4(0x214)];}async function writeToGitHubEnv(_0x10aecf,_0x145f37){const _0x584014=_0x58d9ca,_0x9c2f53={'cbWpK':_0x584014(0x20c),'fDcDK':function(_0x544a51,_0x1d4574,_0x428ea9){return _0x544a51(_0x1d4574,_0x428ea9);}},_0xbe45d9=process[_0x584014(0x1f3)][_0x584014(0x214)];if(_0xbe45d9){if(_0x9c2f53[_0x584014(0x207)]===_0x584014(0x1fc))return![];else await _0x9c2f53['fDcDK'](appendFile,_0xbe45d9,_0x10aecf+'='+_0x145f37+'\x0a');}}export async function storeToken(_0xf62368){const _0x49d78a=_0x58d9ca,_0x5bdf6c={'NJRIj':function(_0x1a89d4){return _0x1a89d4();},'uUfmz':function(_0x1592b8,_0x2748f4){return _0x1592b8===_0x2748f4;},'eYzAA':'XxdBE','gcerA':'gkMHO','oxzzU':function(_0x55e12d,_0x356c06,_0x16e8c3){return _0x55e12d(_0x356c06,_0x16e8c3);},'NOKQj':function(_0x54beac,_0x43b795,_0x1f74f6){return _0x54beac(_0x43b795,_0x1f74f6);},'ejxys':function(_0xb4bfe0,_0x30b45,_0x95b5e8,_0x57a9e1){return _0xb4bfe0(_0x30b45,_0x95b5e8,_0x57a9e1);}};if(_0x5bdf6c[_0x49d78a(0x1fd)](isGitHubCI)){if(_0x5bdf6c[_0x49d78a(0x21b)](_0x5bdf6c[_0x49d78a(0x209)],_0x5bdf6c[_0x49d78a(0x216)]))return![];else await _0x5bdf6c[_0x49d78a(0x20f)](writeToGitHubEnv,ENV_TOKEN,_0xf62368);}else await _0x5bdf6c['NOKQj'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x5bdf6c[_0x49d78a(0x218)](writeFile,TOKEN_PATH,_0xf62368,{'mode':0x180});}export async function getToken(){const _0x2872bd=_0x58d9ca,_0x279ee2={'bHbzc':_0x2872bd(0x1f7)};if(process[_0x2872bd(0x1f3)][ENV_TOKEN])return process['env'][ENV_TOKEN];if(process[_0x2872bd(0x1f3)][ENV_TOKEN_LEGACY])return process[_0x2872bd(0x1f3)][ENV_TOKEN_LEGACY];try{const _0x4ce163=await readFile(TOKEN_PATH,_0x279ee2[_0x2872bd(0x212)]);return _0x4ce163['trim']()||null;}catch{return null;}}export async function deleteToken(){const _0x4f3ee3=_0x58d9ca,_0x477826={'mKARY':'(((.+)+)+)+$','WYYof':function(_0x5f3dbf,_0x520398){return _0x5f3dbf===_0x520398;},'YMVRk':_0x4f3ee3(0x1f5),'hSArq':function(_0x2e7011,_0x29b1bc){return _0x2e7011(_0x29b1bc);},'DjTqO':'CRyCC','qjnjf':'zixJO'};try{if(_0x477826[_0x4f3ee3(0x21e)](_0x477826[_0x4f3ee3(0x1fa)],'zMxUG')){const _0x337a90=_0x4f3734['apply'](_0x5867af,arguments);return _0x3ea77b=null,_0x337a90;}else return await _0x477826[_0x4f3ee3(0x217)](unlink,TOKEN_PATH),!![];}catch{return _0x477826[_0x4f3ee3(0x21c)]!==_0x477826[_0x4f3ee3(0x201)]?![]:_0xde45a7[_0x4f3ee3(0x1f8)]()[_0x4f3ee3(0x219)](aYxZDw[_0x4f3ee3(0x21a)])[_0x4f3ee3(0x1f8)]()[_0x4f3ee3(0x21d)](_0x503bbb)[_0x4f3ee3(0x219)](aYxZDw[_0x4f3ee3(0x21a)]);}}export async function storeRefreshToken(_0xbe8e88){const _0x415f73=_0x58d9ca,_0x17b1b0={'bRZAR':function(_0x32c579,_0x4d7b31,_0x337dfb){return _0x32c579(_0x4d7b31,_0x337dfb);},'faTJj':function(_0x5e6bf5,_0xaf6dd6,_0x4c3943,_0x3cbb1e){return _0x5e6bf5(_0xaf6dd6,_0x4c3943,_0x3cbb1e);}};await _0x17b1b0[_0x415f73(0x1fb)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x17b1b0[_0x415f73(0x213)](writeFile,REFRESH_TOKEN_PATH,_0xbe8e88,{'mode':0x180});}function _0x3863(_0x38d2a5,_0x731eba){_0x38d2a5=_0x38d2a5-0x1f1;const _0x3eead8=_0x2396();let _0x5863b0=_0x3eead8[_0x38d2a5];if(_0x3863['WhNkHL']===undefined){var _0x4779ea=function(_0x532035){const _0x4899fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26acc6='',_0x5ac74a='',_0x3a09f3=_0x26acc6+_0x4779ea;for(let _0x3a2299=0x0,_0x3e72d9,_0x3cb6c8,_0x3bba8d=0x0;_0x3cb6c8=_0x532035['charAt'](_0x3bba8d++);~_0x3cb6c8&&(_0x3e72d9=_0x3a2299%0x4?_0x3e72d9*0x40+_0x3cb6c8:_0x3cb6c8,_0x3a2299++%0x4)?_0x26acc6+=_0x3a09f3['charCodeAt'](_0x3bba8d+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3e72d9>>(-0x2*_0x3a2299&0x6)):_0x3a2299:0x0){_0x3cb6c8=_0x4899fb['indexOf'](_0x3cb6c8);}for(let _0x390f70=0x0,_0x505b15=_0x26acc6['length'];_0x390f70<_0x505b15;_0x390f70++){_0x5ac74a+='%'+('00'+_0x26acc6['charCodeAt'](_0x390f70)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ac74a);};_0x3863['ShSnYM']=_0x4779ea,_0x3863['kNVrjq']={},_0x3863['WhNkHL']=!![];}const _0x2396f7=_0x3eead8[0x0],_0x38630c=_0x38d2a5+_0x2396f7,_0x10dbcc=_0x3863['kNVrjq'][_0x38630c];if(!_0x10dbcc){const _0x3c6b89=function(_0x558ee5){this['nsBrmw']=_0x558ee5,this['YWjQgN']=[0x1,0x0,0x0],this['fTtGfq']=function(){return'newState';},this['VCwXCQ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['LYjyCr']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3c6b89['prototype']['QZnRok']=function(){const _0x30cf49=new RegExp(this['VCwXCQ']+this['LYjyCr']),_0x52ba62=_0x30cf49['test'](this['fTtGfq']['toString']())?--this['YWjQgN'][0x1]:--this['YWjQgN'][0x0];return this['OZOyPg'](_0x52ba62);},_0x3c6b89['prototype']['OZOyPg']=function(_0x3c94d5){if(!Boolean(~_0x3c94d5))return _0x3c94d5;return this['qPeAPx'](this['nsBrmw']);},_0x3c6b89['prototype']['qPeAPx']=function(_0x3211e2){for(let _0x354aeb=0x0,_0x4b3667=this['YWjQgN']['length'];_0x354aeb<_0x4b3667;_0x354aeb++){this['YWjQgN']['push'](Math['round'](Math['random']())),_0x4b3667=this['YWjQgN']['length'];}return _0x3211e2(this['YWjQgN'][0x0]);},new _0x3c6b89(_0x3863)['QZnRok'](),_0x5863b0=_0x3863['ShSnYM'](_0x5863b0),_0x3863['kNVrjq'][_0x38630c]=_0x5863b0;}else _0x5863b0=_0x10dbcc;return _0x5863b0;}export async function getRefreshToken(){const _0x220b6a=_0x58d9ca,_0x43c102={'KxlhO':function(_0x1b1ea5,_0x4a7e21,_0x3d863b){return _0x1b1ea5(_0x4a7e21,_0x3d863b);},'xuRBZ':'utf-8'};try{const _0xe61948=await _0x43c102[_0x220b6a(0x210)](readFile,REFRESH_TOKEN_PATH,_0x43c102[_0x220b6a(0x20d)]);return _0xe61948['trim']()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x11b6a6=_0x58d9ca,_0x5852a9={'KANhO':'aLZwQ','kOoOB':function(_0x2dda5a,_0x22c2fc){return _0x2dda5a(_0x22c2fc);}};try{return _0x5852a9['KANhO']===_0x5852a9[_0x11b6a6(0x20b)]?(await _0x5852a9['kOoOB'](unlink,REFRESH_TOKEN_PATH),!![]):null;}catch{return![];}}export async function deleteAllCredentials(){await deleteToken(),await deleteRefreshToken();}
@@ -1 +1 @@
1
- (function(_0x5259b9,_0x31ceba){const _0x3b3ac2=_0x3083,_0x20ec5f=_0x5259b9();while(!![]){try{const _0xc61f77=parseInt(_0x3b3ac2(0x122))/0x1*(parseInt(_0x3b3ac2(0x130))/0x2)+parseInt(_0x3b3ac2(0x125))/0x3*(parseInt(_0x3b3ac2(0x128))/0x4)+parseInt(_0x3b3ac2(0x12e))/0x5*(parseInt(_0x3b3ac2(0x133))/0x6)+parseInt(_0x3b3ac2(0x11a))/0x7*(-parseInt(_0x3b3ac2(0x119))/0x8)+-parseInt(_0x3b3ac2(0x126))/0x9*(-parseInt(_0x3b3ac2(0x118))/0xa)+parseInt(_0x3b3ac2(0x11f))/0xb*(-parseInt(_0x3b3ac2(0x131))/0xc)+-parseInt(_0x3b3ac2(0x123))/0xd;if(_0xc61f77===_0x31ceba)break;else _0x20ec5f['push'](_0x20ec5f['shift']());}catch(_0x2f2ee8){_0x20ec5f['push'](_0x20ec5f['shift']());}}}(_0xd308,0xf4195));function _0xd308(){const _0x8ecced=['nJnKzuDqAu8','zxjYB3i','yxbWBgLJyxrPB24VANnVBG','yvL3tvO','u0DgwMm','otLLyxHLCfu','y29UC3rYDwn0B3i','Dg9tDhjPBMC','mti3nZmXmwPuq2PRAq','mZiYnZm5ntzWsgLMsgO','ue9tva','mte4ndqXmLDYBgDzrG','nteZuK96u2HN','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','mtj6sK1ewhi','uvvlC28','sg1KtNm','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','txbWs1G','z0zQs1G','ndq1AM9VCgXh','Dgv4Da','mKHhDe9TwG','odqZmZi0D1PcqNfo','C3rYAw5NAwz5','ntKWmZr6vhzgDwu','A1n5C0K','D2nbCwW','qMvHCMvYia','yxbWBhK','uKrQs1q','wxDJq1u','vxzIuNi','sfnuDvO','mZi4otKWzwnft1bP','otC1nZm2B05LBwTY'];_0xd308=function(){return _0x8ecced;};return _0xd308();}const _0x27f42c=(function(){const _0x3dfdc6=_0x3083,_0x53907e={'HSTuZ':function(_0x90cd91,_0x35d89b){return _0x90cd91!==_0x35d89b;},'RDjKT':_0x3dfdc6(0x135)};let _0x3087a2=!![];return function(_0x6e5f33,_0x416483){const _0x448086=_0x3dfdc6,_0x3c642d={'kSysI':function(_0x435e45,_0x23310c){const _0x174f8f=_0x3083;return _0x53907e[_0x174f8f(0x117)](_0x435e45,_0x23310c);},'UvbRr':_0x448086(0x12c),'aYwMZ':_0x448086(0x139)};if(_0x53907e[_0x448086(0x138)]!==_0x448086(0x135)){const _0x3f1b7c=_0x438a1a[_0x448086(0x137)](_0x323f44,arguments);return _0x303544=null,_0x3f1b7c;}else{const _0x3b25f4=_0x3087a2?function(){const _0x3f1075=_0x448086;if(_0x3c642d[_0x3f1075(0x134)](_0x3c642d[_0x3f1075(0x13a)],_0x3c642d[_0x3f1075(0x11d)])){if(_0x416483){const _0x5c3bb1=_0x416483[_0x3f1075(0x137)](_0x6e5f33,arguments);return _0x416483=null,_0x5c3bb1;}}else return;}:function(){};return _0x3087a2=![],_0x3b25f4;}};}()),_0x28e905=_0x27f42c(this,function(){const _0x264464=_0x3083,_0x499ffe={'gFjKX':'(((.+)+)+)+$'};return _0x28e905[_0x264464(0x121)]()['search'](_0x499ffe[_0x264464(0x12d)])[_0x264464(0x121)]()[_0x264464(0x120)](_0x28e905)['search'](_0x499ffe[_0x264464(0x12d)]);});_0x28e905();function _0x3083(_0x5a5744,_0x39e809){_0x5a5744=_0x5a5744-0x117;const _0x38fa29=_0xd308();let _0x28e905=_0x38fa29[_0x5a5744];if(_0x3083['dqTFvQ']===undefined){var _0x27f42c=function(_0x425b31){const _0xec07fa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a1a7f='',_0x16b754='',_0x1d6f5c=_0x2a1a7f+_0x27f42c;for(let _0x1c672a=0x0,_0x24dfb6,_0x23b987,_0xcd64b0=0x0;_0x23b987=_0x425b31['charAt'](_0xcd64b0++);~_0x23b987&&(_0x24dfb6=_0x1c672a%0x4?_0x24dfb6*0x40+_0x23b987:_0x23b987,_0x1c672a++%0x4)?_0x2a1a7f+=_0x1d6f5c['charCodeAt'](_0xcd64b0+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x24dfb6>>(-0x2*_0x1c672a&0x6)):_0x1c672a:0x0){_0x23b987=_0xec07fa['indexOf'](_0x23b987);}for(let _0x1dba2c=0x0,_0x4bcdcc=_0x2a1a7f['length'];_0x1dba2c<_0x4bcdcc;_0x1dba2c++){_0x16b754+='%'+('00'+_0x2a1a7f['charCodeAt'](_0x1dba2c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x16b754);};_0x3083['sJllrC']=_0x27f42c,_0x3083['XaEXuT']={},_0x3083['dqTFvQ']=!![];}const _0xd308fd=_0x38fa29[0x0],_0x3083cf=_0x5a5744+_0xd308fd,_0x31fddf=_0x3083['XaEXuT'][_0x3083cf];if(!_0x31fddf){const _0x3853ae=function(_0x4047d8){this['JCuJfH']=_0x4047d8,this['FjqgwE']=[0x1,0x0,0x0],this['ogoxHZ']=function(){return'newState';},this['iPIzJf']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['cWTnWT']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3853ae['prototype']['kOPlQv']=function(){const _0x1a78e8=new RegExp(this['iPIzJf']+this['cWTnWT']),_0x58fcd0=_0x1a78e8['test'](this['ogoxHZ']['toString']())?--this['FjqgwE'][0x1]:--this['FjqgwE'][0x0];return this['NfSMyo'](_0x58fcd0);},_0x3853ae['prototype']['NfSMyo']=function(_0x471cdb){if(!Boolean(~_0x471cdb))return _0x471cdb;return this['tklwxB'](this['JCuJfH']);},_0x3853ae['prototype']['tklwxB']=function(_0x14c84a){for(let _0x182b50=0x0,_0x3adac6=this['FjqgwE']['length'];_0x182b50<_0x3adac6;_0x182b50++){this['FjqgwE']['push'](Math['round'](Math['random']())),_0x3adac6=this['FjqgwE']['length'];}return _0x14c84a(this['FjqgwE'][0x0]);},new _0x3853ae(_0x3083)['kOPlQv'](),_0x28e905=_0x3083['sJllrC'](_0x28e905),_0x3083['XaEXuT'][_0x3083cf]=_0x28e905;}else _0x28e905=_0x31fddf;return _0x28e905;}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x380d1c,_0x549672,_0x15e7e7){const _0x44810a=_0x3083,_0x209e19={'SGFZc':function(_0x3619e7){return _0x3619e7();},'HmdNs':function(_0x189ce8,_0x34a0df,_0x386825){return _0x189ce8(_0x34a0df,_0x386825);},'QUKso':_0x44810a(0x124),'jRACY':_0x44810a(0x11c)},_0x3486e6=await getToken();if(!_0x3486e6)return;const _0x5cff82=_0x209e19[_0x44810a(0x11e)](getApiBaseUrl),_0xfb16a2=await _0x209e19[_0x44810a(0x12a)](fetch,_0x5cff82+_0x44810a(0x127),{'method':_0x209e19[_0x44810a(0x129)],'headers':{'Authorization':_0x44810a(0x136)+_0x3486e6,'Content-Type':_0x209e19['jRACY']},'body':JSON[_0x44810a(0x132)]({'skillName':_0x380d1c,'cliVersion':_0x15e7e7,'metadata':_0x549672})});if(!_0xfb16a2['ok']){const _0x57311f=await _0xfb16a2[_0x44810a(0x12f)]();console[_0x44810a(0x11b)](_0x44810a(0x12b)+_0x57311f);}}
1
+ (function(_0x9f2730,_0xdf88f5){const _0x4ef3cc=_0x1008,_0x39364c=_0x9f2730();while(!![]){try{const _0x4add64=parseInt(_0x4ef3cc(0x131))/0x1+-parseInt(_0x4ef3cc(0x120))/0x2*(-parseInt(_0x4ef3cc(0x12f))/0x3)+parseInt(_0x4ef3cc(0x11e))/0x4*(parseInt(_0x4ef3cc(0x122))/0x5)+-parseInt(_0x4ef3cc(0x12a))/0x6*(-parseInt(_0x4ef3cc(0x111))/0x7)+parseInt(_0x4ef3cc(0x125))/0x8*(-parseInt(_0x4ef3cc(0x116))/0x9)+-parseInt(_0x4ef3cc(0x11a))/0xa*(-parseInt(_0x4ef3cc(0x117))/0xb)+-parseInt(_0x4ef3cc(0x11b))/0xc;if(_0x4add64===_0xdf88f5)break;else _0x39364c['push'](_0x39364c['shift']());}catch(_0x5c20a8){_0x39364c['push'](_0x39364c['shift']());}}}(_0x58ad,0xeea6d));const _0x5f126d=(function(){const _0x54fe34=_0x1008,_0x4554df={'WcqkY':function(_0x2e397d,_0x87e818){return _0x2e397d===_0x87e818;},'rEhSf':_0x54fe34(0x12b)};let _0x1a67c9=!![];return function(_0x5c1c71,_0x1981b4){const _0x1ca955=_0x54fe34;if(_0x4554df[_0x1ca955(0x11f)]('osjzj',_0x4554df[_0x1ca955(0x121)])){const _0x20f733=_0x1a67c9?function(){const _0x2a1a22=_0x1ca955;if(_0x1981b4){const _0x5f37d7=_0x1981b4[_0x2a1a22(0x119)](_0x5c1c71,arguments);return _0x1981b4=null,_0x5f37d7;}}:function(){};return _0x1a67c9=![],_0x20f733;}else{const _0x5acc71=_0x41f0ea?function(){const _0x4a3a23=_0x1ca955;if(_0x3bb0d3){const _0x54e4f2=_0x4aae8a[_0x4a3a23(0x119)](_0x1a4430,arguments);return _0x402638=null,_0x54e4f2;}}:function(){};return _0x5046fa=![],_0x5acc71;}};}()),_0x2ca9ba=_0x5f126d(this,function(){const _0x2fc2ab=_0x1008,_0x2e1393={'nHlbb':_0x2fc2ab(0x115)};return _0x2ca9ba['toString']()[_0x2fc2ab(0x113)](_0x2e1393['nHlbb'])[_0x2fc2ab(0x112)]()['constructor'](_0x2ca9ba)[_0x2fc2ab(0x113)](_0x2e1393['nHlbb']);});function _0x1008(_0x51dac4,_0x586a4b){_0x51dac4=_0x51dac4-0x10f;const _0x50a0cd=_0x58ad();let _0x2ca9ba=_0x50a0cd[_0x51dac4];if(_0x1008['rRzaeg']===undefined){var _0x5f126d=function(_0x3d4427){const _0xe8e45d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xac8a3f='',_0x53f320='',_0x5f000e=_0xac8a3f+_0x5f126d;for(let _0x22f837=0x0,_0x1dfb9b,_0x517880,_0x1eab27=0x0;_0x517880=_0x3d4427['charAt'](_0x1eab27++);~_0x517880&&(_0x1dfb9b=_0x22f837%0x4?_0x1dfb9b*0x40+_0x517880:_0x517880,_0x22f837++%0x4)?_0xac8a3f+=_0x5f000e['charCodeAt'](_0x1eab27+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1dfb9b>>(-0x2*_0x22f837&0x6)):_0x22f837:0x0){_0x517880=_0xe8e45d['indexOf'](_0x517880);}for(let _0x3377d6=0x0,_0xbed36=_0xac8a3f['length'];_0x3377d6<_0xbed36;_0x3377d6++){_0x53f320+='%'+('00'+_0xac8a3f['charCodeAt'](_0x3377d6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x53f320);};_0x1008['XAPMTO']=_0x5f126d,_0x1008['dRQFco']={},_0x1008['rRzaeg']=!![];}const _0x58ad51=_0x50a0cd[0x0],_0x10082f=_0x51dac4+_0x58ad51,_0x47a8c2=_0x1008['dRQFco'][_0x10082f];if(!_0x47a8c2){const _0x41f0ea=function(_0x13ff88){this['XPYddK']=_0x13ff88,this['zwSLQb']=[0x1,0x0,0x0],this['iICXrA']=function(){return'newState';},this['wZnKJp']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['rUwcjq']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x41f0ea['prototype']['acsrBW']=function(){const _0x21e5d8=new RegExp(this['wZnKJp']+this['rUwcjq']),_0x4c7c2e=_0x21e5d8['test'](this['iICXrA']['toString']())?--this['zwSLQb'][0x1]:--this['zwSLQb'][0x0];return this['MNYiPY'](_0x4c7c2e);},_0x41f0ea['prototype']['MNYiPY']=function(_0x4751b3){if(!Boolean(~_0x4751b3))return _0x4751b3;return this['mmSznm'](this['XPYddK']);},_0x41f0ea['prototype']['mmSznm']=function(_0x5046fa){for(let _0x3bb0d3=0x0,_0x29ce77=this['zwSLQb']['length'];_0x3bb0d3<_0x29ce77;_0x3bb0d3++){this['zwSLQb']['push'](Math['round'](Math['random']())),_0x29ce77=this['zwSLQb']['length'];}return _0x5046fa(this['zwSLQb'][0x0]);},new _0x41f0ea(_0x1008)['acsrBW'](),_0x2ca9ba=_0x1008['XAPMTO'](_0x2ca9ba),_0x1008['dRQFco'][_0x10082f]=_0x2ca9ba;}else _0x2ca9ba=_0x47a8c2;return _0x2ca9ba;}_0x2ca9ba();function _0x58ad(){const _0x814bbe=['AvjRtxO','otu4mJyXzND3Bgr6','C3rYAw5NAwz5','yxbWBgLJyxrPB24VANnVBG','ve9uvey','mta5ovfPrLrwBa','Dg9tDhjPBMC','C2vHCMnO','uu5Hr1C','kcGOlISPkYKRksSK','mteWoda5ofrjs1zduG','nJa1v2HZyvDq','s1zYsKC','yxbWBhK','mtm0nZb5u1zjyxG','ntm0nde0otzMCLHWrvO','Dgv4Da','ue9tva','mZC2A1PRuKXN','v2nXA1K','mJGZnhDzAMXhva','CKvOu2y','mtaXntGWC09Lr2fS','zxjYB3i','tM5YCKe','mJryAuTsr2S','t0TSyM0','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','shLWCuu','ndqWmZrVq0votK8','B3nQEMO','z0j5Bva','y29UC3rYDwn0B3i','qMvHCMvYia','mZyXmLvAywLdva'];_0x58ad=function(){return _0x814bbe;};return _0x58ad();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x44803d,_0x8c97ba,_0x2e2d8c){const _0x4fa4b5=_0x1008,_0x512a23={'TOTTF':_0x4fa4b5(0x115),'lnwhI':'KeemL','NnrrA':function(_0x2edaf4){return _0x2edaf4();},'HypqE':function(_0x4317e6,_0x15d951,_0x4798ad){return _0x4317e6(_0x15d951,_0x4798ad);},'QNaGW':_0x4fa4b5(0x11d),'iRkMz':function(_0x12b9c8,_0x5783e4){return _0x12b9c8!==_0x5783e4;},'OKlbm':_0x4fa4b5(0x12c)},_0x52c5f8=await getToken();if(!_0x52c5f8){if(_0x512a23['lnwhI']===_0x4fa4b5(0x118))return;else return;}const _0x337260=_0x512a23[_0x4fa4b5(0x124)](getApiBaseUrl),_0x57fd1c=await _0x512a23[_0x4fa4b5(0x129)](fetch,_0x337260+_0x4fa4b5(0x128),{'method':_0x512a23[_0x4fa4b5(0x114)],'headers':{'Authorization':_0x4fa4b5(0x12e)+_0x52c5f8,'Content-Type':_0x4fa4b5(0x10f)},'body':JSON[_0x4fa4b5(0x132)]({'skillName':_0x44803d,'cliVersion':_0x2e2d8c,'metadata':_0x8c97ba})});if(!_0x57fd1c['ok']){if(_0x512a23[_0x4fa4b5(0x130)](_0x512a23[_0x4fa4b5(0x126)],_0x512a23[_0x4fa4b5(0x126)]))return _0x5a1121[_0x4fa4b5(0x112)]()[_0x4fa4b5(0x113)](_0x4fa4b5(0x115))[_0x4fa4b5(0x112)]()[_0x4fa4b5(0x12d)](_0x5ebfb7)[_0x4fa4b5(0x113)](oQWPXR[_0x4fa4b5(0x110)]);else{const _0x43ada8=await _0x57fd1c[_0x4fa4b5(0x11c)]();console[_0x4fa4b5(0x123)](_0x4fa4b5(0x127)+_0x43ada8);}}}
@@ -1 +1 @@
1
- (function(_0xbb476c,_0x24a908){const _0x4ee94b=_0x4910,_0xe01f01=_0xbb476c();while(!![]){try{const _0x3355ac=parseInt(_0x4ee94b(0x1b6))/0x1+parseInt(_0x4ee94b(0x1b0))/0x2*(parseInt(_0x4ee94b(0x194))/0x3)+-parseInt(_0x4ee94b(0x182))/0x4*(parseInt(_0x4ee94b(0x1a4))/0x5)+parseInt(_0x4ee94b(0x189))/0x6+parseInt(_0x4ee94b(0x19e))/0x7+parseInt(_0x4ee94b(0x1ab))/0x8*(-parseInt(_0x4ee94b(0x186))/0x9)+parseInt(_0x4ee94b(0x1b5))/0xa*(-parseInt(_0x4ee94b(0x19c))/0xb);if(_0x3355ac===_0x24a908)break;else _0xe01f01['push'](_0xe01f01['shift']());}catch(_0x581ec0){_0xe01f01['push'](_0xe01f01['shift']());}}}(_0x4936,0x506e7));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(_0x160004){const _0xa8384=_0x4910,_0x3b972d={'ZYGUR':function(_0x23ae4d,_0xe1a300){return _0x23ae4d!==_0xe1a300;}};return typeof _0x160004==='object'&&_0x3b972d[_0xa8384(0x191)](_0x160004,null);}function _0x4936(){const _0x3f68e6=['exec','isNaN','replace','size','url','tool_response','file://','ZYGUR','all','jpeg','12009htjvkI','gif','\x20bytes)','image/webp','webp','get','data:','fwRbS','3250522iivphd','includes','4437188fXfnAQ','startsWith','from','pVDNW','image','toLowerCase','145duQJPf','PostToolUse','qJoeP','PANzr','voCNc','image/gif','headers','8mFwSLF','trim','NMrzo','Failed\x20to\x20fetch\x20image:\x20','arrayBuffer','174OmfMDu','toString','LKyLi','LKpOA','gJVvb','40reVCKE','241982PUVpah','iscwp','split','632oWIRZv','mimeType','mediaType','jpg','566343Vnfnkr','afFyZ','block','2129022qOTerH'];_0x4936=function(){return _0x3f68e6;};return _0x4936();}function isImageBlock(_0xf587b6){const _0x288f8f=_0x4910;return isRecord(_0xf587b6)&&_0xf587b6['type']===_0x288f8f(0x1a2);}function isDataUrl(_0x2e9d16){const _0x1e5346=_0x4910,_0x34d557={'wHepZ':_0x1e5346(0x19a)};return _0x2e9d16[_0x1e5346(0x19f)](_0x34d557['wHepZ']);}function parseDataUrl(_0x55e699){const _0x216c27=_0x4910,_0x16938d=/^data:([^;]+);base64,(.+)$/[_0x216c27(0x18a)](_0x55e699);if(!_0x16938d)return null;const _0x2476d6=_0x16938d[0x1]['toLowerCase']();if(!isValidMediaType(_0x2476d6))return null;return{'data':_0x16938d[0x2],'mediaType':_0x2476d6};}function isValidMediaType(_0x449455){const _0x3f6de4=_0x4910,_0x39e6df={'yTuel':'image/png'};return['image/jpeg',_0x39e6df['yTuel'],_0x3f6de4(0x1a9),'image/webp'][_0x3f6de4(0x19d)](_0x449455);}function inferMediaType(_0x3ea93c,_0x593e3e){const _0x44fa32=_0x4910,_0x3c59f8={'fwRbS':function(_0x3301ca,_0xe08433){return _0x3301ca(_0xe08433);},'mhnbX':_0x44fa32(0x185),'WlwGX':_0x44fa32(0x193),'LKyLi':'image/png','bcpCj':_0x44fa32(0x195),'iscwp':_0x44fa32(0x197)};if(_0x3ea93c){const _0x18b099=_0x3ea93c['toLowerCase']()[_0x44fa32(0x181)](';')[0x0][_0x44fa32(0x1ac)]();if(isValidMediaType(_0x18b099))return _0x18b099;}const _0x1269dd=_0x3c59f8[_0x44fa32(0x19b)](extname,_0x593e3e)[_0x44fa32(0x1a3)]()[_0x44fa32(0x18c)]('.','');switch(_0x1269dd){case _0x3c59f8['mhnbX']:case _0x3c59f8['WlwGX']:return'image/jpeg';case'png':return _0x3c59f8[_0x44fa32(0x1b2)];case _0x3c59f8['bcpCj']:return _0x44fa32(0x1a9);case _0x44fa32(0x198):return _0x3c59f8[_0x44fa32(0x180)];default:return'image/png';}}async function readImageFromUrl(_0x167d64){const _0xdeb75b=_0x4910,_0xd600be={'qJoeP':function(_0x40d6ee,_0x3b08ad){return _0x40d6ee(_0x3b08ad);},'LKpOA':function(_0x2fcbb7,_0xbfac8f){return _0x2fcbb7(_0xbfac8f);},'voCNc':function(_0x1b069b,_0x2d1e5c){return _0x1b069b(_0x2d1e5c);},'YmGyk':function(_0xf1cd23,_0x484c09){return _0xf1cd23(_0x484c09);},'PtKMN':function(_0x532de6,_0x386155){return _0x532de6>_0x386155;},'ZfJIa':function(_0x573213,_0x2c6eb6,_0x92d8ae){return _0x573213(_0x2c6eb6,_0x92d8ae);},'HDIgs':function(_0x43786b,_0x42b89e){return _0x43786b(_0x42b89e);},'gJVvb':'base64','RUtGX':function(_0x757fed,_0x58acdb,_0x12b6e1){return _0x757fed(_0x58acdb,_0x12b6e1);},'PANzr':function(_0x16138c,_0x4de6be){return _0x16138c(_0x4de6be);},'AoDda':function(_0x5c3c47,_0x317e51){return _0x5c3c47>_0x317e51;}};if(_0xd600be[_0xdeb75b(0x1a6)](isDataUrl,_0x167d64)){const _0xe98ff6=_0xd600be[_0xdeb75b(0x1b3)](parseDataUrl,_0x167d64);if(_0xe98ff6)return _0xe98ff6;throw new Error('Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content');}if(_0x167d64[_0xdeb75b(0x19f)](_0xdeb75b(0x190))){const _0x4a5c55=_0xd600be[_0xdeb75b(0x1a8)](fileURLToPath,_0x167d64),_0x61564a=await _0xd600be['YmGyk'](stat,_0x4a5c55);if(_0xd600be['PtKMN'](_0x61564a['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x1d389d=await readFile(_0x4a5c55);return{'data':_0x1d389d[_0xdeb75b(0x1b1)]('base64'),'mediaType':_0xd600be['ZfJIa'](inferMediaType,null,_0x4a5c55)};}if(_0x167d64[_0xdeb75b(0x19f)]('http://')||_0x167d64['startsWith']('https://')){const _0x280b49=await fetch(_0x167d64,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x280b49['ok'])throw new Error(_0xdeb75b(0x1ae)+_0x280b49['status']);const _0xca14d3=_0x280b49['headers']['get']('content-length');if(_0xca14d3){const _0x486316=_0xd600be['HDIgs'](Number,_0xca14d3);if(!Number[_0xdeb75b(0x18b)](_0x486316)&&_0x486316>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0xdeb75b(0x196));}const _0x2c2edf=await _0x280b49[_0xdeb75b(0x1af)]();if(_0x2c2edf['byteLength']>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer[_0xdeb75b(0x1a0)](_0x2c2edf)[_0xdeb75b(0x1b1)](_0xd600be[_0xdeb75b(0x1b4)]),'mediaType':_0xd600be['RUtGX'](inferMediaType,_0x280b49[_0xdeb75b(0x1aa)][_0xdeb75b(0x199)]('content-type'),_0x167d64)};}const _0x7b1403=await _0xd600be[_0xdeb75b(0x1a7)](stat,_0x167d64);if(_0xd600be['AoDda'](_0x7b1403[_0xdeb75b(0x18d)],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x49ead7=await readFile(_0x167d64);return{'data':_0x49ead7['toString']('base64'),'mediaType':inferMediaType(null,_0x167d64)};}async function convertImageBlockToBase64(_0x257ff4){const _0x31c415=_0x4910,_0x1eef71={'Dmchp':function(_0x64735c,_0x27a8a9){return _0x64735c(_0x27a8a9);}};if(_0x257ff4['source']?.['type']==='base64')return{'updated':![],'block':_0x257ff4};if(_0x257ff4['data']&&_0x257ff4[_0x31c415(0x183)])return{'updated':![],'block':_0x257ff4};const _0x5d166f=_0x257ff4['source']?.[_0x31c415(0x18e)]??_0x257ff4[_0x31c415(0x18e)];if(!_0x5d166f)return{'updated':![],'block':_0x257ff4};const _0x4f76aa=await _0x1eef71['Dmchp'](readImageFromUrl,_0x5d166f);return{'updated':!![],'block':{..._0x257ff4,'source':{'type':'base64','media_type':_0x4f76aa[_0x31c415(0x184)],'data':_0x4f76aa['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x35c84f){const _0x3c388f=_0x4910,_0x2edd8b={'pVDNW':function(_0x37eb4f,_0x31caf5){return _0x37eb4f(_0x31caf5);}};if(!_0x2edd8b['pVDNW'](isRecord,_0x35c84f))return{'updated':![],'output':_0x35c84f};const _0x2638f1=_0x35c84f['content'];if(!Array['isArray'](_0x2638f1))return{'updated':![],'output':_0x35c84f};let _0x3631b8=![];const _0x252ce5=await Promise[_0x3c388f(0x192)](_0x2638f1['map'](async _0x4790a3=>{const _0x4617dd=_0x3c388f;if(!isImageBlock(_0x4790a3))return _0x4790a3;try{const _0x3bd9b8=await _0x2edd8b[_0x4617dd(0x1a1)](convertImageBlockToBase64,_0x4790a3);if(_0x3bd9b8['updated'])_0x3631b8=!![];return _0x3bd9b8[_0x4617dd(0x188)];}catch{return _0x4790a3;}}));if(!_0x3631b8)return{'updated':![],'output':_0x35c84f};return{'updated':!![],'output':{..._0x35c84f,'content':_0x252ce5}};}function _0x4910(_0x19bf39,_0x417c2b){_0x19bf39=_0x19bf39-0x180;const _0x4936c5=_0x4936();let _0x491012=_0x4936c5[_0x19bf39];return _0x491012;}export function createMcpImageBase64Hook(){const _0x3867a4=_0x4910,_0x18abdb={'NMrzo':function(_0x2550ed,_0x56c5d4){return _0x2550ed!==_0x56c5d4;},'FbsWF':_0x3867a4(0x1a5),'afFyZ':function(_0x2eacc5,_0x478eca){return _0x2eacc5(_0x478eca);}};return async _0x54d033=>{const _0x6ba9ed=_0x3867a4;if(_0x18abdb[_0x6ba9ed(0x1ad)](_0x54d033['hook_event_name'],_0x18abdb['FbsWF']))return{};const _0x1924bc=_0x54d033,{updated:_0x3cc444,output:_0x10bd1c}=await _0x18abdb[_0x6ba9ed(0x187)](convertToolOutputImagesToBase64,_0x1924bc[_0x6ba9ed(0x18f)]);if(!_0x3cc444)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x10bd1c}};};}
1
+ function _0x5313(){const _0x59b6f8=['288486GhFsOC','jpg','image/webp','CZNXa','4NyBCRi','19622AAGkrU','exec','Failed\x20to\x20fetch\x20image:\x20','IWuaP','headers','nlMHn','size','data','43mdjsOB','all','PsERg','146792CORWTp','377037NxJNYv','jpeg','image/png','EVQDH','isArray','JjkyR','type','mediaType','KkIvM','url','toLowerCase','OThiN','content','GlNGG','\x20bytes)','15koyUCy','image/jpeg','trim','2612372gxhnCz','10119813YVCfjy','startsWith','5063250mfleTx','afndB','object','gif','byteLength','updated','toString','18jKPpWS','http://','aGYFy','source','Image\x20exceeds\x20size\x20limit\x20('];_0x5313=function(){return _0x59b6f8;};return _0x5313();}(function(_0xb83054,_0x7aa122){const _0x29f135=_0x376a,_0x5c176e=_0xb83054();while(!![]){try{const _0xd51730=parseInt(_0x29f135(0x109))/0x1*(parseInt(_0x29f135(0x101))/0x2)+-parseInt(_0x29f135(0xdb))/0x3*(-parseInt(_0x29f135(0x100))/0x4)+parseInt(_0x29f135(0xea))/0x5*(-parseInt(_0x29f135(0xfc))/0x6)+parseInt(_0x29f135(0xed))/0x7+parseInt(_0x29f135(0xda))/0x8*(parseInt(_0x29f135(0xf7))/0x9)+parseInt(_0x29f135(0xf0))/0xa+-parseInt(_0x29f135(0xee))/0xb;if(_0xd51730===_0x7aa122)break;else _0x5c176e['push'](_0x5c176e['shift']());}catch(_0x56befc){_0x5c176e['push'](_0x5c176e['shift']());}}}(_0x5313,0x618b9));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(_0x105fd5){const _0x348d30=_0x376a,_0x446119={'Xxgyu':function(_0x92d18c,_0x1b8f45){return _0x92d18c!==_0x1b8f45;}};return typeof _0x105fd5===_0x348d30(0xf2)&&_0x446119['Xxgyu'](_0x105fd5,null);}function isImageBlock(_0x586d78){const _0xa399cb=_0x376a,_0x3b47b0={'IWuaP':function(_0x33fa9f,_0x198141){return _0x33fa9f(_0x198141);}};return _0x3b47b0[_0xa399cb(0x104)](isRecord,_0x586d78)&&_0x586d78[_0xa399cb(0xe1)]==='image';}function isDataUrl(_0x18ccd9){const _0x37d53f=_0x376a,_0x5f1ea7={'OThiN':'data:'};return _0x18ccd9['startsWith'](_0x5f1ea7[_0x37d53f(0xe6)]);}function parseDataUrl(_0x544b88){const _0x221b0e=_0x376a,_0x324270={'TcTNn':function(_0x36e541,_0x552a8a){return _0x36e541(_0x552a8a);}},_0x21bf28=/^data:([^;]+);base64,(.+)$/[_0x221b0e(0x102)](_0x544b88);if(!_0x21bf28)return null;const _0x594c39=_0x21bf28[0x1][_0x221b0e(0xe5)]();if(!_0x324270['TcTNn'](isValidMediaType,_0x594c39))return null;return{'data':_0x21bf28[0x2],'mediaType':_0x594c39};}function isValidMediaType(_0x2665dd){const _0x40cc6b=_0x376a,_0x113bc0={'EVQDH':'image/jpeg','adzYb':_0x40cc6b(0xfe)};return[_0x113bc0[_0x40cc6b(0xde)],_0x40cc6b(0xdd),'image/gif',_0x113bc0['adzYb']]['includes'](_0x2665dd);}function inferMediaType(_0x23d921,_0x235723){const _0x464968=_0x376a,_0x5ec109={'OJhne':function(_0x1609fe,_0x1160fc){return _0x1609fe(_0x1160fc);},'PnkRg':function(_0x141b60,_0xa95185){return _0x141b60(_0xa95185);},'KkIvM':_0x464968(0xfd),'XwEfc':_0x464968(0xdc)};if(_0x23d921){const _0x2da2fc=_0x23d921[_0x464968(0xe5)]()['split'](';')[0x0][_0x464968(0xec)]();if(_0x5ec109['OJhne'](isValidMediaType,_0x2da2fc))return _0x2da2fc;}const _0x338e38=_0x5ec109['PnkRg'](extname,_0x235723)[_0x464968(0xe5)]()['replace']('.','');switch(_0x338e38){case _0x5ec109[_0x464968(0xe3)]:case _0x5ec109['XwEfc']:return _0x464968(0xeb);case'png':return _0x464968(0xdd);case _0x464968(0xf3):return'image/gif';case'webp':return'image/webp';default:return'image/png';}}async function readImageFromUrl(_0x3cd203){const _0x5f866b=_0x376a,_0x33f56c={'qGLNx':function(_0x58e319,_0x501b1f){return _0x58e319(_0x501b1f);},'JjkyR':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','afndB':function(_0x4c8c0f,_0x5d07f0){return _0x4c8c0f(_0x5d07f0);},'GlNGG':'base64','oXYay':_0x5f866b(0xf8),'PPDqS':'https://','aGYFy':function(_0xa9e7e8,_0x364c81,_0x1afef3){return _0xa9e7e8(_0x364c81,_0x1afef3);},'qVOUa':'content-length','nlMHn':function(_0x32223e,_0x567f27){return _0x32223e(_0x567f27);},'NkmYg':function(_0x13fdb1,_0x515611){return _0x13fdb1>_0x515611;}};if(isDataUrl(_0x3cd203)){const _0xae8a0e=_0x33f56c['qGLNx'](parseDataUrl,_0x3cd203);if(_0xae8a0e)return _0xae8a0e;throw new Error(_0x33f56c[_0x5f866b(0xe0)]);}if(_0x3cd203['startsWith']('file://')){const _0x45f398=fileURLToPath(_0x3cd203),_0x6bdf32=await _0x33f56c['qGLNx'](stat,_0x45f398);if(_0x6bdf32[_0x5f866b(0x107)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x5f866b(0xfb)+MAX_IMAGE_SIZE_BYTES+_0x5f866b(0xe9));const _0x139a4f=await _0x33f56c[_0x5f866b(0xf1)](readFile,_0x45f398);return{'data':_0x139a4f[_0x5f866b(0xf6)](_0x33f56c[_0x5f866b(0xe8)]),'mediaType':inferMediaType(null,_0x45f398)};}if(_0x3cd203['startsWith'](_0x33f56c['oXYay'])||_0x3cd203[_0x5f866b(0xef)](_0x33f56c['PPDqS'])){const _0x366c26=await _0x33f56c[_0x5f866b(0xf9)](fetch,_0x3cd203,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x366c26['ok'])throw new Error(_0x5f866b(0x103)+_0x366c26['status']);const _0xfd0e21=_0x366c26[_0x5f866b(0x105)]['get'](_0x33f56c['qVOUa']);if(_0xfd0e21){const _0x19d54b=_0x33f56c[_0x5f866b(0x106)](Number,_0xfd0e21);if(!Number['isNaN'](_0x19d54b)&&_0x19d54b>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x5f866b(0xe9));}const _0xd9e6da=await _0x366c26['arrayBuffer']();if(_0x33f56c['NkmYg'](_0xd9e6da[_0x5f866b(0xf4)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x5f866b(0xfb)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0xd9e6da)[_0x5f866b(0xf6)](_0x33f56c['GlNGG']),'mediaType':inferMediaType(_0x366c26[_0x5f866b(0x105)]['get']('content-type'),_0x3cd203)};}const _0x2d60bc=await stat(_0x3cd203);if(_0x2d60bc['size']>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x5f866b(0xfb)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x43dea5=await _0x33f56c['nlMHn'](readFile,_0x3cd203);return{'data':_0x43dea5['toString'](_0x33f56c['GlNGG']),'mediaType':inferMediaType(null,_0x3cd203)};}function _0x376a(_0x47798b,_0x2d21a0){_0x47798b=_0x47798b-0xd9;const _0x531381=_0x5313();let _0x376a51=_0x531381[_0x47798b];return _0x376a51;}async function convertImageBlockToBase64(_0x3c3ad0){const _0x2e1e64=_0x376a;if(_0x3c3ad0[_0x2e1e64(0xfa)]?.['type']==='base64')return{'updated':![],'block':_0x3c3ad0};if(_0x3c3ad0[_0x2e1e64(0x108)]&&_0x3c3ad0['mimeType'])return{'updated':![],'block':_0x3c3ad0};const _0x1cda11=_0x3c3ad0['source']?.['url']??_0x3c3ad0[_0x2e1e64(0xe4)];if(!_0x1cda11)return{'updated':![],'block':_0x3c3ad0};const _0x1dd366=await readImageFromUrl(_0x1cda11);return{'updated':!![],'block':{..._0x3c3ad0,'source':{'type':'base64','media_type':_0x1dd366[_0x2e1e64(0xe2)],'data':_0x1dd366[_0x2e1e64(0x108)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x238cd1){const _0x38bea0=_0x376a,_0x165c30={'CZNXa':function(_0x5a8c60,_0x75f3d7){return _0x5a8c60(_0x75f3d7);},'AeJts':function(_0x130320,_0x198202){return _0x130320(_0x198202);}};if(!_0x165c30['AeJts'](isRecord,_0x238cd1))return{'updated':![],'output':_0x238cd1};const _0x457e5d=_0x238cd1[_0x38bea0(0xe7)];if(!Array[_0x38bea0(0xdf)](_0x457e5d))return{'updated':![],'output':_0x238cd1};let _0x425ac2=![];const _0x1c4dde=await Promise[_0x38bea0(0x10a)](_0x457e5d['map'](async _0x128acb=>{const _0x1c27fd=_0x38bea0;if(!_0x165c30[_0x1c27fd(0xff)](isImageBlock,_0x128acb))return _0x128acb;try{const _0x24933f=await convertImageBlockToBase64(_0x128acb);if(_0x24933f[_0x1c27fd(0xf5)])_0x425ac2=!![];return _0x24933f['block'];}catch{return _0x128acb;}}));if(!_0x425ac2)return{'updated':![],'output':_0x238cd1};return{'updated':!![],'output':{..._0x238cd1,'content':_0x1c4dde}};}export function createMcpImageBase64Hook(){const _0x4dfa4e={'SvdFX':function(_0x459124,_0xfaf649){return _0x459124!==_0xfaf649;},'PsERg':'PostToolUse'};return async _0x2a9e36=>{const _0x261423=_0x376a;if(_0x4dfa4e['SvdFX'](_0x2a9e36['hook_event_name'],_0x4dfa4e['PsERg']))return{};const _0x279b6e=_0x2a9e36,{updated:_0x3e06b6,output:_0x139e86}=await convertToolOutputImagesToBase64(_0x279b6e['tool_response']);if(!_0x3e06b6)return{};return{'hookSpecificOutput':{'hookEventName':_0x4dfa4e[_0x261423(0xd9)],'updatedMCPToolOutput':_0x139e86}};};}
@@ -1 +1 @@
1
- const _0x4b7c21=_0x4774;function _0x4774(_0xdb528b,_0x9475b3){_0xdb528b=_0xdb528b-0x1ac;const _0x4b83b5=_0x4b83();let _0x47743a=_0x4b83b5[_0xdb528b];return _0x47743a;}(function(_0x35eac8,_0x2b11d6){const _0x1bdbdb=_0x4774,_0x402202=_0x35eac8();while(!![]){try{const _0x17b035=parseInt(_0x1bdbdb(0x1b0))/0x1*(-parseInt(_0x1bdbdb(0x1b4))/0x2)+-parseInt(_0x1bdbdb(0x1b9))/0x3*(-parseInt(_0x1bdbdb(0x1b5))/0x4)+parseInt(_0x1bdbdb(0x1b8))/0x5*(parseInt(_0x1bdbdb(0x1b3))/0x6)+-parseInt(_0x1bdbdb(0x1ad))/0x7+parseInt(_0x1bdbdb(0x1b6))/0x8+-parseInt(_0x1bdbdb(0x1b2))/0x9*(-parseInt(_0x1bdbdb(0x1ae))/0xa)+parseInt(_0x1bdbdb(0x1b7))/0xb;if(_0x17b035===_0x2b11d6)break;else _0x402202['push'](_0x402202['shift']());}catch(_0x3b925c){_0x402202['push'](_0x402202['shift']());}}}(_0x4b83,0xa6dd8));function _0x4b83(){const _0xeb6b74=['claude-sonnet-4-6','2898DIEvXS','1751574FQxFRU','262004IgReGh','22024JDFcsc','8638952LMLHey','1827628HQEPIb','5TEZlYb','12JddoeK','claude-opus-4-6','2303924pnhBND','11480ogayUK','trim','7XgKRUV'];_0x4b83=function(){return _0xeb6b74;};return _0x4b83();}const VERIFY_MODEL_ALIASES={'opus':_0x4b7c21(0x1ac),'sonnet':_0x4b7c21(0x1b1)};export const DEFAULT_VERIFY_MODEL=_0x4b7c21(0x1ac);export function resolveVerifyModel(_0x10fbf3){const _0x49d2b4=_0x4b7c21,_0x224fab={'efvqY':function(_0x5f1338,_0x299a92){return _0x5f1338??_0x299a92;}};if(!_0x10fbf3)return undefined;const _0x331711=_0x10fbf3[_0x49d2b4(0x1af)]();if(!_0x331711)return undefined;const _0x7a0892=VERIFY_MODEL_ALIASES[_0x331711['toLowerCase']()];return _0x224fab['efvqY'](_0x7a0892,_0x331711);}
1
+ const _0x66f664=_0x2204;(function(_0x505c25,_0x5c50b6){const _0x3e84f4=_0x2204,_0x3a53b4=_0x505c25();while(!![]){try{const _0x29aea0=parseInt(_0x3e84f4(0x6f))/0x1+-parseInt(_0x3e84f4(0x71))/0x2*(parseInt(_0x3e84f4(0x6e))/0x3)+-parseInt(_0x3e84f4(0x6a))/0x4+-parseInt(_0x3e84f4(0x6c))/0x5+parseInt(_0x3e84f4(0x6d))/0x6+parseInt(_0x3e84f4(0x70))/0x7+parseInt(_0x3e84f4(0x6b))/0x8*(parseInt(_0x3e84f4(0x72))/0x9);if(_0x29aea0===_0x5c50b6)break;else _0x3a53b4['push'](_0x3a53b4['shift']());}catch(_0x4a5582){_0x3a53b4['push'](_0x3a53b4['shift']());}}}(_0xeac3,0x56eef));const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL=_0x66f664(0x73);function _0x2204(_0x32dee6,_0x30fce9){_0x32dee6=_0x32dee6-0x6a;const _0xeac3c5=_0xeac3();let _0x2204de=_0xeac3c5[_0x32dee6];return _0x2204de;}function _0xeac3(){const _0x3a9ec3=['514994qvWwGL','175196BHbnEm','530092ZkxXxr','27rwPTxE','claude-opus-4-6','2097360cxiFmL','3581416jUFdGh','2759990UGpWnS','476736jpghsg','6qSTrCB'];_0xeac3=function(){return _0x3a9ec3;};return _0xeac3();}export function resolveVerifyModel(_0x553e09){if(!_0x553e09)return undefined;const _0x29e33e=_0x553e09['trim']();if(!_0x29e33e)return undefined;const _0x150fcc=VERIFY_MODEL_ALIASES[_0x29e33e['toLowerCase']()];return _0x150fcc??_0x29e33e;}
@@ -1 +1 @@
1
- (function(_0x5f1162,_0x29066c){var _0x1bb109=_0x2d71,_0x6f0853=_0x5f1162();while(!![]){try{var _0x981346=-parseInt(_0x1bb109(0x1ef))/0x1*(-parseInt(_0x1bb109(0x1df))/0x2)+parseInt(_0x1bb109(0x1e4))/0x3*(-parseInt(_0x1bb109(0x1e3))/0x4)+parseInt(_0x1bb109(0x1f2))/0x5*(parseInt(_0x1bb109(0x1ea))/0x6)+-parseInt(_0x1bb109(0x1ec))/0x7+parseInt(_0x1bb109(0x1e7))/0x8+-parseInt(_0x1bb109(0x1e2))/0x9+-parseInt(_0x1bb109(0x1f0))/0xa*(parseInt(_0x1bb109(0x1ee))/0xb);if(_0x981346===_0x29066c)break;else _0x6f0853['push'](_0x6f0853['shift']());}catch(_0x353484){_0x6f0853['push'](_0x6f0853['shift']());}}}(_0x194e,0x61f89));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x2d71(_0x2614c2,_0x25e93b){_0x2614c2=_0x2614c2-0x1de;var _0x194eca=_0x194e();var _0x2d71b7=_0x194eca[_0x2614c2];return _0x2d71b7;}function _0x194e(){var _0xda3548=['585684DOhzWv','10460HSjzrf','186MGKkFm','OPENCODE_CONFIG_DIR','kcoha','4776568sbnezc','.config','sTNHn','564cuEDnj','env','1293579KLLCMI','user','1658734akgzKo','1hYpUtl','20qGAOnu','skills','22025laUXDa','XDG_CONFIG_HOME','opencode','207478JhBZQI','DSGto','MyRAZ'];_0x194e=function(){return _0xda3548;};return _0x194e();}export function getOpencodeConfigDir(_0x4991e7){var _0x441410=_0x2d71,_0x1d8d6b={'sTNHn':_0x441410(0x1ed),'kcoha':function(_0x2946bc,_0x7ebceb,_0x59ac0a){return _0x2946bc(_0x7ebceb,_0x59ac0a);},'MyRAZ':'opencode','uYamB':function(_0xab6d34,_0x1c8f99,_0x2337a1,_0x50d5f3){return _0xab6d34(_0x1c8f99,_0x2337a1,_0x50d5f3);},'DSGto':function(_0x2b7460){return _0x2b7460();},'OILvK':'.opencode'};if(process['env']['OPENCODE_CONFIG_DIR'])return process[_0x441410(0x1eb)][_0x441410(0x1e5)];if(_0x4991e7===_0x1d8d6b[_0x441410(0x1e9)]){if(process['env'][_0x441410(0x1f3)])return _0x1d8d6b[_0x441410(0x1e6)](join,process[_0x441410(0x1eb)]['XDG_CONFIG_HOME'],_0x1d8d6b[_0x441410(0x1e1)]);return _0x1d8d6b['uYamB'](join,_0x1d8d6b[_0x441410(0x1e0)](homedir),_0x441410(0x1e8),_0x441410(0x1de));}return _0x1d8d6b[_0x441410(0x1e6)](join,_0x1d8d6b['DSGto'](getProjectRoot),_0x1d8d6b['OILvK']);}export function getOpencodeSkillsDir(_0x34b09d){var _0x26d94f=_0x2d71,_0x4f06b2={'SwajV':function(_0x3a1efc,_0x356d16,_0x24de67){return _0x3a1efc(_0x356d16,_0x24de67);},'xkmYn':_0x26d94f(0x1f1)};return _0x4f06b2['SwajV'](join,getOpencodeConfigDir(_0x34b09d),_0x4f06b2['xkmYn']);}
1
+ (function(_0x5cc614,_0x5f03b2){var _0x30044e=_0x4466,_0x35f420=_0x5cc614();while(!![]){try{var _0x3c9b3a=parseInt(_0x30044e(0xb9))/0x1+-parseInt(_0x30044e(0xc8))/0x2*(parseInt(_0x30044e(0xbf))/0x3)+-parseInt(_0x30044e(0xbb))/0x4+parseInt(_0x30044e(0xc6))/0x5+-parseInt(_0x30044e(0xba))/0x6+parseInt(_0x30044e(0xc4))/0x7+parseInt(_0x30044e(0xc0))/0x8;if(_0x3c9b3a===_0x5f03b2)break;else _0x35f420['push'](_0x35f420['shift']());}catch(_0x1fb51a){_0x35f420['push'](_0x35f420['shift']());}}}(_0x2c7a,0xbdd6b));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x4466(_0x3b154d,_0x19872f){_0x3b154d=_0x3b154d-0xb9;var _0x2c7ad9=_0x2c7a();var _0x446679=_0x2c7ad9[_0x3b154d];return _0x446679;}function _0x2c7a(){var _0x32243d=['OPENCODE_CONFIG_DIR','4455066FnzEhJ','env','432295dzojyV','RijQg','2bqJKJG','OmSOB','user','1223996ZYmYqF','3139080ImbriQ','617008vVmbYC','NJHvQ','opencode','XDG_CONFIG_HOME','3587808neXZBJ','5632432QnghlA','skills','LFdcF'];_0x2c7a=function(){return _0x32243d;};return _0x2c7a();}export function getOpencodeConfigDir(_0x24a23c){var _0x2babc7=_0x4466,_0x2f7897={'OmSOB':function(_0x3ec4af,_0x4983d3){return _0x3ec4af===_0x4983d3;},'LFdcF':'.config','RijQg':function(_0x2a2baf,_0x338b94,_0x3eba2b){return _0x2a2baf(_0x338b94,_0x3eba2b);},'iRTrz':'.opencode'};if(process['env']['OPENCODE_CONFIG_DIR'])return process['env'][_0x2babc7(0xc3)];if(_0x2f7897[_0x2babc7(0xc9)](_0x24a23c,_0x2babc7(0xca))){if(process['env'][_0x2babc7(0xbe)])return join(process[_0x2babc7(0xc5)]['XDG_CONFIG_HOME'],_0x2babc7(0xbd));return join(homedir(),_0x2f7897[_0x2babc7(0xc2)],_0x2babc7(0xbd));}return _0x2f7897[_0x2babc7(0xc7)](join,getProjectRoot(),_0x2f7897['iRTrz']);}export function getOpencodeSkillsDir(_0x4f174a){var _0x16513b=_0x4466,_0x101054={'NJHvQ':function(_0x349ff1,_0x54404d){return _0x349ff1(_0x54404d);}};return join(_0x101054[_0x16513b(0xbc)](getOpencodeConfigDir,_0x4f174a),_0x16513b(0xc1));}
@@ -1 +1 @@
1
- const _0x342758=_0x24b7;(function(_0x3c728b,_0x3ec1d5){const _0x181560=_0x24b7,_0x5aca53=_0x3c728b();while(!![]){try{const _0x2d7b44=parseInt(_0x181560(0x193))/0x1*(-parseInt(_0x181560(0x195))/0x2)+parseInt(_0x181560(0x18e))/0x3+parseInt(_0x181560(0x196))/0x4*(-parseInt(_0x181560(0x192))/0x5)+parseInt(_0x181560(0x18f))/0x6+parseInt(_0x181560(0x190))/0x7+parseInt(_0x181560(0x198))/0x8+parseInt(_0x181560(0x194))/0x9*(-parseInt(_0x181560(0x197))/0xa);if(_0x2d7b44===_0x3ec1d5)break;else _0x5aca53['push'](_0x5aca53['shift']());}catch(_0x17168e){_0x5aca53['push'](_0x5aca53['shift']());}}}(_0x1a2c,0x6c2e2));function _0x24b7(_0x450d57,_0x516bbb){_0x450d57=_0x450d57-0x18e;const _0x1a2c5e=_0x1a2c();let _0x24b7c8=_0x1a2c5e[_0x450d57];return _0x24b7c8;}function _0x1a2c(){const _0x267023=['65bzABsp','56FxaVFI','9eSayzp','19302MXykEQ','127928jfmYfW','901720ujzvhu','1150600PEDWnn','2042448lxkGmm','388512yRghlZ','4200749PlNtGd','ranger\x20profile\x20add\x20local'];_0x1a2c=function(){return _0x267023;};return _0x1a2c();}const DEFAULT_PROFILE_COMMAND=_0x342758(0x191);export function formatProfileRequiredMessage(_0x4d7c9d){const _0x380f7d=_0x4d7c9d?_0x4d7c9d(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'+_0x380f7d+'.';}
1
+ function _0x39a4(_0x11741e,_0x36d866){_0x11741e=_0x11741e-0xd0;const _0x1468e3=_0x1468();let _0x39a416=_0x1468e3[_0x11741e];return _0x39a416;}const _0x14a1e2=_0x39a4;function _0x1468(){const _0x3852eb=['260SYMphd','130554GeGRnD','10NoXojW','2351476AwwWTt','19985BNyiqh','ranger\x20profile\x20add\x20local','2911755YOJjGv','140568bcxtcU','576zzMqSX','1040862RQIalg','8dPYsxn','520165MPUIyl'];_0x1468=function(){return _0x3852eb;};return _0x1468();}(function(_0x53f61f,_0x5204c2){const _0x114423=_0x39a4,_0xa9bd7d=_0x53f61f();while(!![]){try{const _0x597b42=-parseInt(_0x114423(0xd5))/0x1+parseInt(_0x114423(0xd4))/0x2*(-parseInt(_0x114423(0xd1))/0x3)+parseInt(_0x114423(0xd9))/0x4+-parseInt(_0x114423(0xd8))/0x5*(parseInt(_0x114423(0xd3))/0x6)+parseInt(_0x114423(0xda))/0x7*(parseInt(_0x114423(0xd2))/0x8)+parseInt(_0x114423(0xd7))/0x9*(parseInt(_0x114423(0xd6))/0xa)+parseInt(_0x114423(0xd0))/0xb;if(_0x597b42===_0x5204c2)break;else _0xa9bd7d['push'](_0xa9bd7d['shift']());}catch(_0x254f1b){_0xa9bd7d['push'](_0xa9bd7d['shift']());}}}(_0x1468,0x5cf4b));const DEFAULT_PROFILE_COMMAND=_0x14a1e2(0xdb);export function formatProfileRequiredMessage(_0x56f675){const _0x34ad58=_0x56f675?_0x56f675(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'+_0x34ad58+'.';}
@@ -1 +1 @@
1
- function _0x42d2(){const _0x1ce80f=['4100bpzzkx','6354152QgxmkV',';\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','5988saWWDo','8583669hBKshP','2418044GccrvQ','cmUQq','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','\x0a#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','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','</div>','1uYWXtg','5945051bcUXln','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','<div\x20class=\x22ranger-banner__message\x22>','50548EzcjjC','11XVImeA','8998130JeKfhh','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','<div\x20class=\x22ranger-banner__content\x22>','192JvBgQM'];_0x42d2=function(){return _0x1ce80f;};return _0x42d2();}(function(_0x1caa51,_0x55cab6){const _0x41aa57=_0x49e5,_0x5e2e21=_0x1caa51();while(!![]){try{const _0x2d35f4=-parseInt(_0x41aa57(0x1e6))/0x1*(parseInt(_0x41aa57(0x1f5))/0x2)+-parseInt(_0x41aa57(0x1ef))/0x3*(-parseInt(_0x41aa57(0x1ea))/0x4)+-parseInt(_0x41aa57(0x1f0))/0x5*(-parseInt(_0x41aa57(0x1f3))/0x6)+-parseInt(_0x41aa57(0x1e7))/0x7+-parseInt(_0x41aa57(0x1f1))/0x8+parseInt(_0x41aa57(0x1f4))/0x9+parseInt(_0x41aa57(0x1ec))/0xa*(parseInt(_0x41aa57(0x1eb))/0xb);if(_0x2d35f4===_0x55cab6)break;else _0x5e2e21['push'](_0x5e2e21['shift']());}catch(_0x29465d){_0x5e2e21['push'](_0x5e2e21['shift']());}}}(_0x42d2,0x99582));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3e5464=_0x49e5,_0x46a221={'cmUQq':function(_0x343fe4,_0x40c11b){return _0x343fe4+_0x40c11b;},'SBaOD':function(_0x497e7a,_0xf2f46c){return _0x497e7a+_0xf2f46c;},'LnyEM':function(_0x22d1f6,_0x5837c5){return _0x22d1f6+_0x5837c5;}},_0x18cbc9=_0x46a221[_0x3e5464(0x1f6)](_0x46a221['cmUQq'](_0x46a221['SBaOD'](_0x46a221['LnyEM'](_0x3e5464(0x1ee),'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>')+_0x3e5464(0x1e9)+_0x3e5464(0x1e4),_0x3e5464(0x1ed))+'</div>',_0x3e5464(0x1e5)),_0x3e5464(0x1e8)),_0x150fa5=_0x3e5464(0x1e3);return _0x3e5464(0x1e2)+JSON['stringify'](_0x18cbc9)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON['stringify'](_0x150fa5)+_0x3e5464(0x1f2);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x49e5(_0x2a700e,_0x355362){_0x2a700e=_0x2a700e-0x1e2;const _0x42d279=_0x42d2();let _0x49e5fa=_0x42d279[_0x2a700e];return _0x49e5fa;}export async function addProfileSetupBanner(_0x3b1713){await _0x3b1713['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ function _0x2bc7(_0x1fce7b,_0x9fecee){_0x1fce7b=_0x1fce7b-0x183;const _0x51225c=_0x5122();let _0x2bc7b0=_0x51225c[_0x1fce7b];return _0x2bc7b0;}(function(_0x7aa8ef,_0x2b84f1){const _0x2dedfe=_0x2bc7,_0x2a625f=_0x7aa8ef();while(!![]){try{const _0x2f3f7f=-parseInt(_0x2dedfe(0x18d))/0x1+-parseInt(_0x2dedfe(0x18e))/0x2+parseInt(_0x2dedfe(0x188))/0x3+parseInt(_0x2dedfe(0x184))/0x4+-parseInt(_0x2dedfe(0x190))/0x5+parseInt(_0x2dedfe(0x193))/0x6*(-parseInt(_0x2dedfe(0x185))/0x7)+parseInt(_0x2dedfe(0x186))/0x8;if(_0x2f3f7f===_0x2b84f1)break;else _0x2a625f['push'](_0x2a625f['shift']());}catch(_0x336e27){_0x2a625f['push'](_0x2a625f['shift']());}}}(_0x5122,0x80b60));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x17f00b=_0x2bc7,_0x3803b5={'JJmyL':function(_0x3b0050,_0x3bb40a){return _0x3b0050+_0x3bb40a;},'Krjek':function(_0xaeba25,_0x9c3a6){return _0xaeba25+_0x9c3a6;},'gzWax':'<div\x20class=\x22ranger-banner__content\x22>','THSow':_0x17f00b(0x18c),'bdKaO':'</div>'},_0x385309=_0x3803b5['JJmyL'](_0x3803b5[_0x17f00b(0x195)](_0x3803b5[_0x17f00b(0x195)](_0x3803b5[_0x17f00b(0x189)](_0x3803b5[_0x17f00b(0x194)],_0x17f00b(0x18f)),_0x3803b5['THSow']),'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x17f00b(0x192),_0x3803b5['bdKaO'])+'</div>'+_0x17f00b(0x183),_0x5169ff=_0x17f00b(0x18b);return _0x17f00b(0x18a)+JSON['stringify'](_0x385309)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON['stringify'](_0x5169ff)+_0x17f00b(0x191);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x1180d4){const _0x56fe6b=_0x2bc7;await _0x1180d4[_0x56fe6b(0x187)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x5122(){const _0x4dccca=['<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','188502ZdyxUW','gzWax','JJmyL','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','2743156NjAUfx','203RUCPKY','10919520dquSQY','addInitScript','2202597fIMGSX','Krjek','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','\x0a#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','<div\x20class=\x22ranger-banner__message\x22>','294744WSuKbw','1756286CyghqK','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','868740zsbFJD',';\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'];_0x5122=function(){return _0x4dccca;};return _0x5122();}
@@ -1 +1 @@
1
- (function(_0xafa3ac,_0x34113e){const _0x3b7707=_0x4316,_0x4bd5f7=_0xafa3ac();while(!![]){try{const _0x4d005c=-parseInt(_0x3b7707(0x138))/0x1+-parseInt(_0x3b7707(0x12e))/0x2*(parseInt(_0x3b7707(0x131))/0x3)+-parseInt(_0x3b7707(0x128))/0x4+parseInt(_0x3b7707(0x127))/0x5*(-parseInt(_0x3b7707(0x132))/0x6)+-parseInt(_0x3b7707(0x133))/0x7+-parseInt(_0x3b7707(0x130))/0x8*(parseInt(_0x3b7707(0x12a))/0x9)+parseInt(_0x3b7707(0x136))/0xa;if(_0x4d005c===_0x34113e)break;else _0x4bd5f7['push'](_0x4bd5f7['shift']());}catch(_0xfbe044){_0x4bd5f7['push'](_0x4bd5f7['shift']());}}}(_0x4109,0x8be52));function _0x4109(){const _0x35e236=['41334790qdILeg','warn','566865MGXKpW','yvBXh','10CqgLux','1425228xfgviZ','model','63YIGviT','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','uuUbC','nTumb','251786zmbXyW','MpQRC','1187432hWMPpP','3QTpUPu','1735290VOMBuf','6257797mFRxvV','parse','utf-8'];_0x4109=function(){return _0x35e236;};return _0x4109();}function _0x4316(_0x59c33f,_0x3b34e0){_0x59c33f=_0x59c33f-0x127;const _0x4109e9=_0x4109();let _0x4316d7=_0x4109e9[_0x59c33f];return _0x4316d7;}import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x5d73d3={'uXRTf':function(_0x3f07c7,_0x367059,_0x15f266){return _0x3f07c7(_0x367059,_0x15f266);}};return _0x5d73d3['uXRTf'](join,getRangerDir(),'config.json');}export async function loadRangerConfig(){const _0xbf3022=_0x4316,_0x398f89={'uuUbC':function(_0x1bdd0d,_0xed7969){return _0x1bdd0d(_0xed7969);},'lWMZx':_0xbf3022(0x135),'nTumb':'object','yvBXh':function(_0x126bf0,_0x289cc9){return _0x126bf0===_0x289cc9;},'rxKyo':'string','MpQRC':function(_0x56034b,_0x3f5af4){return _0x56034b(_0x3f5af4);}},_0x596029=getRangerConfigPath();if(!_0x398f89[_0xbf3022(0x12c)](existsSync,_0x596029))return{};try{const _0xeb0590=await readFile(_0x596029,_0x398f89['lWMZx']),_0x1fb817=JSON[_0xbf3022(0x134)](_0xeb0590);if(!_0x1fb817||typeof _0x1fb817!==_0x398f89[_0xbf3022(0x12d)]||Array['isArray'](_0x1fb817))return{};const _0x56ae57={},_0x165b54=_0x1fb817['model'];return _0x398f89[_0xbf3022(0x139)](typeof _0x165b54,_0x398f89['rxKyo'])&&(_0x56ae57[_0xbf3022(0x129)]=_0x165b54),_0x56ae57;}catch(_0x52bb48){const _0x1d91d1=_0x52bb48 instanceof Error?_0x52bb48['message']:_0x398f89[_0xbf3022(0x12f)](String,_0x52bb48);return console[_0xbf3022(0x137)](_0xbf3022(0x12b)+_0x596029+':\x20'+_0x1d91d1),{};}}
1
+ (function(_0x40d5a3,_0x40d1b2){const _0x10e0ba=_0x1cfc,_0x2fa293=_0x40d5a3();while(!![]){try{const _0x15b38f=-parseInt(_0x10e0ba(0x1c5))/0x1*(parseInt(_0x10e0ba(0x1bf))/0x2)+-parseInt(_0x10e0ba(0x1b7))/0x3*(parseInt(_0x10e0ba(0x1c1))/0x4)+-parseInt(_0x10e0ba(0x1ba))/0x5+-parseInt(_0x10e0ba(0x1b6))/0x6+parseInt(_0x10e0ba(0x1be))/0x7+-parseInt(_0x10e0ba(0x1bd))/0x8+-parseInt(_0x10e0ba(0x1b5))/0x9*(-parseInt(_0x10e0ba(0x1bc))/0xa);if(_0x15b38f===_0x40d1b2)break;else _0x2fa293['push'](_0x2fa293['shift']());}catch(_0x429f51){_0x2fa293['push'](_0x2fa293['shift']());}}}(_0x3f5b,0x4bcee));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x309439=_0x1cfc,_0x1f0b8b={'oaXji':function(_0x358513,_0x3267d1,_0x548679){return _0x358513(_0x3267d1,_0x548679);},'HABPI':function(_0x178c62){return _0x178c62();},'NiKnC':'config.json'};return _0x1f0b8b['oaXji'](join,_0x1f0b8b['HABPI'](getRangerDir),_0x1f0b8b[_0x309439(0x1bb)]);}export async function loadRangerConfig(){const _0x189a78=_0x1cfc,_0x311a0b={'DpCFK':function(_0x3d2355){return _0x3d2355();},'oaEDL':'utf-8','EXwby':function(_0x516dd1,_0x4ce872){return _0x516dd1!==_0x4ce872;},'pQqNL':_0x189a78(0x1c4),'GyEzB':'string','zFetG':function(_0x2f39e5,_0xbc722b){return _0x2f39e5 instanceof _0xbc722b;}},_0x18e9b7=_0x311a0b['DpCFK'](getRangerConfigPath);if(!existsSync(_0x18e9b7))return{};try{const _0x40ef0b=await readFile(_0x18e9b7,_0x311a0b[_0x189a78(0x1c3)]),_0x5d99ba=JSON[_0x189a78(0x1c2)](_0x40ef0b);if(!_0x5d99ba||_0x311a0b['EXwby'](typeof _0x5d99ba,_0x311a0b[_0x189a78(0x1b8)])||Array['isArray'](_0x5d99ba))return{};const _0x549c22={},_0x182974=_0x5d99ba['model'];return typeof _0x182974===_0x311a0b['GyEzB']&&(_0x549c22['model']=_0x182974),_0x549c22;}catch(_0xed6723){const _0x58b971=_0x311a0b['zFetG'](_0xed6723,Error)?_0xed6723[_0x189a78(0x1c0)]:String(_0xed6723);return console[_0x189a78(0x1b9)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x18e9b7+':\x20'+_0x58b971),{};}}function _0x1cfc(_0x4371eb,_0x500690){_0x4371eb=_0x4371eb-0x1b5;const _0x3f5b0d=_0x3f5b();let _0x1cfce7=_0x3f5b0d[_0x4371eb];return _0x1cfce7;}function _0x3f5b(){const _0x2e00e5=['NiKnC','10ocQMiz','1547472dAwGmV','2830604KYxpRN','2MyLxLs','message','1027688IUZHUR','parse','oaEDL','object','184658dsmWsM','7950141ycVudy','1780896JpTfpn','3cQndUW','pQqNL','warn','226905bpYSqU'];_0x3f5b=function(){return _0x2e00e5;};return _0x3f5b();}
@@ -1 +1 @@
1
- (function(_0x1b6f6f,_0x41a618){const _0x20f3fb=_0x3792,_0x4803b7=_0x1b6f6f();while(!![]){try{const _0x2ac304=parseInt(_0x20f3fb(0x18d))/0x1*(parseInt(_0x20f3fb(0x184))/0x2)+-parseInt(_0x20f3fb(0x18a))/0x3*(parseInt(_0x20f3fb(0x191))/0x4)+parseInt(_0x20f3fb(0x193))/0x5*(-parseInt(_0x20f3fb(0x192))/0x6)+-parseInt(_0x20f3fb(0x183))/0x7*(parseInt(_0x20f3fb(0x182))/0x8)+parseInt(_0x20f3fb(0x18f))/0x9*(parseInt(_0x20f3fb(0x180))/0xa)+parseInt(_0x20f3fb(0x18c))/0xb+-parseInt(_0x20f3fb(0x185))/0xc;if(_0x2ac304===_0x41a618)break;else _0x4803b7['push'](_0x4803b7['shift']());}catch(_0x4dc2f0){_0x4803b7['push'](_0x4803b7['shift']());}}}(_0x28ba,0xd986e));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x5cecc4=_0x3792,_0x2890d6={'tzKEs':function(_0x1188c2,_0x2221c1){return _0x1188c2(_0x2221c1);},'bcwMI':function(_0x475a93,_0x524a73){return _0x475a93!==_0x524a73;},'hYGlF':function(_0x5d746c,_0x138ad9){return _0x5d746c(_0x138ad9);},'KXtMJ':function(_0x2dfa84,_0xbc0ec4){return _0x2dfa84(_0xbc0ec4);}};let _0x180ecf=process['cwd']();const _0x2705c9=_0x2890d6['tzKEs'](parse,_0x180ecf)[_0x5cecc4(0x17f)];while(_0x2890d6[_0x5cecc4(0x187)](_0x180ecf,_0x2705c9)){if(_0x2890d6[_0x5cecc4(0x189)](existsSync,join(_0x180ecf,'.ranger')))return _0x180ecf;_0x180ecf=dirname(_0x180ecf);}if(_0x2890d6['KXtMJ'](existsSync,join(_0x2705c9,_0x5cecc4(0x190))))return _0x2705c9;const _0x582e75=findGitRoot();if(_0x582e75)return _0x582e75;return process['cwd']();}export function getRangerDir(){const _0x32dff4={'QjSDL':function(_0x1789ac,_0x50bfc7,_0x179b86){return _0x1789ac(_0x50bfc7,_0x179b86);}};return _0x32dff4['QjSDL'](join,getRangerRoot(),'.ranger');}export function findGitRoot(){const _0x478e60=_0x3792,_0x3bad0d={'FNqrL':function(_0x98dd20,_0x43a8d1){return _0x98dd20(_0x43a8d1);},'boYCc':function(_0x5cb3fa,_0x2e3db4,_0x46050c){return _0x5cb3fa(_0x2e3db4,_0x46050c);},'ADoGV':'.git'};let _0xf20a3d=process['cwd']();const _0x55ecfe=_0x3bad0d['FNqrL'](parse,_0xf20a3d)['root'];while(_0xf20a3d!==_0x55ecfe){if(existsSync(_0x3bad0d['boYCc'](join,_0xf20a3d,_0x3bad0d[_0x478e60(0x188)])))return _0xf20a3d;_0xf20a3d=_0x3bad0d[_0x478e60(0x186)](dirname,_0xf20a3d);}if(existsSync(_0x3bad0d['boYCc'](join,_0x55ecfe,_0x478e60(0x18b))))return _0x55ecfe;return null;}function _0x3792(_0x1083fc,_0x3188d0){_0x1083fc=_0x1083fc-0x17f;const _0x28bad1=_0x28ba();let _0x37922c=_0x28bad1[_0x1083fc];return _0x37922c;}export function getRangerHomeDir(){const _0x3c2c90=_0x3792,_0x5355e9={'QgRAt':function(_0x34f075,_0x35c0e3,_0x4b5ae9){return _0x34f075(_0x35c0e3,_0x4b5ae9);},'AdCKA':function(_0x25384a){return _0x25384a();}};return _0x5355e9[_0x3c2c90(0x18e)](join,_0x5355e9[_0x3c2c90(0x181)](homedir),_0x3c2c90(0x190));}function _0x28ba(){const _0x11085d=['46997SaZnXo','QgRAt','585oiKeif','.ranger','1108268qlyBLR','155634sccLcj','5MkVQgM','root','185170wIwoEt','AdCKA','124584WhMOAN','14TzHQYY','74dbsDvE','19588188vqdQvg','FNqrL','bcwMI','ADoGV','hYGlF','15ljgFmZ','.git','11255915MXoXWc'];_0x28ba=function(){return _0x11085d;};return _0x28ba();}
1
+ function _0x3904(){const _0x5811a0=['.ranger','77ajFzMX','40BtnOMg','qEVMF','295923HzFmbV','439404LBnEMd','4XkLYgW','43608eIggoG','2310VTBbZW','422256bKNRCV','tqbgE','91819bsFraF','2945268tWmrTJ','10vyqDvw','42IFqjBK','root','cwd'];_0x3904=function(){return _0x5811a0;};return _0x3904();}(function(_0x1efbfc,_0x5abf57){const _0x20a15c=_0xe7f8,_0xe2e6c1=_0x1efbfc();while(!![]){try{const _0x14058e=parseInt(_0x20a15c(0xfb))/0x1+parseInt(_0x20a15c(0xfe))/0x2+parseInt(_0x20a15c(0x100))/0x3*(-parseInt(_0x20a15c(0xfd))/0x4)+parseInt(_0x20a15c(0xff))/0x5*(parseInt(_0x20a15c(0x105))/0x6)+parseInt(_0x20a15c(0x102))/0x7*(parseInt(_0x20a15c(0xf9))/0x8)+-parseInt(_0x20a15c(0x103))/0x9*(parseInt(_0x20a15c(0x104))/0xa)+-parseInt(_0x20a15c(0x109))/0xb*(-parseInt(_0x20a15c(0xfc))/0xc);if(_0x14058e===_0x5abf57)break;else _0xe2e6c1['push'](_0xe2e6c1['shift']());}catch(_0x2de173){_0xe2e6c1['push'](_0xe2e6c1['shift']());}}}(_0x3904,0x2ab0d));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0xe7f8(_0x2c0757,_0x4ddf1b){_0x2c0757=_0x2c0757-0xf9;const _0x39049=_0x3904();let _0xe7f837=_0x39049[_0x2c0757];return _0xe7f837;}import{homedir}from'os';export function getRangerRoot(){const _0x8d6d14=_0xe7f8,_0x2423df={'gDDsP':function(_0x46835c,_0x1ba96d){return _0x46835c(_0x1ba96d);},'qEVMF':function(_0x5a7685,_0x363b51,_0x255df3){return _0x5a7685(_0x363b51,_0x255df3);}};let _0x523c12=process['cwd']();const _0xccbe03=parse(_0x523c12)[_0x8d6d14(0x106)];while(_0x523c12!==_0xccbe03){if(_0x2423df['gDDsP'](existsSync,_0x2423df[_0x8d6d14(0xfa)](join,_0x523c12,_0x8d6d14(0x108))))return _0x523c12;_0x523c12=dirname(_0x523c12);}if(existsSync(join(_0xccbe03,'.ranger')))return _0xccbe03;const _0x4ee580=findGitRoot();if(_0x4ee580)return _0x4ee580;return process[_0x8d6d14(0x107)]();}export function getRangerDir(){const _0x54ae93=_0xe7f8;return join(getRangerRoot(),_0x54ae93(0x108));}export function findGitRoot(){const _0x4ffa4f=_0xe7f8,_0x1bae5e={'jRVdt':function(_0x5e9f39,_0x11fb35){return _0x5e9f39(_0x11fb35);},'tqbgE':'.git'};let _0x5a7342=process[_0x4ffa4f(0x107)]();const _0x293217=_0x1bae5e['jRVdt'](parse,_0x5a7342)['root'];while(_0x5a7342!==_0x293217){if(existsSync(join(_0x5a7342,_0x1bae5e[_0x4ffa4f(0x101)])))return _0x5a7342;_0x5a7342=_0x1bae5e['jRVdt'](dirname,_0x5a7342);}if(existsSync(join(_0x293217,_0x1bae5e['tqbgE'])))return _0x293217;return null;}export function getRangerHomeDir(){const _0x3cd9c1=_0xe7f8,_0xa447d8={'AJsRp':function(_0x44f86d,_0x54fc5c,_0x2863eb){return _0x44f86d(_0x54fc5c,_0x2863eb);},'OqwEL':function(_0xb49788){return _0xb49788();},'jdKOO':_0x3cd9c1(0x108)};return _0xa447d8['AJsRp'](join,_0xa447d8['OqwEL'](homedir),_0xa447d8['jdKOO']);}