lightrun 1.84.0 → 1.85.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/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-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/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.d.ts +3 -0
- 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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x781fd7=a0_0x4714;(function(_0x570798,_0x594ea6){const _0x1145e6=a0_0x4714,_0x3cb763=_0x570798();while(!![]){try{const _0x840322=parseInt(_0x1145e6(0xa4))/0x1+-parseInt(_0x1145e6(0x93))/0x2*(-parseInt(_0x1145e6(0xa2))/0x3)+parseInt(_0x1145e6(0xa0))/0x4+parseInt(_0x1145e6(0x9f))/0x5+parseInt(_0x1145e6(0xb3))/0x6+-parseInt(_0x1145e6(0x94))/0x7+-parseInt(_0x1145e6(0x9e))/0x8;if(_0x840322===_0x594ea6)break;else _0x3cb763['push'](_0x3cb763['shift']());}catch(_0x20936b){_0x3cb763['push'](_0x3cb763['shift']());}}}(a0_0x76c8,0x6db12));const a0_0x12be08=(function(){let _0x4945ae=!![];return function(_0x4c4c60,_0x438adb){const _0x42290f=_0x4945ae?function(){const _0x5007eb=a0_0x4714;if(_0x438adb){const _0x2d5e90=_0x438adb[_0x5007eb(0x96)](_0x4c4c60,arguments);return _0x438adb=null,_0x2d5e90;}}:function(){};return _0x4945ae=![],_0x42290f;};}()),a0_0x2cfeae=a0_0x12be08(this,function(){const _0x56e144=a0_0x4714;return a0_0x2cfeae[_0x56e144(0xae)]()['search'](_0x56e144(0xaf))[_0x56e144(0xae)]()['constructor'](a0_0x2cfeae)['search'](_0x56e144(0xaf));});function a0_0x4714(_0x2d18e1,_0x501bb1){const _0x5a059c=a0_0x76c8();return a0_0x4714=function(_0x2cfeae,_0x12be08){_0x2cfeae=_0x2cfeae-0x8f;let _0x76c8f0=_0x5a059c[_0x2cfeae];return _0x76c8f0;},a0_0x4714(_0x2d18e1,_0x501bb1);}a0_0x2cfeae();'use strict';Object[a0_0x781fd7(0x9c)](exports,a0_0x781fd7(0xac),{'value':!![]});function a0_0x76c8(){const _0x14cdef=['apply','error','initialLogLevel','isAtLeastInfo','level','toUpperCase','defineProperty','default','13263192SfaHhC','588790UYoMyV','1866428jsZJhJ','LEVEL_PRIORITY','2107533CWlVNS','debug','326820XiQzwE','logger','getInitialLevel','getHours','winston','getLevel','AGENT_LOG_FILE','padStart','__esModule','lightrun_nodejs_agent.','toString','(((.+)+)+)+$','getFullYear','getMonth','transports','3135240HhGics','json','info','createLogger','getMinutes','getSeconds','format','pid','winston-daily-rotate-file','2ygixbM','203273tuQzJI','warn'];a0_0x76c8=function(){return _0x14cdef;};return a0_0x76c8();}const winston_1=require(a0_0x781fd7(0xa8)),DailyRotateFile=require(a0_0x781fd7(0x92)),process_1=require('process'),{combine,printf,timestamp}=winston_1[a0_0x781fd7(0x90)],{Console}=winston_1[a0_0x781fd7(0xb2)],now=new Date();function getLoggerTransport(_0x113da4,_0x125073,_0x21c2e7){const _0x27172f=a0_0x781fd7;if(_0x113da4)return new DailyRotateFile({'dirname':_0x113da4,'filename':AgentLogger[_0x27172f(0xaa)],'datePattern':now[_0x27172f(0xb0)]()['toString']()+now[_0x27172f(0xb1)]()[_0x27172f(0xae)]()['padStart'](0x2,'0')+now['getDate']()[_0x27172f(0xae)]()[_0x27172f(0xab)](0x2,'0')+'-'+now[_0x27172f(0xa7)]()['toString']()[_0x27172f(0xab)](0x2,'0')+now[_0x27172f(0xb7)]()[_0x27172f(0xae)]()[_0x27172f(0xab)](0x2,'0')+now[_0x27172f(0x8f)]()['toString']()['padStart'](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x27172f(0xaa)],'maxSize':_0x125073+'m','maxFiles':_0x21c2e7,'extension':'.log'});return new Console();}class AgentLogger{constructor(_0x337c41,_0x355e23,_0x4c4622,_0x5f3010,_0x1b1e8b){const _0x106d78=a0_0x781fd7;this['initialLogLevel']=_0x5f3010,this[_0x106d78(0xa5)]=(0x0,winston_1[_0x106d78(0xb6)])({'level':_0x5f3010,'transports':[getLoggerTransport(_0x337c41,_0x355e23,_0x4c4622),new Console({'level':_0x1b1e8b,'stderrLevels':['debug','info',_0x106d78(0x95),_0x106d78(0x97)]})],'format':combine(timestamp(),printf(({level:_0xcbadfd,message:_0x992253,timestamp:_0x2b991b})=>_0x2b991b+'\x20['+_0xcbadfd[_0x106d78(0x9b)]()+']\x20-\x20'+_0x992253),winston_1['format'][_0x106d78(0xb4)]())});}static[a0_0x781fd7(0xb6)](_0x554229,_0x150ac8,_0x480575,_0x50a6ad,_0x41c619){return new AgentLogger(_0x554229,_0x150ac8,_0x480575,_0x50a6ad,_0x41c619);}[a0_0x781fd7(0xa3)](..._0x422c72){const _0x302a9c=a0_0x781fd7;this[_0x302a9c(0xa5)][_0x302a9c(0xa3)](_0x422c72);}[a0_0x781fd7(0xb5)](..._0x29dbfb){const _0x2cd65a=a0_0x781fd7;this[_0x2cd65a(0xa5)][_0x2cd65a(0xb5)](_0x29dbfb);}[a0_0x781fd7(0x95)](..._0x5af05a){const _0x1708a1=a0_0x781fd7;this[_0x1708a1(0xa5)][_0x1708a1(0x95)](_0x5af05a);}[a0_0x781fd7(0x97)](..._0x35959a){const _0x202a1f=a0_0x781fd7;this[_0x202a1f(0xa5)][_0x202a1f(0x97)](_0x35959a);}['getLevel'](){const _0x2694dd=a0_0x781fd7;return this['logger'][_0x2694dd(0x9a)];}[a0_0x781fd7(0x99)](){const _0xab9e8c=a0_0x781fd7,_0x139290=this[_0xab9e8c(0xa9)](),_0x343c40=AgentLogger[_0xab9e8c(0xa1)][_0x139290];if(!_0x343c40)return![];return _0x343c40>=AgentLogger[_0xab9e8c(0xa1)][_0xab9e8c(0xb5)];}['setLevel'](_0x59bbc6){const _0x19890d=a0_0x781fd7;this['logger'][_0x19890d(0x9a)]=_0x59bbc6;}[a0_0x781fd7(0xa6)](){const _0x4fe0b1=a0_0x781fd7;return this[_0x4fe0b1(0x98)];}}AgentLogger[a0_0x781fd7(0xaa)]=a0_0x781fd7(0xad)+process_1[a0_0x781fd7(0x91)]+'.%DATE%',AgentLogger[a0_0x781fd7(0xa1)]={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3},exports[a0_0x781fd7(0x9d)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0x15e6(){const _0x22baa6=['6193632GnDRsr','94oRgTZl','apply','970606sMMszi','6976060evQhRX','search','inversePatterns','match','40604bTMhGV','BlocklistingPatterns','push','defineProperty','some','(((.+)+)+)+$','161946JhEMJw','265wFoKul','patterns','toString','4245336pXfPrw','substring','27829890LymAOK'];a1_0x15e6=function(){return _0x22baa6;};return a1_0x15e6();}const a1_0x586097=a1_0x2b3a;(function(_0xa37948,_0x444243){const _0x58a830=a1_0x2b3a,_0x4dc730=_0xa37948();while(!![]){try{const _0x5c773e=-parseInt(_0x58a830(0x11f))/0x1*(parseInt(_0x58a830(0x126))/0x2)+-parseInt(_0x58a830(0x11b))/0x3+parseInt(_0x58a830(0x122))/0x4+-parseInt(_0x58a830(0x12d))/0x5*(parseInt(_0x58a830(0x12c))/0x6)+parseInt(_0x58a830(0x121))/0x7+parseInt(_0x58a830(0x11e))/0x8+parseInt(_0x58a830(0x11d))/0x9;if(_0x5c773e===_0x444243)break;else _0x4dc730['push'](_0x4dc730['shift']());}catch(_0x54d1ba){_0x4dc730['push'](_0x4dc730['shift']());}}}(a1_0x15e6,0xf2ef8));const a1_0x353d9c=(function(){let _0x106a81=!![];return function(_0x543cd0,_0x5c7c19){const _0xfc6e4b=_0x106a81?function(){const _0x92929f=a1_0x2b3a;if(_0x5c7c19){const _0x56b526=_0x5c7c19[_0x92929f(0x120)](_0x543cd0,arguments);return _0x5c7c19=null,_0x56b526;}}:function(){};return _0x106a81=![],_0xfc6e4b;};}()),a1_0x49c15c=a1_0x353d9c(this,function(){const _0x53dcc5=a1_0x2b3a;return a1_0x49c15c[_0x53dcc5(0x11a)]()[_0x53dcc5(0x123)](_0x53dcc5(0x12b))[_0x53dcc5(0x11a)]()['constructor'](a1_0x49c15c)['search'](_0x53dcc5(0x12b));});a1_0x49c15c();'use strict';function a1_0x2b3a(_0x50d302,_0x5b94ce){const _0x4238bd=a1_0x15e6();return a1_0x2b3a=function(_0x49c15c,_0x353d9c){_0x49c15c=_0x49c15c-0x119;let _0x15e610=_0x4238bd[_0x49c15c];return _0x15e610;},a1_0x2b3a(_0x50d302,_0x5b94ce);}Object[a1_0x586097(0x129)](exports,'__esModule',{'value':!![]}),exports[a1_0x586097(0x127)]=void 0x0;class BlocklistingPatterns{constructor(_0x49afdc){this['inversePatterns']=[],this['patterns']=[],_0x49afdc&&_0x49afdc['forEach'](_0x3ee0d4=>{const _0x5cee02=a1_0x2b3a;_0x3ee0d4&&(_0x3ee0d4[0x0]==='!'?this['inversePatterns'][_0x5cee02(0x128)](new RegExp(_0x3ee0d4[_0x5cee02(0x11c)](0x1))):this[_0x5cee02(0x119)][_0x5cee02(0x128)](new RegExp(_0x3ee0d4)));});}['matches'](_0x2660d9){const _0x4f131b=a1_0x586097,_0x3837a1=_0x19bd00=>_0x2660d9[_0x4f131b(0x125)](_0x19bd00);return this[_0x4f131b(0x124)]['length']!==0x0&&!this[_0x4f131b(0x124)]['some'](_0x3837a1)||this['patterns'][_0x4f131b(0x12a)](_0x3837a1);}}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x435eea=a2_0x4579;(function(_0x15f816,_0x1c1537){var _0x1c07fe=a2_0x4579,_0x1b6267=_0x15f816();while(!![]){try{var _0x51a162=parseInt(_0x1c07fe(0x1d2))/0x1+-parseInt(_0x1c07fe(0x1cf))/0x2*(-parseInt(_0x1c07fe(0x1cc))/0x3)+-parseInt(_0x1c07fe(0x1d1))/0x4+-parseInt(_0x1c07fe(0x1d6))/0x5+parseInt(_0x1c07fe(0x1ce))/0x6+parseInt(_0x1c07fe(0x1d3))/0x7+parseInt(_0x1c07fe(0x1d0))/0x8*(-parseInt(_0x1c07fe(0x1cb))/0x9);if(_0x51a162===_0x1c1537)break;else _0x1b6267['push'](_0x1b6267['shift']());}catch(_0x2a3317){_0x1b6267['push'](_0x1b6267['shift']());}}}(a2_0x51f2,0x3bb29));function a2_0x51f2(){var _0xb6f48=['value','search','822365dEFGPf','shouldBlock','apply','toString','defineProperty','1009359TxQQwB','34230bXKpCR','DummyBlocklistManager','2554956JONqqW','26ROXpbd','16ViqMCB','1448104GTgpMy','38220kKgvHo','2680622DxuUye'];a2_0x51f2=function(){return _0xb6f48;};return a2_0x51f2();}var a2_0x2c9ce9=(function(){var _0x5bf333=!![];return function(_0x28b3d7,_0xfe7cbc){var _0x413d6f=_0x5bf333?function(){var _0x1b45d9=a2_0x4579;if(_0xfe7cbc){var _0x31bc54=_0xfe7cbc[_0x1b45d9(0x1c8)](_0x28b3d7,arguments);return _0xfe7cbc=null,_0x31bc54;}}:function(){};return _0x5bf333=![],_0x413d6f;};}()),a2_0x3972ba=a2_0x2c9ce9(this,function(){var _0x3988be=a2_0x4579;return a2_0x3972ba['toString']()[_0x3988be(0x1d5)]('(((.+)+)+)+$')[_0x3988be(0x1c9)]()['constructor'](a2_0x3972ba)[_0x3988be(0x1d5)]('(((.+)+)+)+$');});a2_0x3972ba();'use strict';Object[a2_0x435eea(0x1ca)](exports,'__esModule',{'value':!![]}),exports[a2_0x435eea(0x1cd)]=void 0x0;class DummyBlocklistManager{constructor(_0x11fe98){var _0x56ed67=a2_0x435eea;this[_0x56ed67(0x1d4)]=_0x11fe98;}[a2_0x435eea(0x1d7)](){var _0x2ea516=a2_0x435eea;return this[_0x2ea516(0x1d4)];}}function a2_0x4579(_0x13a329,_0x3ab56e){var _0x24233a=a2_0x51f2();return a2_0x4579=function(_0x3972ba,_0x2c9ce9){_0x3972ba=_0x3972ba-0x1c8;var _0x51f265=_0x24233a[_0x3972ba];return _0x51f265;},a2_0x4579(_0x13a329,_0x3ab56e);}exports[a2_0x435eea(0x1cd)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x5986f2=a3_0x3bd3;(function(_0x1ca74b,_0x3dfa22){const _0x3da972=a3_0x3bd3,_0xbbcda3=_0x1ca74b();while(!![]){try{const _0x55b13c=parseInt(_0x3da972(0x77))/0x1*(-parseInt(_0x3da972(0x8e))/0x2)+-parseInt(_0x3da972(0x7c))/0x3+-parseInt(_0x3da972(0x85))/0x4*(-parseInt(_0x3da972(0x8a))/0x5)+-parseInt(_0x3da972(0x7b))/0x6+parseInt(_0x3da972(0x83))/0x7*(-parseInt(_0x3da972(0x84))/0x8)+parseInt(_0x3da972(0x89))/0x9*(-parseInt(_0x3da972(0x80))/0xa)+parseInt(_0x3da972(0x87))/0xb*(parseInt(_0x3da972(0x82))/0xc);if(_0x55b13c===_0x3dfa22)break;else _0xbbcda3['push'](_0xbbcda3['shift']());}catch(_0x1d027b){_0xbbcda3['push'](_0xbbcda3['shift']());}}}(a3_0x5a2c,0x8cc21));function a3_0x5a2c(){const _0x4202b8=['config','BlocklistingPatterns','35566ldUTCp','(((.+)+)+)+$','stripWorkingDir','stripCurrentWorkingDirectory','45aZPEMg','PatternsBlocklistManager','matches','isPathInCurrentWorkingDirectory','2489934rTxDmO','2224518rxdSIJ','search','apply','blocklistExceptions','60810cVFkfd','constructor','744vqZoea','4973339vugihf','8ttlevP','20VTUeuQ','blocklist','455818ViUQmy','toString','36nqvTHV','698920cklnti','./blocklisting-patterns'];a3_0x5a2c=function(){return _0x4202b8;};return a3_0x5a2c();}const a3_0x2e5d56=(function(){let _0x16e753=!![];return function(_0x42714e,_0x582f87){const _0x815ef2=_0x16e753?function(){const _0x131be4=a3_0x3bd3;if(_0x582f87){const _0x35b0ec=_0x582f87[_0x131be4(0x7e)](_0x42714e,arguments);return _0x582f87=null,_0x35b0ec;}}:function(){};return _0x16e753=![],_0x815ef2;};}()),a3_0x449db6=a3_0x2e5d56(this,function(){const _0x9cc86b=a3_0x3bd3;return a3_0x449db6[_0x9cc86b(0x88)]()[_0x9cc86b(0x7d)](_0x9cc86b(0x8f))[_0x9cc86b(0x88)]()[_0x9cc86b(0x81)](a3_0x449db6)[_0x9cc86b(0x7d)](_0x9cc86b(0x8f));});a3_0x449db6();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x5986f2(0x78)]=void 0x0;const blocklisting_patterns_1=require(a3_0x5986f2(0x8b)),utils=require('../util/utils');function a3_0x3bd3(_0x3456c8,_0x2ff82c){const _0x4c2df4=a3_0x5a2c();return a3_0x3bd3=function(_0x449db6,_0x2e5d56){_0x449db6=_0x449db6-0x76;let _0x5a2c2f=_0x4c2df4[_0x449db6];return _0x5a2c2f;},a3_0x3bd3(_0x3456c8,_0x2ff82c);}class PatternsBlocklistManager{constructor(_0x1cc58e,_0x4fb95a,_0x2114f5){const _0x10d1c2=a3_0x5986f2;this[_0x10d1c2(0x86)]=new blocklisting_patterns_1[(_0x10d1c2(0x8d))](_0x1cc58e),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x10d1c2(0x8d))](_0x4fb95a),this['config']=_0x2114f5;}['shouldBlock'](_0x2fe4be){const _0x47bdd6=a3_0x5986f2;_0x2fe4be=this['stripWorkingDir'](_0x2fe4be);if(this[_0x47bdd6(0x7f)][_0x47bdd6(0x79)](_0x2fe4be))return![];return this[_0x47bdd6(0x86)][_0x47bdd6(0x79)](_0x2fe4be);}[a3_0x5986f2(0x90)](_0x359246){const _0x3ef1fa=a3_0x5986f2;if(utils[_0x3ef1fa(0x7a)](_0x359246,this['config']))return utils[_0x3ef1fa(0x76)](_0x359246,this[_0x3ef1fa(0x8c)]);return _0x359246;}}exports[a3_0x5986f2(0x78)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a4_0x3523(_0x440b12,_0x1b79ae){const _0x284ce8=a4_0x1f20();return a4_0x3523=function(_0x4281ee,_0x5ca109){_0x4281ee=_0x4281ee-0x108;let _0x1f20e7=_0x284ce8[_0x4281ee];return _0x1f20e7;},a4_0x3523(_0x440b12,_0x1b79ae);}const a4_0x18be23=a4_0x3523;(function(_0x5eb990,_0x512d73){const _0x3a9002=a4_0x3523,_0x320911=_0x5eb990();while(!![]){try{const _0x92d5a=parseInt(_0x3a9002(0x12c))/0x1*(parseInt(_0x3a9002(0x11a))/0x2)+-parseInt(_0x3a9002(0x12e))/0x3*(parseInt(_0x3a9002(0x136))/0x4)+-parseInt(_0x3a9002(0x122))/0x5+-parseInt(_0x3a9002(0x125))/0x6*(-parseInt(_0x3a9002(0x137))/0x7)+parseInt(_0x3a9002(0x130))/0x8*(-parseInt(_0x3a9002(0x132))/0x9)+-parseInt(_0x3a9002(0x10c))/0xa*(parseInt(_0x3a9002(0x13b))/0xb)+-parseInt(_0x3a9002(0x109))/0xc*(-parseInt(_0x3a9002(0x117))/0xd);if(_0x92d5a===_0x512d73)break;else _0x320911['push'](_0x320911['shift']());}catch(_0x3f6060){_0x320911['push'](_0x320911['shift']());}}}(a4_0x1f20,0xc5e60));const a4_0x5ca109=(function(){let _0x53b2c4=!![];return function(_0x25d7d6,_0x13a09a){const _0xc608aa=_0x53b2c4?function(){const _0x3aae04=a4_0x3523;if(_0x13a09a){const _0x5bc734=_0x13a09a[_0x3aae04(0x12b)](_0x25d7d6,arguments);return _0x13a09a=null,_0x5bc734;}}:function(){};return _0x53b2c4=![],_0xc608aa;};}()),a4_0x4281ee=a4_0x5ca109(this,function(){const _0x18ff36=a4_0x3523;return a4_0x4281ee[_0x18ff36(0x110)]()[_0x18ff36(0x128)](_0x18ff36(0x108))[_0x18ff36(0x110)]()[_0x18ff36(0x10d)](a4_0x4281ee)[_0x18ff36(0x128)]('(((.+)+)+)+$');});a4_0x4281ee();'use strict';Object[a4_0x18be23(0x11f)](exports,a4_0x18be23(0x10e),{'value':!![]}),exports['defaultConfig']=exports[a4_0x18be23(0x139)]=void 0x0,exports[a4_0x18be23(0x13e)]=logMainConfigParams;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x18be23(0x115));function a4_0x1f20(){const _0x393347=['40EqJAcO','constructor','__esModule','error','toString','existsSync','warnings',',\x20\x20\x20the\x20file\x20','.mjs','yup','array','778102oEjguh','c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5','set','1155566PuXwGY','tmpdir','cwd','defaultConfig','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','defineProperty','Production','object','2207450XJoyQW','agentConfigFile','forEach','189804LnILeN','warn','values','search','not\x20set!','oneOf','apply','2KqTqYe','DOESN\x27T\x20EXIST','3SLIYzl','.js','16COWJRY','number','3712131HEtcuP','none','length','debug','361688uEOAaN','14LEaGok','boolean','configSchema','Agent\x20Configuration:\x20','24959PaBrdk','string','shape','logMainConfigParams','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','(((.+)+)+)+$','192YjhToT','!!!\x20NOT\x20SET\x20!!!','info'];a4_0x1f20=function(){return _0x393347;};return a4_0x1f20();}exports[a4_0x18be23(0x139)]=(0x0,yup_1['object'])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1['number'])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x18be23(0x131)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x18be23(0x131)])(),'capture':(0x0,yup_1['object'])()[a4_0x18be23(0x13d)]({'includeNodeModules':(0x0,yup_1[a4_0x18be23(0x138)])(),'maxFrames':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxExpandFrames':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxProperties':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxDataSize':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x18be23(0x131)])()}),'internal':(0x0,yup_1['object'])()[a4_0x18be23(0x13d)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x18be23(0x131)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x18be23(0x138)])(),'lambdaDebugLogs':(0x0,yup_1[a4_0x18be23(0x138)])(),'dumpJSContentFilenames':(0x0,yup_1[a4_0x18be23(0x116)])()['of']((0x0,yup_1[a4_0x18be23(0x13c)])())}),'forceNewAgent_':(0x0,yup_1[a4_0x18be23(0x138)])(),'testMode_':(0x0,yup_1[a4_0x18be23(0x138)])(),'apiEndpoint':(0x0,yup_1[a4_0x18be23(0x13c)])(),'lightrunSecret':(0x0,yup_1[a4_0x18be23(0x13c)])(),'agentLog':(0x0,yup_1[a4_0x18be23(0x121)])()[a4_0x18be23(0x13d)]({'agentLogTargetDir':(0x0,yup_1['string'])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x18be23(0x131)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x18be23(0x131)])(),'agentLogLevel':(0x0,yup_1['string'])()[a4_0x18be23(0x12a)]([a4_0x18be23(0x135),a4_0x18be23(0x10b),a4_0x18be23(0x126),a4_0x18be23(0x10f)]),'stdErrThreshold':(0x0,yup_1['string'])()[a4_0x18be23(0x12a)]([a4_0x18be23(0x135),'info',a4_0x18be23(0x126),'error',a4_0x18be23(0x133)]),'collectCooldownMs':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x18be23(0x116)])()['of']((0x0,yup_1[a4_0x18be23(0x13c)])()),'noCheckCertificate':(0x0,yup_1[a4_0x18be23(0x138)])(),'caPath':(0x0,yup_1[a4_0x18be23(0x13c)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x18be23(0x131)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x18be23(0x131)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1[a4_0x18be23(0x121)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxCPUCost':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x18be23(0x131)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x18be23(0x131)])(),'ignoreQuota':(0x0,yup_1[a4_0x18be23(0x138)])(),'quotaRecoverySeconds':(0x0,yup_1['number'])()}),'agentConfigFile':(0x0,yup_1[a4_0x18be23(0x13c)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x18be23(0x138)])(),'useScriptSourcemap':(0x0,yup_1[a4_0x18be23(0x138)])()['default'](![]),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x18be23(0x131)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x18be23(0x138)])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1[a4_0x18be23(0x116)])()['of']((0x0,yup_1[a4_0x18be23(0x13c)])()),'redactionEnabled':(0x0,yup_1[a4_0x18be23(0x138)])(),'proxy':(0x0,yup_1[a4_0x18be23(0x121)])()[a4_0x18be23(0x13d)]({'host':(0x0,yup_1[a4_0x18be23(0x13c)])(),'port':(0x0,yup_1[a4_0x18be23(0x131)])(),'username':(0x0,yup_1[a4_0x18be23(0x13c)])(),'password':(0x0,yup_1[a4_0x18be23(0x13c)])()})}),exports[a4_0x18be23(0x11d)]={'workingDirectory':process[a4_0x18be23(0x11c)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x18be23(0x12f),a4_0x18be23(0x114)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000,'resolveFrameLocations':![]},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![],'dumpJSContentFilenames':undefined},'useScriptSourcemap':![],'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x18be23(0x11b)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x18be23(0x10b),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x18be23(0x11e),a4_0x18be23(0x118)],'noCheckCertificate':![],'caPath':a4_0x18be23(0x13f),'metadata':{'registration':{'tags':[a4_0x18be23(0x120)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':'agent.config','resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x32a2f0,_0x341f01)=>{const _0x2d5234=a4_0x18be23,_0x23c644=Object[_0x2d5234(0x127)](_0x32a2f0?.['errors']??[]);_0x23c644[_0x2d5234(0x134)]&&_0x23c644[_0x2d5234(0x124)](_0x2c404a=>{_0x341f01['error'](_0x2c404a);});},logConfigWarnings=(_0x2623e8,_0x237819)=>{const _0x57b35a=a4_0x18be23;_0x2623e8[_0x57b35a(0x112)]?.[_0x57b35a(0x124)](_0x4d81f0=>{_0x237819['warn'](_0x4d81f0);});};function logMainConfigParams(_0x2bbb72,_0x407c39){const _0x5d284b=a4_0x18be23;let {agentConfigFile:_0x403074}=_0x2bbb72;if(_0x403074){const _0x1dafa9=(0x0,fs_1[_0x5d284b(0x111)])(_0x2bbb72[_0x5d284b(0x123)])?'exists':_0x5d284b(0x12d);_0x403074+=_0x5d284b(0x113)+_0x1dafa9;}else _0x403074=_0x5d284b(0x129);const _0xe86db={..._0x2bbb72,'lightrunSecret':_0x2bbb72['lightrunSecret']?_0x5d284b(0x119):_0x5d284b(0x10a),'agentConfigFile':_0x403074};_0x407c39[_0x5d284b(0x135)](_0x5d284b(0x13a),_0xe86db),logConfigWarnings(_0x2bbb72,_0x407c39),logConfigErrors(_0x2bbb72,_0x407c39);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a5_0x1640(){var _0x4e46c4=['capture','search','maxProperties','1323blPfjZ','684ZNTZXd','maxWatchListVariableSize','maxStringLength','resolvedDebugAgentConfig','215353yKJzdW','801PzTvEi','2DObZGn','getMaxVariableSize','ConfigurationProvider','40kwlBRQ','maxVariableSize','62630rfIfZj','getMaxProperties','15737160abRlbP','20248eQvJIr','defineProperty','constructor','toString','10820yLfiGC','2177087iSdhYa','maxSnapshotBufferSize','maxWatchProperties','maxDataSize','214728Kjxiqs','(((.+)+)+)+$'];a5_0x1640=function(){return _0x4e46c4;};return a5_0x1640();}var a5_0x48d29a=a5_0x50eb;function a5_0x50eb(_0x2a1cea,_0xb6fe6b){var _0x13effc=a5_0x1640();return a5_0x50eb=function(_0x181fab,_0x1b02d3){_0x181fab=_0x181fab-0xa5;var _0x1640bc=_0x13effc[_0x181fab];return _0x1640bc;},a5_0x50eb(_0x2a1cea,_0xb6fe6b);}(function(_0x368fb5,_0x251c0a){var _0x11a673=a5_0x50eb,_0x2d85f8=_0x368fb5();while(!![]){try{var _0x210cd2=parseInt(_0x11a673(0xa6))/0x1*(parseInt(_0x11a673(0xa8))/0x2)+-parseInt(_0x11a673(0xbf))/0x3*(parseInt(_0x11a673(0xb4))/0x4)+parseInt(_0x11a673(0xab))/0x5*(-parseInt(_0x11a673(0xb9))/0x6)+-parseInt(_0x11a673(0xbe))/0x7*(-parseInt(_0x11a673(0xb0))/0x8)+parseInt(_0x11a673(0xa7))/0x9*(-parseInt(_0x11a673(0xad))/0xa)+-parseInt(_0x11a673(0xb5))/0xb+parseInt(_0x11a673(0xaf))/0xc;if(_0x210cd2===_0x251c0a)break;else _0x2d85f8['push'](_0x2d85f8['shift']());}catch(_0x53df96){_0x2d85f8['push'](_0x2d85f8['shift']());}}}(a5_0x1640,0x54a96));var a5_0x1b02d3=(function(){var _0x37373a=!![];return function(_0x4514a5,_0x221d9f){var _0x9122d1=_0x37373a?function(){if(_0x221d9f){var _0x5b4618=_0x221d9f['apply'](_0x4514a5,arguments);return _0x221d9f=null,_0x5b4618;}}:function(){};return _0x37373a=![],_0x9122d1;};}()),a5_0x181fab=a5_0x1b02d3(this,function(){var _0xbe967b=a5_0x50eb;return a5_0x181fab[_0xbe967b(0xb3)]()[_0xbe967b(0xbc)](_0xbe967b(0xba))[_0xbe967b(0xb3)]()[_0xbe967b(0xb2)](a5_0x181fab)[_0xbe967b(0xbc)](_0xbe967b(0xba));});a5_0x181fab();'use strict';Object[a5_0x48d29a(0xb1)](exports,'__esModule',{'value':!![]}),exports[a5_0x48d29a(0xaa)]=void 0x0;class ConfigurationProvider{constructor(_0x2db66b){var _0x32b3a0=a5_0x48d29a;this[_0x32b3a0(0xa5)]=_0x2db66b;}[a5_0x48d29a(0xa9)](){var _0x558b6f=a5_0x48d29a;return this[_0x558b6f(0xa5)][_0x558b6f(0xbb)][_0x558b6f(0xc1)]||this[_0x558b6f(0xa5)]['capture'][_0x558b6f(0xac)];}['getMaxWatchListVariableSize'](){var _0x1fb58a=a5_0x48d29a;return this[_0x1fb58a(0xa5)][_0x1fb58a(0xbb)][_0x1fb58a(0xc0)];}['getMaxSnapshotBufferSize'](){var _0x2b64fe=a5_0x48d29a;return this['resolvedDebugAgentConfig']['capture'][_0x2b64fe(0xb8)]||this[_0x2b64fe(0xa5)][_0x2b64fe(0xbb)][_0x2b64fe(0xb6)];}[a5_0x48d29a(0xae)](_0x1dabe2){var _0x3441d0=a5_0x48d29a;return _0x1dabe2?this[_0x3441d0(0xa5)][_0x3441d0(0xbb)][_0x3441d0(0xb7)]:this['resolvedDebugAgentConfig'][_0x3441d0(0xbb)][_0x3441d0(0xbd)];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x49e64d=a6_0x5c1b;(function(_0x5f4513,_0x44d3c6){const _0x5146cd=a6_0x5c1b,_0x4ca825=_0x5f4513();while(!![]){try{const _0x3090dc=-parseInt(_0x5146cd(0x1e4))/0x1*(-parseInt(_0x5146cd(0x244))/0x2)+-parseInt(_0x5146cd(0x24f))/0x3+-parseInt(_0x5146cd(0x1fb))/0x4*(parseInt(_0x5146cd(0x1f0))/0x5)+-parseInt(_0x5146cd(0x256))/0x6+parseInt(_0x5146cd(0x1eb))/0x7*(parseInt(_0x5146cd(0x1ec))/0x8)+-parseInt(_0x5146cd(0x21a))/0x9*(parseInt(_0x5146cd(0x220))/0xa)+-parseInt(_0x5146cd(0x1fd))/0xb*(-parseInt(_0x5146cd(0x234))/0xc);if(_0x3090dc===_0x44d3c6)break;else _0x4ca825['push'](_0x4ca825['shift']());}catch(_0x4eb6f4){_0x4ca825['push'](_0x4ca825['shift']());}}}(a6_0x3ff2,0x1fb07));const a6_0xba0259=(function(){let _0x359ede=!![];return function(_0x368813,_0x3ad20f){const _0x39fc8c=_0x359ede?function(){const _0x210b83=a6_0x5c1b;if(_0x3ad20f){const _0x5870fe=_0x3ad20f[_0x210b83(0x277)](_0x368813,arguments);return _0x3ad20f=null,_0x5870fe;}}:function(){};return _0x359ede=![],_0x39fc8c;};}()),a6_0x412d47=a6_0xba0259(this,function(){const _0x58cd77=a6_0x5c1b;return a6_0x412d47[_0x58cd77(0x264)]()[_0x58cd77(0x217)](_0x58cd77(0x1e6))[_0x58cd77(0x264)]()[_0x58cd77(0x235)](a6_0x412d47)[_0x58cd77(0x217)](_0x58cd77(0x1e6));});a6_0x412d47();'use strict';Object['defineProperty'](exports,a6_0x49e64d(0x225),{'value':!![]}),exports['Controller']=void 0x0;function a6_0x5c1b(_0x2976d8,_0x3a3dc7){const _0xf5a4fd=a6_0x3ff2();return a6_0x5c1b=function(_0x412d47,_0xba0259){_0x412d47=_0x412d47-0x1dc;let _0x3ff289=_0xf5a4fd[_0x412d47];return _0x3ff289;},a6_0x5c1b(_0x2976d8,_0x3a3dc7);}const common_1=require(a6_0x49e64d(0x20a)),assert=require(a6_0x49e64d(0x247)),qs=require(a6_0x49e64d(0x254)),fs_1=require('fs'),crypto_1=require(a6_0x49e64d(0x201)),zlib_1=require(a6_0x49e64d(0x27b)),stream_1=require('stream'),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require('extend'),axios_1=require('axios'),https=require(a6_0x49e64d(0x20f)),utils_1=require(a6_0x49e64d(0x1e7)),serverless_1=require(a6_0x49e64d(0x233)),https_proxy_agent_1=require(a6_0x49e64d(0x275)),yaml=require(a6_0x49e64d(0x24a)),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_0x49e64d(0x26f)]{constructor(_0xe32fcc,_0x456129,_0x53a9ed){const _0x58ed63=a6_0x49e64d;super({'parent':_0xe32fcc,'baseUrl':_0x58ed63(0x228)}),this[_0x58ed63(0x218)]=null,this['config']=_0x456129,this[_0x58ed63(0x1f7)]=[],this[_0x58ed63(0x1e3)]=_0x53a9ed,this['apiUrl']=_0x58ed63(0x259)+_0x456129[_0x58ed63(0x288)]+_0x58ed63(0x1ee),this['axios']=axios_1[_0x58ed63(0x248)]['create']({'httpsAgent':getProxyAgent(_0x456129,_0x53a9ed)??new https[(_0x58ed63(0x258))](getHttpsAgentOptions(_0x456129,_0x53a9ed)),'proxy':![]});}['register'](_0x1624d8,_0x380f9c){const _0xae6d71=a6_0x49e64d,_0x50d488={'uri':this[_0xae6d71(0x21b)]+'register','method':_0xae6d71(0x223),'json':!![],'body':{'debuggee':_0x1624d8}};this[_0xae6d71(0x27e)](_0x50d488,(_0x1d5d9f,_0x57ff10,_0x541be6)=>{const _0x2b4014=_0xae6d71;if(!_0x541be6)_0x380f9c(_0x1d5d9f??new Error(_0x2b4014(0x26a)));else{if(_0x1d5d9f){let _0x269add=![];_0x541be6[_0x2b4014(0x1fa)]===HTTP_UPGRADE_REQUIRED&&_0x57ff10&&(_0x57ff10[_0x2b4014(0x27d)]!==undefined&&(_0x1d5d9f[_0x2b4014(0x27d)]=_0x57ff10[_0x2b4014(0x27d)]),_0x269add=!![]),_0x380f9c(_0x1d5d9f,_0x57ff10,_0x269add);}else{if(_0x541be6[_0x2b4014(0x1fa)]!==HTTP_SUCCESS)_0x380f9c(new Error(_0x2b4014(0x27a)+_0x541be6[_0x2b4014(0x1fa)]));else!_0x57ff10?.[_0x2b4014(0x267)]?_0x380f9c(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x1624d8['id']=_0x57ff10[_0x2b4014(0x267)]['id'],_0x380f9c(null,_0x57ff10));}}});}[a6_0x49e64d(0x238)](_0x141da1,_0x1ead64,_0x279cd9){const _0x17e7a9=a6_0x49e64d;assert(_0x141da1['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x5280c0={'successOnTimeout':!![]};this[_0x17e7a9(0x218)]&&(_0x5280c0['waitToken']=this[_0x17e7a9(0x218)]);const _0x4375f7=this['apiUrl']+encodeURIComponent(_0x141da1['id'])+_0x17e7a9(0x205)+qs[_0x17e7a9(0x270)](_0x5280c0);this['makeRequest']({'uri':_0x4375f7,'json':!![]},(_0x47591b,_0x64c0d2,_0x1b556d)=>{const _0x5243b9=_0x17e7a9;if(!_0x1b556d){_0x1ead64(_0x47591b??new Error(_0x5243b9(0x26a)));return;}else{if(!is2xx(_0x1b556d[_0x5243b9(0x1fa)])){_0x1ead64(new Error(_0x5243b9(0x1f3)+_0x1b556d[_0x5243b9(0x1fa)]),undefined,_0x1b556d);return;}else _0x64c0d2&&(this[_0x5243b9(0x218)]=_0x64c0d2['nextWaitToken']),_0x1ead64(null,_0x64c0d2,_0x1b556d);}},_0x279cd9,this[_0x17e7a9(0x1ed)]=new AbortController());}async['listBreakpointsAsync'](_0x26a764,_0x42462c){return new Promise((_0x4ea021,_0x18105a)=>{const _0x2f03ca=a6_0x5c1b;this[_0x2f03ca(0x238)](_0x26a764,(_0x294256,_0x33596d,_0x1785b9)=>{_0x294256?_0x18105a(_0x294256):_0x4ea021({'err':_0x294256,'response':_0x1785b9,'result':_0x33596d});},_0x42462c);});}['enqueueBreakpointUpdate'](_0x20b33f,_0x8c00f7){const _0x34351=a6_0x49e64d;assert(_0x20b33f['id'],_0x34351(0x262));try{const _0x113ea5=JSON['stringify'](_0x8c00f7),_0x2917ff=(0x0,utils_1[_0x34351(0x1ea)])(_0x113ea5);if(_0x2917ff>=this['config'][_0x34351(0x257)]){this['logger'][_0x34351(0x25c)](_0x34351(0x227)+_0x8c00f7['id']+_0x34351(0x1de)+_0x2917ff+_0x34351(0x210)+this[_0x34351(0x1ef)][_0x34351(0x257)]);return;}this[_0x34351(0x1f7)][_0x34351(0x20c)]({'id':_0x8c00f7['id'],'serializedJson':_0x113ea5,'number':0x0}),this['transmissionTimeout']??(this[_0x34351(0x25d)]=setTimeout(()=>this[_0x34351(0x22a)]['bind'](this)(_0x20b33f['id']),0x0));}catch(_0x1f08da){this[_0x34351(0x1e3)][_0x34351(0x23f)](_0x34351(0x260)+_0x8c00f7['id']+_0x34351(0x22f),_0x1f08da);return;}}['stop'](){const _0x5a787b=a6_0x49e64d;this['listBreakpointsAbortController']?.[_0x5a787b(0x242)](),this['listBreakpointsAbortController']=undefined;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x5a787b(0x25d)]),this[_0x5a787b(0x25d)]=null;}async[a6_0x49e64d(0x271)](_0xc00284){const _0x36d9d8=a6_0x49e64d,_0x20355b=Date[_0x36d9d8(0x230)](),_0x4d1493=0x1;while(Date[_0x36d9d8(0x230)]()-_0x20355b<_0xc00284){if(serverless_1[_0x36d9d8(0x279)][_0x36d9d8(0x231)]()&&serverless_1['Serverless'][_0x36d9d8(0x1f6)]()){this['logger'][_0x36d9d8(0x1e2)](_0x36d9d8(0x23b));return;}const _0x1cfcb9=this['transmissionQueue'][_0x36d9d8(0x263)]===0x0,_0x5e0196=!this['transmissionTimeout'],_0x21e807=!this[_0x36d9d8(0x1e9)];if(_0x1cfcb9&&_0x5e0196&&_0x21e807){this[_0x36d9d8(0x1e3)]['debug'](_0x36d9d8(0x22d));return;}this[_0x36d9d8(0x1e9)]?(this['logger']['debug']('waiting\x20for\x20active\x20transmission'),await Promise[_0x36d9d8(0x250)]([this[_0x36d9d8(0x1e9)],(0x0,utils_1[_0x36d9d8(0x1f5)])(_0x4d1493)])):(this[_0x36d9d8(0x1e3)][_0x36d9d8(0x1e2)](_0x36d9d8(0x212)+_0x4d1493+'ms'),await(0x0,utils_1['waitFor'])(_0x4d1493));}throw new Error(_0x36d9d8(0x245)+_0xc00284+_0x36d9d8(0x285)+this['transmissionQueue']['length']);}[a6_0x49e64d(0x1df)](_0x53e1af,_0x2b77f2){const _0x46fa57=a6_0x49e64d,_0x320694=this[_0x46fa57(0x21b)]+encodeURIComponent(_0x53e1af['id'])+_0x46fa57(0x284),_0x18fc42={'uri':_0x320694,'method':_0x46fa57(0x223),'json':!![]};this[_0x46fa57(0x1e3)][_0x46fa57(0x251)](_0x46fa57(0x20b)),this[_0x46fa57(0x27e)](_0x18fc42,(_0x5ba547,_0x330279,_0x31940b)=>{const _0x8be82a=_0x46fa57;(!_0x31940b||Math['floor'](_0x31940b[_0x8be82a(0x1fa)]/0x64)!==0x2)&&this[_0x8be82a(0x1e3)][_0x8be82a(0x25c)](_0x8be82a(0x214)+_0x5ba547),_0x2b77f2(_0x5ba547);});}[a6_0x49e64d(0x261)](_0x5b1c2b,_0xc6621d,_0x30a872){const _0x8d2eb1=a6_0x49e64d,_0x542e23=this[_0x8d2eb1(0x21b)]+encodeURIComponent(_0x5b1c2b['id'])+_0x8d2eb1(0x253),_0x4e852d={'uri':_0x542e23,'method':_0x8d2eb1(0x223),'json':!![],'body':_0xc6621d};this[_0x8d2eb1(0x27e)](_0x4e852d,(_0x12c884,_0x46c9b1,_0x625552)=>{const _0x2231dc=_0x8d2eb1;(!_0x625552||Math[_0x2231dc(0x1dd)](_0x625552[_0x2231dc(0x1fa)]/0x64)!==0x2)&&(this[_0x2231dc(0x1e3)][_0x2231dc(0x25c)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x12c884),_0x30a872(_0x12c884));});}['sendAppOnlyBreakpointHitsToServer'](_0x2fe723,_0x3e95f0,_0x1fe417){const _0x2e8afe=a6_0x49e64d,_0x261b24=this[_0x2e8afe(0x21b)]+encodeURIComponent(_0x2fe723['id'])+_0x2e8afe(0x246),_0x271eb5={'uri':_0x261b24,'method':'POST','json':!![],'body':_0x3e95f0};this['makeRequest'](_0x271eb5,(_0x1ee51f,_0xee4c38,_0x1a5bbc)=>{const _0x2b89c2=_0x2e8afe;(!_0x1a5bbc||Math['floor'](_0x1a5bbc[_0x2b89c2(0x1fa)]/0x64)!==0x2)&&(this[_0x2b89c2(0x1e3)][_0x2b89c2(0x25c)](_0x2b89c2(0x237)+_0x1ee51f),_0x1fe417(_0x1ee51f));});}['sendAgentLogsToServer'](_0x668454,_0x4e4db7,_0xc7c6dc){const _0x555869=a6_0x49e64d;assert(_0x668454['id'],_0x555869(0x262));if(this[_0x555869(0x272)]){const _0x4f0d95=Date['now'](),_0x491db1=this[_0x555869(0x272)]+this[_0x555869(0x1ef)][_0x555869(0x24c)][_0x555869(0x243)];if(_0x4f0d95<_0x491db1){this[_0x555869(0x1e3)][_0x555869(0x251)](_0x555869(0x204)+(_0x491db1-_0x4f0d95)/0x3e8+_0x555869(0x224));return;}}const _0x28097c=(0x0,fs_1[_0x555869(0x202)])(_0xc7c6dc)[_0x555869(0x215)],_0x181950=Math[_0x555869(0x1f8)](0x0,_0x28097c-this[_0x555869(0x1ef)][_0x555869(0x24c)]['maxLogFileBytes']),_0x26dada=(0x0,fs_1[_0x555869(0x203)])(_0xc7c6dc,{'start':_0x181950}),_0xb1184a=(0x0,zlib_1['createGzip'])(),_0x5a048e=new memory_streams_1[(_0x555869(0x255))]();this[_0x555869(0x1e3)][_0x555869(0x251)](_0x555869(0x211)+_0xc7c6dc+_0x555869(0x209)+_0x4e4db7),(0x0,stream_1[_0x555869(0x206)])(_0x26dada,_0xb1184a,_0x5a048e,_0x32e6c3=>{const _0x56880e=_0x555869;if(_0x32e6c3)this[_0x56880e(0x1e3)][_0x56880e(0x23f)]('Failed\x20to\x20zip\x20'+_0xc7c6dc+':\x20'+_0x32e6c3);else{const _0x3c98eb={'uri':this[_0x56880e(0x21b)]+encodeURIComponent(_0x668454['id'])+'/compressedLogFileV2/'+_0x4e4db7,'method':_0x56880e(0x274),'body':_0x5a048e['toBuffer'](),'headers':{'Content-Type':_0x56880e(0x265)}};this['makeRequest'](_0x3c98eb,_0x5e602d=>{const _0x1c33fa=_0x56880e;_0x5e602d?this['logger'][_0x1c33fa(0x23f)](_0x1c33fa(0x21d)+_0xc7c6dc+'\x20for\x20request\x20'+_0x4e4db7,_0x5e602d):(this[_0x1c33fa(0x1e3)][_0x1c33fa(0x251)](_0x1c33fa(0x266)+_0xc7c6dc+_0x1c33fa(0x1dc)+_0x4e4db7),this[_0x1c33fa(0x272)]=Date[_0x1c33fa(0x230)]());});}});}[a6_0x49e64d(0x22a)](_0x3b675c){const _0x263f94=a6_0x49e64d;this['logger'][_0x263f94(0x1e2)](_0x263f94(0x200)),this[_0x263f94(0x25d)]=undefined;const _0x14e1d2=[];let _0x32e691=0x0;while(_0x14e1d2[_0x263f94(0x263)]<this[_0x263f94(0x1ef)]['transmissionBulkMaxSize']&&this[_0x263f94(0x1f7)]['length']>0x0){const [_0x336106]=this[_0x263f94(0x1f7)],_0x39336c=_0x336106[_0x263f94(0x1fc)],_0x5b2692=(0x0,utils_1[_0x263f94(0x1ea)])(_0x39336c);_0x32e691+=_0x5b2692;if(_0x32e691<=this[_0x263f94(0x1ef)][_0x263f94(0x239)])_0x14e1d2[_0x263f94(0x20c)](_0x336106),this[_0x263f94(0x1f7)][_0x263f94(0x219)]();else{_0x5b2692>this['config'][_0x263f94(0x239)]&&_0x14e1d2[_0x263f94(0x263)]===0x0&&(this[_0x263f94(0x1e3)][_0x263f94(0x1e2)](_0x263f94(0x252)+_0x336106['id']+_0x263f94(0x26d)+this['config'][_0x263f94(0x239)]+',\x20sending\x20only\x20one'),_0x14e1d2[_0x263f94(0x20c)](_0x336106),this[_0x263f94(0x1f7)][_0x263f94(0x219)]());break;}}if(!_0x14e1d2)return;const _0x1f5ce2=_0x14e1d2[_0x263f94(0x1e5)](_0x603652=>_0x603652['id']),_0xadb2a0={'uri':this[_0x263f94(0x21b)]+encodeURIComponent(_0x3b675c)+_0x263f94(0x1f2),'json':!![],'method':'PUT','body':'['+_0x14e1d2[_0x263f94(0x1e5)](_0x5356da=>_0x5356da[_0x263f94(0x1fc)])[_0x263f94(0x286)](',')+']'};try{this[_0x263f94(0x1e9)]=this[_0x263f94(0x27e)](_0xadb2a0,(_0x52e5b6,_0x950631,_0x2539e4)=>{const _0x3e2a62=_0x263f94,_0x2ac613=_0x2539e4?.['status'];this[_0x3e2a62(0x1e3)][_0x3e2a62(0x1e2)](_0x3e2a62(0x241)+_0x1f5ce2+'\x20finished\x20with\x20status\x20'+_0x2ac613);if(_0x52e5b6||!_0x2ac613||Math[_0x3e2a62(0x1dd)](_0x2ac613/0x64)!==0x2){const _0x52187a=_0x2ac613&&(_0x2ac613>=0x1f4||_0x2ac613===0x198);if(_0x52187a){this['logger'][_0x3e2a62(0x25c)](_0x3e2a62(0x21c)+_0x1f5ce2+_0x3e2a62(0x268)+_0x2ac613+_0x3e2a62(0x24e)+_0x52e5b6);for(const _0x3dc56d of _0x14e1d2){_0x3dc56d[_0x3e2a62(0x25a)]<MAX_FAILED_SEND_ATTEMPTS?this[_0x3e2a62(0x1f7)][_0x3e2a62(0x20c)]({..._0x3dc56d,'number':_0x3dc56d[_0x3e2a62(0x25a)]+0x1}):this[_0x3e2a62(0x1e3)][_0x3e2a62(0x25c)]('Breakpoint\x20'+_0x3dc56d['id']+_0x3e2a62(0x207));}}else this[_0x3e2a62(0x1e3)][_0x3e2a62(0x25c)](_0x3e2a62(0x24b)+_0x1f5ce2+_0x3e2a62(0x268)+_0x2ac613+'\x20Error:\x20'+_0x52e5b6);}else this[_0x3e2a62(0x1e3)][_0x3e2a62(0x251)](_0x3e2a62(0x241)+_0x1f5ce2+_0x3e2a62(0x276));this[_0x3e2a62(0x1f7)][_0x3e2a62(0x263)]>0x0&&(this[_0x3e2a62(0x25d)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x3e2a62(0x213)](this)(_0x3b675c),0x0));},0x28)[_0x263f94(0x1e1)](()=>{const _0x482044=_0x263f94;this[_0x482044(0x1e9)]=undefined;});}catch(_0x2e5fd1){this[_0x263f94(0x1e3)]['warn'](_0x263f94(0x24b)+_0x1f5ce2+_0x263f94(0x249)+_0x2e5fd1+_0x263f94(0x1f9)+_0x2e5fd1[_0x263f94(0x273)]?.['message']),this[_0x263f94(0x1f7)]['length']>0x0&&(this[_0x263f94(0x25d)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x263f94(0x213)](this)(_0x3b675c),0x0)),this[_0x263f94(0x1e9)]=undefined;}}async[a6_0x49e64d(0x21e)](_0x8bb5d8){const _0x4cb012=a6_0x49e64d;this[_0x4cb012(0x1e3)]['info'](_0x4cb012(0x20e));const _0x498db2=this[_0x4cb012(0x21b)]+encodeURIComponent(_0x8bb5d8)+'/blacklist?successOnTimeout=true',{error:_0x26afb6,data:_0x19a0a7}=await this[_0x4cb012(0x27e)]({'uri':_0x498db2,'json':!![]});if(_0x26afb6)return Promise[_0x4cb012(0x26c)](_0x26afb6);return yaml[_0x4cb012(0x1fe)](_0x19a0a7)??{};}[a6_0x49e64d(0x27e)](_0x803e2c,_0x397f89,_0x1bbb55,_0x47f7ee,_0x48ae16){const _0x4a8c98=a6_0x49e64d,_0x3981fb={'Content-Type':_0x48ae16??_0x4a8c98(0x23d),'Authorization':_0x4a8c98(0x22b)+this[_0x4a8c98(0x1ef)]['lightrunSecret']},_0x3037d4=_0x47f7ee??new AbortController(),_0x5dcb91=_0x1bbb55?_0x1bbb55*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4a8c98(0x1e3)]['debug'](_0x4a8c98(0x27f)+_0x5dcb91);const _0x4b3b48=setTimeout(()=>{const _0x5a8599=_0x4a8c98;this[_0x5a8599(0x1e3)][_0x5a8599(0x25c)](_0x5a8599(0x226)+_0x5dcb91+'ms'),_0x3037d4['abort']();},_0x5dcb91),_0x3a9d81={'method':_0x803e2c[_0x4a8c98(0x280)],'url':_0x803e2c[_0x4a8c98(0x1f4)],'data':_0x803e2c['body'],'headers':_0x3981fb,'signal':_0x3037d4['signal']};return extend(!![],_0x3a9d81,_0x803e2c),this[_0x4a8c98(0x269)][_0x4a8c98(0x21f)](_0x3a9d81)[_0x4a8c98(0x222)](_0x2a20d1=>{const _0xfdd926=_0x4a8c98;return _0x397f89?.(null,_0x2a20d1[_0xfdd926(0x273)],_0x2a20d1),{'error':null,'data':_0x2a20d1[_0xfdd926(0x273)],'res':_0x2a20d1};})[_0x4a8c98(0x22c)](_0x1b5240=>{const _0x3067c3=_0x4a8c98;return _0x397f89?.(_0x1b5240,_0x1b5240[_0x3067c3(0x287)]?.['data'],_0x1b5240[_0x3067c3(0x287)]),{'error':_0x1b5240,'data':_0x1b5240[_0x3067c3(0x287)]?.['data'],'res':_0x1b5240[_0x3067c3(0x287)]};})[_0x4a8c98(0x1e1)](()=>clearTimeout(_0x4b3b48));}async[a6_0x49e64d(0x221)](_0x392c11){const _0x79f828=a6_0x49e64d;this['logger'][_0x79f828(0x251)](_0x79f828(0x232));const _0x18a16a=this[_0x79f828(0x21b)]+encodeURIComponent(_0x392c11)+_0x79f828(0x208),{error:_0x5a0ccd,data:_0x47a49e}=await this[_0x79f828(0x27e)]({'uri':_0x18a16a,'json':!![]});if(_0x5a0ccd)return Promise[_0x79f828(0x26c)](_0x5a0ccd);return _0x47a49e;}}exports['Controller']=Controller;function a6_0x3ff2(){const _0x19ad6d=['nextWaitToken','shift','9WVRrmT','apiUrl','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','Failed\x20to\x20send\x20log\x20file\x20','getBlocklist','request','2403670LHvAHH','getRedactions','then','POST','\x20seconds','__esModule','Timeout\x20occurred\x20after\x20','breakpointId:\x20','/controller','caPath','transmitBreakpointUpdates','Bearer\x20','catch','transmission\x20queue\x20is\x20empty','includes','\x20and\x20enqueue\x20to\x20queue','now','isServerless','Getting\x20reductions','./serverless','628104enbxWs','constructor','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','listBreakpoints','transmissionBulkMaxNetworkSizeInBytes','HttpsProxyAgent','another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now',',\x20username:\x20','application/json','sha256','error','username','Update\x20for\x20breakpoints\x20','abort','collectCooldownMs','2258UhAXaA','Queue\x20drain\x20timeout\x20after\x20','/appOnlyActionHits/','assert','default','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','js-yaml','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','agentLog','host','\x20Error:\x20','100086RGBwTg','race','info','breakpoint\x20','/log/','querystring','WritableStream','202278HdNnJi','transmissionHardMaxNetworkSizeLimitInBytes','Agent','https://','number','update','warn','transmissionTimeout','connect','createSecureContext','failed\x20to\x20serialize\x20breakpoint\x20','sendBreakpointLogsToServer','should\x20have\x20a\x20registered\x20debuggee','length','toString','application/octet-stream','Successfully\x20sent\x20log\x20file\x20','debuggee','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','axios','unknown\x20error\x20-\x20request\x20response\x20missing','Using\x20proxy\x20configuration:\x20','reject','\x20size\x20>\x20max\x20network\x20size\x20:\x20','\x22\x20-\x20ignoring\x20it','ServiceObject','stringify','waitForTransmissionQueueDrain','lastLogCollectionTime','data','PUT','https-proxy-agent','\x20transmitted\x20successfully','apply','password','Serverless','unable\x20to\x20register,\x20status\x20','zlib','ascii','message','makeRequest','timeout\x20set\x20to\x20','method','readFileSync','digest','secureContext','/deregister/','ms.\x20Queue\x20length:\x20','join','response','apiEndpoint','\x20for\x20request\x20','floor','\x20size\x20is\x20','deregister','port','finally','debug','logger','149XuJngj','map','(((.+)+)+)+$','./util/utils','http://','activeTransmission','getJsonStringSizeInBytes','56rERyKr','205808AKxUCW','listBreakpointsAbortController','/debuggees/','config','20qrAHMM','Certificate\x20Pinning\x20Failed!','/breakpoints','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','uri','waitFor','isTransmissionEnsured','transmissionQueue','max',',\x20Message:\x20','status','250840xeOvUs','serializedJson','66ioDDnQ','load','pubkey','Transmitting\x20breakpoint\x20updates...','crypto','statSync','createReadStream','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','/breakpoints?','pipeline','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','/redaction','\x20for\x20request\x20id\x20','@google-cloud/common','Deregister\x20agent\x20before\x20shutdown','push','context','Getting\x20blocklist','https','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','Compressing\x20and\x20sending\x20log\x20file\x20','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','bind','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','size','noCheckCertificate','search'];a6_0x3ff2=function(){return _0x19ad6d;};return a6_0x3ff2();}function is2xx(_0x308506){const _0x316e44=a6_0x49e64d;return Math[_0x316e44(0x1dd)](_0x308506/0x64)===0x2;}function getProxyAgent(_0x18265a,_0x54b46a){const _0x45c1f4=a6_0x49e64d,{proxy:_0x2c67a1}=_0x18265a;if(!_0x2c67a1?.['host'])return undefined;if(!_0x2c67a1[_0x45c1f4(0x1e0)])return _0x54b46a['error'](_0x45c1f4(0x236)),undefined;_0x54b46a[_0x45c1f4(0x251)](_0x45c1f4(0x26b)+_0x2c67a1[_0x45c1f4(0x24d)]+':'+_0x2c67a1[_0x45c1f4(0x1e0)]+_0x45c1f4(0x23c)+(_0x2c67a1[_0x45c1f4(0x240)]??''));const _0x170f18=new URL(_0x45c1f4(0x1e8)+_0x2c67a1['host']);_0x170f18[_0x45c1f4(0x1e0)]=String(_0x2c67a1['port']);_0x2c67a1['username']&&(_0x170f18[_0x45c1f4(0x240)]=_0x2c67a1[_0x45c1f4(0x240)]);_0x2c67a1[_0x45c1f4(0x278)]&&(_0x170f18[_0x45c1f4(0x278)]=_0x2c67a1[_0x45c1f4(0x278)]);const _0x2c9d14=new https_proxy_agent_1[(_0x45c1f4(0x23a))](_0x170f18),_0x52c351=getHttpsAgentOptions(_0x18265a,_0x54b46a),_0x5da9dc=_0x2c9d14[_0x45c1f4(0x25e)][_0x45c1f4(0x213)](_0x2c9d14);return _0x2c9d14[_0x45c1f4(0x25e)]=(_0x1a2fe2,_0x1bdd4d)=>_0x5da9dc(_0x1a2fe2,{..._0x1bdd4d,..._0x52c351}),_0x2c9d14;}function getHttpsAgentOptions(_0x1f7b9e,_0x3ef2c1){const _0x4c866b=a6_0x49e64d,_0x5bae6a={'checkServerIdentity':(_0x176157,_0x300671)=>{const _0x36eb0a=a6_0x5c1b;if(_0x1f7b9e[_0x36eb0a(0x216)])return undefined;const _0x56f39f=(0x0,crypto_1['createHash'])(_0x36eb0a(0x23e))[_0x36eb0a(0x25b)](_0x300671[_0x36eb0a(0x1ff)])[_0x36eb0a(0x282)]('hex');return _0x1f7b9e['pinnedCerts'][_0x36eb0a(0x22e)](_0x56f39f)?undefined:new Error(_0x36eb0a(0x1f1));}};let _0x2dd29c;if(_0x1f7b9e[_0x4c866b(0x229)])try{_0x2dd29c=(0x0,fs_1[_0x4c866b(0x281)])(_0x1f7b9e[_0x4c866b(0x229)],_0x4c866b(0x27c));}catch{_0x3ef2c1[_0x4c866b(0x25c)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x1f7b9e['caPath']+_0x4c866b(0x26e));}if(_0x2dd29c){const _0x342502=(0x0,tls_1[_0x4c866b(0x25f)])(_0x5bae6a);_0x342502[_0x4c866b(0x20d)]['addCACert'](_0x2dd29c),_0x5bae6a[_0x4c866b(0x283)]=_0x342502;}return _0x5bae6a;}
|
|
1
|
+
const a6_0x7bf94=a6_0x41ee;(function(_0x18e632,_0x1d3205){const _0x3675b8=a6_0x41ee,_0x291d46=_0x18e632();while(!![]){try{const _0x4db4d3=parseInt(_0x3675b8(0xf5))/0x1*(parseInt(_0x3675b8(0xd9))/0x2)+parseInt(_0x3675b8(0xae))/0x3+-parseInt(_0x3675b8(0x107))/0x4+parseInt(_0x3675b8(0xf9))/0x5*(-parseInt(_0x3675b8(0xb9))/0x6)+parseInt(_0x3675b8(0x82))/0x7+-parseInt(_0x3675b8(0xe3))/0x8+parseInt(_0x3675b8(0xdb))/0x9*(parseInt(_0x3675b8(0x69))/0xa);if(_0x4db4d3===_0x1d3205)break;else _0x291d46['push'](_0x291d46['shift']());}catch(_0x1d72d3){_0x291d46['push'](_0x291d46['shift']());}}}(a6_0x3725,0x84a51));const a6_0x33e49e=(function(){let _0x34db35=!![];return function(_0x24ff6b,_0x25d749){const _0x16736f=_0x34db35?function(){const _0x107ae3=a6_0x41ee;if(_0x25d749){const _0xf1ebd7=_0x25d749[_0x107ae3(0x8a)](_0x24ff6b,arguments);return _0x25d749=null,_0xf1ebd7;}}:function(){};return _0x34db35=![],_0x16736f;};}()),a6_0x128a77=a6_0x33e49e(this,function(){const _0x4f980a=a6_0x41ee;return a6_0x128a77[_0x4f980a(0xcd)]()[_0x4f980a(0x95)](_0x4f980a(0x71))['toString']()[_0x4f980a(0xe2)](a6_0x128a77)[_0x4f980a(0x95)]('(((.+)+)+)+$');});a6_0x128a77();function a6_0x41ee(_0x2359cb,_0x15279e){const _0x375ef9=a6_0x3725();return a6_0x41ee=function(_0x128a77,_0x33e49e){_0x128a77=_0x128a77-0x67;let _0x3725cb=_0x375ef9[_0x128a77];return _0x3725cb;},a6_0x41ee(_0x2359cb,_0x15279e);}'use strict';Object[a6_0x7bf94(0x98)](exports,'__esModule',{'value':!![]}),exports[a6_0x7bf94(0xe8)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x7bf94(0xc5)),qs=require(a6_0x7bf94(0x6f)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x7bf94(0x10a)),stream_1=require('stream'),memory_streams_1=require(a6_0x7bf94(0x94)),tls_1=require(a6_0x7bf94(0x74)),extend=require('extend'),axios_1=require(a6_0x7bf94(0xa8)),https=require(a6_0x7bf94(0xdd)),utils_1=require(a6_0x7bf94(0xa5)),serverless_1=require(a6_0x7bf94(0x75)),https_proxy_agent_1=require('https-proxy-agent'),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x7bf94(0x77)]{constructor(_0x542cf2,_0x19b002,_0x275566){const _0x217208=a6_0x7bf94;super({'parent':_0x542cf2,'baseUrl':_0x217208(0x86)}),this[_0x217208(0xa0)]=null,this[_0x217208(0xf2)]=_0x19b002,this[_0x217208(0x91)]=[],this[_0x217208(0xf7)]=_0x275566,this[_0x217208(0x85)]=_0x217208(0xc8)+_0x19b002[_0x217208(0xea)]+_0x217208(0x104),this[_0x217208(0xa8)]=axios_1[_0x217208(0x9b)][_0x217208(0xc1)]({'httpsAgent':getProxyAgent(_0x19b002,_0x275566)??new https[(_0x217208(0xd6))](getHttpsAgentOptions(_0x19b002,_0x275566)),'proxy':![]});}[a6_0x7bf94(0x6e)](_0x1992d8,_0x3892f6){const _0x1b2bfe=a6_0x7bf94,_0x3bac0b={'uri':this[_0x1b2bfe(0x85)]+_0x1b2bfe(0x6e),'method':_0x1b2bfe(0xc4),'json':!![],'body':{'debuggee':_0x1992d8}};this['makeRequest'](_0x3bac0b,(_0x36c24c,_0x170a8b,_0x4d5719)=>{const _0x2f0653=_0x1b2bfe;if(!_0x4d5719)_0x3892f6(_0x36c24c??new Error(_0x2f0653(0xb1)));else{if(_0x36c24c){let _0x373ce4=![];_0x4d5719['status']===HTTP_UPGRADE_REQUIRED&&_0x170a8b&&(_0x170a8b[_0x2f0653(0x9c)]!==undefined&&(_0x36c24c[_0x2f0653(0x9c)]=_0x170a8b['message']),_0x373ce4=!![]),_0x3892f6(_0x36c24c,_0x170a8b,_0x373ce4);}else{if(_0x4d5719[_0x2f0653(0xd8)]!==HTTP_SUCCESS)_0x3892f6(new Error(_0x2f0653(0xd1)+_0x4d5719[_0x2f0653(0xd8)]));else!_0x170a8b?.[_0x2f0653(0xbd)]?_0x3892f6(new Error(_0x2f0653(0xf3))):(_0x1992d8['id']=_0x170a8b['debuggee']['id'],_0x3892f6(null,_0x170a8b));}}});}['listBreakpoints'](_0x21cf56,_0x46a316,_0x11a531){const _0x441078=a6_0x7bf94;assert(_0x21cf56['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x521968={'successOnTimeout':!![]};this['nextWaitToken']&&(_0x521968[_0x441078(0xa7)]=this['nextWaitToken']);const _0x3ad7ef=this[_0x441078(0x85)]+encodeURIComponent(_0x21cf56['id'])+_0x441078(0x68)+qs['stringify'](_0x521968);this['makeRequest']({'uri':_0x3ad7ef,'json':!![]},(_0x55677f,_0x3c3d24,_0x5979ea)=>{const _0xa69f78=_0x441078;if(!_0x5979ea){_0x46a316(_0x55677f??new Error(_0xa69f78(0xb1)));return;}else{if(!is2xx(_0x5979ea['status'])){_0x46a316(new Error(_0xa69f78(0xfa)+_0x5979ea[_0xa69f78(0xd8)]),undefined,_0x5979ea);return;}else _0x3c3d24&&(this[_0xa69f78(0xa0)]=_0x3c3d24['nextWaitToken']),_0x46a316(null,_0x3c3d24,_0x5979ea);}},_0x11a531,this[_0x441078(0xee)]=new AbortController());}async[a6_0x7bf94(0xcc)](_0x4e206a,_0x304663){return new Promise((_0x5d390b,_0x289533)=>{const _0x5656c2=a6_0x41ee;this[_0x5656c2(0x7a)](_0x4e206a,(_0x284a38,_0xdf5936,_0x40d55d)=>{_0x284a38?_0x289533(_0x284a38):_0x5d390b({'err':_0x284a38,'response':_0x40d55d,'result':_0xdf5936});},_0x304663);});}[a6_0x7bf94(0xf0)](_0x1f192b,_0x531c64){const _0x27033f=a6_0x7bf94;assert(_0x1f192b['id'],_0x27033f(0x102));try{const _0x1fac09=JSON[_0x27033f(0xcb)](_0x531c64),_0x26a132=(0x0,utils_1[_0x27033f(0x8c)])(_0x1fac09);if(_0x26a132>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this['logger'][_0x27033f(0x6d)](_0x27033f(0xaf)+_0x531c64['id']+_0x27033f(0xa4)+_0x26a132+_0x27033f(0xc7)+this[_0x27033f(0xf2)][_0x27033f(0xfe)]);return;}this['transmissionQueue'][_0x27033f(0x81)]({'id':_0x531c64['id'],'serializedJson':_0x1fac09,'number':0x0}),this['transmissionTimeout']??(this[_0x27033f(0xd7)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x27033f(0x73)](this)(_0x1f192b['id']),0x0));}catch(_0x5304b6){this['logger'][_0x27033f(0xc2)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x531c64['id']+_0x27033f(0x67),_0x5304b6);return;}}[a6_0x7bf94(0xbb)](){const _0x5aa670=a6_0x7bf94;this[_0x5aa670(0xee)]?.['abort'](),this[_0x5aa670(0xee)]=undefined;if(!this[_0x5aa670(0xd7)])return;clearTimeout(this[_0x5aa670(0xd7)]),this[_0x5aa670(0xd7)]=null;}async['waitForTransmissionQueueDrain'](_0x23d9b8){const _0x89894d=a6_0x7bf94,_0x5b3017=Date[_0x89894d(0xb7)](),_0x406d8f=0x1;while(Date[_0x89894d(0xb7)]()-_0x5b3017<_0x23d9b8){if(serverless_1[_0x89894d(0xdf)][_0x89894d(0x101)]()&&serverless_1[_0x89894d(0xdf)]['isTransmissionEnsured']()){this[_0x89894d(0xf7)][_0x89894d(0xc6)](_0x89894d(0xef));return;}const _0x440cf7=this[_0x89894d(0x91)][_0x89894d(0x80)]===0x0,_0x32d8e6=!this['transmissionTimeout'],_0x387268=!this[_0x89894d(0xe0)];if(_0x440cf7&&_0x32d8e6&&_0x387268){this[_0x89894d(0xf7)][_0x89894d(0xc6)](_0x89894d(0x83));return;}this[_0x89894d(0xe0)]?(this[_0x89894d(0xf7)][_0x89894d(0xc6)](_0x89894d(0xf8)),await Promise[_0x89894d(0xe1)]([this['activeTransmission'],(0x0,utils_1[_0x89894d(0xbe)])(_0x406d8f)])):(this[_0x89894d(0xf7)]['debug'](_0x89894d(0xad)+_0x406d8f+'ms'),await(0x0,utils_1[_0x89894d(0xbe)])(_0x406d8f));}throw new Error(_0x89894d(0xba)+_0x23d9b8+_0x89894d(0x87)+this['transmissionQueue'][_0x89894d(0x80)]);}['deregister'](_0x5617b3,_0x283fed){const _0x3ca06b=a6_0x7bf94,_0x15d565=this[_0x3ca06b(0x85)]+encodeURIComponent(_0x5617b3['id'])+_0x3ca06b(0x96),_0x10906c={'uri':_0x15d565,'method':_0x3ca06b(0xc4),'json':!![]};this['logger'][_0x3ca06b(0x78)](_0x3ca06b(0x97)),this[_0x3ca06b(0x8e)](_0x10906c,(_0x2a35c9,_0x3ed4d,_0xa2d1c7)=>{const _0x3c0aec=_0x3ca06b;(!_0xa2d1c7||Math[_0x3c0aec(0xd3)](_0xa2d1c7[_0x3c0aec(0xd8)]/0x64)!==0x2)&&this[_0x3c0aec(0xf7)][_0x3c0aec(0x6d)](_0x3c0aec(0x8d)+_0x2a35c9),_0x283fed(_0x2a35c9);});}['sendBreakpointLogsToServer'](_0xf26ffb,_0xf2590,_0x54f10e){const _0x5b1850=a6_0x7bf94,_0x960dcd=this[_0x5b1850(0x85)]+encodeURIComponent(_0xf26ffb['id'])+_0x5b1850(0xb4),_0x1a14ef={'uri':_0x960dcd,'method':_0x5b1850(0xc4),'json':!![],'body':_0xf2590};this[_0x5b1850(0x8e)](_0x1a14ef,(_0x5f12f9,_0x34b10f,_0x2e3444)=>{const _0x507586=_0x5b1850;(!_0x2e3444||Math[_0x507586(0xd3)](_0x2e3444['status']/0x64)!==0x2)&&(this['logger']['warn'](_0x507586(0x76)+_0x5f12f9),_0x54f10e(_0x5f12f9));});}['sendAppOnlyBreakpointHitsToServer'](_0x1b59fe,_0x8ffb03,_0x2b0329){const _0x175047=a6_0x7bf94,_0x44c11c=this['apiUrl']+encodeURIComponent(_0x1b59fe['id'])+_0x175047(0x89),_0x1919fd={'uri':_0x44c11c,'method':'POST','json':!![],'body':_0x8ffb03};this['makeRequest'](_0x1919fd,(_0x25eac6,_0x2d7e97,_0x2fabae)=>{const _0x27d6b1=_0x175047;(!_0x2fabae||Math['floor'](_0x2fabae['status']/0x64)!==0x2)&&(this['logger'][_0x27d6b1(0x6d)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x25eac6),_0x2b0329(_0x25eac6));});}[a6_0x7bf94(0xda)](_0x29196f,_0x3a6bad,_0x19850d){const _0x318294=a6_0x7bf94;assert(_0x29196f['id'],_0x318294(0x102));if(this[_0x318294(0xab)]){const _0x19a2c6=Date[_0x318294(0xb7)](),_0x4f5d64=this[_0x318294(0xab)]+this[_0x318294(0xf2)]['agentLog']['collectCooldownMs'];if(_0x19a2c6<_0x4f5d64){this[_0x318294(0xf7)][_0x318294(0x78)](_0x318294(0x70)+(_0x4f5d64-_0x19a2c6)/0x3e8+'\x20seconds');return;}}const _0x37f960=(0x0,fs_1[_0x318294(0x7d)])(_0x19850d)[_0x318294(0x103)],_0x2e08cd=Math['max'](0x0,_0x37f960-this[_0x318294(0xf2)][_0x318294(0x9f)][_0x318294(0x109)]),_0x4e7cd5=(0x0,fs_1['createReadStream'])(_0x19850d,{'start':_0x2e08cd}),_0x5971f7=(0x0,zlib_1['createGzip'])(),_0x1deb4b=new memory_streams_1[(_0x318294(0x6a))]();this[_0x318294(0xf7)][_0x318294(0x78)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x19850d+'\x20for\x20request\x20id\x20'+_0x3a6bad),(0x0,stream_1[_0x318294(0x90)])(_0x4e7cd5,_0x5971f7,_0x1deb4b,_0x525793=>{const _0x3e5ad2=_0x318294;if(_0x525793)this[_0x3e5ad2(0xf7)]['error']('Failed\x20to\x20zip\x20'+_0x19850d+':\x20'+_0x525793);else{const _0x398f6a={'uri':this[_0x3e5ad2(0x85)]+encodeURIComponent(_0x29196f['id'])+_0x3e5ad2(0x9d)+_0x3a6bad,'method':_0x3e5ad2(0x92),'body':_0x1deb4b[_0x3e5ad2(0xca)](),'headers':{'Content-Type':'application/octet-stream'}};this[_0x3e5ad2(0x8e)](_0x398f6a,_0x2e9b1e=>{const _0x5352c2=_0x3e5ad2;_0x2e9b1e?this[_0x5352c2(0xf7)][_0x5352c2(0xc2)](_0x5352c2(0xa3)+_0x19850d+'\x20for\x20request\x20'+_0x3a6bad,_0x2e9b1e):(this[_0x5352c2(0xf7)]['info'](_0x5352c2(0xcf)+_0x19850d+_0x5352c2(0xac)+_0x3a6bad),this[_0x5352c2(0xab)]=Date['now']());});}});}['transmitBreakpointUpdates'](_0x3bf295){const _0x593e72=a6_0x7bf94;this[_0x593e72(0xf7)][_0x593e72(0xc6)](_0x593e72(0xa9)),this[_0x593e72(0xd7)]=undefined;const _0x24fa7d=[];let _0x21b402=0x0;while(_0x24fa7d['length']<this[_0x593e72(0xf2)][_0x593e72(0x7e)]&&this[_0x593e72(0x91)][_0x593e72(0x80)]>0x0){const [_0x16774f]=this[_0x593e72(0x91)],_0x3b4a0f=_0x16774f[_0x593e72(0xe5)],_0x238134=(0x0,utils_1[_0x593e72(0x8c)])(_0x3b4a0f);_0x21b402+=_0x238134;if(_0x21b402<=this[_0x593e72(0xf2)]['transmissionBulkMaxNetworkSizeInBytes'])_0x24fa7d[_0x593e72(0x81)](_0x16774f),this[_0x593e72(0x91)]['shift']();else{_0x238134>this[_0x593e72(0xf2)][_0x593e72(0xfb)]&&_0x24fa7d[_0x593e72(0x80)]===0x0&&(this[_0x593e72(0xf7)][_0x593e72(0xc6)](_0x593e72(0xb5)+_0x16774f['id']+_0x593e72(0x84)+this['config'][_0x593e72(0xfb)]+_0x593e72(0xe4)),_0x24fa7d[_0x593e72(0x81)](_0x16774f),this[_0x593e72(0x91)][_0x593e72(0x88)]());break;}}if(!_0x24fa7d)return;const _0x177dc1=_0x24fa7d[_0x593e72(0x100)](_0x283951=>_0x283951['id']),_0x198203={'uri':this['apiUrl']+encodeURIComponent(_0x3bf295)+_0x593e72(0xc9),'json':!![],'method':_0x593e72(0x92),'body':'['+_0x24fa7d[_0x593e72(0x100)](_0x261c6b=>_0x261c6b[_0x593e72(0xe5)])['join'](',')+']'};try{this[_0x593e72(0xe0)]=this[_0x593e72(0x8e)](_0x198203,(_0x363fed,_0x13d9ea,_0x159c96)=>{const _0x5a8db1=_0x593e72,_0x4431f2=_0x159c96?.['status'];this[_0x5a8db1(0xf7)]['debug'](_0x5a8db1(0xb0)+_0x177dc1+_0x5a8db1(0x7b)+_0x4431f2);if(_0x363fed||!_0x4431f2||Math[_0x5a8db1(0xd3)](_0x4431f2/0x64)!==0x2){const _0x44dfb9=_0x4431f2&&(_0x4431f2>=0x1f4||_0x4431f2===0x198);if(_0x44dfb9){this['logger'][_0x5a8db1(0x6d)](_0x5a8db1(0xe6)+_0x177dc1+_0x5a8db1(0xb2)+_0x4431f2+_0x5a8db1(0xc0)+_0x363fed);for(const _0x164665 of _0x24fa7d){_0x164665['number']<MAX_FAILED_SEND_ATTEMPTS?this[_0x5a8db1(0x91)]['push']({..._0x164665,'number':_0x164665[_0x5a8db1(0xed)]+0x1}):this['logger']['warn'](_0x5a8db1(0x108)+_0x164665['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else this[_0x5a8db1(0xf7)][_0x5a8db1(0x6d)](_0x5a8db1(0xb6)+_0x177dc1+_0x5a8db1(0xb2)+_0x4431f2+_0x5a8db1(0xc0)+_0x363fed);}else this[_0x5a8db1(0xf7)][_0x5a8db1(0x78)]('Update\x20for\x20breakpoints\x20'+_0x177dc1+_0x5a8db1(0xd0));this[_0x5a8db1(0x91)][_0x5a8db1(0x80)]>0x0&&(this['transmissionTimeout']=setTimeout(()=>this['transmitBreakpointUpdates'][_0x5a8db1(0x73)](this)(_0x3bf295),0x0));},0x28)[_0x593e72(0xfd)](()=>{this['activeTransmission']=undefined;});}catch(_0x1957c1){this[_0x593e72(0xf7)][_0x593e72(0x6d)](_0x593e72(0xb6)+_0x177dc1+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x1957c1+',\x20Message:\x20'+_0x1957c1[_0x593e72(0xd2)]?.['message']),this[_0x593e72(0x91)][_0x593e72(0x80)]>0x0&&(this['transmissionTimeout']=setTimeout(()=>this[_0x593e72(0xbc)][_0x593e72(0x73)](this)(_0x3bf295),0x0)),this[_0x593e72(0xe0)]=undefined;}}async[a6_0x7bf94(0x7f)](_0x2da1ae){const _0x452d0a=a6_0x7bf94;this[_0x452d0a(0xf7)]['info'](_0x452d0a(0xf6));const _0x503cff=this[_0x452d0a(0x85)]+encodeURIComponent(_0x2da1ae)+'/blacklist?successOnTimeout=true',{error:_0x1ea0d6,data:_0x485a22}=await this[_0x452d0a(0x8e)]({'uri':_0x503cff,'json':!![]});if(_0x1ea0d6)return Promise[_0x452d0a(0xde)](_0x1ea0d6);return yaml['load'](_0x485a22)??{};}[a6_0x7bf94(0x8e)](_0x2a466f,_0x447143,_0x4a35ad,_0x5e6ea7,_0x5619eb){const _0x3054ac=a6_0x7bf94,_0xa06ff6={'Content-Type':_0x5619eb??'application/json','Authorization':_0x3054ac(0xa2)+this['config'][_0x3054ac(0xf1)]},_0x382ca9=_0x5e6ea7??new AbortController(),_0x32d56a=_0x4a35ad?_0x4a35ad*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x3054ac(0xf7)][_0x3054ac(0xc6)]('timeout\x20set\x20to\x20'+_0x32d56a);const _0x51a4bd=setTimeout(()=>{const _0x855649=_0x3054ac;this['logger'][_0x855649(0x6d)](_0x855649(0x9a)+_0x32d56a+'ms'),_0x382ca9[_0x855649(0x105)]();},_0x32d56a),_0x237a31={'method':_0x2a466f[_0x3054ac(0x7c)],'url':_0x2a466f[_0x3054ac(0xec)],'data':_0x2a466f[_0x3054ac(0x6b)],'headers':_0xa06ff6,'signal':_0x382ca9['signal']};return extend(!![],_0x237a31,_0x2a466f),this[_0x3054ac(0xa8)][_0x3054ac(0xeb)](_0x237a31)[_0x3054ac(0xe7)](_0x2c5a87=>{const _0x42e898=_0x3054ac;return _0x447143?.(null,_0x2c5a87[_0x42e898(0xd2)],_0x2c5a87),{'error':null,'data':_0x2c5a87['data'],'res':_0x2c5a87};})['catch'](_0x2834aa=>{const _0x5c2634=_0x3054ac;return _0x447143?.(_0x2834aa,_0x2834aa['response']?.[_0x5c2634(0xd2)],_0x2834aa[_0x5c2634(0xa6)]),{'error':_0x2834aa,'data':_0x2834aa[_0x5c2634(0xa6)]?.[_0x5c2634(0xd2)],'res':_0x2834aa['response']};})[_0x3054ac(0xfd)](()=>clearTimeout(_0x51a4bd));}async['getRedactions'](_0x1d8ac3){const _0x3ef980=a6_0x7bf94;this[_0x3ef980(0xf7)][_0x3ef980(0x78)]('Getting\x20reductions');const _0x25a1c4=this[_0x3ef980(0x85)]+encodeURIComponent(_0x1d8ac3)+_0x3ef980(0xaa),{error:_0x436a9d,data:_0x3c4aeb}=await this[_0x3ef980(0x8e)]({'uri':_0x25a1c4,'json':!![]});if(_0x436a9d)return Promise[_0x3ef980(0xde)](_0x436a9d);return _0x3c4aeb;}}exports[a6_0x7bf94(0xe8)]=Controller;function is2xx(_0x558adc){const _0x29641f=a6_0x7bf94;return Math[_0x29641f(0xd3)](_0x558adc/0x64)===0x2;}function getProxyAgent(_0x3e5189,_0x11cfcf){const _0x14fcf1=a6_0x7bf94,{proxy:_0x37100b}=_0x3e5189;if(!_0x37100b?.[_0x14fcf1(0x99)])return undefined;if(!_0x37100b[_0x14fcf1(0x9e)])return _0x11cfcf[_0x14fcf1(0xc2)](_0x14fcf1(0xa1)),undefined;_0x11cfcf['info'](_0x14fcf1(0xf4)+_0x37100b[_0x14fcf1(0x99)]+':'+_0x37100b[_0x14fcf1(0x9e)]+',\x20username:\x20'+(_0x37100b[_0x14fcf1(0x10b)]??''));const _0x295a4f=new URL(_0x14fcf1(0x8f)+_0x37100b[_0x14fcf1(0x99)]);_0x295a4f[_0x14fcf1(0x9e)]=String(_0x37100b[_0x14fcf1(0x9e)]);_0x37100b[_0x14fcf1(0x10b)]&&(_0x295a4f['username']=_0x37100b[_0x14fcf1(0x10b)]);_0x37100b[_0x14fcf1(0xb3)]&&(_0x295a4f[_0x14fcf1(0xb3)]=_0x37100b[_0x14fcf1(0xb3)]);const _0x1a3ab8=new https_proxy_agent_1[(_0x14fcf1(0x106))](_0x295a4f),_0x19ece1=getHttpsAgentOptions(_0x3e5189,_0x11cfcf),_0x35abc1=_0x1a3ab8[_0x14fcf1(0x93)]['bind'](_0x1a3ab8);return _0x1a3ab8[_0x14fcf1(0x93)]=(_0x168388,_0xf9e026)=>_0x35abc1(_0x168388,{..._0xf9e026,..._0x19ece1}),_0x1a3ab8;}function a6_0x3725(){const _0x24143b=['should\x20have\x20a\x20registered\x20debuggee','size','/debuggees/','abort','HttpsProxyAgent','1350728coKwYl','Breakpoint\x20','maxLogFileBytes','zlib','username','\x20and\x20enqueue\x20to\x20queue','/breakpoints?','20Htytjw','WritableStream','body','noCheckCertificate','warn','register','querystring','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','(((.+)+)+)+$','createHash','bind','tls','./serverless','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','ServiceObject','info','createSecureContext','listBreakpoints','\x20finished\x20with\x20status\x20','method','statSync','transmissionBulkMaxSize','getBlocklist','length','push','1626352JwbTCV','transmission\x20queue\x20is\x20empty','\x20size\x20>\x20max\x20network\x20size\x20:\x20','apiUrl','/controller','ms.\x20Queue\x20length:\x20','shift','/appOnlyActionHits/','apply','digest','getJsonStringSizeInBytes','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','makeRequest','http://','pipeline','transmissionQueue','PUT','connect','memory-streams','search','/deregister/','Deregister\x20agent\x20before\x20shutdown','defineProperty','host','Timeout\x20occurred\x20after\x20','default','message','/compressedLogFileV2/','port','agentLog','nextWaitToken','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Bearer\x20','Failed\x20to\x20send\x20log\x20file\x20','\x20size\x20is\x20','./util/utils','response','waitToken','axios','Transmitting\x20breakpoint\x20updates...','/redaction','lastLogCollectionTime','\x20for\x20request\x20','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','3150486NVClOt','breakpointId:\x20','Update\x20for\x20breakpoints\x20','unknown\x20error\x20-\x20request\x20response\x20missing','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','password','/log/','breakpoint\x20','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','now','caPath','23682nlOZhy','Queue\x20drain\x20timeout\x20after\x20','stop','transmitBreakpointUpdates','debuggee','waitFor','secureContext','\x20Error:\x20','create','error','hex','POST','assert','debug','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','https://','/breakpoints','toBuffer','stringify','listBreakpointsAsync','toString','\x22\x20-\x20ignoring\x20it','Successfully\x20sent\x20log\x20file\x20','\x20transmitted\x20successfully','unable\x20to\x20register,\x20status\x20','data','floor','pubkey','includes','Agent','transmissionTimeout','status','2XYSvdX','sendAgentLogsToServer','1320642ZgFLkn','readFileSync','https','reject','Serverless','activeTransmission','race','constructor','181552ZbdeEM',',\x20sending\x20only\x20one','serializedJson','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','then','Controller','sha256','apiEndpoint','request','uri','number','listBreakpointsAbortController','another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now','enqueueBreakpointUpdate','lightrunSecret','config','invalid\x20response\x20body\x20from\x20server','Using\x20proxy\x20configuration:\x20','298677KJCjtm','Getting\x20blocklist','logger','waiting\x20for\x20active\x20transmission','1230MqUqmi','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','transmissionBulkMaxNetworkSizeInBytes','context','finally','transmissionHardMaxNetworkSizeLimitInBytes','update','map','isServerless'];a6_0x3725=function(){return _0x24143b;};return a6_0x3725();}function getHttpsAgentOptions(_0x30d5e8,_0x22f90c){const _0x47caaf=a6_0x7bf94,_0x18ba32={'checkServerIdentity':(_0x15bec5,_0x50e48f)=>{const _0x38c7fa=a6_0x41ee;if(_0x30d5e8[_0x38c7fa(0x6c)])return undefined;const _0x5a61a1=(0x0,crypto_1[_0x38c7fa(0x72)])(_0x38c7fa(0xe9))[_0x38c7fa(0xff)](_0x50e48f[_0x38c7fa(0xd4)])[_0x38c7fa(0x8b)](_0x38c7fa(0xc3));return _0x30d5e8['pinnedCerts'][_0x38c7fa(0xd5)](_0x5a61a1)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0x41fbfc;if(_0x30d5e8[_0x47caaf(0xb8)])try{_0x41fbfc=(0x0,fs_1[_0x47caaf(0xdc)])(_0x30d5e8['caPath'],'ascii');}catch{_0x22f90c[_0x47caaf(0x6d)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x30d5e8[_0x47caaf(0xb8)]+_0x47caaf(0xce));}if(_0x41fbfc){const _0x4de88d=(0x0,tls_1[_0x47caaf(0x79)])(_0x18ba32);_0x4de88d[_0x47caaf(0xfc)]['addCACert'](_0x41fbfc),_0x18ba32[_0x47caaf(0xbf)]=_0x4de88d;}return _0x18ba32;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x3757d5=a7_0x1aa7;(function(_0x52a4a3,_0x9fba5f){const _0x23ab80=a7_0x1aa7,_0xc6b3b=_0x52a4a3();while(!![]){try{const _0x1c7a0b=parseInt(_0x23ab80(0xc9))/0x1*(-parseInt(_0x23ab80(0xa0))/0x2)+parseInt(_0x23ab80(0xc5))/0x3+parseInt(_0x23ab80(0xa8))/0x4*(-parseInt(_0x23ab80(0xcb))/0x5)+-parseInt(_0x23ab80(0xb3))/0x6*(-parseInt(_0x23ab80(0xa4))/0x7)+parseInt(_0x23ab80(0xc2))/0x8+parseInt(_0x23ab80(0xab))/0x9+-parseInt(_0x23ab80(0xbc))/0xa;if(_0x1c7a0b===_0x9fba5f)break;else _0xc6b3b['push'](_0xc6b3b['shift']());}catch(_0x541c16){_0xc6b3b['push'](_0xc6b3b['shift']());}}}(a7_0x5db4,0xcf041));const a7_0x3e5d2a=(function(){let _0x8fe01e=!![];return function(_0x49c691,_0x573a98){const _0x296f74=_0x8fe01e?function(){const _0x50a9ad=a7_0x1aa7;if(_0x573a98){const _0x247c9e=_0x573a98[_0x50a9ad(0xb1)](_0x49c691,arguments);return _0x573a98=null,_0x247c9e;}}:function(){};return _0x8fe01e=![],_0x296f74;};}()),a7_0x4bdd76=a7_0x3e5d2a(this,function(){const _0x499059=a7_0x1aa7;return a7_0x4bdd76['toString']()[_0x499059(0xae)](_0x499059(0xa1))[_0x499059(0xb4)]()[_0x499059(0xa6)](a7_0x4bdd76)['search'](_0x499059(0xa1));});a7_0x4bdd76();function a7_0x1aa7(_0xb9723f,_0x314bd7){const _0x3a80e8=a7_0x5db4();return a7_0x1aa7=function(_0x4bdd76,_0x3e5d2a){_0x4bdd76=_0x4bdd76-0xa0;let _0x5db4eb=_0x3a80e8[_0x4bdd76];return _0x5db4eb;},a7_0x1aa7(_0xb9723f,_0x314bd7);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a7_0x3757d5(0xba)]=exports[a7_0x3757d5(0xc3)]=void 0x0;const path=require(a7_0x3757d5(0xb9)),status_message_1=require(a7_0x3757d5(0xaa)),debuggee_1=require(a7_0x3757d5(0xc8)),createDebuggeeMetadata_1=require(a7_0x3757d5(0xbb)),createUniquifier_1=require(a7_0x3757d5(0xad)),getPlatform_1=require(a7_0x3757d5(0xa3)),encodeBase64=_0x5eac63=>Buffer['from'](_0x5eac63,a7_0x3757d5(0xbd))[a7_0x3757d5(0xb4)]('base64');exports[a7_0x3757d5(0xc3)]=encodeBase64;function a7_0x5db4(){const _0x3d031d=['stringify','cwd','Debuggee','4949552ecdwwN','encodeBase64','version','3034596Bbzprw','minorversion','versions','../../debuggee','838784EPncgy','string','20yYDZOx','2sWumtt','(((.+)+)+)+$','getPlatform','./getPlatform','2919623LISilb','sourceContexts','constructor','relative','1077572ppAsRC','isLambda','../../client/stackdriver/status-message','7786971xuRLEh','StatusMessage','./createUniquifier','search','minorVersion_','createUniquifier','apply','service','6ZsbIfQ','toString','UNSPECIFIED','default','createDebuggeeMetadata','title','path','createDebuggee','./createDebuggeeMetadata','1482410VVXgYS','utf-8','name'];a7_0x5db4=function(){return _0x3d031d;};return a7_0x5db4();}const createDebuggee=(_0x182ec0,_0x15b1d9,_0x40faa,_0x41f2b4,_0x633a60,_0x1a42cd,_0x13cdb6,_0x15e08e)=>{const _0x307bb8=a7_0x3757d5,_0x9b1106=process[_0x307bb8(0xc0)](),_0x2e13fd=path[_0x307bb8(0xa7)](_0x9b1106,process['argv'][0x1]),_0x118702={'main\x20script':_0x2e13fd,'process.title':process[_0x307bb8(0xb8)],'node\x20version':process[_0x307bb8(0xc7)]['node'],'V8\x20version':process[_0x307bb8(0xc7)]['v8'],'agent.name':_0x41f2b4[_0x307bb8(0xbe)],'agent.version':_0x633a60,'platform':(0x0,getPlatform_1[_0x307bb8(0xa2)])()},{serviceContext:_0x2daac3}=_0x15b1d9;_0x2daac3&&(typeof _0x2daac3['service']===_0x307bb8(0xca)&&_0x2daac3[_0x307bb8(0xb2)]!==_0x307bb8(0xb6)&&(_0x118702['module']=_0x2daac3['service']),typeof _0x2daac3[_0x307bb8(0xc4)]===_0x307bb8(0xca)&&(_0x118702[_0x307bb8(0xc4)]=_0x2daac3['version']),typeof _0x2daac3[_0x307bb8(0xaf)]===_0x307bb8(0xca)&&(_0x118702[_0x307bb8(0xc6)]=_0x2daac3[_0x307bb8(0xaf)]));const _0x27889=(0x0,createUniquifier_1[_0x307bb8(0xb0)])(_0x633a60,_0x182ec0,_0x40faa,_0x118702),_0x2381f8=_0x15e08e?new status_message_1['StatusMessage'](status_message_1[_0x307bb8(0xac)][_0x307bb8(0xb5)],_0x15e08e,!![]):undefined,_0x3390a6=(0x0,createDebuggeeMetadata_1[_0x307bb8(0xb7)])(_0x15b1d9,_0x1a42cd),_0x31bce1={'uniquifier':_0x27889,'agentVersion':_0x633a60,'labels':{'metadataV2':(0x0,exports['encodeBase64'])(JSON[_0x307bb8(0xbf)](_0x3390a6))},'statusMessage':_0x2381f8,'packageInfo':_0x41f2b4,..._0x13cdb6,'isInLambda':_0x15b1d9['internal']?.[_0x307bb8(0xa9)]};return _0x40faa&&(_0x31bce1[_0x307bb8(0xa5)]=[_0x40faa]),new debuggee_1[(_0x307bb8(0xc1))](_0x31bce1);};exports[a7_0x3757d5(0xba)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a8_0x1aff(){const _0x242bb9=['extend','5224agNUjQ','1296785xjpWhS','filename','map','996hzAPrN','5019687bhjVbl','createDebuggeeMetadata','apply','metadata','24KbVjBC','6470112kijybf','toString','6950013jGnTxw','(((.+)+)+)+$','search','1234551rfIklY','string','2188808SwYhdY','tags','warn','defineProperty','registration','Failed\x20to\x20read\x20metadata\x20file\x20'];a8_0x1aff=function(){return _0x242bb9;};return a8_0x1aff();}const a8_0x3a19e9=a8_0x8acc;(function(_0xa638c0,_0x16ced6){const _0x721517=a8_0x8acc,_0x315f1e=_0xa638c0();while(!![]){try{const _0x3a953d=-parseInt(_0x721517(0x1f3))/0x1+-parseInt(_0x721517(0x1f5))/0x2+parseInt(_0x721517(0x1e8))/0x3*(-parseInt(_0x721517(0x1fc))/0x4)+-parseInt(_0x721517(0x1e5))/0x5+parseInt(_0x721517(0x1ee))/0x6+parseInt(_0x721517(0x1f0))/0x7+-parseInt(_0x721517(0x1ed))/0x8*(-parseInt(_0x721517(0x1e9))/0x9);if(_0x3a953d===_0x16ced6)break;else _0x315f1e['push'](_0x315f1e['shift']());}catch(_0x26d8fb){_0x315f1e['push'](_0x315f1e['shift']());}}}(a8_0x1aff,0xb0668));const a8_0x574447=(function(){let _0x2948d1=!![];return function(_0x456b89,_0x29447f){const _0x179a4c=_0x2948d1?function(){const _0x4787e0=a8_0x8acc;if(_0x29447f){const _0x39293d=_0x29447f[_0x4787e0(0x1eb)](_0x456b89,arguments);return _0x29447f=null,_0x39293d;}}:function(){};return _0x2948d1=![],_0x179a4c;};}()),a8_0x200305=a8_0x574447(this,function(){const _0x4872e8=a8_0x8acc;return a8_0x200305[_0x4872e8(0x1ef)]()[_0x4872e8(0x1f2)](_0x4872e8(0x1f1))[_0x4872e8(0x1ef)]()['constructor'](a8_0x200305)[_0x4872e8(0x1f2)](_0x4872e8(0x1f1));});function a8_0x8acc(_0x1c485b,_0x26d486){const _0x3ef8ca=a8_0x1aff();return a8_0x8acc=function(_0x200305,_0x574447){_0x200305=_0x200305-0x1e5;let _0x1afff7=_0x3ef8ca[_0x200305];return _0x1afff7;},a8_0x8acc(_0x1c485b,_0x26d486);}a8_0x200305();'use strict';Object[a8_0x3a19e9(0x1f8)](exports,'__esModule',{'value':!![]}),exports[a8_0x3a19e9(0x1ea)]=void 0x0;const fs=require('fs'),extend=require(a8_0x3a19e9(0x1fb)),createDebuggeeMetadata=(_0x4f3cef,_0x2dbb0b)=>{const _0x47c279=a8_0x3a19e9;let _0x3f842d={'registration':{}};if(_0x4f3cef[_0x47c279(0x1ec)]?.[_0x47c279(0x1e6)])try{_0x3f842d=JSON['parse'](fs['readFileSync'](_0x4f3cef[_0x47c279(0x1ec)][_0x47c279(0x1e6)],'utf-8'));}catch(_0x1dcadd){_0x2dbb0b[_0x47c279(0x1f7)](_0x47c279(0x1fa)+_0x4f3cef[_0x47c279(0x1ec)][_0x47c279(0x1e6)],_0x1dcadd);}return _0x3f842d[_0x47c279(0x1f9)]=extend(!![],{},_0x4f3cef[_0x47c279(0x1ec)]?.[_0x47c279(0x1f9)],_0x3f842d['registration']),_0x3f842d[_0x47c279(0x1f9)]?.['tags']&&(_0x3f842d[_0x47c279(0x1f9)][_0x47c279(0x1f6)]=_0x3f842d[_0x47c279(0x1f9)][_0x47c279(0x1f6)][_0x47c279(0x1e7)](_0x59c20d=>typeof _0x59c20d===_0x47c279(0x1f4)?{'name':_0x59c20d}:_0x59c20d)),_0x3f842d;};exports[a8_0x3a19e9(0x1ea)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a9_0x2cb855=a9_0x4f67;(function(_0xa34546,_0x5af1c5){const _0x42670c=a9_0x4f67,_0x4796ec=_0xa34546();while(!![]){try{const _0x137249=-parseInt(_0x42670c(0xa6))/0x1*(parseInt(_0x42670c(0xa0))/0x2)+-parseInt(_0x42670c(0xab))/0x3*(parseInt(_0x42670c(0x99))/0x4)+-parseInt(_0x42670c(0x9e))/0x5*(-parseInt(_0x42670c(0xaa))/0x6)+parseInt(_0x42670c(0xa9))/0x7*(parseInt(_0x42670c(0x94))/0x8)+-parseInt(_0x42670c(0xa3))/0x9*(-parseInt(_0x42670c(0xa2))/0xa)+parseInt(_0x42670c(0x9f))/0xb+parseInt(_0x42670c(0x9c))/0xc*(-parseInt(_0x42670c(0xa7))/0xd);if(_0x137249===_0x5af1c5)break;else _0x4796ec['push'](_0x4796ec['shift']());}catch(_0x5db07f){_0x4796ec['push'](_0x4796ec['shift']());}}}(a9_0x421a,0xd9ffd));const a9_0x4db13c=(function(){let _0x142234=!![];return function(_0x2f16aa,_0x67e272){const _0x16f574=_0x142234?function(){if(_0x67e272){const _0x23bafe=_0x67e272['apply'](_0x2f16aa,arguments);return _0x67e272=null,_0x23bafe;}}:function(){};return _0x142234=![],_0x16f574;};}()),a9_0x1b98c8=a9_0x4db13c(this,function(){const _0x49eb28=a9_0x4f67;return a9_0x1b98c8['toString']()[_0x49eb28(0x9b)](_0x49eb28(0x96))[_0x49eb28(0x97)]()[_0x49eb28(0xa8)](a9_0x1b98c8)['search'](_0x49eb28(0x96));});a9_0x1b98c8();'use strict';function a9_0x4f67(_0x2e7ec5,_0xbf803a){const _0x47b0ac=a9_0x421a();return a9_0x4f67=function(_0x1b98c8,_0x4db13c){_0x1b98c8=_0x1b98c8-0x94;let _0x421a72=_0x47b0ac[_0x1b98c8];return _0x421a72;},a9_0x4f67(_0x2e7ec5,_0xbf803a);}Object[a9_0x2cb855(0xa5)](exports,a9_0x2cb855(0xa1),{'value':!![]}),exports[a9_0x2cb855(0x9a)]=void 0x0;const crypto=require('crypto'),createUniquifier=(_0x3b4de7,_0x1eb2d0,_0x5ca75b,_0x21ee4d)=>{const _0x454dd9=a9_0x2cb855,_0x82e734=_0x3b4de7+_0x1eb2d0+JSON[_0x454dd9(0x98)](_0x5ca75b)+JSON[_0x454dd9(0x98)](_0x21ee4d);return crypto['createHash']('sha1')[_0x454dd9(0xa4)](_0x82e734)[_0x454dd9(0x9d)](_0x454dd9(0x95));};function a9_0x421a(){const _0xd273d7=['toString','stringify','5044264gjxhtR','createUniquifier','search','3228108AjpTZr','digest','25wTdFnN','14292608HxxIBJ','14HbKdDh','__esModule','1760IinHjk','86481BmfWKo','update','defineProperty','35241qcRmdk','91lnRMaX','constructor','697732ptziIB','475374bDykHA','3JzQfvt','72GydbrB','hex','(((.+)+)+)+$'];a9_0x421a=function(){return _0xd273d7;};return a9_0x421a();}exports[a9_0x2cb855(0x9a)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a10_0x2ec1(_0x2e3185,_0x35c2e8){const _0x3c6d2c=a10_0x264c();return a10_0x2ec1=function(_0x1b5168,_0x228dfc){_0x1b5168=_0x1b5168-0x6e;let _0x264c67=_0x3c6d2c[_0x1b5168];return _0x264c67;},a10_0x2ec1(_0x2e3185,_0x35c2e8);}const a10_0x4b62a3=a10_0x2ec1;(function(_0x39310f,_0x38a5e9){const _0x526465=a10_0x2ec1,_0x3f88e8=_0x39310f();while(!![]){try{const _0x2be42d=parseInt(_0x526465(0x7e))/0x1*(-parseInt(_0x526465(0x74))/0x2)+-parseInt(_0x526465(0x7f))/0x3*(parseInt(_0x526465(0x80))/0x4)+-parseInt(_0x526465(0x70))/0x5+parseInt(_0x526465(0x7b))/0x6*(parseInt(_0x526465(0x79))/0x7)+parseInt(_0x526465(0x7d))/0x8+parseInt(_0x526465(0x73))/0x9*(-parseInt(_0x526465(0x72))/0xa)+parseInt(_0x526465(0x75))/0xb;if(_0x2be42d===_0x38a5e9)break;else _0x3f88e8['push'](_0x3f88e8['shift']());}catch(_0x21a032){_0x3f88e8['push'](_0x3f88e8['shift']());}}}(a10_0x264c,0x3645b));const a10_0x228dfc=(function(){let _0x529d99=!![];return function(_0xe6aad8,_0x5a448c){const _0x104567=_0x529d99?function(){const _0x56093f=a10_0x2ec1;if(_0x5a448c){const _0x54affe=_0x5a448c[_0x56093f(0x6f)](_0xe6aad8,arguments);return _0x5a448c=null,_0x54affe;}}:function(){};return _0x529d99=![],_0x104567;};}()),a10_0x1b5168=a10_0x228dfc(this,function(){const _0x1485d0=a10_0x2ec1;return a10_0x1b5168[_0x1485d0(0x81)]()[_0x1485d0(0x7c)](_0x1485d0(0x76))[_0x1485d0(0x81)]()['constructor'](a10_0x1b5168)[_0x1485d0(0x7c)]('(((.+)+)+)+$');});a10_0x1b5168();'use strict';Object[a10_0x4b62a3(0x7a)](exports,a10_0x4b62a3(0x77),{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x28dd31,_0x42be0a)=>{const _0x216275=a10_0x4b62a3,_0x16ff71=_0x28dd31[_0x216275(0x78)](_0x42be0a),_0x3e8a7a=[];_0x3e8a7a['push'](_0x16ff71[0x0]);for(let _0x315592=0x1;_0x315592<_0x16ff71[_0x216275(0x71)];_0x315592++){_0x3e8a7a[_0x216275(0x6e)]({'v':_0x42be0a},_0x16ff71[_0x315592]);}return _0x3e8a7a;};function a10_0x264c(){const _0x581dc8=['10tNssAn','59364waRfoT','5446cSVxxM','59411PpBVXO','(((.+)+)+)+$','__esModule','split','604303bydwCa','defineProperty','30mMleNE','search','2907800hnUCBe','4shugGr','3bSKAPU','515132YkHVOI','toString','push','apply','2159755BeEvFt','length'];a10_0x264c=function(){return _0x581dc8;};return a10_0x264c();}exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x370d7c=a11_0x47b8;(function(_0x43e3b,_0x182368){const _0x2425e7=a11_0x47b8,_0x489910=_0x43e3b();while(!![]){try{const _0x116ab9=parseInt(_0x2425e7(0x134))/0x1+-parseInt(_0x2425e7(0x136))/0x2+-parseInt(_0x2425e7(0x139))/0x3+-parseInt(_0x2425e7(0x13f))/0x4*(-parseInt(_0x2425e7(0x132))/0x5)+-parseInt(_0x2425e7(0x135))/0x6+-parseInt(_0x2425e7(0x12e))/0x7+parseInt(_0x2425e7(0x131))/0x8*(parseInt(_0x2425e7(0x13c))/0x9);if(_0x116ab9===_0x182368)break;else _0x489910['push'](_0x489910['shift']());}catch(_0x34df7c){_0x489910['push'](_0x489910['shift']());}}}(a11_0x293c,0x5d6a3));function a11_0x293c(){const _0x3bad9e=['229088AnKRBp','length','search','1217163tJtoRm','join','substring','6652791lqsazd','toString','(((.+)+)+)+$','4RtQSna','__esModule','4343178XXGydl','defineProperty','apply','8uQprUP','3237895nCnfRH','format','294013ujRtah','944670cLwtBG'];a11_0x293c=function(){return _0x3bad9e;};return a11_0x293c();}const a11_0x329ee3=(function(){let _0x358aa3=!![];return function(_0x5b358e,_0x2c801a){const _0x3b84c7=_0x358aa3?function(){const _0x215869=a11_0x47b8;if(_0x2c801a){const _0x2b3c96=_0x2c801a[_0x215869(0x130)](_0x5b358e,arguments);return _0x2c801a=null,_0x2b3c96;}}:function(){};return _0x358aa3=![],_0x3b84c7;};}()),a11_0x1c636f=a11_0x329ee3(this,function(){const _0x4d9c52=a11_0x47b8;return a11_0x1c636f[_0x4d9c52(0x13d)]()[_0x4d9c52(0x138)](_0x4d9c52(0x13e))[_0x4d9c52(0x13d)]()['constructor'](a11_0x1c636f)[_0x4d9c52(0x138)]('(((.+)+)+)+$');});a11_0x1c636f();function a11_0x47b8(_0x1fb77a,_0x2f085e){const _0x27589a=a11_0x293c();return a11_0x47b8=function(_0x1c636f,_0x329ee3){_0x1c636f=_0x1c636f-0x12d;let _0x293c61=_0x27589a[_0x1c636f];return _0x293c61;},a11_0x47b8(_0x1fb77a,_0x2f085e);}'use strict';Object[a11_0x370d7c(0x12f)](exports,a11_0x370d7c(0x12d),{'value':!![]}),exports[a11_0x370d7c(0x133)]=void 0x0;const tokenize_1=require('./tokenize'),format=(_0x17b49a,_0x48b1be)=>{const _0xeaed92=a11_0x370d7c,_0x3e1d0e=(0x0,tokenize_1['tokenize'])(_0x17b49a,_0x48b1be['length']);for(let _0x802dcd=0x0;_0x802dcd<_0x3e1d0e[_0xeaed92(0x137)];_0x802dcd++){if(!_0x3e1d0e[_0x802dcd]['v'])continue;if(_0x3e1d0e[_0x802dcd]['v']==='$$'){_0x3e1d0e[_0x802dcd]='$';continue;}for(let _0x201024=0x0;_0x201024<_0x48b1be[_0xeaed92(0x137)];_0x201024++){if(_0x3e1d0e[_0x802dcd]['v']==='$'+_0x201024){let _0x479203=_0x48b1be[_0x201024];/^".*"$/['test'](_0x479203)&&(_0x479203=_0x479203[_0xeaed92(0x13b)](0x1,_0x479203[_0xeaed92(0x137)]-0x1));_0x3e1d0e[_0x802dcd]=_0x479203;break;}}}return _0x3e1d0e[_0xeaed92(0x13a)]('');};exports[a11_0x370d7c(0x133)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x2ab473=a12_0x223c;(function(_0x3bc631,_0x1c817b){const _0x37d48c=a12_0x223c,_0x1a9fe5=_0x3bc631();while(!![]){try{const _0x168e5d=-parseInt(_0x37d48c(0x16c))/0x1*(parseInt(_0x37d48c(0x165))/0x2)+parseInt(_0x37d48c(0x150))/0x3+-parseInt(_0x37d48c(0x15b))/0x4*(-parseInt(_0x37d48c(0x172))/0x5)+parseInt(_0x37d48c(0x14b))/0x6+parseInt(_0x37d48c(0x17c))/0x7*(-parseInt(_0x37d48c(0x160))/0x8)+-parseInt(_0x37d48c(0x175))/0x9*(-parseInt(_0x37d48c(0x14e))/0xa)+parseInt(_0x37d48c(0x14a))/0xb*(-parseInt(_0x37d48c(0x178))/0xc);if(_0x168e5d===_0x1c817b)break;else _0x1a9fe5['push'](_0x1a9fe5['shift']());}catch(_0x17b537){_0x1a9fe5['push'](_0x1a9fe5['shift']());}}}(a12_0x3df4,0xed7d5));const a12_0x36069d=(function(){let _0x36d81c=!![];return function(_0x39b41d,_0x1e4242){const _0x24895a=_0x36d81c?function(){const _0x18e001=a12_0x223c;if(_0x1e4242){const _0x382e85=_0x1e4242[_0x18e001(0x171)](_0x39b41d,arguments);return _0x1e4242=null,_0x382e85;}}:function(){};return _0x36d81c=![],_0x24895a;};}()),a12_0x585353=a12_0x36069d(this,function(){const _0x1581fd=a12_0x223c;return a12_0x585353[_0x1581fd(0x170)]()['search'](_0x1581fd(0x17b))[_0x1581fd(0x170)]()[_0x1581fd(0x157)](a12_0x585353)[_0x1581fd(0x156)](_0x1581fd(0x17b));});a12_0x585353();'use strict';Object['defineProperty'](exports,a12_0x2ab473(0x14c),{'value':!![]}),exports[a12_0x2ab473(0x16a)]=void 0x0;const properties=require(a12_0x2ab473(0x174)),fs=require('fs'),getAgentConfig=_0x54ba5b=>{const _0xd4c3ba=a12_0x2ab473;if(fs[_0xd4c3ba(0x17d)](_0x54ba5b)){const _0x63de2c=properties['of'](_0x54ba5b);return{'lightrunSecret':_0x63de2c[_0xd4c3ba(0x169)](_0xd4c3ba(0x177)),'apiEndpoint':_0x63de2c[_0xd4c3ba(0x169)]('apiEndpoint'),'breakpointExpirationSec':_0x63de2c['getInt'](_0xd4c3ba(0x168)),'transmissionBulkMaxSize':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x158)),'noCheckCertificate':_0x63de2c[_0xd4c3ba(0x151)](_0xd4c3ba(0x153)),'pinnedCerts':_0x63de2c[_0xd4c3ba(0x169)]('pinned_certs')?.[_0xd4c3ba(0x17e)](','),'metadata':{'filename':_0x63de2c[_0xd4c3ba(0x169)](_0xd4c3ba(0x152))},'capture':{'maxFrames':_0x63de2c['getInt'](_0xd4c3ba(0x14f)),'maxDataSize':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x163)),'maxSnapshotBufferSize':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x163)),'maxVariableSize':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x164)),'maxWatchListVariableSize':_0x63de2c[_0xd4c3ba(0x16d)]('max_watchlist_variable_size'),'resolveFrameLocations':_0x63de2c['getBoolean'](_0xd4c3ba(0x16f))},'agentLog':{'collectCooldownMs':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x161)),'agentLogTargetDir':_0x63de2c['getFirst'](_0xd4c3ba(0x176)),'agentLogLevel':_0x63de2c[_0xd4c3ba(0x169)](_0xd4c3ba(0x15d)),'agentLogMaxFileCount':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x16b)),'agentLogMaxFileSizeMb':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x17a)),'maxLogFileBytes':_0x63de2c['getInt'](_0xd4c3ba(0x179))},'internal':{'dumpJSContentFilenames':_0x63de2c['getFirst'](_0xd4c3ba(0x154))?.['split'](',')},'useScriptSourcemap':_0x63de2c['getBoolean'](_0xd4c3ba(0x167)),'quota':{'ignoreQuota':_0x63de2c['getBoolean'](_0xd4c3ba(0x15e)),'maxCPUCost':_0x63de2c[_0xd4c3ba(0x17f)](_0xd4c3ba(0x173)),'maxConditionCost':_0x63de2c[_0xd4c3ba(0x17f)](_0xd4c3ba(0x155)),'maxDynamicLogRate':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x15c)),'maxDynamicLogByteRate':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x159)),'quotaRecoverySeconds':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x162))&&_0x63de2c['getInt'](_0xd4c3ba(0x162))/0x3e8},'fetchBreakpointsOnce':_0x63de2c[_0xd4c3ba(0x151)]('fetch_breakpoints_once'),'extraPaths':_0x63de2c[_0xd4c3ba(0x169)]('extra_paths')?.[_0xd4c3ba(0x17e)](',')?.[_0xd4c3ba(0x16e)](_0x5d4629=>_0x5d4629[_0xd4c3ba(0x15a)]()),'proxy':{'host':_0x63de2c['getFirst'](_0xd4c3ba(0x15f)),'port':_0x63de2c[_0xd4c3ba(0x16d)](_0xd4c3ba(0x14d)),'username':_0x63de2c[_0xd4c3ba(0x169)](_0xd4c3ba(0x166)),'password':_0x63de2c[_0xd4c3ba(0x169)]('proxy_password')}};}return;};function a12_0x223c(_0x371aee,_0x18edbf){const _0x3dafcb=a12_0x3df4();return a12_0x223c=function(_0x585353,_0x36069d){_0x585353=_0x585353-0x14a;let _0x3df4e7=_0x3dafcb[_0x585353];return _0x3df4e7;},a12_0x223c(_0x371aee,_0x18edbf);}function a12_0x3df4(){const _0x40577c=['getBoolean','agent_regmetadata_file','noCheckCertificate','dumpJSContentFilenames','max_condition_cost','search','constructor','transmission_bulk_max_size','max_dynamic_log_bytes_rate','trim','8ECywOZ','max_dynamic_log_rate','agent_log_level','ignore_quota','proxy_host','104PDQtOt','collect_log_cooldown_ms','dynamic_log_quota_recovery_ms','max_snapshot_buffer_size','max_variable_size','1106qQBXFv','proxy_username','useScriptSourcemap','breakpoint_expiration_sec','getFirst','getAgentConfig','agent_log_max_file_count','217PkRznx','getInt','map','resolve_frame_locations','toString','apply','4836770DMHyUo','max_log_cpu_cost','java-properties','10840653DQJcZq','agent_log_target_dir','com.lightrun.secret','12WDsvoH','max_log_file_bytes','agent_log_max_file_size_mb','(((.+)+)+)+$','16772csQZIm','existsSync','split','getFloat','40721428bagnbh','9102786abMoLY','__esModule','proxy_port','10KjuzTS','max_snapshot_frame_count','508494bENzfA'];a12_0x3df4=function(){return _0x40577c;};return a12_0x3df4();}exports[a12_0x2ab473(0x16a)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x39de4b=a13_0x1021;(function(_0xeb1cb9,_0xc79352){const _0x38d952=a13_0x1021,_0x767207=_0xeb1cb9();while(!![]){try{const _0x1b5766=parseInt(_0x38d952(0xfa))/0x1+-parseInt(_0x38d952(0xff))/0x2+-parseInt(_0x38d952(0x106))/0x3*(-parseInt(_0x38d952(0x104))/0x4)+-parseInt(_0x38d952(0xf5))/0x5+-parseInt(_0x38d952(0xf7))/0x6+-parseInt(_0x38d952(0xfc))/0x7+-parseInt(_0x38d952(0xf8))/0x8*(-parseInt(_0x38d952(0x101))/0x9);if(_0x1b5766===_0xc79352)break;else _0x767207['push'](_0x767207['shift']());}catch(_0x39143d){_0x767207['push'](_0x767207['shift']());}}}(a13_0x1541,0xc84ac));Object[a13_0x39de4b(0xfd)](exports,a13_0x39de4b(0x108),{'value':!![]}),exports[a13_0x39de4b(0xf9)]=exports['Platforms']=void 0x0;function a13_0x1021(_0x13aaa3,_0x3a3ec9){const _0x582285=a13_0x1541();return a13_0x1021=function(_0x3a09b5,_0x31bf1f){_0x3a09b5=_0x3a09b5-0xf5;let _0x154182=_0x582285[_0x3a09b5];return _0x154182;},a13_0x1021(_0x13aaa3,_0x3a3ec9);}var Platforms;(function(_0x32274f){const _0x52549d=a13_0x39de4b,_0xfa7997=(function(){let _0x486308=!![];return function(_0x4de7c4,_0x5620a7){const _0x511bdd=_0x486308?function(){const _0x212c7b=a13_0x1021;if(_0x5620a7){const _0x359964=_0x5620a7[_0x212c7b(0x109)](_0x4de7c4,arguments);return _0x5620a7=null,_0x359964;}}:function(){};return _0x486308=![],_0x511bdd;};}()),_0x48fef2=_0xfa7997(this,function(){const _0x5eb431=a13_0x1021;return _0x48fef2[_0x5eb431(0x103)]()[_0x5eb431(0xfb)](_0x5eb431(0x107))[_0x5eb431(0x103)]()[_0x5eb431(0x10a)](_0x48fef2)[_0x5eb431(0xfb)]('(((.+)+)+)+$');});_0x48fef2(),_0x32274f[_0x52549d(0xfe)]=_0x52549d(0x100),_0x32274f[_0x52549d(0xf6)]=_0x52549d(0x102);}(Platforms||(exports['Platforms']=Platforms={})));function a13_0x1541(){const _0x5a7bd4=['16iWmNIj','getPlatform','613385NSErRk','search','4108636tRcpPM','defineProperty','CLOUD_FUNCTION','1816752SZZWEx','cloud_function','16889256HRpelb','default','toString','68pUXxco','env','69096iGJJhg','(((.+)+)+)+$','__esModule','apply','constructor','6668190wVmgpw','DEFAULT','6652434vXlsnz'];a13_0x1541=function(){return _0x5a7bd4;};return a13_0x1541();}const getPlatform=()=>{const _0x5ba19e=a13_0x39de4b,{FUNCTION_NAME:_0x13da17,FUNCTION_TARGET:_0x10ac87}=process[_0x5ba19e(0x105)];if(_0x13da17||_0x10ac87)return Platforms['CLOUD_FUNCTION'];return Platforms['DEFAULT'];};exports[a13_0x39de4b(0xf9)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x4ca556=a14_0x3a24;(function(_0x941aba,_0xfa5f3d){const _0x3e3912=a14_0x3a24,_0x245d87=_0x941aba();while(!![]){try{const _0x60ce4b=parseInt(_0x3e3912(0x7c))/0x1*(-parseInt(_0x3e3912(0x8d))/0x2)+parseInt(_0x3e3912(0x7b))/0x3+-parseInt(_0x3e3912(0x84))/0x4*(-parseInt(_0x3e3912(0x8e))/0x5)+-parseInt(_0x3e3912(0x8c))/0x6*(-parseInt(_0x3e3912(0x89))/0x7)+-parseInt(_0x3e3912(0x7a))/0x8*(parseInt(_0x3e3912(0x88))/0x9)+parseInt(_0x3e3912(0x8b))/0xa+-parseInt(_0x3e3912(0x83))/0xb;if(_0x60ce4b===_0xfa5f3d)break;else _0x245d87['push'](_0x245d87['shift']());}catch(_0x517c1e){_0x245d87['push'](_0x245d87['shift']());}}}(a14_0x5d97,0xeb2bc));const a14_0x112b7a=(function(){let _0x1ee7a3=!![];return function(_0x486a20,_0x4e0eb4){const _0x464778=_0x1ee7a3?function(){const _0x2527ea=a14_0x3a24;if(_0x4e0eb4){const _0x589f46=_0x4e0eb4[_0x2527ea(0x8a)](_0x486a20,arguments);return _0x4e0eb4=null,_0x589f46;}}:function(){};return _0x1ee7a3=![],_0x464778;};}()),a14_0x3e1535=a14_0x112b7a(this,function(){const _0x3a369b=a14_0x3a24;return a14_0x3e1535[_0x3a369b(0x7e)]()[_0x3a369b(0x87)]('(((.+)+)+)+$')['toString']()[_0x3a369b(0x79)](a14_0x3e1535)[_0x3a369b(0x87)]('(((.+)+)+)+$');});a14_0x3e1535();'use strict';function a14_0x5d97(){const _0x1ad333=['472242JoVsNY','entries','toString','Config\x20','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','push','maxExpandFrames','12019579htspZT','83260lAWPRP','defineProperty','limitConfig','search','9fNEtZf','7ZzKIcK','apply','14092690njuwLW','4448130ylkxeX','2oDJtlp','85XKCuYL','value','constructor','520448OjAmLo','266304BaMfGk'];a14_0x5d97=function(){return _0x1ad333;};return a14_0x5d97();}Object[a14_0x4ca556(0x85)](exports,'__esModule',{'value':!![]}),exports[a14_0x4ca556(0x86)]=void 0x0;function a14_0x3a24(_0x1b5970,_0x1aedc7){const _0x1b8049=a14_0x5d97();return a14_0x3a24=function(_0x3e1535,_0x112b7a){_0x3e1535=_0x3e1535-0x79;let _0x5d97ae=_0x1b8049[_0x3e1535];return _0x5d97ae;},a14_0x3a24(_0x1b5970,_0x1aedc7);}const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x28ebc4=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x28ebc4['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})['value']*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x28ebc4['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})['value']*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x28ebc4[a14_0x4ca556(0x82)],{'min':0x1,'max':0xa})[a14_0x4ca556(0x8f)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x1bbb78,{max:_0x4ffa19,min:_0x2b4c93},_0x781d6e)=>{const _0x3a1d6a=a14_0x4ca556;let _0x5b2bd8;if(_0x1bbb78>_0x4ffa19)return _0x781d6e&&(_0x5b2bd8=_0x3a1d6a(0x7f)+_0x781d6e+_0x3a1d6a(0x80)+_0x4ffa19),{'value':_0x4ffa19,'warning':_0x5b2bd8};else{if(_0x1bbb78<_0x2b4c93)return _0x781d6e&&(_0x5b2bd8=_0x3a1d6a(0x7f)+_0x781d6e+'\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x2b4c93),{'value':_0x2b4c93,'warning':_0x5b2bd8};}return{'value':_0x1bbb78,'warning':_0x5b2bd8};},limitConfig=_0x45e45c=>{const _0x50ddda=a14_0x4ca556,{capture:_0x5cbcf1}=_0x45e45c,_0x2288d6=[],_0x61d255=getCaptureConfigLimits(_0x5cbcf1),_0x560cbd={};for(const [_0x1eb1e4,_0x4dcf3e]of Object[_0x50ddda(0x7d)](_0x61d255)){const _0x1a1a51=_0x5cbcf1[_0x1eb1e4];if(typeof _0x1a1a51==='number'){const {value:_0x5d5371,warning:_0x34907d}=resolveLimitedConfig(_0x1a1a51,_0x4dcf3e,_0x1eb1e4);_0x560cbd[_0x1eb1e4]=_0x5d5371,_0x34907d&&_0x2288d6[_0x50ddda(0x81)](_0x34907d);}}return{..._0x45e45c,'capture':{..._0x5cbcf1,..._0x560cbd},'warnings':_0x2288d6};};exports[a14_0x4ca556(0x86)]=limitConfig;
|