@ranger-testing/ranger-cli 2.5.4-alpha.071b7bd-1 → 2.5.4-alpha.1d983c3-19
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/README.md +36 -14
- 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/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -0
- 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 -0
- package/build/commands/utils/cloudProfileSession.js +1 -0
- 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 -0
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -0
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -0
- 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/projectsConfig.js +1 -0
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -0
- package/build/commands/utils/resolveProfileUrl.js +1 -0
- 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/tokenRefresh.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/skills/ranger/SKILL.md +36 -6
- package/build/skills/ranger/create.md +19 -0
- package/build/skills/ranger/verify.md +46 -7
- package/package.json +8 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xf0e5c4,_0x34117d){const _0x296ff4=_0x3297,_0x364cca=_0xf0e5c4();while(!![]){try{const _0x4c78d4=parseInt(_0x296ff4(0x17c))/0x1+parseInt(_0x296ff4(0x179))/0x2*(-parseInt(_0x296ff4(0x173))/0x3)+-parseInt(_0x296ff4(0x18c))/0x4*(-parseInt(_0x296ff4(0x198))/0x5)+-parseInt(_0x296ff4(0x16d))/0x6+-parseInt(_0x296ff4(0x169))/0x7*(-parseInt(_0x296ff4(0x17f))/0x8)+-parseInt(_0x296ff4(0x19b))/0x9*(-parseInt(_0x296ff4(0x184))/0xa)+-parseInt(_0x296ff4(0x194))/0xb*(parseInt(_0x296ff4(0x182))/0xc);if(_0x4c78d4===_0x34117d)break;else _0x364cca['push'](_0x364cca['shift']());}catch(_0x26301e){_0x364cca['push'](_0x364cca['shift']());}}}(_0x40a2,0x72825));import{readdir,readFile}from'fs/promises';function _0x3297(_0x5c42d1,_0x1b11eb){_0x5c42d1=_0x5c42d1-0x167;const _0x40a2a2=_0x40a2();let _0x3297ef=_0x40a2a2[_0x5c42d1];return _0x3297ef;}import{join}from'path';function _0x40a2(){const _0x528406=['length','VWMLv','snapshotName','506107nOcEpw','UMQvk','set','inputSnapshot','3780432LrnCpA','method','afterSnapshot','navigated','frameUrl','KAHiN','246429wbrVpo','endTime','get','getTime','pageId','event','2Tlpzmm','zFdyc','beforeSnapshot','596531ZbKjBV','params','EMQdI','8uvutTG','trim','sort','4701612VuoKVB','odtmW','914740lzvnmy','name','url','split','startTime','apiName','capturedAt','indexOf','4dceKUU','string','point','values','eDxoD','iPqud','type','.trace','11ayeMSM','abs','input','callId','3606325Aherfz','goto','wallTime','18AcVNah','find','snapshot','from','utf-8'];_0x40a2=function(){return _0x528406;};return _0x40a2();}export async function mapStepsToTraceSnapshots(_0x41597a,_0x27df76){const _0x27ac3b=_0x3297,_0x35397b={'iPqud':function(_0x2f0ee0,_0x3b94db,_0x140231){return _0x2f0ee0(_0x3b94db,_0x140231);},'KPzdl':function(_0x175a6a,_0x39c309,_0x3b48f8){return _0x175a6a(_0x39c309,_0x3b48f8);},'zFdyc':function(_0x197966,_0x3093f7){return _0x197966(_0x3093f7);},'hbPtW':function(_0x39a9d8,_0xa7d88b){return _0x39a9d8===_0xa7d88b;},'KAHiN':function(_0x22aad4,_0x1df3ee){return _0x22aad4===_0x1df3ee;},'eDxoD':function(_0x5816e2,_0x4cc4af){return _0x5816e2-_0x4cc4af;},'udKuL':_0x27ac3b(0x196),'mZyAc':'after','UMQvk':function(_0x2acffb,_0x3255f0){return _0x2acffb===_0x3255f0;},'nQuVc':function(_0xeac5f1,_0x32fb80){return _0xeac5f1===_0x32fb80;},'VWMLv':_0x27ac3b(0x199),'BQXRg':function(_0xb61c2d,_0x1fc850){return _0xb61c2d===_0x1fc850;},'xYLGj':_0x27ac3b(0x178),'skDxD':_0x27ac3b(0x170),'odtmW':_0x27ac3b(0x18d),'mqBGt':function(_0x119a3a,_0x366a3a){return _0x119a3a===_0x366a3a;},'EMQdI':function(_0x2141e4,_0x36bc77){return _0x2141e4>=_0x36bc77;},'aUhFi':function(_0x8b2a81,_0x413682){return _0x8b2a81<_0x413682;}},_0x95d9f2=new Map();if(_0x35397b['hbPtW'](_0x27df76[_0x27ac3b(0x1a0)],0x0))return _0x95d9f2;const _0x5f07fd=[],_0x3c5a53=async _0x5acb19=>{const _0x51c957=_0x27ac3b,_0x300a19=await _0x35397b[_0x51c957(0x191)](readdir,_0x5acb19,{'withFileTypes':!![]});for(const _0x1afba9 of _0x300a19){const _0x57ed4c=_0x35397b['KPzdl'](join,_0x5acb19,_0x1afba9['name']);if(_0x1afba9['isDirectory']())await _0x35397b[_0x51c957(0x17a)](_0x3c5a53,_0x57ed4c);else _0x1afba9[_0x51c957(0x185)]['endsWith'](_0x51c957(0x193))&&_0x5f07fd['push'](_0x57ed4c);}};await _0x3c5a53(_0x41597a);if(_0x35397b['hbPtW'](_0x5f07fd[_0x27ac3b(0x1a0)],0x0))return _0x95d9f2;const _0x122828=[];for(const _0x1658c1 of _0x5f07fd){const _0x980470=await readFile(_0x1658c1,_0x27ac3b(0x19f)),_0x51a4a0=_0x980470[_0x27ac3b(0x187)]('\x0a')['filter'](_0x16a5b3=>_0x16a5b3[_0x27ac3b(0x180)]());for(const _0x19e7ab of _0x51a4a0){try{_0x122828['push'](JSON['parse'](_0x19e7ab));}catch{}}}if(_0x35397b[_0x27ac3b(0x172)](_0x122828[_0x27ac3b(0x1a0)],0x0))return _0x95d9f2;const _0x152d5c=_0x122828[_0x27ac3b(0x19c)](_0x22f498=>_0x22f498['type']==='context-options');if(!_0x152d5c)return _0x95d9f2;const _0x5b28f9=_0x35397b[_0x27ac3b(0x190)](_0x152d5c[_0x27ac3b(0x19a)],_0x152d5c['monotonicTime']),_0xaf865a=new Map();for(const _0x127f24 of _0x122828){switch(_0x127f24[_0x27ac3b(0x192)]){case'before':{const _0x3c0689=_0x127f24;_0xaf865a[_0x27ac3b(0x16b)](_0x3c0689[_0x27ac3b(0x197)],{'callId':_0x3c0689['callId'],'startTime':_0x3c0689['startTime'],'endTime':0x0,'method':_0x3c0689['method'],'apiName':_0x3c0689[_0x27ac3b(0x189)],'params':_0x3c0689['params'],'pageId':_0x3c0689[_0x27ac3b(0x177)],'beforeSnapshot':_0x3c0689[_0x27ac3b(0x17b)]});break;}case _0x35397b['udKuL']:{const _0x4adcc8=_0x127f24,_0xa00a0a=_0xaf865a[_0x27ac3b(0x175)](_0x4adcc8['callId']);if(_0xa00a0a){if(_0x4adcc8[_0x27ac3b(0x16c)])_0xa00a0a['inputSnapshot']=_0x4adcc8['inputSnapshot'];if(_0x4adcc8[_0x27ac3b(0x18e)])_0xa00a0a['point']=_0x4adcc8[_0x27ac3b(0x18e)];}break;}case _0x35397b['mZyAc']:{const _0x59e84e=_0x127f24,_0x377214=_0xaf865a[_0x27ac3b(0x175)](_0x59e84e[_0x27ac3b(0x197)]);if(_0x377214){_0x377214['endTime']=_0x59e84e[_0x27ac3b(0x174)];if(_0x59e84e['afterSnapshot'])_0x377214[_0x27ac3b(0x16f)]=_0x59e84e['afterSnapshot'];}break;}}}const _0x235cab=Array[_0x27ac3b(0x19e)](_0xaf865a[_0x27ac3b(0x18f)]())['filter'](_0x1f385a=>_0x1f385a['endTime']>0x0&&(_0x1f385a[_0x27ac3b(0x16f)]||_0x1f385a[_0x27ac3b(0x17b)]))[_0x27ac3b(0x181)]((_0x5c1806,_0x268f9f)=>_0x5c1806[_0x27ac3b(0x188)]-_0x268f9f['startTime']);if(_0x235cab[_0x27ac3b(0x1a0)]===0x0)return _0x95d9f2;const _0x26a796=new Map();for(const _0x2f8cf1 of _0x122828){if(_0x35397b[_0x27ac3b(0x16a)](_0x2f8cf1[_0x27ac3b(0x192)],'frame-snapshot')){const _0x3df552=_0x2f8cf1[_0x27ac3b(0x19d)];_0x3df552?.['snapshotName']&&_0x3df552?.['frameUrl']&&_0x26a796['set'](_0x3df552[_0x27ac3b(0x168)],_0x3df552[_0x27ac3b(0x171)]);}}const _0x428650=new Map();for(const _0x348673 of _0x235cab){const _0x205ead=_0x348673[_0x27ac3b(0x17d)]?.[_0x27ac3b(0x186)];_0x35397b['nQuVc'](_0x348673[_0x27ac3b(0x16e)],_0x35397b[_0x27ac3b(0x167)])&&_0x35397b['BQXRg'](typeof _0x205ead,'string')&&_0x348673['pageId']&&_0x428650[_0x27ac3b(0x16b)](_0x348673['pageId'],_0x205ead);}for(const _0x4905b3 of _0x122828){const _0x57d9cb=_0x4905b3,_0x29cc6c=_0x57d9cb[_0x27ac3b(0x17d)],_0x377abc=_0x29cc6c?.['url'];_0x57d9cb[_0x27ac3b(0x192)]===_0x35397b['xYLGj']&&_0x57d9cb['method']===_0x35397b['skDxD']&&typeof _0x377abc===_0x35397b[_0x27ac3b(0x183)]&&_0x35397b['mqBGt'](typeof _0x57d9cb[_0x27ac3b(0x177)],_0x35397b[_0x27ac3b(0x183)])&&_0x428650[_0x27ac3b(0x16b)](_0x57d9cb['pageId'],_0x377abc);}for(const _0x5653ba of _0x27df76){const _0xdaf5dd=new Date(_0x5653ba[_0x27ac3b(0x18a)])[_0x27ac3b(0x176)](),_0x6e6717=_0xdaf5dd-_0x5b28f9;let _0x579d06=null,_0x57f969=Infinity;for(const _0x2c7d95 of _0x235cab){const _0x3009ff=Math[_0x27ac3b(0x195)](_0x35397b['eDxoD'](_0x2c7d95['endTime'],_0x6e6717));_0x3009ff<_0x57f969&&(_0x57f969=_0x3009ff,_0x579d06=_0x2c7d95);}if(!_0x579d06)continue;const _0x57ea81=_0x579d06['afterSnapshot']||_0x579d06['beforeSnapshot'];if(!_0x57ea81)continue;const _0x196fcb=_0x579d06['pageId']||'page@0';let _0x475276=_0x26a796['get'](_0x57ea81)||_0x428650['get'](_0x196fcb)||'';if(!_0x475276)for(let _0x5a6954=_0x235cab['indexOf'](_0x579d06);_0x5a6954>=0x0;_0x5a6954--){const _0x2ae58f=_0x235cab[_0x5a6954][_0x27ac3b(0x17d)]?.['url'];if(_0x235cab[_0x5a6954]['method']===_0x35397b[_0x27ac3b(0x167)]&&typeof _0x2ae58f==='string'){_0x475276=_0x2ae58f;break;}}let _0xf81d6c,_0x46e4ec;const _0x1202c5=_0x235cab[_0x27ac3b(0x18b)](_0x579d06);if(_0x35397b[_0x27ac3b(0x17e)](_0x1202c5,0x0)&&_0x35397b['aUhFi'](_0x1202c5,_0x35397b[_0x27ac3b(0x190)](_0x235cab['length'],0x1))){const _0x3a12a8=_0x235cab[_0x1202c5+0x1];_0x3a12a8['point']&&_0x3a12a8['inputSnapshot']&&(_0xf81d6c=_0x3a12a8['point'],_0x46e4ec=_0x3a12a8[_0x27ac3b(0x16c)]);}_0x95d9f2[_0x27ac3b(0x16b)](_0x5653ba['stepId'],{'snapshotName':_0x57ea81,'inputSnapshotName':_0x46e4ec,'pageId':_0x196fcb,'pageUrl':_0x475276,'callId':_0x579d06[_0x27ac3b(0x197)],'point':_0xf81d6c});}return _0x95d9f2;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3559be,_0x2226d2){const _0x10ab19=_0x107a,_0x82b54f=_0x3559be();while(!![]){try{const _0x10dcc2=-parseInt(_0x10ab19(0x19f))/0x1+parseInt(_0x10ab19(0x1a4))/0x2+-parseInt(_0x10ab19(0x1a2))/0x3+-parseInt(_0x10ab19(0x19b))/0x4*(-parseInt(_0x10ab19(0x1a5))/0x5)+-parseInt(_0x10ab19(0x1a3))/0x6*(parseInt(_0x10ab19(0x1a7))/0x7)+-parseInt(_0x10ab19(0x19e))/0x8+-parseInt(_0x10ab19(0x1a8))/0x9*(-parseInt(_0x10ab19(0x1a6))/0xa);if(_0x10dcc2===_0x2226d2)break;else _0x82b54f['push'](_0x82b54f['shift']());}catch(_0x3e3699){_0x82b54f['push'](_0x82b54f['shift']());}}}(_0x53a9,0x18e10));function _0x107a(_0x378a9c,_0x181cf6){_0x378a9c=_0x378a9c-0x19b;const _0x53a908=_0x53a9();let _0x107a20=_0x53a908[_0x378a9c];return _0x107a20;}function _0x53a9(){const _0x292d07=['/api/v1/mcp/me','status','28uyXRHZ','message','json','924504TKlJSv','53209eKzyhR','Jomzx','statusText','589311rqWhRF','1061430RslMhG','206636bQDtPH','54995dPVYzb','30XtvYyu','7iCynlj','1391121BGesZR'];_0x53a9=function(){return _0x292d07;};return _0x53a9();}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x45b194){const _0x4b496c=_0x107a,_0x1e2324={'LuUfe':function(_0x15d500,_0x5aa253,_0x45110f){return _0x15d500(_0x5aa253,_0x45110f);},'Jomzx':'GET','nvjCb':function(_0x3d4c5a,_0x2f2b0e){return _0x3d4c5a instanceof _0x2f2b0e;},'UNHhD':function(_0x3b3e19,_0x176ec8){return _0x3b3e19(_0x176ec8);}},_0x371ae8=getApiBaseUrl();try{const _0x8ec9c3=await _0x1e2324['LuUfe'](fetch,_0x371ae8+_0x4b496c(0x1a9),{'method':_0x1e2324[_0x4b496c(0x1a0)],'headers':{'Authorization':'Bearer\x20'+_0x45b194}});if(!_0x8ec9c3['ok'])return{'success':![],'error':_0x8ec9c3['status']+'\x20'+_0x8ec9c3[_0x4b496c(0x1a1)],'status':_0x8ec9c3[_0x4b496c(0x1aa)]};const _0x2b392e=await _0x8ec9c3[_0x4b496c(0x19d)]();return{'success':!![],'user':_0x2b392e};}catch(_0x156b2c){return{'success':![],'error':_0x1e2324['nvjCb'](_0x156b2c,Error)?_0x156b2c[_0x4b496c(0x19c)]:_0x1e2324['UNHhD'](String,_0x156b2c)};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0xa1bb(){const _0x55632a=['34jXeTje','split','RoXPU','\x20version','parse','trim','McCmC','6IfSTRV','utVIB','9HCjpYV','3875137xlLKqO','847624dZmBEL','92122MlROqt','WzVTq','utf-8','UciDJ','22867116tHBiKY','ItoRZ','KiMaX','1160585bxftZo','11eVSqeb','WDFhT','map','6YZGVft','iNglt','4227208JisJrL','pipe','package.json','8418640KXujpx'];_0xa1bb=function(){return _0x55632a;};return _0xa1bb();}(function(_0x1bb24e,_0x211019){const _0x35b45e=_0x4487,_0x1a617a=_0x1bb24e();while(!![]){try{const _0x1449b5=-parseInt(_0x35b45e(0x1cf))/0x1*(-parseInt(_0x35b45e(0x1e0))/0x2)+parseInt(_0x35b45e(0x1da))/0x3*(-parseInt(_0x35b45e(0x1ce))/0x4)+-parseInt(_0x35b45e(0x1d6))/0x5*(parseInt(_0x35b45e(0x1ca))/0x6)+-parseInt(_0x35b45e(0x1cd))/0x7+-parseInt(_0x35b45e(0x1dc))/0x8*(parseInt(_0x35b45e(0x1cc))/0x9)+-parseInt(_0x35b45e(0x1df))/0xa+parseInt(_0x35b45e(0x1d7))/0xb*(parseInt(_0x35b45e(0x1d3))/0xc);if(_0x1449b5===_0x211019)break;else _0x1a617a['push'](_0x1a617a['shift']());}catch(_0xab5b0b){_0x1a617a['push'](_0x1a617a['shift']());}}}(_0xa1bb,0xd9bea));import{readFileSync}from'fs';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 _0x1a2bce=_0x4487,_0x34c698={'WDFhT':function(_0x4a5a3a,_0x539245,_0x2c41c1,_0x5bd111,_0x3adeb0){return _0x4a5a3a(_0x539245,_0x2c41c1,_0x5bd111,_0x3adeb0);},'RoXPU':_0x1a2bce(0x1de),'FsmpJ':function(_0x1eb487,_0x9e10dd,_0x199478){return _0x1eb487(_0x9e10dd,_0x199478);},'ItoRZ':_0x1a2bce(0x1d1),'utVIB':'unknown'},_0x2c37b5=[_0x34c698[_0x1a2bce(0x1d8)](join,__dirname,'..','..',_0x34c698[_0x1a2bce(0x1e2)]),join(__dirname,'..','..','..',_0x34c698[_0x1a2bce(0x1e2)])];for(const _0x5a978 of _0x2c37b5){if(existsSync(_0x5a978))try{const _0x317bf2=JSON[_0x1a2bce(0x1c7)](_0x34c698['FsmpJ'](readFileSync,_0x5a978,_0x34c698[_0x1a2bce(0x1d4)]));return _0x317bf2['version']||'unknown';}catch{continue;}}return _0x34c698[_0x1a2bce(0x1cb)];}function _0x4487(_0x2c06ae,_0x4563d1){_0x2c06ae=_0x2c06ae-0x1c6;const _0xa1bb2d=_0xa1bb();let _0x448783=_0xa1bb2d[_0x2c06ae];return _0x448783;}export function getLatestVersion(){const _0x22b95e=_0x4487,_0x1af70d={'KiMaX':function(_0x2eadc9,_0x58916f,_0x58b53){return _0x2eadc9(_0x58916f,_0x58b53);},'UciDJ':'pipe','WzVTq':function(_0x12118c,_0x539ee0){return _0x12118c(_0x539ee0);}};try{const _0x1399a4=_0x1af70d[_0x22b95e(0x1d5)](execSync,'npm\x20view\x20'+PACKAGE_NAME+_0x22b95e(0x1c6),{'encoding':_0x22b95e(0x1d1),'timeout':0x2710,'stdio':[_0x1af70d['UciDJ'],_0x1af70d[_0x22b95e(0x1d2)],_0x22b95e(0x1dd)]});return{'version':_0x1399a4[_0x22b95e(0x1c8)]()};}catch(_0x3e367e){const _0x7fe575=_0x3e367e instanceof Error?_0x3e367e['message']:_0x1af70d[_0x22b95e(0x1d0)](String,_0x3e367e);return{'error':_0x7fe575};}}export function compareVersions(_0x2afaff,_0x4217a0){const _0x261ae7=_0x4487,_0xf9ffc={'iNglt':function(_0x15efe5,_0x11d52e){return _0x15efe5<_0x11d52e;},'McCmC':function(_0x54e67b,_0x53c0ec){return _0x54e67b>_0x53c0ec;}},_0x5c8e0b=_0x2afaff[_0x261ae7(0x1e1)]('.')[_0x261ae7(0x1d9)](Number),_0x3e0fd5=_0x4217a0['split']('.')[_0x261ae7(0x1d9)](Number);for(let _0x2262a4=0x0;_0xf9ffc[_0x261ae7(0x1db)](_0x2262a4,0x3);_0x2262a4++){const _0x5af0da=_0x5c8e0b[_0x2262a4]||0x0,_0x15e614=_0x3e0fd5[_0x2262a4]||0x0;if(_0xf9ffc[_0x261ae7(0x1c9)](_0x15e614,_0x5af0da))return 0x1;if(_0xf9ffc['iNglt'](_0x15e614,_0x5af0da))return-0x1;}return 0x0;}
|