lightrun 1.74.0 → 1.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) 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/state/inspector-state.js +1 -1
  32. package/build/src/agent/util/debug-assert.js +1 -1
  33. package/build/src/agent/util/utils.js +1 -1
  34. package/build/src/agent/util/validator.js +1 -1
  35. package/build/src/agent/v8/debugapi.js +1 -1
  36. package/build/src/agent/v8/inspector-debugapi.js +1 -1
  37. package/build/src/agent/v8/v8inspector.js +1 -1
  38. package/build/src/client/stackdriver/debug.js +1 -1
  39. package/build/src/client/stackdriver/status-message.js +1 -1
  40. package/build/src/debuggee.js +1 -1
  41. package/build/src/gcp.js +1 -1
  42. package/build/src/index.d.ts +91 -18
  43. package/build/src/index.js +1 -1
  44. package/build/src/lambda.js +1 -1
  45. package/build/src/resources/version.txt +1 -1
  46. package/build/src/types/lightrun.js +1 -1
  47. package/build/src/types/stackdriver.js +1 -1
  48. package/build/src/types/v8.js +1 -1
  49. package/package.json +46 -32
@@ -1 +1 @@
1
- const a35_0x488d2e=a35_0xd24a;(function(_0x33d23b,_0x317d9a){const _0x26aeb9=a35_0xd24a,_0x4e7aa2=_0x33d23b();while(!![]){try{const _0x1268d2=parseInt(_0x26aeb9(0x233))/0x1+-parseInt(_0x26aeb9(0x204))/0x2+parseInt(_0x26aeb9(0x246))/0x3+parseInt(_0x26aeb9(0x211))/0x4*(-parseInt(_0x26aeb9(0x29a))/0x5)+parseInt(_0x26aeb9(0x23b))/0x6+-parseInt(_0x26aeb9(0x27d))/0x7+parseInt(_0x26aeb9(0x20b))/0x8;if(_0x1268d2===_0x317d9a)break;else _0x4e7aa2['push'](_0x4e7aa2['shift']());}catch(_0x20f274){_0x4e7aa2['push'](_0x4e7aa2['shift']());}}}(a35_0x96a4,0x6aa7f));function a35_0x96a4(){const _0x43d277=['4003286dNGPrO','length','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','hitBreakpoints','log','../util/validator.js','variableTable','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','logMessageFormat','remainingHits','callFrames','scriptMapper','lineNumberAfter:\x20','setInternal','evaluatedExpressions','\x20<<','stackFrames','debug','BreakpointData','BREAKPOINT_CONDITION','lines','UNSPECIFIED','ERROR_COMPILING_CONDITION','setBreakpointByUrl','Failed\x20to\x20evaluate\x20condition\x20','The\x20whole\x20line:\x20`','findScripts','lineNumberAfterAfter:\x20','numBreakpoints','125QivjOY','captureBreakpointData','sourcemapper','setBlocklistManager','apply','EXPRESSION_COMPILING_ERROR','version','split','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined',',\x20line\x20length:\x20','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','INVALID_LINE_NUMBER','mapInfo\x20','value','cleanupAsyncCallStackInterval','apiBreakpoint','StatusMessage','normalize','parsedCondition','INVALID_BREAKPOINT','concat','hrtime','DISALLOWED_EXPRESSION','processCondition','../../client/stackdriver/status-message','internal','V8_BREAKPOINT_CLEAR_ERROR','object','Searching\x20for\x20a\x20script\x20file:\x20','.\x20Potential\x20matches:\x20','__esModule','shouldUseWellFormattedUrl','script','platform','errors','v8BreakpointId','<10.16\x20||\x20>=11\x20<11.11','win32','Printing\x20first\x20','FileStats.\x20Lines\x20Count:\x20','locationMapper','response','1435902QRWSSy','expressionsEvalTimeoutMillis','column','removeFirstOccurrenceInArray','substring','utf-8','numListeners_','10476648CYSsGN','formatInterval','fileStats','path','Printing\x20','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','16372wiJEVN','logger','setErrorStatusAndCallback','config','breakpointMapper','location','description','keys','Creating\x20InspectorDebugApi','listener','\x20chars\x20starting\x20from\x20column\x20','v8Inspector','push','setBreakpointByUrl\x20error:\x20',':\x20`','MODULE_WRAP_PREFIX_LENGTH','LOG','breakpoints','printDebugCodeLine','file','\x20deployed\x20source.','InspectorDebugApi','inspectScriptForDebug.','removeBreakpoint','>>>breakpoint\x20hit<<<\x20number:\x20','condition','DummyBlocklistManager','includes','detach','readFileSync','handleDebugPausedEvent','isFileIndexed','applyDynamicLogsCPUQuota','Unable\x20to\x20compile\x20condition\x20>>\x20','134668LRjGAO','satisfies','onBreakpointHit','breakpointId','recovered','line','setAndStoreBreakpoint','quota','680622tpBNee','Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20','map','\x20chars\x20from\x20the\x20line:\x0a','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','listeners','`.\x20column:\x20','./debugapi','evaluate','toString','stringify','814053RsscDx','Unable\x20to\x20unambiguously\x20find\x20','enabled','getBreakpointCompiler','hash','maxHitCount','action','../blocklisting/dummy-blocklist-manager','replace','changeToNS','mappingInfo','isJavaScriptFile','\x20due\x20to\x20error:\x20','>10.11.0','constructor','VARIABLE_VALUE','disconnect','search','file://','(((.+)+)+)+$','Source\x20map\x20is\x20NOT\x20found\x20for\x20','BREAKPOINT_SOURCE_LOCATION','compile','shouldBlock','ignoreQuota','Installing\x20','SOURCE_FILE_NOT_FOUND','lineNumber','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','extname','hash:\x20','some','../util/utils','CAPTURE_BREAKPOINT_DATA','acorn','scriptId','quotaRecoverySeconds','javascriptFileExtensions','wait','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','quotaManager','expressions','ERROR_EVALUATING_CONDITION','needsRecoveryTime','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','blocklistManager','warn','.\x20Loaded\x20script\x20contained\x20','disable','error','undefined','inspectScriptForDebug','message','pipingStatus','fileIndex'];a35_0x96a4=function(){return _0x43d277;};return a35_0x96a4();}const a35_0x2307c7=(function(){let _0x5ed8c5=!![];return function(_0x3b1f6b,_0x4285b8){const _0x1b51fb=_0x5ed8c5?function(){const _0x245c21=a35_0xd24a;if(_0x4285b8){const _0x973c69=_0x4285b8[_0x245c21(0x29e)](_0x3b1f6b,arguments);return _0x4285b8=null,_0x973c69;}}:function(){};return _0x5ed8c5=![],_0x1b51fb;};}()),a35_0x4e4c5d=a35_0x2307c7(this,function(){const _0x29732e=a35_0xd24a;return a35_0x4e4c5d[_0x29732e(0x244)]()[_0x29732e(0x257)](_0x29732e(0x259))[_0x29732e(0x244)]()[_0x29732e(0x254)](a35_0x4e4c5d)['search'](_0x29732e(0x259));});function a35_0xd24a(_0x4c4e41,_0x509863){const _0x462112=a35_0x96a4();return a35_0xd24a=function(_0x4e4c5d,_0x2307c7){_0x4e4c5d=_0x4e4c5d-0x1f0;let _0x96a4cd=_0x462112[_0x4e4c5d];return _0x96a4cd;},a35_0xd24a(_0x4c4e41,_0x509863);}a35_0x4e4c5d();'use strict';Object['defineProperty'](exports,a35_0x488d2e(0x1f8),{'value':!![]}),exports[a35_0x488d2e(0x226)]=exports[a35_0x488d2e(0x28f)]=void 0x0;const acorn=require(a35_0x488d2e(0x268)),path=require(a35_0x488d2e(0x20e)),status_message_1=require(a35_0x488d2e(0x1f2)),state=require('../state/inspector-state'),utils_1=require(a35_0x488d2e(0x266)),debugapi=require(a35_0x488d2e(0x242)),v8inspector_1=require('./v8inspector'),dummy_blocklist_manager_1=require(a35_0x488d2e(0x24d)),fs_1=require('fs'),USE_MODULE_PREFIX=(0x0,utils_1['satisfies'])(process['version'],a35_0x488d2e(0x1fe));class BreakpointData{constructor(_0x180e71,_0x213dfb,_0x4c9535,_0x2252df,_0x836bad,_0x3ad4b6,_0x2cd791,_0x2d7b68){const _0x3e0ce6=a35_0x488d2e;this['id']=_0x180e71,this[_0x3e0ce6(0x2a9)]=_0x213dfb,this[_0x3e0ce6(0x2ac)]=_0x4c9535,this['locationStr']=_0x2252df,this[_0x3e0ce6(0x25c)]=_0x836bad,this[_0x3e0ce6(0x286)]=_0x3ad4b6,this[_0x3e0ce6(0x25e)]=_0x2cd791,this[_0x3e0ce6(0x27b)]=_0x2d7b68;}}exports[a35_0x488d2e(0x28f)]=BreakpointData;class InspectorDebugApi{constructor(_0x57bb3d,_0x28065c,_0x45b94c,_0x2df1af,_0x299c77){const _0x4d7e5b=a35_0x488d2e;this[_0x4d7e5b(0x222)]={},this[_0x4d7e5b(0x240)]={},this[_0x4d7e5b(0x288)]={},this[_0x4d7e5b(0x202)]={},this[_0x4d7e5b(0x215)]={},this[_0x4d7e5b(0x299)]=0x0,_0x57bb3d[_0x4d7e5b(0x28e)](_0x4d7e5b(0x219)),this[_0x4d7e5b(0x2a8)]=null,this[_0x4d7e5b(0x212)]=_0x57bb3d,this['config']=_0x28065c,this['fileIndex']=_0x45b94c,this[_0x4d7e5b(0x29c)]=_0x2df1af,this[_0x4d7e5b(0x21c)]=new v8inspector_1['V8Inspector'](_0x57bb3d,(0x0,utils_1['satisfies'])(process[_0x4d7e5b(0x2a0)],_0x4d7e5b(0x253)),this[_0x4d7e5b(0x214)]['resetV8DebuggerThreshold'],_0xf92e6a=>{const _0x5058e3=_0x4d7e5b;this[_0x5058e3(0x288)][_0xf92e6a[_0x5058e3(0x269)]]=_0xf92e6a;},_0xafcbc7=>{const _0x338650=_0x4d7e5b;try{this['handleDebugPausedEvent'](_0xafcbc7);}catch(_0x2a727a){this[_0x338650(0x212)][_0x338650(0x277)](_0x2a727a);}},()=>{this['scriptMapper']={};}),this[_0x4d7e5b(0x26e)]=_0x299c77,this[_0x4d7e5b(0x273)]=new dummy_blocklist_manager_1[(_0x4d7e5b(0x22b))](!![]);}['set'](_0x51a51e,_0x36eb4f){const _0x5c3046=a35_0x488d2e;if(!_0x51a51e||typeof _0x51a51e['id']===_0x5c3046(0x278)||!_0x51a51e[_0x5c3046(0x216)]||!_0x51a51e[_0x5c3046(0x216)]['path']||!_0x51a51e[_0x5c3046(0x216)][_0x5c3046(0x238)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x36eb4f,_0x51a51e,status_message_1[_0x5c3046(0x2aa)][_0x5c3046(0x292)],utils_1['errors'][_0x5c3046(0x2ad)]);this[_0x5c3046(0x212)][_0x5c3046(0x28e)](_0x5c3046(0x25f),_0x51a51e?.[_0x5c3046(0x24c)],_0x51a51e?.[_0x5c3046(0x216)]?.[_0x5c3046(0x20e)],_0x51a51e?.[_0x5c3046(0x216)]?.[_0x5c3046(0x238)]);const _0x280644=path[_0x5c3046(0x2ab)](_0x51a51e[_0x5c3046(0x216)]['path']);if(!this['sourcemapper']['hasMappingInfo'](_0x280644)){this[_0x5c3046(0x212)][_0x5c3046(0x28e)](_0x5c3046(0x25a),_0x280644);const _0x9cd8d9=path[_0x5c3046(0x263)](_0x280644);if(!this[_0x5c3046(0x214)][_0x5c3046(0x26b)][_0x5c3046(0x22c)](_0x9cd8d9)){const _0x5117bc=_0x280644[_0x5c3046(0x208)](0x0,_0x280644[_0x5c3046(0x27e)]-_0x9cd8d9[_0x5c3046(0x27e)]),_0xff26e4=this[_0x5c3046(0x214)]['javascriptFileExtensions'][_0x5c3046(0x23d)](_0x50a6a9=>_0x5117bc+_0x50a6a9)[_0x5c3046(0x265)](_0x44d1aa=>(0x0,utils_1[_0x5c3046(0x230)])(_0x44d1aa,this[_0x5c3046(0x27c)])),_0x238e72=_0xff26e4?utils_1[_0x5c3046(0x1fc)]['COULD_NOT_FIND_MAPPING_FILE']:utils_1[_0x5c3046(0x1fc)][_0x5c3046(0x260)];return(0x0,utils_1[_0x5c3046(0x213)])(_0x36eb4f,_0x51a51e,status_message_1[_0x5c3046(0x2aa)][_0x5c3046(0x25b)],_0x238e72);}this[_0x5c3046(0x28a)](_0x51a51e,null,null,_0x36eb4f);}else{this[_0x5c3046(0x212)]['debug']('Source\x20map\x20is\x20FOUND\x20for\x20',_0x280644);const _0x5d192f=_0x51a51e['location'][_0x5c3046(0x238)],_0x174b56=0x0,_0x5f14ff=this[_0x5c3046(0x29c)][_0x5c3046(0x250)](_0x280644,_0x5d192f,_0x174b56);this['logger'][_0x5c3046(0x28e)](_0x5c3046(0x2a6),_0x5f14ff?.[_0x5c3046(0x224)],_0x5f14ff?.['line'],_0x5f14ff?.[_0x5c3046(0x206)]);const _0x20a7c4=(0x0,utils_1[_0x5c3046(0x249)])(_0x51a51e);if(_0x51a51e[_0x5c3046(0x22a)]&&_0x20a7c4)try{_0x51a51e[_0x5c3046(0x22a)]=_0x20a7c4(_0x51a51e['condition']);}catch(_0x8eae5c){return this['logger']['warn'](_0x5c3046(0x232)+_0x51a51e['condition']+_0x5c3046(0x28c)),(0x0,utils_1[_0x5c3046(0x213)])(_0x36eb4f,_0x51a51e,status_message_1['StatusMessage'][_0x5c3046(0x290)],utils_1[_0x5c3046(0x1fc)][_0x5c3046(0x293)]);}this[_0x5c3046(0x28a)](_0x51a51e,_0x5f14ff,_0x20a7c4,_0x36eb4f);}}['clear'](_0x16ab53,_0x523680){const _0x50e2c2=a35_0x488d2e;if(typeof _0x16ab53['id']===_0x50e2c2(0x278))return this[_0x50e2c2(0x212)][_0x50e2c2(0x28e)](_0x50e2c2(0x2a2)),(0x0,utils_1[_0x50e2c2(0x213)])(_0x523680,_0x16ab53,status_message_1['StatusMessage'][_0x50e2c2(0x290)],utils_1['errors'][_0x50e2c2(0x1f4)]);const _0x524f51=this[_0x50e2c2(0x222)][_0x16ab53['id']];if(!_0x524f51)return this[_0x50e2c2(0x212)]['debug'](_0x50e2c2(0x23f)+_0x16ab53['id']),(0x0,utils_1[_0x50e2c2(0x213)])(_0x523680,_0x16ab53,status_message_1[_0x50e2c2(0x2aa)]['BREAKPOINT_CONDITION'],utils_1['errors'][_0x50e2c2(0x1f4)]);const _0x20ecc2=_0x524f51['locationStr'],_0x22504f=_0x524f51['id'];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x50e2c2(0x202)][_0x20ecc2],_0x16ab53['id']);this[_0x50e2c2(0x202)][_0x20ecc2][_0x50e2c2(0x27e)]===0x0&&delete this[_0x50e2c2(0x202)][_0x20ecc2];(0x0,utils_1[_0x50e2c2(0x207)])(this[_0x50e2c2(0x215)][_0x22504f],_0x16ab53['id']);this['breakpointMapper'][_0x22504f][_0x50e2c2(0x27e)]===0x0&&delete this[_0x50e2c2(0x215)][_0x22504f];let _0x4612a1={};!this[_0x50e2c2(0x215)][_0x524f51['id']]&&(_0x4612a1=this[_0x50e2c2(0x21c)][_0x50e2c2(0x228)](_0x524f51['id'])),delete this[_0x50e2c2(0x222)][_0x16ab53['id']],delete this[_0x50e2c2(0x240)][_0x16ab53['id']],this[_0x50e2c2(0x299)]--,setImmediate(()=>{const _0x2ff929=_0x50e2c2;_0x4612a1['error']?_0x523680(_0x4612a1[_0x2ff929(0x277)]):_0x523680(null);});}[a35_0x488d2e(0x26c)](_0x54da39,_0xa12f3f){const _0x267ac5=a35_0x488d2e,_0x435c75=this[_0x267ac5(0x235)]['bind'](this,_0x54da39,_0x4110f4=>{const _0x3d4d90=_0x267ac5,_0x464b2d=--this[_0x3d4d90(0x222)][_0x54da39['id']]['remainingHits'];(_0x464b2d<=0x0||_0x4110f4)&&(this[_0x3d4d90(0x240)][_0x54da39['id']][_0x3d4d90(0x248)]=![]),_0xa12f3f(_0x4110f4||undefined);});this[_0x267ac5(0x240)][_0x54da39['id']]={'enabled':!![],'listener':_0x435c75};}[a35_0x488d2e(0x281)](_0x5b622a,_0x379a29,_0x2f9b5d,_0x32a341){const _0x4ab2b6=a35_0x488d2e,_0x44fc06=this[_0x4ab2b6(0x235)]['bind'](this,_0x5b622a,_0x5d4419=>{const _0x414ade=_0x4ab2b6;if(_0x5d4419){this[_0x414ade(0x240)][_0x5b622a['id']][_0x414ade(0x248)]=![],setImmediate(()=>{_0x32a341(_0x5d4419||undefined);});return;}_0x379a29(_0x5b622a[_0x414ade(0x285)],_0x5b622a[_0x414ade(0x28b)]),_0x5b622a['evaluatedExpressions']=[],_0x2f9b5d()?this[_0x414ade(0x240)][_0x5b622a['id']]['enabled']=![]:this[_0x414ade(0x26e)][_0x414ade(0x271)](_0x5b622a['id'])&&(this[_0x414ade(0x240)][_0x5b622a['id']][_0x414ade(0x248)]=![],setTimeout(()=>{const _0x363e69=_0x414ade;!_0x2f9b5d()&&this[_0x363e69(0x240)][_0x5b622a['id']]&&(this[_0x363e69(0x240)][_0x5b622a['id']][_0x363e69(0x248)]=!![]),this[_0x363e69(0x26e)][_0x363e69(0x237)](_0x5b622a['id']);},this[_0x414ade(0x214)][_0x414ade(0x23a)][_0x414ade(0x26a)]*0x3e8));});this[_0x4ab2b6(0x240)][_0x5b622a['id']]={'enabled':!![],'listener':_0x44fc06};}[a35_0x488d2e(0x256)](){const _0x405a9f=a35_0x488d2e;this['v8Inspector'][_0x405a9f(0x22d)]();}['enable'](){this['v8Inspector']['enable']();}[a35_0x488d2e(0x276)](){const _0x3e2330=a35_0x488d2e;this[_0x3e2330(0x21c)][_0x3e2330(0x276)]();}['numBreakpoints_'](){const _0x18e046=a35_0x488d2e;return Object[_0x18e046(0x218)](this[_0x18e046(0x222)])[_0x18e046(0x27e)];}[a35_0x488d2e(0x20a)](){const _0x4e8d85=a35_0x488d2e;return Object[_0x4e8d85(0x218)](this['listeners'])[_0x4e8d85(0x27e)];}[a35_0x488d2e(0x286)](_0x18ee74){const _0x3e7069=a35_0x488d2e;return this['breakpoints'][_0x18ee74][_0x3e7069(0x286)];}[a35_0x488d2e(0x29d)](_0x1d3a98){this['blocklistManager']=_0x1d3a98;}[a35_0x488d2e(0x28a)](_0x2711b4,_0x49ebe0,_0x355409,_0x466fbb){const _0x2b5b95=a35_0x488d2e;let _0x559a1f=null;if(_0x2711b4[_0x2b5b95(0x22a)])try{_0x559a1f=acorn['parse'](_0x2711b4[_0x2b5b95(0x22a)],{'sourceType':_0x2b5b95(0x1fa),'ecmaVersion':0xb});const _0x15efbc=require(_0x2b5b95(0x282));if(!_0x15efbc['isValid'](_0x559a1f,![]))return(0x0,utils_1[_0x2b5b95(0x213)])(_0x466fbb,_0x2711b4,status_message_1['StatusMessage'][_0x2b5b95(0x290)],utils_1[_0x2b5b95(0x1fc)][_0x2b5b95(0x1f0)]);}catch(_0xbdd53){return(0x0,utils_1[_0x2b5b95(0x213)])(_0x466fbb,_0x2711b4,status_message_1[_0x2b5b95(0x2aa)][_0x2b5b95(0x290)],{...utils_1['errors']['SYNTAX_ERROR_IN_CONDITION'],'parameters':[_0xbdd53[_0x2b5b95(0x27a)]]});}let _0x29f1c5;const _0x1a56e6=_0x49ebe0?_0x49ebe0['file']:path[_0x2b5b95(0x2ab)](_0x2711b4['location'][_0x2b5b95(0x20e)]);this[_0x2b5b95(0x212)][_0x2b5b95(0x28e)](_0x2b5b95(0x1f6),_0x1a56e6);const _0x186582=(0x0,utils_1[_0x2b5b95(0x297)])(_0x1a56e6,this[_0x2b5b95(0x214)],this[_0x2b5b95(0x27c)],this[_0x2b5b95(0x212)]);if(_0x186582[_0x2b5b95(0x27e)]===0x0)return(0x0,utils_1[_0x2b5b95(0x213)])(_0x466fbb,_0x2711b4,status_message_1[_0x2b5b95(0x2aa)][_0x2b5b95(0x25b)],utils_1[_0x2b5b95(0x1fc)][_0x2b5b95(0x260)]);else{if(_0x186582[_0x2b5b95(0x27e)]===0x1)this['logger'][_0x2b5b95(0x28e)]('Found\x20script\x20file:\x20',_0x186582[0x0]),_0x29f1c5=_0x186582[0x0];else return this['logger'][_0x2b5b95(0x274)](_0x2b5b95(0x247)+_0x1a56e6+_0x2b5b95(0x1f7)+_0x186582),(0x0,utils_1['setErrorStatusAndCallback'])(_0x466fbb,_0x2711b4,status_message_1['StatusMessage'][_0x2b5b95(0x25b)],utils_1['errors']['SOURCE_FILE_AMBIGUOUS']);}if(this[_0x2b5b95(0x273)][_0x2b5b95(0x25d)](_0x29f1c5))return(0x0,utils_1[_0x2b5b95(0x213)])(_0x466fbb,_0x2711b4,status_message_1[_0x2b5b95(0x2aa)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x2b5b95(0x1fc)]['BREAKPOINT_PATH_BLOCKED']);let _0x1520c4=_0x49ebe0&&_0x49ebe0['column']?_0x49ebe0[_0x2b5b95(0x206)]:_0x2711b4[_0x2b5b95(0x216)][_0x2b5b95(0x206)]||0x0;const _0x218e3f=_0x49ebe0?_0x49ebe0['line']:_0x2711b4[_0x2b5b95(0x216)]['line'];USE_MODULE_PREFIX&&_0x218e3f===0x1&&(_0x1520c4+=debugapi[_0x2b5b95(0x220)]-0x1);const _0x479ab4=this[_0x2b5b95(0x27c)][_0x2b5b95(0x20d)][_0x29f1c5];this[_0x2b5b95(0x212)]['debug'](_0x2b5b95(0x201),_0x479ab4?.[_0x2b5b95(0x291)],_0x2b5b95(0x264),_0x479ab4?.[_0x2b5b95(0x24a)]);if(_0x218e3f>=_0x479ab4[_0x2b5b95(0x291)]||_0x218e3f<0x1)return(0x0,utils_1['setErrorStatusAndCallback'])(_0x466fbb,_0x2711b4,status_message_1[_0x2b5b95(0x2aa)][_0x2b5b95(0x25b)],{...utils_1[_0x2b5b95(0x1fc)][_0x2b5b95(0x2a5)],'description':utils_1[_0x2b5b95(0x1fc)][_0x2b5b95(0x2a5)][_0x2b5b95(0x217)]+_0x29f1c5+':'+_0x218e3f+_0x2b5b95(0x275)+this[_0x2b5b95(0x27c)][_0x2b5b95(0x20d)][_0x29f1c5][_0x2b5b95(0x291)]+'\x20lines.\x20Please\x20ensure'+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x2b5b95(0x225)});const _0x5010e2=this['setAndStoreBreakpoint'](_0x2711b4,_0x218e3f,_0x1520c4,_0x29f1c5);if(!_0x5010e2)return(0x0,utils_1[_0x2b5b95(0x213)])(_0x466fbb,_0x2711b4,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x2b5b95(0x1fc)]['V8_BREAKPOINT_ERROR']);this[_0x2b5b95(0x222)][_0x2711b4['id']]=new BreakpointData(_0x5010e2[_0x2b5b95(0x1fd)],_0x2711b4,_0x559a1f,_0x5010e2['locationStr'],_0x355409,_0x2711b4[_0x2b5b95(0x24b)]||0x1,_0x2711b4[_0x2b5b95(0x25e)],_0x2711b4[_0x2b5b95(0x27b)]),this[_0x2b5b95(0x299)]++,setImmediate(()=>{_0x466fbb(null);});}[a35_0x488d2e(0x239)](_0x241277,_0x36d76b,_0x5baeef,_0x421016){const _0x5a411c=a35_0x488d2e,_0x5b09d4=JSON[_0x5a411c(0x245)]({'file':_0x421016,'line':_0x36d76b,'column':_0x5baeef});let _0xd7501d;if(!this['locationMapper'][_0x5b09d4]){this[_0x5a411c(0x279)](_0x421016,_0x36d76b,_0x5baeef);const _0x54aec4=this[_0x5a411c(0x21c)][_0x5a411c(0x1f9)]()?_0x5a411c(0x258)+_0x421016:_0x421016,_0x2f15b0=process[_0x5a411c(0x1fb)]===_0x5a411c(0x1ff)&&(0x0,utils_1[_0x5a411c(0x234)])(process[_0x5a411c(0x2a0)],'>=11')?_0x54aec4[_0x5a411c(0x24e)](/^file:\/\//,'file:///')[_0x5a411c(0x24e)](/\\/g,'/'):_0x54aec4,_0x1b7fb1=this[_0x5a411c(0x21c)][_0x5a411c(0x294)]({'lineNumber':_0x36d76b-0x1,'url':encodeURI(_0x2f15b0),'columnNumber':_0x5baeef});if(_0x1b7fb1[_0x5a411c(0x277)]||!_0x1b7fb1[_0x5a411c(0x203)])return this['logger'][_0x5a411c(0x277)](_0x5a411c(0x284)+_0x2f15b0+':'+_0x36d76b+',\x20'+(_0x5a411c(0x21e)+JSON[_0x5a411c(0x245)](_0x1b7fb1[_0x5a411c(0x277)]))),null;_0xd7501d=_0x1b7fb1['response'][_0x5a411c(0x236)],this[_0x5a411c(0x212)][_0x5a411c(0x28e)](_0x5a411c(0x27f),_0xd7501d),delete this['locationMapper'][_0x5b09d4],delete this[_0x5a411c(0x215)][_0xd7501d],this[_0x5a411c(0x202)][_0x5b09d4]=[],this['breakpointMapper'][_0xd7501d]=[];}else _0xd7501d=this[_0x5a411c(0x222)][this[_0x5a411c(0x202)][_0x5b09d4][0x0]]['id'],this['logger'][_0x5a411c(0x28e)](_0x5a411c(0x23c),_0xd7501d);return this[_0x5a411c(0x202)][_0x5b09d4][_0x5a411c(0x21d)](_0x241277['id']),this[_0x5a411c(0x215)][_0xd7501d][_0x5a411c(0x21d)](_0x241277['id']),{'v8BreakpointId':_0xd7501d,'locationStr':_0x5b09d4};}[a35_0x488d2e(0x279)](_0x46418e,_0x172cf1,_0xfeee8c){const _0x468829=a35_0x488d2e;try{if(!this[_0x468829(0x214)][_0x468829(0x1f3)]['sourceMapDiagnostics'])return;const _0x399a4e=(0x0,fs_1[_0x468829(0x22e)])(_0x46418e,_0x468829(0x209)),_0x49694f=_0x399a4e[_0x468829(0x2a1)](/\r?\n/),_0x5ad85b=_0x172cf1-0x2,_0x38066b=_0x172cf1-0x1,_0x45c449=_0x172cf1;this[_0x468829(0x223)]('lineNumberBefore:\x20'+_0x5ad85b,_0x49694f[_0x5ad85b],_0xfeee8c),this[_0x468829(0x223)](_0x468829(0x289)+_0x38066b,_0x49694f[_0x38066b],_0xfeee8c),this[_0x468829(0x223)](_0x468829(0x298)+_0x45c449,_0x49694f[_0x45c449],_0xfeee8c);}catch(_0xba56fd){this[_0x468829(0x212)]['error'](_0x468829(0x227),_0xba56fd);}}[a35_0x488d2e(0x223)](_0x45edc7,_0xda0726,_0x4fc071){const _0x5b196c=a35_0x488d2e;this[_0x5b196c(0x212)][_0x5b196c(0x28e)](_0x45edc7);if(!_0xda0726){this[_0x5b196c(0x212)]['debug'](_0x5b196c(0x26d));return;}const _0x1431f0=0x12c;_0x4fc071=_0x4fc071||0x0;if(_0xda0726[_0x5b196c(0x27e)]<=_0x1431f0)this[_0x5b196c(0x212)][_0x5b196c(0x28e)](_0x5b196c(0x296)+_0xda0726+_0x5b196c(0x241)+_0x4fc071);else{if(_0xda0726[_0x5b196c(0x27e)]>_0x4fc071){const _0x5ab58f=_0xda0726['substring'](_0x4fc071,_0x1431f0);this[_0x5b196c(0x212)][_0x5b196c(0x28e)](_0x5b196c(0x20f)+_0x1431f0+_0x5b196c(0x21b)+_0x4fc071+_0x5b196c(0x21f)+_0x5ab58f+'`');}else{this[_0x5b196c(0x212)][_0x5b196c(0x28e)](_0x5b196c(0x2a4)+_0x4fc071+_0x5b196c(0x2a3)+_0xda0726[_0x5b196c(0x27e)]);const _0x3dae33=_0xda0726[_0x5b196c(0x208)](0x0,_0x1431f0);this[_0x5b196c(0x212)][_0x5b196c(0x28e)](_0x5b196c(0x200)+_0x1431f0+_0x5b196c(0x23e)+_0x3dae33);}}}[a35_0x488d2e(0x1f1)](_0x30c123,_0x3dfe5c){const _0x430d4b=a35_0x488d2e,_0x508bcd=this['config'][_0x430d4b(0x205)],_0x1ff18a=_0x30c123[_0x430d4b(0x22a)];if(_0x1ff18a){const _0x2c4413=process[_0x430d4b(0x2af)](),_0x1f770f=state[_0x430d4b(0x243)](_0x1ff18a,_0x3dfe5c,this[_0x430d4b(0x21c)],!![],_0x508bcd),_0x2fe813=process[_0x430d4b(0x2af)](_0x2c4413);if(!this[_0x430d4b(0x26e)]['ignoreQuota']){const _0x3c8717=this[_0x430d4b(0x24f)](_0x2fe813),_0x1c9887=this[_0x430d4b(0x26e)]['applyConditionQuota'](_0x3c8717,_0x30c123);if(_0x1c9887)return[undefined,_0x1c9887];}if(_0x1f770f[_0x430d4b(0x277)])return this[_0x430d4b(0x212)]['debug'](_0x430d4b(0x295)+_0x1ff18a+_0x430d4b(0x252),_0x1f770f['error']),[undefined,{...utils_1[_0x430d4b(0x1fc)]['ERROR_EVALUATING_CONDITION'],'description':(utils_1['errors'][_0x430d4b(0x270)][_0x430d4b(0x217)]||'')+_0x1f770f[_0x430d4b(0x277)]['description']}];if(!_0x1f770f[_0x430d4b(0x1f5)][_0x430d4b(0x2a7)])return this[_0x430d4b(0x212)][_0x430d4b(0x28e)]('condition\x20'+_0x1ff18a+_0x430d4b(0x262)),[![],undefined];}return[!![],undefined];}[a35_0x488d2e(0x235)](_0x4fa932,_0x5e6ba3,_0x1f6a6b){const _0x5790a1=a35_0x488d2e,[_0x4d4136,_0x276d96]=this[_0x5790a1(0x1f1)](_0x4fa932,_0x1f6a6b[0x0]);if(_0x276d96!==undefined){(0x0,utils_1[_0x5790a1(0x213)])(_0x5e6ba3,_0x4fa932,status_message_1[_0x5790a1(0x2aa)][_0x5790a1(0x290)],_0x276d96);return;}if(_0x4d4136===![])return;const _0x3c9086=process[_0x5790a1(0x2af)]();try{this[_0x5790a1(0x29b)](_0x4fa932,_0x1f6a6b);}catch(_0x52556a){return(0x0,utils_1[_0x5790a1(0x213)])(_0x5e6ba3,_0x4fa932,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x5790a1(0x1fc)][_0x5790a1(0x267)]+_0x52556a);}const _0x12794f=process['hrtime'](_0x3c9086),_0x3f29b6=this[_0x5790a1(0x24f)](_0x12794f);this['quotaManager'][_0x5790a1(0x231)](_0x4fa932['id'],_0x3f29b6),this[_0x5790a1(0x212)][_0x5790a1(0x28e)]((0x0,utils_1[_0x5790a1(0x20c)])('capture\x20time:\x20',_0x12794f)),_0x5e6ba3(null);}[a35_0x488d2e(0x29b)](_0x265f98,_0xe47b41){const _0x32ae26=a35_0x488d2e,_0x7113f=[],_0x59cd66=this;if(_0x265f98['expressions']&&this[_0x32ae26(0x222)][_0x265f98['id']][_0x32ae26(0x25c)])for(let _0x215396=0x0;_0x215396<_0x265f98[_0x32ae26(0x26f)][_0x32ae26(0x27e)];_0x215396++){try{_0x265f98['expressions'][_0x215396]=this[_0x32ae26(0x222)][_0x265f98['id']][_0x32ae26(0x25c)](_0x265f98[_0x32ae26(0x26f)][_0x215396]);}catch(_0x5d38d8){this[_0x32ae26(0x212)][_0x32ae26(0x274)](_0x32ae26(0x210)+_0x265f98[_0x32ae26(0x26f)][_0x215396]+_0x32ae26(0x28c)),_0x7113f[_0x32ae26(0x21d)]({'name':_0x265f98['expressions'][_0x215396],'status':new status_message_1[(_0x32ae26(0x2aa))](status_message_1[_0x32ae26(0x2aa)][_0x32ae26(0x255)],utils_1['errors'][_0x32ae26(0x29f)],!![])}),_0x265f98[_0x32ae26(0x26f)]['splice'](_0x215396,0x1),_0x215396--;}}if(_0x265f98[_0x32ae26(0x24c)]===_0x32ae26(0x221)){if(!_0x265f98[_0x32ae26(0x26f)])_0x265f98[_0x32ae26(0x28b)]=[];else{const _0x351002=_0xe47b41[0x0];_0x265f98[_0x32ae26(0x28b)]=_0x265f98[_0x32ae26(0x26f)]['map'](_0x3c075c=>{const _0x4ace70=_0x32ae26,_0x383db3=state[_0x4ace70(0x243)](_0x3c075c,_0x351002,_0x59cd66[_0x4ace70(0x21c)],!![],this[_0x4ace70(0x214)][_0x4ace70(0x205)]);return _0x383db3[_0x4ace70(0x277)]?_0x383db3['error']:_0x383db3[_0x4ace70(0x1f5)][_0x4ace70(0x2a7)];});}}else{const _0x3b9bb3=state['capture'](_0xe47b41,_0x265f98,this['config'],this[_0x32ae26(0x288)],this[_0x32ae26(0x21c)],this[_0x32ae26(0x273)]);_0x265f98[_0x32ae26(0x216)]&&(0x0,utils_1[_0x32ae26(0x251)])(_0x265f98[_0x32ae26(0x216)]['path'])&&(_0x265f98['location'][_0x32ae26(0x238)]=_0xe47b41[0x0][_0x32ae26(0x216)][_0x32ae26(0x261)]+0x1),_0x265f98['stackFrames']=_0x3b9bb3[_0x32ae26(0x28d)],_0x265f98['variableTable']=_0x3b9bb3[_0x32ae26(0x283)],_0x265f98[_0x32ae26(0x28b)]=_0x7113f[_0x32ae26(0x2ae)](_0x3b9bb3[_0x32ae26(0x28b)]);}}[a35_0x488d2e(0x22f)](_0xf82bdf){const _0x487a4f=a35_0x488d2e;try{if(!_0xf82bdf[_0x487a4f(0x280)])return;const _0x45c759=_0xf82bdf[_0x487a4f(0x280)][0x0],_0x5781b1=this['breakpointMapper'][_0x45c759];if(!_0x5781b1)return;_0x5781b1['forEach'](_0x266501=>{const _0x35f7c4=_0x487a4f;this[_0x35f7c4(0x240)][_0x266501][_0x35f7c4(0x248)]&&(this[_0x35f7c4(0x212)][_0x35f7c4(0x28e)](_0x35f7c4(0x229)+_0x266501),this[_0x35f7c4(0x240)][_0x266501][_0x35f7c4(0x21a)](_0xf82bdf[_0x35f7c4(0x287)]));});}catch(_0x587eb9){this['logger'][_0x487a4f(0x274)](_0x487a4f(0x272)+_0x587eb9);}}['changeToNS'](_0x36a1bc){return _0x36a1bc[0x0]*0x3b9aca00+_0x36a1bc[0x1];}}exports[a35_0x488d2e(0x226)]=InspectorDebugApi;
1
+ const a35_0x294713=a35_0x3451;(function(_0x4f2080,_0x38fd02){const _0x1cb5da=a35_0x3451,_0x5c9e05=_0x4f2080();while(!![]){try{const _0x34b8a9=-parseInt(_0x1cb5da(0x276))/0x1*(parseInt(_0x1cb5da(0x213))/0x2)+-parseInt(_0x1cb5da(0x1ed))/0x3*(-parseInt(_0x1cb5da(0x27a))/0x4)+-parseInt(_0x1cb5da(0x1f2))/0x5*(parseInt(_0x1cb5da(0x27d))/0x6)+parseInt(_0x1cb5da(0x244))/0x7*(-parseInt(_0x1cb5da(0x211))/0x8)+parseInt(_0x1cb5da(0x201))/0x9*(parseInt(_0x1cb5da(0x290))/0xa)+-parseInt(_0x1cb5da(0x269))/0xb*(parseInt(_0x1cb5da(0x219))/0xc)+parseInt(_0x1cb5da(0x216))/0xd;if(_0x34b8a9===_0x38fd02)break;else _0x5c9e05['push'](_0x5c9e05['shift']());}catch(_0xb9bd6a){_0x5c9e05['push'](_0x5c9e05['shift']());}}}(a35_0x4717,0x3f49e));const a35_0x49dacd=(function(){let _0x101794=!![];return function(_0x181ec4,_0x2cc11b){const _0x43b8c7=_0x101794?function(){const _0x32d0de=a35_0x3451;if(_0x2cc11b){const _0x3b69b9=_0x2cc11b[_0x32d0de(0x21b)](_0x181ec4,arguments);return _0x2cc11b=null,_0x3b69b9;}}:function(){};return _0x101794=![],_0x43b8c7;};}()),a35_0x53da5c=a35_0x49dacd(this,function(){const _0x1d2854=a35_0x3451;return a35_0x53da5c[_0x1d2854(0x26d)]()[_0x1d2854(0x256)]('(((.+)+)+)+$')['toString']()[_0x1d2854(0x25e)](a35_0x53da5c)[_0x1d2854(0x256)]('(((.+)+)+)+$');});a35_0x53da5c();'use strict';function a35_0x4717(){const _0x2d1f9b=['processCondition','maxHitCount','compile','setInternal','stringify','needsRecoveryTime','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','forEach',',\x20line\x20length:\x20','cleanupAsyncCallStackInterval','some','../util/validator.js','keys','expressionsEvalTimeoutMillis','changeToNS','search','enable','CAPTURE_BREAKPOINT_DATA','v8BreakpointId','SOURCE_FILE_NOT_FOUND','getBreakpointCompiler','../util/utils','findScripts','constructor','capture','removeBreakpoint','wait','javascriptFileExtensions','file','message','StatusMessage','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','script','fileStats','2777863iGUToq','BREAKPOINT_CONDITION','lineNumberAfter:\x20','utf-8','toString','response','.\x20Loaded\x20script\x20contained\x20','map','./v8inspector','Printing\x20','\x20chars\x20starting\x20from\x20column\x20','mappingInfo','platform','334527PdSBst','setAndStoreBreakpoint','expressions','setBreakpointByUrl','4JHlLtg',':\x20`','logMessageFormat','6fAJSYi','Unable\x20to\x20unambiguously\x20find\x20','substring','LOG','extname','acorn','../blocklisting/dummy-blocklist-manager','VARIABLE_VALUE','defineProperty','isFileIndexed','fileIndex','DISALLOWED_EXPRESSION','action','Failed\x20to\x20evaluate\x20condition\x20','Found\x20script\x20file:\x20','numBreakpoints','parse','win32','printDebugCodeLine','11330RLScQz','replace','push','quota','evaluate','condition\x20','Creating\x20InspectorDebugApi','numBreakpoints_','Source\x20map\x20is\x20FOUND\x20for\x20','applyDynamicLogsCPUQuota','hasMappingInfo','applyConditionQuota','SYNTAX_ERROR_IN_CONDITION','errors','SOURCE_FILE_AMBIGUOUS','1081794WmlyPU','warn','BREAKPOINT_PATH_BLOCKED','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','listener','1879115AofsQX','UNSPECIFIED','split','callFrames','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','length','listeners','hrtime','evaluatedExpressions','recovered','condition','disable','pipingStatus','error','BREAKPOINT_SOURCE_LOCATION','3789uDXNXg','normalize','Searching\x20for\x20a\x20script\x20file:\x20','onBreakpointHit','logger','ERROR_EVALUATING_CONDITION','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined','sourcemapper','V8_BREAKPOINT_CLEAR_ERROR','Unable\x20to\x20compile\x20condition\x20>>\x20','blocklistManager','v8Inspector','>>>breakpoint\x20hit<<<\x20number:\x20','hash','detach','location','2713112IsWGGR','\x20<<','2dSSqyp','locationMapper','column','9407593zrcgIy','set','capture\x20time:\x20','12ZLUHPh','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','apply','\x20chars\x20from\x20the\x20line:\x0a','InspectorDebugApi','value','../state/inspector-state','breakpoints','file:///','BreakpointData','config','scriptMapper','breakpointMapper','remainingHits','apiBreakpoint','breakpointId','object','description','path','Installing\x20','isValid','../../client/stackdriver/status-message','INVALID_BREAKPOINT','locationStr','The\x20whole\x20line:\x20`','V8_BREAKPOINT_ERROR','stackFrames','line','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','quotaManager','file://','hitBreakpoints','undefined','debug','handleDebugPausedEvent','info','setErrorStatusAndCallback','captureBreakpointData','setBlocklistManager','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','shouldBlock','lines','enabled','7LVZceU','lineNumberAfterAfter:\x20','\x20lines.\x20Please\x20ensure\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the\x20deployed\x20source.'];a35_0x4717=function(){return _0x2d1f9b;};return a35_0x4717();}function a35_0x3451(_0x7dcad0,_0x1b9344){const _0x41b779=a35_0x4717();return a35_0x3451=function(_0x53da5c,_0x49dacd){_0x53da5c=_0x53da5c-0x1eb;let _0x471762=_0x41b779[_0x53da5c];return _0x471762;},a35_0x3451(_0x7dcad0,_0x1b9344);}Object[a35_0x294713(0x285)](exports,'__esModule',{'value':!![]}),exports[a35_0x294713(0x21d)]=exports[a35_0x294713(0x222)]=void 0x0;const acorn=require(a35_0x294713(0x282)),path=require('path'),status_message_1=require(a35_0x294713(0x22e)),state=require(a35_0x294713(0x21f)),utils_1=require(a35_0x294713(0x25c)),v8inspector_1=require(a35_0x294713(0x271)),dummy_blocklist_manager_1=require(a35_0x294713(0x283)),fs_1=require('fs');class BreakpointData{constructor(_0x477dfc,_0x486df1,_0xe7909,_0x591eaa,_0x445a19,_0x7a0f40,_0x1bfc92,_0x233d39){const _0x128d8a=a35_0x294713;this['id']=_0x477dfc,this[_0x128d8a(0x227)]=_0x486df1,this['parsedCondition']=_0xe7909,this['locationStr']=_0x591eaa,this['compile']=_0x445a19,this['remainingHits']=_0x7a0f40,this['ignoreQuota']=_0x1bfc92,this[_0x128d8a(0x1fe)]=_0x233d39;}}exports[a35_0x294713(0x222)]=BreakpointData;class InspectorDebugApi{constructor(_0x13100c,_0x59ce92,_0x1a282e,_0x715bd4,_0x55cf60){const _0x20a009=a35_0x294713;this[_0x20a009(0x220)]={},this['listeners']={},this['scriptMapper']={},this[_0x20a009(0x214)]={},this[_0x20a009(0x225)]={},this[_0x20a009(0x28c)]=0x0,_0x13100c[_0x20a009(0x23a)](_0x20a009(0x296)),this[_0x20a009(0x250)]=null,this[_0x20a009(0x205)]=_0x13100c,this[_0x20a009(0x223)]=_0x59ce92,this[_0x20a009(0x287)]=_0x1a282e,this[_0x20a009(0x208)]=_0x715bd4,this[_0x20a009(0x20c)]=new v8inspector_1['V8Inspector'](_0x13100c,!![],this[_0x20a009(0x223)]['resetV8DebuggerThreshold'],_0x14787a=>{const _0x4e04e0=_0x20a009;this[_0x4e04e0(0x224)][_0x14787a['scriptId']]=_0x14787a;},_0x5c3761=>{const _0x17efaa=_0x20a009;try{this['handleDebugPausedEvent'](_0x5c3761);}catch(_0x32b150){this[_0x17efaa(0x205)]['error'](_0x32b150);}},()=>{this['scriptMapper']={};}),this[_0x20a009(0x236)]=_0x55cf60,this[_0x20a009(0x20b)]=new dummy_blocklist_manager_1['DummyBlocklistManager'](!![]);}[a35_0x294713(0x217)](_0x36e9f8,_0x1b7abb){const _0x2b2e56=a35_0x294713;if(typeof _0x36e9f8?.['id']==='undefined'||!_0x36e9f8[_0x2b2e56(0x210)]?.[_0x2b2e56(0x22b)]||!_0x36e9f8['location'][_0x2b2e56(0x234)])return(0x0,utils_1[_0x2b2e56(0x23d)])(_0x1b7abb,_0x36e9f8,status_message_1[_0x2b2e56(0x265)][_0x2b2e56(0x1f3)],utils_1[_0x2b2e56(0x1eb)][_0x2b2e56(0x22f)]);this[_0x2b2e56(0x205)]['debug'](_0x2b2e56(0x22c),_0x36e9f8?.['action'],_0x36e9f8?.[_0x2b2e56(0x210)]?.[_0x2b2e56(0x22b)],_0x36e9f8?.[_0x2b2e56(0x210)]?.[_0x2b2e56(0x234)]);const _0x1d3132=path[_0x2b2e56(0x202)](_0x36e9f8[_0x2b2e56(0x210)][_0x2b2e56(0x22b)]);if(!this[_0x2b2e56(0x208)][_0x2b2e56(0x29a)](_0x1d3132)){this[_0x2b2e56(0x205)][_0x2b2e56(0x23c)]('Source\x20map\x20is\x20NOT\x20found\x20for\x20',_0x1d3132);const _0x2f398b=path[_0x2b2e56(0x281)](_0x1d3132);if(!this['config'][_0x2b2e56(0x262)]['includes'](_0x2f398b)){const _0x323dab=_0x1d3132['substring'](0x0,_0x1d3132[_0x2b2e56(0x1f7)]-_0x2f398b[_0x2b2e56(0x1f7)]),_0x175871=this[_0x2b2e56(0x223)][_0x2b2e56(0x262)][_0x2b2e56(0x270)](_0x470770=>_0x323dab+_0x470770)[_0x2b2e56(0x251)](_0x2d3572=>(0x0,utils_1[_0x2b2e56(0x286)])(_0x2d3572,this[_0x2b2e56(0x287)])),_0x30f716=_0x175871?utils_1['errors']['COULD_NOT_FIND_MAPPING_FILE']:utils_1[_0x2b2e56(0x1eb)][_0x2b2e56(0x25a)];return(0x0,utils_1[_0x2b2e56(0x23d)])(_0x1b7abb,_0x36e9f8,status_message_1['StatusMessage'][_0x2b2e56(0x200)],_0x30f716);}this[_0x2b2e56(0x24a)](_0x36e9f8,null,null,_0x1b7abb);}else{this[_0x2b2e56(0x205)]['info'](_0x2b2e56(0x298),_0x1d3132);const {line:_0x338ff6}=_0x36e9f8[_0x2b2e56(0x210)],_0x77bdf=0x0,_0x51f12a=this[_0x2b2e56(0x208)][_0x2b2e56(0x274)](_0x1d3132,_0x338ff6,_0x77bdf);this['logger']['debug']('mapInfo\x20',_0x51f12a?.[_0x2b2e56(0x263)],_0x51f12a?.['line'],_0x51f12a?.[_0x2b2e56(0x215)]);const _0x1eb0ca=(0x0,utils_1[_0x2b2e56(0x25b)])(_0x36e9f8);if(_0x36e9f8[_0x2b2e56(0x1fc)]&&_0x1eb0ca)try{_0x36e9f8[_0x2b2e56(0x1fc)]=_0x1eb0ca(_0x36e9f8['condition']);}catch{return this[_0x2b2e56(0x205)][_0x2b2e56(0x1ee)](_0x2b2e56(0x20a)+_0x36e9f8['condition']+_0x2b2e56(0x212)),(0x0,utils_1['setErrorStatusAndCallback'])(_0x1b7abb,_0x36e9f8,status_message_1[_0x2b2e56(0x265)]['BREAKPOINT_CONDITION'],utils_1[_0x2b2e56(0x1eb)]['ERROR_COMPILING_CONDITION']);}this['setInternal'](_0x36e9f8,_0x51f12a,_0x1eb0ca,_0x1b7abb);}}['clear'](_0x34b3cc,_0xee5436){const _0x10bc15=a35_0x294713;if(typeof _0x34b3cc['id']===_0x10bc15(0x239))return this[_0x10bc15(0x205)][_0x10bc15(0x23a)](_0x10bc15(0x207)),(0x0,utils_1[_0x10bc15(0x23d)])(_0xee5436,_0x34b3cc,status_message_1[_0x10bc15(0x265)][_0x10bc15(0x26a)],utils_1[_0x10bc15(0x1eb)][_0x10bc15(0x209)]);const _0x5e742c=this[_0x10bc15(0x220)][_0x34b3cc['id']];if(!_0x5e742c)return this[_0x10bc15(0x205)][_0x10bc15(0x23a)](_0x10bc15(0x24d)+_0x34b3cc['id']),(0x0,utils_1[_0x10bc15(0x23d)])(_0xee5436,_0x34b3cc,status_message_1[_0x10bc15(0x265)][_0x10bc15(0x26a)],utils_1['errors'][_0x10bc15(0x209)]);const {locationStr:_0x48bdf3}=_0x5e742c,_0xde691c=_0x5e742c['id'];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x10bc15(0x214)][_0x48bdf3],_0x34b3cc['id']);this[_0x10bc15(0x214)][_0x48bdf3]['length']===0x0&&delete this[_0x10bc15(0x214)][_0x48bdf3];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x10bc15(0x225)][_0xde691c],_0x34b3cc['id']);this[_0x10bc15(0x225)][_0xde691c][_0x10bc15(0x1f7)]===0x0&&delete this[_0x10bc15(0x225)][_0xde691c];let _0x2b4292={};!this[_0x10bc15(0x225)][_0x5e742c['id']]&&(_0x2b4292=this[_0x10bc15(0x20c)][_0x10bc15(0x260)](_0x5e742c['id'])),delete this[_0x10bc15(0x220)][_0x34b3cc['id']],delete this[_0x10bc15(0x1f8)][_0x34b3cc['id']],this[_0x10bc15(0x28c)]--,setImmediate(()=>{const _0x1c3eaf=_0x10bc15;_0x2b4292['error']?_0xee5436(_0x2b4292[_0x1c3eaf(0x1ff)]):_0xee5436(null);});}[a35_0x294713(0x261)](_0x6adf1d,_0x478427){const _0x47a1e8=a35_0x294713,_0x5a1004=this[_0x47a1e8(0x204)]['bind'](this,_0x6adf1d,_0x518cae=>{const _0x1d539b=_0x47a1e8,_0x252be5=--this['breakpoints'][_0x6adf1d['id']][_0x1d539b(0x226)];(_0x252be5<=0x0||_0x518cae)&&(this[_0x1d539b(0x1f8)][_0x6adf1d['id']][_0x1d539b(0x243)]=![]),_0x478427(_0x518cae??undefined);});this[_0x47a1e8(0x1f8)][_0x6adf1d['id']]={'enabled':!![],'listener':_0x5a1004};}['log'](_0x417ecd,_0x1c1033,_0xa64b0b,_0x3328c4){const _0x2861d9=a35_0x294713,_0x5bbbe6=this[_0x2861d9(0x204)]['bind'](this,_0x417ecd,_0x2cc1f1=>{const _0x381b45=_0x2861d9;if(_0x2cc1f1){this[_0x381b45(0x1f8)][_0x417ecd['id']][_0x381b45(0x243)]=![],setImmediate(()=>{_0x3328c4(_0x2cc1f1||undefined);});return;}_0x1c1033(_0x417ecd[_0x381b45(0x27c)],_0x417ecd[_0x381b45(0x1fa)]),_0x417ecd['evaluatedExpressions']=[],_0xa64b0b()?this[_0x381b45(0x1f8)][_0x417ecd['id']][_0x381b45(0x243)]=![]:this['quotaManager'][_0x381b45(0x24c)](_0x417ecd['id'])&&(this['listeners'][_0x417ecd['id']][_0x381b45(0x243)]=![],setTimeout(()=>{const _0x1b8d81=_0x381b45;!_0xa64b0b()&&this[_0x1b8d81(0x1f8)][_0x417ecd['id']]&&(this[_0x1b8d81(0x1f8)][_0x417ecd['id']][_0x1b8d81(0x243)]=!![]),this['quotaManager'][_0x1b8d81(0x1fb)](_0x417ecd['id']);},this['config'][_0x381b45(0x293)]['quotaRecoverySeconds']*0x3e8));});this['listeners'][_0x417ecd['id']]={'enabled':!![],'listener':_0x5bbbe6};}['disconnect'](){const _0x3bf8ee=a35_0x294713;this[_0x3bf8ee(0x20c)][_0x3bf8ee(0x20f)]();}['enable'](){const _0xafabde=a35_0x294713;this[_0xafabde(0x20c)][_0xafabde(0x257)]();}['disable'](){const _0x208d65=a35_0x294713;this[_0x208d65(0x20c)][_0x208d65(0x1fd)]();}[a35_0x294713(0x297)](){const _0x45a0a8=a35_0x294713;return Object['keys'](this[_0x45a0a8(0x220)])['length'];}['numListeners_'](){const _0x716c22=a35_0x294713;return Object[_0x716c22(0x253)](this['listeners'])[_0x716c22(0x1f7)];}[a35_0x294713(0x226)](_0x48ff0e){const _0x5551a7=a35_0x294713;return this[_0x5551a7(0x220)][_0x48ff0e][_0x5551a7(0x226)];}[a35_0x294713(0x23f)](_0x33301a){this['blocklistManager']=_0x33301a;}[a35_0x294713(0x24a)](_0x2d5dbb,_0x3a10db,_0x4ab7e5,_0x404f16){const _0x1b811d=a35_0x294713;let _0x541c9c=null;if(_0x2d5dbb[_0x1b811d(0x1fc)])try{_0x541c9c=acorn[_0x1b811d(0x28d)](_0x2d5dbb['condition'],{'sourceType':_0x1b811d(0x267),'ecmaVersion':0xb});const _0x513658=require(_0x1b811d(0x252));if(!_0x513658[_0x1b811d(0x22d)](_0x541c9c,![]))return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)]['BREAKPOINT_CONDITION'],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x288)]);}catch(_0x12bf6b){return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1['StatusMessage'][_0x1b811d(0x26a)],{...utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x29c)],'parameters':[_0x12bf6b[_0x1b811d(0x264)]]});}let _0x5d846a;const _0x18c1d3=_0x3a10db?_0x3a10db[_0x1b811d(0x263)]:path['normalize'](_0x2d5dbb[_0x1b811d(0x210)]['path']);this[_0x1b811d(0x205)][_0x1b811d(0x23a)](_0x1b811d(0x203),_0x18c1d3);const _0x37af32=(0x0,utils_1[_0x1b811d(0x25d)])(_0x18c1d3,this[_0x1b811d(0x223)],this['fileIndex'],this[_0x1b811d(0x205)]);if(_0x37af32[_0x1b811d(0x1f7)]===0x0)return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1['StatusMessage'][_0x1b811d(0x200)],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x25a)]);else{if(_0x37af32[_0x1b811d(0x1f7)]===0x1)this['logger'][_0x1b811d(0x23a)](_0x1b811d(0x28b),_0x37af32[0x0]),[_0x5d846a]=_0x37af32;else return this['logger'][_0x1b811d(0x1ee)](_0x1b811d(0x27e)+_0x18c1d3+'.\x20Potential\x20matches:\x20'+_0x37af32),(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)][_0x1b811d(0x200)],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x1ec)]);}if(this[_0x1b811d(0x20b)][_0x1b811d(0x241)](_0x5d846a))return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)][_0x1b811d(0x200)],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x1ef)]);const _0x58708c=_0x3a10db?.[_0x1b811d(0x215)]??_0x2d5dbb[_0x1b811d(0x210)][_0x1b811d(0x215)]??0x0,_0x3c86b2=_0x3a10db?_0x3a10db[_0x1b811d(0x234)]:_0x2d5dbb[_0x1b811d(0x210)][_0x1b811d(0x234)],_0x55ed02=this[_0x1b811d(0x287)][_0x1b811d(0x268)][_0x5d846a];this[_0x1b811d(0x205)][_0x1b811d(0x23a)]('FileStats.\x20Lines\x20Count:\x20',_0x55ed02?.[_0x1b811d(0x242)],'hash:\x20',_0x55ed02?.[_0x1b811d(0x20e)]);if(_0x3c86b2>=_0x55ed02['lines']||_0x3c86b2<0x1){const _0x50d6d6=utils_1[_0x1b811d(0x1eb)]['INVALID_LINE_NUMBER'][_0x1b811d(0x22a)]+_0x5d846a,{lines:_0x42ad3d}=this[_0x1b811d(0x287)][_0x1b811d(0x268)][_0x5d846a];return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)][_0x1b811d(0x200)],{...utils_1[_0x1b811d(0x1eb)]['INVALID_LINE_NUMBER'],'description':_0x50d6d6+':'+_0x3c86b2+_0x1b811d(0x26f)+_0x42ad3d+_0x1b811d(0x246)});}const _0x329909=this[_0x1b811d(0x277)](_0x2d5dbb,_0x3c86b2,_0x58708c,_0x5d846a);if(!_0x329909)return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors'][_0x1b811d(0x232)]);this[_0x1b811d(0x220)][_0x2d5dbb['id']]=new BreakpointData(_0x329909[_0x1b811d(0x259)],_0x2d5dbb,_0x541c9c,_0x329909[_0x1b811d(0x230)],_0x4ab7e5,_0x2d5dbb[_0x1b811d(0x248)]||0x1,_0x2d5dbb['ignoreQuota'],_0x2d5dbb['pipingStatus']),this[_0x1b811d(0x28c)]++,setImmediate(()=>{_0x404f16(null);});}[a35_0x294713(0x277)](_0x2148d3,_0x2703a8,_0x4f65ec,_0x39762a){const _0x48ef67=a35_0x294713,_0x114d46=JSON['stringify']({'file':_0x39762a,'line':_0x2703a8,'column':_0x4f65ec});let _0x31f841;if(!this['locationMapper'][_0x114d46]){this['inspectScriptForDebug'](_0x39762a,_0x2703a8,_0x4f65ec);const _0x568d8d=this[_0x48ef67(0x20c)]['shouldUseWellFormattedUrl']()?_0x48ef67(0x237)+_0x39762a:_0x39762a,_0x236f34=process[_0x48ef67(0x275)]===_0x48ef67(0x28e)?_0x568d8d[_0x48ef67(0x291)](/^file:\/\//,_0x48ef67(0x221))[_0x48ef67(0x291)](/\\/g,'/'):_0x568d8d,_0x4145c7=this[_0x48ef67(0x20c)][_0x48ef67(0x279)]({'lineNumber':_0x2703a8-0x1,'url':encodeURI(_0x236f34),'columnNumber':_0x4f65ec});if(_0x4145c7[_0x48ef67(0x1ff)]||!_0x4145c7[_0x48ef67(0x26e)])return this['logger'][_0x48ef67(0x1ff)](_0x48ef67(0x240)+_0x236f34+':'+_0x2703a8+',\x20'+('setBreakpointByUrl\x20error:\x20'+JSON[_0x48ef67(0x24b)](_0x4145c7[_0x48ef67(0x1ff)]))),null;_0x31f841=_0x4145c7['response'][_0x48ef67(0x228)],this[_0x48ef67(0x205)][_0x48ef67(0x23c)](_0x48ef67(0x1f0),_0x31f841),delete this['locationMapper'][_0x114d46],delete this[_0x48ef67(0x225)][_0x31f841],this[_0x48ef67(0x214)][_0x114d46]=[],this[_0x48ef67(0x225)][_0x31f841]=[];}else _0x31f841=this[_0x48ef67(0x220)][this[_0x48ef67(0x214)][_0x114d46][0x0]]['id'],this[_0x48ef67(0x205)][_0x48ef67(0x23c)]('Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20',_0x31f841);return this[_0x48ef67(0x214)][_0x114d46]['push'](_0x2148d3['id']),this['breakpointMapper'][_0x31f841][_0x48ef67(0x292)](_0x2148d3['id']),{'v8BreakpointId':_0x31f841,'locationStr':_0x114d46};}['inspectScriptForDebug'](_0x179bea,_0x6df6ac,_0x392a23){const _0x18facf=a35_0x294713;try{if(!this[_0x18facf(0x223)]['internal']['sourceMapDiagnostics'])return;const _0x49b526=(0x0,fs_1['readFileSync'])(_0x179bea,_0x18facf(0x26c)),_0x24cc2e=_0x49b526[_0x18facf(0x1f4)](/\r?\n/),_0x59c4eb=_0x6df6ac-0x2,_0x5b22c1=_0x6df6ac-0x1,_0x431112=_0x6df6ac;this[_0x18facf(0x28f)]('lineNumberBefore:\x20'+_0x59c4eb,_0x24cc2e[_0x59c4eb],_0x392a23),this[_0x18facf(0x28f)](_0x18facf(0x26b)+_0x5b22c1,_0x24cc2e[_0x5b22c1],_0x392a23),this['printDebugCodeLine'](_0x18facf(0x245)+_0x431112,_0x24cc2e[_0x431112],_0x392a23);}catch(_0x431337){this['logger']['error']('inspectScriptForDebug.',_0x431337);}}[a35_0x294713(0x28f)](_0x430331,_0x55ddb0,_0x182be8){const _0x1cf725=a35_0x294713;this[_0x1cf725(0x205)][_0x1cf725(0x23a)](_0x430331);if(!_0x55ddb0){this['logger'][_0x1cf725(0x23a)](_0x1cf725(0x1f6));return;}const _0x5c1fd5=0x12c;_0x182be8=_0x182be8||0x0;if(_0x55ddb0[_0x1cf725(0x1f7)]<=_0x5c1fd5)this[_0x1cf725(0x205)]['debug'](_0x1cf725(0x231)+_0x55ddb0+'`.\x20column:\x20'+_0x182be8);else{if(_0x55ddb0[_0x1cf725(0x1f7)]>_0x182be8){const _0x278459=_0x55ddb0[_0x1cf725(0x27f)](_0x182be8,_0x5c1fd5);this[_0x1cf725(0x205)]['debug'](_0x1cf725(0x272)+_0x5c1fd5+_0x1cf725(0x273)+_0x182be8+_0x1cf725(0x27b)+_0x278459+'`');}else{this['logger']['debug'](_0x1cf725(0x266)+_0x182be8+_0x1cf725(0x24f)+_0x55ddb0[_0x1cf725(0x1f7)]);const _0x24eb63=_0x55ddb0[_0x1cf725(0x27f)](0x0,_0x5c1fd5);this[_0x1cf725(0x205)][_0x1cf725(0x23a)]('Printing\x20first\x20'+_0x5c1fd5+_0x1cf725(0x21c)+_0x24eb63);}}}[a35_0x294713(0x247)](_0x55b76f,_0x435b0d){const _0x44d42d=a35_0x294713,_0x434e00=this[_0x44d42d(0x223)][_0x44d42d(0x254)],{condition:_0x17390c}=_0x55b76f;if(_0x17390c){const _0x314bab=process[_0x44d42d(0x1f9)](),_0x5c977e=state[_0x44d42d(0x294)](_0x17390c,_0x435b0d,this[_0x44d42d(0x20c)],!![],_0x434e00),_0x1e8fd9=process[_0x44d42d(0x1f9)](_0x314bab);if(!this['quotaManager']['ignoreQuota']){const _0x100853=this[_0x44d42d(0x255)](_0x1e8fd9),_0x93eace=this[_0x44d42d(0x236)][_0x44d42d(0x29b)](_0x100853,_0x55b76f);if(_0x93eace)return[undefined,_0x93eace];}if(_0x5c977e[_0x44d42d(0x1ff)])return this[_0x44d42d(0x205)][_0x44d42d(0x23a)](_0x44d42d(0x28a)+_0x17390c+'\x20due\x20to\x20error:\x20',_0x5c977e['error']),[undefined,{...utils_1[_0x44d42d(0x1eb)][_0x44d42d(0x206)],'description':(utils_1[_0x44d42d(0x1eb)][_0x44d42d(0x206)]['description']??'')+_0x5c977e[_0x44d42d(0x1ff)]['description']}];if(!_0x5c977e[_0x44d42d(0x229)]['value'])return this[_0x44d42d(0x205)][_0x44d42d(0x23a)](_0x44d42d(0x295)+_0x17390c+'\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint'),[![],undefined];}return[!![],undefined];}['onBreakpointHit'](_0x3eff27,_0x5a1a3f,_0x4f3236){const _0x104afd=a35_0x294713,[_0x1ea824,_0x52454d]=this['processCondition'](_0x3eff27,_0x4f3236[0x0]);if(_0x52454d!==undefined){(0x0,utils_1[_0x104afd(0x23d)])(_0x5a1a3f,_0x3eff27,status_message_1['StatusMessage'][_0x104afd(0x26a)],_0x52454d);return;}if(_0x1ea824===![])return;const _0x24fe64=process[_0x104afd(0x1f9)]();try{this[_0x104afd(0x23e)](_0x3eff27,_0x4f3236);}catch(_0x1def62){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x5a1a3f,_0x3eff27,status_message_1[_0x104afd(0x265)][_0x104afd(0x200)],utils_1['errors'][_0x104afd(0x258)]+_0x1def62);}const _0x52394f=process[_0x104afd(0x1f9)](_0x24fe64),_0x12dff3=this['changeToNS'](_0x52394f);this[_0x104afd(0x236)][_0x104afd(0x299)](_0x3eff27['id'],_0x12dff3),this[_0x104afd(0x205)][_0x104afd(0x23a)]((0x0,utils_1['formatInterval'])(_0x104afd(0x218),_0x52394f)),_0x5a1a3f(null);}[a35_0x294713(0x23e)](_0x382d3c,_0x36d02c){const _0x5e9877=a35_0x294713,_0x5a396c=[];if(_0x382d3c[_0x5e9877(0x278)]&&this[_0x5e9877(0x220)][_0x382d3c['id']][_0x5e9877(0x249)])for(let _0x544c89=0x0;_0x544c89<_0x382d3c[_0x5e9877(0x278)][_0x5e9877(0x1f7)];_0x544c89++){try{_0x382d3c[_0x5e9877(0x278)][_0x544c89]=this['breakpoints'][_0x382d3c['id']][_0x5e9877(0x249)](_0x382d3c[_0x5e9877(0x278)][_0x544c89]);}catch{this[_0x5e9877(0x205)][_0x5e9877(0x1ee)](_0x5e9877(0x235)+_0x382d3c['expressions'][_0x544c89]+_0x5e9877(0x212)),_0x5a396c[_0x5e9877(0x292)]({'name':_0x382d3c[_0x5e9877(0x278)][_0x544c89],'status':new status_message_1[(_0x5e9877(0x265))](status_message_1[_0x5e9877(0x265)][_0x5e9877(0x284)],utils_1['errors']['EXPRESSION_COMPILING_ERROR'],!![])}),_0x382d3c['expressions']['splice'](_0x544c89,0x1),_0x544c89--;}}if(_0x382d3c[_0x5e9877(0x289)]===_0x5e9877(0x280)){if(!_0x382d3c['expressions'])_0x382d3c['evaluatedExpressions']=[];else{const [_0x370cce]=_0x36d02c;_0x382d3c[_0x5e9877(0x1fa)]=_0x382d3c['expressions']['map'](_0x3eeffa=>{const _0x3b0f8e=_0x5e9877,_0x4611ad=state['evaluate'](_0x3eeffa,_0x370cce,this[_0x3b0f8e(0x20c)],!![],this[_0x3b0f8e(0x223)]['expressionsEvalTimeoutMillis']);return _0x4611ad[_0x3b0f8e(0x1ff)]?_0x4611ad[_0x3b0f8e(0x1ff)]:_0x4611ad[_0x3b0f8e(0x229)][_0x3b0f8e(0x21e)];});}}else{const _0x1be807=state[_0x5e9877(0x25f)](_0x36d02c,_0x382d3c,this['config'],this[_0x5e9877(0x224)],this['v8Inspector'],this[_0x5e9877(0x20b)],this['sourcemapper']);_0x382d3c[_0x5e9877(0x210)]&&(0x0,utils_1['isJavaScriptFile'])(_0x382d3c[_0x5e9877(0x210)][_0x5e9877(0x22b)])&&(_0x382d3c[_0x5e9877(0x210)][_0x5e9877(0x234)]=_0x36d02c[0x0][_0x5e9877(0x210)]['lineNumber']+0x1),_0x382d3c[_0x5e9877(0x233)]=_0x1be807[_0x5e9877(0x233)],_0x382d3c['variableTable']=_0x1be807['variableTable'],_0x382d3c['evaluatedExpressions']=_0x5a396c['concat'](_0x1be807[_0x5e9877(0x1fa)]);}}[a35_0x294713(0x23b)](_0x5f1fb5){const _0x45fa69=a35_0x294713;try{if(!_0x5f1fb5['hitBreakpoints'])return;const _0x472aab=_0x5f1fb5[_0x45fa69(0x238)][0x0],_0x3667b8=this['breakpointMapper'][_0x472aab];if(!_0x3667b8)return;_0x3667b8[_0x45fa69(0x24e)](_0x9cfd15=>{const _0x432ee3=_0x45fa69;this[_0x432ee3(0x1f8)][_0x9cfd15][_0x432ee3(0x243)]&&(this['logger'][_0x432ee3(0x23a)](_0x432ee3(0x20d)+_0x9cfd15),this[_0x432ee3(0x1f8)][_0x9cfd15][_0x432ee3(0x1f1)](_0x5f1fb5[_0x432ee3(0x1f5)]));});}catch(_0x1bb81d){this['logger'][_0x45fa69(0x1ee)](_0x45fa69(0x21a)+_0x1bb81d);}}['changeToNS'](_0x36481c){return _0x36481c[0x0]*0x3b9aca00+_0x36481c[0x1];}}exports[a35_0x294713(0x21d)]=InspectorDebugApi;
@@ -1 +1 @@
1
- const a36_0x3a1101=a36_0x2cf3;(function(_0x22e9bf,_0x5ca171){const _0x11790d=a36_0x2cf3,_0x123526=_0x22e9bf();while(!![]){try{const _0x1d36a3=parseInt(_0x11790d(0x7f))/0x1*(parseInt(_0x11790d(0x98))/0x2)+-parseInt(_0x11790d(0xab))/0x3+parseInt(_0x11790d(0x7a))/0x4*(parseInt(_0x11790d(0xb7))/0x5)+parseInt(_0x11790d(0x85))/0x6*(-parseInt(_0x11790d(0x93))/0x7)+-parseInt(_0x11790d(0x7b))/0x8*(parseInt(_0x11790d(0x84))/0x9)+-parseInt(_0x11790d(0xa0))/0xa*(parseInt(_0x11790d(0xa1))/0xb)+parseInt(_0x11790d(0x9b))/0xc*(parseInt(_0x11790d(0x92))/0xd);if(_0x1d36a3===_0x5ca171)break;else _0x123526['push'](_0x123526['shift']());}catch(_0x47738d){_0x123526['push'](_0x123526['shift']());}}}(a36_0x2b31,0x72e44));const a36_0x5c728d=(function(){let _0x4df457=!![];return function(_0x538e1b,_0x4d50e2){const _0x2a25ad=_0x4df457?function(){const _0xb9ccdd=a36_0x2cf3;if(_0x4d50e2){const _0x1cd002=_0x4d50e2[_0xb9ccdd(0xb4)](_0x538e1b,arguments);return _0x4d50e2=null,_0x1cd002;}}:function(){};return _0x4df457=![],_0x2a25ad;};}()),a36_0x3165eb=a36_0x5c728d(this,function(){const _0x128d64=a36_0x2cf3;return a36_0x3165eb[_0x128d64(0x95)]()['search'](_0x128d64(0x87))[_0x128d64(0x95)]()[_0x128d64(0xa8)](a36_0x3165eb)[_0x128d64(0x83)](_0x128d64(0x87));});a36_0x3165eb();'use strict';function a36_0x2b31(){const _0x3388f5=['numPausedBeforeReset','detach','Debugger.disable','apply','params','inspector','5poWFqv','Debugger.enable','Debugger.scriptParsed','Debugger.evaluateOnCallFrame','removeBreakpoint','getProperties','evaluateOnCallFrame','1267852UxNyjS','24YBpNbM','evaluate','shouldUseWellFormattedUrl','url','138652oBqDfz','onDetach','storeSetBreakpointParams','useWellFormattedUrl','search','1246167nIFbui','894WLaDPl','setBreakpointByUrl:\x20','(((.+)+)+)+$','callFunctionOn','V8Inspector','debug','Debugger.setBreakpointsActive','connect','prevStoreSetBreakpointParams','onScriptParsed','releaseObject','logger','Runtime.getProperties','610675NxVOWg','5558Pfgmsp','values','toString','response','column:\x20','4ANSxce','setBreakpointByUrl','lineNumber','228pSotaV','session','Error\x20upon\x20re-setting\x20breakpoint:\x20','error','length','118870uMtIhB','176mLrxeL','enable','keys','resetV8DebuggerThreshold','resetV8DebuggerIfThresholdMet','disable','columnNumber','constructor','attach','breakpointId','876927ZdeMyc','onPaused','post','Runtime.evaluate','disconnect','Debugger.paused'];a36_0x2b31=function(){return _0x3388f5;};return a36_0x2b31();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a36_0x3a1101(0x89)]=void 0x0;const inspector=require(a36_0x3a1101(0xb6));class V8Inspector{constructor(_0x384e36,_0x1e72ee,_0x231efa,_0x3bd153,_0x162867,_0x4c3cd6){const _0xedf616=a36_0x3a1101;this[_0xedf616(0x90)]=_0x384e36,this[_0xedf616(0x82)]=_0x1e72ee,this[_0xedf616(0xa4)]=_0x231efa,this[_0xedf616(0x8e)]=_0x3bd153,this['onPaused']=_0x162867,this[_0xedf616(0x80)]=_0x4c3cd6,this[_0xedf616(0x9c)]=null,this[_0xedf616(0x81)]={},this[_0xedf616(0x8d)]=null,this['numPausedBeforeReset']=0x0,_0x384e36['debug']('Creating\x20V8Inspector');}[a36_0x3a1101(0x7d)](){const _0xdffaa3=a36_0x3a1101;return this[_0xdffaa3(0x82)];}[a36_0x3a1101(0x99)](_0x4da94a,_0x3cba79=this[a36_0x3a1101(0x8d)]!==null){const _0x3e8316=a36_0x3a1101;_0x3cba79?this[_0x3e8316(0xa2)](![]):this[_0x3e8316(0xa9)]();this[_0x3e8316(0x90)][_0x3e8316(0x8a)](_0x3e8316(0x86),_0x4da94a?.[_0x3e8316(0x7e)],'real\x20lineNumber:\x20',_0x4da94a?.[_0x3e8316(0x9a)],_0x3e8316(0x97),_0x4da94a?.[_0x3e8316(0xa7)]);const _0xc757a5={};return this[_0x3e8316(0x9c)][_0x3e8316(0xad)]('Debugger.setBreakpointByUrl',_0x4da94a,(_0x2e1ce4,_0x3a0d3e)=>{const _0x1a40a6=_0x3e8316;_0x2e1ce4?_0xc757a5[_0x1a40a6(0x9e)]=_0x2e1ce4:this[_0x1a40a6(0x81)][_0x3a0d3e[_0x1a40a6(0xaa)]]=_0x4da94a,_0xc757a5[_0x1a40a6(0x96)]=_0x3a0d3e;}),_0x3cba79&&(_0xc757a5[_0x3e8316(0x96)]&&(this['prevStoreSetBreakpointParams'][_0xc757a5[_0x3e8316(0x96)][_0x3e8316(0xaa)]]=this[_0x3e8316(0x81)][_0xc757a5[_0x3e8316(0x96)][_0x3e8316(0xaa)]]),this[_0x3e8316(0xa6)](![])),_0xc757a5;}[a36_0x3a1101(0xbb)](_0x36f275){const _0x3da7b8=a36_0x3a1101;this[_0x3da7b8(0xa9)]();const _0x2e8ff2={};return this[_0x3da7b8(0x9c)]['post']('Debugger.removeBreakpoint',{'breakpointId':_0x36f275},_0x8b4e7c=>{const _0x1f6c10=_0x3da7b8;if(_0x8b4e7c)_0x2e8ff2[_0x1f6c10(0x9e)]=_0x8b4e7c;delete this['storeSetBreakpointParams'][_0x36f275],Object[_0x1f6c10(0xa3)](this['storeSetBreakpointParams'])[_0x1f6c10(0x9f)]===0x0&&this['detach']();}),this[_0x3da7b8(0x8d)]!==null&&delete this[_0x3da7b8(0x8d)][_0x36f275],_0x2e8ff2;}[a36_0x3a1101(0x79)](_0x850778){const _0x2ee619=a36_0x3a1101;this[_0x2ee619(0xa9)]();const _0x3b72f3={};return this[_0x2ee619(0x9c)]['post'](_0x2ee619(0xba),_0x850778,(_0x1b532e,_0x4fa353)=>{const _0xf80490=_0x2ee619;if(_0x1b532e)_0x3b72f3[_0xf80490(0x9e)]=_0x1b532e;_0x3b72f3[_0xf80490(0x96)]=_0x4fa353;}),_0x3b72f3;}[a36_0x3a1101(0x7c)](_0xc3fc3b){const _0x2f322f=a36_0x3a1101;this[_0x2f322f(0xa9)]();const _0x5d105d={};return this['session'][_0x2f322f(0xad)](_0x2f322f(0xae),_0xc3fc3b,(_0x13885c,_0x20eaf4)=>{const _0x3dc1c8=_0x2f322f;_0x5d105d[_0x3dc1c8(0x96)]=_0x20eaf4,_0x5d105d[_0x3dc1c8(0x9e)]=_0x13885c||undefined;}),_0x5d105d;}[a36_0x3a1101(0x88)](_0xd6acf1){const _0x281be9=a36_0x3a1101;this[_0x281be9(0xa9)]();const _0x1c240f={};return this[_0x281be9(0x9c)][_0x281be9(0xad)]('Runtime.callFunctionOn',_0xd6acf1,(_0x4b0b7b,_0x15a2d5)=>{const _0x3f8e15=_0x281be9;_0x1c240f[_0x3f8e15(0x96)]=_0x15a2d5,_0x1c240f[_0x3f8e15(0x9e)]=_0x4b0b7b||undefined;}),_0x1c240f;}[a36_0x3a1101(0x8f)](_0x5db700){const _0x27df0e=a36_0x3a1101;this[_0x27df0e(0xa9)](),this[_0x27df0e(0x9c)][_0x27df0e(0xad)]('Runtime.releaseObject',_0x5db700);}[a36_0x3a1101(0xbc)](_0x3d5987){const _0x3227e4=a36_0x3a1101,_0xaeab27={};return this[_0x3227e4(0xa9)](),this['session'][_0x3227e4(0xad)](_0x3227e4(0x91),_0x3d5987,(_0x5c446f,_0x4cfa96)=>{const _0x18cc69=_0x3227e4;if(_0x5c446f)_0xaeab27['error']=_0x5c446f;_0xaeab27[_0x18cc69(0x96)]=_0x4cfa96;}),_0xaeab27;}[a36_0x3a1101(0xa9)](){const _0x41822c=a36_0x3a1101;if(this[_0x41822c(0x9c)])return;const _0x5c2de5=new inspector['Session']();_0x5c2de5[_0x41822c(0x8c)](),_0x5c2de5['on'](_0x41822c(0xb9),_0x4a84d9=>{const _0x29e9ef=_0x41822c;this[_0x29e9ef(0x8e)](_0x4a84d9[_0x29e9ef(0xb5)]);}),_0x5c2de5['post'](_0x41822c(0xb8)),_0x5c2de5['post'](_0x41822c(0x8b),{'active':!![]}),_0x5c2de5['on'](_0x41822c(0xb0),_0x26f808=>{const _0x3bb495=_0x41822c;this[_0x3bb495(0xac)](_0x26f808['params']),this[_0x3bb495(0xa5)]();}),this[_0x41822c(0x9c)]=_0x5c2de5;}[a36_0x3a1101(0xa2)](_0xb632c8=!![]){const _0x1a97f9=a36_0x3a1101;this[_0x1a97f9(0xa9)](),this['session']?.[_0x1a97f9(0xad)]('Debugger.enable');if(_0xb632c8){for(const _0x598a0 of Object[_0x1a97f9(0x94)](this[_0x1a97f9(0x8d)])){const _0x459c71=this[_0x1a97f9(0x99)](_0x598a0,![]);(_0x459c71[_0x1a97f9(0x9e)]||!_0x459c71[_0x1a97f9(0x96)])&&this[_0x1a97f9(0x90)][_0x1a97f9(0x9e)](_0x1a97f9(0x9d)+_0x459c71);}this['prevStoreSetBreakpointParams']=null;}}['disable'](_0x8c5967=!![]){const _0x3ad02a=a36_0x3a1101;if(!this['session'])return;_0x8c5967&&(this['prevStoreSetBreakpointParams']=this[_0x3ad02a(0x81)]),this['session']['post'](_0x3ad02a(0xb3)),this[_0x3ad02a(0xb2)]();}['detach'](){const _0x442490=a36_0x3a1101;if(!this[_0x442490(0x9c)])return;this[_0x442490(0x9c)][_0x442490(0xaf)](),this[_0x442490(0x9c)]=null,this[_0x442490(0x81)]={},this[_0x442490(0xb1)]=0x0,this[_0x442490(0x80)]();}['resetV8DebuggerIfThresholdMet'](){const _0x459b5d=a36_0x3a1101;if(!this[_0x459b5d(0x9c)])return;this['numPausedBeforeReset']+=0x1;if(this[_0x459b5d(0xb1)]<this[_0x459b5d(0xa4)])return;this['numPausedBeforeReset']=0x0,this['disable'](),this[_0x459b5d(0xa2)]();}}function a36_0x2cf3(_0x4af960,_0xe64996){const _0x3df67a=a36_0x2b31();return a36_0x2cf3=function(_0x3165eb,_0x5c728d){_0x3165eb=_0x3165eb-0x79;let _0x2b3151=_0x3df67a[_0x3165eb];return _0x2b3151;},a36_0x2cf3(_0x4af960,_0xe64996);}exports[a36_0x3a1101(0x89)]=V8Inspector;
1
+ function a36_0x3bc6(_0x1206bf,_0x13410a){const _0x594f6d=a36_0x2be6();return a36_0x3bc6=function(_0x20fa11,_0x38f657){_0x20fa11=_0x20fa11-0x187;let _0x2be600=_0x594f6d[_0x20fa11];return _0x2be600;},a36_0x3bc6(_0x1206bf,_0x13410a);}function a36_0x2be6(){const _0x2f06c7=['connect','releaseObject','debug','Debugger.removeBreakpoint','apply','Debugger.scriptParsed','shouldUseWellFormattedUrl','logger','useWellFormattedUrl','Runtime.releaseObject','Error\x20upon\x20re-setting\x20breakpoint:\x20','1632944lLDQAj','onScriptParsed','evaluateOnCallFrame','Debugger.disable','lineNumber','(((.+)+)+)+$','columnNumber','Debugger.setBreakpointsActive','onPaused','252502zZSRiN','onDetach','3347850rgMGVN','Debugger.evaluateOnCallFrame','3rJTtcx','real\x20lineNumber:\x20','search','params','breakpointId','session','V8Inspector','column:\x20','storeSetBreakpointParams','response','enable','__esModule','getProperties','post','length','resetV8DebuggerIfThresholdMet','toString','constructor','Creating\x20V8Inspector','182uKlYNF','resetV8DebuggerThreshold','numPausedBeforeReset','3962445IUMWUG','prevStoreSetBreakpointParams','defineProperty','Debugger.setBreakpointByUrl','Debugger.enable','evaluate','detach','setBreakpointByUrl:\x20','setBreakpointByUrl','Runtime.evaluate','node:inspector','disable','attach','6928380caRtTf','49254120jnvrhW','433904qtsuCO','Debugger.paused','error'];a36_0x2be6=function(){return _0x2f06c7;};return a36_0x2be6();}const a36_0x16d36b=a36_0x3bc6;(function(_0x1ab8b5,_0x4ba293){const _0x54f825=a36_0x3bc6,_0x37221f=_0x1ab8b5();while(!![]){try{const _0xfcf885=-parseInt(_0x54f825(0x18f))/0x1*(-parseInt(_0x54f825(0x18b))/0x2)+-parseInt(_0x54f825(0x1a5))/0x3+-parseInt(_0x54f825(0x1c2))/0x4+-parseInt(_0x54f825(0x1b2))/0x5+-parseInt(_0x54f825(0x18d))/0x6+-parseInt(_0x54f825(0x1a2))/0x7*(parseInt(_0x54f825(0x1b4))/0x8)+parseInt(_0x54f825(0x1b3))/0x9;if(_0xfcf885===_0x4ba293)break;else _0x37221f['push'](_0x37221f['shift']());}catch(_0x23f371){_0x37221f['push'](_0x37221f['shift']());}}}(a36_0x2be6,0xbba1f));const a36_0x38f657=(function(){let _0xfc32d2=!![];return function(_0x1b34cd,_0x585cfa){const _0x2912e4=_0xfc32d2?function(){const _0x1cb8da=a36_0x3bc6;if(_0x585cfa){const _0x1932ab=_0x585cfa[_0x1cb8da(0x1bb)](_0x1b34cd,arguments);return _0x585cfa=null,_0x1932ab;}}:function(){};return _0xfc32d2=![],_0x2912e4;};}()),a36_0x20fa11=a36_0x38f657(this,function(){const _0x575f00=a36_0x3bc6;return a36_0x20fa11[_0x575f00(0x19f)]()[_0x575f00(0x191)](_0x575f00(0x187))['toString']()[_0x575f00(0x1a0)](a36_0x20fa11)[_0x575f00(0x191)](_0x575f00(0x187));});a36_0x20fa11();'use strict';Object[a36_0x16d36b(0x1a7)](exports,a36_0x16d36b(0x19a),{'value':!![]}),exports[a36_0x16d36b(0x195)]=void 0x0;const node_inspector_1=require(a36_0x16d36b(0x1af));class V8Inspector{constructor(_0x3112ab,_0x5b73d3,_0x110fbb,_0xf728af,_0x3c09f7,_0x30d183){const _0xda873a=a36_0x16d36b;this[_0xda873a(0x1be)]=_0x3112ab,this[_0xda873a(0x1bf)]=_0x5b73d3,this['resetV8DebuggerThreshold']=_0x110fbb,this['onScriptParsed']=_0xf728af,this[_0xda873a(0x18a)]=_0x3c09f7,this[_0xda873a(0x18c)]=_0x30d183,this[_0xda873a(0x194)]=null,this['storeSetBreakpointParams']={},this['prevStoreSetBreakpointParams']=null,this[_0xda873a(0x1a4)]=0x0,_0x3112ab[_0xda873a(0x1b9)](_0xda873a(0x1a1));}[a36_0x16d36b(0x1bd)](){const _0x2e2e41=a36_0x16d36b;return this[_0x2e2e41(0x1bf)];}[a36_0x16d36b(0x1ad)](_0xc614bf,_0x31121c=this[a36_0x16d36b(0x1a6)]!==null){const _0x5ec1e4=a36_0x16d36b;_0x31121c?this['enable'](![]):this[_0x5ec1e4(0x1b1)]();this[_0x5ec1e4(0x1be)][_0x5ec1e4(0x1b9)](_0x5ec1e4(0x1ac),_0xc614bf?.['url'],_0x5ec1e4(0x190),_0xc614bf?.[_0x5ec1e4(0x1c6)],_0x5ec1e4(0x196),_0xc614bf?.[_0x5ec1e4(0x188)]);const _0x468f5a={};return this[_0x5ec1e4(0x194)][_0x5ec1e4(0x19c)](_0x5ec1e4(0x1a8),_0xc614bf,(_0x19db2b,_0x50abb5)=>{const _0x417283=_0x5ec1e4;_0x19db2b?_0x468f5a['error']=_0x19db2b:this['storeSetBreakpointParams'][_0x50abb5[_0x417283(0x193)]]=_0xc614bf,_0x468f5a[_0x417283(0x198)]=_0x50abb5;}),_0x31121c&&(_0x468f5a['response']&&(this[_0x5ec1e4(0x1a6)][_0x468f5a[_0x5ec1e4(0x198)][_0x5ec1e4(0x193)]]=this[_0x5ec1e4(0x197)][_0x468f5a['response']['breakpointId']]),this['disable'](![])),_0x468f5a;}['removeBreakpoint'](_0x846010){const _0x15f345=a36_0x16d36b;this[_0x15f345(0x1b1)]();const _0x3bc996={};return this[_0x15f345(0x194)][_0x15f345(0x19c)](_0x15f345(0x1ba),{'breakpointId':_0x846010},_0x303aef=>{const _0x4a92ae=_0x15f345;if(_0x303aef)_0x3bc996['error']=_0x303aef;delete this[_0x4a92ae(0x197)][_0x846010],Object['keys'](this[_0x4a92ae(0x197)])[_0x4a92ae(0x19d)]===0x0&&this[_0x4a92ae(0x1ab)]();}),this[_0x15f345(0x1a6)]!==null&&delete this[_0x15f345(0x1a6)][_0x846010],_0x3bc996;}[a36_0x16d36b(0x1c4)](_0x35ca6b){const _0x106ab2=a36_0x16d36b;this[_0x106ab2(0x1b1)]();const _0x281be9={};return this[_0x106ab2(0x194)][_0x106ab2(0x19c)](_0x106ab2(0x18e),_0x35ca6b,(_0x1225e7,_0x10ad86)=>{const _0x272eec=_0x106ab2;if(_0x1225e7)_0x281be9[_0x272eec(0x1b6)]=_0x1225e7;_0x281be9['response']=_0x10ad86;}),_0x281be9;}[a36_0x16d36b(0x1aa)](_0x1d1052){const _0x386468=a36_0x16d36b;this[_0x386468(0x1b1)]();const _0x56cc8a={};return this[_0x386468(0x194)][_0x386468(0x19c)](_0x386468(0x1ae),_0x1d1052,(_0x4f9bb2,_0x2f61c6)=>{const _0x16de53=_0x386468;_0x56cc8a['response']=_0x2f61c6,_0x56cc8a[_0x16de53(0x1b6)]=_0x4f9bb2??undefined;}),_0x56cc8a;}['callFunctionOn'](_0x360544){const _0x3fcb2a=a36_0x16d36b;this[_0x3fcb2a(0x1b1)]();const _0x1fcf91={};return this[_0x3fcb2a(0x194)][_0x3fcb2a(0x19c)]('Runtime.callFunctionOn',_0x360544,(_0x44d09f,_0x537053)=>{const _0x3c2fd6=_0x3fcb2a;_0x1fcf91[_0x3c2fd6(0x198)]=_0x537053,_0x1fcf91[_0x3c2fd6(0x1b6)]=_0x44d09f??undefined;}),_0x1fcf91;}[a36_0x16d36b(0x1b8)](_0x48a4c5){const _0x4bf9dc=a36_0x16d36b;this[_0x4bf9dc(0x1b1)](),this[_0x4bf9dc(0x194)][_0x4bf9dc(0x19c)](_0x4bf9dc(0x1c0),_0x48a4c5);}[a36_0x16d36b(0x19b)](_0x4641c0){const _0x38a228=a36_0x16d36b,_0x46ca87={};return this['attach'](),this['session'][_0x38a228(0x19c)]('Runtime.getProperties',_0x4641c0,(_0x24b688,_0x4aee27)=>{const _0x286cc2=_0x38a228;if(_0x24b688)_0x46ca87['error']=_0x24b688;_0x46ca87[_0x286cc2(0x198)]=_0x4aee27;}),_0x46ca87;}[a36_0x16d36b(0x1b1)](){const _0xaf4663=a36_0x16d36b;if(this[_0xaf4663(0x194)])return;const _0x403231=new node_inspector_1['Session']();_0x403231[_0xaf4663(0x1b7)](),_0x403231['on'](_0xaf4663(0x1bc),_0x32eeef=>{const _0x345ef6=_0xaf4663;this[_0x345ef6(0x1c3)](_0x32eeef[_0x345ef6(0x192)]);}),_0x403231[_0xaf4663(0x19c)](_0xaf4663(0x1a9)),_0x403231[_0xaf4663(0x19c)](_0xaf4663(0x189),{'active':!![]}),_0x403231['on'](_0xaf4663(0x1b5),_0x5fb09a=>{const _0x3c8910=_0xaf4663;this[_0x3c8910(0x18a)](_0x5fb09a[_0x3c8910(0x192)]),this[_0x3c8910(0x19e)]();}),this[_0xaf4663(0x194)]=_0x403231;}['enable'](_0x37f5b5=!![]){const _0x553391=a36_0x16d36b;this[_0x553391(0x1b1)](),this['session']?.[_0x553391(0x19c)](_0x553391(0x1a9));if(_0x37f5b5){for(const _0x4356a1 of Object['values'](this[_0x553391(0x1a6)])){const _0x1f8415=this[_0x553391(0x1ad)](_0x4356a1,![]);(_0x1f8415['error']||!_0x1f8415[_0x553391(0x198)])&&this[_0x553391(0x1be)][_0x553391(0x1b6)](_0x553391(0x1c1)+_0x1f8415);}this[_0x553391(0x1a6)]=null;}}['disable'](_0x294a2c=!![]){const _0x5d4a50=a36_0x16d36b;if(!this['session'])return;_0x294a2c&&(this[_0x5d4a50(0x1a6)]=this[_0x5d4a50(0x197)]),this[_0x5d4a50(0x194)][_0x5d4a50(0x19c)](_0x5d4a50(0x1c5)),this[_0x5d4a50(0x1ab)]();}[a36_0x16d36b(0x1ab)](){const _0x22ba02=a36_0x16d36b;if(!this[_0x22ba02(0x194)])return;this[_0x22ba02(0x194)]['disconnect'](),this[_0x22ba02(0x194)]=null,this[_0x22ba02(0x197)]={},this[_0x22ba02(0x1a4)]=0x0,this[_0x22ba02(0x18c)]();}[a36_0x16d36b(0x19e)](){const _0x34f3b0=a36_0x16d36b;if(!this[_0x34f3b0(0x194)])return;this[_0x34f3b0(0x1a4)]+=0x1;if(this[_0x34f3b0(0x1a4)]<this[_0x34f3b0(0x1a3)])return;this[_0x34f3b0(0x1a4)]=0x0,this[_0x34f3b0(0x1b0)](),this[_0x34f3b0(0x199)]();}}exports[a36_0x16d36b(0x195)]=V8Inspector;
@@ -1 +1 @@
1
- const a37_0x12168b=a37_0x3ca2;function a37_0x3ca2(_0x2a63b9,_0x25b5a6){const _0x1ae2c7=a37_0x3801();return a37_0x3ca2=function(_0x4e628e,_0x18db96){_0x4e628e=_0x4e628e-0x12a;let _0x3801ab=_0x1ae2c7[_0x4e628e];return _0x3801ab;},a37_0x3ca2(_0x2a63b9,_0x25b5a6);}function a37_0x3801(){const _0x2d7e72=['defineProperty','toString','(((.+)+)+)+$','78mXYWtx','5UzuKFq','545292nZiMts','Debug','20ZwyZcg','1625548UfJFqG','49700WZovSk','apply','4320107AEIMPu','version','__esModule','@google-cloud/common','search','https://','3726657NJabFJ','name','3CgyzAN','packageInfo','apiEndpoint','86516BUzEUn','options','1663608lWCahA'];a37_0x3801=function(){return _0x2d7e72;};return a37_0x3801();}(function(_0x466435,_0x2da4e2){const _0x57ae3c=a37_0x3ca2,_0x11c499=_0x466435();while(!![]){try{const _0x18e347=parseInt(_0x57ae3c(0x141))/0x1*(parseInt(_0x57ae3c(0x12b))/0x2)+-parseInt(_0x57ae3c(0x133))/0x3+parseInt(_0x57ae3c(0x136))/0x4*(parseInt(_0x57ae3c(0x132))/0x5)+-parseInt(_0x57ae3c(0x131))/0x6*(parseInt(_0x57ae3c(0x137))/0x7)+-parseInt(_0x57ae3c(0x12d))/0x8+-parseInt(_0x57ae3c(0x13f))/0x9+parseInt(_0x57ae3c(0x135))/0xa*(parseInt(_0x57ae3c(0x139))/0xb);if(_0x18e347===_0x2da4e2)break;else _0x11c499['push'](_0x11c499['shift']());}catch(_0x44ec7d){_0x11c499['push'](_0x11c499['shift']());}}}(a37_0x3801,0x67e4b));const a37_0x18db96=(function(){let _0x385dbd=!![];return function(_0x1a2965,_0x4c686b){const _0x5d18be=_0x385dbd?function(){const _0x1357ad=a37_0x3ca2;if(_0x4c686b){const _0x451725=_0x4c686b[_0x1357ad(0x138)](_0x1a2965,arguments);return _0x4c686b=null,_0x451725;}}:function(){};return _0x385dbd=![],_0x5d18be;};}()),a37_0x4e628e=a37_0x18db96(this,function(){const _0x347bdf=a37_0x3ca2;return a37_0x4e628e[_0x347bdf(0x12f)]()[_0x347bdf(0x13d)](_0x347bdf(0x130))[_0x347bdf(0x12f)]()['constructor'](a37_0x4e628e)[_0x347bdf(0x13d)](_0x347bdf(0x130));});a37_0x4e628e();'use strict';Object[a37_0x12168b(0x12e)](exports,a37_0x12168b(0x13b),{'value':!![]}),exports[a37_0x12168b(0x134)]=void 0x0;const common_1=require(a37_0x12168b(0x13c));class Debug extends common_1['Service']{constructor(_0x342580={},_0xb4a12b){const _0x2e0961=a37_0x12168b;if(new.target!==Debug)return new Debug(_0x342580,_0xb4a12b);const _0x4c0700={'projectIdRequired':![],'apiEndpoint':_0x342580[_0x2e0961(0x12a)],'baseUrl':_0x2e0961(0x13e)+_0x342580['apiEndpoint'],'scopes':['https://www.googleapis.com/auth/cloud_debugger'],'packageJson':_0xb4a12b};super(_0x4c0700,_0x342580),this[_0x2e0961(0x12c)]=_0x342580,this[_0x2e0961(0x142)]={'name':_0xb4a12b[_0x2e0961(0x140)],'version':_0xb4a12b[_0x2e0961(0x13a)]};}}exports[a37_0x12168b(0x134)]=Debug;
1
+ const a37_0xc2211b=a37_0x6818;(function(_0x2ede51,_0xad092f){const _0x55eb0d=a37_0x6818,_0x338219=_0x2ede51();while(!![]){try{const _0x4d67df=parseInt(_0x55eb0d(0x182))/0x1*(-parseInt(_0x55eb0d(0x17d))/0x2)+parseInt(_0x55eb0d(0x183))/0x3+parseInt(_0x55eb0d(0x177))/0x4+-parseInt(_0x55eb0d(0x175))/0x5+parseInt(_0x55eb0d(0x17f))/0x6*(-parseInt(_0x55eb0d(0x18a))/0x7)+parseInt(_0x55eb0d(0x181))/0x8*(parseInt(_0x55eb0d(0x179))/0x9)+parseInt(_0x55eb0d(0x176))/0xa;if(_0x4d67df===_0xad092f)break;else _0x338219['push'](_0x338219['shift']());}catch(_0x4a97d){_0x338219['push'](_0x338219['shift']());}}}(a37_0x594c,0x774eb));function a37_0x6818(_0x41c47b,_0x42476e){const _0x50d112=a37_0x594c();return a37_0x6818=function(_0x22083f,_0x4896a3){_0x22083f=_0x22083f-0x175;let _0x594c4b=_0x50d112[_0x22083f];return _0x594c4b;},a37_0x6818(_0x41c47b,_0x42476e);}const a37_0x4896a3=(function(){let _0x144a77=!![];return function(_0x3691c7,_0x4182af){const _0x7e0d7b=_0x144a77?function(){const _0x880b7d=a37_0x6818;if(_0x4182af){const _0x13de20=_0x4182af[_0x880b7d(0x17c)](_0x3691c7,arguments);return _0x4182af=null,_0x13de20;}}:function(){};return _0x144a77=![],_0x7e0d7b;};}()),a37_0x22083f=a37_0x4896a3(this,function(){const _0x359c48=a37_0x6818;return a37_0x22083f[_0x359c48(0x184)]()[_0x359c48(0x187)](_0x359c48(0x186))[_0x359c48(0x184)]()['constructor'](a37_0x22083f)[_0x359c48(0x187)](_0x359c48(0x186));});function a37_0x594c(){const _0x13ed14=['Debug','defineProperty','91602olxnFh','711225WlLxpS','4456290FhJOUB','1845760maQXTZ','https://','94203PLamNK','apiEndpoint','packageInfo','apply','1015108OiJoDv','__esModule','300ShOwJg','Service','8ovuRtq','1VQeoXR','2625738cVmJOn','toString','version','(((.+)+)+)+$','search'];a37_0x594c=function(){return _0x13ed14;};return a37_0x594c();}a37_0x22083f();'use strict';Object[a37_0xc2211b(0x189)](exports,a37_0xc2211b(0x17e),{'value':!![]}),exports['Debug']=void 0x0;const common_1=require('@google-cloud/common');class Debug extends common_1[a37_0xc2211b(0x180)]{constructor(_0xc2487c={},_0x53dd6a){const _0x2620b6=a37_0xc2211b;if(new.target!==Debug)return new Debug(_0xc2487c,_0x53dd6a);const _0x49ac2a={'projectIdRequired':![],'apiEndpoint':_0xc2487c[_0x2620b6(0x17a)],'baseUrl':_0x2620b6(0x178)+_0xc2487c['apiEndpoint'],'scopes':['https://www.googleapis.com/auth/cloud_debugger'],'packageJson':_0x53dd6a};super(_0x49ac2a,_0xc2487c),this['options']=_0xc2487c,this[_0x2620b6(0x17b)]={'name':_0x53dd6a['name'],'version':_0x53dd6a[_0x2620b6(0x185)]};}}exports[a37_0xc2211b(0x188)]=Debug;
@@ -1 +1 @@
1
- function a38_0x5439(){const _0x1d1f55=['refersTo','3479196caYQVR','27OhxIhd','1874541ZcbPIh','BREAKPOINT_SOURCE_LOCATION','StatusMessage','search','5635045vIbWBT','5939437tfTnvf','VARIABLE_VALUE','parameters','731599hfZCif','60iKDQvs','(((.+)+)+)+$','toString','isError','apply','49584qcNSxY','4TdIQSL','UNSPECIFIED','__esModule','description','defineProperty','BREAKPOINT_CONDITION','errorId','BREAKPOINT_AGE','BREAKPOINT_EXPRESSION','88186rrOwKh','4lUVNwX'];a38_0x5439=function(){return _0x1d1f55;};return a38_0x5439();}const a38_0x529cfb=a38_0x3ac7;(function(_0x3a3d1e,_0x25fd12){const _0xf9bc1f=a38_0x3ac7,_0x39cfd7=_0x3a3d1e();while(!![]){try{const _0x68ed57=-parseInt(_0xf9bc1f(0x199))/0x1*(parseInt(_0xf9bc1f(0x19a))/0x2)+parseInt(_0xf9bc1f(0x19e))/0x3+-parseInt(_0xf9bc1f(0x190))/0x4*(-parseInt(_0xf9bc1f(0x185))/0x5)+-parseInt(_0xf9bc1f(0x19c))/0x6+-parseInt(_0xf9bc1f(0x186))/0x7+-parseInt(_0xf9bc1f(0x18f))/0x8*(-parseInt(_0xf9bc1f(0x19d))/0x9)+-parseInt(_0xf9bc1f(0x18a))/0xa*(-parseInt(_0xf9bc1f(0x189))/0xb);if(_0x68ed57===_0x25fd12)break;else _0x39cfd7['push'](_0x39cfd7['shift']());}catch(_0x4cf8da){_0x39cfd7['push'](_0x39cfd7['shift']());}}}(a38_0x5439,0x89e27));const a38_0x1f9be5=(function(){let _0x3d543d=!![];return function(_0x5e0c9d,_0x1f9b1b){const _0x2f7ef4=_0x3d543d?function(){const _0x5728ff=a38_0x3ac7;if(_0x1f9b1b){const _0x2177e4=_0x1f9b1b[_0x5728ff(0x18e)](_0x5e0c9d,arguments);return _0x1f9b1b=null,_0x2177e4;}}:function(){};return _0x3d543d=![],_0x2f7ef4;};}()),a38_0x29fc57=a38_0x1f9be5(this,function(){const _0x58e11a=a38_0x3ac7;return a38_0x29fc57[_0x58e11a(0x18c)]()[_0x58e11a(0x1a1)](_0x58e11a(0x18b))['toString']()['constructor'](a38_0x29fc57)['search']('(((.+)+)+)+$');});a38_0x29fc57();'use strict';function a38_0x3ac7(_0x38530a,_0x4e6c71){const _0x5c8e6a=a38_0x5439();return a38_0x3ac7=function(_0x29fc57,_0x1f9be5){_0x29fc57=_0x29fc57-0x185;let _0x5439a2=_0x5c8e6a[_0x29fc57];return _0x5439a2;},a38_0x3ac7(_0x38530a,_0x4e6c71);}Object[a38_0x529cfb(0x194)](exports,a38_0x529cfb(0x192),{'value':!![]}),exports[a38_0x529cfb(0x1a0)]=void 0x0;class StatusMessage{constructor(_0x11738e,_0x3d956a,_0x2afd2e,_0x45a8f0=![]){const _0xa6bf59=a38_0x529cfb,{description:_0x2db5dc,id:_0x2e1d2e,parameters:_0x188463}=_0x3d956a||{};this[_0xa6bf59(0x19b)]=_0x11738e,this[_0xa6bf59(0x193)]={'format':_0x2db5dc||''},_0x2e1d2e&&(this['description'][_0xa6bf59(0x196)]=_0x2e1d2e),_0x188463&&(this[_0xa6bf59(0x193)][_0xa6bf59(0x188)]=_0x188463),this[_0xa6bf59(0x18d)]=_0x2afd2e,this['isAccepted']=_0x45a8f0;}}exports[a38_0x529cfb(0x1a0)]=StatusMessage,StatusMessage['UNSPECIFIED']=a38_0x529cfb(0x191),StatusMessage['BREAKPOINT_SOURCE_LOCATION']=a38_0x529cfb(0x19f),StatusMessage[a38_0x529cfb(0x195)]=a38_0x529cfb(0x195),StatusMessage['BREAKPOINT_EXPRESSION']=a38_0x529cfb(0x198),StatusMessage['VARIABLE_NAME']='VARIABLE_NAME',StatusMessage[a38_0x529cfb(0x187)]=a38_0x529cfb(0x187),StatusMessage[a38_0x529cfb(0x197)]=a38_0x529cfb(0x197);
1
+ const a38_0x20a152=a38_0xaeb5;(function(_0x3b88b3,_0x31b095){const _0x12c935=a38_0xaeb5,_0x341ad4=_0x3b88b3();while(!![]){try{const _0x5ee769=parseInt(_0x12c935(0x18e))/0x1*(parseInt(_0x12c935(0x180))/0x2)+parseInt(_0x12c935(0x182))/0x3*(-parseInt(_0x12c935(0x186))/0x4)+-parseInt(_0x12c935(0x18f))/0x5+parseInt(_0x12c935(0x192))/0x6+parseInt(_0x12c935(0x18d))/0x7+parseInt(_0x12c935(0x194))/0x8+-parseInt(_0x12c935(0x18b))/0x9;if(_0x5ee769===_0x31b095)break;else _0x341ad4['push'](_0x341ad4['shift']());}catch(_0x421308){_0x341ad4['push'](_0x341ad4['shift']());}}}(a38_0x1990,0x6bbb6));const a38_0x21f144=(function(){let _0x1621dc=!![];return function(_0x1afe50,_0x5cc602){const _0x1bc848=_0x1621dc?function(){if(_0x5cc602){const _0x5136df=_0x5cc602['apply'](_0x1afe50,arguments);return _0x5cc602=null,_0x5136df;}}:function(){};return _0x1621dc=![],_0x1bc848;};}()),a38_0x4df0c5=a38_0x21f144(this,function(){const _0x4efb50=a38_0xaeb5;return a38_0x4df0c5['toString']()[_0x4efb50(0x188)](_0x4efb50(0x195))[_0x4efb50(0x191)]()[_0x4efb50(0x190)](a38_0x4df0c5)[_0x4efb50(0x188)](_0x4efb50(0x195));});function a38_0x1990(){const _0x44146d=['1198876vMOOhb','description','search','BREAKPOINT_CONDITION','defineProperty','4889034IdXmcL','UNSPECIFIED','4483493sAZSZk','1XyVXrG','3199220gwjoYB','constructor','toString','3347112mxHgFU','__esModule','4796192ceEwBN','(((.+)+)+)+$','BREAKPOINT_SOURCE_LOCATION','refersTo','BREAKPOINT_AGE','StatusMessage','851806bYrTyr','VARIABLE_NAME','6WebWiR','BREAKPOINT_EXPRESSION','VARIABLE_VALUE','isError'];a38_0x1990=function(){return _0x44146d;};return a38_0x1990();}a38_0x4df0c5();'use strict';Object[a38_0x20a152(0x18a)](exports,a38_0x20a152(0x193),{'value':!![]}),exports['StatusMessage']=void 0x0;class StatusMessage{constructor(_0x16edde,_0x5c8a2f,_0x16d858,_0x114b35=![]){const _0x460bc5=a38_0x20a152,{description:_0x3832fa,id:_0x1efa1d,parameters:_0x46b524}=_0x5c8a2f??{};this[_0x460bc5(0x17d)]=_0x16edde,this[_0x460bc5(0x187)]={'format':_0x3832fa??''},_0x1efa1d&&(this[_0x460bc5(0x187)]['errorId']=_0x1efa1d),_0x46b524&&(this['description']['parameters']=_0x46b524),this[_0x460bc5(0x185)]=_0x16d858,this['isAccepted']=_0x114b35;}}function a38_0xaeb5(_0x3bcfd8,_0x2c4410){const _0x128ccb=a38_0x1990();return a38_0xaeb5=function(_0x4df0c5,_0x21f144){_0x4df0c5=_0x4df0c5-0x17d;let _0x199090=_0x128ccb[_0x4df0c5];return _0x199090;},a38_0xaeb5(_0x3bcfd8,_0x2c4410);}exports[a38_0x20a152(0x17f)]=StatusMessage,StatusMessage['UNSPECIFIED']=a38_0x20a152(0x18c),StatusMessage[a38_0x20a152(0x196)]=a38_0x20a152(0x196),StatusMessage[a38_0x20a152(0x189)]=a38_0x20a152(0x189),StatusMessage[a38_0x20a152(0x183)]=a38_0x20a152(0x183),StatusMessage[a38_0x20a152(0x181)]=a38_0x20a152(0x181),StatusMessage[a38_0x20a152(0x184)]='VARIABLE_VALUE',StatusMessage[a38_0x20a152(0x17e)]=a38_0x20a152(0x17e);
@@ -1 +1 @@
1
- var a39_0x52cef1=a39_0x427b;(function(_0x445c1e,_0x3d5a7e){var _0x22dec1=a39_0x427b,_0x16d4b5=_0x445c1e();while(!![]){try{var _0x111490=-parseInt(_0x22dec1(0xab))/0x1+parseInt(_0x22dec1(0xca))/0x2*(parseInt(_0x22dec1(0xbf))/0x3)+-parseInt(_0x22dec1(0xc6))/0x4+parseInt(_0x22dec1(0xb7))/0x5*(-parseInt(_0x22dec1(0xba))/0x6)+parseInt(_0x22dec1(0xb8))/0x7+parseInt(_0x22dec1(0xb0))/0x8*(parseInt(_0x22dec1(0xbc))/0x9)+-parseInt(_0x22dec1(0xae))/0xa*(-parseInt(_0x22dec1(0xce))/0xb);if(_0x111490===_0x3d5a7e)break;else _0x16d4b5['push'](_0x16d4b5['shift']());}catch(_0x25001e){_0x16d4b5['push'](_0x16d4b5['shift']());}}}(a39_0x1cb7,0x4a53a));var a39_0x2f91f8=(function(){var _0x172c6c=!![];return function(_0x13cf2d,_0x4ff6f9){var _0x3d2094=_0x172c6c?function(){var _0x333c1b=a39_0x427b;if(_0x4ff6f9){var _0x36a2c0=_0x4ff6f9[_0x333c1b(0xc2)](_0x13cf2d,arguments);return _0x4ff6f9=null,_0x36a2c0;}}:function(){};return _0x172c6c=![],_0x3d2094;};}()),a39_0x20191d=a39_0x2f91f8(this,function(){var _0x753108=a39_0x427b;return a39_0x20191d[_0x753108(0xc8)]()[_0x753108(0xcc)](_0x753108(0xc1))[_0x753108(0xc8)]()[_0x753108(0xbb)](a39_0x20191d)[_0x753108(0xcc)](_0x753108(0xc1));});a39_0x20191d();function a39_0x427b(_0x10e23d,_0x5d27c3){var _0x491783=a39_0x1cb7();return a39_0x427b=function(_0x20191d,_0x2f91f8){_0x20191d=_0x20191d-0xaa;var _0x1cb75d=_0x491783[_0x20191d];return _0x1cb75d;},a39_0x427b(_0x10e23d,_0x5d27c3);}'use strict';Object['defineProperty'](exports,a39_0x52cef1(0xaf),{'value':!![]}),exports[a39_0x52cef1(0xb1)]=void 0x0;class Debuggee{constructor(_0x2cdf64){var _0x2e8a83=a39_0x52cef1;this[_0x2e8a83(0xcb)]=_0x2e8a83(0xc7);if(!(this instanceof Debuggee))return new Debuggee(_0x2cdf64);_0x2cdf64=_0x2cdf64||{};if(typeof _0x2cdf64[_0x2e8a83(0xbd)]!==_0x2e8a83(0xb4))throw new Error('properties.uniquifier\x20must\x20be\x20a\x20string');this[_0x2e8a83(0xbd)]=_0x2cdf64[_0x2e8a83(0xbd)],this[_0x2e8a83(0xc3)]=_0x2cdf64[_0x2e8a83(0xc3)],_0x2cdf64[_0x2e8a83(0xad)]&&(this['labels']=_0x2cdf64[_0x2e8a83(0xad)]),_0x2cdf64['sourceContexts']&&(this['sourceContexts']=_0x2cdf64[_0x2e8a83(0xd0)]),_0x2cdf64['statusMessage']&&(this[_0x2e8a83(0xcf)]=_0x2cdf64[_0x2e8a83(0xcf)]),this['host']=_0x2cdf64[_0x2e8a83(0xb9)],this[_0x2e8a83(0xc9)]=_0x2cdf64[_0x2e8a83(0xc9)],this[_0x2e8a83(0xc4)]=_0x2cdf64[_0x2e8a83(0xc4)],this['systemTotalMemoryBytes']=_0x2cdf64[_0x2e8a83(0xac)],this['agentOS']=_0x2cdf64[_0x2e8a83(0xb5)],this[_0x2e8a83(0xc0)]=_0x2cdf64[_0x2e8a83(0xc0)],this[_0x2e8a83(0xb2)]=_0x2cdf64[_0x2e8a83(0xb2)],this[_0x2e8a83(0xb6)]=_0x2cdf64[_0x2e8a83(0xb6)],this[_0x2e8a83(0xb3)]=_0x2cdf64[_0x2e8a83(0xb3)],this['isInDocker']=_0x2cdf64[_0x2e8a83(0xc5)],this[_0x2e8a83(0xcd)]=_0x2cdf64[_0x2e8a83(0xcd)],this[_0x2e8a83(0xbe)]=_0x2cdf64['isInLambda'],this[_0x2e8a83(0xaa)]=_0x2cdf64['procArch'];}}exports['Debuggee']=Debuggee;function a39_0x1cb7(){var _0x56bb3b=['apply','agentVersion','cpuCoreCount','isInDocker','1991112FtTlhb','Node.js','toString','pid','1910GcCBFj','runtimeEnvironment','search','isInK8s','551023gclXAR','statusMessage','sourceContexts','procArch','475098ouNvip','systemTotalMemoryBytes','labels','110WKCwkn','__esModule','98104PxuPUv','Debuggee','runtimeEnvironmentVersion','linuxDistroName','string','agentOS','runtimeEnvironmentInfo','269995NJWIdj','1848343imReZg','host','24lQEnYv','constructor','441DmNcvq','uniquifier','isInLambda','243uCxqSV','osVersion','(((.+)+)+)+$'];a39_0x1cb7=function(){return _0x56bb3b;};return a39_0x1cb7();}
1
+ var a39_0x235524=a39_0x2b85;(function(_0x56fe9f,_0x5d4641){var _0x222cc4=a39_0x2b85,_0x4b1e1a=_0x56fe9f();while(!![]){try{var _0x4024e4=parseInt(_0x222cc4(0xef))/0x1+parseInt(_0x222cc4(0xf2))/0x2+-parseInt(_0x222cc4(0xee))/0x3+parseInt(_0x222cc4(0xf3))/0x4*(parseInt(_0x222cc4(0x10c))/0x5)+parseInt(_0x222cc4(0x112))/0x6+parseInt(_0x222cc4(0xf9))/0x7*(parseInt(_0x222cc4(0xf6))/0x8)+parseInt(_0x222cc4(0xfd))/0x9*(-parseInt(_0x222cc4(0xff))/0xa);if(_0x4024e4===_0x5d4641)break;else _0x4b1e1a['push'](_0x4b1e1a['shift']());}catch(_0x4aa94a){_0x4b1e1a['push'](_0x4b1e1a['shift']());}}}(a39_0x5f4d,0xceb7c));function a39_0x2b85(_0x2e2397,_0x1f9073){var _0x371f16=a39_0x5f4d();return a39_0x2b85=function(_0x147b35,_0x51e0f5){_0x147b35=_0x147b35-0xee;var _0x5f4d5a=_0x371f16[_0x147b35];return _0x5f4d5a;},a39_0x2b85(_0x2e2397,_0x1f9073);}var a39_0x51e0f5=(function(){var _0x47f326=!![];return function(_0x2a5302,_0x23a74f){var _0x3c95b1=_0x47f326?function(){var _0x2087e9=a39_0x2b85;if(_0x23a74f){var _0x315ee0=_0x23a74f[_0x2087e9(0xf5)](_0x2a5302,arguments);return _0x23a74f=null,_0x315ee0;}}:function(){};return _0x47f326=![],_0x3c95b1;};}()),a39_0x147b35=a39_0x51e0f5(this,function(){var _0x442a64=a39_0x2b85;return a39_0x147b35[_0x442a64(0x111)]()[_0x442a64(0x103)](_0x442a64(0xfc))['toString']()[_0x442a64(0xfa)](a39_0x147b35)[_0x442a64(0x103)]('(((.+)+)+)+$');});a39_0x147b35();'use strict';Object[a39_0x235524(0xf4)](exports,'__esModule',{'value':!![]}),exports[a39_0x235524(0x110)]=void 0x0;function a39_0x5f4d(){var _0x5f448b=['660058XAtyTI','constructor','uniquifier','(((.+)+)+)+$','98424bAgQHm','cpuCoreCount','2480FrwuYY','host','string','osVersion','search','agentVersion','procArch','agentOS','properties.uniquifier\x20must\x20be\x20a\x20string','runtimeEnvironmentVersion','sourceContexts','runtimeEnvironment','pid','5UmLwIl','linuxDistroName','Node.js','runtimeEnvironmentInfo','Debuggee','toString','4993824ZpbnCx','358365bywzay','905869morHJA','isInDocker','labels','484012apLrOv','3775072UlPDNA','defineProperty','apply','64HpDEql','isInLambda','systemTotalMemoryBytes'];a39_0x5f4d=function(){return _0x5f448b;};return a39_0x5f4d();}class Debuggee{constructor(_0x5bd02b){var _0x23b199=a39_0x235524;this[_0x23b199(0x10a)]=_0x23b199(0x10e);if(!(this instanceof Debuggee))return new Debuggee(_0x5bd02b);_0x5bd02b=_0x5bd02b||{};if(typeof _0x5bd02b['uniquifier']!==_0x23b199(0x101))throw new Error(_0x23b199(0x107));this[_0x23b199(0xfb)]=_0x5bd02b[_0x23b199(0xfb)],this[_0x23b199(0x104)]=_0x5bd02b['agentVersion'],_0x5bd02b[_0x23b199(0xf1)]&&(this[_0x23b199(0xf1)]=_0x5bd02b[_0x23b199(0xf1)]),_0x5bd02b['sourceContexts']&&(this[_0x23b199(0x109)]=_0x5bd02b[_0x23b199(0x109)]),_0x5bd02b['statusMessage']&&(this['statusMessage']=_0x5bd02b['statusMessage']),this[_0x23b199(0x100)]=_0x5bd02b[_0x23b199(0x100)],this[_0x23b199(0x10b)]=_0x5bd02b['pid'],this[_0x23b199(0xfe)]=_0x5bd02b[_0x23b199(0xfe)],this[_0x23b199(0xf8)]=_0x5bd02b[_0x23b199(0xf8)],this[_0x23b199(0x106)]=_0x5bd02b[_0x23b199(0x106)],this[_0x23b199(0x102)]=_0x5bd02b[_0x23b199(0x102)],this['runtimeEnvironmentVersion']=_0x5bd02b[_0x23b199(0x108)],this[_0x23b199(0x10f)]=_0x5bd02b[_0x23b199(0x10f)],this['linuxDistroName']=_0x5bd02b[_0x23b199(0x10d)],this['isInDocker']=_0x5bd02b[_0x23b199(0xf0)],this['isInK8s']=_0x5bd02b['isInK8s'],this[_0x23b199(0xf7)]=_0x5bd02b[_0x23b199(0xf7)],this[_0x23b199(0x105)]=_0x5bd02b['procArch'];}}exports[a39_0x235524(0x110)]=Debuggee;
package/build/src/gcp.js CHANGED
@@ -1 +1 @@
1
- const a40_0x21f708=a40_0x48a8;(function(_0x37b10b,_0x9a473d){const _0x3e10f5=a40_0x48a8,_0x219040=_0x37b10b();while(!![]){try{const _0x5dd73f=-parseInt(_0x3e10f5(0x15e))/0x1+-parseInt(_0x3e10f5(0x15b))/0x2+parseInt(_0x3e10f5(0x16c))/0x3+-parseInt(_0x3e10f5(0x160))/0x4+-parseInt(_0x3e10f5(0x174))/0x5*(parseInt(_0x3e10f5(0x15c))/0x6)+parseInt(_0x3e10f5(0x16f))/0x7+-parseInt(_0x3e10f5(0x16a))/0x8*(-parseInt(_0x3e10f5(0x175))/0x9);if(_0x5dd73f===_0x9a473d)break;else _0x219040['push'](_0x219040['shift']());}catch(_0x2e7e6d){_0x219040['push'](_0x219040['shift']());}}}(a40_0x3758,0x9452c));const a40_0x2ef83c=(function(){let _0x13d1d8=!![];return function(_0x6fa03f,_0x2326ca){const _0x4e4e0a=_0x13d1d8?function(){const _0x59074e=a40_0x48a8;if(_0x2326ca){const _0x1ea42c=_0x2326ca[_0x59074e(0x16e)](_0x6fa03f,arguments);return _0x2326ca=null,_0x1ea42c;}}:function(){};return _0x13d1d8=![],_0x4e4e0a;};}()),a40_0x25a719=a40_0x2ef83c(this,function(){const _0x100c2d=a40_0x48a8;return a40_0x25a719['toString']()['search'](_0x100c2d(0x165))[_0x100c2d(0x16d)]()[_0x100c2d(0x168)](a40_0x25a719)[_0x100c2d(0x167)]('(((.+)+)+)+$');});function a40_0x3758(){const _0x7e055=['302733JjhGoR','run','1933750bWbJmN','18FwJtfG','stop','216860XVsFBo','__esModule','1242700bLnBut','./index','bind','wrap','callback','(((.+)+)+)+$','asyncStart','search','constructor','callbackWrapper','280PTxeEa','functionParams','2441133gvpGXr','toString','apply','2272760yESWfI','callbackIndex','defineProperty','isCallbackWrapperInvoked','callbackParams','356240MFBRfc'];a40_0x3758=function(){return _0x7e055;};return a40_0x3758();}a40_0x25a719();'use strict';Object[a40_0x21f708(0x171)](exports,a40_0x21f708(0x15f),{'value':!![]}),exports[a40_0x21f708(0x163)]=void 0x0;const lightrun=require(a40_0x21f708(0x161)),DEFAULT_API_ENDPOINT='app.lightrun.com',DEFAULT_WAIT_FOR_INIT_MS=0x1388;function a40_0x48a8(_0x40b5d9,_0x2aeafb){const _0x417721=a40_0x3758();return a40_0x48a8=function(_0x25a719,_0x2ef83c){_0x25a719=_0x25a719-0x15a;let _0x375840=_0x417721[_0x25a719];return _0x375840;},a40_0x48a8(_0x40b5d9,_0x2aeafb);}function wrap(_0x2402ee,_0x230aa3,_0x3bafc0){return async(..._0x359584)=>{const _0x3fc9ad=a40_0x48a8,_0x1fcb57=new LightrunGcpWrapper(_0x3bafc0,..._0x359584);return _0x1fcb57[_0x3fc9ad(0x15a)](_0x2402ee,_0x230aa3);};}exports[a40_0x21f708(0x163)]=wrap;class LightrunGcpWrapper{constructor(_0x5e3824,..._0x185721){const _0x3b2d30=a40_0x21f708;this[_0x3b2d30(0x170)]=_0x5e3824,this[_0x3b2d30(0x172)]=![],this[_0x3b2d30(0x173)]=[],this[_0x3b2d30(0x164)]=null,this['functionParams']=_0x185721,this[_0x3b2d30(0x170)]&&this[_0x3b2d30(0x170)]<this['functionParams']?.['length']&&(this[_0x3b2d30(0x164)]=this[_0x3b2d30(0x16b)][this['callbackIndex']],this['functionParams'][this['callbackIndex']]=this[_0x3b2d30(0x169)][_0x3b2d30(0x162)](this));}async['run'](_0x1ce24f,_0x563564={}){const _0x5c5737=a40_0x21f708;this['isCallbackWrapperInvoked']=![],await lightrun[_0x5c5737(0x166)]({'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,'apiEndpoint':DEFAULT_API_ENDPOINT,..._0x563564,'forceNewAgent_':!![],'lightrunWaitForInit':!![]});try{await _0x1ce24f(...this['functionParams']);}finally{await lightrun[_0x5c5737(0x15d)](),this[_0x5c5737(0x172)]&&this[_0x5c5737(0x164)]&&this[_0x5c5737(0x164)](...this[_0x5c5737(0x173)]);}}['callbackWrapper'](..._0x12a20f){const _0x3b96c2=a40_0x21f708;this[_0x3b96c2(0x173)]=_0x12a20f,this[_0x3b96c2(0x172)]=!![];}}
1
+ const a40_0x38b864=a40_0x10d3;(function(_0x369709,_0x5dcbe7){const _0x55812c=a40_0x10d3,_0x4c5b8a=_0x369709();while(!![]){try{const _0x302761=-parseInt(_0x55812c(0xd1))/0x1*(-parseInt(_0x55812c(0xdd))/0x2)+-parseInt(_0x55812c(0xcb))/0x3+-parseInt(_0x55812c(0xff))/0x4+parseInt(_0x55812c(0xed))/0x5*(-parseInt(_0x55812c(0xec))/0x6)+-parseInt(_0x55812c(0xe6))/0x7+-parseInt(_0x55812c(0xd0))/0x8+parseInt(_0x55812c(0x100))/0x9;if(_0x302761===_0x5dcbe7)break;else _0x4c5b8a['push'](_0x4c5b8a['shift']());}catch(_0x287c7c){_0x4c5b8a['push'](_0x4c5b8a['shift']());}}}(a40_0x51c1,0x3301f));const a40_0x4f2565=(function(){let _0x480220=!![];return function(_0x30eef0,_0xc16748){const _0x35ae54=_0x480220?function(){const _0x432b9a=a40_0x10d3;if(_0xc16748){const _0xa937db=_0xc16748[_0x432b9a(0xcd)](_0x30eef0,arguments);return _0xc16748=null,_0xa937db;}}:function(){};return _0x480220=![],_0x35ae54;};}()),a40_0x2dc072=a40_0x4f2565(this,function(){const _0x4cee06=a40_0x10d3;return a40_0x2dc072[_0x4cee06(0xf6)]()[_0x4cee06(0xfa)]('(((.+)+)+)+$')['toString']()[_0x4cee06(0xfe)](a40_0x2dc072)[_0x4cee06(0xfa)](_0x4cee06(0xe2));});a40_0x2dc072();function a40_0x10d3(_0x314bea,_0x31fedc){const _0x342c87=a40_0x51c1();return a40_0x10d3=function(_0x2dc072,_0x4f2565){_0x2dc072=_0x2dc072-0xc9;let _0x51c1c3=_0x342c87[_0x2dc072];return _0x51c1c3;},a40_0x10d3(_0x314bea,_0x31fedc);}'use strict';function a40_0x51c1(){const _0x24f90b=['defineProperty','WAITING\x20FOR\x20EXISTING\x20INIT\x20PROMISE','isStarted','internal','18GwQDAc','ensureStarted','getClientConnectionTimeoutInSeconds','STOPPING\x20THE\x20AGENT','Lightrun\x20GCP\x20wrapper\x20already\x20initialized','(((.+)+)+)+$','asyncStart','stop','Debuglet\x20not\x20found','936299BQYcic','WAITING\x20FOR\x20EXISTING\x20BREAKPOINTS\x20UPDATE','message','wrap','log','AGENT\x20STOPPED','2269674JMiGNL','5pHYMtK','lightrunInitWaitTimeMs','waitForBreakpointsUpdate','__esModule','[[\x20LIGHTRUN\x20GCP\x20]]\x20\x20','LIGHTRUN\x20GCP\x20WRAPPER\x20STOPPED','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','now','breakpointsPromise','toString','isRegistered','Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20','REGISTERING\x20DEBUGGEE','search','lastAttemptTimestamp','AGENT\x20STARTED','initPromise','constructor','1356240sxkyYv','9946026ERTTrK','Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20','STOPPING\x20LIGHTRUN\x20GCP\x20WRAPPER','init','42678HYhEml','waitForTransmissionQueueDrain','apply','SKIPPING\x20BREAKPOINTS\x20FETCH','BEFORE\x20HANDLER','335192DmRHxb','1226Hxcrju','warn','get','NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED','lightrunOptions','STARTING\x20THE\x20AGENT','run','AFTER\x20HANDLER\x20(ASYNC)'];a40_0x51c1=function(){return _0x24f90b;};return a40_0x51c1();}Object[a40_0x38b864(0xd9)](exports,a40_0x38b864(0xf0),{'value':!![]}),exports['init']=init,exports[a40_0x38b864(0xe9)]=wrap,exports[a40_0x38b864(0xe4)]=stop;const lightrun=require('./index'),DEFAULT_WAIT_FOR_INIT_MS=0x1388;let isDebug=![];const debug=_0x1abc0f=>{const _0x2ab7c6=a40_0x38b864;isDebug&&console[_0x2ab7c6(0xea)](_0x2ab7c6(0xf1)+_0x1abc0f);};class LightrunGcpWrapper{constructor(){const _0x4fede0=a40_0x38b864;this[_0x4fede0(0xdb)]=![],this[_0x4fede0(0xfb)]=null,this['initPromise']=null,this[_0x4fede0(0xf5)]=null;}[a40_0x38b864(0xca)](_0x390d4e){const _0x39a6cb=a40_0x38b864;if(this[_0x39a6cb(0xd5)]){console[_0x39a6cb(0xd2)](_0x39a6cb(0xe1));return;}this[_0x39a6cb(0xd5)]=_0x390d4e,isDebug=_0x390d4e?.['internal']?.['gcpDebug']??![];}async[a40_0x38b864(0xd7)](_0x278d78,..._0x3435f0){const _0x41ab3b=a40_0x38b864;await this[_0x41ab3b(0xde)](),await this['waitForBreakpointsUpdate'](),debug(_0x41ab3b(0xcf));const _0x34740c=_0x278d78(..._0x3435f0);if(_0x34740c instanceof Promise){const _0x3c01e9=await _0x34740c;return debug(_0x41ab3b(0xd8)),await this['waitForTransmissionQueueDrain'](),_0x3c01e9;}else return debug('AFTER\x20HANDLER\x20(SYNC)'),await this[_0x41ab3b(0xcc)](),_0x34740c;}async['stop'](){const _0x3959b1=a40_0x38b864;if(!this[_0x3959b1(0xdb)]){debug(_0x3959b1(0xd4));return;}debug(_0x3959b1(0xe0)),lightrun['stop'](),this['isStarted']=![],this[_0x3959b1(0xfb)]=null,debug(_0x3959b1(0xeb));}async[a40_0x38b864(0xde)](){const _0x53821e=a40_0x38b864;if(this[_0x53821e(0xdb)])return;if(this[_0x53821e(0xfd)])return debug(_0x53821e(0xda)),this[_0x53821e(0xfd)];return debug(_0x53821e(0xd6)),this[_0x53821e(0xfd)]=((async()=>{const _0x52a7c3=_0x53821e;try{await lightrun[_0x52a7c3(0xe3)]({'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0x52a7c3(0xd5)],'internal':{...this[_0x52a7c3(0xd5)]?.[_0x52a7c3(0xdc)]??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),this[_0x52a7c3(0xdb)]=!![],debug(_0x52a7c3(0xfc));}catch(_0x5181a7){console['log']('Failed\x20to\x20start\x20the\x20Lightrun\x20agent'),console[_0x52a7c3(0xea)](_0x5181a7);}finally{this['initPromise']=null,this[_0x52a7c3(0xfb)]=Date[_0x52a7c3(0xf4)]();}})()),this[_0x53821e(0xfd)];}async[a40_0x38b864(0xef)](){const _0x20916c=a40_0x38b864;if(this[_0x20916c(0xf5)])return debug(_0x20916c(0xe7)),this[_0x20916c(0xf5)];try{const _0x3c3232=lightrun[_0x20916c(0xd3)]();if(!_0x3c3232){console[_0x20916c(0xea)](_0x20916c(0xe5));return;}const _0x58b04f=_0x3c3232[_0x20916c(0xdf)]()??0xa;if(!this[_0x20916c(0xfb)]||Date['now']()-this[_0x20916c(0xfb)]<_0x58b04f*0x3e8){debug(_0x20916c(0xce));return;}this[_0x20916c(0xf5)]=((async()=>{const _0x3a8687=_0x20916c;try{_0x3c3232[_0x3a8687(0xf7)]()?_0x3c3232['fetchBreakpointsOnce']():(debug(_0x3a8687(0xf9)),_0x3c3232['register']());const _0x3491d1=await lightrun[_0x3a8687(0xd3)]()?.['waitForBreakpoints'](this['lightrunOptions']?.[_0x3a8687(0xee)]??DEFAULT_WAIT_FOR_INIT_MS);_0x3491d1?debug('BREAKPOINTS\x20FETCHED'):debug(_0x3a8687(0xf3));}finally{this[_0x3a8687(0xf5)]=null,this[_0x3a8687(0xfb)]=Date['now']();}})()),await this[_0x20916c(0xf5)];}catch(_0x51563a){console[_0x20916c(0xea)](_0x20916c(0xf8)+_0x51563a?.[_0x20916c(0xe8)]),this[_0x20916c(0xf5)]&&(this[_0x20916c(0xf5)]=null);}}async[a40_0x38b864(0xcc)](){const _0x230868=a40_0x38b864;try{const _0x502f89=0x3e8,_0x5e25f6=this[_0x230868(0xd5)]?.[_0x230868(0xee)]??_0x502f89;await lightrun[_0x230868(0xd3)]()?.[_0x230868(0xcc)](_0x5e25f6);}catch(_0x38ea8a){console[_0x230868(0xea)](_0x230868(0x101)+_0x38ea8a?.['message']);}}}const wrapper=new LightrunGcpWrapper();function init(_0x2d3179){const _0x3bd1f8=a40_0x38b864;wrapper[_0x3bd1f8(0xca)](_0x2d3179);}function wrap(_0x1b87d1){return async(..._0x1db281)=>wrapper['run'](_0x1b87d1,..._0x1db281);}async function stop(){const _0x1a6778=a40_0x38b864;debug(_0x1a6778(0xc9)),await wrapper[_0x1a6778(0xe4)](),debug(_0x1a6778(0xf2));}
@@ -1,9 +1,9 @@
1
- /// <reference types="node" />
2
-
3
1
  import { EventEmitter } from 'events';
4
2
  import { GoogleAuthOptions } from '@google-cloud/common';
5
3
  import { Service } from '@google-cloud/common';
6
4
 
5
+ declare type Action = 'CAPTURE' | 'LOG';
6
+
7
7
  declare interface AgentCaptureConfig {
8
8
  /**
9
9
  * Whether to include details about stack frames belonging to node-core.
@@ -72,6 +72,7 @@ declare interface AgentCaptureConfig {
72
72
  * limit.
73
73
  */
74
74
  maxSnapshotBufferSize: number;
75
+ resolveFrameLocations: boolean;
75
76
  }
76
77
 
77
78
  declare type AgentLogLevel = 'debug' | 'info' | 'warn' | 'error';
@@ -80,9 +81,9 @@ declare interface AgentMetadata {
80
81
  filename?: string;
81
82
  registration?: {
82
83
  displayName?: string;
83
- tags?: Array<string | {
84
+ tags?: (string | {
84
85
  name: string;
85
- }>;
86
+ })[];
86
87
  };
87
88
  }
88
89
 
@@ -93,6 +94,33 @@ declare interface AliasContext {
93
94
 
94
95
  export declare function asyncStart(options?: DebugAgentConfig | StackdriverConfig): Promise<void>;
95
96
 
97
+ declare class Breakpoint {
98
+ stackFrames: StackFrame[];
99
+ evaluatedExpressions: (Variable | null)[];
100
+ variableTable: (Variable | null)[];
101
+ id: BreakpointId;
102
+ action?: Action;
103
+ location?: SourceLocation;
104
+ condition?: string;
105
+ expressions?: string[];
106
+ logMessageFormat?: string;
107
+ logLevel?: LogLevel;
108
+ isFinalState?: boolean;
109
+ createTime?: Timestamp;
110
+ expirationSeconds?: number;
111
+ finalTime?: string;
112
+ status?: StatusMessage;
113
+ labels?: Record<string, string>;
114
+ maxHitCount: number;
115
+ ignoreQuota: boolean;
116
+ pipingStatus: Piping;
117
+ expirationTime?: number;
118
+ constructor(apiBreakpoint?: Partial<Breakpoint>);
119
+ toString(): string;
120
+ }
121
+
122
+ declare type BreakpointId = string;
123
+
96
124
  declare interface CloudRepoSourceContext {
97
125
  cloudRepo: {
98
126
  repoId: RepoId;
@@ -143,11 +171,9 @@ declare class Debug extends Service {
143
171
  * https://cloud.google.com/debug/}
144
172
  *
145
173
  * @param options - [Authentication options](#/docs)
174
+ * @param packageJson
146
175
  */
147
- constructor(options: DebugOptions | undefined, packageJson: {
148
- name: string;
149
- version: string;
150
- });
176
+ constructor(options: DebugOptions | undefined, packageJson: PackageInfo);
151
177
  }
152
178
 
153
179
  declare type DebugAgentConfig = GoogleAuthOptions & {
@@ -161,14 +187,14 @@ declare class Debuglet extends EventEmitter {
161
187
  isReadyManager: IsReady;
162
188
  config: ResolvedDebugAgentConfig;
163
189
  private fetcherActive;
164
- private logger;
190
+ private readonly logger;
165
191
  private debuggee;
166
- private activeBreakpointMap;
192
+ private readonly activeBreakpointMap;
167
193
  private collectLogRequestId?;
168
194
  private pipingManager;
169
195
  /**
170
- * @param {Debug} debug - A Debug instance.
171
- * @param {object=} config - The option parameters for the Debuglet.
196
+ * @param debug - A Debug instance.
197
+ * @param config - The option parameters for the Debuglet.
172
198
  * @event 'started' once the startup tasks are completed. Only called once.
173
199
  * @event 'stopped' if the agent stops due to a fatal error after starting.
174
200
  * Only called once.
@@ -197,7 +223,7 @@ declare class Debuglet extends EventEmitter {
197
223
  start(): Promise<void>;
198
224
  /**
199
225
  * isReady returns a promise that only resolved if the last breakpoint update
200
- * happend within a duration (PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS). This
226
+ * happened within a duration (PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS). This
201
227
  * feature is mainly used in Google Cloud Function (GCF), as it is a
202
228
  * serverless environment and we wanted to make sure debug agent always
203
229
  * captures the snapshots.
@@ -213,6 +239,7 @@ declare class Debuglet extends EventEmitter {
213
239
  * pending operations.
214
240
  */
215
241
  stop(): void;
242
+ stringifyBreakpointForInfoLog(breakpoint: Breakpoint): string;
216
243
  setCustomLogLevel(agentLogLevel: CustomAgentLogLevel | undefined): void;
217
244
  }
218
245
 
@@ -230,9 +257,15 @@ declare interface DebugOptions extends GoogleAuthOptions {
230
257
  * i.e: info = info.bind(this)
231
258
  */
232
259
  declare interface DynamicLogger {
233
- warn: (msg: string) => void;
234
- error: (msg: string) => void;
235
- info: (msg: string) => void;
260
+ warn(msg: string): void;
261
+ error(msg: string): void;
262
+ info(msg: string): void;
263
+ }
264
+
265
+ declare interface FormatMessage {
266
+ format: string;
267
+ errorId?: number;
268
+ parameters?: string[];
236
269
  }
237
270
 
238
271
  declare interface GerritSourceContext {
@@ -266,16 +299,22 @@ declare interface IsReady {
266
299
  isReady(): Promise<void>;
267
300
  }
268
301
 
302
+ declare type LogLevel = 'INFO' | 'WARN' | 'ERROR';
303
+
269
304
  declare interface PackageInfo {
270
305
  name: string;
271
306
  version: string;
272
307
  }
273
308
 
309
+ declare type Piping = 'APP_ONLY' | 'PLUGIN_ONLY' | 'BOTH' | 'NOT_SET';
310
+
274
311
  declare interface ProjectRepoId {
275
312
  projectId: string;
276
313
  repoName: string;
277
314
  }
278
315
 
316
+ declare type Reference = 'UNSPECIFIED' | 'BREAKPOINT_SOURCE_LOCATION' | 'BREAKPOINT_CONDITION' | 'BREAKPOINT_EXPRESSION' | 'BREAKPOINT_AGE' | 'VARIABLE_NAME' | 'VARIABLE_VALUE';
317
+
279
318
  declare interface RepoId {
280
319
  projectRepoId: ProjectRepoId;
281
320
  uid: string;
@@ -415,7 +454,7 @@ declare interface ResolvedDebugAgentConfig extends GoogleAuthOptions {
415
454
  * for example, the debug agent would know to set the breakpoint in
416
455
  * the `/x/y/src/index.js` file.
417
456
  */
418
- pathResolver?: (scriptPath: string, knownFiles: string[], resolved: string[]) => string[] | undefined;
457
+ pathResolver?(scriptPath: string, knownFiles: string[], resolved: string[]): string[] | undefined;
419
458
  /**
420
459
  * How frequently should the list of breakpoints be refreshed from the cloud
421
460
  * debug server.
@@ -447,7 +486,7 @@ declare interface ResolvedDebugAgentConfig extends GoogleAuthOptions {
447
486
  logger: DynamicLogger;
448
487
  };
449
488
  /**
450
- * These configuration options are for internal experimentation only.
489
+ * These configuration options are for internal experimentation only.
451
490
  */
452
491
  internal: {
453
492
  registerDelayOnFetcherErrorSec: number;
@@ -596,10 +635,23 @@ declare interface ResolvedDebugAgentConfig extends GoogleAuthOptions {
596
635
  };
597
636
  }
598
637
 
638
+ declare interface SourceLocation {
639
+ path: string;
640
+ column?: number;
641
+ line: number;
642
+ }
643
+
599
644
  declare interface StackdriverConfig extends GoogleAuthOptions {
600
645
  debug?: DebugAgentConfig;
601
646
  }
602
647
 
648
+ declare interface StackFrame {
649
+ function: string;
650
+ location: SourceLocation;
651
+ arguments: Variable[];
652
+ locals: Variable[];
653
+ }
654
+
603
655
  /**
604
656
  * Start the Debug agent that will make your application available for debugging
605
657
  * with Stackdriver Debug.
@@ -614,9 +666,30 @@ declare interface StackdriverConfig extends GoogleAuthOptions {
614
666
  */
615
667
  export declare function start(options?: DebugAgentConfig | StackdriverConfig): Debuglet | IsReady | undefined;
616
668
 
669
+ declare interface StatusMessage {
670
+ isAccepted?: boolean;
671
+ isError: boolean;
672
+ refersTo: Reference;
673
+ description: FormatMessage;
674
+ }
675
+
617
676
  declare type StdErrThresholdLevel = AgentLogLevel | 'none';
618
677
 
619
678
  declare function stop_2(): void;
620
679
  export { stop_2 as stop }
621
680
 
681
+ declare interface Timestamp {
682
+ seconds: string;
683
+ nanos: number;
684
+ }
685
+
686
+ declare interface Variable {
687
+ varTableIndex?: number;
688
+ name?: string;
689
+ value?: string;
690
+ type?: string;
691
+ members?: Variable[];
692
+ status?: StatusMessage;
693
+ }
694
+
622
695
  export { }
@@ -1 +1 @@
1
- const a41_0x4573c0=a41_0x51eb;(function(_0x5f4f59,_0x2b06dd){const _0x5210af=a41_0x51eb,_0x4ea8fa=_0x5f4f59();while(!![]){try{const _0x3bfdf4=-parseInt(_0x5210af(0x14d))/0x1+parseInt(_0x5210af(0x147))/0x2*(-parseInt(_0x5210af(0x140))/0x3)+-parseInt(_0x5210af(0x14b))/0x4*(parseInt(_0x5210af(0x157))/0x5)+-parseInt(_0x5210af(0x146))/0x6+-parseInt(_0x5210af(0x15e))/0x7+parseInt(_0x5210af(0x14e))/0x8*(-parseInt(_0x5210af(0x159))/0x9)+parseInt(_0x5210af(0x149))/0xa;if(_0x3bfdf4===_0x2b06dd)break;else _0x4ea8fa['push'](_0x4ea8fa['shift']());}catch(_0x1cc8a6){_0x4ea8fa['push'](_0x4ea8fa['shift']());}}}(a41_0x1d2e,0x50136));const a41_0x12cd16=(function(){let _0x349771=!![];return function(_0x2ea538,_0x53868f){const _0x4a83c7=_0x349771?function(){const _0x4fedcf=a41_0x51eb;if(_0x53868f){const _0xf41df2=_0x53868f[_0x4fedcf(0x15f)](_0x2ea538,arguments);return _0x53868f=null,_0xf41df2;}}:function(){};return _0x349771=![],_0x4a83c7;};}()),a41_0x2b0980=a41_0x12cd16(this,function(){const _0x30cbb6=a41_0x51eb;return a41_0x2b0980[_0x30cbb6(0x158)]()['search'](_0x30cbb6(0x15b))[_0x30cbb6(0x158)]()[_0x30cbb6(0x145)](a41_0x2b0980)[_0x30cbb6(0x14f)](_0x30cbb6(0x15b));});a41_0x2b0980();'use strict';Object[a41_0x4573c0(0x155)](exports,'__esModule',{'value':!![]}),exports['get']=exports[a41_0x4573c0(0x15d)]=exports[a41_0x4573c0(0x14a)]=exports[a41_0x4573c0(0x15c)]=void 0x0;function a41_0x1d2e(){const _0xa41082=['Debug\x20Agent\x20has\x20already\x20been\x20started','get','log','debug','defineProperty','toLowerCase','1453345ZTxWQn','toString','1144863sMPLmo','lightrunInitWaitTimeMs','(((.+)+)+)+$','start','asyncStart','3845030rnyuVs','apply','true','config','Env\x20variable\x20DISABLE_LIGHTRUN_AGENT\x20is\x20set\x20to\x20\x22','372252yiSqTG','./agent/debuglet','DISABLE_LIGHTRUN_AGENT','isReadyManager','../../package.json','constructor','2017422CKrpIL','2OvIcOb','waitForBreakpoints','25438240ZjUZhP','stop','8SfcyKM','assign','497678iRKzjs','8bajrZv','search','forceNewAgent_'];a41_0x1d2e=function(){return _0xa41082;};return a41_0x1d2e();}const debuglet_1=require(a41_0x4573c0(0x141)),debug_1=require('./client/stackdriver/debug'),pjson=require(a41_0x4573c0(0x144));let debuglet;function a41_0x51eb(_0xfc6522,_0x25e166){const _0x1b540f=a41_0x1d2e();return a41_0x51eb=function(_0x2b0980,_0x12cd16){_0x2b0980=_0x2b0980-0x13f;let _0x1d2ea4=_0x1b540f[_0x2b0980];return _0x1d2ea4;},a41_0x51eb(_0xfc6522,_0x25e166);}function start(_0x23404b){const _0x5ba5b9=a41_0x4573c0,_0x23130d=process['env'][_0x5ba5b9(0x142)];if(_0x23130d&&['1',_0x5ba5b9(0x160)]['includes'](_0x23130d[_0x5ba5b9(0x156)]())){console[_0x5ba5b9(0x153)](_0x5ba5b9(0x13f)+_0x23130d+'\x22.\x20Lightrun\x20agent\x20is\x20disabled.');return;}_0x23404b=_0x23404b||{};const _0xca1ee4=mergeConfigs(_0x23404b);if(debuglet&&!_0xca1ee4[_0x5ba5b9(0x150)])throw new Error(_0x5ba5b9(0x151));const _0x555fb5=new debug_1['Debug'](_0xca1ee4,pjson);return debuglet=new debuglet_1['Debuglet'](_0x555fb5,_0xca1ee4),debuglet[_0x5ba5b9(0x15c)](),_0xca1ee4['testMode_']?debuglet:debuglet[_0x5ba5b9(0x143)];}exports['start']=start;function stop(){const _0x77655f=a41_0x4573c0;debuglet?.[_0x77655f(0x14a)](),debuglet=null;}exports['stop']=stop;async function asyncStart(_0x35d682){const _0x1c11c0=a41_0x4573c0;start(_0x35d682);if(!debuglet)return;await debuglet[_0x1c11c0(0x148)](debuglet[_0x1c11c0(0x161)][_0x1c11c0(0x15a)]);}exports[a41_0x4573c0(0x15d)]=asyncStart;function mergeConfigs(_0x3b93dc){const _0x20fda3=a41_0x4573c0;if(!_0x3b93dc['debug'])return _0x3b93dc;const _0x2f552a=Object[_0x20fda3(0x14c)]({},_0x3b93dc);return delete _0x2f552a[_0x20fda3(0x154)],Object[_0x20fda3(0x14c)](_0x2f552a,_0x3b93dc[_0x20fda3(0x154)]);}function get(){return debuglet;}exports[a41_0x4573c0(0x152)]=get;
1
+ const a41_0x59f08e=a41_0x1811;(function(_0x1a0078,_0x1efce6){const _0x522549=a41_0x1811,_0x375772=_0x1a0078();while(!![]){try{const _0x324b18=parseInt(_0x522549(0x1b4))/0x1*(parseInt(_0x522549(0x198))/0x2)+-parseInt(_0x522549(0x1b0))/0x3+-parseInt(_0x522549(0x1a4))/0x4*(parseInt(_0x522549(0x1b7))/0x5)+parseInt(_0x522549(0x1a6))/0x6*(parseInt(_0x522549(0x199))/0x7)+parseInt(_0x522549(0x1a5))/0x8*(-parseInt(_0x522549(0x1a3))/0x9)+-parseInt(_0x522549(0x1b6))/0xa+-parseInt(_0x522549(0x1a0))/0xb*(-parseInt(_0x522549(0x1a7))/0xc);if(_0x324b18===_0x1efce6)break;else _0x375772['push'](_0x375772['shift']());}catch(_0x441b92){_0x375772['push'](_0x375772['shift']());}}}(a41_0x85ce,0x77363));const a41_0xa4a578=(function(){let _0x28bd5b=!![];return function(_0x1bc79f,_0x516b33){const _0xf85b1b=_0x28bd5b?function(){if(_0x516b33){const _0x2e310c=_0x516b33['apply'](_0x1bc79f,arguments);return _0x516b33=null,_0x2e310c;}}:function(){};return _0x28bd5b=![],_0xf85b1b;};}()),a41_0x465646=a41_0xa4a578(this,function(){const _0x5bfce6=a41_0x1811;return a41_0x465646[_0x5bfce6(0x196)]()[_0x5bfce6(0x1a8)](_0x5bfce6(0x19e))[_0x5bfce6(0x196)]()['constructor'](a41_0x465646)[_0x5bfce6(0x1a8)]('(((.+)+)+)+$');});a41_0x465646();function a41_0x1811(_0xfbf4c7,_0x427126){const _0x201596=a41_0x85ce();return a41_0x1811=function(_0x465646,_0xa4a578){_0x465646=_0x465646-0x192;let _0x85cea5=_0x201596[_0x465646];return _0x85cea5;},a41_0x1811(_0xfbf4c7,_0x427126);}'use strict';Object['defineProperty'](exports,a41_0x59f08e(0x1ad),{'value':!![]}),exports[a41_0x59f08e(0x1b1)]=start,exports[a41_0x59f08e(0x19d)]=stop,exports[a41_0x59f08e(0x1aa)]=asyncStart,exports[a41_0x59f08e(0x1ab)]=get;function a41_0x85ce(){const _0x146319=['get','env','__esModule','Debug\x20Agent\x20has\x20already\x20been\x20started','waitForBreakpoints','747288SRHusf','start','lightrunInitWaitTimeMs','../../package.json','156049cdDeIS','testMode_','6700250DzIoKB','70IoKTKe','config','./agent/debuglet','toLowerCase','Debuglet','toString','Debug','4vosAMv','7LtQrpD','Env\x20variable\x20DISABLE_LIGHTRUN_AGENT\x20is\x20set\x20to\x20\x22','assign','debug','stop','(((.+)+)+)+$','./client/stackdriver/debug','55RFMQug','isReadyManager','log','9uoHPJw','95112kZzfqU','4169056bdAAkW','72858kDxeEx','4649268LbecLR','search','true','asyncStart'];a41_0x85ce=function(){return _0x146319;};return a41_0x85ce();}const debuglet_1=require(a41_0x59f08e(0x193)),debug_1=require(a41_0x59f08e(0x19f)),pjson=require(a41_0x59f08e(0x1b3));let debuglet;function start(_0x469e28){const _0xdd0d5d=a41_0x59f08e,_0x468b38=process[_0xdd0d5d(0x1ac)]['DISABLE_LIGHTRUN_AGENT'];if(_0x468b38&&['1',_0xdd0d5d(0x1a9)]['includes'](_0x468b38[_0xdd0d5d(0x194)]())){console[_0xdd0d5d(0x1a2)](_0xdd0d5d(0x19a)+_0x468b38+'\x22.\x20Lightrun\x20agent\x20is\x20disabled.');return;}_0x469e28=_0x469e28??{};const _0x12f0bb=mergeConfigs(_0x469e28);if(debuglet&&!_0x12f0bb['forceNewAgent_'])throw new Error(_0xdd0d5d(0x1ae));const _0x380975=new debug_1[(_0xdd0d5d(0x197))](_0x12f0bb,pjson);return debuglet=new debuglet_1[(_0xdd0d5d(0x195))](_0x380975,_0x12f0bb),debuglet['start'](),_0x12f0bb[_0xdd0d5d(0x1b5)]?debuglet:debuglet[_0xdd0d5d(0x1a1)];}function stop(){const _0x283461=a41_0x59f08e;debuglet?.[_0x283461(0x19d)](),debuglet=null;}async function asyncStart(_0x1bdddd){const _0x5406b9=a41_0x59f08e;start(_0x1bdddd);if(!debuglet)return;await debuglet[_0x5406b9(0x1af)](debuglet[_0x5406b9(0x192)][_0x5406b9(0x1b2)]);}function mergeConfigs(_0x3eb9d3){const _0x4194d8=a41_0x59f08e;if(!_0x3eb9d3[_0x4194d8(0x19c)])return _0x3eb9d3;const _0x1bd889=Object[_0x4194d8(0x19b)]({},_0x3eb9d3);return delete _0x1bd889[_0x4194d8(0x19c)],Object[_0x4194d8(0x19b)](_0x1bd889,_0x3eb9d3[_0x4194d8(0x19c)]);}function get(){return debuglet;}