lightrun 1.88.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
|
-
|
|
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_0x4ceb5b=a18_0x5c2b;(function(_0x5c9532,_0x5ad060){const _0x515220=a18_0x5c2b,_0x1a2e1e=_0x5c9532();while(!![]){try{const _0x2b06c5=-parseInt(_0x515220(0x219))/0x1*(-parseInt(_0x515220(0x238))/0x2)+-parseInt(_0x515220(0x223))/0x3+-parseInt(_0x515220(0x2b5))/0x4*(-parseInt(_0x515220(0x207))/0x5)+-parseInt(_0x515220(0x2e2))/0x6*(-parseInt(_0x515220(0x1ea))/0x7)+-parseInt(_0x515220(0x252))/0x8*(parseInt(_0x515220(0x2d6))/0x9)+-parseInt(_0x515220(0x2ad))/0xa*(-parseInt(_0x515220(0x2c8))/0xb)+-parseInt(_0x515220(0x267))/0xc*(parseInt(_0x515220(0x2a2))/0xd);if(_0x2b06c5===_0x5ad060)break;else _0x1a2e1e['push'](_0x1a2e1e['shift']());}catch(_0x11a873){_0x1a2e1e['push'](_0x1a2e1e['shift']());}}}(a18_0x3261,0x600c8));function a18_0x5c2b(_0xb4ddda,_0x331ee6){const _0x483741=a18_0x3261();return a18_0x5c2b=function(_0x4a8314,_0x52da40){_0x4a8314=_0x4a8314-0x1d5;let _0x32612d=_0x483741[_0x4a8314];return _0x32612d;},a18_0x5c2b(_0xb4ddda,_0x331ee6);}const a18_0x52da40=(function(){let _0x2b5c86=!![];return function(_0xe00be0,_0x5f2dc9){const _0x21e3db=_0x2b5c86?function(){const _0x5750a0=a18_0x5c2b;if(_0x5f2dc9){const _0x391c25=_0x5f2dc9[_0x5750a0(0x1f0)](_0xe00be0,arguments);return _0x5f2dc9=null,_0x391c25;}}:function(){};return _0x2b5c86=![],_0x21e3db;};}()),a18_0x4a8314=a18_0x52da40(this,function(){const _0x5d6181=a18_0x5c2b;return a18_0x4a8314[_0x5d6181(0x27f)]()[_0x5d6181(0x244)]('(((.+)+)+)+$')[_0x5d6181(0x27f)]()['constructor'](a18_0x4a8314)[_0x5d6181(0x244)](_0x5d6181(0x2e6));});a18_0x4a8314();'use strict';var __classPrivateFieldSet=this&&this[a18_0x4ceb5b(0x24a)]||function(_0x1f03b0,_0x1d9b60,_0x4ad0f9,_0x5e6a3a,_0x4344b9){const _0x2dfa86=a18_0x4ceb5b;if(_0x5e6a3a==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x5e6a3a==='a'&&!_0x4344b9)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x1d9b60===_0x2dfa86(0x228)?_0x1f03b0!==_0x1d9b60||!_0x4344b9:!_0x1d9b60[_0x2dfa86(0x1dc)](_0x1f03b0))throw new TypeError(_0x2dfa86(0x265));return _0x5e6a3a==='a'?_0x4344b9[_0x2dfa86(0x1db)](_0x1f03b0,_0x4ad0f9):_0x4344b9?_0x4344b9['value']=_0x4ad0f9:_0x1d9b60['set'](_0x1f03b0,_0x4ad0f9),_0x4ad0f9;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x41aa6f,_0x1517f1,_0x44be74,_0xfc9e37){const _0x10ce0d=a18_0x4ceb5b;if(_0x44be74==='a'&&!_0xfc9e37)throw new TypeError(_0x10ce0d(0x29c));if(typeof _0x1517f1===_0x10ce0d(0x228)?_0x41aa6f!==_0x1517f1||!_0xfc9e37:!_0x1517f1[_0x10ce0d(0x1dc)](_0x41aa6f))throw new TypeError(_0x10ce0d(0x1dd));return _0x44be74==='m'?_0xfc9e37:_0x44be74==='a'?_0xfc9e37['call'](_0x41aa6f):_0xfc9e37?_0xfc9e37['value']:_0x1517f1[_0x10ce0d(0x2e1)](_0x41aa6f);},_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_0x4ceb5b(0x25b)](exports,a18_0x4ceb5b(0x2d7),{'value':!![]}),exports[a18_0x4ceb5b(0x292)]=exports['CachedPromise']=void 0x0;const assert=require(a18_0x4ceb5b(0x25d)),events_1=require('events'),extend=require(a18_0x4ceb5b(0x23d)),fs=require('fs'),path=require(a18_0x4ceb5b(0x29f)),util=require(a18_0x4ceb5b(0x23a)),status_message_1=require(a18_0x4ceb5b(0x26d)),stackdriver_1=require(a18_0x4ceb5b(0x1f1)),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require(a18_0x4ceb5b(0x27b)),config_1=require(a18_0x4ceb5b(0x225)),configuration_provider_1=require(a18_0x4ceb5b(0x29b)),controller_1=require(a18_0x4ceb5b(0x293)),createDebuggee_1=require(a18_0x4ceb5b(0x29a)),format_1=require(a18_0x4ceb5b(0x1f7)),mapSubtract_1=require(a18_0x4ceb5b(0x2c0)),normalizeConfig_1=require(a18_0x4ceb5b(0x2af)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x4ceb5b(0x1e5)),scanner_1=require(a18_0x4ceb5b(0x20d)),SourceMapper=require('./io/sourcemapper'),piping_manager_1=require(a18_0x4ceb5b(0x2aa)),quota_manager_1=require(a18_0x4ceb5b(0x2c5)),redaction_manager_1=require(a18_0x4ceb5b(0x2c1)),utils_1=require(a18_0x4ceb5b(0x290)),debugapi=require(a18_0x4ceb5b(0x2a0)),redaction_manager_re2js_1=require(a18_0x4ceb5b(0x260)),readFilep=util['promisify'](fs[a18_0x4ceb5b(0x1d7)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x5a449a,_0x733510)=>{const _0x20e70b=a18_0x4ceb5b;let _0x34b276=_0x5a449a+util[_0x20e70b(0x1e4)](_0x20e70b(0x2df),_0x733510['id'],_0x733510[_0x20e70b(0x1d6)],util[_0x20e70b(0x251)](_0x733510[_0x20e70b(0x204)]));if(_0x733510[_0x20e70b(0x255)]){const _0x718216=Number(_0x733510[_0x20e70b(0x255)][_0x20e70b(0x216)]),_0x53c8e7=new Date(_0x718216*0x3e8);_0x34b276+='\x0a\x09createdTime:\x20'+_0x53c8e7[_0x20e70b(0x27f)]();}return _0x733510[_0x20e70b(0x2de)]&&(_0x34b276+=_0x20e70b(0x206)+util['inspect'](_0x733510['condition'])),_0x733510['expressions']&&(_0x34b276+=_0x20e70b(0x2e8)+util[_0x20e70b(0x251)](_0x733510[_0x20e70b(0x2e7)])),_0x34b276;},formatBreakpoints=(_0x3c621d,_0x258c5c)=>_0x3c621d+Object[a18_0x4ceb5b(0x2a6)](_0x258c5c)[a18_0x4ceb5b(0x24c)](_0x3600a1=>formatBreakpoint('',_0x258c5c[_0x3600a1]))[a18_0x4ceb5b(0x281)]('\x0a');function a18_0x3261(){const _0x408672=['cwd','debug','\x09successfully\x20added\x20breakpoint\x20id\x20','Controller','expirationSeconds','APP_ONLY','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','breakpoint_set','started','Fetching\x20breakpoints','38rYkfgC','getClientConnectionTimeoutInSeconds','util','breakpoints_fetch_failed','CachedPromise','extend','jsFileIndex','Error\x20processing\x20the\x20sourcemaps.','Result:\x20\x0a','ConfigurationProvider','debuglet','Switching\x20globalPiping\x20status\x20from\x20','search','addAndPipeLog','env','undefined','\x09remove\x20breakpoint\x20id\x20','CAPTURE','__classPrivateFieldSet','activeFeatures','map','clear','Scheduling\x20registration\x20in\x20','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','getSourceContextFromFile','inspect','144rBbzvK','setCustomLogLevel','replace','createTime','removePerBreakpointQuota','extraPaths','remotelyDisabled','isArray','register','defineProperty','filename','assert','promise','SIGTERM','./reduction/redaction-manager-re2js','register\x20debuggee','Registering\x20debuggee','start','fetcherActive','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','beforeExit','5022972ZgIVvX','\x20caseInsensitive:\x20','sep','sendAgentLogsToServer','scan','unref','../client/stackdriver/status-message','js.map','pattern','\x20(type:\x20','emit','breakpoints_fetched','stop','selectFiles','Registered\x20as\x20debuggee:\x20','breakpointExpirationSec','set','rejecting\x20breakpoint\x20id\x20','entries','promiseResolve','./blocklisting/patterns-blocklist-manager','stdErrThreshold','then','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','toString','forEach','join','readFullVersion','logger','registered','pipingManager','internal','UNSPECIFIED','isFinalState','collectAndSendLog','parameters','collectLogRequestId','ALLOW_EXPRESSIONS_MESSAGE','create','PatternsBlocklistManager','ignoreQuota','./util/utils','Initializing\x20Node.js\x20agent\x20version:\x20','Debuglet','./controller','normalize','config','Error\x20scanning\x20the\x20filesystem.','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','NOT_SET','allowExpressions','./debuglet-helpers/createDebuggee','./configuration-provider','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','do\x20this.','path','./v8/debugapi','maxRequestRetryDelaySeconds','26NrHFZD','waitForTransmissionQueueDrain','SIGINT','FileIndex','keys','name:\x20','Stopping\x20Debuglet','blacklist','./piping-manager','enable','activeBreakpointMap','19280jmfiuy','errors','./debuglet-helpers/normalizeConfig','source-context.json','Unknown\x20agentLogLevel\x20','DEBUG','breakpointUpdateIntervalSec','EventEmitter','3292InRUcV','reporting\x20breakpoint\x20','quotaCheck','GAE-','registration_failed','...\x20[truncated]','description','isReady','resolve','):\x20pattern:\x20','PipingManager','./debuglet-helpers/mapSubtract','./reduction/redaction-manager','Disabled\x20by\x20the\x20server','debuggee','setPipingStatus','./quota-manager','logMainConfigParams','Found\x20breakpoint\x20with\x20invalid\x20action:','3905KeDKGE','agentLog','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','scheduleBreakpointFetch_\x20','LOG','getProps','backoff','setLevel','push','name','info','isRegistered','kill','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','281493tokYuJ','__esModule','setBlocklistManager','agentLogTargetDir','Malformed\x20source-context.json\x20file:\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','allowRootAsWorkingDirectory','isRedactionActive','condition','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','prettyError','get','40830ETQpkN','globalPipingStatus','Debuglet\x20not\x20running','removeListener','(((.+)+)+)+$','expressions','\x0a\x09expressions:\x20','breakpoints_fetch_registration_required','blacklist_exception','QuotaManager','setPatterns','.\x20Error:\x20','warn','pid','waitFor','posix','action','readFile','waitExpired','redactionEnabled','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','call','has','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','hash','replaceRedactedByValue','error','GAE_MINOR_VERSION','stringify','fetchBreakpointsOnce','format','./io/file-index','getLevel','Debuggee\x20is\x20not\x20registered','removeBreakpoint','\x09Long\x20poll\x20completed.','49WLpYhI','REDACTED_PLACEHOLDER','split','isLambda','status','Unique\x20ID\x20for\x20this\x20Application:\x20','apply','../types/stackdriver','disable','pipeLogs','log','Starting\x20debuggee','BREAKPOINT_ACTION_MESSAGE','./debuglet-helpers/format','.\x20message:\x20','\x09adding\x20breakpoint','Redactions:\x20\x0a\x09','filter','sourceContext','agentLogMaxFileCount','isReadyManager','re-register\x20debuggee\x20','quota','concat','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','getBlocklist','location','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','\x0a\x09condition:\x20','4685ZFrTHJ','parse','listBreakpoints','deregister','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','createDebuggee','./io/scanner','isAtLeastInfo','selectStats','waitForBreakpoints','stopped','initError','agentLogLevel','Scanner','mainModule','seconds','once','javascriptFileExtensions','26107qmNJJB','wait','StatusMessage','LOGPOINT:\x20','now','substring','createLogger','Failed\x20to\x20','stringifyBreakpointForInfoLog','quotaRecoverySeconds','617085BdSiIj','bind','./config','type','length','function','message','breakpoints','expirationTime','workingDirectory','mapSubtract'];a18_0x3261=function(){return _0x408672;};return a18_0x3261();}class CachedPromise{constructor(){const _0x27048a=a18_0x4ceb5b;this[_0x27048a(0x27a)]=null,this[_0x27048a(0x25e)]=new Promise(_0x199f57=>{const _0x88d37a=_0x27048a;this[_0x88d37a(0x27a)]=_0x199f57;});}[a18_0x4ceb5b(0x2e1)](){const _0x192b41=a18_0x4ceb5b;return this[_0x192b41(0x25e)];}[a18_0x4ceb5b(0x2bd)](){const _0x2f35f9=a18_0x4ceb5b;this['promiseResolve']&&(this[_0x2f35f9(0x27a)](),this[_0x2f35f9(0x27a)]=null);}}exports[a18_0x4ceb5b(0x23c)]=CachedPromise;class IsReadyImpl{constructor(_0x30801d){this['debuglet']=_0x30801d;}['isReady'](){const _0x2aa91e=a18_0x4ceb5b;return this[_0x2aa91e(0x242)][_0x2aa91e(0x2bc)]();}}class Debuglet extends events_1[a18_0x4ceb5b(0x2b4)]{constructor(_0x46c649,_0x496f94){const _0x40509a=a18_0x4ceb5b;super(),_Debuglet_instances['add'](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x40509a(0x277)](this,void 0x0),_Debuglet_running[_0x40509a(0x277)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x40509a(0x277)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x40509a(0x277)](this,void 0x0),_Debuglet_breakpointFetched[_0x40509a(0x277)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x40509a(0x277)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x40509a(0x277)](this,null),this[_0x40509a(0x1fe)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x40509a(0x277)](this,void 0x0),_Debuglet_blocklistManager[_0x40509a(0x277)](this,void 0x0),_Debuglet_redactionManager[_0x40509a(0x277)](this,void 0x0),_Debuglet_configProvider[_0x40509a(0x277)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x40509a(0x277)](this,void 0x0),this[_0x40509a(0x295)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x496f94),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x40509a(0x241))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x46c649,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x40509a(0x264)]=![],this['logger']=agent_logger_1['default'][_0x40509a(0x21f)](this['config'][_0x40509a(0x2c9)]['agentLogTargetDir'],this['config'][_0x40509a(0x2c9)]['agentLogMaxFileSizeMb'],this[_0x40509a(0x295)][_0x40509a(0x2c9)][_0x40509a(0x1fd)],this[_0x40509a(0x295)][_0x40509a(0x2c9)][_0x40509a(0x213)],this['config'][_0x40509a(0x2c9)][_0x40509a(0x27c)]),(0x0,config_1[_0x40509a(0x2c6)])(this[_0x40509a(0x295)],this[_0x40509a(0x283)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x40509a(0x283)])[_0x40509a(0x2cd)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x40509a(0x231))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x40509a(0x283)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x40509a(0x214))](this[_0x40509a(0x283)]),'f'),this['debuggee']=null,this[_0x40509a(0x2ac)]={},__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[(_0x40509a(0x2eb))](this[_0x40509a(0x283)],this['config']),'f'),this[_0x40509a(0x285)]=new piping_manager_1[(_0x40509a(0x2bf))](_0x40509a(0x233),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x40509a(0x295)]);}async[a18_0x4ceb5b(0x2a3)](_0x4f6c17){const _0x4d386a=a18_0x4ceb5b;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4d386a(0x2a3)](_0x4f6c17);}[a18_0x4ceb5b(0x239)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x4ceb5b(0x210)](_0x3fa356){const _0x4c57c6=a18_0x4ceb5b,_0xa9e1e0=0x32;let _0xc16c7a=null;const _0x4f1735=()=>_0xc16c7a=!![],_0x3978c6=()=>_0xc16c7a=![],_0x20ec21=_0x814fa3=>{if(_0x814fa3)return;_0x4f1735();};let _0x35f07e=![];const _0x43f04a=_0x52090c=>{const _0x2f4f07=a18_0x5c2b;_0x35f07e&&_0x3978c6(),_0x35f07e=!![],this[_0x2f4f07(0x25a)]();};this['once'](_0x4c57c6(0x272),_0x20ec21),this[_0x4c57c6(0x217)](_0x4c57c6(0x235),_0x4f1735);this['config']['internal']?.[_0x4c57c6(0x1ed)]&&(this['once'](_0x4c57c6(0x2b9),_0x3978c6),this[_0x4c57c6(0x217)](_0x4c57c6(0x23b),_0x3978c6),this['once'](_0x4c57c6(0x2e9),_0x43f04a));if(_0x3fa356){const _0x5bf90e=Date[_0x4c57c6(0x21d)]();while(_0xc16c7a===null&&Date[_0x4c57c6(0x21d)]()-_0x5bf90e<_0x3fa356){await(0x0,utils_1[_0x4c57c6(0x2f0)])(_0xa9e1e0);}}return this[_0x4c57c6(0x2e5)]('breakpoints_fetched',_0x20ec21),this[_0x4c57c6(0x2e5)](_0x4c57c6(0x235),_0x4f1735),this['config'][_0x4c57c6(0x286)]?.[_0x4c57c6(0x1ed)]&&(this[_0x4c57c6(0x2e5)]('registration_failed',_0x3978c6),this[_0x4c57c6(0x2e5)](_0x4c57c6(0x23b),_0x3978c6),this['removeListener']('breakpoints_fetch_registration_required',_0x43f04a)),_0xc16c7a===!![];}[a18_0x4ceb5b(0x1e3)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}[a18_0x4ceb5b(0x2d3)](){const _0x5086f0=a18_0x4ceb5b;return this[_0x5086f0(0x2c3)]?.['id']!==undefined;}async['findFiles'](_0xeb6a20,_0x348e88){const _0x3df382=a18_0x4ceb5b,_0x21987d=_0xeb6a20[_0x3df382(0x22c)],_0x57588f=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x3df382(0x26b)](_0x21987d,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0xeb6a20['javascriptFileExtensions'][_0x3df382(0x201)](_0x3df382(0x26e))),_0x348e88,_0xeb6a20[_0x3df382(0x257)]),_0x303a93=_0x57588f[_0x3df382(0x20f)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x3df382(0x1db)](_a,_0xeb6a20[_0x3df382(0x218)])),_0x545e52=file_index_1[_0x3df382(0x2a5)]['fromFileStats'](_0x303a93),_0x3cee7a=_0x57588f[_0x3df382(0x274)](/.js.map$/,process[_0x3df382(0x22e)]()),_0x71eadf=_0x57588f[_0x3df382(0x2ae)]();return{'mapFiles':_0x3cee7a,'errors':_0x71eadf,'jsFileIndex':_0x545e52,'hash':_0x57588f[_0x3df382(0x1de)]};}async[a18_0x4ceb5b(0x263)](){const _0x5c0050=a18_0x4ceb5b,_0x59de4a=this[_0x5c0050(0x295)][_0x5c0050(0x22c)];if(!this['config'][_0x5c0050(0x2dc)]&&path[_0x5c0050(0x281)](_0x59de4a,'..')===_0x59de4a){const _0x5d4b1a=_0x5c0050(0x205)+_0x5c0050(0x1da)+_0x5c0050(0x2ca)+_0x5c0050(0x29e);this[_0x5c0050(0x283)][_0x5c0050(0x1e0)](_0x5d4b1a),this[_0x5c0050(0x271)](_0x5c0050(0x212),new Error(_0x5d4b1a));return;}let _0x281986;process[_0x5c0050(0x246)][_0x5c0050(0x1e1)]&&(_0x281986=_0x5c0050(0x2b8)+process[_0x5c0050(0x246)][_0x5c0050(0x1e1)]);let _0x3cf154,_0x200d28=_0x281986??'';try{_0x3cf154=await this['findFiles'](this[_0x5c0050(0x295)],_0x281986),_0x3cf154['errors'][_0x5c0050(0x280)](this[_0x5c0050(0x283)]['warn']);}catch(_0x2d6666){this[_0x5c0050(0x283)][_0x5c0050(0x1e0)](_0x5c0050(0x296),_0x2d6666),this['emit']('initError',_0x2d6666);return;}try{const _0x1d053d=await SourceMapper['create'](this['logger'],_0x3cf154['mapFiles'],this[_0x5c0050(0x295)][_0x5c0050(0x286)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x5c0050(0x28d)](this[_0x5c0050(0x283)],this[_0x5c0050(0x295)],_0x3cf154[_0x5c0050(0x23e)],_0x1d053d,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x200d28=_0x281986??_0x3cf154[_0x5c0050(0x1de)];}catch(_0x3ebd9b){this['logger'][_0x5c0050(0x1e0)](_0x5c0050(0x23f),_0x3ebd9b),this['logger'][_0x5c0050(0x2d2)](JSON[_0x5c0050(0x1e2)](_0x3ebd9b)),this[_0x5c0050(0x271)](_0x5c0050(0x212),_0x3ebd9b);}this[_0x5c0050(0x283)]['info'](_0x5c0050(0x1ef)+_0x200d28);const _0x3c273d=(0x0,utils_1[_0x5c0050(0x282)])(this[_0x5c0050(0x283)])[_0x5c0050(0x254)]('\x0a','');this['logger']['info'](_0x5c0050(0x291)+_0x3c273d);let _0x322b24;try{_0x322b24=this[_0x5c0050(0x295)][_0x5c0050(0x1fc)]||await _a[_0x5c0050(0x250)]();}catch{}this[_0x5c0050(0x283)][_0x5c0050(0x2d2)](_0x5c0050(0x2d5)+process[_0x5c0050(0x215)]?.[_0x5c0050(0x25c)]),this['logger']['debug']('Working\x20directory:\x20'+_0x59de4a),this[_0x5c0050(0x283)]['debug'](_0x5c0050(0x1f5)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x5c0050(0x2c3)]=(0x0,createDebuggee_1[_0x5c0050(0x20c)])(_0x200d28,this[_0x5c0050(0x295)],_0x322b24,__classPrivateFieldGet(this,_Debuglet_debug,'f')['packageInfo'],_0x3c273d,this[_0x5c0050(0x283)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5c0050(0x1db)](this),this[_0x5c0050(0x25a)](),this[_0x5c0050(0x271)](_0x5c0050(0x236));}['isReady'](){const _0x1d4977=a18_0x4ceb5b;if(Date[_0x1d4977(0x21d)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x1d4977(0x2bd)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1d4977(0x2e1)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x1d4977(0x2e1)]()[_0x1d4977(0x27d)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1d4977(0x2e1)]();}}static async[a18_0x4ceb5b(0x250)](){const _0x58cdfe=a18_0x4ceb5b,_0x11e4d2=await readFilep(_0x58cdfe(0x2b0),'utf8');try{return JSON[_0x58cdfe(0x208)](_0x11e4d2);}catch(_0x45a9ae){throw new Error(_0x58cdfe(0x2da)+_0x45a9ae);}}['register'](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x34883d=a18_0x4ceb5b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x34883d(0x283)]['debug'](_0x34883d(0x29d));return;}this[_0x34883d(0x283)][_0x34883d(0x22f)](_0x34883d(0x2a8)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x34883d(0x273)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x34883d(0x271)](_0x34883d(0x211));}[a18_0x4ceb5b(0x221)](_0x122480){const _0x367640=a18_0x4ceb5b;if(!this[_0x367640(0x283)][_0x367640(0x20e)]())return _0x122480['id'];try{const _0x11f83d=JSON[_0x367640(0x1e2)](_0x122480);if(_0x11f83d['length']<=BREAKPOINT_LOG_MAX_CHARS)return _0x11f83d;return _0x11f83d[_0x367640(0x21e)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x367640(0x2ba);}catch(_0x4b42bc){return this[_0x367640(0x283)][_0x367640(0x1e0)]('Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.',_0x4b42bc),_0x122480['id'];}}[a18_0x4ceb5b(0x253)](_0x3fbb1a){const _0x5ca32c=a18_0x4ceb5b,_0x3af6d4=this[_0x5ca32c(0x283)]['getInitialLevel']();if(_0x3af6d4===_0x5ca32c(0x22f))return;switch(_0x3fbb1a){case _0x5ca32c(0x2b2):this[_0x5ca32c(0x283)]['getLevel']()!==_0x5ca32c(0x22f)&&(this[_0x5ca32c(0x283)][_0x5ca32c(0x2cf)]('debug'),this[_0x5ca32c(0x283)][_0x5ca32c(0x22f)](_0x5ca32c(0x27e)));break;case'NOT_SET':case undefined:this[_0x5ca32c(0x283)][_0x5ca32c(0x1e6)]()===_0x5ca32c(0x22f)&&(this['logger'][_0x5ca32c(0x2cf)](_0x3af6d4),this[_0x5ca32c(0x283)][_0x5ca32c(0x2d2)](_0x5ca32c(0x20b)+_0x3af6d4+')'));break;default:this[_0x5ca32c(0x283)][_0x5ca32c(0x2ee)](_0x5ca32c(0x2b1)+_0x3fbb1a);}}}exports[a18_0x4ceb5b(0x292)]=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(_0x5031a3){const _0x13a7d0=a18_0x4ceb5b;return new RegExp(_0x5031a3[_0x13a7d0(0x24c)](_0x5788b7=>_0x5788b7+'$')[_0x13a7d0(0x281)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x37c4a0=a18_0x4ceb5b,_0x6439fa=[_0x37c4a0(0x25f),_0x37c4a0(0x2a4),'SIGQUIT'];_0x6439fa['forEach'](_0x5c9d6e=>{process['once'](_0x5c9d6e,()=>{const _0x1610a1=a18_0x5c2b;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1610a1(0x20a)](this[_0x1610a1(0x2c3)],()=>{const _0x243b36=_0x1610a1;process[_0x243b36(0x2d4)](process[_0x243b36(0x2ef)],_0x5c9d6e);});});}),process[_0x37c4a0(0x217)](_0x37c4a0(0x266),()=>{const _0x43a206=_0x37c4a0;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x43a206(0x2c3)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x43765c){const _0x45b64c=a18_0x4ceb5b;this[_0x45b64c(0x283)][_0x45b64c(0x22f)](_0x43765c?_0x45b64c(0x24e)+_0x43765c+'s':_0x45b64c(0x262));const _0x2c5972=(_0x4fb9c2,_0x520b6b,_0x348bff=![])=>{const _0x390842=_0x45b64c;this[_0x390842(0x271)](_0x390842(0x2b9));const _0x394b15=this['debuggee']?.['id'],_0x475083=_0x394b15?_0x390842(0x1ff)+_0x394b15:_0x390842(0x261),_0x56c9a3=_0x390842(0x220)+_0x475083+':\x20'+(0x0,utils_1[_0x390842(0x2e0)])(_0x4fb9c2);this[_0x390842(0x283)][_0x390842(0x1e0)](_0x56c9a3),_0x520b6b&&!_0x348bff&&this[_0x390842(0x283)][_0x390842(0x1e0)](_0x390842(0x240),_0x520b6b),!this[_0x390842(0x295)][_0x390842(0x286)]?.[_0x390842(0x1ed)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x390842(0x1db)](this,(0x0,utils_1[_0x390842(0x2ce)])(_0x43765c,this[_0x390842(0x295)]['internal']['maxRequestRetryDelaySeconds']));};setTimeout(()=>{const _0xe95d1c=_0x45b64c;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x2c5972(new Error(_0xe95d1c(0x2e4)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xe95d1c(0x25a)](this[_0xe95d1c(0x2c3)],(_0x4da28a,_0x2c63ab,_0x577384=![])=>{const _0xe81f7c=_0xe95d1c;if(_0x4da28a){_0x2c5972(_0x4da28a,_0x2c63ab,_0x577384);return;}if(_0x2c63ab[_0xe81f7c(0x2c3)]['isDisabled']){_0x2c5972(new Error(_0xe81f7c(0x2c2))),this[_0xe81f7c(0x271)](_0xe81f7c(0x258));return;}const _0x5d2bf3=_0x2c63ab[_0xe81f7c(0x2c3)]['id'];this[_0xe81f7c(0x283)]['info'](_0xe81f7c(0x275)+_0x5d2bf3),this[_0xe81f7c(0x2c3)]['id']=_0x5d2bf3;const _0xaf01d7=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](this)(this[_0xe81f7c(0x2c3)]['id'])];this[_0xe81f7c(0x295)][_0xe81f7c(0x1d9)]&&_0xaf01d7[_0xe81f7c(0x2d0)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0xe81f7c(0x224)](this)(this[_0xe81f7c(0x2c3)]['id'])),Promise['all'](_0xaf01d7)[_0xe81f7c(0x27d)](()=>{const _0x3df35e=_0xe81f7c;this[_0x3df35e(0x271)](_0x3df35e(0x284),_0x5d2bf3),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3df35e(0x2d8)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x2c63ab?.['clientConnectionTimeoutInSeconds'],'f'),!this[_0x3df35e(0x264)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3df35e(0x1db)](this,0x0,this[_0x3df35e(0x295)][_0x3df35e(0x1e3)],_0x2c63ab?.['clientConnectionTimeoutInSeconds']);},_0x18663c=>{_0x2c5972(_0x18663c);});});},_0x43765c*0x3e8)[_0x45b64c(0x26c)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x456185,_0x1e4365,_0x18d7e9){const _0x32fe0d=a18_0x4ceb5b;this[_0x32fe0d(0x283)]['debug'](_0x32fe0d(0x2cb)+_0x456185+'\x20'+_0x1e4365+'\x20'+_0x18d7e9),!_0x1e4365&&(this[_0x32fe0d(0x264)]=!![]),setTimeout(()=>{const _0x4d6f60=_0x32fe0d;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x1e4365&&assert(this[_0x4d6f60(0x264)]),this[_0x4d6f60(0x283)]['debug'](_0x4d6f60(0x237)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4d6f60(0x209)](this[_0x4d6f60(0x2c3)],(_0xfd5594,_0x5460fb,_0x6af3c7)=>{const _0x3553bb=_0x4d6f60;if(_0x6af3c7?.[_0x3553bb(0x1ee)]===0x194){this[_0x3553bb(0x283)]['info'](_0x3553bb(0x1e7)),this[_0x3553bb(0x264)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x3553bb(0x295)]['internal']?.[_0x3553bb(0x1ed)]?this[_0x3553bb(0x271)]('breakpoints_fetch_registration_required'):this['register']();return;}if(_0xfd5594){if(this[_0x3553bb(0x295)][_0x3553bb(0x286)]?.[_0x3553bb(0x1ed)])this[_0x3553bb(0x271)](_0x3553bb(0x23b)),this[_0x3553bb(0x283)]['error'](_0x3553bb(0x297)+_0x6af3c7?.[_0x3553bb(0x1ee)]+_0x3553bb(0x1f8)+_0xfd5594[_0x3553bb(0x229)]);else{const _0x403b0a=(0x0,utils_1['backoff'])(_0x456185,this[_0x3553bb(0x295)][_0x3553bb(0x286)][_0x3553bb(0x2a1)]);this['logger'][_0x3553bb(0x1e0)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x6af3c7?.['status']+_0x3553bb(0x1f8)+_0xfd5594[_0x3553bb(0x229)]+'.\x20Retrying\x20in\x20'+_0x403b0a+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3553bb(0x1db)](this,_0x403b0a,_0x1e4365,_0x18d7e9);}return;}this['logger'][_0x3553bb(0x22f)]('\x09'+_0x6af3c7[_0x3553bb(0x1ee)]+'\x20completed.');if(!_0x5460fb){const _0x50b907=this[_0x3553bb(0x295)][_0x3553bb(0x2b3)];this[_0x3553bb(0x283)][_0x3553bb(0x1e0)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x50b907+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3553bb(0x1db)](this,_0x50b907,_0x1e4365,_0x18d7e9);return;}this[_0x3553bb(0x253)](_0x5460fb[_0x3553bb(0x213)]);if(_0x5460fb[_0x3553bb(0x1d8)]){this[_0x3553bb(0x283)][_0x3553bb(0x2d2)](_0x3553bb(0x1e9)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x1e4365,_0x18d7e9);return;}if(_0x5460fb[_0x3553bb(0x1f3)]&&_0x5460fb['pipeLogs']!==_0x3553bb(0x298)){const _0x59397c=this[_0x3553bb(0x285)][_0x3553bb(0x2e3)];_0x59397c!==_0x5460fb[_0x3553bb(0x1f3)]&&(this[_0x3553bb(0x283)]['debug'](_0x3553bb(0x243)+_0x59397c+'\x20to\x20'+_0x5460fb[_0x3553bb(0x1f3)]),this['pipingManager'][_0x3553bb(0x2e3)]=_0x5460fb[_0x3553bb(0x1f3)]);}if(_0x5460fb[_0x3553bb(0x289)]&&_0x5460fb[_0x3553bb(0x28b)]!==this['collectLogRequestId']){this[_0x3553bb(0x28b)]=_0x5460fb[_0x3553bb(0x28b)];const _0xf96bb3=this[_0x3553bb(0x295)]['agentLog']['agentLogTargetDir']&&path[_0x3553bb(0x281)](this[_0x3553bb(0x295)][_0x3553bb(0x2c9)][_0x3553bb(0x2d9)],agent_logger_1['default']['AGENT_LOG_FILE']);_0xf96bb3&&fs['existsSync'](_0xf96bb3)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3553bb(0x26a)](this[_0x3553bb(0x2c3)],_0x5460fb[_0x3553bb(0x28b)],_0xf96bb3)):this[_0x3553bb(0x283)][_0x3553bb(0x2d2)](_0x3553bb(0x24f)+_0x5460fb[_0x3553bb(0x28b)]+'\x20because\x20'+_0x3553bb(0x202));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3553bb(0x24b)]=_0x5460fb[_0x3553bb(0x24b)]??[];const _0x4f027d=(_0x5460fb[_0x3553bb(0x22a)]||[])[_0x3553bb(0x24c)](_0x5d63f3=>new stackdriver_1['Breakpoint'](_0x5d63f3))[_0x3553bb(0x1fb)](_0x2143b6=>{const _0x2b9c62=_0x3553bb,_0x1ad2a9=_0x2143b6[_0x2b9c62(0x1d6)]??_0x2b9c62(0x249);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2143b6['id']])return![];if(_0x1ad2a9!==_0x2b9c62(0x249)&&_0x1ad2a9!==_0x2b9c62(0x2cc))return this[_0x2b9c62(0x283)]['warn'](_0x2b9c62(0x2c7),_0x1ad2a9),_0x2143b6['status']=new status_message_1[(_0x2b9c62(0x21b))](status_message_1[_0x2b9c62(0x21b)][_0x2b9c62(0x287)],utils_1[_0x2b9c62(0x2ae)][_0x2b9c62(0x1f6)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x2b9c62(0x1db)](this,_0x2143b6),![];return!![];}),_0x4434dd=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x3553bb(0x1db)](this);let _0x102d52=_0x4434dd['length']>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x4434dd),_0x102d52=_0x102d52||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3553bb(0x1db)](this,_0x4f027d),this[_0x3553bb(0x271)](_0x3553bb(0x272),_0x4f027d['length']);_0x102d52&&this[_0x3553bb(0x283)][_0x3553bb(0x22f)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',this[_0x3553bb(0x2ac)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x3553bb(0x21d)](),'f');_0x1e4365?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3553bb(0x2bd)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3553bb(0x1db)](this,0x0,_0x1e4365,_0x18d7e9);return;},_0x18d7e9);},_0x456185*0x3e8)[_0x32fe0d(0x26c)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4d92f2=a18_0x4ceb5b;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4d92f2(0x2bd)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x15132c){const _0x45c500=a18_0x4ceb5b,_0x2dc40b=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0x15132c);let _0x155002=![];return _0x15132c[_0x45c500(0x280)](_0x25f12b=>{const _0x1bba3e=_0x45c500;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x25f12b['id']]&&!this[_0x1bba3e(0x2ac)][_0x25f12b['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x25f12b,_0x5187fe=>{_0x5187fe&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x25f12b,!![],![]);}),_0x155002=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x25f12b['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x25f12b['id'],_0x25f12b[_0x1bba3e(0x28f)]),this[_0x1bba3e(0x285)][_0x1bba3e(0x2c4)](_0x25f12b['id'],_0x25f12b['pipingStatus']);}),(0x0,mapSubtract_1[_0x45c500(0x22d)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x2dc40b)[_0x45c500(0x280)](_0x41bb03=>{const {id:_0x558e17}=_0x41bb03;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x558e17],_0x155002=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x45c500(0x2ac)],_0x2dc40b)['forEach'](_0x594294=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x594294,!![]),_0x155002=!![];}),_0x155002&&this[_0x45c500(0x283)][_0x45c500(0x22f)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x2dc40b)),_0x155002;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x3357a3){const _0x4140d1=a18_0x4ceb5b;return Object['fromEntries'](_0x3357a3[_0x4140d1(0x24c)](_0x30bfa0=>[_0x30bfa0['id'],_0x30bfa0]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x2cb007,_0x11abea){const _0x169243=a18_0x4ceb5b;this['logger'][_0x169243(0x2d2)](_0x169243(0x248)+_0x2cb007['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x169243(0x256)](_0x2cb007['id']),this[_0x169243(0x285)][_0x169243(0x1e8)](_0x2cb007['id']),delete this[_0x169243(0x2ac)][_0x2cb007['id']],_0x11abea&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x169243(0x24d)](_0x2cb007,_0x21baa4=>{const _0xb5258c=_0x169243;if(_0x21baa4)this['logger'][_0xb5258c(0x1e0)](_0x21baa4);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x1b6f98,_0x2aee0f){const _0x32f8e5=a18_0x4ceb5b;this[_0x32f8e5(0x283)][_0x32f8e5(0x2d2)](_0x32f8e5(0x1f9),this[_0x32f8e5(0x221)](_0x1b6f98));if(!this[_0x32f8e5(0x295)][_0x32f8e5(0x299)]&&(_0x1b6f98[_0x32f8e5(0x2de)]||_0x1b6f98['expressions'])){this['logger'][_0x32f8e5(0x1e0)](utils_1[_0x32f8e5(0x2ae)]['ALLOW_EXPRESSIONS_MESSAGE'][_0x32f8e5(0x2bb)]??''),_0x1b6f98[_0x32f8e5(0x1ee)]=new status_message_1[(_0x32f8e5(0x21b))](status_message_1[_0x32f8e5(0x21b)][_0x32f8e5(0x287)],utils_1[_0x32f8e5(0x2ae)][_0x32f8e5(0x28c)],!![]),setImmediate(()=>{const _0x31add2=_0x32f8e5;_0x2aee0f(utils_1[_0x31add2(0x2ae)][_0x31add2(0x28c)]);});return;}const _0x2b0776=_0x1b6f98[_0x32f8e5(0x255)]?Number(_0x1b6f98['createTime'][_0x32f8e5(0x216)]):Date[_0x32f8e5(0x21d)]()/0x3e8,_0x2b2cef=_0x1b6f98[_0x32f8e5(0x232)]??this[_0x32f8e5(0x295)][_0x32f8e5(0x276)];_0x1b6f98[_0x32f8e5(0x22b)]=_0x2b0776+_0x2b2cef,_0x1b6f98[_0x32f8e5(0x204)]?.[_0x32f8e5(0x29f)]&&(_0x1b6f98[_0x32f8e5(0x204)][_0x32f8e5(0x29f)]=path[_0x32f8e5(0x294)](_0x1b6f98['location'][_0x32f8e5(0x29f)]),path[_0x32f8e5(0x269)]===path[_0x32f8e5(0x1d5)][_0x32f8e5(0x269)]&&(_0x1b6f98[_0x32f8e5(0x204)][_0x32f8e5(0x29f)]=_0x1b6f98[_0x32f8e5(0x204)][_0x32f8e5(0x29f)][_0x32f8e5(0x1ec)]('\x5c')['join'](path[_0x32f8e5(0x269)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x32f8e5(0x277)](_0x1b6f98,_0x377db4=>{const _0x3643ff=_0x32f8e5;if(_0x377db4){_0x2aee0f(_0x377db4);return;}this[_0x3643ff(0x283)]['info'](_0x3643ff(0x230)+_0x1b6f98['id']),this['activeBreakpointMap'][_0x1b6f98['id']]=_0x1b6f98,_0x1b6f98[_0x3643ff(0x1d6)]===_0x3643ff(0x2cc)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3643ff(0x1f4)](_0x1b6f98,(_0x3d92fc,_0x496f33)=>{const _0x59cfe1=_0x3643ff,_0x2d23b0=_0x496f33[_0x59cfe1(0x24c)](_0x39d1a4=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x39d1a4)),_0x88ddc7=(0x0,format_1[_0x59cfe1(0x1e4)])(_0x3d92fc,_0x2d23b0),_0x364c2a=_0x59cfe1(0x21c)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x59cfe1(0x1df)](_0x88ddc7)??_0x88ddc7),_0x1c20d4=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x59cfe1(0x2b7)](_0x364c2a,_0x1b6f98['id']);if(_0x1c20d4){const _0x568fbf=_0x1c20d4[_0x59cfe1(0x229)],{isOutOfQuota:_0x364173}=_0x1c20d4;let _0x5610a,_0x47131d;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x59cfe1(0x2dd)]()&&!_0x364173&&(_0x5610a=_0x59cfe1(0x21c)+_0x3d92fc,_0x47131d=_0x2d23b0);this[_0x59cfe1(0x285)][_0x59cfe1(0x245)](this['debuggee'],_0x1b6f98['id'],_0x568fbf,_0x1b6f98['logLevel'],_0x5610a,_0x47131d);if(_0x364173)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x59cfe1(0x1f2)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0xd83284=_0x59cfe1;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0xd83284(0x2ab)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config'][_0x59cfe1(0x200)][_0x59cfe1(0x222)]*0x3e8),'f');else _0x568fbf?.[_0x59cfe1(0x227)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1b6f98['id']],_0x35eb30=>{const _0x2d3a7f=_0x3643ff;if(_0x35eb30){this[_0x2d3a7f(0x283)][_0x2d3a7f(0x1e0)](_0x35eb30),_0x2aee0f(_0x35eb30);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3643ff(0x21a)](_0x1b6f98,_0x511933=>{const _0x443276=_0x3643ff;if(_0x511933){setImmediate(()=>{const _0x217662=a18_0x5c2b;this[_0x217662(0x283)][_0x217662(0x1e0)](_0x511933),_0x2aee0f(_0x511933);});return;}this[_0x443276(0x283)][_0x443276(0x2d2)](_0x443276(0x234)+_0x1b6f98['id'],_0x1b6f98['location']?.[_0x443276(0x29f)],_0x1b6f98[_0x443276(0x204)]?.['line']),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x443276(0x1db)](this,_0x1b6f98,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['remainingHits'](_0x1b6f98['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x3643ff(0x1db)](this,_0x1b6f98);}),this[_0x32f8e5(0x271)](_0x32f8e5(0x235));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x1c2fe6,_0x2d84fb,_0x58b97d=!![]){const _0x9aa7fd=a18_0x4ceb5b;if(_0x1c2fe6[_0x9aa7fd(0x1ee)]?.['isError']){let _0x2f7e8d=_0x1c2fe6[_0x9aa7fd(0x1ee)]?.['description']?.[_0x9aa7fd(0x1e4)]||'';_0x1c2fe6[_0x9aa7fd(0x1ee)]?.[_0x9aa7fd(0x2bb)]?.[_0x9aa7fd(0x28a)]&&(_0x2f7e8d+=':\x20'+_0x1c2fe6[_0x9aa7fd(0x1ee)]?.['description']?.[_0x9aa7fd(0x28a)]['toString']()),this[_0x9aa7fd(0x283)][_0x9aa7fd(0x2ee)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x1c2fe6+_0x9aa7fd(0x2ed)+_0x2f7e8d);}else this[_0x9aa7fd(0x283)]['info'](_0x9aa7fd(0x2db),this[_0x9aa7fd(0x221)](_0x1c2fe6));_0x2d84fb&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1c2fe6['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x9aa7fd(0x1db)](this,_0x1c2fe6,_0x58b97d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this['debuggee'],extend(!![],{},_0x1c2fe6));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x3880c2){const _0xfe6431=a18_0x4ceb5b;this[_0xfe6431(0x283)]['debug'](_0xfe6431(0x2b6)+_0x3880c2+'\x20accepted\x20by\x20agent');const _0x4b8ba8=extend(!![],{},_0x3880c2);_0x4b8ba8[_0xfe6431(0x288)]=![],_0x4b8ba8[_0xfe6431(0x1ee)]=new status_message_1[(_0xfe6431(0x21b))](status_message_1[_0xfe6431(0x21b)][_0xfe6431(0x287)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this['debuggee'],_0x4b8ba8);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x5421b2){const _0x19d6f8=a18_0x4ceb5b;this[_0x19d6f8(0x283)]['info'](_0x19d6f8(0x278)+_0x5421b2),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5421b2['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this['debuggee'],_0x5421b2);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0xd29420){const _0x1e940d=a18_0x4ceb5b;_0xd29420[_0x1e940d(0x280)](_0x44ea5d=>{const _0x1c48c4=_0x1e940d;this['logger']['info']('Expiring\x20breakpoint\x20id\x20'+_0x44ea5d['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x44ea5d['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x1c48c4(0x1db)](this,_0x44ea5d,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x132ede=a18_0x4ceb5b,_0x48362e=Date[_0x132ede(0x21d)]()/0x3e8;return Object['values'](this[_0x132ede(0x2ac)])[_0x132ede(0x1fb)](_0x409f3c=>_0x409f3c[_0x132ede(0x22b)]?_0x409f3c[_0x132ede(0x22b)]<_0x48362e:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x28a830){const _0x5981fb=a18_0x4ceb5b,_0x343595=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5981fb(0x203)](_0x28a830),_0x29d2d4=_0x343595[_0x5981fb(0x2a9)],_0x5777b8=_0x343595[_0x5981fb(0x2ea)];_0x29d2d4?.[_0x5981fb(0x227)]&&this[_0x5981fb(0x283)][_0x5981fb(0x22f)]('Blacklist:\x20\x0a\x09',_0x29d2d4['join']('\x0a\x09')),_0x5777b8?.[_0x5981fb(0x227)]&&this['logger']['debug']('Blacklist\x20Exceptions:\x20\x0a\x09',_0x5777b8[_0x5981fb(0x281)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x5981fb(0x28e))](_0x29d2d4,_0x5777b8,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0xb8ac67){const _0x4bed8d=a18_0x4ceb5b,_0x58456b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0xb8ac67);_0x58456b?.[_0x4bed8d(0x227)]&&this[_0x4bed8d(0x283)][_0x4bed8d(0x22f)](_0x4bed8d(0x1fa),_0x58456b[_0x4bed8d(0x24c)](_0x5b66ca=>_0x4bed8d(0x2a7)+_0x5b66ca[_0x4bed8d(0x2d1)]+_0x4bed8d(0x270)+_0x5b66ca[_0x4bed8d(0x226)]+_0x4bed8d(0x2be)+_0x5b66ca[_0x4bed8d(0x26f)]+_0x4bed8d(0x268)+_0x5b66ca['caseInsensitive'])[_0x4bed8d(0x281)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1['RedactionManagerRE2JS'](this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4bed8d(0x2ec)](_0x58456b);},_Debuglet_stringify=function _Debuglet_stringify(_0x407293){const _0x73866a=a18_0x4ceb5b;if(!_0x407293)return JSON[_0x73866a(0x1e2)](_0x407293,(_0x418669,_0x33ee1f)=>_0x33ee1f===undefined?_0x73866a(0x247):_0x33ee1f);if(Array[_0x73866a(0x259)](_0x407293)){const _0x237bbe=_0x407293[_0x73866a(0x24c)](_0x3f25ef=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x73866a(0x1db)](this,_0x3f25ef));return'['+_0x237bbe[_0x73866a(0x281)](',\x20')+']';}if(typeof _0x407293==='object'){const _0x35ee95=Object[_0x73866a(0x279)](_0x407293)[_0x73866a(0x24c)](([_0x28d440,_0x4564f0])=>{const _0x5e58fa=_0x73866a,_0x5ceb8a=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x28d440)?redaction_manager_1[_0x5e58fa(0x1eb)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x4564f0);return JSON[_0x5e58fa(0x1e2)](_0x28d440)+':\x20'+_0x5ceb8a;})[_0x73866a(0x281)](',\x20');return'{'+_0x35ee95+'}';}return JSON['stringify'](_0x407293);});
|
|
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';function
|
|
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));
|