lightrun 1.53.0 → 1.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/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
|
-
function
|
|
1
|
+
function a0_0x60e4(_0x69bbb,_0x49a14c){const _0x348a40=a0_0x193e();return a0_0x60e4=function(_0x57ae47,_0xdc34b){_0x57ae47=_0x57ae47-0x84;let _0x193e58=_0x348a40[_0x57ae47];return _0x193e58;},a0_0x60e4(_0x69bbb,_0x49a14c);}const a0_0x1a2b8a=a0_0x60e4;(function(_0x4d7ada,_0x3b7b08){const _0x51573f=a0_0x60e4,_0x265489=_0x4d7ada();while(!![]){try{const _0x11d0cd=parseInt(_0x51573f(0x8e))/0x1*(parseInt(_0x51573f(0xa2))/0x2)+-parseInt(_0x51573f(0x9f))/0x3+-parseInt(_0x51573f(0xa7))/0x4+parseInt(_0x51573f(0xa5))/0x5+parseInt(_0x51573f(0x92))/0x6+parseInt(_0x51573f(0x98))/0x7+-parseInt(_0x51573f(0x94))/0x8;if(_0x11d0cd===_0x3b7b08)break;else _0x265489['push'](_0x265489['shift']());}catch(_0xaf878e){_0x265489['push'](_0x265489['shift']());}}}(a0_0x193e,0xc9144));const a0_0xdc34b=(function(){let _0x9c0300=!![];return function(_0x3b73d6,_0x3ab166){const _0x4fd379=_0x9c0300?function(){const _0x35268a=a0_0x60e4;if(_0x3ab166){const _0x23d2d3=_0x3ab166[_0x35268a(0x9c)](_0x3b73d6,arguments);return _0x3ab166=null,_0x23d2d3;}}:function(){};return _0x9c0300=![],_0x4fd379;};}()),a0_0x57ae47=a0_0xdc34b(this,function(){const _0x430554=a0_0x60e4;return a0_0x57ae47[_0x430554(0x9b)]()[_0x430554(0x88)](_0x430554(0x90))[_0x430554(0x9b)]()[_0x430554(0x93)](a0_0x57ae47)[_0x430554(0x88)](_0x430554(0x90));});a0_0x57ae47();'use strict';function a0_0x193e(){const _0x3fb7c4=['getHours','process','winston-daily-rotate-file','logger','search','pid','padStart','.%DATE%','debug','getSeconds','1xhQKGj','defineProperty','(((.+)+)+)+$','json','8057382iwBLBm','constructor','4060064NtXWRc','default','error','warn','6378736VRPxWI','lightrun_nodejs_agent.','transports','toString','apply','winston','createLogger','3538920HHQInM','info','AGENT_LOG_FILE','2840198NppoJv','getMinutes','.log','1111285LjiqJw','getMonth','5542932ewAnOl'];a0_0x193e=function(){return _0x3fb7c4;};return a0_0x193e();}Object[a0_0x1a2b8a(0x8f)](exports,'__esModule',{'value':!![]});const winston_1=require(a0_0x1a2b8a(0x9d)),DailyRotateFile=require(a0_0x1a2b8a(0x86)),process_1=require(a0_0x1a2b8a(0x85)),{combine,printf,timestamp}=winston_1['format'],{Console}=winston_1[a0_0x1a2b8a(0x9a)],now=new Date();function getLoggerTransport(_0x3c7747,_0x37b70d,_0x3b8aa5){const _0x3b8391=a0_0x1a2b8a;if(_0x3c7747)return new DailyRotateFile({'dirname':_0x3c7747,'filename':AgentLogger[_0x3b8391(0xa1)],'datePattern':now['getFullYear']()[_0x3b8391(0x9b)]()+now[_0x3b8391(0xa6)]()['toString']()[_0x3b8391(0x8a)](0x2,'0')+now['getDate']()[_0x3b8391(0x9b)]()[_0x3b8391(0x8a)](0x2,'0')+'-'+now[_0x3b8391(0x84)]()[_0x3b8391(0x9b)]()[_0x3b8391(0x8a)](0x2,'0')+now[_0x3b8391(0xa3)]()['toString']()[_0x3b8391(0x8a)](0x2,'0')+now[_0x3b8391(0x8d)]()[_0x3b8391(0x9b)]()[_0x3b8391(0x8a)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x3b8391(0xa1)],'maxSize':_0x37b70d+'m','maxFiles':_0x3b8aa5,'extension':_0x3b8391(0xa4)});return new Console();}class AgentLogger{constructor(_0x31a963,_0x2ba4c6,_0xbc9436,_0x20f620,_0x2cec73){const _0x369434=a0_0x1a2b8a;this[_0x369434(0x87)]=(0x0,winston_1[_0x369434(0x9e)])({'level':_0x20f620,'transports':[getLoggerTransport(_0x31a963,_0x2ba4c6,_0xbc9436),new Console({'level':_0x2cec73,'stderrLevels':['debug',_0x369434(0xa0),'warn',_0x369434(0x96)]})],'format':combine(timestamp(),printf(({level:_0xffee57,message:_0x36de5f,timestamp:_0x25fbfe})=>{return _0x25fbfe+'\x20['+_0xffee57['toUpperCase']()+']\x20-\x20'+_0x36de5f;}),winston_1['format'][_0x369434(0x91)]())});}static[a0_0x1a2b8a(0x9e)](_0x202f7f,_0x154240,_0x31039f,_0x4812af,_0x94b93e){return new AgentLogger(_0x202f7f,_0x154240,_0x31039f,_0x4812af,_0x94b93e);}['debug'](..._0x540f5e){const _0x80734e=a0_0x1a2b8a;this[_0x80734e(0x87)][_0x80734e(0x8c)](_0x540f5e);}[a0_0x1a2b8a(0xa0)](..._0x50cc3c){const _0x5cdb3b=a0_0x1a2b8a;this[_0x5cdb3b(0x87)]['info'](_0x50cc3c);}[a0_0x1a2b8a(0x97)](..._0x11b491){const _0x14933f=a0_0x1a2b8a;this['logger'][_0x14933f(0x97)](_0x11b491);}[a0_0x1a2b8a(0x96)](..._0x3c5431){const _0x4b9d82=a0_0x1a2b8a;this[_0x4b9d82(0x87)][_0x4b9d82(0x96)](_0x3c5431);}}AgentLogger['AGENT_LOG_FILE']=a0_0x1a2b8a(0x99)+process_1[a0_0x1a2b8a(0x89)]+a0_0x1a2b8a(0x8b),exports[a0_0x1a2b8a(0x95)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x5e49bf=a1_0x2f58;(function(_0x2f6e8a,_0x308cc5){const _0x45f205=a1_0x2f58,_0x17a9ba=_0x2f6e8a();while(!![]){try{const _0x378562=-parseInt(_0x45f205(0xa3))/0x1+-parseInt(_0x45f205(0xae))/0x2+parseInt(_0x45f205(0xab))/0x3*(parseInt(_0x45f205(0xb5))/0x4)+parseInt(_0x45f205(0xb3))/0x5*(parseInt(_0x45f205(0xa2))/0x6)+-parseInt(_0x45f205(0xa5))/0x7*(parseInt(_0x45f205(0xb0))/0x8)+-parseInt(_0x45f205(0xa8))/0x9*(-parseInt(_0x45f205(0xb1))/0xa)+parseInt(_0x45f205(0xb9))/0xb*(parseInt(_0x45f205(0xb4))/0xc);if(_0x378562===_0x308cc5)break;else _0x17a9ba['push'](_0x17a9ba['shift']());}catch(_0x1ab07b){_0x17a9ba['push'](_0x17a9ba['shift']());}}}(a1_0x334e,0x8f337));const a1_0x5715ec=(function(){let _0x34affe=!![];return function(_0x3922c8,_0xb6c218){const _0x498a79=_0x34affe?function(){const _0x4f6e55=a1_0x2f58;if(_0xb6c218){const _0x4d9757=_0xb6c218[_0x4f6e55(0xb6)](_0x3922c8,arguments);return _0xb6c218=null,_0x4d9757;}}:function(){};return _0x34affe=![],_0x498a79;};}()),a1_0x4f53a9=a1_0x5715ec(this,function(){const _0x17ac8f=a1_0x2f58;return a1_0x4f53a9[_0x17ac8f(0xaf)]()['search'](_0x17ac8f(0xbb))[_0x17ac8f(0xaf)]()[_0x17ac8f(0xa4)](a1_0x4f53a9)[_0x17ac8f(0xb2)]('(((.+)+)+)+$');});a1_0x4f53a9();'use strict';Object[a1_0x5e49bf(0xa7)](exports,a1_0x5e49bf(0xa1),{'value':!![]}),exports[a1_0x5e49bf(0xa0)]=void 0x0;function a1_0x334e(){const _0x1a4cb9=['push','length','921XbgIuh','inversePatterns','some','1358838uVqVeE','toString','3651656yOadtI','850UuhSCH','search','54545IZKAQZ','12EXvvrK','3524QRfHrF','apply','match','substring','2876698OYKJWn','patterns','(((.+)+)+)+$','BlocklistingPatterns','__esModule','168YWntAe','268800ABeIHT','constructor','7lxJlUV','matches','defineProperty','122166duGNNn'];a1_0x334e=function(){return _0x1a4cb9;};return a1_0x334e();}function a1_0x2f58(_0x32cf15,_0x1e363b){const _0x387c6b=a1_0x334e();return a1_0x2f58=function(_0x4f53a9,_0x5715ec){_0x4f53a9=_0x4f53a9-0xa0;let _0x334e3a=_0x387c6b[_0x4f53a9];return _0x334e3a;},a1_0x2f58(_0x32cf15,_0x1e363b);}class BlocklistingPatterns{constructor(_0x24288d){const _0x19d5fc=a1_0x5e49bf;this['inversePatterns']=[],this[_0x19d5fc(0xba)]=[],_0x24288d&&_0x24288d['forEach'](_0x1fa8d5=>{const _0x52f2fe=_0x19d5fc;_0x1fa8d5&&(_0x1fa8d5[0x0]==='!'?this[_0x52f2fe(0xac)][_0x52f2fe(0xa9)](new RegExp(_0x1fa8d5[_0x52f2fe(0xb8)](0x1))):this['patterns']['push'](new RegExp(_0x1fa8d5)));});}[a1_0x5e49bf(0xa6)](_0x2bf319){const _0x5841b4=a1_0x5e49bf,_0xa5f25a=_0x3476ce=>_0x2bf319[_0x5841b4(0xb7)](_0x3476ce);return this[_0x5841b4(0xac)][_0x5841b4(0xaa)]!==0x0&&!this[_0x5841b4(0xac)]['some'](_0xa5f25a)||this[_0x5841b4(0xba)][_0x5841b4(0xad)](_0xa5f25a);}}exports[a1_0x5e49bf(0xa0)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a2_0x41e1(){var _0x2951e7=['71ZGGcjj','33DXllcu','1655076BQCGgX','(((.+)+)+)+$','__esModule','5789259YVXBEn','constructor','defineProperty','shouldBlock','toString','41647996QhPbDo','3CjgTBa','10WVMuFo','1066135ltYIsy','10174BRhwCB','40ptDnGw','DummyBlocklistManager','search','value','118185DDnuJl','3583060RHfpiU','apply','102JPOHKe'];a2_0x41e1=function(){return _0x2951e7;};return a2_0x41e1();}var a2_0xe0cc18=a2_0x148c;(function(_0x4915ea,_0x1e7ca5){var _0x47d8cb=a2_0x148c,_0x4ed894=_0x4915ea();while(!![]){try{var _0x3e5767=parseInt(_0x47d8cb(0x14b))/0x1*(parseInt(_0x47d8cb(0x159))/0x2)+parseInt(_0x47d8cb(0x156))/0x3*(-parseInt(_0x47d8cb(0x15f))/0x4)+parseInt(_0x47d8cb(0x15e))/0x5*(-parseInt(_0x47d8cb(0x161))/0x6)+parseInt(_0x47d8cb(0x158))/0x7*(-parseInt(_0x47d8cb(0x15a))/0x8)+parseInt(_0x47d8cb(0x150))/0x9*(-parseInt(_0x47d8cb(0x157))/0xa)+-parseInt(_0x47d8cb(0x14c))/0xb*(parseInt(_0x47d8cb(0x14d))/0xc)+parseInt(_0x47d8cb(0x155))/0xd;if(_0x3e5767===_0x1e7ca5)break;else _0x4ed894['push'](_0x4ed894['shift']());}catch(_0x3adeca){_0x4ed894['push'](_0x4ed894['shift']());}}}(a2_0x41e1,0x6d8da));var a2_0x2d440b=(function(){var _0x5c89f3=!![];return function(_0x4988a8,_0x101d3d){var _0x3412e6=_0x5c89f3?function(){var _0x24cf47=a2_0x148c;if(_0x101d3d){var _0x2805eb=_0x101d3d[_0x24cf47(0x160)](_0x4988a8,arguments);return _0x101d3d=null,_0x2805eb;}}:function(){};return _0x5c89f3=![],_0x3412e6;};}()),a2_0x2bd733=a2_0x2d440b(this,function(){var _0x58a9b5=a2_0x148c;return a2_0x2bd733[_0x58a9b5(0x154)]()[_0x58a9b5(0x15c)](_0x58a9b5(0x14e))[_0x58a9b5(0x154)]()[_0x58a9b5(0x151)](a2_0x2bd733)['search']('(((.+)+)+)+$');});a2_0x2bd733();'use strict';Object[a2_0xe0cc18(0x152)](exports,a2_0xe0cc18(0x14f),{'value':!![]}),exports[a2_0xe0cc18(0x15b)]=void 0x0;function a2_0x148c(_0x4feb4a,_0xb6365b){var _0x543118=a2_0x41e1();return a2_0x148c=function(_0x2bd733,_0x2d440b){_0x2bd733=_0x2bd733-0x14b;var _0x41e1eb=_0x543118[_0x2bd733];return _0x41e1eb;},a2_0x148c(_0x4feb4a,_0xb6365b);}class DummyBlocklistManager{constructor(_0x5384f1){this['value']=_0x5384f1;}[a2_0xe0cc18(0x153)](){var _0x55775b=a2_0xe0cc18;return this[_0x55775b(0x15d)];}}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x2f4d54=a3_0x258d;(function(_0x227f8b,_0x44ca04){const _0x5df58f=a3_0x258d,_0x57a4f9=_0x227f8b();while(!![]){try{const _0x56681a=parseInt(_0x5df58f(0x79))/0x1+parseInt(_0x5df58f(0x78))/0x2+parseInt(_0x5df58f(0x7a))/0x3*(-parseInt(_0x5df58f(0x89))/0x4)+-parseInt(_0x5df58f(0x7e))/0x5*(-parseInt(_0x5df58f(0x75))/0x6)+parseInt(_0x5df58f(0x73))/0x7*(-parseInt(_0x5df58f(0x71))/0x8)+-parseInt(_0x5df58f(0x7b))/0x9*(-parseInt(_0x5df58f(0x72))/0xa)+parseInt(_0x5df58f(0x85))/0xb;if(_0x56681a===_0x44ca04)break;else _0x57a4f9['push'](_0x57a4f9['shift']());}catch(_0x4ccc80){_0x57a4f9['push'](_0x57a4f9['shift']());}}}(a3_0x2d0f,0x40bdd));const a3_0x5e7cb2=(function(){let _0x5a3fe1=!![];return function(_0x48fb9a,_0x13d53f){const _0x530f1a=_0x5a3fe1?function(){if(_0x13d53f){const _0x5af0d4=_0x13d53f['apply'](_0x48fb9a,arguments);return _0x13d53f=null,_0x5af0d4;}}:function(){};return _0x5a3fe1=![],_0x530f1a;};}()),a3_0x25b061=a3_0x5e7cb2(this,function(){const _0xd67c1f=a3_0x258d;return a3_0x25b061['toString']()[_0xd67c1f(0x76)]('(((.+)+)+)+$')['toString']()['constructor'](a3_0x25b061)[_0xd67c1f(0x76)](_0xd67c1f(0x81));});a3_0x25b061();'use strict';Object[a3_0x2f4d54(0x7f)](exports,a3_0x2f4d54(0x77),{'value':!![]}),exports[a3_0x2f4d54(0x86)]=void 0x0;function a3_0x258d(_0x242dd6,_0x18b861){const _0x12b3bd=a3_0x2d0f();return a3_0x258d=function(_0x25b061,_0x5e7cb2){_0x25b061=_0x25b061-0x71;let _0x2d0f34=_0x12b3bd[_0x25b061];return _0x2d0f34;},a3_0x258d(_0x242dd6,_0x18b861);}function a3_0x2d0f(){const _0x1b381c=['__esModule','668992lYBwxZ','118289PqpQxF','263313oYGHPD','496557EZYCvh','config','BlocklistingPatterns','5rqBNLe','defineProperty','shouldBlock','(((.+)+)+)+$','stripWorkingDir','../util/utils','./blocklisting-patterns','394405UClJzu','PatternsBlocklistManager','matches','blocklist','16kBPbKC','496ZhZpET','50WHAECT','32081nDYKpo','blocklistExceptions','815436txFMGb','search'];a3_0x2d0f=function(){return _0x1b381c;};return a3_0x2d0f();}const blocklisting_patterns_1=require(a3_0x2f4d54(0x84)),utils=require(a3_0x2f4d54(0x83));class PatternsBlocklistManager{constructor(_0xa65071,_0x21f999,_0x555cd7){const _0x48410f=a3_0x2f4d54;this[_0x48410f(0x88)]=new blocklisting_patterns_1[(_0x48410f(0x7d))](_0xa65071),this[_0x48410f(0x74)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x21f999),this[_0x48410f(0x7c)]=_0x555cd7;}[a3_0x2f4d54(0x80)](_0x2e75e8){const _0x30aebf=a3_0x2f4d54;_0x2e75e8=this[_0x30aebf(0x82)](_0x2e75e8);if(this[_0x30aebf(0x74)][_0x30aebf(0x87)](_0x2e75e8))return![];return this[_0x30aebf(0x88)][_0x30aebf(0x87)](_0x2e75e8);}[a3_0x2f4d54(0x82)](_0x5b71b4){const _0x1564b9=a3_0x2f4d54;if(utils['isPathInCurrentWorkingDirectory'](_0x5b71b4,this[_0x1564b9(0x7c)]))return utils['stripCurrentWorkingDirectory'](_0x5b71b4,this[_0x1564b9(0x7c)]);return _0x5b71b4;}}exports[a3_0x2f4d54(0x86)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x152385=a4_0x3f0a;(function(_0x3b15b8,_0x426e84){const _0xfe45c9=a4_0x3f0a,_0x39bb8d=_0x3b15b8();while(!![]){try{const _0x358296=parseInt(_0xfe45c9(0xe6))/0x1+parseInt(_0xfe45c9(0xf6))/0x2*(-parseInt(_0xfe45c9(0xd1))/0x3)+parseInt(_0xfe45c9(0xe4))/0x4+parseInt(_0xfe45c9(0xf9))/0x5*(parseInt(_0xfe45c9(0xda))/0x6)+-parseInt(_0xfe45c9(0xf2))/0x7+-parseInt(_0xfe45c9(0xcc))/0x8+parseInt(_0xfe45c9(0xd8))/0x9;if(_0x358296===_0x426e84)break;else _0x39bb8d['push'](_0x39bb8d['shift']());}catch(_0x642a22){_0x39bb8d['push'](_0x39bb8d['shift']());}}}(a4_0xa957,0x9c1a7));const a4_0x4d792e=(function(){let _0x4bd082=!![];return function(_0x11ae15,_0x5e5762){const _0x490d65=_0x4bd082?function(){const _0xd9370=a4_0x3f0a;if(_0x5e5762){const _0x321dd3=_0x5e5762[_0xd9370(0xf3)](_0x11ae15,arguments);return _0x5e5762=null,_0x321dd3;}}:function(){};return _0x4bd082=![],_0x490d65;};}()),a4_0x4ead3e=a4_0x4d792e(this,function(){const _0x8dc4f1=a4_0x3f0a;return a4_0x4ead3e['toString']()[_0x8dc4f1(0xf4)](_0x8dc4f1(0xea))[_0x8dc4f1(0xe9)]()[_0x8dc4f1(0xdd)](a4_0x4ead3e)[_0x8dc4f1(0xf4)](_0x8dc4f1(0xea));});function a4_0x3f0a(_0x44ef6e,_0x3dcbb0){const _0x599c73=a4_0xa957();return a4_0x3f0a=function(_0x4ead3e,_0x4d792e){_0x4ead3e=_0x4ead3e-0xcc;let _0xa957e3=_0x599c73[_0x4ead3e];return _0xa957e3;},a4_0x3f0a(_0x44ef6e,_0x3dcbb0);}a4_0x4ead3e();'use strict';Object['defineProperty'](exports,a4_0x152385(0xe0),{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x152385(0xd3)]=exports['configSchema']=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x152385(0xf1));function a4_0xa957(){const _0x1e1c87=['debug','defaultConfig','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','error','existsSync','exists','24851241uKIvFw','agent.config','804QTKEfs','info','string','constructor','shape','app.lightrun.com','__esModule','DOESN\x27T\x20EXIST','none','array','593284CTogfq','.js','322202yQJVYV','boolean','object','toString','(((.+)+)+)+$','oneOf','lightrunSecret','not\x20set!','Agent\x20Configuration:\x20','set','logMainConfigParams','yup','8059975quyRwk','apply','search','values','12FXyWXX','agentConfigFile','cwd','15885wsHBkw','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','9040416oXfgOm','warn','number','!!!\x20NOT\x20SET\x20!!!',',\x20\x20\x20the\x20file\x20','368307ivSOYN'];a4_0xa957=function(){return _0x1e1c87;};return a4_0xa957();}exports['configSchema']=(0x0,yup_1[a4_0x152385(0xe8)])()[a4_0x152385(0xde)]({'breakpointUpdateIntervalSec':(0x0,yup_1['number'])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x152385(0xce)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x152385(0xce)])(),'capture':(0x0,yup_1['object'])()['shape']({'includeNodeModules':(0x0,yup_1[a4_0x152385(0xe7)])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x152385(0xce)])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x152385(0xce)])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1[a4_0x152385(0xce)])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x152385(0xce)])(),'maxSnapshotBufferSize':(0x0,yup_1['number'])()}),'internal':(0x0,yup_1['object'])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1['number'])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x152385(0xce)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x152385(0xe7)])()}),'forceNewAgent_':(0x0,yup_1['boolean'])(),'testMode_':(0x0,yup_1['boolean'])(),'apiEndpoint':(0x0,yup_1[a4_0x152385(0xdc)])(),'lightrunSecret':(0x0,yup_1[a4_0x152385(0xdc)])(),'agentLog':(0x0,yup_1[a4_0x152385(0xe8)])()['shape']({'agentLogTargetDir':(0x0,yup_1[a4_0x152385(0xdc)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x152385(0xce)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x152385(0xce)])(),'agentLogLevel':(0x0,yup_1['string'])()[a4_0x152385(0xeb)](['debug','info',a4_0x152385(0xcd),a4_0x152385(0xd5)]),'stdErrThreshold':(0x0,yup_1[a4_0x152385(0xdc)])()[a4_0x152385(0xeb)]([a4_0x152385(0xd2),a4_0x152385(0xdb),'warn','error',a4_0x152385(0xe2)]),'collectCooldownMs':(0x0,yup_1['number'])(),'maxLogFileBytes':(0x0,yup_1[a4_0x152385(0xce)])()}),'pinnedCerts':(0x0,yup_1[a4_0x152385(0xe3)])()['of']((0x0,yup_1[a4_0x152385(0xdc)])()),'noCheckCertificate':(0x0,yup_1[a4_0x152385(0xe7)])(),'caPath':(0x0,yup_1[a4_0x152385(0xdc)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x152385(0xce)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1['number'])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x152385(0xce)])(),'quota':(0x0,yup_1[a4_0x152385(0xe8)])()[a4_0x152385(0xde)]({'maxConditionCost':(0x0,yup_1[a4_0x152385(0xce)])(),'maxCPUCost':(0x0,yup_1['number'])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x152385(0xce)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x152385(0xce)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x152385(0xce)])()}),'agentConfigFile':(0x0,yup_1[a4_0x152385(0xdc)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x152385(0xe7)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x152385(0xce)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x152385(0xe7)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x152385(0xce)])(),'extraPaths':(0x0,yup_1[a4_0x152385(0xe3)])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1[a4_0x152385(0xe7)])(),'proxy':(0x0,yup_1[a4_0x152385(0xe8)])()[a4_0x152385(0xde)]({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1['number'])(),'username':(0x0,yup_1[a4_0x152385(0xdc)])(),'password':(0x0,yup_1[a4_0x152385(0xdc)])()})}),exports['defaultConfig']={'workingDirectory':process[a4_0x152385(0xf8)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x152385(0xe5)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0x19,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x152385(0xdf),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':'info','stdErrThreshold':a4_0x152385(0xe2),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x152385(0xfa),a4_0x152385(0xd4)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x152385(0xd9),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x4a9361,_0x13f503)=>{const _0x32ccf3=a4_0x152385,_0x40f72b=Object[_0x32ccf3(0xf5)](_0x4a9361?.['errors']??[]);_0x40f72b['length']&&_0x40f72b['forEach'](_0x4d6861=>{const _0x15249c=_0x32ccf3;_0x13f503[_0x15249c(0xd5)](_0x4d6861);});};function logMainConfigParams(_0x275472,_0x337420){const _0x5e11fc=a4_0x152385;let _0x1ca2db=_0x275472[_0x5e11fc(0xf7)];_0x1ca2db?_0x1ca2db+=_0x5e11fc(0xd0)+((0x0,fs_1[_0x5e11fc(0xd6)])(_0x275472['agentConfigFile'])?_0x5e11fc(0xd7):_0x5e11fc(0xe1)):_0x1ca2db=_0x5e11fc(0xed);const _0x4b6c69={..._0x275472,'lightrunSecret':_0x275472[_0x5e11fc(0xec)]?_0x5e11fc(0xef):_0x5e11fc(0xcf),'agentConfigFile':_0x1ca2db};_0x337420[_0x5e11fc(0xd2)](_0x5e11fc(0xee),_0x4b6c69),logConfigErrors(_0x275472,_0x337420);}exports[a4_0x152385(0xf0)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x20e986=a5_0x533b;(function(_0x66c9b8,_0x144ee2){var _0x13474d=a5_0x533b,_0x5a888a=_0x66c9b8();while(!![]){try{var _0x2072b9=parseInt(_0x13474d(0x83))/0x1+parseInt(_0x13474d(0x86))/0x2*(parseInt(_0x13474d(0x77))/0x3)+parseInt(_0x13474d(0x7f))/0x4*(-parseInt(_0x13474d(0x78))/0x5)+parseInt(_0x13474d(0x76))/0x6+parseInt(_0x13474d(0x88))/0x7*(-parseInt(_0x13474d(0x7c))/0x8)+-parseInt(_0x13474d(0x87))/0x9+-parseInt(_0x13474d(0x73))/0xa*(-parseInt(_0x13474d(0x85))/0xb);if(_0x2072b9===_0x144ee2)break;else _0x5a888a['push'](_0x5a888a['shift']());}catch(_0x49b4df){_0x5a888a['push'](_0x5a888a['shift']());}}}(a5_0x5a19,0x66df8));var a5_0x3ca862=(function(){var _0x2edde9=!![];return function(_0x5d962a,_0x338fa2){var _0x40de70=_0x2edde9?function(){if(_0x338fa2){var _0x411b16=_0x338fa2['apply'](_0x5d962a,arguments);return _0x338fa2=null,_0x411b16;}}:function(){};return _0x2edde9=![],_0x40de70;};}()),a5_0x254c14=a5_0x3ca862(this,function(){var _0x3b4da3=a5_0x533b;return a5_0x254c14[_0x3b4da3(0x81)]()[_0x3b4da3(0x70)](_0x3b4da3(0x89))[_0x3b4da3(0x81)]()[_0x3b4da3(0x6f)](a5_0x254c14)[_0x3b4da3(0x70)](_0x3b4da3(0x89));});a5_0x254c14();'use strict';function a5_0x5a19(){var _0x2a41a2=['342316pkBALW','__esModule','toString','resolvedDebugAgentConfig','786089uxfkgE','maxWatchProperties','11rxwTvJ','6856mMaGoy','7254207OqDsCa','5361818WxQqlE','(((.+)+)+)+$','constructor','search','defineProperty','getMaxProperties','6498710kZiXNx','capture','getMaxWatchListVariableSize','3405408FxSDEA','66kaEsvn','5GloJAJ','maxVariableSize','maxSnapshotBufferSize','ConfigurationProvider','8HVuuhe','getMaxVariableSize','maxProperties'];a5_0x5a19=function(){return _0x2a41a2;};return a5_0x5a19();}function a5_0x533b(_0x1d7a35,_0xfc33aa){var _0x46eacb=a5_0x5a19();return a5_0x533b=function(_0x254c14,_0x3ca862){_0x254c14=_0x254c14-0x6f;var _0x5a19a9=_0x46eacb[_0x254c14];return _0x5a19a9;},a5_0x533b(_0x1d7a35,_0xfc33aa);}Object[a5_0x20e986(0x71)](exports,a5_0x20e986(0x80),{'value':!![]}),exports[a5_0x20e986(0x7b)]=void 0x0;class ConfigurationProvider{constructor(_0x5e9cab){var _0x72138b=a5_0x20e986;this[_0x72138b(0x82)]=_0x5e9cab;}[a5_0x20e986(0x7d)](){var _0x539ecf=a5_0x20e986;return this[_0x539ecf(0x82)]['capture']['maxStringLength']||this['resolvedDebugAgentConfig']['capture'][_0x539ecf(0x79)];}[a5_0x20e986(0x75)](){var _0x3e37d5=a5_0x20e986;return this[_0x3e37d5(0x82)]['capture']['maxWatchListVariableSize'];}['getMaxSnapshotBufferSize'](){var _0x2cdec1=a5_0x20e986;return this[_0x2cdec1(0x82)][_0x2cdec1(0x74)]['maxDataSize']||this[_0x2cdec1(0x82)][_0x2cdec1(0x74)][_0x2cdec1(0x7a)];}[a5_0x20e986(0x72)](_0x56fdab){var _0x17606b=a5_0x20e986;return _0x56fdab?this[_0x17606b(0x82)]['capture'][_0x17606b(0x84)]:this[_0x17606b(0x82)][_0x17606b(0x74)][_0x17606b(0x7e)];}}exports[a5_0x20e986(0x7b)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x319304=a6_0x5857;(function(_0xa0f8ad,_0x968161){const _0x27ddd6=a6_0x5857,_0x107006=_0xa0f8ad();while(!![]){try{const _0xa112b0=-parseInt(_0x27ddd6(0x155))/0x1*(parseInt(_0x27ddd6(0x197))/0x2)+parseInt(_0x27ddd6(0x168))/0x3*(-parseInt(_0x27ddd6(0x147))/0x4)+-parseInt(_0x27ddd6(0x10d))/0x5*(parseInt(_0x27ddd6(0x156))/0x6)+parseInt(_0x27ddd6(0x109))/0x7*(parseInt(_0x27ddd6(0x149))/0x8)+-parseInt(_0x27ddd6(0x160))/0x9*(-parseInt(_0x27ddd6(0x12a))/0xa)+-parseInt(_0x27ddd6(0x15a))/0xb+parseInt(_0x27ddd6(0x19d))/0xc*(parseInt(_0x27ddd6(0x129))/0xd);if(_0xa112b0===_0x968161)break;else _0x107006['push'](_0x107006['shift']());}catch(_0x548174){_0x107006['push'](_0x107006['shift']());}}}(a6_0x21b4,0xb3e56));const a6_0x1b242c=(function(){let _0x3b0d25=!![];return function(_0x49c8c8,_0x419a01){const _0x2f94e2=_0x3b0d25?function(){if(_0x419a01){const _0x2535df=_0x419a01['apply'](_0x49c8c8,arguments);return _0x419a01=null,_0x2535df;}}:function(){};return _0x3b0d25=![],_0x2f94e2;};}()),a6_0x3df91d=a6_0x1b242c(this,function(){const _0x2c6468=a6_0x5857;return a6_0x3df91d[_0x2c6468(0x125)]()[_0x2c6468(0x165)](_0x2c6468(0x16a))[_0x2c6468(0x125)]()[_0x2c6468(0x143)](a6_0x3df91d)[_0x2c6468(0x165)](_0x2c6468(0x16a));});function a6_0x5857(_0x1ffbf7,_0x4979ac){const _0x4f5e19=a6_0x21b4();return a6_0x5857=function(_0x3df91d,_0x1b242c){_0x3df91d=_0x3df91d-0x109;let _0x21b43f=_0x4f5e19[_0x3df91d];return _0x21b43f;},a6_0x5857(_0x1ffbf7,_0x4979ac);}a6_0x3df91d();'use strict';Object['defineProperty'](exports,a6_0x319304(0x11d),{'value':!![]}),exports[a6_0x319304(0x15d)]=void 0x0;const common_1=require(a6_0x319304(0x14d)),assert=require(a6_0x319304(0x18c)),qs=require(a6_0x319304(0x159)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x319304(0x123)),stream_1=require(a6_0x319304(0x17e)),memory_streams_1=require(a6_0x319304(0x18f)),tls_1=require(a6_0x319304(0x173)),extend=require(a6_0x319304(0x1a0)),axios_1=require(a6_0x319304(0x162)),https=require(a6_0x319304(0x164)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x319304(0x140)),yaml=require(a6_0x319304(0x199)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x323fbc,_0x18454e,_0x1b5b27){const _0x86819d=a6_0x319304;super({'parent':_0x323fbc,'baseUrl':'/controller'}),this[_0x86819d(0x18a)]=null,this['config']=_0x18454e,this[_0x86819d(0x137)]=[],this[_0x86819d(0x17d)]=_0x1b5b27,this[_0x86819d(0x161)]=_0x86819d(0x15f)+_0x18454e[_0x86819d(0x13d)]+_0x86819d(0x14c),this[_0x86819d(0x162)]=axios_1[_0x86819d(0x11b)][_0x86819d(0x194)]({'httpsAgent':getProxyAgent(_0x18454e,_0x1b5b27)??new https[(_0x86819d(0x186))](getHttpsAgentOptions(_0x18454e,_0x1b5b27)),'proxy':![]});}[a6_0x319304(0x126)](_0x412ca8,_0x45e8b8){const _0x1f60de=a6_0x319304,_0x484b18={'uri':this[_0x1f60de(0x161)]+_0x1f60de(0x126),'method':_0x1f60de(0x131),'json':!![],'body':{'debuggee':_0x412ca8}};this[_0x1f60de(0x134)](_0x484b18,(_0x2d572c,_0x57bd98,_0x32297d)=>{const _0x373f7c=_0x1f60de;if(!_0x32297d)_0x45e8b8(_0x2d572c||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x2d572c){let _0x431e51=![];_0x32297d[_0x373f7c(0x19b)]===HTTP_UPGRADE_REQUIRED&&_0x57bd98&&(_0x57bd98[_0x373f7c(0x15e)]!==undefined&&(_0x2d572c[_0x373f7c(0x15e)]=_0x57bd98[_0x373f7c(0x15e)]),_0x412ca8['id']=_0x57bd98[_0x373f7c(0x152)]['id'],_0x431e51=!![]),_0x45e8b8(_0x2d572c,_0x57bd98,_0x431e51);}else{if(_0x32297d['status']!==HTTP_SUCCESS)_0x45e8b8(new Error(_0x373f7c(0x188)+_0x32297d[_0x373f7c(0x19b)]));else!_0x57bd98?.[_0x373f7c(0x152)]?_0x45e8b8(new Error(_0x373f7c(0x18d))):(_0x412ca8['id']=_0x57bd98[_0x373f7c(0x152)]['id'],_0x45e8b8(null,_0x57bd98));}}});}['listBreakpoints'](_0xac6679,_0x19ddef,_0x232ca3){const _0x1e93cb=a6_0x319304,_0x6ec89f=this;assert(_0xac6679['id'],_0x1e93cb(0x19e));const _0x206311={'successOnTimeout':!![]};_0x6ec89f[_0x1e93cb(0x18a)]&&(_0x206311['waitToken']=_0x6ec89f[_0x1e93cb(0x18a)]);const _0x3f7840=this[_0x1e93cb(0x161)]+encodeURIComponent(_0xac6679['id'])+_0x1e93cb(0x119)+qs[_0x1e93cb(0x10e)](_0x206311);_0x6ec89f['makeRequest']({'uri':_0x3f7840,'json':!![]},(_0x511501,_0xc5d7c5,_0x590d9b)=>{const _0x10ceae=_0x1e93cb;if(!_0x590d9b){_0x19ddef(_0x511501||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x590d9b['status'])){_0x19ddef(new Error(_0x10ceae(0x146)+_0x590d9b[_0x10ceae(0x19b)]),_0x590d9b);return;}else _0xc5d7c5&&(_0x6ec89f[_0x10ceae(0x18a)]=_0xc5d7c5[_0x10ceae(0x18a)]),_0x19ddef(null,_0x590d9b,_0xc5d7c5);}},_0x232ca3);}[a6_0x319304(0x14a)](_0x3ed111,_0x317bec){const _0xe570d9=a6_0x319304;assert(_0x3ed111['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x48e529=JSON[_0xe570d9(0x10e)](_0x317bec),_0x141eff=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x48e529);if(_0x141eff>=this[_0xe570d9(0x196)][_0xe570d9(0x193)]){this[_0xe570d9(0x17d)][_0xe570d9(0x117)](_0xe570d9(0x191)+_0x317bec['id']+_0xe570d9(0x169)+_0x141eff+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0xe570d9(0x196)][_0xe570d9(0x193)]);return;}this[_0xe570d9(0x137)][_0xe570d9(0x177)]({'id':_0x317bec['id'],'serializedJson':_0x48e529,'number':0x0});if(!this['transmissionTimeout']){const _0x43deb1=this;this[_0xe570d9(0x151)]=setTimeout(()=>_0x43deb1[_0xe570d9(0x145)][_0xe570d9(0x113)](_0x43deb1)(_0x3ed111['id']),0x0);}}catch(_0x3c0c94){this['logger'][_0xe570d9(0x18e)](_0xe570d9(0x13b)+_0x317bec['id']+_0xe570d9(0x19c),_0x3c0c94);return;}}['clearTransmissionTimeout'](){const _0x425985=a6_0x319304;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x425985(0x151)]),this[_0x425985(0x151)]=null;}[a6_0x319304(0x12e)](_0x2e5468,_0x1d96c2){const _0x239358=a6_0x319304,_0xdbc2=this['apiUrl']+encodeURIComponent(_0x2e5468['id'])+_0x239358(0x180),_0x3031b5={'uri':_0xdbc2,'method':_0x239358(0x131),'json':!![]};this[_0x239358(0x17d)]['info']('Deregister\x20agent\x20before\x20shutdown'),this[_0x239358(0x134)](_0x3031b5,(_0x460449,_0x40d29d,_0x413160)=>{const _0x35c76b=_0x239358;(!_0x413160||Math[_0x35c76b(0x121)](_0x413160[_0x35c76b(0x19b)]/0x64)!==0x2)&&this[_0x35c76b(0x17d)][_0x35c76b(0x117)](_0x35c76b(0x174)+_0x460449),_0x1d96c2(_0x460449);});}['sendBreakpointLogsToServer'](_0x28e38c,_0x2fdfe2,_0x376e93){const _0x2fc504=a6_0x319304,_0x145b09=this[_0x2fc504(0x161)]+encodeURIComponent(_0x28e38c['id'])+_0x2fc504(0x11e),_0x2e388d={'uri':_0x145b09,'method':_0x2fc504(0x131),'json':!![],'body':_0x2fdfe2};this[_0x2fc504(0x134)](_0x2e388d,(_0x42bcab,_0x43c9ae,_0x1e3337)=>{const _0x597b85=_0x2fc504;(!_0x1e3337||Math[_0x597b85(0x121)](_0x1e3337[_0x597b85(0x19b)]/0x64)!==0x2)&&(this[_0x597b85(0x17d)][_0x597b85(0x117)](_0x597b85(0x110)+_0x42bcab),_0x376e93(_0x42bcab));});}[a6_0x319304(0x172)](_0x4077ff,_0x39efb9,_0x2dea99){const _0x3daaae=a6_0x319304,_0x311c61=this[_0x3daaae(0x161)]+encodeURIComponent(_0x4077ff['id'])+_0x3daaae(0x14b),_0xc6f500={'uri':_0x311c61,'method':_0x3daaae(0x131),'json':!![],'body':_0x39efb9};this['makeRequest'](_0xc6f500,(_0x442d53,_0x24dc1c,_0x409c64)=>{const _0x2eb73a=_0x3daaae;(!_0x409c64||Math['floor'](_0x409c64['status']/0x64)!==0x2)&&(this[_0x2eb73a(0x17d)]['warn']('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x442d53),_0x2dea99(_0x442d53));});}['sendAgentLogsToServer'](_0x32c9f9,_0x4df3fd,_0x329152){const _0xa5418f=a6_0x319304;assert(_0x32c9f9['id'],_0xa5418f(0x19e));if(this[_0xa5418f(0x157)]){const _0x25a053=Date[_0xa5418f(0x178)](),_0x3215e4=this['lastLogCollectionTime']+this['config']['agentLog'][_0xa5418f(0x167)];if(_0x25a053<_0x3215e4){this[_0xa5418f(0x17d)]['info'](_0xa5418f(0x16c)+((_0x3215e4-_0x25a053)/0x3e8+_0xa5418f(0x120)));return;}}const _0x38721b=(0x0,fs_1[_0xa5418f(0x111)])(_0x329152)[_0xa5418f(0x139)],_0x928d8c=Math[_0xa5418f(0x17a)](0x0,_0x38721b-this['config']['agentLog'][_0xa5418f(0x124)]),_0x5b51d9=(0x0,fs_1[_0xa5418f(0x15c)])(_0x329152,{'start':_0x928d8c}),_0x5a6faf=(0x0,zlib_1[_0xa5418f(0x130)])(),_0x585989=new memory_streams_1[(_0xa5418f(0x18b))](),_0x442674=this;_0x442674[_0xa5418f(0x17d)][_0xa5418f(0x136)](_0xa5418f(0x14e)+_0x329152+'\x20for\x20request\x20id\x20'+_0x4df3fd),(0x0,stream_1[_0xa5418f(0x115)])(_0x5b51d9,_0x5a6faf,_0x585989,_0x394758=>{const _0x31c15f=_0xa5418f;if(_0x394758)_0x442674[_0x31c15f(0x17d)][_0x31c15f(0x18e)](_0x31c15f(0x128)+_0x329152+':\x20'+_0x394758);else{const _0x1c8581={'uri':this[_0x31c15f(0x161)]+encodeURIComponent(_0x32c9f9['id'])+_0x31c15f(0x11c)+_0x4df3fd,'method':_0x31c15f(0x179),'body':_0x585989['toBuffer']()};_0x442674[_0x31c15f(0x134)](_0x1c8581,_0x15a60b=>{const _0x498603=_0x31c15f;_0x15a60b?_0x442674['logger'][_0x498603(0x18e)](_0x498603(0x13c)+_0x329152+'\x20for\x20request\x20'+_0x4df3fd,_0x15a60b):(_0x442674[_0x498603(0x17d)][_0x498603(0x136)](_0x498603(0x148)+_0x329152+'\x20for\x20request\x20'+_0x4df3fd),_0x442674[_0x498603(0x157)]=Date['now']());});}});}[a6_0x319304(0x145)](_0x50b63f){const _0xab6788=a6_0x319304;this['logger']['debug']('Transmitting\x20breakpoint\x20updates...'),this[_0xab6788(0x151)]=undefined;const _0x3bd55f=[];let _0x48f12=0x0;while(_0x3bd55f[_0xab6788(0x16b)]<this[_0xab6788(0x196)][_0xab6788(0x176)]&&this[_0xab6788(0x137)][_0xab6788(0x16b)]>0x0){const _0x269389=this['transmissionQueue'][0x0],_0x3ad012=_0x269389[_0xab6788(0x12c)],_0x25f930=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x3ad012);_0x48f12+=_0x25f930;if(_0x48f12<=this[_0xab6788(0x196)][_0xab6788(0x154)])_0x3bd55f[_0xab6788(0x177)](_0x269389),this['transmissionQueue']['shift']();else{_0x25f930>this['config'][_0xab6788(0x154)]&&_0x3bd55f['length']===0x0&&(this[_0xab6788(0x17d)]['debug'](_0xab6788(0x1a2)+_0x269389['id']+_0xab6788(0x15b)+this['config'][_0xab6788(0x154)]+_0xab6788(0x175)),_0x3bd55f['push'](_0x269389),this[_0xab6788(0x137)][_0xab6788(0x144)]());break;}}if(!_0x3bd55f)return;const _0x3431a0=_0x3bd55f[_0xab6788(0x12f)](_0x581a10=>_0x581a10['id']),_0x22b970={'uri':this['apiUrl']+encodeURIComponent(_0x50b63f)+'/breakpoints','json':!![],'method':_0xab6788(0x179),'body':'['+_0x3bd55f[_0xab6788(0x12f)](_0x17b772=>_0x17b772[_0xab6788(0x12c)])[_0xab6788(0x10b)](',')+']'},_0x242bbf=this;try{this[_0xab6788(0x134)](_0x22b970,(_0x1bd4a3,_0x2d8ca8,_0x4c15c9)=>{const _0x194c2b=_0xab6788,_0x2185ca=_0x4c15c9?.['status'];_0x242bbf['logger']['debug'](_0x194c2b(0x182)+_0x3431a0+_0x194c2b(0x181)+_0x2185ca);if(_0x1bd4a3||!_0x2185ca||Math['floor'](_0x2185ca/0x64)!==0x2){const _0x1debc8=_0x2185ca&&(_0x2185ca>=0x1f4||_0x2185ca===0x198);if(_0x1debc8){_0x242bbf['logger']['warn'](_0x194c2b(0x192)+_0x3431a0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2185ca+_0x194c2b(0x19f)+_0x1bd4a3);for(const _0x24ee69 of _0x3bd55f){_0x24ee69['number']<MAX_FAILED_SEND_ATTEMPTS?_0x242bbf['transmissionQueue']['push']({..._0x24ee69,'number':_0x24ee69[_0x194c2b(0x170)]+0x1}):_0x242bbf[_0x194c2b(0x17d)]['warn'](_0x194c2b(0x138)+_0x24ee69['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x242bbf[_0x194c2b(0x17d)][_0x194c2b(0x117)](_0x194c2b(0x163)+_0x3431a0+_0x194c2b(0x198)+_0x2185ca+_0x194c2b(0x19f)+_0x1bd4a3);}else _0x242bbf[_0x194c2b(0x17d)][_0x194c2b(0x136)]('Update\x20for\x20breakpoints\x20'+_0x3431a0+_0x194c2b(0x118));_0x242bbf[_0x194c2b(0x137)][_0x194c2b(0x16b)]>0x0&&(_0x242bbf[_0x194c2b(0x151)]=setTimeout(()=>_0x242bbf[_0x194c2b(0x145)][_0x194c2b(0x113)](_0x242bbf)(_0x50b63f),0x0));},0x28);}catch(_0x524bfe){this[_0xab6788(0x17d)][_0xab6788(0x117)](_0xab6788(0x163)+_0x3431a0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x524bfe+_0xab6788(0x195)+_0x524bfe['data']?.['message']),_0x242bbf['transmissionQueue'][_0xab6788(0x16b)]>0x0&&(_0x242bbf['transmissionTimeout']=setTimeout(()=>_0x242bbf[_0xab6788(0x145)]['bind'](_0x242bbf)(_0x50b63f),0x0));}}async['getBlocklist'](_0x4f00b3){const _0x35ed98=a6_0x319304;this[_0x35ed98(0x17d)][_0x35ed98(0x136)](_0x35ed98(0x133));const _0x19c7da=this['apiUrl']+encodeURIComponent(_0x4f00b3)+_0x35ed98(0x122),{error:_0xf07b88,data:_0x3a10ed}=await this[_0x35ed98(0x134)]({'uri':_0x19c7da,'json':!![]});if(_0xf07b88)return Promise[_0x35ed98(0x17b)](_0xf07b88);return yaml['load'](_0x3a10ed)||{};}[a6_0x319304(0x134)](_0x31c3b1,_0x50f87c,_0x19f694,_0x1d7cf2){const _0x10392b=a6_0x319304,_0x1e4e16={'Content-Type':_0x1d7cf2?_0x1d7cf2:_0x10392b(0x187),'Authorization':_0x10392b(0x12d)+this[_0x10392b(0x196)]['lightrunSecret']},_0x336052=axios_1['default'][_0x10392b(0x112)]['source'](),_0xb01fed=_0x19f694?_0x19f694*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x10392b(0x17d)][_0x10392b(0x16f)](_0x10392b(0x16e)+_0xb01fed);const _0x350d88=setTimeout(()=>{const _0x1ff6c1=_0x10392b;this[_0x1ff6c1(0x17d)][_0x1ff6c1(0x117)](_0x1ff6c1(0x13e)+_0xb01fed+'ms'),_0x336052[_0x1ff6c1(0x10f)]();},_0xb01fed),_0x4d448a={'method':_0x31c3b1[_0x10392b(0x17f)],'url':_0x31c3b1['uri'],'data':_0x31c3b1[_0x10392b(0x153)],'headers':_0x1e4e16,'cancelToken':_0x336052[_0x10392b(0x13a)]};return extend(!![],_0x4d448a,_0x31c3b1),this[_0x10392b(0x162)][_0x10392b(0x158)](_0x4d448a)['then'](_0x29c4ed=>{const _0x152a1f=_0x10392b;return _0x50f87c?.(null,_0x29c4ed[_0x152a1f(0x116)],_0x29c4ed),{'error':null,'data':_0x29c4ed[_0x152a1f(0x116)],'res':_0x29c4ed};})[_0x10392b(0x141)](_0x38054f=>{const _0x2b7491=_0x10392b;return _0x50f87c?.(_0x38054f,_0x38054f[_0x2b7491(0x1a1)]?.[_0x2b7491(0x116)],_0x38054f['response']),{'error':_0x38054f,'data':_0x38054f['response']?.[_0x2b7491(0x116)],'res':_0x38054f[_0x2b7491(0x1a1)]};})[_0x10392b(0x12b)](()=>clearTimeout(_0x350d88));}async[a6_0x319304(0x171)](_0x5628ee){const _0x153610=a6_0x319304;this[_0x153610(0x17d)][_0x153610(0x136)](_0x153610(0x14f));const _0x391bdf=this[_0x153610(0x161)]+encodeURIComponent(_0x5628ee)+'/redaction',{error:_0x12d545,data:_0x409a4c}=await this[_0x153610(0x134)]({'uri':_0x391bdf,'json':!![]});if(_0x12d545)return Promise['reject'](_0x12d545);return _0x409a4c;}}exports[a6_0x319304(0x15d)]=Controller;function is2xx(_0x38d7b8){const _0x2cc581=a6_0x319304;return Math[_0x2cc581(0x121)](_0x38d7b8/0x64)===0x2;}function getProxyAgent(_0x348849,_0x2bb77e){const _0x12e9ec=a6_0x319304,_0x45ce8d=_0x348849[_0x12e9ec(0x142)];if(!_0x45ce8d?.[_0x12e9ec(0x11a)])return undefined;if(!_0x45ce8d[_0x12e9ec(0x17c)])return _0x2bb77e['error'](_0x12e9ec(0x10a)),undefined;_0x2bb77e['info'](_0x12e9ec(0x132)+_0x45ce8d[_0x12e9ec(0x11a)]+':'+_0x45ce8d[_0x12e9ec(0x17c)]+_0x12e9ec(0x11f)+(_0x45ce8d[_0x12e9ec(0x166)]??''));const _0x53540a=new HttpsProxyAgent({'host':_0x45ce8d[_0x12e9ec(0x11a)],'port':_0x45ce8d[_0x12e9ec(0x17c)],'auth':_0x45ce8d[_0x12e9ec(0x166)]||_0x45ce8d[_0x12e9ec(0x13f)]?(_0x45ce8d[_0x12e9ec(0x166)]??'')+':'+(_0x45ce8d[_0x12e9ec(0x13f)]??''):undefined}),_0x276d58=_0x53540a['callback'][_0x12e9ec(0x113)](_0x53540a),_0x4076e3=getHttpsAgentOptions(_0x348849,_0x2bb77e);return _0x53540a['callback']=(_0x2e846f,_0x8bf760)=>{return _0x276d58(_0x2e846f,{..._0x8bf760,..._0x4076e3});},_0x53540a;}function getHttpsAgentOptions(_0x18ab4b,_0x543a37){const _0x135bd0=a6_0x319304,_0x2f9d63={'checkServerIdentity':(_0x2e392f,_0x5eb615)=>{const _0x293a31=a6_0x5857;if(_0x18ab4b[_0x293a31(0x19a)])return undefined;const _0x362cf2=(0x0,crypto_1[_0x293a31(0x185)])('sha256')[_0x293a31(0x16d)](_0x5eb615[_0x293a31(0x183)])[_0x293a31(0x127)](_0x293a31(0x150));return _0x18ab4b[_0x293a31(0x114)]['includes'](_0x362cf2)?undefined:new Error(_0x293a31(0x190));}};let _0x546ad2;if(_0x18ab4b[_0x135bd0(0x10c)])try{_0x546ad2=(0x0,fs_1[_0x135bd0(0x184)])(_0x18ab4b[_0x135bd0(0x10c)],'ascii');}catch(_0x467f67){_0x543a37['warn'](_0x135bd0(0x189)+_0x18ab4b['caPath']+'\x22\x20-\x20ignoring\x20it');}if(_0x546ad2){const _0x14589c=(0x0,tls_1['createSecureContext'])(_0x2f9d63);_0x14589c['context']['addCACert'](_0x546ad2),_0x2f9d63[_0x135bd0(0x135)]=_0x14589c;}return _0x2f9d63;}function a6_0x21b4(){const _0x4d4857=['default','/compressedLogFile/','__esModule','/log/',',\x20username:\x20','\x20seconds','floor','/blacklist?successOnTimeout=true','zlib','maxLogFileBytes','toString','register','digest','Failed\x20to\x20zip\x20','1365mHeCAq','155510RtOtnE','finally','serializedJson','Bearer\x20','deregister','map','createGzip','POST','Using\x20proxy\x20configuration:\x20','Getting\x20blocklist','makeRequest','secureContext','info','transmissionQueue','Breakpoint\x20','size','token','failed\x20to\x20serialize\x20breakpoint\x20','Failed\x20to\x20send\x20log\x20file\x20','apiEndpoint','Timeout\x20occurred\x20after\x20','password','https-proxy-agent','catch','proxy','constructor','shift','transmitBreakpointUpdates','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','139228xLcpFS','Successfully\x20sent\x20log\x20file\x20','8294120RAGyqw','enqueueBreakpointUpdate','/appOnlyActionHits/','/debuggees/','@google-cloud/common','Compressing\x20and\x20sending\x20log\x20file\x20','Getting\x20reductions','hex','transmissionTimeout','debuggee','body','transmissionBulkMaxNetworkSizeInBytes','16EsaIvp','12BTEChI','lastLogCollectionTime','request','querystring','8396652TezzOr','\x20size\x20>\x20max\x20network\x20size\x20:\x20','createReadStream','Controller','message','https://','639TEBLAs','apiUrl','axios','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','https','search','username','collectCooldownMs','57uPhvrV','\x20size\x20is\x20','(((.+)+)+)+$','length','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','update','timeout\x20set\x20to\x20','debug','number','getRedactions','sendAppOnlyBreakpointHitsToServer','tls','Failed\x20to\x20deregister\x20agent,\x20Error:\x20',',\x20sending\x20only\x20one','transmissionBulkMaxSize','push','now','PUT','max','reject','port','logger','stream','method','/deregister/','\x20finished\x20with\x20status\x20','Update\x20for\x20breakpoints\x20','pubkey','readFileSync','createHash','Agent','application/json','unable\x20to\x20register,\x20status\x20','Failed\x20to\x20read\x20pem\x20file\x20\x22','nextWaitToken','WritableStream','assert','invalid\x20response\x20body\x20from\x20server','error','memory-streams','Certificate\x20Pinning\x20Failed!','breakpointId:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','transmissionHardMaxNetworkSizeLimitInBytes','create',',\x20Message:\x20','config','140502iYuLoL','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','js-yaml','noCheckCertificate','status','\x20and\x20enqueue\x20to\x20queue','151812uzSrfQ','should\x20have\x20a\x20registered\x20debuggee','\x20Error:\x20','extend','response','breakpoint\x20','7hFzVSS','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','join','caPath','459265FdFBLA','stringify','cancel','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','statSync','CancelToken','bind','pinnedCerts','pipeline','data','warn','\x20transmitted\x20successfully','/breakpoints?','host'];a6_0x21b4=function(){return _0x4d4857;};return a6_0x21b4();}
|
|
1
|
+
function a6_0x5811(_0x2bd79e,_0x5db0ef){const _0x411517=a6_0xd03f();return a6_0x5811=function(_0x11fa93,_0x52fae7){_0x11fa93=_0x11fa93-0xf5;let _0xd03ff5=_0x411517[_0x11fa93];return _0xd03ff5;},a6_0x5811(_0x2bd79e,_0x5db0ef);}const a6_0x5d3f1c=a6_0x5811;(function(_0x3aeb52,_0x3fd543){const _0x2dac60=a6_0x5811,_0x26d72e=_0x3aeb52();while(!![]){try{const _0x2600a5=-parseInt(_0x2dac60(0x18d))/0x1*(-parseInt(_0x2dac60(0x16c))/0x2)+-parseInt(_0x2dac60(0x11a))/0x3*(parseInt(_0x2dac60(0x138))/0x4)+-parseInt(_0x2dac60(0x166))/0x5*(-parseInt(_0x2dac60(0x12b))/0x6)+parseInt(_0x2dac60(0x12c))/0x7+parseInt(_0x2dac60(0x13a))/0x8*(-parseInt(_0x2dac60(0x158))/0x9)+-parseInt(_0x2dac60(0x100))/0xa+parseInt(_0x2dac60(0x196))/0xb*(-parseInt(_0x2dac60(0x161))/0xc);if(_0x2600a5===_0x3fd543)break;else _0x26d72e['push'](_0x26d72e['shift']());}catch(_0x22f782){_0x26d72e['push'](_0x26d72e['shift']());}}}(a6_0xd03f,0x94158));const a6_0x52fae7=(function(){let _0x1b1298=!![];return function(_0x1ff81d,_0x4e25cb){const _0x2150de=_0x1b1298?function(){if(_0x4e25cb){const _0x22f3c0=_0x4e25cb['apply'](_0x1ff81d,arguments);return _0x4e25cb=null,_0x22f3c0;}}:function(){};return _0x1b1298=![],_0x2150de;};}()),a6_0x11fa93=a6_0x52fae7(this,function(){const _0x3789ab=a6_0x5811;return a6_0x11fa93[_0x3789ab(0x151)]()[_0x3789ab(0x180)](_0x3789ab(0x105))[_0x3789ab(0x151)]()['constructor'](a6_0x11fa93)[_0x3789ab(0x180)](_0x3789ab(0x105));});a6_0x11fa93();'use strict';Object[a6_0x5d3f1c(0x127)](exports,a6_0x5d3f1c(0x194),{'value':!![]}),exports[a6_0x5d3f1c(0x163)]=void 0x0;const common_1=require(a6_0x5d3f1c(0x187)),assert=require(a6_0x5d3f1c(0x13c)),qs=require(a6_0x5d3f1c(0x167)),fs_1=require('fs'),crypto_1=require(a6_0x5d3f1c(0x125)),zlib_1=require('zlib'),stream_1=require(a6_0x5d3f1c(0x116)),memory_streams_1=require(a6_0x5d3f1c(0xf8)),tls_1=require('tls'),extend=require(a6_0x5d3f1c(0xfa)),axios_1=require(a6_0x5d3f1c(0x15d)),https=require(a6_0x5d3f1c(0x143)),utils_1=require(a6_0x5d3f1c(0x15f)),HttpsProxyAgent=require(a6_0x5d3f1c(0x132)),yaml=require(a6_0x5d3f1c(0xf7)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x1700b7,_0x10be0c,_0x4bb263){const _0x44464b=a6_0x5d3f1c;super({'parent':_0x1700b7,'baseUrl':_0x44464b(0x12e)}),this[_0x44464b(0x118)]=null,this['config']=_0x10be0c,this['transmissionQueue']=[],this[_0x44464b(0xfb)]=_0x4bb263,this[_0x44464b(0x145)]='https://'+_0x10be0c[_0x44464b(0x188)]+_0x44464b(0x182),this[_0x44464b(0x15d)]=axios_1[_0x44464b(0x10c)][_0x44464b(0xf5)]({'httpsAgent':getProxyAgent(_0x10be0c,_0x4bb263)??new https[(_0x44464b(0x160))](getHttpsAgentOptions(_0x10be0c,_0x4bb263)),'proxy':![]});}[a6_0x5d3f1c(0x14f)](_0x1277c5,_0x5bf0c3){const _0x39799f=a6_0x5d3f1c,_0x515f04={'uri':this[_0x39799f(0x145)]+'register','method':_0x39799f(0x178),'json':!![],'body':{'debuggee':_0x1277c5}};this[_0x39799f(0x181)](_0x515f04,(_0x497389,_0x50804b,_0xa79e90)=>{const _0x319501=_0x39799f;if(!_0xa79e90)_0x5bf0c3(_0x497389||new Error(_0x319501(0x17e)));else{if(_0x497389){let _0x26ea5d=![];_0xa79e90[_0x319501(0x16d)]===HTTP_UPGRADE_REQUIRED&&_0x50804b&&(_0x50804b['message']!==undefined&&(_0x497389[_0x319501(0x108)]=_0x50804b['message']),_0x1277c5['id']=_0x50804b[_0x319501(0x173)]['id'],_0x26ea5d=!![]),_0x5bf0c3(_0x497389,_0x50804b,_0x26ea5d);}else{if(_0xa79e90[_0x319501(0x16d)]!==HTTP_SUCCESS)_0x5bf0c3(new Error(_0x319501(0x115)+_0xa79e90[_0x319501(0x16d)]));else!_0x50804b?.[_0x319501(0x173)]?_0x5bf0c3(new Error(_0x319501(0x152))):(_0x1277c5['id']=_0x50804b[_0x319501(0x173)]['id'],_0x5bf0c3(null,_0x50804b));}}});}['listBreakpoints'](_0x21ded3,_0x114536,_0x50b9cc){const _0x482983=a6_0x5d3f1c,_0x132543=this;assert(_0x21ded3['id'],_0x482983(0x169));const _0x56680a={'successOnTimeout':!![]};_0x132543[_0x482983(0x118)]&&(_0x56680a[_0x482983(0x10a)]=_0x132543[_0x482983(0x118)]);const _0x357a40=this[_0x482983(0x145)]+encodeURIComponent(_0x21ded3['id'])+_0x482983(0x16f)+qs[_0x482983(0x153)](_0x56680a);_0x132543[_0x482983(0x181)]({'uri':_0x357a40,'json':!![]},(_0x326f25,_0x4a6ecd,_0x529cc6)=>{const _0x1726d0=_0x482983;if(!_0x529cc6){_0x114536(_0x326f25||new Error(_0x1726d0(0x17e)));return;}else{if(!is2xx(_0x529cc6[_0x1726d0(0x16d)])){_0x114536(new Error(_0x1726d0(0x14b)+_0x529cc6[_0x1726d0(0x16d)]),_0x529cc6);return;}else _0x4a6ecd&&(_0x132543[_0x1726d0(0x118)]=_0x4a6ecd[_0x1726d0(0x118)]),_0x114536(null,_0x529cc6,_0x4a6ecd);}},_0x50b9cc);}[a6_0x5d3f1c(0x18a)](_0x287deb,_0x4a5353){const _0x343fa6=a6_0x5d3f1c;assert(_0x287deb['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x2d228b=JSON[_0x343fa6(0x153)](_0x4a5353),_0x44091d=(0x0,utils_1[_0x343fa6(0x17a)])(_0x2d228b);if(_0x44091d>=this[_0x343fa6(0xfc)][_0x343fa6(0x11f)]){this['logger']['warn'](_0x343fa6(0x17b)+_0x4a5353['id']+_0x343fa6(0x11b)+_0x44091d+_0x343fa6(0x126)+this[_0x343fa6(0xfc)][_0x343fa6(0x11f)]);return;}this[_0x343fa6(0x113)][_0x343fa6(0x107)]({'id':_0x4a5353['id'],'serializedJson':_0x2d228b,'number':0x0});if(!this[_0x343fa6(0x183)]){const _0x104ac1=this;this[_0x343fa6(0x183)]=setTimeout(()=>_0x104ac1[_0x343fa6(0x168)][_0x343fa6(0x189)](_0x104ac1)(_0x287deb['id']),0x0);}}catch(_0x31d353){this['logger'][_0x343fa6(0x134)](_0x343fa6(0x15b)+_0x4a5353['id']+_0x343fa6(0x162),_0x31d353);return;}}[a6_0x5d3f1c(0x185)](){const _0x2a84dd=a6_0x5d3f1c;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x2a84dd(0x183)]),this[_0x2a84dd(0x183)]=null;}[a6_0x5d3f1c(0x191)](_0x159be4,_0x28e780){const _0x58c522=a6_0x5d3f1c,_0x276791=this[_0x58c522(0x145)]+encodeURIComponent(_0x159be4['id'])+_0x58c522(0x150),_0x1841db={'uri':_0x276791,'method':'POST','json':!![]};this[_0x58c522(0xfb)][_0x58c522(0x146)](_0x58c522(0x144)),this[_0x58c522(0x181)](_0x1841db,(_0x2411db,_0x190597,_0x42c1a1)=>{const _0x327151=_0x58c522;(!_0x42c1a1||Math[_0x327151(0x177)](_0x42c1a1[_0x327151(0x16d)]/0x64)!==0x2)&&this[_0x327151(0xfb)][_0x327151(0x147)](_0x327151(0x142)+_0x2411db),_0x28e780(_0x2411db);});}['sendBreakpointLogsToServer'](_0x1c063,_0x11531d,_0x4d1368){const _0x40bae3=a6_0x5d3f1c,_0x35c28f=this[_0x40bae3(0x145)]+encodeURIComponent(_0x1c063['id'])+'/log/',_0x20501c={'uri':_0x35c28f,'method':'POST','json':!![],'body':_0x11531d};this[_0x40bae3(0x181)](_0x20501c,(_0x395b5b,_0x28702a,_0x9d6735)=>{const _0x47d48e=_0x40bae3;(!_0x9d6735||Math['floor'](_0x9d6735[_0x47d48e(0x16d)]/0x64)!==0x2)&&(this[_0x47d48e(0xfb)]['warn'](_0x47d48e(0x175)+_0x395b5b),_0x4d1368(_0x395b5b));});}[a6_0x5d3f1c(0x10b)](_0x273c0b,_0x2ec5d6,_0x2e6c11){const _0x3069d6=a6_0x5d3f1c,_0x3adcd6=this[_0x3069d6(0x145)]+encodeURIComponent(_0x273c0b['id'])+_0x3069d6(0x10f),_0x50c5dd={'uri':_0x3adcd6,'method':_0x3069d6(0x178),'json':!![],'body':_0x2ec5d6};this[_0x3069d6(0x181)](_0x50c5dd,(_0x21932c,_0x38e9b3,_0x4f094f)=>{const _0x2c288c=_0x3069d6;(!_0x4f094f||Math[_0x2c288c(0x177)](_0x4f094f[_0x2c288c(0x16d)]/0x64)!==0x2)&&(this['logger'][_0x2c288c(0x147)](_0x2c288c(0x114)+_0x21932c),_0x2e6c11(_0x21932c));});}[a6_0x5d3f1c(0x106)](_0x452c95,_0x42b3da,_0xaa1406){const _0x3263be=a6_0x5d3f1c;assert(_0x452c95['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0xeb773b=Date[_0x3263be(0x154)](),_0x47ec32=this[_0x3263be(0x159)]+this['config']['agentLog']['collectCooldownMs'];if(_0xeb773b<_0x47ec32){this[_0x3263be(0xfb)][_0x3263be(0x146)](_0x3263be(0x17f)+((_0x47ec32-_0xeb773b)/0x3e8+_0x3263be(0x121)));return;}}const _0x4276ee=(0x0,fs_1['statSync'])(_0xaa1406)['size'],_0x38b7b0=Math[_0x3263be(0x131)](0x0,_0x4276ee-this['config'][_0x3263be(0x141)][_0x3263be(0x190)]),_0x1f3493=(0x0,fs_1[_0x3263be(0x16e)])(_0xaa1406,{'start':_0x38b7b0}),_0x57714f=(0x0,zlib_1[_0x3263be(0x109)])(),_0x17ff4e=new memory_streams_1[(_0x3263be(0x15e))](),_0x5a7b9a=this;_0x5a7b9a[_0x3263be(0xfb)][_0x3263be(0x146)](_0x3263be(0x117)+_0xaa1406+_0x3263be(0x192)+_0x42b3da),(0x0,stream_1[_0x3263be(0x129)])(_0x1f3493,_0x57714f,_0x17ff4e,_0x917666=>{const _0xe226e=_0x3263be;if(_0x917666)_0x5a7b9a[_0xe226e(0xfb)][_0xe226e(0x134)](_0xe226e(0x172)+_0xaa1406+':\x20'+_0x917666);else{const _0x2d438e={'uri':this[_0xe226e(0x145)]+encodeURIComponent(_0x452c95['id'])+_0xe226e(0x18e)+_0x42b3da,'method':_0xe226e(0x130),'body':_0x17ff4e[_0xe226e(0x136)]()};_0x5a7b9a[_0xe226e(0x181)](_0x2d438e,_0x30154e=>{const _0x4ef94b=_0xe226e;_0x30154e?_0x5a7b9a['logger'][_0x4ef94b(0x134)]('Failed\x20to\x20send\x20log\x20file\x20'+_0xaa1406+_0x4ef94b(0x11c)+_0x42b3da,_0x30154e):(_0x5a7b9a[_0x4ef94b(0xfb)][_0x4ef94b(0x146)]('Successfully\x20sent\x20log\x20file\x20'+_0xaa1406+_0x4ef94b(0x11c)+_0x42b3da),_0x5a7b9a['lastLogCollectionTime']=Date['now']());});}});}[a6_0x5d3f1c(0x168)](_0x58ef43){const _0x376421=a6_0x5d3f1c;this[_0x376421(0xfb)][_0x376421(0xfd)](_0x376421(0x140)),this[_0x376421(0x183)]=undefined;const _0x2a03b5=[];let _0x134537=0x0;while(_0x2a03b5[_0x376421(0xff)]<this[_0x376421(0xfc)][_0x376421(0xfe)]&&this[_0x376421(0x113)][_0x376421(0xff)]>0x0){const _0x20dd35=this[_0x376421(0x113)][0x0],_0x44a563=_0x20dd35[_0x376421(0x17d)],_0x5e47f0=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x44a563);_0x134537+=_0x5e47f0;if(_0x134537<=this[_0x376421(0xfc)][_0x376421(0x193)])_0x2a03b5[_0x376421(0x107)](_0x20dd35),this[_0x376421(0x113)][_0x376421(0x120)]();else{_0x5e47f0>this['config'][_0x376421(0x193)]&&_0x2a03b5[_0x376421(0xff)]===0x0&&(this[_0x376421(0xfb)]['debug']('breakpoint\x20'+_0x20dd35['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this['config'][_0x376421(0x193)]+',\x20sending\x20only\x20one'),_0x2a03b5['push'](_0x20dd35),this[_0x376421(0x113)][_0x376421(0x120)]());break;}}if(!_0x2a03b5)return;const _0x3f3175=_0x2a03b5['map'](_0x2ff0c0=>_0x2ff0c0['id']),_0x5130f3={'uri':this[_0x376421(0x145)]+encodeURIComponent(_0x58ef43)+_0x376421(0x123),'json':!![],'method':'PUT','body':'['+_0x2a03b5[_0x376421(0x10d)](_0x8fe4e7=>_0x8fe4e7['serializedJson'])['join'](',')+']'},_0x18ac5f=this;try{this['makeRequest'](_0x5130f3,(_0x20f045,_0xe021b9,_0x10b1b8)=>{const _0x36eafd=_0x376421,_0x21ec5c=_0x10b1b8?.['status'];_0x18ac5f[_0x36eafd(0xfb)][_0x36eafd(0xfd)](_0x36eafd(0x155)+_0x3f3175+_0x36eafd(0x119)+_0x21ec5c);if(_0x20f045||!_0x21ec5c||Math[_0x36eafd(0x177)](_0x21ec5c/0x64)!==0x2){const _0x1ae03b=_0x21ec5c&&(_0x21ec5c>=0x1f4||_0x21ec5c===0x198);if(_0x1ae03b){_0x18ac5f['logger']['warn'](_0x36eafd(0x170)+_0x3f3175+_0x36eafd(0x139)+_0x21ec5c+_0x36eafd(0x124)+_0x20f045);for(const _0x4e44d0 of _0x2a03b5){_0x4e44d0[_0x36eafd(0x12a)]<MAX_FAILED_SEND_ATTEMPTS?_0x18ac5f[_0x36eafd(0x113)]['push']({..._0x4e44d0,'number':_0x4e44d0[_0x36eafd(0x12a)]+0x1}):_0x18ac5f[_0x36eafd(0xfb)]['warn'](_0x36eafd(0x13f)+_0x4e44d0['id']+_0x36eafd(0x14e));}}else _0x18ac5f['logger'][_0x36eafd(0x147)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x3f3175+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x21ec5c+_0x36eafd(0x124)+_0x20f045);}else _0x18ac5f[_0x36eafd(0xfb)][_0x36eafd(0x146)](_0x36eafd(0x155)+_0x3f3175+_0x36eafd(0x13b));_0x18ac5f[_0x36eafd(0x113)][_0x36eafd(0xff)]>0x0&&(_0x18ac5f[_0x36eafd(0x183)]=setTimeout(()=>_0x18ac5f['transmitBreakpointUpdates'][_0x36eafd(0x189)](_0x18ac5f)(_0x58ef43),0x0));},0x28);}catch(_0x11abdc){this[_0x376421(0xfb)][_0x376421(0x147)](_0x376421(0x157)+_0x3f3175+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x11abdc+_0x376421(0x176)+_0x11abdc[_0x376421(0x101)]?.[_0x376421(0x108)]),_0x18ac5f[_0x376421(0x113)][_0x376421(0xff)]>0x0&&(_0x18ac5f[_0x376421(0x183)]=setTimeout(()=>_0x18ac5f[_0x376421(0x168)]['bind'](_0x18ac5f)(_0x58ef43),0x0));}}async[a6_0x5d3f1c(0x14d)](_0xf16c1){const _0x1e6145=a6_0x5d3f1c;this[_0x1e6145(0xfb)][_0x1e6145(0x146)](_0x1e6145(0x133));const _0x202068=this[_0x1e6145(0x145)]+encodeURIComponent(_0xf16c1)+_0x1e6145(0x184),{error:_0x21b56d,data:_0x3291a4}=await this['makeRequest']({'uri':_0x202068,'json':!![]});if(_0x21b56d)return Promise[_0x1e6145(0x156)](_0x21b56d);return yaml[_0x1e6145(0x14c)](_0x3291a4)||{};}[a6_0x5d3f1c(0x181)](_0xbefd71,_0x366e7f,_0x3df8a0,_0x4b51f0){const _0x285943=a6_0x5d3f1c,_0x14a8b2={'Content-Type':_0x4b51f0?_0x4b51f0:'application/json','Authorization':_0x285943(0x17c)+this['config'][_0x285943(0x14a)]},_0x156114=axios_1[_0x285943(0x10c)]['CancelToken'][_0x285943(0x137)](),_0x1a0512=_0x3df8a0?_0x3df8a0*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x285943(0xfb)][_0x285943(0xfd)](_0x285943(0x10e)+_0x1a0512);const _0x508df3=setTimeout(()=>{const _0x47a83e=_0x285943;this[_0x47a83e(0xfb)][_0x47a83e(0x147)](_0x47a83e(0x13e)+_0x1a0512+'ms'),_0x156114[_0x47a83e(0x104)]();},_0x1a0512),_0x16d438={'method':_0xbefd71['method'],'url':_0xbefd71[_0x285943(0x12f)],'data':_0xbefd71[_0x285943(0x11d)],'headers':_0x14a8b2,'cancelToken':_0x156114[_0x285943(0xf9)]};return extend(!![],_0x16d438,_0xbefd71),this['axios'][_0x285943(0x103)](_0x16d438)[_0x285943(0xf6)](_0x4ef1d3=>{const _0x5ceea0=_0x285943;return _0x366e7f?.(null,_0x4ef1d3[_0x5ceea0(0x101)],_0x4ef1d3),{'error':null,'data':_0x4ef1d3['data'],'res':_0x4ef1d3};})['catch'](_0x561ab6=>{const _0x3be8ed=_0x285943;return _0x366e7f?.(_0x561ab6,_0x561ab6[_0x3be8ed(0x112)]?.[_0x3be8ed(0x101)],_0x561ab6[_0x3be8ed(0x112)]),{'error':_0x561ab6,'data':_0x561ab6['response']?.[_0x3be8ed(0x101)],'res':_0x561ab6[_0x3be8ed(0x112)]};})[_0x285943(0x16b)](()=>clearTimeout(_0x508df3));}async[a6_0x5d3f1c(0x164)](_0x8b394){const _0x5930be=a6_0x5d3f1c;this[_0x5930be(0xfb)]['info'](_0x5930be(0x15c));const _0x2eea17=this[_0x5930be(0x145)]+encodeURIComponent(_0x8b394)+_0x5930be(0x111),{error:_0x1c218e,data:_0x208061}=await this[_0x5930be(0x181)]({'uri':_0x2eea17,'json':!![]});if(_0x1c218e)return Promise['reject'](_0x1c218e);return _0x208061;}}exports[a6_0x5d3f1c(0x163)]=Controller;function is2xx(_0x2f4e4e){const _0x19bb50=a6_0x5d3f1c;return Math[_0x19bb50(0x177)](_0x2f4e4e/0x64)===0x2;}function getProxyAgent(_0x4f644a,_0x82ec3c){const _0x10f587=a6_0x5d3f1c,_0xd21e4d=_0x4f644a['proxy'];if(!_0xd21e4d?.[_0x10f587(0x18c)])return undefined;if(!_0xd21e4d[_0x10f587(0x171)])return _0x82ec3c[_0x10f587(0x134)](_0x10f587(0x122)),undefined;_0x82ec3c[_0x10f587(0x146)](_0x10f587(0x13d)+_0xd21e4d[_0x10f587(0x18c)]+':'+_0xd21e4d[_0x10f587(0x171)]+_0x10f587(0x165)+(_0xd21e4d[_0x10f587(0x15a)]??''));const _0xab4be=new HttpsProxyAgent({'host':_0xd21e4d[_0x10f587(0x18c)],'port':_0xd21e4d[_0x10f587(0x171)],'auth':_0xd21e4d[_0x10f587(0x15a)]||_0xd21e4d[_0x10f587(0x18b)]?(_0xd21e4d[_0x10f587(0x15a)]??'')+':'+(_0xd21e4d['password']??''):undefined}),_0x2a8f24=_0xab4be['callback']['bind'](_0xab4be),_0x469a12=getHttpsAgentOptions(_0x4f644a,_0x82ec3c);return _0xab4be[_0x10f587(0x195)]=(_0x119ca8,_0x2b0aae)=>{return _0x2a8f24(_0x119ca8,{..._0x2b0aae,..._0x469a12});},_0xab4be;}function getHttpsAgentOptions(_0x3a63d7,_0x147cb6){const _0x59d801=a6_0x5d3f1c,_0x453b68={'checkServerIdentity':(_0x3f1335,_0x278d1e)=>{const _0x5e3182=a6_0x5811;if(_0x3a63d7[_0x5e3182(0x18f)])return undefined;const _0x473b42=(0x0,crypto_1[_0x5e3182(0x128)])(_0x5e3182(0x174))['update'](_0x278d1e['pubkey'])[_0x5e3182(0x16a)]('hex');return _0x3a63d7[_0x5e3182(0x149)][_0x5e3182(0x186)](_0x473b42)?undefined:new Error(_0x5e3182(0x11e));}};let _0x2459fa;if(_0x3a63d7[_0x59d801(0x197)])try{_0x2459fa=(0x0,fs_1['readFileSync'])(_0x3a63d7['caPath'],_0x59d801(0x135));}catch(_0xe0e29c){_0x147cb6[_0x59d801(0x147)](_0x59d801(0x102)+_0x3a63d7[_0x59d801(0x197)]+_0x59d801(0x179));}if(_0x2459fa){const _0x415759=(0x0,tls_1[_0x59d801(0x148)])(_0x453b68);_0x415759[_0x59d801(0x110)]['addCACert'](_0x2459fa),_0x453b68[_0x59d801(0x12d)]=_0x415759;}return _0x453b68;}function a6_0xd03f(){const _0x1268c3=['toBuffer','source','1267436MSZyGq','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','962600UnKFEn','\x20transmitted\x20successfully','assert','Using\x20proxy\x20configuration:\x20','Timeout\x20occurred\x20after\x20','Breakpoint\x20','Transmitting\x20breakpoint\x20updates...','agentLog','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','https','Deregister\x20agent\x20before\x20shutdown','apiUrl','info','warn','createSecureContext','pinnedCerts','lightrunSecret','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','load','getBlocklist','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','register','/deregister/','toString','invalid\x20response\x20body\x20from\x20server','stringify','now','Update\x20for\x20breakpoints\x20','reject','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','9txJLNX','lastLogCollectionTime','username','failed\x20to\x20serialize\x20breakpoint\x20','Getting\x20reductions','axios','WritableStream','./util/utils','Agent','6132CKSlFG','\x20and\x20enqueue\x20to\x20queue','Controller','getRedactions',',\x20username:\x20','2546105dkoSyf','querystring','transmitBreakpointUpdates','should\x20have\x20a\x20registered\x20debuggee','digest','finally','2Rucfez','status','createReadStream','/breakpoints?','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','port','Failed\x20to\x20zip\x20','debuggee','sha256','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20',',\x20Message:\x20','floor','POST','\x22\x20-\x20ignoring\x20it','getJsonStringSizeInBytes','breakpointId:\x20','Bearer\x20','serializedJson','unknown\x20error\x20-\x20request\x20response\x20missing','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','search','makeRequest','/debuggees/','transmissionTimeout','/blacklist?successOnTimeout=true','clearTransmissionTimeout','includes','@google-cloud/common','apiEndpoint','bind','enqueueBreakpointUpdate','password','host','1059325oezFwz','/compressedLogFile/','noCheckCertificate','maxLogFileBytes','deregister','\x20for\x20request\x20id\x20','transmissionBulkMaxNetworkSizeInBytes','__esModule','callback','25993ydhbeU','caPath','create','then','js-yaml','memory-streams','token','extend','logger','config','debug','transmissionBulkMaxSize','length','5290520quutJf','data','Failed\x20to\x20read\x20pem\x20file\x20\x22','request','cancel','(((.+)+)+)+$','sendAgentLogsToServer','push','message','createGzip','waitToken','sendAppOnlyBreakpointHitsToServer','default','map','timeout\x20set\x20to\x20','/appOnlyActionHits/','context','/redaction','response','transmissionQueue','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','unable\x20to\x20register,\x20status\x20','stream','Compressing\x20and\x20sending\x20log\x20file\x20','nextWaitToken','\x20finished\x20with\x20status\x20','3nULIqV','\x20size\x20is\x20','\x20for\x20request\x20','body','Certificate\x20Pinning\x20Failed!','transmissionHardMaxNetworkSizeLimitInBytes','shift','\x20seconds','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','/breakpoints','\x20Error:\x20','crypto','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','defineProperty','createHash','pipeline','number','6nUEuFg','8482145slYVaW','secureContext','/controller','uri','PUT','max','https-proxy-agent','Getting\x20blocklist','error','ascii'];a6_0xd03f=function(){return _0x1268c3;};return a6_0xd03f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x4bff8d=a7_0x3f82;(function(_0x2f3dd1,_0x164958){const _0x1d20a8=a7_0x3f82,_0x46707a=_0x2f3dd1();while(!![]){try{const _0x12dc33=parseInt(_0x1d20a8(0x198))/0x1+-parseInt(_0x1d20a8(0x17e))/0x2*(parseInt(_0x1d20a8(0x188))/0x3)+-parseInt(_0x1d20a8(0x191))/0x4*(parseInt(_0x1d20a8(0x180))/0x5)+parseInt(_0x1d20a8(0x194))/0x6+parseInt(_0x1d20a8(0x189))/0x7+parseInt(_0x1d20a8(0x195))/0x8+-parseInt(_0x1d20a8(0x17d))/0x9;if(_0x12dc33===_0x164958)break;else _0x46707a['push'](_0x46707a['shift']());}catch(_0x5c4733){_0x46707a['push'](_0x46707a['shift']());}}}(a7_0x2d82,0x34e42));const a7_0x233fbf=(function(){let _0xccb4af=!![];return function(_0x5dab29,_0xe3dd43){const _0x28e178=_0xccb4af?function(){const _0x18a335=a7_0x3f82;if(_0xe3dd43){const _0x2e263d=_0xe3dd43[_0x18a335(0x17b)](_0x5dab29,arguments);return _0xe3dd43=null,_0x2e263d;}}:function(){};return _0xccb4af=![],_0x28e178;};}()),a7_0x2000cd=a7_0x233fbf(this,function(){const _0x30c1ce=a7_0x3f82;return a7_0x2000cd[_0x30c1ce(0x18c)]()[_0x30c1ce(0x193)](_0x30c1ce(0x178))[_0x30c1ce(0x18c)]()[_0x30c1ce(0x175)](a7_0x2000cd)['search'](_0x30c1ce(0x178));});a7_0x2000cd();'use strict';Object[a7_0x4bff8d(0x181)](exports,a7_0x4bff8d(0x199),{'value':!![]}),exports[a7_0x4bff8d(0x197)]=void 0x0;const path=require(a7_0x4bff8d(0x192)),status_message_1=require(a7_0x4bff8d(0x18f)),debuggee_1=require(a7_0x4bff8d(0x17c)),createDebuggeeMetadata_1=require(a7_0x4bff8d(0x187)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require('./getPlatform'),createDebuggee=(_0xe5bbef,_0x469ca0,_0x470723,_0x1aaf66,_0x3ff4b8,_0xeed090,_0xe2dab4,_0x2962d7)=>{const _0x3bafc7=a7_0x4bff8d,_0x3f5253=process['cwd'](),_0x4cac0c=path[_0x3bafc7(0x183)](_0x3f5253,process[_0x3bafc7(0x179)][0x1]),_0x508983={'main\x20script':_0x4cac0c,'process.title':process[_0x3bafc7(0x18d)],'node\x20version':process[_0x3bafc7(0x186)][_0x3bafc7(0x17f)],'V8\x20version':process[_0x3bafc7(0x186)]['v8'],'agent.name':_0x1aaf66[_0x3bafc7(0x174)],'agent.version':_0x3ff4b8,'platform':(0x0,getPlatform_1[_0x3bafc7(0x176)])()},_0x2bec27=_0x469ca0['serviceContext'];_0x2bec27&&(typeof _0x2bec27['service']==='string'&&_0x2bec27[_0x3bafc7(0x196)]!=='default'&&(_0x508983[_0x3bafc7(0x18e)]=_0x2bec27[_0x3bafc7(0x196)]),typeof _0x2bec27[_0x3bafc7(0x184)]==='string'&&(_0x508983[_0x3bafc7(0x184)]=_0x2bec27['version']),typeof _0x2bec27[_0x3bafc7(0x177)]==='string'&&(_0x508983[_0x3bafc7(0x185)]=_0x2bec27[_0x3bafc7(0x177)]));const _0x17f4fd=(0x0,createUniquifier_1[_0x3bafc7(0x18a)])(_0x3ff4b8,_0xe5bbef,_0x470723,_0x508983),_0x4db7da=_0x2962d7?new status_message_1[(_0x3bafc7(0x173))](status_message_1['StatusMessage'][_0x3bafc7(0x182)],_0x2962d7,!![]):undefined,_0x585287=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x469ca0,_0xeed090),_0x325e48={'uniquifier':_0x17f4fd,'agentVersion':_0x3ff4b8,'labels':{'metadata':JSON[_0x3bafc7(0x17a)](_0x585287)},'statusMessage':_0x4db7da,'packageInfo':_0x1aaf66,..._0xe2dab4};return _0x470723&&(_0x325e48[_0x3bafc7(0x190)]=[_0x470723]),new debuggee_1[(_0x3bafc7(0x18b))](_0x325e48);};function a7_0x3f82(_0x47f604,_0x19eca7){const _0x2bb60f=a7_0x2d82();return a7_0x3f82=function(_0x2000cd,_0x233fbf){_0x2000cd=_0x2000cd-0x173;let _0x2d82b6=_0x2bb60f[_0x2000cd];return _0x2d82b6;},a7_0x3f82(_0x47f604,_0x19eca7);}function a7_0x2d82(){const _0x82525=['search','2167302uiQhDN','1770600psYrMy','service','createDebuggee','379877CIbdSy','__esModule','StatusMessage','name','constructor','getPlatform','minorVersion_','(((.+)+)+)+$','argv','stringify','apply','../../debuggee','5736123pBQbHo','426824xIHRRU','node','790040HeQdur','defineProperty','UNSPECIFIED','relative','version','minorversion','versions','./createDebuggeeMetadata','3dgjKIg','1840930acGqVF','createUniquifier','Debuggee','toString','title','module','../../client/stackdriver/status-message','sourceContexts','4DDcuMW','path'];a7_0x2d82=function(){return _0x82525;};return a7_0x2d82();}exports[a7_0x4bff8d(0x197)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a8_0x224ff3=a8_0x407a;function a8_0x407a(_0x10ab0f,_0x2256e5){const _0x52fa83=a8_0x236b();return a8_0x407a=function(_0x16404e,_0x43b496){_0x16404e=_0x16404e-0xf3;let _0x236ba8=_0x52fa83[_0x16404e];return _0x236ba8;},a8_0x407a(_0x10ab0f,_0x2256e5);}(function(_0xaa717f,_0x230198){const _0x5845a8=a8_0x407a,_0x4dacbb=_0xaa717f();while(!![]){try{const _0x1287b2=-parseInt(_0x5845a8(0xfa))/0x1+parseInt(_0x5845a8(0xf4))/0x2+parseInt(_0x5845a8(0x103))/0x3+parseInt(_0x5845a8(0xf5))/0x4*(parseInt(_0x5845a8(0x100))/0x5)+-parseInt(_0x5845a8(0xfd))/0x6+-parseInt(_0x5845a8(0xfe))/0x7+parseInt(_0x5845a8(0x10b))/0x8;if(_0x1287b2===_0x230198)break;else _0x4dacbb['push'](_0x4dacbb['shift']());}catch(_0x3c40d0){_0x4dacbb['push'](_0x4dacbb['shift']());}}}(a8_0x236b,0x82c7e));const a8_0x43b496=(function(){let _0x10911b=!![];return function(_0x3134cb,_0x1c6c05){const _0x2fc96a=_0x10911b?function(){const _0x210dc1=a8_0x407a;if(_0x1c6c05){const _0x2492c1=_0x1c6c05[_0x210dc1(0x10a)](_0x3134cb,arguments);return _0x1c6c05=null,_0x2492c1;}}:function(){};return _0x10911b=![],_0x2fc96a;};}()),a8_0x16404e=a8_0x43b496(this,function(){const _0x1dc4a3=a8_0x407a;return a8_0x16404e[_0x1dc4a3(0x108)]()[_0x1dc4a3(0xf9)]('(((.+)+)+)+$')[_0x1dc4a3(0x108)]()[_0x1dc4a3(0xf6)](a8_0x16404e)['search'](_0x1dc4a3(0xf8));});function a8_0x236b(){const _0x1566f6=['16sEGSVM','constructor','map','(((.+)+)+)+$','search','167145eIriFg','metadata','__esModule','1739652Vljekl','7082733VVnYoa','Failed\x20to\x20read\x20metadata\x20file\x20','1159930ncfaWb','tags','filename','1503495oXLuSP','defineProperty','createDebuggeeMetadata','registration','string','toString','utf-8','apply','1884504qNBFun','warn','679824YKaMkC'];a8_0x236b=function(){return _0x1566f6;};return a8_0x236b();}a8_0x16404e();'use strict';Object[a8_0x224ff3(0x104)](exports,a8_0x224ff3(0xfc),{'value':!![]}),exports[a8_0x224ff3(0x105)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0xfee64c,_0x5a12fb)=>{const _0x11d6ee=a8_0x224ff3;let _0x43a653={'registration':{}};if(_0xfee64c[_0x11d6ee(0xfb)]?.['filename'])try{_0x43a653=JSON['parse'](fs['readFileSync'](_0xfee64c[_0x11d6ee(0xfb)][_0x11d6ee(0x102)],_0x11d6ee(0x109)));}catch(_0x174020){_0x5a12fb[_0x11d6ee(0xf3)](_0x11d6ee(0xff)+_0xfee64c['metadata'][_0x11d6ee(0x102)],_0x174020);}return _0x43a653['registration']=extend(!![],{},_0xfee64c[_0x11d6ee(0xfb)]?.[_0x11d6ee(0x106)],_0x43a653['registration']),_0x43a653[_0x11d6ee(0x106)]?.[_0x11d6ee(0x101)]&&(_0x43a653['registration'][_0x11d6ee(0x101)]=_0x43a653['registration']['tags'][_0x11d6ee(0xf7)](_0x1054b0=>typeof _0x1054b0===_0x11d6ee(0x107)?{'name':_0x1054b0}:_0x1054b0)),_0x43a653;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x37a3bb=a9_0x56ac;function a9_0x1cc8(){const _0x2712ba=['hex','toString','181363TVkWRo','921237TmNcmr','8605tElrns','crypto','search','7092yPApPN','20545MXyYgv','digest','4177600OyjxRT','204336kBRnMB','constructor','__esModule','sha1','createUniquifier','99BvXLxQ','232RvOOyL','296ZomzFh','stringify','12kozwpM','defineProperty','6hQeFVC'];a9_0x1cc8=function(){return _0x2712ba;};return a9_0x1cc8();}(function(_0x8bbc92,_0x5de651){const _0x598249=a9_0x56ac,_0x28d96a=_0x8bbc92();while(!![]){try{const _0xb3330a=-parseInt(_0x598249(0x1cf))/0x1*(parseInt(_0x598249(0x1df))/0x2)+-parseInt(_0x598249(0x1ce))/0x3+parseInt(_0x598249(0x1dd))/0x4*(parseInt(_0x598249(0x1d3))/0x5)+-parseInt(_0x598249(0x1e1))/0x6*(-parseInt(_0x598249(0x1cd))/0x7)+parseInt(_0x598249(0x1dc))/0x8*(parseInt(_0x598249(0x1d2))/0x9)+parseInt(_0x598249(0x1d5))/0xa+-parseInt(_0x598249(0x1db))/0xb*(parseInt(_0x598249(0x1d6))/0xc);if(_0xb3330a===_0x5de651)break;else _0x28d96a['push'](_0x28d96a['shift']());}catch(_0x1ac154){_0x28d96a['push'](_0x28d96a['shift']());}}}(a9_0x1cc8,0x3f242));const a9_0xd3dfe1=(function(){let _0x580009=!![];return function(_0x631c14,_0x4a3c65){const _0x3a7cfd=_0x580009?function(){if(_0x4a3c65){const _0x334a8b=_0x4a3c65['apply'](_0x631c14,arguments);return _0x4a3c65=null,_0x334a8b;}}:function(){};return _0x580009=![],_0x3a7cfd;};}()),a9_0x550b9a=a9_0xd3dfe1(this,function(){const _0x5398f3=a9_0x56ac;return a9_0x550b9a[_0x5398f3(0x1cc)]()[_0x5398f3(0x1d1)]('(((.+)+)+)+$')[_0x5398f3(0x1cc)]()[_0x5398f3(0x1d7)](a9_0x550b9a)[_0x5398f3(0x1d1)]('(((.+)+)+)+$');});function a9_0x56ac(_0x293238,_0x534992){const _0x3b00a9=a9_0x1cc8();return a9_0x56ac=function(_0x550b9a,_0xd3dfe1){_0x550b9a=_0x550b9a-0x1cb;let _0x1cc804=_0x3b00a9[_0x550b9a];return _0x1cc804;},a9_0x56ac(_0x293238,_0x534992);}a9_0x550b9a();'use strict';Object[a9_0x37a3bb(0x1e0)](exports,a9_0x37a3bb(0x1d8),{'value':!![]}),exports['createUniquifier']=void 0x0;const crypto=require(a9_0x37a3bb(0x1d0)),createUniquifier=(_0x407961,_0x480476,_0x5f5672,_0x3ee7e7)=>{const _0x1d6408=a9_0x37a3bb,_0x4952dd=_0x407961+_0x480476+JSON[_0x1d6408(0x1de)](_0x5f5672)+JSON['stringify'](_0x3ee7e7);return crypto['createHash'](_0x1d6408(0x1d9))['update'](_0x4952dd)[_0x1d6408(0x1d4)](_0x1d6408(0x1cb));};exports[a9_0x37a3bb(0x1da)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x1e96db=a10_0x3422;(function(_0x4994c9,_0x955615){const _0x450a33=a10_0x3422,_0x1febb2=_0x4994c9();while(!![]){try{const _0x2a21da=parseInt(_0x450a33(0x185))/0x1*(parseInt(_0x450a33(0x17f))/0x2)+parseInt(_0x450a33(0x191))/0x3*(-parseInt(_0x450a33(0x18d))/0x4)+parseInt(_0x450a33(0x187))/0x5+parseInt(_0x450a33(0x18b))/0x6*(parseInt(_0x450a33(0x181))/0x7)+-parseInt(_0x450a33(0x186))/0x8*(parseInt(_0x450a33(0x18a))/0x9)+parseInt(_0x450a33(0x18e))/0xa*(parseInt(_0x450a33(0x189))/0xb)+-parseInt(_0x450a33(0x183))/0xc;if(_0x2a21da===_0x955615)break;else _0x1febb2['push'](_0x1febb2['shift']());}catch(_0x376d2f){_0x1febb2['push'](_0x1febb2['shift']());}}}(a10_0x3c1b,0x5fc1b));function a10_0x3422(_0x3f7eba,_0x23ac72){const _0x3d622a=a10_0x3c1b();return a10_0x3422=function(_0x18dc6b,_0x4a36ff){_0x18dc6b=_0x18dc6b-0x17e;let _0x3c1bf6=_0x3d622a[_0x18dc6b];return _0x3c1bf6;},a10_0x3422(_0x3f7eba,_0x23ac72);}const a10_0x4a36ff=(function(){let _0x205a37=!![];return function(_0x34bfd1,_0x5f145c){const _0x130074=_0x205a37?function(){const _0x1edfba=a10_0x3422;if(_0x5f145c){const _0x3707f9=_0x5f145c[_0x1edfba(0x192)](_0x34bfd1,arguments);return _0x5f145c=null,_0x3707f9;}}:function(){};return _0x205a37=![],_0x130074;};}()),a10_0x18dc6b=a10_0x4a36ff(this,function(){const _0x4fbf61=a10_0x3422;return a10_0x18dc6b[_0x4fbf61(0x18c)]()[_0x4fbf61(0x18f)]('(((.+)+)+)+$')[_0x4fbf61(0x18c)]()[_0x4fbf61(0x188)](a10_0x18dc6b)[_0x4fbf61(0x18f)]('(((.+)+)+)+$');});function a10_0x3c1b(){const _0x1238df=['toString','22448CySzWl','419110YuDbxY','search','delimit','141pGvcXh','apply','push','4wBRact','length','42OgSPra','split','8039400jGXbwI','defineProperty','43547NQNxiI','1137160EqExKs','3629375DNSKaT','constructor','121kxBOUr','9ZWwbrx','194088IddFoT'];a10_0x3c1b=function(){return _0x1238df;};return a10_0x3c1b();}a10_0x18dc6b();'use strict';Object[a10_0x1e96db(0x184)](exports,'__esModule',{'value':!![]}),exports[a10_0x1e96db(0x190)]=void 0x0;const delimit=(_0x237517,_0x35e223)=>{const _0x28ba46=a10_0x1e96db,_0x45cd96=_0x237517[_0x28ba46(0x182)](_0x35e223),_0xa66763=[];_0xa66763['push'](_0x45cd96[0x0]);for(let _0x314e3e=0x1;_0x314e3e<_0x45cd96[_0x28ba46(0x180)];_0x314e3e++){_0xa66763[_0x28ba46(0x17e)]({'v':_0x35e223},_0x45cd96[_0x314e3e]);}return _0xa66763;};exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x2c1f62=a11_0x3c30;(function(_0xe91af6,_0x1c7fe5){const _0x5e4846=a11_0x3c30,_0x54bbb4=_0xe91af6();while(!![]){try{const _0x5eb55f=-parseInt(_0x5e4846(0x1b8))/0x1+parseInt(_0x5e4846(0x1b5))/0x2+-parseInt(_0x5e4846(0x1ab))/0x3*(-parseInt(_0x5e4846(0x1af))/0x4)+-parseInt(_0x5e4846(0x1ad))/0x5*(parseInt(_0x5e4846(0x1ac))/0x6)+parseInt(_0x5e4846(0x1ae))/0x7*(parseInt(_0x5e4846(0x1b3))/0x8)+-parseInt(_0x5e4846(0x1ba))/0x9+parseInt(_0x5e4846(0x1a8))/0xa*(parseInt(_0x5e4846(0x1b0))/0xb);if(_0x5eb55f===_0x1c7fe5)break;else _0x54bbb4['push'](_0x54bbb4['shift']());}catch(_0x2c63e7){_0x54bbb4['push'](_0x54bbb4['shift']());}}}(a11_0x27a3,0xc482b));const a11_0x3c4a25=(function(){let _0x1debab=!![];return function(_0x3ef290,_0x5a7037){const _0x5337b9=_0x1debab?function(){const _0x56d779=a11_0x3c30;if(_0x5a7037){const _0x3b9e65=_0x5a7037[_0x56d779(0x1bd)](_0x3ef290,arguments);return _0x5a7037=null,_0x3b9e65;}}:function(){};return _0x1debab=![],_0x5337b9;};}()),a11_0xb4aed5=a11_0x3c4a25(this,function(){const _0x1300da=a11_0x3c30;return a11_0xb4aed5[_0x1300da(0x1b2)]()[_0x1300da(0x1bc)](_0x1300da(0x1b4))[_0x1300da(0x1b2)]()[_0x1300da(0x1a7)](a11_0xb4aed5)[_0x1300da(0x1bc)]('(((.+)+)+)+$');});function a11_0x27a3(){const _0x3c0af1=['constructor','3910fYImnX','join','__esModule','209919HzgLpf','21786pCfieJ','865JNYeHd','217qhnBrs','16IvnfuN','54857mZRPgd','substring','toString','56968mvopuf','(((.+)+)+)+$','1407304kkWKvn','length','format','315767VqEJkk','./tokenize','12648375peBxKb','defineProperty','search','apply'];a11_0x27a3=function(){return _0x3c0af1;};return a11_0x27a3();}a11_0xb4aed5();function a11_0x3c30(_0x434975,_0x7d3062){const _0xc08fb4=a11_0x27a3();return a11_0x3c30=function(_0xb4aed5,_0x3c4a25){_0xb4aed5=_0xb4aed5-0x1a7;let _0x27a3c0=_0xc08fb4[_0xb4aed5];return _0x27a3c0;},a11_0x3c30(_0x434975,_0x7d3062);}'use strict';Object[a11_0x2c1f62(0x1bb)](exports,a11_0x2c1f62(0x1aa),{'value':!![]}),exports[a11_0x2c1f62(0x1b7)]=void 0x0;const tokenize_1=require(a11_0x2c1f62(0x1b9)),format=(_0x385d0a,_0x1561c6)=>{const _0x2d4e68=a11_0x2c1f62,_0x1c770e=(0x0,tokenize_1['tokenize'])(_0x385d0a,_0x1561c6['length']);for(let _0xc07484=0x0;_0xc07484<_0x1c770e[_0x2d4e68(0x1b6)];_0xc07484++){if(!_0x1c770e[_0xc07484]['v'])continue;if(_0x1c770e[_0xc07484]['v']==='$$'){_0x1c770e[_0xc07484]='$';continue;}for(let _0x807ba4=0x0;_0x807ba4<_0x1561c6[_0x2d4e68(0x1b6)];_0x807ba4++){if(_0x1c770e[_0xc07484]['v']==='$'+_0x807ba4){let _0x226e76=_0x1561c6[_0x807ba4];/^".*"$/['test'](_0x226e76)&&(_0x226e76=_0x226e76[_0x2d4e68(0x1b1)](0x1,_0x226e76[_0x2d4e68(0x1b6)]-0x1));_0x1c770e[_0xc07484]=_0x226e76;break;}}}return _0x1c770e[_0x2d4e68(0x1a9)]('');};exports[a11_0x2c1f62(0x1b7)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x58324e=a12_0x4c82;(function(_0x2eb13f,_0x111bc8){const _0x110b8e=a12_0x4c82,_0x4b147d=_0x2eb13f();while(!![]){try{const _0x51962d=-parseInt(_0x110b8e(0x10f))/0x1*(-parseInt(_0x110b8e(0x11f))/0x2)+-parseInt(_0x110b8e(0x105))/0x3*(parseInt(_0x110b8e(0x11c))/0x4)+-parseInt(_0x110b8e(0x11b))/0x5*(parseInt(_0x110b8e(0x118))/0x6)+-parseInt(_0x110b8e(0x106))/0x7*(-parseInt(_0x110b8e(0x122))/0x8)+parseInt(_0x110b8e(0x110))/0x9+parseInt(_0x110b8e(0x112))/0xa+-parseInt(_0x110b8e(0x113))/0xb*(parseInt(_0x110b8e(0x129))/0xc);if(_0x51962d===_0x111bc8)break;else _0x4b147d['push'](_0x4b147d['shift']());}catch(_0x9aac63){_0x4b147d['push'](_0x4b147d['shift']());}}}(a12_0x1a3c,0x353ae));const a12_0x16c4ae=(function(){let _0xc63c11=!![];return function(_0x286570,_0x5d96ac){const _0x190290=_0xc63c11?function(){const _0x18624c=a12_0x4c82;if(_0x5d96ac){const _0x37edd5=_0x5d96ac[_0x18624c(0x116)](_0x286570,arguments);return _0x5d96ac=null,_0x37edd5;}}:function(){};return _0xc63c11=![],_0x190290;};}()),a12_0xe6feab=a12_0x16c4ae(this,function(){const _0x5362d8=a12_0x4c82;return a12_0xe6feab[_0x5362d8(0xfc)]()['search'](_0x5362d8(0x119))[_0x5362d8(0xfc)]()[_0x5362d8(0x114)](a12_0xe6feab)[_0x5362d8(0xf9)]('(((.+)+)+)+$');});a12_0xe6feab();'use strict';Object[a12_0x58324e(0x101)](exports,a12_0x58324e(0x117),{'value':!![]}),exports[a12_0x58324e(0x120)]=void 0x0;const properties=require(a12_0x58324e(0x104)),fs=require('fs'),getAgentConfig=_0x4c6597=>{const _0x507fec=a12_0x58324e;if(fs[_0x507fec(0x128)](_0x4c6597)){const _0x1f4390=properties['of'](_0x4c6597);return{'lightrunSecret':_0x1f4390[_0x507fec(0x121)](_0x507fec(0x10a)),'apiEndpoint':_0x1f4390['getFirst'](_0x507fec(0x109)),'breakpointExpirationSec':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0x102)),'transmissionBulkMaxSize':_0x1f4390['getInt'](_0x507fec(0x10d)),'noCheckCertificate':_0x1f4390[_0x507fec(0x127)](_0x507fec(0xfe)),'pinnedCerts':_0x1f4390[_0x507fec(0x121)]('pinned_certs')?.[_0x507fec(0x111)](','),'metadata':{'filename':_0x1f4390['getFirst']('agent_regmetadata_file')},'capture':{'maxFrames':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0x124)),'maxDataSize':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0x11a)),'maxSnapshotBufferSize':_0x1f4390['getInt'](_0x507fec(0x11a)),'maxVariableSize':_0x1f4390[_0x507fec(0x10e)]('max_variable_size'),'maxWatchListVariableSize':_0x1f4390[_0x507fec(0x10e)]('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0x125)),'agentLogTargetDir':_0x1f4390[_0x507fec(0x121)](_0x507fec(0x107)),'agentLogLevel':_0x1f4390['getFirst'](_0x507fec(0x126)),'agentLogMaxFileCount':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0xfa)),'agentLogMaxFileSizeMb':_0x1f4390['getInt'](_0x507fec(0x115)),'maxLogFileBytes':_0x1f4390['getInt'](_0x507fec(0x11d))},'quota':{'ignoreQuota':_0x1f4390[_0x507fec(0x127)](_0x507fec(0xff)),'maxCPUCost':_0x1f4390[_0x507fec(0x108)](_0x507fec(0x103)),'maxConditionCost':_0x1f4390['getFloat']('max_condition_cost'),'maxDynamicLogRate':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0xfd)),'maxDynamicLogByteRate':_0x1f4390[_0x507fec(0x10e)](_0x507fec(0x10c)),'quotaRecoverySeconds':_0x1f4390[_0x507fec(0x10e)]('dynamic_log_quota_recovery_ms')&&_0x1f4390[_0x507fec(0x10e)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x1f4390['getBoolean'](_0x507fec(0x10b)),'extraPaths':_0x1f4390[_0x507fec(0x121)]('extra_paths')?.[_0x507fec(0x111)](',')?.[_0x507fec(0x12a)](_0x1bce52=>_0x1bce52[_0x507fec(0x123)]()),'proxy':{'host':_0x1f4390['getFirst'](_0x507fec(0x100)),'port':_0x1f4390['getInt']('proxy_port'),'username':_0x1f4390[_0x507fec(0x121)](_0x507fec(0x11e)),'password':_0x1f4390[_0x507fec(0x121)](_0x507fec(0xfb))}};}return;};function a12_0x4c82(_0x58bb9e,_0x46d65f){const _0x19d362=a12_0x1a3c();return a12_0x4c82=function(_0xe6feab,_0x16c4ae){_0xe6feab=_0xe6feab-0xf9;let _0x1a3cc2=_0x19d362[_0xe6feab];return _0x1a3cc2;},a12_0x4c82(_0x58bb9e,_0x46d65f);}function a12_0x1a3c(){const _0x8f8e86=['agent_log_max_file_count','proxy_password','toString','max_dynamic_log_rate','noCheckCertificate','ignore_quota','proxy_host','defineProperty','breakpoint_expiration_sec','max_log_cpu_cost','java-properties','42981iRYuUx','14854iIuEQJ','agent_log_target_dir','getFloat','apiEndpoint','com.lightrun.secret','fetch_breakpoints_once','max_dynamic_log_bytes_rate','transmission_bulk_max_size','getInt','2QDaODm','2820483AeDzRe','split','2399510InLfBs','714516rxaiHh','constructor','agent_log_max_file_size_mb','apply','__esModule','2261346tsLRnR','(((.+)+)+)+$','max_snapshot_buffer_size','5WIisPe','44PGmaLK','max_log_file_bytes','proxy_username','282878GFeOPM','getAgentConfig','getFirst','664FAbTPx','trim','max_snapshot_frame_count','collect_log_cooldown_ms','agent_log_level','getBoolean','existsSync','48huSfJE','map','search'];a12_0x1a3c=function(){return _0x8f8e86;};return a12_0x1a3c();}exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0xb361fe=a13_0x3c39;function a13_0x3c39(_0x11ec8f,_0x85f95f){const _0x555a38=a13_0x209e();return a13_0x3c39=function(_0x39b6f8,_0x26fdcd){_0x39b6f8=_0x39b6f8-0x162;let _0x209e41=_0x555a38[_0x39b6f8];return _0x209e41;},a13_0x3c39(_0x11ec8f,_0x85f95f);}(function(_0x5c93f9,_0xb85e90){const _0x1ad7f1=a13_0x3c39,_0x4d274a=_0x5c93f9();while(!![]){try{const _0x205332=-parseInt(_0x1ad7f1(0x169))/0x1*(-parseInt(_0x1ad7f1(0x167))/0x2)+-parseInt(_0x1ad7f1(0x16a))/0x3+parseInt(_0x1ad7f1(0x16e))/0x4+parseInt(_0x1ad7f1(0x175))/0x5+parseInt(_0x1ad7f1(0x170))/0x6+parseInt(_0x1ad7f1(0x16d))/0x7*(parseInt(_0x1ad7f1(0x16c))/0x8)+-parseInt(_0x1ad7f1(0x176))/0x9;if(_0x205332===_0xb85e90)break;else _0x4d274a['push'](_0x4d274a['shift']());}catch(_0x42e999){_0x4d274a['push'](_0x4d274a['shift']());}}}(a13_0x209e,0xd2a39));Object[a13_0xb361fe(0x16b)](exports,a13_0xb361fe(0x162),{'value':!![]}),exports[a13_0xb361fe(0x168)]=exports[a13_0xb361fe(0x16f)]=void 0x0;var Platforms;(function(_0x5baf14){const _0x186fbe=a13_0xb361fe,_0x2e3f07=(function(){let _0x203db4=!![];return function(_0x2a068e,_0x556c90){const _0x3f10f6=_0x203db4?function(){const _0x2fddcc=a13_0x3c39;if(_0x556c90){const _0x507ed4=_0x556c90[_0x2fddcc(0x166)](_0x2a068e,arguments);return _0x556c90=null,_0x507ed4;}}:function(){};return _0x203db4=![],_0x3f10f6;};}()),_0x1362f3=_0x2e3f07(this,function(){const _0x567ce7=a13_0x3c39;return _0x1362f3[_0x567ce7(0x174)]()[_0x567ce7(0x171)]('(((.+)+)+)+$')['toString']()[_0x567ce7(0x173)](_0x1362f3)[_0x567ce7(0x171)](_0x567ce7(0x163));});_0x1362f3(),_0x5baf14[_0x186fbe(0x164)]='cloud_function',_0x5baf14[_0x186fbe(0x172)]=_0x186fbe(0x165);}(Platforms||(exports[a13_0xb361fe(0x16f)]=Platforms={})));const getPlatform=()=>{const _0x450f03=a13_0xb361fe,{FUNCTION_NAME:_0x2ab20b,FUNCTION_TARGET:_0x50bf4e}=process['env'];if(_0x2ab20b||_0x50bf4e)return Platforms[_0x450f03(0x164)];return Platforms[_0x450f03(0x172)];};function a13_0x209e(){const _0x52ba0e=['8rdzXiX','896861roIUoL','3246912EqzSCM','Platforms','9732390SYauju','search','DEFAULT','constructor','toString','2612795vnrSWc','15533928zeqYlZ','__esModule','(((.+)+)+)+$','CLOUD_FUNCTION','default','apply','22614sdkRhE','getPlatform','27FyewWa','2402985owIvcz','defineProperty'];a13_0x209e=function(){return _0x52ba0e;};return a13_0x209e();}exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x4ef36b=a14_0x246a;(function(_0x11b692,_0x4503d5){const _0x3f6af4=a14_0x246a,_0x2ecf99=_0x11b692();while(!![]){try{const _0x5a0756=-parseInt(_0x3f6af4(0x7a))/0x1+-parseInt(_0x3f6af4(0x77))/0x2*(-parseInt(_0x3f6af4(0x6f))/0x3)+parseInt(_0x3f6af4(0x78))/0x4+-parseInt(_0x3f6af4(0x6e))/0x5+-parseInt(_0x3f6af4(0x76))/0x6*(parseInt(_0x3f6af4(0x6d))/0x7)+parseInt(_0x3f6af4(0x72))/0x8+parseInt(_0x3f6af4(0x73))/0x9;if(_0x5a0756===_0x4503d5)break;else _0x2ecf99['push'](_0x2ecf99['shift']());}catch(_0x1fb581){_0x2ecf99['push'](_0x2ecf99['shift']());}}}(a14_0x50a9,0x23aa8));function a14_0x246a(_0x4f2a7d,_0x2afe00){const _0xd80ce6=a14_0x50a9();return a14_0x246a=function(_0x1a3d93,_0x9ec1b3){_0x1a3d93=_0x1a3d93-0x6d;let _0x50a957=_0xd80ce6[_0x1a3d93];return _0x50a957;},a14_0x246a(_0x4f2a7d,_0x2afe00);}const a14_0x9ec1b3=(function(){let _0x24023e=!![];return function(_0x21f4ee,_0x2eb130){const _0x4e8125=_0x24023e?function(){const _0x1f8363=a14_0x246a;if(_0x2eb130){const _0x295cc4=_0x2eb130[_0x1f8363(0x71)](_0x21f4ee,arguments);return _0x2eb130=null,_0x295cc4;}}:function(){};return _0x24023e=![],_0x4e8125;};}()),a14_0x1a3d93=a14_0x9ec1b3(this,function(){const _0x405384=a14_0x246a;return a14_0x1a3d93[_0x405384(0x74)]()[_0x405384(0x7d)](_0x405384(0x75))[_0x405384(0x74)]()[_0x405384(0x79)](a14_0x1a3d93)[_0x405384(0x7d)](_0x405384(0x75));});a14_0x1a3d93();'use strict';function a14_0x50a9(){const _0x3b3a8a=['892025yafnTH','2406mjQgVQ','defineProperty','apply','920576hyDixs','2206287wbhXJS','toString','(((.+)+)+)+$','6nSsNmU','52kCWURd','444236ZEcglg','constructor','108618WTfnsW','push','mapSubtract','search','413105OODejL'];a14_0x50a9=function(){return _0x3b3a8a;};return a14_0x50a9();}Object[a14_0x4ef36b(0x70)](exports,'__esModule',{'value':!![]}),exports[a14_0x4ef36b(0x7c)]=void 0x0;const mapSubtract=(_0x42472f,_0x5dcdba)=>{const _0x326ab7=a14_0x4ef36b,_0x21df63=[];for(const _0x3c13c9 in _0x42472f){!_0x5dcdba[_0x3c13c9]&&_0x21df63[_0x326ab7(0x7b)](_0x42472f[_0x3c13c9]);}return _0x21df63;};exports['mapSubtract']=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a15_0x35d2(_0x4e20b2,_0x342150){const _0x59b7e0=a15_0x26be();return a15_0x35d2=function(_0x302c67,_0x198cae){_0x302c67=_0x302c67-0x9c;let _0x26becc=_0x59b7e0[_0x302c67];return _0x26becc;},a15_0x35d2(_0x4e20b2,_0x342150);}const a15_0x56f260=a15_0x35d2;(function(_0x45b2ed,_0xdac05a){const _0x3fb59f=a15_0x35d2,_0x3a0f5a=_0x45b2ed();while(!![]){try{const _0x16dd0c=parseInt(_0x3fb59f(0xb8))/0x1*(-parseInt(_0x3fb59f(0xd8))/0x2)+-parseInt(_0x3fb59f(0xa2))/0x3+parseInt(_0x3fb59f(0xcb))/0x4*(-parseInt(_0x3fb59f(0xba))/0x5)+-parseInt(_0x3fb59f(0xb1))/0x6*(parseInt(_0x3fb59f(0xc4))/0x7)+parseInt(_0x3fb59f(0xa0))/0x8+-parseInt(_0x3fb59f(0xc8))/0x9+parseInt(_0x3fb59f(0xb4))/0xa;if(_0x16dd0c===_0xdac05a)break;else _0x3a0f5a['push'](_0x3a0f5a['shift']());}catch(_0x4fdcb6){_0x3a0f5a['push'](_0x3a0f5a['shift']());}}}(a15_0x26be,0x8a7e9));const a15_0x198cae=(function(){let _0x36fbe7=!![];return function(_0x2c592b,_0x4f0dfb){const _0x4eebed=_0x36fbe7?function(){const _0xc99600=a15_0x35d2;if(_0x4f0dfb){const _0x45fa03=_0x4f0dfb[_0xc99600(0xbc)](_0x2c592b,arguments);return _0x4f0dfb=null,_0x45fa03;}}:function(){};return _0x36fbe7=![],_0x4eebed;};}()),a15_0x302c67=a15_0x198cae(this,function(){const _0x25ae8b=a15_0x35d2;return a15_0x302c67[_0x25ae8b(0xb3)]()[_0x25ae8b(0x9f)](_0x25ae8b(0xcd))[_0x25ae8b(0xb3)]()['constructor'](a15_0x302c67)['search']('(((.+)+)+)+$');});a15_0x302c67();'use strict';Object['defineProperty'](exports,a15_0x56f260(0xce),{'value':!![]}),exports[a15_0x56f260(0xad)]=exports[a15_0x56f260(0xb7)]=void 0x0;const extend=require(a15_0x56f260(0xda)),config_1=require(a15_0x56f260(0xd2)),utils_1=require(a15_0x56f260(0xb0)),getAgentConfig_1=require(a15_0x56f260(0xa4)),validateConfig=_0x12eeed=>{const _0x1e0c62=a15_0x56f260,_0x57d091={};try{config_1[_0x1e0c62(0xd7)][_0x1e0c62(0xb9)](_0x12eeed,{'abortEarly':![]});}catch(_0xe00cc){_0xe00cc[_0x1e0c62(0xaf)]['filter'](_0x123ee1=>_0x123ee1[_0x1e0c62(0xbe)]&&_0x123ee1[_0x1e0c62(0xa9)])[_0x1e0c62(0xa8)](_0x54aa31=>{const _0xe59a0=_0x1e0c62;_0x57d091[_0x54aa31[_0xe59a0(0xbe)]]=_0x54aa31[_0xe59a0(0xa9)];});}return _0x57d091;};exports['validateConfig']=validateConfig;const normalizeConfig=_0x91645f=>{const _0x2121a8=a15_0x56f260,_0x51d961={'serviceContext':{'service':process[_0x2121a8(0xd5)][_0x2121a8(0xbf)]||process[_0x2121a8(0xd5)][_0x2121a8(0xc7)]||process[_0x2121a8(0xd5)]['K_SERVICE'],'version':process['env'][_0x2121a8(0xd0)]||process[_0x2121a8(0xd5)]['GAE_MODULE_VERSION']||process[_0x2121a8(0xd5)][_0x2121a8(0x9c)],'minorVersion_':process[_0x2121a8(0xd5)]['GAE_DEPLOYMENT_ID']||process[_0x2121a8(0xd5)][_0x2121a8(0xb5)]},'metadata':{'filename':process[_0x2121a8(0xd5)][_0x2121a8(0xca)],'registration':{}},'lightrunSecret':process['env'][_0x2121a8(0xd9)],'apiEndpoint':process[_0x2121a8(0xd5)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x2121a8(0xa1)])(process['env'][_0x2121a8(0xc6)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x2121a8(0xa1)])(process[_0x2121a8(0xd5)][_0x2121a8(0xc1)]),'lightrunWaitForInit':(0x0,utils_1[_0x2121a8(0xa1)])(process[_0x2121a8(0xd5)][_0x2121a8(0xcf)]),'lightrunInitWaitTimeMs':process[_0x2121a8(0xd5)][_0x2121a8(0xdb)],'agentLog':_0x91645f?.[_0x2121a8(0xac)]||{},'proxy':{'host':process['env'][_0x2121a8(0xb2)],'port':parseInt(process['env'][_0x2121a8(0xc3)]||'')||undefined,'username':process[_0x2121a8(0xd5)][_0x2121a8(0xaa)],'password':process['env'][_0x2121a8(0xc9)]}};process[_0x2121a8(0xd5)][_0x2121a8(0xa3)]!==undefined&&(_0x51d961[_0x2121a8(0xac)][_0x2121a8(0xd6)]=process[_0x2121a8(0xd5)][_0x2121a8(0xa3)]);process['env'][_0x2121a8(0x9e)]!==undefined&&(_0x51d961[_0x2121a8(0xac)][_0x2121a8(0xcc)]=process['env'][_0x2121a8(0x9e)]);process['env'][_0x2121a8(0x9d)]!==undefined&&(_0x51d961[_0x2121a8(0xac)]['agentLogTargetDir']=process['env'][_0x2121a8(0x9d)]);process[_0x2121a8(0xd5)][_0x2121a8(0xc5)]!==undefined&&(_0x51d961[_0x2121a8(0xac)][_0x2121a8(0xc2)]=parseInt(process['env'][_0x2121a8(0xc5)]));process['env'][_0x2121a8(0xa6)]!==undefined&&(_0x51d961[_0x2121a8(0xac)]['agentLogMaxFileSizeMb']=parseInt(process[_0x2121a8(0xd5)][_0x2121a8(0xa6)]));process[_0x2121a8(0xd5)][_0x2121a8(0xc0)]&&(_0x51d961['serviceContext'][_0x2121a8(0xd1)]=process[_0x2121a8(0xd5)][_0x2121a8(0xc0)],_0x51d961[_0x2121a8(0xbd)][_0x2121a8(0xa5)]='unversioned');process[_0x2121a8(0xd5)]['LIGHTRUN_TAGS']&&(_0x51d961[_0x2121a8(0xd3)][_0x2121a8(0xbb)]={'tags':process[_0x2121a8(0xd5)][_0x2121a8(0xab)]['split'](',')});const _0x1e4ed0=(0x0,getAgentConfig_1[_0x2121a8(0xb6)])(process[_0x2121a8(0xd5)][_0x2121a8(0xd4)]||_0x91645f?.[_0x2121a8(0xa7)]||config_1[_0x2121a8(0xae)][_0x2121a8(0xa7)]),_0xf47c82=extend(!![],{},config_1['defaultConfig'],_0x1e4ed0,_0x91645f,_0x51d961),_0x14ea9a=(0x0,exports['validateConfig'])(_0xf47c82);return{..._0xf47c82,'errors':_0x14ea9a};};exports['normalizeConfig']=normalizeConfig;function a15_0x26be(){const _0x469f2b=['AGENT_LOG_LEVEL','search','7220600qiJtpb','getBooleanValue','2922459hvuGul','LIGHTRUN_STD_ERR_THRESHOLD','./getAgentConfig','version','AGENT_LOG_MAX_FILE_SIZE_MB','agentConfigFile','forEach','message','LIGHTRUN_PROXY_USERNAME','LIGHTRUN_TAGS','agentLog','normalizeConfig','defaultConfig','inner','../util/utils','23796axrUAz','LIGHTRUN_PROXY_HOST','toString','34562020gJjwLy','GAE_MINOR_VERSION','getAgentConfig','validateConfig','2xoZZxL','validateSync','4590Mcoxut','registration','apply','serviceContext','path','GAE_SERVICE','FUNCTION_NAME','FETCH_BREAKPOINTS_ONCE','agentLogMaxFileCount','LIGHTRUN_PROXY_PORT','1246JYPzsu','AGENT_LOG_MAX_FILE_COUNT','NO_CHECK_CERTIFICATE','GAE_MODULE_NAME','7168599QfrWeb','LIGHTRUN_PROXY_PASSWORD','LIGHTRUN_METADATA_FILE','1016qtcVAC','agentLogLevel','(((.+)+)+)+$','__esModule','LIGHTRUN_WAIT_FOR_INIT','GAE_VERSION','service','../config','metadata','LIGHTRUN_AGENT_CONFIG','env','stdErrThreshold','configSchema','1081720mvDmZe','LIGHTRUN_SECRET','extend','LIGHTRUN_INIT_WAIT_TIME_MS','K_REVISION','AGENT_LOG_TARGET_DIR'];a15_0x26be=function(){return _0x469f2b;};return a15_0x26be();}
|