lightrun 1.57.0 → 1.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a0_0x37de84=a0_0x17a3;function a0_0x17a3(_0x2a52a0,_0x308001){const _0x19f217=a0_0x2251();return a0_0x17a3=function(_0x52b31d,_0x7820fa){_0x52b31d=_0x52b31d-0x183;let _0x2251cf=_0x19f217[_0x52b31d];return _0x2251cf;},a0_0x17a3(_0x2a52a0,_0x308001);}(function(_0x141a8e,_0x2a62ea){const _0x9d39f2=a0_0x17a3,_0x49df2a=_0x141a8e();while(!![]){try{const _0x5aa525=parseInt(_0x9d39f2(0x194))/0x1+-parseInt(_0x9d39f2(0x18a))/0x2*(-parseInt(_0x9d39f2(0x1a1))/0x3)+parseInt(_0x9d39f2(0x18d))/0x4+-parseInt(_0x9d39f2(0x1aa))/0x5+parseInt(_0x9d39f2(0x1a2))/0x6+-parseInt(_0x9d39f2(0x190))/0x7+-parseInt(_0x9d39f2(0x191))/0x8;if(_0x5aa525===_0x2a62ea)break;else _0x49df2a['push'](_0x49df2a['shift']());}catch(_0x2094f1){_0x49df2a['push'](_0x49df2a['shift']());}}}(a0_0x2251,0x2b2f1));const a0_0x7820fa=(function(){let _0x222750=!![];return function(_0x238af4,_0x48f6e8){const _0xe01b60=_0x222750?function(){if(_0x48f6e8){const _0xbc66b9=_0x48f6e8['apply'](_0x238af4,arguments);return _0x48f6e8=null,_0xbc66b9;}}:function(){};return _0x222750=![],_0xe01b60;};}()),a0_0x52b31d=a0_0x7820fa(this,function(){const _0x2bd16c=a0_0x17a3;return a0_0x52b31d['toString']()[_0x2bd16c(0x189)]('(((.+)+)+)+$')[_0x2bd16c(0x1a3)]()[_0x2bd16c(0x1a5)](a0_0x52b31d)[_0x2bd16c(0x189)]('(((.+)+)+)+$');});a0_0x52b31d();'use strict';Object[a0_0x37de84(0x198)](exports,'__esModule',{'value':!![]});const winston_1=require(a0_0x37de84(0x185)),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require(a0_0x37de84(0x19e)),{combine,printf,timestamp}=winston_1[a0_0x37de84(0x1a7)],{Console}=winston_1['transports'],now=new Date();function getLoggerTransport(_0x40ff55,_0x37ea98,_0x245b73){const _0x15d119=a0_0x37de84;if(_0x40ff55)return new DailyRotateFile({'dirname':_0x40ff55,'filename':AgentLogger[_0x15d119(0x18f)],'datePattern':now[_0x15d119(0x183)]()[_0x15d119(0x1a3)]()+now[_0x15d119(0x1a0)]()[_0x15d119(0x1a3)]()[_0x15d119(0x1a6)](0x2,'0')+now[_0x15d119(0x19b)]()[_0x15d119(0x1a3)]()['padStart'](0x2,'0')+'-'+now[_0x15d119(0x186)]()[_0x15d119(0x1a3)]()['padStart'](0x2,'0')+now[_0x15d119(0x19f)]()[_0x15d119(0x1a3)]()[_0x15d119(0x1a6)](0x2,'0')+now[_0x15d119(0x184)]()[_0x15d119(0x1a3)]()[_0x15d119(0x1a6)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x15d119(0x18f)],'maxSize':_0x37ea98+'m','maxFiles':_0x245b73,'extension':_0x15d119(0x1a8)});return new Console();}class AgentLogger{constructor(_0x5b1e8e,_0x4c6c01,_0x376ec9,_0xb578be,_0x405e62){const _0x31cb8d=a0_0x37de84;this[_0x31cb8d(0x18b)]=_0xb578be,this[_0x31cb8d(0x1a9)]=(0x0,winston_1[_0x31cb8d(0x197)])({'level':_0xb578be,'transports':[getLoggerTransport(_0x5b1e8e,_0x4c6c01,_0x376ec9),new Console({'level':_0x405e62,'stderrLevels':['debug',_0x31cb8d(0x19a),_0x31cb8d(0x19c),'error']})],'format':combine(timestamp(),printf(({level:_0x37c1e4,message:_0x417e22,timestamp:_0x4ed950})=>{const _0xed48a0=_0x31cb8d;return _0x4ed950+'\x20['+_0x37c1e4['toUpperCase']()+_0xed48a0(0x193)+_0x417e22;}),winston_1[_0x31cb8d(0x1a7)][_0x31cb8d(0x192)]())});}static[a0_0x37de84(0x197)](_0x45dd16,_0x5e6aee,_0x34a195,_0x32c4c4,_0x3e1ef3){return new AgentLogger(_0x45dd16,_0x5e6aee,_0x34a195,_0x32c4c4,_0x3e1ef3);}[a0_0x37de84(0x18e)](..._0x1c040a){const _0x4e9f8f=a0_0x37de84;this[_0x4e9f8f(0x1a9)][_0x4e9f8f(0x18e)](_0x1c040a);}[a0_0x37de84(0x19a)](..._0x2bf869){const _0x19cbfe=a0_0x37de84;this[_0x19cbfe(0x1a9)][_0x19cbfe(0x19a)](_0x2bf869);}[a0_0x37de84(0x19c)](..._0x544e94){const _0x59e4d6=a0_0x37de84;this[_0x59e4d6(0x1a9)]['warn'](_0x544e94);}['error'](..._0x23399e){const _0xfeb68f=a0_0x37de84;this[_0xfeb68f(0x1a9)][_0xfeb68f(0x199)](_0x23399e);}[a0_0x37de84(0x195)](){const _0x2557b3=a0_0x37de84;return this['logger'][_0x2557b3(0x1a4)];}[a0_0x37de84(0x187)](_0x4bbaa9){const _0x5b1c71=a0_0x37de84;this['logger'][_0x5b1c71(0x1a4)]=_0x4bbaa9;}[a0_0x37de84(0x196)](){const _0x1a6655=a0_0x37de84;return this[_0x1a6655(0x18b)];}}function a0_0x2251(){const _0x4fcb46=['toString','level','constructor','padStart','format','.log','logger','1730800lWWxOI','getFullYear','getSeconds','winston','getHours','setLevel','default','search','134EJeSEf','initialLogLevel','lightrun_nodejs_agent.','771972RdVUno','debug','AGENT_LOG_FILE','848904acuxdV','375712ypnmqv','json',']\x20-\x20','57171zkDdRp','getLevel','getInitialLevel','createLogger','defineProperty','error','info','getDate','warn','pid','process','getMinutes','getMonth','12447ZozKwV','978780KbmuIy'];a0_0x2251=function(){return _0x4fcb46;};return a0_0x2251();}AgentLogger[a0_0x37de84(0x18f)]=a0_0x37de84(0x18c)+process_1[a0_0x37de84(0x19d)]+'.%DATE%',exports[a0_0x37de84(0x188)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0xbaa350=a1_0x5d2b;(function(_0x13aadf,_0x14a7c1){const _0x44bd33=a1_0x5d2b,_0x4a1085=_0x13aadf();while(!![]){try{const _0x378bc0=-parseInt(_0x44bd33(0x85))/0x1+parseInt(_0x44bd33(0x8b))/0x2*(parseInt(_0x44bd33(0x94))/0x3)+-parseInt(_0x44bd33(0x95))/0x4*(parseInt(_0x44bd33(0x8f))/0x5)+-parseInt(_0x44bd33(0x86))/0x6+-parseInt(_0x44bd33(0x7f))/0x7*(parseInt(_0x44bd33(0x81))/0x8)+parseInt(_0x44bd33(0x8d))/0x9+-parseInt(_0x44bd33(0x89))/0xa*(-parseInt(_0x44bd33(0x90))/0xb);if(_0x378bc0===_0x14a7c1)break;else _0x4a1085['push'](_0x4a1085['shift']());}catch(_0x3c82cf){_0x4a1085['push'](_0x4a1085['shift']());}}}(a1_0x5805,0x342b9));const a1_0x22cd44=(function(){let _0x190b08=!![];return function(_0x492dae,_0x33834f){const _0x309608=_0x190b08?function(){const _0x4b676a=a1_0x5d2b;if(_0x33834f){const _0x39fdba=_0x33834f[_0x4b676a(0x92)](_0x492dae,arguments);return _0x33834f=null,_0x39fdba;}}:function(){};return _0x190b08=![],_0x309608;};}()),a1_0xc1516a=a1_0x22cd44(this,function(){const _0x473e50=a1_0x5d2b;return a1_0xc1516a[_0x473e50(0x8c)]()[_0x473e50(0x7c)](_0x473e50(0x8a))[_0x473e50(0x8c)]()['constructor'](a1_0xc1516a)[_0x473e50(0x7c)](_0x473e50(0x8a));});a1_0xc1516a();function a1_0x5805(){const _0x29be9d=['search','defineProperty','length','7VhYKOm','inversePatterns','244848tkANxG','patterns','some','__esModule','229214vBmwVf','1488270MYckmE','matches','push','10rhEtlx','(((.+)+)+)+$','1282wCfsqo','toString','3167712kkArjc','forEach','10sCOHUu','4600838RSOYpo','BlocklistingPatterns','apply','match','1164hTpMoa','594760nPjHCv'];a1_0x5805=function(){return _0x29be9d;};return a1_0x5805();}function a1_0x5d2b(_0x55ad45,_0x38d15c){const _0x4b7ed8=a1_0x5805();return a1_0x5d2b=function(_0xc1516a,_0x22cd44){_0xc1516a=_0xc1516a-0x7c;let _0x5805ae=_0x4b7ed8[_0xc1516a];return _0x5805ae;},a1_0x5d2b(_0x55ad45,_0x38d15c);}'use strict';Object[a1_0xbaa350(0x7d)](exports,a1_0xbaa350(0x84),{'value':!![]}),exports[a1_0xbaa350(0x91)]=void 0x0;class BlocklistingPatterns{constructor(_0x51aa5d){const _0x5cfaaa=a1_0xbaa350;this[_0x5cfaaa(0x80)]=[],this[_0x5cfaaa(0x82)]=[],_0x51aa5d&&_0x51aa5d[_0x5cfaaa(0x8e)](_0x502061=>{const _0x1fcc57=_0x5cfaaa;_0x502061&&(_0x502061[0x0]==='!'?this[_0x1fcc57(0x80)][_0x1fcc57(0x88)](new RegExp(_0x502061['substring'](0x1))):this[_0x1fcc57(0x82)][_0x1fcc57(0x88)](new RegExp(_0x502061)));});}[a1_0xbaa350(0x87)](_0xa36b8e){const _0x5bf4d7=a1_0xbaa350,_0x532e8b=_0x21f350=>_0xa36b8e[_0x5bf4d7(0x93)](_0x21f350);return this['inversePatterns'][_0x5bf4d7(0x7e)]!==0x0&&!this[_0x5bf4d7(0x80)][_0x5bf4d7(0x83)](_0x532e8b)||this[_0x5bf4d7(0x82)][_0x5bf4d7(0x83)](_0x532e8b);}}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x2748e9=a2_0x33a3;function a2_0x33a3(_0x3ca264,_0x267eae){var _0x201bb4=a2_0x10fd();return a2_0x33a3=function(_0x13cf5f,_0x41f40a){_0x13cf5f=_0x13cf5f-0xeb;var _0x10fd80=_0x201bb4[_0x13cf5f];return _0x10fd80;},a2_0x33a3(_0x3ca264,_0x267eae);}(function(_0xcbcf0f,_0x39a2e0){var _0x4b7114=a2_0x33a3,_0x4d9686=_0xcbcf0f();while(!![]){try{var _0x24a505=parseInt(_0x4b7114(0xf7))/0x1+parseInt(_0x4b7114(0xeb))/0x2*(parseInt(_0x4b7114(0xfa))/0x3)+parseInt(_0x4b7114(0xf6))/0x4*(parseInt(_0x4b7114(0xfb))/0x5)+-parseInt(_0x4b7114(0xf8))/0x6*(parseInt(_0x4b7114(0xec))/0x7)+-parseInt(_0x4b7114(0xfc))/0x8+parseInt(_0x4b7114(0xf1))/0x9+-parseInt(_0x4b7114(0xee))/0xa*(-parseInt(_0x4b7114(0xf3))/0xb);if(_0x24a505===_0x39a2e0)break;else _0x4d9686['push'](_0x4d9686['shift']());}catch(_0x38aab9){_0x4d9686['push'](_0x4d9686['shift']());}}}(a2_0x10fd,0xcc97e));function a2_0x10fd(){var _0x24f134=['value','643743hTGdnP','toString','20471bsVQaH','shouldBlock','(((.+)+)+)+$','68948FSvWQS','177486OpsBRR','12VrnEDB','defineProperty','21brGGpc','15dAucdG','1124432ilRwwJ','search','278650ZsCnUE','1386224CbsAAN','DummyBlocklistManager','530pcTriX','apply'];a2_0x10fd=function(){return _0x24f134;};return a2_0x10fd();}var a2_0x41f40a=(function(){var _0x211a2a=!![];return function(_0x624f0a,_0xd4afc2){var _0x575851=_0x211a2a?function(){var _0x18fb68=a2_0x33a3;if(_0xd4afc2){var _0x3cb7fd=_0xd4afc2[_0x18fb68(0xef)](_0x624f0a,arguments);return _0xd4afc2=null,_0x3cb7fd;}}:function(){};return _0x211a2a=![],_0x575851;};}()),a2_0x13cf5f=a2_0x41f40a(this,function(){var _0x2e7ec5=a2_0x33a3;return a2_0x13cf5f[_0x2e7ec5(0xf2)]()[_0x2e7ec5(0xfd)](_0x2e7ec5(0xf5))[_0x2e7ec5(0xf2)]()['constructor'](a2_0x13cf5f)['search'](_0x2e7ec5(0xf5));});a2_0x13cf5f();'use strict';Object[a2_0x2748e9(0xf9)](exports,'__esModule',{'value':!![]}),exports[a2_0x2748e9(0xed)]=void 0x0;class DummyBlocklistManager{constructor(_0x32be59){this['value']=_0x32be59;}[a2_0x2748e9(0xf4)](){var _0x4b0bc2=a2_0x2748e9;return this[_0x4b0bc2(0xf0)];}}exports[a2_0x2748e9(0xed)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x572dc1=a3_0xda31;function a3_0xda31(_0x598951,_0x43528f){const _0xb4e4dd=a3_0x1347();return a3_0xda31=function(_0x2fdd4c,_0x131570){_0x2fdd4c=_0x2fdd4c-0x1e6;let _0x1347df=_0xb4e4dd[_0x2fdd4c];return _0x1347df;},a3_0xda31(_0x598951,_0x43528f);}(function(_0xa83fe0,_0x3fe2e6){const _0x94849b=a3_0xda31,_0x21e763=_0xa83fe0();while(!![]){try{const _0x23b68f=parseInt(_0x94849b(0x203))/0x1+-parseInt(_0x94849b(0x1f8))/0x2*(-parseInt(_0x94849b(0x1f5))/0x3)+parseInt(_0x94849b(0x1ee))/0x4*(-parseInt(_0x94849b(0x1e9))/0x5)+parseInt(_0x94849b(0x1fe))/0x6*(-parseInt(_0x94849b(0x1e7))/0x7)+-parseInt(_0x94849b(0x1f3))/0x8*(-parseInt(_0x94849b(0x1ff))/0x9)+-parseInt(_0x94849b(0x204))/0xa*(-parseInt(_0x94849b(0x1f0))/0xb)+-parseInt(_0x94849b(0x200))/0xc*(parseInt(_0x94849b(0x1ed))/0xd);if(_0x23b68f===_0x3fe2e6)break;else _0x21e763['push'](_0x21e763['shift']());}catch(_0x4e0b9b){_0x21e763['push'](_0x21e763['shift']());}}}(a3_0x1347,0x8d5df));function a3_0x1347(){const _0x4361c7=['793947fxoDUG','isPathInCurrentWorkingDirectory','BlocklistingPatterns','291528aHOLkF','apply','21lYfXyG','(((.+)+)+)+$','config','216386FJRhPC','search','stripWorkingDir','./blocklisting-patterns','__esModule','matches','345978KBPwyy','279gUctse','1434744VClAar','blocklist','PatternsBlocklistManager','666426MgJIFs','50zSfFhG','defineProperty','28Bkgadl','shouldBlock','1076935fIDLNY','toString','constructor','stripCurrentWorkingDirectory','182fxfxzu','8QtclhH','blocklistExceptions'];a3_0x1347=function(){return _0x4361c7;};return a3_0x1347();}const a3_0x131570=(function(){let _0x3a2f64=!![];return function(_0x4def93,_0x1efeb7){const _0x409982=_0x3a2f64?function(){const _0x4b14d0=a3_0xda31;if(_0x1efeb7){const _0x5e250b=_0x1efeb7[_0x4b14d0(0x1f4)](_0x4def93,arguments);return _0x1efeb7=null,_0x5e250b;}}:function(){};return _0x3a2f64=![],_0x409982;};}()),a3_0x2fdd4c=a3_0x131570(this,function(){const _0x18927c=a3_0xda31;return a3_0x2fdd4c[_0x18927c(0x1ea)]()[_0x18927c(0x1f9)](_0x18927c(0x1f6))['toString']()[_0x18927c(0x1eb)](a3_0x2fdd4c)[_0x18927c(0x1f9)]('(((.+)+)+)+$');});a3_0x2fdd4c();'use strict';Object[a3_0x572dc1(0x1e6)](exports,a3_0x572dc1(0x1fc),{'value':!![]}),exports[a3_0x572dc1(0x202)]=void 0x0;const blocklisting_patterns_1=require(a3_0x572dc1(0x1fb)),utils=require('../util/utils');class PatternsBlocklistManager{constructor(_0x2a877e,_0x4e26bf,_0x1e7f50){const _0x3a070b=a3_0x572dc1;this[_0x3a070b(0x201)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x2a877e),this[_0x3a070b(0x1ef)]=new blocklisting_patterns_1[(_0x3a070b(0x1f2))](_0x4e26bf),this[_0x3a070b(0x1f7)]=_0x1e7f50;}[a3_0x572dc1(0x1e8)](_0x231fcf){const _0x1de52b=a3_0x572dc1;_0x231fcf=this[_0x1de52b(0x1fa)](_0x231fcf);if(this[_0x1de52b(0x1ef)][_0x1de52b(0x1fd)](_0x231fcf))return![];return this[_0x1de52b(0x201)][_0x1de52b(0x1fd)](_0x231fcf);}[a3_0x572dc1(0x1fa)](_0x467284){const _0x374e8f=a3_0x572dc1;if(utils[_0x374e8f(0x1f1)](_0x467284,this[_0x374e8f(0x1f7)]))return utils[_0x374e8f(0x1ec)](_0x467284,this[_0x374e8f(0x1f7)]);return _0x467284;}}exports[a3_0x572dc1(0x202)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a4_0xb916(){const _0x1138b6=['none','agent.config','error','constructor','number','10cKAANB',',\x20\x20\x20the\x20file\x20','2501376IAGxup','warn','toString','__esModule','warnings','configSchema','apply','set','logMainConfigParams','Agent\x20Configuration:\x20','DOESN\x27T\x20EXIST','array','info','exists','oneOf','18739449emdYBb','defaultConfig','object','shape','forEach','12ZjqWNl','debug','(((.+)+)+)+$','1271868EETCuB','410327iUMtiO','3141KwRHMy','search','boolean','.js','262135BpInPZ','2427306KjpMQE','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','agentConfigFile','cwd','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','Production','string','lightrunSecret','694nBPhuM','not\x20set!','tmpdir','defineProperty'];a4_0xb916=function(){return _0x1138b6;};return a4_0xb916();}const a4_0x73d822=a4_0x2e5c;(function(_0x587216,_0xc0b41a){const _0x1de612=a4_0x2e5c,_0x22ccc1=_0x587216();while(!![]){try{const _0x57e580=-parseInt(_0x1de612(0xc5))/0x1+-parseInt(_0x1de612(0xd3))/0x2*(parseInt(_0x1de612(0xc6))/0x3)+-parseInt(_0x1de612(0xc1))/0x4*(parseInt(_0x1de612(0xca))/0x5)+-parseInt(_0x1de612(0xc4))/0x6+-parseInt(_0x1de612(0xcb))/0x7+-parseInt(_0x1de612(0xad))/0x8+-parseInt(_0x1de612(0xbc))/0x9*(-parseInt(_0x1de612(0xab))/0xa);if(_0x57e580===_0xc0b41a)break;else _0x22ccc1['push'](_0x22ccc1['shift']());}catch(_0x3ac1ba){_0x22ccc1['push'](_0x22ccc1['shift']());}}}(a4_0xb916,0x4451c));const a4_0x44ad6f=(function(){let _0x43d637=!![];return function(_0x5e7124,_0x9f94e0){const _0x3a12f0=_0x43d637?function(){const _0x18e293=a4_0x2e5c;if(_0x9f94e0){const _0x21e54a=_0x9f94e0[_0x18e293(0xb3)](_0x5e7124,arguments);return _0x9f94e0=null,_0x21e54a;}}:function(){};return _0x43d637=![],_0x3a12f0;};}()),a4_0x52a658=a4_0x44ad6f(this,function(){const _0x325bbf=a4_0x2e5c;return a4_0x52a658['toString']()['search'](_0x325bbf(0xc3))[_0x325bbf(0xaf)]()[_0x325bbf(0xa9)](a4_0x52a658)[_0x325bbf(0xc7)](_0x325bbf(0xc3));});function a4_0x2e5c(_0x228303,_0x433f6f){const _0xed7b63=a4_0xb916();return a4_0x2e5c=function(_0x52a658,_0x44ad6f){_0x52a658=_0x52a658-0xa6;let _0xb916c4=_0xed7b63[_0x52a658];return _0xb916c4;},a4_0x2e5c(_0x228303,_0x433f6f);}a4_0x52a658();'use strict';Object[a4_0x73d822(0xd6)](exports,a4_0x73d822(0xb0),{'value':!![]}),exports[a4_0x73d822(0xb5)]=exports['defaultConfig']=exports[a4_0x73d822(0xb2)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require('yup');exports[a4_0x73d822(0xb2)]=(0x0,yup_1[a4_0x73d822(0xbe)])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x73d822(0xaa)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x73d822(0xaa)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x73d822(0xaa)])(),'capture':(0x0,yup_1[a4_0x73d822(0xbe)])()['shape']({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxExpandFrames':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxProperties':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxVariableDepth':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxWatchProperties':(0x0,yup_1['number'])(),'maxDataSize':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxStringLength':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxVariableSize':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x73d822(0xaa)])()}),'internal':(0x0,yup_1[a4_0x73d822(0xbe)])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x73d822(0xaa)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x73d822(0xc8)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x73d822(0xc8)])(),'testMode_':(0x0,yup_1[a4_0x73d822(0xc8)])(),'apiEndpoint':(0x0,yup_1[a4_0x73d822(0xd1)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1['object'])()[a4_0x73d822(0xbf)]({'agentLogTargetDir':(0x0,yup_1[a4_0x73d822(0xd1)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x73d822(0xaa)])(),'agentLogMaxFileCount':(0x0,yup_1['number'])(),'agentLogLevel':(0x0,yup_1[a4_0x73d822(0xd1)])()['oneOf'](['debug',a4_0x73d822(0xb9),a4_0x73d822(0xae),a4_0x73d822(0xa8)]),'stdErrThreshold':(0x0,yup_1[a4_0x73d822(0xd1)])()[a4_0x73d822(0xbb)]([a4_0x73d822(0xc2),a4_0x73d822(0xb9),'warn','error',a4_0x73d822(0xa6)]),'collectCooldownMs':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x73d822(0xb8)])()['of']((0x0,yup_1[a4_0x73d822(0xd1)])()),'noCheckCertificate':(0x0,yup_1[a4_0x73d822(0xc8)])(),'caPath':(0x0,yup_1[a4_0x73d822(0xd1)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x73d822(0xaa)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x73d822(0xaa)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x73d822(0xaa)])(),'quota':(0x0,yup_1['object'])()[a4_0x73d822(0xbf)]({'maxConditionCost':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxCPUCost':(0x0,yup_1[a4_0x73d822(0xaa)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1['number'])(),'ignoreQuota':(0x0,yup_1[a4_0x73d822(0xc8)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x73d822(0xaa)])()}),'agentConfigFile':(0x0,yup_1[a4_0x73d822(0xd1)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x73d822(0xc8)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x73d822(0xaa)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x73d822(0xc8)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x73d822(0xaa)])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x73d822(0xd1)])()),'redactionEnabled':(0x0,yup_1[a4_0x73d822(0xc8)])(),'proxy':(0x0,yup_1[a4_0x73d822(0xbe)])()[a4_0x73d822(0xbf)]({'host':(0x0,yup_1[a4_0x73d822(0xd1)])(),'port':(0x0,yup_1[a4_0x73d822(0xaa)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x73d822(0xd1)])()})}),exports[a4_0x73d822(0xbd)]={'workingDirectory':process[a4_0x73d822(0xce)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x73d822(0xc9)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0x19,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x73d822(0xd5)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x73d822(0xb9),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x73d822(0xcc),'ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12'],'noCheckCertificate':![],'caPath':a4_0x73d822(0xcf),'metadata':{'registration':{'tags':[a4_0x73d822(0xd0)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x73d822(0xa7),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x23383b,_0x4fd65a)=>{const _0x2cb1e3=Object['values'](_0x23383b?.['errors']??[]);_0x2cb1e3['length']&&_0x2cb1e3['forEach'](_0x57ee5b=>{const _0x33be3f=a4_0x2e5c;_0x4fd65a[_0x33be3f(0xa8)](_0x57ee5b);});},logConfigWarnings=(_0x56af5e,_0x176ffe)=>{const _0x17ac8a=a4_0x73d822;_0x56af5e[_0x17ac8a(0xb1)]?.[_0x17ac8a(0xc0)](_0x2f194c=>{const _0x50bbcb=_0x17ac8a;_0x176ffe[_0x50bbcb(0xae)](_0x2f194c);});};function logMainConfigParams(_0x5c7527,_0x26bbdd){const _0x1933b8=a4_0x73d822;let _0x5926df=_0x5c7527[_0x1933b8(0xcd)];_0x5926df?_0x5926df+=_0x1933b8(0xac)+((0x0,fs_1['existsSync'])(_0x5c7527[_0x1933b8(0xcd)])?_0x1933b8(0xba):_0x1933b8(0xb7)):_0x5926df=_0x1933b8(0xd4);const _0x3ad9c2={..._0x5c7527,'lightrunSecret':_0x5c7527[_0x1933b8(0xd2)]?_0x1933b8(0xb4):'!!!\x20NOT\x20SET\x20!!!','agentConfigFile':_0x5926df};_0x26bbdd[_0x1933b8(0xc2)](_0x1933b8(0xb6),_0x3ad9c2),logConfigWarnings(_0x5c7527,_0x26bbdd),logConfigErrors(_0x5c7527,_0x26bbdd);}exports[a4_0x73d822(0xb5)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x5701bb=a5_0x227e;(function(_0x3f113b,_0x36db08){var _0x18024b=a5_0x227e,_0x3ac1f9=_0x3f113b();while(!![]){try{var _0x52b9b5=parseInt(_0x18024b(0xf5))/0x1*(-parseInt(_0x18024b(0x109))/0x2)+parseInt(_0x18024b(0xfa))/0x3+parseInt(_0x18024b(0x100))/0x4*(parseInt(_0x18024b(0x101))/0x5)+parseInt(_0x18024b(0xf8))/0x6*(parseInt(_0x18024b(0x10c))/0x7)+-parseInt(_0x18024b(0xf7))/0x8*(parseInt(_0x18024b(0x105))/0x9)+parseInt(_0x18024b(0x102))/0xa+-parseInt(_0x18024b(0xfc))/0xb;if(_0x52b9b5===_0x36db08)break;else _0x3ac1f9['push'](_0x3ac1f9['shift']());}catch(_0x5cd6f8){_0x3ac1f9['push'](_0x3ac1f9['shift']());}}}(a5_0x186e,0x36a74));var a5_0x2f7736=(function(){var _0x2d7d30=!![];return function(_0x190ae2,_0x506d34){var _0x37d4b4=_0x2d7d30?function(){if(_0x506d34){var _0x4b1b23=_0x506d34['apply'](_0x190ae2,arguments);return _0x506d34=null,_0x4b1b23;}}:function(){};return _0x2d7d30=![],_0x37d4b4;};}()),a5_0x4fa9b0=a5_0x2f7736(this,function(){var _0x30335d=a5_0x227e;return a5_0x4fa9b0['toString']()[_0x30335d(0x107)](_0x30335d(0x103))[_0x30335d(0x10a)]()[_0x30335d(0x10b)](a5_0x4fa9b0)[_0x30335d(0x107)]('(((.+)+)+)+$');});a5_0x4fa9b0();function a5_0x227e(_0x1f2cbe,_0x3aeb3c){var _0x54b0c3=a5_0x186e();return a5_0x227e=function(_0x4fa9b0,_0x2f7736){_0x4fa9b0=_0x4fa9b0-0xf3;var _0x186e30=_0x54b0c3[_0x4fa9b0];return _0x186e30;},a5_0x227e(_0x1f2cbe,_0x3aeb3c);}'use strict';Object['defineProperty'](exports,a5_0x5701bb(0xff),{'value':!![]}),exports[a5_0x5701bb(0xf6)]=void 0x0;class ConfigurationProvider{constructor(_0x54626c){this['resolvedDebugAgentConfig']=_0x54626c;}[a5_0x5701bb(0xfd)](){var _0x5b829b=a5_0x5701bb;return this['resolvedDebugAgentConfig'][_0x5b829b(0xfe)][_0x5b829b(0xfb)]||this[_0x5b829b(0x106)]['capture']['maxVariableSize'];}[a5_0x5701bb(0x104)](){var _0x3592c6=a5_0x5701bb;return this[_0x3592c6(0x106)][_0x3592c6(0xfe)][_0x3592c6(0xf3)];}[a5_0x5701bb(0xf4)](){var _0x1f77e4=a5_0x5701bb;return this[_0x1f77e4(0x106)][_0x1f77e4(0xfe)][_0x1f77e4(0x108)]||this['resolvedDebugAgentConfig'][_0x1f77e4(0xfe)]['maxSnapshotBufferSize'];}[a5_0x5701bb(0xf9)](_0x17db1d){var _0x51dd23=a5_0x5701bb;return _0x17db1d?this[_0x51dd23(0x106)][_0x51dd23(0xfe)][_0x51dd23(0x10d)]:this[_0x51dd23(0x106)][_0x51dd23(0xfe)]['maxProperties'];}}exports[a5_0x5701bb(0xf6)]=ConfigurationProvider;function a5_0x186e(){var _0x4051ca=['getMaxProperties','519954ZXIBsE','maxStringLength','2884640AgHZnX','getMaxVariableSize','capture','__esModule','416236lnEUtc','5jQnOKe','2331710lKFvmd','(((.+)+)+)+$','getMaxWatchListVariableSize','4527rGpfcK','resolvedDebugAgentConfig','search','maxDataSize','370834FSlrwe','toString','constructor','1442wmcNpj','maxWatchProperties','maxWatchListVariableSize','getMaxSnapshotBufferSize','1LJVvGw','ConfigurationProvider','3832ZorjlP','11706pZINwj'];a5_0x186e=function(){return _0x4051ca;};return a5_0x186e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0xa039b2=a6_0xee46;(function(_0x1df15d,_0x2bda7d){const _0x2bd089=a6_0xee46,_0x480b7c=_0x1df15d();while(!![]){try{const _0x3d61b7=parseInt(_0x2bd089(0x189))/0x1*(-parseInt(_0x2bd089(0x1b1))/0x2)+parseInt(_0x2bd089(0x12a))/0x3*(parseInt(_0x2bd089(0x1a7))/0x4)+-parseInt(_0x2bd089(0x198))/0x5*(parseInt(_0x2bd089(0x169))/0x6)+parseInt(_0x2bd089(0x1a1))/0x7+parseInt(_0x2bd089(0x15d))/0x8+parseInt(_0x2bd089(0x1ae))/0x9*(parseInt(_0x2bd089(0x148))/0xa)+-parseInt(_0x2bd089(0x167))/0xb;if(_0x3d61b7===_0x2bda7d)break;else _0x480b7c['push'](_0x480b7c['shift']());}catch(_0x29d35d){_0x480b7c['push'](_0x480b7c['shift']());}}}(a6_0x54b9,0x7d709));const a6_0x11f5be=(function(){let _0x2723b1=!![];return function(_0x49452f,_0x16395e){const _0x3146e4=_0x2723b1?function(){const _0x587453=a6_0xee46;if(_0x16395e){const _0x39722e=_0x16395e[_0x587453(0x12f)](_0x49452f,arguments);return _0x16395e=null,_0x39722e;}}:function(){};return _0x2723b1=![],_0x3146e4;};}()),a6_0x1417c5=a6_0x11f5be(this,function(){const _0x357233=a6_0xee46;return a6_0x1417c5[_0x357233(0x192)]()['search'](_0x357233(0x141))['toString']()[_0x357233(0x15e)](a6_0x1417c5)[_0x357233(0x164)](_0x357233(0x141));});function a6_0xee46(_0x4d85bf,_0x17242d){const _0x43597c=a6_0x54b9();return a6_0xee46=function(_0x1417c5,_0x11f5be){_0x1417c5=_0x1417c5-0x125;let _0x54b95a=_0x43597c[_0x1417c5];return _0x54b95a;},a6_0xee46(_0x4d85bf,_0x17242d);}a6_0x1417c5();'use strict';Object[a6_0xa039b2(0x170)](exports,a6_0xa039b2(0x158),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0xa039b2(0x155)),assert=require('assert'),qs=require(a6_0xa039b2(0x1b8)),fs_1=require('fs'),crypto_1=require(a6_0xa039b2(0x12c)),zlib_1=require('zlib'),stream_1=require(a6_0xa039b2(0x1a0)),memory_streams_1=require(a6_0xa039b2(0x18a)),tls_1=require(a6_0xa039b2(0x161)),extend=require(a6_0xa039b2(0x14f)),axios_1=require('axios'),https=require(a6_0xa039b2(0x190)),utils_1=require(a6_0xa039b2(0x140)),HttpsProxyAgent=require('https-proxy-agent'),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0xa039b2(0x16e)]{constructor(_0x5c5a07,_0x4e8d17,_0xfe7cef){const _0x295930=a6_0xa039b2;super({'parent':_0x5c5a07,'baseUrl':_0x295930(0x130)}),this[_0x295930(0x168)]=null,this['config']=_0x4e8d17,this[_0x295930(0x163)]=[],this['logger']=_0xfe7cef,this[_0x295930(0x178)]='https://'+_0x4e8d17[_0x295930(0x13a)]+_0x295930(0x18f),this[_0x295930(0x14b)]=axios_1[_0x295930(0x15a)]['create']({'httpsAgent':getProxyAgent(_0x4e8d17,_0xfe7cef)??new https[(_0x295930(0x13c))](getHttpsAgentOptions(_0x4e8d17,_0xfe7cef)),'proxy':![]});}['register'](_0x464002,_0x1d6953){const _0x44c42a=a6_0xa039b2,_0x2edc3c={'uri':this[_0x44c42a(0x178)]+_0x44c42a(0x15f),'method':_0x44c42a(0x174),'json':!![],'body':{'debuggee':_0x464002}};this[_0x44c42a(0x159)](_0x2edc3c,(_0x1ff098,_0x17e88c,_0x16afa9)=>{const _0x24808e=_0x44c42a;if(!_0x16afa9)_0x1d6953(_0x1ff098||new Error(_0x24808e(0x1a9)));else{if(_0x1ff098){let _0x51a0bc=![];_0x16afa9[_0x24808e(0x1ad)]===HTTP_UPGRADE_REQUIRED&&_0x17e88c&&(_0x17e88c[_0x24808e(0x152)]!==undefined&&(_0x1ff098[_0x24808e(0x152)]=_0x17e88c[_0x24808e(0x152)]),_0x464002['id']=_0x17e88c[_0x24808e(0x19c)]['id'],_0x51a0bc=!![]),_0x1d6953(_0x1ff098,_0x17e88c,_0x51a0bc);}else{if(_0x16afa9[_0x24808e(0x1ad)]!==HTTP_SUCCESS)_0x1d6953(new Error(_0x24808e(0x16c)+_0x16afa9['status']));else!_0x17e88c?.[_0x24808e(0x19c)]?_0x1d6953(new Error(_0x24808e(0x134))):(_0x464002['id']=_0x17e88c['debuggee']['id'],_0x1d6953(null,_0x17e88c));}}});}['listBreakpoints'](_0x2c7a06,_0x20bcc2,_0x2e8699){const _0x48a32b=a6_0xa039b2,_0x348cf7=this;assert(_0x2c7a06['id'],_0x48a32b(0x154));const _0x9f263a={'successOnTimeout':!![]};_0x348cf7[_0x48a32b(0x168)]&&(_0x9f263a[_0x48a32b(0x17f)]=_0x348cf7[_0x48a32b(0x168)]);const _0x1a9d57=this[_0x48a32b(0x178)]+encodeURIComponent(_0x2c7a06['id'])+_0x48a32b(0x186)+qs[_0x48a32b(0x187)](_0x9f263a);_0x348cf7[_0x48a32b(0x159)]({'uri':_0x1a9d57,'json':!![]},(_0x510f87,_0x55d472,_0x404dc7)=>{const _0x504cca=_0x48a32b;if(!_0x404dc7){_0x20bcc2(_0x510f87||new Error(_0x504cca(0x1a9)));return;}else{if(!is2xx(_0x404dc7[_0x504cca(0x1ad)])){_0x20bcc2(new Error(_0x504cca(0x1a6)+_0x404dc7[_0x504cca(0x1ad)]),_0x404dc7);return;}else _0x55d472&&(_0x348cf7[_0x504cca(0x168)]=_0x55d472[_0x504cca(0x168)]),_0x20bcc2(null,_0x404dc7,_0x55d472);}},_0x2e8699);}[a6_0xa039b2(0x19b)](_0x1dea48,_0x45f722){const _0x35cc80=a6_0xa039b2;assert(_0x1dea48['id'],_0x35cc80(0x154));try{const _0x3872ab=JSON[_0x35cc80(0x187)](_0x45f722),_0x505b1b=(0x0,utils_1[_0x35cc80(0x146)])(_0x3872ab);if(_0x505b1b>=this[_0x35cc80(0x160)][_0x35cc80(0x162)]){this[_0x35cc80(0x1bc)][_0x35cc80(0x1a2)](_0x35cc80(0x1b4)+_0x45f722['id']+_0x35cc80(0x185)+_0x505b1b+_0x35cc80(0x137)+this[_0x35cc80(0x160)][_0x35cc80(0x162)]);return;}this[_0x35cc80(0x163)]['push']({'id':_0x45f722['id'],'serializedJson':_0x3872ab,'number':0x0});if(!this['transmissionTimeout']){const _0x18367e=this;this['transmissionTimeout']=setTimeout(()=>_0x18367e[_0x35cc80(0x18c)][_0x35cc80(0x151)](_0x18367e)(_0x1dea48['id']),0x0);}}catch(_0x1008ae){this['logger'][_0x35cc80(0x129)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x45f722['id']+_0x35cc80(0x17a),_0x1008ae);return;}}[a6_0xa039b2(0x133)](){const _0x20f5b0=a6_0xa039b2;if(!this[_0x20f5b0(0x19f)])return;clearTimeout(this[_0x20f5b0(0x19f)]),this[_0x20f5b0(0x19f)]=null;}[a6_0xa039b2(0x18e)](_0x530338,_0x1952d5){const _0x560887=a6_0xa039b2,_0x3ca2b7=this[_0x560887(0x178)]+encodeURIComponent(_0x530338['id'])+'/deregister/',_0x5be955={'uri':_0x3ca2b7,'method':_0x560887(0x174),'json':!![]};this['logger'][_0x560887(0x179)]('Deregister\x20agent\x20before\x20shutdown'),this['makeRequest'](_0x5be955,(_0x2df5da,_0xd5dd06,_0x19e681)=>{const _0x3e8b76=_0x560887;(!_0x19e681||Math[_0x3e8b76(0x1aa)](_0x19e681[_0x3e8b76(0x1ad)]/0x64)!==0x2)&&this[_0x3e8b76(0x1bc)][_0x3e8b76(0x1a2)](_0x3e8b76(0x1a5)+_0x2df5da),_0x1952d5(_0x2df5da);});}[a6_0xa039b2(0x143)](_0x16a736,_0x41dfb5,_0xbb12ce){const _0x5e0bc7=a6_0xa039b2,_0x5d46db=this[_0x5e0bc7(0x178)]+encodeURIComponent(_0x16a736['id'])+'/log/',_0x89be7={'uri':_0x5d46db,'method':'POST','json':!![],'body':_0x41dfb5};this[_0x5e0bc7(0x159)](_0x89be7,(_0x1f85a2,_0x17831b,_0x4e2ee3)=>{const _0xd5fa8a=_0x5e0bc7;(!_0x4e2ee3||Math['floor'](_0x4e2ee3[_0xd5fa8a(0x1ad)]/0x64)!==0x2)&&(this[_0xd5fa8a(0x1bc)][_0xd5fa8a(0x1a2)](_0xd5fa8a(0x19d)+_0x1f85a2),_0xbb12ce(_0x1f85a2));});}[a6_0xa039b2(0x1b6)](_0x2515a3,_0x29673b,_0x4ba9b1){const _0x40fb4e=a6_0xa039b2,_0x2080f8=this[_0x40fb4e(0x178)]+encodeURIComponent(_0x2515a3['id'])+_0x40fb4e(0x183),_0x37561a={'uri':_0x2080f8,'method':'POST','json':!![],'body':_0x29673b};this[_0x40fb4e(0x159)](_0x37561a,(_0x5c57c2,_0x3bb45d,_0x326719)=>{const _0x16483e=_0x40fb4e;(!_0x326719||Math[_0x16483e(0x1aa)](_0x326719[_0x16483e(0x1ad)]/0x64)!==0x2)&&(this[_0x16483e(0x1bc)]['warn'](_0x16483e(0x195)+_0x5c57c2),_0x4ba9b1(_0x5c57c2));});}[a6_0xa039b2(0x1b0)](_0x54e3f9,_0x57dd7b,_0x352c6a){const _0x4a1b9f=a6_0xa039b2;assert(_0x54e3f9['id'],_0x4a1b9f(0x154));if(this[_0x4a1b9f(0x147)]){const _0x94c555=Date[_0x4a1b9f(0x1b2)](),_0x56fbbc=this[_0x4a1b9f(0x147)]+this[_0x4a1b9f(0x160)][_0x4a1b9f(0x1b5)][_0x4a1b9f(0x18b)];if(_0x94c555<_0x56fbbc){this[_0x4a1b9f(0x1bc)][_0x4a1b9f(0x179)](_0x4a1b9f(0x166)+((_0x56fbbc-_0x94c555)/0x3e8+_0x4a1b9f(0x1ba)));return;}}const _0x1cf653=(0x0,fs_1[_0x4a1b9f(0x131)])(_0x352c6a)[_0x4a1b9f(0x16f)],_0x4ed48a=Math[_0x4a1b9f(0x135)](0x0,_0x1cf653-this[_0x4a1b9f(0x160)][_0x4a1b9f(0x1b5)]['maxLogFileBytes']),_0x56045a=(0x0,fs_1[_0x4a1b9f(0x144)])(_0x352c6a,{'start':_0x4ed48a}),_0x4a125a=(0x0,zlib_1[_0x4a1b9f(0x126)])(),_0x2517b5=new memory_streams_1['WritableStream'](),_0x34d952=this;_0x34d952[_0x4a1b9f(0x1bc)][_0x4a1b9f(0x179)](_0x4a1b9f(0x173)+_0x352c6a+_0x4a1b9f(0x19e)+_0x57dd7b),(0x0,stream_1['pipeline'])(_0x56045a,_0x4a125a,_0x2517b5,_0x3bb233=>{const _0x307a6e=_0x4a1b9f;if(_0x3bb233)_0x34d952[_0x307a6e(0x1bc)][_0x307a6e(0x129)](_0x307a6e(0x171)+_0x352c6a+':\x20'+_0x3bb233);else{const _0x104b0c={'uri':this[_0x307a6e(0x178)]+encodeURIComponent(_0x54e3f9['id'])+'/compressedLogFileV2/'+_0x57dd7b,'method':_0x307a6e(0x1ac),'body':_0x2517b5['toBuffer'](),'headers':{'Content-Type':_0x307a6e(0x13e)}};_0x34d952[_0x307a6e(0x159)](_0x104b0c,_0x196e8c=>{const _0x42e404=_0x307a6e;_0x196e8c?_0x34d952['logger'][_0x42e404(0x129)](_0x42e404(0x150)+_0x352c6a+_0x42e404(0x138)+_0x57dd7b,_0x196e8c):(_0x34d952[_0x42e404(0x1bc)]['info']('Successfully\x20sent\x20log\x20file\x20'+_0x352c6a+_0x42e404(0x138)+_0x57dd7b),_0x34d952[_0x42e404(0x147)]=Date[_0x42e404(0x1b2)]());});}});}[a6_0xa039b2(0x18c)](_0x57cff9){const _0x2518e4=a6_0xa039b2;this[_0x2518e4(0x1bc)][_0x2518e4(0x17d)]('Transmitting\x20breakpoint\x20updates...'),this[_0x2518e4(0x19f)]=undefined;const _0x40bc86=[];let _0x45ac46=0x0;while(_0x40bc86[_0x2518e4(0x13d)]<this[_0x2518e4(0x160)]['transmissionBulkMaxSize']&&this[_0x2518e4(0x163)]['length']>0x0){const _0x2e014b=this[_0x2518e4(0x163)][0x0],_0x409460=_0x2e014b['serializedJson'],_0x43c93f=(0x0,utils_1[_0x2518e4(0x146)])(_0x409460);_0x45ac46+=_0x43c93f;if(_0x45ac46<=this[_0x2518e4(0x160)]['transmissionBulkMaxNetworkSizeInBytes'])_0x40bc86[_0x2518e4(0x188)](_0x2e014b),this['transmissionQueue'][_0x2518e4(0x182)]();else{_0x43c93f>this[_0x2518e4(0x160)][_0x2518e4(0x16b)]&&_0x40bc86['length']===0x0&&(this[_0x2518e4(0x1bc)]['debug'](_0x2518e4(0x1ab)+_0x2e014b['id']+_0x2518e4(0x17e)+this[_0x2518e4(0x160)]['transmissionBulkMaxNetworkSizeInBytes']+_0x2518e4(0x1b3)),_0x40bc86['push'](_0x2e014b),this['transmissionQueue'][_0x2518e4(0x182)]());break;}}if(!_0x40bc86)return;const _0xcfc584=_0x40bc86[_0x2518e4(0x1bd)](_0x2ab693=>_0x2ab693['id']),_0x727bbc={'uri':this[_0x2518e4(0x178)]+encodeURIComponent(_0x57cff9)+'/breakpoints','json':!![],'method':_0x2518e4(0x1ac),'body':'['+_0x40bc86[_0x2518e4(0x1bd)](_0x571116=>_0x571116[_0x2518e4(0x180)])['join'](',')+']'},_0x161ae9=this;try{this[_0x2518e4(0x159)](_0x727bbc,(_0x19d420,_0x351cab,_0x3755b7)=>{const _0x56e2de=_0x2518e4,_0xc92f1c=_0x3755b7?.['status'];_0x161ae9[_0x56e2de(0x1bc)][_0x56e2de(0x17d)]('Update\x20for\x20breakpoints\x20'+_0xcfc584+'\x20finished\x20with\x20status\x20'+_0xc92f1c);if(_0x19d420||!_0xc92f1c||Math['floor'](_0xc92f1c/0x64)!==0x2){const _0x242097=_0xc92f1c&&(_0xc92f1c>=0x1f4||_0xc92f1c===0x198);if(_0x242097){_0x161ae9[_0x56e2de(0x1bc)][_0x56e2de(0x1a2)](_0x56e2de(0x1a4)+_0xcfc584+_0x56e2de(0x165)+_0xc92f1c+_0x56e2de(0x14c)+_0x19d420);for(const _0x333f2e of _0x40bc86){_0x333f2e[_0x56e2de(0x139)]<MAX_FAILED_SEND_ATTEMPTS?_0x161ae9[_0x56e2de(0x163)][_0x56e2de(0x188)]({..._0x333f2e,'number':_0x333f2e[_0x56e2de(0x139)]+0x1}):_0x161ae9[_0x56e2de(0x1bc)][_0x56e2de(0x1a2)]('Breakpoint\x20'+_0x333f2e['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x161ae9[_0x56e2de(0x1bc)]['warn'](_0x56e2de(0x191)+_0xcfc584+_0x56e2de(0x165)+_0xc92f1c+_0x56e2de(0x14c)+_0x19d420);}else _0x161ae9[_0x56e2de(0x1bc)][_0x56e2de(0x179)](_0x56e2de(0x172)+_0xcfc584+_0x56e2de(0x1b9));_0x161ae9['transmissionQueue'][_0x56e2de(0x13d)]>0x0&&(_0x161ae9[_0x56e2de(0x19f)]=setTimeout(()=>_0x161ae9[_0x56e2de(0x18c)][_0x56e2de(0x151)](_0x161ae9)(_0x57cff9),0x0));},0x28);}catch(_0x493e2c){this[_0x2518e4(0x1bc)]['warn'](_0x2518e4(0x191)+_0xcfc584+_0x2518e4(0x153)+_0x493e2c+_0x2518e4(0x149)+_0x493e2c[_0x2518e4(0x15c)]?.[_0x2518e4(0x152)]),_0x161ae9[_0x2518e4(0x163)][_0x2518e4(0x13d)]>0x0&&(_0x161ae9[_0x2518e4(0x19f)]=setTimeout(()=>_0x161ae9[_0x2518e4(0x18c)][_0x2518e4(0x151)](_0x161ae9)(_0x57cff9),0x0));}}async[a6_0xa039b2(0x145)](_0x1c9134){const _0xf0c81e=a6_0xa039b2;this[_0xf0c81e(0x1bc)]['info'](_0xf0c81e(0x13b));const _0x48d365=this['apiUrl']+encodeURIComponent(_0x1c9134)+_0xf0c81e(0x197),{error:_0x4a10fe,data:_0x36f8f2}=await this[_0xf0c81e(0x159)]({'uri':_0x48d365,'json':!![]});if(_0x4a10fe)return Promise[_0xf0c81e(0x1be)](_0x4a10fe);return yaml[_0xf0c81e(0x1bb)](_0x36f8f2)||{};}[a6_0xa039b2(0x159)](_0x335f9a,_0x284750,_0x28b31c,_0x387d3e){const _0x4e934a=a6_0xa039b2,_0x750ec7={'Content-Type':_0x387d3e?_0x387d3e:_0x4e934a(0x193),'Authorization':_0x4e934a(0x157)+this[_0x4e934a(0x160)]['lightrunSecret']},_0x527954=axios_1[_0x4e934a(0x15a)]['CancelToken'][_0x4e934a(0x136)](),_0x6635bb=_0x28b31c?_0x28b31c*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4e934a(0x1bc)][_0x4e934a(0x17d)]('timeout\x20set\x20to\x20'+_0x6635bb);const _0x3fc3e6=setTimeout(()=>{const _0x46a32c=_0x4e934a;this[_0x46a32c(0x1bc)][_0x46a32c(0x1a2)]('Timeout\x20occurred\x20after\x20'+_0x6635bb+'ms'),_0x527954[_0x46a32c(0x1a3)]();},_0x6635bb),_0x1e55b8={'method':_0x335f9a['method'],'url':_0x335f9a[_0x4e934a(0x15b)],'data':_0x335f9a[_0x4e934a(0x1af)],'headers':_0x750ec7,'cancelToken':_0x527954[_0x4e934a(0x194)]};return extend(!![],_0x1e55b8,_0x335f9a),this[_0x4e934a(0x14b)][_0x4e934a(0x12d)](_0x1e55b8)[_0x4e934a(0x16a)](_0x39f245=>{const _0x145d2d=_0x4e934a;return _0x284750?.(null,_0x39f245[_0x145d2d(0x15c)],_0x39f245),{'error':null,'data':_0x39f245[_0x145d2d(0x15c)],'res':_0x39f245};})[_0x4e934a(0x177)](_0xf0ef01=>{const _0x43a52a=_0x4e934a;return _0x284750?.(_0xf0ef01,_0xf0ef01['response']?.[_0x43a52a(0x15c)],_0xf0ef01[_0x43a52a(0x1a8)]),{'error':_0xf0ef01,'data':_0xf0ef01[_0x43a52a(0x1a8)]?.[_0x43a52a(0x15c)],'res':_0xf0ef01[_0x43a52a(0x1a8)]};})[_0x4e934a(0x125)](()=>clearTimeout(_0x3fc3e6));}async['getRedactions'](_0x5519de){const _0x92a586=a6_0xa039b2;this['logger'][_0x92a586(0x179)](_0x92a586(0x14d));const _0x226ea4=this[_0x92a586(0x178)]+encodeURIComponent(_0x5519de)+'/redaction',{error:_0x13151e,data:_0x390d0f}=await this[_0x92a586(0x159)]({'uri':_0x226ea4,'json':!![]});if(_0x13151e)return Promise[_0x92a586(0x1be)](_0x13151e);return _0x390d0f;}}function a6_0x54b9(){const _0x3ba478=['/appOnlyActionHits/',',\x20username:\x20','\x20size\x20is\x20','/breakpoints?','stringify','push','23SXCSWm','memory-streams','collectCooldownMs','transmitBreakpointUpdates','includes','deregister','/debuggees/','https','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','toString','application/json','token','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','noCheckCertificate','/blacklist?successOnTimeout=true','35cZwlXs','readFileSync','port','enqueueBreakpointUpdate','debuggee','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','\x20for\x20request\x20id\x20','transmissionTimeout','stream','3315459fDTvPK','warn','cancel','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','110824aAONzP','response','unknown\x20error\x20-\x20request\x20response\x20missing','floor','breakpoint\x20','PUT','status','18HLZbaG','body','sendAgentLogsToServer','45146ficnRP','now',',\x20sending\x20only\x20one','breakpointId:\x20','agentLog','sendAppOnlyBreakpointHitsToServer','sha256','querystring','\x20transmitted\x20successfully','\x20seconds','load','logger','map','reject','finally','createGzip','Certificate\x20Pinning\x20Failed!','username','error','66dKIYlm','createSecureContext','crypto','request','Using\x20proxy\x20configuration:\x20','apply','/controller','statSync','addCACert','clearTransmissionTimeout','invalid\x20response\x20body\x20from\x20server','max','source','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','\x20for\x20request\x20','number','apiEndpoint','Getting\x20blocklist','Agent','length','application/octet-stream','Controller','./util/utils','(((.+)+)+)+$','\x22\x20-\x20ignoring\x20it','sendBreakpointLogsToServer','createReadStream','getBlocklist','getJsonStringSizeInBytes','lastLogCollectionTime','206970HrSDMO',',\x20Message:\x20','createHash','axios','\x20Error:\x20','Getting\x20reductions','proxy','extend','Failed\x20to\x20send\x20log\x20file\x20','bind','message','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','should\x20have\x20a\x20registered\x20debuggee','@google-cloud/common','caPath','Bearer\x20','__esModule','makeRequest','default','uri','data','8108072BgCvIe','constructor','register','config','tls','transmissionHardMaxNetworkSizeLimitInBytes','transmissionQueue','search','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','8573741YTTDpt','nextWaitToken','279138oTwFnm','then','transmissionBulkMaxNetworkSizeInBytes','unable\x20to\x20register,\x20status\x20','callback','ServiceObject','size','defineProperty','Failed\x20to\x20zip\x20','Update\x20for\x20breakpoints\x20','Compressing\x20and\x20sending\x20log\x20file\x20','POST','password','digest','catch','apiUrl','info','\x20and\x20enqueue\x20to\x20queue','hex','update','debug','\x20size\x20>\x20max\x20network\x20size\x20:\x20','waitToken','serializedJson','host','shift'];a6_0x54b9=function(){return _0x3ba478;};return a6_0x54b9();}exports[a6_0xa039b2(0x13f)]=Controller;function is2xx(_0x2fd4f4){const _0x2de5b5=a6_0xa039b2;return Math[_0x2de5b5(0x1aa)](_0x2fd4f4/0x64)===0x2;}function getProxyAgent(_0x268035,_0x4cd1d7){const _0x286b64=a6_0xa039b2,_0x541480=_0x268035[_0x286b64(0x14e)];if(!_0x541480?.[_0x286b64(0x181)])return undefined;if(!_0x541480[_0x286b64(0x19a)])return _0x4cd1d7[_0x286b64(0x129)]('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x4cd1d7['info'](_0x286b64(0x12e)+_0x541480['host']+':'+_0x541480[_0x286b64(0x19a)]+_0x286b64(0x184)+(_0x541480[_0x286b64(0x128)]??''));const _0x9bc564=new HttpsProxyAgent({'host':_0x541480['host'],'port':_0x541480[_0x286b64(0x19a)],'auth':_0x541480[_0x286b64(0x128)]||_0x541480[_0x286b64(0x175)]?(_0x541480['username']??'')+':'+(_0x541480['password']??''):undefined}),_0x342fe0=_0x9bc564[_0x286b64(0x16d)][_0x286b64(0x151)](_0x9bc564),_0xdb6c2d=getHttpsAgentOptions(_0x268035,_0x4cd1d7);return _0x9bc564[_0x286b64(0x16d)]=(_0x2a1416,_0x2684ac)=>{return _0x342fe0(_0x2a1416,{..._0x2684ac,..._0xdb6c2d});},_0x9bc564;}function getHttpsAgentOptions(_0x3b2c49,_0x1d1793){const _0x5f57b0=a6_0xa039b2,_0x4000eb={'checkServerIdentity':(_0x34166b,_0x2a352c)=>{const _0x306f18=a6_0xee46;if(_0x3b2c49[_0x306f18(0x196)])return undefined;const _0x508066=(0x0,crypto_1[_0x306f18(0x14a)])(_0x306f18(0x1b7))[_0x306f18(0x17c)](_0x2a352c['pubkey'])[_0x306f18(0x176)](_0x306f18(0x17b));return _0x3b2c49['pinnedCerts'][_0x306f18(0x18d)](_0x508066)?undefined:new Error(_0x306f18(0x127));}};let _0x543341;if(_0x3b2c49['caPath'])try{_0x543341=(0x0,fs_1[_0x5f57b0(0x199)])(_0x3b2c49[_0x5f57b0(0x156)],'ascii');}catch(_0x233d71){_0x1d1793[_0x5f57b0(0x1a2)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x3b2c49[_0x5f57b0(0x156)]+_0x5f57b0(0x142));}if(_0x543341){const _0x7cd284=(0x0,tls_1[_0x5f57b0(0x12b)])(_0x4000eb);_0x7cd284['context'][_0x5f57b0(0x132)](_0x543341),_0x4000eb['secureContext']=_0x7cd284;}return _0x4000eb;}
|
|
1
|
+
const a6_0x4b13ad=a6_0x1251;function a6_0x18bb(){const _0x1e65c5=['getJsonStringSizeInBytes','floor','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/compressedLogFileV2/','port','message','createGzip','secureContext','readFileSync','7iAOxfk','4558763dpTRAw','https','addCACert','/appOnlyActionHits/','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','/log/','transmissionBulkMaxSize','Transmitting\x20breakpoint\x20updates...','lastLogCollectionTime','clearTransmissionTimeout','listBreakpoints','statSync','\x20for\x20request\x20','load','token','1528893oiZVBF','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','getRedactions','transmitBreakpointUpdates','pinnedCerts','78HMvVIi','password','Breakpoint\x20','Bearer\x20','length','CancelToken','/blacklist?successOnTimeout=true','push','source','host','memory-streams','Deregister\x20agent\x20before\x20shutdown','\x20seconds','constructor','Certificate\x20Pinning\x20Failed!','pubkey','apiUrl','nextWaitToken','WritableStream','breakpointId:\x20','stringify','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','js-yaml','context','apply','https://','search','makeRequest','size','\x20transmitted\x20successfully','pipeline','debug','apiEndpoint','4472072LDbCJs','Controller','shift','cancel','/controller','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','maxLogFileBytes','https-proxy-agent','Failed\x20to\x20read\x20pem\x20file\x20\x22','callback','max','225535sDJsBR','now',',\x20sending\x20only\x20one','update','agentLog','data','uri','proxy','./util/utils','crypto','status','toBuffer','finally','noCheckCertificate','application/octet-stream','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','warn','Using\x20proxy\x20configuration:\x20','info','Getting\x20blocklist','Timeout\x20occurred\x20after\x20','\x20for\x20request\x20id\x20','axios','ascii','should\x20have\x20a\x20registered\x20debuggee','@google-cloud/common','getBlocklist','create','transmissionQueue','register','number','collectCooldownMs','deregister','ServiceObject','\x20and\x20enqueue\x20to\x20queue','then','Agent','waitToken','breakpoint\x20','465628JOSTYL','unknown\x20error\x20-\x20request\x20response\x20missing','34JoRiTu','POST','config','bind','transmissionHardMaxNetworkSizeLimitInBytes','querystring','debuggee','sha256','caPath','79695aMBvOq','sendBreakpointLogsToServer','transmissionBulkMaxNetworkSizeInBytes','request','assert','zlib','/redaction','\x20Error:\x20','default','\x20finished\x20with\x20status\x20','10bNJMhc','catch','method','PUT','createReadStream','stream','failed\x20to\x20serialize\x20breakpoint\x20','lightrunSecret','logger','Failed\x20to\x20send\x20log\x20file\x20','/deregister/',',\x20Message:\x20','username','response','error',',\x20username:\x20','sendAgentLogsToServer','transmissionTimeout','reject','__esModule','/debuggees/','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','2154476wMkbPo','hex','Successfully\x20sent\x20log\x20file\x20'];a6_0x18bb=function(){return _0x1e65c5;};return a6_0x18bb();}(function(_0x53efcd,_0x1b87d1){const _0x372e8e=a6_0x1251,_0x2e6672=_0x53efcd();while(!![]){try{const _0x2f5242=-parseInt(_0x372e8e(0x1d6))/0x1+-parseInt(_0x372e8e(0x1d8))/0x2*(-parseInt(_0x372e8e(0x142))/0x3)+-parseInt(_0x372e8e(0x162))/0x4+parseInt(_0x372e8e(0x1af))/0x5*(parseInt(_0x372e8e(0x183))/0x6)+-parseInt(_0x372e8e(0x16e))/0x7*(-parseInt(_0x372e8e(0x1a4))/0x8)+parseInt(_0x372e8e(0x17e))/0x9*(parseInt(_0x372e8e(0x14c))/0xa)+-parseInt(_0x372e8e(0x16f))/0xb;if(_0x2f5242===_0x1b87d1)break;else _0x2e6672['push'](_0x2e6672['shift']());}catch(_0x2eec2f){_0x2e6672['push'](_0x2e6672['shift']());}}}(a6_0x18bb,0x5502a));const a6_0xda8ba1=(function(){let _0x3ba68a=!![];return function(_0x3de444,_0x15d62b){const _0x50a418=_0x3ba68a?function(){const _0x41b2fd=a6_0x1251;if(_0x15d62b){const _0xdec717=_0x15d62b[_0x41b2fd(0x19b)](_0x3de444,arguments);return _0x15d62b=null,_0xdec717;}}:function(){};return _0x3ba68a=![],_0x50a418;};}()),a6_0x138721=a6_0xda8ba1(this,function(){const _0x5793b6=a6_0x1251;return a6_0x138721['toString']()[_0x5793b6(0x19d)]('(((.+)+)+)+$')['toString']()[_0x5793b6(0x190)](a6_0x138721)[_0x5793b6(0x19d)]('(((.+)+)+)+$');});a6_0x138721();'use strict';Object['defineProperty'](exports,a6_0x4b13ad(0x15f),{'value':!![]}),exports[a6_0x4b13ad(0x1a5)]=void 0x0;const common_1=require(a6_0x4b13ad(0x1c8)),assert=require(a6_0x4b13ad(0x146)),qs=require(a6_0x4b13ad(0x13e)),fs_1=require('fs'),crypto_1=require(a6_0x4b13ad(0x1b8)),zlib_1=require(a6_0x4b13ad(0x147)),stream_1=require(a6_0x4b13ad(0x151)),memory_streams_1=require(a6_0x4b13ad(0x18d)),tls_1=require('tls'),extend=require('extend'),axios_1=require(a6_0x4b13ad(0x1c5)),https=require(a6_0x4b13ad(0x170)),utils_1=require(a6_0x4b13ad(0x1b7)),HttpsProxyAgent=require(a6_0x4b13ad(0x1ab)),yaml=require(a6_0x4b13ad(0x199)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0x1251(_0x23187b,_0x5f4287){const _0xbb61e4=a6_0x18bb();return a6_0x1251=function(_0x138721,_0xda8ba1){_0x138721=_0x138721-0x13d;let _0x18bb33=_0xbb61e4[_0x138721];return _0x18bb33;},a6_0x1251(_0x23187b,_0x5f4287);}class Controller extends common_1[a6_0x4b13ad(0x1d0)]{constructor(_0x8e9d67,_0x5bf119,_0x2a09f1){const _0x5c931e=a6_0x4b13ad;super({'parent':_0x8e9d67,'baseUrl':_0x5c931e(0x1a8)}),this['nextWaitToken']=null,this[_0x5c931e(0x1da)]=_0x5bf119,this[_0x5c931e(0x1cb)]=[],this[_0x5c931e(0x154)]=_0x2a09f1,this[_0x5c931e(0x193)]=_0x5c931e(0x19c)+_0x5bf119[_0x5c931e(0x1a3)]+_0x5c931e(0x160),this[_0x5c931e(0x1c5)]=axios_1[_0x5c931e(0x14a)][_0x5c931e(0x1ca)]({'httpsAgent':getProxyAgent(_0x5bf119,_0x2a09f1)??new https[(_0x5c931e(0x1d3))](getHttpsAgentOptions(_0x5bf119,_0x2a09f1)),'proxy':![]});}[a6_0x4b13ad(0x1cc)](_0x3bb650,_0x15da51){const _0x5ebbeb=a6_0x4b13ad,_0x16c47={'uri':this[_0x5ebbeb(0x193)]+'register','method':'POST','json':!![],'body':{'debuggee':_0x3bb650}};this[_0x5ebbeb(0x19e)](_0x16c47,(_0x3fcc1a,_0x4fbeb8,_0x4c1f43)=>{const _0x2c212c=_0x5ebbeb;if(!_0x4c1f43)_0x15da51(_0x3fcc1a||new Error(_0x2c212c(0x1d7)));else{if(_0x3fcc1a){let _0x2beb88=![];_0x4c1f43[_0x2c212c(0x1b9)]===HTTP_UPGRADE_REQUIRED&&_0x4fbeb8&&(_0x4fbeb8[_0x2c212c(0x16a)]!==undefined&&(_0x3fcc1a[_0x2c212c(0x16a)]=_0x4fbeb8[_0x2c212c(0x16a)]),_0x3bb650['id']=_0x4fbeb8[_0x2c212c(0x13f)]['id'],_0x2beb88=!![]),_0x15da51(_0x3fcc1a,_0x4fbeb8,_0x2beb88);}else{if(_0x4c1f43[_0x2c212c(0x1b9)]!==HTTP_SUCCESS)_0x15da51(new Error('unable\x20to\x20register,\x20status\x20'+_0x4c1f43['status']));else!_0x4fbeb8?.[_0x2c212c(0x13f)]?_0x15da51(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x3bb650['id']=_0x4fbeb8['debuggee']['id'],_0x15da51(null,_0x4fbeb8));}}});}[a6_0x4b13ad(0x179)](_0x4489e9,_0x3599cd,_0x3fe3d6){const _0x1ccea9=a6_0x4b13ad,_0x1e8451=this;assert(_0x4489e9['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x51aa23={'successOnTimeout':!![]};_0x1e8451[_0x1ccea9(0x194)]&&(_0x51aa23[_0x1ccea9(0x1d4)]=_0x1e8451[_0x1ccea9(0x194)]);const _0x501dae=this[_0x1ccea9(0x193)]+encodeURIComponent(_0x4489e9['id'])+'/breakpoints?'+qs[_0x1ccea9(0x197)](_0x51aa23);_0x1e8451[_0x1ccea9(0x19e)]({'uri':_0x501dae,'json':!![]},(_0x33f79a,_0xf2823d,_0x116678)=>{const _0x2384c4=_0x1ccea9;if(!_0x116678){_0x3599cd(_0x33f79a||new Error(_0x2384c4(0x1d7)));return;}else{if(!is2xx(_0x116678['status'])){_0x3599cd(new Error(_0x2384c4(0x173)+_0x116678['status']),_0x116678);return;}else _0xf2823d&&(_0x1e8451[_0x2384c4(0x194)]=_0xf2823d[_0x2384c4(0x194)]),_0x3599cd(null,_0x116678,_0xf2823d);}},_0x3fe3d6);}['enqueueBreakpointUpdate'](_0x32d6e9,_0x4b3cdc){const _0x5665e9=a6_0x4b13ad;assert(_0x32d6e9['id'],_0x5665e9(0x1c7));try{const _0x188270=JSON[_0x5665e9(0x197)](_0x4b3cdc),_0x41777c=(0x0,utils_1[_0x5665e9(0x165)])(_0x188270);if(_0x41777c>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this['logger']['warn'](_0x5665e9(0x196)+_0x4b3cdc['id']+'\x20size\x20is\x20'+_0x41777c+_0x5665e9(0x1be)+this[_0x5665e9(0x1da)][_0x5665e9(0x13d)]);return;}this[_0x5665e9(0x1cb)][_0x5665e9(0x18a)]({'id':_0x4b3cdc['id'],'serializedJson':_0x188270,'number':0x0});if(!this[_0x5665e9(0x15d)]){const _0x14dd4f=this;this[_0x5665e9(0x15d)]=setTimeout(()=>_0x14dd4f[_0x5665e9(0x181)][_0x5665e9(0x1db)](_0x14dd4f)(_0x32d6e9['id']),0x0);}}catch(_0x276ca0){this[_0x5665e9(0x154)][_0x5665e9(0x15a)](_0x5665e9(0x152)+_0x4b3cdc['id']+_0x5665e9(0x1d1),_0x276ca0);return;}}[a6_0x4b13ad(0x178)](){const _0x4c6f70=a6_0x4b13ad;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x4c6f70(0x15d)]),this[_0x4c6f70(0x15d)]=null;}[a6_0x4b13ad(0x1cf)](_0x125b96,_0x951db0){const _0x4a5b5d=a6_0x4b13ad,_0x47b656=this['apiUrl']+encodeURIComponent(_0x125b96['id'])+_0x4a5b5d(0x156),_0xa0793a={'uri':_0x47b656,'method':_0x4a5b5d(0x1d9),'json':!![]};this[_0x4a5b5d(0x154)]['info'](_0x4a5b5d(0x18e)),this['makeRequest'](_0xa0793a,(_0x4717b1,_0xe83bc1,_0xb9ce38)=>{const _0x2ddc8b=_0x4a5b5d;(!_0xb9ce38||Math[_0x2ddc8b(0x166)](_0xb9ce38['status']/0x64)!==0x2)&&this[_0x2ddc8b(0x154)][_0x2ddc8b(0x1bf)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x4717b1),_0x951db0(_0x4717b1);});}[a6_0x4b13ad(0x143)](_0x48abb1,_0xc89682,_0x40991c){const _0x54404b=a6_0x4b13ad,_0x3b6bd8=this['apiUrl']+encodeURIComponent(_0x48abb1['id'])+_0x54404b(0x174),_0x4cbb5f={'uri':_0x3b6bd8,'method':_0x54404b(0x1d9),'json':!![],'body':_0xc89682};this[_0x54404b(0x19e)](_0x4cbb5f,(_0x55461f,_0x1e8273,_0x10b27e)=>{const _0x37dfb8=_0x54404b;(!_0x10b27e||Math[_0x37dfb8(0x166)](_0x10b27e[_0x37dfb8(0x1b9)]/0x64)!==0x2)&&(this[_0x37dfb8(0x154)][_0x37dfb8(0x1bf)](_0x37dfb8(0x167)+_0x55461f),_0x40991c(_0x55461f));});}['sendAppOnlyBreakpointHitsToServer'](_0x3a4fd6,_0x76ba06,_0x39a598){const _0x4bda77=a6_0x4b13ad,_0x2b68ef=this['apiUrl']+encodeURIComponent(_0x3a4fd6['id'])+_0x4bda77(0x172),_0x164478={'uri':_0x2b68ef,'method':'POST','json':!![],'body':_0x76ba06};this['makeRequest'](_0x164478,(_0x4d9e86,_0x801a43,_0x5c00b9)=>{const _0xe3bc89=_0x4bda77;(!_0x5c00b9||Math[_0xe3bc89(0x166)](_0x5c00b9[_0xe3bc89(0x1b9)]/0x64)!==0x2)&&(this['logger'][_0xe3bc89(0x1bf)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4d9e86),_0x39a598(_0x4d9e86));});}[a6_0x4b13ad(0x15c)](_0x1ec009,_0x14e3ac,_0x5e96da){const _0x9eeb14=a6_0x4b13ad;assert(_0x1ec009['id'],_0x9eeb14(0x1c7));if(this[_0x9eeb14(0x177)]){const _0x221c18=Date[_0x9eeb14(0x1b0)](),_0x1e8ab6=this[_0x9eeb14(0x177)]+this[_0x9eeb14(0x1da)][_0x9eeb14(0x1b3)][_0x9eeb14(0x1ce)];if(_0x221c18<_0x1e8ab6){this[_0x9eeb14(0x154)]['info'](_0x9eeb14(0x161)+((_0x1e8ab6-_0x221c18)/0x3e8+_0x9eeb14(0x18f)));return;}}const _0x51162c=(0x0,fs_1[_0x9eeb14(0x17a)])(_0x5e96da)[_0x9eeb14(0x19f)],_0x4b5097=Math[_0x9eeb14(0x1ae)](0x0,_0x51162c-this[_0x9eeb14(0x1da)][_0x9eeb14(0x1b3)][_0x9eeb14(0x1aa)]),_0x2e8c72=(0x0,fs_1[_0x9eeb14(0x150)])(_0x5e96da,{'start':_0x4b5097}),_0x491b14=(0x0,zlib_1[_0x9eeb14(0x16b)])(),_0x529e89=new memory_streams_1[(_0x9eeb14(0x195))](),_0x803e6=this;_0x803e6[_0x9eeb14(0x154)][_0x9eeb14(0x1c1)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x5e96da+_0x9eeb14(0x1c4)+_0x14e3ac),(0x0,stream_1[_0x9eeb14(0x1a1)])(_0x2e8c72,_0x491b14,_0x529e89,_0x596f0d=>{const _0x25d0bb=_0x9eeb14;if(_0x596f0d)_0x803e6[_0x25d0bb(0x154)][_0x25d0bb(0x15a)]('Failed\x20to\x20zip\x20'+_0x5e96da+':\x20'+_0x596f0d);else{const _0x5c174e={'uri':this[_0x25d0bb(0x193)]+encodeURIComponent(_0x1ec009['id'])+_0x25d0bb(0x168)+_0x14e3ac,'method':'PUT','body':_0x529e89[_0x25d0bb(0x1ba)](),'headers':{'Content-Type':_0x25d0bb(0x1bd)}};_0x803e6[_0x25d0bb(0x19e)](_0x5c174e,_0x395adf=>{const _0x59eb35=_0x25d0bb;_0x395adf?_0x803e6['logger'][_0x59eb35(0x15a)](_0x59eb35(0x155)+_0x5e96da+_0x59eb35(0x17b)+_0x14e3ac,_0x395adf):(_0x803e6[_0x59eb35(0x154)]['info'](_0x59eb35(0x164)+_0x5e96da+_0x59eb35(0x17b)+_0x14e3ac),_0x803e6[_0x59eb35(0x177)]=Date['now']());});}});}['transmitBreakpointUpdates'](_0x13a8a9){const _0x5bf4ee=a6_0x4b13ad;this[_0x5bf4ee(0x154)][_0x5bf4ee(0x1a2)](_0x5bf4ee(0x176)),this['transmissionTimeout']=undefined;const _0x4a0233=[];let _0x25c0de=0x0;while(_0x4a0233[_0x5bf4ee(0x187)]<this['config'][_0x5bf4ee(0x175)]&&this['transmissionQueue'][_0x5bf4ee(0x187)]>0x0){const _0x457443=this[_0x5bf4ee(0x1cb)][0x0],_0x4fa19e=_0x457443['serializedJson'],_0x114d6f=(0x0,utils_1[_0x5bf4ee(0x165)])(_0x4fa19e);_0x25c0de+=_0x114d6f;if(_0x25c0de<=this[_0x5bf4ee(0x1da)][_0x5bf4ee(0x144)])_0x4a0233[_0x5bf4ee(0x18a)](_0x457443),this[_0x5bf4ee(0x1cb)][_0x5bf4ee(0x1a6)]();else{_0x114d6f>this[_0x5bf4ee(0x1da)][_0x5bf4ee(0x144)]&&_0x4a0233['length']===0x0&&(this[_0x5bf4ee(0x154)]['debug'](_0x5bf4ee(0x1d5)+_0x457443['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this['config'][_0x5bf4ee(0x144)]+_0x5bf4ee(0x1b1)),_0x4a0233['push'](_0x457443),this['transmissionQueue'][_0x5bf4ee(0x1a6)]());break;}}if(!_0x4a0233)return;const _0x447db2=_0x4a0233['map'](_0x2fb00c=>_0x2fb00c['id']),_0xa1d570={'uri':this[_0x5bf4ee(0x193)]+encodeURIComponent(_0x13a8a9)+'/breakpoints','json':!![],'method':_0x5bf4ee(0x14f),'body':'['+_0x4a0233['map'](_0x52eecf=>_0x52eecf['serializedJson'])['join'](',')+']'},_0x4fe820=this;try{this['makeRequest'](_0xa1d570,(_0x417ff4,_0x4fee03,_0x27616b)=>{const _0x1f03e7=_0x5bf4ee,_0x194e81=_0x27616b?.[_0x1f03e7(0x1b9)];_0x4fe820[_0x1f03e7(0x154)][_0x1f03e7(0x1a2)]('Update\x20for\x20breakpoints\x20'+_0x447db2+_0x1f03e7(0x14b)+_0x194e81);if(_0x417ff4||!_0x194e81||Math[_0x1f03e7(0x166)](_0x194e81/0x64)!==0x2){const _0x3e9575=_0x194e81&&(_0x194e81>=0x1f4||_0x194e81===0x198);if(_0x3e9575){_0x4fe820[_0x1f03e7(0x154)][_0x1f03e7(0x1bf)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x447db2+_0x1f03e7(0x17f)+_0x194e81+'\x20Error:\x20'+_0x417ff4);for(const _0x237afc of _0x4a0233){_0x237afc[_0x1f03e7(0x1cd)]<MAX_FAILED_SEND_ATTEMPTS?_0x4fe820[_0x1f03e7(0x1cb)]['push']({..._0x237afc,'number':_0x237afc[_0x1f03e7(0x1cd)]+0x1}):_0x4fe820[_0x1f03e7(0x154)][_0x1f03e7(0x1bf)](_0x1f03e7(0x185)+_0x237afc['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x4fe820[_0x1f03e7(0x154)]['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x447db2+_0x1f03e7(0x17f)+_0x194e81+_0x1f03e7(0x149)+_0x417ff4);}else _0x4fe820[_0x1f03e7(0x154)][_0x1f03e7(0x1c1)]('Update\x20for\x20breakpoints\x20'+_0x447db2+_0x1f03e7(0x1a0));_0x4fe820[_0x1f03e7(0x1cb)]['length']>0x0&&(_0x4fe820[_0x1f03e7(0x15d)]=setTimeout(()=>_0x4fe820['transmitBreakpointUpdates'][_0x1f03e7(0x1db)](_0x4fe820)(_0x13a8a9),0x0));},0x28);}catch(_0x5ea2e6){this[_0x5bf4ee(0x154)]['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x447db2+_0x5bf4ee(0x1a9)+_0x5ea2e6+_0x5bf4ee(0x157)+_0x5ea2e6[_0x5bf4ee(0x1b4)]?.[_0x5bf4ee(0x16a)]),_0x4fe820['transmissionQueue'][_0x5bf4ee(0x187)]>0x0&&(_0x4fe820[_0x5bf4ee(0x15d)]=setTimeout(()=>_0x4fe820[_0x5bf4ee(0x181)][_0x5bf4ee(0x1db)](_0x4fe820)(_0x13a8a9),0x0));}}async[a6_0x4b13ad(0x1c9)](_0x3f51bb){const _0xceac0c=a6_0x4b13ad;this['logger'][_0xceac0c(0x1c1)](_0xceac0c(0x1c2));const _0x1c820a=this[_0xceac0c(0x193)]+encodeURIComponent(_0x3f51bb)+_0xceac0c(0x189),{error:_0x2db9e7,data:_0x529ba5}=await this['makeRequest']({'uri':_0x1c820a,'json':!![]});if(_0x2db9e7)return Promise[_0xceac0c(0x15e)](_0x2db9e7);return yaml[_0xceac0c(0x17c)](_0x529ba5)||{};}['makeRequest'](_0x2d24e2,_0x36d45a,_0x5c9f7b,_0x5451d6){const _0x46a3a8=a6_0x4b13ad,_0x4da238={'Content-Type':_0x5451d6?_0x5451d6:'application/json','Authorization':_0x46a3a8(0x186)+this[_0x46a3a8(0x1da)][_0x46a3a8(0x153)]},_0x3a8a07=axios_1[_0x46a3a8(0x14a)][_0x46a3a8(0x188)][_0x46a3a8(0x18b)](),_0xc31421=_0x5c9f7b?_0x5c9f7b*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x46a3a8(0x154)][_0x46a3a8(0x1a2)]('timeout\x20set\x20to\x20'+_0xc31421);const _0x36fd45=setTimeout(()=>{const _0x59e032=_0x46a3a8;this[_0x59e032(0x154)]['warn'](_0x59e032(0x1c3)+_0xc31421+'ms'),_0x3a8a07[_0x59e032(0x1a7)]();},_0xc31421),_0x2d6f51={'method':_0x2d24e2[_0x46a3a8(0x14e)],'url':_0x2d24e2[_0x46a3a8(0x1b5)],'data':_0x2d24e2['body'],'headers':_0x4da238,'cancelToken':_0x3a8a07[_0x46a3a8(0x17d)]};return extend(!![],_0x2d6f51,_0x2d24e2),this['axios'][_0x46a3a8(0x145)](_0x2d6f51)[_0x46a3a8(0x1d2)](_0x4c9c55=>{const _0x25310b=_0x46a3a8;return _0x36d45a?.(null,_0x4c9c55['data'],_0x4c9c55),{'error':null,'data':_0x4c9c55[_0x25310b(0x1b4)],'res':_0x4c9c55};})[_0x46a3a8(0x14d)](_0x19dffb=>{const _0x5bca04=_0x46a3a8;return _0x36d45a?.(_0x19dffb,_0x19dffb[_0x5bca04(0x159)]?.[_0x5bca04(0x1b4)],_0x19dffb[_0x5bca04(0x159)]),{'error':_0x19dffb,'data':_0x19dffb['response']?.[_0x5bca04(0x1b4)],'res':_0x19dffb[_0x5bca04(0x159)]};})[_0x46a3a8(0x1bb)](()=>clearTimeout(_0x36fd45));}async[a6_0x4b13ad(0x180)](_0xb2392c){const _0x558ad8=a6_0x4b13ad;this[_0x558ad8(0x154)][_0x558ad8(0x1c1)]('Getting\x20reductions');const _0x471884=this[_0x558ad8(0x193)]+encodeURIComponent(_0xb2392c)+_0x558ad8(0x148),{error:_0x1a9989,data:_0x217913}=await this[_0x558ad8(0x19e)]({'uri':_0x471884,'json':!![]});if(_0x1a9989)return Promise[_0x558ad8(0x15e)](_0x1a9989);return _0x217913;}}exports[a6_0x4b13ad(0x1a5)]=Controller;function is2xx(_0x5e9275){const _0x2fa9d3=a6_0x4b13ad;return Math[_0x2fa9d3(0x166)](_0x5e9275/0x64)===0x2;}function getProxyAgent(_0x24e6a6,_0x285b5d){const _0x2e5a35=a6_0x4b13ad,_0x943474=_0x24e6a6[_0x2e5a35(0x1b6)];if(!_0x943474?.[_0x2e5a35(0x18c)])return undefined;if(!_0x943474['port'])return _0x285b5d['error'](_0x2e5a35(0x198)),undefined;_0x285b5d[_0x2e5a35(0x1c1)](_0x2e5a35(0x1c0)+_0x943474[_0x2e5a35(0x18c)]+':'+_0x943474[_0x2e5a35(0x169)]+_0x2e5a35(0x15b)+(_0x943474[_0x2e5a35(0x158)]??''));const _0x141e38=new HttpsProxyAgent({'host':_0x943474[_0x2e5a35(0x18c)],'port':_0x943474[_0x2e5a35(0x169)],'auth':_0x943474[_0x2e5a35(0x158)]||_0x943474[_0x2e5a35(0x184)]?(_0x943474[_0x2e5a35(0x158)]??'')+':'+(_0x943474[_0x2e5a35(0x184)]??''):undefined}),_0x38610d=_0x141e38['callback']['bind'](_0x141e38),_0x1248c1=getHttpsAgentOptions(_0x24e6a6,_0x285b5d);return _0x141e38[_0x2e5a35(0x1ad)]=(_0x49d29c,_0x3cbb42)=>{return _0x38610d(_0x49d29c,{..._0x3cbb42,..._0x1248c1});},_0x141e38;}function getHttpsAgentOptions(_0x4881ea,_0x4007ed){const _0x5cfb0b=a6_0x4b13ad,_0x46fe80={'checkServerIdentity':(_0x10ebe3,_0x6e9b6b)=>{const _0x26c1ac=a6_0x1251;if(_0x4881ea[_0x26c1ac(0x1bc)])return undefined;const _0x1a5363=(0x0,crypto_1['createHash'])(_0x26c1ac(0x140))[_0x26c1ac(0x1b2)](_0x6e9b6b[_0x26c1ac(0x192)])['digest'](_0x26c1ac(0x163));return _0x4881ea[_0x26c1ac(0x182)]['includes'](_0x1a5363)?undefined:new Error(_0x26c1ac(0x191));}};let _0x3a4f25;if(_0x4881ea['caPath'])try{_0x3a4f25=(0x0,fs_1[_0x5cfb0b(0x16d)])(_0x4881ea[_0x5cfb0b(0x141)],_0x5cfb0b(0x1c6));}catch(_0x2726b1){_0x4007ed[_0x5cfb0b(0x1bf)](_0x5cfb0b(0x1ac)+_0x4881ea['caPath']+'\x22\x20-\x20ignoring\x20it');}if(_0x3a4f25){const _0x5a6299=(0x0,tls_1['createSecureContext'])(_0x46fe80);_0x5a6299[_0x5cfb0b(0x19a)][_0x5cfb0b(0x171)](_0x3a4f25),_0x46fe80[_0x5cfb0b(0x16c)]=_0x5a6299;}return _0x46fe80;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a7_0xe1f8(){const _0x5309e5=['createDebuggee','default','1035500xtWOkc','UNSPECIFIED','../../client/stackdriver/status-message','(((.+)+)+)+$','17742mXhCjq','118146VVlFqW','name','16BrxaMZ','3123072WXihGW','versions','64TtOUoT','stringify','./createDebuggeeMetadata','cwd','360ShZrqX','utf-8','minorVersion_','relative','sourceContexts','177026sWCYvL','node','toString','120441EQJmgm','216713RiXKdQ','constructor','getPlatform','title','encodeBase64','base64','service','../../debuggee','string','search','serviceContext','createDebuggeeMetadata','apply','version'];a7_0xe1f8=function(){return _0x5309e5;};return a7_0xe1f8();}const a7_0x2945b3=a7_0x4994;(function(_0x44537c,_0x45c2d1){const _0x520141=a7_0x4994,_0xcf9f60=_0x44537c();while(!![]){try{const _0x263c7a=-parseInt(_0x520141(0x1ae))/0x1+parseInt(_0x520141(0x1bc))/0x2+parseInt(_0x520141(0x1bf))/0x3*(-parseInt(_0x520141(0x1b0))/0x4)+-parseInt(_0x520141(0x1b7))/0x5*(-parseInt(_0x520141(0x1ad))/0x6)+-parseInt(_0x520141(0x199))/0x7*(parseInt(_0x520141(0x1b3))/0x8)+parseInt(_0x520141(0x1b1))/0x9+parseInt(_0x520141(0x1a9))/0xa;if(_0x263c7a===_0x45c2d1)break;else _0xcf9f60['push'](_0xcf9f60['shift']());}catch(_0x168d5a){_0xcf9f60['push'](_0xcf9f60['shift']());}}}(a7_0xe1f8,0x37121));const a7_0x187c72=(function(){let _0x180dcb=!![];return function(_0x66aed1,_0x1b7132){const _0x48ba3d=_0x180dcb?function(){const _0x387c50=a7_0x4994;if(_0x1b7132){const _0x5ce5dc=_0x1b7132[_0x387c50(0x1a5)](_0x66aed1,arguments);return _0x1b7132=null,_0x5ce5dc;}}:function(){};return _0x180dcb=![],_0x48ba3d;};}()),a7_0x1b2d79=a7_0x187c72(this,function(){const _0x15bf8b=a7_0x4994;return a7_0x1b2d79[_0x15bf8b(0x1be)]()[_0x15bf8b(0x1a2)](_0x15bf8b(0x1ac))[_0x15bf8b(0x1be)]()[_0x15bf8b(0x19a)](a7_0x1b2d79)[_0x15bf8b(0x1a2)]('(((.+)+)+)+$');});a7_0x1b2d79();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a7_0x2945b3(0x1a7)]=exports[a7_0x2945b3(0x19d)]=void 0x0;function a7_0x4994(_0x13c464,_0x354423){const _0x1ad764=a7_0xe1f8();return a7_0x4994=function(_0x1b2d79,_0x187c72){_0x1b2d79=_0x1b2d79-0x199;let _0xe1f8d0=_0x1ad764[_0x1b2d79];return _0xe1f8d0;},a7_0x4994(_0x13c464,_0x354423);}const path=require('path'),status_message_1=require(a7_0x2945b3(0x1ab)),debuggee_1=require(a7_0x2945b3(0x1a0)),createDebuggeeMetadata_1=require(a7_0x2945b3(0x1b5)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require('./getPlatform'),encodeBase64=_0x37c6cc=>Buffer['from'](_0x37c6cc,a7_0x2945b3(0x1b8))['toString'](a7_0x2945b3(0x19e));exports['encodeBase64']=encodeBase64;const createDebuggee=(_0x47e8bf,_0x37bcda,_0x11864e,_0xd71fc9,_0x4ae0e7,_0x51d56c,_0xfd827e,_0x1611a2)=>{const _0x3c5624=a7_0x2945b3,_0x13edf3=process[_0x3c5624(0x1b6)](),_0x2dcd8b=path[_0x3c5624(0x1ba)](_0x13edf3,process['argv'][0x1]),_0x794caa={'main\x20script':_0x2dcd8b,'process.title':process[_0x3c5624(0x19c)],'node\x20version':process[_0x3c5624(0x1b2)][_0x3c5624(0x1bd)],'V8\x20version':process['versions']['v8'],'agent.name':_0xd71fc9[_0x3c5624(0x1af)],'agent.version':_0x4ae0e7,'platform':(0x0,getPlatform_1[_0x3c5624(0x19b)])()},_0x2dbefc=_0x37bcda[_0x3c5624(0x1a3)];_0x2dbefc&&(typeof _0x2dbefc[_0x3c5624(0x19f)]===_0x3c5624(0x1a1)&&_0x2dbefc[_0x3c5624(0x19f)]!==_0x3c5624(0x1a8)&&(_0x794caa['module']=_0x2dbefc['service']),typeof _0x2dbefc[_0x3c5624(0x1a6)]===_0x3c5624(0x1a1)&&(_0x794caa[_0x3c5624(0x1a6)]=_0x2dbefc[_0x3c5624(0x1a6)]),typeof _0x2dbefc[_0x3c5624(0x1b9)]===_0x3c5624(0x1a1)&&(_0x794caa['minorversion']=_0x2dbefc[_0x3c5624(0x1b9)]));const _0xc67d68=(0x0,createUniquifier_1['createUniquifier'])(_0x4ae0e7,_0x47e8bf,_0x11864e,_0x794caa),_0x1ace27=_0x1611a2?new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x3c5624(0x1aa)],_0x1611a2,!![]):undefined,_0x1f6149=(0x0,createDebuggeeMetadata_1[_0x3c5624(0x1a4)])(_0x37bcda,_0x51d56c),_0x590eeb={'uniquifier':_0xc67d68,'agentVersion':_0x4ae0e7,'labels':{'metadataV2':(0x0,exports['encodeBase64'])(JSON[_0x3c5624(0x1b4)](_0x1f6149))},'statusMessage':_0x1ace27,'packageInfo':_0xd71fc9,..._0xfd827e};return _0x11864e&&(_0x590eeb[_0x3c5624(0x1bb)]=[_0x11864e]),new debuggee_1['Debuggee'](_0x590eeb);};exports[a7_0x2945b3(0x1a7)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8_0x55f7bf=a8_0x17ae;(function(_0x5389c5,_0x3ceec2){const _0x16f772=a8_0x17ae,_0x3217a1=_0x5389c5();while(!![]){try{const _0x4ac0c8=parseInt(_0x16f772(0x1d8))/0x1*(parseInt(_0x16f772(0x1cc))/0x2)+-parseInt(_0x16f772(0x1cf))/0x3*(-parseInt(_0x16f772(0x1d4))/0x4)+-parseInt(_0x16f772(0x1d9))/0x5+-parseInt(_0x16f772(0x1db))/0x6+-parseInt(_0x16f772(0x1dd))/0x7+parseInt(_0x16f772(0x1c8))/0x8*(-parseInt(_0x16f772(0x1de))/0x9)+parseInt(_0x16f772(0x1d7))/0xa;if(_0x4ac0c8===_0x3ceec2)break;else _0x3217a1['push'](_0x3217a1['shift']());}catch(_0x4f048c){_0x3217a1['push'](_0x3217a1['shift']());}}}(a8_0x5762,0xe4f8f));const a8_0x11b589=(function(){let _0x322f9c=!![];return function(_0x517830,_0x1059f4){const _0x487f6d=_0x322f9c?function(){const _0x3b5c2e=a8_0x17ae;if(_0x1059f4){const _0x11be62=_0x1059f4[_0x3b5c2e(0x1cd)](_0x517830,arguments);return _0x1059f4=null,_0x11be62;}}:function(){};return _0x322f9c=![],_0x487f6d;};}()),a8_0x3247ec=a8_0x11b589(this,function(){const _0xc27ffb=a8_0x17ae;return a8_0x3247ec[_0xc27ffb(0x1ce)]()[_0xc27ffb(0x1d0)](_0xc27ffb(0x1dc))[_0xc27ffb(0x1ce)]()[_0xc27ffb(0x1d3)](a8_0x3247ec)[_0xc27ffb(0x1d0)](_0xc27ffb(0x1dc));});a8_0x3247ec();'use strict';function a8_0x17ae(_0x228168,_0x3cba0d){const _0x16b7c7=a8_0x5762();return a8_0x17ae=function(_0x3247ec,_0x11b589){_0x3247ec=_0x3247ec-0x1c8;let _0x576211=_0x16b7c7[_0x3247ec];return _0x576211;},a8_0x17ae(_0x228168,_0x3cba0d);}Object[a8_0x55f7bf(0x1d6)](exports,a8_0x55f7bf(0x1da),{'value':!![]}),exports[a8_0x55f7bf(0x1e3)]=void 0x0;function a8_0x5762(){const _0x2b70c2=['constructor','3599112ZCmCDg','metadata','defineProperty','38693030cTSixI','1jLJdxx','1948930tKOyMc','__esModule','3075114JnKPsU','(((.+)+)+)+$','12535453fKdGxG','510795cXZonk','extend','parse','string','registration','createDebuggeeMetadata','216NckhtP','utf-8','readFileSync','Failed\x20to\x20read\x20metadata\x20file\x20','788518pKdsBv','apply','toString','3GBAVJK','search','filename','map'];a8_0x5762=function(){return _0x2b70c2;};return a8_0x5762();}const fs=require('fs'),extend=require(a8_0x55f7bf(0x1df)),createDebuggeeMetadata=(_0x3f66db,_0x5d3fe1)=>{const _0x5aaf09=a8_0x55f7bf;let _0x53a566={'registration':{}};if(_0x3f66db[_0x5aaf09(0x1d5)]?.[_0x5aaf09(0x1d1)])try{_0x53a566=JSON[_0x5aaf09(0x1e0)](fs[_0x5aaf09(0x1ca)](_0x3f66db[_0x5aaf09(0x1d5)]['filename'],_0x5aaf09(0x1c9)));}catch(_0x2f1659){_0x5d3fe1['warn'](_0x5aaf09(0x1cb)+_0x3f66db[_0x5aaf09(0x1d5)][_0x5aaf09(0x1d1)],_0x2f1659);}return _0x53a566[_0x5aaf09(0x1e2)]=extend(!![],{},_0x3f66db[_0x5aaf09(0x1d5)]?.[_0x5aaf09(0x1e2)],_0x53a566[_0x5aaf09(0x1e2)]),_0x53a566['registration']?.['tags']&&(_0x53a566['registration']['tags']=_0x53a566['registration']['tags'][_0x5aaf09(0x1d2)](_0x18b361=>typeof _0x18b361===_0x5aaf09(0x1e1)?{'name':_0x18b361}:_0x18b361)),_0x53a566;};exports[a8_0x55f7bf(0x1e3)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x1360d5=a9_0x39da;(function(_0x17bb0d,_0x435ae9){const _0x10821e=a9_0x39da,_0x12fb38=_0x17bb0d();while(!![]){try{const _0x271d93=-parseInt(_0x10821e(0xce))/0x1+parseInt(_0x10821e(0xdc))/0x2*(parseInt(_0x10821e(0xd7))/0x3)+parseInt(_0x10821e(0xd2))/0x4+-parseInt(_0x10821e(0xda))/0x5+-parseInt(_0x10821e(0xd1))/0x6+parseInt(_0x10821e(0xd6))/0x7+parseInt(_0x10821e(0xd3))/0x8*(-parseInt(_0x10821e(0xdf))/0x9);if(_0x271d93===_0x435ae9)break;else _0x12fb38['push'](_0x12fb38['shift']());}catch(_0xb99a78){_0x12fb38['push'](_0x12fb38['shift']());}}}(a9_0x1922,0x8928c));function a9_0x39da(_0x35a5c5,_0x3dfe1a){const _0x7efd30=a9_0x1922();return a9_0x39da=function(_0x19c22a,_0x4b644a){_0x19c22a=_0x19c22a-0xcd;let _0x192299=_0x7efd30[_0x19c22a];return _0x192299;},a9_0x39da(_0x35a5c5,_0x3dfe1a);}const a9_0x4b644a=(function(){let _0x3f343f=!![];return function(_0x31221f,_0x298738){const _0x1439f5=_0x3f343f?function(){const _0x5a4a03=a9_0x39da;if(_0x298738){const _0x7cca29=_0x298738[_0x5a4a03(0xde)](_0x31221f,arguments);return _0x298738=null,_0x7cca29;}}:function(){};return _0x3f343f=![],_0x1439f5;};}()),a9_0x19c22a=a9_0x4b644a(this,function(){const _0x3f0897=a9_0x39da;return a9_0x19c22a[_0x3f0897(0xcf)]()[_0x3f0897(0xd0)]('(((.+)+)+)+$')[_0x3f0897(0xcf)]()[_0x3f0897(0xd4)](a9_0x19c22a)['search'](_0x3f0897(0xd9));});a9_0x19c22a();'use strict';Object[a9_0x1360d5(0xe0)](exports,'__esModule',{'value':!![]}),exports[a9_0x1360d5(0xcd)]=void 0x0;const crypto=require('crypto'),createUniquifier=(_0xaab412,_0x5db882,_0x545752,_0xae69ab)=>{const _0x5eb263=a9_0x1360d5,_0x5a20d8=_0xaab412+_0x5db882+JSON['stringify'](_0x545752)+JSON['stringify'](_0xae69ab);return crypto[_0x5eb263(0xd8)]('sha1')[_0x5eb263(0xd5)](_0x5a20d8)[_0x5eb263(0xdb)](_0x5eb263(0xdd));};exports[a9_0x1360d5(0xcd)]=createUniquifier;function a9_0x1922(){const _0x11ab11=['toString','search','1655058fmughi','3340256mWOICf','458392ILTNtl','constructor','update','4349037dPNUvR','1002KuafgC','createHash','(((.+)+)+)+$','3898310jgWelP','digest','3714RjVwNw','hex','apply','27wCKLYf','defineProperty','createUniquifier','287387LsCses'];a9_0x1922=function(){return _0x11ab11;};return a9_0x1922();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a10_0x2fbe(){const _0x4f8738=['40jzDRmK','147150TgxnII','1073808ejaxff','toString','length','111063mkkXNf','18YMCkvE','apply','constructor','delimit','split','3bnXKPD','1499540JTONuG','369159sjVuuB','2737970iXqCuD','search','push','621814ftGmqH','(((.+)+)+)+$','__esModule'];a10_0x2fbe=function(){return _0x4f8738;};return a10_0x2fbe();}const a10_0x195569=a10_0x1566;function a10_0x1566(_0xdf3fd5,_0x10bbc5){const _0x14db6b=a10_0x2fbe();return a10_0x1566=function(_0x248b4f,_0x4027e8){_0x248b4f=_0x248b4f-0x193;let _0x2fbe0b=_0x14db6b[_0x248b4f];return _0x2fbe0b;},a10_0x1566(_0xdf3fd5,_0x10bbc5);}(function(_0x3b8a3b,_0x50baaf){const _0xd38752=a10_0x1566,_0x3fd187=_0x3b8a3b();while(!![]){try{const _0x3a1d83=parseInt(_0xd38752(0x1a0))/0x1+parseInt(_0xd38752(0x198))/0x2*(parseInt(_0xd38752(0x1a6))/0x3)+-parseInt(_0xd38752(0x19d))/0x4+-parseInt(_0xd38752(0x193))/0x5+parseInt(_0xd38752(0x19c))/0x6+parseInt(_0xd38752(0x194))/0x7*(-parseInt(_0xd38752(0x19b))/0x8)+-parseInt(_0xd38752(0x1a1))/0x9*(-parseInt(_0xd38752(0x195))/0xa);if(_0x3a1d83===_0x50baaf)break;else _0x3fd187['push'](_0x3fd187['shift']());}catch(_0x238384){_0x3fd187['push'](_0x3fd187['shift']());}}}(a10_0x2fbe,0x278fc));const a10_0x4027e8=(function(){let _0x28da9b=!![];return function(_0x1134f1,_0x28a679){const _0x362415=_0x28da9b?function(){const _0x337a7f=a10_0x1566;if(_0x28a679){const _0x261434=_0x28a679[_0x337a7f(0x1a2)](_0x1134f1,arguments);return _0x28a679=null,_0x261434;}}:function(){};return _0x28da9b=![],_0x362415;};}()),a10_0x248b4f=a10_0x4027e8(this,function(){const _0x1591f5=a10_0x1566;return a10_0x248b4f[_0x1591f5(0x19e)]()[_0x1591f5(0x196)](_0x1591f5(0x199))[_0x1591f5(0x19e)]()[_0x1591f5(0x1a3)](a10_0x248b4f)[_0x1591f5(0x196)]('(((.+)+)+)+$');});a10_0x248b4f();'use strict';Object['defineProperty'](exports,a10_0x195569(0x19a),{'value':!![]}),exports[a10_0x195569(0x1a4)]=void 0x0;const delimit=(_0x6178be,_0x5f54ab)=>{const _0x57a2a3=a10_0x195569,_0x4c68c9=_0x6178be[_0x57a2a3(0x1a5)](_0x5f54ab),_0x1a3b07=[];_0x1a3b07[_0x57a2a3(0x197)](_0x4c68c9[0x0]);for(let _0x49d274=0x1;_0x49d274<_0x4c68c9[_0x57a2a3(0x19f)];_0x49d274++){_0x1a3b07[_0x57a2a3(0x197)]({'v':_0x5f54ab},_0x4c68c9[_0x49d274]);}return _0x1a3b07;};exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x589d81=a11_0x8029;(function(_0x41159d,_0x4ba1b3){const _0x24fc21=a11_0x8029,_0x32900b=_0x41159d();while(!![]){try{const _0x53771e=-parseInt(_0x24fc21(0x160))/0x1+parseInt(_0x24fc21(0x151))/0x2*(parseInt(_0x24fc21(0x15b))/0x3)+parseInt(_0x24fc21(0x15c))/0x4*(-parseInt(_0x24fc21(0x162))/0x5)+parseInt(_0x24fc21(0x152))/0x6+-parseInt(_0x24fc21(0x14e))/0x7*(parseInt(_0x24fc21(0x14f))/0x8)+parseInt(_0x24fc21(0x14d))/0x9+-parseInt(_0x24fc21(0x155))/0xa*(-parseInt(_0x24fc21(0x159))/0xb);if(_0x53771e===_0x4ba1b3)break;else _0x32900b['push'](_0x32900b['shift']());}catch(_0x220fde){_0x32900b['push'](_0x32900b['shift']());}}}(a11_0x57e5,0x91447));const a11_0x350ce0=(function(){let _0x581b64=!![];return function(_0x4c33af,_0x27812a){const _0x29ab13=_0x581b64?function(){const _0x363fac=a11_0x8029;if(_0x27812a){const _0x3cebf7=_0x27812a[_0x363fac(0x15e)](_0x4c33af,arguments);return _0x27812a=null,_0x3cebf7;}}:function(){};return _0x581b64=![],_0x29ab13;};}()),a11_0x213c1f=a11_0x350ce0(this,function(){const _0x1fffb6=a11_0x8029;return a11_0x213c1f[_0x1fffb6(0x153)]()[_0x1fffb6(0x14c)]('(((.+)+)+)+$')['toString']()[_0x1fffb6(0x161)](a11_0x213c1f)[_0x1fffb6(0x14c)](_0x1fffb6(0x150));});a11_0x213c1f();'use strict';Object[a11_0x589d81(0x15d)](exports,a11_0x589d81(0x15a),{'value':!![]}),exports[a11_0x589d81(0x158)]=void 0x0;const tokenize_1=require('./tokenize'),format=(_0x32a9a6,_0x4877cb)=>{const _0x5717bf=a11_0x589d81,_0xa8c87b=(0x0,tokenize_1[_0x5717bf(0x157)])(_0x32a9a6,_0x4877cb[_0x5717bf(0x15f)]);for(let _0x4a5ee4=0x0;_0x4a5ee4<_0xa8c87b[_0x5717bf(0x15f)];_0x4a5ee4++){if(!_0xa8c87b[_0x4a5ee4]['v'])continue;if(_0xa8c87b[_0x4a5ee4]['v']==='$$'){_0xa8c87b[_0x4a5ee4]='$';continue;}for(let _0x2fb521=0x0;_0x2fb521<_0x4877cb[_0x5717bf(0x15f)];_0x2fb521++){if(_0xa8c87b[_0x4a5ee4]['v']==='$'+_0x2fb521){let _0x4e127a=_0x4877cb[_0x2fb521];/^".*"$/[_0x5717bf(0x163)](_0x4e127a)&&(_0x4e127a=_0x4e127a[_0x5717bf(0x156)](0x1,_0x4e127a[_0x5717bf(0x15f)]-0x1));_0xa8c87b[_0x4a5ee4]=_0x4e127a;break;}}}return _0xa8c87b[_0x5717bf(0x154)]('');};function a11_0x57e5(){const _0x3c9ede=['test','search','2504673ysBjNw','14oPdckf','4642952wzViCn','(((.+)+)+)+$','4FXeHgm','1355652uefNsW','toString','join','10fabZnf','substring','tokenize','format','22319209rPGPFr','__esModule','478623avqOmh','44488CYfdoh','defineProperty','apply','length','573853tTKFMg','constructor','235nJkgXp'];a11_0x57e5=function(){return _0x3c9ede;};return a11_0x57e5();}function a11_0x8029(_0x1532cb,_0x2d1844){const _0x3c03c9=a11_0x57e5();return a11_0x8029=function(_0x213c1f,_0x350ce0){_0x213c1f=_0x213c1f-0x14c;let _0x57e527=_0x3c03c9[_0x213c1f];return _0x57e527;},a11_0x8029(_0x1532cb,_0x2d1844);}exports[a11_0x589d81(0x158)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x13b342=a12_0x5261;function a12_0x5261(_0x33950a,_0x8afc6b){const _0x1ebfbb=a12_0x2907();return a12_0x5261=function(_0x19187e,_0x16f877){_0x19187e=_0x19187e-0xa1;let _0x29072a=_0x1ebfbb[_0x19187e];return _0x29072a;},a12_0x5261(_0x33950a,_0x8afc6b);}(function(_0x1abfef,_0x558e1f){const _0x2825b5=a12_0x5261,_0x4b8f0e=_0x1abfef();while(!![]){try{const _0x128b5d=parseInt(_0x2825b5(0xc1))/0x1*(parseInt(_0x2825b5(0xad))/0x2)+-parseInt(_0x2825b5(0xbd))/0x3+parseInt(_0x2825b5(0xb6))/0x4+-parseInt(_0x2825b5(0xc0))/0x5+parseInt(_0x2825b5(0xa2))/0x6*(-parseInt(_0x2825b5(0xaa))/0x7)+parseInt(_0x2825b5(0xb0))/0x8*(-parseInt(_0x2825b5(0xa6))/0x9)+parseInt(_0x2825b5(0xb3))/0xa;if(_0x128b5d===_0x558e1f)break;else _0x4b8f0e['push'](_0x4b8f0e['shift']());}catch(_0x10610e){_0x4b8f0e['push'](_0x4b8f0e['shift']());}}}(a12_0x2907,0x7ebb5));const a12_0x16f877=(function(){let _0x260dcf=!![];return function(_0x3e9816,_0x2beaa3){const _0xa1a51b=_0x260dcf?function(){const _0x6ce0b7=a12_0x5261;if(_0x2beaa3){const _0x46e545=_0x2beaa3[_0x6ce0b7(0xc7)](_0x3e9816,arguments);return _0x2beaa3=null,_0x46e545;}}:function(){};return _0x260dcf=![],_0xa1a51b;};}()),a12_0x19187e=a12_0x16f877(this,function(){const _0x2a8446=a12_0x5261;return a12_0x19187e['toString']()[_0x2a8446(0xc9)](_0x2a8446(0xb9))[_0x2a8446(0xbc)]()[_0x2a8446(0xb2)](a12_0x19187e)['search'](_0x2a8446(0xb9));});a12_0x19187e();function a12_0x2907(){const _0x46b3a3=['max_log_cpu_cost','max_dynamic_log_rate','7yoFnNx','getFloat','ignore_quota','6228sMUZrs','agent_log_level','java-properties','2595344XYJNrx','trim','constructor','9306710NNitBh','apiEndpoint','agent_log_max_file_count','3664832xBibLF','dynamic_log_quota_recovery_ms','getInt','(((.+)+)+)+$','max_snapshot_buffer_size','max_log_file_bytes','toString','1215060iQCVBC','getAgentConfig','proxy_host','2942225OabuMJ','121FjaoOq','pinned_certs','__esModule','agent_log_max_file_size_mb','map','getBoolean','apply','noCheckCertificate','search','transmission_bulk_max_size','extra_paths','max_snapshot_frame_count','proxy_password','373674ketwPG','agent_log_target_dir','getFirst','existsSync','18LkhGCD','proxy_username'];a12_0x2907=function(){return _0x46b3a3;};return a12_0x2907();}'use strict';Object['defineProperty'](exports,a12_0x13b342(0xc3),{'value':!![]}),exports[a12_0x13b342(0xbe)]=void 0x0;const properties=require(a12_0x13b342(0xaf)),fs=require('fs'),getAgentConfig=_0x1dbd30=>{const _0x59655e=a12_0x13b342;if(fs[_0x59655e(0xa5)](_0x1dbd30)){const _0x3a2b60=properties['of'](_0x1dbd30);return{'lightrunSecret':_0x3a2b60[_0x59655e(0xa4)]('com.lightrun.secret'),'apiEndpoint':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xb4)),'breakpointExpirationSec':_0x3a2b60[_0x59655e(0xb8)]('breakpoint_expiration_sec'),'transmissionBulkMaxSize':_0x3a2b60['getInt'](_0x59655e(0xca)),'noCheckCertificate':_0x3a2b60[_0x59655e(0xc6)](_0x59655e(0xc8)),'pinnedCerts':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xc2))?.['split'](','),'metadata':{'filename':_0x3a2b60[_0x59655e(0xa4)]('agent_regmetadata_file')},'capture':{'maxFrames':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xcc)),'maxDataSize':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xba)),'maxSnapshotBufferSize':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xba)),'maxVariableSize':_0x3a2b60['getInt']('max_variable_size'),'maxWatchListVariableSize':_0x3a2b60[_0x59655e(0xb8)]('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x3a2b60[_0x59655e(0xb8)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xa3)),'agentLogLevel':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xae)),'agentLogMaxFileCount':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xb5)),'agentLogMaxFileSizeMb':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xc4)),'maxLogFileBytes':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xbb))},'quota':{'ignoreQuota':_0x3a2b60[_0x59655e(0xc6)](_0x59655e(0xac)),'maxCPUCost':_0x3a2b60['getFloat'](_0x59655e(0xa8)),'maxConditionCost':_0x3a2b60[_0x59655e(0xab)]('max_condition_cost'),'maxDynamicLogRate':_0x3a2b60['getInt'](_0x59655e(0xa9)),'maxDynamicLogByteRate':_0x3a2b60[_0x59655e(0xb8)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xb7))&&_0x3a2b60[_0x59655e(0xb8)](_0x59655e(0xb7))/0x3e8},'fetchBreakpointsOnce':_0x3a2b60['getBoolean']('fetch_breakpoints_once'),'extraPaths':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xcb))?.['split'](',')?.[_0x59655e(0xc5)](_0x39ac76=>_0x39ac76[_0x59655e(0xb1)]()),'proxy':{'host':_0x3a2b60['getFirst'](_0x59655e(0xbf)),'port':_0x3a2b60['getInt']('proxy_port'),'username':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xa7)),'password':_0x3a2b60[_0x59655e(0xa4)](_0x59655e(0xa1))}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x3aacd7=a13_0x4099;function a13_0x4099(_0x3ed914,_0x3af482){const _0x1c0b88=a13_0x115e();return a13_0x4099=function(_0x4ab806,_0x42381e){_0x4ab806=_0x4ab806-0x104;let _0x115e70=_0x1c0b88[_0x4ab806];return _0x115e70;},a13_0x4099(_0x3ed914,_0x3af482);}function a13_0x115e(){const _0x1f6be8=['apply','449616ATFMKw','10CmCBig','8hsfKFZ','179439iQyjXf','toString','defineProperty','CLOUD_FUNCTION','3591IegVOI','714175bLZvfD','Platforms','353498BasNEm','constructor','default','13170MIrfDU','DEFAULT','getPlatform','1872728ZSKYig','(((.+)+)+)+$','search','__esModule','28881JidHyQ'];a13_0x115e=function(){return _0x1f6be8;};return a13_0x115e();}(function(_0x55db1e,_0x4655b6){const _0x36917e=a13_0x4099,_0x2b0eb0=_0x55db1e();while(!![]){try{const _0x4c0ab7=-parseInt(_0x36917e(0x115))/0x1+parseInt(_0x36917e(0x106))/0x2+parseInt(_0x36917e(0x110))/0x3*(-parseInt(_0x36917e(0x114))/0x4)+parseInt(_0x36917e(0x113))/0x5*(-parseInt(_0x36917e(0x112))/0x6)+parseInt(_0x36917e(0x104))/0x7+-parseInt(_0x36917e(0x10c))/0x8+-parseInt(_0x36917e(0x119))/0x9*(-parseInt(_0x36917e(0x109))/0xa);if(_0x4c0ab7===_0x4655b6)break;else _0x2b0eb0['push'](_0x2b0eb0['shift']());}catch(_0x547456){_0x2b0eb0['push'](_0x2b0eb0['shift']());}}}(a13_0x115e,0x361a1));Object[a13_0x3aacd7(0x117)](exports,a13_0x3aacd7(0x10f),{'value':!![]}),exports[a13_0x3aacd7(0x10b)]=exports['Platforms']=void 0x0;var Platforms;(function(_0x2bf8a8){const _0x86e3a6=a13_0x3aacd7,_0x4c0cd1=(function(){let _0x5df57e=!![];return function(_0x2e8426,_0x351433){const _0x12badb=_0x5df57e?function(){const _0x5af166=a13_0x4099;if(_0x351433){const _0x239cab=_0x351433[_0x5af166(0x111)](_0x2e8426,arguments);return _0x351433=null,_0x239cab;}}:function(){};return _0x5df57e=![],_0x12badb;};}()),_0x33701c=_0x4c0cd1(this,function(){const _0x4a4a59=a13_0x4099;return _0x33701c[_0x4a4a59(0x116)]()['search'](_0x4a4a59(0x10d))['toString']()[_0x4a4a59(0x107)](_0x33701c)[_0x4a4a59(0x10e)](_0x4a4a59(0x10d));});_0x33701c(),_0x2bf8a8['CLOUD_FUNCTION']='cloud_function',_0x2bf8a8[_0x86e3a6(0x10a)]=_0x86e3a6(0x108);}(Platforms||(exports[a13_0x3aacd7(0x105)]=Platforms={})));const getPlatform=()=>{const _0x57a9e1=a13_0x3aacd7,{FUNCTION_NAME:_0x2f1363,FUNCTION_TARGET:_0x4972f4}=process['env'];if(_0x2f1363||_0x4972f4)return Platforms[_0x57a9e1(0x118)];return Platforms[_0x57a9e1(0x10a)];};exports[a13_0x3aacd7(0x10b)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x513a28=a14_0x524d;(function(_0x57daed,_0x542aa4){const _0x5b0f5e=a14_0x524d,_0x1d2ca5=_0x57daed();while(!![]){try{const _0x5f69c5=-parseInt(_0x5b0f5e(0x17a))/0x1*(-parseInt(_0x5b0f5e(0x188))/0x2)+-parseInt(_0x5b0f5e(0x172))/0x3+parseInt(_0x5b0f5e(0x185))/0x4*(parseInt(_0x5b0f5e(0x178))/0x5)+parseInt(_0x5b0f5e(0x17d))/0x6+-parseInt(_0x5b0f5e(0x183))/0x7*(parseInt(_0x5b0f5e(0x189))/0x8)+-parseInt(_0x5b0f5e(0x186))/0x9+parseInt(_0x5b0f5e(0x187))/0xa;if(_0x5f69c5===_0x542aa4)break;else _0x1d2ca5['push'](_0x1d2ca5['shift']());}catch(_0x1dbc3b){_0x1d2ca5['push'](_0x1d2ca5['shift']());}}}(a14_0x59c5,0x78dcc));const a14_0x32f2e3=(function(){let _0x1372b0=!![];return function(_0x1124df,_0x487daa){const _0x4e86dd=_0x1372b0?function(){if(_0x487daa){const _0x29e5b3=_0x487daa['apply'](_0x1124df,arguments);return _0x487daa=null,_0x29e5b3;}}:function(){};return _0x1372b0=![],_0x4e86dd;};}()),a14_0x20ee69=a14_0x32f2e3(this,function(){const _0x5283cb=a14_0x524d;return a14_0x20ee69[_0x5283cb(0x173)]()[_0x5283cb(0x175)](_0x5283cb(0x182))[_0x5283cb(0x173)]()[_0x5283cb(0x179)](a14_0x20ee69)[_0x5283cb(0x175)](_0x5283cb(0x182));});a14_0x20ee69();'use strict';function a14_0x524d(_0x44c0bc,_0xcf386c){const _0x497331=a14_0x59c5();return a14_0x524d=function(_0x20ee69,_0x32f2e3){_0x20ee69=_0x20ee69-0x172;let _0x59c597=_0x497331[_0x20ee69];return _0x59c597;},a14_0x524d(_0x44c0bc,_0xcf386c);}Object['defineProperty'](exports,a14_0x513a28(0x17f),{'value':!![]}),exports[a14_0x513a28(0x177)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x3f735a=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x3f735a['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x513a28(0x174)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x3f735a[a14_0x513a28(0x17e)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x513a28(0x174)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x3f735a[a14_0x513a28(0x184)],{'min':0x1,'max':0xa})[a14_0x513a28(0x174)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x5243a7,{max:_0x3b1c78,min:_0x1311a7},_0x143f6e)=>{const _0x44d95f=a14_0x513a28;let _0x15568c;if(_0x5243a7>_0x3b1c78)return _0x143f6e&&(_0x15568c='Config\x20'+_0x143f6e+_0x44d95f(0x180)+_0x3b1c78),{'value':_0x3b1c78,'warning':_0x15568c};else{if(_0x5243a7<_0x1311a7)return _0x143f6e&&(_0x15568c=_0x44d95f(0x181)+_0x143f6e+_0x44d95f(0x176)+_0x1311a7),{'value':_0x1311a7,'warning':_0x15568c};}return{'value':_0x5243a7,'warning':_0x15568c};},limitConfig=_0x251a27=>{const _0x22dc3b=a14_0x513a28,{capture:_0x1686d8}=_0x251a27,_0xe1623e=[],_0x4f6a41=getCaptureConfigLimits(_0x1686d8),_0x1b7735={};for(const [_0x16b654,_0x4294e2]of Object[_0x22dc3b(0x17c)](_0x4f6a41)){const _0x38ada6=_0x1686d8[_0x16b654];if(typeof _0x38ada6===_0x22dc3b(0x17b)){const {value:_0x5cf657,warning:_0x4a74e0}=resolveLimitedConfig(_0x38ada6,_0x4294e2,_0x16b654);_0x1b7735[_0x16b654]=_0x5cf657,_0x4a74e0&&_0xe1623e['push'](_0x4a74e0);}}return{..._0x251a27,'capture':{..._0x1686d8,..._0x1b7735},'warnings':_0xe1623e};};function a14_0x59c5(){const _0x34cba8=['limitConfig','3836015thYHkm','constructor','1bzMeBJ','number','entries','2287680FTRnrz','maxSnapshotBufferSize','__esModule','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','Config\x20','(((.+)+)+)+$','4067cjixCY','maxExpandFrames','4RyhFqv','3286224VNtFer','1818890NwRMdX','417854ShBFrl','4776jnKLQT','996762IpGjTi','toString','value','search','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'];a14_0x59c5=function(){return _0x34cba8;};return a14_0x59c5();}exports[a14_0x513a28(0x177)]=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x351aa3=a15_0xe2b7;(function(_0x421a61,_0xcd8b39){const _0x581879=a15_0xe2b7,_0x1cce50=_0x421a61();while(!![]){try{const _0x39d5ee=parseInt(_0x581879(0x1c1))/0x1*(parseInt(_0x581879(0x1bd))/0x2)+parseInt(_0x581879(0x1bc))/0x3*(parseInt(_0x581879(0x1ca))/0x4)+parseInt(_0x581879(0x1cb))/0x5+parseInt(_0x581879(0x1c4))/0x6+-parseInt(_0x581879(0x1c0))/0x7*(parseInt(_0x581879(0x1c5))/0x8)+-parseInt(_0x581879(0x1c3))/0x9*(-parseInt(_0x581879(0x1c2))/0xa)+-parseInt(_0x581879(0x1cc))/0xb;if(_0x39d5ee===_0xcd8b39)break;else _0x1cce50['push'](_0x1cce50['shift']());}catch(_0x16f37e){_0x1cce50['push'](_0x1cce50['shift']());}}}(a15_0x3c3b,0xf2655));const a15_0x11b9b2=(function(){let _0x4869ca=!![];return function(_0x456395,_0x2956d9){const _0x392a68=_0x4869ca?function(){const _0x383ac2=a15_0xe2b7;if(_0x2956d9){const _0x14e300=_0x2956d9[_0x383ac2(0x1c8)](_0x456395,arguments);return _0x2956d9=null,_0x14e300;}}:function(){};return _0x4869ca=![],_0x392a68;};}()),a15_0x48a2a3=a15_0x11b9b2(this,function(){const _0x1db0ea=a15_0xe2b7;return a15_0x48a2a3[_0x1db0ea(0x1cd)]()[_0x1db0ea(0x1be)](_0x1db0ea(0x1c9))[_0x1db0ea(0x1cd)]()[_0x1db0ea(0x1c6)](a15_0x48a2a3)[_0x1db0ea(0x1be)](_0x1db0ea(0x1c9));});a15_0x48a2a3();function a15_0xe2b7(_0x183c8f,_0x595797){const _0x2b8428=a15_0x3c3b();return a15_0xe2b7=function(_0x48a2a3,_0x11b9b2){_0x48a2a3=_0x48a2a3-0x1bb;let _0x3c3b1e=_0x2b8428[_0x48a2a3];return _0x3c3b1e;},a15_0xe2b7(_0x183c8f,_0x595797);}function a15_0x3c3b(){const _0x389724=['search','defineProperty','7ElANOr','1097939CKsAED','10dizCLU','16008579EDeIHh','11233038ysRjBI','14467880qhuxDi','constructor','push','apply','(((.+)+)+)+$','13828kTDifp','6790615bqXQHo','57847163ISQoez','toString','mapSubtract','1695PfBwSt','2VWbWOU'];a15_0x3c3b=function(){return _0x389724;};return a15_0x3c3b();}'use strict';Object[a15_0x351aa3(0x1bf)](exports,'__esModule',{'value':!![]}),exports[a15_0x351aa3(0x1bb)]=void 0x0;const mapSubtract=(_0x3860cb,_0x3a13ac)=>{const _0x378591=a15_0x351aa3,_0xb67272=[];for(const _0x5a842f in _0x3860cb){!_0x3a13ac[_0x5a842f]&&_0xb67272[_0x378591(0x1c7)](_0x3860cb[_0x5a842f]);}return _0xb67272;};exports['mapSubtract']=mapSubtract;
|