@ranger-testing/ranger-cli 2.1.8 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/stitchWebmFiles.js +1 -0
  61. package/build/commands/utils/telemetry.js +1 -1
  62. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  63. package/build/commands/utils/userApi.js +1 -1
  64. package/build/commands/utils/version.js +1 -1
  65. package/build/commands/verifyFeature.js +1 -1
  66. package/build/commands/verifyInBrowser.js +1 -1
  67. package/package.json +1 -1
@@ -1 +1 @@
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
+ (function(_0x5e6be6,_0x3eddb3){const _0x237036=_0x1bac,_0x143870=_0x5e6be6();while(!![]){try{const _0x49faec=-parseInt(_0x237036(0x1b7))/0x1*(parseInt(_0x237036(0x1ac))/0x2)+parseInt(_0x237036(0x1c8))/0x3+-parseInt(_0x237036(0x1cf))/0x4+-parseInt(_0x237036(0x1b5))/0x5*(parseInt(_0x237036(0x1e9))/0x6)+parseInt(_0x237036(0x1ec))/0x7*(parseInt(_0x237036(0x1b0))/0x8)+-parseInt(_0x237036(0x1d1))/0x9+-parseInt(_0x237036(0x1e3))/0xa*(-parseInt(_0x237036(0x1ba))/0xb);if(_0x49faec===_0x3eddb3)break;else _0x143870['push'](_0x143870['shift']());}catch(_0x53ec51){_0x143870['push'](_0x143870['shift']());}}}(_0x139e,0xaf18b));function _0x1bac(_0x42ef14,_0x55190a){_0x42ef14=_0x42ef14-0x1ac;const _0x139eeb=_0x139e();let _0x1bacf9=_0x139eeb[_0x42ef14];return _0x1bacf9;}export function buildTraceViewerUrl(_0x24c152){const _0x1cf161=_0x1bac,_0x80b0dd={'HhjfL':function(_0x68f7b6,_0xdb0d1c){return _0x68f7b6(_0xdb0d1c);}},_0x4b200b=_0x80b0dd[_0x1cf161(0x1df)](encodeURIComponent,_0x24c152);return'https://trace.playwright.dev/?trace='+_0x4b200b;}function getStatusEmoji(_0x2d5605){const _0x43a858=_0x1bac,_0x5e1858={'Jkwlg':'in_progress','zCcNH':_0x43a858(0x1c0),'Rhaqn':_0x43a858(0x1bd)};switch(_0x2d5605){case'verified':case _0x43a858(0x1dc):return'';case'pending':case _0x5e1858[_0x43a858(0x1b9)]:return'🔄';case _0x5e1858[_0x43a858(0x1d8)]:return'🟠';case _0x43a858(0x1c6):return'🛑';case _0x5e1858[_0x43a858(0x1b6)]:return'';default:return'';}}function formatDuration(_0x4a1d2b){const _0x45bd7f=_0x1bac,_0x5116b0={'AMAcX':function(_0x586b68,_0x5574c3){return _0x586b68===_0x5574c3;},'ORSJc':_0x45bd7f(0x1be),'qNrOJ':function(_0x2e3d67,_0x2d321c){return _0x2e3d67/_0x2d321c;},'iffor':function(_0xe80b52,_0x8c60ae){return _0xe80b52/_0x8c60ae;}};if(_0x5116b0[_0x45bd7f(0x1e5)](_0x4a1d2b,null)||_0x4a1d2b===undefined)return _0x5116b0[_0x45bd7f(0x1ce)];if(_0x4a1d2b<0x3e8)return _0x4a1d2b+'ms';const _0x10bbe2=Math[_0x45bd7f(0x1c5)](_0x5116b0[_0x45bd7f(0x1d0)](_0x4a1d2b,0x3e8));if(_0x10bbe2<0x3c)return _0x10bbe2+'s';const _0x4b102b=Math['floor'](_0x5116b0['iffor'](_0x10bbe2,0x3c)),_0x5898f9=_0x10bbe2%0x3c;return _0x4b102b+'m\x20'+_0x5898f9+'s';}function _0x139e(){const _0x275c94=['blockedReason','Session\x20','length','xywNI','find','blockedAt','zCcNH','-\x20**Closed:**\x20','-\x20**Verified:**\x20','completedAt','completed','in_progress','closedAt','HhjfL','traceUrl','rtTbg','LVFyR','21091210QwCbZm','xcHzm','AMAcX','join','verifiedAt','IInaZ','2875020UKqomH','currentSession','gitBranch','7BKLfQy','toLocaleDateString','YzFSR','##\x20Description','browserSessionId','agentResponse','-\x20**Blocked:**\x20','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','rfgnJ','-\x20**Summary:**\x20',':\x20Awaiting\x20Review','26adJOQB','iteration','filter','description','9512264IDfhLT','\x20|\x20','verified','##\x20Blocking\x20Issues','createdAt','10vUDDFf','Rhaqn','107722RTgwQK','-\x20**Reason:**\x20','Jkwlg','11XGerzA','**Status:**\x20','**Created:**\x20','closed','N/A','cCBzj','incomplete','short','GeZgg','push','riHZM','floor','blocked','status','3649119RLzzAp',':\x20In\x20Progress','checklistItemId','numeric','durationMs','|---------|----------|--------|----------|------|','ORSJc','655012FkFvCB','qNrOJ','11473677ARMLHF'];_0x139e=function(){return _0x275c94;};return _0x139e();}function formatDate(_0xd73fb4){const _0x191945=_0x1bac,_0x104b58={'LVFyR':_0x191945(0x1cb),'rfgnJ':_0x191945(0x1c1)};if(!_0xd73fb4)return'N/A';return new Date(_0xd73fb4)[_0x191945(0x1ed)]('en-US',{'year':_0x104b58[_0x191945(0x1e2)],'month':_0x104b58[_0x191945(0x1f4)],'day':'numeric'});}export function generateFeatureReport(_0x240812){const _0x14f224=_0x1bac,_0x1207e1={'YzFSR':'Completed','riHZM':'ready','xywNI':_0x14f224(0x1dd),'zrhVT':'Unknown','cCBzj':_0x14f224(0x1ef),'MLEEZ':'verified','VgiFn':function(_0x364cbe,_0xf36e){return _0x364cbe(_0xf36e);},'xcHzm':function(_0x430cf9,_0x23b91a){return _0x430cf9===_0x23b91a;},'IInaZ':_0x14f224(0x1bd),'xpOxX':_0x14f224(0x1c0),'OPEKc':function(_0x539b09,_0x4d1165){return _0x539b09(_0x4d1165);},'rABxw':function(_0x1493a2,_0x2f5707){return _0x1493a2>_0x2f5707;},'GeZgg':'None','rtTbg':function(_0x346ed9,_0x59ae4d){return _0x346ed9+_0x59ae4d;},'tKQld':function(_0x439b86,_0x43baa8){return _0x439b86===_0x43baa8;}},{feature:_0x76d2fc,stats:_0x4d82a5,checklistItems:_0x449237,sessions:_0x171558}=_0x240812,_0x480d8d=[];_0x480d8d[_0x14f224(0x1c3)]('#\x20Feature\x20Review\x20Report:\x20'+_0x76d2fc['name']),_0x480d8d[_0x14f224(0x1c3)]('');let _0x1d83b9,_0x1a2ce9;if(_0x76d2fc[_0x14f224(0x1db)])_0x1d83b9=_0x1207e1[_0x14f224(0x1ee)],_0x1a2ce9='✅';else{if(_0x76d2fc['currentSession']){const _0x2c34ee=_0x76d2fc[_0x14f224(0x1ea)]['status'];switch(_0x2c34ee){case _0x1207e1[_0x14f224(0x1c4)]:_0x1d83b9=_0x14f224(0x1d3)+_0x76d2fc['currentSession'][_0x14f224(0x1ad)]+':\x20Ready',_0x1a2ce9='▶️';break;case _0x1207e1[_0x14f224(0x1d5)]:_0x1d83b9='Session\x20'+_0x76d2fc[_0x14f224(0x1ea)][_0x14f224(0x1ad)]+_0x14f224(0x1c9),_0x1a2ce9='🔄';break;case _0x14f224(0x1dc):_0x1d83b9=_0x14f224(0x1d3)+_0x76d2fc[_0x14f224(0x1ea)]['iteration']+_0x14f224(0x1f6),_0x1a2ce9='📊';break;default:_0x1d83b9=_0x1207e1['zrhVT'],_0x1a2ce9='❓';}}else _0x1d83b9='No\x20Session',_0x1a2ce9='⬜';}_0x480d8d[_0x14f224(0x1c3)](_0x14f224(0x1bb)+_0x1a2ce9+'\x20'+_0x1d83b9),_0x480d8d['push'](_0x14f224(0x1bc)+formatDate(_0x76d2fc[_0x14f224(0x1b4)]));_0x76d2fc['completedAt']&&_0x480d8d[_0x14f224(0x1c3)]('**Completed:**\x20'+formatDate(_0x76d2fc[_0x14f224(0x1db)]));_0x76d2fc['gitRepoUrl']&&_0x480d8d['push']('**Repository:**\x20'+_0x76d2fc['gitRepoUrl']);_0x76d2fc[_0x14f224(0x1eb)]&&_0x480d8d['push']('**Branch:**\x20'+_0x76d2fc[_0x14f224(0x1eb)]);_0x480d8d[_0x14f224(0x1c3)]('');_0x76d2fc[_0x14f224(0x1af)]&&(_0x480d8d['push'](_0x1207e1[_0x14f224(0x1bf)]),_0x480d8d[_0x14f224(0x1c3)](''),_0x480d8d['push'](_0x76d2fc[_0x14f224(0x1af)]),_0x480d8d['push'](''));const _0x239f4b=_0x449237['filter'](_0x525b16=>_0x525b16[_0x14f224(0x1c7)]!==_0x14f224(0x1bd)),_0x34065b=_0x449237[_0x14f224(0x1ae)](_0x340fd0=>_0x340fd0['status']===_0x14f224(0x1b2))['length'];_0x480d8d['push']('##\x20Scenario\x20Progress\x20('+_0x34065b+'/'+_0x239f4b[_0x14f224(0x1d4)]+'\x20verified)'),_0x480d8d[_0x14f224(0x1c3)]('');for(const _0x1aa9aa of _0x449237){const _0x3efdc5=getStatusEmoji(_0x1aa9aa['status']),_0x16eff5=_0x1aa9aa[_0x14f224(0x1c7)]===_0x14f224(0x1bd),_0x33a359=_0x16eff5?'~~':'',_0x3dcad2=_0x16eff5?'~~':'';_0x480d8d[_0x14f224(0x1c3)]('###\x20'+_0x3efdc5+'\x20'+_0x33a359+_0x1aa9aa[_0x14f224(0x1af)]+_0x3dcad2),_0x480d8d['push']('');_0x1aa9aa[_0x14f224(0x1c7)]===_0x1207e1['MLEEZ']&&_0x1aa9aa['verifiedAt']&&_0x480d8d['push'](_0x14f224(0x1da)+formatDate(_0x1aa9aa[_0x14f224(0x1e7)]));_0x1aa9aa['status']===_0x14f224(0x1c6)&&_0x1aa9aa[_0x14f224(0x1d7)]&&(_0x480d8d[_0x14f224(0x1c3)](_0x14f224(0x1f2)+_0x1207e1['VgiFn'](formatDate,_0x1aa9aa['blockedAt'])),_0x1aa9aa[_0x14f224(0x1d2)]&&_0x480d8d[_0x14f224(0x1c3)](_0x14f224(0x1b8)+_0x1aa9aa['blockedReason']));_0x1207e1[_0x14f224(0x1e4)](_0x1aa9aa[_0x14f224(0x1c7)],_0x1207e1[_0x14f224(0x1e8)])&&_0x1aa9aa[_0x14f224(0x1de)]&&(_0x480d8d['push'](_0x14f224(0x1d9)+formatDate(_0x1aa9aa[_0x14f224(0x1de)])),_0x1aa9aa['canceledReason']&&_0x480d8d[_0x14f224(0x1c3)]('-\x20**Reason:**\x20'+_0x1aa9aa['canceledReason']));_0x1aa9aa['status']===_0x1207e1['xpOxX']&&_0x480d8d[_0x14f224(0x1c3)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x1aa9aa['browserSessionId']){_0x480d8d[_0x14f224(0x1c3)]('-\x20**Session:**\x20'+_0x1aa9aa[_0x14f224(0x1f0)]);const _0x22f0bf=_0x171558[_0x14f224(0x1d6)](_0x215278=>_0x215278['id']===_0x1aa9aa[_0x14f224(0x1f0)]);_0x22f0bf&&(_0x22f0bf['agentResponse']&&_0x480d8d['push'](_0x14f224(0x1f5)+_0x22f0bf[_0x14f224(0x1f1)]),_0x22f0bf['traceUrl']&&_0x480d8d['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x1207e1['OPEKc'](buildTraceViewerUrl,_0x22f0bf[_0x14f224(0x1e0)])+')'));}_0x480d8d[_0x14f224(0x1c3)]('');}const _0x4ddc13=_0x449237[_0x14f224(0x1ae)](_0x3e2c82=>_0x3e2c82[_0x14f224(0x1c7)]==='blocked');if(_0x1207e1['rABxw'](_0x4ddc13[_0x14f224(0x1d4)],0x0)){_0x480d8d['push'](_0x14f224(0x1b3)),_0x480d8d[_0x14f224(0x1c3)]('');for(const _0x3f0db2 of _0x4ddc13){_0x480d8d['push']('-\x20**'+_0x3f0db2['description']+'**:\x20'+(_0x3f0db2['blockedReason']||'No\x20reason\x20provided'));}_0x480d8d[_0x14f224(0x1c3)]('');}else _0x480d8d[_0x14f224(0x1c3)]('##\x20Blocking\x20Issues'),_0x480d8d[_0x14f224(0x1c3)](''),_0x480d8d[_0x14f224(0x1c3)](_0x1207e1[_0x14f224(0x1c2)]),_0x480d8d['push']('');if(_0x171558['length']>0x0){_0x480d8d['push']('##\x20All\x20Verification\x20Sessions'),_0x480d8d[_0x14f224(0x1c3)](''),_0x480d8d['push'](_0x14f224(0x1f3)),_0x480d8d[_0x14f224(0x1c3)](_0x14f224(0x1cd));for(const _0x40f9fd of _0x171558){const _0x385719=_0x40f9fd[_0x14f224(0x1ca)]?_0x449237[_0x14f224(0x1d6)](_0x2f2d8d=>_0x2f2d8d['id']===_0x40f9fd['checklistItemId']):null,_0x4f5175=_0x385719?_0x1207e1[_0x14f224(0x1e1)](_0x385719[_0x14f224(0x1af)]['substring'](0x0,0x1e),_0x385719[_0x14f224(0x1af)][_0x14f224(0x1d4)]>0x1e?'...':''):_0x14f224(0x1be),_0x3e6a02=_0x1207e1[_0x14f224(0x1e4)](_0x40f9fd['status'],'completed')?'✅':_0x1207e1['tKQld'](_0x40f9fd[_0x14f224(0x1c7)],'failed')?'❌':'🔄';_0x480d8d['push']('|\x20'+_0x40f9fd['id']+'\x20|\x20'+_0x4f5175+_0x14f224(0x1b1)+_0x3e6a02+'\x20'+_0x40f9fd['status']+_0x14f224(0x1b1)+formatDuration(_0x40f9fd[_0x14f224(0x1cc)])+_0x14f224(0x1b1)+formatDate(_0x40f9fd[_0x14f224(0x1b4)])+'\x20|');}_0x480d8d[_0x14f224(0x1c3)]('');}return _0x480d8d[_0x14f224(0x1e6)]('\x0a');}
@@ -1 +1 @@
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
+ function _0x5290(){const _0x565788=['dataOffset','pzgIK','puiSx','UBnUH','aUbVF','yNKeL','NArSR','ggmti','KbRjL','wSxXg','LmsTR','TFost','qeRep','pGTRj','8ahMwAC','7100095xSPHgR','DDMro','writeDoubleBE','thbsK','4IRNjyE','sizeLen','error','ANVYv','uXTwx','idLen','concat','uEXuy','XhrBT','GTWJH','nfISh','9282321PmkOLH','IpGFZ','rdKMH','VcHUw','7188552xUdqOV','VOhlu','HDpQA','indexOf','Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>','afPss','Could\x20not\x20find\x20Info\x20element','zKhSx','873mhdriv','slice','dataSize','iideC','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','lpyXi','1370293WyYWsf','ELAQG','SGEUp','lsdMA','ymxIQ','IGaAo','NJpDE','LkjeK','Ziaqp','qcLoF','length','EBhvC','fixWebmDuration.js','3310bFzUgu','YPRyH','pow','endsWith','MSufb','xFNjJ','LoAda','yLaaf','vvzfg','yDKTk','min','argv','60269xIOvqr','194fvKwQo','offset','xvdDa','readInt16BE','6057570fhqkMv','Could\x20not\x20compute\x20duration','from'];_0x5290=function(){return _0x565788;};return _0x5290();}const _0x59db9e=_0x1979;(function(_0x2d1204,_0xccb863){const _0x325fd1=_0x1979,_0xd1ad6d=_0x2d1204();while(!![]){try{const _0x375c50=-parseInt(_0x325fd1(0x1c5))/0x1+parseInt(_0x325fd1(0x1df))/0x2*(-parseInt(_0x325fd1(0x1bf))/0x3)+-parseInt(_0x325fd1(0x1a8))/0x4*(-parseInt(_0x325fd1(0x1a4))/0x5)+-parseInt(_0x325fd1(0x192))/0x6+parseInt(_0x325fd1(0x1b7))/0x7+-parseInt(_0x325fd1(0x1a3))/0x8*(parseInt(_0x325fd1(0x1b3))/0x9)+-parseInt(_0x325fd1(0x1d2))/0xa*(-parseInt(_0x325fd1(0x1de))/0xb);if(_0x375c50===_0xccb863)break;else _0xd1ad6d['push'](_0xd1ad6d['shift']());}catch(_0x4529b2){_0xd1ad6d['push'](_0xd1ad6d['shift']());}}}(_0x5290,0xc871c));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 _0x1979(_0x599c34,_0x4cf41e){_0x599c34=_0x599c34-0x191;const _0x5290c9=_0x5290();let _0x19791f=_0x5290c9[_0x599c34];return _0x19791f;}function readVint(_0x11be60,_0x1f3743){const _0x381e9f=_0x1979,_0x27ff82={'Vgjfh':function(_0x5c2611,_0x3cf204){return _0x5c2611>_0x3cf204;},'qcLoF':function(_0x38c4bc,_0x40f7a8){return _0x38c4bc&_0x40f7a8;},'Ziaqp':function(_0x419829,_0x2f18b5){return _0x419829<_0x2f18b5;},'xvdDa':function(_0x374236,_0x5cdf89){return _0x374236+_0x5cdf89;}};if(_0x1f3743>=_0x11be60[_0x381e9f(0x1cf)])return[0x0,0x0];const _0x53287e=_0x11be60[_0x1f3743];let _0x2d89a2=0x1,_0x3639ce=0x80;while(_0x2d89a2<=0x8&&!(_0x53287e&_0x3639ce)){_0x2d89a2++,_0x3639ce>>=0x1;}if(_0x27ff82['Vgjfh'](_0x1f3743+_0x2d89a2,_0x11be60['length']))return[0x0,0x0];let _0x297bd0=_0x27ff82[_0x381e9f(0x1ce)](_0x53287e,_0x3639ce-0x1);for(let _0x3e1671=0x1;_0x27ff82[_0x381e9f(0x1cd)](_0x3e1671,_0x2d89a2);_0x3e1671++){_0x297bd0=_0x297bd0*0x100+_0x11be60[_0x27ff82[_0x381e9f(0x1e1)](_0x1f3743,_0x3e1671)];}return[_0x297bd0,_0x2d89a2];}function readId(_0x3effe1,_0x19d6f3){const _0x167b17=_0x1979,_0x2cd58a={'ANVYv':function(_0x22cdc2,_0x489e0a){return _0x22cdc2>=_0x489e0a;},'vOvmn':function(_0x5cecd8,_0x338c18){return _0x5cecd8>_0x338c18;},'wCsyI':function(_0x541358,_0x28370f){return _0x541358+_0x28370f;},'LmsTR':function(_0x605f9d,_0x117006){return _0x605f9d*_0x117006;}};if(_0x2cd58a[_0x167b17(0x1ab)](_0x19d6f3,_0x3effe1[_0x167b17(0x1cf)]))return[0x0,0x0];const _0x4e06ad=_0x3effe1[_0x19d6f3];let _0x23a383;if(_0x4e06ad>=0x80)_0x23a383=0x1;else{if(_0x2cd58a['ANVYv'](_0x4e06ad,0x40))_0x23a383=0x2;else{if(_0x4e06ad>=0x20)_0x23a383=0x3;else{if(_0x4e06ad>=0x10)_0x23a383=0x4;else return[_0x4e06ad,0x1];}}}if(_0x2cd58a['vOvmn'](_0x2cd58a['wCsyI'](_0x19d6f3,_0x23a383),_0x3effe1['length']))return[0x0,0x0];let _0x3b9e7f=0x0;for(let _0x238fe8=0x0;_0x238fe8<_0x23a383;_0x238fe8++){_0x3b9e7f=_0x2cd58a['wCsyI'](_0x2cd58a[_0x167b17(0x19f)](_0x3b9e7f,0x100),_0x3effe1[_0x19d6f3+_0x238fe8]);}return[_0x3b9e7f,_0x23a383];}function readUint(_0x2d05c5,_0x19103e,_0x5d6634){const _0x52bc62=_0x1979,_0x51ced0={'nfISh':function(_0x3ddc7b,_0x4c149b){return _0x3ddc7b*_0x4c149b;}};let _0xd9158f=0x0;for(let _0x44ad33=0x0;_0x44ad33<_0x5d6634;_0x44ad33++){_0xd9158f=_0x51ced0[_0x52bc62(0x1b2)](_0xd9158f,0x100)+_0x2d05c5[_0x19103e+_0x44ad33];}return _0xd9158f;}function isUnknownSize(_0x571cc5,_0x14ffe4){const _0x40ba90=_0x1979,_0x1d5356={'lWoVF':function(_0x5eb771,_0x121de9){return _0x5eb771===_0x121de9;}};return _0x1d5356['lWoVF'](_0x571cc5,Math[_0x40ba90(0x1d4)](0x2,0x7*_0x14ffe4)-0x1);}function writeId(_0x50b268){const _0x5ecae6=_0x1979,_0x1bf8df={'DeQuD':function(_0x4f2882,_0x1aaf92){return _0x4f2882<=_0x1aaf92;},'RGxps':function(_0xa6de24,_0x3ead35){return _0xa6de24&_0x3ead35;},'wDkEE':function(_0x2057ec,_0x10002b){return _0x2057ec&_0x10002b;},'VcHUw':function(_0x280536,_0x2324ba){return _0x280536<=_0x2324ba;},'afPss':function(_0x385db4,_0x342e9e){return _0x385db4&_0x342e9e;},'hoPsh':function(_0x4dcef8,_0x52421f){return _0x4dcef8>>_0x52421f;},'IGaAo':function(_0x48b072,_0x4d3384){return _0x48b072>>_0x4d3384;},'zKhSx':function(_0x532987,_0x5bd43b){return _0x532987&_0x5bd43b;},'pGTRj':function(_0x4c8d57,_0x48c201){return _0x4c8d57>>_0x48c201;},'pzgIK':function(_0x59a0d0,_0x3278c7){return _0x59a0d0&_0x3278c7;},'Dhncc':function(_0x39133b,_0x1abbba){return _0x39133b>>_0x1abbba;}};if(_0x1bf8df['DeQuD'](_0x50b268,0xff))return Buffer['from']([_0x50b268]);if(_0x50b268<=0xffff)return Buffer[_0x5ecae6(0x194)]([_0x1bf8df['RGxps'](_0x50b268>>0x8,0xff),_0x1bf8df['wDkEE'](_0x50b268,0xff)]);if(_0x1bf8df[_0x5ecae6(0x1b6)](_0x50b268,0xffffff))return Buffer[_0x5ecae6(0x194)]([_0x1bf8df[_0x5ecae6(0x1bc)](_0x1bf8df['hoPsh'](_0x50b268,0x10),0xff),_0x1bf8df['wDkEE'](_0x1bf8df[_0x5ecae6(0x1ca)](_0x50b268,0x8),0xff),_0x50b268&0xff]);return Buffer['from']([_0x1bf8df['wDkEE'](_0x50b268>>0x18,0xff),_0x1bf8df[_0x5ecae6(0x1be)](_0x1bf8df[_0x5ecae6(0x1a2)](_0x50b268,0x10),0xff),_0x1bf8df[_0x5ecae6(0x196)](_0x1bf8df['Dhncc'](_0x50b268,0x8),0xff),_0x50b268&0xff]);}function writeVint(_0x491c91,_0x1f3e9f){const _0x151416=_0x1979,_0x57a4d7={'HDpQA':function(_0x4c22c8,_0x4e94bb){return _0x4c22c8||_0x4e94bb;},'XzBER':function(_0x1960cc,_0xe0afef){return _0x1960cc<_0xe0afef;},'qwIKE':function(_0x36a584,_0x3942ea){return _0x36a584*_0x3942ea;},'ymxIQ':function(_0x167a3a,_0x35efc1){return _0x167a3a&_0x35efc1;},'EBhvC':function(_0x6ef862,_0x14d1f6){return _0x6ef862/_0x14d1f6;},'wSxXg':function(_0x39e10e,_0x54c528){return _0x39e10e<<_0x54c528;},'uEXuy':function(_0x4f950e,_0x1a48ae){return _0x4f950e-_0x1a48ae;}};let _0x1f15f3=_0x57a4d7[_0x151416(0x1b9)](_0x1f3e9f,0x1);while(_0x57a4d7['XzBER'](Math['pow'](0x2,_0x57a4d7['qwIKE'](0x7,_0x1f15f3))-0x2,_0x491c91))_0x1f15f3++;const _0x3f7f57=Buffer['alloc'](_0x1f15f3);for(let _0x336d30=_0x1f15f3-0x1;_0x336d30>=0x0;_0x336d30--){_0x3f7f57[_0x336d30]=_0x57a4d7[_0x151416(0x1c9)](_0x491c91,0xff),_0x491c91=Math['floor'](_0x57a4d7[_0x151416(0x1d0)](_0x491c91,0x100));}return _0x3f7f57[0x0]|=_0x57a4d7[_0x151416(0x19e)](0x1,_0x57a4d7[_0x151416(0x1af)](0x8,_0x1f15f3)),_0x3f7f57;}function writeFloat64(_0x7bd4f7){const _0x35840c=_0x1979,_0x228168=Buffer['alloc'](0x8);return _0x228168[_0x35840c(0x1a6)](_0x7bd4f7,0x0),_0x228168;}function writeVoid(_0x29e4d6){const _0x4c3558=_0x1979,_0x55c402={'puiSx':function(_0x49f361,_0x577c1e){return _0x49f361<=_0x577c1e;},'eFYEI':function(_0x3e4b39,_0x1d7124){return _0x3e4b39>=_0x1d7124;}};for(let _0x57b2d6=0x1;_0x55c402[_0x4c3558(0x197)](_0x57b2d6,0x8);_0x57b2d6++){const _0x48ff7e=_0x29e4d6-0x1-_0x57b2d6;if(_0x55c402['eFYEI'](_0x48ff7e,0x0)&&_0x48ff7e<=Math[_0x4c3558(0x1d4)](0x2,0x7*_0x57b2d6)-0x2)return Buffer['concat']([Buffer['from']([ID_VOID]),writeVint(_0x48ff7e,_0x57b2d6),Buffer['alloc'](_0x48ff7e)]);}return Buffer['alloc'](0x0);}function findElement(_0x4cf42c,_0x59d2ef,_0x1a08e9,_0x46a0d9){const _0x64fd29=_0x1979,_0x84eed={'qONBo':function(_0x34876d,_0x702c69,_0x55e6aa){return _0x34876d(_0x702c69,_0x55e6aa);},'XhrBT':function(_0x3c1895,_0x456eb7,_0x2f098c){return _0x3c1895(_0x456eb7,_0x2f098c);},'thbsK':function(_0x399a93,_0x2d4341){return _0x399a93+_0x2d4341;},'yNKeL':function(_0x3fa5ef,_0x3fe046){return _0x3fa5ef+_0x3fe046;},'tIYvz':function(_0x196b20,_0x13c616){return _0x196b20+_0x13c616;}};let _0x25d1a9=_0x59d2ef;while(_0x25d1a9<_0x1a08e9){const [_0xa543ee,_0x5a9278]=_0x84eed['qONBo'](readId,_0x4cf42c,_0x25d1a9),[_0x39398b,_0x343729]=_0x84eed[_0x64fd29(0x1b0)](readVint,_0x4cf42c,_0x84eed[_0x64fd29(0x1a7)](_0x25d1a9,_0x5a9278));if(_0xa543ee===_0x46a0d9)return{'offset':_0x25d1a9,'idLen':_0x5a9278,'sizeLen':_0x343729,'dataSize':_0x39398b,'dataOffset':_0x84eed[_0x64fd29(0x19a)](_0x25d1a9,_0x5a9278)+_0x343729};if(_0x84eed[_0x64fd29(0x1b0)](isUnknownSize,_0x39398b,_0x343729))break;_0x25d1a9+=_0x84eed['tIYvz'](_0x5a9278,_0x343729)+_0x39398b;}return null;}function computeDurationMs(_0x136022,_0x556b7c){const _0xbe4ae2=_0x1979,_0x2b5024={'LoAda':function(_0xba34a2,_0x4ba001){return _0xba34a2===_0x4ba001;},'GTWJH':function(_0x4b3acf,_0x4cf3f3){return _0x4b3acf<_0x4cf3f3;},'DDMro':function(_0x2f6d51,_0x4a908c,_0x3800b0){return _0x2f6d51(_0x4a908c,_0x3800b0);},'CkTzQ':function(_0x7ff5df,_0xc7fe2d,_0x46fb97){return _0x7ff5df(_0xc7fe2d,_0x46fb97);},'KbRjL':function(_0x3f5faf,_0x50a626){return _0x3f5faf+_0x50a626;},'UBnUH':function(_0x37af53,_0x3f449e){return _0x37af53+_0x3f449e;},'NJpDE':function(_0x58e298,_0x56af93){return _0x58e298<_0x56af93;},'uXTwx':function(_0x98f5cd,_0x161a41,_0x3f5d59,_0x52f2b4){return _0x98f5cd(_0x161a41,_0x3f5d59,_0x52f2b4);},'yLaaf':function(_0x563a69,_0xc781e2){return _0x563a69+_0xc781e2;},'DexsC':function(_0x2b171e,_0x3999b2,_0xc32813){return _0x2b171e(_0x3999b2,_0xc32813);},'rdKMH':function(_0x594290,_0x40c77f){return _0x594290/_0x40c77f;},'yDKTk':function(_0x10da72,_0x5e171c){return _0x10da72*_0x5e171c;}};let _0x3a0288=0x0;const _0x28b8c9=Buffer[_0xbe4ae2(0x194)]([0x1f,0x43,0xb6,0x75]);let _0xe55419=_0x136022[_0xbe4ae2(0x1ba)](_0x28b8c9);if(_0x2b5024['LoAda'](_0xe55419,-0x1))return 0x0;while(_0x2b5024['GTWJH'](_0xe55419,_0x136022['length'])){const [_0x447890,_0x41c9c9]=readId(_0x136022,_0xe55419);if(_0x447890!==ID_CLUSTER)break;const [_0x395c41,_0x1b2fc9]=_0x2b5024['DDMro'](readVint,_0x136022,_0xe55419+_0x41c9c9),_0x49aaaf=_0xe55419+_0x41c9c9+_0x1b2fc9,_0x3a371c=_0x2b5024['CkTzQ'](isUnknownSize,_0x395c41,_0x1b2fc9);let _0x3e7d17;if(_0x3a371c){let _0x45b2a5=_0x49aaaf;while(_0x2b5024[_0xbe4ae2(0x1b1)](_0x45b2a5,_0x136022[_0xbe4ae2(0x1cf)]-0x4)){const [_0x555cff,_0x575148]=readId(_0x136022,_0x45b2a5);if(_0x555cff===ID_CLUSTER){_0x3e7d17=_0x45b2a5;break;}const [_0x23ab3a,_0x58fd8a]=readVint(_0x136022,_0x2b5024[_0xbe4ae2(0x19d)](_0x45b2a5,_0x575148));if(isUnknownSize(_0x23ab3a,_0x58fd8a)){_0x3e7d17=_0x136022[_0xbe4ae2(0x1cf)];break;}_0x45b2a5+=_0x2b5024['UBnUH'](_0x575148+_0x58fd8a,_0x23ab3a);}_0x3e7d17??=_0x136022['length'];}else _0x3e7d17=_0x2b5024[_0xbe4ae2(0x198)](_0x49aaaf,_0x395c41);let _0x401245=0x0,_0x1ef714=_0x49aaaf;while(_0x2b5024[_0xbe4ae2(0x1cb)](_0x1ef714,_0x3e7d17)){const [_0x57880d,_0x4e9d8f]=_0x2b5024[_0xbe4ae2(0x1a5)](readId,_0x136022,_0x1ef714),[_0x4bc9c3,_0x446d09]=readVint(_0x136022,_0x1ef714+_0x4e9d8f);if(_0x2b5024[_0xbe4ae2(0x1d8)](_0x57880d,ID_TIMESTAMP))_0x401245=_0x2b5024[_0xbe4ae2(0x1ac)](readUint,_0x136022,_0x2b5024[_0xbe4ae2(0x19d)](_0x2b5024[_0xbe4ae2(0x1d9)](_0x1ef714,_0x4e9d8f),_0x446d09),_0x4bc9c3);else{if(_0x57880d===ID_SIMPLE_BLOCK&&_0x4bc9c3>=0x4){const _0x250662=_0x2b5024[_0xbe4ae2(0x1d9)](_0x2b5024[_0xbe4ae2(0x198)](_0x1ef714,_0x4e9d8f),_0x446d09),[,_0x43b4e2]=_0x2b5024['DexsC'](readVint,_0x136022,_0x250662),_0x3f6f05=_0x136022[_0xbe4ae2(0x191)](_0x250662+_0x43b4e2),_0x15310c=_0x2b5024[_0xbe4ae2(0x1b5)](_0x2b5024[_0xbe4ae2(0x1db)](_0x401245+_0x3f6f05,_0x556b7c),0xf4240);_0x15310c>_0x3a0288&&(_0x3a0288=_0x15310c);}else{if(_0x57880d===ID_CLUSTER)break;}}if(isUnknownSize(_0x4bc9c3,_0x446d09))break;_0x1ef714+=_0x2b5024['yLaaf'](_0x4e9d8f,_0x446d09)+_0x4bc9c3;}_0xe55419=_0x3e7d17;}return _0x3a0288;}export function fixWebmDuration(_0x78eabb,_0xd64e17){const _0x4ff7d3=_0x1979,_0x3bf141={'YPRyH':function(_0x42024c,_0x4cbcc9){return _0x42024c(_0x4cbcc9);},'IpGFZ':function(_0x1abff6,_0x24da40,_0x25f66f){return _0x1abff6(_0x24da40,_0x25f66f);},'qeRep':function(_0x44607a,_0x12dd4c){return _0x44607a+_0x12dd4c;},'hntyV':function(_0x28fed5,_0x228e90){return _0x28fed5+_0x228e90;},'ljpdT':function(_0x58a771,_0xb09368){return _0x58a771===_0xb09368;},'NArSR':function(_0x1d3774,_0x3caaf){return _0x1d3774===_0x3caaf;},'VOhlu':function(_0x44f11d,_0x305773,_0x468d0d){return _0x44f11d(_0x305773,_0x468d0d);},'ggmti':function(_0xbdcd4a,_0x2dcfbd){return _0xbdcd4a+_0x2dcfbd;},'vvzfg':_0x4ff7d3(0x1bd),'vpdnj':function(_0x36d9bd,_0xf8717b,_0x8b6652,_0x13668b,_0x4cb6bb){return _0x36d9bd(_0xf8717b,_0x8b6652,_0x13668b,_0x4cb6bb);},'BewGu':function(_0x10838c,_0x48ec9d){return _0x10838c+_0x48ec9d;},'iideC':function(_0x1b6ad2,_0x1e0a43,_0x1ee3c7,_0x11c2ba,_0x31ca82){return _0x1b6ad2(_0x1e0a43,_0x1ee3c7,_0x11c2ba,_0x31ca82);},'MSufb':function(_0x380c7a,_0x33c4d9,_0x326f71,_0x36b305){return _0x380c7a(_0x33c4d9,_0x326f71,_0x36b305);},'LkjeK':function(_0x1104f2,_0x10a1d6){return _0x1104f2<=_0x10a1d6;},'SGEUp':_0x4ff7d3(0x193),'aUbVF':function(_0x5d4918,_0x2613b9){return _0x5d4918/_0x2613b9;},'lRMJw':function(_0x7485ea,_0x52fdb1){return _0x7485ea(_0x52fdb1);},'aqUOF':function(_0x260d5f,_0x6d7cda){return _0x260d5f(_0x6d7cda);},'TFost':function(_0x395f22,_0x2eced9){return _0x395f22+_0x2eced9;},'xFNjJ':function(_0x30a3b5,_0xf8e2c9){return _0x30a3b5-_0xf8e2c9;},'CWgxL':function(_0x4d19d1,_0x2cb595){return _0x4d19d1+_0x2cb595;},'ELAQG':function(_0x44433d,_0x49cf6b){return _0x44433d(_0x49cf6b);},'lsdMA':function(_0x3631dd,_0x4630ce){return _0x3631dd+_0x4630ce;}},_0x10c01c=_0x3bf141[_0x4ff7d3(0x1d3)](readFileSync,_0x78eabb);let _0x3bca42=0x0;const [_0x43313d,_0x18ae2e]=_0x3bf141[_0x4ff7d3(0x1b4)](readId,_0x10c01c,_0x3bca42),[_0x1c72d7,_0x442634]=readVint(_0x10c01c,_0x3bca42+_0x18ae2e);_0x3bca42+=_0x3bf141['qeRep'](_0x18ae2e+_0x442634,_0x1c72d7);const [_0x562f09,_0x13e731]=readId(_0x10c01c,_0x3bca42);if(_0x562f09!==ID_SEGMENT)return console['error'](_0x4ff7d3(0x1c3)),![];const [,_0x36acd]=readVint(_0x10c01c,_0x3bf141[_0x4ff7d3(0x1a1)](_0x3bca42,_0x13e731)),_0x56f0f1=_0x3bca42+_0x13e731+_0x36acd;let _0x2fb8ed=_0x56f0f1;const _0x2fd2b2=Math[_0x4ff7d3(0x1dc)](_0x10c01c['length'],_0x56f0f1+0x2710);let _0x55fdd0=null,_0x49c58d=null;while(_0x2fb8ed<_0x2fd2b2){const [_0xa278fe,_0x54c4ec]=readId(_0x10c01c,_0x2fb8ed),[_0x129c92,_0xedd6fb]=readVint(_0x10c01c,_0x3bf141['hntyV'](_0x2fb8ed,_0x54c4ec));_0x3bf141['ljpdT'](_0xa278fe,ID_VOID)&&!_0x55fdd0&&(_0x55fdd0={'offset':_0x2fb8ed,'idLen':_0x54c4ec,'sizeLen':_0xedd6fb,'dataSize':_0x129c92,'dataOffset':_0x3bf141['hntyV'](_0x2fb8ed,_0x54c4ec)+_0xedd6fb});if(_0x3bf141[_0x4ff7d3(0x19b)](_0xa278fe,ID_INFO)){_0x49c58d={'offset':_0x2fb8ed,'idLen':_0x54c4ec,'sizeLen':_0xedd6fb,'dataSize':_0x129c92,'dataOffset':_0x3bf141['hntyV'](_0x2fb8ed+_0x54c4ec,_0xedd6fb)};break;}if(_0xa278fe===ID_CLUSTER)break;if(_0x3bf141[_0x4ff7d3(0x1b8)](isUnknownSize,_0x129c92,_0xedd6fb))break;_0x2fb8ed+=_0x3bf141[_0x4ff7d3(0x19c)](_0x54c4ec+_0xedd6fb,_0x129c92);}if(!_0x49c58d)return console[_0x4ff7d3(0x1aa)](_0x3bf141[_0x4ff7d3(0x1da)]),![];const _0x239ac5=_0x3bf141['vpdnj'](findElement,_0x10c01c,_0x49c58d[_0x4ff7d3(0x195)],_0x3bf141['BewGu'](_0x49c58d[_0x4ff7d3(0x195)],_0x49c58d[_0x4ff7d3(0x1c1)]),ID_DURATION);if(_0x239ac5)return![];const _0xd82cf0=_0x3bf141[_0x4ff7d3(0x1c2)](findElement,_0x10c01c,_0x49c58d[_0x4ff7d3(0x195)],_0x49c58d['dataOffset']+_0x49c58d['dataSize'],ID_TIMESTAMP_SCALE);let _0x56ecd4=0xf4240;_0xd82cf0&&(_0x56ecd4=_0x3bf141[_0x4ff7d3(0x1d6)](readUint,_0x10c01c,_0xd82cf0['dataOffset'],_0xd82cf0['dataSize']));const _0x4db69b=computeDurationMs(_0x10c01c,_0x56ecd4);if(_0x3bf141[_0x4ff7d3(0x1cc)](_0x4db69b,0x0))return console[_0x4ff7d3(0x1aa)](_0x3bf141[_0x4ff7d3(0x1c7)]),![];const _0x4830c7=_0x3bf141[_0x4ff7d3(0x199)](_0x4db69b*0xf4240,_0x56ecd4),_0x48d187=Buffer[_0x4ff7d3(0x1ae)]([writeId(ID_DURATION),_0x3bf141['lRMJw'](writeVint,0x8),_0x3bf141['aqUOF'](writeFloat64,_0x4830c7)]),_0x20966e=_0x48d187['length'];if(!_0x55fdd0||_0x55fdd0['offset']<_0x49c58d['offset']){if(_0x55fdd0){const _0x27818d=_0x3bf141[_0x4ff7d3(0x1a0)](_0x55fdd0[_0x4ff7d3(0x1ad)]+_0x55fdd0['sizeLen'],_0x55fdd0[_0x4ff7d3(0x1c1)]),_0x3ff69c=_0x3bf141[_0x4ff7d3(0x1d7)](_0x27818d,_0x20966e);if(_0x3ff69c<0x2)return rewriteFile(_0x10c01c,_0x49c58d,_0x48d187,_0x56ecd4,_0x4db69b,_0xd64e17);const _0x316bae=_0x3bf141['CWgxL'](_0x49c58d['dataSize'],_0x20966e),_0x1272bc=Buffer['concat']([writeId(ID_INFO),writeVint(_0x316bae,_0x49c58d[_0x4ff7d3(0x1a9)])]),_0x8351a7=_0x10c01c['slice'](_0x49c58d[_0x4ff7d3(0x195)],_0x49c58d[_0x4ff7d3(0x195)]+_0x49c58d[_0x4ff7d3(0x1c1)]),_0x2b60db=_0x3bf141[_0x4ff7d3(0x1c6)](writeVoid,_0x3ff69c),_0x1ca914=_0x10c01c['slice'](0x0,_0x55fdd0[_0x4ff7d3(0x1e0)]),_0x25e1da=_0x10c01c['slice'](_0x3bf141[_0x4ff7d3(0x1c8)](_0x49c58d['dataOffset'],_0x49c58d[_0x4ff7d3(0x1c1)]));return writeFileSync(_0xd64e17,Buffer['concat']([_0x1ca914,_0x2b60db,_0x1272bc,_0x8351a7,_0x48d187,_0x25e1da])),!![];}}return rewriteFile(_0x10c01c,_0x49c58d,_0x48d187,_0x56ecd4,_0x4db69b,_0xd64e17);}function rewriteFile(_0x1649dc,_0x3e44d2,_0x30d934,_0x9fb8f7,_0x11bab6,_0x1a3cb4){const _0x3f0a72=_0x1979,_0xbd8c7c={'lpyXi':function(_0x542b9d,_0x51daf3){return _0x542b9d+_0x51daf3;},'HUzBV':function(_0x45d140,_0x63734d,_0x58e444){return _0x45d140(_0x63734d,_0x58e444);}},_0x3ec9ba=_0x3e44d2[_0x3f0a72(0x1c1)]+_0x30d934[_0x3f0a72(0x1cf)],_0x32431a=Buffer[_0x3f0a72(0x1ae)]([writeId(ID_INFO),writeVint(_0x3ec9ba)]),_0x4fd547=_0x3e44d2['idLen']+_0x3e44d2['sizeLen'],_0x5bbb9a=_0x1649dc[_0x3f0a72(0x1c0)](0x0,_0x3e44d2['offset']),_0x14239d=_0x1649dc['slice'](_0x3e44d2[_0x3f0a72(0x195)],_0x3e44d2[_0x3f0a72(0x195)]+_0x3e44d2[_0x3f0a72(0x1c1)]),_0x5a9f3d=_0x1649dc[_0x3f0a72(0x1c0)](_0xbd8c7c[_0x3f0a72(0x1c4)](_0x3e44d2['offset'],_0x4fd547)+_0x3e44d2['dataSize']);return _0xbd8c7c['HUzBV'](writeFileSync,_0x1a3cb4,Buffer[_0x3f0a72(0x1ae)]([_0x5bbb9a,_0x32431a,_0x14239d,_0x30d934,_0x5a9f3d])),!![];}if(process['argv'][0x1]?.[_0x59db9e(0x1d5)]('fixWebmDuration.ts')||process['argv'][0x1]?.[_0x59db9e(0x1d5)](_0x59db9e(0x1d1))){const input=process[_0x59db9e(0x1dd)][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x59db9e(0x1aa)](_0x59db9e(0x1bb)),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log']('Fixed:\x20'+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
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
+ (function(_0x319902,_0x4ce68b){const _0x39d4c7=_0x1fec,_0x57458b=_0x319902();while(!![]){try{const _0x5ca1bf=-parseInt(_0x39d4c7(0x1ec))/0x1*(parseInt(_0x39d4c7(0x1e2))/0x2)+-parseInt(_0x39d4c7(0x1e3))/0x3+-parseInt(_0x39d4c7(0x1dd))/0x4*(-parseInt(_0x39d4c7(0x1e8))/0x5)+-parseInt(_0x39d4c7(0x1eb))/0x6+-parseInt(_0x39d4c7(0x1e4))/0x7*(parseInt(_0x39d4c7(0x1e9))/0x8)+parseInt(_0x39d4c7(0x1ee))/0x9+-parseInt(_0x39d4c7(0x1df))/0xa*(-parseInt(_0x39d4c7(0x1e6))/0xb);if(_0x5ca1bf===_0x4ce68b)break;else _0x57458b['push'](_0x57458b['shift']());}catch(_0x43d3dd){_0x57458b['push'](_0x57458b['shift']());}}}(_0x398f,0x75228));import{execSync}from'child_process';export function getGitBranch(){const _0x1e8742=_0x1fec,_0x1f8368={'LJbdf':function(_0x5db2a8,_0x56f31c,_0x275a0d){return _0x5db2a8(_0x56f31c,_0x275a0d);},'nWTxf':_0x1e8742(0x1ed)};try{return _0x1f8368[_0x1e8742(0x1e0)](execSync,_0x1e8742(0x1ea),{'encoding':_0x1e8742(0x1dc),'stdio':['pipe',_0x1f8368['nWTxf'],_0x1f8368['nWTxf']]})[_0x1e8742(0x1e1)]();}catch{return undefined;}}function _0x1fec(_0xeef6f6,_0x5b3ade){_0xeef6f6=_0xeef6f6-0x1dc;const _0x398fb0=_0x398f();let _0x1fece4=_0x398fb0[_0xeef6f6];return _0x1fece4;}export function getGitRepoUrl(){const _0x551907=_0x1fec,_0x334f22={'UhlNw':'pipe'};try{const _0x5ed955=execSync(_0x551907(0x1e5),{'encoding':'utf-8','stdio':[_0x334f22[_0x551907(0x1e7)],_0x334f22['UhlNw'],_0x551907(0x1ed)]})['trim']();return _0x5ed955[_0x551907(0x1de)](/\.git$/,'')[_0x551907(0x1de)](/^git@github\.com:/,'github.com/')['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){return{'branch':getGitBranch(),'repoUrl':getGitRepoUrl()};}function _0x398f(){const _0x32660e=['UhlNw','5ZcKoVw','463640PpitdJ','git\x20rev-parse\x20--abbrev-ref\x20HEAD','5208174usATlj','28037SdIPuD','pipe','7193718VeFBfP','utf-8','1578404mZbNJW','replace','20TFYxDn','LJbdf','trim','4AIBolc','1583487ObEVVb','49bLZmnZ','git\x20remote\x20get-url\x20origin','6289239pWYCEz'];_0x398f=function(){return _0x32660e;};return _0x398f();}
@@ -1 +1 @@
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
+ const _0x3538aa=_0x3bfd;(function(_0x160332,_0x2f63c1){const _0x4d22b6=_0x3bfd,_0x363f76=_0x160332();while(!![]){try{const _0x54c718=-parseInt(_0x4d22b6(0x19c))/0x1+parseInt(_0x4d22b6(0x1b9))/0x2+parseInt(_0x4d22b6(0x19a))/0x3*(parseInt(_0x4d22b6(0x1a4))/0x4)+parseInt(_0x4d22b6(0x1b6))/0x5*(-parseInt(_0x4d22b6(0x1b8))/0x6)+parseInt(_0x4d22b6(0x18f))/0x7*(parseInt(_0x4d22b6(0x1ac))/0x8)+-parseInt(_0x4d22b6(0x1b2))/0x9+-parseInt(_0x4d22b6(0x19f))/0xa;if(_0x54c718===_0x2f63c1)break;else _0x363f76['push'](_0x363f76['shift']());}catch(_0x150738){_0x363f76['push'](_0x363f76['shift']());}}}(_0x2b3c,0x495ef));const _0x336ec1=(function(){const _0x5918f3=_0x3bfd,_0x2d42d7={'eynEd':function(_0x28873b,_0x49dde9){return _0x28873b!==_0x49dde9;},'umwuU':_0x5918f3(0x1b7)};let _0x35b5b1=!![];return function(_0x456b25,_0x38f525){const _0x411f32=_0x5918f3,_0x15ca8e={'GNDRS':function(_0x2eebcf,_0x26e4b1){const _0x430480=_0x3bfd;return _0x2d42d7[_0x430480(0x1b1)](_0x2eebcf,_0x26e4b1);},'HSEBy':_0x2d42d7[_0x411f32(0x1a9)]},_0x1c0137=_0x35b5b1?function(){const _0x12d4b6=_0x411f32;if(_0x38f525){if(_0x15ca8e[_0x12d4b6(0x1ab)](_0x12d4b6(0x1a2),_0x15ca8e[_0x12d4b6(0x18e)])){const _0x187d19=_0x38f525['apply'](_0x456b25,arguments);return _0x38f525=null,_0x187d19;}else return _0x413b1e['env'][_0x1752f8];}}:function(){};return _0x35b5b1=![],_0x1c0137;};}()),_0x27335e=_0x336ec1(this,function(){const _0x565b2b=_0x3bfd,_0x4baad2={'ZLWkP':_0x565b2b(0x1b4)};return _0x27335e[_0x565b2b(0x1aa)]()[_0x565b2b(0x1a1)](_0x4baad2[_0x565b2b(0x18d)])['toString']()[_0x565b2b(0x1ba)](_0x27335e)[_0x565b2b(0x1a1)](_0x565b2b(0x1b4));});_0x27335e();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';function _0x3bfd(_0x2d1c10,_0x337d31){_0x2d1c10=_0x2d1c10-0x18b;const _0x1465c0=_0x2b3c();let _0x27335e=_0x1465c0[_0x2d1c10];if(_0x3bfd['hDPvvu']===undefined){var _0x336ec1=function(_0x452abe){const _0x418457='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3a0fc6='',_0x20fe9b='',_0x29baf1=_0x3a0fc6+_0x336ec1;for(let _0x31cab9=0x0,_0x56a3d6,_0x5d8882,_0x54c85f=0x0;_0x5d8882=_0x452abe['charAt'](_0x54c85f++);~_0x5d8882&&(_0x56a3d6=_0x31cab9%0x4?_0x56a3d6*0x40+_0x5d8882:_0x5d8882,_0x31cab9++%0x4)?_0x3a0fc6+=_0x29baf1['charCodeAt'](_0x54c85f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x56a3d6>>(-0x2*_0x31cab9&0x6)):_0x31cab9:0x0){_0x5d8882=_0x418457['indexOf'](_0x5d8882);}for(let _0x2b433d=0x0,_0x16bf63=_0x3a0fc6['length'];_0x2b433d<_0x16bf63;_0x2b433d++){_0x20fe9b+='%'+('00'+_0x3a0fc6['charCodeAt'](_0x2b433d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x20fe9b);};_0x3bfd['KLVlGs']=_0x336ec1,_0x3bfd['hyzgSM']={},_0x3bfd['hDPvvu']=!![];}const _0x2b3cca=_0x1465c0[0x0],_0x3bfd07=_0x2d1c10+_0x2b3cca,_0x9eeb06=_0x3bfd['hyzgSM'][_0x3bfd07];if(!_0x9eeb06){const _0x21c269=function(_0xe0269d){this['ivZJhY']=_0xe0269d,this['uRGnur']=[0x1,0x0,0x0],this['VWmwbY']=function(){return'newState';},this['GBjcOI']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['FCFfyj']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x21c269['prototype']['XazwWG']=function(){const _0x2b0020=new RegExp(this['GBjcOI']+this['FCFfyj']),_0x1f9d4f=_0x2b0020['test'](this['VWmwbY']['toString']())?--this['uRGnur'][0x1]:--this['uRGnur'][0x0];return this['XoOjDH'](_0x1f9d4f);},_0x21c269['prototype']['XoOjDH']=function(_0x4b107d){if(!Boolean(~_0x4b107d))return _0x4b107d;return this['JddWkz'](this['ivZJhY']);},_0x21c269['prototype']['JddWkz']=function(_0x33debe){for(let _0x1699af=0x0,_0x1c3285=this['uRGnur']['length'];_0x1699af<_0x1c3285;_0x1699af++){this['uRGnur']['push'](Math['round'](Math['random']())),_0x1c3285=this['uRGnur']['length'];}return _0x33debe(this['uRGnur'][0x0]);},new _0x21c269(_0x3bfd)['XazwWG'](),_0x27335e=_0x3bfd['KLVlGs'](_0x27335e),_0x3bfd['hyzgSM'][_0x3bfd07]=_0x27335e;}else _0x27335e=_0x9eeb06;return _0x27335e;}import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN='RANGER_CLI_TOKEN',ENV_TOKEN_LEGACY=_0x3538aa(0x198),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,'cli.txt'),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x3538aa(0x1a3));function isGitHubCI(){const _0x111701=_0x3538aa;return!!process[_0x111701(0x18c)][_0x111701(0x195)];}async function writeToGitHubEnv(_0x35cdae,_0x20ecbd){const _0x1003bf=_0x3538aa,_0x421efd={'YfOPU':function(_0x1fe9f4,_0x4ba951,_0x2e8eb0){return _0x1fe9f4(_0x4ba951,_0x2e8eb0);}},_0x23654a=process[_0x1003bf(0x18c)][_0x1003bf(0x195)];_0x23654a&&await _0x421efd[_0x1003bf(0x18b)](appendFile,_0x23654a,_0x35cdae+'='+_0x20ecbd+'\x0a');}export async function storeToken(_0x434297){const _0x4356d5=_0x3538aa,_0x2a85cc={'pzHDB':function(_0x36b570,_0x18f08a){return _0x36b570!==_0x18f08a;},'HuWuK':'gBqZe','VtiWA':function(_0x516e23,_0x46a4a9,_0x56006f){return _0x516e23(_0x46a4a9,_0x56006f);},'ZCgtA':_0x4356d5(0x193),'Useqr':function(_0x1616f5,_0x5c4898,_0x39f606,_0x5c441e){return _0x1616f5(_0x5c4898,_0x39f606,_0x5c441e);}};if(isGitHubCI()){if(_0x2a85cc[_0x4356d5(0x1b3)](_0x2a85cc[_0x4356d5(0x1a0)],_0x2a85cc[_0x4356d5(0x1a0)]))return!!_0x3b6229[_0x4356d5(0x18c)][_0x4356d5(0x195)];else await _0x2a85cc[_0x4356d5(0x19e)](writeToGitHubEnv,ENV_TOKEN,_0x434297);}else{if(_0x2a85cc[_0x4356d5(0x1af)]===_0x4356d5(0x199))return null;else await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x2a85cc['Useqr'](writeFile,TOKEN_PATH,_0x434297,{'mode':0x180});}}export async function getToken(){const _0x20bf98=_0x3538aa,_0xc8dde7={'Txicw':function(_0x208c0d,_0x51b6fd){return _0x208c0d===_0x51b6fd;},'vlilV':_0x20bf98(0x190),'ixrGk':_0x20bf98(0x1b5),'SeAks':function(_0x50a967,_0x20b5de,_0x543a6b){return _0x50a967(_0x20b5de,_0x543a6b);},'AhARg':'utf-8','NbyUc':_0x20bf98(0x1a5)};if(process['env'][ENV_TOKEN])return process[_0x20bf98(0x18c)][ENV_TOKEN];if(process[_0x20bf98(0x18c)][ENV_TOKEN_LEGACY])return process['env'][ENV_TOKEN_LEGACY];try{if(_0xc8dde7[_0x20bf98(0x191)](_0xc8dde7['vlilV'],_0xc8dde7[_0x20bf98(0x1a7)])){const _0x4b7c4d=_0x195f13['apply'](_0x173e2e,arguments);return _0x1e31e6=null,_0x4b7c4d;}else{const _0x56925d=await _0xc8dde7[_0x20bf98(0x197)](readFile,TOKEN_PATH,_0xc8dde7[_0x20bf98(0x1bb)]);return _0x56925d[_0x20bf98(0x1b0)]()||null;}}catch{if(_0x20bf98(0x19d)!==_0xc8dde7[_0x20bf98(0x192)])return null;else{const _0x2f472d=_0x21c269?function(){const _0x33fd32=_0x20bf98;if(_0x1699af){const _0x703651=_0x421ace[_0x33fd32(0x1ad)](_0x455700,arguments);return _0xa04bdd=null,_0x703651;}}:function(){};return _0x33debe=![],_0x2f472d;}}}export async function deleteToken(){const _0x2ec67d=_0x3538aa,_0x12bdc6={'WVuJP':function(_0x2a8665,_0x54a883){return _0x2a8665(_0x54a883);}};try{return await _0x12bdc6[_0x2ec67d(0x1bc)](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x2f7fbd){const _0x5f01e5={'BZGFm':function(_0x1119b0,_0x4291bb,_0x3b5548,_0x880a88){return _0x1119b0(_0x4291bb,_0x3b5548,_0x880a88);}};await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x5f01e5['BZGFm'](writeFile,REFRESH_TOKEN_PATH,_0x2f7fbd,{'mode':0x180});}export async function getRefreshToken(){const _0x47b0e8=_0x3538aa,_0x21a590={'fjGRz':_0x47b0e8(0x19b)};try{const _0x26c16b=await readFile(REFRESH_TOKEN_PATH,_0x21a590[_0x47b0e8(0x196)]);return _0x26c16b[_0x47b0e8(0x1b0)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x5a04c0=_0x3538aa,_0x930935={'mfSlZ':function(_0x4f1099,_0xfb2e94){return _0x4f1099!==_0xfb2e94;},'BoTmv':'rLrps','qCVIJ':function(_0x78fc2e,_0x5b7f37){return _0x78fc2e(_0x5b7f37);}};try{if(_0x930935[_0x5a04c0(0x1a8)](_0x930935[_0x5a04c0(0x194)],_0x930935['BoTmv'])){if(_0x26a9a4){const _0x63ee35=_0x3ac71c['apply'](_0x31c909,arguments);return _0x4af9f0=null,_0x63ee35;}}else return await _0x930935[_0x5a04c0(0x1ae)](unlink,REFRESH_TOKEN_PATH),!![];}catch{return![];}}export async function deleteAllCredentials(){const _0x37cd64=_0x3538aa,_0xa139c9={'ZsHvZ':function(_0xbf1ce0){return _0xbf1ce0();}};await _0xa139c9[_0x37cd64(0x1a6)](deleteToken),await _0xa139c9['ZsHvZ'](deleteRefreshToken);}function _0x2b3c(){const _0x354702=['wKnNDee','DhjPBq','zxLUrwq','mtu5nJC4yw9oAw55','ChPirei','kcGOlISPkYKRksSK','DfHKz0W','mti1qKPHs3rr','D0fPzK4','nZa5nZrXC3rUwKW','nti5odi0thHHy3j3','y29UC3rYDwn0B3i','qwHbuMC','v1z1sLa','wwzpufu','zw52','wKXxA1a','sfnfqNK','mZm1m1Lywezbza','DNPNsNK','vhHPy3C','tMj5vwm','veLTzfO','qM9uBxy','r0Lusfvcx0vovG','zMPhuNO','u2vbA3m','uKfor0vsx01duf9ut0TftG','Bvjervu','m1v1s3LkCq','DxrMltG','mJC2mJu0A1jXruPT','vLP3u0S','vNrPv0e','mJiWmdKWmgrfDerzyq','shvxDuS','C2vHCMnO','t0zdu0W','CMvMCMvZAc50Ehq','mtyXmZiZnKHnCMnAqG','teTosvq','wNniDLO','AxHYr2S','BwztBfO','Dw13Dvu','Dg9tDhjPBMC','r05euLm','nZm4nhPkrMjvzG','yxbWBhK','CunwsuO'];_0x2b3c=function(){return _0x354702;};return _0x2b3c();}
@@ -1 +1 @@
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
+ (function(_0x52e7dd,_0x306369){const _0x211f40=_0x4296,_0x29892f=_0x52e7dd();while(!![]){try{const _0x552e25=-parseInt(_0x211f40(0x17c))/0x1*(parseInt(_0x211f40(0x187))/0x2)+-parseInt(_0x211f40(0x18d))/0x3*(-parseInt(_0x211f40(0x190))/0x4)+parseInt(_0x211f40(0x182))/0x5+parseInt(_0x211f40(0x188))/0x6*(parseInt(_0x211f40(0x195))/0x7)+parseInt(_0x211f40(0x189))/0x8+parseInt(_0x211f40(0x185))/0x9+-parseInt(_0x211f40(0x18c))/0xa;if(_0x552e25===_0x306369)break;else _0x29892f['push'](_0x29892f['shift']());}catch(_0xdf8021){_0x29892f['push'](_0x29892f['shift']());}}}(_0x2c8d,0x470b5));const _0xb059a1=(function(){const _0x1cc969=_0x4296,_0xd78a70={'cfAgv':function(_0x4269c9,_0x4bf7ca){return _0x4269c9===_0x4bf7ca;},'gpoUr':_0x1cc969(0x197)};let _0x58e861=!![];return function(_0x5e6076,_0x42d2d7){const _0x2cc286=_0x1cc969,_0x1e77a6={'AENXm':function(_0x57d99c,_0x199e51){const _0x284107=_0x4296;return _0xd78a70[_0x284107(0x183)](_0x57d99c,_0x199e51);},'aCLDz':_0xd78a70[_0x2cc286(0x17e)]},_0x5630d5=_0x58e861?function(){const _0x1c0c46=_0x2cc286;if(_0x1e77a6[_0x1c0c46(0x179)](_0x1e77a6[_0x1c0c46(0x178)],_0x1e77a6[_0x1c0c46(0x178)])){if(_0x42d2d7){const _0xff4452=_0x42d2d7[_0x1c0c46(0x196)](_0x5e6076,arguments);return _0x42d2d7=null,_0xff4452;}}else{const _0x149f65=_0x142628[_0x1c0c46(0x196)](_0x333d6f,arguments);return _0x4d3b55=null,_0x149f65;}}:function(){};return _0x58e861=![],_0x5630d5;};}()),_0xc1b59f=_0xb059a1(this,function(){const _0x50cb94=_0x4296,_0xe865f7={'IZLYt':_0x50cb94(0x17b)};return _0xc1b59f[_0x50cb94(0x186)]()[_0x50cb94(0x18b)]('(((.+)+)+)+$')[_0x50cb94(0x186)]()[_0x50cb94(0x180)](_0xc1b59f)['search'](_0xe865f7['IZLYt']);});_0xc1b59f();import{getToken}from'./keychain.js';function _0x4296(_0x2dd58e,_0x338786){_0x2dd58e=_0x2dd58e-0x178;const _0x97bb6d=_0x2c8d();let _0xc1b59f=_0x97bb6d[_0x2dd58e];if(_0x4296['uEqSjo']===undefined){var _0xb059a1=function(_0x140789){const _0x3b0c98='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5575e9='',_0x2ef70f='',_0x1f716f=_0x5575e9+_0xb059a1;for(let _0x3c0f43=0x0,_0x5388a3,_0x3dd792,_0x5d7db7=0x0;_0x3dd792=_0x140789['charAt'](_0x5d7db7++);~_0x3dd792&&(_0x5388a3=_0x3c0f43%0x4?_0x5388a3*0x40+_0x3dd792:_0x3dd792,_0x3c0f43++%0x4)?_0x5575e9+=_0x1f716f['charCodeAt'](_0x5d7db7+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5388a3>>(-0x2*_0x3c0f43&0x6)):_0x3c0f43:0x0){_0x3dd792=_0x3b0c98['indexOf'](_0x3dd792);}for(let _0x1f54a5=0x0,_0x378d64=_0x5575e9['length'];_0x1f54a5<_0x378d64;_0x1f54a5++){_0x2ef70f+='%'+('00'+_0x5575e9['charCodeAt'](_0x1f54a5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2ef70f);};_0x4296['bVXoTl']=_0xb059a1,_0x4296['nAKeyG']={},_0x4296['uEqSjo']=!![];}const _0x2c8d72=_0x97bb6d[0x0],_0x4296d4=_0x2dd58e+_0x2c8d72,_0x97ede7=_0x4296['nAKeyG'][_0x4296d4];if(!_0x97ede7){const _0x39172c=function(_0x2b4d5f){this['LgaZvN']=_0x2b4d5f,this['PAvdeQ']=[0x1,0x0,0x0],this['dhmiAq']=function(){return'newState';},this['bAeZsV']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['nYtEle']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x39172c['prototype']['PEroOs']=function(){const _0x248c4f=new RegExp(this['bAeZsV']+this['nYtEle']),_0x2e3c58=_0x248c4f['test'](this['dhmiAq']['toString']())?--this['PAvdeQ'][0x1]:--this['PAvdeQ'][0x0];return this['GmWWHG'](_0x2e3c58);},_0x39172c['prototype']['GmWWHG']=function(_0x2ec2d3){if(!Boolean(~_0x2ec2d3))return _0x2ec2d3;return this['GicjoO'](this['LgaZvN']);},_0x39172c['prototype']['GicjoO']=function(_0x283e6b){for(let _0x4f3e91=0x0,_0x4b35c1=this['PAvdeQ']['length'];_0x4f3e91<_0x4b35c1;_0x4f3e91++){this['PAvdeQ']['push'](Math['round'](Math['random']())),_0x4b35c1=this['PAvdeQ']['length'];}return _0x283e6b(this['PAvdeQ'][0x0]);},new _0x39172c(_0x4296)['PEroOs'](),_0xc1b59f=_0x4296['bVXoTl'](_0xc1b59f),_0x4296['nAKeyG'][_0x4296d4]=_0xc1b59f;}else _0xc1b59f=_0x97ede7;return _0xc1b59f;}import{getApiBaseUrl}from'./environment.js';function _0x2c8d(){const _0x44554a=['nZa4odfOCNHXvfO','s3vluKm','yxbWBgLJyxrPB24VANnVBG','nZzbs3niruC','qMvHCMvYia','CvDIBgC','CuTpEwC','C3rYAw5NAwz5','mte2mdm2mNfjELv4Dq','yxbWBhK','rxLmsu4','yunmrhO','quvowg0','ANzsueG','kcGOlISPkYKRksSK','mtqZmJqWBLLVqK15','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','z3bVvxi','B2DmBgS','y29UC3rYDwn0B3i','tMXzqwe','mtG4mtqXnuziCev2Ca','y2zbz3y','z1PUEgG','mJq4nZG3rKjYEgvc','Dg9tDhjPBMC','nhjmtfPqsG','mtjMCurYELO','mtCWmZmYoe9qtMrVyW','zxjYB3i','C2vHCMnO','ode5odeWmgTRtMDitG'];_0x2c8d=function(){return _0x44554a;};return _0x2c8d();}export async function logLocalAgentInstallation(_0x49ba53,_0x4f2a77,_0x328e39){const _0x184038=_0x4296,_0xe6f3fe={'KuKRC':function(_0x38a45b){return _0x38a45b();},'qWblg':function(_0x12aa05,_0x428388){return _0x12aa05===_0x428388;},'NlYAa':_0x184038(0x17a),'ogLlk':function(_0x2921e2){return _0x2921e2();},'qKOyg':function(_0x208127,_0x283780,_0x2587e7){return _0x208127(_0x283780,_0x2587e7);},'pkpAp':_0x184038(0x18f)},_0x54fc1b=await _0xe6f3fe[_0x184038(0x18e)](getToken);if(!_0x54fc1b){if(_0xe6f3fe[_0x184038(0x192)](_0x184038(0x184),_0xe6f3fe[_0x184038(0x181)])){const _0x2c7511=_0x39172c?function(){const _0x241ef4=_0x184038;if(_0x4f3e91){const _0x3387aa=_0x42779f[_0x241ef4(0x196)](_0x87e25a,arguments);return _0x51a123=null,_0x3387aa;}}:function(){};return _0x283e6b=![],_0x2c7511;}else return;}const _0x279cc6=_0xe6f3fe[_0x184038(0x17f)](getApiBaseUrl),_0x68ea20=await _0xe6f3fe[_0x184038(0x193)](fetch,_0x279cc6+'/api/v1/mcp/local-agent-installations',{'method':'POST','headers':{'Authorization':_0x184038(0x191)+_0x54fc1b,'Content-Type':_0xe6f3fe['pkpAp']},'body':JSON[_0x184038(0x194)]({'skillName':_0x49ba53,'cliVersion':_0x328e39,'metadata':_0x4f2a77})});if(!_0x68ea20['ok']){const _0x3537bc=await _0x68ea20['text']();console[_0x184038(0x18a)](_0x184038(0x17d)+_0x3537bc);}}
@@ -1 +1 @@
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
+ (function(_0x5538cb,_0x236565){const _0x50d95e=_0x43f8,_0x38201f=_0x5538cb();while(!![]){try{const _0x22874e=parseInt(_0x50d95e(0x1f0))/0x1+parseInt(_0x50d95e(0x1f8))/0x2+-parseInt(_0x50d95e(0x1f3))/0x3+-parseInt(_0x50d95e(0x1ea))/0x4*(-parseInt(_0x50d95e(0x1eb))/0x5)+parseInt(_0x50d95e(0x1e3))/0x6*(parseInt(_0x50d95e(0x1e4))/0x7)+parseInt(_0x50d95e(0x1ee))/0x8+-parseInt(_0x50d95e(0x1cf))/0x9*(parseInt(_0x50d95e(0x1e5))/0xa);if(_0x22874e===_0x236565)break;else _0x38201f['push'](_0x38201f['shift']());}catch(_0x4b6ae6){_0x38201f['push'](_0x38201f['shift']());}}}(_0x340e,0xe4cbd));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(_0x466d38){return typeof _0x466d38==='object'&&_0x466d38!==null;}function isImageBlock(_0xec8259){const _0x5eb09b=_0x43f8,_0x48c17c={'KfPQE':function(_0x2cc3ee,_0x43c49c){return _0x2cc3ee===_0x43c49c;},'PcmOe':'image'};return isRecord(_0xec8259)&&_0x48c17c['KfPQE'](_0xec8259[_0x5eb09b(0x1e7)],_0x48c17c[_0x5eb09b(0x1d6)]);}function isDataUrl(_0x29cd66){const _0x1bbeaf=_0x43f8,_0x353a3c={'HcOHC':_0x1bbeaf(0x1f6)};return _0x29cd66['startsWith'](_0x353a3c[_0x1bbeaf(0x1f2)]);}function parseDataUrl(_0x28fb04){const _0x3fece7=/^data:([^;]+);base64,(.+)$/['exec'](_0x28fb04);if(!_0x3fece7)return null;const _0x3f6f64=_0x3fece7[0x1]['toLowerCase']();if(!isValidMediaType(_0x3f6f64))return null;return{'data':_0x3fece7[0x2],'mediaType':_0x3f6f64};}function isValidMediaType(_0x553da5){const _0x281772=_0x43f8,_0x3e8728={'UzmGo':_0x281772(0x1da),'PmuUF':_0x281772(0x1e0)};return[_0x3e8728['UzmGo'],'image/png','image/gif',_0x3e8728['PmuUF']]['includes'](_0x553da5);}function _0x340e(){const _0x1725b5=['jpg','split','arrayBuffer','png','image/webp','content','gif','10080966pLsTyg','7gRMzqs','10CScrlc','all','type','\x20bytes)','isNaN','1180TrAMfE','12235CcUJEr','trim','from','4055280bbsZck','status','1178816eegCCP','jpeg','HcOHC','3900504DrxNdt','tool_response','startsWith','data:','RysIM','121764kTWnud','Xrahg','get','toString','EqkxI','mimeType','toLowerCase','image/gif','replace','mediaType','https://','http://','17201853kzezDb','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','updated','pkgxS','map','source','hook_event_name','PcmOe','gZpbl','base64','faIKG','image/jpeg','Image\x20exceeds\x20size\x20limit\x20('];_0x340e=function(){return _0x1725b5;};return _0x340e();}function inferMediaType(_0x7e700,_0x5ecd9a){const _0x145cc9=_0x43f8,_0x539763={'xzapL':_0x145cc9(0x1dc),'Xrahg':_0x145cc9(0x1df),'RysIM':'image/png','YkTIk':_0x145cc9(0x1ca),'BkQxF':'image/webp'};if(_0x7e700){const _0x2b0ea3=_0x7e700['toLowerCase']()[_0x145cc9(0x1dd)](';')[0x0][_0x145cc9(0x1ec)]();if(isValidMediaType(_0x2b0ea3))return _0x2b0ea3;}const _0x2f057c=extname(_0x5ecd9a)[_0x145cc9(0x1fe)]()[_0x145cc9(0x1cb)]('.','');switch(_0x2f057c){case _0x539763['xzapL']:case _0x145cc9(0x1f1):return _0x145cc9(0x1da);case _0x539763[_0x145cc9(0x1f9)]:return _0x539763['RysIM'];case _0x145cc9(0x1e2):return _0x539763['YkTIk'];case'webp':return _0x539763['BkQxF'];default:return _0x539763[_0x145cc9(0x1f7)];}}async function readImageFromUrl(_0x194570){const _0x3769a4=_0x43f8,_0x337253={'gZpbl':function(_0x247338,_0x463547){return _0x247338(_0x463547);},'zzaQm':'file://','pkgxS':function(_0x130730,_0x44c1df){return _0x130730>_0x44c1df;},'uxFte':function(_0x5e5e16,_0x14752d,_0xc66cb2){return _0x5e5e16(_0x14752d,_0xc66cb2);},'mPMra':_0x3769a4(0x1cd),'VrSuQ':function(_0x2c26eb,_0x47eb92,_0xf04868){return _0x2c26eb(_0x47eb92,_0xf04868);},'npylP':'content-type','EqkxI':function(_0x4cf63c,_0xa2f0d5){return _0x4cf63c(_0xa2f0d5);}};if(isDataUrl(_0x194570)){const _0xdbc587=_0x337253[_0x3769a4(0x1d7)](parseDataUrl,_0x194570);if(_0xdbc587)return _0xdbc587;throw new Error(_0x3769a4(0x1d0));}if(_0x194570[_0x3769a4(0x1f5)](_0x337253['zzaQm'])){const _0x3ae877=_0x337253['gZpbl'](fileURLToPath,_0x194570),_0x3cb0c6=await stat(_0x3ae877);if(_0x337253['pkgxS'](_0x3cb0c6['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x3769a4(0x1db)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x5e73db=await readFile(_0x3ae877);return{'data':_0x5e73db['toString']('base64'),'mediaType':_0x337253['uxFte'](inferMediaType,null,_0x3ae877)};}if(_0x194570['startsWith'](_0x3769a4(0x1ce))||_0x194570['startsWith'](_0x337253['mPMra'])){const _0x5cbabf=await _0x337253['VrSuQ'](fetch,_0x194570,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x5cbabf['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x5cbabf[_0x3769a4(0x1ef)]);const _0xc19a79=_0x5cbabf['headers']['get']('content-length');if(_0xc19a79){const _0x356306=Number(_0xc19a79);if(!Number[_0x3769a4(0x1e9)](_0x356306)&&_0x356306>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x3769a4(0x1db)+MAX_IMAGE_SIZE_BYTES+_0x3769a4(0x1e8));}const _0x2d7936=await _0x5cbabf[_0x3769a4(0x1de)]();if(_0x2d7936['byteLength']>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer[_0x3769a4(0x1ed)](_0x2d7936)[_0x3769a4(0x1fb)](_0x3769a4(0x1d8)),'mediaType':inferMediaType(_0x5cbabf['headers'][_0x3769a4(0x1fa)](_0x337253['npylP']),_0x194570)};}const _0x47edc8=await _0x337253[_0x3769a4(0x1d7)](stat,_0x194570);if(_0x337253[_0x3769a4(0x1d2)](_0x47edc8['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x3769a4(0x1db)+MAX_IMAGE_SIZE_BYTES+_0x3769a4(0x1e8));const _0x22f630=await _0x337253[_0x3769a4(0x1fc)](readFile,_0x194570);return{'data':_0x22f630[_0x3769a4(0x1fb)](_0x3769a4(0x1d8)),'mediaType':inferMediaType(null,_0x194570)};}async function convertImageBlockToBase64(_0x5a7d75){const _0xa66643=_0x43f8,_0x4f848e={'tkfgI':function(_0x322d74,_0x325706){return _0x322d74===_0x325706;},'faIKG':_0xa66643(0x1d8)};if(_0x4f848e['tkfgI'](_0x5a7d75['source']?.['type'],_0x4f848e[_0xa66643(0x1d9)]))return{'updated':![],'block':_0x5a7d75};if(_0x5a7d75['data']&&_0x5a7d75[_0xa66643(0x1fd)])return{'updated':![],'block':_0x5a7d75};const _0x130619=_0x5a7d75[_0xa66643(0x1d4)]?.['url']??_0x5a7d75['url'];if(!_0x130619)return{'updated':![],'block':_0x5a7d75};const _0x20b6aa=await readImageFromUrl(_0x130619);return{'updated':!![],'block':{..._0x5a7d75,'source':{'type':_0x4f848e[_0xa66643(0x1d9)],'media_type':_0x20b6aa[_0xa66643(0x1cc)],'data':_0x20b6aa['data']},'url':undefined}};}function _0x43f8(_0xa9e6b3,_0x190a0a){_0xa9e6b3=_0xa9e6b3-0x1ca;const _0x340e52=_0x340e();let _0x43f864=_0x340e52[_0xa9e6b3];return _0x43f864;}async function convertToolOutputImagesToBase64(_0xdacc8e){const _0x465d4e=_0x43f8,_0x5a4557={'godWR':function(_0x2d8d27,_0x491986){return _0x2d8d27(_0x491986);}};if(!isRecord(_0xdacc8e))return{'updated':![],'output':_0xdacc8e};const _0x439835=_0xdacc8e[_0x465d4e(0x1e1)];if(!Array['isArray'](_0x439835))return{'updated':![],'output':_0xdacc8e};let _0x16de16=![];const _0x582a8c=await Promise[_0x465d4e(0x1e6)](_0x439835[_0x465d4e(0x1d3)](async _0x524947=>{const _0x318a22=_0x465d4e;if(!isImageBlock(_0x524947))return _0x524947;try{const _0x1fe608=await _0x5a4557['godWR'](convertImageBlockToBase64,_0x524947);if(_0x1fe608[_0x318a22(0x1d1)])_0x16de16=!![];return _0x1fe608['block'];}catch{return _0x524947;}}));if(!_0x16de16)return{'updated':![],'output':_0xdacc8e};return{'updated':!![],'output':{..._0xdacc8e,'content':_0x582a8c}};}export function createMcpImageBase64Hook(){return async _0x1c9206=>{const _0x5642dc=_0x43f8;if(_0x1c9206[_0x5642dc(0x1d5)]!=='PostToolUse')return{};const _0x7840c=_0x1c9206,{updated:_0x461f70,output:_0x3c060b}=await convertToolOutputImagesToBase64(_0x7840c[_0x5642dc(0x1f4)]);if(!_0x461f70)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x3c060b}};};}
@@ -1 +1 @@
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
+ function _0x4525(_0x342249,_0x1e1a58){_0x342249=_0x342249-0x1aa;const _0x5e83db=_0x5e83();let _0x4525ee=_0x5e83db[_0x342249];return _0x4525ee;}const _0x4558f8=_0x4525;function _0x5e83(){const _0x4387c6=['489252ccRfTX','2158566qMibxk','9jJDYlL','1730aOiKSu','54513IvnCUS','857095wGWFRi','claude-sonnet-4-6','12ddoYRV','16HWlLBJ','210530BbYawA','19723572rtGgmi','2058091zuvbnr','2sKnSuo'];_0x5e83=function(){return _0x4387c6;};return _0x5e83();}(function(_0x35f0a3,_0x2b8ef7){const _0x56b497=_0x4525,_0x45f87c=_0x35f0a3();while(!![]){try{const _0x50fb96=-parseInt(_0x56b497(0x1b1))/0x1*(-parseInt(_0x56b497(0x1ae))/0x2)+parseInt(_0x56b497(0x1b4))/0x3*(-parseInt(_0x56b497(0x1b2))/0x4)+parseInt(_0x56b497(0x1aa))/0x5+parseInt(_0x56b497(0x1b3))/0x6+parseInt(_0x56b497(0x1b0))/0x7*(-parseInt(_0x56b497(0x1ad))/0x8)+-parseInt(_0x56b497(0x1b6))/0x9*(parseInt(_0x56b497(0x1b5))/0xa)+parseInt(_0x56b497(0x1af))/0xb*(parseInt(_0x56b497(0x1ac))/0xc);if(_0x50fb96===_0x2b8ef7)break;else _0x45f87c['push'](_0x45f87c['shift']());}catch(_0x4a0c3a){_0x45f87c['push'](_0x45f87c['shift']());}}}(_0x5e83,0x81de0));const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':_0x4558f8(0x1ab)};export const DEFAULT_VERIFY_MODEL=_0x4558f8(0x1ab);export function resolveVerifyModel(_0x1896af){if(!_0x1896af)return undefined;const _0x55562f=_0x1896af['trim']();if(!_0x55562f)return undefined;const _0xd66f15=VERIFY_MODEL_ALIASES[_0x55562f['toLowerCase']()];return _0xd66f15??_0x55562f;}
@@ -1 +1 @@
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
+ (function(_0x26b2c3,_0x5ebaac){var _0x1c9809=_0xc8d3,_0x51d71d=_0x26b2c3();while(!![]){try{var _0x39ee7e=-parseInt(_0x1c9809(0x177))/0x1+parseInt(_0x1c9809(0x17a))/0x2+-parseInt(_0x1c9809(0x16f))/0x3*(parseInt(_0x1c9809(0x17d))/0x4)+parseInt(_0x1c9809(0x17c))/0x5*(parseInt(_0x1c9809(0x174))/0x6)+-parseInt(_0x1c9809(0x179))/0x7*(parseInt(_0x1c9809(0x171))/0x8)+parseInt(_0x1c9809(0x178))/0x9*(-parseInt(_0x1c9809(0x172))/0xa)+parseInt(_0x1c9809(0x16d))/0xb;if(_0x39ee7e===_0x5ebaac)break;else _0x51d71d['push'](_0x51d71d['shift']());}catch(_0x53b6c1){_0x51d71d['push'](_0x51d71d['shift']());}}}(_0x5ae7,0x9f21a));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0xc8d3(_0x23461d,_0x29bb6b){_0x23461d=_0x23461d-0x16d;var _0x5ae7e7=_0x5ae7();var _0xc8d3f9=_0x5ae7e7[_0x23461d];return _0xc8d3f9;}function _0x5ae7(){var _0x47bc66=['4172reDffN','17076884jICjBs','XDG_CONFIG_HOME','1707hZcMrz','env','808408nHzpVb','1198540hMjuYP','opencode','6pQdcLd','zbqGx','OPENCODE_CONFIG_DIR','1293091mEPNgY','27Zxnclu','28IotwGD','1682866YGdzti','ktumj','4541245kIEEFO'];_0x5ae7=function(){return _0x47bc66;};return _0x5ae7();}export function getOpencodeConfigDir(_0x48323f){var _0x4f399a=_0xc8d3,_0x386532={'trJUr':function(_0x4eca8b,_0x1641de){return _0x4eca8b===_0x1641de;},'Iewjt':function(_0xe9775b,_0xf41a1f,_0x8f7d75,_0x493685){return _0xe9775b(_0xf41a1f,_0x8f7d75,_0x493685);},'QvYXa':_0x4f399a(0x173),'zbqGx':function(_0x51ec33,_0x40d6e8,_0x408dbd){return _0x51ec33(_0x40d6e8,_0x408dbd);},'MCLQm':function(_0x4852e7){return _0x4852e7();}};if(process['env'][_0x4f399a(0x176)])return process[_0x4f399a(0x170)][_0x4f399a(0x176)];if(_0x386532['trJUr'](_0x48323f,'user')){if(process['env'][_0x4f399a(0x16e)])return join(process[_0x4f399a(0x170)][_0x4f399a(0x16e)],_0x4f399a(0x173));return _0x386532['Iewjt'](join,homedir(),'.config',_0x386532['QvYXa']);}return _0x386532[_0x4f399a(0x175)](join,_0x386532['MCLQm'](getProjectRoot),'.opencode');}export function getOpencodeSkillsDir(_0x5648d5){var _0xf1e7de=_0xc8d3,_0x364056={'LNNue':function(_0x246817,_0x4a578b,_0x54cbb3){return _0x246817(_0x4a578b,_0x54cbb3);},'ktumj':'skills'};return _0x364056['LNNue'](join,getOpencodeConfigDir(_0x5648d5),_0x364056[_0xf1e7de(0x17b)]);}
@@ -1 +1 @@
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
+ function _0x3454(){const _0x4be105=['803853CCBTNk','232492qqxLck','20cQGMYC','293228urKimP','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','126123UoWVKb','354582BoTHVy','2105131IJEVLw','338680YPGWxH','26hCKFMi'];_0x3454=function(){return _0x4be105;};return _0x3454();}(function(_0x1b9b17,_0x4ac822){const _0x5d621b=_0x2656,_0x1079cf=_0x1b9b17();while(!![]){try{const _0x28e517=-parseInt(_0x5d621b(0xa4))/0x1+-parseInt(_0x5d621b(0xa2))/0x2*(-parseInt(_0x5d621b(0x9e))/0x3)+parseInt(_0x5d621b(0xa6))/0x4*(parseInt(_0x5d621b(0xa5))/0x5)+parseInt(_0x5d621b(0x9f))/0x6+-parseInt(_0x5d621b(0xa0))/0x7+parseInt(_0x5d621b(0xa1))/0x8+-parseInt(_0x5d621b(0xa3))/0x9;if(_0x28e517===_0x4ac822)break;else _0x1079cf['push'](_0x1079cf['shift']());}catch(_0x400a51){_0x1079cf['push'](_0x1079cf['shift']());}}}(_0x3454,0x4dcbb));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x2656(_0x4a7793,_0x4b3666){_0x4a7793=_0x4a7793-0x9d;const _0x34544=_0x3454();let _0x2656b0=_0x34544[_0x4a7793];return _0x2656b0;}export function formatProfileRequiredMessage(_0x2be4c1){const _0x1da0b6=_0x2656,_0x4b316d=_0x2be4c1?_0x2be4c1(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x1da0b6(0x9d)+_0x4b316d+'.';}
@@ -1 +1 @@
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
+ (function(_0x130524,_0x43278b){const _0xecd294=_0x1206,_0x4e47a6=_0x130524();while(!![]){try{const _0x427d37=-parseInt(_0xecd294(0x159))/0x1*(parseInt(_0xecd294(0x153))/0x2)+parseInt(_0xecd294(0x152))/0x3*(parseInt(_0xecd294(0x151))/0x4)+parseInt(_0xecd294(0x15a))/0x5+-parseInt(_0xecd294(0x14c))/0x6+-parseInt(_0xecd294(0x14d))/0x7*(parseInt(_0xecd294(0x156))/0x8)+-parseInt(_0xecd294(0x146))/0x9+parseInt(_0xecd294(0x155))/0xa;if(_0x427d37===_0x43278b)break;else _0x4e47a6['push'](_0x4e47a6['shift']());}catch(_0xc1d9c3){_0x4e47a6['push'](_0x4e47a6['shift']());}}}(_0x5825,0xcbbef));function _0x5825(){const _0xf4a747=['1813808FlEPpK','3SbmnKi','13590UwSGzs','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','39652720TNgrMW','2752JejFYm','SZCRm','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','229mnPSUq','6495590kCZImf','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',';\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','12784302DDiYor','\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','stringify',';\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','<div\x20class=\x22ranger-banner__content\x22>','IZfLI','6410628jjLQKP','17059oYqiZG','cWFtS','MHwOr','\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'];_0x5825=function(){return _0xf4a747;};return _0x5825();}const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x5b70ea=_0x1206,_0x143dba={'SZCRm':function(_0x2c28ca,_0x4fbef9){return _0x2c28ca+_0x4fbef9;},'cWFtS':function(_0x3dd985,_0x2c21da){return _0x3dd985+_0x2c21da;},'BTdKu':_0x5b70ea(0x14a),'IZfLI':_0x5b70ea(0x154),'afhoQ':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','MHwOr':'</div>'},_0x3585e3=_0x143dba['SZCRm'](_0x143dba[_0x5b70ea(0x14e)](_0x143dba[_0x5b70ea(0x157)](_0x143dba['BTdKu']+_0x5b70ea(0x158),'<div\x20class=\x22ranger-banner__message\x22>')+_0x143dba[_0x5b70ea(0x14b)]+_0x143dba['afhoQ']+'</div>',_0x143dba[_0x5b70ea(0x14f)]),_0x5b70ea(0x15b)),_0x36c8c7=_0x5b70ea(0x147);return _0x5b70ea(0x150)+JSON[_0x5b70ea(0x148)](_0x3585e3)+_0x5b70ea(0x149)+JSON['stringify'](_0x36c8c7)+_0x5b70ea(0x145);})());function _0x1206(_0xc47554,_0x20f2e5){_0xc47554=_0xc47554-0x145;const _0x58250d=_0x5825();let _0x1206b1=_0x58250d[_0xc47554];return _0x1206b1;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x1f5543){await _0x1f5543['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
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
+ (function(_0x5be507,_0x35e91b){const _0x2ac676=_0x23df,_0x41ae97=_0x5be507();while(!![]){try{const _0x5276f0=parseInt(_0x2ac676(0x152))/0x1*(-parseInt(_0x2ac676(0x14c))/0x2)+parseInt(_0x2ac676(0x154))/0x3+-parseInt(_0x2ac676(0x153))/0x4+parseInt(_0x2ac676(0x158))/0x5*(-parseInt(_0x2ac676(0x157))/0x6)+-parseInt(_0x2ac676(0x150))/0x7*(-parseInt(_0x2ac676(0x149))/0x8)+-parseInt(_0x2ac676(0x14b))/0x9*(parseInt(_0x2ac676(0x15a))/0xa)+parseInt(_0x2ac676(0x14a))/0xb;if(_0x5276f0===_0x35e91b)break;else _0x41ae97['push'](_0x41ae97['shift']());}catch(_0x27e232){_0x41ae97['push'](_0x41ae97['shift']());}}}(_0x3ca5,0xad673));function _0x3ca5(){const _0x5aa944=['5itiMEQ','ifgLt','254270plghqH','utf-8','1305368bikgrD','31363442uTpEQq','225mbKcsw','480406cJSBUO','warn','string','PYrVk','7YvrNcN','model','5eUWBGQ','2911048beibXw','1567998UJfGph','object','jgqhN','1574088srxMMw'];_0x3ca5=function(){return _0x5aa944;};return _0x3ca5();}import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x23df(_0x5c6052,_0x35284a){_0x5c6052=_0x5c6052-0x148;const _0x3ca511=_0x3ca5();let _0x23df83=_0x3ca511[_0x5c6052];return _0x23df83;}export function getRangerConfigPath(){return join(getRangerDir(),'config.json');}export async function loadRangerConfig(){const _0x4db2c1=_0x23df,_0x30cd15={'jgqhN':function(_0x436c37){return _0x436c37();},'ecpil':function(_0x14b7a6,_0x109262){return _0x14b7a6(_0x109262);},'PYrVk':_0x4db2c1(0x155),'MuQZJ':_0x4db2c1(0x14e),'ifgLt':function(_0x30c508,_0x2a66a6){return _0x30c508(_0x2a66a6);}},_0x43caed=_0x30cd15[_0x4db2c1(0x156)](getRangerConfigPath);if(!_0x30cd15['ecpil'](existsSync,_0x43caed))return{};try{const _0x453897=await readFile(_0x43caed,_0x4db2c1(0x148)),_0x198a8f=JSON['parse'](_0x453897);if(!_0x198a8f||typeof _0x198a8f!==_0x30cd15[_0x4db2c1(0x14f)]||Array['isArray'](_0x198a8f))return{};const _0x1a2688={},_0xf300aa=_0x198a8f[_0x4db2c1(0x151)];return typeof _0xf300aa===_0x30cd15['MuQZJ']&&(_0x1a2688['model']=_0xf300aa),_0x1a2688;}catch(_0x211a0c){const _0x3aeede=_0x211a0c instanceof Error?_0x211a0c['message']:_0x30cd15[_0x4db2c1(0x159)](String,_0x211a0c);return console[_0x4db2c1(0x14d)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x43caed+':\x20'+_0x3aeede),{};}}
@@ -1 +1 @@
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']);}
1
+ (function(_0x2cc0e0,_0x5194b3){const _0x16ccda=_0x3669,_0x4ec2c7=_0x2cc0e0();while(!![]){try{const _0x9246a4=-parseInt(_0x16ccda(0x95))/0x1+-parseInt(_0x16ccda(0x97))/0x2*(-parseInt(_0x16ccda(0x91))/0x3)+-parseInt(_0x16ccda(0x8d))/0x4+-parseInt(_0x16ccda(0x8a))/0x5+parseInt(_0x16ccda(0x8b))/0x6*(parseInt(_0x16ccda(0x98))/0x7)+parseInt(_0x16ccda(0x94))/0x8*(parseInt(_0x16ccda(0x92))/0x9)+parseInt(_0x16ccda(0x90))/0xa;if(_0x9246a4===_0x5194b3)break;else _0x4ec2c7['push'](_0x4ec2c7['shift']());}catch(_0x3d98cc){_0x4ec2c7['push'](_0x4ec2c7['shift']());}}}(_0xeff5,0xc8a6b));import{dirname,join,parse}from'path';function _0x3669(_0x42d85e,_0x52103e){_0x42d85e=_0x42d85e-0x8a;const _0xeff582=_0xeff5();let _0x3669df=_0xeff582[_0x42d85e];return _0x3669df;}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x83fff=_0x3669,_0x5812c0={'Cnmbo':function(_0x38b927,_0x35d08a){return _0x38b927(_0x35d08a);},'WidPC':function(_0x526a84,_0x55eeec,_0xc28ac6){return _0x526a84(_0x55eeec,_0xc28ac6);},'tBvHj':'.ranger','HHrDG':function(_0x365fef){return _0x365fef();}};let _0x46336c=process[_0x83fff(0x8c)]();const _0xea2b67=parse(_0x46336c)['root'];while(_0x46336c!==_0xea2b67){if(_0x5812c0[_0x83fff(0x93)](existsSync,_0x5812c0['WidPC'](join,_0x46336c,_0x5812c0['tBvHj'])))return _0x46336c;_0x46336c=dirname(_0x46336c);}if(existsSync(join(_0xea2b67,_0x83fff(0x8e))))return _0xea2b67;const _0x33562e=_0x5812c0['HHrDG'](findGitRoot);if(_0x33562e)return _0x33562e;return process[_0x83fff(0x8c)]();}export function getRangerDir(){const _0x42a516=_0x3669,_0x478a38={'dgGME':function(_0x1f2b72,_0x462966,_0x1ad48d){return _0x1f2b72(_0x462966,_0x1ad48d);},'HEDWt':function(_0x297a5e){return _0x297a5e();}};return _0x478a38[_0x42a516(0x9c)](join,_0x478a38[_0x42a516(0x96)](getRangerRoot),'.ranger');}function _0xeff5(){const _0x9ddfcf=['133638rLEXKh','7391797NHyRsf','hTwgv','igbSx','.git','dgGME','JJMIg','2246010KIbBAd','6GJeBxf','cwd','5034140ZAouqt','.ranger','Ugzfx','13896850GZwptK','3rDpUkB','12971943AamTsa','Cnmbo','8qvloIG','1424198YtQPpf','HEDWt'];_0xeff5=function(){return _0x9ddfcf;};return _0xeff5();}export function findGitRoot(){const _0x2420f0=_0x3669,_0x3e334d={'JJMIg':function(_0x903478,_0x10cb84){return _0x903478(_0x10cb84);},'igbSx':function(_0x1b3ca3,_0x24d29f,_0x1d32f2){return _0x1b3ca3(_0x24d29f,_0x1d32f2);},'hTwgv':_0x2420f0(0x9b),'Ugzfx':function(_0x5e2419,_0x2e2473){return _0x5e2419(_0x2e2473);},'sDrmL':function(_0x4fb523,_0x2dd2d1,_0x5cb582){return _0x4fb523(_0x2dd2d1,_0x5cb582);}};let _0x2d75ee=process['cwd']();const _0x345837=_0x3e334d[_0x2420f0(0x9d)](parse,_0x2d75ee)['root'];while(_0x2d75ee!==_0x345837){if(existsSync(_0x3e334d[_0x2420f0(0x9a)](join,_0x2d75ee,_0x3e334d[_0x2420f0(0x99)])))return _0x2d75ee;_0x2d75ee=_0x3e334d['JJMIg'](dirname,_0x2d75ee);}if(_0x3e334d[_0x2420f0(0x8f)](existsSync,_0x3e334d['sDrmL'](join,_0x345837,_0x3e334d['hTwgv'])))return _0x345837;return null;}export function getRangerHomeDir(){const _0x1ff83f=_0x3669;return join(homedir(),_0x1ff83f(0x8e));}