lightrun 1.79.0 → 1.80.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/build/src/agent/agent-logger.js +1 -1
  2. package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
  3. package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
  4. package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
  5. package/build/src/agent/config.js +1 -1
  6. package/build/src/agent/configuration-provider.js +1 -1
  7. package/build/src/agent/controller.js +1 -1
  8. package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
  9. package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
  10. package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
  11. package/build/src/agent/debuglet-helpers/delimit.js +1 -1
  12. package/build/src/agent/debuglet-helpers/format.js +1 -1
  13. package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
  14. package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
  15. package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
  16. package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
  17. package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
  18. package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
  19. package/build/src/agent/debuglet.js +1 -1
  20. package/build/src/agent/environment-metadata.js +1 -1
  21. package/build/src/agent/io/file-index.js +1 -1
  22. package/build/src/agent/io/scan-results.js +1 -1
  23. package/build/src/agent/io/scanner.js +1 -1
  24. package/build/src/agent/io/sourcemapper.js +1 -1
  25. package/build/src/agent/leaky-bucket.js +1 -1
  26. package/build/src/agent/log-data.js +1 -1
  27. package/build/src/agent/piping-manager.js +1 -1
  28. package/build/src/agent/quota-manager.js +1 -1
  29. package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
  30. package/build/src/agent/reduction/redaction-manager.js +1 -1
  31. package/build/src/agent/serverless.js +1 -1
  32. package/build/src/agent/state/inspector-state.js +1 -1
  33. package/build/src/agent/util/debug-assert.js +1 -1
  34. package/build/src/agent/util/utils.js +1 -1
  35. package/build/src/agent/util/validator.js +1 -1
  36. package/build/src/agent/v8/debugapi.js +1 -1
  37. package/build/src/agent/v8/inspector-debugapi.js +1 -1
  38. package/build/src/agent/v8/v8inspector.js +1 -1
  39. package/build/src/client/stackdriver/debug.js +1 -1
  40. package/build/src/client/stackdriver/status-message.js +1 -1
  41. package/build/src/debuggee.js +1 -1
  42. package/build/src/gcp.js +1 -1
  43. package/build/src/index.d.ts +5 -0
  44. package/build/src/index.js +1 -1
  45. package/build/src/lambda.js +1 -1
  46. package/build/src/resources/version.txt +1 -1
  47. package/build/src/types/lightrun.js +1 -1
  48. package/build/src/types/stackdriver.js +1 -1
  49. package/build/src/types/v8.js +1 -1
  50. package/package.json +1 -1
@@ -1 +1 @@
1
- function a15_0x5584(){const _0x1b6339=['(((.+)+)+)+$','apply','295638HpjvjJ','__esModule','defineProperty','133WPWafg','push','4OFITgK','search','278531djfKXg','toString','mapSubtract','5757415VyHUXa','constructor','1506376ngXMEy','4609395FMGeFj','148377OMWCDJ','1804108zRZYhq'];a15_0x5584=function(){return _0x1b6339;};return a15_0x5584();}function a15_0x5b2b(_0x47f32d,_0x48ebf9){const _0x50593f=a15_0x5584();return a15_0x5b2b=function(_0x58d8b2,_0xa5cff4){_0x58d8b2=_0x58d8b2-0x10f;let _0x5584c5=_0x50593f[_0x58d8b2];return _0x5584c5;},a15_0x5b2b(_0x47f32d,_0x48ebf9);}const a15_0x3e3295=a15_0x5b2b;(function(_0xe26abc,_0x23f468){const _0x3357e1=a15_0x5b2b,_0xa3eb9c=_0xe26abc();while(!![]){try{const _0x1537aa=-parseInt(_0x3357e1(0x11f))/0x1*(-parseInt(_0x3357e1(0x11d))/0x2)+parseInt(_0x3357e1(0x114))/0x3+-parseInt(_0x3357e1(0x115))/0x4+parseInt(_0x3357e1(0x110))/0x5+parseInt(_0x3357e1(0x118))/0x6*(-parseInt(_0x3357e1(0x11b))/0x7)+-parseInt(_0x3357e1(0x112))/0x8+parseInt(_0x3357e1(0x113))/0x9;if(_0x1537aa===_0x23f468)break;else _0xa3eb9c['push'](_0xa3eb9c['shift']());}catch(_0x147b0a){_0xa3eb9c['push'](_0xa3eb9c['shift']());}}}(a15_0x5584,0xa9978));const a15_0xa5cff4=(function(){let _0x13fa6d=!![];return function(_0x91bee2,_0x1b2569){const _0x418c33=_0x13fa6d?function(){const _0x4ab3b3=a15_0x5b2b;if(_0x1b2569){const _0x3a1e20=_0x1b2569[_0x4ab3b3(0x117)](_0x91bee2,arguments);return _0x1b2569=null,_0x3a1e20;}}:function(){};return _0x13fa6d=![],_0x418c33;};}()),a15_0x58d8b2=a15_0xa5cff4(this,function(){const _0x5af372=a15_0x5b2b;return a15_0x58d8b2[_0x5af372(0x120)]()[_0x5af372(0x11e)](_0x5af372(0x116))[_0x5af372(0x120)]()[_0x5af372(0x111)](a15_0x58d8b2)[_0x5af372(0x11e)](_0x5af372(0x116));});a15_0x58d8b2();'use strict';Object[a15_0x3e3295(0x11a)](exports,a15_0x3e3295(0x119),{'value':!![]}),exports['mapSubtract']=void 0x0;const mapSubtract=(_0x513dad,_0x57abf8)=>{const _0x3880bd=a15_0x3e3295,_0x3d452e=[];for(const _0x4ec9e6 in _0x513dad){!_0x57abf8[_0x4ec9e6]&&_0x3d452e[_0x3880bd(0x11c)](_0x513dad[_0x4ec9e6]);}return _0x3d452e;};exports[a15_0x3e3295(0x10f)]=mapSubtract;
1
+ function a15_0x4145(){const _0x57fa7a=['2084388PEecYh','10rOhtsr','toString','2655674jghcKf','search','push','72EvAJUP','655729whlcbx','apply','23799645oEaMqq','mapSubtract','24xQvQlz','5617968sFvDlw','constructor','176457ZmHqJg','(((.+)+)+)+$','2846740lHKTzp'];a15_0x4145=function(){return _0x57fa7a;};return a15_0x4145();}function a15_0x24c8(_0x31759e,_0x35cad1){const _0x5c73af=a15_0x4145();return a15_0x24c8=function(_0x39eccd,_0x1363e8){_0x39eccd=_0x39eccd-0xeb;let _0x4145c0=_0x5c73af[_0x39eccd];return _0x4145c0;},a15_0x24c8(_0x31759e,_0x35cad1);}const a15_0x3c6187=a15_0x24c8;(function(_0x112abf,_0x3ee06d){const _0xf55c4f=a15_0x24c8,_0x3b5c0d=_0x112abf();while(!![]){try{const _0x594112=parseInt(_0xf55c4f(0xf5))/0x1+-parseInt(_0xf55c4f(0xee))/0x2+parseInt(_0xf55c4f(0xeb))/0x3*(parseInt(_0xf55c4f(0xf4))/0x4)+parseInt(_0xf55c4f(0xed))/0x5+parseInt(_0xf55c4f(0xfa))/0x6+-parseInt(_0xf55c4f(0xf1))/0x7*(-parseInt(_0xf55c4f(0xf9))/0x8)+-parseInt(_0xf55c4f(0xf7))/0x9*(parseInt(_0xf55c4f(0xef))/0xa);if(_0x594112===_0x3ee06d)break;else _0x3b5c0d['push'](_0x3b5c0d['shift']());}catch(_0x4eb023){_0x3b5c0d['push'](_0x3b5c0d['shift']());}}}(a15_0x4145,0xa3fce));const a15_0x1363e8=(function(){let _0x4c7132=!![];return function(_0x29a7a1,_0x1a7528){const _0x280546=_0x4c7132?function(){const _0x3fb5f4=a15_0x24c8;if(_0x1a7528){const _0x4ec194=_0x1a7528[_0x3fb5f4(0xf6)](_0x29a7a1,arguments);return _0x1a7528=null,_0x4ec194;}}:function(){};return _0x4c7132=![],_0x280546;};}()),a15_0x39eccd=a15_0x1363e8(this,function(){const _0x431fff=a15_0x24c8;return a15_0x39eccd['toString']()[_0x431fff(0xf2)](_0x431fff(0xec))[_0x431fff(0xf0)]()[_0x431fff(0xfb)](a15_0x39eccd)['search']('(((.+)+)+)+$');});a15_0x39eccd();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a15_0x3c6187(0xf8)]=void 0x0;const mapSubtract=(_0x5eba1b,_0x1e717f)=>{const _0x1380d8=a15_0x3c6187,_0x5d94da=[];for(const _0x47c0a4 in _0x5eba1b){!_0x1e717f[_0x47c0a4]&&_0x5d94da[_0x1380d8(0xf3)](_0x5eba1b[_0x47c0a4]);}return _0x5d94da;};exports['mapSubtract']=mapSubtract;
@@ -1 +1 @@
1
- function a16_0x3bfc(_0x369380,_0x26f282){const _0x11be40=a16_0x3669();return a16_0x3bfc=function(_0x33dc28,_0x4e809b){_0x33dc28=_0x33dc28-0x130;let _0x3669c5=_0x11be40[_0x33dc28];return _0x3669c5;},a16_0x3bfc(_0x369380,_0x26f282);}const a16_0x3c8736=a16_0x3bfc;(function(_0x2fb77c,_0x59c6fe){const _0xda0e9=a16_0x3bfc,_0x1a68b9=_0x2fb77c();while(!![]){try{const _0x5da646=parseInt(_0xda0e9(0x149))/0x1+parseInt(_0xda0e9(0x139))/0x2*(parseInt(_0xda0e9(0x159))/0x3)+-parseInt(_0xda0e9(0x155))/0x4*(-parseInt(_0xda0e9(0x15f))/0x5)+-parseInt(_0xda0e9(0x16a))/0x6+parseInt(_0xda0e9(0x13b))/0x7*(-parseInt(_0xda0e9(0x14f))/0x8)+-parseInt(_0xda0e9(0x170))/0x9*(parseInt(_0xda0e9(0x14a))/0xa)+parseInt(_0xda0e9(0x130))/0xb*(parseInt(_0xda0e9(0x16b))/0xc);if(_0x5da646===_0x59c6fe)break;else _0x1a68b9['push'](_0x1a68b9['shift']());}catch(_0x1fb9d1){_0x1a68b9['push'](_0x1a68b9['shift']());}}}(a16_0x3669,0x77371));const a16_0x4e809b=(function(){let _0x625bc5=!![];return function(_0x5c9cae,_0x213e9d){const _0x64af96=_0x625bc5?function(){const _0x555029=a16_0x3bfc;if(_0x213e9d){const _0x654e42=_0x213e9d[_0x555029(0x168)](_0x5c9cae,arguments);return _0x213e9d=null,_0x654e42;}}:function(){};return _0x625bc5=![],_0x64af96;};}()),a16_0x33dc28=a16_0x4e809b(this,function(){const _0x46c671=a16_0x3bfc;return a16_0x33dc28[_0x46c671(0x15a)]()['search'](_0x46c671(0x156))[_0x46c671(0x15a)]()[_0x46c671(0x13d)](a16_0x33dc28)[_0x46c671(0x137)](_0x46c671(0x156));});a16_0x33dc28();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['normalizeConfig']=exports[a16_0x3c8736(0x141)]=void 0x0;const extend=require(a16_0x3c8736(0x16f)),config_1=require(a16_0x3c8736(0x151)),utils_1=require(a16_0x3c8736(0x145)),getAgentConfig_1=require(a16_0x3c8736(0x16e)),limitConfig_1=require(a16_0x3c8736(0x14c)),validateConfig=_0x1de424=>{const _0x33de1e=a16_0x3c8736,_0x44cc0a={};try{config_1['configSchema']['validateSync'](_0x1de424,{'abortEarly':![]});}catch(_0x5af260){_0x5af260['inner'][_0x33de1e(0x140)](_0x288939=>_0x288939[_0x33de1e(0x134)]&&_0x288939[_0x33de1e(0x138)])[_0x33de1e(0x15c)](_0x25fdac=>{const _0x410463=_0x33de1e;_0x44cc0a[_0x25fdac[_0x410463(0x134)]]=_0x25fdac[_0x410463(0x138)];});}return _0x44cc0a;};exports['validateConfig']=validateConfig;const normalizeConfig=_0x101d99=>{const _0x55d658=a16_0x3c8736,_0x52d9ad={'serviceContext':{'service':process[_0x55d658(0x136)]['GAE_SERVICE']??process[_0x55d658(0x136)][_0x55d658(0x161)]??process[_0x55d658(0x136)][_0x55d658(0x16d)],'version':process[_0x55d658(0x136)][_0x55d658(0x13e)]??process['env'][_0x55d658(0x169)]??process[_0x55d658(0x136)][_0x55d658(0x15e)],'minorVersion_':process[_0x55d658(0x136)][_0x55d658(0x167)]??process[_0x55d658(0x136)][_0x55d658(0x131)]},'metadata':{'filename':process[_0x55d658(0x136)][_0x55d658(0x165)],'registration':{}},'lightrunSecret':process[_0x55d658(0x136)][_0x55d658(0x150)],'apiEndpoint':process['env'][_0x55d658(0x14e)],'noCheckCertificate':(0x0,utils_1[_0x55d658(0x147)])(process['env'][_0x55d658(0x13a)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x55d658(0x147)])(process[_0x55d658(0x136)][_0x55d658(0x146)]),'lightrunWaitForInit':(0x0,utils_1[_0x55d658(0x147)])(process[_0x55d658(0x136)]['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process[_0x55d658(0x136)][_0x55d658(0x157)],'agentLog':_0x101d99?.['agentLog']??{},'proxy':{'host':process['env'][_0x55d658(0x135)],'port':parseInt(process[_0x55d658(0x136)][_0x55d658(0x13f)]??'')||undefined,'username':process[_0x55d658(0x136)][_0x55d658(0x13c)],'password':process[_0x55d658(0x136)][_0x55d658(0x166)]}};process[_0x55d658(0x136)][_0x55d658(0x153)]!==undefined&&(_0x52d9ad[_0x55d658(0x162)][_0x55d658(0x148)]=process[_0x55d658(0x136)][_0x55d658(0x153)]);process[_0x55d658(0x136)][_0x55d658(0x164)]!==undefined&&(_0x52d9ad['agentLog'][_0x55d658(0x163)]=process[_0x55d658(0x136)]['AGENT_LOG_LEVEL']);process['env'][_0x55d658(0x160)]!==undefined&&(_0x52d9ad[_0x55d658(0x162)]['agentLogTargetDir']=process['env'][_0x55d658(0x160)]);process[_0x55d658(0x136)][_0x55d658(0x143)]!==undefined&&(_0x52d9ad['agentLog'][_0x55d658(0x144)]=parseInt(process[_0x55d658(0x136)][_0x55d658(0x143)]));process['env']['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x52d9ad[_0x55d658(0x162)]['agentLogMaxFileSizeMb']=parseInt(process[_0x55d658(0x136)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process['env'][_0x55d658(0x158)]&&(_0x52d9ad['serviceContext'][_0x55d658(0x16c)]=process[_0x55d658(0x136)][_0x55d658(0x158)],_0x52d9ad[_0x55d658(0x152)]['version']=_0x55d658(0x154));process['env'][_0x55d658(0x133)]&&(_0x52d9ad[_0x55d658(0x14b)][_0x55d658(0x142)]={'tags':process[_0x55d658(0x136)][_0x55d658(0x133)][_0x55d658(0x15d)](',')});const _0x1af12d=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x55d658(0x136)][_0x55d658(0x132)]??_0x101d99?.['agentConfigFile']??config_1['defaultConfig']['agentConfigFile']),_0x1a5163=(0x0,limitConfig_1[_0x55d658(0x171)])(extend(!![],{},config_1[_0x55d658(0x15b)],_0x1af12d,_0x101d99,_0x52d9ad)),_0x434d22=(0x0,exports[_0x55d658(0x141)])(_0x1a5163);return{..._0x1a5163,'errors':_0x434d22};};function a16_0x3669(){const _0x4fb519=['LIGHTRUN_PROXY_USERNAME','constructor','GAE_VERSION','LIGHTRUN_PROXY_PORT','filter','validateConfig','registration','AGENT_LOG_MAX_FILE_COUNT','agentLogMaxFileCount','../util/utils','FETCH_BREAKPOINTS_ONCE','getBooleanValue','stdErrThreshold','732081TTJess','1029240cywMNl','metadata','./limitConfig','normalizeConfig','LIGHTRUN_API_ENDPOINT','349808kuCDKV','LIGHTRUN_SECRET','../config','serviceContext','LIGHTRUN_STD_ERR_THRESHOLD','unversioned','8CcZbkl','(((.+)+)+)+$','LIGHTRUN_INIT_WAIT_TIME_MS','FUNCTION_NAME','30mHVbpo','toString','defaultConfig','forEach','split','K_REVISION','372045gwSKas','AGENT_LOG_TARGET_DIR','GAE_MODULE_NAME','agentLog','agentLogLevel','AGENT_LOG_LEVEL','LIGHTRUN_METADATA_FILE','LIGHTRUN_PROXY_PASSWORD','GAE_DEPLOYMENT_ID','apply','GAE_MODULE_VERSION','1659264hYgDZs','12xtcLfQ','service','K_SERVICE','./getAgentConfig','extend','63maYFjd','limitConfig','10998240BjbfJg','GAE_MINOR_VERSION','LIGHTRUN_AGENT_CONFIG','LIGHTRUN_TAGS','path','LIGHTRUN_PROXY_HOST','env','search','message','69584LSESEV','NO_CHECK_CERTIFICATE','119fNTsPJ'];a16_0x3669=function(){return _0x4fb519;};return a16_0x3669();}exports[a16_0x3c8736(0x14d)]=normalizeConfig;
1
+ function a16_0x1869(_0x3bb51a,_0x201919){const _0x52bddc=a16_0x263e();return a16_0x1869=function(_0x280e5c,_0x356dd8){_0x280e5c=_0x280e5c-0x123;let _0x263e50=_0x52bddc[_0x280e5c];return _0x263e50;},a16_0x1869(_0x3bb51a,_0x201919);}const a16_0x3c2fc4=a16_0x1869;(function(_0x2d35e0,_0x29e14d){const _0x5d64ae=a16_0x1869,_0x5791cb=_0x2d35e0();while(!![]){try{const _0x576478=-parseInt(_0x5d64ae(0x130))/0x1*(parseInt(_0x5d64ae(0x148))/0x2)+-parseInt(_0x5d64ae(0x154))/0x3*(-parseInt(_0x5d64ae(0x150))/0x4)+parseInt(_0x5d64ae(0x128))/0x5*(parseInt(_0x5d64ae(0x15a))/0x6)+parseInt(_0x5d64ae(0x12c))/0x7+-parseInt(_0x5d64ae(0x143))/0x8+parseInt(_0x5d64ae(0x142))/0x9*(parseInt(_0x5d64ae(0x123))/0xa)+-parseInt(_0x5d64ae(0x162))/0xb;if(_0x576478===_0x29e14d)break;else _0x5791cb['push'](_0x5791cb['shift']());}catch(_0x1cfd02){_0x5791cb['push'](_0x5791cb['shift']());}}}(a16_0x263e,0x5048a));const a16_0x356dd8=(function(){let _0x4aa139=!![];return function(_0x303e17,_0x55f3d3){const _0x436c78=_0x4aa139?function(){const _0x5283d2=a16_0x1869;if(_0x55f3d3){const _0x5c1fba=_0x55f3d3[_0x5283d2(0x13b)](_0x303e17,arguments);return _0x55f3d3=null,_0x5c1fba;}}:function(){};return _0x4aa139=![],_0x436c78;};}()),a16_0x280e5c=a16_0x356dd8(this,function(){const _0x3174a9=a16_0x1869;return a16_0x280e5c[_0x3174a9(0x126)]()[_0x3174a9(0x12a)](_0x3174a9(0x132))['toString']()[_0x3174a9(0x159)](a16_0x280e5c)[_0x3174a9(0x12a)]('(((.+)+)+)+$');});a16_0x280e5c();'use strict';function a16_0x263e(){const _0x3f6a54=['LIGHTRUN_SECRET','FETCH_BREAKPOINTS_ONCE','848ehKvps','stdErrThreshold','validateSync','LIGHTRUN_WAIT_FOR_INIT','8124mQbFFa','configSchema','unversioned','../util/utils','getBooleanValue','constructor','6pSinUq','agentLogTargetDir','LIGHTRUN_METADATA_FILE','GAE_SERVICE','AGENT_LOG_LEVEL','NO_CHECK_CERTIFICATE','LIGHTRUN_STD_ERR_THRESHOLD','serviceContext','10257588kHwufr','defineProperty','220jpcaUE','env','metadata','toString','service','366535QjnflU','path','search','agentLog','4125933JfKQGD','getAgentConfig','LIGHTRUN_TAGS','AGENT_LOG_MAX_FILE_COUNT','264820sTEtVl','GAE_VERSION','(((.+)+)+)+$','agentLogMaxFileSizeMb','LIGHTRUN_PROXY_USERNAME','message','forEach','split','AGENT_LOG_TARGET_DIR','version','defaultConfig','apply','agentLogMaxFileCount','../config','FUNCTION_NAME','agentConfigFile','AGENT_LOG_MAX_FILE_SIZE_MB','extend','146241LfHUBT','545040oDXaLo','K_REVISION','filter','LIGHTRUN_API_ENDPOINT','limitConfig','2gBxkDj','__esModule','LIGHTRUN_PROXY_PORT','inner','K_SERVICE','registration'];a16_0x263e=function(){return _0x3f6a54;};return a16_0x263e();}Object[a16_0x3c2fc4(0x163)](exports,a16_0x3c2fc4(0x149),{'value':!![]}),exports['normalizeConfig']=exports['validateConfig']=void 0x0;const extend=require(a16_0x3c2fc4(0x141)),config_1=require(a16_0x3c2fc4(0x13d)),utils_1=require(a16_0x3c2fc4(0x157)),getAgentConfig_1=require('./getAgentConfig'),limitConfig_1=require('./limitConfig'),validateConfig=_0x91573f=>{const _0x321751=a16_0x3c2fc4,_0x30a16e={};try{config_1[_0x321751(0x155)][_0x321751(0x152)](_0x91573f,{'abortEarly':![]});}catch(_0x5e961c){_0x5e961c[_0x321751(0x14b)][_0x321751(0x145)](_0x5c6794=>_0x5c6794[_0x321751(0x129)]&&_0x5c6794[_0x321751(0x135)])[_0x321751(0x136)](_0x237fad=>{const _0x412280=_0x321751;_0x30a16e[_0x237fad[_0x412280(0x129)]]=_0x237fad[_0x412280(0x135)];});}return _0x30a16e;};exports['validateConfig']=validateConfig;const normalizeConfig=_0x87dc68=>{const _0x2223d2=a16_0x3c2fc4,_0x1ea93e={'serviceContext':{'service':process[_0x2223d2(0x124)][_0x2223d2(0x15d)]??process[_0x2223d2(0x124)]['GAE_MODULE_NAME']??process['env'][_0x2223d2(0x14c)],'version':process[_0x2223d2(0x124)][_0x2223d2(0x131)]??process['env']['GAE_MODULE_VERSION']??process[_0x2223d2(0x124)][_0x2223d2(0x144)],'minorVersion_':process[_0x2223d2(0x124)]['GAE_DEPLOYMENT_ID']??process['env']['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x2223d2(0x124)][_0x2223d2(0x15c)],'registration':{}},'lightrunSecret':process[_0x2223d2(0x124)][_0x2223d2(0x14e)],'apiEndpoint':process[_0x2223d2(0x124)][_0x2223d2(0x146)],'noCheckCertificate':(0x0,utils_1[_0x2223d2(0x158)])(process[_0x2223d2(0x124)][_0x2223d2(0x15f)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x2223d2(0x158)])(process[_0x2223d2(0x124)][_0x2223d2(0x14f)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x2223d2(0x124)][_0x2223d2(0x153)]),'lightrunInitWaitTimeMs':process[_0x2223d2(0x124)]['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x87dc68?.[_0x2223d2(0x12b)]??{},'proxy':{'host':process[_0x2223d2(0x124)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x2223d2(0x124)][_0x2223d2(0x14a)]??'')||undefined,'username':process[_0x2223d2(0x124)][_0x2223d2(0x134)],'password':process[_0x2223d2(0x124)]['LIGHTRUN_PROXY_PASSWORD']}};process[_0x2223d2(0x124)][_0x2223d2(0x160)]!==undefined&&(_0x1ea93e[_0x2223d2(0x12b)][_0x2223d2(0x151)]=process[_0x2223d2(0x124)][_0x2223d2(0x160)]);process['env'][_0x2223d2(0x15e)]!==undefined&&(_0x1ea93e[_0x2223d2(0x12b)]['agentLogLevel']=process[_0x2223d2(0x124)]['AGENT_LOG_LEVEL']);process[_0x2223d2(0x124)][_0x2223d2(0x138)]!==undefined&&(_0x1ea93e['agentLog'][_0x2223d2(0x15b)]=process['env'][_0x2223d2(0x138)]);process['env'][_0x2223d2(0x12f)]!==undefined&&(_0x1ea93e['agentLog'][_0x2223d2(0x13c)]=parseInt(process[_0x2223d2(0x124)]['AGENT_LOG_MAX_FILE_COUNT']));process[_0x2223d2(0x124)][_0x2223d2(0x140)]!==undefined&&(_0x1ea93e[_0x2223d2(0x12b)][_0x2223d2(0x133)]=parseInt(process[_0x2223d2(0x124)][_0x2223d2(0x140)]));process[_0x2223d2(0x124)][_0x2223d2(0x13e)]&&(_0x1ea93e[_0x2223d2(0x161)][_0x2223d2(0x127)]=process['env'][_0x2223d2(0x13e)],_0x1ea93e[_0x2223d2(0x161)][_0x2223d2(0x139)]=_0x2223d2(0x156));process[_0x2223d2(0x124)][_0x2223d2(0x12e)]&&(_0x1ea93e[_0x2223d2(0x125)][_0x2223d2(0x14d)]={'tags':process[_0x2223d2(0x124)]['LIGHTRUN_TAGS'][_0x2223d2(0x137)](',')});const _0x10769b=(0x0,getAgentConfig_1[_0x2223d2(0x12d)])(process[_0x2223d2(0x124)]['LIGHTRUN_AGENT_CONFIG']??_0x87dc68?.[_0x2223d2(0x13f)]??config_1[_0x2223d2(0x13a)]['agentConfigFile']),_0x2f58f9=(0x0,limitConfig_1[_0x2223d2(0x147)])(extend(!![],{},config_1[_0x2223d2(0x13a)],_0x10769b,_0x87dc68,_0x1ea93e)),_0x5ec7ab=(0x0,exports['validateConfig'])(_0x2f58f9);return{..._0x2f58f9,'errors':_0x5ec7ab};};exports['normalizeConfig']=normalizeConfig;
@@ -1 +1 @@
1
- const a17_0x291807=a17_0x4924;(function(_0x4b3164,_0x3cdc83){const _0x39d3a9=a17_0x4924,_0x4da492=_0x4b3164();while(!![]){try{const _0x2179d2=parseInt(_0x39d3a9(0x198))/0x1+parseInt(_0x39d3a9(0x19f))/0x2*(-parseInt(_0x39d3a9(0x19c))/0x3)+-parseInt(_0x39d3a9(0x19a))/0x4*(parseInt(_0x39d3a9(0x19b))/0x5)+parseInt(_0x39d3a9(0x1a2))/0x6*(-parseInt(_0x39d3a9(0x1a0))/0x7)+parseInt(_0x39d3a9(0x194))/0x8+parseInt(_0x39d3a9(0x1a5))/0x9*(-parseInt(_0x39d3a9(0x196))/0xa)+parseInt(_0x39d3a9(0x195))/0xb;if(_0x2179d2===_0x3cdc83)break;else _0x4da492['push'](_0x4da492['shift']());}catch(_0x50837f){_0x4da492['push'](_0x4da492['shift']());}}}(a17_0x6842,0xc645f));const a17_0x19a442=(function(){let _0x297e0e=!![];return function(_0x1ffc72,_0x2ba1d5){const _0x33dfd9=_0x297e0e?function(){const _0x15b4e8=a17_0x4924;if(_0x2ba1d5){const _0x3ec829=_0x2ba1d5[_0x15b4e8(0x199)](_0x1ffc72,arguments);return _0x2ba1d5=null,_0x3ec829;}}:function(){};return _0x297e0e=![],_0x33dfd9;};}()),a17_0x18de62=a17_0x19a442(this,function(){const _0x51d5bc=a17_0x4924;return a17_0x18de62['toString']()['search']('(((.+)+)+)+$')[_0x51d5bc(0x1a6)]()['constructor'](a17_0x18de62)['search'](_0x51d5bc(0x1a4));});a17_0x18de62();'use strict';Object['defineProperty'](exports,a17_0x291807(0x1a1),{'value':!![]}),exports[a17_0x291807(0x19d)]=void 0x0;const delimit_1=require(a17_0x291807(0x197)),tokenize=(_0x526de9,_0x3f434b)=>{const _0x4c35eb=a17_0x291807;let _0xf14e0b=(0x0,delimit_1[_0x4c35eb(0x1a3)])(_0x526de9,'$$');for(let _0x1c9ecd=_0x3f434b-0x1;_0x1c9ecd>=0x0;_0x1c9ecd--){const _0x27b239=[];for(const _0x3d833f of _0xf14e0b){_0x3d833f['v']?_0x27b239['push'](_0x3d833f):_0x27b239[_0x4c35eb(0x19e)](...(0x0,delimit_1[_0x4c35eb(0x1a3)])(_0x3d833f,'$'+_0x1c9ecd));}_0xf14e0b=_0x27b239;}return _0xf14e0b;};function a17_0x4924(_0x227ac6,_0x3f5569){const _0x1cf70f=a17_0x6842();return a17_0x4924=function(_0x18de62,_0x19a442){_0x18de62=_0x18de62-0x194;let _0x6842c8=_0x1cf70f[_0x18de62];return _0x6842c8;},a17_0x4924(_0x227ac6,_0x3f5569);}function a17_0x6842(){const _0x1fddec=['apply','5660LOaxMc','5275xsUIyk','24jPoHUz','tokenize','push','322888jISYFc','35KxxEnq','__esModule','1875894ZeafMk','delimit','(((.+)+)+)+$','27ltLfAl','toString','6934696PmvOsv','50743869nixtwj','4107650ezDixG','./delimit','912128kJpkWe'];a17_0x6842=function(){return _0x1fddec;};return a17_0x6842();}exports[a17_0x291807(0x19d)]=tokenize;
1
+ const a17_0x49ae80=a17_0x24b3;(function(_0x42388a,_0x5cdf7f){const _0x17b757=a17_0x24b3,_0x31176e=_0x42388a();while(!![]){try{const _0x4acf82=parseInt(_0x17b757(0xf8))/0x1*(parseInt(_0x17b757(0xe9))/0x2)+-parseInt(_0x17b757(0xe7))/0x3*(-parseInt(_0x17b757(0xea))/0x4)+-parseInt(_0x17b757(0xeb))/0x5+parseInt(_0x17b757(0xe6))/0x6*(-parseInt(_0x17b757(0xf0))/0x7)+parseInt(_0x17b757(0xf5))/0x8*(parseInt(_0x17b757(0xf9))/0x9)+parseInt(_0x17b757(0xf6))/0xa+-parseInt(_0x17b757(0xec))/0xb;if(_0x4acf82===_0x5cdf7f)break;else _0x31176e['push'](_0x31176e['shift']());}catch(_0x18e700){_0x31176e['push'](_0x31176e['shift']());}}}(a17_0x1e90,0x232a3));const a17_0x38e8a9=(function(){let _0x45fc70=!![];return function(_0x3828cd,_0x4b8386){const _0x5a5077=_0x45fc70?function(){const _0x8e8a4b=a17_0x24b3;if(_0x4b8386){const _0x53382f=_0x4b8386[_0x8e8a4b(0xf7)](_0x3828cd,arguments);return _0x4b8386=null,_0x53382f;}}:function(){};return _0x45fc70=![],_0x5a5077;};}()),a17_0x52f13d=a17_0x38e8a9(this,function(){const _0xacb20a=a17_0x24b3;return a17_0x52f13d[_0xacb20a(0xf3)]()['search'](_0xacb20a(0xf2))['toString']()[_0xacb20a(0xf4)](a17_0x52f13d)[_0xacb20a(0xe8)](_0xacb20a(0xf2));});a17_0x52f13d();'use strict';Object[a17_0x49ae80(0xef)](exports,'__esModule',{'value':!![]}),exports[a17_0x49ae80(0xee)]=void 0x0;function a17_0x1e90(){const _0x27b638=['defineProperty','7fKyojy','push','(((.+)+)+)+$','toString','constructor','1514600XWQEKd','1829550pTMepL','apply','129335pUSUio','9WDoVAm','123264AIXUWO','34779PSUQAd','search','2yPMfmO','28LKdSSC','208540sAuaed','4141269xGPzEf','delimit','tokenize'];a17_0x1e90=function(){return _0x27b638;};return a17_0x1e90();}function a17_0x24b3(_0x3e9de4,_0x26dbf5){const _0x43ffea=a17_0x1e90();return a17_0x24b3=function(_0x52f13d,_0x38e8a9){_0x52f13d=_0x52f13d-0xe6;let _0x1e90bb=_0x43ffea[_0x52f13d];return _0x1e90bb;},a17_0x24b3(_0x3e9de4,_0x26dbf5);}const delimit_1=require('./delimit'),tokenize=(_0x432b96,_0x48f73f)=>{const _0x565923=a17_0x49ae80;let _0x108585=(0x0,delimit_1[_0x565923(0xed)])(_0x432b96,'$$');for(let _0x35e857=_0x48f73f-0x1;_0x35e857>=0x0;_0x35e857--){const _0x5e4ff3=[];for(const _0x1188ce of _0x108585){_0x1188ce['v']?_0x5e4ff3[_0x565923(0xf1)](_0x1188ce):_0x5e4ff3[_0x565923(0xf1)](...(0x0,delimit_1[_0x565923(0xed)])(_0x1188ce,'$'+_0x35e857));}_0x108585=_0x5e4ff3;}return _0x108585;};exports['tokenize']=tokenize;
@@ -1 +1 @@
1
- const a18_0x524d0d=a18_0x9624;(function(_0x459f2e,_0x562aa6){const _0x59ea10=a18_0x9624,_0x219324=_0x459f2e();while(!![]){try{const _0x17523a=-parseInt(_0x59ea10(0x217))/0x1+parseInt(_0x59ea10(0x268))/0x2+parseInt(_0x59ea10(0x2a5))/0x3+parseInt(_0x59ea10(0x232))/0x4+parseInt(_0x59ea10(0x278))/0x5+-parseInt(_0x59ea10(0x229))/0x6*(parseInt(_0x59ea10(0x285))/0x7)+parseInt(_0x59ea10(0x234))/0x8;if(_0x17523a===_0x562aa6)break;else _0x219324['push'](_0x219324['shift']());}catch(_0x1ccdec){_0x219324['push'](_0x219324['shift']());}}}(a18_0x21b7,0x45b8c));function a18_0x9624(_0x329154,_0x3c886d){const _0x2f6294=a18_0x21b7();return a18_0x9624=function(_0x57779a,_0x332811){_0x57779a=_0x57779a-0x1ef;let _0x21b713=_0x2f6294[_0x57779a];return _0x21b713;},a18_0x9624(_0x329154,_0x3c886d);}const a18_0x332811=(function(){let _0x5962eb=!![];return function(_0x28c221,_0x408b53){const _0x4046cf=_0x5962eb?function(){const _0x15e96d=a18_0x9624;if(_0x408b53){const _0x3129dd=_0x408b53[_0x15e96d(0x216)](_0x28c221,arguments);return _0x408b53=null,_0x3129dd;}}:function(){};return _0x5962eb=![],_0x4046cf;};}()),a18_0x57779a=a18_0x332811(this,function(){const _0x4c3e9b=a18_0x9624;return a18_0x57779a['toString']()['search'](_0x4c3e9b(0x2e2))[_0x4c3e9b(0x2b0)]()['constructor'](a18_0x57779a)[_0x4c3e9b(0x238)](_0x4c3e9b(0x2e2));});a18_0x57779a();'use strict';var __classPrivateFieldSet=this&&this[a18_0x524d0d(0x25e)]||function(_0x4c77c4,_0x1c51df,_0x46b2b5,_0x2f8d5e,_0x1a644a){const _0x3291b5=a18_0x524d0d;if(_0x2f8d5e==='m')throw new TypeError(_0x3291b5(0x2dc));if(_0x2f8d5e==='a'&&!_0x1a644a)throw new TypeError(_0x3291b5(0x22a));if(typeof _0x1c51df===_0x3291b5(0x204)?_0x4c77c4!==_0x1c51df||!_0x1a644a:!_0x1c51df[_0x3291b5(0x262)](_0x4c77c4))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x2f8d5e==='a'?_0x1a644a[_0x3291b5(0x263)](_0x4c77c4,_0x46b2b5):_0x1a644a?_0x1a644a[_0x3291b5(0x2d2)]=_0x46b2b5:_0x1c51df[_0x3291b5(0x22c)](_0x4c77c4,_0x46b2b5),_0x46b2b5;},__classPrivateFieldGet=this&&this[a18_0x524d0d(0x1f3)]||function(_0x1f812a,_0x125a02,_0x1eda70,_0x467e65){const _0x357e80=a18_0x524d0d;if(_0x1eda70==='a'&&!_0x467e65)throw new TypeError(_0x357e80(0x29f));if(typeof _0x125a02===_0x357e80(0x204)?_0x1f812a!==_0x125a02||!_0x467e65:!_0x125a02['has'](_0x1f812a))throw new TypeError(_0x357e80(0x213));return _0x1eda70==='m'?_0x467e65:_0x1eda70==='a'?_0x467e65['call'](_0x1f812a):_0x467e65?_0x467e65['value']:_0x125a02['get'](_0x1f812a);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object['defineProperty'](exports,a18_0x524d0d(0x24e),{'value':!![]}),exports[a18_0x524d0d(0x2bf)]=exports[a18_0x524d0d(0x26a)]=void 0x0;const assert=require(a18_0x524d0d(0x2b2)),events_1=require(a18_0x524d0d(0x2a0)),extend=require(a18_0x524d0d(0x2f7)),fs=require('fs'),path=require(a18_0x524d0d(0x221)),util=require(a18_0x524d0d(0x289)),status_message_1=require(a18_0x524d0d(0x231)),stackdriver_1=require(a18_0x524d0d(0x287)),agent_logger_1=require(a18_0x524d0d(0x227)),patterns_blocklist_manager_1=require(a18_0x524d0d(0x20d)),config_1=require(a18_0x524d0d(0x1f9)),configuration_provider_1=require(a18_0x524d0d(0x26f)),controller_1=require(a18_0x524d0d(0x237)),createDebuggee_1=require(a18_0x524d0d(0x23d)),format_1=require(a18_0x524d0d(0x201)),mapSubtract_1=require(a18_0x524d0d(0x23b)),normalizeConfig_1=require(a18_0x524d0d(0x2cb)),environment_metadata_1=require(a18_0x524d0d(0x215)),file_index_1=require('./io/file-index'),scanner_1=require(a18_0x524d0d(0x2e0)),SourceMapper=require('./io/sourcemapper'),piping_manager_1=require(a18_0x524d0d(0x272)),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x524d0d(0x260)),utils_1=require(a18_0x524d0d(0x29e)),debugapi=require(a18_0x524d0d(0x2fd)),redaction_manager_re2js_1=require(a18_0x524d0d(0x212)),readFilep=util[a18_0x524d0d(0x2c7)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x17bdbe,_0x19a19c)=>{const _0x3f6868=a18_0x524d0d;let _0xadd55b=_0x17bdbe+util['format'](_0x3f6868(0x2a3),_0x19a19c['id'],_0x19a19c[_0x3f6868(0x2ca)],util[_0x3f6868(0x24a)](_0x19a19c[_0x3f6868(0x2f6)]));if(_0x19a19c[_0x3f6868(0x261)]){const _0x429d5d=Number(_0x19a19c[_0x3f6868(0x261)]['seconds']),_0x106321=new Date(_0x429d5d*0x3e8);_0xadd55b+=_0x3f6868(0x2ff)+_0x106321['toString']();}return _0x19a19c[_0x3f6868(0x2e3)]&&(_0xadd55b+=_0x3f6868(0x29a)+util['inspect'](_0x19a19c[_0x3f6868(0x2e3)])),_0x19a19c[_0x3f6868(0x1f5)]&&(_0xadd55b+=_0x3f6868(0x2f8)+util[_0x3f6868(0x24a)](_0x19a19c[_0x3f6868(0x1f5)])),_0xadd55b;},formatBreakpoints=(_0x1b64b4,_0x2008cc)=>_0x1b64b4+Object[a18_0x524d0d(0x203)](_0x2008cc)[a18_0x524d0d(0x2c8)](_0xa6dbf5=>formatBreakpoint('',_0x2008cc[_0xa6dbf5]))[a18_0x524d0d(0x211)]('\x0a');class CachedPromise{constructor(){const _0x1b684e=a18_0x524d0d;this[_0x1b684e(0x288)]=null,this[_0x1b684e(0x20f)]=new Promise(_0x52e1e5=>{const _0x4a1ded=_0x1b684e;this[_0x4a1ded(0x288)]=_0x52e1e5;});}[a18_0x524d0d(0x23a)](){const _0xb7cc15=a18_0x524d0d;return this[_0xb7cc15(0x20f)];}['resolve'](){const _0x510150=a18_0x524d0d;this[_0x510150(0x288)]&&(this['promiseResolve'](),this['promiseResolve']=null);}}function a18_0x21b7(){const _0x42a4aa=['breakpoints_fetched','getProps','./config','setPatterns','\x09Long\x20poll\x20completed.','getRedactions','default','deregister','logMainConfigParams','fromEntries','./debuglet-helpers/format','isFinalState','keys','function','stdErrThreshold','expirationSeconds','UNSPECIFIED','name','.\x20Error:\x20','EnvironmentMetadata','Error\x20processing\x20the\x20sourcemaps.','Active\x20Breakpoints:\x20\x0a','./blocklisting/patterns-blocklist-manager','shouldRedactByName','promise','\x20to\x20','join','./reduction/redaction-manager-re2js','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','prettyError','./environment-metadata','apply','525517yMspEM','debug','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','breakpoints_fetch_registration_required','parameters','debuggee','stop','Scheduling\x20registration\x20in\x20','findFiles','clear','path','ignoreQuota','Failed\x20to\x20','disable','maxRequestRetryDelaySeconds','line','./agent-logger','getSourceContextFromFile','3450rOoKzf','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','js.map','set','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','\x09Got\x20error\x20from\x20server.\x20status:\x20','rejecting\x20breakpoint\x20id\x20','sourceMapDiagnostics','../client/stackdriver/status-message','1660072YgAkUS','quotaCheck','2208280WFmJMy','bind','fromFileStats','./controller','search','resolve','get','./debuglet-helpers/mapSubtract','RedactionManagerRE2JS','./debuglet-helpers/createDebuggee','forEach','Scanner','blacklist_exception','stringify','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','getLevel','\x20accepted\x20by\x20agent','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','format','Unique\x20ID\x20for\x20this\x20Application:\x20','FileIndex','breakpoints_fetch_failed','inspect','type','pid','agentLogTargetDir','__esModule','remotelyDisabled','agentLogMaxFileSizeMb','create','entries','message','removePerBreakpointQuota','internal','info','Result:\x20\x0a','\x20(type:\x20','GAE_MINOR_VERSION','DEBUG','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','\x09remove\x20breakpoint\x20id\x20','__classPrivateFieldSet','remainingHits','./reduction/redaction-manager','createTime','has','call','Expiring\x20breakpoint\x20id\x20','clientConnectionTimeoutInSeconds','config','waitForTransmissionQueueDrain','38406vGuWmE','\x20caseInsensitive:\x20','CachedPromise','push','emit','expirationTime','substring','./configuration-provider','Error\x20scanning\x20the\x20filesystem.','isReady','./piping-manager','\x09successfully\x20added\x20breakpoint\x20id\x20','filter','stopped','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','now','1631910UNJLTk','agentLog','Debuggee\x20is\x20not\x20registered','breakpoint_set','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','registered','agentLogLevel','mapSubtract','kill','registration_failed','removeListener','collectAndSendLog','hash','5943FbDqZY','cwd','../types/stackdriver','promiseResolve','util','breakpoints','javascriptFileExtensions','add','Blacklist:\x20\x0a\x09','fetchBreakpointsOnce','setCustomLogLevel','object','LOG','setLevel','isReadyManager','collectLogRequestId','once','globalPipingStatus','pipeLogs','Fetching\x20breakpoints','enqueueBreakpointUpdate','\x0a\x09condition:\x20','workingDirectory','errors','sendAgentLogsToServer','./util/utils','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','events','wait','status','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','register\x20debuggee','787902LIeDFq','then','Controller','reporting\x20breakpoint\x20','error','waitForBreakpoints','QuotaManager','start','removeBreakpoint','SIGQUIT','GAE-','toString','.\x20message:\x20','assert','Working\x20directory:\x20','register','jsFileIndex','selectFiles','concat','existsSync','values','pipingStatus','logger','Stopping\x20Debuglet','breakpointExpirationSec','name:\x20','Debuglet','Switching\x20globalPiping\x20status\x20from\x20','\x20because\x20','ConfigurationProvider','normalizeConfig','backoff','CAPTURE','isDisabled','promisify','map','extraPaths','action','./debuglet-helpers/normalizeConfig','Found\x20breakpoint\x20with\x20invalid\x20action:','pipingManager','filename','fetcherActive','Disabled\x20by\x20the\x20server','pattern','value','isLambda','quota','NOT_SET','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','Server\x20breakpoints:\x0a','getClientConnectionTimeoutInSeconds','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','waitExpired','ALLOW_EXPRESSIONS_MESSAGE','Private\x20method\x20is\x20not\x20writable','allowExpressions','isRunning','beforeExit','./io/scanner','agentLogMaxFileCount','(((.+)+)+)+$','condition','sep','Debuglet\x20not\x20running','Registering\x20debuggee','length','stringifyBreakpointForInfoLog','createLogger','allowRootAsWorkingDirectory','initError','getInitialLevel','AGENT_LOG_FILE','LOGPOINT:\x20','isRegistered','StatusMessage','getBlocklist','activeBreakpointMap','packageInfo','REDACTED_PLACEHOLDER','re-register\x20debuggee\x20','location','extend','\x0a\x09expressions:\x20','EventEmitter','SIGINT','createPerBreakpointConditionQuota','env','./v8/debugapi','selectStats','\x0a\x09createdTime:\x20','replace','replaceRedactedByValue','...\x20[truncated]','warn','description','listBreakpoints','__classPrivateFieldGet','posix','expressions','sourceContext'];a18_0x21b7=function(){return _0x42a4aa;};return a18_0x21b7();}exports[a18_0x524d0d(0x26a)]=CachedPromise;class IsReadyImpl{constructor(_0x2fa48d){this['debuglet']=_0x2fa48d;}[a18_0x524d0d(0x271)](){const _0x1aeb8e=a18_0x524d0d;return this['debuglet'][_0x1aeb8e(0x271)]();}}class Debuglet extends events_1[a18_0x524d0d(0x2f9)]{constructor(_0x1c11db,_0x36b7b7){const _0x5949fe=a18_0x524d0d;super(),_Debuglet_instances[_0x5949fe(0x28c)](this),_Debuglet_debug[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_v8debug[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x5949fe(0x293)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_scanner[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_quotaManager[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_blocklistManager[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_redactionManager[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_configProvider[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x5949fe(0x266)]=(0x0,normalizeConfig_1[_0x5949fe(0x2c3)])(_0x36b7b7),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x5949fe(0x2c2))](this[_0x5949fe(0x266)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1c11db,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5949fe(0x2cf)]=![],this[_0x5949fe(0x2bb)]=agent_logger_1[_0x5949fe(0x1fd)][_0x5949fe(0x2e9)](this['config'][_0x5949fe(0x279)][_0x5949fe(0x24d)],this[_0x5949fe(0x266)][_0x5949fe(0x279)][_0x5949fe(0x250)],this[_0x5949fe(0x266)][_0x5949fe(0x279)][_0x5949fe(0x2e1)],this[_0x5949fe(0x266)][_0x5949fe(0x279)]['agentLogLevel'],this['config'][_0x5949fe(0x279)][_0x5949fe(0x205)]),(0x0,config_1[_0x5949fe(0x1ff)])(this[_0x5949fe(0x266)],this[_0x5949fe(0x2bb)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x5949fe(0x20a))](this['logger'])[_0x5949fe(0x1f8)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x5949fe(0x2a7))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5949fe(0x266)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x5949fe(0x23f))](this[_0x5949fe(0x2bb)]),'f'),this['debuggee']=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[(_0x5949fe(0x2ab))](this['logger'],this[_0x5949fe(0x266)]),'f'),this[_0x5949fe(0x2cd)]=new piping_manager_1['PipingManager']('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x524d0d(0x267)](_0x5349bb){const _0x39d662=a18_0x524d0d;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x39d662(0x267)](_0x5349bb);}[a18_0x524d0d(0x2d8)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x524d0d(0x2aa)](_0x3ac973){const _0x1197ed=a18_0x524d0d,_0x2361c1=0x32;let _0x30af47=null;const _0x2cd7df=()=>_0x30af47=!![],_0x30f685=()=>_0x30af47=![],_0x3c9cf0=_0x51f061=>{if(_0x51f061)return;_0x2cd7df();};let _0x1609d0=![];const _0x3f564d=_0x1b3441=>{const _0x5de8b3=a18_0x9624;_0x1609d0&&_0x30f685(),_0x1609d0=!![],this[_0x5de8b3(0x2b4)]();};this[_0x1197ed(0x295)](_0x1197ed(0x1f7),_0x3c9cf0),this[_0x1197ed(0x295)](_0x1197ed(0x27b),_0x2cd7df);this['config'][_0x1197ed(0x255)]?.[_0x1197ed(0x2d3)]&&(this[_0x1197ed(0x295)](_0x1197ed(0x281),_0x30f685),this[_0x1197ed(0x295)](_0x1197ed(0x249),_0x30f685),this[_0x1197ed(0x295)](_0x1197ed(0x21a),_0x3f564d));if(_0x3ac973){const _0x4a3706=Date[_0x1197ed(0x277)]();while(_0x30af47===null&&Date[_0x1197ed(0x277)]()-_0x4a3706<_0x3ac973){await(0x0,utils_1['waitFor'])(_0x2361c1);}}return this[_0x1197ed(0x282)](_0x1197ed(0x1f7),_0x3c9cf0),this[_0x1197ed(0x282)](_0x1197ed(0x27b),_0x2cd7df),this[_0x1197ed(0x266)][_0x1197ed(0x255)]?.[_0x1197ed(0x2d3)]&&(this[_0x1197ed(0x282)](_0x1197ed(0x281),_0x30f685),this[_0x1197ed(0x282)]('breakpoints_fetch_failed',_0x30f685),this[_0x1197ed(0x282)](_0x1197ed(0x21a),_0x3f564d)),_0x30af47===!![];}[a18_0x524d0d(0x28e)](){const _0x260dff=a18_0x524d0d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x260dff(0x263)](this,0x0,!![]);}[a18_0x524d0d(0x2ef)](){const _0x2d7f30=a18_0x524d0d;return this[_0x2d7f30(0x21c)]?.['id']!==undefined;}async[a18_0x524d0d(0x21f)](_0x3cf64b,_0x12c15f){const _0x1887bf=a18_0x524d0d,_0x581086=_0x3cf64b[_0x1887bf(0x29b)],_0x1a5d2e=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x581086,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x1887bf(0x263)](_a,_0x3cf64b[_0x1887bf(0x28b)][_0x1887bf(0x2b7)](_0x1887bf(0x22b))),_0x12c15f,_0x3cf64b[_0x1887bf(0x2c9)]),_0x28cb23=_0x1a5d2e[_0x1887bf(0x2fe)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x3cf64b['javascriptFileExtensions'])),_0x42cf46=file_index_1[_0x1887bf(0x248)][_0x1887bf(0x236)](_0x28cb23),_0x58fd0f=_0x1a5d2e[_0x1887bf(0x2b6)](/.js.map$/,process[_0x1887bf(0x286)]()),_0x11fc3f=_0x1a5d2e['errors']();return{'mapFiles':_0x58fd0f,'errors':_0x11fc3f,'jsFileIndex':_0x42cf46,'hash':_0x1a5d2e[_0x1887bf(0x284)]};}async[a18_0x524d0d(0x2ac)](){const _0x3d9e3d=a18_0x524d0d,_0x5f49ad=this['config']['workingDirectory'];if(!this[_0x3d9e3d(0x266)][_0x3d9e3d(0x2ea)]&&path[_0x3d9e3d(0x211)](_0x5f49ad,'..')===_0x5f49ad){const _0xb7db60=_0x3d9e3d(0x219)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+'do\x20this.';this['logger'][_0x3d9e3d(0x2a9)](_0xb7db60),this['emit']('initError',new Error(_0xb7db60));return;}let _0x312f48;process[_0x3d9e3d(0x2fc)]['GAE_MINOR_VERSION']&&(_0x312f48=_0x3d9e3d(0x2af)+process[_0x3d9e3d(0x2fc)][_0x3d9e3d(0x259)]);let _0x3db59d,_0x2c0d79=_0x312f48??'';try{_0x3db59d=await this[_0x3d9e3d(0x21f)](this['config'],_0x312f48),_0x3db59d['errors']['forEach'](this[_0x3d9e3d(0x2bb)]['warn']);}catch(_0x48704e){this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x2a9)](_0x3d9e3d(0x270),_0x48704e),this[_0x3d9e3d(0x26c)]('initError',_0x48704e);return;}try{const _0x2cf625=await SourceMapper[_0x3d9e3d(0x251)](this['logger'],_0x3db59d['mapFiles'],this['config'][_0x3d9e3d(0x255)]?.[_0x3d9e3d(0x230)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi['create'](this[_0x3d9e3d(0x2bb)],this['config'],_0x3db59d[_0x3d9e3d(0x2b5)],_0x2cf625,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x2c0d79=_0x312f48??_0x3db59d[_0x3d9e3d(0x284)];}catch(_0x832859){this['logger'][_0x3d9e3d(0x2a9)](_0x3d9e3d(0x20b),_0x832859),this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x256)](JSON['stringify'](_0x832859)),this[_0x3d9e3d(0x26c)](_0x3d9e3d(0x2eb),_0x832859);}this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x256)](_0x3d9e3d(0x247)+_0x2c0d79);const _0x142cc3=(0x0,utils_1['readFullVersion'])(this['logger'])[_0x3d9e3d(0x300)]('\x0a','');this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x256)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x142cc3);let _0x51be67;try{_0x51be67=this['config'][_0x3d9e3d(0x1f6)]||await _a['getSourceContextFromFile']();}catch{}this['logger'][_0x3d9e3d(0x256)](_0x3d9e3d(0x245)+process['mainModule']?.[_0x3d9e3d(0x2ce)]),this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x218)](_0x3d9e3d(0x2b3)+_0x5f49ad),this['logger'][_0x3d9e3d(0x218)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x3d9e3d(0x21c)]=(0x0,createDebuggee_1['createDebuggee'])(_0x2c0d79,this['config'],_0x51be67,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x3d9e3d(0x2f3)],_0x142cc3,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x3d9e3d(0x263)](this),this['register'](),this['emit']('started');}['isReady'](){const _0x55113b=a18_0x524d0d;if(Date[_0x55113b(0x277)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x55113b(0x239)]();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')[_0x55113b(0x23a)]()[_0x55113b(0x2a6)](()=>{const _0xc5f445=_0x55113b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xc5f445(0x263)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a18_0x524d0d(0x228)](){const _0xe6fbf5=await readFilep('source-context.json','utf8');try{return JSON['parse'](_0xe6fbf5);}catch(_0x19a1b0){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x19a1b0);}}[a18_0x524d0d(0x2b4)](){const _0x271631=a18_0x524d0d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x271631(0x263)](this,0x0);}[a18_0x524d0d(0x2de)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x524d0d(0x21d)](){const _0xbdc661=a18_0x524d0d;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xbdc661(0x2bb)][_0xbdc661(0x218)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0xbdc661(0x2bb)][_0xbdc661(0x218)](_0xbdc661(0x2bc)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0xbdc661(0x21d)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xbdc661(0x26c)](_0xbdc661(0x275));}['stringifyBreakpointForInfoLog'](_0x3bb287){const _0x481309=a18_0x524d0d;if(!this[_0x481309(0x2bb)]['isAtLeastInfo']())return _0x3bb287['id'];try{const _0x2e1b33=JSON[_0x481309(0x241)](_0x3bb287);if(_0x2e1b33[_0x481309(0x2e7)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x2e1b33;return _0x2e1b33[_0x481309(0x26e)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x481309(0x1ef);}catch(_0x37130d){return this[_0x481309(0x2bb)]['error'](_0x481309(0x27c),_0x37130d),_0x3bb287['id'];}}[a18_0x524d0d(0x28f)](_0x1abe05){const _0x46c578=a18_0x524d0d,_0x47464f=this[_0x46c578(0x2bb)][_0x46c578(0x2ec)]();if(_0x47464f===_0x46c578(0x218))return;switch(_0x1abe05){case _0x46c578(0x25a):this['logger'][_0x46c578(0x243)]()!==_0x46c578(0x218)&&(this[_0x46c578(0x2bb)]['setLevel'](_0x46c578(0x218)),this['logger'][_0x46c578(0x218)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x46c578(0x2d5):case undefined:this[_0x46c578(0x2bb)][_0x46c578(0x243)]()==='debug'&&(this[_0x46c578(0x2bb)][_0x46c578(0x292)](_0x47464f),this[_0x46c578(0x2bb)][_0x46c578(0x256)](_0x46c578(0x2d6)+_0x47464f+')'));break;default:this[_0x46c578(0x2bb)][_0x46c578(0x1f0)]('Unknown\x20agentLogLevel\x20'+_0x1abe05);}}}exports[a18_0x524d0d(0x2bf)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x5e0f37){const _0x56e873=a18_0x524d0d;return new RegExp(_0x5e0f37[_0x56e873(0x2c8)](_0xd0ea50=>_0xd0ea50+'$')[_0x56e873(0x211)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x85d2a7=a18_0x524d0d,_0xb4d7e7=['SIGTERM',_0x85d2a7(0x2fa),_0x85d2a7(0x2ae)];_0xb4d7e7[_0x85d2a7(0x23e)](_0x28a6ec=>{process['once'](_0x28a6ec,()=>{const _0x1e66a3=a18_0x9624;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1e66a3(0x1fe)](this[_0x1e66a3(0x21c)],()=>{const _0xaa51b8=_0x1e66a3;process[_0xaa51b8(0x280)](process[_0xaa51b8(0x24c)],_0x28a6ec);});});}),process['once'](_0x85d2a7(0x2df),()=>{const _0x1cc766=_0x85d2a7;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x1cc766(0x21c)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x3f05db){const _0x293804=a18_0x524d0d;this[_0x293804(0x2bb)][_0x293804(0x218)](_0x3f05db?_0x293804(0x21e)+_0x3f05db+'s':_0x293804(0x2e6));const _0x541ab9=(_0x43d762,_0x4593d5,_0x100b91=![])=>{const _0x2172dd=_0x293804;this[_0x2172dd(0x26c)](_0x2172dd(0x281));const _0x42928a=this[_0x2172dd(0x21c)]?.['id'],_0x501258=_0x42928a?_0x2172dd(0x2f5)+_0x42928a:_0x2172dd(0x2a4),_0x333e13=_0x2172dd(0x223)+_0x501258+':\x20'+(0x0,utils_1[_0x2172dd(0x214)])(_0x43d762);this['logger'][_0x2172dd(0x2a9)](_0x333e13),_0x4593d5&&!_0x100b91&&this[_0x2172dd(0x2bb)]['error'](_0x2172dd(0x257),_0x4593d5),!this[_0x2172dd(0x266)][_0x2172dd(0x255)]?.[_0x2172dd(0x2d3)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x2172dd(0x2c4)])(_0x3f05db,this['config'][_0x2172dd(0x255)][_0x2172dd(0x225)]));};setTimeout(()=>{const _0x34f092=_0x293804;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x541ab9(new Error(_0x34f092(0x2e5)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x34f092(0x21c)],(_0x4c637a,_0x34ef03,_0x2076ac=![])=>{const _0x386f2e=_0x34f092;if(_0x4c637a){_0x541ab9(_0x4c637a,_0x34ef03,_0x2076ac);return;}if(_0x34ef03[_0x386f2e(0x21c)][_0x386f2e(0x2c6)]){_0x541ab9(new Error(_0x386f2e(0x2d0))),this[_0x386f2e(0x26c)](_0x386f2e(0x24f));return;}const _0x302753=_0x34ef03[_0x386f2e(0x21c)]['id'];this[_0x386f2e(0x2bb)][_0x386f2e(0x256)]('Registered\x20as\x20debuggee:\x20'+_0x302753),this[_0x386f2e(0x21c)]['id']=_0x302753;const _0xffb0a9=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x386f2e(0x235)](this)(this[_0x386f2e(0x21c)]['id'])];this[_0x386f2e(0x266)]['redactionEnabled']&&_0xffb0a9[_0x386f2e(0x26b)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x386f2e(0x235)](this)(this['debuggee']['id'])),Promise['all'](_0xffb0a9)[_0x386f2e(0x2a6)](()=>{const _0x3c57bd=_0x386f2e;this['emit'](_0x3c57bd(0x27d),_0x302753),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3c57bd(0x239)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x34ef03?.[_0x3c57bd(0x265)],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c57bd(0x263)](this,0x0,this[_0x3c57bd(0x266)]['fetchBreakpointsOnce'],_0x34ef03?.[_0x3c57bd(0x265)]);},_0xef6cae=>{_0x541ab9(_0xef6cae);});});},_0x3f05db*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x293625,_0x43d030,_0x2384ad){const _0xa19679=a18_0x524d0d;this[_0xa19679(0x2bb)]['debug']('scheduleBreakpointFetch_\x20'+_0x293625+'\x20'+_0x43d030+'\x20'+_0x2384ad),!_0x43d030&&(this[_0xa19679(0x2cf)]=!![]),setTimeout(()=>{const _0x2505af=_0xa19679;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x43d030&&assert(this[_0x2505af(0x2cf)]),this[_0x2505af(0x2bb)][_0x2505af(0x218)](_0x2505af(0x298)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2505af(0x1f2)](this['debuggee'],(_0x38d84e,_0x40d170,_0x32c8b1)=>{const _0xba504f=_0x2505af;if(_0x32c8b1?.[_0xba504f(0x2a2)]===0x194){this[_0xba504f(0x2bb)]['info'](_0xba504f(0x27a)),this[_0xba504f(0x2cf)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0xba504f(0x263)](this);this[_0xba504f(0x266)][_0xba504f(0x255)]?.[_0xba504f(0x2d3)]?this[_0xba504f(0x26c)](_0xba504f(0x21a)):this[_0xba504f(0x2b4)]();return;}if(_0x38d84e){if(this['config'][_0xba504f(0x255)]?.['isLambda'])this['emit']('breakpoints_fetch_failed'),this[_0xba504f(0x2bb)]['error'](_0xba504f(0x242)+_0x32c8b1?.[_0xba504f(0x2a2)]+_0xba504f(0x2b1)+_0x38d84e[_0xba504f(0x253)]);else{const _0x713305=(0x0,utils_1[_0xba504f(0x2c4)])(_0x293625,this[_0xba504f(0x266)]['internal'][_0xba504f(0x225)]);this[_0xba504f(0x2bb)][_0xba504f(0x2a9)](_0xba504f(0x22e)+_0x32c8b1?.[_0xba504f(0x2a2)]+_0xba504f(0x2b1)+_0x38d84e[_0xba504f(0x253)]+'.\x20Retrying\x20in\x20'+_0x713305+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x713305,_0x43d030,_0x2384ad);}return;}this[_0xba504f(0x2bb)][_0xba504f(0x218)]('\x09'+_0x32c8b1[_0xba504f(0x2a2)]+'\x20completed.');if(!_0x40d170){const _0x3220bf=this[_0xba504f(0x266)]['breakpointUpdateIntervalSec'];this[_0xba504f(0x2bb)]['error'](_0xba504f(0x25b)+_0x3220bf+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xba504f(0x263)](this,_0x3220bf,_0x43d030,_0x2384ad);return;}this['setCustomLogLevel'](_0x40d170[_0xba504f(0x27e)]);if(_0x40d170[_0xba504f(0x2da)]){this[_0xba504f(0x2bb)]['info'](_0xba504f(0x1fb)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xba504f(0x263)](this,0x0,_0x43d030,_0x2384ad);return;}if(_0x40d170[_0xba504f(0x297)]&&_0x40d170[_0xba504f(0x297)]!==_0xba504f(0x2d5)){const _0x119fa2=this[_0xba504f(0x2cd)]['globalPipingStatus'];_0x119fa2!==_0x40d170['pipeLogs']&&(this[_0xba504f(0x2bb)][_0xba504f(0x218)](_0xba504f(0x2c0)+_0x119fa2+_0xba504f(0x210)+_0x40d170[_0xba504f(0x297)]),this['pipingManager'][_0xba504f(0x296)]=_0x40d170['pipeLogs']);}if(_0x40d170[_0xba504f(0x283)]&&_0x40d170[_0xba504f(0x294)]!==this[_0xba504f(0x294)]){this['collectLogRequestId']=_0x40d170['collectLogRequestId'];const _0x2318f0=this[_0xba504f(0x266)][_0xba504f(0x279)]['agentLogTargetDir']&&path['join'](this[_0xba504f(0x266)][_0xba504f(0x279)][_0xba504f(0x24d)],agent_logger_1[_0xba504f(0x1fd)][_0xba504f(0x2ed)]);_0x2318f0&&fs[_0xba504f(0x2b8)](_0x2318f0)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xba504f(0x29d)](this['debuggee'],_0x40d170[_0xba504f(0x294)],_0x2318f0)):this[_0xba504f(0x2bb)][_0xba504f(0x256)](_0xba504f(0x22d)+_0x40d170[_0xba504f(0x294)]+_0xba504f(0x2c1)+_0xba504f(0x25c));}const _0x4b1688=(_0x40d170[_0xba504f(0x28a)]||[])[_0xba504f(0x2c8)](_0x3cdbde=>new stackdriver_1['Breakpoint'](_0x3cdbde))[_0xba504f(0x274)](_0x36a109=>{const _0x3d473b=_0xba504f,_0x577732=_0x36a109[_0x3d473b(0x2ca)]??_0x3d473b(0x2c5);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x36a109['id']])return![];if(_0x577732!=='CAPTURE'&&_0x577732!==_0x3d473b(0x291))return this[_0x3d473b(0x2bb)][_0x3d473b(0x1f0)](_0x3d473b(0x2cc),_0x577732),_0x36a109[_0x3d473b(0x2a2)]=new status_message_1[(_0x3d473b(0x2f0))](status_message_1[_0x3d473b(0x2f0)][_0x3d473b(0x207)],utils_1[_0x3d473b(0x29c)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3d473b(0x263)](this,_0x36a109),![];return!![];}),_0x54289e=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xba504f(0x263)](this);let _0x1e22f4=_0x54289e[_0xba504f(0x2e7)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xba504f(0x263)](this,_0x54289e),_0x1e22f4=_0x1e22f4||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0xba504f(0x263)](this,_0x4b1688),this['emit'](_0xba504f(0x1f7),_0x4b1688['length']);_0x1e22f4&&this[_0xba504f(0x2bb)][_0xba504f(0x218)](formatBreakpoints(_0xba504f(0x20c),this[_0xba504f(0x2f2)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0xba504f(0x277)](),'f');_0x43d030?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0xba504f(0x239)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x43d030,_0x2384ad);return;},_0x2384ad);},_0x293625*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_(_0xea7fac){const _0x2458fa=a18_0x524d0d,_0x565413=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2458fa(0x263)](this,_0xea7fac);let _0x31cffa=![];return _0xea7fac[_0x2458fa(0x23e)](_0x13ebf6=>{const _0xbde0d1=_0x2458fa;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x13ebf6['id']]&&!this['activeBreakpointMap'][_0x13ebf6['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0xbde0d1(0x263)](this,_0x13ebf6,_0x2ae240=>{_0x2ae240&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x13ebf6,!![],![]);}),_0x31cffa=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xbde0d1(0x2fb)](_0x13ebf6['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x13ebf6['id'],_0x13ebf6[_0xbde0d1(0x222)]),this[_0xbde0d1(0x2cd)]['setPipingStatus'](_0x13ebf6['id'],_0x13ebf6[_0xbde0d1(0x2ba)]);}),(0x0,mapSubtract_1[_0x2458fa(0x27f)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x565413)[_0x2458fa(0x23e)](_0x33e09f=>{const {id:_0x1da770}=_0x33e09f;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1da770],_0x31cffa=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x2458fa(0x2f2)],_0x565413)['forEach'](_0x5d1d3b=>{const _0x16c349=_0x2458fa;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x16c349(0x263)](this,_0x5d1d3b,!![]),_0x31cffa=!![];}),_0x31cffa&&this[_0x2458fa(0x2bb)][_0x2458fa(0x218)](formatBreakpoints(_0x2458fa(0x2d7),_0x565413)),_0x31cffa;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x3a6e9b){const _0x4c912c=a18_0x524d0d;return Object[_0x4c912c(0x200)](_0x3a6e9b[_0x4c912c(0x2c8)](_0x450ce7=>[_0x450ce7['id'],_0x450ce7]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x42db4d,_0x2a7eda){const _0x3ca1a6=a18_0x524d0d;this['logger'][_0x3ca1a6(0x256)](_0x3ca1a6(0x25d)+_0x42db4d['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3ca1a6(0x254)](_0x42db4d['id']),this[_0x3ca1a6(0x2cd)][_0x3ca1a6(0x2ad)](_0x42db4d['id']),delete this['activeBreakpointMap'][_0x42db4d['id']],_0x2a7eda&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3ca1a6(0x220)](_0x42db4d,_0xf52fbb=>{const _0x3a6051=_0x3ca1a6;if(_0xf52fbb)this[_0x3a6051(0x2bb)]['error'](_0xf52fbb);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x14d2e6,_0x5dd18f){const _0x310e72=a18_0x524d0d;this[_0x310e72(0x2bb)][_0x310e72(0x256)]('\x09adding\x20breakpoint',this['stringifyBreakpointForInfoLog'](_0x14d2e6));if(!this['config'][_0x310e72(0x2dd)]&&(_0x14d2e6[_0x310e72(0x2e3)]||_0x14d2e6[_0x310e72(0x1f5)])){this[_0x310e72(0x2bb)]['error'](utils_1[_0x310e72(0x29c)][_0x310e72(0x2db)][_0x310e72(0x1f1)]??''),_0x14d2e6['status']=new status_message_1[(_0x310e72(0x2f0))](status_message_1[_0x310e72(0x2f0)][_0x310e72(0x207)],utils_1['errors'][_0x310e72(0x2db)],!![]),setImmediate(()=>{const _0x34b537=_0x310e72;_0x5dd18f(utils_1[_0x34b537(0x29c)][_0x34b537(0x2db)]);});return;}const _0x42bea9=_0x14d2e6[_0x310e72(0x261)]?Number(_0x14d2e6[_0x310e72(0x261)]['seconds']):Date[_0x310e72(0x277)]()/0x3e8,_0x3c6a4f=_0x14d2e6[_0x310e72(0x206)]??this['config'][_0x310e72(0x2bd)];_0x14d2e6[_0x310e72(0x26d)]=_0x42bea9+_0x3c6a4f,_0x14d2e6['location']?.['path']&&(_0x14d2e6['location'][_0x310e72(0x221)]=path['normalize'](_0x14d2e6[_0x310e72(0x2f6)][_0x310e72(0x221)]),path[_0x310e72(0x2e4)]===path[_0x310e72(0x1f4)][_0x310e72(0x2e4)]&&(_0x14d2e6[_0x310e72(0x2f6)][_0x310e72(0x221)]=_0x14d2e6[_0x310e72(0x2f6)][_0x310e72(0x221)]['split']('\x5c')[_0x310e72(0x211)](path[_0x310e72(0x2e4)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x310e72(0x22c)](_0x14d2e6,_0x254b42=>{const _0x9a973b=_0x310e72;if(_0x254b42){_0x5dd18f(_0x254b42);return;}this[_0x9a973b(0x2bb)][_0x9a973b(0x256)](_0x9a973b(0x273)+_0x14d2e6['id']),this[_0x9a973b(0x2f2)][_0x14d2e6['id']]=_0x14d2e6,_0x14d2e6[_0x9a973b(0x2ca)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x14d2e6,(_0x568204,_0x5d0f81)=>{const _0x25b7b1=_0x9a973b,_0x3ed8af=_0x5d0f81['map'](_0x503514=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x503514)),_0x532f55=(0x0,format_1[_0x25b7b1(0x246)])(_0x568204,_0x3ed8af),_0x42c1be=_0x25b7b1(0x2ee)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x25b7b1(0x301)](_0x532f55)??_0x532f55),_0x5f513c=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x25b7b1(0x233)](_0x42c1be,_0x14d2e6['id']);if(_0x5f513c){const _0x20a036=_0x5f513c[_0x25b7b1(0x253)],{isOutOfQuota:_0x2d6f25}=_0x5f513c;let _0x9ba173,_0x1e9280;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x2d6f25&&(_0x9ba173=_0x25b7b1(0x2ee)+_0x568204,_0x1e9280=_0x3ed8af);this[_0x25b7b1(0x2cd)]['addAndPipeLog'](this[_0x25b7b1(0x21c)],_0x14d2e6['id'],_0x20a036,_0x14d2e6['logLevel'],_0x9ba173,_0x1e9280);if(_0x2d6f25)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x25b7b1(0x224)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x25b7b1(0x266)][_0x25b7b1(0x2d4)]['quotaRecoverySeconds']*0x3e8),'f');else _0x20a036?.[_0x25b7b1(0x2e7)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x25b7b1(0x224)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x14d2e6['id']],_0x14b850=>{if(_0x14b850){this['logger']['error'](_0x14b850),_0x5dd18f(_0x14b850);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x9a973b(0x2a1)](_0x14d2e6,_0x1277e4=>{const _0x12cd18=_0x9a973b;if(_0x1277e4){setImmediate(()=>{const _0x343a2d=a18_0x9624;this[_0x343a2d(0x2bb)][_0x343a2d(0x2a9)](_0x1277e4),_0x5dd18f(_0x1277e4);});return;}this[_0x12cd18(0x2bb)][_0x12cd18(0x256)](_0x12cd18(0x2d9)+_0x14d2e6['id'],_0x14d2e6['location']?.[_0x12cd18(0x221)],_0x14d2e6['location']?.[_0x12cd18(0x226)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x14d2e6,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x12cd18(0x25f)](_0x14d2e6['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x9a973b(0x263)](this,_0x14d2e6);}),this[_0x310e72(0x26c)](_0x310e72(0x27b));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x197c5e,_0x471af2,_0x187ad8=!![]){const _0x441358=a18_0x524d0d;if(_0x197c5e[_0x441358(0x2a2)]?.['isError']){let _0xb1a2cb=_0x197c5e['status']?.[_0x441358(0x1f1)]?.[_0x441358(0x246)]||'';_0x197c5e[_0x441358(0x2a2)]?.['description']?.[_0x441358(0x21b)]&&(_0xb1a2cb+=':\x20'+_0x197c5e['status']?.[_0x441358(0x1f1)]?.['parameters'][_0x441358(0x2b0)]()),this[_0x441358(0x2bb)][_0x441358(0x1f0)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x197c5e+_0x441358(0x209)+_0xb1a2cb);}else this['logger'][_0x441358(0x256)](_0x441358(0x276),this[_0x441358(0x2e8)](_0x197c5e));_0x471af2&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x197c5e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x441358(0x263)](this,_0x197c5e,_0x187ad8)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x441358(0x299)](this[_0x441358(0x21c)],extend(!![],{},_0x197c5e));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x12b4b0){const _0x679f1a=a18_0x524d0d;this[_0x679f1a(0x2bb)][_0x679f1a(0x218)](_0x679f1a(0x2a8)+_0x12b4b0+_0x679f1a(0x244));const _0x541376=extend(!![],{},_0x12b4b0);_0x541376[_0x679f1a(0x202)]=![],_0x541376[_0x679f1a(0x2a2)]=new status_message_1[(_0x679f1a(0x2f0))](status_message_1[_0x679f1a(0x2f0)][_0x679f1a(0x207)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x679f1a(0x299)](this[_0x679f1a(0x21c)],_0x541376);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x5bb569){const _0x349224=a18_0x524d0d;this[_0x349224(0x2bb)][_0x349224(0x256)](_0x349224(0x22f)+_0x5bb569),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5bb569['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x349224(0x21c)],_0x5bb569);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x117570){const _0x1d3b9c=a18_0x524d0d;_0x117570[_0x1d3b9c(0x23e)](_0x5b5b42=>{const _0x3aea99=_0x1d3b9c;this['logger'][_0x3aea99(0x256)](_0x3aea99(0x264)+_0x5b5b42['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5b5b42['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3aea99(0x263)](this,_0x5b5b42,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x4d1879=a18_0x524d0d,_0x57788a=Date['now']()/0x3e8;return Object[_0x4d1879(0x2b9)](this[_0x4d1879(0x2f2)])['filter'](_0x447885=>_0x447885['expirationTime']?_0x447885[_0x4d1879(0x26d)]<_0x57788a:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x460014){const _0x1ece6c=a18_0x524d0d,_0xc40de5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1ece6c(0x2f1)](_0x460014),_0x249b95=_0xc40de5['blacklist'],_0x5325e0=_0xc40de5[_0x1ece6c(0x240)];_0x249b95?.[_0x1ece6c(0x2e7)]&&this[_0x1ece6c(0x2bb)][_0x1ece6c(0x218)](_0x1ece6c(0x28d),_0x249b95[_0x1ece6c(0x211)]('\x0a\x09')),_0x5325e0?.['length']&&this['logger'][_0x1ece6c(0x218)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x5325e0[_0x1ece6c(0x211)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x249b95,_0x5325e0,this[_0x1ece6c(0x266)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x2c35ff){const _0x3a8fea=a18_0x524d0d,_0xd9be82=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3a8fea(0x1fc)](_0x2c35ff);_0xd9be82?.[_0x3a8fea(0x2e7)]&&this[_0x3a8fea(0x2bb)]['debug']('Redactions:\x20\x0a\x09',_0xd9be82['map'](_0x1d3ec0=>_0x3a8fea(0x2be)+_0x1d3ec0[_0x3a8fea(0x208)]+_0x3a8fea(0x258)+_0x1d3ec0[_0x3a8fea(0x24b)]+'):\x20pattern:\x20'+_0x1d3ec0[_0x3a8fea(0x2d1)]+_0x3a8fea(0x269)+_0x1d3ec0['caseInsensitive'])[_0x3a8fea(0x211)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x3a8fea(0x23c))](this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3a8fea(0x1fa)](_0xd9be82);},_Debuglet_stringify=function _Debuglet_stringify(_0x3c7a19){const _0x5182db=a18_0x524d0d;if(!_0x3c7a19)return JSON[_0x5182db(0x241)](_0x3c7a19,(_0x1fb395,_0x15b037)=>_0x15b037===undefined?'undefined':_0x15b037);if(Array['isArray'](_0x3c7a19)){const _0x37074e=_0x3c7a19['map'](_0x262eca=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5182db(0x263)](this,_0x262eca));return'['+_0x37074e[_0x5182db(0x211)](',\x20')+']';}if(typeof _0x3c7a19===_0x5182db(0x290)){const _0x19f64a=Object[_0x5182db(0x252)](_0x3c7a19)['map'](([_0x4a42a9,_0x5c8090])=>{const _0x2f2245=_0x5182db,_0x38576f=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2f2245(0x20e)](_0x4a42a9)?redaction_manager_1[_0x2f2245(0x2f4)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2f2245(0x263)](this,_0x5c8090);return JSON[_0x2f2245(0x241)](_0x4a42a9)+':\x20'+_0x38576f;})['join'](',\x20');return'{'+_0x19f64a+'}';}return JSON['stringify'](_0x3c7a19);});
1
+ const a18_0x410765=a18_0x27a0;(function(_0x33bdca,_0x3dbf93){const _0x1f8611=a18_0x27a0,_0x21f18a=_0x33bdca();while(!![]){try{const _0x22f6c0=parseInt(_0x1f8611(0x1e7))/0x1+parseInt(_0x1f8611(0x230))/0x2+parseInt(_0x1f8611(0x17f))/0x3+-parseInt(_0x1f8611(0x1e9))/0x4+parseInt(_0x1f8611(0x14c))/0x5+parseInt(_0x1f8611(0x234))/0x6+-parseInt(_0x1f8611(0x1e6))/0x7*(parseInt(_0x1f8611(0x252))/0x8);if(_0x22f6c0===_0x3dbf93)break;else _0x21f18a['push'](_0x21f18a['shift']());}catch(_0x2e772c){_0x21f18a['push'](_0x21f18a['shift']());}}}(a18_0x3332,0xa233e));function a18_0x3332(){const _0x12b286=['agentLogMaxFileSizeMb','./debuglet-helpers/createDebuggee','source-context.json','EnvironmentMetadata','isArray','values','Private\x20method\x20is\x20not\x20writable','isAtLeastInfo','deregister','redactionEnabled','config','Debuggee\x20is\x20not\x20registered','./quota-manager','LOGPOINT:\x20','setLevel','then','env','description','filename','all','isRegistered','globalPipingStatus','Registered\x20as\x20debuggee:\x20','clear','entries','findFiles','stringify','waitFor','ignoreQuota','mapFiles','isRedactionActive','debuggee','agentLogMaxFileCount','createPerBreakpointConditionQuota','registered','caseInsensitive','\x20(type:\x20','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','(((.+)+)+)+$','split','agentLogLevel','unref','../types/stackdriver','pipeLogs','isReadyManager','resolve','activeBreakpointMap','line','waitExpired','format','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','has','readFullVersion','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','fetcherActive','./agent-logger','Unknown\x20agentLogLevel\x20','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','register\x20debuggee','expressions','Stopping\x20Debuglet','PatternsBlocklistManager','\x0a\x09expressions:\x20','5811386tZMzVP','795744HclWDb','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','5154556hwRXnG','removeListener','DEBUG','setCustomLogLevel','promiseResolve','allowRootAsWorkingDirectory','logger','APP_ONLY','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','waitForTransmissionQueueDrain','events','javascriptFileExtensions','set','remainingHits','registration_failed','...\x20[truncated]','once','./configuration-provider','BREAKPOINT_ACTION_MESSAGE','breakpoints_fetched','sourceMapDiagnostics','default','__esModule','isError','breakpoints_fetch_failed','js.map','pipingStatus','getClientConnectionTimeoutInSeconds','GAE_MINOR_VERSION','errors','shouldRedactByName','Scanner','GAE-','./io/sourcemapper','Active\x20Breakpoints:\x20\x0a','RedactionManagerRE2JS','sourceContext','stop','./util/utils','emit','./reduction/redaction-manager','./blocklisting/patterns-blocklist-manager','fromFileStats','maxRequestRetryDelaySeconds','Registering\x20debuggee','Working\x20directory:\x20','defineProperty','Scheduling\x20registration\x20in\x20','packageInfo','./piping-manager','Failed\x20to\x20','posix','collectLogRequestId','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','jsFileIndex','enqueueBreakpointUpdate','create','breakpoint_set','internal','clientConnectionTimeoutInSeconds','substring','seconds','promise','stdErrThreshold','quota','getInitialLevel','\x0a\x09condition:\x20','createDebuggee','path','\x0a\x09createdTime:\x20','get','2260794RFeiCr','fromEntries','isFinalState','REDACTED_PLACEHOLDER','815286osMXQd','getRedactions','getProps','replaceRedactedByValue','breakpointUpdateIntervalSec','start','getBlocklist','expirationTime','value','ConfigurationProvider','LOG','register','pipingManager','started','setBlocklistManager','add','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','CachedPromise','UNSPECIFIED','\x20completed.','getSourceContextFromFile','warn','\x20because\x20','scheduleBreakpointFetch_\x20','parameters','CAPTURE','name','name:\x20','workingDirectory','.\x20Retrying\x20in\x20','8paqmwr','selectFiles','call','./v8/debugapi','Fetching\x20breakpoints','forEach','map','location','toString','FileIndex','2111525WNNzWR','join','bind','./controller','constructor','type','blacklist','object','push','replace','Controller','breakpoints_fetch_registration_required','search','./reduction/redaction-manager-re2js','stringifyBreakpointForInfoLog','\x09remove\x20breakpoint\x20id\x20','concat','do\x20this.','length','allowExpressions','normalizeConfig','\x20to\x20','inspect','./io/file-index','isRunning','Expiring\x20breakpoint\x20id\x20','info','action','pid','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','error','Unique\x20ID\x20for\x20this\x20Application:\x20','.\x20Error:\x20','Error\x20processing\x20the\x20sourcemaps.','SIGINT','debug','condition','Debuglet','message','EventEmitter','createTime','waitForBreakpoints','extend','fetchBreakpointsOnce','collectAndSendLog','keys','now','getLevel','mapSubtract','removePerBreakpointQuota','wait','896676KmXGPC','prettyError','scan','status','quotaRecoverySeconds','Switching\x20globalPiping\x20status\x20from\x20','StatusMessage','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','SIGQUIT','expirationSeconds','beforeExit','initError','agentLog','readFile','\x09Got\x20error\x20from\x20server.\x20status:\x20','stopped','.\x20message:\x20','Server\x20breakpoints:\x0a','mainModule','existsSync','setIgnoreQuota','SIGTERM','setPatterns','sep','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','\x09successfully\x20added\x20breakpoint\x20id\x20','Breakpoint','agentLogTargetDir','\x20accepted\x20by\x20agent','isReady','backoff','isLambda','ALLOW_EXPRESSIONS_MESSAGE','Blacklist:\x20\x0a\x09','hash','NOT_SET','listBreakpoints','function','extraPaths','../client/stackdriver/status-message'];a18_0x3332=function(){return _0x12b286;};return a18_0x3332();}const a18_0x530f60=(function(){let _0xa7b20b=!![];return function(_0x38366b,_0x4d9fe2){const _0x330e13=_0xa7b20b?function(){if(_0x4d9fe2){const _0x38148f=_0x4d9fe2['apply'](_0x38366b,arguments);return _0x4d9fe2=null,_0x38148f;}}:function(){};return _0xa7b20b=![],_0x330e13;};}()),a18_0x59580f=a18_0x530f60(this,function(){const _0x426d01=a18_0x27a0;return a18_0x59580f['toString']()[_0x426d01(0x158)](_0x426d01(0x1cd))['toString']()[_0x426d01(0x150)](a18_0x59580f)['search'](_0x426d01(0x1cd));});a18_0x59580f();function a18_0x27a0(_0x3fe821,_0x381b1b){const _0x384952=a18_0x3332();return a18_0x27a0=function(_0x59580f,_0x530f60){_0x59580f=_0x59580f-0x14a;let _0x333264=_0x384952[_0x59580f];return _0x333264;},a18_0x27a0(_0x3fe821,_0x381b1b);}'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x2ce939,_0x1fc5f1,_0x4208a4,_0x114b33,_0x57f00d){const _0x3890e5=a18_0x27a0;if(_0x114b33==='m')throw new TypeError(_0x3890e5(0x1ad));if(_0x114b33==='a'&&!_0x57f00d)throw new TypeError(_0x3890e5(0x21e));if(typeof _0x1fc5f1==='function'?_0x2ce939!==_0x1fc5f1||!_0x57f00d:!_0x1fc5f1[_0x3890e5(0x1da)](_0x2ce939))throw new TypeError(_0x3890e5(0x169));return _0x114b33==='a'?_0x57f00d['call'](_0x2ce939,_0x4208a4):_0x57f00d?_0x57f00d[_0x3890e5(0x23c)]=_0x4208a4:_0x1fc5f1['set'](_0x2ce939,_0x4208a4),_0x4208a4;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x36b2cb,_0x43d96f,_0x479d39,_0x2599b3){const _0x1ad8e1=a18_0x27a0;if(_0x479d39==='a'&&!_0x2599b3)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x43d96f===_0x1ad8e1(0x1a4)?_0x36b2cb!==_0x43d96f||!_0x2599b3:!_0x43d96f[_0x1ad8e1(0x1da)](_0x36b2cb))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x479d39==='m'?_0x2599b3:_0x479d39==='a'?_0x2599b3[_0x1ad8e1(0x254)](_0x36b2cb):_0x2599b3?_0x2599b3[_0x1ad8e1(0x23c)]:_0x43d96f['get'](_0x36b2cb);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x410765(0x217)](exports,a18_0x410765(0x1ff),{'value':!![]}),exports['Debuglet']=exports['CachedPromise']=void 0x0;const assert=require('assert'),events_1=require(a18_0x410765(0x1f3)),extend=require(a18_0x410765(0x176)),fs=require('fs'),path=require(a18_0x410765(0x22d)),util=require('util'),status_message_1=require(a18_0x410765(0x1a6)),stackdriver_1=require(a18_0x410765(0x1d1)),agent_logger_1=require(a18_0x410765(0x1de)),patterns_blocklist_manager_1=require(a18_0x410765(0x212)),config_1=require('./config'),configuration_provider_1=require(a18_0x410765(0x1fa)),controller_1=require(a18_0x410765(0x14f)),createDebuggee_1=require(a18_0x410765(0x1a8)),format_1=require('./debuglet-helpers/format'),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x410765(0x163)),scanner_1=require('./io/scanner'),SourceMapper=require(a18_0x410765(0x20a)),piping_manager_1=require(a18_0x410765(0x21a)),quota_manager_1=require(a18_0x410765(0x1b3)),redaction_manager_1=require(a18_0x410765(0x211)),utils_1=require(a18_0x410765(0x20f)),debugapi=require(a18_0x410765(0x255)),redaction_manager_re2js_1=require(a18_0x410765(0x159)),readFilep=util['promisify'](fs[a18_0x410765(0x18c)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x8057f5,_0x40f76a)=>{const _0x4a6c95=a18_0x410765;let _0x409ee8=_0x8057f5+util[_0x4a6c95(0x1d8)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x40f76a['id'],_0x40f76a[_0x4a6c95(0x167)],util[_0x4a6c95(0x162)](_0x40f76a['location']));if(_0x40f76a[_0x4a6c95(0x174)]){const _0x3cb5eb=Number(_0x40f76a['createTime'][_0x4a6c95(0x226)]),_0x5d65da=new Date(_0x3cb5eb*0x3e8);_0x409ee8+=_0x4a6c95(0x22e)+_0x5d65da[_0x4a6c95(0x14a)]();}return _0x40f76a[_0x4a6c95(0x170)]&&(_0x409ee8+=_0x4a6c95(0x22b)+util[_0x4a6c95(0x162)](_0x40f76a[_0x4a6c95(0x170)])),_0x40f76a['expressions']&&(_0x409ee8+=_0x4a6c95(0x1e5)+util[_0x4a6c95(0x162)](_0x40f76a[_0x4a6c95(0x1e2)])),_0x409ee8;},formatBreakpoints=(_0x2df64a,_0xe27f5)=>_0x2df64a+Object[a18_0x410765(0x179)](_0xe27f5)['map'](_0x55536b=>formatBreakpoint('',_0xe27f5[_0x55536b]))[a18_0x410765(0x14d)]('\x0a');class CachedPromise{constructor(){const _0x57947b=a18_0x410765;this['promiseResolve']=null,this[_0x57947b(0x227)]=new Promise(_0x4d557b=>{const _0x5b8478=_0x57947b;this[_0x5b8478(0x1ed)]=_0x4d557b;});}['get'](){const _0x5921ce=a18_0x410765;return this[_0x5921ce(0x227)];}[a18_0x410765(0x1d4)](){const _0x46b239=a18_0x410765;this[_0x46b239(0x1ed)]&&(this[_0x46b239(0x1ed)](),this['promiseResolve']=null);}}exports[a18_0x410765(0x245)]=CachedPromise;class IsReadyImpl{constructor(_0x23f06a){this['debuglet']=_0x23f06a;}['isReady'](){const _0xe291bc=a18_0x410765;return this['debuglet'][_0xe291bc(0x19c)]();}}class Debuglet extends events_1[a18_0x410765(0x173)]{constructor(_0x1551a8,_0x56f101){const _0x156958=a18_0x410765;super(),_Debuglet_instances[_0x156958(0x243)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x156958(0x1f5)](this,void 0x0),_Debuglet_running[_0x156958(0x1f5)](this,void 0x0),_Debuglet_controller[_0x156958(0x1f5)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x156958(0x1f5)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x156958(0x1f5)](this,null),this[_0x156958(0x1d3)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x156958(0x1f5)](this,void 0x0),_Debuglet_scanner[_0x156958(0x1f5)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x156958(0x1f5)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x156958(0x1f5)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x156958(0x160)])(_0x56f101),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x156958(0x23d))](this[_0x156958(0x1b1)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1551a8,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x156958(0x1dd)]=![],this[_0x156958(0x1ef)]=agent_logger_1['default']['createLogger'](this[_0x156958(0x1b1)][_0x156958(0x18b)][_0x156958(0x19a)],this['config']['agentLog'][_0x156958(0x1a7)],this[_0x156958(0x1b1)][_0x156958(0x18b)][_0x156958(0x1c7)],this['config'][_0x156958(0x18b)][_0x156958(0x1cf)],this[_0x156958(0x1b1)][_0x156958(0x18b)][_0x156958(0x228)]),(0x0,config_1['logMainConfigParams'])(this[_0x156958(0x1b1)],this[_0x156958(0x1ef)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x156958(0x1aa))](this[_0x156958(0x1ef)])[_0x156958(0x236)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x156958(0x156))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x156958(0x1b1)],this[_0x156958(0x1ef)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x156958(0x208))](this['logger']),'f'),this[_0x156958(0x1c6)]=null,this[_0x156958(0x1d5)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1['QuotaManager'](this[_0x156958(0x1ef)],this['config']),'f'),this[_0x156958(0x240)]=new piping_manager_1['PipingManager'](_0x156958(0x1f0),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async['waitForTransmissionQueueDrain'](_0x136d18){const _0x351adf=a18_0x410765;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x351adf(0x1f2)](_0x136d18);}[a18_0x410765(0x204)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x410765(0x175)](_0x3113d9){const _0x22f996=a18_0x410765,_0x26356b=0x32;let _0x1fa529=null;const _0x35d472=()=>_0x1fa529=!![],_0x35b704=()=>_0x1fa529=![],_0x19245e=_0xd704c0=>{if(_0xd704c0)return;_0x35d472();};let _0x1a49b2=![];const _0x14a031=_0xd7a4a0=>{const _0x247e0a=a18_0x27a0;_0x1a49b2&&_0x35b704(),_0x1a49b2=!![],this[_0x247e0a(0x23f)]();};this[_0x22f996(0x1f9)](_0x22f996(0x1fc),_0x19245e),this[_0x22f996(0x1f9)](_0x22f996(0x222),_0x35d472);this[_0x22f996(0x1b1)]['internal']?.['isLambda']&&(this[_0x22f996(0x1f9)](_0x22f996(0x1f7),_0x35b704),this[_0x22f996(0x1f9)](_0x22f996(0x201),_0x35b704),this[_0x22f996(0x1f9)]('breakpoints_fetch_registration_required',_0x14a031));if(_0x3113d9){const _0x56329b=Date[_0x22f996(0x17a)]();while(_0x1fa529===null&&Date[_0x22f996(0x17a)]()-_0x56329b<_0x3113d9){await(0x0,utils_1[_0x22f996(0x1c2)])(_0x26356b);}}return this[_0x22f996(0x1ea)]('breakpoints_fetched',_0x19245e),this['removeListener'](_0x22f996(0x222),_0x35d472),this[_0x22f996(0x1b1)][_0x22f996(0x223)]?.[_0x22f996(0x19e)]&&(this[_0x22f996(0x1ea)](_0x22f996(0x1f7),_0x35b704),this[_0x22f996(0x1ea)](_0x22f996(0x201),_0x35b704),this[_0x22f996(0x1ea)](_0x22f996(0x157),_0x14a031)),_0x1fa529===!![];}[a18_0x410765(0x177)](){const _0x130c4a=a18_0x410765;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x130c4a(0x254)](this,0x0,!![]);}[a18_0x410765(0x1bb)](){const _0xf9cec6=a18_0x410765;return this[_0xf9cec6(0x1c6)]?.['id']!==undefined;}async[a18_0x410765(0x1c0)](_0x1ce9ba,_0x14ba8e){const _0xf984b2=a18_0x410765,_0x7b65d4=_0x1ce9ba[_0xf984b2(0x250)],_0x1ab411=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0xf984b2(0x181)](_0x7b65d4,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x1ce9ba[_0xf984b2(0x1f4)][_0xf984b2(0x15c)](_0xf984b2(0x202))),_0x14ba8e,_0x1ce9ba[_0xf984b2(0x1a5)]),_0x51e799=_0x1ab411['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0xf984b2(0x254)](_a,_0x1ce9ba[_0xf984b2(0x1f4)])),_0x2b81c3=file_index_1[_0xf984b2(0x14b)][_0xf984b2(0x213)](_0x51e799),_0xa624b4=_0x1ab411[_0xf984b2(0x253)](/.js.map$/,process['cwd']()),_0x5ae09c=_0x1ab411['errors']();return{'mapFiles':_0xa624b4,'errors':_0x5ae09c,'jsFileIndex':_0x2b81c3,'hash':_0x1ab411[_0xf984b2(0x1a1)]};}async[a18_0x410765(0x239)](){const _0x53ca18=a18_0x410765,_0x2bee99=this[_0x53ca18(0x1b1)][_0x53ca18(0x250)];if(!this[_0x53ca18(0x1b1)][_0x53ca18(0x1ee)]&&path[_0x53ca18(0x14d)](_0x2bee99,'..')===_0x2bee99){const _0x43c2a0=_0x53ca18(0x1e0)+_0x53ca18(0x186)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x53ca18(0x15d);this[_0x53ca18(0x1ef)][_0x53ca18(0x16a)](_0x43c2a0),this['emit'](_0x53ca18(0x18a),new Error(_0x43c2a0));return;}let _0xe1eb60;process[_0x53ca18(0x1b7)][_0x53ca18(0x205)]&&(_0xe1eb60=_0x53ca18(0x209)+process[_0x53ca18(0x1b7)][_0x53ca18(0x205)]);let _0x4fbe99,_0xd52b6=_0xe1eb60??'';try{_0x4fbe99=await this[_0x53ca18(0x1c0)](this[_0x53ca18(0x1b1)],_0xe1eb60),_0x4fbe99[_0x53ca18(0x206)]['forEach'](this[_0x53ca18(0x1ef)][_0x53ca18(0x249)]);}catch(_0x20181e){this[_0x53ca18(0x1ef)][_0x53ca18(0x16a)]('Error\x20scanning\x20the\x20filesystem.',_0x20181e),this[_0x53ca18(0x210)](_0x53ca18(0x18a),_0x20181e);return;}try{const _0x394886=await SourceMapper[_0x53ca18(0x221)](this[_0x53ca18(0x1ef)],_0x4fbe99[_0x53ca18(0x1c4)],this[_0x53ca18(0x1b1)]['internal']?.[_0x53ca18(0x1fd)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x53ca18(0x221)](this[_0x53ca18(0x1ef)],this[_0x53ca18(0x1b1)],_0x4fbe99[_0x53ca18(0x21f)],_0x394886,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xd52b6=_0xe1eb60??_0x4fbe99[_0x53ca18(0x1a1)];}catch(_0x336eb7){this[_0x53ca18(0x1ef)][_0x53ca18(0x16a)](_0x53ca18(0x16d),_0x336eb7),this['logger']['info'](JSON[_0x53ca18(0x1c1)](_0x336eb7)),this[_0x53ca18(0x210)](_0x53ca18(0x18a),_0x336eb7);}this['logger'][_0x53ca18(0x166)](_0x53ca18(0x16b)+_0xd52b6);const _0x41e88e=(0x0,utils_1[_0x53ca18(0x1db)])(this[_0x53ca18(0x1ef)])[_0x53ca18(0x155)]('\x0a','');this['logger'][_0x53ca18(0x166)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x41e88e);let _0x422152;try{_0x422152=this['config'][_0x53ca18(0x20d)]||await _a[_0x53ca18(0x248)]();}catch{}this[_0x53ca18(0x1ef)][_0x53ca18(0x166)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x53ca18(0x191)]?.[_0x53ca18(0x1b9)]),this[_0x53ca18(0x1ef)][_0x53ca18(0x16f)](_0x53ca18(0x216)+_0x2bee99),this['logger'][_0x53ca18(0x16f)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x53ca18(0x1c6)]=(0x0,createDebuggee_1[_0x53ca18(0x22c)])(_0xd52b6,this[_0x53ca18(0x1b1)],_0x422152,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x53ca18(0x219)],_0x41e88e,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x53ca18(0x254)](this),this[_0x53ca18(0x23f)](),this[_0x53ca18(0x210)](_0x53ca18(0x241));}[a18_0x410765(0x19c)](){const _0x424d7e=a18_0x410765;if(Date[_0x424d7e(0x17a)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x424d7e(0x22f)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x424d7e(0x22f)]()[_0x424d7e(0x1b6)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x424d7e(0x22f)]();}}static async[a18_0x410765(0x248)](){const _0x53f79b=a18_0x410765,_0x16961e=await readFilep(_0x53f79b(0x1a9),'utf8');try{return JSON['parse'](_0x16961e);}catch(_0x15f8bd){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x15f8bd);}}[a18_0x410765(0x23f)](){const _0x51d1c9=a18_0x410765;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x51d1c9(0x254)](this,0x0);}[a18_0x410765(0x164)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x410765(0x20e)](){const _0xba788a=a18_0x410765;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xba788a(0x1ef)][_0xba788a(0x16f)](_0xba788a(0x1f1));return;}this[_0xba788a(0x1ef)]['debug'](_0xba788a(0x1e3)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xba788a(0x210)](_0xba788a(0x18e));}['stringifyBreakpointForInfoLog'](_0x51a1ef){const _0x17404f=a18_0x410765;if(!this[_0x17404f(0x1ef)][_0x17404f(0x1ae)]())return _0x51a1ef['id'];try{const _0x954049=JSON['stringify'](_0x51a1ef);if(_0x954049[_0x17404f(0x15e)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x954049;return _0x954049[_0x17404f(0x225)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x17404f(0x1f8);}catch(_0x40bb5b){return this[_0x17404f(0x1ef)]['error'](_0x17404f(0x1dc),_0x40bb5b),_0x51a1ef['id'];}}[a18_0x410765(0x1ec)](_0x4f114d){const _0x219991=a18_0x410765,_0x400721=this[_0x219991(0x1ef)][_0x219991(0x22a)]();if(_0x400721===_0x219991(0x16f))return;switch(_0x4f114d){case _0x219991(0x1eb):this[_0x219991(0x1ef)][_0x219991(0x17b)]()!==_0x219991(0x16f)&&(this[_0x219991(0x1ef)][_0x219991(0x1b5)](_0x219991(0x16f)),this[_0x219991(0x1ef)]['debug'](_0x219991(0x1e8)));break;case'NOT_SET':case undefined:this[_0x219991(0x1ef)]['getLevel']()===_0x219991(0x16f)&&(this[_0x219991(0x1ef)][_0x219991(0x1b5)](_0x400721),this[_0x219991(0x1ef)]['info'](_0x219991(0x1cc)+_0x400721+')'));break;default:this[_0x219991(0x1ef)][_0x219991(0x249)](_0x219991(0x1df)+_0x4f114d);}}}exports[a18_0x410765(0x171)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x2d1551){const _0x478f7e=a18_0x410765;return new RegExp(_0x2d1551[_0x478f7e(0x258)](_0x241b79=>_0x241b79+'$')[_0x478f7e(0x14d)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x332299=a18_0x410765,_0x5e5467=[_0x332299(0x194),_0x332299(0x16e),_0x332299(0x187)];_0x5e5467[_0x332299(0x257)](_0x181648=>{const _0x105fe8=_0x332299;process[_0x105fe8(0x1f9)](_0x181648,()=>{const _0x5ccee1=_0x105fe8;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5ccee1(0x1af)](this[_0x5ccee1(0x1c6)],()=>{const _0x46cb45=_0x5ccee1;process['kill'](process[_0x46cb45(0x168)],_0x181648);});});}),process[_0x332299(0x1f9)](_0x332299(0x189),()=>{const _0x26d888=_0x332299;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x26d888(0x1af)](this[_0x26d888(0x1c6)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x18f9f4){const _0x574703=a18_0x410765;this['logger'][_0x574703(0x16f)](_0x18f9f4?_0x574703(0x218)+_0x18f9f4+'s':_0x574703(0x215));const _0x5b95ea=(_0x142595,_0xe5d6bf,_0x4982df=![])=>{const _0xf12b87=_0x574703;this['emit'](_0xf12b87(0x1f7));const _0x58b2d8=this[_0xf12b87(0x1c6)]?.['id'],_0x185374=_0x58b2d8?'re-register\x20debuggee\x20'+_0x58b2d8:_0xf12b87(0x1e1),_0x50552f=_0xf12b87(0x21b)+_0x185374+':\x20'+(0x0,utils_1[_0xf12b87(0x180)])(_0x142595);this[_0xf12b87(0x1ef)]['error'](_0x50552f),_0xe5d6bf&&!_0x4982df&&this[_0xf12b87(0x1ef)][_0xf12b87(0x16a)]('Result:\x20\x0a',_0xe5d6bf),!this['config'][_0xf12b87(0x223)]?.[_0xf12b87(0x19e)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0xf12b87(0x254)](this,(0x0,utils_1[_0xf12b87(0x19d)])(_0x18f9f4,this['config']['internal'][_0xf12b87(0x214)]));};setTimeout(()=>{const _0x5f591f=_0x574703;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x5b95ea(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5f591f(0x23f)](this[_0x5f591f(0x1c6)],(_0x11bfda,_0x40228b,_0x3c2af=![])=>{const _0x5ae92c=_0x5f591f;if(_0x11bfda){_0x5b95ea(_0x11bfda,_0x40228b,_0x3c2af);return;}if(_0x40228b['debuggee']['isDisabled']){_0x5b95ea(new Error('Disabled\x20by\x20the\x20server')),this['emit']('remotelyDisabled');return;}const _0x2b8c8f=_0x40228b['debuggee']['id'];this[_0x5ae92c(0x1ef)][_0x5ae92c(0x166)](_0x5ae92c(0x1bd)+_0x2b8c8f),this[_0x5ae92c(0x1c6)]['id']=_0x2b8c8f;const _0x4d004b=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x5ae92c(0x14e)](this)(this['debuggee']['id'])];this['config'][_0x5ae92c(0x1b0)]&&_0x4d004b[_0x5ae92c(0x154)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x5ae92c(0x1ba)](_0x4d004b)[_0x5ae92c(0x1b6)](()=>{const _0x3b2f27=_0x5ae92c;this[_0x3b2f27(0x210)](_0x3b2f27(0x1c9),_0x2b8c8f),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3b2f27(0x242)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x40228b?.['clientConnectionTimeoutInSeconds'],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3b2f27(0x254)](this,0x0,this[_0x3b2f27(0x1b1)][_0x3b2f27(0x177)],_0x40228b?.[_0x3b2f27(0x224)]);},_0x2db2f8=>{_0x5b95ea(_0x2db2f8);});});},_0x18f9f4*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x470dd6,_0x5f0490,_0x59b980){const _0x542d06=a18_0x410765;this['logger'][_0x542d06(0x16f)](_0x542d06(0x24b)+_0x470dd6+'\x20'+_0x5f0490+'\x20'+_0x59b980),!_0x5f0490&&(this[_0x542d06(0x1dd)]=!![]),setTimeout(()=>{const _0x19825c=_0x542d06;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x5f0490&&assert(this[_0x19825c(0x1dd)]),this[_0x19825c(0x1ef)][_0x19825c(0x16f)](_0x19825c(0x256)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x19825c(0x1a3)](this[_0x19825c(0x1c6)],(_0x56645a,_0x465df2,_0x3f43cb)=>{const _0x3aa12f=_0x19825c;if(_0x3f43cb?.[_0x3aa12f(0x182)]===0x194){this[_0x3aa12f(0x1ef)][_0x3aa12f(0x166)](_0x3aa12f(0x1b2)),this[_0x3aa12f(0x1dd)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3aa12f(0x254)](this);this['config']['internal']?.[_0x3aa12f(0x19e)]?this[_0x3aa12f(0x210)](_0x3aa12f(0x157)):this[_0x3aa12f(0x23f)]();return;}if(_0x56645a){if(this['config'][_0x3aa12f(0x223)]?.[_0x3aa12f(0x19e)])this['emit'](_0x3aa12f(0x201)),this['logger'][_0x3aa12f(0x16a)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x3f43cb?.[_0x3aa12f(0x182)]+_0x3aa12f(0x18f)+_0x56645a[_0x3aa12f(0x172)]);else{const _0x2501a9=(0x0,utils_1[_0x3aa12f(0x19d)])(_0x470dd6,this[_0x3aa12f(0x1b1)][_0x3aa12f(0x223)][_0x3aa12f(0x214)]);this[_0x3aa12f(0x1ef)][_0x3aa12f(0x16a)](_0x3aa12f(0x18d)+_0x3f43cb?.[_0x3aa12f(0x182)]+_0x3aa12f(0x18f)+_0x56645a['message']+_0x3aa12f(0x251)+_0x2501a9+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,_0x2501a9,_0x5f0490,_0x59b980);}return;}this['logger'][_0x3aa12f(0x16f)]('\x09'+_0x3f43cb[_0x3aa12f(0x182)]+_0x3aa12f(0x247));if(!_0x465df2){const _0x3cffbb=this[_0x3aa12f(0x1b1)][_0x3aa12f(0x238)];this['logger']['error'](_0x3aa12f(0x197)+_0x3cffbb+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,_0x3cffbb,_0x5f0490,_0x59b980);return;}this[_0x3aa12f(0x1ec)](_0x465df2[_0x3aa12f(0x1cf)]);if(_0x465df2[_0x3aa12f(0x1d7)]){this['logger'][_0x3aa12f(0x166)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,0x0,_0x5f0490,_0x59b980);return;}if(_0x465df2[_0x3aa12f(0x1d2)]&&_0x465df2[_0x3aa12f(0x1d2)]!==_0x3aa12f(0x1a2)){const _0x3027f9=this[_0x3aa12f(0x240)][_0x3aa12f(0x1bc)];_0x3027f9!==_0x465df2[_0x3aa12f(0x1d2)]&&(this['logger'][_0x3aa12f(0x16f)](_0x3aa12f(0x184)+_0x3027f9+_0x3aa12f(0x161)+_0x465df2[_0x3aa12f(0x1d2)]),this[_0x3aa12f(0x240)][_0x3aa12f(0x1bc)]=_0x465df2[_0x3aa12f(0x1d2)]);}if(_0x465df2[_0x3aa12f(0x178)]&&_0x465df2[_0x3aa12f(0x21d)]!==this[_0x3aa12f(0x21d)]){this[_0x3aa12f(0x21d)]=_0x465df2['collectLogRequestId'];const _0x5aaab3=this[_0x3aa12f(0x1b1)][_0x3aa12f(0x18b)]['agentLogTargetDir']&&path['join'](this[_0x3aa12f(0x1b1)][_0x3aa12f(0x18b)][_0x3aa12f(0x19a)],agent_logger_1[_0x3aa12f(0x1fe)]['AGENT_LOG_FILE']);_0x5aaab3&&fs[_0x3aa12f(0x192)](_0x5aaab3)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')['sendAgentLogsToServer'](this['debuggee'],_0x465df2[_0x3aa12f(0x21d)],_0x5aaab3)):this[_0x3aa12f(0x1ef)][_0x3aa12f(0x166)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x465df2[_0x3aa12f(0x21d)]+_0x3aa12f(0x24a)+_0x3aa12f(0x244));}const _0x4cce81=(_0x465df2['breakpoints']||[])[_0x3aa12f(0x258)](_0x517e1a=>new stackdriver_1[(_0x3aa12f(0x199))](_0x517e1a))['filter'](_0x2abef2=>{const _0x4bdebb=_0x3aa12f,_0x16ea8f=_0x2abef2[_0x4bdebb(0x167)]??'CAPTURE';if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2abef2['id']])return![];if(_0x16ea8f!==_0x4bdebb(0x24d)&&_0x16ea8f!=='LOG')return this[_0x4bdebb(0x1ef)][_0x4bdebb(0x249)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x16ea8f),_0x2abef2[_0x4bdebb(0x182)]=new status_message_1['StatusMessage'](status_message_1[_0x4bdebb(0x185)][_0x4bdebb(0x246)],utils_1['errors'][_0x4bdebb(0x1fb)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x4bdebb(0x254)](this,_0x2abef2),![];return!![];}),_0x532fb9=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x3aa12f(0x254)](this);let _0x5b274d=_0x532fb9[_0x3aa12f(0x15e)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x3aa12f(0x254)](this,_0x532fb9),_0x5b274d=_0x5b274d||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3aa12f(0x254)](this,_0x4cce81),this[_0x3aa12f(0x210)](_0x3aa12f(0x1fc),_0x4cce81[_0x3aa12f(0x15e)]);_0x5b274d&&this[_0x3aa12f(0x1ef)]['debug'](formatBreakpoints(_0x3aa12f(0x20b),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x3aa12f(0x17a)](),'f');_0x5f0490?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3aa12f(0x1d4)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,0x0,_0x5f0490,_0x59b980);return;},_0x59b980);},_0x470dd6*0x3e8)[_0x542d06(0x1d0)]();},_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_(_0x5c0e45){const _0x55085a=a18_0x410765,_0x45bbe6=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x55085a(0x254)](this,_0x5c0e45);let _0x47493e=![];return _0x5c0e45[_0x55085a(0x257)](_0x2eee1e=>{const _0x476698=_0x55085a;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2eee1e['id']]&&!this[_0x476698(0x1d5)][_0x2eee1e['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x476698(0x254)](this,_0x2eee1e,_0xfac34d=>{const _0xb93f45=_0x476698;_0xfac34d&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xb93f45(0x254)](this,_0x2eee1e,!![],![]);}),_0x47493e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x476698(0x1c8)](_0x2eee1e['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x476698(0x193)](_0x2eee1e['id'],_0x2eee1e[_0x476698(0x1c3)]),this[_0x476698(0x240)]['setPipingStatus'](_0x2eee1e['id'],_0x2eee1e[_0x476698(0x203)]);}),(0x0,mapSubtract_1[_0x55085a(0x17c)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x45bbe6)[_0x55085a(0x257)](_0xd5683a=>{const {id:_0x381ce9}=_0xd5683a;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x381ce9],_0x47493e=!![];}),(0x0,mapSubtract_1[_0x55085a(0x17c)])(this[_0x55085a(0x1d5)],_0x45bbe6)[_0x55085a(0x257)](_0x2f0b6c=>{const _0x1efa03=_0x55085a;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x1efa03(0x254)](this,_0x2f0b6c,!![]),_0x47493e=!![];}),_0x47493e&&this[_0x55085a(0x1ef)][_0x55085a(0x16f)](formatBreakpoints(_0x55085a(0x190),_0x45bbe6)),_0x47493e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x460bc0){const _0x1dfb16=a18_0x410765;return Object[_0x1dfb16(0x231)](_0x460bc0[_0x1dfb16(0x258)](_0x58c949=>[_0x58c949['id'],_0x58c949]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x56026b,_0x2ae63e){const _0x58641d=a18_0x410765;this['logger'][_0x58641d(0x166)](_0x58641d(0x15b)+_0x56026b['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x58641d(0x17d)](_0x56026b['id']),this[_0x58641d(0x240)]['removeBreakpoint'](_0x56026b['id']),delete this[_0x58641d(0x1d5)][_0x56026b['id']],_0x2ae63e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x58641d(0x1be)](_0x56026b,_0x3294fe=>{const _0x426d3d=_0x58641d;if(_0x3294fe)this[_0x426d3d(0x1ef)][_0x426d3d(0x16a)](_0x3294fe);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x87bdac,_0x16d33b){const _0x5a3320=a18_0x410765;this[_0x5a3320(0x1ef)][_0x5a3320(0x166)]('\x09adding\x20breakpoint',this['stringifyBreakpointForInfoLog'](_0x87bdac));if(!this['config'][_0x5a3320(0x15f)]&&(_0x87bdac[_0x5a3320(0x170)]||_0x87bdac[_0x5a3320(0x1e2)])){this['logger'][_0x5a3320(0x16a)](utils_1[_0x5a3320(0x206)][_0x5a3320(0x19f)][_0x5a3320(0x1b8)]??''),_0x87bdac[_0x5a3320(0x182)]=new status_message_1[(_0x5a3320(0x185))](status_message_1[_0x5a3320(0x185)]['UNSPECIFIED'],utils_1[_0x5a3320(0x206)][_0x5a3320(0x19f)],!![]),setImmediate(()=>{const _0x3c7956=_0x5a3320;_0x16d33b(utils_1[_0x3c7956(0x206)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x1fbb29=_0x87bdac[_0x5a3320(0x174)]?Number(_0x87bdac[_0x5a3320(0x174)][_0x5a3320(0x226)]):Date[_0x5a3320(0x17a)]()/0x3e8,_0x8b4403=_0x87bdac[_0x5a3320(0x188)]??this['config']['breakpointExpirationSec'];_0x87bdac[_0x5a3320(0x23b)]=_0x1fbb29+_0x8b4403,_0x87bdac[_0x5a3320(0x259)]?.[_0x5a3320(0x22d)]&&(_0x87bdac[_0x5a3320(0x259)]['path']=path['normalize'](_0x87bdac[_0x5a3320(0x259)][_0x5a3320(0x22d)]),path['sep']===path[_0x5a3320(0x21c)][_0x5a3320(0x196)]&&(_0x87bdac[_0x5a3320(0x259)]['path']=_0x87bdac[_0x5a3320(0x259)][_0x5a3320(0x22d)][_0x5a3320(0x1ce)]('\x5c')[_0x5a3320(0x14d)](path[_0x5a3320(0x196)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['set'](_0x87bdac,_0x57c7e0=>{const _0x59fa16=_0x5a3320;if(_0x57c7e0){_0x16d33b(_0x57c7e0);return;}this[_0x59fa16(0x1ef)]['info'](_0x59fa16(0x198)+_0x87bdac['id']),this['activeBreakpointMap'][_0x87bdac['id']]=_0x87bdac,_0x87bdac['action']===_0x59fa16(0x23e)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x87bdac,(_0xf0233,_0x4dac30)=>{const _0x1a7845=_0x59fa16,_0x484823=_0x4dac30[_0x1a7845(0x258)](_0x4b71cd=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1a7845(0x254)](this,_0x4b71cd)),_0x146b54=(0x0,format_1[_0x1a7845(0x1d8)])(_0xf0233,_0x484823),_0x120d6d=_0x1a7845(0x1b4)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1a7845(0x237)](_0x146b54)??_0x146b54),_0x521b33=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x120d6d,_0x87bdac['id']);if(_0x521b33){const _0x51caed=_0x521b33[_0x1a7845(0x172)],{isOutOfQuota:_0x18f3e8}=_0x521b33;let _0x951c64,_0x163c32;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1a7845(0x1c5)]()&&!_0x18f3e8&&(_0x951c64=_0x1a7845(0x1b4)+_0xf0233,_0x163c32=_0x484823);this['pipingManager']['addAndPipeLog'](this[_0x1a7845(0x1c6)],_0x87bdac['id'],_0x51caed,_0x87bdac['logLevel'],_0x951c64,_0x163c32);if(_0x18f3e8)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x1a7845(0x1b1)][_0x1a7845(0x229)][_0x1a7845(0x183)]*0x3e8),'f');else _0x51caed?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x87bdac['id']],_0x1e5a1f=>{const _0x2882a6=_0x59fa16;if(_0x1e5a1f){this[_0x2882a6(0x1ef)][_0x2882a6(0x16a)](_0x1e5a1f),_0x16d33b(_0x1e5a1f);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x59fa16(0x17e)](_0x87bdac,_0xed7972=>{const _0x47d9ce=_0x59fa16;if(_0xed7972){setImmediate(()=>{const _0x2e6dae=a18_0x27a0;this[_0x2e6dae(0x1ef)]['error'](_0xed7972),_0x16d33b(_0xed7972);});return;}this[_0x47d9ce(0x1ef)][_0x47d9ce(0x166)]('Breakpoint\x20hit!:\x20breakpoint\x20id:\x20'+_0x87bdac['id'],_0x87bdac[_0x47d9ce(0x259)]?.[_0x47d9ce(0x22d)],_0x87bdac[_0x47d9ce(0x259)]?.[_0x47d9ce(0x1d6)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x47d9ce(0x254)](this,_0x87bdac,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x47d9ce(0x1f6)](_0x87bdac['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x59fa16(0x254)](this,_0x87bdac);}),this[_0x5a3320(0x210)](_0x5a3320(0x222));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2b2c87,_0x92fc84,_0x597e9a=!![]){const _0x24d836=a18_0x410765;if(_0x2b2c87[_0x24d836(0x182)]?.[_0x24d836(0x200)]){let _0x262e83=_0x2b2c87[_0x24d836(0x182)]?.['description']?.[_0x24d836(0x1d8)]||'';_0x2b2c87['status']?.['description']?.['parameters']&&(_0x262e83+=':\x20'+_0x2b2c87[_0x24d836(0x182)]?.[_0x24d836(0x1b8)]?.[_0x24d836(0x24c)][_0x24d836(0x14a)]()),this[_0x24d836(0x1ef)][_0x24d836(0x249)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x2b2c87+_0x24d836(0x16c)+_0x262e83);}else this[_0x24d836(0x1ef)][_0x24d836(0x166)](_0x24d836(0x1d9),this[_0x24d836(0x15a)](_0x2b2c87));_0x92fc84&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2b2c87['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x24d836(0x254)](this,_0x2b2c87,_0x597e9a)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x24d836(0x220)](this[_0x24d836(0x1c6)],extend(!![],{},_0x2b2c87));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x54eafa){const _0x5e4cb2=a18_0x410765;this['logger'][_0x5e4cb2(0x16f)]('reporting\x20breakpoint\x20'+_0x54eafa+_0x5e4cb2(0x19b));const _0x2d19cd=extend(!![],{},_0x54eafa);_0x2d19cd[_0x5e4cb2(0x232)]=![],_0x2d19cd['status']=new status_message_1[(_0x5e4cb2(0x185))](status_message_1['StatusMessage'][_0x5e4cb2(0x246)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5e4cb2(0x220)](this['debuggee'],_0x2d19cd);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x3ddf91){const _0x1a5cee=a18_0x410765;this['logger'][_0x1a5cee(0x166)]('rejecting\x20breakpoint\x20id\x20'+_0x3ddf91),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3ddf91['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1a5cee(0x220)](this[_0x1a5cee(0x1c6)],_0x3ddf91);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0xa2ef63){_0xa2ef63['forEach'](_0x3b9e00=>{const _0x46ee76=a18_0x27a0;this[_0x46ee76(0x1ef)][_0x46ee76(0x166)](_0x46ee76(0x165)+_0x3b9e00['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3b9e00['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x3b9e00,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x62ebd5=a18_0x410765,_0x1ced49=Date[_0x62ebd5(0x17a)]()/0x3e8;return Object[_0x62ebd5(0x1ac)](this[_0x62ebd5(0x1d5)])['filter'](_0x914dff=>_0x914dff[_0x62ebd5(0x23b)]?_0x914dff['expirationTime']<_0x1ced49:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x164090){const _0x139ca6=a18_0x410765,_0x598388=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x139ca6(0x23a)](_0x164090),_0x51503f=_0x598388[_0x139ca6(0x152)],_0x3909d3=_0x598388['blacklist_exception'];_0x51503f?.['length']&&this[_0x139ca6(0x1ef)][_0x139ca6(0x16f)](_0x139ca6(0x1a0),_0x51503f[_0x139ca6(0x14d)]('\x0a\x09')),_0x3909d3?.[_0x139ca6(0x15e)]&&this[_0x139ca6(0x1ef)][_0x139ca6(0x16f)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x3909d3[_0x139ca6(0x14d)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x139ca6(0x1e4))](_0x51503f,_0x3909d3,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x372c60){const _0x2f811b=a18_0x410765,_0x2c2ead=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2f811b(0x235)](_0x372c60);_0x2c2ead?.['length']&&this['logger'][_0x2f811b(0x16f)]('Redactions:\x20\x0a\x09',_0x2c2ead[_0x2f811b(0x258)](_0x1ff6da=>_0x2f811b(0x24f)+_0x1ff6da[_0x2f811b(0x24e)]+_0x2f811b(0x1cb)+_0x1ff6da[_0x2f811b(0x151)]+'):\x20pattern:\x20'+_0x1ff6da['pattern']+'\x20caseInsensitive:\x20'+_0x1ff6da[_0x2f811b(0x1ca)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x2f811b(0x20c))](this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2f811b(0x195)](_0x2c2ead);},_Debuglet_stringify=function _Debuglet_stringify(_0x1f3041){const _0x8f46af=a18_0x410765;if(!_0x1f3041)return JSON[_0x8f46af(0x1c1)](_0x1f3041,(_0x279935,_0xfad4ad)=>_0xfad4ad===undefined?'undefined':_0xfad4ad);if(Array[_0x8f46af(0x1ab)](_0x1f3041)){const _0x3726fa=_0x1f3041[_0x8f46af(0x258)](_0x941258=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x941258));return'['+_0x3726fa['join'](',\x20')+']';}if(typeof _0x1f3041===_0x8f46af(0x153)){const _0x4e8b2b=Object[_0x8f46af(0x1bf)](_0x1f3041)[_0x8f46af(0x258)](([_0x19df6b,_0x19194e])=>{const _0x1c2cfa=_0x8f46af,_0x375f75=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1c2cfa(0x207)](_0x19df6b)?redaction_manager_1[_0x1c2cfa(0x233)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1c2cfa(0x254)](this,_0x19194e);return JSON[_0x1c2cfa(0x1c1)](_0x19df6b)+':\x20'+_0x375f75;})[_0x8f46af(0x14d)](',\x20');return'{'+_0x4e8b2b+'}';}return JSON[_0x8f46af(0x1c1)](_0x1f3041);});
@@ -1 +1 @@
1
- 'use strict';const a19_0x483ead=a19_0x40f8;(function(_0x12fdd7,_0x14e46e){const _0x2c741a=a19_0x40f8,_0x53189a=_0x12fdd7();while(!![]){try{const _0x5bbdb4=-parseInt(_0x2c741a(0x17f))/0x1*(parseInt(_0x2c741a(0x162))/0x2)+parseInt(_0x2c741a(0x166))/0x3*(-parseInt(_0x2c741a(0x19e))/0x4)+parseInt(_0x2c741a(0x16b))/0x5+-parseInt(_0x2c741a(0x17a))/0x6+parseInt(_0x2c741a(0x19f))/0x7+parseInt(_0x2c741a(0x172))/0x8*(parseInt(_0x2c741a(0x183))/0x9)+parseInt(_0x2c741a(0x19c))/0xa;if(_0x5bbdb4===_0x14e46e)break;else _0x53189a['push'](_0x53189a['shift']());}catch(_0x40a1f2){_0x53189a['push'](_0x53189a['shift']());}}}(a19_0x5bf6,0x36916));Object['defineProperty'](exports,a19_0x483ead(0x187),{'value':!![]}),exports[a19_0x483ead(0x17b)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x483ead(0x189));var OS;function a19_0x40f8(_0x2a18ce,_0xa1e98e){const _0x1aa00a=a19_0x5bf6();return a19_0x40f8=function(_0x2697ee,_0x17f7fc){_0x2697ee=_0x2697ee-0x162;let _0x5bf616=_0x1aa00a[_0x2697ee];return _0x5bf616;},a19_0x40f8(_0x2a18ce,_0xa1e98e);}(function(_0x3d4548){const _0x90198c=a19_0x483ead,_0x85879e=(function(){let _0x2f9e25=!![];return function(_0x380e6d,_0x58a6fb){const _0x24c384=_0x2f9e25?function(){const _0x15db8e=a19_0x40f8;if(_0x58a6fb){const _0x2fdfe4=_0x58a6fb[_0x15db8e(0x185)](_0x380e6d,arguments);return _0x58a6fb=null,_0x2fdfe4;}}:function(){};return _0x2f9e25=![],_0x24c384;};}()),_0x1725fb=_0x85879e(this,function(){const _0x594bd2=a19_0x40f8;return _0x1725fb[_0x594bd2(0x17e)]()[_0x594bd2(0x178)](_0x594bd2(0x16f))[_0x594bd2(0x17e)]()['constructor'](_0x1725fb)[_0x594bd2(0x178)](_0x594bd2(0x16f));});_0x1725fb(),_0x3d4548[_0x90198c(0x18d)]=_0x90198c(0x18c),_0x3d4548[_0x90198c(0x18b)]=_0x90198c(0x171),_0x3d4548[_0x90198c(0x17d)]=_0x90198c(0x1a2);}(OS||(OS={})));var ProcArch;(function(_0x3d0134){const _0x1a3ae7=a19_0x483ead;_0x3d0134['x64']=_0x1a3ae7(0x179),_0x3d0134[_0x1a3ae7(0x163)]='x32',_0x3d0134[_0x1a3ae7(0x1a1)]=_0x1a3ae7(0x1a1),_0x3d0134[_0x1a3ae7(0x173)]=_0x1a3ae7(0x173);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x483ead(0x18d)],'win32':OS[a19_0x483ead(0x18b)],'darwin':OS[a19_0x483ead(0x17d)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x483ead(0x1a1)],'arm64':ProcArch[a19_0x483ead(0x173)]};class EnvironmentMetadata{constructor(_0x429eb1){const _0x420ca2=a19_0x483ead;assert(_0x429eb1!==null),this[_0x420ca2(0x19b)]=_0x429eb1;}get[a19_0x483ead(0x18e)](){const _0x2dd60a=a19_0x483ead;try{const _0x9a68dc=process[_0x2dd60a(0x174)][_0x2dd60a(0x177)]['match'](/(\d+\.\d+)\..*/);if(_0x9a68dc)return _0x9a68dc[0x1];}catch(_0x205556){this[_0x2dd60a(0x19b)][_0x2dd60a(0x164)](_0x205556);}return;}get[a19_0x483ead(0x196)](){const _0x287afa=a19_0x483ead;return _0x287afa(0x197)+process[_0x287afa(0x192)]+_0x287afa(0x181)+(0x0,os_1['platform'])()+'\x20'+(0x0,os_1[_0x287afa(0x18a)])();}get[a19_0x483ead(0x190)](){const _0x4817cd=a19_0x483ead;return process['pid'][_0x4817cd(0x17e)]();}get[a19_0x483ead(0x16e)](){return ArchToProcArchMap[process['arch']]||process['arch'];}get['cpuCoreCount'](){const _0x2e1b0e=a19_0x483ead;return(0x0,os_1['cpus'])()[_0x2e1b0e(0x170)];}get[a19_0x483ead(0x193)](){const _0x69743c=a19_0x483ead;return(0x0,os_1[_0x69743c(0x16d)])();}get[a19_0x483ead(0x186)](){return(0x0,os_1['hostname'])();}get['agentOS'](){return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1['platform'])();}get[a19_0x483ead(0x199)](){const _0x519382=a19_0x483ead;try{if(this['agentOS']===OS[_0x519382(0x18d)])return this[_0x519382(0x191)][_0x519382(0x182)]('VERSION_ID')??(0x0,os_1['release'])();return(0x0,os_1[_0x519382(0x18a)])();}catch(_0x240af3){this[_0x519382(0x19b)][_0x519382(0x164)](_0x240af3);}return;}get[a19_0x483ead(0x16a)](){const _0x5b0c64=a19_0x483ead;return this[_0x5b0c64(0x167)]===OS[_0x5b0c64(0x18d)]&&this[_0x5b0c64(0x191)][_0x5b0c64(0x182)]('ID')||'';}get[a19_0x483ead(0x169)](){const _0x26a039=a19_0x483ead;return this[_0x26a039(0x167)]===OS[_0x26a039(0x18d)]?(0x0,fs_1[_0x26a039(0x198)])(_0x26a039(0x194)):![];}get[a19_0x483ead(0x195)](){const _0x4b7494=a19_0x483ead;return!!process[_0x4b7494(0x188)][_0x4b7494(0x19a)];}get[a19_0x483ead(0x191)](){const _0x2e84d1=a19_0x483ead;if(!this[_0x2e84d1(0x184)]){this[_0x2e84d1(0x184)]=new Map();try{if(this[_0x2e84d1(0x167)]===OS[_0x2e84d1(0x18d)]){const _0x3020f3=(0x0,fs_1['readFileSync'])(_0x2e84d1(0x180),_0x2e84d1(0x175));_0x3020f3[_0x2e84d1(0x165)](/\r?\n/)[_0x2e84d1(0x168)](_0x29de65=>{const _0x43a65b=_0x2e84d1,[_0x5ed42d,_0x5a226f]=_0x29de65[_0x43a65b(0x19d)]()[_0x43a65b(0x165)]('=');this['_cachedOsRelease']?.[_0x43a65b(0x17c)](_0x5ed42d,_0x5a226f?.[_0x43a65b(0x1a0)](/^"|"$/g,'')||'');});}}catch(_0x230f6c){this[_0x2e84d1(0x19b)][_0x2e84d1(0x16c)](_0x2e84d1(0x176),_0x230f6c);}}return this[_0x2e84d1(0x184)];}[a19_0x483ead(0x18f)](){const _0x45dd11=a19_0x483ead;return{'runtimeEnvironmentVersion':this[_0x45dd11(0x18e)],'runtimeEnvironmentInfo':this[_0x45dd11(0x196)],'pid':this['pid'],'cpuCoreCount':this['cpuCoreCount'],'systemTotalMemoryBytes':this[_0x45dd11(0x193)],'host':this[_0x45dd11(0x186)],'agentOS':this[_0x45dd11(0x167)],'osVersion':this[_0x45dd11(0x199)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x45dd11(0x169)],'isInK8s':this[_0x45dd11(0x195)],'procArch':this[_0x45dd11(0x16e)]};}}function a19_0x5bf6(){const _0x33e03d=['runtimeEnvironmentVersion','getProps','pid','_osRelease','version','systemTotalMemoryBytes','/.dockerenv','isInK8s','runtimeEnvironmentInfo','Node.js\x20','existsSync','osVersion','KUBERNETES_SERVICE_HOST','_logger','6189550lkrzok','trim','144MFImxK','1795045avahhZ','replace','arm','mac','8MHcwLI','x32','error','split','20016yhrWTj','agentOS','forEach','isInDocker','linuxDistroName','18360rbUiwv','warn','totalmem','procArch','(((.+)+)+)+$','length','windows','1578984TuUTGY','arm64','versions','utf-8','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','node','search','x64','2547372lNMauC','EnvironmentMetadata','set','MacOS','toString','96386vJPpyx','/etc/os-release','\x20on\x20','get','18fXDzuZ','_cachedOsRelease','apply','host','__esModule','env','assert','release','Windows','linux','Linux'];a19_0x5bf6=function(){return _0x33e03d;};return a19_0x5bf6();}exports[a19_0x483ead(0x17b)]=EnvironmentMetadata;
1
+ 'use strict';const a19_0x8910a5=a19_0x32df;(function(_0xb42803,_0x3ca322){const _0x3ed8ca=a19_0x32df,_0x18d9c0=_0xb42803();while(!![]){try{const _0x31d9a8=-parseInt(_0x3ed8ca(0xb2))/0x1*(parseInt(_0x3ed8ca(0x9e))/0x2)+parseInt(_0x3ed8ca(0xba))/0x3*(-parseInt(_0x3ed8ca(0xb9))/0x4)+-parseInt(_0x3ed8ca(0xca))/0x5+-parseInt(_0x3ed8ca(0xb3))/0x6*(parseInt(_0x3ed8ca(0xaf))/0x7)+parseInt(_0x3ed8ca(0xe1))/0x8*(parseInt(_0x3ed8ca(0xad))/0x9)+-parseInt(_0x3ed8ca(0xbc))/0xa+-parseInt(_0x3ed8ca(0xb7))/0xb*(-parseInt(_0x3ed8ca(0xcd))/0xc);if(_0x31d9a8===_0x3ca322)break;else _0x18d9c0['push'](_0x18d9c0['shift']());}catch(_0x230227){_0x18d9c0['push'](_0x18d9c0['shift']());}}}(a19_0x4af4,0x50238));function a19_0x32df(_0x52e468,_0x5b6592){const _0x55116a=a19_0x4af4();return a19_0x32df=function(_0xf9c334,_0x2b9ec6){_0xf9c334=_0xf9c334-0x9b;let _0x4af47e=_0x55116a[_0xf9c334];return _0x4af47e;},a19_0x32df(_0x52e468,_0x5b6592);}Object[a19_0x8910a5(0xa2)](exports,a19_0x8910a5(0xbd),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x8910a5(0xde));var OS;function a19_0x4af4(){const _0x2297ae=['isInK8s','x32','Windows','VERSION_ID','arm64','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','osVersion','runtimeEnvironmentVersion','linuxDistroName','utf-8','error','\x20on\x20','77945QvsIbE','readFileSync','_logger','528FpFYVl','cpuCoreCount','(((.+)+)+)+$','versions','totalmem','host','length','cpus','node','replace','apply','existsSync','systemTotalMemoryBytes','hostname','agentOS','release','arm','assert','runtimeEnvironmentInfo','Linux','4636992SZGduS','MacOS','x64','EnvironmentMetadata','103772DyQsdO','toString','_osRelease','windows','defineProperty','KUBERNETES_SERVICE_HOST','platform','/.dockerenv','version','constructor','Node.js\x20','isInDocker','procArch','linux','arch','9MqyEuG','search','973HmBqYE','_cachedOsRelease','getProps','10CkOueW','25266aMSatl','env','match','/etc/os-release','401379TxLyHo','pid','75916fHcCxN','39whPTIa','get','4903870LiMObz','__esModule'];a19_0x4af4=function(){return _0x2297ae;};return a19_0x4af4();}(function(_0x31368b){const _0x4adc17=a19_0x8910a5,_0x2fff37=(function(){let _0x36f59b=!![];return function(_0x445340,_0x4b36fc){const _0x166394=_0x36f59b?function(){const _0x4c1507=a19_0x32df;if(_0x4b36fc){const _0x3cabf7=_0x4b36fc[_0x4c1507(0xd7)](_0x445340,arguments);return _0x4b36fc=null,_0x3cabf7;}}:function(){};return _0x36f59b=![],_0x166394;};}()),_0x5eb0ca=_0x2fff37(this,function(){const _0x3c4021=a19_0x32df;return _0x5eb0ca['toString']()['search']('(((.+)+)+)+$')[_0x3c4021(0x9f)]()[_0x3c4021(0xa7)](_0x5eb0ca)[_0x3c4021(0xae)](_0x3c4021(0xcf));});_0x5eb0ca(),_0x31368b[_0x4adc17(0xe0)]=_0x4adc17(0xab),_0x31368b[_0x4adc17(0xc0)]=_0x4adc17(0xa1),_0x31368b[_0x4adc17(0x9b)]='mac';}(OS||(OS={})));var ProcArch;(function(_0x47493e){const _0x1585a9=a19_0x8910a5;_0x47493e['x64']=_0x1585a9(0x9c),_0x47493e[_0x1585a9(0xbf)]='x32',_0x47493e[_0x1585a9(0xdd)]=_0x1585a9(0xdd),_0x47493e[_0x1585a9(0xc2)]=_0x1585a9(0xc2);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x8910a5(0xe0)],'win32':OS[a19_0x8910a5(0xc0)],'darwin':OS[a19_0x8910a5(0x9b)]},ArchToProcArchMap={'x32':ProcArch[a19_0x8910a5(0xbf)],'x64':ProcArch[a19_0x8910a5(0x9c)],'arm':ProcArch[a19_0x8910a5(0xdd)],'arm64':ProcArch[a19_0x8910a5(0xc2)]};class EnvironmentMetadata{constructor(_0x274b7c){const _0x21a567=a19_0x8910a5;assert(_0x274b7c!==null),this[_0x21a567(0xcc)]=_0x274b7c;}get[a19_0x8910a5(0xc5)](){const _0x360ea7=a19_0x8910a5;try{const _0x3e8752=process[_0x360ea7(0xd0)][_0x360ea7(0xd5)][_0x360ea7(0xb5)](/(\d+\.\d+)\..*/);if(_0x3e8752)return _0x3e8752[0x1];}catch(_0x2b97b7){this[_0x360ea7(0xcc)][_0x360ea7(0xc8)](_0x2b97b7);}return;}get['runtimeEnvironmentInfo'](){const _0xa5b619=a19_0x8910a5;return _0xa5b619(0xa8)+process[_0xa5b619(0xa6)]+_0xa5b619(0xc9)+(0x0,os_1[_0xa5b619(0xa4)])()+'\x20'+(0x0,os_1[_0xa5b619(0xdc)])();}get[a19_0x8910a5(0xb8)](){const _0x4492c2=a19_0x8910a5;return process[_0x4492c2(0xb8)][_0x4492c2(0x9f)]();}get[a19_0x8910a5(0xaa)](){const _0x5287f8=a19_0x8910a5;return ArchToProcArchMap[process[_0x5287f8(0xac)]]||process['arch'];}get[a19_0x8910a5(0xce)](){const _0x3e7a45=a19_0x8910a5;return(0x0,os_1[_0x3e7a45(0xd4)])()[_0x3e7a45(0xd3)];}get[a19_0x8910a5(0xd9)](){const _0x3a183c=a19_0x8910a5;return(0x0,os_1[_0x3a183c(0xd1)])();}get[a19_0x8910a5(0xd2)](){const _0x475844=a19_0x8910a5;return(0x0,os_1[_0x475844(0xda)])();}get[a19_0x8910a5(0xdb)](){const _0x274805=a19_0x8910a5;return PlatformToOsMap[(0x0,os_1[_0x274805(0xa4)])()]||(0x0,os_1[_0x274805(0xa4)])();}get[a19_0x8910a5(0xc4)](){const _0x92945d=a19_0x8910a5;try{if(this[_0x92945d(0xdb)]===OS[_0x92945d(0xe0)])return this[_0x92945d(0xa0)][_0x92945d(0xbb)](_0x92945d(0xc1))??(0x0,os_1[_0x92945d(0xdc)])();return(0x0,os_1[_0x92945d(0xdc)])();}catch(_0x48db50){this['_logger'][_0x92945d(0xc8)](_0x48db50);}return;}get['linuxDistroName'](){const _0x4f217e=a19_0x8910a5;return this[_0x4f217e(0xdb)]===OS[_0x4f217e(0xe0)]&&this[_0x4f217e(0xa0)][_0x4f217e(0xbb)]('ID')||'';}get[a19_0x8910a5(0xa9)](){const _0x16b02c=a19_0x8910a5;return this[_0x16b02c(0xdb)]===OS[_0x16b02c(0xe0)]?(0x0,fs_1[_0x16b02c(0xd8)])(_0x16b02c(0xa5)):![];}get[a19_0x8910a5(0xbe)](){const _0x3f4f69=a19_0x8910a5;return!!process[_0x3f4f69(0xb4)][_0x3f4f69(0xa3)];}get[a19_0x8910a5(0xa0)](){const _0x4cae9f=a19_0x8910a5;if(!this[_0x4cae9f(0xb0)]){this['_cachedOsRelease']=new Map();try{if(this['agentOS']===OS[_0x4cae9f(0xe0)]){const _0xf1d160=(0x0,fs_1[_0x4cae9f(0xcb)])(_0x4cae9f(0xb6),_0x4cae9f(0xc7));_0xf1d160['split'](/\r?\n/)['forEach'](_0x42771a=>{const _0x268856=_0x4cae9f,[_0x5abc24,_0x73a240]=_0x42771a['trim']()['split']('=');this['_cachedOsRelease']?.['set'](_0x5abc24,_0x73a240?.[_0x268856(0xd6)](/^"|"$/g,'')||'');});}}catch(_0x1c443a){this[_0x4cae9f(0xcc)]['warn'](_0x4cae9f(0xc3),_0x1c443a);}}return this[_0x4cae9f(0xb0)];}[a19_0x8910a5(0xb1)](){const _0x2f21b1=a19_0x8910a5;return{'runtimeEnvironmentVersion':this[_0x2f21b1(0xc5)],'runtimeEnvironmentInfo':this[_0x2f21b1(0xdf)],'pid':this[_0x2f21b1(0xb8)],'cpuCoreCount':this[_0x2f21b1(0xce)],'systemTotalMemoryBytes':this[_0x2f21b1(0xd9)],'host':this[_0x2f21b1(0xd2)],'agentOS':this['agentOS'],'osVersion':this[_0x2f21b1(0xc4)],'linuxDistroName':this[_0x2f21b1(0xc6)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x2f21b1(0xbe)],'procArch':this[_0x2f21b1(0xaa)]};}}exports[a19_0x8910a5(0x9d)]=EnvironmentMetadata;
@@ -1 +1 @@
1
- function a20_0x82d4(){const _0x57b393=['get','__esModule','filter','defineProperty','stripStartingSep','fileIndex','keys','fileStats','4220920OsRzrR','indexOf','sep','8dVyCAS','166398kaTVEj','add','min','buildIndex','28LrpMsf','55896eAuOFg','startsWith','1363884QLjUFR','76471qeMGRE','constructor','includes','99gYUuFL','toString','findShortestFuzzyMatches','size','generateSubPaths','_fileStats','(((.+)+)+)+$','241190bEVjcR','map','702UTqkoF','search','path','FileIndex','1429602aIzAvX','has','substr','15pHaGNN','length'];a20_0x82d4=function(){return _0x57b393;};return a20_0x82d4();}const a20_0x13733b=a20_0x6763;(function(_0x45958c,_0x9d44ee){const _0x652791=a20_0x6763,_0x2b329d=_0x45958c();while(!![]){try{const _0x1e13ea=-parseInt(_0x652791(0x1be))/0x1+-parseInt(_0x652791(0x1b6))/0x2*(parseInt(_0x652791(0x1a8))/0x3)+-parseInt(_0x652791(0x1b5))/0x4*(-parseInt(_0x652791(0x1c8))/0x5)+-parseInt(_0x652791(0x1ce))/0x6*(-parseInt(_0x652791(0x1ba))/0x7)+-parseInt(_0x652791(0x1bb))/0x8*(parseInt(_0x652791(0x1ca))/0x9)+-parseInt(_0x652791(0x1b2))/0xa+parseInt(_0x652791(0x1c1))/0xb*(parseInt(_0x652791(0x1bd))/0xc);if(_0x1e13ea===_0x9d44ee)break;else _0x2b329d['push'](_0x2b329d['shift']());}catch(_0x19349f){_0x2b329d['push'](_0x2b329d['shift']());}}}(a20_0x82d4,0x95a31));const a20_0x558e89=(function(){let _0x161d00=!![];return function(_0x543022,_0x10c406){const _0x24b8c9=_0x161d00?function(){if(_0x10c406){const _0x232f36=_0x10c406['apply'](_0x543022,arguments);return _0x10c406=null,_0x232f36;}}:function(){};return _0x161d00=![],_0x24b8c9;};}()),a20_0x5ad74b=a20_0x558e89(this,function(){const _0x16cb13=a20_0x6763;return a20_0x5ad74b[_0x16cb13(0x1c2)]()['search'](_0x16cb13(0x1c7))[_0x16cb13(0x1c2)]()[_0x16cb13(0x1bf)](a20_0x5ad74b)[_0x16cb13(0x1cb)]('(((.+)+)+)+$');});a20_0x5ad74b();'use strict';Object[a20_0x13733b(0x1ad)](exports,a20_0x13733b(0x1ab),{'value':!![]}),exports[a20_0x13733b(0x1cd)]=void 0x0;const path=require(a20_0x13733b(0x1cc));class FileIndex{constructor(_0x5cbc90){const _0x2415d7=a20_0x13733b;this[_0x2415d7(0x1c6)]=_0x5cbc90,this['fileIndex']=new Map();}static['fromFileStats'](_0x4e84b0){const _0x178931=a20_0x13733b,_0x4204fd=new FileIndex(_0x4e84b0);return _0x4204fd[_0x178931(0x1b9)](Object[_0x178931(0x1b0)](_0x4e84b0)||[]),_0x4204fd;}static['fromFileList'](_0x52dbef){const _0x4a4aab=a20_0x13733b,_0x4361dc=new FileIndex(undefined);return _0x4361dc[_0x4a4aab(0x1b9)](_0x52dbef||[]),_0x4361dc;}get[a20_0x13733b(0x1b1)](){const _0xb492ae=a20_0x13733b;return this[_0xb492ae(0x1c6)]??{};}[a20_0x13733b(0x1c3)](_0x584306){const _0x1fceec=a20_0x13733b,_0x2336d8=this[_0x1fceec(0x1cb)](_0x584306);if(!_0x2336d8||_0x2336d8[_0x1fceec(0x1c4)]===0x0)return[];const _0xd9eeeb=[..._0x2336d8][_0x1fceec(0x1c9)](_0x3cb765=>_0x3cb765['length']),_0x55be56=Math[_0x1fceec(0x1b8)](..._0xd9eeeb),_0x5bdd5d=[..._0x2336d8][_0x1fceec(0x1ac)](_0x4b4a63=>_0x4b4a63[_0x1fceec(0x1a9)]===_0x55be56);return _0x5bdd5d;}[a20_0x13733b(0x1b9)](_0x6ccbee){const _0x426cb7=a20_0x13733b;for(const _0x587ab8 of _0x6ccbee){for(const _0x1df948 of this[_0x426cb7(0x1c5)](_0x587ab8)){let _0x5a9c99=this[_0x426cb7(0x1af)][_0x426cb7(0x1aa)](_0x1df948);_0x5a9c99===undefined&&(_0x5a9c99=new Set(),this[_0x426cb7(0x1af)]['set'](_0x1df948,_0x5a9c99)),_0x5a9c99[_0x426cb7(0x1b7)](_0x587ab8);}}}[a20_0x13733b(0x1c5)](_0x22765c){const _0x1e173c=a20_0x13733b;_0x22765c=this[_0x1e173c(0x1ae)](_0x22765c);const _0x4001a2=[_0x22765c];while(_0x22765c[_0x1e173c(0x1c0)](path[_0x1e173c(0x1b4)])){_0x22765c=_0x22765c['substring'](_0x22765c[_0x1e173c(0x1b3)](path['sep'])+path[_0x1e173c(0x1b4)][_0x1e173c(0x1a9)],_0x22765c['length']),_0x4001a2['push'](_0x22765c);}return _0x4001a2;}[a20_0x13733b(0x1cb)](_0x5c6c82){const _0x131391=a20_0x13733b;if(!_0x5c6c82)return undefined;_0x5c6c82=this[_0x131391(0x1ae)](_0x5c6c82);for(const _0xb5c2a1 of this[_0x131391(0x1c5)](_0x5c6c82)){if(this[_0x131391(0x1af)][_0x131391(0x1a6)](_0xb5c2a1))return this[_0x131391(0x1af)][_0x131391(0x1aa)](_0xb5c2a1);}return undefined;}[a20_0x13733b(0x1ae)](_0x359ae6){const _0x14f274=a20_0x13733b;if(_0x359ae6&&(_0x359ae6['startsWith']('/')||_0x359ae6[_0x14f274(0x1bc)]('\x5c')))return _0x359ae6[_0x14f274(0x1a7)](0x1);return _0x359ae6;}}function a20_0x6763(_0x532092,_0x1d8fc1){const _0x326345=a20_0x82d4();return a20_0x6763=function(_0x5ad74b,_0x558e89){_0x5ad74b=_0x5ad74b-0x1a6;let _0x82d4fe=_0x326345[_0x5ad74b];return _0x82d4fe;},a20_0x6763(_0x532092,_0x1d8fc1);}exports[a20_0x13733b(0x1cd)]=FileIndex;
1
+ const a20_0x235a49=a20_0x4e64;function a20_0x1b58(){const _0x173170=['fileIndex','2066529CUmXRp','sep','generateSubPaths','toString','stripStartingSep','1184664QQZqWp','FileIndex','indexOf','46462kahEEM','_fileStats','48199716oEJCpQ','keys','buildIndex','defineProperty','substring','path','apply','10ZeclkZ','filter','add','startsWith','push','2537220XMdXvP','209112YkVtUH','__esModule','includes','set','1531362cQApzX','length','constructor','25gllIkP','map','fromFileList','get','search','(((.+)+)+)+$','has','203Ihsccj'];a20_0x1b58=function(){return _0x173170;};return a20_0x1b58();}(function(_0x272dc8,_0x13e0b7){const _0x1c8957=a20_0x4e64,_0x21ea91=_0x272dc8();while(!![]){try{const _0x53ab7e=-parseInt(_0x1c8957(0xd7))/0x1+parseInt(_0x1c8957(0xda))/0x2+-parseInt(_0x1c8957(0xd2))/0x3+-parseInt(_0x1c8957(0xe8))/0x4+parseInt(_0x1c8957(0xc9))/0x5*(-parseInt(_0x1c8957(0xc6))/0x6)+-parseInt(_0x1c8957(0xd0))/0x7*(parseInt(_0x1c8957(0xe9))/0x8)+-parseInt(_0x1c8957(0xdc))/0x9*(-parseInt(_0x1c8957(0xe3))/0xa);if(_0x53ab7e===_0x13e0b7)break;else _0x21ea91['push'](_0x21ea91['shift']());}catch(_0x2c5535){_0x21ea91['push'](_0x21ea91['shift']());}}}(a20_0x1b58,0xcc4a9));const a20_0x5b28b2=(function(){let _0x5da8fb=!![];return function(_0x2a3e24,_0x5619a6){const _0x44354e=_0x5da8fb?function(){const _0x582833=a20_0x4e64;if(_0x5619a6){const _0x11ad94=_0x5619a6[_0x582833(0xe2)](_0x2a3e24,arguments);return _0x5619a6=null,_0x11ad94;}}:function(){};return _0x5da8fb=![],_0x44354e;};}()),a20_0x41ca94=a20_0x5b28b2(this,function(){const _0x51c100=a20_0x4e64;return a20_0x41ca94[_0x51c100(0xd5)]()[_0x51c100(0xcd)](_0x51c100(0xce))['toString']()[_0x51c100(0xc8)](a20_0x41ca94)[_0x51c100(0xcd)](_0x51c100(0xce));});a20_0x41ca94();'use strict';Object[a20_0x235a49(0xdf)](exports,a20_0x235a49(0xc3),{'value':!![]}),exports[a20_0x235a49(0xd8)]=void 0x0;const path=require(a20_0x235a49(0xe1));class FileIndex{constructor(_0xaee3c0){const _0x340cca=a20_0x235a49;this[_0x340cca(0xdb)]=_0xaee3c0,this[_0x340cca(0xd1)]=new Map();}static['fromFileStats'](_0x532e51){const _0xf10c5=a20_0x235a49,_0x1565ef=new FileIndex(_0x532e51);return _0x1565ef[_0xf10c5(0xde)](Object[_0xf10c5(0xdd)](_0x532e51)||[]),_0x1565ef;}static[a20_0x235a49(0xcb)](_0x4f7400){const _0x134d03=a20_0x235a49,_0x223730=new FileIndex(undefined);return _0x223730[_0x134d03(0xde)](_0x4f7400||[]),_0x223730;}get['fileStats'](){return this['_fileStats']??{};}['findShortestFuzzyMatches'](_0x43071e){const _0x285b6b=a20_0x235a49,_0x50e7a2=this[_0x285b6b(0xcd)](_0x43071e);if(!_0x50e7a2||_0x50e7a2['size']===0x0)return[];const _0x2bbd9e=[..._0x50e7a2][_0x285b6b(0xca)](_0x3f8dce=>_0x3f8dce[_0x285b6b(0xc7)]),_0x6dfb56=Math['min'](..._0x2bbd9e),_0x5baee6=[..._0x50e7a2][_0x285b6b(0xe4)](_0x109a18=>_0x109a18[_0x285b6b(0xc7)]===_0x6dfb56);return _0x5baee6;}['buildIndex'](_0xad3c7f){const _0x2269b0=a20_0x235a49;for(const _0x43ddd2 of _0xad3c7f){for(const _0x404a8b of this[_0x2269b0(0xd4)](_0x43ddd2)){let _0x53bda6=this[_0x2269b0(0xd1)][_0x2269b0(0xcc)](_0x404a8b);_0x53bda6===undefined&&(_0x53bda6=new Set(),this[_0x2269b0(0xd1)][_0x2269b0(0xc5)](_0x404a8b,_0x53bda6)),_0x53bda6[_0x2269b0(0xe5)](_0x43ddd2);}}}['generateSubPaths'](_0x2d3599){const _0x6497f1=a20_0x235a49;_0x2d3599=this[_0x6497f1(0xd6)](_0x2d3599);const _0x5ecae5=[_0x2d3599];while(_0x2d3599[_0x6497f1(0xc4)](path['sep'])){_0x2d3599=_0x2d3599[_0x6497f1(0xe0)](_0x2d3599[_0x6497f1(0xd9)](path[_0x6497f1(0xd3)])+path[_0x6497f1(0xd3)][_0x6497f1(0xc7)],_0x2d3599[_0x6497f1(0xc7)]),_0x5ecae5[_0x6497f1(0xe7)](_0x2d3599);}return _0x5ecae5;}[a20_0x235a49(0xcd)](_0x469fb1){const _0x380719=a20_0x235a49;if(!_0x469fb1)return undefined;_0x469fb1=this[_0x380719(0xd6)](_0x469fb1);for(const _0x2ab7f4 of this['generateSubPaths'](_0x469fb1)){if(this[_0x380719(0xd1)][_0x380719(0xcf)](_0x2ab7f4))return this['fileIndex'][_0x380719(0xcc)](_0x2ab7f4);}return undefined;}[a20_0x235a49(0xd6)](_0x2ab58e){const _0x30a2f6=a20_0x235a49;if(_0x2ab58e&&(_0x2ab58e['startsWith']('/')||_0x2ab58e[_0x30a2f6(0xe6)]('\x5c')))return _0x2ab58e['substr'](0x1);return _0x2ab58e;}}function a20_0x4e64(_0x3320d2,_0x5d9e8b){const _0x5951f2=a20_0x1b58();return a20_0x4e64=function(_0x41ca94,_0x5b28b2){_0x41ca94=_0x41ca94-0xc3;let _0x1b58d0=_0x5951f2[_0x41ca94];return _0x1b58d0;},a20_0x4e64(_0x3320d2,_0x5d9e8b);}exports[a20_0x235a49(0xd8)]=FileIndex;
@@ -1 +1 @@
1
- const a21_0x33cc69=a21_0x4208;(function(_0x321443,_0x50f425){const _0x435917=a21_0x4208,_0x241af8=_0x321443();while(!![]){try{const _0x2d4aaa=-parseInt(_0x435917(0x1d3))/0x1+-parseInt(_0x435917(0x1bc))/0x2+parseInt(_0x435917(0x1c3))/0x3*(-parseInt(_0x435917(0x1bb))/0x4)+-parseInt(_0x435917(0x1c0))/0x5*(parseInt(_0x435917(0x1c4))/0x6)+-parseInt(_0x435917(0x1d8))/0x7+-parseInt(_0x435917(0x1d4))/0x8*(parseInt(_0x435917(0x1c5))/0x9)+parseInt(_0x435917(0x1cf))/0xa;if(_0x2d4aaa===_0x50f425)break;else _0x241af8['push'](_0x241af8['shift']());}catch(_0x435aae){_0x241af8['push'](_0x241af8['shift']());}}}(a21_0x5411,0xaf904));function a21_0x4208(_0xc14f2a,_0x1ac9ca){const _0x59c8fc=a21_0x5411();return a21_0x4208=function(_0x5efe29,_0x5df412){_0x5efe29=_0x5efe29-0x1bb;let _0x54114a=_0x59c8fc[_0x5efe29];return _0x54114a;},a21_0x4208(_0xc14f2a,_0x1ac9ca);}const a21_0x5df412=(function(){let _0x26ebb5=!![];return function(_0x2586e7,_0x30f899){const _0x5583a0=_0x26ebb5?function(){const _0x2fbef8=a21_0x4208;if(_0x30f899){const _0x152abf=_0x30f899[_0x2fbef8(0x1d0)](_0x2586e7,arguments);return _0x30f899=null,_0x152abf;}}:function(){};return _0x26ebb5=![],_0x5583a0;};}()),a21_0x5efe29=a21_0x5df412(this,function(){const _0x5718da=a21_0x4208;return a21_0x5efe29[_0x5718da(0x1c1)]()[_0x5718da(0x1c7)]('(((.+)+)+)+$')['toString']()[_0x5718da(0x1cb)](a21_0x5efe29)[_0x5718da(0x1c7)](_0x5718da(0x1d5));});a21_0x5efe29();'use strict';Object[a21_0x33cc69(0x1d7)](exports,a21_0x33cc69(0x1c9),{'value':!![]}),exports['ScanResultsImpl']=void 0x0;const path=require(a21_0x33cc69(0x1bd));class ScanResultsImpl{constructor(_0x44738d,_0x48e28f,_0x171c11){const _0x47ed8d=a21_0x33cc69;this['stats']=_0x44738d,this['errorMap']=_0x48e28f,this[_0x47ed8d(0x1c8)]=_0x171c11;}[a21_0x33cc69(0x1d2)](){const _0x41bdf8=a21_0x33cc69;return this[_0x41bdf8(0x1d6)];}[a21_0x33cc69(0x1cd)](){const _0x5c782b=a21_0x33cc69;return this[_0x5c782b(0x1c2)];}[a21_0x33cc69(0x1ce)](_0x445f89){const _0x39fd49=a21_0x33cc69,_0x5533fa={};return Object[_0x39fd49(0x1bf)](this[_0x39fd49(0x1c2)])['forEach'](_0x197222=>{const _0x1f22c2=_0x39fd49;_0x445f89['test'](_0x197222)&&(_0x5533fa[_0x197222]=this[_0x1f22c2(0x1c2)][_0x197222]);}),_0x5533fa;}[a21_0x33cc69(0x1cc)](_0xc0d633,_0x111df1){const _0x2f0d2d=a21_0x33cc69;return _0x111df1=path[_0x2f0d2d(0x1c6)](_0x111df1+path[_0x2f0d2d(0x1ca)]),Object[_0x2f0d2d(0x1bf)](this[_0x2f0d2d(0x1c2)])['filter'](_0x1d1d75=>_0x1d1d75&&_0xc0d633['test'](_0x1d1d75))[_0x2f0d2d(0x1d1)](_0x314fa3=>path['normalize'](_0x314fa3)['replace'](_0x111df1,''));}}function a21_0x5411(){const _0x36ddcc=['848640PjRmbJ','142344NpoBrc','(((.+)+)+)+$','errorMap','defineProperty','8453459ScJmzr','1740NkMgHp','2374036beIiGa','path','ScanResultsImpl','keys','2279735zAuTUH','toString','stats','5427viMBFY','6eHvPVj','153IUofOI','normalize','search','hash','__esModule','sep','constructor','selectFiles','all','selectStats','55077460Dyotlj','apply','map','errors'];a21_0x5411=function(){return _0x36ddcc;};return a21_0x5411();}exports[a21_0x33cc69(0x1be)]=ScanResultsImpl;
1
+ const a21_0x3ca7f4=a21_0x28ad;function a21_0x5ab3(){const _0x5871f3=['5297580UYgjCO','ScanResultsImpl','test','forEach','hash','search','stats','114303YwfzZH','1541281BkzpZM','__esModule','48810qjIawc','constructor','normalize','errorMap','899220poiIPD','filter','apply','2321904UJFavX','2xWLxai','all','5Gorzow','(((.+)+)+)+$','sep','errors','toString','selectStats','208304fOBjDw','defineProperty','keys'];a21_0x5ab3=function(){return _0x5871f3;};return a21_0x5ab3();}(function(_0x57eeef,_0x39bc59){const _0x36dc7a=a21_0x28ad,_0x5144c2=_0x57eeef();while(!![]){try{const _0x213b03=-parseInt(_0x36dc7a(0x175))/0x1+parseInt(_0x36dc7a(0x17d))/0x2*(-parseInt(_0x36dc7a(0x172))/0x3)+parseInt(_0x36dc7a(0x168))/0x4*(parseInt(_0x36dc7a(0x162))/0x5)+parseInt(_0x36dc7a(0x179))/0x6+-parseInt(_0x36dc7a(0x173))/0x7+-parseInt(_0x36dc7a(0x17c))/0x8+parseInt(_0x36dc7a(0x16b))/0x9;if(_0x213b03===_0x39bc59)break;else _0x5144c2['push'](_0x5144c2['shift']());}catch(_0x14c67a){_0x5144c2['push'](_0x5144c2['shift']());}}}(a21_0x5ab3,0x2f2d2));function a21_0x28ad(_0x5e5967,_0x2327fb){const _0x4fdc5d=a21_0x5ab3();return a21_0x28ad=function(_0x1d8d71,_0x42ff7c){_0x1d8d71=_0x1d8d71-0x161;let _0x5ab307=_0x4fdc5d[_0x1d8d71];return _0x5ab307;},a21_0x28ad(_0x5e5967,_0x2327fb);}const a21_0x42ff7c=(function(){let _0x621a10=!![];return function(_0x2eb5aa,_0xffdcee){const _0x5c557b=_0x621a10?function(){const _0x4f960f=a21_0x28ad;if(_0xffdcee){const _0x46fb10=_0xffdcee[_0x4f960f(0x17b)](_0x2eb5aa,arguments);return _0xffdcee=null,_0x46fb10;}}:function(){};return _0x621a10=![],_0x5c557b;};}()),a21_0x1d8d71=a21_0x42ff7c(this,function(){const _0x21ac7a=a21_0x28ad;return a21_0x1d8d71[_0x21ac7a(0x166)]()[_0x21ac7a(0x170)]('(((.+)+)+)+$')[_0x21ac7a(0x166)]()[_0x21ac7a(0x176)](a21_0x1d8d71)[_0x21ac7a(0x170)](_0x21ac7a(0x163));});a21_0x1d8d71();'use strict';Object[a21_0x3ca7f4(0x169)](exports,a21_0x3ca7f4(0x174),{'value':!![]}),exports[a21_0x3ca7f4(0x16c)]=void 0x0;const path=require('path');class ScanResultsImpl{constructor(_0x48e193,_0x5286c1,_0x23f7ba){const _0x2a0858=a21_0x3ca7f4;this[_0x2a0858(0x171)]=_0x48e193,this[_0x2a0858(0x178)]=_0x5286c1,this[_0x2a0858(0x16f)]=_0x23f7ba;}[a21_0x3ca7f4(0x165)](){return this['errorMap'];}[a21_0x3ca7f4(0x161)](){const _0x366ffd=a21_0x3ca7f4;return this[_0x366ffd(0x171)];}[a21_0x3ca7f4(0x167)](_0x48ce1a){const _0x152603=a21_0x3ca7f4,_0x33eff9={};return Object[_0x152603(0x16a)](this[_0x152603(0x171)])[_0x152603(0x16e)](_0x22c3b0=>{const _0x5dba18=_0x152603;_0x48ce1a[_0x5dba18(0x16d)](_0x22c3b0)&&(_0x33eff9[_0x22c3b0]=this[_0x5dba18(0x171)][_0x22c3b0]);}),_0x33eff9;}['selectFiles'](_0x2705c2,_0x2748fa){const _0x13167e=a21_0x3ca7f4;return _0x2748fa=path[_0x13167e(0x177)](_0x2748fa+path[_0x13167e(0x164)]),Object[_0x13167e(0x16a)](this[_0x13167e(0x171)])[_0x13167e(0x17a)](_0x19b7b9=>_0x19b7b9&&_0x2705c2['test'](_0x19b7b9))['map'](_0x25e94e=>path['normalize'](_0x25e94e)['replace'](_0x2748fa,''));}}exports[a21_0x3ca7f4(0x16c)]=ScanResultsImpl;
@@ -1 +1 @@
1
- const a22_0x2d8d9d=a22_0x1975;(function(_0x5c0ae6,_0xbee2ea){const _0x56434f=a22_0x1975,_0x571037=_0x5c0ae6();while(!![]){try{const _0x11f5a9=parseInt(_0x56434f(0x18d))/0x1+-parseInt(_0x56434f(0x196))/0x2*(parseInt(_0x56434f(0x1b3))/0x3)+parseInt(_0x56434f(0x182))/0x4+-parseInt(_0x56434f(0x191))/0x5+-parseInt(_0x56434f(0x183))/0x6+parseInt(_0x56434f(0x1a4))/0x7*(-parseInt(_0x56434f(0x187))/0x8)+parseInt(_0x56434f(0x1a6))/0x9;if(_0x11f5a9===_0xbee2ea)break;else _0x571037['push'](_0x571037['shift']());}catch(_0x3e5c2d){_0x571037['push'](_0x571037['shift']());}}}(a22_0x2e1c,0xf0e3e));function a22_0x2e1c(){const _0x300631=['statsForFile','Specified\x20extraPaths\x20does\x20not\x20exist!','hex','sha1','.git','addFilesFromDir','2187aMTyNu','test','from','push','scan','data','can\x27t\x20access\x20path:\x20[','apply','logger','R_OK','findit2','add','359620BLwLVH','9329484QbpXdE','createReadStream','findFiles','split','24sanHAm','pipe','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','open','set','createHash','1864168SsYOLv','hasReadAccess','directory','warn','2045785stSsKF','__esModule','digest','end','startsWith','4468VjBRht','toString','(((.+)+)+)+$','node_modules','basename','hash','./scan-results','error','resolve','sort','Scanner','constants','computeStats','Indexing\x20files\x20in\x20','3672683NhsWxX','join','37793493KiGzvo','info','update','ScanResultsImpl','EMPTY-no-js-files','accessSync','path'];a22_0x2e1c=function(){return _0x300631;};return a22_0x2e1c();}const a22_0x2b0f41=(function(){let _0x4ab270=!![];return function(_0x47b9bf,_0x3ffb95){const _0x562b0e=_0x4ab270?function(){const _0xd5f625=a22_0x1975;if(_0x3ffb95){const _0x3429ff=_0x3ffb95[_0xd5f625(0x17d)](_0x47b9bf,arguments);return _0x3ffb95=null,_0x3429ff;}}:function(){};return _0x4ab270=![],_0x562b0e;};}()),a22_0xf1b79f=a22_0x2b0f41(this,function(){const _0x363b3c=a22_0x1975;return a22_0xf1b79f[_0x363b3c(0x197)]()['search'](_0x363b3c(0x198))[_0x363b3c(0x197)]()['constructor'](a22_0xf1b79f)['search'](_0x363b3c(0x198));});a22_0xf1b79f();'use strict';Object['defineProperty'](exports,a22_0x2d8d9d(0x192),{'value':!![]}),exports[a22_0x2d8d9d(0x1a0)]=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require(a22_0x2d8d9d(0x1ac)),scan_results_1=require(a22_0x2d8d9d(0x19c));class Scanner{constructor(_0x2cf949){const _0x57eebf=a22_0x2d8d9d;this[_0x57eebf(0x17e)]=_0x2cf949;}async[a22_0x2d8d9d(0x1b7)](_0x52dfc3,_0x3b085f,_0x37a998,_0x2a774f){const _0x4e27cd=a22_0x2d8d9d,_0x50abf4=await this['findFiles'](_0x52dfc3,_0x3b085f,_0x2a774f);return this[_0x4e27cd(0x1a2)](_0x50abf4,_0x37a998);}async[a22_0x2d8d9d(0x1a2)](_0x41814c,_0x4b6197){const _0x3bc180=a22_0x2d8d9d;if(_0x41814c['length']===0x0)return new scan_results_1[(_0x3bc180(0x1a9))]({},new Map(),_0x3bc180(0x1aa));const _0x16e9d3=[],_0x39f968={},_0x6e7918=new Map();for(const _0x32bcbf of _0x41814c){try{const _0x15687a=await this[_0x3bc180(0x1ad)](_0x32bcbf,!_0x4b6197);!_0x4b6197&&_0x16e9d3[_0x3bc180(0x1b6)](_0x15687a[_0x3bc180(0x19b)]),_0x39f968[_0x32bcbf]=_0x15687a;}catch(_0x5253af){_0x6e7918[_0x3bc180(0x18b)](_0x32bcbf,_0x5253af);}}let _0x256803;if(!_0x4b6197){const _0x5ec2d9=_0x16e9d3[_0x3bc180(0x19f)]()[_0x3bc180(0x1a5)](),_0x2c8c1a=crypto[_0x3bc180(0x18c)](_0x3bc180(0x1b0))[_0x3bc180(0x1a8)](_0x5ec2d9)[_0x3bc180(0x193)](_0x3bc180(0x1af));_0x256803='SHA1-'+_0x2c8c1a;}else _0x256803=_0x4b6197;return new scan_results_1[(_0x3bc180(0x1a9))](_0x39f968,_0x6e7918,_0x256803);}async[a22_0x2d8d9d(0x185)](_0x43d81b,_0x519cbe,_0x1e9de9){const _0x5788d2=a22_0x2d8d9d,_0x5c41fb=new Set();await this['addFilesFromDir'](_0x5c41fb,_0x43d81b,_0x519cbe);for(const _0x20320b of _0x1e9de9??[]){if(_0x20320b){const _0x1c55d9=path[_0x5788d2(0x19e)](_0x20320b);try{await this[_0x5788d2(0x1b2)](_0x5c41fb,_0x1c55d9,_0x519cbe);}catch(_0x32e645){this[_0x5788d2(0x17e)]['error'](_0x5788d2(0x1ae),_0x32e645);}}}return Array[_0x5788d2(0x1b5)](_0x5c41fb);}static[a22_0x2d8d9d(0x18e)](_0x3e6c1c){const _0x2e8212=a22_0x2d8d9d;try{return fs[_0x2e8212(0x1ab)](_0x3e6c1c,fs[_0x2e8212(0x1a1)][_0x2e8212(0x17f)]),!![];}catch{return![];}}async[a22_0x2d8d9d(0x1b2)](_0xbcaa2f,_0x31b574,_0xd6c69f){return new Promise((_0x500ee4,_0x2903db)=>{const _0x30c7d9=a22_0x1975;let _0x16aaf3;if(!_0x31b574){_0x2903db(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this['logger'][_0x30c7d9(0x1a7)](_0x30c7d9(0x1a3)+path[_0x30c7d9(0x19e)](_0x31b574));const _0x3c6865=findit(_0x31b574);_0x3c6865['on'](_0x30c7d9(0x19d),_0xda54b2=>{_0x16aaf3=_0xda54b2;return;}),_0x3c6865['on'](_0x30c7d9(0x18f),(_0x4898d,_0x51b9e6,_0x3b06b4)=>{const _0x3f8d3b=_0x30c7d9,_0xecd802=path[_0x3f8d3b(0x19a)](_0x4898d);!Scanner[_0x3f8d3b(0x18e)](_0x4898d)&&(this[_0x3f8d3b(0x17e)][_0x3f8d3b(0x190)](_0x3f8d3b(0x17c)+_0x4898d+_0x3f8d3b(0x189)),_0x3b06b4()),(_0xecd802===_0x3f8d3b(0x1b1)||_0xecd802===_0x3f8d3b(0x199))&&(!path['resolve'](_0x31b574)[_0x3f8d3b(0x195)](path[_0x3f8d3b(0x19e)](_0x4898d))&&_0x3b06b4());}),_0x3c6865['on']('file',_0x552de1=>{const _0x5d702a=_0x30c7d9;_0xd6c69f[_0x5d702a(0x1b4)](_0x552de1)&&_0xbcaa2f[_0x5d702a(0x181)](_0x552de1);}),_0x3c6865['on'](_0x30c7d9(0x194),()=>{_0x16aaf3?_0x2903db(_0x16aaf3):_0x500ee4();});});}async[a22_0x2d8d9d(0x1ad)](_0x2916c5,_0x22e2bb){return new Promise((_0x1d5a12,_0x2d7028)=>{const _0x3aded1=a22_0x1975,_0x5721c1=fs[_0x3aded1(0x184)](_0x2916c5);_0x5721c1['on'](_0x3aded1(0x19d),_0x413417=>{_0x2d7028(_0x413417);}),_0x5721c1['on'](_0x3aded1(0x18a),()=>{const _0xc94bc6=_0x3aded1;let _0x151ba3;_0x22e2bb&&(_0x151ba3=crypto['createHash'](_0xc94bc6(0x1b0)));let _0x701e82=0x0,_0x47b318;const _0x50ef12=_0x5721c1[_0xc94bc6(0x188)](split());_0x50ef12['on']('error',_0x1e2acb=>{_0x47b318=_0x1e2acb;}),_0x50ef12['on'](_0xc94bc6(0x1b8),_0x343e1a=>{const _0x32262a=_0xc94bc6;_0x22e2bb&&_0x151ba3[_0x32262a(0x1a8)](_0x343e1a),_0x701e82++;}),_0x50ef12['on']('end',()=>{const _0x2f35ea=_0xc94bc6;if(_0x47b318)_0x2d7028(_0x47b318);else{const _0x335055=_0x22e2bb?_0x151ba3['digest'](_0x2f35ea(0x1af)):undefined;_0x1d5a12({'hash':_0x335055,'lines':_0x701e82});}});});});}}function a22_0x1975(_0x4e554a,_0x2ebb77){const _0x57590a=a22_0x2e1c();return a22_0x1975=function(_0xf1b79f,_0x2b0f41){_0xf1b79f=_0xf1b79f-0x17c;let _0x2e1c67=_0x57590a[_0xf1b79f];return _0x2e1c67;},a22_0x1975(_0x4e554a,_0x2ebb77);}exports[a22_0x2d8d9d(0x1a0)]=Scanner;const findit=require(a22_0x2d8d9d(0x180)),split=require(a22_0x2d8d9d(0x186));
1
+ const a22_0xc14f1e=a22_0x2a32;(function(_0xa51921,_0x4586e9){const _0x31772b=a22_0x2a32,_0x298e17=_0xa51921();while(!![]){try{const _0x5d5434=parseInt(_0x31772b(0x1e0))/0x1+parseInt(_0x31772b(0x1e5))/0x2+parseInt(_0x31772b(0x1d3))/0x3+-parseInt(_0x31772b(0x1c2))/0x4+parseInt(_0x31772b(0x1c6))/0x5*(parseInt(_0x31772b(0x1ac))/0x6)+-parseInt(_0x31772b(0x1c8))/0x7*(parseInt(_0x31772b(0x1bb))/0x8)+-parseInt(_0x31772b(0x1af))/0x9;if(_0x5d5434===_0x4586e9)break;else _0x298e17['push'](_0x298e17['shift']());}catch(_0x44c453){_0x298e17['push'](_0x298e17['shift']());}}}(a22_0x3f8f,0x285ca));const a22_0x38ed91=(function(){let _0x698332=!![];return function(_0x6658b0,_0x3c74ce){const _0x4c79d4=_0x698332?function(){const _0x272e7b=a22_0x2a32;if(_0x3c74ce){const _0x5390fb=_0x3c74ce[_0x272e7b(0x1e2)](_0x6658b0,arguments);return _0x3c74ce=null,_0x5390fb;}}:function(){};return _0x698332=![],_0x4c79d4;};}()),a22_0x5c5f78=a22_0x38ed91(this,function(){const _0x4a21bd=a22_0x2a32;return a22_0x5c5f78['toString']()[_0x4a21bd(0x1d5)](_0x4a21bd(0x1b6))[_0x4a21bd(0x1bd)]()[_0x4a21bd(0x1b9)](a22_0x5c5f78)[_0x4a21bd(0x1d5)](_0x4a21bd(0x1b6));});function a22_0x2a32(_0x223c30,_0x208fa9){const _0x400c57=a22_0x3f8f();return a22_0x2a32=function(_0x5c5f78,_0x38ed91){_0x5c5f78=_0x5c5f78-0x1a9;let _0x3f8fa2=_0x400c57[_0x5c5f78];return _0x3f8fa2;},a22_0x2a32(_0x223c30,_0x208fa9);}a22_0x5c5f78();'use strict';Object[a22_0xc14f1e(0x1b8)](exports,a22_0xc14f1e(0x1ba),{'value':!![]}),exports[a22_0xc14f1e(0x1d7)]=void 0x0;function a22_0x3f8f(){const _0x2dc4d1=['createHash','crypto','length','ScanResultsImpl','R_OK','hash','967767asLuvj','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','search','warn','Scanner','constants','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','pipe','set','add','data','directory','findit2','330317yGVcHh','resolve','apply','addFilesFromDir','hex','181986KxMjQc','.git','computeStats','./scan-results','90FLHGRi','EMPTY-no-js-files','node_modules','2022714kZarZE','statsForFile','end','from','createReadStream','logger','path','(((.+)+)+)+$','error','defineProperty','constructor','__esModule','8eSdmsb','startsWith','toString','Specified\x20extraPaths\x20does\x20not\x20exist!','findFiles','hasReadAccess','sort','1237552BCGvtS','scan','update','SHA1-','91435uIKzSg','split','2231236Zdqtlc','sha1','test','join','digest'];a22_0x3f8f=function(){return _0x2dc4d1;};return a22_0x3f8f();}const crypto=require(a22_0xc14f1e(0x1ce)),fs=require('fs'),path=require(a22_0xc14f1e(0x1b5)),scan_results_1=require(a22_0xc14f1e(0x1ab));class Scanner{constructor(_0xa9ae91){const _0x34055f=a22_0xc14f1e;this[_0x34055f(0x1b4)]=_0xa9ae91;}async[a22_0xc14f1e(0x1c3)](_0x455bdc,_0x451172,_0x3babd1,_0xb2336b){const _0x2665f5=a22_0xc14f1e,_0x316ba1=await this[_0x2665f5(0x1bf)](_0x455bdc,_0x451172,_0xb2336b);return this['computeStats'](_0x316ba1,_0x3babd1);}async[a22_0xc14f1e(0x1aa)](_0x102dab,_0x4c91bd){const _0x322579=a22_0xc14f1e;if(_0x102dab[_0x322579(0x1cf)]===0x0)return new scan_results_1['ScanResultsImpl']({},new Map(),_0x322579(0x1ad));const _0x51b607=[],_0x1d7155={},_0x68fd48=new Map();for(const _0x291bc7 of _0x102dab){try{const _0x2deb5e=await this['statsForFile'](_0x291bc7,!_0x4c91bd);!_0x4c91bd&&_0x51b607['push'](_0x2deb5e[_0x322579(0x1d2)]),_0x1d7155[_0x291bc7]=_0x2deb5e;}catch(_0x577d13){_0x68fd48[_0x322579(0x1db)](_0x291bc7,_0x577d13);}}let _0x17c74a;if(!_0x4c91bd){const _0x3e4641=_0x51b607[_0x322579(0x1c1)]()[_0x322579(0x1cb)](),_0xf42429=crypto['createHash'](_0x322579(0x1c9))['update'](_0x3e4641)[_0x322579(0x1cc)](_0x322579(0x1e4));_0x17c74a=_0x322579(0x1c5)+_0xf42429;}else _0x17c74a=_0x4c91bd;return new scan_results_1[(_0x322579(0x1d0))](_0x1d7155,_0x68fd48,_0x17c74a);}async[a22_0xc14f1e(0x1bf)](_0x52b443,_0x245cd0,_0xc4590c){const _0xa236d8=a22_0xc14f1e,_0x3bab1e=new Set();await this['addFilesFromDir'](_0x3bab1e,_0x52b443,_0x245cd0);for(const _0x10a754 of _0xc4590c??[]){if(_0x10a754){const _0x14d02c=path[_0xa236d8(0x1e1)](_0x10a754);try{await this[_0xa236d8(0x1e3)](_0x3bab1e,_0x14d02c,_0x245cd0);}catch(_0x332552){this[_0xa236d8(0x1b4)]['error'](_0xa236d8(0x1be),_0x332552);}}}return Array[_0xa236d8(0x1b2)](_0x3bab1e);}static[a22_0xc14f1e(0x1c0)](_0x500e3b){const _0x4b3d49=a22_0xc14f1e;try{return fs['accessSync'](_0x500e3b,fs[_0x4b3d49(0x1d8)][_0x4b3d49(0x1d1)]),!![];}catch{return![];}}async[a22_0xc14f1e(0x1e3)](_0x1b9d3a,_0x2143e7,_0x4470bc){return new Promise((_0x3ccb3a,_0x40e1a1)=>{const _0x434512=a22_0x2a32;let _0x508bcb;if(!_0x2143e7){_0x40e1a1(new Error(_0x434512(0x1d4)));return;}this[_0x434512(0x1b4)]['info']('Indexing\x20files\x20in\x20'+path[_0x434512(0x1e1)](_0x2143e7));const _0x10a907=findit(_0x2143e7);_0x10a907['on'](_0x434512(0x1b7),_0x11c38f=>{_0x508bcb=_0x11c38f;return;}),_0x10a907['on'](_0x434512(0x1de),(_0x38afb9,_0x2e960c,_0x537906)=>{const _0x4c8df4=_0x434512,_0x56cd94=path['basename'](_0x38afb9);!Scanner[_0x4c8df4(0x1c0)](_0x38afb9)&&(this['logger'][_0x4c8df4(0x1d6)]('can\x27t\x20access\x20path:\x20['+_0x38afb9+_0x4c8df4(0x1d9)),_0x537906()),(_0x56cd94===_0x4c8df4(0x1a9)||_0x56cd94===_0x4c8df4(0x1ae))&&(!path[_0x4c8df4(0x1e1)](_0x2143e7)[_0x4c8df4(0x1bc)](path[_0x4c8df4(0x1e1)](_0x38afb9))&&_0x537906());}),_0x10a907['on']('file',_0x101771=>{const _0x5e722b=_0x434512;_0x4470bc[_0x5e722b(0x1ca)](_0x101771)&&_0x1b9d3a[_0x5e722b(0x1dc)](_0x101771);}),_0x10a907['on'](_0x434512(0x1b1),()=>{_0x508bcb?_0x40e1a1(_0x508bcb):_0x3ccb3a();});});}async[a22_0xc14f1e(0x1b0)](_0x30e5de,_0xefb9f5){return new Promise((_0x1b0576,_0x2b68cf)=>{const _0x3fa138=a22_0x2a32,_0x499abc=fs[_0x3fa138(0x1b3)](_0x30e5de);_0x499abc['on']('error',_0x45f3b1=>{_0x2b68cf(_0x45f3b1);}),_0x499abc['on']('open',()=>{const _0x3fc569=_0x3fa138;let _0x152016;_0xefb9f5&&(_0x152016=crypto[_0x3fc569(0x1cd)](_0x3fc569(0x1c9)));let _0x3b9af8=0x0,_0x21ac82;const _0x554f51=_0x499abc[_0x3fc569(0x1da)](split());_0x554f51['on']('error',_0x519786=>{_0x21ac82=_0x519786;}),_0x554f51['on'](_0x3fc569(0x1dd),_0x471172=>{const _0x7ada18=_0x3fc569;_0xefb9f5&&_0x152016[_0x7ada18(0x1c4)](_0x471172),_0x3b9af8++;}),_0x554f51['on'](_0x3fc569(0x1b1),()=>{const _0x46bbb8=_0x3fc569;if(_0x21ac82)_0x2b68cf(_0x21ac82);else{const _0x37f999=_0xefb9f5?_0x152016[_0x46bbb8(0x1cc)](_0x46bbb8(0x1e4)):undefined;_0x1b0576({'hash':_0x37f999,'lines':_0x3b9af8});}});});});}}exports[a22_0xc14f1e(0x1d7)]=Scanner;const findit=require(a22_0xc14f1e(0x1df)),split=require(a22_0xc14f1e(0x1c7));