lightrun 1.47.3 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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_0xe1ba84=a0_0x253a;(function(_0x287261,_0x358ffc){const _0x3355e3=a0_0x253a,_0x2ba610=_0x287261();while(!![]){try{const _0xc67fb2=parseInt(_0x3355e3(0xe3))/0x1+parseInt(_0x3355e3(0xd2))/0x2*(parseInt(_0x3355e3(0xef))/0x3)+parseInt(_0x3355e3(0xe8))/0x4*(-parseInt(_0x3355e3(0xcf))/0x5)+parseInt(_0x3355e3(0xe7))/0x6*(-parseInt(_0x3355e3(0xea))/0x7)+-parseInt(_0x3355e3(0xdc))/0x8*(parseInt(_0x3355e3(0xd1))/0x9)+-parseInt(_0x3355e3(0xdb))/0xa+-parseInt(_0x3355e3(0xf1))/0xb*(-parseInt(_0x3355e3(0xec))/0xc);if(_0xc67fb2===_0x358ffc)break;else _0x2ba610['push'](_0x2ba610['shift']());}catch(_0x3edc8c){_0x2ba610['push'](_0x2ba610['shift']());}}}(a0_0x3894,0x35768));function a0_0x3894(){const _0xa9a925=['logger','padStart','info','warn','constructor','getHours','debug','2017150LNoMza','1733464tPcWeQ','transports','winston-daily-rotate-file','default',']\x20-\x20','(((.+)+)+)+$','createLogger','245814NvlUXq','getFullYear','toString','json','226302zXUnsS','4Oivhyc','error','35ixfCCZ','getDate','12OTcoNI','process','AGENT_LOG_FILE','553371wGrRVS','winston','7885581gIWeBd','getMinutes','defineProperty','format','__esModule','toUpperCase','getMonth','1605875JIimNj','getSeconds','9TXJuCB','2jTILOW','search'];a0_0x3894=function(){return _0xa9a925;};return a0_0x3894();}function a0_0x253a(_0x557417,_0x410475){const _0x55bcd1=a0_0x3894();return a0_0x253a=function(_0x101cdf,_0x1bda56){_0x101cdf=_0x101cdf-0xc9;let _0x38941b=_0x55bcd1[_0x101cdf];return _0x38941b;},a0_0x253a(_0x557417,_0x410475);}const a0_0x1bda56=(function(){let _0x5b82ae=!![];return function(_0x3c07f2,_0x272d07){const _0x261528=_0x5b82ae?function(){if(_0x272d07){const _0x10cf90=_0x272d07['apply'](_0x3c07f2,arguments);return _0x272d07=null,_0x10cf90;}}:function(){};return _0x5b82ae=![],_0x261528;};}()),a0_0x101cdf=a0_0x1bda56(this,function(){const _0xfbeacc=a0_0x253a;return a0_0x101cdf[_0xfbeacc(0xe5)]()[_0xfbeacc(0xd3)](_0xfbeacc(0xe1))[_0xfbeacc(0xe5)]()[_0xfbeacc(0xd8)](a0_0x101cdf)['search'](_0xfbeacc(0xe1));});a0_0x101cdf();'use strict';Object[a0_0xe1ba84(0xca)](exports,a0_0xe1ba84(0xcc),{'value':!![]});const winston_1=require(a0_0xe1ba84(0xf0)),DailyRotateFile=require(a0_0xe1ba84(0xde)),process_1=require(a0_0xe1ba84(0xed)),{combine,printf,timestamp}=winston_1[a0_0xe1ba84(0xcb)],{Console}=winston_1[a0_0xe1ba84(0xdd)],now=new Date();function getLoggerTransport(_0x5812da,_0x404bde,_0x1c84a3){const _0x1d2ef2=a0_0xe1ba84;if(_0x5812da)return new DailyRotateFile({'dirname':_0x5812da,'filename':AgentLogger[_0x1d2ef2(0xee)],'datePattern':now[_0x1d2ef2(0xe4)]()['toString']()+now[_0x1d2ef2(0xce)]()[_0x1d2ef2(0xe5)]()[_0x1d2ef2(0xd5)](0x2,'0')+now[_0x1d2ef2(0xeb)]()[_0x1d2ef2(0xe5)]()[_0x1d2ef2(0xd5)](0x2,'0')+'-'+now[_0x1d2ef2(0xd9)]()['toString']()['padStart'](0x2,'0')+now[_0x1d2ef2(0xc9)]()['toString']()[_0x1d2ef2(0xd5)](0x2,'0')+now[_0x1d2ef2(0xd0)]()[_0x1d2ef2(0xe5)]()[_0x1d2ef2(0xd5)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x1d2ef2(0xee)],'maxSize':_0x404bde+'m','maxFiles':_0x1c84a3,'extension':'.log'});return new Console();}class AgentLogger{constructor(_0x3f2c56,_0x29bcfc,_0x3722fe,_0x2e1286,_0x1ca6cd){const _0x46f110=a0_0xe1ba84;this[_0x46f110(0xd4)]=(0x0,winston_1['createLogger'])({'level':_0x2e1286,'transports':[getLoggerTransport(_0x3f2c56,_0x29bcfc,_0x3722fe),new Console({'level':_0x1ca6cd,'stderrLevels':['debug','info',_0x46f110(0xd7),_0x46f110(0xe9)]})],'format':combine(timestamp(),printf(({level:_0x555402,message:_0x346f3a,timestamp:_0x3a374a})=>{const _0x498f2d=_0x46f110;return _0x3a374a+'\x20['+_0x555402[_0x498f2d(0xcd)]()+_0x498f2d(0xe0)+_0x346f3a;}),winston_1[_0x46f110(0xcb)][_0x46f110(0xe6)]())});}static[a0_0xe1ba84(0xe2)](_0x2724e7,_0x416ece,_0x11316b,_0x53f11f,_0x4839ee){return new AgentLogger(_0x2724e7,_0x416ece,_0x11316b,_0x53f11f,_0x4839ee);}[a0_0xe1ba84(0xda)](..._0x189e24){const _0x17986e=a0_0xe1ba84;this[_0x17986e(0xd4)][_0x17986e(0xda)](_0x189e24);}[a0_0xe1ba84(0xd6)](..._0x19719a){const _0x4f00c8=a0_0xe1ba84;this[_0x4f00c8(0xd4)][_0x4f00c8(0xd6)](_0x19719a);}['warn'](..._0x44427d){const _0x2183af=a0_0xe1ba84;this[_0x2183af(0xd4)][_0x2183af(0xd7)](_0x44427d);}['error'](..._0x24c19f){const _0x24abb7=a0_0xe1ba84;this[_0x24abb7(0xd4)][_0x24abb7(0xe9)](_0x24c19f);}}AgentLogger['AGENT_LOG_FILE']='lightrun_nodejs_agent.'+process_1['pid']+'.%DATE%',exports[a0_0xe1ba84(0xdf)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x24ea5c=a1_0x5a19;(function(_0x40e7c7,_0x22a9b1){const _0x2d1916=a1_0x5a19,_0x4846af=_0x40e7c7();while(!![]){try{const _0x3f4c1e=parseInt(_0x2d1916(0x1ff))/0x1+parseInt(_0x2d1916(0x1f4))/0x2+parseInt(_0x2d1916(0x1ed))/0x3+-parseInt(_0x2d1916(0x1f8))/0x4*(parseInt(_0x2d1916(0x200))/0x5)+-parseInt(_0x2d1916(0x1f2))/0x6*(parseInt(_0x2d1916(0x201))/0x7)+-parseInt(_0x2d1916(0x1fe))/0x8*(parseInt(_0x2d1916(0x1f7))/0x9)+parseInt(_0x2d1916(0x1eb))/0xa*(parseInt(_0x2d1916(0x1fb))/0xb);if(_0x3f4c1e===_0x22a9b1)break;else _0x4846af['push'](_0x4846af['shift']());}catch(_0x67fafd){_0x4846af['push'](_0x4846af['shift']());}}}(a1_0x3a27,0xc47df));const a1_0x43a289=(function(){let _0x4baa48=!![];return function(_0x43091b,_0x39dbeb){const _0x4376b2=_0x4baa48?function(){if(_0x39dbeb){const _0x53b747=_0x39dbeb['apply'](_0x43091b,arguments);return _0x39dbeb=null,_0x53b747;}}:function(){};return _0x4baa48=![],_0x4376b2;};}()),a1_0x1bea62=a1_0x43a289(this,function(){const _0x585994=a1_0x5a19;return a1_0x1bea62[_0x585994(0x1f1)]()[_0x585994(0x1f5)]('(((.+)+)+)+$')[_0x585994(0x1f1)]()[_0x585994(0x1f3)](a1_0x1bea62)['search'](_0x585994(0x1ee));});a1_0x1bea62();'use strict';function a1_0x5a19(_0x1cc098,_0x509111){const _0x9dd03a=a1_0x3a27();return a1_0x5a19=function(_0x1bea62,_0x43a289){_0x1bea62=_0x1bea62-0x1eb;let _0x3a2799=_0x9dd03a[_0x1bea62];return _0x3a2799;},a1_0x5a19(_0x1cc098,_0x509111);}Object[a1_0x24ea5c(0x1f9)](exports,a1_0x24ea5c(0x203),{'value':!![]}),exports[a1_0x24ea5c(0x1fc)]=void 0x0;class BlocklistingPatterns{constructor(_0x2636f7){const _0x2cdf9e=a1_0x24ea5c;this['inversePatterns']=[],this[_0x2cdf9e(0x1ec)]=[],_0x2636f7&&_0x2636f7['forEach'](_0x113361=>{const _0x312b6b=_0x2cdf9e;_0x113361&&(_0x113361[0x0]==='!'?this[_0x312b6b(0x1f6)]['push'](new RegExp(_0x113361[_0x312b6b(0x1fa)](0x1))):this[_0x312b6b(0x1ec)][_0x312b6b(0x1fd)](new RegExp(_0x113361)));});}['matches'](_0x30bea6){const _0x2fdeab=a1_0x24ea5c,_0x3a6a67=_0x55321f=>_0x30bea6[_0x2fdeab(0x1ef)](_0x55321f);return this[_0x2fdeab(0x1f6)][_0x2fdeab(0x1f0)]!==0x0&&!this[_0x2fdeab(0x1f6)][_0x2fdeab(0x202)](_0x3a6a67)||this[_0x2fdeab(0x1ec)][_0x2fdeab(0x202)](_0x3a6a67);}}exports[a1_0x24ea5c(0x1fc)]=BlocklistingPatterns;function a1_0x3a27(){const _0x26405c=['toString','6bRabyq','constructor','1093218OaWkDd','search','inversePatterns','279126MsqOUi','10320ZSRURe','defineProperty','substring','202939duyyAc','BlocklistingPatterns','push','328wBPJyz','514847VBdzhZ','2755QJdMXs','7316393jIGXkP','some','__esModule','1030MmttIJ','patterns','4744443XRvBFV','(((.+)+)+)+$','match','length'];a1_0x3a27=function(){return _0x26405c;};return a1_0x3a27();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a2_0xdeb520=a2_0x4048;(function(_0x6116e1,_0x47cb25){var _0x257936=a2_0x4048,_0x45d2a6=_0x6116e1();while(!![]){try{var _0x2feed2=parseInt(_0x257936(0x1de))/0x1+-parseInt(_0x257936(0x1e8))/0x2+-parseInt(_0x257936(0x1e9))/0x3+parseInt(_0x257936(0x1e6))/0x4+parseInt(_0x257936(0x1dd))/0x5*(parseInt(_0x257936(0x1e4))/0x6)+parseInt(_0x257936(0x1eb))/0x7+parseInt(_0x257936(0x1e1))/0x8*(parseInt(_0x257936(0x1e3))/0x9);if(_0x2feed2===_0x47cb25)break;else _0x45d2a6['push'](_0x45d2a6['shift']());}catch(_0x29e575){_0x45d2a6['push'](_0x45d2a6['shift']());}}}(a2_0x3aea,0x63848));var a2_0x17c2f1=(function(){var _0x4d0dc6=!![];return function(_0x267351,_0x142f9f){var _0x2ce023=_0x4d0dc6?function(){var _0x33f5d2=a2_0x4048;if(_0x142f9f){var _0x4cd59a=_0x142f9f[_0x33f5d2(0x1dc)](_0x267351,arguments);return _0x142f9f=null,_0x4cd59a;}}:function(){};return _0x4d0dc6=![],_0x2ce023;};}()),a2_0x57cb47=a2_0x17c2f1(this,function(){var _0x2a0038=a2_0x4048;return a2_0x57cb47[_0x2a0038(0x1e2)]()[_0x2a0038(0x1e5)](_0x2a0038(0x1e7))[_0x2a0038(0x1e2)]()[_0x2a0038(0x1ea)](a2_0x57cb47)[_0x2a0038(0x1e5)](_0x2a0038(0x1e7));});function a2_0x3aea(){var _0x191437=['defineProperty','__esModule','apply','373315XDYVBz','610173ZELKBr','DummyBlocklistManager','value','40QaBnWX','toString','142119Vcikno','12IMQiwe','search','1037260SQJFxH','(((.+)+)+)+$','1141234iTcuQr','1885308STcoum','constructor','3562356YdzXqB'];a2_0x3aea=function(){return _0x191437;};return a2_0x3aea();}a2_0x57cb47();'use strict';Object[a2_0xdeb520(0x1ec)](exports,a2_0xdeb520(0x1db),{'value':!![]}),exports[a2_0xdeb520(0x1df)]=void 0x0;class DummyBlocklistManager{constructor(_0x1e6d2d){var _0xc668df=a2_0xdeb520;this[_0xc668df(0x1e0)]=_0x1e6d2d;}['shouldBlock'](){var _0x26cdc2=a2_0xdeb520;return this[_0x26cdc2(0x1e0)];}}function a2_0x4048(_0xd9977,_0x52d02d){var _0x5c3f20=a2_0x3aea();return a2_0x4048=function(_0x57cb47,_0x17c2f1){_0x57cb47=_0x57cb47-0x1db;var _0x3aead7=_0x5c3f20[_0x57cb47];return _0x3aead7;},a2_0x4048(_0xd9977,_0x52d02d);}exports[a2_0xdeb520(0x1df)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x2dfe77=a3_0x5c63;function a3_0x1e92(){const _0xb214cf=['2616576AeqJTL','stripCurrentWorkingDirectory','__esModule','1427795UFoTtI','6RygLmR','stripWorkingDir','constructor','(((.+)+)+)+$','config','search','blocklist','4784824zPsusD','10112562xnLUrV','apply','17XeauwS','PatternsBlocklistManager','2596659yYtkjF','86644urlAyc','matches','toString','defineProperty','shouldBlock','BlocklistingPatterns','10GUPyjS','1386763iskmgf'];a3_0x1e92=function(){return _0xb214cf;};return a3_0x1e92();}(function(_0x543a1f,_0x33979e){const _0x2adfd7=a3_0x5c63,_0x252dcc=_0x543a1f();while(!![]){try{const _0x8d40d6=-parseInt(_0x2adfd7(0x146))/0x1*(-parseInt(_0x2adfd7(0x149))/0x2)+parseInt(_0x2adfd7(0x148))/0x3+parseInt(_0x2adfd7(0x138))/0x4+-parseInt(_0x2adfd7(0x13b))/0x5+parseInt(_0x2adfd7(0x13c))/0x6*(parseInt(_0x2adfd7(0x137))/0x7)+-parseInt(_0x2adfd7(0x143))/0x8+-parseInt(_0x2adfd7(0x144))/0x9*(parseInt(_0x2adfd7(0x136))/0xa);if(_0x8d40d6===_0x33979e)break;else _0x252dcc['push'](_0x252dcc['shift']());}catch(_0x5661f6){_0x252dcc['push'](_0x252dcc['shift']());}}}(a3_0x1e92,0x6d218));const a3_0x4786ae=(function(){let _0x957239=!![];return function(_0x54fc6a,_0x3b2e86){const _0x502fe6=_0x957239?function(){const _0x5d4e04=a3_0x5c63;if(_0x3b2e86){const _0x50fc2d=_0x3b2e86[_0x5d4e04(0x145)](_0x54fc6a,arguments);return _0x3b2e86=null,_0x50fc2d;}}:function(){};return _0x957239=![],_0x502fe6;};}()),a3_0x25b5de=a3_0x4786ae(this,function(){const _0x7539b2=a3_0x5c63;return a3_0x25b5de[_0x7539b2(0x14b)]()[_0x7539b2(0x141)](_0x7539b2(0x13f))[_0x7539b2(0x14b)]()[_0x7539b2(0x13e)](a3_0x25b5de)[_0x7539b2(0x141)]('(((.+)+)+)+$');});a3_0x25b5de();function a3_0x5c63(_0x54d640,_0x169a52){const _0x47ccef=a3_0x1e92();return a3_0x5c63=function(_0x25b5de,_0x4786ae){_0x25b5de=_0x25b5de-0x133;let _0x1e929c=_0x47ccef[_0x25b5de];return _0x1e929c;},a3_0x5c63(_0x54d640,_0x169a52);}'use strict';Object[a3_0x2dfe77(0x133)](exports,a3_0x2dfe77(0x13a),{'value':!![]}),exports['PatternsBlocklistManager']=void 0x0;const blocklisting_patterns_1=require('./blocklisting-patterns'),utils=require('../util/utils');class PatternsBlocklistManager{constructor(_0x4aeb02,_0x5b098f,_0x5ad53d){const _0x1a8791=a3_0x2dfe77;this[_0x1a8791(0x142)]=new blocklisting_patterns_1[(_0x1a8791(0x135))](_0x4aeb02),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x1a8791(0x135))](_0x5b098f),this[_0x1a8791(0x140)]=_0x5ad53d;}[a3_0x2dfe77(0x134)](_0x3ee0d4){const _0x567d76=a3_0x2dfe77;_0x3ee0d4=this[_0x567d76(0x13d)](_0x3ee0d4);if(this['blocklistExceptions'][_0x567d76(0x14a)](_0x3ee0d4))return![];return this[_0x567d76(0x142)]['matches'](_0x3ee0d4);}[a3_0x2dfe77(0x13d)](_0xca9478){const _0x48c912=a3_0x2dfe77;if(utils['isPathInCurrentWorkingDirectory'](_0xca9478,this[_0x48c912(0x140)]))return utils[_0x48c912(0x139)](_0xca9478,this[_0x48c912(0x140)]);return _0xca9478;}}exports[a3_0x2dfe77(0x147)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a4_0x2460(){const _0xa0ca6e=['38620nlpMYS','agentConfigFile','63580752vgiFkI','object','exists','none','array','(((.+)+)+)+$','__esModule','lightrunSecret','9025932MpHLEu','12953745InqJJn','warn','logMainConfigParams','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','oneOf','info','forEach','2632225rpPtPo','toString','14790040bzdPcQ','configSchema','!!!\x20NOT\x20SET\x20!!!','app.lightrun.com','boolean','number','570vULJeN','493152fUymQV','string','constructor','6JDypUo','agent.config','debug','defaultConfig','shape','search','yup','DOESN\x27T\x20EXIST','.js','Agent\x20Configuration:\x20',',\x20\x20\x20the\x20file\x20','errors','defineProperty','Production','values','error','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2'];a4_0x2460=function(){return _0xa0ca6e;};return a4_0x2460();}const a4_0x43c6d2=a4_0x1188;(function(_0x4269c0,_0x385346){const _0x5a3734=a4_0x1188,_0x50171f=_0x4269c0();while(!![]){try{const _0x180232=parseInt(_0x5a3734(0xc7))/0x1*(parseInt(_0x5a3734(0xc4))/0x2)+parseInt(_0x5a3734(0xc3))/0x3*(parseInt(_0x5a3734(0xd8))/0x4)+-parseInt(_0x5a3734(0xbb))/0x5+parseInt(_0x5a3734(0xe2))/0x6+parseInt(_0x5a3734(0xb4))/0x7+parseInt(_0x5a3734(0xbd))/0x8+-parseInt(_0x5a3734(0xda))/0x9;if(_0x180232===_0x385346)break;else _0x50171f['push'](_0x50171f['shift']());}catch(_0x358a82){_0x50171f['push'](_0x50171f['shift']());}}}(a4_0x2460,0xe2351));const a4_0x1e7c97=(function(){let _0x4b8c14=!![];return function(_0x3a5fe4,_0x13d1eb){const _0x3cec65=_0x4b8c14?function(){if(_0x13d1eb){const _0x436bf6=_0x13d1eb['apply'](_0x3a5fe4,arguments);return _0x13d1eb=null,_0x436bf6;}}:function(){};return _0x4b8c14=![],_0x3cec65;};}()),a4_0x6c0a52=a4_0x1e7c97(this,function(){const _0x5713fd=a4_0x1188;return a4_0x6c0a52[_0x5713fd(0xbc)]()[_0x5713fd(0xcc)](_0x5713fd(0xdf))[_0x5713fd(0xbc)]()[_0x5713fd(0xc6)](a4_0x6c0a52)[_0x5713fd(0xcc)](_0x5713fd(0xdf));});a4_0x6c0a52();'use strict';function a4_0x1188(_0xad65e0,_0x2c48ec){const _0x57b631=a4_0x2460();return a4_0x1188=function(_0x6c0a52,_0x1e7c97){_0x6c0a52=_0x6c0a52-0xb4;let _0x2460d2=_0x57b631[_0x6c0a52];return _0x2460d2;},a4_0x1188(_0xad65e0,_0x2c48ec);}Object[a4_0x43c6d2(0xd3)](exports,a4_0x43c6d2(0xe0),{'value':!![]}),exports[a4_0x43c6d2(0xb6)]=exports[a4_0x43c6d2(0xca)]=exports[a4_0x43c6d2(0xbe)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x43c6d2(0xcd));exports[a4_0x43c6d2(0xbe)]=(0x0,yup_1[a4_0x43c6d2(0xdb)])()[a4_0x43c6d2(0xcb)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'capture':(0x0,yup_1['object'])()[a4_0x43c6d2(0xcb)]({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxExpandFrames':(0x0,yup_1['number'])(),'maxProperties':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxVariableDepth':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxWatchProperties':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxDataSize':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x43c6d2(0xc2)])()}),'internal':(0x0,yup_1[a4_0x43c6d2(0xdb)])()[a4_0x43c6d2(0xcb)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x43c6d2(0xc2)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x43c6d2(0xc1)])(),'testMode_':(0x0,yup_1[a4_0x43c6d2(0xc1)])(),'apiEndpoint':(0x0,yup_1['string'])(),'lightrunSecret':(0x0,yup_1[a4_0x43c6d2(0xc5)])(),'agentLog':(0x0,yup_1[a4_0x43c6d2(0xdb)])()[a4_0x43c6d2(0xcb)]({'agentLogTargetDir':(0x0,yup_1[a4_0x43c6d2(0xc5)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'agentLogMaxFileCount':(0x0,yup_1['number'])(),'agentLogLevel':(0x0,yup_1[a4_0x43c6d2(0xc5)])()[a4_0x43c6d2(0xb8)]([a4_0x43c6d2(0xc9),a4_0x43c6d2(0xb9),a4_0x43c6d2(0xb5),'error']),'stdErrThreshold':(0x0,yup_1[a4_0x43c6d2(0xc5)])()[a4_0x43c6d2(0xb8)]([a4_0x43c6d2(0xc9),a4_0x43c6d2(0xb9),a4_0x43c6d2(0xb5),a4_0x43c6d2(0xd6),a4_0x43c6d2(0xdd)]),'collectCooldownMs':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x43c6d2(0xc2)])()}),'pinnedCerts':(0x0,yup_1[a4_0x43c6d2(0xde)])()['of']((0x0,yup_1['string'])()),'noCheckCertificate':(0x0,yup_1['boolean'])(),'caPath':(0x0,yup_1['string'])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'quota':(0x0,yup_1[a4_0x43c6d2(0xdb)])()[a4_0x43c6d2(0xcb)]({'maxConditionCost':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxCPUCost':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'ignoreQuota':(0x0,yup_1[a4_0x43c6d2(0xc1)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x43c6d2(0xc2)])()}),'agentConfigFile':(0x0,yup_1[a4_0x43c6d2(0xc5)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x43c6d2(0xc1)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x43c6d2(0xc1)])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1[a4_0x43c6d2(0xde)])()['of']((0x0,yup_1[a4_0x43c6d2(0xc5)])()),'redactionEnabled':(0x0,yup_1[a4_0x43c6d2(0xc1)])(),'proxy':(0x0,yup_1[a4_0x43c6d2(0xdb)])()[a4_0x43c6d2(0xcb)]({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1[a4_0x43c6d2(0xc2)])(),'username':(0x0,yup_1[a4_0x43c6d2(0xc5)])(),'password':(0x0,yup_1[a4_0x43c6d2(0xc5)])()})}),exports[a4_0x43c6d2(0xca)]={'workingDirectory':process['cwd'](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x43c6d2(0xcf)],'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_0x43c6d2(0xc0),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x43c6d2(0xb9),'stdErrThreshold':a4_0x43c6d2(0xdd),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x43c6d2(0xd7),a4_0x43c6d2(0xb7)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x43c6d2(0xd4)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x43c6d2(0xc8),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0xea6166,_0x8c4054)=>{const _0x578757=a4_0x43c6d2,_0x37b47b=Object[_0x578757(0xd5)](_0xea6166?.[_0x578757(0xd2)]??[]);_0x37b47b['length']&&_0x37b47b[_0x578757(0xba)](_0x50c166=>{const _0x33e48e=_0x578757;_0x8c4054[_0x33e48e(0xd6)](_0x50c166);});};function logMainConfigParams(_0x22b8c9,_0x3a8a18){const _0x57cce8=a4_0x43c6d2;let _0x576d73=_0x22b8c9[_0x57cce8(0xd9)];_0x576d73?_0x576d73+=_0x57cce8(0xd1)+((0x0,fs_1['existsSync'])(_0x22b8c9[_0x57cce8(0xd9)])?_0x57cce8(0xdc):_0x57cce8(0xce)):_0x576d73='not\x20set!';const _0x420e6f={..._0x22b8c9,'lightrunSecret':_0x22b8c9[_0x57cce8(0xe1)]?'set':_0x57cce8(0xbf),'agentConfigFile':_0x576d73};_0x3a8a18[_0x57cce8(0xc9)](_0x57cce8(0xd0),_0x420e6f),logConfigErrors(_0x22b8c9,_0x3a8a18);}exports[a4_0x43c6d2(0xb6)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x5666ed=a5_0x5143;(function(_0x157281,_0x52edf2){var _0x5b9f26=a5_0x5143,_0x22918=_0x157281();while(!![]){try{var _0xe12c36=parseInt(_0x5b9f26(0x16d))/0x1+-parseInt(_0x5b9f26(0x170))/0x2+parseInt(_0x5b9f26(0x167))/0x3*(-parseInt(_0x5b9f26(0x15f))/0x4)+-parseInt(_0x5b9f26(0x16a))/0x5*(parseInt(_0x5b9f26(0x15a))/0x6)+-parseInt(_0x5b9f26(0x161))/0x7+-parseInt(_0x5b9f26(0x160))/0x8+parseInt(_0x5b9f26(0x159))/0x9;if(_0xe12c36===_0x52edf2)break;else _0x22918['push'](_0x22918['shift']());}catch(_0x2df4f6){_0x22918['push'](_0x22918['shift']());}}}(a5_0x2caf,0xaa77a));function a5_0x5143(_0x1fe545,_0x1d086b){var _0x11404d=a5_0x2caf();return a5_0x5143=function(_0x5d546c,_0x5d055a){_0x5d546c=_0x5d546c-0x159;var _0x2cafdd=_0x11404d[_0x5d546c];return _0x2cafdd;},a5_0x5143(_0x1fe545,_0x1d086b);}var a5_0x5d055a=(function(){var _0xbf8ce8=!![];return function(_0x2ee4b4,_0x259f78){var _0x54fd36=_0xbf8ce8?function(){var _0x1523f7=a5_0x5143;if(_0x259f78){var _0x41cf61=_0x259f78[_0x1523f7(0x16f)](_0x2ee4b4,arguments);return _0x259f78=null,_0x41cf61;}}:function(){};return _0xbf8ce8=![],_0x54fd36;};}()),a5_0x5d546c=a5_0x5d055a(this,function(){var _0x373c34=a5_0x5143;return a5_0x5d546c[_0x373c34(0x16e)]()[_0x373c34(0x165)](_0x373c34(0x15c))[_0x373c34(0x16e)]()['constructor'](a5_0x5d546c)[_0x373c34(0x165)]('(((.+)+)+)+$');});a5_0x5d546c();'use strict';Object[a5_0x5666ed(0x15e)](exports,'__esModule',{'value':!![]}),exports['ConfigurationProvider']=void 0x0;class ConfigurationProvider{constructor(_0x4f69a8){var _0x4916d1=a5_0x5666ed;this[_0x4916d1(0x162)]=_0x4f69a8;}['getMaxVariableSize'](){var _0x8fb04b=a5_0x5666ed;return this[_0x8fb04b(0x162)][_0x8fb04b(0x15b)][_0x8fb04b(0x166)]||this[_0x8fb04b(0x162)][_0x8fb04b(0x15b)][_0x8fb04b(0x16b)];}['getMaxWatchListVariableSize'](){var _0x2adc80=a5_0x5666ed;return this['resolvedDebugAgentConfig'][_0x2adc80(0x15b)][_0x2adc80(0x168)];}[a5_0x5666ed(0x163)](){var _0x36b105=a5_0x5666ed;return this['resolvedDebugAgentConfig']['capture'][_0x36b105(0x169)]||this[_0x36b105(0x162)]['capture'][_0x36b105(0x15d)];}[a5_0x5666ed(0x164)](_0x40349f){var _0x3d43c1=a5_0x5666ed;return _0x40349f?this['resolvedDebugAgentConfig'][_0x3d43c1(0x15b)]['maxWatchProperties']:this[_0x3d43c1(0x162)][_0x3d43c1(0x15b)]['maxProperties'];}}function a5_0x2caf(){var _0x1bc9ed=['capture','(((.+)+)+)+$','maxSnapshotBufferSize','defineProperty','4JFIDvn','2875736vKtewt','7913969snLMhL','resolvedDebugAgentConfig','getMaxSnapshotBufferSize','getMaxProperties','search','maxStringLength','1719939GvxNBd','maxWatchListVariableSize','maxDataSize','311700ezHTXy','maxVariableSize','ConfigurationProvider','462904mqCvzY','toString','apply','1745036jAZIgo','29101815RzRpJB','6lKGjpg'];a5_0x2caf=function(){return _0x1bc9ed;};return a5_0x2caf();}exports[a5_0x5666ed(0x16c)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x337f(){const _0x5537eb=['getJsonStringSizeInBytes','Failed\x20to\x20send\x20log\x20file\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20','register','toBuffer','axios','apiEndpoint','Controller','2294488RlJvGr','enqueueBreakpointUpdate','makeRequest','maxLogFileBytes','sha256','getRedactions','8QzAWzl','now','https','search','Failed\x20to\x20zip\x20','invalid\x20response\x20body\x20from\x20server','Deregister\x20agent\x20before\x20shutdown','warn','password','port','Successfully\x20sent\x20log\x20file\x20','Getting\x20blocklist','then','/controller','transmitBreakpointUpdates','debug','request','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','shift','error','digest','data','status','nextWaitToken','Compressing\x20and\x20sending\x20log\x20file\x20','transmissionTimeout','uri','source','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','number','collectCooldownMs','/blacklist?successOnTimeout=true','\x20finished\x20with\x20status\x20','./util/utils','caPath','406683jkhAKY','size','lightrunSecret','join','\x20size\x20is\x20','2990106CyXQyw','proxy','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','listBreakpoints','https-proxy-agent','querystring','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','stringify','unable\x20to\x20register,\x20status\x20','load','/breakpoints','stream','reject','ServiceObject','crypto','1638789gtMWHu','createSecureContext','should\x20have\x20a\x20registered\x20debuggee','createHash','host','tls','pubkey','POST','map','apiUrl','\x20transmitted\x20successfully','constructor','Timeout\x20occurred\x20after\x20','zlib','931990RCphfj','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','context','includes','config','/log/','sendBreakpointLogsToServer','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','catch','timeout\x20set\x20to\x20','unknown\x20error\x20-\x20request\x20response\x20missing','Agent','10MfepjL','addCACert','lastLogCollectionTime','createGzip','extend',',\x20username:\x20','clearTransmissionTimeout','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','transmissionQueue','\x20Error:\x20','method','bind','assert','Failed\x20to\x20read\x20pem\x20file\x20\x22','username','@google-cloud/common','floor','body','application/json','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','pinnedCerts','response','js-yaml','update','Update\x20for\x20breakpoints\x20','Certificate\x20Pinning\x20Failed!','statSync','getBlocklist','/breakpoints?','transmissionBulkMaxNetworkSizeInBytes','Bearer\x20','PUT','length','push','WritableStream','1125370ZmwYwy','6929867ftUjId','serializedJson','info','(((.+)+)+)+$','toString','sendAppOnlyBreakpointHitsToServer','logger','transmissionHardMaxNetworkSizeLimitInBytes','debuggee','hex','pipeline','message','/debuggees/','max'];a6_0x337f=function(){return _0x5537eb;};return a6_0x337f();}const a6_0x3f8701=a6_0x57b0;(function(_0x52c8d9,_0x2024e7){const _0x3786e0=a6_0x57b0,_0x2c05d0=_0x52c8d9();while(!![]){try{const _0x369c08=parseInt(_0x3786e0(0x184))/0x1+parseInt(_0x3786e0(0x1e6))/0x2+-parseInt(_0x3786e0(0x1d8))/0x3*(parseInt(_0x3786e0(0x1a1))/0x4)+parseInt(_0x3786e0(0x1f2))/0x5*(parseInt(_0x3786e0(0x1c9))/0x6)+-parseInt(_0x3786e0(0x185))/0x7+parseInt(_0x3786e0(0x19b))/0x8+-parseInt(_0x3786e0(0x1c4))/0x9;if(_0x369c08===_0x2024e7)break;else _0x2c05d0['push'](_0x2c05d0['shift']());}catch(_0x1d1f2d){_0x2c05d0['push'](_0x2c05d0['shift']());}}}(a6_0x337f,0xb66b0));const a6_0x306d83=(function(){let _0x3fad4e=!![];return function(_0xf3ba8e,_0x63c66){const _0x550f0b=_0x3fad4e?function(){if(_0x63c66){const _0xbf3ba6=_0x63c66['apply'](_0xf3ba8e,arguments);return _0x63c66=null,_0xbf3ba6;}}:function(){};return _0x3fad4e=![],_0x550f0b;};}()),a6_0x344f11=a6_0x306d83(this,function(){const _0x19edb2=a6_0x57b0;return a6_0x344f11[_0x19edb2(0x189)]()[_0x19edb2(0x1a4)](_0x19edb2(0x188))[_0x19edb2(0x189)]()[_0x19edb2(0x1e3)](a6_0x344f11)[_0x19edb2(0x1a4)](_0x19edb2(0x188));});a6_0x344f11();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x3f8701(0x19a)]=void 0x0;const common_1=require(a6_0x3f8701(0x170)),assert=require(a6_0x3f8701(0x1fe)),qs=require(a6_0x3f8701(0x1ce)),fs_1=require('fs'),crypto_1=require(a6_0x3f8701(0x1d7)),zlib_1=require(a6_0x3f8701(0x1e5)),stream_1=require(a6_0x3f8701(0x1d4)),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x3f8701(0x1dd)),extend=require(a6_0x3f8701(0x1f6)),axios_1=require(a6_0x3f8701(0x198)),https=require(a6_0x3f8701(0x1a3)),utils_1=require(a6_0x3f8701(0x1c2)),HttpsProxyAgent=require(a6_0x3f8701(0x1cd)),yaml=require(a6_0x3f8701(0x177)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0x57b0(_0x215b07,_0x74ecb2){const _0x42a152=a6_0x337f();return a6_0x57b0=function(_0x344f11,_0x306d83){_0x344f11=_0x344f11-0x16f;let _0x337f9e=_0x42a152[_0x344f11];return _0x337f9e;},a6_0x57b0(_0x215b07,_0x74ecb2);}class Controller extends common_1[a6_0x3f8701(0x1d6)]{constructor(_0x446330,_0x4f36d0,_0x18a028){const _0x11feec=a6_0x3f8701;super({'parent':_0x446330,'baseUrl':_0x11feec(0x1ae)}),this[_0x11feec(0x1b8)]=null,this[_0x11feec(0x1ea)]=_0x4f36d0,this['transmissionQueue']=[],this[_0x11feec(0x18b)]=_0x18a028,this[_0x11feec(0x1e1)]='https://'+_0x4f36d0[_0x11feec(0x199)]+_0x11feec(0x191),this[_0x11feec(0x198)]=axios_1['default']['create']({'httpsAgent':getProxyAgent(_0x4f36d0,_0x18a028)??new https[(_0x11feec(0x1f1))](getHttpsAgentOptions(_0x4f36d0,_0x18a028)),'proxy':![]});}[a6_0x3f8701(0x196)](_0x529696,_0x466a34){const _0x4faffd=a6_0x3f8701,_0x42e3f9={'uri':this[_0x4faffd(0x1e1)]+'register','method':_0x4faffd(0x1df),'json':!![],'body':{'debuggee':_0x529696}};this[_0x4faffd(0x19d)](_0x42e3f9,(_0xe2b453,_0x4a3d53,_0x3fb3d7)=>{const _0x254b93=_0x4faffd;if(!_0x3fb3d7)_0x466a34(_0xe2b453||new Error(_0x254b93(0x1f0)));else{if(_0xe2b453){let _0x482c88=![];_0x3fb3d7[_0x254b93(0x1b7)]===HTTP_UPGRADE_REQUIRED&&_0x4a3d53&&(_0x4a3d53[_0x254b93(0x190)]!==undefined&&(_0xe2b453[_0x254b93(0x190)]=_0x4a3d53['message']),_0x529696['id']=_0x4a3d53[_0x254b93(0x18d)]['id'],_0x482c88=!![]),_0x466a34(_0xe2b453,_0x4a3d53,_0x482c88);}else{if(_0x3fb3d7[_0x254b93(0x1b7)]!==HTTP_SUCCESS)_0x466a34(new Error(_0x254b93(0x1d1)+_0x3fb3d7['status']));else!_0x4a3d53?.[_0x254b93(0x18d)]?_0x466a34(new Error(_0x254b93(0x1a6))):(_0x529696['id']=_0x4a3d53[_0x254b93(0x18d)]['id'],_0x466a34(null,_0x4a3d53));}}});}[a6_0x3f8701(0x1cc)](_0x34ab1a,_0x2ca326,_0x238a62){const _0x3d44f9=a6_0x3f8701,_0x1d131f=this;assert(_0x34ab1a['id'],_0x3d44f9(0x1da));const _0x41b7f6={'successOnTimeout':!![]};_0x1d131f[_0x3d44f9(0x1b8)]&&(_0x41b7f6['waitToken']=_0x1d131f['nextWaitToken']);const _0x1733e7=this[_0x3d44f9(0x1e1)]+encodeURIComponent(_0x34ab1a['id'])+_0x3d44f9(0x17d)+qs[_0x3d44f9(0x1d0)](_0x41b7f6);_0x1d131f[_0x3d44f9(0x19d)]({'uri':_0x1733e7,'json':!![]},(_0x3539b1,_0x4a96c0,_0x2f64a2)=>{const _0x44ae43=_0x3d44f9;if(!_0x2f64a2){_0x2ca326(_0x3539b1||new Error(_0x44ae43(0x1f0)));return;}else{if(!is2xx(_0x2f64a2[_0x44ae43(0x1b7)])){_0x2ca326(new Error(_0x44ae43(0x1f9)+_0x2f64a2[_0x44ae43(0x1b7)]),_0x2f64a2);return;}else _0x4a96c0&&(_0x1d131f[_0x44ae43(0x1b8)]=_0x4a96c0[_0x44ae43(0x1b8)]),_0x2ca326(null,_0x2f64a2,_0x4a96c0);}},_0x238a62);}[a6_0x3f8701(0x19c)](_0x39fe9e,_0x4f9874){const _0x4e3b0e=a6_0x3f8701;assert(_0x39fe9e['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x29ce63=JSON[_0x4e3b0e(0x1d0)](_0x4f9874),_0x4c4532=(0x0,utils_1[_0x4e3b0e(0x193)])(_0x29ce63);if(_0x4c4532>=this[_0x4e3b0e(0x1ea)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x4e3b0e(0x18b)]['warn']('breakpointId:\x20'+_0x4f9874['id']+_0x4e3b0e(0x1c8)+_0x4c4532+_0x4e3b0e(0x1cf)+this['config'][_0x4e3b0e(0x18c)]);return;}this[_0x4e3b0e(0x1fa)][_0x4e3b0e(0x182)]({'id':_0x4f9874['id'],'serializedJson':_0x29ce63,'number':0x0});if(!this['transmissionTimeout']){const _0x1a031a=this;this[_0x4e3b0e(0x1ba)]=setTimeout(()=>_0x1a031a[_0x4e3b0e(0x1af)][_0x4e3b0e(0x1fd)](_0x1a031a)(_0x39fe9e['id']),0x0);}}catch(_0x506c8c){this[_0x4e3b0e(0x18b)][_0x4e3b0e(0x1b4)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x4f9874['id']+'\x20and\x20enqueue\x20to\x20queue',_0x506c8c);return;}}[a6_0x3f8701(0x1f8)](){const _0x406a40=a6_0x3f8701;if(!this[_0x406a40(0x1ba)])return;clearTimeout(this['transmissionTimeout']),this[_0x406a40(0x1ba)]=null;}['deregister'](_0x414220,_0x4e2007){const _0x3273a1=a6_0x3f8701,_0x2b82fc=this[_0x3273a1(0x1e1)]+encodeURIComponent(_0x414220['id'])+'/deregister/',_0x47d17c={'uri':_0x2b82fc,'method':_0x3273a1(0x1df),'json':!![]};this[_0x3273a1(0x18b)][_0x3273a1(0x187)](_0x3273a1(0x1a7)),this['makeRequest'](_0x47d17c,(_0x5ab16f,_0x4943d1,_0xb2d42d)=>{const _0x33d2c6=_0x3273a1;(!_0xb2d42d||Math[_0x33d2c6(0x171)](_0xb2d42d[_0x33d2c6(0x1b7)]/0x64)!==0x2)&&this[_0x33d2c6(0x18b)][_0x33d2c6(0x1a8)](_0x33d2c6(0x174)+_0x5ab16f),_0x4e2007(_0x5ab16f);});}[a6_0x3f8701(0x1ec)](_0x128124,_0x4cebe1,_0x53a727){const _0x369e3f=a6_0x3f8701,_0x28d02c=this[_0x369e3f(0x1e1)]+encodeURIComponent(_0x128124['id'])+_0x369e3f(0x1eb),_0x54723a={'uri':_0x28d02c,'method':'POST','json':!![],'body':_0x4cebe1};this['makeRequest'](_0x54723a,(_0x294e7f,_0x513a8f,_0x228e33)=>{const _0x20aa89=_0x369e3f;(!_0x228e33||Math['floor'](_0x228e33[_0x20aa89(0x1b7)]/0x64)!==0x2)&&(this['logger'][_0x20aa89(0x1a8)](_0x20aa89(0x1ed)+_0x294e7f),_0x53a727(_0x294e7f));});}[a6_0x3f8701(0x18a)](_0x2d9e5d,_0x283953,_0x55acfa){const _0x25a974=a6_0x3f8701,_0x152596=this[_0x25a974(0x1e1)]+encodeURIComponent(_0x2d9e5d['id'])+'/appOnlyActionHits/',_0xdabdf2={'uri':_0x152596,'method':_0x25a974(0x1df),'json':!![],'body':_0x283953};this[_0x25a974(0x19d)](_0xdabdf2,(_0x39c37c,_0xa84d90,_0x5a1c04)=>{const _0x8fffb8=_0x25a974;(!_0x5a1c04||Math['floor'](_0x5a1c04[_0x8fffb8(0x1b7)]/0x64)!==0x2)&&(this[_0x8fffb8(0x18b)]['warn']('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x39c37c),_0x55acfa(_0x39c37c));});}['sendAgentLogsToServer'](_0x431179,_0x1a676e,_0x50db90){const _0xff7d0=a6_0x3f8701;assert(_0x431179['id'],_0xff7d0(0x1da));if(this[_0xff7d0(0x1f4)]){const _0x4bfe4f=Date[_0xff7d0(0x1a2)](),_0x405788=this['lastLogCollectionTime']+this['config']['agentLog'][_0xff7d0(0x1bf)];if(_0x4bfe4f<_0x405788){this[_0xff7d0(0x18b)][_0xff7d0(0x187)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x405788-_0x4bfe4f)/0x3e8+'\x20seconds'));return;}}const _0x29b60a=(0x0,fs_1[_0xff7d0(0x17b)])(_0x50db90)[_0xff7d0(0x1c5)],_0x304c23=Math[_0xff7d0(0x192)](0x0,_0x29b60a-this['config']['agentLog'][_0xff7d0(0x19e)]),_0x4a1a0f=(0x0,fs_1['createReadStream'])(_0x50db90,{'start':_0x304c23}),_0x361541=(0x0,zlib_1[_0xff7d0(0x1f5)])(),_0xa06c0e=new memory_streams_1[(_0xff7d0(0x183))](),_0x263ca2=this;_0x263ca2['logger']['info'](_0xff7d0(0x1b9)+_0x50db90+'\x20for\x20request\x20id\x20'+_0x1a676e),(0x0,stream_1[_0xff7d0(0x18f)])(_0x4a1a0f,_0x361541,_0xa06c0e,_0x430bbc=>{const _0x12c76b=_0xff7d0;if(_0x430bbc)_0x263ca2['logger'][_0x12c76b(0x1b4)](_0x12c76b(0x1a5)+_0x50db90+':\x20'+_0x430bbc);else{const _0x590a9f={'uri':this[_0x12c76b(0x1e1)]+encodeURIComponent(_0x431179['id'])+'/compressedLogFile/'+_0x1a676e,'method':_0x12c76b(0x180),'body':_0xa06c0e[_0x12c76b(0x197)]()};_0x263ca2[_0x12c76b(0x19d)](_0x590a9f,_0x3c21ab=>{const _0x590831=_0x12c76b;_0x3c21ab?_0x263ca2[_0x590831(0x18b)][_0x590831(0x1b4)](_0x590831(0x194)+_0x50db90+'\x20for\x20request\x20'+_0x1a676e,_0x3c21ab):(_0x263ca2[_0x590831(0x18b)][_0x590831(0x187)](_0x590831(0x1ab)+_0x50db90+'\x20for\x20request\x20'+_0x1a676e),_0x263ca2[_0x590831(0x1f4)]=Date['now']());});}});}[a6_0x3f8701(0x1af)](_0x1d8cd8){const _0x516b6b=a6_0x3f8701;this[_0x516b6b(0x18b)][_0x516b6b(0x1b0)]('Transmitting\x20breakpoint\x20updates...'),this[_0x516b6b(0x1ba)]=undefined;const _0x5b4c08=[];let _0x2ead1c=0x0;while(_0x5b4c08[_0x516b6b(0x181)]<this[_0x516b6b(0x1ea)]['transmissionBulkMaxSize']&&this[_0x516b6b(0x1fa)][_0x516b6b(0x181)]>0x0){const _0x2cfb40=this[_0x516b6b(0x1fa)][0x0],_0xb4a82b=_0x2cfb40[_0x516b6b(0x186)],_0x585fe8=(0x0,utils_1[_0x516b6b(0x193)])(_0xb4a82b);_0x2ead1c+=_0x585fe8;if(_0x2ead1c<=this['config'][_0x516b6b(0x17e)])_0x5b4c08[_0x516b6b(0x182)](_0x2cfb40),this[_0x516b6b(0x1fa)][_0x516b6b(0x1b3)]();else{_0x585fe8>this[_0x516b6b(0x1ea)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x5b4c08[_0x516b6b(0x181)]===0x0&&(this[_0x516b6b(0x18b)][_0x516b6b(0x1b0)]('breakpoint\x20'+_0x2cfb40['id']+_0x516b6b(0x195)+this['config'][_0x516b6b(0x17e)]+',\x20sending\x20only\x20one'),_0x5b4c08[_0x516b6b(0x182)](_0x2cfb40),this[_0x516b6b(0x1fa)][_0x516b6b(0x1b3)]());break;}}if(!_0x5b4c08)return;const _0x562f04=_0x5b4c08['map'](_0x1b48e7=>_0x1b48e7['id']),_0x2a6276={'uri':this[_0x516b6b(0x1e1)]+encodeURIComponent(_0x1d8cd8)+_0x516b6b(0x1d3),'json':!![],'method':_0x516b6b(0x180),'body':'['+_0x5b4c08[_0x516b6b(0x1e0)](_0x2c2e71=>_0x2c2e71[_0x516b6b(0x186)])[_0x516b6b(0x1c7)](',')+']'},_0x321609=this;try{this[_0x516b6b(0x19d)](_0x2a6276,(_0x12143a,_0x2e2519,_0x1bed73)=>{const _0x1b4a3c=_0x516b6b,_0x4e9fbd=_0x1bed73?.[_0x1b4a3c(0x1b7)];_0x321609['logger'][_0x1b4a3c(0x1b0)](_0x1b4a3c(0x179)+_0x562f04+_0x1b4a3c(0x1c1)+_0x4e9fbd);if(_0x12143a||!_0x4e9fbd||Math[_0x1b4a3c(0x171)](_0x4e9fbd/0x64)!==0x2){const _0x25ab33=_0x4e9fbd&&(_0x4e9fbd>=0x1f4||_0x4e9fbd===0x198);if(_0x25ab33){_0x321609[_0x1b4a3c(0x18b)]['warn'](_0x1b4a3c(0x1bd)+_0x562f04+_0x1b4a3c(0x1cb)+_0x4e9fbd+_0x1b4a3c(0x1fb)+_0x12143a);for(const _0x4e3f7f of _0x5b4c08){_0x4e3f7f[_0x1b4a3c(0x1be)]<MAX_FAILED_SEND_ATTEMPTS?_0x321609[_0x1b4a3c(0x1fa)][_0x1b4a3c(0x182)]({..._0x4e3f7f,'number':_0x4e3f7f['number']+0x1}):_0x321609[_0x1b4a3c(0x18b)]['warn']('Breakpoint\x20'+_0x4e3f7f['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x321609['logger']['warn'](_0x1b4a3c(0x1e7)+_0x562f04+_0x1b4a3c(0x1cb)+_0x4e9fbd+_0x1b4a3c(0x1fb)+_0x12143a);}else _0x321609[_0x1b4a3c(0x18b)][_0x1b4a3c(0x187)](_0x1b4a3c(0x179)+_0x562f04+_0x1b4a3c(0x1e2));_0x321609[_0x1b4a3c(0x1fa)][_0x1b4a3c(0x181)]>0x0&&(_0x321609['transmissionTimeout']=setTimeout(()=>_0x321609[_0x1b4a3c(0x1af)][_0x1b4a3c(0x1fd)](_0x321609)(_0x1d8cd8),0x0));},0x28);}catch(_0x5b150d){this['logger']['warn'](_0x516b6b(0x1e7)+_0x562f04+_0x516b6b(0x1b2)+_0x5b150d+',\x20Message:\x20'+_0x5b150d['data']?.['message']),_0x321609[_0x516b6b(0x1fa)][_0x516b6b(0x181)]>0x0&&(_0x321609[_0x516b6b(0x1ba)]=setTimeout(()=>_0x321609['transmitBreakpointUpdates'][_0x516b6b(0x1fd)](_0x321609)(_0x1d8cd8),0x0));}}async[a6_0x3f8701(0x17c)](_0x162d86){const _0x206871=a6_0x3f8701;this[_0x206871(0x18b)]['info'](_0x206871(0x1ac));const _0x1a57f1=this['apiUrl']+encodeURIComponent(_0x162d86)+_0x206871(0x1c0),{error:_0x22764b,data:_0x3a2104}=await this[_0x206871(0x19d)]({'uri':_0x1a57f1,'json':!![]});if(_0x22764b)return Promise[_0x206871(0x1d5)](_0x22764b);return yaml[_0x206871(0x1d2)](_0x3a2104)||{};}[a6_0x3f8701(0x19d)](_0x45cedf,_0x422f88,_0x5d07ea,_0x65af6c){const _0xa85a75=a6_0x3f8701,_0x296506={'Content-Type':_0x65af6c?_0x65af6c:_0xa85a75(0x173),'Authorization':_0xa85a75(0x17f)+this[_0xa85a75(0x1ea)][_0xa85a75(0x1c6)]},_0x4a387f=axios_1['default']['CancelToken'][_0xa85a75(0x1bc)](),_0x4ce530=_0x5d07ea?_0x5d07ea*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0xa85a75(0x18b)][_0xa85a75(0x1b0)](_0xa85a75(0x1ef)+_0x4ce530);const _0x5e85e5=setTimeout(()=>{const _0x42c116=_0xa85a75;this[_0x42c116(0x18b)]['warn'](_0x42c116(0x1e4)+_0x4ce530+'ms'),_0x4a387f['cancel']();},_0x4ce530),_0xf353b7={'method':_0x45cedf[_0xa85a75(0x1fc)],'url':_0x45cedf[_0xa85a75(0x1bb)],'data':_0x45cedf[_0xa85a75(0x172)],'headers':_0x296506,'cancelToken':_0x4a387f['token']};return extend(!![],_0xf353b7,_0x45cedf),this['axios'][_0xa85a75(0x1b1)](_0xf353b7)[_0xa85a75(0x1ad)](_0x155fea=>{return _0x422f88?.(null,_0x155fea['data'],_0x155fea),{'error':null,'data':_0x155fea['data'],'res':_0x155fea};})[_0xa85a75(0x1ee)](_0x38e587=>{const _0x273d6a=_0xa85a75;return _0x422f88?.(_0x38e587,_0x38e587[_0x273d6a(0x176)]?.['data'],_0x38e587[_0x273d6a(0x176)]),{'error':_0x38e587,'data':_0x38e587['response']?.[_0x273d6a(0x1b6)],'res':_0x38e587[_0x273d6a(0x176)]};})['finally'](()=>clearTimeout(_0x5e85e5));}async[a6_0x3f8701(0x1a0)](_0x126acc){const _0x1c0171=a6_0x3f8701;this[_0x1c0171(0x18b)][_0x1c0171(0x187)]('Getting\x20reductions');const _0x327a00=this[_0x1c0171(0x1e1)]+encodeURIComponent(_0x126acc)+'/redaction',{error:_0x4ae2e4,data:_0x164b59}=await this[_0x1c0171(0x19d)]({'uri':_0x327a00,'json':!![]});if(_0x4ae2e4)return Promise[_0x1c0171(0x1d5)](_0x4ae2e4);return _0x164b59;}}exports[a6_0x3f8701(0x19a)]=Controller;function is2xx(_0x4b4659){const _0x2f7116=a6_0x3f8701;return Math[_0x2f7116(0x171)](_0x4b4659/0x64)===0x2;}function getProxyAgent(_0x692437,_0x1eba1e){const _0x387667=a6_0x3f8701,_0x3af681=_0x692437[_0x387667(0x1ca)];if(!_0x3af681?.['host'])return undefined;if(!_0x3af681[_0x387667(0x1aa)])return _0x1eba1e[_0x387667(0x1b4)]('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x1eba1e[_0x387667(0x187)]('Using\x20proxy\x20configuration:\x20'+_0x3af681[_0x387667(0x1dc)]+':'+_0x3af681[_0x387667(0x1aa)]+_0x387667(0x1f7)+(_0x3af681['username']??''));const _0x49560f=new HttpsProxyAgent({'host':_0x3af681['host'],'port':_0x3af681['port'],'auth':_0x3af681[_0x387667(0x16f)]||_0x3af681[_0x387667(0x1a9)]?(_0x3af681[_0x387667(0x16f)]??'')+':'+(_0x3af681[_0x387667(0x1a9)]??''):undefined}),_0x2d777b=_0x49560f['callback']['bind'](_0x49560f),_0x438884=getHttpsAgentOptions(_0x692437,_0x1eba1e);return _0x49560f['callback']=(_0x5fbc88,_0x3b57b8)=>{return _0x2d777b(_0x5fbc88,{..._0x3b57b8,..._0x438884});},_0x49560f;}function getHttpsAgentOptions(_0x474c0b,_0x420bab){const _0x4c9ad7=a6_0x3f8701,_0x3b5c26={'checkServerIdentity':(_0x3228c9,_0x2140c1)=>{const _0x495694=a6_0x57b0;if(_0x474c0b['noCheckCertificate'])return undefined;const _0x4ce074=(0x0,crypto_1[_0x495694(0x1db)])(_0x495694(0x19f))[_0x495694(0x178)](_0x2140c1[_0x495694(0x1de)])[_0x495694(0x1b5)](_0x495694(0x18e));return _0x474c0b[_0x495694(0x175)][_0x495694(0x1e9)](_0x4ce074)?undefined:new Error(_0x495694(0x17a));}};let _0x37529a;if(_0x474c0b[_0x4c9ad7(0x1c3)])try{_0x37529a=(0x0,fs_1['readFileSync'])(_0x474c0b[_0x4c9ad7(0x1c3)],'ascii');}catch(_0x209de8){_0x420bab[_0x4c9ad7(0x1a8)](_0x4c9ad7(0x1ff)+_0x474c0b[_0x4c9ad7(0x1c3)]+'\x22\x20-\x20ignoring\x20it');}if(_0x37529a){const _0x14c2bb=(0x0,tls_1[_0x4c9ad7(0x1d9)])(_0x3b5c26);_0x14c2bb[_0x4c9ad7(0x1e8)][_0x4c9ad7(0x1f3)](_0x37529a),_0x3b5c26['secureContext']=_0x14c2bb;}return _0x3b5c26;}
|
|
1
|
+
function a6_0x15c9(_0xbe7a3e,_0x2987ca){const _0x4fec90=a6_0x4984();return a6_0x15c9=function(_0x1973e8,_0x367691){_0x1973e8=_0x1973e8-0x1d6;let _0x498434=_0x4fec90[_0x1973e8];return _0x498434;},a6_0x15c9(_0xbe7a3e,_0x2987ca);}const a6_0x1d5fb2=a6_0x15c9;(function(_0x2b60f8,_0x29ba83){const _0x295e6f=a6_0x15c9,_0x2c2168=_0x2b60f8();while(!![]){try{const _0x5e3c65=-parseInt(_0x295e6f(0x1fa))/0x1*(-parseInt(_0x295e6f(0x23a))/0x2)+-parseInt(_0x295e6f(0x1dc))/0x3+-parseInt(_0x295e6f(0x247))/0x4*(-parseInt(_0x295e6f(0x22e))/0x5)+parseInt(_0x295e6f(0x1e8))/0x6+-parseInt(_0x295e6f(0x1df))/0x7+-parseInt(_0x295e6f(0x1e9))/0x8+parseInt(_0x295e6f(0x1f0))/0x9*(parseInt(_0x295e6f(0x1ee))/0xa);if(_0x5e3c65===_0x29ba83)break;else _0x2c2168['push'](_0x2c2168['shift']());}catch(_0x5e0a0d){_0x2c2168['push'](_0x2c2168['shift']());}}}(a6_0x4984,0xe5f72));function a6_0x4984(){const _0x34e223=['\x20Error:\x20','push','transmissionBulkMaxNetworkSizeInBytes','POST','\x20and\x20enqueue\x20to\x20queue','Agent','info','Failed\x20to\x20read\x20pem\x20file\x20\x22','memory-streams','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','waitToken','Certificate\x20Pinning\x20Failed!','3512745eIWLGt','register','now','5606482DorqpO','/log/',',\x20sending\x20only\x20one','sendBreakpointLogsToServer','\x20transmitted\x20successfully','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','length','request','maxLogFileBytes','6604710JMjdbl','10014440MwKSrS','username','toBuffer','createGzip','listBreakpoints','1401670kOuRmp','Failed\x20to\x20zip\x20','153WjknYF','(((.+)+)+)+$','axios','proxy','logger','/blacklist?successOnTimeout=true','lastLogCollectionTime','caPath','config','unknown\x20error\x20-\x20request\x20response\x20missing','1PUmCJM','ascii','breakpointId:\x20','noCheckCertificate','PUT','Deregister\x20agent\x20before\x20shutdown','ServiceObject','method','zlib','warn','enqueueBreakpointUpdate','pubkey','Getting\x20blocklist','unable\x20to\x20register,\x20status\x20','error','\x20size\x20>\x20max\x20network\x20size\x20:\x20','querystring','/breakpoints?','token','Bearer\x20','callback','makeRequest','uri','getBlocklist','Timeout\x20occurred\x20after\x20','floor','stream','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','serializedJson','addCACert','js-yaml','shift','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','apiEndpoint','./util/utils','transmissionTimeout','toString','collectCooldownMs','should\x20have\x20a\x20registered\x20debuggee','transmissionHardMaxNetworkSizeLimitInBytes','digest','Transmitting\x20breakpoint\x20updates...','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','constructor','statSync','transmitBreakpointUpdates','create','defineProperty','then','\x22\x20-\x20ignoring\x20it','secureContext','map','2481735tRyDRj','nextWaitToken','\x20for\x20request\x20id\x20','host','finally','invalid\x20response\x20body\x20from\x20server','agentLog','lightrunSecret','load','\x20for\x20request\x20','crypto','/redaction','371226pLxaTg','includes','reject','CancelToken','tls','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','response','Controller','message','pinnedCerts','port','getJsonStringSizeInBytes','size','4pgWniu','sendAgentLogsToServer','stringify','number','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','clearTransmissionTimeout','debug','deregister','application/json','pipeline','catch','sendAppOnlyBreakpointHitsToServer','\x20seconds','status','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/appOnlyActionHits/','Compressing\x20and\x20sending\x20log\x20file\x20','__esModule',',\x20username:\x20','https-proxy-agent','transmissionQueue','default','bind','apiUrl','debuggee','Using\x20proxy\x20configuration:\x20','data','\x20size\x20is\x20','context','getRedactions'];a6_0x4984=function(){return _0x34e223;};return a6_0x4984();}const a6_0x367691=(function(){let _0x486dbf=!![];return function(_0x40d509,_0x24fef6){const _0xc4028d=_0x486dbf?function(){if(_0x24fef6){const _0x5a0ca3=_0x24fef6['apply'](_0x40d509,arguments);return _0x24fef6=null,_0x5a0ca3;}}:function(){};return _0x486dbf=![],_0xc4028d;};}()),a6_0x1973e8=a6_0x367691(this,function(){const _0xf2286f=a6_0x15c9;return a6_0x1973e8[_0xf2286f(0x21e)]()['search'](_0xf2286f(0x1f1))[_0xf2286f(0x21e)]()[_0xf2286f(0x225)](a6_0x1973e8)['search'](_0xf2286f(0x1f1));});a6_0x1973e8();'use strict';Object[a6_0x1d5fb2(0x229)](exports,a6_0x1d5fb2(0x259),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require('@google-cloud/common'),assert=require('assert'),qs=require(a6_0x1d5fb2(0x20a)),fs_1=require('fs'),crypto_1=require(a6_0x1d5fb2(0x238)),zlib_1=require(a6_0x1d5fb2(0x202)),stream_1=require(a6_0x1d5fb2(0x214)),memory_streams_1=require(a6_0x1d5fb2(0x1d8)),tls_1=require(a6_0x1d5fb2(0x23e)),extend=require('extend'),axios_1=require(a6_0x1d5fb2(0x1f2)),https=require('https'),utils_1=require(a6_0x1d5fb2(0x21c)),HttpsProxyAgent=require(a6_0x1d5fb2(0x25b)),yaml=require(a6_0x1d5fb2(0x218)),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_0x1d5fb2(0x200)]{constructor(_0x581765,_0x3728a8,_0xaf8b51){const _0x38d62f=a6_0x1d5fb2;super({'parent':_0x581765,'baseUrl':'/controller'}),this['nextWaitToken']=null,this['config']=_0x3728a8,this[_0x38d62f(0x25c)]=[],this[_0x38d62f(0x1f4)]=_0xaf8b51,this[_0x38d62f(0x25f)]='https://'+_0x3728a8[_0x38d62f(0x21b)]+'/debuggees/',this[_0x38d62f(0x1f2)]=axios_1[_0x38d62f(0x25d)][_0x38d62f(0x228)]({'httpsAgent':getProxyAgent(_0x3728a8,_0xaf8b51)??new https[(_0x38d62f(0x26b))](getHttpsAgentOptions(_0x3728a8,_0xaf8b51)),'proxy':![]});}[a6_0x1d5fb2(0x1dd)](_0x588e93,_0x55445b){const _0x4b62c5=a6_0x1d5fb2,_0x44b62b={'uri':this['apiUrl']+_0x4b62c5(0x1dd),'method':_0x4b62c5(0x269),'json':!![],'body':{'debuggee':_0x588e93}};this[_0x4b62c5(0x20f)](_0x44b62b,(_0x1ba4ca,_0x4cf401,_0x526cf7)=>{const _0x2e0696=_0x4b62c5;if(!_0x526cf7)_0x55445b(_0x1ba4ca||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x1ba4ca){let _0x64da67=![];_0x526cf7[_0x2e0696(0x255)]===HTTP_UPGRADE_REQUIRED&&_0x4cf401&&(_0x4cf401['message']!==undefined&&(_0x1ba4ca['message']=_0x4cf401[_0x2e0696(0x242)]),_0x588e93['id']=_0x4cf401['debuggee']['id'],_0x64da67=!![]),_0x55445b(_0x1ba4ca,_0x4cf401,_0x64da67);}else{if(_0x526cf7[_0x2e0696(0x255)]!==HTTP_SUCCESS)_0x55445b(new Error(_0x2e0696(0x207)+_0x526cf7[_0x2e0696(0x255)]));else!_0x4cf401?.[_0x2e0696(0x260)]?_0x55445b(new Error(_0x2e0696(0x233))):(_0x588e93['id']=_0x4cf401[_0x2e0696(0x260)]['id'],_0x55445b(null,_0x4cf401));}}});}[a6_0x1d5fb2(0x1ed)](_0x2f1e08,_0x507869,_0x38ccdb){const _0x2b1ddf=a6_0x1d5fb2,_0x2287b0=this;assert(_0x2f1e08['id'],_0x2b1ddf(0x220));const _0xe11b95={'successOnTimeout':!![]};_0x2287b0[_0x2b1ddf(0x22f)]&&(_0xe11b95[_0x2b1ddf(0x1da)]=_0x2287b0[_0x2b1ddf(0x22f)]);const _0x1a968f=this[_0x2b1ddf(0x25f)]+encodeURIComponent(_0x2f1e08['id'])+_0x2b1ddf(0x20b)+qs[_0x2b1ddf(0x249)](_0xe11b95);_0x2287b0[_0x2b1ddf(0x20f)]({'uri':_0x1a968f,'json':!![]},(_0x4c26f5,_0x286135,_0x30844e)=>{const _0xa19d93=_0x2b1ddf;if(!_0x30844e){_0x507869(_0x4c26f5||new Error(_0xa19d93(0x1f9)));return;}else{if(!is2xx(_0x30844e[_0xa19d93(0x255)])){_0x507869(new Error(_0xa19d93(0x21a)+_0x30844e['status']),_0x30844e);return;}else _0x286135&&(_0x2287b0[_0xa19d93(0x22f)]=_0x286135[_0xa19d93(0x22f)]),_0x507869(null,_0x30844e,_0x286135);}},_0x38ccdb);}[a6_0x1d5fb2(0x204)](_0x5106a9,_0x5934d2){const _0x4c0a7b=a6_0x1d5fb2;assert(_0x5106a9['id'],_0x4c0a7b(0x220));try{const _0x284a6e=JSON[_0x4c0a7b(0x249)](_0x5934d2),_0x1d2630=(0x0,utils_1[_0x4c0a7b(0x245)])(_0x284a6e);if(_0x1d2630>=this[_0x4c0a7b(0x1f8)][_0x4c0a7b(0x221)]){this[_0x4c0a7b(0x1f4)][_0x4c0a7b(0x203)](_0x4c0a7b(0x1fc)+_0x5934d2['id']+_0x4c0a7b(0x263)+_0x1d2630+_0x4c0a7b(0x224)+this[_0x4c0a7b(0x1f8)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this['transmissionQueue'][_0x4c0a7b(0x267)]({'id':_0x5934d2['id'],'serializedJson':_0x284a6e,'number':0x0});if(!this[_0x4c0a7b(0x21d)]){const _0x28fb7e=this;this[_0x4c0a7b(0x21d)]=setTimeout(()=>_0x28fb7e['transmitBreakpointUpdates'][_0x4c0a7b(0x25e)](_0x28fb7e)(_0x5106a9['id']),0x0);}}catch(_0x5f167e){this[_0x4c0a7b(0x1f4)][_0x4c0a7b(0x208)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x5934d2['id']+_0x4c0a7b(0x26a),_0x5f167e);return;}}[a6_0x1d5fb2(0x24d)](){const _0x35e818=a6_0x1d5fb2;if(!this[_0x35e818(0x21d)])return;clearTimeout(this[_0x35e818(0x21d)]),this[_0x35e818(0x21d)]=null;}[a6_0x1d5fb2(0x24f)](_0x4c8488,_0x4a0a7e){const _0x2d81f1=a6_0x1d5fb2,_0x1a4da1=this[_0x2d81f1(0x25f)]+encodeURIComponent(_0x4c8488['id'])+'/deregister/',_0x18a464={'uri':_0x1a4da1,'method':_0x2d81f1(0x269),'json':!![]};this[_0x2d81f1(0x1f4)]['info'](_0x2d81f1(0x1ff)),this[_0x2d81f1(0x20f)](_0x18a464,(_0xe618f,_0x45d269,_0x2f1e0b)=>{const _0x4a95f1=_0x2d81f1;(!_0x2f1e0b||Math[_0x4a95f1(0x213)](_0x2f1e0b[_0x4a95f1(0x255)]/0x64)!==0x2)&&this[_0x4a95f1(0x1f4)][_0x4a95f1(0x203)](_0x4a95f1(0x215)+_0xe618f),_0x4a0a7e(_0xe618f);});}[a6_0x1d5fb2(0x1e2)](_0x4e6b0,_0xe37ba6,_0x163199){const _0x3ca53b=a6_0x1d5fb2,_0x401e29=this['apiUrl']+encodeURIComponent(_0x4e6b0['id'])+_0x3ca53b(0x1e0),_0x1739e1={'uri':_0x401e29,'method':_0x3ca53b(0x269),'json':!![],'body':_0xe37ba6};this[_0x3ca53b(0x20f)](_0x1739e1,(_0xdf2e42,_0x4f491d,_0x15121d)=>{const _0x126950=_0x3ca53b;(!_0x15121d||Math[_0x126950(0x213)](_0x15121d['status']/0x64)!==0x2)&&(this['logger']['warn']('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0xdf2e42),_0x163199(_0xdf2e42));});}[a6_0x1d5fb2(0x253)](_0x5f2cd5,_0x3e191c,_0x152bb0){const _0x2d6f16=a6_0x1d5fb2,_0x206b05=this[_0x2d6f16(0x25f)]+encodeURIComponent(_0x5f2cd5['id'])+_0x2d6f16(0x257),_0x4a3e7c={'uri':_0x206b05,'method':'POST','json':!![],'body':_0x3e191c};this['makeRequest'](_0x4a3e7c,(_0x3d8c7a,_0x3db684,_0x4c2c5e)=>{const _0x25ab20=_0x2d6f16;(!_0x4c2c5e||Math[_0x25ab20(0x213)](_0x4c2c5e[_0x25ab20(0x255)]/0x64)!==0x2)&&(this['logger']['warn']('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x3d8c7a),_0x152bb0(_0x3d8c7a));});}[a6_0x1d5fb2(0x248)](_0x2c7c23,_0x3ac752,_0x57aaa7){const _0x4f43f2=a6_0x1d5fb2;assert(_0x2c7c23['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x4f1973=Date[_0x4f43f2(0x1de)](),_0x5d6185=this[_0x4f43f2(0x1f6)]+this[_0x4f43f2(0x1f8)][_0x4f43f2(0x234)][_0x4f43f2(0x21f)];if(_0x4f1973<_0x5d6185){this[_0x4f43f2(0x1f4)][_0x4f43f2(0x1d6)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x5d6185-_0x4f1973)/0x3e8+_0x4f43f2(0x254)));return;}}const _0xaa3fca=(0x0,fs_1[_0x4f43f2(0x226)])(_0x57aaa7)[_0x4f43f2(0x246)],_0x1b4398=Math['max'](0x0,_0xaa3fca-this['config'][_0x4f43f2(0x234)][_0x4f43f2(0x1e7)]),_0x47ffe1=(0x0,fs_1['createReadStream'])(_0x57aaa7,{'start':_0x1b4398}),_0x359bf5=(0x0,zlib_1[_0x4f43f2(0x1ec)])(),_0x4dbeff=new memory_streams_1['WritableStream'](),_0x35e38a=this;_0x35e38a[_0x4f43f2(0x1f4)][_0x4f43f2(0x1d6)](_0x4f43f2(0x258)+_0x57aaa7+_0x4f43f2(0x230)+_0x3ac752),(0x0,stream_1[_0x4f43f2(0x251)])(_0x47ffe1,_0x359bf5,_0x4dbeff,_0x21f3cd=>{const _0x3f5883=_0x4f43f2;if(_0x21f3cd)_0x35e38a[_0x3f5883(0x1f4)][_0x3f5883(0x208)](_0x3f5883(0x1ef)+_0x57aaa7+':\x20'+_0x21f3cd);else{const _0x574a29={'uri':this[_0x3f5883(0x25f)]+encodeURIComponent(_0x2c7c23['id'])+'/compressedLogFile/'+_0x3ac752,'method':_0x3f5883(0x1fe),'body':_0x4dbeff[_0x3f5883(0x1eb)]()};_0x35e38a[_0x3f5883(0x20f)](_0x574a29,_0x4b3a47=>{const _0x513491=_0x3f5883;_0x4b3a47?_0x35e38a[_0x513491(0x1f4)][_0x513491(0x208)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x57aaa7+_0x513491(0x237)+_0x3ac752,_0x4b3a47):(_0x35e38a[_0x513491(0x1f4)][_0x513491(0x1d6)]('Successfully\x20sent\x20log\x20file\x20'+_0x57aaa7+'\x20for\x20request\x20'+_0x3ac752),_0x35e38a[_0x513491(0x1f6)]=Date[_0x513491(0x1de)]());});}});}[a6_0x1d5fb2(0x227)](_0x48a22e){const _0xc0d080=a6_0x1d5fb2;this[_0xc0d080(0x1f4)][_0xc0d080(0x24e)](_0xc0d080(0x223)),this[_0xc0d080(0x21d)]=undefined;const _0x4a6603=[];let _0x4d344b=0x0;while(_0x4a6603[_0xc0d080(0x1e5)]<this['config']['transmissionBulkMaxSize']&&this[_0xc0d080(0x25c)][_0xc0d080(0x1e5)]>0x0){const _0x8bd0d4=this[_0xc0d080(0x25c)][0x0],_0x43d823=_0x8bd0d4[_0xc0d080(0x216)],_0x4508d6=(0x0,utils_1[_0xc0d080(0x245)])(_0x43d823);_0x4d344b+=_0x4508d6;if(_0x4d344b<=this[_0xc0d080(0x1f8)]['transmissionBulkMaxNetworkSizeInBytes'])_0x4a6603[_0xc0d080(0x267)](_0x8bd0d4),this[_0xc0d080(0x25c)]['shift']();else{_0x4508d6>this[_0xc0d080(0x1f8)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x4a6603[_0xc0d080(0x1e5)]===0x0&&(this[_0xc0d080(0x1f4)][_0xc0d080(0x24e)]('breakpoint\x20'+_0x8bd0d4['id']+_0xc0d080(0x209)+this[_0xc0d080(0x1f8)][_0xc0d080(0x268)]+_0xc0d080(0x1e1)),_0x4a6603[_0xc0d080(0x267)](_0x8bd0d4),this['transmissionQueue'][_0xc0d080(0x219)]());break;}}if(!_0x4a6603)return;const _0x3e37e2=_0x4a6603[_0xc0d080(0x22d)](_0x514c28=>_0x514c28['id']),_0x3bcfaf={'uri':this[_0xc0d080(0x25f)]+encodeURIComponent(_0x48a22e)+'/breakpoints','json':!![],'method':_0xc0d080(0x1fe),'body':'['+_0x4a6603[_0xc0d080(0x22d)](_0x5970d9=>_0x5970d9[_0xc0d080(0x216)])['join'](',')+']'},_0xd7acb7=this;try{this['makeRequest'](_0x3bcfaf,(_0x465fba,_0x597c73,_0x1cc937)=>{const _0x5aca4f=_0xc0d080,_0x353b67=_0x1cc937?.['status'];_0xd7acb7[_0x5aca4f(0x1f4)][_0x5aca4f(0x24e)]('Update\x20for\x20breakpoints\x20'+_0x3e37e2+'\x20finished\x20with\x20status\x20'+_0x353b67);if(_0x465fba||!_0x353b67||Math['floor'](_0x353b67/0x64)!==0x2){const _0x52cfc5=_0x353b67&&(_0x353b67>=0x1f4||_0x353b67===0x198);if(_0x52cfc5){_0xd7acb7[_0x5aca4f(0x1f4)][_0x5aca4f(0x203)](_0x5aca4f(0x24b)+_0x3e37e2+_0x5aca4f(0x1e4)+_0x353b67+_0x5aca4f(0x266)+_0x465fba);for(const _0xc66b06 of _0x4a6603){_0xc66b06[_0x5aca4f(0x24a)]<MAX_FAILED_SEND_ATTEMPTS?_0xd7acb7[_0x5aca4f(0x25c)][_0x5aca4f(0x267)]({..._0xc66b06,'number':_0xc66b06[_0x5aca4f(0x24a)]+0x1}):_0xd7acb7[_0x5aca4f(0x1f4)]['warn']('Breakpoint\x20'+_0xc66b06['id']+_0x5aca4f(0x1d9));}}else _0xd7acb7['logger'][_0x5aca4f(0x203)](_0x5aca4f(0x23f)+_0x3e37e2+_0x5aca4f(0x1e4)+_0x353b67+'\x20Error:\x20'+_0x465fba);}else _0xd7acb7['logger']['info']('Update\x20for\x20breakpoints\x20'+_0x3e37e2+_0x5aca4f(0x1e3));_0xd7acb7[_0x5aca4f(0x25c)][_0x5aca4f(0x1e5)]>0x0&&(_0xd7acb7[_0x5aca4f(0x21d)]=setTimeout(()=>_0xd7acb7[_0x5aca4f(0x227)][_0x5aca4f(0x25e)](_0xd7acb7)(_0x48a22e),0x0));},0x28);}catch(_0x4bb17f){this['logger'][_0xc0d080(0x203)](_0xc0d080(0x23f)+_0x3e37e2+_0xc0d080(0x256)+_0x4bb17f+',\x20Message:\x20'+_0x4bb17f['data']?.[_0xc0d080(0x242)]),_0xd7acb7[_0xc0d080(0x25c)]['length']>0x0&&(_0xd7acb7[_0xc0d080(0x21d)]=setTimeout(()=>_0xd7acb7[_0xc0d080(0x227)][_0xc0d080(0x25e)](_0xd7acb7)(_0x48a22e),0x0));}}async[a6_0x1d5fb2(0x211)](_0x1ad4ff){const _0x49d0e7=a6_0x1d5fb2;this['logger']['info'](_0x49d0e7(0x206));const _0x5486d2=this[_0x49d0e7(0x25f)]+encodeURIComponent(_0x1ad4ff)+_0x49d0e7(0x1f5),{error:_0x996c2e,data:_0x27a2e6}=await this[_0x49d0e7(0x20f)]({'uri':_0x5486d2,'json':!![]});if(_0x996c2e)return Promise[_0x49d0e7(0x23c)](_0x996c2e);return yaml[_0x49d0e7(0x236)](_0x27a2e6)||{};}[a6_0x1d5fb2(0x20f)](_0x50cf8c,_0x257381,_0x50b12e,_0x287947){const _0xe04757=a6_0x1d5fb2,_0x2d1f54={'Content-Type':_0x287947?_0x287947:_0xe04757(0x250),'Authorization':_0xe04757(0x20d)+this[_0xe04757(0x1f8)][_0xe04757(0x235)]},_0x38a78e=axios_1[_0xe04757(0x25d)][_0xe04757(0x23d)]['source'](),_0x2e8312=_0x50b12e?_0x50b12e*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0xe04757(0x1f4)][_0xe04757(0x24e)]('timeout\x20set\x20to\x20'+_0x2e8312);const _0x47d698=setTimeout(()=>{const _0x1b7ac6=_0xe04757;this[_0x1b7ac6(0x1f4)][_0x1b7ac6(0x203)](_0x1b7ac6(0x212)+_0x2e8312+'ms'),_0x38a78e['cancel']();},_0x2e8312),_0x384e9c={'method':_0x50cf8c[_0xe04757(0x201)],'url':_0x50cf8c[_0xe04757(0x210)],'data':_0x50cf8c['body'],'headers':_0x2d1f54,'cancelToken':_0x38a78e[_0xe04757(0x20c)]};return extend(!![],_0x384e9c,_0x50cf8c),this['axios'][_0xe04757(0x1e6)](_0x384e9c)[_0xe04757(0x22a)](_0x2c5a27=>{const _0x18201d=_0xe04757;return _0x257381?.(null,_0x2c5a27['data'],_0x2c5a27),{'error':null,'data':_0x2c5a27[_0x18201d(0x262)],'res':_0x2c5a27};})[_0xe04757(0x252)](_0x59f359=>{const _0x3afef9=_0xe04757;return _0x257381?.(_0x59f359,_0x59f359[_0x3afef9(0x240)]?.[_0x3afef9(0x262)],_0x59f359[_0x3afef9(0x240)]),{'error':_0x59f359,'data':_0x59f359[_0x3afef9(0x240)]?.['data'],'res':_0x59f359['response']};})[_0xe04757(0x232)](()=>clearTimeout(_0x47d698));}async[a6_0x1d5fb2(0x265)](_0x38161a){const _0x262aa8=a6_0x1d5fb2;this[_0x262aa8(0x1f4)][_0x262aa8(0x1d6)]('Getting\x20reductions');const _0x2062de=this[_0x262aa8(0x25f)]+encodeURIComponent(_0x38161a)+_0x262aa8(0x239),{error:_0x1ff069,data:_0x4f0fbf}=await this[_0x262aa8(0x20f)]({'uri':_0x2062de,'json':!![]});if(_0x1ff069)return Promise['reject'](_0x1ff069);return _0x4f0fbf;}}exports[a6_0x1d5fb2(0x241)]=Controller;function is2xx(_0xccdaa0){const _0x4ad63a=a6_0x1d5fb2;return Math[_0x4ad63a(0x213)](_0xccdaa0/0x64)===0x2;}function getProxyAgent(_0x9f5347,_0x323656){const _0xd4a8a5=a6_0x1d5fb2,_0x2d1e1e=_0x9f5347[_0xd4a8a5(0x1f3)];if(!_0x2d1e1e?.[_0xd4a8a5(0x231)])return undefined;if(!_0x2d1e1e[_0xd4a8a5(0x244)])return _0x323656[_0xd4a8a5(0x208)](_0xd4a8a5(0x24c)),undefined;_0x323656[_0xd4a8a5(0x1d6)](_0xd4a8a5(0x261)+_0x2d1e1e[_0xd4a8a5(0x231)]+':'+_0x2d1e1e[_0xd4a8a5(0x244)]+_0xd4a8a5(0x25a)+(_0x2d1e1e[_0xd4a8a5(0x1ea)]??''));const _0x56969f=new HttpsProxyAgent({'host':_0x2d1e1e[_0xd4a8a5(0x231)],'port':_0x2d1e1e[_0xd4a8a5(0x244)],'auth':_0x2d1e1e['username']||_0x2d1e1e['password']?(_0x2d1e1e[_0xd4a8a5(0x1ea)]??'')+':'+(_0x2d1e1e['password']??''):undefined}),_0x2b9492=_0x56969f['callback'][_0xd4a8a5(0x25e)](_0x56969f),_0x43017b=getHttpsAgentOptions(_0x9f5347,_0x323656);return _0x56969f[_0xd4a8a5(0x20e)]=(_0x42501b,_0x10e693)=>{return _0x2b9492(_0x42501b,{..._0x10e693,..._0x43017b});},_0x56969f;}function getHttpsAgentOptions(_0x192393,_0x1b56c3){const _0x413189=a6_0x1d5fb2,_0x3dc2b0={'checkServerIdentity':(_0x1f153e,_0x1440fd)=>{const _0x34f951=a6_0x15c9;if(_0x192393[_0x34f951(0x1fd)])return undefined;const _0x51623e=(0x0,crypto_1['createHash'])('sha256')['update'](_0x1440fd[_0x34f951(0x205)])[_0x34f951(0x222)]('hex');return _0x192393[_0x34f951(0x243)][_0x34f951(0x23b)](_0x51623e)?undefined:new Error(_0x34f951(0x1db));}};let _0x3a7487;if(_0x192393['caPath'])try{_0x3a7487=(0x0,fs_1['readFileSync'])(_0x192393[_0x413189(0x1f7)],_0x413189(0x1fb));}catch(_0x5622b4){_0x1b56c3[_0x413189(0x203)](_0x413189(0x1d7)+_0x192393[_0x413189(0x1f7)]+_0x413189(0x22b));}if(_0x3a7487){const _0x174160=(0x0,tls_1['createSecureContext'])(_0x3dc2b0);_0x174160[_0x413189(0x264)][_0x413189(0x217)](_0x3a7487),_0x3dc2b0[_0x413189(0x22c)]=_0x174160;}return _0x3dc2b0;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x573580=a7_0x4082;(function(_0x2eaf37,_0x20a902){const _0x5e4d87=a7_0x4082,_0x2b640a=_0x2eaf37();while(!![]){try{const _0x58f670=-parseInt(_0x5e4d87(0x157))/0x1*(parseInt(_0x5e4d87(0x153))/0x2)+parseInt(_0x5e4d87(0x150))/0x3*(parseInt(_0x5e4d87(0x16d))/0x4)+parseInt(_0x5e4d87(0x15f))/0x5+parseInt(_0x5e4d87(0x173))/0x6+-parseInt(_0x5e4d87(0x158))/0x7+parseInt(_0x5e4d87(0x164))/0x8*(parseInt(_0x5e4d87(0x175))/0x9)+-parseInt(_0x5e4d87(0x16c))/0xa*(parseInt(_0x5e4d87(0x15b))/0xb);if(_0x58f670===_0x20a902)break;else _0x2b640a['push'](_0x2b640a['shift']());}catch(_0xd13c0b){_0x2b640a['push'](_0x2b640a['shift']());}}}(a7_0x5330,0x9ad49));function a7_0x4082(_0x15032d,_0x212c63){const _0x5a5ac8=a7_0x5330();return a7_0x4082=function(_0x39fc77,_0x358ee5){_0x39fc77=_0x39fc77-0x14f;let _0x5330fa=_0x5a5ac8[_0x39fc77];return _0x5330fa;},a7_0x4082(_0x15032d,_0x212c63);}const a7_0x358ee5=(function(){let _0x5afb5e=!![];return function(_0x46354a,_0x186f55){const _0x315c3e=_0x5afb5e?function(){if(_0x186f55){const _0x419c01=_0x186f55['apply'](_0x46354a,arguments);return _0x186f55=null,_0x419c01;}}:function(){};return _0x5afb5e=![],_0x315c3e;};}()),a7_0x39fc77=a7_0x358ee5(this,function(){const _0x32ca97=a7_0x4082;return a7_0x39fc77[_0x32ca97(0x161)]()['search'](_0x32ca97(0x165))['toString']()[_0x32ca97(0x15d)](a7_0x39fc77)['search']('(((.+)+)+)+$');});function a7_0x5330(){const _0x10f747=['path','17980dezSjJ','versions','defineProperty','getPlatform','32VGJalh','8125278pIDjPb','argv','module','22rKNobS','../../client/stackdriver/status-message','constructor','__esModule','5214015GqnZnR','version','toString','node','string','208360zTlPfG','(((.+)+)+)+$','UNSPECIFIED','minorVersion_','service','createDebuggee','./createUniquifier','default','1803550vfUcHw','300324ieeYLE','./createDebuggeeMetadata','sourceContexts','serviceContext','createUniquifier','relative','1113438jodHWo','minorversion','342YOfhSQ','StatusMessage','9bwcwgB','createDebuggeeMetadata'];a7_0x5330=function(){return _0x10f747;};return a7_0x5330();}a7_0x39fc77();'use strict';Object[a7_0x573580(0x155)](exports,a7_0x573580(0x15e),{'value':!![]}),exports[a7_0x573580(0x169)]=void 0x0;const path=require(a7_0x573580(0x152)),status_message_1=require(a7_0x573580(0x15c)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require(a7_0x573580(0x16e)),createUniquifier_1=require(a7_0x573580(0x16a)),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x589bf6,_0x2a65f6,_0x145408,_0x3f1c72,_0x4ed2b4,_0x171921,_0x194ee3,_0x15722f)=>{const _0x1c2c7f=a7_0x573580,_0x4d36f1=process['cwd'](),_0x52004a=path[_0x1c2c7f(0x172)](_0x4d36f1,process[_0x1c2c7f(0x159)][0x1]),_0xe4bc6c={'main\x20script':_0x52004a,'process.title':process['title'],'node\x20version':process[_0x1c2c7f(0x154)][_0x1c2c7f(0x162)],'V8\x20version':process[_0x1c2c7f(0x154)]['v8'],'agent.name':_0x3f1c72['name'],'agent.version':_0x4ed2b4,'platform':(0x0,getPlatform_1[_0x1c2c7f(0x156)])()},_0x406485=_0x2a65f6[_0x1c2c7f(0x170)];_0x406485&&(typeof _0x406485['service']===_0x1c2c7f(0x163)&&_0x406485[_0x1c2c7f(0x168)]!==_0x1c2c7f(0x16b)&&(_0xe4bc6c[_0x1c2c7f(0x15a)]=_0x406485['service']),typeof _0x406485['version']===_0x1c2c7f(0x163)&&(_0xe4bc6c[_0x1c2c7f(0x160)]=_0x406485['version']),typeof _0x406485['minorVersion_']===_0x1c2c7f(0x163)&&(_0xe4bc6c[_0x1c2c7f(0x174)]=_0x406485[_0x1c2c7f(0x167)]));const _0x3d0bd8=(0x0,createUniquifier_1[_0x1c2c7f(0x171)])(_0x4ed2b4,_0x589bf6,_0x145408,_0xe4bc6c),_0x3e0658=_0x15722f?new status_message_1[(_0x1c2c7f(0x14f))](status_message_1['StatusMessage'][_0x1c2c7f(0x166)],_0x15722f,!![]):undefined,_0x3750ed=(0x0,createDebuggeeMetadata_1[_0x1c2c7f(0x151)])(_0x2a65f6,_0x171921),_0x10a599={'uniquifier':_0x3d0bd8,'agentVersion':_0x4ed2b4,'labels':{'metadata':JSON['stringify'](_0x3750ed)},'statusMessage':_0x3e0658,'packageInfo':_0x3f1c72,..._0x194ee3};return _0x145408&&(_0x10a599[_0x1c2c7f(0x16f)]=[_0x145408]),new debuggee_1['Debuggee'](_0x10a599);};exports[a7_0x573580(0x169)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0xe01f96=a8_0x32d6;(function(_0x585b92,_0xbdd12c){const _0x36869c=a8_0x32d6,_0x4993b2=_0x585b92();while(!![]){try{const _0x3df0e1=-parseInt(_0x36869c(0x1b0))/0x1*(-parseInt(_0x36869c(0x1b6))/0x2)+-parseInt(_0x36869c(0x1ae))/0x3*(parseInt(_0x36869c(0x1a8))/0x4)+-parseInt(_0x36869c(0x1b7))/0x5*(-parseInt(_0x36869c(0x1b8))/0x6)+parseInt(_0x36869c(0x1a3))/0x7+-parseInt(_0x36869c(0x1bb))/0x8*(parseInt(_0x36869c(0x1a5))/0x9)+parseInt(_0x36869c(0x1a6))/0xa+-parseInt(_0x36869c(0x1a7))/0xb*(parseInt(_0x36869c(0x1b2))/0xc);if(_0x3df0e1===_0xbdd12c)break;else _0x4993b2['push'](_0x4993b2['shift']());}catch(_0x1f3486){_0x4993b2['push'](_0x4993b2['shift']());}}}(a8_0x1e28,0x93b53));const a8_0x12ac4b=(function(){let _0x29cadd=!![];return function(_0x2e0265,_0x4811d2){const _0x1bf866=_0x29cadd?function(){const _0x23d101=a8_0x32d6;if(_0x4811d2){const _0x186c8e=_0x4811d2[_0x23d101(0x1b1)](_0x2e0265,arguments);return _0x4811d2=null,_0x186c8e;}}:function(){};return _0x29cadd=![],_0x1bf866;};}()),a8_0x148347=a8_0x12ac4b(this,function(){const _0x7deeb6=a8_0x32d6;return a8_0x148347[_0x7deeb6(0x1b3)]()[_0x7deeb6(0x1a2)](_0x7deeb6(0x1bc))['toString']()['constructor'](a8_0x148347)[_0x7deeb6(0x1a2)](_0x7deeb6(0x1bc));});a8_0x148347();function a8_0x32d6(_0x5a55fb,_0x4b371d){const _0x1ccd8c=a8_0x1e28();return a8_0x32d6=function(_0x148347,_0x12ac4b){_0x148347=_0x148347-0x1a0;let _0x1e285f=_0x1ccd8c[_0x148347];return _0x1e285f;},a8_0x32d6(_0x5a55fb,_0x4b371d);}'use strict';Object[a8_0xe01f96(0x1a1)](exports,a8_0xe01f96(0x1ad),{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;function a8_0x1e28(){const _0x4e43af=['7602683aKJzQQ','65308lNVpiB','warn','tags','Failed\x20to\x20read\x20metadata\x20file\x20','registration','__esModule','177YLjhRX','metadata','1SsJYBD','apply','12zsGjnJ','toString','filename','parse','1973018gtXbwI','12425BzXeyv','1518BtkqAm','string','readFileSync','320008wYufxp','(((.+)+)+)+$','createDebuggeeMetadata','defineProperty','search','3663030QGyFYZ','map','99RQMCsc','5609640ONFPwm'];a8_0x1e28=function(){return _0x4e43af;};return a8_0x1e28();}const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x3ccf08,_0x418eda)=>{const _0x2cf11a=a8_0xe01f96;let _0xbbb9c1={'registration':{}};if(_0x3ccf08[_0x2cf11a(0x1af)]?.[_0x2cf11a(0x1b4)])try{_0xbbb9c1=JSON[_0x2cf11a(0x1b5)](fs[_0x2cf11a(0x1ba)](_0x3ccf08[_0x2cf11a(0x1af)]['filename'],'utf-8'));}catch(_0x3e5492){_0x418eda[_0x2cf11a(0x1a9)](_0x2cf11a(0x1ab)+_0x3ccf08[_0x2cf11a(0x1af)][_0x2cf11a(0x1b4)],_0x3e5492);}return _0xbbb9c1[_0x2cf11a(0x1ac)]=extend(!![],{},_0x3ccf08[_0x2cf11a(0x1af)]?.['registration'],_0xbbb9c1[_0x2cf11a(0x1ac)]),_0xbbb9c1[_0x2cf11a(0x1ac)]?.[_0x2cf11a(0x1aa)]&&(_0xbbb9c1[_0x2cf11a(0x1ac)][_0x2cf11a(0x1aa)]=_0xbbb9c1['registration']['tags'][_0x2cf11a(0x1a4)](_0x131dd2=>typeof _0x131dd2===_0x2cf11a(0x1b9)?{'name':_0x131dd2}:_0x131dd2)),_0xbbb9c1;};exports[a8_0xe01f96(0x1a0)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x22dacf=a9_0x1313;(function(_0x57a8e9,_0x59b279){const _0x3bff15=a9_0x1313,_0x54a7a2=_0x57a8e9();while(!![]){try{const _0x1c6ec4=-parseInt(_0x3bff15(0x165))/0x1+parseInt(_0x3bff15(0x15a))/0x2+parseInt(_0x3bff15(0x15d))/0x3*(parseInt(_0x3bff15(0x154))/0x4)+-parseInt(_0x3bff15(0x163))/0x5+parseInt(_0x3bff15(0x15e))/0x6*(parseInt(_0x3bff15(0x15c))/0x7)+parseInt(_0x3bff15(0x164))/0x8*(-parseInt(_0x3bff15(0x166))/0x9)+parseInt(_0x3bff15(0x152))/0xa;if(_0x1c6ec4===_0x59b279)break;else _0x54a7a2['push'](_0x54a7a2['shift']());}catch(_0x14bf98){_0x54a7a2['push'](_0x54a7a2['shift']());}}}(a9_0x32ba,0xee7e9));function a9_0x32ba(){const _0xff6cb6=['64benbPa','constructor','defineProperty','update','__esModule','(((.+)+)+)+$','3627420eoPmeF','search','17899UeFiHB','243003GSLMMi','6pUKtVm','digest','stringify','apply','crypto','4607055aVFgNz','48jBrkAP','1539699kZlbYJ','1763235prtjvH','toString','createUniquifier','15011900naqxxg','sha1'];a9_0x32ba=function(){return _0xff6cb6;};return a9_0x32ba();}const a9_0x299ac2=(function(){let _0x3f20f3=!![];return function(_0x5f3261,_0x2188c3){const _0x2bd197=_0x3f20f3?function(){const _0x26c220=a9_0x1313;if(_0x2188c3){const _0x3b3b7d=_0x2188c3[_0x26c220(0x161)](_0x5f3261,arguments);return _0x2188c3=null,_0x3b3b7d;}}:function(){};return _0x3f20f3=![],_0x2bd197;};}()),a9_0x393cdd=a9_0x299ac2(this,function(){const _0x575b73=a9_0x1313;return a9_0x393cdd[_0x575b73(0x167)]()[_0x575b73(0x15b)]('(((.+)+)+)+$')['toString']()[_0x575b73(0x155)](a9_0x393cdd)[_0x575b73(0x15b)](_0x575b73(0x159));});function a9_0x1313(_0x7895ff,_0x22c426){const _0x53d277=a9_0x32ba();return a9_0x1313=function(_0x393cdd,_0x299ac2){_0x393cdd=_0x393cdd-0x151;let _0x32bad6=_0x53d277[_0x393cdd];return _0x32bad6;},a9_0x1313(_0x7895ff,_0x22c426);}a9_0x393cdd();'use strict';Object[a9_0x22dacf(0x156)](exports,a9_0x22dacf(0x158),{'value':!![]}),exports[a9_0x22dacf(0x151)]=void 0x0;const crypto=require(a9_0x22dacf(0x162)),createUniquifier=(_0x4494a7,_0x25dd43,_0x5454c5,_0x1a34b8)=>{const _0x5e93d9=a9_0x22dacf,_0x7a4b7=_0x4494a7+_0x25dd43+JSON[_0x5e93d9(0x160)](_0x5454c5)+JSON[_0x5e93d9(0x160)](_0x1a34b8);return crypto['createHash'](_0x5e93d9(0x153))[_0x5e93d9(0x157)](_0x7a4b7)[_0x5e93d9(0x15f)]('hex');};exports[a9_0x22dacf(0x151)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x222fcf=a10_0x214e;(function(_0x136b15,_0x286df9){const _0x3ab0da=a10_0x214e,_0x5c64fe=_0x136b15();while(!![]){try{const _0xfcedc6=-parseInt(_0x3ab0da(0x91))/0x1*(parseInt(_0x3ab0da(0x93))/0x2)+parseInt(_0x3ab0da(0x8e))/0x3*(parseInt(_0x3ab0da(0x87))/0x4)+parseInt(_0x3ab0da(0x92))/0x5*(parseInt(_0x3ab0da(0x86))/0x6)+-parseInt(_0x3ab0da(0x7e))/0x7+parseInt(_0x3ab0da(0x8f))/0x8*(-parseInt(_0x3ab0da(0x8c))/0x9)+parseInt(_0x3ab0da(0x88))/0xa+parseInt(_0x3ab0da(0x8d))/0xb*(parseInt(_0x3ab0da(0x83))/0xc);if(_0xfcedc6===_0x286df9)break;else _0x5c64fe['push'](_0x5c64fe['shift']());}catch(_0x5e8f40){_0x5c64fe['push'](_0x5c64fe['shift']());}}}(a10_0x3561,0xc103f));function a10_0x214e(_0x5a3fb7,_0x1eaf16){const _0x5946d3=a10_0x3561();return a10_0x214e=function(_0x307d28,_0xa01bba){_0x307d28=_0x307d28-0x7e;let _0x3561cf=_0x5946d3[_0x307d28];return _0x3561cf;},a10_0x214e(_0x5a3fb7,_0x1eaf16);}const a10_0xa01bba=(function(){let _0x5df3d7=!![];return function(_0x17f815,_0x3d39ed){const _0x1462fa=_0x5df3d7?function(){const _0x374478=a10_0x214e;if(_0x3d39ed){const _0x14cf40=_0x3d39ed[_0x374478(0x8b)](_0x17f815,arguments);return _0x3d39ed=null,_0x14cf40;}}:function(){};return _0x5df3d7=![],_0x1462fa;};}()),a10_0x307d28=a10_0xa01bba(this,function(){const _0x56028a=a10_0x214e;return a10_0x307d28[_0x56028a(0x7f)]()[_0x56028a(0x80)](_0x56028a(0x81))[_0x56028a(0x7f)]()[_0x56028a(0x84)](a10_0x307d28)['search'](_0x56028a(0x81));});a10_0x307d28();'use strict';Object[a10_0x222fcf(0x90)](exports,'__esModule',{'value':!![]}),exports[a10_0x222fcf(0x85)]=void 0x0;const delimit=(_0x8bf8a,_0x331741)=>{const _0x3304ab=a10_0x222fcf,_0x5d442b=_0x8bf8a[_0x3304ab(0x89)](_0x331741),_0x212a5d=[];_0x212a5d[_0x3304ab(0x82)](_0x5d442b[0x0]);for(let _0x848354=0x1;_0x848354<_0x5d442b[_0x3304ab(0x8a)];_0x848354++){_0x212a5d['push']({'v':_0x331741},_0x5d442b[_0x848354]);}return _0x212a5d;};function a10_0x3561(){const _0x28ff35=['push','24112524ynNLzN','constructor','delimit','6eyoTET','731428DWQhBh','6633720XuOIBQ','split','length','apply','495MJEAtv','11DJvhax','3eQANQd','179368bWNyMZ','defineProperty','54452UAVVAH','1007405ipuMNh','10OXgoOP','5327567NtYkna','toString','search','(((.+)+)+)+$'];a10_0x3561=function(){return _0x28ff35;};return a10_0x3561();}exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x6976ce=a11_0x5d3a;(function(_0x5817a2,_0x101f0f){const _0x253e54=a11_0x5d3a,_0x57ffeb=_0x5817a2();while(!![]){try{const _0x2cd703=-parseInt(_0x253e54(0x1d8))/0x1+parseInt(_0x253e54(0x1e6))/0x2*(parseInt(_0x253e54(0x1da))/0x3)+-parseInt(_0x253e54(0x1dc))/0x4*(parseInt(_0x253e54(0x1db))/0x5)+parseInt(_0x253e54(0x1d9))/0x6+parseInt(_0x253e54(0x1d3))/0x7+-parseInt(_0x253e54(0x1de))/0x8+parseInt(_0x253e54(0x1dd))/0x9;if(_0x2cd703===_0x101f0f)break;else _0x57ffeb['push'](_0x57ffeb['shift']());}catch(_0x21f93c){_0x57ffeb['push'](_0x57ffeb['shift']());}}}(a11_0x1278,0x8e855));const a11_0x5de45d=(function(){let _0x20dbd3=!![];return function(_0x2a7076,_0x4f29a0){const _0x550b44=_0x20dbd3?function(){const _0x189e18=a11_0x5d3a;if(_0x4f29a0){const _0x5981b0=_0x4f29a0[_0x189e18(0x1e1)](_0x2a7076,arguments);return _0x4f29a0=null,_0x5981b0;}}:function(){};return _0x20dbd3=![],_0x550b44;};}()),a11_0x3969d5=a11_0x5de45d(this,function(){const _0x3527ce=a11_0x5d3a;return a11_0x3969d5['toString']()[_0x3527ce(0x1d7)]('(((.+)+)+)+$')[_0x3527ce(0x1d2)]()[_0x3527ce(0x1d5)](a11_0x3969d5)['search'](_0x3527ce(0x1e5));});function a11_0x5d3a(_0x54f0ff,_0x10f42f){const _0x387994=a11_0x1278();return a11_0x5d3a=function(_0x3969d5,_0x5de45d){_0x3969d5=_0x3969d5-0x1d2;let _0x127852=_0x387994[_0x3969d5];return _0x127852;},a11_0x5d3a(_0x54f0ff,_0x10f42f);}a11_0x3969d5();'use strict';Object[a11_0x6976ce(0x1d4)](exports,a11_0x6976ce(0x1e2),{'value':!![]}),exports[a11_0x6976ce(0x1e0)]=void 0x0;function a11_0x1278(){const _0xa9722e=['join','tokenize','(((.+)+)+)+$','274dlVYyi','toString','4876130mSFRJe','defineProperty','constructor','length','search','1077484WZhvef','4152876fpkXKK','8709wzpzwG','8380nqGusO','2128cuPNEA','14592231xydPYh','6839400vVnBCO','./tokenize','format','apply','__esModule'];a11_0x1278=function(){return _0xa9722e;};return a11_0x1278();}const tokenize_1=require(a11_0x6976ce(0x1df)),format=(_0x27d031,_0x48ccfd)=>{const _0x30f6fc=a11_0x6976ce,_0x3d54cc=(0x0,tokenize_1[_0x30f6fc(0x1e4)])(_0x27d031,_0x48ccfd['length']);for(let _0x9b67c5=0x0;_0x9b67c5<_0x3d54cc[_0x30f6fc(0x1d6)];_0x9b67c5++){if(!_0x3d54cc[_0x9b67c5]['v'])continue;if(_0x3d54cc[_0x9b67c5]['v']==='$$'){_0x3d54cc[_0x9b67c5]='$';continue;}for(let _0x403584=0x0;_0x403584<_0x48ccfd['length'];_0x403584++){if(_0x3d54cc[_0x9b67c5]['v']==='$'+_0x403584){let _0x2910f6=_0x48ccfd[_0x403584];/^".*"$/['test'](_0x2910f6)&&(_0x2910f6=_0x2910f6['substring'](0x1,_0x2910f6[_0x30f6fc(0x1d6)]-0x1));_0x3d54cc[_0x9b67c5]=_0x2910f6;break;}}}return _0x3d54cc[_0x30f6fc(0x1e3)]('');};exports[a11_0x6976ce(0x1e0)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a12_0x2ade1a=a12_0x5cf4;(function(_0xad44a1,_0x11295d){const _0x456b1a=a12_0x5cf4,_0x2a7942=_0xad44a1();while(!![]){try{const _0x4982ad=parseInt(_0x456b1a(0x164))/0x1*(parseInt(_0x456b1a(0x152))/0x2)+parseInt(_0x456b1a(0x166))/0x3*(-parseInt(_0x456b1a(0x169))/0x4)+parseInt(_0x456b1a(0x15e))/0x5+-parseInt(_0x456b1a(0x14d))/0x6*(-parseInt(_0x456b1a(0x13d))/0x7)+parseInt(_0x456b1a(0x161))/0x8*(parseInt(_0x456b1a(0x148))/0x9)+-parseInt(_0x456b1a(0x159))/0xa+-parseInt(_0x456b1a(0x167))/0xb;if(_0x4982ad===_0x11295d)break;else _0x2a7942['push'](_0x2a7942['shift']());}catch(_0x56237d){_0x2a7942['push'](_0x2a7942['shift']());}}}(a12_0x38f8,0xb119d));const a12_0x5bc225=(function(){let _0x5ec1bf=!![];return function(_0x1bdd6d,_0x2e2411){const _0xe16fad=_0x5ec1bf?function(){const _0x512fd0=a12_0x5cf4;if(_0x2e2411){const _0x500cd2=_0x2e2411[_0x512fd0(0x142)](_0x1bdd6d,arguments);return _0x2e2411=null,_0x500cd2;}}:function(){};return _0x5ec1bf=![],_0xe16fad;};}()),a12_0x591a25=a12_0x5bc225(this,function(){const _0x2bab52=a12_0x5cf4;return a12_0x591a25[_0x2bab52(0x141)]()[_0x2bab52(0x14b)](_0x2bab52(0x156))[_0x2bab52(0x141)]()[_0x2bab52(0x14e)](a12_0x591a25)[_0x2bab52(0x14b)](_0x2bab52(0x156));});function a12_0x5cf4(_0x342351,_0x274778){const _0x401e93=a12_0x38f8();return a12_0x5cf4=function(_0x591a25,_0x5bc225){_0x591a25=_0x591a25-0x139;let _0x38f8e3=_0x401e93[_0x591a25];return _0x38f8e3;},a12_0x5cf4(_0x342351,_0x274778);}a12_0x591a25();'use strict';Object[a12_0x2ade1a(0x14f)](exports,a12_0x2ade1a(0x168),{'value':!![]}),exports[a12_0x2ade1a(0x149)]=void 0x0;const properties=require(a12_0x2ade1a(0x163)),fs=require('fs'),getAgentConfig=_0x416517=>{const _0x985bc2=a12_0x2ade1a;if(fs[_0x985bc2(0x13f)](_0x416517)){const _0x1a9988=properties['of'](_0x416517);return{'lightrunSecret':_0x1a9988['getFirst'](_0x985bc2(0x150)),'apiEndpoint':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x165)),'breakpointExpirationSec':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x16b)),'transmissionBulkMaxSize':_0x1a9988['getInt']('transmission_bulk_max_size'),'noCheckCertificate':_0x1a9988[_0x985bc2(0x153)](_0x985bc2(0x154)),'pinnedCerts':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x140))?.[_0x985bc2(0x145)](','),'metadata':{'filename':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x13b))},'capture':{'maxFrames':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x144)),'maxDataSize':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x15d)),'maxSnapshotBufferSize':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x15d)),'maxVariableSize':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x160)),'maxWatchListVariableSize':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x16a))},'agentLog':{'collectCooldownMs':_0x1a9988[_0x985bc2(0x155)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x1a9988[_0x985bc2(0x13c)]('agent_log_target_dir'),'agentLogLevel':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x157)),'agentLogMaxFileCount':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x143)),'agentLogMaxFileSizeMb':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x15b)),'maxLogFileBytes':_0x1a9988[_0x985bc2(0x155)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x1a9988['getBoolean'](_0x985bc2(0x146)),'maxCPUCost':_0x1a9988[_0x985bc2(0x162)](_0x985bc2(0x13e)),'maxConditionCost':_0x1a9988[_0x985bc2(0x162)](_0x985bc2(0x15a)),'maxDynamicLogRate':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x15c)),'maxDynamicLogByteRate':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x151)),'quotaRecoverySeconds':_0x1a9988[_0x985bc2(0x155)]('dynamic_log_quota_recovery_ms')&&_0x1a9988[_0x985bc2(0x155)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x1a9988[_0x985bc2(0x153)](_0x985bc2(0x14a)),'extraPaths':_0x1a9988[_0x985bc2(0x13c)]('extra_paths')?.[_0x985bc2(0x145)](',')?.[_0x985bc2(0x15f)](_0x4c6488=>_0x4c6488[_0x985bc2(0x158)]()),'proxy':{'host':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x147)),'port':_0x1a9988[_0x985bc2(0x155)](_0x985bc2(0x13a)),'username':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x14c)),'password':_0x1a9988[_0x985bc2(0x13c)](_0x985bc2(0x139))}};}return;};exports[a12_0x2ade1a(0x149)]=getAgentConfig;function a12_0x38f8(){const _0xd7f528=['search','proxy_username','3282570rZzJZG','constructor','defineProperty','com.lightrun.secret','max_dynamic_log_bytes_rate','1322014tHtObw','getBoolean','noCheckCertificate','getInt','(((.+)+)+)+$','agent_log_level','trim','6073100pjIjtn','max_condition_cost','agent_log_max_file_size_mb','max_dynamic_log_rate','max_snapshot_buffer_size','2672590PwnFHq','map','max_variable_size','7016Dswsce','getFloat','java-properties','1VzkrIr','apiEndpoint','9GJovWs','11080421gcLuvy','__esModule','7756ePgPvw','max_watchlist_variable_size','breakpoint_expiration_sec','proxy_password','proxy_port','agent_regmetadata_file','getFirst','14XKYGSs','max_log_cpu_cost','existsSync','pinned_certs','toString','apply','agent_log_max_file_count','max_snapshot_frame_count','split','ignore_quota','proxy_host','576xIQfIn','getAgentConfig','fetch_breakpoints_once'];a12_0x38f8=function(){return _0xd7f528;};return a12_0x38f8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x183b82=a13_0x2f23;function a13_0x3b21(){const _0x309e1b=['4sBiVoB','(((.+)+)+)+$','getPlatform','Platforms','DEFAULT','toString','62128DfrVLE','3781244PcgfGv','apply','8248824IXtVqq','constructor','605OfSqgt','12036ATNinL','168ftndWW','33yTbBiV','240611PuoAeN','110139xQGLvw','9JEkgul','1591110SQtizr','default','__esModule','search','env','defineProperty'];a13_0x3b21=function(){return _0x309e1b;};return a13_0x3b21();}(function(_0x1e1bbd,_0x48a2a9){const _0x3c4722=a13_0x2f23,_0x367aee=_0x1e1bbd();while(!![]){try{const _0x48ccf1=-parseInt(_0x3c4722(0xf7))/0x1+-parseInt(_0x3c4722(0x109))/0x2*(-parseInt(_0x3c4722(0x101))/0x3)+-parseInt(_0x3c4722(0xf8))/0x4+-parseInt(_0x3c4722(0xfc))/0x5*(-parseInt(_0x3c4722(0xfd))/0x6)+-parseInt(_0x3c4722(0x100))/0x7*(parseInt(_0x3c4722(0xfe))/0x8)+parseInt(_0x3c4722(0x102))/0x9*(-parseInt(_0x3c4722(0x103))/0xa)+parseInt(_0x3c4722(0xff))/0xb*(parseInt(_0x3c4722(0xfa))/0xc);if(_0x48ccf1===_0x48a2a9)break;else _0x367aee['push'](_0x367aee['shift']());}catch(_0x5aed9e){_0x367aee['push'](_0x367aee['shift']());}}}(a13_0x3b21,0x779f7));function a13_0x2f23(_0x3dcdc4,_0x468070){const _0x59fadb=a13_0x3b21();return a13_0x2f23=function(_0x4b9242,_0x2c42a3){_0x4b9242=_0x4b9242-0xf6;let _0x3b216e=_0x59fadb[_0x4b9242];return _0x3b216e;},a13_0x2f23(_0x3dcdc4,_0x468070);}Object[a13_0x183b82(0x108)](exports,a13_0x183b82(0x105),{'value':!![]}),exports[a13_0x183b82(0x10b)]=exports[a13_0x183b82(0x10c)]=void 0x0;var Platforms;(function(_0x564efe){const _0x1abc83=a13_0x183b82,_0x5ed4f0=(function(){let _0xc98459=!![];return function(_0x2cb23c,_0x24048b){const _0xa0a666=_0xc98459?function(){const _0x577cfa=a13_0x2f23;if(_0x24048b){const _0x36f695=_0x24048b[_0x577cfa(0xf9)](_0x2cb23c,arguments);return _0x24048b=null,_0x36f695;}}:function(){};return _0xc98459=![],_0xa0a666;};}()),_0x123a85=_0x5ed4f0(this,function(){const _0x394d89=a13_0x2f23;return _0x123a85[_0x394d89(0xf6)]()['search'](_0x394d89(0x10a))[_0x394d89(0xf6)]()[_0x394d89(0xfb)](_0x123a85)[_0x394d89(0x106)](_0x394d89(0x10a));});_0x123a85(),_0x564efe['CLOUD_FUNCTION']='cloud_function',_0x564efe['DEFAULT']=_0x1abc83(0x104);}(Platforms||(exports[a13_0x183b82(0x10c)]=Platforms={})));const getPlatform=()=>{const _0x23607b=a13_0x183b82,{FUNCTION_NAME:_0x3786ff,FUNCTION_TARGET:_0x20dcbd}=process[_0x23607b(0x107)];if(_0x3786ff||_0x20dcbd)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x23607b(0x10d)];};exports[a13_0x183b82(0x10b)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a14_0x2d14(_0x5e059b,_0x851e73){const _0x5324a5=a14_0xaadb();return a14_0x2d14=function(_0x4b59d7,_0x4273e5){_0x4b59d7=_0x4b59d7-0x79;let _0xaadb77=_0x5324a5[_0x4b59d7];return _0xaadb77;},a14_0x2d14(_0x5e059b,_0x851e73);}const a14_0x2f9489=a14_0x2d14;(function(_0x43f8cc,_0x90c658){const _0x5b9b62=a14_0x2d14,_0x3e4838=_0x43f8cc();while(!![]){try{const _0x5f5b0e=-parseInt(_0x5b9b62(0x82))/0x1+parseInt(_0x5b9b62(0x88))/0x2*(-parseInt(_0x5b9b62(0x7f))/0x3)+parseInt(_0x5b9b62(0x7a))/0x4+-parseInt(_0x5b9b62(0x7e))/0x5+parseInt(_0x5b9b62(0x86))/0x6+-parseInt(_0x5b9b62(0x79))/0x7*(parseInt(_0x5b9b62(0x7b))/0x8)+-parseInt(_0x5b9b62(0x89))/0x9*(-parseInt(_0x5b9b62(0x85))/0xa);if(_0x5f5b0e===_0x90c658)break;else _0x3e4838['push'](_0x3e4838['shift']());}catch(_0x43cd85){_0x3e4838['push'](_0x3e4838['shift']());}}}(a14_0xaadb,0x3a6ef));const a14_0x4273e5=(function(){let _0x244991=!![];return function(_0x3096ce,_0x1c0de3){const _0x294e8e=_0x244991?function(){if(_0x1c0de3){const _0x291ab3=_0x1c0de3['apply'](_0x3096ce,arguments);return _0x1c0de3=null,_0x291ab3;}}:function(){};return _0x244991=![],_0x294e8e;};}()),a14_0x4b59d7=a14_0x4273e5(this,function(){const _0x5e0a9f=a14_0x2d14;return a14_0x4b59d7[_0x5e0a9f(0x83)]()['search'](_0x5e0a9f(0x84))[_0x5e0a9f(0x83)]()[_0x5e0a9f(0x7c)](a14_0x4b59d7)[_0x5e0a9f(0x81)](_0x5e0a9f(0x84));});a14_0x4b59d7();'use strict';Object[a14_0x2f9489(0x87)](exports,a14_0x2f9489(0x7d),{'value':!![]}),exports['mapSubtract']=void 0x0;const mapSubtract=(_0xa0ccb3,_0x171980)=>{const _0x3639b6=[];for(const _0x1dfb55 in _0xa0ccb3){!_0x171980[_0x1dfb55]&&_0x3639b6['push'](_0xa0ccb3[_0x1dfb55]);}return _0x3639b6;};exports[a14_0x2f9489(0x80)]=mapSubtract;function a14_0xaadb(){const _0x40e3f7=['472722MWFXlr','5470398WgySnW','912569xPogWK','1627240AhOzCQ','16XRhJjo','constructor','__esModule','2058900uFyrtZ','3GTsdum','mapSubtract','search','220342vpAtMK','toString','(((.+)+)+)+$','10iesMDR','2123568SxPwDS','defineProperty'];a14_0xaadb=function(){return _0x40e3f7;};return a14_0xaadb();}
|