@ranger-testing/ranger-cli 2.2.5 → 2.3.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 (69) 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/playwrightCli.js +1 -0
  51. package/build/commands/utils/profileMessages.js +1 -1
  52. package/build/commands/utils/profileSetupBanner.js +1 -1
  53. package/build/commands/utils/rangerConfig.js +1 -1
  54. package/build/commands/utils/rangerRoot.js +1 -1
  55. package/build/commands/utils/reportGenerator.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/stitchWebmFiles.js +1 -1
  62. package/build/commands/utils/telemetry.js +1 -1
  63. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  64. package/build/commands/utils/userApi.js +1 -1
  65. package/build/commands/utils/version.js +1 -1
  66. package/build/commands/verifyFeature.js +1 -1
  67. package/build/commands/verifyFeatureCli.js +1 -0
  68. package/build/commands/verifyInBrowser.js +1 -1
  69. package/package.json +3 -1
@@ -1 +1 @@
1
- function _0x183b(_0x47dd83,_0x7ce688){_0x47dd83=_0x47dd83-0x115;const _0x235567=_0x2355();let _0x183bb4=_0x235567[_0x47dd83];return _0x183bb4;}(function(_0x5c3285,_0x2134c5){const _0x425da6=_0x183b,_0x5b78af=_0x5c3285();while(!![]){try{const _0x41c16f=-parseInt(_0x425da6(0x13a))/0x1+-parseInt(_0x425da6(0x14c))/0x2+parseInt(_0x425da6(0x117))/0x3*(-parseInt(_0x425da6(0x150))/0x4)+parseInt(_0x425da6(0x14e))/0x5+-parseInt(_0x425da6(0x12c))/0x6+parseInt(_0x425da6(0x146))/0x7+parseInt(_0x425da6(0x13d))/0x8*(parseInt(_0x425da6(0x136))/0x9);if(_0x41c16f===_0x2134c5)break;else _0x5b78af['push'](_0x5b78af['shift']());}catch(_0x21590c){_0x5b78af['push'](_0x5b78af['shift']());}}}(_0x2355,0x578f1));export function buildTraceViewerUrl(_0x5cba04){const _0x2d1985=_0x183b,_0x26a29f={'BeamW':function(_0xe018f0,_0x4133a9){return _0xe018f0(_0x4133a9);}},_0x42035c=_0x26a29f['BeamW'](encodeURIComponent,_0x5cba04);return _0x2d1985(0x13b)+_0x42035c;}function _0x2355(){const _0x191cc7=['...','**Completed:**\x20','-\x20**Verified:**\x20','wvNnS','status','incomplete','floor','fgZpR',':\x20Ready','iteration','traceUrl','-\x20**Closed:**\x20','enOSb','-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work','qBByx','nZZOk','2169252MgNPNC','numeric','UcPJq','N/A','agentResponse','-\x20**Blocked:**\x20','blockedReason','lhhrC','description','currentSession','27DPHqKO','##\x20Blocking\x20Issues','TfzfY','**Branch:**\x20','309992cOJyVC','https://trace.playwright.dev/?trace=','pkaIy','1360376xhFrpp','Completed','in_progress','browserSessionId','completed','-\x20**Reason:**\x20','DjdxA','closedAt','Session\x20','3939922drTEWS','-\x20**','\x20|\x20','No\x20reason\x20provided',':\x20Awaiting\x20Review','createdAt','711960bUBEOb','verifiedAt','3209735DlVpYX','##\x20Description','5412fhvNvD','MoanO','canceledReason','blockedAt','closed','short','toLocaleDateString','No\x20Session','length','729mqrfmL','push','verified','-\x20**Summary:**\x20','blocked'];_0x2355=function(){return _0x191cc7;};return _0x2355();}function getStatusEmoji(_0x1f9a24){const _0x3bfefb=_0x183b,_0x4a686c={'pkaIy':_0x3bfefb(0x119),'MoanO':'completed','tLXzD':_0x3bfefb(0x13f),'kldLK':_0x3bfefb(0x121)};switch(_0x1f9a24){case _0x4a686c[_0x3bfefb(0x13c)]:case _0x4a686c[_0x3bfefb(0x151)]:return'✅';case'pending':case _0x4a686c['tLXzD']:return'🔄';case _0x4a686c['kldLK']:return'🟠';case _0x3bfefb(0x11b):return'🛑';case'closed':return'⛔';default:return'❓';}}function formatDuration(_0x300268){const _0x323b89=_0x183b,_0x49250b={'ChYhY':function(_0x13fa5e,_0x4d4958){return _0x13fa5e===_0x4d4958;},'nqdVH':'N/A','lhhrC':function(_0x437a8a,_0x322d48){return _0x437a8a/_0x322d48;},'przdZ':function(_0x5bff53,_0x1ce956){return _0x5bff53%_0x1ce956;}};if(_0x49250b['ChYhY'](_0x300268,null)||_0x300268===undefined)return _0x49250b['nqdVH'];if(_0x300268<0x3e8)return _0x300268+'ms';const _0x3a4b4d=Math[_0x323b89(0x122)](_0x300268/0x3e8);if(_0x3a4b4d<0x3c)return _0x3a4b4d+'s';const _0x2ef629=Math['floor'](_0x49250b[_0x323b89(0x133)](_0x3a4b4d,0x3c)),_0x3ddb4d=_0x49250b['przdZ'](_0x3a4b4d,0x3c);return _0x2ef629+'m\x20'+_0x3ddb4d+'s';}function formatDate(_0x47bf47){const _0x402c8a=_0x183b,_0xa6ea2e={'uFKUR':'N/A','UcPJq':_0x402c8a(0x12d),'qBByx':_0x402c8a(0x155)};if(!_0x47bf47)return _0xa6ea2e['uFKUR'];return new Date(_0x47bf47)[_0x402c8a(0x156)]('en-US',{'year':_0xa6ea2e[_0x402c8a(0x12e)],'month':_0xa6ea2e[_0x402c8a(0x12a)],'day':_0x402c8a(0x12d)});}export function generateFeatureReport(_0x35eed0){const _0x1b32ea=_0x183b,_0x63e96d={'sznFr':_0x1b32ea(0x13e),'QRutK':'ready','ZCAvt':'in_progress','fgZpR':function(_0x23fe6d,_0x494e8a){return _0x23fe6d===_0x494e8a;},'UPSTc':_0x1b32ea(0x119),'enOSb':function(_0x2a86b2,_0x3ca1da){return _0x2a86b2(_0x3ca1da);},'cnMEa':function(_0x557b29,_0x464275){return _0x557b29(_0x464275);},'DjdxA':function(_0x15c514,_0x3602c7){return _0x15c514===_0x3602c7;},'nZZOk':_0x1b32ea(0x121),'wvNnS':function(_0x550cc8,_0x3a1280){return _0x550cc8>_0x3a1280;},'uEewP':_0x1b32ea(0x149),'kUeEo':'##\x20Blocking\x20Issues','BpKzN':'None','AFraG':'##\x20All\x20Verification\x20Sessions','hMUpm':'|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','TfzfY':'|---------|----------|--------|----------|------|','QylOy':function(_0x4b98bb,_0x5a6d55){return _0x4b98bb>_0x5a6d55;},'peoBg':function(_0x5bc0db,_0x342998){return _0x5bc0db===_0x342998;}},{feature:_0x2847db,stats:_0x3bbfff,checklistItems:_0x1e5800,sessions:_0x1e6530}=_0x35eed0,_0x678398=[];_0x678398['push']('#\x20Feature\x20Review\x20Report:\x20'+_0x2847db['name']),_0x678398['push']('');let _0x12e78a,_0x3813a1;if(_0x2847db['completedAt'])_0x12e78a=_0x63e96d['sznFr'],_0x3813a1='✅';else{if(_0x2847db['currentSession']){const _0x58ee96=_0x2847db['currentSession'][_0x1b32ea(0x120)];switch(_0x58ee96){case _0x63e96d['QRutK']:_0x12e78a='Session\x20'+_0x2847db['currentSession'][_0x1b32ea(0x125)]+_0x1b32ea(0x124),_0x3813a1='▶️';break;case _0x63e96d['ZCAvt']:_0x12e78a='Session\x20'+_0x2847db[_0x1b32ea(0x135)][_0x1b32ea(0x125)]+':\x20In\x20Progress',_0x3813a1='🔄';break;case _0x1b32ea(0x141):_0x12e78a=_0x1b32ea(0x145)+_0x2847db['currentSession'][_0x1b32ea(0x125)]+_0x1b32ea(0x14a),_0x3813a1='📊';break;default:_0x12e78a='Unknown',_0x3813a1='❓';}}else _0x12e78a=_0x1b32ea(0x115),_0x3813a1='⬜';}_0x678398[_0x1b32ea(0x118)]('**Status:**\x20'+_0x3813a1+'\x20'+_0x12e78a),_0x678398[_0x1b32ea(0x118)]('**Created:**\x20'+formatDate(_0x2847db[_0x1b32ea(0x14b)]));_0x2847db['completedAt']&&_0x678398['push'](_0x1b32ea(0x11d)+formatDate(_0x2847db['completedAt']));_0x2847db['gitRepoUrl']&&_0x678398[_0x1b32ea(0x118)]('**Repository:**\x20'+_0x2847db['gitRepoUrl']);_0x2847db['gitBranch']&&_0x678398['push'](_0x1b32ea(0x139)+_0x2847db['gitBranch']);_0x678398['push']('');_0x2847db[_0x1b32ea(0x134)]&&(_0x678398[_0x1b32ea(0x118)](_0x1b32ea(0x14f)),_0x678398[_0x1b32ea(0x118)](''),_0x678398[_0x1b32ea(0x118)](_0x2847db[_0x1b32ea(0x134)]),_0x678398['push'](''));const _0xa95bfb=_0x1e5800['filter'](_0x5a6976=>_0x5a6976[_0x1b32ea(0x120)]!=='closed'),_0x1f2c91=_0x1e5800['filter'](_0x11f760=>_0x11f760[_0x1b32ea(0x120)]===_0x1b32ea(0x119))['length'];_0x678398[_0x1b32ea(0x118)]('##\x20Scenario\x20Progress\x20('+_0x1f2c91+'/'+_0xa95bfb['length']+'\x20verified)'),_0x678398['push']('');for(const _0x515bc6 of _0x1e5800){const _0x1070ba=getStatusEmoji(_0x515bc6['status']),_0x5a5faa=_0x515bc6['status']===_0x1b32ea(0x154),_0x1796dd=_0x5a5faa?'~~':'',_0x352df1=_0x5a5faa?'~~':'';_0x678398['push']('###\x20'+_0x1070ba+'\x20'+_0x1796dd+_0x515bc6['description']+_0x352df1),_0x678398['push']('');_0x63e96d[_0x1b32ea(0x123)](_0x515bc6[_0x1b32ea(0x120)],_0x63e96d['UPSTc'])&&_0x515bc6['verifiedAt']&&_0x678398['push'](_0x1b32ea(0x11e)+formatDate(_0x515bc6[_0x1b32ea(0x14d)]));_0x63e96d[_0x1b32ea(0x123)](_0x515bc6[_0x1b32ea(0x120)],_0x1b32ea(0x11b))&&_0x515bc6['blockedAt']&&(_0x678398[_0x1b32ea(0x118)](_0x1b32ea(0x131)+_0x63e96d[_0x1b32ea(0x128)](formatDate,_0x515bc6[_0x1b32ea(0x153)])),_0x515bc6['blockedReason']&&_0x678398['push']('-\x20**Reason:**\x20'+_0x515bc6[_0x1b32ea(0x132)]));_0x515bc6['status']==='closed'&&_0x515bc6[_0x1b32ea(0x144)]&&(_0x678398['push'](_0x1b32ea(0x127)+_0x63e96d['cnMEa'](formatDate,_0x515bc6['closedAt'])),_0x515bc6[_0x1b32ea(0x152)]&&_0x678398[_0x1b32ea(0x118)](_0x1b32ea(0x142)+_0x515bc6[_0x1b32ea(0x152)]));_0x63e96d[_0x1b32ea(0x143)](_0x515bc6[_0x1b32ea(0x120)],_0x63e96d[_0x1b32ea(0x12b)])&&_0x678398['push'](_0x1b32ea(0x129));if(_0x515bc6[_0x1b32ea(0x140)]){_0x678398[_0x1b32ea(0x118)]('-\x20**Session:**\x20'+_0x515bc6['browserSessionId']);const _0x557eb3=_0x1e6530['find'](_0x51f155=>_0x51f155['id']===_0x515bc6[_0x1b32ea(0x140)]);_0x557eb3&&(_0x557eb3[_0x1b32ea(0x130)]&&_0x678398[_0x1b32ea(0x118)](_0x1b32ea(0x11a)+_0x557eb3['agentResponse']),_0x557eb3[_0x1b32ea(0x126)]&&_0x678398['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x63e96d['enOSb'](buildTraceViewerUrl,_0x557eb3[_0x1b32ea(0x126)])+')'));}_0x678398[_0x1b32ea(0x118)]('');}const _0x4cea9b=_0x1e5800['filter'](_0x419866=>_0x419866['status']===_0x1b32ea(0x11b));if(_0x63e96d[_0x1b32ea(0x11f)](_0x4cea9b[_0x1b32ea(0x116)],0x0)){_0x678398['push'](_0x1b32ea(0x137)),_0x678398[_0x1b32ea(0x118)]('');for(const _0x506030 of _0x4cea9b){_0x678398[_0x1b32ea(0x118)](_0x1b32ea(0x147)+_0x506030['description']+'**:\x20'+(_0x506030['blockedReason']||_0x63e96d['uEewP']));}_0x678398['push']('');}else _0x678398[_0x1b32ea(0x118)](_0x63e96d['kUeEo']),_0x678398['push'](''),_0x678398['push'](_0x63e96d['BpKzN']),_0x678398['push']('');if(_0x63e96d['wvNnS'](_0x1e6530['length'],0x0)){_0x678398[_0x1b32ea(0x118)](_0x63e96d['AFraG']),_0x678398['push'](''),_0x678398['push'](_0x63e96d['hMUpm']),_0x678398[_0x1b32ea(0x118)](_0x63e96d[_0x1b32ea(0x138)]);for(const _0x28d51b of _0x1e6530){const _0xc75b63=_0x28d51b['checklistItemId']?_0x1e5800['find'](_0x2dd3c7=>_0x2dd3c7['id']===_0x28d51b['checklistItemId']):null,_0x45e323=_0xc75b63?_0xc75b63['description']['substring'](0x0,0x1e)+(_0x63e96d['QylOy'](_0xc75b63[_0x1b32ea(0x134)][_0x1b32ea(0x116)],0x1e)?_0x1b32ea(0x11c):''):_0x1b32ea(0x12f),_0x2c86ff=_0x28d51b['status']===_0x1b32ea(0x141)?'✅':_0x63e96d['peoBg'](_0x28d51b[_0x1b32ea(0x120)],'failed')?'❌':'🔄';_0x678398[_0x1b32ea(0x118)]('|\x20'+_0x28d51b['id']+_0x1b32ea(0x148)+_0x45e323+'\x20|\x20'+_0x2c86ff+'\x20'+_0x28d51b[_0x1b32ea(0x120)]+_0x1b32ea(0x148)+formatDuration(_0x28d51b['durationMs'])+'\x20|\x20'+formatDate(_0x28d51b[_0x1b32ea(0x14b)])+'\x20|');}_0x678398['push']('');}return _0x678398['join']('\x0a');}
1
+ (function(_0x14efe0,_0x470e8f){const _0xc625e=_0x31f6,_0x11777d=_0x14efe0();while(!![]){try{const _0x3afeaf=-parseInt(_0xc625e(0x1e3))/0x1*(-parseInt(_0xc625e(0x207))/0x2)+parseInt(_0xc625e(0x1f5))/0x3*(parseInt(_0xc625e(0x1d2))/0x4)+-parseInt(_0xc625e(0x1e6))/0x5+parseInt(_0xc625e(0x1fc))/0x6+parseInt(_0xc625e(0x1e9))/0x7*(-parseInt(_0xc625e(0x1e8))/0x8)+-parseInt(_0xc625e(0x205))/0x9+parseInt(_0xc625e(0x1dd))/0xa;if(_0x3afeaf===_0x470e8f)break;else _0x11777d['push'](_0x11777d['shift']());}catch(_0x56729c){_0x11777d['push'](_0x11777d['shift']());}}}(_0x2f22,0xddc8a));function _0x31f6(_0x5aad28,_0x15840b){_0x5aad28=_0x5aad28-0x1d2;const _0x2f22c8=_0x2f22();let _0x31f6c2=_0x2f22c8[_0x5aad28];return _0x31f6c2;}export function buildTraceViewerUrl(_0x441a06){const _0x33e3f4=encodeURIComponent(_0x441a06);return'https://trace.playwright.dev/?trace='+_0x33e3f4;}function getStatusEmoji(_0x1cdfcf){const _0x39e25b=_0x31f6,_0x25a9fc={'dBYGx':'verified','NfIQD':_0x39e25b(0x214),'Nfgiy':'in_progress','qyUvK':_0x39e25b(0x1ea)};switch(_0x1cdfcf){case _0x25a9fc['dBYGx']:case _0x25a9fc[_0x39e25b(0x1ff)]:return'✅';case _0x39e25b(0x1fa):case _0x25a9fc[_0x39e25b(0x1d6)]:return'🔄';case'incomplete':return'🟠';case _0x39e25b(0x21b):return'🛑';case _0x25a9fc['qyUvK']:return'⛔';default:return'❓';}}function _0x2f22(){const _0x415867=['##\x20Blocking\x20Issues','5107630wSsvXj','blockedReason','433968mJYjNk','217gaKxmi','closed','kJIBL','BEVLa','**Branch:**\x20','**Created:**\x20','currentSession','##\x20All\x20Verification\x20Sessions','sciMX','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','iteration','\x20|\x20','27087evrljo','-\x20**','canceledReason','fvBcO','Completed','pending','verifiedAt','1321038dOSbyT','-\x20**Reason:**\x20','puBNl','NfIQD','#\x20Feature\x20Review\x20Report:\x20','agentResponse','wDzae','**:\x20','name','16313985pEnYaL','dRXkA','58VFFQcX','##\x20Description','filter','ABQiq','incomplete','EFiyw','Session\x20','status','floor','JTTPR','-\x20**Session:**\x20','createdAt','**Completed:**\x20','completed','**Repository:**\x20','Unknown','length','checklistItemId','-\x20**Closed:**\x20','browserSessionId','blocked','784UGHiGJ','in_progress','-\x20**Trace:**\x20[View\x20in\x20Playwright](','N/A','Nfgiy','\x20verified)','completedAt','No\x20reason\x20provided','traceUrl','substring','gitRepoUrl','19660290ZIZhvH',':\x20In\x20Progress','nMFWq','push','join','|---------|----------|--------|----------|------|','50633LokzAe',':\x20Awaiting\x20Review'];_0x2f22=function(){return _0x415867;};return _0x2f22();}function formatDuration(_0x16941e){const _0x52c663=_0x31f6,_0x2061ca={'zpHUu':function(_0x319179,_0x49317e){return _0x319179===_0x49317e;},'RGFSI':function(_0x2740da,_0x25cf60){return _0x2740da===_0x25cf60;},'BEVLa':function(_0x345038,_0x4c20af){return _0x345038<_0x4c20af;}};if(_0x2061ca['zpHUu'](_0x16941e,null)||_0x2061ca['RGFSI'](_0x16941e,undefined))return _0x52c663(0x1d5);if(_0x16941e<0x3e8)return _0x16941e+'ms';const _0x490717=Math[_0x52c663(0x20f)](_0x16941e/0x3e8);if(_0x2061ca[_0x52c663(0x1ec)](_0x490717,0x3c))return _0x490717+'s';const _0x93c51a=Math[_0x52c663(0x20f)](_0x490717/0x3c),_0x4bb016=_0x490717%0x3c;return _0x93c51a+'m\x20'+_0x4bb016+'s';}function formatDate(_0xb01890){const _0x22fc59=_0x31f6,_0xe3e4d2={'EFiyw':'en-US','JTTPR':'numeric'};if(!_0xb01890)return'N/A';return new Date(_0xb01890)['toLocaleDateString'](_0xe3e4d2[_0x22fc59(0x20c)],{'year':_0xe3e4d2[_0x22fc59(0x210)],'month':'short','day':_0xe3e4d2[_0x22fc59(0x210)]});}export function generateFeatureReport(_0x9783dc){const _0x162e27=_0x31f6,_0x35278f={'OeYRi':_0x162e27(0x1f9),'ABQiq':function(_0x268217,_0x850933){return _0x268217(_0x850933);},'kJIBL':'blocked','sciMX':'closed','dRXkA':_0x162e27(0x20b),'tUiPU':function(_0x141d90,_0x46c5a8){return _0x141d90(_0x46c5a8);},'wDzae':_0x162e27(0x1f2),'mYMTQ':_0x162e27(0x1e2),'fvBcO':function(_0x424aa5,_0x3aa7ce){return _0x424aa5+_0x3aa7ce;},'pwnhj':function(_0x4e39d9,_0x341edb){return _0x4e39d9===_0x341edb;},'YPOFU':'completed','nMFWq':'failed','puBNl':function(_0x2c8b48,_0xda681b){return _0x2c8b48(_0xda681b);}},{feature:_0x30fd74,stats:_0x5d85a4,checklistItems:_0x35f7ee,sessions:_0x41d8f3}=_0x9783dc,_0x40fdee=[];_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x200)+_0x30fd74[_0x162e27(0x204)]),_0x40fdee['push']('');let _0x4b40f6,_0x2f7ffc;if(_0x30fd74[_0x162e27(0x1d8)])_0x4b40f6=_0x35278f['OeYRi'],_0x2f7ffc='✅';else{if(_0x30fd74[_0x162e27(0x1ef)]){const _0x47d86e=_0x30fd74[_0x162e27(0x1ef)][_0x162e27(0x20e)];switch(_0x47d86e){case'ready':_0x4b40f6='Session\x20'+_0x30fd74[_0x162e27(0x1ef)][_0x162e27(0x1f3)]+':\x20Ready',_0x2f7ffc='▶️';break;case _0x162e27(0x1d3):_0x4b40f6=_0x162e27(0x20d)+_0x30fd74['currentSession'][_0x162e27(0x1f3)]+_0x162e27(0x1de),_0x2f7ffc='🔄';break;case _0x162e27(0x214):_0x4b40f6='Session\x20'+_0x30fd74['currentSession'][_0x162e27(0x1f3)]+_0x162e27(0x1e4),_0x2f7ffc='📊';break;default:_0x4b40f6=_0x162e27(0x216),_0x2f7ffc='❓';}}else _0x4b40f6='No\x20Session',_0x2f7ffc='⬜';}_0x40fdee['push']('**Status:**\x20'+_0x2f7ffc+'\x20'+_0x4b40f6),_0x40fdee['push'](_0x162e27(0x1ee)+_0x35278f['ABQiq'](formatDate,_0x30fd74[_0x162e27(0x212)]));_0x30fd74[_0x162e27(0x1d8)]&&_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x213)+_0x35278f['ABQiq'](formatDate,_0x30fd74[_0x162e27(0x1d8)]));_0x30fd74[_0x162e27(0x1dc)]&&_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x215)+_0x30fd74[_0x162e27(0x1dc)]);_0x30fd74['gitBranch']&&_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x1ed)+_0x30fd74['gitBranch']);_0x40fdee['push']('');_0x30fd74['description']&&(_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x208)),_0x40fdee[_0x162e27(0x1e0)](''),_0x40fdee['push'](_0x30fd74['description']),_0x40fdee[_0x162e27(0x1e0)](''));const _0x368f74=_0x35f7ee['filter'](_0x200114=>_0x200114[_0x162e27(0x20e)]!=='closed'),_0x3f7280=_0x35f7ee['filter'](_0x4faf75=>_0x4faf75['status']==='verified')['length'];_0x40fdee[_0x162e27(0x1e0)]('##\x20Scenario\x20Progress\x20('+_0x3f7280+'/'+_0x368f74[_0x162e27(0x217)]+_0x162e27(0x1d7)),_0x40fdee[_0x162e27(0x1e0)]('');for(const _0x4e7170 of _0x35f7ee){const _0x114010=getStatusEmoji(_0x4e7170[_0x162e27(0x20e)]),_0x27c946=_0x4e7170['status']==='closed',_0x45b7dd=_0x27c946?'~~':'',_0x2c8dfc=_0x27c946?'~~':'';_0x40fdee[_0x162e27(0x1e0)]('###\x20'+_0x114010+'\x20'+_0x45b7dd+_0x4e7170['description']+_0x2c8dfc),_0x40fdee[_0x162e27(0x1e0)]('');_0x4e7170[_0x162e27(0x20e)]==='verified'&&_0x4e7170['verifiedAt']&&_0x40fdee['push']('-\x20**Verified:**\x20'+formatDate(_0x4e7170[_0x162e27(0x1fb)]));_0x4e7170[_0x162e27(0x20e)]===_0x35278f[_0x162e27(0x1eb)]&&_0x4e7170['blockedAt']&&(_0x40fdee[_0x162e27(0x1e0)]('-\x20**Blocked:**\x20'+_0x35278f[_0x162e27(0x20a)](formatDate,_0x4e7170['blockedAt'])),_0x4e7170[_0x162e27(0x1e7)]&&_0x40fdee[_0x162e27(0x1e0)]('-\x20**Reason:**\x20'+_0x4e7170[_0x162e27(0x1e7)]));_0x4e7170[_0x162e27(0x20e)]===_0x35278f[_0x162e27(0x1f1)]&&_0x4e7170['closedAt']&&(_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x219)+formatDate(_0x4e7170['closedAt'])),_0x4e7170[_0x162e27(0x1f7)]&&_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x1fd)+_0x4e7170['canceledReason']));_0x4e7170[_0x162e27(0x20e)]===_0x35278f[_0x162e27(0x206)]&&_0x40fdee['push']('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x4e7170[_0x162e27(0x21a)]){_0x40fdee['push'](_0x162e27(0x211)+_0x4e7170[_0x162e27(0x21a)]);const _0x5cb882=_0x41d8f3['find'](_0x54275a=>_0x54275a['id']===_0x4e7170['browserSessionId']);_0x5cb882&&(_0x5cb882[_0x162e27(0x201)]&&_0x40fdee[_0x162e27(0x1e0)]('-\x20**Summary:**\x20'+_0x5cb882['agentResponse']),_0x5cb882[_0x162e27(0x1da)]&&_0x40fdee['push'](_0x162e27(0x1d4)+_0x35278f['tUiPU'](buildTraceViewerUrl,_0x5cb882[_0x162e27(0x1da)])+')'));}_0x40fdee[_0x162e27(0x1e0)]('');}const _0x24e098=_0x35f7ee[_0x162e27(0x209)](_0x2eac0a=>_0x2eac0a[_0x162e27(0x20e)]===_0x162e27(0x21b));if(_0x24e098['length']>0x0){_0x40fdee['push']('##\x20Blocking\x20Issues'),_0x40fdee[_0x162e27(0x1e0)]('');for(const _0x29e1d2 of _0x24e098){_0x40fdee['push'](_0x162e27(0x1f6)+_0x29e1d2['description']+_0x162e27(0x203)+(_0x29e1d2[_0x162e27(0x1e7)]||_0x162e27(0x1d9)));}_0x40fdee['push']('');}else _0x40fdee['push'](_0x162e27(0x1e5)),_0x40fdee['push'](''),_0x40fdee['push']('None'),_0x40fdee['push']('');if(_0x41d8f3[_0x162e27(0x217)]>0x0){_0x40fdee[_0x162e27(0x1e0)](_0x162e27(0x1f0)),_0x40fdee['push'](''),_0x40fdee[_0x162e27(0x1e0)](_0x35278f[_0x162e27(0x202)]),_0x40fdee[_0x162e27(0x1e0)](_0x35278f['mYMTQ']);for(const _0x5e8e04 of _0x41d8f3){const _0x3ae88b=_0x5e8e04['checklistItemId']?_0x35f7ee['find'](_0x286009=>_0x286009['id']===_0x5e8e04[_0x162e27(0x218)]):null,_0x3ed2a4=_0x3ae88b?_0x35278f[_0x162e27(0x1f8)](_0x3ae88b['description'][_0x162e27(0x1db)](0x0,0x1e),_0x3ae88b['description'][_0x162e27(0x217)]>0x1e?'...':''):'N/A',_0x9acaba=_0x35278f['pwnhj'](_0x5e8e04[_0x162e27(0x20e)],_0x35278f['YPOFU'])?'✅':_0x5e8e04[_0x162e27(0x20e)]===_0x35278f[_0x162e27(0x1df)]?'❌':'🔄';_0x40fdee['push']('|\x20'+_0x5e8e04['id']+'\x20|\x20'+_0x3ed2a4+_0x162e27(0x1f4)+_0x9acaba+'\x20'+_0x5e8e04['status']+_0x162e27(0x1f4)+_0x35278f[_0x162e27(0x1fe)](formatDuration,_0x5e8e04['durationMs'])+_0x162e27(0x1f4)+formatDate(_0x5e8e04[_0x162e27(0x212)])+'\x20|');}_0x40fdee['push']('');}return _0x40fdee[_0x162e27(0x1e1)]('\x0a');}
@@ -1 +1 @@
1
- const _0x429d12=_0x3c92;(function(_0x1446f6,_0x3bd62a){const _0x434d00=_0x3c92,_0x54e218=_0x1446f6();while(!![]){try{const _0x1471ee=-parseInt(_0x434d00(0xd6))/0x1*(parseInt(_0x434d00(0xbd))/0x2)+parseInt(_0x434d00(0xd8))/0x3+-parseInt(_0x434d00(0xba))/0x4+-parseInt(_0x434d00(0xbb))/0x5+parseInt(_0x434d00(0xd7))/0x6+parseInt(_0x434d00(0xab))/0x7+-parseInt(_0x434d00(0xb9))/0x8*(-parseInt(_0x434d00(0xca))/0x9);if(_0x1471ee===_0x3bd62a)break;else _0x54e218['push'](_0x54e218['shift']());}catch(_0x4d4b15){_0x54e218['push'](_0x54e218['shift']());}}}(_0x41b6,0x345b3));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 _0x3c92(_0x1e2501,_0x2890cb){_0x1e2501=_0x1e2501-0xa0;const _0x41b6c0=_0x41b6();let _0x3c9220=_0x41b6c0[_0x1e2501];return _0x3c9220;}function readVint(_0x4f56af,_0x29523c){const _0xc73cd1=_0x3c92,_0x38ffe7={'EPEbm':function(_0x27b5ab,_0x3f0df3){return _0x27b5ab>=_0x3f0df3;},'wKkcK':function(_0x3511a1,_0x49a0db){return _0x3511a1>_0x49a0db;},'IZqck':function(_0x25d1a1,_0x51a58e){return _0x25d1a1+_0x51a58e;},'OulWL':function(_0x1cc213,_0x273a82){return _0x1cc213-_0x273a82;},'YNmQr':function(_0x9f2123,_0x1f58d3){return _0x9f2123+_0x1f58d3;}};if(_0x38ffe7['EPEbm'](_0x29523c,_0x4f56af['length']))return[0x0,0x0];const _0x5a44c3=_0x4f56af[_0x29523c];let _0x5890ae=0x1,_0x17d4b8=0x80;while(_0x5890ae<=0x8&&!(_0x5a44c3&_0x17d4b8)){_0x5890ae++,_0x17d4b8>>=0x1;}if(_0x38ffe7['wKkcK'](_0x38ffe7[_0xc73cd1(0xb7)](_0x29523c,_0x5890ae),_0x4f56af['length']))return[0x0,0x0];let _0x37d766=_0x5a44c3&_0x38ffe7['OulWL'](_0x17d4b8,0x1);for(let _0x1531b9=0x1;_0x1531b9<_0x5890ae;_0x1531b9++){_0x37d766=_0x38ffe7[_0xc73cd1(0xcf)](_0x37d766*0x100,_0x4f56af[_0x38ffe7['IZqck'](_0x29523c,_0x1531b9)]);}return[_0x37d766,_0x5890ae];}function readId(_0x3abf5a,_0xba7b79){const _0x39b5fe=_0x3c92,_0x59e133={'bZxbw':function(_0x964e7c,_0x303862){return _0x964e7c>=_0x303862;},'nCpoD':function(_0x2da4a6,_0x4fc03d){return _0x2da4a6>=_0x4fc03d;},'MyDem':function(_0x2b1d06,_0x1beff9){return _0x2b1d06>_0x1beff9;},'YKAxI':function(_0x5c83e8,_0x55293c){return _0x5c83e8+_0x55293c;},'kmBjE':function(_0x51e04a,_0x339bfa){return _0x51e04a+_0x339bfa;}};if(_0x59e133[_0x39b5fe(0xc8)](_0xba7b79,_0x3abf5a[_0x39b5fe(0xa1)]))return[0x0,0x0];const _0x2c6102=_0x3abf5a[_0xba7b79];let _0x28fc45;if(_0x59e133['nCpoD'](_0x2c6102,0x80))_0x28fc45=0x1;else{if(_0x2c6102>=0x40)_0x28fc45=0x2;else{if(_0x2c6102>=0x20)_0x28fc45=0x3;else{if(_0x2c6102>=0x10)_0x28fc45=0x4;else return[_0x2c6102,0x1];}}}if(_0x59e133[_0x39b5fe(0xb5)](_0x59e133[_0x39b5fe(0xa8)](_0xba7b79,_0x28fc45),_0x3abf5a['length']))return[0x0,0x0];let _0x234975=0x0;for(let _0x4a1a44=0x0;_0x4a1a44<_0x28fc45;_0x4a1a44++){_0x234975=_0x234975*0x100+_0x3abf5a[_0x59e133[_0x39b5fe(0xbf)](_0xba7b79,_0x4a1a44)];}return[_0x234975,_0x28fc45];}function readUint(_0x52f9c8,_0x2c3d27,_0x2974b5){const _0x29372c={'SMJYT':function(_0x3c7ec0,_0x4d4d41){return _0x3c7ec0*_0x4d4d41;}};let _0xcda53c=0x0;for(let _0x36de78=0x0;_0x36de78<_0x2974b5;_0x36de78++){_0xcda53c=_0x29372c['SMJYT'](_0xcda53c,0x100)+_0x52f9c8[_0x2c3d27+_0x36de78];}return _0xcda53c;}function isUnknownSize(_0xa4645e,_0x5230c2){const _0x4fa3e7=_0x3c92,_0x53361a={'TTRSQ':function(_0x2486ae,_0x418e97){return _0x2486ae===_0x418e97;}};return _0x53361a[_0x4fa3e7(0xc1)](_0xa4645e,Math[_0x4fa3e7(0xbe)](0x2,0x7*_0x5230c2)-0x1);}function writeId(_0x946f2c){const _0x3f6d13=_0x3c92,_0x5b7ddd={'KUXdf':function(_0x233ceb,_0x1d31ff){return _0x233ceb<=_0x1d31ff;},'yCyMA':function(_0x3a7c56,_0x57766b){return _0x3a7c56>>_0x57766b;},'bbsIg':function(_0x313215,_0x1316a0){return _0x313215&_0x1316a0;},'YlGcV':function(_0xd0c526,_0x156236){return _0xd0c526&_0x156236;},'GipHi':function(_0x579ab4,_0x3abc35){return _0x579ab4&_0x3abc35;},'zGaGP':function(_0x48c625,_0x44f717){return _0x48c625&_0x44f717;}};if(_0x5b7ddd[_0x3f6d13(0xa6)](_0x946f2c,0xff))return Buffer[_0x3f6d13(0xb0)]([_0x946f2c]);if(_0x946f2c<=0xffff)return Buffer['from']([_0x5b7ddd['yCyMA'](_0x946f2c,0x8)&0xff,_0x5b7ddd['bbsIg'](_0x946f2c,0xff)]);if(_0x946f2c<=0xffffff)return Buffer['from']([_0x5b7ddd[_0x3f6d13(0xd2)](_0x946f2c,0x10)&0xff,_0x5b7ddd['bbsIg'](_0x5b7ddd[_0x3f6d13(0xd2)](_0x946f2c,0x8),0xff),_0x946f2c&0xff]);return Buffer['from']([_0x5b7ddd[_0x3f6d13(0xdb)](_0x946f2c>>0x18,0xff),_0x5b7ddd[_0x3f6d13(0xbc)](_0x5b7ddd['yCyMA'](_0x946f2c,0x10),0xff),_0x946f2c>>0x8&0xff,_0x5b7ddd[_0x3f6d13(0xae)](_0x946f2c,0xff)]);}function writeVint(_0x3c0ab2,_0x30e15e){const _0x44f326=_0x3c92,_0xbf9ae0={'rRfoh':function(_0x3ce1a1,_0x36d4d0){return _0x3ce1a1||_0x36d4d0;},'aFngn':function(_0x1da478,_0x19071c){return _0x1da478-_0x19071c;},'NZKWr':function(_0x29aefe,_0x32a087){return _0x29aefe*_0x32a087;},'UXjhB':function(_0x82d4d3,_0x4f0343){return _0x82d4d3-_0x4f0343;},'oPUHq':function(_0x30bd26,_0x5ce36e){return _0x30bd26&_0x5ce36e;},'lsvoN':function(_0xf03b49,_0x3cd618){return _0xf03b49-_0x3cd618;}};let _0x1d5fcf=_0xbf9ae0['rRfoh'](_0x30e15e,0x1);while(_0xbf9ae0['aFngn'](Math[_0x44f326(0xbe)](0x2,_0xbf9ae0['NZKWr'](0x7,_0x1d5fcf)),0x2)<_0x3c0ab2)_0x1d5fcf++;const _0x3521a5=Buffer['alloc'](_0x1d5fcf);for(let _0x4bf1b2=_0xbf9ae0['UXjhB'](_0x1d5fcf,0x1);_0x4bf1b2>=0x0;_0x4bf1b2--){_0x3521a5[_0x4bf1b2]=_0xbf9ae0['oPUHq'](_0x3c0ab2,0xff),_0x3c0ab2=Math['floor'](_0x3c0ab2/0x100);}return _0x3521a5[0x0]|=0x1<<_0xbf9ae0[_0x44f326(0xb8)](0x8,_0x1d5fcf),_0x3521a5;}function writeFloat64(_0x2c8e5a){const _0xad79a5=Buffer['alloc'](0x8);return _0xad79a5['writeDoubleBE'](_0x2c8e5a,0x0),_0xad79a5;}function _0x41b6(){const _0x403c74=['hkXJy','TTRSQ','fixWebmDuration.js','rGIYD','File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.','sizeLen','uMces','offset','bZxbw','ipjeI','36juoLNW','min','iVERx','KOWfx','dataOffset','YNmQr','HITIv','exit','yCyMA','InbMx','lJLuv','ImaMZ','144973RZcPxG','1091238YKllMa','882093urvhBt','DVXAq','argv','YlGcV','wJYND','length','log','dataSize','BCDMZ','concat','KUXdf','baNdW','YKAxI','slice','vLNIv','1577002Eycyfu','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','bZTYK','zGaGP','Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>','from','error','VxBMo','UmNmz','vTtwt','MyDem','HFiOZ','IZqck','lsvoN','573256UQorAX','1563772aqGGkX','1187255CbjiIo','GipHi','2SeuIds','pow','kmBjE'];_0x41b6=function(){return _0x403c74;};return _0x41b6();}function writeVoid(_0x219163){const _0x208534=_0x3c92,_0x376b2f={'siJdN':function(_0x6a38a1,_0x143600){return _0x6a38a1<=_0x143600;},'xNFce':function(_0x4c7d67,_0x5109c0){return _0x4c7d67-_0x5109c0;},'apimZ':function(_0x12ef96,_0x234079){return _0x12ef96>=_0x234079;},'baNdW':function(_0x19c580,_0x50c4e0){return _0x19c580-_0x50c4e0;},'hkXJy':function(_0x4df2ea,_0x283e51){return _0x4df2ea*_0x283e51;},'HFiOZ':function(_0x1d33d3,_0x208fcc,_0x17bc5c){return _0x1d33d3(_0x208fcc,_0x17bc5c);}};for(let _0x2d60ce=0x1;_0x376b2f['siJdN'](_0x2d60ce,0x8);_0x2d60ce++){const _0x38d1c4=_0x376b2f['xNFce'](_0x219163,0x1)-_0x2d60ce;if(_0x376b2f['apimZ'](_0x38d1c4,0x0)&&_0x376b2f['siJdN'](_0x38d1c4,_0x376b2f[_0x208534(0xa7)](Math[_0x208534(0xbe)](0x2,_0x376b2f[_0x208534(0xc0)](0x7,_0x2d60ce)),0x2)))return Buffer['concat']([Buffer[_0x208534(0xb0)]([ID_VOID]),_0x376b2f[_0x208534(0xb6)](writeVint,_0x38d1c4,_0x2d60ce),Buffer['alloc'](_0x38d1c4)]);}return Buffer['alloc'](0x0);}function findElement(_0xc8438d,_0x16010f,_0x2cfbbd,_0x5a1edb){const _0x554b7d={'oQOOO':function(_0x4fd24b,_0x4b88f8,_0x11486e){return _0x4fd24b(_0x4b88f8,_0x11486e);},'hLwXC':function(_0x2713cb,_0x569e31){return _0x2713cb+_0x569e31;},'xKRZC':function(_0x23cc67,_0x44ffb8){return _0x23cc67+_0x44ffb8;},'KMHlL':function(_0xa1d91a,_0x1bae20,_0x43f757){return _0xa1d91a(_0x1bae20,_0x43f757);},'bbRoI':function(_0x1a4397,_0x4af96d){return _0x1a4397+_0x4af96d;},'HRSpk':function(_0x21ea5c,_0x389acb){return _0x21ea5c+_0x389acb;}};let _0x5e268a=_0x16010f;while(_0x5e268a<_0x2cfbbd){const [_0x1090bc,_0x58368a]=_0x554b7d['oQOOO'](readId,_0xc8438d,_0x5e268a),[_0x44d9cb,_0x229a38]=readVint(_0xc8438d,_0x554b7d['hLwXC'](_0x5e268a,_0x58368a));if(_0x1090bc===_0x5a1edb)return{'offset':_0x5e268a,'idLen':_0x58368a,'sizeLen':_0x229a38,'dataSize':_0x44d9cb,'dataOffset':_0x554b7d['xKRZC'](_0x554b7d['hLwXC'](_0x5e268a,_0x58368a),_0x229a38)};if(_0x554b7d['KMHlL'](isUnknownSize,_0x44d9cb,_0x229a38))break;_0x5e268a+=_0x554b7d['bbRoI'](_0x554b7d['HRSpk'](_0x58368a,_0x229a38),_0x44d9cb);}return null;}function computeDurationMs(_0x69289a,_0x132706){const _0x2d1614=_0x3c92,_0x72cdfa={'InbMx':function(_0xfbada3,_0x336578){return _0xfbada3<_0x336578;},'HITIv':function(_0x386687,_0x71f467,_0x1a87ae){return _0x386687(_0x71f467,_0x1a87ae);},'rCIpG':function(_0x20484a,_0x3b8136){return _0x20484a-_0x3b8136;},'wKnvX':function(_0x4f564d,_0x4a8b47,_0x1e397e){return _0x4f564d(_0x4a8b47,_0x1e397e);},'DscjT':function(_0x5baf1a,_0x461c2e){return _0x5baf1a+_0x461c2e;},'TLLsa':function(_0x4683ed,_0x563bf5,_0x735a74){return _0x4683ed(_0x563bf5,_0x735a74);},'vLNIv':function(_0x5c1407,_0x15f9ec){return _0x5c1407+_0x15f9ec;},'BHJQh':function(_0x60efe6,_0x3b84e9){return _0x60efe6+_0x3b84e9;},'oPddm':function(_0x43e347,_0xdfc2c9,_0x51fb04,_0x33938d){return _0x43e347(_0xdfc2c9,_0x51fb04,_0x33938d);},'UirbU':function(_0x28e2ba,_0x5895ba){return _0x28e2ba===_0x5895ba;},'uyKHj':function(_0x38f261,_0x2138a5){return _0x38f261/_0x2138a5;},'Jfelg':function(_0x2ef4ab,_0x1904b4){return _0x2ef4ab+_0x1904b4;},'vTtwt':function(_0x12cd49,_0x4a0b43){return _0x12cd49>_0x4a0b43;}};let _0xf252ff=0x0;const _0x26c421=Buffer[_0x2d1614(0xb0)]([0x1f,0x43,0xb6,0x75]);let _0xbd5f40=_0x69289a['indexOf'](_0x26c421);if(_0xbd5f40===-0x1)return 0x0;while(_0x72cdfa[_0x2d1614(0xd3)](_0xbd5f40,_0x69289a['length'])){const [_0x311f5b,_0x467408]=readId(_0x69289a,_0xbd5f40);if(_0x311f5b!==ID_CLUSTER)break;const [_0x271d87,_0xf1620b]=_0x72cdfa[_0x2d1614(0xd0)](readVint,_0x69289a,_0xbd5f40+_0x467408),_0x219ca4=_0xbd5f40+_0x467408+_0xf1620b,_0x57da00=isUnknownSize(_0x271d87,_0xf1620b);let _0x399860;if(_0x57da00){let _0x417e7e=_0x219ca4;while(_0x417e7e<_0x72cdfa['rCIpG'](_0x69289a['length'],0x4)){const [_0x1b2c9a,_0x299b11]=readId(_0x69289a,_0x417e7e);if(_0x1b2c9a===ID_CLUSTER){_0x399860=_0x417e7e;break;}const [_0x2c936c,_0x358b91]=_0x72cdfa['wKnvX'](readVint,_0x69289a,_0x72cdfa['DscjT'](_0x417e7e,_0x299b11));if(_0x72cdfa['TLLsa'](isUnknownSize,_0x2c936c,_0x358b91)){_0x399860=_0x69289a['length'];break;}_0x417e7e+=_0x72cdfa['vLNIv'](_0x299b11,_0x358b91)+_0x2c936c;}_0x399860??=_0x69289a[_0x2d1614(0xa1)];}else _0x399860=_0x72cdfa['BHJQh'](_0x219ca4,_0x271d87);let _0x29442f=0x0,_0x34d56d=_0x219ca4;while(_0x34d56d<_0x399860){const [_0x4d41bf,_0x3d46c6]=readId(_0x69289a,_0x34d56d),[_0x5597f3,_0x52e90e]=readVint(_0x69289a,_0x72cdfa['vLNIv'](_0x34d56d,_0x3d46c6));if(_0x4d41bf===ID_TIMESTAMP)_0x29442f=_0x72cdfa['oPddm'](readUint,_0x69289a,_0x34d56d+_0x3d46c6+_0x52e90e,_0x5597f3);else{if(_0x72cdfa['UirbU'](_0x4d41bf,ID_SIMPLE_BLOCK)&&_0x5597f3>=0x4){const _0x1ddcbf=_0x72cdfa['DscjT'](_0x34d56d,_0x3d46c6)+_0x52e90e,[,_0x187bc8]=readVint(_0x69289a,_0x1ddcbf),_0x6e3a99=_0x69289a['readInt16BE'](_0x72cdfa[_0x2d1614(0xaa)](_0x1ddcbf,_0x187bc8)),_0x4b7b90=_0x72cdfa['uyKHj'](_0x72cdfa['Jfelg'](_0x29442f,_0x6e3a99)*_0x132706,0xf4240);_0x72cdfa[_0x2d1614(0xb4)](_0x4b7b90,_0xf252ff)&&(_0xf252ff=_0x4b7b90);}else{if(_0x72cdfa['UirbU'](_0x4d41bf,ID_CLUSTER))break;}}if(isUnknownSize(_0x5597f3,_0x52e90e))break;_0x34d56d+=_0x72cdfa['DscjT'](_0x3d46c6,_0x52e90e)+_0x5597f3;}_0xbd5f40=_0x399860;}return _0xf252ff;}export function fixWebmDuration(_0x5b7364,_0x1ded70){const _0x3a3eff=_0x3c92,_0x26c9e4={'BCDMZ':function(_0x14abc2,_0x5b3384){return _0x14abc2(_0x5b3384);},'rGIYD':function(_0x118d26,_0x595777){return _0x118d26+_0x595777;},'rBLhw':function(_0x345d9e,_0xbe8e7,_0x574d8d){return _0x345d9e(_0xbe8e7,_0x574d8d);},'wJYND':function(_0x40967d,_0x5ce633,_0xa409ef){return _0x40967d(_0x5ce633,_0xa409ef);},'KOWfx':function(_0x17dcf4,_0xb70f26){return _0x17dcf4+_0xb70f26;},'XgwOe':function(_0x4f7ed9,_0x2b2dca,_0x255ec1){return _0x4f7ed9(_0x2b2dca,_0x255ec1);},'iVERx':function(_0x3c11c0,_0x2280bb){return _0x3c11c0===_0x2280bb;},'ipjeI':function(_0x4a8fc7,_0x1dc090){return _0x4a8fc7+_0x1dc090;},'DVXAq':function(_0x2affc4,_0x4744dd,_0x4ea140){return _0x2affc4(_0x4744dd,_0x4ea140);},'bZTYK':'Could\x20not\x20find\x20Info\x20element','ImaMZ':function(_0xb3339b,_0x13514c,_0x438ba7,_0x48e90a,_0x24bce7){return _0xb3339b(_0x13514c,_0x438ba7,_0x48e90a,_0x24bce7);},'uMces':function(_0x42e484,_0xfc0bb1,_0x3f289e,_0x1f9e5f){return _0x42e484(_0xfc0bb1,_0x3f289e,_0x1f9e5f);},'ZUeYR':'Could\x20not\x20compute\x20duration','VxBMo':function(_0x51ec56,_0x255772){return _0x51ec56/_0x255772;},'daCiH':function(_0x5a22d0,_0xc6e1ae){return _0x5a22d0<_0xc6e1ae;}},_0x3cd71a=_0x26c9e4[_0x3a3eff(0xa4)](readFileSync,_0x5b7364);let _0x4e2121=0x0;const [_0x4adcbe,_0x5b3a57]=readId(_0x3cd71a,_0x4e2121),[_0x190402,_0x47b005]=readVint(_0x3cd71a,_0x26c9e4[_0x3a3eff(0xc3)](_0x4e2121,_0x5b3a57));_0x4e2121+=_0x26c9e4[_0x3a3eff(0xc3)](_0x5b3a57,_0x47b005)+_0x190402;const [_0x2a54df,_0x37c183]=_0x26c9e4['rBLhw'](readId,_0x3cd71a,_0x4e2121);if(_0x2a54df!==ID_SEGMENT)return console['error'](_0x3a3eff(0xac)),![];const [,_0x25f565]=_0x26c9e4[_0x3a3eff(0xa0)](readVint,_0x3cd71a,_0x4e2121+_0x37c183),_0x32f3af=_0x26c9e4[_0x3a3eff(0xc3)](_0x4e2121+_0x37c183,_0x25f565);let _0x1c00ec=_0x32f3af;const _0x926547=Math[_0x3a3eff(0xcb)](_0x3cd71a['length'],_0x26c9e4['KOWfx'](_0x32f3af,0x2710));let _0x5a52d1=null,_0x4836de=null;while(_0x1c00ec<_0x926547){const [_0x173e28,_0x3832a9]=readId(_0x3cd71a,_0x1c00ec),[_0x384303,_0x3e1a39]=_0x26c9e4['XgwOe'](readVint,_0x3cd71a,_0x1c00ec+_0x3832a9);_0x26c9e4['iVERx'](_0x173e28,ID_VOID)&&!_0x5a52d1&&(_0x5a52d1={'offset':_0x1c00ec,'idLen':_0x3832a9,'sizeLen':_0x3e1a39,'dataSize':_0x384303,'dataOffset':_0x26c9e4['rGIYD'](_0x1c00ec+_0x3832a9,_0x3e1a39)});if(_0x26c9e4[_0x3a3eff(0xcc)](_0x173e28,ID_INFO)){_0x4836de={'offset':_0x1c00ec,'idLen':_0x3832a9,'sizeLen':_0x3e1a39,'dataSize':_0x384303,'dataOffset':_0x26c9e4[_0x3a3eff(0xc9)](_0x26c9e4[_0x3a3eff(0xcd)](_0x1c00ec,_0x3832a9),_0x3e1a39)};break;}if(_0x173e28===ID_CLUSTER)break;if(_0x26c9e4[_0x3a3eff(0xd9)](isUnknownSize,_0x384303,_0x3e1a39))break;_0x1c00ec+=_0x26c9e4['ipjeI'](_0x3832a9+_0x3e1a39,_0x384303);}if(!_0x4836de)return console[_0x3a3eff(0xb1)](_0x26c9e4[_0x3a3eff(0xad)]),![];const _0x1f8da5=_0x26c9e4[_0x3a3eff(0xd5)](findElement,_0x3cd71a,_0x4836de[_0x3a3eff(0xce)],_0x4836de['dataOffset']+_0x4836de[_0x3a3eff(0xa3)],ID_DURATION);if(_0x1f8da5)return![];const _0x130566=_0x26c9e4['ImaMZ'](findElement,_0x3cd71a,_0x4836de[_0x3a3eff(0xce)],_0x4836de['dataOffset']+_0x4836de['dataSize'],ID_TIMESTAMP_SCALE);let _0x316b8e=0xf4240;_0x130566&&(_0x316b8e=_0x26c9e4[_0x3a3eff(0xc6)](readUint,_0x3cd71a,_0x130566['dataOffset'],_0x130566[_0x3a3eff(0xa3)]));const _0x3e0716=computeDurationMs(_0x3cd71a,_0x316b8e);if(_0x3e0716<=0x0)return console['error'](_0x26c9e4['ZUeYR']),![];const _0x4e8193=_0x26c9e4[_0x3a3eff(0xb2)](_0x3e0716*0xf4240,_0x316b8e),_0x343336=Buffer['concat']([_0x26c9e4[_0x3a3eff(0xa4)](writeId,ID_DURATION),writeVint(0x8),writeFloat64(_0x4e8193)]),_0x1e9536=_0x343336['length'];if(!_0x5a52d1||_0x26c9e4['daCiH'](_0x5a52d1['offset'],_0x4836de['offset'])){if(_0x5a52d1){const _0x4d09ce=_0x5a52d1['idLen']+_0x5a52d1['sizeLen']+_0x5a52d1['dataSize'],_0x2c6ef3=_0x4d09ce-_0x1e9536;if(_0x2c6ef3<0x2)return rewriteFile(_0x3cd71a,_0x4836de,_0x343336,_0x316b8e,_0x3e0716,_0x1ded70);const _0x3b72d6=_0x4836de[_0x3a3eff(0xa3)]+_0x1e9536,_0x2f1dab=Buffer[_0x3a3eff(0xa5)]([writeId(ID_INFO),writeVint(_0x3b72d6,_0x4836de[_0x3a3eff(0xc5)])]),_0x22d6b2=_0x3cd71a['slice'](_0x4836de['dataOffset'],_0x4836de[_0x3a3eff(0xce)]+_0x4836de[_0x3a3eff(0xa3)]),_0x6c8517=writeVoid(_0x2c6ef3),_0x4e57d4=_0x3cd71a[_0x3a3eff(0xa9)](0x0,_0x5a52d1[_0x3a3eff(0xc7)]),_0x5d9f1f=_0x3cd71a[_0x3a3eff(0xa9)](_0x4836de['dataOffset']+_0x4836de['dataSize']);return writeFileSync(_0x1ded70,Buffer[_0x3a3eff(0xa5)]([_0x4e57d4,_0x6c8517,_0x2f1dab,_0x22d6b2,_0x343336,_0x5d9f1f])),!![];}}return rewriteFile(_0x3cd71a,_0x4836de,_0x343336,_0x316b8e,_0x3e0716,_0x1ded70);}function rewriteFile(_0x31251d,_0x391903,_0x5e2ada,_0x4b7aa1,_0x1eb4bb,_0xd67c1e){const _0x561df8=_0x3c92,_0x2337b4={'mmaXZ':function(_0x15aae5,_0x587f53){return _0x15aae5+_0x587f53;},'mqGro':function(_0x17c084,_0x438750){return _0x17c084(_0x438750);},'UmNmz':function(_0x32248a,_0x763ad5){return _0x32248a+_0x763ad5;},'lJLuv':function(_0x26dd7c,_0x46a32f,_0x2d3c53){return _0x26dd7c(_0x46a32f,_0x2d3c53);}},_0x5e98da=_0x2337b4['mmaXZ'](_0x391903['dataSize'],_0x5e2ada[_0x561df8(0xa1)]),_0x436320=Buffer['concat']([_0x2337b4['mqGro'](writeId,ID_INFO),writeVint(_0x5e98da)]),_0x2251e1=_0x391903['idLen']+_0x391903['sizeLen'],_0x3aeb98=_0x31251d['slice'](0x0,_0x391903[_0x561df8(0xc7)]),_0x1083cd=_0x31251d[_0x561df8(0xa9)](_0x391903[_0x561df8(0xce)],_0x391903['dataOffset']+_0x391903[_0x561df8(0xa3)]),_0xb20da8=_0x31251d['slice'](_0x2337b4['mmaXZ'](_0x2337b4[_0x561df8(0xb3)](_0x391903[_0x561df8(0xc7)],_0x2251e1),_0x391903['dataSize']));return _0x2337b4[_0x561df8(0xd4)](writeFileSync,_0xd67c1e,Buffer[_0x561df8(0xa5)]([_0x3aeb98,_0x436320,_0x1083cd,_0x5e2ada,_0xb20da8])),!![];}if(process['argv'][0x1]?.['endsWith']('fixWebmDuration.ts')||process['argv'][0x1]?.['endsWith'](_0x429d12(0xc2))){const input=process['argv'][0x2],output=process[_0x429d12(0xda)][0x3];(!input||!output)&&(console[_0x429d12(0xb1)](_0x429d12(0xaf)),process[_0x429d12(0xd1)](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x429d12(0xa2)]('Fixed:\x20'+output):console[_0x429d12(0xa2)](_0x429d12(0xc4));}
1
+ const _0x5e1d30=_0x333e;function _0x4bbf(){const _0x5e3d22=['GsBIG','endsWith','hiEML','cusFO','3332868Fyddai','ylqjP','nCkcW','dataSize','offset','Could\x20not\x20find\x20Info\x20element','Fixed:\x20','SJEmu','CCrKV','wbzKM','726ngOmdC','concat','2472672NtloiN','vtqYZ','jZPDU','floor','THJCy','YIUuT','RndYj','slice','wediz','MkLOG','ExwCK','1556lPAwjc','vmfpn','error','BnmSU','WzDqx','LPftR','fixWebmDuration.js','85734Osszur','sizeLen','atMLw','ytMem','FRJwS','min','pow','argv','1480TYPYcW','iRXWk','JndYg','xkcJA','nYTGv','BBJJh','LmIhy','4169360IWrTua','4UrTdmy','eIgkJ','ChMNt','alloc','llOoI','GvfIO','length','kjArn','AeOUh','51263qRvsdK','3164775pwSGQd','BpMxA','dHVmW','ixmpC','dataOffset','EYyGp','kvXkY'];_0x4bbf=function(){return _0x5e3d22;};return _0x4bbf();}(function(_0x20f2f3,_0x5b559e){const _0x5e732f=_0x333e,_0x23aea8=_0x20f2f3();while(!![]){try{const _0x1df00b=-parseInt(_0x5e732f(0xe0))/0x1*(-parseInt(_0x5e732f(0xd7))/0x2)+parseInt(_0x5e732f(0xb3))/0x3*(-parseInt(_0x5e732f(0xc0))/0x4)+parseInt(_0x5e732f(0xe1))/0x5+parseInt(_0x5e732f(0xb5))/0x6+parseInt(_0x5e732f(0xec))/0x7+parseInt(_0x5e732f(0xd6))/0x8+-parseInt(_0x5e732f(0xc7))/0x9*(parseInt(_0x5e732f(0xcf))/0xa);if(_0x1df00b===_0x5b559e)break;else _0x23aea8['push'](_0x23aea8['shift']());}catch(_0x1992b2){_0x23aea8['push'](_0x23aea8['shift']());}}}(_0x4bbf,0x9c785));import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x25e581,_0x40605c){const _0x1c4164=_0x333e,_0x18de5f={'Bqzkc':function(_0x598761,_0x32f952){return _0x598761&_0x32f952;},'nYTGv':function(_0x383c39,_0x5823d3){return _0x383c39-_0x5823d3;},'ixmpC':function(_0xe17074,_0x321423){return _0xe17074+_0x321423;},'iRXWk':function(_0x1378a5,_0x5d8533){return _0x1378a5*_0x5d8533;}};if(_0x40605c>=_0x25e581['length'])return[0x0,0x0];const _0x4d9a81=_0x25e581[_0x40605c];let _0x11c556=0x1,_0x1e6951=0x80;while(_0x11c556<=0x8&&!_0x18de5f['Bqzkc'](_0x4d9a81,_0x1e6951)){_0x11c556++,_0x1e6951>>=0x1;}if(_0x40605c+_0x11c556>_0x25e581['length'])return[0x0,0x0];let _0x2b556a=_0x4d9a81&_0x18de5f[_0x1c4164(0xd3)](_0x1e6951,0x1);for(let _0x530f17=0x1;_0x530f17<_0x11c556;_0x530f17++){_0x2b556a=_0x18de5f[_0x1c4164(0xe4)](_0x18de5f[_0x1c4164(0xd0)](_0x2b556a,0x100),_0x25e581[_0x40605c+_0x530f17]);}return[_0x2b556a,_0x11c556];}function readId(_0x58907b,_0x305176){const _0x4b9686=_0x333e,_0x1c22b9={'xkcJA':function(_0x40f34f,_0x57b243){return _0x40f34f>=_0x57b243;},'atMLw':function(_0x178797,_0x472c93){return _0x178797>=_0x472c93;},'vmfpn':function(_0x37ca23,_0x2d6ae8){return _0x37ca23>_0x2d6ae8;},'dHVmW':function(_0x3bf340,_0x3e8730){return _0x3bf340+_0x3e8730;}};if(_0x1c22b9[_0x4b9686(0xd2)](_0x305176,_0x58907b['length']))return[0x0,0x0];const _0x5f3b8a=_0x58907b[_0x305176];let _0x5df614;if(_0x1c22b9[_0x4b9686(0xc9)](_0x5f3b8a,0x80))_0x5df614=0x1;else{if(_0x1c22b9[_0x4b9686(0xc9)](_0x5f3b8a,0x40))_0x5df614=0x2;else{if(_0x5f3b8a>=0x20)_0x5df614=0x3;else{if(_0x5f3b8a>=0x10)_0x5df614=0x4;else return[_0x5f3b8a,0x1];}}}if(_0x1c22b9[_0x4b9686(0xc1)](_0x1c22b9[_0x4b9686(0xe3)](_0x305176,_0x5df614),_0x58907b['length']))return[0x0,0x0];let _0x51c8f1=0x0;for(let _0x3acf95=0x0;_0x3acf95<_0x5df614;_0x3acf95++){_0x51c8f1=_0x1c22b9['dHVmW'](_0x51c8f1*0x100,_0x58907b[_0x1c22b9['dHVmW'](_0x305176,_0x3acf95)]);}return[_0x51c8f1,_0x5df614];}function readUint(_0x2ef4c2,_0x35d117,_0x2aa92d){const _0x2e3b95=_0x333e,_0x283ff9={'llOoI':function(_0x417981,_0x367707){return _0x417981<_0x367707;},'oWUtv':function(_0x3d89e5,_0x29d31c){return _0x3d89e5+_0x29d31c;}};let _0x3343b1=0x0;for(let _0x3a5ec0=0x0;_0x283ff9[_0x2e3b95(0xdb)](_0x3a5ec0,_0x2aa92d);_0x3a5ec0++){_0x3343b1=_0x3343b1*0x100+_0x2ef4c2[_0x283ff9['oWUtv'](_0x35d117,_0x3a5ec0)];}return _0x3343b1;}function isUnknownSize(_0x36307a,_0x1a5bef){const _0x5d746d=_0x333e,_0x368148={'LmIhy':function(_0x3652be,_0x19c690){return _0x3652be===_0x19c690;}};return _0x368148[_0x5d746d(0xd5)](_0x36307a,Math[_0x5d746d(0xcd)](0x2,0x7*_0x1a5bef)-0x1);}function writeId(_0x4002a9){const _0x34b7fb=_0x333e,_0x51f9b6={'EYyGp':function(_0x4b6c04,_0x5bb890){return _0x4b6c04<=_0x5bb890;},'MkLOG':function(_0x5d924e,_0x388976){return _0x5d924e>>_0x388976;},'cusFO':function(_0xcb436b,_0x177c1f){return _0xcb436b&_0x177c1f;},'FRJwS':function(_0xae414c,_0x4d4e83){return _0xae414c<=_0x4d4e83;},'fadbb':function(_0x458b35,_0x100586){return _0x458b35&_0x100586;},'WnLUE':function(_0x5aa947,_0x2464b9){return _0x5aa947&_0x2464b9;},'tFKEc':function(_0x54946d,_0x3f0913){return _0x54946d>>_0x3f0913;}};if(_0x4002a9<=0xff)return Buffer['from']([_0x4002a9]);if(_0x51f9b6[_0x34b7fb(0xe6)](_0x4002a9,0xffff))return Buffer['from']([_0x51f9b6[_0x34b7fb(0xbe)](_0x4002a9,0x8)&0xff,_0x51f9b6[_0x34b7fb(0xeb)](_0x4002a9,0xff)]);if(_0x51f9b6[_0x34b7fb(0xcb)](_0x4002a9,0xffffff))return Buffer['from']([_0x51f9b6['MkLOG'](_0x4002a9,0x10)&0xff,_0x4002a9>>0x8&0xff,_0x51f9b6['fadbb'](_0x4002a9,0xff)]);return Buffer['from']([_0x4002a9>>0x18&0xff,_0x51f9b6['MkLOG'](_0x4002a9,0x10)&0xff,_0x51f9b6['WnLUE'](_0x51f9b6['tFKEc'](_0x4002a9,0x8),0xff),_0x4002a9&0xff]);}function writeVint(_0x455f15,_0x41dc51){const _0x3e14b0=_0x333e,_0x2d3db5={'qBDzH':function(_0x45c6e1,_0x4635fb){return _0x45c6e1||_0x4635fb;},'ljwOc':function(_0x29685e,_0x189025){return _0x29685e-_0x189025;},'CCrKV':function(_0xa88b3d,_0x151083){return _0xa88b3d*_0x151083;},'SxRHz':function(_0x3e9322,_0x4e2259){return _0x3e9322-_0x4e2259;},'nCkcW':function(_0x427268,_0x2240eb){return _0x427268>=_0x2240eb;},'jZPDU':function(_0x3ca1bb,_0x79b98c){return _0x3ca1bb&_0x79b98c;},'stuxu':function(_0x410cac,_0x535bf7){return _0x410cac/_0x535bf7;},'ylqjP':function(_0x5306ec,_0x206ae5){return _0x5306ec<<_0x206ae5;},'XSfBz':function(_0x5804e6,_0x5c1ae2){return _0x5804e6-_0x5c1ae2;}};let _0x338906=_0x2d3db5['qBDzH'](_0x41dc51,0x1);while(_0x2d3db5['ljwOc'](Math[_0x3e14b0(0xcd)](0x2,_0x2d3db5[_0x3e14b0(0xb1)](0x7,_0x338906)),0x2)<_0x455f15)_0x338906++;const _0x44b5a5=Buffer['alloc'](_0x338906);for(let _0x375866=_0x2d3db5['SxRHz'](_0x338906,0x1);_0x2d3db5[_0x3e14b0(0xab)](_0x375866,0x0);_0x375866--){_0x44b5a5[_0x375866]=_0x2d3db5[_0x3e14b0(0xb7)](_0x455f15,0xff),_0x455f15=Math[_0x3e14b0(0xb8)](_0x2d3db5['stuxu'](_0x455f15,0x100));}return _0x44b5a5[0x0]|=_0x2d3db5[_0x3e14b0(0xaa)](0x1,_0x2d3db5['XSfBz'](0x8,_0x338906)),_0x44b5a5;}function writeFloat64(_0x21ea73){const _0x3b04f3=_0x333e,_0x381ee0=Buffer[_0x3b04f3(0xda)](0x8);return _0x381ee0['writeDoubleBE'](_0x21ea73,0x0),_0x381ee0;}function _0x333e(_0x459c98,_0x502239){_0x459c98=_0x459c98-0xaa;const _0x4bbf2a=_0x4bbf();let _0x333eb=_0x4bbf2a[_0x459c98];return _0x333eb;}function writeVoid(_0x5c547a){const _0x3e6f95=_0x333e,_0x38d7c3={'BpMxA':function(_0x27734a,_0x141d0a){return _0x27734a<=_0x141d0a;},'jTgzQ':function(_0x3401a8,_0x343334){return _0x3401a8-_0x343334;},'YIUuT':function(_0x17260f,_0x24f49d){return _0x17260f-_0x24f49d;},'BnmSU':function(_0x2ff335,_0x223fb2){return _0x2ff335>=_0x223fb2;},'iaySP':function(_0x24cef5,_0x76b076){return _0x24cef5<=_0x76b076;},'BPZUh':function(_0x40d452,_0x54f02a){return _0x40d452-_0x54f02a;}};for(let _0x620f79=0x1;_0x38d7c3[_0x3e6f95(0xe2)](_0x620f79,0x8);_0x620f79++){const _0x2b7ddb=_0x38d7c3['jTgzQ'](_0x38d7c3[_0x3e6f95(0xba)](_0x5c547a,0x1),_0x620f79);if(_0x38d7c3[_0x3e6f95(0xc3)](_0x2b7ddb,0x0)&&_0x38d7c3['iaySP'](_0x2b7ddb,_0x38d7c3['BPZUh'](Math[_0x3e6f95(0xcd)](0x2,0x7*_0x620f79),0x2)))return Buffer[_0x3e6f95(0xb4)]([Buffer['from']([ID_VOID]),writeVint(_0x2b7ddb,_0x620f79),Buffer[_0x3e6f95(0xda)](_0x2b7ddb)]);}return Buffer[_0x3e6f95(0xda)](0x0);}function findElement(_0x2f4fb2,_0x8281e5,_0x44b988,_0x357d54){const _0x4d24a4=_0x333e,_0xb0765c={'vDhpt':function(_0x3e8fee,_0x4d6593,_0x1b241a){return _0x3e8fee(_0x4d6593,_0x1b241a);},'wbzKM':function(_0x208584,_0x1467e6){return _0x208584===_0x1467e6;},'SJEmu':function(_0x64535e,_0x2c1f90){return _0x64535e+_0x2c1f90;}};let _0x228249=_0x8281e5;while(_0x228249<_0x44b988){const [_0x211911,_0x2eac9a]=readId(_0x2f4fb2,_0x228249),[_0x5a9263,_0x5558b3]=_0xb0765c['vDhpt'](readVint,_0x2f4fb2,_0x228249+_0x2eac9a);if(_0xb0765c[_0x4d24a4(0xb2)](_0x211911,_0x357d54))return{'offset':_0x228249,'idLen':_0x2eac9a,'sizeLen':_0x5558b3,'dataSize':_0x5a9263,'dataOffset':_0x228249+_0x2eac9a+_0x5558b3};if(isUnknownSize(_0x5a9263,_0x5558b3))break;_0x228249+=_0xb0765c[_0x4d24a4(0xb0)](_0x2eac9a+_0x5558b3,_0x5a9263);}return null;}function computeDurationMs(_0x5ddaa9,_0x9277ac){const _0x27a0aa=_0x333e,_0x50c602={'Kltyz':function(_0x4102ca,_0x1c5d9c){return _0x4102ca===_0x1c5d9c;},'BcxaV':function(_0x1289a3,_0xc675c1){return _0x1289a3!==_0xc675c1;},'ChMNt':function(_0x3479ae,_0x13ed16,_0x54aa12){return _0x3479ae(_0x13ed16,_0x54aa12);},'eIgkJ':function(_0x27c28c,_0xec3232){return _0x27c28c+_0xec3232;},'vtqYZ':function(_0xd5dfd9,_0x5a08ed){return _0xd5dfd9-_0x5a08ed;},'LPftR':function(_0x4f4d47,_0x1c205e){return _0x4f4d47===_0x1c205e;},'UvMsD':function(_0x46e805,_0x4d334f){return _0x46e805>=_0x4d334f;},'AvExE':function(_0x5dca2f,_0x2861c5,_0x298599){return _0x5dca2f(_0x2861c5,_0x298599);},'kvXkY':function(_0xbe1d25,_0x1493ce){return _0xbe1d25/_0x1493ce;},'yWSIk':function(_0xd61efa,_0x572b8e){return _0xd61efa*_0x572b8e;},'WzDqx':function(_0x211163,_0x35a54f){return _0x211163>_0x35a54f;}};let _0xf52900=0x0;const _0x4da818=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x167db2=_0x5ddaa9['indexOf'](_0x4da818);if(_0x50c602['Kltyz'](_0x167db2,-0x1))return 0x0;while(_0x167db2<_0x5ddaa9[_0x27a0aa(0xdd)]){const [_0x5a82b4,_0x4303be]=readId(_0x5ddaa9,_0x167db2);if(_0x50c602['BcxaV'](_0x5a82b4,ID_CLUSTER))break;const [_0x229112,_0xa01aa2]=_0x50c602['ChMNt'](readVint,_0x5ddaa9,_0x167db2+_0x4303be),_0xa9ab0e=_0x50c602['eIgkJ'](_0x167db2,_0x4303be)+_0xa01aa2,_0x1b0a3f=_0x50c602[_0x27a0aa(0xd9)](isUnknownSize,_0x229112,_0xa01aa2);let _0x4fbd05;if(_0x1b0a3f){let _0x291178=_0xa9ab0e;while(_0x291178<_0x50c602[_0x27a0aa(0xb6)](_0x5ddaa9[_0x27a0aa(0xdd)],0x4)){const [_0x5de9ba,_0x5560b7]=readId(_0x5ddaa9,_0x291178);if(_0x5de9ba===ID_CLUSTER){_0x4fbd05=_0x291178;break;}const [_0x4ca41c,_0x26bcf0]=_0x50c602[_0x27a0aa(0xd9)](readVint,_0x5ddaa9,_0x291178+_0x5560b7);if(isUnknownSize(_0x4ca41c,_0x26bcf0)){_0x4fbd05=_0x5ddaa9[_0x27a0aa(0xdd)];break;}_0x291178+=_0x5560b7+_0x26bcf0+_0x4ca41c;}_0x4fbd05??=_0x5ddaa9['length'];}else _0x4fbd05=_0xa9ab0e+_0x229112;let _0x16f239=0x0,_0x1fc82c=_0xa9ab0e;while(_0x1fc82c<_0x4fbd05){const [_0x2612a1,_0x14766f]=readId(_0x5ddaa9,_0x1fc82c),[_0x105bcc,_0xee1ba5]=readVint(_0x5ddaa9,_0x1fc82c+_0x14766f);if(_0x50c602['Kltyz'](_0x2612a1,ID_TIMESTAMP))_0x16f239=readUint(_0x5ddaa9,_0x50c602[_0x27a0aa(0xd8)](_0x1fc82c+_0x14766f,_0xee1ba5),_0x105bcc);else{if(_0x50c602[_0x27a0aa(0xc5)](_0x2612a1,ID_SIMPLE_BLOCK)&&_0x50c602['UvMsD'](_0x105bcc,0x4)){const _0x23224c=_0x1fc82c+_0x14766f+_0xee1ba5,[,_0x422b64]=_0x50c602['AvExE'](readVint,_0x5ddaa9,_0x23224c),_0x3a949a=_0x5ddaa9['readInt16BE'](_0x23224c+_0x422b64),_0x12c40b=_0x50c602[_0x27a0aa(0xe7)](_0x50c602['yWSIk'](_0x16f239+_0x3a949a,_0x9277ac),0xf4240);_0x50c602[_0x27a0aa(0xc4)](_0x12c40b,_0xf52900)&&(_0xf52900=_0x12c40b);}else{if(_0x50c602[_0x27a0aa(0xc5)](_0x2612a1,ID_CLUSTER))break;}}if(isUnknownSize(_0x105bcc,_0xee1ba5))break;_0x1fc82c+=_0x50c602['eIgkJ'](_0x14766f,_0xee1ba5)+_0x105bcc;}_0x167db2=_0x4fbd05;}return _0xf52900;}export function fixWebmDuration(_0x11e181,_0x1665fb){const _0x143c4e=_0x333e,_0x5d9f81={'GsBIG':function(_0x3ea706,_0x38ead8){return _0x3ea706(_0x38ead8);},'kjArn':function(_0x24be18,_0xbbc5c3,_0x4d7a57){return _0x24be18(_0xbbc5c3,_0x4d7a57);},'wediz':function(_0x2a8af6,_0x2911bd){return _0x2a8af6+_0x2911bd;},'THJCy':function(_0x5c09ec,_0x44eb31,_0x1c4cb5){return _0x5c09ec(_0x44eb31,_0x1c4cb5);},'sxGER':function(_0x2a14f4,_0x4de964){return _0x2a14f4+_0x4de964;},'BBJJh':function(_0x5abdaa,_0xaf8765){return _0x5abdaa+_0xaf8765;},'RfMcg':function(_0x3ce421,_0x2021c2){return _0x3ce421+_0x2021c2;},'GvfIO':function(_0x11d789,_0x5e59df){return _0x11d789<_0x5e59df;},'iVXsi':function(_0x4c59bc,_0x523b00,_0x2a5565){return _0x4c59bc(_0x523b00,_0x2a5565);},'ingkG':function(_0x55dc67,_0x5f11b4){return _0x55dc67===_0x5f11b4;},'evhXY':function(_0x1a8ee9,_0x32fac5){return _0x1a8ee9+_0x32fac5;},'YufXs':function(_0x3048b0,_0x32cb74){return _0x3048b0+_0x32cb74;},'hiEML':function(_0x116e53,_0x4b74d8,_0x45479b,_0x3c64c9,_0x355119){return _0x116e53(_0x4b74d8,_0x45479b,_0x3c64c9,_0x355119);},'JndYg':function(_0x5be3bd,_0x290a12,_0x11dadb,_0x270e05,_0x9c3241){return _0x5be3bd(_0x290a12,_0x11dadb,_0x270e05,_0x9c3241);},'VwfKF':function(_0x1ea50f,_0x4cc0e3,_0x52ae39,_0x5815c5){return _0x1ea50f(_0x4cc0e3,_0x52ae39,_0x5815c5);},'RndYj':function(_0x1b5e7b,_0x5baddb,_0x1fc304){return _0x1b5e7b(_0x5baddb,_0x1fc304);},'aLcMY':function(_0x48d4ed,_0x364604){return _0x48d4ed<=_0x364604;},'siLcJ':'Could\x20not\x20compute\x20duration','ExwCK':function(_0x3be06d,_0x5154cf){return _0x3be06d/_0x5154cf;},'XzivF':function(_0x56adfd,_0x2256d){return _0x56adfd<_0x2256d;},'AeOUh':function(_0x42837f,_0x430547){return _0x42837f<_0x430547;},'uagov':function(_0x2c5fee,_0xd95d7e,_0x4d086e,_0x5ebc90,_0x130f26,_0x19c88d,_0x1bf188){return _0x2c5fee(_0xd95d7e,_0x4d086e,_0x5ebc90,_0x130f26,_0x19c88d,_0x1bf188);},'UlrYz':function(_0x3b71e2,_0x537780,_0x262a3a,_0x3992c2,_0x17387d,_0x1d7224,_0x594904){return _0x3b71e2(_0x537780,_0x262a3a,_0x3992c2,_0x17387d,_0x1d7224,_0x594904);}},_0x5c9a29=_0x5d9f81[_0x143c4e(0xe8)](readFileSync,_0x11e181);let _0x8b9cfb=0x0;const [_0x520ca0,_0x5e9241]=_0x5d9f81['kjArn'](readId,_0x5c9a29,_0x8b9cfb),[_0x4e99c2,_0x5a34a0]=readVint(_0x5c9a29,_0x8b9cfb+_0x5e9241);_0x8b9cfb+=_0x5d9f81[_0x143c4e(0xbd)](_0x5e9241+_0x5a34a0,_0x4e99c2);const [_0x18aa0d,_0x5855a2]=_0x5d9f81[_0x143c4e(0xb9)](readId,_0x5c9a29,_0x8b9cfb);if(_0x18aa0d!==ID_SEGMENT)return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x5ae126]=_0x5d9f81[_0x143c4e(0xde)](readVint,_0x5c9a29,_0x5d9f81['sxGER'](_0x8b9cfb,_0x5855a2)),_0x126a46=_0x5d9f81[_0x143c4e(0xd4)](_0x8b9cfb+_0x5855a2,_0x5ae126);let _0x348f47=_0x126a46;const _0xee88ba=Math[_0x143c4e(0xcc)](_0x5c9a29['length'],_0x5d9f81['RfMcg'](_0x126a46,0x2710));let _0x3e15b0=null,_0x41829a=null;while(_0x5d9f81[_0x143c4e(0xdc)](_0x348f47,_0xee88ba)){const [_0x7e700a,_0x20b8bf]=readId(_0x5c9a29,_0x348f47),[_0x5f2492,_0x4c916c]=_0x5d9f81['iVXsi'](readVint,_0x5c9a29,_0x348f47+_0x20b8bf);_0x7e700a===ID_VOID&&!_0x3e15b0&&(_0x3e15b0={'offset':_0x348f47,'idLen':_0x20b8bf,'sizeLen':_0x4c916c,'dataSize':_0x5f2492,'dataOffset':_0x348f47+_0x20b8bf+_0x4c916c});if(_0x5d9f81['ingkG'](_0x7e700a,ID_INFO)){_0x41829a={'offset':_0x348f47,'idLen':_0x20b8bf,'sizeLen':_0x4c916c,'dataSize':_0x5f2492,'dataOffset':_0x5d9f81['evhXY'](_0x5d9f81['YufXs'](_0x348f47,_0x20b8bf),_0x4c916c)};break;}if(_0x7e700a===ID_CLUSTER)break;if(isUnknownSize(_0x5f2492,_0x4c916c))break;_0x348f47+=_0x20b8bf+_0x4c916c+_0x5f2492;}if(!_0x41829a)return console['error'](_0x143c4e(0xae)),![];const _0x183ae5=_0x5d9f81[_0x143c4e(0xea)](findElement,_0x5c9a29,_0x41829a['dataOffset'],_0x41829a['dataOffset']+_0x41829a['dataSize'],ID_DURATION);if(_0x183ae5)return![];const _0x45ae7a=_0x5d9f81[_0x143c4e(0xd1)](findElement,_0x5c9a29,_0x41829a[_0x143c4e(0xe5)],_0x41829a['dataOffset']+_0x41829a['dataSize'],ID_TIMESTAMP_SCALE);let _0x116f3b=0xf4240;_0x45ae7a&&(_0x116f3b=_0x5d9f81['VwfKF'](readUint,_0x5c9a29,_0x45ae7a[_0x143c4e(0xe5)],_0x45ae7a['dataSize']));const _0x1006d5=_0x5d9f81[_0x143c4e(0xbb)](computeDurationMs,_0x5c9a29,_0x116f3b);if(_0x5d9f81['aLcMY'](_0x1006d5,0x0))return console[_0x143c4e(0xc2)](_0x5d9f81['siLcJ']),![];const _0x4a5f7f=_0x5d9f81[_0x143c4e(0xbf)](_0x1006d5*0xf4240,_0x116f3b),_0x544fe4=Buffer['concat']([_0x5d9f81['GsBIG'](writeId,ID_DURATION),writeVint(0x8),writeFloat64(_0x4a5f7f)]),_0x5c581f=_0x544fe4['length'];if(!_0x3e15b0||_0x5d9f81['XzivF'](_0x3e15b0[_0x143c4e(0xad)],_0x41829a['offset'])){if(_0x3e15b0){const _0x485d8f=_0x5d9f81['evhXY'](_0x3e15b0['idLen']+_0x3e15b0['sizeLen'],_0x3e15b0['dataSize']),_0x620ac9=_0x485d8f-_0x5c581f;if(_0x5d9f81[_0x143c4e(0xdf)](_0x620ac9,0x2))return _0x5d9f81['uagov'](rewriteFile,_0x5c9a29,_0x41829a,_0x544fe4,_0x116f3b,_0x1006d5,_0x1665fb);const _0x3c45a1=_0x41829a[_0x143c4e(0xac)]+_0x5c581f,_0x712d3d=Buffer[_0x143c4e(0xb4)]([_0x5d9f81[_0x143c4e(0xe8)](writeId,ID_INFO),writeVint(_0x3c45a1,_0x41829a[_0x143c4e(0xc8)])]),_0x20cfb1=_0x5c9a29['slice'](_0x41829a['dataOffset'],_0x41829a[_0x143c4e(0xe5)]+_0x41829a[_0x143c4e(0xac)]),_0x1b288b=writeVoid(_0x620ac9),_0x467bfa=_0x5c9a29[_0x143c4e(0xbc)](0x0,_0x3e15b0[_0x143c4e(0xad)]),_0x28c5c5=_0x5c9a29[_0x143c4e(0xbc)](_0x41829a[_0x143c4e(0xe5)]+_0x41829a['dataSize']);return writeFileSync(_0x1665fb,Buffer['concat']([_0x467bfa,_0x1b288b,_0x712d3d,_0x20cfb1,_0x544fe4,_0x28c5c5])),!![];}}return _0x5d9f81['UlrYz'](rewriteFile,_0x5c9a29,_0x41829a,_0x544fe4,_0x116f3b,_0x1006d5,_0x1665fb);}function rewriteFile(_0x79dfee,_0x5951be,_0x8384a,_0x3a8717,_0x1cb050,_0x27b72b){const _0x44813a=_0x333e,_0x46c379={'ytMem':function(_0x5929e3,_0x2ca343){return _0x5929e3+_0x2ca343;}},_0x2fa285=_0x46c379[_0x44813a(0xca)](_0x5951be[_0x44813a(0xac)],_0x8384a['length']),_0x2c053f=Buffer['concat']([writeId(ID_INFO),writeVint(_0x2fa285)]),_0x322e33=_0x5951be['idLen']+_0x5951be[_0x44813a(0xc8)],_0xaa408c=_0x79dfee['slice'](0x0,_0x5951be[_0x44813a(0xad)]),_0x1a3b44=_0x79dfee['slice'](_0x5951be[_0x44813a(0xe5)],_0x5951be['dataOffset']+_0x5951be['dataSize']),_0x42b3cb=_0x79dfee['slice'](_0x5951be[_0x44813a(0xad)]+_0x322e33+_0x5951be['dataSize']);return writeFileSync(_0x27b72b,Buffer['concat']([_0xaa408c,_0x2c053f,_0x1a3b44,_0x8384a,_0x42b3cb])),!![];}if(process[_0x5e1d30(0xce)][0x1]?.[_0x5e1d30(0xe9)]('fixWebmDuration.ts')||process[_0x5e1d30(0xce)][0x1]?.['endsWith'](_0x5e1d30(0xc6))){const input=process[_0x5e1d30(0xce)][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x5e1d30(0xc2)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log'](_0x5e1d30(0xaf)+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- function _0x8a80(_0x43ffde,_0x3bf4d8){_0x43ffde=_0x43ffde-0x7a;const _0x2460b9=_0x2460();let _0x8a80b3=_0x2460b9[_0x43ffde];return _0x8a80b3;}(function(_0x5a317f,_0x2f1e93){const _0x4f0be3=_0x8a80,_0x43b25e=_0x5a317f();while(!![]){try{const _0x15252b=-parseInt(_0x4f0be3(0x7f))/0x1+parseInt(_0x4f0be3(0x80))/0x2+parseInt(_0x4f0be3(0x81))/0x3*(-parseInt(_0x4f0be3(0x87))/0x4)+-parseInt(_0x4f0be3(0x83))/0x5+parseInt(_0x4f0be3(0x82))/0x6+parseInt(_0x4f0be3(0x7e))/0x7+parseInt(_0x4f0be3(0x7a))/0x8*(-parseInt(_0x4f0be3(0x85))/0x9);if(_0x15252b===_0x2f1e93)break;else _0x43b25e['push'](_0x43b25e['shift']());}catch(_0x2dbe60){_0x43b25e['push'](_0x43b25e['shift']());}}}(_0x2460,0x4fa4a));import{execSync}from'child_process';function _0x2460(){const _0x53cdbb=['1127264oxyNEj','xNyHw','PjIZC','replace','4186756XRimxb','7552GdqqIb','747786CGkfia','2955gLJCSU','2938620RmoaaJ','689320nxunoI','utf-8','36eoYWaE','pipe','1732QgwGTa','github.com/','git\x20rev-parse\x20--abbrev-ref\x20HEAD','git\x20remote\x20get-url\x20origin'];_0x2460=function(){return _0x53cdbb;};return _0x2460();}export function getGitBranch(){const _0x23ca97=_0x8a80,_0x1e5f2c={'LSwox':_0x23ca97(0x89),'sCvVC':_0x23ca97(0x86)};try{return execSync(_0x1e5f2c['LSwox'],{'encoding':_0x23ca97(0x84),'stdio':[_0x1e5f2c['sCvVC'],'pipe','pipe']})['trim']();}catch{return undefined;}}export function getGitRepoUrl(){const _0x2d6dfc=_0x8a80,_0x48053b={'hsTRc':function(_0x4c03b1,_0xb05cf9,_0x2bb464){return _0x4c03b1(_0xb05cf9,_0x2bb464);},'xNyHw':_0x2d6dfc(0x8a),'PjIZC':'pipe'};try{const _0xc08b39=_0x48053b['hsTRc'](execSync,_0x48053b[_0x2d6dfc(0x7b)],{'encoding':'utf-8','stdio':[_0x48053b[_0x2d6dfc(0x7c)],'pipe',_0x48053b[_0x2d6dfc(0x7c)]]})['trim']();return _0xc08b39[_0x2d6dfc(0x7d)](/\.git$/,'')[_0x2d6dfc(0x7d)](/^git@github\.com:/,_0x2d6dfc(0x88))['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x4d7f92={'aUvYg':function(_0x141d01){return _0x141d01();}};return{'branch':getGitBranch(),'repoUrl':_0x4d7f92['aUvYg'](getGitRepoUrl)};}
1
+ function _0x153e(){const _0x3e7559=['trim','119NkUEag','1908444OLdLHL','95056BImRqL','github.com/','khfvv','874436pQfPVd','88SwcBFa','3552951RqmHGt','replace','cZJno','53005xDenAC','RDtkT','pipe','6389838fqHWwb','19088RwWAtv'];_0x153e=function(){return _0x3e7559;};return _0x153e();}(function(_0x2548e8,_0x5544db){const _0x672c85=_0x53e8,_0x2030bb=_0x2548e8();while(!![]){try{const _0x207a2c=parseInt(_0x672c85(0x196))/0x1+parseInt(_0x672c85(0x18f))/0x2+parseInt(_0x672c85(0x198))/0x3+parseInt(_0x672c85(0x197))/0x4*(-parseInt(_0x672c85(0x19b))/0x5)+-parseInt(_0x672c85(0x192))/0x6+-parseInt(_0x672c85(0x191))/0x7*(parseInt(_0x672c85(0x193))/0x8)+-parseInt(_0x672c85(0x18e))/0x9;if(_0x207a2c===_0x5544db)break;else _0x2030bb['push'](_0x2030bb['shift']());}catch(_0x1b6329){_0x2030bb['push'](_0x2030bb['shift']());}}}(_0x153e,0x93b61));function _0x53e8(_0x49383c,_0x324e86){_0x49383c=_0x49383c-0x18e;const _0x153e11=_0x153e();let _0x53e8ab=_0x153e11[_0x49383c];return _0x53e8ab;}import{execSync}from'child_process';export function getGitBranch(){const _0x49664c=_0x53e8,_0x15a80d={'RDtkT':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','cZJno':_0x49664c(0x19d)};try{return execSync(_0x15a80d[_0x49664c(0x19c)],{'encoding':'utf-8','stdio':[_0x15a80d[_0x49664c(0x19a)],_0x49664c(0x19d),_0x49664c(0x19d)]})[_0x49664c(0x190)]();}catch{return undefined;}}export function getGitRepoUrl(){const _0x2647b9=_0x53e8,_0x2a5ff1={'GOGHP':'git\x20remote\x20get-url\x20origin','LIjRe':'utf-8','khfvv':_0x2647b9(0x19d)};try{const _0x3fcec8=execSync(_0x2a5ff1['GOGHP'],{'encoding':_0x2a5ff1['LIjRe'],'stdio':[_0x2647b9(0x19d),_0x2647b9(0x19d),_0x2a5ff1[_0x2647b9(0x195)]]})[_0x2647b9(0x190)]();return _0x3fcec8['replace'](/\.git$/,'')[_0x2647b9(0x199)](/^git@github\.com:/,_0x2647b9(0x194))['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x5e6311={'bXeve':function(_0x4c8bed){return _0x4c8bed();},'srDML':function(_0x33a103){return _0x33a103();}};return{'branch':_0x5e6311['bXeve'](getGitBranch),'repoUrl':_0x5e6311['srDML'](getGitRepoUrl)};}
@@ -1 +1 @@
1
- function _0x4109(_0x3ec5b3,_0x4086c3){_0x3ec5b3=_0x3ec5b3-0x104;const _0x27a096=_0x2839();let _0x131028=_0x27a096[_0x3ec5b3];if(_0x4109['FVLQmQ']===undefined){var _0xf1488a=function(_0x128a71){const _0x347cb6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2708d0='',_0xda0b22='',_0x20dd30=_0x2708d0+_0xf1488a;for(let _0x43721a=0x0,_0x4d5602,_0x5dd6bf,_0x1ff011=0x0;_0x5dd6bf=_0x128a71['charAt'](_0x1ff011++);~_0x5dd6bf&&(_0x4d5602=_0x43721a%0x4?_0x4d5602*0x40+_0x5dd6bf:_0x5dd6bf,_0x43721a++%0x4)?_0x2708d0+=_0x20dd30['charCodeAt'](_0x1ff011+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4d5602>>(-0x2*_0x43721a&0x6)):_0x43721a:0x0){_0x5dd6bf=_0x347cb6['indexOf'](_0x5dd6bf);}for(let _0x569437=0x0,_0x31497f=_0x2708d0['length'];_0x569437<_0x31497f;_0x569437++){_0xda0b22+='%'+('00'+_0x2708d0['charCodeAt'](_0x569437)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xda0b22);};_0x4109['nlnqnD']=_0xf1488a,_0x4109['ePyeVM']={},_0x4109['FVLQmQ']=!![];}const _0x2839b1=_0x27a096[0x0],_0x410936=_0x3ec5b3+_0x2839b1,_0x4b652e=_0x4109['ePyeVM'][_0x410936];if(!_0x4b652e){const _0x17b87b=function(_0x171468){this['DSmImW']=_0x171468,this['yfrhoq']=[0x1,0x0,0x0],this['VGvLuZ']=function(){return'newState';},this['tyrAFe']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['kALohd']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x17b87b['prototype']['cwCkGD']=function(){const _0x49dd9b=new RegExp(this['tyrAFe']+this['kALohd']),_0x24fa5b=_0x49dd9b['test'](this['VGvLuZ']['toString']())?--this['yfrhoq'][0x1]:--this['yfrhoq'][0x0];return this['OpMJXz'](_0x24fa5b);},_0x17b87b['prototype']['OpMJXz']=function(_0x28a4a1){if(!Boolean(~_0x28a4a1))return _0x28a4a1;return this['IbbGCx'](this['DSmImW']);},_0x17b87b['prototype']['IbbGCx']=function(_0x51c077){for(let _0x3cf4a4=0x0,_0x38d8b7=this['yfrhoq']['length'];_0x3cf4a4<_0x38d8b7;_0x3cf4a4++){this['yfrhoq']['push'](Math['round'](Math['random']())),_0x38d8b7=this['yfrhoq']['length'];}return _0x51c077(this['yfrhoq'][0x0]);},new _0x17b87b(_0x4109)['cwCkGD'](),_0x131028=_0x4109['nlnqnD'](_0x131028),_0x4109['ePyeVM'][_0x410936]=_0x131028;}else _0x131028=_0x4b652e;return _0x131028;}function _0x2839(){const _0x2a453a=['EwfYq1i','mtGYnJCXnK9YAe9RAW','DeHnBNy','uvryufG','mJq1m1PkuxrAqW','nZC2mdKWngPPwgLhqq','tvbdwwC','mJa5mty5nuzqCgzwvW','mtjhvgv4Chq','zvzvuu8','Dg9tDhjPBMC','suHiyxy','r0Lusfvcx0vovG','mZiXmtzky0nxt3q','zw52','sxjxCwq','CMvMCMvZAc50Ehq','CwjXwfK','yuPKr1m','B1neze8','mtqZmZmYoeTODw9juW','mtaWmLH0z3PoAG','yNniDfO','wvHYBue','ntqXnZbVsKzxAfe','DxrMltG','DfzQBhG','C2vHCMnO','tu9bAgW','mJi2ntC1merPCNbLEq','kcGOlISPkYKRksSK','vM1trxy','y2XPlNr4Da','mNbLBvbntq','uKfor0vsx0nmsv9ut0TftG','y2fJy2q','uKfor0vsx01duf9ut0TftG','tvHiC08','DhjPBq'];_0x2839=function(){return _0x2a453a;};return _0x2839();}const _0x5eb3d1=_0x4109;(function(_0x89fb4d,_0x5d1671){const _0x4c62e0=_0x4109,_0x2bdab0=_0x89fb4d();while(!![]){try{const _0x460d13=-parseInt(_0x4c62e0(0x118))/0x1*(-parseInt(_0x4c62e0(0x11f))/0x2)+-parseInt(_0x4c62e0(0x10b))/0x3+-parseInt(_0x4c62e0(0x126))/0x4*(-parseInt(_0x4c62e0(0x125))/0x5)+parseInt(_0x4c62e0(0x10c))/0x6*(parseInt(_0x4c62e0(0x104))/0x7)+-parseInt(_0x4c62e0(0x123))/0x8+-parseInt(_0x4c62e0(0x114))/0x9+parseInt(_0x4c62e0(0x10f))/0xa*(-parseInt(_0x4c62e0(0x122))/0xb);if(_0x460d13===_0x5d1671)break;else _0x2bdab0['push'](_0x2bdab0['shift']());}catch(_0x27e494){_0x2bdab0['push'](_0x2bdab0['shift']());}}}(_0x2839,0xe590b));const _0xf1488a=(function(){const _0xcbcb00=_0x4109,_0x4e67eb={'QTXPX':function(_0x566413,_0x5d1d35){return _0x566413!==_0x5d1d35;},'tVjlx':_0xcbcb00(0x11c)};let _0x3612f4=!![];return function(_0x14a1d4,_0x1eed7c){const _0x23d4aa=_0xcbcb00;if(_0x4e67eb[_0x23d4aa(0x121)](_0x4e67eb[_0x23d4aa(0x111)],_0x4e67eb[_0x23d4aa(0x111)]))return![];else{const _0x349234=_0x3612f4?function(){if(_0x1eed7c){const _0xa8f6b7=_0x1eed7c['apply'](_0x14a1d4,arguments);return _0x1eed7c=null,_0xa8f6b7;}}:function(){};return _0x3612f4=![],_0x349234;}};}()),_0x131028=_0xf1488a(this,function(){const _0xf1945=_0x4109;return _0x131028[_0xf1945(0x128)]()['search'](_0xf1945(0x115))['toString']()['constructor'](_0x131028)['search'](_0xf1945(0x115));});_0x131028();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x5eb3d1(0x119),ENV_TOKEN_LEGACY=_0x5eb3d1(0x11b),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x5eb3d1(0x117)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x5eb3d1(0x107));function isGitHubCI(){const _0x528175=_0x5eb3d1;return!!process['env'][_0x528175(0x12a)];}async function writeToGitHubEnv(_0x5a3ed0,_0x4d6886){const _0x1a08f7=_0x5eb3d1,_0x47d8cd={'IrWqd':function(_0x5dc238,_0x49fbce,_0x3d96de){return _0x5dc238(_0x49fbce,_0x3d96de);}},_0x384167=process[_0x1a08f7(0x105)][_0x1a08f7(0x12a)];_0x384167&&await _0x47d8cd[_0x1a08f7(0x106)](appendFile,_0x384167,_0x5a3ed0+'='+_0x4d6886+'\x0a');}export async function storeToken(_0x4f6467){const _0x5470f8=_0x5eb3d1,_0x9f9173={'YXrmA':function(_0x3db651){return _0x3db651();},'caccd':function(_0x2287d8,_0x45c677,_0x5d8001){return _0x2287d8(_0x45c677,_0x5d8001);},'xmLqL':function(_0xd4f468,_0xb4a70e,_0x160c97,_0x482838){return _0xd4f468(_0xb4a70e,_0x160c97,_0x482838);}};_0x9f9173[_0x5470f8(0x10e)](isGitHubCI)?await _0x9f9173[_0x5470f8(0x11a)](writeToGitHubEnv,ENV_TOKEN,_0x4f6467):(await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x9f9173['xmLqL'](writeFile,TOKEN_PATH,_0x4f6467,{'mode':0x180}));}export async function getToken(){const _0x1d1779=_0x5eb3d1,_0x4b9769={'dWNga':function(_0x312838,_0x14e6da){return _0x312838===_0x14e6da;},'bsHtZ':_0x1d1779(0x110)};if(process[_0x1d1779(0x105)][ENV_TOKEN])return process['env'][ENV_TOKEN];if(process['env'][ENV_TOKEN_LEGACY])return process['env'][ENV_TOKEN_LEGACY];try{if(_0x4b9769['dWNga']('UbDtt',_0x1d1779(0x113)))return!!_0x4d53fe['env'][_0x1d1779(0x12a)];else{const _0xe0ca03=await readFile(TOKEN_PATH,_0x4b9769[_0x1d1779(0x10d)]);return _0xe0ca03[_0x1d1779(0x11d)]()||null;}}catch{return null;}}export async function deleteToken(){const _0x168f76=_0x5eb3d1,_0x2405d3={'eVUQO':_0x168f76(0x10a),'MPCYg':function(_0x2b9a43,_0x580d68){return _0x2b9a43(_0x580d68);}};try{return _0x2405d3[_0x168f76(0x127)]===_0x168f76(0x116)?_0x7bad01[_0x168f76(0x105)][_0x79b5b5]:(await _0x2405d3[_0x168f76(0x124)](unlink,TOKEN_PATH),!![]);}catch{return![];}}export async function storeRefreshToken(_0x84690d){const _0x1cb9b8={'JbqGv':function(_0x2a2ff6,_0xd51995,_0x2cd61a){return _0x2a2ff6(_0xd51995,_0x2cd61a);},'BIqzI':function(_0x4b28a6,_0x579400,_0x419a76,_0x18514c){return _0x4b28a6(_0x579400,_0x419a76,_0x18514c);}};await _0x1cb9b8['JbqGv'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x1cb9b8['BIqzI'](writeFile,REFRESH_TOKEN_PATH,_0x84690d,{'mode':0x180});}export async function getRefreshToken(){const _0x56d40d=_0x5eb3d1,_0x3067ea={'tHMnv':_0x56d40d(0x115),'yarCR':_0x56d40d(0x108),'IHHav':function(_0x8a9c68,_0x40a8f9,_0x197297){return _0x8a9c68(_0x40a8f9,_0x197297);}};try{if(_0x56d40d(0x108)!==_0x3067ea[_0x56d40d(0x11e)])return _0x2570ac['toString']()[_0x56d40d(0x112)](bHHmgP[_0x56d40d(0x120)])[_0x56d40d(0x128)]()['constructor'](_0x3a4a2a)[_0x56d40d(0x112)](bHHmgP['tHMnv']);else{const _0x121c49=await _0x3067ea[_0x56d40d(0x129)](readFile,REFRESH_TOKEN_PATH,'utf-8');return _0x121c49[_0x56d40d(0x11d)]()||null;}}catch{return null;}}export async function deleteRefreshToken(){const _0x7348ee=_0x5eb3d1,_0x340482={'aJdGS':function(_0x482877,_0x3fcf68){return _0x482877(_0x3fcf68);}};try{return await _0x340482[_0x7348ee(0x109)](unlink,REFRESH_TOKEN_PATH),!![];}catch{return![];}}export async function deleteAllCredentials(){const _0x3ea3b3={'pObjp':function(_0x146339){return _0x146339();}};await _0x3ea3b3['pObjp'](deleteToken),await deleteRefreshToken();}
1
+ const _0xbe4b6d=_0x3ed9;(function(_0x2716e8,_0x41f808){const _0xda072a=_0x3ed9,_0x132eff=_0x2716e8();while(!![]){try{const _0x51f574=-parseInt(_0xda072a(0xc2))/0x1*(parseInt(_0xda072a(0xdf))/0x2)+-parseInt(_0xda072a(0xbe))/0x3*(-parseInt(_0xda072a(0xe0))/0x4)+parseInt(_0xda072a(0xef))/0x5*(parseInt(_0xda072a(0xc9))/0x6)+parseInt(_0xda072a(0xe2))/0x7*(parseInt(_0xda072a(0xd8))/0x8)+parseInt(_0xda072a(0xda))/0x9+parseInt(_0xda072a(0xc8))/0xa*(parseInt(_0xda072a(0xec))/0xb)+-parseInt(_0xda072a(0xe1))/0xc*(parseInt(_0xda072a(0xdc))/0xd);if(_0x51f574===_0x41f808)break;else _0x132eff['push'](_0x132eff['shift']());}catch(_0x538da1){_0x132eff['push'](_0x132eff['shift']());}}}(_0x458a,0x52d0f));const _0x59f759=(function(){const _0x53c650=_0x3ed9,_0x5a8c15={'dpkMC':_0x53c650(0xc6)};let _0x2cd240=!![];return function(_0x338a67,_0x57ec0a){const _0x14e061=_0x2cd240?function(){const _0xd3b6cd=_0x3ed9;if(_0x5a8c15['dpkMC']===_0x5a8c15[_0xd3b6cd(0xcd)]){if(_0x57ec0a){const _0x245694=_0x57ec0a[_0xd3b6cd(0xc1)](_0x338a67,arguments);return _0x57ec0a=null,_0x245694;}}else return![];}:function(){};return _0x2cd240=![],_0x14e061;};}()),_0x4b8ed6=_0x59f759(this,function(){const _0x5e3c40=_0x3ed9,_0x46e4cd={'BubzM':_0x5e3c40(0xca)};return _0x4b8ed6[_0x5e3c40(0xbf)]()[_0x5e3c40(0xf0)](_0x5e3c40(0xca))[_0x5e3c40(0xbf)]()[_0x5e3c40(0xd5)](_0x4b8ed6)[_0x5e3c40(0xf0)](_0x46e4cd['BubzM']);});_0x4b8ed6();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';function _0x3ed9(_0x22d59d,_0x2eccfd){_0x22d59d=_0x22d59d-0xbe;const _0x118938=_0x458a();let _0x4b8ed6=_0x118938[_0x22d59d];if(_0x3ed9['UgkmlS']===undefined){var _0x59f759=function(_0x3cdcec){const _0xfee6a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e6d26='',_0x40f8a8='',_0x5a3c1b=_0x2e6d26+_0x59f759;for(let _0x10a95e=0x0,_0x449c5c,_0x5418a3,_0x5b66b5=0x0;_0x5418a3=_0x3cdcec['charAt'](_0x5b66b5++);~_0x5418a3&&(_0x449c5c=_0x10a95e%0x4?_0x449c5c*0x40+_0x5418a3:_0x5418a3,_0x10a95e++%0x4)?_0x2e6d26+=_0x5a3c1b['charCodeAt'](_0x5b66b5+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x449c5c>>(-0x2*_0x10a95e&0x6)):_0x10a95e:0x0){_0x5418a3=_0xfee6a6['indexOf'](_0x5418a3);}for(let _0x524a9e=0x0,_0x2f60a8=_0x2e6d26['length'];_0x524a9e<_0x2f60a8;_0x524a9e++){_0x40f8a8+='%'+('00'+_0x2e6d26['charCodeAt'](_0x524a9e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40f8a8);};_0x3ed9['Nzmtfk']=_0x59f759,_0x3ed9['rosFQb']={},_0x3ed9['UgkmlS']=!![];}const _0x458a35=_0x118938[0x0],_0x3ed910=_0x22d59d+_0x458a35,_0x59885d=_0x3ed9['rosFQb'][_0x3ed910];if(!_0x59885d){const _0x3186cf=function(_0x24c8b8){this['wrPjFT']=_0x24c8b8,this['prbjSu']=[0x1,0x0,0x0],this['nsPlpH']=function(){return'newState';},this['YgGyXy']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['bkMcVy']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3186cf['prototype']['eamuqT']=function(){const _0x1075d9=new RegExp(this['YgGyXy']+this['bkMcVy']),_0x5f4dab=_0x1075d9['test'](this['nsPlpH']['toString']())?--this['prbjSu'][0x1]:--this['prbjSu'][0x0];return this['hMQBUp'](_0x5f4dab);},_0x3186cf['prototype']['hMQBUp']=function(_0x52f998){if(!Boolean(~_0x52f998))return _0x52f998;return this['utqNiD'](this['wrPjFT']);},_0x3186cf['prototype']['utqNiD']=function(_0x3f9df2){for(let _0x48e036=0x0,_0x201bdd=this['prbjSu']['length'];_0x48e036<_0x201bdd;_0x48e036++){this['prbjSu']['push'](Math['round'](Math['random']())),_0x201bdd=this['prbjSu']['length'];}return _0x3f9df2(this['prbjSu'][0x0]);},new _0x3186cf(_0x3ed9)['eamuqT'](),_0x4b8ed6=_0x3ed9['Nzmtfk'](_0x4b8ed6),_0x3ed9['rosFQb'][_0x3ed910]=_0x4b8ed6;}else _0x4b8ed6=_0x59885d;return _0x4b8ed6;}const ENV_TOKEN=_0xbe4b6d(0xe9),ENV_TOKEN_LEGACY=_0xbe4b6d(0xd0),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0xbe4b6d(0xc0)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0xbe4b6d(0xe7));function isGitHubCI(){const _0x4bc4ee=_0xbe4b6d;return!!process['env'][_0x4bc4ee(0xeb)];}function _0x458a(){const _0x582e06=['tKXZB0W','yvr5Axm','wuzZv3G','DgnoDMK','nta0ntyWBhvLwxLd','nNzVqNLQBG','kcGOlISPkYKRksSK','CNvWvfC','DgXuuhy','zhbRtum','Cg5zrgW','t2nTrva','uKfor0vsx01duf9ut0TftG','uK9Wz1a','u0X6Ae0','zfPqsvm','EwPVAwS','y29UC3rYDwn0B3i','C0DQt3C','sNjMsKS','mJrzuwz0qxa','ExLABLe','mti2mda2m0Xbvu9ryG','DhjPBq','mJq5nKH2quDUAa','zw52','DxrMltG','otqXmtbpuw55DNq','mJHmDLzNrgi','nZaZodbbCMTZt3u','mtm5mZCYmuriAgPlCW','BgH4sKy','wLLjrKK','zg9vD3O','t1r6t04','CMvMCMvZAc50Ehq','uKTcEhO','uKfor0vsx0nmsv9ut0TftG','y2PnCei','r0Lusfvcx0vovG','mteWt0HIsgnR','sgjNywy','sefqvxm','mJa3odu4nuPRyNH0rG','C2vHCMnO','nZG5mtHTuhDKzhi','Dg9tDhjPBMC','y2XPlNr4Da','yxbWBhK','ofvhrMD2qq','yxn3wu0'];_0x458a=function(){return _0x582e06;};return _0x458a();}async function writeToGitHubEnv(_0x3f6937,_0x4239ad){const _0x5d354d=_0xbe4b6d,_0x3021c2={'wIJml':_0x5d354d(0xd4)},_0x419115=process[_0x5d354d(0xdd)][_0x5d354d(0xeb)];if(_0x419115){if(_0x3021c2['wIJml']===_0x5d354d(0xe3))return null;else await appendFile(_0x419115,_0x3f6937+'='+_0x4239ad+'\x0a');}}export async function storeToken(_0x471b10){const _0x3139be=_0xbe4b6d,_0x8d7f8={'Hbgaf':_0x3139be(0xca),'aTyis':function(_0x5255a1){return _0x5255a1();},'SLzhM':function(_0x2df22d,_0x1eb1ab,_0x33fe40){return _0x2df22d(_0x1eb1ab,_0x33fe40);},'HgtiD':_0x3139be(0xd7),'beCIT':_0x3139be(0xce),'HAPUs':function(_0x31f062,_0x140fd7,_0x449d74,_0x41a271){return _0x31f062(_0x140fd7,_0x449d74,_0x41a271);}};if(_0x8d7f8[_0x3139be(0xc5)](isGitHubCI))await _0x8d7f8['SLzhM'](writeToGitHubEnv,ENV_TOKEN,_0x471b10);else{if(_0x8d7f8['HgtiD']===_0x8d7f8['beCIT'])return _0x29e5cb[_0x3139be(0xbf)]()[_0x3139be(0xf0)](Jyxnzp[_0x3139be(0xed)])['toString']()[_0x3139be(0xd5)](_0x4f5f05)[_0x3139be(0xf0)](Jyxnzp['Hbgaf']);else await _0x8d7f8[_0x3139be(0xd2)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x8d7f8[_0x3139be(0xee)](writeFile,TOKEN_PATH,_0x471b10,{'mode':0x180});}}export async function getToken(){const _0x2ddb8e=_0xbe4b6d,_0x20cb2d={'OlRjp':function(_0xd63a40,_0x1678c0){return _0xd63a40!==_0x1678c0;},'aswYM':'LMMms','OcmEP':function(_0x1ddf21,_0x4dd602,_0x15ae86){return _0x1ddf21(_0x4dd602,_0x15ae86);},'VkXJj':_0x2ddb8e(0xde),'OTzON':function(_0x393eee,_0x4622ad){return _0x393eee!==_0x4622ad;},'cjMpB':_0x2ddb8e(0xd6)};if(process[_0x2ddb8e(0xdd)][ENV_TOKEN])return process[_0x2ddb8e(0xdd)][ENV_TOKEN];if(process[_0x2ddb8e(0xdd)][ENV_TOKEN_LEGACY])return _0x20cb2d['OlRjp'](_0x20cb2d['aswYM'],_0x20cb2d[_0x2ddb8e(0xc3)])?!!_0x2c6683[_0x2ddb8e(0xdd)][_0x2ddb8e(0xeb)]:process[_0x2ddb8e(0xdd)][ENV_TOKEN_LEGACY];try{const _0x2a50e7=await _0x20cb2d[_0x2ddb8e(0xcf)](readFile,TOKEN_PATH,_0x20cb2d['VkXJj']);return _0x2a50e7[_0x2ddb8e(0xdb)]()||null;}catch{return _0x20cb2d[_0x2ddb8e(0xe6)](_0x20cb2d[_0x2ddb8e(0xea)],_0x2ddb8e(0xd6))?![]:null;}}export async function deleteToken(){const _0x3408ba=_0xbe4b6d,_0x39d1e4={'ROpgP':function(_0xf8f7fe,_0x1ea3b8){return _0xf8f7fe!==_0x1ea3b8;},'NLsoL':'rupTW'};try{return _0x39d1e4[_0x3408ba(0xd1)](_0x3408ba(0xcb),_0x39d1e4[_0x3408ba(0xc4)])?null:(await unlink(TOKEN_PATH),!![]);}catch{return![];}}export async function storeRefreshToken(_0x29a72a){const _0xd60b5a={'TXeVq':function(_0x59ef86,_0x3bfaea,_0x2f796d){return _0x59ef86(_0x3bfaea,_0x2f796d);},'SIbXq':function(_0x4611a6,_0xaa6720,_0x1e9628,_0x3f4f2b){return _0x4611a6(_0xaa6720,_0x1e9628,_0x3f4f2b);}};await _0xd60b5a['TXeVq'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0xd60b5a['SIbXq'](writeFile,REFRESH_TOKEN_PATH,_0x29a72a,{'mode':0x180});}export async function getRefreshToken(){const _0x9248b3=_0xbe4b6d,_0x452eec={'SwOGO':function(_0x431026,_0x412791,_0x123239){return _0x431026(_0x412791,_0x123239);},'Kiqxn':'doUwz'};try{const _0x383945=await _0x452eec['SwOGO'](readFile,REFRESH_TOKEN_PATH,_0x9248b3(0xde));return _0x383945['trim']()||null;}catch{if(_0x452eec['Kiqxn']===_0x9248b3(0xe5))return null;else{if(_0x29b8fc){const _0x53c247=_0x3fb26a[_0x9248b3(0xc1)](_0x3f1a27,arguments);return _0x4cecca=null,_0x53c247;}}}}export async function deleteRefreshToken(){const _0x3e6f6d=_0xbe4b6d,_0x278ea1={'yyZnQ':function(_0x284cef,_0x53f59b){return _0x284cef!==_0x53f59b;},'ZYIFI':'sgaYZ','tcNvi':function(_0x2aade5,_0x995367){return _0x2aade5===_0x995367;},'RKBxz':_0x3e6f6d(0xd3)};try{return _0x278ea1[_0x3e6f6d(0xd9)](_0x278ea1[_0x3e6f6d(0xe4)],_0x278ea1[_0x3e6f6d(0xe4)])?_0x29beed[_0x3e6f6d(0xdd)][_0x3820cb]:(await unlink(REFRESH_TOKEN_PATH),!![]);}catch{if(_0x278ea1[_0x3e6f6d(0xc7)](_0x3e6f6d(0xd3),_0x278ea1[_0x3e6f6d(0xe8)]))return![];else{const _0x282b26=_0x57a06a[_0x3e6f6d(0xc1)](_0x16e6c1,arguments);return _0x1b8aec=null,_0x282b26;}}}export async function deleteAllCredentials(){const _0x35a040=_0xbe4b6d,_0xb5fdea={'tlTPv':function(_0x5a3c22){return _0x5a3c22();}};await deleteToken(),await _0xb5fdea[_0x35a040(0xcc)](deleteRefreshToken);}
@@ -1 +1 @@
1
- function _0x4159(_0x1163a5,_0x4b02eb){_0x1163a5=_0x1163a5-0x17f;const _0xae1d7c=_0x55ce();let _0x1190a3=_0xae1d7c[_0x1163a5];if(_0x4159['OzyohE']===undefined){var _0x781aa1=function(_0x352f0b){const _0x4ba47a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x25b475='',_0x35589f='',_0x5a5222=_0x25b475+_0x781aa1;for(let _0x1563bc=0x0,_0x1a1305,_0x973c8,_0x53a5eb=0x0;_0x973c8=_0x352f0b['charAt'](_0x53a5eb++);~_0x973c8&&(_0x1a1305=_0x1563bc%0x4?_0x1a1305*0x40+_0x973c8:_0x973c8,_0x1563bc++%0x4)?_0x25b475+=_0x5a5222['charCodeAt'](_0x53a5eb+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1a1305>>(-0x2*_0x1563bc&0x6)):_0x1563bc:0x0){_0x973c8=_0x4ba47a['indexOf'](_0x973c8);}for(let _0x349660=0x0,_0x2d71ef=_0x25b475['length'];_0x349660<_0x2d71ef;_0x349660++){_0x35589f+='%'+('00'+_0x25b475['charCodeAt'](_0x349660)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35589f);};_0x4159['yZdUSZ']=_0x781aa1,_0x4159['zpTMIj']={},_0x4159['OzyohE']=!![];}const _0x55ceb8=_0xae1d7c[0x0],_0x415977=_0x1163a5+_0x55ceb8,_0x57b018=_0x4159['zpTMIj'][_0x415977];if(!_0x57b018){const _0x1abdfb=function(_0x4e0092){this['IlBgam']=_0x4e0092,this['TBEbpQ']=[0x1,0x0,0x0],this['MDcnKY']=function(){return'newState';},this['SvSHZq']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['gyzYgA']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1abdfb['prototype']['XZKeuy']=function(){const _0x20fb0f=new RegExp(this['SvSHZq']+this['gyzYgA']),_0x6d2b48=_0x20fb0f['test'](this['MDcnKY']['toString']())?--this['TBEbpQ'][0x1]:--this['TBEbpQ'][0x0];return this['CiBghR'](_0x6d2b48);},_0x1abdfb['prototype']['CiBghR']=function(_0x37a070){if(!Boolean(~_0x37a070))return _0x37a070;return this['nrNiid'](this['IlBgam']);},_0x1abdfb['prototype']['nrNiid']=function(_0x31ed9d){for(let _0x4a213f=0x0,_0x1a7be0=this['TBEbpQ']['length'];_0x4a213f<_0x1a7be0;_0x4a213f++){this['TBEbpQ']['push'](Math['round'](Math['random']())),_0x1a7be0=this['TBEbpQ']['length'];}return _0x31ed9d(this['TBEbpQ'][0x0]);},new _0x1abdfb(_0x4159)['XZKeuy'](),_0x1190a3=_0x4159['yZdUSZ'](_0x1190a3),_0x4159['zpTMIj'][_0x415977]=_0x1190a3;}else _0x1190a3=_0x57b018;return _0x1190a3;}(function(_0x5ba7b3,_0x2160b5){const _0x388baf=_0x4159,_0x563818=_0x5ba7b3();while(!![]){try{const _0x308f72=-parseInt(_0x388baf(0x18e))/0x1+-parseInt(_0x388baf(0x187))/0x2+parseInt(_0x388baf(0x1a0))/0x3+parseInt(_0x388baf(0x18d))/0x4*(parseInt(_0x388baf(0x190))/0x5)+parseInt(_0x388baf(0x19c))/0x6+parseInt(_0x388baf(0x19b))/0x7+-parseInt(_0x388baf(0x181))/0x8;if(_0x308f72===_0x2160b5)break;else _0x563818['push'](_0x563818['shift']());}catch(_0x3b94c9){_0x563818['push'](_0x563818['shift']());}}}(_0x55ce,0x8d77a));const _0x781aa1=(function(){const _0x424d16=_0x4159,_0x579451={'XOQCk':_0x424d16(0x17f),'BTRnS':function(_0x224814,_0x27ab39){return _0x224814!==_0x27ab39;},'uXAVX':_0x424d16(0x18b),'CWPGu':function(_0x4b14ba,_0x39076c){return _0x4b14ba!==_0x39076c;},'sJZue':_0x424d16(0x19d),'Fxkuo':_0x424d16(0x192)};let _0x317fbe=!![];return function(_0x1fd0ad,_0x1e8db4){const _0x2a663d=_0x424d16,_0x45d89e={'yVUnG':function(_0x674696,_0x5195e9){return _0x579451['BTRnS'](_0x674696,_0x5195e9);},'Inqpn':_0x2a663d(0x188),'ycVcP':_0x579451['uXAVX']};if(_0x579451[_0x2a663d(0x183)](_0x579451[_0x2a663d(0x196)],_0x579451[_0x2a663d(0x1a1)])){const _0x447619=_0x317fbe?function(){const _0x99106d=_0x2a663d;if(_0x45d89e[_0x99106d(0x189)](_0x45d89e['Inqpn'],_0x45d89e[_0x99106d(0x191)])){if(_0x1e8db4){const _0x4b7d98=_0x1e8db4[_0x99106d(0x19f)](_0x1fd0ad,arguments);return _0x1e8db4=null,_0x4b7d98;}}else return;}:function(){};return _0x317fbe=![],_0x447619;}else return _0x3c47db[_0x2a663d(0x19a)]()[_0x2a663d(0x180)](_0x2a663d(0x17f))[_0x2a663d(0x19a)]()[_0x2a663d(0x18c)](_0x3d27d5)['search'](_0x579451[_0x2a663d(0x194)]);};}()),_0x1190a3=_0x781aa1(this,function(){const _0x3ff47f=_0x4159,_0x342112={'JctTS':'(((.+)+)+)+$'};return _0x1190a3['toString']()[_0x3ff47f(0x180)](_0x342112['JctTS'])['toString']()[_0x3ff47f(0x18c)](_0x1190a3)[_0x3ff47f(0x180)](_0x342112[_0x3ff47f(0x182)]);});_0x1190a3();function _0x55ce(){const _0x36c084=['mZi5mJiZmfvrCKPxsG','rNHRDw8','B25ky2u','BhrJEvq','Dgv4Da','kcGOlISPkYKRksSK','C2vHCMnO','mtKZntq0nZjfugT1uwe','sMn0vfm','q1Dqr3u','CgjnzfC','EwTduhC','qMvHCMvYia','mZiYmZG0rfLNExH0','DKjqvK4','EvzvBKC','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','y3jkvuG','y29UC3rYDwn0B3i','mJy2mgjmqu5qwG','mtG4otuWtLjrtMTo','ue9tva','nJC4nvvQwxbntG','Ewnwy1a','t2zbshu','CLH4sxG','we9rq2S','zxjYB3i','C0PADwu','qK90qxu','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','C3rYAw5NAwz5','Dg9tDhjPBMC','mJy4nJa1ngX4wunrua','ntC5mJe4ng5WquLsqW','EM9JChq','sMPgC0e','yxbWBhK'];_0x55ce=function(){return _0x36c084;};return _0x55ce();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x36c608,_0x21f472,_0x10faed){const _0x5b1b5c=_0x4159,_0x136cc7={'JjFsA':function(_0x540229,_0x3057f4){return _0x540229!==_0x3057f4;},'mBAIf':function(_0x2b9b95){return _0x2b9b95();},'ykCPw':function(_0x2bc13d,_0x52f61c,_0x17a19d){return _0x2bc13d(_0x52f61c,_0x17a19d);},'BOtAu':_0x5b1b5c(0x18f),'pbMdW':'application/json','ltcyT':_0x5b1b5c(0x193)},_0x5bcd86=await getToken();if(!_0x5bcd86){if(_0x136cc7[_0x5b1b5c(0x19e)](_0x5b1b5c(0x1a2),_0x5b1b5c(0x1a2))){const _0x42199a=_0x1abdfb?function(){if(_0x4a213f){const _0xba080e=_0x5e3bb6['apply'](_0x338c02,arguments);return _0x118c0b=null,_0xba080e;}}:function(){};return _0x31ed9d=![],_0x42199a;}else return;}const _0x3a1942=_0x136cc7['mBAIf'](getApiBaseUrl),_0x35e3c9=await _0x136cc7[_0x5b1b5c(0x185)](fetch,_0x3a1942+_0x5b1b5c(0x198),{'method':_0x136cc7[_0x5b1b5c(0x197)],'headers':{'Authorization':_0x5b1b5c(0x186)+_0x5bcd86,'Content-Type':_0x136cc7[_0x5b1b5c(0x184)]},'body':JSON[_0x5b1b5c(0x199)]({'skillName':_0x36c608,'cliVersion':_0x10faed,'metadata':_0x21f472})});if(!_0x35e3c9['ok']){if(_0x136cc7[_0x5b1b5c(0x19e)](_0x5b1b5c(0x193),_0x136cc7[_0x5b1b5c(0x1a3)])){const _0x3a2c3c=_0x39f73c[_0x5b1b5c(0x19f)](_0x425d10,arguments);return _0x575c4b=null,_0x3a2c3c;}else{const _0x13c1a7=await _0x35e3c9[_0x5b1b5c(0x1a4)]();console[_0x5b1b5c(0x195)](_0x5b1b5c(0x18a)+_0x13c1a7);}}}
1
+ (function(_0x31aec7,_0x2398f8){const _0x507f8f=_0x2438,_0x341b71=_0x31aec7();while(!![]){try{const _0x573396=-parseInt(_0x507f8f(0xcd))/0x1+-parseInt(_0x507f8f(0xd4))/0x2*(parseInt(_0x507f8f(0xbc))/0x3)+parseInt(_0x507f8f(0xb7))/0x4*(-parseInt(_0x507f8f(0xd1))/0x5)+-parseInt(_0x507f8f(0xc5))/0x6*(parseInt(_0x507f8f(0xbf))/0x7)+-parseInt(_0x507f8f(0xc1))/0x8*(parseInt(_0x507f8f(0xbb))/0x9)+parseInt(_0x507f8f(0xc2))/0xa*(-parseInt(_0x507f8f(0xcb))/0xb)+-parseInt(_0x507f8f(0xc0))/0xc*(-parseInt(_0x507f8f(0xbd))/0xd);if(_0x573396===_0x2398f8)break;else _0x341b71['push'](_0x341b71['shift']());}catch(_0x54d488){_0x341b71['push'](_0x341b71['shift']());}}}(_0x11c8,0x9a52f));function _0x11c8(){const _0x24f65b=['mtG3nJqZn0jqv3Djtq','nJuXqNLKD1fe','nJeYnta4mZLuzgPRs3C','y29UC3rYDwn0B3i','nda0nLrKDhnPsa','mtjdtgTxExC','mZj6u3b6zK0','mJqXmhPJuLrqzW','rMHWvg4','q0TAtgS','nZaXnfnttMPhDW','EfnJrMm','yxbWBgLJyxrPB24VANnVBG','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','Dgv4Da','wuPKELC','mtq3mtHUz2nptMe','sxn6B0e','oduZmJG0t3Dxy3vy','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','tfPHqLG','Dg9tDhjPBMC','mJiXmdu4nvH3rxr0vG','ue9tva','sgfIEvm','odC3ngr1y0roCq','yxbWBhK','r2z1Ahe','D2PxveW','C2vHCMnO','C3rYAw5NAwz5','Ce1HBge','nfzZuKjXta','zxjYB3i','zvz0zwC','qMvHCMvYia'];_0x11c8=function(){return _0x24f65b;};return _0x11c8();}const _0x149911=(function(){const _0x2d7fae=_0x2438,_0x388476={'FdQWt':_0x2d7fae(0xcf),'FhpTn':_0x2d7fae(0xd3)};let _0x9de02d=!![];return function(_0x159927,_0x3df3ac){const _0x4ee0a6=_0x2d7fae;if(_0x388476['FdQWt']===_0x388476[_0x4ee0a6(0xc3)]){const _0xc8704d=_0x1c3ccf[_0x4ee0a6(0xd5)](_0x3d2dce,arguments);return _0x4ea714=null,_0xc8704d;}else{const _0x589092=_0x9de02d?function(){if(_0x3df3ac){const _0x1bc03c=_0x3df3ac['apply'](_0x159927,arguments);return _0x3df3ac=null,_0x1bc03c;}}:function(){};return _0x9de02d=![],_0x589092;}};}()),_0x560325=_0x149911(this,function(){const _0x4555cd=_0x2438,_0x4e6a0d={'YJdzW':'(((.+)+)+)+$'};return _0x560325[_0x4555cd(0xd0)]()[_0x4555cd(0xd8)](_0x4e6a0d[_0x4555cd(0xca)])[_0x4555cd(0xd0)]()[_0x4555cd(0xbe)](_0x560325)[_0x4555cd(0xd8)]('(((.+)+)+)+$');});_0x560325();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';function _0x2438(_0x49145d,_0x865e1){_0x49145d=_0x49145d-0xb7;const _0x5a75dc=_0x11c8();let _0x560325=_0x5a75dc[_0x49145d];if(_0x2438['tTlndu']===undefined){var _0x149911=function(_0xea5628){const _0x22496a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xe95ff8='',_0x438dc7='',_0x44a96d=_0xe95ff8+_0x149911;for(let _0x1776ee=0x0,_0x4454f5,_0x1d55d7,_0x5666b2=0x0;_0x1d55d7=_0xea5628['charAt'](_0x5666b2++);~_0x1d55d7&&(_0x4454f5=_0x1776ee%0x4?_0x4454f5*0x40+_0x1d55d7:_0x1d55d7,_0x1776ee++%0x4)?_0xe95ff8+=_0x44a96d['charCodeAt'](_0x5666b2+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4454f5>>(-0x2*_0x1776ee&0x6)):_0x1776ee:0x0){_0x1d55d7=_0x22496a['indexOf'](_0x1d55d7);}for(let _0x1830dd=0x0,_0x256f62=_0xe95ff8['length'];_0x1830dd<_0x256f62;_0x1830dd++){_0x438dc7+='%'+('00'+_0xe95ff8['charCodeAt'](_0x1830dd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x438dc7);};_0x2438['ZEdHzI']=_0x149911,_0x2438['VQsAEn']={},_0x2438['tTlndu']=!![];}const _0x11c8e8=_0x5a75dc[0x0],_0x243848=_0x49145d+_0x11c8e8,_0x56bc68=_0x2438['VQsAEn'][_0x243848];if(!_0x56bc68){const _0x3e58d0=function(_0x4c4efd){this['pcYOOP']=_0x4c4efd,this['QSljdn']=[0x1,0x0,0x0],this['jbDVyS']=function(){return'newState';},this['BxaQrs']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['OoTNEl']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3e58d0['prototype']['oyWuwo']=function(){const _0x4eb31d=new RegExp(this['BxaQrs']+this['OoTNEl']),_0x5c6ea4=_0x4eb31d['test'](this['jbDVyS']['toString']())?--this['QSljdn'][0x1]:--this['QSljdn'][0x0];return this['FEvaRs'](_0x5c6ea4);},_0x3e58d0['prototype']['FEvaRs']=function(_0x457009){if(!Boolean(~_0x457009))return _0x457009;return this['TMRxXs'](this['pcYOOP']);},_0x3e58d0['prototype']['TMRxXs']=function(_0x3b9bf7){for(let _0x4d54b3=0x0,_0x5888bd=this['QSljdn']['length'];_0x4d54b3<_0x5888bd;_0x4d54b3++){this['QSljdn']['push'](Math['round'](Math['random']())),_0x5888bd=this['QSljdn']['length'];}return _0x3b9bf7(this['QSljdn'][0x0]);},new _0x3e58d0(_0x2438)['oyWuwo'](),_0x560325=_0x2438['ZEdHzI'](_0x560325),_0x2438['VQsAEn'][_0x243848]=_0x560325;}else _0x560325=_0x56bc68;return _0x560325;}export async function logLocalAgentInstallation(_0x4eeed1,_0x38e835,_0x4aaf43){const _0x4d57a0=_0x2438,_0x2a7b55={'eVteg':function(_0x5f1ba2){return _0x5f1ba2();},'CKZLk':function(_0x16724d,_0x1e11d0,_0x3187b0){return _0x16724d(_0x1e11d0,_0x3187b0);},'Gfuhq':_0x4d57a0(0xd2),'wjWTL':_0x4d57a0(0xc7),'joAKF':function(_0x2e6da2,_0x14a08c){return _0x2e6da2===_0x14a08c;},'zBEHk':_0x4d57a0(0xda),'IszoA':_0x4d57a0(0xc6)},_0x3c2899=await _0x2a7b55[_0x4d57a0(0xb9)](getToken);if(!_0x3c2899)return;const _0x342c11=getApiBaseUrl(),_0x40b6be=await _0x2a7b55[_0x4d57a0(0xc4)](fetch,_0x342c11+_0x4d57a0(0xce),{'method':_0x2a7b55[_0x4d57a0(0xd6)],'headers':{'Authorization':_0x4d57a0(0xba)+_0x3c2899,'Content-Type':_0x2a7b55[_0x4d57a0(0xd7)]},'body':JSON[_0x4d57a0(0xd9)]({'skillName':_0x4eeed1,'cliVersion':_0x4aaf43,'metadata':_0x38e835})});if(!_0x40b6be['ok']){if(_0x2a7b55['joAKF'](_0x2a7b55['zBEHk'],_0x2a7b55[_0x4d57a0(0xcc)])){if(_0x35d56e){const _0x1f9a49=_0x23e2d5['apply'](_0x129af4,arguments);return _0x48e36b=null,_0x1f9a49;}}else{const _0x41a2ce=await _0x40b6be[_0x4d57a0(0xc9)]();console[_0x4d57a0(0xb8)](_0x4d57a0(0xc8)+_0x41a2ce);}}}
@@ -1 +1 @@
1
- (function(_0x18fd03,_0x3cad94){const _0x33813c=_0x5c8b,_0xda13=_0x18fd03();while(!![]){try{const _0x373d8f=parseInt(_0x33813c(0x144))/0x1+parseInt(_0x33813c(0x139))/0x2+parseInt(_0x33813c(0x149))/0x3+-parseInt(_0x33813c(0x12f))/0x4+-parseInt(_0x33813c(0x12d))/0x5*(parseInt(_0x33813c(0x13f))/0x6)+parseInt(_0x33813c(0x11c))/0x7*(-parseInt(_0x33813c(0x14f))/0x8)+parseInt(_0x33813c(0x12b))/0x9;if(_0x373d8f===_0x3cad94)break;else _0xda13['push'](_0xda13['shift']());}catch(_0x1cc838){_0xda13['push'](_0xda13['shift']());}}}(_0x3c61,0xa30af));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(_0x53d0cc){const _0x14a008={'gYQxd':function(_0xef9dc7,_0x450d8a){return _0xef9dc7!==_0x450d8a;}};return typeof _0x53d0cc==='object'&&_0x14a008['gYQxd'](_0x53d0cc,null);}function _0x5c8b(_0x3fd8d8,_0x18042d){_0x3fd8d8=_0x3fd8d8-0x114;const _0x3c61eb=_0x3c61();let _0x5c8b61=_0x3c61eb[_0x3fd8d8];return _0x5c8b61;}function isImageBlock(_0x3d5208){const _0x557e03=_0x5c8b;return isRecord(_0x3d5208)&&_0x3d5208[_0x557e03(0x14d)]===_0x557e03(0x136);}function isDataUrl(_0x54bd36){const _0x58f4f8=_0x5c8b,_0x4bceaf={'PaKgP':_0x58f4f8(0x12e)};return _0x54bd36['startsWith'](_0x4bceaf['PaKgP']);}function parseDataUrl(_0x333aee){const _0x194e90=_0x5c8b,_0x268453=/^data:([^;]+);base64,(.+)$/['exec'](_0x333aee);if(!_0x268453)return null;const _0x5cb1a9=_0x268453[0x1][_0x194e90(0x131)]();if(!isValidMediaType(_0x5cb1a9))return null;return{'data':_0x268453[0x2],'mediaType':_0x5cb1a9};}function isValidMediaType(_0x2152df){const _0x44abac=_0x5c8b,_0x21172a={'KlSaL':_0x44abac(0x137),'CFOMT':'image/gif'};return[_0x44abac(0x143),_0x21172a['KlSaL'],_0x21172a[_0x44abac(0x115)],_0x44abac(0x130)]['includes'](_0x2152df);}function inferMediaType(_0x1cbb26,_0x2be34c){const _0x4af336=_0x5c8b,_0x23a5d1={'qCNEQ':function(_0xab1262,_0x938f05){return _0xab1262(_0x938f05);},'EDgtC':'jpg','slAOD':_0x4af336(0x118),'Bgpom':_0x4af336(0x137),'Ocrvi':_0x4af336(0x14b),'ynwhz':_0x4af336(0x130)};if(_0x1cbb26){const _0x51816c=_0x1cbb26[_0x4af336(0x131)]()[_0x4af336(0x13a)](';')[0x0][_0x4af336(0x133)]();if(_0x23a5d1[_0x4af336(0x124)](isValidMediaType,_0x51816c))return _0x51816c;}const _0x3dcc2a=_0x23a5d1[_0x4af336(0x124)](extname,_0x2be34c)[_0x4af336(0x131)]()['replace']('.','');switch(_0x3dcc2a){case _0x23a5d1[_0x4af336(0x11b)]:case _0x23a5d1[_0x4af336(0x150)]:return _0x4af336(0x143);case _0x4af336(0x117):return _0x23a5d1['Bgpom'];case _0x4af336(0x13c):return _0x4af336(0x127);case _0x23a5d1['Ocrvi']:return _0x23a5d1['ynwhz'];default:return _0x23a5d1[_0x4af336(0x14c)];}}async function readImageFromUrl(_0x5100c0){const _0x3a67e4=_0x5c8b,_0x570298={'IXTIS':function(_0x58db7e,_0x55eefd){return _0x58db7e(_0x55eefd);},'tXkUN':_0x3a67e4(0x125),'wubpe':function(_0x2bbd14,_0x35c8ba){return _0x2bbd14(_0x35c8ba);},'HiKGE':function(_0x5fe640,_0x744022){return _0x5fe640>_0x744022;},'MqmCW':function(_0x45153c,_0x383f48){return _0x45153c(_0x383f48);},'mYkdN':function(_0x37b10f,_0x3503e0,_0xbc4558){return _0x37b10f(_0x3503e0,_0xbc4558);},'YZAQm':function(_0x43f22a,_0x3530f9){return _0x43f22a(_0x3530f9);},'OloEq':'base64','OdinY':function(_0x3df459,_0x17dea1,_0x3f73ef){return _0x3df459(_0x17dea1,_0x3f73ef);}};if(_0x570298['IXTIS'](isDataUrl,_0x5100c0)){const _0x343404=parseDataUrl(_0x5100c0);if(_0x343404)return _0x343404;throw new Error(_0x570298['tXkUN']);}if(_0x5100c0[_0x3a67e4(0x121)]('file://')){const _0xe04c8a=fileURLToPath(_0x5100c0),_0x1af6b1=await _0x570298[_0x3a67e4(0x138)](stat,_0xe04c8a);if(_0x570298['HiKGE'](_0x1af6b1[_0x3a67e4(0x142)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x3a67e4(0x126)+MAX_IMAGE_SIZE_BYTES+_0x3a67e4(0x148));const _0x5c36ab=await readFile(_0xe04c8a);return{'data':_0x5c36ab[_0x3a67e4(0x114)]('base64'),'mediaType':inferMediaType(null,_0xe04c8a)};}if(_0x5100c0['startsWith'](_0x3a67e4(0x146))||_0x5100c0[_0x3a67e4(0x121)](_0x3a67e4(0x145))){const _0x1a53a9=await fetch(_0x5100c0,{'signal':AbortSignal[_0x3a67e4(0x116)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x1a53a9['ok'])throw new Error(_0x3a67e4(0x12c)+_0x1a53a9['status']);const _0x261e77=_0x1a53a9['headers']['get'](_0x3a67e4(0x132));if(_0x261e77){const _0x31df4d=_0x570298['MqmCW'](Number,_0x261e77);if(!Number['isNaN'](_0x31df4d)&&_0x31df4d>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x5f2e79=await _0x1a53a9['arrayBuffer']();if(_0x5f2e79[_0x3a67e4(0x11a)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0x5f2e79)[_0x3a67e4(0x114)](_0x3a67e4(0x135)),'mediaType':_0x570298['mYkdN'](inferMediaType,_0x1a53a9[_0x3a67e4(0x14a)][_0x3a67e4(0x140)]('content-type'),_0x5100c0)};}const _0x2a76e4=await _0x570298[_0x3a67e4(0x147)](stat,_0x5100c0);if(_0x2a76e4[_0x3a67e4(0x142)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x3a67e4(0x126)+MAX_IMAGE_SIZE_BYTES+_0x3a67e4(0x148));const _0x5d6aea=await readFile(_0x5100c0);return{'data':_0x5d6aea[_0x3a67e4(0x114)](_0x570298['OloEq']),'mediaType':_0x570298['OdinY'](inferMediaType,null,_0x5100c0)};}function _0x3c61(){const _0x31c265=['TYnTO','16664BFSzgs','slAOD','toString','CFOMT','timeout','png','jpeg','hook_event_name','byteLength','EDgtC','2387UcIiLY','updated','PostToolUse','isArray','data','startsWith','map','tool_response','qCNEQ','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','Image\x20exceeds\x20size\x20limit\x20(','image/gif','AgQzk','JlElw','ROwRp','10902033PfFAPU','Failed\x20to\x20fetch\x20image:\x20','25QzypVr','data:','4431040VQtKkn','image/webp','toLowerCase','content-length','trim','kiWkh','base64','image','image/png','wubpe','160476KDnSEn','split','block','gif','FUJtf','all','370350lNLUWB','get','url','size','image/jpeg','1017813QbxQaN','https://','http://','YZAQm','\x20bytes)','1455369PfNhtS','headers','webp','Bgpom','type'];_0x3c61=function(){return _0x31c265;};return _0x3c61();}async function convertImageBlockToBase64(_0x147f5d){const _0x2c0ea4=_0x5c8b,_0x397568={'TYnTO':function(_0x4a502f,_0x49caca){return _0x4a502f===_0x49caca;},'FUJtf':'base64','kiWkh':function(_0x454fe5,_0x3ce4f2){return _0x454fe5(_0x3ce4f2);}};if(_0x397568[_0x2c0ea4(0x14e)](_0x147f5d['source']?.['type'],_0x397568[_0x2c0ea4(0x13d)]))return{'updated':![],'block':_0x147f5d};if(_0x147f5d['data']&&_0x147f5d['mimeType'])return{'updated':![],'block':_0x147f5d};const _0x2541e7=_0x147f5d['source']?.[_0x2c0ea4(0x141)]??_0x147f5d['url'];if(!_0x2541e7)return{'updated':![],'block':_0x147f5d};const _0x1ccea3=await _0x397568[_0x2c0ea4(0x134)](readImageFromUrl,_0x2541e7);return{'updated':!![],'block':{..._0x147f5d,'source':{'type':'base64','media_type':_0x1ccea3['mediaType'],'data':_0x1ccea3[_0x2c0ea4(0x120)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x5c8cd6){const _0x20587a=_0x5c8b,_0x4ec0db={'AgQzk':function(_0xf6f141,_0x183f76){return _0xf6f141(_0x183f76);}};if(!_0x4ec0db[_0x20587a(0x128)](isRecord,_0x5c8cd6))return{'updated':![],'output':_0x5c8cd6};const _0x2d93be=_0x5c8cd6['content'];if(!Array[_0x20587a(0x11f)](_0x2d93be))return{'updated':![],'output':_0x5c8cd6};let _0x5b35b4=![];const _0x4db025=await Promise[_0x20587a(0x13e)](_0x2d93be[_0x20587a(0x122)](async _0xa71e4e=>{const _0x267b9c=_0x20587a;if(!isImageBlock(_0xa71e4e))return _0xa71e4e;try{const _0x499b39=await convertImageBlockToBase64(_0xa71e4e);if(_0x499b39[_0x267b9c(0x11d)])_0x5b35b4=!![];return _0x499b39[_0x267b9c(0x13b)];}catch{return _0xa71e4e;}}));if(!_0x5b35b4)return{'updated':![],'output':_0x5c8cd6};return{'updated':!![],'output':{..._0x5c8cd6,'content':_0x4db025}};}export function createMcpImageBase64Hook(){const _0x2b3e4b=_0x5c8b,_0x200a2b={'JlElw':function(_0x551717,_0x3df9f9){return _0x551717!==_0x3df9f9;},'ROwRp':function(_0x246c2c,_0x5c1def){return _0x246c2c(_0x5c1def);},'uQJiS':_0x2b3e4b(0x11e)};return async _0x68e8e1=>{const _0x4fcf4a=_0x2b3e4b;if(_0x200a2b[_0x4fcf4a(0x129)](_0x68e8e1[_0x4fcf4a(0x119)],_0x4fcf4a(0x11e)))return{};const _0x3ecd87=_0x68e8e1,{updated:_0x1acc78,output:_0x4d9ee9}=await _0x200a2b[_0x4fcf4a(0x12a)](convertToolOutputImagesToBase64,_0x3ecd87[_0x4fcf4a(0x123)]);if(!_0x1acc78)return{};return{'hookSpecificOutput':{'hookEventName':_0x200a2b['uQJiS'],'updatedMCPToolOutput':_0x4d9ee9}};};}
1
+ (function(_0x473bec,_0x58b1b0){const _0x186587=_0x5c1c,_0x49ba0a=_0x473bec();while(!![]){try{const _0x656227=-parseInt(_0x186587(0x198))/0x1*(-parseInt(_0x186587(0x18b))/0x2)+-parseInt(_0x186587(0x195))/0x3+-parseInt(_0x186587(0x1a9))/0x4*(parseInt(_0x186587(0x191))/0x5)+-parseInt(_0x186587(0x1a2))/0x6+parseInt(_0x186587(0x1ab))/0x7*(-parseInt(_0x186587(0x171))/0x8)+parseInt(_0x186587(0x180))/0x9*(parseInt(_0x186587(0x196))/0xa)+-parseInt(_0x186587(0x177))/0xb*(-parseInt(_0x186587(0x184))/0xc);if(_0x656227===_0x58b1b0)break;else _0x49ba0a['push'](_0x49ba0a['shift']());}catch(_0xfc7a1a){_0x49ba0a['push'](_0x49ba0a['shift']());}}}(_0x165c,0x4fca2));import{readFile,stat}from'fs/promises';import{extname}from'path';function _0x5c1c(_0xa0ff3f,_0x361097){_0xa0ff3f=_0xa0ff3f-0x16f;const _0x165c71=_0x165c();let _0x5c1cc6=_0x165c71[_0xa0ff3f];return _0x5c1cc6;}import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function _0x165c(){const _0x45bb4e=['swFON','Nemwa','split','file://','hook_event_name','27vvCHbT','toString','arrayBuffer','https://','24pTOfDb','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','ZRbau','TLiWK','headers','PostToolUse','data:','1070EfflWI','image/webp','replace','status','byteLength','TaHIj','669145dGvpiq','ZySUi','\x20bytes)','mUJfZ','985551IBiPeN','1607790Lhvnuo','mimeType','591RnTrHw','cyeYm','png','crLWa','type','image','BGJnb','data','jpeg','timeout','695964LsiVUx','bhsyB','from','content-type','webp','tmokS','all','8rtIcbh','size','77NDmTqq','Failed\x20to\x20fetch\x20image:\x20','base64','hYHxk','image/png','63032ItvZag','exec','block','Image\x20exceeds\x20size\x20limit\x20(','startsWith','toLowerCase','1799237VHEpqh','dWmkj','image/gif','mediaType'];_0x165c=function(){return _0x45bb4e;};return _0x165c();}function isRecord(_0x120372){const _0x305500={'EUxli':function(_0x4c04d8,_0xe594ea){return _0x4c04d8===_0xe594ea;}};return _0x305500['EUxli'](typeof _0x120372,'object')&&_0x120372!==null;}function isImageBlock(_0x192fc8){const _0x4937ec=_0x5c1c,_0x143620={'cyeYm':function(_0x2a8c35,_0x2793bc){return _0x2a8c35(_0x2793bc);},'MtGCr':_0x4937ec(0x19d)};return _0x143620[_0x4937ec(0x199)](isRecord,_0x192fc8)&&_0x192fc8['type']===_0x143620['MtGCr'];}function isDataUrl(_0x57fd41){const _0x5ebe0d=_0x5c1c;return _0x57fd41[_0x5ebe0d(0x175)](_0x5ebe0d(0x18a));}function parseDataUrl(_0xcb45b5){const _0x305ec5=_0x5c1c,_0x395114=/^data:([^;]+);base64,(.+)$/[_0x305ec5(0x172)](_0xcb45b5);if(!_0x395114)return null;const _0xa7381c=_0x395114[0x1]['toLowerCase']();if(!isValidMediaType(_0xa7381c))return null;return{'data':_0x395114[0x2],'mediaType':_0xa7381c};}function isValidMediaType(_0x3f8511){const _0x442f17=_0x5c1c,_0x3968a6={'bhsyB':_0x442f17(0x18c)};return['image/jpeg','image/png',_0x442f17(0x179),_0x3968a6[_0x442f17(0x1a3)]]['includes'](_0x3f8511);}function inferMediaType(_0x180620,_0x58bcd0){const _0x1b35aa=_0x5c1c,_0x50b958={'NwGep':function(_0x20def4,_0x220ae8){return _0x20def4(_0x220ae8);},'dWmkj':'jpg','TaHIj':_0x1b35aa(0x1a0),'swFON':_0x1b35aa(0x19a),'ZRbau':'gif','crLWa':'image/gif','hYHxk':_0x1b35aa(0x1a6),'ZySUi':_0x1b35aa(0x18c)};if(_0x180620){const _0x58cc0f=_0x180620['toLowerCase']()[_0x1b35aa(0x17d)](';')[0x0]['trim']();if(isValidMediaType(_0x58cc0f))return _0x58cc0f;}const _0x423c3e=_0x50b958['NwGep'](extname,_0x58bcd0)[_0x1b35aa(0x176)]()[_0x1b35aa(0x18d)]('.','');switch(_0x423c3e){case _0x50b958[_0x1b35aa(0x178)]:case _0x50b958[_0x1b35aa(0x190)]:return'image/jpeg';case _0x50b958[_0x1b35aa(0x17b)]:return _0x1b35aa(0x170);case _0x50b958[_0x1b35aa(0x186)]:return _0x50b958[_0x1b35aa(0x19b)];case _0x50b958[_0x1b35aa(0x16f)]:return _0x50b958[_0x1b35aa(0x192)];default:return _0x1b35aa(0x170);}}async function readImageFromUrl(_0x22ee31){const _0x28c6c6=_0x5c1c,_0x17dddf={'tmokS':function(_0x40a3b2,_0x125ff5){return _0x40a3b2(_0x125ff5);},'mHoDp':_0x28c6c6(0x17e),'yFiNI':function(_0x579bea,_0x1806f2){return _0x579bea(_0x1806f2);},'Nemwa':function(_0x2d7575,_0x5e4241){return _0x2d7575>_0x5e4241;},'CQnGf':'http://','QLmSG':_0x28c6c6(0x183),'TLiWK':'content-length','oMbRi':'base64'};if(_0x17dddf[_0x28c6c6(0x1a7)](isDataUrl,_0x22ee31)){const _0x5e43fe=parseDataUrl(_0x22ee31);if(_0x5e43fe)return _0x5e43fe;throw new Error(_0x28c6c6(0x185));}if(_0x22ee31['startsWith'](_0x17dddf['mHoDp'])){const _0x3f0d02=fileURLToPath(_0x22ee31),_0xd3ad54=await _0x17dddf['yFiNI'](stat,_0x3f0d02);if(_0x17dddf[_0x28c6c6(0x17c)](_0xd3ad54[_0x28c6c6(0x1aa)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x28c6c6(0x174)+MAX_IMAGE_SIZE_BYTES+_0x28c6c6(0x193));const _0x576c1e=await readFile(_0x3f0d02);return{'data':_0x576c1e['toString'](_0x28c6c6(0x1ad)),'mediaType':inferMediaType(null,_0x3f0d02)};}if(_0x22ee31['startsWith'](_0x17dddf['CQnGf'])||_0x22ee31['startsWith'](_0x17dddf['QLmSG'])){const _0x171523=await fetch(_0x22ee31,{'signal':AbortSignal[_0x28c6c6(0x1a1)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x171523['ok'])throw new Error(_0x28c6c6(0x1ac)+_0x171523[_0x28c6c6(0x18e)]);const _0x4a10df=_0x171523['headers']['get'](_0x17dddf[_0x28c6c6(0x187)]);if(_0x4a10df){const _0xe32fbc=Number(_0x4a10df);if(!Number['isNaN'](_0xe32fbc)&&_0xe32fbc>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x28c6c6(0x174)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x1cb451=await _0x171523[_0x28c6c6(0x182)]();if(_0x1cb451[_0x28c6c6(0x18f)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x28c6c6(0x193));return{'data':Buffer[_0x28c6c6(0x1a4)](_0x1cb451)['toString'](_0x17dddf['oMbRi']),'mediaType':inferMediaType(_0x171523[_0x28c6c6(0x188)]['get'](_0x28c6c6(0x1a5)),_0x22ee31)};}const _0x2590fb=await stat(_0x22ee31);if(_0x2590fb[_0x28c6c6(0x1aa)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x28c6c6(0x174)+MAX_IMAGE_SIZE_BYTES+_0x28c6c6(0x193));const _0x3b5edc=await readFile(_0x22ee31);return{'data':_0x3b5edc[_0x28c6c6(0x181)](_0x28c6c6(0x1ad)),'mediaType':inferMediaType(null,_0x22ee31)};}async function convertImageBlockToBase64(_0x35ef42){const _0x4e08a9=_0x5c1c,_0x3c3ab3={'BGJnb':'base64','DtjQD':function(_0x257d06,_0x1fb02b){return _0x257d06(_0x1fb02b);}};if(_0x35ef42['source']?.[_0x4e08a9(0x19c)]===_0x3c3ab3[_0x4e08a9(0x19e)])return{'updated':![],'block':_0x35ef42};if(_0x35ef42['data']&&_0x35ef42[_0x4e08a9(0x197)])return{'updated':![],'block':_0x35ef42};const _0x1dc31a=_0x35ef42['source']?.['url']??_0x35ef42['url'];if(!_0x1dc31a)return{'updated':![],'block':_0x35ef42};const _0x19b533=await _0x3c3ab3['DtjQD'](readImageFromUrl,_0x1dc31a);return{'updated':!![],'block':{..._0x35ef42,'source':{'type':'base64','media_type':_0x19b533[_0x4e08a9(0x17a)],'data':_0x19b533[_0x4e08a9(0x19f)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x441383){const _0x11cceb=_0x5c1c,_0x13cba6={'OWzlN':function(_0x40e62a,_0x5959f0){return _0x40e62a(_0x5959f0);}};if(!isRecord(_0x441383))return{'updated':![],'output':_0x441383};const _0x2233c0=_0x441383['content'];if(!Array['isArray'](_0x2233c0))return{'updated':![],'output':_0x441383};let _0x59cc4d=![];const _0x430977=await Promise[_0x11cceb(0x1a8)](_0x2233c0['map'](async _0x972882=>{const _0x2a3817=_0x11cceb;if(!_0x13cba6['OWzlN'](isImageBlock,_0x972882))return _0x972882;try{const _0x175374=await convertImageBlockToBase64(_0x972882);if(_0x175374['updated'])_0x59cc4d=!![];return _0x175374[_0x2a3817(0x173)];}catch{return _0x972882;}}));if(!_0x59cc4d)return{'updated':![],'output':_0x441383};return{'updated':!![],'output':{..._0x441383,'content':_0x430977}};}export function createMcpImageBase64Hook(){const _0xc13282={'mUJfZ':'PostToolUse','VlIiT':function(_0x731e8,_0x3f1ace){return _0x731e8(_0x3f1ace);}};return async _0x15e0f0=>{const _0x1eb7dd=_0x5c1c;if(_0x15e0f0[_0x1eb7dd(0x17f)]!==_0xc13282[_0x1eb7dd(0x194)])return{};const _0x421576=_0x15e0f0,{updated:_0x544ca8,output:_0x131697}=await _0xc13282['VlIiT'](convertToolOutputImagesToBase64,_0x421576['tool_response']);if(!_0x544ca8)return{};return{'hookSpecificOutput':{'hookEventName':_0x1eb7dd(0x189),'updatedMCPToolOutput':_0x131697}};};}
@@ -1 +1 @@
1
- const _0x482f22=_0x49ed;(function(_0x148aba,_0x421b74){const _0x114333=_0x49ed,_0x254b81=_0x148aba();while(!![]){try{const _0x5e6b09=-parseInt(_0x114333(0x182))/0x1*(-parseInt(_0x114333(0x17d))/0x2)+parseInt(_0x114333(0x17c))/0x3+parseInt(_0x114333(0x179))/0x4+parseInt(_0x114333(0x181))/0x5*(parseInt(_0x114333(0x17f))/0x6)+-parseInt(_0x114333(0x177))/0x7+-parseInt(_0x114333(0x178))/0x8*(-parseInt(_0x114333(0x180))/0x9)+parseInt(_0x114333(0x17a))/0xa*(-parseInt(_0x114333(0x183))/0xb);if(_0x5e6b09===_0x421b74)break;else _0x254b81['push'](_0x254b81['shift']());}catch(_0x2c61c5){_0x254b81['push'](_0x254b81['shift']());}}}(_0x22c5,0x64dcc));const VERIFY_MODEL_ALIASES={'opus':_0x482f22(0x17e),'sonnet':'claude-sonnet-4-6'};function _0x49ed(_0x16472a,_0x182fd9){_0x16472a=_0x16472a-0x176;const _0x22c51c=_0x22c5();let _0x49ed73=_0x22c51c[_0x16472a];return _0x49ed73;}function _0x22c5(){const _0x5c45fe=['1610966GRfeLD','8gLIUSy','877432LdUhuf','422420SclyIv','toLowerCase','2387187fFXOeU','10RrAMZL','claude-opus-4-6','3168798UkuWZJ','3817539TMtgcn','5nzcaqf','56215FxuGLq','418yzZqaB','trim'];_0x22c5=function(){return _0x5c45fe;};return _0x22c5();}export const DEFAULT_VERIFY_MODEL='claude-sonnet-4-6';export function resolveVerifyModel(_0x49d2d9){const _0x57a6e7=_0x482f22;if(!_0x49d2d9)return undefined;const _0x363825=_0x49d2d9[_0x57a6e7(0x176)]();if(!_0x363825)return undefined;const _0x1e7981=VERIFY_MODEL_ALIASES[_0x363825[_0x57a6e7(0x17b)]()];return _0x1e7981??_0x363825;}
1
+ const _0x14c2eb=_0x191f;(function(_0x34defb,_0x5325bd){const _0x69351a=_0x191f,_0x52b154=_0x34defb();while(!![]){try{const _0x3ef197=parseInt(_0x69351a(0x19c))/0x1+-parseInt(_0x69351a(0x19a))/0x2+parseInt(_0x69351a(0x19e))/0x3+parseInt(_0x69351a(0x1a3))/0x4+parseInt(_0x69351a(0x1a2))/0x5*(parseInt(_0x69351a(0x198))/0x6)+-parseInt(_0x69351a(0x1a4))/0x7+parseInt(_0x69351a(0x19d))/0x8*(parseInt(_0x69351a(0x19f))/0x9);if(_0x3ef197===_0x5325bd)break;else _0x52b154['push'](_0x52b154['shift']());}catch(_0x2261ed){_0x52b154['push'](_0x52b154['shift']());}}}(_0x4b0c,0xb38e5));const VERIFY_MODEL_ALIASES={'opus':_0x14c2eb(0x19b),'sonnet':_0x14c2eb(0x1a5)};function _0x4b0c(){const _0x1e3c4f=['24600IiFnHq','81aVdvHS','toLowerCase','trim','710140hdMhAP','4265932pmBNka','7834099HJPlIq','claude-sonnet-4-6','42XODDxv','dYwTM','1976298AYtPuh','claude-opus-4-6','1769TtMGXy','686328StSrhG'];_0x4b0c=function(){return _0x1e3c4f;};return _0x4b0c();}function _0x191f(_0x57f35c,_0x43c73c){_0x57f35c=_0x57f35c-0x198;const _0x4b0cde=_0x4b0c();let _0x191fca=_0x4b0cde[_0x57f35c];return _0x191fca;}export const DEFAULT_VERIFY_MODEL='claude-sonnet-4-6';export function resolveVerifyModel(_0x4698c3){const _0x2d9953=_0x14c2eb,_0x297945={'dYwTM':function(_0x37be7f,_0x58c2a3){return _0x37be7f??_0x58c2a3;}};if(!_0x4698c3)return undefined;const _0x416f74=_0x4698c3[_0x2d9953(0x1a1)]();if(!_0x416f74)return undefined;const _0x303834=VERIFY_MODEL_ALIASES[_0x416f74[_0x2d9953(0x1a0)]()];return _0x297945[_0x2d9953(0x199)](_0x303834,_0x416f74);}
@@ -1 +1 @@
1
- (function(_0x1df3f5,_0x507d9f){var _0x3d47e2=_0x43af,_0x43fa0f=_0x1df3f5();while(!![]){try{var _0x5b7f76=-parseInt(_0x3d47e2(0xbc))/0x1+parseInt(_0x3d47e2(0xb9))/0x2+parseInt(_0x3d47e2(0xb8))/0x3*(parseInt(_0x3d47e2(0xb5))/0x4)+parseInt(_0x3d47e2(0xbb))/0x5+-parseInt(_0x3d47e2(0xb2))/0x6*(parseInt(_0x3d47e2(0xb3))/0x7)+-parseInt(_0x3d47e2(0xbf))/0x8+-parseInt(_0x3d47e2(0xb7))/0x9;if(_0x5b7f76===_0x507d9f)break;else _0x43fa0f['push'](_0x43fa0f['shift']());}catch(_0x1981fa){_0x43fa0f['push'](_0x43fa0f['shift']());}}}(_0x41ba,0x7e920));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x20cd0b){var _0x229dc4=_0x43af,_0xe76517={'VWJoy':_0x229dc4(0xbe),'uZIQU':'opencode','rTDXG':function(_0x16644f,_0x519ab5,_0x1e8092){return _0x16644f(_0x519ab5,_0x1e8092);},'RsXKb':'.opencode'};if(process[_0x229dc4(0xb4)]['OPENCODE_CONFIG_DIR'])return process[_0x229dc4(0xb4)]['OPENCODE_CONFIG_DIR'];if(_0x20cd0b===_0xe76517['VWJoy']){if(process['env']['XDG_CONFIG_HOME'])return join(process['env']['XDG_CONFIG_HOME'],_0xe76517['uZIQU']);return join(homedir(),'.config',_0xe76517[_0x229dc4(0xb6)]);}return _0xe76517['rTDXG'](join,getProjectRoot(),_0xe76517['RsXKb']);}function _0x43af(_0x1e5775,_0x530e4e){_0x1e5775=_0x1e5775-0xb2;var _0x41ba6f=_0x41ba();var _0x43af36=_0x41ba6f[_0x1e5775];return _0x43af36;}export function getOpencodeSkillsDir(_0x4e01a1){var _0x37d2e9=_0x43af,_0x496935={'LRpyi':function(_0x59e512,_0x38f704){return _0x59e512(_0x38f704);},'VgxEi':_0x37d2e9(0xba)};return join(_0x496935[_0x37d2e9(0xbd)](getOpencodeConfigDir,_0x4e01a1),_0x496935['VgxEi']);}function _0x41ba(){var _0x228a6=['LRpyi','user','5161592isQBjS','7494mFgxMe','581fGCoBT','env','8whRNPl','uZIQU','5086152COXJru','1384092fHpUnf','958292SWTfwH','skills','3222975KaClun','214043mkvAqO'];_0x41ba=function(){return _0x228a6;};return _0x41ba();}
1
+ function _0x1c8c(_0x3c870e,_0x37c1f9){_0x3c870e=_0x3c870e-0x11d;var _0x5c4ff7=_0x5c4f();var _0x1c8c38=_0x5c4ff7[_0x3c870e];return _0x1c8c38;}function _0x5c4f(){var _0x27aae8=['5454676jCbJVY','env','.config','1795014AQrYSd','2328981LuzJqI','4711420KGVqOD','DXkvW','user','GXjSk','65FYESEA','OPENCODE_CONFIG_DIR','.opencode','1170343JJpePI','184542cMnxjH','7650016AAuKAM'];_0x5c4f=function(){return _0x27aae8;};return _0x5c4f();}(function(_0x5253e7,_0x233ae8){var _0x2a4bfd=_0x1c8c,_0x3c1061=_0x5253e7();while(!![]){try{var _0x446edb=parseInt(_0x2a4bfd(0x128))/0x1+-parseInt(_0x2a4bfd(0x11f))/0x2+-parseInt(_0x2a4bfd(0x120))/0x3+parseInt(_0x2a4bfd(0x12b))/0x4+-parseInt(_0x2a4bfd(0x125))/0x5*(parseInt(_0x2a4bfd(0x129))/0x6)+-parseInt(_0x2a4bfd(0x121))/0x7+parseInt(_0x2a4bfd(0x12a))/0x8;if(_0x446edb===_0x233ae8)break;else _0x3c1061['push'](_0x3c1061['shift']());}catch(_0x2859c4){_0x3c1061['push'](_0x3c1061['shift']());}}}(_0x5c4f,0xb5869));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x3f7fbe){var _0x38240e=_0x1c8c,_0x2f7c07={'vGazV':function(_0x1e1909,_0x4ad900){return _0x1e1909===_0x4ad900;},'LdtEs':_0x38240e(0x123),'GFAUt':function(_0xb5ab8f,_0x1c8cd8,_0x55a91d){return _0xb5ab8f(_0x1c8cd8,_0x55a91d);},'fblLS':function(_0x369285,_0x36194d,_0x578e2c,_0x5c108e){return _0x369285(_0x36194d,_0x578e2c,_0x5c108e);},'Akkja':function(_0x57fb65){return _0x57fb65();},'UIDzN':'opencode','DXkvW':function(_0x507095){return _0x507095();},'jlMDp':_0x38240e(0x127)};if(process['env']['OPENCODE_CONFIG_DIR'])return process['env'][_0x38240e(0x126)];if(_0x2f7c07['vGazV'](_0x3f7fbe,_0x2f7c07['LdtEs'])){if(process[_0x38240e(0x11d)]['XDG_CONFIG_HOME'])return _0x2f7c07['GFAUt'](join,process['env']['XDG_CONFIG_HOME'],'opencode');return _0x2f7c07['fblLS'](join,_0x2f7c07['Akkja'](homedir),_0x38240e(0x11e),_0x2f7c07['UIDzN']);}return join(_0x2f7c07[_0x38240e(0x122)](getProjectRoot),_0x2f7c07['jlMDp']);}export function getOpencodeSkillsDir(_0xf0a66d){var _0x2dc1ef=_0x1c8c,_0x5277df={'sFWWU':function(_0x27a4b2,_0x3db4eb,_0x194854){return _0x27a4b2(_0x3db4eb,_0x194854);},'UhUIy':function(_0x551478,_0x5eca53){return _0x551478(_0x5eca53);},'GXjSk':'skills'};return _0x5277df['sFWWU'](join,_0x5277df['UhUIy'](getOpencodeConfigDir,_0xf0a66d),_0x5277df[_0x2dc1ef(0x124)]);}
@@ -0,0 +1 @@
1
+ (function(_0x55f05a,_0x5b27d7){const _0x5a5424=_0x30b7,_0x5449f9=_0x55f05a();while(!![]){try{const _0x52d197=-parseInt(_0x5a5424(0x1a1))/0x1+parseInt(_0x5a5424(0x1b8))/0x2+-parseInt(_0x5a5424(0x1ac))/0x3+parseInt(_0x5a5424(0x1c7))/0x4*(parseInt(_0x5a5424(0x1a6))/0x5)+-parseInt(_0x5a5424(0x1aa))/0x6*(-parseInt(_0x5a5424(0x1c0))/0x7)+-parseInt(_0x5a5424(0x1c8))/0x8+-parseInt(_0x5a5424(0x1ba))/0x9*(-parseInt(_0x5a5424(0x1c6))/0xa);if(_0x52d197===_0x5b27d7)break;else _0x5449f9['push'](_0x5449f9['shift']());}catch(_0x491339){_0x5449f9['push'](_0x5449f9['shift']());}}}(_0x2bd5,0xed58e));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='playwright-cli';function toPlaywrightCliSessionKey(_0x267d1a){const _0x4390d8=_0x30b7,_0x42ae7e={'urAVA':function(_0x21f395,_0x598535){return _0x21f395(_0x598535);},'oBijA':'hex'},_0x1cdb11=_0x42ae7e['urAVA'](createHash,_0x4390d8(0x1a7))[_0x4390d8(0x1a5)](_0x267d1a)['digest'](_0x42ae7e[_0x4390d8(0x1bd)])['slice'](0x0,0xc);return'rg-'+_0x1cdb11;}function shellQuote(_0x4dd619){const _0x59e034=_0x30b7;return'\x27'+_0x4dd619['replace'](/'/g,_0x59e034(0x1bb))+'\x27';}function _0x30b7(_0x2ab9fb,_0x31d3bf){_0x2ab9fb=_0x2ab9fb-0x19d;const _0x2bd59e=_0x2bd5();let _0x30b70f=_0x2bd59e[_0x2ab9fb];return _0x30b70f;}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x461588){return SAFE_SHELL_TOKEN['test'](_0x461588)?_0x461588:shellQuote(_0x461588);}export function buildPlaywrightCliInvocation(_0x494d9a,_0x3c4394,_0x5cc86d){const _0x29dbf5=_0x30b7,_0x345c6b={'yCmxU':function(_0xac2e6a,_0x7c32fb){return _0xac2e6a(_0x7c32fb);},'EjQLc':'unknown','DncSe':function(_0xc10520,_0xbfe51b){return _0xc10520(_0xbfe51b);}},_0x12422f=_0x345c6b['yCmxU'](toPlaywrightCliSessionKey,_0x494d9a),[_0x1f6c7e=_0x345c6b['EjQLc']]=_0x5cc86d,_0x301c72=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x12422f,_0x29dbf5(0x1b6),_0x3c4394,..._0x5cc86d];return{'command':_0x29dbf5(0x1b7),'args':_0x301c72,'shellCommand':['npx',PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x12422f),'--config',_0x345c6b[_0x29dbf5(0x1b3)](quoteShellArg,_0x3c4394),..._0x5cc86d[_0x29dbf5(0x1ad)](quoteShellArg)]['join']('\x20'),'subcommand':_0x1f6c7e};}export function buildPlaywrightCliCommandPrefix(_0x232828,_0x4804a9){const _0x4d71d1=_0x30b7,_0x3ba82e={'gulfi':function(_0x50cde4,_0x3a7681){return _0x50cde4(_0x3a7681);}},_0x645077=toPlaywrightCliSessionKey(_0x232828);return['npx',PLAYWRIGHT_CLI_BINARY,_0x4d71d1(0x1a4)+_0x3ba82e[_0x4d71d1(0x1c1)](quoteShellArg,_0x645077),'--config',quoteShellArg(_0x4804a9)][_0x4d71d1(0x1bf)]('\x20');}function truncateOutput(_0x30eba1,_0x3bc1cf=0x7d0){const _0x33d6f3=_0x30b7,_0x450962={'jLgJE':function(_0x3969cc,_0x4d53fe){return _0x3969cc+_0x4d53fe;},'tCdSg':_0x33d6f3(0x1b2)};return _0x30eba1['length']>_0x3bc1cf?_0x450962['jLgJE'](_0x30eba1['slice'](0x0,_0x3bc1cf),_0x450962['tCdSg']):_0x30eba1;}export async function runPlaywrightCliCommand(_0x1c26a7){const _0x4b5cde=_0x30b7,_0x3871ed={'oBqLP':'SIGTERM','sVAlH':function(_0xfd588d,_0x525fab,_0x20eafc){return _0xfd588d(_0x525fab,_0x20eafc);},'JDQMN':function(_0x4fb11d,_0x117d08){return _0x4fb11d(_0x117d08);},'LXAxK':function(_0x1779ab,_0x28b6b4){return _0x1779ab(_0x28b6b4);},'CfgnV':function(_0x2c2393,_0x4d5988){return _0x2c2393??_0x4d5988;},'aCWxB':_0x4b5cde(0x1c2),'qrWLU':function(_0x48fc37,_0x169e5e){return _0x48fc37??_0x169e5e;},'dcsrj':_0x4b5cde(0x1b9),'dXnSR':_0x4b5cde(0x1a2),'EPsGS':'error','vNAfX':'close'},_0x351e0a=buildPlaywrightCliInvocation(_0x1c26a7[_0x4b5cde(0x1ae)],_0x1c26a7['configPath'],_0x1c26a7[_0x4b5cde(0x1b0)]);return new Promise((_0x741fc,_0xc316da)=>{const _0xf23559=_0x4b5cde,_0x193979=spawn(_0x351e0a['command'],_0x351e0a['args'],{'cwd':_0x1c26a7['cwd'],'env':_0x1c26a7['env'],'stdio':[_0xf23559(0x1c4),_0x3871ed['dcsrj'],_0xf23559(0x1b9)]});let _0x1d4a0d='',_0x18dc50='',_0x8729f=![];const _0x5177b1=_0x1c26a7['timeoutMs']&&_0x1c26a7['timeoutMs']>0x0?_0x3871ed[_0xf23559(0x1a8)](setTimeout,()=>{const _0x1b75b7=_0xf23559;_0x8729f=!![],_0x193979['kill'](_0x3871ed['oBqLP']),_0x3871ed[_0x1b75b7(0x1a8)](setTimeout,()=>{const _0x38a666=_0x1b75b7;try{_0x193979[_0x38a666(0x19f)]('SIGKILL');}catch{}},0x3e8);},_0x1c26a7['timeoutMs']):null;_0x193979[_0xf23559(0x1ab)]?.['on'](_0x3871ed[_0xf23559(0x1b1)],_0xe7cd95=>{_0x1d4a0d+=_0xe7cd95['toString']();}),_0x193979[_0xf23559(0x1af)]?.['on'](_0xf23559(0x1a2),_0x303142=>{_0x18dc50+=_0x303142['toString']();}),_0x193979['on'](_0x3871ed[_0xf23559(0x1be)],_0x5271a2=>{const _0x597220=_0xf23559;if(_0x5177b1)_0x3871ed[_0x597220(0x1c3)](clearTimeout,_0x5177b1);_0xc316da(_0x5271a2);}),_0x193979['on'](_0x3871ed['vNAfX'],(_0x45385a,_0x1c5a35)=>{const _0x29ff21=_0xf23559;if(_0x5177b1)_0x3871ed[_0x29ff21(0x1c3)](clearTimeout,_0x5177b1);if(_0x45385a===0x0){_0x3871ed['LXAxK'](_0x741fc,{'stdout':_0x1d4a0d,'stderr':_0x18dc50,'invocation':_0x351e0a});return;}const _0xe6f641=_0x8729f?'timed\x20out\x20after\x20'+_0x1c26a7['timeoutMs']+'ms':'exited\x20with\x20code='+_0x3871ed['CfgnV'](_0x45385a,_0x3871ed['aCWxB'])+'\x20signal='+_0x3871ed['qrWLU'](_0x1c5a35,_0x3871ed['aCWxB']);_0xc316da(new Error('playwright-cli\x20'+_0x351e0a['subcommand']+'\x20'+_0xe6f641+'\x0astdout:\x20'+_0x3871ed[_0x29ff21(0x1c3)](truncateOutput,_0x1d4a0d)+_0x29ff21(0x1a0)+truncateOutput(_0x18dc50)));});});}export function extractBashCommand(_0x2b2ac1){const _0x1c9538=_0x30b7,_0x189fff={'RhPGz':function(_0x2066db,_0x570e71){return _0x2066db===_0x570e71;},'qikOR':_0x1c9538(0x19e),'yKlrz':function(_0x344a6e,_0x39577c){return _0x344a6e??_0x39577c;}},_0x837567=[_0x1c9538(0x1b5),_0x1c9538(0x1ca),'script',_0x1c9538(0x1b4)];for(const _0x2f2ffa of _0x837567){const _0x51efac=_0x2b2ac1[_0x2f2ffa];if(_0x189fff[_0x1c9538(0x1a9)](typeof _0x51efac,_0x189fff[_0x1c9538(0x1bc)])&&_0x51efac[_0x1c9538(0x1c5)]())return _0x51efac;}const _0x510ed1=Object[_0x1c9538(0x19d)](_0x2b2ac1)[_0x1c9538(0x1a3)](_0x9e74d3=>typeof _0x9e74d3==='string'&&_0x9e74d3['trim']()['length']>0x0);return _0x189fff[_0x1c9538(0x1c9)](_0x510ed1,null);}function _0x2bd5(){const _0x585ce4=['...','DncSe','bash_command','command','--config','npx','1011294TkjNLx','pipe','27mJVNBu','\x27\x5c\x27\x27','qikOR','oBijA','EPsGS','join','35SyrYgQ','gulfi','null','JDQMN','ignore','trim','13531130uJYYez','4cWskes','12964176QzYhUq','yKlrz','cmd','values','string','kill','\x0astderr:\x20','1641188UTGwKU','data','find','-s=','update','5849285OILnif','sha256','sVAlH','RhPGz','204996dTkDNb','stdout','5015367MoACIh','map','sessionId','stderr','commandArgs','dXnSR'];_0x2bd5=function(){return _0x585ce4;};return _0x2bd5();}export function parsePlaywrightCliCommand(_0x1f2442){const _0x122072=_0x1f2442['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x122072?.[0x1]??null;}
@@ -1 +1 @@
1
- function _0x1785(){const _0x1af45e=['3BaiQyg','7493376RooSQi','1536712EjvVvD','36dtvvth','36mhtRWw','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','2485892bGmjHX','44470YqCzYP','387mJmlxJ','2614927LAYPYK','392455dFQEKz','17WIomFs','129840dfQJUm'];_0x1785=function(){return _0x1af45e;};return _0x1785();}(function(_0xca7389,_0x5abd9a){const _0x4ef705=_0x30a2,_0x242f6c=_0xca7389();while(!![]){try{const _0x2fe8cc=-parseInt(_0x4ef705(0x15f))/0x1*(parseInt(_0x4ef705(0x15b))/0x2)+-parseInt(_0x4ef705(0x161))/0x3*(parseInt(_0x4ef705(0x15a))/0x4)+-parseInt(_0x4ef705(0x15e))/0x5*(-parseInt(_0x4ef705(0x157))/0x6)+-parseInt(_0x4ef705(0x15d))/0x7+-parseInt(_0x4ef705(0x156))/0x8+parseInt(_0x4ef705(0x15c))/0x9*(-parseInt(_0x4ef705(0x160))/0xa)+parseInt(_0x4ef705(0x155))/0xb*(parseInt(_0x4ef705(0x158))/0xc);if(_0x2fe8cc===_0x5abd9a)break;else _0x242f6c['push'](_0x242f6c['shift']());}catch(_0x33816a){_0x242f6c['push'](_0x242f6c['shift']());}}}(_0x1785,0x5f7fc));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x30a2(_0x4bb234,_0x1ac327){_0x4bb234=_0x4bb234-0x155;const _0x178573=_0x1785();let _0x30a27d=_0x178573[_0x4bb234];return _0x30a27d;}export function formatProfileRequiredMessage(_0x9bb69f){const _0x53b97e=_0x30a2,_0x282e92={'DgaOc':function(_0x495126,_0x31b965){return _0x495126(_0x31b965);}},_0x42c0d7=_0x9bb69f?_0x282e92['DgaOc'](_0x9bb69f,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x53b97e(0x159)+_0x42c0d7+'.';}
1
+ function _0x3c9b(){const _0x26484f=['8060948tCMFxq','7701408lOzQUx','10bYptfb','199894OEbEOb','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','2799930uWGntD','5565792DVRxbR','147681AcWVZp','3705344meoLcH'];_0x3c9b=function(){return _0x26484f;};return _0x3c9b();}(function(_0x150996,_0x57e45f){const _0x4ece92=_0x1862,_0x2d4537=_0x150996();while(!![]){try{const _0x2f232f=parseInt(_0x4ece92(0x9e))/0x1*(-parseInt(_0x4ece92(0x9f))/0x2)+parseInt(_0x4ece92(0xa3))/0x3+-parseInt(_0x4ece92(0xa4))/0x4+-parseInt(_0x4ece92(0xa1))/0x5+parseInt(_0x4ece92(0xa2))/0x6+parseInt(_0x4ece92(0x9c))/0x7+parseInt(_0x4ece92(0x9d))/0x8;if(_0x2f232f===_0x57e45f)break;else _0x2d4537['push'](_0x2d4537['shift']());}catch(_0x21d4a5){_0x2d4537['push'](_0x2d4537['shift']());}}}(_0x3c9b,0x93c7b));function _0x1862(_0x38288f,_0x57fb6a){_0x38288f=_0x38288f-0x9c;const _0x3c9b1f=_0x3c9b();let _0x186210=_0x3c9b1f[_0x38288f];return _0x186210;}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x4825e1){const _0x21fe16=_0x1862,_0x17a499=_0x4825e1?_0x4825e1(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x21fe16(0xa0)+_0x17a499+'.';}
@@ -1 +1 @@
1
- (function(_0x85738b,_0x3f2a6b){const _0x722bd0=_0x515e,_0x5264fe=_0x85738b();while(!![]){try{const _0x5db7ea=parseInt(_0x722bd0(0x10a))/0x1+parseInt(_0x722bd0(0x11a))/0x2*(-parseInt(_0x722bd0(0x115))/0x3)+parseInt(_0x722bd0(0x11c))/0x4+parseInt(_0x722bd0(0x10b))/0x5+-parseInt(_0x722bd0(0x110))/0x6*(parseInt(_0x722bd0(0x118))/0x7)+parseInt(_0x722bd0(0x114))/0x8+-parseInt(_0x722bd0(0x119))/0x9*(parseInt(_0x722bd0(0x11e))/0xa);if(_0x5db7ea===_0x3f2a6b)break;else _0x5264fe['push'](_0x5264fe['shift']());}catch(_0xfb1d9){_0x5264fe['push'](_0x5264fe['shift']());}}}(_0x41d8,0xd9a89));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x248402=_0x515e,_0x5d1324={'Acjgc':function(_0xf77e9a,_0x2fb0aa){return _0xf77e9a+_0x2fb0aa;},'QemAD':_0x248402(0x11d),'TVCVt':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','tsFKm':'</div>'},_0x587601=_0x5d1324[_0x248402(0x11b)](_0x5d1324['Acjgc'](_0x5d1324[_0x248402(0x116)]+_0x5d1324[_0x248402(0x10c)],'<div\x20class=\x22ranger-banner__message\x22>')+_0x248402(0x112)+_0x248402(0x10f)+_0x5d1324[_0x248402(0x10e)],_0x5d1324['tsFKm'])+_0x248402(0x111),_0x170aa5=_0x248402(0x121);return _0x248402(0x120)+JSON['stringify'](_0x587601)+_0x248402(0x113)+JSON[_0x248402(0x10d)](_0x170aa5)+_0x248402(0x11f);})());function _0x515e(_0x3b493b,_0x305dd3){_0x3b493b=_0x3b493b-0x10a;const _0x41d86c=_0x41d8();let _0x515eae=_0x41d86c[_0x3b493b];return _0x515eae;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x2f7c9d){const _0xc87d30=_0x515e;await _0x2f7c9d[_0xc87d30(0x117)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x41d8(){const _0x510554=['257438XUEuHq','5777085uZpJtF','TVCVt','stringify','tsFKm','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','54UdGkKT','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>',';\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','10830944uSluTX','628413sKUrpY','QemAD','addInitScript','504427nBaKes','9oSYPYK','10gjqgBM','Acjgc','7077816cfCwep','<div\x20class=\x22ranger-banner__content\x22>','19487440RcjaVe',';\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','\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'];_0x41d8=function(){return _0x510554;};return _0x41d8();}
1
+ (function(_0x4b6bcd,_0x30aaff){const _0x4be19d=_0x1b10,_0x56d72b=_0x4b6bcd();while(!![]){try{const _0x5247d5=parseInt(_0x4be19d(0x1d3))/0x1*(parseInt(_0x4be19d(0x1c5))/0x2)+-parseInt(_0x4be19d(0x1d4))/0x3*(parseInt(_0x4be19d(0x1c6))/0x4)+parseInt(_0x4be19d(0x1d6))/0x5+parseInt(_0x4be19d(0x1ca))/0x6*(-parseInt(_0x4be19d(0x1ce))/0x7)+-parseInt(_0x4be19d(0x1c2))/0x8*(parseInt(_0x4be19d(0x1bf))/0x9)+-parseInt(_0x4be19d(0x1c9))/0xa*(parseInt(_0x4be19d(0x1cc))/0xb)+parseInt(_0x4be19d(0x1c7))/0xc;if(_0x5247d5===_0x30aaff)break;else _0x56d72b['push'](_0x56d72b['shift']());}catch(_0x5e6479){_0x56d72b['push'](_0x56d72b['shift']());}}}(_0x5c35,0xab742));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x451c21=_0x1b10,_0x379d0c={'uRTiF':function(_0x2c889d,_0x5bdb17){return _0x2c889d+_0x5bdb17;},'wOUSx':function(_0x3005d6,_0x11856e){return _0x3005d6+_0x11856e;},'IzqxI':function(_0x469ee2,_0x2a53d5){return _0x469ee2+_0x2a53d5;},'FxsTq':function(_0x12688b,_0x4c8da8){return _0x12688b+_0x4c8da8;},'aHOhz':_0x451c21(0x1c1),'XyhmI':'<div\x20class=\x22ranger-banner__message\x22>','mdVnl':_0x451c21(0x1cb),'KvyQp':'</div>','nwBsB':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x4c4024=_0x379d0c[_0x451c21(0x1c3)](_0x379d0c[_0x451c21(0x1d5)](_0x379d0c['IzqxI'](_0x379d0c[_0x451c21(0x1cd)](_0x379d0c[_0x451c21(0x1cd)](_0x379d0c['aHOhz'],_0x451c21(0x1c0)),_0x379d0c[_0x451c21(0x1d1)]),'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>'),_0x379d0c[_0x451c21(0x1c8)]),'</div>')+_0x379d0c[_0x451c21(0x1cf)]+_0x379d0c[_0x451c21(0x1c4)],_0x1ffd95='\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a';return'\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20'+JSON[_0x451c21(0x1d2)](_0x4c4024)+_0x451c21(0x1d0)+JSON[_0x451c21(0x1d2)](_0x1ffd95)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x5c35(){const _0x17a7f4=['FxsTq','2611rmZilJ','KvyQp',';\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','XyhmI','stringify','446371pTsvYZ','55551EIYdFY','wOUSx','2355525XmdVtK','45hmMMAG','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','<div\x20class=\x22ranger-banner__content\x22>','1305448wufFpo','uRTiF','nwBsB','2ZeDbkQ','244GiDryD','51669924aCZDaC','mdVnl','13678130ltCUZk','19428jpibkV','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','11aKAPbN'];_0x5c35=function(){return _0x17a7f4;};return _0x5c35();}function _0x1b10(_0x5116c2,_0x2f417c){_0x5116c2=_0x5116c2-0x1bf;const _0x5c356c=_0x5c35();let _0x1b10a3=_0x5c356c[_0x5116c2];return _0x1b10a3;}export async function addProfileSetupBanner(_0x5f47f){await _0x5f47f['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x5c3c9b,_0x3cf359){const _0x33e172=_0x5103,_0x5cd713=_0x5c3c9b();while(!![]){try{const _0x2f82b3=parseInt(_0x33e172(0x99))/0x1*(-parseInt(_0x33e172(0x94))/0x2)+parseInt(_0x33e172(0x97))/0x3*(parseInt(_0x33e172(0x98))/0x4)+-parseInt(_0x33e172(0xa6))/0x5+-parseInt(_0x33e172(0x9f))/0x6+parseInt(_0x33e172(0x9e))/0x7*(parseInt(_0x33e172(0xa1))/0x8)+-parseInt(_0x33e172(0x9a))/0x9+parseInt(_0x33e172(0x95))/0xa;if(_0x2f82b3===_0x3cf359)break;else _0x5cd713['push'](_0x5cd713['shift']());}catch(_0x1df69a){_0x5cd713['push'](_0x5cd713['shift']());}}}(_0x4013,0xe1d92));function _0x4013(){const _0x1dff1e=['zoJOy','21FrMQkf','978052TbmRdD','50401XjCRle','14446809LsBQqH','gsXMl','model','warn','4438maRJDg','7005582dIwTBE','awpSK','16008duHmyI','utf-8','config.json','isArray','gInXp','7332390LtyAxm','frSZP','string','34GVogvE','30409420IzFxQB'];_0x4013=function(){return _0x1dff1e;};return _0x4013();}import{readFile}from'fs/promises';import{existsSync}from'fs';function _0x5103(_0x1f1a33,_0x53f536){_0x1f1a33=_0x1f1a33-0x94;const _0x40132c=_0x4013();let _0x510355=_0x40132c[_0x1f1a33];return _0x510355;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x54d175=_0x5103,_0x688d2f={'frSZP':function(_0x28a740,_0x584e53,_0x5c763c){return _0x28a740(_0x584e53,_0x5c763c);},'gsXMl':function(_0x3572d8){return _0x3572d8();},'MhFEN':_0x54d175(0xa3)};return _0x688d2f[_0x54d175(0xa7)](join,_0x688d2f[_0x54d175(0x9b)](getRangerDir),_0x688d2f['MhFEN']);}export async function loadRangerConfig(){const _0x19808f=_0x5103,_0x51285a={'awpSK':function(_0x28c1d8){return _0x28c1d8();},'EsmlV':function(_0x1266d7,_0xeb52f1){return _0x1266d7!==_0xeb52f1;},'zoJOy':'object','gInXp':function(_0x44ebcc,_0xde8679){return _0x44ebcc===_0xde8679;},'wgeuj':function(_0x5c92ef,_0xd0b070){return _0x5c92ef instanceof _0xd0b070;}},_0x570f3d=_0x51285a[_0x19808f(0xa0)](getRangerConfigPath);if(!existsSync(_0x570f3d))return{};try{const _0x56a105=await readFile(_0x570f3d,_0x19808f(0xa2)),_0x1655c0=JSON['parse'](_0x56a105);if(!_0x1655c0||_0x51285a['EsmlV'](typeof _0x1655c0,_0x51285a[_0x19808f(0x96)])||Array[_0x19808f(0xa4)](_0x1655c0))return{};const _0x3ef956={},_0x593a2c=_0x1655c0['model'];return _0x51285a[_0x19808f(0xa5)](typeof _0x593a2c,_0x19808f(0xa8))&&(_0x3ef956[_0x19808f(0x9c)]=_0x593a2c),_0x3ef956;}catch(_0x481013){const _0x3e4e16=_0x51285a['wgeuj'](_0x481013,Error)?_0x481013['message']:String(_0x481013);return console[_0x19808f(0x9d)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x570f3d+':\x20'+_0x3e4e16),{};}}
1
+ (function(_0x1c2555,_0x310508){const _0x54246a=_0x41e9,_0x3468dd=_0x1c2555();while(!![]){try{const _0x5aa883=parseInt(_0x54246a(0xf2))/0x1*(-parseInt(_0x54246a(0xf5))/0x2)+parseInt(_0x54246a(0xf9))/0x3*(parseInt(_0x54246a(0xf1))/0x4)+parseInt(_0x54246a(0xf6))/0x5+parseInt(_0x54246a(0xf3))/0x6*(-parseInt(_0x54246a(0xeb))/0x7)+-parseInt(_0x54246a(0xea))/0x8*(-parseInt(_0x54246a(0xf8))/0x9)+parseInt(_0x54246a(0xee))/0xa*(-parseInt(_0x54246a(0xe9))/0xb)+parseInt(_0x54246a(0xf7))/0xc;if(_0x5aa883===_0x310508)break;else _0x3468dd['push'](_0x3468dd['shift']());}catch(_0x29602d){_0x3468dd['push'](_0x3468dd['shift']());}}}(_0x6769,0x7a1a6));import{readFile}from'fs/promises';function _0x6769(){const _0x5c1326=['warn','config.json','4lwhwgZ','75261mOujBS','60GKWXXX','string','4fZbBPF','801810KYFOPS','15988752lRnaMW','4122XUfmhF','503859OxUzwF','model','utf-8','737mcfxhF','808BaINgQ','198709MFrcon','rmkxw','parse','115290wlHVaa'];_0x6769=function(){return _0x5c1326;};return _0x6769();}import{existsSync}from'fs';function _0x41e9(_0x19946d,_0x31a618){_0x19946d=_0x19946d-0xe8;const _0x67693a=_0x6769();let _0x41e9e6=_0x67693a[_0x19946d];return _0x41e9e6;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x3a119a=_0x41e9,_0xe75683={'rmkxw':function(_0x323731){return _0x323731();}};return join(_0xe75683[_0x3a119a(0xec)](getRangerDir),_0x3a119a(0xf0));}export async function loadRangerConfig(){const _0x11e427=_0x41e9,_0x5e9b22={'vMmxy':function(_0x1c54ea){return _0x1c54ea();},'IKtBZ':function(_0x1808fa,_0x31897c){return _0x1808fa(_0x31897c);},'fCMjD':_0x11e427(0xe8),'EBDcb':'object','EEjUu':_0x11e427(0xf4)},_0x4510df=_0x5e9b22['vMmxy'](getRangerConfigPath);if(!_0x5e9b22['IKtBZ'](existsSync,_0x4510df))return{};try{const _0x36a8f9=await readFile(_0x4510df,_0x5e9b22['fCMjD']),_0x1a881e=JSON[_0x11e427(0xed)](_0x36a8f9);if(!_0x1a881e||typeof _0x1a881e!==_0x5e9b22['EBDcb']||Array['isArray'](_0x1a881e))return{};const _0xab7a25={},_0x28de12=_0x1a881e[_0x11e427(0xfa)];return typeof _0x28de12===_0x5e9b22['EEjUu']&&(_0xab7a25['model']=_0x28de12),_0xab7a25;}catch(_0x6a7329){const _0x6caa08=_0x6a7329 instanceof Error?_0x6a7329['message']:_0x5e9b22['IKtBZ'](String,_0x6a7329);return console[_0x11e427(0xef)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x4510df+':\x20'+_0x6caa08),{};}}
@@ -1 +1 @@
1
- (function(_0x4a989d,_0x4a5d45){const _0x3f981d=_0x484c,_0x547a33=_0x4a989d();while(!![]){try{const _0x3b3b56=parseInt(_0x3f981d(0xb5))/0x1+parseInt(_0x3f981d(0xb3))/0x2*(parseInt(_0x3f981d(0xbb))/0x3)+-parseInt(_0x3f981d(0xb9))/0x4*(-parseInt(_0x3f981d(0xb8))/0x5)+-parseInt(_0x3f981d(0xb0))/0x6+-parseInt(_0x3f981d(0xaa))/0x7+parseInt(_0x3f981d(0xaf))/0x8*(parseInt(_0x3f981d(0xb6))/0x9)+-parseInt(_0x3f981d(0xbc))/0xa;if(_0x3b3b56===_0x4a5d45)break;else _0x547a33['push'](_0x547a33['shift']());}catch(_0x5e0438){_0x547a33['push'](_0x547a33['shift']());}}}(_0x52ac,0x35602));function _0x484c(_0x2d0c63,_0x4f64f0){_0x2d0c63=_0x2d0c63-0xaa;const _0x52ac50=_0x52ac();let _0x484c04=_0x52ac50[_0x2d0c63];return _0x484c04;}import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';function _0x52ac(){const _0x25760a=['136493KqTlQZ','4707eZMvGz','uTEHg','3695vDoNSY','2092rFVNCg','root','21795NbXbdC','2363570vzgFlb','OkDAM','3002979MdrOhf','tqbeG','.git','.ranger','heerV','3272WOxNxX','1689312NpGYSq','Noldv','tFEIU','118fLEDek','cwd'];_0x52ac=function(){return _0x25760a;};return _0x52ac();}export function getRangerRoot(){const _0x4e0755=_0x484c,_0xf182d5={'NbYwE':function(_0x2df2c9,_0x1da278){return _0x2df2c9(_0x1da278);},'hBSNf':function(_0x4bfa4c,_0xd21fcb){return _0x4bfa4c!==_0xd21fcb;},'heerV':function(_0xbb0e3d,_0x2f9221){return _0xbb0e3d(_0x2f9221);}};let _0x2e23e8=process[_0x4e0755(0xb4)]();const _0x3222e1=_0xf182d5['NbYwE'](parse,_0x2e23e8)[_0x4e0755(0xba)];while(_0xf182d5['hBSNf'](_0x2e23e8,_0x3222e1)){if(existsSync(join(_0x2e23e8,'.ranger')))return _0x2e23e8;_0x2e23e8=dirname(_0x2e23e8);}if(_0xf182d5[_0x4e0755(0xae)](existsSync,join(_0x3222e1,'.ranger')))return _0x3222e1;const _0x27f548=findGitRoot();if(_0x27f548)return _0x27f548;return process['cwd']();}export function getRangerDir(){const _0x1febc2=_0x484c,_0x977a63={'OkDAM':function(_0xa81d75,_0x401ed8,_0x3ea301){return _0xa81d75(_0x401ed8,_0x3ea301);}};return _0x977a63[_0x1febc2(0xbd)](join,getRangerRoot(),'.ranger');}export function findGitRoot(){const _0x3a4699=_0x484c,_0xe05492={'uTEHg':function(_0xd9c290,_0x42e622){return _0xd9c290(_0x42e622);},'Noldv':function(_0x5b01af,_0x6ffdb9){return _0x5b01af!==_0x6ffdb9;},'tFEIU':function(_0x4913a5,_0x41c7e1,_0x2bec27){return _0x4913a5(_0x41c7e1,_0x2bec27);},'fxCJW':function(_0x4247c9,_0x1bb6eb,_0x377b3b){return _0x4247c9(_0x1bb6eb,_0x377b3b);},'tqbeG':_0x3a4699(0xac)};let _0x79f4e7=process[_0x3a4699(0xb4)]();const _0x58dd20=_0xe05492[_0x3a4699(0xb7)](parse,_0x79f4e7)[_0x3a4699(0xba)];while(_0xe05492[_0x3a4699(0xb1)](_0x79f4e7,_0x58dd20)){if(_0xe05492[_0x3a4699(0xb7)](existsSync,_0xe05492[_0x3a4699(0xb2)](join,_0x79f4e7,_0x3a4699(0xac))))return _0x79f4e7;_0x79f4e7=dirname(_0x79f4e7);}if(_0xe05492['uTEHg'](existsSync,_0xe05492['fxCJW'](join,_0x58dd20,_0xe05492[_0x3a4699(0xab)])))return _0x58dd20;return null;}export function getRangerHomeDir(){const _0x59ed82=_0x484c;return join(homedir(),_0x59ed82(0xad));}
1
+ (function(_0x127922,_0x47c6e3){const _0x2dcd6a=_0x1c31,_0x10662d=_0x127922();while(!![]){try{const _0x1a6ea0=parseInt(_0x2dcd6a(0x10a))/0x1+-parseInt(_0x2dcd6a(0x117))/0x2+-parseInt(_0x2dcd6a(0x10f))/0x3+-parseInt(_0x2dcd6a(0x10b))/0x4*(-parseInt(_0x2dcd6a(0x112))/0x5)+parseInt(_0x2dcd6a(0x10e))/0x6+-parseInt(_0x2dcd6a(0x10d))/0x7+-parseInt(_0x2dcd6a(0x109))/0x8;if(_0x1a6ea0===_0x47c6e3)break;else _0x10662d['push'](_0x10662d['shift']());}catch(_0x4e6d34){_0x10662d['push'](_0x10662d['shift']());}}}(_0x555b,0x60d01));import{dirname,join,parse}from'path';function _0x555b(){const _0x582f82=['rXNEW','56118rkqVrt','257016sWslhV','234927ARacLe','24JldSCG','.ranger','1209054dWFndW','2340918YOTExk','1706763fRVZMr','knhvi','.git','477745uZlLYl','root','CEwUS','oMGjS'];_0x555b=function(){return _0x582f82;};return _0x555b();}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x23dfcd=_0x1c31,_0x5d8ea8={'knhvi':function(_0x30823e,_0x373d82){return _0x30823e(_0x373d82);},'YBsQN':_0x23dfcd(0x10c),'oMGjS':function(_0x4cf73f,_0x5e9e99,_0x522d11){return _0x4cf73f(_0x5e9e99,_0x522d11);}};let _0x21dc60=process['cwd']();const _0x2d8453=parse(_0x21dc60)[_0x23dfcd(0x113)];while(_0x21dc60!==_0x2d8453){if(_0x5d8ea8[_0x23dfcd(0x110)](existsSync,join(_0x21dc60,_0x5d8ea8['YBsQN'])))return _0x21dc60;_0x21dc60=_0x5d8ea8['knhvi'](dirname,_0x21dc60);}if(_0x5d8ea8['knhvi'](existsSync,_0x5d8ea8[_0x23dfcd(0x115)](join,_0x2d8453,_0x5d8ea8['YBsQN'])))return _0x2d8453;const _0x4a58b0=findGitRoot();if(_0x4a58b0)return _0x4a58b0;return process['cwd']();}export function getRangerDir(){const _0x46c67b=_0x1c31,_0x916356={'CEwUS':'.ranger'};return join(getRangerRoot(),_0x916356[_0x46c67b(0x114)]);}export function findGitRoot(){const _0x17f6df=_0x1c31,_0x3333ab={'ihIOb':function(_0x2a439a,_0x146b5b){return _0x2a439a!==_0x146b5b;},'voKhr':function(_0x19db6e,_0x2dc0a9){return _0x19db6e(_0x2dc0a9);},'rXNEW':_0x17f6df(0x111)};let _0x5c2102=process['cwd']();const _0x8f74e6=parse(_0x5c2102)['root'];while(_0x3333ab['ihIOb'](_0x5c2102,_0x8f74e6)){if(existsSync(join(_0x5c2102,'.git')))return _0x5c2102;_0x5c2102=_0x3333ab['voKhr'](dirname,_0x5c2102);}if(existsSync(join(_0x8f74e6,_0x3333ab[_0x17f6df(0x116)])))return _0x8f74e6;return null;}function _0x1c31(_0x20f850,_0x425a19){_0x20f850=_0x20f850-0x109;const _0x555bd9=_0x555b();let _0x1c31fc=_0x555bd9[_0x20f850];return _0x1c31fc;}export function getRangerHomeDir(){const _0x5a48ec={'FcSrQ':function(_0x38b00f){return _0x38b00f();}};return join(_0x5a48ec['FcSrQ'](homedir),'.ranger');}