lightrun 1.89.0 → 1.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +12 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a15_0x3b37(_0x35402c,_0x7fee03){const _0x3518b8=a15_0x2005();return a15_0x3b37=function(_0x20437c,_0x2887ea){_0x20437c=_0x20437c-0x1a1;let _0x200514=_0x3518b8[_0x20437c];return _0x200514;},a15_0x3b37(_0x35402c,_0x7fee03);}const a15_0x3b8c37=a15_0x3b37;(function(_0x2262f4,_0x5883d4){const _0x4ad1f2=a15_0x3b37,_0x9a737c=_0x2262f4();while(!![]){try{const _0x155af8=parseInt(_0x4ad1f2(0x1a8))/0x1*(-parseInt(_0x4ad1f2(0x1a4))/0x2)+-parseInt(_0x4ad1f2(0x1a9))/0x3*(-parseInt(_0x4ad1f2(0x1a3))/0x4)+parseInt(_0x4ad1f2(0x1ac))/0x5+parseInt(_0x4ad1f2(0x1ab))/0x6+-parseInt(_0x4ad1f2(0x1b0))/0x7+-parseInt(_0x4ad1f2(0x1a5))/0x8+parseInt(_0x4ad1f2(0x1a2))/0x9;if(_0x155af8===_0x5883d4)break;else _0x9a737c['push'](_0x9a737c['shift']());}catch(_0x4aac76){_0x9a737c['push'](_0x9a737c['shift']());}}}(a15_0x2005,0x246ba));const a15_0x2887ea=(function(){let _0x4fd63f=!![];return function(_0x176183,_0xebe7c7){const _0x2c6745=_0x4fd63f?function(){const _0x1f701b=a15_0x3b37;if(_0xebe7c7){const _0xaf4353=_0xebe7c7[_0x1f701b(0x1ae)](_0x176183,arguments);return _0xebe7c7=null,_0xaf4353;}}:function(){};return _0x4fd63f=![],_0x2c6745;};}()),a15_0x20437c=a15_0x2887ea(this,function(){const _0x1325ce=a15_0x3b37;return a15_0x20437c[_0x1325ce(0x1af)]()[_0x1325ce(0x1ad)](_0x1325ce(0x1aa))[_0x1325ce(0x1af)]()['constructor'](a15_0x20437c)[_0x1325ce(0x1ad)](_0x1325ce(0x1aa));});a15_0x20437c();'use strict';function a15_0x2005(){const _0x39e1a3=['37430xmTNKO','1476784jYvMFA','push','defineProperty','8StHUoT','63087GXgBSM','(((.+)+)+)+$','133554Blnrgr','824495rBeuVT','search','apply','toString','1460207GgLjZT','mapSubtract','2841102IQSbiA','36KAGeMw'];a15_0x2005=function(){return _0x39e1a3;};return a15_0x2005();}Object[a15_0x3b8c37(0x1a7)](exports,'__esModule',{'value':!![]}),exports[a15_0x3b8c37(0x1a1)]=void 0x0;const mapSubtract=(_0x360fa7,_0x13c147)=>{const _0x2749c8=a15_0x3b8c37,_0x59c192=[];for(const _0x67098b in _0x360fa7){!_0x13c147[_0x67098b]&&_0x59c192[_0x2749c8(0x1a6)](_0x360fa7[_0x67098b]);}return _0x59c192;};exports[a15_0x3b8c37(0x1a1)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x49f3fa=a16_0x5b13;function a16_0x5b13(_0x11fdec,_0x3d75dc){const _0x2e54a0=a16_0x15ea();return a16_0x5b13=function(_0x276694,_0x1f4e5f){_0x276694=_0x276694-0x105;let _0x15ea9b=_0x2e54a0[_0x276694];return _0x15ea9b;},a16_0x5b13(_0x11fdec,_0x3d75dc);}(function(_0x42442b,_0x2266ee){const _0x3694eb=a16_0x5b13,_0x346474=_0x42442b();while(!![]){try{const _0x50c5cc=-parseInt(_0x3694eb(0x116))/0x1*(-parseInt(_0x3694eb(0x128))/0x2)+parseInt(_0x3694eb(0x13b))/0x3*(parseInt(_0x3694eb(0x135))/0x4)+-parseInt(_0x3694eb(0x146))/0x5*(-parseInt(_0x3694eb(0x11f))/0x6)+-parseInt(_0x3694eb(0x141))/0x7+parseInt(_0x3694eb(0x145))/0x8*(-parseInt(_0x3694eb(0x127))/0x9)+parseInt(_0x3694eb(0x11c))/0xa+-parseInt(_0x3694eb(0x119))/0xb*(parseInt(_0x3694eb(0x115))/0xc);if(_0x50c5cc===_0x2266ee)break;else _0x346474['push'](_0x346474['shift']());}catch(_0x5569dc){_0x346474['push'](_0x346474['shift']());}}}(a16_0x15ea,0xb11d1));const a16_0x1f4e5f=(function(){let _0x38b088=!![];return function(_0x4991ae,_0x1b605a){const _0x1bdc96=_0x38b088?function(){const _0x4d9b54=a16_0x5b13;if(_0x1b605a){const _0x392964=_0x1b605a[_0x4d9b54(0x109)](_0x4991ae,arguments);return _0x1b605a=null,_0x392964;}}:function(){};return _0x38b088=![],_0x1bdc96;};}()),a16_0x276694=a16_0x1f4e5f(this,function(){const _0x3de719=a16_0x5b13;return a16_0x276694[_0x3de719(0x13c)]()[_0x3de719(0x124)](_0x3de719(0x10b))[_0x3de719(0x13c)]()[_0x3de719(0x12a)](a16_0x276694)[_0x3de719(0x124)](_0x3de719(0x10b));});a16_0x276694();'use strict';Object[a16_0x49f3fa(0x12d)](exports,a16_0x49f3fa(0x144),{'value':!![]}),exports[a16_0x49f3fa(0x13d)]=exports[a16_0x49f3fa(0x131)]=void 0x0;const extend=require(a16_0x49f3fa(0x11d)),config_1=require(a16_0x49f3fa(0x11b)),utils_1=require(a16_0x49f3fa(0x140)),getAgentConfig_1=require(a16_0x49f3fa(0x11a)),limitConfig_1=require(a16_0x49f3fa(0x142)),validateConfig=_0x3b4830=>{const _0x44bc26=a16_0x49f3fa,_0x3a76b6={};try{config_1['configSchema'][_0x44bc26(0x106)](_0x3b4830,{'abortEarly':![]});}catch(_0x441b02){_0x441b02[_0x44bc26(0x10d)]['filter'](_0x5c9232=>_0x5c9232['path']&&_0x5c9232[_0x44bc26(0x132)])[_0x44bc26(0x110)](_0xe171a7=>{const _0x2ce421=_0x44bc26;_0x3a76b6[_0xe171a7['path']]=_0xe171a7[_0x2ce421(0x132)];});}return _0x3a76b6;};function a16_0x15ea(){const _0x26b419=['agentLogMaxFileSizeMb','validateConfig','message','LIGHTRUN_WAIT_FOR_INIT','K_REVISION','4GMXkbE','registration','LIGHTRUN_METADATA_FILE','serviceContext','LIGHTRUN_PROXY_USERNAME','getBooleanValue','1411419yyIsYP','toString','normalizeConfig','AGENT_LOG_TARGET_DIR','AGENT_LOG_MAX_FILE_SIZE_MB','../util/utils','3178413JXEyBw','./limitConfig','LIGHTRUN_INIT_WAIT_TIME_MS','__esModule','3816ZYDCDJ','635hRrKMg','limitConfig','version','validateSync','GAE_SERVICE','LIGHTRUN_PROXY_PORT','apply','stdErrThreshold','(((.+)+)+)+$','K_SERVICE','inner','split','FETCH_BREAKPOINTS_ONCE','forEach','agentConfigFile','env','LIGHTRUN_AGENT_CONFIG','getAgentConfig','318756SIJzVr','321756pnlLDj','service','agentLog','407lGxixM','./getAgentConfig','../config','5897180mhfPmJ','extend','LIGHTRUN_STD_ERR_THRESHOLD','44214yCZPYh','AGENT_LOG_MAX_FILE_COUNT','GAE_MINOR_VERSION','NO_CHECK_CERTIFICATE','AGENT_LOG_LEVEL','search','unversioned','metadata','15075VhoITg','6XSSXIz','agentLogTargetDir','constructor','LIGHTRUN_TAGS','FUNCTION_NAME','defineProperty','LIGHTRUN_PROXY_PASSWORD','defaultConfig'];a16_0x15ea=function(){return _0x26b419;};return a16_0x15ea();}exports['validateConfig']=validateConfig;const normalizeConfig=_0x14659b=>{const _0x5d9a9f=a16_0x49f3fa,_0x302908={'serviceContext':{'service':process[_0x5d9a9f(0x112)][_0x5d9a9f(0x107)]??process['env']['GAE_MODULE_NAME']??process[_0x5d9a9f(0x112)][_0x5d9a9f(0x10c)],'version':process[_0x5d9a9f(0x112)]['GAE_VERSION']??process[_0x5d9a9f(0x112)]['GAE_MODULE_VERSION']??process[_0x5d9a9f(0x112)][_0x5d9a9f(0x134)],'minorVersion_':process[_0x5d9a9f(0x112)]['GAE_DEPLOYMENT_ID']??process[_0x5d9a9f(0x112)][_0x5d9a9f(0x121)]},'metadata':{'filename':process[_0x5d9a9f(0x112)][_0x5d9a9f(0x137)],'registration':{}},'lightrunSecret':process[_0x5d9a9f(0x112)]['LIGHTRUN_SECRET'],'apiEndpoint':process[_0x5d9a9f(0x112)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x5d9a9f(0x13a)])(process[_0x5d9a9f(0x112)][_0x5d9a9f(0x122)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x5d9a9f(0x13a)])(process[_0x5d9a9f(0x112)][_0x5d9a9f(0x10f)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process['env'][_0x5d9a9f(0x133)]),'lightrunInitWaitTimeMs':process[_0x5d9a9f(0x112)][_0x5d9a9f(0x143)],'agentLog':_0x14659b?.['agentLog']??{},'proxy':{'host':process[_0x5d9a9f(0x112)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x5d9a9f(0x112)][_0x5d9a9f(0x108)]??'')||undefined,'username':process[_0x5d9a9f(0x112)][_0x5d9a9f(0x139)],'password':process[_0x5d9a9f(0x112)][_0x5d9a9f(0x12e)]}};process['env'][_0x5d9a9f(0x11e)]!==undefined&&(_0x302908[_0x5d9a9f(0x118)][_0x5d9a9f(0x10a)]=process[_0x5d9a9f(0x112)]['LIGHTRUN_STD_ERR_THRESHOLD']);process['env'][_0x5d9a9f(0x123)]!==undefined&&(_0x302908[_0x5d9a9f(0x118)]['agentLogLevel']=process[_0x5d9a9f(0x112)][_0x5d9a9f(0x123)]);process[_0x5d9a9f(0x112)][_0x5d9a9f(0x13e)]!==undefined&&(_0x302908[_0x5d9a9f(0x118)][_0x5d9a9f(0x129)]=process['env'][_0x5d9a9f(0x13e)]);process[_0x5d9a9f(0x112)][_0x5d9a9f(0x120)]!==undefined&&(_0x302908[_0x5d9a9f(0x118)]['agentLogMaxFileCount']=parseInt(process[_0x5d9a9f(0x112)][_0x5d9a9f(0x120)]));process['env'][_0x5d9a9f(0x13f)]!==undefined&&(_0x302908['agentLog'][_0x5d9a9f(0x130)]=parseInt(process[_0x5d9a9f(0x112)][_0x5d9a9f(0x13f)]));process[_0x5d9a9f(0x112)][_0x5d9a9f(0x12c)]&&(_0x302908[_0x5d9a9f(0x138)][_0x5d9a9f(0x117)]=process[_0x5d9a9f(0x112)][_0x5d9a9f(0x12c)],_0x302908['serviceContext'][_0x5d9a9f(0x105)]=_0x5d9a9f(0x125));process[_0x5d9a9f(0x112)][_0x5d9a9f(0x12b)]&&(_0x302908[_0x5d9a9f(0x126)][_0x5d9a9f(0x136)]={'tags':process[_0x5d9a9f(0x112)][_0x5d9a9f(0x12b)][_0x5d9a9f(0x10e)](',')});const _0x2456f4=(0x0,getAgentConfig_1[_0x5d9a9f(0x114)])(process['env'][_0x5d9a9f(0x113)]??_0x14659b?.[_0x5d9a9f(0x111)]??config_1[_0x5d9a9f(0x12f)][_0x5d9a9f(0x111)]),_0x489994=(0x0,limitConfig_1[_0x5d9a9f(0x147)])(extend(!![],{},config_1['defaultConfig'],_0x2456f4,_0x14659b,_0x302908)),_0x2d645c=(0x0,exports[_0x5d9a9f(0x131)])(_0x489994);return{..._0x489994,'errors':_0x2d645c};};exports['normalizeConfig']=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a17_0xd93767=a17_0x4576;function a17_0x4d59(){const _0x28eea9=['./delimit','75NvLKrA','constructor','33359414YsQVhC','872221zMZfQH','2257440IDzEtt','2923353aTvxRA','tokenize','search','14163129VieuZr','1066oPCBNu','defineProperty','apply','__esModule','4rWvVhF','1593190VbiLWJ','delimit','toString','66mNPjzR','(((.+)+)+)+$','10QecowP','push'];a17_0x4d59=function(){return _0x28eea9;};return a17_0x4d59();}(function(_0x225e1f,_0x18a1be){const _0x4964ca=a17_0x4576,_0x2b6834=_0x225e1f();while(!![]){try{const _0x5273eb=-parseInt(_0x4964ca(0x1bb))/0x1*(parseInt(_0x4964ca(0x1c4))/0x2)+parseInt(_0x4964ca(0x1c0))/0x3+-parseInt(_0x4964ca(0x1b2))/0x4*(parseInt(_0x4964ca(0x1b3))/0x5)+parseInt(_0x4964ca(0x1b6))/0x6*(-parseInt(_0x4964ca(0x1be))/0x7)+parseInt(_0x4964ca(0x1bf))/0x8+-parseInt(_0x4964ca(0x1c3))/0x9+-parseInt(_0x4964ca(0x1b8))/0xa*(-parseInt(_0x4964ca(0x1bd))/0xb);if(_0x5273eb===_0x18a1be)break;else _0x2b6834['push'](_0x2b6834['shift']());}catch(_0x18a59e){_0x2b6834['push'](_0x2b6834['shift']());}}}(a17_0x4d59,0xf0d0a));const a17_0x3eb203=(function(){let _0x544ec8=!![];return function(_0x2e1638,_0x4ec1f6){const _0x5405ac=_0x544ec8?function(){const _0x4fe473=a17_0x4576;if(_0x4ec1f6){const _0x3e52a1=_0x4ec1f6[_0x4fe473(0x1c6)](_0x2e1638,arguments);return _0x4ec1f6=null,_0x3e52a1;}}:function(){};return _0x544ec8=![],_0x5405ac;};}()),a17_0x496768=a17_0x3eb203(this,function(){const _0x3b1231=a17_0x4576;return a17_0x496768[_0x3b1231(0x1b5)]()[_0x3b1231(0x1c2)](_0x3b1231(0x1b7))['toString']()[_0x3b1231(0x1bc)](a17_0x496768)[_0x3b1231(0x1c2)](_0x3b1231(0x1b7));});a17_0x496768();'use strict';Object[a17_0xd93767(0x1c5)](exports,a17_0xd93767(0x1c7),{'value':!![]}),exports['tokenize']=void 0x0;function a17_0x4576(_0x4296f7,_0x37b002){const _0x42f4fe=a17_0x4d59();return a17_0x4576=function(_0x496768,_0x3eb203){_0x496768=_0x496768-0x1b2;let _0x4d59a9=_0x42f4fe[_0x496768];return _0x4d59a9;},a17_0x4576(_0x4296f7,_0x37b002);}const delimit_1=require(a17_0xd93767(0x1ba)),tokenize=(_0x509f44,_0x298bde)=>{const _0x9d0ab9=a17_0xd93767;let _0x31c814=(0x0,delimit_1[_0x9d0ab9(0x1b4)])(_0x509f44,'$$');for(let _0x507e59=_0x298bde-0x1;_0x507e59>=0x0;_0x507e59--){const _0x55632e=[];for(const _0x4ed8de of _0x31c814){_0x4ed8de['v']?_0x55632e[_0x9d0ab9(0x1b9)](_0x4ed8de):_0x55632e[_0x9d0ab9(0x1b9)](...(0x0,delimit_1[_0x9d0ab9(0x1b4)])(_0x4ed8de,'$'+_0x507e59));}_0x31c814=_0x55632e;}return _0x31c814;};exports[a17_0xd93767(0x1c1)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x1d642c=a18_0x2d77;(function(_0x1255b2,_0xfedc15){const _0x132992=a18_0x2d77,_0x13d42d=_0x1255b2();while(!![]){try{const _0x455c1a=-parseInt(_0x132992(0x198))/0x1+parseInt(_0x132992(0x21a))/0x2+parseInt(_0x132992(0x1ff))/0x3*(parseInt(_0x132992(0x218))/0x4)+-parseInt(_0x132992(0x240))/0x5+-parseInt(_0x132992(0x1a6))/0x6+-parseInt(_0x132992(0x233))/0x7*(-parseInt(_0x132992(0x1bd))/0x8)+parseInt(_0x132992(0x138))/0x9;if(_0x455c1a===_0xfedc15)break;else _0x13d42d['push'](_0x13d42d['shift']());}catch(_0x15ca30){_0x13d42d['push'](_0x13d42d['shift']());}}}(a18_0x4e7c,0xe821a));const a18_0x855c2=(function(){let _0x5af7e0=!![];return function(_0x103b0b,_0x2ceba5){const _0x12bc4c=_0x5af7e0?function(){const _0x3cb088=a18_0x2d77;if(_0x2ceba5){const _0x9ff683=_0x2ceba5[_0x3cb088(0x16c)](_0x103b0b,arguments);return _0x2ceba5=null,_0x9ff683;}}:function(){};return _0x5af7e0=![],_0x12bc4c;};}()),a18_0x335971=a18_0x855c2(this,function(){const _0xced976=a18_0x2d77;return a18_0x335971[_0xced976(0x1c3)]()[_0xced976(0x15d)](_0xced976(0x170))['toString']()['constructor'](a18_0x335971)['search'](_0xced976(0x170));});function a18_0x4e7c(){const _0x36b603=['breakpoints_fetch_registration_required','fetchBreakpointsOnce','stop','now','addAndPipeLog','posix','push','Breakpoint','\x20to\x20','./debuglet-helpers/mapSubtract','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','isReadyManager','logLevel','788080ngqPNn','setBlocklistManager','2889020XIzTDw','setLevel','\x0a\x09condition:\x20','.\x20message:\x20','promiseResolve','sendAgentLogsToServer','.\x20Retrying\x20in\x20','collectAndSendLog','stopped','getSourceContextFromFile','Initializing\x20Node.js\x20agent\x20version:\x20','QuotaManager','UNSPECIFIED','wait','start','Controller','PipingManager','fromFileStats','removePerBreakpointQuota','./debuglet-helpers/createDebuggee','assert','\x20(type:\x20','values','deregister','call','7xGrSvu','sourceMapDiagnostics','pipingManager','Switching\x20globalPiping\x20status\x20from\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','name:\x20','status','GAE-','./configuration-provider','packageInfo','entries','../types/stackdriver','undefined','7047115CNXZug','default','caseInsensitive','scheduleBreakpointFetch_\x20','\x20completed.','globalPipingStatus','SIGINT','Error\x20processing\x20the\x20sourcemaps.','GAE_MINOR_VERSION','split','env','pipeLogs','pid','message','initError','\x20caseInsensitive:\x20','Redactions:\x20\x0a\x09','allowRootAsWorkingDirectory','events','debuggee','AGENT_LOG_FILE','agentLog','reporting\x20breakpoint\x20','debug','2907783xhAsag','javascriptFileExtensions','normalize','createDebuggee','started','Fetching\x20breakpoints','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','breakpoints_fetch_failed','warn','js.map','function','waitForTransmissionQueueDrain','logger','beforeExit','getRedactions','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','ALLOW_EXPRESSIONS_MESSAGE','once','Starting\x20debuggee','error','value','listBreakpoints','CAPTURE','expirationTime','getBlocklist','hash','expressions','getInitialLevel','ignoreQuota','readFile','enqueueBreakpointUpdate','RedactionManagerRE2JS','\x09successfully\x20added\x20breakpoint\x20id\x20','CachedPromise','blacklist','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','isLambda','search','./quota-manager','substring','remainingHits','./reduction/redaction-manager-re2js','parse','Working\x20directory:\x20','path','Failed\x20to\x20','breakpoints','replace','mapSubtract','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','create','forEach','apply','util','quotaRecoverySeconds','kill','(((.+)+)+)+$','./controller','./agent-logger','__classPrivateFieldSet','Private\x20method\x20is\x20not\x20writable','maxRequestRetryDelaySeconds','fromEntries','Expiring\x20breakpoint\x20id\x20','isArray','allowExpressions','stringifyBreakpointForInfoLog','add','./io/scanner','replaceRedactedByValue','breakpoints_fetched','breakpointUpdateIntervalSec','parameters','registration_failed','isRegistered','blacklist_exception','set','location','backoff','seconds','stdErrThreshold','setIgnoreQuota','.\x20Error:\x20','\x09adding\x20breakpoint','unref','workingDirectory','LOG','selectStats','activeBreakpointMap','pattern','\x20because\x20','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','SIGTERM','\x0a\x09expressions:\x20','Registering\x20debuggee','agentLogMaxFileCount','953935WybcRO','./reduction/redaction-manager','register','mapFiles','then','join','all','name','./io/sourcemapper','get','activeFeatures','promise','normalizeConfig','Result:\x20\x0a','2963490AwjpkJ','createTime','EventEmitter','./util/utils','clientConnectionTimeoutInSeconds','register\x20debuggee','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','clear','format','NOT_SET','has','Debuglet\x20not\x20running','getLevel','info','Unique\x20ID\x20for\x20this\x20Application:\x20','length','removeListener','do\x20this.','isFinalState','internal','isReady','Scheduling\x20registration\x20in\x20','isRunning','14747728uaDket','map','defineProperty','quota','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','waitForBreakpoints','toString','DEBUG','description','config','REDACTED_PLACEHOLDER','re-register\x20debuggee\x20','filter','resolve','mainModule','EnvironmentMetadata','Malformed\x20source-context.json\x20file:\x20','Blacklist:\x20\x0a\x09','Debuglet','ConfigurationProvider','isRedactionActive','getClientConnectionTimeoutInSeconds','sourceContext','readFullVersion','LOGPOINT:\x20','isError','action','waitFor','Disabled\x20by\x20the\x20server','quotaCheck','concat','setPatterns','bind','\x09Got\x20error\x20from\x20server.\x20status:\x20','condition','StatusMessage','jsFileIndex','debuglet','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','agentLogLevel','agentLogTargetDir','collectLogRequestId','./io/file-index','./debuglet-helpers/format','./v8/debugapi','sep','extend','./environment-metadata','stringify','expirationSeconds','\x09Long\x20poll\x20completed.','object','createPerBreakpointConditionQuota','promisify','emit','disable','Active\x20Breakpoints:\x20\x0a','source-context.json','enable','\x09Notifying\x20server\x20about\x20error\x20for\x20','errors','inspect','fetcherActive','removeBreakpoint','breakpointExpirationSec','isAtLeastInfo','3SIsQBm','extraPaths','log','breakpoint_set','SIGQUIT','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','line','rejecting\x20breakpoint\x20id\x20','Blacklist\x20Exceptions:\x20\x0a\x09','Unknown\x20agentLogLevel\x20','./blocklisting/patterns-blocklist-manager','pipingStatus'];a18_0x4e7c=function(){return _0x36b603;};return a18_0x4e7c();}a18_0x335971();'use strict';var __classPrivateFieldSet=this&&this[a18_0x1d642c(0x173)]||function(_0x2b5809,_0x1fe45f,_0x3e57c0,_0x2d4703,_0x101fc1){const _0x134d2d=a18_0x1d642c;if(_0x2d4703==='m')throw new TypeError(_0x134d2d(0x174));if(_0x2d4703==='a'&&!_0x101fc1)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x1fe45f===_0x134d2d(0x142)?_0x2b5809!==_0x1fe45f||!_0x101fc1:!_0x1fe45f['has'](_0x2b5809))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x2d4703==='a'?_0x101fc1[_0x134d2d(0x232)](_0x2b5809,_0x3e57c0):_0x101fc1?_0x101fc1[_0x134d2d(0x14c)]=_0x3e57c0:_0x1fe45f[_0x134d2d(0x184)](_0x2b5809,_0x3e57c0),_0x3e57c0;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x21fb72,_0xf550d9,_0x47bfcc,_0x1a3f93){const _0x50f4ef=a18_0x1d642c;if(_0x47bfcc==='a'&&!_0x1a3f93)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0xf550d9==='function'?_0x21fb72!==_0xf550d9||!_0x1a3f93:!_0xf550d9[_0x50f4ef(0x1b0)](_0x21fb72))throw new TypeError(_0x50f4ef(0x193));return _0x47bfcc==='m'?_0x1a3f93:_0x47bfcc==='a'?_0x1a3f93[_0x50f4ef(0x232)](_0x21fb72):_0x1a3f93?_0x1a3f93[_0x50f4ef(0x14c)]:_0xf550d9[_0x50f4ef(0x1a1)](_0x21fb72);},_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_0x1d642c(0x1bf)](exports,'__esModule',{'value':!![]}),exports[a18_0x1d642c(0x1cf)]=exports[a18_0x1d642c(0x159)]=void 0x0;const assert=require(a18_0x1d642c(0x22e)),events_1=require(a18_0x1d642c(0x252)),extend=require(a18_0x1d642c(0x1eb)),fs=require('fs'),path=require(a18_0x1d642c(0x164)),util=require(a18_0x1d642c(0x16d)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a18_0x1d642c(0x23e)),agent_logger_1=require(a18_0x1d642c(0x172)),patterns_blocklist_manager_1=require(a18_0x1d642c(0x209)),config_1=require('./config'),configuration_provider_1=require(a18_0x1d642c(0x23b)),controller_1=require(a18_0x1d642c(0x171)),createDebuggee_1=require(a18_0x1d642c(0x22d)),format_1=require(a18_0x1d642c(0x1e8)),mapSubtract_1=require(a18_0x1d642c(0x214)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),environment_metadata_1=require(a18_0x1d642c(0x1ec)),file_index_1=require(a18_0x1d642c(0x1e7)),scanner_1=require(a18_0x1d642c(0x17c)),SourceMapper=require(a18_0x1d642c(0x1a0)),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a18_0x1d642c(0x15e)),redaction_manager_1=require(a18_0x1d642c(0x199)),utils_1=require(a18_0x1d642c(0x1a9)),debugapi=require(a18_0x1d642c(0x1e9)),redaction_manager_re2js_1=require(a18_0x1d642c(0x161)),readFilep=util[a18_0x1d642c(0x1f2)](fs[a18_0x1d642c(0x155)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0xf97b0,_0x2afb07)=>{const _0x36eb4e=a18_0x1d642c;let _0x1d6356=_0xf97b0+util[_0x36eb4e(0x1ae)](_0x36eb4e(0x13e),_0x2afb07['id'],_0x2afb07[_0x36eb4e(0x1d7)],util['inspect'](_0x2afb07[_0x36eb4e(0x185)]));if(_0x2afb07[_0x36eb4e(0x1a7)]){const _0x265c2d=Number(_0x2afb07[_0x36eb4e(0x1a7)]['seconds']),_0x71df0f=new Date(_0x265c2d*0x3e8);_0x1d6356+='\x0a\x09createdTime:\x20'+_0x71df0f[_0x36eb4e(0x1c3)]();}return _0x2afb07['condition']&&(_0x1d6356+=_0x36eb4e(0x21c)+util[_0x36eb4e(0x1fa)](_0x2afb07['condition'])),_0x2afb07[_0x36eb4e(0x152)]&&(_0x1d6356+=_0x36eb4e(0x195)+util[_0x36eb4e(0x1fa)](_0x2afb07[_0x36eb4e(0x152)])),_0x1d6356;},formatBreakpoints=(_0x4dcda7,_0x5615d5)=>_0x4dcda7+Object['keys'](_0x5615d5)[a18_0x1d642c(0x1be)](_0xed68bd=>formatBreakpoint('',_0x5615d5[_0xed68bd]))['join']('\x0a');class CachedPromise{constructor(){const _0x3043b0=a18_0x1d642c;this[_0x3043b0(0x21e)]=null,this[_0x3043b0(0x1a3)]=new Promise(_0x388a77=>{this['promiseResolve']=_0x388a77;});}[a18_0x1d642c(0x1a1)](){const _0x620f9=a18_0x1d642c;return this[_0x620f9(0x1a3)];}[a18_0x1d642c(0x1ca)](){const _0x5db8c5=a18_0x1d642c;this[_0x5db8c5(0x21e)]&&(this[_0x5db8c5(0x21e)](),this[_0x5db8c5(0x21e)]=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x4b0e3e){const _0x17a0b0=a18_0x1d642c;this[_0x17a0b0(0x1e2)]=_0x4b0e3e;}['isReady'](){const _0x27b106=a18_0x1d642c;return this['debuglet'][_0x27b106(0x1ba)]();}}function a18_0x2d77(_0x1316a0,_0xab5f42){const _0x40bd5d=a18_0x4e7c();return a18_0x2d77=function(_0x335971,_0x855c2){_0x335971=_0x335971-0x133;let _0x4e7c9b=_0x40bd5d[_0x335971];return _0x4e7c9b;},a18_0x2d77(_0x1316a0,_0xab5f42);}class Debuglet extends events_1[a18_0x1d642c(0x1a8)]{constructor(_0x35e779,_0x4e7f87){const _0x4cbfb9=a18_0x1d642c;super(),_Debuglet_instances[_0x4cbfb9(0x17b)](this),_Debuglet_debug[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_v8debug[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_running[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_breakpointFetched[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x4cbfb9(0x184)](this,null),this[_0x4cbfb9(0x216)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_scanner[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_quotaManager[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_blocklistManager[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_redactionManager[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_configProvider[_0x4cbfb9(0x184)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x4cbfb9(0x184)](this,void 0x0),this[_0x4cbfb9(0x1c6)]=(0x0,normalizeConfig_1[_0x4cbfb9(0x1a4)])(_0x4e7f87),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x4cbfb9(0x1d0))](this[_0x4cbfb9(0x1c6)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x35e779,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4cbfb9(0x1fb)]=![],this[_0x4cbfb9(0x144)]=agent_logger_1[_0x4cbfb9(0x241)]['createLogger'](this[_0x4cbfb9(0x1c6)][_0x4cbfb9(0x135)][_0x4cbfb9(0x1e5)],this[_0x4cbfb9(0x1c6)][_0x4cbfb9(0x135)]['agentLogMaxFileSizeMb'],this[_0x4cbfb9(0x1c6)][_0x4cbfb9(0x135)][_0x4cbfb9(0x197)],this[_0x4cbfb9(0x1c6)][_0x4cbfb9(0x135)]['agentLogLevel'],this[_0x4cbfb9(0x1c6)]['agentLog'][_0x4cbfb9(0x188)]),(0x0,config_1['logMainConfigParams'])(this['config'],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x4cbfb9(0x1cc))](this[_0x4cbfb9(0x144)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x4cbfb9(0x229))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x4cbfb9(0x1c6)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0x4cbfb9(0x144)]),'f'),this[_0x4cbfb9(0x133)]=null,this[_0x4cbfb9(0x190)]={},__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[(_0x4cbfb9(0x225))](this[_0x4cbfb9(0x144)],this[_0x4cbfb9(0x1c6)]),'f'),this[_0x4cbfb9(0x235)]=new piping_manager_1[(_0x4cbfb9(0x22a))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x4cbfb9(0x1c6)]);}async[a18_0x1d642c(0x143)](_0x41cf1a){const _0x2303ff=a18_0x1d642c;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2303ff(0x143)](_0x41cf1a);}[a18_0x1d642c(0x1d2)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x1d642c(0x1c2)](_0x568586){const _0x121e0f=a18_0x1d642c,_0x45c1e7=0x32;let _0x357b47=null;const _0x1e506c=()=>_0x357b47=!![],_0x27494a=()=>_0x357b47=![],_0x4b1ee2=_0x24cbd3=>{if(_0x24cbd3)return;_0x1e506c();};let _0x445968=![];const _0x1af510=_0x23efe1=>{const _0x46b8f9=a18_0x2d77;_0x445968&&_0x27494a(),_0x445968=!![],this[_0x46b8f9(0x19a)]();};this[_0x121e0f(0x149)]('breakpoints_fetched',_0x4b1ee2),this[_0x121e0f(0x149)]('breakpoint_set',_0x1e506c);this[_0x121e0f(0x1c6)][_0x121e0f(0x1b9)]?.[_0x121e0f(0x15c)]&&(this[_0x121e0f(0x149)](_0x121e0f(0x181),_0x27494a),this[_0x121e0f(0x149)]('breakpoints_fetch_failed',_0x27494a),this['once'](_0x121e0f(0x20b),_0x1af510));if(_0x568586){const _0x419a99=Date[_0x121e0f(0x20e)]();while(_0x357b47===null&&Date['now']()-_0x419a99<_0x568586){await(0x0,utils_1[_0x121e0f(0x1d8)])(_0x45c1e7);}}return this[_0x121e0f(0x1b6)](_0x121e0f(0x17e),_0x4b1ee2),this[_0x121e0f(0x1b6)](_0x121e0f(0x202),_0x1e506c),this[_0x121e0f(0x1c6)][_0x121e0f(0x1b9)]?.[_0x121e0f(0x15c)]&&(this['removeListener'](_0x121e0f(0x181),_0x27494a),this[_0x121e0f(0x1b6)](_0x121e0f(0x13f),_0x27494a),this[_0x121e0f(0x1b6)](_0x121e0f(0x20b),_0x1af510)),_0x357b47===!![];}['fetchBreakpointsOnce'](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}[a18_0x1d642c(0x182)](){const _0x1bfdd0=a18_0x1d642c;return this[_0x1bfdd0(0x133)]?.['id']!==undefined;}async['findFiles'](_0x3527a0,_0x2f3f6e){const _0x32711c=a18_0x1d642c,_0x211b09=_0x3527a0[_0x32711c(0x18d)],_0x5035ef=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x211b09,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x32711c(0x232)](_a,_0x3527a0['javascriptFileExtensions'][_0x32711c(0x1db)](_0x32711c(0x141))),_0x2f3f6e,_0x3527a0[_0x32711c(0x200)]),_0x1e66b2=_0x5035ef[_0x32711c(0x18f)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x32711c(0x232)](_a,_0x3527a0[_0x32711c(0x139)])),_0x47c3cf=file_index_1['FileIndex'][_0x32711c(0x22b)](_0x1e66b2),_0x40b1a5=_0x5035ef['selectFiles'](/.js.map$/,process['cwd']()),_0x53fb21=_0x5035ef[_0x32711c(0x1f9)]();return{'mapFiles':_0x40b1a5,'errors':_0x53fb21,'jsFileIndex':_0x47c3cf,'hash':_0x5035ef[_0x32711c(0x151)]};}async[a18_0x1d642c(0x228)](){const _0x2c3ada=a18_0x1d642c,_0x71b6d9=this[_0x2c3ada(0x1c6)]['workingDirectory'];if(!this[_0x2c3ada(0x1c6)][_0x2c3ada(0x251)]&&path[_0x2c3ada(0x19d)](_0x71b6d9,'..')===_0x71b6d9){const _0x2b1f86='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x2c3ada(0x1c1)+_0x2c3ada(0x169)+_0x2c3ada(0x1b7);this['logger'][_0x2c3ada(0x14b)](_0x2b1f86),this[_0x2c3ada(0x1f3)](_0x2c3ada(0x24e),new Error(_0x2b1f86));return;}let _0x3c4f77;process[_0x2c3ada(0x24a)]['GAE_MINOR_VERSION']&&(_0x3c4f77=_0x2c3ada(0x23a)+process[_0x2c3ada(0x24a)][_0x2c3ada(0x248)]);let _0x4cb84d,_0x432d56=_0x3c4f77??'';try{_0x4cb84d=await this['findFiles'](this[_0x2c3ada(0x1c6)],_0x3c4f77),_0x4cb84d['errors'][_0x2c3ada(0x16b)](this[_0x2c3ada(0x144)][_0x2c3ada(0x140)]);}catch(_0x544add){this[_0x2c3ada(0x144)][_0x2c3ada(0x14b)]('Error\x20scanning\x20the\x20filesystem.',_0x544add),this[_0x2c3ada(0x1f3)](_0x2c3ada(0x24e),_0x544add);return;}try{const _0x2b05c0=await SourceMapper[_0x2c3ada(0x16a)](this[_0x2c3ada(0x144)],_0x4cb84d[_0x2c3ada(0x19b)],this[_0x2c3ada(0x1c6)][_0x2c3ada(0x1b9)]?.[_0x2c3ada(0x234)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x2c3ada(0x16a)](this[_0x2c3ada(0x144)],this['config'],_0x4cb84d[_0x2c3ada(0x1e1)],_0x2b05c0,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x432d56=_0x3c4f77??_0x4cb84d['hash'];}catch(_0x278722){this[_0x2c3ada(0x144)][_0x2c3ada(0x14b)](_0x2c3ada(0x247),_0x278722),this[_0x2c3ada(0x144)]['info'](JSON[_0x2c3ada(0x1ed)](_0x278722)),this[_0x2c3ada(0x1f3)]('initError',_0x278722);}this[_0x2c3ada(0x144)]['info'](_0x2c3ada(0x1b4)+_0x432d56);const _0x267c2d=(0x0,utils_1[_0x2c3ada(0x1d4)])(this[_0x2c3ada(0x144)])[_0x2c3ada(0x167)]('\x0a','');this['logger'][_0x2c3ada(0x1b3)](_0x2c3ada(0x224)+_0x267c2d);let _0x2e465d;try{_0x2e465d=this['config'][_0x2c3ada(0x1d3)]||await _a['getSourceContextFromFile']();}catch{}this[_0x2c3ada(0x144)][_0x2c3ada(0x1b3)](_0x2c3ada(0x204)+process[_0x2c3ada(0x1cb)]?.['filename']),this[_0x2c3ada(0x144)]['debug'](_0x2c3ada(0x163)+_0x71b6d9),this[_0x2c3ada(0x144)][_0x2c3ada(0x137)](_0x2c3ada(0x14a)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x2c3ada(0x133)]=(0x0,createDebuggee_1[_0x2c3ada(0x13b)])(_0x432d56,this[_0x2c3ada(0x1c6)],_0x2e465d,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x2c3ada(0x23c)],_0x267c2d,this[_0x2c3ada(0x144)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2c3ada(0x232)](this),this[_0x2c3ada(0x19a)](),this['emit'](_0x2c3ada(0x13c));}[a18_0x1d642c(0x1ba)](){const _0x40e16b=a18_0x1d642c;if(Date[_0x40e16b(0x20e)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x40e16b(0x1ca)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x40e16b(0x1a1)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x40e16b(0x1a1)]()[_0x40e16b(0x19c)](()=>{const _0x7108de=_0x40e16b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x7108de(0x232)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x40e16b(0x1a1)]();}}static async[a18_0x1d642c(0x223)](){const _0x54ce1f=a18_0x1d642c,_0x5b2cc4=await readFilep(_0x54ce1f(0x1f6),'utf8');try{return JSON[_0x54ce1f(0x162)](_0x5b2cc4);}catch(_0xde5b4c){throw new Error(_0x54ce1f(0x1cd)+_0xde5b4c);}}['register'](){const _0x3f0010=a18_0x1d642c;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3f0010(0x232)](this,0x0);}[a18_0x1d642c(0x1bc)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x1d642c(0x20d)](){const _0x15eb95=a18_0x1d642c;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger']['debug'](_0x15eb95(0x215));return;}this[_0x15eb95(0x144)][_0x15eb95(0x137)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x15eb95(0x20d)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x15eb95(0x1f3)](_0x15eb95(0x222));}[a18_0x1d642c(0x17a)](_0xa7555a){const _0x1bf1b3=a18_0x1d642c;if(!this[_0x1bf1b3(0x144)][_0x1bf1b3(0x1fe)]())return _0xa7555a['id'];try{const _0x433747=JSON[_0x1bf1b3(0x1ed)](_0xa7555a);if(_0x433747['length']<=BREAKPOINT_LOG_MAX_CHARS)return _0x433747;return _0x433747[_0x1bf1b3(0x15f)](0x0,BREAKPOINT_LOG_MAX_CHARS)+'...\x20[truncated]';}catch(_0x4266f3){return this[_0x1bf1b3(0x144)][_0x1bf1b3(0x14b)]('Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.',_0x4266f3),_0xa7555a['id'];}}['setCustomLogLevel'](_0x4627de){const _0x479907=a18_0x1d642c,_0x5a0388=this['logger'][_0x479907(0x153)]();if(_0x5a0388===_0x479907(0x137))return;switch(_0x4627de){case _0x479907(0x1c4):this[_0x479907(0x144)]['getLevel']()!==_0x479907(0x137)&&(this[_0x479907(0x144)][_0x479907(0x21b)](_0x479907(0x137)),this['logger'][_0x479907(0x137)](_0x479907(0x147)));break;case _0x479907(0x1af):case undefined:this[_0x479907(0x144)][_0x479907(0x1b2)]()==='debug'&&(this[_0x479907(0x144)][_0x479907(0x21b)](_0x5a0388),this[_0x479907(0x144)][_0x479907(0x1b3)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x5a0388+')'));break;default:this[_0x479907(0x144)]['warn'](_0x479907(0x208)+_0x4627de);}}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x1eafc0){const _0x2a5163=a18_0x1d642c;return new RegExp(_0x1eafc0[_0x2a5163(0x1be)](_0x527a84=>_0x527a84+'$')[_0x2a5163(0x19d)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x1b2ca8=a18_0x1d642c,_0x306cd3=[_0x1b2ca8(0x194),_0x1b2ca8(0x246),_0x1b2ca8(0x203)];_0x306cd3['forEach'](_0x1dca54=>{const _0x2851ca=_0x1b2ca8;process[_0x2851ca(0x149)](_0x1dca54,()=>{__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this['debuggee'],()=>{const _0x3d2645=a18_0x2d77;process[_0x3d2645(0x16f)](process[_0x3d2645(0x24c)],_0x1dca54);});});}),process[_0x1b2ca8(0x149)](_0x1b2ca8(0x145),()=>{const _0x5b29a1=_0x1b2ca8;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5b29a1(0x231)](this[_0x5b29a1(0x133)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x44d89d){const _0x573b3b=a18_0x1d642c;this[_0x573b3b(0x144)][_0x573b3b(0x137)](_0x44d89d?_0x573b3b(0x1bb)+_0x44d89d+'s':_0x573b3b(0x196));const _0x359fc0=(_0x3245e6,_0x4c8676,_0x468991=![])=>{const _0x30ee48=_0x573b3b;this[_0x30ee48(0x1f3)]('registration_failed');const _0x5a9ee0=this[_0x30ee48(0x133)]?.['id'],_0x1201ce=_0x5a9ee0?_0x30ee48(0x1c8)+_0x5a9ee0:_0x30ee48(0x1ab),_0x2429c1=_0x30ee48(0x165)+_0x1201ce+':\x20'+(0x0,utils_1['prettyError'])(_0x3245e6);this[_0x30ee48(0x144)][_0x30ee48(0x14b)](_0x2429c1),_0x4c8676&&!_0x468991&&this[_0x30ee48(0x144)][_0x30ee48(0x14b)](_0x30ee48(0x1a5),_0x4c8676),!this[_0x30ee48(0x1c6)][_0x30ee48(0x1b9)]?.['isLambda']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x30ee48(0x232)](this,(0x0,utils_1['backoff'])(_0x44d89d,this[_0x30ee48(0x1c6)][_0x30ee48(0x1b9)][_0x30ee48(0x175)]));};setTimeout(()=>{const _0x386cd3=_0x573b3b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x359fc0(new Error(_0x386cd3(0x1b1)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x386cd3(0x133)],(_0x2a4c96,_0x2040ad,_0x4dd2e6=![])=>{const _0x3fcc89=_0x386cd3;if(_0x2a4c96){_0x359fc0(_0x2a4c96,_0x2040ad,_0x4dd2e6);return;}if(_0x2040ad[_0x3fcc89(0x133)]['isDisabled']){_0x359fc0(new Error(_0x3fcc89(0x1d9))),this['emit']('remotelyDisabled');return;}const _0x3f884a=_0x2040ad['debuggee']['id'];this[_0x3fcc89(0x144)][_0x3fcc89(0x1b3)]('Registered\x20as\x20debuggee:\x20'+_0x3f884a),this[_0x3fcc89(0x133)]['id']=_0x3f884a;const _0x14b208=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x3fcc89(0x1dd)](this)(this[_0x3fcc89(0x133)]['id'])];this[_0x3fcc89(0x1c6)]['redactionEnabled']&&_0x14b208[_0x3fcc89(0x211)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this[_0x3fcc89(0x133)]['id'])),Promise[_0x3fcc89(0x19e)](_0x14b208)[_0x3fcc89(0x19c)](()=>{const _0x156e3e=_0x3fcc89;this[_0x156e3e(0x1f3)]('registered',_0x3f884a),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x156e3e(0x1ca)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x156e3e(0x219)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x2040ad?.['clientConnectionTimeoutInSeconds'],'f'),!this[_0x156e3e(0x1fb)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x156e3e(0x232)](this,0x0,this['config'][_0x156e3e(0x20c)],_0x2040ad?.[_0x156e3e(0x1aa)]);},_0x31ce63=>{_0x359fc0(_0x31ce63);});});},_0x44d89d*0x3e8)[_0x573b3b(0x18c)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x183a4b,_0x23abcc,_0x4cd037){const _0x559629=a18_0x1d642c;this[_0x559629(0x144)][_0x559629(0x137)](_0x559629(0x243)+_0x183a4b+'\x20'+_0x23abcc+'\x20'+_0x4cd037),!_0x23abcc&&(this[_0x559629(0x1fb)]=!![]),setTimeout(()=>{const _0x3e9c8d=_0x559629;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x23abcc&&assert(this[_0x3e9c8d(0x1fb)]),this['logger'][_0x3e9c8d(0x137)](_0x3e9c8d(0x13d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3e9c8d(0x14d)](this[_0x3e9c8d(0x133)],(_0x5f1902,_0x1ce57e,_0x2d39f7)=>{const _0x3a003c=_0x3e9c8d;if(_0x2d39f7?.['status']===0x194){this[_0x3a003c(0x144)][_0x3a003c(0x1b3)]('Debuggee\x20is\x20not\x20registered'),this['fetcherActive']=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3a003c(0x232)](this);this[_0x3a003c(0x1c6)][_0x3a003c(0x1b9)]?.[_0x3a003c(0x15c)]?this[_0x3a003c(0x1f3)]('breakpoints_fetch_registration_required'):this[_0x3a003c(0x19a)]();return;}if(_0x5f1902){if(this[_0x3a003c(0x1c6)]['internal']?.[_0x3a003c(0x15c)])this[_0x3a003c(0x1f3)]('breakpoints_fetch_failed'),this[_0x3a003c(0x144)][_0x3a003c(0x14b)](_0x3a003c(0x15b)+_0x2d39f7?.[_0x3a003c(0x239)]+_0x3a003c(0x21d)+_0x5f1902['message']);else{const _0x45021e=(0x0,utils_1[_0x3a003c(0x186)])(_0x183a4b,this[_0x3a003c(0x1c6)][_0x3a003c(0x1b9)]['maxRequestRetryDelaySeconds']);this['logger'][_0x3a003c(0x14b)](_0x3a003c(0x1de)+_0x2d39f7?.[_0x3a003c(0x239)]+_0x3a003c(0x21d)+_0x5f1902[_0x3a003c(0x24d)]+_0x3a003c(0x220)+_0x45021e+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x45021e,_0x23abcc,_0x4cd037);}return;}this[_0x3a003c(0x144)]['debug']('\x09'+_0x2d39f7[_0x3a003c(0x239)]+_0x3a003c(0x244));if(!_0x1ce57e){const _0x39b8ae=this[_0x3a003c(0x1c6)][_0x3a003c(0x17f)];this['logger'][_0x3a003c(0x14b)](_0x3a003c(0x1ac)+_0x39b8ae+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a003c(0x232)](this,_0x39b8ae,_0x23abcc,_0x4cd037);return;}this['setCustomLogLevel'](_0x1ce57e[_0x3a003c(0x1e4)]);if(_0x1ce57e['waitExpired']){this['logger'][_0x3a003c(0x1b3)](_0x3a003c(0x1ef)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a003c(0x232)](this,0x0,_0x23abcc,_0x4cd037);return;}if(_0x1ce57e[_0x3a003c(0x24b)]&&_0x1ce57e['pipeLogs']!==_0x3a003c(0x1af)){const _0x4dcd97=this[_0x3a003c(0x235)]['globalPipingStatus'];_0x4dcd97!==_0x1ce57e['pipeLogs']&&(this[_0x3a003c(0x144)][_0x3a003c(0x137)](_0x3a003c(0x236)+_0x4dcd97+_0x3a003c(0x213)+_0x1ce57e['pipeLogs']),this[_0x3a003c(0x235)][_0x3a003c(0x245)]=_0x1ce57e['pipeLogs']);}if(_0x1ce57e[_0x3a003c(0x221)]&&_0x1ce57e['collectLogRequestId']!==this[_0x3a003c(0x1e6)]){this[_0x3a003c(0x1e6)]=_0x1ce57e['collectLogRequestId'];const _0x5b77a8=this[_0x3a003c(0x1c6)][_0x3a003c(0x135)]['agentLogTargetDir']&&path[_0x3a003c(0x19d)](this[_0x3a003c(0x1c6)]['agentLog'][_0x3a003c(0x1e5)],agent_logger_1['default'][_0x3a003c(0x134)]);_0x5b77a8&&fs['existsSync'](_0x5b77a8)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3a003c(0x21f)](this['debuggee'],_0x1ce57e['collectLogRequestId'],_0x5b77a8)):this['logger']['info'](_0x3a003c(0x1e3)+_0x1ce57e[_0x3a003c(0x1e6)]+_0x3a003c(0x192)+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3a003c(0x1a2)]=_0x1ce57e['activeFeatures']??[];const _0x587ad5=(_0x1ce57e[_0x3a003c(0x166)]||[])['map'](_0x11c0c8=>new stackdriver_1[(_0x3a003c(0x212))](_0x11c0c8))[_0x3a003c(0x1c9)](_0x4fe3d3=>{const _0x283551=_0x3a003c,_0x245eda=_0x4fe3d3[_0x283551(0x1d7)]??_0x283551(0x14e);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4fe3d3['id']])return![];if(_0x245eda!==_0x283551(0x14e)&&_0x245eda!==_0x283551(0x18e))return this[_0x283551(0x144)][_0x283551(0x140)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x245eda),_0x4fe3d3['status']=new status_message_1[(_0x283551(0x1e0))](status_message_1['StatusMessage'][_0x283551(0x226)],utils_1[_0x283551(0x1f9)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x283551(0x232)](this,_0x4fe3d3),![];return!![];}),_0x5e3765=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0x46cfca=_0x5e3765[_0x3a003c(0x1b5)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x5e3765),_0x46cfca=_0x46cfca||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3a003c(0x232)](this,_0x587ad5),this[_0x3a003c(0x1f3)](_0x3a003c(0x17e),_0x587ad5['length']);_0x46cfca&&this[_0x3a003c(0x144)]['debug'](formatBreakpoints(_0x3a003c(0x1f5),this[_0x3a003c(0x190)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x3a003c(0x20e)](),'f');_0x23abcc?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3a003c(0x1ca)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x23abcc,_0x4cd037);return;},_0x4cd037);},_0x183a4b*0x3e8)[_0x559629(0x18c)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x57f5e2=a18_0x1d642c;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x57f5e2(0x1ca)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xd88ff7){const _0x1dcf17=a18_0x1d642c,_0x564d81=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x1dcf17(0x232)](this,_0xd88ff7);let _0x5496dc=![];return _0xd88ff7[_0x1dcf17(0x16b)](_0x50784f=>{const _0x397891=_0x1dcf17;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x50784f['id']]&&!this['activeBreakpointMap'][_0x50784f['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x397891(0x232)](this,_0x50784f,_0xb35b65=>{const _0x10993f=_0x397891;_0xb35b65&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x10993f(0x232)](this,_0x50784f,!![],![]);}),_0x5496dc=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x397891(0x1f1)](_0x50784f['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x397891(0x189)](_0x50784f['id'],_0x50784f[_0x397891(0x154)]),this[_0x397891(0x235)]['setPipingStatus'](_0x50784f['id'],_0x50784f[_0x397891(0x20a)]);}),(0x0,mapSubtract_1[_0x1dcf17(0x168)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x564d81)[_0x1dcf17(0x16b)](_0x43982a=>{const {id:_0x1d74fd}=_0x43982a;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1d74fd],_0x5496dc=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this['activeBreakpointMap'],_0x564d81)[_0x1dcf17(0x16b)](_0xc8a355=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0xc8a355,!![]),_0x5496dc=!![];}),_0x5496dc&&this[_0x1dcf17(0x144)]['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x564d81)),_0x5496dc;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x44df63){const _0x34d110=a18_0x1d642c;return Object[_0x34d110(0x176)](_0x44df63[_0x34d110(0x1be)](_0x427b7a=>[_0x427b7a['id'],_0x427b7a]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x3fb7fb,_0x15625b){const _0x1e137b=a18_0x1d642c;this['logger'][_0x1e137b(0x1b3)]('\x09remove\x20breakpoint\x20id\x20'+_0x3fb7fb['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1e137b(0x22c)](_0x3fb7fb['id']),this['pipingManager'][_0x1e137b(0x1fc)](_0x3fb7fb['id']),delete this[_0x1e137b(0x190)][_0x3fb7fb['id']],_0x15625b&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1e137b(0x1ad)](_0x3fb7fb,_0x1427c1=>{const _0x567cd8=_0x1e137b;if(_0x1427c1)this[_0x567cd8(0x144)][_0x567cd8(0x14b)](_0x1427c1);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x1deeca,_0x503307){const _0x3d9823=a18_0x1d642c;this['logger'][_0x3d9823(0x1b3)](_0x3d9823(0x18b),this[_0x3d9823(0x17a)](_0x1deeca));if(!this[_0x3d9823(0x1c6)][_0x3d9823(0x179)]&&(_0x1deeca[_0x3d9823(0x1df)]||_0x1deeca['expressions'])){this[_0x3d9823(0x144)][_0x3d9823(0x14b)](utils_1[_0x3d9823(0x1f9)][_0x3d9823(0x148)][_0x3d9823(0x1c5)]??''),_0x1deeca[_0x3d9823(0x239)]=new status_message_1[(_0x3d9823(0x1e0))](status_message_1[_0x3d9823(0x1e0)][_0x3d9823(0x226)],utils_1['errors'][_0x3d9823(0x148)],!![]),setImmediate(()=>{const _0x48c779=_0x3d9823;_0x503307(utils_1['errors'][_0x48c779(0x148)]);});return;}const _0x2f9ccc=_0x1deeca[_0x3d9823(0x1a7)]?Number(_0x1deeca[_0x3d9823(0x1a7)][_0x3d9823(0x187)]):Date[_0x3d9823(0x20e)]()/0x3e8,_0x55cd49=_0x1deeca[_0x3d9823(0x1ee)]??this[_0x3d9823(0x1c6)][_0x3d9823(0x1fd)];_0x1deeca[_0x3d9823(0x14f)]=_0x2f9ccc+_0x55cd49,_0x1deeca['location']?.['path']&&(_0x1deeca[_0x3d9823(0x185)][_0x3d9823(0x164)]=path[_0x3d9823(0x13a)](_0x1deeca['location'][_0x3d9823(0x164)]),path[_0x3d9823(0x1ea)]===path[_0x3d9823(0x210)][_0x3d9823(0x1ea)]&&(_0x1deeca[_0x3d9823(0x185)][_0x3d9823(0x164)]=_0x1deeca[_0x3d9823(0x185)]['path'][_0x3d9823(0x249)]('\x5c')[_0x3d9823(0x19d)](path[_0x3d9823(0x1ea)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3d9823(0x184)](_0x1deeca,_0x3669dd=>{const _0x4cb796=_0x3d9823;if(_0x3669dd){_0x503307(_0x3669dd);return;}this[_0x4cb796(0x144)][_0x4cb796(0x1b3)](_0x4cb796(0x158)+_0x1deeca['id']),this['activeBreakpointMap'][_0x1deeca['id']]=_0x1deeca,_0x1deeca[_0x4cb796(0x1d7)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4cb796(0x201)](_0x1deeca,(_0x1f4a05,_0x409f13)=>{const _0x29d0b3=_0x4cb796,_0x4bc120=_0x409f13[_0x29d0b3(0x1be)](_0x2677ac=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x29d0b3(0x232)](this,_0x2677ac)),_0x33cf20=(0x0,format_1[_0x29d0b3(0x1ae)])(_0x1f4a05,_0x4bc120),_0x1b600a=_0x29d0b3(0x1d5)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x29d0b3(0x17d)](_0x33cf20)??_0x33cf20),_0x545768=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x29d0b3(0x1da)](_0x1b600a,_0x1deeca['id']);if(_0x545768){const _0x2ea358=_0x545768[_0x29d0b3(0x24d)],{isOutOfQuota:_0x54306e}=_0x545768;let _0x50778a,_0x5eb6fe;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x29d0b3(0x1d1)]()&&!_0x54306e&&(_0x50778a=_0x29d0b3(0x1d5)+_0x1f4a05,_0x5eb6fe=_0x4bc120);this['pipingManager'][_0x29d0b3(0x20f)](this[_0x29d0b3(0x133)],_0x1deeca['id'],_0x2ea358,_0x1deeca[_0x29d0b3(0x217)],_0x50778a,_0x5eb6fe);if(_0x54306e)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x29d0b3(0x1f4)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x7779f6=_0x29d0b3;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x7779f6(0x1f7)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x29d0b3(0x1c6)][_0x29d0b3(0x1c0)][_0x29d0b3(0x16e)]*0x3e8),'f');else _0x2ea358?.[_0x29d0b3(0x1b5)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1deeca['id']],_0x5e3358=>{if(_0x5e3358){this['logger']['error'](_0x5e3358),_0x503307(_0x5e3358);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4cb796(0x227)](_0x1deeca,_0x5f28ec=>{const _0x3fe08b=_0x4cb796;if(_0x5f28ec){setImmediate(()=>{const _0x1adcb8=a18_0x2d77;this[_0x1adcb8(0x144)][_0x1adcb8(0x14b)](_0x5f28ec),_0x503307(_0x5f28ec);});return;}this[_0x3fe08b(0x144)][_0x3fe08b(0x1b3)]('Breakpoint\x20hit!:\x20breakpoint\x20id:\x20'+_0x1deeca['id'],_0x1deeca[_0x3fe08b(0x185)]?.[_0x3fe08b(0x164)],_0x1deeca[_0x3fe08b(0x185)]?.[_0x3fe08b(0x205)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x1deeca,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3fe08b(0x160)](_0x1deeca['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](this,_0x1deeca);}),this[_0x3d9823(0x1f3)](_0x3d9823(0x202));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x7313be,_0x13b50d,_0x101c96=!![]){const _0x22f920=a18_0x1d642c;if(_0x7313be[_0x22f920(0x239)]?.[_0x22f920(0x1d6)]){let _0x48bdf9=_0x7313be[_0x22f920(0x239)]?.[_0x22f920(0x1c5)]?.['format']||'';_0x7313be['status']?.[_0x22f920(0x1c5)]?.[_0x22f920(0x180)]&&(_0x48bdf9+=':\x20'+_0x7313be[_0x22f920(0x239)]?.[_0x22f920(0x1c5)]?.[_0x22f920(0x180)][_0x22f920(0x1c3)]()),this[_0x22f920(0x144)][_0x22f920(0x140)](_0x22f920(0x1f8)+_0x7313be+_0x22f920(0x18a)+_0x48bdf9);}else this[_0x22f920(0x144)][_0x22f920(0x1b3)](_0x22f920(0x237),this[_0x22f920(0x17a)](_0x7313be));_0x13b50d&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x7313be['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x22f920(0x232)](this,_0x7313be,_0x101c96)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x22f920(0x156)](this[_0x22f920(0x133)],extend(!![],{},_0x7313be));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x280af4){const _0x12e3fc=a18_0x1d642c;this[_0x12e3fc(0x144)][_0x12e3fc(0x137)](_0x12e3fc(0x136)+_0x280af4+'\x20accepted\x20by\x20agent');const _0x4ab4a3=extend(!![],{},_0x280af4);_0x4ab4a3[_0x12e3fc(0x1b8)]=![],_0x4ab4a3[_0x12e3fc(0x239)]=new status_message_1[(_0x12e3fc(0x1e0))](status_message_1[_0x12e3fc(0x1e0)][_0x12e3fc(0x226)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x12e3fc(0x156)](this[_0x12e3fc(0x133)],_0x4ab4a3);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x34a837){const _0xc9b661=a18_0x1d642c;this['logger'][_0xc9b661(0x1b3)](_0xc9b661(0x206)+_0x34a837),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x34a837['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xc9b661(0x156)](this[_0xc9b661(0x133)],_0x34a837);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x1e52ea){const _0x12838c=a18_0x1d642c;_0x1e52ea[_0x12838c(0x16b)](_0x285a10=>{const _0x210756=_0x12838c;this['logger'][_0x210756(0x1b3)](_0x210756(0x177)+_0x285a10['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x285a10['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x210756(0x232)](this,_0x285a10,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x246b17=a18_0x1d642c,_0x5ef8b2=Date[_0x246b17(0x20e)]()/0x3e8;return Object[_0x246b17(0x230)](this[_0x246b17(0x190)])[_0x246b17(0x1c9)](_0x26418a=>_0x26418a['expirationTime']?_0x26418a[_0x246b17(0x14f)]<_0x5ef8b2:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x22d038){const _0x556d80=a18_0x1d642c,_0x2a88d8=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x556d80(0x150)](_0x22d038),_0x26a016=_0x2a88d8[_0x556d80(0x15a)],_0x5553a6=_0x2a88d8[_0x556d80(0x183)];_0x26a016?.['length']&&this[_0x556d80(0x144)][_0x556d80(0x137)](_0x556d80(0x1ce),_0x26a016['join']('\x0a\x09')),_0x5553a6?.[_0x556d80(0x1b5)]&&this[_0x556d80(0x144)][_0x556d80(0x137)](_0x556d80(0x207),_0x5553a6[_0x556d80(0x19d)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x26a016,_0x5553a6,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x30027c){const _0x4188fe=a18_0x1d642c,_0x5eb89b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4188fe(0x146)](_0x30027c);_0x5eb89b?.[_0x4188fe(0x1b5)]&&this[_0x4188fe(0x144)][_0x4188fe(0x137)](_0x4188fe(0x250),_0x5eb89b['map'](_0x3c4b74=>_0x4188fe(0x238)+_0x3c4b74[_0x4188fe(0x19f)]+_0x4188fe(0x22f)+_0x3c4b74['type']+'):\x20pattern:\x20'+_0x3c4b74[_0x4188fe(0x191)]+_0x4188fe(0x24f)+_0x3c4b74[_0x4188fe(0x242)])[_0x4188fe(0x19d)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x4188fe(0x157))](this[_0x4188fe(0x144)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4188fe(0x1dc)](_0x5eb89b);},_Debuglet_stringify=function _Debuglet_stringify(_0x137713){const _0x20e00d=a18_0x1d642c;if(!_0x137713)return JSON[_0x20e00d(0x1ed)](_0x137713,(_0x2b401f,_0x417ff4)=>_0x417ff4===undefined?_0x20e00d(0x23f):_0x417ff4);if(Array[_0x20e00d(0x178)](_0x137713)){const _0x2add88=_0x137713['map'](_0x42ee0f=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x20e00d(0x232)](this,_0x42ee0f));return'['+_0x2add88['join'](',\x20')+']';}if(typeof _0x137713===_0x20e00d(0x1f0)){const _0x4a3dfb=Object[_0x20e00d(0x23d)](_0x137713)['map'](([_0x1c0f5a,_0x303ee6])=>{const _0x49d7c5=_0x20e00d,_0x24a9a5=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x1c0f5a)?redaction_manager_1[_0x49d7c5(0x1c7)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x49d7c5(0x232)](this,_0x303ee6);return JSON[_0x49d7c5(0x1ed)](_0x1c0f5a)+':\x20'+_0x24a9a5;})[_0x20e00d(0x19d)](',\x20');return'{'+_0x4a3dfb+'}';}return JSON[_0x20e00d(0x1ed)](_0x137713);});
|
|
1
|
+
const a18_0x5d7590=a18_0x2da5;(function(_0x5d1377,_0x45bb38){const _0xd27635=a18_0x2da5,_0xdd3c0=_0x5d1377();while(!![]){try{const _0x4548dd=-parseInt(_0xd27635(0x284))/0x1*(parseInt(_0xd27635(0x28b))/0x2)+parseInt(_0xd27635(0x223))/0x3*(-parseInt(_0xd27635(0x2e8))/0x4)+parseInt(_0xd27635(0x2c3))/0x5*(parseInt(_0xd27635(0x30a))/0x6)+parseInt(_0xd27635(0x224))/0x7+parseInt(_0xd27635(0x24c))/0x8*(-parseInt(_0xd27635(0x2a9))/0x9)+-parseInt(_0xd27635(0x26c))/0xa+-parseInt(_0xd27635(0x22f))/0xb*(-parseInt(_0xd27635(0x29f))/0xc);if(_0x4548dd===_0x45bb38)break;else _0xdd3c0['push'](_0xdd3c0['shift']());}catch(_0x95c6f4){_0xdd3c0['push'](_0xdd3c0['shift']());}}}(a18_0x59b4,0x5d799));function a18_0x2da5(_0x310be6,_0x49c661){const _0x886ee9=a18_0x59b4();return a18_0x2da5=function(_0x49c433,_0x2f5816){_0x49c433=_0x49c433-0x1ef;let _0x59b495=_0x886ee9[_0x49c433];return _0x59b495;},a18_0x2da5(_0x310be6,_0x49c661);}const a18_0x2f5816=(function(){let _0x111ec4=!![];return function(_0x4efa68,_0x4b0936){const _0x202c40=_0x111ec4?function(){const _0x2a345a=a18_0x2da5;if(_0x4b0936){const _0x10a482=_0x4b0936[_0x2a345a(0x25a)](_0x4efa68,arguments);return _0x4b0936=null,_0x10a482;}}:function(){};return _0x111ec4=![],_0x202c40;};}()),a18_0x49c433=a18_0x2f5816(this,function(){const _0x59aa44=a18_0x2da5;return a18_0x49c433[_0x59aa44(0x2b1)]()[_0x59aa44(0x21e)]('(((.+)+)+)+$')[_0x59aa44(0x2b1)]()[_0x59aa44(0x2bd)](a18_0x49c433)[_0x59aa44(0x21e)](_0x59aa44(0x2d2));});function a18_0x59b4(){const _0x5b08ce=['isRegistered','findFiles','\x09adding\x20breakpoint','Scheduling\x20registration\x20in\x20','resolve','isRunning','pid','enable','breakpoints','getSourceContextFromFile','SIGTERM','.\x20message:\x20','quotaRecoverySeconds','expirationTime','redactionEnabled','filter','log','initError','Blacklist:\x20\x0a\x09','CachedPromise','javascriptFileExtensions','parameters','shouldRedactByName','\x09successfully\x20added\x20breakpoint\x20id\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','debuglet','Error\x20processing\x20the\x20sourcemaps.','promiseResolve','Unknown\x20agentLogLevel\x20','isReady','map','SIGQUIT','\x09Long\x20poll\x20completed.','config','collectAndSendLog','./io/sourcemapper','kill','object','do\x20this.','UNSPECIFIED','search','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','__classPrivateFieldGet','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','3XFJQvd','3064649vCBYqG','Redactions:\x20\x0a\x09','setPatterns','Private\x20method\x20is\x20not\x20writable','description','./io/file-index','debug','pipeLogs','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','backoff','allowRootAsWorkingDirectory','649JvdIgX','error','inspect','SIGINT','./blocklisting/patterns-blocklist-manager','status','CAPTURE','Registered\x20as\x20debuggee:\x20','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','isAtLeastInfo','unref','scheduleBreakpointFetch_\x20','createDebuggee','__esModule','setBlocklistManager','value','Scanner','bind','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','./util/utils','waitForBreakpoints','internal','length','name:\x20','add','re-register\x20debuggee\x20','extraPaths','QuotaManager','Switching\x20globalPiping\x20status\x20from\x20','8NDUhxr','Malformed\x20source-context.json\x20file:\x20','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','\x0a\x09expressions:\x20','breakpoints_fetched','warn','jsFileIndex','stringify','isRedactionActive','maxRequestRetryDelaySeconds','default','emit','set','../client/stackdriver/status-message','apply','Starting\x20debuggee','REDACTED_PLACEHOLDER','message','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','waitExpired','RedactionManagerRE2JS','\x20to\x20','isReadyManager','then','isLambda','./controller','clear','getRedactions','clientConnectionTimeoutInSeconds','Debuglet','APP_ONLY','agentLogLevel','2047120zTIjyz','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','extend','ignoreQuota','Breakpoint','wait','addAndPipeLog','createTime','readFile','Controller','create','beforeExit','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','entries','remainingHits','stdErrThreshold','cwd','./agent-logger','AGENT_LOG_FILE','agentLogMaxFileCount','reporting\x20breakpoint\x20','all','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','mapFiles','1QVJopL','function','getInitialLevel','assert','ALLOW_EXPRESSIONS_MESSAGE','js.map','sendAgentLogsToServer','1222792uOKhUj','__classPrivateFieldSet','isError','setPipingStatus','.\x20Error:\x20','stringifyBreakpointForInfoLog','existsSync','enqueueBreakpointUpdate','workingDirectory','remotelyDisabled','mapSubtract','agentLogMaxFileSizeMb','GAE_MINOR_VERSION','expressions','removeListener','seconds','now','errors','.\x20Retrying\x20in\x20','globalPipingStatus','168108nLKxQS','util','stopped','getProps','Debuglet\x20not\x20running','registration_failed','readFullVersion','Found\x20breakpoint\x20with\x20invalid\x20action:','breakpoints_fetch_registration_required','isDisabled','2124423jQAmVo','name','packageInfo','breakpoints_fetch_failed','caseInsensitive','defineProperty','join','setLevel','toString','debuggee','./v8/debugapi','\x20completed.','Expiring\x20breakpoint\x20id\x20','\x0a\x09createdTime:\x20','activeFeatures','\x20(type:\x20','started','Disabled\x20by\x20the\x20server','Active\x20Breakpoints:\x20\x0a','getClientConnectionTimeoutInSeconds','constructor','./piping-manager','setCustomLogLevel','removePerBreakpointQuota','./debuglet-helpers/format','call','77955XxlGHh','line','LOGPOINT:\x20','events','type','sourceContext','\x09remove\x20breakpoint\x20id\x20','breakpointExpirationSec','./quota-manager','forEach','Failed\x20to\x20','isArray','format','deregister','promisify','(((.+)+)+)+$','./debuglet-helpers/createDebuggee','substring','info','agentLog','concat','undefined','logger','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','GAE-','Error\x20scanning\x20the\x20filesystem.','fetcherActive','./debuglet-helpers/normalizeConfig','breakpoint_set','activeBreakpointMap','BREAKPOINT_ACTION_MESSAGE','blacklist_exception','selectFiles','once','rejecting\x20breakpoint\x20id\x20','Server\x20breakpoints:\x0a','logLevel','1624708YKyNlX','parse','location','replaceRedactedByValue','values','path','...\x20[truncated]','get','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','collectLogRequestId','stop','Fetching\x20breakpoints','removeBreakpoint','disable','action','NOT_SET','Unique\x20ID\x20for\x20this\x20Application:\x20','breakpointUpdateIntervalSec','StatusMessage','expirationSeconds','promise','condition','register','agentLogTargetDir','env','start','PipingManager','fetchBreakpointsOnce','ConfigurationProvider','../types/stackdriver','pipingManager','./config','getLevel','\x09Got\x20error\x20from\x20server.\x20status:\x20','222xDLbva','sep','\x20caseInsensitive:\x20','\x20because\x20','Stopping\x20Debuglet','):\x20pattern:\x20','fromFileStats','./reduction/redaction-manager-re2js','quota','waitFor','Blacklist\x20Exceptions:\x20\x0a\x09'];a18_0x59b4=function(){return _0x5b08ce;};return a18_0x59b4();}a18_0x49c433();'use strict';var __classPrivateFieldSet=this&&this[a18_0x5d7590(0x28c)]||function(_0x4dfa12,_0x52b989,_0x554319,_0x48e60b,_0x56459a){const _0x39f576=a18_0x5d7590;if(_0x48e60b==='m')throw new TypeError(_0x39f576(0x227));if(_0x48e60b==='a'&&!_0x56459a)throw new TypeError(_0x39f576(0x2da));if(typeof _0x52b989===_0x39f576(0x285)?_0x4dfa12!==_0x52b989||!_0x56459a:!_0x52b989['has'](_0x4dfa12))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x48e60b==='a'?_0x56459a['call'](_0x4dfa12,_0x554319):_0x56459a?_0x56459a[_0x39f576(0x23e)]=_0x554319:_0x52b989[_0x39f576(0x258)](_0x4dfa12,_0x554319),_0x554319;},__classPrivateFieldGet=this&&this[a18_0x5d7590(0x220)]||function(_0x1fbef9,_0x2b894a,_0x16f3a2,_0x390455){const _0xf7ed17=a18_0x5d7590;if(_0x16f3a2==='a'&&!_0x390455)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x2b894a===_0xf7ed17(0x285)?_0x1fbef9!==_0x2b894a||!_0x390455:!_0x2b894a['has'](_0x1fbef9))throw new TypeError(_0xf7ed17(0x24e));return _0x16f3a2==='m'?_0x390455:_0x16f3a2==='a'?_0x390455[_0xf7ed17(0x2c2)](_0x1fbef9):_0x390455?_0x390455[_0xf7ed17(0x23e)]:_0x2b894a[_0xf7ed17(0x2ef)](_0x1fbef9);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x5d7590(0x2ae)](exports,a18_0x5d7590(0x23c),{'value':!![]}),exports[a18_0x5d7590(0x269)]=exports[a18_0x5d7590(0x209)]=void 0x0;const assert=require(a18_0x5d7590(0x287)),events_1=require(a18_0x5d7590(0x2c6)),extend=require(a18_0x5d7590(0x26e)),fs=require('fs'),path=require(a18_0x5d7590(0x2ed)),util=require(a18_0x5d7590(0x2a0)),status_message_1=require(a18_0x5d7590(0x259)),stackdriver_1=require(a18_0x5d7590(0x305)),agent_logger_1=require(a18_0x5d7590(0x27d)),patterns_blocklist_manager_1=require(a18_0x5d7590(0x233)),config_1=require(a18_0x5d7590(0x307)),configuration_provider_1=require('./configuration-provider'),controller_1=require(a18_0x5d7590(0x265)),createDebuggee_1=require(a18_0x5d7590(0x2d3)),format_1=require(a18_0x5d7590(0x2c1)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require(a18_0x5d7590(0x2de)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x5d7590(0x229)),scanner_1=require('./io/scanner'),SourceMapper=require(a18_0x5d7590(0x219)),piping_manager_1=require(a18_0x5d7590(0x2be)),quota_manager_1=require(a18_0x5d7590(0x2cb)),redaction_manager_1=require('./reduction/redaction-manager'),utils_1=require(a18_0x5d7590(0x242)),debugapi=require(a18_0x5d7590(0x2b3)),redaction_manager_re2js_1=require(a18_0x5d7590(0x1f2)),readFilep=util[a18_0x5d7590(0x2d1)](fs[a18_0x5d7590(0x274)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x1c08bc,_0x68784c)=>{const _0x5c715d=a18_0x5d7590;let _0x4394b2=_0x1c08bc+util[_0x5c715d(0x2cf)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x68784c['id'],_0x68784c['action'],util[_0x5c715d(0x231)](_0x68784c[_0x5c715d(0x2ea)]));if(_0x68784c[_0x5c715d(0x273)]){const _0x2614ee=Number(_0x68784c[_0x5c715d(0x273)]['seconds']),_0x5a8ed7=new Date(_0x2614ee*0x3e8);_0x4394b2+=_0x5c715d(0x2b6)+_0x5a8ed7[_0x5c715d(0x2b1)]();}return _0x68784c[_0x5c715d(0x2fd)]&&(_0x4394b2+='\x0a\x09condition:\x20'+util[_0x5c715d(0x231)](_0x68784c[_0x5c715d(0x2fd)])),_0x68784c[_0x5c715d(0x298)]&&(_0x4394b2+=_0x5c715d(0x24f)+util[_0x5c715d(0x231)](_0x68784c[_0x5c715d(0x298)])),_0x4394b2;},formatBreakpoints=(_0x2d61f2,_0x220176)=>_0x2d61f2+Object['keys'](_0x220176)[a18_0x5d7590(0x214)](_0x1f1423=>formatBreakpoint('',_0x220176[_0x1f1423]))[a18_0x5d7590(0x2af)]('\x0a');class CachedPromise{constructor(){const _0x221a3b=a18_0x5d7590;this[_0x221a3b(0x211)]=null,this[_0x221a3b(0x2fc)]=new Promise(_0x188e01=>{this['promiseResolve']=_0x188e01;});}['get'](){return this['promise'];}[a18_0x5d7590(0x1fa)](){const _0x427362=a18_0x5d7590;this['promiseResolve']&&(this[_0x427362(0x211)](),this['promiseResolve']=null);}}exports[a18_0x5d7590(0x209)]=CachedPromise;class IsReadyImpl{constructor(_0x230f06){const _0x4779c1=a18_0x5d7590;this[_0x4779c1(0x20f)]=_0x230f06;}[a18_0x5d7590(0x213)](){const _0xa527d6=a18_0x5d7590;return this[_0xa527d6(0x20f)][_0xa527d6(0x213)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x47582f,_0x73ec44){const _0x1f430b=a18_0x5d7590;super(),_Debuglet_instances[_0x1f430b(0x247)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x1f430b(0x258)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x1f430b(0x258)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x1f430b(0x258)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x1f430b(0x258)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x1f430b(0x258)](this,null),this[_0x1f430b(0x262)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x1f430b(0x258)](this,void 0x0),_Debuglet_scanner[_0x1f430b(0x258)](this,void 0x0),_Debuglet_quotaManager[_0x1f430b(0x258)](this,void 0x0),_Debuglet_blocklistManager[_0x1f430b(0x258)](this,void 0x0),_Debuglet_redactionManager[_0x1f430b(0x258)](this,void 0x0),_Debuglet_configProvider[_0x1f430b(0x258)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x1f430b(0x258)](this,void 0x0),this[_0x1f430b(0x217)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x73ec44),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x1f430b(0x304))](this[_0x1f430b(0x217)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x47582f,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1f430b(0x2dd)]=![],this['logger']=agent_logger_1[_0x1f430b(0x256)]['createLogger'](this[_0x1f430b(0x217)][_0x1f430b(0x2d6)]['agentLogTargetDir'],this[_0x1f430b(0x217)]['agentLog'][_0x1f430b(0x296)],this[_0x1f430b(0x217)][_0x1f430b(0x2d6)][_0x1f430b(0x27f)],this[_0x1f430b(0x217)][_0x1f430b(0x2d6)]['agentLogLevel'],this[_0x1f430b(0x217)][_0x1f430b(0x2d6)][_0x1f430b(0x27b)]),(0x0,config_1['logMainConfigParams'])(this[_0x1f430b(0x217)],this[_0x1f430b(0x2d9)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x1f430b(0x2d9)])[_0x1f430b(0x2a2)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x1f430b(0x275))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x1f430b(0x23f))](this[_0x1f430b(0x2d9)]),'f'),this[_0x1f430b(0x2b2)]=null,this[_0x1f430b(0x2e0)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x1f430b(0x24a))](this['logger'],this[_0x1f430b(0x217)]),'f'),this['pipingManager']=new piping_manager_1[(_0x1f430b(0x302))](_0x1f430b(0x26a),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async['waitForTransmissionQueueDrain'](_0x1a8852){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x1a8852);}[a18_0x5d7590(0x2bc)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x5d7590(0x243)](_0x587620){const _0x123aa7=a18_0x5d7590,_0x3d762c=0x32;let _0x28c7c6=null;const _0x28d5f7=()=>_0x28c7c6=!![],_0x42101f=()=>_0x28c7c6=![],_0x1a362a=_0x59da51=>{if(_0x59da51)return;_0x28d5f7();};let _0x95cd1c=![];const _0x25a3c8=_0x1529d7=>{const _0x3f60d9=a18_0x2da5;_0x95cd1c&&_0x42101f(),_0x95cd1c=!![],this[_0x3f60d9(0x2fe)]();};this[_0x123aa7(0x2e4)]('breakpoints_fetched',_0x1a362a),this[_0x123aa7(0x2e4)](_0x123aa7(0x2df),_0x28d5f7);this[_0x123aa7(0x217)][_0x123aa7(0x244)]?.['isLambda']&&(this[_0x123aa7(0x2e4)]('registration_failed',_0x42101f),this[_0x123aa7(0x2e4)](_0x123aa7(0x2ac),_0x42101f),this[_0x123aa7(0x2e4)](_0x123aa7(0x2a7),_0x25a3c8));if(_0x587620){const _0x3ee7b3=Date['now']();while(_0x28c7c6===null&&Date[_0x123aa7(0x29b)]()-_0x3ee7b3<_0x587620){await(0x0,utils_1[_0x123aa7(0x1f4)])(_0x3d762c);}}return this[_0x123aa7(0x299)](_0x123aa7(0x250),_0x1a362a),this['removeListener']('breakpoint_set',_0x28d5f7),this[_0x123aa7(0x217)]['internal']?.[_0x123aa7(0x264)]&&(this[_0x123aa7(0x299)]('registration_failed',_0x42101f),this[_0x123aa7(0x299)](_0x123aa7(0x2ac),_0x42101f),this['removeListener'](_0x123aa7(0x2a7),_0x25a3c8)),_0x28c7c6===!![];}[a18_0x5d7590(0x303)](){const _0x996d90=a18_0x5d7590;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x996d90(0x2c2)](this,0x0,!![]);}[a18_0x5d7590(0x1f6)](){const _0x319fd4=a18_0x5d7590;return this[_0x319fd4(0x2b2)]?.['id']!==undefined;}async[a18_0x5d7590(0x1f7)](_0x2df5d6,_0x57cbb7){const _0x308ff7=a18_0x5d7590,_0x45dc6a=_0x2df5d6[_0x308ff7(0x293)],_0x5e3507=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x45dc6a,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x2df5d6[_0x308ff7(0x20a)][_0x308ff7(0x2d7)](_0x308ff7(0x289))),_0x57cbb7,_0x2df5d6[_0x308ff7(0x249)]),_0x1d1671=_0x5e3507['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x308ff7(0x2c2)](_a,_0x2df5d6[_0x308ff7(0x20a)])),_0x2bd02d=file_index_1['FileIndex'][_0x308ff7(0x1f1)](_0x1d1671),_0x270fcb=_0x5e3507[_0x308ff7(0x2e3)](/.js.map$/,process[_0x308ff7(0x27c)]()),_0x5666b2=_0x5e3507[_0x308ff7(0x29c)]();return{'mapFiles':_0x270fcb,'errors':_0x5666b2,'jsFileIndex':_0x2bd02d,'hash':_0x5e3507['hash']};}async[a18_0x5d7590(0x301)](){const _0x5de3e0=a18_0x5d7590,_0x36827c=this['config'][_0x5de3e0(0x293)];if(!this[_0x5de3e0(0x217)][_0x5de3e0(0x22e)]&&path[_0x5de3e0(0x2af)](_0x36827c,'..')===_0x36827c){const _0x311f7f=_0x5de3e0(0x278)+_0x5de3e0(0x20e)+_0x5de3e0(0x25e)+_0x5de3e0(0x21c);this[_0x5de3e0(0x2d9)]['error'](_0x311f7f),this['emit'](_0x5de3e0(0x207),new Error(_0x311f7f));return;}let _0x2dd69a;process[_0x5de3e0(0x300)][_0x5de3e0(0x297)]&&(_0x2dd69a=_0x5de3e0(0x2db)+process[_0x5de3e0(0x300)][_0x5de3e0(0x297)]);let _0x1ab882,_0x3fd66a=_0x2dd69a??'';try{_0x1ab882=await this[_0x5de3e0(0x1f7)](this[_0x5de3e0(0x217)],_0x2dd69a),_0x1ab882[_0x5de3e0(0x29c)][_0x5de3e0(0x2cc)](this['logger']['warn']);}catch(_0x26a4fb){this[_0x5de3e0(0x2d9)]['error'](_0x5de3e0(0x2dc),_0x26a4fb),this['emit'](_0x5de3e0(0x207),_0x26a4fb);return;}try{const _0x12f634=await SourceMapper[_0x5de3e0(0x276)](this['logger'],_0x1ab882[_0x5de3e0(0x283)],this['config'][_0x5de3e0(0x244)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x5de3e0(0x276)](this[_0x5de3e0(0x2d9)],this[_0x5de3e0(0x217)],_0x1ab882[_0x5de3e0(0x252)],_0x12f634,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3fd66a=_0x2dd69a??_0x1ab882['hash'];}catch(_0x287a55){this['logger'][_0x5de3e0(0x230)](_0x5de3e0(0x210),_0x287a55),this[_0x5de3e0(0x2d9)]['info'](JSON[_0x5de3e0(0x253)](_0x287a55)),this[_0x5de3e0(0x257)]('initError',_0x287a55);}this[_0x5de3e0(0x2d9)][_0x5de3e0(0x2d5)](_0x5de3e0(0x2f8)+_0x3fd66a);const _0x49c139=(0x0,utils_1[_0x5de3e0(0x2a5)])(this[_0x5de3e0(0x2d9)])['replace']('\x0a','');this[_0x5de3e0(0x2d9)][_0x5de3e0(0x2d5)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x49c139);let _0x512421;try{_0x512421=this['config'][_0x5de3e0(0x2c8)]||await _a['getSourceContextFromFile']();}catch{}this[_0x5de3e0(0x2d9)][_0x5de3e0(0x2d5)](_0x5de3e0(0x282)+process['mainModule']?.['filename']),this['logger']['debug']('Working\x20directory:\x20'+_0x36827c),this['logger'][_0x5de3e0(0x22a)](_0x5de3e0(0x25b)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this['debuggee']=(0x0,createDebuggee_1[_0x5de3e0(0x23b)])(_0x3fd66a,this[_0x5de3e0(0x217)],_0x512421,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x5de3e0(0x2ab)],_0x49c139,this[_0x5de3e0(0x2d9)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5de3e0(0x2c2)](this),this[_0x5de3e0(0x2fe)](),this[_0x5de3e0(0x257)](_0x5de3e0(0x2b9));}[a18_0x5d7590(0x213)](){const _0x7d81b8=a18_0x5d7590;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x7d81b8(0x1fa)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x7d81b8(0x2ef)]()[_0x7d81b8(0x263)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x7d81b8(0x2ef)]();}}static async[a18_0x5d7590(0x1ff)](){const _0x5bd92d=a18_0x5d7590,_0x362fb1=await readFilep('source-context.json','utf8');try{return JSON[_0x5bd92d(0x2e9)](_0x362fb1);}catch(_0x34b5b0){throw new Error(_0x5bd92d(0x24d)+_0x34b5b0);}}[a18_0x5d7590(0x2fe)](){const _0x296fbf=a18_0x5d7590;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x296fbf(0x2c2)](this,0x0);}[a18_0x5d7590(0x1fb)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x5d7590(0x2f2)](){const _0x4d2909=a18_0x5d7590;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4d2909(0x2d9)][_0x4d2909(0x22a)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this['logger'][_0x4d2909(0x22a)](_0x4d2909(0x1ef)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4d2909(0x2f2)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x4d2909(0x2a1));}[a18_0x5d7590(0x290)](_0x3548b9){const _0xbbed5d=a18_0x5d7590;if(!this['logger'][_0xbbed5d(0x238)]())return _0x3548b9['id'];try{const _0x57a2b4=JSON[_0xbbed5d(0x253)](_0x3548b9);if(_0x57a2b4[_0xbbed5d(0x245)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x57a2b4;return _0x57a2b4[_0xbbed5d(0x2d4)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0xbbed5d(0x2ee);}catch(_0x2d4843){return this[_0xbbed5d(0x2d9)][_0xbbed5d(0x230)](_0xbbed5d(0x22c),_0x2d4843),_0x3548b9['id'];}}['setCustomLogLevel'](_0x318b77){const _0x121208=a18_0x5d7590,_0x43d573=this['logger'][_0x121208(0x286)]();if(_0x43d573===_0x121208(0x22a))return;switch(_0x318b77){case'DEBUG':this['logger'][_0x121208(0x308)]()!==_0x121208(0x22a)&&(this['logger']['setLevel'](_0x121208(0x22a)),this[_0x121208(0x2d9)][_0x121208(0x22a)](_0x121208(0x237)));break;case _0x121208(0x2f7):case undefined:this[_0x121208(0x2d9)][_0x121208(0x308)]()===_0x121208(0x22a)&&(this[_0x121208(0x2d9)][_0x121208(0x2b0)](_0x43d573),this[_0x121208(0x2d9)][_0x121208(0x2d5)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x43d573+')'));break;default:this['logger'][_0x121208(0x251)](_0x121208(0x212)+_0x318b77);}}}exports[a18_0x5d7590(0x269)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x1beca5){const _0x1d800d=a18_0x5d7590;return new RegExp(_0x1beca5[_0x1d800d(0x214)](_0x4ec940=>_0x4ec940+'$')[_0x1d800d(0x2af)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x377eaa=a18_0x5d7590,_0x4370ae=[_0x377eaa(0x200),_0x377eaa(0x232),_0x377eaa(0x215)];_0x4370ae['forEach'](_0x31dce8=>{const _0x5039a5=_0x377eaa;process[_0x5039a5(0x2e4)](_0x31dce8,()=>{const _0x164b98=_0x5039a5;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x164b98(0x2b2)],()=>{const _0x1253ad=_0x164b98;process[_0x1253ad(0x21a)](process[_0x1253ad(0x1fc)],_0x31dce8);});});}),process[_0x377eaa(0x2e4)](_0x377eaa(0x277),()=>{const _0x4532ea=_0x377eaa;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4532ea(0x2d0)](this[_0x4532ea(0x2b2)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x893f32){const _0x74a3ce=a18_0x5d7590;this[_0x74a3ce(0x2d9)][_0x74a3ce(0x22a)](_0x893f32?_0x74a3ce(0x1f9)+_0x893f32+'s':'Registering\x20debuggee');const _0x5bda85=(_0x3618f4,_0x87f10,_0x3f01f4=![])=>{const _0x241acd=_0x74a3ce;this[_0x241acd(0x257)](_0x241acd(0x2a4));const _0x91609a=this[_0x241acd(0x2b2)]?.['id'],_0x1b4aa5=_0x91609a?_0x241acd(0x248)+_0x91609a:'register\x20debuggee',_0x46bbac=_0x241acd(0x2cd)+_0x1b4aa5+':\x20'+(0x0,utils_1['prettyError'])(_0x3618f4);this[_0x241acd(0x2d9)]['error'](_0x46bbac),_0x87f10&&!_0x3f01f4&&this['logger']['error']('Result:\x20\x0a',_0x87f10),!this['config']['internal']?.[_0x241acd(0x264)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x241acd(0x22d)])(_0x893f32,this[_0x241acd(0x217)][_0x241acd(0x244)][_0x241acd(0x255)]));};setTimeout(()=>{const _0x14335e=_0x74a3ce;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x5bda85(new Error(_0x14335e(0x2a3)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x14335e(0x2fe)](this[_0x14335e(0x2b2)],(_0x48774b,_0x1bc722,_0x852bb1=![])=>{const _0x3dc4d6=_0x14335e;if(_0x48774b){_0x5bda85(_0x48774b,_0x1bc722,_0x852bb1);return;}if(_0x1bc722['debuggee'][_0x3dc4d6(0x2a8)]){_0x5bda85(new Error(_0x3dc4d6(0x2ba))),this[_0x3dc4d6(0x257)](_0x3dc4d6(0x294));return;}const _0x4bade3=_0x1bc722[_0x3dc4d6(0x2b2)]['id'];this[_0x3dc4d6(0x2d9)][_0x3dc4d6(0x2d5)](_0x3dc4d6(0x236)+_0x4bade3),this['debuggee']['id']=_0x4bade3;const _0x12266a=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x3dc4d6(0x240)](this)(this['debuggee']['id'])];this[_0x3dc4d6(0x217)][_0x3dc4d6(0x204)]&&_0x12266a['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x3dc4d6(0x240)](this)(this[_0x3dc4d6(0x2b2)]['id'])),Promise[_0x3dc4d6(0x281)](_0x12266a)[_0x3dc4d6(0x263)](()=>{const _0x5f05e9=_0x3dc4d6;this[_0x5f05e9(0x257)]('registered',_0x4bade3),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x5f05e9(0x23d)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x1bc722?.[_0x5f05e9(0x268)],'f'),!this[_0x5f05e9(0x2dd)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5f05e9(0x2c2)](this,0x0,this['config'][_0x5f05e9(0x303)],_0x1bc722?.['clientConnectionTimeoutInSeconds']);},_0x2d6e5d=>{_0x5bda85(_0x2d6e5d);});});},_0x893f32*0x3e8)[_0x74a3ce(0x239)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0xb91833,_0x361a15,_0x4256fc){const _0x5d0814=a18_0x5d7590;this[_0x5d0814(0x2d9)]['debug'](_0x5d0814(0x23a)+_0xb91833+'\x20'+_0x361a15+'\x20'+_0x4256fc),!_0x361a15&&(this[_0x5d0814(0x2dd)]=!![]),setTimeout(()=>{const _0x17eb56=_0x5d0814;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x361a15&&assert(this[_0x17eb56(0x2dd)]),this[_0x17eb56(0x2d9)][_0x17eb56(0x22a)](_0x17eb56(0x2f3)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['listBreakpoints'](this[_0x17eb56(0x2b2)],(_0x180fe0,_0x2f909c,_0x251c05)=>{const _0x46b48f=_0x17eb56;if(_0x251c05?.[_0x46b48f(0x234)]===0x194){this[_0x46b48f(0x2d9)][_0x46b48f(0x2d5)]('Debuggee\x20is\x20not\x20registered'),this[_0x46b48f(0x2dd)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x46b48f(0x217)][_0x46b48f(0x244)]?.[_0x46b48f(0x264)]?this[_0x46b48f(0x257)](_0x46b48f(0x2a7)):this[_0x46b48f(0x2fe)]();return;}if(_0x180fe0){if(this['config']['internal']?.[_0x46b48f(0x264)])this['emit'](_0x46b48f(0x2ac)),this[_0x46b48f(0x2d9)][_0x46b48f(0x230)](_0x46b48f(0x21f)+_0x251c05?.[_0x46b48f(0x234)]+_0x46b48f(0x201)+_0x180fe0[_0x46b48f(0x25d)]);else{const _0x161433=(0x0,utils_1[_0x46b48f(0x22d)])(_0xb91833,this['config'][_0x46b48f(0x244)][_0x46b48f(0x255)]);this[_0x46b48f(0x2d9)][_0x46b48f(0x230)](_0x46b48f(0x309)+_0x251c05?.[_0x46b48f(0x234)]+_0x46b48f(0x201)+_0x180fe0[_0x46b48f(0x25d)]+_0x46b48f(0x29d)+_0x161433+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x161433,_0x361a15,_0x4256fc);}return;}this[_0x46b48f(0x2d9)][_0x46b48f(0x22a)]('\x09'+_0x251c05['status']+_0x46b48f(0x2b4));if(!_0x2f909c){const _0x79d4a7=this[_0x46b48f(0x217)][_0x46b48f(0x2f9)];this[_0x46b48f(0x2d9)]['error'](_0x46b48f(0x221)+_0x79d4a7+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46b48f(0x2c2)](this,_0x79d4a7,_0x361a15,_0x4256fc);return;}this[_0x46b48f(0x2bf)](_0x2f909c[_0x46b48f(0x26b)]);if(_0x2f909c[_0x46b48f(0x25f)]){this[_0x46b48f(0x2d9)][_0x46b48f(0x2d5)](_0x46b48f(0x216)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46b48f(0x2c2)](this,0x0,_0x361a15,_0x4256fc);return;}if(_0x2f909c['pipeLogs']&&_0x2f909c[_0x46b48f(0x22b)]!==_0x46b48f(0x2f7)){const _0x245961=this[_0x46b48f(0x306)][_0x46b48f(0x29e)];_0x245961!==_0x2f909c['pipeLogs']&&(this[_0x46b48f(0x2d9)][_0x46b48f(0x22a)](_0x46b48f(0x24b)+_0x245961+_0x46b48f(0x261)+_0x2f909c[_0x46b48f(0x22b)]),this['pipingManager']['globalPipingStatus']=_0x2f909c['pipeLogs']);}if(_0x2f909c[_0x46b48f(0x218)]&&_0x2f909c[_0x46b48f(0x2f1)]!==this[_0x46b48f(0x2f1)]){this[_0x46b48f(0x2f1)]=_0x2f909c[_0x46b48f(0x2f1)];const _0xf52fa2=this['config'][_0x46b48f(0x2d6)]['agentLogTargetDir']&&path['join'](this['config'][_0x46b48f(0x2d6)][_0x46b48f(0x2ff)],agent_logger_1[_0x46b48f(0x256)][_0x46b48f(0x27e)]);_0xf52fa2&&fs[_0x46b48f(0x291)](_0xf52fa2)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x46b48f(0x28a)](this[_0x46b48f(0x2b2)],_0x2f909c[_0x46b48f(0x2f1)],_0xf52fa2)):this[_0x46b48f(0x2d9)][_0x46b48f(0x2d5)](_0x46b48f(0x26d)+_0x2f909c['collectLogRequestId']+_0x46b48f(0x30d)+_0x46b48f(0x222));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['activeFeatures']=_0x2f909c[_0x46b48f(0x2b7)]??[];const _0xcdd7fa=(_0x2f909c[_0x46b48f(0x1fe)]||[])['map'](_0x22ce8e=>new stackdriver_1[(_0x46b48f(0x270))](_0x22ce8e))[_0x46b48f(0x205)](_0x12c395=>{const _0xbd2d2c=_0x46b48f,_0x1083d9=_0x12c395['action']??_0xbd2d2c(0x235);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x12c395['id']])return![];if(_0x1083d9!=='CAPTURE'&&_0x1083d9!=='LOG')return this[_0xbd2d2c(0x2d9)][_0xbd2d2c(0x251)](_0xbd2d2c(0x2a6),_0x1083d9),_0x12c395[_0xbd2d2c(0x234)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0xbd2d2c(0x29c)][_0xbd2d2c(0x2e1)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0xbd2d2c(0x2c2)](this,_0x12c395),![];return!![];}),_0x503b2c=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x46b48f(0x2c2)](this);let _0x1e96e8=_0x503b2c[_0x46b48f(0x245)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x503b2c),_0x1e96e8=_0x1e96e8||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x46b48f(0x2c2)](this,_0xcdd7fa),this[_0x46b48f(0x257)](_0x46b48f(0x250),_0xcdd7fa['length']);_0x1e96e8&&this[_0x46b48f(0x2d9)]['debug'](formatBreakpoints(_0x46b48f(0x2bb),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x46b48f(0x29b)](),'f');_0x361a15?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x46b48f(0x1fa)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46b48f(0x2c2)](this,0x0,_0x361a15,_0x4256fc);return;},_0x4256fc);},_0xb91833*0x3e8)[_0x5d0814(0x239)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4a830c=a18_0x5d7590;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4a830c(0x1fa)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x1884d0){const _0x2f2671=a18_0x5d7590,_0x14668b=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2f2671(0x2c2)](this,_0x1884d0);let _0x241d96=![];return _0x1884d0[_0x2f2671(0x2cc)](_0x518628=>{const _0x277c71=_0x2f2671;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x518628['id']]&&!this['activeBreakpointMap'][_0x518628['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x277c71(0x2c2)](this,_0x518628,_0x427fd8=>{const _0x2f1667=_0x277c71;_0x427fd8&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x2f1667(0x2c2)](this,_0x518628,!![],![]);}),_0x241d96=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x518628['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x518628['id'],_0x518628[_0x277c71(0x26f)]),this['pipingManager'][_0x277c71(0x28e)](_0x518628['id'],_0x518628['pipingStatus']);}),(0x0,mapSubtract_1[_0x2f2671(0x295)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x14668b)[_0x2f2671(0x2cc)](_0x2c2b56=>{const {id:_0x5d0579}=_0x2c2b56;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5d0579],_0x241d96=!![];}),(0x0,mapSubtract_1[_0x2f2671(0x295)])(this['activeBreakpointMap'],_0x14668b)[_0x2f2671(0x2cc)](_0x261ab6=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x261ab6,!![]),_0x241d96=!![];}),_0x241d96&&this['logger'][_0x2f2671(0x22a)](formatBreakpoints(_0x2f2671(0x2e6),_0x14668b)),_0x241d96;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x41920d){return Object['fromEntries'](_0x41920d['map'](_0x19df2e=>[_0x19df2e['id'],_0x19df2e]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x799b17,_0x28fa4e){const _0x70e852=a18_0x5d7590;this[_0x70e852(0x2d9)][_0x70e852(0x2d5)](_0x70e852(0x2c9)+_0x799b17['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x70e852(0x2c0)](_0x799b17['id']),this[_0x70e852(0x306)][_0x70e852(0x2f4)](_0x799b17['id']),delete this['activeBreakpointMap'][_0x799b17['id']],_0x28fa4e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x70e852(0x266)](_0x799b17,_0x21f740=>{const _0x29ee49=_0x70e852;if(_0x21f740)this[_0x29ee49(0x2d9)][_0x29ee49(0x230)](_0x21f740);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x43eec8,_0x2c7ea5){const _0x895412=a18_0x5d7590;this[_0x895412(0x2d9)][_0x895412(0x2d5)](_0x895412(0x1f8),this[_0x895412(0x290)](_0x43eec8));if(!this['config']['allowExpressions']&&(_0x43eec8[_0x895412(0x2fd)]||_0x43eec8['expressions'])){this[_0x895412(0x2d9)][_0x895412(0x230)](utils_1[_0x895412(0x29c)][_0x895412(0x288)][_0x895412(0x228)]??''),_0x43eec8[_0x895412(0x234)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x895412(0x21d)],utils_1['errors'][_0x895412(0x288)],!![]),setImmediate(()=>{const _0x1ed05b=_0x895412;_0x2c7ea5(utils_1[_0x1ed05b(0x29c)][_0x1ed05b(0x288)]);});return;}const _0xe45f7b=_0x43eec8['createTime']?Number(_0x43eec8['createTime'][_0x895412(0x29a)]):Date[_0x895412(0x29b)]()/0x3e8,_0x52569b=_0x43eec8[_0x895412(0x2fb)]??this[_0x895412(0x217)][_0x895412(0x2ca)];_0x43eec8[_0x895412(0x203)]=_0xe45f7b+_0x52569b,_0x43eec8[_0x895412(0x2ea)]?.[_0x895412(0x2ed)]&&(_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]=path['normalize'](_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]),path[_0x895412(0x30b)]===path['posix'][_0x895412(0x30b)]&&(_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]=_0x43eec8[_0x895412(0x2ea)][_0x895412(0x2ed)]['split']('\x5c')[_0x895412(0x2af)](path[_0x895412(0x30b)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x895412(0x258)](_0x43eec8,_0x9e2704=>{const _0x1b8fb7=_0x895412;if(_0x9e2704){_0x2c7ea5(_0x9e2704);return;}this[_0x1b8fb7(0x2d9)][_0x1b8fb7(0x2d5)](_0x1b8fb7(0x20d)+_0x43eec8['id']),this[_0x1b8fb7(0x2e0)][_0x43eec8['id']]=_0x43eec8,_0x43eec8[_0x1b8fb7(0x2f6)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1b8fb7(0x206)](_0x43eec8,(_0x3d6ff5,_0x234941)=>{const _0x124765=_0x1b8fb7,_0x16e009=_0x234941[_0x124765(0x214)](_0x145791=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x124765(0x2c2)](this,_0x145791)),_0x376106=(0x0,format_1[_0x124765(0x2cf)])(_0x3d6ff5,_0x16e009),_0x51e870=_0x124765(0x2c5)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x124765(0x2eb)](_0x376106)??_0x376106),_0x33879b=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x51e870,_0x43eec8['id']);if(_0x33879b){const _0x5102e1=_0x33879b['message'],{isOutOfQuota:_0xf68121}=_0x33879b;let _0x2d86e4,_0x10985b;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x124765(0x254)]()&&!_0xf68121&&(_0x2d86e4=_0x124765(0x2c5)+_0x3d6ff5,_0x10985b=_0x16e009);this[_0x124765(0x306)][_0x124765(0x272)](this[_0x124765(0x2b2)],_0x43eec8['id'],_0x5102e1,_0x43eec8[_0x124765(0x2e7)],_0x2d86e4,_0x10985b);if(_0xf68121)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x124765(0x2f5)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x517baf=_0x124765;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x517baf(0x1fd)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x124765(0x217)][_0x124765(0x1f3)][_0x124765(0x202)]*0x3e8),'f');else _0x5102e1?.[_0x124765(0x245)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x124765(0x2f5)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x43eec8['id']],_0x21efba=>{const _0xd53af6=_0x1b8fb7;if(_0x21efba){this[_0xd53af6(0x2d9)][_0xd53af6(0x230)](_0x21efba),_0x2c7ea5(_0x21efba);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1b8fb7(0x271)](_0x43eec8,_0x497f1b=>{const _0x401fb9=_0x1b8fb7;if(_0x497f1b){setImmediate(()=>{const _0x57d195=a18_0x2da5;this[_0x57d195(0x2d9)][_0x57d195(0x230)](_0x497f1b),_0x2c7ea5(_0x497f1b);});return;}this[_0x401fb9(0x2d9)]['info'](_0x401fb9(0x241)+_0x43eec8['id'],_0x43eec8[_0x401fb9(0x2ea)]?.[_0x401fb9(0x2ed)],_0x43eec8['location']?.[_0x401fb9(0x2c4)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x401fb9(0x2c2)](this,_0x43eec8,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x401fb9(0x27a)](_0x43eec8['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1b8fb7(0x2c2)](this,_0x43eec8);}),this['emit'](_0x895412(0x2df));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2f81f9,_0x14d799,_0xe6aa0d=!![]){const _0x29fe90=a18_0x5d7590;if(_0x2f81f9['status']?.[_0x29fe90(0x28d)]){let _0x40692b=_0x2f81f9[_0x29fe90(0x234)]?.[_0x29fe90(0x228)]?.['format']||'';_0x2f81f9['status']?.[_0x29fe90(0x228)]?.[_0x29fe90(0x20b)]&&(_0x40692b+=':\x20'+_0x2f81f9[_0x29fe90(0x234)]?.[_0x29fe90(0x228)]?.['parameters'][_0x29fe90(0x2b1)]()),this['logger']['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x2f81f9+_0x29fe90(0x28f)+_0x40692b);}else this[_0x29fe90(0x2d9)][_0x29fe90(0x2d5)](_0x29fe90(0x2f0),this[_0x29fe90(0x290)](_0x2f81f9));_0x14d799&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2f81f9['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x29fe90(0x2c2)](this,_0x2f81f9,_0xe6aa0d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29fe90(0x292)](this['debuggee'],extend(!![],{},_0x2f81f9));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x3c47b0){const _0x4c350b=a18_0x5d7590;this[_0x4c350b(0x2d9)][_0x4c350b(0x22a)](_0x4c350b(0x280)+_0x3c47b0+'\x20accepted\x20by\x20agent');const _0x3a4bfc=extend(!![],{},_0x3c47b0);_0x3a4bfc['isFinalState']=![],_0x3a4bfc['status']=new status_message_1[(_0x4c350b(0x2fa))](status_message_1['StatusMessage'][_0x4c350b(0x21d)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4c350b(0x292)](this[_0x4c350b(0x2b2)],_0x3a4bfc);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x14e9b0){const _0x380f27=a18_0x5d7590;this[_0x380f27(0x2d9)][_0x380f27(0x2d5)](_0x380f27(0x2e5)+_0x14e9b0),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x14e9b0['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x380f27(0x292)](this[_0x380f27(0x2b2)],_0x14e9b0);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x21577f){const _0x2c0034=a18_0x5d7590;_0x21577f[_0x2c0034(0x2cc)](_0x2adfbf=>{const _0x1173ac=_0x2c0034;this[_0x1173ac(0x2d9)][_0x1173ac(0x2d5)](_0x1173ac(0x2b5)+_0x2adfbf['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2adfbf['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x2adfbf,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x36ecec=a18_0x5d7590,_0x357942=Date[_0x36ecec(0x29b)]()/0x3e8;return Object[_0x36ecec(0x2ec)](this[_0x36ecec(0x2e0)])[_0x36ecec(0x205)](_0x22e130=>_0x22e130['expirationTime']?_0x22e130[_0x36ecec(0x203)]<_0x357942:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x575a0b){const _0xa79280=a18_0x5d7590,_0x4c0cae=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x575a0b),_0x44c88b=_0x4c0cae['blacklist'],_0x235748=_0x4c0cae[_0xa79280(0x2e2)];_0x44c88b?.[_0xa79280(0x245)]&&this[_0xa79280(0x2d9)][_0xa79280(0x22a)](_0xa79280(0x208),_0x44c88b['join']('\x0a\x09')),_0x235748?.[_0xa79280(0x245)]&&this['logger'][_0xa79280(0x22a)](_0xa79280(0x1f5),_0x235748[_0xa79280(0x2af)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x44c88b,_0x235748,this[_0xa79280(0x217)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x4f156c){const _0x2739bf=a18_0x5d7590,_0x4abbcf=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2739bf(0x267)](_0x4f156c);_0x4abbcf?.[_0x2739bf(0x245)]&&this[_0x2739bf(0x2d9)][_0x2739bf(0x22a)](_0x2739bf(0x225),_0x4abbcf[_0x2739bf(0x214)](_0x9536b2=>_0x2739bf(0x246)+_0x9536b2[_0x2739bf(0x2aa)]+_0x2739bf(0x2b8)+_0x9536b2[_0x2739bf(0x2c7)]+_0x2739bf(0x1f0)+_0x9536b2['pattern']+_0x2739bf(0x30c)+_0x9536b2[_0x2739bf(0x2ad)])[_0x2739bf(0x2af)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x2739bf(0x260))](this[_0x2739bf(0x2d9)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2739bf(0x226)](_0x4abbcf);},_Debuglet_stringify=function _Debuglet_stringify(_0x17bed3){const _0x4ab216=a18_0x5d7590;if(!_0x17bed3)return JSON[_0x4ab216(0x253)](_0x17bed3,(_0xc84014,_0x5da39c)=>_0x5da39c===undefined?_0x4ab216(0x2d8):_0x5da39c);if(Array[_0x4ab216(0x2ce)](_0x17bed3)){const _0x575677=_0x17bed3[_0x4ab216(0x214)](_0x574450=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4ab216(0x2c2)](this,_0x574450));return'['+_0x575677[_0x4ab216(0x2af)](',\x20')+']';}if(typeof _0x17bed3===_0x4ab216(0x21b)){const _0x48345d=Object[_0x4ab216(0x279)](_0x17bed3)[_0x4ab216(0x214)](([_0x63d2e4,_0x388a71])=>{const _0x4c7c6f=_0x4ab216,_0xe6418a=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4c7c6f(0x20c)](_0x63d2e4)?redaction_manager_1[_0x4c7c6f(0x25c)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4c7c6f(0x2c2)](this,_0x388a71);return JSON['stringify'](_0x63d2e4)+':\x20'+_0xe6418a;})['join'](',\x20');return'{'+_0x48345d+'}';}return JSON[_0x4ab216(0x253)](_0x17bed3);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x1380f3=a19_0x1921;function a19_0x1921(_0xb50feb,_0x7656cc){const _0x57bbf3=a19_0x2d61();return a19_0x1921=function(_0x5a55cf,_0x41e5d9){_0x5a55cf=_0x5a55cf-0x124;let _0x2d6106=_0x57bbf3[_0x5a55cf];return _0x2d6106;},a19_0x1921(_0xb50feb,_0x7656cc);}(function(_0x4d520f,_0x885e29){const _0x105d89=a19_0x1921,_0x209954=_0x4d520f();while(!![]){try{const _0x59b4d7=parseInt(_0x105d89(0x127))/0x1*(-parseInt(_0x105d89(0x15e))/0x2)+parseInt(_0x105d89(0x145))/0x3+-parseInt(_0x105d89(0x15f))/0x4+-parseInt(_0x105d89(0x165))/0x5*(parseInt(_0x105d89(0x12c))/0x6)+-parseInt(_0x105d89(0x151))/0x7*(-parseInt(_0x105d89(0x15b))/0x8)+parseInt(_0x105d89(0x15d))/0x9+parseInt(_0x105d89(0x138))/0xa*(parseInt(_0x105d89(0x163))/0xb);if(_0x59b4d7===_0x885e29)break;else _0x209954['push'](_0x209954['shift']());}catch(_0x212341){_0x209954['push'](_0x209954['shift']());}}}(a19_0x2d61,0x494ad));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a19_0x1380f3(0x152)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require('assert');var OS;(function(_0x43e25a){const _0x18f055=a19_0x1380f3;_0x43e25a[_0x18f055(0x15a)]=_0x18f055(0x14a),_0x43e25a[_0x18f055(0x126)]=_0x18f055(0x12d),_0x43e25a['MacOS']=_0x18f055(0x12a);}(OS||(OS={})));var ProcArch;(function(_0x1fc56a){const _0x2b8f7d=a19_0x1380f3,_0x11bbce=(function(){let _0x394543=!![];return function(_0x53b372,_0x18d291){const _0x173486=_0x394543?function(){if(_0x18d291){const _0x1c84a6=_0x18d291['apply'](_0x53b372,arguments);return _0x18d291=null,_0x1c84a6;}}:function(){};return _0x394543=![],_0x173486;};}()),_0x4cb78e=_0x11bbce(this,function(){const _0x5b0b94=a19_0x1921;return _0x4cb78e[_0x5b0b94(0x129)]()['search'](_0x5b0b94(0x124))['toString']()[_0x5b0b94(0x14d)](_0x4cb78e)[_0x5b0b94(0x144)](_0x5b0b94(0x124));});_0x4cb78e(),_0x1fc56a[_0x2b8f7d(0x160)]=_0x2b8f7d(0x160),_0x1fc56a[_0x2b8f7d(0x157)]='x32',_0x1fc56a[_0x2b8f7d(0x13c)]=_0x2b8f7d(0x13c),_0x1fc56a['arm64']=_0x2b8f7d(0x153);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x1380f3(0x15a)],'win32':OS[a19_0x1380f3(0x126)],'darwin':OS[a19_0x1380f3(0x130)]},ArchToProcArchMap={'x32':ProcArch[a19_0x1380f3(0x157)],'x64':ProcArch[a19_0x1380f3(0x160)],'arm':ProcArch[a19_0x1380f3(0x13c)],'arm64':ProcArch[a19_0x1380f3(0x153)]};function a19_0x2d61(){const _0x1a3db2=['128CXwCEG','527632iCzaiN','x64','set','forEach','44zHxCev','versions','290EmeaGA','(((.+)+)+)+$','/etc/os-release','Windows','7477VzrYRn','\x20on\x20','toString','mac','host','12888jCcNCq','windows','utf-8','runtimeEnvironmentInfo','MacOS','totalmem','trim','linuxDistroName','hostname','version','_osRelease','cpus','926570APRsYM','warn','_cachedOsRelease','platform','arm','systemTotalMemoryBytes','/.dockerenv','get','node','match','pid','osVersion','search','686838kDmHJo','isInK8s','isInDocker','existsSync','readFileSync','linux','release','KUBERNETES_SERVICE_HOST','constructor','error','procArch','cpuCoreCount','525vIItCa','EnvironmentMetadata','arm64','_logger','split','env','x32','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','agentOS','Linux','9688kRzFTP','runtimeEnvironmentVersion','3103434KvlMmx'];a19_0x2d61=function(){return _0x1a3db2;};return a19_0x2d61();}class EnvironmentMetadata{constructor(_0x247c5e){const _0x2008be=a19_0x1380f3;assert(_0x247c5e!==null),this[_0x2008be(0x154)]=_0x247c5e;}get['runtimeEnvironmentVersion'](){const _0xa7a57f=a19_0x1380f3;try{const _0x397199=process[_0xa7a57f(0x164)][_0xa7a57f(0x140)][_0xa7a57f(0x141)](/(\d+\.\d+)\..*/);if(_0x397199)return _0x397199[0x1];}catch(_0x318195){this[_0xa7a57f(0x154)]['error'](_0x318195);}return;}get[a19_0x1380f3(0x12f)](){const _0x7e92eb=a19_0x1380f3;return'Node.js\x20'+process[_0x7e92eb(0x135)]+_0x7e92eb(0x128)+(0x0,os_1[_0x7e92eb(0x13b)])()+'\x20'+(0x0,os_1[_0x7e92eb(0x14b)])();}get[a19_0x1380f3(0x142)](){const _0x189448=a19_0x1380f3;return process[_0x189448(0x142)][_0x189448(0x129)]();}get[a19_0x1380f3(0x14f)](){return ArchToProcArchMap[process['arch']]||process['arch'];}get[a19_0x1380f3(0x150)](){const _0x328001=a19_0x1380f3;return(0x0,os_1[_0x328001(0x137)])()['length'];}get[a19_0x1380f3(0x13d)](){const _0x330c8d=a19_0x1380f3;return(0x0,os_1[_0x330c8d(0x131)])();}get[a19_0x1380f3(0x12b)](){const _0x54154d=a19_0x1380f3;return(0x0,os_1[_0x54154d(0x134)])();}get[a19_0x1380f3(0x159)](){const _0x311bc0=a19_0x1380f3;return PlatformToOsMap[(0x0,os_1[_0x311bc0(0x13b)])()]||(0x0,os_1['platform'])();}get[a19_0x1380f3(0x143)](){const _0x571212=a19_0x1380f3;try{if(this[_0x571212(0x159)]===OS[_0x571212(0x15a)])return this[_0x571212(0x136)]['get']('VERSION_ID')??(0x0,os_1[_0x571212(0x14b)])();return(0x0,os_1['release'])();}catch(_0x516ff5){this[_0x571212(0x154)][_0x571212(0x14e)](_0x516ff5);}return;}get[a19_0x1380f3(0x133)](){const _0x233866=a19_0x1380f3;return this[_0x233866(0x159)]===OS[_0x233866(0x15a)]&&this[_0x233866(0x136)][_0x233866(0x13f)]('ID')||'';}get[a19_0x1380f3(0x147)](){const _0x3b189d=a19_0x1380f3;return this['agentOS']===OS[_0x3b189d(0x15a)]?(0x0,fs_1[_0x3b189d(0x148)])(_0x3b189d(0x13e)):![];}get['isInK8s'](){const _0x1417ae=a19_0x1380f3;return!!process[_0x1417ae(0x156)][_0x1417ae(0x14c)];}get[a19_0x1380f3(0x136)](){const _0x8eda32=a19_0x1380f3;if(!this[_0x8eda32(0x13a)]){this[_0x8eda32(0x13a)]=new Map();try{if(this[_0x8eda32(0x159)]===OS[_0x8eda32(0x15a)]){const _0x1debf3=(0x0,fs_1[_0x8eda32(0x149)])(_0x8eda32(0x125),_0x8eda32(0x12e));_0x1debf3[_0x8eda32(0x155)](/\r?\n/)[_0x8eda32(0x162)](_0xdbce29=>{const _0x13074a=_0x8eda32,[_0x15ea46,_0x4cbf99]=_0xdbce29[_0x13074a(0x132)]()[_0x13074a(0x155)]('=');this[_0x13074a(0x13a)]?.[_0x13074a(0x161)](_0x15ea46,_0x4cbf99?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x1f7f6f){this[_0x8eda32(0x154)][_0x8eda32(0x139)](_0x8eda32(0x158),_0x1f7f6f);}}return this[_0x8eda32(0x13a)];}['getProps'](){const _0x3ac65=a19_0x1380f3;return{'runtimeEnvironmentVersion':this[_0x3ac65(0x15c)],'runtimeEnvironmentInfo':this[_0x3ac65(0x12f)],'pid':this[_0x3ac65(0x142)],'cpuCoreCount':this['cpuCoreCount'],'systemTotalMemoryBytes':this[_0x3ac65(0x13d)],'host':this['host'],'agentOS':this[_0x3ac65(0x159)],'osVersion':this[_0x3ac65(0x143)],'linuxDistroName':this[_0x3ac65(0x133)]||undefined,'isInDocker':this[_0x3ac65(0x147)],'isInK8s':this[_0x3ac65(0x146)],'procArch':this[_0x3ac65(0x14f)]};}}exports[a19_0x1380f3(0x152)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x124bb8=a20_0x140e;function a20_0x140e(_0x4228d0,_0x5d9d02){const _0x400c52=a20_0x106b();return a20_0x140e=function(_0x1b6288,_0x73afb5){_0x1b6288=_0x1b6288-0xf9;let _0x106b4c=_0x400c52[_0x1b6288];return _0x106b4c;},a20_0x140e(_0x4228d0,_0x5d9d02);}(function(_0x454632,_0x4ddc79){const _0x2d8686=a20_0x140e,_0x593155=_0x454632();while(!![]){try{const _0xff835d=parseInt(_0x2d8686(0x117))/0x1*(-parseInt(_0x2d8686(0x114))/0x2)+-parseInt(_0x2d8686(0x108))/0x3+-parseInt(_0x2d8686(0x119))/0x4+-parseInt(_0x2d8686(0x11c))/0x5*(-parseInt(_0x2d8686(0xfb))/0x6)+parseInt(_0x2d8686(0x101))/0x7*(-parseInt(_0x2d8686(0xfc))/0x8)+parseInt(_0x2d8686(0xfa))/0x9+-parseInt(_0x2d8686(0x10c))/0xa*(-parseInt(_0x2d8686(0x110))/0xb);if(_0xff835d===_0x4ddc79)break;else _0x593155['push'](_0x593155['shift']());}catch(_0x54ac08){_0x593155['push'](_0x593155['shift']());}}}(a20_0x106b,0xb8246));const a20_0x73afb5=(function(){let _0x2f97ad=!![];return function(_0x1ce539,_0x2beac5){const _0x4446ae=_0x2f97ad?function(){const _0x2df788=a20_0x140e;if(_0x2beac5){const _0x25d3a2=_0x2beac5[_0x2df788(0x120)](_0x1ce539,arguments);return _0x2beac5=null,_0x25d3a2;}}:function(){};return _0x2f97ad=![],_0x4446ae;};}()),a20_0x1b6288=a20_0x73afb5(this,function(){const _0x48335b=a20_0x140e;return a20_0x1b6288[_0x48335b(0xfe)]()[_0x48335b(0x112)](_0x48335b(0xf9))[_0x48335b(0xfe)]()[_0x48335b(0x115)](a20_0x1b6288)[_0x48335b(0x112)]('(((.+)+)+)+$');});a20_0x1b6288();'use strict';Object[a20_0x124bb8(0x11e)](exports,a20_0x124bb8(0x11f),{'value':!![]}),exports[a20_0x124bb8(0x11b)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x41c4d0){const _0x2bda47=a20_0x124bb8;this[_0x2bda47(0x121)]=_0x41c4d0,this['fileIndex']=new Map();}static['fromFileStats'](_0x41290f){const _0x40ecf4=a20_0x124bb8,_0x157d83=new FileIndex(_0x41290f);return _0x157d83[_0x40ecf4(0x10e)](Object[_0x40ecf4(0x10a)](_0x41290f)||[]),_0x157d83;}static[a20_0x124bb8(0x10d)](_0x27a920){const _0x594050=new FileIndex(undefined);return _0x594050['buildIndex'](_0x27a920||[]),_0x594050;}get['fileStats'](){return this['_fileStats']??{};}[a20_0x124bb8(0x106)](_0x69a3f4){const _0x28cda5=a20_0x124bb8,_0x4a3134=this[_0x28cda5(0x112)](_0x69a3f4);if(!_0x4a3134||_0x4a3134[_0x28cda5(0x113)]===0x0)return[];const _0x217c1d=[..._0x4a3134][_0x28cda5(0x105)](_0x114f67=>_0x114f67[_0x28cda5(0xfd)]),_0x1f7c6e=Math[_0x28cda5(0x11d)](..._0x217c1d),_0x406c5c=[..._0x4a3134][_0x28cda5(0x122)](_0x3e041f=>_0x3e041f[_0x28cda5(0xfd)]===_0x1f7c6e);return _0x406c5c;}['buildIndex'](_0x82299b){const _0x565fd5=a20_0x124bb8;for(const _0x433196 of _0x82299b){for(const _0x2684fd of this[_0x565fd5(0x109)](_0x433196)){let _0x2055f4=this[_0x565fd5(0x116)][_0x565fd5(0x102)](_0x2684fd);_0x2055f4===undefined&&(_0x2055f4=new Set(),this[_0x565fd5(0x116)]['set'](_0x2684fd,_0x2055f4)),_0x2055f4[_0x565fd5(0xff)](_0x433196);}}}['generateSubPaths'](_0x1c8589){const _0x378537=a20_0x124bb8;_0x1c8589=this['stripStartingSep'](_0x1c8589);const _0x5228d1=[_0x1c8589];while(_0x1c8589[_0x378537(0x103)](path[_0x378537(0x104)])){_0x1c8589=_0x1c8589[_0x378537(0x11a)](_0x1c8589[_0x378537(0x10b)](path[_0x378537(0x104)])+path[_0x378537(0x104)]['length'],_0x1c8589['length']),_0x5228d1[_0x378537(0x107)](_0x1c8589);}return _0x5228d1;}[a20_0x124bb8(0x112)](_0x24536f){const _0x52bfbb=a20_0x124bb8;if(!_0x24536f)return undefined;_0x24536f=this['stripStartingSep'](_0x24536f);for(const _0x4d6e4d of this[_0x52bfbb(0x109)](_0x24536f)){if(this['fileIndex'][_0x52bfbb(0x111)](_0x4d6e4d))return this[_0x52bfbb(0x116)][_0x52bfbb(0x102)](_0x4d6e4d);}return undefined;}[a20_0x124bb8(0x118)](_0x5ae923){const _0xb4aeef=a20_0x124bb8;if(_0x5ae923&&(_0x5ae923[_0xb4aeef(0x100)]('/')||_0x5ae923[_0xb4aeef(0x100)]('\x5c')))return _0x5ae923[_0xb4aeef(0x10f)](0x1);return _0x5ae923;}}function a20_0x106b(){const _0x3cf267=['constructor','fileIndex','121knNfCY','stripStartingSep','1684792eVrmaA','substring','FileIndex','15NDhwXn','min','defineProperty','__esModule','apply','_fileStats','filter','(((.+)+)+)+$','13212180JLakUo','1159812lAkgvq','104DmXjbT','length','toString','add','startsWith','198877InWZHJ','get','includes','sep','map','findShortestFuzzyMatches','push','4252059knTFgG','generateSubPaths','keys','indexOf','18661210NASigc','fromFileList','buildIndex','substr','11iBSuwp','has','search','size','15734kdQSDF'];a20_0x106b=function(){return _0x3cf267;};return a20_0x106b();}exports[a20_0x124bb8(0x11b)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x417907=a21_0x3fca;(function(_0x25dd6b,_0x384540){const _0x281a03=a21_0x3fca,_0x509973=_0x25dd6b();while(!![]){try{const _0x1609d4=-parseInt(_0x281a03(0x1a8))/0x1+-parseInt(_0x281a03(0x19f))/0x2*(-parseInt(_0x281a03(0x1a4))/0x3)+parseInt(_0x281a03(0x1ac))/0x4+parseInt(_0x281a03(0x1a5))/0x5+parseInt(_0x281a03(0x1aa))/0x6*(parseInt(_0x281a03(0x1ae))/0x7)+-parseInt(_0x281a03(0x19e))/0x8+-parseInt(_0x281a03(0x1a3))/0x9;if(_0x1609d4===_0x384540)break;else _0x509973['push'](_0x509973['shift']());}catch(_0xd0568c){_0x509973['push'](_0x509973['shift']());}}}(a21_0x5078,0x1a036));const a21_0x4501fa=(function(){let _0x1e637f=!![];return function(_0x52ec9d,_0x2f8d54){const _0x2ec22e=_0x1e637f?function(){const _0x3fbb9d=a21_0x3fca;if(_0x2f8d54){const _0x38baeb=_0x2f8d54[_0x3fbb9d(0x1b1)](_0x52ec9d,arguments);return _0x2f8d54=null,_0x38baeb;}}:function(){};return _0x1e637f=![],_0x2ec22e;};}()),a21_0xcd09cd=a21_0x4501fa(this,function(){const _0xb14c6c=a21_0x3fca;return a21_0xcd09cd[_0xb14c6c(0x1b0)]()[_0xb14c6c(0x1b5)](_0xb14c6c(0x1a6))[_0xb14c6c(0x1b0)]()[_0xb14c6c(0x1b6)](a21_0xcd09cd)[_0xb14c6c(0x1b5)](_0xb14c6c(0x1a6));});function a21_0x5078(){const _0x266e07=['123339DlCNqI','276245uKMgat','(((.+)+)+)+$','test','67124rlrbzS','defineProperty','9306rUrzTV','replace','542292eaGWbW','errorMap','70jiaIBC','ScanResultsImpl','toString','apply','normalize','__esModule','map','search','constructor','stats','forEach','path','keys','selectFiles','1029616XNrwwA','10gMYuQs','hash','errors','sep','985689QugQnU'];a21_0x5078=function(){return _0x266e07;};return a21_0x5078();}a21_0xcd09cd();'use strict';function a21_0x3fca(_0x2135d1,_0x40122f){const _0x5e1fcf=a21_0x5078();return a21_0x3fca=function(_0xcd09cd,_0x4501fa){_0xcd09cd=_0xcd09cd-0x19c;let _0x5078c3=_0x5e1fcf[_0xcd09cd];return _0x5078c3;},a21_0x3fca(_0x2135d1,_0x40122f);}Object[a21_0x417907(0x1a9)](exports,a21_0x417907(0x1b3),{'value':!![]}),exports[a21_0x417907(0x1af)]=void 0x0;const path=require(a21_0x417907(0x1b9));class ScanResultsImpl{constructor(_0x224864,_0x94385,_0x509772){const _0x4adf2f=a21_0x417907;this[_0x4adf2f(0x1b7)]=_0x224864,this['errorMap']=_0x94385,this[_0x4adf2f(0x1a0)]=_0x509772;}[a21_0x417907(0x1a1)](){const _0x576cec=a21_0x417907;return this[_0x576cec(0x1ad)];}['all'](){return this['stats'];}['selectStats'](_0x31ed21){const _0x1698c0=a21_0x417907,_0x5a00f4={};return Object['keys'](this[_0x1698c0(0x1b7)])[_0x1698c0(0x1b8)](_0x1a959e=>{_0x31ed21['test'](_0x1a959e)&&(_0x5a00f4[_0x1a959e]=this['stats'][_0x1a959e]);}),_0x5a00f4;}[a21_0x417907(0x19d)](_0x32a0d2,_0x2c7a79){const _0x15aeae=a21_0x417907;return _0x2c7a79=path[_0x15aeae(0x1b2)](_0x2c7a79+path[_0x15aeae(0x1a2)]),Object[_0x15aeae(0x19c)](this[_0x15aeae(0x1b7)])['filter'](_0x167400=>_0x167400&&_0x32a0d2[_0x15aeae(0x1a7)](_0x167400))[_0x15aeae(0x1b4)](_0x4743ef=>path[_0x15aeae(0x1b2)](_0x4743ef)[_0x15aeae(0x1ab)](_0x2c7a79,''));}}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x4e34e1=a22_0xd626;function a22_0x1d9a(){const _0x37a2d8=['addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','toString','642456uLuYpu','addFilesFromDir','from','digest','computeStats','EMPTY-no-js-files','findFiles','pipe','createHash','1710weLtWh','hex','1433gSFUCc','warn','__esModule','file','ScanResultsImpl','hasReadAccess','search','can\x27t\x20access\x20path:\x20[','join','constructor','SHA1-','481iJRrhA','244AhwqHC','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','1409210LTTvQE','scan','set','8emCQyP','test','Scanner','Indexing\x20files\x20in\x20','14034AvWcdi','hash','835WKgrzR','resolve','66RwHXZy','defineProperty','statsForFile','split','update','length','(((.+)+)+)+$','error','./scan-results','constants','crypto','sha1','directory','70017ajmQgO','4825494WCUyEb','createReadStream','end','logger','9387259XgSrks','accessSync'];a22_0x1d9a=function(){return _0x37a2d8;};return a22_0x1d9a();}function a22_0xd626(_0xca4e1b,_0x4adcb4){const _0x57a4b5=a22_0x1d9a();return a22_0xd626=function(_0xb203de,_0x18283e){_0xb203de=_0xb203de-0x12b;let _0x1d9a91=_0x57a4b5[_0xb203de];return _0x1d9a91;},a22_0xd626(_0xca4e1b,_0x4adcb4);}(function(_0x42f39e,_0x3d9c2c){const _0x4978f6=a22_0xd626,_0x57f13b=_0x42f39e();while(!![]){try{const _0x2cd332=parseInt(_0x4978f6(0x141))/0x1*(-parseInt(_0x4978f6(0x13f))/0x2)+-parseInt(_0x4978f6(0x12d))/0x3*(-parseInt(_0x4978f6(0x14d))/0x4)+-parseInt(_0x4978f6(0x158))/0x5*(parseInt(_0x4978f6(0x156))/0x6)+parseInt(_0x4978f6(0x132))/0x7*(-parseInt(_0x4978f6(0x152))/0x8)+-parseInt(_0x4978f6(0x12e))/0x9+parseInt(_0x4978f6(0x14f))/0xa*(parseInt(_0x4978f6(0x15a))/0xb)+-parseInt(_0x4978f6(0x136))/0xc*(-parseInt(_0x4978f6(0x14c))/0xd);if(_0x2cd332===_0x3d9c2c)break;else _0x57f13b['push'](_0x57f13b['shift']());}catch(_0x54fffd){_0x57f13b['push'](_0x57f13b['shift']());}}}(a22_0x1d9a,0xb8d58));const a22_0x18283e=(function(){let _0x7e2431=!![];return function(_0x3f3ecc,_0x116d9f){const _0x505e5a=_0x7e2431?function(){if(_0x116d9f){const _0x34d5f4=_0x116d9f['apply'](_0x3f3ecc,arguments);return _0x116d9f=null,_0x34d5f4;}}:function(){};return _0x7e2431=![],_0x505e5a;};}()),a22_0xb203de=a22_0x18283e(this,function(){const _0x473066=a22_0xd626;return a22_0xb203de['toString']()[_0x473066(0x147)](_0x473066(0x160))[_0x473066(0x135)]()[_0x473066(0x14a)](a22_0xb203de)[_0x473066(0x147)](_0x473066(0x160));});a22_0xb203de();'use strict';Object[a22_0x4e34e1(0x15b)](exports,a22_0x4e34e1(0x143),{'value':!![]}),exports[a22_0x4e34e1(0x154)]=void 0x0;const crypto=require(a22_0x4e34e1(0x164)),fs=require('fs'),path=require('path'),scan_results_1=require(a22_0x4e34e1(0x162));class Scanner{constructor(_0x276d10){const _0xa3e653=a22_0x4e34e1;this[_0xa3e653(0x131)]=_0x276d10;}async[a22_0x4e34e1(0x150)](_0x430045,_0x55d580,_0x10b771,_0x242c8c){const _0x87e63f=a22_0x4e34e1,_0x3d2569=await this[_0x87e63f(0x13c)](_0x430045,_0x55d580,_0x242c8c);return this[_0x87e63f(0x13a)](_0x3d2569,_0x10b771);}async[a22_0x4e34e1(0x13a)](_0x381c70,_0x42ff94){const _0x4b4d59=a22_0x4e34e1;if(_0x381c70[_0x4b4d59(0x15f)]===0x0)return new scan_results_1[(_0x4b4d59(0x145))]({},new Map(),_0x4b4d59(0x13b));const _0x4c622a=[],_0x1d1981={},_0x16c3a0=new Map();for(const _0x58b2b6 of _0x381c70){try{const _0x2bf3a1=await this[_0x4b4d59(0x15c)](_0x58b2b6,!_0x42ff94);!_0x42ff94&&_0x4c622a['push'](_0x2bf3a1[_0x4b4d59(0x157)]),_0x1d1981[_0x58b2b6]=_0x2bf3a1;}catch(_0xb85c31){_0x16c3a0[_0x4b4d59(0x151)](_0x58b2b6,_0xb85c31);}}let _0x5d6dba;if(!_0x42ff94){const _0x16a48b=_0x4c622a['sort']()[_0x4b4d59(0x149)](),_0x20bab1=crypto[_0x4b4d59(0x13e)]('sha1')[_0x4b4d59(0x15e)](_0x16a48b)[_0x4b4d59(0x139)](_0x4b4d59(0x140));_0x5d6dba=_0x4b4d59(0x14b)+_0x20bab1;}else _0x5d6dba=_0x42ff94;return new scan_results_1[(_0x4b4d59(0x145))](_0x1d1981,_0x16c3a0,_0x5d6dba);}async[a22_0x4e34e1(0x13c)](_0x5c96a4,_0x17eb38,_0x5b7d5e){const _0x442b46=a22_0x4e34e1,_0x5f1782=new Set();await this['addFilesFromDir'](_0x5f1782,_0x5c96a4,_0x17eb38);for(const _0x405fe6 of _0x5b7d5e??[]){if(_0x405fe6){const _0x48e807=path[_0x442b46(0x159)](_0x405fe6);try{await this[_0x442b46(0x137)](_0x5f1782,_0x48e807,_0x17eb38);}catch(_0x3a8ac5){this['logger']['error']('Specified\x20extraPaths\x20does\x20not\x20exist!',_0x3a8ac5);}}}return Array[_0x442b46(0x138)](_0x5f1782);}static[a22_0x4e34e1(0x146)](_0x58adfe){const _0x3692ae=a22_0x4e34e1;try{return fs[_0x3692ae(0x133)](_0x58adfe,fs[_0x3692ae(0x163)]['R_OK']),!![];}catch{return![];}}async['addFilesFromDir'](_0x41d35e,_0x22a715,_0x4f9630){return new Promise((_0xcacafb,_0x1f2657)=>{const _0x4a96f7=a22_0xd626;let _0x5afb36;if(!_0x22a715){_0x1f2657(new Error(_0x4a96f7(0x134)));return;}this[_0x4a96f7(0x131)]['info'](_0x4a96f7(0x155)+path[_0x4a96f7(0x159)](_0x22a715));const _0xc9ddef=findit(_0x22a715);_0xc9ddef['on']('error',_0x29a88f=>{_0x5afb36=_0x29a88f;return;}),_0xc9ddef['on'](_0x4a96f7(0x12c),(_0x422df5,_0x169245,_0x14e4fb)=>{const _0x49b015=_0x4a96f7,_0x19cc2f=path['basename'](_0x422df5);!Scanner[_0x49b015(0x146)](_0x422df5)&&(this[_0x49b015(0x131)][_0x49b015(0x142)](_0x49b015(0x148)+_0x422df5+_0x49b015(0x14e)),_0x14e4fb()),(_0x19cc2f==='.git'||_0x19cc2f==='node_modules')&&(!path['resolve'](_0x22a715)['startsWith'](path[_0x49b015(0x159)](_0x422df5))&&_0x14e4fb());}),_0xc9ddef['on'](_0x4a96f7(0x144),_0xf10c40=>{const _0x30336f=_0x4a96f7;_0x4f9630[_0x30336f(0x153)](_0xf10c40)&&_0x41d35e['add'](_0xf10c40);}),_0xc9ddef['on'](_0x4a96f7(0x130),()=>{_0x5afb36?_0x1f2657(_0x5afb36):_0xcacafb();});});}async[a22_0x4e34e1(0x15c)](_0x4a65c3,_0x4fc573){return new Promise((_0x5da137,_0x142f43)=>{const _0xae67bd=a22_0xd626,_0x3beb13=fs[_0xae67bd(0x12f)](_0x4a65c3);_0x3beb13['on'](_0xae67bd(0x161),_0x5e2550=>{_0x142f43(_0x5e2550);}),_0x3beb13['on']('open',()=>{const _0xf0cd0=_0xae67bd;let _0x389bec;_0x4fc573&&(_0x389bec=crypto[_0xf0cd0(0x13e)](_0xf0cd0(0x12b)));let _0x1c7066=0x0,_0x2fabdd;const _0x59aebc=_0x3beb13[_0xf0cd0(0x13d)](split());_0x59aebc['on'](_0xf0cd0(0x161),_0x179f74=>{_0x2fabdd=_0x179f74;}),_0x59aebc['on']('data',_0x44109b=>{_0x4fc573&&_0x389bec['update'](_0x44109b),_0x1c7066++;}),_0x59aebc['on'](_0xf0cd0(0x130),()=>{const _0x6d0944=_0xf0cd0;if(_0x2fabdd)_0x142f43(_0x2fabdd);else{const _0x226fe5=_0x4fc573?_0x389bec[_0x6d0944(0x139)](_0x6d0944(0x140)):undefined;_0x5da137({'hash':_0x226fe5,'lines':_0x1c7066});}});});});}}exports['Scanner']=Scanner;const findit=require('findit2'),split=require(a22_0x4e34e1(0x15d));
|