lightrun 1.73.0 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x43939b=a15_0x1c75;(function(_0x27844b,_0x580070){const _0x3a9a7c=a15_0x1c75,_0x26ee5d=_0x27844b();while(!![]){try{const _0x156c94=-parseInt(_0x3a9a7c(0xc3))/0x1*(parseInt(_0x3a9a7c(0xbc))/0x2)+parseInt(_0x3a9a7c(0xbd))/0x3+-parseInt(_0x3a9a7c(0xbb))/0x4+parseInt(_0x3a9a7c(0xb3))/0x5+parseInt(_0x3a9a7c(0xb5))/0x6*(parseInt(_0x3a9a7c(0xb4))/0x7)+parseInt(_0x3a9a7c(0xb8))/0x8*(parseInt(_0x3a9a7c(0xc0))/0x9)+parseInt(_0x3a9a7c(0xbe))/0xa;if(_0x156c94===_0x580070)break;else _0x26ee5d['push'](_0x26ee5d['shift']());}catch(_0xaa028d){_0x26ee5d['push'](_0x26ee5d['shift']());}}}(a15_0x4610,0xaf7f8));const a15_0xeb4543=(function(){let _0xc85cfa=!![];return function(_0x3e363d,_0x4dc145){const _0x28e3d7=_0xc85cfa?function(){const _0x3d828a=a15_0x1c75;if(_0x4dc145){const _0x2695d2=_0x4dc145[_0x3d828a(0xbf)](_0x3e363d,arguments);return _0x4dc145=null,_0x2695d2;}}:function(){};return _0xc85cfa=![],_0x28e3d7;};}()),a15_0x242acd=a15_0xeb4543(this,function(){const _0x54a682=a15_0x1c75;return a15_0x242acd[_0x54a682(0xb9)]()[_0x54a682(0xb7)](_0x54a682(0xc1))[_0x54a682(0xb9)]()[_0x54a682(0xb6)](a15_0x242acd)[_0x54a682(0xb7)](_0x54a682(0xc1));});a15_0x242acd();'use strict';function a15_0x1c75(_0x23332b,_0x5bb98b){const _0x3544c3=a15_0x4610();return a15_0x1c75=function(_0x242acd,_0xeb4543){_0x242acd=_0x242acd-0xb3;let _0x461002=_0x3544c3[_0x242acd];return _0x461002;},a15_0x1c75(_0x23332b,_0x5bb98b);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a15_0x43939b(0xc2)]=void 0x0;const mapSubtract=(_0x1ca38b,_0x9c0d50)=>{const _0x226f8b=a15_0x43939b,_0x3a3724=[];for(const _0x40a470 in _0x1ca38b){!_0x9c0d50[_0x40a470]&&_0x3a3724[_0x226f8b(0xba)](_0x1ca38b[_0x40a470]);}return _0x3a3724;};function a15_0x4610(){const _0x6f63ea=['47727IHnuFW','(((.+)+)+)+$','mapSubtract','55BbiCfj','1181845BvWsAT','30401YLCAVG','534PYGYXO','constructor','search','232ScOxKE','toString','push','1798128fSXPez','48540XlDacK','1809831BvscMh','11232620clrFdc','apply'];a15_0x4610=function(){return _0x6f63ea;};return a15_0x4610();}exports['mapSubtract']=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16_0x48f5(_0x124da7,_0x546b60){const _0x2fef4a=a16_0x1d05();return a16_0x48f5=function(_0x3a29ba,_0x3d74ab){_0x3a29ba=_0x3a29ba-0x101;let _0x1d0525=_0x2fef4a[_0x3a29ba];return _0x1d0525;},a16_0x48f5(_0x124da7,_0x546b60);}const a16_0x294aba=a16_0x48f5;function a16_0x1d05(){const _0x5cb52c=['service','LIGHTRUN_TAGS','699826LVAFus','unversioned','metadata','2390Iesdpi','LIGHTRUN_METADATA_FILE','LIGHTRUN_SECRET','AGENT_LOG_TARGET_DIR','defaultConfig','7107792cjzRhw','getAgentConfig','FETCH_BREAKPOINTS_ONCE','./getAgentConfig','path','FUNCTION_NAME','4806515khAmIm','LIGHTRUN_PROXY_PORT','message','serviceContext','../config','agentLog','GAE_SERVICE','GAE_DEPLOYMENT_ID','13729661EgSvWy','LIGHTRUN_API_ENDPOINT','(((.+)+)+)+$','agentLogMaxFileSizeMb','../util/utils','toString','getBooleanValue','GAE_MINOR_VERSION','validateConfig','limitConfig','AGENT_LOG_MAX_FILE_COUNT','agentLogTargetDir','453170iXrTJX','env','configSchema','version','66ewXyHg','LIGHTRUN_STD_ERR_THRESHOLD','agentConfigFile','GAE_MODULE_NAME','validateSync','__esModule','LIGHTRUN_AGENT_CONFIG','registration','agentLogMaxFileCount','search','12hxktUW','9qXGdXU','./limitConfig','NO_CHECK_CERTIFICATE','25533maKqaj','inner','defineProperty','AGENT_LOG_MAX_FILE_SIZE_MB','1447028wtdanu','LIGHTRUN_PROXY_HOST','AGENT_LOG_LEVEL','forEach','2HLiAGQ','K_REVISION','stdErrThreshold'];a16_0x1d05=function(){return _0x5cb52c;};return a16_0x1d05();}(function(_0x443899,_0x3356b1){const _0x4d3b7e=a16_0x48f5,_0x20b019=_0x443899();while(!![]){try{const _0x662c3a=-parseInt(_0x4d3b7e(0x110))/0x1*(parseInt(_0x4d3b7e(0x10b))/0x2)+parseInt(_0x4d3b7e(0x141))/0x3*(parseInt(_0x4d3b7e(0x107))/0x4)+-parseInt(_0x4d3b7e(0x132))/0x5*(-parseInt(_0x4d3b7e(0x136))/0x6)+parseInt(_0x4d3b7e(0x11e))/0x7+-parseInt(_0x4d3b7e(0x118))/0x8+-parseInt(_0x4d3b7e(0x103))/0x9*(-parseInt(_0x4d3b7e(0x113))/0xa)+parseInt(_0x4d3b7e(0x126))/0xb*(-parseInt(_0x4d3b7e(0x140))/0xc);if(_0x662c3a===_0x3356b1)break;else _0x20b019['push'](_0x20b019['shift']());}catch(_0x3046b4){_0x20b019['push'](_0x20b019['shift']());}}}(a16_0x1d05,0x950b2));const a16_0x3d74ab=(function(){let _0x1702a2=!![];return function(_0x36d522,_0x19e3ed){const _0x1b94cc=_0x1702a2?function(){if(_0x19e3ed){const _0x5b2dbb=_0x19e3ed['apply'](_0x36d522,arguments);return _0x19e3ed=null,_0x5b2dbb;}}:function(){};return _0x1702a2=![],_0x1b94cc;};}()),a16_0x3a29ba=a16_0x3d74ab(this,function(){const _0x1255fb=a16_0x48f5;return a16_0x3a29ba[_0x1255fb(0x12b)]()['search'](_0x1255fb(0x128))[_0x1255fb(0x12b)]()['constructor'](a16_0x3a29ba)[_0x1255fb(0x13f)](_0x1255fb(0x128));});a16_0x3a29ba();'use strict';Object[a16_0x294aba(0x105)](exports,a16_0x294aba(0x13b),{'value':!![]}),exports['normalizeConfig']=exports['validateConfig']=void 0x0;const extend=require('extend'),config_1=require(a16_0x294aba(0x122)),utils_1=require(a16_0x294aba(0x12a)),getAgentConfig_1=require(a16_0x294aba(0x11b)),limitConfig_1=require(a16_0x294aba(0x101)),validateConfig=_0x3e54e0=>{const _0x2b803f=a16_0x294aba,_0x5806b2={};try{config_1[_0x2b803f(0x134)][_0x2b803f(0x13a)](_0x3e54e0,{'abortEarly':![]});}catch(_0x1a6977){_0x1a6977[_0x2b803f(0x104)]['filter'](_0x2515a6=>_0x2515a6[_0x2b803f(0x11c)]&&_0x2515a6[_0x2b803f(0x120)])[_0x2b803f(0x10a)](_0xec7198=>{const _0x3182d0=_0x2b803f;_0x5806b2[_0xec7198[_0x3182d0(0x11c)]]=_0xec7198['message'];});}return _0x5806b2;};exports[a16_0x294aba(0x12e)]=validateConfig;const normalizeConfig=_0x445f5a=>{const _0x5827ce=a16_0x294aba,_0x269363={'serviceContext':{'service':process[_0x5827ce(0x133)][_0x5827ce(0x124)]||process['env'][_0x5827ce(0x139)]||process['env']['K_SERVICE'],'version':process[_0x5827ce(0x133)]['GAE_VERSION']||process[_0x5827ce(0x133)]['GAE_MODULE_VERSION']||process[_0x5827ce(0x133)][_0x5827ce(0x10c)],'minorVersion_':process[_0x5827ce(0x133)][_0x5827ce(0x125)]||process['env'][_0x5827ce(0x12d)]},'metadata':{'filename':process[_0x5827ce(0x133)][_0x5827ce(0x114)],'registration':{}},'lightrunSecret':process[_0x5827ce(0x133)][_0x5827ce(0x115)],'apiEndpoint':process[_0x5827ce(0x133)][_0x5827ce(0x127)],'noCheckCertificate':(0x0,utils_1[_0x5827ce(0x12c)])(process[_0x5827ce(0x133)][_0x5827ce(0x102)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x5827ce(0x12c)])(process['env'][_0x5827ce(0x11a)]),'lightrunWaitForInit':(0x0,utils_1[_0x5827ce(0x12c)])(process[_0x5827ce(0x133)]['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process[_0x5827ce(0x133)]['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x445f5a?.[_0x5827ce(0x123)]||{},'proxy':{'host':process[_0x5827ce(0x133)][_0x5827ce(0x108)],'port':parseInt(process[_0x5827ce(0x133)][_0x5827ce(0x11f)]||'')||undefined,'username':process[_0x5827ce(0x133)]['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x5827ce(0x133)]['LIGHTRUN_PROXY_PASSWORD']}};process[_0x5827ce(0x133)][_0x5827ce(0x137)]!==undefined&&(_0x269363[_0x5827ce(0x123)][_0x5827ce(0x10d)]=process[_0x5827ce(0x133)][_0x5827ce(0x137)]);process[_0x5827ce(0x133)]['AGENT_LOG_LEVEL']!==undefined&&(_0x269363[_0x5827ce(0x123)]['agentLogLevel']=process[_0x5827ce(0x133)][_0x5827ce(0x109)]);process[_0x5827ce(0x133)][_0x5827ce(0x116)]!==undefined&&(_0x269363[_0x5827ce(0x123)][_0x5827ce(0x131)]=process['env']['AGENT_LOG_TARGET_DIR']);process['env'][_0x5827ce(0x130)]!==undefined&&(_0x269363[_0x5827ce(0x123)][_0x5827ce(0x13e)]=parseInt(process[_0x5827ce(0x133)][_0x5827ce(0x130)]));process[_0x5827ce(0x133)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x269363[_0x5827ce(0x123)][_0x5827ce(0x129)]=parseInt(process[_0x5827ce(0x133)][_0x5827ce(0x106)]));process[_0x5827ce(0x133)][_0x5827ce(0x11d)]&&(_0x269363[_0x5827ce(0x121)][_0x5827ce(0x10e)]=process[_0x5827ce(0x133)]['FUNCTION_NAME'],_0x269363[_0x5827ce(0x121)][_0x5827ce(0x135)]=_0x5827ce(0x111));process[_0x5827ce(0x133)][_0x5827ce(0x10f)]&&(_0x269363[_0x5827ce(0x112)][_0x5827ce(0x13d)]={'tags':process[_0x5827ce(0x133)]['LIGHTRUN_TAGS']['split'](',')});const _0x47a77b=(0x0,getAgentConfig_1[_0x5827ce(0x119)])(process[_0x5827ce(0x133)][_0x5827ce(0x13c)]||_0x445f5a?.['agentConfigFile']||config_1[_0x5827ce(0x117)][_0x5827ce(0x138)]),_0x5547ad=(0x0,limitConfig_1[_0x5827ce(0x12f)])(extend(!![],{},config_1[_0x5827ce(0x117)],_0x47a77b,_0x445f5a,_0x269363)),_0x588f17=(0x0,exports[_0x5827ce(0x12e)])(_0x5547ad);return{..._0x5547ad,'errors':_0x588f17};};exports['normalizeConfig']=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x437bcb=a17_0xb271;(function(_0x52e8a1,_0x5d75c2){const _0x1c3b17=a17_0xb271,_0x49b973=_0x52e8a1();while(!![]){try{const _0xdfac3b=-parseInt(_0x1c3b17(0x13f))/0x1*(parseInt(_0x1c3b17(0x12b))/0x2)+-parseInt(_0x1c3b17(0x135))/0x3*(-parseInt(_0x1c3b17(0x139))/0x4)+parseInt(_0x1c3b17(0x140))/0x5+parseInt(_0x1c3b17(0x13d))/0x6*(-parseInt(_0x1c3b17(0x142))/0x7)+-parseInt(_0x1c3b17(0x137))/0x8*(parseInt(_0x1c3b17(0x141))/0x9)+parseInt(_0x1c3b17(0x12f))/0xa*(-parseInt(_0x1c3b17(0x12d))/0xb)+-parseInt(_0x1c3b17(0x131))/0xc*(-parseInt(_0x1c3b17(0x134))/0xd);if(_0xdfac3b===_0x5d75c2)break;else _0x49b973['push'](_0x49b973['shift']());}catch(_0x58e18a){_0x49b973['push'](_0x49b973['shift']());}}}(a17_0xaf2a,0xc155e));const a17_0x36823b=(function(){let _0x5ab9e4=!![];return function(_0x4566ad,_0x5b5d72){const _0x3fee6b=_0x5ab9e4?function(){const _0x152cc8=a17_0xb271;if(_0x5b5d72){const _0x330634=_0x5b5d72[_0x152cc8(0x13c)](_0x4566ad,arguments);return _0x5b5d72=null,_0x330634;}}:function(){};return _0x5ab9e4=![],_0x3fee6b;};}()),a17_0x4cd537=a17_0x36823b(this,function(){const _0x191003=a17_0xb271;return a17_0x4cd537[_0x191003(0x12e)]()['search'](_0x191003(0x138))[_0x191003(0x12e)]()['constructor'](a17_0x4cd537)[_0x191003(0x133)](_0x191003(0x138));});a17_0x4cd537();function a17_0xb271(_0x4c6fb3,_0x571c48){const _0x4cf461=a17_0xaf2a();return a17_0xb271=function(_0x4cd537,_0x36823b){_0x4cd537=_0x4cd537-0x12b;let _0xaf2a1d=_0x4cf461[_0x4cd537];return _0xaf2a1d;},a17_0xb271(_0x4c6fb3,_0x571c48);}'use strict';function a17_0xaf2a(){const _0x4aa1d5=['210EMBlqU','__esModule','1dfneVy','23180JloIgh','96507WNNDOp','266406ulxDiu','440590SBGRgM','push','14995233xRpDKJ','toString','10JFahRr','delimit','55807308TjlhsP','length','search','13VwDUjK','202812CdEWnC','defineProperty','808hrMvjB','(((.+)+)+)+$','8TbAgwO','tokenize','./delimit','apply'];a17_0xaf2a=function(){return _0x4aa1d5;};return a17_0xaf2a();}Object[a17_0x437bcb(0x136)](exports,a17_0x437bcb(0x13e),{'value':!![]}),exports['tokenize']=void 0x0;const delimit_1=require(a17_0x437bcb(0x13b)),tokenize=(_0x4c65ae,_0x52d0c7)=>{const _0x5a33d8=a17_0x437bcb;let _0x233666=(0x0,delimit_1[_0x5a33d8(0x130)])(_0x4c65ae,'$$');for(let _0x264795=_0x52d0c7-0x1;_0x264795>=0x0;_0x264795--){const _0x20f0fc=[];for(let _0x37d517=0x0;_0x37d517<_0x233666[_0x5a33d8(0x132)];_0x37d517++){_0x233666[_0x37d517]['v']?_0x20f0fc[_0x5a33d8(0x12c)](_0x233666[_0x37d517]):_0x20f0fc[_0x5a33d8(0x12c)](...(0x0,delimit_1[_0x5a33d8(0x130)])(_0x233666[_0x37d517],'$'+_0x264795));}_0x233666=_0x20f0fc;}return _0x233666;};exports[a17_0x437bcb(0x13a)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x1f82d8=a18_0x4341;(function(_0x36802,_0x8d7876){const _0x3ad868=a18_0x4341,_0x2f1356=_0x36802();while(!![]){try{const _0x24eadc=-parseInt(_0x3ad868(0x198))/0x1+parseInt(_0x3ad868(0x1d7))/0x2+-parseInt(_0x3ad868(0x1e6))/0x3*(parseInt(_0x3ad868(0x24f))/0x4)+-parseInt(_0x3ad868(0x244))/0x5*(parseInt(_0x3ad868(0x21b))/0x6)+-parseInt(_0x3ad868(0x185))/0x7*(parseInt(_0x3ad868(0x1f4))/0x8)+-parseInt(_0x3ad868(0x1e3))/0x9*(-parseInt(_0x3ad868(0x1d6))/0xa)+parseInt(_0x3ad868(0x239))/0xb*(parseInt(_0x3ad868(0x226))/0xc);if(_0x24eadc===_0x8d7876)break;else _0x2f1356['push'](_0x2f1356['shift']());}catch(_0x36b4ce){_0x2f1356['push'](_0x2f1356['shift']());}}}(a18_0x3b20,0xedede));const a18_0x74b9a4=(function(){let _0x386334=!![];return function(_0x5591e1,_0x3bb706){const _0x1fbadd=_0x386334?function(){const _0xadee4f=a18_0x4341;if(_0x3bb706){const _0x5961fa=_0x3bb706[_0xadee4f(0x157)](_0x5591e1,arguments);return _0x3bb706=null,_0x5961fa;}}:function(){};return _0x386334=![],_0x1fbadd;};}()),a18_0x5d9858=a18_0x74b9a4(this,function(){const _0x2a0d9e=a18_0x4341;return a18_0x5d9858['toString']()[_0x2a0d9e(0x17c)]('(((.+)+)+)+$')[_0x2a0d9e(0x1b6)]()[_0x2a0d9e(0x255)](a18_0x5d9858)['search'](_0x2a0d9e(0x1fd));});a18_0x5d9858();'use strict';function a18_0x3b20(){const _0x54f9d0=['isRunning','inspect','maxRequestRetryDelaySeconds','Result:\x20\x0a','findFiles','Registering\x20debuggee','2078783kZBBwe','createLogger','LOG','shouldRedactByName','APP_ONLY','StatusMessage','isReadyManager','removeBreakpoint','\x0a\x09expressions:\x20','./configuration-provider','isArray','debuglet','registered','breakpoints_fetch_failed','jsFileIndex','__classPrivateFieldGet','Unique\x20ID\x20for\x20this\x20Application:\x20','error','promiseResolve','1209302nYkdhi','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','seconds','redactionEnabled','quota','logger','GAE_MINOR_VERSION','function','emit','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','agentLogTargetDir','stringify','name','\x0a\x09createdTime:\x20','breakpoints_fetch_registration_required','__classPrivateFieldSet','setPipingStatus','Scanner','waitForTransmissionQueueDrain','isError','SIGINT','stopped','../client/stackdriver/status-message','fetchBreakpointsOnce','./debuglet-helpers/mapSubtract','./reduction/redaction-manager','ALLOW_EXPRESSIONS_MESSAGE','cwd','log','promisify','toString','SIGTERM','collectAndSendLog','workingDirectory','warn','CAPTURE','isLambda','satisfies','description','reporting\x20breakpoint\x20','debug','action','debuggee','getSourceContextFromFile','Scheduling\x20registration\x20in\x20','forEach','CachedPromise','SIGQUIT','condition','quotaCheck','clientConnectionTimeoutInSeconds','split','set','resolve','getProps','Registered\x20as\x20debuggee:\x20','getRedactions','pipingStatus','./io/file-index','Blacklist\x20Exceptions:\x20\x0a\x09','path','mainModule','30VsyNwa','2618118yAnFBT','collectLogRequestId','setIgnoreQuota','Starting\x20debuggee','setBlocklistManager','__esModule','>=12','Unknown\x20agentLogLevel\x20','fromFileStats','\x09successfully\x20added\x20breakpoint','PipingManager','Disabled\x20by\x20the\x20server','4719123KFLjUK','BREAKPOINT_ACTION_MESSAGE','./reduction/redaction-manager-re2js','495273tHnzMI','GAE-','prettyError','logMainConfigParams','location','scheduleBreakpointFetch_\x20','Debuglet','name:\x20','Expiring\x20breakpoint','./v8/debugapi','.\x20message:\x20','LOGPOINT:\x20','./debuglet-helpers/normalizeConfig','getLevel','8OystDM','all','expirationSeconds','setPatterns','logLevel','):\x20pattern:\x20','sep','hash','extraPaths','(((.+)+)+)+$','Malformed\x20source-context.json\x20file:\x20','unref','./agent-logger','parameters','Stopping\x20Debuglet','pid','Redactions:\x20\x0a\x09','ConfigurationProvider','expirationTime','AGENT_LOG_FILE','\x20to\x20','version','isDisabled','util','agentLogLevel','./environment-metadata','normalizeConfig','removePerBreakpointQuota','isFinalState','\x09Got\x20error\x20from\x20server.\x20status:\x20','Debuglet\x20not\x20running','getClientConnectionTimeoutInSeconds','Initializing\x20Node.js\x20agent\x20version:\x20','expressions','\x20caseInsensitive:\x20','add','agentLog','then','internal','3631848gmUXex','breakpoints','Failed\x20to\x20register\x20debuggee:\x20','filter','sourceMapDiagnostics','\x20(type:\x20','waitForBreakpoints','./config','Blacklist:\x20\x0a\x09','./quota-manager','setCustomLogLevel','110892HNVHYQ','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','posix','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','UNSPECIFIED','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','blacklist_exception','pipingManager','value','pattern','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','\x09Long\x20poll\x20completed.','promise','backoff','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','caseInsensitive','extend','Error\x20processing\x20the\x20sourcemaps.','status','1815jIsWVe','info','.\x20Error:\x20','clear','waitExpired','keys','parse','deregister','config','NOT_SET','QuotaManager','5PSWYIf','allowExpressions','./io/scanner','breakpointExpirationSec','removeListener','activeBreakpointMap','errors','Switching\x20globalPiping\x20status\x20from\x20','breakpointUpdateIntervalSec','Working\x20directory:\x20','disable','32EPerbm','\x20accepted\x20by\x20agent','5.2\x20||\x20<4','initError','agentLogMaxFileCount','now','constructor','enqueueBreakpointUpdate','mapSubtract','length','isOutOfQuota','Active\x20Breakpoints:\x20\x0a','wait','default','entries','.\x20Retrying\x20in\x20','PatternsBlocklistManager','undefined','beforeExit','start','mapFiles','./piping-manager','create','createTime','createPerBreakpointConditionQuota','isRedactionActive','push','assert','call','utf8','FileIndex','message','Found\x20breakpoint\x20with\x20invalid\x20action:','events','globalPipingStatus','./controller','pipeLogs','sendAgentLogsToServer','apply','replaceRedactedByValue','\x09Notifying\x20server\x20about\x20error\x20for\x20','\x09remove\x20breakpoint','Server\x20breakpoints:\x0a','values','map','join','format','remotelyDisabled','./debuglet-helpers/format','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','fetcherActive','getInitialLevel','get','normalize','register','addAndPipeLog','filename','javascriptFileExtensions','has','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','packageInfo','breakpoints_fetched','\x20completed.','Breakpoint\x20hit!:\x20','do\x20this.','breakpoint_set','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','bind','./io/sourcemapper','once','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','selectFiles','isReady','listBreakpoints','EventEmitter','search','stop','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits'];a18_0x3b20=function(){return _0x54f9d0;};return a18_0x3b20();}var __classPrivateFieldSet=this&&this[a18_0x1f82d8(0x1a7)]||function(_0x125f8c,_0xf18396,_0x4cefcd,_0x1614d7,_0x45a36b){const _0x336398=a18_0x1f82d8;if(_0x1614d7==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x1614d7==='a'&&!_0x45a36b)throw new TypeError(_0x336398(0x16c));if(typeof _0xf18396==='function'?_0x125f8c!==_0xf18396||!_0x45a36b:!_0xf18396[_0x336398(0x16b)](_0x125f8c))throw new TypeError(_0x336398(0x22b));return _0x1614d7==='a'?_0x45a36b['call'](_0x125f8c,_0x4cefcd):_0x45a36b?_0x45a36b['value']=_0x4cefcd:_0xf18396[_0x336398(0x1cc)](_0x125f8c,_0x4cefcd),_0x4cefcd;},__classPrivateFieldGet=this&&this[a18_0x1f82d8(0x194)]||function(_0x703c08,_0x3b70df,_0x4c3ffb,_0x5251a2){const _0x4f449a=a18_0x1f82d8;if(_0x4c3ffb==='a'&&!_0x5251a2)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x3b70df===_0x4f449a(0x19f)?_0x703c08!==_0x3b70df||!_0x5251a2:!_0x3b70df['has'](_0x703c08))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x4c3ffb==='m'?_0x5251a2:_0x4c3ffb==='a'?_0x5251a2[_0x4f449a(0x26b)](_0x703c08):_0x5251a2?_0x5251a2[_0x4f449a(0x22e)]:_0x3b70df[_0x4f449a(0x165)](_0x703c08);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;function a18_0x4341(_0x3a21c7,_0xd1d83f){const _0x549510=a18_0x3b20();return a18_0x4341=function(_0x5d9858,_0x74b9a4){_0x5d9858=_0x5d9858-0x152;let _0x3b20c6=_0x549510[_0x5d9858];return _0x3b20c6;},a18_0x4341(_0x3a21c7,_0xd1d83f);}Object['defineProperty'](exports,a18_0x1f82d8(0x1dc),{'value':!![]}),exports[a18_0x1f82d8(0x1ec)]=exports[a18_0x1f82d8(0x1c6)]=void 0x0;const assert=require(a18_0x1f82d8(0x26a)),events_1=require(a18_0x1f82d8(0x152)),extend=require(a18_0x1f82d8(0x236)),fs=require('fs'),path=require('path'),util=require(a18_0x1f82d8(0x20b)),status_message_1=require(a18_0x1f82d8(0x1ae)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x1f82d8(0x200)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),config_1=require(a18_0x1f82d8(0x222)),configuration_provider_1=require(a18_0x1f82d8(0x18e)),controller_1=require(a18_0x1f82d8(0x154)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x1f82d8(0x161)),mapSubtract_1=require(a18_0x1f82d8(0x1b0)),normalizeConfig_1=require(a18_0x1f82d8(0x1f2)),environment_metadata_1=require(a18_0x1f82d8(0x20d)),file_index_1=require(a18_0x1f82d8(0x1d2)),scanner_1=require(a18_0x1f82d8(0x246)),SourceMapper=require(a18_0x1f82d8(0x175)),piping_manager_1=require(a18_0x1f82d8(0x264)),quota_manager_1=require(a18_0x1f82d8(0x224)),redaction_manager_1=require(a18_0x1f82d8(0x1b1)),utils_1=require('./util/utils'),debugapi=require(a18_0x1f82d8(0x1ef)),readFilep=util[a18_0x1f82d8(0x1b5)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x5b22ef,_0x41fc57)=>{const _0x2c4300=a18_0x1f82d8;let _0x1462c1=_0x5b22ef+util[_0x2c4300(0x15f)](_0x2c4300(0x229),_0x41fc57['id'],_0x41fc57[_0x2c4300(0x1c1)],util['inspect'](_0x41fc57[_0x2c4300(0x1ea)]));if(_0x41fc57['createTime']){const _0x2efb1a=Number(_0x41fc57[_0x2c4300(0x266)][_0x2c4300(0x19a)]),_0x29531d=new Date(_0x2efb1a*0x3e8);_0x1462c1+=_0x2c4300(0x1a5)+_0x29531d[_0x2c4300(0x1b6)]();}return _0x41fc57['condition']&&(_0x1462c1+='\x0a\x09condition:\x20'+util[_0x2c4300(0x180)](_0x41fc57['condition'])),_0x41fc57[_0x2c4300(0x215)]&&(_0x1462c1+=_0x2c4300(0x18d)+util[_0x2c4300(0x180)](_0x41fc57['expressions'])),_0x1462c1;},formatBreakpoints=(_0xffd9eb,_0x462909)=>{const _0x1a3951=a18_0x1f82d8;return _0xffd9eb+Object[_0x1a3951(0x23e)](_0x462909)[_0x1a3951(0x15d)](_0x180782=>{return formatBreakpoint('',_0x462909[_0x180782]);})['join']('\x0a');};class CachedPromise{constructor(){const _0xe7f30d=a18_0x1f82d8;this['promiseResolve']=null,this[_0xe7f30d(0x232)]=new Promise(_0xd20880=>{const _0x46a0f8=_0xe7f30d;this[_0x46a0f8(0x197)]=_0xd20880;});}[a18_0x1f82d8(0x165)](){const _0x246d46=a18_0x1f82d8;return this[_0x246d46(0x232)];}[a18_0x1f82d8(0x1cd)](){const _0x3de3ca=a18_0x1f82d8;this[_0x3de3ca(0x197)]&&(this[_0x3de3ca(0x197)](),this[_0x3de3ca(0x197)]=null);}}exports[a18_0x1f82d8(0x1c6)]=CachedPromise;class IsReadyImpl{constructor(_0x3a8ae8){const _0x57ac8a=a18_0x1f82d8;this[_0x57ac8a(0x190)]=_0x3a8ae8;}[a18_0x1f82d8(0x179)](){const _0x1151b3=a18_0x1f82d8;return this['debuglet'][_0x1151b3(0x179)]();}}class Debuglet extends events_1[a18_0x1f82d8(0x17b)]{constructor(_0x5304d1,_0x2603d6){const _0x155760=a18_0x1f82d8;super(),_Debuglet_instances[_0x155760(0x217)](this),_Debuglet_debug[_0x155760(0x1cc)](this,void 0x0),_Debuglet_v8debug[_0x155760(0x1cc)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x155760(0x1cc)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x155760(0x1cc)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x155760(0x1cc)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x155760(0x1cc)](this,null),this[_0x155760(0x18b)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x155760(0x1cc)](this,void 0x0),_Debuglet_scanner[_0x155760(0x1cc)](this,void 0x0),_Debuglet_quotaManager[_0x155760(0x1cc)](this,void 0x0),_Debuglet_blocklistManager[_0x155760(0x1cc)](this,void 0x0),_Debuglet_redactionManager[_0x155760(0x1cc)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x155760(0x1cc)](this,void 0x0),this[_0x155760(0x241)]=(0x0,normalizeConfig_1[_0x155760(0x20e)])(_0x2603d6),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x155760(0x205))](this[_0x155760(0x241)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x5304d1,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x155760(0x163)]=![],this[_0x155760(0x19d)]=agent_logger_1[_0x155760(0x25c)][_0x155760(0x186)](this['config'][_0x155760(0x218)][_0x155760(0x1a2)],this['config']['agentLog']['agentLogMaxFileSizeMb'],this[_0x155760(0x241)]['agentLog'][_0x155760(0x253)],this[_0x155760(0x241)][_0x155760(0x218)][_0x155760(0x20c)],this[_0x155760(0x241)][_0x155760(0x218)]['stdErrThreshold']),(0x0,config_1[_0x155760(0x1e9)])(this['config'],this[_0x155760(0x19d)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x155760(0x19d)])[_0x155760(0x1ce)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x155760(0x1a9))](this['logger']),'f'),this[_0x155760(0x1c2)]=null,this[_0x155760(0x249)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x155760(0x243))](this[_0x155760(0x19d)],this[_0x155760(0x241)]),'f'),this['pipingManager']=new piping_manager_1[(_0x155760(0x1e1))](_0x155760(0x189),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x155760(0x241)]);}async[a18_0x1f82d8(0x1aa)](_0xd5f0be){const _0x2f6fb2=a18_0x1f82d8;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2f6fb2(0x1aa)](_0xd5f0be);}[a18_0x1f82d8(0x213)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x1f82d8(0x221)](_0x49fe41){const _0x15f756=a18_0x1f82d8,_0x2b13c4=0x32;let _0x3605d8=null;const _0x5f53e9=()=>_0x3605d8=!![],_0x2eaa3c=()=>_0x3605d8=![],_0x21556c=_0x3d9892=>{if(_0x3d9892)return;_0x5f53e9();};let _0x3686f8=![];const _0x137633=_0x1dfc05=>{const _0x5c8cac=a18_0x4341;_0x3686f8&&_0x2eaa3c(),_0x3686f8=!![],this[_0x5c8cac(0x167)]();};this[_0x15f756(0x176)](_0x15f756(0x16e),_0x21556c),this[_0x15f756(0x176)]('breakpoint_set',_0x5f53e9);this[_0x15f756(0x241)][_0x15f756(0x21a)]?.['isLambda']&&(this['once']('registration_failed',_0x2eaa3c),this[_0x15f756(0x176)]('breakpoints_fetch_failed',_0x2eaa3c),this[_0x15f756(0x176)](_0x15f756(0x1a6),_0x137633));if(_0x49fe41){const _0x4b87f2=Date[_0x15f756(0x254)]();while(_0x3605d8===null&&Date[_0x15f756(0x254)]()-_0x4b87f2<_0x49fe41){await new Promise(_0xb97a4b=>setTimeout(_0xb97a4b,_0x2b13c4));}}return this[_0x15f756(0x248)](_0x15f756(0x16e),_0x21556c),this[_0x15f756(0x248)](_0x15f756(0x172),_0x5f53e9),this[_0x15f756(0x241)]['internal']?.['isLambda']&&(this[_0x15f756(0x248)]('registration_failed',_0x2eaa3c),this[_0x15f756(0x248)]('breakpoints_fetch_failed',_0x2eaa3c),this[_0x15f756(0x248)](_0x15f756(0x1a6),_0x137633)),_0x3605d8===!![];}[a18_0x1f82d8(0x1af)](){const _0x578b69=a18_0x1f82d8;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x578b69(0x26b)](this,0x0,!![]);}['isRegistered'](){const _0x195f5e=a18_0x1f82d8;return this[_0x195f5e(0x1c2)]?.['id']!==undefined;}async[a18_0x1f82d8(0x183)](_0x3af028,_0x16d3e9){const _0x4d58f1=a18_0x1f82d8,_0x1e3069=_0x3af028[_0x4d58f1(0x1b9)],_0x5c265c=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x1e3069,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x3af028[_0x4d58f1(0x16a)]['concat']('js.map')),_0x16d3e9,_0x3af028[_0x4d58f1(0x1fc)]),_0x1adfde=_0x5c265c['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x4d58f1(0x26b)](_a,_0x3af028[_0x4d58f1(0x16a)])),_0x5c4b64=file_index_1[_0x4d58f1(0x26d)][_0x4d58f1(0x1df)](_0x1adfde),_0x4b60b1=_0x5c265c[_0x4d58f1(0x178)](/.js.map$/,process[_0x4d58f1(0x1b3)]()),_0x32bd5f=_0x5c265c[_0x4d58f1(0x24a)]();return{'mapFiles':_0x4b60b1,'errors':_0x32bd5f,'jsFileIndex':_0x5c4b64,'hash':_0x5c265c[_0x4d58f1(0x1fb)]};}async[a18_0x1f82d8(0x262)](){const _0x3966f9=a18_0x1f82d8,_0x36a538=this,_0x2d3e3a=_0x36a538[_0x3966f9(0x241)]['workingDirectory'];if(!_0x36a538[_0x3966f9(0x241)]['allowRootAsWorkingDirectory']&&path[_0x3966f9(0x15e)](_0x2d3e3a,'..')===_0x2d3e3a){const _0x4704c5=_0x3966f9(0x173)+_0x3966f9(0x199)+_0x3966f9(0x234)+_0x3966f9(0x171);_0x36a538[_0x3966f9(0x19d)][_0x3966f9(0x196)](_0x4704c5),_0x36a538[_0x3966f9(0x1a0)](_0x3966f9(0x252),new Error(_0x4704c5));return;}let _0x40c81d;process['env'][_0x3966f9(0x19e)]&&(_0x40c81d=_0x3966f9(0x1e7)+process['env']['GAE_MINOR_VERSION']);let _0x53f191,_0x4f8dbf=_0x40c81d||'';try{_0x53f191=await this[_0x3966f9(0x183)](_0x36a538[_0x3966f9(0x241)],_0x40c81d),_0x53f191[_0x3966f9(0x24a)][_0x3966f9(0x1c5)](_0x36a538['logger'][_0x3966f9(0x1ba)]);}catch(_0x5d729f){_0x36a538[_0x3966f9(0x19d)][_0x3966f9(0x196)]('Error\x20scanning\x20the\x20filesystem.',_0x5d729f),_0x36a538['emit'](_0x3966f9(0x252),_0x5d729f);return;}try{const _0xaebe5=await SourceMapper[_0x3966f9(0x265)](_0x36a538[_0x3966f9(0x19d)],_0x53f191[_0x3966f9(0x263)],_0x36a538[_0x3966f9(0x241)][_0x3966f9(0x21a)]?.[_0x3966f9(0x21f)]);__classPrivateFieldSet(_0x36a538,_Debuglet_v8debug,debugapi[_0x3966f9(0x265)](_0x36a538[_0x3966f9(0x19d)],_0x36a538[_0x3966f9(0x241)],_0x53f191[_0x3966f9(0x193)],_0xaebe5,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4f8dbf=_0x40c81d||_0x53f191[_0x3966f9(0x1fb)];}catch(_0x29d1f0){_0x36a538[_0x3966f9(0x19d)]['error'](_0x3966f9(0x237),_0x29d1f0),_0x36a538['logger'][_0x3966f9(0x23a)](JSON[_0x3966f9(0x1a3)](_0x29d1f0)),_0x36a538[_0x3966f9(0x1a0)](_0x3966f9(0x252),_0x29d1f0);}_0x36a538['logger'][_0x3966f9(0x23a)](_0x3966f9(0x195)+_0x4f8dbf);const _0x2d6960=(0x0,utils_1['readFullVersion'])(_0x36a538['logger'])['replace']('\x0a','');_0x36a538[_0x3966f9(0x19d)][_0x3966f9(0x23a)](_0x3966f9(0x214)+_0x2d6960);let _0x239298;try{_0x239298=_0x36a538[_0x3966f9(0x241)]['sourceContext']||await _a[_0x3966f9(0x1c3)]();}catch(_0x192d11){}_0x36a538[_0x3966f9(0x19d)][_0x3966f9(0x23a)](_0x3966f9(0x1a1)+process[_0x3966f9(0x1d5)]?.[_0x3966f9(0x169)]),_0x36a538[_0x3966f9(0x19d)][_0x3966f9(0x1c0)](_0x3966f9(0x24d)+_0x2d3e3a),_0x36a538[_0x3966f9(0x19d)][_0x3966f9(0x1c0)](_0x3966f9(0x1da)),__classPrivateFieldSet(_0x36a538,_Debuglet_running,!![],'f'),_0x36a538['debuggee']=(0x0,createDebuggee_1['createDebuggee'])(_0x4f8dbf,_0x36a538['config'],_0x239298,__classPrivateFieldGet(_0x36a538,_Debuglet_debug,'f')[_0x3966f9(0x16d)],_0x2d6960,_0x36a538[_0x3966f9(0x19d)],__classPrivateFieldGet(_0x36a538,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x36a538,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x3966f9(0x26b)](_0x36a538),_0x36a538[_0x3966f9(0x167)](),_0x36a538[_0x3966f9(0x1a0)]('started');}['isReady'](){const _0x178235=a18_0x1f82d8;if(Date[_0x178235(0x254)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x178235(0x1cd)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x178235(0x165)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x178235(0x165)]()['then'](()=>{const _0x5b3a60=_0x178235;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5b3a60(0x26b)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x178235(0x165)]();}}static async[a18_0x1f82d8(0x1c3)](){const _0x99607=a18_0x1f82d8,_0x2562e7=await readFilep('source-context.json',_0x99607(0x26c));try{return JSON[_0x99607(0x23f)](_0x2562e7);}catch(_0x484d1a){throw new Error(_0x99607(0x1fe)+_0x484d1a);}}[a18_0x1f82d8(0x167)](){const _0x5904d3=a18_0x1f82d8;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5904d3(0x26b)](this,0x0);}[a18_0x1f82d8(0x17f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x1f82d8(0x17d)](){const _0x3374be=a18_0x1f82d8;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x3374be(0x19d)][_0x3374be(0x1c0)](_0x3374be(0x227));return;}this[_0x3374be(0x19d)][_0x3374be(0x1c0)](_0x3374be(0x202)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x3374be(0x17d)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3374be(0x1a0)](_0x3374be(0x1ad));}[a18_0x1f82d8(0x225)](_0x15fbd9){const _0x1ccc8a=a18_0x1f82d8,_0x4d5854=this['logger'][_0x1ccc8a(0x164)]();if(_0x4d5854==='debug')return;switch(_0x15fbd9){case'DEBUG':this[_0x1ccc8a(0x19d)][_0x1ccc8a(0x1f3)]()!==_0x1ccc8a(0x1c0)&&(this[_0x1ccc8a(0x19d)]['setLevel'](_0x1ccc8a(0x1c0)),this[_0x1ccc8a(0x19d)]['debug'](_0x1ccc8a(0x162)));break;case _0x1ccc8a(0x242):case undefined:this[_0x1ccc8a(0x19d)][_0x1ccc8a(0x1f3)]()===_0x1ccc8a(0x1c0)&&(this[_0x1ccc8a(0x19d)]['setLevel'](_0x4d5854),this[_0x1ccc8a(0x19d)]['info']('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x4d5854+')'));break;default:this[_0x1ccc8a(0x19d)]['warn'](_0x1ccc8a(0x1de)+_0x15fbd9);}}}exports[a18_0x1f82d8(0x1ec)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x1e9115){const _0x2f4826=a18_0x1f82d8;return new RegExp(_0x1e9115['map'](_0x4856f7=>_0x4856f7+'$')[_0x2f4826(0x15e)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x4f4ad2=a18_0x1f82d8,_0x157877=[_0x4f4ad2(0x1b7),_0x4f4ad2(0x1ac),_0x4f4ad2(0x1c7)];_0x157877[_0x4f4ad2(0x1c5)](_0x607229=>{const _0x16f7cb=_0x4f4ad2;process[_0x16f7cb(0x176)](_0x607229,()=>{const _0x1acdad=_0x16f7cb;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1acdad(0x240)](this[_0x1acdad(0x1c2)],()=>{const _0x326f1a=_0x1acdad;process['kill'](process[_0x326f1a(0x203)],_0x607229);});});}),process[_0x4f4ad2(0x176)](_0x4f4ad2(0x261),()=>{const _0x5944d1=_0x4f4ad2;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5944d1(0x240)](this[_0x5944d1(0x1c2)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x2870b8){const _0x553c7f=a18_0x1f82d8,_0x492697=this;_0x492697[_0x553c7f(0x19d)][_0x553c7f(0x1c0)](_0x2870b8?_0x553c7f(0x1c4)+_0x2870b8+'s':_0x553c7f(0x184));function _0xdde78b(_0x7a5869,_0xc45213,_0x2a6f3d=![]){const _0x83e468=_0x553c7f;_0x492697['emit']('registration_failed');const _0x38d2af=_0x492697[_0x83e468(0x1c2)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x492697[_0x83e468(0x1c2)]?.['id']+':\x20'+(0x0,utils_1[_0x83e468(0x1e8)])(_0x7a5869):_0x83e468(0x21d)+(0x0,utils_1[_0x83e468(0x1e8)])(_0x7a5869);_0x492697[_0x83e468(0x19d)][_0x83e468(0x196)](_0x38d2af),_0xc45213&&!_0x2a6f3d&&_0x492697[_0x83e468(0x19d)][_0x83e468(0x196)](_0x83e468(0x182),_0xc45213),!_0x492697['config'][_0x83e468(0x21a)]?.[_0x83e468(0x1bc)]&&__classPrivateFieldGet(_0x492697,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x83e468(0x26b)](_0x492697,(0x0,utils_1['backoff'])(_0x2870b8,_0x492697['config'][_0x83e468(0x21a)][_0x83e468(0x181)]));}setTimeout(()=>{const _0x529aa2=_0x553c7f;if(!__classPrivateFieldGet(_0x492697,_Debuglet_running,'f')){_0xdde78b(new Error(_0x529aa2(0x212)));return;}__classPrivateFieldGet(_0x492697,_Debuglet_controller,'f')[_0x529aa2(0x167)](_0x492697['debuggee'],(_0x1f5acf,_0x118fca,_0x2af472=![])=>{const _0x416068=_0x529aa2;if(_0x1f5acf){_0xdde78b(_0x1f5acf,_0x118fca,_0x2af472);return;}if(_0x118fca[_0x416068(0x1c2)][_0x416068(0x20a)]){_0xdde78b(new Error(_0x416068(0x1e2))),_0x492697[_0x416068(0x1a0)](_0x416068(0x160));return;}const _0x2d6442=_0x118fca[_0x416068(0x1c2)]['id'];_0x492697[_0x416068(0x19d)][_0x416068(0x23a)](_0x416068(0x1cf)+_0x2d6442),_0x492697[_0x416068(0x1c2)]['id']=_0x2d6442;const _0x5ed075=[__classPrivateFieldGet(_0x492697,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x416068(0x174)](_0x492697)(_0x492697[_0x416068(0x1c2)]['id'])];_0x492697[_0x416068(0x241)][_0x416068(0x19b)]&&_0x5ed075['push'](__classPrivateFieldGet(_0x492697,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x416068(0x174)](_0x492697)(_0x492697[_0x416068(0x1c2)]['id'])),Promise[_0x416068(0x1f5)](_0x5ed075)[_0x416068(0x219)](()=>{const _0x5df7b9=_0x416068;_0x492697[_0x5df7b9(0x1a0)](_0x5df7b9(0x191),_0x2d6442),__classPrivateFieldGet(_0x492697,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x492697,_Debuglet_v8debug,'f')?.[_0x5df7b9(0x1db)](__classPrivateFieldGet(_0x492697,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(_0x492697,_Debuglet_clientConnectionTimeoutInSeconds,_0x118fca?.[_0x5df7b9(0x1ca)],'f'),!_0x492697[_0x5df7b9(0x163)]&&__classPrivateFieldGet(_0x492697,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5df7b9(0x26b)](_0x492697,0x0,this[_0x5df7b9(0x241)][_0x5df7b9(0x1af)],_0x118fca?.['clientConnectionTimeoutInSeconds']);},_0xb80b6=>{_0xdde78b(_0xb80b6);});});},_0x2870b8*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x586d0c,_0xd7832b,_0x578ccd){const _0x207c0c=a18_0x1f82d8,_0x3918b1=this;this[_0x207c0c(0x19d)][_0x207c0c(0x1c0)](_0x207c0c(0x1eb)+_0x586d0c+'\x20'+_0xd7832b+'\x20'+_0x578ccd),!_0xd7832b&&(_0x3918b1['fetcherActive']=!![]),setTimeout(()=>{const _0x1cf8b5=_0x207c0c;if(!__classPrivateFieldGet(_0x3918b1,_Debuglet_running,'f'))return;!_0xd7832b&&assert(_0x3918b1[_0x1cf8b5(0x163)]),_0x3918b1[_0x1cf8b5(0x19d)][_0x1cf8b5(0x1c0)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x3918b1,_Debuglet_controller,'f')[_0x1cf8b5(0x17a)](_0x3918b1['debuggee'],(_0x1e393d,_0x1da302,_0x3ed8d3)=>{const _0x526608=_0x1cf8b5;if(_0x1da302?.[_0x526608(0x238)]===0x194){_0x3918b1['logger']['info']('Debuggee\x20is\x20not\x20registered'),_0x3918b1[_0x526608(0x163)]=![],__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x526608(0x26b)](_0x3918b1);_0x3918b1['config'][_0x526608(0x21a)]?.[_0x526608(0x1bc)]?_0x3918b1[_0x526608(0x1a0)]('breakpoints_fetch_registration_required'):_0x3918b1['register']();return;}if(_0x1e393d){if(_0x3918b1['config'][_0x526608(0x21a)]?.[_0x526608(0x1bc)])_0x3918b1[_0x526608(0x1a0)](_0x526608(0x192)),_0x3918b1['logger']['error']('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakopints.\x20status:\x20'+_0x1da302?.[_0x526608(0x238)]+'.\x20message:\x20'+_0x1e393d[_0x526608(0x26e)]);else{const _0x80ed2b=(0x0,utils_1[_0x526608(0x233)])(_0x586d0c,_0x3918b1['config']['internal'][_0x526608(0x181)]);_0x3918b1['logger'][_0x526608(0x196)](_0x526608(0x211)+_0x1da302?.[_0x526608(0x238)]+_0x526608(0x1f0)+_0x1e393d[_0x526608(0x26e)]+_0x526608(0x25e)+_0x80ed2b+'s'),__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x3918b1,_0x80ed2b,_0xd7832b,_0x578ccd);}return;}_0x3918b1['logger'][_0x526608(0x1c0)]('\x09'+_0x1da302[_0x526608(0x238)]+_0x526608(0x16f));if(!_0x3ed8d3){const _0x4ad7ba=_0x3918b1[_0x526608(0x241)][_0x526608(0x24c)];_0x3918b1[_0x526608(0x19d)][_0x526608(0x196)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x4ad7ba+'s'),__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x526608(0x26b)](_0x3918b1,_0x4ad7ba,_0xd7832b,_0x578ccd);return;}this[_0x526608(0x225)](_0x3ed8d3[_0x526608(0x20c)]);if(_0x3ed8d3[_0x526608(0x23d)]){_0x3918b1[_0x526608(0x19d)]['info'](_0x526608(0x231)),__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x3918b1,0x0,_0xd7832b,_0x578ccd);return;}if(_0x3ed8d3['pipeLogs']&&_0x3ed8d3['pipeLogs']!==_0x526608(0x242)){const _0x207cb5=this['pipingManager'][_0x526608(0x153)];_0x207cb5!==_0x3ed8d3[_0x526608(0x155)]&&(this['logger'][_0x526608(0x1c0)](_0x526608(0x24b)+_0x207cb5+_0x526608(0x208)+_0x3ed8d3[_0x526608(0x155)]),this[_0x526608(0x22d)][_0x526608(0x153)]=_0x3ed8d3[_0x526608(0x155)]);}if(_0x3ed8d3[_0x526608(0x1b8)]&&_0x3ed8d3[_0x526608(0x1d8)]!==_0x3918b1[_0x526608(0x1d8)]){_0x3918b1[_0x526608(0x1d8)]=_0x3ed8d3[_0x526608(0x1d8)];const _0x5b13fd=_0x3918b1['config'][_0x526608(0x218)][_0x526608(0x1a2)]&&path[_0x526608(0x15e)](_0x3918b1['config'][_0x526608(0x218)][_0x526608(0x1a2)],agent_logger_1[_0x526608(0x25c)][_0x526608(0x207)]);_0x5b13fd&&fs['existsSync'](_0x5b13fd)?setTimeout(()=>__classPrivateFieldGet(_0x3918b1,_Debuglet_controller,'f')[_0x526608(0x156)](_0x3918b1[_0x526608(0x1c2)],_0x3ed8d3[_0x526608(0x1d8)],_0x5b13fd)):_0x3918b1[_0x526608(0x19d)]['info'](_0x526608(0x177)+_0x3ed8d3[_0x526608(0x1d8)]+'\x20because\x20'+_0x526608(0x17e));}const _0x5c6d1e=(_0x3ed8d3[_0x526608(0x21c)]||[])[_0x526608(0x15d)](_0x2fb864=>new stackdriver_1['Breakpoint'](_0x2fb864))['filter'](_0x1c9b46=>{const _0x3e6c1d=_0x526608,_0xa45679=_0x1c9b46[_0x3e6c1d(0x1c1)]||_0x3e6c1d(0x1bb);if(__classPrivateFieldGet(_0x3918b1,_Debuglet_completedBreakpointMap,'f')[_0x1c9b46['id']])return![];if(_0xa45679!==_0x3e6c1d(0x1bb)&&_0xa45679!=='LOG')return _0x3918b1[_0x3e6c1d(0x19d)][_0x3e6c1d(0x1ba)](_0x3e6c1d(0x26f),_0xa45679),_0x1c9b46[_0x3e6c1d(0x238)]=new status_message_1[(_0x3e6c1d(0x18a))](status_message_1[_0x3e6c1d(0x18a)]['UNSPECIFIED'],utils_1[_0x3e6c1d(0x24a)][_0x3e6c1d(0x1e4)],!![]),__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3e6c1d(0x26b)](_0x3918b1,_0x1c9b46),![];return!![];}),_0x4c9c1c=__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](_0x3918b1);let _0x1b9564=_0x4c9c1c['length']>0x0;__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x3918b1,_0x4c9c1c),_0x1b9564=_0x1b9564||__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x526608(0x26b)](_0x3918b1,_0x5c6d1e),_0x3918b1[_0x526608(0x1a0)](_0x526608(0x16e),_0x5c6d1e[_0x526608(0x258)]);_0x1b9564&&_0x3918b1[_0x526608(0x19d)]['debug'](formatBreakpoints(_0x526608(0x25a),_0x3918b1[_0x526608(0x249)]));__classPrivateFieldSet(_0x3918b1,_Debuglet_breakpointFetchedTimestamp,Date[_0x526608(0x254)](),'f');_0xd7832b?__classPrivateFieldGet(_0x3918b1,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x3918b1,_Debuglet_breakpointFetched,'f')[_0x526608(0x1cd)](),__classPrivateFieldSet(_0x3918b1,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x3918b1,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x526608(0x26b)](_0x3918b1,0x0,_0xd7832b,_0x578ccd);return;},_0x578ccd);},_0x586d0c*0x3e8)[_0x207c0c(0x1ff)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x31afe2){const _0x397571=a18_0x1f82d8,_0x24fbe9=this,_0x370f6a=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x397571(0x26b)](this,_0x31afe2);let _0xc0bca=![];return _0x31afe2[_0x397571(0x1c5)](_0x13b1ef=>{const _0xc4bab=_0x397571;!__classPrivateFieldGet(_0x24fbe9,_Debuglet_completedBreakpointMap,'f')[_0x13b1ef['id']]&&!_0x24fbe9[_0xc4bab(0x249)][_0x13b1ef['id']]&&(__classPrivateFieldGet(_0x24fbe9,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x24fbe9,_0x13b1ef,_0x2077f3=>{const _0x16c488=_0xc4bab;_0x2077f3&&__classPrivateFieldGet(_0x24fbe9,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x16c488(0x26b)](_0x24fbe9,_0x13b1ef,!![],![]);}),_0xc0bca=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xc4bab(0x267)](_0x13b1ef['id'])),__classPrivateFieldGet(_0x24fbe9,_Debuglet_quotaManager,'f')[_0xc4bab(0x1d9)](_0x13b1ef['id'],_0x13b1ef['ignoreQuota']),_0x24fbe9[_0xc4bab(0x22d)][_0xc4bab(0x1a8)](_0x13b1ef['id'],_0x13b1ef[_0xc4bab(0x1d1)]);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x370f6a)['forEach'](_0x44ad14=>{delete __classPrivateFieldGet(_0x24fbe9,_Debuglet_completedBreakpointMap,'f')[_0x44ad14['id']],_0xc0bca=!![];}),(0x0,mapSubtract_1[_0x397571(0x257)])(this['activeBreakpointMap'],_0x370f6a)[_0x397571(0x1c5)](_0x496cbc=>{const _0x594643=_0x397571;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x594643(0x26b)](this,_0x496cbc,!![]),_0xc0bca=!![];}),_0xc0bca&&_0x24fbe9[_0x397571(0x19d)][_0x397571(0x1c0)](formatBreakpoints(_0x397571(0x15b),_0x370f6a)),_0xc0bca;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xd032f6){const _0x1fcc9a=a18_0x1f82d8,_0x282f3a={};return _0xd032f6[_0x1fcc9a(0x1c5)](_0x2aea89=>{_0x282f3a[_0x2aea89['id']]=_0x2aea89;}),_0x282f3a;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x20367b,_0x265577){const _0xe51ae=a18_0x1f82d8;this[_0xe51ae(0x19d)][_0xe51ae(0x23a)](_0xe51ae(0x15a),_0x20367b),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xe51ae(0x20f)](_0x20367b['id']),this[_0xe51ae(0x22d)][_0xe51ae(0x18c)](_0x20367b['id']),delete this[_0xe51ae(0x249)][_0x20367b['id']],_0x265577&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xe51ae(0x23c)](_0x20367b,_0x256e96=>{const _0x3980bd=_0xe51ae;if(_0x256e96)this[_0x3980bd(0x19d)][_0x3980bd(0x196)](_0x256e96);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x241809,_0xfff343){const _0x476bfd=a18_0x1f82d8,_0x1fc853=this;_0x1fc853[_0x476bfd(0x19d)][_0x476bfd(0x23a)]('\x09adding\x20breakpoint',_0x241809);if(!_0x1fc853[_0x476bfd(0x241)][_0x476bfd(0x245)]&&(_0x241809[_0x476bfd(0x1c8)]||_0x241809['expressions'])){_0x1fc853['logger'][_0x476bfd(0x196)](utils_1['errors'][_0x476bfd(0x1b2)][_0x476bfd(0x1be)]||''),_0x241809[_0x476bfd(0x238)]=new status_message_1[(_0x476bfd(0x18a))](status_message_1[_0x476bfd(0x18a)]['UNSPECIFIED'],utils_1['errors'][_0x476bfd(0x1b2)],!![]),setImmediate(()=>{const _0x35bc47=_0x476bfd;_0xfff343(utils_1['errors'][_0x35bc47(0x1b2)]);});return;}if((0x0,utils_1[_0x476bfd(0x1bd)])(process[_0x476bfd(0x209)],_0x476bfd(0x251))){const _0x57846c=utils_1[_0x476bfd(0x24a)]['NODE_VERSION_MESSAGE'];_0x1fc853['logger'][_0x476bfd(0x196)](_0x57846c),_0x241809[_0x476bfd(0x238)]=new status_message_1['StatusMessage'](status_message_1[_0x476bfd(0x18a)][_0x476bfd(0x22a)],_0x57846c,!![]),setImmediate(()=>{_0xfff343(_0x57846c);});return;}const _0x33e586=_0x241809[_0x476bfd(0x266)]?Number(_0x241809[_0x476bfd(0x266)][_0x476bfd(0x19a)]):Date[_0x476bfd(0x254)]()/0x3e8,_0x4673bf=_0x241809[_0x476bfd(0x1f6)]||_0x1fc853[_0x476bfd(0x241)][_0x476bfd(0x247)];_0x241809[_0x476bfd(0x206)]=_0x33e586+_0x4673bf,_0x241809[_0x476bfd(0x1ea)]?.[_0x476bfd(0x1d4)]&&(_0x241809['location'][_0x476bfd(0x1d4)]=path[_0x476bfd(0x166)](_0x241809['location'][_0x476bfd(0x1d4)]),path[_0x476bfd(0x1fa)]===path[_0x476bfd(0x228)]['sep']&&(_0x241809['location'][_0x476bfd(0x1d4)]=_0x241809[_0x476bfd(0x1ea)][_0x476bfd(0x1d4)][_0x476bfd(0x1cb)]('\x5c')['join'](path[_0x476bfd(0x1fa)]))),__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')[_0x476bfd(0x1cc)](_0x241809,_0x2a3874=>{const _0x11ef85=_0x476bfd;if(_0x2a3874){_0xfff343(_0x2a3874);return;}_0x1fc853['logger'][_0x11ef85(0x23a)](_0x11ef85(0x1e0),_0x241809),_0x1fc853[_0x11ef85(0x249)][_0x241809['id']]=_0x241809,_0x241809[_0x11ef85(0x1c1)]===_0x11ef85(0x187)?__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')[_0x11ef85(0x1b4)](_0x241809,(_0x3aeb76,_0x46fa80)=>{const _0x26fc58=_0x11ef85,_0x261b23=_0x46fa80[_0x26fc58(0x15d)](_0xac4a85=>__classPrivateFieldGet(_0x1fc853,_Debuglet_instances,'m',_Debuglet_stringify)[_0x26fc58(0x26b)](_0x1fc853,_0xac4a85)),_0x16de13=(0x0,format_1['format'])(_0x3aeb76,_0x261b23),_0x1eb9fe=_0x26fc58(0x1f1)+(__classPrivateFieldGet(_0x1fc853,_Debuglet_redactionManager,'f')?.[_0x26fc58(0x158)](_0x16de13)||_0x16de13),_0x5ab797=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x26fc58(0x1c9)](_0x1eb9fe,_0x241809['id']);if(_0x5ab797){const _0x510efd=_0x5ab797[_0x26fc58(0x26e)],_0x236641=_0x5ab797[_0x26fc58(0x259)];let _0xc6f7d2,_0x4bd86a;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x26fc58(0x268)]()&&!_0x236641&&(_0xc6f7d2=_0x26fc58(0x1f1)+_0x3aeb76,_0x4bd86a=_0x261b23);_0x1fc853[_0x26fc58(0x22d)][_0x26fc58(0x168)](_0x1fc853[_0x26fc58(0x1c2)],_0x241809['id'],_0x510efd,_0x241809[_0x26fc58(0x1f8)],_0xc6f7d2,_0x4bd86a);if(_0x236641)__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')?.[_0x26fc58(0x24e)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(_0x1fc853,_Debuglet_nextEnableTimeout,null,'f');},_0x1fc853[_0x26fc58(0x241)][_0x26fc58(0x19c)]['quotaRecoverySeconds']*0x3e8),'f');else _0x510efd?.['length']===0x0&&__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')?.[_0x26fc58(0x24e)]();}},()=>{return __classPrivateFieldGet(_0x1fc853,_Debuglet_completedBreakpointMap,'f')[_0x241809['id']];},_0x419ad2=>{const _0x2821b9=_0x11ef85;if(_0x419ad2){_0x1fc853[_0x2821b9(0x19d)]['error'](_0x419ad2),_0xfff343(_0x419ad2);return;}}):__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')[_0x11ef85(0x25b)](_0x241809,_0x5dc069=>{const _0x5bd857=_0x11ef85;if(_0x5dc069){setImmediate(()=>{const _0x391711=a18_0x4341;_0x1fc853[_0x391711(0x19d)][_0x391711(0x196)](_0x5dc069),_0xfff343(_0x5dc069);});return;}_0x1fc853[_0x5bd857(0x19d)][_0x5bd857(0x23a)](_0x5bd857(0x170),_0x241809),__classPrivateFieldGet(_0x1fc853,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x5bd857(0x26b)](_0x1fc853,_0x241809,__classPrivateFieldGet(_0x1fc853,_Debuglet_v8debug,'f')['remainingHits'](_0x241809['id'])<=0x0);}),__classPrivateFieldGet(_0x1fc853,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x11ef85(0x26b)](_0x1fc853,_0x241809);}),this['emit']('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x269736,_0x67ce7c,_0x113e8c=!![]){const _0x3e0ed3=a18_0x1f82d8,_0x456293=this;if(_0x269736[_0x3e0ed3(0x238)]&&_0x269736[_0x3e0ed3(0x238)][_0x3e0ed3(0x1ab)]){let _0x4705f4=_0x269736[_0x3e0ed3(0x238)]?.['description']?.[_0x3e0ed3(0x15f)]||'';_0x269736[_0x3e0ed3(0x238)]?.['description']?.[_0x3e0ed3(0x201)]&&(_0x4705f4+=':\x20'+_0x269736[_0x3e0ed3(0x238)]?.['description']?.[_0x3e0ed3(0x201)][_0x3e0ed3(0x1b6)]()),_0x456293[_0x3e0ed3(0x19d)][_0x3e0ed3(0x1ba)](_0x3e0ed3(0x159)+_0x269736+_0x3e0ed3(0x23b)+_0x4705f4);}else _0x456293['logger'][_0x3e0ed3(0x23a)](_0x3e0ed3(0x230),_0x269736);_0x67ce7c&&(__classPrivateFieldGet(_0x456293,_Debuglet_completedBreakpointMap,'f')[_0x269736['id']]=!![],__classPrivateFieldGet(_0x456293,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3e0ed3(0x26b)](_0x456293,_0x269736,_0x113e8c)),__classPrivateFieldGet(_0x456293,_Debuglet_controller,'f')[_0x3e0ed3(0x256)](_0x456293['debuggee'],extend(!![],{},_0x269736));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x9fac4){const _0x180061=a18_0x1f82d8,_0x27c5b5=this;_0x27c5b5[_0x180061(0x19d)]['debug'](_0x180061(0x1bf)+_0x9fac4+_0x180061(0x250));const _0x3c50fa=extend(!![],{},_0x9fac4);_0x3c50fa[_0x180061(0x210)]=![],_0x3c50fa[_0x180061(0x238)]=new status_message_1[(_0x180061(0x18a))](status_message_1['StatusMessage'][_0x180061(0x22a)],undefined,![],!![]),__classPrivateFieldGet(_0x27c5b5,_Debuglet_controller,'f')[_0x180061(0x256)](_0x27c5b5[_0x180061(0x1c2)],_0x3c50fa);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4ce451){const _0x16f8bc=a18_0x1f82d8,_0x1b03c6=this;this[_0x16f8bc(0x19d)][_0x16f8bc(0x23a)]('rejecting\x20breakpoint',_0x4ce451),__classPrivateFieldGet(_0x1b03c6,_Debuglet_completedBreakpointMap,'f')[_0x4ce451['id']]=!![],__classPrivateFieldGet(_0x1b03c6,_Debuglet_controller,'f')[_0x16f8bc(0x256)](_0x1b03c6[_0x16f8bc(0x1c2)],_0x4ce451);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x47ebc6){const _0x570439=a18_0x1f82d8,_0x51d4ac=this;_0x47ebc6[_0x570439(0x1c5)](_0x15db91=>{const _0x7c1cb2=_0x570439;_0x51d4ac[_0x7c1cb2(0x19d)][_0x7c1cb2(0x23a)](_0x7c1cb2(0x1ee),_0x15db91),__classPrivateFieldGet(_0x51d4ac,_Debuglet_completedBreakpointMap,'f')[_0x15db91['id']]=!![],__classPrivateFieldGet(_0x51d4ac,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x7c1cb2(0x26b)](_0x51d4ac,_0x15db91,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x5835a7=a18_0x1f82d8,_0x487895=Date[_0x5835a7(0x254)]()/0x3e8;return Object[_0x5835a7(0x15c)](this[_0x5835a7(0x249)])[_0x5835a7(0x21e)](_0x11fac2=>_0x11fac2[_0x5835a7(0x206)]?_0x11fac2['expirationTime']<_0x487895:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xc00dfb){const _0xd1dd9a=a18_0x1f82d8,_0x5a3581=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0xc00dfb),_0xdc2cd2=_0x5a3581['blacklist'],_0x120f53=_0x5a3581[_0xd1dd9a(0x22c)];_0xdc2cd2&&_0xdc2cd2['length']&&this[_0xd1dd9a(0x19d)][_0xd1dd9a(0x1c0)](_0xd1dd9a(0x223),_0xdc2cd2['join']('\x0a\x09')),_0x120f53&&_0x120f53[_0xd1dd9a(0x258)]&&this['logger']['debug'](_0xd1dd9a(0x1d3),_0x120f53['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0xd1dd9a(0x25f))](_0xdc2cd2,_0x120f53,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x15f03a){const _0x1e385d=a18_0x1f82d8,_0x236b9e=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1e385d(0x1d0)](_0x15f03a);_0x236b9e?.[_0x1e385d(0x258)]&&this[_0x1e385d(0x19d)][_0x1e385d(0x1c0)](_0x1e385d(0x204),_0x236b9e[_0x1e385d(0x15d)](_0x356aa7=>_0x1e385d(0x1ed)+_0x356aa7[_0x1e385d(0x1a4)]+_0x1e385d(0x220)+_0x356aa7['type']+_0x1e385d(0x1f9)+_0x356aa7[_0x1e385d(0x22f)]+_0x1e385d(0x216)+_0x356aa7[_0x1e385d(0x235)])['join']('\x0a\x09'));if((0x0,utils_1[_0x1e385d(0x1bd)])(process[_0x1e385d(0x209)],_0x1e385d(0x1dd))){const {RedactionManagerRE2JS:_0x37cbc0}=await Promise['resolve']()[_0x1e385d(0x219)](()=>require(_0x1e385d(0x1e5)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x37cbc0(this[_0x1e385d(0x19d)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1e385d(0x1f7)](_0x236b9e);}},_Debuglet_stringify=function _Debuglet_stringify(_0xb680f4){const _0x48fed3=a18_0x1f82d8;if(!_0xb680f4)return JSON['stringify'](_0xb680f4,(_0x5b5d54,_0x1665a8)=>_0x1665a8===undefined?_0x48fed3(0x260):_0x1665a8);if(Array[_0x48fed3(0x18f)](_0xb680f4)){const _0x2f107b=[];for(const _0x2256e8 of _0xb680f4){_0x2f107b[_0x48fed3(0x269)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x48fed3(0x26b)](this,_0x2256e8));}return'['+_0x2f107b['join'](',\x20')+']';}if(typeof _0xb680f4==='object'){const _0x1ada66=Object[_0x48fed3(0x25d)](_0xb680f4)['map'](([_0xd29c39,_0x1a2233])=>{const _0x20e4f9=_0x48fed3,_0x4e48a3=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x20e4f9(0x188)](_0xd29c39)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x20e4f9(0x26b)](this,_0x1a2233);return JSON['stringify'](_0xd29c39)+':\x20'+_0x4e48a3;})[_0x48fed3(0x15e)](',\x20');return'{'+_0x1ada66+'}';}return JSON[_0x48fed3(0x1a3)](_0xb680f4);});
|
|
1
|
+
const a18_0x2907dc=a18_0x5e17;(function(_0x162fc,_0x149705){const _0xf0fa83=a18_0x5e17,_0x5f37fa=_0x162fc();while(!![]){try{const _0x4cae37=parseInt(_0xf0fa83(0x20c))/0x1+parseInt(_0xf0fa83(0x11f))/0x2*(parseInt(_0xf0fa83(0x196))/0x3)+parseInt(_0xf0fa83(0x1cf))/0x4*(parseInt(_0xf0fa83(0x1ab))/0x5)+parseInt(_0xf0fa83(0x198))/0x6*(parseInt(_0xf0fa83(0x108))/0x7)+-parseInt(_0xf0fa83(0x18b))/0x8*(parseInt(_0xf0fa83(0x12a))/0x9)+parseInt(_0xf0fa83(0xfd))/0xa*(-parseInt(_0xf0fa83(0x149))/0xb)+-parseInt(_0xf0fa83(0x1c7))/0xc*(parseInt(_0xf0fa83(0x176))/0xd);if(_0x4cae37===_0x149705)break;else _0x5f37fa['push'](_0x5f37fa['shift']());}catch(_0x6b5709){_0x5f37fa['push'](_0x5f37fa['shift']());}}}(a18_0xa3c4,0x59216));const a18_0x4feab9=(function(){let _0x1a381d=!![];return function(_0x506cd5,_0x11507e){const _0x3cdeba=_0x1a381d?function(){const _0x4daa0a=a18_0x5e17;if(_0x11507e){const _0x1a74b1=_0x11507e[_0x4daa0a(0x181)](_0x506cd5,arguments);return _0x11507e=null,_0x1a74b1;}}:function(){};return _0x1a381d=![],_0x3cdeba;};}()),a18_0x562f62=a18_0x4feab9(this,function(){const _0x55753f=a18_0x5e17;return a18_0x562f62[_0x55753f(0x11d)]()[_0x55753f(0x1e4)]('(((.+)+)+)+$')[_0x55753f(0x11d)]()[_0x55753f(0x1b5)](a18_0x562f62)['search'](_0x55753f(0x185));});function a18_0xa3c4(){const _0x11b401=['pipingManager','mapFiles','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','started','../types/stackdriver','get','./io/sourcemapper','getBlocklist','set','stdErrThreshold','warn','listBreakpoints','enqueueBreakpointUpdate','./quota-manager','clear','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','allowRootAsWorkingDirectory','wait','normalizeConfig','11JhuPla','REDACTED_PLACEHOLDER','logLevel','selectFiles','mapSubtract','breakpoints_fetch_failed','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakopints.\x20status:\x20','push','breakpoints_fetch_registration_required','packageInfo','Controller','isReadyManager','./piping-manager','createTime','registration_failed','\x09adding\x20breakpoint','message','shouldRedactByName','.\x20Retrying\x20in\x20','quotaRecoverySeconds','breakpoint_set','Failed\x20to\x20register\x20debuggee:\x20','parse','waitExpired','createDebuggee','expressions','add','LOGPOINT:\x20','\x20because\x20','activeBreakpointMap','value','./v8/debugapi','description','):\x20pattern:\x20','Server\x20breakpoints:\x0a','sourceMapDiagnostics','FileIndex','stringify','./configuration-provider','filter','agentLogTargetDir','Error\x20processing\x20the\x20sourcemaps.','resolve','now','unref','6492499lCmuHL','error','globalPipingStatus','isReady','agentLogLevel','SIGTERM','fetcherActive','condition','Blacklist:\x20\x0a\x09','agentLog','promiseResolve','apply','quotaCheck','CachedPromise','.\x20message:\x20','(((.+)+)+)+$','ignoreQuota','length','./debuglet-helpers/format','config','maxRequestRetryDelaySeconds','120PCfrYF','reporting\x20breakpoint\x20','format','setLevel','>=12','blacklist','removeListener','Active\x20Breakpoints:\x20\x0a','Private\x20method\x20is\x20not\x20writable','forEach','promise','48kZMWws','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','6STAhVi','object','collectAndSendLog','map','logMainConfigParams','location','emit','Debuglet\x20not\x20running','info','setPatterns','\x09Got\x20error\x20from\x20server.\x20status:\x20','logger','remainingHits','undefined','NODE_VERSION_MESSAGE','defineProperty','setCustomLogLevel','disable','./io/file-index','3240110dWcLWQ','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','ALLOW_EXPRESSIONS_MESSAGE','Error\x20scanning\x20the\x20filesystem.','5.2\x20||\x20<4','collectLogRequestId','Stopping\x20Debuglet','\x20(type:\x20','NOT_SET','initError','constructor','scan','mainModule','EventEmitter','LOG','extend','findFiles','pipingStatus','log','concat','debuggee','Debuglet','isRunning','\x09successfully\x20added\x20breakpoint','./io/scanner','scheduleBreakpointFetch_\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','start','36FYgzPu','remotelyDisabled','debuglet','breakpoints_fetched','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','replaceRedactedByValue','./agent-logger','blacklist_exception','4gqVvyh','\x20accepted\x20by\x20agent','UNSPECIFIED','debug','redactionEnabled','Debuggee\x20is\x20not\x20registered','workingDirectory','function','hash','status','Registered\x20as\x20debuggee:\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','Blacklist\x20Exceptions:\x20\x0a\x09','setPipingStatus','getClientConnectionTimeoutInSeconds','sendAgentLogsToServer','./debuglet-helpers/normalizeConfig','waitForTransmissionQueueDrain','values','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','util','search','createLogger','create','Registering\x20debuggee','agentLogMaxFileSizeMb','Redactions:\x20\x0a\x09','../client/stackdriver/status-message','then','Scheduling\x20registration\x20in\x20','source-context.json','\x09Notifying\x20server\x20about\x20error\x20for\x20','\x0a\x09expressions:\x20','./util/utils','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','parameters','pid','__classPrivateFieldGet','backoff','APP_ONLY','getInitialLevel','removeBreakpoint','version','GAE_MINOR_VERSION','Switching\x20globalPiping\x20status\x20from\x20','__esModule','\x0a\x09createdTime:\x20','Unique\x20ID\x20for\x20this\x20Application:\x20','Malformed\x20source-context.json\x20file:\x20','Unknown\x20agentLogLevel\x20','isLambda','./reduction/redaction-manager-re2js','entries','has','beforeExit','jsFileIndex','prettyError','fetchBreakpointsOnce','join','isRegistered','getSourceContextFromFile','447061RbRGPp','internal','path','Found\x20breakpoint\x20with\x20invalid\x20action:','enable','register','cwd','2100820BOwMlg','pipeLogs','isError','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','getLevel','registered','stop','fromFileStats','call','expirationTime','filename','1798881mPOcpM','env','StatusMessage','BREAKPOINT_ACTION_MESSAGE','CAPTURE','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','readFile','\x20completed.','./reduction/redaction-manager','selectStats','Breakpoint','DEBUG','kill','./blocklisting/patterns-blocklist-manager','normalize','PipingManager','assert','setBlocklistManager','satisfies','deregister','seconds','toString','breakpoints','91166QHVXSi','Starting\x20debuggee','./controller','removePerBreakpointQuota','errors','name','Result:\x20\x0a','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','createPerBreakpointConditionQuota','./debuglet-helpers/mapSubtract','isArray','4779FyZgHI','events','agentLogMaxFileCount','bind','posix','clientConnectionTimeoutInSeconds','\x09Long\x20poll\x20completed.','caseInsensitive','Disabled\x20by\x20the\x20server','action','javascriptFileExtensions','once'];a18_0xa3c4=function(){return _0x11b401;};return a18_0xa3c4();}a18_0x562f62();function a18_0x5e17(_0x1f3363,_0x6cc59e){const _0x3da126=a18_0xa3c4();return a18_0x5e17=function(_0x562f62,_0x4feab9){_0x562f62=_0x562f62-0xfc;let _0xa3c4b=_0x3da126[_0x562f62];return _0xa3c4b;},a18_0x5e17(_0x1f3363,_0x6cc59e);}'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x5232b1,_0x3600f2,_0x2c6514,_0x1f828c,_0x320294){const _0x164cf3=a18_0x5e17;if(_0x1f828c==='m')throw new TypeError(_0x164cf3(0x193));if(_0x1f828c==='a'&&!_0x320294)throw new TypeError(_0x164cf3(0x10d));if(typeof _0x3600f2===_0x164cf3(0x1d6)?_0x5232b1!==_0x3600f2||!_0x320294:!_0x3600f2[_0x164cf3(0x204)](_0x5232b1))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x1f828c==='a'?_0x320294[_0x164cf3(0x105)](_0x5232b1,_0x2c6514):_0x320294?_0x320294[_0x164cf3(0x167)]=_0x2c6514:_0x3600f2[_0x164cf3(0x13e)](_0x5232b1,_0x2c6514),_0x2c6514;},__classPrivateFieldGet=this&&this[a18_0x2907dc(0x1f4)]||function(_0x33b608,_0x32ccfd,_0x1a2f45,_0x34ef3e){const _0x4e28ff=a18_0x2907dc;if(_0x1a2f45==='a'&&!_0x34ef3e)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x32ccfd===_0x4e28ff(0x1d6)?_0x33b608!==_0x32ccfd||!_0x34ef3e:!_0x32ccfd[_0x4e28ff(0x204)](_0x33b608))throw new TypeError(_0x4e28ff(0x197));return _0x1a2f45==='m'?_0x34ef3e:_0x1a2f45==='a'?_0x34ef3e[_0x4e28ff(0x105)](_0x33b608):_0x34ef3e?_0x34ef3e[_0x4e28ff(0x167)]:_0x32ccfd[_0x4e28ff(0x13b)](_0x33b608);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x2907dc(0x1a7)](exports,a18_0x2907dc(0x1fc),{'value':!![]}),exports['Debuglet']=exports[a18_0x2907dc(0x183)]=void 0x0;const assert=require(a18_0x2907dc(0x118)),events_1=require(a18_0x2907dc(0x12b)),extend=require(a18_0x2907dc(0x1ba)),fs=require('fs'),path=require(a18_0x2907dc(0x20e)),util=require(a18_0x2907dc(0x1e3)),status_message_1=require(a18_0x2907dc(0x1ea)),stackdriver_1=require(a18_0x2907dc(0x13a)),agent_logger_1=require(a18_0x2907dc(0x1cd)),patterns_blocklist_manager_1=require(a18_0x2907dc(0x115)),config_1=require('./config'),configuration_provider_1=require(a18_0x2907dc(0x16f)),controller_1=require(a18_0x2907dc(0x121)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x2907dc(0x188)),mapSubtract_1=require(a18_0x2907dc(0x128)),normalizeConfig_1=require(a18_0x2907dc(0x1df)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x2907dc(0x1aa)),scanner_1=require(a18_0x2907dc(0x1c3)),SourceMapper=require(a18_0x2907dc(0x13c)),piping_manager_1=require(a18_0x2907dc(0x155)),quota_manager_1=require(a18_0x2907dc(0x143)),redaction_manager_1=require(a18_0x2907dc(0x110)),utils_1=require(a18_0x2907dc(0x1f0)),debugapi=require(a18_0x2907dc(0x168)),readFilep=util['promisify'](fs[a18_0x2907dc(0x10e)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x2b8722,_0x4f2815)=>{const _0x174103=a18_0x2907dc;let _0x155e3b=_0x2b8722+util[_0x174103(0x18d)](_0x174103(0x1ac),_0x4f2815['id'],_0x4f2815[_0x174103(0x133)],util['inspect'](_0x4f2815[_0x174103(0x19d)]));if(_0x4f2815['createTime']){const _0x531481=Number(_0x4f2815['createTime'][_0x174103(0x11c)]),_0x40e3d1=new Date(_0x531481*0x3e8);_0x155e3b+=_0x174103(0x1fd)+_0x40e3d1[_0x174103(0x11d)]();}return _0x4f2815[_0x174103(0x17d)]&&(_0x155e3b+='\x0a\x09condition:\x20'+util['inspect'](_0x4f2815['condition'])),_0x4f2815[_0x174103(0x162)]&&(_0x155e3b+=_0x174103(0x1ef)+util['inspect'](_0x4f2815[_0x174103(0x162)])),_0x155e3b;},formatBreakpoints=(_0x4a6a17,_0x25ddde)=>{const _0x11b186=a18_0x2907dc;return _0x4a6a17+Object['keys'](_0x25ddde)[_0x11b186(0x19b)](_0x4e93f1=>{return formatBreakpoint('',_0x25ddde[_0x4e93f1]);})[_0x11b186(0x209)]('\x0a');};class CachedPromise{constructor(){const _0x3e1d5d=a18_0x2907dc;this[_0x3e1d5d(0x180)]=null,this[_0x3e1d5d(0x195)]=new Promise(_0x1091d5=>{this['promiseResolve']=_0x1091d5;});}[a18_0x2907dc(0x13b)](){const _0x119187=a18_0x2907dc;return this[_0x119187(0x195)];}[a18_0x2907dc(0x173)](){const _0xf963af=a18_0x2907dc;this[_0xf963af(0x180)]&&(this[_0xf963af(0x180)](),this['promiseResolve']=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0xe77597){const _0x23e040=a18_0x2907dc;this[_0x23e040(0x1c9)]=_0xe77597;}[a18_0x2907dc(0x179)](){const _0x5a571b=a18_0x2907dc;return this[_0x5a571b(0x1c9)][_0x5a571b(0x179)]();}}class Debuglet extends events_1[a18_0x2907dc(0x1b8)]{constructor(_0x4a28ae,_0x4f34e7){const _0x5bc10d=a18_0x2907dc;super(),_Debuglet_instances[_0x5bc10d(0x163)](this),_Debuglet_debug[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_v8debug[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_running[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_controller[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_breakpointFetched[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x5bc10d(0x13e)](this,null),this[_0x5bc10d(0x154)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_scanner[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_quotaManager[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_blocklistManager[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x5bc10d(0x13e)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x5bc10d(0x13e)](this,void 0x0),this[_0x5bc10d(0x189)]=(0x0,normalizeConfig_1[_0x5bc10d(0x148)])(_0x4f34e7),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x5bc10d(0x189)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x4a28ae,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5bc10d(0x17c)]=![],this[_0x5bc10d(0x1a3)]=agent_logger_1['default'][_0x5bc10d(0x1e5)](this['config'][_0x5bc10d(0x17f)][_0x5bc10d(0x171)],this[_0x5bc10d(0x189)][_0x5bc10d(0x17f)][_0x5bc10d(0x1e8)],this['config'][_0x5bc10d(0x17f)][_0x5bc10d(0x12c)],this[_0x5bc10d(0x189)][_0x5bc10d(0x17f)][_0x5bc10d(0x17a)],this['config'][_0x5bc10d(0x17f)][_0x5bc10d(0x13f)]),(0x0,config_1[_0x5bc10d(0x19c)])(this[_0x5bc10d(0x189)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x5bc10d(0x1a3)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x5bc10d(0x153))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5bc10d(0x189)],this[_0x5bc10d(0x1a3)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this['logger']),'f'),this['debuggee']=null,this[_0x5bc10d(0x166)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1['QuotaManager'](this['logger'],this[_0x5bc10d(0x189)]),'f'),this[_0x5bc10d(0x136)]=new piping_manager_1[(_0x5bc10d(0x117))](_0x5bc10d(0x1f6),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x5bc10d(0x189)]);}async['waitForTransmissionQueueDrain'](_0x5e76d9){const _0x97bbe3=a18_0x2907dc;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x97bbe3(0x1e0)](_0x5e76d9);}[a18_0x2907dc(0x1dd)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0x2636b3){const _0x20ad06=a18_0x2907dc,_0x96c18c=0x32;let _0x5dbc7c=null;const _0xe6cd7c=()=>_0x5dbc7c=!![],_0x31647d=()=>_0x5dbc7c=![],_0xf107ba=_0x24e471=>{if(_0x24e471)return;_0xe6cd7c();};let _0x3ba0a3=![];const _0x191b4a=_0x4c2b20=>{_0x3ba0a3&&_0x31647d(),_0x3ba0a3=!![],this['register']();};this[_0x20ad06(0x135)]('breakpoints_fetched',_0xf107ba),this[_0x20ad06(0x135)](_0x20ad06(0x15d),_0xe6cd7c);this[_0x20ad06(0x189)][_0x20ad06(0x20d)]?.[_0x20ad06(0x201)]&&(this[_0x20ad06(0x135)](_0x20ad06(0x157),_0x31647d),this[_0x20ad06(0x135)](_0x20ad06(0x14e),_0x31647d),this[_0x20ad06(0x135)]('breakpoints_fetch_registration_required',_0x191b4a));if(_0x2636b3){const _0x435fa9=Date[_0x20ad06(0x174)]();while(_0x5dbc7c===null&&Date[_0x20ad06(0x174)]()-_0x435fa9<_0x2636b3){await new Promise(_0x203e9c=>setTimeout(_0x203e9c,_0x96c18c));}}return this['removeListener'](_0x20ad06(0x1ca),_0xf107ba),this[_0x20ad06(0x191)](_0x20ad06(0x15d),_0xe6cd7c),this['config'][_0x20ad06(0x20d)]?.[_0x20ad06(0x201)]&&(this['removeListener']('registration_failed',_0x31647d),this[_0x20ad06(0x191)]('breakpoints_fetch_failed',_0x31647d),this[_0x20ad06(0x191)](_0x20ad06(0x151),_0x191b4a)),_0x5dbc7c===!![];}[a18_0x2907dc(0x208)](){const _0x33dfb3=a18_0x2907dc;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x33dfb3(0x105)](this,0x0,!![]);}[a18_0x2907dc(0x20a)](){const _0x2e38a1=a18_0x2907dc;return this[_0x2e38a1(0x1bf)]?.['id']!==undefined;}async[a18_0x2907dc(0x1bb)](_0x1a427c,_0x2f771b){const _0x218b93=a18_0x2907dc,_0x86e05d=_0x1a427c[_0x218b93(0x1d5)],_0x42b7a2=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x218b93(0x1b6)](_0x86e05d,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x218b93(0x105)](_a,_0x1a427c['javascriptFileExtensions'][_0x218b93(0x1be)]('js.map')),_0x2f771b,_0x1a427c['extraPaths']),_0x57c381=_0x42b7a2[_0x218b93(0x111)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x218b93(0x105)](_a,_0x1a427c[_0x218b93(0x134)])),_0x543e86=file_index_1[_0x218b93(0x16d)][_0x218b93(0x104)](_0x57c381),_0x2b7e86=_0x42b7a2[_0x218b93(0x14c)](/.js.map$/,process[_0x218b93(0xfc)]()),_0x1e4b8c=_0x42b7a2['errors']();return{'mapFiles':_0x2b7e86,'errors':_0x1e4b8c,'jsFileIndex':_0x543e86,'hash':_0x42b7a2[_0x218b93(0x1d7)]};}async[a18_0x2907dc(0x1c6)](){const _0x442d8a=a18_0x2907dc,_0x20ed2f=this,_0x495307=_0x20ed2f[_0x442d8a(0x189)][_0x442d8a(0x1d5)];if(!_0x20ed2f[_0x442d8a(0x189)][_0x442d8a(0x146)]&&path[_0x442d8a(0x209)](_0x495307,'..')===_0x495307){const _0x16c302=_0x442d8a(0x145)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+'do\x20this.';_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x177)](_0x16c302),_0x20ed2f[_0x442d8a(0x19e)](_0x442d8a(0x1b4),new Error(_0x16c302));return;}let _0x3be378;process[_0x442d8a(0x109)][_0x442d8a(0x1fa)]&&(_0x3be378='GAE-'+process['env']['GAE_MINOR_VERSION']);let _0x1735d8,_0xa8d8c7=_0x3be378||'';try{_0x1735d8=await this[_0x442d8a(0x1bb)](_0x20ed2f[_0x442d8a(0x189)],_0x3be378),_0x1735d8[_0x442d8a(0x123)][_0x442d8a(0x194)](_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x140)]);}catch(_0x415801){_0x20ed2f['logger'][_0x442d8a(0x177)](_0x442d8a(0x1ae),_0x415801),_0x20ed2f[_0x442d8a(0x19e)]('initError',_0x415801);return;}try{const _0x2b15b7=await SourceMapper[_0x442d8a(0x1e6)](_0x20ed2f['logger'],_0x1735d8[_0x442d8a(0x137)],_0x20ed2f[_0x442d8a(0x189)][_0x442d8a(0x20d)]?.[_0x442d8a(0x16c)]);__classPrivateFieldSet(_0x20ed2f,_Debuglet_v8debug,debugapi[_0x442d8a(0x1e6)](_0x20ed2f[_0x442d8a(0x1a3)],_0x20ed2f['config'],_0x1735d8[_0x442d8a(0x206)],_0x2b15b7,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xa8d8c7=_0x3be378||_0x1735d8[_0x442d8a(0x1d7)];}catch(_0x1c956c){_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x177)](_0x442d8a(0x172),_0x1c956c),_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x1a0)](JSON[_0x442d8a(0x16e)](_0x1c956c)),_0x20ed2f[_0x442d8a(0x19e)](_0x442d8a(0x1b4),_0x1c956c);}_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x1a0)](_0x442d8a(0x1fe)+_0xa8d8c7);const _0x528e52=(0x0,utils_1['readFullVersion'])(_0x20ed2f[_0x442d8a(0x1a3)])['replace']('\x0a','');_0x20ed2f[_0x442d8a(0x1a3)]['info']('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x528e52);let _0x5e6b71;try{_0x5e6b71=_0x20ed2f['config']['sourceContext']||await _a[_0x442d8a(0x20b)]();}catch(_0x4ad92e){}_0x20ed2f[_0x442d8a(0x1a3)]['info'](_0x442d8a(0x1cb)+process[_0x442d8a(0x1b7)]?.[_0x442d8a(0x107)]),_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x1d2)]('Working\x20directory:\x20'+_0x495307),_0x20ed2f[_0x442d8a(0x1a3)][_0x442d8a(0x1d2)](_0x442d8a(0x120)),__classPrivateFieldSet(_0x20ed2f,_Debuglet_running,!![],'f'),_0x20ed2f[_0x442d8a(0x1bf)]=(0x0,createDebuggee_1[_0x442d8a(0x161)])(_0xa8d8c7,_0x20ed2f[_0x442d8a(0x189)],_0x5e6b71,__classPrivateFieldGet(_0x20ed2f,_Debuglet_debug,'f')[_0x442d8a(0x152)],_0x528e52,_0x20ed2f[_0x442d8a(0x1a3)],__classPrivateFieldGet(_0x20ed2f,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x20ed2f,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x442d8a(0x105)](_0x20ed2f),_0x20ed2f['register'](),_0x20ed2f[_0x442d8a(0x19e)](_0x442d8a(0x139));}[a18_0x2907dc(0x179)](){const _0x54ae82=a18_0x2907dc;if(Date[_0x54ae82(0x174)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x54ae82(0x173)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x54ae82(0x13b)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x54ae82(0x13b)]()[_0x54ae82(0x1eb)](()=>{const _0x442e83=_0x54ae82;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x442e83(0x105)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a18_0x2907dc(0x20b)](){const _0x503af1=a18_0x2907dc,_0x55f4a9=await readFilep(_0x503af1(0x1ed),'utf8');try{return JSON[_0x503af1(0x15f)](_0x55f4a9);}catch(_0x5a1160){throw new Error(_0x503af1(0x1ff)+_0x5a1160);}}[a18_0x2907dc(0x211)](){const _0x5bfe35=a18_0x2907dc;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5bfe35(0x105)](this,0x0);}[a18_0x2907dc(0x1c1)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x2907dc(0x103)](){const _0x3eb79a=a18_0x2907dc;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x3eb79a(0x1a3)][_0x3eb79a(0x1d2)](_0x3eb79a(0x1c5));return;}this['logger'][_0x3eb79a(0x1d2)](_0x3eb79a(0x1b1)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x3eb79a(0x103)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3eb79a(0x19e)]('stopped');}['setCustomLogLevel'](_0x3df898){const _0x9e04c2=a18_0x2907dc,_0x40193f=this[_0x9e04c2(0x1a3)][_0x9e04c2(0x1f7)]();if(_0x40193f===_0x9e04c2(0x1d2))return;switch(_0x3df898){case _0x9e04c2(0x113):this[_0x9e04c2(0x1a3)][_0x9e04c2(0x101)]()!==_0x9e04c2(0x1d2)&&(this[_0x9e04c2(0x1a3)][_0x9e04c2(0x18e)](_0x9e04c2(0x1d2)),this[_0x9e04c2(0x1a3)][_0x9e04c2(0x1d2)](_0x9e04c2(0x1e2)));break;case _0x9e04c2(0x1b3):case undefined:this['logger'][_0x9e04c2(0x101)]()===_0x9e04c2(0x1d2)&&(this['logger'][_0x9e04c2(0x18e)](_0x40193f),this[_0x9e04c2(0x1a3)][_0x9e04c2(0x1a0)](_0x9e04c2(0x100)+_0x40193f+')'));break;default:this[_0x9e04c2(0x1a3)][_0x9e04c2(0x140)](_0x9e04c2(0x200)+_0x3df898);}}}exports[a18_0x2907dc(0x1c0)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x1affc0){const _0x1d108a=a18_0x2907dc;return new RegExp(_0x1affc0[_0x1d108a(0x19b)](_0x37661f=>_0x37661f+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x175477=a18_0x2907dc,_0x12ebee=[_0x175477(0x17b),'SIGINT','SIGQUIT'];_0x12ebee['forEach'](_0x2ff8da=>{process['once'](_0x2ff8da,()=>{const _0x523cf2=a18_0x5e17;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x523cf2(0x1bf)],()=>{const _0x9677bb=_0x523cf2;process[_0x9677bb(0x114)](process[_0x9677bb(0x1f3)],_0x2ff8da);});});}),process[_0x175477(0x135)](_0x175477(0x205),()=>{const _0x33dedf=_0x175477;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x33dedf(0x11b)](this['debuggee'],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xa8ddaf){const _0x3edee3=a18_0x2907dc,_0x50767a=this;_0x50767a[_0x3edee3(0x1a3)][_0x3edee3(0x1d2)](_0xa8ddaf?_0x3edee3(0x1ec)+_0xa8ddaf+'s':_0x3edee3(0x1e7));function _0x137605(_0x2eea85,_0x542b6f,_0x29307d=![]){const _0x2c426c=_0x3edee3;_0x50767a[_0x2c426c(0x19e)](_0x2c426c(0x157));const _0x384264=_0x50767a[_0x2c426c(0x1bf)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x50767a[_0x2c426c(0x1bf)]?.['id']+':\x20'+(0x0,utils_1[_0x2c426c(0x207)])(_0x2eea85):_0x2c426c(0x15e)+(0x0,utils_1['prettyError'])(_0x2eea85);_0x50767a[_0x2c426c(0x1a3)][_0x2c426c(0x177)](_0x384264),_0x542b6f&&!_0x29307d&&_0x50767a[_0x2c426c(0x1a3)][_0x2c426c(0x177)](_0x2c426c(0x125),_0x542b6f),!_0x50767a[_0x2c426c(0x189)][_0x2c426c(0x20d)]?.[_0x2c426c(0x201)]&&__classPrivateFieldGet(_0x50767a,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x2c426c(0x105)](_0x50767a,(0x0,utils_1[_0x2c426c(0x1f5)])(_0xa8ddaf,_0x50767a['config']['internal'][_0x2c426c(0x18a)]));}setTimeout(()=>{const _0x1bf4c9=_0x3edee3;if(!__classPrivateFieldGet(_0x50767a,_Debuglet_running,'f')){_0x137605(new Error(_0x1bf4c9(0x19f)));return;}__classPrivateFieldGet(_0x50767a,_Debuglet_controller,'f')['register'](_0x50767a[_0x1bf4c9(0x1bf)],(_0x37e09c,_0x5ce647,_0x2cfb08=![])=>{const _0x726891=_0x1bf4c9;if(_0x37e09c){_0x137605(_0x37e09c,_0x5ce647,_0x2cfb08);return;}if(_0x5ce647[_0x726891(0x1bf)]['isDisabled']){_0x137605(new Error(_0x726891(0x132))),_0x50767a[_0x726891(0x19e)](_0x726891(0x1c8));return;}const _0x4b4660=_0x5ce647[_0x726891(0x1bf)]['id'];_0x50767a[_0x726891(0x1a3)]['info'](_0x726891(0x1d9)+_0x4b4660),_0x50767a[_0x726891(0x1bf)]['id']=_0x4b4660;const _0x264d6b=[__classPrivateFieldGet(_0x50767a,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x726891(0x12d)](_0x50767a)(_0x50767a[_0x726891(0x1bf)]['id'])];_0x50767a['config'][_0x726891(0x1d3)]&&_0x264d6b[_0x726891(0x150)](__classPrivateFieldGet(_0x50767a,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x726891(0x12d)](_0x50767a)(_0x50767a[_0x726891(0x1bf)]['id'])),Promise['all'](_0x264d6b)['then'](()=>{const _0x36ecf2=_0x726891;_0x50767a['emit'](_0x36ecf2(0x102),_0x4b4660),__classPrivateFieldGet(_0x50767a,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x50767a,_Debuglet_v8debug,'f')?.[_0x36ecf2(0x119)](__classPrivateFieldGet(_0x50767a,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(_0x50767a,_Debuglet_clientConnectionTimeoutInSeconds,_0x5ce647?.['clientConnectionTimeoutInSeconds'],'f'),!_0x50767a['fetcherActive']&&__classPrivateFieldGet(_0x50767a,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x36ecf2(0x105)](_0x50767a,0x0,this['config'][_0x36ecf2(0x208)],_0x5ce647?.[_0x36ecf2(0x12f)]);},_0x3ab604=>{_0x137605(_0x3ab604);});});},_0xa8ddaf*0x3e8)[_0x3edee3(0x175)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x555484,_0x1ef2a0,_0x523c56){const _0x4c1892=a18_0x2907dc,_0x2da709=this;this['logger'][_0x4c1892(0x1d2)](_0x4c1892(0x1c4)+_0x555484+'\x20'+_0x1ef2a0+'\x20'+_0x523c56),!_0x1ef2a0&&(_0x2da709[_0x4c1892(0x17c)]=!![]),setTimeout(()=>{const _0x1691bc=_0x4c1892;if(!__classPrivateFieldGet(_0x2da709,_Debuglet_running,'f'))return;!_0x1ef2a0&&assert(_0x2da709[_0x1691bc(0x17c)]),_0x2da709[_0x1691bc(0x1a3)][_0x1691bc(0x1d2)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x2da709,_Debuglet_controller,'f')[_0x1691bc(0x141)](_0x2da709[_0x1691bc(0x1bf)],(_0x4f37f6,_0x5691b9,_0x442322)=>{const _0xb54774=_0x1691bc;if(_0x5691b9?.[_0xb54774(0x1d8)]===0x194){_0x2da709[_0xb54774(0x1a3)][_0xb54774(0x1a0)](_0xb54774(0x1d4)),_0x2da709['fetcherActive']=![],__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0xb54774(0x105)](_0x2da709);_0x2da709[_0xb54774(0x189)][_0xb54774(0x20d)]?.[_0xb54774(0x201)]?_0x2da709[_0xb54774(0x19e)](_0xb54774(0x151)):_0x2da709[_0xb54774(0x211)]();return;}if(_0x4f37f6){if(_0x2da709[_0xb54774(0x189)][_0xb54774(0x20d)]?.[_0xb54774(0x201)])_0x2da709['emit'](_0xb54774(0x14e)),_0x2da709[_0xb54774(0x1a3)][_0xb54774(0x177)](_0xb54774(0x14f)+_0x5691b9?.[_0xb54774(0x1d8)]+_0xb54774(0x184)+_0x4f37f6[_0xb54774(0x159)]);else{const _0x220002=(0x0,utils_1[_0xb54774(0x1f5)])(_0x555484,_0x2da709['config'][_0xb54774(0x20d)][_0xb54774(0x18a)]);_0x2da709[_0xb54774(0x1a3)][_0xb54774(0x177)](_0xb54774(0x1a2)+_0x5691b9?.[_0xb54774(0x1d8)]+_0xb54774(0x184)+_0x4f37f6[_0xb54774(0x159)]+_0xb54774(0x15b)+_0x220002+'s'),__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xb54774(0x105)](_0x2da709,_0x220002,_0x1ef2a0,_0x523c56);}return;}_0x2da709['logger']['debug']('\x09'+_0x5691b9[_0xb54774(0x1d8)]+_0xb54774(0x10f));if(!_0x442322){const _0x544c77=_0x2da709['config']['breakpointUpdateIntervalSec'];_0x2da709['logger'][_0xb54774(0x177)](_0xb54774(0x1f1)+_0x544c77+'s'),__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xb54774(0x105)](_0x2da709,_0x544c77,_0x1ef2a0,_0x523c56);return;}this[_0xb54774(0x1a8)](_0x442322[_0xb54774(0x17a)]);if(_0x442322[_0xb54774(0x160)]){_0x2da709[_0xb54774(0x1a3)][_0xb54774(0x1a0)](_0xb54774(0x130)),__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xb54774(0x105)](_0x2da709,0x0,_0x1ef2a0,_0x523c56);return;}if(_0x442322[_0xb54774(0xfe)]&&_0x442322['pipeLogs']!==_0xb54774(0x1b3)){const _0x2d179d=this['pipingManager'][_0xb54774(0x178)];_0x2d179d!==_0x442322[_0xb54774(0xfe)]&&(this[_0xb54774(0x1a3)][_0xb54774(0x1d2)](_0xb54774(0x1fb)+_0x2d179d+'\x20to\x20'+_0x442322[_0xb54774(0xfe)]),this[_0xb54774(0x136)][_0xb54774(0x178)]=_0x442322[_0xb54774(0xfe)]);}if(_0x442322[_0xb54774(0x19a)]&&_0x442322['collectLogRequestId']!==_0x2da709[_0xb54774(0x1b0)]){_0x2da709[_0xb54774(0x1b0)]=_0x442322['collectLogRequestId'];const _0x5c09e7=_0x2da709[_0xb54774(0x189)]['agentLog'][_0xb54774(0x171)]&&path['join'](_0x2da709[_0xb54774(0x189)][_0xb54774(0x17f)][_0xb54774(0x171)],agent_logger_1['default']['AGENT_LOG_FILE']);_0x5c09e7&&fs['existsSync'](_0x5c09e7)?setTimeout(()=>__classPrivateFieldGet(_0x2da709,_Debuglet_controller,'f')[_0xb54774(0x1de)](_0x2da709[_0xb54774(0x1bf)],_0x442322['collectLogRequestId'],_0x5c09e7)):_0x2da709[_0xb54774(0x1a3)]['info'](_0xb54774(0x126)+_0x442322[_0xb54774(0x1b0)]+_0xb54774(0x165)+_0xb54774(0x138));}const _0x33f69d=(_0x442322[_0xb54774(0x11e)]||[])[_0xb54774(0x19b)](_0x170bd1=>new stackdriver_1[(_0xb54774(0x112))](_0x170bd1))[_0xb54774(0x170)](_0x57cd52=>{const _0x1ba44e=_0xb54774,_0x3ceef7=_0x57cd52['action']||_0x1ba44e(0x10c);if(__classPrivateFieldGet(_0x2da709,_Debuglet_completedBreakpointMap,'f')[_0x57cd52['id']])return![];if(_0x3ceef7!=='CAPTURE'&&_0x3ceef7!==_0x1ba44e(0x1b9))return _0x2da709[_0x1ba44e(0x1a3)][_0x1ba44e(0x140)](_0x1ba44e(0x20f),_0x3ceef7),_0x57cd52[_0x1ba44e(0x1d8)]=new status_message_1[(_0x1ba44e(0x10a))](status_message_1[_0x1ba44e(0x10a)][_0x1ba44e(0x1d1)],utils_1[_0x1ba44e(0x123)][_0x1ba44e(0x10b)],!![]),__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x1ba44e(0x105)](_0x2da709,_0x57cd52),![];return!![];}),_0x1f0ba1=__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xb54774(0x105)](_0x2da709);let _0x1c9805=_0x1f0ba1[_0xb54774(0x187)]>0x0;__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x2da709,_0x1f0ba1),_0x1c9805=_0x1c9805||__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0xb54774(0x105)](_0x2da709,_0x33f69d),_0x2da709[_0xb54774(0x19e)](_0xb54774(0x1ca),_0x33f69d[_0xb54774(0x187)]);_0x1c9805&&_0x2da709[_0xb54774(0x1a3)][_0xb54774(0x1d2)](formatBreakpoints(_0xb54774(0x192),_0x2da709['activeBreakpointMap']));__classPrivateFieldSet(_0x2da709,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x1ef2a0?__classPrivateFieldGet(_0x2da709,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x2da709,_Debuglet_breakpointFetched,'f')[_0xb54774(0x173)](),__classPrivateFieldSet(_0x2da709,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x2da709,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x2da709,0x0,_0x1ef2a0,_0x523c56);return;},_0x523c56);},_0x555484*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x1e8147){const _0x1e69f2=a18_0x2907dc,_0xeab6db=this,_0x54eb97=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x1e69f2(0x105)](this,_0x1e8147);let _0x1bd900=![];return _0x1e8147[_0x1e69f2(0x194)](_0x2679a3=>{const _0x490e33=_0x1e69f2;!__classPrivateFieldGet(_0xeab6db,_Debuglet_completedBreakpointMap,'f')[_0x2679a3['id']]&&!_0xeab6db['activeBreakpointMap'][_0x2679a3['id']]&&(__classPrivateFieldGet(_0xeab6db,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x490e33(0x105)](_0xeab6db,_0x2679a3,_0x16feff=>{const _0xade160=_0x490e33;_0x16feff&&__classPrivateFieldGet(_0xeab6db,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xade160(0x105)](_0xeab6db,_0x2679a3,!![],![]);}),_0x1bd900=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x490e33(0x127)](_0x2679a3['id'])),__classPrivateFieldGet(_0xeab6db,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x2679a3['id'],_0x2679a3[_0x490e33(0x186)]),_0xeab6db['pipingManager'][_0x490e33(0x1dc)](_0x2679a3['id'],_0x2679a3[_0x490e33(0x1bc)]);}),(0x0,mapSubtract_1[_0x1e69f2(0x14d)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x54eb97)[_0x1e69f2(0x194)](_0x316c26=>{delete __classPrivateFieldGet(_0xeab6db,_Debuglet_completedBreakpointMap,'f')[_0x316c26['id']],_0x1bd900=!![];}),(0x0,mapSubtract_1[_0x1e69f2(0x14d)])(this['activeBreakpointMap'],_0x54eb97)[_0x1e69f2(0x194)](_0xeb04a1=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0xeb04a1,!![]),_0x1bd900=!![];}),_0x1bd900&&_0xeab6db['logger']['debug'](formatBreakpoints(_0x1e69f2(0x16b),_0x54eb97)),_0x1bd900;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x59faff){const _0x74cd0a={};return _0x59faff['forEach'](_0x16a6e1=>{_0x74cd0a[_0x16a6e1['id']]=_0x16a6e1;}),_0x74cd0a;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x2b98bc,_0x4de963){const _0x4171c2=a18_0x2907dc;this[_0x4171c2(0x1a3)][_0x4171c2(0x1a0)]('\x09remove\x20breakpoint',_0x2b98bc),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x4171c2(0x122)](_0x2b98bc['id']),this['pipingManager'][_0x4171c2(0x1f8)](_0x2b98bc['id']),delete this[_0x4171c2(0x166)][_0x2b98bc['id']],_0x4de963&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4171c2(0x144)](_0x2b98bc,_0x48f1e8=>{const _0x764b68=_0x4171c2;if(_0x48f1e8)this[_0x764b68(0x1a3)][_0x764b68(0x177)](_0x48f1e8);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x393895,_0x1bcd6e){const _0x3ad090=a18_0x2907dc,_0x148a0a=this;_0x148a0a[_0x3ad090(0x1a3)]['info'](_0x3ad090(0x158),_0x393895);if(!_0x148a0a[_0x3ad090(0x189)]['allowExpressions']&&(_0x393895[_0x3ad090(0x17d)]||_0x393895[_0x3ad090(0x162)])){_0x148a0a[_0x3ad090(0x1a3)][_0x3ad090(0x177)](utils_1[_0x3ad090(0x123)]['ALLOW_EXPRESSIONS_MESSAGE']['description']||''),_0x393895[_0x3ad090(0x1d8)]=new status_message_1[(_0x3ad090(0x10a))](status_message_1[_0x3ad090(0x10a)][_0x3ad090(0x1d1)],utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x2d3c88=_0x3ad090;_0x1bcd6e(utils_1[_0x2d3c88(0x123)][_0x2d3c88(0x1ad)]);});return;}if((0x0,utils_1[_0x3ad090(0x11a)])(process['version'],_0x3ad090(0x1af))){const _0x51bc0f=utils_1[_0x3ad090(0x123)][_0x3ad090(0x1a6)];_0x148a0a[_0x3ad090(0x1a3)][_0x3ad090(0x177)](_0x51bc0f),_0x393895[_0x3ad090(0x1d8)]=new status_message_1[(_0x3ad090(0x10a))](status_message_1[_0x3ad090(0x10a)][_0x3ad090(0x1d1)],_0x51bc0f,!![]),setImmediate(()=>{_0x1bcd6e(_0x51bc0f);});return;}const _0x24fcd8=_0x393895['createTime']?Number(_0x393895[_0x3ad090(0x156)][_0x3ad090(0x11c)]):Date[_0x3ad090(0x174)]()/0x3e8,_0x1e10a0=_0x393895['expirationSeconds']||_0x148a0a[_0x3ad090(0x189)]['breakpointExpirationSec'];_0x393895[_0x3ad090(0x106)]=_0x24fcd8+_0x1e10a0,_0x393895[_0x3ad090(0x19d)]?.[_0x3ad090(0x20e)]&&(_0x393895[_0x3ad090(0x19d)]['path']=path[_0x3ad090(0x116)](_0x393895[_0x3ad090(0x19d)][_0x3ad090(0x20e)]),path['sep']===path[_0x3ad090(0x12e)]['sep']&&(_0x393895['location']['path']=_0x393895[_0x3ad090(0x19d)][_0x3ad090(0x20e)]['split']('\x5c')[_0x3ad090(0x209)](path['sep']))),__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')['set'](_0x393895,_0x37427f=>{const _0x4b1fa5=_0x3ad090;if(_0x37427f){_0x1bcd6e(_0x37427f);return;}_0x148a0a[_0x4b1fa5(0x1a3)][_0x4b1fa5(0x1a0)](_0x4b1fa5(0x1c2),_0x393895),_0x148a0a[_0x4b1fa5(0x166)][_0x393895['id']]=_0x393895,_0x393895[_0x4b1fa5(0x133)]===_0x4b1fa5(0x1b9)?__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')[_0x4b1fa5(0x1bd)](_0x393895,(_0x261e5d,_0x357516)=>{const _0x10507f=_0x4b1fa5,_0x51b209=_0x357516[_0x10507f(0x19b)](_0x3e4825=>__classPrivateFieldGet(_0x148a0a,_Debuglet_instances,'m',_Debuglet_stringify)[_0x10507f(0x105)](_0x148a0a,_0x3e4825)),_0x4eae85=(0x0,format_1[_0x10507f(0x18d)])(_0x261e5d,_0x51b209),_0xb4a0d7=_0x10507f(0x164)+(__classPrivateFieldGet(_0x148a0a,_Debuglet_redactionManager,'f')?.[_0x10507f(0x1cc)](_0x4eae85)||_0x4eae85),_0x2830a5=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x10507f(0x182)](_0xb4a0d7,_0x393895['id']);if(_0x2830a5){const _0x11e44c=_0x2830a5[_0x10507f(0x159)],_0x838928=_0x2830a5['isOutOfQuota'];let _0x48297b,_0x3dabb2;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x838928&&(_0x48297b='LOGPOINT:\x20'+_0x261e5d,_0x3dabb2=_0x51b209);_0x148a0a[_0x10507f(0x136)]['addAndPipeLog'](_0x148a0a['debuggee'],_0x393895['id'],_0x11e44c,_0x393895[_0x10507f(0x14b)],_0x48297b,_0x3dabb2);if(_0x838928)__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')?.[_0x10507f(0x1a9)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x55a407=_0x10507f;__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')?.[_0x55a407(0x210)](),__classPrivateFieldSet(_0x148a0a,_Debuglet_nextEnableTimeout,null,'f');},_0x148a0a['config']['quota'][_0x10507f(0x15c)]*0x3e8),'f');else _0x11e44c?.[_0x10507f(0x187)]===0x0&&__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')?.[_0x10507f(0x1a9)]();}},()=>{return __classPrivateFieldGet(_0x148a0a,_Debuglet_completedBreakpointMap,'f')[_0x393895['id']];},_0x1351fe=>{const _0x54438a=_0x4b1fa5;if(_0x1351fe){_0x148a0a['logger'][_0x54438a(0x177)](_0x1351fe),_0x1bcd6e(_0x1351fe);return;}}):__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')[_0x4b1fa5(0x147)](_0x393895,_0x1c4d83=>{const _0x266a36=_0x4b1fa5;if(_0x1c4d83){setImmediate(()=>{const _0x19de57=a18_0x5e17;_0x148a0a['logger'][_0x19de57(0x177)](_0x1c4d83),_0x1bcd6e(_0x1c4d83);});return;}_0x148a0a[_0x266a36(0x1a3)]['info']('Breakpoint\x20hit!:\x20',_0x393895),__classPrivateFieldGet(_0x148a0a,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x148a0a,_0x393895,__classPrivateFieldGet(_0x148a0a,_Debuglet_v8debug,'f')[_0x266a36(0x1a4)](_0x393895['id'])<=0x0);}),__classPrivateFieldGet(_0x148a0a,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x148a0a,_0x393895);}),this['emit'](_0x3ad090(0x15d));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x33479c,_0x14cf7c,_0x5ef5ac=!![]){const _0x259eda=a18_0x2907dc,_0x23187f=this;if(_0x33479c[_0x259eda(0x1d8)]&&_0x33479c['status'][_0x259eda(0xff)]){let _0x316c54=_0x33479c['status']?.['description']?.[_0x259eda(0x18d)]||'';_0x33479c['status']?.[_0x259eda(0x169)]?.[_0x259eda(0x1f2)]&&(_0x316c54+=':\x20'+_0x33479c[_0x259eda(0x1d8)]?.[_0x259eda(0x169)]?.['parameters'][_0x259eda(0x11d)]()),_0x23187f[_0x259eda(0x1a3)]['warn'](_0x259eda(0x1ee)+_0x33479c+'.\x20Error:\x20'+_0x316c54);}else _0x23187f[_0x259eda(0x1a3)][_0x259eda(0x1a0)](_0x259eda(0x1da),_0x33479c);_0x14cf7c&&(__classPrivateFieldGet(_0x23187f,_Debuglet_completedBreakpointMap,'f')[_0x33479c['id']]=!![],__classPrivateFieldGet(_0x23187f,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x259eda(0x105)](_0x23187f,_0x33479c,_0x5ef5ac)),__classPrivateFieldGet(_0x23187f,_Debuglet_controller,'f')[_0x259eda(0x142)](_0x23187f[_0x259eda(0x1bf)],extend(!![],{},_0x33479c));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x32d38d){const _0x535361=a18_0x2907dc,_0x3e70af=this;_0x3e70af[_0x535361(0x1a3)]['debug'](_0x535361(0x18c)+_0x32d38d+_0x535361(0x1d0));const _0x54ee3a=extend(!![],{},_0x32d38d);_0x54ee3a['isFinalState']=![],_0x54ee3a['status']=new status_message_1[(_0x535361(0x10a))](status_message_1[_0x535361(0x10a)][_0x535361(0x1d1)],undefined,![],!![]),__classPrivateFieldGet(_0x3e70af,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x3e70af[_0x535361(0x1bf)],_0x54ee3a);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4a3fbe){const _0x43ddf9=a18_0x2907dc,_0x1b09de=this;this['logger']['info']('rejecting\x20breakpoint',_0x4a3fbe),__classPrivateFieldGet(_0x1b09de,_Debuglet_completedBreakpointMap,'f')[_0x4a3fbe['id']]=!![],__classPrivateFieldGet(_0x1b09de,_Debuglet_controller,'f')[_0x43ddf9(0x142)](_0x1b09de[_0x43ddf9(0x1bf)],_0x4a3fbe);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0xf5cd72){const _0x5c1277=this;_0xf5cd72['forEach'](_0x2e12bd=>{const _0x21f903=a18_0x5e17;_0x5c1277[_0x21f903(0x1a3)][_0x21f903(0x1a0)]('Expiring\x20breakpoint',_0x2e12bd),__classPrivateFieldGet(_0x5c1277,_Debuglet_completedBreakpointMap,'f')[_0x2e12bd['id']]=!![],__classPrivateFieldGet(_0x5c1277,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x5c1277,_0x2e12bd,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0xaf74d8=a18_0x2907dc,_0x3390a3=Date[_0xaf74d8(0x174)]()/0x3e8;return Object[_0xaf74d8(0x1e1)](this[_0xaf74d8(0x166)])[_0xaf74d8(0x170)](_0x59abd8=>_0x59abd8[_0xaf74d8(0x106)]?_0x59abd8[_0xaf74d8(0x106)]<_0x3390a3:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x43e47f){const _0x4fd243=a18_0x2907dc,_0x403046=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4fd243(0x13d)](_0x43e47f),_0xf028f=_0x403046[_0x4fd243(0x190)],_0x3f35bc=_0x403046[_0x4fd243(0x1ce)];_0xf028f&&_0xf028f[_0x4fd243(0x187)]&&this['logger'][_0x4fd243(0x1d2)](_0x4fd243(0x17e),_0xf028f[_0x4fd243(0x209)]('\x0a\x09')),_0x3f35bc&&_0x3f35bc[_0x4fd243(0x187)]&&this['logger'][_0x4fd243(0x1d2)](_0x4fd243(0x1db),_0x3f35bc['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0xf028f,_0x3f35bc,this[_0x4fd243(0x189)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1aad80){const _0xef1c30=a18_0x2907dc,_0x148f11=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x1aad80);_0x148f11?.[_0xef1c30(0x187)]&&this[_0xef1c30(0x1a3)][_0xef1c30(0x1d2)](_0xef1c30(0x1e9),_0x148f11['map'](_0x578088=>'name:\x20'+_0x578088[_0xef1c30(0x124)]+_0xef1c30(0x1b2)+_0x578088['type']+_0xef1c30(0x16a)+_0x578088['pattern']+'\x20caseInsensitive:\x20'+_0x578088[_0xef1c30(0x131)])['join']('\x0a\x09'));if((0x0,utils_1[_0xef1c30(0x11a)])(process[_0xef1c30(0x1f9)],_0xef1c30(0x18f))){const {RedactionManagerRE2JS:_0x4a1d94}=await Promise[_0xef1c30(0x173)]()[_0xef1c30(0x1eb)](()=>require(_0xef1c30(0x202)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x4a1d94(this[_0xef1c30(0x1a3)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0xef1c30(0x1a1)](_0x148f11);}},_Debuglet_stringify=function _Debuglet_stringify(_0x401d0b){const _0x53fc91=a18_0x2907dc;if(!_0x401d0b)return JSON['stringify'](_0x401d0b,(_0x183751,_0x240dc3)=>_0x240dc3===undefined?_0x53fc91(0x1a5):_0x240dc3);if(Array[_0x53fc91(0x129)](_0x401d0b)){const _0x3ab03c=[];for(const _0x302d59 of _0x401d0b){_0x3ab03c['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x53fc91(0x105)](this,_0x302d59));}return'['+_0x3ab03c[_0x53fc91(0x209)](',\x20')+']';}if(typeof _0x401d0b===_0x53fc91(0x199)){const _0x4b6e27=Object[_0x53fc91(0x203)](_0x401d0b)['map'](([_0x309d72,_0x3f0665])=>{const _0x15f167=_0x53fc91,_0x4beda7=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x15f167(0x15a)](_0x309d72)?redaction_manager_1[_0x15f167(0x14a)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x15f167(0x105)](this,_0x3f0665);return JSON[_0x15f167(0x16e)](_0x309d72)+':\x20'+_0x4beda7;})[_0x53fc91(0x209)](',\x20');return'{'+_0x4b6e27+'}';}return JSON['stringify'](_0x401d0b);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a19_0x57ee(_0xf34387,_0x4bb41f){const _0x24c499=a19_0x1bc6();return a19_0x57ee=function(_0x38207b,_0x1487b0){_0x38207b=_0x38207b-0xb3;let _0x1bc67b=_0x24c499[_0x38207b];return _0x1bc67b;},a19_0x57ee(_0xf34387,_0x4bb41f);}const a19_0x586b2d=a19_0x57ee;(function(_0x179766,_0x3c007a){const _0x2e164e=a19_0x57ee,_0x455cd6=_0x179766();while(!![]){try{const _0x35ec10=parseInt(_0x2e164e(0xdb))/0x1+parseInt(_0x2e164e(0xb8))/0x2*(-parseInt(_0x2e164e(0xc7))/0x3)+-parseInt(_0x2e164e(0xce))/0x4*(parseInt(_0x2e164e(0xef))/0x5)+parseInt(_0x2e164e(0xd1))/0x6+-parseInt(_0x2e164e(0xd3))/0x7+parseInt(_0x2e164e(0xe9))/0x8+-parseInt(_0x2e164e(0xc2))/0x9*(parseInt(_0x2e164e(0xb3))/0xa);if(_0x35ec10===_0x3c007a)break;else _0x455cd6['push'](_0x455cd6['shift']());}catch(_0x2ab772){_0x455cd6['push'](_0x455cd6['shift']());}}}(a19_0x1bc6,0x46bdd));Object['defineProperty'](exports,a19_0x586b2d(0xb6),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x586b2d(0xbd));var OS;(function(_0xfd97ed){const _0x30e83e=a19_0x586b2d,_0x1b2480=(function(){let _0x6d49f7=!![];return function(_0x3cc6d3,_0x201259){const _0x2ad4e1=_0x6d49f7?function(){if(_0x201259){const _0x475e82=_0x201259['apply'](_0x3cc6d3,arguments);return _0x201259=null,_0x475e82;}}:function(){};return _0x6d49f7=![],_0x2ad4e1;};}()),_0x3ec94c=_0x1b2480(this,function(){const _0x442755=a19_0x57ee;return _0x3ec94c[_0x442755(0xd4)]()['search'](_0x442755(0xdd))['toString']()[_0x442755(0xd7)](_0x3ec94c)['search'](_0x442755(0xdd));});_0x3ec94c(),_0xfd97ed[_0x30e83e(0xda)]=_0x30e83e(0xf0),_0xfd97ed['Windows']=_0x30e83e(0xf4),_0xfd97ed[_0x30e83e(0xe0)]=_0x30e83e(0xba);}(OS||(OS={})));var ProcArch;(function(_0x47d535){const _0x120cba=a19_0x586b2d;_0x47d535['x64']=_0x120cba(0xe8),_0x47d535['x32']=_0x120cba(0xe6),_0x47d535[_0x120cba(0xe7)]=_0x120cba(0xe7),_0x47d535['arm64']=_0x120cba(0xbc);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x586b2d(0xda)],'win32':OS[a19_0x586b2d(0xc9)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a19_0x586b2d(0xe6)],'x64':ProcArch[a19_0x586b2d(0xe8)],'arm':ProcArch[a19_0x586b2d(0xe7)],'arm64':ProcArch[a19_0x586b2d(0xbc)]};class EnvironmentMetadata{constructor(_0x5a1841){const _0x261793=a19_0x586b2d;assert(_0x5a1841!==null),this[_0x261793(0xf3)]=_0x5a1841;}get['runtimeEnvironmentVersion'](){const _0x265d52=a19_0x586b2d;try{const _0x376807=process[_0x265d52(0xdc)][_0x265d52(0xf5)][_0x265d52(0xb5)](/(\d+\.\d+)\..*/);if(_0x376807)return _0x376807[0x1];}catch(_0x16805f){this[_0x265d52(0xf3)][_0x265d52(0xbf)](_0x16805f);}return;}get['runtimeEnvironmentInfo'](){const _0x2c93e6=a19_0x586b2d;return _0x2c93e6(0xd0)+process[_0x2c93e6(0xc1)]+_0x2c93e6(0xde)+(0x0,os_1[_0x2c93e6(0xdf)])()+'\x20'+(0x0,os_1[_0x2c93e6(0xd5)])();}get[a19_0x586b2d(0xc5)](){const _0x2937b4=a19_0x586b2d;return process[_0x2937b4(0xc5)][_0x2937b4(0xd4)]();}get[a19_0x586b2d(0xcc)](){const _0x2f5bea=a19_0x586b2d;return ArchToProcArchMap[process[_0x2f5bea(0xe3)]]||process['arch'];}get['cpuCoreCount'](){const _0x1b6b94=a19_0x586b2d;return(0x0,os_1['cpus'])()[_0x1b6b94(0xca)];}get[a19_0x586b2d(0xcb)](){const _0x589df4=a19_0x586b2d;return(0x0,os_1[_0x589df4(0xc6)])();}get[a19_0x586b2d(0xeb)](){return(0x0,os_1['hostname'])();}get[a19_0x586b2d(0xe1)](){const _0x5489f0=a19_0x586b2d;return PlatformToOsMap[(0x0,os_1[_0x5489f0(0xdf)])()]||(0x0,os_1[_0x5489f0(0xdf)])();}get[a19_0x586b2d(0xcf)](){const _0x585a97=a19_0x586b2d;try{if(this['agentOS']===OS[_0x585a97(0xda)])return this[_0x585a97(0xe2)][_0x585a97(0xd2)](_0x585a97(0xee))||(0x0,os_1[_0x585a97(0xd5)])();return(0x0,os_1[_0x585a97(0xd5)])();}catch(_0x248716){this[_0x585a97(0xf3)]['error'](_0x248716);}return;}get[a19_0x586b2d(0xec)](){const _0xd42849=a19_0x586b2d;return this[_0xd42849(0xe1)]===OS[_0xd42849(0xda)]&&this['_osRelease'][_0xd42849(0xd2)]('ID')||'';}get[a19_0x586b2d(0xf2)](){const _0xea8b77=a19_0x586b2d;return this[_0xea8b77(0xe1)]===OS[_0xea8b77(0xda)]?(0x0,fs_1[_0xea8b77(0xc8)])(_0xea8b77(0xb4)):![];}get['isInK8s'](){const _0x5c250e=a19_0x586b2d;return!!process[_0x5c250e(0xd6)][_0x5c250e(0xd9)];}get[a19_0x586b2d(0xe2)](){const _0x4fa705=a19_0x586b2d;if(!this[_0x4fa705(0xc0)]){this[_0x4fa705(0xc0)]=new Map();try{if(this[_0x4fa705(0xe1)]===OS[_0x4fa705(0xda)]){const _0x2e0c22=(0x0,fs_1[_0x4fa705(0xea)])(_0x4fa705(0xcd),_0x4fa705(0xed));_0x2e0c22[_0x4fa705(0xe4)](/\r?\n/)[_0x4fa705(0xb9)](_0x2e0374=>{const _0x3f7c6c=_0x4fa705,[_0xc51d2,_0x408b3f]=_0x2e0374[_0x3f7c6c(0xb7)]()[_0x3f7c6c(0xe4)]('=');this[_0x3f7c6c(0xc0)]?.[_0x3f7c6c(0xe5)](_0xc51d2,_0x408b3f?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x1d2c0b){this['_logger'][_0x4fa705(0xbb)](_0x4fa705(0xc3),_0x1d2c0b);}}return this[_0x4fa705(0xc0)];}['getProps'](){const _0x521019=a19_0x586b2d;return{'runtimeEnvironmentVersion':this[_0x521019(0xc4)],'runtimeEnvironmentInfo':this['runtimeEnvironmentInfo'],'pid':this[_0x521019(0xc5)],'cpuCoreCount':this[_0x521019(0xd8)],'systemTotalMemoryBytes':this[_0x521019(0xcb)],'host':this[_0x521019(0xeb)],'agentOS':this['agentOS'],'osVersion':this['osVersion'],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x521019(0xf2)],'isInK8s':this[_0x521019(0xbe)],'procArch':this[_0x521019(0xcc)]};}}function a19_0x1bc6(){const _0x1701ac=['get','2353680wGvRaM','toString','release','env','constructor','cpuCoreCount','KUBERNETES_SERVICE_HOST','Linux','569561jNcUzI','versions','(((.+)+)+)+$','\x20on\x20','platform','MacOS','agentOS','_osRelease','arch','split','set','x32','arm','x64','2708680tCSyYP','readFileSync','host','linuxDistroName','utf-8','VERSION_ID','400605ZLQyDY','linux','EnvironmentMetadata','isInDocker','_logger','windows','node','4980foTvsA','/.dockerenv','match','__esModule','trim','3466rfIHOn','forEach','mac','warn','arm64','assert','isInK8s','error','_cachedOsRelease','version','6471XhWeTo','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','runtimeEnvironmentVersion','pid','totalmem','435LudkJi','existsSync','Windows','length','systemTotalMemoryBytes','procArch','/etc/os-release','8MjDfjs','osVersion','Node.js\x20','2924640STeWna'];a19_0x1bc6=function(){return _0x1701ac;};return a19_0x1bc6();}exports[a19_0x586b2d(0xf1)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x36e141=a20_0x43d5;(function(_0x29e786,_0x41c8f6){const _0x5ce102=a20_0x43d5,_0x5cc7a5=_0x29e786();while(!![]){try{const _0x56cfd6=-parseInt(_0x5ce102(0x98))/0x1*(parseInt(_0x5ce102(0x85))/0x2)+parseInt(_0x5ce102(0xa6))/0x3*(parseInt(_0x5ce102(0x88))/0x4)+-parseInt(_0x5ce102(0xab))/0x5*(parseInt(_0x5ce102(0x82))/0x6)+parseInt(_0x5ce102(0x8b))/0x7*(-parseInt(_0x5ce102(0x93))/0x8)+parseInt(_0x5ce102(0x95))/0x9*(parseInt(_0x5ce102(0x8c))/0xa)+-parseInt(_0x5ce102(0x8e))/0xb*(-parseInt(_0x5ce102(0xa1))/0xc)+-parseInt(_0x5ce102(0xaa))/0xd*(parseInt(_0x5ce102(0x9a))/0xe);if(_0x56cfd6===_0x41c8f6)break;else _0x5cc7a5['push'](_0x5cc7a5['shift']());}catch(_0x50fe8d){_0x5cc7a5['push'](_0x5cc7a5['shift']());}}}(a20_0x1f7a,0x2d6cd));const a20_0x20cb37=(function(){let _0x108e98=!![];return function(_0x5b1b37,_0x1c2d10){const _0x19bb63=_0x108e98?function(){const _0x4c74b7=a20_0x43d5;if(_0x1c2d10){const _0x23243d=_0x1c2d10[_0x4c74b7(0x87)](_0x5b1b37,arguments);return _0x1c2d10=null,_0x23243d;}}:function(){};return _0x108e98=![],_0x19bb63;};}()),a20_0x8e41cd=a20_0x20cb37(this,function(){const _0xdad45c=a20_0x43d5;return a20_0x8e41cd[_0xdad45c(0xa0)]()[_0xdad45c(0x92)](_0xdad45c(0xa4))[_0xdad45c(0xa0)]()[_0xdad45c(0x8a)](a20_0x8e41cd)[_0xdad45c(0x92)]('(((.+)+)+)+$');});function a20_0x1f7a(){const _0x5d256b=['fileStats','sep','fromFileList','toString','3396108EXIDpE','filter','stripStartingSep','(((.+)+)+)+$','set','7272sMKcpK','generateSubPaths','__esModule','defineProperty','13VXgiPx','545mwjmOS','882XiWNdk','path','fromFileStats','123086grmYKq','map','apply','496WuHmYD','min','constructor','133IVcAWi','10nfLTbl','get','11RUpvIi','fileIndex','_fileStats','keys','search','51640UQkiXh','indexOf','414702SZqYnw','FileIndex','push','1vutzUx','substring','3407474QbHLBH','buildIndex','length'];a20_0x1f7a=function(){return _0x5d256b;};return a20_0x1f7a();}function a20_0x43d5(_0x22abeb,_0x2bf7c8){const _0x460a41=a20_0x1f7a();return a20_0x43d5=function(_0x8e41cd,_0x20cb37){_0x8e41cd=_0x8e41cd-0x82;let _0x1f7afa=_0x460a41[_0x8e41cd];return _0x1f7afa;},a20_0x43d5(_0x22abeb,_0x2bf7c8);}a20_0x8e41cd();'use strict';Object[a20_0x36e141(0xa9)](exports,a20_0x36e141(0xa8),{'value':!![]}),exports[a20_0x36e141(0x96)]=void 0x0;const path=require(a20_0x36e141(0x83));class FileIndex{constructor(_0x5a743b){const _0x25ab77=a20_0x36e141;this[_0x25ab77(0x90)]=_0x5a743b,this[_0x25ab77(0x8f)]=new Map();}static[a20_0x36e141(0x84)](_0xcc59){const _0x25d957=a20_0x36e141,_0x25fc19=new FileIndex(_0xcc59);return _0x25fc19['buildIndex'](Object[_0x25d957(0x91)](_0xcc59)||[]),_0x25fc19;}static[a20_0x36e141(0x9f)](_0x563143){const _0xf48965=a20_0x36e141,_0x50e1e5=new FileIndex(undefined);return _0x50e1e5[_0xf48965(0x9b)](_0x563143||[]),_0x50e1e5;}get[a20_0x36e141(0x9d)](){const _0x2b8e5b=a20_0x36e141;return this[_0x2b8e5b(0x90)]||{};}['findShortestFuzzyMatches'](_0x2dfd99){const _0x345b55=a20_0x36e141,_0x5d9775=this[_0x345b55(0x92)](_0x2dfd99);if(!_0x5d9775||_0x5d9775['size']===0x0)return[];const _0xea257e=[..._0x5d9775][_0x345b55(0x86)](_0x3c5561=>_0x3c5561[_0x345b55(0x9c)]),_0x56a3bc=Math[_0x345b55(0x89)](..._0xea257e),_0x340b3a=[..._0x5d9775][_0x345b55(0xa2)](_0x48d69a=>_0x48d69a[_0x345b55(0x9c)]===_0x56a3bc);return _0x340b3a;}['buildIndex'](_0x184187){const _0x40c0a1=a20_0x36e141;for(const _0x5ce4c9 of _0x184187){for(const _0x114272 of this[_0x40c0a1(0xa7)](_0x5ce4c9)){let _0x10dc5b=this[_0x40c0a1(0x8f)]['get'](_0x114272);_0x10dc5b===undefined&&(_0x10dc5b=new Set(),this[_0x40c0a1(0x8f)][_0x40c0a1(0xa5)](_0x114272,_0x10dc5b)),_0x10dc5b['add'](_0x5ce4c9);}}}['generateSubPaths'](_0x2612a2){const _0x1b974f=a20_0x36e141;_0x2612a2=this[_0x1b974f(0xa3)](_0x2612a2);const _0x3c08e1=[_0x2612a2];while(_0x2612a2[_0x1b974f(0x94)](path[_0x1b974f(0x9e)])>=0x0){_0x2612a2=_0x2612a2[_0x1b974f(0x99)](_0x2612a2['indexOf'](path[_0x1b974f(0x9e)])+path[_0x1b974f(0x9e)]['length'],_0x2612a2['length']),_0x3c08e1[_0x1b974f(0x97)](_0x2612a2);}return _0x3c08e1;}['search'](_0x40f4ad){const _0xe5ca5a=a20_0x36e141;if(!_0x40f4ad)return undefined;_0x40f4ad=this[_0xe5ca5a(0xa3)](_0x40f4ad);for(const _0x204051 of this[_0xe5ca5a(0xa7)](_0x40f4ad)){if(this[_0xe5ca5a(0x8f)]['has'](_0x204051))return this[_0xe5ca5a(0x8f)][_0xe5ca5a(0x8d)](_0x204051);}return undefined;}['stripStartingSep'](_0x115b98){if(_0x115b98&&(_0x115b98[0x0]==='/'||_0x115b98[0x0]==='\x5c'))return _0x115b98['substr'](0x1);return _0x115b98;}}exports[a20_0x36e141(0x96)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x388287=a21_0x2bc2;(function(_0x345b6e,_0x1d52bb){const _0x39d920=a21_0x2bc2,_0x4fc0e5=_0x345b6e();while(!![]){try{const _0x375e43=-parseInt(_0x39d920(0x1b0))/0x1*(-parseInt(_0x39d920(0x19d))/0x2)+-parseInt(_0x39d920(0x197))/0x3+parseInt(_0x39d920(0x1a9))/0x4+-parseInt(_0x39d920(0x1a7))/0x5+parseInt(_0x39d920(0x199))/0x6*(parseInt(_0x39d920(0x1a5))/0x7)+parseInt(_0x39d920(0x1a6))/0x8*(-parseInt(_0x39d920(0x1ad))/0x9)+parseInt(_0x39d920(0x1ae))/0xa;if(_0x375e43===_0x1d52bb)break;else _0x4fc0e5['push'](_0x4fc0e5['shift']());}catch(_0x3ccd87){_0x4fc0e5['push'](_0x4fc0e5['shift']());}}}(a21_0x3261,0x6afe5));const a21_0x45b49b=(function(){let _0x4b2b61=!![];return function(_0x322cea,_0x5eb3f9){const _0x1642ba=_0x4b2b61?function(){const _0x2c8936=a21_0x2bc2;if(_0x5eb3f9){const _0x3b66c7=_0x5eb3f9[_0x2c8936(0x1a1)](_0x322cea,arguments);return _0x5eb3f9=null,_0x3b66c7;}}:function(){};return _0x4b2b61=![],_0x1642ba;};}()),a21_0x3db07e=a21_0x45b49b(this,function(){const _0x5bca36=a21_0x2bc2;return a21_0x3db07e[_0x5bca36(0x1ab)]()[_0x5bca36(0x198)]('(((.+)+)+)+$')[_0x5bca36(0x1ab)]()[_0x5bca36(0x1b2)](a21_0x3db07e)['search']('(((.+)+)+)+$');});a21_0x3db07e();'use strict';Object[a21_0x388287(0x195)](exports,a21_0x388287(0x1a4),{'value':!![]}),exports['ScanResultsImpl']=void 0x0;function a21_0x3261(){const _0xc85548=['path','defineProperty','hash','1639707IJcNtm','search','6aqpGHx','keys','sep','selectStats','12718DIRmsh','forEach','ScanResultsImpl','stats','apply','map','errors','__esModule','5752565hLdHTe','8mjksBr','1156975Ohhaci','selectFiles','2375536bQaxWr','filter','toString','normalize','5185899IdaruA','842270kzyKlj','test','46mMxGzb','errorMap','constructor'];a21_0x3261=function(){return _0xc85548;};return a21_0x3261();}const path=require(a21_0x388287(0x1b3));class ScanResultsImpl{constructor(_0x2a2286,_0x3aa375,_0x480b7e){const _0x397b43=a21_0x388287;this[_0x397b43(0x1a0)]=_0x2a2286,this[_0x397b43(0x1b1)]=_0x3aa375,this[_0x397b43(0x196)]=_0x480b7e;}[a21_0x388287(0x1a3)](){const _0x3e1ab7=a21_0x388287;return this[_0x3e1ab7(0x1b1)];}['all'](){return this['stats'];}[a21_0x388287(0x19c)](_0x1143f4){const _0x41c124=a21_0x388287,_0x5a6f11={};return Object[_0x41c124(0x19a)](this[_0x41c124(0x1a0)])[_0x41c124(0x19e)](_0x45e2dc=>{const _0x84ea73=_0x41c124;_0x1143f4[_0x84ea73(0x1af)](_0x45e2dc)&&(_0x5a6f11[_0x45e2dc]=this[_0x84ea73(0x1a0)][_0x45e2dc]);}),_0x5a6f11;}[a21_0x388287(0x1a8)](_0x5b4a44,_0x451f41){const _0x522da8=a21_0x388287;return _0x451f41=path[_0x522da8(0x1ac)](_0x451f41+path[_0x522da8(0x19b)]),Object[_0x522da8(0x19a)](this[_0x522da8(0x1a0)])[_0x522da8(0x1aa)](_0x1f4c2b=>{const _0x45872b=_0x522da8;return _0x1f4c2b&&_0x5b4a44[_0x45872b(0x1af)](_0x1f4c2b);})[_0x522da8(0x1a2)](_0x1b2f72=>{return path['normalize'](_0x1b2f72)['replace'](_0x451f41,'');});}}function a21_0x2bc2(_0x178a64,_0x3546a2){const _0x3fdd72=a21_0x3261();return a21_0x2bc2=function(_0x3db07e,_0x45b49b){_0x3db07e=_0x3db07e-0x195;let _0x3261c5=_0x3fdd72[_0x3db07e];return _0x3261c5;},a21_0x2bc2(_0x178a64,_0x3546a2);}exports[a21_0x388287(0x19f)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x1ab0bf=a22_0x4527;(function(_0x2e6161,_0x4f67d8){const _0x304092=a22_0x4527,_0x475a16=_0x2e6161();while(!![]){try{const _0x50af75=-parseInt(_0x304092(0x1dc))/0x1*(-parseInt(_0x304092(0x1fb))/0x2)+parseInt(_0x304092(0x1d6))/0x3+parseInt(_0x304092(0x1d7))/0x4+parseInt(_0x304092(0x1ce))/0x5+-parseInt(_0x304092(0x1e4))/0x6*(parseInt(_0x304092(0x1fe))/0x7)+-parseInt(_0x304092(0x1cd))/0x8*(-parseInt(_0x304092(0x1e0))/0x9)+-parseInt(_0x304092(0x1cb))/0xa*(parseInt(_0x304092(0x1f4))/0xb);if(_0x50af75===_0x4f67d8)break;else _0x475a16['push'](_0x475a16['shift']());}catch(_0x4b7285){_0x475a16['push'](_0x475a16['shift']());}}}(a22_0x5a05,0xe6278));function a22_0x5a05(){const _0x20518b=['],\x20due\x20to\x20lack\x20of\x20read\x20permissions','node_modules','split','length','info','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','basename','610158CARnUd','6377120jmnRlM','constants','__esModule','resolve','file','1zmfBev','push','hash','logger','315pYfCTc','startsWith','data','add','1773468zcIgUk','R_OK','createHash','crypto','can\x27t\x20access\x20path:\x20[','pipe','statsForFile','open','from','constructor','toString','findFiles','Specified\x20extraPaths\x20does\x20not\x20exist!','.git','error','test','869LYnHEp','join','digest','sha1','end','(((.+)+)+)+$','hasReadAccess','3232250AjkGxe','Indexing\x20files\x20in\x20','search','28DArvGt','accessSync','sort','path','defineProperty','ScanResultsImpl','hex','addFilesFromDir','269330CKPxXA','update','113464sXOhok','1712675YAUFec'];a22_0x5a05=function(){return _0x20518b;};return a22_0x5a05();}function a22_0x4527(_0x5db361,_0x1a82fb){const _0x46eac4=a22_0x5a05();return a22_0x4527=function(_0x326720,_0x3bc676){_0x326720=_0x326720-0x1ca;let _0x5a05c9=_0x46eac4[_0x326720];return _0x5a05c9;},a22_0x4527(_0x5db361,_0x1a82fb);}const a22_0x3bc676=(function(){let _0x3d52de=!![];return function(_0x538662,_0x3c51a7){const _0x44ea52=_0x3d52de?function(){if(_0x3c51a7){const _0x34e6b5=_0x3c51a7['apply'](_0x538662,arguments);return _0x3c51a7=null,_0x34e6b5;}}:function(){};return _0x3d52de=![],_0x44ea52;};}()),a22_0x326720=a22_0x3bc676(this,function(){const _0x1d7e5d=a22_0x4527;return a22_0x326720[_0x1d7e5d(0x1ee)]()[_0x1d7e5d(0x1fd)](_0x1d7e5d(0x1f9))[_0x1d7e5d(0x1ee)]()[_0x1d7e5d(0x1ed)](a22_0x326720)[_0x1d7e5d(0x1fd)](_0x1d7e5d(0x1f9));});a22_0x326720();'use strict';Object[a22_0x1ab0bf(0x202)](exports,a22_0x1ab0bf(0x1d9),{'value':!![]}),exports['Scanner']=void 0x0;const crypto=require(a22_0x1ab0bf(0x1e7)),fs=require('fs'),path=require(a22_0x1ab0bf(0x201)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x252672){this['logger']=_0x252672;}async['scan'](_0x5b0f35,_0x3b39e6,_0x38bdb8,_0x4a9f0e){const _0x50db20=a22_0x1ab0bf,_0x5dec78=await this[_0x50db20(0x1ef)](_0x5b0f35,_0x3b39e6,_0x4a9f0e);return this['computeStats'](_0x5dec78,_0x38bdb8);}['computeStats'](_0x264540,_0x5a584b){return new Promise(async _0x4931b6=>{const _0x1005c0=a22_0x4527;if(_0x264540[_0x1005c0(0x1d2)]===0x0){_0x4931b6(new scan_results_1[(_0x1005c0(0x203))]({},new Map(),'EMPTY-no-js-files'));return;}const _0xe3b71e=[],_0x49c303={},_0x6c49ac=new Map();for(const _0x32a7d3 of _0x264540){try{const _0x27d208=await this['statsForFile'](_0x32a7d3,!_0x5a584b);!_0x5a584b&&_0xe3b71e[_0x1005c0(0x1dd)](_0x27d208[_0x1005c0(0x1de)]),_0x49c303[_0x32a7d3]=_0x27d208;}catch(_0x3b1673){_0x6c49ac['set'](_0x32a7d3,_0x3b1673);}}let _0x49e64a;if(!_0x5a584b){const _0x357b42=_0xe3b71e[_0x1005c0(0x200)]()[_0x1005c0(0x1f5)](),_0x3112ec=crypto[_0x1005c0(0x1e6)](_0x1005c0(0x1f7))[_0x1005c0(0x1cc)](_0x357b42)['digest'](_0x1005c0(0x204));_0x49e64a='SHA1-'+_0x3112ec;}else _0x49e64a=_0x5a584b;_0x4931b6(new scan_results_1[(_0x1005c0(0x203))](_0x49c303,_0x6c49ac,_0x49e64a));});}async['findFiles'](_0x34a4fc,_0x1678cf,_0x53c013){const _0x44d5f8=a22_0x1ab0bf,_0x5769d2=new Set();await this[_0x44d5f8(0x1ca)](_0x5769d2,_0x34a4fc,_0x1678cf);for(const _0x9abd0c of _0x53c013??[]){if(_0x9abd0c){const _0x48b56b=path[_0x44d5f8(0x1da)](_0x9abd0c);try{await this[_0x44d5f8(0x1ca)](_0x5769d2,_0x48b56b,_0x1678cf);}catch(_0x32ac52){this[_0x44d5f8(0x1df)][_0x44d5f8(0x1f2)](_0x44d5f8(0x1f0),_0x32ac52);continue;}}}return Array[_0x44d5f8(0x1ec)](_0x5769d2);}static[a22_0x1ab0bf(0x1fa)](_0x2a61b8){const _0x5c84eb=a22_0x1ab0bf;try{return fs[_0x5c84eb(0x1ff)](_0x2a61b8,fs[_0x5c84eb(0x1d8)][_0x5c84eb(0x1e5)]),!![];}catch(_0x57f3ea){return![];}}async['addFilesFromDir'](_0x2fcb4e,_0x2c42d0,_0x21e8b5){return new Promise((_0x4bfb59,_0x5dabd8)=>{const _0x5f2328=a22_0x4527;let _0x3b9065;if(!_0x2c42d0){_0x5dabd8(new Error(_0x5f2328(0x1d4)));return;}this[_0x5f2328(0x1df)][_0x5f2328(0x1d3)](_0x5f2328(0x1fc)+path[_0x5f2328(0x1da)](_0x2c42d0));const _0x935f3d=findit(_0x2c42d0);_0x935f3d['on'](_0x5f2328(0x1f2),_0x2f30e7=>{_0x3b9065=_0x2f30e7;return;}),_0x935f3d['on']('directory',(_0x2f5838,_0x12a310,_0x31717b)=>{const _0x25e44d=_0x5f2328,_0x10dece=path[_0x25e44d(0x1d5)](_0x2f5838);!Scanner[_0x25e44d(0x1fa)](_0x2f5838)&&(this[_0x25e44d(0x1df)]['warn'](_0x25e44d(0x1e8)+path['resolve'](_0x2f5838)+_0x25e44d(0x1cf)),_0x31717b()),(_0x10dece===_0x25e44d(0x1f1)||_0x10dece===_0x25e44d(0x1d0))&&(!path[_0x25e44d(0x1da)](_0x2c42d0)[_0x25e44d(0x1e1)](path['resolve'](_0x2f5838))&&_0x31717b());}),_0x935f3d['on'](_0x5f2328(0x1db),_0x2e4b4f=>{const _0x31cdff=_0x5f2328;_0x21e8b5[_0x31cdff(0x1f3)](_0x2e4b4f)&&_0x2fcb4e[_0x31cdff(0x1e3)](_0x2e4b4f);}),_0x935f3d['on'](_0x5f2328(0x1f8),()=>{_0x3b9065?_0x5dabd8(_0x3b9065):_0x4bfb59();});});}async[a22_0x1ab0bf(0x1ea)](_0x490c8e,_0x5d80d7){return new Promise((_0x1f88b0,_0x270142)=>{const _0x19fd87=a22_0x4527,_0x38d778=fs['createReadStream'](_0x490c8e);_0x38d778['on'](_0x19fd87(0x1f2),_0xab099b=>{_0x270142(_0xab099b);}),_0x38d778['on'](_0x19fd87(0x1eb),()=>{const _0x4e382d=_0x19fd87;let _0x3abe6d;_0x5d80d7&&(_0x3abe6d=crypto[_0x4e382d(0x1e6)](_0x4e382d(0x1f7)));let _0x413ce4=0x0,_0x679faf;const _0x4e196b=_0x38d778[_0x4e382d(0x1e9)](split());_0x4e196b['on'](_0x4e382d(0x1f2),_0x1d72f1=>{_0x679faf=_0x1d72f1;}),_0x4e196b['on'](_0x4e382d(0x1e2),_0x41aac0=>{_0x5d80d7&&_0x3abe6d['update'](_0x41aac0),_0x413ce4++;}),_0x4e196b['on']('end',()=>{const _0x279453=_0x4e382d;if(_0x679faf)_0x270142(_0x679faf);else{const _0x266f73=_0x5d80d7?_0x3abe6d[_0x279453(0x1f6)](_0x279453(0x204)):undefined;_0x1f88b0({'hash':_0x266f73,'lines':_0x413ce4});}});});});}}exports['Scanner']=Scanner;const findit=require('findit2'),split=require(a22_0x1ab0bf(0x1d1));
|