lightrun 1.86.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 +2 -2
|
@@ -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
|
-
const
|
|
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
|
-
const
|
|
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_0x2f992b=a18_0x3410;(function(_0x3550dc,_0x3970e6){const _0x38bd1c=a18_0x3410,_0x26a1dd=_0x3550dc();while(!![]){try{const _0x1775fb=parseInt(_0x38bd1c(0x9c))/0x1+parseInt(_0x38bd1c(0x149))/0x2+-parseInt(_0x38bd1c(0xc3))/0x3+-parseInt(_0x38bd1c(0x177))/0x4+parseInt(_0x38bd1c(0x146))/0x5+parseInt(_0x38bd1c(0x112))/0x6+parseInt(_0x38bd1c(0x17c))/0x7*(-parseInt(_0x38bd1c(0xfe))/0x8);if(_0x1775fb===_0x3970e6)break;else _0x26a1dd['push'](_0x26a1dd['shift']());}catch(_0x988412){_0x26a1dd['push'](_0x26a1dd['shift']());}}}(a18_0x2797,0x2df90));const a18_0xeedf1d=(function(){let _0x5f3561=!![];return function(_0x367869,_0x1eb189){const _0x48a84b=_0x5f3561?function(){const _0x3d881c=a18_0x3410;if(_0x1eb189){const _0x2ab2e0=_0x1eb189[_0x3d881c(0x144)](_0x367869,arguments);return _0x1eb189=null,_0x2ab2e0;}}:function(){};return _0x5f3561=![],_0x48a84b;};}()),a18_0x4428bd=a18_0xeedf1d(this,function(){const _0x154f1f=a18_0x3410;return a18_0x4428bd['toString']()[_0x154f1f(0xf5)](_0x154f1f(0xe4))['toString']()[_0x154f1f(0xf7)](a18_0x4428bd)['search']('(((.+)+)+)+$');});a18_0x4428bd();'use strict';var __classPrivateFieldSet=this&&this[a18_0x2f992b(0x101)]||function(_0x1eae32,_0x25045a,_0x5e7fb3,_0x30c5a5,_0x536e99){const _0x25918e=a18_0x2f992b;if(_0x30c5a5==='m')throw new TypeError(_0x25918e(0xfa));if(_0x30c5a5==='a'&&!_0x536e99)throw new TypeError(_0x25918e(0x100));if(typeof _0x25045a===_0x25918e(0xb4)?_0x1eae32!==_0x25045a||!_0x536e99:!_0x25045a['has'](_0x1eae32))throw new TypeError(_0x25918e(0x11e));return _0x30c5a5==='a'?_0x536e99[_0x25918e(0x135)](_0x1eae32,_0x5e7fb3):_0x536e99?_0x536e99[_0x25918e(0x150)]=_0x5e7fb3:_0x25045a['set'](_0x1eae32,_0x5e7fb3),_0x5e7fb3;},__classPrivateFieldGet=this&&this[a18_0x2f992b(0x17a)]||function(_0xb44d2b,_0x1dfba1,_0x567301,_0x3aaee3){const _0x19aeac=a18_0x2f992b;if(_0x567301==='a'&&!_0x3aaee3)throw new TypeError(_0x19aeac(0xbe));if(typeof _0x1dfba1===_0x19aeac(0xb4)?_0xb44d2b!==_0x1dfba1||!_0x3aaee3:!_0x1dfba1[_0x19aeac(0x16e)](_0xb44d2b))throw new TypeError(_0x19aeac(0xe9));return _0x567301==='m'?_0x3aaee3:_0x567301==='a'?_0x3aaee3[_0x19aeac(0x135)](_0xb44d2b):_0x3aaee3?_0x3aaee3[_0x19aeac(0x150)]:_0x1dfba1[_0x19aeac(0xcf)](_0xb44d2b);},_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_0x2f992b(0x10e)](exports,a18_0x2f992b(0xb8),{'value':!![]}),exports[a18_0x2f992b(0x184)]=exports[a18_0x2f992b(0x18e)]=void 0x0;const assert=require(a18_0x2f992b(0xd9)),events_1=require(a18_0x2f992b(0x111)),extend=require(a18_0x2f992b(0x136)),fs=require('fs'),path=require(a18_0x2f992b(0xa0)),util=require(a18_0x2f992b(0x194)),status_message_1=require(a18_0x2f992b(0x99)),stackdriver_1=require(a18_0x2f992b(0xc9)),agent_logger_1=require(a18_0x2f992b(0x18c)),patterns_blocklist_manager_1=require(a18_0x2f992b(0x9f)),config_1=require(a18_0x2f992b(0x17e)),configuration_provider_1=require('./configuration-provider'),controller_1=require('./controller'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x2f992b(0xaf)),mapSubtract_1=require(a18_0x2f992b(0x95)),normalizeConfig_1=require(a18_0x2f992b(0x10a)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x2f992b(0xa2)),scanner_1=require(a18_0x2f992b(0xde)),SourceMapper=require(a18_0x2f992b(0xac)),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a18_0x2f992b(0x123)),redaction_manager_1=require(a18_0x2f992b(0x1a0)),utils_1=require(a18_0x2f992b(0xb2)),debugapi=require(a18_0x2f992b(0x18b)),redaction_manager_re2js_1=require(a18_0x2f992b(0x137)),readFilep=util[a18_0x2f992b(0xe3)](fs[a18_0x2f992b(0x140)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0xcc4e8f,_0x4fe160)=>{const _0x214894=a18_0x2f992b;let _0x422e1c=_0xcc4e8f+util[_0x214894(0x19a)](_0x214894(0x187),_0x4fe160['id'],_0x4fe160[_0x214894(0xab)],util[_0x214894(0x163)](_0x4fe160[_0x214894(0xf2)]));if(_0x4fe160[_0x214894(0x15e)]){const _0x5bdfcb=Number(_0x4fe160[_0x214894(0x15e)]['seconds']),_0x1112ef=new Date(_0x5bdfcb*0x3e8);_0x422e1c+=_0x214894(0x10b)+_0x1112ef[_0x214894(0x191)]();}return _0x4fe160[_0x214894(0x107)]&&(_0x422e1c+=_0x214894(0x182)+util['inspect'](_0x4fe160[_0x214894(0x107)])),_0x4fe160[_0x214894(0xa8)]&&(_0x422e1c+=_0x214894(0x165)+util['inspect'](_0x4fe160[_0x214894(0xa8)])),_0x422e1c;},formatBreakpoints=(_0x5168ad,_0x19b7bc)=>_0x5168ad+Object[a18_0x2f992b(0x168)](_0x19b7bc)['map'](_0x44d82f=>formatBreakpoint('',_0x19b7bc[_0x44d82f]))[a18_0x2f992b(0x13e)]('\x0a');class CachedPromise{constructor(){const _0x334770=a18_0x2f992b;this[_0x334770(0xe5)]=null,this[_0x334770(0x10f)]=new Promise(_0x3b1d02=>{this['promiseResolve']=_0x3b1d02;});}[a18_0x2f992b(0xcf)](){const _0xf3baeb=a18_0x2f992b;return this[_0xf3baeb(0x10f)];}[a18_0x2f992b(0xad)](){const _0x4d8759=a18_0x2f992b;this['promiseResolve']&&(this[_0x4d8759(0xe5)](),this[_0x4d8759(0xe5)]=null);}}function a18_0x2797(){const _0x7eefc4=['.\x20message:\x20','error','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','internal','getRedactions','stop','LOGPOINT:\x20','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','\x20because\x20','map','normalizeConfig','add','./quota-manager','mapSubtract','selectStats','create','ignoreQuota','readFullVersion','sourceMapDiagnostics','Scheduling\x20registration\x20in\x20','LOG','BREAKPOINT_ACTION_MESSAGE','filename','sep','object','pipeLogs','waitForBreakpoints','deregister','normalize','logger','call','extend','./reduction/redaction-manager-re2js','scan','StatusMessage','clear','utf8','unref','initError','join','blacklist_exception','readFile','isReady','enable','getProps','apply','length','1274090ZSojoS','started','stopped','684154dhGKBR','agentLogMaxFileCount','Blacklist\x20Exceptions:\x20\x0a\x09','default','filter','\x20caseInsensitive:\x20','removeBreakpoint','value','sendAgentLogsToServer','removeListener','globalPipingStatus','enqueueBreakpointUpdate','Expiring\x20breakpoint\x20id\x20','stringify','agentLog','activeBreakpointMap','quotaRecoverySeconds','waitExpired','createDebuggee','undefined','Error\x20processing\x20the\x20sourcemaps.','createTime','isReadyManager','\x09Long\x20poll\x20completed.','hash','reporting\x20breakpoint\x20','inspect','fetcherActive','\x0a\x09expressions:\x20','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','backoff','keys','env','breakpoints_fetched','register\x20debuggee','packageInfo','\x09Notifying\x20server\x20about\x20error\x20for\x20','has','js.map','type','rejecting\x20breakpoint\x20id\x20','SIGQUIT','remotelyDisabled','isFinalState','registration_failed','selectFiles','677916MsfVcE','config','Disabled\x20by\x20the\x20server','__classPrivateFieldGet','CAPTURE','1813MsDQHI','Found\x20breakpoint\x20with\x20invalid\x20action:','./config','setIgnoreQuota','register','beforeExit','\x0a\x09condition:\x20','Redactions:\x20\x0a\x09','Debuglet','Failed\x20to\x20','setPipingStatus','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','errors','GAE_MINOR_VERSION','now','./v8/debugapi','./agent-logger','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','CachedPromise','remainingHits','DEBUG','toString','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','createLogger','util','Malformed\x20source-context.json\x20file:\x20','javascriptFileExtensions','source-context.json','stdErrThreshold','\x09remove\x20breakpoint\x20id\x20','format','collectAndSendLog','PipingManager','\x20(type:\x20','pid','Blacklist:\x20\x0a\x09','./reduction/redaction-manager','Stopping\x20Debuglet','Scanner','fetchBreakpointsOnce','SIGTERM','split','isRedactionActive','pipingManager','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','existsSync','shouldRedactByName','start','./debuglet-helpers/mapSubtract','debuggee','APP_ONLY','.\x20Error:\x20','../client/stackdriver/status-message','redactionEnabled','log','283023bsdFLD','breakpoints_fetch_registration_required','getClientConnectionTimeoutInSeconds','./blocklisting/patterns-blocklist-manager','path','name:\x20','./io/file-index','stringifyBreakpointForInfoLog','disable','emit','setCustomLogLevel','findFiles','expressions','re-register\x20debuggee\x20','breakpoint_set','action','./io/sourcemapper','resolve','agentLogMaxFileSizeMb','./debuglet-helpers/format','logLevel','isArray','./util/utils','logMainConfigParams','function','expirationTime','isDisabled','caseInsensitive','__esModule','do\x20this.','once','agentLogTargetDir','all','Working\x20directory:\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','FileIndex','):\x20pattern:\x20','cwd','then','743421tTuzJo','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','debug','fromEntries','extraPaths','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','../types/stackdriver','Fetching\x20breakpoints','allowExpressions','RedactionManagerRE2JS','Result:\x20\x0a','set','get','UNSPECIFIED','fromFileStats','createPerBreakpointConditionQuota','getLevel','scheduleBreakpointFetch_\x20','expirationSeconds','quotaCheck','...\x20[truncated]','\x20accepted\x20by\x20agent','assert','Active\x20Breakpoints:\x20\x0a','ConfigurationProvider','collectLogRequestId','bind','./io/scanner','replace','maxRequestRetryDelaySeconds','push','SIGINT','promisify','(((.+)+)+)+$','promiseResolve','jsFileIndex','parameters','parse','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','forEach','message','waitFor','clientConnectionTimeoutInSeconds','mapFiles','info','substring','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','location','description','QuotaManager','search','agentLogLevel','constructor','setPatterns','status','Private\x20method\x20is\x20not\x20writable','breakpoints_fetch_failed','ALLOW_EXPRESSIONS_MESSAGE','isRegistered','18712yPkJgI','PatternsBlocklistManager','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','__classPrivateFieldSet','EnvironmentMetadata','isAtLeastInfo','isRunning','warn','getSourceContextFromFile','condition','Server\x20breakpoints:\x0a','breakpointUpdateIntervalSec','./debuglet-helpers/normalizeConfig','\x0a\x09createdTime:\x20','pattern','GAE-','defineProperty','promise','isLambda','events','1988838FvegMr','setLevel','NOT_SET','.\x20Retrying\x20in\x20','listBreakpoints'];a18_0x2797=function(){return _0x7eefc4;};return a18_0x2797();}function a18_0x3410(_0x6c4210,_0x1a4284){const _0x46b208=a18_0x2797();return a18_0x3410=function(_0x4428bd,_0xeedf1d){_0x4428bd=_0x4428bd-0x95;let _0x279756=_0x46b208[_0x4428bd];return _0x279756;},a18_0x3410(_0x6c4210,_0x1a4284);}exports[a18_0x2f992b(0x18e)]=CachedPromise;class IsReadyImpl{constructor(_0x25fe9e){this['debuglet']=_0x25fe9e;}[a18_0x2f992b(0x141)](){const _0x59a512=a18_0x2f992b;return this['debuglet'][_0x59a512(0x141)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x47fffd,_0x49d651){const _0x49b3d4=a18_0x2f992b;super(),_Debuglet_instances[_0x49b3d4(0x122)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_running[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_controller[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_breakpointFetched[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x49b3d4(0xce)](this,null),this[_0x49b3d4(0x15f)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_scanner[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_quotaManager[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_configProvider[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x49b3d4(0xce)](this,void 0x0),this[_0x49b3d4(0x178)]=(0x0,normalizeConfig_1[_0x49b3d4(0x121)])(_0x49d651),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x49b3d4(0xdb))](this[_0x49b3d4(0x178)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x47fffd,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x49b3d4(0x164)]=![],this[_0x49b3d4(0x134)]=agent_logger_1['default'][_0x49b3d4(0x193)](this['config']['agentLog'][_0x49b3d4(0xbb)],this[_0x49b3d4(0x178)]['agentLog'][_0x49b3d4(0xae)],this['config'][_0x49b3d4(0x157)][_0x49b3d4(0x14a)],this[_0x49b3d4(0x178)][_0x49b3d4(0x157)][_0x49b3d4(0xf6)],this[_0x49b3d4(0x178)][_0x49b3d4(0x157)][_0x49b3d4(0x198)]),(0x0,config_1[_0x49b3d4(0xb3)])(this[_0x49b3d4(0x178)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x49b3d4(0x102))](this[_0x49b3d4(0x134)])[_0x49b3d4(0x143)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x49b3d4(0x178)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x49b3d4(0x1a2))](this['logger']),'f'),this[_0x49b3d4(0x96)]=null,this[_0x49b3d4(0x158)]={},__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[(_0x49b3d4(0xf4))](this[_0x49b3d4(0x134)],this[_0x49b3d4(0x178)]),'f'),this[_0x49b3d4(0x1a7)]=new piping_manager_1[(_0x49b3d4(0x19c))](_0x49b3d4(0x97),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x49b3d4(0x178)]);}async['waitForTransmissionQueueDrain'](_0x5ec4dd){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x5ec4dd);}[a18_0x2f992b(0x9e)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x2f992b(0x131)](_0x4cf910){const _0x36ad04=a18_0x2f992b,_0xc19f6a=0x32;let _0x40de4a=null;const _0x1b91f1=()=>_0x40de4a=!![],_0x186ddf=()=>_0x40de4a=![],_0x197e4f=_0x3b3227=>{if(_0x3b3227)return;_0x1b91f1();};let _0x1de5bc=![];const _0x5d19ee=_0x538c65=>{const _0x1c91e1=a18_0x3410;_0x1de5bc&&_0x186ddf(),_0x1de5bc=!![],this[_0x1c91e1(0x180)]();};this[_0x36ad04(0xba)](_0x36ad04(0x16a),_0x197e4f),this[_0x36ad04(0xba)]('breakpoint_set',_0x1b91f1);this['config']['internal']?.[_0x36ad04(0x110)]&&(this[_0x36ad04(0xba)]('registration_failed',_0x186ddf),this[_0x36ad04(0xba)]('breakpoints_fetch_failed',_0x186ddf),this[_0x36ad04(0xba)](_0x36ad04(0x9d),_0x5d19ee));if(_0x4cf910){const _0x40c8dc=Date[_0x36ad04(0x18a)]();while(_0x40de4a===null&&Date[_0x36ad04(0x18a)]()-_0x40c8dc<_0x4cf910){await(0x0,utils_1[_0x36ad04(0xec)])(_0xc19f6a);}}return this[_0x36ad04(0x152)](_0x36ad04(0x16a),_0x197e4f),this[_0x36ad04(0x152)](_0x36ad04(0xaa),_0x1b91f1),this[_0x36ad04(0x178)][_0x36ad04(0x11a)]?.[_0x36ad04(0x110)]&&(this[_0x36ad04(0x152)](_0x36ad04(0x175),_0x186ddf),this[_0x36ad04(0x152)]('breakpoints_fetch_failed',_0x186ddf),this[_0x36ad04(0x152)]('breakpoints_fetch_registration_required',_0x5d19ee)),_0x40de4a===!![];}[a18_0x2f992b(0x1a3)](){const _0x10a1de=a18_0x2f992b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x10a1de(0x135)](this,0x0,!![]);}[a18_0x2f992b(0xfd)](){const _0xd8c400=a18_0x2f992b;return this[_0xd8c400(0x96)]?.['id']!==undefined;}async['findFiles'](_0x5d3a6c,_0x33bfe4){const _0x37947c=a18_0x2f992b,_0x136234=_0x5d3a6c['workingDirectory'],_0x4c528e=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x37947c(0x138)](_0x136234,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x37947c(0x135)](_a,_0x5d3a6c['javascriptFileExtensions']['concat'](_0x37947c(0x16f))),_0x33bfe4,_0x5d3a6c[_0x37947c(0xc7)]),_0x37f301=_0x4c528e[_0x37947c(0x125)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x37947c(0x135)](_a,_0x5d3a6c[_0x37947c(0x196)])),_0x17d834=file_index_1[_0x37947c(0xbf)][_0x37947c(0xd1)](_0x37f301),_0x34b017=_0x4c528e[_0x37947c(0x176)](/.js.map$/,process[_0x37947c(0xc1)]()),_0xb07895=_0x4c528e[_0x37947c(0x188)]();return{'mapFiles':_0x34b017,'errors':_0xb07895,'jsFileIndex':_0x17d834,'hash':_0x4c528e[_0x37947c(0x161)]};}async[a18_0x2f992b(0x1ab)](){const _0x50afbb=a18_0x2f992b,_0x37a7b1=this['config']['workingDirectory'];if(!this['config']['allowRootAsWorkingDirectory']&&path[_0x50afbb(0x13e)](_0x37a7b1,'..')===_0x37a7b1){const _0xae2eb6=_0x50afbb(0x1a8)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x50afbb(0xc8)+_0x50afbb(0xb9);this['logger']['error'](_0xae2eb6),this[_0x50afbb(0xa5)](_0x50afbb(0x13d),new Error(_0xae2eb6));return;}let _0x38ad9a;process[_0x50afbb(0x169)][_0x50afbb(0x189)]&&(_0x38ad9a=_0x50afbb(0x10d)+process[_0x50afbb(0x169)][_0x50afbb(0x189)]);let _0x4f9c7f,_0x164bc3=_0x38ad9a??'';try{_0x4f9c7f=await this[_0x50afbb(0xa7)](this['config'],_0x38ad9a),_0x4f9c7f[_0x50afbb(0x188)][_0x50afbb(0xea)](this[_0x50afbb(0x134)]['warn']);}catch(_0x2b22e4){this[_0x50afbb(0x134)]['error']('Error\x20scanning\x20the\x20filesystem.',_0x2b22e4),this[_0x50afbb(0xa5)](_0x50afbb(0x13d),_0x2b22e4);return;}try{const _0x51d8ea=await SourceMapper[_0x50afbb(0x126)](this[_0x50afbb(0x134)],_0x4f9c7f[_0x50afbb(0xee)],this['config'][_0x50afbb(0x11a)]?.[_0x50afbb(0x129)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x50afbb(0x126)](this[_0x50afbb(0x134)],this['config'],_0x4f9c7f[_0x50afbb(0xe6)],_0x51d8ea,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x164bc3=_0x38ad9a??_0x4f9c7f['hash'];}catch(_0x492c6a){this[_0x50afbb(0x134)][_0x50afbb(0x118)](_0x50afbb(0x15d),_0x492c6a),this['logger']['info'](JSON['stringify'](_0x492c6a)),this[_0x50afbb(0xa5)](_0x50afbb(0x13d),_0x492c6a);}this[_0x50afbb(0x134)][_0x50afbb(0xef)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x164bc3);const _0xda1b5b=(0x0,utils_1[_0x50afbb(0x128)])(this['logger'])[_0x50afbb(0xdf)]('\x0a','');this[_0x50afbb(0x134)][_0x50afbb(0xef)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0xda1b5b);let _0x14b9f5;try{_0x14b9f5=this['config']['sourceContext']||await _a['getSourceContextFromFile']();}catch{}this[_0x50afbb(0x134)][_0x50afbb(0xef)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x50afbb(0x12d)]),this[_0x50afbb(0x134)][_0x50afbb(0xc5)](_0x50afbb(0xbd)+_0x37a7b1),this['logger'][_0x50afbb(0xc5)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x50afbb(0x96)]=(0x0,createDebuggee_1[_0x50afbb(0x15b)])(_0x164bc3,this[_0x50afbb(0x178)],_0x14b9f5,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x50afbb(0x16c)],_0xda1b5b,this[_0x50afbb(0x134)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](this),this[_0x50afbb(0x180)](),this['emit'](_0x50afbb(0x147));}[a18_0x2f992b(0x141)](){const _0x5189a9=a18_0x2f992b;if(Date[_0x5189a9(0x18a)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5189a9(0xad)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5189a9(0xcf)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x5189a9(0xcf)]()[_0x5189a9(0xc2)](()=>{const _0x37106b=_0x5189a9;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x37106b(0x135)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5189a9(0xcf)]();}}static async[a18_0x2f992b(0x106)](){const _0x47ac2c=a18_0x2f992b,_0x485af3=await readFilep(_0x47ac2c(0x197),_0x47ac2c(0x13b));try{return JSON[_0x47ac2c(0xe8)](_0x485af3);}catch(_0x1928a6){throw new Error(_0x47ac2c(0x195)+_0x1928a6);}}[a18_0x2f992b(0x180)](){const _0x22b429=a18_0x2f992b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x22b429(0x135)](this,0x0);}[a18_0x2f992b(0x104)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0xc5152=a18_0x2f992b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xc5152(0x134)][_0xc5152(0xc5)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0xc5152(0x134)]['debug'](_0xc5152(0x1a1)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0xc5152(0x11c)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xc5152(0xa5)](_0xc5152(0x148));}[a18_0x2f992b(0xa3)](_0x4ffd30){const _0x171418=a18_0x2f992b;if(!this[_0x171418(0x134)][_0x171418(0x103)]())return _0x4ffd30['id'];try{const _0x509e96=JSON[_0x171418(0x156)](_0x4ffd30);if(_0x509e96[_0x171418(0x145)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x509e96;return _0x509e96[_0x171418(0xf0)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x171418(0xd7);}catch(_0x27d29){return this[_0x171418(0x134)][_0x171418(0x118)](_0x171418(0x166),_0x27d29),_0x4ffd30['id'];}}[a18_0x2f992b(0xa6)](_0x447709){const _0x53d6cb=a18_0x2f992b,_0x50d4bd=this['logger']['getInitialLevel']();if(_0x50d4bd===_0x53d6cb(0xc5))return;switch(_0x447709){case _0x53d6cb(0x190):this['logger'][_0x53d6cb(0xd3)]()!==_0x53d6cb(0xc5)&&(this[_0x53d6cb(0x134)][_0x53d6cb(0x113)](_0x53d6cb(0xc5)),this[_0x53d6cb(0x134)][_0x53d6cb(0xc5)](_0x53d6cb(0x119)));break;case _0x53d6cb(0x114):case undefined:this[_0x53d6cb(0x134)][_0x53d6cb(0xd3)]()==='debug'&&(this[_0x53d6cb(0x134)][_0x53d6cb(0x113)](_0x50d4bd),this[_0x53d6cb(0x134)][_0x53d6cb(0xef)](_0x53d6cb(0xc4)+_0x50d4bd+')'));break;default:this[_0x53d6cb(0x134)][_0x53d6cb(0x105)]('Unknown\x20agentLogLevel\x20'+_0x447709);}}}exports[a18_0x2f992b(0x184)]=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(_0x755e6b){const _0x574479=a18_0x2f992b;return new RegExp(_0x755e6b[_0x574479(0x120)](_0x2cf65e=>_0x2cf65e+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x53ce3a=a18_0x2f992b,_0x2116b1=[_0x53ce3a(0x1a4),_0x53ce3a(0xe2),_0x53ce3a(0x172)];_0x2116b1[_0x53ce3a(0xea)](_0x2bc355=>{const _0x5b191b=_0x53ce3a;process[_0x5b191b(0xba)](_0x2bc355,()=>{const _0x5173e2=_0x5b191b;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5173e2(0x132)](this[_0x5173e2(0x96)],()=>{const _0x26bb0c=_0x5173e2;process['kill'](process[_0x26bb0c(0x19e)],_0x2bc355);});});}),process[_0x53ce3a(0xba)](_0x53ce3a(0x181),()=>{const _0x27f870=_0x53ce3a;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x27f870(0x132)](this['debuggee'],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xcfeeed){const _0x27c1e8=a18_0x2f992b;this[_0x27c1e8(0x134)]['debug'](_0xcfeeed?_0x27c1e8(0x12a)+_0xcfeeed+'s':'Registering\x20debuggee');const _0x2787ec=(_0x59d9ce,_0x5cc625,_0x1697fe=![])=>{const _0x354e29=_0x27c1e8;this['emit'](_0x354e29(0x175));const _0x2b47fb=this[_0x354e29(0x96)]?.['id'],_0x5232df=_0x2b47fb?_0x354e29(0xa9)+_0x2b47fb:_0x354e29(0x16b),_0x3b4df1=_0x354e29(0x185)+_0x5232df+':\x20'+(0x0,utils_1['prettyError'])(_0x59d9ce);this[_0x354e29(0x134)][_0x354e29(0x118)](_0x3b4df1),_0x5cc625&&!_0x1697fe&&this[_0x354e29(0x134)][_0x354e29(0x118)](_0x354e29(0xcd),_0x5cc625),!this['config'][_0x354e29(0x11a)]?.[_0x354e29(0x110)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x354e29(0x167)])(_0xcfeeed,this[_0x354e29(0x178)][_0x354e29(0x11a)][_0x354e29(0xe0)]));};setTimeout(()=>{const _0x1e13d9=_0x27c1e8;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x2787ec(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1e13d9(0x180)](this[_0x1e13d9(0x96)],(_0x5ade32,_0x22a0af,_0x2a2415=![])=>{const _0x17d299=_0x1e13d9;if(_0x5ade32){_0x2787ec(_0x5ade32,_0x22a0af,_0x2a2415);return;}if(_0x22a0af[_0x17d299(0x96)][_0x17d299(0xb6)]){_0x2787ec(new Error(_0x17d299(0x179))),this[_0x17d299(0xa5)](_0x17d299(0x173));return;}const _0xabe492=_0x22a0af[_0x17d299(0x96)]['id'];this[_0x17d299(0x134)][_0x17d299(0xef)]('Registered\x20as\x20debuggee:\x20'+_0xabe492),this[_0x17d299(0x96)]['id']=_0xabe492;const _0x5649b2=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](this)(this[_0x17d299(0x96)]['id'])];this[_0x17d299(0x178)][_0x17d299(0x9a)]&&_0x5649b2[_0x17d299(0xe1)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x17d299(0xdd)](this)(this[_0x17d299(0x96)]['id'])),Promise[_0x17d299(0xbc)](_0x5649b2)[_0x17d299(0xc2)](()=>{const _0x592b22=_0x17d299;this[_0x592b22(0xa5)]('registered',_0xabe492),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x22a0af?.[_0x592b22(0xed)],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x592b22(0x135)](this,0x0,this[_0x592b22(0x178)][_0x592b22(0x1a3)],_0x22a0af?.[_0x592b22(0xed)]);},_0x2ec54f=>{_0x2787ec(_0x2ec54f);});});},_0xcfeeed*0x3e8)[_0x27c1e8(0x13c)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x30f6a4,_0xd526a8,_0x57925c){const _0x358d32=a18_0x2f992b;this[_0x358d32(0x134)][_0x358d32(0xc5)](_0x358d32(0xd4)+_0x30f6a4+'\x20'+_0xd526a8+'\x20'+_0x57925c),!_0xd526a8&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x29bace=_0x358d32;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0xd526a8&&assert(this['fetcherActive']),this[_0x29bace(0x134)][_0x29bace(0xc5)](_0x29bace(0xca)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29bace(0x116)](this[_0x29bace(0x96)],(_0x484d82,_0x406f2d,_0x40b9f5)=>{const _0x503636=_0x29bace;if(_0x40b9f5?.['status']===0x194){this['logger'][_0x503636(0xef)]('Debuggee\x20is\x20not\x20registered'),this[_0x503636(0x164)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x503636(0x135)](this);this[_0x503636(0x178)][_0x503636(0x11a)]?.[_0x503636(0x110)]?this['emit'](_0x503636(0x9d)):this[_0x503636(0x180)]();return;}if(_0x484d82){if(this['config']['internal']?.['isLambda'])this[_0x503636(0xa5)](_0x503636(0xfb)),this['logger']['error']('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x40b9f5?.['status']+_0x503636(0x117)+_0x484d82[_0x503636(0xeb)]);else{const _0x585ef4=(0x0,utils_1[_0x503636(0x167)])(_0x30f6a4,this[_0x503636(0x178)][_0x503636(0x11a)]['maxRequestRetryDelaySeconds']);this[_0x503636(0x134)][_0x503636(0x118)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x40b9f5?.['status']+_0x503636(0x117)+_0x484d82[_0x503636(0xeb)]+_0x503636(0x115)+_0x585ef4+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x585ef4,_0xd526a8,_0x57925c);}return;}this[_0x503636(0x134)][_0x503636(0xc5)]('\x09'+_0x40b9f5['status']+'\x20completed.');if(!_0x406f2d){const _0x55022=this[_0x503636(0x178)][_0x503636(0x109)];this[_0x503636(0x134)][_0x503636(0x118)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x55022+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x503636(0x135)](this,_0x55022,_0xd526a8,_0x57925c);return;}this['setCustomLogLevel'](_0x406f2d[_0x503636(0xf6)]);if(_0x406f2d[_0x503636(0x15a)]){this[_0x503636(0x134)]['info'](_0x503636(0x160)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x503636(0x135)](this,0x0,_0xd526a8,_0x57925c);return;}if(_0x406f2d[_0x503636(0x130)]&&_0x406f2d[_0x503636(0x130)]!==_0x503636(0x114)){const _0xfb8a9c=this[_0x503636(0x1a7)][_0x503636(0x153)];_0xfb8a9c!==_0x406f2d['pipeLogs']&&(this[_0x503636(0x134)][_0x503636(0xc5)]('Switching\x20globalPiping\x20status\x20from\x20'+_0xfb8a9c+'\x20to\x20'+_0x406f2d[_0x503636(0x130)]),this[_0x503636(0x1a7)]['globalPipingStatus']=_0x406f2d[_0x503636(0x130)]);}if(_0x406f2d[_0x503636(0x19b)]&&_0x406f2d['collectLogRequestId']!==this[_0x503636(0xdc)]){this[_0x503636(0xdc)]=_0x406f2d[_0x503636(0xdc)];const _0x3d5104=this[_0x503636(0x178)]['agentLog'][_0x503636(0xbb)]&&path['join'](this['config'][_0x503636(0x157)][_0x503636(0xbb)],agent_logger_1[_0x503636(0x14c)]['AGENT_LOG_FILE']);_0x3d5104&&fs[_0x503636(0x1a9)](_0x3d5104)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x503636(0x151)](this[_0x503636(0x96)],_0x406f2d['collectLogRequestId'],_0x3d5104)):this[_0x503636(0x134)]['info'](_0x503636(0x192)+_0x406f2d['collectLogRequestId']+_0x503636(0x11f)+_0x503636(0x18d));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['activeFeatures']=_0x406f2d['activeFeatures']??[];const _0x288ed5=(_0x406f2d['breakpoints']||[])[_0x503636(0x120)](_0x122c5=>new stackdriver_1['Breakpoint'](_0x122c5))[_0x503636(0x14d)](_0xbeb3f3=>{const _0x2d117e=_0x503636,_0x56b38f=_0xbeb3f3[_0x2d117e(0xab)]??_0x2d117e(0x17b);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xbeb3f3['id']])return![];if(_0x56b38f!==_0x2d117e(0x17b)&&_0x56b38f!==_0x2d117e(0x12b))return this[_0x2d117e(0x134)][_0x2d117e(0x105)](_0x2d117e(0x17d),_0x56b38f),_0xbeb3f3[_0x2d117e(0xf9)]=new status_message_1[(_0x2d117e(0x139))](status_message_1[_0x2d117e(0x139)][_0x2d117e(0xd0)],utils_1[_0x2d117e(0x188)][_0x2d117e(0x12c)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x2d117e(0x135)](this,_0xbeb3f3),![];return!![];}),_0x381813=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0xa5b23a=_0x381813[_0x503636(0x145)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x381813),_0xa5b23a=_0xa5b23a||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](this,_0x288ed5),this[_0x503636(0xa5)](_0x503636(0x16a),_0x288ed5[_0x503636(0x145)]);_0xa5b23a&&this[_0x503636(0x134)][_0x503636(0xc5)](formatBreakpoints(_0x503636(0xda),this[_0x503636(0x158)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x503636(0x18a)](),'f');_0xd526a8?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x503636(0xad)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0xd526a8,_0x57925c);return;},_0x57925c);},_0x30f6a4*0x3e8)[_0x358d32(0x13c)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x340e6c){const _0x5a470c=a18_0x2f992b,_0x8c68da=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5a470c(0x135)](this,_0x340e6c);let _0xc3099e=![];return _0x340e6c[_0x5a470c(0xea)](_0x50ba6c=>{const _0x245f2a=_0x5a470c;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x50ba6c['id']]&&!this[_0x245f2a(0x158)][_0x50ba6c['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x245f2a(0x135)](this,_0x50ba6c,_0x51938b=>{_0x51938b&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x50ba6c,!![],![]);}),_0xc3099e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x245f2a(0xd2)](_0x50ba6c['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x245f2a(0x17f)](_0x50ba6c['id'],_0x50ba6c[_0x245f2a(0x127)]),this[_0x245f2a(0x1a7)][_0x245f2a(0x186)](_0x50ba6c['id'],_0x50ba6c['pipingStatus']);}),(0x0,mapSubtract_1[_0x5a470c(0x124)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x8c68da)['forEach'](_0x3513ac=>{const {id:_0x57e48a}=_0x3513ac;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x57e48a],_0xc3099e=!![];}),(0x0,mapSubtract_1[_0x5a470c(0x124)])(this['activeBreakpointMap'],_0x8c68da)[_0x5a470c(0xea)](_0x2211d1=>{const _0x3bcf22=_0x5a470c;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3bcf22(0x135)](this,_0x2211d1,!![]),_0xc3099e=!![];}),_0xc3099e&&this[_0x5a470c(0x134)]['debug'](formatBreakpoints(_0x5a470c(0x108),_0x8c68da)),_0xc3099e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x25bb97){const _0x4b2614=a18_0x2f992b;return Object[_0x4b2614(0xc6)](_0x25bb97[_0x4b2614(0x120)](_0x1938a7=>[_0x1938a7['id'],_0x1938a7]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x46ac2d,_0x2b1df6){const _0x51e489=a18_0x2f992b;this[_0x51e489(0x134)]['info'](_0x51e489(0x199)+_0x46ac2d['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x46ac2d['id']),this['pipingManager'][_0x51e489(0x14f)](_0x46ac2d['id']),delete this['activeBreakpointMap'][_0x46ac2d['id']],_0x2b1df6&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x51e489(0x13a)](_0x46ac2d,_0x36eb0c=>{const _0x1bc255=_0x51e489;if(_0x36eb0c)this[_0x1bc255(0x134)][_0x1bc255(0x118)](_0x36eb0c);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4f6992,_0x3187e7){const _0x152117=a18_0x2f992b;this['logger'][_0x152117(0xef)]('\x09adding\x20breakpoint',this[_0x152117(0xa3)](_0x4f6992));if(!this[_0x152117(0x178)][_0x152117(0xcb)]&&(_0x4f6992['condition']||_0x4f6992[_0x152117(0xa8)])){this[_0x152117(0x134)][_0x152117(0x118)](utils_1[_0x152117(0x188)][_0x152117(0xfc)][_0x152117(0xf3)]??''),_0x4f6992[_0x152117(0xf9)]=new status_message_1[(_0x152117(0x139))](status_message_1[_0x152117(0x139)]['UNSPECIFIED'],utils_1['errors'][_0x152117(0xfc)],!![]),setImmediate(()=>{const _0x3a6529=_0x152117;_0x3187e7(utils_1['errors'][_0x3a6529(0xfc)]);});return;}const _0x28ff23=_0x4f6992['createTime']?Number(_0x4f6992['createTime']['seconds']):Date[_0x152117(0x18a)]()/0x3e8,_0x545cde=_0x4f6992[_0x152117(0xd5)]??this[_0x152117(0x178)]['breakpointExpirationSec'];_0x4f6992['expirationTime']=_0x28ff23+_0x545cde,_0x4f6992[_0x152117(0xf2)]?.[_0x152117(0xa0)]&&(_0x4f6992['location'][_0x152117(0xa0)]=path[_0x152117(0x133)](_0x4f6992[_0x152117(0xf2)][_0x152117(0xa0)]),path[_0x152117(0x12e)]===path['posix'][_0x152117(0x12e)]&&(_0x4f6992[_0x152117(0xf2)]['path']=_0x4f6992[_0x152117(0xf2)]['path'][_0x152117(0x1a5)]('\x5c')['join'](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x152117(0xce)](_0x4f6992,_0x268905=>{const _0x583f07=_0x152117;if(_0x268905){_0x3187e7(_0x268905);return;}this['logger'][_0x583f07(0xef)]('\x09successfully\x20added\x20breakpoint\x20id\x20'+_0x4f6992['id']),this[_0x583f07(0x158)][_0x4f6992['id']]=_0x4f6992,_0x4f6992['action']===_0x583f07(0x12b)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x583f07(0x9b)](_0x4f6992,(_0x360c57,_0xd4e829)=>{const _0x24ad08=_0x583f07,_0x17fdb6=_0xd4e829[_0x24ad08(0x120)](_0x18d79c=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x24ad08(0x135)](this,_0x18d79c)),_0x592e56=(0x0,format_1[_0x24ad08(0x19a)])(_0x360c57,_0x17fdb6),_0x8970a6=_0x24ad08(0x11d)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x592e56)??_0x592e56),_0x1b7e62=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x24ad08(0xd6)](_0x8970a6,_0x4f6992['id']);if(_0x1b7e62){const _0x423493=_0x1b7e62[_0x24ad08(0xeb)],{isOutOfQuota:_0x1fcdce}=_0x1b7e62;let _0x38ac14,_0x16956a;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x24ad08(0x1a6)]()&&!_0x1fcdce&&(_0x38ac14='LOGPOINT:\x20'+_0x360c57,_0x16956a=_0x17fdb6);this[_0x24ad08(0x1a7)]['addAndPipeLog'](this['debuggee'],_0x4f6992['id'],_0x423493,_0x4f6992[_0x24ad08(0xb0)],_0x38ac14,_0x16956a);if(_0x1fcdce)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x24ad08(0xa4)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x1ea8c8=_0x24ad08;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1ea8c8(0x142)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x24ad08(0x178)]['quota'][_0x24ad08(0x159)]*0x3e8),'f');else _0x423493?.[_0x24ad08(0x145)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x24ad08(0xa4)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4f6992['id']],_0x1d4950=>{const _0x4be324=_0x583f07;if(_0x1d4950){this[_0x4be324(0x134)]['error'](_0x1d4950),_0x3187e7(_0x1d4950);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['wait'](_0x4f6992,_0x481f1f=>{const _0x4b8c21=_0x583f07;if(_0x481f1f){setImmediate(()=>{const _0x4ca389=a18_0x3410;this[_0x4ca389(0x134)][_0x4ca389(0x118)](_0x481f1f),_0x3187e7(_0x481f1f);});return;}this['logger'][_0x4b8c21(0xef)](_0x4b8c21(0xf1)+_0x4f6992['id'],_0x4f6992[_0x4b8c21(0xf2)]?.[_0x4b8c21(0xa0)],_0x4f6992[_0x4b8c21(0xf2)]?.['line']),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x4f6992,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4b8c21(0x18f)](_0x4f6992['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x583f07(0x135)](this,_0x4f6992);}),this[_0x152117(0xa5)](_0x152117(0xaa));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4f2cc3,_0x5d41af,_0x9e2587=!![]){const _0x21c28f=a18_0x2f992b;if(_0x4f2cc3[_0x21c28f(0xf9)]?.['isError']){let _0x347161=_0x4f2cc3[_0x21c28f(0xf9)]?.[_0x21c28f(0xf3)]?.[_0x21c28f(0x19a)]||'';_0x4f2cc3['status']?.[_0x21c28f(0xf3)]?.[_0x21c28f(0xe7)]&&(_0x347161+=':\x20'+_0x4f2cc3[_0x21c28f(0xf9)]?.[_0x21c28f(0xf3)]?.[_0x21c28f(0xe7)][_0x21c28f(0x191)]()),this[_0x21c28f(0x134)][_0x21c28f(0x105)](_0x21c28f(0x16d)+_0x4f2cc3+_0x21c28f(0x98)+_0x347161);}else this[_0x21c28f(0x134)]['info']('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x21c28f(0xa3)](_0x4f2cc3));_0x5d41af&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4f2cc3['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x21c28f(0x135)](this,_0x4f2cc3,_0x9e2587)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x21c28f(0x96)],extend(!![],{},_0x4f2cc3));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x158512){const _0x4467aa=a18_0x2f992b;this[_0x4467aa(0x134)][_0x4467aa(0xc5)](_0x4467aa(0x162)+_0x158512+_0x4467aa(0xd8));const _0x58025e=extend(!![],{},_0x158512);_0x58025e[_0x4467aa(0x174)]=![],_0x58025e['status']=new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4467aa(0x154)](this[_0x4467aa(0x96)],_0x58025e);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x6e48cc){const _0x46451a=a18_0x2f992b;this[_0x46451a(0x134)][_0x46451a(0xef)](_0x46451a(0x171)+_0x6e48cc),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x6e48cc['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x46451a(0x96)],_0x6e48cc);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5f5a36){const _0x18fe62=a18_0x2f992b;_0x5f5a36[_0x18fe62(0xea)](_0x26ac25=>{const _0x125051=_0x18fe62;this[_0x125051(0x134)]['info'](_0x125051(0x155)+_0x26ac25['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x26ac25['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x125051(0x135)](this,_0x26ac25,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x535ae0=a18_0x2f992b,_0x3f55c7=Date['now']()/0x3e8;return Object['values'](this[_0x535ae0(0x158)])['filter'](_0xad001d=>_0xad001d[_0x535ae0(0xb5)]?_0xad001d[_0x535ae0(0xb5)]<_0x3f55c7:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x2ca54c){const _0x3a60c3=a18_0x2f992b,_0x295691=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x2ca54c),_0x4a4eaa=_0x295691['blacklist'],_0x408328=_0x295691[_0x3a60c3(0x13f)];_0x4a4eaa?.['length']&&this[_0x3a60c3(0x134)]['debug'](_0x3a60c3(0x19f),_0x4a4eaa[_0x3a60c3(0x13e)]('\x0a\x09')),_0x408328?.[_0x3a60c3(0x145)]&&this[_0x3a60c3(0x134)][_0x3a60c3(0xc5)](_0x3a60c3(0x14b),_0x408328[_0x3a60c3(0x13e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3a60c3(0xff))](_0x4a4eaa,_0x408328,this[_0x3a60c3(0x178)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0xad8927){const _0x1fa5df=a18_0x2f992b,_0x167f3d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1fa5df(0x11b)](_0xad8927);_0x167f3d?.[_0x1fa5df(0x145)]&&this['logger']['debug'](_0x1fa5df(0x183),_0x167f3d[_0x1fa5df(0x120)](_0x5ceeb5=>_0x1fa5df(0xa1)+_0x5ceeb5['name']+_0x1fa5df(0x19d)+_0x5ceeb5[_0x1fa5df(0x170)]+_0x1fa5df(0xc0)+_0x5ceeb5[_0x1fa5df(0x10c)]+_0x1fa5df(0x14e)+_0x5ceeb5[_0x1fa5df(0xb7)])[_0x1fa5df(0x13e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x1fa5df(0xcc))](this[_0x1fa5df(0x134)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1fa5df(0xf8)](_0x167f3d);},_Debuglet_stringify=function _Debuglet_stringify(_0x357c4d){const _0x1b4c15=a18_0x2f992b;if(!_0x357c4d)return JSON['stringify'](_0x357c4d,(_0x5ea59a,_0x5caebf)=>_0x5caebf===undefined?_0x1b4c15(0x15c):_0x5caebf);if(Array[_0x1b4c15(0xb1)](_0x357c4d)){const _0x315be2=_0x357c4d[_0x1b4c15(0x120)](_0x25404b=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x25404b));return'['+_0x315be2[_0x1b4c15(0x13e)](',\x20')+']';}if(typeof _0x357c4d===_0x1b4c15(0x12f)){const _0x4ad0e5=Object['entries'](_0x357c4d)[_0x1b4c15(0x120)](([_0x8716af,_0x463dd7])=>{const _0x482739=_0x1b4c15,_0x526cc8=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x482739(0x1aa)](_0x8716af)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x482739(0x135)](this,_0x463dd7);return JSON[_0x482739(0x156)](_0x8716af)+':\x20'+_0x526cc8;})['join'](',\x20');return'{'+_0x4ad0e5+'}';}return JSON['stringify'](_0x357c4d);});
|
|
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));
|