@ranger-testing/ranger-cli 3.1.5-alpha.aebd071-49 → 3.1.5
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/deleteProfile.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/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.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 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.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/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.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/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/scenarioOriginCheck.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/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.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/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x304e5d=_0x47ec;(function(_0x4024fa,_0x489370){const _0x4651a9=_0x47ec,_0x2bc7dd=_0x4024fa();while(!![]){try{const _0x43872e=-parseInt(_0x4651a9(0xa5))/0x1*(parseInt(_0x4651a9(0xac))/0x2)+parseInt(_0x4651a9(0xb6))/0x3*(-parseInt(_0x4651a9(0xb4))/0x4)+-parseInt(_0x4651a9(0xa1))/0x5+-parseInt(_0x4651a9(0xbf))/0x6*(-parseInt(_0x4651a9(0xc5))/0x7)+parseInt(_0x4651a9(0xab))/0x8+parseInt(_0x4651a9(0xd4))/0x9+-parseInt(_0x4651a9(0xc3))/0xa*(-parseInt(_0x4651a9(0xdb))/0xb);if(_0x43872e===_0x489370)break;else _0x2bc7dd['push'](_0x2bc7dd['shift']());}catch(_0x24d762){_0x2bc7dd['push'](_0x2bc7dd['shift']());}}}(_0x3aa5,0x75899));import{randomUUID}from'crypto';function _0x47ec(_0xc4d861,_0x4dc8af){_0xc4d861=_0xc4d861-0xa0;const _0x3aa569=_0x3aa5();let _0x47ec1d=_0x3aa569[_0xc4d861];return _0x47ec1d;}import{existsSync,mkdirSync,readFileSync,writeFileSync}from'fs';import{join}from'path';import{homedir}from'os';function _0x3aa5(){const _0x556ea3=['227962IboQgr','phase_start','yaIxB','version','isCI','success','phaseStartTimes','dkiof','buildEvent','deviceId','isTty','trackCommandStart','abort','ZvWTa','length','5965452falhsR','HHrxU','catch','buffer','featureId','checklistItemId','Unknown','264FHEXuI','cwd','signal','DEBUG','flush','platform','trackCommandEnd','phaseCounter','cliVersion','phase_end','/api/v1/mcp/cli-telemetry','LwsIx','CuOxy','3865090IzNeCU','commandStartTime','command','sendImmediate','1lcmpGt','BYKBh','phase_error','name','command_start','nyqEb','3660768cEmRKG','858506FPiPPe','message','constructor','finally','usNBX','8|5|7|0|2|6|4|1|3','.ranger','MuFbd','27372gjKgor','transport','234XNJJjA','isTTY','set','application/json','errorMessage','slice','now','flushAsync','commandId','162UzCRhO','push','cJOPc','stdout','90730jAxCkL','browserSessionId'];_0x3aa5=function(){return _0x556ea3;};return _0x3aa5();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';import{getCurrentVersion}from'./version.js';let cachedDeviceId=null;function getDeviceId(){const _0x2a3b1f=_0x47ec,_0x302f11={'ZvWTa':function(_0x55a188,_0x489be9,_0x5ccc1a){return _0x55a188(_0x489be9,_0x5ccc1a);},'suINS':function(_0x34306e,_0x57fc69,_0x4797da){return _0x34306e(_0x57fc69,_0x4797da);},'dkiof':function(_0x3ba508){return _0x3ba508();}};if(cachedDeviceId)return cachedDeviceId;try{const _0x1c8516=join(homedir(),_0x2a3b1f(0xb2)),_0x37d635=join(_0x1c8516,'.session');if(existsSync(_0x37d635)){cachedDeviceId=_0x302f11[_0x2a3b1f(0xd2)](readFileSync,_0x37d635,'utf-8')['trim']();if(cachedDeviceId)return cachedDeviceId;}return cachedDeviceId=randomUUID(),mkdirSync(_0x1c8516,{'recursive':!![]}),_0x302f11['suINS'](writeFileSync,_0x37d635,cachedDeviceId),cachedDeviceId;}catch{return cachedDeviceId=_0x302f11[_0x2a3b1f(0xcc)](randomUUID),cachedDeviceId;}}export class TelemetryCollector{['buffer']=[];['commandId'];[_0x304e5d(0xa3)];['commandStartTime'];[_0x304e5d(0xe2)]=0x0;[_0x304e5d(0xcb)]=new Map();['flushing']=null;[_0x304e5d(0xce)];[_0x304e5d(0xe3)];['nodeVersion'];['platform'];[_0x304e5d(0xcf)];[_0x304e5d(0xc9)];['featureId'];[_0x304e5d(0xd9)];['browserSessionId'];['transport'];constructor(_0x46ad3d){const _0x21f258=_0x304e5d,_0x48f1b2={'cJOPc':function(_0x42e285){return _0x42e285();}},_0xe50f3f=_0x21f258(0xb1)['split']('|');let _0x510883=0x0;while(!![]){switch(_0xe50f3f[_0x510883++]){case'0':this[_0x21f258(0xce)]=_0x48f1b2[_0x21f258(0xc1)](getDeviceId);continue;case'1':this[_0x21f258(0xcf)]=process[_0x21f258(0xc2)][_0x21f258(0xb7)]??![];continue;case'2':this['cliVersion']=getCurrentVersion();continue;case'3':this['isCI']=!!(process['env']['CI']||process['env']['GITHUB_ACTIONS']);continue;case'4':this['platform']=process['platform'];continue;case'5':this[_0x21f258(0xa3)]=_0x46ad3d;continue;case'6':this['nodeVersion']=process[_0x21f258(0xc8)];continue;case'7':this['commandStartTime']=Date[_0x21f258(0xbc)]();continue;case'8':this[_0x21f258(0xbe)]=randomUUID();continue;}break;}}['setContext'](_0x476d1e){const _0x5afe63=_0x304e5d;if(_0x476d1e['featureId'])this[_0x5afe63(0xd8)]=_0x476d1e[_0x5afe63(0xd8)];if(_0x476d1e['checklistItemId'])this[_0x5afe63(0xd9)]=_0x476d1e[_0x5afe63(0xd9)];if(_0x476d1e[_0x5afe63(0xc4)])this[_0x5afe63(0xc4)]=_0x476d1e['browserSessionId'];if(_0x476d1e['transport'])this[_0x5afe63(0xb5)]=_0x476d1e[_0x5afe63(0xb5)];}async[_0x304e5d(0xd0)](_0x503e9a){const _0x471663=_0x304e5d,_0x2703ad=this['buildEvent']({'eventType':_0x471663(0xa9),'metadata':_0x503e9a});await this[_0x471663(0xa4)](_0x2703ad);}async['trackCommandEnd'](_0x50ef9c,_0x21c797){const _0xd308b7=_0x304e5d,_0x54f014={'MuFbd':'command_end'},_0x1c9bb2=this['buildEvent']({'eventType':_0x54f014[_0xd308b7(0xb3)],'outcome':_0x50ef9c,'durationMs':Date[_0xd308b7(0xbc)]()-this[_0xd308b7(0xa2)],'metadata':_0x21c797});await this[_0xd308b7(0xa4)](_0x1c9bb2),await this[_0xd308b7(0xdf)]();}async['trackCommandError'](_0x743d4,_0x130dcc){const _0x4c7a9f=_0x304e5d,_0x549b4b={'DqkRE':'command_error','usNBX':function(_0x4e1785,_0xc8a74d){return _0x4e1785 instanceof _0xc8a74d;},'yaIxB':function(_0x53e6ab,_0x58c45a){return _0x53e6ab instanceof _0x58c45a;},'aTmuy':_0x4c7a9f(0xda),'bbVkI':function(_0x2f8599,_0x52554f){return _0x2f8599-_0x52554f;}},_0x3bb8f8=this['buildEvent']({'eventType':_0x549b4b['DqkRE'],'errorMessage':truncate(_0x549b4b[_0x4c7a9f(0xb0)](_0x743d4,Error)?_0x743d4['message']:String(_0x743d4),0x1f4),'errorType':_0x549b4b[_0x4c7a9f(0xc7)](_0x743d4,Error)?_0x743d4[_0x4c7a9f(0xae)]['name']:_0x549b4b['aTmuy'],'durationMs':_0x549b4b['bbVkI'](Date['now'](),this[_0x4c7a9f(0xa2)]),'metadata':_0x130dcc});await this[_0x4c7a9f(0xa4)](_0x3bb8f8),await this['flush']();}['trackPhaseStart'](_0x3a7a8e,_0x3504a0){const _0x3afd1f=_0x304e5d;this['phaseCounter']++,this[_0x3afd1f(0xcb)][_0x3afd1f(0xb8)](_0x3a7a8e,Date['now']());const _0x1b1fce=this['buildEvent']({'eventType':_0x3afd1f(0xc6),'phase':_0x3a7a8e,'phaseIndex':this['phaseCounter'],'metadata':_0x3504a0});this[_0x3afd1f(0xd7)]['push'](_0x1b1fce);}['trackPhaseEnd'](_0x1a917f,_0x1ecece){const _0x5eefbd=_0x304e5d,_0x3baa3b=this[_0x5eefbd(0xcb)]['get'](_0x1a917f),_0x5f5229=_0x3baa3b?Date[_0x5eefbd(0xbc)]()-_0x3baa3b:undefined;this[_0x5eefbd(0xcb)]['delete'](_0x1a917f);const _0x33e695=this[_0x5eefbd(0xcd)]({'eventType':_0x5eefbd(0xe4),'phase':_0x1a917f,'durationMs':_0x5f5229,'metadata':_0x1ecece});this[_0x5eefbd(0xd7)][_0x5eefbd(0xc0)](_0x33e695),this['buffer'][_0x5eefbd(0xd3)]>=0xa&&this[_0x5eefbd(0xbd)]();}async['trackPhaseError'](_0x1ccca5,_0x38989a,_0x2e99a8){const _0x4dd1f0=_0x304e5d,_0x257f87={'LzGuJ':function(_0x3a3ba7,_0x41583a){return _0x3a3ba7-_0x41583a;},'Crfbo':_0x4dd1f0(0xa7),'nyqEb':function(_0x1ac86d,_0x38e3f4,_0x947b59){return _0x1ac86d(_0x38e3f4,_0x947b59);},'Aaedq':function(_0xdee25d,_0x4ef789){return _0xdee25d instanceof _0x4ef789;},'jSaTf':function(_0x518788,_0x480d49){return _0x518788(_0x480d49);},'LwsIx':function(_0x442ff2,_0x4f8337){return _0x442ff2 instanceof _0x4f8337;},'CuOxy':'Unknown'},_0x5a982b=this[_0x4dd1f0(0xcb)]['get'](_0x1ccca5),_0x472522=_0x5a982b?_0x257f87['LzGuJ'](Date['now'](),_0x5a982b):undefined;this[_0x4dd1f0(0xcb)]['delete'](_0x1ccca5);const _0x3c750d=this[_0x4dd1f0(0xcd)]({'eventType':_0x257f87['Crfbo'],'phase':_0x1ccca5,'durationMs':_0x472522,'errorMessage':_0x257f87[_0x4dd1f0(0xaa)](truncate,_0x257f87['Aaedq'](_0x38989a,Error)?_0x38989a[_0x4dd1f0(0xad)]:_0x257f87['jSaTf'](String,_0x38989a),0x1f4),'errorType':_0x257f87[_0x4dd1f0(0xe6)](_0x38989a,Error)?_0x38989a['constructor'][_0x4dd1f0(0xa8)]:_0x257f87[_0x4dd1f0(0xa0)],'metadata':_0x2e99a8});await this['sendImmediate'](_0x3c750d);}async['flush'](){const _0xd63c45=_0x304e5d;if(this[_0xd63c45(0xd7)]['length']===0x0)return;const _0x1c8b4c=this['buffer']['splice'](0x0);try{await this['sendBatch'](_0x1c8b4c);}catch{}}[_0x304e5d(0xcd)](_0x5f0fff){const _0x2b99bb=_0x304e5d;return{'eventType':_0x5f0fff['eventType'],'command':this[_0x2b99bb(0xa3)],'commandId':this[_0x2b99bb(0xbe)],'deviceId':this['deviceId'],'timestamp':new Date()['toISOString'](),'durationMs':_0x5f0fff['durationMs'],'phase':_0x5f0fff['phase'],'phaseIndex':_0x5f0fff['phaseIndex'],'outcome':_0x5f0fff['outcome'],'errorMessage':_0x5f0fff[_0x2b99bb(0xba)],'errorType':_0x5f0fff['errorType'],'featureId':this[_0x2b99bb(0xd8)],'checklistItemId':this['checklistItemId'],'browserSessionId':this[_0x2b99bb(0xc4)],'transport':this['transport'],'evaluation':_0x5f0fff['evaluation'],'cliVersion':this['cliVersion'],'nodeVersion':this['nodeVersion'],'platform':this[_0x2b99bb(0xe0)],'cwd':process[_0x2b99bb(0xdc)](),'isTty':this['isTty'],'isCI':this['isCI'],'metadata':_0x5f0fff['metadata']};}async['sendImmediate'](_0x338aba){try{await this['sendBatch']([_0x338aba]);}catch{}}['flushAsync'](){const _0x284334=_0x304e5d;if(this['flushing'])return;this['flushing']=this['flush']()[_0x284334(0xaf)](()=>{this['flushing']=null;});}async['sendBatch'](_0x51f6fd){const _0x99d36a=_0x304e5d,_0x5f3560={'bLSIe':function(_0x3b4521){return _0x3b4521();},'HHrxU':function(_0x2c5b95,_0x32937d,_0x475116){return _0x2c5b95(_0x32937d,_0x475116);}},_0x4d6ff1=await _0x5f3560['bLSIe'](getToken)[_0x99d36a(0xd6)](()=>null),_0x476a42=getApiBaseUrl(),_0x1b6221={'Content-Type':_0x99d36a(0xb9)};_0x4d6ff1&&(_0x1b6221['Authorization']='Bearer\x20'+_0x4d6ff1);const _0x786b0b={'events':_0x51f6fd};process['env'][_0x99d36a(0xde)]&&console['error']('[telemetry]\x20Sending\x20'+_0x51f6fd['length']+'\x20event(s)\x20to\x20'+_0x476a42+_0x99d36a(0xe5));const _0x1e2489=new AbortController(),_0x70bf33=setTimeout(()=>_0x1e2489[_0x99d36a(0xd1)](),0x1388);try{await _0x5f3560[_0x99d36a(0xd5)](fetch,_0x476a42+'/api/v1/mcp/cli-telemetry',{'method':'POST','headers':_0x1b6221,'body':JSON['stringify'](_0x786b0b),'signal':_0x1e2489[_0x99d36a(0xdd)]});}finally{clearTimeout(_0x70bf33);}}}let currentCollector=null;export function createTelemetryCollector(_0x571735){return currentCollector=new TelemetryCollector(_0x571735),currentCollector;}export function getCurrentCollector(){return currentCollector;}export async function withTelemetry(_0x52d1f5,_0x84935c,_0x42d943){const _0x49ce07=_0x304e5d,_0xc0fb24={'BYKBh':function(_0x258f21,_0x12dede){return _0x258f21(_0x12dede);},'vGgPZ':_0x49ce07(0xca)},_0x1d025a=createTelemetryCollector(_0x52d1f5);await _0x1d025a['trackCommandStart'](_0x42d943);try{const _0x4913d5=await _0xc0fb24[_0x49ce07(0xa6)](_0x84935c,_0x1d025a);return await _0x1d025a[_0x49ce07(0xe1)](_0xc0fb24['vGgPZ']),_0x4913d5;}catch(_0x40ca55){await _0x1d025a['trackCommandError'](_0x40ca55);throw _0x40ca55;}finally{await _0x1d025a['flush']();}}function truncate(_0x23f6b0,_0x4e4006){const _0x20301b=_0x304e5d;return _0x23f6b0['length']>_0x4e4006?_0x23f6b0[_0x20301b(0xbb)](0x0,_0x4e4006)+'...':_0x23f6b0;}
|
|
1
|
+
const _0x1b2753=_0x4a73;(function(_0x8932ec,_0x46cac9){const _0x26244b=_0x4a73,_0x59a1c2=_0x8932ec();while(!![]){try{const _0xe381c4=parseInt(_0x26244b(0x10e))/0x1+-parseInt(_0x26244b(0x124))/0x2*(-parseInt(_0x26244b(0x121))/0x3)+parseInt(_0x26244b(0x128))/0x4+parseInt(_0x26244b(0xf5))/0x5+parseInt(_0x26244b(0xe4))/0x6*(parseInt(_0x26244b(0x129))/0x7)+-parseInt(_0x26244b(0x10c))/0x8*(-parseInt(_0x26244b(0x131))/0x9)+parseInt(_0x26244b(0x12e))/0xa*(-parseInt(_0x26244b(0x119))/0xb);if(_0xe381c4===_0x46cac9)break;else _0x59a1c2['push'](_0x59a1c2['shift']());}catch(_0x3c383d){_0x59a1c2['push'](_0x59a1c2['shift']());}}}(_0x51a5,0xdaa2c));import{randomUUID}from'crypto';import{existsSync,mkdirSync,readFileSync,writeFileSync}from'fs';import{join}from'path';import{homedir}from'os';import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';function _0x51a5(){const _0x3850e3=['eventType','sendImmediate','510kWZUmR','...','error','18DeZCcg','command_end','/api/v1/mcp/cli-telemetry','toISOString','cPTeT','3653706ZltlZB','platform','abort','transport','reNDt','nodeVersion','trackPhaseStart','command','utf-8','finally','zduvm','KpBuA','wOmvN','flush','phaseStartTimes','flushAsync','browserSessionId','4613125HnnIqE','get','metadata','GYRbN','length','sendBatch','vdbgN','FjLLe','LysSb','sJNLY','jANLU','errorType','command_error','trackCommandError','buildEvent','YzgCB','buffer','stringify','XJQuw','delete','isCI','trackCommandEnd','now','3048056iEkAoC','kyvnk','1442164KdEEVv','constructor','phaseCounter','commandId','signal','phase_end','trackPhaseEnd','aubXi','vVEiR','outcome','application/json','837881OiYUKp','XuvvR','stdout','catch','checklistItemId','env','flushing','version','228rhtCBK','featureId','DEBUG','23152AqvAPF','push','nyCtq','GITHUB_ACTIONS','658892NgZCcy','7DoCkIu','isTty','commandStartTime'];_0x51a5=function(){return _0x3850e3;};return _0x51a5();}import{getCurrentVersion}from'./version.js';let cachedDeviceId=null;function getDeviceId(){const _0x58101d=_0x4a73,_0x5b7a86={'aubXi':function(_0x2871e7,_0x54ac21,_0x230fa5){return _0x2871e7(_0x54ac21,_0x230fa5);},'DERNN':'.ranger','PXpKO':_0x58101d(0xec),'wOmvN':function(_0x27b28f){return _0x27b28f();},'jANLU':function(_0x37a3b5){return _0x37a3b5();}};if(cachedDeviceId)return cachedDeviceId;try{const _0x2f70f1=_0x5b7a86[_0x58101d(0x115)](join,homedir(),_0x5b7a86['DERNN']),_0x664ef8=join(_0x2f70f1,'.session');if(existsSync(_0x664ef8)){cachedDeviceId=readFileSync(_0x664ef8,_0x5b7a86['PXpKO'])['trim']();if(cachedDeviceId)return cachedDeviceId;}return cachedDeviceId=_0x5b7a86[_0x58101d(0xf0)](randomUUID),mkdirSync(_0x2f70f1,{'recursive':!![]}),_0x5b7a86[_0x58101d(0x115)](writeFileSync,_0x664ef8,cachedDeviceId),cachedDeviceId;}catch{return cachedDeviceId=_0x5b7a86[_0x58101d(0xff)](randomUUID),cachedDeviceId;}}export class TelemetryCollector{[_0x1b2753(0x105)]=[];[_0x1b2753(0x111)];['command'];['commandStartTime'];['phaseCounter']=0x0;[_0x1b2753(0xf2)]=new Map();['flushing']=null;['deviceId'];['cliVersion'];['nodeVersion'];['platform'];[_0x1b2753(0x12a)];[_0x1b2753(0x109)];['featureId'];[_0x1b2753(0x11d)];[_0x1b2753(0xf4)];[_0x1b2753(0xe7)];constructor(_0x2f61be){const _0x26abbb=_0x1b2753,_0x576538={'KpBuA':function(_0x24b263){return _0x24b263();},'FjLLe':function(_0x280c5b){return _0x280c5b();}};this['commandId']=_0x576538[_0x26abbb(0xef)](randomUUID),this[_0x26abbb(0xeb)]=_0x2f61be,this['commandStartTime']=Date['now'](),this['deviceId']=_0x576538[_0x26abbb(0xef)](getDeviceId),this['cliVersion']=_0x576538[_0x26abbb(0xfc)](getCurrentVersion),this[_0x26abbb(0xe9)]=process[_0x26abbb(0x120)],this[_0x26abbb(0xe5)]=process['platform'],this[_0x26abbb(0x12a)]=process[_0x26abbb(0x11b)]['isTTY']??![],this['isCI']=!!(process[_0x26abbb(0x11e)]['CI']||process['env'][_0x26abbb(0x127)]);}['setContext'](_0xb55fc5){const _0x598fdc=_0x1b2753;if(_0xb55fc5[_0x598fdc(0x122)])this['featureId']=_0xb55fc5['featureId'];if(_0xb55fc5[_0x598fdc(0x11d)])this[_0x598fdc(0x11d)]=_0xb55fc5[_0x598fdc(0x11d)];if(_0xb55fc5[_0x598fdc(0xf4)])this[_0x598fdc(0xf4)]=_0xb55fc5['browserSessionId'];if(_0xb55fc5[_0x598fdc(0xe7)])this['transport']=_0xb55fc5[_0x598fdc(0xe7)];}async['trackCommandStart'](_0x35652b){const _0x2323b9=_0x1b2753,_0x580f2d={'GJKtP':'command_start'},_0xc7383c=this['buildEvent']({'eventType':_0x580f2d['GJKtP'],'metadata':_0x35652b});await this[_0x2323b9(0x12d)](_0xc7383c);}async[_0x1b2753(0x10a)](_0x17e4b3,_0x526195){const _0x12497b=_0x1b2753,_0x3e8148={'eeQws':function(_0x4875a4,_0x1f3602){return _0x4875a4-_0x1f3602;}},_0xc2a47c=this[_0x12497b(0x103)]({'eventType':_0x12497b(0xe0),'outcome':_0x17e4b3,'durationMs':_0x3e8148['eeQws'](Date['now'](),this[_0x12497b(0x12b)]),'metadata':_0x526195});await this['sendImmediate'](_0xc2a47c),await this['flush']();}async[_0x1b2753(0x102)](_0x5ca339,_0x387044){const _0x261d3b=_0x1b2753,_0x2c6022={'tcRbL':_0x261d3b(0x101),'cefaM':function(_0x4055c3,_0x13b25f,_0xe90eec){return _0x4055c3(_0x13b25f,_0xe90eec);},'LysSb':function(_0x1ade9a,_0x540586){return _0x1ade9a(_0x540586);},'zduvm':function(_0x4f3db0,_0x38219c){return _0x4f3db0 instanceof _0x38219c;}},_0x26b63f=this[_0x261d3b(0x103)]({'eventType':_0x2c6022['tcRbL'],'errorMessage':_0x2c6022['cefaM'](truncate,_0x5ca339 instanceof Error?_0x5ca339['message']:_0x2c6022[_0x261d3b(0xfd)](String,_0x5ca339),0x1f4),'errorType':_0x2c6022[_0x261d3b(0xee)](_0x5ca339,Error)?_0x5ca339['constructor']['name']:'Unknown','durationMs':Date[_0x261d3b(0x10b)]()-this['commandStartTime'],'metadata':_0x387044});await this[_0x261d3b(0x12d)](_0x26b63f),await this['flush']();}[_0x1b2753(0xea)](_0x570efc,_0x28fd24){const _0x125b16=_0x1b2753,_0xe15038={'XJQuw':'phase_start'};this['phaseCounter']++,this['phaseStartTimes']['set'](_0x570efc,Date[_0x125b16(0x10b)]());const _0x59293d=this['buildEvent']({'eventType':_0xe15038[_0x125b16(0x107)],'phase':_0x570efc,'phaseIndex':this[_0x125b16(0x110)],'metadata':_0x28fd24});this['buffer']['push'](_0x59293d);}[_0x1b2753(0x114)](_0x1e9791,_0x2dfd2b){const _0x48d548=_0x1b2753,_0x23e7b8={'vVEiR':function(_0x1ee8fa,_0x10cf8b){return _0x1ee8fa-_0x10cf8b;},'Fwmge':function(_0x52f7d7,_0x32c42c){return _0x52f7d7>=_0x32c42c;}},_0x25ffa6=this[_0x48d548(0xf2)]['get'](_0x1e9791),_0xb4d02f=_0x25ffa6?_0x23e7b8[_0x48d548(0x116)](Date['now'](),_0x25ffa6):undefined;this[_0x48d548(0xf2)]['delete'](_0x1e9791);const _0x48f9b6=this[_0x48d548(0x103)]({'eventType':_0x48d548(0x113),'phase':_0x1e9791,'durationMs':_0xb4d02f,'metadata':_0x2dfd2b});this['buffer'][_0x48d548(0x125)](_0x48f9b6),_0x23e7b8['Fwmge'](this[_0x48d548(0x105)]['length'],0xa)&&this[_0x48d548(0xf3)]();}async['trackPhaseError'](_0x4546dd,_0x1c9f6a,_0x603408){const _0x270406=_0x1b2753,_0x2766ea={'Plnlo':function(_0x4ac72d,_0x48abaf){return _0x4ac72d-_0x48abaf;},'sJNLY':'phase_error','tPzbZ':function(_0x25e92b,_0x54c969,_0x4c6589){return _0x25e92b(_0x54c969,_0x4c6589);},'YzgCB':function(_0x5d0712,_0x4b7b63){return _0x5d0712 instanceof _0x4b7b63;},'vdbgN':function(_0x3c35e3,_0x363c7c){return _0x3c35e3 instanceof _0x363c7c;}},_0x345bce=this['phaseStartTimes'][_0x270406(0xf6)](_0x4546dd),_0x2fb1fb=_0x345bce?_0x2766ea['Plnlo'](Date['now'](),_0x345bce):undefined;this[_0x270406(0xf2)][_0x270406(0x108)](_0x4546dd);const _0x5db9f4=this[_0x270406(0x103)]({'eventType':_0x2766ea[_0x270406(0xfe)],'phase':_0x4546dd,'durationMs':_0x2fb1fb,'errorMessage':_0x2766ea['tPzbZ'](truncate,_0x2766ea[_0x270406(0x104)](_0x1c9f6a,Error)?_0x1c9f6a['message']:String(_0x1c9f6a),0x1f4),'errorType':_0x2766ea[_0x270406(0xfb)](_0x1c9f6a,Error)?_0x1c9f6a[_0x270406(0x10f)]['name']:'Unknown','metadata':_0x603408});await this[_0x270406(0x12d)](_0x5db9f4);}async['flush'](){const _0x546b52=_0x1b2753;if(this[_0x546b52(0x105)][_0x546b52(0xf9)]===0x0)return;const _0xdfd1b7=this[_0x546b52(0x105)]['splice'](0x0);try{await this['sendBatch'](_0xdfd1b7);}catch{}}['buildEvent'](_0x1c26e2){const _0x1ca6d1=_0x1b2753;return{'eventType':_0x1c26e2[_0x1ca6d1(0x12c)],'command':this['command'],'commandId':this[_0x1ca6d1(0x111)],'deviceId':this['deviceId'],'timestamp':new Date()[_0x1ca6d1(0xe2)](),'durationMs':_0x1c26e2['durationMs'],'phase':_0x1c26e2['phase'],'phaseIndex':_0x1c26e2['phaseIndex'],'outcome':_0x1c26e2[_0x1ca6d1(0x117)],'errorMessage':_0x1c26e2['errorMessage'],'errorType':_0x1c26e2[_0x1ca6d1(0x100)],'featureId':this['featureId'],'checklistItemId':this['checklistItemId'],'browserSessionId':this[_0x1ca6d1(0xf4)],'transport':this[_0x1ca6d1(0xe7)],'evaluation':_0x1c26e2['evaluation'],'cliVersion':this['cliVersion'],'nodeVersion':this['nodeVersion'],'platform':this[_0x1ca6d1(0xe5)],'cwd':process['cwd'](),'isTty':this[_0x1ca6d1(0x12a)],'isCI':this[_0x1ca6d1(0x109)],'metadata':_0x1c26e2[_0x1ca6d1(0xf7)]};}async[_0x1b2753(0x12d)](_0x354f5e){const _0x59d4f9=_0x1b2753;try{await this[_0x59d4f9(0xfa)]([_0x354f5e]);}catch{}}['flushAsync'](){const _0x3969df=_0x1b2753;if(this[_0x3969df(0x11f)])return;this['flushing']=this[_0x3969df(0xf1)]()[_0x3969df(0xed)](()=>{const _0x1b7b0b=_0x3969df;this[_0x1b7b0b(0x11f)]=null;});}async[_0x1b2753(0xfa)](_0x9dab4e){const _0x549150=_0x1b2753,_0x27c1bf={'GYRbN':_0x549150(0x118),'VcVQi':'Authorization','cPTeT':function(_0x26867c,_0x28f5aa,_0x57b166){return _0x26867c(_0x28f5aa,_0x57b166);},'kyvnk':function(_0x3ee90a,_0x32468a){return _0x3ee90a(_0x32468a);}},_0x3f170e=await getToken()[_0x549150(0x11c)](()=>null),_0x812c02=getApiBaseUrl(),_0x14ec6f={'Content-Type':_0x27c1bf[_0x549150(0xf8)]};_0x3f170e&&(_0x14ec6f[_0x27c1bf['VcVQi']]='Bearer\x20'+_0x3f170e);const _0x369373={'events':_0x9dab4e};process[_0x549150(0x11e)][_0x549150(0x123)]&&console[_0x549150(0x130)]('[telemetry]\x20Sending\x20'+_0x9dab4e[_0x549150(0xf9)]+'\x20event(s)\x20to\x20'+_0x812c02+'/api/v1/mcp/cli-telemetry');const _0x46569d=new AbortController(),_0x2b87a4=_0x27c1bf[_0x549150(0xe3)](setTimeout,()=>_0x46569d[_0x549150(0xe6)](),0x1388);try{await fetch(_0x812c02+_0x549150(0xe1),{'method':'POST','headers':_0x14ec6f,'body':JSON[_0x549150(0x106)](_0x369373),'signal':_0x46569d[_0x549150(0x112)]});}finally{_0x27c1bf[_0x549150(0x10d)](clearTimeout,_0x2b87a4);}}}let currentCollector=null;export function createTelemetryCollector(_0x2484c6){return currentCollector=new TelemetryCollector(_0x2484c6),currentCollector;}function _0x4a73(_0xd45255,_0x252c4c){_0xd45255=_0xd45255-0xe0;const _0x51a592=_0x51a5();let _0x4a7356=_0x51a592[_0xd45255];return _0x4a7356;}export function getCurrentCollector(){return currentCollector;}export async function withTelemetry(_0x357e95,_0xe9a676,_0x3690f7){const _0xabc8bd=_0x1b2753,_0x584e36={'XuvvR':'success'},_0x4dccdb=createTelemetryCollector(_0x357e95);await _0x4dccdb['trackCommandStart'](_0x3690f7);try{const _0x580f6b=await _0xe9a676(_0x4dccdb);return await _0x4dccdb['trackCommandEnd'](_0x584e36[_0xabc8bd(0x11a)]),_0x580f6b;}catch(_0x2f9956){await _0x4dccdb[_0xabc8bd(0x102)](_0x2f9956);throw _0x2f9956;}finally{await _0x4dccdb['flush']();}}function truncate(_0x4d0584,_0x3c3731){const _0x547355=_0x1b2753,_0x4e3224={'HPrts':function(_0x7ef6a8,_0x3c81fc){return _0x7ef6a8>_0x3c81fc;},'reNDt':function(_0x3ed028,_0x2eb6d2){return _0x3ed028+_0x2eb6d2;},'nyCtq':_0x547355(0x12f)};return _0x4e3224['HPrts'](_0x4d0584[_0x547355(0xf9)],_0x3c3731)?_0x4e3224[_0x547355(0xe8)](_0x4d0584['slice'](0x0,_0x3c3731),_0x4e3224[_0x547355(0x126)]):_0x4d0584;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x22a5c4,_0x444242){const _0x164043=_0x3ed8,_0x15fb9a=_0x22a5c4();while(!![]){try{const _0x5abb5c=parseInt(_0x164043(0xf2))/0x1*(-parseInt(_0x164043(0xfc))/0x2)+parseInt(_0x164043(0x104))/0x3*(parseInt(_0x164043(0xfb))/0x4)+parseInt(_0x164043(0x101))/0x5*(parseInt(_0x164043(0xfd))/0x6)+parseInt(_0x164043(0xf1))/0x7*(parseInt(_0x164043(0x108))/0x8)+-parseInt(_0x164043(0x102))/0x9+-parseInt(_0x164043(0x107))/0xa*(-parseInt(_0x164043(0xf7))/0xb)+parseInt(_0x164043(0xfe))/0xc*(-parseInt(_0x164043(0xff))/0xd);if(_0x5abb5c===_0x444242)break;else _0x15fb9a['push'](_0x15fb9a['shift']());}catch(_0x1ceb57){_0x15fb9a['push'](_0x15fb9a['shift']());}}}(_0x6d1a,0xcd89e));import{getApiBaseUrl}from'./environment.js';import{getRefreshToken,storeToken,storeRefreshToken}from'./keychain.js';function _0x6d1a(){const _0x2f6fe7=['3MOVNJG','application/json','HOWrV','14927740TMLKdg','30704pShyUK','84usBduf','294363EgYyFO','persistRefreshToken','timeout','uDbYr','POST','11NbXBou','JxGTC','token','kJFHK','4985356auJvpY','10BRSOHf','5727372MjttxN','13656684AOeizm','13oZfKML','pxLgm','5WxQSEc','2591757EskKxK','stringify'];_0x6d1a=function(){return _0x2f6fe7;};return _0x6d1a();}export async function refreshCliToken(){const _0x818ce6=_0x3ed8,_0x3098f9={'urnHU':function(_0x49a58d){return _0x49a58d();},'JxGTC':function(_0x3c239a,_0x1bc5db){return _0x3c239a(_0x1bc5db);}},_0x27d1a1=await _0x3098f9['urnHU'](getRefreshToken);if(!_0x27d1a1)return null;const _0x135b8f=await _0x3098f9[_0x818ce6(0xf8)](tryPartnerRefresh,_0x27d1a1);if(_0x135b8f)return _0x135b8f;return _0x3098f9['JxGTC'](tryWorkosRefresh,_0x27d1a1);}export async function refreshPartnerCliToken(_0x2b162c,_0x572498={}){const _0x199f83=_0x3ed8,_0x3704b7={'HOWrV':function(_0x2a9abb,_0x12bcfd){return _0x2a9abb(_0x12bcfd);}},_0x1dbffa=await _0x3704b7[_0x199f83(0x106)](tryPartnerRefresh,_0x2b162c);return _0x1dbffa&&_0x572498[_0x199f83(0xf3)]&&await storeRefreshToken(_0x2b162c),_0x1dbffa;}async function tryPartnerRefresh(_0x35ac8c){const _0x597640=_0x3ed8,_0x36ee17={'pxLgm':_0x597640(0x105)},_0x4d9b83=getApiBaseUrl();try{const _0x3b5223=await fetch(_0x4d9b83+'/cli-auth/partner-refresh',{'method':'POST','headers':{'Content-Type':_0x36ee17[_0x597640(0x100)]},'body':JSON['stringify']({'refreshToken':_0x35ac8c}),'signal':AbortSignal['timeout'](0x2710)});if(!_0x3b5223['ok'])return null;const _0x4f0cc8=await _0x3b5223['json']();return await storeToken(_0x4f0cc8[_0x597640(0xf9)]),_0x4f0cc8[_0x597640(0xf9)];}catch{return null;}}function _0x3ed8(_0x20070c,_0x583027){_0x20070c=_0x20070c-0xf1;const _0x6d1afc=_0x6d1a();let _0x3ed853=_0x6d1afc[_0x20070c];return _0x3ed853;}async function tryWorkosRefresh(_0x2114c2){const _0x4a4a6a=_0x3ed8,_0x4d5ba6={'uDbYr':function(_0x117b0b,_0x3e45dc,_0x43e758){return _0x117b0b(_0x3e45dc,_0x43e758);},'kJFHK':function(_0x1a3006,_0x56af59){return _0x1a3006(_0x56af59);}},_0x462c44=getApiBaseUrl();try{const _0x265372=await _0x4d5ba6[_0x4a4a6a(0xf5)](fetch,_0x462c44+'/cli-auth/refresh',{'method':_0x4a4a6a(0xf6),'headers':{'Content-Type':_0x4a4a6a(0x105)},'body':JSON[_0x4a4a6a(0x103)]({'refreshToken':_0x2114c2}),'signal':AbortSignal[_0x4a4a6a(0xf4)](0x2710)});if(!_0x265372['ok'])return null;const _0x512f2a=await _0x265372['json']();return await storeToken(_0x512f2a[_0x4a4a6a(0xf9)]),await _0x4d5ba6[_0x4a4a6a(0xfa)](storeRefreshToken,_0x512f2a['refreshToken']),_0x512f2a['token'];}catch{return null;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x143ba1,_0x37bf90){const _0x319c92=_0x5f54,_0x2c55e0=_0x143ba1();while(!![]){try{const _0x411374=parseInt(_0x319c92(0xf0))/0x1*(-parseInt(_0x319c92(0x112))/0x2)+parseInt(_0x319c92(0xed))/0x3+parseInt(_0x319c92(0xf3))/0x4*(parseInt(_0x319c92(0xe8))/0x5)+-parseInt(_0x319c92(0x10f))/0x6*(-parseInt(_0x319c92(0xe1))/0x7)+parseInt(_0x319c92(0xf7))/0x8+-parseInt(_0x319c92(0xfe))/0x9+-parseInt(_0x319c92(0xfb))/0xa*(parseInt(_0x319c92(0xf4))/0xb);if(_0x411374===_0x37bf90)break;else _0x2c55e0['push'](_0x2c55e0['shift']());}catch(_0x4a5306){_0x2c55e0['push'](_0x2c55e0['shift']());}}}(_0x4770,0x6c1fa));import{readdir,readFile}from'fs/promises';import{join}from'path';export async function mapStepsToTraceSnapshots(_0x3032b6,_0x37bf93){const _0x15fede=_0x5f54,_0x53ce02={'aePMq':function(_0x48585d,_0x271b3b,_0x278ab9){return _0x48585d(_0x271b3b,_0x278ab9);},'PRshk':function(_0xb02656,_0x1359a1){return _0xb02656(_0x1359a1);},'oVvMh':'before','dIRGz':_0x15fede(0xeb),'UWvPc':function(_0x7498be,_0x2e5d33){return _0x7498be===_0x2e5d33;},'NnCZh':'frame-snapshot','vsgmN':_0x15fede(0xe9),'jHvQk':function(_0x26145b,_0x3967e2){return _0x26145b===_0x3967e2;},'tgNJQ':_0x15fede(0xe5),'iJTQB':_0x15fede(0xe2),'PhXIW':function(_0x62eae,_0x28ece6){return _0x62eae-_0x28ece6;},'LRuYS':function(_0x482305,_0x4f30ed){return _0x482305>=_0x4f30ed;},'gqLKY':function(_0x402bf3,_0x2e9d01){return _0x402bf3>=_0x2e9d01;},'YsveO':function(_0x3fa873,_0x2953c6){return _0x3fa873<_0x2953c6;},'WJuQZ':function(_0x51af58,_0x4fac92){return _0x51af58+_0x4fac92;}},_0x370e12=new Map();if(_0x37bf93[_0x15fede(0xde)]===0x0)return _0x370e12;const _0x1c2d3a=[],_0xfaf1da=async _0x4475b7=>{const _0x5d48ba=_0x15fede,_0x19ae71=await _0x53ce02['aePMq'](readdir,_0x4475b7,{'withFileTypes':!![]});for(const _0x447f70 of _0x19ae71){const _0x38774e=join(_0x4475b7,_0x447f70[_0x5d48ba(0xee)]);if(_0x447f70['isDirectory']())await _0x53ce02['PRshk'](_0xfaf1da,_0x38774e);else _0x447f70[_0x5d48ba(0xee)]['endsWith'](_0x5d48ba(0xdf))&&_0x1c2d3a[_0x5d48ba(0x111)](_0x38774e);}};await _0x53ce02[_0x15fede(0x108)](_0xfaf1da,_0x3032b6);if(_0x1c2d3a['length']===0x0)return _0x370e12;const _0x3f5c46=[];for(const _0x1f0409 of _0x1c2d3a){const _0x7e77a2=await readFile(_0x1f0409,_0x15fede(0x107)),_0x244ed5=_0x7e77a2[_0x15fede(0xf6)]('\x0a')[_0x15fede(0xe7)](_0x5f2d48=>_0x5f2d48[_0x15fede(0xdb)]());for(const _0x58ee57 of _0x244ed5){try{_0x3f5c46[_0x15fede(0x111)](JSON['parse'](_0x58ee57));}catch{}}}if(_0x3f5c46['length']===0x0)return _0x370e12;const _0x2ca755=_0x3f5c46['find'](_0x3667fc=>_0x3667fc['type']===_0x15fede(0xe6));if(!_0x2ca755)return _0x370e12;const _0xf1049d=_0x2ca755['wallTime']-_0x2ca755['monotonicTime'],_0x2ce91b=new Map();for(const _0x3c1cf0 of _0x3f5c46){switch(_0x3c1cf0[_0x15fede(0xf9)]){case _0x53ce02[_0x15fede(0xfa)]:{const _0x5d190b=_0x3c1cf0;_0x2ce91b[_0x15fede(0xf8)](_0x5d190b[_0x15fede(0xf5)],{'callId':_0x5d190b['callId'],'startTime':_0x5d190b[_0x15fede(0x106)],'endTime':0x0,'method':_0x5d190b[_0x15fede(0x104)],'apiName':_0x5d190b[_0x15fede(0x10a)],'params':_0x5d190b['params'],'pageId':_0x5d190b['pageId'],'beforeSnapshot':_0x5d190b[_0x15fede(0x10d)]});break;}case _0x53ce02[_0x15fede(0xe3)]:{const _0x358a53=_0x3c1cf0,_0x427d9e=_0x2ce91b['get'](_0x358a53['callId']);if(_0x427d9e){if(_0x358a53['inputSnapshot'])_0x427d9e['inputSnapshot']=_0x358a53[_0x15fede(0xdc)];if(_0x358a53[_0x15fede(0xfd)])_0x427d9e[_0x15fede(0xfd)]=_0x358a53['point'];}break;}case _0x15fede(0x10e):{const _0x211a93=_0x3c1cf0,_0x3792f6=_0x2ce91b[_0x15fede(0x102)](_0x211a93[_0x15fede(0xf5)]);if(_0x3792f6){_0x3792f6[_0x15fede(0x101)]=_0x211a93['endTime'];if(_0x211a93[_0x15fede(0xfc)])_0x3792f6[_0x15fede(0xfc)]=_0x211a93['afterSnapshot'];}break;}}}const _0x184fc5=Array['from'](_0x2ce91b['values']())[_0x15fede(0xe7)](_0x41913c=>_0x41913c[_0x15fede(0x101)]>0x0&&(_0x41913c[_0x15fede(0xfc)]||_0x41913c['beforeSnapshot']))[_0x15fede(0x10c)]((_0x36b990,_0x20d3d5)=>_0x36b990['startTime']-_0x20d3d5['startTime']);if(_0x53ce02['UWvPc'](_0x184fc5[_0x15fede(0xde)],0x0))return _0x370e12;const _0x191477=new Map();for(const _0x3c2373 of _0x3f5c46){if(_0x53ce02['UWvPc'](_0x3c2373[_0x15fede(0xf9)],_0x53ce02[_0x15fede(0x105)])){const _0x24b4ff=_0x3c2373[_0x15fede(0x103)];_0x24b4ff?.[_0x15fede(0x109)]&&_0x24b4ff?.[_0x15fede(0xec)]&&_0x191477[_0x15fede(0xf8)](_0x24b4ff[_0x15fede(0x109)],_0x24b4ff['frameUrl']);}}const _0x397fcc=new Map();for(const _0x4f370b of _0x184fc5){const _0xc629bc=_0x4f370b['params']?.['url'];_0x53ce02['UWvPc'](_0x4f370b['method'],'goto')&&_0x53ce02['UWvPc'](typeof _0xc629bc,_0x53ce02['vsgmN'])&&_0x4f370b[_0x15fede(0x100)]&&_0x397fcc['set'](_0x4f370b['pageId'],_0xc629bc);}for(const _0x43a69a of _0x3f5c46){const _0x573a80=_0x43a69a,_0x161ad6=_0x573a80['params'],_0x3191a0=_0x161ad6?.['url'];_0x53ce02['jHvQk'](_0x573a80['type'],_0x53ce02['tgNJQ'])&&_0x573a80[_0x15fede(0x104)]===_0x53ce02['iJTQB']&&typeof _0x3191a0===_0x15fede(0xe9)&&_0x53ce02['jHvQk'](typeof _0x573a80['pageId'],_0x15fede(0xe9))&&_0x397fcc[_0x15fede(0xf8)](_0x573a80[_0x15fede(0x100)],_0x3191a0);}for(const _0x2f3dac of _0x37bf93){const _0x1bee0b=new Date(_0x2f3dac[_0x15fede(0xff)])[_0x15fede(0xea)](),_0x5b9c4c=_0x1bee0b-_0xf1049d;let _0x3eda36=null,_0x3946a3=Infinity;for(const _0x36f0ca of _0x184fc5){const _0x5c9906=Math[_0x15fede(0xe0)](_0x53ce02['PhXIW'](_0x36f0ca[_0x15fede(0x101)],_0x5b9c4c));_0x5c9906<_0x3946a3&&(_0x3946a3=_0x5c9906,_0x3eda36=_0x36f0ca);}if(!_0x3eda36)continue;const _0x47e387=_0x3eda36['afterSnapshot']||_0x3eda36['beforeSnapshot'];if(!_0x47e387)continue;const _0x45a067=_0x3eda36[_0x15fede(0x100)]||_0x15fede(0x113);let _0x45d19b=_0x191477[_0x15fede(0x102)](_0x47e387)||_0x397fcc[_0x15fede(0x102)](_0x45a067)||'';if(!_0x45d19b)for(let _0x1bce15=_0x184fc5[_0x15fede(0xdd)](_0x3eda36);_0x53ce02['LRuYS'](_0x1bce15,0x0);_0x1bce15--){const _0x3df3dd=_0x184fc5[_0x1bce15]['params']?.[_0x15fede(0x10b)];if(_0x53ce02[_0x15fede(0xef)](_0x184fc5[_0x1bce15][_0x15fede(0x104)],_0x15fede(0xe4))&&_0x53ce02[_0x15fede(0xf2)](typeof _0x3df3dd,_0x53ce02[_0x15fede(0x110)])){_0x45d19b=_0x3df3dd;break;}}let _0x4b30dc,_0x48a4d8;const _0x3ed5f7=_0x184fc5['indexOf'](_0x3eda36);if(_0x53ce02['gqLKY'](_0x3ed5f7,0x0)&&_0x53ce02['YsveO'](_0x3ed5f7,_0x184fc5['length']-0x1)){const _0x4ebc01=_0x184fc5[_0x53ce02['WJuQZ'](_0x3ed5f7,0x1)];_0x4ebc01[_0x15fede(0xfd)]&&_0x4ebc01[_0x15fede(0xdc)]&&(_0x4b30dc=_0x4ebc01['point'],_0x48a4d8=_0x4ebc01[_0x15fede(0xdc)]);}_0x370e12['set'](_0x2f3dac[_0x15fede(0xf1)],{'snapshotName':_0x47e387,'inputSnapshotName':_0x48a4d8,'pageId':_0x45a067,'pageUrl':_0x45d19b,'callId':_0x3eda36['callId'],'point':_0x4b30dc});}return _0x370e12;}function _0x5f54(_0x1bdebc,_0x2770da){_0x1bdebc=_0x1bdebc-0xdb;const _0x47706e=_0x4770();let _0x5f5416=_0x47706e[_0x1bdebc];return _0x5f5416;}function _0x4770(){const _0x432aa0=['indexOf','length','.trace','abs','111055nriVjs','navigated','dIRGz','goto','event','context-options','filter','31310osZdBs','string','getTime','input','frameUrl','2141952HjUbuf','name','jHvQk','1Inkacd','stepId','UWvPc','508xYrKQJ','21801747KaBTqR','callId','split','5557448uRxojv','set','type','oVvMh','10PpyulK','afterSnapshot','point','2469195lUgsFh','capturedAt','pageId','endTime','get','snapshot','method','NnCZh','startTime','utf-8','PRshk','snapshotName','apiName','url','sort','beforeSnapshot','after','246tVnBTx','vsgmN','push','310396oRfOGI','page@0','trim','inputSnapshot'];_0x4770=function(){return _0x432aa0;};return _0x4770();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x481855,_0x133180){const _0x1cb821=_0x1438,_0x2e4686=_0x481855();while(!![]){try{const _0x194445=parseInt(_0x1cb821(0xb3))/0x1+parseInt(_0x1cb821(0x8a))/0x2+parseInt(_0x1cb821(0xa6))/0x3*(parseInt(_0x1cb821(0x89))/0x4)+-parseInt(_0x1cb821(0xad))/0x5+-parseInt(_0x1cb821(0xa5))/0x6+-parseInt(_0x1cb821(0xa8))/0x7+-parseInt(_0x1cb821(0xb2))/0x8*(parseInt(_0x1cb821(0xb8))/0x9);if(_0x194445===_0x133180)break;else _0x2e4686['push'](_0x2e4686['shift']());}catch(_0x348734){_0x2e4686['push'](_0x2e4686['shift']());}}}(_0xbc06,0x22bef));import{chromium}from'playwright';function _0x1438(_0x3e3916,_0xef96fc){_0x3e3916=_0x3e3916-0x7d;const _0xbc06ce=_0xbc06();let _0x1438f2=_0xbc06ce[_0x3e3916];return _0x1438f2;}import _0x3a14b6 from'ws';export async function launchBrowserServer(_0x408a38={}){const {headless:headless=!![]}=_0x408a38,_0x203d69=await chromium['launchServer']({'headless':headless});return{'wsEndpoint':_0x203d69['wsEndpoint'](),'close':async()=>{const _0x347f52=_0x1438;await _0x203d69[_0x347f52(0x8e)]();}};}function _0xbc06(){const _0x3c3c48=['510694CsCbiA','now','OCwgZ','ulCRi','close','\x20reason=','EewUU','gGEwW','delete','number','catch','finally','size','AuDgH','set','EFhgn','qoahT','stringify','plaeh','connectionId','test_results','get','local\x20browser\x20websocket\x20closed\x20unexpectedly\x20(code=','pw_connection_open','RqRVQ','has','parse','33234HwguTC','91344PgqRoZ','type','351666akSxXb','pw_connection_error','clear','hTxma','OPEN','1394040aLvMpn','toString','split','iyfKu','DLrtk','223264acKdpP','155581BPIsNX','pong','pw_connection_close','VJFcH','status_update','18mjdRyw','local_ws_open','data','code','LnMvk','rPmEx','readyState','OxsCy','message','error','then','send','client_ready','VgxfI','16JmnjwE'];_0xbc06=function(){return _0x3c3c48;};return _0xbc06();}export async function createTunnelBridge(_0x2c2f9c){const _0x27661f=_0x1438,_0x433aaf={'hTxma':function(_0x2aefc2,_0x8d45d5){return _0x2aefc2?.(_0x8d45d5);},'BCNyq':'local_ws_error','plaeh':function(_0x3f26e7,_0x36702f){return _0x3f26e7(_0x36702f);},'EewUU':function(_0xd1d596,_0x24b4d1){return _0xd1d596-_0x24b4d1;},'hoYNV':_0x27661f(0xa9),'gGEwW':'open','EFhgn':function(_0x44f7b7,_0x2557ae){return _0x44f7b7===_0x2557ae;},'AuDgH':function(_0x4dd3b4,_0x1ec24a){return _0x4dd3b4===_0x1ec24a;},'Bwzpb':_0x27661f(0xb4),'OCwgZ':_0x27661f(0xb7),'iyfKu':_0x27661f(0x9e),'QjIvx':'pw_connection_open','OkWHq':_0x27661f(0x93),'LnMvk':'string','qoahT':'tunnel_close','DLrtk':function(_0x10dda0,_0x27e614){return _0x10dda0?.(_0x27e614);},'uezyB':function(_0x377647,_0x42ef52){return _0x377647-_0x42ef52;},'pcsfa':_0x27661f(0x87)},{localWsUrl:_0x549f7a,tunnelServerUrl:_0x13090b,sessionId:_0x4eb8b2,apiKey:_0x50b07c,onClose:_0x1a090d,onError:_0x5ca185,onEvent:_0x42b004,onMessage:_0x1cecb3}=_0x2c2f9c;let _0x176900=![],_0x2c8faf=null;const _0x21eb97=Date['now'](),_0x1b86ae=new Map(),_0x16c00d=new Map(),_0x55d894=new Map(),_0x5dd8b0=new Set(),_0x5965fa=new Set();function _0x2915f2(_0x5c4605){const _0x321a31=_0x27661f;try{_0x433aaf[_0x321a31(0xab)](_0x42b004,{'sessionId':_0x4eb8b2,'activeLocalConnections':_0x1b86ae[_0x321a31(0x96)],'pendingLocalConnections':_0x16c00d['size'],..._0x5c4605});}catch{}}function _0x2413ad(_0x56bc3f,_0x3ea97f){const _0x6d8f56=_0x27661f;if(_0x176900||_0x5965fa[_0x6d8f56(0xa3)](_0x56bc3f))return;_0x5965fa['add'](_0x56bc3f),_0x1b86ae[_0x6d8f56(0x92)](_0x56bc3f),_0x16c00d[_0x6d8f56(0x92)](_0x56bc3f);const _0x197421=_0x55d894[_0x6d8f56(0x9f)](_0x56bc3f);_0x55d894['delete'](_0x56bc3f);const _0x218016='Local\x20Playwright\x20browser\x20connection\x20failed\x20for\x20tunnel\x20'+_0x4eb8b2+':\x20'+_0x3ea97f['message'];_0x2915f2({'type':_0x433aaf['BCNyq'],'connectionId':_0x56bc3f,'error':_0x3ea97f['message'],'elapsedMs':_0x197421?Date['now']()-_0x197421:undefined}),_0x5ca185?.(new Error(_0x218016)),_0x2c8faf?.[_0x6d8f56(0x81)]===_0x3a14b6[_0x6d8f56(0xac)]&&(_0x433aaf['plaeh'](_0x2915f2,{'type':'pw_connection_error_reported','connectionId':_0x56bc3f,'error':_0x218016,'elapsedMs':_0x197421?_0x433aaf[_0x6d8f56(0x90)](Date[_0x6d8f56(0x8b)](),_0x197421):undefined}),_0x2c8faf['send'](JSON[_0x6d8f56(0x9b)]({'type':_0x433aaf['hoYNV'],'connectionId':_0x56bc3f,'error':_0x218016})));}function _0x3a3182(_0x284935){const _0x2d62b4=_0x27661f,_0x5bbc73={'ulCRi':function(_0x34ee86,_0x49eb01,_0x2190b0){return _0x34ee86(_0x49eb01,_0x2190b0);},'VJFcH':function(_0x5256e3,_0x41f1b9){const _0x397db4=_0x1438;return _0x433aaf[_0x397db4(0x9c)](_0x5256e3,_0x41f1b9);},'uouBe':_0x433aaf[_0x2d62b4(0x91)],'mvVHf':_0x2d62b4(0x84)},_0x265881=_0x1b86ae['get'](_0x284935);if(_0x265881&&_0x433aaf[_0x2d62b4(0x99)](_0x265881[_0x2d62b4(0x81)],_0x3a14b6[_0x2d62b4(0xac)]))return Promise['resolve'](_0x265881);const _0x2c1d5b=_0x16c00d[_0x2d62b4(0x9f)](_0x284935);if(_0x2c1d5b)return _0x2c1d5b;const _0x11ed38=new Promise((_0x422662,_0x249b21)=>{const _0x37922b=_0x2d62b4,_0x2bfc7c={'eseVS':function(_0x260c17,_0x10d5be){return _0x260c17!==_0x10d5be;},'rPmEx':function(_0xdb8e83,_0x398672){return _0xdb8e83(_0x398672);},'gOlwh':function(_0x1f49a2,_0x449455){return _0x1f49a2||_0x449455;},'RqRVQ':function(_0x154c1f,_0xacbf15,_0x58e0df){return _0x154c1f(_0xacbf15,_0x58e0df);},'PgIpH':function(_0x5a881d,_0x4948e3,_0x5db23a){const _0x36a0b7=_0x1438;return _0x5bbc73[_0x36a0b7(0x8d)](_0x5a881d,_0x4948e3,_0x5db23a);},'OxsCy':'message','VgxfI':function(_0x5a1e6c,_0x119077){const _0x218c4f=_0x1438;return _0x5bbc73[_0x218c4f(0xb6)](_0x5a1e6c,_0x119077);}};_0x55d894[_0x37922b(0x98)](_0x284935,Date[_0x37922b(0x8b)]());const _0x40b493=new _0x3a14b6(_0x549f7a);_0x40b493['on'](_0x5bbc73['uouBe'],()=>{const _0xf9b7cc=_0x37922b;_0x16c00d['delete'](_0x284935),_0x1b86ae['set'](_0x284935,_0x40b493),_0x2915f2({'type':_0xf9b7cc(0xb9),'connectionId':_0x284935,'elapsedMs':Date['now']()-(_0x55d894[_0xf9b7cc(0x9f)](_0x284935)??Date[_0xf9b7cc(0x8b)]())}),_0x40b493['on'](_0x2bfc7c[_0xf9b7cc(0x82)],_0x2ca024=>{const _0x342eb5=_0xf9b7cc;if(_0x176900||!_0x2c8faf||_0x2bfc7c['eseVS'](_0x2c8faf['readyState'],_0x3a14b6[_0x342eb5(0xac)]))return;_0x2c8faf[_0x342eb5(0x86)](JSON['stringify']({'connectionId':_0x284935,'data':_0x2ca024[_0x342eb5(0xae)]()}));}),_0x40b493['on']('close',(_0x3a7da3,_0x5b519b)=>{const _0x44be1b=_0xf9b7cc;_0x1b86ae[_0x44be1b(0x92)](_0x284935);const _0xc86aaf=_0x55d894[_0x44be1b(0x9f)](_0x284935);_0x55d894['delete'](_0x284935);const _0x1d73e8=_0x5b519b['toString']();_0x2bfc7c[_0x44be1b(0x80)](_0x2915f2,{'type':'local_ws_close','connectionId':_0x284935,'code':_0x3a7da3,'reason':_0x2bfc7c['gOlwh'](_0x1d73e8,undefined),'elapsedMs':_0xc86aaf?Date[_0x44be1b(0x8b)]()-_0xc86aaf:undefined});if(_0x5dd8b0['delete'](_0x284935)||_0x176900)return;_0x2bfc7c[_0x44be1b(0xa2)](_0x2413ad,_0x284935,new Error(_0x44be1b(0xa0)+_0x3a7da3+(_0x1d73e8?_0x44be1b(0x8f)+_0x1d73e8:'')+')'));}),_0x40b493['on'](_0xf9b7cc(0x84),_0x55cd4a=>{const _0x650db8=_0xf9b7cc;_0x1b86ae[_0x650db8(0x92)](_0x284935),_0x2bfc7c['PgIpH'](_0x2413ad,_0x284935,_0x55cd4a);}),_0x2bfc7c[_0xf9b7cc(0x88)](_0x422662,_0x40b493);}),_0x40b493['on'](_0x5bbc73['mvVHf'],_0x407e0d=>{const _0x49c63f=_0x37922b;_0x16c00d['delete'](_0x284935),_0x5bbc73[_0x49c63f(0x8d)](_0x2413ad,_0x284935,_0x407e0d),_0x249b21(_0x407e0d);});});return _0x16c00d['set'](_0x284935,_0x11ed38),void _0x11ed38['catch'](()=>undefined)[_0x2d62b4(0x95)](()=>_0x16c00d[_0x2d62b4(0x92)](_0x284935)),_0x11ed38;}return _0x2c8faf=new _0x3a14b6(_0x13090b,{'headers':{'Authorization':'Bearer\x20'+_0x50b07c}}),await new Promise((_0x376ebf,_0x55dda9)=>{const _0x42d780=_0x27661f;_0x2c8faf['on'](_0x433aaf[_0x42d780(0x91)],_0x376ebf),_0x2c8faf['on']('error',_0x55dda9);}),_0x2915f2({'type':'tunnel_open','elapsedMs':_0x433aaf['uezyB'](Date[_0x27661f(0x8b)](),_0x21eb97)}),_0x2c8faf['send'](JSON[_0x27661f(0x9b)]({'type':_0x433aaf['pcsfa'],'sessionId':_0x4eb8b2})),_0x2c8faf['on'](_0x27661f(0x83),(_0x106424,_0x42fabc)=>{const _0x90985f=_0x27661f;if(_0x176900||_0x42fabc)return;try{const _0x4e202b=JSON[_0x90985f(0xa4)](_0x106424[_0x90985f(0xae)]());if(_0x4e202b[_0x90985f(0xa7)]==='ping'){_0x2c8faf?.['send'](JSON['stringify']({'type':_0x433aaf['Bwzpb']}));return;}if(_0x4e202b[_0x90985f(0xa7)]===_0x433aaf[_0x90985f(0x8c)]||_0x4e202b['type']===_0x433aaf[_0x90985f(0xb0)]||_0x4e202b[_0x90985f(0xa7)]==='test_run_created'){_0x433aaf[_0x90985f(0xab)](_0x1cecb3,_0x106424[_0x90985f(0xae)]());return;}if(_0x4e202b['type']===_0x90985f(0xa1)&&_0x4e202b['connectionId']){_0x2915f2({'type':_0x433aaf['QjIvx'],'connectionId':_0x4e202b['connectionId']}),void _0x3a3182(_0x4e202b['connectionId'])['catch'](()=>undefined);return;}if(_0x433aaf[_0x90985f(0x97)](_0x4e202b['type'],'pw_connection_close')&&_0x4e202b[_0x90985f(0x9d)]){_0x2915f2({'type':_0x90985f(0xb5),'connectionId':_0x4e202b['connectionId'],'code':typeof _0x4e202b[_0x90985f(0x7e)]===_0x433aaf['OkWHq']?_0x4e202b[_0x90985f(0x7e)]:undefined,'reason':_0x433aaf['EFhgn'](typeof _0x4e202b['reason'],_0x433aaf[_0x90985f(0x7f)])?_0x4e202b['reason']:undefined,'elapsedMs':typeof _0x4e202b['ageMs']===_0x90985f(0x93)?_0x4e202b['ageMs']:undefined});const _0x4b47f2=_0x1b86ae['get'](_0x4e202b['connectionId']);_0x4b47f2&&(_0x5dd8b0['add'](_0x4e202b['connectionId']),_0x4b47f2['close'](),_0x1b86ae['delete'](_0x4e202b['connectionId']));_0x16c00d[_0x90985f(0x92)](_0x4e202b[_0x90985f(0x9d)]);return;}_0x4e202b[_0x90985f(0x9d)]&&_0x4e202b[_0x90985f(0x7d)]!==undefined&&_0x3a3182(_0x4e202b['connectionId'])[_0x90985f(0x85)](_0x4daf50=>{_0x433aaf['AuDgH'](_0x4daf50['readyState'],_0x3a14b6['OPEN'])&&_0x4daf50['send'](_0x4e202b['data']);})[_0x90985f(0x94)](()=>undefined);}catch{}}),_0x2c8faf['on'](_0x27661f(0x8e),(_0x5e0e6f,_0x51d1c9)=>{const _0xcef6f3=_0x27661f;!_0x176900&&(_0x176900=!![],_0x2915f2({'type':_0x433aaf[_0xcef6f3(0x9a)],'code':_0x5e0e6f,'reason':_0x51d1c9[_0xcef6f3(0xae)]()||undefined,'elapsedMs':Date['now']()-_0x21eb97}),_0x1b86ae['forEach'](_0x1e78a3=>_0x1e78a3['close']()),_0x1b86ae[_0xcef6f3(0xaa)](),_0x16c00d['clear'](),_0x55d894[_0xcef6f3(0xaa)](),_0x5dd8b0[_0xcef6f3(0xaa)](),_0x1a090d?.());}),_0x2c8faf['on'](_0x27661f(0x84),_0x260432=>{const _0x43a776=_0x27661f;!_0x176900&&(_0x433aaf[_0x43a776(0xab)](_0x2915f2,{'type':'tunnel_error','error':_0x260432[_0x43a776(0x83)],'elapsedMs':Date[_0x43a776(0x8b)]()-_0x21eb97}),_0x433aaf[_0x43a776(0xb1)](_0x5ca185,_0x260432));}),{'close':()=>{const _0x12d7fa=_0x27661f;if(!_0x176900){const _0x50ef54='6|0|4|3|2|5|1'[_0x12d7fa(0xaf)]('|');let _0x3557e7=0x0;while(!![]){switch(_0x50ef54[_0x3557e7++]){case'0':_0x1b86ae['forEach'](_0x4cfa45=>_0x4cfa45['close']());continue;case'1':_0x2c8faf?.['close']();continue;case'2':_0x55d894['clear']();continue;case'3':_0x16c00d['clear']();continue;case'4':_0x1b86ae[_0x12d7fa(0xaa)]();continue;case'5':_0x5dd8b0['clear']();continue;case'6':_0x176900=!![];continue;}break;}}},'isConnected':()=>!_0x176900&&_0x2c8faf?.['readyState']===_0x3a14b6[_0x27661f(0xac)]};}
|
|
1
|
+
(function(_0x15f805,_0x55b2fd){const _0xf9a7db=_0x5046,_0x1acad1=_0x15f805();while(!![]){try{const _0xda02f7=-parseInt(_0xf9a7db(0x1da))/0x1+parseInt(_0xf9a7db(0x1a3))/0x2*(parseInt(_0xf9a7db(0x1d5))/0x3)+parseInt(_0xf9a7db(0x1af))/0x4+parseInt(_0xf9a7db(0x19e))/0x5+-parseInt(_0xf9a7db(0x1c0))/0x6*(parseInt(_0xf9a7db(0x1a8))/0x7)+parseInt(_0xf9a7db(0x1cb))/0x8+-parseInt(_0xf9a7db(0x1b0))/0x9*(parseInt(_0xf9a7db(0x1ca))/0xa);if(_0xda02f7===_0x55b2fd)break;else _0x1acad1['push'](_0x1acad1['shift']());}catch(_0x92b673){_0x1acad1['push'](_0x1acad1['shift']());}}}(_0x50d2,0x6d959));function _0x50d2(){const _0x25a4d2=['FPmZO','2|6|1|3|0|5|4','pw_connection_close','Bearer\x20','Xxhfm','Ldivy','1126864khovAO','1744227CoTrVu','pfkQZ','status_update','reason','now','local\x20browser\x20websocket\x20closed\x20unexpectedly\x20(code=','test_run_created','OPEN','split','string','test_results','forEach','set','then','ageMs','readyState','396BllTMP','lXMAM','ping','oEIrZ','message','data','open','pw_connection_error','NPiPQ','clear','30HLLvrx','3766880ZOhLFR','AEgRZ','add','SMZbt','ssFZu','send','tunnel_open','\x20reason=','close','jKqRV','78AMHKnw','tunnel_error','leKpg','get','catch','723549nBYVYO','parse','xmDKa','tLmxK','connectionId','Local\x20Playwright\x20browser\x20connection\x20failed\x20for\x20tunnel\x20','stringify','jRGqd','size','delete','3704595pZSqAs','resolve','ALszO','code','local_ws_error','67306ZzGjdq','5|3|1|6|4|2|0|7','JatYi','type','toString','65191meKWje'];_0x50d2=function(){return _0x25a4d2;};return _0x50d2();}import{chromium}from'playwright';function _0x5046(_0x538e9c,_0x159d54){_0x538e9c=_0x538e9c-0x19d;const _0x50d2cc=_0x50d2();let _0x504630=_0x50d2cc[_0x538e9c];return _0x504630;}import _0xbfcff0 from'ws';export async function launchBrowserServer(_0x18fafb={}){const {headless:headless=!![]}=_0x18fafb,_0x5be937=await chromium['launchServer']({'headless':headless});return{'wsEndpoint':_0x5be937['wsEndpoint'](),'close':async()=>{await _0x5be937['close']();}};}export async function createTunnelBridge(_0x18cced){const _0x3537b3=_0x5046,_0x4e92cc={'CgSHD':_0x3537b3(0x1a2),'jCKcO':function(_0x488dfc,_0x44f49c){return _0x488dfc-_0x44f49c;},'pfkQZ':function(_0x1c90b3,_0x34d061){return _0x1c90b3===_0x34d061;},'leKpg':_0x3537b3(0x1c7),'QIaAf':function(_0x225638,_0x23e3ac){return _0x225638||_0x23e3ac;},'vaJhD':'local_ws_close','YAwzT':'local_ws_open','AjpTp':_0x3537b3(0x1c6),'FPmZO':'error','oCard':function(_0x5e5ea2,_0x282aa2){return _0x5e5ea2===_0x282aa2;},'URWrE':function(_0x21ca88,_0x5876e4){return _0x21ca88||_0x5876e4;},'xmDKa':function(_0x5e37b2,_0x4267a2){return _0x5e37b2===_0x4267a2;},'brRFh':_0x3537b3(0x1c2),'ZSQiX':_0x3537b3(0x1b6),'NubpO':function(_0x565527,_0x5279bb){return _0x565527?.(_0x5279bb);},'JzkOB':'pw_connection_open','NPiPQ':function(_0x56ca5b,_0x3cd56f){return _0x56ca5b(_0x3cd56f);},'TwIcL':'pw_connection_close','Xxhfm':function(_0x2b3ccd,_0x3373bc){return _0x2b3ccd===_0x3373bc;},'tLmxK':'number','uBDmH':function(_0x438d77,_0xc4ca6d){return _0x438d77===_0xc4ca6d;},'Ldivy':function(_0x8bf237){return _0x8bf237?.();},'SMZbt':function(_0xe0dfb1,_0x9ccc79){return _0xe0dfb1-_0x9ccc79;},'ZbzLD':function(_0x127ea2,_0x4c7c62){return _0x127ea2(_0x4c7c62);},'AEgRZ':_0x3537b3(0x1d1),'ALszO':'client_ready','JatYi':'close'},{localWsUrl:_0x5c2f69,tunnelServerUrl:_0x36d670,sessionId:_0x4b7bf4,apiKey:_0x1043bf,onClose:_0x134c55,onError:_0xb09a96,onEvent:_0x1198d6,onMessage:_0x4bd266}=_0x18cced;let _0xfe7c07=![],_0x5c3cfd=null;const _0x58dbdc=Date['now'](),_0x51decd=new Map(),_0x1fc448=new Map(),_0x3e4f3e=new Map(),_0x7b603d=new Set(),_0x36c724=new Set();function _0x82f3b8(_0xca6545){const _0x13006c=_0x3537b3;try{_0x1198d6?.({'sessionId':_0x4b7bf4,'activeLocalConnections':_0x51decd['size'],'pendingLocalConnections':_0x1fc448[_0x13006c(0x1e2)],..._0xca6545});}catch{}}function _0x15f01c(_0x1097cb,_0x4bd44f){const _0x117bd8=_0x3537b3;if(_0xfe7c07||_0x36c724['has'](_0x1097cb))return;_0x36c724[_0x117bd8(0x1cd)](_0x1097cb),_0x51decd[_0x117bd8(0x19d)](_0x1097cb),_0x1fc448['delete'](_0x1097cb);const _0x950f84=_0x3e4f3e['get'](_0x1097cb);_0x3e4f3e['delete'](_0x1097cb);const _0x32c30e=_0x117bd8(0x1df)+_0x4b7bf4+':\x20'+_0x4bd44f[_0x117bd8(0x1c4)];_0x82f3b8({'type':_0x4e92cc['CgSHD'],'connectionId':_0x1097cb,'error':_0x4bd44f[_0x117bd8(0x1c4)],'elapsedMs':_0x950f84?_0x4e92cc['jCKcO'](Date['now'](),_0x950f84):undefined}),_0xb09a96?.(new Error(_0x32c30e)),_0x4e92cc['pfkQZ'](_0x5c3cfd?.['readyState'],_0xbfcff0['OPEN'])&&(_0x82f3b8({'type':'pw_connection_error_reported','connectionId':_0x1097cb,'error':_0x32c30e,'elapsedMs':_0x950f84?_0x4e92cc['jCKcO'](Date['now'](),_0x950f84):undefined}),_0x5c3cfd[_0x117bd8(0x1d0)](JSON[_0x117bd8(0x1e0)]({'type':_0x4e92cc[_0x117bd8(0x1d7)],'connectionId':_0x1097cb,'error':_0x32c30e})));}function _0x5930e3(_0x50af6b){const _0x491a88=_0x3537b3,_0x152c51={'oEIrZ':function(_0xe15666,_0xfbe9f2,_0xdff749){return _0xe15666(_0xfbe9f2,_0xdff749);}},_0x3e54be=_0x51decd['get'](_0x50af6b);if(_0x3e54be&&_0x4e92cc[_0x491a88(0x1b1)](_0x3e54be[_0x491a88(0x1bf)],_0xbfcff0[_0x491a88(0x1b7)]))return Promise[_0x491a88(0x19f)](_0x3e54be);const _0x3a8860=_0x1fc448[_0x491a88(0x1d8)](_0x50af6b);if(_0x3a8860)return _0x3a8860;const _0x723086=new Promise((_0x16e778,_0x2bba36)=>{const _0x2c5cea=_0x491a88,_0x408e41={'lXMAM':function(_0x34e0cf,_0x20aa49){return _0x4e92cc['QIaAf'](_0x34e0cf,_0x20aa49);},'UTIDw':function(_0xde56ef,_0x725317){return _0xde56ef(_0x725317);},'ZIVci':_0x4e92cc['vaJhD'],'jKqRV':function(_0x5a1b6c,_0xeaa492){return _0x5a1b6c-_0xeaa492;},'ssFZu':function(_0x5c3521,_0x1569f1,_0x4cf96f){return _0x5c3521(_0x1569f1,_0x4cf96f);},'QaiJx':_0x4e92cc['YAwzT']};_0x3e4f3e[_0x2c5cea(0x1bc)](_0x50af6b,Date[_0x2c5cea(0x1b4)]());const _0xe94a38=new _0xbfcff0(_0x5c2f69);_0xe94a38['on'](_0x4e92cc['AjpTp'],()=>{const _0x3abd37=_0x2c5cea;_0x1fc448['delete'](_0x50af6b),_0x51decd[_0x3abd37(0x1bc)](_0x50af6b,_0xe94a38),_0x82f3b8({'type':_0x408e41['QaiJx'],'connectionId':_0x50af6b,'elapsedMs':_0x408e41[_0x3abd37(0x1d4)](Date[_0x3abd37(0x1b4)](),_0x3e4f3e['get'](_0x50af6b)??Date['now']())}),_0xe94a38['on']('message',_0x368f8=>{const _0x3991db=_0x3abd37;if(_0x408e41[_0x3991db(0x1c1)](_0xfe7c07,!_0x5c3cfd)||_0x5c3cfd['readyState']!==_0xbfcff0[_0x3991db(0x1b7)])return;_0x5c3cfd['send'](JSON['stringify']({'connectionId':_0x50af6b,'data':_0x368f8['toString']()}));}),_0xe94a38['on']('close',(_0x32b726,_0x4fa9e5)=>{const _0x13d101=_0x3abd37;_0x51decd[_0x13d101(0x19d)](_0x50af6b);const _0x11f935=_0x3e4f3e['get'](_0x50af6b);_0x3e4f3e['delete'](_0x50af6b);const _0x1ff4bf=_0x4fa9e5['toString']();_0x408e41['UTIDw'](_0x82f3b8,{'type':_0x408e41['ZIVci'],'connectionId':_0x50af6b,'code':_0x32b726,'reason':_0x408e41[_0x13d101(0x1c1)](_0x1ff4bf,undefined),'elapsedMs':_0x11f935?_0x408e41[_0x13d101(0x1d4)](Date[_0x13d101(0x1b4)](),_0x11f935):undefined});if(_0x7b603d['delete'](_0x50af6b)||_0xfe7c07)return;_0x408e41[_0x13d101(0x1cf)](_0x15f01c,_0x50af6b,new Error(_0x13d101(0x1b5)+_0x32b726+(_0x1ff4bf?_0x13d101(0x1d2)+_0x1ff4bf:'')+')'));}),_0xe94a38['on']('error',_0x598bf5=>{_0x51decd['delete'](_0x50af6b),_0x15f01c(_0x50af6b,_0x598bf5);}),_0x16e778(_0xe94a38);}),_0xe94a38['on'](_0x4e92cc['FPmZO'],_0x49d01c=>{const _0x2788bd=_0x2c5cea;_0x1fc448[_0x2788bd(0x19d)](_0x50af6b),_0x152c51[_0x2788bd(0x1c3)](_0x15f01c,_0x50af6b,_0x49d01c),_0x2bba36(_0x49d01c);});});return _0x1fc448['set'](_0x50af6b,_0x723086),void _0x723086['catch'](()=>undefined)['finally'](()=>_0x1fc448['delete'](_0x50af6b)),_0x723086;}return _0x5c3cfd=new _0xbfcff0(_0x36d670,{'headers':{'Authorization':_0x3537b3(0x1ac)+_0x1043bf}}),await new Promise((_0xba2cc0,_0x3aee04)=>{_0x5c3cfd['on']('open',_0xba2cc0),_0x5c3cfd['on'](_0x4e92cc['FPmZO'],_0x3aee04);}),_0x4e92cc['ZbzLD'](_0x82f3b8,{'type':_0x4e92cc[_0x3537b3(0x1cc)],'elapsedMs':_0x4e92cc['jCKcO'](Date[_0x3537b3(0x1b4)](),_0x58dbdc)}),_0x5c3cfd['send'](JSON['stringify']({'type':_0x4e92cc[_0x3537b3(0x1a0)],'sessionId':_0x4b7bf4})),_0x5c3cfd['on']('message',(_0x39a883,_0x54086f)=>{const _0xd01bb7=_0x3537b3,_0xf09f3f={'jRGqd':function(_0x268075,_0x2e0804){return _0x4e92cc['oCard'](_0x268075,_0x2e0804);}};if(_0x4e92cc['URWrE'](_0xfe7c07,_0x54086f))return;try{const _0x24244d=JSON[_0xd01bb7(0x1db)](_0x39a883['toString']());if(_0x4e92cc[_0xd01bb7(0x1dc)](_0x24244d[_0xd01bb7(0x1a6)],_0x4e92cc['brRFh'])){_0x5c3cfd?.[_0xd01bb7(0x1d0)](JSON['stringify']({'type':'pong'}));return;}if(_0x24244d['type']===_0xd01bb7(0x1b2)||_0x24244d[_0xd01bb7(0x1a6)]===_0xd01bb7(0x1ba)||_0x4e92cc['xmDKa'](_0x24244d[_0xd01bb7(0x1a6)],_0x4e92cc['ZSQiX'])){_0x4e92cc['NubpO'](_0x4bd266,_0x39a883['toString']());return;}if(_0x24244d['type']===_0x4e92cc['JzkOB']&&_0x24244d[_0xd01bb7(0x1de)]){_0x4e92cc['NPiPQ'](_0x82f3b8,{'type':_0x4e92cc['JzkOB'],'connectionId':_0x24244d[_0xd01bb7(0x1de)]}),void _0x4e92cc[_0xd01bb7(0x1c8)](_0x5930e3,_0x24244d[_0xd01bb7(0x1de)])['catch'](()=>undefined);return;}if(_0x4e92cc[_0xd01bb7(0x1dc)](_0x24244d[_0xd01bb7(0x1a6)],_0x4e92cc['TwIcL'])&&_0x24244d['connectionId']){_0x4e92cc['NPiPQ'](_0x82f3b8,{'type':_0xd01bb7(0x1ab),'connectionId':_0x24244d[_0xd01bb7(0x1de)],'code':_0x4e92cc[_0xd01bb7(0x1ad)](typeof _0x24244d[_0xd01bb7(0x1a1)],_0x4e92cc['tLmxK'])?_0x24244d[_0xd01bb7(0x1a1)]:undefined,'reason':typeof _0x24244d['reason']===_0xd01bb7(0x1b9)?_0x24244d[_0xd01bb7(0x1b3)]:undefined,'elapsedMs':_0x4e92cc['uBDmH'](typeof _0x24244d[_0xd01bb7(0x1be)],_0x4e92cc[_0xd01bb7(0x1dd)])?_0x24244d[_0xd01bb7(0x1be)]:undefined});const _0x532681=_0x51decd[_0xd01bb7(0x1d8)](_0x24244d[_0xd01bb7(0x1de)]);_0x532681&&(_0x7b603d['add'](_0x24244d['connectionId']),_0x532681['close'](),_0x51decd['delete'](_0x24244d['connectionId']));_0x1fc448['delete'](_0x24244d[_0xd01bb7(0x1de)]);return;}_0x24244d['connectionId']&&_0x24244d['data']!==undefined&&_0x5930e3(_0x24244d[_0xd01bb7(0x1de)])[_0xd01bb7(0x1bd)](_0x5e292b=>{const _0xd92e78=_0xd01bb7;_0xf09f3f[_0xd92e78(0x1e1)](_0x5e292b[_0xd92e78(0x1bf)],_0xbfcff0[_0xd92e78(0x1b7)])&&_0x5e292b[_0xd92e78(0x1d0)](_0x24244d[_0xd92e78(0x1c5)]);})[_0xd01bb7(0x1d9)](()=>undefined);}catch{}}),_0x5c3cfd['on'](_0x4e92cc[_0x3537b3(0x1a5)],(_0xb1072e,_0x4fae15)=>{const _0x49dd7f=_0x3537b3;if(!_0xfe7c07){const _0x1604d2=_0x49dd7f(0x1a4)[_0x49dd7f(0x1b8)]('|');let _0x244b83=0x0;while(!![]){switch(_0x1604d2[_0x244b83++]){case'0':_0x7b603d[_0x49dd7f(0x1c9)]();continue;case'1':_0x51decd['forEach'](_0x58e554=>_0x58e554[_0x49dd7f(0x1d3)]());continue;case'2':_0x3e4f3e['clear']();continue;case'3':_0x82f3b8({'type':'tunnel_close','code':_0xb1072e,'reason':_0x4fae15[_0x49dd7f(0x1a7)]()||undefined,'elapsedMs':Date['now']()-_0x58dbdc});continue;case'4':_0x1fc448['clear']();continue;case'5':_0xfe7c07=!![];continue;case'6':_0x51decd['clear']();continue;case'7':_0x4e92cc[_0x49dd7f(0x1ae)](_0x134c55);continue;}break;}}}),_0x5c3cfd['on'](_0x4e92cc[_0x3537b3(0x1a9)],_0x2e61d0=>{const _0x2f3f67=_0x3537b3;!_0xfe7c07&&(_0x82f3b8({'type':_0x2f3f67(0x1d6),'error':_0x2e61d0['message'],'elapsedMs':_0x4e92cc[_0x2f3f67(0x1ce)](Date['now'](),_0x58dbdc)}),_0x4e92cc[_0x2f3f67(0x1c8)](_0xb09a96,_0x2e61d0));}),{'close':()=>{const _0x1b0c37=_0x3537b3;if(!_0xfe7c07){const _0x108950=_0x1b0c37(0x1aa)[_0x1b0c37(0x1b8)]('|');let _0x4e433f=0x0;while(!![]){switch(_0x108950[_0x4e433f++]){case'0':_0x3e4f3e[_0x1b0c37(0x1c9)]();continue;case'1':_0x51decd['clear']();continue;case'2':_0xfe7c07=!![];continue;case'3':_0x1fc448[_0x1b0c37(0x1c9)]();continue;case'4':_0x5c3cfd?.['close']();continue;case'5':_0x7b603d[_0x1b0c37(0x1c9)]();continue;case'6':_0x51decd[_0x1b0c37(0x1bb)](_0x20931a=>_0x20931a[_0x1b0c37(0x1d3)]());continue;}break;}}},'isConnected':()=>!_0xfe7c07&&_0x5c3cfd?.['readyState']===_0xbfcff0['OPEN']};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x447e(){const _0x550f06=['GET','9wJOAMr','68BaRjfB','1816848ugqknz','1202130jeIcWk','Bearer\x20','xkxfn','iRixf','IRnlq','message','14530RSzYSF','1557170iuRIGH','581077fPpcXh','32OeTWyY','statusText','51231iwccGJ','1116690HMWgcE','json'];_0x447e=function(){return _0x550f06;};return _0x447e();}(function(_0x95125d,_0x1b9f53){const _0x26e370=_0x42e5,_0x5cfad5=_0x95125d();while(!![]){try{const _0x9f1714=parseInt(_0x26e370(0x1dd))/0x1*(-parseInt(_0x26e370(0x1e0))/0x2)+parseInt(_0x26e370(0x1e2))/0x3*(parseInt(_0x26e370(0x1e7))/0x4)+parseInt(_0x26e370(0x1e9))/0x5+parseInt(_0x26e370(0x1e3))/0x6+parseInt(_0x26e370(0x1df))/0x7+-parseInt(_0x26e370(0x1e8))/0x8+-parseInt(_0x26e370(0x1e6))/0x9*(parseInt(_0x26e370(0x1de))/0xa);if(_0x9f1714===_0x1b9f53)break;else _0x5cfad5['push'](_0x5cfad5['shift']());}catch(_0x4c7379){_0x5cfad5['push'](_0x5cfad5['shift']());}}}(_0x447e,0x2d0ee));function _0x42e5(_0x204277,_0x56a490){_0x204277=_0x204277-0x1da;const _0x447e85=_0x447e();let _0x42e572=_0x447e85[_0x204277];return _0x42e572;}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x126f0a){const _0x8817c5=_0x42e5,_0x14e1d={'iRixf':_0x8817c5(0x1e5),'IRnlq':function(_0x257b8b,_0x72e1ce){return _0x257b8b instanceof _0x72e1ce;},'xkxfn':function(_0x54ce66,_0x2a323f){return _0x54ce66(_0x2a323f);}},_0x2ea34c=getApiBaseUrl();try{const _0x3f192a=await fetch(_0x2ea34c+'/api/v1/mcp/me',{'method':_0x14e1d[_0x8817c5(0x1da)],'headers':{'Authorization':_0x8817c5(0x1ea)+_0x126f0a}});if(!_0x3f192a['ok'])return{'success':![],'error':_0x3f192a['status']+'\x20'+_0x3f192a[_0x8817c5(0x1e1)],'status':_0x3f192a['status']};const _0x23f0a0=await _0x3f192a[_0x8817c5(0x1e4)]();return{'success':!![],'user':_0x23f0a0};}catch(_0x19bfa1){return{'success':![],'error':_0x14e1d[_0x8817c5(0x1db)](_0x19bfa1,Error)?_0x19bfa1[_0x8817c5(0x1dc)]:_0x14e1d[_0x8817c5(0x1eb)](String,_0x19bfa1)};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x20a197,_0x3acf75){const _0x2676e1=_0x1f9b,_0x35a95c=_0x20a197();while(!![]){try{const _0x35fcb1=parseInt(_0x2676e1(0x11d))/0x1*(-parseInt(_0x2676e1(0x121))/0x2)+parseInt(_0x2676e1(0x12e))/0x3*(parseInt(_0x2676e1(0x131))/0x4)+parseInt(_0x2676e1(0x123))/0x5+-parseInt(_0x2676e1(0x122))/0x6*(parseInt(_0x2676e1(0x128))/0x7)+parseInt(_0x2676e1(0x11e))/0x8+parseInt(_0x2676e1(0x11f))/0x9*(parseInt(_0x2676e1(0x124))/0xa)+-parseInt(_0x2676e1(0x133))/0xb*(parseInt(_0x2676e1(0x12c))/0xc);if(_0x35fcb1===_0x3acf75)break;else _0x35a95c['push'](_0x35a95c['shift']());}catch(_0x21396a){_0x35a95c['push'](_0x35a95c['shift']());}}}(_0x427b,0xb092a));import{readFileSync}from'fs';function _0x1f9b(_0x722a89,_0x200cd1){_0x722a89=_0x722a89-0x118;const _0x427bb1=_0x427b();let _0x1f9b47=_0x427bb1[_0x722a89];return _0x1f9b47;}import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME='@ranger-testing/ranger-cli';export function getCurrentVersion(){const _0x665fcb=_0x1f9b,_0x28c84f={'KzjNR':'package.json','DixvP':function(_0x45b966,_0x2cd258,_0x4a7702){return _0x45b966(_0x2cd258,_0x4a7702);},'CrlyB':_0x665fcb(0x130)},_0x432533=[join(__dirname,'..','..',_0x665fcb(0x119)),join(__dirname,'..','..','..',_0x28c84f[_0x665fcb(0x129)])];for(const _0x4a493a of _0x432533){if(existsSync(_0x4a493a))try{const _0x1a4f12=JSON[_0x665fcb(0x134)](_0x28c84f[_0x665fcb(0x136)](readFileSync,_0x4a493a,_0x665fcb(0x126)));return _0x1a4f12[_0x665fcb(0x132)]||_0x28c84f[_0x665fcb(0x135)];}catch{continue;}}return _0x665fcb(0x130);}function _0x427b(){const _0x1d348f=['\x20versions\x20--json','15434ziDwHZ','12mFniwL','1689940WarBZE','16690rqTrrY','includes','utf-8','wUViN','4644444snVYKh','KzjNR','map','YvpGB','84krmude','split','6glcSut','pipe','unknown','1970012dyyhAU','version','1424313pdYXqM','parse','CrlyB','DixvP','MHuKV','package.json','length','vCxYe','psPAz','79taFKkS','7678360zElwTI','6921SZMFqJ'];_0x427b=function(){return _0x1d348f;};return _0x427b();}export function getLatestVersion(_0xe07f7d){const _0x4e8bbc=_0x1f9b,_0x270d09={'vCxYe':'utf-8','MHuKV':_0x4e8bbc(0x12f),'zlSXK':function(_0xc7c4a,_0x10dc0e,_0x149454){return _0xc7c4a(_0x10dc0e,_0x149454);},'psPAz':function(_0x1effa5,_0x568d98){return _0x1effa5 instanceof _0x568d98;},'CRbcO':function(_0x1d7b8a,_0x1c04f3){return _0x1d7b8a(_0x1c04f3);}};try{if(_0xe07f7d==null){const _0x1f180a=execSync('npm\x20view\x20'+PACKAGE_NAME+'\x20version',{'encoding':_0x270d09['vCxYe'],'timeout':0x2710,'stdio':['pipe',_0x270d09['MHuKV'],_0x270d09[_0x4e8bbc(0x118)]]});return{'version':_0x1f180a['trim']()};}const _0x477c2d=_0x270d09['zlSXK'](execSync,'npm\x20view\x20'+PACKAGE_NAME+_0x4e8bbc(0x120),{'encoding':_0x270d09[_0x4e8bbc(0x11b)],'timeout':0x2710,'stdio':[_0x270d09['MHuKV'],'pipe','pipe']}),_0x5cf9df=JSON['parse'](_0x477c2d['trim']()),_0x47b00e=_0x5cf9df['filter'](_0x457d96=>_0x457d96['startsWith'](_0xe07f7d+'.')&&!_0x457d96[_0x4e8bbc(0x125)]('-'));if(_0x47b00e[_0x4e8bbc(0x11a)]===0x0)return{'error':'No\x20published\x20versions\x20found\x20for\x20major\x20'+_0xe07f7d};const _0x40b928=_0x47b00e['reduce']((_0x45ee7a,_0x51e744)=>compareVersions(_0x45ee7a,_0x51e744)===0x1?_0x51e744:_0x45ee7a);return{'version':_0x40b928};}catch(_0x96066){const _0x319a91=_0x270d09[_0x4e8bbc(0x11c)](_0x96066,Error)?_0x96066['message']:_0x270d09['CRbcO'](String,_0x96066);return{'error':_0x319a91};}}export function compareVersions(_0x165be9,_0x260105){const _0x560af6=_0x1f9b,_0x54b60a={'tdXfX':function(_0xa8305c,_0x4d14a8){return _0xa8305c<_0x4d14a8;},'wUViN':function(_0x48c981,_0xe48840){return _0x48c981>_0xe48840;},'YvpGB':function(_0x186ca2,_0x45a0c9){return _0x186ca2<_0x45a0c9;}},_0x55f496=_0x165be9['split']('.')[_0x560af6(0x12a)](Number),_0x89b355=_0x260105[_0x560af6(0x12d)]('.')[_0x560af6(0x12a)](Number);for(let _0x439cfb=0x0;_0x54b60a['tdXfX'](_0x439cfb,0x3);_0x439cfb++){const _0xfc8576=_0x55f496[_0x439cfb]||0x0,_0x452d6a=_0x89b355[_0x439cfb]||0x0;if(_0x54b60a[_0x560af6(0x127)](_0x452d6a,_0xfc8576))return 0x1;if(_0x54b60a[_0x560af6(0x12b)](_0x452d6a,_0xfc8576))return-0x1;}return 0x0;}
|