lightrun 1.46.0 → 1.47.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/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/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-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/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +29 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x514972=a15_0x2139;function a15_0x1d88(){const _0x18eb10=['LIGHTRUN_PROXY_USERNAME','message','LIGHTRUN_INIT_WAIT_TIME_MS','1122856SRjbZF','7383552gYvTLQ','K_SERVICE','path','LIGHTRUN_METADATA_FILE','31157lFvZCf','LIGHTRUN_WAIT_FOR_INIT','GAE_MODULE_VERSION','apply','GAE_DEPLOYMENT_ID','GAE_MINOR_VERSION','split','agentLogTargetDir','42816BKNqxb','toString','__esModule','./getAgentConfig','AGENT_LOG_LEVEL','LIGHTRUN_API_ENDPOINT','metadata','FUNCTION_NAME','LIGHTRUN_AGENT_CONFIG','LIGHTRUN_STD_ERR_THRESHOLD','LIGHTRUN_TAGS','agentLog','AGENT_LOG_MAX_FILE_COUNT','GAE_MODULE_NAME','agentLogMaxFileCount','NO_CHECK_CERTIFICATE','registration','GAE_SERVICE','7601136BvEluu','48OIDehx','LIGHTRUN_SECRET','search','488xCbyWc','(((.+)+)+)+$','AGENT_LOG_TARGET_DIR','normalizeConfig','getBooleanValue','service','filter','8529273TzyVbW','validateConfig','inner','defineProperty','120112teQqdX','serviceContext','10Ljiswj','agentConfigFile','forEach','130NNQAqg','env','stdErrThreshold','defaultConfig','2NIZgxJ','agentLogLevel','LIGHTRUN_PROXY_PASSWORD','unversioned','AGENT_LOG_MAX_FILE_SIZE_MB','../util/utils','K_REVISION'];a15_0x1d88=function(){return _0x18eb10;};return a15_0x1d88();}(function(_0x27da0d,_0x19b3d1){const _0x1647a7=a15_0x2139,_0x42726f=_0x27da0d();while(!![]){try{const _0x27ec8=-parseInt(_0x1647a7(0x162))/0x1*(parseInt(_0x1647a7(0x158))/0x2)+-parseInt(_0x1647a7(0x141))/0x3*(-parseInt(_0x1647a7(0x14f))/0x4)+parseInt(_0x1647a7(0x154))/0x5*(parseInt(_0x1647a7(0x16f))/0x6)+-parseInt(_0x1647a7(0x167))/0x7*(-parseInt(_0x1647a7(0x144))/0x8)+-parseInt(_0x1647a7(0x14b))/0x9*(-parseInt(_0x1647a7(0x151))/0xa)+-parseInt(_0x1647a7(0x163))/0xb+parseInt(_0x1647a7(0x140))/0xc;if(_0x27ec8===_0x19b3d1)break;else _0x42726f['push'](_0x42726f['shift']());}catch(_0x40a51e){_0x42726f['push'](_0x42726f['shift']());}}}(a15_0x1d88,0xb0e34));const a15_0x5a5f12=(function(){let _0x42cb4f=!![];return function(_0x2df877,_0x3e34e5){const _0x244811=_0x42cb4f?function(){const _0x29cbcd=a15_0x2139;if(_0x3e34e5){const _0x30428b=_0x3e34e5[_0x29cbcd(0x16a)](_0x2df877,arguments);return _0x3e34e5=null,_0x30428b;}}:function(){};return _0x42cb4f=![],_0x244811;};}()),a15_0x3ab0ab=a15_0x5a5f12(this,function(){const _0x86adeb=a15_0x2139;return a15_0x3ab0ab['toString']()[_0x86adeb(0x143)](_0x86adeb(0x145))[_0x86adeb(0x170)]()['constructor'](a15_0x3ab0ab)['search'](_0x86adeb(0x145));});a15_0x3ab0ab();'use strict';Object[a15_0x514972(0x14e)](exports,a15_0x514972(0x171),{'value':!![]}),exports[a15_0x514972(0x147)]=exports['validateConfig']=void 0x0;const extend=require('extend'),config_1=require('../config'),utils_1=require(a15_0x514972(0x15d)),getAgentConfig_1=require(a15_0x514972(0x172)),validateConfig=_0x5f1a23=>{const _0x2f0df5=a15_0x514972,_0xa3b852={};try{config_1['configSchema']['validateSync'](_0x5f1a23,{'abortEarly':![]});}catch(_0x14f47f){_0x14f47f[_0x2f0df5(0x14d)][_0x2f0df5(0x14a)](_0x3b1cf3=>_0x3b1cf3[_0x2f0df5(0x165)]&&_0x3b1cf3[_0x2f0df5(0x160)])[_0x2f0df5(0x153)](_0x237aa7=>{const _0x2a7e33=_0x2f0df5;_0xa3b852[_0x237aa7[_0x2a7e33(0x165)]]=_0x237aa7[_0x2a7e33(0x160)];});}return _0xa3b852;};exports[a15_0x514972(0x14c)]=validateConfig;function a15_0x2139(_0x1b48a5,_0x616ad6){const _0x17299d=a15_0x1d88();return a15_0x2139=function(_0x3ab0ab,_0x5a5f12){_0x3ab0ab=_0x3ab0ab-0x13a;let _0x1d8809=_0x17299d[_0x3ab0ab];return _0x1d8809;},a15_0x2139(_0x1b48a5,_0x616ad6);}const normalizeConfig=_0x2a290d=>{const _0x44fd06=a15_0x514972,_0x573cd5={'serviceContext':{'service':process['env'][_0x44fd06(0x13f)]||process[_0x44fd06(0x155)][_0x44fd06(0x13b)]||process['env'][_0x44fd06(0x164)],'version':process['env']['GAE_VERSION']||process[_0x44fd06(0x155)][_0x44fd06(0x169)]||process[_0x44fd06(0x155)][_0x44fd06(0x15e)],'minorVersion_':process['env'][_0x44fd06(0x16b)]||process[_0x44fd06(0x155)][_0x44fd06(0x16c)]},'metadata':{'filename':process[_0x44fd06(0x155)][_0x44fd06(0x166)],'registration':{}},'lightrunSecret':process[_0x44fd06(0x155)][_0x44fd06(0x142)],'apiEndpoint':process[_0x44fd06(0x155)][_0x44fd06(0x174)],'noCheckCertificate':(0x0,utils_1[_0x44fd06(0x148)])(process[_0x44fd06(0x155)][_0x44fd06(0x13d)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x44fd06(0x148)])(process[_0x44fd06(0x155)]['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1[_0x44fd06(0x148)])(process['env'][_0x44fd06(0x168)]),'lightrunInitWaitTimeMs':process[_0x44fd06(0x155)][_0x44fd06(0x161)],'agentLog':_0x2a290d?.[_0x44fd06(0x17a)]||{},'proxy':{'host':process[_0x44fd06(0x155)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x44fd06(0x155)]['LIGHTRUN_PROXY_PORT']||'')||undefined,'username':process['env'][_0x44fd06(0x15f)],'password':process[_0x44fd06(0x155)][_0x44fd06(0x15a)]}};process[_0x44fd06(0x155)][_0x44fd06(0x178)]!==undefined&&(_0x573cd5[_0x44fd06(0x17a)][_0x44fd06(0x156)]=process[_0x44fd06(0x155)][_0x44fd06(0x178)]);process[_0x44fd06(0x155)][_0x44fd06(0x173)]!==undefined&&(_0x573cd5[_0x44fd06(0x17a)][_0x44fd06(0x159)]=process[_0x44fd06(0x155)][_0x44fd06(0x173)]);process[_0x44fd06(0x155)][_0x44fd06(0x146)]!==undefined&&(_0x573cd5[_0x44fd06(0x17a)][_0x44fd06(0x16e)]=process[_0x44fd06(0x155)][_0x44fd06(0x146)]);process[_0x44fd06(0x155)][_0x44fd06(0x13a)]!==undefined&&(_0x573cd5[_0x44fd06(0x17a)][_0x44fd06(0x13c)]=parseInt(process['env'][_0x44fd06(0x13a)]));process[_0x44fd06(0x155)][_0x44fd06(0x15c)]!==undefined&&(_0x573cd5[_0x44fd06(0x17a)]['agentLogMaxFileSizeMb']=parseInt(process['env']['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x44fd06(0x155)][_0x44fd06(0x176)]&&(_0x573cd5[_0x44fd06(0x150)][_0x44fd06(0x149)]=process[_0x44fd06(0x155)][_0x44fd06(0x176)],_0x573cd5[_0x44fd06(0x150)]['version']=_0x44fd06(0x15b));process[_0x44fd06(0x155)][_0x44fd06(0x179)]&&(_0x573cd5[_0x44fd06(0x175)][_0x44fd06(0x13e)]={'tags':process[_0x44fd06(0x155)][_0x44fd06(0x179)][_0x44fd06(0x16d)](',')});const _0x428ae4=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x44fd06(0x155)][_0x44fd06(0x177)]||_0x2a290d?.['agentConfigFile']||config_1[_0x44fd06(0x157)][_0x44fd06(0x152)]),_0x42a165=extend(!![],{},config_1[_0x44fd06(0x157)],_0x428ae4,_0x2a290d,_0x573cd5),_0x53a645=(0x0,exports[_0x44fd06(0x14c)])(_0x42a165);return{..._0x42a165,'errors':_0x53a645};};exports[a15_0x514972(0x147)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x360b29=a16_0x1ad4;(function(_0x59190e,_0x3b0520){const _0x265f71=a16_0x1ad4,_0x41e4f4=_0x59190e();while(!![]){try{const _0x3f799f=parseInt(_0x265f71(0x1e6))/0x1+parseInt(_0x265f71(0x1d5))/0x2*(-parseInt(_0x265f71(0x1da))/0x3)+-parseInt(_0x265f71(0x1e4))/0x4*(parseInt(_0x265f71(0x1db))/0x5)+parseInt(_0x265f71(0x1d6))/0x6*(-parseInt(_0x265f71(0x1d1))/0x7)+-parseInt(_0x265f71(0x1e3))/0x8*(-parseInt(_0x265f71(0x1d7))/0x9)+parseInt(_0x265f71(0x1de))/0xa+parseInt(_0x265f71(0x1d2))/0xb;if(_0x3f799f===_0x3b0520)break;else _0x41e4f4['push'](_0x41e4f4['shift']());}catch(_0x54bcb7){_0x41e4f4['push'](_0x41e4f4['shift']());}}}(a16_0x2678,0x9464c));const a16_0x37c530=(function(){let _0xe659b7=!![];return function(_0x3553c3,_0x2909ad){const _0x454d1b=_0xe659b7?function(){const _0x3d4a52=a16_0x1ad4;if(_0x2909ad){const _0xd92635=_0x2909ad[_0x3d4a52(0x1dd)](_0x3553c3,arguments);return _0x2909ad=null,_0xd92635;}}:function(){};return _0xe659b7=![],_0x454d1b;};}()),a16_0x196476=a16_0x37c530(this,function(){const _0x2ffb2f=a16_0x1ad4;return a16_0x196476[_0x2ffb2f(0x1d4)]()[_0x2ffb2f(0x1d3)](_0x2ffb2f(0x1d8))[_0x2ffb2f(0x1d4)]()[_0x2ffb2f(0x1d9)](a16_0x196476)[_0x2ffb2f(0x1d3)]('(((.+)+)+)+$');});a16_0x196476();'use strict';function a16_0x2678(){const _0x352825=['search','toString','2seEbzj','18XNWGHz','528327nUUvxx','(((.+)+)+)+$','constructor','1654284XRyaPA','105290zVqqEX','__esModule','apply','7489750IBybqX','delimit','tokenize','length','push','88dElqNq','148JKKvfc','./delimit','725908RoEvdC','2101624AyMFcn','7903214iXXgAv'];a16_0x2678=function(){return _0x352825;};return a16_0x2678();}function a16_0x1ad4(_0x19b75a,_0x1dabf2){const _0x2d5ae8=a16_0x2678();return a16_0x1ad4=function(_0x196476,_0x37c530){_0x196476=_0x196476-0x1d1;let _0x26780b=_0x2d5ae8[_0x196476];return _0x26780b;},a16_0x1ad4(_0x19b75a,_0x1dabf2);}Object['defineProperty'](exports,a16_0x360b29(0x1dc),{'value':!![]}),exports[a16_0x360b29(0x1e0)]=void 0x0;const delimit_1=require(a16_0x360b29(0x1e5)),tokenize=(_0x40173c,_0x3eeb0e)=>{const _0x1bf449=a16_0x360b29;let _0x5c2132=(0x0,delimit_1[_0x1bf449(0x1df)])(_0x40173c,'$$');for(let _0x2fe396=_0x3eeb0e-0x1;_0x2fe396>=0x0;_0x2fe396--){const _0x503642=[];for(let _0x195323=0x0;_0x195323<_0x5c2132[_0x1bf449(0x1e1)];_0x195323++){_0x5c2132[_0x195323]['v']?_0x503642[_0x1bf449(0x1e2)](_0x5c2132[_0x195323]):_0x503642[_0x1bf449(0x1e2)](...(0x0,delimit_1[_0x1bf449(0x1df)])(_0x5c2132[_0x195323],'$'+_0x2fe396));}_0x5c2132=_0x503642;}return _0x5c2132;};exports['tokenize']=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x2b9fdd=a17_0x4545;(function(_0xc655e6,_0x52e87c){const _0x3fbbd0=a17_0x4545,_0x22127e=_0xc655e6();while(!![]){try{const _0xaaced7=-parseInt(_0x3fbbd0(0x179))/0x1+parseInt(_0x3fbbd0(0x195))/0x2+-parseInt(_0x3fbbd0(0x1cc))/0x3+-parseInt(_0x3fbbd0(0x19a))/0x4+-parseInt(_0x3fbbd0(0x1f3))/0x5+parseInt(_0x3fbbd0(0x1f6))/0x6*(-parseInt(_0x3fbbd0(0x17f))/0x7)+parseInt(_0x3fbbd0(0x182))/0x8;if(_0xaaced7===_0x52e87c)break;else _0x22127e['push'](_0x22127e['shift']());}catch(_0x529e84){_0x22127e['push'](_0x22127e['shift']());}}}(a17_0x5a93,0x21e5c));const a17_0x2db522=(function(){let _0x534b5b=!![];return function(_0x5d78dc,_0xf9dd22){const _0x5e6733=_0x534b5b?function(){if(_0xf9dd22){const _0x3fb5a6=_0xf9dd22['apply'](_0x5d78dc,arguments);return _0xf9dd22=null,_0x3fb5a6;}}:function(){};return _0x534b5b=![],_0x5e6733;};}()),a17_0x4a1d1b=a17_0x2db522(this,function(){const _0x387566=a17_0x4545;return a17_0x4a1d1b[_0x387566(0x177)]()[_0x387566(0x152)]('(((.+)+)+)+$')[_0x387566(0x177)]()[_0x387566(0x158)](a17_0x4a1d1b)[_0x387566(0x152)]('(((.+)+)+)+$');});a17_0x4a1d1b();'use strict';var __classPrivateFieldSet=this&&this[a17_0x2b9fdd(0x176)]||function(_0x170793,_0x29a625,_0x365422,_0x29863a,_0x5e54f7){const _0x151cad=a17_0x2b9fdd;if(_0x29863a==='m')throw new TypeError(_0x151cad(0x15a));if(_0x29863a==='a'&&!_0x5e54f7)throw new TypeError(_0x151cad(0x190));if(typeof _0x29a625===_0x151cad(0x1d6)?_0x170793!==_0x29a625||!_0x5e54f7:!_0x29a625[_0x151cad(0x1e5)](_0x170793))throw new TypeError(_0x151cad(0x144));return _0x29863a==='a'?_0x5e54f7[_0x151cad(0x142)](_0x170793,_0x365422):_0x5e54f7?_0x5e54f7[_0x151cad(0x1be)]=_0x365422:_0x29a625[_0x151cad(0x175)](_0x170793,_0x365422),_0x365422;},__classPrivateFieldGet=this&&this[a17_0x2b9fdd(0x232)]||function(_0x447e12,_0x9feed8,_0xdd3aed,_0x132a1b){const _0x3377d3=a17_0x2b9fdd;if(_0xdd3aed==='a'&&!_0x132a1b)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x9feed8===_0x3377d3(0x1d6)?_0x447e12!==_0x9feed8||!_0x132a1b:!_0x9feed8[_0x3377d3(0x1e5)](_0x447e12))throw new TypeError(_0x3377d3(0x1ea));return _0xdd3aed==='m'?_0x132a1b:_0xdd3aed==='a'?_0x132a1b[_0x3377d3(0x142)](_0x447e12):_0x132a1b?_0x132a1b[_0x3377d3(0x1be)]:_0x9feed8[_0x3377d3(0x207)](_0x447e12);},_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_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_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[a17_0x2b9fdd(0x1aa)](exports,a17_0x2b9fdd(0x16d),{'value':!![]}),exports[a17_0x2b9fdd(0x174)]=exports['CachedPromise']=void 0x0;function a17_0x4545(_0x40959e,_0x176860){const _0x191a9b=a17_0x5a93();return a17_0x4545=function(_0x4a1d1b,_0x2db522){_0x4a1d1b=_0x4a1d1b-0x139;let _0x5a93ef=_0x191a9b[_0x4a1d1b];return _0x5a93ef;},a17_0x4545(_0x40959e,_0x176860);}const assert=require(a17_0x2b9fdd(0x19e)),events_1=require(a17_0x2b9fdd(0x20d)),extend=require(a17_0x2b9fdd(0x1f8)),fs=require('fs'),metadata=require('gcp-metadata'),path=require(a17_0x2b9fdd(0x1d7)),util=require(a17_0x2b9fdd(0x1c7)),status_message_1=require(a17_0x2b9fdd(0x153)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a17_0x2b9fdd(0x1ee)),config_1=require(a17_0x2b9fdd(0x222)),controller_1=require('./controller'),SourceMapper=require(a17_0x2b9fdd(0x1f9)),debugapi=require(a17_0x2b9fdd(0x1ca)),piping_manager_1=require(a17_0x2b9fdd(0x213)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a17_0x2b9fdd(0x1d2)),scanner_1=require('./io/scanner'),environment_metadata_1=require(a17_0x2b9fdd(0x1c8)),file_index_1=require(a17_0x2b9fdd(0x181)),utils_1=require('./util/utils'),redaction_manager_1=require('./reduction/redaction-manager'),configuration_provider_1=require(a17_0x2b9fdd(0x1ff)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a17_0x2b9fdd(0x22d)),format_1=require(a17_0x2b9fdd(0x203)),createDebuggee_1=require(a17_0x2b9fdd(0x229)),readFilep=util['promisify'](fs[a17_0x2b9fdd(0x15e)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4414b2,_0x18d665)=>{const _0x36a8c5=a17_0x2b9fdd;let _0x303d1b=_0x4414b2+util['format']('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x18d665['id'],_0x18d665[_0x36a8c5(0x1bb)],util[_0x36a8c5(0x21e)](_0x18d665[_0x36a8c5(0x217)]));if(_0x18d665[_0x36a8c5(0x1cb)]){const _0x18689a=Number(_0x18d665[_0x36a8c5(0x1cb)][_0x36a8c5(0x1c5)]),_0x13c400=new Date(_0x18689a*0x3e8);_0x303d1b+=_0x36a8c5(0x1b6)+_0x13c400[_0x36a8c5(0x177)]();}return _0x18d665[_0x36a8c5(0x1b2)]&&(_0x303d1b+='\x0a\x09condition:\x20'+util[_0x36a8c5(0x21e)](_0x18d665[_0x36a8c5(0x1b2)])),_0x18d665['expressions']&&(_0x303d1b+=_0x36a8c5(0x1a9)+util[_0x36a8c5(0x21e)](_0x18d665[_0x36a8c5(0x1ec)])),_0x303d1b;},formatBreakpoints=(_0x41d37a,_0x55cc9f)=>{const _0x230d52=a17_0x2b9fdd;return _0x41d37a+Object[_0x230d52(0x1f2)](_0x55cc9f)[_0x230d52(0x18f)](_0x5abac0=>{return formatBreakpoint('',_0x55cc9f[_0x5abac0]);})[_0x230d52(0x1c6)]('\x0a');};class CachedPromise{constructor(){const _0x4a59b0=a17_0x2b9fdd;this[_0x4a59b0(0x1a4)]=null,this[_0x4a59b0(0x1ce)]=new Promise(_0x31ba8c=>{this['promiseResolve']=_0x31ba8c;});}['get'](){return this['promise'];}[a17_0x2b9fdd(0x161)](){const _0x3a520c=a17_0x2b9fdd;this[_0x3a520c(0x1a4)]&&(this[_0x3a520c(0x1a4)](),this[_0x3a520c(0x1a4)]=null);}}exports[a17_0x2b9fdd(0x140)]=CachedPromise;function a17_0x5a93(){const _0x513cd1=['globalPipingStatus','\x09Notifying\x20server\x20about\x20error\x20for\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','stopped','Failed\x20to\x20register\x20debuggee:\x20','waitExpired','getBlocklist','Error\x20scanning\x20the\x20filesystem.','__esModule','status','isReady','hash','\x20(type:\x20','.\x20Error:\x20','info','Debuglet','set','__classPrivateFieldSet','toString','REDACTED_PLACEHOLDER','136518YQGMTO','getRedactions','breakpoints_fetched','pipeLogs','isReadyManager','Switching\x20globalPiping\x20status\x20from\x20','35Laxtqg','Blacklist\x20Exceptions:\x20\x0a\x09','./io/file-index','5224440urgypO','filename','forEach','expirationSeconds','config','scan','NODE_VERSION_MESSAGE','fromFileStats','SIGTERM','length','prettyError','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','start','map','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','Error\x20processing\x20the\x20sourcemaps.','breakpoint_set','maxRequestRetryDelaySeconds','create','62476uXUAjM','instance','fetchBreakpointsOnce','isRedactionActive','log','288536ZeGKht','FileIndex','GAE_MINOR_VERSION','CAPTURE','assert','now','findFiles','mainModule','Server\x20breakpoints:\x0a','entries','promiseResolve','object','packageInfo','ignoreQuota','name:\x20','\x0a\x09expressions:\x20','defineProperty','unref','clearTransmissionTimeout','SIGQUIT','isError','collectLogRequestId','Unique\x20ID\x20for\x20this\x20Application:\x20','caseInsensitive','condition','source-context.json','blacklist','agentLog','\x0a\x09createdTime:\x20','readFullVersion','all','errors','debuglet','action','deregister','\x09Got\x20error\x20from\x20server.\x20status:\x20','value','do\x20this.','NOT_SET','logMainConfigParams','normalizeConfig','jsFileIndex','isOutOfQuota','seconds','join','util','./environment-metadata','pipingStatus','./v8/debugapi','createTime','73896FXXKIJ','default','promise','Starting\x20debuggee','values','js.map','./blocklisting/patterns-blocklist-manager','APP_ONLY','enqueueBreakpointUpdate','\x20completed.','function','path','Redactions:\x20\x0a\x09','parse','EnvironmentMetadata','logger','Registered\x20as\x20debuggee:\x20','setPipingStatus','agentLogTargetDir','then','\x20accepted\x20by\x20agent','description','allowRootAsWorkingDirectory','.\x20Retrying\x20in\x20','initError','has','disable','createDebuggee','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','Breakpoint\x20hit!:\x20','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','EventEmitter','expressions','pattern','./agent-logger','capture','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','pid','keys','957500rzkYys','parameters','warn','144798bUYhkh','javascriptFileExtensions','extend','./io/sourcemapper','getSourceContextFromFile','Expiring\x20breakpoint','SIGINT','\x09adding\x20breakpoint','setIgnoreQuota','./configuration-provider','filter','posix','createPerBreakpointConditionQuota','./debuglet-helpers/format','activeBreakpointMap','mapSubtract','clientConnectionTimeoutInSeconds','get','getProps','blacklist_exception','Result:\x20\x0a','agentLogMaxFileCount','\x20to\x20','events','pipingManager','LOG','fetcherActive','expirationTime','utf8','./piping-manager','Disabled\x20by\x20the\x20server','stringify','BREAKPOINT_ACTION_MESSAGE','location','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','StatusMessage','env','registered','Failed\x20to\x20re-register\x20debuggee\x20','addAndPipeLog','inspect','5.2\x20||\x20<4','Registering\x20debuggee','>=12','./config','rejecting\x20breakpoint','started','stop','error','GAE-','split','./debuglet-helpers/createDebuggee','\x20caseInsensitive:\x20','Controller','concat','./debuglet-helpers/mapSubtract','UNSPECIFIED','debuggee','sendAgentLogsToServer','format','__classPrivateFieldGet','setPatterns','workingDirectory','push','replace','satisfies','PatternsBlocklistManager','add','register','selectFiles','CachedPromise','isRunning','call','logLevel','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','sep','LOGPOINT:\x20','internal','message','wait','getMaxSnapshotBufferSize','undefined','Debuggee\x20is\x20not\x20registered','debug','listBreakpoints','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','emit','\x09successfully\x20added\x20breakpoint','search','../client/stackdriver/status-message','):\x20pattern:\x20','stdErrThreshold','quotaCheck','once','constructor','backoff','Private\x20method\x20is\x20not\x20writable','NODE_10_CIRC_REF_MESSAGE','bind','createLogger','readFile','extraPaths','ALLOW_EXPRESSIONS_MESSAGE','resolve','version','Blacklist:\x20\x0a\x09','Working\x20directory:\x20'];a17_0x5a93=function(){return _0x513cd1;};return a17_0x5a93();}class IsReadyImpl{constructor(_0x33de28){const _0x5c8ab2=a17_0x2b9fdd;this[_0x5c8ab2(0x1ba)]=_0x33de28;}['isReady'](){return this['debuglet']['isReady']();}}class Debuglet extends events_1[a17_0x2b9fdd(0x1eb)]{constructor(_0x1914ec,_0x5356e7){const _0xae510b=a17_0x2b9fdd;super(),_Debuglet_instances[_0xae510b(0x13d)](this),_Debuglet_debug[_0xae510b(0x175)](this,void 0x0),_Debuglet_v8debug[_0xae510b(0x175)](this,void 0x0),_Debuglet_running[_0xae510b(0x175)](this,void 0x0),_Debuglet_controller[_0xae510b(0x175)](this,void 0x0),_Debuglet_completedBreakpointMap[_0xae510b(0x175)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0xae510b(0x175)](this,void 0x0),_Debuglet_breakpointFetched[_0xae510b(0x175)](this,void 0x0),_Debuglet_debuggeeRegistered[_0xae510b(0x175)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0xae510b(0x17d)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0xae510b(0x175)](this,void 0x0),_Debuglet_scanner[_0xae510b(0x175)](this,void 0x0),_Debuglet_quotaManager[_0xae510b(0x175)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0xae510b(0x175)](this,void 0x0),_Debuglet_configProvider[_0xae510b(0x175)](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0xae510b(0x1c2)])(_0x5356e7),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0xae510b(0x186)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1914ec,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0xae510b(0x1db)]=agent_logger_1[_0xae510b(0x1cd)][_0xae510b(0x15d)](this[_0xae510b(0x186)][_0xae510b(0x1b5)]['agentLogTargetDir'],this[_0xae510b(0x186)][_0xae510b(0x1b5)]['agentLogMaxFileSizeMb'],this[_0xae510b(0x186)][_0xae510b(0x1b5)][_0xae510b(0x20b)],this['config'][_0xae510b(0x1b5)]['agentLogLevel'],this[_0xae510b(0x186)][_0xae510b(0x1b5)][_0xae510b(0x155)]),(0x0,config_1[_0xae510b(0x1c1)])(this[_0xae510b(0x186)],this[_0xae510b(0x1db)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0xae510b(0x1da))](this[_0xae510b(0x1db)])[_0xae510b(0x208)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0xae510b(0x22b))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0xae510b(0x186)],this[_0xae510b(0x1db)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this['logger']),'f'),this[_0xae510b(0x22f)]=null,this[_0xae510b(0x204)]={},__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['QuotaManager'](this[_0xae510b(0x1db)],this[_0xae510b(0x186)]),'f'),this[_0xae510b(0x20e)]=new piping_manager_1['PipingManager'](_0xae510b(0x1d3),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a17_0x2b9fdd(0x1a0)](_0x5a828b,_0x26d746){const _0x1a5af4=a17_0x2b9fdd,_0x2ca15c=_0x5a828b['workingDirectory'],_0xd44de6=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1a5af4(0x187)](_0x2ca15c,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1a5af4(0x142)](Debuglet,_0x5a828b[_0x1a5af4(0x1f7)][_0x1a5af4(0x22c)](_0x1a5af4(0x1d1))),_0x26d746,_0x5a828b[_0x1a5af4(0x15f)]),_0x852084=_0xd44de6['selectStats'](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)['call'](Debuglet,_0x5a828b['javascriptFileExtensions'])),_0x2a4008=file_index_1[_0x1a5af4(0x19b)][_0x1a5af4(0x189)](_0x852084),_0x918655=_0xd44de6[_0x1a5af4(0x13f)](/.js.map$/,process['cwd']()),_0x472f37=_0xd44de6[_0x1a5af4(0x1b9)]();return{'mapFiles':_0x918655,'errors':_0x472f37,'jsFileIndex':_0x2a4008,'hash':_0xd44de6[_0x1a5af4(0x170)]};}async[a17_0x2b9fdd(0x18e)](){const _0x88485b=a17_0x2b9fdd;var _0x45fab6;const _0x13aacb=this,_0x46dcba=_0x13aacb['config'][_0x88485b(0x234)];if(!_0x13aacb['config'][_0x88485b(0x1e2)]&&path[_0x88485b(0x1c6)](_0x46dcba,'..')===_0x46dcba){const _0x71da74='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x88485b(0x18d)+_0x88485b(0x1f0)+_0x88485b(0x1bf);_0x13aacb['logger'][_0x88485b(0x226)](_0x71da74),_0x13aacb[_0x88485b(0x150)]('initError',new Error(_0x71da74));return;}let _0xeef442;process[_0x88485b(0x21a)]['GAE_MINOR_VERSION']&&(_0xeef442=_0x88485b(0x227)+process[_0x88485b(0x21a)][_0x88485b(0x19c)]);let _0x423e90,_0x49db8c=_0xeef442||'';try{_0x423e90=await this['findFiles'](_0x13aacb[_0x88485b(0x186)],_0xeef442),_0x423e90[_0x88485b(0x1b9)]['forEach'](_0x13aacb[_0x88485b(0x1db)][_0x88485b(0x1f5)]);}catch(_0x3dfd4a){_0x13aacb[_0x88485b(0x1db)]['error'](_0x88485b(0x16c),_0x3dfd4a),_0x13aacb['emit']('initError',_0x3dfd4a);return;}try{const _0x12b7e9=await SourceMapper['create'](_0x423e90['mapFiles']);__classPrivateFieldSet(_0x13aacb,_Debuglet_v8debug,debugapi[_0x88485b(0x194)](_0x13aacb[_0x88485b(0x1db)],_0x13aacb[_0x88485b(0x186)],_0x423e90[_0x88485b(0x1c3)],_0x12b7e9,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x49db8c=_0xeef442||_0x423e90[_0x88485b(0x170)];}catch(_0x43f411){_0x13aacb['logger'][_0x88485b(0x226)](_0x88485b(0x191),_0x43f411),_0x13aacb[_0x88485b(0x150)](_0x88485b(0x1e4),_0x43f411);}_0x13aacb[_0x88485b(0x1db)][_0x88485b(0x173)](_0x88485b(0x1b0)+_0x49db8c);const _0xca6b84=(0x0,utils_1[_0x88485b(0x1b7)])(_0x13aacb['logger'])[_0x88485b(0x13a)]('\x0a','');_0x13aacb['logger'][_0x88485b(0x173)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0xca6b84);let _0x2c6d7b;try{_0x2c6d7b=_0x13aacb[_0x88485b(0x186)]['sourceContext']||await Debuglet['getSourceContextFromFile']();}catch(_0x2adc78){}this[_0x88485b(0x186)][_0x88485b(0x1ef)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x88485b(0x14a)]()===0x0&&(0x0,utils_1['satisfies'])(process['version'],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0x13aacb[_0x88485b(0x1db)][_0x88485b(0x1f5)](utils_1[_0x88485b(0x1b9)][_0x88485b(0x15b)]),_0x13aacb[_0x88485b(0x1db)][_0x88485b(0x173)](_0x88485b(0x14f)+((_0x45fab6=process[_0x88485b(0x1a1)])===null||_0x45fab6===void 0x0?void 0x0:_0x45fab6[_0x88485b(0x183)])),_0x13aacb[_0x88485b(0x1db)][_0x88485b(0x14d)](_0x88485b(0x164)+_0x46dcba),_0x13aacb[_0x88485b(0x1db)][_0x88485b(0x14d)](_0x88485b(0x1cf)),__classPrivateFieldSet(_0x13aacb,_Debuglet_running,!![],'f'),_0x13aacb[_0x88485b(0x22f)]=(0x0,createDebuggee_1[_0x88485b(0x1e7)])(_0x49db8c,_0x13aacb[_0x88485b(0x186)],_0x2c6d7b,__classPrivateFieldGet(_0x13aacb,_Debuglet_debug,'f')[_0x88485b(0x1a6)],_0xca6b84,_0x13aacb['logger'],__classPrivateFieldGet(_0x13aacb,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x13aacb,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x88485b(0x142)](_0x13aacb),__classPrivateFieldGet(_0x13aacb,_Debuglet_instances,'m',_Debuglet_register_)[_0x88485b(0x142)](_0x13aacb),_0x13aacb['emit'](_0x88485b(0x224));}[a17_0x2b9fdd(0x16f)](){const _0x4637b4=a17_0x2b9fdd;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x4637b4(0x161)]();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')[_0x4637b4(0x207)]()[_0x4637b4(0x1df)](()=>{const _0x2d4359=_0x4637b4;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2d4359(0x142)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4637b4(0x207)]();}}static async[a17_0x2b9fdd(0x1fa)](){const _0x22c573=a17_0x2b9fdd,_0x5dce14=await readFilep(_0x22c573(0x1b3),_0x22c573(0x212));try{return JSON[_0x22c573(0x1d9)](_0x5dce14);}catch(_0x1cd975){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x1cd975);}}[a17_0x2b9fdd(0x141)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x2b9fdd(0x225)](){const _0x2b9ac6=a17_0x2b9fdd;var _0x3e5b3c;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x2b9ac6(0x1db)][_0x2b9ac6(0x14d)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x2b9ac6(0x1db)][_0x2b9ac6(0x14d)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x3e5b3c=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x3e5b3c===void 0x0?void 0x0:_0x3e5b3c[_0x2b9ac6(0x1ac)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x2b9ac6(0x150)](_0x2b9ac6(0x168));}}exports[a17_0x2b9fdd(0x174)]=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_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x211673){const _0xf41f22=a17_0x2b9fdd;return new RegExp(_0x211673['map'](_0x17e221=>_0x17e221+'$')[_0xf41f22(0x1c6)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x52edb8=a17_0x2b9fdd,_0x53740f=[_0x52edb8(0x18a),_0x52edb8(0x1fc),_0x52edb8(0x1ad)];_0x53740f['forEach'](_0x2f6eb7=>{const _0x59728f=_0x52edb8;process[_0x59728f(0x157)](_0x2f6eb7,()=>{const _0x57ca3a=_0x59728f;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x57ca3a(0x22f)],()=>{const _0x277a84=_0x57ca3a;process['kill'](process[_0x277a84(0x1f1)],_0x2f6eb7);});});}),process[_0x52edb8(0x157)]('beforeExit',()=>{const _0x3985be=_0x52edb8;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3985be(0x1bc)](this[_0x3985be(0x22f)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){return metadata['isAvailable']();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0xf7a2ae=a17_0x2b9fdd;return(await metadata[_0xf7a2ae(0x196)]('attributes/cluster-name'))['data'];},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x4da103){const _0x120701=a17_0x2b9fdd,_0x4bc6bf=this;_0x4bc6bf[_0x120701(0x1db)][_0x120701(0x14d)](_0x4da103?'Scheduling\x20registration\x20in\x20'+_0x4da103+'s':_0x120701(0x220));function _0x4e67e2(_0x4a793c,_0x403c0f,_0x53fc4c=![]){const _0x45f09f=_0x120701;var _0x147a42,_0xc337f1;const _0x40fe11=((_0x147a42=_0x4bc6bf['debuggee'])===null||_0x147a42===void 0x0?void 0x0:_0x147a42['id'])?_0x45f09f(0x21c)+((_0xc337f1=_0x4bc6bf[_0x45f09f(0x22f)])===null||_0xc337f1===void 0x0?void 0x0:_0xc337f1['id'])+':\x20'+(0x0,utils_1[_0x45f09f(0x18c)])(_0x4a793c):_0x45f09f(0x169)+(0x0,utils_1[_0x45f09f(0x18c)])(_0x4a793c);_0x4bc6bf[_0x45f09f(0x1db)][_0x45f09f(0x226)](_0x40fe11),_0x403c0f&&!_0x53fc4c&&_0x4bc6bf[_0x45f09f(0x1db)]['error'](_0x45f09f(0x20a),_0x403c0f),__classPrivateFieldGet(_0x4bc6bf,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x45f09f(0x142)](_0x4bc6bf,(0x0,utils_1[_0x45f09f(0x159)])(_0x4da103,_0x4bc6bf['config'][_0x45f09f(0x147)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x12b16c=_0x120701;if(!__classPrivateFieldGet(_0x4bc6bf,_Debuglet_running,'f')){_0x4e67e2(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(_0x4bc6bf,_Debuglet_controller,'f')[_0x12b16c(0x13e)](_0x4bc6bf[_0x12b16c(0x22f)],(_0x476e77,_0x1cae73,_0x979920=![])=>{const _0x570a75=_0x12b16c;if(_0x476e77){_0x4e67e2(_0x476e77,_0x1cae73,_0x979920);return;}if(_0x1cae73[_0x570a75(0x22f)]['isDisabled']){_0x4e67e2(new Error(_0x570a75(0x214))),_0x4bc6bf['emit']('remotelyDisabled');return;}const _0x384aa0=_0x1cae73[_0x570a75(0x22f)]['id'];_0x4bc6bf[_0x570a75(0x1db)]['info'](_0x570a75(0x1dc)+_0x384aa0),_0x4bc6bf[_0x570a75(0x22f)]['id']=_0x384aa0;const _0x56f6a8=[__classPrivateFieldGet(_0x4bc6bf,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x570a75(0x15c)](_0x4bc6bf)(_0x4bc6bf['debuggee']['id'])];_0x4bc6bf['config']['redactionEnabled']&&_0x56f6a8['push'](__classPrivateFieldGet(_0x4bc6bf,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x570a75(0x15c)](_0x4bc6bf)(_0x4bc6bf[_0x570a75(0x22f)]['id'])),Promise[_0x570a75(0x1b8)](_0x56f6a8)['then'](()=>{const _0x369819=_0x570a75;var _0x1893c4;_0x4bc6bf[_0x369819(0x150)](_0x369819(0x21b),_0x384aa0),__classPrivateFieldGet(_0x4bc6bf,_Debuglet_debuggeeRegistered,'f')[_0x369819(0x161)](),(_0x1893c4=__classPrivateFieldGet(_0x4bc6bf,_Debuglet_v8debug,'f'))===null||_0x1893c4===void 0x0?void 0x0:_0x1893c4['setBlocklistManager'](__classPrivateFieldGet(_0x4bc6bf,_Debuglet_blocklistManager,'f')),!_0x4bc6bf[_0x369819(0x210)]&&__classPrivateFieldGet(_0x4bc6bf,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x369819(0x142)](_0x4bc6bf,0x0,this[_0x369819(0x186)][_0x369819(0x197)],_0x1cae73===null||_0x1cae73===void 0x0?void 0x0:_0x1cae73[_0x369819(0x206)]);},_0x16670c=>{_0x4e67e2(_0x16670c);});});},_0x4da103*0x3e8)[_0x120701(0x1ab)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x20eb26,_0xa44f34,_0x5aa90e){const _0x140108=a17_0x2b9fdd,_0x470f5b=this;!_0xa44f34&&(_0x470f5b[_0x140108(0x210)]=!![]),setTimeout(()=>{const _0x2f390b=_0x140108;if(!__classPrivateFieldGet(_0x470f5b,_Debuglet_running,'f'))return;!_0xa44f34&&assert(_0x470f5b[_0x2f390b(0x210)]),_0x470f5b['logger']['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x470f5b,_Debuglet_controller,'f')[_0x2f390b(0x14e)](_0x470f5b[_0x2f390b(0x22f)],(_0x32d91a,_0x4fe96e,_0x13619b)=>{const _0xa6fc33=_0x2f390b;if((_0x4fe96e===null||_0x4fe96e===void 0x0?void 0x0:_0x4fe96e['status'])===0x194){_0x470f5b[_0xa6fc33(0x1db)][_0xa6fc33(0x173)](_0xa6fc33(0x14c)),_0x470f5b[_0xa6fc33(0x210)]=![],__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x470f5b),__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_register_)[_0xa6fc33(0x142)](_0x470f5b);return;}if(_0x32d91a){const _0x5eb05e=(0x0,utils_1['backoff'])(_0x20eb26,_0x470f5b[_0xa6fc33(0x186)]['internal'][_0xa6fc33(0x193)]);_0x470f5b[_0xa6fc33(0x1db)][_0xa6fc33(0x226)](_0xa6fc33(0x1bd)+(_0x4fe96e===null||_0x4fe96e===void 0x0?void 0x0:_0x4fe96e[_0xa6fc33(0x16e)])+'.\x20message:\x20'+_0x32d91a['message']+_0xa6fc33(0x1e3)+_0x5eb05e+'s'),__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa6fc33(0x142)](_0x470f5b,_0x5eb05e,_0xa44f34,_0x5aa90e);return;}_0x470f5b['logger'][_0xa6fc33(0x14d)]('\x09'+_0x4fe96e['status']+_0xa6fc33(0x1d5));if(!_0x13619b){const _0x332d30=_0x470f5b['config']['breakpointUpdateIntervalSec'];_0x470f5b[_0xa6fc33(0x1db)][_0xa6fc33(0x226)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x332d30+'s'),__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa6fc33(0x142)](_0x470f5b,_0x332d30,_0xa44f34,_0x5aa90e);return;}if(_0x13619b[_0xa6fc33(0x16a)]){_0x470f5b['logger'][_0xa6fc33(0x173)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa6fc33(0x142)](_0x470f5b,0x0,_0xa44f34,_0x5aa90e);return;}if(_0x13619b['pipeLogs']&&_0x13619b['pipeLogs']!==_0xa6fc33(0x1c0)){const _0x107740=this['pipingManager'][_0xa6fc33(0x165)];_0x107740!==_0x13619b[_0xa6fc33(0x17c)]&&(this[_0xa6fc33(0x1db)][_0xa6fc33(0x14d)](_0xa6fc33(0x17e)+_0x107740+_0xa6fc33(0x20c)+_0x13619b[_0xa6fc33(0x17c)]),this['pipingManager'][_0xa6fc33(0x165)]=_0x13619b[_0xa6fc33(0x17c)]);}if(_0x13619b['collectAndSendLog']&&_0x13619b[_0xa6fc33(0x1af)]!==_0x470f5b[_0xa6fc33(0x1af)]){_0x470f5b[_0xa6fc33(0x1af)]=_0x13619b[_0xa6fc33(0x1af)];const _0x42b2bb=_0x470f5b[_0xa6fc33(0x186)][_0xa6fc33(0x1b5)][_0xa6fc33(0x1de)]&&path[_0xa6fc33(0x1c6)](_0x470f5b[_0xa6fc33(0x186)][_0xa6fc33(0x1b5)][_0xa6fc33(0x1de)],agent_logger_1[_0xa6fc33(0x1cd)]['AGENT_LOG_FILE']);_0x42b2bb&&fs['existsSync'](_0x42b2bb)?setTimeout(()=>__classPrivateFieldGet(_0x470f5b,_Debuglet_controller,'f')[_0xa6fc33(0x230)](_0x470f5b[_0xa6fc33(0x22f)],_0x13619b['collectLogRequestId'],_0x42b2bb)):_0x470f5b[_0xa6fc33(0x1db)][_0xa6fc33(0x173)](_0xa6fc33(0x218)+_0x13619b[_0xa6fc33(0x1af)]+'\x20because\x20'+_0xa6fc33(0x1e8));}const _0x1b9b41=(_0x13619b['breakpoints']||[])[_0xa6fc33(0x18f)](_0x27d146=>new stackdriver_1['Breakpoint'](_0x27d146))[_0xa6fc33(0x200)](_0x11c9d1=>{const _0x4e42ee=_0xa6fc33,_0x7cde3f=_0x11c9d1['action']||_0x4e42ee(0x19d);if(__classPrivateFieldGet(_0x470f5b,_Debuglet_completedBreakpointMap,'f')[_0x11c9d1['id']])return![];if(_0x7cde3f!==_0x4e42ee(0x19d)&&_0x7cde3f!==_0x4e42ee(0x20f))return _0x470f5b['logger'][_0x4e42ee(0x1f5)](_0x4e42ee(0x167),_0x7cde3f),_0x11c9d1[_0x4e42ee(0x16e)]=new status_message_1[(_0x4e42ee(0x219))](status_message_1[_0x4e42ee(0x219)][_0x4e42ee(0x22e)],utils_1[_0x4e42ee(0x1b9)][_0x4e42ee(0x216)],!![]),__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x470f5b,_0x11c9d1),![];return!![];}),_0x5bbfd2=__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xa6fc33(0x142)](_0x470f5b);let _0x22c8ed=_0x5bbfd2[_0xa6fc33(0x18b)]>0x0;__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xa6fc33(0x142)](_0x470f5b,_0x5bbfd2),_0x22c8ed=_0x22c8ed||__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x470f5b,_0x1b9b41),_0x470f5b['emit'](_0xa6fc33(0x17b),_0x1b9b41[_0xa6fc33(0x18b)]);_0x22c8ed&&_0x470f5b[_0xa6fc33(0x1db)][_0xa6fc33(0x14d)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x470f5b[_0xa6fc33(0x204)]));__classPrivateFieldSet(_0x470f5b,_Debuglet_breakpointFetchedTimestamp,Date[_0xa6fc33(0x19f)](),'f');_0xa44f34?__classPrivateFieldGet(_0x470f5b,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x470f5b,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x470f5b,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x470f5b,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x470f5b,0x0,_0xa44f34,_0x5aa90e);return;},_0x5aa90e);},_0x20eb26*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x199ea4=a17_0x2b9fdd;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x199ea4(0x161)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x37c80b){const _0x8a7622=a17_0x2b9fdd,_0x477c71=this,_0x522953=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x8a7622(0x142)](this,_0x37c80b);let _0x1a9549=![];return _0x37c80b['forEach'](_0x417f33=>{const _0x52a7dd=_0x8a7622;!__classPrivateFieldGet(_0x477c71,_Debuglet_completedBreakpointMap,'f')[_0x417f33['id']]&&!_0x477c71[_0x52a7dd(0x204)][_0x417f33['id']]&&(__classPrivateFieldGet(_0x477c71,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x52a7dd(0x142)](_0x477c71,_0x417f33,_0xb9af10=>{const _0x14de0b=_0x52a7dd;_0xb9af10&&__classPrivateFieldGet(_0x477c71,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x14de0b(0x142)](_0x477c71,_0x417f33,!![],![]);}),_0x1a9549=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x52a7dd(0x202)](_0x417f33['id'])),__classPrivateFieldGet(_0x477c71,_Debuglet_quotaManager,'f')[_0x52a7dd(0x1fe)](_0x417f33['id'],_0x417f33[_0x52a7dd(0x1a7)]),_0x477c71[_0x52a7dd(0x20e)][_0x52a7dd(0x1dd)](_0x417f33['id'],_0x417f33[_0x52a7dd(0x1c9)]);}),(0x0,mapSubtract_1[_0x8a7622(0x205)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x522953)[_0x8a7622(0x184)](_0x3758a5=>{delete __classPrivateFieldGet(_0x477c71,_Debuglet_completedBreakpointMap,'f')[_0x3758a5['id']],_0x1a9549=!![];}),(0x0,mapSubtract_1[_0x8a7622(0x205)])(this['activeBreakpointMap'],_0x522953)[_0x8a7622(0x184)](_0x58a7f7=>{const _0x47dfe9=_0x8a7622;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x47dfe9(0x142)](this,_0x58a7f7,!![]),_0x1a9549=!![];}),_0x1a9549&&_0x477c71[_0x8a7622(0x1db)][_0x8a7622(0x14d)](formatBreakpoints(_0x8a7622(0x1a2),_0x522953)),_0x1a9549;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x300677){const _0x3f7941=a17_0x2b9fdd,_0x4dc480={};return _0x300677[_0x3f7941(0x184)](_0x3cab07=>{_0x4dc480[_0x3cab07['id']]=_0x3cab07;}),_0x4dc480;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x5442a3,_0x2e619f){const _0x375d85=a17_0x2b9fdd;this[_0x375d85(0x1db)][_0x375d85(0x173)]('\x09remove\x20breakpoint',_0x5442a3),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x5442a3['id']),this['pipingManager']['removeBreakpoint'](_0x5442a3['id']),delete this[_0x375d85(0x204)][_0x5442a3['id']],_0x2e619f&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x5442a3,_0x3330cc=>{const _0x2d1412=_0x375d85;if(_0x3330cc)this[_0x2d1412(0x1db)]['error'](_0x3330cc);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x581e34,_0x30fe4d){const _0x3e78d4=a17_0x2b9fdd;var _0x14ab5a;const _0x29665f=this;_0x29665f[_0x3e78d4(0x1db)][_0x3e78d4(0x173)](_0x3e78d4(0x1fd),_0x581e34);if(!_0x29665f[_0x3e78d4(0x186)]['allowExpressions']&&(_0x581e34['condition']||_0x581e34[_0x3e78d4(0x1ec)])){_0x29665f['logger'][_0x3e78d4(0x226)](utils_1[_0x3e78d4(0x1b9)][_0x3e78d4(0x160)][_0x3e78d4(0x1e1)]||''),_0x581e34[_0x3e78d4(0x16e)]=new status_message_1[(_0x3e78d4(0x219))](status_message_1['StatusMessage'][_0x3e78d4(0x22e)],utils_1[_0x3e78d4(0x1b9)][_0x3e78d4(0x160)],!![]),setImmediate(()=>{const _0x5109f2=_0x3e78d4;_0x30fe4d(utils_1[_0x5109f2(0x1b9)][_0x5109f2(0x160)]);});return;}if((0x0,utils_1['satisfies'])(process['version'],_0x3e78d4(0x21f))){const _0x52286e=utils_1[_0x3e78d4(0x1b9)][_0x3e78d4(0x188)];_0x29665f[_0x3e78d4(0x1db)][_0x3e78d4(0x226)](_0x52286e),_0x581e34[_0x3e78d4(0x16e)]=new status_message_1[(_0x3e78d4(0x219))](status_message_1['StatusMessage']['UNSPECIFIED'],_0x52286e,!![]),setImmediate(()=>{_0x30fe4d(_0x52286e);});return;}const _0x3d8fab=_0x581e34[_0x3e78d4(0x1cb)]?Number(_0x581e34['createTime'][_0x3e78d4(0x1c5)]):Date['now']()/0x3e8,_0x5805b2=_0x581e34[_0x3e78d4(0x185)]||_0x29665f['config']['breakpointExpirationSec'];_0x581e34[_0x3e78d4(0x211)]=_0x3d8fab+_0x5805b2,((_0x14ab5a=_0x581e34['location'])===null||_0x14ab5a===void 0x0?void 0x0:_0x14ab5a['path'])&&(_0x581e34['location'][_0x3e78d4(0x1d7)]=path['normalize'](_0x581e34['location'][_0x3e78d4(0x1d7)]),path[_0x3e78d4(0x145)]===path[_0x3e78d4(0x201)][_0x3e78d4(0x145)]&&(_0x581e34['location'][_0x3e78d4(0x1d7)]=_0x581e34[_0x3e78d4(0x217)]['path'][_0x3e78d4(0x228)]('\x5c')[_0x3e78d4(0x1c6)](path['sep']))),__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f')[_0x3e78d4(0x175)](_0x581e34,_0x5127af=>{const _0x5775c3=_0x3e78d4;if(_0x5127af){_0x30fe4d(_0x5127af);return;}_0x29665f[_0x5775c3(0x1db)][_0x5775c3(0x173)](_0x5775c3(0x151),_0x581e34),_0x29665f['activeBreakpointMap'][_0x581e34['id']]=_0x581e34,_0x581e34[_0x5775c3(0x1bb)]===_0x5775c3(0x20f)?__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f')[_0x5775c3(0x199)](_0x581e34,(_0x455dd5,_0x3a3735)=>{const _0x163687=_0x5775c3;var _0x1f5fbf,_0x48ffbb,_0x5b6611,_0x18dad0;const _0x5324d5=_0x3a3735[_0x163687(0x18f)](_0x27e19a=>__classPrivateFieldGet(_0x29665f,_Debuglet_instances,'m',_Debuglet_stringify)[_0x163687(0x142)](_0x29665f,_0x27e19a)),_0x167a7e=(0x0,format_1[_0x163687(0x231)])(_0x455dd5,_0x5324d5),_0x427e57=_0x163687(0x146)+(((_0x1f5fbf=__classPrivateFieldGet(_0x29665f,_Debuglet_redactionManager,'f'))===null||_0x1f5fbf===void 0x0?void 0x0:_0x1f5fbf['replaceRedactedByValue'](_0x167a7e))||_0x167a7e),_0x125744=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x163687(0x156)](_0x427e57,_0x581e34['id']);if(_0x125744){const _0x27cde3=_0x125744[_0x163687(0x148)],_0x555f89=_0x125744[_0x163687(0x1c4)];let _0x33a253,_0x2f5a87;!((_0x48ffbb=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x48ffbb===void 0x0?void 0x0:_0x48ffbb[_0x163687(0x198)]())&&!_0x555f89&&(_0x33a253=_0x163687(0x146)+_0x455dd5,_0x2f5a87=_0x5324d5);_0x29665f[_0x163687(0x20e)][_0x163687(0x21d)](_0x29665f['debuggee'],_0x581e34['id'],_0x27cde3,_0x581e34[_0x163687(0x143)],_0x33a253,_0x2f5a87);if(_0x555f89)(_0x5b6611=__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f'))===null||_0x5b6611===void 0x0?void 0x0:_0x5b6611['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{var _0xad7c31;(_0xad7c31=__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f'))===null||_0xad7c31===void 0x0?void 0x0:_0xad7c31['enable'](),__classPrivateFieldSet(_0x29665f,_Debuglet_nextEnableTimeout,null,'f');},_0x29665f[_0x163687(0x186)]['quota']['quotaRecoverySeconds']*0x3e8),'f');else(_0x27cde3===null||_0x27cde3===void 0x0?void 0x0:_0x27cde3[_0x163687(0x18b)])===0x0&&((_0x18dad0=__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f'))===null||_0x18dad0===void 0x0?void 0x0:_0x18dad0[_0x163687(0x1e6)]());}},()=>{return __classPrivateFieldGet(_0x29665f,_Debuglet_completedBreakpointMap,'f')[_0x581e34['id']];},_0x477f7a=>{const _0x3a5331=_0x5775c3;if(_0x477f7a){_0x29665f[_0x3a5331(0x1db)][_0x3a5331(0x226)](_0x477f7a),_0x30fe4d(_0x477f7a);return;}}):__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f')[_0x5775c3(0x149)](_0x581e34,_0xb8de4d=>{const _0x1a697a=_0x5775c3;if(_0xb8de4d){setImmediate(()=>{const _0x138399=a17_0x4545;_0x29665f[_0x138399(0x1db)]['error'](_0xb8de4d),_0x30fe4d(_0xb8de4d);});return;}_0x29665f['logger'][_0x1a697a(0x173)](_0x1a697a(0x1e9),_0x581e34),__classPrivateFieldGet(_0x29665f,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1a697a(0x142)](_0x29665f,_0x581e34,__classPrivateFieldGet(_0x29665f,_Debuglet_v8debug,'f')['remainingHits'](_0x581e34['id'])<=0x0);}),__classPrivateFieldGet(_0x29665f,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x5775c3(0x142)](_0x29665f,_0x581e34);}),this['emit'](_0x3e78d4(0x192));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4e07ee,_0x5706ec,_0x5639d4=!![]){const _0x9aa31c=a17_0x2b9fdd;var _0x4f32f0,_0x146e78,_0x18b8b2,_0x16728f,_0x2543f8,_0x31ae9f;const _0x288be1=this;if(_0x4e07ee[_0x9aa31c(0x16e)]&&_0x4e07ee[_0x9aa31c(0x16e)][_0x9aa31c(0x1ae)]){let _0x3c3a54=((_0x146e78=(_0x4f32f0=_0x4e07ee['status'])===null||_0x4f32f0===void 0x0?void 0x0:_0x4f32f0[_0x9aa31c(0x1e1)])===null||_0x146e78===void 0x0?void 0x0:_0x146e78[_0x9aa31c(0x231)])||'';((_0x16728f=(_0x18b8b2=_0x4e07ee[_0x9aa31c(0x16e)])===null||_0x18b8b2===void 0x0?void 0x0:_0x18b8b2[_0x9aa31c(0x1e1)])===null||_0x16728f===void 0x0?void 0x0:_0x16728f[_0x9aa31c(0x1f4)])&&(_0x3c3a54+=':\x20'+((_0x31ae9f=(_0x2543f8=_0x4e07ee[_0x9aa31c(0x16e)])===null||_0x2543f8===void 0x0?void 0x0:_0x2543f8[_0x9aa31c(0x1e1)])===null||_0x31ae9f===void 0x0?void 0x0:_0x31ae9f['parameters']['toString']())),_0x288be1[_0x9aa31c(0x1db)][_0x9aa31c(0x1f5)](_0x9aa31c(0x166)+_0x4e07ee+_0x9aa31c(0x172)+_0x3c3a54);}else _0x288be1[_0x9aa31c(0x1db)][_0x9aa31c(0x173)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x4e07ee);_0x5706ec&&(__classPrivateFieldGet(_0x288be1,_Debuglet_completedBreakpointMap,'f')[_0x4e07ee['id']]=!![],__classPrivateFieldGet(_0x288be1,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x288be1,_0x4e07ee,_0x5639d4)),__classPrivateFieldGet(_0x288be1,_Debuglet_controller,'f')[_0x9aa31c(0x1d4)](_0x288be1[_0x9aa31c(0x22f)],extend(!![],{},_0x4e07ee));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x134889){const _0x3f7ea4=a17_0x2b9fdd,_0x445ce2=this;_0x445ce2[_0x3f7ea4(0x1db)][_0x3f7ea4(0x14d)]('reporting\x20breakpoint\x20'+_0x134889+_0x3f7ea4(0x1e0));const _0x86d34c=extend(!![],{},_0x134889);_0x86d34c['isFinalState']=![],_0x86d34c[_0x3f7ea4(0x16e)]=new status_message_1[(_0x3f7ea4(0x219))](status_message_1[_0x3f7ea4(0x219)][_0x3f7ea4(0x22e)],undefined,![],!![]),__classPrivateFieldGet(_0x445ce2,_Debuglet_controller,'f')[_0x3f7ea4(0x1d4)](_0x445ce2['debuggee'],_0x86d34c);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x25e799){const _0x1d0e96=a17_0x2b9fdd,_0x3b8d42=this;this['logger']['info'](_0x1d0e96(0x223),_0x25e799),__classPrivateFieldGet(_0x3b8d42,_Debuglet_completedBreakpointMap,'f')[_0x25e799['id']]=!![],__classPrivateFieldGet(_0x3b8d42,_Debuglet_controller,'f')[_0x1d0e96(0x1d4)](_0x3b8d42[_0x1d0e96(0x22f)],_0x25e799);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x3eae2d){const _0x53fdd1=this;_0x3eae2d['forEach'](_0x4cadac=>{const _0x3db5a9=a17_0x4545;_0x53fdd1['logger']['info'](_0x3db5a9(0x1fb),_0x4cadac),__classPrivateFieldGet(_0x53fdd1,_Debuglet_completedBreakpointMap,'f')[_0x4cadac['id']]=!![],__classPrivateFieldGet(_0x53fdd1,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3db5a9(0x142)](_0x53fdd1,_0x4cadac,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x38569c=a17_0x2b9fdd,_0x41de7c=Date[_0x38569c(0x19f)]()/0x3e8;return Object[_0x38569c(0x1d0)](this[_0x38569c(0x204)])[_0x38569c(0x200)](_0x37ae0c=>_0x37ae0c[_0x38569c(0x211)]?_0x37ae0c[_0x38569c(0x211)]<_0x41de7c:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x496253){const _0x8038ac=a17_0x2b9fdd,_0x498849=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x8038ac(0x16b)](_0x496253),_0x3419d2=_0x498849[_0x8038ac(0x1b4)],_0x5123b0=_0x498849[_0x8038ac(0x209)];_0x3419d2&&_0x3419d2['length']&&this[_0x8038ac(0x1db)]['debug'](_0x8038ac(0x163),_0x3419d2['join']('\x0a\x09')),_0x5123b0&&_0x5123b0[_0x8038ac(0x18b)]&&this[_0x8038ac(0x1db)][_0x8038ac(0x14d)](_0x8038ac(0x180),_0x5123b0[_0x8038ac(0x1c6)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x8038ac(0x13c))](_0x3419d2,_0x5123b0,this[_0x8038ac(0x186)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1b206d){const _0x2a3e20=a17_0x2b9fdd;var _0x269f28;const _0x3c5e73=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2a3e20(0x17a)](_0x1b206d);(_0x3c5e73===null||_0x3c5e73===void 0x0?void 0x0:_0x3c5e73[_0x2a3e20(0x18b)])&&this['logger']['debug'](_0x2a3e20(0x1d8),_0x3c5e73[_0x2a3e20(0x18f)](_0xf1396=>_0x2a3e20(0x1a8)+_0xf1396['name']+_0x2a3e20(0x171)+_0xf1396['type']+_0x2a3e20(0x154)+_0xf1396[_0x2a3e20(0x1ed)]+_0x2a3e20(0x22a)+_0xf1396[_0x2a3e20(0x1b1)])['join']('\x0a\x09'));if((0x0,utils_1[_0x2a3e20(0x13b)])(process[_0x2a3e20(0x162)],_0x2a3e20(0x221))){const {RedactionManagerRE2JS:_0x41ff20}=await Promise[_0x2a3e20(0x161)]()['then'](()=>require('./reduction/redaction-manager-re2js'));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x41ff20(this[_0x2a3e20(0x1db)]),'f'),(_0x269f28=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x269f28===void 0x0?void 0x0:_0x269f28[_0x2a3e20(0x233)](_0x3c5e73);}},_Debuglet_stringify=function _Debuglet_stringify(_0x1ad344){const _0x19206a=a17_0x2b9fdd;if(!_0x1ad344)return JSON[_0x19206a(0x215)](_0x1ad344,(_0x4fc719,_0x51d7a8)=>_0x51d7a8===undefined?_0x19206a(0x14b):_0x51d7a8);if(Array['isArray'](_0x1ad344)){const _0x147b0a=[];for(const _0x4064f8 of _0x1ad344){_0x147b0a[_0x19206a(0x139)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x4064f8));}return'['+_0x147b0a[_0x19206a(0x1c6)](',\x20')+']';}if(typeof _0x1ad344===_0x19206a(0x1a5)){const _0x3b3743=Object[_0x19206a(0x1a3)](_0x1ad344)['map'](([_0x414311,_0x40e925])=>{const _0x3ca742=_0x19206a;var _0x4793b3;const _0x24e38e=((_0x4793b3=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x4793b3===void 0x0?void 0x0:_0x4793b3['shouldRedactByName'](_0x414311))?redaction_manager_1[_0x3ca742(0x178)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3ca742(0x142)](this,_0x40e925);return JSON[_0x3ca742(0x215)](_0x414311)+':\x20'+_0x24e38e;})[_0x19206a(0x1c6)](',\x20');return'{'+_0x3b3743+'}';}return JSON[_0x19206a(0x215)](_0x1ad344);});
|
|
1
|
+
const a17_0x938d0=a17_0x2d9a;(function(_0x40a4fc,_0x546e7c){const _0x36443a=a17_0x2d9a,_0x5f0f61=_0x40a4fc();while(!![]){try{const _0x11d644=parseInt(_0x36443a(0x17c))/0x1*(-parseInt(_0x36443a(0x171))/0x2)+parseInt(_0x36443a(0x162))/0x3+parseInt(_0x36443a(0x150))/0x4+parseInt(_0x36443a(0x203))/0x5+parseInt(_0x36443a(0x1cc))/0x6+parseInt(_0x36443a(0x151))/0x7+-parseInt(_0x36443a(0x144))/0x8;if(_0x11d644===_0x546e7c)break;else _0x5f0f61['push'](_0x5f0f61['shift']());}catch(_0x388958){_0x5f0f61['push'](_0x5f0f61['shift']());}}}(a17_0x5ef9,0xe74f1));const a17_0x1762d8=(function(){let _0xe1b776=!![];return function(_0x2efc6b,_0x441fe9){const _0x16c415=_0xe1b776?function(){const _0x20ecd5=a17_0x2d9a;if(_0x441fe9){const _0x3c2155=_0x441fe9[_0x20ecd5(0x1f9)](_0x2efc6b,arguments);return _0x441fe9=null,_0x3c2155;}}:function(){};return _0xe1b776=![],_0x16c415;};}()),a17_0x5d262a=a17_0x1762d8(this,function(){const _0x42074c=a17_0x2d9a;return a17_0x5d262a['toString']()['search'](_0x42074c(0x14d))[_0x42074c(0x1c3)]()[_0x42074c(0x1eb)](a17_0x5d262a)[_0x42074c(0x163)](_0x42074c(0x14d));});a17_0x5d262a();'use strict';var __classPrivateFieldSet=this&&this[a17_0x938d0(0x1c2)]||function(_0x1b8230,_0x140871,_0x1877cd,_0x4b8419,_0x5745f0){const _0x566823=a17_0x938d0;if(_0x4b8419==='m')throw new TypeError(_0x566823(0x1ed));if(_0x4b8419==='a'&&!_0x5745f0)throw new TypeError(_0x566823(0x1f7));if(typeof _0x140871===_0x566823(0x1bc)?_0x1b8230!==_0x140871||!_0x5745f0:!_0x140871['has'](_0x1b8230))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x4b8419==='a'?_0x5745f0[_0x566823(0x187)](_0x1b8230,_0x1877cd):_0x5745f0?_0x5745f0['value']=_0x1877cd:_0x140871[_0x566823(0x156)](_0x1b8230,_0x1877cd),_0x1877cd;},__classPrivateFieldGet=this&&this[a17_0x938d0(0x1f5)]||function(_0x1515f2,_0x56b802,_0x5ca461,_0x654722){const _0x357074=a17_0x938d0;if(_0x5ca461==='a'&&!_0x654722)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x56b802===_0x357074(0x1bc)?_0x1515f2!==_0x56b802||!_0x654722:!_0x56b802[_0x357074(0x1d3)](_0x1515f2))throw new TypeError(_0x357074(0x1b4));return _0x5ca461==='m'?_0x654722:_0x5ca461==='a'?_0x654722['call'](_0x1515f2):_0x654722?_0x654722[_0x357074(0x1bb)]:_0x56b802['get'](_0x1515f2);},_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_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_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[a17_0x938d0(0x193)](exports,a17_0x938d0(0x127),{'value':!![]}),exports['Debuglet']=exports[a17_0x938d0(0x17b)]=void 0x0;function a17_0x2d9a(_0x1a362c,_0x3c698d){const _0x50cbbc=a17_0x5ef9();return a17_0x2d9a=function(_0x5d262a,_0x1762d8){_0x5d262a=_0x5d262a-0x123;let _0x5ef911=_0x50cbbc[_0x5d262a];return _0x5ef911;},a17_0x2d9a(_0x1a362c,_0x3c698d);}const assert=require(a17_0x938d0(0x13d)),events_1=require(a17_0x938d0(0x195)),extend=require('extend'),fs=require('fs'),path=require('path'),util=require(a17_0x938d0(0x1da)),status_message_1=require(a17_0x938d0(0x17a)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a17_0x938d0(0x15c)),config_1=require('./config'),controller_1=require('./controller'),SourceMapper=require('./io/sourcemapper'),debugapi=require(a17_0x938d0(0x1ba)),piping_manager_1=require(a17_0x938d0(0x1c5)),quota_manager_1=require(a17_0x938d0(0x1c0)),patterns_blocklist_manager_1=require(a17_0x938d0(0x128)),scanner_1=require(a17_0x938d0(0x1ef)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a17_0x938d0(0x218)),utils_1=require(a17_0x938d0(0x220)),redaction_manager_1=require(a17_0x938d0(0x124)),configuration_provider_1=require(a17_0x938d0(0x130)),normalizeConfig_1=require(a17_0x938d0(0x126)),mapSubtract_1=require(a17_0x938d0(0x1dd)),format_1=require(a17_0x938d0(0x1de)),createDebuggee_1=require(a17_0x938d0(0x1e2)),readFilep=util[a17_0x938d0(0x202)](fs[a17_0x938d0(0x212)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4f8ca1,_0x45f9ad)=>{const _0x16674e=a17_0x938d0;let _0xeec3a7=_0x4f8ca1+util[_0x16674e(0x1dc)](_0x16674e(0x137),_0x45f9ad['id'],_0x45f9ad[_0x16674e(0x1b9)],util[_0x16674e(0x1b0)](_0x45f9ad[_0x16674e(0x16d)]));if(_0x45f9ad[_0x16674e(0x12b)]){const _0x4a90e4=Number(_0x45f9ad[_0x16674e(0x12b)]['seconds']),_0x1bfc4a=new Date(_0x4a90e4*0x3e8);_0xeec3a7+=_0x16674e(0x1ca)+_0x1bfc4a['toString']();}return _0x45f9ad['condition']&&(_0xeec3a7+=_0x16674e(0x18f)+util[_0x16674e(0x1b0)](_0x45f9ad[_0x16674e(0x1e1)])),_0x45f9ad[_0x16674e(0x159)]&&(_0xeec3a7+=_0x16674e(0x12d)+util[_0x16674e(0x1b0)](_0x45f9ad['expressions'])),_0xeec3a7;},formatBreakpoints=(_0x2830bd,_0x596672)=>{const _0x3bd2cf=a17_0x938d0;return _0x2830bd+Object[_0x3bd2cf(0x1d1)](_0x596672)[_0x3bd2cf(0x20c)](_0x26b2d3=>{return formatBreakpoint('',_0x596672[_0x26b2d3]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x114a2c=a17_0x938d0;this[_0x114a2c(0x149)]=null,this[_0x114a2c(0x1fb)]=new Promise(_0x144051=>{const _0x329702=_0x114a2c;this[_0x329702(0x149)]=_0x144051;});}[a17_0x938d0(0x219)](){const _0x3e5d54=a17_0x938d0;return this[_0x3e5d54(0x1fb)];}[a17_0x938d0(0x1ee)](){const _0x8baf2e=a17_0x938d0;this['promiseResolve']&&(this[_0x8baf2e(0x149)](),this[_0x8baf2e(0x149)]=null);}}exports[a17_0x938d0(0x17b)]=CachedPromise;class IsReadyImpl{constructor(_0x25e7e2){const _0xbb36c8=a17_0x938d0;this[_0xbb36c8(0x172)]=_0x25e7e2;}['isReady'](){const _0x4a3d7c=a17_0x938d0;return this[_0x4a3d7c(0x172)]['isReady']();}}function a17_0x5ef9(){const _0x1cc5f8=['workingDirectory','createTime','isArray','\x0a\x09expressions:\x20','removePerBreakpointQuota','type','./configuration-provider','debug','ALLOW_EXPRESSIONS_MESSAGE','Failed\x20to\x20register\x20debuggee:\x20','Disabled\x20by\x20the\x20server','NODE_10_CIRC_REF_MESSAGE','isReady','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','errors','pattern','LOG','utf8','APP_ONLY','assert','now','mapSubtract','Server\x20breakpoints:\x0a','concat','\x20to\x20','fromFileStats','34692160ikOwQL','error','parameters','forEach','object','promiseResolve','remotelyDisabled','bind','selectStats','(((.+)+)+)+$','version','push','5614140GOYaJt','11945451lZflJm','UNSPECIFIED','sendAgentLogsToServer','beforeExit','>=12','set','getMaxSnapshotBufferSize','\x09Got\x20error\x20from\x20server.\x20status:\x20','expressions','config','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','./agent-logger','pipeLogs','caseInsensitive','Redactions:\x20\x0a\x09','Starting\x20debuggee','Blacklist:\x20\x0a\x09','1492170poZXBP','search','pipingStatus','agentLog','values','Failed\x20to\x20re-register\x20debuggee\x20','readFullVersion','NOT_SET','SIGTERM','Found\x20breakpoint\x20with\x20invalid\x20action:','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','location','logger','join','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','3742iZSvCZ','debuglet','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','prettyError','packageInfo','create','Registering\x20debuggee','setPatterns','satisfies','../client/stackdriver/status-message','CachedPromise','461miMEvk','BREAKPOINT_ACTION_MESSAGE','Debuglet\x20not\x20running','):\x20pattern:\x20','CAPTURE','removeBreakpoint','maxRequestRetryDelaySeconds','enqueueBreakpointUpdate','FileIndex','\x20because\x20','Debuggee\x20is\x20not\x20registered','call','enable','disable','Active\x20Breakpoints:\x20\x0a','hash','remainingHits','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','quotaRecoverySeconds','\x0a\x09condition:\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','status','activeBreakpointMap','defineProperty','GAE_MINOR_VERSION','events','seconds','agentLogMaxFileCount','agentLogLevel','quota','createPerBreakpointConditionQuota','\x09adding\x20breakpoint','EnvironmentMetadata','sep','debuggee','fetcherActive','Switching\x20globalPiping\x20status\x20from\x20','info','message','Scanner','Scheduling\x20registration\x20in\x20','agentLogTargetDir','mainModule','getRedactions','findFiles','deregister','name','capture','rejecting\x20breakpoint','env','start','initError','inspect','isError','\x09Long\x20poll\x20completed.','posix','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','name:\x20','5.2\x20||\x20<4','undefined','./reduction/redaction-manager-re2js','action','./v8/debugapi','value','function','\x09Notifying\x20server\x20about\x20error\x20for\x20','add','kill','./quota-manager','Expiring\x20breakpoint','__classPrivateFieldSet','toString','filter','./piping-manager','Error\x20scanning\x20the\x20filesystem.','breakpointExpirationSec','LOGPOINT:\x20','\x09remove\x20breakpoint','\x0a\x09createdTime:\x20','internal','5005092ROnoIl','pipingManager','once','jsFileIndex','default','keys','collectLogRequestId','has','isRunning','getBlocklist','Unique\x20ID\x20for\x20this\x20Application:\x20','breakpoints','length','normalizeConfig','util','logLevel','format','./debuglet-helpers/mapSubtract','./debuglet-helpers/format','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','js.map','condition','./debuglet-helpers/createDebuggee','globalPipingStatus','warn','reporting\x20breakpoint\x20','StatusMessage','javascriptFileExtensions','agentLogMaxFileSizeMb','backoff','stringify','constructor','existsSync','Private\x20method\x20is\x20not\x20writable','resolve','./io/scanner','\x20completed.','path','parse','logMainConfigParams','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','__classPrivateFieldGet','listBreakpoints','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','\x20accepted\x20by\x20agent','apply','wait','promise','then','log','setIgnoreQuota','stop','shouldRedactByName','Controller','promisify','8524460yYLLxb','.\x20Retrying\x20in\x20','Breakpoint\x20hit!:\x20','scan','getSourceContextFromFile','Debuglet','PipingManager','clear','REDACTED_PLACEHOLDER','map','Registered\x20as\x20debuggee:\x20','do\x20this.','description','breakpointUpdateIntervalSec','EventEmitter','readFile','emit','.\x20message:\x20','Error\x20processing\x20the\x20sourcemaps.','filename','Malformed\x20source-context.json\x20file:\x20','./io/file-index','get','waitExpired','QuotaManager','getProps','expirationTime','allowRootAsWorkingDirectory','breakpoint_set','./util/utils','unref','createDebuggee','Initializing\x20Node.js\x20agent\x20version:\x20','./reduction/redaction-manager','ignoreQuota','./debuglet-helpers/normalizeConfig','__esModule','./blocklisting/patterns-blocklist-manager','clientConnectionTimeoutInSeconds'];a17_0x5ef9=function(){return _0x1cc5f8;};return a17_0x5ef9();}class Debuglet extends events_1[a17_0x938d0(0x211)]{constructor(_0x291b25,_0x3ff508){const _0x28c2b3=a17_0x938d0;super(),_Debuglet_instances[_0x28c2b3(0x1be)](this),_Debuglet_debug[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_v8debug[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_running[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_controller[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_breakpointFetched[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x28c2b3(0x156)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x28c2b3(0x156)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x28c2b3(0x15a)]=(0x0,normalizeConfig_1[_0x28c2b3(0x1d9)])(_0x3ff508),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x28c2b3(0x15a)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x291b25,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this['logger']=agent_logger_1[_0x28c2b3(0x1d0)]['createLogger'](this[_0x28c2b3(0x15a)][_0x28c2b3(0x165)]['agentLogTargetDir'],this[_0x28c2b3(0x15a)][_0x28c2b3(0x165)][_0x28c2b3(0x1e8)],this[_0x28c2b3(0x15a)][_0x28c2b3(0x165)][_0x28c2b3(0x197)],this[_0x28c2b3(0x15a)]['agentLog'][_0x28c2b3(0x198)],this['config'][_0x28c2b3(0x165)]['stdErrThreshold']),(0x0,config_1[_0x28c2b3(0x1f3)])(this[_0x28c2b3(0x15a)],this[_0x28c2b3(0x16e)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x28c2b3(0x19c))](this['logger'])[_0x28c2b3(0x21c)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x28c2b3(0x201))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x28c2b3(0x15a)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x28c2b3(0x1a3))](this['logger']),'f'),this['debuggee']=null,this[_0x28c2b3(0x192)]={},__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[(_0x28c2b3(0x21b))](this['logger'],this[_0x28c2b3(0x15a)]),'f'),this[_0x28c2b3(0x1cd)]=new piping_manager_1[(_0x28c2b3(0x209))](_0x28c2b3(0x13c),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x28c2b3(0x15a)]);}async['findFiles'](_0x261325,_0x15ef7d){const _0x34236d=a17_0x938d0,_0x29e5c4=_0x261325[_0x34236d(0x12a)],_0x466b42=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x34236d(0x206)](_0x29e5c4,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x34236d(0x187)](_a,_0x261325[_0x34236d(0x1e7)][_0x34236d(0x141)](_0x34236d(0x1e0))),_0x15ef7d,_0x261325['extraPaths']),_0x334fce=_0x466b42[_0x34236d(0x14c)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x34236d(0x187)](_a,_0x261325[_0x34236d(0x1e7)])),_0x65ddd7=file_index_1[_0x34236d(0x184)][_0x34236d(0x143)](_0x334fce),_0x149e74=_0x466b42['selectFiles'](/.js.map$/,process['cwd']()),_0x477198=_0x466b42[_0x34236d(0x138)]();return{'mapFiles':_0x149e74,'errors':_0x477198,'jsFileIndex':_0x65ddd7,'hash':_0x466b42[_0x34236d(0x18b)]};}async[a17_0x938d0(0x1ae)](){const _0x4517d9=a17_0x938d0,_0xb66800=this,_0x2294ea=_0xb66800[_0x4517d9(0x15a)][_0x4517d9(0x12a)];if(!_0xb66800[_0x4517d9(0x15a)][_0x4517d9(0x21e)]&&path['join'](_0x2294ea,'..')===_0x2294ea){const _0x22a2dd=_0x4517d9(0x16c)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x4517d9(0x1f4)+_0x4517d9(0x20e);_0xb66800['logger']['error'](_0x22a2dd),_0xb66800[_0x4517d9(0x213)](_0x4517d9(0x1af),new Error(_0x22a2dd));return;}let _0x1b790a;process[_0x4517d9(0x1ad)]['GAE_MINOR_VERSION']&&(_0x1b790a='GAE-'+process[_0x4517d9(0x1ad)][_0x4517d9(0x194)]);let _0x47202b,_0x3dfb2c=_0x1b790a||'';try{_0x47202b=await this[_0x4517d9(0x1a8)](_0xb66800['config'],_0x1b790a),_0x47202b['errors'][_0x4517d9(0x147)](_0xb66800[_0x4517d9(0x16e)]['warn']);}catch(_0x2d888c){_0xb66800[_0x4517d9(0x16e)][_0x4517d9(0x145)](_0x4517d9(0x1c6),_0x2d888c),_0xb66800[_0x4517d9(0x213)](_0x4517d9(0x1af),_0x2d888c);return;}try{const _0x5a4e14=await SourceMapper[_0x4517d9(0x176)](_0x47202b['mapFiles']);__classPrivateFieldSet(_0xb66800,_Debuglet_v8debug,debugapi[_0x4517d9(0x176)](_0xb66800['logger'],_0xb66800[_0x4517d9(0x15a)],_0x47202b[_0x4517d9(0x1cf)],_0x5a4e14,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3dfb2c=_0x1b790a||_0x47202b['hash'];}catch(_0x4c1564){_0xb66800[_0x4517d9(0x16e)][_0x4517d9(0x145)](_0x4517d9(0x215),_0x4c1564),_0xb66800[_0x4517d9(0x213)](_0x4517d9(0x1af),_0x4c1564);}_0xb66800[_0x4517d9(0x16e)]['info'](_0x4517d9(0x1d6)+_0x3dfb2c);const _0x4d9f3e=(0x0,utils_1[_0x4517d9(0x168)])(_0xb66800[_0x4517d9(0x16e)])['replace']('\x0a','');_0xb66800[_0x4517d9(0x16e)]['info'](_0x4517d9(0x123)+_0x4d9f3e);let _0x32d0bb;try{_0x32d0bb=_0xb66800['config']['sourceContext']||await _a['getSourceContextFromFile']();}catch(_0x488578){}this[_0x4517d9(0x15a)][_0x4517d9(0x1ab)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x4517d9(0x157)]()===0x0&&(0x0,utils_1[_0x4517d9(0x179)])(process['version'],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0xb66800[_0x4517d9(0x16e)][_0x4517d9(0x1e4)](utils_1[_0x4517d9(0x138)][_0x4517d9(0x135)]),_0xb66800[_0x4517d9(0x16e)][_0x4517d9(0x1a1)](_0x4517d9(0x1df)+process[_0x4517d9(0x1a6)]?.[_0x4517d9(0x216)]),_0xb66800['logger']['debug']('Working\x20directory:\x20'+_0x2294ea),_0xb66800[_0x4517d9(0x16e)][_0x4517d9(0x131)](_0x4517d9(0x160)),__classPrivateFieldSet(_0xb66800,_Debuglet_running,!![],'f'),_0xb66800['debuggee']=(0x0,createDebuggee_1[_0x4517d9(0x222)])(_0x3dfb2c,_0xb66800[_0x4517d9(0x15a)],_0x32d0bb,__classPrivateFieldGet(_0xb66800,_Debuglet_debug,'f')[_0x4517d9(0x175)],_0x4d9f3e,_0xb66800[_0x4517d9(0x16e)],__classPrivateFieldGet(_0xb66800,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0xb66800,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x4517d9(0x187)](_0xb66800),__classPrivateFieldGet(_0xb66800,_Debuglet_instances,'m',_Debuglet_register_)[_0x4517d9(0x187)](_0xb66800),_0xb66800[_0x4517d9(0x213)]('started');}[a17_0x938d0(0x136)](){const _0x31648e=a17_0x938d0;if(Date[_0x31648e(0x13e)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x31648e(0x1ee)]();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')[_0x31648e(0x219)]()[_0x31648e(0x1fc)](()=>{const _0x3d2d82=_0x31648e;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3d2d82(0x187)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x31648e(0x219)]();}}static async[a17_0x938d0(0x207)](){const _0x2108a4=a17_0x938d0,_0xf7ee74=await readFilep('source-context.json',_0x2108a4(0x13b));try{return JSON[_0x2108a4(0x1f2)](_0xf7ee74);}catch(_0x65b93a){throw new Error(_0x2108a4(0x217)+_0x65b93a);}}[a17_0x938d0(0x1d4)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x938d0(0x1ff)](){const _0x26e1e9=a17_0x938d0;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x26e1e9(0x16e)][_0x26e1e9(0x131)](_0x26e1e9(0x173));return;}this[_0x26e1e9(0x16e)][_0x26e1e9(0x131)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x26e1e9(0x213)]('stopped');}}exports[a17_0x938d0(0x208)]=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_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x1c0ece){const _0x5a64b8=a17_0x938d0;return new RegExp(_0x1c0ece[_0x5a64b8(0x20c)](_0x2e4680=>_0x2e4680+'$')[_0x5a64b8(0x16f)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x49cd1c=a17_0x938d0,_0x432ab2=[_0x49cd1c(0x16a),'SIGINT','SIGQUIT'];_0x432ab2[_0x49cd1c(0x147)](_0x18c033=>{const _0x39a0e9=_0x49cd1c;process[_0x39a0e9(0x1ce)](_0x18c033,()=>{const _0xb0b731=_0x39a0e9;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xb0b731(0x1a9)](this[_0xb0b731(0x19e)],()=>{const _0x29754b=_0xb0b731;process[_0x29754b(0x1bf)](process['pid'],_0x18c033);});});}),process[_0x49cd1c(0x1ce)](_0x49cd1c(0x154),()=>{const _0x353e8d=_0x49cd1c;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x353e8d(0x1a9)](this[_0x353e8d(0x19e)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x35968b=a17_0x938d0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x35968b(0x187)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x3d0d3d){const _0x732f1f=a17_0x938d0,_0x44777a=this;_0x44777a[_0x732f1f(0x16e)][_0x732f1f(0x131)](_0x3d0d3d?_0x732f1f(0x1a4)+_0x3d0d3d+'s':_0x732f1f(0x177));function _0x54dc7e(_0x35d160,_0x208707,_0x2d160a=![]){const _0x5cc749=_0x732f1f,_0x11c120=_0x44777a[_0x5cc749(0x19e)]?.['id']?_0x5cc749(0x167)+_0x44777a['debuggee']?.['id']+':\x20'+(0x0,utils_1[_0x5cc749(0x174)])(_0x35d160):_0x5cc749(0x133)+(0x0,utils_1[_0x5cc749(0x174)])(_0x35d160);_0x44777a['logger'][_0x5cc749(0x145)](_0x11c120),_0x208707&&!_0x2d160a&&_0x44777a[_0x5cc749(0x16e)]['error']('Result:\x20\x0a',_0x208707),__classPrivateFieldGet(_0x44777a,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5cc749(0x187)](_0x44777a,(0x0,utils_1['backoff'])(_0x3d0d3d,_0x44777a[_0x5cc749(0x15a)]['internal'][_0x5cc749(0x182)]));}setTimeout(()=>{const _0x26cd2c=_0x732f1f;if(!__classPrivateFieldGet(_0x44777a,_Debuglet_running,'f')){_0x54dc7e(new Error(_0x26cd2c(0x17e)));return;}__classPrivateFieldGet(_0x44777a,_Debuglet_controller,'f')['register'](_0x44777a[_0x26cd2c(0x19e)],(_0x1d5857,_0x3512f8,_0x2bb6d5=![])=>{const _0x5a56cc=_0x26cd2c;if(_0x1d5857){_0x54dc7e(_0x1d5857,_0x3512f8,_0x2bb6d5);return;}if(_0x3512f8[_0x5a56cc(0x19e)]['isDisabled']){_0x54dc7e(new Error(_0x5a56cc(0x134))),_0x44777a[_0x5a56cc(0x213)](_0x5a56cc(0x14a));return;}const _0x5ac17a=_0x3512f8[_0x5a56cc(0x19e)]['id'];_0x44777a[_0x5a56cc(0x16e)][_0x5a56cc(0x1a1)](_0x5a56cc(0x20d)+_0x5ac17a),_0x44777a['debuggee']['id']=_0x5ac17a;const _0x3d1fbe=[__classPrivateFieldGet(_0x44777a,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x5a56cc(0x14b)](_0x44777a)(_0x44777a['debuggee']['id'])];_0x44777a[_0x5a56cc(0x15a)]['redactionEnabled']&&_0x3d1fbe['push'](__classPrivateFieldGet(_0x44777a,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x44777a)(_0x44777a[_0x5a56cc(0x19e)]['id'])),Promise['all'](_0x3d1fbe)[_0x5a56cc(0x1fc)](()=>{const _0x1b52e3=_0x5a56cc;_0x44777a[_0x1b52e3(0x213)]('registered',_0x5ac17a),__classPrivateFieldGet(_0x44777a,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x44777a,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(_0x44777a,_Debuglet_blocklistManager,'f')),!_0x44777a[_0x1b52e3(0x19f)]&&__classPrivateFieldGet(_0x44777a,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1b52e3(0x187)](_0x44777a,0x0,this[_0x1b52e3(0x15a)]['fetchBreakpointsOnce'],_0x3512f8?.[_0x1b52e3(0x129)]);},_0x47e8b8=>{_0x54dc7e(_0x47e8b8);});});},_0x3d0d3d*0x3e8)[_0x732f1f(0x221)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x5e08bf,_0x4d409b,_0x104321){const _0x4afd4d=a17_0x938d0,_0x570ef8=this;!_0x4d409b&&(_0x570ef8[_0x4afd4d(0x19f)]=!![]),setTimeout(()=>{const _0x17bacd=_0x4afd4d;if(!__classPrivateFieldGet(_0x570ef8,_Debuglet_running,'f'))return;!_0x4d409b&&assert(_0x570ef8[_0x17bacd(0x19f)]),_0x570ef8[_0x17bacd(0x16e)][_0x17bacd(0x131)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x570ef8,_Debuglet_controller,'f')[_0x17bacd(0x1f6)](_0x570ef8[_0x17bacd(0x19e)],(_0x48bfed,_0x99bc0d,_0x86d084)=>{const _0x4813fb=_0x17bacd;if(_0x99bc0d?.[_0x4813fb(0x191)]===0x194){_0x570ef8['logger'][_0x4813fb(0x1a1)](_0x4813fb(0x186)),_0x570ef8[_0x4813fb(0x19f)]=![],__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x4813fb(0x187)](_0x570ef8),__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_register_)[_0x4813fb(0x187)](_0x570ef8);return;}if(_0x48bfed){const _0x2d805d=(0x0,utils_1[_0x4813fb(0x1e9)])(_0x5e08bf,_0x570ef8[_0x4813fb(0x15a)][_0x4813fb(0x1cb)][_0x4813fb(0x182)]);_0x570ef8[_0x4813fb(0x16e)]['error'](_0x4813fb(0x158)+_0x99bc0d?.[_0x4813fb(0x191)]+_0x4813fb(0x214)+_0x48bfed[_0x4813fb(0x1a2)]+_0x4813fb(0x204)+_0x2d805d+'s'),__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4813fb(0x187)](_0x570ef8,_0x2d805d,_0x4d409b,_0x104321);return;}_0x570ef8[_0x4813fb(0x16e)][_0x4813fb(0x131)]('\x09'+_0x99bc0d['status']+_0x4813fb(0x1f0));if(!_0x86d084){const _0x133fca=_0x570ef8[_0x4813fb(0x15a)][_0x4813fb(0x210)];_0x570ef8[_0x4813fb(0x16e)][_0x4813fb(0x145)](_0x4813fb(0x170)+_0x133fca+'s'),__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4813fb(0x187)](_0x570ef8,_0x133fca,_0x4d409b,_0x104321);return;}if(_0x86d084[_0x4813fb(0x21a)]){_0x570ef8[_0x4813fb(0x16e)]['info'](_0x4813fb(0x1b2)),__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4813fb(0x187)](_0x570ef8,0x0,_0x4d409b,_0x104321);return;}if(_0x86d084[_0x4813fb(0x15d)]&&_0x86d084[_0x4813fb(0x15d)]!==_0x4813fb(0x169)){const _0x4b9f1c=this[_0x4813fb(0x1cd)][_0x4813fb(0x1e3)];_0x4b9f1c!==_0x86d084[_0x4813fb(0x15d)]&&(this[_0x4813fb(0x16e)][_0x4813fb(0x131)](_0x4813fb(0x1a0)+_0x4b9f1c+_0x4813fb(0x142)+_0x86d084[_0x4813fb(0x15d)]),this[_0x4813fb(0x1cd)][_0x4813fb(0x1e3)]=_0x86d084[_0x4813fb(0x15d)]);}if(_0x86d084['collectAndSendLog']&&_0x86d084[_0x4813fb(0x1d2)]!==_0x570ef8[_0x4813fb(0x1d2)]){_0x570ef8[_0x4813fb(0x1d2)]=_0x86d084[_0x4813fb(0x1d2)];const _0x164e8a=_0x570ef8['config'][_0x4813fb(0x165)][_0x4813fb(0x1a5)]&&path[_0x4813fb(0x16f)](_0x570ef8[_0x4813fb(0x15a)]['agentLog'][_0x4813fb(0x1a5)],agent_logger_1['default']['AGENT_LOG_FILE']);_0x164e8a&&fs[_0x4813fb(0x1ec)](_0x164e8a)?setTimeout(()=>__classPrivateFieldGet(_0x570ef8,_Debuglet_controller,'f')[_0x4813fb(0x153)](_0x570ef8['debuggee'],_0x86d084[_0x4813fb(0x1d2)],_0x164e8a)):_0x570ef8[_0x4813fb(0x16e)]['info'](_0x4813fb(0x15b)+_0x86d084['collectLogRequestId']+_0x4813fb(0x185)+_0x4813fb(0x18d));}const _0x5d8123=(_0x86d084[_0x4813fb(0x1d7)]||[])[_0x4813fb(0x20c)](_0x4b0db9=>new stackdriver_1['Breakpoint'](_0x4b0db9))['filter'](_0x361d79=>{const _0x57804f=_0x4813fb,_0x23e240=_0x361d79[_0x57804f(0x1b9)]||'CAPTURE';if(__classPrivateFieldGet(_0x570ef8,_Debuglet_completedBreakpointMap,'f')[_0x361d79['id']])return![];if(_0x23e240!==_0x57804f(0x180)&&_0x23e240!=='LOG')return _0x570ef8[_0x57804f(0x16e)][_0x57804f(0x1e4)](_0x57804f(0x16b),_0x23e240),_0x361d79[_0x57804f(0x191)]=new status_message_1[(_0x57804f(0x1e6))](status_message_1['StatusMessage'][_0x57804f(0x152)],utils_1['errors'][_0x57804f(0x17d)],!![]),__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x570ef8,_0x361d79),![];return!![];}),_0xd03be2=__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x4813fb(0x187)](_0x570ef8);let _0x24b87f=_0xd03be2[_0x4813fb(0x1d8)]>0x0;__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x4813fb(0x187)](_0x570ef8,_0xd03be2),_0x24b87f=_0x24b87f||__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x4813fb(0x187)](_0x570ef8,_0x5d8123),_0x570ef8['emit']('breakpoints_fetched',_0x5d8123[_0x4813fb(0x1d8)]);_0x24b87f&&_0x570ef8[_0x4813fb(0x16e)][_0x4813fb(0x131)](formatBreakpoints(_0x4813fb(0x18a),_0x570ef8[_0x4813fb(0x192)]));__classPrivateFieldSet(_0x570ef8,_Debuglet_breakpointFetchedTimestamp,Date[_0x4813fb(0x13e)](),'f');_0x4d409b?__classPrivateFieldGet(_0x570ef8,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x570ef8,_Debuglet_breakpointFetched,'f')[_0x4813fb(0x1ee)](),__classPrivateFieldSet(_0x570ef8,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x570ef8,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4813fb(0x187)](_0x570ef8,0x0,_0x4d409b,_0x104321);return;},_0x104321);},_0x5e08bf*0x3e8)[_0x4afd4d(0x221)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x3608ed=a17_0x938d0;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3608ed(0x1ee)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3583b1){const _0x622c55=a17_0x938d0,_0x2871da=this,_0x5d4626=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x622c55(0x187)](this,_0x3583b1);let _0x5edc8e=![];return _0x3583b1[_0x622c55(0x147)](_0x3ce667=>{const _0x1be278=_0x622c55;!__classPrivateFieldGet(_0x2871da,_Debuglet_completedBreakpointMap,'f')[_0x3ce667['id']]&&!_0x2871da[_0x1be278(0x192)][_0x3ce667['id']]&&(__classPrivateFieldGet(_0x2871da,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x1be278(0x187)](_0x2871da,_0x3ce667,_0x2355a7=>{_0x2355a7&&__classPrivateFieldGet(_0x2871da,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x2871da,_0x3ce667,!![],![]);}),_0x5edc8e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1be278(0x19a)](_0x3ce667['id'])),__classPrivateFieldGet(_0x2871da,_Debuglet_quotaManager,'f')[_0x1be278(0x1fe)](_0x3ce667['id'],_0x3ce667[_0x1be278(0x125)]),_0x2871da[_0x1be278(0x1cd)]['setPipingStatus'](_0x3ce667['id'],_0x3ce667[_0x1be278(0x164)]);}),(0x0,mapSubtract_1[_0x622c55(0x13f)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5d4626)['forEach'](_0x3b7483=>{delete __classPrivateFieldGet(_0x2871da,_Debuglet_completedBreakpointMap,'f')[_0x3b7483['id']],_0x5edc8e=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x622c55(0x192)],_0x5d4626)[_0x622c55(0x147)](_0x35a1d4=>{const _0xbd601e=_0x622c55;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0xbd601e(0x187)](this,_0x35a1d4,!![]),_0x5edc8e=!![];}),_0x5edc8e&&_0x2871da[_0x622c55(0x16e)][_0x622c55(0x131)](formatBreakpoints(_0x622c55(0x140),_0x5d4626)),_0x5edc8e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x47b182){const _0x58253a=a17_0x938d0,_0x3907d3={};return _0x47b182[_0x58253a(0x147)](_0x47031f=>{_0x3907d3[_0x47031f['id']]=_0x47031f;}),_0x3907d3;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x18598c,_0x3bfd3a){const _0xf6c0cd=a17_0x938d0;this['logger'][_0xf6c0cd(0x1a1)](_0xf6c0cd(0x1c9),_0x18598c),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xf6c0cd(0x12e)](_0x18598c['id']),this['pipingManager'][_0xf6c0cd(0x181)](_0x18598c['id']),delete this[_0xf6c0cd(0x192)][_0x18598c['id']],_0x3bfd3a&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xf6c0cd(0x20a)](_0x18598c,_0x5b0f8b=>{const _0x3920f5=_0xf6c0cd;if(_0x5b0f8b)this[_0x3920f5(0x16e)]['error'](_0x5b0f8b);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x2cb657,_0xa24d9d){const _0x15d52b=a17_0x938d0,_0x307595=this;_0x307595[_0x15d52b(0x16e)][_0x15d52b(0x1a1)](_0x15d52b(0x19b),_0x2cb657);if(!_0x307595[_0x15d52b(0x15a)]['allowExpressions']&&(_0x2cb657['condition']||_0x2cb657[_0x15d52b(0x159)])){_0x307595[_0x15d52b(0x16e)][_0x15d52b(0x145)](utils_1[_0x15d52b(0x138)][_0x15d52b(0x132)][_0x15d52b(0x20f)]||''),_0x2cb657[_0x15d52b(0x191)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x15d52b(0x152)],utils_1[_0x15d52b(0x138)][_0x15d52b(0x132)],!![]),setImmediate(()=>{const _0x1e6f77=_0x15d52b;_0xa24d9d(utils_1[_0x1e6f77(0x138)][_0x1e6f77(0x132)]);});return;}if((0x0,utils_1[_0x15d52b(0x179)])(process[_0x15d52b(0x14e)],_0x15d52b(0x1b6))){const _0x2af36c=utils_1['errors']['NODE_VERSION_MESSAGE'];_0x307595[_0x15d52b(0x16e)][_0x15d52b(0x145)](_0x2af36c),_0x2cb657[_0x15d52b(0x191)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x15d52b(0x152)],_0x2af36c,!![]),setImmediate(()=>{_0xa24d9d(_0x2af36c);});return;}const _0x29a28f=_0x2cb657[_0x15d52b(0x12b)]?Number(_0x2cb657[_0x15d52b(0x12b)][_0x15d52b(0x196)]):Date['now']()/0x3e8,_0x30a98f=_0x2cb657['expirationSeconds']||_0x307595[_0x15d52b(0x15a)][_0x15d52b(0x1c7)];_0x2cb657[_0x15d52b(0x21d)]=_0x29a28f+_0x30a98f,_0x2cb657[_0x15d52b(0x16d)]?.['path']&&(_0x2cb657[_0x15d52b(0x16d)][_0x15d52b(0x1f1)]=path['normalize'](_0x2cb657[_0x15d52b(0x16d)]['path']),path[_0x15d52b(0x19d)]===path[_0x15d52b(0x1b3)][_0x15d52b(0x19d)]&&(_0x2cb657['location'][_0x15d52b(0x1f1)]=_0x2cb657[_0x15d52b(0x16d)][_0x15d52b(0x1f1)]['split']('\x5c')[_0x15d52b(0x16f)](path['sep']))),__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')['set'](_0x2cb657,_0x3d4621=>{const _0x462c41=_0x15d52b;if(_0x3d4621){_0xa24d9d(_0x3d4621);return;}_0x307595[_0x462c41(0x16e)][_0x462c41(0x1a1)]('\x09successfully\x20added\x20breakpoint',_0x2cb657),_0x307595[_0x462c41(0x192)][_0x2cb657['id']]=_0x2cb657,_0x2cb657['action']===_0x462c41(0x13a)?__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')[_0x462c41(0x1fd)](_0x2cb657,(_0x68d360,_0x199417)=>{const _0x2942f9=_0x462c41,_0x580468=_0x199417[_0x2942f9(0x20c)](_0x43e49c=>__classPrivateFieldGet(_0x307595,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2942f9(0x187)](_0x307595,_0x43e49c)),_0x13877e=(0x0,format_1['format'])(_0x68d360,_0x580468),_0x17f2e3=_0x2942f9(0x1c8)+(__classPrivateFieldGet(_0x307595,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x13877e)||_0x13877e),_0x55103a=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x17f2e3,_0x2cb657['id']);if(_0x55103a){const _0xedf924=_0x55103a['message'],_0x261b13=_0x55103a['isOutOfQuota'];let _0xf47e80,_0x145741;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x261b13&&(_0xf47e80=_0x2942f9(0x1c8)+_0x68d360,_0x145741=_0x580468);_0x307595[_0x2942f9(0x1cd)]['addAndPipeLog'](_0x307595[_0x2942f9(0x19e)],_0x2cb657['id'],_0xedf924,_0x2cb657[_0x2942f9(0x1db)],_0xf47e80,_0x145741);if(_0x261b13)__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')?.[_0x2942f9(0x189)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x31e491=_0x2942f9;__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')?.[_0x31e491(0x188)](),__classPrivateFieldSet(_0x307595,_Debuglet_nextEnableTimeout,null,'f');},_0x307595[_0x2942f9(0x15a)][_0x2942f9(0x199)][_0x2942f9(0x18e)]*0x3e8),'f');else _0xedf924?.[_0x2942f9(0x1d8)]===0x0&&__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')?.[_0x2942f9(0x189)]();}},()=>{return __classPrivateFieldGet(_0x307595,_Debuglet_completedBreakpointMap,'f')[_0x2cb657['id']];},_0x581a60=>{const _0x4a4122=_0x462c41;if(_0x581a60){_0x307595[_0x4a4122(0x16e)]['error'](_0x581a60),_0xa24d9d(_0x581a60);return;}}):__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')[_0x462c41(0x1fa)](_0x2cb657,_0xba9807=>{const _0x155d1d=_0x462c41;if(_0xba9807){setImmediate(()=>{const _0x4e42c4=a17_0x2d9a;_0x307595[_0x4e42c4(0x16e)][_0x4e42c4(0x145)](_0xba9807),_0xa24d9d(_0xba9807);});return;}_0x307595[_0x155d1d(0x16e)][_0x155d1d(0x1a1)](_0x155d1d(0x205),_0x2cb657),__classPrivateFieldGet(_0x307595,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x155d1d(0x187)](_0x307595,_0x2cb657,__classPrivateFieldGet(_0x307595,_Debuglet_v8debug,'f')[_0x155d1d(0x18c)](_0x2cb657['id'])<=0x0);}),__classPrivateFieldGet(_0x307595,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x462c41(0x187)](_0x307595,_0x2cb657);}),this[_0x15d52b(0x213)](_0x15d52b(0x21f));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x3f06bc,_0x55d722,_0x2635c8=!![]){const _0xe45ee1=a17_0x938d0,_0x46f64e=this;if(_0x3f06bc[_0xe45ee1(0x191)]&&_0x3f06bc[_0xe45ee1(0x191)][_0xe45ee1(0x1b1)]){let _0x5ea1c2=_0x3f06bc[_0xe45ee1(0x191)]?.[_0xe45ee1(0x20f)]?.['format']||'';_0x3f06bc[_0xe45ee1(0x191)]?.[_0xe45ee1(0x20f)]?.['parameters']&&(_0x5ea1c2+=':\x20'+_0x3f06bc[_0xe45ee1(0x191)]?.[_0xe45ee1(0x20f)]?.[_0xe45ee1(0x146)]['toString']()),_0x46f64e['logger'][_0xe45ee1(0x1e4)](_0xe45ee1(0x1bd)+_0x3f06bc+'.\x20Error:\x20'+_0x5ea1c2);}else _0x46f64e[_0xe45ee1(0x16e)][_0xe45ee1(0x1a1)](_0xe45ee1(0x190),_0x3f06bc);_0x55d722&&(__classPrivateFieldGet(_0x46f64e,_Debuglet_completedBreakpointMap,'f')[_0x3f06bc['id']]=!![],__classPrivateFieldGet(_0x46f64e,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0xe45ee1(0x187)](_0x46f64e,_0x3f06bc,_0x2635c8)),__classPrivateFieldGet(_0x46f64e,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x46f64e[_0xe45ee1(0x19e)],extend(!![],{},_0x3f06bc));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x852597){const _0x29b789=a17_0x938d0,_0x4b7479=this;_0x4b7479[_0x29b789(0x16e)][_0x29b789(0x131)](_0x29b789(0x1e5)+_0x852597+_0x29b789(0x1f8));const _0x498ea8=extend(!![],{},_0x852597);_0x498ea8['isFinalState']=![],_0x498ea8[_0x29b789(0x191)]=new status_message_1[(_0x29b789(0x1e6))](status_message_1[_0x29b789(0x1e6)][_0x29b789(0x152)],undefined,![],!![]),__classPrivateFieldGet(_0x4b7479,_Debuglet_controller,'f')[_0x29b789(0x183)](_0x4b7479['debuggee'],_0x498ea8);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x35654d){const _0x3ea708=a17_0x938d0,_0x6e0cdc=this;this['logger']['info'](_0x3ea708(0x1ac),_0x35654d),__classPrivateFieldGet(_0x6e0cdc,_Debuglet_completedBreakpointMap,'f')[_0x35654d['id']]=!![],__classPrivateFieldGet(_0x6e0cdc,_Debuglet_controller,'f')[_0x3ea708(0x183)](_0x6e0cdc['debuggee'],_0x35654d);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5de9fb){const _0x29182d=a17_0x938d0,_0x1a26d5=this;_0x5de9fb[_0x29182d(0x147)](_0x3d18e7=>{const _0x327397=_0x29182d;_0x1a26d5[_0x327397(0x16e)][_0x327397(0x1a1)](_0x327397(0x1c1),_0x3d18e7),__classPrivateFieldGet(_0x1a26d5,_Debuglet_completedBreakpointMap,'f')[_0x3d18e7['id']]=!![],__classPrivateFieldGet(_0x1a26d5,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x327397(0x187)](_0x1a26d5,_0x3d18e7,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x1fc4d2=a17_0x938d0,_0x2c1c4b=Date[_0x1fc4d2(0x13e)]()/0x3e8;return Object[_0x1fc4d2(0x166)](this[_0x1fc4d2(0x192)])[_0x1fc4d2(0x1c4)](_0x397d3d=>_0x397d3d[_0x1fc4d2(0x21d)]?_0x397d3d[_0x1fc4d2(0x21d)]<_0x2c1c4b:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x1508bf){const _0x59e24d=a17_0x938d0,_0x3c7af8=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x59e24d(0x1d5)](_0x1508bf),_0x2bb880=_0x3c7af8['blacklist'],_0x5a7b4e=_0x3c7af8['blacklist_exception'];_0x2bb880&&_0x2bb880[_0x59e24d(0x1d8)]&&this[_0x59e24d(0x16e)][_0x59e24d(0x131)](_0x59e24d(0x161),_0x2bb880['join']('\x0a\x09')),_0x5a7b4e&&_0x5a7b4e[_0x59e24d(0x1d8)]&&this[_0x59e24d(0x16e)][_0x59e24d(0x131)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x5a7b4e[_0x59e24d(0x16f)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x2bb880,_0x5a7b4e,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x35f040){const _0x1384f7=a17_0x938d0,_0x50a06d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1384f7(0x1a7)](_0x35f040);_0x50a06d?.[_0x1384f7(0x1d8)]&&this['logger']['debug'](_0x1384f7(0x15f),_0x50a06d[_0x1384f7(0x20c)](_0x4adf50=>_0x1384f7(0x1b5)+_0x4adf50[_0x1384f7(0x1aa)]+'\x20(type:\x20'+_0x4adf50[_0x1384f7(0x12f)]+_0x1384f7(0x17f)+_0x4adf50[_0x1384f7(0x139)]+'\x20caseInsensitive:\x20'+_0x4adf50[_0x1384f7(0x15e)])[_0x1384f7(0x16f)]('\x0a\x09'));if((0x0,utils_1['satisfies'])(process[_0x1384f7(0x14e)],_0x1384f7(0x155))){const {RedactionManagerRE2JS:_0x3e5e11}=await Promise[_0x1384f7(0x1ee)]()[_0x1384f7(0x1fc)](()=>require(_0x1384f7(0x1b8)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x3e5e11(this[_0x1384f7(0x16e)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1384f7(0x178)](_0x50a06d);}},_Debuglet_stringify=function _Debuglet_stringify(_0x4febd9){const _0x3b40b6=a17_0x938d0;if(!_0x4febd9)return JSON[_0x3b40b6(0x1ea)](_0x4febd9,(_0x15e734,_0x4b9c11)=>_0x4b9c11===undefined?_0x3b40b6(0x1b7):_0x4b9c11);if(Array[_0x3b40b6(0x12c)](_0x4febd9)){const _0x51b840=[];for(const _0x3de9a5 of _0x4febd9){_0x51b840[_0x3b40b6(0x14f)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3de9a5));}return'['+_0x51b840[_0x3b40b6(0x16f)](',\x20')+']';}if(typeof _0x4febd9===_0x3b40b6(0x148)){const _0x478d52=Object['entries'](_0x4febd9)['map'](([_0x353f50,_0x43b0bc])=>{const _0x633c0e=_0x3b40b6,_0xf25346=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x633c0e(0x200)](_0x353f50)?redaction_manager_1[_0x633c0e(0x20b)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x633c0e(0x187)](this,_0x43b0bc);return JSON[_0x633c0e(0x1ea)](_0x353f50)+':\x20'+_0xf25346;})[_0x3b40b6(0x16f)](',\x20');return'{'+_0x478d52+'}';}return JSON[_0x3b40b6(0x1ea)](_0x4febd9);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a18_0x210d(_0x59b1ba,_0x159711){const _0xa7fb97=a18_0x300d();return a18_0x210d=function(_0x25bdba,_0x24b872){_0x25bdba=_0x25bdba-0x1c3;let _0x300da2=_0xa7fb97[_0x25bdba];return _0x300da2;},a18_0x210d(_0x59b1ba,_0x159711);}const a18_0x4219cb=a18_0x210d;(function(_0x2c48d7,_0xd6fec8){const _0xab795=a18_0x210d,_0xc245e1=_0x2c48d7();while(!![]){try{const _0x14c4ca=-parseInt(_0xab795(0x1db))/0x1*(-parseInt(_0xab795(0x1d7))/0x2)+parseInt(_0xab795(0x1e6))/0x3*(-parseInt(_0xab795(0x1d9))/0x4)+parseInt(_0xab795(0x1f4))/0x5*(parseInt(_0xab795(0x1fc))/0x6)+parseInt(_0xab795(0x1dd))/0x7*(parseInt(_0xab795(0x1e0))/0x8)+parseInt(_0xab795(0x1f5))/0x9+-parseInt(_0xab795(0x1e4))/0xa*(parseInt(_0xab795(0x1de))/0xb)+parseInt(_0xab795(0x1d8))/0xc*(parseInt(_0xab795(0x1ed))/0xd);if(_0x14c4ca===_0xd6fec8)break;else _0xc245e1['push'](_0xc245e1['shift']());}catch(_0x13a64b){_0xc245e1['push'](_0xc245e1['shift']());}}}(a18_0x300d,0xae61e));Object[a18_0x4219cb(0x1e3)](exports,a18_0x4219cb(0x1c8),{'value':!![]}),exports[a18_0x4219cb(0x201)]=void 0x0;function a18_0x300d(){const _0x206ba4=['Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','constructor','(((.+)+)+)+$','arm64','isInDocker','search','42muikNy','toString','node','split','_cachedOsRelease','EnvironmentMetadata','/.dockerenv','length','osVersion','host','release','__esModule','x64','linuxDistroName','versions','arm','runtimeEnvironmentInfo','Linux','platform','existsSync','agentOS','x32','replace','cpuCoreCount','readFileSync','_logger','67502tJvLrd','4326648JpFxfR','72KRnRvf','procArch','14JnRjpd','windows','1758337BvXvkr','319NYCBUL','error','16dKOsym','Windows','KUBERNETES_SERVICE_HOST','defineProperty','390790jjXRHu','systemTotalMemoryBytes','123363OtOaOZ','/etc/os-release','_osRelease','get','pid','Node.js\x20','isInK8s','39axaMpl','runtimeEnvironmentVersion','apply','arch','linux','env','totalmem','333795kaiLLL','574812ATKwiq'];a18_0x300d=function(){return _0x206ba4;};return a18_0x300d();}const os_1=require('os'),fs_1=require('fs'),assert=require('assert');var OS;(function(_0x2c4366){const _0x4c2476=a18_0x4219cb,_0xa8cef2=(function(){let _0x1c0f75=!![];return function(_0x5f82c5,_0x1fbec7){const _0x5abf13=_0x1c0f75?function(){const _0x481f47=a18_0x210d;if(_0x1fbec7){const _0x21f71f=_0x1fbec7[_0x481f47(0x1ef)](_0x5f82c5,arguments);return _0x1fbec7=null,_0x21f71f;}}:function(){};return _0x1c0f75=![],_0x5abf13;};}()),_0x338cf4=_0xa8cef2(this,function(){const _0x5c5948=a18_0x210d;return _0x338cf4['toString']()[_0x5c5948(0x1fb)](_0x5c5948(0x1f8))['toString']()[_0x5c5948(0x1f7)](_0x338cf4)[_0x5c5948(0x1fb)](_0x5c5948(0x1f8));});_0x338cf4(),_0x2c4366[_0x4c2476(0x1ce)]=_0x4c2476(0x1f1),_0x2c4366[_0x4c2476(0x1e1)]=_0x4c2476(0x1dc),_0x2c4366['MacOS']='mac';}(OS||(OS={})));var ProcArch;(function(_0x2dcfa6){const _0x2a35bb=a18_0x4219cb;_0x2dcfa6[_0x2a35bb(0x1c9)]=_0x2a35bb(0x1c9),_0x2dcfa6['x32']=_0x2a35bb(0x1d2),_0x2dcfa6[_0x2a35bb(0x1cc)]=_0x2a35bb(0x1cc),_0x2dcfa6[_0x2a35bb(0x1f9)]=_0x2a35bb(0x1f9);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a18_0x4219cb(0x1ce)],'win32':OS['Windows'],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a18_0x4219cb(0x1d2)],'x64':ProcArch[a18_0x4219cb(0x1c9)],'arm':ProcArch[a18_0x4219cb(0x1cc)],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0x59becf){assert(_0x59becf!==null),this['_logger']=_0x59becf;}get[a18_0x4219cb(0x1ee)](){const _0x5d788c=a18_0x4219cb;try{const _0x1d59b3=process[_0x5d788c(0x1cb)][_0x5d788c(0x1fe)]['match'](/(\d+\.\d+)\..*/);if(_0x1d59b3)return _0x1d59b3[0x1];}catch(_0x4a221f){this['_logger'][_0x5d788c(0x1df)](_0x4a221f);}return;}get[a18_0x4219cb(0x1cd)](){const _0x2d7bda=a18_0x4219cb;return _0x2d7bda(0x1eb)+process['version']+'\x20on\x20'+(0x0,os_1[_0x2d7bda(0x1cf)])()+'\x20'+(0x0,os_1['release'])();}get['pid'](){const _0x91aa6a=a18_0x4219cb;return process['pid'][_0x91aa6a(0x1fd)]();}get['procArch'](){const _0x28741e=a18_0x4219cb;return ArchToProcArchMap[process[_0x28741e(0x1f0)]]||process['arch'];}get[a18_0x4219cb(0x1d4)](){const _0xa18e8c=a18_0x4219cb;return(0x0,os_1['cpus'])()[_0xa18e8c(0x1c4)];}get[a18_0x4219cb(0x1e5)](){const _0x5b3de9=a18_0x4219cb;return(0x0,os_1[_0x5b3de9(0x1f3)])();}get[a18_0x4219cb(0x1c6)](){return(0x0,os_1['hostname'])();}get['agentOS'](){const _0x34a3e3=a18_0x4219cb;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x34a3e3(0x1cf)])();}get['osVersion'](){const _0x356d6c=a18_0x4219cb;try{if(this[_0x356d6c(0x1d1)]===OS[_0x356d6c(0x1ce)])return this[_0x356d6c(0x1e8)][_0x356d6c(0x1e9)]('VERSION_ID')||(0x0,os_1['release'])();return(0x0,os_1[_0x356d6c(0x1c7)])();}catch(_0x1c607f){this[_0x356d6c(0x1d6)][_0x356d6c(0x1df)](_0x1c607f);}return;}get[a18_0x4219cb(0x1ca)](){const _0x357f21=a18_0x4219cb;return this[_0x357f21(0x1d1)]===OS[_0x357f21(0x1ce)]&&this['_osRelease'][_0x357f21(0x1e9)]('ID')||'';}get[a18_0x4219cb(0x1fa)](){const _0x2e510a=a18_0x4219cb;return this['agentOS']===OS[_0x2e510a(0x1ce)]?(0x0,fs_1[_0x2e510a(0x1d0)])(_0x2e510a(0x1c3)):![];}get['isInK8s'](){const _0x4b8308=a18_0x4219cb;return!!process[_0x4b8308(0x1f2)][_0x4b8308(0x1e2)];}get['_osRelease'](){const _0x1fcb32=a18_0x4219cb;if(!this[_0x1fcb32(0x200)]){this[_0x1fcb32(0x200)]=new Map();try{if(this[_0x1fcb32(0x1d1)]===OS[_0x1fcb32(0x1ce)]){const _0x44a8e0=(0x0,fs_1[_0x1fcb32(0x1d5)])(_0x1fcb32(0x1e7),'utf-8');_0x44a8e0[_0x1fcb32(0x1ff)](/\r?\n/)['forEach'](_0x74403=>{const _0x3840f4=_0x1fcb32,[_0x4add3b,_0x6ccfb]=_0x74403['trim']()[_0x3840f4(0x1ff)]('=');this[_0x3840f4(0x200)]?.['set'](_0x4add3b,_0x6ccfb?.[_0x3840f4(0x1d3)](/^"|"$/g,'')||'');});}}catch(_0xc3ca48){this[_0x1fcb32(0x1d6)]['warn'](_0x1fcb32(0x1f6),_0xc3ca48);}}return this[_0x1fcb32(0x200)];}['getProps'](){const _0x40d56e=a18_0x4219cb;return{'runtimeEnvironmentVersion':this[_0x40d56e(0x1ee)],'runtimeEnvironmentInfo':this[_0x40d56e(0x1cd)],'pid':this[_0x40d56e(0x1ea)],'cpuCoreCount':this[_0x40d56e(0x1d4)],'systemTotalMemoryBytes':this[_0x40d56e(0x1e5)],'host':this[_0x40d56e(0x1c6)],'agentOS':this['agentOS'],'osVersion':this[_0x40d56e(0x1c5)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x40d56e(0x1fa)],'isInK8s':this[_0x40d56e(0x1ec)],'procArch':this[_0x40d56e(0x1da)]};}}exports[a18_0x4219cb(0x201)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a19_0x436801=a19_0x263c;(function(_0x20af97,_0xf5b083){const _0x2b6556=a19_0x263c,_0xca6471=_0x20af97();while(!![]){try{const _0x412a75=parseInt(_0x2b6556(0x8c))/0x1*(parseInt(_0x2b6556(0x84))/0x2)+parseInt(_0x2b6556(0x91))/0x3+-parseInt(_0x2b6556(0x83))/0x4*(-parseInt(_0x2b6556(0x88))/0x5)+parseInt(_0x2b6556(0x6e))/0x6+parseInt(_0x2b6556(0x71))/0x7*(parseInt(_0x2b6556(0x85))/0x8)+-parseInt(_0x2b6556(0x86))/0x9*(-parseInt(_0x2b6556(0x7e))/0xa)+-parseInt(_0x2b6556(0x72))/0xb;if(_0x412a75===_0xf5b083)break;else _0xca6471['push'](_0xca6471['shift']());}catch(_0x434604){_0xca6471['push'](_0xca6471['shift']());}}}(a19_0x4e2a,0x5b8ab));const a19_0x300d07=(function(){let _0xb5e410=!![];return function(_0x4afa38,_0xe487ac){const _0x473bbf=_0xb5e410?function(){const _0x4b0211=a19_0x263c;if(_0xe487ac){const _0x2085dc=_0xe487ac[_0x4b0211(0x78)](_0x4afa38,arguments);return _0xe487ac=null,_0x2085dc;}}:function(){};return _0xb5e410=![],_0x473bbf;};}()),a19_0x2404fc=a19_0x300d07(this,function(){const _0x2dcd63=a19_0x263c;return a19_0x2404fc[_0x2dcd63(0x92)]()[_0x2dcd63(0x89)](_0x2dcd63(0x87))[_0x2dcd63(0x92)]()[_0x2dcd63(0x6f)](a19_0x2404fc)[_0x2dcd63(0x89)](_0x2dcd63(0x87));});a19_0x2404fc();'use strict';function a19_0x263c(_0x28c7e0,_0x335e3a){const _0x53c91b=a19_0x4e2a();return a19_0x263c=function(_0x2404fc,_0x300d07){_0x2404fc=_0x2404fc-0x6e;let _0x4e2adb=_0x53c91b[_0x2404fc];return _0x4e2adb;},a19_0x263c(_0x28c7e0,_0x335e3a);}Object[a19_0x436801(0x73)](exports,a19_0x436801(0x75),{'value':!![]}),exports[a19_0x436801(0x77)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x15e5c8){const _0x432c55=a19_0x436801;this['_fileStats']=_0x15e5c8,this[_0x432c55(0x8a)]=new Map();}static['fromFileStats'](_0x587482){const _0x3c2e52=a19_0x436801,_0x2a7c29=new FileIndex(_0x587482);return _0x2a7c29[_0x3c2e52(0x70)](Object['keys'](_0x587482)||[]),_0x2a7c29;}static[a19_0x436801(0x8b)](_0x1c9265){const _0xc3c58d=a19_0x436801,_0x1fd222=new FileIndex(undefined);return _0x1fd222[_0xc3c58d(0x70)](_0x1c9265||[]),_0x1fd222;}get[a19_0x436801(0x82)](){const _0x14990e=a19_0x436801;return this[_0x14990e(0x79)]||{};}[a19_0x436801(0x7c)](_0x21441b){const _0x4788fa=a19_0x436801,_0x3c46d7=this[_0x4788fa(0x89)](_0x21441b);if(!_0x3c46d7||_0x3c46d7[_0x4788fa(0x7a)]===0x0)return[];const _0x500098=[..._0x3c46d7][_0x4788fa(0x8d)](_0x48829c=>_0x48829c[_0x4788fa(0x7d)]),_0x3be4f6=Math[_0x4788fa(0x8e)](..._0x500098),_0x527233=[..._0x3c46d7][_0x4788fa(0x76)](_0x335056=>_0x335056[_0x4788fa(0x7d)]===_0x3be4f6);return _0x527233;}[a19_0x436801(0x70)](_0x13101c){const _0x568a3a=a19_0x436801;for(const _0xb3aad0 of _0x13101c){for(const _0x5a6577 of this[_0x568a3a(0x80)](_0xb3aad0)){let _0x4803f6=this[_0x568a3a(0x8a)][_0x568a3a(0x81)](_0x5a6577);_0x4803f6===undefined&&(_0x4803f6=new Set(),this[_0x568a3a(0x8a)]['set'](_0x5a6577,_0x4803f6)),_0x4803f6['add'](_0xb3aad0);}}}[a19_0x436801(0x80)](_0x1aa685){const _0x1b5286=a19_0x436801;_0x1aa685=this[_0x1b5286(0x7f)](_0x1aa685);const _0x21a3cc=[_0x1aa685];while(_0x1aa685[_0x1b5286(0x7b)](path['sep'])>=0x0){_0x1aa685=_0x1aa685['substring'](_0x1aa685[_0x1b5286(0x7b)](path['sep'])+path['sep'][_0x1b5286(0x7d)],_0x1aa685[_0x1b5286(0x7d)]),_0x21a3cc[_0x1b5286(0x74)](_0x1aa685);}return _0x21a3cc;}[a19_0x436801(0x89)](_0x3e2ac6){const _0x53185c=a19_0x436801;if(!_0x3e2ac6)return undefined;_0x3e2ac6=this[_0x53185c(0x7f)](_0x3e2ac6);for(const _0x441c12 of this[_0x53185c(0x80)](_0x3e2ac6)){if(this['fileIndex'][_0x53185c(0x90)](_0x441c12))return this[_0x53185c(0x8a)][_0x53185c(0x81)](_0x441c12);}return undefined;}[a19_0x436801(0x7f)](_0x37759b){const _0x11ce62=a19_0x436801;if(_0x37759b&&(_0x37759b[0x0]==='/'||_0x37759b[0x0]==='\x5c'))return _0x37759b[_0x11ce62(0x8f)](0x1);return _0x37759b;}}exports[a19_0x436801(0x77)]=FileIndex;function a19_0x4e2a(){const _0x2ddf5b=['4463304dqZaKm','constructor','buildIndex','17661nCTzrs','18098553kbCVUR','defineProperty','push','__esModule','filter','FileIndex','apply','_fileStats','size','indexOf','findShortestFuzzyMatches','length','1050FoNrxJ','stripStartingSep','generateSubPaths','get','fileStats','104rtVASn','146814gMQRwZ','376tpMWJP','59607hnzZsn','(((.+)+)+)+$','24530AlophA','search','fileIndex','fromFileList','3butTPa','map','min','substr','has','343863sIrylQ','toString'];a19_0x4e2a=function(){return _0x2ddf5b;};return a19_0x4e2a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x40254f=a20_0x54ef;(function(_0x2cad9e,_0x43d7f3){const _0x15c100=a20_0x54ef,_0x43b983=_0x2cad9e();while(!![]){try{const _0xa2e7a8=-parseInt(_0x15c100(0x119))/0x1+-parseInt(_0x15c100(0x12d))/0x2+parseInt(_0x15c100(0x124))/0x3+parseInt(_0x15c100(0x11f))/0x4+-parseInt(_0x15c100(0x11a))/0x5+-parseInt(_0x15c100(0x129))/0x6*(-parseInt(_0x15c100(0x11b))/0x7)+parseInt(_0x15c100(0x112))/0x8*(parseInt(_0x15c100(0x113))/0x9);if(_0xa2e7a8===_0x43d7f3)break;else _0x43b983['push'](_0x43b983['shift']());}catch(_0x14bfed){_0x43b983['push'](_0x43b983['shift']());}}}(a20_0x2acf,0x8b775));function a20_0x54ef(_0x1fe13c,_0x488f17){const _0x289fbf=a20_0x2acf();return a20_0x54ef=function(_0x26741a,_0x3dec50){_0x26741a=_0x26741a-0x110;let _0x2acf28=_0x289fbf[_0x26741a];return _0x2acf28;},a20_0x54ef(_0x1fe13c,_0x488f17);}const a20_0x3dec50=(function(){let _0xc434b6=!![];return function(_0x8a9a78,_0x683441){const _0x526b45=_0xc434b6?function(){const _0x5692fb=a20_0x54ef;if(_0x683441){const _0x2c9c71=_0x683441[_0x5692fb(0x111)](_0x8a9a78,arguments);return _0x683441=null,_0x2c9c71;}}:function(){};return _0xc434b6=![],_0x526b45;};}()),a20_0x26741a=a20_0x3dec50(this,function(){const _0x125287=a20_0x54ef;return a20_0x26741a['toString']()[_0x125287(0x115)](_0x125287(0x114))[_0x125287(0x127)]()[_0x125287(0x110)](a20_0x26741a)[_0x125287(0x115)]('(((.+)+)+)+$');});a20_0x26741a();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a20_0x40254f(0x12b)]=void 0x0;function a20_0x2acf(){const _0x577312=['test','ScanResultsImpl','errorMap','905360xikjaH','constructor','apply','153944UWtpte','162bRIQIi','(((.+)+)+)+$','search','normalize','replace','errors','522491faNlRd','2341605UACKXg','7TLUGau','selectStats','forEach','selectFiles','675320UrCHfp','sep','all','path','filter','1537296bWSEOS','keys','stats','toString','hash','5922654fyxlHx'];a20_0x2acf=function(){return _0x577312;};return a20_0x2acf();}const path=require(a20_0x40254f(0x122));class ScanResultsImpl{constructor(_0x436c49,_0x5d5cfe,_0x3f467a){const _0x33db88=a20_0x40254f;this[_0x33db88(0x126)]=_0x436c49,this[_0x33db88(0x12c)]=_0x5d5cfe,this[_0x33db88(0x128)]=_0x3f467a;}[a20_0x40254f(0x118)](){const _0x273a8a=a20_0x40254f;return this[_0x273a8a(0x12c)];}[a20_0x40254f(0x121)](){const _0x28cfb8=a20_0x40254f;return this[_0x28cfb8(0x126)];}[a20_0x40254f(0x11c)](_0x1f6444){const _0x27b81a=a20_0x40254f,_0x2b7e72={};return Object[_0x27b81a(0x125)](this['stats'])[_0x27b81a(0x11d)](_0x56f688=>{const _0x3e07e6=_0x27b81a;_0x1f6444[_0x3e07e6(0x12a)](_0x56f688)&&(_0x2b7e72[_0x56f688]=this[_0x3e07e6(0x126)][_0x56f688]);}),_0x2b7e72;}[a20_0x40254f(0x11e)](_0x9a77c9,_0x71ce5e){const _0x4c76a4=a20_0x40254f;return _0x71ce5e=path[_0x4c76a4(0x116)](_0x71ce5e+path[_0x4c76a4(0x120)]),Object[_0x4c76a4(0x125)](this[_0x4c76a4(0x126)])[_0x4c76a4(0x123)](_0x2a42e1=>{const _0x435132=_0x4c76a4;return _0x2a42e1&&_0x9a77c9[_0x435132(0x12a)](_0x2a42e1);})['map'](_0x176177=>{const _0x1d0ff7=_0x4c76a4;return path['normalize'](_0x176177)[_0x1d0ff7(0x117)](_0x71ce5e,'');});}}exports[a20_0x40254f(0x12b)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x3c67e6=a21_0x3ef7;function a21_0x3ef7(_0x3f06da,_0x39c95a){const _0x4b0cf8=a21_0x246f();return a21_0x3ef7=function(_0x10c2c4,_0x317df2){_0x10c2c4=_0x10c2c4-0x1b9;let _0x246f3a=_0x4b0cf8[_0x10c2c4];return _0x246f3a;},a21_0x3ef7(_0x3f06da,_0x39c95a);}(function(_0x50b749,_0x206ec4){const _0x2ed7e0=a21_0x3ef7,_0x3d841d=_0x50b749();while(!![]){try{const _0x4111f0=parseInt(_0x2ed7e0(0x1e4))/0x1+-parseInt(_0x2ed7e0(0x1c9))/0x2+-parseInt(_0x2ed7e0(0x1c8))/0x3+-parseInt(_0x2ed7e0(0x1c2))/0x4+parseInt(_0x2ed7e0(0x1be))/0x5+-parseInt(_0x2ed7e0(0x1cc))/0x6*(-parseInt(_0x2ed7e0(0x1d5))/0x7)+parseInt(_0x2ed7e0(0x1bc))/0x8*(parseInt(_0x2ed7e0(0x1bb))/0x9);if(_0x4111f0===_0x206ec4)break;else _0x3d841d['push'](_0x3d841d['shift']());}catch(_0x36ca6b){_0x3d841d['push'](_0x3d841d['shift']());}}}(a21_0x246f,0x4f10c));const a21_0x317df2=(function(){let _0x17320a=!![];return function(_0x31b8d9,_0x50bb91){const _0x269503=_0x17320a?function(){const _0x59f425=a21_0x3ef7;if(_0x50bb91){const _0x28d5cc=_0x50bb91[_0x59f425(0x1c6)](_0x31b8d9,arguments);return _0x50bb91=null,_0x28d5cc;}}:function(){};return _0x17320a=![],_0x269503;};}()),a21_0x10c2c4=a21_0x317df2(this,function(){const _0x2c1045=a21_0x3ef7;return a21_0x10c2c4[_0x2c1045(0x1c7)]()[_0x2c1045(0x1ec)]('(((.+)+)+)+$')[_0x2c1045(0x1c7)]()[_0x2c1045(0x1d1)](a21_0x10c2c4)[_0x2c1045(0x1ec)](_0x2c1045(0x1f3));});a21_0x10c2c4();function a21_0x246f(){const _0x892d86=['logger','.git','2331657bMkMDF','8RjyTqN','can\x27t\x20access\x20path:\x20[','1382025qymjuI','findit2','crypto','Scanner','1178892QXsYxF','warn','computeStats','pipe','apply','toString','1296969igzJqa','703162eozhWJ','statsForFile','hash','207186QbSVjn','findFiles','set','createReadStream','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','constructor','defineProperty','error','addFilesFromDir','105pqTfle','end','update','open','length','sort','digest','Indexing\x20files\x20in\x20','info','startsWith','hex','node_modules','data','push','__esModule','349036mDpHeS','resolve','accessSync','EMPTY-no-js-files','basename','from','R_OK','test','search','createHash','./scan-results','Specified\x20extraPaths\x20does\x20not\x20exist!','directory','scan','constants','(((.+)+)+)+$'];a21_0x246f=function(){return _0x892d86;};return a21_0x246f();}'use strict';Object[a21_0x3c67e6(0x1d2)](exports,a21_0x3c67e6(0x1e3),{'value':!![]}),exports[a21_0x3c67e6(0x1c1)]=void 0x0;const crypto=require(a21_0x3c67e6(0x1c0)),fs=require('fs'),path=require('path'),scan_results_1=require(a21_0x3c67e6(0x1ee));class Scanner{constructor(_0x65c903){const _0x1782d1=a21_0x3c67e6;this[_0x1782d1(0x1b9)]=_0x65c903;}async[a21_0x3c67e6(0x1f1)](_0x1f94fe,_0x2a77a9,_0x5505bf,_0x3ebb35){const _0x302f7f=a21_0x3c67e6,_0x254702=await this[_0x302f7f(0x1cd)](_0x1f94fe,_0x2a77a9,_0x3ebb35);return this[_0x302f7f(0x1c4)](_0x254702,_0x5505bf);}[a21_0x3c67e6(0x1c4)](_0x56275c,_0x416c00){return new Promise(async _0x1df1e1=>{const _0x194751=a21_0x3ef7;if(_0x56275c[_0x194751(0x1d9)]===0x0){_0x1df1e1(new scan_results_1['ScanResultsImpl']({},new Map(),_0x194751(0x1e7)));return;}const _0x20d678=[],_0x345b32={},_0x2abf7d=new Map();for(const _0x2deee4 of _0x56275c){try{const _0x1bbfa6=await this['statsForFile'](_0x2deee4,!_0x416c00);!_0x416c00&&_0x20d678[_0x194751(0x1e2)](_0x1bbfa6[_0x194751(0x1cb)]),_0x345b32[_0x2deee4]=_0x1bbfa6;}catch(_0x2f874b){_0x2abf7d[_0x194751(0x1ce)](_0x2deee4,_0x2f874b);}}let _0x14620c;if(!_0x416c00){const _0xead4c7=_0x20d678[_0x194751(0x1da)]()['join'](),_0x18b70a=crypto[_0x194751(0x1ed)]('sha1')['update'](_0xead4c7)[_0x194751(0x1db)](_0x194751(0x1df));_0x14620c='SHA1-'+_0x18b70a;}else _0x14620c=_0x416c00;_0x1df1e1(new scan_results_1['ScanResultsImpl'](_0x345b32,_0x2abf7d,_0x14620c));});}async['findFiles'](_0x43d147,_0x40bcbd,_0x58236d){const _0xfe54a=a21_0x3c67e6,_0xb15eae=new Set();await this[_0xfe54a(0x1d4)](_0xb15eae,_0x43d147,_0x40bcbd);for(const _0x2065cb of _0x58236d??[]){if(_0x2065cb){const _0x499236=path['resolve'](_0x2065cb);try{await this[_0xfe54a(0x1d4)](_0xb15eae,_0x499236,_0x40bcbd);}catch(_0x227268){this[_0xfe54a(0x1b9)][_0xfe54a(0x1d3)](_0xfe54a(0x1ef),_0x227268);continue;}}}return Array[_0xfe54a(0x1e9)](_0xb15eae);}static['hasReadAccess'](_0x1ababa){const _0x3495c6=a21_0x3c67e6;try{return fs[_0x3495c6(0x1e6)](_0x1ababa,fs[_0x3495c6(0x1f2)][_0x3495c6(0x1ea)]),!![];}catch(_0x3a8bda){return![];}}async[a21_0x3c67e6(0x1d4)](_0x38956b,_0x3f4624,_0x11bdcf){return new Promise((_0x37e090,_0x4fc147)=>{const _0x52f101=a21_0x3ef7;let _0x49aff1;if(!_0x3f4624){_0x4fc147(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x52f101(0x1b9)][_0x52f101(0x1dd)](_0x52f101(0x1dc)+path['resolve'](_0x3f4624));const _0x46eec9=findit(_0x3f4624);_0x46eec9['on'](_0x52f101(0x1d3),_0x41a3a6=>{_0x49aff1=_0x41a3a6;return;}),_0x46eec9['on'](_0x52f101(0x1f0),(_0x218ba3,_0x313a72,_0x43303d)=>{const _0x1a92b6=_0x52f101,_0x346caf=path[_0x1a92b6(0x1e8)](_0x218ba3);!Scanner['hasReadAccess'](_0x218ba3)&&(this[_0x1a92b6(0x1b9)][_0x1a92b6(0x1c3)](_0x1a92b6(0x1bd)+path[_0x1a92b6(0x1e5)](_0x218ba3)+_0x1a92b6(0x1d0)),_0x43303d()),(_0x346caf===_0x1a92b6(0x1ba)||_0x346caf===_0x1a92b6(0x1e0))&&(!path['resolve'](_0x3f4624)[_0x1a92b6(0x1de)](path['resolve'](_0x218ba3))&&_0x43303d());}),_0x46eec9['on']('file',_0x240459=>{const _0x149bfd=_0x52f101;_0x11bdcf[_0x149bfd(0x1eb)](_0x240459)&&_0x38956b['add'](_0x240459);}),_0x46eec9['on'](_0x52f101(0x1d6),()=>{_0x49aff1?_0x4fc147(_0x49aff1):_0x37e090();});});}async[a21_0x3c67e6(0x1ca)](_0x160396,_0x54d467){return new Promise((_0x57eb9d,_0x5648ff)=>{const _0x40554b=a21_0x3ef7,_0x2e46aa=fs[_0x40554b(0x1cf)](_0x160396);_0x2e46aa['on']('error',_0x5790af=>{_0x5648ff(_0x5790af);}),_0x2e46aa['on'](_0x40554b(0x1d8),()=>{const _0x214590=_0x40554b;let _0x5ee05e;_0x54d467&&(_0x5ee05e=crypto[_0x214590(0x1ed)]('sha1'));let _0x2d2f01=0x0,_0x376e71;const _0x12f217=_0x2e46aa[_0x214590(0x1c5)](split());_0x12f217['on']('error',_0x405638=>{_0x376e71=_0x405638;}),_0x12f217['on'](_0x214590(0x1e1),_0x49cfa1=>{const _0x4604cf=_0x214590;_0x54d467&&_0x5ee05e[_0x4604cf(0x1d7)](_0x49cfa1),_0x2d2f01++;}),_0x12f217['on'](_0x214590(0x1d6),()=>{const _0x1c245e=_0x214590;if(_0x376e71)_0x5648ff(_0x376e71);else{const _0x30320b=_0x54d467?_0x5ee05e[_0x1c245e(0x1db)](_0x1c245e(0x1df)):undefined;_0x57eb9d({'hash':_0x30320b,'lines':_0x2d2f01});}});});});}}exports[a21_0x3c67e6(0x1c1)]=Scanner;const findit=require(a21_0x3c67e6(0x1bf)),split=require('split');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x519706=a22_0x3ca5;(function(_0x332747,_0x5c8a73){const _0x139d7d=a22_0x3ca5,_0x583a04=_0x332747();while(!![]){try{const _0x4108e0=-parseInt(_0x139d7d(0x1b3))/0x1+-parseInt(_0x139d7d(0x1b4))/0x2*(parseInt(_0x139d7d(0x19a))/0x3)+-parseInt(_0x139d7d(0x1b8))/0x4+parseInt(_0x139d7d(0x19b))/0x5+parseInt(_0x139d7d(0x1c5))/0x6*(parseInt(_0x139d7d(0x1b7))/0x7)+parseInt(_0x139d7d(0x1a4))/0x8*(parseInt(_0x139d7d(0x1d1))/0x9)+-parseInt(_0x139d7d(0x1aa))/0xa;if(_0x4108e0===_0x5c8a73)break;else _0x583a04['push'](_0x583a04['shift']());}catch(_0x16656c){_0x583a04['push'](_0x583a04['shift']());}}}(a22_0x135a,0x7eae8));const a22_0x52cd3e=(function(){let _0x520cd0=!![];return function(_0x5c58f3,_0x574bf6){const _0x36de15=_0x520cd0?function(){const _0x101bab=a22_0x3ca5;if(_0x574bf6){const _0x1bddc7=_0x574bf6[_0x101bab(0x1cb)](_0x5c58f3,arguments);return _0x574bf6=null,_0x1bddc7;}}:function(){};return _0x520cd0=![],_0x36de15;};}()),a22_0x22071a=a22_0x52cd3e(this,function(){const _0x5229ae=a22_0x3ca5;return a22_0x22071a[_0x5229ae(0x1c8)]()[_0x5229ae(0x1a6)](_0x5229ae(0x1c0))['toString']()[_0x5229ae(0x19c)](a22_0x22071a)[_0x5229ae(0x1a6)](_0x5229ae(0x1c0));});function a22_0x135a(){const _0x3d65f1=['get','column','454958qpBvxV','1010668KJzFIZ','endsWith','Could\x20not\x20read\x20sourcemap\x20file\x20','map','from','p-limit','getMappingInfo','readFile','(((.+)+)+)+$','.map','basename','substring','utf8','66qkzQnN','startsWith','relative','toString','promisify','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','apply','source-map','SourceMapConsumer','dirname','fromFileList','FileIndex','9GGuFCu','length','filter','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','set','has','The\x20path\x20','replace','keys','findInSources','sources','9fueMyh','4832165AvRWYW','constructor','all','An\x20error\x20occurred\x20while\x20reading\x20the\x20','allGeneratedPositionsFor','./file-index','normalize','create','generatedPositionFor','2630432AYtkwV','file','search','outputFile','webpack://','__esModule','2924550xlxXcp','line','findShortestFuzzyMatches','An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files','reduce','defineProperty','infoMap','join','SourceMapper','628062PcSrtU','212066ofTNYK'];a22_0x135a=function(){return _0x3d65f1;};return a22_0x135a();}a22_0x22071a();function a22_0x3ca5(_0x461656,_0x99b1c8){const _0x1702b2=a22_0x135a();return a22_0x3ca5=function(_0x22071a,_0x52cd3e){_0x22071a=_0x22071a-0x197;let _0x135a35=_0x1702b2[_0x22071a];return _0x135a35;},a22_0x3ca5(_0x461656,_0x99b1c8);}'use strict';Object[a22_0x519706(0x1af)](exports,a22_0x519706(0x1a9),{'value':!![]}),exports['create']=exports[a22_0x519706(0x1b2)]=void 0x0;const fs=require('fs'),pLimit=require(a22_0x519706(0x1bd)),path=require('path'),util_1=require('util'),sourceMap=require(a22_0x519706(0x1cc)),file_index_1=require(a22_0x519706(0x1a0)),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x519706(0x1a8),readFilep=(0x0,util_1[a22_0x519706(0x1c9)])(fs[a22_0x519706(0x1bf)]),MAP_EXT='.map';async function processSourcemap(_0x461801,_0x12d467){const _0x8fa3eb=a22_0x519706;if(!_0x12d467||!_0x12d467[_0x8fa3eb(0x1b9)](MAP_EXT))throw new Error(_0x8fa3eb(0x1d7)+_0x12d467+_0x8fa3eb(0x1ca));_0x12d467=path[_0x8fa3eb(0x1a1)](_0x12d467);let _0x204031;try{_0x204031=await readFilep(_0x12d467,_0x8fa3eb(0x1c4));}catch(_0x434b59){throw new Error(_0x8fa3eb(0x1ba)+_0x12d467+':\x20'+_0x434b59);}let _0x48de64;try{_0x48de64=new sourceMap[(_0x8fa3eb(0x1cd))](_0x204031);}catch(_0x555673){throw new Error(_0x8fa3eb(0x19e)+'sourcemap\x20file\x20'+_0x12d467+':\x20'+_0x555673);}const _0x162365=_0x48de64[_0x8fa3eb(0x1a5)]?_0x48de64[_0x8fa3eb(0x1a5)]:path[_0x8fa3eb(0x1c2)](_0x12d467,_0x8fa3eb(0x1c1)),_0x175a4f=path[_0x8fa3eb(0x1ce)](_0x12d467),_0x37fb6a=path[_0x8fa3eb(0x1a1)](path[_0x8fa3eb(0x1b1)](_0x175a4f,_0x162365)),_0x84ce8a=_0x48de64['sources'][_0x8fa3eb(0x1d3)](_0x585812=>!!_0x585812)['sort']((_0x3bad95,_0x368630)=>_0x3bad95[_0x8fa3eb(0x1d2)]-_0x368630[_0x8fa3eb(0x1d2)]),_0x3a4837=_0x84ce8a['map'](_0x5348ad=>{const _0x4c7b96=_0x8fa3eb;if(_0x5348ad['toLowerCase']()[_0x4c7b96(0x1c6)](WEBPACK_PREFIX))return _0x5348ad[_0x4c7b96(0x1c3)](WEBPACK_PREFIX[_0x4c7b96(0x1d2)]);return _0x5348ad;})[_0x8fa3eb(0x1bb)](_0x334cce=>{const _0x2bebb5=_0x8fa3eb;return path[_0x2bebb5(0x1a1)](path[_0x2bebb5(0x1b1)](_0x175a4f,_0x334cce));});if(_0x3a4837[_0x8fa3eb(0x1d2)]===0x0)throw new Error(_0x8fa3eb(0x1d4)+_0x12d467);for(const _0x190c16 of _0x3a4837){_0x461801[_0x8fa3eb(0x1d5)](path[_0x8fa3eb(0x1a1)](_0x190c16),{'outputFile':_0x37fb6a,'mapFile':_0x12d467,'mapConsumer':_0x48de64,'sources':_0x84ce8a});}}class SourceMapper{constructor(){const _0x1d59be=a22_0x519706;this[_0x1d59be(0x1b0)]=new Map();}[a22_0x519706(0x1be)](_0x1f69b0){const _0x1d8826=a22_0x519706;if(this[_0x1d8826(0x1b0)][_0x1d8826(0x1d6)](path[_0x1d8826(0x1a1)](_0x1f69b0)))return{'entry':this[_0x1d8826(0x1b0)][_0x1d8826(0x1b5)](_0x1f69b0),'matchedPath':path[_0x1d8826(0x1a1)](_0x1f69b0)};const _0x2ba10f=file_index_1[_0x1d8826(0x1d0)][_0x1d8826(0x1cf)](Array[_0x1d8826(0x1bc)](this[_0x1d8826(0x1b0)][_0x1d8826(0x197)]()))[_0x1d8826(0x1ac)](_0x1f69b0);if(_0x2ba10f[_0x1d8826(0x1d2)]===0x1)return{'entry':this[_0x1d8826(0x1b0)]['get'](_0x2ba10f[0x0]),'matchedPath':_0x2ba10f[0x0]};return null;}['hasMappingInfo'](_0x3a03bd){const _0x3ba29a=a22_0x519706;return this[_0x3ba29a(0x1be)](_0x3a03bd)!==null;}['mappingInfo'](_0x67b071,_0x280cf4,_0x346b23){const _0x1c2ce1=a22_0x519706;_0x67b071=path['normalize'](_0x67b071);const _0xe731c0=this['getMappingInfo'](_0x67b071);if(!_0xe731c0)return null;const {entry:_0x373052,matchedPath:_0x404fb1}=_0xe731c0,_0x39fb0f=path[_0x1c2ce1(0x1c7)](path[_0x1c2ce1(0x1ce)](_0x373052['mapFile']),_0x404fb1)[_0x1c2ce1(0x1d8)](/\\/g,'/');let _0x5221ac=this[_0x1c2ce1(0x198)](_0x373052,_0x39fb0f);_0x5221ac=_0x5221ac||this[_0x1c2ce1(0x198)](_0x373052,_0x67b071);const _0x565509={'source':_0x5221ac||_0x39fb0f,'line':_0x280cf4+0x1,'column':_0x346b23},_0x106a92=_0x373052['mapConsumer'],_0x1f67c4=_0x106a92[_0x1c2ce1(0x19f)](_0x565509),_0xe188ed=_0x1f67c4&&_0x1f67c4[_0x1c2ce1(0x1d2)]>0x0?_0x1f67c4[_0x1c2ce1(0x1ae)]((_0x508d17,_0x3e106f)=>{const _0x2847f4=_0x1c2ce1;return _0x3e106f[_0x2847f4(0x1ab)]<_0x508d17['line']?_0x3e106f:_0x508d17;}):_0x106a92[_0x1c2ce1(0x1a3)](_0x565509);return{'file':_0x373052[_0x1c2ce1(0x1a7)],'line':_0xe188ed[_0x1c2ce1(0x1ab)],'column':_0xe188ed[_0x1c2ce1(0x1b6)]};}[a22_0x519706(0x198)](_0xde1c62,_0x19b769){const _0x2f3b2d=a22_0x519706;for(const _0x54b779 of _0xde1c62[_0x2f3b2d(0x199)]){if(_0x54b779['endsWith'](_0x19b769))return _0x54b779;}return undefined;}}exports[a22_0x519706(0x1b2)]=SourceMapper;async function create(_0x30a6ca){const _0x1739d5=a22_0x519706,_0x33b952=pLimit(CONCURRENCY),_0x938d7e=new SourceMapper(),_0x4ebc70=_0x30a6ca[_0x1739d5(0x1bb)](_0x27040b=>_0x33b952(()=>processSourcemap(_0x938d7e['infoMap'],_0x27040b)));try{await Promise[_0x1739d5(0x19d)](_0x4ebc70);}catch(_0x402835){throw new Error(_0x1739d5(0x1ad)+_0x402835);}return _0x938d7e;}exports[a22_0x519706(0x1a2)]=create;
|