lightrun 1.87.0 → 1.87.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x4c04b5=a15_0x17fe;function a15_0x7b44(){const _0x38280d=['274040WXvoMP','177048hDvQSv','14132PbjBZN','27cfihPv','__esModule','toString','308957tHfYDu','search','468zjtQGI','1937370kJtPgW','5smCtYg','defineProperty','(((.+)+)+)+$','2489142yAztRV','apply','1637545ygGUyU','40GPFuuO','15vMkbeJ','mapSubtract','constructor'];a15_0x7b44=function(){return _0x38280d;};return a15_0x7b44();}(function(_0x11becd,_0x277ecf){const _0x16f541=a15_0x17fe,_0x5eb7f1=_0x11becd();while(!![]){try{const _0x294e3b=parseInt(_0x16f541(0x114))/0x1+-parseInt(_0x16f541(0x115))/0x2*(parseInt(_0x16f541(0x111))/0x3)+-parseInt(_0x16f541(0x116))/0x4+parseInt(_0x16f541(0x11e))/0x5*(parseInt(_0x16f541(0x121))/0x6)+parseInt(_0x16f541(0x10f))/0x7*(-parseInt(_0x16f541(0x110))/0x8)+parseInt(_0x16f541(0x117))/0x9*(parseInt(_0x16f541(0x11d))/0xa)+parseInt(_0x16f541(0x11a))/0xb*(parseInt(_0x16f541(0x11c))/0xc);if(_0x294e3b===_0x277ecf)break;else _0x5eb7f1['push'](_0x5eb7f1['shift']());}catch(_0x2c95a0){_0x5eb7f1['push'](_0x5eb7f1['shift']());}}}(a15_0x7b44,0xb7069));function a15_0x17fe(_0x5f432d,_0x3d4653){const _0x9501d2=a15_0x7b44();return a15_0x17fe=function(_0x455198,_0x15de3d){_0x455198=_0x455198-0x10e;let _0x7b4451=_0x9501d2[_0x455198];return _0x7b4451;},a15_0x17fe(_0x5f432d,_0x3d4653);}const a15_0x15de3d=(function(){let _0x44ba08=!![];return function(_0x14fb7b,_0x5b7c11){const _0x4045e7=_0x44ba08?function(){const _0x1d0522=a15_0x17fe;if(_0x5b7c11){const _0xee775d=_0x5b7c11[_0x1d0522(0x10e)](_0x14fb7b,arguments);return _0x5b7c11=null,_0xee775d;}}:function(){};return _0x44ba08=![],_0x4045e7;};}()),a15_0x455198=a15_0x15de3d(this,function(){const _0xbcf1a4=a15_0x17fe;return a15_0x455198[_0xbcf1a4(0x119)]()['search']('(((.+)+)+)+$')[_0xbcf1a4(0x119)]()[_0xbcf1a4(0x113)](a15_0x455198)[_0xbcf1a4(0x11b)](_0xbcf1a4(0x120));});a15_0x455198();'use strict';Object[a15_0x4c04b5(0x11f)](exports,a15_0x4c04b5(0x118),{'value':!![]}),exports['mapSubtract']=void 0x0;const mapSubtract=(_0x38541e,_0x5e3c32)=>{const _0x5f4496=[];for(const _0x505940 in _0x38541e){!_0x5e3c32[_0x505940]&&_0x5f4496['push'](_0x38541e[_0x505940]);}return _0x5f4496;};exports[a15_0x4c04b5(0x112)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a16_0x5867(_0x39815f,_0x408ec9){const _0x1996b4=a16_0x1dbc();return a16_0x5867=function(_0x458f2d,_0x48603e){_0x458f2d=_0x458f2d-0x167;let _0x1dbcdf=_0x1996b4[_0x458f2d];return _0x1dbcdf;},a16_0x5867(_0x39815f,_0x408ec9);}const a16_0x5571d8=a16_0x5867;(function(_0x1407ea,_0x29e155){const _0x14f6da=a16_0x5867,_0x5a34ff=_0x1407ea();while(!![]){try{const _0x4668a8=-parseInt(_0x14f6da(0x19a))/0x1+-parseInt(_0x14f6da(0x193))/0x2+-parseInt(_0x14f6da(0x184))/0x3+parseInt(_0x14f6da(0x16c))/0x4+-parseInt(_0x14f6da(0x19b))/0x5+parseInt(_0x14f6da(0x18f))/0x6+parseInt(_0x14f6da(0x192))/0x7;if(_0x4668a8===_0x29e155)break;else _0x5a34ff['push'](_0x5a34ff['shift']());}catch(_0xdf8d30){_0x5a34ff['push'](_0x5a34ff['shift']());}}}(a16_0x1dbc,0xd69c8));const a16_0x48603e=(function(){let _0x40b2e1=!![];return function(_0x543944,_0x418199){const _0x397d0b=_0x40b2e1?function(){const _0x33dcd6=a16_0x5867;if(_0x418199){const _0x207ee9=_0x418199[_0x33dcd6(0x181)](_0x543944,arguments);return _0x418199=null,_0x207ee9;}}:function(){};return _0x40b2e1=![],_0x397d0b;};}()),a16_0x458f2d=a16_0x48603e(this,function(){const _0x5370fe=a16_0x5867;return a16_0x458f2d[_0x5370fe(0x173)]()[_0x5370fe(0x189)]('(((.+)+)+)+$')[_0x5370fe(0x173)]()['constructor'](a16_0x458f2d)[_0x5370fe(0x189)](_0x5370fe(0x18e));});a16_0x458f2d();'use strict';Object[a16_0x5571d8(0x196)](exports,a16_0x5571d8(0x18c),{'value':!![]}),exports[a16_0x5571d8(0x16d)]=exports[a16_0x5571d8(0x17c)]=void 0x0;const extend=require(a16_0x5571d8(0x197)),config_1=require('../config'),utils_1=require('../util/utils'),getAgentConfig_1=require(a16_0x5571d8(0x186)),limitConfig_1=require(a16_0x5571d8(0x175)),validateConfig=_0x24b9fd=>{const _0x415901=a16_0x5571d8,_0xd3f236={};try{config_1[_0x415901(0x17f)]['validateSync'](_0x24b9fd,{'abortEarly':![]});}catch(_0x4bed77){_0x4bed77[_0x415901(0x17a)][_0x415901(0x17d)](_0x29656b=>_0x29656b[_0x415901(0x18a)]&&_0x29656b['message'])[_0x415901(0x167)](_0x191477=>{const _0x36ad76=_0x415901;_0xd3f236[_0x191477[_0x36ad76(0x18a)]]=_0x191477['message'];});}return _0xd3f236;};exports[a16_0x5571d8(0x17c)]=validateConfig;const normalizeConfig=_0x193784=>{const _0x4a2d10=a16_0x5571d8,_0x3c6424={'serviceContext':{'service':process[_0x4a2d10(0x187)]['GAE_SERVICE']??process[_0x4a2d10(0x187)][_0x4a2d10(0x180)]??process['env']['K_SERVICE'],'version':process[_0x4a2d10(0x187)][_0x4a2d10(0x195)]??process[_0x4a2d10(0x187)][_0x4a2d10(0x191)]??process['env']['K_REVISION'],'minorVersion_':process[_0x4a2d10(0x187)][_0x4a2d10(0x16a)]??process[_0x4a2d10(0x187)]['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x4a2d10(0x187)][_0x4a2d10(0x171)],'registration':{}},'lightrunSecret':process[_0x4a2d10(0x187)][_0x4a2d10(0x19c)],'apiEndpoint':process[_0x4a2d10(0x187)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x4a2d10(0x179)])(process[_0x4a2d10(0x187)][_0x4a2d10(0x194)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x4a2d10(0x179)])(process[_0x4a2d10(0x187)][_0x4a2d10(0x185)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x4a2d10(0x187)][_0x4a2d10(0x19d)]),'lightrunInitWaitTimeMs':process['env'][_0x4a2d10(0x18b)],'agentLog':_0x193784?.[_0x4a2d10(0x169)]??{},'proxy':{'host':process[_0x4a2d10(0x187)][_0x4a2d10(0x18d)],'port':parseInt(process[_0x4a2d10(0x187)][_0x4a2d10(0x174)]??'')||undefined,'username':process[_0x4a2d10(0x187)][_0x4a2d10(0x17b)],'password':process[_0x4a2d10(0x187)][_0x4a2d10(0x188)]}};process[_0x4a2d10(0x187)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x3c6424[_0x4a2d10(0x169)][_0x4a2d10(0x16b)]=process['env']['LIGHTRUN_STD_ERR_THRESHOLD']);process[_0x4a2d10(0x187)][_0x4a2d10(0x170)]!==undefined&&(_0x3c6424[_0x4a2d10(0x169)][_0x4a2d10(0x19e)]=process['env'][_0x4a2d10(0x170)]);process[_0x4a2d10(0x187)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x3c6424[_0x4a2d10(0x169)][_0x4a2d10(0x168)]=process[_0x4a2d10(0x187)][_0x4a2d10(0x176)]);process['env'][_0x4a2d10(0x16f)]!==undefined&&(_0x3c6424[_0x4a2d10(0x169)][_0x4a2d10(0x19f)]=parseInt(process[_0x4a2d10(0x187)][_0x4a2d10(0x16f)]));process['env'][_0x4a2d10(0x183)]!==undefined&&(_0x3c6424[_0x4a2d10(0x169)][_0x4a2d10(0x177)]=parseInt(process[_0x4a2d10(0x187)][_0x4a2d10(0x183)]));process[_0x4a2d10(0x187)]['FUNCTION_NAME']&&(_0x3c6424[_0x4a2d10(0x182)]['service']=process[_0x4a2d10(0x187)]['FUNCTION_NAME'],_0x3c6424[_0x4a2d10(0x182)]['version']=_0x4a2d10(0x172));process[_0x4a2d10(0x187)][_0x4a2d10(0x190)]&&(_0x3c6424[_0x4a2d10(0x1a0)]['registration']={'tags':process[_0x4a2d10(0x187)][_0x4a2d10(0x190)][_0x4a2d10(0x16e)](',')});const _0x8da92c=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x4a2d10(0x187)][_0x4a2d10(0x17e)]??_0x193784?.[_0x4a2d10(0x198)]??config_1[_0x4a2d10(0x199)]['agentConfigFile']),_0x2740ae=(0x0,limitConfig_1[_0x4a2d10(0x178)])(extend(!![],{},config_1[_0x4a2d10(0x199)],_0x8da92c,_0x193784,_0x3c6424)),_0x56fd83=(0x0,exports[_0x4a2d10(0x17c)])(_0x2740ae);return{..._0x2740ae,'errors':_0x56fd83};};exports[a16_0x5571d8(0x16d)]=normalizeConfig;function a16_0x1dbc(){const _0x2041f8=['GAE_MODULE_NAME','apply','serviceContext','AGENT_LOG_MAX_FILE_SIZE_MB','121668koQFpn','FETCH_BREAKPOINTS_ONCE','./getAgentConfig','env','LIGHTRUN_PROXY_PASSWORD','search','path','LIGHTRUN_INIT_WAIT_TIME_MS','__esModule','LIGHTRUN_PROXY_HOST','(((.+)+)+)+$','6043554licjaz','LIGHTRUN_TAGS','GAE_MODULE_VERSION','5186118gsBHqQ','1633950rqYyQj','NO_CHECK_CERTIFICATE','GAE_VERSION','defineProperty','extend','agentConfigFile','defaultConfig','1205326fIfBPP','2543840RtfftT','LIGHTRUN_SECRET','LIGHTRUN_WAIT_FOR_INIT','agentLogLevel','agentLogMaxFileCount','metadata','forEach','agentLogTargetDir','agentLog','GAE_DEPLOYMENT_ID','stdErrThreshold','6810160WBgrvQ','normalizeConfig','split','AGENT_LOG_MAX_FILE_COUNT','AGENT_LOG_LEVEL','LIGHTRUN_METADATA_FILE','unversioned','toString','LIGHTRUN_PROXY_PORT','./limitConfig','AGENT_LOG_TARGET_DIR','agentLogMaxFileSizeMb','limitConfig','getBooleanValue','inner','LIGHTRUN_PROXY_USERNAME','validateConfig','filter','LIGHTRUN_AGENT_CONFIG','configSchema'];a16_0x1dbc=function(){return _0x2041f8;};return a16_0x1dbc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a17_0x4f77(){const _0x1e007d=['delimit','2276960MCEWDk','push','(((.+)+)+)+$','98GoAXkI','defineProperty','search','22722KlDRSN','constructor','apply','2745gNMuFi','832mVHmhE','6lRpmPF','17169070uhmYWs','476738FtAqJL','436342BdMuDr','774525iRKxaU','./delimit','tokenize','toString'];a17_0x4f77=function(){return _0x1e007d;};return a17_0x4f77();}const a17_0xba9d82=a17_0x5db4;(function(_0x353846,_0xfd7f35){const _0x71c164=a17_0x5db4,_0x132615=_0x353846();while(!![]){try{const _0x4b93be=-parseInt(_0x71c164(0xd3))/0x1+-parseInt(_0x71c164(0xd2))/0x2*(parseInt(_0x71c164(0xd0))/0x3)+-parseInt(_0x71c164(0xd9))/0x4+parseInt(_0x71c164(0xd4))/0x5+parseInt(_0x71c164(0xcb))/0x6*(-parseInt(_0x71c164(0xdc))/0x7)+parseInt(_0x71c164(0xcf))/0x8*(-parseInt(_0x71c164(0xce))/0x9)+parseInt(_0x71c164(0xd1))/0xa;if(_0x4b93be===_0xfd7f35)break;else _0x132615['push'](_0x132615['shift']());}catch(_0x39ab62){_0x132615['push'](_0x132615['shift']());}}}(a17_0x4f77,0x4a672));function a17_0x5db4(_0x4caaed,_0x5633f8){const _0x34b4bc=a17_0x4f77();return a17_0x5db4=function(_0xd7c362,_0x20ca16){_0xd7c362=_0xd7c362-0xc9;let _0x4f77bc=_0x34b4bc[_0xd7c362];return _0x4f77bc;},a17_0x5db4(_0x4caaed,_0x5633f8);}const a17_0x20ca16=(function(){let _0x3b3885=!![];return function(_0x30f5f0,_0xef5d48){const _0x247fb5=_0x3b3885?function(){const _0x7f336d=a17_0x5db4;if(_0xef5d48){const _0x17d3b0=_0xef5d48[_0x7f336d(0xcd)](_0x30f5f0,arguments);return _0xef5d48=null,_0x17d3b0;}}:function(){};return _0x3b3885=![],_0x247fb5;};}()),a17_0xd7c362=a17_0x20ca16(this,function(){const _0x55bd09=a17_0x5db4;return a17_0xd7c362['toString']()[_0x55bd09(0xca)](_0x55bd09(0xdb))[_0x55bd09(0xd7)]()[_0x55bd09(0xcc)](a17_0xd7c362)[_0x55bd09(0xca)](_0x55bd09(0xdb));});a17_0xd7c362();'use strict';Object[a17_0xba9d82(0xc9)](exports,'__esModule',{'value':!![]}),exports[a17_0xba9d82(0xd6)]=void 0x0;const delimit_1=require(a17_0xba9d82(0xd5)),tokenize=(_0x309c16,_0x4965d2)=>{const _0x6bd43e=a17_0xba9d82;let _0x3dfbfd=(0x0,delimit_1[_0x6bd43e(0xd8)])(_0x309c16,'$$');for(let _0x5ad167=_0x4965d2-0x1;_0x5ad167>=0x0;_0x5ad167--){const _0x4ab4d6=[];for(const _0x393987 of _0x3dfbfd){_0x393987['v']?_0x4ab4d6[_0x6bd43e(0xda)](_0x393987):_0x4ab4d6['push'](...(0x0,delimit_1[_0x6bd43e(0xd8)])(_0x393987,'$'+_0x5ad167));}_0x3dfbfd=_0x4ab4d6;}return _0x3dfbfd;};exports[a17_0xba9d82(0xd6)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x44dd23=a18_0x1e62;function a18_0x1e62(_0x4154d5,_0x53d23e){const _0x18617c=a18_0x42d8();return a18_0x1e62=function(_0x3d06a6,_0x53cbb2){_0x3d06a6=_0x3d06a6-0x165;let _0x42d87f=_0x18617c[_0x3d06a6];return _0x42d87f;},a18_0x1e62(_0x4154d5,_0x53d23e);}(function(_0x34ffb6,_0x513ad5){const _0x5c6b16=a18_0x1e62,_0x310b21=_0x34ffb6();while(!![]){try{const _0x2d5e20=-parseInt(_0x5c6b16(0x22f))/0x1+parseInt(_0x5c6b16(0x217))/0x2*(parseInt(_0x5c6b16(0x19a))/0x3)+parseInt(_0x5c6b16(0x1fd))/0x4*(-parseInt(_0x5c6b16(0x26c))/0x5)+-parseInt(_0x5c6b16(0x23f))/0x6*(-parseInt(_0x5c6b16(0x1b3))/0x7)+-parseInt(_0x5c6b16(0x1a2))/0x8+-parseInt(_0x5c6b16(0x21d))/0x9+-parseInt(_0x5c6b16(0x1c5))/0xa*(-parseInt(_0x5c6b16(0x240))/0xb);if(_0x2d5e20===_0x513ad5)break;else _0x310b21['push'](_0x310b21['shift']());}catch(_0x490035){_0x310b21['push'](_0x310b21['shift']());}}}(a18_0x42d8,0xe6733));const a18_0x53cbb2=(function(){let _0x3c3347=!![];return function(_0x5ece13,_0x5573fe){const _0x34121a=_0x3c3347?function(){const _0x1be0ad=a18_0x1e62;if(_0x5573fe){const _0x35b52b=_0x5573fe[_0x1be0ad(0x1a6)](_0x5ece13,arguments);return _0x5573fe=null,_0x35b52b;}}:function(){};return _0x3c3347=![],_0x34121a;};}()),a18_0x3d06a6=a18_0x53cbb2(this,function(){const _0x57d509=a18_0x1e62;return a18_0x3d06a6[_0x57d509(0x1f9)]()[_0x57d509(0x234)](_0x57d509(0x1b6))[_0x57d509(0x1f9)]()['constructor'](a18_0x3d06a6)[_0x57d509(0x234)](_0x57d509(0x1b6));});a18_0x3d06a6();'use strict';var __classPrivateFieldSet=this&&this[a18_0x44dd23(0x1bd)]||function(_0x15ee3a,_0x79df6a,_0x14375d,_0x15462b,_0x529d89){const _0x13eefb=a18_0x44dd23;if(_0x15462b==='m')throw new TypeError(_0x13eefb(0x21b));if(_0x15462b==='a'&&!_0x529d89)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x79df6a===_0x13eefb(0x1a8)?_0x15ee3a!==_0x79df6a||!_0x529d89:!_0x79df6a[_0x13eefb(0x270)](_0x15ee3a))throw new TypeError(_0x13eefb(0x25e));return _0x15462b==='a'?_0x529d89[_0x13eefb(0x1e8)](_0x15ee3a,_0x14375d):_0x529d89?_0x529d89[_0x13eefb(0x26d)]=_0x14375d:_0x79df6a[_0x13eefb(0x1a9)](_0x15ee3a,_0x14375d),_0x14375d;},__classPrivateFieldGet=this&&this[a18_0x44dd23(0x276)]||function(_0x5bdd61,_0x12f1ce,_0x3c9955,_0x59b129){const _0x20464f=a18_0x44dd23;if(_0x3c9955==='a'&&!_0x59b129)throw new TypeError(_0x20464f(0x1af));if(typeof _0x12f1ce===_0x20464f(0x1a8)?_0x5bdd61!==_0x12f1ce||!_0x59b129:!_0x12f1ce[_0x20464f(0x270)](_0x5bdd61))throw new TypeError(_0x20464f(0x259));return _0x3c9955==='m'?_0x59b129:_0x3c9955==='a'?_0x59b129['call'](_0x5bdd61):_0x59b129?_0x59b129[_0x20464f(0x26d)]:_0x12f1ce['get'](_0x5bdd61);},_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_0x44dd23(0x16e)](exports,a18_0x44dd23(0x1e5),{'value':!![]}),exports['Debuglet']=exports[a18_0x44dd23(0x219)]=void 0x0;const assert=require(a18_0x44dd23(0x18d)),events_1=require(a18_0x44dd23(0x26e)),extend=require(a18_0x44dd23(0x20e)),fs=require('fs'),path=require('path'),util=require('util'),status_message_1=require(a18_0x44dd23(0x22c)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x44dd23(0x252)),patterns_blocklist_manager_1=require(a18_0x44dd23(0x21c)),config_1=require('./config'),configuration_provider_1=require(a18_0x44dd23(0x22b)),controller_1=require(a18_0x44dd23(0x171)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x44dd23(0x246)),mapSubtract_1=require(a18_0x44dd23(0x1d8)),normalizeConfig_1=require(a18_0x44dd23(0x239)),environment_metadata_1=require(a18_0x44dd23(0x255)),file_index_1=require('./io/file-index'),scanner_1=require(a18_0x44dd23(0x202)),SourceMapper=require(a18_0x44dd23(0x17b)),piping_manager_1=require(a18_0x44dd23(0x258)),quota_manager_1=require(a18_0x44dd23(0x1d0)),redaction_manager_1=require(a18_0x44dd23(0x247)),utils_1=require(a18_0x44dd23(0x1f3)),debugapi=require(a18_0x44dd23(0x230)),redaction_manager_re2js_1=require('./reduction/redaction-manager-re2js'),readFilep=util[a18_0x44dd23(0x233)](fs[a18_0x44dd23(0x254)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0xc67ad7,_0x1b2fb6)=>{const _0x2397a4=a18_0x44dd23;let _0x1d60e7=_0xc67ad7+util[_0x2397a4(0x1eb)](_0x2397a4(0x1ca),_0x1b2fb6['id'],_0x1b2fb6['action'],util[_0x2397a4(0x167)](_0x1b2fb6['location']));if(_0x1b2fb6['createTime']){const _0x49a45d=Number(_0x1b2fb6['createTime'][_0x2397a4(0x19e)]),_0x2550a6=new Date(_0x49a45d*0x3e8);_0x1d60e7+='\x0a\x09createdTime:\x20'+_0x2550a6['toString']();}return _0x1b2fb6[_0x2397a4(0x22e)]&&(_0x1d60e7+=_0x2397a4(0x1d7)+util[_0x2397a4(0x167)](_0x1b2fb6[_0x2397a4(0x22e)])),_0x1b2fb6['expressions']&&(_0x1d60e7+='\x0a\x09expressions:\x20'+util[_0x2397a4(0x167)](_0x1b2fb6[_0x2397a4(0x1ec)])),_0x1d60e7;},formatBreakpoints=(_0x4c709e,_0x40a26c)=>_0x4c709e+Object[a18_0x44dd23(0x170)](_0x40a26c)[a18_0x44dd23(0x177)](_0x39eed8=>formatBreakpoint('',_0x40a26c[_0x39eed8]))[a18_0x44dd23(0x1fc)]('\x0a');class CachedPromise{constructor(){const _0x4677df=a18_0x44dd23;this[_0x4677df(0x229)]=null,this[_0x4677df(0x199)]=new Promise(_0x42d038=>{const _0x416124=_0x4677df;this[_0x416124(0x229)]=_0x42d038;});}['get'](){const _0x241343=a18_0x44dd23;return this[_0x241343(0x199)];}[a18_0x44dd23(0x1d6)](){const _0x16e85f=a18_0x44dd23;this[_0x16e85f(0x229)]&&(this[_0x16e85f(0x229)](),this['promiseResolve']=null);}}exports[a18_0x44dd23(0x219)]=CachedPromise;class IsReadyImpl{constructor(_0x4d0f42){const _0x1fd4f2=a18_0x44dd23;this[_0x1fd4f2(0x1e3)]=_0x4d0f42;}[a18_0x44dd23(0x267)](){const _0x201460=a18_0x44dd23;return this[_0x201460(0x1e3)][_0x201460(0x267)]();}}function a18_0x42d8(){const _0x127698=['fetchBreakpointsOnce','emit','isReadyManager','seconds','collectLogRequestId','.\x20message:\x20','\x09remove\x20breakpoint\x20id\x20','8820952qRfoMv','logMainConfigParams','log','start','apply','isFinalState','function','set','split','javascriptFileExtensions','Working\x20directory:\x20','add','env','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','setBlocklistManager','Scheduling\x20registration\x20in\x20','PatternsBlocklistManager','156513OyCiBj','\x09Long\x20poll\x20completed.','getLevel','(((.+)+)+)+$','prettyError','GAE-','deregister','breakpoints','setCustomLogLevel','listBreakpoints','__classPrivateFieldSet','forEach','error','BREAKPOINT_ACTION_MESSAGE','Fetching\x20breakpoints','Failed\x20to\x20','filter','now','60aBxwhZ','activeFeatures','selectFiles','stringifyBreakpointForInfoLog','\x20accepted\x20by\x20agent','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','ConfigurationProvider','createLogger','LOG','isRegistered','AGENT_LOG_FILE','./quota-manager','breakpoints_fetch_failed','\x09Notifying\x20server\x20about\x20error\x20for\x20','Unknown\x20agentLogLevel\x20','blacklist','\x20completed.','resolve','\x0a\x09condition:\x20','./debuglet-helpers/mapSubtract','fromEntries','stopped','line','undefined','Debuglet','register','normalize','setLevel','enqueueBreakpointUpdate','status','debuglet','quotaCheck','__esModule','substring','errors','call','clientConnectionTimeoutInSeconds','shouldRedactByName','format','expressions','warn','normalizeConfig','Expiring\x20breakpoint\x20id\x20','removeListener','beforeExit','pipingManager','./util/utils','replace','setIgnoreQuota','replaceRedactedByValue','expirationTime','source-context.json','toString','\x20to\x20','debug','join','46716sQltut','message','waitFor','fetcherActive','type','./io/scanner','breakpoint_set','kill','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','action','entries','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','default','EnvironmentMetadata','posix','.\x20Retrying\x20in\x20','Switching\x20globalPiping\x20status\x20from\x20','extend','logLevel','Disabled\x20by\x20the\x20server','packageInfo','filename','unref','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','Debuggee\x20is\x20not\x20registered','isLambda','1434xITFFg','Starting\x20debuggee','CachedPromise','existsSync','Private\x20method\x20is\x20not\x20writable','./blocklisting/patterns-blocklist-manager','8024211MhHoXo','initError','extraPaths','Initializing\x20Node.js\x20agent\x20version:\x20','name','all','\x09adding\x20breakpoint','ALLOW_EXPRESSIONS_MESSAGE','disable','backoff','pipeLogs','REDACTED_PLACEHOLDER','promiseResolve','quota','./configuration-provider','../client/stackdriver/status-message','register\x20debuggee','condition','1643875QXCYsS','./v8/debugapi','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','Result:\x20\x0a','promisify','search','location','pid','wait','createTime','./debuglet-helpers/normalizeConfig','RedactionManagerRE2JS','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','):\x20pattern:\x20','maxRequestRetryDelaySeconds','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','498eyIeec','4232657keEUWe','agentLog','debuggee','logger','remotelyDisabled','do\x20this.','./debuglet-helpers/format','./reduction/redaction-manager','SIGTERM','collectAndSendLog','LOGPOINT:\x20','sep','removeBreakpoint','StatusMessage','mapSubtract','waitForTransmissionQueueDrain','internal','getRedactions','./agent-logger','CAPTURE','readFile','./environment-metadata','concat','globalPipingStatus','./piping-manager','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','then','FileIndex','cwd','scan','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','ignoreQuota','Debuglet\x20not\x20running','utf8','isRedactionActive','removePerBreakpointQuota','SIGINT','Registering\x20debuggee','name:\x20','isReady','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','\x20(type:\x20','sendAgentLogsToServer','agentLogLevel','290YOSgjg','value','events','...\x20[truncated]','has','scheduleBreakpointFetch_\x20','quotaRecoverySeconds','registration_failed','breakpointUpdateIntervalSec','stop','__classPrivateFieldGet','isAtLeastInfo','config','parse','hash','reporting\x20breakpoint\x20','activeBreakpointMap','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','started','Breakpoint','inspect','mapFiles','\x20caseInsensitive:\x20','jsFileIndex','description','fromFileStats','values','defineProperty','Blacklist\x20Exceptions:\x20\x0a\x09','keys','./controller','breakpoints_fetch_registration_required','getSourceContextFromFile','Active\x20Breakpoints:\x20\x0a','breakpointExpirationSec','breakpoints_fetched','map','workingDirectory','once','stringify','./io/sourcemapper','Scanner','info','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','parameters','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','agentLogMaxFileCount','Error\x20processing\x20the\x20sourcemaps.','getBlocklist','js.map','create','isRunning','get','APP_ONLY','DEBUG','remainingHits','sourceContext','agentLogTargetDir','assert','selectStats','object','path','allowRootAsWorkingDirectory','rejecting\x20breakpoint\x20id\x20','length','pattern','QuotaManager','caseInsensitive','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','Malformed\x20source-context.json\x20file:\x20','promise','4581tFkVZp'];a18_0x42d8=function(){return _0x127698;};return a18_0x42d8();}class Debuglet extends events_1['EventEmitter']{constructor(_0x3279ca,_0x1a32ff){const _0x4f1cce=a18_0x44dd23;super(),_Debuglet_instances[_0x4f1cce(0x1ad)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_running[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_controller[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_breakpointFetched[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x4f1cce(0x1a9)](this,null),this[_0x4f1cce(0x19d)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_scanner[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x4f1cce(0x1a9)](this,void 0x0),this[_0x4f1cce(0x278)]=(0x0,normalizeConfig_1[_0x4f1cce(0x1ee)])(_0x1a32ff),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x4f1cce(0x1cb))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x3279ca,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4f1cce(0x200)]=![],this[_0x4f1cce(0x243)]=agent_logger_1[_0x4f1cce(0x209)][_0x4f1cce(0x1cc)](this[_0x4f1cce(0x278)]['agentLog'][_0x4f1cce(0x18c)],this[_0x4f1cce(0x278)]['agentLog']['agentLogMaxFileSizeMb'],this[_0x4f1cce(0x278)][_0x4f1cce(0x241)][_0x4f1cce(0x181)],this[_0x4f1cce(0x278)][_0x4f1cce(0x241)][_0x4f1cce(0x26b)],this[_0x4f1cce(0x278)]['agentLog']['stdErrThreshold']),(0x0,config_1[_0x4f1cce(0x1a3)])(this[_0x4f1cce(0x278)],this[_0x4f1cce(0x243)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x4f1cce(0x20a))](this['logger'])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x4f1cce(0x278)],this[_0x4f1cce(0x243)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x4f1cce(0x17c))](this['logger']),'f'),this[_0x4f1cce(0x242)]=null,this[_0x4f1cce(0x27c)]={},__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[(_0x4f1cce(0x195))](this[_0x4f1cce(0x243)],this[_0x4f1cce(0x278)]),'f'),this[_0x4f1cce(0x1f2)]=new piping_manager_1['PipingManager'](_0x4f1cce(0x188),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x4f1cce(0x278)]);}async['waitForTransmissionQueueDrain'](_0x16d923){const _0x109acd=a18_0x44dd23;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x109acd(0x24f)](_0x16d923);}['getClientConnectionTimeoutInSeconds'](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0x346983){const _0x107bf0=a18_0x44dd23,_0x25ce7a=0x32;let _0x1b0883=null;const _0x4e4750=()=>_0x1b0883=!![],_0x200999=()=>_0x1b0883=![],_0x969e04=_0x155bee=>{if(_0x155bee)return;_0x4e4750();};let _0x599320=![];const _0x4aa3ca=_0x1fdaa8=>{const _0x1acde5=a18_0x1e62;_0x599320&&_0x200999(),_0x599320=!![],this[_0x1acde5(0x1de)]();};this['once'](_0x107bf0(0x176),_0x969e04),this[_0x107bf0(0x179)](_0x107bf0(0x203),_0x4e4750);this['config'][_0x107bf0(0x250)]?.[_0x107bf0(0x216)]&&(this[_0x107bf0(0x179)](_0x107bf0(0x273),_0x200999),this[_0x107bf0(0x179)]('breakpoints_fetch_failed',_0x200999),this['once'](_0x107bf0(0x172),_0x4aa3ca));if(_0x346983){const _0x575cf0=Date[_0x107bf0(0x1c4)]();while(_0x1b0883===null&&Date[_0x107bf0(0x1c4)]()-_0x575cf0<_0x346983){await(0x0,utils_1[_0x107bf0(0x1ff)])(_0x25ce7a);}}return this[_0x107bf0(0x1f0)](_0x107bf0(0x176),_0x969e04),this[_0x107bf0(0x1f0)]('breakpoint_set',_0x4e4750),this[_0x107bf0(0x278)][_0x107bf0(0x250)]?.['isLambda']&&(this['removeListener'](_0x107bf0(0x273),_0x200999),this['removeListener'](_0x107bf0(0x1d1),_0x200999),this[_0x107bf0(0x1f0)](_0x107bf0(0x172),_0x4aa3ca)),_0x1b0883===!![];}[a18_0x44dd23(0x19b)](){const _0x471c46=a18_0x44dd23;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x471c46(0x1e8)](this,0x0,!![]);}[a18_0x44dd23(0x1ce)](){const _0x34cdf1=a18_0x44dd23;return this[_0x34cdf1(0x242)]?.['id']!==undefined;}async['findFiles'](_0x13c1a8,_0x4ffcdc){const _0x53c1d3=a18_0x44dd23,_0x68354d=_0x13c1a8[_0x53c1d3(0x178)],_0x2ed083=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x53c1d3(0x25d)](_0x68354d,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x53c1d3(0x1e8)](_a,_0x13c1a8[_0x53c1d3(0x1ab)][_0x53c1d3(0x256)](_0x53c1d3(0x184))),_0x4ffcdc,_0x13c1a8[_0x53c1d3(0x21f)]),_0x1731a5=_0x2ed083[_0x53c1d3(0x18e)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x53c1d3(0x1e8)](_a,_0x13c1a8['javascriptFileExtensions'])),_0x3fca74=file_index_1[_0x53c1d3(0x25b)][_0x53c1d3(0x16c)](_0x1731a5),_0x24b4cc=_0x2ed083[_0x53c1d3(0x1c7)](/.js.map$/,process[_0x53c1d3(0x25c)]()),_0x380c71=_0x2ed083[_0x53c1d3(0x1e7)]();return{'mapFiles':_0x24b4cc,'errors':_0x380c71,'jsFileIndex':_0x3fca74,'hash':_0x2ed083[_0x53c1d3(0x27a)]};}async[a18_0x44dd23(0x1a5)](){const _0xb598d3=a18_0x44dd23,_0x420fcc=this[_0xb598d3(0x278)]['workingDirectory'];if(!this[_0xb598d3(0x278)][_0xb598d3(0x191)]&&path[_0xb598d3(0x1fc)](_0x420fcc,'..')===_0x420fcc){const _0x518af1=_0xb598d3(0x208)+_0xb598d3(0x231)+_0xb598d3(0x205)+_0xb598d3(0x245);this[_0xb598d3(0x243)]['error'](_0x518af1),this[_0xb598d3(0x19c)](_0xb598d3(0x21e),new Error(_0x518af1));return;}let _0x425292;process[_0xb598d3(0x1ae)]['GAE_MINOR_VERSION']&&(_0x425292=_0xb598d3(0x1b8)+process['env']['GAE_MINOR_VERSION']);let _0xb673e6,_0x28612c=_0x425292??'';try{_0xb673e6=await this['findFiles'](this[_0xb598d3(0x278)],_0x425292),_0xb673e6[_0xb598d3(0x1e7)][_0xb598d3(0x1be)](this['logger']['warn']);}catch(_0x3579bc){this['logger'][_0xb598d3(0x1bf)]('Error\x20scanning\x20the\x20filesystem.',_0x3579bc),this[_0xb598d3(0x19c)]('initError',_0x3579bc);return;}try{const _0x35b5d0=await SourceMapper[_0xb598d3(0x185)](this[_0xb598d3(0x243)],_0xb673e6[_0xb598d3(0x168)],this[_0xb598d3(0x278)][_0xb598d3(0x250)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0xb598d3(0x185)](this['logger'],this[_0xb598d3(0x278)],_0xb673e6[_0xb598d3(0x16a)],_0x35b5d0,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x28612c=_0x425292??_0xb673e6['hash'];}catch(_0x1209a4){this[_0xb598d3(0x243)][_0xb598d3(0x1bf)](_0xb598d3(0x182),_0x1209a4),this['logger'][_0xb598d3(0x17d)](JSON[_0xb598d3(0x17a)](_0x1209a4)),this[_0xb598d3(0x19c)](_0xb598d3(0x21e),_0x1209a4);}this[_0xb598d3(0x243)][_0xb598d3(0x17d)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x28612c);const _0x154a79=(0x0,utils_1['readFullVersion'])(this[_0xb598d3(0x243)])[_0xb598d3(0x1f4)]('\x0a','');this[_0xb598d3(0x243)][_0xb598d3(0x17d)](_0xb598d3(0x220)+_0x154a79);let _0x4f6ffe;try{_0x4f6ffe=this['config'][_0xb598d3(0x18b)]||await _a[_0xb598d3(0x173)]();}catch{}this[_0xb598d3(0x243)][_0xb598d3(0x17d)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0xb598d3(0x212)]),this['logger'][_0xb598d3(0x1fb)](_0xb598d3(0x1ac)+_0x420fcc),this['logger'][_0xb598d3(0x1fb)](_0xb598d3(0x218)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0xb598d3(0x242)]=(0x0,createDebuggee_1['createDebuggee'])(_0x28612c,this[_0xb598d3(0x278)],_0x4f6ffe,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0xb598d3(0x211)],_0x154a79,this[_0xb598d3(0x243)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0xb598d3(0x1e8)](this),this[_0xb598d3(0x1de)](),this[_0xb598d3(0x19c)](_0xb598d3(0x165));}['isReady'](){const _0x450786=a18_0x44dd23;if(Date[_0x450786(0x1c4)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x450786(0x187)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x450786(0x25a)](()=>{const _0x545855=_0x450786;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x545855(0x1e8)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async['getSourceContextFromFile'](){const _0x42067a=a18_0x44dd23,_0x2c01c7=await readFilep(_0x42067a(0x1f8),_0x42067a(0x261));try{return JSON[_0x42067a(0x279)](_0x2c01c7);}catch(_0x1413d5){throw new Error(_0x42067a(0x198)+_0x1413d5);}}[a18_0x44dd23(0x1de)](){const _0x1b7f18=a18_0x44dd23;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1b7f18(0x1e8)](this,0x0);}[a18_0x44dd23(0x186)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0xabf863=a18_0x44dd23;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xabf863(0x243)][_0xabf863(0x1fb)](_0xabf863(0x17e));return;}this[_0xabf863(0x243)]['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')?.[_0xabf863(0x275)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0xabf863(0x1da));}[a18_0x44dd23(0x1c8)](_0x4e4e53){const _0x4fb250=a18_0x44dd23;if(!this[_0x4fb250(0x243)][_0x4fb250(0x277)]())return _0x4e4e53['id'];try{const _0x238480=JSON[_0x4fb250(0x17a)](_0x4e4e53);if(_0x238480[_0x4fb250(0x193)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x238480;return _0x238480[_0x4fb250(0x1e6)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x4fb250(0x26f);}catch(_0x1dad6a){return this[_0x4fb250(0x243)][_0x4fb250(0x1bf)](_0x4fb250(0x268),_0x1dad6a),_0x4e4e53['id'];}}[a18_0x44dd23(0x1bb)](_0x5a893c){const _0x25fec7=a18_0x44dd23,_0x89ac8=this[_0x25fec7(0x243)]['getInitialLevel']();if(_0x89ac8===_0x25fec7(0x1fb))return;switch(_0x5a893c){case _0x25fec7(0x189):this[_0x25fec7(0x243)][_0x25fec7(0x1b5)]()!==_0x25fec7(0x1fb)&&(this[_0x25fec7(0x243)][_0x25fec7(0x1e0)](_0x25fec7(0x1fb)),this[_0x25fec7(0x243)]['debug'](_0x25fec7(0x180)));break;case'NOT_SET':case undefined:this['logger'][_0x25fec7(0x1b5)]()==='debug'&&(this['logger'][_0x25fec7(0x1e0)](_0x89ac8),this['logger'][_0x25fec7(0x17d)](_0x25fec7(0x214)+_0x89ac8+')'));break;default:this[_0x25fec7(0x243)][_0x25fec7(0x1ed)](_0x25fec7(0x1d3)+_0x5a893c);}}}exports[a18_0x44dd23(0x1dd)]=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(_0xc741d2){const _0x178d8d=a18_0x44dd23;return new RegExp(_0xc741d2[_0x178d8d(0x177)](_0x1bd208=>_0x1bd208+'$')[_0x178d8d(0x1fc)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3b25a6=a18_0x44dd23,_0x5f4866=[_0x3b25a6(0x248),_0x3b25a6(0x264),'SIGQUIT'];_0x5f4866[_0x3b25a6(0x1be)](_0x49e865=>{const _0x28f717=_0x3b25a6;process[_0x28f717(0x179)](_0x49e865,()=>{const _0xdd7667=_0x28f717;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xdd7667(0x1b9)](this[_0xdd7667(0x242)],()=>{const _0x70c17c=_0xdd7667;process[_0x70c17c(0x204)](process[_0x70c17c(0x236)],_0x49e865);});});}),process['once'](_0x3b25a6(0x1f1),()=>{const _0x321156=_0x3b25a6;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x321156(0x1b9)](this[_0x321156(0x242)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x1ac514){const _0x190fc7=a18_0x44dd23;this[_0x190fc7(0x243)][_0x190fc7(0x1fb)](_0x1ac514?_0x190fc7(0x1b1)+_0x1ac514+'s':_0x190fc7(0x265));const _0x304c99=(_0x4624b1,_0x585c03,_0x3782e1=![])=>{const _0x12d815=_0x190fc7;this['emit'](_0x12d815(0x273));const _0x439dfb=this['debuggee']?.['id'],_0x3280c0=_0x439dfb?'re-register\x20debuggee\x20'+_0x439dfb:_0x12d815(0x22d),_0x410e96=_0x12d815(0x1c2)+_0x3280c0+':\x20'+(0x0,utils_1[_0x12d815(0x1b7)])(_0x4624b1);this[_0x12d815(0x243)]['error'](_0x410e96),_0x585c03&&!_0x3782e1&&this['logger'][_0x12d815(0x1bf)](_0x12d815(0x232),_0x585c03),!this[_0x12d815(0x278)][_0x12d815(0x250)]?.['isLambda']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x12d815(0x1e8)](this,(0x0,utils_1[_0x12d815(0x226)])(_0x1ac514,this['config'][_0x12d815(0x250)][_0x12d815(0x23d)]));};setTimeout(()=>{const _0x4ad76f=_0x190fc7;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x304c99(new Error(_0x4ad76f(0x260)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x4ad76f(0x242)],(_0x580dea,_0xf63c6a,_0x3e41bb=![])=>{const _0x33b57c=_0x4ad76f;if(_0x580dea){_0x304c99(_0x580dea,_0xf63c6a,_0x3e41bb);return;}if(_0xf63c6a[_0x33b57c(0x242)]['isDisabled']){_0x304c99(new Error(_0x33b57c(0x210))),this[_0x33b57c(0x19c)](_0x33b57c(0x244));return;}const _0x4a8bac=_0xf63c6a[_0x33b57c(0x242)]['id'];this[_0x33b57c(0x243)][_0x33b57c(0x17d)]('Registered\x20as\x20debuggee:\x20'+_0x4a8bac),this['debuggee']['id']=_0x4a8bac;const _0x2e5b8a=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](this)(this['debuggee']['id'])];this[_0x33b57c(0x278)]['redactionEnabled']&&_0x2e5b8a['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x33b57c(0x222)](_0x2e5b8a)[_0x33b57c(0x25a)](()=>{const _0x35b295=_0x33b57c;this[_0x35b295(0x19c)]('registered',_0x4a8bac),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x35b295(0x1d6)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x35b295(0x1b0)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0xf63c6a?.['clientConnectionTimeoutInSeconds'],'f'),!this[_0x35b295(0x200)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,this[_0x35b295(0x278)][_0x35b295(0x19b)],_0xf63c6a?.[_0x35b295(0x1e9)]);},_0x397c3c=>{_0x304c99(_0x397c3c);});});},_0x1ac514*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x13a07c,_0x52fce0,_0x5b9df4){const _0x5d4b81=a18_0x44dd23;this[_0x5d4b81(0x243)][_0x5d4b81(0x1fb)](_0x5d4b81(0x271)+_0x13a07c+'\x20'+_0x52fce0+'\x20'+_0x5b9df4),!_0x52fce0&&(this[_0x5d4b81(0x200)]=!![]),setTimeout(()=>{const _0x361082=_0x5d4b81;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x52fce0&&assert(this[_0x361082(0x200)]),this['logger']['debug'](_0x361082(0x1c1)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x361082(0x1bc)](this[_0x361082(0x242)],(_0x2a47e1,_0x5ec402,_0x2aaf48)=>{const _0x561b16=_0x361082;if(_0x2aaf48?.[_0x561b16(0x1e2)]===0x194){this[_0x561b16(0x243)][_0x561b16(0x17d)](_0x561b16(0x215)),this[_0x561b16(0x200)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x561b16(0x278)][_0x561b16(0x250)]?.[_0x561b16(0x216)]?this['emit'](_0x561b16(0x172)):this[_0x561b16(0x1de)]();return;}if(_0x2a47e1){if(this[_0x561b16(0x278)][_0x561b16(0x250)]?.[_0x561b16(0x216)])this[_0x561b16(0x19c)](_0x561b16(0x1d1)),this[_0x561b16(0x243)][_0x561b16(0x1bf)](_0x561b16(0x23e)+_0x2aaf48?.[_0x561b16(0x1e2)]+_0x561b16(0x1a0)+_0x2a47e1[_0x561b16(0x1fe)]);else{const _0x4958c3=(0x0,utils_1['backoff'])(_0x13a07c,this[_0x561b16(0x278)]['internal'][_0x561b16(0x23d)]);this[_0x561b16(0x243)][_0x561b16(0x1bf)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x2aaf48?.[_0x561b16(0x1e2)]+_0x561b16(0x1a0)+_0x2a47e1[_0x561b16(0x1fe)]+_0x561b16(0x20c)+_0x4958c3+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,_0x4958c3,_0x52fce0,_0x5b9df4);}return;}this['logger'][_0x561b16(0x1fb)]('\x09'+_0x2aaf48['status']+_0x561b16(0x1d5));if(!_0x5ec402){const _0x2b9e1c=this[_0x561b16(0x278)][_0x561b16(0x274)];this[_0x561b16(0x243)]['error'](_0x561b16(0x27d)+_0x2b9e1c+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,_0x2b9e1c,_0x52fce0,_0x5b9df4);return;}this[_0x561b16(0x1bb)](_0x5ec402[_0x561b16(0x26b)]);if(_0x5ec402['waitExpired']){this[_0x561b16(0x243)][_0x561b16(0x17d)](_0x561b16(0x1b4)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,0x0,_0x52fce0,_0x5b9df4);return;}if(_0x5ec402[_0x561b16(0x227)]&&_0x5ec402[_0x561b16(0x227)]!=='NOT_SET'){const _0x301a8e=this['pipingManager'][_0x561b16(0x257)];_0x301a8e!==_0x5ec402[_0x561b16(0x227)]&&(this[_0x561b16(0x243)][_0x561b16(0x1fb)](_0x561b16(0x20d)+_0x301a8e+_0x561b16(0x1fa)+_0x5ec402[_0x561b16(0x227)]),this['pipingManager'][_0x561b16(0x257)]=_0x5ec402[_0x561b16(0x227)]);}if(_0x5ec402[_0x561b16(0x249)]&&_0x5ec402['collectLogRequestId']!==this['collectLogRequestId']){this[_0x561b16(0x19f)]=_0x5ec402['collectLogRequestId'];const _0x3892f6=this[_0x561b16(0x278)][_0x561b16(0x241)][_0x561b16(0x18c)]&&path['join'](this[_0x561b16(0x278)]['agentLog'][_0x561b16(0x18c)],agent_logger_1[_0x561b16(0x209)][_0x561b16(0x1cf)]);_0x3892f6&&fs[_0x561b16(0x21a)](_0x3892f6)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x561b16(0x26a)](this[_0x561b16(0x242)],_0x5ec402[_0x561b16(0x19f)],_0x3892f6)):this['logger'][_0x561b16(0x17d)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x5ec402[_0x561b16(0x19f)]+'\x20because\x20'+_0x561b16(0x197));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x561b16(0x1c6)]=_0x5ec402[_0x561b16(0x1c6)]??[];const _0xd57d93=(_0x5ec402[_0x561b16(0x1ba)]||[])[_0x561b16(0x177)](_0x2f158d=>new stackdriver_1[(_0x561b16(0x166))](_0x2f158d))[_0x561b16(0x1c3)](_0x35d2a4=>{const _0x422f07=_0x561b16,_0x5b3a02=_0x35d2a4[_0x422f07(0x206)]??_0x422f07(0x253);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x35d2a4['id']])return![];if(_0x5b3a02!==_0x422f07(0x253)&&_0x5b3a02!==_0x422f07(0x1cd))return this[_0x422f07(0x243)][_0x422f07(0x1ed)](_0x422f07(0x27e),_0x5b3a02),_0x35d2a4[_0x422f07(0x1e2)]=new status_message_1[(_0x422f07(0x24d))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x422f07(0x1e7)][_0x422f07(0x1c0)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](this,_0x35d2a4),![];return!![];}),_0x582c01=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0x2eefce=_0x582c01['length']>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x561b16(0x1e8)](this,_0x582c01),_0x2eefce=_0x2eefce||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x561b16(0x1e8)](this,_0xd57d93),this[_0x561b16(0x19c)](_0x561b16(0x176),_0xd57d93['length']);_0x2eefce&&this[_0x561b16(0x243)][_0x561b16(0x1fb)](formatBreakpoints(_0x561b16(0x174),this[_0x561b16(0x27c)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x561b16(0x1c4)](),'f');_0x52fce0?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x561b16(0x1d6)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,0x0,_0x52fce0,_0x5b9df4);return;},_0x5b9df4);},_0x13a07c*0x3e8)[_0x5d4b81(0x213)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4f601c=a18_0x44dd23;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4f601c(0x1d6)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x20d0b4){const _0x2893eb=a18_0x44dd23,_0x156005=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2893eb(0x1e8)](this,_0x20d0b4);let _0x58d3a7=![];return _0x20d0b4[_0x2893eb(0x1be)](_0x4003e4=>{const _0x533a9c=_0x2893eb;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4003e4['id']]&&!this['activeBreakpointMap'][_0x4003e4['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x533a9c(0x1e8)](this,_0x4003e4,_0x358f2f=>{_0x358f2f&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x4003e4,!![],![]);}),_0x58d3a7=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x4003e4['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x533a9c(0x1f5)](_0x4003e4['id'],_0x4003e4[_0x533a9c(0x25f)]),this[_0x533a9c(0x1f2)]['setPipingStatus'](_0x4003e4['id'],_0x4003e4['pipingStatus']);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x156005)[_0x2893eb(0x1be)](_0x4ce618=>{const {id:_0x101b05}=_0x4ce618;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x101b05],_0x58d3a7=!![];}),(0x0,mapSubtract_1[_0x2893eb(0x24e)])(this[_0x2893eb(0x27c)],_0x156005)[_0x2893eb(0x1be)](_0x39e247=>{const _0x2cd8e5=_0x2893eb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2cd8e5(0x1e8)](this,_0x39e247,!![]),_0x58d3a7=!![];}),_0x58d3a7&&this['logger'][_0x2893eb(0x1fb)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x156005)),_0x58d3a7;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x1bedc0){const _0x3a1f31=a18_0x44dd23;return Object[_0x3a1f31(0x1d9)](_0x1bedc0[_0x3a1f31(0x177)](_0x3a20a0=>[_0x3a20a0['id'],_0x3a20a0]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x239a6e,_0x1ce4ca){const _0x528ace=a18_0x44dd23;this['logger']['info'](_0x528ace(0x1a1)+_0x239a6e['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x528ace(0x263)](_0x239a6e['id']),this['pipingManager'][_0x528ace(0x24c)](_0x239a6e['id']),delete this[_0x528ace(0x27c)][_0x239a6e['id']],_0x1ce4ca&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x239a6e,_0x3d002c=>{const _0x449d70=_0x528ace;if(_0x3d002c)this[_0x449d70(0x243)][_0x449d70(0x1bf)](_0x3d002c);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x27783b,_0x54ae68){const _0x567318=a18_0x44dd23;this[_0x567318(0x243)]['info'](_0x567318(0x223),this[_0x567318(0x1c8)](_0x27783b));if(!this[_0x567318(0x278)]['allowExpressions']&&(_0x27783b['condition']||_0x27783b[_0x567318(0x1ec)])){this[_0x567318(0x243)]['error'](utils_1[_0x567318(0x1e7)][_0x567318(0x224)][_0x567318(0x16b)]??''),_0x27783b[_0x567318(0x1e2)]=new status_message_1[(_0x567318(0x24d))](status_message_1[_0x567318(0x24d)]['UNSPECIFIED'],utils_1[_0x567318(0x1e7)][_0x567318(0x224)],!![]),setImmediate(()=>{const _0x509550=_0x567318;_0x54ae68(utils_1['errors'][_0x509550(0x224)]);});return;}const _0xc30edc=_0x27783b['createTime']?Number(_0x27783b[_0x567318(0x238)][_0x567318(0x19e)]):Date['now']()/0x3e8,_0xcf504d=_0x27783b['expirationSeconds']??this[_0x567318(0x278)][_0x567318(0x175)];_0x27783b[_0x567318(0x1f7)]=_0xc30edc+_0xcf504d,_0x27783b['location']?.[_0x567318(0x190)]&&(_0x27783b[_0x567318(0x235)][_0x567318(0x190)]=path[_0x567318(0x1df)](_0x27783b['location'][_0x567318(0x190)]),path[_0x567318(0x24b)]===path[_0x567318(0x20b)][_0x567318(0x24b)]&&(_0x27783b[_0x567318(0x235)][_0x567318(0x190)]=_0x27783b[_0x567318(0x235)][_0x567318(0x190)][_0x567318(0x1aa)]('\x5c')['join'](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x567318(0x1a9)](_0x27783b,_0x3619be=>{const _0x4bb283=_0x567318;if(_0x3619be){_0x54ae68(_0x3619be);return;}this['logger'][_0x4bb283(0x17d)]('\x09successfully\x20added\x20breakpoint\x20id\x20'+_0x27783b['id']),this[_0x4bb283(0x27c)][_0x27783b['id']]=_0x27783b,_0x27783b[_0x4bb283(0x206)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4bb283(0x1a4)](_0x27783b,(_0x21897a,_0x51566d)=>{const _0x1ee669=_0x4bb283,_0x5ed63d=_0x51566d[_0x1ee669(0x177)](_0x14680d=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1ee669(0x1e8)](this,_0x14680d)),_0x285c81=(0x0,format_1[_0x1ee669(0x1eb)])(_0x21897a,_0x5ed63d),_0x4c145c=_0x1ee669(0x24a)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1ee669(0x1f6)](_0x285c81)??_0x285c81),_0x2d2755=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1ee669(0x1e4)](_0x4c145c,_0x27783b['id']);if(_0x2d2755){const _0x22dfe2=_0x2d2755[_0x1ee669(0x1fe)],{isOutOfQuota:_0x180c9c}=_0x2d2755;let _0x1b8d6d,_0x26af9e;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1ee669(0x262)]()&&!_0x180c9c&&(_0x1b8d6d='LOGPOINT:\x20'+_0x21897a,_0x26af9e=_0x5ed63d);this[_0x1ee669(0x1f2)]['addAndPipeLog'](this[_0x1ee669(0x242)],_0x27783b['id'],_0x22dfe2,_0x27783b[_0x1ee669(0x20f)],_0x1b8d6d,_0x26af9e);if(_0x180c9c)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1ee669(0x225)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config'][_0x1ee669(0x22a)][_0x1ee669(0x272)]*0x3e8),'f');else _0x22dfe2?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1ee669(0x225)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x27783b['id']],_0x299e09=>{const _0x17b7d6=_0x4bb283;if(_0x299e09){this[_0x17b7d6(0x243)][_0x17b7d6(0x1bf)](_0x299e09),_0x54ae68(_0x299e09);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4bb283(0x237)](_0x27783b,_0x5e1a51=>{const _0x36ea9e=_0x4bb283;if(_0x5e1a51){setImmediate(()=>{const _0x45d147=a18_0x1e62;this[_0x45d147(0x243)][_0x45d147(0x1bf)](_0x5e1a51),_0x54ae68(_0x5e1a51);});return;}this[_0x36ea9e(0x243)][_0x36ea9e(0x17d)](_0x36ea9e(0x23b)+_0x27783b['id'],_0x27783b[_0x36ea9e(0x235)]?.[_0x36ea9e(0x190)],_0x27783b[_0x36ea9e(0x235)]?.[_0x36ea9e(0x1db)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x36ea9e(0x1e8)](this,_0x27783b,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x36ea9e(0x18a)](_0x27783b['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x4bb283(0x1e8)](this,_0x27783b);}),this[_0x567318(0x19c)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0xcadf54,_0x534ca3,_0xda394d=!![]){const _0x41b9fa=a18_0x44dd23;if(_0xcadf54[_0x41b9fa(0x1e2)]?.['isError']){let _0x349820=_0xcadf54[_0x41b9fa(0x1e2)]?.[_0x41b9fa(0x16b)]?.[_0x41b9fa(0x1eb)]||'';_0xcadf54[_0x41b9fa(0x1e2)]?.[_0x41b9fa(0x16b)]?.[_0x41b9fa(0x17f)]&&(_0x349820+=':\x20'+_0xcadf54[_0x41b9fa(0x1e2)]?.['description']?.[_0x41b9fa(0x17f)][_0x41b9fa(0x1f9)]()),this[_0x41b9fa(0x243)][_0x41b9fa(0x1ed)](_0x41b9fa(0x1d2)+_0xcadf54+'.\x20Error:\x20'+_0x349820);}else this['logger']['info']('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x41b9fa(0x1c8)](_0xcadf54));_0x534ca3&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xcadf54['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x41b9fa(0x1e8)](this,_0xcadf54,_0xda394d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x41b9fa(0x1e1)](this[_0x41b9fa(0x242)],extend(!![],{},_0xcadf54));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2db3a8){const _0x34a7ff=a18_0x44dd23;this[_0x34a7ff(0x243)][_0x34a7ff(0x1fb)](_0x34a7ff(0x27b)+_0x2db3a8+_0x34a7ff(0x1c9));const _0x2f9b9a=extend(!![],{},_0x2db3a8);_0x2f9b9a[_0x34a7ff(0x1a7)]=![],_0x2f9b9a['status']=new status_message_1['StatusMessage'](status_message_1[_0x34a7ff(0x24d)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x34a7ff(0x1e1)](this[_0x34a7ff(0x242)],_0x2f9b9a);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x39459e){const _0x36122b=a18_0x44dd23;this[_0x36122b(0x243)]['info'](_0x36122b(0x192)+_0x39459e),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x39459e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x36122b(0x242)],_0x39459e);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5ef6da){_0x5ef6da['forEach'](_0x34175e=>{const _0x3e3abf=a18_0x1e62;this[_0x3e3abf(0x243)][_0x3e3abf(0x17d)](_0x3e3abf(0x1ef)+_0x34175e['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x34175e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x34175e,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x49ac4a=a18_0x44dd23,_0xd337f0=Date[_0x49ac4a(0x1c4)]()/0x3e8;return Object[_0x49ac4a(0x16d)](this['activeBreakpointMap'])[_0x49ac4a(0x1c3)](_0x17e77f=>_0x17e77f[_0x49ac4a(0x1f7)]?_0x17e77f[_0x49ac4a(0x1f7)]<_0xd337f0:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xa5464e){const _0x4ebade=a18_0x44dd23,_0x40593d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4ebade(0x183)](_0xa5464e),_0x57b7cd=_0x40593d[_0x4ebade(0x1d4)],_0x5990dd=_0x40593d['blacklist_exception'];_0x57b7cd?.[_0x4ebade(0x193)]&&this[_0x4ebade(0x243)]['debug']('Blacklist:\x20\x0a\x09',_0x57b7cd[_0x4ebade(0x1fc)]('\x0a\x09')),_0x5990dd?.[_0x4ebade(0x193)]&&this[_0x4ebade(0x243)][_0x4ebade(0x1fb)](_0x4ebade(0x16f),_0x5990dd[_0x4ebade(0x1fc)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4ebade(0x1b2))](_0x57b7cd,_0x5990dd,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x2f7d18){const _0x538fb1=a18_0x44dd23,_0xe01e9b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x538fb1(0x251)](_0x2f7d18);_0xe01e9b?.[_0x538fb1(0x193)]&&this[_0x538fb1(0x243)][_0x538fb1(0x1fb)]('Redactions:\x20\x0a\x09',_0xe01e9b[_0x538fb1(0x177)](_0x39de2b=>_0x538fb1(0x266)+_0x39de2b[_0x538fb1(0x221)]+_0x538fb1(0x269)+_0x39de2b[_0x538fb1(0x201)]+_0x538fb1(0x23c)+_0x39de2b[_0x538fb1(0x194)]+_0x538fb1(0x169)+_0x39de2b[_0x538fb1(0x196)])[_0x538fb1(0x1fc)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x538fb1(0x23a))](this[_0x538fb1(0x243)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0xe01e9b);},_Debuglet_stringify=function _Debuglet_stringify(_0x4d2171){const _0x88e00e=a18_0x44dd23;if(!_0x4d2171)return JSON[_0x88e00e(0x17a)](_0x4d2171,(_0x363c33,_0x227a0a)=>_0x227a0a===undefined?_0x88e00e(0x1dc):_0x227a0a);if(Array['isArray'](_0x4d2171)){const _0x535924=_0x4d2171[_0x88e00e(0x177)](_0x12dca7=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x88e00e(0x1e8)](this,_0x12dca7));return'['+_0x535924[_0x88e00e(0x1fc)](',\x20')+']';}if(typeof _0x4d2171===_0x88e00e(0x18f)){const _0x27bc29=Object[_0x88e00e(0x207)](_0x4d2171)[_0x88e00e(0x177)](([_0xfab754,_0x18fde9])=>{const _0x5add1e=_0x88e00e,_0x28256d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5add1e(0x1ea)](_0xfab754)?redaction_manager_1[_0x5add1e(0x228)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5add1e(0x1e8)](this,_0x18fde9);return JSON[_0x5add1e(0x17a)](_0xfab754)+':\x20'+_0x28256d;})[_0x88e00e(0x1fc)](',\x20');return'{'+_0x27bc29+'}';}return JSON['stringify'](_0x4d2171);});
|
|
1
|
+
const a18_0x3a60cb=a18_0x5d10;(function(_0x1887cb,_0x26e2f3){const _0x476263=a18_0x5d10,_0x4da6b2=_0x1887cb();while(!![]){try{const _0xa1399=-parseInt(_0x476263(0xeb))/0x1+parseInt(_0x476263(0x1b3))/0x2+-parseInt(_0x476263(0x141))/0x3*(parseInt(_0x476263(0x11e))/0x4)+parseInt(_0x476263(0xf4))/0x5+parseInt(_0x476263(0x16f))/0x6*(parseInt(_0x476263(0x148))/0x7)+parseInt(_0x476263(0x146))/0x8+parseInt(_0x476263(0xa2))/0x9*(parseInt(_0x476263(0x100))/0xa);if(_0xa1399===_0x26e2f3)break;else _0x4da6b2['push'](_0x4da6b2['shift']());}catch(_0x1bad99){_0x4da6b2['push'](_0x4da6b2['shift']());}}}(a18_0x2b87,0x77bb5));const a18_0x1baf73=(function(){let _0x6bb9e5=!![];return function(_0x2db63b,_0x4a75fc){const _0x286eeb=_0x6bb9e5?function(){if(_0x4a75fc){const _0x144d18=_0x4a75fc['apply'](_0x2db63b,arguments);return _0x4a75fc=null,_0x144d18;}}:function(){};return _0x6bb9e5=![],_0x286eeb;};}()),a18_0x203f52=a18_0x1baf73(this,function(){const _0x26ed39=a18_0x5d10;return a18_0x203f52['toString']()['search'](_0x26ed39(0xd5))[_0x26ed39(0x139)]()[_0x26ed39(0x131)](a18_0x203f52)[_0x26ed39(0xec)]('(((.+)+)+)+$');});a18_0x203f52();'use strict';var __classPrivateFieldSet=this&&this[a18_0x3a60cb(0xe3)]||function(_0x336315,_0x2b297b,_0x5284bc,_0x335008,_0x1f606a){const _0x7b195c=a18_0x3a60cb;if(_0x335008==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x335008==='a'&&!_0x1f606a)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x2b297b==='function'?_0x336315!==_0x2b297b||!_0x1f606a:!_0x2b297b['has'](_0x336315))throw new TypeError(_0x7b195c(0xea));return _0x335008==='a'?_0x1f606a[_0x7b195c(0x17b)](_0x336315,_0x5284bc):_0x1f606a?_0x1f606a[_0x7b195c(0x150)]=_0x5284bc:_0x2b297b[_0x7b195c(0x158)](_0x336315,_0x5284bc),_0x5284bc;},__classPrivateFieldGet=this&&this[a18_0x3a60cb(0x17a)]||function(_0xb7d14,_0x346196,_0xdff8bf,_0x3b9115){const _0x7331c0=a18_0x3a60cb;if(_0xdff8bf==='a'&&!_0x3b9115)throw new TypeError(_0x7331c0(0x16d));if(typeof _0x346196==='function'?_0xb7d14!==_0x346196||!_0x3b9115:!_0x346196[_0x7331c0(0x112)](_0xb7d14))throw new TypeError(_0x7331c0(0x153));return _0xdff8bf==='m'?_0x3b9115:_0xdff8bf==='a'?_0x3b9115[_0x7331c0(0x17b)](_0xb7d14):_0x3b9115?_0x3b9115[_0x7331c0(0x150)]:_0x346196[_0x7331c0(0x101)](_0xb7d14);},_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_0x3a60cb(0x1a0)](exports,a18_0x3a60cb(0x182),{'value':!![]}),exports[a18_0x3a60cb(0xbd)]=exports[a18_0x3a60cb(0xa5)]=void 0x0;const assert=require(a18_0x3a60cb(0xf9)),events_1=require(a18_0x3a60cb(0xbc)),extend=require(a18_0x3a60cb(0x1a6)),fs=require('fs'),path=require(a18_0x3a60cb(0xe1)),util=require(a18_0x3a60cb(0xfa)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a18_0x3a60cb(0x15d)),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require(a18_0x3a60cb(0x1bf)),config_1=require('./config'),configuration_provider_1=require(a18_0x3a60cb(0x19f)),controller_1=require('./controller'),createDebuggee_1=require(a18_0x3a60cb(0x115)),format_1=require(a18_0x3a60cb(0x11b)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),environment_metadata_1=require(a18_0x3a60cb(0x19a)),file_index_1=require('./io/file-index'),scanner_1=require('./io/scanner'),SourceMapper=require(a18_0x3a60cb(0x118)),piping_manager_1=require(a18_0x3a60cb(0x15a)),quota_manager_1=require(a18_0x3a60cb(0xe5)),redaction_manager_1=require(a18_0x3a60cb(0xc5)),utils_1=require(a18_0x3a60cb(0x167)),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require('./reduction/redaction-manager-re2js'),readFilep=util[a18_0x3a60cb(0xc7)](fs[a18_0x3a60cb(0x1b4)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x733f53,_0x575fa9)=>{const _0x3a9bb1=a18_0x3a60cb;let _0x1c2ad2=_0x733f53+util[_0x3a9bb1(0x13d)](_0x3a9bb1(0x195),_0x575fa9['id'],_0x575fa9['action'],util[_0x3a9bb1(0x1b5)](_0x575fa9['location']));if(_0x575fa9[_0x3a9bb1(0xef)]){const _0x58b108=Number(_0x575fa9[_0x3a9bb1(0xef)][_0x3a9bb1(0xd2)]),_0x424b67=new Date(_0x58b108*0x3e8);_0x1c2ad2+='\x0a\x09createdTime:\x20'+_0x424b67['toString']();}return _0x575fa9[_0x3a9bb1(0xbb)]&&(_0x1c2ad2+=_0x3a9bb1(0x138)+util[_0x3a9bb1(0x1b5)](_0x575fa9['condition'])),_0x575fa9[_0x3a9bb1(0x179)]&&(_0x1c2ad2+=_0x3a9bb1(0x198)+util[_0x3a9bb1(0x1b5)](_0x575fa9[_0x3a9bb1(0x179)])),_0x1c2ad2;},formatBreakpoints=(_0x2b8ff4,_0x58e6ab)=>_0x2b8ff4+Object[a18_0x3a60cb(0x188)](_0x58e6ab)[a18_0x3a60cb(0x143)](_0x47324f=>formatBreakpoint('',_0x58e6ab[_0x47324f]))[a18_0x3a60cb(0xa0)]('\x0a');function a18_0x2b87(){const _0x6d686b=['3404155lOGebN','agentLogTargetDir','collectAndSendLog','mapSubtract','debug','assert','util','getSourceContextFromFile','getLevel','forEach','ignoreQuota','undefined','370tepWzI','get','REDACTED_PLACEHOLDER','\x20to\x20','activeBreakpointMap','\x09adding\x20breakpoint','\x20(type:\x20','setIgnoreQuota','fetchBreakpointsOnce','fromEntries','start','log','.\x20Retrying\x20in\x20','QuotaManager','removePerBreakpointQuota','Working\x20directory:\x20','getClientConnectionTimeoutInSeconds','Breakpoint','has','hash','setCustomLogLevel','./debuglet-helpers/createDebuggee','config','action','./io/sourcemapper','filename','internal','./debuglet-helpers/format','fromFileStats','globalPipingStatus','1874144LRaCDf','Unique\x20ID\x20for\x20this\x20Application:\x20','Unknown\x20agentLogLevel\x20','addAndPipeLog','reporting\x20breakpoint\x20','FileIndex','isArray','quotaCheck','breakpoint_set','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','concat','jsFileIndex','findFiles','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','ConfigurationProvider','posix','Debuggee\x20is\x20not\x20registered','caseInsensitive','constructor','message','all','isRedactionActive','EventEmitter','Scanner','stringify','\x0a\x09condition:\x20','toString','shouldRedactByName','scheduleBreakpointFetch_\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','format','breakpoints_fetch_registration_required','then','logLevel','6OoXydn','location','map','description','pattern','3770520RNnCOE','DEBUG','7hbCmiO','\x09Got\x20error\x20from\x20server.\x20status:\x20','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','PipingManager','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','info','pid','removeListener','value','Registering\x20debuggee','quota','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','Initializing\x20Node.js\x20agent\x20version:\x20','Debuglet\x20not\x20running','remainingHits','stringifyBreakpointForInfoLog','set','getBlocklist','./piping-manager','prettyError','do\x20this.','../types/stackdriver','push','enable','NOT_SET','waitForTransmissionQueueDrain','blacklist','allowExpressions','promise','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','register','./util/utils','registration_failed','existsSync','setBlocklistManager','debuggee','blacklist_exception','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','GAE_MINOR_VERSION','3309258sIaZgj','started','Starting\x20debuggee','Server\x20breakpoints:\x0a','UNSPECIFIED','parse','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','agentLogLevel','quotaRecoverySeconds','Active\x20Breakpoints:\x20\x0a','expressions','__classPrivateFieldGet','call','errors','isError','register\x20debuggee','Failed\x20to\x20','\x09remove\x20breakpoint\x20id\x20','):\x20pattern:\x20','__esModule','\x20caseInsensitive:\x20','isFinalState','status','Blacklist\x20Exceptions:\x20\x0a\x09','isRegistered','keys','split','Stopping\x20Debuglet','mapFiles','parameters','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','Error\x20processing\x20the\x20sourcemaps.','normalize','StatusMessage','mainModule','re-register\x20debuggee\x20','warn','resolve','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','default','breakpointExpirationSec','\x0a\x09expressions:\x20','waitExpired','./environment-metadata','sendAgentLogsToServer','utf8','pipingManager','sourceMapDiagnostics','./configuration-provider','defineProperty','CAPTURE','isRunning','replace','logMainConfigParams','cwd','extend','Result:\x20\x0a','logger','javascriptFileExtensions','promiseResolve','breakpoints','.\x20message:\x20','add','now','object','filter','\x20accepted\x20by\x20agent','length','371902wSSgpT','readFile','inspect','breakpoints_fetched','create','agentLogMaxFileCount','unref','enqueueBreakpointUpdate','wait','replaceRedactedByValue','RedactionManagerRE2JS','Scheduling\x20registration\x20in\x20','./blocklisting/patterns-blocklist-manager','PatternsBlocklistManager','createLogger','SIGINT','once','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','join','js.map','54VSaQpz','\x20completed.','LOGPOINT:\x20','CachedPromise','collectLogRequestId','stopped','normalizeConfig','Fetching\x20breakpoints','allowRootAsWorkingDirectory','env','Blacklist:\x20\x0a\x09','Expiring\x20breakpoint\x20id\x20','APP_ONLY','debuglet','waitFor','name:\x20','activeFeatures','error','Malformed\x20source-context.json\x20file:\x20','deregister','pipeLogs','maxRequestRetryDelaySeconds','ALLOW_EXPRESSIONS_MESSAGE','\x09Long\x20poll\x20completed.','selectStats','condition','events','Debuglet','workingDirectory','extraPaths','isLambda','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','EnvironmentMetadata','pipingStatus','LOG','./reduction/redaction-manager','sep','promisify','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','Registered\x20as\x20debuggee:\x20','breakpointUpdateIntervalSec','stop','line','values','emit','getRedactions','Controller','clientConnectionTimeoutInSeconds','seconds','isReady','expirationTime','(((.+)+)+)+$','.\x20Error:\x20','removeBreakpoint','GAE-','bind','scan','name','setLevel','breakpoints_fetch_failed','createPerBreakpointConditionQuota','Found\x20breakpoint\x20with\x20invalid\x20action:','\x09successfully\x20added\x20breakpoint\x20id\x20','path','substring','__classPrivateFieldSet','getProps','./quota-manager','disable','setPipingStatus','agentLog','fetcherActive','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','462369hHJEGt','search','backoff','initError','createTime','isReadyManager','Error\x20scanning\x20the\x20filesystem.','clear','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'];a18_0x2b87=function(){return _0x6d686b;};return a18_0x2b87();}class CachedPromise{constructor(){const _0x511d5d=a18_0x3a60cb;this['promiseResolve']=null,this[_0x511d5d(0x164)]=new Promise(_0x4dab83=>{this['promiseResolve']=_0x4dab83;});}[a18_0x3a60cb(0x101)](){const _0x36c004=a18_0x3a60cb;return this[_0x36c004(0x164)];}['resolve'](){const _0x3b3664=a18_0x3a60cb;this[_0x3b3664(0x1aa)]&&(this[_0x3b3664(0x1aa)](),this[_0x3b3664(0x1aa)]=null);}}function a18_0x5d10(_0x4b4ea9,_0x537169){const _0x5ad217=a18_0x2b87();return a18_0x5d10=function(_0x203f52,_0x1baf73){_0x203f52=_0x203f52-0x9c;let _0x2b87a1=_0x5ad217[_0x203f52];return _0x2b87a1;},a18_0x5d10(_0x4b4ea9,_0x537169);}exports[a18_0x3a60cb(0xa5)]=CachedPromise;class IsReadyImpl{constructor(_0x22ede7){const _0x161e24=a18_0x3a60cb;this[_0x161e24(0xaf)]=_0x22ede7;}[a18_0x3a60cb(0xd3)](){const _0x251b70=a18_0x3a60cb;return this[_0x251b70(0xaf)]['isReady']();}}class Debuglet extends events_1[a18_0x3a60cb(0x135)]{constructor(_0x26113a,_0x5de197){const _0x37299f=a18_0x3a60cb;super(),_Debuglet_instances[_0x37299f(0x1ad)](this),_Debuglet_debug[_0x37299f(0x158)](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x37299f(0x158)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x37299f(0x158)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x37299f(0x158)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x37299f(0x158)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x37299f(0x158)](this,null),this[_0x37299f(0xf0)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x37299f(0x158)](this,void 0x0),_Debuglet_scanner[_0x37299f(0x158)](this,void 0x0),_Debuglet_quotaManager[_0x37299f(0x158)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x37299f(0x158)](this,void 0x0),_Debuglet_configProvider[_0x37299f(0x158)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x37299f(0x158)](this,void 0x0),this[_0x37299f(0x116)]=(0x0,normalizeConfig_1[_0x37299f(0xa8)])(_0x5de197),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x37299f(0x12d))](this[_0x37299f(0x116)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x26113a,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x37299f(0x1a8)]=agent_logger_1['default'][_0x37299f(0x9c)](this['config'][_0x37299f(0xe8)][_0x37299f(0xf5)],this[_0x37299f(0x116)][_0x37299f(0xe8)]['agentLogMaxFileSizeMb'],this[_0x37299f(0x116)][_0x37299f(0xe8)][_0x37299f(0x1b8)],this[_0x37299f(0x116)][_0x37299f(0xe8)][_0x37299f(0x176)],this[_0x37299f(0x116)][_0x37299f(0xe8)]['stdErrThreshold']),(0x0,config_1[_0x37299f(0x1a4)])(this[_0x37299f(0x116)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x37299f(0xc2))](this[_0x37299f(0x1a8)])[_0x37299f(0xe4)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x37299f(0xd0))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x37299f(0x116)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x37299f(0x136))](this[_0x37299f(0x1a8)]),'f'),this['debuggee']=null,this[_0x37299f(0x104)]={},__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[(_0x37299f(0x10d))](this[_0x37299f(0x1a8)],this[_0x37299f(0x116)]),'f'),this[_0x37299f(0x19d)]=new piping_manager_1[(_0x37299f(0x14b))](_0x37299f(0xae),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x37299f(0x116)]);}async['waitForTransmissionQueueDrain'](_0x3db31c){const _0x573421=a18_0x3a60cb;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x573421(0x161)](_0x3db31c);}[a18_0x3a60cb(0x110)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0x5eb61a){const _0xc97d60=a18_0x3a60cb,_0x325624=0x32;let _0x1f89b1=null;const _0x5598ca=()=>_0x1f89b1=!![],_0x3e45f2=()=>_0x1f89b1=![],_0x3cb257=_0x3ad973=>{if(_0x3ad973)return;_0x5598ca();};let _0x5c2b40=![];const _0x116ab3=_0x3cdeb4=>{const _0x10be39=a18_0x5d10;_0x5c2b40&&_0x3e45f2(),_0x5c2b40=!![],this[_0x10be39(0x166)]();};this['once'](_0xc97d60(0x1b6),_0x3cb257),this[_0xc97d60(0x9e)](_0xc97d60(0x126),_0x5598ca);this[_0xc97d60(0x116)][_0xc97d60(0x11a)]?.['isLambda']&&(this['once'](_0xc97d60(0x168),_0x3e45f2),this[_0xc97d60(0x9e)](_0xc97d60(0xdd),_0x3e45f2),this[_0xc97d60(0x9e)](_0xc97d60(0x13e),_0x116ab3));if(_0x5eb61a){const _0x2ec40b=Date[_0xc97d60(0x1ae)]();while(_0x1f89b1===null&&Date['now']()-_0x2ec40b<_0x5eb61a){await(0x0,utils_1[_0xc97d60(0xb0)])(_0x325624);}}return this[_0xc97d60(0x14f)](_0xc97d60(0x1b6),_0x3cb257),this[_0xc97d60(0x14f)](_0xc97d60(0x126),_0x5598ca),this[_0xc97d60(0x116)][_0xc97d60(0x11a)]?.['isLambda']&&(this['removeListener'](_0xc97d60(0x168),_0x3e45f2),this[_0xc97d60(0x14f)](_0xc97d60(0xdd),_0x3e45f2),this['removeListener']('breakpoints_fetch_registration_required',_0x116ab3)),_0x1f89b1===!![];}[a18_0x3a60cb(0x108)](){const _0x28bbc7=a18_0x3a60cb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x28bbc7(0x17b)](this,0x0,!![]);}[a18_0x3a60cb(0x187)](){const _0x2a700e=a18_0x3a60cb;return this[_0x2a700e(0x16b)]?.['id']!==undefined;}async[a18_0x3a60cb(0x12a)](_0x490182,_0x2abe2d){const _0x19429d=a18_0x3a60cb,_0x5397c1=_0x490182[_0x19429d(0xbe)],_0x115fbc=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x19429d(0xda)](_0x5397c1,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x19429d(0x17b)](_a,_0x490182[_0x19429d(0x1a9)][_0x19429d(0x128)](_0x19429d(0xa1))),_0x2abe2d,_0x490182[_0x19429d(0xbf)]),_0x19ea02=_0x115fbc[_0x19429d(0xba)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x19429d(0x17b)](_a,_0x490182[_0x19429d(0x1a9)])),_0x19ab49=file_index_1[_0x19429d(0x123)][_0x19429d(0x11c)](_0x19ea02),_0xa1019=_0x115fbc['selectFiles'](/.js.map$/,process[_0x19429d(0x1a5)]()),_0x349cb5=_0x115fbc[_0x19429d(0x17c)]();return{'mapFiles':_0xa1019,'errors':_0x349cb5,'jsFileIndex':_0x19ab49,'hash':_0x115fbc[_0x19429d(0x113)]};}async[a18_0x3a60cb(0x10a)](){const _0x43a028=a18_0x3a60cb,_0x272149=this[_0x43a028(0x116)]['workingDirectory'];if(!this[_0x43a028(0x116)][_0x43a028(0xaa)]&&path['join'](_0x272149,'..')===_0x272149){const _0x196926=_0x43a028(0x9f)+_0x43a028(0x13c)+_0x43a028(0xf3)+_0x43a028(0x15c);this[_0x43a028(0x1a8)][_0x43a028(0xb3)](_0x196926),this[_0x43a028(0xce)](_0x43a028(0xee),new Error(_0x196926));return;}let _0x1d48cf;process[_0x43a028(0xab)][_0x43a028(0x16e)]&&(_0x1d48cf=_0x43a028(0xd8)+process[_0x43a028(0xab)]['GAE_MINOR_VERSION']);let _0x59df61,_0xb6860e=_0x1d48cf??'';try{_0x59df61=await this[_0x43a028(0x12a)](this[_0x43a028(0x116)],_0x1d48cf),_0x59df61[_0x43a028(0x17c)][_0x43a028(0xfd)](this[_0x43a028(0x1a8)]['warn']);}catch(_0x2d99fd){this[_0x43a028(0x1a8)][_0x43a028(0xb3)](_0x43a028(0xf1),_0x2d99fd),this[_0x43a028(0xce)](_0x43a028(0xee),_0x2d99fd);return;}try{const _0x201c91=await SourceMapper[_0x43a028(0x1b7)](this[_0x43a028(0x1a8)],_0x59df61[_0x43a028(0x18b)],this[_0x43a028(0x116)][_0x43a028(0x11a)]?.[_0x43a028(0x19e)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x43a028(0x1b7)](this[_0x43a028(0x1a8)],this[_0x43a028(0x116)],_0x59df61[_0x43a028(0x129)],_0x201c91,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xb6860e=_0x1d48cf??_0x59df61[_0x43a028(0x113)];}catch(_0x522fff){this[_0x43a028(0x1a8)][_0x43a028(0xb3)](_0x43a028(0x18e),_0x522fff),this[_0x43a028(0x1a8)]['info'](JSON[_0x43a028(0x137)](_0x522fff)),this['emit']('initError',_0x522fff);}this[_0x43a028(0x1a8)][_0x43a028(0x14d)](_0x43a028(0x11f)+_0xb6860e);const _0x1e6225=(0x0,utils_1['readFullVersion'])(this[_0x43a028(0x1a8)])[_0x43a028(0x1a3)]('\x0a','');this[_0x43a028(0x1a8)][_0x43a028(0x14d)](_0x43a028(0x154)+_0x1e6225);let _0x1fa3ad;try{_0x1fa3ad=this[_0x43a028(0x116)]['sourceContext']||await _a['getSourceContextFromFile']();}catch{}this[_0x43a028(0x1a8)]['info'](_0x43a028(0x18d)+process[_0x43a028(0x191)]?.[_0x43a028(0x119)]),this['logger'][_0x43a028(0xf8)](_0x43a028(0x10f)+_0x272149),this[_0x43a028(0x1a8)]['debug'](_0x43a028(0x171)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x43a028(0x16b)]=(0x0,createDebuggee_1['createDebuggee'])(_0xb6860e,this[_0x43a028(0x116)],_0x1fa3ad,__classPrivateFieldGet(this,_Debuglet_debug,'f')['packageInfo'],_0x1e6225,this[_0x43a028(0x1a8)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](this),this['register'](),this[_0x43a028(0xce)](_0x43a028(0x170));}[a18_0x3a60cb(0xd3)](){const _0x26a818=a18_0x3a60cb;if(Date[_0x26a818(0x1ae)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x26a818(0x194)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x26a818(0x101)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x26a818(0x13f)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a18_0x3a60cb(0xfb)](){const _0x309d68=a18_0x3a60cb,_0x139f08=await readFilep('source-context.json',_0x309d68(0x19c));try{return JSON[_0x309d68(0x174)](_0x139f08);}catch(_0x5a9539){throw new Error(_0x309d68(0xb4)+_0x5a9539);}}['register'](){const _0x1d7d4b=a18_0x3a60cb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1d7d4b(0x17b)](this,0x0);}[a18_0x3a60cb(0x1a2)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x3a60cb(0xcb)](){const _0x55d987=a18_0x3a60cb;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x55d987(0x1a8)][_0x55d987(0xf8)](_0x55d987(0x12c));return;}this[_0x55d987(0x1a8)][_0x55d987(0xf8)](_0x55d987(0x18a)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x55d987(0xcb)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x55d987(0xa7));}[a18_0x3a60cb(0x157)](_0x10db3c){const _0x25349e=a18_0x3a60cb;if(!this[_0x25349e(0x1a8)]['isAtLeastInfo']())return _0x10db3c['id'];try{const _0x2d1320=JSON['stringify'](_0x10db3c);if(_0x2d1320[_0x25349e(0x1b2)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x2d1320;return _0x2d1320[_0x25349e(0xe2)](0x0,BREAKPOINT_LOG_MAX_CHARS)+'...\x20[truncated]';}catch(_0x561748){return this[_0x25349e(0x1a8)][_0x25349e(0xb3)](_0x25349e(0xc1),_0x561748),_0x10db3c['id'];}}[a18_0x3a60cb(0x114)](_0x2336e9){const _0x25617e=a18_0x3a60cb,_0x1848d6=this[_0x25617e(0x1a8)]['getInitialLevel']();if(_0x1848d6===_0x25617e(0xf8))return;switch(_0x2336e9){case _0x25617e(0x147):this[_0x25617e(0x1a8)][_0x25617e(0xfc)]()!==_0x25617e(0xf8)&&(this[_0x25617e(0x1a8)][_0x25617e(0xdc)]('debug'),this[_0x25617e(0x1a8)][_0x25617e(0xf8)](_0x25617e(0x14a)));break;case _0x25617e(0x160):case undefined:this[_0x25617e(0x1a8)][_0x25617e(0xfc)]()==='debug'&&(this[_0x25617e(0x1a8)][_0x25617e(0xdc)](_0x1848d6),this['logger'][_0x25617e(0x14d)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x1848d6+')'));break;default:this[_0x25617e(0x1a8)][_0x25617e(0x193)](_0x25617e(0x120)+_0x2336e9);}}}exports[a18_0x3a60cb(0xbd)]=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(_0x2a54fa){const _0x48e04a=a18_0x3a60cb;return new RegExp(_0x2a54fa[_0x48e04a(0x143)](_0x43c405=>_0x43c405+'$')[_0x48e04a(0xa0)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x36e762=a18_0x3a60cb,_0x23d1ca=['SIGTERM',_0x36e762(0x9d),'SIGQUIT'];_0x23d1ca[_0x36e762(0xfd)](_0x1dedab=>{const _0x37229d=_0x36e762;process[_0x37229d(0x9e)](_0x1dedab,()=>{const _0x4aec78=_0x37229d;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4aec78(0xb5)](this[_0x4aec78(0x16b)],()=>{const _0x3f5d00=_0x4aec78;process['kill'](process[_0x3f5d00(0x14e)],_0x1dedab);});});}),process[_0x36e762(0x9e)]('beforeExit',()=>{const _0x5d230c=_0x36e762;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5d230c(0xb5)](this[_0x5d230c(0x16b)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x4fb53b){const _0x5cf4af=a18_0x3a60cb;this['logger'][_0x5cf4af(0xf8)](_0x4fb53b?_0x5cf4af(0x1be)+_0x4fb53b+'s':_0x5cf4af(0x151));const _0x5db8f6=(_0x4c059f,_0x33e54f,_0x4d98f4=![])=>{const _0x5c6fc5=_0x5cf4af;this['emit'](_0x5c6fc5(0x168));const _0x371bc0=this[_0x5c6fc5(0x16b)]?.['id'],_0x5652b1=_0x371bc0?_0x5c6fc5(0x192)+_0x371bc0:_0x5c6fc5(0x17e),_0x2186a7=_0x5c6fc5(0x17f)+_0x5652b1+':\x20'+(0x0,utils_1[_0x5c6fc5(0x15b)])(_0x4c059f);this['logger'][_0x5c6fc5(0xb3)](_0x2186a7),_0x33e54f&&!_0x4d98f4&&this[_0x5c6fc5(0x1a8)][_0x5c6fc5(0xb3)](_0x5c6fc5(0x1a7),_0x33e54f),!this[_0x5c6fc5(0x116)][_0x5c6fc5(0x11a)]?.['isLambda']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x5c6fc5(0xed)])(_0x4fb53b,this[_0x5c6fc5(0x116)]['internal']['maxRequestRetryDelaySeconds']));};setTimeout(()=>{const _0x10effb=_0x5cf4af;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x5db8f6(new Error(_0x10effb(0x155)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x10effb(0x166)](this[_0x10effb(0x16b)],(_0x2138f4,_0x557fa0,_0x22d03a=![])=>{const _0x1cb079=_0x10effb;if(_0x2138f4){_0x5db8f6(_0x2138f4,_0x557fa0,_0x22d03a);return;}if(_0x557fa0[_0x1cb079(0x16b)]['isDisabled']){_0x5db8f6(new Error('Disabled\x20by\x20the\x20server')),this['emit']('remotelyDisabled');return;}const _0x564424=_0x557fa0[_0x1cb079(0x16b)]['id'];this['logger'][_0x1cb079(0x14d)](_0x1cb079(0xc9)+_0x564424),this[_0x1cb079(0x16b)]['id']=_0x564424;const _0x1528a3=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x1cb079(0xd9)](this)(this[_0x1cb079(0x16b)]['id'])];this[_0x1cb079(0x116)]['redactionEnabled']&&_0x1528a3[_0x1cb079(0x15e)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x1cb079(0xd9)](this)(this['debuggee']['id'])),Promise[_0x1cb079(0x133)](_0x1528a3)[_0x1cb079(0x13f)](()=>{const _0x8064cd=_0x1cb079;this[_0x8064cd(0xce)]('registered',_0x564424),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x8064cd(0x194)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x8064cd(0x16a)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x557fa0?.[_0x8064cd(0xd1)],'f'),!this[_0x8064cd(0xe9)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x8064cd(0x17b)](this,0x0,this[_0x8064cd(0x116)]['fetchBreakpointsOnce'],_0x557fa0?.[_0x8064cd(0xd1)]);},_0x436020=>{_0x5db8f6(_0x436020);});});},_0x4fb53b*0x3e8)[_0x5cf4af(0x1b9)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x251677,_0x298e09,_0xa214a9){const _0x4255bd=a18_0x3a60cb;this[_0x4255bd(0x1a8)]['debug'](_0x4255bd(0x13b)+_0x251677+'\x20'+_0x298e09+'\x20'+_0xa214a9),!_0x298e09&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x15c3af=_0x4255bd;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x298e09&&assert(this[_0x15c3af(0xe9)]),this[_0x15c3af(0x1a8)][_0x15c3af(0xf8)](_0x15c3af(0xa9)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['listBreakpoints'](this[_0x15c3af(0x16b)],(_0x25e2fe,_0x2a8d63,_0x413e3a)=>{const _0x424fd6=_0x15c3af;if(_0x413e3a?.[_0x424fd6(0x185)]===0x194){this[_0x424fd6(0x1a8)][_0x424fd6(0x14d)](_0x424fd6(0x12f)),this[_0x424fd6(0xe9)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x424fd6(0x17b)](this);this[_0x424fd6(0x116)]['internal']?.[_0x424fd6(0xc0)]?this[_0x424fd6(0xce)](_0x424fd6(0x13e)):this['register']();return;}if(_0x25e2fe){if(this[_0x424fd6(0x116)]['internal']?.[_0x424fd6(0xc0)])this[_0x424fd6(0xce)](_0x424fd6(0xdd)),this[_0x424fd6(0x1a8)][_0x424fd6(0xb3)](_0x424fd6(0x12b)+_0x413e3a?.[_0x424fd6(0x185)]+_0x424fd6(0x1ac)+_0x25e2fe[_0x424fd6(0x132)]);else{const _0x35c5ab=(0x0,utils_1[_0x424fd6(0xed)])(_0x251677,this[_0x424fd6(0x116)][_0x424fd6(0x11a)][_0x424fd6(0xb7)]);this['logger']['error'](_0x424fd6(0x149)+_0x413e3a?.[_0x424fd6(0x185)]+_0x424fd6(0x1ac)+_0x25e2fe[_0x424fd6(0x132)]+_0x424fd6(0x10c)+_0x35c5ab+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x424fd6(0x17b)](this,_0x35c5ab,_0x298e09,_0xa214a9);}return;}this[_0x424fd6(0x1a8)][_0x424fd6(0xf8)]('\x09'+_0x413e3a['status']+_0x424fd6(0xa3));if(!_0x2a8d63){const _0x53451f=this[_0x424fd6(0x116)][_0x424fd6(0xca)];this['logger'][_0x424fd6(0xb3)](_0x424fd6(0x165)+_0x53451f+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x424fd6(0x17b)](this,_0x53451f,_0x298e09,_0xa214a9);return;}this['setCustomLogLevel'](_0x2a8d63['agentLogLevel']);if(_0x2a8d63[_0x424fd6(0x199)]){this[_0x424fd6(0x1a8)][_0x424fd6(0x14d)](_0x424fd6(0xb9)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x298e09,_0xa214a9);return;}if(_0x2a8d63[_0x424fd6(0xb6)]&&_0x2a8d63[_0x424fd6(0xb6)]!=='NOT_SET'){const _0xee485d=this['pipingManager'][_0x424fd6(0x11d)];_0xee485d!==_0x2a8d63[_0x424fd6(0xb6)]&&(this[_0x424fd6(0x1a8)][_0x424fd6(0xf8)]('Switching\x20globalPiping\x20status\x20from\x20'+_0xee485d+_0x424fd6(0x103)+_0x2a8d63[_0x424fd6(0xb6)]),this[_0x424fd6(0x19d)][_0x424fd6(0x11d)]=_0x2a8d63[_0x424fd6(0xb6)]);}if(_0x2a8d63[_0x424fd6(0xf6)]&&_0x2a8d63[_0x424fd6(0xa6)]!==this['collectLogRequestId']){this['collectLogRequestId']=_0x2a8d63['collectLogRequestId'];const _0x173776=this[_0x424fd6(0x116)][_0x424fd6(0xe8)][_0x424fd6(0xf5)]&&path[_0x424fd6(0xa0)](this[_0x424fd6(0x116)][_0x424fd6(0xe8)]['agentLogTargetDir'],agent_logger_1[_0x424fd6(0x196)]['AGENT_LOG_FILE']);_0x173776&&fs[_0x424fd6(0x169)](_0x173776)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x424fd6(0x19b)](this[_0x424fd6(0x16b)],_0x2a8d63[_0x424fd6(0xa6)],_0x173776)):this['logger'][_0x424fd6(0x14d)](_0x424fd6(0x175)+_0x2a8d63[_0x424fd6(0xa6)]+'\x20because\x20'+_0x424fd6(0xc8));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x424fd6(0xb2)]=_0x2a8d63[_0x424fd6(0xb2)]??[];const _0x305e7a=(_0x2a8d63[_0x424fd6(0x1ab)]||[])[_0x424fd6(0x143)](_0x1d8b29=>new stackdriver_1[(_0x424fd6(0x111))](_0x1d8b29))[_0x424fd6(0x1b0)](_0x1ff268=>{const _0x342976=_0x424fd6,_0x40829b=_0x1ff268[_0x342976(0x117)]??'CAPTURE';if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1ff268['id']])return![];if(_0x40829b!==_0x342976(0x1a1)&&_0x40829b!==_0x342976(0xc4))return this[_0x342976(0x1a8)][_0x342976(0x193)](_0x342976(0xdf),_0x40829b),_0x1ff268[_0x342976(0x185)]=new status_message_1[(_0x342976(0x190))](status_message_1[_0x342976(0x190)][_0x342976(0x173)],utils_1[_0x342976(0x17c)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x342976(0x17b)](this,_0x1ff268),![];return!![];}),_0x5e5284=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x424fd6(0x17b)](this);let _0x1e2748=_0x5e5284['length']>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x5e5284),_0x1e2748=_0x1e2748||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x424fd6(0x17b)](this,_0x305e7a),this[_0x424fd6(0xce)]('breakpoints_fetched',_0x305e7a[_0x424fd6(0x1b2)]);_0x1e2748&&this['logger'][_0x424fd6(0xf8)](formatBreakpoints(_0x424fd6(0x178),this[_0x424fd6(0x104)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x298e09?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x424fd6(0x194)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x424fd6(0x17b)](this,0x0,_0x298e09,_0xa214a9);return;},_0xa214a9);},_0x251677*0x3e8)[_0x4255bd(0x1b9)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x1728c9=a18_0x3a60cb;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1728c9(0x194)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3c6ef5){const _0x39afc1=a18_0x3a60cb,_0xfa92f5=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x39afc1(0x17b)](this,_0x3c6ef5);let _0xb117f=![];return _0x3c6ef5[_0x39afc1(0xfd)](_0x59b103=>{const _0xaac9a3=_0x39afc1;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x59b103['id']]&&!this[_0xaac9a3(0x104)][_0x59b103['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x59b103,_0x39ad4f=>{_0x39ad4f&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x59b103,!![],![]);}),_0xb117f=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xaac9a3(0xde)](_0x59b103['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xaac9a3(0x107)](_0x59b103['id'],_0x59b103[_0xaac9a3(0xfe)]),this[_0xaac9a3(0x19d)][_0xaac9a3(0xe7)](_0x59b103['id'],_0x59b103[_0xaac9a3(0xc3)]);}),(0x0,mapSubtract_1[_0x39afc1(0xf7)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0xfa92f5)['forEach'](_0x5bb6a9=>{const {id:_0x476cdd}=_0x5bb6a9;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x476cdd],_0xb117f=!![];}),(0x0,mapSubtract_1[_0x39afc1(0xf7)])(this[_0x39afc1(0x104)],_0xfa92f5)['forEach'](_0x41aea6=>{const _0x2c457e=_0x39afc1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2c457e(0x17b)](this,_0x41aea6,!![]),_0xb117f=!![];}),_0xb117f&&this[_0x39afc1(0x1a8)][_0x39afc1(0xf8)](formatBreakpoints(_0x39afc1(0x172),_0xfa92f5)),_0xb117f;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x3c6790){const _0x59b15a=a18_0x3a60cb;return Object[_0x59b15a(0x109)](_0x3c6790[_0x59b15a(0x143)](_0x34efad=>[_0x34efad['id'],_0x34efad]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x58812a,_0x165f7e){const _0xed2436=a18_0x3a60cb;this['logger'][_0xed2436(0x14d)](_0xed2436(0x180)+_0x58812a['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xed2436(0x10e)](_0x58812a['id']),this[_0xed2436(0x19d)][_0xed2436(0xd7)](_0x58812a['id']),delete this[_0xed2436(0x104)][_0x58812a['id']],_0x165f7e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xed2436(0xf2)](_0x58812a,_0x447ead=>{const _0xb40661=_0xed2436;if(_0x447ead)this[_0xb40661(0x1a8)][_0xb40661(0xb3)](_0x447ead);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x5bad2d,_0x397980){const _0x220150=a18_0x3a60cb;this[_0x220150(0x1a8)]['info'](_0x220150(0x105),this[_0x220150(0x157)](_0x5bad2d));if(!this[_0x220150(0x116)][_0x220150(0x163)]&&(_0x5bad2d['condition']||_0x5bad2d['expressions'])){this[_0x220150(0x1a8)][_0x220150(0xb3)](utils_1[_0x220150(0x17c)]['ALLOW_EXPRESSIONS_MESSAGE']['description']??''),_0x5bad2d[_0x220150(0x185)]=new status_message_1[(_0x220150(0x190))](status_message_1[_0x220150(0x190)][_0x220150(0x173)],utils_1[_0x220150(0x17c)][_0x220150(0xb8)],!![]),setImmediate(()=>{const _0x31081e=_0x220150;_0x397980(utils_1[_0x31081e(0x17c)][_0x31081e(0xb8)]);});return;}const _0x3c39b3=_0x5bad2d[_0x220150(0xef)]?Number(_0x5bad2d[_0x220150(0xef)]['seconds']):Date[_0x220150(0x1ae)]()/0x3e8,_0x392315=_0x5bad2d['expirationSeconds']??this[_0x220150(0x116)][_0x220150(0x197)];_0x5bad2d[_0x220150(0xd4)]=_0x3c39b3+_0x392315,_0x5bad2d[_0x220150(0x142)]?.[_0x220150(0xe1)]&&(_0x5bad2d[_0x220150(0x142)]['path']=path[_0x220150(0x18f)](_0x5bad2d[_0x220150(0x142)]['path']),path[_0x220150(0xc6)]===path[_0x220150(0x12e)][_0x220150(0xc6)]&&(_0x5bad2d[_0x220150(0x142)][_0x220150(0xe1)]=_0x5bad2d['location'][_0x220150(0xe1)][_0x220150(0x189)]('\x5c')[_0x220150(0xa0)](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x220150(0x158)](_0x5bad2d,_0x5bc2ff=>{const _0x112915=_0x220150;if(_0x5bc2ff){_0x397980(_0x5bc2ff);return;}this[_0x112915(0x1a8)][_0x112915(0x14d)](_0x112915(0xe0)+_0x5bad2d['id']),this[_0x112915(0x104)][_0x5bad2d['id']]=_0x5bad2d,_0x5bad2d[_0x112915(0x117)]===_0x112915(0xc4)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x112915(0x10b)](_0x5bad2d,(_0x54be12,_0x12ab7d)=>{const _0x121e70=_0x112915,_0x5b8378=_0x12ab7d[_0x121e70(0x143)](_0x246c94=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x121e70(0x17b)](this,_0x246c94)),_0x2e5058=(0x0,format_1['format'])(_0x54be12,_0x5b8378),_0x4802e2='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x121e70(0x1bc)](_0x2e5058)??_0x2e5058),_0x4c3ff6=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x121e70(0x125)](_0x4802e2,_0x5bad2d['id']);if(_0x4c3ff6){const _0x23510f=_0x4c3ff6[_0x121e70(0x132)],{isOutOfQuota:_0x5ddcdd}=_0x4c3ff6;let _0x204d60,_0x284fdb;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x121e70(0x134)]()&&!_0x5ddcdd&&(_0x204d60=_0x121e70(0xa4)+_0x54be12,_0x284fdb=_0x5b8378);this[_0x121e70(0x19d)][_0x121e70(0x121)](this['debuggee'],_0x5bad2d['id'],_0x23510f,_0x5bad2d[_0x121e70(0x140)],_0x204d60,_0x284fdb);if(_0x5ddcdd)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x1e052d=_0x121e70;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1e052d(0x15f)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x121e70(0x116)][_0x121e70(0x152)][_0x121e70(0x177)]*0x3e8),'f');else _0x23510f?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x121e70(0xe6)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5bad2d['id']],_0x3c5b38=>{const _0x29c54d=_0x112915;if(_0x3c5b38){this[_0x29c54d(0x1a8)]['error'](_0x3c5b38),_0x397980(_0x3c5b38);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x112915(0x1bb)](_0x5bad2d,_0x5769f7=>{const _0x512e8d=_0x112915;if(_0x5769f7){setImmediate(()=>{const _0x2dc60a=a18_0x5d10;this[_0x2dc60a(0x1a8)]['error'](_0x5769f7),_0x397980(_0x5769f7);});return;}this[_0x512e8d(0x1a8)][_0x512e8d(0x14d)](_0x512e8d(0x14c)+_0x5bad2d['id'],_0x5bad2d[_0x512e8d(0x142)]?.[_0x512e8d(0xe1)],_0x5bad2d[_0x512e8d(0x142)]?.[_0x512e8d(0xcc)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x512e8d(0x17b)](this,_0x5bad2d,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x512e8d(0x156)](_0x5bad2d['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x112915(0x17b)](this,_0x5bad2d);}),this['emit']('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x553939,_0x34ba00,_0x4d60ac=!![]){const _0x2da5dd=a18_0x3a60cb;if(_0x553939['status']?.[_0x2da5dd(0x17d)]){let _0x32d975=_0x553939[_0x2da5dd(0x185)]?.[_0x2da5dd(0x144)]?.[_0x2da5dd(0x13d)]||'';_0x553939[_0x2da5dd(0x185)]?.['description']?.[_0x2da5dd(0x18c)]&&(_0x32d975+=':\x20'+_0x553939[_0x2da5dd(0x185)]?.['description']?.[_0x2da5dd(0x18c)][_0x2da5dd(0x139)]()),this[_0x2da5dd(0x1a8)][_0x2da5dd(0x193)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x553939+_0x2da5dd(0xd6)+_0x32d975);}else this[_0x2da5dd(0x1a8)][_0x2da5dd(0x14d)](_0x2da5dd(0x127),this['stringifyBreakpointForInfoLog'](_0x553939));_0x34ba00&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x553939['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2da5dd(0x17b)](this,_0x553939,_0x4d60ac)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2da5dd(0x1ba)](this[_0x2da5dd(0x16b)],extend(!![],{},_0x553939));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x35fb25){const _0x31fcc3=a18_0x3a60cb;this[_0x31fcc3(0x1a8)][_0x31fcc3(0xf8)](_0x31fcc3(0x122)+_0x35fb25+_0x31fcc3(0x1b1));const _0x1929f9=extend(!![],{},_0x35fb25);_0x1929f9[_0x31fcc3(0x184)]=![],_0x1929f9[_0x31fcc3(0x185)]=new status_message_1[(_0x31fcc3(0x190))](status_message_1[_0x31fcc3(0x190)][_0x31fcc3(0x173)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x31fcc3(0x16b)],_0x1929f9);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x28441a){const _0x2a86b2=a18_0x3a60cb;this[_0x2a86b2(0x1a8)][_0x2a86b2(0x14d)]('rejecting\x20breakpoint\x20id\x20'+_0x28441a),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x28441a['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2a86b2(0x1ba)](this[_0x2a86b2(0x16b)],_0x28441a);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x40018f){_0x40018f['forEach'](_0xa604bc=>{const _0x2e98a2=a18_0x5d10;this[_0x2e98a2(0x1a8)][_0x2e98a2(0x14d)](_0x2e98a2(0xad)+_0xa604bc['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xa604bc['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2e98a2(0x17b)](this,_0xa604bc,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0xd70b80=a18_0x3a60cb,_0x2d1aa5=Date[_0xd70b80(0x1ae)]()/0x3e8;return Object[_0xd70b80(0xcd)](this[_0xd70b80(0x104)])[_0xd70b80(0x1b0)](_0x37e1a6=>_0x37e1a6[_0xd70b80(0xd4)]?_0x37e1a6[_0xd70b80(0xd4)]<_0x2d1aa5:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x4fbff6){const _0x564db2=a18_0x3a60cb,_0x5adfe3=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x564db2(0x159)](_0x4fbff6),_0x169178=_0x5adfe3[_0x564db2(0x162)],_0x3e0f82=_0x5adfe3[_0x564db2(0x16c)];_0x169178?.[_0x564db2(0x1b2)]&&this[_0x564db2(0x1a8)][_0x564db2(0xf8)](_0x564db2(0xac),_0x169178[_0x564db2(0xa0)]('\x0a\x09')),_0x3e0f82?.[_0x564db2(0x1b2)]&&this[_0x564db2(0x1a8)][_0x564db2(0xf8)](_0x564db2(0x186),_0x3e0f82[_0x564db2(0xa0)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x564db2(0x1c0))](_0x169178,_0x3e0f82,this[_0x564db2(0x116)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x300685){const _0xff501c=a18_0x3a60cb,_0x401bed=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xff501c(0xcf)](_0x300685);_0x401bed?.[_0xff501c(0x1b2)]&&this[_0xff501c(0x1a8)][_0xff501c(0xf8)]('Redactions:\x20\x0a\x09',_0x401bed[_0xff501c(0x143)](_0x520e8c=>_0xff501c(0xb1)+_0x520e8c[_0xff501c(0xdb)]+_0xff501c(0x106)+_0x520e8c['type']+_0xff501c(0x181)+_0x520e8c[_0xff501c(0x145)]+_0xff501c(0x183)+_0x520e8c[_0xff501c(0x130)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0xff501c(0x1bd))](this[_0xff501c(0x1a8)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0x401bed);},_Debuglet_stringify=function _Debuglet_stringify(_0x877887){const _0x1b77c1=a18_0x3a60cb;if(!_0x877887)return JSON[_0x1b77c1(0x137)](_0x877887,(_0x58410a,_0x4afef4)=>_0x4afef4===undefined?_0x1b77c1(0xff):_0x4afef4);if(Array[_0x1b77c1(0x124)](_0x877887)){const _0x5d9e7f=_0x877887[_0x1b77c1(0x143)](_0x40f7f2=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1b77c1(0x17b)](this,_0x40f7f2));return'['+_0x5d9e7f[_0x1b77c1(0xa0)](',\x20')+']';}if(typeof _0x877887===_0x1b77c1(0x1af)){const _0x47e977=Object['entries'](_0x877887)['map'](([_0x46e7e6,_0x448d89])=>{const _0x21f376=_0x1b77c1,_0x4554d1=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x21f376(0x13a)](_0x46e7e6)?redaction_manager_1[_0x21f376(0x102)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x21f376(0x17b)](this,_0x448d89);return JSON[_0x21f376(0x137)](_0x46e7e6)+':\x20'+_0x4554d1;})[_0x1b77c1(0xa0)](',\x20');return'{'+_0x47e977+'}';}return JSON['stringify'](_0x877887);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x53a55d=a19_0x484c;function a19_0x484c(_0xfe1837,_0x2975eb){const _0x30e36b=a19_0x1e3b();return a19_0x484c=function(_0x5fada1,_0x3dc5f3){_0x5fada1=_0x5fada1-0xf6;let _0x1e3b38=_0x30e36b[_0x5fada1];return _0x1e3b38;},a19_0x484c(_0xfe1837,_0x2975eb);}(function(_0x197e9e,_0x328ae1){const _0x305a58=a19_0x484c,_0x2de5d3=_0x197e9e();while(!![]){try{const _0x24d9d4=parseInt(_0x305a58(0xfc))/0x1*(parseInt(_0x305a58(0x108))/0x2)+parseInt(_0x305a58(0x127))/0x3+parseInt(_0x305a58(0x107))/0x4+-parseInt(_0x305a58(0x134))/0x5*(-parseInt(_0x305a58(0x124))/0x6)+parseInt(_0x305a58(0x120))/0x7+-parseInt(_0x305a58(0x132))/0x8*(parseInt(_0x305a58(0x12e))/0x9)+parseInt(_0x305a58(0x128))/0xa*(-parseInt(_0x305a58(0x113))/0xb);if(_0x24d9d4===_0x328ae1)break;else _0x2de5d3['push'](_0x2de5d3['shift']());}catch(_0x34fdbe){_0x2de5d3['push'](_0x2de5d3['shift']());}}}(a19_0x1e3b,0xd8233));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require('assert');var OS;(function(_0x54d947){const _0x305207=a19_0x484c;_0x54d947['Linux']='linux',_0x54d947[_0x305207(0x111)]=_0x305207(0x115),_0x54d947[_0x305207(0x11d)]=_0x305207(0x10f);}(OS||(OS={})));function a19_0x1e3b(){const _0x47bbd9=['search','utf-8','procArch','systemTotalMemoryBytes','error','Linux','agentOS','apply','cpuCoreCount','VERSION_ID','2291fDpmyi','readFileSync','node','Node.js\x20','_cachedOsRelease','get','platform','isInK8s','osVersion','arch','EnvironmentMetadata','1674380vfVFId','416aDFVPZ','split','versions','trim','arm','hostname','totalmem','mac','getProps','Windows','forEach','99nNHUPS','isInDocker','windows','host','cpus','warn','constructor','runtimeEnvironmentVersion','pid','runtimeEnvironmentInfo','MacOS','_osRelease','/etc/os-release','9130632duHsry','version','x32','/.dockerenv','18OyzkXr','release','x64','1643208rRenUh','2755810tntIEh','replace','arm64','toString','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','\x20on\x20','18pKNATI','(((.+)+)+)+$','KUBERNETES_SERVICE_HOST','length','2550904bujaNx','_logger','2093365HyGJSE'];a19_0x1e3b=function(){return _0x47bbd9;};return a19_0x1e3b();}var ProcArch;(function(_0x2ea0a1){const _0x5d79b3=a19_0x484c,_0x2b897d=(function(){let _0x5eafcf=!![];return function(_0x483c75,_0x52c896){const _0x4e220b=_0x5eafcf?function(){const _0x24d01f=a19_0x484c;if(_0x52c896){const _0x3c4c09=_0x52c896[_0x24d01f(0xf9)](_0x483c75,arguments);return _0x52c896=null,_0x3c4c09;}}:function(){};return _0x5eafcf=![],_0x4e220b;};}()),_0x5b9bfe=_0x2b897d(this,function(){const _0xfe11bc=a19_0x484c;return _0x5b9bfe[_0xfe11bc(0x12b)]()[_0xfe11bc(0x135)](_0xfe11bc(0x12f))[_0xfe11bc(0x12b)]()[_0xfe11bc(0x119)](_0x5b9bfe)[_0xfe11bc(0x135)](_0xfe11bc(0x12f));});_0x5b9bfe(),_0x2ea0a1[_0x5d79b3(0x126)]=_0x5d79b3(0x126),_0x2ea0a1[_0x5d79b3(0x122)]='x32',_0x2ea0a1['arm']=_0x5d79b3(0x10c),_0x2ea0a1[_0x5d79b3(0x12a)]='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x53a55d(0xf7)],'win32':OS[a19_0x53a55d(0x111)],'darwin':OS[a19_0x53a55d(0x11d)]},ArchToProcArchMap={'x32':ProcArch[a19_0x53a55d(0x122)],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x53a55d(0x10c)],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0x10124d){const _0x54553b=a19_0x53a55d;assert(_0x10124d!==null),this[_0x54553b(0x133)]=_0x10124d;}get[a19_0x53a55d(0x11a)](){const _0x27f3f2=a19_0x53a55d;try{const _0x81d9e6=process[_0x27f3f2(0x10a)][_0x27f3f2(0xfe)]['match'](/(\d+\.\d+)\..*/);if(_0x81d9e6)return _0x81d9e6[0x1];}catch(_0x4c8058){this['_logger'][_0x27f3f2(0xf6)](_0x4c8058);}return;}get[a19_0x53a55d(0x11c)](){const _0x5302a8=a19_0x53a55d;return _0x5302a8(0xff)+process[_0x5302a8(0x121)]+_0x5302a8(0x12d)+(0x0,os_1['platform'])()+'\x20'+(0x0,os_1[_0x5302a8(0x125)])();}get[a19_0x53a55d(0x11b)](){return process['pid']['toString']();}get['procArch'](){const _0x32bc64=a19_0x53a55d;return ArchToProcArchMap[process[_0x32bc64(0x105)]]||process[_0x32bc64(0x105)];}get[a19_0x53a55d(0xfa)](){const _0x1440f8=a19_0x53a55d;return(0x0,os_1[_0x1440f8(0x117)])()[_0x1440f8(0x131)];}get[a19_0x53a55d(0x138)](){const _0x3889f3=a19_0x53a55d;return(0x0,os_1[_0x3889f3(0x10e)])();}get[a19_0x53a55d(0x116)](){const _0xdfc7cf=a19_0x53a55d;return(0x0,os_1[_0xdfc7cf(0x10d)])();}get['agentOS'](){const _0x3dda86=a19_0x53a55d;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x3dda86(0x102)])();}get[a19_0x53a55d(0x104)](){const _0x12220b=a19_0x53a55d;try{if(this[_0x12220b(0xf8)]===OS[_0x12220b(0xf7)])return this['_osRelease'][_0x12220b(0x101)](_0x12220b(0xfb))??(0x0,os_1[_0x12220b(0x125)])();return(0x0,os_1[_0x12220b(0x125)])();}catch(_0x1b0510){this[_0x12220b(0x133)][_0x12220b(0xf6)](_0x1b0510);}return;}get['linuxDistroName'](){const _0x4f55c1=a19_0x53a55d;return this['agentOS']===OS[_0x4f55c1(0xf7)]&&this[_0x4f55c1(0x11e)][_0x4f55c1(0x101)]('ID')||'';}get[a19_0x53a55d(0x114)](){const _0x17963b=a19_0x53a55d;return this[_0x17963b(0xf8)]===OS[_0x17963b(0xf7)]?(0x0,fs_1['existsSync'])(_0x17963b(0x123)):![];}get[a19_0x53a55d(0x103)](){const _0xd484f9=a19_0x53a55d;return!!process['env'][_0xd484f9(0x130)];}get[a19_0x53a55d(0x11e)](){const _0x2237ef=a19_0x53a55d;if(!this[_0x2237ef(0x100)]){this['_cachedOsRelease']=new Map();try{if(this[_0x2237ef(0xf8)]===OS[_0x2237ef(0xf7)]){const _0x18b9ed=(0x0,fs_1[_0x2237ef(0xfd)])(_0x2237ef(0x11f),_0x2237ef(0x136));_0x18b9ed[_0x2237ef(0x109)](/\r?\n/)[_0x2237ef(0x112)](_0x368f24=>{const _0x1661b6=_0x2237ef,[_0x58f831,_0x3a1465]=_0x368f24[_0x1661b6(0x10b)]()[_0x1661b6(0x109)]('=');this['_cachedOsRelease']?.['set'](_0x58f831,_0x3a1465?.[_0x1661b6(0x129)](/^"|"$/g,'')||'');});}}catch(_0x942287){this[_0x2237ef(0x133)][_0x2237ef(0x118)](_0x2237ef(0x12c),_0x942287);}}return this[_0x2237ef(0x100)];}[a19_0x53a55d(0x110)](){const _0x376921=a19_0x53a55d;return{'runtimeEnvironmentVersion':this[_0x376921(0x11a)],'runtimeEnvironmentInfo':this[_0x376921(0x11c)],'pid':this[_0x376921(0x11b)],'cpuCoreCount':this[_0x376921(0xfa)],'systemTotalMemoryBytes':this[_0x376921(0x138)],'host':this[_0x376921(0x116)],'agentOS':this[_0x376921(0xf8)],'osVersion':this['osVersion'],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x376921(0x114)],'isInK8s':this[_0x376921(0x103)],'procArch':this[_0x376921(0x137)]};}}exports[a19_0x53a55d(0x106)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x515af1=a20_0x1d0b;(function(_0x3596df,_0x4b1b67){const _0xbf4400=a20_0x1d0b,_0x4da92c=_0x3596df();while(!![]){try{const _0x4fdc20=-parseInt(_0xbf4400(0xf2))/0x1*(parseInt(_0xbf4400(0xd3))/0x2)+parseInt(_0xbf4400(0xeb))/0x3*(parseInt(_0xbf4400(0xe0))/0x4)+-parseInt(_0xbf4400(0xde))/0x5*(parseInt(_0xbf4400(0xe3))/0x6)+-parseInt(_0xbf4400(0xdf))/0x7+-parseInt(_0xbf4400(0xe7))/0x8*(-parseInt(_0xbf4400(0xd5))/0x9)+parseInt(_0xbf4400(0xef))/0xa+-parseInt(_0xbf4400(0xe4))/0xb;if(_0x4fdc20===_0x4b1b67)break;else _0x4da92c['push'](_0x4da92c['shift']());}catch(_0x93448f){_0x4da92c['push'](_0x4da92c['shift']());}}}(a20_0x75dd,0xa8662));const a20_0x57ca1b=(function(){let _0x1b06c8=!![];return function(_0x266193,_0x2fa7a9){const _0xbd0278=_0x1b06c8?function(){const _0x34f2d8=a20_0x1d0b;if(_0x2fa7a9){const _0x2de23f=_0x2fa7a9[_0x34f2d8(0xd9)](_0x266193,arguments);return _0x2fa7a9=null,_0x2de23f;}}:function(){};return _0x1b06c8=![],_0xbd0278;};}()),a20_0x5a065f=a20_0x57ca1b(this,function(){const _0x25de8d=a20_0x1d0b;return a20_0x5a065f[_0x25de8d(0xee)]()['search'](_0x25de8d(0xf1))[_0x25de8d(0xee)]()[_0x25de8d(0xd1)](a20_0x5a065f)[_0x25de8d(0xe9)](_0x25de8d(0xf1));});function a20_0x75dd(){const _0x145663=['sep','buildIndex','6yqOsvb','6456692Rifmli','findShortestFuzzyMatches','substr','11576PpHURX','fileIndex','search','length','11961ASnZKT','includes','get','toString','235820NRnlVo','startsWith','(((.+)+)+)+$','1544DgdYdc','defineProperty','add','size','constructor','push','124NtLexW','generateSubPaths','2511WvsqUv','FileIndex','_fileStats','stripStartingSep','apply','has','__esModule','keys','filter','514895RRccSu','840315xhbPlB','1172mkcWcI'];a20_0x75dd=function(){return _0x145663;};return a20_0x75dd();}a20_0x5a065f();'use strict';Object[a20_0x515af1(0xf3)](exports,a20_0x515af1(0xdb),{'value':!![]}),exports[a20_0x515af1(0xd6)]=void 0x0;const path=require('path');function a20_0x1d0b(_0x405b0f,_0x5d072e){const _0x5b9cca=a20_0x75dd();return a20_0x1d0b=function(_0x5a065f,_0x57ca1b){_0x5a065f=_0x5a065f-0xd1;let _0x75dd07=_0x5b9cca[_0x5a065f];return _0x75dd07;},a20_0x1d0b(_0x405b0f,_0x5d072e);}class FileIndex{constructor(_0x563963){const _0x1bc5b7=a20_0x515af1;this[_0x1bc5b7(0xd7)]=_0x563963,this['fileIndex']=new Map();}static['fromFileStats'](_0x1ad32d){const _0x22e865=a20_0x515af1,_0x59a9ce=new FileIndex(_0x1ad32d);return _0x59a9ce['buildIndex'](Object[_0x22e865(0xdc)](_0x1ad32d)||[]),_0x59a9ce;}static['fromFileList'](_0x251ae3){const _0x32f0fc=a20_0x515af1,_0x4d537e=new FileIndex(undefined);return _0x4d537e[_0x32f0fc(0xe2)](_0x251ae3||[]),_0x4d537e;}get['fileStats'](){const _0x35e40f=a20_0x515af1;return this[_0x35e40f(0xd7)]??{};}[a20_0x515af1(0xe5)](_0x3048fd){const _0x4744e9=a20_0x515af1,_0x2c9f58=this[_0x4744e9(0xe9)](_0x3048fd);if(!_0x2c9f58||_0x2c9f58[_0x4744e9(0xf5)]===0x0)return[];const _0x3070cc=[..._0x2c9f58]['map'](_0x2d6767=>_0x2d6767[_0x4744e9(0xea)]),_0x4e5de0=Math['min'](..._0x3070cc),_0x178b36=[..._0x2c9f58][_0x4744e9(0xdd)](_0x1d406c=>_0x1d406c[_0x4744e9(0xea)]===_0x4e5de0);return _0x178b36;}[a20_0x515af1(0xe2)](_0x378dc9){const _0x48ac80=a20_0x515af1;for(const _0x5595eb of _0x378dc9){for(const _0x2170b1 of this['generateSubPaths'](_0x5595eb)){let _0x51ddc2=this['fileIndex'][_0x48ac80(0xed)](_0x2170b1);_0x51ddc2===undefined&&(_0x51ddc2=new Set(),this[_0x48ac80(0xe8)]['set'](_0x2170b1,_0x51ddc2)),_0x51ddc2[_0x48ac80(0xf4)](_0x5595eb);}}}[a20_0x515af1(0xd4)](_0x3fca95){const _0x13cb24=a20_0x515af1;_0x3fca95=this[_0x13cb24(0xd8)](_0x3fca95);const _0x397c36=[_0x3fca95];while(_0x3fca95[_0x13cb24(0xec)](path[_0x13cb24(0xe1)])){_0x3fca95=_0x3fca95['substring'](_0x3fca95['indexOf'](path['sep'])+path[_0x13cb24(0xe1)][_0x13cb24(0xea)],_0x3fca95[_0x13cb24(0xea)]),_0x397c36[_0x13cb24(0xd2)](_0x3fca95);}return _0x397c36;}[a20_0x515af1(0xe9)](_0x1a88cb){const _0x1f5e15=a20_0x515af1;if(!_0x1a88cb)return undefined;_0x1a88cb=this['stripStartingSep'](_0x1a88cb);for(const _0x3eb59a of this[_0x1f5e15(0xd4)](_0x1a88cb)){if(this[_0x1f5e15(0xe8)][_0x1f5e15(0xda)](_0x3eb59a))return this['fileIndex'][_0x1f5e15(0xed)](_0x3eb59a);}return undefined;}[a20_0x515af1(0xd8)](_0x1135dd){const _0x1af838=a20_0x515af1;if(_0x1135dd&&(_0x1135dd[_0x1af838(0xf0)]('/')||_0x1135dd['startsWith']('\x5c')))return _0x1135dd[_0x1af838(0xe6)](0x1);return _0x1135dd;}}exports[a20_0x515af1(0xd6)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x5014e2=a21_0x307d;(function(_0x151c68,_0x525ecb){const _0xe5aac3=a21_0x307d,_0x5cd6f1=_0x151c68();while(!![]){try{const _0x2cd8e5=parseInt(_0xe5aac3(0x112))/0x1*(-parseInt(_0xe5aac3(0x116))/0x2)+-parseInt(_0xe5aac3(0x117))/0x3+-parseInt(_0xe5aac3(0x119))/0x4*(parseInt(_0xe5aac3(0x11e))/0x5)+-parseInt(_0xe5aac3(0x122))/0x6+-parseInt(_0xe5aac3(0x128))/0x7+-parseInt(_0xe5aac3(0x118))/0x8*(-parseInt(_0xe5aac3(0x114))/0x9)+parseInt(_0xe5aac3(0x12a))/0xa;if(_0x2cd8e5===_0x525ecb)break;else _0x5cd6f1['push'](_0x5cd6f1['shift']());}catch(_0x2ce2a3){_0x5cd6f1['push'](_0x5cd6f1['shift']());}}}(a21_0x6796,0xd96bf));const a21_0x39fd49=(function(){let _0x586245=!![];return function(_0x5df24b,_0x1a18a4){const _0x27bb4c=_0x586245?function(){const _0x19a204=a21_0x307d;if(_0x1a18a4){const _0xb3de6a=_0x1a18a4[_0x19a204(0x11a)](_0x5df24b,arguments);return _0x1a18a4=null,_0xb3de6a;}}:function(){};return _0x586245=![],_0x27bb4c;};}()),a21_0x1c953b=a21_0x39fd49(this,function(){const _0xae3fba=a21_0x307d;return a21_0x1c953b[_0xae3fba(0x127)]()['search'](_0xae3fba(0x121))[_0xae3fba(0x127)]()[_0xae3fba(0x123)](a21_0x1c953b)[_0xae3fba(0x125)]('(((.+)+)+)+$');});a21_0x1c953b();'use strict';function a21_0x307d(_0x29f822,_0x20772a){const _0xaf01d4=a21_0x6796();return a21_0x307d=function(_0x1c953b,_0x39fd49){_0x1c953b=_0x1c953b-0x110;let _0x67964=_0xaf01d4[_0x1c953b];return _0x67964;},a21_0x307d(_0x29f822,_0x20772a);}Object[a21_0x5014e2(0x11b)](exports,a21_0x5014e2(0x12b),{'value':!![]}),exports[a21_0x5014e2(0x11c)]=void 0x0;const path=require('path');class ScanResultsImpl{constructor(_0x321507,_0x581c36,_0x274c5f){const _0x48c390=a21_0x5014e2;this[_0x48c390(0x11d)]=_0x321507,this[_0x48c390(0x11f)]=_0x581c36,this[_0x48c390(0x110)]=_0x274c5f;}['errors'](){const _0x2d0ed2=a21_0x5014e2;return this[_0x2d0ed2(0x11f)];}[a21_0x5014e2(0x129)](){return this['stats'];}[a21_0x5014e2(0x111)](_0x43fd17){const _0x5306bf=a21_0x5014e2,_0x1ae10c={};return Object['keys'](this['stats'])[_0x5306bf(0x115)](_0x326ced=>{const _0xbc6fbc=_0x5306bf;_0x43fd17[_0xbc6fbc(0x126)](_0x326ced)&&(_0x1ae10c[_0x326ced]=this[_0xbc6fbc(0x11d)][_0x326ced]);}),_0x1ae10c;}[a21_0x5014e2(0x120)](_0x390c6b,_0x2a75dc){const _0xef75ed=a21_0x5014e2;return _0x2a75dc=path['normalize'](_0x2a75dc+path['sep']),Object[_0xef75ed(0x113)](this[_0xef75ed(0x11d)])['filter'](_0x249fc8=>_0x249fc8&&_0x390c6b[_0xef75ed(0x126)](_0x249fc8))['map'](_0x486396=>path['normalize'](_0x486396)[_0xef75ed(0x124)](_0x2a75dc,''));}}function a21_0x6796(){const _0x2581a9=['__esModule','hash','selectStats','64636ATFNhj','keys','50175eXjonx','forEach','34IHDajX','2799240WdBSke','1096qpotmN','4bIVigT','apply','defineProperty','ScanResultsImpl','stats','8870155bCEozg','errorMap','selectFiles','(((.+)+)+)+$','5650278qlzXdG','constructor','replace','search','test','toString','2517739cGRhBA','all','52340970nRTaOc'];a21_0x6796=function(){return _0x2581a9;};return a21_0x6796();}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x46288f=a22_0x3865;(function(_0x32326b,_0x454dcb){const _0x48aa86=a22_0x3865,_0x4309bb=_0x32326b();while(!![]){try{const _0x2fa237=parseInt(_0x48aa86(0x183))/0x1*(-parseInt(_0x48aa86(0x162))/0x2)+parseInt(_0x48aa86(0x152))/0x3*(-parseInt(_0x48aa86(0x153))/0x4)+parseInt(_0x48aa86(0x16e))/0x5*(-parseInt(_0x48aa86(0x175))/0x6)+-parseInt(_0x48aa86(0x171))/0x7*(parseInt(_0x48aa86(0x18b))/0x8)+-parseInt(_0x48aa86(0x151))/0x9*(parseInt(_0x48aa86(0x16a))/0xa)+parseInt(_0x48aa86(0x156))/0xb+parseInt(_0x48aa86(0x155))/0xc;if(_0x2fa237===_0x454dcb)break;else _0x4309bb['push'](_0x4309bb['shift']());}catch(_0x59bd5f){_0x4309bb['push'](_0x4309bb['shift']());}}}(a22_0x23f1,0x5d731));function a22_0x23f1(){const _0x414d18=['hasReadAccess','basename','__esModule','from','digest','statsForFile','(((.+)+)+)+$','add','361132CgSQir','file','test','computeStats','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','length','hash','hex','1616MVDPxQ','ScanResultsImpl','9rrLhpt','6AjBjLq','942256ItlwLu','error','23080116QHvSBB','249898hVeRBJ','push','./scan-results','pipe','Scanner','directory','defineProperty','Specified\x20extraPaths\x20does\x20not\x20exist!','join','update','path','sort','4jqCfpO','split','findit2','search','warn','node_modules','logger','can\x27t\x20access\x20path:\x20[','1303770qMvdxc','findFiles','accessSync','toString','5OGsfDK','createHash','open','5285NhYpwC','Indexing\x20files\x20in\x20','set','resolve','522078HYYnNX','sha1','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','SHA1-','addFilesFromDir','EMPTY-no-js-files'];a22_0x23f1=function(){return _0x414d18;};return a22_0x23f1();}const a22_0x39a35e=(function(){let _0xf973bc=!![];return function(_0x49d930,_0x499e7c){const _0x6d47fe=_0xf973bc?function(){if(_0x499e7c){const _0x32f5ea=_0x499e7c['apply'](_0x49d930,arguments);return _0x499e7c=null,_0x32f5ea;}}:function(){};return _0xf973bc=![],_0x6d47fe;};}()),a22_0x2c6ac2=a22_0x39a35e(this,function(){const _0x5b3fdf=a22_0x3865;return a22_0x2c6ac2[_0x5b3fdf(0x16d)]()[_0x5b3fdf(0x165)](_0x5b3fdf(0x181))[_0x5b3fdf(0x16d)]()['constructor'](a22_0x2c6ac2)['search'](_0x5b3fdf(0x181));});a22_0x2c6ac2();'use strict';Object[a22_0x46288f(0x15c)](exports,a22_0x46288f(0x17d),{'value':!![]}),exports[a22_0x46288f(0x15a)]=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require(a22_0x46288f(0x160)),scan_results_1=require(a22_0x46288f(0x158));class Scanner{constructor(_0x3709c8){const _0x1e1098=a22_0x46288f;this[_0x1e1098(0x168)]=_0x3709c8;}async['scan'](_0x5e00ed,_0x316330,_0x195866,_0x21a63b){const _0x4b03af=a22_0x46288f,_0x198ab7=await this[_0x4b03af(0x16b)](_0x5e00ed,_0x316330,_0x21a63b);return this[_0x4b03af(0x186)](_0x198ab7,_0x195866);}async[a22_0x46288f(0x186)](_0x594a88,_0x46f197){const _0x598699=a22_0x46288f;if(_0x594a88[_0x598699(0x188)]===0x0)return new scan_results_1[(_0x598699(0x150))]({},new Map(),_0x598699(0x17a));const _0x3ce69a=[],_0x1f3b14={},_0x598ca5=new Map();for(const _0x12097c of _0x594a88){try{const _0x22f5f2=await this[_0x598699(0x180)](_0x12097c,!_0x46f197);!_0x46f197&&_0x3ce69a[_0x598699(0x157)](_0x22f5f2[_0x598699(0x189)]),_0x1f3b14[_0x12097c]=_0x22f5f2;}catch(_0x2805b2){_0x598ca5[_0x598699(0x173)](_0x12097c,_0x2805b2);}}let _0x3bad2a;if(!_0x46f197){const _0x4f6bad=_0x3ce69a[_0x598699(0x161)]()[_0x598699(0x15e)](),_0x57b9ac=crypto[_0x598699(0x16f)](_0x598699(0x176))['update'](_0x4f6bad)[_0x598699(0x17f)](_0x598699(0x18a));_0x3bad2a=_0x598699(0x178)+_0x57b9ac;}else _0x3bad2a=_0x46f197;return new scan_results_1[(_0x598699(0x150))](_0x1f3b14,_0x598ca5,_0x3bad2a);}async['findFiles'](_0x587064,_0x20e1d9,_0x1519ff){const _0x5070b8=a22_0x46288f,_0x1d0180=new Set();await this[_0x5070b8(0x179)](_0x1d0180,_0x587064,_0x20e1d9);for(const _0x226295 of _0x1519ff??[]){if(_0x226295){const _0x1c5283=path[_0x5070b8(0x174)](_0x226295);try{await this['addFilesFromDir'](_0x1d0180,_0x1c5283,_0x20e1d9);}catch(_0x3ffa9b){this[_0x5070b8(0x168)][_0x5070b8(0x154)](_0x5070b8(0x15d),_0x3ffa9b);}}}return Array[_0x5070b8(0x17e)](_0x1d0180);}static[a22_0x46288f(0x17b)](_0x55e038){const _0x27d6b3=a22_0x46288f;try{return fs[_0x27d6b3(0x16c)](_0x55e038,fs['constants']['R_OK']),!![];}catch{return![];}}async[a22_0x46288f(0x179)](_0x3b9e92,_0x20309f,_0x48e836){return new Promise((_0x3594da,_0x54f386)=>{const _0x26ffa7=a22_0x3865;let _0x5360be;if(!_0x20309f){_0x54f386(new Error(_0x26ffa7(0x187)));return;}this[_0x26ffa7(0x168)]['info'](_0x26ffa7(0x172)+path[_0x26ffa7(0x174)](_0x20309f));const _0x46953d=findit(_0x20309f);_0x46953d['on']('error',_0x3fd16d=>{_0x5360be=_0x3fd16d;return;}),_0x46953d['on'](_0x26ffa7(0x15b),(_0x47e3e1,_0x5acac5,_0x277500)=>{const _0x51e497=_0x26ffa7,_0xcc9a20=path[_0x51e497(0x17c)](_0x47e3e1);!Scanner[_0x51e497(0x17b)](_0x47e3e1)&&(this[_0x51e497(0x168)][_0x51e497(0x166)](_0x51e497(0x169)+_0x47e3e1+_0x51e497(0x177)),_0x277500()),(_0xcc9a20==='.git'||_0xcc9a20===_0x51e497(0x167))&&(!path['resolve'](_0x20309f)['startsWith'](path[_0x51e497(0x174)](_0x47e3e1))&&_0x277500());}),_0x46953d['on'](_0x26ffa7(0x184),_0x1a1e6=>{const _0x2b21a1=_0x26ffa7;_0x48e836[_0x2b21a1(0x185)](_0x1a1e6)&&_0x3b9e92[_0x2b21a1(0x182)](_0x1a1e6);}),_0x46953d['on']('end',()=>{_0x5360be?_0x54f386(_0x5360be):_0x3594da();});});}async['statsForFile'](_0x5f5ad1,_0x753e6f){return new Promise((_0x26b77e,_0x539f87)=>{const _0x299a24=a22_0x3865,_0x1a7b68=fs['createReadStream'](_0x5f5ad1);_0x1a7b68['on'](_0x299a24(0x154),_0x1036f1=>{_0x539f87(_0x1036f1);}),_0x1a7b68['on'](_0x299a24(0x170),()=>{const _0x58fe98=_0x299a24;let _0xbebcac;_0x753e6f&&(_0xbebcac=crypto[_0x58fe98(0x16f)](_0x58fe98(0x176)));let _0x4dc1bb=0x0,_0x34fd95;const _0xfd066d=_0x1a7b68[_0x58fe98(0x159)](split());_0xfd066d['on'](_0x58fe98(0x154),_0x4efe3c=>{_0x34fd95=_0x4efe3c;}),_0xfd066d['on']('data',_0x375076=>{const _0x14eab5=_0x58fe98;_0x753e6f&&_0xbebcac[_0x14eab5(0x15f)](_0x375076),_0x4dc1bb++;}),_0xfd066d['on']('end',()=>{const _0x242e84=_0x58fe98;if(_0x34fd95)_0x539f87(_0x34fd95);else{const _0x11561a=_0x753e6f?_0xbebcac[_0x242e84(0x17f)](_0x242e84(0x18a)):undefined;_0x26b77e({'hash':_0x11561a,'lines':_0x4dc1bb});}});});});}}exports['Scanner']=Scanner;function a22_0x3865(_0x5e6419,_0x593b98){const _0x5b1f9e=a22_0x23f1();return a22_0x3865=function(_0x2c6ac2,_0x39a35e){_0x2c6ac2=_0x2c6ac2-0x150;let _0x23f1e6=_0x5b1f9e[_0x2c6ac2];return _0x23f1e6;},a22_0x3865(_0x5e6419,_0x593b98);}const findit=require(a22_0x46288f(0x164)),split=require(a22_0x46288f(0x163));
|