lightrun 1.80.1 → 1.82.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.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 +7 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3e6e35=a0_0x3c7b;(function(_0xa7dfa6,_0x4738f2){const _0x5f351c=a0_0x3c7b,_0x1039de=_0xa7dfa6();while(!![]){try{const _0x527896=parseInt(_0x5f351c(0x168))/0x1*(parseInt(_0x5f351c(0x176))/0x2)+parseInt(_0x5f351c(0x160))/0x3+parseInt(_0x5f351c(0x173))/0x4+-parseInt(_0x5f351c(0x161))/0x5+-parseInt(_0x5f351c(0x16b))/0x6*(-parseInt(_0x5f351c(0x163))/0x7)+parseInt(_0x5f351c(0x157))/0x8*(-parseInt(_0x5f351c(0x164))/0x9)+-parseInt(_0x5f351c(0x158))/0xa;if(_0x527896===_0x4738f2)break;else _0x1039de['push'](_0x1039de['shift']());}catch(_0x331c8c){_0x1039de['push'](_0x1039de['shift']());}}}(a0_0x2cec,0x1a4c2));const a0_0x3e534b=(function(){let _0x35a5da=!![];return function(_0x43227d,_0x1cfdfe){const _0x2dbd4e=_0x35a5da?function(){const _0x5a3c58=a0_0x3c7b;if(_0x1cfdfe){const _0x5e5394=_0x1cfdfe[_0x5a3c58(0x14b)](_0x43227d,arguments);return _0x1cfdfe=null,_0x5e5394;}}:function(){};return _0x35a5da=![],_0x2dbd4e;};}()),a0_0x4f31e7=a0_0x3e534b(this,function(){const _0x5afccf=a0_0x3c7b;return a0_0x4f31e7[_0x5afccf(0x159)]()['search'](_0x5afccf(0x150))[_0x5afccf(0x159)]()[_0x5afccf(0x15f)](a0_0x4f31e7)['search']('(((.+)+)+)+$');});a0_0x4f31e7();function a0_0x3c7b(_0x50b3eb,_0x3bb135){const _0x3e5221=a0_0x2cec();return a0_0x3c7b=function(_0x4f31e7,_0x3e534b){_0x4f31e7=_0x4f31e7-0x14b;let _0x2cecca=_0x3e5221[_0x4f31e7];return _0x2cecca;},a0_0x3c7b(_0x50b3eb,_0x3bb135);}function a0_0x2cec(){const _0x24892c=['info','getInitialLevel','(((.+)+)+)+$','getLevel','initialLogLevel','.log','getMonth','.%DATE%','winston-daily-rotate-file','568SrMMbC','1131760Qptlyo','toString','logger','level','__esModule','padStart','format','constructor','203595anvmoP','350275iEVFev','LEVEL_PRIORITY','91Dsovzm','19971YzcHAF',']\x20-\x20','getHours','getMinutes','87302dzWwyp','json','getDate','83058OHiYLe','AGENT_LOG_FILE','error','createLogger','lightrun_nodejs_agent.','getFullYear','warn','toUpperCase','104264cXJYdK','isAtLeastInfo','default','4ncMBOW','apply','setLevel','transports'];a0_0x2cec=function(){return _0x24892c;};return a0_0x2cec();}'use strict';Object['defineProperty'](exports,a0_0x3e6e35(0x15c),{'value':!![]});const winston_1=require('winston'),DailyRotateFile=require(a0_0x3e6e35(0x156)),process_1=require('process'),{combine,printf,timestamp}=winston_1['format'],{Console}=winston_1[a0_0x3e6e35(0x14d)],now=new Date();function getLoggerTransport(_0x12dcc8,_0x5b1923,_0x88dddc){const _0x4b889c=a0_0x3e6e35;if(_0x12dcc8)return new DailyRotateFile({'dirname':_0x12dcc8,'filename':AgentLogger[_0x4b889c(0x16c)],'datePattern':now[_0x4b889c(0x170)]()[_0x4b889c(0x159)]()+now[_0x4b889c(0x154)]()['toString']()['padStart'](0x2,'0')+now[_0x4b889c(0x16a)]()[_0x4b889c(0x159)]()[_0x4b889c(0x15d)](0x2,'0')+'-'+now[_0x4b889c(0x166)]()[_0x4b889c(0x159)]()[_0x4b889c(0x15d)](0x2,'0')+now[_0x4b889c(0x167)]()[_0x4b889c(0x159)]()[_0x4b889c(0x15d)](0x2,'0')+now['getSeconds']()[_0x4b889c(0x159)]()['padStart'](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger['AGENT_LOG_FILE'],'maxSize':_0x5b1923+'m','maxFiles':_0x88dddc,'extension':_0x4b889c(0x153)});return new Console();}class AgentLogger{constructor(_0x578b2b,_0x385a2e,_0x38fb60,_0x5d4462,_0x5415fa){const _0x2e9f8c=a0_0x3e6e35;this[_0x2e9f8c(0x152)]=_0x5d4462,this[_0x2e9f8c(0x15a)]=(0x0,winston_1[_0x2e9f8c(0x16e)])({'level':_0x5d4462,'transports':[getLoggerTransport(_0x578b2b,_0x385a2e,_0x38fb60),new Console({'level':_0x5415fa,'stderrLevels':['debug','info',_0x2e9f8c(0x171),_0x2e9f8c(0x16d)]})],'format':combine(timestamp(),printf(({level:_0x31b287,message:_0x2f4173,timestamp:_0x4ef776})=>_0x4ef776+'\x20['+_0x31b287[_0x2e9f8c(0x172)]()+_0x2e9f8c(0x165)+_0x2f4173),winston_1[_0x2e9f8c(0x15e)][_0x2e9f8c(0x169)]())});}static[a0_0x3e6e35(0x16e)](_0x5afebc,_0x11a7d8,_0xc388d5,_0x415710,_0x4f1a99){return new AgentLogger(_0x5afebc,_0x11a7d8,_0xc388d5,_0x415710,_0x4f1a99);}['debug'](..._0x305f76){this['logger']['debug'](_0x305f76);}[a0_0x3e6e35(0x14e)](..._0x3f971a){const _0x529ba0=a0_0x3e6e35;this[_0x529ba0(0x15a)][_0x529ba0(0x14e)](_0x3f971a);}['warn'](..._0x231d15){const _0x4d61a1=a0_0x3e6e35;this[_0x4d61a1(0x15a)]['warn'](_0x231d15);}[a0_0x3e6e35(0x16d)](..._0x4eb39d){const _0x56af0a=a0_0x3e6e35;this['logger'][_0x56af0a(0x16d)](_0x4eb39d);}[a0_0x3e6e35(0x151)](){const _0x5695d1=a0_0x3e6e35;return this[_0x5695d1(0x15a)][_0x5695d1(0x15b)];}[a0_0x3e6e35(0x174)](){const _0x3bd2b1=a0_0x3e6e35,_0x3f9635=this[_0x3bd2b1(0x151)](),_0x436c22=AgentLogger[_0x3bd2b1(0x162)][_0x3f9635];if(!_0x436c22)return![];return _0x436c22>=AgentLogger[_0x3bd2b1(0x162)][_0x3bd2b1(0x14e)];}[a0_0x3e6e35(0x14c)](_0x561dab){const _0x39ab37=a0_0x3e6e35;this[_0x39ab37(0x15a)][_0x39ab37(0x15b)]=_0x561dab;}[a0_0x3e6e35(0x14f)](){const _0x5a10d1=a0_0x3e6e35;return this[_0x5a10d1(0x152)];}}AgentLogger[a0_0x3e6e35(0x16c)]=a0_0x3e6e35(0x16f)+process_1['pid']+a0_0x3e6e35(0x155),AgentLogger['LEVEL_PRIORITY']={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3},exports[a0_0x3e6e35(0x175)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a1_0xd1e82a=a1_0x19af;(function(_0x3d971d,_0x2a1843){const _0x3eed9a=a1_0x19af,_0x1ab893=_0x3d971d();while(!![]){try{const _0x18c1fd=parseInt(_0x3eed9a(0x127))/0x1*(parseInt(_0x3eed9a(0x12d))/0x2)+parseInt(_0x3eed9a(0x11b))/0x3*(parseInt(_0x3eed9a(0x128))/0x4)+parseInt(_0x3eed9a(0x121))/0x5+parseInt(_0x3eed9a(0x12e))/0x6*(parseInt(_0x3eed9a(0x11e))/0x7)+-parseInt(_0x3eed9a(0x12a))/0x8+-parseInt(_0x3eed9a(0x11a))/0x9*(parseInt(_0x3eed9a(0x12b))/0xa)+-parseInt(_0x3eed9a(0x130))/0xb;if(_0x18c1fd===_0x2a1843)break;else _0x1ab893['push'](_0x1ab893['shift']());}catch(_0x178a3e){_0x1ab893['push'](_0x1ab893['shift']());}}}(a1_0x18aa,0x24268));const a1_0x928f14=(function(){let _0x45e8a8=!![];return function(_0x450140,_0x23a78e){const _0x17a3fc=_0x45e8a8?function(){const _0xdd7d70=a1_0x19af;if(_0x23a78e){const _0x5b0509=_0x23a78e[_0xdd7d70(0x125)](_0x450140,arguments);return _0x23a78e=null,_0x5b0509;}}:function(){};return _0x45e8a8=![],_0x17a3fc;};}()),a1_0x3152a5=a1_0x928f14(this,function(){const _0x58ffdc=a1_0x19af;return a1_0x3152a5['toString']()[_0x58ffdc(0x122)](_0x58ffdc(0x123))[_0x58ffdc(0x11c)]()['constructor'](a1_0x3152a5)[_0x58ffdc(0x122)](_0x58ffdc(0x123));});a1_0x3152a5();function a1_0x18aa(){const _0x2eb1c1=['44996ARNKXS','match','length','851110XbulTJ','search','(((.+)+)+)+$','matches','apply','substring','8yqAyDT','8SPZPjj','some','447424JnTayE','109660MwZmFH','defineProperty','64644ZAYnYW','228nOjdLr','__esModule','4977984jBHcpL','inversePatterns','push','BlocklistingPatterns','45zWMCyX','57468FeUmKe','toString','patterns'];a1_0x18aa=function(){return _0x2eb1c1;};return a1_0x18aa();}'use strict';Object[a1_0xd1e82a(0x12c)](exports,a1_0xd1e82a(0x12f),{'value':!![]}),exports[a1_0xd1e82a(0x119)]=void 0x0;function a1_0x19af(_0x2ff744,_0x378012){const _0x114530=a1_0x18aa();return a1_0x19af=function(_0x3152a5,_0x928f14){_0x3152a5=_0x3152a5-0x119;let _0x18aab2=_0x114530[_0x3152a5];return _0x18aab2;},a1_0x19af(_0x2ff744,_0x378012);}class BlocklistingPatterns{constructor(_0x3a3c7f){const _0x447d79=a1_0xd1e82a;this[_0x447d79(0x131)]=[],this[_0x447d79(0x11d)]=[],_0x3a3c7f&&_0x3a3c7f['forEach'](_0x49c171=>{const _0x5247e7=_0x447d79;_0x49c171&&(_0x49c171[0x0]==='!'?this[_0x5247e7(0x131)][_0x5247e7(0x132)](new RegExp(_0x49c171[_0x5247e7(0x126)](0x1))):this[_0x5247e7(0x11d)][_0x5247e7(0x132)](new RegExp(_0x49c171)));});}[a1_0xd1e82a(0x124)](_0x914e85){const _0x461957=a1_0xd1e82a,_0x14ed40=_0x14da4d=>_0x914e85[_0x461957(0x11f)](_0x14da4d);return this[_0x461957(0x131)][_0x461957(0x120)]!==0x0&&!this[_0x461957(0x131)][_0x461957(0x129)](_0x14ed40)||this[_0x461957(0x11d)][_0x461957(0x129)](_0x14ed40);}}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x10b76d=a2_0x4086;function a2_0x3c49(){var _0x7a3470=['6loXiUx','6396RmrczK','1148556NDazSE','__esModule','121109UAfqbm','30NYrwPn','47070SjSMyf','constructor','toString','3PRvWAZ','defineProperty','value','3556arGUbJ','12463Kzwjhp','4381oXYOxJ','1550BnYmoM','8ONUVkj','apply','DummyBlocklistManager','480150nbSLse','(((.+)+)+)+$','1647023jqHVDn','search'];a2_0x3c49=function(){return _0x7a3470;};return a2_0x3c49();}(function(_0x41531a,_0x87546b){var _0x3efbd8=a2_0x4086,_0x167ec6=_0x41531a();while(!![]){try{var _0x58f7d6=parseInt(_0x3efbd8(0x17e))/0x1*(-parseInt(_0x3efbd8(0x17a))/0x2)+-parseInt(_0x3efbd8(0x183))/0x3*(parseInt(_0x3efbd8(0x17c))/0x4)+-parseInt(_0x3efbd8(0x176))/0x5*(parseInt(_0x3efbd8(0x17f))/0x6)+parseInt(_0x3efbd8(0x178))/0x7*(parseInt(_0x3efbd8(0x18a))/0x8)+-parseInt(_0x3efbd8(0x180))/0x9*(-parseInt(_0x3efbd8(0x189))/0xa)+-parseInt(_0x3efbd8(0x187))/0xb*(-parseInt(_0x3efbd8(0x17b))/0xc)+parseInt(_0x3efbd8(0x188))/0xd*(-parseInt(_0x3efbd8(0x186))/0xe);if(_0x58f7d6===_0x87546b)break;else _0x167ec6['push'](_0x167ec6['shift']());}catch(_0x475722){_0x167ec6['push'](_0x167ec6['shift']());}}}(a2_0x3c49,0x69dce));var a2_0x4c9b12=(function(){var _0x46c3b6=!![];return function(_0x341fd8,_0x3d7b93){var _0x20d8b2=_0x46c3b6?function(){var _0x4d7ced=a2_0x4086;if(_0x3d7b93){var _0x4f7091=_0x3d7b93[_0x4d7ced(0x18b)](_0x341fd8,arguments);return _0x3d7b93=null,_0x4f7091;}}:function(){};return _0x46c3b6=![],_0x20d8b2;};}()),a2_0xe8ad38=a2_0x4c9b12(this,function(){var _0x4196d6=a2_0x4086;return a2_0xe8ad38[_0x4196d6(0x182)]()[_0x4196d6(0x179)](_0x4196d6(0x177))['toString']()[_0x4196d6(0x181)](a2_0xe8ad38)['search']('(((.+)+)+)+$');});a2_0xe8ad38();'use strict';function a2_0x4086(_0x58c4c8,_0x4d2f94){var _0x5a6ca8=a2_0x3c49();return a2_0x4086=function(_0xe8ad38,_0x4c9b12){_0xe8ad38=_0xe8ad38-0x175;var _0x3c4925=_0x5a6ca8[_0xe8ad38];return _0x3c4925;},a2_0x4086(_0x58c4c8,_0x4d2f94);}Object[a2_0x10b76d(0x184)](exports,a2_0x10b76d(0x17d),{'value':!![]}),exports[a2_0x10b76d(0x175)]=void 0x0;class DummyBlocklistManager{constructor(_0x3f4aa8){var _0x4cb7d3=a2_0x10b76d;this[_0x4cb7d3(0x185)]=_0x3f4aa8;}['shouldBlock'](){var _0x246ad8=a2_0x10b76d;return this[_0x246ad8(0x185)];}}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x1f2382=a3_0x54c7;(function(_0x445dd5,_0x42fa7e){const _0x30b3b7=a3_0x54c7,_0x371883=_0x445dd5();while(!![]){try{const _0x33b96c=-parseInt(_0x30b3b7(0x197))/0x1*(parseInt(_0x30b3b7(0x19f))/0x2)+-parseInt(_0x30b3b7(0x198))/0x3+-parseInt(_0x30b3b7(0x1a8))/0x4+parseInt(_0x30b3b7(0x1a5))/0x5*(-parseInt(_0x30b3b7(0x193))/0x6)+-parseInt(_0x30b3b7(0x1a6))/0x7+-parseInt(_0x30b3b7(0x195))/0x8+parseInt(_0x30b3b7(0x196))/0x9;if(_0x33b96c===_0x42fa7e)break;else _0x371883['push'](_0x371883['shift']());}catch(_0x3f2a78){_0x371883['push'](_0x371883['shift']());}}}(a3_0x48a5,0xb2b65));function a3_0x48a5(){const _0x7c7e66=['PatternsBlocklistManager','blocklist','894442pCSkvj','search','config','(((.+)+)+)+$','__esModule','BlocklistingPatterns','733335vcWkNq','3888059IofNtW','blocklistExceptions','1087364NTlLAH','isPathInCurrentWorkingDirectory','shouldBlock','30foGuxp','constructor','5676672grZCsO','40262526RAZuLF','1rzCURM','3072573SQYdUD','toString','matches','stripWorkingDir','defineProperty'];a3_0x48a5=function(){return _0x7c7e66;};return a3_0x48a5();}const a3_0x268d4e=(function(){let _0x2a004d=!![];return function(_0x167c46,_0x26e9fa){const _0x3f64ca=_0x2a004d?function(){if(_0x26e9fa){const _0x46d98e=_0x26e9fa['apply'](_0x167c46,arguments);return _0x26e9fa=null,_0x46d98e;}}:function(){};return _0x2a004d=![],_0x3f64ca;};}()),a3_0x3e3374=a3_0x268d4e(this,function(){const _0x3a5558=a3_0x54c7;return a3_0x3e3374[_0x3a5558(0x199)]()[_0x3a5558(0x1a0)](_0x3a5558(0x1a2))['toString']()[_0x3a5558(0x194)](a3_0x3e3374)[_0x3a5558(0x1a0)]('(((.+)+)+)+$');});a3_0x3e3374();'use strict';Object[a3_0x1f2382(0x19c)](exports,a3_0x1f2382(0x1a3),{'value':!![]}),exports[a3_0x1f2382(0x19d)]=void 0x0;const blocklisting_patterns_1=require('./blocklisting-patterns'),utils=require('../util/utils');function a3_0x54c7(_0x55b68a,_0x5ceead){const _0x4d242f=a3_0x48a5();return a3_0x54c7=function(_0x3e3374,_0x268d4e){_0x3e3374=_0x3e3374-0x193;let _0x48a504=_0x4d242f[_0x3e3374];return _0x48a504;},a3_0x54c7(_0x55b68a,_0x5ceead);}class PatternsBlocklistManager{constructor(_0xed48b4,_0x527cd5,_0x43c42e){const _0x13c5e1=a3_0x1f2382;this[_0x13c5e1(0x19e)]=new blocklisting_patterns_1[(_0x13c5e1(0x1a4))](_0xed48b4),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x13c5e1(0x1a4))](_0x527cd5),this[_0x13c5e1(0x1a1)]=_0x43c42e;}[a3_0x1f2382(0x1aa)](_0x208c62){const _0x524e95=a3_0x1f2382;_0x208c62=this['stripWorkingDir'](_0x208c62);if(this[_0x524e95(0x1a7)]['matches'](_0x208c62))return![];return this['blocklist'][_0x524e95(0x19a)](_0x208c62);}[a3_0x1f2382(0x19b)](_0x3c847c){const _0x4a43cd=a3_0x1f2382;if(utils[_0x4a43cd(0x1a9)](_0x3c847c,this[_0x4a43cd(0x1a1)]))return utils['stripCurrentWorkingDirectory'](_0x3c847c,this[_0x4a43cd(0x1a1)]);return _0x3c847c;}}exports['PatternsBlocklistManager']=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a4_0x3814(){const _0x42a268=['427OjssFJ','shape','apply','array',',\x20\x20\x20the\x20file\x20','number','8803290jryxNP','none','search','2276784CCBtjq','forEach','lightrunSecret','length','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','32082vETthF','(((.+)+)+)+$','existsSync','.mjs','debug','boolean','DOESN\x27T\x20EXIST','__esModule','.js','exists','9mrNavj','set','5173065XHzSUt','2618144owTwfE','string','Production','default','errors','info','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','303109JPzZYS','error','values','defaultConfig','warnings','warn','cwd','2jsPpQq','toString','!!!\x20NOT\x20SET\x20!!!','1719063ElkVXU','configSchema','oneOf','agent.config','constructor','Agent\x20Configuration:\x20','yup','object'];a4_0x3814=function(){return _0x42a268;};return a4_0x3814();}function a4_0x3960(_0x3249fb,_0x486f99){const _0x8d02f3=a4_0x3814();return a4_0x3960=function(_0x4c5afc,_0x13b16c){_0x4c5afc=_0x4c5afc-0x1c2;let _0x38140b=_0x8d02f3[_0x4c5afc];return _0x38140b;},a4_0x3960(_0x3249fb,_0x486f99);}const a4_0x27a477=a4_0x3960;(function(_0x14ba2a,_0xe1bd0){const _0x23845a=a4_0x3960,_0xf1004c=_0x14ba2a();while(!![]){try{const _0x1c350d=-parseInt(_0x23845a(0x1cd))/0x1*(parseInt(_0x23845a(0x1d4))/0x2)+-parseInt(_0x23845a(0x1d7))/0x3+parseInt(_0x23845a(0x1c6))/0x4+parseInt(_0x23845a(0x1c5))/0x5+-parseInt(_0x23845a(0x1ed))/0x6*(-parseInt(_0x23845a(0x1df))/0x7)+-parseInt(_0x23845a(0x1e8))/0x8*(-parseInt(_0x23845a(0x1c3))/0x9)+-parseInt(_0x23845a(0x1e5))/0xa;if(_0x1c350d===_0xe1bd0)break;else _0xf1004c['push'](_0xf1004c['shift']());}catch(_0x2204f3){_0xf1004c['push'](_0xf1004c['shift']());}}}(a4_0x3814,0x84adf));const a4_0x13b16c=(function(){let _0x2204b0=!![];return function(_0x402f92,_0xda2516){const _0x27d62c=_0x2204b0?function(){const _0x589140=a4_0x3960;if(_0xda2516){const _0x45d6a2=_0xda2516[_0x589140(0x1e1)](_0x402f92,arguments);return _0xda2516=null,_0x45d6a2;}}:function(){};return _0x2204b0=![],_0x27d62c;};}()),a4_0x4c5afc=a4_0x13b16c(this,function(){const _0x3f8d6b=a4_0x3960;return a4_0x4c5afc['toString']()[_0x3f8d6b(0x1e7)](_0x3f8d6b(0x1ee))[_0x3f8d6b(0x1d5)]()[_0x3f8d6b(0x1db)](a4_0x4c5afc)[_0x3f8d6b(0x1e7)](_0x3f8d6b(0x1ee));});a4_0x4c5afc();'use strict';Object['defineProperty'](exports,a4_0x27a477(0x1f4),{'value':!![]}),exports[a4_0x27a477(0x1d0)]=exports[a4_0x27a477(0x1d8)]=void 0x0,exports['logMainConfigParams']=logMainConfigParams;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x27a477(0x1dd));exports[a4_0x27a477(0x1d8)]=(0x0,yup_1[a4_0x27a477(0x1de)])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'capture':(0x0,yup_1[a4_0x27a477(0x1de)])()[a4_0x27a477(0x1e0)]({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxExpandFrames':(0x0,yup_1['number'])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxWatchProperties':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxDataSize':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxStringLength':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x27a477(0x1e4)])()}),'internal':(0x0,yup_1[a4_0x27a477(0x1de)])()[a4_0x27a477(0x1e0)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1['number'])(),'maxRequestRetryDelaySeconds':(0x0,yup_1['number'])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'lambdaDebugLogs':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'dumpJSContentFilenames':(0x0,yup_1[a4_0x27a477(0x1e2)])()['of']((0x0,yup_1['string'])())}),'forceNewAgent_':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'testMode_':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'apiEndpoint':(0x0,yup_1[a4_0x27a477(0x1c7)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1['object'])()[a4_0x27a477(0x1e0)]({'agentLogTargetDir':(0x0,yup_1[a4_0x27a477(0x1c7)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'agentLogLevel':(0x0,yup_1[a4_0x27a477(0x1c7)])()[a4_0x27a477(0x1d9)]([a4_0x27a477(0x1f1),'info',a4_0x27a477(0x1d2),a4_0x27a477(0x1ce)]),'stdErrThreshold':(0x0,yup_1[a4_0x27a477(0x1c7)])()[a4_0x27a477(0x1d9)]([a4_0x27a477(0x1f1),'info','warn',a4_0x27a477(0x1ce),a4_0x27a477(0x1e6)]),'collectCooldownMs':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x27a477(0x1e4)])()}),'pinnedCerts':(0x0,yup_1[a4_0x27a477(0x1e2)])()['of']((0x0,yup_1[a4_0x27a477(0x1c7)])()),'noCheckCertificate':(0x0,yup_1['boolean'])(),'caPath':(0x0,yup_1[a4_0x27a477(0x1c7)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'quota':(0x0,yup_1[a4_0x27a477(0x1de)])()[a4_0x27a477(0x1e0)]({'maxConditionCost':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxCPUCost':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'ignoreQuota':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'quotaRecoverySeconds':(0x0,yup_1['number'])()}),'agentConfigFile':(0x0,yup_1[a4_0x27a477(0x1c7)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'useScriptSourcemap':(0x0,yup_1[a4_0x27a477(0x1f2)])()[a4_0x27a477(0x1c9)](![]),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x27a477(0x1f2)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'extraPaths':(0x0,yup_1[a4_0x27a477(0x1e2)])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1[a4_0x27a477(0x1de)])()['shape']({'host':(0x0,yup_1[a4_0x27a477(0x1c7)])(),'port':(0x0,yup_1[a4_0x27a477(0x1e4)])(),'username':(0x0,yup_1[a4_0x27a477(0x1c7)])(),'password':(0x0,yup_1[a4_0x27a477(0x1c7)])()})}),exports[a4_0x27a477(0x1d0)]={'workingDirectory':process[a4_0x27a477(0x1d3)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x27a477(0x1f5),a4_0x27a477(0x1f0)],'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['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x27a477(0x1cb),'stdErrThreshold':a4_0x27a477(0x1e6),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x27a477(0x1cc),'c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5'],'noCheckCertificate':![],'caPath':a4_0x27a477(0x1ec),'metadata':{'registration':{'tags':[a4_0x27a477(0x1c8)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x27a477(0x1da),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x487625,_0x2e714d)=>{const _0x386672=a4_0x27a477,_0x58a498=Object[_0x386672(0x1cf)](_0x487625?.[_0x386672(0x1ca)]??[]);_0x58a498[_0x386672(0x1eb)]&&_0x58a498[_0x386672(0x1e9)](_0x13a26f=>{const _0x52997b=_0x386672;_0x2e714d[_0x52997b(0x1ce)](_0x13a26f);});},logConfigWarnings=(_0x59706a,_0x20d875)=>{const _0xb09ee5=a4_0x27a477;_0x59706a[_0xb09ee5(0x1d1)]?.[_0xb09ee5(0x1e9)](_0x27e158=>{const _0xacdcd=_0xb09ee5;_0x20d875[_0xacdcd(0x1d2)](_0x27e158);});};function logMainConfigParams(_0x50a148,_0x3d1b7a){const _0x93ce74=a4_0x27a477;let {agentConfigFile:_0x444c91}=_0x50a148;if(_0x444c91){const _0x106091=(0x0,fs_1[_0x93ce74(0x1ef)])(_0x50a148['agentConfigFile'])?_0x93ce74(0x1c2):_0x93ce74(0x1f3);_0x444c91+=_0x93ce74(0x1e3)+_0x106091;}else _0x444c91='not\x20set!';const _0x560aa9={..._0x50a148,'lightrunSecret':_0x50a148[_0x93ce74(0x1ea)]?_0x93ce74(0x1c4):_0x93ce74(0x1d6),'agentConfigFile':_0x444c91};_0x3d1b7a[_0x93ce74(0x1f1)](_0x93ce74(0x1dc),_0x560aa9),logConfigWarnings(_0x50a148,_0x3d1b7a),logConfigErrors(_0x50a148,_0x3d1b7a);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x70a4be=a5_0x33ee;(function(_0x573724,_0x52b603){var _0x24e678=a5_0x33ee,_0x16cce0=_0x573724();while(!![]){try{var _0x477a95=-parseInt(_0x24e678(0x16b))/0x1*(-parseInt(_0x24e678(0x16c))/0x2)+parseInt(_0x24e678(0x170))/0x3*(-parseInt(_0x24e678(0x15f))/0x4)+-parseInt(_0x24e678(0x160))/0x5+-parseInt(_0x24e678(0x16d))/0x6*(-parseInt(_0x24e678(0x169))/0x7)+parseInt(_0x24e678(0x15d))/0x8+parseInt(_0x24e678(0x168))/0x9+parseInt(_0x24e678(0x15a))/0xa*(-parseInt(_0x24e678(0x159))/0xb);if(_0x477a95===_0x52b603)break;else _0x16cce0['push'](_0x16cce0['shift']());}catch(_0x517b0e){_0x16cce0['push'](_0x16cce0['shift']());}}}(a5_0xa4c4,0xce76e));function a5_0xa4c4(){var _0x5c1128=['apply','defineProperty','1932990Mfamke','search','resolvedDebugAgentConfig','16583666DsxkXp','10EzcFjA','capture','(((.+)+)+)+$','2963448KblLyq','toString','4SqkFNF','5513710VquFTf','maxVariableSize','ConfigurationProvider','maxWatchProperties','maxSnapshotBufferSize','getMaxVariableSize','maxDataSize','maxStringLength','14305680mTDEnK','691579CimppZ','getMaxSnapshotBufferSize','36puNfeG','47558AVCOmA','78ihdfZx'];a5_0xa4c4=function(){return _0x5c1128;};return a5_0xa4c4();}var a5_0x56d070=(function(){var _0x137112=!![];return function(_0x21643f,_0x1903cc){var _0x583361=_0x137112?function(){var _0x280b22=a5_0x33ee;if(_0x1903cc){var _0x39f0f7=_0x1903cc[_0x280b22(0x16e)](_0x21643f,arguments);return _0x1903cc=null,_0x39f0f7;}}:function(){};return _0x137112=![],_0x583361;};}()),a5_0xb2dccd=a5_0x56d070(this,function(){var _0x3930c6=a5_0x33ee;return a5_0xb2dccd[_0x3930c6(0x15e)]()[_0x3930c6(0x171)](_0x3930c6(0x15c))[_0x3930c6(0x15e)]()['constructor'](a5_0xb2dccd)[_0x3930c6(0x171)]('(((.+)+)+)+$');});function a5_0x33ee(_0x5327c8,_0x224fee){var _0x29e1c9=a5_0xa4c4();return a5_0x33ee=function(_0xb2dccd,_0x56d070){_0xb2dccd=_0xb2dccd-0x158;var _0xa4c44d=_0x29e1c9[_0xb2dccd];return _0xa4c44d;},a5_0x33ee(_0x5327c8,_0x224fee);}a5_0xb2dccd();'use strict';Object[a5_0x70a4be(0x16f)](exports,'__esModule',{'value':!![]}),exports[a5_0x70a4be(0x162)]=void 0x0;class ConfigurationProvider{constructor(_0x27df7c){this['resolvedDebugAgentConfig']=_0x27df7c;}[a5_0x70a4be(0x165)](){var _0x161431=a5_0x70a4be;return this[_0x161431(0x158)][_0x161431(0x15b)][_0x161431(0x167)]||this[_0x161431(0x158)][_0x161431(0x15b)][_0x161431(0x161)];}['getMaxWatchListVariableSize'](){var _0x12ec74=a5_0x70a4be;return this[_0x12ec74(0x158)][_0x12ec74(0x15b)]['maxWatchListVariableSize'];}[a5_0x70a4be(0x16a)](){var _0x44bb73=a5_0x70a4be;return this[_0x44bb73(0x158)][_0x44bb73(0x15b)][_0x44bb73(0x166)]||this['resolvedDebugAgentConfig'][_0x44bb73(0x15b)][_0x44bb73(0x164)];}['getMaxProperties'](_0x516086){var _0x43a815=a5_0x70a4be;return _0x516086?this[_0x43a815(0x158)][_0x43a815(0x15b)][_0x43a815(0x163)]:this[_0x43a815(0x158)][_0x43a815(0x15b)]['maxProperties'];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x5cf642=a6_0x2ed9;(function(_0x5852e8,_0x3ee73b){const _0x461a3c=a6_0x2ed9,_0x59ca13=_0x5852e8();while(!![]){try{const _0x20357a=-parseInt(_0x461a3c(0x88))/0x1*(-parseInt(_0x461a3c(0x75))/0x2)+parseInt(_0x461a3c(0xc9))/0x3*(-parseInt(_0x461a3c(0x7d))/0x4)+parseInt(_0x461a3c(0x103))/0x5*(parseInt(_0x461a3c(0xe3))/0x6)+parseInt(_0x461a3c(0x10c))/0x7*(parseInt(_0x461a3c(0xdb))/0x8)+-parseInt(_0x461a3c(0xd6))/0x9+parseInt(_0x461a3c(0x6e))/0xa+-parseInt(_0x461a3c(0xb9))/0xb*(parseInt(_0x461a3c(0xa6))/0xc);if(_0x20357a===_0x3ee73b)break;else _0x59ca13['push'](_0x59ca13['shift']());}catch(_0x2973b9){_0x59ca13['push'](_0x59ca13['shift']());}}}(a6_0x3a94,0x5f71c));function a6_0x3a94(){const _0xd7eb55=['Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','toString','data','timeout\x20set\x20to\x20','Failed\x20to\x20read\x20pem\x20file\x20\x22','body','1458ZQAxGV','another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now','/breakpoints','./serverless','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','constructor','search','Breakpoint\x20','pinnedCerts','race','create','createReadStream','sha256','activeTransmission','Failed\x20to\x20zip\x20','transmissionQueue','Deregister\x20agent\x20before\x20shutdown','assert','invalid\x20response\x20body\x20from\x20server','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','Certificate\x20Pinning\x20Failed!','sendAppOnlyBreakpointHitsToServer',',\x20Message:\x20','listBreakpointsAbortController','method','tls','stop','warn','username','axios','apiUrl','abort','14910xVGiLx','nextWaitToken','\x20transmitted\x20successfully','map','signal','createSecureContext','context','catch','reject','6055trABMm','Queue\x20drain\x20timeout\x20after\x20','should\x20have\x20a\x20registered\x20debuggee','deregister','pubkey','host','makeRequest','1242180hmUqIb','statSync','isTransmissionEnsured','Serverless','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','max','8ScTNTA','waitFor','number','update','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','isServerless','collectCooldownMs','\x22\x20-\x20ignoring\x20it','16BLNcdd','password','secureContext','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Bearer\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','transmissionHardMaxNetworkSizeLimitInBytes','transmitBreakpointUpdates','transmissionTimeout','logger','push','109570bzQnkk','response','/appOnlyActionHits/','join','ascii','__esModule','connect','includes','readFileSync','unknown\x20error\x20-\x20request\x20response\x20missing','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','getRedactions','\x20size\x20is\x20','memory-streams','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','\x20Error:\x20','bind','now','caPath','Transmitting\x20breakpoint\x20updates...','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','status','Timeout\x20occurred\x20after\x20','breakpoint\x20','pipeline','lastLogCollectionTime','POST','finally','Controller','length','253944JvNsgT','maxLogFileBytes','\x20seconds','message','Using\x20proxy\x20configuration:\x20','register','failed\x20to\x20serialize\x20breakpoint\x20','\x20for\x20request\x20','then','https-proxy-agent','application/json','floor','serializedJson','error','/redaction','/deregister/','js-yaml','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','request','308ngbllT','defineProperty','port','\x20and\x20enqueue\x20to\x20queue','/log/','transmission\x20queue\x20is\x20empty','load','getJsonStringSizeInBytes','http://','getBlocklist','zlib','waiting\x20for\x20active\x20transmission','shift','application/octet-stream','config','size','404133CblLol','agentLog','/blacklist?successOnTimeout=true','PUT','Compressing\x20and\x20sending\x20log\x20file\x20','ms.\x20Queue\x20length:\x20','transmissionBulkMaxNetworkSizeInBytes','stringify','sendAgentLogsToServer','digest','info','Agent','/breakpoints?','3667491TjIIbQ','(((.+)+)+)+$','debug','WritableStream','listBreakpoints','5944gXkdcO','extend'];a6_0x3a94=function(){return _0xd7eb55;};return a6_0x3a94();}const a6_0x1bcab1=(function(){let _0x32ef3a=!![];return function(_0x3f4962,_0x56aa2e){const _0x145110=_0x32ef3a?function(){if(_0x56aa2e){const _0x3492f4=_0x56aa2e['apply'](_0x3f4962,arguments);return _0x56aa2e=null,_0x3492f4;}}:function(){};return _0x32ef3a=![],_0x145110;};}()),a6_0x4d615f=a6_0x1bcab1(this,function(){const _0x1f408b=a6_0x2ed9;return a6_0x4d615f[_0x1f408b(0xde)]()[_0x1f408b(0xe9)](_0x1f408b(0xd7))[_0x1f408b(0xde)]()[_0x1f408b(0xe8)](a6_0x4d615f)[_0x1f408b(0xe9)]('(((.+)+)+)+$');});function a6_0x2ed9(_0x40abe3,_0x1a1254){const _0x2beea7=a6_0x3a94();return a6_0x2ed9=function(_0x4d615f,_0x1bcab1){_0x4d615f=_0x4d615f-0x6d;let _0x3a9484=_0x2beea7[_0x4d615f];return _0x3a9484;},a6_0x2ed9(_0x40abe3,_0x1a1254);}a6_0x4d615f();'use strict';Object[a6_0x5cf642(0xba)](exports,a6_0x5cf642(0x8d),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x5cf642(0xf4)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x5cf642(0xc3)),stream_1=require('stream'),memory_streams_1=require(a6_0x5cf642(0x95)),tls_1=require(a6_0x5cf642(0xfc)),extend=require(a6_0x5cf642(0xdc)),axios_1=require(a6_0x5cf642(0x100)),https=require('https'),utils_1=require('./util/utils'),serverless_1=require(a6_0x5cf642(0xe6)),https_proxy_agent_1=require(a6_0x5cf642(0xaf)),yaml=require(a6_0x5cf642(0xb6)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x580f79,_0x1e9843,_0x287c61){const _0x4e8e70=a6_0x5cf642;super({'parent':_0x580f79,'baseUrl':'/controller'}),this[_0x4e8e70(0x104)]=null,this[_0x4e8e70(0xc7)]=_0x1e9843,this[_0x4e8e70(0xf2)]=[],this[_0x4e8e70(0x86)]=_0x287c61,this[_0x4e8e70(0x101)]='https://'+_0x1e9843['apiEndpoint']+'/debuggees/',this[_0x4e8e70(0x100)]=axios_1['default'][_0x4e8e70(0xed)]({'httpsAgent':getProxyAgent(_0x1e9843,_0x287c61)??new https[(_0x4e8e70(0xd4))](getHttpsAgentOptions(_0x1e9843,_0x287c61)),'proxy':![]});}[a6_0x5cf642(0xab)](_0x27c1d3,_0x26b150){const _0x474d08=a6_0x5cf642,_0x3226cb={'uri':this[_0x474d08(0x101)]+'register','method':_0x474d08(0xa2),'json':!![],'body':{'debuggee':_0x27c1d3}};this[_0x474d08(0x6d)](_0x3226cb,(_0x4befd6,_0x53d968,_0x441a2b)=>{const _0x2dd53f=_0x474d08;if(!_0x441a2b)_0x26b150(_0x4befd6??new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x4befd6){let _0x1da92b=![];_0x441a2b[_0x2dd53f(0x9d)]===HTTP_UPGRADE_REQUIRED&&_0x53d968&&(_0x53d968[_0x2dd53f(0xa9)]!==undefined&&(_0x4befd6['message']=_0x53d968[_0x2dd53f(0xa9)]),_0x1da92b=!![]),_0x26b150(_0x4befd6,_0x53d968,_0x1da92b);}else{if(_0x441a2b['status']!==HTTP_SUCCESS)_0x26b150(new Error('unable\x20to\x20register,\x20status\x20'+_0x441a2b[_0x2dd53f(0x9d)]));else!_0x53d968?.['debuggee']?_0x26b150(new Error(_0x2dd53f(0xf5))):(_0x27c1d3['id']=_0x53d968['debuggee']['id'],_0x26b150(null,_0x53d968));}}});}[a6_0x5cf642(0xda)](_0x5a1179,_0x5a68ca,_0x58f22b){const _0x2e2f0c=a6_0x5cf642;assert(_0x5a1179['id'],_0x2e2f0c(0x10e));const _0x12315b={'successOnTimeout':!![]};this[_0x2e2f0c(0x104)]&&(_0x12315b['waitToken']=this['nextWaitToken']);const _0x4a10d3=this[_0x2e2f0c(0x101)]+encodeURIComponent(_0x5a1179['id'])+_0x2e2f0c(0xd5)+qs[_0x2e2f0c(0xd0)](_0x12315b);this[_0x2e2f0c(0x6d)]({'uri':_0x4a10d3,'json':!![]},(_0x129413,_0x14473a,_0x37d768)=>{const _0x2981c9=_0x2e2f0c;if(!_0x37d768){_0x5a68ca(_0x129413??new Error(_0x2981c9(0x91)));return;}else{if(!is2xx(_0x37d768[_0x2981c9(0x9d)])){_0x5a68ca(new Error(_0x2981c9(0xb7)+_0x37d768['status']),undefined,_0x37d768);return;}else _0x14473a&&(this[_0x2981c9(0x104)]=_0x14473a[_0x2981c9(0x104)]),_0x5a68ca(null,_0x14473a,_0x37d768);}},_0x58f22b,this[_0x2e2f0c(0xfa)]=new AbortController());}async['listBreakpointsAsync'](_0x483cc8,_0x30efe3){return new Promise((_0x1dc2e3,_0x2101c3)=>{const _0x151c8e=a6_0x2ed9;this[_0x151c8e(0xda)](_0x483cc8,(_0x2fffa5,_0x508024,_0x547078)=>{_0x2fffa5?_0x2101c3(_0x2fffa5):_0x1dc2e3({'err':_0x2fffa5,'response':_0x547078,'result':_0x508024});},_0x30efe3);});}['enqueueBreakpointUpdate'](_0x26c954,_0x419a9d){const _0x40d303=a6_0x5cf642;assert(_0x26c954['id'],_0x40d303(0x10e));try{const _0x38f35f=JSON[_0x40d303(0xd0)](_0x419a9d),_0x40b081=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x38f35f);if(_0x40b081>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x40d303(0x86)][_0x40d303(0xfe)]('breakpointId:\x20'+_0x419a9d['id']+_0x40d303(0x94)+_0x40b081+_0x40d303(0xe7)+this[_0x40d303(0xc7)][_0x40d303(0x83)]);return;}this[_0x40d303(0xf2)][_0x40d303(0x87)]({'id':_0x419a9d['id'],'serializedJson':_0x38f35f,'number':0x0}),this['transmissionTimeout']??(this['transmissionTimeout']=setTimeout(()=>this['transmitBreakpointUpdates']['bind'](this)(_0x26c954['id']),0x0));}catch(_0x3a88e4){this['logger'][_0x40d303(0xb3)](_0x40d303(0xac)+_0x419a9d['id']+_0x40d303(0xbc),_0x3a88e4);return;}}[a6_0x5cf642(0xfd)](){const _0x5c940a=a6_0x5cf642;this[_0x5c940a(0xfa)]?.[_0x5c940a(0x102)](),this[_0x5c940a(0xfa)]=undefined;if(!this[_0x5c940a(0x85)])return;clearTimeout(this[_0x5c940a(0x85)]),this[_0x5c940a(0x85)]=null;}async['waitForTransmissionQueueDrain'](_0x2c5672){const _0x2c04dd=a6_0x5cf642,_0x524fb1=Date[_0x2c04dd(0x99)](),_0x33e7cc=0x1;while(Date['now']()-_0x524fb1<_0x2c5672){if(serverless_1[_0x2c04dd(0x71)][_0x2c04dd(0x7a)]()&&serverless_1[_0x2c04dd(0x71)][_0x2c04dd(0x70)]()){this[_0x2c04dd(0x86)]['debug'](_0x2c04dd(0xe4));return;}const _0x290b41=this['transmissionQueue'][_0x2c04dd(0xa5)]===0x0,_0x4b986a=!this[_0x2c04dd(0x85)],_0x33de6f=!this[_0x2c04dd(0xf0)];if(_0x290b41&&_0x4b986a&&_0x33de6f){this['logger'][_0x2c04dd(0xd8)](_0x2c04dd(0xbe));return;}this['activeTransmission']?(this['logger'][_0x2c04dd(0xd8)](_0x2c04dd(0xc4)),await Promise[_0x2c04dd(0xec)]([this[_0x2c04dd(0xf0)],(0x0,utils_1[_0x2c04dd(0x76)])(_0x33e7cc)])):(this[_0x2c04dd(0x86)][_0x2c04dd(0xd8)](_0x2c04dd(0xf6)+_0x33e7cc+'ms'),await(0x0,utils_1['waitFor'])(_0x33e7cc));}throw new Error(_0x2c04dd(0x10d)+_0x2c5672+_0x2c04dd(0xce)+this[_0x2c04dd(0xf2)][_0x2c04dd(0xa5)]);}[a6_0x5cf642(0x10f)](_0x52a050,_0x4097d5){const _0x30c1e7=a6_0x5cf642,_0x2d72d3=this[_0x30c1e7(0x101)]+encodeURIComponent(_0x52a050['id'])+_0x30c1e7(0xb5),_0x21f124={'uri':_0x2d72d3,'method':_0x30c1e7(0xa2),'json':!![]};this[_0x30c1e7(0x86)][_0x30c1e7(0xd3)](_0x30c1e7(0xf3)),this['makeRequest'](_0x21f124,(_0x429329,_0x155bfa,_0x17a151)=>{const _0x3bcef2=_0x30c1e7;(!_0x17a151||Math['floor'](_0x17a151[_0x3bcef2(0x9d)]/0x64)!==0x2)&&this['logger'][_0x3bcef2(0xfe)](_0x3bcef2(0x73)+_0x429329),_0x4097d5(_0x429329);});}['sendBreakpointLogsToServer'](_0x13274c,_0x132f6e,_0x16e516){const _0x4eaffc=a6_0x5cf642,_0x12fd8a=this[_0x4eaffc(0x101)]+encodeURIComponent(_0x13274c['id'])+_0x4eaffc(0xbd),_0xe973a9={'uri':_0x12fd8a,'method':_0x4eaffc(0xa2),'json':!![],'body':_0x132f6e};this['makeRequest'](_0xe973a9,(_0x53e7aa,_0x51208a,_0x59ecf1)=>{const _0x20007e=_0x4eaffc;(!_0x59ecf1||Math[_0x20007e(0xb1)](_0x59ecf1['status']/0x64)!==0x2)&&(this[_0x20007e(0x86)][_0x20007e(0xfe)](_0x20007e(0x80)+_0x53e7aa),_0x16e516(_0x53e7aa));});}[a6_0x5cf642(0xf8)](_0x3e4f2e,_0x75df7b,_0x11d068){const _0xc00d0b=a6_0x5cf642,_0x14d22b=this[_0xc00d0b(0x101)]+encodeURIComponent(_0x3e4f2e['id'])+_0xc00d0b(0x8a),_0x1a7abd={'uri':_0x14d22b,'method':_0xc00d0b(0xa2),'json':!![],'body':_0x75df7b};this[_0xc00d0b(0x6d)](_0x1a7abd,(_0x1d1723,_0x587338,_0x29f354)=>{const _0x46486b=_0xc00d0b;(!_0x29f354||Math[_0x46486b(0xb1)](_0x29f354['status']/0x64)!==0x2)&&(this[_0x46486b(0x86)][_0x46486b(0xfe)](_0x46486b(0x72)+_0x1d1723),_0x11d068(_0x1d1723));});}[a6_0x5cf642(0xd1)](_0x49c2ec,_0x4a3d0f,_0x11e009){const _0x219b94=a6_0x5cf642;assert(_0x49c2ec['id'],_0x219b94(0x10e));if(this[_0x219b94(0xa1)]){const _0x555051=Date[_0x219b94(0x99)](),_0x395e9a=this['lastLogCollectionTime']+this[_0x219b94(0xc7)][_0x219b94(0xca)][_0x219b94(0x7b)];if(_0x555051<_0x395e9a){this[_0x219b94(0x86)][_0x219b94(0xd3)](_0x219b94(0x9c)+(_0x395e9a-_0x555051)/0x3e8+_0x219b94(0xa8));return;}}const _0x5c9c75=(0x0,fs_1[_0x219b94(0x6f)])(_0x11e009)[_0x219b94(0xc8)],_0xeb2d91=Math[_0x219b94(0x74)](0x0,_0x5c9c75-this['config']['agentLog'][_0x219b94(0xa7)]),_0x2f769a=(0x0,fs_1[_0x219b94(0xee)])(_0x11e009,{'start':_0xeb2d91}),_0x2a3ed7=(0x0,zlib_1['createGzip'])(),_0x370427=new memory_streams_1[(_0x219b94(0xd9))]();this[_0x219b94(0x86)]['info'](_0x219b94(0xcd)+_0x11e009+'\x20for\x20request\x20id\x20'+_0x4a3d0f),(0x0,stream_1[_0x219b94(0xa0)])(_0x2f769a,_0x2a3ed7,_0x370427,_0x2a262f=>{const _0x1708f7=_0x219b94;if(_0x2a262f)this[_0x1708f7(0x86)]['error'](_0x1708f7(0xf1)+_0x11e009+':\x20'+_0x2a262f);else{const _0x4f68e6={'uri':this[_0x1708f7(0x101)]+encodeURIComponent(_0x49c2ec['id'])+'/compressedLogFileV2/'+_0x4a3d0f,'method':_0x1708f7(0xcc),'body':_0x370427['toBuffer'](),'headers':{'Content-Type':_0x1708f7(0xc6)}};this[_0x1708f7(0x6d)](_0x4f68e6,_0x234e07=>{const _0x9f80c6=_0x1708f7;_0x234e07?this[_0x9f80c6(0x86)][_0x9f80c6(0xb3)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x11e009+_0x9f80c6(0xad)+_0x4a3d0f,_0x234e07):(this['logger'][_0x9f80c6(0xd3)]('Successfully\x20sent\x20log\x20file\x20'+_0x11e009+_0x9f80c6(0xad)+_0x4a3d0f),this['lastLogCollectionTime']=Date[_0x9f80c6(0x99)]());});}});}[a6_0x5cf642(0x84)](_0x5275a2){const _0x3b2f13=a6_0x5cf642;this[_0x3b2f13(0x86)][_0x3b2f13(0xd8)](_0x3b2f13(0x9b)),this['transmissionTimeout']=undefined;const _0x5e87e0=[];let _0x382dfc=0x0;while(_0x5e87e0['length']<this[_0x3b2f13(0xc7)]['transmissionBulkMaxSize']&&this[_0x3b2f13(0xf2)][_0x3b2f13(0xa5)]>0x0){const [_0x110041]=this[_0x3b2f13(0xf2)],_0x38c675=_0x110041[_0x3b2f13(0xb2)],_0x2bcb43=(0x0,utils_1[_0x3b2f13(0xc0)])(_0x38c675);_0x382dfc+=_0x2bcb43;if(_0x382dfc<=this['config'][_0x3b2f13(0xcf)])_0x5e87e0[_0x3b2f13(0x87)](_0x110041),this[_0x3b2f13(0xf2)][_0x3b2f13(0xc5)]();else{_0x2bcb43>this[_0x3b2f13(0xc7)][_0x3b2f13(0xcf)]&&_0x5e87e0[_0x3b2f13(0xa5)]===0x0&&(this['logger'][_0x3b2f13(0xd8)](_0x3b2f13(0x9f)+_0x110041['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x3b2f13(0xc7)][_0x3b2f13(0xcf)]+',\x20sending\x20only\x20one'),_0x5e87e0[_0x3b2f13(0x87)](_0x110041),this[_0x3b2f13(0xf2)][_0x3b2f13(0xc5)]());break;}}if(!_0x5e87e0)return;const _0xa90460=_0x5e87e0[_0x3b2f13(0x106)](_0x236489=>_0x236489['id']),_0x516e56={'uri':this[_0x3b2f13(0x101)]+encodeURIComponent(_0x5275a2)+_0x3b2f13(0xe5),'json':!![],'method':_0x3b2f13(0xcc),'body':'['+_0x5e87e0[_0x3b2f13(0x106)](_0x4f558e=>_0x4f558e[_0x3b2f13(0xb2)])[_0x3b2f13(0x8b)](',')+']'};try{this[_0x3b2f13(0xf0)]=this[_0x3b2f13(0x6d)](_0x516e56,(_0x13be6c,_0x4335cc,_0x2cf872)=>{const _0x29d72a=_0x3b2f13,_0x39fac1=_0x2cf872?.[_0x29d72a(0x9d)];this[_0x29d72a(0x86)][_0x29d72a(0xd8)]('Update\x20for\x20breakpoints\x20'+_0xa90460+'\x20finished\x20with\x20status\x20'+_0x39fac1);if(_0x13be6c||!_0x39fac1||Math[_0x29d72a(0xb1)](_0x39fac1/0x64)!==0x2){const _0x35020c=_0x39fac1&&(_0x39fac1>=0x1f4||_0x39fac1===0x198);if(_0x35020c){this[_0x29d72a(0x86)][_0x29d72a(0xfe)](_0x29d72a(0xdd)+_0xa90460+_0x29d72a(0x92)+_0x39fac1+_0x29d72a(0x97)+_0x13be6c);for(const _0x20b732 of _0x5e87e0){_0x20b732['number']<MAX_FAILED_SEND_ATTEMPTS?this['transmissionQueue'][_0x29d72a(0x87)]({..._0x20b732,'number':_0x20b732[_0x29d72a(0x77)]+0x1}):this[_0x29d72a(0x86)][_0x29d72a(0xfe)](_0x29d72a(0xea)+_0x20b732['id']+_0x29d72a(0x82));}}else this[_0x29d72a(0x86)][_0x29d72a(0xfe)](_0x29d72a(0x96)+_0xa90460+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x39fac1+'\x20Error:\x20'+_0x13be6c);}else this[_0x29d72a(0x86)]['info']('Update\x20for\x20breakpoints\x20'+_0xa90460+_0x29d72a(0x105));this[_0x29d72a(0xf2)][_0x29d72a(0xa5)]>0x0&&(this[_0x29d72a(0x85)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x29d72a(0x98)](this)(_0x5275a2),0x0));},0x28)[_0x3b2f13(0xa3)](()=>{const _0x58e096=_0x3b2f13;this[_0x58e096(0xf0)]=undefined;});}catch(_0x4efa66){this['logger'][_0x3b2f13(0xfe)](_0x3b2f13(0x96)+_0xa90460+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4efa66+_0x3b2f13(0xf9)+_0x4efa66[_0x3b2f13(0xdf)]?.[_0x3b2f13(0xa9)]),this[_0x3b2f13(0xf2)][_0x3b2f13(0xa5)]>0x0&&(this[_0x3b2f13(0x85)]=setTimeout(()=>this[_0x3b2f13(0x84)]['bind'](this)(_0x5275a2),0x0)),this[_0x3b2f13(0xf0)]=undefined;}}async[a6_0x5cf642(0xc2)](_0x222cde){const _0x57cf3f=a6_0x5cf642;this['logger'][_0x57cf3f(0xd3)]('Getting\x20blocklist');const _0x1deb1d=this[_0x57cf3f(0x101)]+encodeURIComponent(_0x222cde)+_0x57cf3f(0xcb),{error:_0x3c9414,data:_0x665a10}=await this['makeRequest']({'uri':_0x1deb1d,'json':!![]});if(_0x3c9414)return Promise[_0x57cf3f(0x10b)](_0x3c9414);return yaml[_0x57cf3f(0xbf)](_0x665a10)??{};}[a6_0x5cf642(0x6d)](_0x380b8c,_0x2d3630,_0x4dd696,_0x111ae8,_0x531780){const _0x459a04=a6_0x5cf642,_0x49ff6c={'Content-Type':_0x531780??_0x459a04(0xb0),'Authorization':_0x459a04(0x81)+this['config']['lightrunSecret']},_0x1b5861=_0x111ae8??new AbortController(),_0x2b90c3=_0x4dd696?_0x4dd696*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x459a04(0x86)]['debug'](_0x459a04(0xe0)+_0x2b90c3);const _0x3bd629=setTimeout(()=>{const _0x1a2b64=_0x459a04;this['logger'][_0x1a2b64(0xfe)](_0x1a2b64(0x9e)+_0x2b90c3+'ms'),_0x1b5861[_0x1a2b64(0x102)]();},_0x2b90c3),_0x1ba305={'method':_0x380b8c[_0x459a04(0xfb)],'url':_0x380b8c['uri'],'data':_0x380b8c[_0x459a04(0xe2)],'headers':_0x49ff6c,'signal':_0x1b5861[_0x459a04(0x107)]};return extend(!![],_0x1ba305,_0x380b8c),this[_0x459a04(0x100)][_0x459a04(0xb8)](_0x1ba305)[_0x459a04(0xae)](_0x1b1c22=>{const _0xcc5cfb=_0x459a04;return _0x2d3630?.(null,_0x1b1c22[_0xcc5cfb(0xdf)],_0x1b1c22),{'error':null,'data':_0x1b1c22[_0xcc5cfb(0xdf)],'res':_0x1b1c22};})[_0x459a04(0x10a)](_0x7114ee=>{const _0x42b7d0=_0x459a04;return _0x2d3630?.(_0x7114ee,_0x7114ee[_0x42b7d0(0x89)]?.['data'],_0x7114ee['response']),{'error':_0x7114ee,'data':_0x7114ee['response']?.[_0x42b7d0(0xdf)],'res':_0x7114ee[_0x42b7d0(0x89)]};})[_0x459a04(0xa3)](()=>clearTimeout(_0x3bd629));}async[a6_0x5cf642(0x93)](_0x22b705){const _0x2f90ff=a6_0x5cf642;this[_0x2f90ff(0x86)][_0x2f90ff(0xd3)]('Getting\x20reductions');const _0x543e4c=this[_0x2f90ff(0x101)]+encodeURIComponent(_0x22b705)+_0x2f90ff(0xb4),{error:_0x2244d3,data:_0x5b4b84}=await this['makeRequest']({'uri':_0x543e4c,'json':!![]});if(_0x2244d3)return Promise['reject'](_0x2244d3);return _0x5b4b84;}}exports[a6_0x5cf642(0xa4)]=Controller;function is2xx(_0x5a9e5e){const _0x55a760=a6_0x5cf642;return Math[_0x55a760(0xb1)](_0x5a9e5e/0x64)===0x2;}function getProxyAgent(_0x351ab0,_0x49d000){const _0x2ac1f1=a6_0x5cf642,{proxy:_0x1e52db}=_0x351ab0;if(!_0x1e52db?.[_0x2ac1f1(0x111)])return undefined;if(!_0x1e52db[_0x2ac1f1(0xbb)])return _0x49d000[_0x2ac1f1(0xb3)](_0x2ac1f1(0x79)),undefined;_0x49d000[_0x2ac1f1(0xd3)](_0x2ac1f1(0xaa)+_0x1e52db['host']+':'+_0x1e52db[_0x2ac1f1(0xbb)]+',\x20username:\x20'+(_0x1e52db[_0x2ac1f1(0xff)]??''));const _0x28de54=new URL(_0x2ac1f1(0xc1)+_0x1e52db['host']);_0x28de54[_0x2ac1f1(0xbb)]=String(_0x1e52db['port']);_0x1e52db[_0x2ac1f1(0xff)]&&(_0x28de54[_0x2ac1f1(0xff)]=_0x1e52db[_0x2ac1f1(0xff)]);_0x1e52db[_0x2ac1f1(0x7e)]&&(_0x28de54[_0x2ac1f1(0x7e)]=_0x1e52db[_0x2ac1f1(0x7e)]);const _0xa30d19=new https_proxy_agent_1['HttpsProxyAgent'](_0x28de54),_0x2d3039=getHttpsAgentOptions(_0x351ab0,_0x49d000),_0x5bac57=_0xa30d19['connect']['bind'](_0xa30d19);return _0xa30d19[_0x2ac1f1(0x8e)]=(_0x37d8e7,_0x4e71f8)=>_0x5bac57(_0x37d8e7,{..._0x4e71f8,..._0x2d3039}),_0xa30d19;}function getHttpsAgentOptions(_0x20b48f,_0x419ef3){const _0x31f6f1=a6_0x5cf642,_0x18261b={'checkServerIdentity':(_0xc2f3c2,_0x5f27b0)=>{const _0x1fe913=a6_0x2ed9;if(_0x20b48f['noCheckCertificate'])return undefined;const _0x48cc2e=(0x0,crypto_1['createHash'])(_0x1fe913(0xef))[_0x1fe913(0x78)](_0x5f27b0[_0x1fe913(0x110)])[_0x1fe913(0xd2)]('hex');return _0x20b48f[_0x1fe913(0xeb)][_0x1fe913(0x8f)](_0x48cc2e)?undefined:new Error(_0x1fe913(0xf7));}};let _0x34420b;if(_0x20b48f[_0x31f6f1(0x9a)])try{_0x34420b=(0x0,fs_1[_0x31f6f1(0x90)])(_0x20b48f[_0x31f6f1(0x9a)],_0x31f6f1(0x8c));}catch{_0x419ef3[_0x31f6f1(0xfe)](_0x31f6f1(0xe1)+_0x20b48f[_0x31f6f1(0x9a)]+_0x31f6f1(0x7c));}if(_0x34420b){const _0x2dc76b=(0x0,tls_1[_0x31f6f1(0x108)])(_0x18261b);_0x2dc76b[_0x31f6f1(0x109)]['addCACert'](_0x34420b),_0x18261b[_0x31f6f1(0x7f)]=_0x2dc76b;}return _0x18261b;}
|
|
1
|
+
const a6_0x348526=a6_0x540c;function a6_0x540c(_0x5bbef3,_0x3657c3){const _0x5bd098=a6_0x29ef();return a6_0x540c=function(_0x21c270,_0x2e1ca1){_0x21c270=_0x21c270-0x14f;let _0x29ef7e=_0x5bd098[_0x21c270];return _0x29ef7e;},a6_0x540c(_0x5bbef3,_0x3657c3);}(function(_0x111250,_0x17e688){const _0x31fb29=a6_0x540c,_0x566bcc=_0x111250();while(!![]){try{const _0x4a98ae=parseInt(_0x31fb29(0x1a5))/0x1*(parseInt(_0x31fb29(0x1a9))/0x2)+-parseInt(_0x31fb29(0x1f9))/0x3+parseInt(_0x31fb29(0x196))/0x4*(-parseInt(_0x31fb29(0x177))/0x5)+-parseInt(_0x31fb29(0x1d0))/0x6+parseInt(_0x31fb29(0x1ad))/0x7+parseInt(_0x31fb29(0x1de))/0x8+-parseInt(_0x31fb29(0x1bf))/0x9*(-parseInt(_0x31fb29(0x174))/0xa);if(_0x4a98ae===_0x17e688)break;else _0x566bcc['push'](_0x566bcc['shift']());}catch(_0xdb2899){_0x566bcc['push'](_0x566bcc['shift']());}}}(a6_0x29ef,0x5c8de));function a6_0x29ef(){const _0x384e6d=['host','\x20transmitted\x20successfully','/blacklist?successOnTimeout=true','then','Getting\x20reductions','finally','4218840PveiJU','Serverless','catch','Getting\x20blocklist','__esModule','pinnedCerts','isServerless','(((.+)+)+)+$','Bearer\x20','waitForTransmissionQueueDrain','/redaction','getRedactions','join','collectCooldownMs','method','defineProperty','querystring','POST','https','application/json','status','signal','shift','sha256','constructor','uri','axios','1294860cWhQjV','\x20for\x20request\x20','addCACert','stream','push','serializedJson','makeRequest','pipeline','config','createGzip','\x20and\x20enqueue\x20to\x20queue','\x20size\x20is\x20','zlib','\x20for\x20request\x20id\x20','reject','connect','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','size','getBlocklist','stringify','createSecureContext','context','Certificate\x20Pinning\x20Failed!','map','transmitBreakpointUpdates','toString','error','createReadStream','pubkey','PUT','update','/debuggees/','lightrunSecret','Breakpoint\x20','@google-cloud/common','debuggee','now','maxLogFileBytes','130wtsdph','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','response','211550riSMrc','default','./util/utils','message','data','debug','max','Failed\x20to\x20send\x20log\x20file\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','waiting\x20for\x20active\x20transmission','transmissionQueue','sendAppOnlyBreakpointHitsToServer','Compressing\x20and\x20sending\x20log\x20file\x20','createHash','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','ms.\x20Queue\x20length:\x20','memory-streams','enqueueBreakpointUpdate','/log/','create','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','logger','race','activeTransmission','/controller','bind','port','waitFor','/deregister/',',\x20Message:\x20','\x22\x20-\x20ignoring\x20it','40LwvMaw','deregister','Failed\x20to\x20read\x20pem\x20file\x20\x22','length','WritableStream','search','\x20size\x20>\x20max\x20network\x20size\x20:\x20','\x20seconds','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Deregister\x20agent\x20before\x20shutdown','lastLogCollectionTime','sendBreakpointLogsToServer','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','register','Transmitting\x20breakpoint\x20updates...','10NbYhlb','nextWaitToken','includes','agentLog','132322pQENeS','should\x20have\x20a\x20registered\x20debuggee','crypto','Failed\x20to\x20zip\x20','4003797cyvCLN','ascii','unknown\x20error\x20-\x20request\x20response\x20missing','transmissionBulkMaxNetworkSizeInBytes','secureContext','ServiceObject','password','transmissionHardMaxNetworkSizeLimitInBytes','timeout\x20set\x20to\x20','\x20Error:\x20','caPath','toBuffer','isTransmissionEnsured','apiUrl','listBreakpointsAbortController','Timeout\x20occurred\x20after\x20','https-proxy-agent','info','145539leIOFS','waitToken','floor','warn','HttpsProxyAgent','number','username','Successfully\x20sent\x20log\x20file\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','failed\x20to\x20serialize\x20breakpoint\x20',',\x20sending\x20only\x20one','Update\x20for\x20breakpoints\x20','readFileSync',',\x20username:\x20','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','abort','sendAgentLogsToServer','4424022FIapka','listBreakpoints','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','transmissionTimeout','Using\x20proxy\x20configuration:\x20','listBreakpointsAsync','js-yaml','getJsonStringSizeInBytes'];a6_0x29ef=function(){return _0x384e6d;};return a6_0x29ef();}const a6_0x2e1ca1=(function(){let _0x35cd0b=!![];return function(_0x5cdd66,_0x3032c9){const _0x384256=_0x35cd0b?function(){if(_0x3032c9){const _0x368029=_0x3032c9['apply'](_0x5cdd66,arguments);return _0x3032c9=null,_0x368029;}}:function(){};return _0x35cd0b=![],_0x384256;};}()),a6_0x21c270=a6_0x2e1ca1(this,function(){const _0x594876=a6_0x540c;return a6_0x21c270[_0x594876(0x167)]()[_0x594876(0x19b)]('(((.+)+)+)+$')['toString']()[_0x594876(0x1f6)](a6_0x21c270)[_0x594876(0x19b)](_0x594876(0x1e5));});a6_0x21c270();'use strict';Object[a6_0x348526(0x1ed)](exports,a6_0x348526(0x1e2),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0x348526(0x170)),assert=require('assert'),qs=require(a6_0x348526(0x1ee)),fs_1=require('fs'),crypto_1=require(a6_0x348526(0x1ab)),zlib_1=require(a6_0x348526(0x15a)),stream_1=require(a6_0x348526(0x151)),memory_streams_1=require(a6_0x348526(0x187)),tls_1=require('tls'),extend=require('extend'),axios_1=require('axios'),https=require(a6_0x348526(0x1f0)),utils_1=require(a6_0x348526(0x179)),serverless_1=require('./serverless'),https_proxy_agent_1=require(a6_0x348526(0x1bd)),yaml=require(a6_0x348526(0x1d6)),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_0x348526(0x1b2)]{constructor(_0x39b117,_0x51ef65,_0x1ed5bd){const _0x4129ae=a6_0x348526;super({'parent':_0x39b117,'baseUrl':_0x4129ae(0x18f)}),this[_0x4129ae(0x1a6)]=null,this[_0x4129ae(0x156)]=_0x51ef65,this[_0x4129ae(0x181)]=[],this[_0x4129ae(0x18c)]=_0x1ed5bd,this[_0x4129ae(0x1ba)]='https://'+_0x51ef65['apiEndpoint']+_0x4129ae(0x16d),this[_0x4129ae(0x1f8)]=axios_1[_0x4129ae(0x178)][_0x4129ae(0x18a)]({'httpsAgent':getProxyAgent(_0x51ef65,_0x1ed5bd)??new https['Agent'](getHttpsAgentOptions(_0x51ef65,_0x1ed5bd)),'proxy':![]});}[a6_0x348526(0x1a3)](_0x185aa8,_0x41fb75){const _0x1c8947=a6_0x348526,_0x29b817={'uri':this[_0x1c8947(0x1ba)]+_0x1c8947(0x1a3),'method':'POST','json':!![],'body':{'debuggee':_0x185aa8}};this['makeRequest'](_0x29b817,(_0x5840cf,_0x3ed4f3,_0x52894f)=>{const _0x40e5cf=_0x1c8947;if(!_0x52894f)_0x41fb75(_0x5840cf??new Error(_0x40e5cf(0x1af)));else{if(_0x5840cf){let _0x4c26fd=![];_0x52894f[_0x40e5cf(0x1f2)]===HTTP_UPGRADE_REQUIRED&&_0x3ed4f3&&(_0x3ed4f3['message']!==undefined&&(_0x5840cf['message']=_0x3ed4f3[_0x40e5cf(0x17a)]),_0x4c26fd=!![]),_0x41fb75(_0x5840cf,_0x3ed4f3,_0x4c26fd);}else{if(_0x52894f[_0x40e5cf(0x1f2)]!==HTTP_SUCCESS)_0x41fb75(new Error('unable\x20to\x20register,\x20status\x20'+_0x52894f['status']));else!_0x3ed4f3?.[_0x40e5cf(0x171)]?_0x41fb75(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x185aa8['id']=_0x3ed4f3[_0x40e5cf(0x171)]['id'],_0x41fb75(null,_0x3ed4f3));}}});}[a6_0x348526(0x1d1)](_0x539bc1,_0x3a8cd2,_0x10b64e){const _0x4cc277=a6_0x348526;assert(_0x539bc1['id'],_0x4cc277(0x1aa));const _0x1256f5={'successOnTimeout':!![]};this[_0x4cc277(0x1a6)]&&(_0x1256f5[_0x4cc277(0x1c0)]=this['nextWaitToken']);const _0xe36576=this[_0x4cc277(0x1ba)]+encodeURIComponent(_0x539bc1['id'])+'/breakpoints?'+qs[_0x4cc277(0x161)](_0x1256f5);this[_0x4cc277(0x154)]({'uri':_0xe36576,'json':!![]},(_0x2867a3,_0x597a83,_0x17fe2e)=>{const _0x10d0a0=_0x4cc277;if(!_0x17fe2e){_0x3a8cd2(_0x2867a3??new Error(_0x10d0a0(0x1af)));return;}else{if(!is2xx(_0x17fe2e[_0x10d0a0(0x1f2)])){_0x3a8cd2(new Error(_0x10d0a0(0x185)+_0x17fe2e[_0x10d0a0(0x1f2)]),undefined,_0x17fe2e);return;}else _0x597a83&&(this[_0x10d0a0(0x1a6)]=_0x597a83['nextWaitToken']),_0x3a8cd2(null,_0x597a83,_0x17fe2e);}},_0x10b64e,this[_0x4cc277(0x1bb)]=new AbortController());}async[a6_0x348526(0x1d5)](_0x2d465d,_0x2669e4){return new Promise((_0x414ade,_0x20dc8f)=>{const _0x4eba97=a6_0x540c;this[_0x4eba97(0x1d1)](_0x2d465d,(_0x5499db,_0x1057b8,_0xa4aa48)=>{_0x5499db?_0x20dc8f(_0x5499db):_0x414ade({'err':_0x5499db,'response':_0xa4aa48,'result':_0x1057b8});},_0x2669e4);});}[a6_0x348526(0x188)](_0x45358c,_0x2cc59f){const _0x4f76b3=a6_0x348526;assert(_0x45358c['id'],_0x4f76b3(0x1aa));try{const _0x32e772=JSON[_0x4f76b3(0x161)](_0x2cc59f),_0x399a54=(0x0,utils_1[_0x4f76b3(0x1d7)])(_0x32e772);if(_0x399a54>=this[_0x4f76b3(0x156)][_0x4f76b3(0x1b4)]){this[_0x4f76b3(0x18c)][_0x4f76b3(0x1c2)]('breakpointId:\x20'+_0x2cc59f['id']+_0x4f76b3(0x159)+_0x399a54+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x4f76b3(0x156)][_0x4f76b3(0x1b4)]);return;}this['transmissionQueue'][_0x4f76b3(0x152)]({'id':_0x2cc59f['id'],'serializedJson':_0x32e772,'number':0x0}),this[_0x4f76b3(0x1d3)]??(this['transmissionTimeout']=setTimeout(()=>this[_0x4f76b3(0x166)]['bind'](this)(_0x45358c['id']),0x0));}catch(_0xcb6c22){this[_0x4f76b3(0x18c)][_0x4f76b3(0x168)](_0x4f76b3(0x1c8)+_0x2cc59f['id']+_0x4f76b3(0x158),_0xcb6c22);return;}}['stop'](){const _0x37604e=a6_0x348526;this[_0x37604e(0x1bb)]?.[_0x37604e(0x1ce)](),this[_0x37604e(0x1bb)]=undefined;if(!this[_0x37604e(0x1d3)])return;clearTimeout(this['transmissionTimeout']),this[_0x37604e(0x1d3)]=null;}async[a6_0x348526(0x1e7)](_0x1f7639){const _0x597c16=a6_0x348526,_0x1a5001=Date[_0x597c16(0x172)](),_0x4b8747=0x1;while(Date['now']()-_0x1a5001<_0x1f7639){if(serverless_1[_0x597c16(0x1df)][_0x597c16(0x1e4)]()&&serverless_1[_0x597c16(0x1df)][_0x597c16(0x1b9)]()){this['logger']['debug']('another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now');return;}const _0x1942c5=this['transmissionQueue'][_0x597c16(0x199)]===0x0,_0x2afc87=!this['transmissionTimeout'],_0x37e7fd=!this['activeTransmission'];if(_0x1942c5&&_0x2afc87&&_0x37e7fd){this[_0x597c16(0x18c)][_0x597c16(0x17c)]('transmission\x20queue\x20is\x20empty');return;}this['activeTransmission']?(this[_0x597c16(0x18c)]['debug'](_0x597c16(0x180)),await Promise[_0x597c16(0x18d)]([this['activeTransmission'],(0x0,utils_1['waitFor'])(_0x4b8747)])):(this[_0x597c16(0x18c)][_0x597c16(0x17c)](_0x597c16(0x1cd)+_0x4b8747+'ms'),await(0x0,utils_1[_0x597c16(0x192)])(_0x4b8747));}throw new Error('Queue\x20drain\x20timeout\x20after\x20'+_0x1f7639+_0x597c16(0x186)+this[_0x597c16(0x181)][_0x597c16(0x199)]);}[a6_0x348526(0x197)](_0x124f15,_0x37fe9f){const _0x3001e6=a6_0x348526,_0x36cafb=this['apiUrl']+encodeURIComponent(_0x124f15['id'])+_0x3001e6(0x193),_0x641bb7={'uri':_0x36cafb,'method':_0x3001e6(0x1ef),'json':!![]};this[_0x3001e6(0x18c)][_0x3001e6(0x1be)](_0x3001e6(0x19f)),this[_0x3001e6(0x154)](_0x641bb7,(_0x41cfa3,_0x572c0f,_0x4ba288)=>{const _0x2ec008=_0x3001e6;(!_0x4ba288||Math[_0x2ec008(0x1c1)](_0x4ba288[_0x2ec008(0x1f2)]/0x64)!==0x2)&&this[_0x2ec008(0x18c)][_0x2ec008(0x1c2)](_0x2ec008(0x17f)+_0x41cfa3),_0x37fe9f(_0x41cfa3);});}[a6_0x348526(0x1a1)](_0x269313,_0x51cc7d,_0x43f0f1){const _0x39a5b2=a6_0x348526,_0x4e3d56=this[_0x39a5b2(0x1ba)]+encodeURIComponent(_0x269313['id'])+_0x39a5b2(0x189),_0x4f01d8={'uri':_0x4e3d56,'method':'POST','json':!![],'body':_0x51cc7d};this[_0x39a5b2(0x154)](_0x4f01d8,(_0x44a5ed,_0x22f793,_0xae17dc)=>{const _0x382a7f=_0x39a5b2;(!_0xae17dc||Math[_0x382a7f(0x1c1)](_0xae17dc['status']/0x64)!==0x2)&&(this[_0x382a7f(0x18c)]['warn']('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x44a5ed),_0x43f0f1(_0x44a5ed));});}[a6_0x348526(0x182)](_0x30dc26,_0x591a94,_0x20ca56){const _0x195aaf=a6_0x348526,_0x24494f=this[_0x195aaf(0x1ba)]+encodeURIComponent(_0x30dc26['id'])+'/appOnlyActionHits/',_0x5f3ce3={'uri':_0x24494f,'method':_0x195aaf(0x1ef),'json':!![],'body':_0x591a94};this[_0x195aaf(0x154)](_0x5f3ce3,(_0x415b52,_0x4106e8,_0x31e6d6)=>{const _0xb5245d=_0x195aaf;(!_0x31e6d6||Math[_0xb5245d(0x1c1)](_0x31e6d6[_0xb5245d(0x1f2)]/0x64)!==0x2)&&(this[_0xb5245d(0x18c)]['warn'](_0xb5245d(0x175)+_0x415b52),_0x20ca56(_0x415b52));});}[a6_0x348526(0x1cf)](_0x35c190,_0x20e59a,_0x18b593){const _0x277bc1=a6_0x348526;assert(_0x35c190['id'],_0x277bc1(0x1aa));if(this[_0x277bc1(0x1a0)]){const _0x3714e2=Date[_0x277bc1(0x172)](),_0x448358=this[_0x277bc1(0x1a0)]+this[_0x277bc1(0x156)][_0x277bc1(0x1a8)][_0x277bc1(0x1eb)];if(_0x3714e2<_0x448358){this[_0x277bc1(0x18c)][_0x277bc1(0x1be)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+(_0x448358-_0x3714e2)/0x3e8+_0x277bc1(0x19d));return;}}const _0x4e3c7d=(0x0,fs_1['statSync'])(_0x18b593)[_0x277bc1(0x15f)],_0x5054fe=Math[_0x277bc1(0x17d)](0x0,_0x4e3c7d-this[_0x277bc1(0x156)]['agentLog'][_0x277bc1(0x173)]),_0x2af106=(0x0,fs_1[_0x277bc1(0x169)])(_0x18b593,{'start':_0x5054fe}),_0x109fa6=(0x0,zlib_1[_0x277bc1(0x157)])(),_0x5ad5a3=new memory_streams_1[(_0x277bc1(0x19a))]();this[_0x277bc1(0x18c)]['info'](_0x277bc1(0x183)+_0x18b593+_0x277bc1(0x15b)+_0x20e59a),(0x0,stream_1[_0x277bc1(0x155)])(_0x2af106,_0x109fa6,_0x5ad5a3,_0x53d940=>{const _0x3486c7=_0x277bc1;if(_0x53d940)this[_0x3486c7(0x18c)][_0x3486c7(0x168)](_0x3486c7(0x1ac)+_0x18b593+':\x20'+_0x53d940);else{const _0x43cec1={'uri':this[_0x3486c7(0x1ba)]+encodeURIComponent(_0x35c190['id'])+'/compressedLogFileV2/'+_0x20e59a,'method':'PUT','body':_0x5ad5a3[_0x3486c7(0x1b8)](),'headers':{'Content-Type':'application/octet-stream'}};this[_0x3486c7(0x154)](_0x43cec1,_0x152281=>{const _0x184c1e=_0x3486c7;_0x152281?this['logger'][_0x184c1e(0x168)](_0x184c1e(0x17e)+_0x18b593+_0x184c1e(0x14f)+_0x20e59a,_0x152281):(this[_0x184c1e(0x18c)]['info'](_0x184c1e(0x1c6)+_0x18b593+_0x184c1e(0x14f)+_0x20e59a),this[_0x184c1e(0x1a0)]=Date[_0x184c1e(0x172)]());});}});}[a6_0x348526(0x166)](_0x1dba06){const _0x275627=a6_0x348526;this[_0x275627(0x18c)][_0x275627(0x17c)](_0x275627(0x1a4)),this[_0x275627(0x1d3)]=undefined;const _0x2fe844=[];let _0x278f97=0x0;while(_0x2fe844[_0x275627(0x199)]<this['config']['transmissionBulkMaxSize']&&this['transmissionQueue'][_0x275627(0x199)]>0x0){const [_0x57ab15]=this[_0x275627(0x181)],_0x16f5ab=_0x57ab15[_0x275627(0x153)],_0x5efd9a=(0x0,utils_1[_0x275627(0x1d7)])(_0x16f5ab);_0x278f97+=_0x5efd9a;if(_0x278f97<=this['config']['transmissionBulkMaxNetworkSizeInBytes'])_0x2fe844['push'](_0x57ab15),this['transmissionQueue'][_0x275627(0x1f4)]();else{_0x5efd9a>this[_0x275627(0x156)][_0x275627(0x1b0)]&&_0x2fe844[_0x275627(0x199)]===0x0&&(this[_0x275627(0x18c)][_0x275627(0x17c)]('breakpoint\x20'+_0x57ab15['id']+_0x275627(0x19c)+this[_0x275627(0x156)][_0x275627(0x1b0)]+_0x275627(0x1c9)),_0x2fe844['push'](_0x57ab15),this[_0x275627(0x181)]['shift']());break;}}if(!_0x2fe844)return;const _0xe8a0c2=_0x2fe844[_0x275627(0x165)](_0x2849bb=>_0x2849bb['id']),_0x12e66c={'uri':this[_0x275627(0x1ba)]+encodeURIComponent(_0x1dba06)+'/breakpoints','json':!![],'method':_0x275627(0x16b),'body':'['+_0x2fe844[_0x275627(0x165)](_0x79fff1=>_0x79fff1[_0x275627(0x153)])[_0x275627(0x1ea)](',')+']'};try{this[_0x275627(0x18e)]=this[_0x275627(0x154)](_0x12e66c,(_0x45738f,_0xa1ebbd,_0x189f52)=>{const _0x2cc4ce=_0x275627,_0x5e0140=_0x189f52?.['status'];this[_0x2cc4ce(0x18c)][_0x2cc4ce(0x17c)](_0x2cc4ce(0x1ca)+_0xe8a0c2+'\x20finished\x20with\x20status\x20'+_0x5e0140);if(_0x45738f||!_0x5e0140||Math[_0x2cc4ce(0x1c1)](_0x5e0140/0x64)!==0x2){const _0x2355f7=_0x5e0140&&(_0x5e0140>=0x1f4||_0x5e0140===0x198);if(_0x2355f7){this[_0x2cc4ce(0x18c)]['warn'](_0x2cc4ce(0x15e)+_0xe8a0c2+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x5e0140+_0x2cc4ce(0x1b6)+_0x45738f);for(const _0x3f3d38 of _0x2fe844){_0x3f3d38[_0x2cc4ce(0x1c4)]<MAX_FAILED_SEND_ATTEMPTS?this[_0x2cc4ce(0x181)]['push']({..._0x3f3d38,'number':_0x3f3d38['number']+0x1}):this[_0x2cc4ce(0x18c)]['warn'](_0x2cc4ce(0x16f)+_0x3f3d38['id']+_0x2cc4ce(0x1d2));}}else this[_0x2cc4ce(0x18c)][_0x2cc4ce(0x1c2)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0xe8a0c2+_0x2cc4ce(0x19e)+_0x5e0140+_0x2cc4ce(0x1b6)+_0x45738f);}else this[_0x2cc4ce(0x18c)][_0x2cc4ce(0x1be)](_0x2cc4ce(0x1ca)+_0xe8a0c2+_0x2cc4ce(0x1d9));this['transmissionQueue'][_0x2cc4ce(0x199)]>0x0&&(this[_0x2cc4ce(0x1d3)]=setTimeout(()=>this[_0x2cc4ce(0x166)][_0x2cc4ce(0x190)](this)(_0x1dba06),0x0));},0x28)[_0x275627(0x1dd)](()=>{const _0x3578dc=_0x275627;this[_0x3578dc(0x18e)]=undefined;});}catch(_0x265c0f){this['logger'][_0x275627(0x1c2)](_0x275627(0x18b)+_0xe8a0c2+_0x275627(0x1a2)+_0x265c0f+_0x275627(0x194)+_0x265c0f[_0x275627(0x17b)]?.[_0x275627(0x17a)]),this[_0x275627(0x181)][_0x275627(0x199)]>0x0&&(this[_0x275627(0x1d3)]=setTimeout(()=>this[_0x275627(0x166)][_0x275627(0x190)](this)(_0x1dba06),0x0)),this[_0x275627(0x18e)]=undefined;}}async[a6_0x348526(0x160)](_0x97f6ca){const _0xf38476=a6_0x348526;this[_0xf38476(0x18c)][_0xf38476(0x1be)](_0xf38476(0x1e1));const _0x360b67=this[_0xf38476(0x1ba)]+encodeURIComponent(_0x97f6ca)+_0xf38476(0x1da),{error:_0x4f846f,data:_0x5ee8b7}=await this[_0xf38476(0x154)]({'uri':_0x360b67,'json':!![]});if(_0x4f846f)return Promise[_0xf38476(0x15c)](_0x4f846f);return yaml['load'](_0x5ee8b7)??{};}[a6_0x348526(0x154)](_0x2c50b4,_0x3e3473,_0x31b5bc,_0x202f65,_0x29ff6b){const _0x1e889a=a6_0x348526,_0xb4a3b={'Content-Type':_0x29ff6b??_0x1e889a(0x1f1),'Authorization':_0x1e889a(0x1e6)+this[_0x1e889a(0x156)][_0x1e889a(0x16e)]},_0x5d87b9=_0x202f65??new AbortController(),_0x276477=_0x31b5bc?_0x31b5bc*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x1e889a(0x18c)][_0x1e889a(0x17c)](_0x1e889a(0x1b5)+_0x276477);const _0x4696cd=setTimeout(()=>{const _0x31d028=_0x1e889a;this[_0x31d028(0x18c)]['warn'](_0x31d028(0x1bc)+_0x276477+'ms'),_0x5d87b9[_0x31d028(0x1ce)]();},_0x276477),_0x27c80f={'method':_0x2c50b4[_0x1e889a(0x1ec)],'url':_0x2c50b4[_0x1e889a(0x1f7)],'data':_0x2c50b4['body'],'headers':_0xb4a3b,'signal':_0x5d87b9[_0x1e889a(0x1f3)]};return extend(!![],_0x27c80f,_0x2c50b4),this[_0x1e889a(0x1f8)]['request'](_0x27c80f)[_0x1e889a(0x1db)](_0xc417e9=>{const _0x5392e8=_0x1e889a;return _0x3e3473?.(null,_0xc417e9[_0x5392e8(0x17b)],_0xc417e9),{'error':null,'data':_0xc417e9['data'],'res':_0xc417e9};})[_0x1e889a(0x1e0)](_0xfb162e=>{const _0x1aa101=_0x1e889a;return _0x3e3473?.(_0xfb162e,_0xfb162e[_0x1aa101(0x176)]?.['data'],_0xfb162e[_0x1aa101(0x176)]),{'error':_0xfb162e,'data':_0xfb162e[_0x1aa101(0x176)]?.[_0x1aa101(0x17b)],'res':_0xfb162e[_0x1aa101(0x176)]};})[_0x1e889a(0x1dd)](()=>clearTimeout(_0x4696cd));}async[a6_0x348526(0x1e9)](_0x27356c){const _0x5d56d7=a6_0x348526;this[_0x5d56d7(0x18c)]['info'](_0x5d56d7(0x1dc));const _0x54a785=this[_0x5d56d7(0x1ba)]+encodeURIComponent(_0x27356c)+_0x5d56d7(0x1e8),{error:_0x2b5853,data:_0x2ef80}=await this[_0x5d56d7(0x154)]({'uri':_0x54a785,'json':!![]});if(_0x2b5853)return Promise[_0x5d56d7(0x15c)](_0x2b5853);return _0x2ef80;}}exports['Controller']=Controller;function is2xx(_0x102b86){const _0x17a96e=a6_0x348526;return Math[_0x17a96e(0x1c1)](_0x102b86/0x64)===0x2;}function getProxyAgent(_0x506dde,_0x1742cc){const _0x5f4d53=a6_0x348526,{proxy:_0x3350a6}=_0x506dde;if(!_0x3350a6?.[_0x5f4d53(0x1d8)])return undefined;if(!_0x3350a6[_0x5f4d53(0x191)])return _0x1742cc[_0x5f4d53(0x168)](_0x5f4d53(0x1c7)),undefined;_0x1742cc['info'](_0x5f4d53(0x1d4)+_0x3350a6[_0x5f4d53(0x1d8)]+':'+_0x3350a6['port']+_0x5f4d53(0x1cc)+(_0x3350a6[_0x5f4d53(0x1c5)]??''));const _0x9721a4=new URL('http://'+_0x3350a6['host']);_0x9721a4[_0x5f4d53(0x191)]=String(_0x3350a6[_0x5f4d53(0x191)]);_0x3350a6[_0x5f4d53(0x1c5)]&&(_0x9721a4['username']=_0x3350a6[_0x5f4d53(0x1c5)]);_0x3350a6[_0x5f4d53(0x1b3)]&&(_0x9721a4[_0x5f4d53(0x1b3)]=_0x3350a6[_0x5f4d53(0x1b3)]);const _0x3e2562=new https_proxy_agent_1[(_0x5f4d53(0x1c3))](_0x9721a4),_0x22376c=getHttpsAgentOptions(_0x506dde,_0x1742cc),_0xa78915=_0x3e2562[_0x5f4d53(0x15d)][_0x5f4d53(0x190)](_0x3e2562);return _0x3e2562[_0x5f4d53(0x15d)]=(_0x45f269,_0x1ba684)=>_0xa78915(_0x45f269,{..._0x1ba684,..._0x22376c}),_0x3e2562;}function getHttpsAgentOptions(_0x563a45,_0x14b7e0){const _0x1dff45=a6_0x348526,_0x127371={'checkServerIdentity':(_0x7892c,_0x1b7170)=>{const _0x135d3e=a6_0x540c;if(_0x563a45['noCheckCertificate'])return undefined;const _0x39a107=(0x0,crypto_1[_0x135d3e(0x184)])(_0x135d3e(0x1f5))[_0x135d3e(0x16c)](_0x1b7170[_0x135d3e(0x16a)])['digest']('hex');return _0x563a45[_0x135d3e(0x1e3)][_0x135d3e(0x1a7)](_0x39a107)?undefined:new Error(_0x135d3e(0x164));}};let _0x5c37a1;if(_0x563a45[_0x1dff45(0x1b7)])try{_0x5c37a1=(0x0,fs_1[_0x1dff45(0x1cb)])(_0x563a45[_0x1dff45(0x1b7)],_0x1dff45(0x1ae));}catch{_0x14b7e0[_0x1dff45(0x1c2)](_0x1dff45(0x198)+_0x563a45[_0x1dff45(0x1b7)]+_0x1dff45(0x195));}if(_0x5c37a1){const _0x3721e2=(0x0,tls_1[_0x1dff45(0x162)])(_0x127371);_0x3721e2[_0x1dff45(0x163)][_0x1dff45(0x150)](_0x5c37a1),_0x127371[_0x1dff45(0x1b1)]=_0x3721e2;}return _0x127371;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x5e5d07=a7_0x3113;function a7_0x3113(_0x17e9d6,_0x2837ad){const _0x1bd695=a7_0x3d28();return a7_0x3113=function(_0x171649,_0x3e344a){_0x171649=_0x171649-0x14f;let _0x3d28a2=_0x1bd695[_0x171649];return _0x3d28a2;},a7_0x3113(_0x17e9d6,_0x2837ad);}(function(_0x318ed9,_0x458bfd){const _0x481596=a7_0x3113,_0x33d67b=_0x318ed9();while(!![]){try{const _0x5977fe=-parseInt(_0x481596(0x16f))/0x1+parseInt(_0x481596(0x177))/0x2*(-parseInt(_0x481596(0x174))/0x3)+-parseInt(_0x481596(0x15e))/0x4*(parseInt(_0x481596(0x166))/0x5)+-parseInt(_0x481596(0x16c))/0x6*(parseInt(_0x481596(0x155))/0x7)+-parseInt(_0x481596(0x153))/0x8*(-parseInt(_0x481596(0x15a))/0x9)+-parseInt(_0x481596(0x152))/0xa+parseInt(_0x481596(0x164))/0xb;if(_0x5977fe===_0x458bfd)break;else _0x33d67b['push'](_0x33d67b['shift']());}catch(_0x50f30a){_0x33d67b['push'](_0x33d67b['shift']());}}}(a7_0x3d28,0xad45e));const a7_0x3e344a=(function(){let _0x455714=!![];return function(_0xddef0b,_0xbfdcd8){const _0x36002a=_0x455714?function(){const _0x2f8fac=a7_0x3113;if(_0xbfdcd8){const _0x46619c=_0xbfdcd8[_0x2f8fac(0x163)](_0xddef0b,arguments);return _0xbfdcd8=null,_0x46619c;}}:function(){};return _0x455714=![],_0x36002a;};}()),a7_0x171649=a7_0x3e344a(this,function(){const _0x4254df=a7_0x3113;return a7_0x171649[_0x4254df(0x154)]()['search'](_0x4254df(0x15c))['toString']()[_0x4254df(0x178)](a7_0x171649)[_0x4254df(0x170)](_0x4254df(0x15c));});a7_0x171649();'use strict';Object['defineProperty'](exports,a7_0x5e5d07(0x159),{'value':!![]}),exports[a7_0x5e5d07(0x168)]=exports[a7_0x5e5d07(0x173)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x5e5d07(0x15f)),debuggee_1=require(a7_0x5e5d07(0x176)),createDebuggeeMetadata_1=require(a7_0x5e5d07(0x157)),createUniquifier_1=require(a7_0x5e5d07(0x14f)),getPlatform_1=require('./getPlatform'),encodeBase64=_0x36408a=>Buffer['from'](_0x36408a,a7_0x5e5d07(0x158))[a7_0x5e5d07(0x154)](a7_0x5e5d07(0x15b));function a7_0x3d28(){const _0x15dd77=['search','minorVersion_','getPlatform','encodeBase64','221574gIqXdO','version','../../debuggee','26LDOYxa','constructor','versions','internal','./createUniquifier','default','service','5343940jNCJWf','728488VYniSX','toString','91FZkMyR','stringify','./createDebuggeeMetadata','utf-8','__esModule','135eSfDDr','base64','(((.+)+)+)+$','StatusMessage','156OrLteE','../../client/stackdriver/status-message','node','title','cwd','apply','34456455ZOOpVc','Debuggee','22205gvWVcN','createUniquifier','createDebuggee','sourceContexts','isLambda','string','627618XYcbWV','minorversion','module','761008TPDNZO'];a7_0x3d28=function(){return _0x15dd77;};return a7_0x3d28();}exports[a7_0x5e5d07(0x173)]=encodeBase64;const createDebuggee=(_0x3536f5,_0x2e1842,_0x488756,_0x2e3d95,_0x1bf70b,_0x513a72,_0x3f9c15,_0x3b8570)=>{const _0x71bf9e=a7_0x5e5d07,_0x19f214=process[_0x71bf9e(0x162)](),_0x33db7f=path['relative'](_0x19f214,process['argv'][0x1]),_0x3f3a91={'main\x20script':_0x33db7f,'process.title':process[_0x71bf9e(0x161)],'node\x20version':process[_0x71bf9e(0x179)][_0x71bf9e(0x160)],'V8\x20version':process[_0x71bf9e(0x179)]['v8'],'agent.name':_0x2e3d95['name'],'agent.version':_0x1bf70b,'platform':(0x0,getPlatform_1[_0x71bf9e(0x172)])()},{serviceContext:_0x4d72d0}=_0x2e1842;_0x4d72d0&&(typeof _0x4d72d0[_0x71bf9e(0x151)]===_0x71bf9e(0x16b)&&_0x4d72d0[_0x71bf9e(0x151)]!==_0x71bf9e(0x150)&&(_0x3f3a91[_0x71bf9e(0x16e)]=_0x4d72d0[_0x71bf9e(0x151)]),typeof _0x4d72d0['version']===_0x71bf9e(0x16b)&&(_0x3f3a91[_0x71bf9e(0x175)]=_0x4d72d0[_0x71bf9e(0x175)]),typeof _0x4d72d0[_0x71bf9e(0x171)]===_0x71bf9e(0x16b)&&(_0x3f3a91[_0x71bf9e(0x16d)]=_0x4d72d0[_0x71bf9e(0x171)]));const _0x5e25e4=(0x0,createUniquifier_1[_0x71bf9e(0x167)])(_0x1bf70b,_0x3536f5,_0x488756,_0x3f3a91),_0x32ff42=_0x3b8570?new status_message_1[(_0x71bf9e(0x15d))](status_message_1[_0x71bf9e(0x15d)]['UNSPECIFIED'],_0x3b8570,!![]):undefined,_0x811c82=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x2e1842,_0x513a72),_0x4d710a={'uniquifier':_0x5e25e4,'agentVersion':_0x1bf70b,'labels':{'metadataV2':(0x0,exports[_0x71bf9e(0x173)])(JSON[_0x71bf9e(0x156)](_0x811c82))},'statusMessage':_0x32ff42,'packageInfo':_0x2e3d95,..._0x3f9c15,'isInLambda':_0x2e1842[_0x71bf9e(0x17a)]?.[_0x71bf9e(0x16a)]};return _0x488756&&(_0x4d710a[_0x71bf9e(0x169)]=[_0x488756]),new debuggee_1[(_0x71bf9e(0x165))](_0x4d710a);};exports['createDebuggee']=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0xdd8d7c=a8_0x2dbe;function a8_0x2dbe(_0x29cfc9,_0x1d9a76){const _0x2b80ac=a8_0x424b();return a8_0x2dbe=function(_0x340c9c,_0xc6fd42){_0x340c9c=_0x340c9c-0x131;let _0x424b7f=_0x2b80ac[_0x340c9c];return _0x424b7f;},a8_0x2dbe(_0x29cfc9,_0x1d9a76);}(function(_0x3e2492,_0x1968e8){const _0x541965=a8_0x2dbe,_0x5bff9f=_0x3e2492();while(!![]){try{const _0x3a8bbb=-parseInt(_0x541965(0x138))/0x1+-parseInt(_0x541965(0x140))/0x2+-parseInt(_0x541965(0x13d))/0x3*(-parseInt(_0x541965(0x13e))/0x4)+parseInt(_0x541965(0x13b))/0x5*(-parseInt(_0x541965(0x149))/0x6)+parseInt(_0x541965(0x146))/0x7+parseInt(_0x541965(0x144))/0x8+parseInt(_0x541965(0x143))/0x9;if(_0x3a8bbb===_0x1968e8)break;else _0x5bff9f['push'](_0x5bff9f['shift']());}catch(_0x4d7c16){_0x5bff9f['push'](_0x5bff9f['shift']());}}}(a8_0x424b,0xba511));const a8_0xc6fd42=(function(){let _0x1f40ff=!![];return function(_0x1ca376,_0x4860db){const _0x294814=_0x1f40ff?function(){if(_0x4860db){const _0x473040=_0x4860db['apply'](_0x1ca376,arguments);return _0x4860db=null,_0x473040;}}:function(){};return _0x1f40ff=![],_0x294814;};}()),a8_0x340c9c=a8_0xc6fd42(this,function(){const _0x4fa1d9=a8_0x2dbe;return a8_0x340c9c[_0x4fa1d9(0x135)]()[_0x4fa1d9(0x133)](_0x4fa1d9(0x13c))[_0x4fa1d9(0x135)]()[_0x4fa1d9(0x134)](a8_0x340c9c)[_0x4fa1d9(0x133)](_0x4fa1d9(0x13c));});a8_0x340c9c();'use strict';Object[a8_0xdd8d7c(0x13f)](exports,'__esModule',{'value':!![]}),exports[a8_0xdd8d7c(0x131)]=void 0x0;const fs=require('fs'),extend=require(a8_0xdd8d7c(0x148)),createDebuggeeMetadata=(_0x2aae32,_0x4ab67f)=>{const _0x4df643=a8_0xdd8d7c;let _0x2b1ecc={'registration':{}};if(_0x2aae32[_0x4df643(0x145)]?.['filename'])try{_0x2b1ecc=JSON[_0x4df643(0x132)](fs[_0x4df643(0x147)](_0x2aae32[_0x4df643(0x145)]['filename'],'utf-8'));}catch(_0x579710){_0x4ab67f[_0x4df643(0x137)](_0x4df643(0x136)+_0x2aae32[_0x4df643(0x145)][_0x4df643(0x13a)],_0x579710);}return _0x2b1ecc[_0x4df643(0x139)]=extend(!![],{},_0x2aae32[_0x4df643(0x145)]?.[_0x4df643(0x139)],_0x2b1ecc[_0x4df643(0x139)]),_0x2b1ecc[_0x4df643(0x139)]?.['tags']&&(_0x2b1ecc[_0x4df643(0x139)][_0x4df643(0x142)]=_0x2b1ecc[_0x4df643(0x139)][_0x4df643(0x142)]['map'](_0x5e91fb=>typeof _0x5e91fb===_0x4df643(0x141)?{'name':_0x5e91fb}:_0x5e91fb)),_0x2b1ecc;};function a8_0x424b(){const _0x97418a=['563934pIxWhy','registration','filename','24785nFBMFD','(((.+)+)+)+$','3KOSeLo','1385196IWuJpf','defineProperty','2060662hYhVjh','string','tags','16219350AuTKzw','6509840vcjQis','metadata','2879968jWcwvy','readFileSync','extend','1230niTOCw','createDebuggeeMetadata','parse','search','constructor','toString','Failed\x20to\x20read\x20metadata\x20file\x20','warn'];a8_0x424b=function(){return _0x97418a;};return a8_0x424b();}exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0xfabf73=a9_0x2ce9;(function(_0x2f8fb0,_0x15fa10){const _0x27480e=a9_0x2ce9,_0x20215f=_0x2f8fb0();while(!![]){try{const _0x5260f1=-parseInt(_0x27480e(0x1d8))/0x1*(-parseInt(_0x27480e(0x1cb))/0x2)+-parseInt(_0x27480e(0x1ca))/0x3*(parseInt(_0x27480e(0x1cc))/0x4)+-parseInt(_0x27480e(0x1c5))/0x5+parseInt(_0x27480e(0x1c6))/0x6+-parseInt(_0x27480e(0x1c4))/0x7+parseInt(_0x27480e(0x1d2))/0x8+parseInt(_0x27480e(0x1d0))/0x9;if(_0x5260f1===_0x15fa10)break;else _0x20215f['push'](_0x20215f['shift']());}catch(_0x2b65f3){_0x20215f['push'](_0x20215f['shift']());}}}(a9_0x448b,0xe3098));const a9_0xec4f4=(function(){let _0x317528=!![];return function(_0x5c581d,_0x128453){const _0x52e60d=_0x317528?function(){const _0x3a1d64=a9_0x2ce9;if(_0x128453){const _0x4cda04=_0x128453[_0x3a1d64(0x1c8)](_0x5c581d,arguments);return _0x128453=null,_0x4cda04;}}:function(){};return _0x317528=![],_0x52e60d;};}()),a9_0x464836=a9_0xec4f4(this,function(){const _0x251a41=a9_0x2ce9;return a9_0x464836[_0x251a41(0x1c9)]()[_0x251a41(0x1d6)](_0x251a41(0x1d7))['toString']()[_0x251a41(0x1d3)](a9_0x464836)[_0x251a41(0x1d6)](_0x251a41(0x1d7));});a9_0x464836();function a9_0x2ce9(_0x33ce6f,_0x3d5802){const _0x2ac144=a9_0x448b();return a9_0x2ce9=function(_0x464836,_0xec4f4){_0x464836=_0x464836-0x1c4;let _0x448b40=_0x2ac144[_0x464836];return _0x448b40;},a9_0x2ce9(_0x33ce6f,_0x3d5802);}function a9_0x448b(){const _0x49c03c=['stringify','__esModule','search','(((.+)+)+)+$','3WJhpBq','8151836XupgzW','473985IOHuzq','5737014qXsUwB','crypto','apply','toString','21jbkmcN','724926XxJKqv','551376zvXxXg','createUniquifier','defineProperty','createHash','4597137ZybQIS','sha1','4798768ehrGNI','constructor'];a9_0x448b=function(){return _0x49c03c;};return a9_0x448b();}'use strict';Object[a9_0xfabf73(0x1ce)](exports,a9_0xfabf73(0x1d5),{'value':!![]}),exports[a9_0xfabf73(0x1cd)]=void 0x0;const crypto=require(a9_0xfabf73(0x1c7)),createUniquifier=(_0x3f346d,_0x54a670,_0xd031f6,_0x39a9b9)=>{const _0x532f32=a9_0xfabf73,_0x566e8f=_0x3f346d+_0x54a670+JSON[_0x532f32(0x1d4)](_0xd031f6)+JSON[_0x532f32(0x1d4)](_0x39a9b9);return crypto[_0x532f32(0x1cf)](_0x532f32(0x1d1))['update'](_0x566e8f)['digest']('hex');};exports[a9_0xfabf73(0x1cd)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x88a690=a10_0x5063;(function(_0x4d5e2c,_0x3ec796){const _0x375d00=a10_0x5063,_0x56e125=_0x4d5e2c();while(!![]){try{const _0x48de81=parseInt(_0x375d00(0xb2))/0x1*(-parseInt(_0x375d00(0xba))/0x2)+parseInt(_0x375d00(0xc0))/0x3*(parseInt(_0x375d00(0xc2))/0x4)+parseInt(_0x375d00(0xac))/0x5+parseInt(_0x375d00(0xb1))/0x6*(-parseInt(_0x375d00(0xb6))/0x7)+parseInt(_0x375d00(0xae))/0x8+-parseInt(_0x375d00(0xbd))/0x9*(-parseInt(_0x375d00(0xb3))/0xa)+parseInt(_0x375d00(0xb8))/0xb*(-parseInt(_0x375d00(0xb0))/0xc);if(_0x48de81===_0x3ec796)break;else _0x56e125['push'](_0x56e125['shift']());}catch(_0x146984){_0x56e125['push'](_0x56e125['shift']());}}}(a10_0x56da,0x6f2c7));const a10_0x57113e=(function(){let _0x24ee1c=!![];return function(_0x4b0d96,_0x5a0b83){const _0x158521=_0x24ee1c?function(){const _0x1eea5d=a10_0x5063;if(_0x5a0b83){const _0x281ce2=_0x5a0b83[_0x1eea5d(0xbf)](_0x4b0d96,arguments);return _0x5a0b83=null,_0x281ce2;}}:function(){};return _0x24ee1c=![],_0x158521;};}()),a10_0x35cba0=a10_0x57113e(this,function(){const _0x5f0fcc=a10_0x5063;return a10_0x35cba0[_0x5f0fcc(0xbc)]()[_0x5f0fcc(0xbb)](_0x5f0fcc(0xad))[_0x5f0fcc(0xbc)]()[_0x5f0fcc(0xbe)](a10_0x35cba0)['search'](_0x5f0fcc(0xad));});a10_0x35cba0();'use strict';Object[a10_0x88a690(0xb4)](exports,a10_0x88a690(0xc1),{'value':!![]}),exports[a10_0x88a690(0xb7)]=void 0x0;const delimit=(_0x4801ca,_0x389ac6)=>{const _0x4f68a1=a10_0x88a690,_0x5974cf=_0x4801ca[_0x4f68a1(0xaf)](_0x389ac6),_0x265d40=[];_0x265d40[_0x4f68a1(0xb5)](_0x5974cf[0x0]);for(let _0x313965=0x1;_0x313965<_0x5974cf[_0x4f68a1(0xb9)];_0x313965++){_0x265d40[_0x4f68a1(0xb5)]({'v':_0x389ac6},_0x5974cf[_0x313965]);}return _0x265d40;};function a10_0x5063(_0x3c0a83,_0x3cb0e9){const _0x116705=a10_0x56da();return a10_0x5063=function(_0x35cba0,_0x57113e){_0x35cba0=_0x35cba0-0xac;let _0x56da50=_0x116705[_0x35cba0];return _0x56da50;},a10_0x5063(_0x3c0a83,_0x3cb0e9);}function a10_0x56da(){const _0x45f17e=['72CqoDdO','search','toString','27BtHBuD','constructor','apply','10698PSRyTq','__esModule','200MTXXxD','2674470EemkFC','(((.+)+)+)+$','4234424gvjCGl','split','30552mPOBTZ','6MNYKdG','11202USsvWT','2930610BfNovl','defineProperty','push','215439IXnTqB','delimit','5324ENQHIJ','length'];a10_0x56da=function(){return _0x45f17e;};return a10_0x56da();}exports[a10_0x88a690(0xb7)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x449497=a11_0x5b7f;function a11_0x4353(){const _0x15ee50=['1319000rAzUwN','101435SYfZVT','2511054XmnDoI','2mrhAAY','705468jlGxOu','constructor','107634qJOVWF','(((.+)+)+)+$','length','toString','68yNfdFF','5266811ZFTatW','__esModule','format','12AAyOPW','./tokenize','defineProperty','10sTYumf','1128043nDtucP'];a11_0x4353=function(){return _0x15ee50;};return a11_0x4353();}function a11_0x5b7f(_0x2e2d75,_0x451ff8){const _0x3581d7=a11_0x4353();return a11_0x5b7f=function(_0x51531f,_0x14fd2c){_0x51531f=_0x51531f-0x74;let _0x43530d=_0x3581d7[_0x51531f];return _0x43530d;},a11_0x5b7f(_0x2e2d75,_0x451ff8);}(function(_0x135338,_0x5b7426){const _0x2d871c=a11_0x5b7f,_0x32ca19=_0x135338();while(!![]){try{const _0x5b8565=parseInt(_0x2d871c(0x7f))/0x1*(-parseInt(_0x2d871c(0x7c))/0x2)+parseInt(_0x2d871c(0x7d))/0x3+parseInt(_0x2d871c(0x83))/0x4*(parseInt(_0x2d871c(0x7a))/0x5)+-parseInt(_0x2d871c(0x74))/0x6*(-parseInt(_0x2d871c(0x78))/0x7)+parseInt(_0x2d871c(0x79))/0x8+-parseInt(_0x2d871c(0x7b))/0x9+parseInt(_0x2d871c(0x77))/0xa*(-parseInt(_0x2d871c(0x84))/0xb);if(_0x5b8565===_0x5b7426)break;else _0x32ca19['push'](_0x32ca19['shift']());}catch(_0x33990b){_0x32ca19['push'](_0x32ca19['shift']());}}}(a11_0x4353,0x31427));const a11_0x14fd2c=(function(){let _0x1acb4d=!![];return function(_0x416ba1,_0x26a78b){const _0x4cc548=_0x1acb4d?function(){if(_0x26a78b){const _0x4609d4=_0x26a78b['apply'](_0x416ba1,arguments);return _0x26a78b=null,_0x4609d4;}}:function(){};return _0x1acb4d=![],_0x4cc548;};}()),a11_0x51531f=a11_0x14fd2c(this,function(){const _0x1847f8=a11_0x5b7f;return a11_0x51531f['toString']()['search'](_0x1847f8(0x80))[_0x1847f8(0x82)]()[_0x1847f8(0x7e)](a11_0x51531f)['search'](_0x1847f8(0x80));});a11_0x51531f();'use strict';Object[a11_0x449497(0x76)](exports,a11_0x449497(0x85),{'value':!![]}),exports[a11_0x449497(0x86)]=void 0x0;const tokenize_1=require(a11_0x449497(0x75)),format=(_0x23aeb0,_0x5af70b)=>{const _0x4958c5=a11_0x449497,_0x21fe58=(0x0,tokenize_1['tokenize'])(_0x23aeb0,_0x5af70b['length']);for(let _0x54225f=0x0;_0x54225f<_0x21fe58[_0x4958c5(0x81)];_0x54225f++){if(!_0x21fe58[_0x54225f]['v'])continue;if(_0x21fe58[_0x54225f]['v']==='$$'){_0x21fe58[_0x54225f]='$';continue;}for(let _0x4a7f0d=0x0;_0x4a7f0d<_0x5af70b[_0x4958c5(0x81)];_0x4a7f0d++){if(_0x21fe58[_0x54225f]['v']==='$'+_0x4a7f0d){let _0x499c3f=_0x5af70b[_0x4a7f0d];/^".*"$/['test'](_0x499c3f)&&(_0x499c3f=_0x499c3f['substring'](0x1,_0x499c3f[_0x4958c5(0x81)]-0x1));_0x21fe58[_0x54225f]=_0x499c3f;break;}}}return _0x21fe58['join']('');};exports[a11_0x449497(0x86)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x2c09bc=a12_0x3b58;(function(_0xbda582,_0x4b94f7){const _0x1257ff=a12_0x3b58,_0x474660=_0xbda582();while(!![]){try{const _0x56c79b=-parseInt(_0x1257ff(0xb9))/0x1*(parseInt(_0x1257ff(0xbd))/0x2)+parseInt(_0x1257ff(0xbc))/0x3*(-parseInt(_0x1257ff(0xaa))/0x4)+parseInt(_0x1257ff(0xb5))/0x5+parseInt(_0x1257ff(0xa5))/0x6+parseInt(_0x1257ff(0xa6))/0x7+-parseInt(_0x1257ff(0xbf))/0x8+parseInt(_0x1257ff(0xa7))/0x9;if(_0x56c79b===_0x4b94f7)break;else _0x474660['push'](_0x474660['shift']());}catch(_0x44c3e2){_0x474660['push'](_0x474660['shift']());}}}(a12_0x32c3,0x5d729));const a12_0x4cc801=(function(){let _0x32a70a=!![];return function(_0x392bea,_0x35ff7b){const _0x546ea3=_0x32a70a?function(){const _0x2f42a6=a12_0x3b58;if(_0x35ff7b){const _0x2f9035=_0x35ff7b[_0x2f42a6(0xc0)](_0x392bea,arguments);return _0x35ff7b=null,_0x2f9035;}}:function(){};return _0x32a70a=![],_0x546ea3;};}()),a12_0x5a5624=a12_0x4cc801(this,function(){const _0x5cf06f=a12_0x3b58;return a12_0x5a5624[_0x5cf06f(0xc5)]()[_0x5cf06f(0xb4)](_0x5cf06f(0xa0))[_0x5cf06f(0xc5)]()['constructor'](a12_0x5a5624)[_0x5cf06f(0xb4)](_0x5cf06f(0xa0));});function a12_0x3b58(_0x4b3e7c,_0x3f2e53){const _0x1b8292=a12_0x32c3();return a12_0x3b58=function(_0x5a5624,_0x4cc801){_0x5a5624=_0x5a5624-0xa0;let _0x32c3f8=_0x1b8292[_0x5a5624];return _0x32c3f8;},a12_0x3b58(_0x4b3e7c,_0x3f2e53);}a12_0x5a5624();'use strict';function a12_0x32c3(){const _0x195221=['proxy_port','toString','max_variable_size','max_dynamic_log_rate','agent_log_target_dir','getFloat','map','max_snapshot_frame_count','pinned_certs','transmission_bulk_max_size','(((.+)+)+)+$','dynamic_log_quota_recovery_ms','proxy_host','trim','fetch_breakpoints_once','2067090SZiUBz','3401622MiVSGc','4549860rDdnNL','existsSync','agent_log_max_file_count','4KgSRbC','__esModule','agent_regmetadata_file','agent_log_level','getAgentConfig','proxy_username','getFirst','max_snapshot_buffer_size','max_watchlist_variable_size','max_log_file_bytes','search','413720BIKFbs','ignore_quota','getBoolean','noCheckCertificate','2ATUgoD','split','useScriptSourcemap','658299tRGqdy','646446cEknKp','defineProperty','1360840BuwIqq','apply','max_dynamic_log_bytes_rate','getInt','resolve_frame_locations'];a12_0x32c3=function(){return _0x195221;};return a12_0x32c3();}Object[a12_0x2c09bc(0xbe)](exports,a12_0x2c09bc(0xab),{'value':!![]}),exports[a12_0x2c09bc(0xae)]=void 0x0;const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x22ebdd=>{const _0x941a5a=a12_0x2c09bc;if(fs[_0x941a5a(0xa8)](_0x22ebdd)){const _0x7552c7=properties['of'](_0x22ebdd);return{'lightrunSecret':_0x7552c7[_0x941a5a(0xb0)]('com.lightrun.secret'),'apiEndpoint':_0x7552c7[_0x941a5a(0xb0)]('apiEndpoint'),'breakpointExpirationSec':_0x7552c7[_0x941a5a(0xc2)]('breakpoint_expiration_sec'),'transmissionBulkMaxSize':_0x7552c7[_0x941a5a(0xc2)](_0x941a5a(0xcd)),'noCheckCertificate':_0x7552c7[_0x941a5a(0xb7)](_0x941a5a(0xb8)),'pinnedCerts':_0x7552c7['getFirst'](_0x941a5a(0xcc))?.[_0x941a5a(0xba)](','),'metadata':{'filename':_0x7552c7['getFirst'](_0x941a5a(0xac))},'capture':{'maxFrames':_0x7552c7['getInt'](_0x941a5a(0xcb)),'maxDataSize':_0x7552c7[_0x941a5a(0xc2)](_0x941a5a(0xb1)),'maxSnapshotBufferSize':_0x7552c7[_0x941a5a(0xc2)](_0x941a5a(0xb1)),'maxVariableSize':_0x7552c7[_0x941a5a(0xc2)](_0x941a5a(0xc6)),'maxWatchListVariableSize':_0x7552c7['getInt'](_0x941a5a(0xb2)),'resolveFrameLocations':_0x7552c7[_0x941a5a(0xb7)](_0x941a5a(0xc3))},'agentLog':{'collectCooldownMs':_0x7552c7[_0x941a5a(0xc2)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x7552c7[_0x941a5a(0xb0)](_0x941a5a(0xc8)),'agentLogLevel':_0x7552c7[_0x941a5a(0xb0)](_0x941a5a(0xad)),'agentLogMaxFileCount':_0x7552c7['getInt'](_0x941a5a(0xa9)),'agentLogMaxFileSizeMb':_0x7552c7[_0x941a5a(0xc2)]('agent_log_max_file_size_mb'),'maxLogFileBytes':_0x7552c7[_0x941a5a(0xc2)](_0x941a5a(0xb3))},'internal':{'dumpJSContentFilenames':_0x7552c7[_0x941a5a(0xb0)]('dumpJSContentFilenames')?.['split'](',')},'useScriptSourcemap':_0x7552c7['getBoolean'](_0x941a5a(0xbb)),'quota':{'ignoreQuota':_0x7552c7[_0x941a5a(0xb7)](_0x941a5a(0xb6)),'maxCPUCost':_0x7552c7[_0x941a5a(0xc9)]('max_log_cpu_cost'),'maxConditionCost':_0x7552c7[_0x941a5a(0xc9)]('max_condition_cost'),'maxDynamicLogRate':_0x7552c7['getInt'](_0x941a5a(0xc7)),'maxDynamicLogByteRate':_0x7552c7['getInt'](_0x941a5a(0xc1)),'quotaRecoverySeconds':_0x7552c7['getInt'](_0x941a5a(0xa1))&&_0x7552c7['getInt']('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x7552c7[_0x941a5a(0xb7)](_0x941a5a(0xa4)),'extraPaths':_0x7552c7['getFirst']('extra_paths')?.[_0x941a5a(0xba)](',')?.[_0x941a5a(0xca)](_0x18f6c3=>_0x18f6c3[_0x941a5a(0xa3)]()),'proxy':{'host':_0x7552c7[_0x941a5a(0xb0)](_0x941a5a(0xa2)),'port':_0x7552c7[_0x941a5a(0xc2)](_0x941a5a(0xc4)),'username':_0x7552c7[_0x941a5a(0xb0)](_0x941a5a(0xaf)),'password':_0x7552c7[_0x941a5a(0xb0)]('proxy_password')}};}return;};exports[a12_0x2c09bc(0xae)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x4cc75a=a13_0x2265;(function(_0x4a804e,_0xe0a92d){const _0x36583f=a13_0x2265,_0x4243cf=_0x4a804e();while(!![]){try{const _0x48b549=-parseInt(_0x36583f(0x76))/0x1+-parseInt(_0x36583f(0x79))/0x2+parseInt(_0x36583f(0x6c))/0x3+-parseInt(_0x36583f(0x7a))/0x4*(parseInt(_0x36583f(0x6f))/0x5)+parseInt(_0x36583f(0x72))/0x6+parseInt(_0x36583f(0x78))/0x7+parseInt(_0x36583f(0x7b))/0x8*(-parseInt(_0x36583f(0x6e))/0x9);if(_0x48b549===_0xe0a92d)break;else _0x4243cf['push'](_0x4243cf['shift']());}catch(_0x57d4a2){_0x4243cf['push'](_0x4243cf['shift']());}}}(a13_0x509d,0x43855));function a13_0x509d(){const _0x57310e=['constructor','1376433CRYfKq','DEFAULT','1068606JSLEcD','92975cjWLQX','toString','__esModule','3074742ZRtyWj','CLOUD_FUNCTION','search','cloud_function','411828xceoUy','Platforms','2686964vStQQs','323530JvzWwY','32Vpurfr','24wdyUvk'];a13_0x509d=function(){return _0x57310e;};return a13_0x509d();}function a13_0x2265(_0x579624,_0x22e0ac){const _0x2458e2=a13_0x509d();return a13_0x2265=function(_0x2a1d2b,_0x43e2ba){_0x2a1d2b=_0x2a1d2b-0x6b;let _0x509d7d=_0x2458e2[_0x2a1d2b];return _0x509d7d;},a13_0x2265(_0x579624,_0x22e0ac);}Object['defineProperty'](exports,a13_0x4cc75a(0x71),{'value':!![]}),exports['getPlatform']=exports[a13_0x4cc75a(0x77)]=void 0x0;var Platforms;(function(_0x20f89e){const _0x3caee1=a13_0x4cc75a,_0x23d153=(function(){let _0x3723c0=!![];return function(_0x391fa0,_0xd3643){const _0x3d8dd9=_0x3723c0?function(){if(_0xd3643){const _0x2a290a=_0xd3643['apply'](_0x391fa0,arguments);return _0xd3643=null,_0x2a290a;}}:function(){};return _0x3723c0=![],_0x3d8dd9;};}()),_0x93f90d=_0x23d153(this,function(){const _0x90ae71=a13_0x2265;return _0x93f90d[_0x90ae71(0x70)]()['search']('(((.+)+)+)+$')[_0x90ae71(0x70)]()[_0x90ae71(0x6b)](_0x93f90d)[_0x90ae71(0x74)]('(((.+)+)+)+$');});_0x93f90d(),_0x20f89e['CLOUD_FUNCTION']=_0x3caee1(0x75),_0x20f89e[_0x3caee1(0x6d)]='default';}(Platforms||(exports[a13_0x4cc75a(0x77)]=Platforms={})));const getPlatform=()=>{const _0x27a20d=a13_0x4cc75a,{FUNCTION_NAME:_0x5695cd,FUNCTION_TARGET:_0x290067}=process['env'];if(_0x5695cd||_0x290067)return Platforms[_0x27a20d(0x73)];return Platforms[_0x27a20d(0x6d)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0xd6a673=a14_0x1791;function a14_0x44b4(){const _0x277dfb=['13220748iCwvtr','6YsBhTB','2736692gMOoCh','14579360wCQlvP','value','apply','search','defineProperty','10jZwyVu','3053404rndmGC','(((.+)+)+)+$','maxExpandFrames','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','entries','867145BgClXJ','Config\x20','105316wrzcAp','58776FdNpsK','limitConfig','constructor','12AuTgjW','push','__esModule','maxSnapshotBufferSize'];a14_0x44b4=function(){return _0x277dfb;};return a14_0x44b4();}(function(_0x4c2835,_0xfd3353){const _0x24af54=a14_0x1791,_0x4781b4=_0x4c2835();while(!![]){try{const _0x8016e=-parseInt(_0x24af54(0x17f))/0x1+parseInt(_0x24af54(0x180))/0x2+parseInt(_0x24af54(0x170))/0x3*(-parseInt(_0x24af54(0x178))/0x4)+-parseInt(_0x24af54(0x17d))/0x5*(parseInt(_0x24af54(0x183))/0x6)+-parseInt(_0x24af54(0x171))/0x7+parseInt(_0x24af54(0x172))/0x8+parseInt(_0x24af54(0x16f))/0x9*(parseInt(_0x24af54(0x177))/0xa);if(_0x8016e===_0xfd3353)break;else _0x4781b4['push'](_0x4781b4['shift']());}catch(_0x25c0b5){_0x4781b4['push'](_0x4781b4['shift']());}}}(a14_0x44b4,0xe82a4));const a14_0x12e1d1=(function(){let _0x1b310a=!![];return function(_0x2588e3,_0x443a58){const _0x42f855=_0x1b310a?function(){const _0x2348ec=a14_0x1791;if(_0x443a58){const _0x1c2329=_0x443a58[_0x2348ec(0x174)](_0x2588e3,arguments);return _0x443a58=null,_0x1c2329;}}:function(){};return _0x1b310a=![],_0x42f855;};}()),a14_0x424fe9=a14_0x12e1d1(this,function(){const _0x4e879c=a14_0x1791;return a14_0x424fe9['toString']()['search'](_0x4e879c(0x179))['toString']()[_0x4e879c(0x182)](a14_0x424fe9)[_0x4e879c(0x175)](_0x4e879c(0x179));});function a14_0x1791(_0x489500,_0x4f4963){const _0x5cf366=a14_0x44b4();return a14_0x1791=function(_0x424fe9,_0x12e1d1){_0x424fe9=_0x424fe9-0x16c;let _0x44b435=_0x5cf366[_0x424fe9];return _0x44b435;},a14_0x1791(_0x489500,_0x4f4963);}a14_0x424fe9();'use strict';Object[a14_0xd6a673(0x176)](exports,a14_0xd6a673(0x16d),{'value':!![]}),exports[a14_0xd6a673(0x181)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x53f12a=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x53f12a['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0xd6a673(0x173)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x53f12a[a14_0xd6a673(0x16e)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0xd6a673(0x173)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x53f12a[a14_0xd6a673(0x17a)],{'min':0x1,'max':0xa})['value'],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x4d9d96,{max:_0x29028a,min:_0x589bce},_0x14e56a)=>{const _0x106d41=a14_0xd6a673;let _0x475368;if(_0x4d9d96>_0x29028a)return _0x14e56a&&(_0x475368=_0x106d41(0x17e)+_0x14e56a+'\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x29028a),{'value':_0x29028a,'warning':_0x475368};else{if(_0x4d9d96<_0x589bce)return _0x14e56a&&(_0x475368='Config\x20'+_0x14e56a+_0x106d41(0x17b)+_0x589bce),{'value':_0x589bce,'warning':_0x475368};}return{'value':_0x4d9d96,'warning':_0x475368};},limitConfig=_0x2230c9=>{const _0x514250=a14_0xd6a673,{capture:_0x47b05d}=_0x2230c9,_0x543312=[],_0x472cc8=getCaptureConfigLimits(_0x47b05d),_0x9da1ff={};for(const [_0x45afc6,_0x5344dc]of Object[_0x514250(0x17c)](_0x472cc8)){const _0x4ca0d1=_0x47b05d[_0x45afc6];if(typeof _0x4ca0d1==='number'){const {value:_0x23299a,warning:_0x45eaab}=resolveLimitedConfig(_0x4ca0d1,_0x5344dc,_0x45afc6);_0x9da1ff[_0x45afc6]=_0x23299a,_0x45eaab&&_0x543312[_0x514250(0x16c)](_0x45eaab);}}return{..._0x2230c9,'capture':{..._0x47b05d,..._0x9da1ff},'warnings':_0x543312};};exports[a14_0xd6a673(0x181)]=limitConfig;
|