lightrun 1.57.1 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16_0x2d0e(){const _0x830981=['stdErrThreshold','319aOElrm','./getAgentConfig','LIGHTRUN_SECRET','agentLogMaxFileCount','362530rygHgf','toString','../util/utils','validateConfig','getBooleanValue','AGENT_LOG_MAX_FILE_COUNT','getAgentConfig','8DNzKpq','313550VrhHDn','message','limitConfig','AGENT_LOG_TARGET_DIR','path','normalizeConfig','split','constructor','AGENT_LOG_MAX_FILE_SIZE_MB','79206jJsIdp','GAE_VERSION','FUNCTION_NAME','metadata','LIGHTRUN_PROXY_PASSWORD','1476500sZphnM','(((.+)+)+)+$','AGENT_LOG_LEVEL','K_SERVICE','GAE_MINOR_VERSION','LIGHTRUN_TAGS','agentLog','NO_CHECK_CERTIFICATE','GAE_MODULE_VERSION','LIGHTRUN_METADATA_FILE','agentLogTargetDir','__esModule','LIGHTRUN_PROXY_USERNAME','registration','4242OAoifg','service','unversioned','LIGHTRUN_PROXY_PORT','inner','configSchema','serviceContext','apply','version','LIGHTRUN_AGENT_CONFIG','extend','../config','GAE_MODULE_NAME','LIGHTRUN_STD_ERR_THRESHOLD','agentLogMaxFileSizeMb','LIGHTRUN_WAIT_FOR_INIT','forEach','38JSyKOW','agentConfigFile','522945WPjeHP','GAE_SERVICE','GAE_DEPLOYMENT_ID','K_REVISION','defineProperty','validateSync','env','2105487mCdrGc','search','FETCH_BREAKPOINTS_ONCE','3689PgFONc','defaultConfig','agentLogLevel'];a16_0x2d0e=function(){return _0x830981;};return a16_0x2d0e();}const a16_0x573a0a=a16_0x4e44;(function(_0x1fd4f6,_0xf64a98){const _0x193715=a16_0x4e44,_0x5173df=_0x1fd4f6();while(!![]){try{const _0x7f70ff=-parseInt(_0x193715(0x1e2))/0x1+parseInt(_0x193715(0x1ce))/0x2*(parseInt(_0x193715(0x1aa))/0x3)+parseInt(_0x193715(0x1af))/0x4+parseInt(_0x193715(0x1d0))/0x5+parseInt(_0x193715(0x1bd))/0x6*(parseInt(_0x193715(0x1da))/0x7)+-parseInt(_0x193715(0x1e9))/0x8*(-parseInt(_0x193715(0x1d7))/0x9)+parseInt(_0x193715(0x1ea))/0xa*(-parseInt(_0x193715(0x1de))/0xb);if(_0x7f70ff===_0xf64a98)break;else _0x5173df['push'](_0x5173df['shift']());}catch(_0x244d99){_0x5173df['push'](_0x5173df['shift']());}}}(a16_0x2d0e,0x4bb2b));const a16_0x468655=(function(){let _0x35f92f=!![];return function(_0x1141de,_0x2d9e84){const _0x2a4cda=_0x35f92f?function(){const _0x16863c=a16_0x4e44;if(_0x2d9e84){const _0x312948=_0x2d9e84[_0x16863c(0x1c4)](_0x1141de,arguments);return _0x2d9e84=null,_0x312948;}}:function(){};return _0x35f92f=![],_0x2a4cda;};}()),a16_0x5f5830=a16_0x468655(this,function(){const _0x271346=a16_0x4e44;return a16_0x5f5830['toString']()['search'](_0x271346(0x1b0))[_0x271346(0x1e3)]()[_0x271346(0x1a8)](a16_0x5f5830)[_0x271346(0x1d8)](_0x271346(0x1b0));});a16_0x5f5830();'use strict';Object[a16_0x573a0a(0x1d4)](exports,a16_0x573a0a(0x1ba),{'value':!![]}),exports[a16_0x573a0a(0x1a6)]=exports['validateConfig']=void 0x0;const extend=require(a16_0x573a0a(0x1c7)),config_1=require(a16_0x573a0a(0x1c8)),utils_1=require(a16_0x573a0a(0x1e4)),getAgentConfig_1=require(a16_0x573a0a(0x1df)),limitConfig_1=require('./limitConfig'),validateConfig=_0x37543b=>{const _0x217cf5=a16_0x573a0a,_0x3a97de={};try{config_1[_0x217cf5(0x1c2)][_0x217cf5(0x1d5)](_0x37543b,{'abortEarly':![]});}catch(_0x5228fb){_0x5228fb[_0x217cf5(0x1c1)]['filter'](_0x1218ce=>_0x1218ce[_0x217cf5(0x1a5)]&&_0x1218ce[_0x217cf5(0x1eb)])[_0x217cf5(0x1cd)](_0x585614=>{const _0x8e94bd=_0x217cf5;_0x3a97de[_0x585614['path']]=_0x585614[_0x8e94bd(0x1eb)];});}return _0x3a97de;};exports[a16_0x573a0a(0x1e5)]=validateConfig;function a16_0x4e44(_0x61c65d,_0x15e704){const _0x2f4861=a16_0x2d0e();return a16_0x4e44=function(_0x5f5830,_0x468655){_0x5f5830=_0x5f5830-0x1a4;let _0x2d0e93=_0x2f4861[_0x5f5830];return _0x2d0e93;},a16_0x4e44(_0x61c65d,_0x15e704);}const normalizeConfig=_0x4b45dd=>{const _0x510d4e=a16_0x573a0a,_0x16cd86={'serviceContext':{'service':process[_0x510d4e(0x1d6)][_0x510d4e(0x1d1)]||process[_0x510d4e(0x1d6)][_0x510d4e(0x1c9)]||process['env'][_0x510d4e(0x1b2)],'version':process[_0x510d4e(0x1d6)][_0x510d4e(0x1ab)]||process['env'][_0x510d4e(0x1b7)]||process[_0x510d4e(0x1d6)][_0x510d4e(0x1d3)],'minorVersion_':process[_0x510d4e(0x1d6)][_0x510d4e(0x1d2)]||process[_0x510d4e(0x1d6)][_0x510d4e(0x1b3)]},'metadata':{'filename':process[_0x510d4e(0x1d6)][_0x510d4e(0x1b8)],'registration':{}},'lightrunSecret':process['env'][_0x510d4e(0x1e0)],'apiEndpoint':process[_0x510d4e(0x1d6)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x510d4e(0x1e6)])(process['env'][_0x510d4e(0x1b6)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x510d4e(0x1e6)])(process[_0x510d4e(0x1d6)][_0x510d4e(0x1d9)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x510d4e(0x1d6)][_0x510d4e(0x1cc)]),'lightrunInitWaitTimeMs':process[_0x510d4e(0x1d6)]['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x4b45dd?.[_0x510d4e(0x1b5)]||{},'proxy':{'host':process['env']['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x510d4e(0x1d6)][_0x510d4e(0x1c0)]||'')||undefined,'username':process['env'][_0x510d4e(0x1bb)],'password':process[_0x510d4e(0x1d6)][_0x510d4e(0x1ae)]}};process['env'][_0x510d4e(0x1ca)]!==undefined&&(_0x16cd86[_0x510d4e(0x1b5)][_0x510d4e(0x1dd)]=process[_0x510d4e(0x1d6)][_0x510d4e(0x1ca)]);process[_0x510d4e(0x1d6)][_0x510d4e(0x1b1)]!==undefined&&(_0x16cd86[_0x510d4e(0x1b5)][_0x510d4e(0x1dc)]=process[_0x510d4e(0x1d6)][_0x510d4e(0x1b1)]);process[_0x510d4e(0x1d6)][_0x510d4e(0x1a4)]!==undefined&&(_0x16cd86[_0x510d4e(0x1b5)][_0x510d4e(0x1b9)]=process['env'][_0x510d4e(0x1a4)]);process[_0x510d4e(0x1d6)][_0x510d4e(0x1e7)]!==undefined&&(_0x16cd86[_0x510d4e(0x1b5)][_0x510d4e(0x1e1)]=parseInt(process[_0x510d4e(0x1d6)][_0x510d4e(0x1e7)]));process[_0x510d4e(0x1d6)][_0x510d4e(0x1a9)]!==undefined&&(_0x16cd86[_0x510d4e(0x1b5)][_0x510d4e(0x1cb)]=parseInt(process[_0x510d4e(0x1d6)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x510d4e(0x1d6)][_0x510d4e(0x1ac)]&&(_0x16cd86[_0x510d4e(0x1c3)][_0x510d4e(0x1be)]=process[_0x510d4e(0x1d6)]['FUNCTION_NAME'],_0x16cd86['serviceContext'][_0x510d4e(0x1c5)]=_0x510d4e(0x1bf));process[_0x510d4e(0x1d6)][_0x510d4e(0x1b4)]&&(_0x16cd86[_0x510d4e(0x1ad)][_0x510d4e(0x1bc)]={'tags':process[_0x510d4e(0x1d6)]['LIGHTRUN_TAGS'][_0x510d4e(0x1a7)](',')});const _0x2d2782=(0x0,getAgentConfig_1[_0x510d4e(0x1e8)])(process[_0x510d4e(0x1d6)][_0x510d4e(0x1c6)]||_0x4b45dd?.[_0x510d4e(0x1cf)]||config_1['defaultConfig'][_0x510d4e(0x1cf)]),_0x3fcb2a=(0x0,limitConfig_1[_0x510d4e(0x1ec)])(extend(!![],{},config_1[_0x510d4e(0x1db)],_0x2d2782,_0x4b45dd,_0x16cd86)),_0x5eee84=(0x0,exports[_0x510d4e(0x1e5)])(_0x3fcb2a);return{..._0x3fcb2a,'errors':_0x5eee84};};exports[a16_0x573a0a(0x1a6)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x260484=a17_0x3dc6;(function(_0xca7f43,_0x5f2b46){const _0x113fdb=a17_0x3dc6,_0x57a390=_0xca7f43();while(!![]){try{const _0x17c136=-parseInt(_0x113fdb(0x107))/0x1*(parseInt(_0x113fdb(0x10a))/0x2)+parseInt(_0x113fdb(0x10e))/0x3*(parseInt(_0x113fdb(0x10b))/0x4)+parseInt(_0x113fdb(0x111))/0x5+parseInt(_0x113fdb(0x10d))/0x6+parseInt(_0x113fdb(0x104))/0x7*(-parseInt(_0x113fdb(0x10c))/0x8)+parseInt(_0x113fdb(0x101))/0x9+-parseInt(_0x113fdb(0x106))/0xa*(parseInt(_0x113fdb(0xfe))/0xb);if(_0x17c136===_0x5f2b46)break;else _0x57a390['push'](_0x57a390['shift']());}catch(_0x46f4fd){_0x57a390['push'](_0x57a390['shift']());}}}(a17_0x1b8b,0x992ff));const a17_0x5b7279=(function(){let _0x118161=!![];return function(_0x56af33,_0x2ec3fd){const _0x4bc5c6=_0x118161?function(){if(_0x2ec3fd){const _0x3c112a=_0x2ec3fd['apply'](_0x56af33,arguments);return _0x2ec3fd=null,_0x3c112a;}}:function(){};return _0x118161=![],_0x4bc5c6;};}()),a17_0x4830c9=a17_0x5b7279(this,function(){const _0x36dc8d=a17_0x3dc6;return a17_0x4830c9[_0x36dc8d(0x105)]()[_0x36dc8d(0x10f)](_0x36dc8d(0xfd))['toString']()[_0x36dc8d(0x108)](a17_0x4830c9)[_0x36dc8d(0x10f)](_0x36dc8d(0xfd));});a17_0x4830c9();'use strict';function a17_0x3dc6(_0x1860ba,_0x26a185){const _0x271902=a17_0x1b8b();return a17_0x3dc6=function(_0x4830c9,_0x5b7279){_0x4830c9=_0x4830c9-0xfd;let _0x1b8b17=_0x271902[_0x4830c9];return _0x1b8b17;},a17_0x3dc6(_0x1860ba,_0x26a185);}Object[a17_0x260484(0x102)](exports,a17_0x260484(0x112),{'value':!![]}),exports[a17_0x260484(0xff)]=void 0x0;const delimit_1=require(a17_0x260484(0x109)),tokenize=(_0x14653a,_0x8dff07)=>{const _0x379e14=a17_0x260484;let _0x2b3f58=(0x0,delimit_1[_0x379e14(0x110)])(_0x14653a,'$$');for(let _0x569da1=_0x8dff07-0x1;_0x569da1>=0x0;_0x569da1--){const _0x597496=[];for(let _0x59597f=0x0;_0x59597f<_0x2b3f58[_0x379e14(0x100)];_0x59597f++){_0x2b3f58[_0x59597f]['v']?_0x597496[_0x379e14(0x103)](_0x2b3f58[_0x59597f]):_0x597496['push'](...(0x0,delimit_1['delimit'])(_0x2b3f58[_0x59597f],'$'+_0x569da1));}_0x2b3f58=_0x597496;}return _0x2b3f58;};exports[a17_0x260484(0xff)]=tokenize;function a17_0x1b8b(){const _0x13848f=['43459AkEWry','constructor','./delimit','8PRZzyT','2405164mlOTHW','12104WZlAKV','3841782UNvMhA','3IQazof','search','delimit','4504930iPOnnN','__esModule','(((.+)+)+)+$','88qVEidf','tokenize','length','5422959vUNwUE','defineProperty','push','2198lNGFms','toString','1835940ODfIOn'];a17_0x1b8b=function(){return _0x13848f;};return a17_0x1b8b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x479f82=a18_0x2396;(function(_0x2b9f3d,_0x2dfcf9){const _0x5cb4a3=a18_0x2396,_0x193dae=_0x2b9f3d();while(!![]){try{const _0x386f30=-parseInt(_0x5cb4a3(0xdf))/0x1*(-parseInt(_0x5cb4a3(0x14d))/0x2)+parseInt(_0x5cb4a3(0x126))/0x3*(parseInt(_0x5cb4a3(0xde))/0x4)+-parseInt(_0x5cb4a3(0x17a))/0x5+parseInt(_0x5cb4a3(0x113))/0x6*(parseInt(_0x5cb4a3(0x11b))/0x7)+-parseInt(_0x5cb4a3(0x163))/0x8+parseInt(_0x5cb4a3(0x198))/0x9+-parseInt(_0x5cb4a3(0x139))/0xa;if(_0x386f30===_0x2dfcf9)break;else _0x193dae['push'](_0x193dae['shift']());}catch(_0x46f191){_0x193dae['push'](_0x193dae['shift']());}}}(a18_0x1e9a,0xceb51));const a18_0x3ccbb7=(function(){let _0x44945e=!![];return function(_0x76fc79,_0xd0ccbf){const _0x59f28c=_0x44945e?function(){const _0x3516de=a18_0x2396;if(_0xd0ccbf){const _0x91a217=_0xd0ccbf[_0x3516de(0x1ae)](_0x76fc79,arguments);return _0xd0ccbf=null,_0x91a217;}}:function(){};return _0x44945e=![],_0x59f28c;};}()),a18_0x4b075a=a18_0x3ccbb7(this,function(){const _0x350598=a18_0x2396;return a18_0x4b075a[_0x350598(0x187)]()['search'](_0x350598(0x166))[_0x350598(0x187)]()[_0x350598(0xe0)](a18_0x4b075a)[_0x350598(0xf1)](_0x350598(0x166));});function a18_0x2396(_0x42d071,_0x3cbdd5){const _0x2b52cc=a18_0x1e9a();return a18_0x2396=function(_0x4b075a,_0x3ccbb7){_0x4b075a=_0x4b075a-0xdc;let _0x1e9ae0=_0x2b52cc[_0x4b075a];return _0x1e9ae0;},a18_0x2396(_0x42d071,_0x3cbdd5);}a18_0x4b075a();'use strict';var __classPrivateFieldSet=this&&this[a18_0x479f82(0x1d7)]||function(_0x4297e4,_0x536b66,_0x1a6c6d,_0x54381e,_0xaefaba){const _0x53c222=a18_0x479f82;if(_0x54381e==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x54381e==='a'&&!_0xaefaba)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x536b66===_0x53c222(0x141)?_0x4297e4!==_0x536b66||!_0xaefaba:!_0x536b66['has'](_0x4297e4))throw new TypeError(_0x53c222(0x17d));return _0x54381e==='a'?_0xaefaba[_0x53c222(0x1dc)](_0x4297e4,_0x1a6c6d):_0xaefaba?_0xaefaba[_0x53c222(0x1d4)]=_0x1a6c6d:_0x536b66[_0x53c222(0x169)](_0x4297e4,_0x1a6c6d),_0x1a6c6d;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x554644,_0x18d704,_0x95f93b,_0x4a71a9){const _0x23dd1b=a18_0x479f82;if(_0x95f93b==='a'&&!_0x4a71a9)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x18d704===_0x23dd1b(0x141)?_0x554644!==_0x18d704||!_0x4a71a9:!_0x18d704[_0x23dd1b(0xdc)](_0x554644))throw new TypeError(_0x23dd1b(0x1b7));return _0x95f93b==='m'?_0x4a71a9:_0x95f93b==='a'?_0x4a71a9[_0x23dd1b(0x1dc)](_0x554644):_0x4a71a9?_0x4a71a9[_0x23dd1b(0x1d4)]:_0x18d704['get'](_0x554644);},_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[a18_0x479f82(0x1d9)](exports,'__esModule',{'value':!![]}),exports[a18_0x479f82(0x12c)]=exports['CachedPromise']=void 0x0;const assert=require(a18_0x479f82(0x19b)),events_1=require(a18_0x479f82(0x115)),extend=require(a18_0x479f82(0x1a3)),fs=require('fs'),path=require('path'),util=require(a18_0x479f82(0x104)),status_message_1=require(a18_0x479f82(0xf2)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x479f82(0x155)),config_1=require(a18_0x479f82(0x18b)),controller_1=require('./controller'),SourceMapper=require('./io/sourcemapper'),debugapi=require('./v8/debugapi'),piping_manager_1=require(a18_0x479f82(0xff)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a18_0x479f82(0x193)),scanner_1=require(a18_0x479f82(0x132)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x479f82(0x18c)),utils_1=require(a18_0x479f82(0x11d)),redaction_manager_1=require(a18_0x479f82(0x143)),configuration_provider_1=require(a18_0x479f82(0x15a)),normalizeConfig_1=require(a18_0x479f82(0x137)),mapSubtract_1=require(a18_0x479f82(0x146)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a18_0x479f82(0xfd)),readFilep=util[a18_0x479f82(0x1c6)](fs[a18_0x479f82(0x1dd)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x58f975,_0x3c44c3)=>{const _0xdcf409=a18_0x479f82;let _0x5d11ed=_0x58f975+util[_0xdcf409(0x1a6)](_0xdcf409(0x14a),_0x3c44c3['id'],_0x3c44c3[_0xdcf409(0x11e)],util[_0xdcf409(0x1c0)](_0x3c44c3[_0xdcf409(0x12b)]));if(_0x3c44c3[_0xdcf409(0x13a)]){const _0x49e3f2=Number(_0x3c44c3[_0xdcf409(0x13a)][_0xdcf409(0x1da)]),_0x22067b=new Date(_0x49e3f2*0x3e8);_0x5d11ed+='\x0a\x09createdTime:\x20'+_0x22067b[_0xdcf409(0x187)]();}return _0x3c44c3['condition']&&(_0x5d11ed+=_0xdcf409(0x1de)+util[_0xdcf409(0x1c0)](_0x3c44c3[_0xdcf409(0x175)])),_0x3c44c3[_0xdcf409(0xf9)]&&(_0x5d11ed+=_0xdcf409(0x15d)+util[_0xdcf409(0x1c0)](_0x3c44c3[_0xdcf409(0xf9)])),_0x5d11ed;},formatBreakpoints=(_0x19c7d1,_0x3d6da8)=>{const _0x345388=a18_0x479f82;return _0x19c7d1+Object['keys'](_0x3d6da8)[_0x345388(0x14e)](_0x505ecb=>{return formatBreakpoint('',_0x3d6da8[_0x505ecb]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x4c8e7d=a18_0x479f82;this[_0x4c8e7d(0x199)]=null,this['promise']=new Promise(_0x3c47c8=>{const _0x5ed037=_0x4c8e7d;this[_0x5ed037(0x199)]=_0x3c47c8;});}[a18_0x479f82(0x16d)](){const _0x46a33=a18_0x479f82;return this[_0x46a33(0x17b)];}[a18_0x479f82(0x1a9)](){const _0x4d60ef=a18_0x479f82;this['promiseResolve']&&(this[_0x4d60ef(0x199)](),this['promiseResolve']=null);}}function a18_0x1e9a(){const _0x5de88b=['4144480YChCbb','createTime','initError','NODE_VERSION_MESSAGE','path','shouldRedactByName','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','register','function','NOT_SET','./reduction/redaction-manager','breakpoints','selectStats','./debuglet-helpers/mapSubtract','pattern','Registering\x20debuggee','name','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','QuotaManager','mainModule','2HoMZWT','map','breakpointUpdateIntervalSec','UNSPECIFIED','internal','version','agentLog','scan','./agent-logger','.\x20Error:\x20','workingDirectory','Scheduling\x20registration\x20in\x20','join','./configuration-provider','\x09adding\x20breakpoint','\x20to\x20','\x0a\x09expressions:\x20','blacklist','Working\x20directory:\x20','isDisabled','breakpoint_set','Error\x20scanning\x20the\x20filesystem.','6423768AbWCaQ','isFinalState','Debuggee\x20is\x20not\x20registered','(((.+)+)+)+$','filename','Found\x20breakpoint\x20with\x20invalid\x20action:','set','LOGPOINT:\x20','setBlocklistManager','enable','get','maxRequestRetryDelaySeconds','APP_ONLY','quotaRecoverySeconds','waitExpired','\x09successfully\x20added\x20breakpoint','source-context.json','ConfigurationProvider','condition','log','findFiles','extraPaths','parse','3200685yDaHIE','promise','fetcherActive','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','description','Switching\x20globalPiping\x20status\x20from\x20','\x09remove\x20breakpoint','clear','sendAgentLogsToServer','listBreakpoints','registered','pipingManager','Initializing\x20Node.js\x20agent\x20version:\x20','toString','Unknown\x20agentLogLevel\x20','concat','isRunning','./config','./io/file-index','once','parameters','\x20because\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','remainingHits','mapSubtract','./blocklisting/patterns-blocklist-manager','pipeLogs','sourceContext','cwd','REDACTED_PLACEHOLDER','3864969lhUfJH','promiseResolve','backoff','assert','\x20accepted\x20by\x20agent','GAE_MINOR_VERSION','Result:\x20\x0a','filter','stop','Blacklist:\x20\x0a\x09','allowExpressions','extend','\x09Notifying\x20server\x20about\x20error\x20for\x20','PatternsBlocklistManager','format','isOutOfQuota','FileIndex','resolve','forEach','Registered\x20as\x20debuggee:\x20','debug','length','apply','removePerBreakpointQuota','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','isRedactionActive','CAPTURE','getLevel','create','getSourceContextFromFile','sourceMapDiagnostics','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','disable','fromFileStats','ignoreQuota','message','started','BREAKPOINT_ACTION_MESSAGE','Breakpoint','ALLOW_EXPRESSIONS_MESSAGE','inspect','bind','globalPipingStatus','pipingStatus','then','enqueueBreakpointUpdate','promisify','all','setCustomLogLevel','quota','js.map','rejecting\x20breakpoint','push','logger','info','unref','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','PipingManager','debuggee','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','value','Failed\x20to\x20register\x20debuggee:\x20','remotelyDisabled','__classPrivateFieldSet','GAE-','defineProperty','seconds','selectFiles','call','readFile','\x0a\x09condition:\x20','readFullVersion','has','emit','790844dFqdwF','229682WrucpB','constructor','fetchBreakpointsOnce','collectLogRequestId','activeBreakpointMap','expirationTime','error','getProps','removeBreakpoint','quotaCheck','config','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','sep','Scanner','env','blacklist_exception','name:\x20','allowRootAsWorkingDirectory','search','../client/stackdriver/status-message','CachedPromise','normalize','stringify','getRedactions','logLevel','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','expressions','errors','warn','StatusMessage','./debuglet-helpers/createDebuggee','agentLogMaxFileSizeMb','./piping-manager','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','entries','Error\x20processing\x20the\x20sourcemaps.','agentLogTargetDir','util','now','isArray','undefined','createPerBreakpointConditionQuota','\x09Long\x20poll\x20completed.','wait','SIGINT','javascriptFileExtensions','setIgnoreQuota','deregister','prettyError','Fetching\x20breakpoints','agentLogLevel','breakpointExpirationSec','18pROnUA','Stopping\x20Debuglet','events','isReady','pid','type','Breakpoint\x20hit!:\x20','setPatterns','3387937THtcQA','):\x20pattern:\x20','./util/utils','action','clearTransmissionTimeout','agentLogMaxFileCount','values','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','DEBUG','split','Debuglet\x20not\x20running','9IjtYKb','satisfies','default','\x20caseInsensitive:\x20','redactionEnabled','location','Debuglet','LOG','Active\x20Breakpoints:\x20\x0a','\x20completed.','\x09Got\x20error\x20from\x20server.\x20status:\x20','status','./io/scanner','5.2\x20||\x20<4','debuglet','setLevel','hash','./debuglet-helpers/normalizeConfig','jsFileIndex'];a18_0x1e9a=function(){return _0x5de88b;};return a18_0x1e9a();}exports[a18_0x479f82(0xf3)]=CachedPromise;class IsReadyImpl{constructor(_0x56e35a){const _0x325e98=a18_0x479f82;this[_0x325e98(0x134)]=_0x56e35a;}[a18_0x479f82(0x116)](){const _0x224feb=a18_0x479f82;return this['debuglet'][_0x224feb(0x116)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x5af959,_0x51fa89){const _0x5a82b8=a18_0x479f82;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_v8debug[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_running[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_controller[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x5a82b8(0x169)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_quotaManager[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x5a82b8(0xe9)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x51fa89),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x5a82b8(0x174))](this[_0x5a82b8(0xe9)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x5af959,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5a82b8(0x17c)]=![],this[_0x5a82b8(0x1cd)]=agent_logger_1[_0x5a82b8(0x128)]['createLogger'](this['config'][_0x5a82b8(0x153)][_0x5a82b8(0x103)],this['config'][_0x5a82b8(0x153)][_0x5a82b8(0xfe)],this[_0x5a82b8(0xe9)]['agentLog'][_0x5a82b8(0x120)],this[_0x5a82b8(0xe9)][_0x5a82b8(0x153)][_0x5a82b8(0x111)],this[_0x5a82b8(0xe9)][_0x5a82b8(0x153)]['stdErrThreshold']),(0x0,config_1['logMainConfigParams'])(this[_0x5a82b8(0xe9)],this[_0x5a82b8(0x1cd)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x5a82b8(0x1cd)])[_0x5a82b8(0xe6)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5a82b8(0xe9)],this[_0x5a82b8(0x1cd)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x5a82b8(0xec))](this[_0x5a82b8(0x1cd)]),'f'),this[_0x5a82b8(0x1d2)]=null,this[_0x5a82b8(0xe3)]={},__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[(_0x5a82b8(0x14b))](this[_0x5a82b8(0x1cd)],this['config']),'f'),this[_0x5a82b8(0x185)]=new piping_manager_1[(_0x5a82b8(0x1d1))](_0x5a82b8(0x16f),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x5a82b8(0xe9)]);}async[a18_0x479f82(0x177)](_0x5e11ca,_0x4b05e9){const _0x46ec60=a18_0x479f82,_0x80380d=_0x5e11ca[_0x46ec60(0x157)],_0x3daa0b=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x46ec60(0x154)](_0x80380d,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x46ec60(0x1dc)](_a,_0x5e11ca[_0x46ec60(0x10c)][_0x46ec60(0x189)](_0x46ec60(0x1ca))),_0x4b05e9,_0x5e11ca[_0x46ec60(0x178)]),_0x207719=_0x3daa0b[_0x46ec60(0x145)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x5e11ca[_0x46ec60(0x10c)])),_0x3abd81=file_index_1[_0x46ec60(0x1a8)][_0x46ec60(0x1b9)](_0x207719),_0x56e573=_0x3daa0b[_0x46ec60(0x1db)](/.js.map$/,process[_0x46ec60(0x196)]()),_0x207cb0=_0x3daa0b[_0x46ec60(0xfa)]();return{'mapFiles':_0x56e573,'errors':_0x207cb0,'jsFileIndex':_0x3abd81,'hash':_0x3daa0b[_0x46ec60(0x136)]};}async['start'](){const _0x14a44a=a18_0x479f82,_0x20da7c=this,_0x245ad=_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0x157)];if(!_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0xf0)]&&path[_0x14a44a(0x159)](_0x245ad,'..')===_0x245ad){const _0x116109='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x14a44a(0x190)+_0x14a44a(0x122)+'do\x20this.';_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0xe5)](_0x116109),_0x20da7c[_0x14a44a(0xdd)](_0x14a44a(0x13b),new Error(_0x116109));return;}let _0x19a589;process[_0x14a44a(0xed)][_0x14a44a(0x19d)]&&(_0x19a589=_0x14a44a(0x1d8)+process[_0x14a44a(0xed)][_0x14a44a(0x19d)]);let _0x344e46,_0x224d44=_0x19a589||'';try{_0x344e46=await this[_0x14a44a(0x177)](_0x20da7c['config'],_0x19a589),_0x344e46[_0x14a44a(0xfa)][_0x14a44a(0x1aa)](_0x20da7c[_0x14a44a(0x1cd)]['warn']);}catch(_0x343302){_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0xe5)](_0x14a44a(0x162),_0x343302),_0x20da7c[_0x14a44a(0xdd)]('initError',_0x343302);return;}try{const _0x17ad1b=await SourceMapper[_0x14a44a(0x1b4)](_0x20da7c['logger'],_0x344e46['mapFiles'],_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0x151)]?.[_0x14a44a(0x1b6)]);__classPrivateFieldSet(_0x20da7c,_Debuglet_v8debug,debugapi[_0x14a44a(0x1b4)](_0x20da7c[_0x14a44a(0x1cd)],_0x20da7c[_0x14a44a(0xe9)],_0x344e46[_0x14a44a(0x138)],_0x17ad1b,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x224d44=_0x19a589||_0x344e46[_0x14a44a(0x136)];}catch(_0x7e83ba){_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0xe5)](_0x14a44a(0x102),_0x7e83ba),_0x20da7c['logger'][_0x14a44a(0x1ce)](JSON[_0x14a44a(0xf5)](_0x7e83ba)),_0x20da7c['emit']('initError',_0x7e83ba);}_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ce)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x224d44);const _0x59eb4c=(0x0,utils_1[_0x14a44a(0x1df)])(_0x20da7c['logger'])['replace']('\x0a','');_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ce)](_0x14a44a(0x186)+_0x59eb4c);let _0xde596d;try{_0xde596d=_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0x195)]||await _a[_0x14a44a(0x1b5)]();}catch(_0x2ccdd4){}_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ce)](_0x14a44a(0x1b0)+process[_0x14a44a(0x14c)]?.[_0x14a44a(0x167)]),_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ac)](_0x14a44a(0x15f)+_0x245ad),_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ac)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x20da7c,_Debuglet_running,!![],'f'),_0x20da7c[_0x14a44a(0x1d2)]=(0x0,createDebuggee_1['createDebuggee'])(_0x224d44,_0x20da7c[_0x14a44a(0xe9)],_0xde596d,__classPrivateFieldGet(_0x20da7c,_Debuglet_debug,'f')['packageInfo'],_0x59eb4c,_0x20da7c[_0x14a44a(0x1cd)],__classPrivateFieldGet(_0x20da7c,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x20da7c,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x20da7c),__classPrivateFieldGet(_0x20da7c,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x20da7c),_0x20da7c['emit'](_0x14a44a(0x1bc));}['isReady'](){const _0x280c40=a18_0x479f82;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x280c40(0x1a9)]();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')[_0x280c40(0x16d)]()[_0x280c40(0x1c4)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x280c40(0x16d)]();}}static async[a18_0x479f82(0x1b5)](){const _0x3c85c8=a18_0x479f82,_0x37aff7=await readFilep(_0x3c85c8(0x173),'utf8');try{return JSON[_0x3c85c8(0x179)](_0x37aff7);}catch(_0x1bf96e){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x1bf96e);}}[a18_0x479f82(0x18a)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x479f82(0x1a0)](){const _0x4d9499=a18_0x479f82;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4d9499(0x1cd)]['debug']('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x4d9499(0x1cd)][_0x4d9499(0x1ac)](_0x4d9499(0x114)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4d9499(0x11f)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4d9499(0xdd)]('stopped');}[a18_0x479f82(0x1c8)](_0x5ee6c3){const _0x188418=a18_0x479f82,_0x41cad8=this[_0x188418(0x1cd)]['getInitialLevel']();if(_0x41cad8==='debug')return;switch(_0x5ee6c3){case _0x188418(0x123):this[_0x188418(0x1cd)]['getLevel']()!==_0x188418(0x1ac)&&(this[_0x188418(0x1cd)][_0x188418(0x135)](_0x188418(0x1ac)),this[_0x188418(0x1cd)][_0x188418(0x1ac)](_0x188418(0xf8)));break;case _0x188418(0x142):case undefined:this['logger'][_0x188418(0x1b3)]()==='debug'&&(this[_0x188418(0x1cd)][_0x188418(0x135)](_0x41cad8),this[_0x188418(0x1cd)]['info'](_0x188418(0x13f)+_0x41cad8+')'));break;default:this[_0x188418(0x1cd)][_0x188418(0xfb)](_0x188418(0x188)+_0x5ee6c3);}}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x332cbd){const _0x52b470=a18_0x479f82;return new RegExp(_0x332cbd[_0x52b470(0x14e)](_0x57957c=>_0x57957c+'$')[_0x52b470(0x159)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x1220de=a18_0x479f82,_0x248949=['SIGTERM',_0x1220de(0x10b),'SIGQUIT'];_0x248949['forEach'](_0x237328=>{const _0xd0c44e=_0x1220de;process[_0xd0c44e(0x18d)](_0x237328,()=>{const _0x590d21=_0xd0c44e;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x590d21(0x10e)](this[_0x590d21(0x1d2)],()=>{const _0x469578=_0x590d21;process['kill'](process[_0x469578(0x117)],_0x237328);});});}),process[_0x1220de(0x18d)]('beforeExit',()=>{const _0x11f8fe=_0x1220de;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x11f8fe(0x10e)](this[_0x11f8fe(0x1d2)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x3d1a21=a18_0x479f82;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3d1a21(0x1dc)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x583728){const _0x2f15c7=a18_0x479f82,_0x3061f2=this;_0x3061f2[_0x2f15c7(0x1cd)][_0x2f15c7(0x1ac)](_0x583728?_0x2f15c7(0x158)+_0x583728+'s':_0x2f15c7(0x148));function _0x1ef78f(_0x3a1218,_0x5cfd1c,_0x23d3d9=![]){const _0x296953=_0x2f15c7,_0x339918=_0x3061f2[_0x296953(0x1d2)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x3061f2[_0x296953(0x1d2)]?.['id']+':\x20'+(0x0,utils_1[_0x296953(0x10f)])(_0x3a1218):_0x296953(0x1d5)+(0x0,utils_1['prettyError'])(_0x3a1218);_0x3061f2[_0x296953(0x1cd)][_0x296953(0xe5)](_0x339918),_0x5cfd1c&&!_0x23d3d9&&_0x3061f2['logger'][_0x296953(0xe5)](_0x296953(0x19e),_0x5cfd1c),__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x296953(0x1dc)](_0x3061f2,(0x0,utils_1[_0x296953(0x19a)])(_0x583728,_0x3061f2[_0x296953(0xe9)][_0x296953(0x151)][_0x296953(0x16e)]));}setTimeout(()=>{const _0x2d4fc5=_0x2f15c7;if(!__classPrivateFieldGet(_0x3061f2,_Debuglet_running,'f')){_0x1ef78f(new Error(_0x2d4fc5(0x125)));return;}__classPrivateFieldGet(_0x3061f2,_Debuglet_controller,'f')[_0x2d4fc5(0x140)](_0x3061f2['debuggee'],(_0x39f911,_0x4622cc,_0x967f0=![])=>{const _0x2595d3=_0x2d4fc5;if(_0x39f911){_0x1ef78f(_0x39f911,_0x4622cc,_0x967f0);return;}if(_0x4622cc[_0x2595d3(0x1d2)][_0x2595d3(0x160)]){_0x1ef78f(new Error('Disabled\x20by\x20the\x20server')),_0x3061f2[_0x2595d3(0xdd)](_0x2595d3(0x1d6));return;}const _0x1ddc49=_0x4622cc[_0x2595d3(0x1d2)]['id'];_0x3061f2[_0x2595d3(0x1cd)][_0x2595d3(0x1ce)](_0x2595d3(0x1ab)+_0x1ddc49),_0x3061f2['debuggee']['id']=_0x1ddc49;const _0x3785d1=[__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](_0x3061f2)(_0x3061f2[_0x2595d3(0x1d2)]['id'])];_0x3061f2[_0x2595d3(0xe9)][_0x2595d3(0x12a)]&&_0x3785d1[_0x2595d3(0x1cc)](__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x2595d3(0x1c1)](_0x3061f2)(_0x3061f2[_0x2595d3(0x1d2)]['id'])),Promise[_0x2595d3(0x1c7)](_0x3785d1)['then'](()=>{const _0x4e5b9f=_0x2595d3;_0x3061f2[_0x4e5b9f(0xdd)](_0x4e5b9f(0x184),_0x1ddc49),__classPrivateFieldGet(_0x3061f2,_Debuglet_debuggeeRegistered,'f')[_0x4e5b9f(0x1a9)](),__classPrivateFieldGet(_0x3061f2,_Debuglet_v8debug,'f')?.[_0x4e5b9f(0x16b)](__classPrivateFieldGet(_0x3061f2,_Debuglet_blocklistManager,'f')),!_0x3061f2[_0x4e5b9f(0x17c)]&&__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4e5b9f(0x1dc)](_0x3061f2,0x0,this[_0x4e5b9f(0xe9)][_0x4e5b9f(0xe1)],_0x4622cc?.['clientConnectionTimeoutInSeconds']);},_0x4538be=>{_0x1ef78f(_0x4538be);});});},_0x583728*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0xd72c2b,_0x49a865,_0x50bd20){const _0x203f25=a18_0x479f82,_0x4670eb=this;!_0x49a865&&(_0x4670eb['fetcherActive']=!![]),setTimeout(()=>{const _0x4874dd=a18_0x2396;if(!__classPrivateFieldGet(_0x4670eb,_Debuglet_running,'f'))return;!_0x49a865&&assert(_0x4670eb[_0x4874dd(0x17c)]),_0x4670eb[_0x4874dd(0x1cd)][_0x4874dd(0x1ac)](_0x4874dd(0x110)),__classPrivateFieldGet(_0x4670eb,_Debuglet_controller,'f')[_0x4874dd(0x183)](_0x4670eb['debuggee'],(_0x36c240,_0x2edbb4,_0x403040)=>{const _0x399ca1=_0x4874dd;if(_0x2edbb4?.[_0x399ca1(0x131)]===0x194){_0x4670eb[_0x399ca1(0x1cd)]['info'](_0x399ca1(0x165)),_0x4670eb['fetcherActive']=![],__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x399ca1(0x1dc)](_0x4670eb),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_register_)[_0x399ca1(0x1dc)](_0x4670eb);return;}if(_0x36c240){const _0x20e13a=(0x0,utils_1[_0x399ca1(0x19a)])(_0xd72c2b,_0x4670eb[_0x399ca1(0xe9)]['internal'][_0x399ca1(0x16e)]);_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0xe5)](_0x399ca1(0x130)+_0x2edbb4?.[_0x399ca1(0x131)]+'.\x20message:\x20'+_0x36c240[_0x399ca1(0x1bb)]+'.\x20Retrying\x20in\x20'+_0x20e13a+'s'),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4670eb,_0x20e13a,_0x49a865,_0x50bd20);return;}_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0x1ac)]('\x09'+_0x2edbb4[_0x399ca1(0x131)]+_0x399ca1(0x12f));if(!_0x403040){const _0x4b802a=_0x4670eb[_0x399ca1(0xe9)][_0x399ca1(0x14f)];_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0xe5)](_0x399ca1(0x1d0)+_0x4b802a+'s'),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4670eb,_0x4b802a,_0x49a865,_0x50bd20);return;}this[_0x399ca1(0x1c8)](_0x403040[_0x399ca1(0x111)]);if(_0x403040[_0x399ca1(0x171)]){_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0x1ce)](_0x399ca1(0x109)),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4670eb,0x0,_0x49a865,_0x50bd20);return;}if(_0x403040[_0x399ca1(0x194)]&&_0x403040[_0x399ca1(0x194)]!==_0x399ca1(0x142)){const _0x424532=this['pipingManager'][_0x399ca1(0x1c2)];_0x424532!==_0x403040[_0x399ca1(0x194)]&&(this[_0x399ca1(0x1cd)]['debug'](_0x399ca1(0x17f)+_0x424532+_0x399ca1(0x15c)+_0x403040[_0x399ca1(0x194)]),this[_0x399ca1(0x185)][_0x399ca1(0x1c2)]=_0x403040[_0x399ca1(0x194)]);}if(_0x403040['collectAndSendLog']&&_0x403040[_0x399ca1(0xe2)]!==_0x4670eb[_0x399ca1(0xe2)]){_0x4670eb['collectLogRequestId']=_0x403040['collectLogRequestId'];const _0x580cf2=_0x4670eb[_0x399ca1(0xe9)][_0x399ca1(0x153)][_0x399ca1(0x103)]&&path[_0x399ca1(0x159)](_0x4670eb[_0x399ca1(0xe9)][_0x399ca1(0x153)][_0x399ca1(0x103)],agent_logger_1[_0x399ca1(0x128)]['AGENT_LOG_FILE']);_0x580cf2&&fs['existsSync'](_0x580cf2)?setTimeout(()=>__classPrivateFieldGet(_0x4670eb,_Debuglet_controller,'f')[_0x399ca1(0x182)](_0x4670eb[_0x399ca1(0x1d2)],_0x403040[_0x399ca1(0xe2)],_0x580cf2)):_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0x1ce)](_0x399ca1(0xea)+_0x403040['collectLogRequestId']+_0x399ca1(0x18f)+_0x399ca1(0x1d3));}const _0x30bb9a=(_0x403040[_0x399ca1(0x144)]||[])[_0x399ca1(0x14e)](_0x138ea5=>new stackdriver_1[(_0x399ca1(0x1be))](_0x138ea5))['filter'](_0x562556=>{const _0x3ed11f=_0x399ca1,_0x299cc6=_0x562556[_0x3ed11f(0x11e)]||_0x3ed11f(0x1b2);if(__classPrivateFieldGet(_0x4670eb,_Debuglet_completedBreakpointMap,'f')[_0x562556['id']])return![];if(_0x299cc6!=='CAPTURE'&&_0x299cc6!==_0x3ed11f(0x12d))return _0x4670eb[_0x3ed11f(0x1cd)][_0x3ed11f(0xfb)](_0x3ed11f(0x168),_0x299cc6),_0x562556[_0x3ed11f(0x131)]=new status_message_1['StatusMessage'](status_message_1[_0x3ed11f(0xfc)][_0x3ed11f(0x150)],utils_1['errors'][_0x3ed11f(0x1bd)],!![]),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3ed11f(0x1dc)](_0x4670eb,_0x562556),![];return!![];}),_0xf25ec4=__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x399ca1(0x1dc)](_0x4670eb);let _0x575e13=_0xf25ec4[_0x399ca1(0x1ad)]>0x0;__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x399ca1(0x1dc)](_0x4670eb,_0xf25ec4),_0x575e13=_0x575e13||__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x399ca1(0x1dc)](_0x4670eb,_0x30bb9a),_0x4670eb[_0x399ca1(0xdd)]('breakpoints_fetched',_0x30bb9a[_0x399ca1(0x1ad)]);_0x575e13&&_0x4670eb[_0x399ca1(0x1cd)]['debug'](formatBreakpoints(_0x399ca1(0x12e),_0x4670eb[_0x399ca1(0xe3)]));__classPrivateFieldSet(_0x4670eb,_Debuglet_breakpointFetchedTimestamp,Date[_0x399ca1(0x105)](),'f');_0x49a865?__classPrivateFieldGet(_0x4670eb,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4670eb,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x4670eb,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x399ca1(0x1dc)](_0x4670eb,0x0,_0x49a865,_0x50bd20);return;},_0x50bd20);},_0xd72c2b*0x3e8)[_0x203f25(0x1cf)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x55d506){const _0x4a3a3f=a18_0x479f82,_0x4634dc=this,_0x595fd6=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x4a3a3f(0x1dc)](this,_0x55d506);let _0x1dfca9=![];return _0x55d506[_0x4a3a3f(0x1aa)](_0x3da2c5=>{const _0x243634=_0x4a3a3f;!__classPrivateFieldGet(_0x4634dc,_Debuglet_completedBreakpointMap,'f')[_0x3da2c5['id']]&&!_0x4634dc[_0x243634(0xe3)][_0x3da2c5['id']]&&(__classPrivateFieldGet(_0x4634dc,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x243634(0x1dc)](_0x4634dc,_0x3da2c5,_0x2c47c4=>{_0x2c47c4&&__classPrivateFieldGet(_0x4634dc,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x4634dc,_0x3da2c5,!![],![]);}),_0x1dfca9=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x243634(0x108)](_0x3da2c5['id'])),__classPrivateFieldGet(_0x4634dc,_Debuglet_quotaManager,'f')[_0x243634(0x10d)](_0x3da2c5['id'],_0x3da2c5[_0x243634(0x1ba)]),_0x4634dc[_0x243634(0x185)]['setPipingStatus'](_0x3da2c5['id'],_0x3da2c5[_0x243634(0x1c3)]);}),(0x0,mapSubtract_1[_0x4a3a3f(0x192)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x595fd6)['forEach'](_0x4432e7=>{delete __classPrivateFieldGet(_0x4634dc,_Debuglet_completedBreakpointMap,'f')[_0x4432e7['id']],_0x1dfca9=!![];}),(0x0,mapSubtract_1[_0x4a3a3f(0x192)])(this['activeBreakpointMap'],_0x595fd6)[_0x4a3a3f(0x1aa)](_0x3d7beb=>{const _0x2baf61=_0x4a3a3f;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2baf61(0x1dc)](this,_0x3d7beb,!![]),_0x1dfca9=!![];}),_0x1dfca9&&_0x4634dc[_0x4a3a3f(0x1cd)][_0x4a3a3f(0x1ac)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x595fd6)),_0x1dfca9;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x33e6f2){const _0x3c4499=a18_0x479f82,_0x47fc12={};return _0x33e6f2[_0x3c4499(0x1aa)](_0x3db8fc=>{_0x47fc12[_0x3db8fc['id']]=_0x3db8fc;}),_0x47fc12;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x8dfd86,_0x5a0782){const _0x163194=a18_0x479f82;this[_0x163194(0x1cd)][_0x163194(0x1ce)](_0x163194(0x180),_0x8dfd86),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x163194(0x1af)](_0x8dfd86['id']),this[_0x163194(0x185)][_0x163194(0xe7)](_0x8dfd86['id']),delete this[_0x163194(0xe3)][_0x8dfd86['id']],_0x5a0782&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x163194(0x181)](_0x8dfd86,_0x27e6b8=>{const _0x57866b=_0x163194;if(_0x27e6b8)this[_0x57866b(0x1cd)][_0x57866b(0xe5)](_0x27e6b8);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x1cbe15,_0x30a4f2){const _0x312744=a18_0x479f82,_0x2ea2da=this;_0x2ea2da[_0x312744(0x1cd)]['info'](_0x312744(0x15b),_0x1cbe15);if(!_0x2ea2da['config'][_0x312744(0x1a2)]&&(_0x1cbe15[_0x312744(0x175)]||_0x1cbe15[_0x312744(0xf9)])){_0x2ea2da[_0x312744(0x1cd)]['error'](utils_1['errors'][_0x312744(0x1bf)]['description']||''),_0x1cbe15['status']=new status_message_1[(_0x312744(0xfc))](status_message_1[_0x312744(0xfc)][_0x312744(0x150)],utils_1['errors'][_0x312744(0x1bf)],!![]),setImmediate(()=>{const _0x41e453=_0x312744;_0x30a4f2(utils_1[_0x41e453(0xfa)][_0x41e453(0x1bf)]);});return;}if((0x0,utils_1[_0x312744(0x127)])(process[_0x312744(0x152)],_0x312744(0x133))){const _0x240dfe=utils_1[_0x312744(0xfa)][_0x312744(0x13c)];_0x2ea2da[_0x312744(0x1cd)]['error'](_0x240dfe),_0x1cbe15['status']=new status_message_1[(_0x312744(0xfc))](status_message_1[_0x312744(0xfc)]['UNSPECIFIED'],_0x240dfe,!![]),setImmediate(()=>{_0x30a4f2(_0x240dfe);});return;}const _0x3eabe9=_0x1cbe15[_0x312744(0x13a)]?Number(_0x1cbe15[_0x312744(0x13a)][_0x312744(0x1da)]):Date[_0x312744(0x105)]()/0x3e8,_0x44f4de=_0x1cbe15['expirationSeconds']||_0x2ea2da[_0x312744(0xe9)][_0x312744(0x112)];_0x1cbe15[_0x312744(0xe4)]=_0x3eabe9+_0x44f4de,_0x1cbe15[_0x312744(0x12b)]?.[_0x312744(0x13d)]&&(_0x1cbe15[_0x312744(0x12b)]['path']=path[_0x312744(0xf4)](_0x1cbe15[_0x312744(0x12b)][_0x312744(0x13d)]),path[_0x312744(0xeb)]===path['posix']['sep']&&(_0x1cbe15[_0x312744(0x12b)][_0x312744(0x13d)]=_0x1cbe15['location']['path'][_0x312744(0x124)]('\x5c')[_0x312744(0x159)](path[_0x312744(0xeb)]))),__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')['set'](_0x1cbe15,_0x284a6a=>{const _0x20d152=_0x312744;if(_0x284a6a){_0x30a4f2(_0x284a6a);return;}_0x2ea2da[_0x20d152(0x1cd)][_0x20d152(0x1ce)](_0x20d152(0x172),_0x1cbe15),_0x2ea2da[_0x20d152(0xe3)][_0x1cbe15['id']]=_0x1cbe15,_0x1cbe15['action']==='LOG'?__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')[_0x20d152(0x176)](_0x1cbe15,(_0xdc8395,_0x3abf07)=>{const _0x2e1344=_0x20d152,_0x11b3d1=_0x3abf07['map'](_0xc7c631=>__classPrivateFieldGet(_0x2ea2da,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x2ea2da,_0xc7c631)),_0xb9b920=(0x0,format_1['format'])(_0xdc8395,_0x11b3d1),_0x577f76=_0x2e1344(0x16a)+(__classPrivateFieldGet(_0x2ea2da,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0xb9b920)||_0xb9b920),_0x396771=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2e1344(0xe8)](_0x577f76,_0x1cbe15['id']);if(_0x396771){const _0x2ecda7=_0x396771[_0x2e1344(0x1bb)],_0x5f32a1=_0x396771[_0x2e1344(0x1a7)];let _0xd46e,_0x394931;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2e1344(0x1b1)]()&&!_0x5f32a1&&(_0xd46e=_0x2e1344(0x16a)+_0xdc8395,_0x394931=_0x11b3d1);_0x2ea2da['pipingManager']['addAndPipeLog'](_0x2ea2da[_0x2e1344(0x1d2)],_0x1cbe15['id'],_0x2ecda7,_0x1cbe15[_0x2e1344(0xf7)],_0xd46e,_0x394931);if(_0x5f32a1)__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0xf1a003=_0x2e1344;__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')?.[_0xf1a003(0x16c)](),__classPrivateFieldSet(_0x2ea2da,_Debuglet_nextEnableTimeout,null,'f');},_0x2ea2da[_0x2e1344(0xe9)][_0x2e1344(0x1c9)][_0x2e1344(0x170)]*0x3e8),'f');else _0x2ecda7?.[_0x2e1344(0x1ad)]===0x0&&__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')?.[_0x2e1344(0x1b8)]();}},()=>{return __classPrivateFieldGet(_0x2ea2da,_Debuglet_completedBreakpointMap,'f')[_0x1cbe15['id']];},_0x1e592c=>{const _0x50b529=_0x20d152;if(_0x1e592c){_0x2ea2da[_0x50b529(0x1cd)][_0x50b529(0xe5)](_0x1e592c),_0x30a4f2(_0x1e592c);return;}}):__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')[_0x20d152(0x10a)](_0x1cbe15,_0x28ed37=>{const _0x48a423=_0x20d152;if(_0x28ed37){setImmediate(()=>{const _0x738485=a18_0x2396;_0x2ea2da[_0x738485(0x1cd)][_0x738485(0xe5)](_0x28ed37),_0x30a4f2(_0x28ed37);});return;}_0x2ea2da[_0x48a423(0x1cd)]['info'](_0x48a423(0x119),_0x1cbe15),__classPrivateFieldGet(_0x2ea2da,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x48a423(0x1dc)](_0x2ea2da,_0x1cbe15,__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')[_0x48a423(0x191)](_0x1cbe15['id'])<=0x0);}),__classPrivateFieldGet(_0x2ea2da,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x2ea2da,_0x1cbe15);}),this[_0x312744(0xdd)](_0x312744(0x161));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4bde3f,_0x470593,_0x430c80=!![]){const _0x3e96c3=a18_0x479f82,_0x2877b8=this;if(_0x4bde3f['status']&&_0x4bde3f[_0x3e96c3(0x131)]['isError']){let _0x33468f=_0x4bde3f[_0x3e96c3(0x131)]?.[_0x3e96c3(0x17e)]?.[_0x3e96c3(0x1a6)]||'';_0x4bde3f['status']?.[_0x3e96c3(0x17e)]?.['parameters']&&(_0x33468f+=':\x20'+_0x4bde3f['status']?.[_0x3e96c3(0x17e)]?.[_0x3e96c3(0x18e)][_0x3e96c3(0x187)]()),_0x2877b8[_0x3e96c3(0x1cd)][_0x3e96c3(0xfb)](_0x3e96c3(0x1a4)+_0x4bde3f+_0x3e96c3(0x156)+_0x33468f);}else _0x2877b8[_0x3e96c3(0x1cd)][_0x3e96c3(0x1ce)](_0x3e96c3(0x100),_0x4bde3f);_0x470593&&(__classPrivateFieldGet(_0x2877b8,_Debuglet_completedBreakpointMap,'f')[_0x4bde3f['id']]=!![],__classPrivateFieldGet(_0x2877b8,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x2877b8,_0x4bde3f,_0x430c80)),__classPrivateFieldGet(_0x2877b8,_Debuglet_controller,'f')[_0x3e96c3(0x1c5)](_0x2877b8['debuggee'],extend(!![],{},_0x4bde3f));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x530bfb){const _0x49e2c3=a18_0x479f82,_0x56ced0=this;_0x56ced0[_0x49e2c3(0x1cd)][_0x49e2c3(0x1ac)]('reporting\x20breakpoint\x20'+_0x530bfb+_0x49e2c3(0x19c));const _0x5dd821=extend(!![],{},_0x530bfb);_0x5dd821[_0x49e2c3(0x164)]=![],_0x5dd821[_0x49e2c3(0x131)]=new status_message_1['StatusMessage'](status_message_1[_0x49e2c3(0xfc)][_0x49e2c3(0x150)],undefined,![],!![]),__classPrivateFieldGet(_0x56ced0,_Debuglet_controller,'f')[_0x49e2c3(0x1c5)](_0x56ced0[_0x49e2c3(0x1d2)],_0x5dd821);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x21ddb5){const _0xf4845d=a18_0x479f82,_0x21b3c7=this;this[_0xf4845d(0x1cd)]['info'](_0xf4845d(0x1cb),_0x21ddb5),__classPrivateFieldGet(_0x21b3c7,_Debuglet_completedBreakpointMap,'f')[_0x21ddb5['id']]=!![],__classPrivateFieldGet(_0x21b3c7,_Debuglet_controller,'f')[_0xf4845d(0x1c5)](_0x21b3c7[_0xf4845d(0x1d2)],_0x21ddb5);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x267c23){const _0x33fe8f=this;_0x267c23['forEach'](_0x2b8560=>{const _0x5ba423=a18_0x2396;_0x33fe8f[_0x5ba423(0x1cd)]['info']('Expiring\x20breakpoint',_0x2b8560),__classPrivateFieldGet(_0x33fe8f,_Debuglet_completedBreakpointMap,'f')[_0x2b8560['id']]=!![],__classPrivateFieldGet(_0x33fe8f,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5ba423(0x1dc)](_0x33fe8f,_0x2b8560,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x41bf7f=a18_0x479f82,_0x55d48d=Date['now']()/0x3e8;return Object[_0x41bf7f(0x121)](this[_0x41bf7f(0xe3)])[_0x41bf7f(0x19f)](_0x3fd75e=>_0x3fd75e[_0x41bf7f(0xe4)]?_0x3fd75e[_0x41bf7f(0xe4)]<_0x55d48d:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x11022a){const _0x1b44c2=a18_0x479f82,_0x13c307=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x11022a),_0x18980a=_0x13c307[_0x1b44c2(0x15e)],_0xc95f33=_0x13c307[_0x1b44c2(0xee)];_0x18980a&&_0x18980a['length']&&this[_0x1b44c2(0x1cd)][_0x1b44c2(0x1ac)](_0x1b44c2(0x1a1),_0x18980a[_0x1b44c2(0x159)]('\x0a\x09')),_0xc95f33&&_0xc95f33[_0x1b44c2(0x1ad)]&&this['logger'][_0x1b44c2(0x1ac)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0xc95f33[_0x1b44c2(0x159)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x1b44c2(0x1a5))](_0x18980a,_0xc95f33,this[_0x1b44c2(0xe9)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x5a61cd){const _0x1c5d36=a18_0x479f82,_0x49907f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1c5d36(0xf6)](_0x5a61cd);_0x49907f?.[_0x1c5d36(0x1ad)]&&this[_0x1c5d36(0x1cd)][_0x1c5d36(0x1ac)]('Redactions:\x20\x0a\x09',_0x49907f[_0x1c5d36(0x14e)](_0x343df0=>_0x1c5d36(0xef)+_0x343df0[_0x1c5d36(0x149)]+'\x20(type:\x20'+_0x343df0[_0x1c5d36(0x118)]+_0x1c5d36(0x11c)+_0x343df0[_0x1c5d36(0x147)]+_0x1c5d36(0x129)+_0x343df0['caseInsensitive'])[_0x1c5d36(0x159)]('\x0a\x09'));if((0x0,utils_1[_0x1c5d36(0x127)])(process[_0x1c5d36(0x152)],'>=12')){const {RedactionManagerRE2JS:_0x71295}=await Promise[_0x1c5d36(0x1a9)]()[_0x1c5d36(0x1c4)](()=>require('./reduction/redaction-manager-re2js'));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x71295(this[_0x1c5d36(0x1cd)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1c5d36(0x11a)](_0x49907f);}},_Debuglet_stringify=function _Debuglet_stringify(_0x114841){const _0x1e7e5e=a18_0x479f82;if(!_0x114841)return JSON[_0x1e7e5e(0xf5)](_0x114841,(_0x34b50e,_0x154fee)=>_0x154fee===undefined?_0x1e7e5e(0x107):_0x154fee);if(Array[_0x1e7e5e(0x106)](_0x114841)){const _0x161338=[];for(const _0x480679 of _0x114841){_0x161338[_0x1e7e5e(0x1cc)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1e7e5e(0x1dc)](this,_0x480679));}return'['+_0x161338[_0x1e7e5e(0x159)](',\x20')+']';}if(typeof _0x114841==='object'){const _0x220249=Object[_0x1e7e5e(0x101)](_0x114841)[_0x1e7e5e(0x14e)](([_0x274e18,_0x43de3e])=>{const _0x1ab621=_0x1e7e5e,_0x3ee129=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1ab621(0x13e)](_0x274e18)?redaction_manager_1[_0x1ab621(0x197)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1ab621(0x1dc)](this,_0x43de3e);return JSON['stringify'](_0x274e18)+':\x20'+_0x3ee129;})[_0x1e7e5e(0x159)](',\x20');return'{'+_0x220249+'}';}return JSON[_0x1e7e5e(0xf5)](_0x114841);});
|
|
1
|
+
const a18_0x508592=a18_0x93dc;(function(_0x5a9652,_0x4c72a3){const _0x229435=a18_0x93dc,_0x1f75ad=_0x5a9652();while(!![]){try{const _0x1c3b58=parseInt(_0x229435(0x124))/0x1+parseInt(_0x229435(0x1ec))/0x2*(parseInt(_0x229435(0x172))/0x3)+parseInt(_0x229435(0x1bf))/0x4+parseInt(_0x229435(0x17e))/0x5+parseInt(_0x229435(0x1c1))/0x6*(-parseInt(_0x229435(0x157))/0x7)+-parseInt(_0x229435(0x145))/0x8*(parseInt(_0x229435(0x1ee))/0x9)+parseInt(_0x229435(0x1f0))/0xa;if(_0x1c3b58===_0x4c72a3)break;else _0x1f75ad['push'](_0x1f75ad['shift']());}catch(_0x176cf0){_0x1f75ad['push'](_0x1f75ad['shift']());}}}(a18_0x21e5,0x62682));const a18_0x33a80f=(function(){let _0x61d3b3=!![];return function(_0x41b0da,_0x49d98e){const _0x253e9e=_0x61d3b3?function(){const _0x1df7a4=a18_0x93dc;if(_0x49d98e){const _0x1ae954=_0x49d98e[_0x1df7a4(0x14c)](_0x41b0da,arguments);return _0x49d98e=null,_0x1ae954;}}:function(){};return _0x61d3b3=![],_0x253e9e;};}()),a18_0x1ad7d4=a18_0x33a80f(this,function(){const _0x359904=a18_0x93dc;return a18_0x1ad7d4[_0x359904(0x102)]()[_0x359904(0x132)](_0x359904(0x1be))[_0x359904(0x102)]()[_0x359904(0x1ed)](a18_0x1ad7d4)[_0x359904(0x132)]('(((.+)+)+)+$');});a18_0x1ad7d4();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x1ee470,_0x5a59e8,_0xa9cb0,_0xda3c7,_0x1affd2){const _0x4d5b6b=a18_0x93dc;if(_0xda3c7==='m')throw new TypeError(_0x4d5b6b(0x10c));if(_0xda3c7==='a'&&!_0x1affd2)throw new TypeError(_0x4d5b6b(0x17d));if(typeof _0x5a59e8==='function'?_0x1ee470!==_0x5a59e8||!_0x1affd2:!_0x5a59e8[_0x4d5b6b(0x190)](_0x1ee470))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0xda3c7==='a'?_0x1affd2[_0x4d5b6b(0x1cf)](_0x1ee470,_0xa9cb0):_0x1affd2?_0x1affd2['value']=_0xa9cb0:_0x5a59e8[_0x4d5b6b(0x18f)](_0x1ee470,_0xa9cb0),_0xa9cb0;},__classPrivateFieldGet=this&&this[a18_0x508592(0x1e2)]||function(_0x49bb6a,_0xd797ed,_0x2da892,_0x5b6009){const _0x384600=a18_0x508592;if(_0x2da892==='a'&&!_0x5b6009)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0xd797ed===_0x384600(0x1c0)?_0x49bb6a!==_0xd797ed||!_0x5b6009:!_0xd797ed[_0x384600(0x190)](_0x49bb6a))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x2da892==='m'?_0x5b6009:_0x2da892==='a'?_0x5b6009[_0x384600(0x1cf)](_0x49bb6a):_0x5b6009?_0x5b6009['value']:_0xd797ed[_0x384600(0x1f3)](_0x49bb6a);},_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[a18_0x508592(0x146)](exports,a18_0x508592(0x12a),{'value':!![]}),exports[a18_0x508592(0x141)]=exports[a18_0x508592(0x119)]=void 0x0;const assert=require(a18_0x508592(0x168)),events_1=require(a18_0x508592(0x1ea)),extend=require(a18_0x508592(0x10a)),fs=require('fs'),path=require(a18_0x508592(0x164)),util=require(a18_0x508592(0x1ba)),status_message_1=require(a18_0x508592(0x1d6)),stackdriver_1=require(a18_0x508592(0x15d)),agent_logger_1=require('./agent-logger'),config_1=require('./config'),controller_1=require(a18_0x508592(0x173)),SourceMapper=require(a18_0x508592(0x104)),debugapi=require(a18_0x508592(0x170)),piping_manager_1=require(a18_0x508592(0x139)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require(a18_0x508592(0x1cb)),environment_metadata_1=require('./environment-metadata'),file_index_1=require('./io/file-index'),utils_1=require(a18_0x508592(0x138)),redaction_manager_1=require(a18_0x508592(0x1f5)),configuration_provider_1=require('./configuration-provider'),normalizeConfig_1=require(a18_0x508592(0x144)),mapSubtract_1=require(a18_0x508592(0xf7)),format_1=require(a18_0x508592(0x19a)),createDebuggee_1=require(a18_0x508592(0x19f)),readFilep=util[a18_0x508592(0x1de)](fs[a18_0x508592(0x1d3)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4ba530,_0x1085f3)=>{const _0x205ef2=a18_0x508592;let _0x51503b=_0x4ba530+util[_0x205ef2(0x19c)](_0x205ef2(0x108),_0x1085f3['id'],_0x1085f3['action'],util[_0x205ef2(0x130)](_0x1085f3['location']));if(_0x1085f3['createTime']){const _0x1d72a6=Number(_0x1085f3['createTime'][_0x205ef2(0x11c)]),_0x5ce5e3=new Date(_0x1d72a6*0x3e8);_0x51503b+='\x0a\x09createdTime:\x20'+_0x5ce5e3[_0x205ef2(0x102)]();}return _0x1085f3[_0x205ef2(0x1ae)]&&(_0x51503b+=_0x205ef2(0x1a1)+util['inspect'](_0x1085f3[_0x205ef2(0x1ae)])),_0x1085f3[_0x205ef2(0x1a9)]&&(_0x51503b+=_0x205ef2(0x18b)+util[_0x205ef2(0x130)](_0x1085f3[_0x205ef2(0x1a9)])),_0x51503b;},formatBreakpoints=(_0x5c508f,_0x2c7b3a)=>{const _0x3a425d=a18_0x508592;return _0x5c508f+Object[_0x3a425d(0x1e7)](_0x2c7b3a)[_0x3a425d(0x142)](_0x156176=>{return formatBreakpoint('',_0x2c7b3a[_0x156176]);})[_0x3a425d(0x140)]('\x0a');};function a18_0x93dc(_0x290dc,_0x53f372){const _0x319341=a18_0x21e5();return a18_0x93dc=function(_0x1ad7d4,_0x33a80f){_0x1ad7d4=_0x1ad7d4-0xf4;let _0x21e5b8=_0x319341[_0x1ad7d4];return _0x21e5b8;},a18_0x93dc(_0x290dc,_0x53f372);}class CachedPromise{constructor(){const _0x1d4ef6=a18_0x508592;this[_0x1d4ef6(0x1d8)]=null,this[_0x1d4ef6(0x150)]=new Promise(_0x72569d=>{const _0x124a58=_0x1d4ef6;this[_0x124a58(0x1d8)]=_0x72569d;});}[a18_0x508592(0x1f3)](){const _0x4029a3=a18_0x508592;return this[_0x4029a3(0x150)];}[a18_0x508592(0x11b)](){const _0x2ba06d=a18_0x508592;this[_0x2ba06d(0x1d8)]&&(this[_0x2ba06d(0x1d8)](),this['promiseResolve']=null);}}function a18_0x21e5(){const _0x3e0ba0=['js.map','Error\x20processing\x20the\x20sourcemaps.','Breakpoint\x20hit!:\x20','Active\x20Breakpoints:\x20\x0a','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','isOutOfQuota','CachedPromise','clear','resolve','seconds','default','mapSubtract','addAndPipeLog','stdErrThreshold','\x20to\x20','Switching\x20globalPiping\x20status\x20from\x20','ALLOW_EXPRESSIONS_MESSAGE','20584BJDImT','stringify','cwd','type','PatternsBlocklistManager','pattern','__esModule','caseInsensitive','getSourceContextFromFile','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','shouldRedactByName','error','inspect','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','search','replace','started','setCustomLogLevel','agentLogMaxFileSizeMb','selectStats','./util/utils','./piping-manager','hash','getLevel','info','parameters','prettyError','AGENT_LOG_FILE','join','Debuglet','map','quota','./debuglet-helpers/normalizeConfig','1608IjNdHZ','defineProperty','isReady','LOGPOINT:\x20','bind','wait','Debuglet\x20not\x20running','apply','.\x20message:\x20','\x09Got\x20error\x20from\x20server.\x20status:\x20','\x20because\x20','promise','selectFiles','Found\x20breakpoint\x20with\x20invalid\x20action:','PipingManager','SIGQUIT','StatusMessage','satisfies','138047wMLgIx','isFinalState','remotelyDisabled','kill','expirationTime','setIgnoreQuota','../types/stackdriver','FileIndex','NOT_SET','):\x20pattern:\x20','setLevel','readFullVersion','logMainConfigParams','path','enable','isRedactionActive','Scanner','assert','collectAndSendLog','agentLogLevel','Server\x20breakpoints:\x0a','expirationSeconds','collectLogRequestId','utf8','workingDirectory','./v8/debugapi','allowExpressions','9VYKPuw','./controller','getRedactions','.\x20Retrying\x20in\x20','start','createPerBreakpointConditionQuota','\x20caseInsensitive:\x20','DEBUG','.\x20Error:\x20','Redactions:\x20\x0a\x09','sep','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','310235eMYTHZ','disable','SIGINT','registered','listBreakpoints','LOG','logger','Unknown\x20agentLogLevel\x20','removePerBreakpointQuota','concat','UNSPECIFIED','all','Starting\x20debuggee','\x0a\x09expressions:\x20','EventEmitter','emit','breakpointExpirationSec','set','has','Malformed\x20source-context.json\x20file:\x20','deregister','setBlocklistManager','enqueueBreakpointUpdate','name:\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','APP_ONLY','debuggee','add','./debuglet-helpers/format','>=12','format','quotaRecoverySeconds','warn','./debuglet-helpers/createDebuggee','Disabled\x20by\x20the\x20server','\x0a\x09condition:\x20','GAE_MINOR_VERSION','source-context.json','fetcherActive','unref','Controller','Scheduling\x20registration\x20in\x20','values','expressions','errors','jsFileIndex','beforeExit','Blacklist\x20Exceptions:\x20\x0a\x09','condition','filename','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','setPipingStatus','allowRootAsWorkingDirectory','maxRequestRetryDelaySeconds','config','length','setPatterns','normalizeConfig','backoff','util','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','activeBreakpointMap','parse','(((.+)+)+)+$','2835056qANYuj','function','204ZntIbC','fromFileStats','SIGTERM','isDisabled','blacklist','agentLog','Debuggee\x20is\x20not\x20registered','posix','\x09Long\x20poll\x20completed.','Breakpoint','./io/scanner','pipeLogs','CAPTURE','globalPipingStatus','call','message','EnvironmentMetadata','\x09adding\x20breakpoint','readFile','extraPaths','pid','../client/stackdriver/status-message','redactionEnabled','promiseResolve','getInitialLevel','findFiles','remainingHits','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','createLogger','promisify','create','description','createDebuggee','__classPrivateFieldGet','initError','Fetching\x20breakpoints','name','then','keys','removeBreakpoint','breakpointUpdateIntervalSec','events','now','260450qYMPnA','constructor','7497HLblgw','BREAKPOINT_ACTION_MESSAGE','589510GGPLtS','undefined','isReadyManager','get','mapFiles','./reduction/redaction-manager','Failed\x20to\x20register\x20debuggee:\x20','internal','createTime','pipingManager','agentLogTargetDir','location','./debuglet-helpers/mapSubtract','object','waitExpired','QuotaManager','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','NODE_VERSION_MESSAGE','version','javascriptFileExtensions','env','Expiring\x20breakpoint','breakpoints','toString','split','./io/sourcemapper','\x20accepted\x20by\x20agent','forEach','action','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','stopped','extend','clearTransmissionTimeout','Private\x20method\x20is\x20not\x20writable','./reduction/redaction-manager-re2js','status','quotaCheck','debug','blacklist_exception','push'];a18_0x21e5=function(){return _0x3e0ba0;};return a18_0x21e5();}exports[a18_0x508592(0x119)]=CachedPromise;class IsReadyImpl{constructor(_0x4fb38b){this['debuglet']=_0x4fb38b;}['isReady'](){const _0x3e8068=a18_0x508592;return this['debuglet'][_0x3e8068(0x147)]();}}class Debuglet extends events_1[a18_0x508592(0x18c)]{constructor(_0x162c8f,_0x585eb2){const _0x248467=a18_0x508592;super(),_Debuglet_instances[_0x248467(0x199)](this),_Debuglet_debug[_0x248467(0x18f)](this,void 0x0),_Debuglet_v8debug[_0x248467(0x18f)](this,void 0x0),_Debuglet_running[_0x248467(0x18f)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x248467(0x18f)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x248467(0x18f)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x248467(0x18f)](this,null),this[_0x248467(0x1f2)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x248467(0x18f)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x248467(0x18f)](this,void 0x0),this[_0x248467(0x1b5)]=(0x0,normalizeConfig_1[_0x248467(0x1b8)])(_0x585eb2),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x162c8f,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x248467(0x184)]=agent_logger_1[_0x248467(0x11d)][_0x248467(0x1dd)](this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0xf5)],this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0x136)],this['config'][_0x248467(0x1c6)]['agentLogMaxFileCount'],this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0x16a)],this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0x120)]),(0x0,config_1[_0x248467(0x163)])(this[_0x248467(0x1b5)],this[_0x248467(0x184)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x248467(0x1d1))](this[_0x248467(0x184)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x248467(0x1a6))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x248467(0x1b5)],this[_0x248467(0x184)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x248467(0x167))](this[_0x248467(0x184)]),'f'),this[_0x248467(0x198)]=null,this['activeBreakpointMap']={},__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[(_0x248467(0xfa))](this[_0x248467(0x184)],this['config']),'f'),this[_0x248467(0xf4)]=new piping_manager_1[(_0x248467(0x153))](_0x248467(0x197),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x248467(0x1b5)]);}async['findFiles'](_0x52ee3f,_0x36fea4){const _0x300dd7=a18_0x508592,_0x2b2570=_0x52ee3f[_0x300dd7(0x16f)],_0x307864=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x2b2570,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x300dd7(0x1cf)](_a,_0x52ee3f[_0x300dd7(0xfe)][_0x300dd7(0x187)](_0x300dd7(0x113))),_0x36fea4,_0x52ee3f[_0x300dd7(0x1d4)]),_0x3f6f10=_0x307864[_0x300dd7(0x137)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x52ee3f[_0x300dd7(0xfe)])),_0x4d784c=file_index_1[_0x300dd7(0x15e)][_0x300dd7(0x1c2)](_0x3f6f10),_0x52d04c=_0x307864[_0x300dd7(0x151)](/.js.map$/,process[_0x300dd7(0x126)]()),_0x4b28e3=_0x307864['errors']();return{'mapFiles':_0x52d04c,'errors':_0x4b28e3,'jsFileIndex':_0x4d784c,'hash':_0x307864['hash']};}async[a18_0x508592(0x176)](){const _0x22f424=a18_0x508592,_0x1f616c=this,_0x1ce87b=_0x1f616c['config'][_0x22f424(0x16f)];if(!_0x1f616c['config'][_0x22f424(0x1b3)]&&path[_0x22f424(0x140)](_0x1ce87b,'..')===_0x1ce87b){const _0x225315=_0x22f424(0x117)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x22f424(0x1b0)+'do\x20this.';_0x1f616c[_0x22f424(0x184)][_0x22f424(0x12f)](_0x225315),_0x1f616c['emit'](_0x22f424(0x1e3),new Error(_0x225315));return;}let _0x3517ae;process[_0x22f424(0xff)][_0x22f424(0x1a2)]&&(_0x3517ae='GAE-'+process[_0x22f424(0xff)][_0x22f424(0x1a2)]);let _0x453f9b,_0xaf6264=_0x3517ae||'';try{_0x453f9b=await this[_0x22f424(0x1da)](_0x1f616c['config'],_0x3517ae),_0x453f9b[_0x22f424(0x1aa)][_0x22f424(0x106)](_0x1f616c[_0x22f424(0x184)][_0x22f424(0x19e)]);}catch(_0x3b04fd){_0x1f616c[_0x22f424(0x184)][_0x22f424(0x12f)]('Error\x20scanning\x20the\x20filesystem.',_0x3b04fd),_0x1f616c[_0x22f424(0x18d)](_0x22f424(0x1e3),_0x3b04fd);return;}try{const _0x1f9277=await SourceMapper['create'](_0x1f616c[_0x22f424(0x184)],_0x453f9b[_0x22f424(0x1f4)],_0x1f616c[_0x22f424(0x1b5)][_0x22f424(0x1f7)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x1f616c,_Debuglet_v8debug,debugapi[_0x22f424(0x1df)](_0x1f616c['logger'],_0x1f616c[_0x22f424(0x1b5)],_0x453f9b[_0x22f424(0x1ab)],_0x1f9277,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xaf6264=_0x3517ae||_0x453f9b[_0x22f424(0x13a)];}catch(_0x3d9433){_0x1f616c[_0x22f424(0x184)][_0x22f424(0x12f)](_0x22f424(0x114),_0x3d9433),_0x1f616c[_0x22f424(0x184)][_0x22f424(0x13c)](JSON[_0x22f424(0x125)](_0x3d9433)),_0x1f616c[_0x22f424(0x18d)](_0x22f424(0x1e3),_0x3d9433);}_0x1f616c['logger'][_0x22f424(0x13c)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0xaf6264);const _0x4d5b93=(0x0,utils_1[_0x22f424(0x162)])(_0x1f616c['logger'])[_0x22f424(0x133)]('\x0a','');_0x1f616c['logger'][_0x22f424(0x13c)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x4d5b93);let _0x4c20ed;try{_0x4c20ed=_0x1f616c['config']['sourceContext']||await _a[_0x22f424(0x12c)]();}catch(_0x326aa4){}_0x1f616c[_0x22f424(0x184)]['info']('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x22f424(0x1af)]),_0x1f616c[_0x22f424(0x184)]['debug']('Working\x20directory:\x20'+_0x1ce87b),_0x1f616c[_0x22f424(0x184)][_0x22f424(0x110)](_0x22f424(0x18a)),__classPrivateFieldSet(_0x1f616c,_Debuglet_running,!![],'f'),_0x1f616c['debuggee']=(0x0,createDebuggee_1[_0x22f424(0x1e1)])(_0xaf6264,_0x1f616c['config'],_0x4c20ed,__classPrivateFieldGet(_0x1f616c,_Debuglet_debug,'f')['packageInfo'],_0x4d5b93,_0x1f616c['logger'],__classPrivateFieldGet(_0x1f616c,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x1f616c,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x22f424(0x1cf)](_0x1f616c),__classPrivateFieldGet(_0x1f616c,_Debuglet_instances,'m',_Debuglet_register_)[_0x22f424(0x1cf)](_0x1f616c),_0x1f616c[_0x22f424(0x18d)](_0x22f424(0x134));}[a18_0x508592(0x147)](){const _0x3c01a2=a18_0x508592;if(Date[_0x3c01a2(0x1eb)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x3c01a2(0x11b)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3c01a2(0x1f3)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3c01a2(0x1f3)]()[_0x3c01a2(0x1e6)](()=>{const _0x4bff6e=_0x3c01a2;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4bff6e(0x1cf)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3c01a2(0x1f3)]();}}static async[a18_0x508592(0x12c)](){const _0x43cdc0=a18_0x508592,_0x44a828=await readFilep(_0x43cdc0(0x1a3),_0x43cdc0(0x16e));try{return JSON[_0x43cdc0(0x1bd)](_0x44a828);}catch(_0x5ba66e){throw new Error(_0x43cdc0(0x191)+_0x5ba66e);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x1acf6b=a18_0x508592;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x1acf6b(0x110)](_0x1acf6b(0x196));return;}this[_0x1acf6b(0x184)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x1acf6b(0x10b)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1acf6b(0x18d)](_0x1acf6b(0x109));}[a18_0x508592(0x135)](_0x19b3fb){const _0x15c524=a18_0x508592,_0x176462=this['logger'][_0x15c524(0x1d9)]();if(_0x176462===_0x15c524(0x110))return;switch(_0x19b3fb){case _0x15c524(0x179):this[_0x15c524(0x184)][_0x15c524(0x13b)]()!==_0x15c524(0x110)&&(this[_0x15c524(0x184)]['setLevel'](_0x15c524(0x110)),this['logger'][_0x15c524(0x110)](_0x15c524(0x1dc)));break;case _0x15c524(0x15f):case undefined:this[_0x15c524(0x184)]['getLevel']()===_0x15c524(0x110)&&(this['logger'][_0x15c524(0x161)](_0x176462),this[_0x15c524(0x184)][_0x15c524(0x13c)](_0x15c524(0x12d)+_0x176462+')'));break;default:this[_0x15c524(0x184)][_0x15c524(0x19e)](_0x15c524(0x185)+_0x19b3fb);}}}exports[a18_0x508592(0x141)]=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(_0x5ec4f6){const _0x56e09c=a18_0x508592;return new RegExp(_0x5ec4f6[_0x56e09c(0x142)](_0x3a50ca=>_0x3a50ca+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x5e9592=a18_0x508592,_0x245017=[_0x5e9592(0x1c3),_0x5e9592(0x180),_0x5e9592(0x154)];_0x245017[_0x5e9592(0x106)](_0x5e410a=>{process['once'](_0x5e410a,()=>{const _0xfe8435=a18_0x93dc;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xfe8435(0x192)](this[_0xfe8435(0x198)],()=>{const _0x114bd0=_0xfe8435;process[_0x114bd0(0x15a)](process[_0x114bd0(0x1d5)],_0x5e410a);});});}),process['once'](_0x5e9592(0x1ac),()=>{__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x3c375b=a18_0x508592;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3c375b(0x1cf)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x355499){const _0x12e7cc=a18_0x508592,_0x4dc4af=this;_0x4dc4af[_0x12e7cc(0x184)][_0x12e7cc(0x110)](_0x355499?_0x12e7cc(0x1a7)+_0x355499+'s':'Registering\x20debuggee');function _0x20353f(_0x7b5fe2,_0x17bf06,_0x33395e=![]){const _0x4c45a7=_0x12e7cc,_0x1af42d=_0x4dc4af[_0x4c45a7(0x198)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x4dc4af[_0x4c45a7(0x198)]?.['id']+':\x20'+(0x0,utils_1[_0x4c45a7(0x13e)])(_0x7b5fe2):_0x4c45a7(0x1f6)+(0x0,utils_1[_0x4c45a7(0x13e)])(_0x7b5fe2);_0x4dc4af[_0x4c45a7(0x184)][_0x4c45a7(0x12f)](_0x1af42d),_0x17bf06&&!_0x33395e&&_0x4dc4af['logger'][_0x4c45a7(0x12f)]('Result:\x20\x0a',_0x17bf06),__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4c45a7(0x1cf)](_0x4dc4af,(0x0,utils_1[_0x4c45a7(0x1b9)])(_0x355499,_0x4dc4af[_0x4c45a7(0x1b5)][_0x4c45a7(0x1f7)][_0x4c45a7(0x1b4)]));}setTimeout(()=>{const _0x4830ae=_0x12e7cc;if(!__classPrivateFieldGet(_0x4dc4af,_Debuglet_running,'f')){_0x20353f(new Error(_0x4830ae(0x14b)));return;}__classPrivateFieldGet(_0x4dc4af,_Debuglet_controller,'f')['register'](_0x4dc4af[_0x4830ae(0x198)],(_0x5f543d,_0x196cce,_0x161203=![])=>{const _0x434e0a=_0x4830ae;if(_0x5f543d){_0x20353f(_0x5f543d,_0x196cce,_0x161203);return;}if(_0x196cce['debuggee'][_0x434e0a(0x1c4)]){_0x20353f(new Error(_0x434e0a(0x1a0))),_0x4dc4af[_0x434e0a(0x18d)](_0x434e0a(0x159));return;}const _0x40bde0=_0x196cce[_0x434e0a(0x198)]['id'];_0x4dc4af['logger'][_0x434e0a(0x13c)]('Registered\x20as\x20debuggee:\x20'+_0x40bde0),_0x4dc4af[_0x434e0a(0x198)]['id']=_0x40bde0;const _0x3d7eca=[__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x434e0a(0x149)](_0x4dc4af)(_0x4dc4af[_0x434e0a(0x198)]['id'])];_0x4dc4af['config'][_0x434e0a(0x1d7)]&&_0x3d7eca[_0x434e0a(0x112)](__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x434e0a(0x149)](_0x4dc4af)(_0x4dc4af[_0x434e0a(0x198)]['id'])),Promise[_0x434e0a(0x189)](_0x3d7eca)['then'](()=>{const _0x1860b0=_0x434e0a;_0x4dc4af[_0x1860b0(0x18d)](_0x1860b0(0x181),_0x40bde0),__classPrivateFieldGet(_0x4dc4af,_Debuglet_debuggeeRegistered,'f')[_0x1860b0(0x11b)](),__classPrivateFieldGet(_0x4dc4af,_Debuglet_v8debug,'f')?.[_0x1860b0(0x193)](__classPrivateFieldGet(_0x4dc4af,_Debuglet_blocklistManager,'f')),!_0x4dc4af[_0x1860b0(0x1a4)]&&__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1860b0(0x1cf)](_0x4dc4af,0x0,this[_0x1860b0(0x1b5)]['fetchBreakpointsOnce'],_0x196cce?.['clientConnectionTimeoutInSeconds']);},_0x49cfcc=>{_0x20353f(_0x49cfcc);});});},_0x355499*0x3e8)[_0x12e7cc(0x1a5)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x26032b,_0x3958fc,_0x133116){const _0x305f94=a18_0x508592,_0x4e95dd=this;!_0x3958fc&&(_0x4e95dd[_0x305f94(0x1a4)]=!![]),setTimeout(()=>{const _0x363a30=_0x305f94;if(!__classPrivateFieldGet(_0x4e95dd,_Debuglet_running,'f'))return;!_0x3958fc&&assert(_0x4e95dd[_0x363a30(0x1a4)]),_0x4e95dd[_0x363a30(0x184)][_0x363a30(0x110)](_0x363a30(0x1e4)),__classPrivateFieldGet(_0x4e95dd,_Debuglet_controller,'f')[_0x363a30(0x182)](_0x4e95dd[_0x363a30(0x198)],(_0x5ecaa9,_0x297573,_0x12d89d)=>{const _0x111f09=_0x363a30;if(_0x297573?.[_0x111f09(0x10e)]===0x194){_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x13c)](_0x111f09(0x1c7)),_0x4e95dd[_0x111f09(0x1a4)]=![],__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x111f09(0x1cf)](_0x4e95dd),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_register_)[_0x111f09(0x1cf)](_0x4e95dd);return;}if(_0x5ecaa9){const _0x1a1535=(0x0,utils_1[_0x111f09(0x1b9)])(_0x26032b,_0x4e95dd[_0x111f09(0x1b5)]['internal']['maxRequestRetryDelaySeconds']);_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x12f)](_0x111f09(0x14e)+_0x297573?.[_0x111f09(0x10e)]+_0x111f09(0x14d)+_0x5ecaa9[_0x111f09(0x1d0)]+_0x111f09(0x175)+_0x1a1535+'s'),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,_0x1a1535,_0x3958fc,_0x133116);return;}_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x110)]('\x09'+_0x297573['status']+'\x20completed.');if(!_0x12d89d){const _0x398976=_0x4e95dd[_0x111f09(0x1b5)][_0x111f09(0x1e9)];_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x12f)](_0x111f09(0x1bb)+_0x398976+'s'),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,_0x398976,_0x3958fc,_0x133116);return;}this[_0x111f09(0x135)](_0x12d89d['agentLogLevel']);if(_0x12d89d[_0x111f09(0xf9)]){_0x4e95dd['logger']['info'](_0x111f09(0x1c9)),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,0x0,_0x3958fc,_0x133116);return;}if(_0x12d89d[_0x111f09(0x1cc)]&&_0x12d89d['pipeLogs']!==_0x111f09(0x15f)){const _0x332f12=this['pipingManager'][_0x111f09(0x1ce)];_0x332f12!==_0x12d89d[_0x111f09(0x1cc)]&&(this[_0x111f09(0x184)][_0x111f09(0x110)](_0x111f09(0x122)+_0x332f12+_0x111f09(0x121)+_0x12d89d['pipeLogs']),this[_0x111f09(0xf4)][_0x111f09(0x1ce)]=_0x12d89d[_0x111f09(0x1cc)]);}if(_0x12d89d[_0x111f09(0x169)]&&_0x12d89d['collectLogRequestId']!==_0x4e95dd[_0x111f09(0x16d)]){_0x4e95dd[_0x111f09(0x16d)]=_0x12d89d[_0x111f09(0x16d)];const _0x27420=_0x4e95dd[_0x111f09(0x1b5)][_0x111f09(0x1c6)][_0x111f09(0xf5)]&&path[_0x111f09(0x140)](_0x4e95dd[_0x111f09(0x1b5)][_0x111f09(0x1c6)][_0x111f09(0xf5)],agent_logger_1['default'][_0x111f09(0x13f)]);_0x27420&&fs['existsSync'](_0x27420)?setTimeout(()=>__classPrivateFieldGet(_0x4e95dd,_Debuglet_controller,'f')['sendAgentLogsToServer'](_0x4e95dd[_0x111f09(0x198)],_0x12d89d[_0x111f09(0x16d)],_0x27420)):_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x13c)](_0x111f09(0xfb)+_0x12d89d[_0x111f09(0x16d)]+_0x111f09(0x14f)+_0x111f09(0x131));}const _0x306972=(_0x12d89d[_0x111f09(0x101)]||[])['map'](_0x18d0d1=>new stackdriver_1[(_0x111f09(0x1ca))](_0x18d0d1))['filter'](_0x5144ad=>{const _0x40133b=_0x111f09,_0x1766c3=_0x5144ad[_0x40133b(0x107)]||_0x40133b(0x1cd);if(__classPrivateFieldGet(_0x4e95dd,_Debuglet_completedBreakpointMap,'f')[_0x5144ad['id']])return![];if(_0x1766c3!==_0x40133b(0x1cd)&&_0x1766c3!==_0x40133b(0x183))return _0x4e95dd['logger'][_0x40133b(0x19e)](_0x40133b(0x152),_0x1766c3),_0x5144ad[_0x40133b(0x10e)]=new status_message_1[(_0x40133b(0x155))](status_message_1[_0x40133b(0x155)][_0x40133b(0x188)],utils_1[_0x40133b(0x1aa)][_0x40133b(0x1ef)],!![]),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x40133b(0x1cf)](_0x4e95dd,_0x5144ad),![];return!![];}),_0x348712=__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x111f09(0x1cf)](_0x4e95dd);let _0x3ed46d=_0x348712[_0x111f09(0x1b6)]>0x0;__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x111f09(0x1cf)](_0x4e95dd,_0x348712),_0x3ed46d=_0x3ed46d||__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x4e95dd,_0x306972),_0x4e95dd[_0x111f09(0x18d)]('breakpoints_fetched',_0x306972[_0x111f09(0x1b6)]);_0x3ed46d&&_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x110)](formatBreakpoints(_0x111f09(0x116),_0x4e95dd[_0x111f09(0x1bc)]));__classPrivateFieldSet(_0x4e95dd,_Debuglet_breakpointFetchedTimestamp,Date[_0x111f09(0x1eb)](),'f');_0x3958fc?__classPrivateFieldGet(_0x4e95dd,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4e95dd,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x4e95dd,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,0x0,_0x3958fc,_0x133116);return;},_0x133116);},_0x26032b*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x47d734){const _0x3a9c06=a18_0x508592,_0x3999d1=this,_0x4ee920=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x3a9c06(0x1cf)](this,_0x47d734);let _0x294dad=![];return _0x47d734[_0x3a9c06(0x106)](_0x54af80=>{const _0x5aed0c=_0x3a9c06;!__classPrivateFieldGet(_0x3999d1,_Debuglet_completedBreakpointMap,'f')[_0x54af80['id']]&&!_0x3999d1[_0x5aed0c(0x1bc)][_0x54af80['id']]&&(__classPrivateFieldGet(_0x3999d1,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x3999d1,_0x54af80,_0x1c671d=>{const _0x259393=_0x5aed0c;_0x1c671d&&__classPrivateFieldGet(_0x3999d1,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x259393(0x1cf)](_0x3999d1,_0x54af80,!![],![]);}),_0x294dad=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5aed0c(0x177)](_0x54af80['id'])),__classPrivateFieldGet(_0x3999d1,_Debuglet_quotaManager,'f')[_0x5aed0c(0x15c)](_0x54af80['id'],_0x54af80['ignoreQuota']),_0x3999d1[_0x5aed0c(0xf4)][_0x5aed0c(0x1b2)](_0x54af80['id'],_0x54af80['pipingStatus']);}),(0x0,mapSubtract_1[_0x3a9c06(0x11e)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x4ee920)[_0x3a9c06(0x106)](_0x5e215a=>{delete __classPrivateFieldGet(_0x3999d1,_Debuglet_completedBreakpointMap,'f')[_0x5e215a['id']],_0x294dad=!![];}),(0x0,mapSubtract_1[_0x3a9c06(0x11e)])(this['activeBreakpointMap'],_0x4ee920)[_0x3a9c06(0x106)](_0x5cd951=>{const _0x397586=_0x3a9c06;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x397586(0x1cf)](this,_0x5cd951,!![]),_0x294dad=!![];}),_0x294dad&&_0x3999d1[_0x3a9c06(0x184)][_0x3a9c06(0x110)](formatBreakpoints(_0x3a9c06(0x16b),_0x4ee920)),_0x294dad;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xefe217){const _0x937daf={};return _0xefe217['forEach'](_0x543825=>{_0x937daf[_0x543825['id']]=_0x543825;}),_0x937daf;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x738979,_0x3f360f){const _0x31f143=a18_0x508592;this[_0x31f143(0x184)][_0x31f143(0x13c)]('\x09remove\x20breakpoint',_0x738979),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x31f143(0x186)](_0x738979['id']),this[_0x31f143(0xf4)][_0x31f143(0x1e8)](_0x738979['id']),delete this['activeBreakpointMap'][_0x738979['id']],_0x3f360f&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x31f143(0x11a)](_0x738979,_0x374a8f=>{const _0x1606c8=_0x31f143;if(_0x374a8f)this['logger'][_0x1606c8(0x12f)](_0x374a8f);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x852ebf,_0x308f8d){const _0x2490c1=a18_0x508592,_0x5a046c=this;_0x5a046c['logger'][_0x2490c1(0x13c)](_0x2490c1(0x1d2),_0x852ebf);if(!_0x5a046c[_0x2490c1(0x1b5)][_0x2490c1(0x171)]&&(_0x852ebf['condition']||_0x852ebf['expressions'])){_0x5a046c[_0x2490c1(0x184)][_0x2490c1(0x12f)](utils_1[_0x2490c1(0x1aa)]['ALLOW_EXPRESSIONS_MESSAGE']['description']||''),_0x852ebf[_0x2490c1(0x10e)]=new status_message_1[(_0x2490c1(0x155))](status_message_1['StatusMessage'][_0x2490c1(0x188)],utils_1[_0x2490c1(0x1aa)][_0x2490c1(0x123)],!![]),setImmediate(()=>{const _0x2cb3ae=_0x2490c1;_0x308f8d(utils_1[_0x2cb3ae(0x1aa)][_0x2cb3ae(0x123)]);});return;}if((0x0,utils_1[_0x2490c1(0x156)])(process['version'],'5.2\x20||\x20<4')){const _0x360400=utils_1[_0x2490c1(0x1aa)][_0x2490c1(0xfc)];_0x5a046c[_0x2490c1(0x184)]['error'](_0x360400),_0x852ebf[_0x2490c1(0x10e)]=new status_message_1[(_0x2490c1(0x155))](status_message_1[_0x2490c1(0x155)]['UNSPECIFIED'],_0x360400,!![]),setImmediate(()=>{_0x308f8d(_0x360400);});return;}const _0x53b183=_0x852ebf[_0x2490c1(0x1f8)]?Number(_0x852ebf['createTime']['seconds']):Date[_0x2490c1(0x1eb)]()/0x3e8,_0x44c90c=_0x852ebf[_0x2490c1(0x16c)]||_0x5a046c['config'][_0x2490c1(0x18e)];_0x852ebf[_0x2490c1(0x15b)]=_0x53b183+_0x44c90c,_0x852ebf[_0x2490c1(0xf6)]?.[_0x2490c1(0x164)]&&(_0x852ebf[_0x2490c1(0xf6)][_0x2490c1(0x164)]=path['normalize'](_0x852ebf['location']['path']),path[_0x2490c1(0x17c)]===path[_0x2490c1(0x1c8)][_0x2490c1(0x17c)]&&(_0x852ebf[_0x2490c1(0xf6)][_0x2490c1(0x164)]=_0x852ebf[_0x2490c1(0xf6)][_0x2490c1(0x164)][_0x2490c1(0x103)]('\x5c')[_0x2490c1(0x140)](path[_0x2490c1(0x17c)]))),__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')[_0x2490c1(0x18f)](_0x852ebf,_0x348a10=>{const _0x235c60=_0x2490c1;if(_0x348a10){_0x308f8d(_0x348a10);return;}_0x5a046c[_0x235c60(0x184)][_0x235c60(0x13c)]('\x09successfully\x20added\x20breakpoint',_0x852ebf),_0x5a046c[_0x235c60(0x1bc)][_0x852ebf['id']]=_0x852ebf,_0x852ebf[_0x235c60(0x107)]===_0x235c60(0x183)?__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')['log'](_0x852ebf,(_0x12efac,_0x19ba0a)=>{const _0x1b15b5=_0x235c60,_0x5a73b1=_0x19ba0a['map'](_0x2ff665=>__classPrivateFieldGet(_0x5a046c,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1b15b5(0x1cf)](_0x5a046c,_0x2ff665)),_0x2286fb=(0x0,format_1['format'])(_0x12efac,_0x5a73b1),_0x3e1be6=_0x1b15b5(0x148)+(__classPrivateFieldGet(_0x5a046c,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x2286fb)||_0x2286fb),_0x2ae6a9=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1b15b5(0x10f)](_0x3e1be6,_0x852ebf['id']);if(_0x2ae6a9){const _0x5119ec=_0x2ae6a9[_0x1b15b5(0x1d0)],_0x2d2df7=_0x2ae6a9[_0x1b15b5(0x118)];let _0x276865,_0x312434;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1b15b5(0x166)]()&&!_0x2d2df7&&(_0x276865=_0x1b15b5(0x148)+_0x12efac,_0x312434=_0x5a73b1);_0x5a046c[_0x1b15b5(0xf4)][_0x1b15b5(0x11f)](_0x5a046c[_0x1b15b5(0x198)],_0x852ebf['id'],_0x5119ec,_0x852ebf['logLevel'],_0x276865,_0x312434);if(_0x2d2df7)__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')?.[_0x1b15b5(0x17f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x53fe22=_0x1b15b5;__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')?.[_0x53fe22(0x165)](),__classPrivateFieldSet(_0x5a046c,_Debuglet_nextEnableTimeout,null,'f');},_0x5a046c[_0x1b15b5(0x1b5)][_0x1b15b5(0x143)][_0x1b15b5(0x19d)]*0x3e8),'f');else _0x5119ec?.[_0x1b15b5(0x1b6)]===0x0&&__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')?.[_0x1b15b5(0x17f)]();}},()=>{return __classPrivateFieldGet(_0x5a046c,_Debuglet_completedBreakpointMap,'f')[_0x852ebf['id']];},_0x400de0=>{const _0xbd794a=_0x235c60;if(_0x400de0){_0x5a046c[_0xbd794a(0x184)][_0xbd794a(0x12f)](_0x400de0),_0x308f8d(_0x400de0);return;}}):__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')[_0x235c60(0x14a)](_0x852ebf,_0x5d7f25=>{const _0x1819ef=_0x235c60;if(_0x5d7f25){setImmediate(()=>{const _0x4a9fe7=a18_0x93dc;_0x5a046c[_0x4a9fe7(0x184)][_0x4a9fe7(0x12f)](_0x5d7f25),_0x308f8d(_0x5d7f25);});return;}_0x5a046c['logger'][_0x1819ef(0x13c)](_0x1819ef(0x115),_0x852ebf),__classPrivateFieldGet(_0x5a046c,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1819ef(0x1cf)](_0x5a046c,_0x852ebf,__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')[_0x1819ef(0x1db)](_0x852ebf['id'])<=0x0);}),__classPrivateFieldGet(_0x5a046c,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x5a046c,_0x852ebf);}),this[_0x2490c1(0x18d)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x16df70,_0x513b54,_0x448d7a=!![]){const _0x350cb7=a18_0x508592,_0x18c721=this;if(_0x16df70[_0x350cb7(0x10e)]&&_0x16df70[_0x350cb7(0x10e)]['isError']){let _0x18f8c3=_0x16df70['status']?.['description']?.[_0x350cb7(0x19c)]||'';_0x16df70['status']?.[_0x350cb7(0x1e0)]?.[_0x350cb7(0x13d)]&&(_0x18f8c3+=':\x20'+_0x16df70[_0x350cb7(0x10e)]?.['description']?.[_0x350cb7(0x13d)][_0x350cb7(0x102)]()),_0x18c721[_0x350cb7(0x184)]['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x16df70+_0x350cb7(0x17a)+_0x18f8c3);}else _0x18c721['logger'][_0x350cb7(0x13c)](_0x350cb7(0x1b1),_0x16df70);_0x513b54&&(__classPrivateFieldGet(_0x18c721,_Debuglet_completedBreakpointMap,'f')[_0x16df70['id']]=!![],__classPrivateFieldGet(_0x18c721,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x350cb7(0x1cf)](_0x18c721,_0x16df70,_0x448d7a)),__classPrivateFieldGet(_0x18c721,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x18c721[_0x350cb7(0x198)],extend(!![],{},_0x16df70));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0xe2dafe){const _0x12639c=a18_0x508592,_0x2cced3=this;_0x2cced3[_0x12639c(0x184)]['debug']('reporting\x20breakpoint\x20'+_0xe2dafe+_0x12639c(0x105));const _0x1f6292=extend(!![],{},_0xe2dafe);_0x1f6292[_0x12639c(0x158)]=![],_0x1f6292['status']=new status_message_1[(_0x12639c(0x155))](status_message_1['StatusMessage'][_0x12639c(0x188)],undefined,![],!![]),__classPrivateFieldGet(_0x2cced3,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x2cced3['debuggee'],_0x1f6292);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x104162){const _0xaacfed=a18_0x508592,_0x3a2c01=this;this[_0xaacfed(0x184)][_0xaacfed(0x13c)]('rejecting\x20breakpoint',_0x104162),__classPrivateFieldGet(_0x3a2c01,_Debuglet_completedBreakpointMap,'f')[_0x104162['id']]=!![],__classPrivateFieldGet(_0x3a2c01,_Debuglet_controller,'f')[_0xaacfed(0x194)](_0x3a2c01[_0xaacfed(0x198)],_0x104162);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x3caeb8){const _0x50b334=a18_0x508592,_0x5583f6=this;_0x3caeb8[_0x50b334(0x106)](_0x38b73f=>{const _0x3a6950=_0x50b334;_0x5583f6['logger'][_0x3a6950(0x13c)](_0x3a6950(0x100),_0x38b73f),__classPrivateFieldGet(_0x5583f6,_Debuglet_completedBreakpointMap,'f')[_0x38b73f['id']]=!![],__classPrivateFieldGet(_0x5583f6,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3a6950(0x1cf)](_0x5583f6,_0x38b73f,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x118c1a=a18_0x508592,_0x250fdc=Date[_0x118c1a(0x1eb)]()/0x3e8;return Object[_0x118c1a(0x1a8)](this[_0x118c1a(0x1bc)])['filter'](_0x4a9b84=>_0x4a9b84[_0x118c1a(0x15b)]?_0x4a9b84[_0x118c1a(0x15b)]<_0x250fdc:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x26e3d){const _0x5a0886=a18_0x508592,_0x34e913=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x26e3d),_0x26a0ec=_0x34e913[_0x5a0886(0x1c5)],_0x2d0f2c=_0x34e913[_0x5a0886(0x111)];_0x26a0ec&&_0x26a0ec[_0x5a0886(0x1b6)]&&this[_0x5a0886(0x184)][_0x5a0886(0x110)]('Blacklist:\x20\x0a\x09',_0x26a0ec['join']('\x0a\x09')),_0x2d0f2c&&_0x2d0f2c[_0x5a0886(0x1b6)]&&this['logger'][_0x5a0886(0x110)](_0x5a0886(0x1ad),_0x2d0f2c[_0x5a0886(0x140)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x5a0886(0x128))](_0x26a0ec,_0x2d0f2c,this[_0x5a0886(0x1b5)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x25db60){const _0x417c07=a18_0x508592,_0x5cbc36=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x417c07(0x174)](_0x25db60);_0x5cbc36?.[_0x417c07(0x1b6)]&&this[_0x417c07(0x184)][_0x417c07(0x110)](_0x417c07(0x17b),_0x5cbc36['map'](_0x4247b1=>_0x417c07(0x195)+_0x4247b1[_0x417c07(0x1e5)]+'\x20(type:\x20'+_0x4247b1[_0x417c07(0x127)]+_0x417c07(0x160)+_0x4247b1[_0x417c07(0x129)]+_0x417c07(0x178)+_0x4247b1[_0x417c07(0x12b)])[_0x417c07(0x140)]('\x0a\x09'));if((0x0,utils_1[_0x417c07(0x156)])(process[_0x417c07(0xfd)],_0x417c07(0x19b))){const {RedactionManagerRE2JS:_0xffbafa}=await Promise[_0x417c07(0x11b)]()[_0x417c07(0x1e6)](()=>require(_0x417c07(0x10d)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0xffbafa(this[_0x417c07(0x184)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x417c07(0x1b7)](_0x5cbc36);}},_Debuglet_stringify=function _Debuglet_stringify(_0xce1fdc){const _0x5f20ba=a18_0x508592;if(!_0xce1fdc)return JSON[_0x5f20ba(0x125)](_0xce1fdc,(_0x1be378,_0x237070)=>_0x237070===undefined?_0x5f20ba(0x1f1):_0x237070);if(Array['isArray'](_0xce1fdc)){const _0x447e32=[];for(const _0x1593f3 of _0xce1fdc){_0x447e32[_0x5f20ba(0x112)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x1593f3));}return'['+_0x447e32['join'](',\x20')+']';}if(typeof _0xce1fdc===_0x5f20ba(0xf8)){const _0x13fda6=Object['entries'](_0xce1fdc)[_0x5f20ba(0x142)](([_0x20c5d0,_0x4cd6ea])=>{const _0x4e8de8=_0x5f20ba,_0x250a64=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4e8de8(0x12e)](_0x20c5d0)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4e8de8(0x1cf)](this,_0x4cd6ea);return JSON[_0x4e8de8(0x125)](_0x20c5d0)+':\x20'+_0x250a64;})['join'](',\x20');return'{'+_0x13fda6+'}';}return JSON['stringify'](_0xce1fdc);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a19_0xce64(_0x1ec501,_0x2be17f){const _0x2fd0a5=a19_0x5a64();return a19_0xce64=function(_0x1d181c,_0x17d553){_0x1d181c=_0x1d181c-0x17c;let _0x5a6447=_0x2fd0a5[_0x1d181c];return _0x5a6447;},a19_0xce64(_0x1ec501,_0x2be17f);}const a19_0xef0693=a19_0xce64;(function(_0xc8abe3,_0x2ba234){const _0xe00f08=a19_0xce64,_0x3978c0=_0xc8abe3();while(!![]){try{const _0x4643c7=-parseInt(_0xe00f08(0x1a6))/0x1*(-parseInt(_0xe00f08(0x1aa))/0x2)+parseInt(_0xe00f08(0x195))/0x3+-parseInt(_0xe00f08(0x17d))/0x4+-parseInt(_0xe00f08(0x17e))/0x5+parseInt(_0xe00f08(0x1a0))/0x6+parseInt(_0xe00f08(0x193))/0x7*(-parseInt(_0xe00f08(0x1ab))/0x8)+parseInt(_0xe00f08(0x19c))/0x9;if(_0x4643c7===_0x2ba234)break;else _0x3978c0['push'](_0x3978c0['shift']());}catch(_0x55049c){_0x3978c0['push'](_0x3978c0['shift']());}}}(a19_0x5a64,0xe89db));Object[a19_0xef0693(0x1b9)](exports,a19_0xef0693(0x197),{'value':!![]}),exports[a19_0xef0693(0x1ae)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0xef0693(0x1a5));var OS;(function(_0x1199c6){const _0x1ab7a1=a19_0xef0693;_0x1199c6[_0x1ab7a1(0x19f)]=_0x1ab7a1(0x191),_0x1199c6[_0x1ab7a1(0x18c)]=_0x1ab7a1(0x196),_0x1199c6[_0x1ab7a1(0x182)]=_0x1ab7a1(0x18f);}(OS||(OS={})));var ProcArch;(function(_0x1311f3){const _0x454152=a19_0xef0693,_0x22e59f=(function(){let _0x3befc3=!![];return function(_0xf9e4d1,_0x55c697){const _0x227249=_0x3befc3?function(){const _0x423ca2=a19_0xce64;if(_0x55c697){const _0xad486b=_0x55c697[_0x423ca2(0x1ad)](_0xf9e4d1,arguments);return _0x55c697=null,_0xad486b;}}:function(){};return _0x3befc3=![],_0x227249;};}()),_0x153dd9=_0x22e59f(this,function(){const _0x52981a=a19_0xce64;return _0x153dd9[_0x52981a(0x189)]()[_0x52981a(0x1a9)](_0x52981a(0x18d))[_0x52981a(0x189)]()[_0x52981a(0x1b5)](_0x153dd9)[_0x52981a(0x1a9)]('(((.+)+)+)+$');});_0x153dd9(),_0x1311f3[_0x454152(0x183)]=_0x454152(0x183),_0x1311f3[_0x454152(0x19d)]=_0x454152(0x19d),_0x1311f3[_0x454152(0x19b)]='arm',_0x1311f3[_0x454152(0x1b7)]='arm64';}(ProcArch||(ProcArch={})));function a19_0x5a64(){const _0x4db990=['match','arm','6122142YkcaLY','x32','\x20on\x20','Linux','10817310ynRBJx','_cachedOsRelease','procArch','/.dockerenv','warn','assert','217PASKNE','release','version','search','11342mRBqRA','24WVupvS','cpus','apply','EnvironmentMetadata','isInK8s','length','runtimeEnvironmentInfo','pid','systemTotalMemoryBytes','forEach','constructor','KUBERNETES_SERVICE_HOST','arm64','isInDocker','defineProperty','split','_osRelease','arch','error','6564624xbgeZt','9510820pMZFSi','cpuCoreCount','runtimeEnvironmentVersion','getProps','MacOS','x64','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','linuxDistroName','get','VERSION_ID','totalmem','toString','readFileSync','node','Windows','(((.+)+)+)+$','existsSync','mac','platform','linux','_logger','390943wqeeCO','utf-8','2849796FDieVq','windows','__esModule','agentOS','host'];a19_0x5a64=function(){return _0x4db990;};return a19_0x5a64();}const PlatformToOsMap={'linux':OS[a19_0xef0693(0x19f)],'win32':OS[a19_0xef0693(0x18c)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a19_0xef0693(0x19d)],'x64':ProcArch[a19_0xef0693(0x183)],'arm':ProcArch[a19_0xef0693(0x19b)],'arm64':ProcArch[a19_0xef0693(0x1b7)]};class EnvironmentMetadata{constructor(_0xab74fb){const _0x41173b=a19_0xef0693;assert(_0xab74fb!==null),this[_0x41173b(0x192)]=_0xab74fb;}get[a19_0xef0693(0x180)](){const _0x441be5=a19_0xef0693;try{const _0x130b73=process['versions'][_0x441be5(0x18b)][_0x441be5(0x19a)](/(\d+\.\d+)\..*/);if(_0x130b73)return _0x130b73[0x1];}catch(_0x5a36b7){this[_0x441be5(0x192)][_0x441be5(0x17c)](_0x5a36b7);}return;}get[a19_0xef0693(0x1b1)](){const _0x4e99c3=a19_0xef0693;return'Node.js\x20'+process[_0x4e99c3(0x1a8)]+_0x4e99c3(0x19e)+(0x0,os_1[_0x4e99c3(0x190)])()+'\x20'+(0x0,os_1[_0x4e99c3(0x1a7)])();}get[a19_0xef0693(0x1b2)](){const _0x5893ec=a19_0xef0693;return process[_0x5893ec(0x1b2)][_0x5893ec(0x189)]();}get[a19_0xef0693(0x1a2)](){const _0xe2fe3e=a19_0xef0693;return ArchToProcArchMap[process[_0xe2fe3e(0x1bc)]]||process['arch'];}get['cpuCoreCount'](){const _0x5f4f50=a19_0xef0693;return(0x0,os_1[_0x5f4f50(0x1ac)])()[_0x5f4f50(0x1b0)];}get[a19_0xef0693(0x1b3)](){const _0x1516c9=a19_0xef0693;return(0x0,os_1[_0x1516c9(0x188)])();}get[a19_0xef0693(0x199)](){return(0x0,os_1['hostname'])();}get[a19_0xef0693(0x198)](){const _0x337d1f=a19_0xef0693;return PlatformToOsMap[(0x0,os_1[_0x337d1f(0x190)])()]||(0x0,os_1[_0x337d1f(0x190)])();}get['osVersion'](){const _0x36be2c=a19_0xef0693;try{if(this[_0x36be2c(0x198)]===OS[_0x36be2c(0x19f)])return this[_0x36be2c(0x1bb)][_0x36be2c(0x186)](_0x36be2c(0x187))||(0x0,os_1[_0x36be2c(0x1a7)])();return(0x0,os_1[_0x36be2c(0x1a7)])();}catch(_0x18ac03){this[_0x36be2c(0x192)][_0x36be2c(0x17c)](_0x18ac03);}return;}get[a19_0xef0693(0x185)](){const _0x64aad3=a19_0xef0693;return this[_0x64aad3(0x198)]===OS['Linux']&&this[_0x64aad3(0x1bb)][_0x64aad3(0x186)]('ID')||'';}get[a19_0xef0693(0x1b8)](){const _0x2871c4=a19_0xef0693;return this['agentOS']===OS[_0x2871c4(0x19f)]?(0x0,fs_1[_0x2871c4(0x18e)])(_0x2871c4(0x1a3)):![];}get[a19_0xef0693(0x1af)](){const _0x462c6b=a19_0xef0693;return!!process['env'][_0x462c6b(0x1b6)];}get[a19_0xef0693(0x1bb)](){const _0x1cb59b=a19_0xef0693;if(!this[_0x1cb59b(0x1a1)]){this[_0x1cb59b(0x1a1)]=new Map();try{if(this['agentOS']===OS['Linux']){const _0x47efa1=(0x0,fs_1[_0x1cb59b(0x18a)])('/etc/os-release',_0x1cb59b(0x194));_0x47efa1[_0x1cb59b(0x1ba)](/\r?\n/)[_0x1cb59b(0x1b4)](_0x299cac=>{const _0xb41670=_0x1cb59b,[_0x3b378e,_0x5d04f1]=_0x299cac['trim']()[_0xb41670(0x1ba)]('=');this['_cachedOsRelease']?.['set'](_0x3b378e,_0x5d04f1?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x56355a){this[_0x1cb59b(0x192)][_0x1cb59b(0x1a4)](_0x1cb59b(0x184),_0x56355a);}}return this[_0x1cb59b(0x1a1)];}[a19_0xef0693(0x181)](){const _0x2679f1=a19_0xef0693;return{'runtimeEnvironmentVersion':this[_0x2679f1(0x180)],'runtimeEnvironmentInfo':this['runtimeEnvironmentInfo'],'pid':this[_0x2679f1(0x1b2)],'cpuCoreCount':this[_0x2679f1(0x17f)],'systemTotalMemoryBytes':this[_0x2679f1(0x1b3)],'host':this[_0x2679f1(0x199)],'agentOS':this[_0x2679f1(0x198)],'osVersion':this['osVersion'],'linuxDistroName':this[_0x2679f1(0x185)]||undefined,'isInDocker':this[_0x2679f1(0x1b8)],'isInK8s':this['isInK8s'],'procArch':this[_0x2679f1(0x1a2)]};}}exports[a19_0xef0693(0x1ae)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x4c10c=a20_0x2c4f;(function(_0x3cf53c,_0x3e7b45){const _0x1a3644=a20_0x2c4f,_0xb4538b=_0x3cf53c();while(!![]){try{const _0x17f8cd=parseInt(_0x1a3644(0xc3))/0x1+parseInt(_0x1a3644(0xc6))/0x2*(-parseInt(_0x1a3644(0xad))/0x3)+parseInt(_0x1a3644(0xc5))/0x4+-parseInt(_0x1a3644(0xab))/0x5+parseInt(_0x1a3644(0xb5))/0x6*(-parseInt(_0x1a3644(0xc0))/0x7)+-parseInt(_0x1a3644(0xc7))/0x8+parseInt(_0x1a3644(0xb7))/0x9*(parseInt(_0x1a3644(0xbc))/0xa);if(_0x17f8cd===_0x3e7b45)break;else _0xb4538b['push'](_0xb4538b['shift']());}catch(_0x55561c){_0xb4538b['push'](_0xb4538b['shift']());}}}(a20_0x256a,0x27cde));const a20_0x44731c=(function(){let _0x211a29=!![];return function(_0x185e77,_0x416931){const _0x4e20e3=_0x211a29?function(){const _0xa3aa58=a20_0x2c4f;if(_0x416931){const _0x2f5e46=_0x416931[_0xa3aa58(0xbe)](_0x185e77,arguments);return _0x416931=null,_0x2f5e46;}}:function(){};return _0x211a29=![],_0x4e20e3;};}()),a20_0x2ac4f8=a20_0x44731c(this,function(){const _0x3e4ed3=a20_0x2c4f;return a20_0x2ac4f8[_0x3e4ed3(0xb3)]()['search'](_0x3e4ed3(0xaa))[_0x3e4ed3(0xb3)]()[_0x3e4ed3(0xb8)](a20_0x2ac4f8)[_0x3e4ed3(0xc4)]('(((.+)+)+)+$');});function a20_0x2c4f(_0x5327d8,_0x5507c3){const _0xcd417d=a20_0x256a();return a20_0x2c4f=function(_0x2ac4f8,_0x44731c){_0x2ac4f8=_0x2ac4f8-0xa3;let _0x256aa5=_0xcd417d[_0x2ac4f8];return _0x256aa5;},a20_0x2c4f(_0x5327d8,_0x5507c3);}a20_0x2ac4f8();function a20_0x256a(){const _0x5d89ca=['6tglKNV','has','size','__esModule','sep','_fileStats','toString','stripStartingSep','544926KcBpvI','add','36JqzWbD','constructor','fileStats','defineProperty','length','454210OXpUtK','get','apply','filter','21rueddw','keys','indexOf','151675LaVZmJ','search','1193024TYnmlh','145610SUgEmT','138088xGZpNX','fromFileStats','generateSubPaths','substring','FileIndex','set','push','buildIndex','(((.+)+)+)+$','166215udAlgv','fileIndex'];a20_0x256a=function(){return _0x5d89ca;};return a20_0x256a();}'use strict';Object[a20_0x4c10c(0xba)](exports,a20_0x4c10c(0xb0),{'value':!![]}),exports[a20_0x4c10c(0xa6)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x5db666){const _0x10a6c3=a20_0x4c10c;this[_0x10a6c3(0xb2)]=_0x5db666,this['fileIndex']=new Map();}static[a20_0x4c10c(0xa3)](_0x5c9c7e){const _0x323cbb=a20_0x4c10c,_0x3de3fb=new FileIndex(_0x5c9c7e);return _0x3de3fb[_0x323cbb(0xa9)](Object[_0x323cbb(0xc1)](_0x5c9c7e)||[]),_0x3de3fb;}static['fromFileList'](_0x45cbb5){const _0x5f2fb9=a20_0x4c10c,_0x7299c4=new FileIndex(undefined);return _0x7299c4[_0x5f2fb9(0xa9)](_0x45cbb5||[]),_0x7299c4;}get[a20_0x4c10c(0xb9)](){return this['_fileStats']||{};}['findShortestFuzzyMatches'](_0x5a7fdd){const _0x25cc88=a20_0x4c10c,_0x4623f5=this['search'](_0x5a7fdd);if(!_0x4623f5||_0x4623f5[_0x25cc88(0xaf)]===0x0)return[];const _0x10f0eb=[..._0x4623f5]['map'](_0x595b90=>_0x595b90['length']),_0x5c127b=Math['min'](..._0x10f0eb),_0x346ad6=[..._0x4623f5][_0x25cc88(0xbf)](_0x339877=>_0x339877['length']===_0x5c127b);return _0x346ad6;}[a20_0x4c10c(0xa9)](_0x2e205b){const _0x12d51b=a20_0x4c10c;for(const _0x40d076 of _0x2e205b){for(const _0x3f0b6f of this[_0x12d51b(0xa4)](_0x40d076)){let _0xae0304=this[_0x12d51b(0xac)][_0x12d51b(0xbd)](_0x3f0b6f);_0xae0304===undefined&&(_0xae0304=new Set(),this[_0x12d51b(0xac)][_0x12d51b(0xa7)](_0x3f0b6f,_0xae0304)),_0xae0304[_0x12d51b(0xb6)](_0x40d076);}}}[a20_0x4c10c(0xa4)](_0x3a7ca3){const _0x1ceba4=a20_0x4c10c;_0x3a7ca3=this[_0x1ceba4(0xb4)](_0x3a7ca3);const _0x597db9=[_0x3a7ca3];while(_0x3a7ca3[_0x1ceba4(0xc2)](path[_0x1ceba4(0xb1)])>=0x0){_0x3a7ca3=_0x3a7ca3[_0x1ceba4(0xa5)](_0x3a7ca3['indexOf'](path[_0x1ceba4(0xb1)])+path[_0x1ceba4(0xb1)][_0x1ceba4(0xbb)],_0x3a7ca3[_0x1ceba4(0xbb)]),_0x597db9[_0x1ceba4(0xa8)](_0x3a7ca3);}return _0x597db9;}['search'](_0x5d3747){const _0x1f3c46=a20_0x4c10c;if(!_0x5d3747)return undefined;_0x5d3747=this[_0x1f3c46(0xb4)](_0x5d3747);for(const _0x5a83ee of this[_0x1f3c46(0xa4)](_0x5d3747)){if(this['fileIndex'][_0x1f3c46(0xae)](_0x5a83ee))return this[_0x1f3c46(0xac)]['get'](_0x5a83ee);}return undefined;}[a20_0x4c10c(0xb4)](_0x5b24ac){if(_0x5b24ac&&(_0x5b24ac[0x0]==='/'||_0x5b24ac[0x0]==='\x5c'))return _0x5b24ac['substr'](0x1);return _0x5b24ac;}}exports[a20_0x4c10c(0xa6)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x5ca576=a21_0x75e4;function a21_0x75e4(_0x2f5e89,_0xa7b369){const _0x181b72=a21_0x558c();return a21_0x75e4=function(_0x645958,_0x4493de){_0x645958=_0x645958-0x195;let _0x558c94=_0x181b72[_0x645958];return _0x558c94;},a21_0x75e4(_0x2f5e89,_0xa7b369);}(function(_0x497277,_0x51fe81){const _0x437f40=a21_0x75e4,_0x7966b=_0x497277();while(!![]){try{const _0x4953cf=-parseInt(_0x437f40(0x1ab))/0x1+-parseInt(_0x437f40(0x1ae))/0x2+parseInt(_0x437f40(0x1b0))/0x3*(-parseInt(_0x437f40(0x199))/0x4)+-parseInt(_0x437f40(0x1aa))/0x5+-parseInt(_0x437f40(0x1a5))/0x6*(-parseInt(_0x437f40(0x196))/0x7)+parseInt(_0x437f40(0x198))/0x8*(-parseInt(_0x437f40(0x19e))/0x9)+-parseInt(_0x437f40(0x19f))/0xa*(-parseInt(_0x437f40(0x19b))/0xb);if(_0x4953cf===_0x51fe81)break;else _0x7966b['push'](_0x7966b['shift']());}catch(_0x3674f3){_0x7966b['push'](_0x7966b['shift']());}}}(a21_0x558c,0xcbae0));const a21_0x4493de=(function(){let _0x5dc9b6=!![];return function(_0x5cee7e,_0x1937fe){const _0x511e05=_0x5dc9b6?function(){const _0x1d9411=a21_0x75e4;if(_0x1937fe){const _0x4ddba6=_0x1937fe[_0x1d9411(0x1b1)](_0x5cee7e,arguments);return _0x1937fe=null,_0x4ddba6;}}:function(){};return _0x5dc9b6=![],_0x511e05;};}()),a21_0x645958=a21_0x4493de(this,function(){const _0x1d1003=a21_0x75e4;return a21_0x645958[_0x1d1003(0x1a1)]()[_0x1d1003(0x19a)]('(((.+)+)+)+$')[_0x1d1003(0x1a1)]()[_0x1d1003(0x195)](a21_0x645958)[_0x1d1003(0x19a)]('(((.+)+)+)+$');});a21_0x645958();function a21_0x558c(){const _0x214a9a=['selectStats','errors','9IweRFg','25380rsOpzu','replace','toString','defineProperty','sep','path','131928YStlNW','forEach','errorMap','normalize','test','3491645rafavF','127295kxdBcB','selectFiles','all','1332210wplLWp','filter','132PmYHCH','apply','stats','constructor','371lWRpbu','keys','13005992ptKgGD','75940JeUosD','search','15697nbxcuV'];a21_0x558c=function(){return _0x214a9a;};return a21_0x558c();}'use strict';Object[a21_0x5ca576(0x1a2)](exports,'__esModule',{'value':!![]}),exports['ScanResultsImpl']=void 0x0;const path=require(a21_0x5ca576(0x1a4));class ScanResultsImpl{constructor(_0x1a6c85,_0x5bca5b,_0x2b60a9){const _0x1379eb=a21_0x5ca576;this[_0x1379eb(0x1b2)]=_0x1a6c85,this['errorMap']=_0x5bca5b,this['hash']=_0x2b60a9;}[a21_0x5ca576(0x19d)](){const _0x251435=a21_0x5ca576;return this[_0x251435(0x1a7)];}[a21_0x5ca576(0x1ad)](){return this['stats'];}[a21_0x5ca576(0x19c)](_0x53ad4d){const _0x35efb0=a21_0x5ca576,_0x351511={};return Object[_0x35efb0(0x197)](this[_0x35efb0(0x1b2)])[_0x35efb0(0x1a6)](_0x16f10d=>{const _0x469ebc=_0x35efb0;_0x53ad4d['test'](_0x16f10d)&&(_0x351511[_0x16f10d]=this[_0x469ebc(0x1b2)][_0x16f10d]);}),_0x351511;}[a21_0x5ca576(0x1ac)](_0x4122dd,_0x4b7d37){const _0x51d132=a21_0x5ca576;return _0x4b7d37=path[_0x51d132(0x1a8)](_0x4b7d37+path[_0x51d132(0x1a3)]),Object['keys'](this[_0x51d132(0x1b2)])[_0x51d132(0x1af)](_0x5b91f6=>{const _0x5f58c5=_0x51d132;return _0x5b91f6&&_0x4122dd[_0x5f58c5(0x1a9)](_0x5b91f6);})['map'](_0x17db41=>{const _0x92b5df=_0x51d132;return path['normalize'](_0x17db41)[_0x92b5df(0x1a0)](_0x4b7d37,'');});}}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x2915ef=a22_0x5112;function a22_0x451a(){const _0xc8c4ae=['computeStats','defineProperty','1933281chWpmE','27239320HOmXum','node_modules','hex','9836109NKBuIk','directory','pipe','error','add','length','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','SHA1-','data','4642092Niowsw','(((.+)+)+)+$','55VDeyKW','__esModule','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','statsForFile','from','end','info','8QvkgDg','findFiles','ScanResultsImpl','Scanner','constants','resolve','test','scan','apply','toString','split','search','crypto','set','createHash','basename','warn','544936kVRaHB','open','1620237LqUvYW','EMPTY-no-js-files','update','./scan-results','Indexing\x20files\x20in\x20','74YnCzwM','file','hasReadAccess','R_OK','sort','sha1','addFilesFromDir','Specified\x20extraPaths\x20does\x20not\x20exist!','.git','hash','logger','startsWith','84696HDfVEO','findit2'];a22_0x451a=function(){return _0xc8c4ae;};return a22_0x451a();}(function(_0xf5868e,_0x6e965){const _0x31d301=a22_0x5112,_0x17b366=_0xf5868e();while(!![]){try{const _0x35d901=parseInt(_0x31d301(0xc0))/0x1+-parseInt(_0x31d301(0xc5))/0x2*(-parseInt(_0x31d301(0xd1))/0x3)+-parseInt(_0x31d301(0xbe))/0x4*(-parseInt(_0x31d301(0xe4))/0x5)+parseInt(_0x31d301(0xe2))/0x6+-parseInt(_0x31d301(0xd5))/0x7+parseInt(_0x31d301(0xeb))/0x8*(-parseInt(_0x31d301(0xd9))/0x9)+-parseInt(_0x31d301(0xd6))/0xa;if(_0x35d901===_0x6e965)break;else _0x17b366['push'](_0x17b366['shift']());}catch(_0x4a3dcb){_0x17b366['push'](_0x17b366['shift']());}}}(a22_0x451a,0xce11d));const a22_0x4f2320=(function(){let _0x5d2b47=!![];return function(_0x2f1e81,_0x3a9f60){const _0xbb03ec=_0x5d2b47?function(){const _0x13e8a1=a22_0x5112;if(_0x3a9f60){const _0x116ad5=_0x3a9f60[_0x13e8a1(0xf3)](_0x2f1e81,arguments);return _0x3a9f60=null,_0x116ad5;}}:function(){};return _0x5d2b47=![],_0xbb03ec;};}()),a22_0x362396=a22_0x4f2320(this,function(){const _0x11f142=a22_0x5112;return a22_0x362396[_0x11f142(0xf4)]()[_0x11f142(0xf6)]('(((.+)+)+)+$')[_0x11f142(0xf4)]()['constructor'](a22_0x362396)[_0x11f142(0xf6)](_0x11f142(0xe3));});a22_0x362396();function a22_0x5112(_0x30a500,_0xe1760f){const _0x35fdaf=a22_0x451a();return a22_0x5112=function(_0x362396,_0x4f2320){_0x362396=_0x362396-0xbc;let _0x451ad4=_0x35fdaf[_0x362396];return _0x451ad4;},a22_0x5112(_0x30a500,_0xe1760f);}'use strict';Object[a22_0x2915ef(0xd4)](exports,a22_0x2915ef(0xe5),{'value':!![]}),exports[a22_0x2915ef(0xee)]=void 0x0;const crypto=require(a22_0x2915ef(0xf7)),fs=require('fs'),path=require('path'),scan_results_1=require(a22_0x2915ef(0xc3));class Scanner{constructor(_0x5cbbc3){const _0x9c4364=a22_0x2915ef;this[_0x9c4364(0xcf)]=_0x5cbbc3;}async[a22_0x2915ef(0xf2)](_0x5ec643,_0xd39260,_0x3cdeb5,_0x4523e1){const _0x2db227=a22_0x2915ef,_0x2a810f=await this[_0x2db227(0xec)](_0x5ec643,_0xd39260,_0x4523e1);return this[_0x2db227(0xd3)](_0x2a810f,_0x3cdeb5);}[a22_0x2915ef(0xd3)](_0xd108b8,_0x5b4634){return new Promise(async _0x1f5e3c=>{const _0x35663e=a22_0x5112;if(_0xd108b8[_0x35663e(0xde)]===0x0){_0x1f5e3c(new scan_results_1[(_0x35663e(0xed))]({},new Map(),_0x35663e(0xc1)));return;}const _0x57ef23=[],_0x141a5e={},_0x10f1cd=new Map();for(const _0x838083 of _0xd108b8){try{const _0x5d4c6c=await this[_0x35663e(0xe7)](_0x838083,!_0x5b4634);!_0x5b4634&&_0x57ef23['push'](_0x5d4c6c[_0x35663e(0xce)]),_0x141a5e[_0x838083]=_0x5d4c6c;}catch(_0x4df73b){_0x10f1cd[_0x35663e(0xf8)](_0x838083,_0x4df73b);}}let _0x537692;if(!_0x5b4634){const _0x4ee113=_0x57ef23[_0x35663e(0xc9)]()['join'](),_0x58b95c=crypto[_0x35663e(0xf9)](_0x35663e(0xca))[_0x35663e(0xc2)](_0x4ee113)['digest']('hex');_0x537692=_0x35663e(0xe0)+_0x58b95c;}else _0x537692=_0x5b4634;_0x1f5e3c(new scan_results_1[(_0x35663e(0xed))](_0x141a5e,_0x10f1cd,_0x537692));});}async[a22_0x2915ef(0xec)](_0x102866,_0x15b6e4,_0x504f6f){const _0x4ad9c5=a22_0x2915ef,_0x30bb09=new Set();await this[_0x4ad9c5(0xcb)](_0x30bb09,_0x102866,_0x15b6e4);for(const _0x1d6d53 of _0x504f6f??[]){if(_0x1d6d53){const _0x44688e=path[_0x4ad9c5(0xf0)](_0x1d6d53);try{await this['addFilesFromDir'](_0x30bb09,_0x44688e,_0x15b6e4);}catch(_0x1704ee){this[_0x4ad9c5(0xcf)][_0x4ad9c5(0xdc)](_0x4ad9c5(0xcc),_0x1704ee);continue;}}}return Array[_0x4ad9c5(0xe8)](_0x30bb09);}static['hasReadAccess'](_0x5e4b8f){const _0x54c69d=a22_0x2915ef;try{return fs['accessSync'](_0x5e4b8f,fs[_0x54c69d(0xef)][_0x54c69d(0xc8)]),!![];}catch(_0x3dbd5e){return![];}}async[a22_0x2915ef(0xcb)](_0x3ea340,_0x5b74a4,_0x5b2f08){return new Promise((_0x16e63f,_0x2d99a5)=>{const _0x1477c7=a22_0x5112;let _0x1e560d;if(!_0x5b74a4){_0x2d99a5(new Error(_0x1477c7(0xdf)));return;}this['logger'][_0x1477c7(0xea)](_0x1477c7(0xc4)+path[_0x1477c7(0xf0)](_0x5b74a4));const _0x351228=findit(_0x5b74a4);_0x351228['on'](_0x1477c7(0xdc),_0x2895ec=>{_0x1e560d=_0x2895ec;return;}),_0x351228['on'](_0x1477c7(0xda),(_0x428c32,_0x4d2aa2,_0x131fbc)=>{const _0x8c1f0=_0x1477c7,_0x21c826=path[_0x8c1f0(0xbc)](_0x428c32);!Scanner[_0x8c1f0(0xc7)](_0x428c32)&&(this['logger'][_0x8c1f0(0xbd)]('can\x27t\x20access\x20path:\x20['+path[_0x8c1f0(0xf0)](_0x428c32)+_0x8c1f0(0xe6)),_0x131fbc()),(_0x21c826===_0x8c1f0(0xcd)||_0x21c826===_0x8c1f0(0xd7))&&(!path[_0x8c1f0(0xf0)](_0x5b74a4)[_0x8c1f0(0xd0)](path['resolve'](_0x428c32))&&_0x131fbc());}),_0x351228['on'](_0x1477c7(0xc6),_0x331ca0=>{const _0x1a07ab=_0x1477c7;_0x5b2f08[_0x1a07ab(0xf1)](_0x331ca0)&&_0x3ea340[_0x1a07ab(0xdd)](_0x331ca0);}),_0x351228['on'](_0x1477c7(0xe9),()=>{_0x1e560d?_0x2d99a5(_0x1e560d):_0x16e63f();});});}async[a22_0x2915ef(0xe7)](_0x4d7718,_0x47f5de){return new Promise((_0xe27dff,_0x30813e)=>{const _0x7dff8c=a22_0x5112,_0x319750=fs['createReadStream'](_0x4d7718);_0x319750['on'](_0x7dff8c(0xdc),_0x368ad1=>{_0x30813e(_0x368ad1);}),_0x319750['on'](_0x7dff8c(0xbf),()=>{const _0x20cddd=_0x7dff8c;let _0x9db047;_0x47f5de&&(_0x9db047=crypto[_0x20cddd(0xf9)]('sha1'));let _0x497e32=0x0,_0x422488;const _0xc491db=_0x319750[_0x20cddd(0xdb)](split());_0xc491db['on'](_0x20cddd(0xdc),_0x5d27e1=>{_0x422488=_0x5d27e1;}),_0xc491db['on'](_0x20cddd(0xe1),_0x533b64=>{_0x47f5de&&_0x9db047['update'](_0x533b64),_0x497e32++;}),_0xc491db['on'](_0x20cddd(0xe9),()=>{const _0x206420=_0x20cddd;if(_0x422488)_0x30813e(_0x422488);else{const _0x3ae232=_0x47f5de?_0x9db047['digest'](_0x206420(0xd8)):undefined;_0xe27dff({'hash':_0x3ae232,'lines':_0x497e32});}});});});}}exports[a22_0x2915ef(0xee)]=Scanner;const findit=require(a22_0x2915ef(0xd2)),split=require(a22_0x2915ef(0xf5));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x2097e3=a23_0x41a8;(function(_0x5eade0,_0x23aa00){const _0x19139d=a23_0x41a8,_0x3c5a09=_0x5eade0();while(!![]){try{const _0x32d275=parseInt(_0x19139d(0x190))/0x1+parseInt(_0x19139d(0x14e))/0x2*(-parseInt(_0x19139d(0x15c))/0x3)+-parseInt(_0x19139d(0x157))/0x4*(-parseInt(_0x19139d(0x16a))/0x5)+parseInt(_0x19139d(0x185))/0x6*(parseInt(_0x19139d(0x179))/0x7)+parseInt(_0x19139d(0x16c))/0x8*(-parseInt(_0x19139d(0x18e))/0x9)+-parseInt(_0x19139d(0x18f))/0xa*(parseInt(_0x19139d(0x17d))/0xb)+parseInt(_0x19139d(0x163))/0xc*(-parseInt(_0x19139d(0x15f))/0xd);if(_0x32d275===_0x23aa00)break;else _0x3c5a09['push'](_0x3c5a09['shift']());}catch(_0x3c4498){_0x3c5a09['push'](_0x3c5a09['shift']());}}}(a23_0x4bb9,0xf3295));const a23_0x41fc96=(function(){let _0x393e0c=!![];return function(_0x147e13,_0xc309d9){const _0x19e2cf=_0x393e0c?function(){const _0x572609=a23_0x41a8;if(_0xc309d9){const _0x4999e4=_0xc309d9[_0x572609(0x14b)](_0x147e13,arguments);return _0xc309d9=null,_0x4999e4;}}:function(){};return _0x393e0c=![],_0x19e2cf;};}()),a23_0x50847e=a23_0x41fc96(this,function(){const _0x49d17b=a23_0x41a8;return a23_0x50847e[_0x49d17b(0x18d)]()[_0x49d17b(0x159)](_0x49d17b(0x14c))['toString']()[_0x49d17b(0x167)](a23_0x50847e)[_0x49d17b(0x159)](_0x49d17b(0x14c));});function a23_0x4bb9(){const _0x22d300=['mappingInfo','Processing\x20','toString','18IFAkEs','957830NLdhFS','1175888gGhaeN','dirname','getMappingInfo','apply','(((.+)+)+)+$','error','25722qQTESy','Failed\x20to\x20process\x20a\x20source\x20map\x20file','line','mapConsumer','endsWith','source-map','length','substring','from','54000zXELdT','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','search','Failed\x20to\x20parse\x20source\x20map\x20file\x20','SourceMapper','375BiuiFL','Creating\x20SourceMapper','has','26PatObM','create','util','map','1483644Ppjbbj','webpack://','replace','relative','constructor','readFile','findInSources','515FZmIxY','sources','4515592EIMvGy','logger','mapFile','promisify','keys','FOUND\x20IN','join','file','debug','__esModule','SourceMapConsumer','Map\x20file\x20processed:\x20','.map','4415397SJJbbg','stringify','The\x20path\x20','hasMappingInfo','55LhJiaE','infoMap','get','toLowerCase','Parsing\x20source\x20map\x20files','An\x20error\x20occurred\x20while\x20reading\x20the\x20','Could\x20not\x20read\x20sourcemap\x20file\x20','normalize','18extCEA','CONTENT','reduce','FileIndex','utf8','outputFile'];a23_0x4bb9=function(){return _0x22d300;};return a23_0x4bb9();}a23_0x50847e();'use strict';Object['defineProperty'](exports,a23_0x2097e3(0x175),{'value':!![]}),exports[a23_0x2097e3(0x160)]=exports[a23_0x2097e3(0x15b)]=void 0x0;function a23_0x41a8(_0x272c0,_0x4fa32e){const _0x46067e=a23_0x4bb9();return a23_0x41a8=function(_0x50847e,_0x41fc96){_0x50847e=_0x50847e-0x14b;let _0x4bb9f7=_0x46067e[_0x50847e];return _0x4bb9f7;},a23_0x41a8(_0x272c0,_0x4fa32e);}const fs=require('fs'),pLimit=require('p-limit'),path=require('path'),util_1=require(a23_0x2097e3(0x161)),sourceMap=require(a23_0x2097e3(0x153)),file_index_1=require('./file-index'),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x2097e3(0x164),readFilep=(0x0,util_1[a23_0x2097e3(0x16f)])(fs[a23_0x2097e3(0x168)]),MAP_EXT='.map';async function processSourcemap(_0x5a53a0,_0x5f238a,_0x4ea4c5,_0x3e1553){const _0xbdea9e=a23_0x2097e3;_0x3e1553&&_0x5a53a0[_0xbdea9e(0x174)](_0xbdea9e(0x18c),_0x4ea4c5);if(!_0x4ea4c5||!_0x4ea4c5['endsWith'](MAP_EXT))throw new Error(_0xbdea9e(0x17b)+_0x4ea4c5+_0xbdea9e(0x158));_0x4ea4c5=path[_0xbdea9e(0x184)](_0x4ea4c5);let _0x6f99ec;try{_0x6f99ec=await readFilep(_0x4ea4c5,_0xbdea9e(0x189));}catch(_0x1b41b7){throw new Error(_0xbdea9e(0x183)+_0x4ea4c5+':\x20'+_0x1b41b7);}let _0x25d438;try{_0x25d438=new sourceMap[(_0xbdea9e(0x176))](_0x6f99ec);}catch(_0x2b55e6){_0x5a53a0[_0xbdea9e(0x14d)](_0xbdea9e(0x15a)+_0x4ea4c5+':\x20'+_0x2b55e6),_0x5a53a0['error'](JSON[_0xbdea9e(0x17a)](_0x2b55e6)),_0x3e1553&&_0x5a53a0[_0xbdea9e(0x174)](_0xbdea9e(0x186),_0x6f99ec);throw new Error(_0xbdea9e(0x182)+'sourcemap\x20file\x20'+_0x4ea4c5+':\x20'+_0x2b55e6);}const _0x35b024=_0x25d438['file']?_0x25d438[_0xbdea9e(0x173)]:path['basename'](_0x4ea4c5,_0xbdea9e(0x178)),_0x2c9dc4=path[_0xbdea9e(0x191)](_0x4ea4c5),_0xacf768=path[_0xbdea9e(0x184)](path['join'](_0x2c9dc4,_0x35b024)),_0x30dc9a=_0x25d438['sources']['filter'](_0x1d40c6=>!!_0x1d40c6)['sort']((_0x32d985,_0x211c7f)=>_0x32d985[_0xbdea9e(0x154)]-_0x211c7f[_0xbdea9e(0x154)]),_0x5cf5f2=_0x30dc9a[_0xbdea9e(0x162)](_0x4e3ec6=>{const _0x1162f5=_0xbdea9e;if(_0x4e3ec6[_0x1162f5(0x180)]()['startsWith'](WEBPACK_PREFIX))return _0x4e3ec6[_0x1162f5(0x155)](WEBPACK_PREFIX[_0x1162f5(0x154)]);return _0x4e3ec6;})[_0xbdea9e(0x162)](_0x34de71=>{const _0x2d5ca6=_0xbdea9e;return path[_0x2d5ca6(0x184)](path[_0x2d5ca6(0x172)](_0x2c9dc4,_0x34de71));});if(_0x5cf5f2['length']===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x4ea4c5);for(const _0x5b0b6f of _0x5cf5f2){_0x3e1553&&_0x5a53a0['info'](path['normalize'](_0x5b0b6f),_0xbdea9e(0x171),_0x4ea4c5),_0x5f238a['set'](path[_0xbdea9e(0x184)](_0x5b0b6f),{'outputFile':_0xacf768,'mapFile':_0x4ea4c5,'mapConsumer':_0x25d438,'sources':_0x30dc9a});}_0x5a53a0['debug'](_0xbdea9e(0x177),_0x4ea4c5);}class SourceMapper{constructor(_0x33c01d){const _0x202f4e=a23_0x2097e3;this[_0x202f4e(0x16d)]=_0x33c01d,this[_0x202f4e(0x17e)]=new Map();}[a23_0x2097e3(0x192)](_0x392045){const _0x105b0d=a23_0x2097e3;if(this[_0x105b0d(0x17e)][_0x105b0d(0x15e)](path['normalize'](_0x392045)))return{'entry':this[_0x105b0d(0x17e)][_0x105b0d(0x17f)](_0x392045),'matchedPath':path['normalize'](_0x392045)};const _0x3f7106=file_index_1[_0x105b0d(0x188)]['fromFileList'](Array[_0x105b0d(0x156)](this[_0x105b0d(0x17e)][_0x105b0d(0x170)]()))['findShortestFuzzyMatches'](_0x392045);if(_0x3f7106[_0x105b0d(0x154)]===0x1)return{'entry':this[_0x105b0d(0x17e)][_0x105b0d(0x17f)](_0x3f7106[0x0]),'matchedPath':_0x3f7106[0x0]};return null;}[a23_0x2097e3(0x17c)](_0x4d368b){const _0x5a87ce=a23_0x2097e3;return this[_0x5a87ce(0x192)](_0x4d368b)!==null;}[a23_0x2097e3(0x18b)](_0x135b87,_0x9c18ab,_0x4d38b7){const _0x53962e=a23_0x2097e3;_0x135b87=path[_0x53962e(0x184)](_0x135b87);const _0x7112f0=this['getMappingInfo'](_0x135b87);if(!_0x7112f0)return null;const {entry:_0x2536e0,matchedPath:_0x1d6661}=_0x7112f0,_0x4d96a6=path[_0x53962e(0x166)](path[_0x53962e(0x191)](_0x2536e0[_0x53962e(0x16e)]),_0x1d6661)[_0x53962e(0x165)](/\\/g,'/');let _0x5f163f=this[_0x53962e(0x169)](_0x2536e0,_0x4d96a6);_0x5f163f=_0x5f163f||this['findInSources'](_0x2536e0,_0x135b87);const _0x4d445e={'source':_0x5f163f||_0x4d96a6,'line':_0x9c18ab+0x1,'column':_0x4d38b7},_0x53c828=_0x2536e0[_0x53962e(0x151)],_0x34f280=_0x53c828['allGeneratedPositionsFor'](_0x4d445e),_0x2eff8a=_0x34f280&&_0x34f280[_0x53962e(0x154)]>0x0?_0x34f280[_0x53962e(0x187)]((_0x417385,_0x462e5a)=>{return _0x462e5a['line']<_0x417385['line']?_0x462e5a:_0x417385;}):_0x53c828['generatedPositionFor'](_0x4d445e);return{'file':_0x2536e0[_0x53962e(0x18a)],'line':_0x2eff8a[_0x53962e(0x150)],'column':_0x2eff8a['column']};}[a23_0x2097e3(0x169)](_0x269164,_0x12f12e){const _0x5b764f=a23_0x2097e3;for(const _0x48ff8e of _0x269164[_0x5b764f(0x16b)]){if(_0x48ff8e[_0x5b764f(0x152)](_0x12f12e))return _0x48ff8e;}return undefined;}}exports['SourceMapper']=SourceMapper;async function create(_0x2b232a,_0x2e92b4,_0x38de00){const _0x5542d4=a23_0x2097e3;_0x2b232a[_0x5542d4(0x174)](_0x5542d4(0x15d));const _0x3d3f31=new SourceMapper(_0x2b232a);_0x2b232a[_0x5542d4(0x174)](_0x5542d4(0x181),_0x2e92b4[_0x5542d4(0x154)]);const _0x378e3d=async _0x530fc7=>{const _0x7ca682=_0x5542d4;try{await processSourcemap(_0x2b232a,_0x3d3f31[_0x7ca682(0x17e)],_0x530fc7,_0x38de00);}catch(_0x3de8b0){_0x2b232a[_0x7ca682(0x14d)](_0x7ca682(0x14f),_0x530fc7,_0x3de8b0),_0x2b232a[_0x7ca682(0x14d)](JSON[_0x7ca682(0x17a)](_0x3de8b0));}};if(_0x38de00)for(const _0x461b70 of _0x2e92b4){await _0x378e3d(_0x461b70);}else{const _0x41da7c=pLimit(CONCURRENCY),_0xb0378c=_0x2e92b4[_0x5542d4(0x162)](_0x356dc6=>_0x41da7c(()=>_0x378e3d(_0x356dc6)));await Promise['all'](_0xb0378c);}return _0x3d3f31;}exports[a23_0x2097e3(0x160)]=create;
|