lightrun 1.68.0 → 1.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x7c4a5a=a0_0x3cf6;(function(_0x55e0ff,_0x408648){const _0x2981e8=a0_0x3cf6,_0x1d4a58=_0x55e0ff();while(!![]){try{const _0x4aef0b=parseInt(_0x2981e8(0x174))/0x1+parseInt(_0x2981e8(0x16c))/0x2+-parseInt(_0x2981e8(0x186))/0x3+parseInt(_0x2981e8(0x169))/0x4+parseInt(_0x2981e8(0x18b))/0x5+parseInt(_0x2981e8(0x16a))/0x6+-parseInt(_0x2981e8(0x170))/0x7*(parseInt(_0x2981e8(0x187))/0x8);if(_0x4aef0b===_0x408648)break;else _0x1d4a58['push'](_0x1d4a58['shift']());}catch(_0x24addc){_0x1d4a58['push'](_0x1d4a58['shift']());}}}(a0_0x28b2,0xa3550));const a0_0x1db3da=(function(){let _0x3befb0=!![];return function(_0x4633bc,_0x27e1a2){const _0x115ee3=_0x3befb0?function(){const _0x19beae=a0_0x3cf6;if(_0x27e1a2){const _0x2b94d5=_0x27e1a2[_0x19beae(0x166)](_0x4633bc,arguments);return _0x27e1a2=null,_0x2b94d5;}}:function(){};return _0x3befb0=![],_0x115ee3;};}()),a0_0x65a233=a0_0x1db3da(this,function(){const _0x5df914=a0_0x3cf6;return a0_0x65a233[_0x5df914(0x16e)]()[_0x5df914(0x172)]('(((.+)+)+)+$')[_0x5df914(0x16e)]()[_0x5df914(0x17b)](a0_0x65a233)[_0x5df914(0x172)]('(((.+)+)+)+$');});a0_0x65a233();'use strict';function a0_0x28b2(){const _0x3bda5c=['AGENT_LOG_FILE','logger','padStart','getSeconds','constructor','pid','debug','initialLogLevel','level','winston-daily-rotate-file','.log','getMonth','getDate','error','getInitialLevel','2358258UYsVKJ','1624nEGDkf','transports','default','getLevel','3399270rmEemW','getHours','apply','getFullYear','warn','4531296tyeeUi','3247002UHMhBj','__esModule','2017224wIqtja','createLogger','toString','winston','79226zsMvKC','format','search','toUpperCase','390191UTcEnu',']\x20-\x20','defineProperty'];a0_0x28b2=function(){return _0x3bda5c;};return a0_0x28b2();}Object[a0_0x7c4a5a(0x176)](exports,a0_0x7c4a5a(0x16b),{'value':!![]});const winston_1=require(a0_0x7c4a5a(0x16f)),DailyRotateFile=require(a0_0x7c4a5a(0x180)),process_1=require('process'),{combine,printf,timestamp}=winston_1[a0_0x7c4a5a(0x171)],{Console}=winston_1[a0_0x7c4a5a(0x188)],now=new Date();function getLoggerTransport(_0xc0832f,_0x1745c0,_0x30ef26){const _0x288957=a0_0x7c4a5a;if(_0xc0832f)return new DailyRotateFile({'dirname':_0xc0832f,'filename':AgentLogger[_0x288957(0x177)],'datePattern':now[_0x288957(0x167)]()[_0x288957(0x16e)]()+now[_0x288957(0x182)]()[_0x288957(0x16e)]()[_0x288957(0x179)](0x2,'0')+now[_0x288957(0x183)]()[_0x288957(0x16e)]()[_0x288957(0x179)](0x2,'0')+'-'+now[_0x288957(0x18c)]()[_0x288957(0x16e)]()[_0x288957(0x179)](0x2,'0')+now['getMinutes']()['toString']()[_0x288957(0x179)](0x2,'0')+now[_0x288957(0x17a)]()[_0x288957(0x16e)]()['padStart'](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x288957(0x177)],'maxSize':_0x1745c0+'m','maxFiles':_0x30ef26,'extension':_0x288957(0x181)});return new Console();}function a0_0x3cf6(_0x46f629,_0x10b000){const _0x48898b=a0_0x28b2();return a0_0x3cf6=function(_0x65a233,_0x1db3da){_0x65a233=_0x65a233-0x166;let _0x28b2a8=_0x48898b[_0x65a233];return _0x28b2a8;},a0_0x3cf6(_0x46f629,_0x10b000);}class AgentLogger{constructor(_0x9a7274,_0xacd6c0,_0xbe866e,_0x38b538,_0x2b8d6a){const _0x246a90=a0_0x7c4a5a;this['initialLogLevel']=_0x38b538,this[_0x246a90(0x178)]=(0x0,winston_1[_0x246a90(0x16d)])({'level':_0x38b538,'transports':[getLoggerTransport(_0x9a7274,_0xacd6c0,_0xbe866e),new Console({'level':_0x2b8d6a,'stderrLevels':[_0x246a90(0x17d),'info',_0x246a90(0x168),'error']})],'format':combine(timestamp(),printf(({level:_0x2ea472,message:_0x5664c6,timestamp:_0x3bb6f8})=>{const _0x3f6707=_0x246a90;return _0x3bb6f8+'\x20['+_0x2ea472[_0x3f6707(0x173)]()+_0x3f6707(0x175)+_0x5664c6;}),winston_1[_0x246a90(0x171)]['json']())});}static[a0_0x7c4a5a(0x16d)](_0x13d055,_0x250a7e,_0x5c8058,_0x2a6392,_0x34a2be){return new AgentLogger(_0x13d055,_0x250a7e,_0x5c8058,_0x2a6392,_0x34a2be);}[a0_0x7c4a5a(0x17d)](..._0x4b06d0){const _0x453a03=a0_0x7c4a5a;this[_0x453a03(0x178)][_0x453a03(0x17d)](_0x4b06d0);}['info'](..._0x4b377b){this['logger']['info'](_0x4b377b);}[a0_0x7c4a5a(0x168)](..._0x189b32){const _0x55cedd=a0_0x7c4a5a;this['logger'][_0x55cedd(0x168)](_0x189b32);}[a0_0x7c4a5a(0x184)](..._0x2034d2){const _0x373d3f=a0_0x7c4a5a;this['logger'][_0x373d3f(0x184)](_0x2034d2);}[a0_0x7c4a5a(0x18a)](){const _0x2a8d8e=a0_0x7c4a5a;return this[_0x2a8d8e(0x178)][_0x2a8d8e(0x17f)];}['setLevel'](_0x285853){const _0x344f54=a0_0x7c4a5a;this[_0x344f54(0x178)][_0x344f54(0x17f)]=_0x285853;}[a0_0x7c4a5a(0x185)](){const _0x48ef79=a0_0x7c4a5a;return this[_0x48ef79(0x17e)];}}AgentLogger[a0_0x7c4a5a(0x177)]='lightrun_nodejs_agent.'+process_1[a0_0x7c4a5a(0x17c)]+'.%DATE%',exports[a0_0x7c4a5a(0x189)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0xedcfd4=a1_0xc176;(function(_0x2ba861,_0x2cdb98){const _0x2312fc=a1_0xc176,_0x542e31=_0x2ba861();while(!![]){try{const _0x2d27c6=-parseInt(_0x2312fc(0x1aa))/0x1*(-parseInt(_0x2312fc(0x1a5))/0x2)+parseInt(_0x2312fc(0x19e))/0x3+-parseInt(_0x2312fc(0x1a3))/0x4*(-parseInt(_0x2312fc(0x1b0))/0x5)+-parseInt(_0x2312fc(0x1a4))/0x6*(-parseInt(_0x2312fc(0x1a2))/0x7)+-parseInt(_0x2312fc(0x19a))/0x8+-parseInt(_0x2312fc(0x19d))/0x9+parseInt(_0x2312fc(0x199))/0xa*(parseInt(_0x2312fc(0x1a6))/0xb);if(_0x2d27c6===_0x2cdb98)break;else _0x542e31['push'](_0x542e31['shift']());}catch(_0x4f9283){_0x542e31['push'](_0x542e31['shift']());}}}(a1_0x3dbe,0xdaf2a));const a1_0x29149a=(function(){let _0x373638=!![];return function(_0x45748c,_0x510529){const _0x5284ba=_0x373638?function(){const _0x448d04=a1_0xc176;if(_0x510529){const _0x33f735=_0x510529[_0x448d04(0x1b2)](_0x45748c,arguments);return _0x510529=null,_0x33f735;}}:function(){};return _0x373638=![],_0x5284ba;};}()),a1_0x3d2288=a1_0x29149a(this,function(){const _0x590469=a1_0xc176;return a1_0x3d2288[_0x590469(0x1a0)]()[_0x590469(0x1ae)](_0x590469(0x19b))[_0x590469(0x1a0)]()[_0x590469(0x1a8)](a1_0x3d2288)[_0x590469(0x1ae)](_0x590469(0x19b));});a1_0x3d2288();function a1_0xc176(_0x538d0f,_0x4592f5){const _0x4c53f1=a1_0x3dbe();return a1_0xc176=function(_0x3d2288,_0x29149a){_0x3d2288=_0x3d2288-0x197;let _0x3dbe38=_0x4c53f1[_0x3d2288];return _0x3dbe38;},a1_0xc176(_0x538d0f,_0x4592f5);}function a1_0x3dbe(){const _0xf26425=['10823274fuNpPY','4096452culLBa','BlocklistingPatterns','toString','length','161287fZxNRI','4TDjNJh','222EIzgir','2DCOuRX','4932433TtosAn','forEach','constructor','match','307917DHkiYj','inversePatterns','push','defineProperty','search','patterns','430030juQRhV','__esModule','apply','substring','matches','20JmvuCv','11274672DFVNNR','(((.+)+)+)+$','some'];a1_0x3dbe=function(){return _0xf26425;};return a1_0x3dbe();}'use strict';Object[a1_0xedcfd4(0x1ad)](exports,a1_0xedcfd4(0x1b1),{'value':!![]}),exports[a1_0xedcfd4(0x19f)]=void 0x0;class BlocklistingPatterns{constructor(_0x4b8612){const _0x32bd5d=a1_0xedcfd4;this[_0x32bd5d(0x1ab)]=[],this[_0x32bd5d(0x1af)]=[],_0x4b8612&&_0x4b8612[_0x32bd5d(0x1a7)](_0x5c0ae1=>{const _0x39d952=_0x32bd5d;_0x5c0ae1&&(_0x5c0ae1[0x0]==='!'?this[_0x39d952(0x1ab)][_0x39d952(0x1ac)](new RegExp(_0x5c0ae1[_0x39d952(0x197)](0x1))):this[_0x39d952(0x1af)][_0x39d952(0x1ac)](new RegExp(_0x5c0ae1)));});}[a1_0xedcfd4(0x198)](_0x57465f){const _0x1fcbf2=a1_0xedcfd4,_0x134401=_0x254147=>_0x57465f[_0x1fcbf2(0x1a9)](_0x254147);return this[_0x1fcbf2(0x1ab)][_0x1fcbf2(0x1a1)]!==0x0&&!this[_0x1fcbf2(0x1ab)]['some'](_0x134401)||this[_0x1fcbf2(0x1af)][_0x1fcbf2(0x19c)](_0x134401);}}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x589745=a2_0x1a39;(function(_0x240add,_0x543ab3){var _0x5773f4=a2_0x1a39,_0x3b81a4=_0x240add();while(!![]){try{var _0x4c83ae=-parseInt(_0x5773f4(0x83))/0x1*(parseInt(_0x5773f4(0x88))/0x2)+parseInt(_0x5773f4(0x8f))/0x3+parseInt(_0x5773f4(0x90))/0x4*(parseInt(_0x5773f4(0x87))/0x5)+-parseInt(_0x5773f4(0x8e))/0x6+-parseInt(_0x5773f4(0x91))/0x7*(parseInt(_0x5773f4(0x8d))/0x8)+-parseInt(_0x5773f4(0x8b))/0x9+-parseInt(_0x5773f4(0x84))/0xa*(-parseInt(_0x5773f4(0x93))/0xb);if(_0x4c83ae===_0x543ab3)break;else _0x3b81a4['push'](_0x3b81a4['shift']());}catch(_0x20be21){_0x3b81a4['push'](_0x3b81a4['shift']());}}}(a2_0x2bb4,0x7ece3));var a2_0x61bf34=(function(){var _0x848dd3=!![];return function(_0x8415ef,_0x379fc4){var _0x452c2f=_0x848dd3?function(){var _0x51b9bd=a2_0x1a39;if(_0x379fc4){var _0x18c9e7=_0x379fc4[_0x51b9bd(0x89)](_0x8415ef,arguments);return _0x379fc4=null,_0x18c9e7;}}:function(){};return _0x848dd3=![],_0x452c2f;};}()),a2_0x326b0a=a2_0x61bf34(this,function(){var _0x3dc8fb=a2_0x1a39;return a2_0x326b0a[_0x3dc8fb(0x85)]()[_0x3dc8fb(0x8a)]('(((.+)+)+)+$')[_0x3dc8fb(0x85)]()['constructor'](a2_0x326b0a)['search'](_0x3dc8fb(0x8c));});function a2_0x2bb4(){var _0x51b56c=['318894wrydWD','2468931yuFPfj','4lODzaH','260743fzqHHR','value','8589108FIIhaU','shouldBlock','DummyBlocklistManager','88XTgaQf','10xufvCq','toString','__esModule','2554055YXGccM','22118KHafda','apply','search','91305ZSsUqx','(((.+)+)+)+$','120aiWBbS'];a2_0x2bb4=function(){return _0x51b56c;};return a2_0x2bb4();}a2_0x326b0a();'use strict';function a2_0x1a39(_0x78ee5b,_0x5c4cea){var _0x9aad68=a2_0x2bb4();return a2_0x1a39=function(_0x326b0a,_0x61bf34){_0x326b0a=_0x326b0a-0x81;var _0x2bb4f1=_0x9aad68[_0x326b0a];return _0x2bb4f1;},a2_0x1a39(_0x78ee5b,_0x5c4cea);}Object['defineProperty'](exports,a2_0x589745(0x86),{'value':!![]}),exports[a2_0x589745(0x82)]=void 0x0;class DummyBlocklistManager{constructor(_0x494299){this['value']=_0x494299;}[a2_0x589745(0x81)](){var _0x12a896=a2_0x589745;return this[_0x12a896(0x92)];}}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x2f74(){const _0x1e567b=['12OELedy','constructor','stripWorkingDir','matches','23383188jUxTKm','toString','876916upnSlO','search','blocklist','1838332Eiwzkq','853785FjYqul','1231810lqiqmO','BlocklistingPatterns','9odUEEQ','PatternsBlocklistManager','config','apply','(((.+)+)+)+$','./blocklisting-patterns','defineProperty','isPathInCurrentWorkingDirectory','2660476JQTWdh','__esModule','9544288LNXnhW','stripCurrentWorkingDirectory'];a3_0x2f74=function(){return _0x1e567b;};return a3_0x2f74();}const a3_0x158d5a=a3_0x417c;(function(_0x241283,_0x5afcd7){const _0x4b1415=a3_0x417c,_0x1ce0d6=_0x241283();while(!![]){try{const _0x354b41=-parseInt(_0x4b1415(0x94))/0x1+-parseInt(_0x4b1415(0x99))/0x2+-parseInt(_0x4b1415(0x9b))/0x3*(-parseInt(_0x4b1415(0x97))/0x4)+parseInt(_0x4b1415(0x98))/0x5+-parseInt(_0x4b1415(0x8e))/0x6*(parseInt(_0x4b1415(0x8a))/0x7)+-parseInt(_0x4b1415(0x8c))/0x8+parseInt(_0x4b1415(0x92))/0x9;if(_0x354b41===_0x5afcd7)break;else _0x1ce0d6['push'](_0x1ce0d6['shift']());}catch(_0x27afa8){_0x1ce0d6['push'](_0x1ce0d6['shift']());}}}(a3_0x2f74,0xab4cd));const a3_0x5c968a=(function(){let _0x3e51a9=!![];return function(_0xe044a7,_0x94f8b7){const _0x3bc0cf=_0x3e51a9?function(){const _0x2c239e=a3_0x417c;if(_0x94f8b7){const _0x10ee3c=_0x94f8b7[_0x2c239e(0x9e)](_0xe044a7,arguments);return _0x94f8b7=null,_0x10ee3c;}}:function(){};return _0x3e51a9=![],_0x3bc0cf;};}()),a3_0x23a4fc=a3_0x5c968a(this,function(){const _0x5078de=a3_0x417c;return a3_0x23a4fc[_0x5078de(0x93)]()[_0x5078de(0x95)](_0x5078de(0x9f))[_0x5078de(0x93)]()[_0x5078de(0x8f)](a3_0x23a4fc)[_0x5078de(0x95)](_0x5078de(0x9f));});a3_0x23a4fc();'use strict';function a3_0x417c(_0x42506f,_0x18f5bb){const _0x4fd2f7=a3_0x2f74();return a3_0x417c=function(_0x23a4fc,_0x5c968a){_0x23a4fc=_0x23a4fc-0x89;let _0x2f7408=_0x4fd2f7[_0x23a4fc];return _0x2f7408;},a3_0x417c(_0x42506f,_0x18f5bb);}Object[a3_0x158d5a(0xa1)](exports,a3_0x158d5a(0x8b),{'value':!![]}),exports[a3_0x158d5a(0x9c)]=void 0x0;const blocklisting_patterns_1=require(a3_0x158d5a(0xa0)),utils=require('../util/utils');class PatternsBlocklistManager{constructor(_0x3ecea6,_0x47d924,_0x411e3f){const _0x5b605d=a3_0x158d5a;this[_0x5b605d(0x96)]=new blocklisting_patterns_1[(_0x5b605d(0x9a))](_0x3ecea6),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x5b605d(0x9a))](_0x47d924),this[_0x5b605d(0x9d)]=_0x411e3f;}['shouldBlock'](_0x16ca0b){const _0x4184d9=a3_0x158d5a;_0x16ca0b=this[_0x4184d9(0x90)](_0x16ca0b);if(this['blocklistExceptions']['matches'](_0x16ca0b))return![];return this['blocklist'][_0x4184d9(0x91)](_0x16ca0b);}[a3_0x158d5a(0x90)](_0x470ce1){const _0xfae94b=a3_0x158d5a;if(utils[_0xfae94b(0x89)](_0x470ce1,this['config']))return utils[_0xfae94b(0x8d)](_0x470ce1,this['config']);return _0x470ce1;}}exports[a3_0x158d5a(0x9c)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a4_0x260d0a=a4_0x3e70;(function(_0x198d0c,_0x1b313b){const _0x5a1b0b=a4_0x3e70,_0x4fad55=_0x198d0c();while(!![]){try{const _0x4c6462=parseInt(_0x5a1b0b(0x8d))/0x1+parseInt(_0x5a1b0b(0x80))/0x2+-parseInt(_0x5a1b0b(0x9d))/0x3+parseInt(_0x5a1b0b(0x8f))/0x4*(-parseInt(_0x5a1b0b(0x87))/0x5)+-parseInt(_0x5a1b0b(0x84))/0x6+parseInt(_0x5a1b0b(0xa1))/0x7+-parseInt(_0x5a1b0b(0x83))/0x8*(-parseInt(_0x5a1b0b(0xab))/0x9);if(_0x4c6462===_0x1b313b)break;else _0x4fad55['push'](_0x4fad55['shift']());}catch(_0x835aad){_0x4fad55['push'](_0x4fad55['shift']());}}}(a4_0x5f11,0x7eac1));const a4_0x491672=(function(){let _0x5a8393=!![];return function(_0x53c36b,_0x4cac98){const _0x35bf14=_0x5a8393?function(){const _0x424bdd=a4_0x3e70;if(_0x4cac98){const _0x5036cd=_0x4cac98[_0x424bdd(0x98)](_0x53c36b,arguments);return _0x4cac98=null,_0x5036cd;}}:function(){};return _0x5a8393=![],_0x35bf14;};}()),a4_0x26ce0f=a4_0x491672(this,function(){const _0x5dc6a3=a4_0x3e70;return a4_0x26ce0f[_0x5dc6a3(0x8b)]()[_0x5dc6a3(0xb0)](_0x5dc6a3(0x96))[_0x5dc6a3(0x8b)]()[_0x5dc6a3(0xb1)](a4_0x26ce0f)[_0x5dc6a3(0xb0)](_0x5dc6a3(0x96));});a4_0x26ce0f();'use strict';Object[a4_0x260d0a(0xac)](exports,a4_0x260d0a(0x7f),{'value':!![]}),exports[a4_0x260d0a(0xa9)]=exports[a4_0x260d0a(0x9e)]=exports['configSchema']=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x260d0a(0xaa));exports[a4_0x260d0a(0x90)]=(0x0,yup_1[a4_0x260d0a(0x85)])()[a4_0x260d0a(0x97)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x260d0a(0xad)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x260d0a(0xad)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x260d0a(0xad)])(),'capture':(0x0,yup_1[a4_0x260d0a(0x85)])()['shape']({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxProperties':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxVariableDepth':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxWatchProperties':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxDataSize':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxStringLength':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxVariableSize':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxSnapshotBufferSize':(0x0,yup_1['number'])()}),'internal':(0x0,yup_1[a4_0x260d0a(0x85)])()[a4_0x260d0a(0x97)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x260d0a(0xad)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x260d0a(0xa0)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x260d0a(0xa0)])(),'testMode_':(0x0,yup_1[a4_0x260d0a(0xa0)])(),'apiEndpoint':(0x0,yup_1[a4_0x260d0a(0xa3)])(),'lightrunSecret':(0x0,yup_1[a4_0x260d0a(0xa3)])(),'agentLog':(0x0,yup_1['object'])()[a4_0x260d0a(0x97)]({'agentLogTargetDir':(0x0,yup_1[a4_0x260d0a(0xa3)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x260d0a(0xad)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x260d0a(0xad)])(),'agentLogLevel':(0x0,yup_1[a4_0x260d0a(0xa3)])()['oneOf']([a4_0x260d0a(0x8e),a4_0x260d0a(0x94),a4_0x260d0a(0xa7),a4_0x260d0a(0x93)]),'stdErrThreshold':(0x0,yup_1['string'])()[a4_0x260d0a(0x89)]([a4_0x260d0a(0x8e),a4_0x260d0a(0x94),'warn',a4_0x260d0a(0x93),a4_0x260d0a(0x8a)]),'collectCooldownMs':(0x0,yup_1['number'])(),'maxLogFileBytes':(0x0,yup_1[a4_0x260d0a(0xad)])()}),'pinnedCerts':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x260d0a(0xa3)])()),'noCheckCertificate':(0x0,yup_1[a4_0x260d0a(0xa0)])(),'caPath':(0x0,yup_1[a4_0x260d0a(0xa3)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x260d0a(0xad)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1['number'])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x260d0a(0xad)])(),'quota':(0x0,yup_1[a4_0x260d0a(0x85)])()[a4_0x260d0a(0x97)]({'maxConditionCost':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxCPUCost':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x260d0a(0xad)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x260d0a(0xad)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1['number'])()}),'agentConfigFile':(0x0,yup_1[a4_0x260d0a(0xa3)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x260d0a(0xa0)])(),'resetV8DebuggerThreshold':(0x0,yup_1['number'])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x260d0a(0xa0)])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1[a4_0x260d0a(0xae)])()['of']((0x0,yup_1[a4_0x260d0a(0xa3)])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1[a4_0x260d0a(0x85)])()[a4_0x260d0a(0x97)]({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1[a4_0x260d0a(0xad)])(),'username':(0x0,yup_1[a4_0x260d0a(0xa3)])(),'password':(0x0,yup_1['string'])()})}),exports[a4_0x260d0a(0x9e)]={'workingDirectory':process[a4_0x260d0a(0x88)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x260d0a(0x9a)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x260d0a(0x81),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x260d0a(0xa6)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x260d0a(0x94),'stdErrThreshold':a4_0x260d0a(0x8a),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x260d0a(0xa2),a4_0x260d0a(0x9c)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x260d0a(0xa5)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x260d0a(0xa4),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x599bf9,_0x1383f8)=>{const _0x1ae7f1=a4_0x260d0a,_0x5b89e5=Object[_0x1ae7f1(0xaf)](_0x599bf9?.[_0x1ae7f1(0xa8)]??[]);_0x5b89e5['length']&&_0x5b89e5['forEach'](_0x170d18=>{_0x1383f8['error'](_0x170d18);});},logConfigWarnings=(_0x8fcca7,_0x4f09a2)=>{const _0x2bbc32=a4_0x260d0a;_0x8fcca7['warnings']?.[_0x2bbc32(0x8c)](_0x1cd463=>{const _0x5336bd=_0x2bbc32;_0x4f09a2[_0x5336bd(0xa7)](_0x1cd463);});};function a4_0x5f11(){const _0x2ae7b0=['configSchema','not\x20set!','!!!\x20NOT\x20SET\x20!!!','error','info',',\x20\x20\x20the\x20file\x20','(((.+)+)+)+$','shape','apply','DOESN\x27T\x20EXIST','.js','existsSync','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','2132103PuvkCD','defaultConfig','agentConfigFile','boolean','2788464aMyDIc','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','string','agent.config','Production','tmpdir','warn','errors','logMainConfigParams','yup','2165202dtmLon','defineProperty','number','array','values','search','constructor','__esModule','1314724uqntwC','app.lightrun.com','set','16XBJLJL','208158MreOWt','object','lightrunSecret','13655RPIOst','cwd','oneOf','none','toString','forEach','287228CiyjrN','debug','820PnhUan'];a4_0x5f11=function(){return _0x2ae7b0;};return a4_0x5f11();}function a4_0x3e70(_0x26e690,_0x336309){const _0x34d6c0=a4_0x5f11();return a4_0x3e70=function(_0x26ce0f,_0x491672){_0x26ce0f=_0x26ce0f-0x7f;let _0x5f114c=_0x34d6c0[_0x26ce0f];return _0x5f114c;},a4_0x3e70(_0x26e690,_0x336309);}function logMainConfigParams(_0x29601f,_0x1766cf){const _0x526dec=a4_0x260d0a;let _0x46bd7a=_0x29601f[_0x526dec(0x9f)];_0x46bd7a?_0x46bd7a+=_0x526dec(0x95)+((0x0,fs_1[_0x526dec(0x9b)])(_0x29601f['agentConfigFile'])?'exists':_0x526dec(0x99)):_0x46bd7a=_0x526dec(0x91);const _0x333ca0={..._0x29601f,'lightrunSecret':_0x29601f[_0x526dec(0x86)]?_0x526dec(0x82):_0x526dec(0x92),'agentConfigFile':_0x46bd7a};_0x1766cf[_0x526dec(0x8e)]('Agent\x20Configuration:\x20',_0x333ca0),logConfigWarnings(_0x29601f,_0x1766cf),logConfigErrors(_0x29601f,_0x1766cf);}exports[a4_0x260d0a(0xa9)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x287b52=a5_0x421b;(function(_0x1989ae,_0x5cb560){var _0x32a9c0=a5_0x421b,_0x8e392b=_0x1989ae();while(!![]){try{var _0x464c2f=-parseInt(_0x32a9c0(0x203))/0x1*(parseInt(_0x32a9c0(0x1e9))/0x2)+-parseInt(_0x32a9c0(0x1f4))/0x3*(parseInt(_0x32a9c0(0x1fd))/0x4)+parseInt(_0x32a9c0(0x1ed))/0x5+-parseInt(_0x32a9c0(0x1f6))/0x6*(parseInt(_0x32a9c0(0x1ec))/0x7)+parseInt(_0x32a9c0(0x1f0))/0x8*(-parseInt(_0x32a9c0(0x205))/0x9)+parseInt(_0x32a9c0(0x1f3))/0xa+parseInt(_0x32a9c0(0x1f2))/0xb*(parseInt(_0x32a9c0(0x1fc))/0xc);if(_0x464c2f===_0x5cb560)break;else _0x8e392b['push'](_0x8e392b['shift']());}catch(_0x2d7eb5){_0x8e392b['push'](_0x8e392b['shift']());}}}(a5_0xf294,0xeb81b));var a5_0x3a92ff=(function(){var _0x49a2e1=!![];return function(_0x2ad75f,_0x505485){var _0x102cff=_0x49a2e1?function(){var _0x589576=a5_0x421b;if(_0x505485){var _0x40466c=_0x505485[_0x589576(0x1f5)](_0x2ad75f,arguments);return _0x505485=null,_0x40466c;}}:function(){};return _0x49a2e1=![],_0x102cff;};}()),a5_0x5c8248=a5_0x3a92ff(this,function(){var _0x41ba8d=a5_0x421b;return a5_0x5c8248['toString']()[_0x41ba8d(0x204)](_0x41ba8d(0x1ee))[_0x41ba8d(0x1ea)]()[_0x41ba8d(0x1f9)](a5_0x5c8248)[_0x41ba8d(0x204)]('(((.+)+)+)+$');});a5_0x5c8248();'use strict';Object[a5_0x287b52(0x200)](exports,a5_0x287b52(0x1fe),{'value':!![]}),exports[a5_0x287b52(0x1e7)]=void 0x0;function a5_0x421b(_0xa807d5,_0x2ab6cc){var _0x4428a9=a5_0xf294();return a5_0x421b=function(_0x5c8248,_0x3a92ff){_0x5c8248=_0x5c8248-0x1e5;var _0xf29484=_0x4428a9[_0x5c8248];return _0xf29484;},a5_0x421b(_0xa807d5,_0x2ab6cc);}class ConfigurationProvider{constructor(_0x2621ef){var _0x26a1d7=a5_0x287b52;this[_0x26a1d7(0x1ff)]=_0x2621ef;}[a5_0x287b52(0x1f7)](){var _0x28e5d2=a5_0x287b52;return this[_0x28e5d2(0x1ff)]['capture'][_0x28e5d2(0x1f1)]||this[_0x28e5d2(0x1ff)][_0x28e5d2(0x202)][_0x28e5d2(0x1eb)];}[a5_0x287b52(0x201)](){var _0x2aba47=a5_0x287b52;return this[_0x2aba47(0x1ff)][_0x2aba47(0x202)][_0x2aba47(0x1fa)];}[a5_0x287b52(0x1e8)](){var _0xad6a36=a5_0x287b52;return this['resolvedDebugAgentConfig'][_0xad6a36(0x202)][_0xad6a36(0x1e5)]||this[_0xad6a36(0x1ff)]['capture'][_0xad6a36(0x1ef)];}[a5_0x287b52(0x1f8)](_0x172966){var _0xf4e699=a5_0x287b52;return _0x172966?this[_0xf4e699(0x1ff)]['capture'][_0xf4e699(0x1fb)]:this[_0xf4e699(0x1ff)]['capture'][_0xf4e699(0x1e6)];}}function a5_0xf294(){var _0x2f8ac0=['toString','maxVariableSize','3437sLchly','2087090AGSzBX','(((.+)+)+)+$','maxSnapshotBufferSize','104JwfaeY','maxStringLength','7711OeyHqJ','6944010vEgOmV','3flkhPW','apply','11466lGwflW','getMaxVariableSize','getMaxProperties','constructor','maxWatchListVariableSize','maxWatchProperties','69060KjkuFN','5125904JHhWsl','__esModule','resolvedDebugAgentConfig','defineProperty','getMaxWatchListVariableSize','capture','1nkDPnZ','search','62199boTspu','maxDataSize','maxProperties','ConfigurationProvider','getMaxSnapshotBufferSize','3743638GtthkR'];a5_0xf294=function(){return _0x2f8ac0;};return a5_0xf294();}exports[a5_0x287b52(0x1e7)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x39ac(){const _0x32f503=['digest','/debuggees/','/log/','Update\x20for\x20breakpoints\x20','collectCooldownMs','includes','host','zlib','\x20size\x20is\x20','size','sendAgentLogsToServer','WritableStream','4tFNyPr','ascii','username','deregister','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','debuggee','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','proxy','password','bind','/compressedLogFileV2/','status','apply','constructor','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','floor','Agent','makeRequest','shift','maxLogFileBytes','now','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','573476IIeRlC','Breakpoint\x20','Certificate\x20Pinning\x20Failed!','850797vTGzxP','port','serializedJson','/breakpoints?','application/json','\x20Error:\x20','finally','/blacklist?successOnTimeout=true','register','push','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','3996715TzMPrx','enqueueBreakpointUpdate','abort','warn','signal','2753952GtaZPj','lastLogCollectionTime','error','waitToken','Controller','Failed\x20to\x20read\x20pem\x20file\x20\x22','getJsonStringSizeInBytes','load','stringify','axios','response','POST','./util/utils','toString','unknown\x20error\x20-\x20request\x20response\x20missing','Failed\x20to\x20zip\x20','204Mdikcq','Using\x20proxy\x20configuration:\x20','/appOnlyActionHits/','apiUrl','logger','stop','https-proxy-agent','transmissionTimeout','/deregister/','breakpointId:\x20','uri','info','hex','(((.+)+)+)+$','createSecureContext','__esModule','data','createGzip','failed\x20to\x20serialize\x20breakpoint\x20','extend','transmissionQueue','transmissionBulkMaxSize','crypto','map','assert','context','number','/controller','transmitBreakpointUpdates','agentLog','default','join','\x22\x20-\x20ignoring\x20it','\x20for\x20request\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20',',\x20username:\x20','\x20finished\x20with\x20status\x20','createHash','1115554mwQTaY','unable\x20to\x20register,\x20status\x20','querystring','/redaction','noCheckCertificate','48jMwOME','Successfully\x20sent\x20log\x20file\x20','search','6FFIxNX','1wPulpw','breakpoint\x20','callback','\x20and\x20enqueue\x20to\x20queue','secureContext','caPath','https://','defineProperty','PUT','config','3755024vakGpO',',\x20Message:\x20','9921500DImmzz','transmissionBulkMaxNetworkSizeInBytes','reject','addCACert','pinnedCerts','js-yaml','then','lightrunSecret','memory-streams','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','getRedactions','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','@google-cloud/common','debug','message','/breakpoints','createReadStream','timeout\x20set\x20to\x20','sendAppOnlyBreakpointHitsToServer','length','Compressing\x20and\x20sending\x20log\x20file\x20','nextWaitToken','\x20transmitted\x20successfully','listBreakpointsAbortController','listBreakpoints','readFileSync','Failed\x20to\x20send\x20log\x20file\x20','invalid\x20response\x20body\x20from\x20server','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'];a6_0x39ac=function(){return _0x32f503;};return a6_0x39ac();}const a6_0x56491d=a6_0x3c91;(function(_0x49a8db,_0x5ba5f9){const _0x420be1=a6_0x3c91,_0x3b7f1d=_0x49a8db();while(!![]){try{const _0x3e6c22=parseInt(_0x420be1(0x223))/0x1*(-parseInt(_0x420be1(0x1d1))/0x2)+parseInt(_0x420be1(0x1e4))/0x3*(parseInt(_0x420be1(0x1bb))/0x4)+-parseInt(_0x420be1(0x1df))/0x5*(parseInt(_0x420be1(0x222))/0x6)+parseInt(_0x420be1(0x190))/0x7+-parseInt(_0x420be1(0x21f))/0x8*(parseInt(_0x420be1(0x1d4))/0x9)+-parseInt(_0x420be1(0x192))/0xa+parseInt(_0x420be1(0x21a))/0xb*(parseInt(_0x420be1(0x1f4))/0xc);if(_0x3e6c22===_0x5ba5f9)break;else _0x3b7f1d['push'](_0x3b7f1d['shift']());}catch(_0x23e366){_0x3b7f1d['push'](_0x3b7f1d['shift']());}}}(a6_0x39ac,0x82221));const a6_0x404885=(function(){let _0x313224=!![];return function(_0x37a701,_0x34e6c2){const _0x592de9=_0x313224?function(){const _0x264bfa=a6_0x3c91;if(_0x34e6c2){const _0xf461ec=_0x34e6c2[_0x264bfa(0x1c7)](_0x37a701,arguments);return _0x34e6c2=null,_0xf461ec;}}:function(){};return _0x313224=![],_0x592de9;};}()),a6_0x44558f=a6_0x404885(this,function(){const _0x43ca6e=a6_0x3c91;return a6_0x44558f[_0x43ca6e(0x1f1)]()[_0x43ca6e(0x221)](_0x43ca6e(0x201))['toString']()[_0x43ca6e(0x1c8)](a6_0x44558f)[_0x43ca6e(0x221)](_0x43ca6e(0x201));});a6_0x44558f();function a6_0x3c91(_0x58d20,_0x35f6ac){const _0x509392=a6_0x39ac();return a6_0x3c91=function(_0x44558f,_0x404885){_0x44558f=_0x44558f-0x18f;let _0x39ac13=_0x509392[_0x44558f];return _0x39ac13;},a6_0x3c91(_0x58d20,_0x35f6ac);}'use strict';Object[a6_0x56491d(0x22a)](exports,a6_0x56491d(0x203),{'value':!![]}),exports[a6_0x56491d(0x1e8)]=void 0x0;const common_1=require(a6_0x56491d(0x19e)),assert=require(a6_0x56491d(0x20c)),qs=require(a6_0x56491d(0x21c)),fs_1=require('fs'),crypto_1=require(a6_0x56491d(0x20a)),zlib_1=require(a6_0x56491d(0x1b6)),stream_1=require('stream'),memory_streams_1=require(a6_0x56491d(0x19a)),tls_1=require('tls'),extend=require(a6_0x56491d(0x207)),axios_1=require(a6_0x56491d(0x1ed)),https=require('https'),utils_1=require(a6_0x56491d(0x1f0)),HttpsProxyAgent=require(a6_0x56491d(0x1fa)),yaml=require(a6_0x56491d(0x197)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x582a4f,_0x31fb64,_0x4758f9){const _0x47e865=a6_0x56491d;super({'parent':_0x582a4f,'baseUrl':_0x47e865(0x20f)}),this[_0x47e865(0x1a7)]=null,this['config']=_0x31fb64,this[_0x47e865(0x208)]=[],this['logger']=_0x4758f9,this[_0x47e865(0x1f7)]=_0x47e865(0x229)+_0x31fb64['apiEndpoint']+_0x47e865(0x1b0),this[_0x47e865(0x1ed)]=axios_1[_0x47e865(0x212)]['create']({'httpsAgent':getProxyAgent(_0x31fb64,_0x4758f9)??new https[(_0x47e865(0x1cb))](getHttpsAgentOptions(_0x31fb64,_0x4758f9)),'proxy':![]});}[a6_0x56491d(0x1dc)](_0x3bd195,_0x556616){const _0x1aecca=a6_0x56491d,_0x587c19={'uri':this[_0x1aecca(0x1f7)]+_0x1aecca(0x1dc),'method':_0x1aecca(0x1ef),'json':!![],'body':{'debuggee':_0x3bd195}};this[_0x1aecca(0x1cc)](_0x587c19,(_0x19d98e,_0x14762a,_0x8ee21f)=>{const _0x1567a5=_0x1aecca;if(!_0x8ee21f)_0x556616(_0x19d98e||new Error(_0x1567a5(0x1f2)));else{if(_0x19d98e){let _0x42db7b=![];_0x8ee21f[_0x1567a5(0x1c6)]===HTTP_UPGRADE_REQUIRED&&_0x14762a&&(_0x14762a[_0x1567a5(0x1a0)]!==undefined&&(_0x19d98e[_0x1567a5(0x1a0)]=_0x14762a[_0x1567a5(0x1a0)]),_0x3bd195['id']=_0x14762a['debuggee']['id'],_0x42db7b=!![]),_0x556616(_0x19d98e,_0x14762a,_0x42db7b);}else{if(_0x8ee21f[_0x1567a5(0x1c6)]!==HTTP_SUCCESS)_0x556616(new Error(_0x1567a5(0x21b)+_0x8ee21f[_0x1567a5(0x1c6)]));else!_0x14762a?.[_0x1567a5(0x1c0)]?_0x556616(new Error(_0x1567a5(0x1ad))):(_0x3bd195['id']=_0x14762a['debuggee']['id'],_0x556616(null,_0x14762a));}}});}[a6_0x56491d(0x1aa)](_0x117fd2,_0x50674c,_0x594764){const _0x2b4edf=a6_0x56491d,_0x315e00=this;assert(_0x117fd2['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0xaa25f8={'successOnTimeout':!![]};_0x315e00[_0x2b4edf(0x1a7)]&&(_0xaa25f8[_0x2b4edf(0x1e7)]=_0x315e00[_0x2b4edf(0x1a7)]);const _0x21588f=this[_0x2b4edf(0x1f7)]+encodeURIComponent(_0x117fd2['id'])+_0x2b4edf(0x1d7)+qs[_0x2b4edf(0x1ec)](_0xaa25f8);_0x315e00[_0x2b4edf(0x1cc)]({'uri':_0x21588f,'json':!![]},(_0x48a3f4,_0x428cf5,_0x365dfa)=>{const _0x4c507e=_0x2b4edf;if(!_0x365dfa){_0x50674c(_0x48a3f4||new Error(_0x4c507e(0x1f2)));return;}else{if(!is2xx(_0x365dfa[_0x4c507e(0x1c6)])){_0x50674c(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x365dfa[_0x4c507e(0x1c6)]),_0x365dfa);return;}else _0x428cf5&&(_0x315e00['nextWaitToken']=_0x428cf5[_0x4c507e(0x1a7)]),_0x50674c(null,_0x365dfa,_0x428cf5);}},_0x594764,this[_0x2b4edf(0x1a9)]=new AbortController());}[a6_0x56491d(0x1e0)](_0xba1c7f,_0x43ad89){const _0x5a0b8c=a6_0x56491d;assert(_0xba1c7f['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x378f08=JSON['stringify'](_0x43ad89),_0x414a74=(0x0,utils_1[_0x5a0b8c(0x1ea)])(_0x378f08);if(_0x414a74>=this[_0x5a0b8c(0x18f)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x5a0b8c(0x1f8)]['warn'](_0x5a0b8c(0x1fd)+_0x43ad89['id']+_0x5a0b8c(0x1b7)+_0x414a74+_0x5a0b8c(0x1c1)+this['config']['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this['transmissionQueue'][_0x5a0b8c(0x1dd)]({'id':_0x43ad89['id'],'serializedJson':_0x378f08,'number':0x0});if(!this['transmissionTimeout']){const _0x2576aa=this;this[_0x5a0b8c(0x1fb)]=setTimeout(()=>_0x2576aa[_0x5a0b8c(0x210)][_0x5a0b8c(0x1c4)](_0x2576aa)(_0xba1c7f['id']),0x0);}}catch(_0x4fdfb0){this[_0x5a0b8c(0x1f8)][_0x5a0b8c(0x1e6)](_0x5a0b8c(0x206)+_0x43ad89['id']+_0x5a0b8c(0x226),_0x4fdfb0);return;}}[a6_0x56491d(0x1f9)](){const _0x2f00ee=a6_0x56491d;this[_0x2f00ee(0x1a9)]?.[_0x2f00ee(0x1e1)](),this[_0x2f00ee(0x1a9)]=undefined;if(!this[_0x2f00ee(0x1fb)])return;clearTimeout(this[_0x2f00ee(0x1fb)]),this[_0x2f00ee(0x1fb)]=null;}[a6_0x56491d(0x1be)](_0x49e415,_0x411600){const _0x7d86b4=a6_0x56491d,_0x59fda2=this[_0x7d86b4(0x1f7)]+encodeURIComponent(_0x49e415['id'])+_0x7d86b4(0x1fc),_0x6c299e={'uri':_0x59fda2,'method':_0x7d86b4(0x1ef),'json':!![]};this[_0x7d86b4(0x1f8)][_0x7d86b4(0x1ff)]('Deregister\x20agent\x20before\x20shutdown'),this[_0x7d86b4(0x1cc)](_0x6c299e,(_0x341cd6,_0x34d81c,_0x103f0c)=>{const _0x5413e6=_0x7d86b4;(!_0x103f0c||Math[_0x5413e6(0x1ca)](_0x103f0c['status']/0x64)!==0x2)&&this[_0x5413e6(0x1f8)][_0x5413e6(0x1e2)](_0x5413e6(0x1de)+_0x341cd6),_0x411600(_0x341cd6);});}['sendBreakpointLogsToServer'](_0x24d967,_0xdcaf66,_0x4e7a37){const _0x153979=a6_0x56491d,_0x396603=this[_0x153979(0x1f7)]+encodeURIComponent(_0x24d967['id'])+_0x153979(0x1b1),_0x5616ba={'uri':_0x396603,'method':_0x153979(0x1ef),'json':!![],'body':_0xdcaf66};this[_0x153979(0x1cc)](_0x5616ba,(_0x2d7ec0,_0x1ddd92,_0x3ce2c3)=>{const _0xbdd6b9=_0x153979;(!_0x3ce2c3||Math['floor'](_0x3ce2c3[_0xbdd6b9(0x1c6)]/0x64)!==0x2)&&(this[_0xbdd6b9(0x1f8)][_0xbdd6b9(0x1e2)](_0xbdd6b9(0x1ae)+_0x2d7ec0),_0x4e7a37(_0x2d7ec0));});}[a6_0x56491d(0x1a4)](_0x26ffcd,_0x4a19f3,_0x9a32ce){const _0x4e7a29=a6_0x56491d,_0x5cca84=this[_0x4e7a29(0x1f7)]+encodeURIComponent(_0x26ffcd['id'])+_0x4e7a29(0x1f6),_0xdf47e4={'uri':_0x5cca84,'method':_0x4e7a29(0x1ef),'json':!![],'body':_0x4a19f3};this[_0x4e7a29(0x1cc)](_0xdf47e4,(_0xc33191,_0x31e4f4,_0x229016)=>{const _0x52aa01=_0x4e7a29;(!_0x229016||Math['floor'](_0x229016[_0x52aa01(0x1c6)]/0x64)!==0x2)&&(this[_0x52aa01(0x1f8)][_0x52aa01(0x1e2)](_0x52aa01(0x1d0)+_0xc33191),_0x9a32ce(_0xc33191));});}[a6_0x56491d(0x1b9)](_0x40f4e9,_0x47ae93,_0x3ff73f){const _0x24b1cf=a6_0x56491d;assert(_0x40f4e9['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x5b56ec=Date[_0x24b1cf(0x1cf)](),_0x13a044=this[_0x24b1cf(0x1e5)]+this['config'][_0x24b1cf(0x211)][_0x24b1cf(0x1b3)];if(_0x5b56ec<_0x13a044){this[_0x24b1cf(0x1f8)][_0x24b1cf(0x1ff)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x13a044-_0x5b56ec)/0x3e8+'\x20seconds'));return;}}const _0xcb9ceb=(0x0,fs_1['statSync'])(_0x3ff73f)[_0x24b1cf(0x1b8)],_0x43674f=Math['max'](0x0,_0xcb9ceb-this['config']['agentLog'][_0x24b1cf(0x1ce)]),_0x2dd51c=(0x0,fs_1[_0x24b1cf(0x1a2)])(_0x3ff73f,{'start':_0x43674f}),_0x784373=(0x0,zlib_1[_0x24b1cf(0x205)])(),_0x3f186b=new memory_streams_1[(_0x24b1cf(0x1ba))](),_0x3c16a2=this;_0x3c16a2[_0x24b1cf(0x1f8)][_0x24b1cf(0x1ff)](_0x24b1cf(0x1a6)+_0x3ff73f+'\x20for\x20request\x20id\x20'+_0x47ae93),(0x0,stream_1['pipeline'])(_0x2dd51c,_0x784373,_0x3f186b,_0x407513=>{const _0x52df26=_0x24b1cf;if(_0x407513)_0x3c16a2[_0x52df26(0x1f8)][_0x52df26(0x1e6)](_0x52df26(0x1f3)+_0x3ff73f+':\x20'+_0x407513);else{const _0x5d01f9={'uri':this['apiUrl']+encodeURIComponent(_0x40f4e9['id'])+_0x52df26(0x1c5)+_0x47ae93,'method':_0x52df26(0x22b),'body':_0x3f186b['toBuffer'](),'headers':{'Content-Type':'application/octet-stream'}};_0x3c16a2[_0x52df26(0x1cc)](_0x5d01f9,_0x20ade5=>{const _0x1603eb=_0x52df26;_0x20ade5?_0x3c16a2[_0x1603eb(0x1f8)][_0x1603eb(0x1e6)](_0x1603eb(0x1ac)+_0x3ff73f+_0x1603eb(0x215)+_0x47ae93,_0x20ade5):(_0x3c16a2[_0x1603eb(0x1f8)][_0x1603eb(0x1ff)](_0x1603eb(0x220)+_0x3ff73f+_0x1603eb(0x215)+_0x47ae93),_0x3c16a2[_0x1603eb(0x1e5)]=Date[_0x1603eb(0x1cf)]());});}});}[a6_0x56491d(0x210)](_0x1a986f){const _0x30c702=a6_0x56491d;this[_0x30c702(0x1f8)][_0x30c702(0x19f)]('Transmitting\x20breakpoint\x20updates...'),this[_0x30c702(0x1fb)]=undefined;const _0x276ba0=[];let _0xfd04cb=0x0;while(_0x276ba0['length']<this[_0x30c702(0x18f)][_0x30c702(0x209)]&&this[_0x30c702(0x208)][_0x30c702(0x1a5)]>0x0){const _0x1db981=this[_0x30c702(0x208)][0x0],_0x1f1512=_0x1db981[_0x30c702(0x1d6)],_0x373e20=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x1f1512);_0xfd04cb+=_0x373e20;if(_0xfd04cb<=this[_0x30c702(0x18f)]['transmissionBulkMaxNetworkSizeInBytes'])_0x276ba0[_0x30c702(0x1dd)](_0x1db981),this['transmissionQueue'][_0x30c702(0x1cd)]();else{_0x373e20>this['config']['transmissionBulkMaxNetworkSizeInBytes']&&_0x276ba0[_0x30c702(0x1a5)]===0x0&&(this[_0x30c702(0x1f8)][_0x30c702(0x19f)](_0x30c702(0x224)+_0x1db981['id']+_0x30c702(0x216)+this['config'][_0x30c702(0x193)]+',\x20sending\x20only\x20one'),_0x276ba0[_0x30c702(0x1dd)](_0x1db981),this[_0x30c702(0x208)][_0x30c702(0x1cd)]());break;}}if(!_0x276ba0)return;const _0x5dd529=_0x276ba0[_0x30c702(0x20b)](_0x416102=>_0x416102['id']),_0x2ac272={'uri':this[_0x30c702(0x1f7)]+encodeURIComponent(_0x1a986f)+_0x30c702(0x1a1),'json':!![],'method':_0x30c702(0x22b),'body':'['+_0x276ba0[_0x30c702(0x20b)](_0x1f9af6=>_0x1f9af6[_0x30c702(0x1d6)])[_0x30c702(0x213)](',')+']'},_0x15ef36=this;try{this[_0x30c702(0x1cc)](_0x2ac272,(_0x1b660c,_0x2e1359,_0x1d95ec)=>{const _0x246e1f=_0x30c702,_0x23b74e=_0x1d95ec?.[_0x246e1f(0x1c6)];_0x15ef36[_0x246e1f(0x1f8)][_0x246e1f(0x19f)](_0x246e1f(0x1b2)+_0x5dd529+_0x246e1f(0x218)+_0x23b74e);if(_0x1b660c||!_0x23b74e||Math[_0x246e1f(0x1ca)](_0x23b74e/0x64)!==0x2){const _0x236ec0=_0x23b74e&&(_0x23b74e>=0x1f4||_0x23b74e===0x198);if(_0x236ec0){_0x15ef36[_0x246e1f(0x1f8)][_0x246e1f(0x1e2)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x5dd529+_0x246e1f(0x19d)+_0x23b74e+_0x246e1f(0x1d9)+_0x1b660c);for(const _0x2a88b3 of _0x276ba0){_0x2a88b3[_0x246e1f(0x20e)]<MAX_FAILED_SEND_ATTEMPTS?_0x15ef36[_0x246e1f(0x208)][_0x246e1f(0x1dd)]({..._0x2a88b3,'number':_0x2a88b3['number']+0x1}):_0x15ef36[_0x246e1f(0x1f8)]['warn'](_0x246e1f(0x1d2)+_0x2a88b3['id']+_0x246e1f(0x1bf));}}else _0x15ef36[_0x246e1f(0x1f8)][_0x246e1f(0x1e2)](_0x246e1f(0x19b)+_0x5dd529+_0x246e1f(0x19d)+_0x23b74e+_0x246e1f(0x1d9)+_0x1b660c);}else _0x15ef36['logger'][_0x246e1f(0x1ff)](_0x246e1f(0x1b2)+_0x5dd529+_0x246e1f(0x1a8));_0x15ef36['transmissionQueue'][_0x246e1f(0x1a5)]>0x0&&(_0x15ef36['transmissionTimeout']=setTimeout(()=>_0x15ef36[_0x246e1f(0x210)][_0x246e1f(0x1c4)](_0x15ef36)(_0x1a986f),0x0));},0x28);}catch(_0x5a62df){this[_0x30c702(0x1f8)]['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x5dd529+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x5a62df+_0x30c702(0x191)+_0x5a62df[_0x30c702(0x204)]?.[_0x30c702(0x1a0)]),_0x15ef36['transmissionQueue'][_0x30c702(0x1a5)]>0x0&&(_0x15ef36[_0x30c702(0x1fb)]=setTimeout(()=>_0x15ef36[_0x30c702(0x210)]['bind'](_0x15ef36)(_0x1a986f),0x0));}}async['getBlocklist'](_0x3d873f){const _0x28cfe8=a6_0x56491d;this[_0x28cfe8(0x1f8)][_0x28cfe8(0x1ff)]('Getting\x20blocklist');const _0x4a6bbb=this[_0x28cfe8(0x1f7)]+encodeURIComponent(_0x3d873f)+_0x28cfe8(0x1db),{error:_0x13a3a5,data:_0x227d4a}=await this[_0x28cfe8(0x1cc)]({'uri':_0x4a6bbb,'json':!![]});if(_0x13a3a5)return Promise[_0x28cfe8(0x194)](_0x13a3a5);return yaml[_0x28cfe8(0x1eb)](_0x227d4a)||{};}[a6_0x56491d(0x1cc)](_0x1d5da6,_0x28237f,_0x359940,_0x2ee1e2,_0x14eced){const _0x32bd01=a6_0x56491d,_0x192877={'Content-Type':_0x14eced?_0x14eced:_0x32bd01(0x1d8),'Authorization':'Bearer\x20'+this['config'][_0x32bd01(0x199)]},_0x951b0b=_0x2ee1e2??new AbortController(),_0x5d71f0=_0x359940?_0x359940*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x32bd01(0x1f8)][_0x32bd01(0x19f)](_0x32bd01(0x1a3)+_0x5d71f0);const _0x3771f2=setTimeout(()=>{const _0x11566f=_0x32bd01;this[_0x11566f(0x1f8)][_0x11566f(0x1e2)]('Timeout\x20occurred\x20after\x20'+_0x5d71f0+'ms'),_0x951b0b[_0x11566f(0x1e1)]();},_0x5d71f0),_0x181145={'method':_0x1d5da6['method'],'url':_0x1d5da6[_0x32bd01(0x1fe)],'data':_0x1d5da6['body'],'headers':_0x192877,'signal':_0x951b0b[_0x32bd01(0x1e3)]};return extend(!![],_0x181145,_0x1d5da6),this[_0x32bd01(0x1ed)]['request'](_0x181145)[_0x32bd01(0x198)](_0x4ca28e=>{const _0x3ac320=_0x32bd01;return _0x28237f?.(null,_0x4ca28e[_0x3ac320(0x204)],_0x4ca28e),{'error':null,'data':_0x4ca28e[_0x3ac320(0x204)],'res':_0x4ca28e};})['catch'](_0x28e556=>{const _0x22be48=_0x32bd01;return _0x28237f?.(_0x28e556,_0x28e556[_0x22be48(0x1ee)]?.[_0x22be48(0x204)],_0x28e556[_0x22be48(0x1ee)]),{'error':_0x28e556,'data':_0x28e556['response']?.['data'],'res':_0x28e556['response']};})[_0x32bd01(0x1da)](()=>clearTimeout(_0x3771f2));}async[a6_0x56491d(0x19c)](_0x61bda7){const _0x25afa2=a6_0x56491d;this[_0x25afa2(0x1f8)]['info']('Getting\x20reductions');const _0x19aac5=this['apiUrl']+encodeURIComponent(_0x61bda7)+_0x25afa2(0x21d),{error:_0x305d4e,data:_0xc3e9f8}=await this['makeRequest']({'uri':_0x19aac5,'json':!![]});if(_0x305d4e)return Promise[_0x25afa2(0x194)](_0x305d4e);return _0xc3e9f8;}}exports['Controller']=Controller;function is2xx(_0x1bd6da){const _0x560637=a6_0x56491d;return Math[_0x560637(0x1ca)](_0x1bd6da/0x64)===0x2;}function getProxyAgent(_0x4241f2,_0x3bb4ef){const _0x57ff86=a6_0x56491d,_0x32d428=_0x4241f2[_0x57ff86(0x1c2)];if(!_0x32d428?.[_0x57ff86(0x1b5)])return undefined;if(!_0x32d428['port'])return _0x3bb4ef[_0x57ff86(0x1e6)](_0x57ff86(0x1c9)),undefined;_0x3bb4ef['info'](_0x57ff86(0x1f5)+_0x32d428['host']+':'+_0x32d428[_0x57ff86(0x1d5)]+_0x57ff86(0x217)+(_0x32d428[_0x57ff86(0x1bd)]??''));const _0x733761=new HttpsProxyAgent({'host':_0x32d428[_0x57ff86(0x1b5)],'port':_0x32d428[_0x57ff86(0x1d5)],'auth':_0x32d428['username']||_0x32d428[_0x57ff86(0x1c3)]?(_0x32d428[_0x57ff86(0x1bd)]??'')+':'+(_0x32d428[_0x57ff86(0x1c3)]??''):undefined}),_0x3a0534=_0x733761[_0x57ff86(0x225)][_0x57ff86(0x1c4)](_0x733761),_0x957c4d=getHttpsAgentOptions(_0x4241f2,_0x3bb4ef);return _0x733761[_0x57ff86(0x225)]=(_0x58ed3c,_0x57b4c2)=>{return _0x3a0534(_0x58ed3c,{..._0x57b4c2,..._0x957c4d});},_0x733761;}function getHttpsAgentOptions(_0x414ee1,_0x4c7585){const _0x2227bf=a6_0x56491d,_0x5e95cb={'checkServerIdentity':(_0x16d9a6,_0x1993a7)=>{const _0x5bd26d=a6_0x3c91;if(_0x414ee1[_0x5bd26d(0x21e)])return undefined;const _0x58762c=(0x0,crypto_1[_0x5bd26d(0x219)])('sha256')['update'](_0x1993a7['pubkey'])[_0x5bd26d(0x1af)](_0x5bd26d(0x200));return _0x414ee1[_0x5bd26d(0x196)][_0x5bd26d(0x1b4)](_0x58762c)?undefined:new Error(_0x5bd26d(0x1d3));}};let _0x534460;if(_0x414ee1['caPath'])try{_0x534460=(0x0,fs_1[_0x2227bf(0x1ab)])(_0x414ee1['caPath'],_0x2227bf(0x1bc));}catch(_0x76ebb1){_0x4c7585[_0x2227bf(0x1e2)](_0x2227bf(0x1e9)+_0x414ee1[_0x2227bf(0x228)]+_0x2227bf(0x214));}if(_0x534460){const _0x1472cf=(0x0,tls_1[_0x2227bf(0x202)])(_0x5e95cb);_0x1472cf[_0x2227bf(0x20d)][_0x2227bf(0x195)](_0x534460),_0x5e95cb[_0x2227bf(0x227)]=_0x1472cf;}return _0x5e95cb;}
|
|
1
|
+
const a6_0x42ab15=a6_0x6f9d;(function(_0x14656f,_0x45f21){const _0xbade32=a6_0x6f9d,_0x4820c0=_0x14656f();while(!![]){try{const _0x23a0b1=-parseInt(_0xbade32(0x254))/0x1+parseInt(_0xbade32(0x216))/0x2+parseInt(_0xbade32(0x1ff))/0x3+parseInt(_0xbade32(0x231))/0x4*(-parseInt(_0xbade32(0x239))/0x5)+parseInt(_0xbade32(0x227))/0x6+parseInt(_0xbade32(0x214))/0x7+parseInt(_0xbade32(0x208))/0x8;if(_0x23a0b1===_0x45f21)break;else _0x4820c0['push'](_0x4820c0['shift']());}catch(_0x11ed38){_0x4820c0['push'](_0x4820c0['shift']());}}}(a6_0x31c6,0x583af));const a6_0x1213b4=(function(){let _0xcc4075=!![];return function(_0x3130f5,_0x347509){const _0x15a6ef=_0xcc4075?function(){if(_0x347509){const _0x1881d8=_0x347509['apply'](_0x3130f5,arguments);return _0x347509=null,_0x1881d8;}}:function(){};return _0xcc4075=![],_0x15a6ef;};}()),a6_0x476c2e=a6_0x1213b4(this,function(){const _0x468050=a6_0x6f9d;return a6_0x476c2e['toString']()['search'](_0x468050(0x1ed))[_0x468050(0x22c)]()['constructor'](a6_0x476c2e)[_0x468050(0x1f2)]('(((.+)+)+)+$');});a6_0x476c2e();'use strict';Object[a6_0x42ab15(0x252)](exports,'__esModule',{'value':!![]}),exports[a6_0x42ab15(0x247)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x42ab15(0x1de)),qs=require(a6_0x42ab15(0x23f)),fs_1=require('fs'),crypto_1=require(a6_0x42ab15(0x234)),zlib_1=require(a6_0x42ab15(0x220)),stream_1=require('stream'),memory_streams_1=require(a6_0x42ab15(0x202)),tls_1=require(a6_0x42ab15(0x257)),extend=require(a6_0x42ab15(0x1e5)),axios_1=require('axios'),https=require(a6_0x42ab15(0x22a)),utils_1=require(a6_0x42ab15(0x205)),HttpsProxyAgent=require('https-proxy-agent'),yaml=require(a6_0x42ab15(0x230)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0x6f9d(_0xf6a2ce,_0x516106){const _0x5a3fc6=a6_0x31c6();return a6_0x6f9d=function(_0x476c2e,_0x1213b4){_0x476c2e=_0x476c2e-0x1d1;let _0x31c61c=_0x5a3fc6[_0x476c2e];return _0x31c61c;},a6_0x6f9d(_0xf6a2ce,_0x516106);}class Controller extends common_1[a6_0x42ab15(0x256)]{constructor(_0x3e7c6f,_0x3610b6,_0x3e4145){const _0x896140=a6_0x42ab15;super({'parent':_0x3e7c6f,'baseUrl':_0x896140(0x21d)}),this[_0x896140(0x201)]=null,this[_0x896140(0x20b)]=_0x3610b6,this['transmissionQueue']=[],this[_0x896140(0x25e)]=_0x3e4145,this['apiUrl']=_0x896140(0x240)+_0x3610b6['apiEndpoint']+_0x896140(0x1e9),this[_0x896140(0x270)]=axios_1[_0x896140(0x262)]['create']({'httpsAgent':getProxyAgent(_0x3610b6,_0x3e4145)??new https[(_0x896140(0x20e))](getHttpsAgentOptions(_0x3610b6,_0x3e4145)),'proxy':![]});}[a6_0x42ab15(0x22e)](_0x400da9,_0x708212){const _0x79bcb8=a6_0x42ab15,_0x1a22d0={'uri':this[_0x79bcb8(0x1f7)]+_0x79bcb8(0x22e),'method':_0x79bcb8(0x1df),'json':!![],'body':{'debuggee':_0x400da9}};this['makeRequest'](_0x1a22d0,(_0x55f814,_0x11e2d6,_0x54c59e)=>{const _0x46cb4a=_0x79bcb8;if(!_0x54c59e)_0x708212(_0x55f814||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x55f814){let _0xe982e5=![];_0x54c59e[_0x46cb4a(0x22f)]===HTTP_UPGRADE_REQUIRED&&_0x11e2d6&&(_0x11e2d6[_0x46cb4a(0x25d)]!==undefined&&(_0x55f814[_0x46cb4a(0x25d)]=_0x11e2d6['message']),_0x400da9['id']=_0x11e2d6[_0x46cb4a(0x255)]['id'],_0xe982e5=!![]),_0x708212(_0x55f814,_0x11e2d6,_0xe982e5);}else{if(_0x54c59e['status']!==HTTP_SUCCESS)_0x708212(new Error(_0x46cb4a(0x1fb)+_0x54c59e[_0x46cb4a(0x22f)]));else!_0x11e2d6?.[_0x46cb4a(0x255)]?_0x708212(new Error(_0x46cb4a(0x22b))):(_0x400da9['id']=_0x11e2d6[_0x46cb4a(0x255)]['id'],_0x708212(null,_0x11e2d6));}}});}['listBreakpoints'](_0x5685fa,_0x5ab8c2,_0x3ab654){const _0x1b1140=a6_0x42ab15,_0x1ab006=this;assert(_0x5685fa['id'],_0x1b1140(0x23c));const _0x3bc2ba={'successOnTimeout':!![]};_0x1ab006['nextWaitToken']&&(_0x3bc2ba[_0x1b1140(0x261)]=_0x1ab006[_0x1b1140(0x201)]);const _0xa77d49=this['apiUrl']+encodeURIComponent(_0x5685fa['id'])+_0x1b1140(0x235)+qs['stringify'](_0x3bc2ba);_0x1ab006[_0x1b1140(0x24f)]({'uri':_0xa77d49,'json':!![]},(_0x263464,_0x1c90f7,_0x460a22)=>{const _0x21e7e2=_0x1b1140;if(!_0x460a22){_0x5ab8c2(_0x263464||new Error(_0x21e7e2(0x26a)));return;}else{if(!is2xx(_0x460a22['status'])){_0x5ab8c2(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x460a22[_0x21e7e2(0x22f)]),_0x460a22);return;}else _0x1c90f7&&(_0x1ab006['nextWaitToken']=_0x1c90f7[_0x21e7e2(0x201)]),_0x5ab8c2(null,_0x460a22,_0x1c90f7);}},_0x3ab654,this[_0x1b1140(0x250)]=new AbortController());}[a6_0x42ab15(0x212)](_0x58197e,_0x1c395b){const _0x52abbc=a6_0x42ab15;assert(_0x58197e['id'],_0x52abbc(0x23c));try{const _0x36c232=JSON[_0x52abbc(0x1f5)](_0x1c395b),_0x404d02=(0x0,utils_1[_0x52abbc(0x271)])(_0x36c232);if(_0x404d02>=this['config'][_0x52abbc(0x1eb)]){this[_0x52abbc(0x25e)][_0x52abbc(0x246)](_0x52abbc(0x20c)+_0x1c395b['id']+_0x52abbc(0x260)+_0x404d02+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x52abbc(0x20b)][_0x52abbc(0x1eb)]);return;}this[_0x52abbc(0x26f)][_0x52abbc(0x22d)]({'id':_0x1c395b['id'],'serializedJson':_0x36c232,'number':0x0});if(!this[_0x52abbc(0x211)]){const _0x52f06c=this;this[_0x52abbc(0x211)]=setTimeout(()=>_0x52f06c[_0x52abbc(0x24e)]['bind'](_0x52f06c)(_0x58197e['id']),0x0);}}catch(_0x25720a){this[_0x52abbc(0x25e)][_0x52abbc(0x248)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x1c395b['id']+_0x52abbc(0x219),_0x25720a);return;}}['stop'](){const _0xc380fb=a6_0x42ab15;this[_0xc380fb(0x250)]?.[_0xc380fb(0x1e8)](),this[_0xc380fb(0x250)]=undefined;if(!this[_0xc380fb(0x211)])return;clearTimeout(this['transmissionTimeout']),this[_0xc380fb(0x211)]=null;}[a6_0x42ab15(0x21f)](_0x2a161b,_0x4f1559){const _0x47bdca=a6_0x42ab15,_0x1eeccc=this[_0x47bdca(0x1f7)]+encodeURIComponent(_0x2a161b['id'])+_0x47bdca(0x23e),_0x3f86e6={'uri':_0x1eeccc,'method':_0x47bdca(0x1df),'json':!![]};this[_0x47bdca(0x25e)][_0x47bdca(0x1d2)](_0x47bdca(0x218)),this[_0x47bdca(0x24f)](_0x3f86e6,(_0x4eea58,_0x44f456,_0x2b115d)=>{const _0x523780=_0x47bdca;(!_0x2b115d||Math['floor'](_0x2b115d[_0x523780(0x22f)]/0x64)!==0x2)&&this[_0x523780(0x25e)][_0x523780(0x246)](_0x523780(0x215)+_0x4eea58),_0x4f1559(_0x4eea58);});}[a6_0x42ab15(0x264)](_0x46879b,_0x1f74ff,_0x32bc0c){const _0x33c330=a6_0x42ab15,_0x3580c4=this[_0x33c330(0x1f7)]+encodeURIComponent(_0x46879b['id'])+_0x33c330(0x1fe),_0x2d1923={'uri':_0x3580c4,'method':_0x33c330(0x1df),'json':!![],'body':_0x1f74ff};this[_0x33c330(0x24f)](_0x2d1923,(_0xb3bf4d,_0xbcaf82,_0x54f665)=>{const _0x3ea282=_0x33c330;(!_0x54f665||Math[_0x3ea282(0x23d)](_0x54f665[_0x3ea282(0x22f)]/0x64)!==0x2)&&(this[_0x3ea282(0x25e)]['warn'](_0x3ea282(0x1ef)+_0xb3bf4d),_0x32bc0c(_0xb3bf4d));});}[a6_0x42ab15(0x1fa)](_0x30919f,_0x1506c6,_0xe30554){const _0x29c1d1=a6_0x42ab15,_0x598703=this[_0x29c1d1(0x1f7)]+encodeURIComponent(_0x30919f['id'])+_0x29c1d1(0x268),_0x4f3bab={'uri':_0x598703,'method':_0x29c1d1(0x1df),'json':!![],'body':_0x1506c6};this[_0x29c1d1(0x24f)](_0x4f3bab,(_0x3724c7,_0x5a06f8,_0x3b841b)=>{const _0x538e21=_0x29c1d1;(!_0x3b841b||Math[_0x538e21(0x23d)](_0x3b841b['status']/0x64)!==0x2)&&(this['logger']['warn'](_0x538e21(0x1e4)+_0x3724c7),_0xe30554(_0x3724c7));});}[a6_0x42ab15(0x24b)](_0x306886,_0x3c44a4,_0x18bd0f){const _0x58c33a=a6_0x42ab15;assert(_0x306886['id'],_0x58c33a(0x23c));if(this[_0x58c33a(0x1d3)]){const _0x58d332=Date[_0x58c33a(0x1d4)](),_0x81f3c0=this[_0x58c33a(0x1d3)]+this[_0x58c33a(0x20b)][_0x58c33a(0x272)][_0x58c33a(0x222)];if(_0x58d332<_0x81f3c0){this['logger'][_0x58c33a(0x1d2)](_0x58c33a(0x1f4)+((_0x81f3c0-_0x58d332)/0x3e8+'\x20seconds'));return;}}const _0x3351c4=(0x0,fs_1['statSync'])(_0x18bd0f)[_0x58c33a(0x1db)],_0x4bf438=Math[_0x58c33a(0x23b)](0x0,_0x3351c4-this[_0x58c33a(0x20b)]['agentLog'][_0x58c33a(0x1e7)]),_0x26cad4=(0x0,fs_1['createReadStream'])(_0x18bd0f,{'start':_0x4bf438}),_0xc7094c=(0x0,zlib_1[_0x58c33a(0x26e)])(),_0x5adac7=new memory_streams_1[(_0x58c33a(0x25c))](),_0x4633e0=this;_0x4633e0[_0x58c33a(0x25e)][_0x58c33a(0x1d2)](_0x58c33a(0x1d1)+_0x18bd0f+_0x58c33a(0x263)+_0x3c44a4),(0x0,stream_1[_0x58c33a(0x24c)])(_0x26cad4,_0xc7094c,_0x5adac7,_0x42d9ae=>{const _0x34edb7=_0x58c33a;if(_0x42d9ae)_0x4633e0['logger'][_0x34edb7(0x248)]('Failed\x20to\x20zip\x20'+_0x18bd0f+':\x20'+_0x42d9ae);else{const _0x4958d7={'uri':this['apiUrl']+encodeURIComponent(_0x306886['id'])+_0x34edb7(0x209)+_0x3c44a4,'method':_0x34edb7(0x226),'body':_0x5adac7[_0x34edb7(0x1e3)](),'headers':{'Content-Type':_0x34edb7(0x242)}};_0x4633e0[_0x34edb7(0x24f)](_0x4958d7,_0x20134c=>{const _0x158cb6=_0x34edb7;_0x20134c?_0x4633e0[_0x158cb6(0x25e)]['error'](_0x158cb6(0x1ea)+_0x18bd0f+'\x20for\x20request\x20'+_0x3c44a4,_0x20134c):(_0x4633e0[_0x158cb6(0x25e)][_0x158cb6(0x1d2)](_0x158cb6(0x20d)+_0x18bd0f+_0x158cb6(0x233)+_0x3c44a4),_0x4633e0[_0x158cb6(0x1d3)]=Date['now']());});}});}[a6_0x42ab15(0x24e)](_0x50a64f){const _0x54dade=a6_0x42ab15;this[_0x54dade(0x25e)]['debug'](_0x54dade(0x21b)),this[_0x54dade(0x211)]=undefined;const _0x28530b=[];let _0x71691b=0x0;while(_0x28530b[_0x54dade(0x1f8)]<this['config'][_0x54dade(0x221)]&&this[_0x54dade(0x26f)][_0x54dade(0x1f8)]>0x0){const _0x50873a=this[_0x54dade(0x26f)][0x0],_0xd81ac4=_0x50873a[_0x54dade(0x266)],_0x51972f=(0x0,utils_1[_0x54dade(0x271)])(_0xd81ac4);_0x71691b+=_0x51972f;if(_0x71691b<=this[_0x54dade(0x20b)][_0x54dade(0x217)])_0x28530b[_0x54dade(0x22d)](_0x50873a),this[_0x54dade(0x26f)][_0x54dade(0x1f6)]();else{_0x51972f>this[_0x54dade(0x20b)][_0x54dade(0x217)]&&_0x28530b[_0x54dade(0x1f8)]===0x0&&(this['logger'][_0x54dade(0x200)](_0x54dade(0x1f1)+_0x50873a['id']+_0x54dade(0x1fd)+this['config'][_0x54dade(0x217)]+',\x20sending\x20only\x20one'),_0x28530b[_0x54dade(0x22d)](_0x50873a),this[_0x54dade(0x26f)][_0x54dade(0x1f6)]());break;}}if(!_0x28530b)return;const _0x3e348c=_0x28530b[_0x54dade(0x21a)](_0x4322a8=>_0x4322a8['id']),_0x57fd2a={'uri':this[_0x54dade(0x1f7)]+encodeURIComponent(_0x50a64f)+_0x54dade(0x229),'json':!![],'method':_0x54dade(0x226),'body':'['+_0x28530b[_0x54dade(0x21a)](_0x2fc487=>_0x2fc487[_0x54dade(0x266)])[_0x54dade(0x237)](',')+']'},_0x44c7fe=this;try{this[_0x54dade(0x24f)](_0x57fd2a,(_0x11ba43,_0x57eabe,_0x2c7513)=>{const _0x5b05ec=_0x54dade,_0x2dcf49=_0x2c7513?.[_0x5b05ec(0x22f)];_0x44c7fe[_0x5b05ec(0x25e)][_0x5b05ec(0x200)](_0x5b05ec(0x25a)+_0x3e348c+_0x5b05ec(0x258)+_0x2dcf49);if(_0x11ba43||!_0x2dcf49||Math['floor'](_0x2dcf49/0x64)!==0x2){const _0xa6945a=_0x2dcf49&&(_0x2dcf49>=0x1f4||_0x2dcf49===0x198);if(_0xa6945a){_0x44c7fe[_0x5b05ec(0x25e)][_0x5b05ec(0x246)](_0x5b05ec(0x1e6)+_0x3e348c+_0x5b05ec(0x20a)+_0x2dcf49+'\x20Error:\x20'+_0x11ba43);for(const _0xdf980c of _0x28530b){_0xdf980c[_0x5b05ec(0x1d9)]<MAX_FAILED_SEND_ATTEMPTS?_0x44c7fe[_0x5b05ec(0x26f)][_0x5b05ec(0x22d)]({..._0xdf980c,'number':_0xdf980c[_0x5b05ec(0x1d9)]+0x1}):_0x44c7fe['logger'][_0x5b05ec(0x246)](_0x5b05ec(0x207)+_0xdf980c['id']+_0x5b05ec(0x1e0));}}else _0x44c7fe[_0x5b05ec(0x25e)][_0x5b05ec(0x246)](_0x5b05ec(0x238)+_0x3e348c+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2dcf49+_0x5b05ec(0x225)+_0x11ba43);}else _0x44c7fe[_0x5b05ec(0x25e)][_0x5b05ec(0x1d2)](_0x5b05ec(0x25a)+_0x3e348c+_0x5b05ec(0x1f0));_0x44c7fe[_0x5b05ec(0x26f)][_0x5b05ec(0x1f8)]>0x0&&(_0x44c7fe[_0x5b05ec(0x211)]=setTimeout(()=>_0x44c7fe[_0x5b05ec(0x24e)][_0x5b05ec(0x241)](_0x44c7fe)(_0x50a64f),0x0));},0x28);}catch(_0x50b4e0){this[_0x54dade(0x25e)][_0x54dade(0x246)](_0x54dade(0x238)+_0x3e348c+_0x54dade(0x26c)+_0x50b4e0+_0x54dade(0x1dd)+_0x50b4e0[_0x54dade(0x206)]?.[_0x54dade(0x25d)]),_0x44c7fe[_0x54dade(0x26f)][_0x54dade(0x1f8)]>0x0&&(_0x44c7fe['transmissionTimeout']=setTimeout(()=>_0x44c7fe[_0x54dade(0x24e)]['bind'](_0x44c7fe)(_0x50a64f),0x0));}}async[a6_0x42ab15(0x24d)](_0x5cdee9){const _0x2d3fe0=a6_0x42ab15;this[_0x2d3fe0(0x25e)][_0x2d3fe0(0x1d2)](_0x2d3fe0(0x24a));const _0x557926=this[_0x2d3fe0(0x1f7)]+encodeURIComponent(_0x5cdee9)+'/blacklist?successOnTimeout=true',{error:_0x150c19,data:_0x5af95c}=await this[_0x2d3fe0(0x24f)]({'uri':_0x557926,'json':!![]});if(_0x150c19)return Promise[_0x2d3fe0(0x1ec)](_0x150c19);return yaml[_0x2d3fe0(0x265)](_0x5af95c)||{};}[a6_0x42ab15(0x24f)](_0x56c1ed,_0x1d3c43,_0x4ebcef,_0x33d5da,_0x4de0df){const _0x563aaf=a6_0x42ab15,_0x2bfff7={'Content-Type':_0x4de0df?_0x4de0df:_0x563aaf(0x1dc),'Authorization':'Bearer\x20'+this[_0x563aaf(0x20b)]['lightrunSecret']},_0x1c74ce=_0x33d5da??new AbortController(),_0x39ffaa=_0x4ebcef?_0x4ebcef*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x563aaf(0x25e)]['debug'](_0x563aaf(0x23a)+_0x39ffaa);const _0xa60383=setTimeout(()=>{const _0x4a26f2=_0x563aaf;this[_0x4a26f2(0x25e)][_0x4a26f2(0x246)]('Timeout\x20occurred\x20after\x20'+_0x39ffaa+'ms'),_0x1c74ce['abort']();},_0x39ffaa),_0x435046={'method':_0x56c1ed[_0x563aaf(0x244)],'url':_0x56c1ed[_0x563aaf(0x20f)],'data':_0x56c1ed[_0x563aaf(0x213)],'headers':_0x2bfff7,'signal':_0x1c74ce[_0x563aaf(0x1e2)]};return extend(!![],_0x435046,_0x56c1ed),this[_0x563aaf(0x270)][_0x563aaf(0x1d5)](_0x435046)[_0x563aaf(0x232)](_0x1a271f=>{const _0x329721=_0x563aaf;return _0x1d3c43?.(null,_0x1a271f['data'],_0x1a271f),{'error':null,'data':_0x1a271f[_0x329721(0x206)],'res':_0x1a271f};})[_0x563aaf(0x1e1)](_0x3a7834=>{const _0x1ba4bd=_0x563aaf;return _0x1d3c43?.(_0x3a7834,_0x3a7834[_0x1ba4bd(0x1d6)]?.[_0x1ba4bd(0x206)],_0x3a7834[_0x1ba4bd(0x1d6)]),{'error':_0x3a7834,'data':_0x3a7834['response']?.['data'],'res':_0x3a7834[_0x1ba4bd(0x1d6)]};})[_0x563aaf(0x26d)](()=>clearTimeout(_0xa60383));}async[a6_0x42ab15(0x25b)](_0x5b7c05){const _0x2c14b8=a6_0x42ab15;this['logger'][_0x2c14b8(0x1d2)](_0x2c14b8(0x21c));const _0x8beb6e=this[_0x2c14b8(0x1f7)]+encodeURIComponent(_0x5b7c05)+'/redaction',{error:_0x26aef4,data:_0x52d21f}=await this[_0x2c14b8(0x24f)]({'uri':_0x8beb6e,'json':!![]});if(_0x26aef4)return Promise[_0x2c14b8(0x1ec)](_0x26aef4);return _0x52d21f;}}exports[a6_0x42ab15(0x247)]=Controller;function is2xx(_0x224a88){return Math['floor'](_0x224a88/0x64)===0x2;}function a6_0x31c6(){const _0x33ab93=['warn','Controller','error','createSecureContext','Getting\x20blocklist','sendAgentLogsToServer','pipeline','getBlocklist','transmitBreakpointUpdates','makeRequest','listBreakpointsAbortController','addCACert','defineProperty','update','54278sxcIxq','debuggee','ServiceObject','tls','\x20finished\x20with\x20status\x20','port','Update\x20for\x20breakpoints\x20','getRedactions','WritableStream','message','logger','readFileSync','\x20size\x20is\x20','waitToken','default','\x20for\x20request\x20id\x20','sendBreakpointLogsToServer','load','serializedJson','includes','/appOnlyActionHits/','host','unknown\x20error\x20-\x20request\x20response\x20missing','createHash','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','finally','createGzip','transmissionQueue','axios','getJsonStringSizeInBytes','agentLog','Compressing\x20and\x20sending\x20log\x20file\x20','info','lastLogCollectionTime','now','request','response','username','callback','number','caPath','size','application/json',',\x20Message:\x20','assert','POST','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','catch','signal','toBuffer','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','extend','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','maxLogFileBytes','abort','/debuggees/','Failed\x20to\x20send\x20log\x20file\x20','transmissionHardMaxNetworkSizeLimitInBytes','reject','(((.+)+)+)+$','secureContext','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','\x20transmitted\x20successfully','breakpoint\x20','search','Failed\x20to\x20read\x20pem\x20file\x20\x22','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','stringify','shift','apiUrl','length',',\x20username:\x20','sendAppOnlyBreakpointHitsToServer','unable\x20to\x20register,\x20status\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','\x20size\x20>\x20max\x20network\x20size\x20:\x20','/log/','226572iBdbla','debug','nextWaitToken','memory-streams','sha256','\x22\x20-\x20ignoring\x20it','./util/utils','data','Breakpoint\x20','197464KpcGRo','/compressedLogFileV2/','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','config','breakpointId:\x20','Successfully\x20sent\x20log\x20file\x20','Agent','uri','proxy','transmissionTimeout','enqueueBreakpointUpdate','body','372421OvHIIJ','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','131410TxnLwl','transmissionBulkMaxNetworkSizeInBytes','Deregister\x20agent\x20before\x20shutdown','\x20and\x20enqueue\x20to\x20queue','map','Transmitting\x20breakpoint\x20updates...','Getting\x20reductions','/controller','pubkey','deregister','zlib','transmissionBulkMaxSize','collectCooldownMs','pinnedCerts','password','\x20Error:\x20','PUT','3373482TSkuAO','Using\x20proxy\x20configuration:\x20','/breakpoints','https','invalid\x20response\x20body\x20from\x20server','toString','push','register','status','js-yaml','1462772loDvLN','then','\x20for\x20request\x20','crypto','/breakpoints?','context','join','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','5HvItZo','timeout\x20set\x20to\x20','max','should\x20have\x20a\x20registered\x20debuggee','floor','/deregister/','querystring','https://','bind','application/octet-stream','noCheckCertificate','method','digest'];a6_0x31c6=function(){return _0x33ab93;};return a6_0x31c6();}function getProxyAgent(_0x40b90e,_0x254c95){const _0x4177c8=a6_0x42ab15,_0x54da99=_0x40b90e[_0x4177c8(0x210)];if(!_0x54da99?.[_0x4177c8(0x269)])return undefined;if(!_0x54da99[_0x4177c8(0x259)])return _0x254c95[_0x4177c8(0x248)](_0x4177c8(0x1fc)),undefined;_0x254c95['info'](_0x4177c8(0x228)+_0x54da99[_0x4177c8(0x269)]+':'+_0x54da99[_0x4177c8(0x259)]+_0x4177c8(0x1f9)+(_0x54da99['username']??''));const _0x472a68=new HttpsProxyAgent({'host':_0x54da99['host'],'port':_0x54da99[_0x4177c8(0x259)],'auth':_0x54da99[_0x4177c8(0x1d7)]||_0x54da99[_0x4177c8(0x224)]?(_0x54da99[_0x4177c8(0x1d7)]??'')+':'+(_0x54da99[_0x4177c8(0x224)]??''):undefined}),_0x39f9c5=_0x472a68[_0x4177c8(0x1d8)][_0x4177c8(0x241)](_0x472a68),_0x462b14=getHttpsAgentOptions(_0x40b90e,_0x254c95);return _0x472a68[_0x4177c8(0x1d8)]=(_0x4e5088,_0x20891f)=>{return _0x39f9c5(_0x4e5088,{..._0x20891f,..._0x462b14});},_0x472a68;}function getHttpsAgentOptions(_0x1b9e23,_0x39a90d){const _0x39f013=a6_0x42ab15,_0x24a808={'checkServerIdentity':(_0x370c15,_0x540a0c)=>{const _0x26631c=a6_0x6f9d;if(_0x1b9e23[_0x26631c(0x243)])return undefined;const _0x16f901=(0x0,crypto_1[_0x26631c(0x26b)])(_0x26631c(0x203))[_0x26631c(0x253)](_0x540a0c[_0x26631c(0x21e)])[_0x26631c(0x245)]('hex');return _0x1b9e23[_0x26631c(0x223)][_0x26631c(0x267)](_0x16f901)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0x1590c0;if(_0x1b9e23[_0x39f013(0x1da)])try{_0x1590c0=(0x0,fs_1[_0x39f013(0x25f)])(_0x1b9e23[_0x39f013(0x1da)],'ascii');}catch(_0x2e43a3){_0x39a90d['warn'](_0x39f013(0x1f3)+_0x1b9e23[_0x39f013(0x1da)]+_0x39f013(0x204));}if(_0x1590c0){const _0x28325f=(0x0,tls_1[_0x39f013(0x249)])(_0x24a808);_0x28325f[_0x39f013(0x236)][_0x39f013(0x251)](_0x1590c0),_0x24a808[_0x39f013(0x1ee)]=_0x28325f;}return _0x24a808;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x2abdea=a7_0x2836;function a7_0xc048(){const _0x3b54f5=['cwd','1682UOsRfb','search','14874PiPHup','./createDebuggeeMetadata','version','default','base64','__esModule','15fXlfWG','from','../../client/stackdriver/status-message','./createUniquifier','minorVersion_','(((.+)+)+)+$','string','createDebuggeeMetadata','./getPlatform','Debuggee','198003UsjONn','defineProperty','serviceContext','1194470OUiEKD','StatusMessage','739104pbyBNw','relative','utf-8','encodeBase64','module','sourceContexts','service','createUniquifier','argv','node','UNSPECIFIED','getPlatform','1216635NZBQEy','apply','minorversion','1190329OeYiAR','27LLxShR','toString','8EdKEdR','stringify'];a7_0xc048=function(){return _0x3b54f5;};return a7_0xc048();}(function(_0x3e5a8b,_0x286a83){const _0x22974e=a7_0x2836,_0x4167c7=_0x3e5a8b();while(!![]){try{const _0x3dba0b=-parseInt(_0x22974e(0x12b))/0x1+-parseInt(_0x22974e(0x145))/0x2*(parseInt(_0x22974e(0x121))/0x3)+parseInt(_0x22974e(0x130))/0x4+-parseInt(_0x22974e(0x13c))/0x5+parseInt(_0x22974e(0x147))/0x6+-parseInt(_0x22974e(0x13f))/0x7*(-parseInt(_0x22974e(0x142))/0x8)+-parseInt(_0x22974e(0x140))/0x9*(-parseInt(_0x22974e(0x12e))/0xa);if(_0x3dba0b===_0x286a83)break;else _0x4167c7['push'](_0x4167c7['shift']());}catch(_0x5680cd){_0x4167c7['push'](_0x4167c7['shift']());}}}(a7_0xc048,0x41f1c));const a7_0x3a9d98=(function(){let _0x7a9a21=!![];return function(_0x43c018,_0x59b281){const _0x3ac9d4=_0x7a9a21?function(){const _0x23f9bb=a7_0x2836;if(_0x59b281){const _0x18cc30=_0x59b281[_0x23f9bb(0x13d)](_0x43c018,arguments);return _0x59b281=null,_0x18cc30;}}:function(){};return _0x7a9a21=![],_0x3ac9d4;};}()),a7_0xa95c05=a7_0x3a9d98(this,function(){const _0x35401e=a7_0x2836;return a7_0xa95c05[_0x35401e(0x141)]()[_0x35401e(0x146)](_0x35401e(0x126))[_0x35401e(0x141)]()['constructor'](a7_0xa95c05)[_0x35401e(0x146)](_0x35401e(0x126));});a7_0xa95c05();'use strict';Object[a7_0x2abdea(0x12c)](exports,a7_0x2abdea(0x120),{'value':!![]}),exports['createDebuggee']=exports[a7_0x2abdea(0x133)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x2abdea(0x123)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require(a7_0x2abdea(0x148)),createUniquifier_1=require(a7_0x2abdea(0x124)),getPlatform_1=require(a7_0x2abdea(0x129)),encodeBase64=_0x1f698c=>Buffer[a7_0x2abdea(0x122)](_0x1f698c,a7_0x2abdea(0x132))[a7_0x2abdea(0x141)](a7_0x2abdea(0x11f));function a7_0x2836(_0x4f2285,_0x34bf1d){const _0xb699d5=a7_0xc048();return a7_0x2836=function(_0xa95c05,_0x3a9d98){_0xa95c05=_0xa95c05-0x11f;let _0xc048a6=_0xb699d5[_0xa95c05];return _0xc048a6;},a7_0x2836(_0x4f2285,_0x34bf1d);}exports[a7_0x2abdea(0x133)]=encodeBase64;const createDebuggee=(_0x5e0833,_0xf69182,_0x51b73c,_0x2c00e2,_0x3e313c,_0x110526,_0x1c64a0,_0x52505b)=>{const _0x55f6f9=a7_0x2abdea,_0x2eafff=process[_0x55f6f9(0x144)](),_0xfb6bc5=path[_0x55f6f9(0x131)](_0x2eafff,process[_0x55f6f9(0x138)][0x1]),_0x492b38={'main\x20script':_0xfb6bc5,'process.title':process['title'],'node\x20version':process['versions'][_0x55f6f9(0x139)],'V8\x20version':process['versions']['v8'],'agent.name':_0x2c00e2['name'],'agent.version':_0x3e313c,'platform':(0x0,getPlatform_1[_0x55f6f9(0x13b)])()},_0x2180df=_0xf69182[_0x55f6f9(0x12d)];_0x2180df&&(typeof _0x2180df[_0x55f6f9(0x136)]==='string'&&_0x2180df[_0x55f6f9(0x136)]!==_0x55f6f9(0x14a)&&(_0x492b38[_0x55f6f9(0x134)]=_0x2180df[_0x55f6f9(0x136)]),typeof _0x2180df['version']===_0x55f6f9(0x127)&&(_0x492b38[_0x55f6f9(0x149)]=_0x2180df[_0x55f6f9(0x149)]),typeof _0x2180df[_0x55f6f9(0x125)]===_0x55f6f9(0x127)&&(_0x492b38[_0x55f6f9(0x13e)]=_0x2180df['minorVersion_']));const _0x1c1289=(0x0,createUniquifier_1[_0x55f6f9(0x137)])(_0x3e313c,_0x5e0833,_0x51b73c,_0x492b38),_0x1cc4fc=_0x52505b?new status_message_1[(_0x55f6f9(0x12f))](status_message_1[_0x55f6f9(0x12f)][_0x55f6f9(0x13a)],_0x52505b,!![]):undefined,_0x3364b2=(0x0,createDebuggeeMetadata_1[_0x55f6f9(0x128)])(_0xf69182,_0x110526),_0x3e65ad={'uniquifier':_0x1c1289,'agentVersion':_0x3e313c,'labels':{'metadataV2':(0x0,exports[_0x55f6f9(0x133)])(JSON[_0x55f6f9(0x143)](_0x3364b2))},'statusMessage':_0x1cc4fc,'packageInfo':_0x2c00e2,..._0x1c64a0};return _0x51b73c&&(_0x3e65ad[_0x55f6f9(0x135)]=[_0x51b73c]),new debuggee_1[(_0x55f6f9(0x12a))](_0x3e65ad);};exports['createDebuggee']=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a8_0x2eb9(){const _0x22f753=['6nVhoyy','9KrJoQs','3927928WiLhef','tags','metadata','constructor','29513dHdCTT','filename','map','1338219xJogtI','registration','warn','string','3620CGQWLr','6oMGsVe','(((.+)+)+)+$','createDebuggeeMetadata','3033569RgGMlD','extend','Failed\x20to\x20read\x20metadata\x20file\x20','toString','apply','parse','6234704lvSDkm','search','5306935msPyEJ','188366irYRXi'];a8_0x2eb9=function(){return _0x22f753;};return a8_0x2eb9();}const a8_0x1297cb=a8_0x5b28;(function(_0x26baee,_0x2e30b7){const _0x414e43=a8_0x5b28,_0x3e0265=_0x26baee();while(!![]){try{const _0x176872=parseInt(_0x414e43(0xda))/0x1*(parseInt(_0x414e43(0xdb))/0x2)+-parseInt(_0x414e43(0xe4))/0x3+parseInt(_0x414e43(0xdd))/0x4+-parseInt(_0x414e43(0xd9))/0x5+-parseInt(_0x414e43(0xe9))/0x6*(-parseInt(_0x414e43(0xec))/0x7)+-parseInt(_0x414e43(0xd7))/0x8*(parseInt(_0x414e43(0xdc))/0x9)+-parseInt(_0x414e43(0xe8))/0xa*(-parseInt(_0x414e43(0xe1))/0xb);if(_0x176872===_0x2e30b7)break;else _0x3e0265['push'](_0x3e0265['shift']());}catch(_0x5bd09d){_0x3e0265['push'](_0x3e0265['shift']());}}}(a8_0x2eb9,0xa253f));const a8_0x10ab74=(function(){let _0x39beba=!![];return function(_0xe8f577,_0xa16d13){const _0x3ecc80=_0x39beba?function(){const _0x3f77c6=a8_0x5b28;if(_0xa16d13){const _0x41ce5b=_0xa16d13[_0x3f77c6(0xf0)](_0xe8f577,arguments);return _0xa16d13=null,_0x41ce5b;}}:function(){};return _0x39beba=![],_0x3ecc80;};}()),a8_0xc4f6d5=a8_0x10ab74(this,function(){const _0x3182bf=a8_0x5b28;return a8_0xc4f6d5['toString']()[_0x3182bf(0xd8)]('(((.+)+)+)+$')[_0x3182bf(0xef)]()[_0x3182bf(0xe0)](a8_0xc4f6d5)[_0x3182bf(0xd8)](_0x3182bf(0xea));});a8_0xc4f6d5();'use strict';function a8_0x5b28(_0x4d36c0,_0x1c6fe9){const _0x33789c=a8_0x2eb9();return a8_0x5b28=function(_0xc4f6d5,_0x10ab74){_0xc4f6d5=_0xc4f6d5-0xd7;let _0x2eb920=_0x33789c[_0xc4f6d5];return _0x2eb920;},a8_0x5b28(_0x4d36c0,_0x1c6fe9);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a8_0x1297cb(0xeb)]=void 0x0;const fs=require('fs'),extend=require(a8_0x1297cb(0xed)),createDebuggeeMetadata=(_0x126f75,_0x142350)=>{const _0x1287d6=a8_0x1297cb;let _0x11cbf7={'registration':{}};if(_0x126f75[_0x1287d6(0xdf)]?.[_0x1287d6(0xe2)])try{_0x11cbf7=JSON[_0x1287d6(0xf1)](fs['readFileSync'](_0x126f75['metadata'][_0x1287d6(0xe2)],'utf-8'));}catch(_0xdc7496){_0x142350[_0x1287d6(0xe6)](_0x1287d6(0xee)+_0x126f75['metadata'][_0x1287d6(0xe2)],_0xdc7496);}return _0x11cbf7[_0x1287d6(0xe5)]=extend(!![],{},_0x126f75[_0x1287d6(0xdf)]?.[_0x1287d6(0xe5)],_0x11cbf7[_0x1287d6(0xe5)]),_0x11cbf7[_0x1287d6(0xe5)]?.['tags']&&(_0x11cbf7[_0x1287d6(0xe5)]['tags']=_0x11cbf7['registration'][_0x1287d6(0xde)][_0x1287d6(0xe3)](_0x2b36db=>typeof _0x2b36db===_0x1287d6(0xe7)?{'name':_0x2b36db}:_0x2b36db)),_0x11cbf7;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a9_0x592c(){const _0x1864ad=['3260945vKJwFS','crypto','defineProperty','(((.+)+)+)+$','toString','hex','299388yLtGAO','search','createHash','__esModule','2339056ApCurT','4021926ybpbqD','digest','445304sgnQOl','119uyaKjH','sha1','createUniquifier','2FMHOiW','stringify','6hGgCpz','10sOxzkb','14280838tsfwlC','4455666WoNncl'];a9_0x592c=function(){return _0x1864ad;};return a9_0x592c();}function a9_0x43d3(_0x13f9f9,_0x4ec322){const _0x553528=a9_0x592c();return a9_0x43d3=function(_0x185419,_0x4ee1f5){_0x185419=_0x185419-0x194;let _0x592c41=_0x553528[_0x185419];return _0x592c41;},a9_0x43d3(_0x13f9f9,_0x4ec322);}const a9_0x4e750a=a9_0x43d3;(function(_0x8124f5,_0x268301){const _0x5830aa=a9_0x43d3,_0x2b279b=_0x8124f5();while(!![]){try{const _0x2ef467=parseInt(_0x5830aa(0x1a1))/0x1+parseInt(_0x5830aa(0x195))/0x2*(-parseInt(_0x5830aa(0x1a6))/0x3)+-parseInt(_0x5830aa(0x1a5))/0x4+-parseInt(_0x5830aa(0x19b))/0x5*(-parseInt(_0x5830aa(0x197))/0x6)+-parseInt(_0x5830aa(0x1a9))/0x7*(-parseInt(_0x5830aa(0x1a8))/0x8)+-parseInt(_0x5830aa(0x19a))/0x9*(parseInt(_0x5830aa(0x198))/0xa)+parseInt(_0x5830aa(0x199))/0xb;if(_0x2ef467===_0x268301)break;else _0x2b279b['push'](_0x2b279b['shift']());}catch(_0x2a9e82){_0x2b279b['push'](_0x2b279b['shift']());}}}(a9_0x592c,0xbd5ca));const a9_0x4ee1f5=(function(){let _0x265465=!![];return function(_0x3f234a,_0x324f7c){const _0x228cc0=_0x265465?function(){if(_0x324f7c){const _0x2d691b=_0x324f7c['apply'](_0x3f234a,arguments);return _0x324f7c=null,_0x2d691b;}}:function(){};return _0x265465=![],_0x228cc0;};}()),a9_0x185419=a9_0x4ee1f5(this,function(){const _0x325a67=a9_0x43d3;return a9_0x185419['toString']()[_0x325a67(0x1a2)](_0x325a67(0x19e))[_0x325a67(0x19f)]()['constructor'](a9_0x185419)[_0x325a67(0x1a2)](_0x325a67(0x19e));});a9_0x185419();'use strict';Object[a9_0x4e750a(0x19d)](exports,a9_0x4e750a(0x1a4),{'value':!![]}),exports['createUniquifier']=void 0x0;const crypto=require(a9_0x4e750a(0x19c)),createUniquifier=(_0x412bad,_0x561cd7,_0x13205e,_0x583e01)=>{const _0x1361e7=a9_0x4e750a,_0x4d5b0=_0x412bad+_0x561cd7+JSON[_0x1361e7(0x196)](_0x13205e)+JSON['stringify'](_0x583e01);return crypto[_0x1361e7(0x1a3)](_0x1361e7(0x1aa))['update'](_0x4d5b0)[_0x1361e7(0x1a7)](_0x1361e7(0x1a0));};exports[a9_0x4e750a(0x194)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x5eaa99=a10_0x49eb;function a10_0x2855(){const _0x1340cf=['2358YzxsMW','(((.+)+)+)+$','search','constructor','push','5504007fujWTs','1817454ivIEKn','__esModule','3328HbKiZV','length','apply','3270624TlffJo','15112616yHJJVi','toString','6130kpfBoL','22019328BpRNro','17899rcfVbe','delimit'];a10_0x2855=function(){return _0x1340cf;};return a10_0x2855();}(function(_0x158405,_0x2fceb9){const _0x4af6bf=a10_0x49eb,_0x2eb7dd=_0x158405();while(!![]){try{const _0x43d62d=parseInt(_0x4af6bf(0x156))/0x1+parseInt(_0x4af6bf(0x149))/0x2+parseInt(_0x4af6bf(0x155))/0x3+-parseInt(_0x4af6bf(0x146))/0x4*(-parseInt(_0x4af6bf(0x14c))/0x5)+-parseInt(_0x4af6bf(0x150))/0x6*(parseInt(_0x4af6bf(0x14e))/0x7)+-parseInt(_0x4af6bf(0x14a))/0x8+-parseInt(_0x4af6bf(0x14d))/0x9;if(_0x43d62d===_0x2fceb9)break;else _0x2eb7dd['push'](_0x2eb7dd['shift']());}catch(_0xc41df1){_0x2eb7dd['push'](_0x2eb7dd['shift']());}}}(a10_0x2855,0xec0f1));function a10_0x49eb(_0x22a65d,_0x18f758){const _0x1ad94f=a10_0x2855();return a10_0x49eb=function(_0x32291c,_0x5f3bdf){_0x32291c=_0x32291c-0x146;let _0x285582=_0x1ad94f[_0x32291c];return _0x285582;},a10_0x49eb(_0x22a65d,_0x18f758);}const a10_0x5f3bdf=(function(){let _0x56a79e=!![];return function(_0x39c1ca,_0x4f838f){const _0x431b07=_0x56a79e?function(){const _0x3eae3c=a10_0x49eb;if(_0x4f838f){const _0x39e2ef=_0x4f838f[_0x3eae3c(0x148)](_0x39c1ca,arguments);return _0x4f838f=null,_0x39e2ef;}}:function(){};return _0x56a79e=![],_0x431b07;};}()),a10_0x32291c=a10_0x5f3bdf(this,function(){const _0x18a06b=a10_0x49eb;return a10_0x32291c[_0x18a06b(0x14b)]()[_0x18a06b(0x152)](_0x18a06b(0x151))[_0x18a06b(0x14b)]()[_0x18a06b(0x153)](a10_0x32291c)[_0x18a06b(0x152)](_0x18a06b(0x151));});a10_0x32291c();'use strict';Object['defineProperty'](exports,a10_0x5eaa99(0x157),{'value':!![]}),exports[a10_0x5eaa99(0x14f)]=void 0x0;const delimit=(_0x26b4b5,_0x6f12cf)=>{const _0x131195=a10_0x5eaa99,_0x2717cb=_0x26b4b5['split'](_0x6f12cf),_0x5d84e8=[];_0x5d84e8[_0x131195(0x154)](_0x2717cb[0x0]);for(let _0x59b0d0=0x1;_0x59b0d0<_0x2717cb[_0x131195(0x147)];_0x59b0d0++){_0x5d84e8[_0x131195(0x154)]({'v':_0x6f12cf},_0x2717cb[_0x59b0d0]);}return _0x5d84e8;};exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x894231=a11_0x2d5e;(function(_0x3af820,_0x39ac8e){const _0x5f4a17=a11_0x2d5e,_0x6b9095=_0x3af820();while(!![]){try{const _0x5f06c5=-parseInt(_0x5f4a17(0x14e))/0x1+parseInt(_0x5f4a17(0x14d))/0x2+parseInt(_0x5f4a17(0x145))/0x3*(-parseInt(_0x5f4a17(0x13e))/0x4)+-parseInt(_0x5f4a17(0x13f))/0x5+parseInt(_0x5f4a17(0x144))/0x6*(parseInt(_0x5f4a17(0x149))/0x7)+-parseInt(_0x5f4a17(0x141))/0x8+-parseInt(_0x5f4a17(0x14a))/0x9*(-parseInt(_0x5f4a17(0x148))/0xa);if(_0x5f06c5===_0x39ac8e)break;else _0x6b9095['push'](_0x6b9095['shift']());}catch(_0x53d195){_0x6b9095['push'](_0x6b9095['shift']());}}}(a11_0x31fb,0x39bca));const a11_0x16e8a6=(function(){let _0x2c0d67=!![];return function(_0x38dff0,_0x24a122){const _0x42b68f=_0x2c0d67?function(){if(_0x24a122){const _0x456f75=_0x24a122['apply'](_0x38dff0,arguments);return _0x24a122=null,_0x456f75;}}:function(){};return _0x2c0d67=![],_0x42b68f;};}()),a11_0x4ebb50=a11_0x16e8a6(this,function(){const _0x3f487d=a11_0x2d5e;return a11_0x4ebb50[_0x3f487d(0x13d)]()['search']('(((.+)+)+)+$')[_0x3f487d(0x13d)]()[_0x3f487d(0x13c)](a11_0x4ebb50)['search'](_0x3f487d(0x147));});function a11_0x2d5e(_0x2515cd,_0x26a39b){const _0x2e4c3c=a11_0x31fb();return a11_0x2d5e=function(_0x4ebb50,_0x16e8a6){_0x4ebb50=_0x4ebb50-0x13c;let _0x31fb4b=_0x2e4c3c[_0x4ebb50];return _0x31fb4b;},a11_0x2d5e(_0x2515cd,_0x26a39b);}a11_0x4ebb50();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['format']=void 0x0;function a11_0x31fb(){const _0x158931=['9sGURPc','length','substring','614274vaCykQ','48196zdjPzB','constructor','toString','1091964PNCNIj','2352300NBRwFC','./tokenize','3257520aeBqYb','format','test','510YNavne','3RsvUoI','tokenize','(((.+)+)+)+$','9863250zBPWRw','11683KKKFyF'];a11_0x31fb=function(){return _0x158931;};return a11_0x31fb();}const tokenize_1=require(a11_0x894231(0x140)),format=(_0x16c410,_0x3e6a44)=>{const _0x456ce7=a11_0x894231,_0x2060ca=(0x0,tokenize_1[_0x456ce7(0x146)])(_0x16c410,_0x3e6a44[_0x456ce7(0x14b)]);for(let _0x35639b=0x0;_0x35639b<_0x2060ca['length'];_0x35639b++){if(!_0x2060ca[_0x35639b]['v'])continue;if(_0x2060ca[_0x35639b]['v']==='$$'){_0x2060ca[_0x35639b]='$';continue;}for(let _0xd0f27=0x0;_0xd0f27<_0x3e6a44['length'];_0xd0f27++){if(_0x2060ca[_0x35639b]['v']==='$'+_0xd0f27){let _0x8fde73=_0x3e6a44[_0xd0f27];/^".*"$/[_0x456ce7(0x143)](_0x8fde73)&&(_0x8fde73=_0x8fde73[_0x456ce7(0x14c)](0x1,_0x8fde73['length']-0x1));_0x2060ca[_0x35639b]=_0x8fde73;break;}}}return _0x2060ca['join']('');};exports[a11_0x894231(0x142)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x17256f=a12_0x295d;(function(_0x4b66e4,_0xf5de78){const _0x43d196=a12_0x295d,_0x34fa6e=_0x4b66e4();while(!![]){try{const _0x5afb9e=parseInt(_0x43d196(0x208))/0x1+-parseInt(_0x43d196(0x1f9))/0x2*(parseInt(_0x43d196(0x20a))/0x3)+parseInt(_0x43d196(0x200))/0x4*(parseInt(_0x43d196(0x1ea))/0x5)+-parseInt(_0x43d196(0x206))/0x6+-parseInt(_0x43d196(0x20d))/0x7*(-parseInt(_0x43d196(0x1ec))/0x8)+-parseInt(_0x43d196(0x1f2))/0x9*(parseInt(_0x43d196(0x1e5))/0xa)+-parseInt(_0x43d196(0x1ef))/0xb*(-parseInt(_0x43d196(0x1ee))/0xc);if(_0x5afb9e===_0xf5de78)break;else _0x34fa6e['push'](_0x34fa6e['shift']());}catch(_0xa1e9fa){_0x34fa6e['push'](_0x34fa6e['shift']());}}}(a12_0x71f4,0x23874));const a12_0x5b1df9=(function(){let _0x1cf0b9=!![];return function(_0x120e1b,_0x4074f3){const _0x597a3a=_0x1cf0b9?function(){const _0x2329de=a12_0x295d;if(_0x4074f3){const _0x5548f8=_0x4074f3[_0x2329de(0x204)](_0x120e1b,arguments);return _0x4074f3=null,_0x5548f8;}}:function(){};return _0x1cf0b9=![],_0x597a3a;};}()),a12_0x31545e=a12_0x5b1df9(this,function(){const _0x2aab70=a12_0x295d;return a12_0x31545e[_0x2aab70(0x205)]()['search'](_0x2aab70(0x20b))[_0x2aab70(0x205)]()[_0x2aab70(0x201)](a12_0x31545e)['search'](_0x2aab70(0x20b));});a12_0x31545e();function a12_0x71f4(){const _0x27c947=['apply','toString','482520nVGGZp','defineProperty','176214oVgMsI','fetch_breakpoints_once','584079AAgQzs','(((.+)+)+)+$','transmission_bulk_max_size','73451TRXdRr','getFloat','getInt','proxy_password','java-properties','max_dynamic_log_rate','dynamic_log_quota_recovery_ms','max_variable_size','max_watchlist_variable_size','1627910rXvXtX','trim','noCheckCertificate','map','getBoolean','97635ptJmqn','split','216NvmJdz','agent_log_level','208752XMOOYZ','66eOdYEQ','max_snapshot_buffer_size','agent_log_target_dir','9sLjOcr','max_snapshot_frame_count','proxy_host','existsSync','__esModule','max_log_cpu_cost','breakpoint_expiration_sec','2VWicsc','getAgentConfig','getFirst','max_dynamic_log_bytes_rate','extra_paths','max_condition_cost','agent_log_max_file_count','4iHrCuL','constructor','agent_log_max_file_size_mb','proxy_username'];a12_0x71f4=function(){return _0x27c947;};return a12_0x71f4();}function a12_0x295d(_0x2f97ec,_0x259d79){const _0x1fa655=a12_0x71f4();return a12_0x295d=function(_0x31545e,_0x5b1df9){_0x31545e=_0x31545e-0x1e2;let _0x71f499=_0x1fa655[_0x31545e];return _0x71f499;},a12_0x295d(_0x2f97ec,_0x259d79);}'use strict';Object[a12_0x17256f(0x207)](exports,a12_0x17256f(0x1f6),{'value':!![]}),exports[a12_0x17256f(0x1fa)]=void 0x0;const properties=require(a12_0x17256f(0x211)),fs=require('fs'),getAgentConfig=_0x433912=>{const _0x39a245=a12_0x17256f;if(fs[_0x39a245(0x1f5)](_0x433912)){const _0x53c6c9=properties['of'](_0x433912);return{'lightrunSecret':_0x53c6c9[_0x39a245(0x1fb)]('com.lightrun.secret'),'apiEndpoint':_0x53c6c9[_0x39a245(0x1fb)]('apiEndpoint'),'breakpointExpirationSec':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1f8)),'transmissionBulkMaxSize':_0x53c6c9['getInt'](_0x39a245(0x20c)),'noCheckCertificate':_0x53c6c9['getBoolean'](_0x39a245(0x1e7)),'pinnedCerts':_0x53c6c9[_0x39a245(0x1fb)]('pinned_certs')?.[_0x39a245(0x1eb)](','),'metadata':{'filename':_0x53c6c9['getFirst']('agent_regmetadata_file')},'capture':{'maxFrames':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1f3)),'maxDataSize':_0x53c6c9[_0x39a245(0x20f)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1f0)),'maxVariableSize':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1e3)),'maxWatchListVariableSize':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1e4))},'agentLog':{'collectCooldownMs':_0x53c6c9[_0x39a245(0x20f)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x53c6c9[_0x39a245(0x1fb)](_0x39a245(0x1f1)),'agentLogLevel':_0x53c6c9[_0x39a245(0x1fb)](_0x39a245(0x1ed)),'agentLogMaxFileCount':_0x53c6c9['getInt'](_0x39a245(0x1ff)),'agentLogMaxFileSizeMb':_0x53c6c9['getInt'](_0x39a245(0x202)),'maxLogFileBytes':_0x53c6c9[_0x39a245(0x20f)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x53c6c9[_0x39a245(0x1e9)]('ignore_quota'),'maxCPUCost':_0x53c6c9['getFloat'](_0x39a245(0x1f7)),'maxConditionCost':_0x53c6c9[_0x39a245(0x20e)](_0x39a245(0x1fe)),'maxDynamicLogRate':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x212)),'maxDynamicLogByteRate':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1fc)),'quotaRecoverySeconds':_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1e2))&&_0x53c6c9[_0x39a245(0x20f)](_0x39a245(0x1e2))/0x3e8},'fetchBreakpointsOnce':_0x53c6c9[_0x39a245(0x1e9)](_0x39a245(0x209)),'extraPaths':_0x53c6c9[_0x39a245(0x1fb)](_0x39a245(0x1fd))?.['split'](',')?.[_0x39a245(0x1e8)](_0x195940=>_0x195940[_0x39a245(0x1e6)]()),'proxy':{'host':_0x53c6c9[_0x39a245(0x1fb)](_0x39a245(0x1f4)),'port':_0x53c6c9[_0x39a245(0x20f)]('proxy_port'),'username':_0x53c6c9[_0x39a245(0x1fb)](_0x39a245(0x203)),'password':_0x53c6c9[_0x39a245(0x1fb)](_0x39a245(0x210))}};}return;};exports[a12_0x17256f(0x1fa)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x27a748=a13_0x3688;function a13_0x3688(_0x3602a4,_0x3df800){const _0x4f5458=a13_0x4f77();return a13_0x3688=function(_0x4a5513,_0x3e032e){_0x4a5513=_0x4a5513-0x17a;let _0x4f7762=_0x4f5458[_0x4a5513];return _0x4f7762;},a13_0x3688(_0x3602a4,_0x3df800);}(function(_0x4d57b8,_0x3f93f0){const _0x357166=a13_0x3688,_0xedcb41=_0x4d57b8();while(!![]){try{const _0x7dd7ad=parseInt(_0x357166(0x182))/0x1+-parseInt(_0x357166(0x18d))/0x2+-parseInt(_0x357166(0x18a))/0x3*(parseInt(_0x357166(0x186))/0x4)+-parseInt(_0x357166(0x188))/0x5*(-parseInt(_0x357166(0x18c))/0x6)+parseInt(_0x357166(0x18e))/0x7+-parseInt(_0x357166(0x17c))/0x8+-parseInt(_0x357166(0x17f))/0x9*(-parseInt(_0x357166(0x17d))/0xa);if(_0x7dd7ad===_0x3f93f0)break;else _0xedcb41['push'](_0xedcb41['shift']());}catch(_0x33a420){_0xedcb41['push'](_0xedcb41['shift']());}}}(a13_0x4f77,0xdeea5));function a13_0x4f77(){const _0x567efb=['cloud_function','65724txhZSK','env','1519935ICdlQx','search','186kEJzdx','getPlatform','18sJICMk','3485390ZWgCxk','10013913njqCMY','Platforms','constructor','default','(((.+)+)+)+$','8359312dJtTJy','10Vsecqz','DEFAULT','9951759rmMKFv','toString','apply','1271121zxvrad','CLOUD_FUNCTION','defineProperty'];a13_0x4f77=function(){return _0x567efb;};return a13_0x4f77();}Object[a13_0x27a748(0x184)](exports,'__esModule',{'value':!![]}),exports[a13_0x27a748(0x18b)]=exports[a13_0x27a748(0x18f)]=void 0x0;var Platforms;(function(_0x59a0b5){const _0x4ba64a=a13_0x27a748,_0x1947f1=(function(){let _0x261025=!![];return function(_0x277403,_0x220960){const _0x565216=_0x261025?function(){const _0x21bb45=a13_0x3688;if(_0x220960){const _0x1bb319=_0x220960[_0x21bb45(0x181)](_0x277403,arguments);return _0x220960=null,_0x1bb319;}}:function(){};return _0x261025=![],_0x565216;};}()),_0x1aa41c=_0x1947f1(this,function(){const _0x2bc09f=a13_0x3688;return _0x1aa41c[_0x2bc09f(0x180)]()[_0x2bc09f(0x189)](_0x2bc09f(0x17b))[_0x2bc09f(0x180)]()[_0x2bc09f(0x190)](_0x1aa41c)[_0x2bc09f(0x189)](_0x2bc09f(0x17b));});_0x1aa41c(),_0x59a0b5[_0x4ba64a(0x183)]=_0x4ba64a(0x185),_0x59a0b5['DEFAULT']=_0x4ba64a(0x17a);}(Platforms||(exports['Platforms']=Platforms={})));const getPlatform=()=>{const _0x448912=a13_0x27a748,{FUNCTION_NAME:_0x4faa6a,FUNCTION_TARGET:_0x2cc602}=process[_0x448912(0x187)];if(_0x4faa6a||_0x2cc602)return Platforms[_0x448912(0x183)];return Platforms[_0x448912(0x17e)];};exports[a13_0x27a748(0x18b)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a14_0x1614b1=a14_0x2a6e;function a14_0x2454(){const _0x1fb727=['entries','722240FDgIHr','push','Config\x20','search','maxSnapshotBufferSize','12TbVznR','1373SvcMRE','124461nlPcXk','limitConfig','(((.+)+)+)+$','538KzkTML','50tlojOy','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','number','1972810KfqgMc','toString','constructor','396648ZlvrcB','value','maxExpandFrames','1243451hTuVKj','502800nPHgfI','9AXNfWx'];a14_0x2454=function(){return _0x1fb727;};return a14_0x2454();}(function(_0x46066b,_0x552c91){const _0x2ed298=a14_0x2a6e,_0x6bc03f=_0x46066b();while(!![]){try{const _0x17e1f0=-parseInt(_0x2ed298(0x1c9))/0x1*(-parseInt(_0x2ed298(0x1cd))/0x2)+parseInt(_0x2ed298(0x1ca))/0x3*(-parseInt(_0x2ed298(0x1c8))/0x4)+-parseInt(_0x2ed298(0x1c3))/0x5+-parseInt(_0x2ed298(0x1c0))/0x6+-parseInt(_0x2ed298(0x1d1))/0x7+parseInt(_0x2ed298(0x1d4))/0x8*(-parseInt(_0x2ed298(0x1c1))/0x9)+-parseInt(_0x2ed298(0x1ce))/0xa*(-parseInt(_0x2ed298(0x1d7))/0xb);if(_0x17e1f0===_0x552c91)break;else _0x6bc03f['push'](_0x6bc03f['shift']());}catch(_0x153e7e){_0x6bc03f['push'](_0x6bc03f['shift']());}}}(a14_0x2454,0x3d236));const a14_0x43db78=(function(){let _0x36eb48=!![];return function(_0x293f1d,_0x13579a){const _0x2f8280=_0x36eb48?function(){if(_0x13579a){const _0x149507=_0x13579a['apply'](_0x293f1d,arguments);return _0x13579a=null,_0x149507;}}:function(){};return _0x36eb48=![],_0x2f8280;};}()),a14_0x541295=a14_0x43db78(this,function(){const _0x10c6ff=a14_0x2a6e;return a14_0x541295[_0x10c6ff(0x1d2)]()[_0x10c6ff(0x1c6)](_0x10c6ff(0x1cc))[_0x10c6ff(0x1d2)]()[_0x10c6ff(0x1d3)](a14_0x541295)[_0x10c6ff(0x1c6)]('(((.+)+)+)+$');});a14_0x541295();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a14_0x1614b1(0x1cb)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x4d31b1=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x4d31b1['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x1614b1(0x1d5)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x4d31b1[a14_0x1614b1(0x1c7)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x1614b1(0x1d5)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x4d31b1[a14_0x1614b1(0x1d6)],{'min':0x1,'max':0xa})[a14_0x1614b1(0x1d5)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x5b115c,{max:_0x21e93b,min:_0x205d06},_0x5e2f9b)=>{const _0x36baf0=a14_0x1614b1;let _0xfd8ad0;if(_0x5b115c>_0x21e93b)return _0x5e2f9b&&(_0xfd8ad0=_0x36baf0(0x1c5)+_0x5e2f9b+_0x36baf0(0x1cf)+_0x21e93b),{'value':_0x21e93b,'warning':_0xfd8ad0};else{if(_0x5b115c<_0x205d06)return _0x5e2f9b&&(_0xfd8ad0='Config\x20'+_0x5e2f9b+'\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x205d06),{'value':_0x205d06,'warning':_0xfd8ad0};}return{'value':_0x5b115c,'warning':_0xfd8ad0};},limitConfig=_0x5e668b=>{const _0x2f28e8=a14_0x1614b1,{capture:_0x4311e0}=_0x5e668b,_0x525e26=[],_0x3ff15c=getCaptureConfigLimits(_0x4311e0),_0x1b09cc={};for(const [_0x513c49,_0x2b9868]of Object[_0x2f28e8(0x1c2)](_0x3ff15c)){const _0x4c52be=_0x4311e0[_0x513c49];if(typeof _0x4c52be===_0x2f28e8(0x1d0)){const {value:_0x26a000,warning:_0x1ff221}=resolveLimitedConfig(_0x4c52be,_0x2b9868,_0x513c49);_0x1b09cc[_0x513c49]=_0x26a000,_0x1ff221&&_0x525e26[_0x2f28e8(0x1c4)](_0x1ff221);}}return{..._0x5e668b,'capture':{..._0x4311e0,..._0x1b09cc},'warnings':_0x525e26};};function a14_0x2a6e(_0x1d6691,_0x34cdb6){const _0x34fdfd=a14_0x2454();return a14_0x2a6e=function(_0x541295,_0x43db78){_0x541295=_0x541295-0x1c0;let _0x2454c1=_0x34fdfd[_0x541295];return _0x2454c1;},a14_0x2a6e(_0x1d6691,_0x34cdb6);}exports[a14_0x1614b1(0x1cb)]=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x17e679=a15_0x1db4;(function(_0x1a6a2a,_0x34d1f5){const _0xe76e19=a15_0x1db4,_0x4f96ac=_0x1a6a2a();while(!![]){try{const _0x573068=-parseInt(_0xe76e19(0xe9))/0x1*(-parseInt(_0xe76e19(0xe6))/0x2)+-parseInt(_0xe76e19(0xf2))/0x3+parseInt(_0xe76e19(0xe8))/0x4+parseInt(_0xe76e19(0xee))/0x5+-parseInt(_0xe76e19(0xf1))/0x6*(parseInt(_0xe76e19(0xe2))/0x7)+parseInt(_0xe76e19(0xec))/0x8*(-parseInt(_0xe76e19(0xe3))/0x9)+parseInt(_0xe76e19(0xef))/0xa*(parseInt(_0xe76e19(0xe4))/0xb);if(_0x573068===_0x34d1f5)break;else _0x4f96ac['push'](_0x4f96ac['shift']());}catch(_0x39314f){_0x4f96ac['push'](_0x4f96ac['shift']());}}}(a15_0x58cd,0xf298d));const a15_0x1ea90b=(function(){let _0x13d9b1=!![];return function(_0x25b0fa,_0x8c66dc){const _0x155d80=_0x13d9b1?function(){const _0x45e76e=a15_0x1db4;if(_0x8c66dc){const _0x1f5880=_0x8c66dc[_0x45e76e(0xea)](_0x25b0fa,arguments);return _0x8c66dc=null,_0x1f5880;}}:function(){};return _0x13d9b1=![],_0x155d80;};}()),a15_0x374d94=a15_0x1ea90b(this,function(){const _0x280ba0=a15_0x1db4;return a15_0x374d94[_0x280ba0(0xe1)]()[_0x280ba0(0xeb)]('(((.+)+)+)+$')['toString']()['constructor'](a15_0x374d94)[_0x280ba0(0xeb)](_0x280ba0(0xe7));});function a15_0x1db4(_0x1afd8b,_0xf178a4){const _0x22e5cd=a15_0x58cd();return a15_0x1db4=function(_0x374d94,_0x1ea90b){_0x374d94=_0x374d94-0xe1;let _0x58cdd9=_0x22e5cd[_0x374d94];return _0x58cdd9;},a15_0x1db4(_0x1afd8b,_0xf178a4);}a15_0x374d94();'use strict';Object[a15_0x17e679(0xed)](exports,a15_0x17e679(0xe5),{'value':!![]}),exports['mapSubtract']=void 0x0;const mapSubtract=(_0x56c2a9,_0x319dd8)=>{const _0x4645bf=[];for(const _0x11527e in _0x56c2a9){!_0x319dd8[_0x11527e]&&_0x4645bf['push'](_0x56c2a9[_0x11527e]);}return _0x4645bf;};function a15_0x58cd(){const _0x47b67c=['(((.+)+)+)+$','6520720BGMRgF','4cMgxJz','apply','search','40QMkkej','defineProperty','4857120tqSSbT','1157030URABeR','mapSubtract','664806EhdFdT','3873702iGiRbi','toString','119Qqnfxa','1810503vEJGuY','231aSxDTd','__esModule','71498zGcADx'];a15_0x58cd=function(){return _0x47b67c;};return a15_0x58cd();}exports[a15_0x17e679(0xf0)]=mapSubtract;
|