@ranger-testing/ranger-cli 2.3.0 → 2.3.1

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 -1
  51. package/build/commands/utils/profileMessages.js +1 -1
  52. package/build/commands/utils/profileSetupBanner.js +1 -1
  53. package/build/commands/utils/rangerConfig.js +1 -1
  54. package/build/commands/utils/rangerRoot.js +1 -1
  55. package/build/commands/utils/reportGenerator.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/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 -1
  68. package/build/commands/verifyInBrowser.js +1 -1
  69. package/package.json +1 -1
@@ -1 +1 @@
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
+ function _0x1444(){const _0xc32715=['4iLHxRu','#\x20Feature\x20Review\x20Report:\x20','numeric','None','filter','\x20verified)','Mnyse','PMzfq','prUdk','closedAt','813228HVxvPr','iAgWR','No\x20Session','checklistItemId','createdAt','blockedAt','gitBranch','-\x20**Reason:**\x20',':\x20Ready',':\x20Awaiting\x20Review','join','##\x20Description','floor','8515176GrQSAG','**Branch:**\x20','description','210610AokPUs','agentResponse','CmjqG','status','3364360hVyixm','N/A','ShsVY','iteration','closed','WjGRE','durationMs','length','blocked','gitRepoUrl','##\x20Blocking\x20Issues','completedAt','blockedReason','canceledReason','find','incomplete','###\x20','##\x20Scenario\x20Progress\x20(','https://trace.playwright.dev/?trace=','8576688wYXNqY','**:\x20','push','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','browserSessionId','toLocaleDateString','773144fcukjz','Session\x20',':\x20In\x20Progress','UvSUs','UVnlE','\x20|\x20','Completed','9660847pWXRXJ','-\x20**Blocked:**\x20','18JsICOr','currentSession','en-US','5ECbClo','substring','verified','in_progress','vhUlM'];_0x1444=function(){return _0xc32715;};return _0x1444();}(function(_0x52004d,_0x30eca0){const _0x2f2e4f=_0x57a6,_0x406b88=_0x52004d();while(!![]){try{const _0x33ead6=-parseInt(_0x2f2e4f(0x1c9))/0x1*(parseInt(_0x2f2e4f(0x1e3))/0x2)+parseInt(_0x2f2e4f(0x1d3))/0x3+-parseInt(_0x2f2e4f(0x1b8))/0x4+-parseInt(_0x2f2e4f(0x1c4))/0x5*(-parseInt(_0x2f2e4f(0x1e0))/0x6)+parseInt(_0x2f2e4f(0x1bf))/0x7+-parseInt(_0x2f2e4f(0x1b2))/0x8+parseInt(_0x2f2e4f(0x1c1))/0x9*(-parseInt(_0x2f2e4f(0x1e7))/0xa);if(_0x33ead6===_0x30eca0)break;else _0x406b88['push'](_0x406b88['shift']());}catch(_0x854fbf){_0x406b88['push'](_0x406b88['shift']());}}}(_0x1444,0xad911));function _0x57a6(_0x165380,_0x35256c){_0x165380=_0x165380-0x1a7;const _0x144443=_0x1444();let _0x57a689=_0x144443[_0x165380];return _0x57a689;}export function buildTraceViewerUrl(_0x2b9756){const _0x512df9=_0x57a6,_0x1efd68=encodeURIComponent(_0x2b9756);return _0x512df9(0x1b1)+_0x1efd68;}function getStatusEmoji(_0x50b6ff){const _0x5a231c=_0x57a6,_0x297101={'scgye':_0x5a231c(0x1ae),'ShsVY':'closed'};switch(_0x50b6ff){case _0x5a231c(0x1c6):case'completed':return'✅';case'pending':case _0x5a231c(0x1c7):return'🔄';case _0x297101['scgye']:return'🟠';case'blocked':return'🛑';case _0x297101[_0x5a231c(0x1e9)]:return'⛔';default:return'❓';}}function formatDuration(_0x3028d5){const _0x4bcc77=_0x57a6,_0x144d01={'tKQLr':function(_0x584449,_0x359c66){return _0x584449===_0x359c66;},'WjGRE':function(_0x109b2f,_0x3fe727){return _0x109b2f/_0x3fe727;}};if(_0x3028d5===null||_0x144d01['tKQLr'](_0x3028d5,undefined))return _0x4bcc77(0x1e8);if(_0x3028d5<0x3e8)return _0x3028d5+'ms';const _0x31b603=Math[_0x4bcc77(0x1df)](_0x3028d5/0x3e8);if(_0x31b603<0x3c)return _0x31b603+'s';const _0x24a0cd=Math['floor'](_0x144d01[_0x4bcc77(0x1ec)](_0x31b603,0x3c)),_0x20c983=_0x31b603%0x3c;return _0x24a0cd+'m\x20'+_0x20c983+'s';}function formatDate(_0xc976e){const _0x346099=_0x57a6,_0x4682db={'iAgWR':'numeric'};if(!_0xc976e)return _0x346099(0x1e8);return new Date(_0xc976e)[_0x346099(0x1b7)](_0x346099(0x1c3),{'year':_0x4682db[_0x346099(0x1d4)],'month':'short','day':_0x346099(0x1cb)});}export function generateFeatureReport(_0x59451e){const _0x1b4267=_0x57a6,_0x2fc886={'aveOD':'in_progress','nwBvE':_0x1b4267(0x1d5),'Mnyse':function(_0x1f987c,_0x5b23e5){return _0x1f987c(_0x5b23e5);},'MmDSU':_0x1b4267(0x1eb),'wjnXV':function(_0xd80359,_0xb05566){return _0xd80359===_0xb05566;},'UvSUs':function(_0x158c21,_0x3ba702){return _0x158c21===_0x3ba702;},'ZTLIS':_0x1b4267(0x1a7),'vhUlM':function(_0x42fe0d,_0x567720){return _0x42fe0d===_0x567720;},'prUdk':function(_0x39183d,_0x17a7d4){return _0x39183d(_0x17a7d4);},'VOVxr':_0x1b4267(0x1ae),'ErROZ':function(_0x2c6081,_0x2306f2){return _0x2c6081(_0x2306f2);},'CkNcb':function(_0x5ab17c,_0x2a7ec8){return _0x5ab17c>_0x2a7ec8;},'WuxFG':_0x1b4267(0x1a9),'IMsEa':'No\x20reason\x20provided','PMzfq':function(_0x1a1b7f,_0x35ae8c){return _0x1a1b7f>_0x35ae8c;},'UVnlE':'##\x20All\x20Verification\x20Sessions','TJdLW':_0x1b4267(0x1b5),'bYLqZ':_0x1b4267(0x1e8),'JMbte':'completed','CmjqG':'failed'},{feature:_0x15013a,stats:_0x442e80,checklistItems:_0xafccb7,sessions:_0x18d96b}=_0x59451e,_0x456a78=[];_0x456a78['push'](_0x1b4267(0x1ca)+_0x15013a['name']),_0x456a78['push']('');let _0xd07fbb,_0x1d63c3;if(_0x15013a['completedAt'])_0xd07fbb=_0x1b4267(0x1be),_0x1d63c3='✅';else{if(_0x15013a[_0x1b4267(0x1c2)]){const _0x3e500f=_0x15013a[_0x1b4267(0x1c2)]['status'];switch(_0x3e500f){case'ready':_0xd07fbb=_0x1b4267(0x1b9)+_0x15013a[_0x1b4267(0x1c2)][_0x1b4267(0x1ea)]+_0x1b4267(0x1db),_0x1d63c3='▶️';break;case _0x2fc886['aveOD']:_0xd07fbb=_0x1b4267(0x1b9)+_0x15013a['currentSession']['iteration']+_0x1b4267(0x1ba),_0x1d63c3='🔄';break;case'completed':_0xd07fbb='Session\x20'+_0x15013a['currentSession']['iteration']+_0x1b4267(0x1dc),_0x1d63c3='📊';break;default:_0xd07fbb='Unknown',_0x1d63c3='❓';}}else _0xd07fbb=_0x2fc886['nwBvE'],_0x1d63c3='⬜';}_0x456a78[_0x1b4267(0x1b4)]('**Status:**\x20'+_0x1d63c3+'\x20'+_0xd07fbb),_0x456a78[_0x1b4267(0x1b4)]('**Created:**\x20'+_0x2fc886[_0x1b4267(0x1cf)](formatDate,_0x15013a[_0x1b4267(0x1d7)]));_0x15013a['completedAt']&&_0x456a78[_0x1b4267(0x1b4)]('**Completed:**\x20'+formatDate(_0x15013a[_0x1b4267(0x1aa)]));_0x15013a[_0x1b4267(0x1a8)]&&_0x456a78['push']('**Repository:**\x20'+_0x15013a['gitRepoUrl']);_0x15013a['gitBranch']&&_0x456a78[_0x1b4267(0x1b4)](_0x1b4267(0x1e1)+_0x15013a[_0x1b4267(0x1d9)]);_0x456a78[_0x1b4267(0x1b4)]('');_0x15013a['description']&&(_0x456a78['push'](_0x1b4267(0x1de)),_0x456a78['push'](''),_0x456a78[_0x1b4267(0x1b4)](_0x15013a[_0x1b4267(0x1e2)]),_0x456a78['push'](''));const _0x55fc6b=_0xafccb7['filter'](_0x2414d8=>_0x2414d8[_0x1b4267(0x1e6)]!==_0x1b4267(0x1eb)),_0x264244=_0xafccb7['filter'](_0x25ec1e=>_0x25ec1e['status']===_0x1b4267(0x1c6))[_0x1b4267(0x1ee)];_0x456a78['push'](_0x1b4267(0x1b0)+_0x264244+'/'+_0x55fc6b[_0x1b4267(0x1ee)]+_0x1b4267(0x1ce)),_0x456a78['push']('');for(const _0x29634f of _0xafccb7){const _0x4311a7=getStatusEmoji(_0x29634f[_0x1b4267(0x1e6)]),_0x109f0b=_0x29634f['status']===_0x2fc886['MmDSU'],_0x5c04a9=_0x109f0b?'~~':'',_0x18c9ea=_0x109f0b?'~~':'';_0x456a78[_0x1b4267(0x1b4)](_0x1b4267(0x1af)+_0x4311a7+'\x20'+_0x5c04a9+_0x29634f['description']+_0x18c9ea),_0x456a78['push']('');_0x2fc886['wjnXV'](_0x29634f['status'],'verified')&&_0x29634f['verifiedAt']&&_0x456a78[_0x1b4267(0x1b4)]('-\x20**Verified:**\x20'+formatDate(_0x29634f['verifiedAt']));_0x2fc886[_0x1b4267(0x1bb)](_0x29634f['status'],_0x2fc886['ZTLIS'])&&_0x29634f[_0x1b4267(0x1d8)]&&(_0x456a78['push'](_0x1b4267(0x1c0)+formatDate(_0x29634f['blockedAt'])),_0x29634f['blockedReason']&&_0x456a78['push']('-\x20**Reason:**\x20'+_0x29634f[_0x1b4267(0x1ab)]));_0x2fc886[_0x1b4267(0x1c8)](_0x29634f[_0x1b4267(0x1e6)],'closed')&&_0x29634f[_0x1b4267(0x1d2)]&&(_0x456a78[_0x1b4267(0x1b4)]('-\x20**Closed:**\x20'+_0x2fc886[_0x1b4267(0x1d1)](formatDate,_0x29634f['closedAt'])),_0x29634f[_0x1b4267(0x1ac)]&&_0x456a78['push'](_0x1b4267(0x1da)+_0x29634f['canceledReason']));_0x29634f['status']===_0x2fc886['VOVxr']&&_0x456a78[_0x1b4267(0x1b4)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x29634f[_0x1b4267(0x1b6)]){_0x456a78[_0x1b4267(0x1b4)]('-\x20**Session:**\x20'+_0x29634f[_0x1b4267(0x1b6)]);const _0x123778=_0x18d96b[_0x1b4267(0x1ad)](_0x322c7a=>_0x322c7a['id']===_0x29634f['browserSessionId']);_0x123778&&(_0x123778['agentResponse']&&_0x456a78[_0x1b4267(0x1b4)]('-\x20**Summary:**\x20'+_0x123778[_0x1b4267(0x1e4)]),_0x123778['traceUrl']&&_0x456a78['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x2fc886['ErROZ'](buildTraceViewerUrl,_0x123778['traceUrl'])+')'));}_0x456a78[_0x1b4267(0x1b4)]('');}const _0x2cd48f=_0xafccb7[_0x1b4267(0x1cd)](_0x31e5c1=>_0x31e5c1['status']==='blocked');if(_0x2fc886['CkNcb'](_0x2cd48f[_0x1b4267(0x1ee)],0x0)){_0x456a78['push'](_0x2fc886['WuxFG']),_0x456a78['push']('');for(const _0x38cc41 of _0x2cd48f){_0x456a78[_0x1b4267(0x1b4)]('-\x20**'+_0x38cc41[_0x1b4267(0x1e2)]+_0x1b4267(0x1b3)+(_0x38cc41[_0x1b4267(0x1ab)]||_0x2fc886['IMsEa']));}_0x456a78[_0x1b4267(0x1b4)]('');}else _0x456a78['push']('##\x20Blocking\x20Issues'),_0x456a78[_0x1b4267(0x1b4)](''),_0x456a78['push'](_0x1b4267(0x1cc)),_0x456a78[_0x1b4267(0x1b4)]('');if(_0x2fc886[_0x1b4267(0x1d0)](_0x18d96b[_0x1b4267(0x1ee)],0x0)){_0x456a78['push'](_0x2fc886[_0x1b4267(0x1bc)]),_0x456a78['push'](''),_0x456a78['push'](_0x2fc886['TJdLW']),_0x456a78[_0x1b4267(0x1b4)]('|---------|----------|--------|----------|------|');for(const _0x3fede6 of _0x18d96b){const _0x2110e3=_0x3fede6[_0x1b4267(0x1d6)]?_0xafccb7[_0x1b4267(0x1ad)](_0x10ec85=>_0x10ec85['id']===_0x3fede6['checklistItemId']):null,_0x2bd399=_0x2110e3?_0x2110e3['description'][_0x1b4267(0x1c5)](0x0,0x1e)+(_0x2fc886['CkNcb'](_0x2110e3[_0x1b4267(0x1e2)][_0x1b4267(0x1ee)],0x1e)?'...':''):_0x2fc886['bYLqZ'],_0x16c132=_0x2fc886['vhUlM'](_0x3fede6['status'],_0x2fc886['JMbte'])?'✅':_0x3fede6['status']===_0x2fc886[_0x1b4267(0x1e5)]?'❌':'🔄';_0x456a78[_0x1b4267(0x1b4)]('|\x20'+_0x3fede6['id']+'\x20|\x20'+_0x2bd399+_0x1b4267(0x1bd)+_0x16c132+'\x20'+_0x3fede6[_0x1b4267(0x1e6)]+'\x20|\x20'+formatDuration(_0x3fede6[_0x1b4267(0x1ed)])+_0x1b4267(0x1bd)+formatDate(_0x3fede6[_0x1b4267(0x1d7)])+'\x20|');}_0x456a78['push']('');}return _0x456a78[_0x1b4267(0x1dd)]('\x0a');}
@@ -1 +1 @@
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
+ const _0x41897d=_0x192b;(function(_0x4da687,_0x2f2455){const _0x6c2e1f=_0x192b,_0x3d14aa=_0x4da687();while(!![]){try{const _0x4a85ab=-parseInt(_0x6c2e1f(0xab))/0x1+-parseInt(_0x6c2e1f(0xa6))/0x2+-parseInt(_0x6c2e1f(0xb0))/0x3+-parseInt(_0x6c2e1f(0xa0))/0x4*(-parseInt(_0x6c2e1f(0xa9))/0x5)+-parseInt(_0x6c2e1f(0xb8))/0x6+parseInt(_0x6c2e1f(0x9b))/0x7*(parseInt(_0x6c2e1f(0xa7))/0x8)+-parseInt(_0x6c2e1f(0x87))/0x9*(-parseInt(_0x6c2e1f(0xa3))/0xa);if(_0x4a85ab===_0x2f2455)break;else _0x3d14aa['push'](_0x3d14aa['shift']());}catch(_0x52c980){_0x3d14aa['push'](_0x3d14aa['shift']());}}}(_0x4f36,0x2ca1d));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(_0x5a5015,_0x3f2eba){const _0x416525=_0x192b,_0x32a73d={'IEwJj':function(_0x2b8aa9,_0xf687af){return _0x2b8aa9<=_0xf687af;},'bIaEH':function(_0x3bffd0,_0x508ac7){return _0x3bffd0>_0x508ac7;},'ZlqZS':function(_0x5f3114,_0x513746){return _0x5f3114+_0x513746;},'mylqH':function(_0x3b8a10,_0x288f48){return _0x3b8a10-_0x288f48;},'fVqiL':function(_0x1d301e,_0x4d0911){return _0x1d301e<_0x4d0911;}};if(_0x3f2eba>=_0x5a5015[_0x416525(0xbf)])return[0x0,0x0];const _0xd3c5c3=_0x5a5015[_0x3f2eba];let _0x5042ff=0x1,_0x546fbe=0x80;while(_0x32a73d[_0x416525(0x99)](_0x5042ff,0x8)&&!(_0xd3c5c3&_0x546fbe)){_0x5042ff++,_0x546fbe>>=0x1;}if(_0x32a73d[_0x416525(0xbe)](_0x32a73d['ZlqZS'](_0x3f2eba,_0x5042ff),_0x5a5015['length']))return[0x0,0x0];let _0x535323=_0xd3c5c3&_0x32a73d['mylqH'](_0x546fbe,0x1);for(let _0x36278b=0x1;_0x32a73d[_0x416525(0xb1)](_0x36278b,_0x5042ff);_0x36278b++){_0x535323=_0x535323*0x100+_0x5a5015[_0x3f2eba+_0x36278b];}return[_0x535323,_0x5042ff];}function readId(_0x3f4a71,_0x754155){const _0x2c8aa0=_0x192b,_0x1765d4={'KHqiF':function(_0x4d8bb0,_0x185276){return _0x4d8bb0>=_0x185276;},'GZCnQ':function(_0x4081e9,_0x3e2180){return _0x4081e9>_0x3e2180;},'dCFfU':function(_0x42e4c5,_0x326af){return _0x42e4c5*_0x326af;},'iiuXf':function(_0x21eba2,_0x3cd412){return _0x21eba2+_0x3cd412;}};if(_0x1765d4['KHqiF'](_0x754155,_0x3f4a71[_0x2c8aa0(0xbf)]))return[0x0,0x0];const _0x274eac=_0x3f4a71[_0x754155];let _0xaa3226;if(_0x274eac>=0x80)_0xaa3226=0x1;else{if(_0x1765d4[_0x2c8aa0(0xbd)](_0x274eac,0x40))_0xaa3226=0x2;else{if(_0x274eac>=0x20)_0xaa3226=0x3;else{if(_0x274eac>=0x10)_0xaa3226=0x4;else return[_0x274eac,0x1];}}}if(_0x1765d4['GZCnQ'](_0x754155+_0xaa3226,_0x3f4a71[_0x2c8aa0(0xbf)]))return[0x0,0x0];let _0x4260cf=0x0;for(let _0x31c2b0=0x0;_0x31c2b0<_0xaa3226;_0x31c2b0++){_0x4260cf=_0x1765d4['dCFfU'](_0x4260cf,0x100)+_0x3f4a71[_0x1765d4[_0x2c8aa0(0x88)](_0x754155,_0x31c2b0)];}return[_0x4260cf,_0xaa3226];}function readUint(_0x1a8de8,_0xd539ec,_0x290c55){let _0x32a0ea=0x0;for(let _0x5e8d93=0x0;_0x5e8d93<_0x290c55;_0x5e8d93++){_0x32a0ea=_0x32a0ea*0x100+_0x1a8de8[_0xd539ec+_0x5e8d93];}return _0x32a0ea;}function isUnknownSize(_0x5a72bd,_0x1d9614){const _0x26a454=_0x192b,_0xf21b84={'KSKbZ':function(_0x187a28,_0x455cdf){return _0x187a28===_0x455cdf;},'gJElV':function(_0x2203bf,_0xc431af){return _0x2203bf*_0xc431af;}};return _0xf21b84['KSKbZ'](_0x5a72bd,Math['pow'](0x2,_0xf21b84[_0x26a454(0x85)](0x7,_0x1d9614))-0x1);}function writeId(_0x47faf2){const _0x57a212=_0x192b,_0x1b2e51={'vdmpR':function(_0x4f94ce,_0x3f870e){return _0x4f94ce<=_0x3f870e;},'sWIQk':function(_0x3cdefb,_0x35a6e7){return _0x3cdefb>>_0x35a6e7;},'lvSWq':function(_0x252007,_0x4ea60a){return _0x252007&_0x4ea60a;},'exKHM':function(_0x2d852b,_0x1205b7){return _0x2d852b&_0x1205b7;}};if(_0x47faf2<=0xff)return Buffer[_0x57a212(0x95)]([_0x47faf2]);if(_0x1b2e51[_0x57a212(0xaa)](_0x47faf2,0xffff))return Buffer['from']([_0x1b2e51[_0x57a212(0x94)](_0x47faf2,0x8)&0xff,_0x47faf2&0xff]);if(_0x47faf2<=0xffffff)return Buffer[_0x57a212(0x95)]([_0x47faf2>>0x10&0xff,_0x1b2e51[_0x57a212(0x8a)](_0x1b2e51[_0x57a212(0x94)](_0x47faf2,0x8),0xff),_0x1b2e51[_0x57a212(0xa8)](_0x47faf2,0xff)]);return Buffer[_0x57a212(0x95)]([_0x47faf2>>0x18&0xff,_0x1b2e51['sWIQk'](_0x47faf2,0x10)&0xff,_0x1b2e51[_0x57a212(0x94)](_0x47faf2,0x8)&0xff,_0x47faf2&0xff]);}function _0x4f36(){const _0x168c8b=['idLen','yDOEX','dataSize','kmgYz','852KZedKJ','ubSbQ','pAehN','5641430YCNuZI','gjkeI','alloc','84362jcEvVB','32jTEGOo','exKHM','6190JQxeYg','vdmpR','88658QhjXaG','argv','lmnnS','LLKCy','bKhjJ','581802RrwYYA','fVqiL','HMSGQ','readInt16BE','gdjTD','yqjZz','EzSoo','CtURm','2149290rkWTGX','error','sizeLen','dataOffset','TfdZd','KHqiF','bIaEH','length','hQlym','hvkcl','fixWebmDuration.ts','min','YokyX','KatSU','exit','gJElV','QHaCV','9maiqTT','iiuXf','jLAVb','lvSWq','pow','concat','floor','eIcLJ','obzOC','endsWith','NBtiL','offset','indexOf','sWIQk','from','slice','lyixv','yNFKo','IEwJj','ZfsZx','66437DfXoWs'];_0x4f36=function(){return _0x168c8b;};return _0x4f36();}function writeVint(_0x3fe421,_0x56a82a){const _0x3d6192=_0x192b,_0x2d9acd={'hvkcl':function(_0xa71cd0,_0x3048e2){return _0xa71cd0||_0x3048e2;},'KzSRV':function(_0x55a30e,_0x6e3822){return _0x55a30e<_0x6e3822;}};let _0x47f55d=_0x2d9acd[_0x3d6192(0xc1)](_0x56a82a,0x1);while(_0x2d9acd['KzSRV'](Math[_0x3d6192(0x8b)](0x2,0x7*_0x47f55d)-0x2,_0x3fe421))_0x47f55d++;const _0x4cad8f=Buffer[_0x3d6192(0xa5)](_0x47f55d);for(let _0x1dd6bc=_0x47f55d-0x1;_0x1dd6bc>=0x0;_0x1dd6bc--){_0x4cad8f[_0x1dd6bc]=_0x3fe421&0xff,_0x3fe421=Math[_0x3d6192(0x8d)](_0x3fe421/0x100);}return _0x4cad8f[0x0]|=0x1<<0x8-_0x47f55d,_0x4cad8f;}function writeFloat64(_0x3360fd){const _0x154fd1=Buffer['alloc'](0x8);return _0x154fd1['writeDoubleBE'](_0x3360fd,0x0),_0x154fd1;}function writeVoid(_0x1b8787){const _0x5d9522=_0x192b,_0x4e54f7={'LLKCy':function(_0x302cae,_0x180f6e){return _0x302cae>=_0x180f6e;},'ubSbQ':function(_0x1e5c8f,_0x34fc9e){return _0x1e5c8f<=_0x34fc9e;}};for(let _0x31daa1=0x1;_0x31daa1<=0x8;_0x31daa1++){const _0x4ed091=_0x1b8787-0x1-_0x31daa1;if(_0x4e54f7[_0x5d9522(0xae)](_0x4ed091,0x0)&&_0x4e54f7[_0x5d9522(0xa1)](_0x4ed091,Math['pow'](0x2,0x7*_0x31daa1)-0x2))return Buffer['concat']([Buffer['from']([ID_VOID]),writeVint(_0x4ed091,_0x31daa1),Buffer['alloc'](_0x4ed091)]);}return Buffer['alloc'](0x0);}function findElement(_0x581634,_0x4738ad,_0x2c0cfa,_0x264313){const _0x5ef273=_0x192b,_0x3eeb4e={'gjkeI':function(_0x4cad03,_0x312813,_0x1b2dac){return _0x4cad03(_0x312813,_0x1b2dac);},'HDIpK':function(_0x987b2,_0x2bfaac,_0x3ab5e5){return _0x987b2(_0x2bfaac,_0x3ab5e5);},'yNFKo':function(_0x2f450,_0x565992){return _0x2f450+_0x565992;}};let _0x710792=_0x4738ad;while(_0x710792<_0x2c0cfa){const [_0x59741f,_0x5a1e29]=_0x3eeb4e[_0x5ef273(0xa4)](readId,_0x581634,_0x710792),[_0x4855fc,_0x2d5358]=_0x3eeb4e['HDIpK'](readVint,_0x581634,_0x3eeb4e[_0x5ef273(0x98)](_0x710792,_0x5a1e29));if(_0x59741f===_0x264313)return{'offset':_0x710792,'idLen':_0x5a1e29,'sizeLen':_0x2d5358,'dataSize':_0x4855fc,'dataOffset':_0x3eeb4e[_0x5ef273(0x98)](_0x710792,_0x5a1e29)+_0x2d5358};if(isUnknownSize(_0x4855fc,_0x2d5358))break;_0x710792+=_0x3eeb4e[_0x5ef273(0x98)](_0x5a1e29,_0x2d5358)+_0x4855fc;}return null;}function computeDurationMs(_0x33fd02,_0x4cc812){const _0x3a03fc=_0x192b,_0x2adc13={'jLAVb':function(_0x32fc65,_0x2d6e8d){return _0x32fc65===_0x2d6e8d;},'HMSGQ':function(_0xfec444,_0x1d8868){return _0xfec444<_0x1d8868;},'EzSoo':function(_0x49e80e,_0x49e4d8,_0x623e0c){return _0x49e80e(_0x49e4d8,_0x623e0c);},'IERyW':function(_0x95e7f0,_0xe45b93){return _0x95e7f0!==_0xe45b93;},'pAehN':function(_0x59b76b,_0x37968c){return _0x59b76b+_0x37968c;},'eIcLJ':function(_0x333f6d,_0x49324c){return _0x333f6d<_0x49324c;},'NBtiL':function(_0xbb0b09,_0x32542f){return _0xbb0b09-_0x32542f;},'CNZjJ':function(_0xaff003,_0x4441ad,_0x3b2c43){return _0xaff003(_0x4441ad,_0x3b2c43);},'TfdZd':function(_0x9a1cd8,_0x48d182){return _0x9a1cd8+_0x48d182;},'VytsI':function(_0x2004ca,_0x2dd86f,_0x33aa05,_0x52d95a){return _0x2004ca(_0x2dd86f,_0x33aa05,_0x52d95a);},'VQgJl':function(_0x2a14a0,_0x2032d2){return _0x2a14a0+_0x2032d2;},'bKhjJ':function(_0x22d661,_0x54c6af,_0x4a0359){return _0x22d661(_0x54c6af,_0x4a0359);},'DvDxG':function(_0x4860d8,_0x4eee58){return _0x4860d8/_0x4eee58;},'kmgYz':function(_0xee40e4,_0x3907ee){return _0xee40e4>_0x3907ee;}};let _0x3fea4d=0x0;const _0x2810de=Buffer[_0x3a03fc(0x95)]([0x1f,0x43,0xb6,0x75]);let _0xee2b41=_0x33fd02[_0x3a03fc(0x93)](_0x2810de);if(_0x2adc13[_0x3a03fc(0x89)](_0xee2b41,-0x1))return 0x0;while(_0x2adc13[_0x3a03fc(0xb2)](_0xee2b41,_0x33fd02[_0x3a03fc(0xbf)])){const [_0x3e240a,_0x48a47a]=_0x2adc13[_0x3a03fc(0xb6)](readId,_0x33fd02,_0xee2b41);if(_0x2adc13['IERyW'](_0x3e240a,ID_CLUSTER))break;const [_0x32fca5,_0x163e9f]=readVint(_0x33fd02,_0xee2b41+_0x48a47a),_0x2a57f8=_0x2adc13[_0x3a03fc(0xa2)](_0xee2b41,_0x48a47a)+_0x163e9f,_0x1441fe=isUnknownSize(_0x32fca5,_0x163e9f);let _0x354cbc;if(_0x1441fe){let _0x15b2f7=_0x2a57f8;while(_0x2adc13[_0x3a03fc(0x8e)](_0x15b2f7,_0x2adc13[_0x3a03fc(0x91)](_0x33fd02['length'],0x4))){const [_0x3bd367,_0x33dc38]=_0x2adc13['CNZjJ'](readId,_0x33fd02,_0x15b2f7);if(_0x3bd367===ID_CLUSTER){_0x354cbc=_0x15b2f7;break;}const [_0x3cb042,_0x3d4e4c]=readVint(_0x33fd02,_0x2adc13[_0x3a03fc(0xbc)](_0x15b2f7,_0x33dc38));if(isUnknownSize(_0x3cb042,_0x3d4e4c)){_0x354cbc=_0x33fd02['length'];break;}_0x15b2f7+=_0x33dc38+_0x3d4e4c+_0x3cb042;}_0x354cbc??=_0x33fd02['length'];}else _0x354cbc=_0x2a57f8+_0x32fca5;let _0x192a4a=0x0,_0x17bd8a=_0x2a57f8;while(_0x17bd8a<_0x354cbc){const [_0x10aa5f,_0x111dc7]=_0x2adc13['CNZjJ'](readId,_0x33fd02,_0x17bd8a),[_0x49176a,_0x38bb94]=readVint(_0x33fd02,_0x17bd8a+_0x111dc7);if(_0x2adc13[_0x3a03fc(0x89)](_0x10aa5f,ID_TIMESTAMP))_0x192a4a=_0x2adc13['VytsI'](readUint,_0x33fd02,_0x2adc13['pAehN'](_0x17bd8a+_0x111dc7,_0x38bb94),_0x49176a);else{if(_0x2adc13['jLAVb'](_0x10aa5f,ID_SIMPLE_BLOCK)&&_0x49176a>=0x4){const _0x24cb4a=_0x2adc13[_0x3a03fc(0xa2)](_0x2adc13['VQgJl'](_0x17bd8a,_0x111dc7),_0x38bb94),[,_0x2bfb83]=_0x2adc13[_0x3a03fc(0xaf)](readVint,_0x33fd02,_0x24cb4a),_0x52f113=_0x33fd02[_0x3a03fc(0xb3)](_0x24cb4a+_0x2bfb83),_0x30c45a=_0x2adc13['DvDxG']((_0x192a4a+_0x52f113)*_0x4cc812,0xf4240);_0x2adc13[_0x3a03fc(0x9f)](_0x30c45a,_0x3fea4d)&&(_0x3fea4d=_0x30c45a);}else{if(_0x2adc13['jLAVb'](_0x10aa5f,ID_CLUSTER))break;}}if(isUnknownSize(_0x49176a,_0x38bb94))break;_0x17bd8a+=_0x111dc7+_0x38bb94+_0x49176a;}_0xee2b41=_0x354cbc;}return _0x3fea4d;}export function fixWebmDuration(_0x1934ec,_0x353d42){const _0x21d793=_0x192b,_0x1533bf={'QHaCV':function(_0x1ca1b2,_0x1bb3e2){return _0x1ca1b2+_0x1bb3e2;},'obzOC':function(_0x37f2f7,_0x4e443d,_0x56a6e9){return _0x37f2f7(_0x4e443d,_0x56a6e9);},'GsjGe':function(_0x258878,_0x5525bf,_0x3d3835){return _0x258878(_0x5525bf,_0x3d3835);},'lmnnS':function(_0x3fb9df,_0x4d90f9){return _0x3fb9df===_0x4d90f9;},'Ritli':function(_0x2a09f0,_0xae1d6b){return _0x2a09f0+_0xae1d6b;},'hQlym':function(_0x4e5367,_0x40c6ea){return _0x4e5367+_0x40c6ea;},'ogefI':function(_0x250545,_0x3fe1de,_0x54a067){return _0x250545(_0x3fe1de,_0x54a067);},'CtURm':function(_0x2b69c5,_0x1d47b0){return _0x2b69c5+_0x1d47b0;},'lyixv':function(_0xa3cb5b,_0x54fdd9){return _0xa3cb5b+_0x54fdd9;},'VQVDg':'Could\x20not\x20find\x20Info\x20element','gdjTD':function(_0x2b7f6b,_0x2f5c06,_0x373050,_0x28830d,_0x2f6b16){return _0x2b7f6b(_0x2f5c06,_0x373050,_0x28830d,_0x2f6b16);},'ZfsZx':function(_0x34c205,_0x19ad40,_0x37fc9a,_0x46c8be){return _0x34c205(_0x19ad40,_0x37fc9a,_0x46c8be);},'KatSU':function(_0x312fba,_0x9f2863){return _0x312fba(_0x9f2863);},'YokyX':function(_0x58a378,_0x2fb035){return _0x58a378+_0x2fb035;}},_0x46fc6e=readFileSync(_0x1934ec);let _0x247741=0x0;const [_0x290f0d,_0x5ffc93]=readId(_0x46fc6e,_0x247741),[_0x42b6f4,_0x5733b4]=readVint(_0x46fc6e,_0x1533bf['QHaCV'](_0x247741,_0x5ffc93));_0x247741+=_0x5ffc93+_0x5733b4+_0x42b6f4;const [_0x289a31,_0x213ed3]=_0x1533bf[_0x21d793(0x8f)](readId,_0x46fc6e,_0x247741);if(_0x289a31!==ID_SEGMENT)return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x1a0d3b]=readVint(_0x46fc6e,_0x247741+_0x213ed3),_0x4b01e0=_0x247741+_0x213ed3+_0x1a0d3b;let _0xe7ece7=_0x4b01e0;const _0x8e95bc=Math[_0x21d793(0x81)](_0x46fc6e['length'],_0x1533bf['QHaCV'](_0x4b01e0,0x2710));let _0x3b7589=null,_0xe462b8=null;while(_0xe7ece7<_0x8e95bc){const [_0x31170a,_0x63c8e8]=readId(_0x46fc6e,_0xe7ece7),[_0x4462b9,_0xd11d60]=_0x1533bf['GsjGe'](readVint,_0x46fc6e,_0xe7ece7+_0x63c8e8);_0x31170a===ID_VOID&&!_0x3b7589&&(_0x3b7589={'offset':_0xe7ece7,'idLen':_0x63c8e8,'sizeLen':_0xd11d60,'dataSize':_0x4462b9,'dataOffset':_0x1533bf[_0x21d793(0x86)](_0xe7ece7+_0x63c8e8,_0xd11d60)});if(_0x1533bf[_0x21d793(0xad)](_0x31170a,ID_INFO)){_0xe462b8={'offset':_0xe7ece7,'idLen':_0x63c8e8,'sizeLen':_0xd11d60,'dataSize':_0x4462b9,'dataOffset':_0x1533bf['Ritli'](_0x1533bf[_0x21d793(0xc0)](_0xe7ece7,_0x63c8e8),_0xd11d60)};break;}if(_0x31170a===ID_CLUSTER)break;if(_0x1533bf['ogefI'](isUnknownSize,_0x4462b9,_0xd11d60))break;_0xe7ece7+=_0x1533bf[_0x21d793(0xb7)](_0x1533bf[_0x21d793(0x97)](_0x63c8e8,_0xd11d60),_0x4462b9);}if(!_0xe462b8)return console['error'](_0x1533bf['VQVDg']),![];const _0x42a2d6=findElement(_0x46fc6e,_0xe462b8[_0x21d793(0xbb)],_0xe462b8[_0x21d793(0xbb)]+_0xe462b8[_0x21d793(0x9e)],ID_DURATION);if(_0x42a2d6)return![];const _0x53b9a4=_0x1533bf[_0x21d793(0xb4)](findElement,_0x46fc6e,_0xe462b8[_0x21d793(0xbb)],_0xe462b8[_0x21d793(0xbb)]+_0xe462b8[_0x21d793(0x9e)],ID_TIMESTAMP_SCALE);let _0x32f6cf=0xf4240;_0x53b9a4&&(_0x32f6cf=_0x1533bf[_0x21d793(0x9a)](readUint,_0x46fc6e,_0x53b9a4[_0x21d793(0xbb)],_0x53b9a4['dataSize']));const _0x126459=_0x1533bf['ogefI'](computeDurationMs,_0x46fc6e,_0x32f6cf);if(_0x126459<=0x0)return console['error']('Could\x20not\x20compute\x20duration'),![];const _0x1d7bea=_0x126459*0xf4240/_0x32f6cf,_0x11931b=Buffer[_0x21d793(0x8c)]([writeId(ID_DURATION),writeVint(0x8),_0x1533bf[_0x21d793(0x83)](writeFloat64,_0x1d7bea)]),_0x29e2fb=_0x11931b['length'];if(!_0x3b7589||_0x3b7589['offset']<_0xe462b8[_0x21d793(0x92)]){if(_0x3b7589){const _0x5c33ff=_0x3b7589['idLen']+_0x3b7589['sizeLen']+_0x3b7589['dataSize'],_0xe97777=_0x5c33ff-_0x29e2fb;if(_0xe97777<0x2)return rewriteFile(_0x46fc6e,_0xe462b8,_0x11931b,_0x32f6cf,_0x126459,_0x353d42);const _0x8cf0b2=_0x1533bf['YokyX'](_0xe462b8['dataSize'],_0x29e2fb),_0xf4244f=Buffer[_0x21d793(0x8c)]([writeId(ID_INFO),writeVint(_0x8cf0b2,_0xe462b8['sizeLen'])]),_0x3a336d=_0x46fc6e[_0x21d793(0x96)](_0xe462b8[_0x21d793(0xbb)],_0x1533bf[_0x21d793(0x82)](_0xe462b8['dataOffset'],_0xe462b8['dataSize'])),_0x246fa9=_0x1533bf['KatSU'](writeVoid,_0xe97777),_0x18d0a8=_0x46fc6e[_0x21d793(0x96)](0x0,_0x3b7589[_0x21d793(0x92)]),_0x1551af=_0x46fc6e['slice'](_0xe462b8['dataOffset']+_0xe462b8[_0x21d793(0x9e)]);return _0x1533bf[_0x21d793(0x8f)](writeFileSync,_0x353d42,Buffer['concat']([_0x18d0a8,_0x246fa9,_0xf4244f,_0x3a336d,_0x11931b,_0x1551af])),!![];}}return rewriteFile(_0x46fc6e,_0xe462b8,_0x11931b,_0x32f6cf,_0x126459,_0x353d42);}function _0x192b(_0x472f2d,_0xbd6946){_0x472f2d=_0x472f2d-0x80;const _0x4f3697=_0x4f36();let _0x192b2e=_0x4f3697[_0x472f2d];return _0x192b2e;}function rewriteFile(_0x275ab9,_0x211623,_0xb7fa6a,_0x620b88,_0x21e2c6,_0x364412){const _0xf8c0e2=_0x192b,_0x210e5c={'yqjZz':function(_0x6769e6,_0x1db6d0){return _0x6769e6(_0x1db6d0);},'ElsMT':function(_0x2a1cdc,_0x5d21b7){return _0x2a1cdc+_0x5d21b7;},'EdtNC':function(_0x2c309c,_0x361e0f){return _0x2c309c+_0x361e0f;},'yDOEX':function(_0x5f281c,_0x4289a7,_0x1c548e){return _0x5f281c(_0x4289a7,_0x1c548e);}},_0x4e89fc=_0x211623[_0xf8c0e2(0x9e)]+_0xb7fa6a['length'],_0x627ae7=Buffer['concat']([writeId(ID_INFO),_0x210e5c[_0xf8c0e2(0xb5)](writeVint,_0x4e89fc)]),_0x5c68c0=_0x211623[_0xf8c0e2(0x9c)]+_0x211623[_0xf8c0e2(0xba)],_0x5d1b5e=_0x275ab9[_0xf8c0e2(0x96)](0x0,_0x211623['offset']),_0x5d58bf=_0x275ab9['slice'](_0x211623['dataOffset'],_0x210e5c['ElsMT'](_0x211623[_0xf8c0e2(0xbb)],_0x211623['dataSize'])),_0x5b3ef9=_0x275ab9['slice'](_0x210e5c['EdtNC'](_0x211623[_0xf8c0e2(0x92)]+_0x5c68c0,_0x211623['dataSize']));return _0x210e5c[_0xf8c0e2(0x9d)](writeFileSync,_0x364412,Buffer[_0xf8c0e2(0x8c)]([_0x5d1b5e,_0x627ae7,_0x5d58bf,_0xb7fa6a,_0x5b3ef9])),!![];}if(process['argv'][0x1]?.[_0x41897d(0x90)](_0x41897d(0x80))||process[_0x41897d(0xac)][0x1]?.['endsWith']('fixWebmDuration.js')){const input=process[_0x41897d(0xac)][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x41897d(0xb9)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process[_0x41897d(0x84)](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log']('Fixed:\x20'+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- function _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
+ (function(_0x2776e7,_0x1db7a2){const _0x5c5a9c=_0x5c73,_0x18deac=_0x2776e7();while(!![]){try{const _0x32c2f2=parseInt(_0x5c5a9c(0x131))/0x1+-parseInt(_0x5c5a9c(0x13b))/0x2+parseInt(_0x5c5a9c(0x135))/0x3+-parseInt(_0x5c5a9c(0x139))/0x4*(parseInt(_0x5c5a9c(0x138))/0x5)+parseInt(_0x5c5a9c(0x134))/0x6+-parseInt(_0x5c5a9c(0x137))/0x7*(-parseInt(_0x5c5a9c(0x132))/0x8)+-parseInt(_0x5c5a9c(0x130))/0x9;if(_0x32c2f2===_0x1db7a2)break;else _0x18deac['push'](_0x18deac['shift']());}catch(_0x82c95a){_0x18deac['push'](_0x18deac['shift']());}}}(_0x23fe,0x6d024));import{execSync}from'child_process';export function getGitBranch(){const _0x3241fd=_0x5c73,_0x1fdca0={'AejPY':function(_0xdda80a,_0x3cbbaf,_0x38c89d){return _0xdda80a(_0x3cbbaf,_0x38c89d);},'LbSUJ':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','GvtsN':_0x3241fd(0x133)};try{return _0x1fdca0[_0x3241fd(0x13a)](execSync,_0x1fdca0['LbSUJ'],{'encoding':_0x3241fd(0x12f),'stdio':[_0x3241fd(0x133),'pipe',_0x1fdca0['GvtsN']]})['trim']();}catch{return undefined;}}function _0x5c73(_0x21a91e,_0x2695d5){_0x21a91e=_0x21a91e-0x12d;const _0x23fe27=_0x23fe();let _0x5c73d2=_0x23fe27[_0x21a91e];return _0x5c73d2;}function _0x23fe(){const _0x5502df=['KVhPc','github.com/','replace','utf-8','3286791bLOzqM','97173wfAtXi','2013112qpkBkw','pipe','3331008FIDsFs','2058501YINwHS','git\x20remote\x20get-url\x20origin','21FtmlXM','5555glwNLd','1984SSRxfD','AejPY','1461340NPecme'];_0x23fe=function(){return _0x5502df;};return _0x23fe();}export function getGitRepoUrl(){const _0xaa484d=_0x5c73,_0x32fb9d={'KVhPc':_0xaa484d(0x136),'UuLsg':'utf-8','WmcYx':_0xaa484d(0x133),'GUlCu':_0xaa484d(0x12d)};try{const _0x4d323f=execSync(_0x32fb9d[_0xaa484d(0x13c)],{'encoding':_0x32fb9d['UuLsg'],'stdio':['pipe','pipe',_0x32fb9d['WmcYx']]})['trim']();return _0x4d323f['replace'](/\.git$/,'')[_0xaa484d(0x12e)](/^git@github\.com:/,_0x32fb9d['GUlCu'])['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x3de2e7={'BEleB':function(_0x49363f){return _0x49363f();}};return{'branch':getGitBranch(),'repoUrl':_0x3de2e7['BEleB'](getGitRepoUrl)};}
@@ -1 +1 @@
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
+ const _0x982464=_0x523d;(function(_0x4f2ae1,_0x4756d2){const _0x1ce866=_0x523d,_0x230c2d=_0x4f2ae1();while(!![]){try{const _0x2fdfed=parseInt(_0x1ce866(0x75))/0x1+parseInt(_0x1ce866(0x98))/0x2+-parseInt(_0x1ce866(0x76))/0x3*(-parseInt(_0x1ce866(0x70))/0x4)+parseInt(_0x1ce866(0x7d))/0x5*(parseInt(_0x1ce866(0x72))/0x6)+parseInt(_0x1ce866(0x95))/0x7+parseInt(_0x1ce866(0x94))/0x8*(parseInt(_0x1ce866(0x7e))/0x9)+parseInt(_0x1ce866(0x9a))/0xa*(-parseInt(_0x1ce866(0x84))/0xb);if(_0x2fdfed===_0x4756d2)break;else _0x230c2d['push'](_0x230c2d['shift']());}catch(_0x6a5ed){_0x230c2d['push'](_0x230c2d['shift']());}}}(_0x9abc,0xa491f));const _0xd87a2b=(function(){let _0x4454aa=!![];return function(_0x1b510b,_0x9dddd5){const _0x26644c=_0x4454aa?function(){const _0x40885f=_0x523d;if(_0x9dddd5){const _0x4ef2ee=_0x9dddd5[_0x40885f(0x8c)](_0x1b510b,arguments);return _0x9dddd5=null,_0x4ef2ee;}}:function(){};return _0x4454aa=![],_0x26644c;};}()),_0x38c9ca=_0xd87a2b(this,function(){const _0x17deae=_0x523d,_0x2e9502={'YCYtt':_0x17deae(0x9d)};return _0x38c9ca[_0x17deae(0x8d)]()[_0x17deae(0x83)](_0x17deae(0x9d))['toString']()[_0x17deae(0x7b)](_0x38c9ca)[_0x17deae(0x83)](_0x2e9502['YCYtt']);});_0x38c9ca();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x982464(0x97),ENV_TOKEN_LEGACY='RANGER_MCP_TOKEN',TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x982464(0x7c)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x982464(0x8a));function isGitHubCI(){const _0x55499e=_0x982464;return!!process[_0x55499e(0x91)]['GITHUB_ENV'];}async function writeToGitHubEnv(_0x229bfe,_0x68a415){const _0x45e0cb=_0x982464,_0x44559e={'BWjce':function(_0x44c2af,_0x91e42,_0x308411){return _0x44c2af(_0x91e42,_0x308411);}},_0x306431=process[_0x45e0cb(0x91)][_0x45e0cb(0x99)];_0x306431&&await _0x44559e['BWjce'](appendFile,_0x306431,_0x229bfe+'='+_0x68a415+'\x0a');}export async function storeToken(_0x11f363){const _0x515c0c=_0x982464,_0x22e629={'iODXQ':function(_0x41afa2){return _0x41afa2();},'zoaKM':function(_0x72dc36,_0x149cb4,_0x30886a){return _0x72dc36(_0x149cb4,_0x30886a);},'cRsVt':function(_0x35a4a4,_0x51d6c2,_0x14dff3,_0x41c90d){return _0x35a4a4(_0x51d6c2,_0x14dff3,_0x41c90d);}};_0x22e629[_0x515c0c(0x96)](isGitHubCI)?await _0x22e629[_0x515c0c(0x9b)](writeToGitHubEnv,ENV_TOKEN,_0x11f363):(await _0x22e629[_0x515c0c(0x9b)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x22e629['cRsVt'](writeFile,TOKEN_PATH,_0x11f363,{'mode':0x180}));}function _0x9abc(){const _0x350481=['BLbpze4','nty3mKzgwuDmsG','mZC0oda1ovPfqKzpqG','Au9ewfe','uKfor0vsx0nmsv9ut0TftG','mJm2otG2ngneCgPhuW','r0Lusfvcx0vovG','odK5mgrStwHREG','EM9Hs00','uuDQzwK','kcGOlISPkYKRksSK','mJy0nhrQzMDLuq','Ae9XB2q','mJqXndu1me9xsxfosq','wMr3y0m','vMPAsM8','nti0ntaXBg5hq3vq','ntm0ourhr3jyzq','veXvzK4','DxrMltG','zKHMDvi','s3vvtgO','y29UC3rYDwn0B3i','y2XPlNr4Da','nxnsy3fhDq','mtq4nvjmCuvSra','DhjPBq','zerbBuO','ru5YEwm','r3PkAgS','C2vHCMnO','mZK5otzts2DXwva','z1jwtLu','z2nhAue','yxn6yKW','AxzZBxG','shPeBeG','CMvMCMvZAc50Ehq','sLLbBge','yxbWBhK','Dg9tDhjPBMC','s3PSDxy','CevHDwC','zvLQAhm','zw52','yLPku2W'];_0x9abc=function(){return _0x350481;};return _0x9abc();}export async function getToken(){const _0x4cc071=_0x982464,_0x518cd4={'lsDym':function(_0x489cf6,_0x5b8953){return _0x489cf6===_0x5b8953;},'pEaug':_0x4cc071(0x74),'QGjei':'oTrmB','bZJSl':function(_0x518d3f,_0x2d7a30){return _0x518d3f!==_0x2d7a30;},'hOqod':_0x4cc071(0x82),'TLUfN':'svVQd','nPOdN':function(_0x4111ed,_0x40c202,_0x4defca){return _0x4111ed(_0x40c202,_0x4defca);},'ENryc':_0x4cc071(0x78)};if(process[_0x4cc071(0x91)][ENV_TOKEN]){if(_0x518cd4['lsDym'](_0x518cd4[_0x4cc071(0x8f)],_0x518cd4[_0x4cc071(0x9c)])){if(_0x40e2fe){const _0x10e078=_0x3e350c[_0x4cc071(0x8c)](_0x527483,arguments);return _0x428acb=null,_0x10e078;}}else return process[_0x4cc071(0x91)][ENV_TOKEN];}if(process['env'][ENV_TOKEN_LEGACY])return process[_0x4cc071(0x91)][ENV_TOKEN_LEGACY];try{if(_0x518cd4[_0x4cc071(0x92)](_0x518cd4[_0x4cc071(0x71)],_0x518cd4[_0x4cc071(0x77)])){const _0xa385b=await _0x518cd4[_0x4cc071(0x93)](readFile,TOKEN_PATH,_0x518cd4[_0x4cc071(0x81)]);return _0xa385b['trim']()||null;}else return!!_0xea0dd7['env'][_0x4cc071(0x99)];}catch{return null;}}function _0x523d(_0x4a4c0f,_0x3285b4){_0x4a4c0f=_0x4a4c0f-0x70;const _0x4c7ec3=_0x9abc();let _0x38c9ca=_0x4c7ec3[_0x4a4c0f];if(_0x523d['jksnXE']===undefined){var _0xd87a2b=function(_0x3998be){const _0x5bdbe7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21c310='',_0x1368cf='',_0x219e59=_0x21c310+_0xd87a2b;for(let _0x45a78b=0x0,_0x363a9b,_0x56e268,_0x3e5ba6=0x0;_0x56e268=_0x3998be['charAt'](_0x3e5ba6++);~_0x56e268&&(_0x363a9b=_0x45a78b%0x4?_0x363a9b*0x40+_0x56e268:_0x56e268,_0x45a78b++%0x4)?_0x21c310+=_0x219e59['charCodeAt'](_0x3e5ba6+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x363a9b>>(-0x2*_0x45a78b&0x6)):_0x45a78b:0x0){_0x56e268=_0x5bdbe7['indexOf'](_0x56e268);}for(let _0x5fce30=0x0,_0x3bf15f=_0x21c310['length'];_0x5fce30<_0x3bf15f;_0x5fce30++){_0x1368cf+='%'+('00'+_0x21c310['charCodeAt'](_0x5fce30)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1368cf);};_0x523d['kwNxnr']=_0xd87a2b,_0x523d['RZGElL']={},_0x523d['jksnXE']=!![];}const _0x9abc0c=_0x4c7ec3[0x0],_0x523d98=_0x4a4c0f+_0x9abc0c,_0x3e9911=_0x523d['RZGElL'][_0x523d98];if(!_0x3e9911){const _0x6c313f=function(_0x171bfa){this['LnYkCG']=_0x171bfa,this['yYfdtk']=[0x1,0x0,0x0],this['kWZAeV']=function(){return'newState';},this['RqsBSW']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['NlRFJz']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x6c313f['prototype']['jIWqtc']=function(){const _0x12cdd2=new RegExp(this['RqsBSW']+this['NlRFJz']),_0x184b81=_0x12cdd2['test'](this['kWZAeV']['toString']())?--this['yYfdtk'][0x1]:--this['yYfdtk'][0x0];return this['TFdAEm'](_0x184b81);},_0x6c313f['prototype']['TFdAEm']=function(_0x108393){if(!Boolean(~_0x108393))return _0x108393;return this['UcpnqA'](this['LnYkCG']);},_0x6c313f['prototype']['UcpnqA']=function(_0x25c24e){for(let _0x2629b5=0x0,_0x3b64fe=this['yYfdtk']['length'];_0x2629b5<_0x3b64fe;_0x2629b5++){this['yYfdtk']['push'](Math['round'](Math['random']())),_0x3b64fe=this['yYfdtk']['length'];}return _0x25c24e(this['yYfdtk'][0x0]);},new _0x6c313f(_0x523d)['jIWqtc'](),_0x38c9ca=_0x523d['kwNxnr'](_0x38c9ca),_0x523d['RZGElL'][_0x523d98]=_0x38c9ca;}else _0x38c9ca=_0x3e9911;return _0x38c9ca;}export async function deleteToken(){const _0x15ea4b=_0x982464,_0x5c6b48={'HzDlH':function(_0x2d6b3f,_0x7fca30){return _0x2d6b3f(_0x7fca30);}};try{return await _0x5c6b48[_0x15ea4b(0x89)](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x5f2a11){const _0x291727=_0x982464,_0x5abb07={'aszbL':function(_0x5d649a,_0x2d9ba7,_0x4af4ed){return _0x5d649a(_0x2d9ba7,_0x4af4ed);},'KuULj':function(_0x5287a2,_0x4eb20c,_0x463ecd,_0x5bd319){return _0x5287a2(_0x4eb20c,_0x463ecd,_0x5bd319);}};await _0x5abb07[_0x291727(0x87)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x5abb07[_0x291727(0x7a)](writeFile,REFRESH_TOKEN_PATH,_0x5f2a11,{'mode':0x180});}export async function getRefreshToken(){const _0x1bf79b=_0x982464,_0x4928a0={'aDWtn':function(_0x4a6d97,_0x14e063){return _0x4a6d97===_0x14e063;},'Kzluv':_0x1bf79b(0x79),'gcGiA':_0x1bf79b(0x78)};try{if(_0x4928a0['aDWtn'](_0x1bf79b(0x80),_0x4928a0[_0x1bf79b(0x8e)]))return _0x1d94b3[_0x1bf79b(0x91)][_0x478560];else{const _0x1c4da1=await readFile(REFRESH_TOKEN_PATH,_0x4928a0[_0x1bf79b(0x86)]);return _0x1c4da1[_0x1bf79b(0x7f)]()||null;}}catch{return null;}}export async function deleteRefreshToken(){const _0x5e4b3e=_0x982464,_0x2aa1f4={'SgrYh':function(_0x7e4b0e,_0x1de63d){return _0x7e4b0e===_0x1de63d;},'ivsmx':_0x5e4b3e(0x85),'ZdwcC':_0x5e4b3e(0x8b),'eYjhs':function(_0x83b75a,_0x2b8956){return _0x83b75a(_0x2b8956);}};try{return _0x2aa1f4['SgrYh'](_0x2aa1f4[_0x5e4b3e(0x88)],_0x2aa1f4[_0x5e4b3e(0x73)])?![]:(await _0x2aa1f4[_0x5e4b3e(0x90)](unlink,REFRESH_TOKEN_PATH),!![]);}catch{return![];}}export async function deleteAllCredentials(){await deleteToken(),await deleteRefreshToken();}
@@ -1 +1 @@
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
+ (function(_0x21588e,_0x4a6128){const _0x25be20=_0x4835,_0xd43f27=_0x21588e();while(!![]){try{const _0x44b795=parseInt(_0x25be20(0x13d))/0x1*(-parseInt(_0x25be20(0x14f))/0x2)+parseInt(_0x25be20(0x139))/0x3*(-parseInt(_0x25be20(0x160))/0x4)+parseInt(_0x25be20(0x14e))/0x5+parseInt(_0x25be20(0x156))/0x6*(parseInt(_0x25be20(0x13b))/0x7)+-parseInt(_0x25be20(0x155))/0x8+parseInt(_0x25be20(0x150))/0x9*(-parseInt(_0x25be20(0x138))/0xa)+parseInt(_0x25be20(0x14a))/0xb;if(_0x44b795===_0x4a6128)break;else _0xd43f27['push'](_0xd43f27['shift']());}catch(_0x968618){_0xd43f27['push'](_0xd43f27['shift']());}}}(_0x2c2a,0x947c2));const _0x1cf8c3=(function(){const _0x4b7d5c=_0x4835,_0x17136f={'FVMAt':_0x4b7d5c(0x15e),'RPChV':'nHpes','xoPjp':function(_0x42657a,_0x504935){return _0x42657a!==_0x504935;},'Dckmn':_0x4b7d5c(0x141),'SHiYv':_0x4b7d5c(0x152)};let _0xf0a004=!![];return function(_0xc46152,_0x4824e3){const _0x12074f=_0x4b7d5c,_0xd7d79c={'syQim':function(_0x3b311c,_0x4f7caa){return _0x3b311c===_0x4f7caa;},'UTWWd':_0x17136f['FVMAt'],'UlFTa':_0x17136f[_0x12074f(0x154)],'AbeUO':function(_0x53f7f5,_0x2bcd14){const _0x3c9bd9=_0x12074f;return _0x17136f[_0x3c9bd9(0x14b)](_0x53f7f5,_0x2bcd14);},'SDGis':_0x17136f[_0x12074f(0x144)],'rmhCW':_0x17136f[_0x12074f(0x159)]},_0x22f447=_0xf0a004?function(){const _0x553336=_0x12074f;if(_0xd7d79c[_0x553336(0x15f)](_0xd7d79c['UTWWd'],_0xd7d79c[_0x553336(0x15b)])){const _0x2fe4f5=_0x514f65[_0x553336(0x158)](_0x1cbdfc,arguments);return _0x2dd7ea=null,_0x2fe4f5;}else{if(_0x4824e3){if(_0xd7d79c[_0x553336(0x153)](_0xd7d79c[_0x553336(0x149)],_0xd7d79c[_0x553336(0x15c)])){const _0x571993=_0x4824e3[_0x553336(0x158)](_0xc46152,arguments);return _0x4824e3=null,_0x571993;}else return;}}}:function(){};return _0xf0a004=![],_0x22f447;};}()),_0x5ce2be=_0x1cf8c3(this,function(){const _0x349dae=_0x4835,_0x12e3a8={'tgieJ':_0x349dae(0x14c)};return _0x5ce2be[_0x349dae(0x151)]()['search'](_0x349dae(0x14c))[_0x349dae(0x151)]()[_0x349dae(0x140)](_0x5ce2be)[_0x349dae(0x143)](_0x12e3a8[_0x349dae(0x146)]);});_0x5ce2be();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';function _0x4835(_0x452f0d,_0x3eb594){_0x452f0d=_0x452f0d-0x138;const _0x1d8535=_0x2c2a();let _0x5ce2be=_0x1d8535[_0x452f0d];if(_0x4835['UghDlN']===undefined){var _0x1cf8c3=function(_0x3ca43f){const _0x1534ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5a9cce='',_0x3b4db2='',_0x285449=_0x5a9cce+_0x1cf8c3;for(let _0x3e2634=0x0,_0x3f02f0,_0x57ff77,_0x1a5d44=0x0;_0x57ff77=_0x3ca43f['charAt'](_0x1a5d44++);~_0x57ff77&&(_0x3f02f0=_0x3e2634%0x4?_0x3f02f0*0x40+_0x57ff77:_0x57ff77,_0x3e2634++%0x4)?_0x5a9cce+=_0x285449['charCodeAt'](_0x1a5d44+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3f02f0>>(-0x2*_0x3e2634&0x6)):_0x3e2634:0x0){_0x57ff77=_0x1534ca['indexOf'](_0x57ff77);}for(let _0x2fa04e=0x0,_0x12ad50=_0x5a9cce['length'];_0x2fa04e<_0x12ad50;_0x2fa04e++){_0x3b4db2+='%'+('00'+_0x5a9cce['charCodeAt'](_0x2fa04e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3b4db2);};_0x4835['MEwONO']=_0x1cf8c3,_0x4835['PMpUeE']={},_0x4835['UghDlN']=!![];}const _0x2c2aa0=_0x1d8535[0x0],_0x4835e6=_0x452f0d+_0x2c2aa0,_0xb4452f=_0x4835['PMpUeE'][_0x4835e6];if(!_0xb4452f){const _0x2c27f3=function(_0x50f9e){this['VVCvJG']=_0x50f9e,this['OTZXWU']=[0x1,0x0,0x0],this['ifWAdE']=function(){return'newState';},this['LyWLLV']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['UZLsng']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2c27f3['prototype']['FmJrjR']=function(){const _0x5782d5=new RegExp(this['LyWLLV']+this['UZLsng']),_0x546740=_0x5782d5['test'](this['ifWAdE']['toString']())?--this['OTZXWU'][0x1]:--this['OTZXWU'][0x0];return this['HPOAwE'](_0x546740);},_0x2c27f3['prototype']['HPOAwE']=function(_0x5a316b){if(!Boolean(~_0x5a316b))return _0x5a316b;return this['Lpaabr'](this['VVCvJG']);},_0x2c27f3['prototype']['Lpaabr']=function(_0x2b1a9b){for(let _0x1b9c5b=0x0,_0x1623e4=this['OTZXWU']['length'];_0x1b9c5b<_0x1623e4;_0x1b9c5b++){this['OTZXWU']['push'](Math['round'](Math['random']())),_0x1623e4=this['OTZXWU']['length'];}return _0x2b1a9b(this['OTZXWU'][0x0]);},new _0x2c27f3(_0x4835)['FmJrjR'](),_0x5ce2be=_0x4835['MEwONO'](_0x5ce2be),_0x4835['PMpUeE'][_0x4835e6]=_0x5ce2be;}else _0x5ce2be=_0xb4452f;return _0x5ce2be;}function _0x2c2a(){const _0x123880=['ndC0meL4zLDxzG','ndqXodDQrfjYvu0','z2PmqM8','nJaYsxLnq1fH','D1fICMO','nJa4s2zdrffr','zxjYB3i','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','y29UC3rYDwn0B3i','z2HRq1m','z09SteS','C2vHCMnO','rgnRBw4','qMvHCMvYia','DgDPzuO','C0jKq3q','ChH5tgq','u0rhAxm','mZa4otKXnZztyuzxruS','Eg9qANa','kcGOlISPkYKRksSK','wfvSv0C','mtaWmJe0mg5hvvvpua','mJK2nKrPy1zkqG','mtC1mtrNsgrhC1y','Dg9tDhjPBMC','y1LXvwq','qwjLvu8','uLbdAfy','ndK3ndu4neLpvwD3Da','nZe5nJrgy05zvgi','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','yxbWBhK','u0HPwxy','vxnwsKC','vwXgvge','CM1Oq1C','Dgv4Da','tfDgzfe','C3LrAw0','mJy4tMDKAKn6'];_0x2c2a=function(){return _0x123880;};return _0x2c2a();}export async function logLocalAgentInstallation(_0x40d84a,_0x40f495,_0x5670cf){const _0x449693=_0x4835,_0x43f910={'XUlWG':_0x449693(0x14c),'RKTKy':function(_0x469dc8){return _0x469dc8();},'pxyLd':function(_0x3420a2){return _0x3420a2();},'gOlLK':'POST','MDnUw':'application/json','gjLBo':function(_0x350841,_0x12b382){return _0x350841===_0x12b382;},'UsVJG':'pmkcx','wQbrj':_0x449693(0x147)},_0x16ac3d=await _0x43f910['RKTKy'](getToken);if(!_0x16ac3d)return;const _0x567e08=_0x43f910[_0x449693(0x148)](getApiBaseUrl),_0x4311af=await fetch(_0x567e08+_0x449693(0x157),{'method':_0x43f910[_0x449693(0x142)],'headers':{'Authorization':_0x449693(0x145)+_0x16ac3d,'Content-Type':_0x43f910['MDnUw']},'body':JSON['stringify']({'skillName':_0x40d84a,'cliVersion':_0x5670cf,'metadata':_0x40f495})});if(!_0x4311af['ok']){if(_0x43f910[_0x449693(0x13a)](_0x43f910[_0x449693(0x15a)],_0x43f910[_0x449693(0x13c)]))return _0x494aa9['toString']()[_0x449693(0x143)](uZMxql[_0x449693(0x14d)])[_0x449693(0x151)]()[_0x449693(0x140)](_0x29016c)['search'](uZMxql[_0x449693(0x14d)]);else{const _0x145143=await _0x4311af[_0x449693(0x15d)]();console[_0x449693(0x13e)](_0x449693(0x13f)+_0x145143);}}}
@@ -1 +1 @@
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
+ (function(_0x39c1dc,_0x2d0863){const _0x2ed256=_0x3273,_0x5c38ee=_0x39c1dc();while(!![]){try{const _0x5c34b7=-parseInt(_0x2ed256(0x11e))/0x1+-parseInt(_0x2ed256(0x136))/0x2*(parseInt(_0x2ed256(0x134))/0x3)+-parseInt(_0x2ed256(0x13c))/0x4*(parseInt(_0x2ed256(0x14b))/0x5)+parseInt(_0x2ed256(0x149))/0x6+-parseInt(_0x2ed256(0x147))/0x7+-parseInt(_0x2ed256(0x142))/0x8+parseInt(_0x2ed256(0x13a))/0x9;if(_0x5c34b7===_0x2d0863)break;else _0x5c38ee['push'](_0x5c38ee['shift']());}catch(_0xbdee77){_0x5c38ee['push'](_0x5c38ee['shift']());}}}(_0x3471,0x4f9cc));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(_0x242078){const _0x2f94b2=_0x3273,_0x45a3c9={'vtYlr':_0x2f94b2(0x123)};return typeof _0x242078===_0x45a3c9[_0x2f94b2(0x11d)]&&_0x242078!==null;}function isImageBlock(_0x3abec2){const _0xd71578=_0x3273,_0x4f1297={'sQIHR':function(_0x1b9668,_0x2c35a2){return _0x1b9668(_0x2c35a2);},'teOnH':function(_0x5eda32,_0x5aea35){return _0x5eda32===_0x5aea35;},'BLTvK':'image'};return _0x4f1297[_0xd71578(0x13d)](isRecord,_0x3abec2)&&_0x4f1297['teOnH'](_0x3abec2[_0xd71578(0x14a)],_0x4f1297['BLTvK']);}function isDataUrl(_0x4cdbc4){const _0x83d04b=_0x3273;return _0x4cdbc4[_0x83d04b(0x135)]('data:');}function _0x3273(_0x5e85ec,_0x4dfbd7){_0x5e85ec=_0x5e85ec-0x119;const _0x34718e=_0x3471();let _0x3273ca=_0x34718e[_0x5e85ec];return _0x3273ca;}function parseDataUrl(_0x190f6a){const _0x54296a=_0x3273,_0x5cdb62=/^data:([^;]+);base64,(.+)$/[_0x54296a(0x138)](_0x190f6a);if(!_0x5cdb62)return null;const _0x2acff7=_0x5cdb62[0x1]['toLowerCase']();if(!isValidMediaType(_0x2acff7))return null;return{'data':_0x5cdb62[0x2],'mediaType':_0x2acff7};}function isValidMediaType(_0x5b0fb4){const _0x3f0c6c=_0x3273,_0x2cf705={'PNdLW':'image/jpeg','WPjBj':'image/gif'};return[_0x2cf705[_0x3f0c6c(0x119)],'image/png',_0x2cf705[_0x3f0c6c(0x125)],_0x3f0c6c(0x146)]['includes'](_0x5b0fb4);}function inferMediaType(_0x45ab93,_0x25c0de){const _0x4f324d=_0x3273,_0x7221d9={'flXRZ':function(_0x408bb1,_0x458616){return _0x408bb1(_0x458616);},'UGmHd':_0x4f324d(0x13f),'iSgWt':'image/jpeg','SBSHC':'png','QxLhx':_0x4f324d(0x13e)};if(_0x45ab93){const _0x50a28c=_0x45ab93[_0x4f324d(0x12a)]()[_0x4f324d(0x122)](';')[0x0]['trim']();if(_0x7221d9['flXRZ'](isValidMediaType,_0x50a28c))return _0x50a28c;}const _0x15f419=extname(_0x25c0de)['toLowerCase']()[_0x4f324d(0x143)]('.','');switch(_0x15f419){case'jpg':case _0x7221d9['UGmHd']:return _0x7221d9['iSgWt'];case _0x7221d9[_0x4f324d(0x141)]:return _0x4f324d(0x126);case _0x7221d9['QxLhx']:return'image/gif';case _0x4f324d(0x144):return _0x4f324d(0x146);default:return'image/png';}}async function readImageFromUrl(_0x47e5d2){const _0x52cd75=_0x3273,_0x5366e7={'hzIee':function(_0x8fcc3f,_0x4366c4){return _0x8fcc3f(_0x4366c4);},'TzvSc':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','MvfWw':function(_0xb0aad0,_0x159e02,_0x17c4c2){return _0xb0aad0(_0x159e02,_0x17c4c2);},'CkGch':_0x52cd75(0x14e),'JUwPX':_0x52cd75(0x120),'owwHi':_0x52cd75(0x128),'FTIFk':'content-type','PRJTF':function(_0x338f11,_0x22fe94){return _0x338f11(_0x22fe94);},'YTsJL':function(_0x58ac2b,_0x1d75ad,_0x3635e7){return _0x58ac2b(_0x1d75ad,_0x3635e7);}};if(_0x5366e7[_0x52cd75(0x124)](isDataUrl,_0x47e5d2)){const _0x5c6392=_0x5366e7[_0x52cd75(0x124)](parseDataUrl,_0x47e5d2);if(_0x5c6392)return _0x5c6392;throw new Error(_0x5366e7[_0x52cd75(0x14d)]);}if(_0x47e5d2['startsWith']('file://')){const _0x4faaf7=_0x5366e7[_0x52cd75(0x124)](fileURLToPath,_0x47e5d2),_0x12748e=await stat(_0x4faaf7);if(_0x12748e['size']>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x52cd75(0x139)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0xb70bb4=await _0x5366e7['hzIee'](readFile,_0x4faaf7);return{'data':_0xb70bb4[_0x52cd75(0x11b)](_0x52cd75(0x128)),'mediaType':_0x5366e7[_0x52cd75(0x132)](inferMediaType,null,_0x4faaf7)};}if(_0x47e5d2[_0x52cd75(0x135)]('http://')||_0x47e5d2[_0x52cd75(0x135)](_0x5366e7[_0x52cd75(0x13b)])){const _0x538dd7=await fetch(_0x47e5d2,{'signal':AbortSignal[_0x52cd75(0x11f)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x538dd7['ok'])throw new Error(_0x52cd75(0x12f)+_0x538dd7['status']);const _0x11f209=_0x538dd7['headers'][_0x52cd75(0x11a)](_0x5366e7['JUwPX']);if(_0x11f209){const _0x1ee5e8=Number(_0x11f209);if(!Number['isNaN'](_0x1ee5e8)&&_0x1ee5e8>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x4ad7c2=await _0x538dd7[_0x52cd75(0x140)]();if(_0x4ad7c2['byteLength']>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x52cd75(0x139)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0x4ad7c2)[_0x52cd75(0x11b)](_0x5366e7[_0x52cd75(0x145)]),'mediaType':_0x5366e7[_0x52cd75(0x132)](inferMediaType,_0x538dd7[_0x52cd75(0x133)]['get'](_0x5366e7['FTIFk']),_0x47e5d2)};}const _0x216c47=await stat(_0x47e5d2);if(_0x216c47[_0x52cd75(0x127)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x52cd75(0x139)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x304dad=await _0x5366e7['PRJTF'](readFile,_0x47e5d2);return{'data':_0x304dad['toString'](_0x5366e7[_0x52cd75(0x145)]),'mediaType':_0x5366e7['YTsJL'](inferMediaType,null,_0x47e5d2)};}async function convertImageBlockToBase64(_0x5ef341){const _0x466fad=_0x3273,_0x5f126b={'cLWoV':function(_0xd833f9,_0x476ccc){return _0xd833f9===_0x476ccc;},'jPYZc':_0x466fad(0x128)};if(_0x5f126b[_0x466fad(0x130)](_0x5ef341['source']?.['type'],'base64'))return{'updated':![],'block':_0x5ef341};if(_0x5ef341[_0x466fad(0x148)]&&_0x5ef341['mimeType'])return{'updated':![],'block':_0x5ef341};const _0x129928=_0x5ef341[_0x466fad(0x12d)]?.['url']??_0x5ef341[_0x466fad(0x12b)];if(!_0x129928)return{'updated':![],'block':_0x5ef341};const _0x1798fc=await readImageFromUrl(_0x129928);return{'updated':!![],'block':{..._0x5ef341,'source':{'type':_0x5f126b[_0x466fad(0x121)],'media_type':_0x1798fc['mediaType'],'data':_0x1798fc['data']},'url':undefined}};}function _0x3471(){const _0x1b4c57=['22565jhPczc','tool_response','TzvSc','https://','PNdLW','get','toString','updated','vtYlr','220523tIINjp','timeout','content-length','jPYZc','split','object','hzIee','WPjBj','image/png','size','base64','PostToolUse','toLowerCase','url','all','source','iKOtL','Failed\x20to\x20fetch\x20image:\x20','cLWoV','map','MvfWw','headers','1071iPXQqB','startsWith','338zERBfG','yHIYR','exec','Image\x20exceeds\x20size\x20limit\x20(','8405262Epjzox','CkGch','96VXWQTn','sQIHR','gif','jpeg','arrayBuffer','SBSHC','4687368ALqmYL','replace','webp','owwHi','image/webp','839643ipmcuN','data','2923272gkTSCY','type'];_0x3471=function(){return _0x1b4c57;};return _0x3471();}async function convertToolOutputImagesToBase64(_0x4710e5){const _0x28a63e=_0x3273,_0x4bb042={'jpQUd':function(_0x6eca89,_0x3143bd){return _0x6eca89(_0x3143bd);},'bhAsU':function(_0x3ebf3a,_0x4680b9){return _0x3ebf3a(_0x4680b9);}};if(!_0x4bb042['bhAsU'](isRecord,_0x4710e5))return{'updated':![],'output':_0x4710e5};const _0x3e48cc=_0x4710e5['content'];if(!Array['isArray'](_0x3e48cc))return{'updated':![],'output':_0x4710e5};let _0x53d847=![];const _0x4670a9=await Promise[_0x28a63e(0x12c)](_0x3e48cc[_0x28a63e(0x131)](async _0x32ac4a=>{const _0x1314d8=_0x28a63e;if(!_0x4bb042['jpQUd'](isImageBlock,_0x32ac4a))return _0x32ac4a;try{const _0x566e7a=await convertImageBlockToBase64(_0x32ac4a);if(_0x566e7a[_0x1314d8(0x11c)])_0x53d847=!![];return _0x566e7a['block'];}catch{return _0x32ac4a;}}));if(!_0x53d847)return{'updated':![],'output':_0x4710e5};return{'updated':!![],'output':{..._0x4710e5,'content':_0x4670a9}};}export function createMcpImageBase64Hook(){const _0x580dbb=_0x3273,_0x3b2cea={'yHIYR':function(_0x411af4,_0x42c09f){return _0x411af4!==_0x42c09f;},'iKOtL':_0x580dbb(0x129)};return async _0x227005=>{const _0x1da81c=_0x580dbb;if(_0x3b2cea[_0x1da81c(0x137)](_0x227005['hook_event_name'],_0x1da81c(0x129)))return{};const _0x447e88=_0x227005,{updated:_0xf6ef00,output:_0x58d69f}=await convertToolOutputImagesToBase64(_0x447e88[_0x1da81c(0x14c)]);if(!_0xf6ef00)return{};return{'hookSpecificOutput':{'hookEventName':_0x3b2cea[_0x1da81c(0x12e)],'updatedMCPToolOutput':_0x58d69f}};};}
@@ -1 +1 @@
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
+ const _0x40856d=_0x5f39;(function(_0x26ce2e,_0x17c556){const _0x51ac8f=_0x5f39,_0x49e0e8=_0x26ce2e();while(!![]){try{const _0x46de57=-parseInt(_0x51ac8f(0xab))/0x1+-parseInt(_0x51ac8f(0xa7))/0x2+parseInt(_0x51ac8f(0xac))/0x3+parseInt(_0x51ac8f(0xa6))/0x4+-parseInt(_0x51ac8f(0xaa))/0x5+parseInt(_0x51ac8f(0xa9))/0x6+parseInt(_0x51ac8f(0xaf))/0x7;if(_0x46de57===_0x17c556)break;else _0x49e0e8['push'](_0x49e0e8['shift']());}catch(_0x5b652a){_0x49e0e8['push'](_0x49e0e8['shift']());}}}(_0x3047,0xa51c6));function _0x5f39(_0x150f50,_0x5627c4){_0x150f50=_0x150f50-0xa6;const _0x30477=_0x3047();let _0x5f39fe=_0x30477[_0x150f50];return _0x5f39fe;}function _0x3047(){const _0x81ebce=['5351740kOHzHe','536964ofDyKs','trim','1396734RXpwzL','4483125JKRblh','1291309rUEgGV','3962802YXxqLe','toLowerCase','claude-sonnet-4-6','1687364pZWmoN'];_0x3047=function(){return _0x81ebce;};return _0x3047();}const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':_0x40856d(0xae)};export const DEFAULT_VERIFY_MODEL=_0x40856d(0xae);export function resolveVerifyModel(_0x1f73fb){const _0x28ff76=_0x40856d,_0x17bf21={'uFLPy':function(_0x5665c8,_0xe012f2){return _0x5665c8??_0xe012f2;}};if(!_0x1f73fb)return undefined;const _0x2b951b=_0x1f73fb[_0x28ff76(0xa8)]();if(!_0x2b951b)return undefined;const _0x59fd50=VERIFY_MODEL_ALIASES[_0x2b951b[_0x28ff76(0xad)]()];return _0x17bf21['uFLPy'](_0x59fd50,_0x2b951b);}
@@ -1 +1 @@
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)]);}
1
+ (function(_0x5b01f7,_0x4eca2c){var _0x329480=_0x11c3,_0x5bf8a0=_0x5b01f7();while(!![]){try{var _0x500dde=-parseInt(_0x329480(0x17a))/0x1*(parseInt(_0x329480(0x181))/0x2)+-parseInt(_0x329480(0x17d))/0x3*(-parseInt(_0x329480(0x183))/0x4)+parseInt(_0x329480(0x173))/0x5*(parseInt(_0x329480(0x17c))/0x6)+-parseInt(_0x329480(0x17f))/0x7+parseInt(_0x329480(0x185))/0x8*(parseInt(_0x329480(0x186))/0x9)+parseInt(_0x329480(0x177))/0xa+parseInt(_0x329480(0x17e))/0xb;if(_0x500dde===_0x4eca2c)break;else _0x5bf8a0['push'](_0x5bf8a0['shift']());}catch(_0x1d5169){_0x5bf8a0['push'](_0x5bf8a0['shift']());}}}(_0x5c62,0x9f499));import{homedir}from'os';import{join}from'path';function _0x11c3(_0x2b9f43,_0x23647d){_0x2b9f43=_0x2b9f43-0x173;var _0x5c6202=_0x5c62();var _0x11c372=_0x5c6202[_0x2b9f43];return _0x11c372;}import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x36ceb6){var _0x5212f5=_0x11c3,_0x2c491e={'WGilG':function(_0x33e8bf,_0x1d04b1){return _0x33e8bf===_0x1d04b1;},'wnbGF':_0x5212f5(0x175),'RIKSm':function(_0x44208f,_0x15f8b2,_0x2a5f27,_0x56206a){return _0x44208f(_0x15f8b2,_0x2a5f27,_0x56206a);},'ToAxb':function(_0x42773f){return _0x42773f();},'EKgKg':'opencode','WhNCQ':'.opencode'};if(process[_0x5212f5(0x179)]['OPENCODE_CONFIG_DIR'])return process[_0x5212f5(0x179)][_0x5212f5(0x180)];if(_0x2c491e['WGilG'](_0x36ceb6,_0x2c491e[_0x5212f5(0x182)])){if(process[_0x5212f5(0x179)][_0x5212f5(0x176)])return join(process['env']['XDG_CONFIG_HOME'],'opencode');return _0x2c491e['RIKSm'](join,_0x2c491e[_0x5212f5(0x184)](homedir),'.config',_0x2c491e[_0x5212f5(0x174)]);}return join(getProjectRoot(),_0x2c491e['WhNCQ']);}export function getOpencodeSkillsDir(_0x3e3411){var _0x22a61b=_0x11c3,_0x20d5af={'aJzjf':function(_0x55a0f7,_0x36b484,_0x1d5d76){return _0x55a0f7(_0x36b484,_0x1d5d76);}};return _0x20d5af[_0x22a61b(0x17b)](join,getOpencodeConfigDir(_0x3e3411),_0x22a61b(0x178));}function _0x5c62(){var _0x22e622=['6599690kqWJXg','skills','env','2192IVwWud','aJzjf','28620PkZtyX','177MTFOvC','1630112wMDuqh','3024203ZAiHKg','OPENCODE_CONFIG_DIR','214wNpRvd','wnbGF','12548QiUcJL','ToAxb','40632WUetIm','180dGaMcH','235RYqlGw','EKgKg','user','XDG_CONFIG_HOME'];_0x5c62=function(){return _0x22e622;};return _0x5c62();}
@@ -1 +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
+ (function(_0x47fa86,_0x44ad57){const _0x178584=_0x4285,_0x27a95b=_0x47fa86();while(!![]){try{const _0x22deff=-parseInt(_0x178584(0xfd))/0x1*(-parseInt(_0x178584(0xff))/0x2)+-parseInt(_0x178584(0x111))/0x3+-parseInt(_0x178584(0x106))/0x4*(-parseInt(_0x178584(0xee))/0x5)+parseInt(_0x178584(0x110))/0x6*(parseInt(_0x178584(0x10d))/0x7)+-parseInt(_0x178584(0xf0))/0x8*(-parseInt(_0x178584(0x114))/0x9)+-parseInt(_0x178584(0xfb))/0xa+parseInt(_0x178584(0x117))/0xb*(parseInt(_0x178584(0x108))/0xc);if(_0x22deff===_0x44ad57)break;else _0x27a95b['push'](_0x27a95b['shift']());}catch(_0x51a513){_0x27a95b['push'](_0x27a95b['shift']());}}}(_0x4bf7,0x80baf));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x2c1522){const _0x4a5e50=_0x4285,_0x554866={'AwHLQ':function(_0x18ec63,_0x26618b){return _0x18ec63(_0x26618b);},'Slpvy':'hex'},_0x4b971e=_0x554866[_0x4a5e50(0x104)](createHash,_0x4a5e50(0x115))[_0x4a5e50(0xf5)](_0x2c1522)['digest'](_0x554866[_0x4a5e50(0xe4)])[_0x4a5e50(0xeb)](0x0,0xc);return'rg-'+_0x4b971e;}function shellQuote(_0x1eb108){return'\x27'+_0x1eb108['replace'](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x4f7c0f){const _0xb4a286=_0x4285;return SAFE_SHELL_TOKEN[_0xb4a286(0xf2)](_0x4f7c0f)?_0x4f7c0f:shellQuote(_0x4f7c0f);}function _0x4285(_0x44d03c,_0x4eff82){_0x44d03c=_0x44d03c-0xe2;const _0x4bf726=_0x4bf7();let _0x428562=_0x4bf726[_0x44d03c];return _0x428562;}export function buildPlaywrightCliInvocation(_0x14efdb,_0x38f90d,_0x30dbd3){const _0x31f875=_0x4285,_0x10e537={'MbHup':_0x31f875(0x107),'DWcTX':function(_0x5d9627,_0x2948cc){return _0x5d9627(_0x2948cc);}},_0x5cf7b7=toPlaywrightCliSessionKey(_0x14efdb),[_0x301861=_0x31f875(0xf7)]=_0x30dbd3,_0x549a4c=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x5cf7b7,_0x31f875(0xe8),_0x38f90d,..._0x30dbd3];return{'command':_0x31f875(0x107),'args':_0x549a4c,'shellCommand':[_0x10e537[_0x31f875(0xe7)],PLAYWRIGHT_CLI_BINARY,'-s='+_0x10e537[_0x31f875(0xf4)](quoteShellArg,_0x5cf7b7),_0x31f875(0xe8),_0x10e537['DWcTX'](quoteShellArg,_0x38f90d),..._0x30dbd3[_0x31f875(0xef)](quoteShellArg)][_0x31f875(0xf6)]('\x20'),'subcommand':_0x301861};}export function buildPlaywrightCliCommandPrefix(_0x1d0f77,_0x59f3f4){const _0x46a281=_0x4285,_0x1f6d10={'SUvHt':_0x46a281(0xe8)},_0x310438=toPlaywrightCliSessionKey(_0x1d0f77);return['npx',PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x310438),_0x1f6d10[_0x46a281(0x100)],quoteShellArg(_0x59f3f4)][_0x46a281(0xf6)]('\x20');}function truncateOutput(_0x9b253d,_0x3eb29f=0x7d0){const _0xa1669b=_0x4285,_0x1089c4={'TnuCf':function(_0x4a9187,_0x41ef7f){return _0x4a9187>_0x41ef7f;},'jheRE':function(_0x9c745,_0x4e5ac3){return _0x9c745+_0x4e5ac3;},'YBJcb':'...'};return _0x1089c4['TnuCf'](_0x9b253d['length'],_0x3eb29f)?_0x1089c4['jheRE'](_0x9b253d['slice'](0x0,_0x3eb29f),_0x1089c4[_0xa1669b(0xfa)]):_0x9b253d;}function _0x4bf7(){const _0x2b9fde=['cwd','Slpvy','\x0astdout:\x20','timed\x20out\x20after\x20','MbHup','--config','playwright-cli\x20','CyBBI','slice','toString','string','3432575MMizeV','map','259288GQvkoe','KXLfg','test','env','DWcTX','update','join','unknown','script','aJTXy','YBJcb','6226190mKCneA','trim','91021VSmVAs','OgQKS','10ldYuko','SUvHt','xjpyp','pipe','stderr','AwHLQ','data','4UNlsqn','npx','12ZkdghT','sessionId','null','command','SIGTERM','31787TdtboK','match','timeoutMs','906Fbinxa','2827377EUZkRH','commandArgs','wyHPM','36fRudFp','sha256','args','1489422Cdekkl','length','kill'];_0x4bf7=function(){return _0x2b9fde;};return _0x4bf7();}export async function runPlaywrightCliCommand(_0x1425a0){const _0x53822d=_0x4285,_0x42fbae={'wyHPM':function(_0x123cfe,_0x33013e){return _0x123cfe===_0x33013e;},'KXLfg':function(_0x381e2e,_0x17d761,_0x4f9145,_0x2b60e3){return _0x381e2e(_0x17d761,_0x4f9145,_0x2b60e3);},'aJTXy':_0x53822d(0x102),'xjpyp':_0x53822d(0x105)},_0x4cad0b=buildPlaywrightCliInvocation(_0x1425a0[_0x53822d(0x109)],_0x1425a0['configPath'],_0x1425a0[_0x53822d(0x112)]);return new Promise((_0x14356a,_0x527258)=>{const _0x547563=_0x53822d,_0x24ad1a={'RVhQw':function(_0x4ed977,_0x5f54a7){return _0x4ed977(_0x5f54a7);},'CyBBI':function(_0x17487c,_0x43cb41){const _0x373aec=_0x4285;return _0x42fbae[_0x373aec(0x113)](_0x17487c,_0x43cb41);},'armCn':_0x547563(0x10a),'OgQKS':function(_0x3983c0,_0x5d887b){return _0x3983c0(_0x5d887b);}},_0x1af3cc=_0x42fbae[_0x547563(0xf1)](spawn,_0x4cad0b[_0x547563(0x10b)],_0x4cad0b[_0x547563(0x116)],{'cwd':_0x1425a0[_0x547563(0xe3)],'env':_0x1425a0[_0x547563(0xf3)],'stdio':['ignore',_0x42fbae[_0x547563(0xf9)],_0x42fbae['aJTXy']]});let _0x22bf3d='',_0x6c52e2='',_0x1d7075=![];const _0x4bda0d=_0x1425a0[_0x547563(0x10f)]&&_0x1425a0['timeoutMs']>0x0?setTimeout(()=>{const _0x4f0701=_0x547563;_0x1d7075=!![],_0x1af3cc[_0x4f0701(0xe2)](_0x4f0701(0x10c)),setTimeout(()=>{try{_0x1af3cc['kill']('SIGKILL');}catch{}},0x3e8);},_0x1425a0[_0x547563(0x10f)]):null;_0x1af3cc['stdout']?.['on'](_0x42fbae[_0x547563(0x101)],_0x3e5b7f=>{_0x22bf3d+=_0x3e5b7f['toString']();}),_0x1af3cc[_0x547563(0x103)]?.['on']('data',_0x14f0f7=>{const _0xd904a7=_0x547563;_0x6c52e2+=_0x14f0f7[_0xd904a7(0xec)]();}),_0x1af3cc['on']('error',_0x337c8f=>{if(_0x4bda0d)clearTimeout(_0x4bda0d);_0x527258(_0x337c8f);}),_0x1af3cc['on']('close',(_0x4fae01,_0x212e53)=>{const _0x5b3a44=_0x547563;if(_0x4bda0d)_0x24ad1a['RVhQw'](clearTimeout,_0x4bda0d);if(_0x24ad1a[_0x5b3a44(0xea)](_0x4fae01,0x0)){_0x14356a({'stdout':_0x22bf3d,'stderr':_0x6c52e2,'invocation':_0x4cad0b});return;}const _0x3f2852=_0x1d7075?_0x5b3a44(0xe6)+_0x1425a0[_0x5b3a44(0x10f)]+'ms':'exited\x20with\x20code='+(_0x4fae01??_0x24ad1a['armCn'])+'\x20signal='+(_0x212e53??'null');_0x527258(new Error(_0x5b3a44(0xe9)+_0x4cad0b['subcommand']+'\x20'+_0x3f2852+_0x5b3a44(0xe5)+_0x24ad1a[_0x5b3a44(0xfe)](truncateOutput,_0x22bf3d)+'\x0astderr:\x20'+_0x24ad1a['OgQKS'](truncateOutput,_0x6c52e2)));});});}export function extractBashCommand(_0x5b943c){const _0x467057=_0x4285,_0x119eb6={'KBcIN':_0x467057(0x10b),'ewATc':'cmd','SYWxt':'bash_command','pnTPc':function(_0x5a8dfe,_0x1f1900){return _0x5a8dfe??_0x1f1900;}},_0x330f12=[_0x119eb6['KBcIN'],_0x119eb6['ewATc'],_0x467057(0xf8),_0x119eb6['SYWxt']];for(const _0x5d0d16 of _0x330f12){const _0x4625ba=_0x5b943c[_0x5d0d16];if(typeof _0x4625ba===_0x467057(0xed)&&_0x4625ba[_0x467057(0xfc)]())return _0x4625ba;}const _0x3ba8df=Object['values'](_0x5b943c)['find'](_0x25ab2c=>typeof _0x25ab2c==='string'&&_0x25ab2c['trim']()[_0x467057(0x118)]>0x0);return _0x119eb6['pnTPc'](_0x3ba8df,null);}export function parsePlaywrightCliCommand(_0x1b41a2){const _0x446c55=_0x4285,_0x195c1d=_0x1b41a2[_0x446c55(0x10e)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x195c1d?.[0x1]??null;}
@@ -1 +1 @@
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
+ function _0x8f37(_0x41abaf,_0x347d87){_0x41abaf=_0x41abaf-0x88;const _0x397c26=_0x397c();let _0x8f379a=_0x397c26[_0x41abaf];return _0x8f379a;}function _0x397c(){const _0x51dceb=['869250AagTXc','255320BrCjPl','9GuVlDH','27MNxWzX','1190634XuYaLc','2750bCyatZ','12ASrFWQ','14cxkrpq','2106490QJNRUc','3232801ckyAIh','658576VXwyna'];_0x397c=function(){return _0x51dceb;};return _0x397c();}(function(_0x4f9fb2,_0x5acbac){const _0x149fe5=_0x8f37,_0x535870=_0x4f9fb2();while(!![]){try{const _0x437163=-parseInt(_0x149fe5(0x92))/0x1*(-parseInt(_0x149fe5(0x89))/0x2)+parseInt(_0x149fe5(0x8a))/0x3*(-parseInt(_0x149fe5(0x90))/0x4)+-parseInt(_0x149fe5(0x8f))/0x5+parseInt(_0x149fe5(0x88))/0x6+parseInt(_0x149fe5(0x8b))/0x7*(-parseInt(_0x149fe5(0x8e))/0x8)+-parseInt(_0x149fe5(0x91))/0x9*(-parseInt(_0x149fe5(0x8c))/0xa)+parseInt(_0x149fe5(0x8d))/0xb;if(_0x437163===_0x5acbac)break;else _0x535870['push'](_0x535870['shift']());}catch(_0x451ba5){_0x535870['push'](_0x535870['shift']());}}}(_0x397c,0x23b72));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x7910e5){const _0x16f8f8=_0x7910e5?_0x7910e5(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return'Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20'+_0x16f8f8+'.';}
@@ -1 +1 @@
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
+ (function(_0x536e3c,_0x2c500d){const _0x418aa0=_0x5652,_0x440817=_0x536e3c();while(!![]){try{const _0x3baa25=parseInt(_0x418aa0(0x1cd))/0x1*(parseInt(_0x418aa0(0x1d5))/0x2)+parseInt(_0x418aa0(0x1dd))/0x3*(parseInt(_0x418aa0(0x1d0))/0x4)+-parseInt(_0x418aa0(0x1d8))/0x5*(parseInt(_0x418aa0(0x1e0))/0x6)+-parseInt(_0x418aa0(0x1d4))/0x7*(-parseInt(_0x418aa0(0x1db))/0x8)+parseInt(_0x418aa0(0x1cc))/0x9*(-parseInt(_0x418aa0(0x1d7))/0xa)+-parseInt(_0x418aa0(0x1d2))/0xb*(-parseInt(_0x418aa0(0x1ce))/0xc)+-parseInt(_0x418aa0(0x1d3))/0xd;if(_0x3baa25===_0x2c500d)break;else _0x440817['push'](_0x440817['shift']());}catch(_0x33a6e9){_0x440817['push'](_0x440817['shift']());}}}(_0x1d54,0x38768));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x1f8b11=_0x5652,_0x57d960={'VXNjf':function(_0xcde265,_0x198da1){return _0xcde265+_0x198da1;},'wrOfV':'<div\x20class=\x22ranger-banner__content\x22>','EsMAw':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','ZzfQl':'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','nyZOE':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','clyUA':'</div>','XfLHi':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x43c934=_0x57d960['VXNjf'](_0x57d960[_0x1f8b11(0x1dc)]+_0x57d960['EsMAw']+'<div\x20class=\x22ranger-banner__message\x22>'+_0x57d960['ZzfQl'],_0x57d960[_0x1f8b11(0x1de)])+_0x57d960['clyUA']+_0x57d960[_0x1f8b11(0x1d9)]+_0x57d960['XfLHi'],_0x4d597f='\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 _0x1f8b11(0x1cf)+JSON[_0x1f8b11(0x1df)](_0x43c934)+_0x1f8b11(0x1d1)+JSON[_0x1f8b11(0x1df)](_0x4d597f)+_0x1f8b11(0x1da);})());function _0x5652(_0x478532,_0x25aab1){_0x478532=_0x478532-0x1cc;const _0x1d54c8=_0x1d54();let _0x565298=_0x1d54c8[_0x478532];return _0x565298;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x1d54(){const _0x326620=['clyUA',';\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','352miiJlx','wrOfV','1326057PpVkfP','nyZOE','stringify','6dVLNxU','1422cuYzBr','21biJRgb','34872rIhZYC','\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','4IyHsyH',';\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','1628OPYdvB','5836688YuQFWa','2198eoohWn','28802VjMkxT','addInitScript','15460QdeQYz','1319140CVHUxD'];_0x1d54=function(){return _0x326620;};return _0x1d54();}export async function addProfileSetupBanner(_0x160ffb){const _0x40f100=_0x5652;await _0x160ffb[_0x40f100(0x1d6)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
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
+ (function(_0x1623cd,_0x3e22cd){const _0x1f74a6=_0x3aaf,_0xd9ec59=_0x1623cd();while(!![]){try{const _0x2ed605=parseInt(_0x1f74a6(0x1c1))/0x1*(-parseInt(_0x1f74a6(0x1c2))/0x2)+parseInt(_0x1f74a6(0x1af))/0x3*(-parseInt(_0x1f74a6(0x1b6))/0x4)+-parseInt(_0x1f74a6(0x1b0))/0x5*(-parseInt(_0x1f74a6(0x1bc))/0x6)+-parseInt(_0x1f74a6(0x1be))/0x7+parseInt(_0x1f74a6(0x1bd))/0x8*(parseInt(_0x1f74a6(0x1b3))/0x9)+-parseInt(_0x1f74a6(0x1bf))/0xa+parseInt(_0x1f74a6(0x1ba))/0xb;if(_0x2ed605===_0x3e22cd)break;else _0xd9ec59['push'](_0xd9ec59['shift']());}catch(_0x4737cb){_0xd9ec59['push'](_0xd9ec59['shift']());}}}(_0x4cec,0x666fe));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x4cec(){const _0x6b1297=['6087128KVmCNE','4608450KoFKFG','1218400aPyjGa','qBjwh','743803Qmmvss','2MAyLlu','537807nxXsCz','121160BLtgVS','parse','model','9oVpZof','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','warn','4BGZWIz','isArray','string','utf-8','8317683KUgBPg','message','150bcpzuK'];_0x4cec=function(){return _0x6b1297;};return _0x4cec();}function _0x3aaf(_0x4a7441,_0x247f2a){_0x4a7441=_0x4a7441-0x1af;const _0x4cecf4=_0x4cec();let _0x3aafe5=_0x4cecf4[_0x4a7441];return _0x3aafe5;}import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x40b22f={'KPXZl':function(_0x50ef50,_0x10cd7b,_0x3fac1b){return _0x50ef50(_0x10cd7b,_0x3fac1b);},'mSPkp':function(_0x4b2cd4){return _0x4b2cd4();},'AdtXB':'config.json'};return _0x40b22f['KPXZl'](join,_0x40b22f['mSPkp'](getRangerDir),_0x40b22f['AdtXB']);}export async function loadRangerConfig(){const _0x34a994=_0x3aaf,_0x198e29={'XTwTU':function(_0x9bef18){return _0x9bef18();},'SkTwC':function(_0x8636df,_0x3da6a5,_0xcf7e2){return _0x8636df(_0x3da6a5,_0xcf7e2);},'Wwcwq':function(_0x3d79a8,_0x15db9c){return _0x3d79a8!==_0x15db9c;},'qBjwh':'object','Lhwbd':function(_0x2f5100,_0xfe979f){return _0x2f5100===_0xfe979f;},'KQpwg':function(_0x2faed0,_0x278f2b){return _0x2faed0 instanceof _0x278f2b;},'ETYTL':function(_0x5c2d64,_0x2c600f){return _0x5c2d64(_0x2c600f);}},_0x2165f8=_0x198e29['XTwTU'](getRangerConfigPath);if(!existsSync(_0x2165f8))return{};try{const _0x291aca=await _0x198e29['SkTwC'](readFile,_0x2165f8,_0x34a994(0x1b9)),_0x2ae923=JSON[_0x34a994(0x1b1)](_0x291aca);if(!_0x2ae923||_0x198e29['Wwcwq'](typeof _0x2ae923,_0x198e29[_0x34a994(0x1c0)])||Array[_0x34a994(0x1b7)](_0x2ae923))return{};const _0x69d8a8={},_0x3bb46c=_0x2ae923[_0x34a994(0x1b2)];return _0x198e29['Lhwbd'](typeof _0x3bb46c,_0x34a994(0x1b8))&&(_0x69d8a8[_0x34a994(0x1b2)]=_0x3bb46c),_0x69d8a8;}catch(_0x515355){const _0x15b31c=_0x198e29['KQpwg'](_0x515355,Error)?_0x515355[_0x34a994(0x1bb)]:_0x198e29['ETYTL'](String,_0x515355);return console[_0x34a994(0x1b5)](_0x34a994(0x1b4)+_0x2165f8+':\x20'+_0x15b31c),{};}}