lightrun 1.82.0 → 1.83.0
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/serverless.js +1 -1
- package/build/src/agent/state/inspector-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/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 +5 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2ee890=a0_0x3f2c;(function(_0x48a5b7,_0x9488b7){const _0x55b370=a0_0x3f2c,_0x43e1da=_0x48a5b7();while(!![]){try{const _0x5ad83a=parseInt(_0x55b370(0x1d3))/0x1*(parseInt(_0x55b370(0x1de))/0x2)+parseInt(_0x55b370(0x1e1))/0x3+parseInt(_0x55b370(0x1d4))/0x4*(-parseInt(_0x55b370(0x1cf))/0x5)+parseInt(_0x55b370(0x1c2))/0x6+parseInt(_0x55b370(0x1c9))/0x7+parseInt(_0x55b370(0x1c0))/0x8+-parseInt(_0x55b370(0x1d6))/0x9;if(_0x5ad83a===_0x9488b7)break;else _0x43e1da['push'](_0x43e1da['shift']());}catch(_0x2bc267){_0x43e1da['push'](_0x43e1da['shift']());}}}(a0_0x37b3,0x2c6ef));function a0_0x37b3(){const _0x34ae23=['format','setLevel','17JjKyQF','8Wdypnu','__esModule','4169844OicCfv','winston','getFullYear','.%DATE%','debug','error','info','getMinutes','15952PuohRj','warn','padStart','531714BYkOee','toString','getInitialLevel','constructor',']\x20-\x20','LEVEL_PRIORITY','getMonth','AGENT_LOG_FILE','default','171984NSBoVf','(((.+)+)+)+$','1732032SVKpVL','json','defineProperty','search','toUpperCase','isAtLeastInfo','getLevel','641263mbhTvZ','apply','pid','winston-daily-rotate-file','initialLogLevel','logger','173235yvFCUU','getHours'];a0_0x37b3=function(){return _0x34ae23;};return a0_0x37b3();}const a0_0x537218=(function(){let _0x38d60d=!![];return function(_0x27b9f9,_0x1dbfb7){const _0x24008a=_0x38d60d?function(){const _0x4bc0d6=a0_0x3f2c;if(_0x1dbfb7){const _0x12a1f1=_0x1dbfb7[_0x4bc0d6(0x1ca)](_0x27b9f9,arguments);return _0x1dbfb7=null,_0x12a1f1;}}:function(){};return _0x38d60d=![],_0x24008a;};}()),a0_0x2b3e7a=a0_0x537218(this,function(){const _0xe89d71=a0_0x3f2c;return a0_0x2b3e7a[_0xe89d71(0x1e2)]()[_0xe89d71(0x1c5)](_0xe89d71(0x1c1))[_0xe89d71(0x1e2)]()[_0xe89d71(0x1e4)](a0_0x2b3e7a)[_0xe89d71(0x1c5)]('(((.+)+)+)+$');});a0_0x2b3e7a();'use strict';Object[a0_0x2ee890(0x1c4)](exports,a0_0x2ee890(0x1d5),{'value':!![]});const winston_1=require(a0_0x2ee890(0x1d7)),DailyRotateFile=require(a0_0x2ee890(0x1cc)),process_1=require('process'),{combine,printf,timestamp}=winston_1[a0_0x2ee890(0x1d1)],{Console}=winston_1['transports'],now=new Date();function getLoggerTransport(_0x86e402,_0x444b3a,_0xeaa5e9){const _0x7003b5=a0_0x2ee890;if(_0x86e402)return new DailyRotateFile({'dirname':_0x86e402,'filename':AgentLogger[_0x7003b5(0x1e8)],'datePattern':now[_0x7003b5(0x1d8)]()[_0x7003b5(0x1e2)]()+now[_0x7003b5(0x1e7)]()['toString']()['padStart'](0x2,'0')+now['getDate']()[_0x7003b5(0x1e2)]()[_0x7003b5(0x1e0)](0x2,'0')+'-'+now[_0x7003b5(0x1d0)]()['toString']()[_0x7003b5(0x1e0)](0x2,'0')+now[_0x7003b5(0x1dd)]()['toString']()[_0x7003b5(0x1e0)](0x2,'0')+now['getSeconds']()[_0x7003b5(0x1e2)]()[_0x7003b5(0x1e0)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x7003b5(0x1e8)],'maxSize':_0x444b3a+'m','maxFiles':_0xeaa5e9,'extension':'.log'});return new Console();}class AgentLogger{constructor(_0x3c1c33,_0x24a6df,_0x2cb574,_0x5c9c73,_0x215b5b){const _0x4df32a=a0_0x2ee890;this['initialLogLevel']=_0x5c9c73,this[_0x4df32a(0x1ce)]=(0x0,winston_1['createLogger'])({'level':_0x5c9c73,'transports':[getLoggerTransport(_0x3c1c33,_0x24a6df,_0x2cb574),new Console({'level':_0x215b5b,'stderrLevels':['debug','info',_0x4df32a(0x1df),_0x4df32a(0x1db)]})],'format':combine(timestamp(),printf(({level:_0xaa2449,message:_0x246cd8,timestamp:_0x48fbfb})=>_0x48fbfb+'\x20['+_0xaa2449[_0x4df32a(0x1c6)]()+_0x4df32a(0x1e5)+_0x246cd8),winston_1[_0x4df32a(0x1d1)][_0x4df32a(0x1c3)]())});}static['createLogger'](_0x11294f,_0x26ab1d,_0x57edc4,_0x2b8324,_0x100624){return new AgentLogger(_0x11294f,_0x26ab1d,_0x57edc4,_0x2b8324,_0x100624);}['debug'](..._0x142720){const _0x2278da=a0_0x2ee890;this[_0x2278da(0x1ce)][_0x2278da(0x1da)](_0x142720);}[a0_0x2ee890(0x1dc)](..._0x45d422){const _0x2ebca4=a0_0x2ee890;this[_0x2ebca4(0x1ce)][_0x2ebca4(0x1dc)](_0x45d422);}[a0_0x2ee890(0x1df)](..._0x50d74c){const _0x5eadd6=a0_0x2ee890;this['logger'][_0x5eadd6(0x1df)](_0x50d74c);}[a0_0x2ee890(0x1db)](..._0x2f1b57){const _0x2f0a10=a0_0x2ee890;this[_0x2f0a10(0x1ce)]['error'](_0x2f1b57);}[a0_0x2ee890(0x1c8)](){const _0x8706aa=a0_0x2ee890;return this[_0x8706aa(0x1ce)]['level'];}[a0_0x2ee890(0x1c7)](){const _0x30437c=a0_0x2ee890,_0x56afeb=this[_0x30437c(0x1c8)](),_0x55b432=AgentLogger['LEVEL_PRIORITY'][_0x56afeb];if(!_0x55b432)return![];return _0x55b432>=AgentLogger[_0x30437c(0x1e6)][_0x30437c(0x1dc)];}[a0_0x2ee890(0x1d2)](_0x22fb47){const _0x5dbc00=a0_0x2ee890;this[_0x5dbc00(0x1ce)]['level']=_0x22fb47;}[a0_0x2ee890(0x1e3)](){const _0x1c50a1=a0_0x2ee890;return this[_0x1c50a1(0x1cd)];}}function a0_0x3f2c(_0xcf2d4e,_0x21c52d){const _0x9ee5da=a0_0x37b3();return a0_0x3f2c=function(_0x2b3e7a,_0x537218){_0x2b3e7a=_0x2b3e7a-0x1c0;let _0x37b3fa=_0x9ee5da[_0x2b3e7a];return _0x37b3fa;},a0_0x3f2c(_0xcf2d4e,_0x21c52d);}AgentLogger[a0_0x2ee890(0x1e8)]='lightrun_nodejs_agent.'+process_1[a0_0x2ee890(0x1cb)]+a0_0x2ee890(0x1d9),AgentLogger['LEVEL_PRIORITY']={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3},exports[a0_0x2ee890(0x1e9)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x5dd875=a1_0x3061;function a1_0x2835(){const _0x1f3bd3=['405CObWKD','858381WBgKWy','toString','forEach','87774lPgJUC','432157OPdhqb','__esModule','inversePatterns','some','2Buumud','1287902GYEQUL','890460tPPiaL','(((.+)+)+)+$','9jeXvFN','push','170uhYXFa','6978jjPsvG','patterns','defineProperty','apply','matches','BlocklistingPatterns','length','substring','2841064STWoNr','search'];a1_0x2835=function(){return _0x1f3bd3;};return a1_0x2835();}(function(_0x21e519,_0x2ebc74){const _0x40631a=a1_0x3061,_0x266ac8=_0x21e519();while(!![]){try{const _0x181b52=-parseInt(_0x40631a(0x104))/0x1*(parseInt(_0x40631a(0x119))/0x2)+parseInt(_0x40631a(0x116))/0x3+-parseInt(_0x40631a(0x106))/0x4+-parseInt(_0x40631a(0x115))/0x5*(-parseInt(_0x40631a(0x10b))/0x6)+-parseInt(_0x40631a(0x105))/0x7+parseInt(_0x40631a(0x113))/0x8*(-parseInt(_0x40631a(0x108))/0x9)+parseInt(_0x40631a(0x10a))/0xa*(parseInt(_0x40631a(0x11a))/0xb);if(_0x181b52===_0x2ebc74)break;else _0x266ac8['push'](_0x266ac8['shift']());}catch(_0x1f3c69){_0x266ac8['push'](_0x266ac8['shift']());}}}(a1_0x2835,0x3082d));const a1_0x27cfdc=(function(){let _0x5cb4ae=!![];return function(_0x5af9d6,_0x2224ae){const _0x2812e0=_0x5cb4ae?function(){const _0x4d792d=a1_0x3061;if(_0x2224ae){const _0x1ddf41=_0x2224ae[_0x4d792d(0x10e)](_0x5af9d6,arguments);return _0x2224ae=null,_0x1ddf41;}}:function(){};return _0x5cb4ae=![],_0x2812e0;};}()),a1_0x3c4606=a1_0x27cfdc(this,function(){const _0xbde272=a1_0x3061;return a1_0x3c4606[_0xbde272(0x117)]()['search'](_0xbde272(0x107))[_0xbde272(0x117)]()['constructor'](a1_0x3c4606)[_0xbde272(0x114)]('(((.+)+)+)+$');});a1_0x3c4606();'use strict';Object[a1_0x5dd875(0x10d)](exports,a1_0x5dd875(0x11b),{'value':!![]}),exports[a1_0x5dd875(0x110)]=void 0x0;function a1_0x3061(_0x58cede,_0x3b3853){const _0x5c353b=a1_0x2835();return a1_0x3061=function(_0x3c4606,_0x27cfdc){_0x3c4606=_0x3c4606-0x103;let _0x283592=_0x5c353b[_0x3c4606];return _0x283592;},a1_0x3061(_0x58cede,_0x3b3853);}class BlocklistingPatterns{constructor(_0x2ed6e1){const _0x46e0f4=a1_0x5dd875;this[_0x46e0f4(0x11c)]=[],this[_0x46e0f4(0x10c)]=[],_0x2ed6e1&&_0x2ed6e1[_0x46e0f4(0x118)](_0x27ec6a=>{const _0xea600e=_0x46e0f4;_0x27ec6a&&(_0x27ec6a[0x0]==='!'?this[_0xea600e(0x11c)]['push'](new RegExp(_0x27ec6a[_0xea600e(0x112)](0x1))):this[_0xea600e(0x10c)][_0xea600e(0x109)](new RegExp(_0x27ec6a)));});}[a1_0x5dd875(0x10f)](_0x4d8750){const _0x23112c=a1_0x5dd875,_0x2fb7ff=_0x36b255=>_0x4d8750['match'](_0x36b255);return this['inversePatterns'][_0x23112c(0x111)]!==0x0&&!this[_0x23112c(0x11c)]['some'](_0x2fb7ff)||this[_0x23112c(0x10c)][_0x23112c(0x103)](_0x2fb7ff);}}exports[a1_0x5dd875(0x110)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x49f76e=a2_0x3018;(function(_0x418e10,_0x24bcd1){var _0x1460c6=a2_0x3018,_0x2cdb5c=_0x418e10();while(!![]){try{var _0x4d1cc9=parseInt(_0x1460c6(0x14d))/0x1+-parseInt(_0x1460c6(0x153))/0x2+-parseInt(_0x1460c6(0x15c))/0x3*(-parseInt(_0x1460c6(0x152))/0x4)+-parseInt(_0x1460c6(0x14b))/0x5+-parseInt(_0x1460c6(0x154))/0x6*(parseInt(_0x1460c6(0x14c))/0x7)+-parseInt(_0x1460c6(0x159))/0x8*(parseInt(_0x1460c6(0x158))/0x9)+parseInt(_0x1460c6(0x151))/0xa;if(_0x4d1cc9===_0x24bcd1)break;else _0x2cdb5c['push'](_0x2cdb5c['shift']());}catch(_0x1ac9e7){_0x2cdb5c['push'](_0x2cdb5c['shift']());}}}(a2_0x4d75,0x82e67));function a2_0x3018(_0x52994b,_0x18f8a1){var _0x572390=a2_0x4d75();return a2_0x3018=function(_0x46f1ee,_0x34ba83){_0x46f1ee=_0x46f1ee-0x14b;var _0x4d7578=_0x572390[_0x46f1ee];return _0x4d7578;},a2_0x3018(_0x52994b,_0x18f8a1);}var a2_0x34ba83=(function(){var _0x573bdf=!![];return function(_0x19c9a0,_0x7a3652){var _0x225258=_0x573bdf?function(){var _0x1978a2=a2_0x3018;if(_0x7a3652){var _0x2c527d=_0x7a3652[_0x1978a2(0x155)](_0x19c9a0,arguments);return _0x7a3652=null,_0x2c527d;}}:function(){};return _0x573bdf=![],_0x225258;};}()),a2_0x46f1ee=a2_0x34ba83(this,function(){var _0x539e9a=a2_0x3018;return a2_0x46f1ee[_0x539e9a(0x15a)]()[_0x539e9a(0x156)](_0x539e9a(0x14e))[_0x539e9a(0x15a)]()['constructor'](a2_0x46f1ee)[_0x539e9a(0x156)]('(((.+)+)+)+$');});function a2_0x4d75(){var _0x581b72=['981356eMKYWk','3899676xRrSLT','apply','search','value','387vynurT','81936ooMVQv','toString','DummyBlocklistManager','2876457VeBpfx','2874295mtrdOr','7eFnQlR','963053ltDXiG','(((.+)+)+)+$','defineProperty','__esModule','7701840ysEMuq','4JfcJFm'];a2_0x4d75=function(){return _0x581b72;};return a2_0x4d75();}a2_0x46f1ee();'use strict';Object[a2_0x49f76e(0x14f)](exports,a2_0x49f76e(0x150),{'value':!![]}),exports[a2_0x49f76e(0x15b)]=void 0x0;class DummyBlocklistManager{constructor(_0x4b7c20){var _0x1a5574=a2_0x49f76e;this[_0x1a5574(0x157)]=_0x4b7c20;}['shouldBlock'](){var _0x390222=a2_0x49f76e;return this[_0x390222(0x157)];}}exports[a2_0x49f76e(0x15b)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x5670(_0x476cb2,_0x37c7c9){const _0x3ddcfd=a3_0x1172();return a3_0x5670=function(_0x3117cf,_0x32d475){_0x3117cf=_0x3117cf-0x9e;let _0x117256=_0x3ddcfd[_0x3117cf];return _0x117256;},a3_0x5670(_0x476cb2,_0x37c7c9);}const a3_0x317dfe=a3_0x5670;(function(_0x417e76,_0x49f187){const _0x4cb2ee=a3_0x5670,_0x150376=_0x417e76();while(!![]){try{const _0x6118f=parseInt(_0x4cb2ee(0xa8))/0x1+parseInt(_0x4cb2ee(0xa2))/0x2*(parseInt(_0x4cb2ee(0xab))/0x3)+parseInt(_0x4cb2ee(0xb8))/0x4*(parseInt(_0x4cb2ee(0xaf))/0x5)+-parseInt(_0x4cb2ee(0xa0))/0x6+-parseInt(_0x4cb2ee(0xac))/0x7+parseInt(_0x4cb2ee(0xa3))/0x8+-parseInt(_0x4cb2ee(0xa6))/0x9;if(_0x6118f===_0x49f187)break;else _0x150376['push'](_0x150376['shift']());}catch(_0x2bd3df){_0x150376['push'](_0x150376['shift']());}}}(a3_0x1172,0x3031b));const a3_0x32d475=(function(){let _0x1624ce=!![];return function(_0x48b985,_0x36e2e1){const _0x5afb33=_0x1624ce?function(){const _0x56bb0c=a3_0x5670;if(_0x36e2e1){const _0x984008=_0x36e2e1[_0x56bb0c(0xb3)](_0x48b985,arguments);return _0x36e2e1=null,_0x984008;}}:function(){};return _0x1624ce=![],_0x5afb33;};}()),a3_0x3117cf=a3_0x32d475(this,function(){const _0xa486be=a3_0x5670;return a3_0x3117cf[_0xa486be(0xaa)]()[_0xa486be(0xb4)](_0xa486be(0x9e))['toString']()[_0xa486be(0xb2)](a3_0x3117cf)['search'](_0xa486be(0x9e));});a3_0x3117cf();'use strict';function a3_0x1172(){const _0x5d2ea7=['2599304uLDNoM','matches','BlocklistingPatterns','2195361GbpTwe','isPathInCurrentWorkingDirectory','47165kftSZd','blocklist','toString','6YEgncU','387184GLavPe','__esModule','stripWorkingDir','545yxUzUI','blocklistExceptions','./blocklisting-patterns','constructor','apply','search','PatternsBlocklistManager','defineProperty','config','2792BSRZGx','(((.+)+)+)+$','shouldBlock','400536RUlBrc','../util/utils','115240xnoGSo'];a3_0x1172=function(){return _0x5d2ea7;};return a3_0x1172();}Object[a3_0x317dfe(0xb6)](exports,a3_0x317dfe(0xad),{'value':!![]}),exports[a3_0x317dfe(0xb5)]=void 0x0;const blocklisting_patterns_1=require(a3_0x317dfe(0xb1)),utils=require(a3_0x317dfe(0xa1));class PatternsBlocklistManager{constructor(_0x5cd366,_0x53cec0,_0x4d857d){const _0x5a8d60=a3_0x317dfe;this[_0x5a8d60(0xa9)]=new blocklisting_patterns_1[(_0x5a8d60(0xa5))](_0x5cd366),this[_0x5a8d60(0xb0)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x53cec0),this[_0x5a8d60(0xb7)]=_0x4d857d;}[a3_0x317dfe(0x9f)](_0x5d5dcf){const _0x4f17d3=a3_0x317dfe;_0x5d5dcf=this[_0x4f17d3(0xae)](_0x5d5dcf);if(this[_0x4f17d3(0xb0)]['matches'](_0x5d5dcf))return![];return this['blocklist'][_0x4f17d3(0xa4)](_0x5d5dcf);}['stripWorkingDir'](_0x43542d){const _0x4850bf=a3_0x317dfe;if(utils[_0x4850bf(0xa7)](_0x43542d,this[_0x4850bf(0xb7)]))return utils['stripCurrentWorkingDirectory'](_0x43542d,this[_0x4850bf(0xb7)]);return _0x43542d;}}exports['PatternsBlocklistManager']=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a4_0x27309c=a4_0x3798;(function(_0x4808d4,_0x32fc7e){const _0x30954=a4_0x3798,_0x11ce23=_0x4808d4();while(!![]){try{const _0x3ba94b=-parseInt(_0x30954(0x1e3))/0x1+parseInt(_0x30954(0x1ca))/0x2*(-parseInt(_0x30954(0x1e2))/0x3)+parseInt(_0x30954(0x1eb))/0x4+parseInt(_0x30954(0x1cf))/0x5*(parseInt(_0x30954(0x1e7))/0x6)+parseInt(_0x30954(0x1c6))/0x7*(parseInt(_0x30954(0x1e5))/0x8)+-parseInt(_0x30954(0x1e6))/0x9*(-parseInt(_0x30954(0x1cc))/0xa)+-parseInt(_0x30954(0x1ea))/0xb*(parseInt(_0x30954(0x1c7))/0xc);if(_0x3ba94b===_0x32fc7e)break;else _0x11ce23['push'](_0x11ce23['shift']());}catch(_0x18b587){_0x11ce23['push'](_0x11ce23['shift']());}}}(a4_0x5648,0x74c76));const a4_0x51cf57=(function(){let _0x77986c=!![];return function(_0x1d93ee,_0x57855f){const _0x433ead=_0x77986c?function(){const _0x37385c=a4_0x3798;if(_0x57855f){const _0x3dcfac=_0x57855f[_0x37385c(0x1e8)](_0x1d93ee,arguments);return _0x57855f=null,_0x3dcfac;}}:function(){};return _0x77986c=![],_0x433ead;};}()),a4_0x575803=a4_0x51cf57(this,function(){const _0x22f782=a4_0x3798;return a4_0x575803[_0x22f782(0x1f2)]()[_0x22f782(0x1e9)]('(((.+)+)+)+$')[_0x22f782(0x1f2)]()[_0x22f782(0x1d6)](a4_0x575803)[_0x22f782(0x1e9)](_0x22f782(0x1d9));});a4_0x575803();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x27309c(0x1e0)]=exports[a4_0x27309c(0x1dc)]=void 0x0,exports[a4_0x27309c(0x1c9)]=logMainConfigParams;function a4_0x3798(_0x2597ee,_0x5e1e17){const _0x384ccc=a4_0x5648();return a4_0x3798=function(_0x575803,_0x51cf57){_0x575803=_0x575803-0x1c5;let _0x5648a2=_0x384ccc[_0x575803];return _0x5648a2;},a4_0x3798(_0x2597ee,_0x5e1e17);}const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x27309c(0x1db));exports['configSchema']=(0x0,yup_1[a4_0x27309c(0x1e1)])()[a4_0x27309c(0x1cb)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'capture':(0x0,yup_1['object'])()['shape']({'includeNodeModules':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'maxFrames':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxExpandFrames':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxWatchProperties':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxVariableSize':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxSnapshotBufferSize':(0x0,yup_1['number'])()}),'internal':(0x0,yup_1['object'])()[a4_0x27309c(0x1cb)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'lambdaDebugLogs':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'dumpJSContentFilenames':(0x0,yup_1[a4_0x27309c(0x1ee)])()['of']((0x0,yup_1[a4_0x27309c(0x1ce)])())}),'forceNewAgent_':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'testMode_':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'apiEndpoint':(0x0,yup_1['string'])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1[a4_0x27309c(0x1e1)])()[a4_0x27309c(0x1cb)]({'agentLogTargetDir':(0x0,yup_1[a4_0x27309c(0x1ce)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'agentLogLevel':(0x0,yup_1[a4_0x27309c(0x1ce)])()[a4_0x27309c(0x1ec)](['debug',a4_0x27309c(0x1d7),a4_0x27309c(0x1d0),a4_0x27309c(0x1d2)]),'stdErrThreshold':(0x0,yup_1[a4_0x27309c(0x1ce)])()['oneOf'](['debug',a4_0x27309c(0x1d7),a4_0x27309c(0x1d0),'error',a4_0x27309c(0x1f1)]),'collectCooldownMs':(0x0,yup_1['number'])(),'maxLogFileBytes':(0x0,yup_1[a4_0x27309c(0x1c5)])()}),'pinnedCerts':(0x0,yup_1[a4_0x27309c(0x1ee)])()['of']((0x0,yup_1[a4_0x27309c(0x1ce)])()),'noCheckCertificate':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'caPath':(0x0,yup_1[a4_0x27309c(0x1ce)])(),'transmissionBulkMaxSize':(0x0,yup_1['number'])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'quota':(0x0,yup_1[a4_0x27309c(0x1e1)])()[a4_0x27309c(0x1cb)]({'maxConditionCost':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxCPUCost':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'ignoreQuota':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x27309c(0x1c5)])()}),'agentConfigFile':(0x0,yup_1['string'])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'useScriptSourcemap':(0x0,yup_1[a4_0x27309c(0x1dd)])()[a4_0x27309c(0x1e4)](![]),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1[a4_0x27309c(0x1ee)])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1[a4_0x27309c(0x1dd)])(),'proxy':(0x0,yup_1[a4_0x27309c(0x1e1)])()[a4_0x27309c(0x1cb)]({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1[a4_0x27309c(0x1c5)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x27309c(0x1ce)])()})}),exports[a4_0x27309c(0x1e0)]={'workingDirectory':process[a4_0x27309c(0x1d4)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':['.js',a4_0x27309c(0x1f0)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000,'resolveFrameLocations':![]},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![],'dumpJSContentFilenames':undefined},'useScriptSourcemap':![],'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x27309c(0x1d7),'stdErrThreshold':a4_0x27309c(0x1f1),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5'],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x27309c(0x1df)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x27309c(0x1da),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x39b4f4,_0x573e8a)=>{const _0x3270a1=a4_0x27309c,_0x31ade1=Object['values'](_0x39b4f4?.[_0x3270a1(0x1de)]??[]);_0x31ade1[_0x3270a1(0x1d8)]&&_0x31ade1[_0x3270a1(0x1ef)](_0x399fb4=>{const _0x467cb2=_0x3270a1;_0x573e8a[_0x467cb2(0x1d2)](_0x399fb4);});},logConfigWarnings=(_0x27cd90,_0x5686ca)=>{const _0x70e3cd=a4_0x27309c;_0x27cd90['warnings']?.[_0x70e3cd(0x1ef)](_0x52428b=>{_0x5686ca['warn'](_0x52428b);});};function logMainConfigParams(_0x2424a0,_0x6d5fab){const _0x432b7e=a4_0x27309c;let {agentConfigFile:_0x28cdd6}=_0x2424a0;if(_0x28cdd6){const _0x38c1f5=(0x0,fs_1['existsSync'])(_0x2424a0[_0x432b7e(0x1ed)])?'exists':_0x432b7e(0x1d1);_0x28cdd6+=_0x432b7e(0x1c8)+_0x38c1f5;}else _0x28cdd6='not\x20set!';const _0x13b2b9={..._0x2424a0,'lightrunSecret':_0x2424a0[_0x432b7e(0x1cd)]?_0x432b7e(0x1d5):_0x432b7e(0x1d3),'agentConfigFile':_0x28cdd6};_0x6d5fab[_0x432b7e(0x1f3)]('Agent\x20Configuration:\x20',_0x13b2b9),logConfigWarnings(_0x2424a0,_0x6d5fab),logConfigErrors(_0x2424a0,_0x6d5fab);}function a4_0x5648(){const _0x21026e=['length','(((.+)+)+)+$','agent.config','yup','configSchema','boolean','errors','Production','defaultConfig','object','1671tTIQSg','448689osHrtv','default','232scACiO','1722960ZcInLQ','1587354hlsVeS','apply','search','9285914toeuEq','3653056sbNJqd','oneOf','agentConfigFile','array','forEach','.mjs','none','toString','debug','number','167055duAEka','24gAchUD',',\x20\x20\x20the\x20file\x20','logMainConfigParams','598EsxvuI','shape','20cZAIzZ','lightrunSecret','string','15CCODOY','warn','DOESN\x27T\x20EXIST','error','!!!\x20NOT\x20SET\x20!!!','cwd','set','constructor','info'];a4_0x5648=function(){return _0x21026e;};return a4_0x5648();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x5b8e67=a5_0x5c0a;(function(_0x22853c,_0x5d559b){var _0x105d12=a5_0x5c0a,_0x189041=_0x22853c();while(!![]){try{var _0x110735=parseInt(_0x105d12(0x1ed))/0x1*(-parseInt(_0x105d12(0x1e4))/0x2)+-parseInt(_0x105d12(0x1e1))/0x3+-parseInt(_0x105d12(0x1f3))/0x4*(-parseInt(_0x105d12(0x1e3))/0x5)+parseInt(_0x105d12(0x1ef))/0x6*(parseInt(_0x105d12(0x1ee))/0x7)+-parseInt(_0x105d12(0x1f1))/0x8+parseInt(_0x105d12(0x1e2))/0x9*(parseInt(_0x105d12(0x1e7))/0xa)+-parseInt(_0x105d12(0x1dd))/0xb*(-parseInt(_0x105d12(0x1f4))/0xc);if(_0x110735===_0x5d559b)break;else _0x189041['push'](_0x189041['shift']());}catch(_0x3c7b04){_0x189041['push'](_0x189041['shift']());}}}(a5_0x5ecb,0xe29ec));var a5_0x234391=(function(){var _0x9af01c=!![];return function(_0x14dd33,_0x24ff68){var _0x5cecf3=_0x9af01c?function(){var _0x48eb66=a5_0x5c0a;if(_0x24ff68){var _0x355e60=_0x24ff68[_0x48eb66(0x1f6)](_0x14dd33,arguments);return _0x24ff68=null,_0x355e60;}}:function(){};return _0x9af01c=![],_0x5cecf3;};}()),a5_0x4f3712=a5_0x234391(this,function(){var _0x1b2ea1=a5_0x5c0a;return a5_0x4f3712['toString']()[_0x1b2ea1(0x1e5)](_0x1b2ea1(0x1e6))[_0x1b2ea1(0x1e8)]()['constructor'](a5_0x4f3712)[_0x1b2ea1(0x1e5)](_0x1b2ea1(0x1e6));});a5_0x4f3712();function a5_0x5ecb(){var _0x5c618b=['ConfigurationProvider','maxStringLength','5129523ZvvaKg','9ajsrID','40DFBHwh','4268pOBcOK','search','(((.+)+)+)+$','5262550slZyiN','toString','maxSnapshotBufferSize','maxWatchProperties','maxDataSize','resolvedDebugAgentConfig','33enIDkH','1500086muPdpe','6IIwAUX','getMaxWatchListVariableSize','2783632pFbNhh','__esModule','448652eupngp','12HXJlDo','maxProperties','apply','15604556pXYSrw','capture'];a5_0x5ecb=function(){return _0x5c618b;};return a5_0x5ecb();}'use strict';Object['defineProperty'](exports,a5_0x5b8e67(0x1f2),{'value':!![]}),exports[a5_0x5b8e67(0x1df)]=void 0x0;class ConfigurationProvider{constructor(_0x30aecc){var _0x456c6a=a5_0x5b8e67;this[_0x456c6a(0x1ec)]=_0x30aecc;}['getMaxVariableSize'](){var _0x3c44b1=a5_0x5b8e67;return this[_0x3c44b1(0x1ec)]['capture'][_0x3c44b1(0x1e0)]||this[_0x3c44b1(0x1ec)]['capture']['maxVariableSize'];}[a5_0x5b8e67(0x1f0)](){var _0x4e71ee=a5_0x5b8e67;return this['resolvedDebugAgentConfig'][_0x4e71ee(0x1de)]['maxWatchListVariableSize'];}['getMaxSnapshotBufferSize'](){var _0x2d0513=a5_0x5b8e67;return this[_0x2d0513(0x1ec)][_0x2d0513(0x1de)][_0x2d0513(0x1eb)]||this[_0x2d0513(0x1ec)][_0x2d0513(0x1de)][_0x2d0513(0x1e9)];}['getMaxProperties'](_0x14a703){var _0x19c02f=a5_0x5b8e67;return _0x14a703?this[_0x19c02f(0x1ec)][_0x19c02f(0x1de)][_0x19c02f(0x1ea)]:this[_0x19c02f(0x1ec)]['capture'][_0x19c02f(0x1f5)];}}function a5_0x5c0a(_0x513a3c,_0x54b6da){var _0x4f6007=a5_0x5ecb();return a5_0x5c0a=function(_0x4f3712,_0x234391){_0x4f3712=_0x4f3712-0x1dd;var _0x5ecbd8=_0x4f6007[_0x4f3712];return _0x5ecbd8;},a5_0x5c0a(_0x513a3c,_0x54b6da);}exports[a5_0x5b8e67(0x1df)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x348526=a6_0x540c;function a6_0x540c(_0x5bbef3,_0x3657c3){const _0x5bd098=a6_0x29ef();return a6_0x540c=function(_0x21c270,_0x2e1ca1){_0x21c270=_0x21c270-0x14f;let _0x29ef7e=_0x5bd098[_0x21c270];return _0x29ef7e;},a6_0x540c(_0x5bbef3,_0x3657c3);}(function(_0x111250,_0x17e688){const _0x31fb29=a6_0x540c,_0x566bcc=_0x111250();while(!![]){try{const _0x4a98ae=parseInt(_0x31fb29(0x1a5))/0x1*(parseInt(_0x31fb29(0x1a9))/0x2)+-parseInt(_0x31fb29(0x1f9))/0x3+parseInt(_0x31fb29(0x196))/0x4*(-parseInt(_0x31fb29(0x177))/0x5)+-parseInt(_0x31fb29(0x1d0))/0x6+parseInt(_0x31fb29(0x1ad))/0x7+parseInt(_0x31fb29(0x1de))/0x8+-parseInt(_0x31fb29(0x1bf))/0x9*(-parseInt(_0x31fb29(0x174))/0xa);if(_0x4a98ae===_0x17e688)break;else _0x566bcc['push'](_0x566bcc['shift']());}catch(_0xdb2899){_0x566bcc['push'](_0x566bcc['shift']());}}}(a6_0x29ef,0x5c8de));function a6_0x29ef(){const _0x384e6d=['host','\x20transmitted\x20successfully','/blacklist?successOnTimeout=true','then','Getting\x20reductions','finally','4218840PveiJU','Serverless','catch','Getting\x20blocklist','__esModule','pinnedCerts','isServerless','(((.+)+)+)+$','Bearer\x20','waitForTransmissionQueueDrain','/redaction','getRedactions','join','collectCooldownMs','method','defineProperty','querystring','POST','https','application/json','status','signal','shift','sha256','constructor','uri','axios','1294860cWhQjV','\x20for\x20request\x20','addCACert','stream','push','serializedJson','makeRequest','pipeline','config','createGzip','\x20and\x20enqueue\x20to\x20queue','\x20size\x20is\x20','zlib','\x20for\x20request\x20id\x20','reject','connect','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','size','getBlocklist','stringify','createSecureContext','context','Certificate\x20Pinning\x20Failed!','map','transmitBreakpointUpdates','toString','error','createReadStream','pubkey','PUT','update','/debuggees/','lightrunSecret','Breakpoint\x20','@google-cloud/common','debuggee','now','maxLogFileBytes','130wtsdph','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','response','211550riSMrc','default','./util/utils','message','data','debug','max','Failed\x20to\x20send\x20log\x20file\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','waiting\x20for\x20active\x20transmission','transmissionQueue','sendAppOnlyBreakpointHitsToServer','Compressing\x20and\x20sending\x20log\x20file\x20','createHash','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','ms.\x20Queue\x20length:\x20','memory-streams','enqueueBreakpointUpdate','/log/','create','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','logger','race','activeTransmission','/controller','bind','port','waitFor','/deregister/',',\x20Message:\x20','\x22\x20-\x20ignoring\x20it','40LwvMaw','deregister','Failed\x20to\x20read\x20pem\x20file\x20\x22','length','WritableStream','search','\x20size\x20>\x20max\x20network\x20size\x20:\x20','\x20seconds','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Deregister\x20agent\x20before\x20shutdown','lastLogCollectionTime','sendBreakpointLogsToServer','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','register','Transmitting\x20breakpoint\x20updates...','10NbYhlb','nextWaitToken','includes','agentLog','132322pQENeS','should\x20have\x20a\x20registered\x20debuggee','crypto','Failed\x20to\x20zip\x20','4003797cyvCLN','ascii','unknown\x20error\x20-\x20request\x20response\x20missing','transmissionBulkMaxNetworkSizeInBytes','secureContext','ServiceObject','password','transmissionHardMaxNetworkSizeLimitInBytes','timeout\x20set\x20to\x20','\x20Error:\x20','caPath','toBuffer','isTransmissionEnsured','apiUrl','listBreakpointsAbortController','Timeout\x20occurred\x20after\x20','https-proxy-agent','info','145539leIOFS','waitToken','floor','warn','HttpsProxyAgent','number','username','Successfully\x20sent\x20log\x20file\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','failed\x20to\x20serialize\x20breakpoint\x20',',\x20sending\x20only\x20one','Update\x20for\x20breakpoints\x20','readFileSync',',\x20username:\x20','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','abort','sendAgentLogsToServer','4424022FIapka','listBreakpoints','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','transmissionTimeout','Using\x20proxy\x20configuration:\x20','listBreakpointsAsync','js-yaml','getJsonStringSizeInBytes'];a6_0x29ef=function(){return _0x384e6d;};return a6_0x29ef();}const a6_0x2e1ca1=(function(){let _0x35cd0b=!![];return function(_0x5cdd66,_0x3032c9){const _0x384256=_0x35cd0b?function(){if(_0x3032c9){const _0x368029=_0x3032c9['apply'](_0x5cdd66,arguments);return _0x3032c9=null,_0x368029;}}:function(){};return _0x35cd0b=![],_0x384256;};}()),a6_0x21c270=a6_0x2e1ca1(this,function(){const _0x594876=a6_0x540c;return a6_0x21c270[_0x594876(0x167)]()[_0x594876(0x19b)]('(((.+)+)+)+$')['toString']()[_0x594876(0x1f6)](a6_0x21c270)[_0x594876(0x19b)](_0x594876(0x1e5));});a6_0x21c270();'use strict';Object[a6_0x348526(0x1ed)](exports,a6_0x348526(0x1e2),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0x348526(0x170)),assert=require('assert'),qs=require(a6_0x348526(0x1ee)),fs_1=require('fs'),crypto_1=require(a6_0x348526(0x1ab)),zlib_1=require(a6_0x348526(0x15a)),stream_1=require(a6_0x348526(0x151)),memory_streams_1=require(a6_0x348526(0x187)),tls_1=require('tls'),extend=require('extend'),axios_1=require('axios'),https=require(a6_0x348526(0x1f0)),utils_1=require(a6_0x348526(0x179)),serverless_1=require('./serverless'),https_proxy_agent_1=require(a6_0x348526(0x1bd)),yaml=require(a6_0x348526(0x1d6)),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_0x348526(0x1b2)]{constructor(_0x39b117,_0x51ef65,_0x1ed5bd){const _0x4129ae=a6_0x348526;super({'parent':_0x39b117,'baseUrl':_0x4129ae(0x18f)}),this[_0x4129ae(0x1a6)]=null,this[_0x4129ae(0x156)]=_0x51ef65,this[_0x4129ae(0x181)]=[],this[_0x4129ae(0x18c)]=_0x1ed5bd,this[_0x4129ae(0x1ba)]='https://'+_0x51ef65['apiEndpoint']+_0x4129ae(0x16d),this[_0x4129ae(0x1f8)]=axios_1[_0x4129ae(0x178)][_0x4129ae(0x18a)]({'httpsAgent':getProxyAgent(_0x51ef65,_0x1ed5bd)??new https['Agent'](getHttpsAgentOptions(_0x51ef65,_0x1ed5bd)),'proxy':![]});}[a6_0x348526(0x1a3)](_0x185aa8,_0x41fb75){const _0x1c8947=a6_0x348526,_0x29b817={'uri':this[_0x1c8947(0x1ba)]+_0x1c8947(0x1a3),'method':'POST','json':!![],'body':{'debuggee':_0x185aa8}};this['makeRequest'](_0x29b817,(_0x5840cf,_0x3ed4f3,_0x52894f)=>{const _0x40e5cf=_0x1c8947;if(!_0x52894f)_0x41fb75(_0x5840cf??new Error(_0x40e5cf(0x1af)));else{if(_0x5840cf){let _0x4c26fd=![];_0x52894f[_0x40e5cf(0x1f2)]===HTTP_UPGRADE_REQUIRED&&_0x3ed4f3&&(_0x3ed4f3['message']!==undefined&&(_0x5840cf['message']=_0x3ed4f3[_0x40e5cf(0x17a)]),_0x4c26fd=!![]),_0x41fb75(_0x5840cf,_0x3ed4f3,_0x4c26fd);}else{if(_0x52894f[_0x40e5cf(0x1f2)]!==HTTP_SUCCESS)_0x41fb75(new Error('unable\x20to\x20register,\x20status\x20'+_0x52894f['status']));else!_0x3ed4f3?.[_0x40e5cf(0x171)]?_0x41fb75(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x185aa8['id']=_0x3ed4f3[_0x40e5cf(0x171)]['id'],_0x41fb75(null,_0x3ed4f3));}}});}[a6_0x348526(0x1d1)](_0x539bc1,_0x3a8cd2,_0x10b64e){const _0x4cc277=a6_0x348526;assert(_0x539bc1['id'],_0x4cc277(0x1aa));const _0x1256f5={'successOnTimeout':!![]};this[_0x4cc277(0x1a6)]&&(_0x1256f5[_0x4cc277(0x1c0)]=this['nextWaitToken']);const _0xe36576=this[_0x4cc277(0x1ba)]+encodeURIComponent(_0x539bc1['id'])+'/breakpoints?'+qs[_0x4cc277(0x161)](_0x1256f5);this[_0x4cc277(0x154)]({'uri':_0xe36576,'json':!![]},(_0x2867a3,_0x597a83,_0x17fe2e)=>{const _0x10d0a0=_0x4cc277;if(!_0x17fe2e){_0x3a8cd2(_0x2867a3??new Error(_0x10d0a0(0x1af)));return;}else{if(!is2xx(_0x17fe2e[_0x10d0a0(0x1f2)])){_0x3a8cd2(new Error(_0x10d0a0(0x185)+_0x17fe2e[_0x10d0a0(0x1f2)]),undefined,_0x17fe2e);return;}else _0x597a83&&(this[_0x10d0a0(0x1a6)]=_0x597a83['nextWaitToken']),_0x3a8cd2(null,_0x597a83,_0x17fe2e);}},_0x10b64e,this[_0x4cc277(0x1bb)]=new AbortController());}async[a6_0x348526(0x1d5)](_0x2d465d,_0x2669e4){return new Promise((_0x414ade,_0x20dc8f)=>{const _0x4eba97=a6_0x540c;this[_0x4eba97(0x1d1)](_0x2d465d,(_0x5499db,_0x1057b8,_0xa4aa48)=>{_0x5499db?_0x20dc8f(_0x5499db):_0x414ade({'err':_0x5499db,'response':_0xa4aa48,'result':_0x1057b8});},_0x2669e4);});}[a6_0x348526(0x188)](_0x45358c,_0x2cc59f){const _0x4f76b3=a6_0x348526;assert(_0x45358c['id'],_0x4f76b3(0x1aa));try{const _0x32e772=JSON[_0x4f76b3(0x161)](_0x2cc59f),_0x399a54=(0x0,utils_1[_0x4f76b3(0x1d7)])(_0x32e772);if(_0x399a54>=this[_0x4f76b3(0x156)][_0x4f76b3(0x1b4)]){this[_0x4f76b3(0x18c)][_0x4f76b3(0x1c2)]('breakpointId:\x20'+_0x2cc59f['id']+_0x4f76b3(0x159)+_0x399a54+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x4f76b3(0x156)][_0x4f76b3(0x1b4)]);return;}this['transmissionQueue'][_0x4f76b3(0x152)]({'id':_0x2cc59f['id'],'serializedJson':_0x32e772,'number':0x0}),this[_0x4f76b3(0x1d3)]??(this['transmissionTimeout']=setTimeout(()=>this[_0x4f76b3(0x166)]['bind'](this)(_0x45358c['id']),0x0));}catch(_0xcb6c22){this[_0x4f76b3(0x18c)][_0x4f76b3(0x168)](_0x4f76b3(0x1c8)+_0x2cc59f['id']+_0x4f76b3(0x158),_0xcb6c22);return;}}['stop'](){const _0x37604e=a6_0x348526;this[_0x37604e(0x1bb)]?.[_0x37604e(0x1ce)](),this[_0x37604e(0x1bb)]=undefined;if(!this[_0x37604e(0x1d3)])return;clearTimeout(this['transmissionTimeout']),this[_0x37604e(0x1d3)]=null;}async[a6_0x348526(0x1e7)](_0x1f7639){const _0x597c16=a6_0x348526,_0x1a5001=Date[_0x597c16(0x172)](),_0x4b8747=0x1;while(Date['now']()-_0x1a5001<_0x1f7639){if(serverless_1[_0x597c16(0x1df)][_0x597c16(0x1e4)]()&&serverless_1[_0x597c16(0x1df)][_0x597c16(0x1b9)]()){this['logger']['debug']('another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now');return;}const _0x1942c5=this['transmissionQueue'][_0x597c16(0x199)]===0x0,_0x2afc87=!this['transmissionTimeout'],_0x37e7fd=!this['activeTransmission'];if(_0x1942c5&&_0x2afc87&&_0x37e7fd){this[_0x597c16(0x18c)][_0x597c16(0x17c)]('transmission\x20queue\x20is\x20empty');return;}this['activeTransmission']?(this[_0x597c16(0x18c)]['debug'](_0x597c16(0x180)),await Promise[_0x597c16(0x18d)]([this['activeTransmission'],(0x0,utils_1['waitFor'])(_0x4b8747)])):(this[_0x597c16(0x18c)][_0x597c16(0x17c)](_0x597c16(0x1cd)+_0x4b8747+'ms'),await(0x0,utils_1[_0x597c16(0x192)])(_0x4b8747));}throw new Error('Queue\x20drain\x20timeout\x20after\x20'+_0x1f7639+_0x597c16(0x186)+this[_0x597c16(0x181)][_0x597c16(0x199)]);}[a6_0x348526(0x197)](_0x124f15,_0x37fe9f){const _0x3001e6=a6_0x348526,_0x36cafb=this['apiUrl']+encodeURIComponent(_0x124f15['id'])+_0x3001e6(0x193),_0x641bb7={'uri':_0x36cafb,'method':_0x3001e6(0x1ef),'json':!![]};this[_0x3001e6(0x18c)][_0x3001e6(0x1be)](_0x3001e6(0x19f)),this[_0x3001e6(0x154)](_0x641bb7,(_0x41cfa3,_0x572c0f,_0x4ba288)=>{const _0x2ec008=_0x3001e6;(!_0x4ba288||Math[_0x2ec008(0x1c1)](_0x4ba288[_0x2ec008(0x1f2)]/0x64)!==0x2)&&this[_0x2ec008(0x18c)][_0x2ec008(0x1c2)](_0x2ec008(0x17f)+_0x41cfa3),_0x37fe9f(_0x41cfa3);});}[a6_0x348526(0x1a1)](_0x269313,_0x51cc7d,_0x43f0f1){const _0x39a5b2=a6_0x348526,_0x4e3d56=this[_0x39a5b2(0x1ba)]+encodeURIComponent(_0x269313['id'])+_0x39a5b2(0x189),_0x4f01d8={'uri':_0x4e3d56,'method':'POST','json':!![],'body':_0x51cc7d};this[_0x39a5b2(0x154)](_0x4f01d8,(_0x44a5ed,_0x22f793,_0xae17dc)=>{const _0x382a7f=_0x39a5b2;(!_0xae17dc||Math[_0x382a7f(0x1c1)](_0xae17dc['status']/0x64)!==0x2)&&(this[_0x382a7f(0x18c)]['warn']('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x44a5ed),_0x43f0f1(_0x44a5ed));});}[a6_0x348526(0x182)](_0x30dc26,_0x591a94,_0x20ca56){const _0x195aaf=a6_0x348526,_0x24494f=this[_0x195aaf(0x1ba)]+encodeURIComponent(_0x30dc26['id'])+'/appOnlyActionHits/',_0x5f3ce3={'uri':_0x24494f,'method':_0x195aaf(0x1ef),'json':!![],'body':_0x591a94};this[_0x195aaf(0x154)](_0x5f3ce3,(_0x415b52,_0x4106e8,_0x31e6d6)=>{const _0xb5245d=_0x195aaf;(!_0x31e6d6||Math[_0xb5245d(0x1c1)](_0x31e6d6[_0xb5245d(0x1f2)]/0x64)!==0x2)&&(this[_0xb5245d(0x18c)]['warn'](_0xb5245d(0x175)+_0x415b52),_0x20ca56(_0x415b52));});}[a6_0x348526(0x1cf)](_0x35c190,_0x20e59a,_0x18b593){const _0x277bc1=a6_0x348526;assert(_0x35c190['id'],_0x277bc1(0x1aa));if(this[_0x277bc1(0x1a0)]){const _0x3714e2=Date[_0x277bc1(0x172)](),_0x448358=this[_0x277bc1(0x1a0)]+this[_0x277bc1(0x156)][_0x277bc1(0x1a8)][_0x277bc1(0x1eb)];if(_0x3714e2<_0x448358){this[_0x277bc1(0x18c)][_0x277bc1(0x1be)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+(_0x448358-_0x3714e2)/0x3e8+_0x277bc1(0x19d));return;}}const _0x4e3c7d=(0x0,fs_1['statSync'])(_0x18b593)[_0x277bc1(0x15f)],_0x5054fe=Math[_0x277bc1(0x17d)](0x0,_0x4e3c7d-this[_0x277bc1(0x156)]['agentLog'][_0x277bc1(0x173)]),_0x2af106=(0x0,fs_1[_0x277bc1(0x169)])(_0x18b593,{'start':_0x5054fe}),_0x109fa6=(0x0,zlib_1[_0x277bc1(0x157)])(),_0x5ad5a3=new memory_streams_1[(_0x277bc1(0x19a))]();this[_0x277bc1(0x18c)]['info'](_0x277bc1(0x183)+_0x18b593+_0x277bc1(0x15b)+_0x20e59a),(0x0,stream_1[_0x277bc1(0x155)])(_0x2af106,_0x109fa6,_0x5ad5a3,_0x53d940=>{const _0x3486c7=_0x277bc1;if(_0x53d940)this[_0x3486c7(0x18c)][_0x3486c7(0x168)](_0x3486c7(0x1ac)+_0x18b593+':\x20'+_0x53d940);else{const _0x43cec1={'uri':this[_0x3486c7(0x1ba)]+encodeURIComponent(_0x35c190['id'])+'/compressedLogFileV2/'+_0x20e59a,'method':'PUT','body':_0x5ad5a3[_0x3486c7(0x1b8)](),'headers':{'Content-Type':'application/octet-stream'}};this[_0x3486c7(0x154)](_0x43cec1,_0x152281=>{const _0x184c1e=_0x3486c7;_0x152281?this['logger'][_0x184c1e(0x168)](_0x184c1e(0x17e)+_0x18b593+_0x184c1e(0x14f)+_0x20e59a,_0x152281):(this[_0x184c1e(0x18c)]['info'](_0x184c1e(0x1c6)+_0x18b593+_0x184c1e(0x14f)+_0x20e59a),this[_0x184c1e(0x1a0)]=Date[_0x184c1e(0x172)]());});}});}[a6_0x348526(0x166)](_0x1dba06){const _0x275627=a6_0x348526;this[_0x275627(0x18c)][_0x275627(0x17c)](_0x275627(0x1a4)),this[_0x275627(0x1d3)]=undefined;const _0x2fe844=[];let _0x278f97=0x0;while(_0x2fe844[_0x275627(0x199)]<this['config']['transmissionBulkMaxSize']&&this['transmissionQueue'][_0x275627(0x199)]>0x0){const [_0x57ab15]=this[_0x275627(0x181)],_0x16f5ab=_0x57ab15[_0x275627(0x153)],_0x5efd9a=(0x0,utils_1[_0x275627(0x1d7)])(_0x16f5ab);_0x278f97+=_0x5efd9a;if(_0x278f97<=this['config']['transmissionBulkMaxNetworkSizeInBytes'])_0x2fe844['push'](_0x57ab15),this['transmissionQueue'][_0x275627(0x1f4)]();else{_0x5efd9a>this[_0x275627(0x156)][_0x275627(0x1b0)]&&_0x2fe844[_0x275627(0x199)]===0x0&&(this[_0x275627(0x18c)][_0x275627(0x17c)]('breakpoint\x20'+_0x57ab15['id']+_0x275627(0x19c)+this[_0x275627(0x156)][_0x275627(0x1b0)]+_0x275627(0x1c9)),_0x2fe844['push'](_0x57ab15),this[_0x275627(0x181)]['shift']());break;}}if(!_0x2fe844)return;const _0xe8a0c2=_0x2fe844[_0x275627(0x165)](_0x2849bb=>_0x2849bb['id']),_0x12e66c={'uri':this[_0x275627(0x1ba)]+encodeURIComponent(_0x1dba06)+'/breakpoints','json':!![],'method':_0x275627(0x16b),'body':'['+_0x2fe844[_0x275627(0x165)](_0x79fff1=>_0x79fff1[_0x275627(0x153)])[_0x275627(0x1ea)](',')+']'};try{this[_0x275627(0x18e)]=this[_0x275627(0x154)](_0x12e66c,(_0x45738f,_0xa1ebbd,_0x189f52)=>{const _0x2cc4ce=_0x275627,_0x5e0140=_0x189f52?.['status'];this[_0x2cc4ce(0x18c)][_0x2cc4ce(0x17c)](_0x2cc4ce(0x1ca)+_0xe8a0c2+'\x20finished\x20with\x20status\x20'+_0x5e0140);if(_0x45738f||!_0x5e0140||Math[_0x2cc4ce(0x1c1)](_0x5e0140/0x64)!==0x2){const _0x2355f7=_0x5e0140&&(_0x5e0140>=0x1f4||_0x5e0140===0x198);if(_0x2355f7){this[_0x2cc4ce(0x18c)]['warn'](_0x2cc4ce(0x15e)+_0xe8a0c2+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x5e0140+_0x2cc4ce(0x1b6)+_0x45738f);for(const _0x3f3d38 of _0x2fe844){_0x3f3d38[_0x2cc4ce(0x1c4)]<MAX_FAILED_SEND_ATTEMPTS?this[_0x2cc4ce(0x181)]['push']({..._0x3f3d38,'number':_0x3f3d38['number']+0x1}):this[_0x2cc4ce(0x18c)]['warn'](_0x2cc4ce(0x16f)+_0x3f3d38['id']+_0x2cc4ce(0x1d2));}}else this[_0x2cc4ce(0x18c)][_0x2cc4ce(0x1c2)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0xe8a0c2+_0x2cc4ce(0x19e)+_0x5e0140+_0x2cc4ce(0x1b6)+_0x45738f);}else this[_0x2cc4ce(0x18c)][_0x2cc4ce(0x1be)](_0x2cc4ce(0x1ca)+_0xe8a0c2+_0x2cc4ce(0x1d9));this['transmissionQueue'][_0x2cc4ce(0x199)]>0x0&&(this[_0x2cc4ce(0x1d3)]=setTimeout(()=>this[_0x2cc4ce(0x166)][_0x2cc4ce(0x190)](this)(_0x1dba06),0x0));},0x28)[_0x275627(0x1dd)](()=>{const _0x3578dc=_0x275627;this[_0x3578dc(0x18e)]=undefined;});}catch(_0x265c0f){this['logger'][_0x275627(0x1c2)](_0x275627(0x18b)+_0xe8a0c2+_0x275627(0x1a2)+_0x265c0f+_0x275627(0x194)+_0x265c0f[_0x275627(0x17b)]?.[_0x275627(0x17a)]),this[_0x275627(0x181)][_0x275627(0x199)]>0x0&&(this[_0x275627(0x1d3)]=setTimeout(()=>this[_0x275627(0x166)][_0x275627(0x190)](this)(_0x1dba06),0x0)),this[_0x275627(0x18e)]=undefined;}}async[a6_0x348526(0x160)](_0x97f6ca){const _0xf38476=a6_0x348526;this[_0xf38476(0x18c)][_0xf38476(0x1be)](_0xf38476(0x1e1));const _0x360b67=this[_0xf38476(0x1ba)]+encodeURIComponent(_0x97f6ca)+_0xf38476(0x1da),{error:_0x4f846f,data:_0x5ee8b7}=await this[_0xf38476(0x154)]({'uri':_0x360b67,'json':!![]});if(_0x4f846f)return Promise[_0xf38476(0x15c)](_0x4f846f);return yaml['load'](_0x5ee8b7)??{};}[a6_0x348526(0x154)](_0x2c50b4,_0x3e3473,_0x31b5bc,_0x202f65,_0x29ff6b){const _0x1e889a=a6_0x348526,_0xb4a3b={'Content-Type':_0x29ff6b??_0x1e889a(0x1f1),'Authorization':_0x1e889a(0x1e6)+this[_0x1e889a(0x156)][_0x1e889a(0x16e)]},_0x5d87b9=_0x202f65??new AbortController(),_0x276477=_0x31b5bc?_0x31b5bc*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x1e889a(0x18c)][_0x1e889a(0x17c)](_0x1e889a(0x1b5)+_0x276477);const _0x4696cd=setTimeout(()=>{const _0x31d028=_0x1e889a;this[_0x31d028(0x18c)]['warn'](_0x31d028(0x1bc)+_0x276477+'ms'),_0x5d87b9[_0x31d028(0x1ce)]();},_0x276477),_0x27c80f={'method':_0x2c50b4[_0x1e889a(0x1ec)],'url':_0x2c50b4[_0x1e889a(0x1f7)],'data':_0x2c50b4['body'],'headers':_0xb4a3b,'signal':_0x5d87b9[_0x1e889a(0x1f3)]};return extend(!![],_0x27c80f,_0x2c50b4),this[_0x1e889a(0x1f8)]['request'](_0x27c80f)[_0x1e889a(0x1db)](_0xc417e9=>{const _0x5392e8=_0x1e889a;return _0x3e3473?.(null,_0xc417e9[_0x5392e8(0x17b)],_0xc417e9),{'error':null,'data':_0xc417e9['data'],'res':_0xc417e9};})[_0x1e889a(0x1e0)](_0xfb162e=>{const _0x1aa101=_0x1e889a;return _0x3e3473?.(_0xfb162e,_0xfb162e[_0x1aa101(0x176)]?.['data'],_0xfb162e[_0x1aa101(0x176)]),{'error':_0xfb162e,'data':_0xfb162e[_0x1aa101(0x176)]?.[_0x1aa101(0x17b)],'res':_0xfb162e[_0x1aa101(0x176)]};})[_0x1e889a(0x1dd)](()=>clearTimeout(_0x4696cd));}async[a6_0x348526(0x1e9)](_0x27356c){const _0x5d56d7=a6_0x348526;this[_0x5d56d7(0x18c)]['info'](_0x5d56d7(0x1dc));const _0x54a785=this[_0x5d56d7(0x1ba)]+encodeURIComponent(_0x27356c)+_0x5d56d7(0x1e8),{error:_0x2b5853,data:_0x2ef80}=await this[_0x5d56d7(0x154)]({'uri':_0x54a785,'json':!![]});if(_0x2b5853)return Promise[_0x5d56d7(0x15c)](_0x2b5853);return _0x2ef80;}}exports['Controller']=Controller;function is2xx(_0x102b86){const _0x17a96e=a6_0x348526;return Math[_0x17a96e(0x1c1)](_0x102b86/0x64)===0x2;}function getProxyAgent(_0x506dde,_0x1742cc){const _0x5f4d53=a6_0x348526,{proxy:_0x3350a6}=_0x506dde;if(!_0x3350a6?.[_0x5f4d53(0x1d8)])return undefined;if(!_0x3350a6[_0x5f4d53(0x191)])return _0x1742cc[_0x5f4d53(0x168)](_0x5f4d53(0x1c7)),undefined;_0x1742cc['info'](_0x5f4d53(0x1d4)+_0x3350a6[_0x5f4d53(0x1d8)]+':'+_0x3350a6['port']+_0x5f4d53(0x1cc)+(_0x3350a6[_0x5f4d53(0x1c5)]??''));const _0x9721a4=new URL('http://'+_0x3350a6['host']);_0x9721a4[_0x5f4d53(0x191)]=String(_0x3350a6[_0x5f4d53(0x191)]);_0x3350a6[_0x5f4d53(0x1c5)]&&(_0x9721a4['username']=_0x3350a6[_0x5f4d53(0x1c5)]);_0x3350a6[_0x5f4d53(0x1b3)]&&(_0x9721a4[_0x5f4d53(0x1b3)]=_0x3350a6[_0x5f4d53(0x1b3)]);const _0x3e2562=new https_proxy_agent_1[(_0x5f4d53(0x1c3))](_0x9721a4),_0x22376c=getHttpsAgentOptions(_0x506dde,_0x1742cc),_0xa78915=_0x3e2562[_0x5f4d53(0x15d)][_0x5f4d53(0x190)](_0x3e2562);return _0x3e2562[_0x5f4d53(0x15d)]=(_0x45f269,_0x1ba684)=>_0xa78915(_0x45f269,{..._0x1ba684,..._0x22376c}),_0x3e2562;}function getHttpsAgentOptions(_0x563a45,_0x14b7e0){const _0x1dff45=a6_0x348526,_0x127371={'checkServerIdentity':(_0x7892c,_0x1b7170)=>{const _0x135d3e=a6_0x540c;if(_0x563a45['noCheckCertificate'])return undefined;const _0x39a107=(0x0,crypto_1[_0x135d3e(0x184)])(_0x135d3e(0x1f5))[_0x135d3e(0x16c)](_0x1b7170[_0x135d3e(0x16a)])['digest']('hex');return _0x563a45[_0x135d3e(0x1e3)][_0x135d3e(0x1a7)](_0x39a107)?undefined:new Error(_0x135d3e(0x164));}};let _0x5c37a1;if(_0x563a45[_0x1dff45(0x1b7)])try{_0x5c37a1=(0x0,fs_1[_0x1dff45(0x1cb)])(_0x563a45[_0x1dff45(0x1b7)],_0x1dff45(0x1ae));}catch{_0x14b7e0[_0x1dff45(0x1c2)](_0x1dff45(0x198)+_0x563a45[_0x1dff45(0x1b7)]+_0x1dff45(0x195));}if(_0x5c37a1){const _0x3721e2=(0x0,tls_1[_0x1dff45(0x162)])(_0x127371);_0x3721e2[_0x1dff45(0x163)][_0x1dff45(0x150)](_0x5c37a1),_0x127371[_0x1dff45(0x1b1)]=_0x3721e2;}return _0x127371;}
|
|
1
|
+
const a6_0x2228a3=a6_0xba84;(function(_0x16adfb,_0x532bd1){const _0x3b65e6=a6_0xba84,_0x13cd40=_0x16adfb();while(!![]){try{const _0xa55416=-parseInt(_0x3b65e6(0x1ec))/0x1+parseInt(_0x3b65e6(0x230))/0x2+parseInt(_0x3b65e6(0x21a))/0x3*(parseInt(_0x3b65e6(0x1da))/0x4)+-parseInt(_0x3b65e6(0x233))/0x5*(-parseInt(_0x3b65e6(0x1eb))/0x6)+-parseInt(_0x3b65e6(0x1ba))/0x7+parseInt(_0x3b65e6(0x237))/0x8+-parseInt(_0x3b65e6(0x1af))/0x9*(-parseInt(_0x3b65e6(0x1e4))/0xa);if(_0xa55416===_0x532bd1)break;else _0x13cd40['push'](_0x13cd40['shift']());}catch(_0x5bbb09){_0x13cd40['push'](_0x13cd40['shift']());}}}(a6_0x59bc,0x28151));const a6_0x516afe=(function(){let _0x3dd7e9=!![];return function(_0x1883ff,_0x151775){const _0x445b89=_0x3dd7e9?function(){if(_0x151775){const _0x23eeb6=_0x151775['apply'](_0x1883ff,arguments);return _0x151775=null,_0x23eeb6;}}:function(){};return _0x3dd7e9=![],_0x445b89;};}()),a6_0x44868b=a6_0x516afe(this,function(){const _0x38ab94=a6_0xba84;return a6_0x44868b[_0x38ab94(0x1dd)]()[_0x38ab94(0x220)]('(((.+)+)+)+$')[_0x38ab94(0x1dd)]()[_0x38ab94(0x20e)](a6_0x44868b)[_0x38ab94(0x220)](_0x38ab94(0x23a));});a6_0x44868b();'use strict';Object[a6_0x2228a3(0x236)](exports,a6_0x2228a3(0x22f),{'value':!![]}),exports[a6_0x2228a3(0x1cc)]=void 0x0;function a6_0x59bc(){const _0x1736f5=['listBreakpointsAbortController','Serverless','5682CwtpXY','reject','signal','/compressedLogFileV2/','collectCooldownMs','create','search','Getting\x20reductions','timeout\x20set\x20to\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','caPath','sendAppOnlyBreakpointHitsToServer','WritableStream','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','sendAgentLogsToServer','Failed\x20to\x20send\x20log\x20file\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','config','pinnedCerts','unknown\x20error\x20-\x20request\x20response\x20missing','load','__esModule','239780xntPSp','request','status','30125uIduul','\x20seconds','info','defineProperty','1650896vRSlXR','\x20size\x20is\x20','warn','(((.+)+)+)+$','debug','stream','transmission\x20queue\x20is\x20empty','Update\x20for\x20breakpoints\x20','number','makeRequest','shift','noCheckCertificate','/deregister/','sendBreakpointLogsToServer','logger','listBreakpoints','extend','ms.\x20Queue\x20length:\x20','floor','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','abort','/blacklist?successOnTimeout=true',',\x20username:\x20','join','invalid\x20response\x20body\x20from\x20server','message','bind','tls','31113cOyYyt','zlib','error','port','activeTransmission','/appOnlyActionHits/','waitToken','push','deregister','\x20Error:\x20','isServerless','1549590RZDCap','Getting\x20blocklist','response','transmitBreakpointUpdates','assert','transmissionHardMaxNetworkSizeLimitInBytes','createSecureContext','waitForTransmissionQueueDrain',',\x20sending\x20only\x20one','createGzip','transmissionTimeout','axios','should\x20have\x20a\x20registered\x20debuggee','querystring','breakpoint\x20','https://','statSync','/redaction','Controller','\x20for\x20request\x20','Failed\x20to\x20zip\x20','data','breakpointId:\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','getJsonStringSizeInBytes','secureContext','context','Bearer\x20','method','\x20for\x20request\x20id\x20','Transmitting\x20breakpoint\x20updates...','enqueueBreakpointUpdate','68dnbaMB','crypto','uri','toString','body','POST','agentLog','/controller','host','./util/utils','630kucbGk','readFileSync','lastLogCollectionTime','\x20and\x20enqueue\x20to\x20queue','\x20finished\x20with\x20status\x20','username','application/json','60xldqYQ','250944aiAxyL','Agent','hex','size','debuggee','waiting\x20for\x20active\x20transmission','isTransmissionEnsured','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/breakpoints','Using\x20proxy\x20configuration:\x20','Certificate\x20Pinning\x20Failed!','apiUrl','map','includes','sha256','serializedJson','createReadStream','Timeout\x20occurred\x20after\x20','memory-streams','max','PUT','transmissionBulkMaxNetworkSizeInBytes','finally','length','http://','register','toBuffer','race','transmissionQueue','another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now','now','stringify','Compressing\x20and\x20sending\x20log\x20file\x20','password','constructor','Queue\x20drain\x20timeout\x20after\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','apiEndpoint','catch','update','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','nextWaitToken','https-proxy-agent','Successfully\x20sent\x20log\x20file\x20'];a6_0x59bc=function(){return _0x1736f5;};return a6_0x59bc();}const common_1=require('@google-cloud/common'),assert=require(a6_0x2228a3(0x1be)),qs=require(a6_0x2228a3(0x1c7)),fs_1=require('fs'),crypto_1=require(a6_0x2228a3(0x1db)),zlib_1=require(a6_0x2228a3(0x1b0)),stream_1=require(a6_0x2228a3(0x23c)),memory_streams_1=require(a6_0x2228a3(0x1fe)),tls_1=require(a6_0x2228a3(0x1ae)),extend=require(a6_0x2228a3(0x1a3)),axios_1=require(a6_0x2228a3(0x1c5)),https=require('https'),utils_1=require(a6_0x2228a3(0x1e3)),serverless_1=require('./serverless'),https_proxy_agent_1=require(a6_0x2228a3(0x216)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0xba84(_0x1270f8,_0x2ed2eb){const _0x58f8aa=a6_0x59bc();return a6_0xba84=function(_0x44868b,_0x516afe){_0x44868b=_0x44868b-0x1a2;let _0x59bc41=_0x58f8aa[_0x44868b];return _0x59bc41;},a6_0xba84(_0x1270f8,_0x2ed2eb);}class Controller extends common_1['ServiceObject']{constructor(_0x4f4af1,_0x30104f,_0x5d2444){const _0x51e737=a6_0x2228a3;super({'parent':_0x4f4af1,'baseUrl':_0x51e737(0x1e1)}),this[_0x51e737(0x215)]=null,this[_0x51e737(0x22b)]=_0x30104f,this[_0x51e737(0x208)]=[],this[_0x51e737(0x245)]=_0x5d2444,this[_0x51e737(0x1f7)]=_0x51e737(0x1c9)+_0x30104f[_0x51e737(0x211)]+'/debuggees/',this[_0x51e737(0x1c5)]=axios_1['default'][_0x51e737(0x21f)]({'httpsAgent':getProxyAgent(_0x30104f,_0x5d2444)??new https[(_0x51e737(0x1ed))](getHttpsAgentOptions(_0x30104f,_0x5d2444)),'proxy':![]});}[a6_0x2228a3(0x205)](_0x554f01,_0x4f9371){const _0x5e08b5=a6_0x2228a3,_0x34bfb9={'uri':this[_0x5e08b5(0x1f7)]+_0x5e08b5(0x205),'method':_0x5e08b5(0x1df),'json':!![],'body':{'debuggee':_0x554f01}};this[_0x5e08b5(0x240)](_0x34bfb9,(_0x46dffa,_0x511a81,_0x150baf)=>{const _0x3f9631=_0x5e08b5;if(!_0x150baf)_0x4f9371(_0x46dffa??new Error(_0x3f9631(0x22d)));else{if(_0x46dffa){let _0x2792bb=![];_0x150baf[_0x3f9631(0x232)]===HTTP_UPGRADE_REQUIRED&&_0x511a81&&(_0x511a81[_0x3f9631(0x1ac)]!==undefined&&(_0x46dffa[_0x3f9631(0x1ac)]=_0x511a81[_0x3f9631(0x1ac)]),_0x2792bb=!![]),_0x4f9371(_0x46dffa,_0x511a81,_0x2792bb);}else{if(_0x150baf['status']!==HTTP_SUCCESS)_0x4f9371(new Error('unable\x20to\x20register,\x20status\x20'+_0x150baf['status']));else!_0x511a81?.[_0x3f9631(0x1f0)]?_0x4f9371(new Error(_0x3f9631(0x1ab))):(_0x554f01['id']=_0x511a81[_0x3f9631(0x1f0)]['id'],_0x4f9371(null,_0x511a81));}}});}[a6_0x2228a3(0x1a2)](_0x2ded5c,_0x3cb97a,_0x4c4880){const _0x39d574=a6_0x2228a3;assert(_0x2ded5c['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x5087fa={'successOnTimeout':!![]};this[_0x39d574(0x215)]&&(_0x5087fa[_0x39d574(0x1b5)]=this['nextWaitToken']);const _0x59e9b9=this[_0x39d574(0x1f7)]+encodeURIComponent(_0x2ded5c['id'])+'/breakpoints?'+qs[_0x39d574(0x20b)](_0x5087fa);this[_0x39d574(0x240)]({'uri':_0x59e9b9,'json':!![]},(_0xa68bd7,_0x245c27,_0x4dd4de)=>{const _0x1c23f7=_0x39d574;if(!_0x4dd4de){_0x3cb97a(_0xa68bd7??new Error(_0x1c23f7(0x22d)));return;}else{if(!is2xx(_0x4dd4de[_0x1c23f7(0x232)])){_0x3cb97a(new Error(_0x1c23f7(0x227)+_0x4dd4de[_0x1c23f7(0x232)]),undefined,_0x4dd4de);return;}else _0x245c27&&(this[_0x1c23f7(0x215)]=_0x245c27['nextWaitToken']),_0x3cb97a(null,_0x245c27,_0x4dd4de);}},_0x4c4880,this['listBreakpointsAbortController']=new AbortController());}async['listBreakpointsAsync'](_0x4ad1ec,_0x524a56){return new Promise((_0x17aa54,_0x2f7f50)=>{const _0x2b2d3f=a6_0xba84;this[_0x2b2d3f(0x1a2)](_0x4ad1ec,(_0x149528,_0x1873b3,_0x2235ac)=>{_0x149528?_0x2f7f50(_0x149528):_0x17aa54({'err':_0x149528,'response':_0x2235ac,'result':_0x1873b3});},_0x524a56);});}[a6_0x2228a3(0x1d9)](_0x1a3f7c,_0x205cc8){const _0x35f1ed=a6_0x2228a3;assert(_0x1a3f7c['id'],_0x35f1ed(0x1c6));try{const _0x184ab4=JSON[_0x35f1ed(0x20b)](_0x205cc8),_0x346f1c=(0x0,utils_1[_0x35f1ed(0x1d2)])(_0x184ab4);if(_0x346f1c>=this[_0x35f1ed(0x22b)][_0x35f1ed(0x1bf)]){this[_0x35f1ed(0x245)][_0x35f1ed(0x239)](_0x35f1ed(0x1d0)+_0x205cc8['id']+_0x35f1ed(0x238)+_0x346f1c+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this['config'][_0x35f1ed(0x1bf)]);return;}this[_0x35f1ed(0x208)][_0x35f1ed(0x1b6)]({'id':_0x205cc8['id'],'serializedJson':_0x184ab4,'number':0x0}),this[_0x35f1ed(0x1c4)]??(this[_0x35f1ed(0x1c4)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x35f1ed(0x1ad)](this)(_0x1a3f7c['id']),0x0));}catch(_0x1fcc3f){this[_0x35f1ed(0x245)][_0x35f1ed(0x1b1)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x205cc8['id']+_0x35f1ed(0x1e7),_0x1fcc3f);return;}}['stop'](){const _0x44c12a=a6_0x2228a3;this[_0x44c12a(0x218)]?.[_0x44c12a(0x1a7)](),this[_0x44c12a(0x218)]=undefined;if(!this[_0x44c12a(0x1c4)])return;clearTimeout(this[_0x44c12a(0x1c4)]),this[_0x44c12a(0x1c4)]=null;}async[a6_0x2228a3(0x1c1)](_0xed3e2c){const _0x20acb6=a6_0x2228a3,_0x3dd0ef=Date[_0x20acb6(0x20a)](),_0x91c769=0x1;while(Date[_0x20acb6(0x20a)]()-_0x3dd0ef<_0xed3e2c){if(serverless_1[_0x20acb6(0x219)][_0x20acb6(0x1b9)]()&&serverless_1['Serverless'][_0x20acb6(0x1f2)]()){this['logger'][_0x20acb6(0x23b)](_0x20acb6(0x209));return;}const _0x3d1763=this[_0x20acb6(0x208)][_0x20acb6(0x203)]===0x0,_0x483ce2=!this[_0x20acb6(0x1c4)],_0x59f314=!this[_0x20acb6(0x1b3)];if(_0x3d1763&&_0x483ce2&&_0x59f314){this[_0x20acb6(0x245)][_0x20acb6(0x23b)](_0x20acb6(0x23d));return;}this[_0x20acb6(0x1b3)]?(this['logger'][_0x20acb6(0x23b)](_0x20acb6(0x1f1)),await Promise[_0x20acb6(0x207)]([this['activeTransmission'],(0x0,utils_1['waitFor'])(_0x91c769)])):(this[_0x20acb6(0x245)][_0x20acb6(0x23b)]('Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20'+_0x91c769+'ms'),await(0x0,utils_1['waitFor'])(_0x91c769));}throw new Error(_0x20acb6(0x20f)+_0xed3e2c+_0x20acb6(0x1a4)+this[_0x20acb6(0x208)][_0x20acb6(0x203)]);}[a6_0x2228a3(0x1b7)](_0x5f4f11,_0x3dc027){const _0x2ab1a9=a6_0x2228a3,_0x48b505=this['apiUrl']+encodeURIComponent(_0x5f4f11['id'])+_0x2ab1a9(0x243),_0x2bdf61={'uri':_0x48b505,'method':_0x2ab1a9(0x1df),'json':!![]};this[_0x2ab1a9(0x245)][_0x2ab1a9(0x235)]('Deregister\x20agent\x20before\x20shutdown'),this[_0x2ab1a9(0x240)](_0x2bdf61,(_0x3132d7,_0x49687f,_0x2682a2)=>{const _0x5d5f2e=_0x2ab1a9;(!_0x2682a2||Math[_0x5d5f2e(0x1a5)](_0x2682a2[_0x5d5f2e(0x232)]/0x64)!==0x2)&&this[_0x5d5f2e(0x245)]['warn']('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x3132d7),_0x3dc027(_0x3132d7);});}[a6_0x2228a3(0x244)](_0x56bd4a,_0x40877e,_0x8052a6){const _0xb77a53=a6_0x2228a3,_0x46d3bb=this[_0xb77a53(0x1f7)]+encodeURIComponent(_0x56bd4a['id'])+'/log/',_0x356b0f={'uri':_0x46d3bb,'method':_0xb77a53(0x1df),'json':!![],'body':_0x40877e};this['makeRequest'](_0x356b0f,(_0x5c13e5,_0x46f074,_0x49b182)=>{const _0x35f1de=_0xb77a53;(!_0x49b182||Math[_0x35f1de(0x1a5)](_0x49b182[_0x35f1de(0x232)]/0x64)!==0x2)&&(this[_0x35f1de(0x245)][_0x35f1de(0x239)](_0x35f1de(0x1a6)+_0x5c13e5),_0x8052a6(_0x5c13e5));});}[a6_0x2228a3(0x225)](_0x1f61f7,_0x187b1a,_0x14af9f){const _0x2ccd7b=a6_0x2228a3,_0x59d043=this['apiUrl']+encodeURIComponent(_0x1f61f7['id'])+_0x2ccd7b(0x1b4),_0x3b8bef={'uri':_0x59d043,'method':_0x2ccd7b(0x1df),'json':!![],'body':_0x187b1a};this[_0x2ccd7b(0x240)](_0x3b8bef,(_0x17b527,_0xf2594,_0x1aefeb)=>{const _0x3f3575=_0x2ccd7b;(!_0x1aefeb||Math[_0x3f3575(0x1a5)](_0x1aefeb[_0x3f3575(0x232)]/0x64)!==0x2)&&(this[_0x3f3575(0x245)]['warn'](_0x3f3575(0x1f3)+_0x17b527),_0x14af9f(_0x17b527));});}[a6_0x2228a3(0x228)](_0x30887c,_0x39698a,_0x388b4a){const _0x80e21c=a6_0x2228a3;assert(_0x30887c['id'],_0x80e21c(0x1c6));if(this[_0x80e21c(0x1e6)]){const _0x1abb1a=Date[_0x80e21c(0x20a)](),_0x48aa02=this[_0x80e21c(0x1e6)]+this[_0x80e21c(0x22b)]['agentLog'][_0x80e21c(0x21e)];if(_0x1abb1a<_0x48aa02){this['logger'][_0x80e21c(0x235)](_0x80e21c(0x214)+(_0x48aa02-_0x1abb1a)/0x3e8+_0x80e21c(0x234));return;}}const _0x933303=(0x0,fs_1[_0x80e21c(0x1ca)])(_0x388b4a)[_0x80e21c(0x1ef)],_0x1c7f49=Math[_0x80e21c(0x1ff)](0x0,_0x933303-this['config'][_0x80e21c(0x1e0)]['maxLogFileBytes']),_0xbd5164=(0x0,fs_1[_0x80e21c(0x1fc)])(_0x388b4a,{'start':_0x1c7f49}),_0x21c05e=(0x0,zlib_1[_0x80e21c(0x1c3)])(),_0x5d25c0=new memory_streams_1[(_0x80e21c(0x226))]();this[_0x80e21c(0x245)][_0x80e21c(0x235)](_0x80e21c(0x20c)+_0x388b4a+_0x80e21c(0x1d7)+_0x39698a),(0x0,stream_1['pipeline'])(_0xbd5164,_0x21c05e,_0x5d25c0,_0x2b3e46=>{const _0x44b84e=_0x80e21c;if(_0x2b3e46)this[_0x44b84e(0x245)][_0x44b84e(0x1b1)](_0x44b84e(0x1ce)+_0x388b4a+':\x20'+_0x2b3e46);else{const _0x54f4c8={'uri':this[_0x44b84e(0x1f7)]+encodeURIComponent(_0x30887c['id'])+_0x44b84e(0x21d)+_0x39698a,'method':_0x44b84e(0x200),'body':_0x5d25c0[_0x44b84e(0x206)](),'headers':{'Content-Type':'application/octet-stream'}};this[_0x44b84e(0x240)](_0x54f4c8,_0x54e4fe=>{const _0x4e796d=_0x44b84e;_0x54e4fe?this[_0x4e796d(0x245)][_0x4e796d(0x1b1)](_0x4e796d(0x229)+_0x388b4a+_0x4e796d(0x1cd)+_0x39698a,_0x54e4fe):(this['logger'][_0x4e796d(0x235)](_0x4e796d(0x217)+_0x388b4a+_0x4e796d(0x1cd)+_0x39698a),this[_0x4e796d(0x1e6)]=Date[_0x4e796d(0x20a)]());});}});}[a6_0x2228a3(0x1bd)](_0x18ab81){const _0x446d81=a6_0x2228a3;this['logger']['debug'](_0x446d81(0x1d8)),this[_0x446d81(0x1c4)]=undefined;const _0x6b131=[];let _0x225179=0x0;while(_0x6b131[_0x446d81(0x203)]<this[_0x446d81(0x22b)]['transmissionBulkMaxSize']&&this[_0x446d81(0x208)][_0x446d81(0x203)]>0x0){const [_0x1e3243]=this['transmissionQueue'],_0x1fc7a4=_0x1e3243[_0x446d81(0x1fb)],_0x364c8a=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x1fc7a4);_0x225179+=_0x364c8a;if(_0x225179<=this[_0x446d81(0x22b)]['transmissionBulkMaxNetworkSizeInBytes'])_0x6b131[_0x446d81(0x1b6)](_0x1e3243),this[_0x446d81(0x208)][_0x446d81(0x241)]();else{_0x364c8a>this[_0x446d81(0x22b)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x6b131[_0x446d81(0x203)]===0x0&&(this[_0x446d81(0x245)][_0x446d81(0x23b)](_0x446d81(0x1c8)+_0x1e3243['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x446d81(0x22b)][_0x446d81(0x201)]+_0x446d81(0x1c2)),_0x6b131[_0x446d81(0x1b6)](_0x1e3243),this[_0x446d81(0x208)][_0x446d81(0x241)]());break;}}if(!_0x6b131)return;const _0x4008be=_0x6b131[_0x446d81(0x1f8)](_0x17149f=>_0x17149f['id']),_0x319cbb={'uri':this[_0x446d81(0x1f7)]+encodeURIComponent(_0x18ab81)+_0x446d81(0x1f4),'json':!![],'method':_0x446d81(0x200),'body':'['+_0x6b131['map'](_0x2247e3=>_0x2247e3[_0x446d81(0x1fb)])[_0x446d81(0x1aa)](',')+']'};try{this['activeTransmission']=this[_0x446d81(0x240)](_0x319cbb,(_0xa4636f,_0x56bafd,_0xf9c5a8)=>{const _0x52549a=_0x446d81,_0x2e9d7a=_0xf9c5a8?.['status'];this[_0x52549a(0x245)][_0x52549a(0x23b)](_0x52549a(0x23e)+_0x4008be+_0x52549a(0x1e8)+_0x2e9d7a);if(_0xa4636f||!_0x2e9d7a||Math[_0x52549a(0x1a5)](_0x2e9d7a/0x64)!==0x2){const _0x110ffd=_0x2e9d7a&&(_0x2e9d7a>=0x1f4||_0x2e9d7a===0x198);if(_0x110ffd){this[_0x52549a(0x245)]['warn'](_0x52549a(0x223)+_0x4008be+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2e9d7a+_0x52549a(0x1b8)+_0xa4636f);for(const _0x39aa4c of _0x6b131){_0x39aa4c[_0x52549a(0x23f)]<MAX_FAILED_SEND_ATTEMPTS?this[_0x52549a(0x208)]['push']({..._0x39aa4c,'number':_0x39aa4c[_0x52549a(0x23f)]+0x1}):this[_0x52549a(0x245)][_0x52549a(0x239)]('Breakpoint\x20'+_0x39aa4c['id']+_0x52549a(0x22a));}}else this['logger']['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x4008be+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2e9d7a+_0x52549a(0x1b8)+_0xa4636f);}else this[_0x52549a(0x245)][_0x52549a(0x235)]('Update\x20for\x20breakpoints\x20'+_0x4008be+'\x20transmitted\x20successfully');this[_0x52549a(0x208)]['length']>0x0&&(this['transmissionTimeout']=setTimeout(()=>this[_0x52549a(0x1bd)][_0x52549a(0x1ad)](this)(_0x18ab81),0x0));},0x28)[_0x446d81(0x202)](()=>{const _0xb23eb1=_0x446d81;this[_0xb23eb1(0x1b3)]=undefined;});}catch(_0x271cea){this['logger'][_0x446d81(0x239)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x4008be+_0x446d81(0x210)+_0x271cea+',\x20Message:\x20'+_0x271cea[_0x446d81(0x1cf)]?.['message']),this[_0x446d81(0x208)][_0x446d81(0x203)]>0x0&&(this[_0x446d81(0x1c4)]=setTimeout(()=>this[_0x446d81(0x1bd)][_0x446d81(0x1ad)](this)(_0x18ab81),0x0)),this[_0x446d81(0x1b3)]=undefined;}}async['getBlocklist'](_0x14a891){const _0x354183=a6_0x2228a3;this[_0x354183(0x245)][_0x354183(0x235)](_0x354183(0x1bb));const _0x233615=this[_0x354183(0x1f7)]+encodeURIComponent(_0x14a891)+_0x354183(0x1a8),{error:_0x436346,data:_0x261adf}=await this['makeRequest']({'uri':_0x233615,'json':!![]});if(_0x436346)return Promise['reject'](_0x436346);return yaml[_0x354183(0x22e)](_0x261adf)??{};}['makeRequest'](_0x2eaab2,_0x4fcfed,_0x1685c5,_0x14e376,_0x5a33ff){const _0x504509=a6_0x2228a3,_0x3e0147={'Content-Type':_0x5a33ff??_0x504509(0x1ea),'Authorization':_0x504509(0x1d5)+this[_0x504509(0x22b)]['lightrunSecret']},_0xdad5e=_0x14e376??new AbortController(),_0x39f09e=_0x1685c5?_0x1685c5*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x504509(0x245)][_0x504509(0x23b)](_0x504509(0x222)+_0x39f09e);const _0xcc8dae=setTimeout(()=>{const _0x5231ea=_0x504509;this[_0x5231ea(0x245)]['warn'](_0x5231ea(0x1fd)+_0x39f09e+'ms'),_0xdad5e['abort']();},_0x39f09e),_0x105035={'method':_0x2eaab2[_0x504509(0x1d6)],'url':_0x2eaab2[_0x504509(0x1dc)],'data':_0x2eaab2[_0x504509(0x1de)],'headers':_0x3e0147,'signal':_0xdad5e[_0x504509(0x21c)]};return extend(!![],_0x105035,_0x2eaab2),this[_0x504509(0x1c5)][_0x504509(0x231)](_0x105035)['then'](_0x286e85=>{const _0x21948e=_0x504509;return _0x4fcfed?.(null,_0x286e85[_0x21948e(0x1cf)],_0x286e85),{'error':null,'data':_0x286e85[_0x21948e(0x1cf)],'res':_0x286e85};})[_0x504509(0x212)](_0x51f864=>{const _0x32593b=_0x504509;return _0x4fcfed?.(_0x51f864,_0x51f864['response']?.[_0x32593b(0x1cf)],_0x51f864[_0x32593b(0x1bc)]),{'error':_0x51f864,'data':_0x51f864[_0x32593b(0x1bc)]?.[_0x32593b(0x1cf)],'res':_0x51f864['response']};})[_0x504509(0x202)](()=>clearTimeout(_0xcc8dae));}async['getRedactions'](_0x3aac43){const _0x5bd3ee=a6_0x2228a3;this['logger']['info'](_0x5bd3ee(0x221));const _0x2f0026=this[_0x5bd3ee(0x1f7)]+encodeURIComponent(_0x3aac43)+_0x5bd3ee(0x1cb),{error:_0x245d67,data:_0x2cccc3}=await this[_0x5bd3ee(0x240)]({'uri':_0x2f0026,'json':!![]});if(_0x245d67)return Promise[_0x5bd3ee(0x21b)](_0x245d67);return _0x2cccc3;}}exports[a6_0x2228a3(0x1cc)]=Controller;function is2xx(_0x1fa4de){const _0x995e1d=a6_0x2228a3;return Math[_0x995e1d(0x1a5)](_0x1fa4de/0x64)===0x2;}function getProxyAgent(_0x56f950,_0x859609){const _0x1fc3c7=a6_0x2228a3,{proxy:_0x551fcc}=_0x56f950;if(!_0x551fcc?.[_0x1fc3c7(0x1e2)])return undefined;if(!_0x551fcc[_0x1fc3c7(0x1b2)])return _0x859609[_0x1fc3c7(0x1b1)](_0x1fc3c7(0x1d1)),undefined;_0x859609['info'](_0x1fc3c7(0x1f5)+_0x551fcc[_0x1fc3c7(0x1e2)]+':'+_0x551fcc[_0x1fc3c7(0x1b2)]+_0x1fc3c7(0x1a9)+(_0x551fcc[_0x1fc3c7(0x1e9)]??''));const _0x14c992=new URL(_0x1fc3c7(0x204)+_0x551fcc[_0x1fc3c7(0x1e2)]);_0x14c992[_0x1fc3c7(0x1b2)]=String(_0x551fcc['port']);_0x551fcc[_0x1fc3c7(0x1e9)]&&(_0x14c992['username']=_0x551fcc[_0x1fc3c7(0x1e9)]);_0x551fcc[_0x1fc3c7(0x20d)]&&(_0x14c992[_0x1fc3c7(0x20d)]=_0x551fcc[_0x1fc3c7(0x20d)]);const _0x370c82=new https_proxy_agent_1['HttpsProxyAgent'](_0x14c992),_0x5e31c2=getHttpsAgentOptions(_0x56f950,_0x859609),_0x14d9d9=_0x370c82['connect'][_0x1fc3c7(0x1ad)](_0x370c82);return _0x370c82['connect']=(_0x2d7353,_0x451e73)=>_0x14d9d9(_0x2d7353,{..._0x451e73,..._0x5e31c2}),_0x370c82;}function getHttpsAgentOptions(_0x3e32ed,_0x5e8bb5){const _0x11b032=a6_0x2228a3,_0x17f8c2={'checkServerIdentity':(_0x84431a,_0x320523)=>{const _0x458152=a6_0xba84;if(_0x3e32ed[_0x458152(0x242)])return undefined;const _0x33217e=(0x0,crypto_1['createHash'])(_0x458152(0x1fa))[_0x458152(0x213)](_0x320523['pubkey'])['digest'](_0x458152(0x1ee));return _0x3e32ed[_0x458152(0x22c)][_0x458152(0x1f9)](_0x33217e)?undefined:new Error(_0x458152(0x1f6));}};let _0x138b15;if(_0x3e32ed[_0x11b032(0x224)])try{_0x138b15=(0x0,fs_1[_0x11b032(0x1e5)])(_0x3e32ed[_0x11b032(0x224)],'ascii');}catch{_0x5e8bb5['warn']('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x3e32ed[_0x11b032(0x224)]+'\x22\x20-\x20ignoring\x20it');}if(_0x138b15){const _0x1d64d5=(0x0,tls_1[_0x11b032(0x1c0)])(_0x17f8c2);_0x1d64d5[_0x11b032(0x1d4)]['addCACert'](_0x138b15),_0x17f8c2[_0x11b032(0x1d3)]=_0x1d64d5;}return _0x17f8c2;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x4a8570=a7_0x7227;(function(_0x45f92b,_0x3f0a48){const _0x479de8=a7_0x7227,_0x18f053=_0x45f92b();while(!![]){try{const _0x1e8c73=parseInt(_0x479de8(0x1e9))/0x1+parseInt(_0x479de8(0x209))/0x2+parseInt(_0x479de8(0x205))/0x3*(parseInt(_0x479de8(0x204))/0x4)+-parseInt(_0x479de8(0x1fb))/0x5+parseInt(_0x479de8(0x1f0))/0x6*(-parseInt(_0x479de8(0x1eb))/0x7)+-parseInt(_0x479de8(0x1fa))/0x8*(parseInt(_0x479de8(0x202))/0x9)+parseInt(_0x479de8(0x20f))/0xa;if(_0x1e8c73===_0x3f0a48)break;else _0x18f053['push'](_0x18f053['shift']());}catch(_0x386301){_0x18f053['push'](_0x18f053['shift']());}}}(a7_0x9837,0x7c514));const a7_0x36eea4=(function(){let _0x11275a=!![];return function(_0x202600,_0x3634d1){const _0x3400da=_0x11275a?function(){const _0x4a9584=a7_0x7227;if(_0x3634d1){const _0x1abb95=_0x3634d1[_0x4a9584(0x203)](_0x202600,arguments);return _0x3634d1=null,_0x1abb95;}}:function(){};return _0x11275a=![],_0x3400da;};}()),a7_0x1e6732=a7_0x36eea4(this,function(){const _0x3e148b=a7_0x7227;return a7_0x1e6732['toString']()['search']('(((.+)+)+)+$')['toString']()['constructor'](a7_0x1e6732)[_0x3e148b(0x20e)](_0x3e148b(0x20c));});a7_0x1e6732();'use strict';function a7_0x7227(_0x7d946b,_0x18859f){const _0x5cdaf3=a7_0x9837();return a7_0x7227=function(_0x1e6732,_0x36eea4){_0x1e6732=_0x1e6732-0x1e5;let _0x98375=_0x5cdaf3[_0x1e6732];return _0x98375;},a7_0x7227(_0x7d946b,_0x18859f);}Object[a7_0x4a8570(0x206)](exports,a7_0x4a8570(0x1f2),{'value':!![]}),exports[a7_0x4a8570(0x1e7)]=exports[a7_0x4a8570(0x20b)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x4a8570(0x1f8)),debuggee_1=require(a7_0x4a8570(0x208)),createDebuggeeMetadata_1=require(a7_0x4a8570(0x1ff)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require(a7_0x4a8570(0x200)),encodeBase64=_0x1cec63=>Buffer['from'](_0x1cec63,a7_0x4a8570(0x1e6))[a7_0x4a8570(0x20a)](a7_0x4a8570(0x1ec));function a7_0x9837(){const _0x311681=['8200540NpWEPW','StatusMessage','utf-8','createDebuggee','string','932475UugGXZ','node','14zbvsGR','base64','cwd','getPlatform','createUniquifier','1935492dztRIO','module','__esModule','createDebuggeeMetadata','version','default','minorVersion_','UNSPECIFIED','../../client/stackdriver/status-message','internal','131328GSKJhe','3699710USqgEl','relative','service','title','./createDebuggeeMetadata','./getPlatform','sourceContexts','297ytxYoX','apply','6056GivQOp','1257VdtnQg','defineProperty','name','../../debuggee','98286EZTGmS','toString','encodeBase64','(((.+)+)+)+$','versions','search'];a7_0x9837=function(){return _0x311681;};return a7_0x9837();}exports[a7_0x4a8570(0x20b)]=encodeBase64;const createDebuggee=(_0x18e7d0,_0x2d5ad8,_0x5edff9,_0x48e110,_0x4cc6d7,_0x2780dc,_0xc5d724,_0x42d2db)=>{const _0x523eb3=a7_0x4a8570,_0x2a226c=process[_0x523eb3(0x1ed)](),_0x25484e=path[_0x523eb3(0x1fc)](_0x2a226c,process['argv'][0x1]),_0x506a83={'main\x20script':_0x25484e,'process.title':process[_0x523eb3(0x1fe)],'node\x20version':process[_0x523eb3(0x20d)][_0x523eb3(0x1ea)],'V8\x20version':process['versions']['v8'],'agent.name':_0x48e110[_0x523eb3(0x207)],'agent.version':_0x4cc6d7,'platform':(0x0,getPlatform_1[_0x523eb3(0x1ee)])()},{serviceContext:_0x2cf442}=_0x2d5ad8;_0x2cf442&&(typeof _0x2cf442[_0x523eb3(0x1fd)]===_0x523eb3(0x1e8)&&_0x2cf442[_0x523eb3(0x1fd)]!==_0x523eb3(0x1f5)&&(_0x506a83[_0x523eb3(0x1f1)]=_0x2cf442['service']),typeof _0x2cf442[_0x523eb3(0x1f4)]==='string'&&(_0x506a83['version']=_0x2cf442[_0x523eb3(0x1f4)]),typeof _0x2cf442[_0x523eb3(0x1f6)]===_0x523eb3(0x1e8)&&(_0x506a83['minorversion']=_0x2cf442[_0x523eb3(0x1f6)]));const _0x2ff15c=(0x0,createUniquifier_1[_0x523eb3(0x1ef)])(_0x4cc6d7,_0x18e7d0,_0x5edff9,_0x506a83),_0xd33793=_0x42d2db?new status_message_1['StatusMessage'](status_message_1[_0x523eb3(0x1e5)][_0x523eb3(0x1f7)],_0x42d2db,!![]):undefined,_0x1c856f=(0x0,createDebuggeeMetadata_1[_0x523eb3(0x1f3)])(_0x2d5ad8,_0x2780dc),_0x388135={'uniquifier':_0x2ff15c,'agentVersion':_0x4cc6d7,'labels':{'metadataV2':(0x0,exports[_0x523eb3(0x20b)])(JSON['stringify'](_0x1c856f))},'statusMessage':_0xd33793,'packageInfo':_0x48e110,..._0xc5d724,'isInLambda':_0x2d5ad8[_0x523eb3(0x1f9)]?.['isLambda']};return _0x5edff9&&(_0x388135[_0x523eb3(0x201)]=[_0x5edff9]),new debuggee_1['Debuggee'](_0x388135);};exports[a7_0x4a8570(0x1e7)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x49295a=a8_0x590c;(function(_0x8d2f59,_0x85f68e){const _0x39dbfe=a8_0x590c,_0x3a9cee=_0x8d2f59();while(!![]){try{const _0x501e8d=parseInt(_0x39dbfe(0xd0))/0x1*(parseInt(_0x39dbfe(0xc8))/0x2)+parseInt(_0x39dbfe(0xca))/0x3*(parseInt(_0x39dbfe(0xd8))/0x4)+-parseInt(_0x39dbfe(0xde))/0x5*(-parseInt(_0x39dbfe(0xe2))/0x6)+-parseInt(_0x39dbfe(0xce))/0x7+-parseInt(_0x39dbfe(0xd7))/0x8+parseInt(_0x39dbfe(0xcf))/0x9+-parseInt(_0x39dbfe(0xdb))/0xa*(parseInt(_0x39dbfe(0xd6))/0xb);if(_0x501e8d===_0x85f68e)break;else _0x3a9cee['push'](_0x3a9cee['shift']());}catch(_0x162ca8){_0x3a9cee['push'](_0x3a9cee['shift']());}}}(a8_0x3c97,0xd9b44));const a8_0x5c7da9=(function(){let _0x522e46=!![];return function(_0x5751ec,_0x33856d){const _0x3f325b=_0x522e46?function(){if(_0x33856d){const _0x1e1839=_0x33856d['apply'](_0x5751ec,arguments);return _0x33856d=null,_0x1e1839;}}:function(){};return _0x522e46=![],_0x3f325b;};}()),a8_0x9d0a4f=a8_0x5c7da9(this,function(){const _0x4ce63c=a8_0x590c;return a8_0x9d0a4f['toString']()[_0x4ce63c(0xdf)](_0x4ce63c(0xda))[_0x4ce63c(0xdd)]()[_0x4ce63c(0xc9)](a8_0x9d0a4f)['search'](_0x4ce63c(0xda));});function a8_0x3c97(){const _0x1e41a2=['string','utf-8','7738724IWnCVY','14856849cXdiOb','57087QMFFMf','readFileSync','map','createDebuggeeMetadata','defineProperty','Failed\x20to\x20read\x20metadata\x20file\x20','9372BLafuN','14032760jKBcTJ','4Koncrh','metadata','(((.+)+)+)+$','8730yeilFl','filename','toString','3325610VvKPVc','search','registration','tags','6tZIRCr','parse','14mKbRRF','constructor','5338941PHcKmF','__esModule'];a8_0x3c97=function(){return _0x1e41a2;};return a8_0x3c97();}a8_0x9d0a4f();'use strict';Object[a8_0x49295a(0xd4)](exports,a8_0x49295a(0xcb),{'value':!![]}),exports[a8_0x49295a(0xd3)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x11b544,_0x1c0301)=>{const _0x3d9054=a8_0x49295a;let _0x4b9737={'registration':{}};if(_0x11b544['metadata']?.['filename'])try{_0x4b9737=JSON[_0x3d9054(0xc7)](fs[_0x3d9054(0xd1)](_0x11b544['metadata']['filename'],_0x3d9054(0xcd)));}catch(_0x77b295){_0x1c0301['warn'](_0x3d9054(0xd5)+_0x11b544[_0x3d9054(0xd9)][_0x3d9054(0xdc)],_0x77b295);}return _0x4b9737[_0x3d9054(0xe0)]=extend(!![],{},_0x11b544[_0x3d9054(0xd9)]?.[_0x3d9054(0xe0)],_0x4b9737[_0x3d9054(0xe0)]),_0x4b9737[_0x3d9054(0xe0)]?.[_0x3d9054(0xe1)]&&(_0x4b9737[_0x3d9054(0xe0)][_0x3d9054(0xe1)]=_0x4b9737['registration']['tags'][_0x3d9054(0xd2)](_0x41dec6=>typeof _0x41dec6===_0x3d9054(0xcc)?{'name':_0x41dec6}:_0x41dec6)),_0x4b9737;};function a8_0x590c(_0x3e31a6,_0x4fc0ff){const _0x406eb1=a8_0x3c97();return a8_0x590c=function(_0x9d0a4f,_0x5c7da9){_0x9d0a4f=_0x9d0a4f-0xc7;let _0x3c97d1=_0x406eb1[_0x9d0a4f];return _0x3c97d1;},a8_0x590c(_0x3e31a6,_0x4fc0ff);}exports[a8_0x49295a(0xd3)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0xf64fa7=a9_0x5f19;(function(_0x2c2ae0,_0x35ef69){const _0x14a42c=a9_0x5f19,_0x57f25d=_0x2c2ae0();while(!![]){try{const _0x1ab38c=parseInt(_0x14a42c(0xcf))/0x1+-parseInt(_0x14a42c(0xcc))/0x2*(-parseInt(_0x14a42c(0xd8))/0x3)+parseInt(_0x14a42c(0xcb))/0x4+-parseInt(_0x14a42c(0xdb))/0x5+-parseInt(_0x14a42c(0xd1))/0x6*(parseInt(_0x14a42c(0xc8))/0x7)+parseInt(_0x14a42c(0xc9))/0x8+-parseInt(_0x14a42c(0xd4))/0x9;if(_0x1ab38c===_0x35ef69)break;else _0x57f25d['push'](_0x57f25d['shift']());}catch(_0x3a9d05){_0x57f25d['push'](_0x57f25d['shift']());}}}(a9_0x5b42,0x1da36));const a9_0x187f80=(function(){let _0x1fbdae=!![];return function(_0x4ffc0f,_0x197998){const _0x211eee=_0x1fbdae?function(){const _0x38e663=a9_0x5f19;if(_0x197998){const _0x66ddbc=_0x197998[_0x38e663(0xcd)](_0x4ffc0f,arguments);return _0x197998=null,_0x66ddbc;}}:function(){};return _0x1fbdae=![],_0x211eee;};}()),a9_0x4c3233=a9_0x187f80(this,function(){const _0x3164ba=a9_0x5f19;return a9_0x4c3233[_0x3164ba(0xdc)]()[_0x3164ba(0xda)](_0x3164ba(0xce))[_0x3164ba(0xdc)]()['constructor'](a9_0x4c3233)[_0x3164ba(0xda)](_0x3164ba(0xce));});a9_0x4c3233();'use strict';Object[a9_0xf64fa7(0xd5)](exports,a9_0xf64fa7(0xde),{'value':!![]}),exports[a9_0xf64fa7(0xd6)]=void 0x0;function a9_0x5f19(_0x363a28,_0x186306){const _0x2c89cb=a9_0x5b42();return a9_0x5f19=function(_0x4c3233,_0x187f80){_0x4c3233=_0x4c3233-0xc8;let _0x5b428f=_0x2c89cb[_0x4c3233];return _0x5b428f;},a9_0x5f19(_0x363a28,_0x186306);}function a9_0x5b42(){const _0x536dcf=['search','835470MDHcDp','toString','update','__esModule','7woanlw','1778112dyaUwj','crypto','836296rwVdOV','1108KVFXOP','apply','(((.+)+)+)+$','217091oGHvkk','digest','1270146QzzrxC','stringify','sha1','2909790Kopcjs','defineProperty','createUniquifier','hex','948JKiHDp','createHash'];a9_0x5b42=function(){return _0x536dcf;};return a9_0x5b42();}const crypto=require(a9_0xf64fa7(0xca)),createUniquifier=(_0x5baca5,_0x55b8f9,_0x3fa1d3,_0x322774)=>{const _0xfadfc3=a9_0xf64fa7,_0x5ec4ea=_0x5baca5+_0x55b8f9+JSON['stringify'](_0x3fa1d3)+JSON[_0xfadfc3(0xd2)](_0x322774);return crypto[_0xfadfc3(0xd9)](_0xfadfc3(0xd3))[_0xfadfc3(0xdd)](_0x5ec4ea)[_0xfadfc3(0xd0)](_0xfadfc3(0xd7));};exports[a9_0xf64fa7(0xd6)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x10ed19=a10_0x4ac3;(function(_0x1aa881,_0x1d5288){const _0x54afa4=a10_0x4ac3,_0x57078a=_0x1aa881();while(!![]){try{const _0x204618=-parseInt(_0x54afa4(0x10f))/0x1*(parseInt(_0x54afa4(0x112))/0x2)+-parseInt(_0x54afa4(0x11e))/0x3+parseInt(_0x54afa4(0x11b))/0x4+-parseInt(_0x54afa4(0x11c))/0x5+parseInt(_0x54afa4(0x115))/0x6+parseInt(_0x54afa4(0x119))/0x7*(parseInt(_0x54afa4(0x10e))/0x8)+-parseInt(_0x54afa4(0x110))/0x9*(parseInt(_0x54afa4(0x116))/0xa);if(_0x204618===_0x1d5288)break;else _0x57078a['push'](_0x57078a['shift']());}catch(_0x42f607){_0x57078a['push'](_0x57078a['shift']());}}}(a10_0x1c3c,0x205da));const a10_0x31bebe=(function(){let _0x31d8a2=!![];return function(_0x543823,_0x19270f){const _0x5f06f6=_0x31d8a2?function(){if(_0x19270f){const _0x1501b3=_0x19270f['apply'](_0x543823,arguments);return _0x19270f=null,_0x1501b3;}}:function(){};return _0x31d8a2=![],_0x5f06f6;};}()),a10_0x155899=a10_0x31bebe(this,function(){const _0x5bde09=a10_0x4ac3;return a10_0x155899['toString']()['search'](_0x5bde09(0x113))[_0x5bde09(0x111)]()[_0x5bde09(0x118)](a10_0x155899)[_0x5bde09(0x10d)](_0x5bde09(0x113));});function a10_0x1c3c(){const _0x37742e=['629499iQwUhf','length','search','20696wHGCqZ','48mcyxmh','4446CcLmOO','toString','5314PLUXtW','(((.+)+)+)+$','__esModule','1077522nsLmQf','220rWZnrX','push','constructor','371cubjMV','delimit','928656sYnOZP','340275gUpZMy','split'];a10_0x1c3c=function(){return _0x37742e;};return a10_0x1c3c();}a10_0x155899();function a10_0x4ac3(_0x1ab697,_0x3dfb5a){const _0x2f1aff=a10_0x1c3c();return a10_0x4ac3=function(_0x155899,_0x31bebe){_0x155899=_0x155899-0x10d;let _0x1c3c6e=_0x2f1aff[_0x155899];return _0x1c3c6e;},a10_0x4ac3(_0x1ab697,_0x3dfb5a);}'use strict';Object['defineProperty'](exports,a10_0x10ed19(0x114),{'value':!![]}),exports[a10_0x10ed19(0x11a)]=void 0x0;const delimit=(_0x5d1f2e,_0x2c50c4)=>{const _0xe115d6=a10_0x10ed19,_0x2a292b=_0x5d1f2e[_0xe115d6(0x11d)](_0x2c50c4),_0x399007=[];_0x399007['push'](_0x2a292b[0x0]);for(let _0x2f3ea6=0x1;_0x2f3ea6<_0x2a292b[_0xe115d6(0x11f)];_0x2f3ea6++){_0x399007[_0xe115d6(0x117)]({'v':_0x2c50c4},_0x2a292b[_0x2f3ea6]);}return _0x399007;};exports[a10_0x10ed19(0x11a)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x4e299e=a11_0x6b15;function a11_0x6b15(_0x555329,_0x559a19){const _0x5621b6=a11_0x3c43();return a11_0x6b15=function(_0x189afd,_0x44d5ff){_0x189afd=_0x189afd-0x17d;let _0x3c4313=_0x5621b6[_0x189afd];return _0x3c4313;},a11_0x6b15(_0x555329,_0x559a19);}(function(_0x4305ea,_0x3dbd5c){const _0x983870=a11_0x6b15,_0x3b3688=_0x4305ea();while(!![]){try{const _0x11cb81=-parseInt(_0x983870(0x17d))/0x1+-parseInt(_0x983870(0x182))/0x2*(parseInt(_0x983870(0x17e))/0x3)+-parseInt(_0x983870(0x180))/0x4+-parseInt(_0x983870(0x17f))/0x5*(-parseInt(_0x983870(0x187))/0x6)+-parseInt(_0x983870(0x181))/0x7*(parseInt(_0x983870(0x18b))/0x8)+-parseInt(_0x983870(0x188))/0x9*(parseInt(_0x983870(0x18c))/0xa)+parseInt(_0x983870(0x18a))/0xb;if(_0x11cb81===_0x3dbd5c)break;else _0x3b3688['push'](_0x3b3688['shift']());}catch(_0x4b2ef4){_0x3b3688['push'](_0x3b3688['shift']());}}}(a11_0x3c43,0xc68c5));const a11_0x44d5ff=(function(){let _0x40af1f=!![];return function(_0x49aa8f,_0x378375){const _0x303bbb=_0x40af1f?function(){if(_0x378375){const _0x3ab949=_0x378375['apply'](_0x49aa8f,arguments);return _0x378375=null,_0x3ab949;}}:function(){};return _0x40af1f=![],_0x303bbb;};}()),a11_0x189afd=a11_0x44d5ff(this,function(){const _0x243cfc=a11_0x6b15;return a11_0x189afd['toString']()[_0x243cfc(0x191)](_0x243cfc(0x190))['toString']()[_0x243cfc(0x18d)](a11_0x189afd)['search'](_0x243cfc(0x190));});a11_0x189afd();'use strict';Object[a11_0x4e299e(0x189)](exports,'__esModule',{'value':!![]}),exports[a11_0x4e299e(0x18e)]=void 0x0;const tokenize_1=require(a11_0x4e299e(0x18f)),format=(_0xaf02e,_0x2ad34f)=>{const _0x195310=a11_0x4e299e,_0xc1a744=(0x0,tokenize_1['tokenize'])(_0xaf02e,_0x2ad34f[_0x195310(0x184)]);for(let _0x778a5e=0x0;_0x778a5e<_0xc1a744['length'];_0x778a5e++){if(!_0xc1a744[_0x778a5e]['v'])continue;if(_0xc1a744[_0x778a5e]['v']==='$$'){_0xc1a744[_0x778a5e]='$';continue;}for(let _0x48b3d3=0x0;_0x48b3d3<_0x2ad34f[_0x195310(0x184)];_0x48b3d3++){if(_0xc1a744[_0x778a5e]['v']==='$'+_0x48b3d3){let _0x46e241=_0x2ad34f[_0x48b3d3];/^".*"$/[_0x195310(0x186)](_0x46e241)&&(_0x46e241=_0x46e241[_0x195310(0x185)](0x1,_0x46e241[_0x195310(0x184)]-0x1));_0xc1a744[_0x778a5e]=_0x46e241;break;}}}return _0xc1a744[_0x195310(0x183)]('');};function a11_0x3c43(){const _0x5ae09e=['38841990IlyYmc','216472ygheWO','6494360CGngZc','constructor','format','./tokenize','(((.+)+)+)+$','search','515717oKdgfa','58263epqdyN','110fRtGoq','5704956HhmwXK','14eGqzRw','118UaHGlW','join','length','substring','test','292776MZWIWN','9vwLARn','defineProperty'];a11_0x3c43=function(){return _0x5ae09e;};return a11_0x3c43();}exports[a11_0x4e299e(0x18e)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x584001=a12_0x1bc5;function a12_0x1bc5(_0x1e4013,_0x54c7cb){const _0x3dcf12=a12_0xe9eb();return a12_0x1bc5=function(_0x5254cf,_0xfca354){_0x5254cf=_0x5254cf-0xc7;let _0xe9eba4=_0x3dcf12[_0x5254cf];return _0xe9eba4;},a12_0x1bc5(_0x1e4013,_0x54c7cb);}(function(_0x27b634,_0x26d3c2){const _0x4398d3=a12_0x1bc5,_0x3aab0c=_0x27b634();while(!![]){try{const _0x26b24b=-parseInt(_0x4398d3(0xd3))/0x1+-parseInt(_0x4398d3(0xdc))/0x2*(parseInt(_0x4398d3(0xd1))/0x3)+-parseInt(_0x4398d3(0xe7))/0x4+parseInt(_0x4398d3(0xcd))/0x5+-parseInt(_0x4398d3(0xed))/0x6+-parseInt(_0x4398d3(0xce))/0x7+parseInt(_0x4398d3(0xd9))/0x8;if(_0x26b24b===_0x26d3c2)break;else _0x3aab0c['push'](_0x3aab0c['shift']());}catch(_0x3e0dfe){_0x3aab0c['push'](_0x3aab0c['shift']());}}}(a12_0xe9eb,0x37cf8));const a12_0xfca354=(function(){let _0x171e46=!![];return function(_0xe9bf6c,_0xed160b){const _0x26f298=_0x171e46?function(){const _0xd9e237=a12_0x1bc5;if(_0xed160b){const _0x2be23c=_0xed160b[_0xd9e237(0xe3)](_0xe9bf6c,arguments);return _0xed160b=null,_0x2be23c;}}:function(){};return _0x171e46=![],_0x26f298;};}()),a12_0x5254cf=a12_0xfca354(this,function(){const _0x18fe29=a12_0x1bc5;return a12_0x5254cf[_0x18fe29(0xe9)]()['search'](_0x18fe29(0xec))[_0x18fe29(0xe9)]()['constructor'](a12_0x5254cf)[_0x18fe29(0xc8)](_0x18fe29(0xec));});a12_0x5254cf();function a12_0xe9eb(){const _0x5da703=['apply','existsSync','apiEndpoint','resolve_frame_locations','638440qmAzWK','com.lightrun.secret','toString','max_variable_size','split','(((.+)+)+)+$','495078JhAcYY','max_condition_cost','proxy_host','transmission_bulk_max_size','max_log_cpu_cost','useScriptSourcemap','collect_log_cooldown_ms','java-properties','agent_regmetadata_file','max_log_file_bytes','search','__esModule','agent_log_max_file_size_mb','proxy_password','getAgentConfig','1826390VVHQnh','574749eiERGX','getFloat','agent_log_target_dir','75OgpWZw','agent_log_level','223914sUwgZD','agent_log_max_file_count','pinned_certs','map','max_watchlist_variable_size','getFirst','5812128JEqCfS','dumpJSContentFilenames','breakpoint_expiration_sec','25204lBlokF','getBoolean','getInt','max_snapshot_frame_count','dynamic_log_quota_recovery_ms','proxy_username','trim'];a12_0xe9eb=function(){return _0x5da703;};return a12_0xe9eb();}'use strict';Object['defineProperty'](exports,a12_0x584001(0xc9),{'value':!![]}),exports[a12_0x584001(0xcc)]=void 0x0;const properties=require(a12_0x584001(0xf4)),fs=require('fs'),getAgentConfig=_0x4d8e36=>{const _0x4021d4=a12_0x584001;if(fs[_0x4021d4(0xe4)](_0x4d8e36)){const _0x201e2b=properties['of'](_0x4d8e36);return{'lightrunSecret':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xe8)),'apiEndpoint':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xe5)),'breakpointExpirationSec':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xdb)),'transmissionBulkMaxSize':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xf0)),'noCheckCertificate':_0x201e2b[_0x4021d4(0xdd)]('noCheckCertificate'),'pinnedCerts':_0x201e2b['getFirst'](_0x4021d4(0xd5))?.['split'](','),'metadata':{'filename':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xf5))},'capture':{'maxFrames':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xdf)),'maxDataSize':_0x201e2b[_0x4021d4(0xde)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x201e2b[_0x4021d4(0xde)]('max_snapshot_buffer_size'),'maxVariableSize':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xea)),'maxWatchListVariableSize':_0x201e2b['getInt'](_0x4021d4(0xd7)),'resolveFrameLocations':_0x201e2b[_0x4021d4(0xdd)](_0x4021d4(0xe6))},'agentLog':{'collectCooldownMs':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xf3)),'agentLogTargetDir':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xd0)),'agentLogLevel':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xd2)),'agentLogMaxFileCount':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xd4)),'agentLogMaxFileSizeMb':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xca)),'maxLogFileBytes':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xc7))},'internal':{'dumpJSContentFilenames':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xda))?.['split'](',')},'useScriptSourcemap':_0x201e2b[_0x4021d4(0xdd)](_0x4021d4(0xf2)),'quota':{'ignoreQuota':_0x201e2b[_0x4021d4(0xdd)]('ignore_quota'),'maxCPUCost':_0x201e2b[_0x4021d4(0xcf)](_0x4021d4(0xf1)),'maxConditionCost':_0x201e2b[_0x4021d4(0xcf)](_0x4021d4(0xee)),'maxDynamicLogRate':_0x201e2b[_0x4021d4(0xde)]('max_dynamic_log_rate'),'maxDynamicLogByteRate':_0x201e2b[_0x4021d4(0xde)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xe0))&&_0x201e2b[_0x4021d4(0xde)](_0x4021d4(0xe0))/0x3e8},'fetchBreakpointsOnce':_0x201e2b['getBoolean']('fetch_breakpoints_once'),'extraPaths':_0x201e2b['getFirst']('extra_paths')?.[_0x4021d4(0xeb)](',')?.[_0x4021d4(0xd6)](_0x24c14a=>_0x24c14a[_0x4021d4(0xe2)]()),'proxy':{'host':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xef)),'port':_0x201e2b[_0x4021d4(0xde)]('proxy_port'),'username':_0x201e2b['getFirst'](_0x4021d4(0xe1)),'password':_0x201e2b[_0x4021d4(0xd8)](_0x4021d4(0xcb))}};}return;};exports[a12_0x584001(0xcc)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x4f3ca7=a13_0x4da6;(function(_0x117c95,_0xd4b82a){const _0x492b68=a13_0x4da6,_0x2508ff=_0x117c95();while(!![]){try{const _0xdad921=-parseInt(_0x492b68(0x18f))/0x1+parseInt(_0x492b68(0x18b))/0x2+-parseInt(_0x492b68(0x18e))/0x3*(parseInt(_0x492b68(0x181))/0x4)+parseInt(_0x492b68(0x18c))/0x5*(-parseInt(_0x492b68(0x185))/0x6)+-parseInt(_0x492b68(0x187))/0x7+-parseInt(_0x492b68(0x191))/0x8+parseInt(_0x492b68(0x182))/0x9*(parseInt(_0x492b68(0x183))/0xa);if(_0xdad921===_0xd4b82a)break;else _0x2508ff['push'](_0x2508ff['shift']());}catch(_0x2c5ec5){_0x2508ff['push'](_0x2508ff['shift']());}}}(a13_0x1611,0x3449e));Object[a13_0x4f3ca7(0x192)](exports,a13_0x4f3ca7(0x18a),{'value':!![]}),exports['getPlatform']=exports[a13_0x4f3ca7(0x180)]=void 0x0;var Platforms;(function(_0x912aa1){const _0x2b5384=a13_0x4f3ca7,_0x18fc7c=(function(){let _0x9e7d1f=!![];return function(_0x233bf5,_0x4539e6){const _0x208c96=_0x9e7d1f?function(){const _0x5085a2=a13_0x4da6;if(_0x4539e6){const _0x489019=_0x4539e6[_0x5085a2(0x188)](_0x233bf5,arguments);return _0x4539e6=null,_0x489019;}}:function(){};return _0x9e7d1f=![],_0x208c96;};}()),_0x491611=_0x18fc7c(this,function(){const _0x48ed7e=a13_0x4da6;return _0x491611['toString']()[_0x48ed7e(0x189)](_0x48ed7e(0x17f))['toString']()['constructor'](_0x491611)['search']('(((.+)+)+)+$');});_0x491611(),_0x912aa1['CLOUD_FUNCTION']=_0x2b5384(0x193),_0x912aa1[_0x2b5384(0x18d)]=_0x2b5384(0x186);}(Platforms||(exports['Platforms']=Platforms={})));const getPlatform=()=>{const _0x1716c1=a13_0x4f3ca7,{FUNCTION_NAME:_0x3d3c4a,FUNCTION_TARGET:_0x41d457}=process[_0x1716c1(0x190)];if(_0x3d3c4a||_0x41d457)return Platforms[_0x1716c1(0x17e)];return Platforms[_0x1716c1(0x18d)];};function a13_0x4da6(_0x360c3d,_0x466f62){const _0x3bf006=a13_0x1611();return a13_0x4da6=function(_0x32d649,_0x488ab5){_0x32d649=_0x32d649-0x17e;let _0x1611b8=_0x3bf006[_0x32d649];return _0x1611b8;},a13_0x4da6(_0x360c3d,_0x466f62);}exports[a13_0x4f3ca7(0x184)]=getPlatform;function a13_0x1611(){const _0x21265e=['apply','search','__esModule','202426yvXCBb','450465DQVZBS','DEFAULT','3SfRCkw','137682ExwrXz','env','415608xavlbf','defineProperty','cloud_function','CLOUD_FUNCTION','(((.+)+)+)+$','Platforms','556280CtVNWk','27xcsHVD','3017030onBAqI','getPlatform','6AEXzxc','default','2613464PXLvIS'];a13_0x1611=function(){return _0x21265e;};return a13_0x1611();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x213011=a14_0xb92e;(function(_0x3067e8,_0x2544a3){const _0x431f19=a14_0xb92e,_0x5791dc=_0x3067e8();while(!![]){try{const _0xe6c08a=parseInt(_0x431f19(0x8e))/0x1+-parseInt(_0x431f19(0x82))/0x2*(parseInt(_0x431f19(0x7f))/0x3)+parseInt(_0x431f19(0x7d))/0x4*(parseInt(_0x431f19(0x93))/0x5)+parseInt(_0x431f19(0x89))/0x6+-parseInt(_0x431f19(0x88))/0x7*(-parseInt(_0x431f19(0x91))/0x8)+parseInt(_0x431f19(0x85))/0x9+parseInt(_0x431f19(0x8d))/0xa*(-parseInt(_0x431f19(0x8c))/0xb);if(_0xe6c08a===_0x2544a3)break;else _0x5791dc['push'](_0x5791dc['shift']());}catch(_0x5db208){_0x5791dc['push'](_0x5791dc['shift']());}}}(a14_0x224c,0x1da53));const a14_0x4330d0=(function(){let _0x22a169=!![];return function(_0x2483b1,_0x122c1e){const _0x51bc66=_0x22a169?function(){const _0xf66fa5=a14_0xb92e;if(_0x122c1e){const _0x1fd22c=_0x122c1e[_0xf66fa5(0x8a)](_0x2483b1,arguments);return _0x122c1e=null,_0x1fd22c;}}:function(){};return _0x22a169=![],_0x51bc66;};}()),a14_0x35e5a1=a14_0x4330d0(this,function(){const _0x314388=a14_0xb92e;return a14_0x35e5a1['toString']()[_0x314388(0x79)]('(((.+)+)+)+$')[_0x314388(0x84)]()[_0x314388(0x83)](a14_0x35e5a1)['search'](_0x314388(0x8f));});function a14_0xb92e(_0x46c561,_0x1b48b0){const _0x233a28=a14_0x224c();return a14_0xb92e=function(_0x35e5a1,_0x4330d0){_0x35e5a1=_0x35e5a1-0x78;let _0x224c0c=_0x233a28[_0x35e5a1];return _0x224c0c;},a14_0xb92e(_0x46c561,_0x1b48b0);}a14_0x35e5a1();function a14_0x224c(){const _0x534229=['49351vrNSEH','(((.+)+)+)+$','defineProperty','1496CVvMLI','Config\x20','10hQnqcw','entries','search','value','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','push','192904NBGbez','number','127473fYyuKZ','__esModule','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','6NbwAgo','constructor','toString','1068831nvmHYi','maxExpandFrames','limitConfig','987tNJJiM','1391952kBbkyi','apply','maxSnapshotBufferSize','3509OxzzXq','8590qpTDEd'];a14_0x224c=function(){return _0x534229;};return a14_0x224c();}'use strict';Object[a14_0x213011(0x90)](exports,a14_0x213011(0x80),{'value':!![]}),exports[a14_0x213011(0x87)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x48b0a4=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x48b0a4[a14_0x213011(0x8b)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x213011(0x7a)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x48b0a4['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})['value']*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x48b0a4[a14_0x213011(0x86)],{'min':0x1,'max':0xa})['value'],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x37a1cb,{max:_0x2a6c1e,min:_0x10c04d},_0x3dd764)=>{const _0x5072ab=a14_0x213011;let _0x568193;if(_0x37a1cb>_0x2a6c1e)return _0x3dd764&&(_0x568193=_0x5072ab(0x92)+_0x3dd764+_0x5072ab(0x7b)+_0x2a6c1e),{'value':_0x2a6c1e,'warning':_0x568193};else{if(_0x37a1cb<_0x10c04d)return _0x3dd764&&(_0x568193='Config\x20'+_0x3dd764+_0x5072ab(0x81)+_0x10c04d),{'value':_0x10c04d,'warning':_0x568193};}return{'value':_0x37a1cb,'warning':_0x568193};},limitConfig=_0x47a3da=>{const _0x3ff9cb=a14_0x213011,{capture:_0x1dd2e}=_0x47a3da,_0x40e164=[],_0x512282=getCaptureConfigLimits(_0x1dd2e),_0x32cd55={};for(const [_0x3e7a13,_0x21875f]of Object[_0x3ff9cb(0x78)](_0x512282)){const _0x8f015a=_0x1dd2e[_0x3e7a13];if(typeof _0x8f015a===_0x3ff9cb(0x7e)){const {value:_0x399ade,warning:_0x1cade4}=resolveLimitedConfig(_0x8f015a,_0x21875f,_0x3e7a13);_0x32cd55[_0x3e7a13]=_0x399ade,_0x1cade4&&_0x40e164[_0x3ff9cb(0x7c)](_0x1cade4);}}return{..._0x47a3da,'capture':{..._0x1dd2e,..._0x32cd55},'warnings':_0x40e164};};exports[a14_0x213011(0x87)]=limitConfig;
|