lightrun 1.48.1 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x1cff(){const _0x3e6dbe=['(((.+)+)+)+$','.%DATE%','getMonth','92SoIxJa','debug','search','transports','752255GfWHnF','1454742rKcAMg','winston-daily-rotate-file','14936rhsOEK','.log','getSeconds','getDate','process','6lacwNq','createLogger','apply','format','constructor','logger','getHours','AGENT_LOG_FILE','warn','427taVZXN','96WukZwB','toUpperCase','8989530VsbvbQ','padStart','388729jcZmCQ','winston','64374iZXkJz','639958UZFFlF','toString','lightrun_nodejs_agent.','info','12eLtOLX','error','getFullYear'];a0_0x1cff=function(){return _0x3e6dbe;};return a0_0x1cff();}const a0_0x301020=a0_0x29f2;(function(_0x5c714f,_0x15071a){const _0x1f6e83=a0_0x29f2,_0x14fc00=_0x5c714f();while(!![]){try{const _0x4f4919=parseInt(_0x1f6e83(0x1db))/0x1*(-parseInt(_0x1f6e83(0x1cd))/0x2)+-parseInt(_0x1f6e83(0x1dd))/0x3*(-parseInt(_0x1f6e83(0x1e8))/0x4)+-parseInt(_0x1f6e83(0x1ec))/0x5*(-parseInt(_0x1f6e83(0x1e2))/0x6)+parseInt(_0x1f6e83(0x1d6))/0x7*(-parseInt(_0x1f6e83(0x1ef))/0x8)+-parseInt(_0x1f6e83(0x1ed))/0x9+parseInt(_0x1f6e83(0x1d9))/0xa+-parseInt(_0x1f6e83(0x1de))/0xb*(-parseInt(_0x1f6e83(0x1d7))/0xc);if(_0x4f4919===_0x15071a)break;else _0x14fc00['push'](_0x14fc00['shift']());}catch(_0x155758){_0x14fc00['push'](_0x14fc00['shift']());}}}(a0_0x1cff,0xaf12d));const a0_0x2503c7=(function(){let _0x412f96=!![];return function(_0x571b6f,_0x2513ce){const _0x3b93fb=_0x412f96?function(){const _0x1a549b=a0_0x29f2;if(_0x2513ce){const _0x2cda15=_0x2513ce[_0x1a549b(0x1cf)](_0x571b6f,arguments);return _0x2513ce=null,_0x2cda15;}}:function(){};return _0x412f96=![],_0x3b93fb;};}()),a0_0x1d4ba2=a0_0x2503c7(this,function(){const _0xc29d31=a0_0x29f2;return a0_0x1d4ba2[_0xc29d31(0x1df)]()['search'](_0xc29d31(0x1e5))['toString']()[_0xc29d31(0x1d1)](a0_0x1d4ba2)[_0xc29d31(0x1ea)]('(((.+)+)+)+$');});a0_0x1d4ba2();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});function a0_0x29f2(_0x16ca3b,_0x42dcf3){const _0x55e236=a0_0x1cff();return a0_0x29f2=function(_0x1d4ba2,_0x2503c7){_0x1d4ba2=_0x1d4ba2-0x1cd;let _0x1cff57=_0x55e236[_0x1d4ba2];return _0x1cff57;},a0_0x29f2(_0x16ca3b,_0x42dcf3);}const winston_1=require(a0_0x301020(0x1dc)),DailyRotateFile=require(a0_0x301020(0x1ee)),process_1=require(a0_0x301020(0x1f3)),{combine,printf,timestamp}=winston_1[a0_0x301020(0x1d0)],{Console}=winston_1[a0_0x301020(0x1eb)],now=new Date();function getLoggerTransport(_0x467d41,_0x15401f,_0x5ae0ca){const _0x395c6d=a0_0x301020;if(_0x467d41)return new DailyRotateFile({'dirname':_0x467d41,'filename':AgentLogger[_0x395c6d(0x1d4)],'datePattern':now[_0x395c6d(0x1e4)]()[_0x395c6d(0x1df)]()+now[_0x395c6d(0x1e7)]()['toString']()[_0x395c6d(0x1da)](0x2,'0')+now[_0x395c6d(0x1f2)]()[_0x395c6d(0x1df)]()[_0x395c6d(0x1da)](0x2,'0')+'-'+now[_0x395c6d(0x1d3)]()[_0x395c6d(0x1df)]()[_0x395c6d(0x1da)](0x2,'0')+now['getMinutes']()[_0x395c6d(0x1df)]()['padStart'](0x2,'0')+now[_0x395c6d(0x1f1)]()['toString']()[_0x395c6d(0x1da)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger['AGENT_LOG_FILE'],'maxSize':_0x15401f+'m','maxFiles':_0x5ae0ca,'extension':_0x395c6d(0x1f0)});return new Console();}class AgentLogger{constructor(_0xc93314,_0x30c41b,_0x265b7d,_0x26c61f,_0x493926){const _0x489d98=a0_0x301020;this[_0x489d98(0x1d2)]=(0x0,winston_1[_0x489d98(0x1ce)])({'level':_0x26c61f,'transports':[getLoggerTransport(_0xc93314,_0x30c41b,_0x265b7d),new Console({'level':_0x493926,'stderrLevels':[_0x489d98(0x1e9),_0x489d98(0x1e1),_0x489d98(0x1d5),_0x489d98(0x1e3)]})],'format':combine(timestamp(),printf(({level:_0x1eaffe,message:_0x1aee60,timestamp:_0x2d28e7})=>{const _0x3135cb=_0x489d98;return _0x2d28e7+'\x20['+_0x1eaffe[_0x3135cb(0x1d8)]()+']\x20-\x20'+_0x1aee60;}),winston_1[_0x489d98(0x1d0)]['json']())});}static[a0_0x301020(0x1ce)](_0x339b2f,_0x29d0d7,_0x4737a7,_0x237530,_0x4b3fba){return new AgentLogger(_0x339b2f,_0x29d0d7,_0x4737a7,_0x237530,_0x4b3fba);}[a0_0x301020(0x1e9)](..._0x2a6cd9){const _0xa12ba5=a0_0x301020;this[_0xa12ba5(0x1d2)][_0xa12ba5(0x1e9)](_0x2a6cd9);}['info'](..._0x24ca87){const _0x4fa0a2=a0_0x301020;this[_0x4fa0a2(0x1d2)][_0x4fa0a2(0x1e1)](_0x24ca87);}['warn'](..._0x51da31){const _0x40204d=a0_0x301020;this[_0x40204d(0x1d2)][_0x40204d(0x1d5)](_0x51da31);}[a0_0x301020(0x1e3)](..._0x31220b){this['logger']['error'](_0x31220b);}}AgentLogger[a0_0x301020(0x1d4)]=a0_0x301020(0x1e0)+process_1['pid']+a0_0x301020(0x1e6),exports['default']=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x291047=a1_0x31a5;(function(_0x45874e,_0x5b35e0){const _0x42ca3d=a1_0x31a5,_0x4d692f=_0x45874e();while(!![]){try{const _0x3e917d=-parseInt(_0x42ca3d(0x177))/0x1*(parseInt(_0x42ca3d(0x16b))/0x2)+-parseInt(_0x42ca3d(0x172))/0x3*(-parseInt(_0x42ca3d(0x175))/0x4)+-parseInt(_0x42ca3d(0x16f))/0x5+parseInt(_0x42ca3d(0x162))/0x6+parseInt(_0x42ca3d(0x176))/0x7+-parseInt(_0x42ca3d(0x166))/0x8*(-parseInt(_0x42ca3d(0x169))/0x9)+parseInt(_0x42ca3d(0x173))/0xa;if(_0x3e917d===_0x5b35e0)break;else _0x4d692f['push'](_0x4d692f['shift']());}catch(_0x24f4a2){_0x4d692f['push'](_0x4d692f['shift']());}}}(a1_0x3a70,0x5798e));const a1_0x1017e3=(function(){let _0x2023e4=!![];return function(_0x5bc452,_0x4917a4){const _0x1b3485=_0x2023e4?function(){const _0x13107b=a1_0x31a5;if(_0x4917a4){const _0x4bdf83=_0x4917a4[_0x13107b(0x165)](_0x5bc452,arguments);return _0x4917a4=null,_0x4bdf83;}}:function(){};return _0x2023e4=![],_0x1b3485;};}()),a1_0x522c9b=a1_0x1017e3(this,function(){const _0x4e40f1=a1_0x31a5;return a1_0x522c9b[_0x4e40f1(0x16a)]()[_0x4e40f1(0x16c)]('(((.+)+)+)+$')[_0x4e40f1(0x16a)]()[_0x4e40f1(0x160)](a1_0x522c9b)[_0x4e40f1(0x16c)]('(((.+)+)+)+$');});a1_0x522c9b();'use strict';function a1_0x3a70(){const _0x3bebfa=['BlocklistingPatterns','1898005yzTPkT','some','match','195lKPhaT','2524720kwMiDy','__esModule','17716NYuvqd','2215584wIlkLn','99593LVQEYM','patterns','constructor','push','759636MMrCax','matches','length','apply','5304mzIKes','inversePatterns','forEach','729euYtmd','toString','6TiXRTc','search','substring'];a1_0x3a70=function(){return _0x3bebfa;};return a1_0x3a70();}Object['defineProperty'](exports,a1_0x291047(0x174),{'value':!![]}),exports[a1_0x291047(0x16e)]=void 0x0;class BlocklistingPatterns{constructor(_0x380a45){const _0x2de720=a1_0x291047;this[_0x2de720(0x167)]=[],this[_0x2de720(0x178)]=[],_0x380a45&&_0x380a45[_0x2de720(0x168)](_0x17ecab=>{const _0x19b4ca=_0x2de720;_0x17ecab&&(_0x17ecab[0x0]==='!'?this['inversePatterns'][_0x19b4ca(0x161)](new RegExp(_0x17ecab[_0x19b4ca(0x16d)](0x1))):this['patterns'][_0x19b4ca(0x161)](new RegExp(_0x17ecab)));});}[a1_0x291047(0x163)](_0x34691a){const _0x4aeea5=a1_0x291047,_0xe940c4=_0x455273=>_0x34691a[_0x4aeea5(0x171)](_0x455273);return this['inversePatterns'][_0x4aeea5(0x164)]!==0x0&&!this[_0x4aeea5(0x167)][_0x4aeea5(0x170)](_0xe940c4)||this[_0x4aeea5(0x178)][_0x4aeea5(0x170)](_0xe940c4);}}function a1_0x31a5(_0x47e784,_0x42554e){const _0x3fee6c=a1_0x3a70();return a1_0x31a5=function(_0x522c9b,_0x1017e3){_0x522c9b=_0x522c9b-0x160;let _0x3a7075=_0x3fee6c[_0x522c9b];return _0x3a7075;},a1_0x31a5(_0x47e784,_0x42554e);}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x59d164=a2_0x71ff;(function(_0x3c3316,_0xe5cee7){var _0x549ece=a2_0x71ff,_0x354b48=_0x3c3316();while(!![]){try{var _0x4c0ecb=-parseInt(_0x549ece(0xa4))/0x1*(parseInt(_0x549ece(0xa2))/0x2)+-parseInt(_0x549ece(0xb5))/0x3+-parseInt(_0x549ece(0xb3))/0x4*(parseInt(_0x549ece(0xa8))/0x5)+parseInt(_0x549ece(0xac))/0x6*(parseInt(_0x549ece(0xad))/0x7)+parseInt(_0x549ece(0xa9))/0x8*(parseInt(_0x549ece(0xaa))/0x9)+parseInt(_0x549ece(0xaf))/0xa*(parseInt(_0x549ece(0xa6))/0xb)+parseInt(_0x549ece(0xa3))/0xc*(parseInt(_0x549ece(0xa7))/0xd);if(_0x4c0ecb===_0xe5cee7)break;else _0x354b48['push'](_0x354b48['shift']());}catch(_0x157cf0){_0x354b48['push'](_0x354b48['shift']());}}}(a2_0x3ae4,0xa3bb8));function a2_0x3ae4(){var _0x2b61db=['29871PNADwp','__esModule','6fkhHFS','8693944FQgFsl','apply','102830OCSMZJ','shouldBlock','defineProperty','toString','2467588YYoDKt','DummyBlocklistManager','1214016pxrinw','value','2ootVUy','12NwoyUP','1009369iDIlOJ','search','374GhEief','8432203awthob','5kTdXzn','1112dAfVRc'];a2_0x3ae4=function(){return _0x2b61db;};return a2_0x3ae4();}var a2_0x5cdfe7=(function(){var _0x2a39fe=!![];return function(_0x4f08e4,_0x27dfc5){var _0x13867f=_0x2a39fe?function(){var _0x5d37ff=a2_0x71ff;if(_0x27dfc5){var _0x5caebd=_0x27dfc5[_0x5d37ff(0xae)](_0x4f08e4,arguments);return _0x27dfc5=null,_0x5caebd;}}:function(){};return _0x2a39fe=![],_0x13867f;};}()),a2_0x22e241=a2_0x5cdfe7(this,function(){var _0x45f3f8=a2_0x71ff;return a2_0x22e241[_0x45f3f8(0xb2)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a2_0x22e241)[_0x45f3f8(0xa5)]('(((.+)+)+)+$');});a2_0x22e241();'use strict';Object[a2_0x59d164(0xb1)](exports,a2_0x59d164(0xab),{'value':!![]}),exports[a2_0x59d164(0xb4)]=void 0x0;function a2_0x71ff(_0x3c3c38,_0x155a70){var _0x578bac=a2_0x3ae4();return a2_0x71ff=function(_0x22e241,_0x5cdfe7){_0x22e241=_0x22e241-0xa1;var _0x3ae45f=_0x578bac[_0x22e241];return _0x3ae45f;},a2_0x71ff(_0x3c3c38,_0x155a70);}class DummyBlocklistManager{constructor(_0x137264){var _0x3b1edb=a2_0x59d164;this[_0x3b1edb(0xa1)]=_0x137264;}[a2_0x59d164(0xb0)](){var _0x527b35=a2_0x59d164;return this[_0x527b35(0xa1)];}}exports[a2_0x59d164(0xb4)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x28e1c8=a3_0xccfd;(function(_0x231a1c,_0x4c5754){const _0xac97d0=a3_0xccfd,_0x21c478=_0x231a1c();while(!![]){try{const _0x505373=-parseInt(_0xac97d0(0xcb))/0x1*(parseInt(_0xac97d0(0xbd))/0x2)+parseInt(_0xac97d0(0xb6))/0x3*(-parseInt(_0xac97d0(0xc9))/0x4)+-parseInt(_0xac97d0(0xbe))/0x5+-parseInt(_0xac97d0(0xca))/0x6*(parseInt(_0xac97d0(0xcc))/0x7)+parseInt(_0xac97d0(0xba))/0x8*(parseInt(_0xac97d0(0xbb))/0x9)+-parseInt(_0xac97d0(0xc3))/0xa*(parseInt(_0xac97d0(0xbc))/0xb)+-parseInt(_0xac97d0(0xc2))/0xc*(-parseInt(_0xac97d0(0xcf))/0xd);if(_0x505373===_0x4c5754)break;else _0x21c478['push'](_0x21c478['shift']());}catch(_0x484164){_0x21c478['push'](_0x21c478['shift']());}}}(a3_0x4ac1,0x56702));const a3_0x4099fc=(function(){let _0x58a64e=!![];return function(_0x5f5354,_0x19f17c){const _0x157df2=_0x58a64e?function(){const _0x5dea2c=a3_0xccfd;if(_0x19f17c){const _0x3598d4=_0x19f17c[_0x5dea2c(0xb8)](_0x5f5354,arguments);return _0x19f17c=null,_0x3598d4;}}:function(){};return _0x58a64e=![],_0x157df2;};}()),a3_0x5ad257=a3_0x4099fc(this,function(){const _0x3e430e=a3_0xccfd;return a3_0x5ad257['toString']()[_0x3e430e(0xd0)](_0x3e430e(0xc8))[_0x3e430e(0xc6)]()['constructor'](a3_0x5ad257)[_0x3e430e(0xd0)](_0x3e430e(0xc8));});a3_0x5ad257();'use strict';Object[a3_0x28e1c8(0xb5)](exports,a3_0x28e1c8(0xb7),{'value':!![]}),exports[a3_0x28e1c8(0xc4)]=void 0x0;const blocklisting_patterns_1=require(a3_0x28e1c8(0xc0)),utils=require(a3_0x28e1c8(0xc5));function a3_0x4ac1(){const _0x34030d=['matches','defineProperty','3AcMNoO','__esModule','apply','blocklistExceptions','24DVwjRA','965727vKFITf','11SjrskO','31642uOcRDp','2350700gCSozK','config','./blocklisting-patterns','stripCurrentWorkingDirectory','24SkMQjJ','6316130nFNPoe','PatternsBlocklistManager','../util/utils','toString','blocklist','(((.+)+)+)+$','1642024WkSQaL','30Mwekvi','31TpIFKs','151543TLjWdo','shouldBlock','isPathInCurrentWorkingDirectory','13930124AXqFqV','search'];a3_0x4ac1=function(){return _0x34030d;};return a3_0x4ac1();}class PatternsBlocklistManager{constructor(_0x2bae8a,_0x1a85c5,_0x1d4af7){const _0x52d8c3=a3_0x28e1c8;this[_0x52d8c3(0xc7)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x2bae8a),this['blocklistExceptions']=new blocklisting_patterns_1['BlocklistingPatterns'](_0x1a85c5),this[_0x52d8c3(0xbf)]=_0x1d4af7;}[a3_0x28e1c8(0xcd)](_0x36019a){const _0xccb296=a3_0x28e1c8;_0x36019a=this['stripWorkingDir'](_0x36019a);if(this[_0xccb296(0xb9)]['matches'](_0x36019a))return![];return this['blocklist'][_0xccb296(0xb4)](_0x36019a);}['stripWorkingDir'](_0x2df15a){const _0xadfc09=a3_0x28e1c8;if(utils[_0xadfc09(0xce)](_0x2df15a,this[_0xadfc09(0xbf)]))return utils[_0xadfc09(0xc1)](_0x2df15a,this[_0xadfc09(0xbf)]);return _0x2df15a;}}function a3_0xccfd(_0x395dcc,_0x1eeb70){const _0x178eba=a3_0x4ac1();return a3_0xccfd=function(_0x5ad257,_0x4099fc){_0x5ad257=_0x5ad257-0xb4;let _0x4ac1c8=_0x178eba[_0x5ad257];return _0x4ac1c8;},a3_0xccfd(_0x395dcc,_0x1eeb70);}exports[a3_0x28e1c8(0xc4)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x177541=a4_0x4bf0;(function(_0x454658,_0x42a5fa){const _0x1e96f7=a4_0x4bf0,_0x14b11e=_0x454658();while(!![]){try{const _0x30fc4b=-parseInt(_0x1e96f7(0x105))/0x1*(parseInt(_0x1e96f7(0x100))/0x2)+-parseInt(_0x1e96f7(0x107))/0x3+-parseInt(_0x1e96f7(0x10e))/0x4*(parseInt(_0x1e96f7(0xee))/0x5)+-parseInt(_0x1e96f7(0xea))/0x6+parseInt(_0x1e96f7(0xfc))/0x7+parseInt(_0x1e96f7(0x103))/0x8+parseInt(_0x1e96f7(0xe7))/0x9;if(_0x30fc4b===_0x42a5fa)break;else _0x14b11e['push'](_0x14b11e['shift']());}catch(_0x334c9e){_0x14b11e['push'](_0x14b11e['shift']());}}}(a4_0x15a6,0x1d915));const a4_0x4f97d6=(function(){let _0x2f783b=!![];return function(_0x3e6c9e,_0x11e6df){const _0x1fc748=_0x2f783b?function(){const _0x1c0a58=a4_0x4bf0;if(_0x11e6df){const _0x43093c=_0x11e6df[_0x1c0a58(0xf9)](_0x3e6c9e,arguments);return _0x11e6df=null,_0x43093c;}}:function(){};return _0x2f783b=![],_0x1fc748;};}()),a4_0x3047a0=a4_0x4f97d6(this,function(){const _0x3dfd23=a4_0x4bf0;return a4_0x3047a0[_0x3dfd23(0xe9)]()[_0x3dfd23(0xf4)](_0x3dfd23(0xe3))['toString']()[_0x3dfd23(0xfe)](a4_0x3047a0)[_0x3dfd23(0xf4)](_0x3dfd23(0xe3));});a4_0x3047a0();'use strict';Object[a4_0x177541(0x104)](exports,a4_0x177541(0xec),{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x177541(0xe8)]=exports['configSchema']=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x177541(0x101));function a4_0x4bf0(_0x317cab,_0x59807f){const _0x21670d=a4_0x15a6();return a4_0x4bf0=function(_0x3047a0,_0x4f97d6){_0x3047a0=_0x3047a0-0xe2;let _0x15a63c=_0x21670d[_0x3047a0];return _0x15a63c;},a4_0x4bf0(_0x317cab,_0x59807f);}exports['configSchema']=(0x0,yup_1[a4_0x177541(0xfa)])()[a4_0x177541(0x10a)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x177541(0xf8)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x177541(0xf8)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x177541(0xf8)])(),'capture':(0x0,yup_1[a4_0x177541(0xfa)])()[a4_0x177541(0x10a)]({'includeNodeModules':(0x0,yup_1[a4_0x177541(0xed)])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxProperties':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxVariableDepth':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxWatchProperties':(0x0,yup_1['number'])(),'maxDataSize':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxStringLength':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x177541(0xf8)])()}),'internal':(0x0,yup_1[a4_0x177541(0xfa)])()[a4_0x177541(0x10a)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1['number'])()}),'forceNewAgent_':(0x0,yup_1[a4_0x177541(0xed)])(),'testMode_':(0x0,yup_1['boolean'])(),'apiEndpoint':(0x0,yup_1[a4_0x177541(0xeb)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1[a4_0x177541(0xfa)])()['shape']({'agentLogTargetDir':(0x0,yup_1[a4_0x177541(0xeb)])(),'agentLogMaxFileSizeMb':(0x0,yup_1['number'])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x177541(0xf8)])(),'agentLogLevel':(0x0,yup_1[a4_0x177541(0xeb)])()['oneOf']([a4_0x177541(0xfd),a4_0x177541(0xf0),a4_0x177541(0xef),a4_0x177541(0x109)]),'stdErrThreshold':(0x0,yup_1[a4_0x177541(0xeb)])()[a4_0x177541(0xe4)]([a4_0x177541(0xfd),a4_0x177541(0xf0),a4_0x177541(0xef),a4_0x177541(0x109),a4_0x177541(0xf3)]),'collectCooldownMs':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x177541(0xeb)])()),'noCheckCertificate':(0x0,yup_1['boolean'])(),'caPath':(0x0,yup_1[a4_0x177541(0xeb)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x177541(0xf8)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1['number'])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x177541(0xf8)])(),'quota':(0x0,yup_1[a4_0x177541(0xfa)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxCPUCost':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x177541(0xf8)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x177541(0xf8)])(),'ignoreQuota':(0x0,yup_1[a4_0x177541(0xed)])(),'quotaRecoverySeconds':(0x0,yup_1['number'])()}),'agentConfigFile':(0x0,yup_1[a4_0x177541(0xeb)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x177541(0xed)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x177541(0xf8)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x177541(0xed)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x177541(0xf8)])(),'extraPaths':(0x0,yup_1[a4_0x177541(0x102)])()['of']((0x0,yup_1[a4_0x177541(0xeb)])()),'redactionEnabled':(0x0,yup_1[a4_0x177541(0xed)])(),'proxy':(0x0,yup_1[a4_0x177541(0xfa)])()['shape']({'host':(0x0,yup_1[a4_0x177541(0xeb)])(),'port':(0x0,yup_1['number'])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x177541(0xeb)])()})}),exports['defaultConfig']={'workingDirectory':process[a4_0x177541(0xe5)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x177541(0xe2)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x177541(0x10d),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x177541(0xf2)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x177541(0xf0),'stdErrThreshold':a4_0x177541(0xf3),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x177541(0xf5)],'noCheckCertificate':![],'caPath':a4_0x177541(0xf7),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x177541(0x106),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x51904c,_0x2b832b)=>{const _0x5d7ccb=a4_0x177541,_0x1459c2=Object[_0x5d7ccb(0xfb)](_0x51904c?.[_0x5d7ccb(0x108)]??[]);_0x1459c2['length']&&_0x1459c2['forEach'](_0x3b9c51=>{const _0x5977ad=_0x5d7ccb;_0x2b832b[_0x5977ad(0x109)](_0x3b9c51);});};function a4_0x15a6(){const _0x58e8a4=['yup','array','3568taddSp','defineProperty','1Dsjoia','agent.config','430314ukkmhX','errors','error','shape','not\x20set!',',\x20\x20\x20the\x20file\x20','app.lightrun.com','807388rdMrAT','.js','(((.+)+)+)+$','oneOf','cwd','DOESN\x27T\x20EXIST','3967902pqquNp','defaultConfig','toString','310026seAAsB','string','__esModule','boolean','5izgIkK','warn','info','existsSync','tmpdir','none','search','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','!!!\x20NOT\x20SET\x20!!!','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','number','apply','object','values','940856LLYWNO','debug','constructor','agentConfigFile','115334jQCQRv'];a4_0x15a6=function(){return _0x58e8a4;};return a4_0x15a6();}function logMainConfigParams(_0x388dd9,_0x270f5d){const _0x3623de=a4_0x177541;let _0x4be390=_0x388dd9[_0x3623de(0xff)];_0x4be390?_0x4be390+=_0x3623de(0x10c)+((0x0,fs_1[_0x3623de(0xf1)])(_0x388dd9[_0x3623de(0xff)])?'exists':_0x3623de(0xe6)):_0x4be390=_0x3623de(0x10b);const _0x9dc1ee={..._0x388dd9,'lightrunSecret':_0x388dd9['lightrunSecret']?'set':_0x3623de(0xf6),'agentConfigFile':_0x4be390};_0x270f5d['debug']('Agent\x20Configuration:\x20',_0x9dc1ee),logConfigErrors(_0x388dd9,_0x270f5d);}exports['logMainConfigParams']=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x3af272=a5_0x5783;(function(_0xa0bce5,_0x211a4a){var _0x436148=a5_0x5783,_0x3cde82=_0xa0bce5();while(!![]){try{var _0x5be916=-parseInt(_0x436148(0xe9))/0x1*(-parseInt(_0x436148(0xdf))/0x2)+parseInt(_0x436148(0xe6))/0x3*(parseInt(_0x436148(0xe3))/0x4)+-parseInt(_0x436148(0xe8))/0x5*(parseInt(_0x436148(0xee))/0x6)+-parseInt(_0x436148(0xef))/0x7*(-parseInt(_0x436148(0xe0))/0x8)+parseInt(_0x436148(0xe4))/0x9*(parseInt(_0x436148(0xed))/0xa)+parseInt(_0x436148(0xdb))/0xb+-parseInt(_0x436148(0xf1))/0xc;if(_0x5be916===_0x211a4a)break;else _0x3cde82['push'](_0x3cde82['shift']());}catch(_0x5af4a7){_0x3cde82['push'](_0x3cde82['shift']());}}}(a5_0x2e96,0x1b0c2));var a5_0x35b2fa=(function(){var _0x485cc7=!![];return function(_0x4785a3,_0x2fbd2b){var _0x105ff5=_0x485cc7?function(){if(_0x2fbd2b){var _0x1605e1=_0x2fbd2b['apply'](_0x4785a3,arguments);return _0x2fbd2b=null,_0x1605e1;}}:function(){};return _0x485cc7=![],_0x105ff5;};}()),a5_0x5c162d=a5_0x35b2fa(this,function(){var _0x3eeaf5=a5_0x5783;return a5_0x5c162d['toString']()[_0x3eeaf5(0xea)](_0x3eeaf5(0xf3))[_0x3eeaf5(0xec)]()[_0x3eeaf5(0xe1)](a5_0x5c162d)[_0x3eeaf5(0xea)](_0x3eeaf5(0xf3));});a5_0x5c162d();'use strict';Object[a5_0x3af272(0xdd)](exports,a5_0x3af272(0xda),{'value':!![]}),exports['ConfigurationProvider']=void 0x0;function a5_0x5783(_0x5ce3ad,_0x16e1ea){var _0x3bb4aa=a5_0x2e96();return a5_0x5783=function(_0x5c162d,_0x35b2fa){_0x5c162d=_0x5c162d-0xda;var _0x2e9624=_0x3bb4aa[_0x5c162d];return _0x2e9624;},a5_0x5783(_0x5ce3ad,_0x16e1ea);}class ConfigurationProvider{constructor(_0x1792b2){this['resolvedDebugAgentConfig']=_0x1792b2;}['getMaxVariableSize'](){var _0x20ee61=a5_0x3af272;return this[_0x20ee61(0xe7)][_0x20ee61(0xf0)][_0x20ee61(0xe2)]||this['resolvedDebugAgentConfig'][_0x20ee61(0xf0)][_0x20ee61(0xdc)];}[a5_0x3af272(0xeb)](){var _0x8bf77e=a5_0x3af272;return this[_0x8bf77e(0xe7)][_0x8bf77e(0xf0)][_0x8bf77e(0xe5)];}['getMaxSnapshotBufferSize'](){var _0x39395c=a5_0x3af272;return this[_0x39395c(0xe7)][_0x39395c(0xf0)]['maxDataSize']||this[_0x39395c(0xe7)][_0x39395c(0xf0)][_0x39395c(0xde)];}['getMaxProperties'](_0x553c98){var _0x3d0137=a5_0x3af272;return _0x553c98?this[_0x3d0137(0xe7)][_0x3d0137(0xf0)]['maxWatchProperties']:this[_0x3d0137(0xe7)][_0x3d0137(0xf0)][_0x3d0137(0xf2)];}}exports['ConfigurationProvider']=ConfigurationProvider;function a5_0x2e96(){var _0x1954cf=['maxProperties','(((.+)+)+)+$','__esModule','473440uymOCc','maxVariableSize','defineProperty','maxSnapshotBufferSize','10472mHmUMd','1690184wEidrd','constructor','maxStringLength','594404VabMJf','14526quxDtP','maxWatchListVariableSize','3GwuZvd','resolvedDebugAgentConfig','13100oLUoAt','24LivOok','search','getMaxWatchListVariableSize','toString','1250McQmRK','438aQqgMS','7bqSRJn','capture','5139384QlWoio'];a5_0x2e96=function(){return _0x1954cf;};return a5_0x2e96();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0xb93df4=a6_0x3e93;function a6_0x48dd(){const _0x33b1cb=['callback','4590808XVMYHY','context','\x20size\x20is\x20','Transmitting\x20breakpoint\x20updates...','username','maxLogFileBytes','failed\x20to\x20serialize\x20breakpoint\x20','js-yaml','token','push','/log/','response','stream','toString','2xlVdSd','transmissionBulkMaxSize','transmissionBulkMaxNetworkSizeInBytes','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','pubkey','Failed\x20to\x20send\x20log\x20file\x20','transmitBreakpointUpdates','81841fdDxLt','\x20transmitted\x20successfully','addCACert','port','/redaction','createSecureContext','Compressing\x20and\x20sending\x20log\x20file\x20','/breakpoints?','update','Breakpoint\x20','transmissionQueue','length','readFileSync','7pTImLk','default','getJsonStringSizeInBytes','3094632yQzkXQ','debug','error','Deregister\x20agent\x20before\x20shutdown','listBreakpoints','breakpoint\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','password','querystring','/debuggees/','./util/utils','10DhFYUE','debuggee','map','stringify','sendBreakpointLogsToServer','proxy','warn','nextWaitToken','/blacklist?successOnTimeout=true','12RTeVjS','max','/controller','transmissionHardMaxNetworkSizeLimitInBytes','Timeout\x20occurred\x20after\x20','cancel','extend','crypto','sendAppOnlyBreakpointHitsToServer','apply','2220515bcqzFZ','host','pinnedCerts','axios','\x20size\x20>\x20max\x20network\x20size\x20:\x20','clearTransmissionTimeout','assert','then','includes','collectCooldownMs','unknown\x20error\x20-\x20request\x20response\x20missing','pipeline','getRedactions','createGzip','deregister','18OVhyUz','message','Successfully\x20sent\x20log\x20file\x20','digest','info','logger','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','data','apiUrl','Controller','https://','/appOnlyActionHits/','3btAnwX','10233743ERsHxs','agentLog','lastLogCollectionTime','config','application/json','secureContext','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','uri','ascii','size','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','constructor','number','transmissionTimeout','242810GRqgVh','getBlocklist','tls','\x20for\x20request\x20','\x20seconds','should\x20have\x20a\x20registered\x20debuggee','(((.+)+)+)+$','unable\x20to\x20register,\x20status\x20','/deregister/',',\x20Message:\x20','1798844iZZMAg','https-proxy-agent','Certificate\x20Pinning\x20Failed!','memory-streams','Update\x20for\x20breakpoints\x20','\x22\x20-\x20ignoring\x20it','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','createHash','serializedJson','ServiceObject','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','\x20Error:\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','floor','statSync','\x20and\x20enqueue\x20to\x20queue','POST','reject','Failed\x20to\x20zip\x20','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','https','register','lightrunSecret','createReadStream','catch','makeRequest','noCheckCertificate','finally','\x20for\x20request\x20id\x20','search','invalid\x20response\x20body\x20from\x20server','bind','toBuffer','sha256','WritableStream','create','status','breakpointId:\x20','\x20finished\x20with\x20status\x20','shift','Failed\x20to\x20read\x20pem\x20file\x20\x22','method',',\x20username:\x20','waitToken','caPath','now'];a6_0x48dd=function(){return _0x33b1cb;};return a6_0x48dd();}(function(_0x37569d,_0x5d39a6){const _0x25a76b=a6_0x3e93,_0x265396=_0x37569d();while(!![]){try{const _0x5166f0=parseInt(_0x25a76b(0x14d))/0x1*(parseInt(_0x25a76b(0x146))/0x2)+-parseInt(_0x25a76b(0x196))/0x3*(-parseInt(_0x25a76b(0x1af))/0x4)+parseInt(_0x25a76b(0x1a5))/0x5*(-parseInt(_0x25a76b(0x18a))/0x6)+parseInt(_0x25a76b(0x15a))/0x7*(parseInt(_0x25a76b(0x138))/0x8)+parseInt(_0x25a76b(0x15d))/0x9+-parseInt(_0x25a76b(0x168))/0xa*(parseInt(_0x25a76b(0x17b))/0xb)+parseInt(_0x25a76b(0x171))/0xc*(-parseInt(_0x25a76b(0x197))/0xd);if(_0x5166f0===_0x5d39a6)break;else _0x265396['push'](_0x265396['shift']());}catch(_0x207913){_0x265396['push'](_0x265396['shift']());}}}(a6_0x48dd,0x4cc79));const a6_0xdc04e1=(function(){let _0x136ad1=!![];return function(_0x543010,_0x392b2b){const _0x2b8a3a=_0x136ad1?function(){const _0x3b8723=a6_0x3e93;if(_0x392b2b){const _0x40849e=_0x392b2b[_0x3b8723(0x17a)](_0x543010,arguments);return _0x392b2b=null,_0x40849e;}}:function(){};return _0x136ad1=![],_0x2b8a3a;};}()),a6_0x15f8ca=a6_0xdc04e1(this,function(){const _0x46e65d=a6_0x3e93;return a6_0x15f8ca[_0x46e65d(0x145)]()[_0x46e65d(0x1cc)](_0x46e65d(0x1ab))[_0x46e65d(0x145)]()[_0x46e65d(0x1a2)](a6_0x15f8ca)['search'](_0x46e65d(0x1ab));});a6_0x15f8ca();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0xb93df4(0x193)]=void 0x0;function a6_0x3e93(_0x4e98fa,_0x1f8165){const _0x41d168=a6_0x48dd();return a6_0x3e93=function(_0x15f8ca,_0xdc04e1){_0x15f8ca=_0x15f8ca-0x127;let _0x48ddd0=_0x41d168[_0x15f8ca];return _0x48ddd0;},a6_0x3e93(_0x4e98fa,_0x1f8165);}const common_1=require('@google-cloud/common'),assert=require(a6_0xb93df4(0x181)),qs=require(a6_0xb93df4(0x165)),fs_1=require('fs'),crypto_1=require(a6_0xb93df4(0x178)),zlib_1=require('zlib'),stream_1=require(a6_0xb93df4(0x144)),memory_streams_1=require(a6_0xb93df4(0x1b2)),tls_1=require(a6_0xb93df4(0x1a7)),extend=require(a6_0xb93df4(0x177)),axios_1=require(a6_0xb93df4(0x17e)),https=require(a6_0xb93df4(0x1c3)),utils_1=require(a6_0xb93df4(0x167)),HttpsProxyAgent=require(a6_0xb93df4(0x1b0)),yaml=require(a6_0xb93df4(0x13f)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0xb93df4(0x1b8)]{constructor(_0x556351,_0x458380,_0x314975){const _0x10b821=a6_0xb93df4;super({'parent':_0x556351,'baseUrl':_0x10b821(0x173)}),this[_0x10b821(0x16f)]=null,this[_0x10b821(0x19a)]=_0x458380,this['transmissionQueue']=[],this[_0x10b821(0x18f)]=_0x314975,this[_0x10b821(0x192)]=_0x10b821(0x194)+_0x458380['apiEndpoint']+_0x10b821(0x166),this[_0x10b821(0x17e)]=axios_1['default'][_0x10b821(0x12c)]({'httpsAgent':getProxyAgent(_0x458380,_0x314975)??new https['Agent'](getHttpsAgentOptions(_0x458380,_0x314975)),'proxy':![]});}[a6_0xb93df4(0x1c4)](_0x50e67b,_0x208af0){const _0x37cbfa=a6_0xb93df4,_0x6d0a66={'uri':this[_0x37cbfa(0x192)]+_0x37cbfa(0x1c4),'method':_0x37cbfa(0x1bf),'json':!![],'body':{'debuggee':_0x50e67b}};this[_0x37cbfa(0x1c8)](_0x6d0a66,(_0x19332b,_0x1bb525,_0x2c0fe3)=>{const _0x5b33b2=_0x37cbfa;if(!_0x2c0fe3)_0x208af0(_0x19332b||new Error(_0x5b33b2(0x185)));else{if(_0x19332b){let _0x4d0f85=![];_0x2c0fe3[_0x5b33b2(0x12d)]===HTTP_UPGRADE_REQUIRED&&_0x1bb525&&(_0x1bb525[_0x5b33b2(0x18b)]!==undefined&&(_0x19332b[_0x5b33b2(0x18b)]=_0x1bb525[_0x5b33b2(0x18b)]),_0x50e67b['id']=_0x1bb525[_0x5b33b2(0x169)]['id'],_0x4d0f85=!![]),_0x208af0(_0x19332b,_0x1bb525,_0x4d0f85);}else{if(_0x2c0fe3[_0x5b33b2(0x12d)]!==HTTP_SUCCESS)_0x208af0(new Error(_0x5b33b2(0x1ac)+_0x2c0fe3[_0x5b33b2(0x12d)]));else!_0x1bb525?.[_0x5b33b2(0x169)]?_0x208af0(new Error(_0x5b33b2(0x127))):(_0x50e67b['id']=_0x1bb525[_0x5b33b2(0x169)]['id'],_0x208af0(null,_0x1bb525));}}});}[a6_0xb93df4(0x161)](_0x3346e0,_0xad08ac,_0x12ce3f){const _0x4ac496=a6_0xb93df4,_0x5c731d=this;assert(_0x3346e0['id'],_0x4ac496(0x1aa));const _0x1502cc={'successOnTimeout':!![]};_0x5c731d[_0x4ac496(0x16f)]&&(_0x1502cc[_0x4ac496(0x134)]=_0x5c731d[_0x4ac496(0x16f)]);const _0x37ad31=this[_0x4ac496(0x192)]+encodeURIComponent(_0x3346e0['id'])+_0x4ac496(0x154)+qs[_0x4ac496(0x16b)](_0x1502cc);_0x5c731d[_0x4ac496(0x1c8)]({'uri':_0x37ad31,'json':!![]},(_0x3bac77,_0x1edc99,_0x1a66f2)=>{const _0x2af5c2=_0x4ac496;if(!_0x1a66f2){_0xad08ac(_0x3bac77||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x1a66f2['status'])){_0xad08ac(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x1a66f2['status']),_0x1a66f2);return;}else _0x1edc99&&(_0x5c731d[_0x2af5c2(0x16f)]=_0x1edc99[_0x2af5c2(0x16f)]),_0xad08ac(null,_0x1a66f2,_0x1edc99);}},_0x12ce3f);}['enqueueBreakpointUpdate'](_0x162470,_0x40ee5a){const _0x3e5016=a6_0xb93df4;assert(_0x162470['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x6371f8=JSON['stringify'](_0x40ee5a),_0x133f0d=(0x0,utils_1[_0x3e5016(0x15c)])(_0x6371f8);if(_0x133f0d>=this[_0x3e5016(0x19a)][_0x3e5016(0x174)]){this[_0x3e5016(0x18f)][_0x3e5016(0x16e)](_0x3e5016(0x12e)+_0x40ee5a['id']+_0x3e5016(0x13a)+_0x133f0d+_0x3e5016(0x19d)+this[_0x3e5016(0x19a)][_0x3e5016(0x174)]);return;}this[_0x3e5016(0x157)][_0x3e5016(0x141)]({'id':_0x40ee5a['id'],'serializedJson':_0x6371f8,'number':0x0});if(!this['transmissionTimeout']){const _0x13487a=this;this[_0x3e5016(0x1a4)]=setTimeout(()=>_0x13487a[_0x3e5016(0x14c)][_0x3e5016(0x128)](_0x13487a)(_0x162470['id']),0x0);}}catch(_0x25934c){this[_0x3e5016(0x18f)]['error'](_0x3e5016(0x13e)+_0x40ee5a['id']+_0x3e5016(0x1be),_0x25934c);return;}}[a6_0xb93df4(0x180)](){const _0x59ecd6=a6_0xb93df4;if(!this[_0x59ecd6(0x1a4)])return;clearTimeout(this[_0x59ecd6(0x1a4)]),this[_0x59ecd6(0x1a4)]=null;}[a6_0xb93df4(0x189)](_0x29e1ee,_0x364efe){const _0x33877e=a6_0xb93df4,_0x4d2596=this[_0x33877e(0x192)]+encodeURIComponent(_0x29e1ee['id'])+_0x33877e(0x1ad),_0x548c6f={'uri':_0x4d2596,'method':'POST','json':!![]};this[_0x33877e(0x18f)]['info'](_0x33877e(0x160)),this['makeRequest'](_0x548c6f,(_0x257bd6,_0x170dd5,_0x1923ca)=>{const _0x16cf42=_0x33877e;(!_0x1923ca||Math[_0x16cf42(0x1bc)](_0x1923ca[_0x16cf42(0x12d)]/0x64)!==0x2)&&this[_0x16cf42(0x18f)][_0x16cf42(0x16e)](_0x16cf42(0x149)+_0x257bd6),_0x364efe(_0x257bd6);});}[a6_0xb93df4(0x16c)](_0x4e38d5,_0x581f98,_0x295258){const _0x1fd658=a6_0xb93df4,_0xe086f8=this[_0x1fd658(0x192)]+encodeURIComponent(_0x4e38d5['id'])+_0x1fd658(0x142),_0x50595c={'uri':_0xe086f8,'method':_0x1fd658(0x1bf),'json':!![],'body':_0x581f98};this[_0x1fd658(0x1c8)](_0x50595c,(_0x3c5e92,_0x1dda1c,_0x59dc4d)=>{const _0x3f5ca1=_0x1fd658;(!_0x59dc4d||Math[_0x3f5ca1(0x1bc)](_0x59dc4d[_0x3f5ca1(0x12d)]/0x64)!==0x2)&&(this[_0x3f5ca1(0x18f)][_0x3f5ca1(0x16e)](_0x3f5ca1(0x1a1)+_0x3c5e92),_0x295258(_0x3c5e92));});}[a6_0xb93df4(0x179)](_0x48fe78,_0x3841b0,_0x59369a){const _0x42784b=a6_0xb93df4,_0x3cc70e=this[_0x42784b(0x192)]+encodeURIComponent(_0x48fe78['id'])+_0x42784b(0x195),_0x2add78={'uri':_0x3cc70e,'method':'POST','json':!![],'body':_0x3841b0};this[_0x42784b(0x1c8)](_0x2add78,(_0x1876e6,_0xe3e7e8,_0xed4baa)=>{const _0x154dab=_0x42784b;(!_0xed4baa||Math['floor'](_0xed4baa[_0x154dab(0x12d)]/0x64)!==0x2)&&(this[_0x154dab(0x18f)][_0x154dab(0x16e)](_0x154dab(0x1c2)+_0x1876e6),_0x59369a(_0x1876e6));});}['sendAgentLogsToServer'](_0x2da457,_0x5d2663,_0x52af08){const _0x429f2a=a6_0xb93df4;assert(_0x2da457['id'],_0x429f2a(0x1aa));if(this[_0x429f2a(0x199)]){const _0x265c11=Date['now'](),_0x2774ee=this[_0x429f2a(0x199)]+this['config']['agentLog'][_0x429f2a(0x184)];if(_0x265c11<_0x2774ee){this[_0x429f2a(0x18f)][_0x429f2a(0x18e)](_0x429f2a(0x1bb)+((_0x2774ee-_0x265c11)/0x3e8+_0x429f2a(0x1a9)));return;}}const _0x554999=(0x0,fs_1[_0x429f2a(0x1bd)])(_0x52af08)[_0x429f2a(0x1a0)],_0x487192=Math[_0x429f2a(0x172)](0x0,_0x554999-this[_0x429f2a(0x19a)][_0x429f2a(0x198)][_0x429f2a(0x13d)]),_0x1d37e0=(0x0,fs_1[_0x429f2a(0x1c6)])(_0x52af08,{'start':_0x487192}),_0x2411a2=(0x0,zlib_1[_0x429f2a(0x188)])(),_0x35d92b=new memory_streams_1[(_0x429f2a(0x12b))](),_0x5e857c=this;_0x5e857c[_0x429f2a(0x18f)][_0x429f2a(0x18e)](_0x429f2a(0x153)+_0x52af08+_0x429f2a(0x1cb)+_0x5d2663),(0x0,stream_1[_0x429f2a(0x186)])(_0x1d37e0,_0x2411a2,_0x35d92b,_0x16313a=>{const _0x4cb9bc=_0x429f2a;if(_0x16313a)_0x5e857c[_0x4cb9bc(0x18f)][_0x4cb9bc(0x15f)](_0x4cb9bc(0x1c1)+_0x52af08+':\x20'+_0x16313a);else{const _0x25b026={'uri':this[_0x4cb9bc(0x192)]+encodeURIComponent(_0x2da457['id'])+'/compressedLogFile/'+_0x5d2663,'method':'PUT','body':_0x35d92b[_0x4cb9bc(0x129)]()};_0x5e857c[_0x4cb9bc(0x1c8)](_0x25b026,_0x1e068e=>{const _0x2b6066=_0x4cb9bc;_0x1e068e?_0x5e857c['logger'][_0x2b6066(0x15f)](_0x2b6066(0x14b)+_0x52af08+_0x2b6066(0x1a8)+_0x5d2663,_0x1e068e):(_0x5e857c['logger'][_0x2b6066(0x18e)](_0x2b6066(0x18c)+_0x52af08+'\x20for\x20request\x20'+_0x5d2663),_0x5e857c[_0x2b6066(0x199)]=Date[_0x2b6066(0x136)]());});}});}[a6_0xb93df4(0x14c)](_0x329af3){const _0x347c0f=a6_0xb93df4;this['logger'][_0x347c0f(0x15e)](_0x347c0f(0x13b)),this[_0x347c0f(0x1a4)]=undefined;const _0xe152e0=[];let _0x49b5b2=0x0;while(_0xe152e0[_0x347c0f(0x158)]<this['config'][_0x347c0f(0x147)]&&this[_0x347c0f(0x157)][_0x347c0f(0x158)]>0x0){const _0x4f29f0=this[_0x347c0f(0x157)][0x0],_0xb8a708=_0x4f29f0[_0x347c0f(0x1b7)],_0x225774=(0x0,utils_1[_0x347c0f(0x15c)])(_0xb8a708);_0x49b5b2+=_0x225774;if(_0x49b5b2<=this[_0x347c0f(0x19a)][_0x347c0f(0x148)])_0xe152e0[_0x347c0f(0x141)](_0x4f29f0),this[_0x347c0f(0x157)][_0x347c0f(0x130)]();else{_0x225774>this[_0x347c0f(0x19a)][_0x347c0f(0x148)]&&_0xe152e0[_0x347c0f(0x158)]===0x0&&(this['logger'][_0x347c0f(0x15e)](_0x347c0f(0x162)+_0x4f29f0['id']+_0x347c0f(0x17f)+this['config'][_0x347c0f(0x148)]+',\x20sending\x20only\x20one'),_0xe152e0[_0x347c0f(0x141)](_0x4f29f0),this['transmissionQueue'][_0x347c0f(0x130)]());break;}}if(!_0xe152e0)return;const _0x4ccb90=_0xe152e0[_0x347c0f(0x16a)](_0x3de8fb=>_0x3de8fb['id']),_0x4739de={'uri':this[_0x347c0f(0x192)]+encodeURIComponent(_0x329af3)+'/breakpoints','json':!![],'method':'PUT','body':'['+_0xe152e0[_0x347c0f(0x16a)](_0x4a31ce=>_0x4a31ce['serializedJson'])['join'](',')+']'},_0x171f47=this;try{this[_0x347c0f(0x1c8)](_0x4739de,(_0x49ab11,_0xa9c7da,_0x22134a)=>{const _0x13e96d=_0x347c0f,_0x2a744d=_0x22134a?.[_0x13e96d(0x12d)];_0x171f47[_0x13e96d(0x18f)][_0x13e96d(0x15e)](_0x13e96d(0x1b3)+_0x4ccb90+_0x13e96d(0x12f)+_0x2a744d);if(_0x49ab11||!_0x2a744d||Math[_0x13e96d(0x1bc)](_0x2a744d/0x64)!==0x2){const _0x50b8ec=_0x2a744d&&(_0x2a744d>=0x1f4||_0x2a744d===0x198);if(_0x50b8ec){_0x171f47[_0x13e96d(0x18f)][_0x13e96d(0x16e)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x4ccb90+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2a744d+'\x20Error:\x20'+_0x49ab11);for(const _0x4efd16 of _0xe152e0){_0x4efd16[_0x13e96d(0x1a3)]<MAX_FAILED_SEND_ATTEMPTS?_0x171f47[_0x13e96d(0x157)][_0x13e96d(0x141)]({..._0x4efd16,'number':_0x4efd16[_0x13e96d(0x1a3)]+0x1}):_0x171f47[_0x13e96d(0x18f)][_0x13e96d(0x16e)](_0x13e96d(0x156)+_0x4efd16['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x171f47[_0x13e96d(0x18f)]['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x4ccb90+_0x13e96d(0x190)+_0x2a744d+_0x13e96d(0x1ba)+_0x49ab11);}else _0x171f47['logger'][_0x13e96d(0x18e)](_0x13e96d(0x1b3)+_0x4ccb90+_0x13e96d(0x14e));_0x171f47[_0x13e96d(0x157)]['length']>0x0&&(_0x171f47['transmissionTimeout']=setTimeout(()=>_0x171f47[_0x13e96d(0x14c)][_0x13e96d(0x128)](_0x171f47)(_0x329af3),0x0));},0x28);}catch(_0x239436){this[_0x347c0f(0x18f)][_0x347c0f(0x16e)](_0x347c0f(0x1b9)+_0x4ccb90+_0x347c0f(0x163)+_0x239436+_0x347c0f(0x1ae)+_0x239436[_0x347c0f(0x191)]?.['message']),_0x171f47['transmissionQueue'][_0x347c0f(0x158)]>0x0&&(_0x171f47[_0x347c0f(0x1a4)]=setTimeout(()=>_0x171f47[_0x347c0f(0x14c)][_0x347c0f(0x128)](_0x171f47)(_0x329af3),0x0));}}async[a6_0xb93df4(0x1a6)](_0x163983){const _0x358936=a6_0xb93df4;this[_0x358936(0x18f)]['info']('Getting\x20blocklist');const _0x79bcc1=this[_0x358936(0x192)]+encodeURIComponent(_0x163983)+_0x358936(0x170),{error:_0x271d4f,data:_0x2a371e}=await this[_0x358936(0x1c8)]({'uri':_0x79bcc1,'json':!![]});if(_0x271d4f)return Promise[_0x358936(0x1c0)](_0x271d4f);return yaml['load'](_0x2a371e)||{};}[a6_0xb93df4(0x1c8)](_0x528bc0,_0x4d188e,_0x240a18,_0x45b417){const _0x91bfc5=a6_0xb93df4,_0x1cadd9={'Content-Type':_0x45b417?_0x45b417:_0x91bfc5(0x19b),'Authorization':'Bearer\x20'+this[_0x91bfc5(0x19a)][_0x91bfc5(0x1c5)]},_0x1f288d=axios_1[_0x91bfc5(0x15b)]['CancelToken']['source'](),_0x22ecff=_0x240a18?_0x240a18*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this['logger'][_0x91bfc5(0x15e)]('timeout\x20set\x20to\x20'+_0x22ecff);const _0x18709b=setTimeout(()=>{const _0x2f2ec9=_0x91bfc5;this[_0x2f2ec9(0x18f)][_0x2f2ec9(0x16e)](_0x2f2ec9(0x175)+_0x22ecff+'ms'),_0x1f288d[_0x2f2ec9(0x176)]();},_0x22ecff),_0x16cfeb={'method':_0x528bc0[_0x91bfc5(0x132)],'url':_0x528bc0[_0x91bfc5(0x19e)],'data':_0x528bc0['body'],'headers':_0x1cadd9,'cancelToken':_0x1f288d[_0x91bfc5(0x140)]};return extend(!![],_0x16cfeb,_0x528bc0),this[_0x91bfc5(0x17e)]['request'](_0x16cfeb)[_0x91bfc5(0x182)](_0x29930f=>{const _0x5a9a82=_0x91bfc5;return _0x4d188e?.(null,_0x29930f[_0x5a9a82(0x191)],_0x29930f),{'error':null,'data':_0x29930f['data'],'res':_0x29930f};})[_0x91bfc5(0x1c7)](_0xfb1bd1=>{const _0x2499d6=_0x91bfc5;return _0x4d188e?.(_0xfb1bd1,_0xfb1bd1[_0x2499d6(0x143)]?.[_0x2499d6(0x191)],_0xfb1bd1[_0x2499d6(0x143)]),{'error':_0xfb1bd1,'data':_0xfb1bd1[_0x2499d6(0x143)]?.[_0x2499d6(0x191)],'res':_0xfb1bd1['response']};})[_0x91bfc5(0x1ca)](()=>clearTimeout(_0x18709b));}async[a6_0xb93df4(0x187)](_0x4c8cc9){const _0x2cb5ce=a6_0xb93df4;this['logger'][_0x2cb5ce(0x18e)]('Getting\x20reductions');const _0x3a9083=this['apiUrl']+encodeURIComponent(_0x4c8cc9)+_0x2cb5ce(0x151),{error:_0x285997,data:_0x5737da}=await this[_0x2cb5ce(0x1c8)]({'uri':_0x3a9083,'json':!![]});if(_0x285997)return Promise[_0x2cb5ce(0x1c0)](_0x285997);return _0x5737da;}}exports['Controller']=Controller;function is2xx(_0x1ec052){const _0x2694dd=a6_0xb93df4;return Math[_0x2694dd(0x1bc)](_0x1ec052/0x64)===0x2;}function getProxyAgent(_0x54fdd3,_0x94c10a){const _0x3a9a6f=a6_0xb93df4,_0x295b8d=_0x54fdd3[_0x3a9a6f(0x16d)];if(!_0x295b8d?.[_0x3a9a6f(0x17c)])return undefined;if(!_0x295b8d[_0x3a9a6f(0x150)])return _0x94c10a[_0x3a9a6f(0x15f)](_0x3a9a6f(0x1b5)),undefined;_0x94c10a[_0x3a9a6f(0x18e)]('Using\x20proxy\x20configuration:\x20'+_0x295b8d[_0x3a9a6f(0x17c)]+':'+_0x295b8d['port']+_0x3a9a6f(0x133)+(_0x295b8d[_0x3a9a6f(0x13c)]??''));const _0x4ba68d=new HttpsProxyAgent({'host':_0x295b8d[_0x3a9a6f(0x17c)],'port':_0x295b8d[_0x3a9a6f(0x150)],'auth':_0x295b8d[_0x3a9a6f(0x13c)]||_0x295b8d[_0x3a9a6f(0x164)]?(_0x295b8d['username']??'')+':'+(_0x295b8d[_0x3a9a6f(0x164)]??''):undefined}),_0x2bf8eb=_0x4ba68d[_0x3a9a6f(0x137)][_0x3a9a6f(0x128)](_0x4ba68d),_0x10c698=getHttpsAgentOptions(_0x54fdd3,_0x94c10a);return _0x4ba68d[_0x3a9a6f(0x137)]=(_0x331d8e,_0x66f618)=>{return _0x2bf8eb(_0x331d8e,{..._0x66f618,..._0x10c698});},_0x4ba68d;}function getHttpsAgentOptions(_0x2eb5d4,_0x5b0efa){const _0x1b515d=a6_0xb93df4,_0x12d997={'checkServerIdentity':(_0xf7bbe6,_0x58810a)=>{const _0x4e483e=a6_0x3e93;if(_0x2eb5d4[_0x4e483e(0x1c9)])return undefined;const _0x417ef4=(0x0,crypto_1[_0x4e483e(0x1b6)])(_0x4e483e(0x12a))[_0x4e483e(0x155)](_0x58810a[_0x4e483e(0x14a)])[_0x4e483e(0x18d)]('hex');return _0x2eb5d4[_0x4e483e(0x17d)][_0x4e483e(0x183)](_0x417ef4)?undefined:new Error(_0x4e483e(0x1b1));}};let _0x116fca;if(_0x2eb5d4[_0x1b515d(0x135)])try{_0x116fca=(0x0,fs_1[_0x1b515d(0x159)])(_0x2eb5d4[_0x1b515d(0x135)],_0x1b515d(0x19f));}catch(_0x2e051b){_0x5b0efa[_0x1b515d(0x16e)](_0x1b515d(0x131)+_0x2eb5d4[_0x1b515d(0x135)]+_0x1b515d(0x1b4));}if(_0x116fca){const _0x46ce09=(0x0,tls_1[_0x1b515d(0x152)])(_0x12d997);_0x46ce09[_0x1b515d(0x139)][_0x1b515d(0x14f)](_0x116fca),_0x12d997[_0x1b515d(0x19c)]=_0x46ce09;}return _0x12d997;}
|
|
1
|
+
function a6_0x4a35(){const _0xccda38=['587084wwImFm','push',',\x20Message:\x20','8pxbyvu','POST','finally','21870MSybDK','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','map','should\x20have\x20a\x20registered\x20debuggee','transmissionBulkMaxSize','transmissionTimeout','listBreakpoints','crypto','memory-streams','breakpoint\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20','Compressing\x20and\x20sending\x20log\x20file\x20','@google-cloud/common','warn','https','toString','1751286nyegXi','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','shift','transmissionQueue','context','cancel','floor','Controller','3991421RDFTCx','assert','/blacklist?successOnTimeout=true','transmitBreakpointUpdates','nextWaitToken','Getting\x20reductions','reject','WritableStream','toBuffer','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','axios','update','\x20Error:\x20','agentLog','1107279MGcPFg','hex','collectCooldownMs','now','transmissionBulkMaxNetworkSizeInBytes','sendBreakpointLogsToServer','Getting\x20blocklist','search','zlib','debuggee','serializedJson','status','secureContext','https://','ascii','data','(((.+)+)+)+$','CancelToken','\x20size\x20is\x20','\x20for\x20request\x20id\x20','/appOnlyActionHits/','stream','\x22\x20-\x20ignoring\x20it','sendAppOnlyBreakpointHitsToServer','enqueueBreakpointUpdate','__esModule','PUT','bind','\x20for\x20request\x20','invalid\x20response\x20body\x20from\x20server','getRedactions','\x20transmitted\x20successfully','Successfully\x20sent\x20log\x20file\x20','apply','max','breakpointId:\x20','/redaction','clearTransmissionTimeout','322821lajpuQ','debug','error','/breakpoints','request','host','logger','length','2wjFRMa','caPath','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','https-proxy-agent','lastLogCollectionTime','register','number','config','lightrunSecret','uri','defineProperty','createSecureContext','response','default','source','application/json','Using\x20proxy\x20configuration:\x20','/controller','constructor','unable\x20to\x20register,\x20status\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','includes','20qBOmpI','maxLogFileBytes','timeout\x20set\x20to\x20','stringify','\x20finished\x20with\x20status\x20','info','7117dOdYoX','742379ggdHdc','getBlocklist','then','/deregister/','size','Failed\x20to\x20zip\x20','callback','pubkey','createHash','pinnedCerts','makeRequest','getJsonStringSizeInBytes','apiEndpoint',',\x20sending\x20only\x20one','token','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','message','Agent','addCACert','proxy',',\x20username:\x20','transmissionHardMaxNetworkSizeLimitInBytes','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','port','Failed\x20to\x20send\x20log\x20file\x20','unknown\x20error\x20-\x20request\x20response\x20missing','Deregister\x20agent\x20before\x20shutdown','apiUrl','Timeout\x20occurred\x20after\x20','password','tls','method','Update\x20for\x20breakpoints\x20','extend','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','username','Transmitting\x20breakpoint\x20updates...','js-yaml'];a6_0x4a35=function(){return _0xccda38;};return a6_0x4a35();}const a6_0x53bd9d=a6_0x5a88;(function(_0x4f3169,_0xeae56e){const _0x407b4a=a6_0x5a88,_0x4d3b65=_0x4f3169();while(!![]){try{const _0x92cec9=parseInt(_0x407b4a(0x15b))/0x1*(-parseInt(_0x407b4a(0x1dc))/0x2)+-parseInt(_0x407b4a(0x1ae))/0x3+-parseInt(_0x407b4a(0x182))/0x4+parseInt(_0x407b4a(0x154))/0x5*(parseInt(_0x407b4a(0x198))/0x6)+parseInt(_0x407b4a(0x1a0))/0x7*(-parseInt(_0x407b4a(0x185))/0x8)+parseInt(_0x407b4a(0x1d4))/0x9+parseInt(_0x407b4a(0x188))/0xa*(parseInt(_0x407b4a(0x15a))/0xb);if(_0x92cec9===_0xeae56e)break;else _0x4d3b65['push'](_0x4d3b65['shift']());}catch(_0x46a293){_0x4d3b65['push'](_0x4d3b65['shift']());}}}(a6_0x4a35,0xc0db0));const a6_0x29a7e9=(function(){let _0x32f36d=!![];return function(_0xab4db2,_0x3a14dd){const _0x14aa5a=_0x32f36d?function(){const _0x411c2f=a6_0x5a88;if(_0x3a14dd){const _0x3206aa=_0x3a14dd[_0x411c2f(0x1cf)](_0xab4db2,arguments);return _0x3a14dd=null,_0x3206aa;}}:function(){};return _0x32f36d=![],_0x14aa5a;};}()),a6_0x524af4=a6_0x29a7e9(this,function(){const _0x3514a=a6_0x5a88;return a6_0x524af4[_0x3514a(0x197)]()[_0x3514a(0x1b5)](_0x3514a(0x1be))[_0x3514a(0x197)]()[_0x3514a(0x150)](a6_0x524af4)[_0x3514a(0x1b5)](_0x3514a(0x1be));});a6_0x524af4();'use strict';function a6_0x5a88(_0x85a268,_0x4bc3f2){const _0xbfdbba=a6_0x4a35();return a6_0x5a88=function(_0x524af4,_0x29a7e9){_0x524af4=_0x524af4-0x14e;let _0x4a35ed=_0xbfdbba[_0x524af4];return _0x4a35ed;},a6_0x5a88(_0x85a268,_0x4bc3f2);}Object[a6_0x53bd9d(0x1e6)](exports,a6_0x53bd9d(0x1c7),{'value':!![]}),exports[a6_0x53bd9d(0x19f)]=void 0x0;const common_1=require(a6_0x53bd9d(0x194)),assert=require(a6_0x53bd9d(0x1a1)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require(a6_0x53bd9d(0x18f)),zlib_1=require(a6_0x53bd9d(0x1b6)),stream_1=require(a6_0x53bd9d(0x1c3)),memory_streams_1=require(a6_0x53bd9d(0x190)),tls_1=require(a6_0x53bd9d(0x17a)),extend=require(a6_0x53bd9d(0x17d)),axios_1=require('axios'),https=require(a6_0x53bd9d(0x196)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x53bd9d(0x1df)),yaml=require(a6_0x53bd9d(0x181)),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(_0x17a12c,_0x3fbdbc,_0x3d55aa){const _0x225e7d=a6_0x53bd9d;super({'parent':_0x17a12c,'baseUrl':_0x225e7d(0x14f)}),this['nextWaitToken']=null,this[_0x225e7d(0x1e3)]=_0x3fbdbc,this['transmissionQueue']=[],this[_0x225e7d(0x1da)]=_0x3d55aa,this[_0x225e7d(0x177)]=_0x225e7d(0x1bb)+_0x3fbdbc[_0x225e7d(0x167)]+'/debuggees/',this['axios']=axios_1[_0x225e7d(0x1e9)]['create']({'httpsAgent':getProxyAgent(_0x3fbdbc,_0x3d55aa)??new https[(_0x225e7d(0x16c))](getHttpsAgentOptions(_0x3fbdbc,_0x3d55aa)),'proxy':![]});}[a6_0x53bd9d(0x1e1)](_0x1afef6,_0x2d5035){const _0x5e4923=a6_0x53bd9d,_0x11ea9c={'uri':this[_0x5e4923(0x177)]+_0x5e4923(0x1e1),'method':_0x5e4923(0x186),'json':!![],'body':{'debuggee':_0x1afef6}};this[_0x5e4923(0x165)](_0x11ea9c,(_0xc59589,_0xc879b3,_0x4174e7)=>{const _0x31446e=_0x5e4923;if(!_0x4174e7)_0x2d5035(_0xc59589||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0xc59589){let _0x3e1cbf=![];_0x4174e7[_0x31446e(0x1b9)]===HTTP_UPGRADE_REQUIRED&&_0xc879b3&&(_0xc879b3[_0x31446e(0x16b)]!==undefined&&(_0xc59589['message']=_0xc879b3[_0x31446e(0x16b)]),_0x1afef6['id']=_0xc879b3[_0x31446e(0x1b7)]['id'],_0x3e1cbf=!![]),_0x2d5035(_0xc59589,_0xc879b3,_0x3e1cbf);}else{if(_0x4174e7['status']!==HTTP_SUCCESS)_0x2d5035(new Error(_0x31446e(0x151)+_0x4174e7['status']));else!_0xc879b3?.[_0x31446e(0x1b7)]?_0x2d5035(new Error(_0x31446e(0x1cb))):(_0x1afef6['id']=_0xc879b3[_0x31446e(0x1b7)]['id'],_0x2d5035(null,_0xc879b3));}}});}[a6_0x53bd9d(0x18e)](_0x66d3d8,_0x35160e,_0x354a48){const _0x216b63=a6_0x53bd9d,_0xe0b6c5=this;assert(_0x66d3d8['id'],_0x216b63(0x18b));const _0x3bc55f={'successOnTimeout':!![]};_0xe0b6c5['nextWaitToken']&&(_0x3bc55f['waitToken']=_0xe0b6c5[_0x216b63(0x1a4)]);const _0x3b941e=this[_0x216b63(0x177)]+encodeURIComponent(_0x66d3d8['id'])+'/breakpoints?'+qs[_0x216b63(0x157)](_0x3bc55f);_0xe0b6c5[_0x216b63(0x165)]({'uri':_0x3b941e,'json':!![]},(_0x428528,_0x57ee5a,_0x332be3)=>{const _0x33228f=_0x216b63;if(!_0x332be3){_0x35160e(_0x428528||new Error(_0x33228f(0x175)));return;}else{if(!is2xx(_0x332be3[_0x33228f(0x1b9)])){_0x35160e(new Error(_0x33228f(0x189)+_0x332be3[_0x33228f(0x1b9)]),_0x332be3);return;}else _0x57ee5a&&(_0xe0b6c5['nextWaitToken']=_0x57ee5a[_0x33228f(0x1a4)]),_0x35160e(null,_0x332be3,_0x57ee5a);}},_0x354a48);}[a6_0x53bd9d(0x1c6)](_0x117cf8,_0x2ac582){const _0x180af5=a6_0x53bd9d;assert(_0x117cf8['id'],_0x180af5(0x18b));try{const _0x2b21e0=JSON[_0x180af5(0x157)](_0x2ac582),_0x52a436=(0x0,utils_1[_0x180af5(0x166)])(_0x2b21e0);if(_0x52a436>=this['config'][_0x180af5(0x170)]){this[_0x180af5(0x1da)][_0x180af5(0x195)](_0x180af5(0x1d1)+_0x2ac582['id']+_0x180af5(0x1c0)+_0x52a436+_0x180af5(0x17e)+this[_0x180af5(0x1e3)][_0x180af5(0x170)]);return;}this['transmissionQueue']['push']({'id':_0x2ac582['id'],'serializedJson':_0x2b21e0,'number':0x0});if(!this[_0x180af5(0x18d)]){const _0x24be05=this;this['transmissionTimeout']=setTimeout(()=>_0x24be05[_0x180af5(0x1a3)][_0x180af5(0x1c9)](_0x24be05)(_0x117cf8['id']),0x0);}}catch(_0x3aa878){this[_0x180af5(0x1da)][_0x180af5(0x1d6)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x2ac582['id']+'\x20and\x20enqueue\x20to\x20queue',_0x3aa878);return;}}[a6_0x53bd9d(0x1d3)](){const _0x273218=a6_0x53bd9d;if(!this[_0x273218(0x18d)])return;clearTimeout(this[_0x273218(0x18d)]),this[_0x273218(0x18d)]=null;}['deregister'](_0xf4d00,_0x4774f4){const _0x4f09c4=a6_0x53bd9d,_0x250d00=this[_0x4f09c4(0x177)]+encodeURIComponent(_0xf4d00['id'])+_0x4f09c4(0x15e),_0x367e8a={'uri':_0x250d00,'method':_0x4f09c4(0x186),'json':!![]};this[_0x4f09c4(0x1da)]['info'](_0x4f09c4(0x176)),this[_0x4f09c4(0x165)](_0x367e8a,(_0x1bd3fe,_0xa11ec8,_0x352af6)=>{const _0x9ad8c1=_0x4f09c4;(!_0x352af6||Math['floor'](_0x352af6[_0x9ad8c1(0x1b9)]/0x64)!==0x2)&&this[_0x9ad8c1(0x1da)][_0x9ad8c1(0x195)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x1bd3fe),_0x4774f4(_0x1bd3fe);});}[a6_0x53bd9d(0x1b3)](_0x31a52e,_0x16458c,_0x1f1b5f){const _0x521f1c=a6_0x53bd9d,_0x5a4657=this['apiUrl']+encodeURIComponent(_0x31a52e['id'])+'/log/',_0x4f4a9c={'uri':_0x5a4657,'method':'POST','json':!![],'body':_0x16458c};this[_0x521f1c(0x165)](_0x4f4a9c,(_0x547ea6,_0x4bd00a,_0x605033)=>{const _0x125d53=_0x521f1c;(!_0x605033||Math[_0x125d53(0x19e)](_0x605033[_0x125d53(0x1b9)]/0x64)!==0x2)&&(this['logger'][_0x125d53(0x195)](_0x125d53(0x171)+_0x547ea6),_0x1f1b5f(_0x547ea6));});}[a6_0x53bd9d(0x1c5)](_0x908428,_0x39d1d0,_0x58999d){const _0x241cd0=a6_0x53bd9d,_0xf80e7a=this[_0x241cd0(0x177)]+encodeURIComponent(_0x908428['id'])+_0x241cd0(0x1c2),_0x10f814={'uri':_0xf80e7a,'method':_0x241cd0(0x186),'json':!![],'body':_0x39d1d0};this[_0x241cd0(0x165)](_0x10f814,(_0x774089,_0x5a82f6,_0x22ed5)=>{const _0x1298c0=_0x241cd0;(!_0x22ed5||Math[_0x1298c0(0x19e)](_0x22ed5[_0x1298c0(0x1b9)]/0x64)!==0x2)&&(this['logger'][_0x1298c0(0x195)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x774089),_0x58999d(_0x774089));});}['sendAgentLogsToServer'](_0x2bed7c,_0x2162e2,_0x367d1f){const _0x22d98a=a6_0x53bd9d;assert(_0x2bed7c['id'],_0x22d98a(0x18b));if(this[_0x22d98a(0x1e0)]){const _0x255dc0=Date[_0x22d98a(0x1b1)](),_0x33baaa=this[_0x22d98a(0x1e0)]+this[_0x22d98a(0x1e3)][_0x22d98a(0x1ad)][_0x22d98a(0x1b0)];if(_0x255dc0<_0x33baaa){this[_0x22d98a(0x1da)]['info']('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x33baaa-_0x255dc0)/0x3e8+'\x20seconds'));return;}}const _0x139048=(0x0,fs_1['statSync'])(_0x367d1f)[_0x22d98a(0x15f)],_0x558474=Math[_0x22d98a(0x1d0)](0x0,_0x139048-this[_0x22d98a(0x1e3)][_0x22d98a(0x1ad)][_0x22d98a(0x155)]),_0x7693e5=(0x0,fs_1['createReadStream'])(_0x367d1f,{'start':_0x558474}),_0x14e362=(0x0,zlib_1['createGzip'])(),_0x4d015d=new memory_streams_1[(_0x22d98a(0x1a7))](),_0x4a0669=this;_0x4a0669[_0x22d98a(0x1da)][_0x22d98a(0x159)](_0x22d98a(0x193)+_0x367d1f+_0x22d98a(0x1c1)+_0x2162e2),(0x0,stream_1['pipeline'])(_0x7693e5,_0x14e362,_0x4d015d,_0x496032=>{const _0x327339=_0x22d98a;if(_0x496032)_0x4a0669[_0x327339(0x1da)][_0x327339(0x1d6)](_0x327339(0x160)+_0x367d1f+':\x20'+_0x496032);else{const _0x2d13ed={'uri':this[_0x327339(0x177)]+encodeURIComponent(_0x2bed7c['id'])+'/compressedLogFile/'+_0x2162e2,'method':_0x327339(0x1c8),'body':_0x4d015d[_0x327339(0x1a8)]()};_0x4a0669[_0x327339(0x165)](_0x2d13ed,_0x32c4d6=>{const _0x161a82=_0x327339;_0x32c4d6?_0x4a0669[_0x161a82(0x1da)][_0x161a82(0x1d6)](_0x161a82(0x174)+_0x367d1f+_0x161a82(0x1ca)+_0x2162e2,_0x32c4d6):(_0x4a0669[_0x161a82(0x1da)][_0x161a82(0x159)](_0x161a82(0x1ce)+_0x367d1f+_0x161a82(0x1ca)+_0x2162e2),_0x4a0669[_0x161a82(0x1e0)]=Date[_0x161a82(0x1b1)]());});}});}['transmitBreakpointUpdates'](_0x2aede9){const _0x74007b=a6_0x53bd9d;this[_0x74007b(0x1da)][_0x74007b(0x1d5)](_0x74007b(0x180)),this[_0x74007b(0x18d)]=undefined;const _0x29db78=[];let _0xe69f74=0x0;while(_0x29db78[_0x74007b(0x1db)]<this['config'][_0x74007b(0x18c)]&&this['transmissionQueue'][_0x74007b(0x1db)]>0x0){const _0x5b0854=this[_0x74007b(0x19b)][0x0],_0x3f21de=_0x5b0854[_0x74007b(0x1b8)],_0x4ff3ac=(0x0,utils_1[_0x74007b(0x166)])(_0x3f21de);_0xe69f74+=_0x4ff3ac;if(_0xe69f74<=this[_0x74007b(0x1e3)]['transmissionBulkMaxNetworkSizeInBytes'])_0x29db78[_0x74007b(0x183)](_0x5b0854),this['transmissionQueue'][_0x74007b(0x19a)]();else{_0x4ff3ac>this[_0x74007b(0x1e3)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x29db78[_0x74007b(0x1db)]===0x0&&(this[_0x74007b(0x1da)][_0x74007b(0x1d5)](_0x74007b(0x191)+_0x5b0854['id']+_0x74007b(0x192)+this[_0x74007b(0x1e3)][_0x74007b(0x1b2)]+_0x74007b(0x168)),_0x29db78['push'](_0x5b0854),this[_0x74007b(0x19b)][_0x74007b(0x19a)]());break;}}if(!_0x29db78)return;const _0x5652f0=_0x29db78[_0x74007b(0x18a)](_0x31c41c=>_0x31c41c['id']),_0x31e5c1={'uri':this['apiUrl']+encodeURIComponent(_0x2aede9)+_0x74007b(0x1d7),'json':!![],'method':_0x74007b(0x1c8),'body':'['+_0x29db78[_0x74007b(0x18a)](_0x391c15=>_0x391c15[_0x74007b(0x1b8)])['join'](',')+']'},_0x23bb66=this;try{this[_0x74007b(0x165)](_0x31e5c1,(_0x1f741c,_0x583b8b,_0x22d3b7)=>{const _0x5802ae=_0x74007b,_0x319dca=_0x22d3b7?.[_0x5802ae(0x1b9)];_0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x1d5)](_0x5802ae(0x17c)+_0x5652f0+_0x5802ae(0x158)+_0x319dca);if(_0x1f741c||!_0x319dca||Math[_0x5802ae(0x19e)](_0x319dca/0x64)!==0x2){const _0x92536f=_0x319dca&&(_0x319dca>=0x1f4||_0x319dca===0x198);if(_0x92536f){_0x23bb66['logger'][_0x5802ae(0x195)](_0x5802ae(0x172)+_0x5652f0+_0x5802ae(0x199)+_0x319dca+_0x5802ae(0x1ac)+_0x1f741c);for(const _0x30cf23 of _0x29db78){_0x30cf23[_0x5802ae(0x1e2)]<MAX_FAILED_SEND_ATTEMPTS?_0x23bb66[_0x5802ae(0x19b)]['push']({..._0x30cf23,'number':_0x30cf23[_0x5802ae(0x1e2)]+0x1}):_0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x195)]('Breakpoint\x20'+_0x30cf23['id']+_0x5802ae(0x1de));}}else _0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x195)](_0x5802ae(0x16a)+_0x5652f0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x319dca+'\x20Error:\x20'+_0x1f741c);}else _0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x159)]('Update\x20for\x20breakpoints\x20'+_0x5652f0+_0x5802ae(0x1cd));_0x23bb66[_0x5802ae(0x19b)]['length']>0x0&&(_0x23bb66[_0x5802ae(0x18d)]=setTimeout(()=>_0x23bb66[_0x5802ae(0x1a3)]['bind'](_0x23bb66)(_0x2aede9),0x0));},0x28);}catch(_0x1014d8){this[_0x74007b(0x1da)][_0x74007b(0x195)](_0x74007b(0x16a)+_0x5652f0+_0x74007b(0x152)+_0x1014d8+_0x74007b(0x184)+_0x1014d8[_0x74007b(0x1bd)]?.[_0x74007b(0x16b)]),_0x23bb66['transmissionQueue'][_0x74007b(0x1db)]>0x0&&(_0x23bb66[_0x74007b(0x18d)]=setTimeout(()=>_0x23bb66[_0x74007b(0x1a3)][_0x74007b(0x1c9)](_0x23bb66)(_0x2aede9),0x0));}}async[a6_0x53bd9d(0x15c)](_0x4143ac){const _0x350b42=a6_0x53bd9d;this['logger'][_0x350b42(0x159)](_0x350b42(0x1b4));const _0x1e1a12=this['apiUrl']+encodeURIComponent(_0x4143ac)+_0x350b42(0x1a2),{error:_0x33eaa3,data:_0x46b4fd}=await this[_0x350b42(0x165)]({'uri':_0x1e1a12,'json':!![]});if(_0x33eaa3)return Promise[_0x350b42(0x1a6)](_0x33eaa3);return yaml['load'](_0x46b4fd)||{};}[a6_0x53bd9d(0x165)](_0x57d236,_0x530970,_0xec2501,_0x4cfe2f){const _0x447c78=a6_0x53bd9d,_0x52a75d={'Content-Type':_0x4cfe2f?_0x4cfe2f:_0x447c78(0x1eb),'Authorization':'Bearer\x20'+this[_0x447c78(0x1e3)][_0x447c78(0x1e4)]},_0x2c98fb=axios_1[_0x447c78(0x1e9)][_0x447c78(0x1bf)][_0x447c78(0x1ea)](),_0x28c6d0=_0xec2501?_0xec2501*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x447c78(0x1da)][_0x447c78(0x1d5)](_0x447c78(0x156)+_0x28c6d0);const _0x353a34=setTimeout(()=>{const _0x4cc2cd=_0x447c78;this[_0x4cc2cd(0x1da)][_0x4cc2cd(0x195)](_0x4cc2cd(0x178)+_0x28c6d0+'ms'),_0x2c98fb[_0x4cc2cd(0x19d)]();},_0x28c6d0),_0x5e83bc={'method':_0x57d236[_0x447c78(0x17b)],'url':_0x57d236[_0x447c78(0x1e5)],'data':_0x57d236['body'],'headers':_0x52a75d,'cancelToken':_0x2c98fb[_0x447c78(0x169)]};return extend(!![],_0x5e83bc,_0x57d236),this[_0x447c78(0x1aa)][_0x447c78(0x1d8)](_0x5e83bc)[_0x447c78(0x15d)](_0x35fb4b=>{const _0x534603=_0x447c78;return _0x530970?.(null,_0x35fb4b[_0x534603(0x1bd)],_0x35fb4b),{'error':null,'data':_0x35fb4b[_0x534603(0x1bd)],'res':_0x35fb4b};})['catch'](_0x2bfc04=>{const _0x1cdbe8=_0x447c78;return _0x530970?.(_0x2bfc04,_0x2bfc04['response']?.[_0x1cdbe8(0x1bd)],_0x2bfc04['response']),{'error':_0x2bfc04,'data':_0x2bfc04[_0x1cdbe8(0x1e8)]?.[_0x1cdbe8(0x1bd)],'res':_0x2bfc04[_0x1cdbe8(0x1e8)]};})[_0x447c78(0x187)](()=>clearTimeout(_0x353a34));}async[a6_0x53bd9d(0x1cc)](_0x2f3903){const _0x25eaca=a6_0x53bd9d;this[_0x25eaca(0x1da)][_0x25eaca(0x159)](_0x25eaca(0x1a5));const _0x4c918f=this[_0x25eaca(0x177)]+encodeURIComponent(_0x2f3903)+_0x25eaca(0x1d2),{error:_0x46691e,data:_0x799dc5}=await this['makeRequest']({'uri':_0x4c918f,'json':!![]});if(_0x46691e)return Promise[_0x25eaca(0x1a6)](_0x46691e);return _0x799dc5;}}exports['Controller']=Controller;function is2xx(_0x539751){return Math['floor'](_0x539751/0x64)===0x2;}function getProxyAgent(_0x287fa3,_0xc11608){const _0x29eec6=a6_0x53bd9d,_0x2b8ccc=_0x287fa3[_0x29eec6(0x16e)];if(!_0x2b8ccc?.[_0x29eec6(0x1d9)])return undefined;if(!_0x2b8ccc['port'])return _0xc11608[_0x29eec6(0x1d6)](_0x29eec6(0x1a9)),undefined;_0xc11608['info'](_0x29eec6(0x14e)+_0x2b8ccc[_0x29eec6(0x1d9)]+':'+_0x2b8ccc[_0x29eec6(0x173)]+_0x29eec6(0x16f)+(_0x2b8ccc[_0x29eec6(0x17f)]??''));const _0x11dc3d=new HttpsProxyAgent({'host':_0x2b8ccc[_0x29eec6(0x1d9)],'port':_0x2b8ccc['port'],'auth':_0x2b8ccc[_0x29eec6(0x17f)]||_0x2b8ccc[_0x29eec6(0x179)]?(_0x2b8ccc[_0x29eec6(0x17f)]??'')+':'+(_0x2b8ccc['password']??''):undefined}),_0x2507d1=_0x11dc3d[_0x29eec6(0x161)][_0x29eec6(0x1c9)](_0x11dc3d),_0x41c8ee=getHttpsAgentOptions(_0x287fa3,_0xc11608);return _0x11dc3d[_0x29eec6(0x161)]=(_0x10d983,_0x2daf75)=>{return _0x2507d1(_0x10d983,{..._0x2daf75,..._0x41c8ee});},_0x11dc3d;}function getHttpsAgentOptions(_0x56a02c,_0x1a4abb){const _0x3c36eb=a6_0x53bd9d,_0x24a262={'checkServerIdentity':(_0x4db970,_0x4406c9)=>{const _0x37e24c=a6_0x5a88;if(_0x56a02c['noCheckCertificate'])return undefined;const _0x4c8f7e=(0x0,crypto_1[_0x37e24c(0x163)])('sha256')[_0x37e24c(0x1ab)](_0x4406c9[_0x37e24c(0x162)])['digest'](_0x37e24c(0x1af));return _0x56a02c[_0x37e24c(0x164)][_0x37e24c(0x153)](_0x4c8f7e)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0x361084;if(_0x56a02c['caPath'])try{_0x361084=(0x0,fs_1['readFileSync'])(_0x56a02c[_0x3c36eb(0x1dd)],_0x3c36eb(0x1bc));}catch(_0x76ad1){_0x1a4abb[_0x3c36eb(0x195)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x56a02c[_0x3c36eb(0x1dd)]+_0x3c36eb(0x1c4));}if(_0x361084){const _0x3aa815=(0x0,tls_1[_0x3c36eb(0x1e7)])(_0x24a262);_0x3aa815[_0x3c36eb(0x19c)][_0x3c36eb(0x16d)](_0x361084),_0x24a262[_0x3c36eb(0x1ba)]=_0x3aa815;}return _0x24a262;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x3c2525=a7_0xf1a7;function a7_0x1e31(){const _0x1a5f4f=['constructor','service','./createDebuggeeMetadata','2934885gVqjbn','module','versions','3192385bMDcrh','(((.+)+)+)+$','minorVersion_','8CeVJOm','node','1XSlDlQ','relative','57utLqFj','15902770lUZnwB','../../debuggee','50788IyVzZy','3594168RsLYAg','createUniquifier','string','UNSPECIFIED','218258lhHdKd','createDebuggee','stringify','name','defineProperty','argv','search','default','__esModule','createDebuggeeMetadata','version','3523854LVjgiO','title'];a7_0x1e31=function(){return _0x1a5f4f;};return a7_0x1e31();}(function(_0x553183,_0x2a2d7c){const _0x277b87=a7_0xf1a7,_0x4ec6f8=_0x553183();while(!![]){try{const _0x3ce8bf=parseInt(_0x277b87(0x9c))/0x1*(parseInt(_0x277b87(0xa6))/0x2)+-parseInt(_0x277b87(0x9e))/0x3*(parseInt(_0x277b87(0xa1))/0x4)+parseInt(_0x277b87(0x94))/0x5+parseInt(_0x277b87(0x8f))/0x6+-parseInt(_0x277b87(0x97))/0x7*(-parseInt(_0x277b87(0x9a))/0x8)+parseInt(_0x277b87(0xa2))/0x9+-parseInt(_0x277b87(0x9f))/0xa;if(_0x3ce8bf===_0x2a2d7c)break;else _0x4ec6f8['push'](_0x4ec6f8['shift']());}catch(_0x6932){_0x4ec6f8['push'](_0x4ec6f8['shift']());}}}(a7_0x1e31,0x4b066));function a7_0xf1a7(_0x21c33f,_0x426162){const _0x170534=a7_0x1e31();return a7_0xf1a7=function(_0x338558,_0x28269a){_0x338558=_0x338558-0x87;let _0x1e3144=_0x170534[_0x338558];return _0x1e3144;},a7_0xf1a7(_0x21c33f,_0x426162);}const a7_0x28269a=(function(){let _0x58991b=!![];return function(_0x19eeaa,_0x7c2313){const _0x35241a=_0x58991b?function(){if(_0x7c2313){const _0x428e8d=_0x7c2313['apply'](_0x19eeaa,arguments);return _0x7c2313=null,_0x428e8d;}}:function(){};return _0x58991b=![],_0x35241a;};}()),a7_0x338558=a7_0x28269a(this,function(){const _0x27fef9=a7_0xf1a7;return a7_0x338558['toString']()[_0x27fef9(0x8a)]('(((.+)+)+)+$')['toString']()[_0x27fef9(0x91)](a7_0x338558)[_0x27fef9(0x8a)](_0x27fef9(0x98));});a7_0x338558();'use strict';Object[a7_0x3c2525(0x88)](exports,a7_0x3c2525(0x8c),{'value':!![]}),exports['createDebuggee']=void 0x0;const path=require('path'),status_message_1=require('../../client/stackdriver/status-message'),debuggee_1=require(a7_0x3c2525(0xa0)),createDebuggeeMetadata_1=require(a7_0x3c2525(0x93)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x52759f,_0x2ec628,_0x3346d6,_0x37eaa9,_0x4bb665,_0x1df9de,_0x3c888b,_0x2be619)=>{const _0x26389a=a7_0x3c2525,_0x3a28b2=process['cwd'](),_0x2467fc=path[_0x26389a(0x9d)](_0x3a28b2,process[_0x26389a(0x89)][0x1]),_0x31d799={'main\x20script':_0x2467fc,'process.title':process[_0x26389a(0x90)],'node\x20version':process[_0x26389a(0x96)][_0x26389a(0x9b)],'V8\x20version':process[_0x26389a(0x96)]['v8'],'agent.name':_0x37eaa9[_0x26389a(0x87)],'agent.version':_0x4bb665,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x3b5b36=_0x2ec628['serviceContext'];_0x3b5b36&&(typeof _0x3b5b36[_0x26389a(0x92)]===_0x26389a(0xa4)&&_0x3b5b36[_0x26389a(0x92)]!==_0x26389a(0x8b)&&(_0x31d799[_0x26389a(0x95)]=_0x3b5b36['service']),typeof _0x3b5b36[_0x26389a(0x8e)]===_0x26389a(0xa4)&&(_0x31d799[_0x26389a(0x8e)]=_0x3b5b36[_0x26389a(0x8e)]),typeof _0x3b5b36[_0x26389a(0x99)]===_0x26389a(0xa4)&&(_0x31d799['minorversion']=_0x3b5b36[_0x26389a(0x99)]));const _0x3d28af=(0x0,createUniquifier_1[_0x26389a(0xa3)])(_0x4bb665,_0x52759f,_0x3346d6,_0x31d799),_0x114bf1=_0x2be619?new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x26389a(0xa5)],_0x2be619,!![]):undefined,_0x485f92=(0x0,createDebuggeeMetadata_1[_0x26389a(0x8d)])(_0x2ec628,_0x1df9de),_0x2d6f49={'uniquifier':_0x3d28af,'agentVersion':_0x4bb665,'labels':{'metadata':JSON[_0x26389a(0xa8)](_0x485f92)},'statusMessage':_0x114bf1,'packageInfo':_0x37eaa9,..._0x3c888b};return _0x3346d6&&(_0x2d6f49['sourceContexts']=[_0x3346d6]),new debuggee_1['Debuggee'](_0x2d6f49);};exports[a7_0x3c2525(0xa7)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x3d4320=a8_0x1838;(function(_0x5871fc,_0x2eda77){const _0x10e949=a8_0x1838,_0x905a=_0x5871fc();while(!![]){try{const _0x1b3397=parseInt(_0x10e949(0x19b))/0x1*(-parseInt(_0x10e949(0x1b1))/0x2)+parseInt(_0x10e949(0x1a5))/0x3*(parseInt(_0x10e949(0x1a4))/0x4)+-parseInt(_0x10e949(0x1b3))/0x5+-parseInt(_0x10e949(0x19c))/0x6*(-parseInt(_0x10e949(0x1a1))/0x7)+parseInt(_0x10e949(0x19d))/0x8+-parseInt(_0x10e949(0x19f))/0x9*(-parseInt(_0x10e949(0x1a0))/0xa)+parseInt(_0x10e949(0x1a9))/0xb*(-parseInt(_0x10e949(0x19e))/0xc);if(_0x1b3397===_0x2eda77)break;else _0x905a['push'](_0x905a['shift']());}catch(_0x202c2c){_0x905a['push'](_0x905a['shift']());}}}(a8_0x2abf,0x2158d));const a8_0xcf2fd=(function(){let _0x17a89c=!![];return function(_0x23e55d,_0x404e7a){const _0x523d74=_0x17a89c?function(){const _0x143eac=a8_0x1838;if(_0x404e7a){const _0x3f33e6=_0x404e7a[_0x143eac(0x1ab)](_0x23e55d,arguments);return _0x404e7a=null,_0x3f33e6;}}:function(){};return _0x17a89c=![],_0x523d74;};}()),a8_0x50a832=a8_0xcf2fd(this,function(){const _0x644b24=a8_0x1838;return a8_0x50a832[_0x644b24(0x1ad)]()[_0x644b24(0x1a2)]('(((.+)+)+)+$')[_0x644b24(0x1ad)]()[_0x644b24(0x1a3)](a8_0x50a832)[_0x644b24(0x1a2)](_0x644b24(0x1b4));});function a8_0x1838(_0xd551fa,_0x58c310){const _0x490069=a8_0x2abf();return a8_0x1838=function(_0x50a832,_0xcf2fd){_0x50a832=_0x50a832-0x19b;let _0x2abf3e=_0x490069[_0x50a832];return _0x2abf3e;},a8_0x1838(_0xd551fa,_0x58c310);}a8_0x50a832();'use strict';Object[a8_0x3d4320(0x1ac)](exports,'__esModule',{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;function a8_0x2abf(){const _0x9be255=['Failed\x20to\x20read\x20metadata\x20file\x20','metadata','registration','6pJNmSo','warn','690265FhFYHr','(((.+)+)+)+$','filename','readFileSync','23543jAdhJu','6KoqMwt','1322648tQkean','106248KbuGrQ','1422UCYXCs','16710JbReQi','382081MBmDTc','search','constructor','36pTGYLK','89541iUBSox','utf-8','map','string','506XZSTAA','tags','apply','defineProperty','toString'];a8_0x2abf=function(){return _0x9be255;};return a8_0x2abf();}const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0xdeb8fc,_0x1be4cd)=>{const _0x1655f6=a8_0x3d4320;let _0x2d1690={'registration':{}};if(_0xdeb8fc['metadata']?.[_0x1655f6(0x1b5)])try{_0x2d1690=JSON['parse'](fs[_0x1655f6(0x1b6)](_0xdeb8fc[_0x1655f6(0x1af)][_0x1655f6(0x1b5)],_0x1655f6(0x1a6)));}catch(_0x4c9688){_0x1be4cd[_0x1655f6(0x1b2)](_0x1655f6(0x1ae)+_0xdeb8fc[_0x1655f6(0x1af)][_0x1655f6(0x1b5)],_0x4c9688);}return _0x2d1690['registration']=extend(!![],{},_0xdeb8fc[_0x1655f6(0x1af)]?.[_0x1655f6(0x1b0)],_0x2d1690['registration']),_0x2d1690[_0x1655f6(0x1b0)]?.['tags']&&(_0x2d1690[_0x1655f6(0x1b0)][_0x1655f6(0x1aa)]=_0x2d1690[_0x1655f6(0x1b0)]['tags'][_0x1655f6(0x1a7)](_0x51c85e=>typeof _0x51c85e===_0x1655f6(0x1a8)?{'name':_0x51c85e}:_0x51c85e)),_0x2d1690;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x1c6ad3=a9_0x2b73;(function(_0x243940,_0x51717a){const _0x8b0280=a9_0x2b73,_0xc9f3a6=_0x243940();while(!![]){try{const _0xb30a45=parseInt(_0x8b0280(0xf7))/0x1*(parseInt(_0x8b0280(0xe3))/0x2)+-parseInt(_0x8b0280(0xf3))/0x3+-parseInt(_0x8b0280(0xee))/0x4+parseInt(_0x8b0280(0xf2))/0x5+parseInt(_0x8b0280(0xe9))/0x6*(-parseInt(_0x8b0280(0xe2))/0x7)+parseInt(_0x8b0280(0xf0))/0x8*(-parseInt(_0x8b0280(0xe8))/0x9)+parseInt(_0x8b0280(0xf5))/0xa;if(_0xb30a45===_0x51717a)break;else _0xc9f3a6['push'](_0xc9f3a6['shift']());}catch(_0x2423c2){_0xc9f3a6['push'](_0xc9f3a6['shift']());}}}(a9_0x474f,0x268fc));const a9_0x53e9cd=(function(){let _0x2941f2=!![];return function(_0x2cd5da,_0xf6a59){const _0x3cf66b=_0x2941f2?function(){const _0x5984bd=a9_0x2b73;if(_0xf6a59){const _0x27a3fb=_0xf6a59[_0x5984bd(0xe4)](_0x2cd5da,arguments);return _0xf6a59=null,_0x27a3fb;}}:function(){};return _0x2941f2=![],_0x3cf66b;};}()),a9_0x37f737=a9_0x53e9cd(this,function(){const _0x9adc36=a9_0x2b73;return a9_0x37f737[_0x9adc36(0xf4)]()[_0x9adc36(0xeb)](_0x9adc36(0xf8))['toString']()[_0x9adc36(0xea)](a9_0x37f737)[_0x9adc36(0xeb)]('(((.+)+)+)+$');});a9_0x37f737();function a9_0x474f(){const _0x5ad059=['update','361364ulPzDw','digest','8pNLGPP','hex','468580MTSyEh','169701OiNqhl','toString','2878450cKZZis','defineProperty','1VZSJUt','(((.+)+)+)+$','7pLxXUP','151258YKDjsK','apply','createUniquifier','stringify','__esModule','531684qBSeeh','559548fnICAF','constructor','search','createHash'];a9_0x474f=function(){return _0x5ad059;};return a9_0x474f();}'use strict';Object[a9_0x1c6ad3(0xf6)](exports,a9_0x1c6ad3(0xe7),{'value':!![]}),exports[a9_0x1c6ad3(0xe5)]=void 0x0;const crypto=require('crypto'),createUniquifier=(_0xbb1ac2,_0x2c5fc3,_0xebdd24,_0x4f890e)=>{const _0x2c5ad7=a9_0x1c6ad3,_0x4bb9eb=_0xbb1ac2+_0x2c5fc3+JSON['stringify'](_0xebdd24)+JSON[_0x2c5ad7(0xe6)](_0x4f890e);return crypto[_0x2c5ad7(0xec)]('sha1')[_0x2c5ad7(0xed)](_0x4bb9eb)[_0x2c5ad7(0xef)](_0x2c5ad7(0xf1));};function a9_0x2b73(_0x2a9469,_0x4e6a6f){const _0x2793a9=a9_0x474f();return a9_0x2b73=function(_0x37f737,_0x53e9cd){_0x37f737=_0x37f737-0xe2;let _0x474f5d=_0x2793a9[_0x37f737];return _0x474f5d;},a9_0x2b73(_0x2a9469,_0x4e6a6f);}exports['createUniquifier']=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x1129fa=a10_0x37cc;(function(_0x2e0011,_0x292ce4){const _0x2c6bcf=a10_0x37cc,_0x42b37e=_0x2e0011();while(!![]){try{const _0x4bc45c=parseInt(_0x2c6bcf(0x14b))/0x1+parseInt(_0x2c6bcf(0x153))/0x2*(parseInt(_0x2c6bcf(0x15a))/0x3)+parseInt(_0x2c6bcf(0x156))/0x4+parseInt(_0x2c6bcf(0x158))/0x5*(-parseInt(_0x2c6bcf(0x15b))/0x6)+parseInt(_0x2c6bcf(0x14f))/0x7+parseInt(_0x2c6bcf(0x150))/0x8+-parseInt(_0x2c6bcf(0x14c))/0x9;if(_0x4bc45c===_0x292ce4)break;else _0x42b37e['push'](_0x42b37e['shift']());}catch(_0x19c9ff){_0x42b37e['push'](_0x42b37e['shift']());}}}(a10_0x35b9,0xee2b5));const a10_0x29f780=(function(){let _0xc443c8=!![];return function(_0x25944a,_0xcaed8){const _0x4bb8c5=_0xc443c8?function(){if(_0xcaed8){const _0x5965c5=_0xcaed8['apply'](_0x25944a,arguments);return _0xcaed8=null,_0x5965c5;}}:function(){};return _0xc443c8=![],_0x4bb8c5;};}()),a10_0x1b4221=a10_0x29f780(this,function(){const _0x5c5d97=a10_0x37cc;return a10_0x1b4221[_0x5c5d97(0x155)]()[_0x5c5d97(0x154)]('(((.+)+)+)+$')[_0x5c5d97(0x155)]()['constructor'](a10_0x1b4221)[_0x5c5d97(0x154)]('(((.+)+)+)+$');});a10_0x1b4221();function a10_0x37cc(_0x41a636,_0x25684c){const _0x1942c7=a10_0x35b9();return a10_0x37cc=function(_0x1b4221,_0x29f780){_0x1b4221=_0x1b4221-0x14b;let _0x35b939=_0x1942c7[_0x1b4221];return _0x35b939;},a10_0x37cc(_0x41a636,_0x25684c);}'use strict';Object[a10_0x1129fa(0x159)](exports,a10_0x1129fa(0x14e),{'value':!![]}),exports[a10_0x1129fa(0x152)]=void 0x0;const delimit=(_0x289f0a,_0x27aa43)=>{const _0x49a562=a10_0x1129fa,_0x429472=_0x289f0a[_0x49a562(0x151)](_0x27aa43),_0x174910=[];_0x174910[_0x49a562(0x14d)](_0x429472[0x0]);for(let _0x3f02d3=0x1;_0x3f02d3<_0x429472[_0x49a562(0x157)];_0x3f02d3++){_0x174910[_0x49a562(0x14d)]({'v':_0x27aa43},_0x429472[_0x3f02d3]);}return _0x174910;};exports[a10_0x1129fa(0x152)]=delimit;function a10_0x35b9(){const _0x24b5f8=['1620660BQsNyk','679194LpyvLq','502211bHiDar','45045081PETqel','push','__esModule','13550845ggxTpc','12279968mTNnYl','split','delimit','2HIoBnz','search','toString','7227540NkmDAY','length','15mGLdth','defineProperty'];a10_0x35b9=function(){return _0x24b5f8;};return a10_0x35b9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x3221ec=a11_0x40d7;function a11_0x40d7(_0x4d848d,_0x3e9751){const _0x60e264=a11_0xbd07();return a11_0x40d7=function(_0x1f1c09,_0x6df0b3){_0x1f1c09=_0x1f1c09-0xaf;let _0xbd0774=_0x60e264[_0x1f1c09];return _0xbd0774;},a11_0x40d7(_0x4d848d,_0x3e9751);}(function(_0x4294e1,_0x4b8004){const _0x4b252d=a11_0x40d7,_0x30de03=_0x4294e1();while(!![]){try{const _0x35175b=-parseInt(_0x4b252d(0xb0))/0x1*(-parseInt(_0x4b252d(0xb4))/0x2)+parseInt(_0x4b252d(0xc1))/0x3+parseInt(_0x4b252d(0xb1))/0x4+parseInt(_0x4b252d(0xb8))/0x5+parseInt(_0x4b252d(0xbf))/0x6+parseInt(_0x4b252d(0xaf))/0x7+-parseInt(_0x4b252d(0xb2))/0x8;if(_0x35175b===_0x4b8004)break;else _0x30de03['push'](_0x30de03['shift']());}catch(_0xbe20f0){_0x30de03['push'](_0x30de03['shift']());}}}(a11_0xbd07,0xb3c09));const a11_0x6df0b3=(function(){let _0x5cc338=!![];return function(_0x597f17,_0x3aa444){const _0x5582a3=_0x5cc338?function(){if(_0x3aa444){const _0x36a98e=_0x3aa444['apply'](_0x597f17,arguments);return _0x3aa444=null,_0x36a98e;}}:function(){};return _0x5cc338=![],_0x5582a3;};}()),a11_0x1f1c09=a11_0x6df0b3(this,function(){const _0x107bec=a11_0x40d7;return a11_0x1f1c09[_0x107bec(0xbc)]()['search'](_0x107bec(0xbd))[_0x107bec(0xbc)]()[_0x107bec(0xba)](a11_0x1f1c09)[_0x107bec(0xb3)](_0x107bec(0xbd));});a11_0x1f1c09();'use strict';Object[a11_0x3221ec(0xb7)](exports,a11_0x3221ec(0xb6),{'value':!![]}),exports[a11_0x3221ec(0xc3)]=void 0x0;const tokenize_1=require(a11_0x3221ec(0xb5)),format=(_0x123222,_0x14b1b0)=>{const _0x46f3aa=a11_0x3221ec,_0x758ecd=(0x0,tokenize_1[_0x46f3aa(0xbb)])(_0x123222,_0x14b1b0[_0x46f3aa(0xb9)]);for(let _0x1ebf46=0x0;_0x1ebf46<_0x758ecd[_0x46f3aa(0xb9)];_0x1ebf46++){if(!_0x758ecd[_0x1ebf46]['v'])continue;if(_0x758ecd[_0x1ebf46]['v']==='$$'){_0x758ecd[_0x1ebf46]='$';continue;}for(let _0x5a6672=0x0;_0x5a6672<_0x14b1b0[_0x46f3aa(0xb9)];_0x5a6672++){if(_0x758ecd[_0x1ebf46]['v']==='$'+_0x5a6672){let _0x3a9ba7=_0x14b1b0[_0x5a6672];/^".*"$/[_0x46f3aa(0xbe)](_0x3a9ba7)&&(_0x3a9ba7=_0x3a9ba7[_0x46f3aa(0xc0)](0x1,_0x3a9ba7[_0x46f3aa(0xb9)]-0x1));_0x758ecd[_0x1ebf46]=_0x3a9ba7;break;}}}return _0x758ecd[_0x46f3aa(0xc2)]('');};exports['format']=format;function a11_0xbd07(){const _0x1698f4=['2cdNljz','./tokenize','__esModule','defineProperty','966375xmSWRz','length','constructor','tokenize','toString','(((.+)+)+)+$','test','6044016HwCySa','substring','2454780qRZGet','join','format','9894157jDPHvd','1146259hYfUcK','4774600traksv','40287728KKMjOV','search'];a11_0xbd07=function(){return _0x1698f4;};return a11_0xbd07();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a12_0x553a(){const _0x2a96a2=['max_dynamic_log_bytes_rate','67959bTnCjc','8547399oMlHby','breakpoint_expiration_sec','proxy_username','map','getFloat','agent_log_level','transmission_bulk_max_size','813288BBCJiG','apiEndpoint','search','2797270YVuhhX','2nrpHaH','apply','ignore_quota','max_dynamic_log_rate','max_variable_size','max_snapshot_buffer_size','11kZBoDX','1284393oztESL','collect_log_cooldown_ms','max_log_cpu_cost','getFirst','getBoolean','8PGbqzq','getAgentConfig','8qiqLXn','noCheckCertificate','__esModule','663954LsbKbJ','dynamic_log_quota_recovery_ms','max_condition_cost','(((.+)+)+)+$','proxy_host','35ndZcDz','existsSync','proxy_password','proxy_port','extra_paths','toString','getInt','957040yBJwqC','max_watchlist_variable_size','agent_regmetadata_file','max_snapshot_frame_count'];a12_0x553a=function(){return _0x2a96a2;};return a12_0x553a();}const a12_0x3324b1=a12_0x30a1;(function(_0x254489,_0x25840f){const _0x2ce947=a12_0x30a1,_0x69cfce=_0x254489();while(!![]){try{const _0xb8f3fe=parseInt(_0x2ce947(0x15d))/0x1*(parseInt(_0x2ce947(0x13b))/0x2)+-parseInt(_0x2ce947(0x142))/0x3*(-parseInt(_0x2ce947(0x149))/0x4)+parseInt(_0x2ce947(0x158))/0x5+-parseInt(_0x2ce947(0x14c))/0x6*(-parseInt(_0x2ce947(0x151))/0x7)+-parseInt(_0x2ce947(0x147))/0x8*(parseInt(_0x2ce947(0x15e))/0x9)+-parseInt(_0x2ce947(0x13a))/0xa*(parseInt(_0x2ce947(0x141))/0xb)+parseInt(_0x2ce947(0x137))/0xc;if(_0xb8f3fe===_0x25840f)break;else _0x69cfce['push'](_0x69cfce['shift']());}catch(_0x4fb629){_0x69cfce['push'](_0x69cfce['shift']());}}}(a12_0x553a,0x7bd7c));const a12_0x99dd45=(function(){let _0x180368=!![];return function(_0x59754f,_0x57c595){const _0x1b03c8=_0x180368?function(){const _0x3b56c7=a12_0x30a1;if(_0x57c595){const _0x3f8173=_0x57c595[_0x3b56c7(0x13c)](_0x59754f,arguments);return _0x57c595=null,_0x3f8173;}}:function(){};return _0x180368=![],_0x1b03c8;};}()),a12_0x18efe8=a12_0x99dd45(this,function(){const _0x59ef4a=a12_0x30a1;return a12_0x18efe8['toString']()['search'](_0x59ef4a(0x14f))[_0x59ef4a(0x156)]()['constructor'](a12_0x18efe8)[_0x59ef4a(0x139)](_0x59ef4a(0x14f));});a12_0x18efe8();function a12_0x30a1(_0x3e8ddd,_0x484150){const _0x33ca23=a12_0x553a();return a12_0x30a1=function(_0x18efe8,_0x99dd45){_0x18efe8=_0x18efe8-0x131;let _0x553afb=_0x33ca23[_0x18efe8];return _0x553afb;},a12_0x30a1(_0x3e8ddd,_0x484150);}'use strict';Object['defineProperty'](exports,a12_0x3324b1(0x14b),{'value':!![]}),exports[a12_0x3324b1(0x148)]=void 0x0;const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x40c231=>{const _0x4de3bd=a12_0x3324b1;if(fs[_0x4de3bd(0x152)](_0x40c231)){const _0x21f890=properties['of'](_0x40c231);return{'lightrunSecret':_0x21f890[_0x4de3bd(0x145)]('com.lightrun.secret'),'apiEndpoint':_0x21f890[_0x4de3bd(0x145)](_0x4de3bd(0x138)),'breakpointExpirationSec':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x131)),'transmissionBulkMaxSize':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x136)),'noCheckCertificate':_0x21f890[_0x4de3bd(0x146)](_0x4de3bd(0x14a)),'pinnedCerts':_0x21f890['getFirst']('pinned_certs')?.['split'](','),'metadata':{'filename':_0x21f890[_0x4de3bd(0x145)](_0x4de3bd(0x15a))},'capture':{'maxFrames':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x15b)),'maxDataSize':_0x21f890['getInt'](_0x4de3bd(0x140)),'maxSnapshotBufferSize':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x140)),'maxVariableSize':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x13f)),'maxWatchListVariableSize':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x159))},'agentLog':{'collectCooldownMs':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x143)),'agentLogTargetDir':_0x21f890[_0x4de3bd(0x145)]('agent_log_target_dir'),'agentLogLevel':_0x21f890[_0x4de3bd(0x145)](_0x4de3bd(0x135)),'agentLogMaxFileCount':_0x21f890[_0x4de3bd(0x157)]('agent_log_max_file_count'),'agentLogMaxFileSizeMb':_0x21f890[_0x4de3bd(0x157)]('agent_log_max_file_size_mb'),'maxLogFileBytes':_0x21f890[_0x4de3bd(0x157)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x21f890['getBoolean'](_0x4de3bd(0x13d)),'maxCPUCost':_0x21f890[_0x4de3bd(0x134)](_0x4de3bd(0x144)),'maxConditionCost':_0x21f890['getFloat'](_0x4de3bd(0x14e)),'maxDynamicLogRate':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x13e)),'maxDynamicLogByteRate':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x15c)),'quotaRecoverySeconds':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x14d))&&_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x14d))/0x3e8},'fetchBreakpointsOnce':_0x21f890['getBoolean']('fetch_breakpoints_once'),'extraPaths':_0x21f890[_0x4de3bd(0x145)](_0x4de3bd(0x155))?.['split'](',')?.[_0x4de3bd(0x133)](_0x1667ca=>_0x1667ca['trim']()),'proxy':{'host':_0x21f890['getFirst'](_0x4de3bd(0x150)),'port':_0x21f890[_0x4de3bd(0x157)](_0x4de3bd(0x154)),'username':_0x21f890['getFirst'](_0x4de3bd(0x132)),'password':_0x21f890[_0x4de3bd(0x145)](_0x4de3bd(0x153))}};}return;};exports[a12_0x3324b1(0x148)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a13_0x134a(){const _0x42eb5b=['46jiYTLw','DEFAULT','env','1372422HYysXr','defineProperty','search','getPlatform','621iIorlw','51885ZBCHdM','170ZiIArC','toString','Platforms','(((.+)+)+)+$','1670740ztlEcr','450648BubaZd','2086064OUBpfY','default','357145mVsGPb','constructor','7ybJFBQ'];a13_0x134a=function(){return _0x42eb5b;};return a13_0x134a();}function a13_0x1a56(_0x18fe85,_0x40fa29){const _0x49afde=a13_0x134a();return a13_0x1a56=function(_0x572951,_0x5340a9){_0x572951=_0x572951-0x139;let _0x134a62=_0x49afde[_0x572951];return _0x134a62;},a13_0x1a56(_0x18fe85,_0x40fa29);}const a13_0x27d4c6=a13_0x1a56;(function(_0x53b144,_0x10b63f){const _0x106a42=a13_0x1a56,_0x37db50=_0x53b144();while(!![]){try{const _0x1890b8=parseInt(_0x106a42(0x141))/0x1+-parseInt(_0x106a42(0x144))/0x2*(parseInt(_0x106a42(0x14b))/0x3)+-parseInt(_0x106a42(0x13e))/0x4+parseInt(_0x106a42(0x13d))/0x5+-parseInt(_0x106a42(0x147))/0x6+-parseInt(_0x106a42(0x143))/0x7*(parseInt(_0x106a42(0x13f))/0x8)+-parseInt(_0x106a42(0x14c))/0x9*(-parseInt(_0x106a42(0x139))/0xa);if(_0x1890b8===_0x10b63f)break;else _0x37db50['push'](_0x37db50['shift']());}catch(_0xc90884){_0x37db50['push'](_0x37db50['shift']());}}}(a13_0x134a,0x2c86c));Object[a13_0x27d4c6(0x148)](exports,'__esModule',{'value':!![]}),exports[a13_0x27d4c6(0x14a)]=exports[a13_0x27d4c6(0x13b)]=void 0x0;var Platforms;(function(_0x24b6bb){const _0x72411f=a13_0x27d4c6,_0x4055db=(function(){let _0x1a119e=!![];return function(_0x54cf98,_0x5b299e){const _0x10e093=_0x1a119e?function(){if(_0x5b299e){const _0x56fb96=_0x5b299e['apply'](_0x54cf98,arguments);return _0x5b299e=null,_0x56fb96;}}:function(){};return _0x1a119e=![],_0x10e093;};}()),_0xe618ba=_0x4055db(this,function(){const _0x57b4c6=a13_0x1a56;return _0xe618ba[_0x57b4c6(0x13a)]()[_0x57b4c6(0x149)](_0x57b4c6(0x13c))[_0x57b4c6(0x13a)]()[_0x57b4c6(0x142)](_0xe618ba)[_0x57b4c6(0x149)](_0x57b4c6(0x13c));});_0xe618ba(),_0x24b6bb['CLOUD_FUNCTION']='cloud_function',_0x24b6bb[_0x72411f(0x145)]=_0x72411f(0x140);}(Platforms||(exports[a13_0x27d4c6(0x13b)]=Platforms={})));const getPlatform=()=>{const _0x20eabc=a13_0x27d4c6,{FUNCTION_NAME:_0x555267,FUNCTION_TARGET:_0x45103e}=process[_0x20eabc(0x146)];if(_0x555267||_0x45103e)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x20eabc(0x145)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x2e6baa=a14_0x2bec;(function(_0x579346,_0x58f872){const _0xc41760=a14_0x2bec,_0x46e8ee=_0x579346();while(!![]){try{const _0x3b0aeb=-parseInt(_0xc41760(0x11d))/0x1+-parseInt(_0xc41760(0x121))/0x2*(parseInt(_0xc41760(0x123))/0x3)+-parseInt(_0xc41760(0x11a))/0x4*(-parseInt(_0xc41760(0x126))/0x5)+-parseInt(_0xc41760(0x122))/0x6+parseInt(_0xc41760(0x11f))/0x7+parseInt(_0xc41760(0x120))/0x8+-parseInt(_0xc41760(0x11c))/0x9;if(_0x3b0aeb===_0x58f872)break;else _0x46e8ee['push'](_0x46e8ee['shift']());}catch(_0x749368){_0x46e8ee['push'](_0x46e8ee['shift']());}}}(a14_0x3467,0xcf703));const a14_0xa0b317=(function(){let _0x269f73=!![];return function(_0x43a60c,_0x1e0396){const _0x50dd9f=_0x269f73?function(){if(_0x1e0396){const _0x52f45a=_0x1e0396['apply'](_0x43a60c,arguments);return _0x1e0396=null,_0x52f45a;}}:function(){};return _0x269f73=![],_0x50dd9f;};}()),a14_0x1273b3=a14_0xa0b317(this,function(){const _0x4e6d37=a14_0x2bec;return a14_0x1273b3['toString']()[_0x4e6d37(0x11e)](_0x4e6d37(0x11b))[_0x4e6d37(0x127)]()['constructor'](a14_0x1273b3)['search']('(((.+)+)+)+$');});function a14_0x2bec(_0x3202b9,_0x1520a6){const _0x24e591=a14_0x3467();return a14_0x2bec=function(_0x1273b3,_0xa0b317){_0x1273b3=_0x1273b3-0x11a;let _0x346749=_0x24e591[_0x1273b3];return _0x346749;},a14_0x2bec(_0x3202b9,_0x1520a6);}a14_0x1273b3();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a14_0x2e6baa(0x125)]=void 0x0;function a14_0x3467(){const _0x3f788a=['51488PheZph','(((.+)+)+)+$','6844032klNDqS','1071251Bqiegt','search','9269813mirWCd','13235216pwKHbQ','2DmTVRR','5448984yhDBBX','1372521TqsSWf','push','mapSubtract','415CsImiD','toString'];a14_0x3467=function(){return _0x3f788a;};return a14_0x3467();}const mapSubtract=(_0x1fe7f9,_0x117ed9)=>{const _0x584fd9=a14_0x2e6baa,_0x308e3c=[];for(const _0x245eff in _0x1fe7f9){!_0x117ed9[_0x245eff]&&_0x308e3c[_0x584fd9(0x124)](_0x1fe7f9[_0x245eff]);}return _0x308e3c;};exports[a14_0x2e6baa(0x125)]=mapSubtract;
|