@ranger-testing/ranger-cli 2.3.0 → 2.3.2
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.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -0
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/featureReportGenerator.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/git.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/reportGenerator.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyInBrowser.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4ca25b,_0x5696a9){const _0x2bf15f=_0x2f2e,_0x22663c=_0x4ca25b();while(!![]){try{const _0x2426a7=parseInt(_0x2bf15f(0xed))/0x1+parseInt(_0x2bf15f(0x109))/0x2*(parseInt(_0x2bf15f(0xe5))/0x3)+-parseInt(_0x2bf15f(0x100))/0x4+-parseInt(_0x2bf15f(0xf6))/0x5+-parseInt(_0x2bf15f(0x113))/0x6*(-parseInt(_0x2bf15f(0xef))/0x7)+-parseInt(_0x2bf15f(0xe2))/0x8*(parseInt(_0x2bf15f(0x104))/0x9)+-parseInt(_0x2bf15f(0xe1))/0xa*(parseInt(_0x2bf15f(0x10b))/0xb);if(_0x2426a7===_0x5696a9)break;else _0x22663c['push'](_0x22663c['shift']());}catch(_0x23f62a){_0x22663c['push'](_0x22663c['shift']());}}}(_0x87e5,0xeb0ca));export function buildTraceViewerUrl(_0x1e3834){const _0xeddce=encodeURIComponent(_0x1e3834);return'https://trace.playwright.dev/?trace='+_0xeddce;}function getStatusEmoji(_0x361821){const _0x3b4075=_0x2f2e,_0x11007d={'tjwpv':'verified','XIBJh':_0x3b4075(0xeb),'CpqFQ':'in_progress','rjpgU':_0x3b4075(0xdf),'wKbgb':_0x3b4075(0xfd)};switch(_0x361821){case _0x11007d['tjwpv']:case _0x11007d[_0x3b4075(0xe3)]:return'✅';case _0x3b4075(0xda):case _0x11007d[_0x3b4075(0x108)]:return'🔄';case _0x11007d['rjpgU']:return'🟠';case _0x11007d[_0x3b4075(0xe6)]:return'🛑';case'closed':return'⛔';default:return'❓';}}function formatDuration(_0x10e448){const _0x45763b=_0x2f2e,_0x296115={'QkiTV':function(_0x50382b,_0x108dfb){return _0x50382b===_0x108dfb;},'BKUaj':function(_0x17646a,_0x170f29){return _0x17646a<_0x170f29;},'mrQgz':function(_0x44343f,_0x1f0907){return _0x44343f/_0x1f0907;},'oEuZL':function(_0x357b07,_0x3a96a3){return _0x357b07%_0x3a96a3;}};if(_0x10e448===null||_0x296115[_0x45763b(0x116)](_0x10e448,undefined))return _0x45763b(0xf1);if(_0x296115[_0x45763b(0xf8)](_0x10e448,0x3e8))return _0x10e448+'ms';const _0x151fa8=Math[_0x45763b(0x102)](_0x296115[_0x45763b(0x103)](_0x10e448,0x3e8));if(_0x151fa8<0x3c)return _0x151fa8+'s';const _0x4ae2b2=Math['floor'](_0x296115[_0x45763b(0x103)](_0x151fa8,0x3c)),_0x2bb1ce=_0x296115[_0x45763b(0xe7)](_0x151fa8,0x3c);return _0x4ae2b2+'m\x20'+_0x2bb1ce+'s';}function formatDate(_0x2fda6a){const _0x41bd6e=_0x2f2e,_0x477a40={'lVmOG':'numeric'};if(!_0x2fda6a)return'N/A';return new Date(_0x2fda6a)[_0x41bd6e(0xfe)]('en-US',{'year':_0x477a40[_0x41bd6e(0xf0)],'month':'short','day':_0x477a40[_0x41bd6e(0xf0)]});}function _0x87e5(){const _0x56cd1f=['DrVmy','incomplete','\x20verified)','1230730hwPpmk','4816yFStdh','XIBJh','-\x20**Verified:**\x20','5553HhZgqC','wKbgb','oEuZL','name','**:\x20','nDtUB','completed','Session\x20','163024bVJHgx','length','2073106ZVOFxG','lVmOG','N/A','iteration','agentResponse','ready','verifiedAt','3199855TGcOaF','closedAt','BKUaj','find','currentSession','substring','-\x20**','blocked','toLocaleDateString','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','2599088JLQqIB','-\x20**Closed:**\x20','floor','mrQgz','738bcFmTU','description','srefQ','Wionw','CpqFQ','1804ILYqSC','##\x20Blocking\x20Issues','11ULFYMa','verified','**Branch:**\x20','gqBAf','mCSxn','completedAt','blockedReason','status','12OVFqwK','RSeRi','No\x20reason\x20provided','QkiTV','-\x20**Reason:**\x20','browserSessionId','APeop','filter','iytBp','push','pending','-\x20**Summary:**\x20','\x20|\x20','-\x20**Session:**\x20'];_0x87e5=function(){return _0x56cd1f;};return _0x87e5();}function _0x2f2e(_0x135f7b,_0x30dc79){_0x135f7b=_0x135f7b-0xd9;const _0x87e5a=_0x87e5();let _0x2f2e99=_0x87e5a[_0x135f7b];return _0x2f2e99;}export function generateFeatureReport(_0xae5570){const _0x130365=_0x2f2e,_0x142aed={'CACcC':'No\x20Session','mCSxn':function(_0x561041,_0x225600){return _0x561041(_0x225600);},'APeop':function(_0x267d36,_0x2113d4){return _0x267d36(_0x2113d4);},'nDtUB':function(_0x34f8ab,_0x153739){return _0x34f8ab===_0x153739;},'gqBAf':'closed','RSeRi':function(_0x21696b,_0x12d914){return _0x21696b(_0x12d914);},'Wionw':_0x130365(0xfd),'SimtL':function(_0x1c6adc,_0x1a12b5){return _0x1c6adc===_0x1a12b5;},'AznGa':'incomplete','eozHe':_0x130365(0x10a),'iytBp':function(_0x1cd9b8,_0x333ed5){return _0x1cd9b8>_0x333ed5;},'TAWgz':'##\x20All\x20Verification\x20Sessions','srefQ':_0x130365(0xff),'qGIUO':'|---------|----------|--------|----------|------|','ADoGR':_0x130365(0xf1),'jlXDf':function(_0x548011,_0x3bcbcf){return _0x548011===_0x3bcbcf;},'DrVmy':_0x130365(0xeb)},{feature:_0x491234,stats:_0x42e8a8,checklistItems:_0x36499b,sessions:_0x2dd8ba}=_0xae5570,_0x27588e=[];_0x27588e['push']('#\x20Feature\x20Review\x20Report:\x20'+_0x491234[_0x130365(0xe8)]),_0x27588e[_0x130365(0xd9)]('');let _0x16605f,_0x1007b7;if(_0x491234[_0x130365(0x110)])_0x16605f='Completed',_0x1007b7='✅';else{if(_0x491234[_0x130365(0xfa)]){const _0x24c943=_0x491234[_0x130365(0xfa)]['status'];switch(_0x24c943){case _0x130365(0xf4):_0x16605f='Session\x20'+_0x491234['currentSession'][_0x130365(0xf2)]+':\x20Ready',_0x1007b7='▶️';break;case'in_progress':_0x16605f='Session\x20'+_0x491234['currentSession']['iteration']+':\x20In\x20Progress',_0x1007b7='🔄';break;case _0x130365(0xeb):_0x16605f=_0x130365(0xec)+_0x491234[_0x130365(0xfa)]['iteration']+':\x20Awaiting\x20Review',_0x1007b7='📊';break;default:_0x16605f='Unknown',_0x1007b7='❓';}}else _0x16605f=_0x142aed['CACcC'],_0x1007b7='⬜';}_0x27588e['push']('**Status:**\x20'+_0x1007b7+'\x20'+_0x16605f),_0x27588e[_0x130365(0xd9)]('**Created:**\x20'+_0x142aed[_0x130365(0x10f)](formatDate,_0x491234['createdAt']));_0x491234['completedAt']&&_0x27588e['push']('**Completed:**\x20'+_0x142aed[_0x130365(0x10f)](formatDate,_0x491234[_0x130365(0x110)]));_0x491234['gitRepoUrl']&&_0x27588e['push']('**Repository:**\x20'+_0x491234['gitRepoUrl']);_0x491234['gitBranch']&&_0x27588e[_0x130365(0xd9)](_0x130365(0x10d)+_0x491234['gitBranch']);_0x27588e['push']('');_0x491234[_0x130365(0x105)]&&(_0x27588e[_0x130365(0xd9)]('##\x20Description'),_0x27588e[_0x130365(0xd9)](''),_0x27588e[_0x130365(0xd9)](_0x491234['description']),_0x27588e[_0x130365(0xd9)](''));const _0x32b3bb=_0x36499b['filter'](_0x5dbb51=>_0x5dbb51['status']!=='closed'),_0x4d6c1c=_0x36499b['filter'](_0x1be5bc=>_0x1be5bc[_0x130365(0x112)]==='verified')['length'];_0x27588e[_0x130365(0xd9)]('##\x20Scenario\x20Progress\x20('+_0x4d6c1c+'/'+_0x32b3bb[_0x130365(0xee)]+_0x130365(0xe0)),_0x27588e['push']('');for(const _0x2442be of _0x36499b){const _0xadf9c=_0x142aed['APeop'](getStatusEmoji,_0x2442be['status']),_0x32a7fe=_0x142aed[_0x130365(0xea)](_0x2442be[_0x130365(0x112)],_0x142aed[_0x130365(0x10e)]),_0x41a82c=_0x32a7fe?'~~':'',_0x5ad8ad=_0x32a7fe?'~~':'';_0x27588e[_0x130365(0xd9)]('###\x20'+_0xadf9c+'\x20'+_0x41a82c+_0x2442be['description']+_0x5ad8ad),_0x27588e['push']('');_0x2442be['status']===_0x130365(0x10c)&&_0x2442be['verifiedAt']&&_0x27588e['push'](_0x130365(0xe4)+_0x142aed[_0x130365(0x114)](formatDate,_0x2442be[_0x130365(0xf5)]));_0x2442be[_0x130365(0x112)]===_0x142aed[_0x130365(0x107)]&&_0x2442be['blockedAt']&&(_0x27588e[_0x130365(0xd9)]('-\x20**Blocked:**\x20'+formatDate(_0x2442be['blockedAt'])),_0x2442be[_0x130365(0x111)]&&_0x27588e['push']('-\x20**Reason:**\x20'+_0x2442be[_0x130365(0x111)]));_0x142aed['SimtL'](_0x2442be[_0x130365(0x112)],_0x142aed[_0x130365(0x10e)])&&_0x2442be['closedAt']&&(_0x27588e['push'](_0x130365(0x101)+formatDate(_0x2442be[_0x130365(0xf7)])),_0x2442be['canceledReason']&&_0x27588e[_0x130365(0xd9)](_0x130365(0x117)+_0x2442be['canceledReason']));_0x2442be[_0x130365(0x112)]===_0x142aed['AznGa']&&_0x27588e['push']('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x2442be[_0x130365(0x118)]){_0x27588e['push'](_0x130365(0xdd)+_0x2442be[_0x130365(0x118)]);const _0x27c90e=_0x2dd8ba['find'](_0x4247aa=>_0x4247aa['id']===_0x2442be['browserSessionId']);_0x27c90e&&(_0x27c90e[_0x130365(0xf3)]&&_0x27588e['push'](_0x130365(0xdb)+_0x27c90e['agentResponse']),_0x27c90e['traceUrl']&&_0x27588e[_0x130365(0xd9)]('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+buildTraceViewerUrl(_0x27c90e['traceUrl'])+')'));}_0x27588e['push']('');}const _0xcf4e2b=_0x36499b[_0x130365(0x11a)](_0x3638bc=>_0x3638bc[_0x130365(0x112)]===_0x130365(0xfd));if(_0xcf4e2b['length']>0x0){_0x27588e['push'](_0x142aed['eozHe']),_0x27588e[_0x130365(0xd9)]('');for(const _0x50f7a1 of _0xcf4e2b){_0x27588e['push'](_0x130365(0xfc)+_0x50f7a1['description']+_0x130365(0xe9)+(_0x50f7a1[_0x130365(0x111)]||_0x130365(0x115)));}_0x27588e['push']('');}else _0x27588e[_0x130365(0xd9)](_0x142aed['eozHe']),_0x27588e[_0x130365(0xd9)](''),_0x27588e[_0x130365(0xd9)]('None'),_0x27588e[_0x130365(0xd9)]('');if(_0x142aed[_0x130365(0x11b)](_0x2dd8ba[_0x130365(0xee)],0x0)){_0x27588e[_0x130365(0xd9)](_0x142aed['TAWgz']),_0x27588e[_0x130365(0xd9)](''),_0x27588e[_0x130365(0xd9)](_0x142aed[_0x130365(0x106)]),_0x27588e[_0x130365(0xd9)](_0x142aed['qGIUO']);for(const _0x2cd441 of _0x2dd8ba){const _0x484da8=_0x2cd441['checklistItemId']?_0x36499b[_0x130365(0xf9)](_0x2490be=>_0x2490be['id']===_0x2cd441['checklistItemId']):null,_0x156192=_0x484da8?_0x484da8['description'][_0x130365(0xfb)](0x0,0x1e)+(_0x484da8[_0x130365(0x105)]['length']>0x1e?'...':''):_0x142aed['ADoGR'],_0x2a0852=_0x142aed['jlXDf'](_0x2cd441[_0x130365(0x112)],_0x142aed[_0x130365(0xde)])?'✅':_0x2cd441['status']==='failed'?'❌':'🔄';_0x27588e[_0x130365(0xd9)]('|\x20'+_0x2cd441['id']+'\x20|\x20'+_0x156192+_0x130365(0xdc)+_0x2a0852+'\x20'+_0x2cd441[_0x130365(0x112)]+'\x20|\x20'+_0x142aed['mCSxn'](formatDuration,_0x2cd441['durationMs'])+'\x20|\x20'+_0x142aed[_0x130365(0x119)](formatDate,_0x2cd441['createdAt'])+'\x20|');}_0x27588e['push']('');}return _0x27588e['join']('\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 _0x100593=_0x23bb;(function(_0x43d1be,_0x8c444f){const _0x48c857=_0x23bb,_0x188998=_0x43d1be();while(!![]){try{const _0x3a4add=-parseInt(_0x48c857(0x192))/0x1+-parseInt(_0x48c857(0x18d))/0x2*(parseInt(_0x48c857(0x17c))/0x3)+parseInt(_0x48c857(0x176))/0x4+-parseInt(_0x48c857(0x168))/0x5+parseInt(_0x48c857(0x188))/0x6*(-parseInt(_0x48c857(0x174))/0x7)+parseInt(_0x48c857(0x161))/0x8*(parseInt(_0x48c857(0x19e))/0x9)+-parseInt(_0x48c857(0x16f))/0xa*(-parseInt(_0x48c857(0x19b))/0xb);if(_0x3a4add===_0x8c444f)break;else _0x188998['push'](_0x188998['shift']());}catch(_0x12e9a3){_0x188998['push'](_0x188998['shift']());}}}(_0x5383,0x302ce));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 _0x5383(){const _0x4f1fdf=['alloc','KkXFk','dataSize','ufXKL','ESRvJ','dataOffset','kMXhN','xyGhX','OGtlA','1284WJKQSV','offset','FGrhG','NZqNn','CmZns','1794GSKjYr','oeJdT','fixWebmDuration.js','slice','argv','59319FzHTEu','TfYek','dXyOm','nQtbY','YLavt','CjNeu','iHnCm','uvvLO','pBTbe','1639aIoYds','bkHKi','ZgzIl','45Kvfyha','356464EojidI','UVVlI','writeDoubleBE','czYsJ','NKGrn','iDIZT','length','986835GIzSlu','gjrjq','pow','endsWith','idLen','hzIbH','Zdxbs','48980hjdYaF','brRru','from','Fixed:\x20','bZEKD','12236ADZAIB','SvLLx','251860MiBNGo','yMNXh','sizeLen','error','JvnTZ','floor','627pdmWai','concat','trldV'];_0x5383=function(){return _0x4f1fdf;};return _0x5383();}function readVint(_0x496224,_0x2fa94a){const _0x3f4835=_0x23bb,_0x2f4e66={'SzdKS':function(_0x162e0e,_0x2688c0){return _0x162e0e>=_0x2688c0;},'brRru':function(_0x36b6be,_0x1aa962){return _0x36b6be&_0x1aa962;},'czYsJ':function(_0x458c79,_0xfea26c){return _0x458c79+_0xfea26c;},'lJvmy':function(_0x508231,_0x419af8){return _0x508231&_0x419af8;}};if(_0x2f4e66['SzdKS'](_0x2fa94a,_0x496224['length']))return[0x0,0x0];const _0x4f3121=_0x496224[_0x2fa94a];let _0xffdea5=0x1,_0x123f06=0x80;while(_0xffdea5<=0x8&&!_0x2f4e66[_0x3f4835(0x170)](_0x4f3121,_0x123f06)){_0xffdea5++,_0x123f06>>=0x1;}if(_0x2f4e66['czYsJ'](_0x2fa94a,_0xffdea5)>_0x496224[_0x3f4835(0x167)])return[0x0,0x0];let _0x38c2ff=_0x2f4e66['lJvmy'](_0x4f3121,_0x123f06-0x1);for(let _0x246872=0x1;_0x246872<_0xffdea5;_0x246872++){_0x38c2ff=_0x2f4e66[_0x3f4835(0x164)](_0x38c2ff*0x100,_0x496224[_0x2fa94a+_0x246872]);}return[_0x38c2ff,_0xffdea5];}function readId(_0x2dd60a,_0x13aba6){const _0x84e1b8=_0x23bb,_0x4eb130={'ddvqh':function(_0xd7bab,_0x32c12d){return _0xd7bab>=_0x32c12d;},'FGrhG':function(_0x33822b,_0x5b4670){return _0x33822b>=_0x5b4670;},'iDIZT':function(_0x5e4524,_0x2499b9){return _0x5e4524>_0x2499b9;},'vAmgt':function(_0x4ed5fe,_0x51a7bf){return _0x4ed5fe<_0x51a7bf;},'YLavt':function(_0x9ec80c,_0x15a28c){return _0x9ec80c+_0x15a28c;},'XAlPR':function(_0x2d2a9e,_0x383fa9){return _0x2d2a9e*_0x383fa9;},'NKGrn':function(_0x4aa4c9,_0x521999){return _0x4aa4c9+_0x521999;}};if(_0x4eb130['ddvqh'](_0x13aba6,_0x2dd60a[_0x84e1b8(0x167)]))return[0x0,0x0];const _0x3adcb9=_0x2dd60a[_0x13aba6];let _0x5e70da;if(_0x3adcb9>=0x80)_0x5e70da=0x1;else{if(_0x3adcb9>=0x40)_0x5e70da=0x2;else{if(_0x3adcb9>=0x20)_0x5e70da=0x3;else{if(_0x4eb130[_0x84e1b8(0x18a)](_0x3adcb9,0x10))_0x5e70da=0x4;else return[_0x3adcb9,0x1];}}}if(_0x4eb130[_0x84e1b8(0x166)](_0x13aba6+_0x5e70da,_0x2dd60a['length']))return[0x0,0x0];let _0x4bf7d8=0x0;for(let _0x41b783=0x0;_0x4eb130['vAmgt'](_0x41b783,_0x5e70da);_0x41b783++){_0x4bf7d8=_0x4eb130[_0x84e1b8(0x196)](_0x4eb130['XAlPR'](_0x4bf7d8,0x100),_0x2dd60a[_0x4eb130[_0x84e1b8(0x165)](_0x13aba6,_0x41b783)]);}return[_0x4bf7d8,_0x5e70da];}function readUint(_0x38e7cc,_0x261c71,_0x2a1f68){const _0x12e4a2={'SjhDM':function(_0x7e7185,_0x1bf5cd){return _0x7e7185+_0x1bf5cd;},'LwjsK':function(_0x576338,_0x2791e4){return _0x576338+_0x2791e4;}};let _0x4a487a=0x0;for(let _0x4785e4=0x0;_0x4785e4<_0x2a1f68;_0x4785e4++){_0x4a487a=_0x12e4a2['SjhDM'](_0x4a487a*0x100,_0x38e7cc[_0x12e4a2['LwjsK'](_0x261c71,_0x4785e4)]);}return _0x4a487a;}function isUnknownSize(_0xb6d08c,_0x1aa3bd){const _0x105c41=_0x23bb,_0x2ea4d9={'VPmdS':function(_0x568cca,_0x4679d1){return _0x568cca===_0x4679d1;},'qdZJG':function(_0x367d2f,_0xe5096e){return _0x367d2f-_0xe5096e;}};return _0x2ea4d9['VPmdS'](_0xb6d08c,_0x2ea4d9['qdZJG'](Math[_0x105c41(0x16a)](0x2,0x7*_0x1aa3bd),0x1));}function writeId(_0x12d730){const _0x288cab=_0x23bb,_0x5b3ecd={'SvLLx':function(_0x313824,_0x44d3e2){return _0x313824<=_0x44d3e2;},'uGwPY':function(_0x3587ec,_0x5a0f39){return _0x3587ec&_0x5a0f39;},'zmEfF':function(_0x50d07f,_0x308c89){return _0x50d07f&_0x308c89;},'XxzyI':function(_0x42b00c,_0x4244b6){return _0x42b00c&_0x4244b6;},'jZssI':function(_0x6168a9,_0x36e625){return _0x6168a9>>_0x36e625;}};if(_0x5b3ecd[_0x288cab(0x175)](_0x12d730,0xff))return Buffer[_0x288cab(0x171)]([_0x12d730]);if(_0x12d730<=0xffff)return Buffer[_0x288cab(0x171)]([_0x5b3ecd['uGwPY'](_0x12d730>>0x8,0xff),_0x12d730&0xff]);if(_0x12d730<=0xffffff)return Buffer[_0x288cab(0x171)]([_0x5b3ecd['zmEfF'](_0x12d730>>0x10,0xff),_0x12d730>>0x8&0xff,_0x5b3ecd['XxzyI'](_0x12d730,0xff)]);return Buffer[_0x288cab(0x171)]([_0x5b3ecd['jZssI'](_0x12d730,0x18)&0xff,_0x5b3ecd['XxzyI'](_0x12d730>>0x10,0xff),_0x12d730>>0x8&0xff,_0x12d730&0xff]);}function writeVint(_0xc3be0b,_0x5156d9){const _0x194c9d=_0x23bb,_0x492fb7={'lViQX':function(_0x775c36,_0x44f746){return _0x775c36||_0x44f746;},'Zdxbs':function(_0xd1b3ac,_0x26a7c4){return _0xd1b3ac-_0x26a7c4;},'bZEKD':function(_0x36f29e,_0x204021){return _0x36f29e>=_0x204021;},'ufXKL':function(_0x2c41b2,_0x4d03ce){return _0x2c41b2&_0x4d03ce;},'gjrjq':function(_0x45b4b0,_0x24ec2f){return _0x45b4b0/_0x24ec2f;},'iHnCm':function(_0x18f7de,_0x2f38e1){return _0x18f7de-_0x2f38e1;}};let _0x150787=_0x492fb7['lViQX'](_0x5156d9,0x1);while(Math[_0x194c9d(0x16a)](0x2,0x7*_0x150787)-0x2<_0xc3be0b)_0x150787++;const _0x99963a=Buffer[_0x194c9d(0x17f)](_0x150787);for(let _0x5d2216=_0x492fb7[_0x194c9d(0x16e)](_0x150787,0x1);_0x492fb7[_0x194c9d(0x173)](_0x5d2216,0x0);_0x5d2216--){_0x99963a[_0x5d2216]=_0x492fb7[_0x194c9d(0x182)](_0xc3be0b,0xff),_0xc3be0b=Math[_0x194c9d(0x17b)](_0x492fb7[_0x194c9d(0x169)](_0xc3be0b,0x100));}return _0x99963a[0x0]|=0x1<<_0x492fb7[_0x194c9d(0x198)](0x8,_0x150787),_0x99963a;}function writeFloat64(_0x3d4d62){const _0x14e6c9=_0x23bb,_0x23634a=Buffer[_0x14e6c9(0x17f)](0x8);return _0x23634a[_0x14e6c9(0x163)](_0x3d4d62,0x0),_0x23634a;}function writeVoid(_0x3ca02f){const _0x2fb639=_0x23bb,_0x5e11fe={'ESRvJ':function(_0x159e00,_0x816e1a){return _0x159e00<=_0x816e1a;},'VBNPT':function(_0x5716c8,_0x27e638){return _0x5716c8-_0x27e638;},'KJpEQ':function(_0x1ab7af,_0x273cb4){return _0x1ab7af-_0x273cb4;},'OGtlA':function(_0xe98aa7,_0x40bddc){return _0xe98aa7*_0x40bddc;}};for(let _0x18c4e2=0x1;_0x5e11fe[_0x2fb639(0x183)](_0x18c4e2,0x8);_0x18c4e2++){const _0x3e2d6b=_0x5e11fe['VBNPT'](_0x5e11fe['KJpEQ'](_0x3ca02f,0x1),_0x18c4e2);if(_0x3e2d6b>=0x0&&_0x3e2d6b<=Math[_0x2fb639(0x16a)](0x2,_0x5e11fe[_0x2fb639(0x187)](0x7,_0x18c4e2))-0x2)return Buffer[_0x2fb639(0x17d)]([Buffer[_0x2fb639(0x171)]([ID_VOID]),writeVint(_0x3e2d6b,_0x18c4e2),Buffer[_0x2fb639(0x17f)](_0x3e2d6b)]);}return Buffer['alloc'](0x0);}function _0x23bb(_0x4ae69c,_0x3695a4){_0x4ae69c=_0x4ae69c-0x161;const _0x538320=_0x5383();let _0x23bb7e=_0x538320[_0x4ae69c];return _0x23bb7e;}function findElement(_0x10dd1f,_0x48a08d,_0x34fd15,_0x59e234){const _0x4e7cb8=_0x23bb,_0x43963a={'dXyOm':function(_0x542a72,_0x5679d2){return _0x542a72<_0x5679d2;},'hzIbH':function(_0x5f50e0,_0x2786f7,_0x46cded){return _0x5f50e0(_0x2786f7,_0x46cded);},'VfMmC':function(_0x4194d1,_0x211498){return _0x4194d1===_0x211498;}};let _0x47f3a0=_0x48a08d;while(_0x43963a[_0x4e7cb8(0x194)](_0x47f3a0,_0x34fd15)){const [_0x53cd93,_0x4cb62d]=_0x43963a[_0x4e7cb8(0x16d)](readId,_0x10dd1f,_0x47f3a0),[_0x233425,_0x511ddf]=_0x43963a['hzIbH'](readVint,_0x10dd1f,_0x47f3a0+_0x4cb62d);if(_0x43963a['VfMmC'](_0x53cd93,_0x59e234))return{'offset':_0x47f3a0,'idLen':_0x4cb62d,'sizeLen':_0x511ddf,'dataSize':_0x233425,'dataOffset':_0x47f3a0+_0x4cb62d+_0x511ddf};if(isUnknownSize(_0x233425,_0x511ddf))break;_0x47f3a0+=_0x4cb62d+_0x511ddf+_0x233425;}return null;}function computeDurationMs(_0x4c32ad,_0x1073f7){const _0x12e809=_0x23bb,_0x24e809={'UVVlI':function(_0x5d0fc7,_0x4b38a9){return _0x5d0fc7!==_0x4b38a9;},'JvnTZ':function(_0x5e4af7,_0x1b4738,_0x381721){return _0x5e4af7(_0x1b4738,_0x381721);},'ZgzIl':function(_0x21219a,_0x4592dc){return _0x21219a+_0x4592dc;},'ZRyQS':function(_0x1bf216,_0x1a0f35){return _0x1bf216+_0x1a0f35;},'LSsSb':function(_0x26c2af,_0x450bb5){return _0x26c2af<_0x450bb5;},'kMXhN':function(_0x87c1c,_0x5a5ae7,_0x4929ca){return _0x87c1c(_0x5a5ae7,_0x4929ca);},'uvvLO':function(_0x42866b,_0xdc38f4){return _0x42866b+_0xdc38f4;},'CjNeu':function(_0x39ca74,_0x2fed76,_0x2194b0,_0x2dbbbf){return _0x39ca74(_0x2fed76,_0x2194b0,_0x2dbbbf);},'WrIAu':function(_0x137ac3,_0x4a0924){return _0x137ac3+_0x4a0924;},'lhuvz':function(_0x1403ed,_0x3ae1af){return _0x1403ed===_0x3ae1af;},'zuEqT':function(_0x5d809b,_0x282e53){return _0x5d809b+_0x282e53;},'CmZns':function(_0x5b9541,_0x34c6bd){return _0x5b9541/_0x34c6bd;},'yRYCy':function(_0xf5cf15,_0x2a8e11){return _0xf5cf15*_0x2a8e11;}};let _0x23fdf2=0x0;const _0x14c508=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x31f901=_0x4c32ad['indexOf'](_0x14c508);if(_0x31f901===-0x1)return 0x0;while(_0x31f901<_0x4c32ad['length']){const [_0x42a99c,_0x3aaeff]=readId(_0x4c32ad,_0x31f901);if(_0x24e809[_0x12e809(0x162)](_0x42a99c,ID_CLUSTER))break;const [_0x6edd7f,_0x776919]=_0x24e809[_0x12e809(0x17a)](readVint,_0x4c32ad,_0x24e809[_0x12e809(0x19d)](_0x31f901,_0x3aaeff)),_0x444afb=_0x24e809[_0x12e809(0x19d)](_0x31f901,_0x3aaeff)+_0x776919,_0x55cf82=isUnknownSize(_0x6edd7f,_0x776919);let _0x1f61f2;if(_0x55cf82){let _0x5ea76d=_0x444afb;while(_0x5ea76d<_0x4c32ad['length']-0x4){const [_0x355c7a,_0x89a260]=readId(_0x4c32ad,_0x5ea76d);if(_0x355c7a===ID_CLUSTER){_0x1f61f2=_0x5ea76d;break;}const [_0x366461,_0x33f109]=readVint(_0x4c32ad,_0x24e809['ZRyQS'](_0x5ea76d,_0x89a260));if(isUnknownSize(_0x366461,_0x33f109)){_0x1f61f2=_0x4c32ad[_0x12e809(0x167)];break;}_0x5ea76d+=_0x89a260+_0x33f109+_0x366461;}_0x1f61f2??=_0x4c32ad[_0x12e809(0x167)];}else _0x1f61f2=_0x444afb+_0x6edd7f;let _0x1c8f05=0x0,_0x153488=_0x444afb;while(_0x24e809['LSsSb'](_0x153488,_0x1f61f2)){const [_0xdd8aa3,_0x5ae66b]=_0x24e809[_0x12e809(0x185)](readId,_0x4c32ad,_0x153488),[_0x28be90,_0x2eb0a0]=_0x24e809[_0x12e809(0x17a)](readVint,_0x4c32ad,_0x24e809[_0x12e809(0x199)](_0x153488,_0x5ae66b));if(_0xdd8aa3===ID_TIMESTAMP)_0x1c8f05=_0x24e809[_0x12e809(0x197)](readUint,_0x4c32ad,_0x24e809['WrIAu'](_0x153488,_0x5ae66b)+_0x2eb0a0,_0x28be90);else{if(_0x24e809['lhuvz'](_0xdd8aa3,ID_SIMPLE_BLOCK)&&_0x28be90>=0x4){const _0x52b351=_0x24e809['zuEqT'](_0x153488+_0x5ae66b,_0x2eb0a0),[,_0xaf8006]=_0x24e809['kMXhN'](readVint,_0x4c32ad,_0x52b351),_0x2f3d2d=_0x4c32ad['readInt16BE'](_0x52b351+_0xaf8006),_0x4923d0=_0x24e809[_0x12e809(0x18c)](_0x24e809['yRYCy'](_0x1c8f05+_0x2f3d2d,_0x1073f7),0xf4240);_0x4923d0>_0x23fdf2&&(_0x23fdf2=_0x4923d0);}else{if(_0xdd8aa3===ID_CLUSTER)break;}}if(isUnknownSize(_0x28be90,_0x2eb0a0))break;_0x153488+=_0x5ae66b+_0x2eb0a0+_0x28be90;}_0x31f901=_0x1f61f2;}return _0x23fdf2;}export function fixWebmDuration(_0x456025,_0xf485e8){const _0x3b1c5e=_0x23bb,_0x3cc4cf={'kIEzD':function(_0x4ba5dc,_0x4c0d1c){return _0x4ba5dc(_0x4c0d1c);},'NZqNn':function(_0x596d41,_0x17bb51,_0x2cb828){return _0x596d41(_0x17bb51,_0x2cb828);},'mSXeS':function(_0x553864,_0x115661,_0x55d60a){return _0x553864(_0x115661,_0x55d60a);},'oeJdT':function(_0x4c73c2,_0x285775){return _0x4c73c2+_0x285775;},'nQtbY':function(_0x57f24a,_0x394403){return _0x57f24a===_0x394403;},'SmJzW':function(_0x2e0e4d,_0x5ee382){return _0x2e0e4d+_0x5ee382;},'ygJYC':function(_0x124140,_0xaa4e88){return _0x124140+_0xaa4e88;},'RZsEN':function(_0x4ee575,_0x41b45b,_0x5ca321,_0x1e7820,_0x28a172){return _0x4ee575(_0x41b45b,_0x5ca321,_0x1e7820,_0x28a172);},'Hxmzk':function(_0x679d7e,_0x1d9b11){return _0x679d7e+_0x1d9b11;},'VhdHR':function(_0x2843e8,_0x4724fa,_0x4cb9c7,_0x443bd5){return _0x2843e8(_0x4724fa,_0x4cb9c7,_0x443bd5);},'xyGhX':'Could\x20not\x20compute\x20duration','bkHKi':function(_0x111c9a,_0x3d8a13){return _0x111c9a*_0x3d8a13;},'ljGHy':function(_0x385617,_0xef7a80){return _0x385617(_0xef7a80);},'CasfJ':function(_0x114582,_0x214892){return _0x114582-_0x214892;},'trldV':function(_0x6246b,_0xb7e593){return _0x6246b<_0xb7e593;},'KkXFk':function(_0x375edd,_0x26861a){return _0x375edd(_0x26861a);},'XXrDI':function(_0x43458a,_0x1e250b,_0x15c022){return _0x43458a(_0x1e250b,_0x15c022);},'yMNXh':function(_0x93d508,_0x3f97a9,_0x5aa126){return _0x93d508(_0x3f97a9,_0x5aa126);}},_0x2bb1ad=_0x3cc4cf['kIEzD'](readFileSync,_0x456025);let _0x52d1df=0x0;const [_0x426777,_0x2f8ca8]=_0x3cc4cf[_0x3b1c5e(0x18b)](readId,_0x2bb1ad,_0x52d1df),[_0x35fc98,_0x2fc85d]=_0x3cc4cf['mSXeS'](readVint,_0x2bb1ad,_0x52d1df+_0x2f8ca8);_0x52d1df+=_0x3cc4cf['oeJdT'](_0x2f8ca8+_0x2fc85d,_0x35fc98);const [_0x2262de,_0x30ce01]=_0x3cc4cf[_0x3b1c5e(0x18b)](readId,_0x2bb1ad,_0x52d1df);if(_0x2262de!==ID_SEGMENT)return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x36c69c]=readVint(_0x2bb1ad,_0x52d1df+_0x30ce01),_0x481fe5=_0x3cc4cf[_0x3b1c5e(0x18e)](_0x52d1df,_0x30ce01)+_0x36c69c;let _0x5093ca=_0x481fe5;const _0x2e66d9=Math['min'](_0x2bb1ad[_0x3b1c5e(0x167)],_0x481fe5+0x2710);let _0x186ca1=null,_0xb8606c=null;while(_0x5093ca<_0x2e66d9){const [_0x22544c,_0x37dd3f]=_0x3cc4cf['NZqNn'](readId,_0x2bb1ad,_0x5093ca),[_0x4c5dc0,_0x18c3da]=readVint(_0x2bb1ad,_0x5093ca+_0x37dd3f);_0x3cc4cf[_0x3b1c5e(0x195)](_0x22544c,ID_VOID)&&!_0x186ca1&&(_0x186ca1={'offset':_0x5093ca,'idLen':_0x37dd3f,'sizeLen':_0x18c3da,'dataSize':_0x4c5dc0,'dataOffset':_0x3cc4cf['SmJzW'](_0x3cc4cf['oeJdT'](_0x5093ca,_0x37dd3f),_0x18c3da)});if(_0x22544c===ID_INFO){_0xb8606c={'offset':_0x5093ca,'idLen':_0x37dd3f,'sizeLen':_0x18c3da,'dataSize':_0x4c5dc0,'dataOffset':_0x3cc4cf['ygJYC'](_0x5093ca,_0x37dd3f)+_0x18c3da};break;}if(_0x3cc4cf[_0x3b1c5e(0x195)](_0x22544c,ID_CLUSTER))break;if(isUnknownSize(_0x4c5dc0,_0x18c3da))break;_0x5093ca+=_0x3cc4cf['ygJYC'](_0x37dd3f,_0x18c3da)+_0x4c5dc0;}if(!_0xb8606c)return console['error']('Could\x20not\x20find\x20Info\x20element'),![];const _0x22f984=_0x3cc4cf['RZsEN'](findElement,_0x2bb1ad,_0xb8606c['dataOffset'],_0x3cc4cf['Hxmzk'](_0xb8606c[_0x3b1c5e(0x184)],_0xb8606c['dataSize']),ID_DURATION);if(_0x22f984)return![];const _0x5f1eba=findElement(_0x2bb1ad,_0xb8606c['dataOffset'],_0xb8606c['dataOffset']+_0xb8606c[_0x3b1c5e(0x181)],ID_TIMESTAMP_SCALE);let _0xc93883=0xf4240;_0x5f1eba&&(_0xc93883=_0x3cc4cf['VhdHR'](readUint,_0x2bb1ad,_0x5f1eba['dataOffset'],_0x5f1eba[_0x3b1c5e(0x181)]));const _0x24d88e=computeDurationMs(_0x2bb1ad,_0xc93883);if(_0x24d88e<=0x0)return console['error'](_0x3cc4cf[_0x3b1c5e(0x186)]),![];const _0x439e95=_0x3cc4cf[_0x3b1c5e(0x19c)](_0x24d88e,0xf4240)/_0xc93883,_0x3a5004=Buffer['concat']([_0x3cc4cf['kIEzD'](writeId,ID_DURATION),writeVint(0x8),_0x3cc4cf['ljGHy'](writeFloat64,_0x439e95)]),_0x3f6005=_0x3a5004[_0x3b1c5e(0x167)];if(!_0x186ca1||_0x186ca1[_0x3b1c5e(0x189)]<_0xb8606c[_0x3b1c5e(0x189)]){if(_0x186ca1){const _0x2372a0=_0x186ca1['idLen']+_0x186ca1['sizeLen']+_0x186ca1[_0x3b1c5e(0x181)],_0x3c89d9=_0x3cc4cf['CasfJ'](_0x2372a0,_0x3f6005);if(_0x3cc4cf[_0x3b1c5e(0x17e)](_0x3c89d9,0x2))return rewriteFile(_0x2bb1ad,_0xb8606c,_0x3a5004,_0xc93883,_0x24d88e,_0xf485e8);const _0x5b7fcf=_0xb8606c[_0x3b1c5e(0x181)]+_0x3f6005,_0x28adb5=Buffer[_0x3b1c5e(0x17d)]([_0x3cc4cf[_0x3b1c5e(0x180)](writeId,ID_INFO),_0x3cc4cf['XXrDI'](writeVint,_0x5b7fcf,_0xb8606c['sizeLen'])]),_0x3cf7ae=_0x2bb1ad[_0x3b1c5e(0x190)](_0xb8606c['dataOffset'],_0x3cc4cf['Hxmzk'](_0xb8606c['dataOffset'],_0xb8606c[_0x3b1c5e(0x181)])),_0x5d3cca=writeVoid(_0x3c89d9),_0x4d9b37=_0x2bb1ad[_0x3b1c5e(0x190)](0x0,_0x186ca1[_0x3b1c5e(0x189)]),_0x4e63ca=_0x2bb1ad[_0x3b1c5e(0x190)](_0x3cc4cf['ygJYC'](_0xb8606c['dataOffset'],_0xb8606c['dataSize']));return _0x3cc4cf[_0x3b1c5e(0x177)](writeFileSync,_0xf485e8,Buffer[_0x3b1c5e(0x17d)]([_0x4d9b37,_0x5d3cca,_0x28adb5,_0x3cf7ae,_0x3a5004,_0x4e63ca])),!![];}}return rewriteFile(_0x2bb1ad,_0xb8606c,_0x3a5004,_0xc93883,_0x24d88e,_0xf485e8);}function rewriteFile(_0x2817f3,_0x501f01,_0x1dc5fe,_0x2c84fb,_0x1f957e,_0x3abe3f){const _0x21d6f0=_0x23bb,_0x680939={'xDXrs':function(_0x27b8d7,_0x474876){return _0x27b8d7(_0x474876);},'pBTbe':function(_0x39284d,_0x158e40){return _0x39284d(_0x158e40);},'TfYek':function(_0x14f9e8,_0x3099a8){return _0x14f9e8+_0x3099a8;},'kjnxg':function(_0x28d670,_0x55bcb8,_0x35a420){return _0x28d670(_0x55bcb8,_0x35a420);}},_0x5daccb=_0x501f01[_0x21d6f0(0x181)]+_0x1dc5fe['length'],_0x410fbc=Buffer['concat']([_0x680939['xDXrs'](writeId,ID_INFO),_0x680939[_0x21d6f0(0x19a)](writeVint,_0x5daccb)]),_0x340347=_0x680939[_0x21d6f0(0x193)](_0x501f01[_0x21d6f0(0x16c)],_0x501f01[_0x21d6f0(0x178)]),_0x39c9c4=_0x2817f3[_0x21d6f0(0x190)](0x0,_0x501f01[_0x21d6f0(0x189)]),_0x26b493=_0x2817f3['slice'](_0x501f01['dataOffset'],_0x680939['TfYek'](_0x501f01['dataOffset'],_0x501f01[_0x21d6f0(0x181)])),_0x85288b=_0x2817f3['slice'](_0x680939[_0x21d6f0(0x193)](_0x501f01['offset']+_0x340347,_0x501f01['dataSize']));return _0x680939['kjnxg'](writeFileSync,_0x3abe3f,Buffer['concat']([_0x39c9c4,_0x410fbc,_0x26b493,_0x1dc5fe,_0x85288b])),!![];}if(process['argv'][0x1]?.[_0x100593(0x16b)]('fixWebmDuration.ts')||process[_0x100593(0x191)][0x1]?.['endsWith'](_0x100593(0x18f))){const input=process[_0x100593(0x191)][0x2],output=process[_0x100593(0x191)][0x3];(!input||!output)&&(console[_0x100593(0x179)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log'](_0x100593(0x172)+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3d36e3,_0x1c6960){const _0x2e2892=_0x448b,_0x3e46bc=_0x3d36e3();while(!![]){try{const _0x3ed5dc=-parseInt(_0x2e2892(0x184))/0x1+-parseInt(_0x2e2892(0x189))/0x2+-parseInt(_0x2e2892(0x18c))/0x3+parseInt(_0x2e2892(0x186))/0x4+-parseInt(_0x2e2892(0x183))/0x5+-parseInt(_0x2e2892(0x18a))/0x6+-parseInt(_0x2e2892(0x185))/0x7*(-parseInt(_0x2e2892(0x18b))/0x8);if(_0x3ed5dc===_0x1c6960)break;else _0x3e46bc['push'](_0x3e46bc['shift']());}catch(_0x4b9e6c){_0x3e46bc['push'](_0x3e46bc['shift']());}}}(_0x41e1,0x37515));import{execSync}from'child_process';export function getGitBranch(){const _0x1826d2=_0x448b,_0x5e70c3={'zFlZk':function(_0x41ce99,_0x5aa1e4,_0x3b0128){return _0x41ce99(_0x5aa1e4,_0x3b0128);},'eXjaK':_0x1826d2(0x18e)};try{return _0x5e70c3[_0x1826d2(0x18d)](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':'utf-8','stdio':[_0x5e70c3['eXjaK'],_0x5e70c3['eXjaK'],_0x5e70c3['eXjaK']]})[_0x1826d2(0x187)]();}catch{return undefined;}}export function getGitRepoUrl(){const _0x3dff91=_0x448b,_0x4f95de={'jlTKy':function(_0x49a6d0,_0x37f36d,_0x1f4d68){return _0x49a6d0(_0x37f36d,_0x1f4d68);},'AxwdY':_0x3dff91(0x18e),'RSXuO':'github.com/'};try{const _0x57129d=_0x4f95de['jlTKy'](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':'utf-8','stdio':['pipe',_0x4f95de['AxwdY'],'pipe']})[_0x3dff91(0x187)]();return _0x57129d[_0x3dff91(0x182)](/\.git$/,'')[_0x3dff91(0x182)](/^git@github\.com:/,_0x4f95de[_0x3dff91(0x188)])[_0x3dff91(0x182)](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){return{'branch':getGitBranch(),'repoUrl':getGitRepoUrl()};}function _0x448b(_0x3dd79c,_0x8574d5){_0x3dd79c=_0x3dd79c-0x182;const _0x41e106=_0x41e1();let _0x448b8a=_0x41e106[_0x3dd79c];return _0x448b8a;}function _0x41e1(){const _0x371b78=['8BBOFHl','799002eLFemz','zFlZk','pipe','replace','1574655ZSLQdL','126632oXrBad','8114617nsxdUQ','1211128TnJRSk','trim','RSXuO','466846rAtTFU','1764672Simswy'];_0x41e1=function(){return _0x371b78;};return _0x41e1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1e246b=_0x11cf;(function(_0x1310d5,_0x384259){const _0x4fefd5=_0x11cf,_0x984388=_0x1310d5();while(!![]){try{const _0x4b933e=parseInt(_0x4fefd5(0x1e9))/0x1*(parseInt(_0x4fefd5(0x1f4))/0x2)+parseInt(_0x4fefd5(0x1ed))/0x3+-parseInt(_0x4fefd5(0x1d5))/0x4*(-parseInt(_0x4fefd5(0x1d1))/0x5)+parseInt(_0x4fefd5(0x1cf))/0x6+parseInt(_0x4fefd5(0x1fa))/0x7*(parseInt(_0x4fefd5(0x1d3))/0x8)+parseInt(_0x4fefd5(0x1d4))/0x9+-parseInt(_0x4fefd5(0x1e2))/0xa;if(_0x4b933e===_0x384259)break;else _0x984388['push'](_0x984388['shift']());}catch(_0x5e842c){_0x984388['push'](_0x984388['shift']());}}}(_0x722c,0x398db));const _0x7bd286=(function(){const _0x2d15e1={'fNPyD':function(_0x583a5d,_0x365c9f){return _0x583a5d!==_0x365c9f;}};let _0xd0fb9=!![];return function(_0x143a34,_0x3b204a){const _0x556343=_0x11cf,_0x2adccf={'UgeEB':function(_0x23ea41,_0x19cfb6){const _0x26fed5=_0x11cf;return _0x2d15e1[_0x26fed5(0x1d2)](_0x23ea41,_0x19cfb6);},'SYuou':_0x556343(0x1e4)},_0x2d34fb=_0xd0fb9?function(){const _0x52e5d4=_0x556343;if(_0x3b204a){if(_0x2adccf[_0x52e5d4(0x1ea)](_0x2adccf[_0x52e5d4(0x1cd)],_0x2adccf['SYuou'])){if(_0x845d2e){const _0x4ba2a6=_0x17a53c[_0x52e5d4(0x1f2)](_0x4b7359,arguments);return _0x2d8ae1=null,_0x4ba2a6;}}else{const _0x53d5e3=_0x3b204a[_0x52e5d4(0x1f2)](_0x143a34,arguments);return _0x3b204a=null,_0x53d5e3;}}}:function(){};return _0xd0fb9=![],_0x2d34fb;};}()),_0x2e4cfc=_0x7bd286(this,function(){const _0x4eed2b=_0x11cf,_0x15cc5d={'FiJrA':_0x4eed2b(0x1db)};return _0x2e4cfc[_0x4eed2b(0x1ee)]()[_0x4eed2b(0x1de)](_0x15cc5d[_0x4eed2b(0x1d7)])[_0x4eed2b(0x1ee)]()[_0x4eed2b(0x1f9)](_0x2e4cfc)[_0x4eed2b(0x1de)](_0x15cc5d[_0x4eed2b(0x1d7)]);});_0x2e4cfc();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x1e246b(0x1cb),ENV_TOKEN_LEGACY=_0x1e246b(0x1e1),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x1e246b(0x1e3)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,'refresh.txt');function isGitHubCI(){const _0x2718f9=_0x1e246b;return!!process[_0x2718f9(0x1e0)][_0x2718f9(0x1e6)];}async function writeToGitHubEnv(_0x48758a,_0x3341a4){const _0x41b864=_0x1e246b,_0x3a26ee={'FICJG':function(_0x2edf7b,_0xbfcaee,_0x547500){return _0x2edf7b(_0xbfcaee,_0x547500);}},_0x585536=process['env'][_0x41b864(0x1e6)];_0x585536&&await _0x3a26ee[_0x41b864(0x1eb)](appendFile,_0x585536,_0x48758a+'='+_0x3341a4+'\x0a');}function _0x11cf(_0x305572,_0x43e8da){_0x305572=_0x305572-0x1ca;const _0x8cda64=_0x722c();let _0x2e4cfc=_0x8cda64[_0x305572];if(_0x11cf['Szngst']===undefined){var _0x7bd286=function(_0x52db0f){const _0x38086f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4db7fe='',_0x3d6b4a='',_0x59f9c9=_0x4db7fe+_0x7bd286;for(let _0x58ada6=0x0,_0x23da8e,_0x4b3336,_0x19d6f7=0x0;_0x4b3336=_0x52db0f['charAt'](_0x19d6f7++);~_0x4b3336&&(_0x23da8e=_0x58ada6%0x4?_0x23da8e*0x40+_0x4b3336:_0x4b3336,_0x58ada6++%0x4)?_0x4db7fe+=_0x59f9c9['charCodeAt'](_0x19d6f7+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x23da8e>>(-0x2*_0x58ada6&0x6)):_0x58ada6:0x0){_0x4b3336=_0x38086f['indexOf'](_0x4b3336);}for(let _0x44d024=0x0,_0x340657=_0x4db7fe['length'];_0x44d024<_0x340657;_0x44d024++){_0x3d6b4a+='%'+('00'+_0x4db7fe['charCodeAt'](_0x44d024)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d6b4a);};_0x11cf['vdcXAM']=_0x7bd286,_0x11cf['jiAZuD']={},_0x11cf['Szngst']=!![];}const _0x722cba=_0x8cda64[0x0],_0x11cfae=_0x305572+_0x722cba,_0x39ec45=_0x11cf['jiAZuD'][_0x11cfae];if(!_0x39ec45){const _0x2dcee4=function(_0x4d795f){this['pLVpfA']=_0x4d795f,this['PFjDuG']=[0x1,0x0,0x0],this['cycPMS']=function(){return'newState';},this['jUqLTJ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ejGrfg']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2dcee4['prototype']['NokqfS']=function(){const _0x188723=new RegExp(this['jUqLTJ']+this['ejGrfg']),_0x23c6dc=_0x188723['test'](this['cycPMS']['toString']())?--this['PFjDuG'][0x1]:--this['PFjDuG'][0x0];return this['fIbwup'](_0x23c6dc);},_0x2dcee4['prototype']['fIbwup']=function(_0x12f269){if(!Boolean(~_0x12f269))return _0x12f269;return this['lAmvAN'](this['pLVpfA']);},_0x2dcee4['prototype']['lAmvAN']=function(_0xcd6b9e){for(let _0x1a5170=0x0,_0x32d5ec=this['PFjDuG']['length'];_0x1a5170<_0x32d5ec;_0x1a5170++){this['PFjDuG']['push'](Math['round'](Math['random']())),_0x32d5ec=this['PFjDuG']['length'];}return _0xcd6b9e(this['PFjDuG'][0x0]);},new _0x2dcee4(_0x11cf)['NokqfS'](),_0x2e4cfc=_0x11cf['vdcXAM'](_0x2e4cfc),_0x11cf['jiAZuD'][_0x11cfae]=_0x2e4cfc;}else _0x2e4cfc=_0x39ec45;return _0x2e4cfc;}export async function storeToken(_0x29a07d){const _0x487ad1=_0x1e246b,_0x40a290={'MXfqC':function(_0x3d600e){return _0x3d600e();},'CCHbV':function(_0x1d512a,_0x5564d4,_0x284592){return _0x1d512a(_0x5564d4,_0x284592);},'URnhw':function(_0x6956,_0x404d12,_0x14b0d1,_0x35ca20){return _0x6956(_0x404d12,_0x14b0d1,_0x35ca20);}};_0x40a290[_0x487ad1(0x1ce)](isGitHubCI)?await _0x40a290[_0x487ad1(0x1ec)](writeToGitHubEnv,ENV_TOKEN,_0x29a07d):(await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x40a290[_0x487ad1(0x1f5)](writeFile,TOKEN_PATH,_0x29a07d,{'mode':0x180}));}export async function getToken(){const _0x629e33=_0x1e246b,_0x588065={'tedEs':'GeKzf','vhZEZ':_0x629e33(0x1da),'BVcfv':function(_0x5cfa76,_0x570cd0,_0x74f75b){return _0x5cfa76(_0x570cd0,_0x74f75b);},'apEMk':_0x629e33(0x1ef)};if(process[_0x629e33(0x1e0)][ENV_TOKEN])return process['env'][ENV_TOKEN];if(process[_0x629e33(0x1e0)][ENV_TOKEN_LEGACY])return process[_0x629e33(0x1e0)][ENV_TOKEN_LEGACY];try{if(_0x588065[_0x629e33(0x1d8)]===_0x588065[_0x629e33(0x1cc)]){const _0x276b75=_0x2dcee4?function(){const _0x55d467=_0x629e33;if(_0x1a5170){const _0x50bab4=_0x1b4cbc[_0x55d467(0x1f2)](_0x8b44c4,arguments);return _0x575300=null,_0x50bab4;}}:function(){};return _0xcd6b9e=![],_0x276b75;}else{const _0x1d24ed=await _0x588065[_0x629e33(0x1dc)](readFile,TOKEN_PATH,_0x588065[_0x629e33(0x1d9)]);return _0x1d24ed[_0x629e33(0x1f7)]()||null;}}catch{return null;}}export async function deleteToken(){const _0x186d89=_0x1e246b,_0x32141b={'SDGrQ':function(_0x2ed63,_0x1f1327){return _0x2ed63(_0x1f1327);}};try{return await _0x32141b[_0x186d89(0x1e7)](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x5689a1){const _0x58a798=_0x1e246b,_0x3ed4d5={'eZWDi':function(_0x13ab93,_0x26fa9c,_0x4af641){return _0x13ab93(_0x26fa9c,_0x4af641);},'QzzwC':function(_0x44f5b5,_0x59ef58,_0x165873,_0x30dd53){return _0x44f5b5(_0x59ef58,_0x165873,_0x30dd53);}};await _0x3ed4d5[_0x58a798(0x1dd)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x3ed4d5[_0x58a798(0x1ca)](writeFile,REFRESH_TOKEN_PATH,_0x5689a1,{'mode':0x180});}function _0x722c(){const _0x25451a=['u1L1B3u','tvHMCum','mtiWota0og1jr2HvsW','s2jVv3K','mtiWrKzmthPh','zK5qEuq','mtmZnKTTC0H5DG','mJC5ntmXqujRtK5Z','mZu5nJbUwwD5s2K','sM1kCwi','rMLkCKe','DgvKrxm','yxbftwS','ALHAAvG','kcGOlISPkYKRksSK','qLzJzNy','zvPxrgK','C2vHCMnO','BNzfA0m','zw52','uKfor0vsx01duf9ut0TftG','ntu2oduZmfbVwhrsDW','y2XPlNr4Da','BNDUzM0','wLPKCLG','r0Lusfvcx0vovG','u0rhCLe','yxP5tMy','mJi2mZHRsfr1v0e','vwDLrui','rKLdsKC','q0niyLy','mZmYmteYrfzTzM1L','Dg9tDhjPBMC','DxrMltG','DxDYyMK','z0Lxtxy','yxbWBhK','BvPRAK4','mJbwANHntvq','vvjUAhC','zwXbz0m','DhjPBq','zMnvtui','y29UC3rYDwn0B3i','mZaXzefJsNvH','uxP6D0m','uKfor0vsx0nmsv9ut0TftG','DMHArvO'];_0x722c=function(){return _0x25451a;};return _0x722c();}export async function getRefreshToken(){const _0x38fe63=_0x1e246b,_0x217892={'XYtgS':function(_0x22d619,_0x3bc7a1,_0x8c7f78){return _0x22d619(_0x3bc7a1,_0x8c7f78);},'ZZdrX':'utf-8'};try{const _0x3b3d81=await _0x217892['XYtgS'](readFile,REFRESH_TOKEN_PATH,_0x217892[_0x38fe63(0x1e5)]);return _0x3b3d81[_0x38fe63(0x1f7)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x1b417c=_0x1e246b,_0x485e2d={'fcUMB':function(_0x11c26c,_0x549181){return _0x11c26c!==_0x549181;},'gIWMv':function(_0x272540,_0x3abd91){return _0x272540(_0x3abd91);},'uwrbi':function(_0x14f08f,_0x471917){return _0x14f08f===_0x471917;},'KboWy':_0x1b417c(0x1f3)};try{return _0x485e2d[_0x1b417c(0x1f8)](_0x1b417c(0x1df),_0x1b417c(0x1e8))?(await _0x485e2d[_0x1b417c(0x1f1)](unlink,REFRESH_TOKEN_PATH),!![]):!!_0x4800fd['env']['GITHUB_ENV'];}catch{return _0x485e2d[_0x1b417c(0x1f0)](_0x485e2d[_0x1b417c(0x1d0)],_0x1b417c(0x1f3))?![]:null;}}export async function deleteAllCredentials(){const _0x1496a1=_0x1e246b,_0x48798e={'JmJqb':function(_0x31fa7f){return _0x31fa7f();},'elAgC':function(_0xc93ec2){return _0xc93ec2();}};await _0x48798e[_0x1496a1(0x1d6)](deleteToken),await _0x48798e[_0x1496a1(0x1f6)](deleteRefreshToken);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2e13d8,_0x26aeef){const _0x1e555e=_0x3436,_0x3f220c=_0x2e13d8();while(!![]){try{const _0xbed4ce=-parseInt(_0x1e555e(0x115))/0x1+-parseInt(_0x1e555e(0x106))/0x2*(parseInt(_0x1e555e(0x105))/0x3)+parseInt(_0x1e555e(0x11a))/0x4+-parseInt(_0x1e555e(0x10d))/0x5+parseInt(_0x1e555e(0x104))/0x6+-parseInt(_0x1e555e(0x10c))/0x7*(parseInt(_0x1e555e(0x114))/0x8)+-parseInt(_0x1e555e(0x116))/0x9*(-parseInt(_0x1e555e(0x10f))/0xa);if(_0xbed4ce===_0x26aeef)break;else _0x3f220c['push'](_0x3f220c['shift']());}catch(_0xcf9e9e){_0x3f220c['push'](_0x3f220c['shift']());}}}(_0x100b,0x57c52));const _0xe86919=(function(){const _0x10c1ea=_0x3436,_0x5a5b7c={'FwWcb':function(_0x272ea7,_0x1be7ae){return _0x272ea7!==_0x1be7ae;},'KpvwI':_0x10c1ea(0x11b)};let _0x4d08fd=!![];return function(_0x103bad,_0x401ea5){const _0x22f0bf=_0x10c1ea,_0xd84448={'bBOOQ':_0x22f0bf(0x118)};if(_0x5a5b7c[_0x22f0bf(0x110)](_0x22f0bf(0x108),_0x5a5b7c[_0x22f0bf(0x111)])){const _0x2af0aa=_0x4d08fd?function(){const _0x207e7e=_0x22f0bf;if(_0x401ea5){const _0x3b96c4=_0x401ea5[_0x207e7e(0x100)](_0x103bad,arguments);return _0x401ea5=null,_0x3b96c4;}}:function(){};return _0x4d08fd=![],_0x2af0aa;}else return _0x4a2700['toString']()[_0x22f0bf(0x10b)](_0xd84448[_0x22f0bf(0x113)])[_0x22f0bf(0x102)]()[_0x22f0bf(0x107)](_0x143582)[_0x22f0bf(0x10b)](_0x22f0bf(0x118));};}()),_0x45c455=_0xe86919(this,function(){const _0x5b26d8=_0x3436,_0x2b3163={'QrHCM':_0x5b26d8(0x118)};return _0x45c455[_0x5b26d8(0x102)]()[_0x5b26d8(0x10b)](_0x5b26d8(0x118))['toString']()[_0x5b26d8(0x107)](_0x45c455)[_0x5b26d8(0x10b)](_0x2b3163[_0x5b26d8(0x119)]);});_0x45c455();import{getToken}from'./keychain.js';function _0x100b(){const _0x58edc4=['y29UC3rYDwn0B3i','AhP3uva','tKrIv0G','r2ngEwG','C2vHCMnO','mtrVs0rgCwS','ntuXntq1t0DjCvjK','zxjYB3i','mJiZotbKBwXrwfC','rNDxy2i','s3b2D0K','ue9tva','yKjpt1e','mZKYnZq0ELvyBeXK','ntuZmdbjuvzwAhe','mti3oev6vevbBW','qMvHCMvYia','kcGOlISPkYKRksSK','uxjiq00','mtqZmdC5nLPPqxLzEa','thjUDMC','Dgv4Da','yxbWBhK','y3Htu0u','Dg9tDhjPBMC','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','mty1odi1nLnXvvrjvG','ntfOrgL0wxG','mZG2nZjnuw5AB3y'];_0x100b=function(){return _0x58edc4;};return _0x100b();}function _0x3436(_0x4d6203,_0xd6f825){_0x4d6203=_0x4d6203-0x100;const _0x135524=_0x100b();let _0x45c455=_0x135524[_0x4d6203];if(_0x3436['jsXNxG']===undefined){var _0xe86919=function(_0xa1e3){const _0x42beb8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31ee06='',_0x595eb1='',_0x227943=_0x31ee06+_0xe86919;for(let _0x518f95=0x0,_0x5645d9,_0x16b11c,_0x6eeee4=0x0;_0x16b11c=_0xa1e3['charAt'](_0x6eeee4++);~_0x16b11c&&(_0x5645d9=_0x518f95%0x4?_0x5645d9*0x40+_0x16b11c:_0x16b11c,_0x518f95++%0x4)?_0x31ee06+=_0x227943['charCodeAt'](_0x6eeee4+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5645d9>>(-0x2*_0x518f95&0x6)):_0x518f95:0x0){_0x16b11c=_0x42beb8['indexOf'](_0x16b11c);}for(let _0x36ad67=0x0,_0x5caa6e=_0x31ee06['length'];_0x36ad67<_0x5caa6e;_0x36ad67++){_0x595eb1+='%'+('00'+_0x31ee06['charCodeAt'](_0x36ad67)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x595eb1);};_0x3436['OrqgtG']=_0xe86919,_0x3436['dddPoR']={},_0x3436['jsXNxG']=!![];}const _0x100b0e=_0x135524[0x0],_0x3436ed=_0x4d6203+_0x100b0e,_0x4671d2=_0x3436['dddPoR'][_0x3436ed];if(!_0x4671d2){const _0x5522c5=function(_0x34a73){this['JsfXOj']=_0x34a73,this['kWbVSy']=[0x1,0x0,0x0],this['RoDAAq']=function(){return'newState';},this['BVLOqL']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['BOqwJV']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5522c5['prototype']['tSUNEk']=function(){const _0x128d33=new RegExp(this['BVLOqL']+this['BOqwJV']),_0x46d5ba=_0x128d33['test'](this['RoDAAq']['toString']())?--this['kWbVSy'][0x1]:--this['kWbVSy'][0x0];return this['jjLCCF'](_0x46d5ba);},_0x5522c5['prototype']['jjLCCF']=function(_0x4d994d){if(!Boolean(~_0x4d994d))return _0x4d994d;return this['suxsYv'](this['JsfXOj']);},_0x5522c5['prototype']['suxsYv']=function(_0x4817e6){for(let _0x1e1fcd=0x0,_0x29daa4=this['kWbVSy']['length'];_0x1e1fcd<_0x29daa4;_0x1e1fcd++){this['kWbVSy']['push'](Math['round'](Math['random']())),_0x29daa4=this['kWbVSy']['length'];}return _0x4817e6(this['kWbVSy'][0x0]);},new _0x5522c5(_0x3436)['tSUNEk'](),_0x45c455=_0x3436['OrqgtG'](_0x45c455),_0x3436['dddPoR'][_0x3436ed]=_0x45c455;}else _0x45c455=_0x4671d2;return _0x45c455;}import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x4ee2ad,_0x6af9b8,_0x342ec4){const _0x2b28d3=_0x3436,_0x169f8b={'GcFyh':function(_0x528aff){return _0x528aff();},'bKUSs':function(_0x4030b0,_0x167dd6,_0x34edb0){return _0x4030b0(_0x167dd6,_0x34edb0);},'cxSSE':_0x2b28d3(0x112),'NDbWH':'application/json'},_0x1689c6=await _0x169f8b[_0x2b28d3(0x10a)](getToken);if(!_0x1689c6)return;const _0x5b3355=getApiBaseUrl(),_0x3e5ab4=await _0x169f8b['bKUSs'](fetch,_0x5b3355+_0x2b28d3(0x103),{'method':_0x169f8b[_0x2b28d3(0x101)],'headers':{'Authorization':_0x2b28d3(0x117)+_0x1689c6,'Content-Type':_0x169f8b[_0x2b28d3(0x109)]},'body':JSON['stringify']({'skillName':_0x4ee2ad,'cliVersion':_0x342ec4,'metadata':_0x6af9b8})});if(!_0x3e5ab4['ok']){const _0x5c97d9=await _0x3e5ab4[_0x2b28d3(0x11c)]();console[_0x2b28d3(0x10e)]('Failed\x20to\x20log\x20skill\x20installation:\x20'+_0x5c97d9);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5ebd31,_0x19bdd8){const _0x29468f=_0x3d9f,_0x1574b9=_0x5ebd31();while(!![]){try{const _0x2f150d=-parseInt(_0x29468f(0x203))/0x1+parseInt(_0x29468f(0x22b))/0x2+-parseInt(_0x29468f(0x20f))/0x3+parseInt(_0x29468f(0x21b))/0x4*(-parseInt(_0x29468f(0x1fe))/0x5)+parseInt(_0x29468f(0x228))/0x6+parseInt(_0x29468f(0x1f6))/0x7*(parseInt(_0x29468f(0x209))/0x8)+-parseInt(_0x29468f(0x223))/0x9;if(_0x2f150d===_0x19bdd8)break;else _0x1574b9['push'](_0x1574b9['shift']());}catch(_0x29c72f){_0x1574b9['push'](_0x1574b9['shift']());}}}(_0x2262,0xc1b72));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(_0x1f1d41){const _0x3d131a=_0x3d9f,_0x27edb5={'SYypr':function(_0x46be73,_0x1fb699){return _0x46be73===_0x1fb699;},'Tjqob':_0x3d131a(0x206),'HkTZB':function(_0x58ac10,_0x10d3ba){return _0x58ac10!==_0x10d3ba;}};return _0x27edb5[_0x3d131a(0x207)](typeof _0x1f1d41,_0x27edb5[_0x3d131a(0x1fa)])&&_0x27edb5['HkTZB'](_0x1f1d41,null);}function isImageBlock(_0x39f58d){const _0x29beda=_0x3d9f,_0x3ba4e7={'lSVXO':function(_0x5c6652,_0x7c4834){return _0x5c6652===_0x7c4834;}};return isRecord(_0x39f58d)&&_0x3ba4e7[_0x29beda(0x229)](_0x39f58d[_0x29beda(0x1fd)],_0x29beda(0x21d));}function _0x2262(){const _0x35e2de=['image','map','image/webp','mimeType','data:','vTVHy','10073079NLtCGJ','ePRcT','url','CNfZs','\x20bytes)','2347260VlxhQE','lSVXO','base64','1450534BaCxRT','PostToolUse','gif','hQxHz','replace','SOwUs','5498122JZTUut','tool_response','size','png','Tjqob','isArray','all','type','185gJCdfu','hook_event_name','jpg','source','toString','491298XpyQUV','webp','data','object','SYypr','image/png','16zAoPfY','startsWith','headers','image/gif','izsTJ','status','152511NoSDFA','Failed\x20to\x20fetch\x20image:\x20','sitWO','exec','ZasUE','byteLength','updated','RzAWc','block','split','Image\x20exceeds\x20size\x20limit\x20(','toLowerCase','25140CLfIdg','http://'];_0x2262=function(){return _0x35e2de;};return _0x2262();}function isDataUrl(_0x20f3b2){const _0x20e750=_0x3d9f,_0x57cc3b={'Wpxfh':_0x20e750(0x221)};return _0x20f3b2[_0x20e750(0x20a)](_0x57cc3b['Wpxfh']);}function parseDataUrl(_0x288b32){const _0x1b36e9=_0x3d9f,_0x492e93=/^data:([^;]+);base64,(.+)$/[_0x1b36e9(0x212)](_0x288b32);if(!_0x492e93)return null;const _0x17e8f7=_0x492e93[0x1][_0x1b36e9(0x21a)]();if(!isValidMediaType(_0x17e8f7))return null;return{'data':_0x492e93[0x2],'mediaType':_0x17e8f7};}function isValidMediaType(_0x3e751e){const _0x2a56f0=_0x3d9f,_0x64d729={'RzAWc':_0x2a56f0(0x208),'EZaGg':'image/webp'};return['image/jpeg',_0x64d729[_0x2a56f0(0x216)],_0x2a56f0(0x20c),_0x64d729['EZaGg']]['includes'](_0x3e751e);}function inferMediaType(_0x2cd4fc,_0x25af6c){const _0x352569=_0x3d9f,_0x489c2e={'SfoqI':function(_0x1ce1ea,_0x3f583b){return _0x1ce1ea(_0x3f583b);},'qozEe':_0x352569(0x1f9),'hQxHz':_0x352569(0x208),'aMHJx':'image/gif'};if(_0x2cd4fc){const _0x11b1db=_0x2cd4fc['toLowerCase']()[_0x352569(0x218)](';')[0x0]['trim']();if(isValidMediaType(_0x11b1db))return _0x11b1db;}const _0x4de907=_0x489c2e['SfoqI'](extname,_0x25af6c)[_0x352569(0x21a)]()[_0x352569(0x1f4)]('.','');switch(_0x4de907){case _0x352569(0x200):case'jpeg':return'image/jpeg';case _0x489c2e['qozEe']:return _0x489c2e[_0x352569(0x1f3)];case _0x352569(0x1f2):return _0x489c2e['aMHJx'];case _0x352569(0x204):return _0x352569(0x21f);default:return'image/png';}}function _0x3d9f(_0x3219be,_0x3ee96b){_0x3219be=_0x3219be-0x1f1;const _0x226287=_0x2262();let _0x3d9f80=_0x226287[_0x3219be];return _0x3d9f80;}async function readImageFromUrl(_0x525767){const _0x395f0a=_0x3d9f,_0x842e3e={'vTVHy':function(_0x1396de,_0x14a836){return _0x1396de(_0x14a836);},'SOwUs':function(_0x39c809,_0x167692){return _0x39c809>_0x167692;},'izsTJ':_0x395f0a(0x22a),'CNfZs':function(_0x562f2d,_0x1c29c1,_0x38cb3c){return _0x562f2d(_0x1c29c1,_0x38cb3c);},'HVIKB':function(_0x3cff1f,_0x367dd4,_0x4138c5){return _0x3cff1f(_0x367dd4,_0x4138c5);},'ZasUE':function(_0x270988,_0xc28527){return _0x270988>_0xc28527;}};if(_0x842e3e[_0x395f0a(0x222)](isDataUrl,_0x525767)){const _0x4ce061=parseDataUrl(_0x525767);if(_0x4ce061)return _0x4ce061;throw new Error('Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content');}if(_0x525767['startsWith']('file://')){const _0x4e4ce9=fileURLToPath(_0x525767),_0x323a2a=await stat(_0x4e4ce9);if(_0x842e3e[_0x395f0a(0x1f5)](_0x323a2a['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x4b96f6=await readFile(_0x4e4ce9);return{'data':_0x4b96f6['toString'](_0x842e3e[_0x395f0a(0x20d)]),'mediaType':_0x842e3e['CNfZs'](inferMediaType,null,_0x4e4ce9)};}if(_0x525767[_0x395f0a(0x20a)](_0x395f0a(0x21c))||_0x525767['startsWith']('https://')){const _0x316599=await _0x842e3e[_0x395f0a(0x226)](fetch,_0x525767,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x316599['ok'])throw new Error(_0x395f0a(0x210)+_0x316599[_0x395f0a(0x20e)]);const _0x5f4de8=_0x316599['headers']['get']('content-length');if(_0x5f4de8){const _0x48a3c9=Number(_0x5f4de8);if(!Number['isNaN'](_0x48a3c9)&&_0x48a3c9>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x395f0a(0x219)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x4b8fe6=await _0x316599['arrayBuffer']();if(_0x4b8fe6[_0x395f0a(0x214)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x395f0a(0x227));return{'data':Buffer['from'](_0x4b8fe6)[_0x395f0a(0x202)]('base64'),'mediaType':_0x842e3e['HVIKB'](inferMediaType,_0x316599[_0x395f0a(0x20b)]['get']('content-type'),_0x525767)};}const _0x2bd91c=await stat(_0x525767);if(_0x842e3e[_0x395f0a(0x213)](_0x2bd91c[_0x395f0a(0x1f8)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x395f0a(0x219)+MAX_IMAGE_SIZE_BYTES+_0x395f0a(0x227));const _0x2e3840=await readFile(_0x525767);return{'data':_0x2e3840['toString'](_0x842e3e['izsTJ']),'mediaType':_0x842e3e['CNfZs'](inferMediaType,null,_0x525767)};}async function convertImageBlockToBase64(_0x1be974){const _0x17456f=_0x3d9f,_0x265732={'sitWO':function(_0x35690d,_0x26a237){return _0x35690d===_0x26a237;},'Oavbz':function(_0x23b6e2,_0x24f17b){return _0x23b6e2(_0x24f17b);}};if(_0x265732[_0x17456f(0x211)](_0x1be974['source']?.[_0x17456f(0x1fd)],_0x17456f(0x22a)))return{'updated':![],'block':_0x1be974};if(_0x1be974[_0x17456f(0x205)]&&_0x1be974[_0x17456f(0x220)])return{'updated':![],'block':_0x1be974};const _0x3df2d7=_0x1be974[_0x17456f(0x201)]?.['url']??_0x1be974[_0x17456f(0x225)];if(!_0x3df2d7)return{'updated':![],'block':_0x1be974};const _0x706fa3=await _0x265732['Oavbz'](readImageFromUrl,_0x3df2d7);return{'updated':!![],'block':{..._0x1be974,'source':{'type':'base64','media_type':_0x706fa3['mediaType'],'data':_0x706fa3[_0x17456f(0x205)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x3194e5){const _0x524168=_0x3d9f,_0x205e0d={'ePRcT':function(_0x12c958,_0x252d2a){return _0x12c958(_0x252d2a);}};if(!isRecord(_0x3194e5))return{'updated':![],'output':_0x3194e5};const _0x523b2d=_0x3194e5['content'];if(!Array[_0x524168(0x1fb)](_0x523b2d))return{'updated':![],'output':_0x3194e5};let _0x1bcbb3=![];const _0x442da2=await Promise[_0x524168(0x1fc)](_0x523b2d[_0x524168(0x21e)](async _0x141226=>{const _0x3ba88c=_0x524168;if(!_0x205e0d[_0x3ba88c(0x224)](isImageBlock,_0x141226))return _0x141226;try{const _0x224d3b=await convertImageBlockToBase64(_0x141226);if(_0x224d3b[_0x3ba88c(0x215)])_0x1bcbb3=!![];return _0x224d3b[_0x3ba88c(0x217)];}catch{return _0x141226;}}));if(!_0x1bcbb3)return{'updated':![],'output':_0x3194e5};return{'updated':!![],'output':{..._0x3194e5,'content':_0x442da2}};}export function createMcpImageBase64Hook(){return async _0x499ad0=>{const _0x55f68f=_0x3d9f;if(_0x499ad0[_0x55f68f(0x1ff)]!==_0x55f68f(0x1f1))return{};const _0x2c9e02=_0x499ad0,{updated:_0x4eaa23,output:_0x474f6d}=await convertToolOutputImagesToBase64(_0x2c9e02[_0x55f68f(0x1f7)]);if(!_0x4eaa23)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x474f6d}};};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x171d(_0x40552e,_0x115110){_0x40552e=_0x40552e-0x1e6;const _0x5e042c=_0x5e04();let _0x171d71=_0x5e042c[_0x40552e];return _0x171d71;}const _0x41ba4b=_0x171d;(function(_0x2626c4,_0x3ab77d){const _0x2684ed=_0x171d,_0x30beb2=_0x2626c4();while(!![]){try{const _0x1a7e13=-parseInt(_0x2684ed(0x1ef))/0x1+parseInt(_0x2684ed(0x1e6))/0x2+-parseInt(_0x2684ed(0x1ee))/0x3+-parseInt(_0x2684ed(0x1ed))/0x4+-parseInt(_0x2684ed(0x1e7))/0x5+-parseInt(_0x2684ed(0x1e9))/0x6*(parseInt(_0x2684ed(0x1ec))/0x7)+-parseInt(_0x2684ed(0x1f0))/0x8*(-parseInt(_0x2684ed(0x1ea))/0x9);if(_0x1a7e13===_0x3ab77d)break;else _0x30beb2['push'](_0x30beb2['shift']());}catch(_0x541dc5){_0x30beb2['push'](_0x30beb2['shift']());}}}(_0x5e04,0x2ee2e));function _0x5e04(){const _0xcfaf29=['745096uarKOv','426890XWRFjN','claude-sonnet-4-6','12594yWUHXg','127359KknNjS','toLowerCase','959xgGIjd','47512SaCqeR','149604QViNsP','99590LWMXuc','200ivRchS','claude-opus-4-6'];_0x5e04=function(){return _0xcfaf29;};return _0x5e04();}const VERIFY_MODEL_ALIASES={'opus':_0x41ba4b(0x1f1),'sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL=_0x41ba4b(0x1e8);export function resolveVerifyModel(_0x49caea){const _0x4c0bc8=_0x41ba4b,_0x3aa885={'nhHVa':function(_0x4876ca,_0x216216){return _0x4876ca??_0x216216;}};if(!_0x49caea)return undefined;const _0x2aaee8=_0x49caea['trim']();if(!_0x2aaee8)return undefined;const _0x32f967=VERIFY_MODEL_ALIASES[_0x2aaee8[_0x4c0bc8(0x1eb)]()];return _0x3aa885['nhHVa'](_0x32f967,_0x2aaee8);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x9a92e7,_0x49d510){var _0x38c8e8=_0x933c,_0x551207=_0x9a92e7();while(!![]){try{var _0x55635c=parseInt(_0x38c8e8(0x1cb))/0x1*(parseInt(_0x38c8e8(0x1d2))/0x2)+-parseInt(_0x38c8e8(0x1d1))/0x3+parseInt(_0x38c8e8(0x1d5))/0x4+parseInt(_0x38c8e8(0x1da))/0x5+parseInt(_0x38c8e8(0x1cd))/0x6*(-parseInt(_0x38c8e8(0x1d6))/0x7)+-parseInt(_0x38c8e8(0x1d0))/0x8+parseInt(_0x38c8e8(0x1ca))/0x9*(-parseInt(_0x38c8e8(0x1dd))/0xa);if(_0x55635c===_0x49d510)break;else _0x551207['push'](_0x551207['shift']());}catch(_0x541a6c){_0x551207['push'](_0x551207['shift']());}}}(_0x1d08,0x9d1ab));function _0x1d08(){var _0x3de5b2=['1480vVzatz','XDG_CONFIG_HOME','gMwut','965468LEaFEd','749IyqmFQ','.opencode','MmsNO','MZWuy','4101605JzBPDD','OPENCODE_CONFIG_DIR','skills','116600PUOlGo','225lWccjz','1193OioYnR','env','6618lzvqMi','UBwdo','.config','4303880VYQvqq','1060509cIjoxg'];_0x1d08=function(){return _0x3de5b2;};return _0x1d08();}import{homedir}from'os';function _0x933c(_0x8ca039,_0x2108a0){_0x8ca039=_0x8ca039-0x1ca;var _0x1d0802=_0x1d08();var _0x933cd9=_0x1d0802[_0x8ca039];return _0x933cd9;}import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x42a2e0){var _0x515a78=_0x933c,_0x76567e={'cRKmN':function(_0x214821,_0x55b0ff,_0x29159a){return _0x214821(_0x55b0ff,_0x29159a);},'tPxaO':'opencode','gMwut':_0x515a78(0x1cf),'MZWuy':function(_0x3b32c1){return _0x3b32c1();},'UBwdo':_0x515a78(0x1d7)};if(process['env'][_0x515a78(0x1db)])return process[_0x515a78(0x1cc)]['OPENCODE_CONFIG_DIR'];if(_0x42a2e0==='user'){if(process['env']['XDG_CONFIG_HOME'])return _0x76567e['cRKmN'](join,process['env'][_0x515a78(0x1d3)],_0x76567e['tPxaO']);return join(homedir(),_0x76567e[_0x515a78(0x1d4)],'opencode');}return join(_0x76567e[_0x515a78(0x1d9)](getProjectRoot),_0x76567e[_0x515a78(0x1ce)]);}export function getOpencodeSkillsDir(_0x4d208c){var _0x1f8ad3=_0x933c,_0x452061={'MmsNO':function(_0x3f5e87,_0x7f1939,_0x8810bf){return _0x3f5e87(_0x7f1939,_0x8810bf);},'eGukA':function(_0x5c5f49,_0x224a14){return _0x5c5f49(_0x224a14);}};return _0x452061[_0x1f8ad3(0x1d8)](join,_0x452061['eGukA'](getOpencodeConfigDir,_0x4d208c),_0x1f8ad3(0x1dc));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x42169f=_0xdce8;(function(_0xd23c12,_0x1f0297){const _0x34ee80=_0xdce8,_0x2e69c9=_0xd23c12();while(!![]){try{const _0x436745=-parseInt(_0x34ee80(0xe2))/0x1*(-parseInt(_0x34ee80(0xc9))/0x2)+-parseInt(_0x34ee80(0xcd))/0x3+-parseInt(_0x34ee80(0xd3))/0x4*(-parseInt(_0x34ee80(0xb8))/0x5)+-parseInt(_0x34ee80(0xd2))/0x6+-parseInt(_0x34ee80(0xc3))/0x7+parseInt(_0x34ee80(0xe9))/0x8+parseInt(_0x34ee80(0xce))/0x9*(parseInt(_0x34ee80(0xc0))/0xa);if(_0x436745===_0x1f0297)break;else _0x2e69c9['push'](_0x2e69c9['shift']());}catch(_0x5946a3){_0x2e69c9['push'](_0x2e69c9['shift']());}}}(_0x2509,0x1dda8));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY=_0x42169f(0xcb);function toPlaywrightCliSessionKey(_0x2ac9d2){const _0x3af097=_0x42169f,_0x79defb={'PzQxL':'sha256','krhik':'hex'},_0x66142=createHash(_0x79defb['PzQxL'])['update'](_0x2ac9d2)[_0x3af097(0xc1)](_0x79defb[_0x3af097(0xd6)])[_0x3af097(0xbd)](0x0,0xc);return'rg-'+_0x66142;}function shellQuote(_0x5d0b52){const _0x44f7cd=_0x42169f;return'\x27'+_0x5d0b52[_0x44f7cd(0xe3)](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x477da0){const _0x518719=_0x42169f;return SAFE_SHELL_TOKEN[_0x518719(0xd9)](_0x477da0)?_0x477da0:shellQuote(_0x477da0);}export function buildPlaywrightCliInvocation(_0x2db9b9,_0x2ddbff,_0x4db134){const _0x4de5d4=_0x42169f,_0x44c577={'vqZhV':_0x4de5d4(0xd7),'xMXts':'npx','rWhMW':function(_0x11229e,_0x1a18ca){return _0x11229e(_0x1a18ca);},'eSYeG':_0x4de5d4(0xc2)},_0x1ae176=toPlaywrightCliSessionKey(_0x2db9b9),[_0x823603=_0x44c577['vqZhV']]=_0x4db134,_0x3212af=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x1ae176,_0x4de5d4(0xc2),_0x2ddbff,..._0x4db134];return{'command':_0x44c577['xMXts'],'args':_0x3212af,'shellCommand':[_0x4de5d4(0xc5),PLAYWRIGHT_CLI_BINARY,_0x4de5d4(0xb9)+_0x44c577[_0x4de5d4(0xda)](quoteShellArg,_0x1ae176),_0x44c577['eSYeG'],quoteShellArg(_0x2ddbff),..._0x4db134['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x823603};}export function buildPlaywrightCliCommandPrefix(_0x15cc45,_0x8070fe){const _0x451266=_0x42169f,_0x160a20={'fenFR':function(_0x351b36,_0x17b4a0){return _0x351b36(_0x17b4a0);},'CGNnx':_0x451266(0xc2)},_0x1e7600=_0x160a20['fenFR'](toPlaywrightCliSessionKey,_0x15cc45);return[_0x451266(0xc5),PLAYWRIGHT_CLI_BINARY,_0x451266(0xb9)+quoteShellArg(_0x1e7600),_0x160a20[_0x451266(0xd0)],_0x160a20[_0x451266(0xbf)](quoteShellArg,_0x8070fe)]['join']('\x20');}function _0x2509(){const _0x16612c=['match','266535hPHDIj','398637LYFumA','timeoutMs','CGNnx','luKpg','825942VjGmjo','3884pEGXHK','JTnbr','toString','krhik','unknown','length','test','rWhMW','yCzpi','LWmjc','WiKrv','ZFRpq','kill','ZXMRu','values','1RvHDvp','replace','axSDO','kZLfA','subcommand','sessionId','NPHfA','12576nhYFso','commandArgs','SIGKILL','SIGTERM','stdout','MHYPw','\x0astderr:\x20','645gFamnc','-s=','SlBjj','string','error','slice','...','fenFR','40lmBRpM','digest','--config','734825LaiTye','playwright-cli\x20','npx','IxdoV','exited\x20with\x20code=','ZhVHd','299508Bughbk','DQskg','@playwright/cli'];_0x2509=function(){return _0x16612c;};return _0x2509();}function truncateOutput(_0x201c4e,_0x5521f8=0x7d0){const _0x2db182=_0x42169f;return _0x201c4e[_0x2db182(0xd8)]>_0x5521f8?_0x201c4e[_0x2db182(0xbd)](0x0,_0x5521f8)+_0x2db182(0xbe):_0x201c4e;}function _0xdce8(_0x49c1ed,_0x436d8d){_0x49c1ed=_0x49c1ed-0xb8;const _0x25097e=_0x2509();let _0xdce8f6=_0x25097e[_0x49c1ed];return _0xdce8f6;}export async function runPlaywrightCliCommand(_0x19e2be){const _0x39b7de=_0x42169f,_0x139c3a={'bzQHp':_0x39b7de(0xeb),'NPHfA':function(_0x4dec66,_0x4e64de,_0x261e26){return _0x4dec66(_0x4e64de,_0x261e26);},'luKpg':function(_0x448fb6,_0x4975ef){return _0x448fb6(_0x4975ef);},'SlBjj':function(_0x3cd345,_0x2dbed8){return _0x3cd345(_0x2dbed8);},'EIvRQ':function(_0x231ae2,_0x985a1e,_0x5db6e8,_0x27a8f7){return _0x231ae2(_0x985a1e,_0x5db6e8,_0x27a8f7);},'WiKrv':'pipe','axSDO':'data','kZLfA':_0x39b7de(0xbc)},_0x20afd0=buildPlaywrightCliInvocation(_0x19e2be[_0x39b7de(0xe7)],_0x19e2be['configPath'],_0x19e2be[_0x39b7de(0xea)]);return new Promise((_0x36b496,_0x1d54fa)=>{const _0x504981=_0x39b7de,_0x58a722={'ZhVHd':_0x139c3a['bzQHp'],'vcZoy':_0x504981(0xec),'ASJJU':function(_0x2d80da,_0x48c4f9,_0x2647fe){const _0x104464=_0x504981;return _0x139c3a[_0x104464(0xe8)](_0x2d80da,_0x48c4f9,_0x2647fe);},'gbHmT':function(_0x13f169,_0x504adc){const _0xd5b0ab=_0x504981;return _0x139c3a[_0xd5b0ab(0xd1)](_0x13f169,_0x504adc);},'yCzpi':function(_0xf8e720,_0x165e12){return _0xf8e720===_0x165e12;},'LWmjc':'null','DQskg':function(_0x547166,_0x37ef15){return _0x547166(_0x37ef15);},'ZXMRu':function(_0x3e57cf,_0x5dad8e){const _0x33e963=_0x504981;return _0x139c3a[_0x33e963(0xba)](_0x3e57cf,_0x5dad8e);}},_0x5d8f2e=_0x139c3a['EIvRQ'](spawn,_0x20afd0['command'],_0x20afd0['args'],{'cwd':_0x19e2be['cwd'],'env':_0x19e2be['env'],'stdio':['ignore',_0x139c3a[_0x504981(0xdd)],_0x139c3a['WiKrv']]});let _0x138038='',_0x553f1f='',_0x3091f8=![];const _0x3c4532=_0x19e2be[_0x504981(0xcf)]&&_0x19e2be['timeoutMs']>0x0?setTimeout(()=>{const _0x35f571=_0x504981;_0x3091f8=!![],_0x5d8f2e[_0x35f571(0xdf)](_0x58a722['vcZoy']),_0x58a722['ASJJU'](setTimeout,()=>{const _0x4e301a=_0x35f571;try{_0x5d8f2e['kill'](_0x58a722[_0x4e301a(0xc8)]);}catch{}},0x3e8);},_0x19e2be[_0x504981(0xcf)]):null;_0x5d8f2e[_0x504981(0xed)]?.['on'](_0x139c3a[_0x504981(0xe4)],_0x1dd2d7=>{const _0x1d0354=_0x504981;_0x138038+=_0x1dd2d7[_0x1d0354(0xd5)]();}),_0x5d8f2e['stderr']?.['on']('data',_0x1d24fc=>{_0x553f1f+=_0x1d24fc['toString']();}),_0x5d8f2e['on'](_0x139c3a[_0x504981(0xe5)],_0x1c1fe4=>{if(_0x3c4532)clearTimeout(_0x3c4532);_0x58a722['gbHmT'](_0x1d54fa,_0x1c1fe4);}),_0x5d8f2e['on']('close',(_0x186eb0,_0x1b81ab)=>{const _0x110653=_0x504981;if(_0x3c4532)clearTimeout(_0x3c4532);if(_0x58a722[_0x110653(0xdb)](_0x186eb0,0x0)){_0x36b496({'stdout':_0x138038,'stderr':_0x553f1f,'invocation':_0x20afd0});return;}const _0x1aab22=_0x3091f8?'timed\x20out\x20after\x20'+_0x19e2be['timeoutMs']+'ms':_0x110653(0xc7)+(_0x186eb0??_0x58a722['LWmjc'])+'\x20signal='+(_0x1b81ab??_0x58a722[_0x110653(0xdc)]);_0x58a722[_0x110653(0xca)](_0x1d54fa,new Error(_0x110653(0xc4)+_0x20afd0[_0x110653(0xe6)]+'\x20'+_0x1aab22+'\x0astdout:\x20'+_0x58a722[_0x110653(0xe0)](truncateOutput,_0x138038)+_0x110653(0xef)+truncateOutput(_0x553f1f)));});});}export function extractBashCommand(_0x12bca6){const _0x3a2d30=_0x42169f,_0x358e4c={'MHYPw':'command','ZFRpq':'cmd','LdpaL':'script','JTnbr':'bash_command','IxdoV':function(_0x16846d,_0x47282a){return _0x16846d===_0x47282a;},'CZept':function(_0x1602b0,_0x85c7dc){return _0x1602b0??_0x85c7dc;}},_0x32634b=[_0x358e4c[_0x3a2d30(0xee)],_0x358e4c[_0x3a2d30(0xde)],_0x358e4c['LdpaL'],_0x358e4c[_0x3a2d30(0xd4)]];for(const _0x303e4f of _0x32634b){const _0x279924=_0x12bca6[_0x303e4f];if(_0x358e4c[_0x3a2d30(0xc6)](typeof _0x279924,_0x3a2d30(0xbb))&&_0x279924['trim']())return _0x279924;}const _0x35ad47=Object[_0x3a2d30(0xe1)](_0x12bca6)['find'](_0x300a78=>typeof _0x300a78===_0x3a2d30(0xbb)&&_0x300a78['trim']()['length']>0x0);return _0x358e4c['CZept'](_0x35ad47,null);}export function parsePlaywrightCliCommand(_0x4c7790){const _0x4b3fcd=_0x42169f,_0x4472ac=_0x4c7790[_0x4b3fcd(0xcc)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x4472ac?.[0x1]??null;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1ea392=_0x5526;function _0x25d8(){const _0x241d56=['1835062YzaUXn','3yBWOdg','4831090sXSRDo','2831969QcHDPw','5831778QFUEff','2022904glozuQ','3849808amanRk','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','980485jbtdnr','VSPvg','ranger\x20profile\x20add\x20local'];_0x25d8=function(){return _0x241d56;};return _0x25d8();}(function(_0x4098d1,_0x3249f7){const _0x583968=_0x5526,_0x526f0a=_0x4098d1();while(!![]){try{const _0xe444b0=parseInt(_0x583968(0x86))/0x1+parseInt(_0x583968(0x89))/0x2+parseInt(_0x583968(0x8a))/0x3*(parseInt(_0x583968(0x83))/0x4)+-parseInt(_0x583968(0x80))/0x5+-parseInt(_0x583968(0x82))/0x6+-parseInt(_0x583968(0x81))/0x7+parseInt(_0x583968(0x84))/0x8;if(_0xe444b0===_0x3249f7)break;else _0x526f0a['push'](_0x526f0a['shift']());}catch(_0x8a9053){_0x526f0a['push'](_0x526f0a['shift']());}}}(_0x25d8,0x8460c));function _0x5526(_0x3b71de,_0x1ae87d){_0x3b71de=_0x3b71de-0x80;const _0x25d8be=_0x25d8();let _0x55261b=_0x25d8be[_0x3b71de];return _0x55261b;}const DEFAULT_PROFILE_COMMAND=_0x1ea392(0x88);export function formatProfileRequiredMessage(_0xc775a8){const _0x107cc1=_0x1ea392,_0x3231f3={'VSPvg':function(_0x588a80,_0x48f8b6){return _0x588a80(_0x48f8b6);}},_0x1775f9=_0xc775a8?_0x3231f3[_0x107cc1(0x87)](_0xc775a8,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x107cc1(0x85)+_0x1775f9+'.';}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x33e20a,_0x49a38d){const _0x57fa2d=_0x21a1,_0x35def7=_0x33e20a();while(!![]){try{const _0x5e1fba=-parseInt(_0x57fa2d(0x86))/0x1+parseInt(_0x57fa2d(0x79))/0x2*(-parseInt(_0x57fa2d(0x77))/0x3)+parseInt(_0x57fa2d(0x7a))/0x4*(-parseInt(_0x57fa2d(0x80))/0x5)+-parseInt(_0x57fa2d(0x7e))/0x6*(parseInt(_0x57fa2d(0x85))/0x7)+parseInt(_0x57fa2d(0x75))/0x8*(-parseInt(_0x57fa2d(0x87))/0x9)+parseInt(_0x57fa2d(0x7c))/0xa+parseInt(_0x57fa2d(0x8a))/0xb;if(_0x5e1fba===_0x49a38d)break;else _0x35def7['push'](_0x35def7['shift']());}catch(_0x435134){_0x35def7['push'](_0x35def7['shift']());}}}(_0x696c,0xa45f9));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x2046d0=_0x21a1,_0x3e9fb7={'pNjEh':function(_0x4588cd,_0x249add){return _0x4588cd+_0x249add;},'macyT':function(_0x433584,_0x17b9a4){return _0x433584+_0x17b9a4;},'rECBR':function(_0x591ec6,_0x33d5b9){return _0x591ec6+_0x33d5b9;},'xXXYa':_0x2046d0(0x7d),'gmhhs':'<div\x20class=\x22ranger-banner__message\x22>','gaEZR':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x1c420c=_0x3e9fb7[_0x2046d0(0x84)](_0x3e9fb7[_0x2046d0(0x88)](_0x3e9fb7['macyT'](_0x3e9fb7[_0x2046d0(0x7f)](_0x3e9fb7[_0x2046d0(0x88)]('<div\x20class=\x22ranger-banner__content\x22>',_0x3e9fb7['xXXYa']),_0x3e9fb7[_0x2046d0(0x7b)])+'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>',_0x2046d0(0x81)),'</div>'),_0x2046d0(0x78))+_0x3e9fb7['gaEZR'],_0x50176a='\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 _0x2046d0(0x76)+JSON[_0x2046d0(0x89)](_0x1c420c)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON[_0x2046d0(0x89)](_0x50176a)+_0x2046d0(0x83);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x696c(){const _0x2b8a67=['<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','addInitScript',';\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','pNjEh','21xhtbEr','1343512Gzetcl','1670724HPFeto','macyT','stringify','33020636xUscjo','16kVBxYh','\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','251151DFyonC','</div>','14wBjecg','4432zyNuki','gmhhs','10928940KMRYPU','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','641436VqfFxP','rECBR','3610AVEQBg'];_0x696c=function(){return _0x2b8a67;};return _0x696c();}function _0x21a1(_0x18de54,_0x451e36){_0x18de54=_0x18de54-0x75;const _0x696cf6=_0x696c();let _0x21a187=_0x696cf6[_0x18de54];return _0x21a187;}export async function addProfileSetupBanner(_0x5212c5){const _0x4c585a=_0x21a1;await _0x5212c5[_0x4c585a(0x82)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
|