lightrun 1.64.2 → 1.65.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
|
+
function a0_0x1e22(){const _0x53271b=['AGENT_LOG_FILE','getSeconds','info','apply','error','process','539832WqIpgV','854562bZVSrM','181681cRpAcu','.%DATE%','toString','(((.+)+)+)+$','lightrun_nodejs_agent.','debug','51184BlBCBz','toUpperCase','getMinutes','getLevel','54FuKJVd','default','228710tJNGMl','.log','178345yoEdpr','getHours','14TNLaaD','getMonth',']\x20-\x20','2uOxknQ','getInitialLevel','365481plijAU','defineProperty','search','warn','__esModule','format','logger','initialLogLevel','padStart'];a0_0x1e22=function(){return _0x53271b;};return a0_0x1e22();}const a0_0x421bfa=a0_0xf2f4;(function(_0x453fb9,_0x2ea729){const _0x36a870=a0_0xf2f4,_0x2515f0=_0x453fb9();while(!![]){try{const _0x2e3db0=parseInt(_0x36a870(0x1bb))/0x1*(parseInt(_0x36a870(0x1a8))/0x2)+parseInt(_0x36a870(0x1aa))/0x3+-parseInt(_0x36a870(0x1c1))/0x4+-parseInt(_0x36a870(0x1a3))/0x5+-parseInt(_0x36a870(0x1ba))/0x6+parseInt(_0x36a870(0x1a5))/0x7*(parseInt(_0x36a870(0x1b9))/0x8)+-parseInt(_0x36a870(0x1c5))/0x9*(parseInt(_0x36a870(0x1c7))/0xa);if(_0x2e3db0===_0x2ea729)break;else _0x2515f0['push'](_0x2515f0['shift']());}catch(_0x14f9ae){_0x2515f0['push'](_0x2515f0['shift']());}}}(a0_0x1e22,0x1af0c));const a0_0x46b3f8=(function(){let _0x22e20a=!![];return function(_0x48306c,_0x5f038b){const _0x397a93=_0x22e20a?function(){const _0x12ae16=a0_0xf2f4;if(_0x5f038b){const _0x13219d=_0x5f038b[_0x12ae16(0x1b6)](_0x48306c,arguments);return _0x5f038b=null,_0x13219d;}}:function(){};return _0x22e20a=![],_0x397a93;};}()),a0_0x1eeba8=a0_0x46b3f8(this,function(){const _0x31232c=a0_0xf2f4;return a0_0x1eeba8[_0x31232c(0x1bd)]()[_0x31232c(0x1ac)](_0x31232c(0x1be))['toString']()['constructor'](a0_0x1eeba8)[_0x31232c(0x1ac)](_0x31232c(0x1be));});a0_0x1eeba8();'use strict';Object[a0_0x421bfa(0x1ab)](exports,a0_0x421bfa(0x1ae),{'value':!![]});const winston_1=require('winston'),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require(a0_0x421bfa(0x1b8)),{combine,printf,timestamp}=winston_1['format'],{Console}=winston_1['transports'],now=new Date();function getLoggerTransport(_0x2483bb,_0x33dc37,_0x1f209a){const _0x563263=a0_0x421bfa;if(_0x2483bb)return new DailyRotateFile({'dirname':_0x2483bb,'filename':AgentLogger[_0x563263(0x1b3)],'datePattern':now['getFullYear']()['toString']()+now[_0x563263(0x1a6)]()['toString']()[_0x563263(0x1b2)](0x2,'0')+now['getDate']()[_0x563263(0x1bd)]()[_0x563263(0x1b2)](0x2,'0')+'-'+now[_0x563263(0x1a4)]()[_0x563263(0x1bd)]()[_0x563263(0x1b2)](0x2,'0')+now[_0x563263(0x1c3)]()[_0x563263(0x1bd)]()[_0x563263(0x1b2)](0x2,'0')+now[_0x563263(0x1b4)]()[_0x563263(0x1bd)]()[_0x563263(0x1b2)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x563263(0x1b3)],'maxSize':_0x33dc37+'m','maxFiles':_0x1f209a,'extension':_0x563263(0x1c8)});return new Console();}function a0_0xf2f4(_0x14e879,_0x5e9607){const _0x74dab1=a0_0x1e22();return a0_0xf2f4=function(_0x1eeba8,_0x46b3f8){_0x1eeba8=_0x1eeba8-0x1a3;let _0x1e227f=_0x74dab1[_0x1eeba8];return _0x1e227f;},a0_0xf2f4(_0x14e879,_0x5e9607);}class AgentLogger{constructor(_0x586ba3,_0x2cf748,_0x49a49b,_0x23ac52,_0x45f1e9){const _0xdc23f=a0_0x421bfa;this[_0xdc23f(0x1b1)]=_0x23ac52,this['logger']=(0x0,winston_1['createLogger'])({'level':_0x23ac52,'transports':[getLoggerTransport(_0x586ba3,_0x2cf748,_0x49a49b),new Console({'level':_0x45f1e9,'stderrLevels':[_0xdc23f(0x1c0),_0xdc23f(0x1b5),_0xdc23f(0x1ad),_0xdc23f(0x1b7)]})],'format':combine(timestamp(),printf(({level:_0x229c07,message:_0xa09a46,timestamp:_0x2a25b4})=>{const _0x206fa9=_0xdc23f;return _0x2a25b4+'\x20['+_0x229c07[_0x206fa9(0x1c2)]()+_0x206fa9(0x1a7)+_0xa09a46;}),winston_1[_0xdc23f(0x1af)]['json']())});}static['createLogger'](_0x1cd682,_0xb83185,_0x140992,_0xcf6bd9,_0x30c165){return new AgentLogger(_0x1cd682,_0xb83185,_0x140992,_0xcf6bd9,_0x30c165);}['debug'](..._0xc2bb65){const _0x44615f=a0_0x421bfa;this['logger'][_0x44615f(0x1c0)](_0xc2bb65);}['info'](..._0x2047b1){const _0x45cfcf=a0_0x421bfa;this[_0x45cfcf(0x1b0)]['info'](_0x2047b1);}[a0_0x421bfa(0x1ad)](..._0x305276){const _0x49a4f4=a0_0x421bfa;this[_0x49a4f4(0x1b0)][_0x49a4f4(0x1ad)](_0x305276);}[a0_0x421bfa(0x1b7)](..._0x552d8a){const _0x5326c1=a0_0x421bfa;this[_0x5326c1(0x1b0)][_0x5326c1(0x1b7)](_0x552d8a);}[a0_0x421bfa(0x1c4)](){const _0x5f41d9=a0_0x421bfa;return this[_0x5f41d9(0x1b0)]['level'];}['setLevel'](_0x47222e){const _0x280041=a0_0x421bfa;this[_0x280041(0x1b0)]['level']=_0x47222e;}[a0_0x421bfa(0x1a9)](){const _0x24a335=a0_0x421bfa;return this[_0x24a335(0x1b1)];}}AgentLogger['AGENT_LOG_FILE']=a0_0x421bfa(0x1bf)+process_1['pid']+a0_0x421bfa(0x1bc),exports[a0_0x421bfa(0x1c6)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x389ccb=a1_0x4ef3;(function(_0x1a6ed5,_0x2b5659){const _0x17d522=a1_0x4ef3,_0x2859fc=_0x1a6ed5();while(!![]){try{const _0xf977fb=parseInt(_0x17d522(0x1c9))/0x1*(-parseInt(_0x17d522(0x1c7))/0x2)+parseInt(_0x17d522(0x1cb))/0x3+-parseInt(_0x17d522(0x1c5))/0x4*(parseInt(_0x17d522(0x1ba))/0x5)+-parseInt(_0x17d522(0x1bc))/0x6*(parseInt(_0x17d522(0x1ca))/0x7)+parseInt(_0x17d522(0x1be))/0x8+-parseInt(_0x17d522(0x1c3))/0x9+parseInt(_0x17d522(0x1bd))/0xa;if(_0xf977fb===_0x2b5659)break;else _0x2859fc['push'](_0x2859fc['shift']());}catch(_0x360952){_0x2859fc['push'](_0x2859fc['shift']());}}}(a1_0xa720,0x3a6b9));const a1_0x368ada=(function(){let _0x465c14=!![];return function(_0x142f61,_0x568021){const _0x1aa67e=_0x465c14?function(){if(_0x568021){const _0x11fccd=_0x568021['apply'](_0x142f61,arguments);return _0x568021=null,_0x11fccd;}}:function(){};return _0x465c14=![],_0x1aa67e;};}()),a1_0xe08249=a1_0x368ada(this,function(){const _0x4d9a2a=a1_0x4ef3;return a1_0xe08249['toString']()[_0x4d9a2a(0x1ce)](_0x4d9a2a(0x1c0))[_0x4d9a2a(0x1c8)]()[_0x4d9a2a(0x1bb)](a1_0xe08249)[_0x4d9a2a(0x1ce)](_0x4d9a2a(0x1c0));});a1_0xe08249();'use strict';Object[a1_0x389ccb(0x1b9)](exports,'__esModule',{'value':!![]}),exports['BlocklistingPatterns']=void 0x0;class BlocklistingPatterns{constructor(_0x231e2b){this['inversePatterns']=[],this['patterns']=[],_0x231e2b&&_0x231e2b['forEach'](_0x4b6486=>{const _0x549c82=a1_0x4ef3;_0x4b6486&&(_0x4b6486[0x0]==='!'?this[_0x549c82(0x1cd)][_0x549c82(0x1bf)](new RegExp(_0x4b6486[_0x549c82(0x1cc)](0x1))):this[_0x549c82(0x1c1)][_0x549c82(0x1bf)](new RegExp(_0x4b6486)));});}[a1_0x389ccb(0x1c4)](_0x1453f4){const _0x3c5370=a1_0x389ccb,_0x3218b5=_0x318318=>_0x1453f4[_0x3c5370(0x1cf)](_0x318318);return this[_0x3c5370(0x1cd)][_0x3c5370(0x1c6)]!==0x0&&!this[_0x3c5370(0x1cd)][_0x3c5370(0x1c2)](_0x3218b5)||this[_0x3c5370(0x1c1)][_0x3c5370(0x1c2)](_0x3218b5);}}exports['BlocklistingPatterns']=BlocklistingPatterns;function a1_0x4ef3(_0x332604,_0x1e14c0){const _0x30ad4f=a1_0xa720();return a1_0x4ef3=function(_0xe08249,_0x368ada){_0xe08249=_0xe08249-0x1b9;let _0xa72024=_0x30ad4f[_0xe08249];return _0xa72024;},a1_0x4ef3(_0x332604,_0x1e14c0);}function a1_0xa720(){const _0x422d78=['search','match','defineProperty','193560LZQSRc','constructor','66636jWdPDj','7271640MdJVem','1084272djTNhb','push','(((.+)+)+)+$','patterns','some','2080332JHcvqG','matches','4AYzexO','length','58EAesSu','toString','13586ihneIf','140ZCGsHl','787695oaSggk','substring','inversePatterns'];a1_0xa720=function(){return _0x422d78;};return a1_0xa720();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x43be48=a2_0x1fc6;(function(_0x52cb99,_0x25fd32){var _0x5520b6=a2_0x1fc6,_0x49c234=_0x52cb99();while(!![]){try{var _0x273502=-parseInt(_0x5520b6(0x132))/0x1+parseInt(_0x5520b6(0x12a))/0x2*(-parseInt(_0x5520b6(0x134))/0x3)+parseInt(_0x5520b6(0x127))/0x4*(parseInt(_0x5520b6(0x126))/0x5)+parseInt(_0x5520b6(0x12e))/0x6*(-parseInt(_0x5520b6(0x133))/0x7)+-parseInt(_0x5520b6(0x129))/0x8+parseInt(_0x5520b6(0x131))/0x9+parseInt(_0x5520b6(0x136))/0xa;if(_0x273502===_0x25fd32)break;else _0x49c234['push'](_0x49c234['shift']());}catch(_0x5272fd){_0x49c234['push'](_0x49c234['shift']());}}}(a2_0x3a61,0x27d2c));function a2_0x1fc6(_0x5ad6b4,_0x567de3){var _0x258ee1=a2_0x3a61();return a2_0x1fc6=function(_0x120d70,_0x15806d){_0x120d70=_0x120d70-0x124;var _0x3a61f0=_0x258ee1[_0x120d70];return _0x3a61f0;},a2_0x1fc6(_0x5ad6b4,_0x567de3);}var a2_0x15806d=(function(){var _0x5dd6e3=!![];return function(_0x5c93d9,_0x212c96){var _0x269bd7=_0x5dd6e3?function(){var _0x5187b8=a2_0x1fc6;if(_0x212c96){var _0x2c633c=_0x212c96[_0x5187b8(0x12d)](_0x5c93d9,arguments);return _0x212c96=null,_0x2c633c;}}:function(){};return _0x5dd6e3=![],_0x269bd7;};}()),a2_0x120d70=a2_0x15806d(this,function(){var _0x46dea8=a2_0x1fc6;return a2_0x120d70['toString']()['search']('(((.+)+)+)+$')[_0x46dea8(0x137)]()[_0x46dea8(0x12c)](a2_0x120d70)[_0x46dea8(0x125)](_0x46dea8(0x135));});a2_0x120d70();function a2_0x3a61(){var _0x32996a=['search','482905HckcxS','4tfhygb','DummyBlocklistManager','1013904NvfYLJ','148cjQkBW','__esModule','constructor','apply','1986skmBqc','defineProperty','value','2027961MWtuun','173099LstAzM','4648HvlwAr','6393cOuOPR','(((.+)+)+)+$','5185210FbCEbP','toString','shouldBlock'];a2_0x3a61=function(){return _0x32996a;};return a2_0x3a61();}'use strict';Object[a2_0x43be48(0x12f)](exports,a2_0x43be48(0x12b),{'value':!![]}),exports[a2_0x43be48(0x128)]=void 0x0;class DummyBlocklistManager{constructor(_0x2ba701){var _0x193391=a2_0x43be48;this[_0x193391(0x130)]=_0x2ba701;}[a2_0x43be48(0x124)](){return this['value'];}}exports[a2_0x43be48(0x128)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0xec0e46=a3_0x55a8;(function(_0x4a324b,_0x49b819){const _0x2b2e72=a3_0x55a8,_0x13c0a9=_0x4a324b();while(!![]){try{const _0x1daca4=-parseInt(_0x2b2e72(0x1e1))/0x1*(parseInt(_0x2b2e72(0x1dc))/0x2)+-parseInt(_0x2b2e72(0x1e0))/0x3*(parseInt(_0x2b2e72(0x1d2))/0x4)+-parseInt(_0x2b2e72(0x1d9))/0x5*(-parseInt(_0x2b2e72(0x1c5))/0x6)+parseInt(_0x2b2e72(0x1cc))/0x7*(-parseInt(_0x2b2e72(0x1d3))/0x8)+parseInt(_0x2b2e72(0x1cb))/0x9*(-parseInt(_0x2b2e72(0x1db))/0xa)+-parseInt(_0x2b2e72(0x1d5))/0xb*(-parseInt(_0x2b2e72(0x1ce))/0xc)+parseInt(_0x2b2e72(0x1da))/0xd*(parseInt(_0x2b2e72(0x1d1))/0xe);if(_0x1daca4===_0x49b819)break;else _0x13c0a9['push'](_0x13c0a9['shift']());}catch(_0x346e4d){_0x13c0a9['push'](_0x13c0a9['shift']());}}}(a3_0x1e2b,0x7e37c));const a3_0x4be9da=(function(){let _0x24fdd2=!![];return function(_0x3db595,_0x43e607){const _0xd5e1e4=_0x24fdd2?function(){const _0x3f65ae=a3_0x55a8;if(_0x43e607){const _0x4ff704=_0x43e607[_0x3f65ae(0x1d4)](_0x3db595,arguments);return _0x43e607=null,_0x4ff704;}}:function(){};return _0x24fdd2=![],_0xd5e1e4;};}()),a3_0x543307=a3_0x4be9da(this,function(){const _0x46fc5a=a3_0x55a8;return a3_0x543307[_0x46fc5a(0x1c8)]()[_0x46fc5a(0x1c6)](_0x46fc5a(0x1d6))[_0x46fc5a(0x1c8)]()['constructor'](a3_0x543307)[_0x46fc5a(0x1c6)](_0x46fc5a(0x1d6));});a3_0x543307();function a3_0x1e2b(){const _0x33410a=['(((.+)+)+)+$','PatternsBlocklistManager','./blocklisting-patterns','71305sIbdhL','52GckVwA','350egycgg','2eHziZy','BlocklistingPatterns','defineProperty','isPathInCurrentWorkingDirectory','51180Sxsdyg','118471rYqBKD','stripWorkingDir','../util/utils','186zVcsrv','search','blocklistExceptions','toString','blocklist','config','55125hpSCFY','37786lPHJEU','__esModule','12peRBch','stripCurrentWorkingDirectory','matches','3765846hBbxcE','120bxzfUm','296wtPnQo','apply','476443KgBIGG'];a3_0x1e2b=function(){return _0x33410a;};return a3_0x1e2b();}'use strict';function a3_0x55a8(_0x5681d1,_0x1a66ee){const _0x1cdb60=a3_0x1e2b();return a3_0x55a8=function(_0x543307,_0x4be9da){_0x543307=_0x543307-0x1c4;let _0x1e2b07=_0x1cdb60[_0x543307];return _0x1e2b07;},a3_0x55a8(_0x5681d1,_0x1a66ee);}Object[a3_0xec0e46(0x1de)](exports,a3_0xec0e46(0x1cd),{'value':!![]}),exports[a3_0xec0e46(0x1d7)]=void 0x0;const blocklisting_patterns_1=require(a3_0xec0e46(0x1d8)),utils=require(a3_0xec0e46(0x1c4));class PatternsBlocklistManager{constructor(_0x39b81f,_0x1bf807,_0x13e983){const _0x5e8cca=a3_0xec0e46;this[_0x5e8cca(0x1c9)]=new blocklisting_patterns_1[(_0x5e8cca(0x1dd))](_0x39b81f),this[_0x5e8cca(0x1c7)]=new blocklisting_patterns_1[(_0x5e8cca(0x1dd))](_0x1bf807),this[_0x5e8cca(0x1ca)]=_0x13e983;}['shouldBlock'](_0x3b6129){const _0x56355f=a3_0xec0e46;_0x3b6129=this[_0x56355f(0x1e2)](_0x3b6129);if(this[_0x56355f(0x1c7)][_0x56355f(0x1d0)](_0x3b6129))return![];return this[_0x56355f(0x1c9)][_0x56355f(0x1d0)](_0x3b6129);}[a3_0xec0e46(0x1e2)](_0x461504){const _0x59b0db=a3_0xec0e46;if(utils[_0x59b0db(0x1df)](_0x461504,this[_0x59b0db(0x1ca)]))return utils[_0x59b0db(0x1cf)](_0x461504,this[_0x59b0db(0x1ca)]);return _0x461504;}}exports[a3_0xec0e46(0x1d7)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x9c287f=a4_0x452d;(function(_0x202d1b,_0x40237f){const _0x4549b8=a4_0x452d,_0x4e2ead=_0x202d1b();while(!![]){try{const _0x1c3a4e=parseInt(_0x4549b8(0x1f4))/0x1*(-parseInt(_0x4549b8(0x1f7))/0x2)+-parseInt(_0x4549b8(0x1f1))/0x3*(parseInt(_0x4549b8(0x20d))/0x4)+-parseInt(_0x4549b8(0x1f3))/0x5+-parseInt(_0x4549b8(0x1fe))/0x6+-parseInt(_0x4549b8(0x216))/0x7*(parseInt(_0x4549b8(0x1f8))/0x8)+parseInt(_0x4549b8(0x207))/0x9+parseInt(_0x4549b8(0x1fd))/0xa*(parseInt(_0x4549b8(0x1f0))/0xb);if(_0x1c3a4e===_0x40237f)break;else _0x4e2ead['push'](_0x4e2ead['shift']());}catch(_0x169e9e){_0x4e2ead['push'](_0x4e2ead['shift']());}}}(a4_0x1f69,0xc5f80));const a4_0x3734d3=(function(){let _0x532394=!![];return function(_0x55fced,_0x23a08a){const _0x79d9ae=_0x532394?function(){const _0x48c2f7=a4_0x452d;if(_0x23a08a){const _0x579c6f=_0x23a08a[_0x48c2f7(0x1f2)](_0x55fced,arguments);return _0x23a08a=null,_0x579c6f;}}:function(){};return _0x532394=![],_0x79d9ae;};}()),a4_0x108b64=a4_0x3734d3(this,function(){const _0x233693=a4_0x452d;return a4_0x108b64[_0x233693(0x208)]()[_0x233693(0x214)](_0x233693(0x1fa))[_0x233693(0x208)]()[_0x233693(0x203)](a4_0x108b64)[_0x233693(0x214)](_0x233693(0x1fa));});a4_0x108b64();'use strict';Object[a4_0x9c287f(0x1f6)](exports,'__esModule',{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x9c287f(0x206)]=exports['configSchema']=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x9c287f(0x218));function a4_0x452d(_0x23dea3,_0x1ea37e){const _0x5d7366=a4_0x1f69();return a4_0x452d=function(_0x108b64,_0x3734d3){_0x108b64=_0x108b64-0x1e9;let _0x1f69ec=_0x5d7366[_0x108b64];return _0x1f69ec;},a4_0x452d(_0x23dea3,_0x1ea37e);}function a4_0x1f69(){const _0x53877f=['9021132SRwrmv','toString','!!!\x20NOT\x20SET\x20!!!','warn','agentConfigFile','info','48184EcBKZO','configSchema','Production','warnings','number','not\x20set!','boolean','search','Agent\x20Configuration:\x20','7BdMOrE','none','yup','oneOf','DOESN\x27T\x20EXIST','shape','errors','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','logMainConfigParams','cwd','forEach','app.lightrun.com','string','11qcgkJQ','324qjMlfW','apply','1365855iZywbq','1AauRNq','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','defineProperty','2471186fJpDxR','12844528ZdOyOd','error','(((.+)+)+)+$','tmpdir','array','54287890mdtbVC','7229754svgdUk',',\x20\x20\x20the\x20file\x20','debug','object','lightrunSecret','constructor','existsSync','.js','defaultConfig'];a4_0x1f69=function(){return _0x53877f;};return a4_0x1f69();}exports[a4_0x9c287f(0x20e)]=(0x0,yup_1[a4_0x9c287f(0x201)])()[a4_0x9c287f(0x21b)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x9c287f(0x211)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x9c287f(0x211)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x9c287f(0x211)])(),'capture':(0x0,yup_1['object'])()[a4_0x9c287f(0x21b)]({'includeNodeModules':(0x0,yup_1[a4_0x9c287f(0x213)])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxProperties':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxDataSize':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x9c287f(0x211)])()}),'internal':(0x0,yup_1[a4_0x9c287f(0x201)])()[a4_0x9c287f(0x21b)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x9c287f(0x211)])(),'sourceMapDiagnostics':(0x0,yup_1['boolean'])()}),'forceNewAgent_':(0x0,yup_1['boolean'])(),'testMode_':(0x0,yup_1[a4_0x9c287f(0x213)])(),'apiEndpoint':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'lightrunSecret':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'agentLog':(0x0,yup_1[a4_0x9c287f(0x201)])()[a4_0x9c287f(0x21b)]({'agentLogTargetDir':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x9c287f(0x211)])(),'agentLogMaxFileCount':(0x0,yup_1['number'])(),'agentLogLevel':(0x0,yup_1[a4_0x9c287f(0x1ef)])()[a4_0x9c287f(0x219)](['debug',a4_0x9c287f(0x20c),a4_0x9c287f(0x20a),a4_0x9c287f(0x1f9)]),'stdErrThreshold':(0x0,yup_1[a4_0x9c287f(0x1ef)])()[a4_0x9c287f(0x219)]([a4_0x9c287f(0x200),a4_0x9c287f(0x20c),a4_0x9c287f(0x20a),a4_0x9c287f(0x1f9),a4_0x9c287f(0x217)]),'collectCooldownMs':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x9c287f(0x211)])()}),'pinnedCerts':(0x0,yup_1[a4_0x9c287f(0x1fc)])()['of']((0x0,yup_1[a4_0x9c287f(0x1ef)])()),'noCheckCertificate':(0x0,yup_1[a4_0x9c287f(0x213)])(),'caPath':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x9c287f(0x211)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x9c287f(0x211)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1[a4_0x9c287f(0x201)])()[a4_0x9c287f(0x21b)]({'maxConditionCost':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxCPUCost':(0x0,yup_1[a4_0x9c287f(0x211)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x9c287f(0x211)])(),'ignoreQuota':(0x0,yup_1[a4_0x9c287f(0x213)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x9c287f(0x211)])()}),'agentConfigFile':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x9c287f(0x213)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x9c287f(0x211)])(),'lightrunWaitForInit':(0x0,yup_1['boolean'])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x9c287f(0x211)])(),'extraPaths':(0x0,yup_1[a4_0x9c287f(0x1fc)])()['of']((0x0,yup_1[a4_0x9c287f(0x1ef)])()),'redactionEnabled':(0x0,yup_1[a4_0x9c287f(0x213)])(),'proxy':(0x0,yup_1[a4_0x9c287f(0x201)])()[a4_0x9c287f(0x21b)]({'host':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'port':(0x0,yup_1[a4_0x9c287f(0x211)])(),'username':(0x0,yup_1[a4_0x9c287f(0x1ef)])(),'password':(0x0,yup_1[a4_0x9c287f(0x1ef)])()})}),exports[a4_0x9c287f(0x206)]={'workingDirectory':process[a4_0x9c287f(0x1ec)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x9c287f(0x205)],'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_0x9c287f(0x1ee),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x9c287f(0x1fb)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x9c287f(0x20c),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x9c287f(0x1f5)],'noCheckCertificate':![],'caPath':a4_0x9c287f(0x1ea),'metadata':{'registration':{'tags':[a4_0x9c287f(0x20f)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':'agent.config','resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x25464b,_0x11f433)=>{const _0x1a171a=a4_0x9c287f,_0x32c1a1=Object['values'](_0x25464b?.[_0x1a171a(0x1e9)]??[]);_0x32c1a1['length']&&_0x32c1a1['forEach'](_0x3a2ee9=>{const _0x14d95b=_0x1a171a;_0x11f433[_0x14d95b(0x1f9)](_0x3a2ee9);});},logConfigWarnings=(_0x1e1caf,_0x43412e)=>{const _0x34002c=a4_0x9c287f;_0x1e1caf[_0x34002c(0x210)]?.[_0x34002c(0x1ed)](_0x3d4d53=>{const _0x86d329=_0x34002c;_0x43412e[_0x86d329(0x20a)](_0x3d4d53);});};function logMainConfigParams(_0x5529b5,_0x2055a3){const _0x10ddf8=a4_0x9c287f;let _0x1566ad=_0x5529b5[_0x10ddf8(0x20b)];_0x1566ad?_0x1566ad+=_0x10ddf8(0x1ff)+((0x0,fs_1[_0x10ddf8(0x204)])(_0x5529b5[_0x10ddf8(0x20b)])?'exists':_0x10ddf8(0x21a)):_0x1566ad=_0x10ddf8(0x212);const _0x42006c={..._0x5529b5,'lightrunSecret':_0x5529b5[_0x10ddf8(0x202)]?'set':_0x10ddf8(0x209),'agentConfigFile':_0x1566ad};_0x2055a3[_0x10ddf8(0x200)](_0x10ddf8(0x215),_0x42006c),logConfigWarnings(_0x5529b5,_0x2055a3),logConfigErrors(_0x5529b5,_0x2055a3);}exports[a4_0x9c287f(0x1eb)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x46d201=a5_0x24f3;(function(_0x337fec,_0x57676e){var _0x3da16b=a5_0x24f3,_0x5acc04=_0x337fec();while(!![]){try{var _0x575b70=parseInt(_0x3da16b(0x128))/0x1+-parseInt(_0x3da16b(0x122))/0x2+-parseInt(_0x3da16b(0x113))/0x3*(parseInt(_0x3da16b(0x114))/0x4)+parseInt(_0x3da16b(0x11e))/0x5+-parseInt(_0x3da16b(0x11a))/0x6+-parseInt(_0x3da16b(0x123))/0x7+parseInt(_0x3da16b(0x117))/0x8;if(_0x575b70===_0x57676e)break;else _0x5acc04['push'](_0x5acc04['shift']());}catch(_0x1de474){_0x5acc04['push'](_0x5acc04['shift']());}}}(a5_0xf575,0xc7a5d));var a5_0x3c6011=(function(){var _0x125229=!![];return function(_0x3de0d8,_0x55ffb2){var _0x45c6e5=_0x125229?function(){if(_0x55ffb2){var _0x1d6b5e=_0x55ffb2['apply'](_0x3de0d8,arguments);return _0x55ffb2=null,_0x1d6b5e;}}:function(){};return _0x125229=![],_0x45c6e5;};}()),a5_0x5df650=a5_0x3c6011(this,function(){var _0xd40e61=a5_0x24f3;return a5_0x5df650[_0xd40e61(0x11f)]()[_0xd40e61(0x11d)]('(((.+)+)+)+$')['toString']()['constructor'](a5_0x5df650)[_0xd40e61(0x11d)](_0xd40e61(0x118));});a5_0x5df650();'use strict';Object[a5_0x46d201(0x126)](exports,'__esModule',{'value':!![]}),exports[a5_0x46d201(0x115)]=void 0x0;function a5_0x24f3(_0x9d7d4c,_0x4e2987){var _0x24fca6=a5_0xf575();return a5_0x24f3=function(_0x5df650,_0x3c6011){_0x5df650=_0x5df650-0x111;var _0xf5755=_0x24fca6[_0x5df650];return _0xf5755;},a5_0x24f3(_0x9d7d4c,_0x4e2987);}class ConfigurationProvider{constructor(_0x5ea9f9){var _0x437415=a5_0x46d201;this[_0x437415(0x121)]=_0x5ea9f9;}[a5_0x46d201(0x120)](){var _0x2c6b8d=a5_0x46d201;return this[_0x2c6b8d(0x121)][_0x2c6b8d(0x11c)][_0x2c6b8d(0x111)]||this[_0x2c6b8d(0x121)][_0x2c6b8d(0x11c)][_0x2c6b8d(0x112)];}[a5_0x46d201(0x119)](){var _0x318e1e=a5_0x46d201;return this[_0x318e1e(0x121)][_0x318e1e(0x11c)]['maxWatchListVariableSize'];}[a5_0x46d201(0x116)](){var _0x182ad9=a5_0x46d201;return this['resolvedDebugAgentConfig'][_0x182ad9(0x11c)][_0x182ad9(0x127)]||this[_0x182ad9(0x121)][_0x182ad9(0x11c)]['maxSnapshotBufferSize'];}[a5_0x46d201(0x124)](_0x2423c5){var _0x1f2a9c=a5_0x46d201;return _0x2423c5?this[_0x1f2a9c(0x121)][_0x1f2a9c(0x11c)][_0x1f2a9c(0x125)]:this[_0x1f2a9c(0x121)][_0x1f2a9c(0x11c)][_0x1f2a9c(0x11b)];}}function a5_0xf575(){var _0x2a2c51=['maxStringLength','maxVariableSize','1404513JqDorM','12YAUJPZ','ConfigurationProvider','getMaxSnapshotBufferSize','15024040dpkPoA','(((.+)+)+)+$','getMaxWatchListVariableSize','3057750BdPLyJ','maxProperties','capture','search','1238690zKyJGO','toString','getMaxVariableSize','resolvedDebugAgentConfig','335742EmwMho','1644454DnBcnv','getMaxProperties','maxWatchProperties','defineProperty','maxDataSize','1008945FWBhkm'];a5_0xf575=function(){return _0x2a2c51;};return a5_0xf575();}exports[a5_0x46d201(0x115)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x5d23(){const _0x375c5a=['Getting\x20blocklist','Getting\x20reductions','/deregister/','assert','context','https://','shift','error','\x22\x20-\x20ignoring\x20it','signal','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','pubkey','toBuffer','https-proxy-agent','application/octet-stream','transmissionHardMaxNetworkSizeLimitInBytes','pinnedCerts','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','transmissionQueue','@google-cloud/common','https','digest','message','axios','password','secureContext','\x20transmitted\x20successfully','Controller','now','transmissionBulkMaxNetworkSizeInBytes','/appOnlyActionHits/','217206gZPrrv','host','register','listBreakpoints','552036oupMPA','makeRequest','request','/blacklist?successOnTimeout=true','(((.+)+)+)+$','/log/','23802cHwStR','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','lastLogCollectionTime','max','getRedactions','should\x20have\x20a\x20registered\x20debuggee','waitToken','warn','breakpoint\x20','Using\x20proxy\x20configuration:\x20','PUT','ascii','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','create','method','includes','readFileSync','\x20Error:\x20','noCheckCertificate','Deregister\x20agent\x20before\x20shutdown','timeout\x20set\x20to\x20','zlib','Successfully\x20sent\x20log\x20file\x20','caPath','defineProperty','default','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','push','listBreakpointsAbortController','23QydsDM','reject','status','/breakpoints','\x20seconds','45DHejYW','number','6620319LnSaPp','transmissionTimeout','update','then','__esModule','transmitBreakpointUpdates','info','transmissionBulkMaxSize','debug','747411XFxofx','56ZABzRf','length','stream','response','username','\x20for\x20request\x20','crypto','/controller','pipeline','logger','130KOjhMt','Timeout\x20occurred\x20after\x20','load','statSync','data','Certificate\x20Pinning\x20Failed!','serializedJson','querystring','1274834DdAEZV','proxy','POST','Agent','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','failed\x20to\x20serialize\x20breakpoint\x20','sendBreakpointLogsToServer','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','floor','unknown\x20error\x20-\x20request\x20response\x20missing','/redaction','Failed\x20to\x20read\x20pem\x20file\x20\x22','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','nextWaitToken','toString','\x20size\x20>\x20max\x20network\x20size\x20:\x20','hex','Breakpoint\x20','constructor','sha256','agentLog','27026GuLuTZ','port','/breakpoints?','ServiceObject','bind','Update\x20for\x20breakpoints\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','apiUrl','config','addCACert','Compressing\x20and\x20sending\x20log\x20file\x20','Failed\x20to\x20send\x20log\x20file\x20','tls','memory-streams','search','getJsonStringSizeInBytes','\x20and\x20enqueue\x20to\x20queue',',\x20username:\x20','maxLogFileBytes','createSecureContext','\x20for\x20request\x20id\x20','abort','\x20size\x20is\x20','debuggee','map'];a6_0x5d23=function(){return _0x375c5a;};return a6_0x5d23();}const a6_0x390e5e=a6_0x1553;(function(_0x35a5ab,_0x4d729a){const _0x4bf999=a6_0x1553,_0x3a377e=_0x35a5ab();while(!![]){try{const _0x415920=parseInt(_0x4bf999(0x15e))/0x1*(parseInt(_0x4bf999(0x197))/0x2)+parseInt(_0x4bf999(0x136))/0x3+parseInt(_0x4bf999(0x13a))/0x4+-parseInt(_0x4bf999(0x163))/0x5*(parseInt(_0x4bf999(0x140))/0x6)+parseInt(_0x4bf999(0x16e))/0x7*(parseInt(_0x4bf999(0x16f))/0x8)+parseInt(_0x4bf999(0x165))/0x9+parseInt(_0x4bf999(0x179))/0xa*(-parseInt(_0x4bf999(0x181))/0xb);if(_0x415920===_0x4d729a)break;else _0x3a377e['push'](_0x3a377e['shift']());}catch(_0x232103){_0x3a377e['push'](_0x3a377e['shift']());}}}(a6_0x5d23,0x70c3f));const a6_0x3c087d=(function(){let _0x21c47c=!![];return function(_0x11addd,_0xd8e028){const _0xb01377=_0x21c47c?function(){if(_0xd8e028){const _0xd55313=_0xd8e028['apply'](_0x11addd,arguments);return _0xd8e028=null,_0xd55313;}}:function(){};return _0x21c47c=![],_0xb01377;};}()),a6_0x44b2b1=a6_0x3c087d(this,function(){const _0x24da58=a6_0x1553;return a6_0x44b2b1[_0x24da58(0x190)]()[_0x24da58(0x1a5)](_0x24da58(0x13e))[_0x24da58(0x190)]()[_0x24da58(0x194)](a6_0x44b2b1)[_0x24da58(0x1a5)](_0x24da58(0x13e));});a6_0x44b2b1();'use strict';function a6_0x1553(_0x12b643,_0x463bf7){const _0x3b7f7a=a6_0x5d23();return a6_0x1553=function(_0x44b2b1,_0x3c087d){_0x44b2b1=_0x44b2b1-0x113;let _0x5d235f=_0x3b7f7a[_0x44b2b1];return _0x5d235f;},a6_0x1553(_0x12b643,_0x463bf7);}Object[a6_0x390e5e(0x159)](exports,a6_0x390e5e(0x169),{'value':!![]}),exports[a6_0x390e5e(0x132)]=void 0x0;const common_1=require(a6_0x390e5e(0x12a)),assert=require(a6_0x390e5e(0x11a)),qs=require(a6_0x390e5e(0x180)),fs_1=require('fs'),crypto_1=require(a6_0x390e5e(0x175)),zlib_1=require(a6_0x390e5e(0x156)),stream_1=require(a6_0x390e5e(0x171)),memory_streams_1=require(a6_0x390e5e(0x1a4)),tls_1=require(a6_0x390e5e(0x1a3)),extend=require('extend'),axios_1=require(a6_0x390e5e(0x12e)),https=require(a6_0x390e5e(0x12b)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x390e5e(0x124)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x390e5e(0x19a)]{constructor(_0x1e2580,_0x3703ea,_0x25fd75){const _0x2d795f=a6_0x390e5e;super({'parent':_0x1e2580,'baseUrl':_0x2d795f(0x176)}),this['nextWaitToken']=null,this[_0x2d795f(0x19f)]=_0x3703ea,this[_0x2d795f(0x129)]=[],this[_0x2d795f(0x178)]=_0x25fd75,this[_0x2d795f(0x19e)]=_0x2d795f(0x11c)+_0x3703ea['apiEndpoint']+'/debuggees/',this[_0x2d795f(0x12e)]=axios_1[_0x2d795f(0x15a)][_0x2d795f(0x14e)]({'httpsAgent':getProxyAgent(_0x3703ea,_0x25fd75)??new https[(_0x2d795f(0x184))](getHttpsAgentOptions(_0x3703ea,_0x25fd75)),'proxy':![]});}['register'](_0x27a50a,_0x43beb9){const _0x1eec1a=a6_0x390e5e,_0xdb3f12={'uri':this['apiUrl']+_0x1eec1a(0x138),'method':_0x1eec1a(0x183),'json':!![],'body':{'debuggee':_0x27a50a}};this[_0x1eec1a(0x13b)](_0xdb3f12,(_0x213145,_0x2541c9,_0x4eefc6)=>{const _0x35676a=_0x1eec1a;if(!_0x4eefc6)_0x43beb9(_0x213145||new Error(_0x35676a(0x18b)));else{if(_0x213145){let _0x19541e=![];_0x4eefc6[_0x35676a(0x160)]===HTTP_UPGRADE_REQUIRED&&_0x2541c9&&(_0x2541c9[_0x35676a(0x12d)]!==undefined&&(_0x213145[_0x35676a(0x12d)]=_0x2541c9[_0x35676a(0x12d)]),_0x27a50a['id']=_0x2541c9[_0x35676a(0x115)]['id'],_0x19541e=!![]),_0x43beb9(_0x213145,_0x2541c9,_0x19541e);}else{if(_0x4eefc6[_0x35676a(0x160)]!==HTTP_SUCCESS)_0x43beb9(new Error('unable\x20to\x20register,\x20status\x20'+_0x4eefc6[_0x35676a(0x160)]));else!_0x2541c9?.[_0x35676a(0x115)]?_0x43beb9(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x27a50a['id']=_0x2541c9[_0x35676a(0x115)]['id'],_0x43beb9(null,_0x2541c9));}}});}[a6_0x390e5e(0x139)](_0x344459,_0x1682eb,_0x406714){const _0xb1ba1=a6_0x390e5e,_0x2df8a0=this;assert(_0x344459['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x1bd3b4={'successOnTimeout':!![]};_0x2df8a0['nextWaitToken']&&(_0x1bd3b4[_0xb1ba1(0x147)]=_0x2df8a0['nextWaitToken']);const _0x59fe9c=this[_0xb1ba1(0x19e)]+encodeURIComponent(_0x344459['id'])+_0xb1ba1(0x199)+qs['stringify'](_0x1bd3b4);_0x2df8a0[_0xb1ba1(0x13b)]({'uri':_0x59fe9c,'json':!![]},(_0x104f3c,_0x568822,_0x268cae)=>{const _0x147031=_0xb1ba1;if(!_0x268cae){_0x1682eb(_0x104f3c||new Error(_0x147031(0x18b)));return;}else{if(!is2xx(_0x268cae[_0x147031(0x160)])){_0x1682eb(new Error(_0x147031(0x14d)+_0x268cae[_0x147031(0x160)]),_0x268cae);return;}else _0x568822&&(_0x2df8a0['nextWaitToken']=_0x568822[_0x147031(0x18f)]),_0x1682eb(null,_0x268cae,_0x568822);}},_0x406714,this[_0xb1ba1(0x15d)]=new AbortController());}['enqueueBreakpointUpdate'](_0x3c8948,_0x5ab952){const _0x4e3d76=a6_0x390e5e;assert(_0x3c8948['id'],_0x4e3d76(0x146));try{const _0x59a4ad=JSON['stringify'](_0x5ab952),_0x2c3a9f=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x59a4ad);if(_0x2c3a9f>=this[_0x4e3d76(0x19f)][_0x4e3d76(0x126)]){this[_0x4e3d76(0x178)]['warn']('breakpointId:\x20'+_0x5ab952['id']+_0x4e3d76(0x114)+_0x2c3a9f+_0x4e3d76(0x18e)+this[_0x4e3d76(0x19f)][_0x4e3d76(0x126)]);return;}this[_0x4e3d76(0x129)][_0x4e3d76(0x15c)]({'id':_0x5ab952['id'],'serializedJson':_0x59a4ad,'number':0x0});if(!this[_0x4e3d76(0x166)]){const _0x3acf81=this;this[_0x4e3d76(0x166)]=setTimeout(()=>_0x3acf81[_0x4e3d76(0x16a)][_0x4e3d76(0x19b)](_0x3acf81)(_0x3c8948['id']),0x0);}}catch(_0x245330){this[_0x4e3d76(0x178)]['error'](_0x4e3d76(0x187)+_0x5ab952['id']+_0x4e3d76(0x1a7),_0x245330);return;}}['stop'](){const _0xec255e=a6_0x390e5e;this['listBreakpointsAbortController']?.[_0xec255e(0x113)](),this[_0xec255e(0x15d)]=undefined;if(!this[_0xec255e(0x166)])return;clearTimeout(this['transmissionTimeout']),this['transmissionTimeout']=null;}['deregister'](_0x5a98cc,_0x88a573){const _0x4fe9bf=a6_0x390e5e,_0x473f95=this['apiUrl']+encodeURIComponent(_0x5a98cc['id'])+_0x4fe9bf(0x119),_0x3a6116={'uri':_0x473f95,'method':_0x4fe9bf(0x183),'json':!![]};this['logger'][_0x4fe9bf(0x16b)](_0x4fe9bf(0x154)),this['makeRequest'](_0x3a6116,(_0x15b7c8,_0x472d66,_0x73ebf0)=>{const _0x1657bb=_0x4fe9bf;(!_0x73ebf0||Math[_0x1657bb(0x18a)](_0x73ebf0[_0x1657bb(0x160)]/0x64)!==0x2)&&this['logger'][_0x1657bb(0x148)](_0x1657bb(0x19d)+_0x15b7c8),_0x88a573(_0x15b7c8);});}[a6_0x390e5e(0x188)](_0x2b301e,_0x4c3c09,_0x23d8e1){const _0x1a8f15=a6_0x390e5e,_0x2f5520=this[_0x1a8f15(0x19e)]+encodeURIComponent(_0x2b301e['id'])+_0x1a8f15(0x13f),_0x1db75e={'uri':_0x2f5520,'method':_0x1a8f15(0x183),'json':!![],'body':_0x4c3c09};this[_0x1a8f15(0x13b)](_0x1db75e,(_0x1475bc,_0x343aee,_0x43f7d2)=>{const _0x34838d=_0x1a8f15;(!_0x43f7d2||Math['floor'](_0x43f7d2['status']/0x64)!==0x2)&&(this[_0x34838d(0x178)][_0x34838d(0x148)](_0x34838d(0x15b)+_0x1475bc),_0x23d8e1(_0x1475bc));});}['sendAppOnlyBreakpointHitsToServer'](_0xf28489,_0x48195b,_0x128a27){const _0x5073fa=a6_0x390e5e,_0x5ee86e=this[_0x5073fa(0x19e)]+encodeURIComponent(_0xf28489['id'])+_0x5073fa(0x135),_0x45e1fe={'uri':_0x5ee86e,'method':'POST','json':!![],'body':_0x48195b};this[_0x5073fa(0x13b)](_0x45e1fe,(_0x201314,_0xb4b2dc,_0x56a8be)=>{const _0x2e7f13=_0x5073fa;(!_0x56a8be||Math[_0x2e7f13(0x18a)](_0x56a8be['status']/0x64)!==0x2)&&(this['logger'][_0x2e7f13(0x148)](_0x2e7f13(0x141)+_0x201314),_0x128a27(_0x201314));});}['sendAgentLogsToServer'](_0x74f7f,_0xf7e4cd,_0x560977){const _0x3fbd28=a6_0x390e5e;assert(_0x74f7f['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x3fbd28(0x143)]){const _0x54512d=Date[_0x3fbd28(0x133)](),_0x380b3c=this['lastLogCollectionTime']+this[_0x3fbd28(0x19f)][_0x3fbd28(0x196)]['collectCooldownMs'];if(_0x54512d<_0x380b3c){this[_0x3fbd28(0x178)]['info'](_0x3fbd28(0x185)+((_0x380b3c-_0x54512d)/0x3e8+_0x3fbd28(0x162)));return;}}const _0x31684b=(0x0,fs_1[_0x3fbd28(0x17c)])(_0x560977)['size'],_0x1e99e4=Math[_0x3fbd28(0x144)](0x0,_0x31684b-this['config'][_0x3fbd28(0x196)][_0x3fbd28(0x1a9)]),_0x435757=(0x0,fs_1['createReadStream'])(_0x560977,{'start':_0x1e99e4}),_0x577a67=(0x0,zlib_1['createGzip'])(),_0x20351e=new memory_streams_1['WritableStream'](),_0x1d9b73=this;_0x1d9b73[_0x3fbd28(0x178)][_0x3fbd28(0x16b)](_0x3fbd28(0x1a1)+_0x560977+_0x3fbd28(0x1ab)+_0xf7e4cd),(0x0,stream_1[_0x3fbd28(0x177)])(_0x435757,_0x577a67,_0x20351e,_0x340f11=>{const _0x221c84=_0x3fbd28;if(_0x340f11)_0x1d9b73[_0x221c84(0x178)]['error']('Failed\x20to\x20zip\x20'+_0x560977+':\x20'+_0x340f11);else{const _0x3abb58={'uri':this[_0x221c84(0x19e)]+encodeURIComponent(_0x74f7f['id'])+'/compressedLogFileV2/'+_0xf7e4cd,'method':_0x221c84(0x14b),'body':_0x20351e[_0x221c84(0x123)](),'headers':{'Content-Type':_0x221c84(0x125)}};_0x1d9b73[_0x221c84(0x13b)](_0x3abb58,_0x26e663=>{const _0x23aa31=_0x221c84;_0x26e663?_0x1d9b73[_0x23aa31(0x178)]['error'](_0x23aa31(0x1a2)+_0x560977+'\x20for\x20request\x20'+_0xf7e4cd,_0x26e663):(_0x1d9b73[_0x23aa31(0x178)]['info'](_0x23aa31(0x157)+_0x560977+_0x23aa31(0x174)+_0xf7e4cd),_0x1d9b73[_0x23aa31(0x143)]=Date[_0x23aa31(0x133)]());});}});}[a6_0x390e5e(0x16a)](_0x155efe){const _0x10a615=a6_0x390e5e;this['logger']['debug']('Transmitting\x20breakpoint\x20updates...'),this['transmissionTimeout']=undefined;const _0x374e40=[];let _0x405b94=0x0;while(_0x374e40[_0x10a615(0x170)]<this[_0x10a615(0x19f)][_0x10a615(0x16c)]&&this[_0x10a615(0x129)][_0x10a615(0x170)]>0x0){const _0x540ea6=this[_0x10a615(0x129)][0x0],_0x264e0b=_0x540ea6[_0x10a615(0x17f)],_0x21e063=(0x0,utils_1[_0x10a615(0x1a6)])(_0x264e0b);_0x405b94+=_0x21e063;if(_0x405b94<=this['config'][_0x10a615(0x134)])_0x374e40['push'](_0x540ea6),this['transmissionQueue'][_0x10a615(0x11d)]();else{_0x21e063>this['config'][_0x10a615(0x134)]&&_0x374e40[_0x10a615(0x170)]===0x0&&(this['logger'][_0x10a615(0x16d)](_0x10a615(0x149)+_0x540ea6['id']+_0x10a615(0x191)+this[_0x10a615(0x19f)][_0x10a615(0x134)]+',\x20sending\x20only\x20one'),_0x374e40[_0x10a615(0x15c)](_0x540ea6),this[_0x10a615(0x129)][_0x10a615(0x11d)]());break;}}if(!_0x374e40)return;const _0x2cca1f=_0x374e40[_0x10a615(0x116)](_0xb8bc5e=>_0xb8bc5e['id']),_0x2c955b={'uri':this[_0x10a615(0x19e)]+encodeURIComponent(_0x155efe)+_0x10a615(0x161),'json':!![],'method':_0x10a615(0x14b),'body':'['+_0x374e40[_0x10a615(0x116)](_0x4fc98e=>_0x4fc98e[_0x10a615(0x17f)])['join'](',')+']'},_0x53a235=this;try{this['makeRequest'](_0x2c955b,(_0x7acdf7,_0x4e18d2,_0x3fa924)=>{const _0x339b59=_0x10a615,_0x279df2=_0x3fa924?.['status'];_0x53a235[_0x339b59(0x178)][_0x339b59(0x16d)]('Update\x20for\x20breakpoints\x20'+_0x2cca1f+'\x20finished\x20with\x20status\x20'+_0x279df2);if(_0x7acdf7||!_0x279df2||Math[_0x339b59(0x18a)](_0x279df2/0x64)!==0x2){const _0x28e21a=_0x279df2&&(_0x279df2>=0x1f4||_0x279df2===0x198);if(_0x28e21a){_0x53a235['logger'][_0x339b59(0x148)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x2cca1f+_0x339b59(0x189)+_0x279df2+_0x339b59(0x152)+_0x7acdf7);for(const _0x4175ad of _0x374e40){_0x4175ad[_0x339b59(0x164)]<MAX_FAILED_SEND_ATTEMPTS?_0x53a235['transmissionQueue']['push']({..._0x4175ad,'number':_0x4175ad[_0x339b59(0x164)]+0x1}):_0x53a235[_0x339b59(0x178)]['warn'](_0x339b59(0x193)+_0x4175ad['id']+_0x339b59(0x142));}}else _0x53a235['logger'][_0x339b59(0x148)](_0x339b59(0x186)+_0x2cca1f+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x279df2+'\x20Error:\x20'+_0x7acdf7);}else _0x53a235['logger'][_0x339b59(0x16b)](_0x339b59(0x19c)+_0x2cca1f+_0x339b59(0x131));_0x53a235[_0x339b59(0x129)][_0x339b59(0x170)]>0x0&&(_0x53a235['transmissionTimeout']=setTimeout(()=>_0x53a235[_0x339b59(0x16a)]['bind'](_0x53a235)(_0x155efe),0x0));},0x28);}catch(_0x4878c4){this[_0x10a615(0x178)][_0x10a615(0x148)](_0x10a615(0x186)+_0x2cca1f+_0x10a615(0x121)+_0x4878c4+',\x20Message:\x20'+_0x4878c4[_0x10a615(0x17d)]?.['message']),_0x53a235['transmissionQueue'][_0x10a615(0x170)]>0x0&&(_0x53a235[_0x10a615(0x166)]=setTimeout(()=>_0x53a235[_0x10a615(0x16a)]['bind'](_0x53a235)(_0x155efe),0x0));}}async['getBlocklist'](_0x15a413){const _0xb55c91=a6_0x390e5e;this[_0xb55c91(0x178)][_0xb55c91(0x16b)](_0xb55c91(0x117));const _0x4b62d7=this[_0xb55c91(0x19e)]+encodeURIComponent(_0x15a413)+_0xb55c91(0x13d),{error:_0x28632b,data:_0x2a8401}=await this['makeRequest']({'uri':_0x4b62d7,'json':!![]});if(_0x28632b)return Promise[_0xb55c91(0x15f)](_0x28632b);return yaml[_0xb55c91(0x17b)](_0x2a8401)||{};}[a6_0x390e5e(0x13b)](_0x4dc64c,_0x2a4bbe,_0x4e58a2,_0x5b0aee,_0x139584){const _0x2e1be7=a6_0x390e5e,_0x2f2726={'Content-Type':_0x139584?_0x139584:'application/json','Authorization':'Bearer\x20'+this['config']['lightrunSecret']},_0xee24ca=_0x5b0aee??new AbortController(),_0x57db4c=_0x4e58a2?_0x4e58a2*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x2e1be7(0x178)]['debug'](_0x2e1be7(0x155)+_0x57db4c);const _0x26d5f3=setTimeout(()=>{const _0xa4cfa7=_0x2e1be7;this[_0xa4cfa7(0x178)][_0xa4cfa7(0x148)](_0xa4cfa7(0x17a)+_0x57db4c+'ms'),_0xee24ca[_0xa4cfa7(0x113)]();},_0x57db4c),_0x563a37={'method':_0x4dc64c[_0x2e1be7(0x14f)],'url':_0x4dc64c['uri'],'data':_0x4dc64c['body'],'headers':_0x2f2726,'signal':_0xee24ca[_0x2e1be7(0x120)]};return extend(!![],_0x563a37,_0x4dc64c),this[_0x2e1be7(0x12e)][_0x2e1be7(0x13c)](_0x563a37)[_0x2e1be7(0x168)](_0x36b794=>{const _0x36b7a7=_0x2e1be7;return _0x2a4bbe?.(null,_0x36b794[_0x36b7a7(0x17d)],_0x36b794),{'error':null,'data':_0x36b794[_0x36b7a7(0x17d)],'res':_0x36b794};})['catch'](_0xb61f53=>{const _0xa915d8=_0x2e1be7;return _0x2a4bbe?.(_0xb61f53,_0xb61f53['response']?.[_0xa915d8(0x17d)],_0xb61f53[_0xa915d8(0x172)]),{'error':_0xb61f53,'data':_0xb61f53['response']?.['data'],'res':_0xb61f53[_0xa915d8(0x172)]};})['finally'](()=>clearTimeout(_0x26d5f3));}async[a6_0x390e5e(0x145)](_0x14de98){const _0x3e9f7b=a6_0x390e5e;this[_0x3e9f7b(0x178)][_0x3e9f7b(0x16b)](_0x3e9f7b(0x118));const _0x7a16c6=this[_0x3e9f7b(0x19e)]+encodeURIComponent(_0x14de98)+_0x3e9f7b(0x18c),{error:_0x588375,data:_0x5cb705}=await this[_0x3e9f7b(0x13b)]({'uri':_0x7a16c6,'json':!![]});if(_0x588375)return Promise[_0x3e9f7b(0x15f)](_0x588375);return _0x5cb705;}}exports['Controller']=Controller;function is2xx(_0x10707a){const _0x5a3f29=a6_0x390e5e;return Math[_0x5a3f29(0x18a)](_0x10707a/0x64)===0x2;}function getProxyAgent(_0x4573e4,_0x475f62){const _0x45bdb8=a6_0x390e5e,_0x18815f=_0x4573e4[_0x45bdb8(0x182)];if(!_0x18815f?.[_0x45bdb8(0x137)])return undefined;if(!_0x18815f[_0x45bdb8(0x198)])return _0x475f62[_0x45bdb8(0x11e)](_0x45bdb8(0x128)),undefined;_0x475f62[_0x45bdb8(0x16b)](_0x45bdb8(0x14a)+_0x18815f[_0x45bdb8(0x137)]+':'+_0x18815f[_0x45bdb8(0x198)]+_0x45bdb8(0x1a8)+(_0x18815f[_0x45bdb8(0x173)]??''));const _0x2c6165=new HttpsProxyAgent({'host':_0x18815f[_0x45bdb8(0x137)],'port':_0x18815f[_0x45bdb8(0x198)],'auth':_0x18815f[_0x45bdb8(0x173)]||_0x18815f[_0x45bdb8(0x12f)]?(_0x18815f[_0x45bdb8(0x173)]??'')+':'+(_0x18815f[_0x45bdb8(0x12f)]??''):undefined}),_0x162e7b=_0x2c6165['callback'][_0x45bdb8(0x19b)](_0x2c6165),_0xe8c79f=getHttpsAgentOptions(_0x4573e4,_0x475f62);return _0x2c6165['callback']=(_0x566510,_0x111b77)=>{return _0x162e7b(_0x566510,{..._0x111b77,..._0xe8c79f});},_0x2c6165;}function getHttpsAgentOptions(_0x5c58d4,_0x50dc82){const _0x1d7092=a6_0x390e5e,_0x214862={'checkServerIdentity':(_0x31af3d,_0x3e4cbc)=>{const _0x57c8a4=a6_0x1553;if(_0x5c58d4[_0x57c8a4(0x153)])return undefined;const _0x229fd4=(0x0,crypto_1['createHash'])(_0x57c8a4(0x195))[_0x57c8a4(0x167)](_0x3e4cbc[_0x57c8a4(0x122)])[_0x57c8a4(0x12c)](_0x57c8a4(0x192));return _0x5c58d4[_0x57c8a4(0x127)][_0x57c8a4(0x150)](_0x229fd4)?undefined:new Error(_0x57c8a4(0x17e));}};let _0x35e9c4;if(_0x5c58d4[_0x1d7092(0x158)])try{_0x35e9c4=(0x0,fs_1[_0x1d7092(0x151)])(_0x5c58d4['caPath'],_0x1d7092(0x14c));}catch(_0x1cdf5e){_0x50dc82['warn'](_0x1d7092(0x18d)+_0x5c58d4[_0x1d7092(0x158)]+_0x1d7092(0x11f));}if(_0x35e9c4){const _0x2f5baa=(0x0,tls_1[_0x1d7092(0x1aa)])(_0x214862);_0x2f5baa[_0x1d7092(0x11b)][_0x1d7092(0x1a0)](_0x35e9c4),_0x214862[_0x1d7092(0x130)]=_0x2f5baa;}return _0x214862;}
|
|
1
|
+
const a6_0x5888a9=a6_0x5158;(function(_0x1ed7ab,_0x4f7a3e){const _0x56e30e=a6_0x5158,_0x251e67=_0x1ed7ab();while(!![]){try{const _0x4d50d4=parseInt(_0x56e30e(0x152))/0x1+parseInt(_0x56e30e(0x136))/0x2*(parseInt(_0x56e30e(0x173))/0x3)+-parseInt(_0x56e30e(0x154))/0x4*(-parseInt(_0x56e30e(0x18d))/0x5)+-parseInt(_0x56e30e(0x139))/0x6+parseInt(_0x56e30e(0x1a7))/0x7+parseInt(_0x56e30e(0x184))/0x8+-parseInt(_0x56e30e(0x148))/0x9*(parseInt(_0x56e30e(0x181))/0xa);if(_0x4d50d4===_0x4f7a3e)break;else _0x251e67['push'](_0x251e67['shift']());}catch(_0x13d35b){_0x251e67['push'](_0x251e67['shift']());}}}(a6_0xb5f4,0xbb5be));const a6_0x1952f2=(function(){let _0x465836=!![];return function(_0x436be9,_0x19a59b){const _0x172461=_0x465836?function(){const _0x5a85b5=a6_0x5158;if(_0x19a59b){const _0x5b56da=_0x19a59b[_0x5a85b5(0x1ad)](_0x436be9,arguments);return _0x19a59b=null,_0x5b56da;}}:function(){};return _0x465836=![],_0x172461;};}()),a6_0xdca356=a6_0x1952f2(this,function(){const _0x40b552=a6_0x5158;return a6_0xdca356[_0x40b552(0x198)]()[_0x40b552(0x179)](_0x40b552(0x1d4))['toString']()[_0x40b552(0x18c)](a6_0xdca356)[_0x40b552(0x179)]('(((.+)+)+)+$');});a6_0xdca356();'use strict';function a6_0xb5f4(){const _0x15b297=['data','maxLogFileBytes','transmissionTimeout','default','warn','finally',',\x20username:\x20','Successfully\x20sent\x20log\x20file\x20','createReadStream','waitToken','failed\x20to\x20serialize\x20breakpoint\x20','context','Update\x20for\x20breakpoints\x20','Failed\x20to\x20zip\x20','tls','Getting\x20blocklist','caPath','4194Xypkrk','load','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','debug','transmissionBulkMaxNetworkSizeInBytes','create','search','\x20for\x20request\x20id\x20','push','method','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','https-proxy-agent','nextWaitToken','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','60mZKnYR','digest','apiUrl','6935296vAQlWr','createHash','/breakpoints?','pinnedCerts','error','unknown\x20error\x20-\x20request\x20response\x20missing','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','/deregister/','constructor','105GjwEdI','callback','Failed\x20to\x20read\x20pem\x20file\x20\x22','sha256','uri','Deregister\x20agent\x20before\x20shutdown','status','host','config','shift','lastLogCollectionTime','toString','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','\x20for\x20request\x20','password','application/json','axios','createSecureContext','transmissionHardMaxNetworkSizeLimitInBytes','addCACert','transmitBreakpointUpdates','sendAppOnlyBreakpointHitsToServer','signal','port','transmissionQueue','should\x20have\x20a\x20registered\x20debuggee','10602151LJkkHo','/redaction','listBreakpointsAbortController','Failed\x20to\x20send\x20log\x20file\x20','\x20size\x20is\x20','getRedactions','apply','Using\x20proxy\x20configuration:\x20','Agent','getBlocklist','Getting\x20reductions','\x20seconds','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','noCheckCertificate','stream','lightrunSecret','extend','Certificate\x20Pinning\x20Failed!','username','WritableStream','floor','./util/utils','readFileSync','length','register','\x20finished\x20with\x20status\x20','max','assert','/blacklist?successOnTimeout=true','catch',',\x20Message:\x20','request','debuggee','sendAgentLogsToServer','makeRequest','bind','Compressing\x20and\x20sending\x20log\x20file\x20','collectCooldownMs','breakpointId:\x20','zlib','Breakpoint\x20','apiEndpoint','hex','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','timeout\x20set\x20to\x20','(((.+)+)+)+$','abort','transmissionBulkMaxSize','ascii','map','stringify','98kLtyyy','join','\x20and\x20enqueue\x20to\x20queue','2706348uhQrie','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','@google-cloud/common','\x20size\x20>\x20max\x20network\x20size\x20:\x20','__esModule','https://','includes','application/octet-stream','now','deregister','defineProperty','info','response','size','agentLog','4140054OklXQq','memory-streams','statSync','sendBreakpointLogsToServer','invalid\x20response\x20body\x20from\x20server','/debuggees/','reject','message','POST','\x20Error:\x20','801195iVWMsP','getJsonStringSizeInBytes','138536mcrTDJ',',\x20sending\x20only\x20one','number','Bearer\x20','enqueueBreakpointUpdate','logger','PUT','unable\x20to\x20register,\x20status\x20','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','breakpoint\x20','pipeline','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/appOnlyActionHits/','Transmitting\x20breakpoint\x20updates...'];a6_0xb5f4=function(){return _0x15b297;};return a6_0xb5f4();}Object[a6_0x5888a9(0x143)](exports,a6_0x5888a9(0x13d),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0x5888a9(0x13b)),assert=require(a6_0x5888a9(0x1c2)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x5888a9(0x1ce)),stream_1=require(a6_0x5888a9(0x1b5)),memory_streams_1=require(a6_0x5888a9(0x149)),tls_1=require(a6_0x5888a9(0x170)),extend=require(a6_0x5888a9(0x1b7)),axios_1=require(a6_0x5888a9(0x19d)),https=require('https'),utils_1=require(a6_0x5888a9(0x1bc)),HttpsProxyAgent=require(a6_0x5888a9(0x17e)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0x5158(_0x2ab0af,_0x5c1cf9){const _0x282381=a6_0xb5f4();return a6_0x5158=function(_0xdca356,_0x1952f2){_0xdca356=_0xdca356-0x136;let _0xb5f4e4=_0x282381[_0xdca356];return _0xb5f4e4;},a6_0x5158(_0x2ab0af,_0x5c1cf9);}class Controller extends common_1['ServiceObject']{constructor(_0x165e2c,_0x19938b,_0x439f72){const _0x117fcc=a6_0x5888a9;super({'parent':_0x165e2c,'baseUrl':'/controller'}),this[_0x117fcc(0x17f)]=null,this[_0x117fcc(0x195)]=_0x19938b,this[_0x117fcc(0x1a5)]=[],this[_0x117fcc(0x159)]=_0x439f72,this[_0x117fcc(0x183)]=_0x117fcc(0x13e)+_0x19938b[_0x117fcc(0x1d0)]+_0x117fcc(0x14d),this['axios']=axios_1[_0x117fcc(0x165)][_0x117fcc(0x178)]({'httpsAgent':getProxyAgent(_0x19938b,_0x439f72)??new https[(_0x117fcc(0x1af))](getHttpsAgentOptions(_0x19938b,_0x439f72)),'proxy':![]});}[a6_0x5888a9(0x1bf)](_0x250ea5,_0x5f1327){const _0x16a010=a6_0x5888a9,_0x3380f9={'uri':this['apiUrl']+_0x16a010(0x1bf),'method':_0x16a010(0x150),'json':!![],'body':{'debuggee':_0x250ea5}};this['makeRequest'](_0x3380f9,(_0x59cf38,_0x4c1b08,_0x33a0b4)=>{const _0x46adfb=_0x16a010;if(!_0x33a0b4)_0x5f1327(_0x59cf38||new Error(_0x46adfb(0x189)));else{if(_0x59cf38){let _0x3e99ac=![];_0x33a0b4['status']===HTTP_UPGRADE_REQUIRED&&_0x4c1b08&&(_0x4c1b08[_0x46adfb(0x14f)]!==undefined&&(_0x59cf38[_0x46adfb(0x14f)]=_0x4c1b08[_0x46adfb(0x14f)]),_0x250ea5['id']=_0x4c1b08['debuggee']['id'],_0x3e99ac=!![]),_0x5f1327(_0x59cf38,_0x4c1b08,_0x3e99ac);}else{if(_0x33a0b4['status']!==HTTP_SUCCESS)_0x5f1327(new Error(_0x46adfb(0x15b)+_0x33a0b4[_0x46adfb(0x193)]));else!_0x4c1b08?.[_0x46adfb(0x1c7)]?_0x5f1327(new Error(_0x46adfb(0x14c))):(_0x250ea5['id']=_0x4c1b08[_0x46adfb(0x1c7)]['id'],_0x5f1327(null,_0x4c1b08));}}});}['listBreakpoints'](_0x51ce77,_0x44b8ca,_0x48406b){const _0x882087=a6_0x5888a9,_0x5e3378=this;assert(_0x51ce77['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x590c28={'successOnTimeout':!![]};_0x5e3378[_0x882087(0x17f)]&&(_0x590c28[_0x882087(0x16b)]=_0x5e3378[_0x882087(0x17f)]);const _0x30b386=this[_0x882087(0x183)]+encodeURIComponent(_0x51ce77['id'])+_0x882087(0x186)+qs['stringify'](_0x590c28);_0x5e3378['makeRequest']({'uri':_0x30b386,'json':!![]},(_0x40923c,_0x310368,_0x41be16)=>{const _0xb4c56b=_0x882087;if(!_0x41be16){_0x44b8ca(_0x40923c||new Error(_0xb4c56b(0x189)));return;}else{if(!is2xx(_0x41be16[_0xb4c56b(0x193)])){_0x44b8ca(new Error(_0xb4c56b(0x199)+_0x41be16['status']),_0x41be16);return;}else _0x310368&&(_0x5e3378[_0xb4c56b(0x17f)]=_0x310368[_0xb4c56b(0x17f)]),_0x44b8ca(null,_0x41be16,_0x310368);}},_0x48406b,this[_0x882087(0x1a9)]=new AbortController());}[a6_0x5888a9(0x158)](_0x21d6a3,_0x57868b){const _0x5c9b76=a6_0x5888a9;assert(_0x21d6a3['id'],_0x5c9b76(0x1a6));try{const _0xa9ac45=JSON[_0x5c9b76(0x1d9)](_0x57868b),_0x6cc753=(0x0,utils_1[_0x5c9b76(0x153)])(_0xa9ac45);if(_0x6cc753>=this[_0x5c9b76(0x195)][_0x5c9b76(0x19f)]){this[_0x5c9b76(0x159)]['warn'](_0x5c9b76(0x1cd)+_0x57868b['id']+_0x5c9b76(0x1ab)+_0x6cc753+_0x5c9b76(0x15c)+this[_0x5c9b76(0x195)][_0x5c9b76(0x19f)]);return;}this[_0x5c9b76(0x1a5)][_0x5c9b76(0x17b)]({'id':_0x57868b['id'],'serializedJson':_0xa9ac45,'number':0x0});if(!this[_0x5c9b76(0x164)]){const _0x5963f0=this;this['transmissionTimeout']=setTimeout(()=>_0x5963f0[_0x5c9b76(0x1a1)][_0x5c9b76(0x1ca)](_0x5963f0)(_0x21d6a3['id']),0x0);}}catch(_0x451871){this[_0x5c9b76(0x159)][_0x5c9b76(0x188)](_0x5c9b76(0x16c)+_0x57868b['id']+_0x5c9b76(0x138),_0x451871);return;}}['stop'](){const _0x53f058=a6_0x5888a9;this[_0x53f058(0x1a9)]?.[_0x53f058(0x1d5)](),this[_0x53f058(0x1a9)]=undefined;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x53f058(0x164)]),this[_0x53f058(0x164)]=null;}[a6_0x5888a9(0x142)](_0x2f75de,_0x4e5a0b){const _0x437c6b=a6_0x5888a9,_0x3a34d1=this[_0x437c6b(0x183)]+encodeURIComponent(_0x2f75de['id'])+_0x437c6b(0x18b),_0x586cbd={'uri':_0x3a34d1,'method':'POST','json':!![]};this[_0x437c6b(0x159)]['info'](_0x437c6b(0x192)),this['makeRequest'](_0x586cbd,(_0x3bc69e,_0x434289,_0x474b8e)=>{const _0x1a18bc=_0x437c6b;(!_0x474b8e||Math[_0x1a18bc(0x1bb)](_0x474b8e[_0x1a18bc(0x193)]/0x64)!==0x2)&&this[_0x1a18bc(0x159)][_0x1a18bc(0x166)](_0x1a18bc(0x18a)+_0x3bc69e),_0x4e5a0b(_0x3bc69e);});}[a6_0x5888a9(0x14b)](_0x45d4b1,_0x19d394,_0x2bb65a){const _0x1d1c17=a6_0x5888a9,_0x53c600=this[_0x1d1c17(0x183)]+encodeURIComponent(_0x45d4b1['id'])+'/log/',_0x18bce3={'uri':_0x53c600,'method':_0x1d1c17(0x150),'json':!![],'body':_0x19d394};this[_0x1d1c17(0x1c9)](_0x18bce3,(_0x4bef2a,_0x30c27d,_0x153006)=>{const _0x4fc907=_0x1d1c17;(!_0x153006||Math[_0x4fc907(0x1bb)](_0x153006['status']/0x64)!==0x2)&&(this[_0x4fc907(0x159)][_0x4fc907(0x166)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4bef2a),_0x2bb65a(_0x4bef2a));});}[a6_0x5888a9(0x1a2)](_0x1043fa,_0x231846,_0x20fef6){const _0x3e3f66=a6_0x5888a9,_0x1d6b53=this['apiUrl']+encodeURIComponent(_0x1043fa['id'])+_0x3e3f66(0x160),_0x35f075={'uri':_0x1d6b53,'method':'POST','json':!![],'body':_0x231846};this[_0x3e3f66(0x1c9)](_0x35f075,(_0x54e6f5,_0x191810,_0x1c46c4)=>{const _0x378da4=_0x3e3f66;(!_0x1c46c4||Math[_0x378da4(0x1bb)](_0x1c46c4[_0x378da4(0x193)]/0x64)!==0x2)&&(this[_0x378da4(0x159)]['warn'](_0x378da4(0x15f)+_0x54e6f5),_0x20fef6(_0x54e6f5));});}[a6_0x5888a9(0x1c8)](_0x56d301,_0x10eec4,_0x44745a){const _0x3d8586=a6_0x5888a9;assert(_0x56d301['id'],_0x3d8586(0x1a6));if(this[_0x3d8586(0x197)]){const _0x1a137d=Date[_0x3d8586(0x141)](),_0x3b6d5c=this[_0x3d8586(0x197)]+this[_0x3d8586(0x195)][_0x3d8586(0x147)][_0x3d8586(0x1cc)];if(_0x1a137d<_0x3b6d5c){this['logger'][_0x3d8586(0x144)](_0x3d8586(0x180)+((_0x3b6d5c-_0x1a137d)/0x3e8+_0x3d8586(0x1b2)));return;}}const _0x5459a1=(0x0,fs_1[_0x3d8586(0x14a)])(_0x44745a)[_0x3d8586(0x146)],_0x491fe5=Math[_0x3d8586(0x1c1)](0x0,_0x5459a1-this[_0x3d8586(0x195)][_0x3d8586(0x147)][_0x3d8586(0x163)]),_0x62a4f9=(0x0,fs_1[_0x3d8586(0x16a)])(_0x44745a,{'start':_0x491fe5}),_0x4bdb33=(0x0,zlib_1['createGzip'])(),_0x3868e7=new memory_streams_1[(_0x3d8586(0x1ba))](),_0x3e5e76=this;_0x3e5e76[_0x3d8586(0x159)][_0x3d8586(0x144)](_0x3d8586(0x1cb)+_0x44745a+_0x3d8586(0x17a)+_0x10eec4),(0x0,stream_1[_0x3d8586(0x15e)])(_0x62a4f9,_0x4bdb33,_0x3868e7,_0x37bf91=>{const _0x263fcf=_0x3d8586;if(_0x37bf91)_0x3e5e76[_0x263fcf(0x159)]['error'](_0x263fcf(0x16f)+_0x44745a+':\x20'+_0x37bf91);else{const _0x4ef426={'uri':this['apiUrl']+encodeURIComponent(_0x56d301['id'])+'/compressedLogFileV2/'+_0x10eec4,'method':'PUT','body':_0x3868e7['toBuffer'](),'headers':{'Content-Type':_0x263fcf(0x140)}};_0x3e5e76[_0x263fcf(0x1c9)](_0x4ef426,_0x41927b=>{const _0x5258d3=_0x263fcf;_0x41927b?_0x3e5e76[_0x5258d3(0x159)][_0x5258d3(0x188)](_0x5258d3(0x1aa)+_0x44745a+'\x20for\x20request\x20'+_0x10eec4,_0x41927b):(_0x3e5e76[_0x5258d3(0x159)][_0x5258d3(0x144)](_0x5258d3(0x169)+_0x44745a+_0x5258d3(0x19a)+_0x10eec4),_0x3e5e76[_0x5258d3(0x197)]=Date['now']());});}});}[a6_0x5888a9(0x1a1)](_0x541044){const _0x190796=a6_0x5888a9;this[_0x190796(0x159)]['debug'](_0x190796(0x161)),this[_0x190796(0x164)]=undefined;const _0x3e82ce=[];let _0x1ed80d=0x0;while(_0x3e82ce[_0x190796(0x1be)]<this[_0x190796(0x195)][_0x190796(0x1d6)]&&this[_0x190796(0x1a5)][_0x190796(0x1be)]>0x0){const _0x389eb1=this['transmissionQueue'][0x0],_0x49a5a0=_0x389eb1['serializedJson'],_0xc7f5cb=(0x0,utils_1[_0x190796(0x153)])(_0x49a5a0);_0x1ed80d+=_0xc7f5cb;if(_0x1ed80d<=this[_0x190796(0x195)]['transmissionBulkMaxNetworkSizeInBytes'])_0x3e82ce['push'](_0x389eb1),this['transmissionQueue'][_0x190796(0x196)]();else{_0xc7f5cb>this['config'][_0x190796(0x177)]&&_0x3e82ce[_0x190796(0x1be)]===0x0&&(this[_0x190796(0x159)][_0x190796(0x176)](_0x190796(0x15d)+_0x389eb1['id']+_0x190796(0x13c)+this[_0x190796(0x195)]['transmissionBulkMaxNetworkSizeInBytes']+_0x190796(0x155)),_0x3e82ce[_0x190796(0x17b)](_0x389eb1),this[_0x190796(0x1a5)][_0x190796(0x196)]());break;}}if(!_0x3e82ce)return;const _0x47e7c2=_0x3e82ce[_0x190796(0x1d8)](_0x261304=>_0x261304['id']),_0x2987e0={'uri':this[_0x190796(0x183)]+encodeURIComponent(_0x541044)+'/breakpoints','json':!![],'method':_0x190796(0x15a),'body':'['+_0x3e82ce[_0x190796(0x1d8)](_0x23cd09=>_0x23cd09['serializedJson'])[_0x190796(0x137)](',')+']'},_0x37e689=this;try{this[_0x190796(0x1c9)](_0x2987e0,(_0x2bdcfd,_0x576ccd,_0x257f7f)=>{const _0x47227f=_0x190796,_0x3a79a2=_0x257f7f?.[_0x47227f(0x193)];_0x37e689[_0x47227f(0x159)]['debug'](_0x47227f(0x16e)+_0x47e7c2+_0x47227f(0x1c0)+_0x3a79a2);if(_0x2bdcfd||!_0x3a79a2||Math['floor'](_0x3a79a2/0x64)!==0x2){const _0x44fdb8=_0x3a79a2&&(_0x3a79a2>=0x1f4||_0x3a79a2===0x198);if(_0x44fdb8){_0x37e689[_0x47227f(0x159)][_0x47227f(0x166)](_0x47227f(0x1b3)+_0x47e7c2+_0x47227f(0x13a)+_0x3a79a2+'\x20Error:\x20'+_0x2bdcfd);for(const _0x2dc404 of _0x3e82ce){_0x2dc404[_0x47227f(0x156)]<MAX_FAILED_SEND_ATTEMPTS?_0x37e689[_0x47227f(0x1a5)][_0x47227f(0x17b)]({..._0x2dc404,'number':_0x2dc404['number']+0x1}):_0x37e689[_0x47227f(0x159)][_0x47227f(0x166)](_0x47227f(0x1cf)+_0x2dc404['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x37e689[_0x47227f(0x159)][_0x47227f(0x166)](_0x47227f(0x175)+_0x47e7c2+_0x47227f(0x13a)+_0x3a79a2+_0x47227f(0x151)+_0x2bdcfd);}else _0x37e689[_0x47227f(0x159)][_0x47227f(0x144)](_0x47227f(0x16e)+_0x47e7c2+'\x20transmitted\x20successfully');_0x37e689['transmissionQueue'][_0x47227f(0x1be)]>0x0&&(_0x37e689[_0x47227f(0x164)]=setTimeout(()=>_0x37e689[_0x47227f(0x1a1)][_0x47227f(0x1ca)](_0x37e689)(_0x541044),0x0));},0x28);}catch(_0x4b03c6){this[_0x190796(0x159)][_0x190796(0x166)](_0x190796(0x175)+_0x47e7c2+_0x190796(0x17d)+_0x4b03c6+_0x190796(0x1c5)+_0x4b03c6[_0x190796(0x162)]?.['message']),_0x37e689[_0x190796(0x1a5)][_0x190796(0x1be)]>0x0&&(_0x37e689[_0x190796(0x164)]=setTimeout(()=>_0x37e689['transmitBreakpointUpdates']['bind'](_0x37e689)(_0x541044),0x0));}}async[a6_0x5888a9(0x1b0)](_0x198a9c){const _0x57ac5a=a6_0x5888a9;this[_0x57ac5a(0x159)][_0x57ac5a(0x144)](_0x57ac5a(0x171));const _0x247c77=this[_0x57ac5a(0x183)]+encodeURIComponent(_0x198a9c)+_0x57ac5a(0x1c3),{error:_0x199156,data:_0x5e774c}=await this[_0x57ac5a(0x1c9)]({'uri':_0x247c77,'json':!![]});if(_0x199156)return Promise[_0x57ac5a(0x14e)](_0x199156);return yaml[_0x57ac5a(0x174)](_0x5e774c)||{};}[a6_0x5888a9(0x1c9)](_0x29cf2d,_0xc8cb8b,_0x4b851b,_0x104bb0,_0x15fa7b){const _0xb731fc=a6_0x5888a9,_0x31bb3d={'Content-Type':_0x15fa7b?_0x15fa7b:_0xb731fc(0x19c),'Authorization':_0xb731fc(0x157)+this[_0xb731fc(0x195)][_0xb731fc(0x1b6)]},_0x5cd606=_0x104bb0??new AbortController(),_0x51e699=_0x4b851b?_0x4b851b*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0xb731fc(0x159)][_0xb731fc(0x176)](_0xb731fc(0x1d3)+_0x51e699);const _0x55b585=setTimeout(()=>{const _0x37b6a6=_0xb731fc;this[_0x37b6a6(0x159)][_0x37b6a6(0x166)]('Timeout\x20occurred\x20after\x20'+_0x51e699+'ms'),_0x5cd606[_0x37b6a6(0x1d5)]();},_0x51e699),_0x583784={'method':_0x29cf2d[_0xb731fc(0x17c)],'url':_0x29cf2d[_0xb731fc(0x191)],'data':_0x29cf2d['body'],'headers':_0x31bb3d,'signal':_0x5cd606[_0xb731fc(0x1a3)]};return extend(!![],_0x583784,_0x29cf2d),this[_0xb731fc(0x19d)][_0xb731fc(0x1c6)](_0x583784)['then'](_0x178510=>{const _0x2765c5=_0xb731fc;return _0xc8cb8b?.(null,_0x178510['data'],_0x178510),{'error':null,'data':_0x178510[_0x2765c5(0x162)],'res':_0x178510};})[_0xb731fc(0x1c4)](_0x572a67=>{const _0x220332=_0xb731fc;return _0xc8cb8b?.(_0x572a67,_0x572a67['response']?.[_0x220332(0x162)],_0x572a67['response']),{'error':_0x572a67,'data':_0x572a67[_0x220332(0x145)]?.[_0x220332(0x162)],'res':_0x572a67[_0x220332(0x145)]};})[_0xb731fc(0x167)](()=>clearTimeout(_0x55b585));}async[a6_0x5888a9(0x1ac)](_0x597f53){const _0x52d9df=a6_0x5888a9;this[_0x52d9df(0x159)][_0x52d9df(0x144)](_0x52d9df(0x1b1));const _0x16500e=this[_0x52d9df(0x183)]+encodeURIComponent(_0x597f53)+_0x52d9df(0x1a8),{error:_0x126a7a,data:_0x1f30de}=await this[_0x52d9df(0x1c9)]({'uri':_0x16500e,'json':!![]});if(_0x126a7a)return Promise[_0x52d9df(0x14e)](_0x126a7a);return _0x1f30de;}}exports['Controller']=Controller;function is2xx(_0x147a77){const _0x2c53e1=a6_0x5888a9;return Math[_0x2c53e1(0x1bb)](_0x147a77/0x64)===0x2;}function getProxyAgent(_0x1f1718,_0x5cb586){const _0x42f5e7=a6_0x5888a9,_0x591ad4=_0x1f1718['proxy'];if(!_0x591ad4?.['host'])return undefined;if(!_0x591ad4[_0x42f5e7(0x1a4)])return _0x5cb586[_0x42f5e7(0x188)](_0x42f5e7(0x1d2)),undefined;_0x5cb586['info'](_0x42f5e7(0x1ae)+_0x591ad4['host']+':'+_0x591ad4[_0x42f5e7(0x1a4)]+_0x42f5e7(0x168)+(_0x591ad4[_0x42f5e7(0x1b9)]??''));const _0x3194c6=new HttpsProxyAgent({'host':_0x591ad4[_0x42f5e7(0x194)],'port':_0x591ad4[_0x42f5e7(0x1a4)],'auth':_0x591ad4[_0x42f5e7(0x1b9)]||_0x591ad4[_0x42f5e7(0x19b)]?(_0x591ad4[_0x42f5e7(0x1b9)]??'')+':'+(_0x591ad4['password']??''):undefined}),_0x5beace=_0x3194c6[_0x42f5e7(0x18e)][_0x42f5e7(0x1ca)](_0x3194c6),_0x27dbc6=getHttpsAgentOptions(_0x1f1718,_0x5cb586);return _0x3194c6[_0x42f5e7(0x18e)]=(_0x3b4425,_0x4eb6ef)=>{return _0x5beace(_0x3b4425,{..._0x4eb6ef,..._0x27dbc6});},_0x3194c6;}function getHttpsAgentOptions(_0x81c3c,_0xc0f311){const _0x22af3e=a6_0x5888a9,_0x16d1fa={'checkServerIdentity':(_0x431949,_0x258468)=>{const _0x3602e8=a6_0x5158;if(_0x81c3c[_0x3602e8(0x1b4)])return undefined;const _0x3cdefd=(0x0,crypto_1[_0x3602e8(0x185)])(_0x3602e8(0x190))['update'](_0x258468['pubkey'])[_0x3602e8(0x182)](_0x3602e8(0x1d1));return _0x81c3c[_0x3602e8(0x187)][_0x3602e8(0x13f)](_0x3cdefd)?undefined:new Error(_0x3602e8(0x1b8));}};let _0x35dac0;if(_0x81c3c[_0x22af3e(0x172)])try{_0x35dac0=(0x0,fs_1[_0x22af3e(0x1bd)])(_0x81c3c['caPath'],_0x22af3e(0x1d7));}catch(_0x71663){_0xc0f311[_0x22af3e(0x166)](_0x22af3e(0x18f)+_0x81c3c[_0x22af3e(0x172)]+'\x22\x20-\x20ignoring\x20it');}if(_0x35dac0){const _0x357248=(0x0,tls_1[_0x22af3e(0x19e)])(_0x16d1fa);_0x357248[_0x22af3e(0x16d)][_0x22af3e(0x1a0)](_0x35dac0),_0x16d1fa['secureContext']=_0x357248;}return _0x16d1fa;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0xec92d2=a7_0x18e2;(function(_0x3e70cc,_0x1377df){const _0x436618=a7_0x18e2,_0x22a276=_0x3e70cc();while(!![]){try{const _0x57727a=parseInt(_0x436618(0x146))/0x1*(-parseInt(_0x436618(0x166))/0x2)+parseInt(_0x436618(0x140))/0x3+-parseInt(_0x436618(0x168))/0x4+-parseInt(_0x436618(0x14b))/0x5*(parseInt(_0x436618(0x15f))/0x6)+-parseInt(_0x436618(0x13c))/0x7*(-parseInt(_0x436618(0x15c))/0x8)+-parseInt(_0x436618(0x15b))/0x9+parseInt(_0x436618(0x13d))/0xa*(parseInt(_0x436618(0x156))/0xb);if(_0x57727a===_0x1377df)break;else _0x22a276['push'](_0x22a276['shift']());}catch(_0x2ef64c){_0x22a276['push'](_0x22a276['shift']());}}}(a7_0x432c,0x1ddb4));const a7_0x2dc67e=(function(){let _0x1b6dce=!![];return function(_0x1e37a3,_0x57c913){const _0x9fca84=_0x1b6dce?function(){const _0x259dcc=a7_0x18e2;if(_0x57c913){const _0x5459a4=_0x57c913[_0x259dcc(0x160)](_0x1e37a3,arguments);return _0x57c913=null,_0x5459a4;}}:function(){};return _0x1b6dce=![],_0x9fca84;};}()),a7_0x41ea8f=a7_0x2dc67e(this,function(){const _0x3ae9b6=a7_0x18e2;return a7_0x41ea8f[_0x3ae9b6(0x150)]()[_0x3ae9b6(0x14a)]('(((.+)+)+)+$')['toString']()[_0x3ae9b6(0x169)](a7_0x41ea8f)[_0x3ae9b6(0x14a)]('(((.+)+)+)+$');});a7_0x41ea8f();function a7_0x18e2(_0x2fb4a9,_0x240f45){const _0x320ddd=a7_0x432c();return a7_0x18e2=function(_0x41ea8f,_0x2dc67e){_0x41ea8f=_0x41ea8f-0x13b;let _0x432cbd=_0x320ddd[_0x41ea8f];return _0x432cbd;},a7_0x18e2(_0x2fb4a9,_0x240f45);}'use strict';Object[a7_0xec92d2(0x163)](exports,a7_0xec92d2(0x13e),{'value':!![]}),exports['createDebuggee']=exports[a7_0xec92d2(0x144)]=void 0x0;function a7_0x432c(){const _0x5bce3e=['from','1073304xItzZe','8tvaGYa','string','serviceContext','114qicyPM','apply','minorVersion_','./createDebuggeeMetadata','defineProperty','title','versions','4dTrHCa','argv','759676RVJYiq','constructor','sourceContexts','1320347kdvOjD','360lsyJxl','__esModule','minorversion','553884LJNZin','version','default','./getPlatform','encodeBase64','./createUniquifier','17162LUayDJ','cwd','path','service','search','10330NgpbPN','module','relative','UNSPECIFIED','../../debuggee','toString','name','StatusMessage','stringify','createUniquifier','Debuggee','40271rVBNCH','base64','createDebuggee','utf-8'];a7_0x432c=function(){return _0x5bce3e;};return a7_0x432c();}const path=require(a7_0xec92d2(0x148)),status_message_1=require('../../client/stackdriver/status-message'),debuggee_1=require(a7_0xec92d2(0x14f)),createDebuggeeMetadata_1=require(a7_0xec92d2(0x162)),createUniquifier_1=require(a7_0xec92d2(0x145)),getPlatform_1=require(a7_0xec92d2(0x143)),encodeBase64=_0xc086c8=>Buffer[a7_0xec92d2(0x15a)](_0xc086c8,a7_0xec92d2(0x159))[a7_0xec92d2(0x150)](a7_0xec92d2(0x157));exports[a7_0xec92d2(0x144)]=encodeBase64;const createDebuggee=(_0x1837c4,_0x478f7e,_0x2a94dd,_0x3ab6a7,_0x4a97e6,_0x3e78c1,_0x320482,_0x19c4a4)=>{const _0x5b64ac=a7_0xec92d2,_0x3a85dc=process[_0x5b64ac(0x147)](),_0x36b9eb=path[_0x5b64ac(0x14d)](_0x3a85dc,process[_0x5b64ac(0x167)][0x1]),_0x5080f2={'main\x20script':_0x36b9eb,'process.title':process[_0x5b64ac(0x164)],'node\x20version':process[_0x5b64ac(0x165)]['node'],'V8\x20version':process['versions']['v8'],'agent.name':_0x3ab6a7[_0x5b64ac(0x151)],'agent.version':_0x4a97e6,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x4f13f1=_0x478f7e[_0x5b64ac(0x15e)];_0x4f13f1&&(typeof _0x4f13f1['service']==='string'&&_0x4f13f1['service']!==_0x5b64ac(0x142)&&(_0x5080f2[_0x5b64ac(0x14c)]=_0x4f13f1[_0x5b64ac(0x149)]),typeof _0x4f13f1[_0x5b64ac(0x141)]===_0x5b64ac(0x15d)&&(_0x5080f2['version']=_0x4f13f1[_0x5b64ac(0x141)]),typeof _0x4f13f1[_0x5b64ac(0x161)]===_0x5b64ac(0x15d)&&(_0x5080f2[_0x5b64ac(0x13f)]=_0x4f13f1[_0x5b64ac(0x161)]));const _0x392283=(0x0,createUniquifier_1[_0x5b64ac(0x154)])(_0x4a97e6,_0x1837c4,_0x2a94dd,_0x5080f2),_0x52c8c9=_0x19c4a4?new status_message_1[(_0x5b64ac(0x152))](status_message_1[_0x5b64ac(0x152)][_0x5b64ac(0x14e)],_0x19c4a4,!![]):undefined,_0x1af1b7=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x478f7e,_0x3e78c1),_0x323068={'uniquifier':_0x392283,'agentVersion':_0x4a97e6,'labels':{'metadataV2':(0x0,exports[_0x5b64ac(0x144)])(JSON[_0x5b64ac(0x153)](_0x1af1b7))},'statusMessage':_0x52c8c9,'packageInfo':_0x3ab6a7,..._0x320482};return _0x2a94dd&&(_0x323068[_0x5b64ac(0x13b)]=[_0x2a94dd]),new debuggee_1[(_0x5b64ac(0x155))](_0x323068);};exports[a7_0xec92d2(0x158)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x1a77ab=a8_0x2f76;function a8_0x2f76(_0x939118,_0x3f0415){const _0x568094=a8_0xeea2();return a8_0x2f76=function(_0x24b18b,_0x47b78a){_0x24b18b=_0x24b18b-0x15d;let _0xeea284=_0x568094[_0x24b18b];return _0xeea284;},a8_0x2f76(_0x939118,_0x3f0415);}function a8_0xeea2(){const _0x17d6c6=['extend','metadata','194754VxqCAU','toString','Failed\x20to\x20read\x20metadata\x20file\x20','map','559150YUlQOa','registration','1071837DFiHco','825264RyKJCi','parse','constructor','filename','1208860kaAWmU','(((.+)+)+)+$','1QrMOjO','utf-8','apply','__esModule','15HBbpMr','tags','readFileSync','302884WScCFk','786499ccvANu','3KnxwuP','search'];a8_0xeea2=function(){return _0x17d6c6;};return a8_0xeea2();}(function(_0x11b5f1,_0xd46cf){const _0x21e445=a8_0x2f76,_0x1ef0f1=_0x11b5f1();while(!![]){try{const _0x28bda2=parseInt(_0x21e445(0x16e))/0x1*(parseInt(_0x21e445(0x175))/0x2)+parseInt(_0x21e445(0x15d))/0x3*(parseInt(_0x21e445(0x16c))/0x4)+-parseInt(_0x21e445(0x172))/0x5*(-parseInt(_0x21e445(0x161))/0x6)+-parseInt(_0x21e445(0x176))/0x7+-parseInt(_0x21e445(0x168))/0x8+-parseInt(_0x21e445(0x167))/0x9+-parseInt(_0x21e445(0x165))/0xa;if(_0x28bda2===_0xd46cf)break;else _0x1ef0f1['push'](_0x1ef0f1['shift']());}catch(_0x38c3f){_0x1ef0f1['push'](_0x1ef0f1['shift']());}}}(a8_0xeea2,0x272ff));const a8_0x47b78a=(function(){let _0x430df4=!![];return function(_0x3060e8,_0x2642fa){const _0x3b9979=_0x430df4?function(){const _0x2cfc6a=a8_0x2f76;if(_0x2642fa){const _0x2a047c=_0x2642fa[_0x2cfc6a(0x170)](_0x3060e8,arguments);return _0x2642fa=null,_0x2a047c;}}:function(){};return _0x430df4=![],_0x3b9979;};}()),a8_0x24b18b=a8_0x47b78a(this,function(){const _0x4d54ef=a8_0x2f76;return a8_0x24b18b[_0x4d54ef(0x162)]()[_0x4d54ef(0x15e)](_0x4d54ef(0x16d))['toString']()[_0x4d54ef(0x16a)](a8_0x24b18b)[_0x4d54ef(0x15e)](_0x4d54ef(0x16d));});a8_0x24b18b();'use strict';Object['defineProperty'](exports,a8_0x1a77ab(0x171),{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;const fs=require('fs'),extend=require(a8_0x1a77ab(0x15f)),createDebuggeeMetadata=(_0x44c034,_0x1c7d0e)=>{const _0x4ce1b2=a8_0x1a77ab;let _0xfe9f49={'registration':{}};if(_0x44c034[_0x4ce1b2(0x160)]?.[_0x4ce1b2(0x16b)])try{_0xfe9f49=JSON[_0x4ce1b2(0x169)](fs[_0x4ce1b2(0x174)](_0x44c034[_0x4ce1b2(0x160)]['filename'],_0x4ce1b2(0x16f)));}catch(_0x126e23){_0x1c7d0e['warn'](_0x4ce1b2(0x163)+_0x44c034[_0x4ce1b2(0x160)][_0x4ce1b2(0x16b)],_0x126e23);}return _0xfe9f49[_0x4ce1b2(0x166)]=extend(!![],{},_0x44c034[_0x4ce1b2(0x160)]?.[_0x4ce1b2(0x166)],_0xfe9f49[_0x4ce1b2(0x166)]),_0xfe9f49[_0x4ce1b2(0x166)]?.[_0x4ce1b2(0x173)]&&(_0xfe9f49[_0x4ce1b2(0x166)]['tags']=_0xfe9f49['registration'][_0x4ce1b2(0x173)][_0x4ce1b2(0x164)](_0x3edee2=>typeof _0x3edee2==='string'?{'name':_0x3edee2}:_0x3edee2)),_0xfe9f49;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a9_0x315c64=a9_0x180b;(function(_0xe6d02f,_0x1afdf7){const _0x280250=a9_0x180b,_0x47f46a=_0xe6d02f();while(!![]){try{const _0x29d5a8=-parseInt(_0x280250(0x189))/0x1*(-parseInt(_0x280250(0x186))/0x2)+parseInt(_0x280250(0x183))/0x3+-parseInt(_0x280250(0x178))/0x4*(parseInt(_0x280250(0x17c))/0x5)+-parseInt(_0x280250(0x179))/0x6*(-parseInt(_0x280250(0x17f))/0x7)+parseInt(_0x280250(0x182))/0x8+-parseInt(_0x280250(0x185))/0x9+-parseInt(_0x280250(0x187))/0xa;if(_0x29d5a8===_0x1afdf7)break;else _0x47f46a['push'](_0x47f46a['shift']());}catch(_0x2dba22){_0x47f46a['push'](_0x47f46a['shift']());}}}(a9_0x13eb,0xebc65));const a9_0x56fff8=(function(){let _0xe698ba=!![];return function(_0x343230,_0x52ed74){const _0x5c73e6=_0xe698ba?function(){const _0x35b409=a9_0x180b;if(_0x52ed74){const _0x1e97cb=_0x52ed74[_0x35b409(0x188)](_0x343230,arguments);return _0x52ed74=null,_0x1e97cb;}}:function(){};return _0xe698ba=![],_0x5c73e6;};}()),a9_0x276be9=a9_0x56fff8(this,function(){const _0x38e68e=a9_0x180b;return a9_0x276be9[_0x38e68e(0x17b)]()[_0x38e68e(0x176)](_0x38e68e(0x181))[_0x38e68e(0x17b)]()[_0x38e68e(0x177)](a9_0x276be9)[_0x38e68e(0x176)](_0x38e68e(0x181));});function a9_0x180b(_0x42fa2a,_0xf70471){const _0x1b67e1=a9_0x13eb();return a9_0x180b=function(_0x276be9,_0x56fff8){_0x276be9=_0x276be9-0x174;let _0x13eb22=_0x1b67e1[_0x276be9];return _0x13eb22;},a9_0x180b(_0x42fa2a,_0xf70471);}a9_0x276be9();function a9_0x13eb(){const _0x1a1236=['__esModule','search','constructor','4HtLMON','6zlbPeE','defineProperty','toString','4069955xHyUsc','hex','createHash','12332642YSQuGK','stringify','(((.+)+)+)+$','10940216AVvFFp','1773432xAAkqT','crypto','10784349sNCknW','2588444JCxpsL','20367140ilanCx','apply','1urljqB','createUniquifier'];a9_0x13eb=function(){return _0x1a1236;};return a9_0x13eb();}'use strict';Object[a9_0x315c64(0x17a)](exports,a9_0x315c64(0x175),{'value':!![]}),exports[a9_0x315c64(0x174)]=void 0x0;const crypto=require(a9_0x315c64(0x184)),createUniquifier=(_0x1d14a8,_0x326c29,_0x508b96,_0x929575)=>{const _0x4e3b3c=a9_0x315c64,_0x3a9b81=_0x1d14a8+_0x326c29+JSON[_0x4e3b3c(0x180)](_0x508b96)+JSON[_0x4e3b3c(0x180)](_0x929575);return crypto[_0x4e3b3c(0x17e)]('sha1')['update'](_0x3a9b81)['digest'](_0x4e3b3c(0x17d));};exports[a9_0x315c64(0x174)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a10_0x2c8c0e=a10_0x5b66;function a10_0x9351(){const _0x274c0c=['constructor','21ekUAwG','split','171onYFhC','__esModule','52335FaMelH','494773mxMOVW','1433624QVNRNv','apply','length','828GcTspu','36yWlJnC','60oYyrUE','52446BcfWQo','delimit','defineProperty','2qUMpjz','toString','190930wSGddz','1792YlMkLG','171691CZwxZy','push','77264GsKqYZ','(((.+)+)+)+$'];a10_0x9351=function(){return _0x274c0c;};return a10_0x9351();}(function(_0xbc6e49,_0x3c421b){const _0x17f500=a10_0x5b66,_0x5d65a1=_0xbc6e49();while(!![]){try{const _0x457342=parseInt(_0x17f500(0x1e3))/0x1*(-parseInt(_0x17f500(0x1ed))/0x2)+parseInt(_0x17f500(0x1ea))/0x3*(parseInt(_0x17f500(0x1e8))/0x4)+parseInt(_0x17f500(0x1e2))/0x5*(-parseInt(_0x17f500(0x1e9))/0x6)+parseInt(_0x17f500(0x1de))/0x7*(-parseInt(_0x17f500(0x1e4))/0x8)+-parseInt(_0x17f500(0x1e0))/0x9*(-parseInt(_0x17f500(0x1ef))/0xa)+-parseInt(_0x17f500(0x1db))/0xb*(parseInt(_0x17f500(0x1e7))/0xc)+parseInt(_0x17f500(0x1f1))/0xd*(parseInt(_0x17f500(0x1f0))/0xe);if(_0x457342===_0x3c421b)break;else _0x5d65a1['push'](_0x5d65a1['shift']());}catch(_0x487435){_0x5d65a1['push'](_0x5d65a1['shift']());}}}(a10_0x9351,0x8fc5d));function a10_0x5b66(_0x4051b1,_0x32f9fb){const _0xe874bb=a10_0x9351();return a10_0x5b66=function(_0x4a33cc,_0x19ab77){_0x4a33cc=_0x4a33cc-0x1da;let _0x93519f=_0xe874bb[_0x4a33cc];return _0x93519f;},a10_0x5b66(_0x4051b1,_0x32f9fb);}const a10_0x19ab77=(function(){let _0x1b21ba=!![];return function(_0xd1869d,_0xc057df){const _0x4d49c8=_0x1b21ba?function(){const _0x2ab0e7=a10_0x5b66;if(_0xc057df){const _0x5141d6=_0xc057df[_0x2ab0e7(0x1e5)](_0xd1869d,arguments);return _0xc057df=null,_0x5141d6;}}:function(){};return _0x1b21ba=![],_0x4d49c8;};}()),a10_0x4a33cc=a10_0x19ab77(this,function(){const _0x412920=a10_0x5b66;return a10_0x4a33cc[_0x412920(0x1ee)]()['search'](_0x412920(0x1dc))['toString']()[_0x412920(0x1dd)](a10_0x4a33cc)['search'](_0x412920(0x1dc));});a10_0x4a33cc();'use strict';Object[a10_0x2c8c0e(0x1ec)](exports,a10_0x2c8c0e(0x1e1),{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x374cca,_0x2d71cd)=>{const _0xcf9ebb=a10_0x2c8c0e,_0xc298c9=_0x374cca[_0xcf9ebb(0x1df)](_0x2d71cd),_0x569599=[];_0x569599[_0xcf9ebb(0x1da)](_0xc298c9[0x0]);for(let _0x2dd349=0x1;_0x2dd349<_0xc298c9[_0xcf9ebb(0x1e6)];_0x2dd349++){_0x569599[_0xcf9ebb(0x1da)]({'v':_0x2d71cd},_0xc298c9[_0x2dd349]);}return _0x569599;};exports[a10_0x2c8c0e(0x1eb)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a11_0x41945e=a11_0x6a09;function a11_0x6a09(_0x4b2012,_0x26fe12){const _0xd63523=a11_0x134a();return a11_0x6a09=function(_0x5edde5,_0x5301f0){_0x5edde5=_0x5edde5-0x13d;let _0x134a51=_0xd63523[_0x5edde5];return _0x134a51;},a11_0x6a09(_0x4b2012,_0x26fe12);}(function(_0x3aa822,_0x5e9038){const _0x8cca6e=a11_0x6a09,_0x21a1b0=_0x3aa822();while(!![]){try{const _0x3e1e8a=-parseInt(_0x8cca6e(0x14a))/0x1*(parseInt(_0x8cca6e(0x149))/0x2)+-parseInt(_0x8cca6e(0x142))/0x3+parseInt(_0x8cca6e(0x13e))/0x4+parseInt(_0x8cca6e(0x153))/0x5*(-parseInt(_0x8cca6e(0x147))/0x6)+-parseInt(_0x8cca6e(0x141))/0x7+-parseInt(_0x8cca6e(0x14f))/0x8*(-parseInt(_0x8cca6e(0x143))/0x9)+parseInt(_0x8cca6e(0x150))/0xa*(parseInt(_0x8cca6e(0x140))/0xb);if(_0x3e1e8a===_0x5e9038)break;else _0x21a1b0['push'](_0x21a1b0['shift']());}catch(_0x405381){_0x21a1b0['push'](_0x21a1b0['shift']());}}}(a11_0x134a,0x762af));function a11_0x134a(){const _0x36ce0e=['defineProperty','./tokenize','constructor','33736KqqzJo','390dwJznp','__esModule','test','2633325vEdWhd','(((.+)+)+)+$','format','join','3097944ObnyIS','length','353309IxNSDG','5584670DihRQJ','949011ylGpwk','1098vJjwlo','tokenize','toString','substring','6GNLdXN','apply','833548dNFKRR','1usayYz','search'];a11_0x134a=function(){return _0x36ce0e;};return a11_0x134a();}const a11_0x5301f0=(function(){let _0x44bcb5=!![];return function(_0x124399,_0x42adf8){const _0x2fca57=_0x44bcb5?function(){const _0x27dfe6=a11_0x6a09;if(_0x42adf8){const _0x25f37f=_0x42adf8[_0x27dfe6(0x148)](_0x124399,arguments);return _0x42adf8=null,_0x25f37f;}}:function(){};return _0x44bcb5=![],_0x2fca57;};}()),a11_0x5edde5=a11_0x5301f0(this,function(){const _0x59fcb9=a11_0x6a09;return a11_0x5edde5['toString']()[_0x59fcb9(0x14b)](_0x59fcb9(0x154))[_0x59fcb9(0x145)]()[_0x59fcb9(0x14e)](a11_0x5edde5)[_0x59fcb9(0x14b)](_0x59fcb9(0x154));});a11_0x5edde5();'use strict';Object[a11_0x41945e(0x14c)](exports,a11_0x41945e(0x151),{'value':!![]}),exports[a11_0x41945e(0x155)]=void 0x0;const tokenize_1=require(a11_0x41945e(0x14d)),format=(_0x1cbbda,_0x51b841)=>{const _0x351946=a11_0x41945e,_0x58ab20=(0x0,tokenize_1[_0x351946(0x144)])(_0x1cbbda,_0x51b841[_0x351946(0x13f)]);for(let _0x458459=0x0;_0x458459<_0x58ab20[_0x351946(0x13f)];_0x458459++){if(!_0x58ab20[_0x458459]['v'])continue;if(_0x58ab20[_0x458459]['v']==='$$'){_0x58ab20[_0x458459]='$';continue;}for(let _0x4a2bb3=0x0;_0x4a2bb3<_0x51b841[_0x351946(0x13f)];_0x4a2bb3++){if(_0x58ab20[_0x458459]['v']==='$'+_0x4a2bb3){let _0x4dfbc8=_0x51b841[_0x4a2bb3];/^".*"$/[_0x351946(0x152)](_0x4dfbc8)&&(_0x4dfbc8=_0x4dfbc8[_0x351946(0x146)](0x1,_0x4dfbc8[_0x351946(0x13f)]-0x1));_0x58ab20[_0x458459]=_0x4dfbc8;break;}}}return _0x58ab20[_0x351946(0x13d)]('');};exports[a11_0x41945e(0x155)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0xcbe4a6=a12_0x37dd;(function(_0x4aa05f,_0x364bd0){const _0x24b394=a12_0x37dd,_0xb96cf4=_0x4aa05f();while(!![]){try{const _0xe2d15e=-parseInt(_0x24b394(0xee))/0x1+-parseInt(_0x24b394(0xd6))/0x2*(-parseInt(_0x24b394(0xf6))/0x3)+parseInt(_0x24b394(0xdf))/0x4*(-parseInt(_0x24b394(0xfd))/0x5)+-parseInt(_0x24b394(0xdd))/0x6+-parseInt(_0x24b394(0xdb))/0x7+parseInt(_0x24b394(0xd7))/0x8*(-parseInt(_0x24b394(0xf8))/0x9)+parseInt(_0x24b394(0xe7))/0xa*(parseInt(_0x24b394(0xe5))/0xb);if(_0xe2d15e===_0x364bd0)break;else _0xb96cf4['push'](_0xb96cf4['shift']());}catch(_0x38fc0e){_0xb96cf4['push'](_0xb96cf4['shift']());}}}(a12_0x103d,0xa50a6));const a12_0x52fcd0=(function(){let _0x6171ec=!![];return function(_0x32cd47,_0x1e7240){const _0x19d103=_0x6171ec?function(){const _0x40ca22=a12_0x37dd;if(_0x1e7240){const _0x4aa46f=_0x1e7240[_0x40ca22(0xdc)](_0x32cd47,arguments);return _0x1e7240=null,_0x4aa46f;}}:function(){};return _0x6171ec=![],_0x19d103;};}()),a12_0x4d44ca=a12_0x52fcd0(this,function(){const _0x546f1f=a12_0x37dd;return a12_0x4d44ca[_0x546f1f(0xd1)]()[_0x546f1f(0xed)](_0x546f1f(0xe8))['toString']()[_0x546f1f(0xfc)](a12_0x4d44ca)[_0x546f1f(0xed)](_0x546f1f(0xe8));});a12_0x4d44ca();function a12_0x103d(){const _0xd4aa8b=['dynamic_log_quota_recovery_ms','search','346899LUXwnY','fetch_breakpoints_once','java-properties','proxy_host','max_snapshot_frame_count','transmission_bulk_max_size','max_dynamic_log_rate','com.lightrun.secret','63akVlqK','getAgentConfig','9oVgTFg','agent_log_level','map','getInt','constructor','65abMBBw','getFloat','agent_log_target_dir','toString','getFirst','defineProperty','split','breakpoint_expiration_sec','96340JOGSIf','945080sivHKu','collect_log_cooldown_ms','getBoolean','max_snapshot_buffer_size','31752FtbusK','apply','7827810TkSGwx','noCheckCertificate','303744RkdMSt','max_watchlist_variable_size','max_log_cpu_cost','max_dynamic_log_bytes_rate','agent_regmetadata_file','proxy_username','33QTiQNy','trim','8086030jCbrdd','(((.+)+)+)+$','agent_log_max_file_size_mb','proxy_password','existsSync'];a12_0x103d=function(){return _0xd4aa8b;};return a12_0x103d();}'use strict';function a12_0x37dd(_0xdd106c,_0x3137ac){const _0x63ef71=a12_0x103d();return a12_0x37dd=function(_0x4d44ca,_0x52fcd0){_0x4d44ca=_0x4d44ca-0xd0;let _0x103d63=_0x63ef71[_0x4d44ca];return _0x103d63;},a12_0x37dd(_0xdd106c,_0x3137ac);}Object[a12_0xcbe4a6(0xd3)](exports,'__esModule',{'value':!![]}),exports[a12_0xcbe4a6(0xf7)]=void 0x0;const properties=require(a12_0xcbe4a6(0xf0)),fs=require('fs'),getAgentConfig=_0x1ff12=>{const _0x3ae499=a12_0xcbe4a6;if(fs[_0x3ae499(0xeb)](_0x1ff12)){const _0x4415dc=properties['of'](_0x1ff12);return{'lightrunSecret':_0x4415dc['getFirst'](_0x3ae499(0xf5)),'apiEndpoint':_0x4415dc['getFirst']('apiEndpoint'),'breakpointExpirationSec':_0x4415dc['getInt'](_0x3ae499(0xd5)),'transmissionBulkMaxSize':_0x4415dc['getInt'](_0x3ae499(0xf3)),'noCheckCertificate':_0x4415dc['getBoolean'](_0x3ae499(0xde)),'pinnedCerts':_0x4415dc[_0x3ae499(0xd2)]('pinned_certs')?.[_0x3ae499(0xd4)](','),'metadata':{'filename':_0x4415dc['getFirst'](_0x3ae499(0xe3))},'capture':{'maxFrames':_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xf2)),'maxDataSize':_0x4415dc[_0x3ae499(0xfb)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xda)),'maxVariableSize':_0x4415dc[_0x3ae499(0xfb)]('max_variable_size'),'maxWatchListVariableSize':_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xe0))},'agentLog':{'collectCooldownMs':_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xd8)),'agentLogTargetDir':_0x4415dc[_0x3ae499(0xd2)](_0x3ae499(0xd0)),'agentLogLevel':_0x4415dc[_0x3ae499(0xd2)](_0x3ae499(0xf9)),'agentLogMaxFileCount':_0x4415dc[_0x3ae499(0xfb)]('agent_log_max_file_count'),'agentLogMaxFileSizeMb':_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xe9)),'maxLogFileBytes':_0x4415dc[_0x3ae499(0xfb)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x4415dc[_0x3ae499(0xd9)]('ignore_quota'),'maxCPUCost':_0x4415dc[_0x3ae499(0xfe)](_0x3ae499(0xe1)),'maxConditionCost':_0x4415dc[_0x3ae499(0xfe)]('max_condition_cost'),'maxDynamicLogRate':_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xf4)),'maxDynamicLogByteRate':_0x4415dc['getInt'](_0x3ae499(0xe2)),'quotaRecoverySeconds':_0x4415dc[_0x3ae499(0xfb)]('dynamic_log_quota_recovery_ms')&&_0x4415dc[_0x3ae499(0xfb)](_0x3ae499(0xec))/0x3e8},'fetchBreakpointsOnce':_0x4415dc['getBoolean'](_0x3ae499(0xef)),'extraPaths':_0x4415dc[_0x3ae499(0xd2)]('extra_paths')?.[_0x3ae499(0xd4)](',')?.[_0x3ae499(0xfa)](_0x4517cf=>_0x4517cf[_0x3ae499(0xe6)]()),'proxy':{'host':_0x4415dc[_0x3ae499(0xd2)](_0x3ae499(0xf1)),'port':_0x4415dc[_0x3ae499(0xfb)]('proxy_port'),'username':_0x4415dc[_0x3ae499(0xd2)](_0x3ae499(0xe4)),'password':_0x4415dc[_0x3ae499(0xd2)](_0x3ae499(0xea))}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a13_0x296f45=a13_0x6058;(function(_0x34b852,_0xff6d75){const _0x17bcf0=a13_0x6058,_0x512403=_0x34b852();while(!![]){try{const _0x41682d=-parseInt(_0x17bcf0(0x17c))/0x1+-parseInt(_0x17bcf0(0x170))/0x2*(-parseInt(_0x17bcf0(0x184))/0x3)+parseInt(_0x17bcf0(0x16e))/0x4*(-parseInt(_0x17bcf0(0x183))/0x5)+-parseInt(_0x17bcf0(0x17f))/0x6*(-parseInt(_0x17bcf0(0x179))/0x7)+-parseInt(_0x17bcf0(0x17d))/0x8*(-parseInt(_0x17bcf0(0x181))/0x9)+parseInt(_0x17bcf0(0x182))/0xa+parseInt(_0x17bcf0(0x178))/0xb*(-parseInt(_0x17bcf0(0x172))/0xc);if(_0x41682d===_0xff6d75)break;else _0x512403['push'](_0x512403['shift']());}catch(_0x2c8371){_0x512403['push'](_0x512403['shift']());}}}(a13_0x5c18,0x63833));function a13_0x5c18(){const _0x52fcb1=['Platforms','30OCXhjb','default','1372347APEdOU','3548720gtxYOx','445pSazCD','1707uKjPBJ','(((.+)+)+)+$','11668jRgFBD','env','1822wnzJnB','DEFAULT','218172LvXaKd','cloud_function','toString','CLOUD_FUNCTION','constructor','defineProperty','319qkWkzC','1055474EHxgdd','search','getPlatform','737642KwFOlx','16nVvFLh'];a13_0x5c18=function(){return _0x52fcb1;};return a13_0x5c18();}Object[a13_0x296f45(0x177)](exports,'__esModule',{'value':!![]}),exports[a13_0x296f45(0x17b)]=exports[a13_0x296f45(0x17e)]=void 0x0;var Platforms;(function(_0x5a8dde){const _0x166905=a13_0x296f45,_0x3d00fb=(function(){let _0x3f643e=!![];return function(_0x189f3f,_0x216551){const _0x5905a3=_0x3f643e?function(){if(_0x216551){const _0x446847=_0x216551['apply'](_0x189f3f,arguments);return _0x216551=null,_0x446847;}}:function(){};return _0x3f643e=![],_0x5905a3;};}()),_0x8ac0ce=_0x3d00fb(this,function(){const _0x4b4e0f=a13_0x6058;return _0x8ac0ce[_0x4b4e0f(0x174)]()[_0x4b4e0f(0x17a)](_0x4b4e0f(0x185))[_0x4b4e0f(0x174)]()[_0x4b4e0f(0x176)](_0x8ac0ce)[_0x4b4e0f(0x17a)](_0x4b4e0f(0x185));});_0x8ac0ce(),_0x5a8dde['CLOUD_FUNCTION']=_0x166905(0x173),_0x5a8dde[_0x166905(0x171)]=_0x166905(0x180);}(Platforms||(exports[a13_0x296f45(0x17e)]=Platforms={})));function a13_0x6058(_0x2b33b5,_0xcdff31){const _0x3f502c=a13_0x5c18();return a13_0x6058=function(_0xf76025,_0x21b994){_0xf76025=_0xf76025-0x16e;let _0x5c185b=_0x3f502c[_0xf76025];return _0x5c185b;},a13_0x6058(_0x2b33b5,_0xcdff31);}const getPlatform=()=>{const _0x195216=a13_0x296f45,{FUNCTION_NAME:_0xf2c291,FUNCTION_TARGET:_0x18b176}=process[_0x195216(0x16f)];if(_0xf2c291||_0x18b176)return Platforms[_0x195216(0x175)];return Platforms[_0x195216(0x171)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x2757e2=a14_0x1b7b;(function(_0xe9362b,_0x138f92){const _0x4283b4=a14_0x1b7b,_0x4c90a2=_0xe9362b();while(!![]){try{const _0x2eda94=parseInt(_0x4283b4(0x1ea))/0x1+-parseInt(_0x4283b4(0x1f1))/0x2*(-parseInt(_0x4283b4(0x1eb))/0x3)+-parseInt(_0x4283b4(0x1fb))/0x4*(-parseInt(_0x4283b4(0x1ee))/0x5)+parseInt(_0x4283b4(0x1fd))/0x6+-parseInt(_0x4283b4(0x1f0))/0x7+parseInt(_0x4283b4(0x1fc))/0x8*(-parseInt(_0x4283b4(0x1e9))/0x9)+parseInt(_0x4283b4(0x1fe))/0xa;if(_0x2eda94===_0x138f92)break;else _0x4c90a2['push'](_0x4c90a2['shift']());}catch(_0xe2f839){_0x4c90a2['push'](_0x4c90a2['shift']());}}}(a14_0x3a5c,0x42bd8));const a14_0x11e1ae=(function(){let _0x32b241=!![];return function(_0x4b53f4,_0x133e51){const _0x41dbc7=_0x32b241?function(){const _0x5f3281=a14_0x1b7b;if(_0x133e51){const _0x16426c=_0x133e51[_0x5f3281(0x1ed)](_0x4b53f4,arguments);return _0x133e51=null,_0x16426c;}}:function(){};return _0x32b241=![],_0x41dbc7;};}()),a14_0x785e2d=a14_0x11e1ae(this,function(){const _0x22b252=a14_0x1b7b;return a14_0x785e2d[_0x22b252(0x1ef)]()[_0x22b252(0x1f5)](_0x22b252(0x1f8))[_0x22b252(0x1ef)]()[_0x22b252(0x1f2)](a14_0x785e2d)[_0x22b252(0x1f5)](_0x22b252(0x1f8));});a14_0x785e2d();'use strict';Object[a14_0x2757e2(0x1f9)](exports,'__esModule',{'value':!![]}),exports[a14_0x2757e2(0x1f7)]=void 0x0;function a14_0x1b7b(_0x21002c,_0x4777b0){const _0x1254ad=a14_0x3a5c();return a14_0x1b7b=function(_0x785e2d,_0x11e1ae){_0x785e2d=_0x785e2d-0x1e9;let _0x3a5c82=_0x1254ad[_0x785e2d];return _0x3a5c82;},a14_0x1b7b(_0x21002c,_0x4777b0);}const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x3c1b0d=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x3c1b0d[a14_0x2757e2(0x1f6)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x2757e2(0x1f4)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x3c1b0d[a14_0x2757e2(0x1f6)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x2757e2(0x1f4)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x3c1b0d['maxExpandFrames'],{'min':0x1,'max':0xa})[a14_0x2757e2(0x1f4)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x434fb1,{max:_0x20f192,min:_0x57b80c},_0x66e5ef)=>{const _0x28ab62=a14_0x2757e2;let _0x509715;if(_0x434fb1>_0x20f192)return _0x66e5ef&&(_0x509715=_0x28ab62(0x1f3)+_0x66e5ef+'\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x20f192),{'value':_0x20f192,'warning':_0x509715};else{if(_0x434fb1<_0x57b80c)return _0x66e5ef&&(_0x509715=_0x28ab62(0x1f3)+_0x66e5ef+'\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x57b80c),{'value':_0x57b80c,'warning':_0x509715};}return{'value':_0x434fb1,'warning':_0x509715};},limitConfig=_0xdf6206=>{const _0x1bc608=a14_0x2757e2,{capture:_0x1459cb}=_0xdf6206,_0x387e97=[],_0x4af78c=getCaptureConfigLimits(_0x1459cb),_0x4e64e7={};for(const [_0x11df9f,_0x1b1e05]of Object[_0x1bc608(0x1ec)](_0x4af78c)){const _0x4a7ada=_0x1459cb[_0x11df9f];if(typeof _0x4a7ada==='number'){const {value:_0x8e2f0c,warning:_0x4da603}=resolveLimitedConfig(_0x4a7ada,_0x1b1e05,_0x11df9f);_0x4e64e7[_0x11df9f]=_0x8e2f0c,_0x4da603&&_0x387e97[_0x1bc608(0x1fa)](_0x4da603);}}return{..._0xdf6206,'capture':{..._0x1459cb,..._0x4e64e7},'warnings':_0x387e97};};function a14_0x3a5c(){const _0x259d81=['toString','3224004AvsySu','13436mhtlNK','constructor','Config\x20','value','search','maxSnapshotBufferSize','limitConfig','(((.+)+)+)+$','defineProperty','push','3788ALpKma','635776aVdrIQ','1165308eqAteV','2985980bkOCDs','9oDhltb','56497zXxnki','60lrQdig','entries','apply','685vdKNBk'];a14_0x3a5c=function(){return _0x259d81;};return a14_0x3a5c();}exports[a14_0x2757e2(0x1f7)]=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x187ef8=a15_0x4b97;(function(_0x234927,_0x2e535a){const _0x48bea=a15_0x4b97,_0x1c8306=_0x234927();while(!![]){try{const _0x6f7df0=-parseInt(_0x48bea(0x79))/0x1+parseInt(_0x48bea(0x6f))/0x2*(-parseInt(_0x48bea(0x7a))/0x3)+-parseInt(_0x48bea(0x78))/0x4*(parseInt(_0x48bea(0x81))/0x5)+parseInt(_0x48bea(0x74))/0x6*(-parseInt(_0x48bea(0x71))/0x7)+parseInt(_0x48bea(0x7b))/0x8*(-parseInt(_0x48bea(0x7d))/0x9)+-parseInt(_0x48bea(0x77))/0xa*(parseInt(_0x48bea(0x82))/0xb)+-parseInt(_0x48bea(0x75))/0xc*(-parseInt(_0x48bea(0x7e))/0xd);if(_0x6f7df0===_0x2e535a)break;else _0x1c8306['push'](_0x1c8306['shift']());}catch(_0x449996){_0x1c8306['push'](_0x1c8306['shift']());}}}(a15_0x3b3b,0x2e710));const a15_0x21c3f2=(function(){let _0x24d206=!![];return function(_0x18c2cd,_0x225a95){const _0x50053c=_0x24d206?function(){const _0x11fb4d=a15_0x4b97;if(_0x225a95){const _0x3f6503=_0x225a95[_0x11fb4d(0x76)](_0x18c2cd,arguments);return _0x225a95=null,_0x3f6503;}}:function(){};return _0x24d206=![],_0x50053c;};}()),a15_0x38f75a=a15_0x21c3f2(this,function(){const _0x56eaee=a15_0x4b97;return a15_0x38f75a[_0x56eaee(0x80)]()[_0x56eaee(0x72)]('(((.+)+)+)+$')[_0x56eaee(0x80)]()['constructor'](a15_0x38f75a)[_0x56eaee(0x72)](_0x56eaee(0x70));});function a15_0x3b3b(){const _0x2ef637=['__esModule','818172XSrFpo','42264gSzpoa','apply','170ajvASl','16sHYQUI','300224mgfELf','3ykCJTs','8GgOeSS','defineProperty','35757xajuGj','3887EagaHm','push','toString','301690UJkLEw','6226sArdbD','69918lBUVJK','(((.+)+)+)+$','14pxgJcu','search'];a15_0x3b3b=function(){return _0x2ef637;};return a15_0x3b3b();}a15_0x38f75a();function a15_0x4b97(_0x312b4f,_0x1b1e09){const _0x21db99=a15_0x3b3b();return a15_0x4b97=function(_0x38f75a,_0x21c3f2){_0x38f75a=_0x38f75a-0x6f;let _0x3b3b84=_0x21db99[_0x38f75a];return _0x3b3b84;},a15_0x4b97(_0x312b4f,_0x1b1e09);}'use strict';Object[a15_0x187ef8(0x7c)](exports,a15_0x187ef8(0x73),{'value':!![]}),exports['mapSubtract']=void 0x0;const mapSubtract=(_0x492af3,_0x328737)=>{const _0x4ec0c7=a15_0x187ef8,_0x11b115=[];for(const _0x2d1393 in _0x492af3){!_0x328737[_0x2d1393]&&_0x11b115[_0x4ec0c7(0x7f)](_0x492af3[_0x2d1393]);}return _0x11b115;};exports['mapSubtract']=mapSubtract;
|