lightrun 1.50.0 → 1.50.7
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/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0xf4cc35=a0_0x56e4;function a0_0x56e4(_0x2c7538,_0x5e8dd2){const _0x5629d2=a0_0x2d4e();return a0_0x56e4=function(_0x70c727,_0x397991){_0x70c727=_0x70c727-0xfa;let _0x2d4eda=_0x5629d2[_0x70c727];return _0x2d4eda;},a0_0x56e4(_0x2c7538,_0x5e8dd2);}(function(_0x320f08,_0x35a6ca){const _0x4a1909=a0_0x56e4,_0x10330b=_0x320f08();while(!![]){try{const _0x34d083=parseInt(_0x4a1909(0x119))/0x1+-parseInt(_0x4a1909(0x10a))/0x2*(-parseInt(_0x4a1909(0x10d))/0x3)+parseInt(_0x4a1909(0x10f))/0x4+parseInt(_0x4a1909(0x118))/0x5+parseInt(_0x4a1909(0x114))/0x6+parseInt(_0x4a1909(0x11a))/0x7+-parseInt(_0x4a1909(0x115))/0x8;if(_0x34d083===_0x35a6ca)break;else _0x10330b['push'](_0x10330b['shift']());}catch(_0x2f87bc){_0x10330b['push'](_0x10330b['shift']());}}}(a0_0x2d4e,0xebdfc));const a0_0x397991=(function(){let _0x51ed37=!![];return function(_0x35d99e,_0x26c7c6){const _0x13cbd0=_0x51ed37?function(){const _0x1ec3f3=a0_0x56e4;if(_0x26c7c6){const _0x3d6e93=_0x26c7c6[_0x1ec3f3(0x106)](_0x35d99e,arguments);return _0x26c7c6=null,_0x3d6e93;}}:function(){};return _0x51ed37=![],_0x13cbd0;};}()),a0_0x70c727=a0_0x397991(this,function(){const _0x54b2c8=a0_0x56e4;return a0_0x70c727[_0x54b2c8(0x110)]()[_0x54b2c8(0x116)](_0x54b2c8(0x102))[_0x54b2c8(0x110)]()['constructor'](a0_0x70c727)[_0x54b2c8(0x116)]('(((.+)+)+)+$');});a0_0x70c727();function a0_0x2d4e(){const _0x14bc43=['warn','2475240AvpSPn','1088642KopIYi','2643228ZOWnDd','__esModule','toUpperCase','getHours','getFullYear','.log','error','default','getSeconds','padStart','pid','info','transports','(((.+)+)+)+$',']\x20-\x20','createLogger','debug','apply','defineProperty','process','format','2zjZCXv','.%DATE%','getMonth','1585275QdpDfc','lightrun_nodejs_agent.','6755604EFYJge','toString','AGENT_LOG_FILE','logger','winston','9047484XPmkNO','37763152qUdset','search'];a0_0x2d4e=function(){return _0x14bc43;};return a0_0x2d4e();}'use strict';Object[a0_0xf4cc35(0x107)](exports,a0_0xf4cc35(0x11b),{'value':!![]});const winston_1=require(a0_0xf4cc35(0x113)),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require(a0_0xf4cc35(0x108)),{combine,printf,timestamp}=winston_1[a0_0xf4cc35(0x109)],{Console}=winston_1[a0_0xf4cc35(0x101)],now=new Date();function getLoggerTransport(_0x5264e4,_0x1b8f66,_0x1e04ef){const _0x492124=a0_0xf4cc35;if(_0x5264e4)return new DailyRotateFile({'dirname':_0x5264e4,'filename':AgentLogger[_0x492124(0x111)],'datePattern':now[_0x492124(0x11e)]()[_0x492124(0x110)]()+now[_0x492124(0x10c)]()[_0x492124(0x110)]()['padStart'](0x2,'0')+now['getDate']()[_0x492124(0x110)]()[_0x492124(0xfe)](0x2,'0')+'-'+now[_0x492124(0x11d)]()['toString']()[_0x492124(0xfe)](0x2,'0')+now['getMinutes']()[_0x492124(0x110)]()[_0x492124(0xfe)](0x2,'0')+now[_0x492124(0xfd)]()[_0x492124(0x110)]()[_0x492124(0xfe)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x492124(0x111)],'maxSize':_0x1b8f66+'m','maxFiles':_0x1e04ef,'extension':_0x492124(0xfa)});return new Console();}class AgentLogger{constructor(_0x430c87,_0xfefe32,_0x5a5cb2,_0x3afe49,_0x8e392a){const _0xfa7d1b=a0_0xf4cc35;this[_0xfa7d1b(0x112)]=(0x0,winston_1[_0xfa7d1b(0x104)])({'level':_0x3afe49,'transports':[getLoggerTransport(_0x430c87,_0xfefe32,_0x5a5cb2),new Console({'level':_0x8e392a,'stderrLevels':[_0xfa7d1b(0x105),_0xfa7d1b(0x100),_0xfa7d1b(0x117),_0xfa7d1b(0xfb)]})],'format':combine(timestamp(),printf(({level:_0x4d1845,message:_0x595a91,timestamp:_0x5dc1ed})=>{const _0x51b2bb=_0xfa7d1b;return _0x5dc1ed+'\x20['+_0x4d1845[_0x51b2bb(0x11c)]()+_0x51b2bb(0x103)+_0x595a91;}),winston_1['format']['json']())});}static['createLogger'](_0x2b34db,_0x24ba48,_0x307b1a,_0x5bc474,_0x2cd5cf){return new AgentLogger(_0x2b34db,_0x24ba48,_0x307b1a,_0x5bc474,_0x2cd5cf);}['debug'](..._0x1f7c60){const _0x2163a5=a0_0xf4cc35;this[_0x2163a5(0x112)][_0x2163a5(0x105)](_0x1f7c60);}[a0_0xf4cc35(0x100)](..._0x314879){const _0x4f7cb1=a0_0xf4cc35;this['logger'][_0x4f7cb1(0x100)](_0x314879);}[a0_0xf4cc35(0x117)](..._0x185d64){const _0x57c7ba=a0_0xf4cc35;this[_0x57c7ba(0x112)][_0x57c7ba(0x117)](_0x185d64);}['error'](..._0xb1901d){const _0x1eca55=a0_0xf4cc35;this[_0x1eca55(0x112)]['error'](_0xb1901d);}}AgentLogger['AGENT_LOG_FILE']=a0_0xf4cc35(0x10e)+process_1[a0_0xf4cc35(0xff)]+a0_0xf4cc35(0x10b),exports[a0_0xf4cc35(0xfc)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x3e162d=a1_0x19d0;(function(_0x37ab7c,_0x1e7d96){const _0x5d47de=a1_0x19d0,_0x371215=_0x37ab7c();while(!![]){try{const _0x18463b=-parseInt(_0x5d47de(0x8f))/0x1+parseInt(_0x5d47de(0x86))/0x2+parseInt(_0x5d47de(0x8b))/0x3+parseInt(_0x5d47de(0x96))/0x4+-parseInt(_0x5d47de(0x92))/0x5*(parseInt(_0x5d47de(0x93))/0x6)+parseInt(_0x5d47de(0x81))/0x7*(-parseInt(_0x5d47de(0x82))/0x8)+-parseInt(_0x5d47de(0x8e))/0x9*(parseInt(_0x5d47de(0x8a))/0xa);if(_0x18463b===_0x1e7d96)break;else _0x371215['push'](_0x371215['shift']());}catch(_0x5c36b2){_0x371215['push'](_0x371215['shift']());}}}(a1_0x42a5,0xc2197));const a1_0x3bb0fd=(function(){let _0x22c849=!![];return function(_0x21ea3c,_0x2eafd4){const _0x548c73=_0x22c849?function(){const _0x415c0b=a1_0x19d0;if(_0x2eafd4){const _0x33dd96=_0x2eafd4[_0x415c0b(0x84)](_0x21ea3c,arguments);return _0x2eafd4=null,_0x33dd96;}}:function(){};return _0x22c849=![],_0x548c73;};}()),a1_0x1c7d51=a1_0x3bb0fd(this,function(){const _0x498aa1=a1_0x19d0;return a1_0x1c7d51[_0x498aa1(0x83)]()['search'](_0x498aa1(0x91))[_0x498aa1(0x83)]()[_0x498aa1(0x88)](a1_0x1c7d51)[_0x498aa1(0x8d)]('(((.+)+)+)+$');});a1_0x1c7d51();'use strict';function a1_0x19d0(_0x1762c0,_0x317aca){const _0x31a5cd=a1_0x42a5();return a1_0x19d0=function(_0x1c7d51,_0x3bb0fd){_0x1c7d51=_0x1c7d51-0x81;let _0x42a540=_0x31a5cd[_0x1c7d51];return _0x42a540;},a1_0x19d0(_0x1762c0,_0x317aca);}Object[a1_0x3e162d(0x90)](exports,a1_0x3e162d(0x97),{'value':!![]}),exports[a1_0x3e162d(0x94)]=void 0x0;class BlocklistingPatterns{constructor(_0x30dcb8){this['inversePatterns']=[],this['patterns']=[],_0x30dcb8&&_0x30dcb8['forEach'](_0x39f912=>{const _0x2e5c95=a1_0x19d0;_0x39f912&&(_0x39f912[0x0]==='!'?this[_0x2e5c95(0x8c)][_0x2e5c95(0x95)](new RegExp(_0x39f912[_0x2e5c95(0x87)](0x1))):this[_0x2e5c95(0x85)][_0x2e5c95(0x95)](new RegExp(_0x39f912)));});}['matches'](_0x1431fa){const _0x104291=a1_0x3e162d,_0x3e0735=_0x194953=>_0x1431fa['match'](_0x194953);return this['inversePatterns'][_0x104291(0x89)]!==0x0&&!this[_0x104291(0x8c)]['some'](_0x3e0735)||this['patterns']['some'](_0x3e0735);}}exports[a1_0x3e162d(0x94)]=BlocklistingPatterns;function a1_0x42a5(){const _0x343c68=['toString','apply','patterns','2678552XpROfG','substring','constructor','length','1775420YUkHrA','3764892mQEEtP','inversePatterns','search','45TWbofe','152788IkLkkG','defineProperty','(((.+)+)+)+$','89545cvwigd','18AxLbcN','BlocklistingPatterns','push','2738632dBBFhf','__esModule','7EtvyOa','11117136roIVMf'];a1_0x42a5=function(){return _0x343c68;};return a1_0x42a5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a2_0xf447(_0x4407f5,_0x1996b4){var _0x2807e7=a2_0x2493();return a2_0xf447=function(_0xcacf59,_0x2e89d3){_0xcacf59=_0xcacf59-0x1da;var _0x2493d0=_0x2807e7[_0xcacf59];return _0x2493d0;},a2_0xf447(_0x4407f5,_0x1996b4);}var a2_0xde5e4b=a2_0xf447;function a2_0x2493(){var _0x4e44c0=['99260YYyaDr','toString','__esModule','defineProperty','DummyBlocklistManager','917388XjeiXa','423JQVPll','459280WzWhhG','26488dbRFyJ','apply','33jwRvMR','19485eDeZai','48BdnFnj','shouldBlock','1088iLbnxM','194nSjfsi','40jUqOjc','search','(((.+)+)+)+$','2222RHOaEB','83473OVizYS','value','constructor','2870ItGUCU'];a2_0x2493=function(){return _0x4e44c0;};return a2_0x2493();}(function(_0x2ed464,_0x31eb4d){var _0x41b6fa=a2_0xf447,_0x2dd5cb=_0x2ed464();while(!![]){try{var _0x2f0463=parseInt(_0x41b6fa(0x1ea))/0x1*(-parseInt(_0x41b6fa(0x1e6))/0x2)+-parseInt(_0x41b6fa(0x1e2))/0x3*(parseInt(_0x41b6fa(0x1e7))/0x4)+-parseInt(_0x41b6fa(0x1de))/0x5*(-parseInt(_0x41b6fa(0x1e3))/0x6)+parseInt(_0x41b6fa(0x1df))/0x7*(-parseInt(_0x41b6fa(0x1e5))/0x8)+parseInt(_0x41b6fa(0x1dd))/0x9*(-parseInt(_0x41b6fa(0x1ef))/0xa)+-parseInt(_0x41b6fa(0x1e1))/0xb*(parseInt(_0x41b6fa(0x1dc))/0xc)+-parseInt(_0x41b6fa(0x1eb))/0xd*(-parseInt(_0x41b6fa(0x1ee))/0xe);if(_0x2f0463===_0x31eb4d)break;else _0x2dd5cb['push'](_0x2dd5cb['shift']());}catch(_0x2514b9){_0x2dd5cb['push'](_0x2dd5cb['shift']());}}}(a2_0x2493,0x88c30));var a2_0x2e89d3=(function(){var _0x43e506=!![];return function(_0xfeac3e,_0x264c77){var _0x23c4c1=_0x43e506?function(){var _0x2aacf1=a2_0xf447;if(_0x264c77){var _0x577af6=_0x264c77[_0x2aacf1(0x1e0)](_0xfeac3e,arguments);return _0x264c77=null,_0x577af6;}}:function(){};return _0x43e506=![],_0x23c4c1;};}()),a2_0xcacf59=a2_0x2e89d3(this,function(){var _0x843bc5=a2_0xf447;return a2_0xcacf59[_0x843bc5(0x1f0)]()[_0x843bc5(0x1e8)]('(((.+)+)+)+$')[_0x843bc5(0x1f0)]()[_0x843bc5(0x1ed)](a2_0xcacf59)['search'](_0x843bc5(0x1e9));});a2_0xcacf59();'use strict';Object[a2_0xde5e4b(0x1da)](exports,a2_0xde5e4b(0x1f1),{'value':!![]}),exports[a2_0xde5e4b(0x1db)]=void 0x0;class DummyBlocklistManager{constructor(_0x10213c){var _0x574eed=a2_0xde5e4b;this[_0x574eed(0x1ec)]=_0x10213c;}[a2_0xde5e4b(0x1e4)](){var _0x30fcab=a2_0xde5e4b;return this[_0x30fcab(0x1ec)];}}exports[a2_0xde5e4b(0x1db)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x4146(){const _0xa3cae0=['shouldBlock','matches','toString','search','(((.+)+)+)+$','stripWorkingDir','defineProperty','isPathInCurrentWorkingDirectory','../util/utils','stripCurrentWorkingDirectory','6699447pUVdew','apply','509399lGAsiU','72BLamyp','PatternsBlocklistManager','12JOSUMR','27718GwAISG','blocklistExceptions','constructor','10ysKeuR','./blocklisting-patterns','config','768498VhLLac','1144941yLfMcK','13kftdIo','5288885yqnkEf','55GDYpqA','BlocklistingPatterns','7892656EcdcJZ'];a3_0x4146=function(){return _0xa3cae0;};return a3_0x4146();}const a3_0xfec4a6=a3_0x5198;(function(_0x42565f,_0x45799c){const _0x3c1a4d=a3_0x5198,_0x361d17=_0x42565f();while(!![]){try{const _0x1c3ced=parseInt(_0x3c1a4d(0x152))/0x1*(parseInt(_0x3c1a4d(0x14a))/0x2)+-parseInt(_0x3c1a4d(0x151))/0x3*(-parseInt(_0x3c1a4d(0x149))/0x4)+-parseInt(_0x3c1a4d(0x154))/0x5*(parseInt(_0x3c1a4d(0x150))/0x6)+parseInt(_0x3c1a4d(0x153))/0x7+-parseInt(_0x3c1a4d(0x156))/0x8+-parseInt(_0x3c1a4d(0x144))/0x9*(-parseInt(_0x3c1a4d(0x14d))/0xa)+parseInt(_0x3c1a4d(0x146))/0xb*(parseInt(_0x3c1a4d(0x147))/0xc);if(_0x1c3ced===_0x45799c)break;else _0x361d17['push'](_0x361d17['shift']());}catch(_0x3c8a4b){_0x361d17['push'](_0x361d17['shift']());}}}(a3_0x4146,0xacb4d));const a3_0x3b5377=(function(){let _0x2d0b76=!![];return function(_0x2c175d,_0x27930a){const _0x4a5f45=_0x2d0b76?function(){const _0x3a97c8=a3_0x5198;if(_0x27930a){const _0x104aa8=_0x27930a[_0x3a97c8(0x145)](_0x2c175d,arguments);return _0x27930a=null,_0x104aa8;}}:function(){};return _0x2d0b76=![],_0x4a5f45;};}()),a3_0x423dd7=a3_0x3b5377(this,function(){const _0x501380=a3_0x5198;return a3_0x423dd7[_0x501380(0x13c)]()['search'](_0x501380(0x13e))[_0x501380(0x13c)]()[_0x501380(0x14c)](a3_0x423dd7)[_0x501380(0x13d)](_0x501380(0x13e));});a3_0x423dd7();'use strict';Object[a3_0xfec4a6(0x140)](exports,'__esModule',{'value':!![]}),exports['PatternsBlocklistManager']=void 0x0;const blocklisting_patterns_1=require(a3_0xfec4a6(0x14e)),utils=require(a3_0xfec4a6(0x142));function a3_0x5198(_0x5e3d71,_0x39e2c5){const _0x269385=a3_0x4146();return a3_0x5198=function(_0x423dd7,_0x3b5377){_0x423dd7=_0x423dd7-0x13a;let _0x414604=_0x269385[_0x423dd7];return _0x414604;},a3_0x5198(_0x5e3d71,_0x39e2c5);}class PatternsBlocklistManager{constructor(_0x117294,_0x165e56,_0x3f9af4){const _0x45e098=a3_0xfec4a6;this['blocklist']=new blocklisting_patterns_1[(_0x45e098(0x155))](_0x117294),this[_0x45e098(0x14b)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x165e56),this['config']=_0x3f9af4;}[a3_0xfec4a6(0x13a)](_0x3a20da){const _0x3c7edf=a3_0xfec4a6;_0x3a20da=this[_0x3c7edf(0x13f)](_0x3a20da);if(this[_0x3c7edf(0x14b)][_0x3c7edf(0x13b)](_0x3a20da))return![];return this['blocklist']['matches'](_0x3a20da);}[a3_0xfec4a6(0x13f)](_0xb1e105){const _0x27eb95=a3_0xfec4a6;if(utils[_0x27eb95(0x141)](_0xb1e105,this[_0x27eb95(0x14f)]))return utils[_0x27eb95(0x143)](_0xb1e105,this['config']);return _0xb1e105;}}exports[a3_0xfec4a6(0x148)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x303f91=a4_0x1880;(function(_0x427fe4,_0x34c2a0){const _0x161322=a4_0x1880,_0x39f8a2=_0x427fe4();while(!![]){try{const _0x373a52=parseInt(_0x161322(0x1b9))/0x1*(parseInt(_0x161322(0x1ab))/0x2)+-parseInt(_0x161322(0x1c1))/0x3*(parseInt(_0x161322(0x1c6))/0x4)+parseInt(_0x161322(0x1ad))/0x5+parseInt(_0x161322(0x1c2))/0x6+parseInt(_0x161322(0x1bf))/0x7+-parseInt(_0x161322(0x1a1))/0x8+-parseInt(_0x161322(0x1c8))/0x9*(parseInt(_0x161322(0x1b1))/0xa);if(_0x373a52===_0x34c2a0)break;else _0x39f8a2['push'](_0x39f8a2['shift']());}catch(_0x4a1e24){_0x39f8a2['push'](_0x39f8a2['shift']());}}}(a4_0x57ca,0x92bc6));function a4_0x1880(_0x378d8e,_0x587fb5){const _0x3ba60e=a4_0x57ca();return a4_0x1880=function(_0x292bc0,_0x1c590b){_0x292bc0=_0x292bc0-0x19e;let _0x57ca51=_0x3ba60e[_0x292bc0];return _0x57ca51;},a4_0x1880(_0x378d8e,_0x587fb5);}const a4_0x1c590b=(function(){let _0x4f7649=!![];return function(_0x51d3,_0x59c3c4){const _0x20b990=_0x4f7649?function(){const _0x552788=a4_0x1880;if(_0x59c3c4){const _0x788d33=_0x59c3c4[_0x552788(0x1ca)](_0x51d3,arguments);return _0x59c3c4=null,_0x788d33;}}:function(){};return _0x4f7649=![],_0x20b990;};}()),a4_0x292bc0=a4_0x1c590b(this,function(){const _0x2f3db2=a4_0x1880;return a4_0x292bc0['toString']()[_0x2f3db2(0x1a4)](_0x2f3db2(0x1cb))[_0x2f3db2(0x1ae)]()[_0x2f3db2(0x1bb)](a4_0x292bc0)[_0x2f3db2(0x1a4)]('(((.+)+)+)+$');});a4_0x292bc0();'use strict';Object[a4_0x303f91(0x1c3)](exports,a4_0x303f91(0x1ba),{'value':!![]}),exports[a4_0x303f91(0x1c0)]=exports[a4_0x303f91(0x1be)]=exports[a4_0x303f91(0x1af)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require('yup');exports['configSchema']=(0x0,yup_1[a4_0x303f91(0x1a5)])()[a4_0x303f91(0x1a0)]({'breakpointUpdateIntervalSec':(0x0,yup_1['number'])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x303f91(0x19e)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x303f91(0x19e)])(),'capture':(0x0,yup_1[a4_0x303f91(0x1a5)])()[a4_0x303f91(0x1a0)]({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxExpandFrames':(0x0,yup_1['number'])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxWatchProperties':(0x0,yup_1['number'])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxVariableSize':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x303f91(0x19e)])()}),'internal':(0x0,yup_1['object'])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1['number'])()}),'forceNewAgent_':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'testMode_':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'apiEndpoint':(0x0,yup_1[a4_0x303f91(0x1b5)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1[a4_0x303f91(0x1a5)])()[a4_0x303f91(0x1a0)]({'agentLogTargetDir':(0x0,yup_1[a4_0x303f91(0x1b5)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x303f91(0x19e)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x303f91(0x19e)])(),'agentLogLevel':(0x0,yup_1['string'])()['oneOf']([a4_0x303f91(0x1bd),a4_0x303f91(0x1b3),'warn','error']),'stdErrThreshold':(0x0,yup_1[a4_0x303f91(0x1b5)])()[a4_0x303f91(0x1a8)](['debug',a4_0x303f91(0x1b3),a4_0x303f91(0x1c4),a4_0x303f91(0x1c7),a4_0x303f91(0x1a3)]),'collectCooldownMs':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x303f91(0x19e)])()}),'pinnedCerts':(0x0,yup_1[a4_0x303f91(0x1b0)])()['of']((0x0,yup_1[a4_0x303f91(0x1b5)])()),'noCheckCertificate':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'caPath':(0x0,yup_1[a4_0x303f91(0x1b5)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x303f91(0x19e)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x303f91(0x19e)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1[a4_0x303f91(0x1a5)])()[a4_0x303f91(0x1a0)]({'maxConditionCost':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxCPUCost':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x303f91(0x19e)])(),'maxDynamicLogByteRate':(0x0,yup_1['number'])(),'ignoreQuota':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x303f91(0x19e)])()}),'agentConfigFile':(0x0,yup_1[a4_0x303f91(0x1b5)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x303f91(0x19e)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x303f91(0x19e)])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x303f91(0x1b5)])()),'redactionEnabled':(0x0,yup_1[a4_0x303f91(0x1a7)])(),'proxy':(0x0,yup_1[a4_0x303f91(0x1a5)])()[a4_0x303f91(0x1a0)]({'host':(0x0,yup_1[a4_0x303f91(0x1b5)])(),'port':(0x0,yup_1['number'])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x303f91(0x1b5)])()})}),exports['defaultConfig']={'workingDirectory':process[a4_0x303f91(0x1b7)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x303f91(0x1b6)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x303f91(0x1c9),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x303f91(0x1a2)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x303f91(0x1b3),'stdErrThreshold':a4_0x303f91(0x1a3),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x303f91(0x1c5),'ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12'],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x303f91(0x1a6)]}},'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=(_0x2f7e50,_0x7a865b)=>{const _0x36d3a9=a4_0x303f91,_0x2f9705=Object[_0x36d3a9(0x1ac)](_0x2f7e50?.[_0x36d3a9(0x19f)]??[]);_0x2f9705[_0x36d3a9(0x1b4)]&&_0x2f9705['forEach'](_0x20769b=>{const _0x213b92=_0x36d3a9;_0x7a865b[_0x213b92(0x1c7)](_0x20769b);});};function a4_0x57ca(){const _0x4943c8=['defaultConfig','2840999PMERcw','logMainConfigParams','1474572YtkMMZ','1612458ErrpZC','defineProperty','warn','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','4NAubFM','error','9WtrsQz','app.lightrun.com','apply','(((.+)+)+)+$','number','errors','shape','10456CVHMZz','tmpdir','none','search','object','Production','boolean','oneOf','Agent\x20Configuration:\x20',',\x20\x20\x20the\x20file\x20','6TWWmmU','values','5387310UTSFBz','toString','configSchema','array','17631190XovSOS','exists','info','length','string','.js','cwd','agentConfigFile','368306jrexYU','__esModule','constructor','lightrunSecret','debug'];a4_0x57ca=function(){return _0x4943c8;};return a4_0x57ca();}function logMainConfigParams(_0x4a5414,_0x1981b3){const _0x272913=a4_0x303f91;let _0x1f0ba0=_0x4a5414[_0x272913(0x1b8)];_0x1f0ba0?_0x1f0ba0+=_0x272913(0x1aa)+((0x0,fs_1['existsSync'])(_0x4a5414[_0x272913(0x1b8)])?_0x272913(0x1b2):'DOESN\x27T\x20EXIST'):_0x1f0ba0='not\x20set!';const _0x59979f={..._0x4a5414,'lightrunSecret':_0x4a5414[_0x272913(0x1bc)]?'set':'!!!\x20NOT\x20SET\x20!!!','agentConfigFile':_0x1f0ba0};_0x1981b3['debug'](_0x272913(0x1a9),_0x59979f),logConfigErrors(_0x4a5414,_0x1981b3);}exports[a4_0x303f91(0x1c0)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x324359=a5_0x3ce6;function a5_0x2b50(){var _0x2fef0f=['4KqOBQU','search','154320LDvkln','863941WmiFwq','getMaxWatchListVariableSize','maxProperties','toString','maxVariableSize','47480FXrIZI','639ajrMKN','306224wfFIQG','12914330KxdpGK','maxWatchProperties','ConfigurationProvider','(((.+)+)+)+$','maxWatchListVariableSize','30UvMmqo','1618098QVLGdE','getMaxSnapshotBufferSize','6975768hvIBgL','apply','defineProperty','7QSFVGD','__esModule','resolvedDebugAgentConfig','maxStringLength','capture','constructor'];a5_0x2b50=function(){return _0x2fef0f;};return a5_0x2b50();}(function(_0x4118d8,_0x110c84){var _0x36d998=a5_0x3ce6,_0x1e379c=_0x4118d8();while(!![]){try{var _0x31906e=parseInt(_0x36d998(0x94))/0x1+-parseInt(_0x36d998(0x91))/0x2*(parseInt(_0x36d998(0x93))/0x3)+-parseInt(_0x36d998(0x9b))/0x4*(parseInt(_0x36d998(0xa1))/0x5)+parseInt(_0x36d998(0xa2))/0x6+-parseInt(_0x36d998(0xa7))/0x7*(parseInt(_0x36d998(0xa4))/0x8)+parseInt(_0x36d998(0x9a))/0x9*(-parseInt(_0x36d998(0x99))/0xa)+parseInt(_0x36d998(0x9c))/0xb;if(_0x31906e===_0x110c84)break;else _0x1e379c['push'](_0x1e379c['shift']());}catch(_0x5e539c){_0x1e379c['push'](_0x1e379c['shift']());}}}(a5_0x2b50,0x82f27));var a5_0x219661=(function(){var _0x29f37b=!![];return function(_0x39ecd5,_0x3d0d56){var _0xd722ec=_0x29f37b?function(){var _0x13ffeb=a5_0x3ce6;if(_0x3d0d56){var _0xbc740=_0x3d0d56[_0x13ffeb(0xa5)](_0x39ecd5,arguments);return _0x3d0d56=null,_0xbc740;}}:function(){};return _0x29f37b=![],_0xd722ec;};}()),a5_0x3717f3=a5_0x219661(this,function(){var _0x401333=a5_0x3ce6;return a5_0x3717f3[_0x401333(0x97)]()[_0x401333(0x92)](_0x401333(0x9f))['toString']()[_0x401333(0x90)](a5_0x3717f3)[_0x401333(0x92)](_0x401333(0x9f));});a5_0x3717f3();'use strict';Object[a5_0x324359(0xa6)](exports,a5_0x324359(0xa8),{'value':!![]}),exports[a5_0x324359(0x9e)]=void 0x0;function a5_0x3ce6(_0x566407,_0x304a5d){var _0x254a05=a5_0x2b50();return a5_0x3ce6=function(_0x3717f3,_0x219661){_0x3717f3=_0x3717f3-0x8f;var _0x2b50aa=_0x254a05[_0x3717f3];return _0x2b50aa;},a5_0x3ce6(_0x566407,_0x304a5d);}class ConfigurationProvider{constructor(_0x37b7c6){var _0x1a01b1=a5_0x324359;this[_0x1a01b1(0xa9)]=_0x37b7c6;}['getMaxVariableSize'](){var _0x4b6489=a5_0x324359;return this[_0x4b6489(0xa9)][_0x4b6489(0x8f)][_0x4b6489(0xaa)]||this[_0x4b6489(0xa9)]['capture'][_0x4b6489(0x98)];}[a5_0x324359(0x95)](){var _0x2e23a4=a5_0x324359;return this[_0x2e23a4(0xa9)]['capture'][_0x2e23a4(0xa0)];}[a5_0x324359(0xa3)](){var _0x32f0e5=a5_0x324359;return this[_0x32f0e5(0xa9)]['capture']['maxDataSize']||this[_0x32f0e5(0xa9)][_0x32f0e5(0x8f)]['maxSnapshotBufferSize'];}['getMaxProperties'](_0xb56a96){var _0x280dec=a5_0x324359;return _0xb56a96?this[_0x280dec(0xa9)][_0x280dec(0x8f)][_0x280dec(0x9d)]:this['resolvedDebugAgentConfig'][_0x280dec(0x8f)][_0x280dec(0x96)];}}exports[a5_0x324359(0x9e)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x2c7d17=a6_0x1fa9;(function(_0x18c7ac,_0x399896){const _0x2f26b6=a6_0x1fa9,_0x2424a7=_0x18c7ac();while(!![]){try{const _0x4f6efb=parseInt(_0x2f26b6(0xc1))/0x1*(-parseInt(_0x2f26b6(0xd8))/0x2)+parseInt(_0x2f26b6(0x124))/0x3+parseInt(_0x2f26b6(0x123))/0x4+-parseInt(_0x2f26b6(0x12c))/0x5*(parseInt(_0x2f26b6(0xf3))/0x6)+parseInt(_0x2f26b6(0x107))/0x7*(-parseInt(_0x2f26b6(0x139))/0x8)+parseInt(_0x2f26b6(0x100))/0x9+parseInt(_0x2f26b6(0x127))/0xa;if(_0x4f6efb===_0x399896)break;else _0x2424a7['push'](_0x2424a7['shift']());}catch(_0x16b2a5){_0x2424a7['push'](_0x2424a7['shift']());}}}(a6_0x2a84,0x613cb));const a6_0x1ea029=(function(){let _0x472c80=!![];return function(_0x507f36,_0x6885b4){const _0x37e913=_0x472c80?function(){const _0x4a7a29=a6_0x1fa9;if(_0x6885b4){const _0x4e6fba=_0x6885b4[_0x4a7a29(0xe6)](_0x507f36,arguments);return _0x6885b4=null,_0x4e6fba;}}:function(){};return _0x472c80=![],_0x37e913;};}()),a6_0x7cfaea=a6_0x1ea029(this,function(){const _0x1ee89b=a6_0x1fa9;return a6_0x7cfaea['toString']()[_0x1ee89b(0x117)]('(((.+)+)+)+$')['toString']()[_0x1ee89b(0xfe)](a6_0x7cfaea)['search'](_0x1ee89b(0x10d));});a6_0x7cfaea();'use strict';Object['defineProperty'](exports,a6_0x2c7d17(0x12a),{'value':!![]}),exports[a6_0x2c7d17(0xe7)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require('assert'),qs=require(a6_0x2c7d17(0xe3)),fs_1=require('fs'),crypto_1=require(a6_0x2c7d17(0x130)),zlib_1=require(a6_0x2c7d17(0xfb)),stream_1=require('stream'),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x2c7d17(0xe1)),extend=require(a6_0x2c7d17(0x119)),axios_1=require('axios'),https=require(a6_0x2c7d17(0x145)),utils_1=require(a6_0x2c7d17(0x120)),HttpsProxyAgent=require(a6_0x2c7d17(0xcc)),yaml=require(a6_0x2c7d17(0x106)),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_0x2c7d17(0x115)]{constructor(_0x5275c5,_0x1883ca,_0x5081c5){const _0x1bda56=a6_0x2c7d17;super({'parent':_0x5275c5,'baseUrl':'/controller'}),this['nextWaitToken']=null,this[_0x1bda56(0xf9)]=_0x1883ca,this['transmissionQueue']=[],this['logger']=_0x5081c5,this[_0x1bda56(0xfc)]=_0x1bda56(0xf6)+_0x1883ca[_0x1bda56(0xcf)]+_0x1bda56(0x10a),this['axios']=axios_1[_0x1bda56(0x135)][_0x1bda56(0x108)]({'httpsAgent':getProxyAgent(_0x1883ca,_0x5081c5)??new https[(_0x1bda56(0x147))](getHttpsAgentOptions(_0x1883ca,_0x5081c5)),'proxy':![]});}['register'](_0x9c104e,_0x2a412c){const _0x478c9c=a6_0x2c7d17,_0x4e147b={'uri':this['apiUrl']+_0x478c9c(0xf5),'method':_0x478c9c(0x143),'json':!![],'body':{'debuggee':_0x9c104e}};this[_0x478c9c(0x140)](_0x4e147b,(_0x35705a,_0x15b174,_0x18b6aa)=>{const _0x1aa9e8=_0x478c9c;if(!_0x18b6aa)_0x2a412c(_0x35705a||new Error(_0x1aa9e8(0x105)));else{if(_0x35705a){let _0x55d743=![];_0x18b6aa['status']===HTTP_UPGRADE_REQUIRED&&_0x15b174&&(_0x15b174[_0x1aa9e8(0xc2)]!==undefined&&(_0x35705a[_0x1aa9e8(0xc2)]=_0x15b174['message']),_0x9c104e['id']=_0x15b174[_0x1aa9e8(0x132)]['id'],_0x55d743=!![]),_0x2a412c(_0x35705a,_0x15b174,_0x55d743);}else{if(_0x18b6aa[_0x1aa9e8(0xd5)]!==HTTP_SUCCESS)_0x2a412c(new Error(_0x1aa9e8(0xc4)+_0x18b6aa[_0x1aa9e8(0xd5)]));else!_0x15b174?.['debuggee']?_0x2a412c(new Error(_0x1aa9e8(0xbd))):(_0x9c104e['id']=_0x15b174[_0x1aa9e8(0x132)]['id'],_0x2a412c(null,_0x15b174));}}});}['listBreakpoints'](_0x2c9af1,_0x48a178,_0x346b42){const _0x5cddc9=a6_0x2c7d17,_0x197939=this;assert(_0x2c9af1['id'],_0x5cddc9(0xef));const _0x45b9c5={'successOnTimeout':!![]};_0x197939[_0x5cddc9(0x144)]&&(_0x45b9c5[_0x5cddc9(0xc8)]=_0x197939[_0x5cddc9(0x144)]);const _0x248179=this[_0x5cddc9(0xfc)]+encodeURIComponent(_0x2c9af1['id'])+_0x5cddc9(0x11f)+qs[_0x5cddc9(0xc9)](_0x45b9c5);_0x197939[_0x5cddc9(0x140)]({'uri':_0x248179,'json':!![]},(_0x477601,_0x57ab89,_0x14eda5)=>{const _0xaec138=_0x5cddc9;if(!_0x14eda5){_0x48a178(_0x477601||new Error(_0xaec138(0x105)));return;}else{if(!is2xx(_0x14eda5[_0xaec138(0xd5)])){_0x48a178(new Error(_0xaec138(0xba)+_0x14eda5['status']),_0x14eda5);return;}else _0x57ab89&&(_0x197939['nextWaitToken']=_0x57ab89[_0xaec138(0x144)]),_0x48a178(null,_0x14eda5,_0x57ab89);}},_0x346b42);}[a6_0x2c7d17(0x14d)](_0x517472,_0x86db5b){const _0x906bf3=a6_0x2c7d17;assert(_0x517472['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x2d38cc=JSON['stringify'](_0x86db5b),_0x521559=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x2d38cc);if(_0x521559>=this[_0x906bf3(0xf9)][_0x906bf3(0x10b)]){this[_0x906bf3(0x137)][_0x906bf3(0xdc)](_0x906bf3(0x13f)+_0x86db5b['id']+_0x906bf3(0xd3)+_0x521559+_0x906bf3(0x12d)+this[_0x906bf3(0xf9)][_0x906bf3(0x10b)]);return;}this[_0x906bf3(0x13d)][_0x906bf3(0xf1)]({'id':_0x86db5b['id'],'serializedJson':_0x2d38cc,'number':0x0});if(!this[_0x906bf3(0xd1)]){const _0x4999f9=this;this['transmissionTimeout']=setTimeout(()=>_0x4999f9[_0x906bf3(0x110)]['bind'](_0x4999f9)(_0x517472['id']),0x0);}}catch(_0x436947){this[_0x906bf3(0x137)][_0x906bf3(0x13c)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x86db5b['id']+_0x906bf3(0xdd),_0x436947);return;}}[a6_0x2c7d17(0xb9)](){const _0x168b54=a6_0x2c7d17;if(!this[_0x168b54(0xd1)])return;clearTimeout(this[_0x168b54(0xd1)]),this[_0x168b54(0xd1)]=null;}['deregister'](_0x2dfa6c,_0x12128a){const _0x2f384d=a6_0x2c7d17,_0x166889=this[_0x2f384d(0xfc)]+encodeURIComponent(_0x2dfa6c['id'])+_0x2f384d(0x149),_0x3e6741={'uri':_0x166889,'method':_0x2f384d(0x143),'json':!![]};this['logger']['info'](_0x2f384d(0xd0)),this[_0x2f384d(0x140)](_0x3e6741,(_0x309840,_0x3cdace,_0x42eb40)=>{const _0x49a526=_0x2f384d;(!_0x42eb40||Math[_0x49a526(0x14a)](_0x42eb40[_0x49a526(0xd5)]/0x64)!==0x2)&&this[_0x49a526(0x137)][_0x49a526(0xdc)](_0x49a526(0xc5)+_0x309840),_0x12128a(_0x309840);});}[a6_0x2c7d17(0xe2)](_0x5ea87b,_0x3aaddb,_0x56d7b4){const _0xa38744=a6_0x2c7d17,_0x1e8922=this[_0xa38744(0xfc)]+encodeURIComponent(_0x5ea87b['id'])+_0xa38744(0x141),_0x489910={'uri':_0x1e8922,'method':_0xa38744(0x143),'json':!![],'body':_0x3aaddb};this[_0xa38744(0x140)](_0x489910,(_0x3deda7,_0x26035f,_0x3e2ce8)=>{const _0x49a566=_0xa38744;(!_0x3e2ce8||Math[_0x49a566(0x14a)](_0x3e2ce8[_0x49a566(0xd5)]/0x64)!==0x2)&&(this[_0x49a566(0x137)]['warn'](_0x49a566(0xfa)+_0x3deda7),_0x56d7b4(_0x3deda7));});}[a6_0x2c7d17(0x133)](_0x246742,_0x4ece71,_0x1966d0){const _0x3b1227=a6_0x2c7d17,_0x1212da=this[_0x3b1227(0xfc)]+encodeURIComponent(_0x246742['id'])+_0x3b1227(0x136),_0x2fe273={'uri':_0x1212da,'method':_0x3b1227(0x143),'json':!![],'body':_0x4ece71};this[_0x3b1227(0x140)](_0x2fe273,(_0x2742e3,_0x153bec,_0x11c38e)=>{const _0x22b6e3=_0x3b1227;(!_0x11c38e||Math[_0x22b6e3(0x14a)](_0x11c38e[_0x22b6e3(0xd5)]/0x64)!==0x2)&&(this[_0x22b6e3(0x137)][_0x22b6e3(0xdc)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2742e3),_0x1966d0(_0x2742e3));});}[a6_0x2c7d17(0xf7)](_0xb4a8fe,_0x403861,_0x10fdf5){const _0x15c3fb=a6_0x2c7d17;assert(_0xb4a8fe['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x44f209=Date['now'](),_0x831522=this[_0x15c3fb(0x121)]+this[_0x15c3fb(0xf9)][_0x15c3fb(0x151)][_0x15c3fb(0x152)];if(_0x44f209<_0x831522){this[_0x15c3fb(0x137)]['info'](_0x15c3fb(0xed)+((_0x831522-_0x44f209)/0x3e8+_0x15c3fb(0x12b)));return;}}const _0x2f2bd3=(0x0,fs_1[_0x15c3fb(0x11c)])(_0x10fdf5)['size'],_0x16536c=Math[_0x15c3fb(0x11b)](0x0,_0x2f2bd3-this['config'][_0x15c3fb(0x151)][_0x15c3fb(0xbf)]),_0x5e39b6=(0x0,fs_1['createReadStream'])(_0x10fdf5,{'start':_0x16536c}),_0x6b5d13=(0x0,zlib_1['createGzip'])(),_0x2f23fd=new memory_streams_1[(_0x15c3fb(0xcb))](),_0x11c2d8=this;_0x11c2d8[_0x15c3fb(0x137)][_0x15c3fb(0xd4)](_0x15c3fb(0x131)+_0x10fdf5+_0x15c3fb(0x122)+_0x403861),(0x0,stream_1[_0x15c3fb(0x112)])(_0x5e39b6,_0x6b5d13,_0x2f23fd,_0x1b64a9=>{const _0x4c02d5=_0x15c3fb;if(_0x1b64a9)_0x11c2d8[_0x4c02d5(0x137)][_0x4c02d5(0x13c)](_0x4c02d5(0xf8)+_0x10fdf5+':\x20'+_0x1b64a9);else{const _0x171952={'uri':this[_0x4c02d5(0xfc)]+encodeURIComponent(_0xb4a8fe['id'])+'/compressedLogFile/'+_0x403861,'method':_0x4c02d5(0x11a),'body':_0x2f23fd[_0x4c02d5(0x11e)]()};_0x11c2d8['makeRequest'](_0x171952,_0x4c88eb=>{const _0x58e607=_0x4c02d5;_0x4c88eb?_0x11c2d8[_0x58e607(0x137)][_0x58e607(0x13c)](_0x58e607(0x146)+_0x10fdf5+_0x58e607(0x113)+_0x403861,_0x4c88eb):(_0x11c2d8[_0x58e607(0x137)][_0x58e607(0xd4)](_0x58e607(0x109)+_0x10fdf5+_0x58e607(0x113)+_0x403861),_0x11c2d8[_0x58e607(0x121)]=Date[_0x58e607(0x12e)]());});}});}[a6_0x2c7d17(0x110)](_0x434b82){const _0x43edc8=a6_0x2c7d17;this['logger']['debug']('Transmitting\x20breakpoint\x20updates...'),this[_0x43edc8(0xd1)]=undefined;const _0x52da39=[];let _0x4d8fc1=0x0;while(_0x52da39[_0x43edc8(0x128)]<this[_0x43edc8(0xf9)][_0x43edc8(0xbb)]&&this['transmissionQueue']['length']>0x0){const _0x598402=this[_0x43edc8(0x13d)][0x0],_0x3fbc2c=_0x598402[_0x43edc8(0xe0)],_0x1687f7=(0x0,utils_1[_0x43edc8(0xd7)])(_0x3fbc2c);_0x4d8fc1+=_0x1687f7;if(_0x4d8fc1<=this[_0x43edc8(0xf9)][_0x43edc8(0xf0)])_0x52da39['push'](_0x598402),this['transmissionQueue'][_0x43edc8(0x103)]();else{_0x1687f7>this[_0x43edc8(0xf9)][_0x43edc8(0xf0)]&&_0x52da39[_0x43edc8(0x128)]===0x0&&(this[_0x43edc8(0x137)][_0x43edc8(0xc6)](_0x43edc8(0xeb)+_0x598402['id']+_0x43edc8(0x134)+this[_0x43edc8(0xf9)]['transmissionBulkMaxNetworkSizeInBytes']+_0x43edc8(0xdb)),_0x52da39['push'](_0x598402),this['transmissionQueue'][_0x43edc8(0x103)]());break;}}if(!_0x52da39)return;const _0x55d8fb=_0x52da39[_0x43edc8(0xc3)](_0x290a38=>_0x290a38['id']),_0x31d9b0={'uri':this[_0x43edc8(0xfc)]+encodeURIComponent(_0x434b82)+_0x43edc8(0x150),'json':!![],'method':_0x43edc8(0x11a),'body':'['+_0x52da39[_0x43edc8(0xc3)](_0x1c347d=>_0x1c347d[_0x43edc8(0xe0)])[_0x43edc8(0xe9)](',')+']'},_0x1c60fc=this;try{this[_0x43edc8(0x140)](_0x31d9b0,(_0x4adbd5,_0x4c8aff,_0x500a9b)=>{const _0x21807c=_0x43edc8,_0x5b429f=_0x500a9b?.[_0x21807c(0xd5)];_0x1c60fc['logger'][_0x21807c(0xc6)]('Update\x20for\x20breakpoints\x20'+_0x55d8fb+_0x21807c(0xc0)+_0x5b429f);if(_0x4adbd5||!_0x5b429f||Math['floor'](_0x5b429f/0x64)!==0x2){const _0x2e64c9=_0x5b429f&&(_0x5b429f>=0x1f4||_0x5b429f===0x198);if(_0x2e64c9){_0x1c60fc[_0x21807c(0x137)][_0x21807c(0xdc)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x55d8fb+_0x21807c(0xd2)+_0x5b429f+_0x21807c(0xbe)+_0x4adbd5);for(const _0x30c7f7 of _0x52da39){_0x30c7f7[_0x21807c(0x118)]<MAX_FAILED_SEND_ATTEMPTS?_0x1c60fc['transmissionQueue'][_0x21807c(0xf1)]({..._0x30c7f7,'number':_0x30c7f7[_0x21807c(0x118)]+0x1}):_0x1c60fc[_0x21807c(0x137)][_0x21807c(0xdc)]('Breakpoint\x20'+_0x30c7f7['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x1c60fc['logger'][_0x21807c(0xdc)](_0x21807c(0x126)+_0x55d8fb+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x5b429f+_0x21807c(0xbe)+_0x4adbd5);}else _0x1c60fc[_0x21807c(0x137)][_0x21807c(0xd4)](_0x21807c(0xee)+_0x55d8fb+_0x21807c(0x114));_0x1c60fc[_0x21807c(0x13d)][_0x21807c(0x128)]>0x0&&(_0x1c60fc[_0x21807c(0xd1)]=setTimeout(()=>_0x1c60fc[_0x21807c(0x110)][_0x21807c(0x14e)](_0x1c60fc)(_0x434b82),0x0));},0x28);}catch(_0x13e753){this[_0x43edc8(0x137)]['warn'](_0x43edc8(0x126)+_0x55d8fb+_0x43edc8(0xec)+_0x13e753+',\x20Message:\x20'+_0x13e753[_0x43edc8(0xd6)]?.[_0x43edc8(0xc2)]),_0x1c60fc[_0x43edc8(0x13d)][_0x43edc8(0x128)]>0x0&&(_0x1c60fc[_0x43edc8(0xd1)]=setTimeout(()=>_0x1c60fc[_0x43edc8(0x110)][_0x43edc8(0x14e)](_0x1c60fc)(_0x434b82),0x0));}}async[a6_0x2c7d17(0xcd)](_0x49e043){const _0x5cfdf9=a6_0x2c7d17;this[_0x5cfdf9(0x137)][_0x5cfdf9(0xd4)]('Getting\x20blocklist');const _0x282ed1=this['apiUrl']+encodeURIComponent(_0x49e043)+_0x5cfdf9(0x129),{error:_0x5f3599,data:_0x115b0a}=await this[_0x5cfdf9(0x140)]({'uri':_0x282ed1,'json':!![]});if(_0x5f3599)return Promise[_0x5cfdf9(0x14c)](_0x5f3599);return yaml[_0x5cfdf9(0x101)](_0x115b0a)||{};}[a6_0x2c7d17(0x140)](_0x2a92fc,_0x1d8257,_0x2d5d4f,_0x55f49c){const _0x27bbd5=a6_0x2c7d17,_0x145ba9={'Content-Type':_0x55f49c?_0x55f49c:'application/json','Authorization':_0x27bbd5(0xc7)+this['config'][_0x27bbd5(0x142)]},_0x3e83bb=axios_1['default']['CancelToken'][_0x27bbd5(0x11d)](),_0x281c9e=_0x2d5d4f?_0x2d5d4f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x27bbd5(0x137)][_0x27bbd5(0xc6)]('timeout\x20set\x20to\x20'+_0x281c9e);const _0x187f80=setTimeout(()=>{const _0x3b749d=_0x27bbd5;this[_0x3b749d(0x137)]['warn'](_0x3b749d(0x13e)+_0x281c9e+'ms'),_0x3e83bb['cancel']();},_0x281c9e),_0x349d35={'method':_0x2a92fc[_0x27bbd5(0xf4)],'url':_0x2a92fc[_0x27bbd5(0x13a)],'data':_0x2a92fc[_0x27bbd5(0x104)],'headers':_0x145ba9,'cancelToken':_0x3e83bb[_0x27bbd5(0xce)]};return extend(!![],_0x349d35,_0x2a92fc),this['axios']['request'](_0x349d35)[_0x27bbd5(0xf2)](_0x3b7a35=>{return _0x1d8257?.(null,_0x3b7a35['data'],_0x3b7a35),{'error':null,'data':_0x3b7a35['data'],'res':_0x3b7a35};})[_0x27bbd5(0xe5)](_0x5cd097=>{const _0x1cc0c9=_0x27bbd5;return _0x1d8257?.(_0x5cd097,_0x5cd097[_0x1cc0c9(0x13b)]?.[_0x1cc0c9(0xd6)],_0x5cd097[_0x1cc0c9(0x13b)]),{'error':_0x5cd097,'data':_0x5cd097[_0x1cc0c9(0x13b)]?.['data'],'res':_0x5cd097[_0x1cc0c9(0x13b)]};})[_0x27bbd5(0x10c)](()=>clearTimeout(_0x187f80));}async['getRedactions'](_0x23da3d){const _0x2a2235=a6_0x2c7d17;this['logger'][_0x2a2235(0xd4)](_0x2a2235(0x125));const _0x12cc91=this[_0x2a2235(0xfc)]+encodeURIComponent(_0x23da3d)+_0x2a2235(0xff),{error:_0x486cc4,data:_0x4f81cf}=await this[_0x2a2235(0x140)]({'uri':_0x12cc91,'json':!![]});if(_0x486cc4)return Promise['reject'](_0x486cc4);return _0x4f81cf;}}function a6_0x1fa9(_0xa8915c,_0x31021c){const _0x38ce83=a6_0x2a84();return a6_0x1fa9=function(_0x7cfaea,_0x1ea029){_0x7cfaea=_0x7cfaea-0xb9;let _0x2a8446=_0x38ce83[_0x7cfaea];return _0x2a8446;},a6_0x1fa9(_0xa8915c,_0x31021c);}exports[a6_0x2c7d17(0xe7)]=Controller;function a6_0x2a84(){const _0x5ea1d3=['token','apiEndpoint','Deregister\x20agent\x20before\x20shutdown','transmissionTimeout','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20size\x20is\x20','info','status','data','getJsonStringSizeInBytes','2Ymjsth','port','Failed\x20to\x20read\x20pem\x20file\x20\x22',',\x20sending\x20only\x20one','warn','\x20and\x20enqueue\x20to\x20queue','caPath','ascii','serializedJson','tls','sendBreakpointLogsToServer','querystring','pubkey','catch','apply','Controller','Certificate\x20Pinning\x20Failed!','join','readFileSync','breakpoint\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','Update\x20for\x20breakpoints\x20','should\x20have\x20a\x20registered\x20debuggee','transmissionBulkMaxNetworkSizeInBytes','push','then','90PVfnAM','method','register','https://','sendAgentLogsToServer','Failed\x20to\x20zip\x20','config','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','zlib','apiUrl','includes','constructor','/redaction','5476266uwYCka','load','\x22\x20-\x20ignoring\x20it','shift','body','unknown\x20error\x20-\x20request\x20response\x20missing','js-yaml','14pjwduQ','create','Successfully\x20sent\x20log\x20file\x20','/debuggees/','transmissionHardMaxNetworkSizeLimitInBytes','finally','(((.+)+)+)+$','proxy','createHash','transmitBreakpointUpdates','update','pipeline','\x20for\x20request\x20','\x20transmitted\x20successfully','ServiceObject','addCACert','search','number','extend','PUT','max','statSync','source','toBuffer','/breakpoints?','./util/utils','lastLogCollectionTime','\x20for\x20request\x20id\x20','1788712deoKcE','2340585gIExNZ','Getting\x20reductions','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','894060nfGveA','length','/blacklist?successOnTimeout=true','__esModule','\x20seconds','103725NospFg','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','now','host','crypto','Compressing\x20and\x20sending\x20log\x20file\x20','debuggee','sendAppOnlyBreakpointHitsToServer','\x20size\x20>\x20max\x20network\x20size\x20:\x20','default','/appOnlyActionHits/','logger','password','3181384UdFIJU','uri','response','error','transmissionQueue','Timeout\x20occurred\x20after\x20','breakpointId:\x20','makeRequest','/log/','lightrunSecret','POST','nextWaitToken','https','Failed\x20to\x20send\x20log\x20file\x20','Agent','createSecureContext','/deregister/','floor','noCheckCertificate','reject','enqueueBreakpointUpdate','bind','callback','/breakpoints','agentLog','collectCooldownMs','clearTransmissionTimeout','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','transmissionBulkMaxSize','username','invalid\x20response\x20body\x20from\x20server','\x20Error:\x20','maxLogFileBytes','\x20finished\x20with\x20status\x20','420449WIYwYF','message','map','unable\x20to\x20register,\x20status\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','debug','Bearer\x20','waitToken','stringify','secureContext','WritableStream','https-proxy-agent','getBlocklist'];a6_0x2a84=function(){return _0x5ea1d3;};return a6_0x2a84();}function is2xx(_0x1be91c){const _0x22ace8=a6_0x2c7d17;return Math[_0x22ace8(0x14a)](_0x1be91c/0x64)===0x2;}function getProxyAgent(_0x1aa1bd,_0x9b4831){const _0x33f2af=a6_0x2c7d17,_0x2569a9=_0x1aa1bd[_0x33f2af(0x10e)];if(!_0x2569a9?.['host'])return undefined;if(!_0x2569a9[_0x33f2af(0xd9)])return _0x9b4831['error']('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x9b4831[_0x33f2af(0xd4)]('Using\x20proxy\x20configuration:\x20'+_0x2569a9['host']+':'+_0x2569a9[_0x33f2af(0xd9)]+',\x20username:\x20'+(_0x2569a9['username']??''));const _0x594197=new HttpsProxyAgent({'host':_0x2569a9[_0x33f2af(0x12f)],'port':_0x2569a9[_0x33f2af(0xd9)],'auth':_0x2569a9[_0x33f2af(0xbc)]||_0x2569a9[_0x33f2af(0x138)]?(_0x2569a9[_0x33f2af(0xbc)]??'')+':'+(_0x2569a9[_0x33f2af(0x138)]??''):undefined}),_0x5e1005=_0x594197['callback'][_0x33f2af(0x14e)](_0x594197),_0x1f6af4=getHttpsAgentOptions(_0x1aa1bd,_0x9b4831);return _0x594197[_0x33f2af(0x14f)]=(_0x3f1f09,_0x56882a)=>{return _0x5e1005(_0x3f1f09,{..._0x56882a,..._0x1f6af4});},_0x594197;}function getHttpsAgentOptions(_0x13fc0a,_0xc57ae6){const _0x346dff=a6_0x2c7d17,_0x2bed5a={'checkServerIdentity':(_0x2b4ece,_0x30fd52)=>{const _0x153080=a6_0x1fa9;if(_0x13fc0a[_0x153080(0x14b)])return undefined;const _0x5c0fdb=(0x0,crypto_1[_0x153080(0x10f)])('sha256')[_0x153080(0x111)](_0x30fd52[_0x153080(0xe4)])['digest']('hex');return _0x13fc0a['pinnedCerts'][_0x153080(0xfd)](_0x5c0fdb)?undefined:new Error(_0x153080(0xe8));}};let _0x5ed2c8;if(_0x13fc0a[_0x346dff(0xde)])try{_0x5ed2c8=(0x0,fs_1[_0x346dff(0xea)])(_0x13fc0a[_0x346dff(0xde)],_0x346dff(0xdf));}catch(_0x422777){_0xc57ae6[_0x346dff(0xdc)](_0x346dff(0xda)+_0x13fc0a['caPath']+_0x346dff(0x102));}if(_0x5ed2c8){const _0x40af26=(0x0,tls_1[_0x346dff(0x148)])(_0x2bed5a);_0x40af26['context'][_0x346dff(0x116)](_0x5ed2c8),_0x2bed5a[_0x346dff(0xca)]=_0x40af26;}return _0x2bed5a;}
|
|
1
|
+
const a6_0x3d5b35=a6_0x2a10;(function(_0x2aaf07,_0x1dddff){const _0xe4f90a=a6_0x2a10,_0x139041=_0x2aaf07();while(!![]){try{const _0x449776=parseInt(_0xe4f90a(0x219))/0x1*(parseInt(_0xe4f90a(0x1d5))/0x2)+parseInt(_0xe4f90a(0x1a8))/0x3+parseInt(_0xe4f90a(0x1b1))/0x4+parseInt(_0xe4f90a(0x222))/0x5*(-parseInt(_0xe4f90a(0x21f))/0x6)+-parseInt(_0xe4f90a(0x215))/0x7+-parseInt(_0xe4f90a(0x1f8))/0x8+-parseInt(_0xe4f90a(0x1ec))/0x9*(parseInt(_0xe4f90a(0x1ef))/0xa);if(_0x449776===_0x1dddff)break;else _0x139041['push'](_0x139041['shift']());}catch(_0x2ec426){_0x139041['push'](_0x139041['shift']());}}}(a6_0x47ff,0x3d399));const a6_0x4eca29=(function(){let _0x252147=!![];return function(_0x27d2d0,_0x4c6e48){const _0x1c7cab=_0x252147?function(){if(_0x4c6e48){const _0x5136ba=_0x4c6e48['apply'](_0x27d2d0,arguments);return _0x4c6e48=null,_0x5136ba;}}:function(){};return _0x252147=![],_0x1c7cab;};}()),a6_0x133ece=a6_0x4eca29(this,function(){const _0x4b56bf=a6_0x2a10;return a6_0x133ece[_0x4b56bf(0x1d7)]()[_0x4b56bf(0x1ac)]('(((.+)+)+)+$')[_0x4b56bf(0x1d7)]()[_0x4b56bf(0x1bc)](a6_0x133ece)[_0x4b56bf(0x1ac)](_0x4b56bf(0x1f5));});a6_0x133ece();'use strict';Object[a6_0x3d5b35(0x214)](exports,a6_0x3d5b35(0x1f3),{'value':!![]}),exports[a6_0x3d5b35(0x1fa)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x3d5b35(0x1f1)),qs=require(a6_0x3d5b35(0x1c4)),fs_1=require('fs'),crypto_1=require(a6_0x3d5b35(0x1f7)),zlib_1=require(a6_0x3d5b35(0x1f0)),stream_1=require(a6_0x3d5b35(0x1b0)),memory_streams_1=require(a6_0x3d5b35(0x20d)),tls_1=require(a6_0x3d5b35(0x1e2)),extend=require(a6_0x3d5b35(0x1fd)),axios_1=require('axios'),https=require(a6_0x3d5b35(0x1eb)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x3d5b35(0x1c2)),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_0x3d5b35(0x1b3)]{constructor(_0x37bfdc,_0x2790b4,_0x39377f){const _0x253fc4=a6_0x3d5b35;super({'parent':_0x37bfdc,'baseUrl':_0x253fc4(0x1bb)}),this[_0x253fc4(0x1ff)]=null,this[_0x253fc4(0x210)]=_0x2790b4,this['transmissionQueue']=[],this['logger']=_0x39377f,this[_0x253fc4(0x1b7)]=_0x253fc4(0x1ea)+_0x2790b4[_0x253fc4(0x1b9)]+_0x253fc4(0x1aa),this[_0x253fc4(0x228)]=axios_1['default'][_0x253fc4(0x20e)]({'httpsAgent':getProxyAgent(_0x2790b4,_0x39377f)??new https[(_0x253fc4(0x1b8))](getHttpsAgentOptions(_0x2790b4,_0x39377f)),'proxy':![]});}[a6_0x3d5b35(0x1bf)](_0xc2729,_0xb639e1){const _0x55f399=a6_0x3d5b35,_0x3c96f4={'uri':this[_0x55f399(0x1b7)]+_0x55f399(0x1bf),'method':_0x55f399(0x1d6),'json':!![],'body':{'debuggee':_0xc2729}};this[_0x55f399(0x1f2)](_0x3c96f4,(_0x2d1d06,_0x334e7,_0x35fd38)=>{const _0x667517=_0x55f399;if(!_0x35fd38)_0xb639e1(_0x2d1d06||new Error(_0x667517(0x1c0)));else{if(_0x2d1d06){let _0x17be22=![];_0x35fd38[_0x667517(0x1df)]===HTTP_UPGRADE_REQUIRED&&_0x334e7&&(_0x334e7[_0x667517(0x21e)]!==undefined&&(_0x2d1d06[_0x667517(0x21e)]=_0x334e7['message']),_0xc2729['id']=_0x334e7[_0x667517(0x21d)]['id'],_0x17be22=!![]),_0xb639e1(_0x2d1d06,_0x334e7,_0x17be22);}else{if(_0x35fd38[_0x667517(0x1df)]!==HTTP_SUCCESS)_0xb639e1(new Error(_0x667517(0x223)+_0x35fd38[_0x667517(0x1df)]));else!_0x334e7?.[_0x667517(0x21d)]?_0xb639e1(new Error(_0x667517(0x1c5))):(_0xc2729['id']=_0x334e7['debuggee']['id'],_0xb639e1(null,_0x334e7));}}});}[a6_0x3d5b35(0x221)](_0x1ac5de,_0x428770,_0x2420c8){const _0x13ed20=a6_0x3d5b35,_0x13aa7b=this;assert(_0x1ac5de['id'],_0x13ed20(0x1c7));const _0x171176={'successOnTimeout':!![]};_0x13aa7b['nextWaitToken']&&(_0x171176[_0x13ed20(0x233)]=_0x13aa7b[_0x13ed20(0x1ff)]);const _0x53a5d3=this[_0x13ed20(0x1b7)]+encodeURIComponent(_0x1ac5de['id'])+_0x13ed20(0x220)+qs[_0x13ed20(0x213)](_0x171176);_0x13aa7b[_0x13ed20(0x1f2)]({'uri':_0x53a5d3,'json':!![]},(_0x5cb2a9,_0x536f7f,_0x48e766)=>{const _0x15c762=_0x13ed20;if(!_0x48e766){_0x428770(_0x5cb2a9||new Error(_0x15c762(0x1c0)));return;}else{if(!is2xx(_0x48e766[_0x15c762(0x1df)])){_0x428770(new Error(_0x15c762(0x1dd)+_0x48e766[_0x15c762(0x1df)]),_0x48e766);return;}else _0x536f7f&&(_0x13aa7b[_0x15c762(0x1ff)]=_0x536f7f[_0x15c762(0x1ff)]),_0x428770(null,_0x48e766,_0x536f7f);}},_0x2420c8);}[a6_0x3d5b35(0x1cd)](_0x7982e,_0x898dfe){const _0x49d97d=a6_0x3d5b35;assert(_0x7982e['id'],_0x49d97d(0x1c7));try{const _0x2ed626=JSON[_0x49d97d(0x213)](_0x898dfe),_0x3d044e=(0x0,utils_1[_0x49d97d(0x1d9)])(_0x2ed626);if(_0x3d044e>=this[_0x49d97d(0x210)][_0x49d97d(0x20c)]){this['logger'][_0x49d97d(0x216)]('breakpointId:\x20'+_0x898dfe['id']+'\x20size\x20is\x20'+_0x3d044e+_0x49d97d(0x1ba)+this[_0x49d97d(0x210)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this[_0x49d97d(0x232)][_0x49d97d(0x1d0)]({'id':_0x898dfe['id'],'serializedJson':_0x2ed626,'number':0x0});if(!this['transmissionTimeout']){const _0x1732b8=this;this[_0x49d97d(0x21a)]=setTimeout(()=>_0x1732b8['transmitBreakpointUpdates'][_0x49d97d(0x1c9)](_0x1732b8)(_0x7982e['id']),0x0);}}catch(_0xd28859){this[_0x49d97d(0x1be)]['error'](_0x49d97d(0x1f9)+_0x898dfe['id']+_0x49d97d(0x1f4),_0xd28859);return;}}[a6_0x3d5b35(0x1b2)](){const _0x14eb07=a6_0x3d5b35;if(!this[_0x14eb07(0x21a)])return;clearTimeout(this[_0x14eb07(0x21a)]),this[_0x14eb07(0x21a)]=null;}[a6_0x3d5b35(0x1fe)](_0x323a42,_0x5f152b){const _0x20e2c0=a6_0x3d5b35,_0xa83535=this[_0x20e2c0(0x1b7)]+encodeURIComponent(_0x323a42['id'])+_0x20e2c0(0x1f6),_0x9e222a={'uri':_0xa83535,'method':'POST','json':!![]};this['logger'][_0x20e2c0(0x1d4)]('Deregister\x20agent\x20before\x20shutdown'),this[_0x20e2c0(0x1f2)](_0x9e222a,(_0x363036,_0x431bd9,_0x2cf1b6)=>{const _0x186e6c=_0x20e2c0;(!_0x2cf1b6||Math[_0x186e6c(0x1ee)](_0x2cf1b6['status']/0x64)!==0x2)&&this['logger']['warn'](_0x186e6c(0x1e7)+_0x363036),_0x5f152b(_0x363036);});}['sendBreakpointLogsToServer'](_0x41777f,_0x30f658,_0x18366f){const _0xb57f12=a6_0x3d5b35,_0xc04cd1=this[_0xb57f12(0x1b7)]+encodeURIComponent(_0x41777f['id'])+_0xb57f12(0x203),_0x5cc506={'uri':_0xc04cd1,'method':_0xb57f12(0x1d6),'json':!![],'body':_0x30f658};this['makeRequest'](_0x5cc506,(_0x108273,_0x344df4,_0x16a742)=>{const _0x4378d6=_0xb57f12;(!_0x16a742||Math[_0x4378d6(0x1ee)](_0x16a742['status']/0x64)!==0x2)&&(this['logger'][_0x4378d6(0x216)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x108273),_0x18366f(_0x108273));});}[a6_0x3d5b35(0x1dc)](_0x6dcd56,_0x1e5410,_0x16e74a){const _0x2f8754=a6_0x3d5b35,_0x59e5de=this[_0x2f8754(0x1b7)]+encodeURIComponent(_0x6dcd56['id'])+_0x2f8754(0x1a9),_0x47a788={'uri':_0x59e5de,'method':_0x2f8754(0x1d6),'json':!![],'body':_0x1e5410};this[_0x2f8754(0x1f2)](_0x47a788,(_0xc5b944,_0x533841,_0x3201f8)=>{const _0x12b168=_0x2f8754;(!_0x3201f8||Math['floor'](_0x3201f8[_0x12b168(0x1df)]/0x64)!==0x2)&&(this[_0x12b168(0x1be)][_0x12b168(0x216)](_0x12b168(0x1e1)+_0xc5b944),_0x16e74a(_0xc5b944));});}[a6_0x3d5b35(0x200)](_0x130522,_0x385744,_0x1cfcdf){const _0x17e81c=a6_0x3d5b35;assert(_0x130522['id'],_0x17e81c(0x1c7));if(this['lastLogCollectionTime']){const _0x322c1c=Date[_0x17e81c(0x234)](),_0x441455=this[_0x17e81c(0x20b)]+this[_0x17e81c(0x210)][_0x17e81c(0x230)][_0x17e81c(0x1da)];if(_0x322c1c<_0x441455){this[_0x17e81c(0x1be)][_0x17e81c(0x1d4)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x441455-_0x322c1c)/0x3e8+'\x20seconds'));return;}}const _0x3f508e=(0x0,fs_1['statSync'])(_0x1cfcdf)[_0x17e81c(0x1cf)],_0x2eb9a5=Math[_0x17e81c(0x202)](0x0,_0x3f508e-this[_0x17e81c(0x210)][_0x17e81c(0x230)]['maxLogFileBytes']),_0x19be1f=(0x0,fs_1['createReadStream'])(_0x1cfcdf,{'start':_0x2eb9a5}),_0x226b42=(0x0,zlib_1[_0x17e81c(0x1cc)])(),_0x2b2b07=new memory_streams_1[(_0x17e81c(0x20f))](),_0x273d31=this;_0x273d31['logger']['info']('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x1cfcdf+_0x17e81c(0x1a7)+_0x385744),(0x0,stream_1[_0x17e81c(0x204)])(_0x19be1f,_0x226b42,_0x2b2b07,_0xea6e36=>{const _0x46db57=_0x17e81c;if(_0xea6e36)_0x273d31[_0x46db57(0x1be)][_0x46db57(0x1d1)]('Failed\x20to\x20zip\x20'+_0x1cfcdf+':\x20'+_0xea6e36);else{const _0x7d1bd5={'uri':this[_0x46db57(0x1b7)]+encodeURIComponent(_0x130522['id'])+'/compressedLogFile/'+_0x385744,'method':_0x46db57(0x237),'body':_0x2b2b07[_0x46db57(0x1ab)]()};_0x273d31[_0x46db57(0x1f2)](_0x7d1bd5,_0x3f8e8e=>{const _0x9a3e11=_0x46db57;_0x3f8e8e?_0x273d31[_0x9a3e11(0x1be)]['error']('Failed\x20to\x20send\x20log\x20file\x20'+_0x1cfcdf+_0x9a3e11(0x1fc)+_0x385744,_0x3f8e8e):(_0x273d31[_0x9a3e11(0x1be)]['info'](_0x9a3e11(0x1d2)+_0x1cfcdf+_0x9a3e11(0x1fc)+_0x385744),_0x273d31['lastLogCollectionTime']=Date[_0x9a3e11(0x234)]());});}});}[a6_0x3d5b35(0x1c6)](_0x573c79){const _0x3ff008=a6_0x3d5b35;this[_0x3ff008(0x1be)][_0x3ff008(0x22f)](_0x3ff008(0x1fb)),this[_0x3ff008(0x21a)]=undefined;const _0x3e9811=[];let _0x54c654=0x0;while(_0x3e9811[_0x3ff008(0x231)]<this[_0x3ff008(0x210)]['transmissionBulkMaxSize']&&this['transmissionQueue'][_0x3ff008(0x231)]>0x0){const _0x34f391=this[_0x3ff008(0x232)][0x0],_0x3e446b=_0x34f391[_0x3ff008(0x1af)],_0x5e0fd0=(0x0,utils_1[_0x3ff008(0x1d9)])(_0x3e446b);_0x54c654+=_0x5e0fd0;if(_0x54c654<=this[_0x3ff008(0x210)]['transmissionBulkMaxNetworkSizeInBytes'])_0x3e9811[_0x3ff008(0x1d0)](_0x34f391),this[_0x3ff008(0x232)][_0x3ff008(0x1ce)]();else{_0x5e0fd0>this[_0x3ff008(0x210)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x3e9811[_0x3ff008(0x231)]===0x0&&(this[_0x3ff008(0x1be)]['debug'](_0x3ff008(0x1ed)+_0x34f391['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this['config'][_0x3ff008(0x22b)]+',\x20sending\x20only\x20one'),_0x3e9811['push'](_0x34f391),this['transmissionQueue'][_0x3ff008(0x1ce)]());break;}}if(!_0x3e9811)return;const _0x2649b6=_0x3e9811[_0x3ff008(0x238)](_0x38c080=>_0x38c080['id']),_0x4f0add={'uri':this[_0x3ff008(0x1b7)]+encodeURIComponent(_0x573c79)+'/breakpoints','json':!![],'method':'PUT','body':'['+_0x3e9811[_0x3ff008(0x238)](_0x26cbb7=>_0x26cbb7[_0x3ff008(0x1af)])['join'](',')+']'},_0x440cbe=this;try{this[_0x3ff008(0x1f2)](_0x4f0add,(_0x2e1fc2,_0x3f71ca,_0xa90002)=>{const _0x2a67f5=_0x3ff008,_0x4a9653=_0xa90002?.[_0x2a67f5(0x1df)];_0x440cbe[_0x2a67f5(0x1be)][_0x2a67f5(0x22f)]('Update\x20for\x20breakpoints\x20'+_0x2649b6+'\x20finished\x20with\x20status\x20'+_0x4a9653);if(_0x2e1fc2||!_0x4a9653||Math['floor'](_0x4a9653/0x64)!==0x2){const _0x30c1d2=_0x4a9653&&(_0x4a9653>=0x1f4||_0x4a9653===0x198);if(_0x30c1d2){_0x440cbe[_0x2a67f5(0x1be)]['warn']('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x2649b6+_0x2a67f5(0x227)+_0x4a9653+_0x2a67f5(0x226)+_0x2e1fc2);for(const _0x8dd73c of _0x3e9811){_0x8dd73c[_0x2a67f5(0x20a)]<MAX_FAILED_SEND_ATTEMPTS?_0x440cbe[_0x2a67f5(0x232)][_0x2a67f5(0x1d0)]({..._0x8dd73c,'number':_0x8dd73c[_0x2a67f5(0x20a)]+0x1}):_0x440cbe[_0x2a67f5(0x1be)][_0x2a67f5(0x216)](_0x2a67f5(0x1cb)+_0x8dd73c['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x440cbe[_0x2a67f5(0x1be)][_0x2a67f5(0x216)](_0x2a67f5(0x22e)+_0x2649b6+_0x2a67f5(0x227)+_0x4a9653+_0x2a67f5(0x226)+_0x2e1fc2);}else _0x440cbe[_0x2a67f5(0x1be)]['info'](_0x2a67f5(0x1ca)+_0x2649b6+_0x2a67f5(0x218));_0x440cbe[_0x2a67f5(0x232)]['length']>0x0&&(_0x440cbe[_0x2a67f5(0x21a)]=setTimeout(()=>_0x440cbe[_0x2a67f5(0x1c6)][_0x2a67f5(0x1c9)](_0x440cbe)(_0x573c79),0x0));},0x28);}catch(_0x33134c){this[_0x3ff008(0x1be)][_0x3ff008(0x216)](_0x3ff008(0x22e)+_0x2649b6+_0x3ff008(0x1e0)+_0x33134c+_0x3ff008(0x1ae)+_0x33134c[_0x3ff008(0x211)]?.[_0x3ff008(0x21e)]),_0x440cbe[_0x3ff008(0x232)][_0x3ff008(0x231)]>0x0&&(_0x440cbe['transmissionTimeout']=setTimeout(()=>_0x440cbe[_0x3ff008(0x1c6)][_0x3ff008(0x1c9)](_0x440cbe)(_0x573c79),0x0));}}async[a6_0x3d5b35(0x1b6)](_0x588193){const _0x1c07f8=a6_0x3d5b35;this[_0x1c07f8(0x1be)][_0x1c07f8(0x1d4)](_0x1c07f8(0x224));const _0x146dd7=this[_0x1c07f8(0x1b7)]+encodeURIComponent(_0x588193)+_0x1c07f8(0x205),{error:_0xd09ceb,data:_0x2a98bd}=await this[_0x1c07f8(0x1f2)]({'uri':_0x146dd7,'json':!![]});if(_0xd09ceb)return Promise[_0x1c07f8(0x1d3)](_0xd09ceb);return yaml[_0x1c07f8(0x1c1)](_0x2a98bd)||{};}[a6_0x3d5b35(0x1f2)](_0x3ce1b7,_0x24362f,_0x3efcb8,_0x5c5622){const _0xa54213=a6_0x3d5b35,_0x2614c9={'Content-Type':_0x5c5622?_0x5c5622:_0xa54213(0x1e8),'Authorization':_0xa54213(0x1c3)+this[_0xa54213(0x210)]['lightrunSecret']},_0x52a923=axios_1['default'][_0xa54213(0x225)]['source'](),_0x18270c=_0x3efcb8?_0x3efcb8*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0xa54213(0x1be)][_0xa54213(0x22f)](_0xa54213(0x236)+_0x18270c);const _0xae84c3=setTimeout(()=>{const _0x12b5da=_0xa54213;this['logger'][_0x12b5da(0x216)](_0x12b5da(0x201)+_0x18270c+'ms'),_0x52a923['cancel']();},_0x18270c),_0x106d6a={'method':_0x3ce1b7[_0xa54213(0x1e4)],'url':_0x3ce1b7['uri'],'data':_0x3ce1b7['body'],'headers':_0x2614c9,'cancelToken':_0x52a923[_0xa54213(0x209)]};return extend(!![],_0x106d6a,_0x3ce1b7),this[_0xa54213(0x228)]['request'](_0x106d6a)[_0xa54213(0x1a6)](_0x19c814=>{const _0xb91684=_0xa54213;return _0x24362f?.(null,_0x19c814['data'],_0x19c814),{'error':null,'data':_0x19c814[_0xb91684(0x211)],'res':_0x19c814};})[_0xa54213(0x1e3)](_0x3d323e=>{const _0x61b404=_0xa54213;return _0x24362f?.(_0x3d323e,_0x3d323e[_0x61b404(0x22a)]?.[_0x61b404(0x211)],_0x3d323e['response']),{'error':_0x3d323e,'data':_0x3d323e[_0x61b404(0x22a)]?.[_0x61b404(0x211)],'res':_0x3d323e[_0x61b404(0x22a)]};})[_0xa54213(0x1b5)](()=>clearTimeout(_0xae84c3));}async[a6_0x3d5b35(0x1de)](_0x1f8a53){const _0x1ea55f=a6_0x3d5b35;this['logger'][_0x1ea55f(0x1d4)](_0x1ea55f(0x1e6));const _0x16d7b2=this[_0x1ea55f(0x1b7)]+encodeURIComponent(_0x1f8a53)+'/redaction',{error:_0x2b180b,data:_0x5b2781}=await this[_0x1ea55f(0x1f2)]({'uri':_0x16d7b2,'json':!![]});if(_0x2b180b)return Promise[_0x1ea55f(0x1d3)](_0x2b180b);return _0x5b2781;}}exports[a6_0x3d5b35(0x1fa)]=Controller;function is2xx(_0x3af2e8){const _0x55bb51=a6_0x3d5b35;return Math[_0x55bb51(0x1ee)](_0x3af2e8/0x64)===0x2;}function getProxyAgent(_0x22c24b,_0x1884ce){const _0x1bc66f=a6_0x3d5b35,_0x5a2023=_0x22c24b[_0x1bc66f(0x235)];if(!_0x5a2023?.['host'])return undefined;if(!_0x5a2023[_0x1bc66f(0x1db)])return _0x1884ce[_0x1bc66f(0x1d1)](_0x1bc66f(0x22d)),undefined;_0x1884ce[_0x1bc66f(0x1d4)]('Using\x20proxy\x20configuration:\x20'+_0x5a2023[_0x1bc66f(0x1ad)]+':'+_0x5a2023[_0x1bc66f(0x1db)]+_0x1bc66f(0x1e9)+(_0x5a2023[_0x1bc66f(0x1b4)]??''));const _0x2b59a4=new HttpsProxyAgent({'host':_0x5a2023[_0x1bc66f(0x1ad)],'port':_0x5a2023[_0x1bc66f(0x1db)],'auth':_0x5a2023[_0x1bc66f(0x1b4)]||_0x5a2023[_0x1bc66f(0x208)]?(_0x5a2023[_0x1bc66f(0x1b4)]??'')+':'+(_0x5a2023[_0x1bc66f(0x208)]??''):undefined}),_0x12ee83=_0x2b59a4['callback'][_0x1bc66f(0x1c9)](_0x2b59a4),_0x499874=getHttpsAgentOptions(_0x22c24b,_0x1884ce);return _0x2b59a4['callback']=(_0x247154,_0x2783e4)=>{return _0x12ee83(_0x247154,{..._0x2783e4,..._0x499874});},_0x2b59a4;}function a6_0x47ff(){const _0x2c5a8f=['update','caPath','password','token','number','lastLogCollectionTime','transmissionHardMaxNetworkSizeLimitInBytes','memory-streams','create','WritableStream','config','data','secureContext','stringify','defineProperty','2897118ZAFOws','warn','\x22\x20-\x20ignoring\x20it','\x20transmitted\x20successfully','71404QRoRYz','transmissionTimeout','addCACert','createSecureContext','debuggee','message','180mZDXXA','/breakpoints?','listBreakpoints','51845BxSltI','unable\x20to\x20register,\x20status\x20','Getting\x20blocklist','CancelToken','\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','axios','readFileSync','response','transmissionBulkMaxNetworkSizeInBytes','includes','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','debug','agentLog','length','transmissionQueue','waitToken','now','proxy','timeout\x20set\x20to\x20','PUT','map','then','\x20for\x20request\x20id\x20','978102dVjeuV','/appOnlyActionHits/','/debuggees/','toBuffer','search','host',',\x20Message:\x20','serializedJson','stream','1459444XhhcPy','clearTransmissionTimeout','ServiceObject','username','finally','getBlocklist','apiUrl','Agent','apiEndpoint','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','/controller','constructor','noCheckCertificate','logger','register','unknown\x20error\x20-\x20request\x20response\x20missing','load','https-proxy-agent','Bearer\x20','querystring','invalid\x20response\x20body\x20from\x20server','transmitBreakpointUpdates','should\x20have\x20a\x20registered\x20debuggee','context','bind','Update\x20for\x20breakpoints\x20','Breakpoint\x20','createGzip','enqueueBreakpointUpdate','shift','size','push','error','Successfully\x20sent\x20log\x20file\x20','reject','info','14jvBLqW','POST','toString','createHash','getJsonStringSizeInBytes','collectCooldownMs','port','sendAppOnlyBreakpointHitsToServer','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','getRedactions','status','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','tls','catch','method','digest','Getting\x20reductions','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','application/json',',\x20username:\x20','https://','https','50751AAgQRM','breakpoint\x20','floor','20elRDtP','zlib','assert','makeRequest','__esModule','\x20and\x20enqueue\x20to\x20queue','(((.+)+)+)+$','/deregister/','crypto','1629792ZIQOCh','failed\x20to\x20serialize\x20breakpoint\x20','Controller','Transmitting\x20breakpoint\x20updates...','\x20for\x20request\x20','extend','deregister','nextWaitToken','sendAgentLogsToServer','Timeout\x20occurred\x20after\x20','max','/log/','pipeline','/blacklist?successOnTimeout=true'];a6_0x47ff=function(){return _0x2c5a8f;};return a6_0x47ff();}function a6_0x2a10(_0x2fc56f,_0xddc7aa){const _0x403d53=a6_0x47ff();return a6_0x2a10=function(_0x133ece,_0x4eca29){_0x133ece=_0x133ece-0x1a6;let _0x47ff2f=_0x403d53[_0x133ece];return _0x47ff2f;},a6_0x2a10(_0x2fc56f,_0xddc7aa);}function getHttpsAgentOptions(_0x4150b6,_0x298a12){const _0x51c9c4=a6_0x3d5b35,_0x3cd79c={'checkServerIdentity':(_0x19d75b,_0x40d7ef)=>{const _0x42b993=a6_0x2a10;if(_0x4150b6[_0x42b993(0x1bd)])return undefined;const _0xcd1b71=(0x0,crypto_1[_0x42b993(0x1d8)])('sha256')[_0x42b993(0x206)](_0x40d7ef['pubkey'])[_0x42b993(0x1e5)]('hex');return _0x4150b6['pinnedCerts'][_0x42b993(0x22c)](_0xcd1b71)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0x57576f;if(_0x4150b6[_0x51c9c4(0x207)])try{_0x57576f=(0x0,fs_1[_0x51c9c4(0x229)])(_0x4150b6['caPath'],'ascii');}catch(_0x544576){_0x298a12[_0x51c9c4(0x216)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x4150b6[_0x51c9c4(0x207)]+_0x51c9c4(0x217));}if(_0x57576f){const _0x54a430=(0x0,tls_1[_0x51c9c4(0x21c)])(_0x3cd79c);_0x54a430[_0x51c9c4(0x1c8)][_0x51c9c4(0x21b)](_0x57576f),_0x3cd79c[_0x51c9c4(0x212)]=_0x54a430;}return _0x3cd79c;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x3c52e5=a7_0x3b40;(function(_0x1cf7a4,_0x2b1e45){const _0x22fa1d=a7_0x3b40,_0x1cfe18=_0x1cf7a4();while(!![]){try{const _0x299e81=-parseInt(_0x22fa1d(0x86))/0x1*(parseInt(_0x22fa1d(0x8c))/0x2)+parseInt(_0x22fa1d(0x7c))/0x3*(parseInt(_0x22fa1d(0x71))/0x4)+-parseInt(_0x22fa1d(0x84))/0x5+-parseInt(_0x22fa1d(0x7b))/0x6+parseInt(_0x22fa1d(0x6f))/0x7*(-parseInt(_0x22fa1d(0x85))/0x8)+parseInt(_0x22fa1d(0x80))/0x9+parseInt(_0x22fa1d(0x70))/0xa;if(_0x299e81===_0x2b1e45)break;else _0x1cfe18['push'](_0x1cfe18['shift']());}catch(_0x4f7165){_0x1cfe18['push'](_0x1cfe18['shift']());}}}(a7_0x2909,0x3d7a5));function a7_0x3b40(_0x2729b1,_0x3f74c2){const _0x3438d9=a7_0x2909();return a7_0x3b40=function(_0x248fd3,_0x291410){_0x248fd3=_0x248fd3-0x6f;let _0x2909c4=_0x3438d9[_0x248fd3];return _0x2909c4;},a7_0x3b40(_0x2729b1,_0x3f74c2);}const a7_0x291410=(function(){let _0x3d0308=!![];return function(_0x2a9888,_0x5f4858){const _0x876c6b=_0x3d0308?function(){const _0x13c19e=a7_0x3b40;if(_0x5f4858){const _0x3d4573=_0x5f4858[_0x13c19e(0x90)](_0x2a9888,arguments);return _0x5f4858=null,_0x3d4573;}}:function(){};return _0x3d0308=![],_0x876c6b;};}()),a7_0x248fd3=a7_0x291410(this,function(){const _0x12f232=a7_0x3b40;return a7_0x248fd3[_0x12f232(0x96)]()['search']('(((.+)+)+)+$')[_0x12f232(0x96)]()[_0x12f232(0x95)](a7_0x248fd3)['search'](_0x12f232(0x72));});a7_0x248fd3();'use strict';function a7_0x2909(){const _0x3c11b8=['name','./createDebuggeeMetadata','2909190XPVDtC','1155grwMqW','node','defineProperty','createDebuggeeMetadata','495171UoVnqk','minorVersion_','module','createDebuggee','393145crdiGT','872tLJwvL','90577lyulfS','../../debuggee','UNSPECIFIED','serviceContext','path','default','2JrHUQv','../../client/stackdriver/status-message','createUniquifier','versions','apply','./createUniquifier','string','stringify','getPlatform','constructor','toString','3682ppLGMw','7538140Fttgym','1604bQWBpf','(((.+)+)+)+$','sourceContexts','StatusMessage','version','service','title','cwd'];a7_0x2909=function(){return _0x3c11b8;};return a7_0x2909();}Object[a7_0x3c52e5(0x7e)](exports,'__esModule',{'value':!![]}),exports['createDebuggee']=void 0x0;const path=require(a7_0x3c52e5(0x8a)),status_message_1=require(a7_0x3c52e5(0x8d)),debuggee_1=require(a7_0x3c52e5(0x87)),createDebuggeeMetadata_1=require(a7_0x3c52e5(0x7a)),createUniquifier_1=require(a7_0x3c52e5(0x91)),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x499f05,_0x1ce123,_0x409d69,_0xe6fa87,_0x8c6503,_0x58c70f,_0x2800fc,_0xc90f29)=>{const _0x3d3414=a7_0x3c52e5,_0x4bbbc7=process[_0x3d3414(0x78)](),_0x599f33=path['relative'](_0x4bbbc7,process['argv'][0x1]),_0x47e3f4={'main\x20script':_0x599f33,'process.title':process[_0x3d3414(0x77)],'node\x20version':process['versions'][_0x3d3414(0x7d)],'V8\x20version':process[_0x3d3414(0x8f)]['v8'],'agent.name':_0xe6fa87[_0x3d3414(0x79)],'agent.version':_0x8c6503,'platform':(0x0,getPlatform_1[_0x3d3414(0x94)])()},_0x35a523=_0x1ce123[_0x3d3414(0x89)];_0x35a523&&(typeof _0x35a523[_0x3d3414(0x76)]===_0x3d3414(0x92)&&_0x35a523['service']!==_0x3d3414(0x8b)&&(_0x47e3f4[_0x3d3414(0x82)]=_0x35a523[_0x3d3414(0x76)]),typeof _0x35a523[_0x3d3414(0x75)]===_0x3d3414(0x92)&&(_0x47e3f4[_0x3d3414(0x75)]=_0x35a523[_0x3d3414(0x75)]),typeof _0x35a523['minorVersion_']==='string'&&(_0x47e3f4['minorversion']=_0x35a523[_0x3d3414(0x81)]));const _0x18dd4e=(0x0,createUniquifier_1[_0x3d3414(0x8e)])(_0x8c6503,_0x499f05,_0x409d69,_0x47e3f4),_0x599e21=_0xc90f29?new status_message_1['StatusMessage'](status_message_1[_0x3d3414(0x74)][_0x3d3414(0x88)],_0xc90f29,!![]):undefined,_0x4c2792=(0x0,createDebuggeeMetadata_1[_0x3d3414(0x7f)])(_0x1ce123,_0x58c70f),_0x5c7972={'uniquifier':_0x18dd4e,'agentVersion':_0x8c6503,'labels':{'metadata':JSON[_0x3d3414(0x93)](_0x4c2792)},'statusMessage':_0x599e21,'packageInfo':_0xe6fa87,..._0x2800fc};return _0x409d69&&(_0x5c7972[_0x3d3414(0x73)]=[_0x409d69]),new debuggee_1['Debuggee'](_0x5c7972);};exports[a7_0x3c52e5(0x83)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a8_0x3a4e(_0x2724ec,_0x3f7a3b){const _0x4ccb24=a8_0x31bf();return a8_0x3a4e=function(_0x2c2f9e,_0x49d15f){_0x2c2f9e=_0x2c2f9e-0xb6;let _0x31bfc9=_0x4ccb24[_0x2c2f9e];return _0x31bfc9;},a8_0x3a4e(_0x2724ec,_0x3f7a3b);}const a8_0x34c573=a8_0x3a4e;(function(_0xc9f674,_0x267303){const _0x2b3cb0=a8_0x3a4e,_0x20dd72=_0xc9f674();while(!![]){try{const _0x231c89=parseInt(_0x2b3cb0(0xbb))/0x1*(-parseInt(_0x2b3cb0(0xb9))/0x2)+parseInt(_0x2b3cb0(0xc0))/0x3*(parseInt(_0x2b3cb0(0xc3))/0x4)+parseInt(_0x2b3cb0(0xc4))/0x5*(-parseInt(_0x2b3cb0(0xbe))/0x6)+parseInt(_0x2b3cb0(0xc2))/0x7+parseInt(_0x2b3cb0(0xb8))/0x8+-parseInt(_0x2b3cb0(0xce))/0x9+parseInt(_0x2b3cb0(0xcb))/0xa;if(_0x231c89===_0x267303)break;else _0x20dd72['push'](_0x20dd72['shift']());}catch(_0x218892){_0x20dd72['push'](_0x20dd72['shift']());}}}(a8_0x31bf,0x2ccfc));const a8_0x49d15f=(function(){let _0x1febe5=!![];return function(_0x922fb0,_0x5a6d83){const _0x2e9feb=_0x1febe5?function(){const _0x4e1fea=a8_0x3a4e;if(_0x5a6d83){const _0x42b59f=_0x5a6d83[_0x4e1fea(0xb6)](_0x922fb0,arguments);return _0x5a6d83=null,_0x42b59f;}}:function(){};return _0x1febe5=![],_0x2e9feb;};}()),a8_0x2c2f9e=a8_0x49d15f(this,function(){const _0xf1d97e=a8_0x3a4e;return a8_0x2c2f9e['toString']()[_0xf1d97e(0xc8)](_0xf1d97e(0xcd))[_0xf1d97e(0xbd)]()['constructor'](a8_0x2c2f9e)[_0xf1d97e(0xc8)](_0xf1d97e(0xcd));});a8_0x2c2f9e();'use strict';Object[a8_0x34c573(0xc5)](exports,a8_0x34c573(0xbf),{'value':!![]}),exports[a8_0x34c573(0xba)]=void 0x0;function a8_0x31bf(){const _0x31f4a1=['1910370bHFCij','warn','(((.+)+)+)+$','1605888ZmRyJe','readFileSync','apply','utf-8','580496uiJScJ','6kqFipu','createDebuggeeMetadata','4773BLGoFw','metadata','toString','352644JBnglB','__esModule','3inGifK','extend','658826WtkzqE','1014712ILDGys','20HecyeK','defineProperty','map','registration','search','tags','filename'];a8_0x31bf=function(){return _0x31f4a1;};return a8_0x31bf();}const fs=require('fs'),extend=require(a8_0x34c573(0xc1)),createDebuggeeMetadata=(_0xbd3e46,_0x6d7b53)=>{const _0x14fda6=a8_0x34c573;let _0x537b70={'registration':{}};if(_0xbd3e46[_0x14fda6(0xbc)]?.[_0x14fda6(0xca)])try{_0x537b70=JSON['parse'](fs[_0x14fda6(0xcf)](_0xbd3e46[_0x14fda6(0xbc)][_0x14fda6(0xca)],_0x14fda6(0xb7)));}catch(_0x5163d2){_0x6d7b53[_0x14fda6(0xcc)]('Failed\x20to\x20read\x20metadata\x20file\x20'+_0xbd3e46[_0x14fda6(0xbc)]['filename'],_0x5163d2);}return _0x537b70[_0x14fda6(0xc7)]=extend(!![],{},_0xbd3e46[_0x14fda6(0xbc)]?.[_0x14fda6(0xc7)],_0x537b70[_0x14fda6(0xc7)]),_0x537b70['registration']?.['tags']&&(_0x537b70[_0x14fda6(0xc7)]['tags']=_0x537b70[_0x14fda6(0xc7)][_0x14fda6(0xc9)][_0x14fda6(0xc6)](_0x18e526=>typeof _0x18e526==='string'?{'name':_0x18e526}:_0x18e526)),_0x537b70;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a9_0x130f(){const _0x305b41=['search','17605550rOhpNh','5800NKZKto','update','defineProperty','constructor','264FVFmCq','2823438AiVWJt','apply','40355aolbEh','digest','434997WrxlUZ','6QaQNpy','3703413LwJtgu','crypto','888058hBUNFR','2853qCDnrl','createUniquifier','sha1','toString','createHash','hex','__esModule'];a9_0x130f=function(){return _0x305b41;};return a9_0x130f();}function a9_0x2e99(_0x4e6c4a,_0x3e2514){const _0x31e69a=a9_0x130f();return a9_0x2e99=function(_0x95e307,_0x355382){_0x95e307=_0x95e307-0x113;let _0x130f79=_0x31e69a[_0x95e307];return _0x130f79;},a9_0x2e99(_0x4e6c4a,_0x3e2514);}const a9_0x40c301=a9_0x2e99;(function(_0x325e5d,_0x5a151b){const _0x42ad36=a9_0x2e99,_0x5c0ebe=_0x325e5d();while(!![]){try{const _0x9563d4=-parseInt(_0x42ad36(0x123))/0x1+-parseInt(_0x42ad36(0x127))/0x2+parseInt(_0x42ad36(0x11f))/0x3+-parseInt(_0x42ad36(0x11e))/0x4*(parseInt(_0x42ad36(0x121))/0x5)+-parseInt(_0x42ad36(0x124))/0x6*(parseInt(_0x42ad36(0x125))/0x7)+parseInt(_0x42ad36(0x11a))/0x8*(-parseInt(_0x42ad36(0x128))/0x9)+parseInt(_0x42ad36(0x119))/0xa;if(_0x9563d4===_0x5a151b)break;else _0x5c0ebe['push'](_0x5c0ebe['shift']());}catch(_0x3664cf){_0x5c0ebe['push'](_0x5c0ebe['shift']());}}}(a9_0x130f,0x81aa1));const a9_0x355382=(function(){let _0x3518e7=!![];return function(_0x104176,_0x600744){const _0x5456b8=_0x3518e7?function(){const _0x2799f6=a9_0x2e99;if(_0x600744){const _0x53316b=_0x600744[_0x2799f6(0x120)](_0x104176,arguments);return _0x600744=null,_0x53316b;}}:function(){};return _0x3518e7=![],_0x5456b8;};}()),a9_0x95e307=a9_0x355382(this,function(){const _0x30d689=a9_0x2e99;return a9_0x95e307[_0x30d689(0x114)]()[_0x30d689(0x118)]('(((.+)+)+)+$')[_0x30d689(0x114)]()[_0x30d689(0x11d)](a9_0x95e307)[_0x30d689(0x118)]('(((.+)+)+)+$');});a9_0x95e307();'use strict';Object[a9_0x40c301(0x11c)](exports,a9_0x40c301(0x117),{'value':!![]}),exports[a9_0x40c301(0x129)]=void 0x0;const crypto=require(a9_0x40c301(0x126)),createUniquifier=(_0x442c75,_0x53ade0,_0x1b3f9c,_0x195e4a)=>{const _0x22aaa9=a9_0x40c301,_0x4a98a4=_0x442c75+_0x53ade0+JSON['stringify'](_0x1b3f9c)+JSON['stringify'](_0x195e4a);return crypto[_0x22aaa9(0x115)](_0x22aaa9(0x113))[_0x22aaa9(0x11b)](_0x4a98a4)[_0x22aaa9(0x122)](_0x22aaa9(0x116));};exports[a9_0x40c301(0x129)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x5cb51c=a10_0x2224;(function(_0x362b69,_0x1d4e2b){const _0x47a534=a10_0x2224,_0x45b189=_0x362b69();while(!![]){try{const _0x58c256=parseInt(_0x47a534(0x1e1))/0x1*(-parseInt(_0x47a534(0x1e4))/0x2)+parseInt(_0x47a534(0x1ea))/0x3*(-parseInt(_0x47a534(0x1e0))/0x4)+-parseInt(_0x47a534(0x1ef))/0x5*(-parseInt(_0x47a534(0x1e5))/0x6)+parseInt(_0x47a534(0x1e3))/0x7*(-parseInt(_0x47a534(0x1ec))/0x8)+-parseInt(_0x47a534(0x1e7))/0x9+parseInt(_0x47a534(0x1f0))/0xa+-parseInt(_0x47a534(0x1e9))/0xb*(-parseInt(_0x47a534(0x1e8))/0xc);if(_0x58c256===_0x1d4e2b)break;else _0x45b189['push'](_0x45b189['shift']());}catch(_0x4802df){_0x45b189['push'](_0x45b189['shift']());}}}(a10_0x196e,0x971fe));function a10_0x196e(){const _0x57632a=['177545MssXzc','push','7baLBqy','2licRaC','150AJJeJI','split','6408207KorQDB','4067580fvdzcT','33UPRWLz','37386ZZbtYx','constructor','8667440PswNJG','toString','(((.+)+)+)+$','211710mgBlFq','8156470QQTOSA','apply','defineProperty','96tohIJS'];a10_0x196e=function(){return _0x57632a;};return a10_0x196e();}const a10_0xbfa754=(function(){let _0x3b2811=!![];return function(_0x337a6d,_0x3b13e2){const _0x41e16e=_0x3b2811?function(){const _0x3fad96=a10_0x2224;if(_0x3b13e2){const _0x240ae6=_0x3b13e2[_0x3fad96(0x1de)](_0x337a6d,arguments);return _0x3b13e2=null,_0x240ae6;}}:function(){};return _0x3b2811=![],_0x41e16e;};}()),a10_0x4c55bd=a10_0xbfa754(this,function(){const _0x5e18ed=a10_0x2224;return a10_0x4c55bd[_0x5e18ed(0x1ed)]()['search'](_0x5e18ed(0x1ee))[_0x5e18ed(0x1ed)]()[_0x5e18ed(0x1eb)](a10_0x4c55bd)['search'](_0x5e18ed(0x1ee));});a10_0x4c55bd();'use strict';function a10_0x2224(_0x2fe706,_0x4177c9){const _0x40857c=a10_0x196e();return a10_0x2224=function(_0x4c55bd,_0xbfa754){_0x4c55bd=_0x4c55bd-0x1de;let _0x196e5d=_0x40857c[_0x4c55bd];return _0x196e5d;},a10_0x2224(_0x2fe706,_0x4177c9);}Object[a10_0x5cb51c(0x1df)](exports,'__esModule',{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x19b3d1,_0x32d6f0)=>{const _0x2dcf66=a10_0x5cb51c,_0x240b4c=_0x19b3d1[_0x2dcf66(0x1e6)](_0x32d6f0),_0x288fa8=[];_0x288fa8['push'](_0x240b4c[0x0]);for(let _0x24874d=0x1;_0x24874d<_0x240b4c['length'];_0x24874d++){_0x288fa8[_0x2dcf66(0x1e2)]({'v':_0x32d6f0},_0x240b4c[_0x24874d]);}return _0x288fa8;};exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x4c6379=a11_0x1e7c;function a11_0x1e7c(_0x300f85,_0x527eb4){const _0x12c356=a11_0x20c2();return a11_0x1e7c=function(_0x116d24,_0x56e0fa){_0x116d24=_0x116d24-0xd6;let _0x20c2ab=_0x12c356[_0x116d24];return _0x20c2ab;},a11_0x1e7c(_0x300f85,_0x527eb4);}(function(_0x446432,_0x2eab64){const _0x438e77=a11_0x1e7c,_0x2f5a55=_0x446432();while(!![]){try{const _0x48401e=parseInt(_0x438e77(0xea))/0x1*(parseInt(_0x438e77(0xe6))/0x2)+-parseInt(_0x438e77(0xe4))/0x3+parseInt(_0x438e77(0xe7))/0x4+-parseInt(_0x438e77(0xdd))/0x5*(-parseInt(_0x438e77(0xd7))/0x6)+-parseInt(_0x438e77(0xe3))/0x7*(-parseInt(_0x438e77(0xd6))/0x8)+-parseInt(_0x438e77(0xdb))/0x9+parseInt(_0x438e77(0xd8))/0xa*(parseInt(_0x438e77(0xe0))/0xb);if(_0x48401e===_0x2eab64)break;else _0x2f5a55['push'](_0x2f5a55['shift']());}catch(_0x12f30a){_0x2f5a55['push'](_0x2f5a55['shift']());}}}(a11_0x20c2,0xd2205));const a11_0x56e0fa=(function(){let _0x32d10b=!![];return function(_0x5c21af,_0x556ef9){const _0x531657=_0x32d10b?function(){const _0x2c32fb=a11_0x1e7c;if(_0x556ef9){const _0xc9c20b=_0x556ef9[_0x2c32fb(0xe8)](_0x5c21af,arguments);return _0x556ef9=null,_0xc9c20b;}}:function(){};return _0x32d10b=![],_0x531657;};}()),a11_0x116d24=a11_0x56e0fa(this,function(){const _0x4ea4a6=a11_0x1e7c;return a11_0x116d24['toString']()[_0x4ea4a6(0xeb)](_0x4ea4a6(0xd9))['toString']()[_0x4ea4a6(0xdf)](a11_0x116d24)['search'](_0x4ea4a6(0xd9));});a11_0x116d24();'use strict';function a11_0x20c2(){const _0x4500e0=['length','3BMWBIF','search','8rfYisI','36qjZJZU','320VmVcrT','(((.+)+)+)+$','test','1504116OyyQol','./tokenize','508215EOGQlq','format','constructor','318164lFoqoa','defineProperty','__esModule','1452122YWgMBt','4726980YiTHzs','substring','155504phLfXP','2509332dsOFCt','apply'];a11_0x20c2=function(){return _0x4500e0;};return a11_0x20c2();}Object[a11_0x4c6379(0xe1)](exports,a11_0x4c6379(0xe2),{'value':!![]}),exports[a11_0x4c6379(0xde)]=void 0x0;const tokenize_1=require(a11_0x4c6379(0xdc)),format=(_0x398501,_0xc47dff)=>{const _0x54e404=a11_0x4c6379,_0x3146a0=(0x0,tokenize_1['tokenize'])(_0x398501,_0xc47dff[_0x54e404(0xe9)]);for(let _0x30015f=0x0;_0x30015f<_0x3146a0[_0x54e404(0xe9)];_0x30015f++){if(!_0x3146a0[_0x30015f]['v'])continue;if(_0x3146a0[_0x30015f]['v']==='$$'){_0x3146a0[_0x30015f]='$';continue;}for(let _0x2b39c7=0x0;_0x2b39c7<_0xc47dff[_0x54e404(0xe9)];_0x2b39c7++){if(_0x3146a0[_0x30015f]['v']==='$'+_0x2b39c7){let _0xd4952=_0xc47dff[_0x2b39c7];/^".*"$/[_0x54e404(0xda)](_0xd4952)&&(_0xd4952=_0xd4952[_0x54e404(0xe5)](0x1,_0xd4952[_0x54e404(0xe9)]-0x1));_0x3146a0[_0x30015f]=_0xd4952;break;}}}return _0x3146a0['join']('');};exports['format']=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0xe1ffbc=a12_0x6128;(function(_0x2e3dd5,_0x518acb){const _0x221bf0=a12_0x6128,_0x9bd52=_0x2e3dd5();while(!![]){try{const _0x17a524=-parseInt(_0x221bf0(0xfa))/0x1*(parseInt(_0x221bf0(0xdf))/0x2)+-parseInt(_0x221bf0(0xe1))/0x3+-parseInt(_0x221bf0(0xdc))/0x4+-parseInt(_0x221bf0(0xec))/0x5+parseInt(_0x221bf0(0xd0))/0x6*(-parseInt(_0x221bf0(0xcd))/0x7)+-parseInt(_0x221bf0(0xf0))/0x8*(parseInt(_0x221bf0(0xd7))/0x9)+parseInt(_0x221bf0(0xd5))/0xa*(parseInt(_0x221bf0(0xd8))/0xb);if(_0x17a524===_0x518acb)break;else _0x9bd52['push'](_0x9bd52['shift']());}catch(_0x476d09){_0x9bd52['push'](_0x9bd52['shift']());}}}(a12_0x3c25,0x6b940));function a12_0x6128(_0x1c413e,_0xf4ab7f){const _0x512986=a12_0x3c25();return a12_0x6128=function(_0x5e60aa,_0x28440c){_0x5e60aa=_0x5e60aa-0xcc;let _0x3c2537=_0x512986[_0x5e60aa];return _0x3c2537;},a12_0x6128(_0x1c413e,_0xf4ab7f);}const a12_0x28440c=(function(){let _0x123044=!![];return function(_0x4c9fc5,_0x508aca){const _0x55da92=_0x123044?function(){const _0x6c7f39=a12_0x6128;if(_0x508aca){const _0x26dbf6=_0x508aca[_0x6c7f39(0xda)](_0x4c9fc5,arguments);return _0x508aca=null,_0x26dbf6;}}:function(){};return _0x123044=![],_0x55da92;};}()),a12_0x5e60aa=a12_0x28440c(this,function(){const _0x3b536c=a12_0x6128;return a12_0x5e60aa[_0x3b536c(0xe5)]()[_0x3b536c(0xf7)](_0x3b536c(0xd1))['toString']()[_0x3b536c(0xcf)](a12_0x5e60aa)['search'](_0x3b536c(0xd1));});a12_0x5e60aa();function a12_0x3c25(){const _0x4b8045=['38979ACcxlD','473OywLip','proxy_password','apply','collect_log_cooldown_ms','2733664jtqkJD','existsSync','fetch_breakpoints_once','400606ZtwHQL','split','819888FkKMIL','apiEndpoint','java-properties','dynamic_log_quota_recovery_ms','toString','agent_log_max_file_count','getBoolean','getFirst','trim','getFloat','pinned_certs','4062810dRiSin','max_snapshot_buffer_size','max_watchlist_variable_size','noCheckCertificate','976fbVKia','proxy_host','max_log_file_bytes','breakpoint_expiration_sec','ignore_quota','transmission_bulk_max_size','max_log_cpu_cost','search','agent_regmetadata_file','agent_log_max_file_size_mb','3bZOTyX','defineProperty','max_snapshot_frame_count','agent_log_level','2882999ejfNsd','getAgentConfig','constructor','6eRWWCu','(((.+)+)+)+$','max_condition_cost','max_variable_size','max_dynamic_log_rate','872340ePLJgl','getInt'];a12_0x3c25=function(){return _0x4b8045;};return a12_0x3c25();}'use strict';Object[a12_0xe1ffbc(0xfb)](exports,'__esModule',{'value':!![]}),exports[a12_0xe1ffbc(0xce)]=void 0x0;const properties=require(a12_0xe1ffbc(0xe3)),fs=require('fs'),getAgentConfig=_0x278346=>{const _0x29bdd4=a12_0xe1ffbc;if(fs[_0x29bdd4(0xdd)](_0x278346)){const _0x3af2ff=properties['of'](_0x278346);return{'lightrunSecret':_0x3af2ff[_0x29bdd4(0xe8)]('com.lightrun.secret'),'apiEndpoint':_0x3af2ff[_0x29bdd4(0xe8)](_0x29bdd4(0xe2)),'breakpointExpirationSec':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xf3)),'transmissionBulkMaxSize':_0x3af2ff['getInt'](_0x29bdd4(0xf5)),'noCheckCertificate':_0x3af2ff[_0x29bdd4(0xe7)](_0x29bdd4(0xef)),'pinnedCerts':_0x3af2ff['getFirst'](_0x29bdd4(0xeb))?.[_0x29bdd4(0xe0)](','),'metadata':{'filename':_0x3af2ff[_0x29bdd4(0xe8)](_0x29bdd4(0xf8))},'capture':{'maxFrames':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xfc)),'maxDataSize':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xed)),'maxSnapshotBufferSize':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xed)),'maxVariableSize':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xd3)),'maxWatchListVariableSize':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xee))},'agentLog':{'collectCooldownMs':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xdb)),'agentLogTargetDir':_0x3af2ff[_0x29bdd4(0xe8)]('agent_log_target_dir'),'agentLogLevel':_0x3af2ff[_0x29bdd4(0xe8)](_0x29bdd4(0xcc)),'agentLogMaxFileCount':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xe6)),'agentLogMaxFileSizeMb':_0x3af2ff['getInt'](_0x29bdd4(0xf9)),'maxLogFileBytes':_0x3af2ff[_0x29bdd4(0xd6)](_0x29bdd4(0xf2))},'quota':{'ignoreQuota':_0x3af2ff[_0x29bdd4(0xe7)](_0x29bdd4(0xf4)),'maxCPUCost':_0x3af2ff[_0x29bdd4(0xea)](_0x29bdd4(0xf6)),'maxConditionCost':_0x3af2ff['getFloat'](_0x29bdd4(0xd2)),'maxDynamicLogRate':_0x3af2ff['getInt'](_0x29bdd4(0xd4)),'maxDynamicLogByteRate':_0x3af2ff[_0x29bdd4(0xd6)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x3af2ff['getInt'](_0x29bdd4(0xe4))&&_0x3af2ff['getInt']('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x3af2ff[_0x29bdd4(0xe7)](_0x29bdd4(0xde)),'extraPaths':_0x3af2ff[_0x29bdd4(0xe8)]('extra_paths')?.[_0x29bdd4(0xe0)](',')?.['map'](_0x2f3add=>_0x2f3add[_0x29bdd4(0xe9)]()),'proxy':{'host':_0x3af2ff['getFirst'](_0x29bdd4(0xf1)),'port':_0x3af2ff[_0x29bdd4(0xd6)]('proxy_port'),'username':_0x3af2ff[_0x29bdd4(0xe8)]('proxy_username'),'password':_0x3af2ff[_0x29bdd4(0xe8)](_0x29bdd4(0xd9))}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x9ded27=a13_0x3232;function a13_0x176f(){const _0x3e0f3f=['DEFAULT','Platforms','getPlatform','env','12713670ifXjGX','2419170pmtjcK','1510484DhDsej','default','2kOoQOC','4898460TCqfNw','135244TSrfje','CLOUD_FUNCTION','cloud_function','2333751kuhNOz','defineProperty','7AAbVIg','search','apply','9173536SJTZky','toString','constructor','(((.+)+)+)+$'];a13_0x176f=function(){return _0x3e0f3f;};return a13_0x176f();}(function(_0x2d59e1,_0x268cc1){const _0x4059f2=a13_0x3232,_0x4c91a4=_0x2d59e1();while(!![]){try{const _0x27a72f=parseInt(_0x4059f2(0x155))/0x1*(-parseInt(_0x4059f2(0x153))/0x2)+-parseInt(_0x4059f2(0x158))/0x3+parseInt(_0x4059f2(0x151))/0x4+parseInt(_0x4059f2(0x154))/0x5+parseInt(_0x4059f2(0x150))/0x6+parseInt(_0x4059f2(0x144))/0x7*(parseInt(_0x4059f2(0x147))/0x8)+-parseInt(_0x4059f2(0x14f))/0x9;if(_0x27a72f===_0x268cc1)break;else _0x4c91a4['push'](_0x4c91a4['shift']());}catch(_0x56c563){_0x4c91a4['push'](_0x4c91a4['shift']());}}}(a13_0x176f,0x8df21));Object[a13_0x9ded27(0x143)](exports,'__esModule',{'value':!![]}),exports[a13_0x9ded27(0x14d)]=exports[a13_0x9ded27(0x14c)]=void 0x0;var Platforms;function a13_0x3232(_0x4128b4,_0x21d618){const _0xc3af0b=a13_0x176f();return a13_0x3232=function(_0x107428,_0x26c994){_0x107428=_0x107428-0x143;let _0x176f8f=_0xc3af0b[_0x107428];return _0x176f8f;},a13_0x3232(_0x4128b4,_0x21d618);}(function(_0x51fd92){const _0x4198ca=a13_0x9ded27,_0x45dad2=(function(){let _0x5f5449=!![];return function(_0x2bd1b6,_0x9a480a){const _0x3e965c=_0x5f5449?function(){const _0x4c230f=a13_0x3232;if(_0x9a480a){const _0x3e2eee=_0x9a480a[_0x4c230f(0x146)](_0x2bd1b6,arguments);return _0x9a480a=null,_0x3e2eee;}}:function(){};return _0x5f5449=![],_0x3e965c;};}()),_0x2ff79d=_0x45dad2(this,function(){const _0x393677=a13_0x3232;return _0x2ff79d['toString']()[_0x393677(0x145)]('(((.+)+)+)+$')[_0x393677(0x148)]()[_0x393677(0x149)](_0x2ff79d)[_0x393677(0x145)](_0x393677(0x14a));});_0x2ff79d(),_0x51fd92[_0x4198ca(0x156)]=_0x4198ca(0x157),_0x51fd92[_0x4198ca(0x14b)]=_0x4198ca(0x152);}(Platforms||(exports[a13_0x9ded27(0x14c)]=Platforms={})));const getPlatform=()=>{const _0x20c424=a13_0x9ded27,{FUNCTION_NAME:_0x31e06f,FUNCTION_TARGET:_0x129486}=process[_0x20c424(0x14e)];if(_0x31e06f||_0x129486)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x20c424(0x14b)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x4ed865=a14_0x4356;function a14_0x4356(_0x114934,_0x3599ea){const _0x24ea44=a14_0x4a5a();return a14_0x4356=function(_0x51c1e0,_0x4aab1d){_0x51c1e0=_0x51c1e0-0x16a;let _0x4a5afd=_0x24ea44[_0x51c1e0];return _0x4a5afd;},a14_0x4356(_0x114934,_0x3599ea);}(function(_0x1ce7a3,_0x32e542){const _0x19763b=a14_0x4356,_0x338498=_0x1ce7a3();while(!![]){try{const _0xb96ba4=-parseInt(_0x19763b(0x16f))/0x1+parseInt(_0x19763b(0x171))/0x2*(parseInt(_0x19763b(0x179))/0x3)+-parseInt(_0x19763b(0x172))/0x4+parseInt(_0x19763b(0x178))/0x5+parseInt(_0x19763b(0x17b))/0x6*(parseInt(_0x19763b(0x176))/0x7)+parseInt(_0x19763b(0x177))/0x8*(-parseInt(_0x19763b(0x16c))/0x9)+parseInt(_0x19763b(0x174))/0xa;if(_0xb96ba4===_0x32e542)break;else _0x338498['push'](_0x338498['shift']());}catch(_0x474c0a){_0x338498['push'](_0x338498['shift']());}}}(a14_0x4a5a,0x5d0e9));const a14_0x4aab1d=(function(){let _0x597249=!![];return function(_0xb98a5c,_0x2d6533){const _0x2f5752=_0x597249?function(){const _0x5a40e6=a14_0x4356;if(_0x2d6533){const _0x46c1d7=_0x2d6533[_0x5a40e6(0x17a)](_0xb98a5c,arguments);return _0x2d6533=null,_0x46c1d7;}}:function(){};return _0x597249=![],_0x2f5752;};}()),a14_0x51c1e0=a14_0x4aab1d(this,function(){const _0x5baf0d=a14_0x4356;return a14_0x51c1e0['toString']()[_0x5baf0d(0x175)]('(((.+)+)+)+$')[_0x5baf0d(0x173)]()[_0x5baf0d(0x170)](a14_0x51c1e0)[_0x5baf0d(0x175)]('(((.+)+)+)+$');});a14_0x51c1e0();'use strict';Object[a14_0x4ed865(0x16e)](exports,a14_0x4ed865(0x16d),{'value':!![]}),exports[a14_0x4ed865(0x16b)]=void 0x0;const mapSubtract=(_0xeb22f6,_0x22a495)=>{const _0x1dde1b=a14_0x4ed865,_0x1b6f85=[];for(const _0x380e75 in _0xeb22f6){!_0x22a495[_0x380e75]&&_0x1b6f85[_0x1dde1b(0x16a)](_0xeb22f6[_0x380e75]);}return _0x1b6f85;};function a14_0x4a5a(){const _0x3375e5=['1211823XZWCVs','__esModule','defineProperty','752842FcVgRN','constructor','6wyDnUD','2932272gmVOOr','toString','15620710EwLeiz','search','7TUpimq','8WjWoVH','102070SJMECv','199947wmcxDn','apply','1315716ismZac','push','mapSubtract'];a14_0x4a5a=function(){return _0x3375e5;};return a14_0x4a5a();}exports['mapSubtract']=mapSubtract;
|