lightrun 1.90.0 → 1.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/agent-metadata-collector.js +1 -0
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/generated/agent-metadata-lookup.json +166 -0
- package/build/src/index.d.ts +4 -0
- 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 +6 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x3b376f=a15_0x2423;(function(_0x4290e6,_0x521d1d){const _0x41f91d=a15_0x2423,_0x312801=_0x4290e6();while(!![]){try{const _0x9e1a2b=parseInt(_0x41f91d(0xe5))/0x1*(parseInt(_0x41f91d(0xf7))/0x2)+parseInt(_0x41f91d(0xe3))/0x3+parseInt(_0x41f91d(0xe4))/0x4*(parseInt(_0x41f91d(0xec))/0x5)+-parseInt(_0x41f91d(0xf0))/0x6*(-parseInt(_0x41f91d(0xf3))/0x7)+-parseInt(_0x41f91d(0xf2))/0x8*(parseInt(_0x41f91d(0xe9))/0x9)+-parseInt(_0x41f91d(0xe7))/0xa*(-parseInt(_0x41f91d(0xe8))/0xb)+-parseInt(_0x41f91d(0xeb))/0xc;if(_0x9e1a2b===_0x521d1d)break;else _0x312801['push'](_0x312801['shift']());}catch(_0x3f149a){_0x312801['push'](_0x312801['shift']());}}}(a15_0x53be,0xb4ebf));function a15_0x2423(_0x40982a,_0xaef301){const _0x10a5c0=a15_0x53be();return a15_0x2423=function(_0x39fb70,_0x11baf7){_0x39fb70=_0x39fb70-0xdf;let _0x53be12=_0x10a5c0[_0x39fb70];return _0x53be12;},a15_0x2423(_0x40982a,_0xaef301);}const a15_0x11baf7=(function(){let _0x43d0aa=!![];return function(_0x1477a9,_0xfb4120){const _0x2434eb=_0x43d0aa?function(){if(_0xfb4120){const _0x5e30b5=_0xfb4120['apply'](_0x1477a9,arguments);return _0xfb4120=null,_0x5e30b5;}}:function(){};return _0x43d0aa=![],_0x2434eb;};}()),a15_0x39fb70=a15_0x11baf7(this,function(){const _0x43b3e6=a15_0x2423;return a15_0x39fb70[_0x43b3e6(0xf5)]()[_0x43b3e6(0xe6)](_0x43b3e6(0xf4))[_0x43b3e6(0xf5)]()['constructor'](a15_0x39fb70)[_0x43b3e6(0xe6)](_0x43b3e6(0xf4));});a15_0x39fb70();'use strict';Object[a15_0x3b376f(0xe0)](exports,a15_0x3b376f(0xe2),{'value':!![]}),exports[a15_0x3b376f(0xf1)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x22fda9=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x22fda9[a15_0x3b376f(0xea)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})['value']*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x22fda9[a15_0x3b376f(0xea)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a15_0x3b376f(0xed)]*0.7},'maxExpandFrames':{'min':0x0,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x22fda9[a15_0x3b376f(0xf6)],{'min':0x1,'max':0xa})['value'],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x36a344,{max:_0x553276,min:_0x592980},_0x29bf98)=>{const _0x332380=a15_0x3b376f;let _0x20a5b4;if(_0x36a344>_0x553276)return _0x29bf98&&(_0x20a5b4=_0x332380(0xe1)+_0x29bf98+'\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x553276),{'value':_0x553276,'warning':_0x20a5b4};else{if(_0x36a344<_0x592980)return _0x29bf98&&(_0x20a5b4=_0x332380(0xe1)+_0x29bf98+_0x332380(0xdf)+_0x592980),{'value':_0x592980,'warning':_0x20a5b4};}return{'value':_0x36a344,'warning':_0x20a5b4};},limitConfig=_0x578b1c=>{const _0x115731=a15_0x3b376f,{capture:_0x3b9984}=_0x578b1c,_0x15d828=[],_0x2d0b34=getCaptureConfigLimits(_0x3b9984),_0x49ef0e={};for(const [_0x4b25ce,_0x1d16c9]of Object[_0x115731(0xef)](_0x2d0b34)){const _0x16181e=_0x3b9984[_0x4b25ce];if(typeof _0x16181e===_0x115731(0xf8)){const {value:_0x2d190d,warning:_0x1099d9}=resolveLimitedConfig(_0x16181e,_0x1d16c9,_0x4b25ce);_0x49ef0e[_0x4b25ce]=_0x2d190d,_0x1099d9&&_0x15d828[_0x115731(0xee)](_0x1099d9);}}return{..._0x578b1c,'capture':{..._0x3b9984,..._0x49ef0e},'warnings':_0x15d828};};exports[a15_0x3b376f(0xf1)]=limitConfig;function a15_0x53be(){const _0xd54bb1=['8rwJowV','412034hGtUuQ','(((.+)+)+)+$','toString','maxExpandFrames','22KehmeH','number','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','defineProperty','Config\x20','__esModule','2622006YEskfT','1219588rleSny','113782UmPtSl','search','60BhCgME','1536766zfClPp','11974437FlCTRB','maxSnapshotBufferSize','17897988upYMuI','5hSvfBc','value','push','entries','30OWZeOp','limitConfig'];a15_0x53be=function(){return _0xd54bb1;};return a15_0x53be();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a16_0x1b67(_0x414502,_0x3c1f0e){const _0x2ed3b3=a16_0x29d9();return a16_0x1b67=function(_0x53c0f9,_0x41514f){_0x53c0f9=_0x53c0f9-0xcc;let _0x29d903=_0x2ed3b3[_0x53c0f9];return _0x29d903;},a16_0x1b67(_0x414502,_0x3c1f0e);}const a16_0x1cfb64=a16_0x1b67;(function(_0x489260,_0x2307a1){const _0x2b7c89=a16_0x1b67,_0x1587db=_0x489260();while(!![]){try{const _0x2ad9ac=-parseInt(_0x2b7c89(0xd2))/0x1+-parseInt(_0x2b7c89(0xcd))/0x2*(parseInt(_0x2b7c89(0xcc))/0x3)+-parseInt(_0x2b7c89(0xdb))/0x4*(parseInt(_0x2b7c89(0xcf))/0x5)+-parseInt(_0x2b7c89(0xd7))/0x6*(-parseInt(_0x2b7c89(0xda))/0x7)+parseInt(_0x2b7c89(0xd6))/0x8+-parseInt(_0x2b7c89(0xd9))/0x9*(parseInt(_0x2b7c89(0xdd))/0xa)+-parseInt(_0x2b7c89(0xce))/0xb*(-parseInt(_0x2b7c89(0xd5))/0xc);if(_0x2ad9ac===_0x2307a1)break;else _0x1587db['push'](_0x1587db['shift']());}catch(_0x325ceb){_0x1587db['push'](_0x1587db['shift']());}}}(a16_0x29d9,0xa2e7f));const a16_0x41514f=(function(){let _0x374770=!![];return function(_0x1b1419,_0x4f7ec9){const _0x230c36=_0x374770?function(){const _0x1a50c2=a16_0x1b67;if(_0x4f7ec9){const _0xc9f59=_0x4f7ec9[_0x1a50c2(0xd3)](_0x1b1419,arguments);return _0x4f7ec9=null,_0xc9f59;}}:function(){};return _0x374770=![],_0x230c36;};}()),a16_0x53c0f9=a16_0x41514f(this,function(){const _0x1856e6=a16_0x1b67;return a16_0x53c0f9[_0x1856e6(0xd8)]()[_0x1856e6(0xd0)](_0x1856e6(0xde))[_0x1856e6(0xd8)]()['constructor'](a16_0x53c0f9)[_0x1856e6(0xd0)](_0x1856e6(0xde));});a16_0x53c0f9();'use strict';function a16_0x29d9(){const _0x572db3=['toString','292572zwqoMR','1476202YNHIAW','8VtOAcZ','defineProperty','220wEIAwU','(((.+)+)+)+$','3rqwFsd','924714CCAoxG','402809arFOXA','1826315EIkSNw','search','push','344397rlnnSh','apply','mapSubtract','660HFnRhi','5558304JfHqjT','6pHMpOT'];a16_0x29d9=function(){return _0x572db3;};return a16_0x29d9();}Object[a16_0x1cfb64(0xdc)](exports,'__esModule',{'value':!![]}),exports[a16_0x1cfb64(0xd4)]=void 0x0;const mapSubtract=(_0x18e2f3,_0x29119d)=>{const _0x3c9759=a16_0x1cfb64,_0x529d51=[];for(const _0x29ff18 in _0x18e2f3){!_0x29119d[_0x29ff18]&&_0x529d51[_0x3c9759(0xd1)](_0x18e2f3[_0x29ff18]);}return _0x529d51;};exports[a16_0x1cfb64(0xd4)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x3eacc5=a17_0x677b;function a17_0x677b(_0x36aa86,_0x3d60d3){const _0x7b6d32=a17_0x70f1();return a17_0x677b=function(_0x35bad9,_0x20198c){_0x35bad9=_0x35bad9-0x197;let _0x70f1c5=_0x7b6d32[_0x35bad9];return _0x70f1c5;},a17_0x677b(_0x36aa86,_0x3d60d3);}function a17_0x70f1(){const _0x278d15=['agentConfigFile','GAE_DEPLOYMENT_ID','FETCH_BREAKPOINTS_ONCE','LIGHTRUN_PROXY_HOST','AGENT_LOG_MAX_FILE_SIZE_MB','../config','GAE_VERSION','91401OLhuek','LIGHTRUN_PROXY_PASSWORD','agentLogTargetDir','GAE_MODULE_NAME','LIGHTRUN_TAGS','GAE_SERVICE','env','split','defaultConfig','GAE_MINOR_VERSION','forEach','registration','limitConfig','agentLog','FUNCTION_NAME','1264070bvkkhQ','unversioned','2864356JQCAqH','extend','getAgentConfig','LIGHTRUN_METADATA_FILE','toString','LIGHTRUN_WAIT_FOR_INIT','17668crOPCf','LIGHTRUN_INIT_WAIT_TIME_MS','../util/utils','LIGHTRUN_SECRET','183tvgWmn','service','LIGHTRUN_PROXY_PORT','LIGHTRUN_STD_ERR_THRESHOLD','24IBjFls','apply','agentLogLevel','272760qSvoFg','AGENT_LOG_LEVEL','validateConfig','getBooleanValue','configSchema','./getAgentConfig','agentLogMaxFileSizeMb','message','K_REVISION','(((.+)+)+)+$','661724mkiciW','validateSync','search','constructor','24HsBSZT','117awsmXs','AGENT_LOG_MAX_FILE_COUNT','494072XlHjSS','serviceContext','2bzcJNz','agentLogMaxFileCount','path','LIGHTRUN_API_ENDPOINT','NO_CHECK_CERTIFICATE','GAE_MODULE_VERSION','normalizeConfig','LIGHTRUN_AGENT_CONFIG'];a17_0x70f1=function(){return _0x278d15;};return a17_0x70f1();}(function(_0x3cb165,_0x4bb47b){const _0x47f8fc=a17_0x677b,_0x456ef5=_0x3cb165();while(!![]){try{const _0x55555c=-parseInt(_0x47f8fc(0x1d6))/0x1*(-parseInt(_0x47f8fc(0x1c7))/0x2)+-parseInt(_0x47f8fc(0x1ad))/0x3*(-parseInt(_0x47f8fc(0x1a9))/0x4)+-parseInt(_0x47f8fc(0x1a1))/0x5+-parseInt(_0x47f8fc(0x1b1))/0x6*(-parseInt(_0x47f8fc(0x1be))/0x7)+-parseInt(_0x47f8fc(0x1c5))/0x8+parseInt(_0x47f8fc(0x1c3))/0x9*(parseInt(_0x47f8fc(0x1b4))/0xa)+parseInt(_0x47f8fc(0x1a3))/0xb*(-parseInt(_0x47f8fc(0x1c2))/0xc);if(_0x55555c===_0x4bb47b)break;else _0x456ef5['push'](_0x456ef5['shift']());}catch(_0x1b888d){_0x456ef5['push'](_0x456ef5['shift']());}}}(a17_0x70f1,0x3f08d));const a17_0x20198c=(function(){let _0x47fd91=!![];return function(_0x265cc3,_0x26a1a0){const _0x7f7b70=_0x47fd91?function(){const _0x2eb2ce=a17_0x677b;if(_0x26a1a0){const _0x111406=_0x26a1a0[_0x2eb2ce(0x1b2)](_0x265cc3,arguments);return _0x26a1a0=null,_0x111406;}}:function(){};return _0x47fd91=![],_0x7f7b70;};}()),a17_0x35bad9=a17_0x20198c(this,function(){const _0x316647=a17_0x677b;return a17_0x35bad9['toString']()[_0x316647(0x1c0)](_0x316647(0x1bd))[_0x316647(0x1a7)]()[_0x316647(0x1c1)](a17_0x35bad9)[_0x316647(0x1c0)](_0x316647(0x1bd));});a17_0x35bad9();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a17_0x3eacc5(0x1cd)]=exports[a17_0x3eacc5(0x1b6)]=void 0x0;const extend=require(a17_0x3eacc5(0x1a4)),config_1=require(a17_0x3eacc5(0x1d4)),utils_1=require(a17_0x3eacc5(0x1ab)),getAgentConfig_1=require(a17_0x3eacc5(0x1b9)),limitConfig_1=require('./limitConfig'),validateConfig=_0x27a732=>{const _0x18d383=a17_0x3eacc5,_0x247d1e={};try{config_1[_0x18d383(0x1b8)][_0x18d383(0x1bf)](_0x27a732,{'abortEarly':![]});}catch(_0x52623e){_0x52623e['inner']['filter'](_0x13874d=>_0x13874d['path']&&_0x13874d[_0x18d383(0x1bb)])[_0x18d383(0x19c)](_0x50eb3b=>{const _0x2702a5=_0x18d383;_0x247d1e[_0x50eb3b[_0x2702a5(0x1c9)]]=_0x50eb3b[_0x2702a5(0x1bb)];});}return _0x247d1e;};exports[a17_0x3eacc5(0x1b6)]=validateConfig;const normalizeConfig=_0x5ee944=>{const _0x102786=a17_0x3eacc5,_0x38490f={'serviceContext':{'service':process[_0x102786(0x198)][_0x102786(0x197)]??process['env'][_0x102786(0x1d9)]??process[_0x102786(0x198)]['K_SERVICE'],'version':process[_0x102786(0x198)][_0x102786(0x1d5)]??process[_0x102786(0x198)][_0x102786(0x1cc)]??process[_0x102786(0x198)][_0x102786(0x1bc)],'minorVersion_':process['env'][_0x102786(0x1d0)]??process[_0x102786(0x198)][_0x102786(0x19b)]},'metadata':{'filename':process[_0x102786(0x198)][_0x102786(0x1a6)],'registration':{}},'lightrunSecret':process[_0x102786(0x198)][_0x102786(0x1ac)],'apiEndpoint':process[_0x102786(0x198)][_0x102786(0x1ca)],'noCheckCertificate':(0x0,utils_1[_0x102786(0x1b7)])(process[_0x102786(0x198)][_0x102786(0x1cb)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x102786(0x1b7)])(process[_0x102786(0x198)][_0x102786(0x1d1)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x102786(0x198)][_0x102786(0x1a8)]),'lightrunInitWaitTimeMs':process[_0x102786(0x198)][_0x102786(0x1aa)],'agentLog':_0x5ee944?.[_0x102786(0x19f)]??{},'proxy':{'host':process[_0x102786(0x198)][_0x102786(0x1d2)],'port':parseInt(process[_0x102786(0x198)][_0x102786(0x1af)]??'')||undefined,'username':process[_0x102786(0x198)]['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x102786(0x198)][_0x102786(0x1d7)]}};process[_0x102786(0x198)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x38490f['agentLog']['stdErrThreshold']=process['env'][_0x102786(0x1b0)]);process[_0x102786(0x198)][_0x102786(0x1b5)]!==undefined&&(_0x38490f['agentLog'][_0x102786(0x1b3)]=process[_0x102786(0x198)][_0x102786(0x1b5)]);process[_0x102786(0x198)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x38490f[_0x102786(0x19f)][_0x102786(0x1d8)]=process['env']['AGENT_LOG_TARGET_DIR']);process[_0x102786(0x198)][_0x102786(0x1c4)]!==undefined&&(_0x38490f[_0x102786(0x19f)][_0x102786(0x1c8)]=parseInt(process[_0x102786(0x198)]['AGENT_LOG_MAX_FILE_COUNT']));process[_0x102786(0x198)][_0x102786(0x1d3)]!==undefined&&(_0x38490f[_0x102786(0x19f)][_0x102786(0x1ba)]=parseInt(process[_0x102786(0x198)][_0x102786(0x1d3)]));process['env'][_0x102786(0x1a0)]&&(_0x38490f[_0x102786(0x1c6)][_0x102786(0x1ae)]=process['env'][_0x102786(0x1a0)],_0x38490f['serviceContext']['version']=_0x102786(0x1a2));process[_0x102786(0x198)][_0x102786(0x1da)]&&(_0x38490f['metadata'][_0x102786(0x19d)]={'tags':process[_0x102786(0x198)][_0x102786(0x1da)][_0x102786(0x199)](',')});const _0x45cd03=(0x0,getAgentConfig_1[_0x102786(0x1a5)])(process[_0x102786(0x198)][_0x102786(0x1ce)]??_0x5ee944?.[_0x102786(0x1cf)]??config_1[_0x102786(0x19a)][_0x102786(0x1cf)]),_0x2eb553=(0x0,limitConfig_1[_0x102786(0x19e)])(extend(!![],{},config_1[_0x102786(0x19a)],_0x45cd03,_0x5ee944,_0x38490f)),_0xc6e914=(0x0,exports[_0x102786(0x1b6)])(_0x2eb553);return{..._0x2eb553,'errors':_0xc6e914};};exports['normalizeConfig']=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x23ef88=a18_0x2250;(function(_0x4565e6,_0x348d35){const _0x3a09fc=a18_0x2250,_0x4b0bcb=_0x4565e6();while(!![]){try{const _0x26cdfe=parseInt(_0x3a09fc(0x146))/0x1+parseInt(_0x3a09fc(0x14e))/0x2+-parseInt(_0x3a09fc(0x13f))/0x3+-parseInt(_0x3a09fc(0x149))/0x4*(-parseInt(_0x3a09fc(0x14f))/0x5)+parseInt(_0x3a09fc(0x148))/0x6+-parseInt(_0x3a09fc(0x14a))/0x7*(-parseInt(_0x3a09fc(0x143))/0x8)+-parseInt(_0x3a09fc(0x141))/0x9;if(_0x26cdfe===_0x348d35)break;else _0x4b0bcb['push'](_0x4b0bcb['shift']());}catch(_0x46224d){_0x4b0bcb['push'](_0x4b0bcb['shift']());}}}(a18_0x4c83,0x58739));function a18_0x2250(_0x26c9dc,_0x32c297){const _0x102724=a18_0x4c83();return a18_0x2250=function(_0x3242ce,_0x58343d){_0x3242ce=_0x3242ce-0x13d;let _0x4c83cf=_0x102724[_0x3242ce];return _0x4c83cf;},a18_0x2250(_0x26c9dc,_0x32c297);}const a18_0x58343d=(function(){let _0x363aa4=!![];return function(_0x43d23a,_0x4b56c6){const _0x5f5322=_0x363aa4?function(){const _0x362207=a18_0x2250;if(_0x4b56c6){const _0x3723b3=_0x4b56c6[_0x362207(0x140)](_0x43d23a,arguments);return _0x4b56c6=null,_0x3723b3;}}:function(){};return _0x363aa4=![],_0x5f5322;};}()),a18_0x3242ce=a18_0x58343d(this,function(){const _0x1434d0=a18_0x2250;return a18_0x3242ce[_0x1434d0(0x145)]()[_0x1434d0(0x14c)](_0x1434d0(0x14d))[_0x1434d0(0x145)]()['constructor'](a18_0x3242ce)[_0x1434d0(0x14c)](_0x1434d0(0x14d));});a18_0x3242ce();'use strict';function a18_0x4c83(){const _0x239448=['search','(((.+)+)+)+$','1365866KEzYHt','50YjdBYC','tokenize','__esModule','139320oqJOFw','apply','16967844PYIsgu','push','232PGLPut','defineProperty','toString','445258JHWsmR','./delimit','3202866LHKgmX','7608teJRlN','147973UDRafE','delimit'];a18_0x4c83=function(){return _0x239448;};return a18_0x4c83();}Object[a18_0x23ef88(0x144)](exports,a18_0x23ef88(0x13e),{'value':!![]}),exports[a18_0x23ef88(0x13d)]=void 0x0;const delimit_1=require(a18_0x23ef88(0x147)),tokenize=(_0x2dc5a3,_0x50580a)=>{const _0x576895=a18_0x23ef88;let _0x2cb5d8=(0x0,delimit_1[_0x576895(0x14b)])(_0x2dc5a3,'$$');for(let _0x313c74=_0x50580a-0x1;_0x313c74>=0x0;_0x313c74--){const _0x235fc3=[];for(const _0x46153b of _0x2cb5d8){_0x46153b['v']?_0x235fc3[_0x576895(0x142)](_0x46153b):_0x235fc3[_0x576895(0x142)](...(0x0,delimit_1['delimit'])(_0x46153b,'$'+_0x313c74));}_0x2cb5d8=_0x235fc3;}return _0x2cb5d8;};exports[a18_0x23ef88(0x13d)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x5d7590=a18_0x2da5;(function(_0x5d1377,_0x45bb38){const _0xd27635=a18_0x2da5,_0xdd3c0=_0x5d1377();while(!![]){try{const _0x4548dd=-parseInt(_0xd27635(0x284))/0x1*(parseInt(_0xd27635(0x28b))/0x2)+parseInt(_0xd27635(0x223))/0x3*(-parseInt(_0xd27635(0x2e8))/0x4)+parseInt(_0xd27635(0x2c3))/0x5*(parseInt(_0xd27635(0x30a))/0x6)+parseInt(_0xd27635(0x224))/0x7+parseInt(_0xd27635(0x24c))/0x8*(-parseInt(_0xd27635(0x2a9))/0x9)+-parseInt(_0xd27635(0x26c))/0xa+-parseInt(_0xd27635(0x22f))/0xb*(-parseInt(_0xd27635(0x29f))/0xc);if(_0x4548dd===_0x45bb38)break;else _0xdd3c0['push'](_0xdd3c0['shift']());}catch(_0x95c6f4){_0xdd3c0['push'](_0xdd3c0['shift']());}}}(a18_0x59b4,0x5d799));function a18_0x2da5(_0x310be6,_0x49c661){const _0x886ee9=a18_0x59b4();return a18_0x2da5=function(_0x49c433,_0x2f5816){_0x49c433=_0x49c433-0x1ef;let _0x59b495=_0x886ee9[_0x49c433];return _0x59b495;},a18_0x2da5(_0x310be6,_0x49c661);}const a18_0x2f5816=(function(){let _0x111ec4=!![];return function(_0x4efa68,_0x4b0936){const _0x202c40=_0x111ec4?function(){const _0x2a345a=a18_0x2da5;if(_0x4b0936){const _0x10a482=_0x4b0936[_0x2a345a(0x25a)](_0x4efa68,arguments);return _0x4b0936=null,_0x10a482;}}:function(){};return _0x111ec4=![],_0x202c40;};}()),a18_0x49c433=a18_0x2f5816(this,function(){const _0x59aa44=a18_0x2da5;return a18_0x49c433[_0x59aa44(0x2b1)]()[_0x59aa44(0x21e)]('(((.+)+)+)+$')[_0x59aa44(0x2b1)]()[_0x59aa44(0x2bd)](a18_0x49c433)[_0x59aa44(0x21e)](_0x59aa44(0x2d2));});function a18_0x59b4(){const _0x5b08ce=['isRegistered','findFiles','\x09adding\x20breakpoint','Scheduling\x20registration\x20in\x20','resolve','isRunning','pid','enable','breakpoints','getSourceContextFromFile','SIGTERM','.\x20message:\x20','quotaRecoverySeconds','expirationTime','redactionEnabled','filter','log','initError','Blacklist:\x20\x0a\x09','CachedPromise','javascriptFileExtensions','parameters','shouldRedactByName','\x09successfully\x20added\x20breakpoint\x20id\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','debuglet','Error\x20processing\x20the\x20sourcemaps.','promiseResolve','Unknown\x20agentLogLevel\x20','isReady','map','SIGQUIT','\x09Long\x20poll\x20completed.','config','collectAndSendLog','./io/sourcemapper','kill','object','do\x20this.','UNSPECIFIED','search','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','__classPrivateFieldGet','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','3XFJQvd','3064649vCBYqG','Redactions:\x20\x0a\x09','setPatterns','Private\x20method\x20is\x20not\x20writable','description','./io/file-index','debug','pipeLogs','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','backoff','allowRootAsWorkingDirectory','649JvdIgX','error','inspect','SIGINT','./blocklisting/patterns-blocklist-manager','status','CAPTURE','Registered\x20as\x20debuggee:\x20','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','isAtLeastInfo','unref','scheduleBreakpointFetch_\x20','createDebuggee','__esModule','setBlocklistManager','value','Scanner','bind','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','./util/utils','waitForBreakpoints','internal','length','name:\x20','add','re-register\x20debuggee\x20','extraPaths','QuotaManager','Switching\x20globalPiping\x20status\x20from\x20','8NDUhxr','Malformed\x20source-context.json\x20file:\x20','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','\x0a\x09expressions:\x20','breakpoints_fetched','warn','jsFileIndex','stringify','isRedactionActive','maxRequestRetryDelaySeconds','default','emit','set','../client/stackdriver/status-message','apply','Starting\x20debuggee','REDACTED_PLACEHOLDER','message','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','waitExpired','RedactionManagerRE2JS','\x20to\x20','isReadyManager','then','isLambda','./controller','clear','getRedactions','clientConnectionTimeoutInSeconds','Debuglet','APP_ONLY','agentLogLevel','2047120zTIjyz','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','extend','ignoreQuota','Breakpoint','wait','addAndPipeLog','createTime','readFile','Controller','create','beforeExit','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','entries','remainingHits','stdErrThreshold','cwd','./agent-logger','AGENT_LOG_FILE','agentLogMaxFileCount','reporting\x20breakpoint\x20','all','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','mapFiles','1QVJopL','function','getInitialLevel','assert','ALLOW_EXPRESSIONS_MESSAGE','js.map','sendAgentLogsToServer','1222792uOKhUj','__classPrivateFieldSet','isError','setPipingStatus','.\x20Error:\x20','stringifyBreakpointForInfoLog','existsSync','enqueueBreakpointUpdate','workingDirectory','remotelyDisabled','mapSubtract','agentLogMaxFileSizeMb','GAE_MINOR_VERSION','expressions','removeListener','seconds','now','errors','.\x20Retrying\x20in\x20','globalPipingStatus','168108nLKxQS','util','stopped','getProps','Debuglet\x20not\x20running','registration_failed','readFullVersion','Found\x20breakpoint\x20with\x20invalid\x20action:','breakpoints_fetch_registration_required','isDisabled','2124423jQAmVo','name','packageInfo','breakpoints_fetch_failed','caseInsensitive','defineProperty','join','setLevel','toString','debuggee','./v8/debugapi','\x20completed.','Expiring\x20breakpoint\x20id\x20','\x0a\x09createdTime:\x20','activeFeatures','\x20(type:\x20','started','Disabled\x20by\x20the\x20server','Active\x20Breakpoints:\x20\x0a','getClientConnectionTimeoutInSeconds','constructor','./piping-manager','setCustomLogLevel','removePerBreakpointQuota','./debuglet-helpers/format','call','77955XxlGHh','line','LOGPOINT:\x20','events','type','sourceContext','\x09remove\x20breakpoint\x20id\x20','breakpointExpirationSec','./quota-manager','forEach','Failed\x20to\x20','isArray','format','deregister','promisify','(((.+)+)+)+$','./debuglet-helpers/createDebuggee','substring','info','agentLog','concat','undefined','logger','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','GAE-','Error\x20scanning\x20the\x20filesystem.','fetcherActive','./debuglet-helpers/normalizeConfig','breakpoint_set','activeBreakpointMap','BREAKPOINT_ACTION_MESSAGE','blacklist_exception','selectFiles','once','rejecting\x20breakpoint\x20id\x20','Server\x20breakpoints:\x0a','logLevel','1624708YKyNlX','parse','location','replaceRedactedByValue','values','path','...\x20[truncated]','get','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','collectLogRequestId','stop','Fetching\x20breakpoints','removeBreakpoint','disable','action','NOT_SET','Unique\x20ID\x20for\x20this\x20Application:\x20','breakpointUpdateIntervalSec','StatusMessage','expirationSeconds','promise','condition','register','agentLogTargetDir','env','start','PipingManager','fetchBreakpointsOnce','ConfigurationProvider','../types/stackdriver','pipingManager','./config','getLevel','\x09Got\x20error\x20from\x20server.\x20status:\x20','222xDLbva','sep','\x20caseInsensitive:\x20','\x20because\x20','Stopping\x20Debuglet','):\x20pattern:\x20','fromFileStats','./reduction/redaction-manager-re2js','quota','waitFor','Blacklist\x20Exceptions:\x20\x0a\x09'];a18_0x59b4=function(){return _0x5b08ce;};return a18_0x59b4();}a18_0x49c433();'use strict';var __classPrivateFieldSet=this&&this[a18_0x5d7590(0x28c)]||function(_0x4dfa12,_0x52b989,_0x554319,_0x48e60b,_0x56459a){const _0x39f576=a18_0x5d7590;if(_0x48e60b==='m')throw new TypeError(_0x39f576(0x227));if(_0x48e60b==='a'&&!_0x56459a)throw new TypeError(_0x39f576(0x2da));if(typeof _0x52b989===_0x39f576(0x285)?_0x4dfa12!==_0x52b989||!_0x56459a:!_0x52b989['has'](_0x4dfa12))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x48e60b==='a'?_0x56459a['call'](_0x4dfa12,_0x554319):_0x56459a?_0x56459a[_0x39f576(0x23e)]=_0x554319:_0x52b989[_0x39f576(0x258)](_0x4dfa12,_0x554319),_0x554319;},__classPrivateFieldGet=this&&this[a18_0x5d7590(0x220)]||function(_0x1fbef9,_0x2b894a,_0x16f3a2,_0x390455){const _0xf7ed17=a18_0x5d7590;if(_0x16f3a2==='a'&&!_0x390455)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x2b894a===_0xf7ed17(0x285)?_0x1fbef9!==_0x2b894a||!_0x390455:!_0x2b894a['has'](_0x1fbef9))throw new TypeError(_0xf7ed17(0x24e));return _0x16f3a2==='m'?_0x390455:_0x16f3a2==='a'?_0x390455[_0xf7ed17(0x2c2)](_0x1fbef9):_0x390455?_0x390455[_0xf7ed17(0x23e)]:_0x2b894a[_0xf7ed17(0x2ef)](_0x1fbef9);},_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_0x5d7590(0x2ae)](exports,a18_0x5d7590(0x23c),{'value':!![]}),exports[a18_0x5d7590(0x269)]=exports[a18_0x5d7590(0x209)]=void 0x0;const assert=require(a18_0x5d7590(0x287)),events_1=require(a18_0x5d7590(0x2c6)),extend=require(a18_0x5d7590(0x26e)),fs=require('fs'),path=require(a18_0x5d7590(0x2ed)),util=require(a18_0x5d7590(0x2a0)),status_message_1=require(a18_0x5d7590(0x259)),stackdriver_1=require(a18_0x5d7590(0x305)),agent_logger_1=require(a18_0x5d7590(0x27d)),patterns_blocklist_manager_1=require(a18_0x5d7590(0x233)),config_1=require(a18_0x5d7590(0x307)),configuration_provider_1=require('./configuration-provider'),controller_1=require(a18_0x5d7590(0x265)),createDebuggee_1=require(a18_0x5d7590(0x2d3)),format_1=require(a18_0x5d7590(0x2c1)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require(a18_0x5d7590(0x2de)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x5d7590(0x229)),scanner_1=require('./io/scanner'),SourceMapper=require(a18_0x5d7590(0x219)),piping_manager_1=require(a18_0x5d7590(0x2be)),quota_manager_1=require(a18_0x5d7590(0x2cb)),redaction_manager_1=require('./reduction/redaction-manager'),utils_1=require(a18_0x5d7590(0x242)),debugapi=require(a18_0x5d7590(0x2b3)),redaction_manager_re2js_1=require(a18_0x5d7590(0x1f2)),readFilep=util[a18_0x5d7590(0x2d1)](fs[a18_0x5d7590(0x274)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x1c08bc,_0x68784c)=>{const _0x5c715d=a18_0x5d7590;let _0x4394b2=_0x1c08bc+util[_0x5c715d(0x2cf)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x68784c['id'],_0x68784c['action'],util[_0x5c715d(0x231)](_0x68784c[_0x5c715d(0x2ea)]));if(_0x68784c[_0x5c715d(0x273)]){const _0x2614ee=Number(_0x68784c[_0x5c715d(0x273)]['seconds']),_0x5a8ed7=new Date(_0x2614ee*0x3e8);_0x4394b2+=_0x5c715d(0x2b6)+_0x5a8ed7[_0x5c715d(0x2b1)]();}return _0x68784c[_0x5c715d(0x2fd)]&&(_0x4394b2+='\x0a\x09condition:\x20'+util[_0x5c715d(0x231)](_0x68784c[_0x5c715d(0x2fd)])),_0x68784c[_0x5c715d(0x298)]&&(_0x4394b2+=_0x5c715d(0x24f)+util[_0x5c715d(0x231)](_0x68784c[_0x5c715d(0x298)])),_0x4394b2;},formatBreakpoints=(_0x2d61f2,_0x220176)=>_0x2d61f2+Object['keys'](_0x220176)[a18_0x5d7590(0x214)](_0x1f1423=>formatBreakpoint('',_0x220176[_0x1f1423]))[a18_0x5d7590(0x2af)]('\x0a');class CachedPromise{constructor(){const _0x221a3b=a18_0x5d7590;this[_0x221a3b(0x211)]=null,this[_0x221a3b(0x2fc)]=new Promise(_0x188e01=>{this['promiseResolve']=_0x188e01;});}['get'](){return this['promise'];}[a18_0x5d7590(0x1fa)](){const _0x427362=a18_0x5d7590;this['promiseResolve']&&(this[_0x427362(0x211)](),this['promiseResolve']=null);}}exports[a18_0x5d7590(0x209)]=CachedPromise;class IsReadyImpl{constructor(_0x230f06){const _0x4779c1=a18_0x5d7590;this[_0x4779c1(0x20f)]=_0x230f06;}[a18_0x5d7590(0x213)](){const _0xa527d6=a18_0x5d7590;return this[_0xa527d6(0x20f)][_0xa527d6(0x213)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x47582f,_0x73ec44){const _0x1f430b=a18_0x5d7590;super(),_Debuglet_instances[_0x1f430b(0x247)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x1f430b(0x258)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x1f430b(0x258)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x1f430b(0x258)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x1f430b(0x258)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x1f430b(0x258)](this,null),this[_0x1f430b(0x262)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x1f430b(0x258)](this,void 0x0),_Debuglet_scanner[_0x1f430b(0x258)](this,void 0x0),_Debuglet_quotaManager[_0x1f430b(0x258)](this,void 0x0),_Debuglet_blocklistManager[_0x1f430b(0x258)](this,void 0x0),_Debuglet_redactionManager[_0x1f430b(0x258)](this,void 0x0),_Debuglet_configProvider[_0x1f430b(0x258)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x1f430b(0x258)](this,void 0x0),this[_0x1f430b(0x217)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x73ec44),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x1f430b(0x304))](this[_0x1f430b(0x217)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x47582f,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1f430b(0x2dd)]=![],this['logger']=agent_logger_1[_0x1f430b(0x256)]['createLogger'](this[_0x1f430b(0x217)][_0x1f430b(0x2d6)]['agentLogTargetDir'],this[_0x1f430b(0x217)]['agentLog'][_0x1f430b(0x296)],this[_0x1f430b(0x217)][_0x1f430b(0x2d6)][_0x1f430b(0x27f)],this[_0x1f430b(0x217)][_0x1f430b(0x2d6)]['agentLogLevel'],this[_0x1f430b(0x217)][_0x1f430b(0x2d6)][_0x1f430b(0x27b)]),(0x0,config_1['logMainConfigParams'])(this[_0x1f430b(0x217)],this[_0x1f430b(0x2d9)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x1f430b(0x2d9)])[_0x1f430b(0x2a2)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x1f430b(0x275))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x1f430b(0x23f))](this[_0x1f430b(0x2d9)]),'f'),this[_0x1f430b(0x2b2)]=null,this[_0x1f430b(0x2e0)]={},__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[(_0x1f430b(0x24a))](this['logger'],this[_0x1f430b(0x217)]),'f'),this['pipingManager']=new piping_manager_1[(_0x1f430b(0x302))](_0x1f430b(0x26a),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async['waitForTransmissionQueueDrain'](_0x1a8852){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x1a8852);}[a18_0x5d7590(0x2bc)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x5d7590(0x243)](_0x587620){const _0x123aa7=a18_0x5d7590,_0x3d762c=0x32;let _0x28c7c6=null;const _0x28d5f7=()=>_0x28c7c6=!![],_0x42101f=()=>_0x28c7c6=![],_0x1a362a=_0x59da51=>{if(_0x59da51)return;_0x28d5f7();};let _0x95cd1c=![];const _0x25a3c8=_0x1529d7=>{const _0x3f60d9=a18_0x2da5;_0x95cd1c&&_0x42101f(),_0x95cd1c=!![],this[_0x3f60d9(0x2fe)]();};this[_0x123aa7(0x2e4)]('breakpoints_fetched',_0x1a362a),this[_0x123aa7(0x2e4)](_0x123aa7(0x2df),_0x28d5f7);this[_0x123aa7(0x217)][_0x123aa7(0x244)]?.['isLambda']&&(this[_0x123aa7(0x2e4)]('registration_failed',_0x42101f),this[_0x123aa7(0x2e4)](_0x123aa7(0x2ac),_0x42101f),this[_0x123aa7(0x2e4)](_0x123aa7(0x2a7),_0x25a3c8));if(_0x587620){const _0x3ee7b3=Date['now']();while(_0x28c7c6===null&&Date[_0x123aa7(0x29b)]()-_0x3ee7b3<_0x587620){await(0x0,utils_1[_0x123aa7(0x1f4)])(_0x3d762c);}}return this[_0x123aa7(0x299)](_0x123aa7(0x250),_0x1a362a),this['removeListener']('breakpoint_set',_0x28d5f7),this[_0x123aa7(0x217)]['internal']?.[_0x123aa7(0x264)]&&(this[_0x123aa7(0x299)]('registration_failed',_0x42101f),this[_0x123aa7(0x299)](_0x123aa7(0x2ac),_0x42101f),this['removeListener'](_0x123aa7(0x2a7),_0x25a3c8)),_0x28c7c6===!![];}[a18_0x5d7590(0x303)](){const _0x996d90=a18_0x5d7590;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x996d90(0x2c2)](this,0x0,!![]);}[a18_0x5d7590(0x1f6)](){const _0x319fd4=a18_0x5d7590;return this[_0x319fd4(0x2b2)]?.['id']!==undefined;}async[a18_0x5d7590(0x1f7)](_0x2df5d6,_0x57cbb7){const _0x308ff7=a18_0x5d7590,_0x45dc6a=_0x2df5d6[_0x308ff7(0x293)],_0x5e3507=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x45dc6a,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x2df5d6[_0x308ff7(0x20a)][_0x308ff7(0x2d7)](_0x308ff7(0x289))),_0x57cbb7,_0x2df5d6[_0x308ff7(0x249)]),_0x1d1671=_0x5e3507['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x308ff7(0x2c2)](_a,_0x2df5d6[_0x308ff7(0x20a)])),_0x2bd02d=file_index_1['FileIndex'][_0x308ff7(0x1f1)](_0x1d1671),_0x270fcb=_0x5e3507[_0x308ff7(0x2e3)](/.js.map$/,process[_0x308ff7(0x27c)]()),_0x5666b2=_0x5e3507[_0x308ff7(0x29c)]();return{'mapFiles':_0x270fcb,'errors':_0x5666b2,'jsFileIndex':_0x2bd02d,'hash':_0x5e3507['hash']};}async[a18_0x5d7590(0x301)](){const _0x5de3e0=a18_0x5d7590,_0x36827c=this['config'][_0x5de3e0(0x293)];if(!this[_0x5de3e0(0x217)][_0x5de3e0(0x22e)]&&path[_0x5de3e0(0x2af)](_0x36827c,'..')===_0x36827c){const _0x311f7f=_0x5de3e0(0x278)+_0x5de3e0(0x20e)+_0x5de3e0(0x25e)+_0x5de3e0(0x21c);this[_0x5de3e0(0x2d9)]['error'](_0x311f7f),this['emit'](_0x5de3e0(0x207),new Error(_0x311f7f));return;}let _0x2dd69a;process[_0x5de3e0(0x300)][_0x5de3e0(0x297)]&&(_0x2dd69a=_0x5de3e0(0x2db)+process[_0x5de3e0(0x300)][_0x5de3e0(0x297)]);let _0x1ab882,_0x3fd66a=_0x2dd69a??'';try{_0x1ab882=await this[_0x5de3e0(0x1f7)](this[_0x5de3e0(0x217)],_0x2dd69a),_0x1ab882[_0x5de3e0(0x29c)][_0x5de3e0(0x2cc)](this['logger']['warn']);}catch(_0x26a4fb){this[_0x5de3e0(0x2d9)]['error'](_0x5de3e0(0x2dc),_0x26a4fb),this['emit'](_0x5de3e0(0x207),_0x26a4fb);return;}try{const _0x12f634=await SourceMapper[_0x5de3e0(0x276)](this['logger'],_0x1ab882[_0x5de3e0(0x283)],this['config'][_0x5de3e0(0x244)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x5de3e0(0x276)](this[_0x5de3e0(0x2d9)],this[_0x5de3e0(0x217)],_0x1ab882[_0x5de3e0(0x252)],_0x12f634,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3fd66a=_0x2dd69a??_0x1ab882['hash'];}catch(_0x287a55){this['logger'][_0x5de3e0(0x230)](_0x5de3e0(0x210),_0x287a55),this[_0x5de3e0(0x2d9)]['info'](JSON[_0x5de3e0(0x253)](_0x287a55)),this[_0x5de3e0(0x257)]('initError',_0x287a55);}this[_0x5de3e0(0x2d9)][_0x5de3e0(0x2d5)](_0x5de3e0(0x2f8)+_0x3fd66a);const _0x49c139=(0x0,utils_1[_0x5de3e0(0x2a5)])(this[_0x5de3e0(0x2d9)])['replace']('\x0a','');this[_0x5de3e0(0x2d9)][_0x5de3e0(0x2d5)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x49c139);let _0x512421;try{_0x512421=this['config'][_0x5de3e0(0x2c8)]||await _a['getSourceContextFromFile']();}catch{}this[_0x5de3e0(0x2d9)][_0x5de3e0(0x2d5)](_0x5de3e0(0x282)+process['mainModule']?.['filename']),this['logger']['debug']('Working\x20directory:\x20'+_0x36827c),this['logger'][_0x5de3e0(0x22a)](_0x5de3e0(0x25b)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this['debuggee']=(0x0,createDebuggee_1[_0x5de3e0(0x23b)])(_0x3fd66a,this[_0x5de3e0(0x217)],_0x512421,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x5de3e0(0x2ab)],_0x49c139,this[_0x5de3e0(0x2d9)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5de3e0(0x2c2)](this),this[_0x5de3e0(0x2fe)](),this[_0x5de3e0(0x257)](_0x5de3e0(0x2b9));}[a18_0x5d7590(0x213)](){const _0x7d81b8=a18_0x5d7590;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x7d81b8(0x1fa)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x7d81b8(0x2ef)]()[_0x7d81b8(0x263)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x7d81b8(0x2ef)]();}}static async[a18_0x5d7590(0x1ff)](){const _0x5bd92d=a18_0x5d7590,_0x362fb1=await readFilep('source-context.json','utf8');try{return JSON[_0x5bd92d(0x2e9)](_0x362fb1);}catch(_0x34b5b0){throw new Error(_0x5bd92d(0x24d)+_0x34b5b0);}}[a18_0x5d7590(0x2fe)](){const _0x296fbf=a18_0x5d7590;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x296fbf(0x2c2)](this,0x0);}[a18_0x5d7590(0x1fb)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x5d7590(0x2f2)](){const _0x4d2909=a18_0x5d7590;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4d2909(0x2d9)][_0x4d2909(0x22a)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this['logger'][_0x4d2909(0x22a)](_0x4d2909(0x1ef)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4d2909(0x2f2)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x4d2909(0x2a1));}[a18_0x5d7590(0x290)](_0x3548b9){const _0xbbed5d=a18_0x5d7590;if(!this['logger'][_0xbbed5d(0x238)]())return _0x3548b9['id'];try{const _0x57a2b4=JSON[_0xbbed5d(0x253)](_0x3548b9);if(_0x57a2b4[_0xbbed5d(0x245)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x57a2b4;return _0x57a2b4[_0xbbed5d(0x2d4)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0xbbed5d(0x2ee);}catch(_0x2d4843){return this[_0xbbed5d(0x2d9)][_0xbbed5d(0x230)](_0xbbed5d(0x22c),_0x2d4843),_0x3548b9['id'];}}['setCustomLogLevel'](_0x318b77){const _0x121208=a18_0x5d7590,_0x43d573=this['logger'][_0x121208(0x286)]();if(_0x43d573===_0x121208(0x22a))return;switch(_0x318b77){case'DEBUG':this['logger'][_0x121208(0x308)]()!==_0x121208(0x22a)&&(this['logger']['setLevel'](_0x121208(0x22a)),this[_0x121208(0x2d9)][_0x121208(0x22a)](_0x121208(0x237)));break;case _0x121208(0x2f7):case undefined:this[_0x121208(0x2d9)][_0x121208(0x308)]()===_0x121208(0x22a)&&(this[_0x121208(0x2d9)][_0x121208(0x2b0)](_0x43d573),this[_0x121208(0x2d9)][_0x121208(0x2d5)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x43d573+')'));break;default:this['logger'][_0x121208(0x251)](_0x121208(0x212)+_0x318b77);}}}exports[a18_0x5d7590(0x269)]=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(_0x1beca5){const _0x1d800d=a18_0x5d7590;return new RegExp(_0x1beca5[_0x1d800d(0x214)](_0x4ec940=>_0x4ec940+'$')[_0x1d800d(0x2af)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x377eaa=a18_0x5d7590,_0x4370ae=[_0x377eaa(0x200),_0x377eaa(0x232),_0x377eaa(0x215)];_0x4370ae['forEach'](_0x31dce8=>{const _0x5039a5=_0x377eaa;process[_0x5039a5(0x2e4)](_0x31dce8,()=>{const _0x164b98=_0x5039a5;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x164b98(0x2b2)],()=>{const _0x1253ad=_0x164b98;process[_0x1253ad(0x21a)](process[_0x1253ad(0x1fc)],_0x31dce8);});});}),process[_0x377eaa(0x2e4)](_0x377eaa(0x277),()=>{const _0x4532ea=_0x377eaa;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4532ea(0x2d0)](this[_0x4532ea(0x2b2)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x893f32){const _0x74a3ce=a18_0x5d7590;this[_0x74a3ce(0x2d9)][_0x74a3ce(0x22a)](_0x893f32?_0x74a3ce(0x1f9)+_0x893f32+'s':'Registering\x20debuggee');const _0x5bda85=(_0x3618f4,_0x87f10,_0x3f01f4=![])=>{const _0x241acd=_0x74a3ce;this[_0x241acd(0x257)](_0x241acd(0x2a4));const _0x91609a=this[_0x241acd(0x2b2)]?.['id'],_0x1b4aa5=_0x91609a?_0x241acd(0x248)+_0x91609a:'register\x20debuggee',_0x46bbac=_0x241acd(0x2cd)+_0x1b4aa5+':\x20'+(0x0,utils_1['prettyError'])(_0x3618f4);this[_0x241acd(0x2d9)]['error'](_0x46bbac),_0x87f10&&!_0x3f01f4&&this['logger']['error']('Result:\x20\x0a',_0x87f10),!this['config']['internal']?.[_0x241acd(0x264)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x241acd(0x22d)])(_0x893f32,this[_0x241acd(0x217)][_0x241acd(0x244)][_0x241acd(0x255)]));};setTimeout(()=>{const _0x14335e=_0x74a3ce;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x5bda85(new Error(_0x14335e(0x2a3)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x14335e(0x2fe)](this[_0x14335e(0x2b2)],(_0x48774b,_0x1bc722,_0x852bb1=![])=>{const _0x3dc4d6=_0x14335e;if(_0x48774b){_0x5bda85(_0x48774b,_0x1bc722,_0x852bb1);return;}if(_0x1bc722['debuggee'][_0x3dc4d6(0x2a8)]){_0x5bda85(new Error(_0x3dc4d6(0x2ba))),this[_0x3dc4d6(0x257)](_0x3dc4d6(0x294));return;}const _0x4bade3=_0x1bc722[_0x3dc4d6(0x2b2)]['id'];this[_0x3dc4d6(0x2d9)][_0x3dc4d6(0x2d5)](_0x3dc4d6(0x236)+_0x4bade3),this['debuggee']['id']=_0x4bade3;const _0x12266a=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x3dc4d6(0x240)](this)(this['debuggee']['id'])];this[_0x3dc4d6(0x217)][_0x3dc4d6(0x204)]&&_0x12266a['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x3dc4d6(0x240)](this)(this[_0x3dc4d6(0x2b2)]['id'])),Promise[_0x3dc4d6(0x281)](_0x12266a)[_0x3dc4d6(0x263)](()=>{const _0x5f05e9=_0x3dc4d6;this[_0x5f05e9(0x257)]('registered',_0x4bade3),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x5f05e9(0x23d)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x1bc722?.[_0x5f05e9(0x268)],'f'),!this[_0x5f05e9(0x2dd)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5f05e9(0x2c2)](this,0x0,this['config'][_0x5f05e9(0x303)],_0x1bc722?.['clientConnectionTimeoutInSeconds']);},_0x2d6e5d=>{_0x5bda85(_0x2d6e5d);});});},_0x893f32*0x3e8)[_0x74a3ce(0x239)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0xb91833,_0x361a15,_0x4256fc){const _0x5d0814=a18_0x5d7590;this[_0x5d0814(0x2d9)]['debug'](_0x5d0814(0x23a)+_0xb91833+'\x20'+_0x361a15+'\x20'+_0x4256fc),!_0x361a15&&(this[_0x5d0814(0x2dd)]=!![]),setTimeout(()=>{const _0x17eb56=_0x5d0814;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x361a15&&assert(this[_0x17eb56(0x2dd)]),this[_0x17eb56(0x2d9)][_0x17eb56(0x22a)](_0x17eb56(0x2f3)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['listBreakpoints'](this[_0x17eb56(0x2b2)],(_0x180fe0,_0x2f909c,_0x251c05)=>{const _0x46b48f=_0x17eb56;if(_0x251c05?.[_0x46b48f(0x234)]===0x194){this[_0x46b48f(0x2d9)][_0x46b48f(0x2d5)]('Debuggee\x20is\x20not\x20registered'),this[_0x46b48f(0x2dd)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x46b48f(0x217)][_0x46b48f(0x244)]?.[_0x46b48f(0x264)]?this[_0x46b48f(0x257)](_0x46b48f(0x2a7)):this[_0x46b48f(0x2fe)]();return;}if(_0x180fe0){if(this['config']['internal']?.[_0x46b48f(0x264)])this['emit'](_0x46b48f(0x2ac)),this[_0x46b48f(0x2d9)][_0x46b48f(0x230)](_0x46b48f(0x21f)+_0x251c05?.[_0x46b48f(0x234)]+_0x46b48f(0x201)+_0x180fe0[_0x46b48f(0x25d)]);else{const _0x161433=(0x0,utils_1[_0x46b48f(0x22d)])(_0xb91833,this['config'][_0x46b48f(0x244)][_0x46b48f(0x255)]);this[_0x46b48f(0x2d9)][_0x46b48f(0x230)](_0x46b48f(0x309)+_0x251c05?.[_0x46b48f(0x234)]+_0x46b48f(0x201)+_0x180fe0[_0x46b48f(0x25d)]+_0x46b48f(0x29d)+_0x161433+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x161433,_0x361a15,_0x4256fc);}return;}this[_0x46b48f(0x2d9)][_0x46b48f(0x22a)]('\x09'+_0x251c05['status']+_0x46b48f(0x2b4));if(!_0x2f909c){const _0x79d4a7=this[_0x46b48f(0x217)][_0x46b48f(0x2f9)];this[_0x46b48f(0x2d9)]['error'](_0x46b48f(0x221)+_0x79d4a7+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46b48f(0x2c2)](this,_0x79d4a7,_0x361a15,_0x4256fc);return;}this[_0x46b48f(0x2bf)](_0x2f909c[_0x46b48f(0x26b)]);if(_0x2f909c[_0x46b48f(0x25f)]){this[_0x46b48f(0x2d9)][_0x46b48f(0x2d5)](_0x46b48f(0x216)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46b48f(0x2c2)](this,0x0,_0x361a15,_0x4256fc);return;}if(_0x2f909c['pipeLogs']&&_0x2f909c[_0x46b48f(0x22b)]!==_0x46b48f(0x2f7)){const _0x245961=this[_0x46b48f(0x306)][_0x46b48f(0x29e)];_0x245961!==_0x2f909c['pipeLogs']&&(this[_0x46b48f(0x2d9)][_0x46b48f(0x22a)](_0x46b48f(0x24b)+_0x245961+_0x46b48f(0x261)+_0x2f909c[_0x46b48f(0x22b)]),this['pipingManager']['globalPipingStatus']=_0x2f909c['pipeLogs']);}if(_0x2f909c[_0x46b48f(0x218)]&&_0x2f909c[_0x46b48f(0x2f1)]!==this[_0x46b48f(0x2f1)]){this[_0x46b48f(0x2f1)]=_0x2f909c[_0x46b48f(0x2f1)];const _0xf52fa2=this['config'][_0x46b48f(0x2d6)]['agentLogTargetDir']&&path['join'](this['config'][_0x46b48f(0x2d6)][_0x46b48f(0x2ff)],agent_logger_1[_0x46b48f(0x256)][_0x46b48f(0x27e)]);_0xf52fa2&&fs[_0x46b48f(0x291)](_0xf52fa2)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x46b48f(0x28a)](this[_0x46b48f(0x2b2)],_0x2f909c[_0x46b48f(0x2f1)],_0xf52fa2)):this[_0x46b48f(0x2d9)][_0x46b48f(0x2d5)](_0x46b48f(0x26d)+_0x2f909c['collectLogRequestId']+_0x46b48f(0x30d)+_0x46b48f(0x222));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['activeFeatures']=_0x2f909c[_0x46b48f(0x2b7)]??[];const _0xcdd7fa=(_0x2f909c[_0x46b48f(0x1fe)]||[])['map'](_0x22ce8e=>new stackdriver_1[(_0x46b48f(0x270))](_0x22ce8e))[_0x46b48f(0x205)](_0x12c395=>{const _0xbd2d2c=_0x46b48f,_0x1083d9=_0x12c395['action']??_0xbd2d2c(0x235);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x12c395['id']])return![];if(_0x1083d9!=='CAPTURE'&&_0x1083d9!=='LOG')return this[_0xbd2d2c(0x2d9)][_0xbd2d2c(0x251)](_0xbd2d2c(0x2a6),_0x1083d9),_0x12c395[_0xbd2d2c(0x234)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0xbd2d2c(0x29c)][_0xbd2d2c(0x2e1)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0xbd2d2c(0x2c2)](this,_0x12c395),![];return!![];}),_0x503b2c=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x46b48f(0x2c2)](this);let _0x1e96e8=_0x503b2c[_0x46b48f(0x245)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x503b2c),_0x1e96e8=_0x1e96e8||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x46b48f(0x2c2)](this,_0xcdd7fa),this[_0x46b48f(0x257)](_0x46b48f(0x250),_0xcdd7fa['length']);_0x1e96e8&&this[_0x46b48f(0x2d9)]['debug'](formatBreakpoints(_0x46b48f(0x2bb),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x46b48f(0x29b)](),'f');_0x361a15?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x46b48f(0x1fa)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46b48f(0x2c2)](this,0x0,_0x361a15,_0x4256fc);return;},_0x4256fc);},_0xb91833*0x3e8)[_0x5d0814(0x239)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4a830c=a18_0x5d7590;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4a830c(0x1fa)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x1884d0){const _0x2f2671=a18_0x5d7590,_0x14668b=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2f2671(0x2c2)](this,_0x1884d0);let _0x241d96=![];return _0x1884d0[_0x2f2671(0x2cc)](_0x518628=>{const _0x277c71=_0x2f2671;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x518628['id']]&&!this['activeBreakpointMap'][_0x518628['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x277c71(0x2c2)](this,_0x518628,_0x427fd8=>{const _0x2f1667=_0x277c71;_0x427fd8&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x2f1667(0x2c2)](this,_0x518628,!![],![]);}),_0x241d96=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x518628['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x518628['id'],_0x518628[_0x277c71(0x26f)]),this['pipingManager'][_0x277c71(0x28e)](_0x518628['id'],_0x518628['pipingStatus']);}),(0x0,mapSubtract_1[_0x2f2671(0x295)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x14668b)[_0x2f2671(0x2cc)](_0x2c2b56=>{const {id:_0x5d0579}=_0x2c2b56;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5d0579],_0x241d96=!![];}),(0x0,mapSubtract_1[_0x2f2671(0x295)])(this['activeBreakpointMap'],_0x14668b)[_0x2f2671(0x2cc)](_0x261ab6=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x261ab6,!![]),_0x241d96=!![];}),_0x241d96&&this['logger'][_0x2f2671(0x22a)](formatBreakpoints(_0x2f2671(0x2e6),_0x14668b)),_0x241d96;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x41920d){return Object['fromEntries'](_0x41920d['map'](_0x19df2e=>[_0x19df2e['id'],_0x19df2e]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x799b17,_0x28fa4e){const _0x70e852=a18_0x5d7590;this[_0x70e852(0x2d9)][_0x70e852(0x2d5)](_0x70e852(0x2c9)+_0x799b17['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x70e852(0x2c0)](_0x799b17['id']),this[_0x70e852(0x306)][_0x70e852(0x2f4)](_0x799b17['id']),delete this['activeBreakpointMap'][_0x799b17['id']],_0x28fa4e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x70e852(0x266)](_0x799b17,_0x21f740=>{const _0x29ee49=_0x70e852;if(_0x21f740)this[_0x29ee49(0x2d9)][_0x29ee49(0x230)](_0x21f740);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x43eec8,_0x2c7ea5){const _0x895412=a18_0x5d7590;this[_0x895412(0x2d9)][_0x895412(0x2d5)](_0x895412(0x1f8),this[_0x895412(0x290)](_0x43eec8));if(!this['config']['allowExpressions']&&(_0x43eec8[_0x895412(0x2fd)]||_0x43eec8['expressions'])){this[_0x895412(0x2d9)][_0x895412(0x230)](utils_1[_0x895412(0x29c)][_0x895412(0x288)][_0x895412(0x228)]??''),_0x43eec8[_0x895412(0x234)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x895412(0x21d)],utils_1['errors'][_0x895412(0x288)],!![]),setImmediate(()=>{const _0x1ed05b=_0x895412;_0x2c7ea5(utils_1[_0x1ed05b(0x29c)][_0x1ed05b(0x288)]);});return;}const _0xe45f7b=_0x43eec8['createTime']?Number(_0x43eec8['createTime'][_0x895412(0x29a)]):Date[_0x895412(0x29b)]()/0x3e8,_0x52569b=_0x43eec8[_0x895412(0x2fb)]??this[_0x895412(0x217)][_0x895412(0x2ca)];_0x43eec8[_0x895412(0x203)]=_0xe45f7b+_0x52569b,_0x43eec8[_0x895412(0x2ea)]?.[_0x895412(0x2ed)]&&(_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]=path['normalize'](_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]),path[_0x895412(0x30b)]===path['posix'][_0x895412(0x30b)]&&(_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]=_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]['split']('\x5c')[_0x895412(0x2af)](path[_0x895412(0x30b)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x895412(0x258)](_0x43eec8,_0x9e2704=>{const _0x1b8fb7=_0x895412;if(_0x9e2704){_0x2c7ea5(_0x9e2704);return;}this[_0x1b8fb7(0x2d9)][_0x1b8fb7(0x2d5)](_0x1b8fb7(0x20d)+_0x43eec8['id']),this[_0x1b8fb7(0x2e0)][_0x43eec8['id']]=_0x43eec8,_0x43eec8[_0x1b8fb7(0x2f6)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1b8fb7(0x206)](_0x43eec8,(_0x3d6ff5,_0x234941)=>{const _0x124765=_0x1b8fb7,_0x16e009=_0x234941[_0x124765(0x214)](_0x145791=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x124765(0x2c2)](this,_0x145791)),_0x376106=(0x0,format_1[_0x124765(0x2cf)])(_0x3d6ff5,_0x16e009),_0x51e870=_0x124765(0x2c5)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x124765(0x2eb)](_0x376106)??_0x376106),_0x33879b=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x51e870,_0x43eec8['id']);if(_0x33879b){const _0x5102e1=_0x33879b['message'],{isOutOfQuota:_0xf68121}=_0x33879b;let _0x2d86e4,_0x10985b;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x124765(0x254)]()&&!_0xf68121&&(_0x2d86e4=_0x124765(0x2c5)+_0x3d6ff5,_0x10985b=_0x16e009);this[_0x124765(0x306)][_0x124765(0x272)](this[_0x124765(0x2b2)],_0x43eec8['id'],_0x5102e1,_0x43eec8[_0x124765(0x2e7)],_0x2d86e4,_0x10985b);if(_0xf68121)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x124765(0x2f5)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x517baf=_0x124765;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x517baf(0x1fd)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x124765(0x217)][_0x124765(0x1f3)][_0x124765(0x202)]*0x3e8),'f');else _0x5102e1?.[_0x124765(0x245)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x124765(0x2f5)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x43eec8['id']],_0x21efba=>{const _0xd53af6=_0x1b8fb7;if(_0x21efba){this[_0xd53af6(0x2d9)][_0xd53af6(0x230)](_0x21efba),_0x2c7ea5(_0x21efba);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1b8fb7(0x271)](_0x43eec8,_0x497f1b=>{const _0x401fb9=_0x1b8fb7;if(_0x497f1b){setImmediate(()=>{const _0x57d195=a18_0x2da5;this[_0x57d195(0x2d9)][_0x57d195(0x230)](_0x497f1b),_0x2c7ea5(_0x497f1b);});return;}this[_0x401fb9(0x2d9)]['info'](_0x401fb9(0x241)+_0x43eec8['id'],_0x43eec8[_0x401fb9(0x2ea)]?.[_0x401fb9(0x2ed)],_0x43eec8['location']?.[_0x401fb9(0x2c4)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x401fb9(0x2c2)](this,_0x43eec8,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x401fb9(0x27a)](_0x43eec8['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1b8fb7(0x2c2)](this,_0x43eec8);}),this['emit'](_0x895412(0x2df));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2f81f9,_0x14d799,_0xe6aa0d=!![]){const _0x29fe90=a18_0x5d7590;if(_0x2f81f9['status']?.[_0x29fe90(0x28d)]){let _0x40692b=_0x2f81f9[_0x29fe90(0x234)]?.[_0x29fe90(0x228)]?.['format']||'';_0x2f81f9['status']?.[_0x29fe90(0x228)]?.[_0x29fe90(0x20b)]&&(_0x40692b+=':\x20'+_0x2f81f9[_0x29fe90(0x234)]?.[_0x29fe90(0x228)]?.['parameters'][_0x29fe90(0x2b1)]()),this['logger']['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x2f81f9+_0x29fe90(0x28f)+_0x40692b);}else this[_0x29fe90(0x2d9)][_0x29fe90(0x2d5)](_0x29fe90(0x2f0),this[_0x29fe90(0x290)](_0x2f81f9));_0x14d799&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2f81f9['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x29fe90(0x2c2)](this,_0x2f81f9,_0xe6aa0d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29fe90(0x292)](this['debuggee'],extend(!![],{},_0x2f81f9));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x3c47b0){const _0x4c350b=a18_0x5d7590;this[_0x4c350b(0x2d9)][_0x4c350b(0x22a)](_0x4c350b(0x280)+_0x3c47b0+'\x20accepted\x20by\x20agent');const _0x3a4bfc=extend(!![],{},_0x3c47b0);_0x3a4bfc['isFinalState']=![],_0x3a4bfc['status']=new status_message_1[(_0x4c350b(0x2fa))](status_message_1['StatusMessage'][_0x4c350b(0x21d)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4c350b(0x292)](this[_0x4c350b(0x2b2)],_0x3a4bfc);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x14e9b0){const _0x380f27=a18_0x5d7590;this[_0x380f27(0x2d9)][_0x380f27(0x2d5)](_0x380f27(0x2e5)+_0x14e9b0),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x14e9b0['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x380f27(0x292)](this[_0x380f27(0x2b2)],_0x14e9b0);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x21577f){const _0x2c0034=a18_0x5d7590;_0x21577f[_0x2c0034(0x2cc)](_0x2adfbf=>{const _0x1173ac=_0x2c0034;this[_0x1173ac(0x2d9)][_0x1173ac(0x2d5)](_0x1173ac(0x2b5)+_0x2adfbf['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2adfbf['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x2adfbf,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x36ecec=a18_0x5d7590,_0x357942=Date[_0x36ecec(0x29b)]()/0x3e8;return Object[_0x36ecec(0x2ec)](this[_0x36ecec(0x2e0)])[_0x36ecec(0x205)](_0x22e130=>_0x22e130['expirationTime']?_0x22e130[_0x36ecec(0x203)]<_0x357942:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x575a0b){const _0xa79280=a18_0x5d7590,_0x4c0cae=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x575a0b),_0x44c88b=_0x4c0cae['blacklist'],_0x235748=_0x4c0cae[_0xa79280(0x2e2)];_0x44c88b?.[_0xa79280(0x245)]&&this[_0xa79280(0x2d9)][_0xa79280(0x22a)](_0xa79280(0x208),_0x44c88b['join']('\x0a\x09')),_0x235748?.[_0xa79280(0x245)]&&this['logger'][_0xa79280(0x22a)](_0xa79280(0x1f5),_0x235748[_0xa79280(0x2af)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x44c88b,_0x235748,this[_0xa79280(0x217)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x4f156c){const _0x2739bf=a18_0x5d7590,_0x4abbcf=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2739bf(0x267)](_0x4f156c);_0x4abbcf?.[_0x2739bf(0x245)]&&this[_0x2739bf(0x2d9)][_0x2739bf(0x22a)](_0x2739bf(0x225),_0x4abbcf[_0x2739bf(0x214)](_0x9536b2=>_0x2739bf(0x246)+_0x9536b2[_0x2739bf(0x2aa)]+_0x2739bf(0x2b8)+_0x9536b2[_0x2739bf(0x2c7)]+_0x2739bf(0x1f0)+_0x9536b2['pattern']+_0x2739bf(0x30c)+_0x9536b2[_0x2739bf(0x2ad)])[_0x2739bf(0x2af)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x2739bf(0x260))](this[_0x2739bf(0x2d9)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2739bf(0x226)](_0x4abbcf);},_Debuglet_stringify=function _Debuglet_stringify(_0x17bed3){const _0x4ab216=a18_0x5d7590;if(!_0x17bed3)return JSON[_0x4ab216(0x253)](_0x17bed3,(_0xc84014,_0x5da39c)=>_0x5da39c===undefined?_0x4ab216(0x2d8):_0x5da39c);if(Array[_0x4ab216(0x2ce)](_0x17bed3)){const _0x575677=_0x17bed3[_0x4ab216(0x214)](_0x574450=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4ab216(0x2c2)](this,_0x574450));return'['+_0x575677[_0x4ab216(0x2af)](',\x20')+']';}if(typeof _0x17bed3===_0x4ab216(0x21b)){const _0x48345d=Object[_0x4ab216(0x279)](_0x17bed3)[_0x4ab216(0x214)](([_0x63d2e4,_0x388a71])=>{const _0x4c7c6f=_0x4ab216,_0xe6418a=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4c7c6f(0x20c)](_0x63d2e4)?redaction_manager_1[_0x4c7c6f(0x25c)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4c7c6f(0x2c2)](this,_0x388a71);return JSON['stringify'](_0x63d2e4)+':\x20'+_0xe6418a;})['join'](',\x20');return'{'+_0x48345d+'}';}return JSON[_0x4ab216(0x253)](_0x17bed3);});
|
|
1
|
+
const a19_0x578b77=a19_0x44b6;(function(_0x1aa84a,_0x2ece95){const _0x4247ae=a19_0x44b6,_0xc8cbad=_0x1aa84a();while(!![]){try{const _0x4541c9=parseInt(_0x4247ae(0x1d6))/0x1*(-parseInt(_0x4247ae(0x240))/0x2)+parseInt(_0x4247ae(0x1ed))/0x3+parseInt(_0x4247ae(0x1af))/0x4+-parseInt(_0x4247ae(0x1c7))/0x5+-parseInt(_0x4247ae(0x173))/0x6*(-parseInt(_0x4247ae(0x230))/0x7)+parseInt(_0x4247ae(0x199))/0x8*(-parseInt(_0x4247ae(0x19f))/0x9)+-parseInt(_0x4247ae(0x1fb))/0xa*(parseInt(_0x4247ae(0x176))/0xb);if(_0x4541c9===_0x2ece95)break;else _0xc8cbad['push'](_0xc8cbad['shift']());}catch(_0x43ae35){_0xc8cbad['push'](_0xc8cbad['shift']());}}}(a19_0x3242,0xcd550));const a19_0x38bb23=(function(){let _0x2faeb0=!![];return function(_0x7cca30,_0x16e767){const _0x54b935=_0x2faeb0?function(){if(_0x16e767){const _0x4392fa=_0x16e767['apply'](_0x7cca30,arguments);return _0x16e767=null,_0x4392fa;}}:function(){};return _0x2faeb0=![],_0x54b935;};}()),a19_0x478279=a19_0x38bb23(this,function(){const _0x533d8b=a19_0x44b6;return a19_0x478279[_0x533d8b(0x18a)]()[_0x533d8b(0x13e)](_0x533d8b(0x153))[_0x533d8b(0x18a)]()[_0x533d8b(0x1a9)](a19_0x478279)[_0x533d8b(0x13e)](_0x533d8b(0x153));});a19_0x478279();'use strict';function a19_0x44b6(_0x5cfd9e,_0x1d70a6){const _0x2c441f=a19_0x3242();return a19_0x44b6=function(_0x478279,_0x38bb23){_0x478279=_0x478279-0x120;let _0x3242ea=_0x2c441f[_0x478279];return _0x3242ea;},a19_0x44b6(_0x5cfd9e,_0x1d70a6);}function a19_0x3242(){const _0x2aa1fc=['sourceMapDiagnostics','kill','line','getRedactions','pipeLogs','setCustomLogLevel','./v8/debugapi','sendAgentLogsToServer','disable','(((.+)+)+)+$','agentLogMaxFileSizeMb','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','\x20agent\x20metadata\x20values','extraPaths','breakpoints','allowRootAsWorkingDirectory','SIGQUIT','warn','SIGTERM','sep','clientConnectionTimeoutInSeconds','\x20completed.','pipingManager','concat','removeListener','PipingManager','Breakpoint','function','debug','selectFiles','debuglet','RedactionManagerRE2JS','Registering\x20debuggee','blacklist','waitForTransmissionQueueDrain','downwardApiPaths','pattern','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','registration_failed','config','Redactions:\x20\x0a\x09','172290MnrUyT','Server\x20breakpoints:\x0a','pid','11cRbiQL','UNSPECIFIED','events','enable','Unknown\x20agentLogLevel\x20','isDisabled','isRunning','isRegistered','normalizeConfig','internal','getBlocklist','Expiring\x20breakpoint\x20id\x20','sourceContext','agentLogLevel','posix','\x0a\x09createdTime:\x20','condition','extend','Working\x20directory:\x20','beforeExit','toString','blacklist_exception','../types/stackdriver','collectAgentMetadata','\x09Notifying\x20server\x20about\x20error\x20for\x20','add','mapSubtract','./reduction/redaction-manager-re2js','PatternsBlocklistManager','mainModule','waitFor','metadata','workingDirectory','EventEmitter','waitForBreakpoints','81784hEZTjc','breakpoints_fetched','isArray','fetcherActive','./io/scanner','errors','9ciLZrA','Scanner','values','stopped','hash','promisify','breakpoints_fetch_registration_required','):\x20pattern:\x20','action','start','constructor','./configuration-provider','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','deregister','2111340IfUoOk','getClientConnectionTimeoutInSeconds','expirationSeconds','status','./config','promise','LOGPOINT:\x20','Sent\x20','\x09adding\x20breakpoint','\x20to\x20','Debuglet\x20not\x20running','Found\x20breakpoint\x20with\x20invalid\x20action:','object','name','info','once','env','quotaCheck','path','setPipingStatus','activeFeatures','findFiles','./debuglet-helpers/createDebuggee','description','2383770VQsjwZ','getSourceContextFromFile','ALLOW_EXPRESSIONS_MESSAGE','reportMetadata','createPerBreakpointConditionQuota','filter','quotaRecoverySeconds','stop','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','mapFiles','getLevel','resolve','\x0a\x09expressions:\x20','.\x20Retrying\x20in\x20','\x09Long\x20poll\x20completed.','3WkxmcA','defineProperty','QuotaManager','assert','jsFileIndex','emit','normalize','now','isRedactionActive','includes','keys','backoff','maxRequestRetryDelaySeconds','remainingHits','existsSync','Switching\x20globalPiping\x20status\x20from\x20','Error\x20scanning\x20the\x20filesystem.','breakpointUpdateIntervalSec','entries','get','Registered\x20as\x20debuggee:\x20','./quota-manager','call','4605657jzFVqN','shouldRedactByName','Active\x20Breakpoints:\x20\x0a','metadataLookupKeysExtra','location','logger','debuggee','StatusMessage','./agent-logger','...\x20[truncated]','Disabled\x20by\x20the\x20server','quota','Failed\x20to\x20','map','7264970xhQfux','stringify','value','agentLog','globalPipingStatus','promiseResolve','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','format','utf8','NOT_SET','createLogger','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','getInitialLevel','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','FileIndex','filename','undefined','addAndPipeLog','cwd','inspect','createTime','set','breakpoint_set','.\x20message:\x20','lookupKeys','__classPrivateFieldGet','selectStats','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','CAPTURE','./debuglet-helpers/normalizeConfig','error','log','breakpoints_fetch_failed','\x20because\x20','expressions','CachedPromise','scheduleBreakpointFetch_\x20','fetchBreakpointsOnce','\x09Got\x20error\x20from\x20server.\x20status:\x20','enqueueBreakpointUpdate','js.map','Starting\x20debuggee','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','__esModule','clear','fromFileStats','isAtLeastInfo','GAE-','parse','mergeMetadataLookupValues','metadataDownwardApiPathsExtra','length','./debuglet-helpers/format','35omGHSU','started','readFile','agentLogTargetDir','collectLogRequestId','REDACTED_PLACEHOLDER','registered','redactionEnabled','EnvironmentMetadata','createDebuggee','Result:\x20\x0a','./io/sourcemapper','waitExpired','setIgnoreQuota','forEach','isFinalState','101410jLPHvY','register','reporting\x20breakpoint\x20','activeBreakpointMap','Malformed\x20source-context.json\x20file:\x20','./io/file-index','setLevel','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','has','./util/utils','fromEntries','.\x20Error:\x20','stringifyBreakpointForInfoLog','expirationTime','setBlocklistManager','initError','split','message','LOG','Debuglet','removeBreakpoint','create','Debuggee\x20is\x20not\x20registered','isLambda','then','\x20caseInsensitive:\x20','bind','ConfigurationProvider','isReady','Unique\x20ID\x20for\x20this\x20Application:\x20','removePerBreakpointQuota','../client/stackdriver/status-message','Fetching\x20breakpoints','search','\x20accepted\x20by\x20agent','AGENT_LOG_FILE','remotelyDisabled','join','Private\x20method\x20is\x20not\x20writable','__classPrivateFieldSet','Error\x20processing\x20the\x20sourcemaps.','unref','breakpointExpirationSec','GAE_MINOR_VERSION','Blacklist\x20Exceptions:\x20\x0a\x09'];a19_0x3242=function(){return _0x2aa1fc;};return a19_0x3242();}var __classPrivateFieldSet=this&&this[a19_0x578b77(0x144)]||function(_0x15765d,_0x3cb135,_0x1f622a,_0x2a83c2,_0x293e29){const _0x57279b=a19_0x578b77;if(_0x2a83c2==='m')throw new TypeError(_0x57279b(0x143));if(_0x2a83c2==='a'&&!_0x293e29)throw new TypeError(_0x57279b(0x155));if(typeof _0x3cb135==='function'?_0x15765d!==_0x3cb135||!_0x293e29:!_0x3cb135[_0x57279b(0x125)](_0x15765d))throw new TypeError(_0x57279b(0x225));return _0x2a83c2==='a'?_0x293e29['call'](_0x15765d,_0x1f622a):_0x293e29?_0x293e29[_0x57279b(0x1fd)]=_0x1f622a:_0x3cb135[_0x57279b(0x210)](_0x15765d,_0x1f622a),_0x1f622a;},__classPrivateFieldGet=this&&this[a19_0x578b77(0x214)]||function(_0x6c1ecd,_0x4d8171,_0x464a85,_0x8abb8c){const _0x392f7a=a19_0x578b77;if(_0x464a85==='a'&&!_0x8abb8c)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x4d8171===_0x392f7a(0x165)?_0x6c1ecd!==_0x4d8171||!_0x8abb8c:!_0x4d8171[_0x392f7a(0x125)](_0x6c1ecd))throw new TypeError(_0x392f7a(0x16f));return _0x464a85==='m'?_0x8abb8c:_0x464a85==='a'?_0x8abb8c['call'](_0x6c1ecd):_0x8abb8c?_0x8abb8c[_0x392f7a(0x1fd)]:_0x4d8171['get'](_0x6c1ecd);},_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_collectAndReportMetadata,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a19_0x578b77(0x1d7)](exports,a19_0x578b77(0x226),{'value':!![]}),exports[a19_0x578b77(0x130)]=exports[a19_0x578b77(0x21e)]=void 0x0;const assert=require(a19_0x578b77(0x1d9)),events_1=require(a19_0x578b77(0x178)),extend=require(a19_0x578b77(0x187)),fs=require('fs'),path=require('path'),util=require('util'),status_message_1=require(a19_0x578b77(0x13c)),stackdriver_1=require(a19_0x578b77(0x18c)),agent_logger_1=require(a19_0x578b77(0x1f5)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),config_1=require(a19_0x578b77(0x1b3)),configuration_provider_1=require(a19_0x578b77(0x1aa)),controller_1=require('./controller'),createDebuggee_1=require(a19_0x578b77(0x1c5)),format_1=require(a19_0x578b77(0x22f)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require(a19_0x578b77(0x218)),agent_metadata_collector_1=require('./agent-metadata-collector'),agentMetadataLookup=require('../generated/agent-metadata-lookup.json'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a19_0x578b77(0x121)),scanner_1=require(a19_0x578b77(0x19d)),SourceMapper=require(a19_0x578b77(0x23b)),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a19_0x578b77(0x1eb)),redaction_manager_1=require('./reduction/redaction-manager'),utils_1=require(a19_0x578b77(0x126)),debugapi=require(a19_0x578b77(0x150)),redaction_manager_re2js_1=require(a19_0x578b77(0x191)),readFilep=util[a19_0x578b77(0x1a4)](fs[a19_0x578b77(0x232)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0xfa8042,_0x3c5ad1)=>{const _0x30684f=a19_0x578b77;let _0x492b75=_0xfa8042+util['format'](_0x30684f(0x1ad),_0x3c5ad1['id'],_0x3c5ad1[_0x30684f(0x1a7)],util[_0x30684f(0x20e)](_0x3c5ad1['location']));if(_0x3c5ad1[_0x30684f(0x20f)]){const _0x5af4e4=Number(_0x3c5ad1['createTime']['seconds']),_0x118791=new Date(_0x5af4e4*0x3e8);_0x492b75+=_0x30684f(0x185)+_0x118791[_0x30684f(0x18a)]();}return _0x3c5ad1[_0x30684f(0x186)]&&(_0x492b75+='\x0a\x09condition:\x20'+util[_0x30684f(0x20e)](_0x3c5ad1[_0x30684f(0x186)])),_0x3c5ad1[_0x30684f(0x21d)]&&(_0x492b75+=_0x30684f(0x1d3)+util[_0x30684f(0x20e)](_0x3c5ad1['expressions'])),_0x492b75;},formatBreakpoints=(_0x33cf62,_0x419699)=>_0x33cf62+Object[a19_0x578b77(0x1e0)](_0x419699)[a19_0x578b77(0x1fa)](_0x4a1b41=>formatBreakpoint('',_0x419699[_0x4a1b41]))[a19_0x578b77(0x142)]('\x0a');class CachedPromise{constructor(){const _0x53cdc8=a19_0x578b77;this[_0x53cdc8(0x200)]=null,this[_0x53cdc8(0x1b4)]=new Promise(_0x5ddca7=>{const _0x2332b0=_0x53cdc8;this[_0x2332b0(0x200)]=_0x5ddca7;});}[a19_0x578b77(0x1e9)](){return this['promise'];}[a19_0x578b77(0x1d2)](){const _0x422a20=a19_0x578b77;this[_0x422a20(0x200)]&&(this['promiseResolve'](),this[_0x422a20(0x200)]=null);}}exports[a19_0x578b77(0x21e)]=CachedPromise;class IsReadyImpl{constructor(_0x563ba6){this['debuglet']=_0x563ba6;}[a19_0x578b77(0x139)](){const _0x56bd20=a19_0x578b77;return this[_0x56bd20(0x168)][_0x56bd20(0x139)]();}}class Debuglet extends events_1[a19_0x578b77(0x197)]{constructor(_0x1715e1,_0xbbdb53){const _0x121fff=a19_0x578b77;super(),_Debuglet_instances[_0x121fff(0x18f)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x121fff(0x210)](this,void 0x0),_Debuglet_running[_0x121fff(0x210)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x121fff(0x210)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x121fff(0x210)](this,void 0x0),_Debuglet_breakpointFetched[_0x121fff(0x210)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x121fff(0x210)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x121fff(0x210)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x121fff(0x210)](this,void 0x0),_Debuglet_scanner[_0x121fff(0x210)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x121fff(0x210)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x121fff(0x210)](this,void 0x0),this[_0x121fff(0x171)]=(0x0,normalizeConfig_1[_0x121fff(0x17e)])(_0xbbdb53),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x121fff(0x138))](this[_0x121fff(0x171)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1715e1,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x121fff(0x19c)]=![],this['logger']=agent_logger_1['default'][_0x121fff(0x205)](this[_0x121fff(0x171)][_0x121fff(0x1fe)][_0x121fff(0x233)],this['config'][_0x121fff(0x1fe)][_0x121fff(0x154)],this[_0x121fff(0x171)][_0x121fff(0x1fe)]['agentLogMaxFileCount'],this[_0x121fff(0x171)]['agentLog']['agentLogLevel'],this[_0x121fff(0x171)][_0x121fff(0x1fe)]['stdErrThreshold']),(0x0,config_1['logMainConfigParams'])(this['config'],this[_0x121fff(0x1f2)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x121fff(0x238))](this[_0x121fff(0x1f2)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x121fff(0x171)],this[_0x121fff(0x1f2)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x121fff(0x1a0))](this['logger']),'f'),this[_0x121fff(0x1f3)]=null,this['activeBreakpointMap']={},__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[(_0x121fff(0x1d8))](this[_0x121fff(0x1f2)],this[_0x121fff(0x171)]),'f'),this[_0x121fff(0x160)]=new piping_manager_1[(_0x121fff(0x163))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async['waitForTransmissionQueueDrain'](_0x1177db){const _0x25bcbe=a19_0x578b77;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x25bcbe(0x16c)](_0x1177db);}[a19_0x578b77(0x1b0)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a19_0x578b77(0x198)](_0x69f34b){const _0x2b7256=a19_0x578b77,_0xdcd495=0x32;let _0x54b77c=null;const _0x51dd3d=()=>_0x54b77c=!![],_0x2f4b7a=()=>_0x54b77c=![],_0x434f34=_0x36dc35=>{if(_0x36dc35)return;_0x51dd3d();};let _0x4124ed=![];const _0x50e7f9=_0x4d0f68=>{const _0x577af0=a19_0x44b6;_0x4124ed&&_0x2f4b7a(),_0x4124ed=!![],this[_0x577af0(0x241)]();};this[_0x2b7256(0x1be)](_0x2b7256(0x19a),_0x434f34),this[_0x2b7256(0x1be)](_0x2b7256(0x211),_0x51dd3d);this[_0x2b7256(0x171)][_0x2b7256(0x17f)]?.['isLambda']&&(this[_0x2b7256(0x1be)](_0x2b7256(0x170),_0x2f4b7a),this[_0x2b7256(0x1be)](_0x2b7256(0x21b),_0x2f4b7a),this['once'](_0x2b7256(0x1a5),_0x50e7f9));if(_0x69f34b){const _0x1493af=Date['now']();while(_0x54b77c===null&&Date[_0x2b7256(0x1dd)]()-_0x1493af<_0x69f34b){await(0x0,utils_1[_0x2b7256(0x194)])(_0xdcd495);}}return this[_0x2b7256(0x162)](_0x2b7256(0x19a),_0x434f34),this['removeListener'](_0x2b7256(0x211),_0x51dd3d),this[_0x2b7256(0x171)][_0x2b7256(0x17f)]?.[_0x2b7256(0x134)]&&(this[_0x2b7256(0x162)](_0x2b7256(0x170),_0x2f4b7a),this['removeListener'](_0x2b7256(0x21b),_0x2f4b7a),this['removeListener']('breakpoints_fetch_registration_required',_0x50e7f9)),_0x54b77c===!![];}[a19_0x578b77(0x220)](){const _0xdc9c1e=a19_0x578b77;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xdc9c1e(0x1ec)](this,0x0,!![]);}[a19_0x578b77(0x17d)](){const _0x44feac=a19_0x578b77;return this[_0x44feac(0x1f3)]?.['id']!==undefined;}async['findFiles'](_0x1a8f77,_0x255642){const _0x129191=a19_0x578b77,_0x43a2fe=_0x1a8f77[_0x129191(0x196)],_0x4f1fe3=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x43a2fe,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x129191(0x1ec)](_a,_0x1a8f77['javascriptFileExtensions'][_0x129191(0x161)](_0x129191(0x223))),_0x255642,_0x1a8f77[_0x129191(0x157)]),_0x366c41=_0x4f1fe3[_0x129191(0x215)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x129191(0x1ec)](_a,_0x1a8f77['javascriptFileExtensions'])),_0x4aede2=file_index_1[_0x129191(0x209)][_0x129191(0x228)](_0x366c41),_0x533fb0=_0x4f1fe3[_0x129191(0x167)](/.js.map$/,process[_0x129191(0x20d)]()),_0xd1f185=_0x4f1fe3[_0x129191(0x19e)]();return{'mapFiles':_0x533fb0,'errors':_0xd1f185,'jsFileIndex':_0x4aede2,'hash':_0x4f1fe3[_0x129191(0x1a3)]};}async[a19_0x578b77(0x1a8)](){const _0x2270fb=a19_0x578b77,_0x21e199=this[_0x2270fb(0x171)]['workingDirectory'];if(!this[_0x2270fb(0x171)][_0x2270fb(0x159)]&&path[_0x2270fb(0x142)](_0x21e199,'..')===_0x21e199){const _0x41ff2e=_0x2270fb(0x1ab)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+'do\x20this.';this[_0x2270fb(0x1f2)][_0x2270fb(0x219)](_0x41ff2e),this[_0x2270fb(0x1db)](_0x2270fb(0x12c),new Error(_0x41ff2e));return;}let _0x155172;process[_0x2270fb(0x1bf)][_0x2270fb(0x148)]&&(_0x155172=_0x2270fb(0x22a)+process[_0x2270fb(0x1bf)][_0x2270fb(0x148)]);let _0x46c528,_0x469b86=_0x155172??'';try{_0x46c528=await this[_0x2270fb(0x1c4)](this[_0x2270fb(0x171)],_0x155172),_0x46c528[_0x2270fb(0x19e)][_0x2270fb(0x23e)](this['logger'][_0x2270fb(0x15b)]);}catch(_0xf3866d){this[_0x2270fb(0x1f2)]['error'](_0x2270fb(0x1e6),_0xf3866d),this['emit'](_0x2270fb(0x12c),_0xf3866d);return;}try{const _0x4c6a28=await SourceMapper[_0x2270fb(0x132)](this[_0x2270fb(0x1f2)],_0x46c528[_0x2270fb(0x1d0)],this[_0x2270fb(0x171)][_0x2270fb(0x17f)]?.[_0x2270fb(0x14a)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x2270fb(0x132)](this[_0x2270fb(0x1f2)],this[_0x2270fb(0x171)],_0x46c528[_0x2270fb(0x1da)],_0x4c6a28,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x469b86=_0x155172??_0x46c528[_0x2270fb(0x1a3)];}catch(_0x3e4ec0){this[_0x2270fb(0x1f2)][_0x2270fb(0x219)](_0x2270fb(0x145),_0x3e4ec0),this[_0x2270fb(0x1f2)][_0x2270fb(0x1bd)](JSON[_0x2270fb(0x1fc)](_0x3e4ec0)),this[_0x2270fb(0x1db)](_0x2270fb(0x12c),_0x3e4ec0);}this[_0x2270fb(0x1f2)][_0x2270fb(0x1bd)](_0x2270fb(0x13a)+_0x469b86);const _0x392862=(0x0,utils_1['readFullVersion'])(this[_0x2270fb(0x1f2)])['replace']('\x0a','');this[_0x2270fb(0x1f2)][_0x2270fb(0x1bd)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x392862);let _0x480617;try{_0x480617=this[_0x2270fb(0x171)][_0x2270fb(0x182)]||await _a['getSourceContextFromFile']();}catch{}this['logger']['info'](_0x2270fb(0x216)+process[_0x2270fb(0x193)]?.[_0x2270fb(0x20a)]),this[_0x2270fb(0x1f2)][_0x2270fb(0x166)](_0x2270fb(0x188)+_0x21e199),this[_0x2270fb(0x1f2)][_0x2270fb(0x166)](_0x2270fb(0x224)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x2270fb(0x1f3)]=(0x0,createDebuggee_1[_0x2270fb(0x239)])(_0x469b86,this[_0x2270fb(0x171)],_0x480617,__classPrivateFieldGet(this,_Debuglet_debug,'f')['packageInfo'],_0x392862,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2270fb(0x1ec)](this),this[_0x2270fb(0x241)](),this[_0x2270fb(0x1db)](_0x2270fb(0x231));}[a19_0x578b77(0x139)](){const _0x141da5=a19_0x578b77;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x141da5(0x1d2)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x141da5(0x1e9)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x141da5(0x1e9)]()[_0x141da5(0x135)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x141da5(0x1e9)]();}}static async[a19_0x578b77(0x1c8)](){const _0x53afd9=a19_0x578b77,_0xf10893=await readFilep('source-context.json',_0x53afd9(0x203));try{return JSON[_0x53afd9(0x22b)](_0xf10893);}catch(_0x2275e2){throw new Error(_0x53afd9(0x120)+_0x2275e2);}}[a19_0x578b77(0x241)](){const _0x188a1f=a19_0x578b77;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x188a1f(0x1ec)](this,0x0);}[a19_0x578b77(0x17c)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a19_0x578b77(0x1ce)](){const _0x26db47=a19_0x578b77;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x26db47(0x1f2)][_0x26db47(0x166)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x26db47(0x1f2)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x26db47(0x1a2));}[a19_0x578b77(0x129)](_0x228df4){const _0x3dd6a2=a19_0x578b77;if(!this[_0x3dd6a2(0x1f2)][_0x3dd6a2(0x229)]())return _0x228df4['id'];try{const _0x3d3a3e=JSON[_0x3dd6a2(0x1fc)](_0x228df4);if(_0x3d3a3e[_0x3dd6a2(0x22e)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x3d3a3e;return _0x3d3a3e['substring'](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x3dd6a2(0x1f6);}catch(_0xf75474){return this[_0x3dd6a2(0x1f2)][_0x3dd6a2(0x219)]('Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.',_0xf75474),_0x228df4['id'];}}[a19_0x578b77(0x14f)](_0x311a97){const _0x3eadab=a19_0x578b77,_0x219b70=this['logger'][_0x3eadab(0x207)]();if(_0x219b70===_0x3eadab(0x166))return;switch(_0x311a97){case'DEBUG':this[_0x3eadab(0x1f2)][_0x3eadab(0x1d1)]()!=='debug'&&(this[_0x3eadab(0x1f2)][_0x3eadab(0x122)](_0x3eadab(0x166)),this[_0x3eadab(0x1f2)][_0x3eadab(0x166)](_0x3eadab(0x1ac)));break;case _0x3eadab(0x204):case undefined:this[_0x3eadab(0x1f2)]['getLevel']()===_0x3eadab(0x166)&&(this[_0x3eadab(0x1f2)][_0x3eadab(0x122)](_0x219b70),this[_0x3eadab(0x1f2)][_0x3eadab(0x1bd)](_0x3eadab(0x1cf)+_0x219b70+')'));break;default:this[_0x3eadab(0x1f2)][_0x3eadab(0x15b)](_0x3eadab(0x17a)+_0x311a97);}}}exports['Debuglet']=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(_0x5a1fe5){return new RegExp(_0x5a1fe5['map'](_0xe5cde4=>_0xe5cde4+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x279e4f=a19_0x578b77,_0x5a5358=[_0x279e4f(0x15c),'SIGINT',_0x279e4f(0x15a)];_0x5a5358['forEach'](_0x5a1e42=>{const _0x573906=_0x279e4f;process[_0x573906(0x1be)](_0x5a1e42,()=>{const _0x52f5e1=_0x573906;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x52f5e1(0x1ae)](this[_0x52f5e1(0x1f3)],()=>{const _0x22d9e6=_0x52f5e1;process[_0x22d9e6(0x14b)](process[_0x22d9e6(0x175)],_0x5a1e42);});});}),process[_0x279e4f(0x1be)](_0x279e4f(0x189),()=>{const _0x5721de=_0x279e4f;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5721de(0x1ae)](this['debuggee'],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x2c9a25){const _0x232636=a19_0x578b77;this[_0x232636(0x1f2)][_0x232636(0x166)](_0x2c9a25?'Scheduling\x20registration\x20in\x20'+_0x2c9a25+'s':_0x232636(0x16a));const _0x385b40=(_0x3ddc2c,_0x2a9a1c,_0x1c375f=![])=>{const _0x291575=_0x232636;this[_0x291575(0x1db)](_0x291575(0x170));const _0x39dbde=this[_0x291575(0x1f3)]?.['id'],_0x1c2040=_0x39dbde?'re-register\x20debuggee\x20'+_0x39dbde:'register\x20debuggee',_0x180f23=_0x291575(0x1f9)+_0x1c2040+':\x20'+(0x0,utils_1['prettyError'])(_0x3ddc2c);this[_0x291575(0x1f2)][_0x291575(0x219)](_0x180f23),_0x2a9a1c&&!_0x1c375f&&this[_0x291575(0x1f2)][_0x291575(0x219)](_0x291575(0x23a),_0x2a9a1c),!this[_0x291575(0x171)][_0x291575(0x17f)]?.[_0x291575(0x134)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x291575(0x1ec)](this,(0x0,utils_1['backoff'])(_0x2c9a25,this[_0x291575(0x171)][_0x291575(0x17f)][_0x291575(0x1e2)]));};setTimeout(()=>{const _0x45664f=_0x232636;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x385b40(new Error(_0x45664f(0x1b9)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x45664f(0x1f3)],(_0x908618,_0x40f23b,_0x2ffd41=![])=>{const _0x3517f6=_0x45664f;if(_0x908618){_0x385b40(_0x908618,_0x40f23b,_0x2ffd41);return;}if(_0x40f23b[_0x3517f6(0x1f3)][_0x3517f6(0x17b)]){_0x385b40(new Error(_0x3517f6(0x1f7))),this[_0x3517f6(0x1db)](_0x3517f6(0x141));return;}const _0x383c01=_0x40f23b[_0x3517f6(0x1f3)]['id'];this['logger'][_0x3517f6(0x1bd)](_0x3517f6(0x1ea)+_0x383c01),this['debuggee']['id']=_0x383c01;const _0x224169=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](this)(this[_0x3517f6(0x1f3)]['id'])];this[_0x3517f6(0x171)][_0x3517f6(0x237)]&&_0x224169['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x3517f6(0x137)](this)(this['debuggee']['id']));const _0x297ea8=_0x40f23b?.[_0x3517f6(0x1c3)]??[];_0x297ea8[_0x3517f6(0x1df)]('AGENT_METADATA_COLLECTION')&&void __classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_collectAndReportMetadata)['call'](this),Promise['all'](_0x224169)[_0x3517f6(0x135)](()=>{const _0x41310c=_0x3517f6;this[_0x41310c(0x1db)](_0x41310c(0x236),_0x383c01),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x41310c(0x1d2)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x41310c(0x12b)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x40f23b?.['clientConnectionTimeoutInSeconds'],'f'),!this[_0x41310c(0x19c)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x41310c(0x1ec)](this,0x0,this[_0x41310c(0x171)][_0x41310c(0x220)],_0x40f23b?.[_0x41310c(0x15e)]);},_0xe57d9c=>{_0x385b40(_0xe57d9c);});});},_0x2c9a25*0x3e8)[_0x232636(0x146)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x19b547,_0x5d4aa1,_0x52bd2f){const _0x5ceb48=a19_0x578b77;this[_0x5ceb48(0x1f2)]['debug'](_0x5ceb48(0x21f)+_0x19b547+'\x20'+_0x5d4aa1+'\x20'+_0x52bd2f),!_0x5d4aa1&&(this[_0x5ceb48(0x19c)]=!![]),setTimeout(()=>{const _0x50b1e2=_0x5ceb48;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x5d4aa1&&assert(this[_0x50b1e2(0x19c)]),this[_0x50b1e2(0x1f2)][_0x50b1e2(0x166)](_0x50b1e2(0x13d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['listBreakpoints'](this[_0x50b1e2(0x1f3)],(_0x5e9250,_0x19197a,_0x42c4a0)=>{const _0x1df2b=_0x50b1e2;if(_0x42c4a0?.[_0x1df2b(0x1b2)]===0x194){this[_0x1df2b(0x1f2)][_0x1df2b(0x1bd)](_0x1df2b(0x133)),this[_0x1df2b(0x19c)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x1df2b(0x171)]['internal']?.[_0x1df2b(0x134)]?this[_0x1df2b(0x1db)](_0x1df2b(0x1a5)):this[_0x1df2b(0x241)]();return;}if(_0x5e9250){if(this['config'][_0x1df2b(0x17f)]?.['isLambda'])this[_0x1df2b(0x1db)](_0x1df2b(0x21b)),this[_0x1df2b(0x1f2)][_0x1df2b(0x219)](_0x1df2b(0x208)+_0x42c4a0?.['status']+_0x1df2b(0x212)+_0x5e9250[_0x1df2b(0x12e)]);else{const _0x10fb3d=(0x0,utils_1[_0x1df2b(0x1e1)])(_0x19b547,this[_0x1df2b(0x171)][_0x1df2b(0x17f)][_0x1df2b(0x1e2)]);this['logger']['error'](_0x1df2b(0x221)+_0x42c4a0?.[_0x1df2b(0x1b2)]+_0x1df2b(0x212)+_0x5e9250['message']+_0x1df2b(0x1d4)+_0x10fb3d+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1df2b(0x1ec)](this,_0x10fb3d,_0x5d4aa1,_0x52bd2f);}return;}this[_0x1df2b(0x1f2)][_0x1df2b(0x166)]('\x09'+_0x42c4a0[_0x1df2b(0x1b2)]+_0x1df2b(0x15f));if(!_0x19197a){const _0x1c115c=this[_0x1df2b(0x171)][_0x1df2b(0x1e7)];this[_0x1df2b(0x1f2)][_0x1df2b(0x219)](_0x1df2b(0x124)+_0x1c115c+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1df2b(0x1ec)](this,_0x1c115c,_0x5d4aa1,_0x52bd2f);return;}this[_0x1df2b(0x14f)](_0x19197a[_0x1df2b(0x183)]);if(_0x19197a[_0x1df2b(0x23c)]){this[_0x1df2b(0x1f2)][_0x1df2b(0x1bd)](_0x1df2b(0x1d5)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1df2b(0x1ec)](this,0x0,_0x5d4aa1,_0x52bd2f);return;}if(_0x19197a['pipeLogs']&&_0x19197a[_0x1df2b(0x14e)]!==_0x1df2b(0x204)){const _0x230532=this[_0x1df2b(0x160)][_0x1df2b(0x1ff)];_0x230532!==_0x19197a[_0x1df2b(0x14e)]&&(this[_0x1df2b(0x1f2)][_0x1df2b(0x166)](_0x1df2b(0x1e5)+_0x230532+_0x1df2b(0x1b8)+_0x19197a[_0x1df2b(0x14e)]),this[_0x1df2b(0x160)]['globalPipingStatus']=_0x19197a['pipeLogs']);}if(_0x19197a['collectAndSendLog']&&_0x19197a[_0x1df2b(0x234)]!==this[_0x1df2b(0x234)]){this['collectLogRequestId']=_0x19197a[_0x1df2b(0x234)];const _0x31f828=this[_0x1df2b(0x171)]['agentLog']['agentLogTargetDir']&&path[_0x1df2b(0x142)](this[_0x1df2b(0x171)]['agentLog'][_0x1df2b(0x233)],agent_logger_1['default'][_0x1df2b(0x140)]);_0x31f828&&fs[_0x1df2b(0x1e4)](_0x31f828)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1df2b(0x151)](this[_0x1df2b(0x1f3)],_0x19197a[_0x1df2b(0x234)],_0x31f828)):this[_0x1df2b(0x1f2)]['info'](_0x1df2b(0x201)+_0x19197a['collectLogRequestId']+_0x1df2b(0x21c)+_0x1df2b(0x123));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1df2b(0x1c3)]=_0x19197a[_0x1df2b(0x1c3)]??[];const _0x4eed14=(_0x19197a[_0x1df2b(0x158)]||[])[_0x1df2b(0x1fa)](_0x43ec9f=>new stackdriver_1[(_0x1df2b(0x164))](_0x43ec9f))[_0x1df2b(0x1cc)](_0x1150dd=>{const _0x40aed9=_0x1df2b,_0x48ccca=_0x1150dd[_0x40aed9(0x1a7)]??_0x40aed9(0x217);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1150dd['id']])return![];if(_0x48ccca!==_0x40aed9(0x217)&&_0x48ccca!==_0x40aed9(0x12f))return this[_0x40aed9(0x1f2)]['warn'](_0x40aed9(0x1ba),_0x48ccca),_0x1150dd[_0x40aed9(0x1b2)]=new status_message_1[(_0x40aed9(0x1f4))](status_message_1['StatusMessage'][_0x40aed9(0x177)],utils_1[_0x40aed9(0x19e)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x40aed9(0x1ec)](this,_0x1150dd),![];return!![];}),_0x5641f4=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x1df2b(0x1ec)](this);let _0x822450=_0x5641f4[_0x1df2b(0x22e)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x1df2b(0x1ec)](this,_0x5641f4),_0x822450=_0x822450||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x1df2b(0x1ec)](this,_0x4eed14),this['emit'](_0x1df2b(0x19a),_0x4eed14[_0x1df2b(0x22e)]);_0x822450&&this[_0x1df2b(0x1f2)][_0x1df2b(0x166)](formatBreakpoints(_0x1df2b(0x1ef),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x5d4aa1?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1df2b(0x1ec)](this,0x0,_0x5d4aa1,_0x52bd2f);return;},_0x52bd2f);},_0x19b547*0x3e8)[_0x5ceb48(0x146)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x352912=a19_0x578b77;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x352912(0x1d2)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x1e1b8d){const _0x4c9b75=a19_0x578b77,_0x401932=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x4c9b75(0x1ec)](this,_0x1e1b8d);let _0x40d796=![];return _0x1e1b8d['forEach'](_0x580765=>{const _0x484df9=_0x4c9b75;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x580765['id']]&&!this[_0x484df9(0x243)][_0x580765['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x484df9(0x1ec)](this,_0x580765,_0x1c85f0=>{const _0x2d45e6=_0x484df9;_0x1c85f0&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x2d45e6(0x1ec)](this,_0x580765,!![],![]);}),_0x40d796=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x484df9(0x1cb)](_0x580765['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x484df9(0x23d)](_0x580765['id'],_0x580765['ignoreQuota']),this[_0x484df9(0x160)][_0x484df9(0x1c2)](_0x580765['id'],_0x580765['pipingStatus']);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x401932)[_0x4c9b75(0x23e)](_0x1f3df0=>{const {id:_0x351498}=_0x1f3df0;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x351498],_0x40d796=!![];}),(0x0,mapSubtract_1[_0x4c9b75(0x190)])(this[_0x4c9b75(0x243)],_0x401932)['forEach'](_0xc97694=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0xc97694,!![]),_0x40d796=!![];}),_0x40d796&&this['logger'][_0x4c9b75(0x166)](formatBreakpoints(_0x4c9b75(0x174),_0x401932)),_0x40d796;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x5d15b5){const _0x534099=a19_0x578b77;return Object[_0x534099(0x127)](_0x5d15b5[_0x534099(0x1fa)](_0x44dffd=>[_0x44dffd['id'],_0x44dffd]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x5cdb31,_0x693372){const _0x3a152b=a19_0x578b77;this[_0x3a152b(0x1f2)][_0x3a152b(0x1bd)]('\x09remove\x20breakpoint\x20id\x20'+_0x5cdb31['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3a152b(0x13b)](_0x5cdb31['id']),this[_0x3a152b(0x160)][_0x3a152b(0x131)](_0x5cdb31['id']),delete this[_0x3a152b(0x243)][_0x5cdb31['id']],_0x693372&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3a152b(0x227)](_0x5cdb31,_0x501822=>{const _0x53715e=_0x3a152b;if(_0x501822)this[_0x53715e(0x1f2)]['error'](_0x501822);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4fb8a8,_0x574dc5){const _0x4b32b5=a19_0x578b77;this[_0x4b32b5(0x1f2)]['info'](_0x4b32b5(0x1b7),this[_0x4b32b5(0x129)](_0x4fb8a8));if(!this[_0x4b32b5(0x171)]['allowExpressions']&&(_0x4fb8a8['condition']||_0x4fb8a8[_0x4b32b5(0x21d)])){this[_0x4b32b5(0x1f2)]['error'](utils_1['errors'][_0x4b32b5(0x1c9)][_0x4b32b5(0x1c6)]??''),_0x4fb8a8['status']=new status_message_1['StatusMessage'](status_message_1[_0x4b32b5(0x1f4)][_0x4b32b5(0x177)],utils_1[_0x4b32b5(0x19e)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x333826=_0x4b32b5;_0x574dc5(utils_1[_0x333826(0x19e)][_0x333826(0x1c9)]);});return;}const _0x1f0e10=_0x4fb8a8[_0x4b32b5(0x20f)]?Number(_0x4fb8a8['createTime']['seconds']):Date[_0x4b32b5(0x1dd)]()/0x3e8,_0x5798e6=_0x4fb8a8[_0x4b32b5(0x1b1)]??this[_0x4b32b5(0x171)][_0x4b32b5(0x147)];_0x4fb8a8['expirationTime']=_0x1f0e10+_0x5798e6,_0x4fb8a8[_0x4b32b5(0x1f1)]?.['path']&&(_0x4fb8a8[_0x4b32b5(0x1f1)][_0x4b32b5(0x1c1)]=path[_0x4b32b5(0x1dc)](_0x4fb8a8[_0x4b32b5(0x1f1)][_0x4b32b5(0x1c1)]),path[_0x4b32b5(0x15d)]===path[_0x4b32b5(0x184)][_0x4b32b5(0x15d)]&&(_0x4fb8a8['location'][_0x4b32b5(0x1c1)]=_0x4fb8a8['location'][_0x4b32b5(0x1c1)][_0x4b32b5(0x12d)]('\x5c')[_0x4b32b5(0x142)](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['set'](_0x4fb8a8,_0x590ac0=>{const _0x5d883b=_0x4b32b5;if(_0x590ac0){_0x574dc5(_0x590ac0);return;}this[_0x5d883b(0x1f2)][_0x5d883b(0x1bd)]('\x09successfully\x20added\x20breakpoint\x20id\x20'+_0x4fb8a8['id']),this[_0x5d883b(0x243)][_0x4fb8a8['id']]=_0x4fb8a8,_0x4fb8a8[_0x5d883b(0x1a7)]===_0x5d883b(0x12f)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5d883b(0x21a)](_0x4fb8a8,(_0x1cc135,_0x2a2732)=>{const _0x1a1d8c=_0x5d883b,_0x11cfd8=_0x2a2732['map'](_0x3459f5=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3459f5)),_0x26270d=(0x0,format_1[_0x1a1d8c(0x202)])(_0x1cc135,_0x11cfd8),_0xe9b0b0=_0x1a1d8c(0x1b5)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x26270d)??_0x26270d),_0xceee3e=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1a1d8c(0x1c0)](_0xe9b0b0,_0x4fb8a8['id']);if(_0xceee3e){const _0x2b5d06=_0xceee3e[_0x1a1d8c(0x12e)],{isOutOfQuota:_0x10d3de}=_0xceee3e;let _0x426f9c,_0x3c73ed;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1a1d8c(0x1de)]()&&!_0x10d3de&&(_0x426f9c=_0x1a1d8c(0x1b5)+_0x1cc135,_0x3c73ed=_0x11cfd8);this[_0x1a1d8c(0x160)][_0x1a1d8c(0x20c)](this[_0x1a1d8c(0x1f3)],_0x4fb8a8['id'],_0x2b5d06,_0x4fb8a8['logLevel'],_0x426f9c,_0x3c73ed);if(_0x10d3de)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1a1d8c(0x152)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x524363=_0x1a1d8c;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x524363(0x179)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x1a1d8c(0x171)][_0x1a1d8c(0x1f8)][_0x1a1d8c(0x1cd)]*0x3e8),'f');else _0x2b5d06?.[_0x1a1d8c(0x22e)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1a1d8c(0x152)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4fb8a8['id']],_0x2b9a64=>{const _0x4cf477=_0x5d883b;if(_0x2b9a64){this[_0x4cf477(0x1f2)]['error'](_0x2b9a64),_0x574dc5(_0x2b9a64);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['wait'](_0x4fb8a8,_0x3d3f9f=>{const _0x1ec367=_0x5d883b;if(_0x3d3f9f){setImmediate(()=>{const _0x4a91ee=a19_0x44b6;this[_0x4a91ee(0x1f2)][_0x4a91ee(0x219)](_0x3d3f9f),_0x574dc5(_0x3d3f9f);});return;}this[_0x1ec367(0x1f2)][_0x1ec367(0x1bd)]('Breakpoint\x20hit!:\x20breakpoint\x20id:\x20'+_0x4fb8a8['id'],_0x4fb8a8[_0x1ec367(0x1f1)]?.['path'],_0x4fb8a8[_0x1ec367(0x1f1)]?.[_0x1ec367(0x14c)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1ec367(0x1ec)](this,_0x4fb8a8,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1ec367(0x1e3)](_0x4fb8a8['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x5d883b(0x1ec)](this,_0x4fb8a8);}),this[_0x4b32b5(0x1db)](_0x4b32b5(0x211));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x5789f5,_0x56a59f,_0x3e30c6=!![]){const _0x277e14=a19_0x578b77;if(_0x5789f5['status']?.['isError']){let _0x21571a=_0x5789f5[_0x277e14(0x1b2)]?.['description']?.[_0x277e14(0x202)]||'';_0x5789f5[_0x277e14(0x1b2)]?.[_0x277e14(0x1c6)]?.['parameters']&&(_0x21571a+=':\x20'+_0x5789f5[_0x277e14(0x1b2)]?.[_0x277e14(0x1c6)]?.['parameters'][_0x277e14(0x18a)]()),this['logger']['warn'](_0x277e14(0x18e)+_0x5789f5+_0x277e14(0x128)+_0x21571a);}else this[_0x277e14(0x1f2)]['info'](_0x277e14(0x206),this['stringifyBreakpointForInfoLog'](_0x5789f5));_0x56a59f&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5789f5['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x277e14(0x1ec)](this,_0x5789f5,_0x3e30c6)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x277e14(0x1f3)],extend(!![],{},_0x5789f5));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2d1f90){const _0x52ce08=a19_0x578b77;this[_0x52ce08(0x1f2)]['debug'](_0x52ce08(0x242)+_0x2d1f90+_0x52ce08(0x13f));const _0x589f13=extend(!![],{},_0x2d1f90);_0x589f13[_0x52ce08(0x23f)]=![],_0x589f13[_0x52ce08(0x1b2)]=new status_message_1[(_0x52ce08(0x1f4))](status_message_1[_0x52ce08(0x1f4)][_0x52ce08(0x177)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x52ce08(0x222)](this[_0x52ce08(0x1f3)],_0x589f13);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x257a23){const _0x31fa38=a19_0x578b77;this[_0x31fa38(0x1f2)][_0x31fa38(0x1bd)]('rejecting\x20breakpoint\x20id\x20'+_0x257a23),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x257a23['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x31fa38(0x1f3)],_0x257a23);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x501533){const _0x59baa8=a19_0x578b77;_0x501533[_0x59baa8(0x23e)](_0x4644b1=>{const _0x4ec42f=_0x59baa8;this[_0x4ec42f(0x1f2)]['info'](_0x4ec42f(0x181)+_0x4644b1['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4644b1['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4ec42f(0x1ec)](this,_0x4644b1,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x35703a=a19_0x578b77,_0x5ac263=Date[_0x35703a(0x1dd)]()/0x3e8;return Object[_0x35703a(0x1a1)](this[_0x35703a(0x243)])[_0x35703a(0x1cc)](_0x58cd49=>_0x58cd49['expirationTime']?_0x58cd49[_0x35703a(0x12a)]<_0x5ac263:![]);},_Debuglet_collectAndReportMetadata=async function _Debuglet_collectAndReportMetadata(){const _0x2ecf0f=a19_0x578b77;try{const _0x568e74=(0x0,agent_metadata_collector_1[_0x2ecf0f(0x22c)])(agentMetadataLookup[_0x2ecf0f(0x213)],this['config'][_0x2ecf0f(0x1f0)]),_0x133074=(0x0,agent_metadata_collector_1['mergeMetadataLookupValues'])(agentMetadataLookup[_0x2ecf0f(0x16d)],this[_0x2ecf0f(0x171)][_0x2ecf0f(0x22d)]),_0x5d22ad=await(0x0,agent_metadata_collector_1[_0x2ecf0f(0x18d)])(process[_0x2ecf0f(0x1bf)],_0x133074,_0x568e74,this[_0x2ecf0f(0x1f2)]);await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2ecf0f(0x1ca)](this[_0x2ecf0f(0x1f3)]['id'],_0x5d22ad[_0x2ecf0f(0x195)]),this['logger'][_0x2ecf0f(0x1bd)](_0x2ecf0f(0x1b6)+_0x5d22ad[_0x2ecf0f(0x195)][_0x2ecf0f(0x22e)]+_0x2ecf0f(0x156));}catch(_0x1db701){this[_0x2ecf0f(0x1f2)][_0x2ecf0f(0x15b)]('Failed\x20to\x20collect\x20or\x20report\x20agent\x20metadata',_0x1db701);}},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x25609a){const _0x578184=a19_0x578b77,_0x53daf6=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x578184(0x180)](_0x25609a),_0x4cdd8b=_0x53daf6[_0x578184(0x16b)],_0x37c210=_0x53daf6[_0x578184(0x18b)];_0x4cdd8b?.['length']&&this['logger']['debug']('Blacklist:\x20\x0a\x09',_0x4cdd8b[_0x578184(0x142)]('\x0a\x09')),_0x37c210?.['length']&&this[_0x578184(0x1f2)][_0x578184(0x166)](_0x578184(0x149),_0x37c210[_0x578184(0x142)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x578184(0x192))](_0x4cdd8b,_0x37c210,this[_0x578184(0x171)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x4d0411){const _0x2bca6e=a19_0x578b77,_0x1f40b8=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2bca6e(0x14d)](_0x4d0411);_0x1f40b8?.[_0x2bca6e(0x22e)]&&this[_0x2bca6e(0x1f2)][_0x2bca6e(0x166)](_0x2bca6e(0x172),_0x1f40b8['map'](_0x2d48e3=>'name:\x20'+_0x2d48e3[_0x2bca6e(0x1bc)]+'\x20(type:\x20'+_0x2d48e3['type']+_0x2bca6e(0x1a6)+_0x2d48e3[_0x2bca6e(0x16e)]+_0x2bca6e(0x136)+_0x2d48e3['caseInsensitive'])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x2bca6e(0x169))](this[_0x2bca6e(0x1f2)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0x1f40b8);},_Debuglet_stringify=function _Debuglet_stringify(_0x1e4ee8){const _0x53590d=a19_0x578b77;if(!_0x1e4ee8)return JSON['stringify'](_0x1e4ee8,(_0x1aeb11,_0x4da94c)=>_0x4da94c===undefined?_0x53590d(0x20b):_0x4da94c);if(Array[_0x53590d(0x19b)](_0x1e4ee8)){const _0x320b09=_0x1e4ee8['map'](_0x543193=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x543193));return'['+_0x320b09[_0x53590d(0x142)](',\x20')+']';}if(typeof _0x1e4ee8===_0x53590d(0x1bb)){const _0x19a99b=Object[_0x53590d(0x1e8)](_0x1e4ee8)[_0x53590d(0x1fa)](([_0x293ee1,_0x152fe0])=>{const _0x3f4715=_0x53590d,_0x4d8b3f=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3f4715(0x1ee)](_0x293ee1)?redaction_manager_1[_0x3f4715(0x235)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3f4715(0x1ec)](this,_0x152fe0);return JSON['stringify'](_0x293ee1)+':\x20'+_0x4d8b3f;})['join'](',\x20');return'{'+_0x19a99b+'}';}return JSON['stringify'](_0x1e4ee8);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a20_0x2963(_0x514c33,_0x7fb33e){const _0x5be6a5=a20_0x50b1();return a20_0x2963=function(_0x46bc26,_0x1aa763){_0x46bc26=_0x46bc26-0xa7;let _0x50b141=_0x5be6a5[_0x46bc26];return _0x50b141;},a20_0x2963(_0x514c33,_0x7fb33e);}const a20_0x462621=a20_0x2963;(function(_0x1ded59,_0x20cd13){const _0x264ec6=a20_0x2963,_0x55cc82=_0x1ded59();while(!![]){try{const _0x50a548=-parseInt(_0x264ec6(0xc3))/0x1*(parseInt(_0x264ec6(0xb9))/0x2)+-parseInt(_0x264ec6(0xbb))/0x3*(-parseInt(_0x264ec6(0xe8))/0x4)+-parseInt(_0x264ec6(0xd2))/0x5+-parseInt(_0x264ec6(0xac))/0x6+parseInt(_0x264ec6(0xdc))/0x7+-parseInt(_0x264ec6(0xe3))/0x8+parseInt(_0x264ec6(0xb7))/0x9;if(_0x50a548===_0x20cd13)break;else _0x55cc82['push'](_0x55cc82['shift']());}catch(_0x9bdf77){_0x55cc82['push'](_0x55cc82['shift']());}}}(a20_0x50b1,0x44e22));Object[a20_0x462621(0xb5)](exports,a20_0x462621(0xb4),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a20_0x462621(0xbc));var OS;(function(_0x535fb8){const _0x159d10=a20_0x462621;_0x535fb8[_0x159d10(0xe6)]=_0x159d10(0xb6),_0x535fb8[_0x159d10(0xd1)]=_0x159d10(0xb1),_0x535fb8[_0x159d10(0xbf)]='mac';}(OS||(OS={})));function a20_0x50b1(){const _0x3caf1a=['1388400KLSGvR','arm64','arch','replace','apply','x32','VERSION_ID','x64','agentOS','error','3814958vmwuCK','get','/.dockerenv','release','/etc/os-release','runtimeEnvironmentInfo','Node.js\x20','1453472JuJqvd','utf-8','pid','Linux','split','11416hUlYem','host','search','EnvironmentMetadata','runtimeEnvironmentVersion','env','849528SDnhnD','node','procArch','constructor','platform','windows','cpus','_osRelease','__esModule','defineProperty','linux','1240983KZAYLf','cpuCoreCount','2ejpLfM','toString','408dYFIHK','assert','osVersion','(((.+)+)+)+$','MacOS','isInDocker','trim','forEach','187927vuVmvj','set','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','linuxDistroName','_cachedOsRelease','version','systemTotalMemoryBytes','getProps','arm','_logger','match','warn','readFileSync','isInK8s','Windows'];a20_0x50b1=function(){return _0x3caf1a;};return a20_0x50b1();}var ProcArch;(function(_0x2d6124){const _0x364f67=a20_0x462621,_0xb65f0c=(function(){let _0x4aaf2a=!![];return function(_0x1738cf,_0x24774d){const _0x20c6cc=_0x4aaf2a?function(){const _0x3227cb=a20_0x2963;if(_0x24774d){const _0x2a9b6b=_0x24774d[_0x3227cb(0xd6)](_0x1738cf,arguments);return _0x24774d=null,_0x2a9b6b;}}:function(){};return _0x4aaf2a=![],_0x20c6cc;};}()),_0x12dc15=_0xb65f0c(this,function(){const _0x2c974b=a20_0x2963;return _0x12dc15[_0x2c974b(0xba)]()[_0x2c974b(0xa8)](_0x2c974b(0xbe))[_0x2c974b(0xba)]()[_0x2c974b(0xaf)](_0x12dc15)[_0x2c974b(0xa8)](_0x2c974b(0xbe));});_0x12dc15(),_0x2d6124[_0x364f67(0xd9)]='x64',_0x2d6124[_0x364f67(0xd7)]=_0x364f67(0xd7),_0x2d6124[_0x364f67(0xcb)]='arm',_0x2d6124['arm64']=_0x364f67(0xd3);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a20_0x462621(0xe6)],'win32':OS[a20_0x462621(0xd1)],'darwin':OS[a20_0x462621(0xbf)]},ArchToProcArchMap={'x32':ProcArch[a20_0x462621(0xd7)],'x64':ProcArch[a20_0x462621(0xd9)],'arm':ProcArch[a20_0x462621(0xcb)],'arm64':ProcArch[a20_0x462621(0xd3)]};class EnvironmentMetadata{constructor(_0xb49d0e){const _0x3c59d6=a20_0x462621;assert(_0xb49d0e!==null),this[_0x3c59d6(0xcc)]=_0xb49d0e;}get['runtimeEnvironmentVersion'](){const _0x5bdb97=a20_0x462621;try{const _0x32637a=process['versions'][_0x5bdb97(0xad)][_0x5bdb97(0xcd)](/(\d+\.\d+)\..*/);if(_0x32637a)return _0x32637a[0x1];}catch(_0x51d39e){this[_0x5bdb97(0xcc)][_0x5bdb97(0xdb)](_0x51d39e);}return;}get['runtimeEnvironmentInfo'](){const _0x4b080c=a20_0x462621;return _0x4b080c(0xe2)+process[_0x4b080c(0xc8)]+'\x20on\x20'+(0x0,os_1[_0x4b080c(0xb0)])()+'\x20'+(0x0,os_1[_0x4b080c(0xdf)])();}get[a20_0x462621(0xe5)](){return process['pid']['toString']();}get[a20_0x462621(0xae)](){const _0x45d045=a20_0x462621;return ArchToProcArchMap[process[_0x45d045(0xd4)]]||process[_0x45d045(0xd4)];}get[a20_0x462621(0xb8)](){const _0x35b01f=a20_0x462621;return(0x0,os_1[_0x35b01f(0xb2)])()['length'];}get[a20_0x462621(0xc9)](){return(0x0,os_1['totalmem'])();}get[a20_0x462621(0xa7)](){return(0x0,os_1['hostname'])();}get['agentOS'](){const _0x5588ca=a20_0x462621;return PlatformToOsMap[(0x0,os_1[_0x5588ca(0xb0)])()]||(0x0,os_1[_0x5588ca(0xb0)])();}get[a20_0x462621(0xbd)](){const _0x5babd8=a20_0x462621;try{if(this[_0x5babd8(0xda)]===OS[_0x5babd8(0xe6)])return this['_osRelease'][_0x5babd8(0xdd)](_0x5babd8(0xd8))??(0x0,os_1[_0x5babd8(0xdf)])();return(0x0,os_1[_0x5babd8(0xdf)])();}catch(_0x1c8e18){this['_logger'][_0x5babd8(0xdb)](_0x1c8e18);}return;}get[a20_0x462621(0xc6)](){const _0x49c264=a20_0x462621;return this[_0x49c264(0xda)]===OS[_0x49c264(0xe6)]&&this[_0x49c264(0xb3)][_0x49c264(0xdd)]('ID')||'';}get[a20_0x462621(0xc0)](){const _0x1c676a=a20_0x462621;return this[_0x1c676a(0xda)]===OS['Linux']?(0x0,fs_1['existsSync'])(_0x1c676a(0xde)):![];}get[a20_0x462621(0xd0)](){const _0x35b23b=a20_0x462621;return!!process[_0x35b23b(0xab)]['KUBERNETES_SERVICE_HOST'];}get[a20_0x462621(0xb3)](){const _0x32bd64=a20_0x462621;if(!this[_0x32bd64(0xc7)]){this[_0x32bd64(0xc7)]=new Map();try{if(this[_0x32bd64(0xda)]===OS['Linux']){const _0x1d5d17=(0x0,fs_1[_0x32bd64(0xcf)])(_0x32bd64(0xe0),_0x32bd64(0xe4));_0x1d5d17['split'](/\r?\n/)[_0x32bd64(0xc2)](_0x2dcccb=>{const _0x16fdc5=_0x32bd64,[_0x2272a1,_0x1d95c4]=_0x2dcccb[_0x16fdc5(0xc1)]()[_0x16fdc5(0xe7)]('=');this['_cachedOsRelease']?.[_0x16fdc5(0xc4)](_0x2272a1,_0x1d95c4?.[_0x16fdc5(0xd5)](/^"|"$/g,'')||'');});}}catch(_0xbbf97d){this['_logger'][_0x32bd64(0xce)](_0x32bd64(0xc5),_0xbbf97d);}}return this[_0x32bd64(0xc7)];}[a20_0x462621(0xca)](){const _0x9cd233=a20_0x462621;return{'runtimeEnvironmentVersion':this[_0x9cd233(0xaa)],'runtimeEnvironmentInfo':this[_0x9cd233(0xe1)],'pid':this['pid'],'cpuCoreCount':this['cpuCoreCount'],'systemTotalMemoryBytes':this[_0x9cd233(0xc9)],'host':this[_0x9cd233(0xa7)],'agentOS':this[_0x9cd233(0xda)],'osVersion':this[_0x9cd233(0xbd)],'linuxDistroName':this[_0x9cd233(0xc6)]||undefined,'isInDocker':this[_0x9cd233(0xc0)],'isInK8s':this[_0x9cd233(0xd0)],'procArch':this[_0x9cd233(0xae)]};}}exports[a20_0x462621(0xa9)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a21_0x3587(){const _0x26d947=['fileIndex','645218RVgLks','fromFileStats','min','fileStats','startsWith','stripStartingSep','1ZlMbJH','length','size','path','9bkGpjA','_fileStats','sep','FileIndex','196984IbftWN','(((.+)+)+)+$','7PIBtDL','filter','search','746658tCgmwk','indexOf','defineProperty','get','generateSubPaths','apply','1463103WdTyRk','1376215rcgYqf','keys','constructor','9454800YfsAei','has','toString','315724KZKKOD','11qzgCXl','findShortestFuzzyMatches','buildIndex','substring'];a21_0x3587=function(){return _0x26d947;};return a21_0x3587();}function a21_0x5e3e(_0x34f3fb,_0x4a74a4){const _0x3ffbb5=a21_0x3587();return a21_0x5e3e=function(_0x4e3f7d,_0x41fe27){_0x4e3f7d=_0x4e3f7d-0xc4;let _0x35870b=_0x3ffbb5[_0x4e3f7d];return _0x35870b;},a21_0x5e3e(_0x34f3fb,_0x4a74a4);}const a21_0x392637=a21_0x5e3e;(function(_0x175bc3,_0x510db4){const _0x108c1a=a21_0x5e3e,_0x49e41d=_0x175bc3();while(!![]){try{const _0x39d3bf=parseInt(_0x108c1a(0xdd))/0x1*(-parseInt(_0x108c1a(0xd7))/0x2)+-parseInt(_0x108c1a(0xe1))/0x3*(parseInt(_0x108c1a(0xd1))/0x4)+-parseInt(_0x108c1a(0xcb))/0x5+-parseInt(_0x108c1a(0xc4))/0x6+-parseInt(_0x108c1a(0xe7))/0x7*(-parseInt(_0x108c1a(0xe5))/0x8)+parseInt(_0x108c1a(0xca))/0x9+parseInt(_0x108c1a(0xce))/0xa*(parseInt(_0x108c1a(0xd2))/0xb);if(_0x39d3bf===_0x510db4)break;else _0x49e41d['push'](_0x49e41d['shift']());}catch(_0xa01983){_0x49e41d['push'](_0x49e41d['shift']());}}}(a21_0x3587,0x2a60e));const a21_0x41fe27=(function(){let _0x4e010f=!![];return function(_0x28a04c,_0x20307f){const _0x15f5bd=_0x4e010f?function(){const _0x16ad8b=a21_0x5e3e;if(_0x20307f){const _0x3231b7=_0x20307f[_0x16ad8b(0xc9)](_0x28a04c,arguments);return _0x20307f=null,_0x3231b7;}}:function(){};return _0x4e010f=![],_0x15f5bd;};}()),a21_0x4e3f7d=a21_0x41fe27(this,function(){const _0x1d5f6c=a21_0x5e3e;return a21_0x4e3f7d[_0x1d5f6c(0xd0)]()[_0x1d5f6c(0xe9)](_0x1d5f6c(0xe6))[_0x1d5f6c(0xd0)]()[_0x1d5f6c(0xcd)](a21_0x4e3f7d)[_0x1d5f6c(0xe9)](_0x1d5f6c(0xe6));});a21_0x4e3f7d();'use strict';Object[a21_0x392637(0xc6)](exports,'__esModule',{'value':!![]}),exports[a21_0x392637(0xe4)]=void 0x0;const path=require(a21_0x392637(0xe0));class FileIndex{constructor(_0x2ce9ee){const _0x2178e3=a21_0x392637;this['_fileStats']=_0x2ce9ee,this[_0x2178e3(0xd6)]=new Map();}static[a21_0x392637(0xd8)](_0x316663){const _0x44c4ae=a21_0x392637,_0x58e96b=new FileIndex(_0x316663);return _0x58e96b[_0x44c4ae(0xd4)](Object[_0x44c4ae(0xcc)](_0x316663)||[]),_0x58e96b;}static['fromFileList'](_0x23ccd7){const _0x4e3b91=a21_0x392637,_0x1dc4fe=new FileIndex(undefined);return _0x1dc4fe[_0x4e3b91(0xd4)](_0x23ccd7||[]),_0x1dc4fe;}get[a21_0x392637(0xda)](){const _0x166be3=a21_0x392637;return this[_0x166be3(0xe2)]??{};}[a21_0x392637(0xd3)](_0x5fd52c){const _0xd01cfd=a21_0x392637,_0x2e6ddf=this[_0xd01cfd(0xe9)](_0x5fd52c);if(!_0x2e6ddf||_0x2e6ddf[_0xd01cfd(0xdf)]===0x0)return[];const _0x216eb6=[..._0x2e6ddf]['map'](_0x38db81=>_0x38db81[_0xd01cfd(0xde)]),_0x2446f0=Math[_0xd01cfd(0xd9)](..._0x216eb6),_0x4810a6=[..._0x2e6ddf][_0xd01cfd(0xe8)](_0x455cc=>_0x455cc[_0xd01cfd(0xde)]===_0x2446f0);return _0x4810a6;}[a21_0x392637(0xd4)](_0x39dadc){const _0x4f318b=a21_0x392637;for(const _0x239721 of _0x39dadc){for(const _0x135ef2 of this['generateSubPaths'](_0x239721)){let _0x5eec36=this[_0x4f318b(0xd6)][_0x4f318b(0xc7)](_0x135ef2);_0x5eec36===undefined&&(_0x5eec36=new Set(),this['fileIndex']['set'](_0x135ef2,_0x5eec36)),_0x5eec36['add'](_0x239721);}}}[a21_0x392637(0xc8)](_0x3637ad){const _0x59adef=a21_0x392637;_0x3637ad=this['stripStartingSep'](_0x3637ad);const _0x14242e=[_0x3637ad];while(_0x3637ad['includes'](path[_0x59adef(0xe3)])){_0x3637ad=_0x3637ad[_0x59adef(0xd5)](_0x3637ad[_0x59adef(0xc5)](path[_0x59adef(0xe3)])+path[_0x59adef(0xe3)]['length'],_0x3637ad['length']),_0x14242e['push'](_0x3637ad);}return _0x14242e;}['search'](_0x4acae2){const _0x50f564=a21_0x392637;if(!_0x4acae2)return undefined;_0x4acae2=this['stripStartingSep'](_0x4acae2);for(const _0x49b217 of this[_0x50f564(0xc8)](_0x4acae2)){if(this[_0x50f564(0xd6)][_0x50f564(0xcf)](_0x49b217))return this[_0x50f564(0xd6)][_0x50f564(0xc7)](_0x49b217);}return undefined;}[a21_0x392637(0xdc)](_0x97f1a4){const _0x115333=a21_0x392637;if(_0x97f1a4&&(_0x97f1a4['startsWith']('/')||_0x97f1a4[_0x115333(0xdb)]('\x5c')))return _0x97f1a4['substr'](0x1);return _0x97f1a4;}}exports['FileIndex']=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a22_0x1aa6(_0x499b4f,_0x338c4b){const _0x3319f5=a22_0x3750();return a22_0x1aa6=function(_0x2012c2,_0x2fec89){_0x2012c2=_0x2012c2-0x6d;let _0x3750bd=_0x3319f5[_0x2012c2];return _0x3750bd;},a22_0x1aa6(_0x499b4f,_0x338c4b);}const a22_0x362d78=a22_0x1aa6;(function(_0x9cc4c6,_0x162626){const _0x596566=a22_0x1aa6,_0x231c47=_0x9cc4c6();while(!![]){try{const _0x27302a=-parseInt(_0x596566(0x83))/0x1+-parseInt(_0x596566(0x82))/0x2*(-parseInt(_0x596566(0x77))/0x3)+-parseInt(_0x596566(0x74))/0x4*(-parseInt(_0x596566(0x89))/0x5)+parseInt(_0x596566(0x84))/0x6*(parseInt(_0x596566(0x73))/0x7)+-parseInt(_0x596566(0x7f))/0x8+parseInt(_0x596566(0x6e))/0x9*(-parseInt(_0x596566(0x88))/0xa)+-parseInt(_0x596566(0x79))/0xb;if(_0x27302a===_0x162626)break;else _0x231c47['push'](_0x231c47['shift']());}catch(_0x3f8553){_0x231c47['push'](_0x231c47['shift']());}}}(a22_0x3750,0x96321));const a22_0x2fec89=(function(){let _0x4312d5=!![];return function(_0x557ed0,_0x5a38b3){const _0x572cd7=_0x4312d5?function(){const _0x726d3=a22_0x1aa6;if(_0x5a38b3){const _0x48047d=_0x5a38b3[_0x726d3(0x86)](_0x557ed0,arguments);return _0x5a38b3=null,_0x48047d;}}:function(){};return _0x4312d5=![],_0x572cd7;};}()),a22_0x2012c2=a22_0x2fec89(this,function(){const _0x5bb7af=a22_0x1aa6;return a22_0x2012c2['toString']()['search'](_0x5bb7af(0x7c))['toString']()[_0x5bb7af(0x76)](a22_0x2012c2)['search']('(((.+)+)+)+$');});a22_0x2012c2();'use strict';Object[a22_0x362d78(0x72)](exports,a22_0x362d78(0x7a),{'value':!![]}),exports[a22_0x362d78(0x7d)]=void 0x0;function a22_0x3750(){const _0x63d4b8=['5310WFFvLY','290WvPOjq','path','selectFiles','4023eAeACX','sep','all','errorMap','defineProperty','497iDDVMV','22824YixJKU','normalize','constructor','2260287iMOiVl','replace','6184343DMSjgB','__esModule','test','(((.+)+)+)+$','ScanResultsImpl','keys','3912376FvHgaP','stats','hash','2dKHRsI','369880wejxDs','100506injcZF','errors','apply','filter'];a22_0x3750=function(){return _0x63d4b8;};return a22_0x3750();}const path=require(a22_0x362d78(0x8a));class ScanResultsImpl{constructor(_0x16a0ea,_0x4865d0,_0x2c47ab){const _0x251415=a22_0x362d78;this['stats']=_0x16a0ea,this['errorMap']=_0x4865d0,this[_0x251415(0x81)]=_0x2c47ab;}[a22_0x362d78(0x85)](){const _0x5a76b2=a22_0x362d78;return this[_0x5a76b2(0x71)];}[a22_0x362d78(0x70)](){const _0x246d91=a22_0x362d78;return this[_0x246d91(0x80)];}['selectStats'](_0x5752fe){const _0x42cc99=a22_0x362d78,_0x276251={};return Object[_0x42cc99(0x7e)](this[_0x42cc99(0x80)])['forEach'](_0x303407=>{const _0x3c976c=_0x42cc99;_0x5752fe[_0x3c976c(0x7b)](_0x303407)&&(_0x276251[_0x303407]=this[_0x3c976c(0x80)][_0x303407]);}),_0x276251;}[a22_0x362d78(0x6d)](_0x574a8d,_0x472b3a){const _0x4c1f4b=a22_0x362d78;return _0x472b3a=path[_0x4c1f4b(0x75)](_0x472b3a+path[_0x4c1f4b(0x6f)]),Object[_0x4c1f4b(0x7e)](this[_0x4c1f4b(0x80)])[_0x4c1f4b(0x87)](_0x278702=>_0x278702&&_0x574a8d['test'](_0x278702))['map'](_0x3ee829=>path[_0x4c1f4b(0x75)](_0x3ee829)[_0x4c1f4b(0x78)](_0x472b3a,''));}}exports[a22_0x362d78(0x7d)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a23_0x314a(_0x5b5ec4,_0x44c054){const _0xaecc67=a23_0x3e8b();return a23_0x314a=function(_0x504836,_0x8d045c){_0x504836=_0x504836-0x104;let _0x3e8b53=_0xaecc67[_0x504836];return _0x3e8b53;},a23_0x314a(_0x5b5ec4,_0x44c054);}function a23_0x3e8b(){const _0x41bdd8=['join','test','1841144EXQxJN','set','update','80YaKiNv','statsForFile','229232zJNGSz','computeStats','EMPTY-no-js-files','toString','length','constants','resolve','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','warn','constructor','from','createHash','defineProperty','pipe','(((.+)+)+)+$','split','directory','sort','findit2','scan','hex','432504qTvaYo','search','hash','logger','error','388107sUSmoz','hasReadAccess','sha1','2543877hVlPQy','open','crypto','path','findFiles','Scanner','68622rvJuRy','data','36122XcjLem','.git','info','file','digest','basename','ScanResultsImpl','addFilesFromDir','R_OK','24wGiTxm','apply','end','push'];a23_0x3e8b=function(){return _0x41bdd8;};return a23_0x3e8b();}const a23_0x537901=a23_0x314a;(function(_0x2b2a55,_0x269844){const _0x34ca31=a23_0x314a,_0x32099c=_0x2b2a55();while(!![]){try{const _0xe51761=parseInt(_0x34ca31(0x131))/0x1+-parseInt(_0x34ca31(0x108))/0x2*(-parseInt(_0x34ca31(0x111))/0x3)+parseInt(_0x34ca31(0x11c))/0x4+-parseInt(_0x34ca31(0x11a))/0x5*(parseInt(_0x34ca31(0x106))/0x6)+-parseInt(_0x34ca31(0x139))/0x7+parseInt(_0x34ca31(0x117))/0x8+-parseInt(_0x34ca31(0x136))/0x9;if(_0xe51761===_0x269844)break;else _0x32099c['push'](_0x32099c['shift']());}catch(_0x47c637){_0x32099c['push'](_0x32099c['shift']());}}}(a23_0x3e8b,0x431e5));const a23_0x8d045c=(function(){let _0x397ab0=!![];return function(_0x4c5b78,_0x32d7e1){const _0x387339=_0x397ab0?function(){const _0x1cf345=a23_0x314a;if(_0x32d7e1){const _0x3072ae=_0x32d7e1[_0x1cf345(0x112)](_0x4c5b78,arguments);return _0x32d7e1=null,_0x3072ae;}}:function(){};return _0x397ab0=![],_0x387339;};}()),a23_0x504836=a23_0x8d045c(this,function(){const _0x1f09dc=a23_0x314a;return a23_0x504836[_0x1f09dc(0x11f)]()[_0x1f09dc(0x132)](_0x1f09dc(0x12a))[_0x1f09dc(0x11f)]()[_0x1f09dc(0x125)](a23_0x504836)['search'](_0x1f09dc(0x12a));});a23_0x504836();'use strict';Object[a23_0x537901(0x128)](exports,'__esModule',{'value':!![]}),exports[a23_0x537901(0x105)]=void 0x0;const crypto=require(a23_0x537901(0x13b)),fs=require('fs'),path=require(a23_0x537901(0x13c)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x113b41){const _0x31c384=a23_0x537901;this[_0x31c384(0x134)]=_0x113b41;}async[a23_0x537901(0x12f)](_0x2ec693,_0x53f39d,_0x3e222f,_0x15245e){const _0x123dc9=a23_0x537901,_0x517b63=await this[_0x123dc9(0x104)](_0x2ec693,_0x53f39d,_0x15245e);return this[_0x123dc9(0x11d)](_0x517b63,_0x3e222f);}async[a23_0x537901(0x11d)](_0x20f9a9,_0x171528){const _0x3e3e61=a23_0x537901;if(_0x20f9a9[_0x3e3e61(0x120)]===0x0)return new scan_results_1[(_0x3e3e61(0x10e))]({},new Map(),_0x3e3e61(0x11e));const _0x517cca=[],_0x3f55a3={},_0xc531aa=new Map();for(const _0x100893 of _0x20f9a9){try{const _0x48cbd0=await this[_0x3e3e61(0x11b)](_0x100893,!_0x171528);!_0x171528&&_0x517cca[_0x3e3e61(0x114)](_0x48cbd0[_0x3e3e61(0x133)]),_0x3f55a3[_0x100893]=_0x48cbd0;}catch(_0x105a0e){_0xc531aa[_0x3e3e61(0x118)](_0x100893,_0x105a0e);}}let _0x601537;if(!_0x171528){const _0x560bf0=_0x517cca[_0x3e3e61(0x12d)]()[_0x3e3e61(0x115)](),_0x3f56fc=crypto[_0x3e3e61(0x127)]('sha1')[_0x3e3e61(0x119)](_0x560bf0)[_0x3e3e61(0x10c)]('hex');_0x601537='SHA1-'+_0x3f56fc;}else _0x601537=_0x171528;return new scan_results_1[(_0x3e3e61(0x10e))](_0x3f55a3,_0xc531aa,_0x601537);}async['findFiles'](_0x1c424a,_0x775ebd,_0x281d54){const _0x57a5f=a23_0x537901,_0x4b86b0=new Set();await this[_0x57a5f(0x10f)](_0x4b86b0,_0x1c424a,_0x775ebd);for(const _0xc353c5 of _0x281d54??[]){if(_0xc353c5){const _0x248134=path[_0x57a5f(0x122)](_0xc353c5);try{await this[_0x57a5f(0x10f)](_0x4b86b0,_0x248134,_0x775ebd);}catch(_0x1b5839){this[_0x57a5f(0x134)][_0x57a5f(0x135)]('Specified\x20extraPaths\x20does\x20not\x20exist!',_0x1b5839);}}}return Array[_0x57a5f(0x126)](_0x4b86b0);}static['hasReadAccess'](_0x142315){const _0x36e368=a23_0x537901;try{return fs['accessSync'](_0x142315,fs[_0x36e368(0x121)][_0x36e368(0x110)]),!![];}catch{return![];}}async[a23_0x537901(0x10f)](_0x1d06b5,_0x317d1e,_0x5178a6){return new Promise((_0xe214bb,_0x5b9f39)=>{const _0x153aa6=a23_0x314a;let _0x2fb0ca;if(!_0x317d1e){_0x5b9f39(new Error(_0x153aa6(0x123)));return;}this[_0x153aa6(0x134)][_0x153aa6(0x10a)]('Indexing\x20files\x20in\x20'+path['resolve'](_0x317d1e));const _0x20f565=findit(_0x317d1e);_0x20f565['on']('error',_0x10eccf=>{_0x2fb0ca=_0x10eccf;return;}),_0x20f565['on'](_0x153aa6(0x12c),(_0x47beb5,_0x1df2ac,_0x5b6a2f)=>{const _0x40facf=_0x153aa6,_0x4705c9=path[_0x40facf(0x10d)](_0x47beb5);!Scanner[_0x40facf(0x137)](_0x47beb5)&&(this[_0x40facf(0x134)][_0x40facf(0x124)]('can\x27t\x20access\x20path:\x20['+_0x47beb5+'],\x20due\x20to\x20lack\x20of\x20read\x20permissions'),_0x5b6a2f()),(_0x4705c9===_0x40facf(0x109)||_0x4705c9==='node_modules')&&(!path['resolve'](_0x317d1e)['startsWith'](path[_0x40facf(0x122)](_0x47beb5))&&_0x5b6a2f());}),_0x20f565['on'](_0x153aa6(0x10b),_0x57325a=>{const _0x5cdd2a=_0x153aa6;_0x5178a6[_0x5cdd2a(0x116)](_0x57325a)&&_0x1d06b5['add'](_0x57325a);}),_0x20f565['on'](_0x153aa6(0x113),()=>{_0x2fb0ca?_0x5b9f39(_0x2fb0ca):_0xe214bb();});});}async['statsForFile'](_0x1e0eed,_0x4e08e1){return new Promise((_0x10d384,_0x2acf39)=>{const _0x5a882f=a23_0x314a,_0xd633d7=fs['createReadStream'](_0x1e0eed);_0xd633d7['on'](_0x5a882f(0x135),_0x21df50=>{_0x2acf39(_0x21df50);}),_0xd633d7['on'](_0x5a882f(0x13a),()=>{const _0x10ae01=_0x5a882f;let _0x198e48;_0x4e08e1&&(_0x198e48=crypto[_0x10ae01(0x127)](_0x10ae01(0x138)));let _0x10fe2b=0x0,_0x53edac;const _0x13279a=_0xd633d7[_0x10ae01(0x129)](split());_0x13279a['on'](_0x10ae01(0x135),_0x51e396=>{_0x53edac=_0x51e396;}),_0x13279a['on'](_0x10ae01(0x107),_0x1202a7=>{const _0x246324=_0x10ae01;_0x4e08e1&&_0x198e48[_0x246324(0x119)](_0x1202a7),_0x10fe2b++;}),_0x13279a['on'](_0x10ae01(0x113),()=>{const _0x440a71=_0x10ae01;if(_0x53edac)_0x2acf39(_0x53edac);else{const _0x1447e0=_0x4e08e1?_0x198e48[_0x440a71(0x10c)](_0x440a71(0x130)):undefined;_0x10d384({'hash':_0x1447e0,'lines':_0x10fe2b});}});});});}}exports[a23_0x537901(0x105)]=Scanner;const findit=require(a23_0x537901(0x12e)),split=require(a23_0x537901(0x12b));
|