lightrun 1.76.0 → 1.77.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 -0
- 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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x537957=a0_0x16e8;(function(_0xd8b598,_0x1d8fe9){const _0x52e876=a0_0x16e8,_0x485342=_0xd8b598();while(!![]){try{const _0x5418d5=-parseInt(_0x52e876(0x206))/0x1+parseInt(_0x52e876(0x1ec))/0x2*(-parseInt(_0x52e876(0x1eb))/0x3)+-parseInt(_0x52e876(0x215))/0x4*(-parseInt(_0x52e876(0x1ed))/0x5)+parseInt(_0x52e876(0x1f3))/0x6*(parseInt(_0x52e876(0x1f2))/0x7)+-parseInt(_0x52e876(0x1f5))/0x8*(-parseInt(_0x52e876(0x202))/0x9)+parseInt(_0x52e876(0x1f7))/0xa+parseInt(_0x52e876(0x210))/0xb*(-parseInt(_0x52e876(0x1f0))/0xc);if(_0x5418d5===_0x1d8fe9)break;else _0x485342['push'](_0x485342['shift']());}catch(_0x223a9c){_0x485342['push'](_0x485342['shift']());}}}(a0_0x49c6,0xa3bb7));const a0_0x3cfea5=(function(){let _0x59273a=!![];return function(_0x37f905,_0x32b7ad){const _0x2ceb5d=_0x59273a?function(){const _0x332c51=a0_0x16e8;if(_0x32b7ad){const _0x42e502=_0x32b7ad[_0x332c51(0x216)](_0x37f905,arguments);return _0x32b7ad=null,_0x42e502;}}:function(){};return _0x59273a=![],_0x2ceb5d;};}()),a0_0x35a1ab=a0_0x3cfea5(this,function(){const _0x64cade=a0_0x16e8;return a0_0x35a1ab['toString']()[_0x64cade(0x1fb)](_0x64cade(0x1fd))[_0x64cade(0x1fc)]()['constructor'](a0_0x35a1ab)[_0x64cade(0x1fb)](_0x64cade(0x1fd));});a0_0x35a1ab();'use strict';Object[a0_0x537957(0x1f8)](exports,a0_0x537957(0x1f1),{'value':!![]});const winston_1=require('winston'),DailyRotateFile=require(a0_0x537957(0x1f4)),process_1=require(a0_0x537957(0x217)),{combine,printf,timestamp}=winston_1[a0_0x537957(0x201)],{Console}=winston_1[a0_0x537957(0x1f9)],now=new Date();function getLoggerTransport(_0x51842c,_0x255288,_0x184f03){const _0x4ea216=a0_0x537957;if(_0x51842c)return new DailyRotateFile({'dirname':_0x51842c,'filename':AgentLogger[_0x4ea216(0x20b)],'datePattern':now[_0x4ea216(0x212)]()[_0x4ea216(0x1fc)]()+now[_0x4ea216(0x213)]()['toString']()[_0x4ea216(0x1ff)](0x2,'0')+now[_0x4ea216(0x20d)]()[_0x4ea216(0x1fc)]()[_0x4ea216(0x1ff)](0x2,'0')+'-'+now[_0x4ea216(0x1fe)]()[_0x4ea216(0x1fc)]()['padStart'](0x2,'0')+now[_0x4ea216(0x219)]()['toString']()[_0x4ea216(0x1ff)](0x2,'0')+now[_0x4ea216(0x1f6)]()['toString']()[_0x4ea216(0x1ff)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x4ea216(0x20b)],'maxSize':_0x255288+'m','maxFiles':_0x184f03,'extension':_0x4ea216(0x21b)});return new Console();}class AgentLogger{constructor(_0x791498,_0x537f50,_0x4c74b6,_0x37d0b8,_0x2c0957){const _0x492fbe=a0_0x537957;this[_0x492fbe(0x20f)]=_0x37d0b8,this[_0x492fbe(0x1ee)]=(0x0,winston_1['createLogger'])({'level':_0x37d0b8,'transports':[getLoggerTransport(_0x791498,_0x537f50,_0x4c74b6),new Console({'level':_0x2c0957,'stderrLevels':[_0x492fbe(0x20e),'info','warn',_0x492fbe(0x211)]})],'format':combine(timestamp(),printf(({level:_0x15bf5d,message:_0x2a9252,timestamp:_0x64a8c5})=>_0x64a8c5+'\x20['+_0x15bf5d[_0x492fbe(0x208)]()+']\x20-\x20'+_0x2a9252),winston_1[_0x492fbe(0x201)][_0x492fbe(0x204)]())});}static[a0_0x537957(0x21a)](_0x1a3882,_0x1a4637,_0x204ed5,_0x244fe4,_0x56401e){return new AgentLogger(_0x1a3882,_0x1a4637,_0x204ed5,_0x244fe4,_0x56401e);}[a0_0x537957(0x20e)](..._0x47376a){const _0x4f718b=a0_0x537957;this[_0x4f718b(0x1ee)]['debug'](_0x47376a);}[a0_0x537957(0x200)](..._0x483688){const _0x5ef044=a0_0x537957;this[_0x5ef044(0x1ee)][_0x5ef044(0x200)](_0x483688);}[a0_0x537957(0x209)](..._0x4ff16c){const _0x7ab13=a0_0x537957;this[_0x7ab13(0x1ee)]['warn'](_0x4ff16c);}[a0_0x537957(0x211)](..._0x10b58b){const _0x29ae9e=a0_0x537957;this['logger'][_0x29ae9e(0x211)](_0x10b58b);}[a0_0x537957(0x207)](){const _0xfe3a53=a0_0x537957;return this[_0xfe3a53(0x1ee)]['level'];}['isAtLeastInfo'](){const _0x2e22b4=a0_0x537957,_0x2a6db9=this[_0x2e22b4(0x207)](),_0x3651d9=AgentLogger[_0x2e22b4(0x1fa)][_0x2a6db9];if(!_0x3651d9)return![];return _0x3651d9>=AgentLogger[_0x2e22b4(0x1fa)]['info'];}[a0_0x537957(0x218)](_0x358cda){const _0x33a158=a0_0x537957;this[_0x33a158(0x1ee)][_0x33a158(0x214)]=_0x358cda;}[a0_0x537957(0x1ef)](){const _0x4ee8e5=a0_0x537957;return this[_0x4ee8e5(0x20f)];}}AgentLogger['AGENT_LOG_FILE']=a0_0x537957(0x203)+process_1[a0_0x537957(0x20a)]+a0_0x537957(0x205),AgentLogger['LEVEL_PRIORITY']={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3},exports[a0_0x537957(0x20c)]=AgentLogger;function a0_0x16e8(_0x32adb1,_0x41059b){const _0x587f6e=a0_0x49c6();return a0_0x16e8=function(_0x35a1ab,_0x3cfea5){_0x35a1ab=_0x35a1ab-0x1eb;let _0x49c663=_0x587f6e[_0x35a1ab];return _0x49c663;},a0_0x16e8(_0x32adb1,_0x41059b);}function a0_0x49c6(){const _0x3e6516=['8cZuzSN','apply','process','setLevel','getMinutes','createLogger','.log','17772idutWD','92STdTJW','3265165mTAWDA','logger','getInitialLevel','12gMzbbx','__esModule','1627689mRtffF','30UOtKgK','winston-daily-rotate-file','128GYmxQJ','getSeconds','10179950FMbjDH','defineProperty','transports','LEVEL_PRIORITY','search','toString','(((.+)+)+)+$','getHours','padStart','info','format','686493LgLhZp','lightrun_nodejs_agent.','json','.%DATE%','766132tKVaHW','getLevel','toUpperCase','warn','pid','AGENT_LOG_FILE','default','getDate','debug','initialLogLevel','32976295urghnl','error','getFullYear','getMonth','level'];a0_0x49c6=function(){return _0x3e6516;};return a0_0x49c6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0xdebe(){const _0x2f6feb=['forEach','14lRIWNG','constructor','apply','4297560ifxaWp','substring','3176620JpWyXM','81Iucxum','defineProperty','some','patterns','2497FXaBBp','search','94228zDqAsj','length','toString','39447OkwRsF','548384FovCMh','2552jOSmdQ','push','inversePatterns','4895250GqZiHe','(((.+)+)+)+$','181620IpxDSL','match','__esModule','matches'];a1_0xdebe=function(){return _0x2f6feb;};return a1_0xdebe();}const a1_0x53da9f=a1_0x1538;(function(_0x34fc29,_0xbfd885){const _0x279069=a1_0x1538,_0x5df624=_0x34fc29();while(!![]){try{const _0x56e3c4=parseInt(_0x279069(0xb0))/0x1+parseInt(_0x279069(0xa5))/0x2+parseInt(_0x279069(0xa6))/0x3*(parseInt(_0x279069(0xac))/0x4)+-parseInt(_0x279069(0xa3))/0x5+-parseInt(_0x279069(0xb4))/0x6*(-parseInt(_0x279069(0xa0))/0x7)+-parseInt(_0x279069(0xb1))/0x8*(-parseInt(_0x279069(0xaf))/0x9)+-parseInt(_0x279069(0xb6))/0xa*(parseInt(_0x279069(0xaa))/0xb);if(_0x56e3c4===_0xbfd885)break;else _0x5df624['push'](_0x5df624['shift']());}catch(_0x5542fb){_0x5df624['push'](_0x5df624['shift']());}}}(a1_0xdebe,0xc8496));const a1_0x102c20=(function(){let _0x33bb77=!![];return function(_0x233a09,_0x4ac66b){const _0x440683=_0x33bb77?function(){const _0x2c4b70=a1_0x1538;if(_0x4ac66b){const _0x4fc5fc=_0x4ac66b[_0x2c4b70(0xa2)](_0x233a09,arguments);return _0x4ac66b=null,_0x4fc5fc;}}:function(){};return _0x33bb77=![],_0x440683;};}()),a1_0x26a8ca=a1_0x102c20(this,function(){const _0x1457dc=a1_0x1538;return a1_0x26a8ca[_0x1457dc(0xae)]()[_0x1457dc(0xab)](_0x1457dc(0xb5))[_0x1457dc(0xae)]()[_0x1457dc(0xa1)](a1_0x26a8ca)[_0x1457dc(0xab)](_0x1457dc(0xb5));});a1_0x26a8ca();'use strict';Object[a1_0x53da9f(0xa7)](exports,a1_0x53da9f(0xb8),{'value':!![]}),exports['BlocklistingPatterns']=void 0x0;class BlocklistingPatterns{constructor(_0x3524a8){const _0x131d56=a1_0x53da9f;this[_0x131d56(0xb3)]=[],this['patterns']=[],_0x3524a8&&_0x3524a8[_0x131d56(0xba)](_0x34147b=>{const _0x548a4a=_0x131d56;_0x34147b&&(_0x34147b[0x0]==='!'?this['inversePatterns'][_0x548a4a(0xb2)](new RegExp(_0x34147b[_0x548a4a(0xa4)](0x1))):this['patterns'][_0x548a4a(0xb2)](new RegExp(_0x34147b)));});}[a1_0x53da9f(0xb9)](_0x2bcbd1){const _0x42b258=a1_0x53da9f,_0x5029be=_0x51df27=>_0x2bcbd1[_0x42b258(0xb7)](_0x51df27);return this['inversePatterns'][_0x42b258(0xad)]!==0x0&&!this[_0x42b258(0xb3)][_0x42b258(0xa8)](_0x5029be)||this[_0x42b258(0xa9)][_0x42b258(0xa8)](_0x5029be);}}function a1_0x1538(_0x3f9b9b,_0x254c7e){const _0x4ebf24=a1_0xdebe();return a1_0x1538=function(_0x26a8ca,_0x102c20){_0x26a8ca=_0x26a8ca-0xa0;let _0xdebeae=_0x4ebf24[_0x26a8ca];return _0xdebeae;},a1_0x1538(_0x3f9b9b,_0x254c7e);}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x516fff=a2_0x5c12;(function(_0x2a3030,_0x17b4b3){var _0x2ee3c1=a2_0x5c12,_0x5809a8=_0x2a3030();while(!![]){try{var _0x263efc=parseInt(_0x2ee3c1(0x186))/0x1*(-parseInt(_0x2ee3c1(0x18a))/0x2)+-parseInt(_0x2ee3c1(0x184))/0x3+parseInt(_0x2ee3c1(0x180))/0x4+-parseInt(_0x2ee3c1(0x182))/0x5*(parseInt(_0x2ee3c1(0x187))/0x6)+parseInt(_0x2ee3c1(0x178))/0x7+parseInt(_0x2ee3c1(0x183))/0x8*(parseInt(_0x2ee3c1(0x17b))/0x9)+-parseInt(_0x2ee3c1(0x179))/0xa*(-parseInt(_0x2ee3c1(0x18b))/0xb);if(_0x263efc===_0x17b4b3)break;else _0x5809a8['push'](_0x5809a8['shift']());}catch(_0x335206){_0x5809a8['push'](_0x5809a8['shift']());}}}(a2_0x5c13,0x3ef36));function a2_0x5c12(_0x404112,_0x4fa67c){var _0x3a4c50=a2_0x5c13();return a2_0x5c12=function(_0x22cb1a,_0x838b5a){_0x22cb1a=_0x22cb1a-0x178;var _0x5c13a7=_0x3a4c50[_0x22cb1a];return _0x5c13a7;},a2_0x5c12(_0x404112,_0x4fa67c);}var a2_0x838b5a=(function(){var _0x2ef7a3=!![];return function(_0x11fb2a,_0xd71334){var _0x1d5a2b=_0x2ef7a3?function(){if(_0xd71334){var _0x51b3be=_0xd71334['apply'](_0x11fb2a,arguments);return _0xd71334=null,_0x51b3be;}}:function(){};return _0x2ef7a3=![],_0x1d5a2b;};}()),a2_0x22cb1a=a2_0x838b5a(this,function(){var _0x3b5e5c=a2_0x5c12;return a2_0x22cb1a[_0x3b5e5c(0x17c)]()['search'](_0x3b5e5c(0x17d))[_0x3b5e5c(0x17c)]()[_0x3b5e5c(0x181)](a2_0x22cb1a)[_0x3b5e5c(0x17f)]('(((.+)+)+)+$');});a2_0x22cb1a();function a2_0x5c13(){var _0x5dae7d=['1282788HFPTsd','toString','(((.+)+)+)+$','DummyBlocklistManager','search','1422168JyiBjj','constructor','468530jqzzpg','8wkwIbQ','601200PJgrmY','__esModule','487518sixgJq','12bZUCGI','shouldBlock','value','2bxrtvv','5654FxDalR','3067680nHVHiV','3830YtwxYQ','defineProperty'];a2_0x5c13=function(){return _0x5dae7d;};return a2_0x5c13();}'use strict';Object[a2_0x516fff(0x17a)](exports,a2_0x516fff(0x185),{'value':!![]}),exports[a2_0x516fff(0x17e)]=void 0x0;class DummyBlocklistManager{constructor(_0xcbc3){var _0x341dc3=a2_0x516fff;this[_0x341dc3(0x189)]=_0xcbc3;}[a2_0x516fff(0x188)](){return this['value'];}}exports[a2_0x516fff(0x17e)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x2f40bf=a3_0x3c68;(function(_0x43ef23,_0x5b1520){const _0x405826=a3_0x3c68,_0x452f48=_0x43ef23();while(!![]){try{const _0x4e0ccc=-parseInt(_0x405826(0x82))/0x1+-parseInt(_0x405826(0x8d))/0x2*(parseInt(_0x405826(0x84))/0x3)+-parseInt(_0x405826(0x7c))/0x4+-parseInt(_0x405826(0x7b))/0x5+-parseInt(_0x405826(0x8b))/0x6+parseInt(_0x405826(0x8f))/0x7*(parseInt(_0x405826(0x83))/0x8)+parseInt(_0x405826(0x91))/0x9;if(_0x4e0ccc===_0x5b1520)break;else _0x452f48['push'](_0x452f48['shift']());}catch(_0x355f68){_0x452f48['push'](_0x452f48['shift']());}}}(a3_0x5cf9,0x94bcb));const a3_0x4b9b0b=(function(){let _0x3b0cbf=!![];return function(_0xe4892,_0x5e4aa8){const _0x43bbc5=_0x3b0cbf?function(){const _0x1077e6=a3_0x3c68;if(_0x5e4aa8){const _0x4456e5=_0x5e4aa8[_0x1077e6(0x94)](_0xe4892,arguments);return _0x5e4aa8=null,_0x4456e5;}}:function(){};return _0x3b0cbf=![],_0x43bbc5;};}()),a3_0xac98b=a3_0x4b9b0b(this,function(){const _0x30260b=a3_0x3c68;return a3_0xac98b[_0x30260b(0x86)]()[_0x30260b(0x93)](_0x30260b(0x81))[_0x30260b(0x86)]()[_0x30260b(0x90)](a3_0xac98b)[_0x30260b(0x93)]('(((.+)+)+)+$');});function a3_0x3c68(_0x1b6e53,_0x10a545){const _0x186ff3=a3_0x5cf9();return a3_0x3c68=function(_0xac98b,_0x4b9b0b){_0xac98b=_0xac98b-0x7b;let _0x5cf97d=_0x186ff3[_0xac98b];return _0x5cf97d;},a3_0x3c68(_0x1b6e53,_0x10a545);}a3_0xac98b();'use strict';Object['defineProperty'](exports,a3_0x2f40bf(0x8e),{'value':!![]}),exports[a3_0x2f40bf(0x80)]=void 0x0;const blocklisting_patterns_1=require(a3_0x2f40bf(0x7f)),utils=require(a3_0x2f40bf(0x88));function a3_0x5cf9(){const _0xf27bc0=['6RYdZoc','stripWorkingDir','toString','matches','../util/utils','blocklistExceptions','BlocklistingPatterns','4528716vcmFvi','blocklist','749276mGRnJx','__esModule','1435420SSitNa','constructor','17785701yVcTeC','shouldBlock','search','apply','865705MyUjlp','859304yWcaPE','isPathInCurrentWorkingDirectory','config','./blocklisting-patterns','PatternsBlocklistManager','(((.+)+)+)+$','500233ehrybX','40mfouWH'];a3_0x5cf9=function(){return _0xf27bc0;};return a3_0x5cf9();}class PatternsBlocklistManager{constructor(_0x4aa723,_0x216f8e,_0x336b17){const _0x382024=a3_0x2f40bf;this[_0x382024(0x8c)]=new blocklisting_patterns_1[(_0x382024(0x8a))](_0x4aa723),this[_0x382024(0x89)]=new blocklisting_patterns_1[(_0x382024(0x8a))](_0x216f8e),this[_0x382024(0x7e)]=_0x336b17;}[a3_0x2f40bf(0x92)](_0x88f108){const _0x4802f7=a3_0x2f40bf;_0x88f108=this[_0x4802f7(0x85)](_0x88f108);if(this[_0x4802f7(0x89)][_0x4802f7(0x87)](_0x88f108))return![];return this[_0x4802f7(0x8c)][_0x4802f7(0x87)](_0x88f108);}['stripWorkingDir'](_0x4f6ae2){const _0x24553a=a3_0x2f40bf;if(utils[_0x24553a(0x7d)](_0x4f6ae2,this[_0x24553a(0x7e)]))return utils['stripCurrentWorkingDirectory'](_0x4f6ae2,this[_0x24553a(0x7e)]);return _0x4f6ae2;}}exports[a3_0x2f40bf(0x80)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x3a8081=a4_0x52e0;(function(_0x12d901,_0x264400){const _0x23ba40=a4_0x52e0,_0x24c484=_0x12d901();while(!![]){try{const _0xa43a54=-parseInt(_0x23ba40(0x9e))/0x1+-parseInt(_0x23ba40(0xbf))/0x2*(-parseInt(_0x23ba40(0xbe))/0x3)+-parseInt(_0x23ba40(0xc1))/0x4*(-parseInt(_0x23ba40(0xa9))/0x5)+-parseInt(_0x23ba40(0xbd))/0x6*(parseInt(_0x23ba40(0xac))/0x7)+-parseInt(_0x23ba40(0xb7))/0x8+parseInt(_0x23ba40(0xaf))/0x9+-parseInt(_0x23ba40(0xb8))/0xa*(-parseInt(_0x23ba40(0xa2))/0xb);if(_0xa43a54===_0x264400)break;else _0x24c484['push'](_0x24c484['shift']());}catch(_0x5a8538){_0x24c484['push'](_0x24c484['shift']());}}}(a4_0x4450,0xbb9a5));function a4_0x52e0(_0x10b0e6,_0x50c3c2){const _0x932bf3=a4_0x4450();return a4_0x52e0=function(_0x3291d9,_0x5a322b){_0x3291d9=_0x3291d9-0x91;let _0x44500e=_0x932bf3[_0x3291d9];return _0x44500e;},a4_0x52e0(_0x10b0e6,_0x50c3c2);}const a4_0x5a322b=(function(){let _0x4f87c8=!![];return function(_0x20c583,_0x3c8b91){const _0x1ec1f9=_0x4f87c8?function(){const _0x5c8fa6=a4_0x52e0;if(_0x3c8b91){const _0x2290df=_0x3c8b91[_0x5c8fa6(0xb3)](_0x20c583,arguments);return _0x3c8b91=null,_0x2290df;}}:function(){};return _0x4f87c8=![],_0x1ec1f9;};}()),a4_0x3291d9=a4_0x5a322b(this,function(){const _0x362ad9=a4_0x52e0;return a4_0x3291d9['toString']()[_0x362ad9(0xa3)](_0x362ad9(0xa4))[_0x362ad9(0xa5)]()[_0x362ad9(0xb1)](a4_0x3291d9)['search'](_0x362ad9(0xa4));});a4_0x3291d9();'use strict';Object[a4_0x3a8081(0x9c)](exports,a4_0x3a8081(0x9d),{'value':!![]}),exports[a4_0x3a8081(0xc0)]=exports['configSchema']=void 0x0,exports['logMainConfigParams']=logMainConfigParams;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x3a8081(0xad));exports[a4_0x3a8081(0x9a)]=(0x0,yup_1[a4_0x3a8081(0xb9)])()[a4_0x3a8081(0x98)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x3a8081(0x92)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x3a8081(0x92)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x3a8081(0x92)])(),'capture':(0x0,yup_1[a4_0x3a8081(0xb9)])()[a4_0x3a8081(0x98)]({'includeNodeModules':(0x0,yup_1[a4_0x3a8081(0x91)])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxProperties':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxVariableSize':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x3a8081(0x92)])()}),'internal':(0x0,yup_1[a4_0x3a8081(0xb9)])()[a4_0x3a8081(0x98)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x3a8081(0x92)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x3a8081(0x91)])(),'lambdaDebugLogs':(0x0,yup_1[a4_0x3a8081(0x91)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x3a8081(0x91)])(),'testMode_':(0x0,yup_1[a4_0x3a8081(0x91)])(),'apiEndpoint':(0x0,yup_1[a4_0x3a8081(0xb6)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1[a4_0x3a8081(0xb9)])()[a4_0x3a8081(0x98)]({'agentLogTargetDir':(0x0,yup_1['string'])(),'agentLogMaxFileSizeMb':(0x0,yup_1['number'])(),'agentLogMaxFileCount':(0x0,yup_1['number'])(),'agentLogLevel':(0x0,yup_1[a4_0x3a8081(0xb6)])()[a4_0x3a8081(0xa1)](['debug',a4_0x3a8081(0xb0),'warn',a4_0x3a8081(0x96)]),'stdErrThreshold':(0x0,yup_1[a4_0x3a8081(0xb6)])()[a4_0x3a8081(0xa1)]([a4_0x3a8081(0x97),a4_0x3a8081(0xb0),a4_0x3a8081(0x99),'error',a4_0x3a8081(0xbc)]),'collectCooldownMs':(0x0,yup_1['number'])(),'maxLogFileBytes':(0x0,yup_1[a4_0x3a8081(0x92)])()}),'pinnedCerts':(0x0,yup_1[a4_0x3a8081(0xb2)])()['of']((0x0,yup_1[a4_0x3a8081(0xb6)])()),'noCheckCertificate':(0x0,yup_1[a4_0x3a8081(0x91)])(),'caPath':(0x0,yup_1[a4_0x3a8081(0xb6)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x3a8081(0x92)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x3a8081(0x92)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x3a8081(0x92)])(),'quota':(0x0,yup_1[a4_0x3a8081(0xb9)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxCPUCost':(0x0,yup_1['number'])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x3a8081(0x92)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x3a8081(0x92)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x3a8081(0x92)])()}),'agentConfigFile':(0x0,yup_1[a4_0x3a8081(0xb6)])(),'fetchBreakpointsOnce':(0x0,yup_1['boolean'])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x3a8081(0x92)])(),'lightrunWaitForInit':(0x0,yup_1['boolean'])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x3a8081(0x92)])(),'extraPaths':(0x0,yup_1[a4_0x3a8081(0xb2)])()['of']((0x0,yup_1[a4_0x3a8081(0xb6)])()),'redactionEnabled':(0x0,yup_1[a4_0x3a8081(0x91)])(),'proxy':(0x0,yup_1[a4_0x3a8081(0xb9)])()[a4_0x3a8081(0x98)]({'host':(0x0,yup_1[a4_0x3a8081(0xb6)])(),'port':(0x0,yup_1[a4_0x3a8081(0x92)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1['string'])()})}),exports[a4_0x3a8081(0xc0)]={'workingDirectory':process[a4_0x3a8081(0x9b)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x3a8081(0xae),a4_0x3a8081(0xb4)],'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':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x3a8081(0xc2)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x3a8081(0xb0),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x3a8081(0x94)],'noCheckCertificate':![],'caPath':a4_0x3a8081(0xa6),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x3a8081(0x93),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x21a060,_0x5e1936)=>{const _0x4ce4c4=a4_0x3a8081,_0x3fddef=Object[_0x4ce4c4(0x9f)](_0x21a060?.[_0x4ce4c4(0xa0)]??[]);_0x3fddef['length']&&_0x3fddef[_0x4ce4c4(0xab)](_0x55a776=>{const _0x1dded8=_0x4ce4c4;_0x5e1936[_0x1dded8(0x96)](_0x55a776);});},logConfigWarnings=(_0x1b510c,_0x319841)=>{const _0x2a47c2=a4_0x3a8081;_0x1b510c[_0x2a47c2(0xa8)]?.[_0x2a47c2(0xab)](_0x19123d=>{const _0x558278=_0x2a47c2;_0x319841[_0x558278(0x99)](_0x19123d);});};function a4_0x4450(){const _0x414b90=['errors','oneOf','110PNWmfW','search','(((.+)+)+)+$','toString','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','existsSync','warnings','40ypbMiW','!!!\x20NOT\x20SET\x20!!!','forEach','399ZfuIfa','yup','.js','9102609lLzrYn','info','constructor','array','apply','.mjs','set','string','5455920fwpQcY','86540XjLUiV','object','lightrunSecret','Agent\x20Configuration:\x20','none','22326akyXiu','50505DMpwOw','100UArazd','defaultConfig','181496QBICph','tmpdir','boolean','number','agent.config','c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5',',\x20\x20\x20the\x20file\x20','error','debug','shape','warn','configSchema','cwd','defineProperty','__esModule','640175mgOEOQ','values'];a4_0x4450=function(){return _0x414b90;};return a4_0x4450();}function logMainConfigParams(_0x5736d3,_0x4021ed){const _0x32a08a=a4_0x3a8081;let {agentConfigFile:_0x5b0808}=_0x5736d3;if(_0x5b0808){const _0x87d6f1=(0x0,fs_1[_0x32a08a(0xa7)])(_0x5736d3['agentConfigFile'])?'exists':'DOESN\x27T\x20EXIST';_0x5b0808+=_0x32a08a(0x95)+_0x87d6f1;}else _0x5b0808='not\x20set!';const _0x514b98={..._0x5736d3,'lightrunSecret':_0x5736d3[_0x32a08a(0xba)]?_0x32a08a(0xb5):_0x32a08a(0xaa),'agentConfigFile':_0x5b0808};_0x4021ed['debug'](_0x32a08a(0xbb),_0x514b98),logConfigWarnings(_0x5736d3,_0x4021ed),logConfigErrors(_0x5736d3,_0x4021ed);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a5_0x5d159d=a5_0xa903;(function(_0x29f728,_0x371d6f){var _0x3b5358=a5_0xa903,_0x4b2d9b=_0x29f728();while(!![]){try{var _0x2c5d1d=-parseInt(_0x3b5358(0x185))/0x1*(parseInt(_0x3b5358(0x189))/0x2)+-parseInt(_0x3b5358(0x187))/0x3*(-parseInt(_0x3b5358(0x174))/0x4)+parseInt(_0x3b5358(0x16b))/0x5*(-parseInt(_0x3b5358(0x181))/0x6)+-parseInt(_0x3b5358(0x178))/0x7*(parseInt(_0x3b5358(0x17f))/0x8)+parseInt(_0x3b5358(0x184))/0x9*(parseInt(_0x3b5358(0x170))/0xa)+-parseInt(_0x3b5358(0x17d))/0xb+parseInt(_0x3b5358(0x16d))/0xc;if(_0x2c5d1d===_0x371d6f)break;else _0x4b2d9b['push'](_0x4b2d9b['shift']());}catch(_0xa67690){_0x4b2d9b['push'](_0x4b2d9b['shift']());}}}(a5_0x5a6e,0xc364e));var a5_0x3f3da7=(function(){var _0x22ebc5=!![];return function(_0x21f2e8,_0x25bcb8){var _0x4ef17c=_0x22ebc5?function(){var _0x4fef23=a5_0xa903;if(_0x25bcb8){var _0x5516bf=_0x25bcb8[_0x4fef23(0x16e)](_0x21f2e8,arguments);return _0x25bcb8=null,_0x5516bf;}}:function(){};return _0x22ebc5=![],_0x4ef17c;};}()),a5_0x52459d=a5_0x3f3da7(this,function(){var _0x1846fb=a5_0xa903;return a5_0x52459d[_0x1846fb(0x17b)]()[_0x1846fb(0x16c)](_0x1846fb(0x183))['toString']()[_0x1846fb(0x176)](a5_0x52459d)[_0x1846fb(0x16c)](_0x1846fb(0x183));});a5_0x52459d();function a5_0x5a6e(){var _0x3c67f4=['apply','getMaxProperties','10IuBFEw','maxVariableSize','maxProperties','defineProperty','2232bFsUyA','maxStringLength','constructor','maxWatchProperties','1868055YZjPAE','getMaxWatchListVariableSize','maxSnapshotBufferSize','toString','__esModule','15324694aPEPhr','capture','8DXHnlq','maxWatchListVariableSize','25938CWpjCD','resolvedDebugAgentConfig','(((.+)+)+)+$','13690323exOaLm','146924OmBmIo','ConfigurationProvider','855hSbNvK','maxDataSize','4PoupNU','1535btnHtY','search','28814220OodLjG'];a5_0x5a6e=function(){return _0x3c67f4;};return a5_0x5a6e();}'use strict';Object[a5_0x5d159d(0x173)](exports,a5_0x5d159d(0x17c),{'value':!![]}),exports['ConfigurationProvider']=void 0x0;function a5_0xa903(_0x447f3b,_0x3b5ad1){var _0x489c52=a5_0x5a6e();return a5_0xa903=function(_0x52459d,_0x3f3da7){_0x52459d=_0x52459d-0x16b;var _0x5a6ed8=_0x489c52[_0x52459d];return _0x5a6ed8;},a5_0xa903(_0x447f3b,_0x3b5ad1);}class ConfigurationProvider{constructor(_0x155c7d){this['resolvedDebugAgentConfig']=_0x155c7d;}['getMaxVariableSize'](){var _0x1717b3=a5_0x5d159d;return this[_0x1717b3(0x182)][_0x1717b3(0x17e)][_0x1717b3(0x175)]||this[_0x1717b3(0x182)][_0x1717b3(0x17e)][_0x1717b3(0x171)];}[a5_0x5d159d(0x179)](){var _0x4570c8=a5_0x5d159d;return this[_0x4570c8(0x182)][_0x4570c8(0x17e)][_0x4570c8(0x180)];}['getMaxSnapshotBufferSize'](){var _0x570226=a5_0x5d159d;return this[_0x570226(0x182)][_0x570226(0x17e)][_0x570226(0x188)]||this[_0x570226(0x182)][_0x570226(0x17e)][_0x570226(0x17a)];}[a5_0x5d159d(0x16f)](_0x47c1b4){var _0x3a43ff=a5_0x5d159d;return _0x47c1b4?this[_0x3a43ff(0x182)][_0x3a43ff(0x17e)][_0x3a43ff(0x177)]:this[_0x3a43ff(0x182)]['capture'][_0x3a43ff(0x172)];}}exports[a5_0x5d159d(0x186)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x365341=a6_0x5d4e;(function(_0x130a6b,_0x473b70){const _0x443980=a6_0x5d4e,_0x165613=_0x130a6b();while(!![]){try{const _0x2d97f8=parseInt(_0x443980(0x284))/0x1*(parseInt(_0x443980(0x26b))/0x2)+-parseInt(_0x443980(0x262))/0x3*(parseInt(_0x443980(0x1f0))/0x4)+-parseInt(_0x443980(0x265))/0x5*(-parseInt(_0x443980(0x1f5))/0x6)+parseInt(_0x443980(0x231))/0x7+parseInt(_0x443980(0x207))/0x8*(-parseInt(_0x443980(0x235))/0x9)+-parseInt(_0x443980(0x1f7))/0xa+parseInt(_0x443980(0x244))/0xb*(parseInt(_0x443980(0x203))/0xc);if(_0x2d97f8===_0x473b70)break;else _0x165613['push'](_0x165613['shift']());}catch(_0x5ad408){_0x165613['push'](_0x165613['shift']());}}}(a6_0x69b0,0x86237));const a6_0x42a976=(function(){let _0x47221d=!![];return function(_0x45c9d1,_0x4f6613){const _0x759ea4=_0x47221d?function(){const _0x2280bf=a6_0x5d4e;if(_0x4f6613){const _0x2892b7=_0x4f6613[_0x2280bf(0x23d)](_0x45c9d1,arguments);return _0x4f6613=null,_0x2892b7;}}:function(){};return _0x47221d=![],_0x759ea4;};}()),a6_0x1c16d6=a6_0x42a976(this,function(){const _0x296fd4=a6_0x5d4e;return a6_0x1c16d6[_0x296fd4(0x27e)]()['search'](_0x296fd4(0x22e))[_0x296fd4(0x27e)]()[_0x296fd4(0x269)](a6_0x1c16d6)['search'](_0x296fd4(0x22e));});a6_0x1c16d6();'use strict';function a6_0x69b0(){const _0x29d486=['statSync','listBreakpointsAsync','waiting\x20for\x20active\x20transmission','breakpointId:\x20','\x20Error:\x20','enqueueBreakpointUpdate','nextWaitToken','noCheckCertificate','toString','Bearer\x20','timeout\x20set\x20to\x20','number','Update\x20for\x20breakpoints\x20','request','470891VqsYfT','Deregister\x20agent\x20before\x20shutdown','then','pubkey','waitForTransmissionQueueDrain','error','Breakpoint\x20','logger','unable\x20to\x20register,\x20status\x20','waitFor','floor','transmission\x20queue\x20is\x20empty','transmitBreakpointUpdates','application/octet-stream','@google-cloud/common','axios','abort','16LTHHVH','invalid\x20response\x20body\x20from\x20server','data','shift','js-yaml','49404ihslsQ','sendBreakpointLogsToServer','7466810rpsxPx','serializedJson','signal','update','transmissionBulkMaxSize','maxLogFileBytes','ascii','response',',\x20username:\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Getting\x20blocklist','168684bxUeae','body','/redaction','\x20transmitted\x20successfully','5128qswYdv','\x20size\x20is\x20','length','getJsonStringSizeInBytes','waitToken','Successfully\x20sent\x20log\x20file\x20','secureContext','readFileSync','info','getRedactions','assert','createReadStream','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','status','transmissionBulkMaxNetworkSizeInBytes','stringify','/breakpoints?','\x20seconds','./util/utils','transmissionTimeout','debug','transmission\x20queue\x20is\x20not\x20empty,\x20waiting\x20','/deregister/','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','password','tls','debuggee','agentLog','/appOnlyActionHits/','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','https-proxy-agent','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','port','/compressedLogFileV2/','Controller','transmissionHardMaxNetworkSizeLimitInBytes','listBreakpointsAbortController','Certificate\x20Pinning\x20Failed!','failed\x20to\x20serialize\x20breakpoint\x20','(((.+)+)+)+$','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','deregister','2505013GAcmjB','apiUrl','application/json','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','1359TDpJan','Transmitting\x20breakpoint\x20updates...','stream',',\x20Message:\x20','activeTransmission','lastLogCollectionTime','transmissionQueue','warn','apply','method','extend','Agent','\x20and\x20enqueue\x20to\x20queue','bind','config','451fDkqil','message','hex','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','lightrunSecret','caPath','makeRequest','Failed\x20to\x20read\x20pem\x20file\x20\x22','now','sha256','defineProperty','username','should\x20have\x20a\x20registered\x20debuggee','Getting\x20reductions','toBuffer','\x20for\x20request\x20','stop','connect',',\x20sending\x20only\x20one','push','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','uri','unknown\x20error\x20-\x20request\x20response\x20missing','HttpsProxyAgent','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','getBlocklist','breakpoint\x20','https','ServiceObject','Queue\x20drain\x20timeout\x20after\x20','144999eKMvjX','/controller','Failed\x20to\x20zip\x20','110oipMpp','finally','map','context','constructor','https://','2AxZBPs','http://','PUT','register','createSecureContext','create','/log/','includes','reject','host','POST'];a6_0x69b0=function(){return _0x29d486;};return a6_0x69b0();}Object[a6_0x365341(0x24e)](exports,'__esModule',{'value':!![]}),exports[a6_0x365341(0x229)]=void 0x0;const common_1=require(a6_0x365341(0x1ed)),assert=require(a6_0x365341(0x211)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require('zlib'),stream_1=require(a6_0x365341(0x237)),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x365341(0x220)),extend=require(a6_0x365341(0x23f)),axios_1=require(a6_0x365341(0x1ee)),https=require(a6_0x365341(0x25f)),utils_1=require(a6_0x365341(0x219)),https_proxy_agent_1=require(a6_0x365341(0x225)),yaml=require(a6_0x365341(0x1f4)),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_0x365341(0x260)]{constructor(_0x59f73c,_0x25f2b4,_0x451390){const _0x3d95d1=a6_0x365341;super({'parent':_0x59f73c,'baseUrl':_0x3d95d1(0x263)}),this[_0x3d95d1(0x27c)]=null,this['config']=_0x25f2b4,this['transmissionQueue']=[],this[_0x3d95d1(0x1e6)]=_0x451390,this[_0x3d95d1(0x232)]=_0x3d95d1(0x26a)+_0x25f2b4['apiEndpoint']+'/debuggees/',this[_0x3d95d1(0x1ee)]=axios_1['default'][_0x3d95d1(0x270)]({'httpsAgent':getProxyAgent(_0x25f2b4,_0x451390)??new https[(_0x3d95d1(0x240))](getHttpsAgentOptions(_0x25f2b4,_0x451390)),'proxy':![]});}[a6_0x365341(0x26e)](_0x1b7cc0,_0x45cc94){const _0x1b8475=a6_0x365341,_0x2f705d={'uri':this[_0x1b8475(0x232)]+_0x1b8475(0x26e),'method':'POST','json':!![],'body':{'debuggee':_0x1b7cc0}};this['makeRequest'](_0x2f705d,(_0x5d08c7,_0x351351,_0x3d5d03)=>{const _0x4beeca=_0x1b8475;if(!_0x3d5d03)_0x45cc94(_0x5d08c7??new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x5d08c7){let _0x12e4a2=![];_0x3d5d03['status']===HTTP_UPGRADE_REQUIRED&&_0x351351&&(_0x351351['message']!==undefined&&(_0x5d08c7[_0x4beeca(0x245)]=_0x351351[_0x4beeca(0x245)]),_0x12e4a2=!![]),_0x45cc94(_0x5d08c7,_0x351351,_0x12e4a2);}else{if(_0x3d5d03['status']!==HTTP_SUCCESS)_0x45cc94(new Error(_0x4beeca(0x1e7)+_0x3d5d03[_0x4beeca(0x214)]));else!_0x351351?.[_0x4beeca(0x221)]?_0x45cc94(new Error(_0x4beeca(0x1f1))):(_0x1b7cc0['id']=_0x351351[_0x4beeca(0x221)]['id'],_0x45cc94(null,_0x351351));}}});}['listBreakpoints'](_0x3f3bae,_0x4940ed,_0x58c88a){const _0x2e3bab=a6_0x365341;assert(_0x3f3bae['id'],_0x2e3bab(0x250));const _0x50a35c={'successOnTimeout':!![]};this[_0x2e3bab(0x27c)]&&(_0x50a35c[_0x2e3bab(0x20b)]=this['nextWaitToken']);const _0x3bcbfe=this[_0x2e3bab(0x232)]+encodeURIComponent(_0x3f3bae['id'])+_0x2e3bab(0x217)+qs['stringify'](_0x50a35c);this[_0x2e3bab(0x24a)]({'uri':_0x3bcbfe,'json':!![]},(_0x156faf,_0x4e524a,_0x3291d8)=>{const _0x326b56=_0x2e3bab;if(!_0x3291d8){_0x4940ed(_0x156faf??new Error(_0x326b56(0x25a)));return;}else{if(!is2xx(_0x3291d8[_0x326b56(0x214)])){_0x4940ed(new Error(_0x326b56(0x234)+_0x3291d8[_0x326b56(0x214)]),undefined,_0x3291d8);return;}else _0x4e524a&&(this[_0x326b56(0x27c)]=_0x4e524a[_0x326b56(0x27c)]),_0x4940ed(null,_0x4e524a,_0x3291d8);}},_0x58c88a,this['listBreakpointsAbortController']=new AbortController());}async[a6_0x365341(0x277)](_0x245b06,_0x53e858){return new Promise((_0x249acb,_0x489b81)=>{this['listBreakpoints'](_0x245b06,(_0x3e72b4,_0x5ce9d0,_0x30498e)=>{_0x3e72b4?_0x489b81(_0x3e72b4):_0x249acb({'err':_0x3e72b4,'response':_0x30498e,'result':_0x5ce9d0});},_0x53e858);});}[a6_0x365341(0x27b)](_0x3b74f3,_0x4c55ec){const _0xb6de34=a6_0x365341;assert(_0x3b74f3['id'],_0xb6de34(0x250));try{const _0x54a733=JSON[_0xb6de34(0x216)](_0x4c55ec),_0xcd0827=(0x0,utils_1[_0xb6de34(0x20a)])(_0x54a733);if(_0xcd0827>=this[_0xb6de34(0x243)][_0xb6de34(0x22a)]){this['logger']['warn'](_0xb6de34(0x279)+_0x4c55ec['id']+_0xb6de34(0x208)+_0xcd0827+_0xb6de34(0x247)+this[_0xb6de34(0x243)][_0xb6de34(0x22a)]);return;}this['transmissionQueue']['push']({'id':_0x4c55ec['id'],'serializedJson':_0x54a733,'number':0x0}),this[_0xb6de34(0x21a)]??(this['transmissionTimeout']=setTimeout(()=>this['transmitBreakpointUpdates']['bind'](this)(_0x3b74f3['id']),0x0));}catch(_0x58a432){this['logger'][_0xb6de34(0x1e4)](_0xb6de34(0x22d)+_0x4c55ec['id']+_0xb6de34(0x241),_0x58a432);return;}}[a6_0x365341(0x254)](){const _0x13272e=a6_0x365341;this[_0x13272e(0x22b)]?.[_0x13272e(0x1ef)](),this[_0x13272e(0x22b)]=undefined;if(!this[_0x13272e(0x21a)])return;clearTimeout(this[_0x13272e(0x21a)]),this[_0x13272e(0x21a)]=null;}async[a6_0x365341(0x288)](_0x4012df){const _0x2a133a=a6_0x365341,_0x2b4f40=Date[_0x2a133a(0x24c)]();while(Date[_0x2a133a(0x24c)]()-_0x2b4f40<_0x4012df){const _0x369466=this[_0x2a133a(0x23b)][_0x2a133a(0x209)]===0x0,_0x32288b=!this[_0x2a133a(0x21a)],_0x496e95=!this['activeTransmission'];if(_0x369466&&_0x32288b&&_0x496e95){this[_0x2a133a(0x1e6)][_0x2a133a(0x21b)](_0x2a133a(0x1ea));return;}this[_0x2a133a(0x239)]&&(this['logger'][_0x2a133a(0x21b)](_0x2a133a(0x278)),await this[_0x2a133a(0x239)]);const _0x5a8c7b=0x32;this[_0x2a133a(0x1e6)][_0x2a133a(0x21b)](_0x2a133a(0x21c)+_0x5a8c7b+'ms\x20before\x20checking\x20again'),await(0x0,utils_1[_0x2a133a(0x1e8)])(_0x5a8c7b);}throw new Error(_0x2a133a(0x261)+_0x4012df+'ms.\x20Queue\x20length:\x20'+this['transmissionQueue'][_0x2a133a(0x209)]);}[a6_0x365341(0x230)](_0x4e5d09,_0x361fb9){const _0x5713bf=a6_0x365341,_0x40d4b0=this[_0x5713bf(0x232)]+encodeURIComponent(_0x4e5d09['id'])+_0x5713bf(0x21d),_0x5b2f46={'uri':_0x40d4b0,'method':_0x5713bf(0x275),'json':!![]};this[_0x5713bf(0x1e6)][_0x5713bf(0x20f)](_0x5713bf(0x285)),this[_0x5713bf(0x24a)](_0x5b2f46,(_0x34db3b,_0x56f353,_0x14016c)=>{const _0x3d1b01=_0x5713bf;(!_0x14016c||Math[_0x3d1b01(0x1e9)](_0x14016c[_0x3d1b01(0x214)]/0x64)!==0x2)&&this[_0x3d1b01(0x1e6)][_0x3d1b01(0x23c)](_0x3d1b01(0x258)+_0x34db3b),_0x361fb9(_0x34db3b);});}[a6_0x365341(0x1f6)](_0x16bc4f,_0x2e7286,_0x15831c){const _0x26ae8f=a6_0x365341,_0x1348cc=this['apiUrl']+encodeURIComponent(_0x16bc4f['id'])+_0x26ae8f(0x271),_0xdaf1f1={'uri':_0x1348cc,'method':_0x26ae8f(0x275),'json':!![],'body':_0x2e7286};this[_0x26ae8f(0x24a)](_0xdaf1f1,(_0x357feb,_0x58c93c,_0x26dc06)=>{const _0x19f913=_0x26ae8f;(!_0x26dc06||Math['floor'](_0x26dc06[_0x19f913(0x214)]/0x64)!==0x2)&&(this['logger'][_0x19f913(0x23c)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x357feb),_0x15831c(_0x357feb));});}['sendAppOnlyBreakpointHitsToServer'](_0x3571e0,_0x4701e1,_0x147528){const _0x56218a=a6_0x365341,_0x2d5b9e=this['apiUrl']+encodeURIComponent(_0x3571e0['id'])+_0x56218a(0x223),_0x1e29e6={'uri':_0x2d5b9e,'method':'POST','json':!![],'body':_0x4701e1};this[_0x56218a(0x24a)](_0x1e29e6,(_0x115a29,_0x1c2153,_0x19f3cb)=>{const _0x292173=_0x56218a;(!_0x19f3cb||Math[_0x292173(0x1e9)](_0x19f3cb[_0x292173(0x214)]/0x64)!==0x2)&&(this['logger'][_0x292173(0x23c)](_0x292173(0x201)+_0x115a29),_0x147528(_0x115a29));});}['sendAgentLogsToServer'](_0x1c724d,_0x10bd97,_0x1bd473){const _0x4b49db=a6_0x365341;assert(_0x1c724d['id'],_0x4b49db(0x250));if(this[_0x4b49db(0x23a)]){const _0x2f5093=Date[_0x4b49db(0x24c)](),_0xab9ef5=this['lastLogCollectionTime']+this[_0x4b49db(0x243)][_0x4b49db(0x222)]['collectCooldownMs'];if(_0x2f5093<_0xab9ef5){this[_0x4b49db(0x1e6)][_0x4b49db(0x20f)](_0x4b49db(0x22f)+(_0xab9ef5-_0x2f5093)/0x3e8+_0x4b49db(0x218));return;}}const _0x35f33a=(0x0,fs_1[_0x4b49db(0x276)])(_0x1bd473)['size'],_0x5237c0=Math['max'](0x0,_0x35f33a-this[_0x4b49db(0x243)][_0x4b49db(0x222)][_0x4b49db(0x1fc)]),_0x4bf26a=(0x0,fs_1[_0x4b49db(0x212)])(_0x1bd473,{'start':_0x5237c0}),_0x5e3761=(0x0,zlib_1['createGzip'])(),_0x209105=new memory_streams_1['WritableStream']();this[_0x4b49db(0x1e6)][_0x4b49db(0x20f)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x1bd473+'\x20for\x20request\x20id\x20'+_0x10bd97),(0x0,stream_1['pipeline'])(_0x4bf26a,_0x5e3761,_0x209105,_0x22897b=>{const _0x1f3624=_0x4b49db;if(_0x22897b)this[_0x1f3624(0x1e6)][_0x1f3624(0x1e4)](_0x1f3624(0x264)+_0x1bd473+':\x20'+_0x22897b);else{const _0x33c3f4={'uri':this[_0x1f3624(0x232)]+encodeURIComponent(_0x1c724d['id'])+_0x1f3624(0x228)+_0x10bd97,'method':_0x1f3624(0x26d),'body':_0x209105[_0x1f3624(0x252)](),'headers':{'Content-Type':_0x1f3624(0x1ec)}};this['makeRequest'](_0x33c3f4,_0x10c1a3=>{const _0x4fb463=_0x1f3624;_0x10c1a3?this['logger'][_0x4fb463(0x1e4)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x1bd473+'\x20for\x20request\x20'+_0x10bd97,_0x10c1a3):(this[_0x4fb463(0x1e6)]['info'](_0x4fb463(0x20c)+_0x1bd473+_0x4fb463(0x253)+_0x10bd97),this[_0x4fb463(0x23a)]=Date[_0x4fb463(0x24c)]());});}});}[a6_0x365341(0x1eb)](_0x3c43c2){const _0x3e1c4b=a6_0x365341;this[_0x3e1c4b(0x1e6)]['debug'](_0x3e1c4b(0x236)),this[_0x3e1c4b(0x21a)]=undefined;const _0xa2369f=[];let _0x26104e=0x0;while(_0xa2369f[_0x3e1c4b(0x209)]<this[_0x3e1c4b(0x243)][_0x3e1c4b(0x1fb)]&&this[_0x3e1c4b(0x23b)][_0x3e1c4b(0x209)]>0x0){const [_0x16810b]=this[_0x3e1c4b(0x23b)],_0x74176d=_0x16810b[_0x3e1c4b(0x1f8)],_0x41c0d0=(0x0,utils_1[_0x3e1c4b(0x20a)])(_0x74176d);_0x26104e+=_0x41c0d0;if(_0x26104e<=this[_0x3e1c4b(0x243)][_0x3e1c4b(0x215)])_0xa2369f[_0x3e1c4b(0x257)](_0x16810b),this['transmissionQueue'][_0x3e1c4b(0x1f3)]();else{_0x41c0d0>this[_0x3e1c4b(0x243)][_0x3e1c4b(0x215)]&&_0xa2369f[_0x3e1c4b(0x209)]===0x0&&(this[_0x3e1c4b(0x1e6)][_0x3e1c4b(0x21b)](_0x3e1c4b(0x25e)+_0x16810b['id']+_0x3e1c4b(0x200)+this[_0x3e1c4b(0x243)]['transmissionBulkMaxNetworkSizeInBytes']+_0x3e1c4b(0x256)),_0xa2369f[_0x3e1c4b(0x257)](_0x16810b),this['transmissionQueue'][_0x3e1c4b(0x1f3)]());break;}}if(!_0xa2369f)return;const _0xf2df54=_0xa2369f[_0x3e1c4b(0x267)](_0x825c13=>_0x825c13['id']),_0x2e4d89={'uri':this[_0x3e1c4b(0x232)]+encodeURIComponent(_0x3c43c2)+'/breakpoints','json':!![],'method':_0x3e1c4b(0x26d),'body':'['+_0xa2369f[_0x3e1c4b(0x267)](_0x4cbdc4=>_0x4cbdc4[_0x3e1c4b(0x1f8)])['join'](',')+']'};try{this[_0x3e1c4b(0x239)]=this[_0x3e1c4b(0x24a)](_0x2e4d89,(_0x165e7f,_0x9a3be8,_0x5ac36a)=>{const _0x4e4ae3=_0x3e1c4b,_0x114113=_0x5ac36a?.[_0x4e4ae3(0x214)];this[_0x4e4ae3(0x1e6)][_0x4e4ae3(0x21b)]('Update\x20for\x20breakpoints\x20'+_0xf2df54+'\x20finished\x20with\x20status\x20'+_0x114113);if(_0x165e7f||!_0x114113||Math[_0x4e4ae3(0x1e9)](_0x114113/0x64)!==0x2){const _0x36baad=_0x114113&&(_0x114113>=0x1f4||_0x114113===0x198);if(_0x36baad){this[_0x4e4ae3(0x1e6)]['warn'](_0x4e4ae3(0x224)+_0xf2df54+_0x4e4ae3(0x21e)+_0x114113+_0x4e4ae3(0x27a)+_0x165e7f);for(const _0xb85177 of _0xa2369f){_0xb85177['number']<MAX_FAILED_SEND_ATTEMPTS?this[_0x4e4ae3(0x23b)][_0x4e4ae3(0x257)]({..._0xb85177,'number':_0xb85177[_0x4e4ae3(0x281)]+0x1}):this[_0x4e4ae3(0x1e6)]['warn'](_0x4e4ae3(0x1e5)+_0xb85177['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else this[_0x4e4ae3(0x1e6)][_0x4e4ae3(0x23c)](_0x4e4ae3(0x213)+_0xf2df54+_0x4e4ae3(0x21e)+_0x114113+_0x4e4ae3(0x27a)+_0x165e7f);}else this[_0x4e4ae3(0x1e6)][_0x4e4ae3(0x20f)](_0x4e4ae3(0x282)+_0xf2df54+_0x4e4ae3(0x206));this['transmissionQueue'][_0x4e4ae3(0x209)]>0x0&&(this[_0x4e4ae3(0x21a)]=setTimeout(()=>this[_0x4e4ae3(0x1eb)]['bind'](this)(_0x3c43c2),0x0));},0x28)[_0x3e1c4b(0x266)](()=>{const _0x59432d=_0x3e1c4b;this[_0x59432d(0x239)]=undefined;});}catch(_0x17d9e0){this[_0x3e1c4b(0x1e6)]['warn'](_0x3e1c4b(0x213)+_0xf2df54+_0x3e1c4b(0x25c)+_0x17d9e0+_0x3e1c4b(0x238)+_0x17d9e0[_0x3e1c4b(0x1f2)]?.[_0x3e1c4b(0x245)]),this[_0x3e1c4b(0x23b)]['length']>0x0&&(this[_0x3e1c4b(0x21a)]=setTimeout(()=>this['transmitBreakpointUpdates']['bind'](this)(_0x3c43c2),0x0)),this[_0x3e1c4b(0x239)]=undefined;}}async[a6_0x365341(0x25d)](_0x374701){const _0x2ae29d=a6_0x365341;this[_0x2ae29d(0x1e6)][_0x2ae29d(0x20f)](_0x2ae29d(0x202));const _0xe7db9=this[_0x2ae29d(0x232)]+encodeURIComponent(_0x374701)+'/blacklist?successOnTimeout=true',{error:_0x191725,data:_0x360b25}=await this[_0x2ae29d(0x24a)]({'uri':_0xe7db9,'json':!![]});if(_0x191725)return Promise[_0x2ae29d(0x273)](_0x191725);return yaml['load'](_0x360b25)??{};}[a6_0x365341(0x24a)](_0x44d188,_0x116c52,_0x1ff37e,_0x2b9bad,_0x54e6e8){const _0xfe157c=a6_0x365341,_0x5576c5={'Content-Type':_0x54e6e8??_0xfe157c(0x233),'Authorization':_0xfe157c(0x27f)+this[_0xfe157c(0x243)][_0xfe157c(0x248)]},_0x3484a8=_0x2b9bad??new AbortController(),_0x2b27ba=_0x1ff37e?_0x1ff37e*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0xfe157c(0x1e6)][_0xfe157c(0x21b)](_0xfe157c(0x280)+_0x2b27ba);const _0x235b13=setTimeout(()=>{const _0x1783a7=_0xfe157c;this[_0x1783a7(0x1e6)]['warn']('Timeout\x20occurred\x20after\x20'+_0x2b27ba+'ms'),_0x3484a8['abort']();},_0x2b27ba),_0x1ddac5={'method':_0x44d188[_0xfe157c(0x23e)],'url':_0x44d188[_0xfe157c(0x259)],'data':_0x44d188[_0xfe157c(0x204)],'headers':_0x5576c5,'signal':_0x3484a8[_0xfe157c(0x1f9)]};return extend(!![],_0x1ddac5,_0x44d188),this['axios'][_0xfe157c(0x283)](_0x1ddac5)[_0xfe157c(0x286)](_0x7405dc=>{const _0x329214=_0xfe157c;return _0x116c52?.(null,_0x7405dc[_0x329214(0x1f2)],_0x7405dc),{'error':null,'data':_0x7405dc[_0x329214(0x1f2)],'res':_0x7405dc};})['catch'](_0x25e78a=>{const _0x133167=_0xfe157c;return _0x116c52?.(_0x25e78a,_0x25e78a[_0x133167(0x1fe)]?.[_0x133167(0x1f2)],_0x25e78a[_0x133167(0x1fe)]),{'error':_0x25e78a,'data':_0x25e78a['response']?.[_0x133167(0x1f2)],'res':_0x25e78a[_0x133167(0x1fe)]};})[_0xfe157c(0x266)](()=>clearTimeout(_0x235b13));}async[a6_0x365341(0x210)](_0x17354e){const _0x424fcc=a6_0x365341;this[_0x424fcc(0x1e6)]['info'](_0x424fcc(0x251));const _0x2ce719=this[_0x424fcc(0x232)]+encodeURIComponent(_0x17354e)+_0x424fcc(0x205),{error:_0x4f7e9c,data:_0x4a2692}=await this[_0x424fcc(0x24a)]({'uri':_0x2ce719,'json':!![]});if(_0x4f7e9c)return Promise[_0x424fcc(0x273)](_0x4f7e9c);return _0x4a2692;}}function a6_0x5d4e(_0x2c25c4,_0x370ac2){const _0x1f2abb=a6_0x69b0();return a6_0x5d4e=function(_0x1c16d6,_0x42a976){_0x1c16d6=_0x1c16d6-0x1e4;let _0x69b07b=_0x1f2abb[_0x1c16d6];return _0x69b07b;},a6_0x5d4e(_0x2c25c4,_0x370ac2);}exports[a6_0x365341(0x229)]=Controller;function is2xx(_0x4f84b2){const _0x24f014=a6_0x365341;return Math[_0x24f014(0x1e9)](_0x4f84b2/0x64)===0x2;}function getProxyAgent(_0x35044e,_0x50e255){const _0x4a8edd=a6_0x365341,{proxy:_0x1799b1}=_0x35044e;if(!_0x1799b1?.[_0x4a8edd(0x274)])return undefined;if(!_0x1799b1[_0x4a8edd(0x227)])return _0x50e255[_0x4a8edd(0x1e4)](_0x4a8edd(0x226)),undefined;_0x50e255['info']('Using\x20proxy\x20configuration:\x20'+_0x1799b1[_0x4a8edd(0x274)]+':'+_0x1799b1[_0x4a8edd(0x227)]+_0x4a8edd(0x1ff)+(_0x1799b1[_0x4a8edd(0x24f)]??''));const _0x2c16af=new URL(_0x4a8edd(0x26c)+_0x1799b1[_0x4a8edd(0x274)]);_0x2c16af[_0x4a8edd(0x227)]=String(_0x1799b1[_0x4a8edd(0x227)]);_0x1799b1[_0x4a8edd(0x24f)]&&(_0x2c16af[_0x4a8edd(0x24f)]=_0x1799b1[_0x4a8edd(0x24f)]);_0x1799b1['password']&&(_0x2c16af[_0x4a8edd(0x21f)]=_0x1799b1[_0x4a8edd(0x21f)]);const _0x2c7b1b=new https_proxy_agent_1[(_0x4a8edd(0x25b))](_0x2c16af),_0x484eb5=getHttpsAgentOptions(_0x35044e,_0x50e255),_0x582992=_0x2c7b1b[_0x4a8edd(0x255)][_0x4a8edd(0x242)](_0x2c7b1b);return _0x2c7b1b[_0x4a8edd(0x255)]=(_0x27a679,_0x5aee76)=>_0x582992(_0x27a679,{..._0x5aee76,..._0x484eb5}),_0x2c7b1b;}function getHttpsAgentOptions(_0x11cca9,_0xc39251){const _0x4099f5=a6_0x365341,_0x477abd={'checkServerIdentity':(_0x1242cd,_0x4394b6)=>{const _0x54d15c=a6_0x5d4e;if(_0x11cca9[_0x54d15c(0x27d)])return undefined;const _0x29013c=(0x0,crypto_1['createHash'])(_0x54d15c(0x24d))[_0x54d15c(0x1fa)](_0x4394b6[_0x54d15c(0x287)])['digest'](_0x54d15c(0x246));return _0x11cca9['pinnedCerts'][_0x54d15c(0x272)](_0x29013c)?undefined:new Error(_0x54d15c(0x22c));}};let _0x567be6;if(_0x11cca9['caPath'])try{_0x567be6=(0x0,fs_1[_0x4099f5(0x20e)])(_0x11cca9[_0x4099f5(0x249)],_0x4099f5(0x1fd));}catch{_0xc39251['warn'](_0x4099f5(0x24b)+_0x11cca9[_0x4099f5(0x249)]+'\x22\x20-\x20ignoring\x20it');}if(_0x567be6){const _0xa07e72=(0x0,tls_1[_0x4099f5(0x26f)])(_0x477abd);_0xa07e72[_0x4099f5(0x268)]['addCACert'](_0x567be6),_0x477abd[_0x4099f5(0x20d)]=_0xa07e72;}return _0x477abd;}
|
|
1
|
+
const a6_0x21c419=a6_0x23e5;(function(_0x10f6ff,_0x3bcda2){const _0x11707e=a6_0x23e5,_0x21363b=_0x10f6ff();while(!![]){try{const _0x2a3a58=parseInt(_0x11707e(0x137))/0x1*(-parseInt(_0x11707e(0x115))/0x2)+parseInt(_0x11707e(0xe3))/0x3+-parseInt(_0x11707e(0x165))/0x4+parseInt(_0x11707e(0x10e))/0x5+-parseInt(_0x11707e(0x12d))/0x6+parseInt(_0x11707e(0x11f))/0x7*(parseInt(_0x11707e(0x10b))/0x8)+parseInt(_0x11707e(0x11b))/0x9;if(_0x2a3a58===_0x3bcda2)break;else _0x21363b['push'](_0x21363b['shift']());}catch(_0x3fbc06){_0x21363b['push'](_0x21363b['shift']());}}}(a6_0x3c9d,0x865fd));const a6_0x9c72b1=(function(){let _0x44d2dc=!![];return function(_0xd5c10e,_0x5dea44){const _0x318448=_0x44d2dc?function(){const _0x5b6b07=a6_0x23e5;if(_0x5dea44){const _0x26ffbd=_0x5dea44[_0x5b6b07(0x102)](_0xd5c10e,arguments);return _0x5dea44=null,_0x26ffbd;}}:function(){};return _0x44d2dc=![],_0x318448;};}()),a6_0x299470=a6_0x9c72b1(this,function(){const _0x52ae67=a6_0x23e5;return a6_0x299470[_0x52ae67(0x109)]()[_0x52ae67(0x13b)](_0x52ae67(0x116))[_0x52ae67(0x109)]()[_0x52ae67(0x152)](a6_0x299470)[_0x52ae67(0x13b)](_0x52ae67(0x116));});function a6_0x23e5(_0x400e86,_0x223da2){const _0x2aaac3=a6_0x3c9d();return a6_0x23e5=function(_0x299470,_0x9c72b1){_0x299470=_0x299470-0xc9;let _0x3c9d73=_0x2aaac3[_0x299470];return _0x3c9d73;},a6_0x23e5(_0x400e86,_0x223da2);}function a6_0x3c9d(){const _0x235199=['\x20finished\x20with\x20status\x20','catch','push','debuggee','nextWaitToken','status','transmission\x20queue\x20is\x20not\x20empty,\x20waiting\x20','update','toBuffer','create','\x20transmitted\x20successfully','should\x20have\x20a\x20registered\x20debuggee','breakpoint\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','default','Using\x20proxy\x20configuration:\x20','ascii','deregister','Certificate\x20Pinning\x20Failed!','warn','__esModule','map','apply','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','stream','then','\x20seconds','transmissionTimeout','data','toString','POST','8032bnfKsH','Agent',',\x20username:\x20','4270950MxChua','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','/breakpoints','now','transmissionBulkMaxSize','createReadStream','transmissionBulkMaxNetworkSizeInBytes','1342OVqlCh','(((.+)+)+)+$','lastLogCollectionTime','response','register','ms\x20before\x20checking\x20again','3020832ARWoNh','./util/utils','\x20for\x20request\x20id\x20','getBlocklist','3962zWsZWz','/redaction','length','max','waiting\x20for\x20active\x20transmission','Getting\x20blocklist','Failed\x20to\x20read\x20pem\x20file\x20\x22','failed\x20to\x20serialize\x20breakpoint\x20','transmission\x20queue\x20is\x20empty','includes','info','host','axios','waitToken','4608708VNhJoq','apiEndpoint','transmissionQueue','floor','isServerless','isTransmissionEnsured','connect','tls','caPath','port','321RIVtoL','readFileSync','enqueueBreakpointUpdate','makeRequest','search','Update\x20for\x20breakpoints\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','HttpsProxyAgent','debug','signal','shift','bind','Serverless','hex','Transmitting\x20breakpoint\x20updates...','unknown\x20error\x20-\x20request\x20response\x20missing','application/json','message','Controller','/compressedLogFileV2/','stringify','PUT','number','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','addCACert','Timeout\x20occurred\x20after\x20','timeout\x20set\x20to\x20','constructor','https://','/appOnlyActionHits/','/blacklist?successOnTimeout=true','/debuggees/','stop','/controller','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Compressing\x20and\x20sending\x20log\x20file\x20','lightrunSecret','\x20size\x20is\x20','waitForTransmissionQueueDrain','size','error','noCheckCertificate','Breakpoint\x20','Bearer\x20','https-proxy-agent','listBreakpointsAbortController','3603044pQzDZl','logger','collectCooldownMs','unable\x20to\x20register,\x20status\x20','maxLogFileBytes','context','listBreakpoints','username','pinnedCerts','\x20Error:\x20','assert','serializedJson','Deregister\x20agent\x20before\x20shutdown','invalid\x20response\x20body\x20from\x20server','request','Failed\x20to\x20zip\x20','defineProperty','activeTransmission','WritableStream','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','agentLog','pipeline','apiUrl','secureContext','waitFor','abort','/breakpoints?','statSync','reject','\x22\x20-\x20ignoring\x20it','2029695pagORY','listBreakpointsAsync','./serverless','config','getJsonStringSizeInBytes','password','transmitBreakpointUpdates','breakpointId:\x20','Failed\x20to\x20send\x20log\x20file\x20'];a6_0x3c9d=function(){return _0x235199;};return a6_0x3c9d();}a6_0x299470();'use strict';Object[a6_0x21c419(0xd5)](exports,a6_0x21c419(0x100),{'value':!![]}),exports[a6_0x21c419(0x149)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x21c419(0xcf)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require('zlib'),stream_1=require(a6_0x21c419(0x104)),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x21c419(0x134)),extend=require('extend'),axios_1=require(a6_0x21c419(0x12b)),https=require('https'),utils_1=require(a6_0x21c419(0x11c)),serverless_1=require(a6_0x21c419(0xe5)),https_proxy_agent_1=require(a6_0x21c419(0x163)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x3b860f,_0xc349a2,_0x292ed2){const _0x1abfb9=a6_0x21c419;super({'parent':_0x3b860f,'baseUrl':_0x1abfb9(0x158)}),this[_0x1abfb9(0xf0)]=null,this[_0x1abfb9(0xe6)]=_0xc349a2,this[_0x1abfb9(0x12f)]=[],this[_0x1abfb9(0x166)]=_0x292ed2,this[_0x1abfb9(0xdb)]=_0x1abfb9(0x153)+_0xc349a2[_0x1abfb9(0x12e)]+_0x1abfb9(0x156),this[_0x1abfb9(0x12b)]=axios_1[_0x1abfb9(0xfa)][_0x1abfb9(0xf5)]({'httpsAgent':getProxyAgent(_0xc349a2,_0x292ed2)??new https[(_0x1abfb9(0x10c))](getHttpsAgentOptions(_0xc349a2,_0x292ed2)),'proxy':![]});}[a6_0x21c419(0x119)](_0x808151,_0x5e00cd){const _0xcb0f59=a6_0x21c419,_0x5c2522={'uri':this[_0xcb0f59(0xdb)]+_0xcb0f59(0x119),'method':_0xcb0f59(0x10a),'json':!![],'body':{'debuggee':_0x808151}};this[_0xcb0f59(0x13a)](_0x5c2522,(_0x2cf514,_0x4a5c86,_0x5db021)=>{const _0xf487f4=_0xcb0f59;if(!_0x5db021)_0x5e00cd(_0x2cf514??new Error(_0xf487f4(0x146)));else{if(_0x2cf514){let _0x1be37=![];_0x5db021[_0xf487f4(0xf1)]===HTTP_UPGRADE_REQUIRED&&_0x4a5c86&&(_0x4a5c86['message']!==undefined&&(_0x2cf514['message']=_0x4a5c86[_0xf487f4(0x148)]),_0x1be37=!![]),_0x5e00cd(_0x2cf514,_0x4a5c86,_0x1be37);}else{if(_0x5db021[_0xf487f4(0xf1)]!==HTTP_SUCCESS)_0x5e00cd(new Error(_0xf487f4(0x168)+_0x5db021[_0xf487f4(0xf1)]));else!_0x4a5c86?.[_0xf487f4(0xef)]?_0x5e00cd(new Error(_0xf487f4(0xd2))):(_0x808151['id']=_0x4a5c86[_0xf487f4(0xef)]['id'],_0x5e00cd(null,_0x4a5c86));}}});}[a6_0x21c419(0xcb)](_0x4f239e,_0x50875a,_0x5a4421){const _0x105d7b=a6_0x21c419;assert(_0x4f239e['id'],_0x105d7b(0xf7));const _0x5e043d={'successOnTimeout':!![]};this[_0x105d7b(0xf0)]&&(_0x5e043d[_0x105d7b(0x12c)]=this[_0x105d7b(0xf0)]);const _0x165325=this[_0x105d7b(0xdb)]+encodeURIComponent(_0x4f239e['id'])+_0x105d7b(0xdf)+qs[_0x105d7b(0x14b)](_0x5e043d);this[_0x105d7b(0x13a)]({'uri':_0x165325,'json':!![]},(_0x5ee5d7,_0x380b42,_0x38bc93)=>{const _0x399de3=_0x105d7b;if(!_0x38bc93){_0x50875a(_0x5ee5d7??new Error(_0x399de3(0x146)));return;}else{if(!is2xx(_0x38bc93[_0x399de3(0xf1)])){_0x50875a(new Error(_0x399de3(0x10f)+_0x38bc93[_0x399de3(0xf1)]),undefined,_0x38bc93);return;}else _0x380b42&&(this['nextWaitToken']=_0x380b42[_0x399de3(0xf0)]),_0x50875a(null,_0x380b42,_0x38bc93);}},_0x5a4421,this[_0x105d7b(0x164)]=new AbortController());}async[a6_0x21c419(0xe4)](_0x50dca7,_0x427e2c){return new Promise((_0x483af0,_0x51b9f6)=>{const _0x36d98d=a6_0x23e5;this[_0x36d98d(0xcb)](_0x50dca7,(_0x98d103,_0x51003e,_0x4d914c)=>{_0x98d103?_0x51b9f6(_0x98d103):_0x483af0({'err':_0x98d103,'response':_0x4d914c,'result':_0x51003e});},_0x427e2c);});}[a6_0x21c419(0x139)](_0x3c8711,_0x54a5c0){const _0x4289af=a6_0x21c419;assert(_0x3c8711['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x306874=JSON[_0x4289af(0x14b)](_0x54a5c0),_0x200926=(0x0,utils_1[_0x4289af(0xe7)])(_0x306874);if(_0x200926>=this[_0x4289af(0xe6)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x4289af(0x166)][_0x4289af(0xff)](_0x4289af(0xea)+_0x54a5c0['id']+_0x4289af(0x15c)+_0x200926+_0x4289af(0x103)+this[_0x4289af(0xe6)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this[_0x4289af(0x12f)]['push']({'id':_0x54a5c0['id'],'serializedJson':_0x306874,'number':0x0}),this[_0x4289af(0x107)]??(this[_0x4289af(0x107)]=setTimeout(()=>this[_0x4289af(0xe9)][_0x4289af(0x142)](this)(_0x3c8711['id']),0x0));}catch(_0x2dc175){this[_0x4289af(0x166)][_0x4289af(0x15f)](_0x4289af(0x126)+_0x54a5c0['id']+'\x20and\x20enqueue\x20to\x20queue',_0x2dc175);return;}}[a6_0x21c419(0x157)](){const _0x183828=a6_0x21c419;this[_0x183828(0x164)]?.[_0x183828(0xde)](),this[_0x183828(0x164)]=undefined;if(!this[_0x183828(0x107)])return;clearTimeout(this[_0x183828(0x107)]),this[_0x183828(0x107)]=null;}async[a6_0x21c419(0x15d)](_0x390224){const _0x4c01d3=a6_0x21c419,_0x599365=Date[_0x4c01d3(0x111)](),_0x3e360d=0x1;while(Date['now']()-_0x599365<_0x390224){if(serverless_1['Serverless'][_0x4c01d3(0x131)]()&&serverless_1[_0x4c01d3(0x143)][_0x4c01d3(0x132)]()){this[_0x4c01d3(0x166)][_0x4c01d3(0x13f)]('another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now');return;}const _0x5a21e1=this[_0x4c01d3(0x12f)][_0x4c01d3(0x121)]===0x0,_0x4fcf4f=!this[_0x4c01d3(0x107)],_0x3565df=!this['activeTransmission'];if(_0x5a21e1&&_0x4fcf4f&&_0x3565df){this[_0x4c01d3(0x166)][_0x4c01d3(0x13f)](_0x4c01d3(0x127));return;}this[_0x4c01d3(0xd6)]&&(this[_0x4c01d3(0x166)]['debug'](_0x4c01d3(0x123)),await Promise['race']([this[_0x4c01d3(0xd6)],(0x0,utils_1[_0x4c01d3(0xdd)])(_0x3e360d)])),this[_0x4c01d3(0x166)][_0x4c01d3(0x13f)](_0x4c01d3(0xf2)+_0x3e360d+_0x4c01d3(0x11a)),await(0x0,utils_1[_0x4c01d3(0xdd)])(_0x3e360d);}throw new Error('Queue\x20drain\x20timeout\x20after\x20'+_0x390224+'ms.\x20Queue\x20length:\x20'+this[_0x4c01d3(0x12f)][_0x4c01d3(0x121)]);}[a6_0x21c419(0xfd)](_0x4140cd,_0x356254){const _0x47101a=a6_0x21c419,_0x53f1c7=this[_0x47101a(0xdb)]+encodeURIComponent(_0x4140cd['id'])+'/deregister/',_0x60a8f0={'uri':_0x53f1c7,'method':_0x47101a(0x10a),'json':!![]};this['logger']['info'](_0x47101a(0xd1)),this[_0x47101a(0x13a)](_0x60a8f0,(_0x4b081d,_0x3b7868,_0x361891)=>{const _0x1418ca=_0x47101a;(!_0x361891||Math[_0x1418ca(0x130)](_0x361891[_0x1418ca(0xf1)]/0x64)!==0x2)&&this['logger'][_0x1418ca(0xff)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x4b081d),_0x356254(_0x4b081d);});}['sendBreakpointLogsToServer'](_0x48791b,_0x36a617,_0x5b2076){const _0x4f9c2f=a6_0x21c419,_0x11a9bc=this[_0x4f9c2f(0xdb)]+encodeURIComponent(_0x48791b['id'])+'/log/',_0x55736f={'uri':_0x11a9bc,'method':_0x4f9c2f(0x10a),'json':!![],'body':_0x36a617};this[_0x4f9c2f(0x13a)](_0x55736f,(_0x2754b2,_0x4c1578,_0x4218d3)=>{const _0x5b3b3b=_0x4f9c2f;(!_0x4218d3||Math['floor'](_0x4218d3[_0x5b3b3b(0xf1)]/0x64)!==0x2)&&(this['logger'][_0x5b3b3b(0xff)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2754b2),_0x5b2076(_0x2754b2));});}['sendAppOnlyBreakpointHitsToServer'](_0x1ecfc6,_0x5074c5,_0x81c66f){const _0x46b827=a6_0x21c419,_0x1764ab=this[_0x46b827(0xdb)]+encodeURIComponent(_0x1ecfc6['id'])+_0x46b827(0x154),_0x247908={'uri':_0x1764ab,'method':_0x46b827(0x10a),'json':!![],'body':_0x5074c5};this[_0x46b827(0x13a)](_0x247908,(_0x3fba65,_0x48e404,_0x425c25)=>{const _0x40464c=_0x46b827;(!_0x425c25||Math['floor'](_0x425c25[_0x40464c(0xf1)]/0x64)!==0x2)&&(this[_0x40464c(0x166)][_0x40464c(0xff)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x3fba65),_0x81c66f(_0x3fba65));});}['sendAgentLogsToServer'](_0x3a1e31,_0x289085,_0x303c6f){const _0x18d0a4=a6_0x21c419;assert(_0x3a1e31['id'],_0x18d0a4(0xf7));if(this[_0x18d0a4(0x117)]){const _0x5789d6=Date[_0x18d0a4(0x111)](),_0xdf354e=this[_0x18d0a4(0x117)]+this[_0x18d0a4(0xe6)][_0x18d0a4(0xd9)][_0x18d0a4(0x167)];if(_0x5789d6<_0xdf354e){this[_0x18d0a4(0x166)][_0x18d0a4(0x129)](_0x18d0a4(0xf9)+(_0xdf354e-_0x5789d6)/0x3e8+_0x18d0a4(0x106));return;}}const _0x1deaf4=(0x0,fs_1[_0x18d0a4(0xe0)])(_0x303c6f)[_0x18d0a4(0x15e)],_0x22dbe1=Math[_0x18d0a4(0x122)](0x0,_0x1deaf4-this[_0x18d0a4(0xe6)]['agentLog'][_0x18d0a4(0xc9)]),_0x4e532a=(0x0,fs_1[_0x18d0a4(0x113)])(_0x303c6f,{'start':_0x22dbe1}),_0x3889c0=(0x0,zlib_1['createGzip'])(),_0xc587e3=new memory_streams_1[(_0x18d0a4(0xd7))]();this['logger']['info'](_0x18d0a4(0x15a)+_0x303c6f+_0x18d0a4(0x11d)+_0x289085),(0x0,stream_1[_0x18d0a4(0xda)])(_0x4e532a,_0x3889c0,_0xc587e3,_0xaaf5bc=>{const _0x4b456e=_0x18d0a4;if(_0xaaf5bc)this['logger'][_0x4b456e(0x15f)](_0x4b456e(0xd4)+_0x303c6f+':\x20'+_0xaaf5bc);else{const _0x3f7e95={'uri':this[_0x4b456e(0xdb)]+encodeURIComponent(_0x3a1e31['id'])+_0x4b456e(0x14a)+_0x289085,'method':_0x4b456e(0x14c),'body':_0xc587e3[_0x4b456e(0xf4)](),'headers':{'Content-Type':'application/octet-stream'}};this['makeRequest'](_0x3f7e95,_0x455f6e=>{const _0x130b52=_0x4b456e;_0x455f6e?this['logger'][_0x130b52(0x15f)](_0x130b52(0xeb)+_0x303c6f+'\x20for\x20request\x20'+_0x289085,_0x455f6e):(this['logger'][_0x130b52(0x129)]('Successfully\x20sent\x20log\x20file\x20'+_0x303c6f+'\x20for\x20request\x20'+_0x289085),this['lastLogCollectionTime']=Date[_0x130b52(0x111)]());});}});}[a6_0x21c419(0xe9)](_0x10f898){const _0x462f32=a6_0x21c419;this[_0x462f32(0x166)][_0x462f32(0x13f)](_0x462f32(0x145)),this[_0x462f32(0x107)]=undefined;const _0x41dd8d=[];let _0x1009b5=0x0;while(_0x41dd8d[_0x462f32(0x121)]<this[_0x462f32(0xe6)][_0x462f32(0x112)]&&this[_0x462f32(0x12f)][_0x462f32(0x121)]>0x0){const [_0x57b0ca]=this['transmissionQueue'],_0x5e0bc6=_0x57b0ca[_0x462f32(0xd0)],_0x5a326b=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x5e0bc6);_0x1009b5+=_0x5a326b;if(_0x1009b5<=this[_0x462f32(0xe6)][_0x462f32(0x114)])_0x41dd8d[_0x462f32(0xee)](_0x57b0ca),this['transmissionQueue'][_0x462f32(0x141)]();else{_0x5a326b>this[_0x462f32(0xe6)][_0x462f32(0x114)]&&_0x41dd8d[_0x462f32(0x121)]===0x0&&(this['logger']['debug'](_0x462f32(0xf8)+_0x57b0ca['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this['config'][_0x462f32(0x114)]+',\x20sending\x20only\x20one'),_0x41dd8d[_0x462f32(0xee)](_0x57b0ca),this['transmissionQueue'][_0x462f32(0x141)]());break;}}if(!_0x41dd8d)return;const _0x1a3ade=_0x41dd8d[_0x462f32(0x101)](_0x55fe97=>_0x55fe97['id']),_0x30b00d={'uri':this['apiUrl']+encodeURIComponent(_0x10f898)+_0x462f32(0x110),'json':!![],'method':'PUT','body':'['+_0x41dd8d[_0x462f32(0x101)](_0x482ec5=>_0x482ec5[_0x462f32(0xd0)])['join'](',')+']'};try{this['activeTransmission']=this['makeRequest'](_0x30b00d,(_0x3c9203,_0x2ea251,_0x3d3a6c)=>{const _0x2c231b=_0x462f32,_0x1b0472=_0x3d3a6c?.['status'];this['logger']['debug'](_0x2c231b(0x13c)+_0x1a3ade+_0x2c231b(0xec)+_0x1b0472);if(_0x3c9203||!_0x1b0472||Math[_0x2c231b(0x130)](_0x1b0472/0x64)!==0x2){const _0x1c7c59=_0x1b0472&&(_0x1b0472>=0x1f4||_0x1b0472===0x198);if(_0x1c7c59){this['logger'][_0x2c231b(0xff)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x1a3ade+_0x2c231b(0x14e)+_0x1b0472+_0x2c231b(0xce)+_0x3c9203);for(const _0x38eb31 of _0x41dd8d){_0x38eb31[_0x2c231b(0x14d)]<MAX_FAILED_SEND_ATTEMPTS?this[_0x2c231b(0x12f)][_0x2c231b(0xee)]({..._0x38eb31,'number':_0x38eb31[_0x2c231b(0x14d)]+0x1}):this['logger'][_0x2c231b(0xff)](_0x2c231b(0x161)+_0x38eb31['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else this[_0x2c231b(0x166)][_0x2c231b(0xff)](_0x2c231b(0xd8)+_0x1a3ade+_0x2c231b(0x14e)+_0x1b0472+'\x20Error:\x20'+_0x3c9203);}else this[_0x2c231b(0x166)][_0x2c231b(0x129)](_0x2c231b(0x13c)+_0x1a3ade+_0x2c231b(0xf6));this[_0x2c231b(0x12f)][_0x2c231b(0x121)]>0x0&&(this[_0x2c231b(0x107)]=setTimeout(()=>this[_0x2c231b(0xe9)][_0x2c231b(0x142)](this)(_0x10f898),0x0));},0x28)['finally'](()=>{const _0x13d6f6=_0x462f32;this[_0x13d6f6(0xd6)]=undefined;});}catch(_0x306ced){this[_0x462f32(0x166)]['warn'](_0x462f32(0xd8)+_0x1a3ade+_0x462f32(0x13d)+_0x306ced+',\x20Message:\x20'+_0x306ced[_0x462f32(0x108)]?.[_0x462f32(0x148)]),this[_0x462f32(0x12f)]['length']>0x0&&(this[_0x462f32(0x107)]=setTimeout(()=>this[_0x462f32(0xe9)][_0x462f32(0x142)](this)(_0x10f898),0x0)),this['activeTransmission']=undefined;}}async[a6_0x21c419(0x11e)](_0x265e94){const _0x3603da=a6_0x21c419;this['logger'][_0x3603da(0x129)](_0x3603da(0x124));const _0x515484=this['apiUrl']+encodeURIComponent(_0x265e94)+_0x3603da(0x155),{error:_0x45e72f,data:_0xc75628}=await this['makeRequest']({'uri':_0x515484,'json':!![]});if(_0x45e72f)return Promise[_0x3603da(0xe1)](_0x45e72f);return yaml['load'](_0xc75628)??{};}[a6_0x21c419(0x13a)](_0x586ef1,_0x1ef5ce,_0x30174f,_0x45cdbe,_0x5227b1){const _0x236264=a6_0x21c419,_0x331865={'Content-Type':_0x5227b1??_0x236264(0x147),'Authorization':_0x236264(0x162)+this[_0x236264(0xe6)][_0x236264(0x15b)]},_0x57064e=_0x45cdbe??new AbortController(),_0x2805a6=_0x30174f?_0x30174f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this['logger'][_0x236264(0x13f)](_0x236264(0x151)+_0x2805a6);const _0x47632a=setTimeout(()=>{const _0x298abf=_0x236264;this[_0x298abf(0x166)]['warn'](_0x298abf(0x150)+_0x2805a6+'ms'),_0x57064e[_0x298abf(0xde)]();},_0x2805a6),_0x2ff7f5={'method':_0x586ef1['method'],'url':_0x586ef1['uri'],'data':_0x586ef1['body'],'headers':_0x331865,'signal':_0x57064e[_0x236264(0x140)]};return extend(!![],_0x2ff7f5,_0x586ef1),this[_0x236264(0x12b)][_0x236264(0xd3)](_0x2ff7f5)[_0x236264(0x105)](_0x579d7e=>{const _0x55e7c4=_0x236264;return _0x1ef5ce?.(null,_0x579d7e[_0x55e7c4(0x108)],_0x579d7e),{'error':null,'data':_0x579d7e['data'],'res':_0x579d7e};})[_0x236264(0xed)](_0x399ffc=>{const _0x1337f=_0x236264;return _0x1ef5ce?.(_0x399ffc,_0x399ffc[_0x1337f(0x118)]?.[_0x1337f(0x108)],_0x399ffc[_0x1337f(0x118)]),{'error':_0x399ffc,'data':_0x399ffc[_0x1337f(0x118)]?.[_0x1337f(0x108)],'res':_0x399ffc[_0x1337f(0x118)]};})['finally'](()=>clearTimeout(_0x47632a));}async['getRedactions'](_0x3d8dfc){const _0xbd133e=a6_0x21c419;this[_0xbd133e(0x166)][_0xbd133e(0x129)]('Getting\x20reductions');const _0x32734f=this[_0xbd133e(0xdb)]+encodeURIComponent(_0x3d8dfc)+_0xbd133e(0x120),{error:_0xb7af78,data:_0x1d82a5}=await this[_0xbd133e(0x13a)]({'uri':_0x32734f,'json':!![]});if(_0xb7af78)return Promise['reject'](_0xb7af78);return _0x1d82a5;}}exports[a6_0x21c419(0x149)]=Controller;function is2xx(_0x1527c1){const _0x13543c=a6_0x21c419;return Math[_0x13543c(0x130)](_0x1527c1/0x64)===0x2;}function getProxyAgent(_0x5c6fda,_0x30e97f){const _0xf2675e=a6_0x21c419,{proxy:_0x464f2e}=_0x5c6fda;if(!_0x464f2e?.[_0xf2675e(0x12a)])return undefined;if(!_0x464f2e[_0xf2675e(0x136)])return _0x30e97f[_0xf2675e(0x15f)](_0xf2675e(0x159)),undefined;_0x30e97f[_0xf2675e(0x129)](_0xf2675e(0xfb)+_0x464f2e['host']+':'+_0x464f2e[_0xf2675e(0x136)]+_0xf2675e(0x10d)+(_0x464f2e[_0xf2675e(0xcc)]??''));const _0xea9649=new URL('http://'+_0x464f2e['host']);_0xea9649[_0xf2675e(0x136)]=String(_0x464f2e[_0xf2675e(0x136)]);_0x464f2e['username']&&(_0xea9649[_0xf2675e(0xcc)]=_0x464f2e[_0xf2675e(0xcc)]);_0x464f2e[_0xf2675e(0xe8)]&&(_0xea9649['password']=_0x464f2e[_0xf2675e(0xe8)]);const _0x2b8642=new https_proxy_agent_1[(_0xf2675e(0x13e))](_0xea9649),_0x4c31ae=getHttpsAgentOptions(_0x5c6fda,_0x30e97f),_0x2ccc2b=_0x2b8642[_0xf2675e(0x133)]['bind'](_0x2b8642);return _0x2b8642[_0xf2675e(0x133)]=(_0x10c152,_0x2a17d9)=>_0x2ccc2b(_0x10c152,{..._0x2a17d9,..._0x4c31ae}),_0x2b8642;}function getHttpsAgentOptions(_0x12147d,_0x29072a){const _0x330f63=a6_0x21c419,_0x31d027={'checkServerIdentity':(_0x553e76,_0x181519)=>{const _0x12b4fc=a6_0x23e5;if(_0x12147d[_0x12b4fc(0x160)])return undefined;const _0xf992b0=(0x0,crypto_1['createHash'])('sha256')[_0x12b4fc(0xf3)](_0x181519['pubkey'])['digest'](_0x12b4fc(0x144));return _0x12147d[_0x12b4fc(0xcd)][_0x12b4fc(0x128)](_0xf992b0)?undefined:new Error(_0x12b4fc(0xfe));}};let _0x333630;if(_0x12147d[_0x330f63(0x135)])try{_0x333630=(0x0,fs_1[_0x330f63(0x138)])(_0x12147d['caPath'],_0x330f63(0xfc));}catch{_0x29072a[_0x330f63(0xff)](_0x330f63(0x125)+_0x12147d[_0x330f63(0x135)]+_0x330f63(0xe2));}if(_0x333630){const _0x169b37=(0x0,tls_1['createSecureContext'])(_0x31d027);_0x169b37[_0x330f63(0xca)][_0x330f63(0x14f)](_0x333630),_0x31d027[_0x330f63(0xdc)]=_0x169b37;}return _0x31d027;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x85d273=a7_0x4c63;(function(_0x1b98f7,_0x9a9177){const _0x386a29=a7_0x4c63,_0x51981d=_0x1b98f7();while(!![]){try{const _0x1f03a8=parseInt(_0x386a29(0xc1))/0x1*(-parseInt(_0x386a29(0xc9))/0x2)+-parseInt(_0x386a29(0xc0))/0x3+-parseInt(_0x386a29(0xb2))/0x4*(-parseInt(_0x386a29(0xd5))/0x5)+-parseInt(_0x386a29(0xdb))/0x6*(parseInt(_0x386a29(0xd4))/0x7)+-parseInt(_0x386a29(0xb3))/0x8*(-parseInt(_0x386a29(0xc6))/0x9)+parseInt(_0x386a29(0xb4))/0xa+parseInt(_0x386a29(0xb5))/0xb*(parseInt(_0x386a29(0xcf))/0xc);if(_0x1f03a8===_0x9a9177)break;else _0x51981d['push'](_0x51981d['shift']());}catch(_0x45034d){_0x51981d['push'](_0x51981d['shift']());}}}(a7_0x41bc,0x5f310));const a7_0x31cd77=(function(){let _0x5f4776=!![];return function(_0x10b59c,_0x293a02){const _0x350c5c=_0x5f4776?function(){const _0x382fe4=a7_0x4c63;if(_0x293a02){const _0x524de0=_0x293a02[_0x382fe4(0xc2)](_0x10b59c,arguments);return _0x293a02=null,_0x524de0;}}:function(){};return _0x5f4776=![],_0x350c5c;};}()),a7_0x2fe589=a7_0x31cd77(this,function(){const _0x360cdf=a7_0x4c63;return a7_0x2fe589[_0x360cdf(0xd0)]()['search']('(((.+)+)+)+$')['toString']()[_0x360cdf(0xb1)](a7_0x2fe589)[_0x360cdf(0xbe)]('(((.+)+)+)+$');});a7_0x2fe589();function a7_0x41bc(){const _0x23f936=['15881592NOSwCr','toString','../../debuggee','string','StatusMessage','14lWERiJ','10vKIRJs','node','./getPlatform','version','argv','default','2176260Rgnrwb','versions','module','constructor','35124MSwquk','2663688iSPacg','2863580PwNhYP','11vZjZKr','UNSPECIFIED','../../client/stackdriver/status-message','Debuggee','isLambda','createDebuggeeMetadata','encodeBase64','cwd','minorversion','search','createDebuggee','242253jgoWVz','37EhVrjX','apply','./createUniquifier','name','minorVersion_','9ITGyUu','getPlatform','service','41312TMqHhM','internal','path','base64','defineProperty','__esModule'];a7_0x41bc=function(){return _0x23f936;};return a7_0x41bc();}'use strict';Object[a7_0x85d273(0xcd)](exports,a7_0x85d273(0xce),{'value':!![]}),exports['createDebuggee']=exports[a7_0x85d273(0xbb)]=void 0x0;const path=require(a7_0x85d273(0xcb)),status_message_1=require(a7_0x85d273(0xb7)),debuggee_1=require(a7_0x85d273(0xd1)),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x85d273(0xc3)),getPlatform_1=require(a7_0x85d273(0xd7)),encodeBase64=_0x3688ce=>Buffer['from'](_0x3688ce,'utf-8')['toString'](a7_0x85d273(0xcc));function a7_0x4c63(_0x26af6b,_0x537dc9){const _0x4ff3ef=a7_0x41bc();return a7_0x4c63=function(_0x2fe589,_0x31cd77){_0x2fe589=_0x2fe589-0xb0;let _0x41bc46=_0x4ff3ef[_0x2fe589];return _0x41bc46;},a7_0x4c63(_0x26af6b,_0x537dc9);}exports[a7_0x85d273(0xbb)]=encodeBase64;const createDebuggee=(_0x159454,_0x201959,_0x2db5ad,_0x31e282,_0x4c62b6,_0x2aa321,_0x1df81b,_0x312dcb)=>{const _0x4baf9d=a7_0x85d273,_0x38f993=process[_0x4baf9d(0xbc)](),_0x5b6e1b=path['relative'](_0x38f993,process[_0x4baf9d(0xd9)][0x1]),_0x44a618={'main\x20script':_0x5b6e1b,'process.title':process['title'],'node\x20version':process[_0x4baf9d(0xdc)][_0x4baf9d(0xd6)],'V8\x20version':process['versions']['v8'],'agent.name':_0x31e282[_0x4baf9d(0xc4)],'agent.version':_0x4c62b6,'platform':(0x0,getPlatform_1[_0x4baf9d(0xc7)])()},{serviceContext:_0x364c92}=_0x201959;_0x364c92&&(typeof _0x364c92[_0x4baf9d(0xc8)]===_0x4baf9d(0xd2)&&_0x364c92[_0x4baf9d(0xc8)]!==_0x4baf9d(0xda)&&(_0x44a618[_0x4baf9d(0xb0)]=_0x364c92[_0x4baf9d(0xc8)]),typeof _0x364c92[_0x4baf9d(0xd8)]==='string'&&(_0x44a618[_0x4baf9d(0xd8)]=_0x364c92[_0x4baf9d(0xd8)]),typeof _0x364c92[_0x4baf9d(0xc5)]===_0x4baf9d(0xd2)&&(_0x44a618[_0x4baf9d(0xbd)]=_0x364c92[_0x4baf9d(0xc5)]));const _0xc9dfb7=(0x0,createUniquifier_1['createUniquifier'])(_0x4c62b6,_0x159454,_0x2db5ad,_0x44a618),_0x1072c2=_0x312dcb?new status_message_1[(_0x4baf9d(0xd3))](status_message_1['StatusMessage'][_0x4baf9d(0xb6)],_0x312dcb,!![]):undefined,_0x23d1fd=(0x0,createDebuggeeMetadata_1[_0x4baf9d(0xba)])(_0x201959,_0x2aa321),_0x15427e={'uniquifier':_0xc9dfb7,'agentVersion':_0x4c62b6,'labels':{'metadataV2':(0x0,exports[_0x4baf9d(0xbb)])(JSON['stringify'](_0x23d1fd))},'statusMessage':_0x1072c2,'packageInfo':_0x31e282,..._0x1df81b,'isInLambda':_0x201959[_0x4baf9d(0xca)]?.[_0x4baf9d(0xb9)]};return _0x2db5ad&&(_0x15427e['sourceContexts']=[_0x2db5ad]),new debuggee_1[(_0x4baf9d(0xb8))](_0x15427e);};exports[a7_0x85d273(0xbf)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8_0x305dcb=a8_0x1baf;(function(_0x443690,_0x1b3f17){const _0x349a38=a8_0x1baf,_0x8451af=_0x443690();while(!![]){try{const _0x422066=parseInt(_0x349a38(0x18c))/0x1*(parseInt(_0x349a38(0x18b))/0x2)+-parseInt(_0x349a38(0x18d))/0x3+parseInt(_0x349a38(0x18e))/0x4+parseInt(_0x349a38(0x193))/0x5+-parseInt(_0x349a38(0x196))/0x6*(parseInt(_0x349a38(0x197))/0x7)+-parseInt(_0x349a38(0x19c))/0x8+parseInt(_0x349a38(0x19e))/0x9;if(_0x422066===_0x1b3f17)break;else _0x8451af['push'](_0x8451af['shift']());}catch(_0x5b0cdb){_0x8451af['push'](_0x8451af['shift']());}}}(a8_0x744a,0x4ea9b));function a8_0x744a(){const _0x5878a1=['Failed\x20to\x20read\x20metadata\x20file\x20','registration','1806192EoKyTB','readFileSync','6423057daILxN','metadata','toString','tags','string','(((.+)+)+)+$','262554gtzniW','1duKjAw','1033842vTrLQi','455564OJCBVa','extend','defineProperty','createDebuggeeMetadata','warn','1493640JmpMis','search','filename','1094934vNVVCi','14KJBeXt','constructor','apply'];a8_0x744a=function(){return _0x5878a1;};return a8_0x744a();}function a8_0x1baf(_0x577983,_0x3e2ad9){const _0x19dd49=a8_0x744a();return a8_0x1baf=function(_0x4bccec,_0x25f724){_0x4bccec=_0x4bccec-0x18a;let _0x744ae2=_0x19dd49[_0x4bccec];return _0x744ae2;},a8_0x1baf(_0x577983,_0x3e2ad9);}const a8_0x25f724=(function(){let _0x9aa9b5=!![];return function(_0x29d242,_0x4634e4){const _0x356dac=_0x9aa9b5?function(){const _0x5ee564=a8_0x1baf;if(_0x4634e4){const _0x36ce61=_0x4634e4[_0x5ee564(0x199)](_0x29d242,arguments);return _0x4634e4=null,_0x36ce61;}}:function(){};return _0x9aa9b5=![],_0x356dac;};}()),a8_0x4bccec=a8_0x25f724(this,function(){const _0x473a71=a8_0x1baf;return a8_0x4bccec[_0x473a71(0x1a0)]()[_0x473a71(0x194)]('(((.+)+)+)+$')[_0x473a71(0x1a0)]()[_0x473a71(0x198)](a8_0x4bccec)[_0x473a71(0x194)](_0x473a71(0x18a));});a8_0x4bccec();'use strict';Object[a8_0x305dcb(0x190)](exports,'__esModule',{'value':!![]}),exports[a8_0x305dcb(0x191)]=void 0x0;const fs=require('fs'),extend=require(a8_0x305dcb(0x18f)),createDebuggeeMetadata=(_0x52fb93,_0x3971e7)=>{const _0x280375=a8_0x305dcb;let _0x2c14c1={'registration':{}};if(_0x52fb93[_0x280375(0x19f)]?.[_0x280375(0x195)])try{_0x2c14c1=JSON['parse'](fs[_0x280375(0x19d)](_0x52fb93[_0x280375(0x19f)][_0x280375(0x195)],'utf-8'));}catch(_0x1ec3d1){_0x3971e7[_0x280375(0x192)](_0x280375(0x19a)+_0x52fb93[_0x280375(0x19f)][_0x280375(0x195)],_0x1ec3d1);}return _0x2c14c1['registration']=extend(!![],{},_0x52fb93['metadata']?.[_0x280375(0x19b)],_0x2c14c1[_0x280375(0x19b)]),_0x2c14c1['registration']?.[_0x280375(0x1a1)]&&(_0x2c14c1[_0x280375(0x19b)][_0x280375(0x1a1)]=_0x2c14c1[_0x280375(0x19b)]['tags']['map'](_0x274733=>typeof _0x274733===_0x280375(0x1a2)?{'name':_0x274733}:_0x274733)),_0x2c14c1;};exports[a8_0x305dcb(0x191)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x2937eb=a9_0x30d0;(function(_0x1fe0cd,_0x283873){const _0x3e5346=a9_0x30d0,_0x1688b9=_0x1fe0cd();while(!![]){try{const _0x5a21e0=-parseInt(_0x3e5346(0xd9))/0x1+parseInt(_0x3e5346(0xea))/0x2*(-parseInt(_0x3e5346(0xe4))/0x3)+-parseInt(_0x3e5346(0xdc))/0x4+-parseInt(_0x3e5346(0xdd))/0x5*(-parseInt(_0x3e5346(0xeb))/0x6)+-parseInt(_0x3e5346(0xde))/0x7+-parseInt(_0x3e5346(0xda))/0x8*(parseInt(_0x3e5346(0xe9))/0x9)+parseInt(_0x3e5346(0xd7))/0xa;if(_0x5a21e0===_0x283873)break;else _0x1688b9['push'](_0x1688b9['shift']());}catch(_0x2b27e1){_0x1688b9['push'](_0x1688b9['shift']());}}}(a9_0x20e7,0xead93));const a9_0x27a99d=(function(){let _0x167c1f=!![];return function(_0x55ae67,_0x4131be){const _0x2e3f43=_0x167c1f?function(){const _0x2c946d=a9_0x30d0;if(_0x4131be){const _0x4ccd67=_0x4131be[_0x2c946d(0xe6)](_0x55ae67,arguments);return _0x4131be=null,_0x4ccd67;}}:function(){};return _0x167c1f=![],_0x2e3f43;};}()),a9_0xaa5db0=a9_0x27a99d(this,function(){const _0xdf0ae9=a9_0x30d0;return a9_0xaa5db0['toString']()[_0xdf0ae9(0xe2)](_0xdf0ae9(0xe3))[_0xdf0ae9(0xe7)]()[_0xdf0ae9(0xdb)](a9_0xaa5db0)[_0xdf0ae9(0xe2)](_0xdf0ae9(0xe3));});a9_0xaa5db0();'use strict';Object['defineProperty'](exports,a9_0x2937eb(0xdf),{'value':!![]}),exports[a9_0x2937eb(0xd8)]=void 0x0;function a9_0x30d0(_0x2c32ef,_0x5b37bc){const _0x4f551e=a9_0x20e7();return a9_0x30d0=function(_0xaa5db0,_0x27a99d){_0xaa5db0=_0xaa5db0-0xd6;let _0x20e745=_0x4f551e[_0xaa5db0];return _0x20e745;},a9_0x30d0(_0x2c32ef,_0x5b37bc);}const crypto=require('crypto'),createUniquifier=(_0x22a186,_0x3bb5e0,_0x19ed03,_0x393673)=>{const _0x26a2be=a9_0x2937eb,_0x3abd5b=_0x22a186+_0x3bb5e0+JSON[_0x26a2be(0xe0)](_0x19ed03)+JSON[_0x26a2be(0xe0)](_0x393673);return crypto[_0x26a2be(0xe1)](_0x26a2be(0xd6))[_0x26a2be(0xe8)](_0x3abd5b)[_0x26a2be(0xe5)]('hex');};function a9_0x20e7(){const _0x222841=['926514ljdDHx','130656WbPWuR','constructor','6059176PFkpvR','397085CIxGHi','9612253ObPDZG','__esModule','stringify','createHash','search','(((.+)+)+)+$','3uaTnNr','digest','apply','toString','update','126PCxDPT','998770LIHAsL','66kFoFRH','sha1','46308720FaQpXj','createUniquifier'];a9_0x20e7=function(){return _0x222841;};return a9_0x20e7();}exports[a9_0x2937eb(0xd8)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x46a322=a10_0x4ea6;function a10_0xb06b(){const _0x273128=['6MTGQzm','859796CYjBnE','length','2205248JaWldx','20483rsDgcL','search','870VgxJiz','push','1384467zJfGQo','toString','18NkEOWm','209429ZQQeIU','constructor','delimit','1928108AEvhII','(((.+)+)+)+$','5LCnKos','9pAUmfB','defineProperty','30141624HiXEgV'];a10_0xb06b=function(){return _0x273128;};return a10_0xb06b();}function a10_0x4ea6(_0x4148e5,_0x4a6235){const _0x1ab1aa=a10_0xb06b();return a10_0x4ea6=function(_0x3de9b3,_0x2a4f46){_0x3de9b3=_0x3de9b3-0x173;let _0xb06b88=_0x1ab1aa[_0x3de9b3];return _0xb06b88;},a10_0x4ea6(_0x4148e5,_0x4a6235);}(function(_0x5ed652,_0x27eaa8){const _0x247b6b=a10_0x4ea6,_0x309e5d=_0x5ed652();while(!![]){try{const _0x4f388e=parseInt(_0x247b6b(0x173))/0x1*(-parseInt(_0x247b6b(0x183))/0x2)+parseInt(_0x247b6b(0x177))/0x3+-parseInt(_0x247b6b(0x184))/0x4*(-parseInt(_0x247b6b(0x17f))/0x5)+parseInt(_0x247b6b(0x179))/0x6*(parseInt(_0x247b6b(0x17d))/0x7)+-parseInt(_0x247b6b(0x186))/0x8*(-parseInt(_0x247b6b(0x180))/0x9)+parseInt(_0x247b6b(0x175))/0xa*(parseInt(_0x247b6b(0x17a))/0xb)+-parseInt(_0x247b6b(0x182))/0xc;if(_0x4f388e===_0x27eaa8)break;else _0x309e5d['push'](_0x309e5d['shift']());}catch(_0x203f4e){_0x309e5d['push'](_0x309e5d['shift']());}}}(a10_0xb06b,0xd2580));const a10_0x2a4f46=(function(){let _0x47ff3b=!![];return function(_0x88fb8f,_0x1d59c6){const _0x7f71bd=_0x47ff3b?function(){if(_0x1d59c6){const _0x4254f9=_0x1d59c6['apply'](_0x88fb8f,arguments);return _0x1d59c6=null,_0x4254f9;}}:function(){};return _0x47ff3b=![],_0x7f71bd;};}()),a10_0x3de9b3=a10_0x2a4f46(this,function(){const _0x1ab5c4=a10_0x4ea6;return a10_0x3de9b3[_0x1ab5c4(0x178)]()['search'](_0x1ab5c4(0x17e))['toString']()[_0x1ab5c4(0x17b)](a10_0x3de9b3)[_0x1ab5c4(0x174)](_0x1ab5c4(0x17e));});a10_0x3de9b3();'use strict';Object[a10_0x46a322(0x181)](exports,'__esModule',{'value':!![]}),exports[a10_0x46a322(0x17c)]=void 0x0;const delimit=(_0x3e4813,_0x449e70)=>{const _0x2957d9=a10_0x46a322,_0x47b877=_0x3e4813['split'](_0x449e70),_0xd7cc14=[];_0xd7cc14[_0x2957d9(0x176)](_0x47b877[0x0]);for(let _0xc144b6=0x1;_0xc144b6<_0x47b877[_0x2957d9(0x185)];_0xc144b6++){_0xd7cc14[_0x2957d9(0x176)]({'v':_0x449e70},_0x47b877[_0xc144b6]);}return _0xd7cc14;};exports[a10_0x46a322(0x17c)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x5d5e50=a11_0x3749;(function(_0x299faa,_0x12d481){const _0x458c76=a11_0x3749,_0xecc21e=_0x299faa();while(!![]){try{const _0x230c53=parseInt(_0x458c76(0x1c7))/0x1*(parseInt(_0x458c76(0x1cb))/0x2)+-parseInt(_0x458c76(0x1cd))/0x3+parseInt(_0x458c76(0x1d7))/0x4+-parseInt(_0x458c76(0x1d6))/0x5*(-parseInt(_0x458c76(0x1da))/0x6)+parseInt(_0x458c76(0x1cf))/0x7*(-parseInt(_0x458c76(0x1d5))/0x8)+parseInt(_0x458c76(0x1d0))/0x9+-parseInt(_0x458c76(0x1d2))/0xa;if(_0x230c53===_0x12d481)break;else _0xecc21e['push'](_0xecc21e['shift']());}catch(_0x7662b0){_0xecc21e['push'](_0xecc21e['shift']());}}}(a11_0x2873,0x94955));const a11_0x1177f4=(function(){let _0x1b791b=!![];return function(_0x248cc2,_0x5ab174){const _0x1fdbe6=_0x1b791b?function(){const _0x39756d=a11_0x3749;if(_0x5ab174){const _0x348c4f=_0x5ab174[_0x39756d(0x1d1)](_0x248cc2,arguments);return _0x5ab174=null,_0x348c4f;}}:function(){};return _0x1b791b=![],_0x1fdbe6;};}()),a11_0x1d0b9e=a11_0x1177f4(this,function(){const _0x3761ec=a11_0x3749;return a11_0x1d0b9e[_0x3761ec(0x1c8)]()['search']('(((.+)+)+)+$')[_0x3761ec(0x1c8)]()[_0x3761ec(0x1d9)](a11_0x1d0b9e)[_0x3761ec(0x1ce)]('(((.+)+)+)+$');});function a11_0x2873(){const _0x213424=['search','65737aQXzSV','801027iXVqQU','apply','806490QdBiHY','tokenize','join','48gKqmFN','17530sKpies','2144564KiQduP','./tokenize','constructor','630EweNAR','__esModule','format','defineProperty','133459AhZHsH','toString','substring','test','2tCGDVl','length','1143423AmLecZ'];a11_0x2873=function(){return _0x213424;};return a11_0x2873();}a11_0x1d0b9e();'use strict';Object[a11_0x5d5e50(0x1c6)](exports,a11_0x5d5e50(0x1db),{'value':!![]}),exports[a11_0x5d5e50(0x1dc)]=void 0x0;function a11_0x3749(_0x1ed216,_0x1161a1){const _0x4cc45d=a11_0x2873();return a11_0x3749=function(_0x1d0b9e,_0x1177f4){_0x1d0b9e=_0x1d0b9e-0x1c6;let _0x2873d2=_0x4cc45d[_0x1d0b9e];return _0x2873d2;},a11_0x3749(_0x1ed216,_0x1161a1);}const tokenize_1=require(a11_0x5d5e50(0x1d8)),format=(_0x9eb18e,_0x8d61ff)=>{const _0x9b4b8c=a11_0x5d5e50,_0x2df801=(0x0,tokenize_1[_0x9b4b8c(0x1d3)])(_0x9eb18e,_0x8d61ff[_0x9b4b8c(0x1cc)]);for(let _0x2e71fe=0x0;_0x2e71fe<_0x2df801[_0x9b4b8c(0x1cc)];_0x2e71fe++){if(!_0x2df801[_0x2e71fe]['v'])continue;if(_0x2df801[_0x2e71fe]['v']==='$$'){_0x2df801[_0x2e71fe]='$';continue;}for(let _0x43d117=0x0;_0x43d117<_0x8d61ff[_0x9b4b8c(0x1cc)];_0x43d117++){if(_0x2df801[_0x2e71fe]['v']==='$'+_0x43d117){let _0x1d45a1=_0x8d61ff[_0x43d117];/^".*"$/[_0x9b4b8c(0x1ca)](_0x1d45a1)&&(_0x1d45a1=_0x1d45a1[_0x9b4b8c(0x1c9)](0x1,_0x1d45a1[_0x9b4b8c(0x1cc)]-0x1));_0x2df801[_0x2e71fe]=_0x1d45a1;break;}}}return _0x2df801[_0x9b4b8c(0x1d4)]('');};exports['format']=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a12_0x4c63(){const _0x314733=['2TMPTZp','fetch_breakpoints_once','14184RTGJGl','max_condition_cost','max_dynamic_log_rate','getFirst','agent_log_max_file_count','toString','dynamic_log_quota_recovery_ms','noCheckCertificate','max_log_file_bytes','extra_paths','__esModule','getFloat','1456qlmbix','max_dynamic_log_bytes_rate','2021065VZXHzo','collect_log_cooldown_ms','com.lightrun.secret','apply','pinned_certs','max_watchlist_variable_size','split','6032670vfwHLV','2224158UijEyO','getBoolean','agent_log_max_file_size_mb','getInt','4OWDPGh','resolve_frame_locations','max_log_cpu_cost','proxy_host','search','(((.+)+)+)+$','java-properties','existsSync','agent_regmetadata_file','6770500JaQEpN','1457415gvncjQ','99322ZatxMG','max_snapshot_buffer_size','7gdFIpJ','agent_log_target_dir','breakpoint_expiration_sec','transmission_bulk_max_size'];a12_0x4c63=function(){return _0x314733;};return a12_0x4c63();}const a12_0x12af87=a12_0x5e7a;(function(_0x4902a9,_0x7504c2){const _0x34ad12=a12_0x5e7a,_0xdcef1e=_0x4902a9();while(!![]){try{const _0x1c5b1c=parseInt(_0x34ad12(0x183))/0x1*(parseInt(_0x34ad12(0x189))/0x2)+parseInt(_0x34ad12(0x182))/0x3+parseInt(_0x34ad12(0x178))/0x4*(parseInt(_0x34ad12(0x199))/0x5)+-parseInt(_0x34ad12(0x1a1))/0x6*(parseInt(_0x34ad12(0x185))/0x7)+parseInt(_0x34ad12(0x197))/0x8*(-parseInt(_0x34ad12(0x18b))/0x9)+-parseInt(_0x34ad12(0x1a0))/0xa+parseInt(_0x34ad12(0x181))/0xb;if(_0x1c5b1c===_0x7504c2)break;else _0xdcef1e['push'](_0xdcef1e['shift']());}catch(_0x26deaa){_0xdcef1e['push'](_0xdcef1e['shift']());}}}(a12_0x4c63,0x53ff0));const a12_0x2eeb91=(function(){let _0x36e6d4=!![];return function(_0x23c9fb,_0x158133){const _0x958975=_0x36e6d4?function(){const _0x24ba67=a12_0x5e7a;if(_0x158133){const _0x53d70f=_0x158133[_0x24ba67(0x19c)](_0x23c9fb,arguments);return _0x158133=null,_0x53d70f;}}:function(){};return _0x36e6d4=![],_0x958975;};}()),a12_0x290b48=a12_0x2eeb91(this,function(){const _0x2a9bb6=a12_0x5e7a;return a12_0x290b48['toString']()['search'](_0x2a9bb6(0x17d))[_0x2a9bb6(0x190)]()['constructor'](a12_0x290b48)[_0x2a9bb6(0x17c)](_0x2a9bb6(0x17d));});a12_0x290b48();'use strict';Object['defineProperty'](exports,a12_0x12af87(0x195),{'value':!![]}),exports['getAgentConfig']=void 0x0;function a12_0x5e7a(_0x5ae90e,_0x38a2d0){const _0x39cdf0=a12_0x4c63();return a12_0x5e7a=function(_0x290b48,_0x2eeb91){_0x290b48=_0x290b48-0x177;let _0x4c636e=_0x39cdf0[_0x290b48];return _0x4c636e;},a12_0x5e7a(_0x5ae90e,_0x38a2d0);}const properties=require(a12_0x12af87(0x17e)),fs=require('fs'),getAgentConfig=_0x3b9d6a=>{const _0xd21559=a12_0x12af87;if(fs[_0xd21559(0x17f)](_0x3b9d6a)){const _0x11ca61=properties['of'](_0x3b9d6a);return{'lightrunSecret':_0x11ca61[_0xd21559(0x18e)](_0xd21559(0x19b)),'apiEndpoint':_0x11ca61[_0xd21559(0x18e)]('apiEndpoint'),'breakpointExpirationSec':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x187)),'transmissionBulkMaxSize':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x188)),'noCheckCertificate':_0x11ca61[_0xd21559(0x1a2)](_0xd21559(0x192)),'pinnedCerts':_0x11ca61[_0xd21559(0x18e)](_0xd21559(0x19d))?.[_0xd21559(0x19f)](','),'metadata':{'filename':_0x11ca61['getFirst'](_0xd21559(0x180))},'capture':{'maxFrames':_0x11ca61['getInt']('max_snapshot_frame_count'),'maxDataSize':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x184)),'maxSnapshotBufferSize':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x184)),'maxVariableSize':_0x11ca61[_0xd21559(0x177)]('max_variable_size'),'maxWatchListVariableSize':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x19e)),'resolveFrameLocations':_0x11ca61[_0xd21559(0x1a2)](_0xd21559(0x179))},'agentLog':{'collectCooldownMs':_0x11ca61['getInt'](_0xd21559(0x19a)),'agentLogTargetDir':_0x11ca61[_0xd21559(0x18e)](_0xd21559(0x186)),'agentLogLevel':_0x11ca61['getFirst']('agent_log_level'),'agentLogMaxFileCount':_0x11ca61['getInt'](_0xd21559(0x18f)),'agentLogMaxFileSizeMb':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x1a3)),'maxLogFileBytes':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x193))},'quota':{'ignoreQuota':_0x11ca61[_0xd21559(0x1a2)]('ignore_quota'),'maxCPUCost':_0x11ca61['getFloat'](_0xd21559(0x17a)),'maxConditionCost':_0x11ca61[_0xd21559(0x196)](_0xd21559(0x18c)),'maxDynamicLogRate':_0x11ca61['getInt'](_0xd21559(0x18d)),'maxDynamicLogByteRate':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x198)),'quotaRecoverySeconds':_0x11ca61[_0xd21559(0x177)](_0xd21559(0x191))&&_0x11ca61[_0xd21559(0x177)](_0xd21559(0x191))/0x3e8},'fetchBreakpointsOnce':_0x11ca61[_0xd21559(0x1a2)](_0xd21559(0x18a)),'extraPaths':_0x11ca61[_0xd21559(0x18e)](_0xd21559(0x194))?.[_0xd21559(0x19f)](',')?.['map'](_0x2b6f18=>_0x2b6f18['trim']()),'proxy':{'host':_0x11ca61[_0xd21559(0x18e)](_0xd21559(0x17b)),'port':_0x11ca61['getInt']('proxy_port'),'username':_0x11ca61[_0xd21559(0x18e)]('proxy_username'),'password':_0x11ca61['getFirst']('proxy_password')}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x1538d2=a13_0xac71;(function(_0x1d6a51,_0x26f672){const _0x10cfb8=a13_0xac71,_0x4de625=_0x1d6a51();while(!![]){try{const _0x4ccee1=parseInt(_0x10cfb8(0x1ae))/0x1+-parseInt(_0x10cfb8(0x1a2))/0x2*(-parseInt(_0x10cfb8(0x19c))/0x3)+-parseInt(_0x10cfb8(0x1a5))/0x4+-parseInt(_0x10cfb8(0x1aa))/0x5*(-parseInt(_0x10cfb8(0x19e))/0x6)+-parseInt(_0x10cfb8(0x199))/0x7+-parseInt(_0x10cfb8(0x1a4))/0x8*(parseInt(_0x10cfb8(0x19f))/0x9)+-parseInt(_0x10cfb8(0x1a8))/0xa*(-parseInt(_0x10cfb8(0x1a3))/0xb);if(_0x4ccee1===_0x26f672)break;else _0x4de625['push'](_0x4de625['shift']());}catch(_0x394413){_0x4de625['push'](_0x4de625['shift']());}}}(a13_0x44c3,0x1ee65));Object[a13_0x1538d2(0x1a9)](exports,a13_0x1538d2(0x19d),{'value':!![]}),exports['getPlatform']=exports['Platforms']=void 0x0;var Platforms;(function(_0x453931){const _0x59a6f0=a13_0x1538d2,_0x7770dc=(function(){let _0x1e6e71=!![];return function(_0x10fdf7,_0x5c8ca7){const _0x565ebb=_0x1e6e71?function(){const _0x43452a=a13_0xac71;if(_0x5c8ca7){const _0x1abd0a=_0x5c8ca7[_0x43452a(0x1a0)](_0x10fdf7,arguments);return _0x5c8ca7=null,_0x1abd0a;}}:function(){};return _0x1e6e71=![],_0x565ebb;};}()),_0x1c83e9=_0x7770dc(this,function(){const _0x18caa4=a13_0xac71;return _0x1c83e9[_0x18caa4(0x1a7)]()[_0x18caa4(0x1a1)](_0x18caa4(0x1ac))[_0x18caa4(0x1a7)]()[_0x18caa4(0x198)](_0x1c83e9)['search'](_0x18caa4(0x1ac));});_0x1c83e9(),_0x453931['CLOUD_FUNCTION']='cloud_function',_0x453931['DEFAULT']=_0x59a6f0(0x1ab);}(Platforms||(exports[a13_0x1538d2(0x1a6)]=Platforms={})));function a13_0x44c3(){const _0x24493f=['Platforms','toString','2065890NwEgmC','defineProperty','5YrAiLa','default','(((.+)+)+)+$','CLOUD_FUNCTION','713dzzJkt','constructor','1379007LFajjZ','getPlatform','DEFAULT','10749sFaphu','__esModule','934854uQXtHD','9euSMcV','apply','search','138TCDuoS','11fBOytz','658792cMDOhb','817692YGggJx'];a13_0x44c3=function(){return _0x24493f;};return a13_0x44c3();}const getPlatform=()=>{const _0x5b3872=a13_0x1538d2,{FUNCTION_NAME:_0x5e9960,FUNCTION_TARGET:_0x3a728b}=process['env'];if(_0x5e9960||_0x3a728b)return Platforms[_0x5b3872(0x1ad)];return Platforms[_0x5b3872(0x19b)];};function a13_0xac71(_0x500cab,_0x3ce142){const _0x1ea464=a13_0x44c3();return a13_0xac71=function(_0x2fe786,_0x3a2a25){_0x2fe786=_0x2fe786-0x198;let _0x44c31e=_0x1ea464[_0x2fe786];return _0x44c31e;},a13_0xac71(_0x500cab,_0x3ce142);}exports[a13_0x1538d2(0x19a)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a14_0x730035=a14_0xb743;(function(_0x5e8d9c,_0x4ec775){const _0x274247=a14_0xb743,_0x8fa249=_0x5e8d9c();while(!![]){try{const _0x27f3f2=parseInt(_0x274247(0x1ec))/0x1+-parseInt(_0x274247(0x1ef))/0x2*(parseInt(_0x274247(0x1fa))/0x3)+-parseInt(_0x274247(0x1fc))/0x4*(-parseInt(_0x274247(0x1f0))/0x5)+-parseInt(_0x274247(0x1ea))/0x6+-parseInt(_0x274247(0x1f9))/0x7*(parseInt(_0x274247(0x1f3))/0x8)+-parseInt(_0x274247(0x1fd))/0x9+parseInt(_0x274247(0x1f8))/0xa;if(_0x27f3f2===_0x4ec775)break;else _0x8fa249['push'](_0x8fa249['shift']());}catch(_0x370386){_0x8fa249['push'](_0x8fa249['shift']());}}}(a14_0x301f,0xc8a77));function a14_0x301f(){const _0x3b5ec7=['14334mpqLVq','Config\x20','5345644wEWikq','8305326vspovF','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','(((.+)+)+)+$','entries','3114888IGOMlJ','push','111161wTFbVu','constructor','limitConfig','298Tjpbmf','5DcVyaI','value','apply','24dOWWCM','defineProperty','search','toString','maxExpandFrames','30988980AgClqC','3664983LhgCSu'];a14_0x301f=function(){return _0x3b5ec7;};return a14_0x301f();}const a14_0x40724f=(function(){let _0x2aaeec=!![];return function(_0xad5bf,_0xd6d21b){const _0x7abd20=_0x2aaeec?function(){const _0x20c5e7=a14_0xb743;if(_0xd6d21b){const _0x6bf4de=_0xd6d21b[_0x20c5e7(0x1f2)](_0xad5bf,arguments);return _0xd6d21b=null,_0x6bf4de;}}:function(){};return _0x2aaeec=![],_0x7abd20;};}()),a14_0x247cc7=a14_0x40724f(this,function(){const _0x2fbb20=a14_0xb743;return a14_0x247cc7[_0x2fbb20(0x1f6)]()[_0x2fbb20(0x1f5)]('(((.+)+)+)+$')[_0x2fbb20(0x1f6)]()[_0x2fbb20(0x1ed)](a14_0x247cc7)[_0x2fbb20(0x1f5)](_0x2fbb20(0x1ff));});a14_0x247cc7();'use strict';function a14_0xb743(_0x36e80a,_0x18d8ee){const _0xc1bafa=a14_0x301f();return a14_0xb743=function(_0x247cc7,_0x40724f){_0x247cc7=_0x247cc7-0x1ea;let _0x301f2b=_0xc1bafa[_0x247cc7];return _0x301f2b;},a14_0xb743(_0x36e80a,_0x18d8ee);}Object[a14_0x730035(0x1f4)](exports,'__esModule',{'value':!![]}),exports[a14_0x730035(0x1ee)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x587336=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x587336['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x730035(0x1f1)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x587336['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x730035(0x1f1)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x587336[a14_0x730035(0x1f7)],{'min':0x1,'max':0xa})['value'],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x4f0219,{max:_0x23bf52,min:_0x138657},_0x2691a6)=>{const _0x20447c=a14_0x730035;let _0x586185;if(_0x4f0219>_0x23bf52)return _0x2691a6&&(_0x586185='Config\x20'+_0x2691a6+'\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x23bf52),{'value':_0x23bf52,'warning':_0x586185};else{if(_0x4f0219<_0x138657)return _0x2691a6&&(_0x586185=_0x20447c(0x1fb)+_0x2691a6+_0x20447c(0x1fe)+_0x138657),{'value':_0x138657,'warning':_0x586185};}return{'value':_0x4f0219,'warning':_0x586185};},limitConfig=_0x27dfa8=>{const _0x124c8a=a14_0x730035,{capture:_0x2ef927}=_0x27dfa8,_0x594aaf=[],_0x575e34=getCaptureConfigLimits(_0x2ef927),_0x41e700={};for(const [_0x50e98a,_0x4060e5]of Object[_0x124c8a(0x200)](_0x575e34)){const _0x3743b4=_0x2ef927[_0x50e98a];if(typeof _0x3743b4==='number'){const {value:_0x388d96,warning:_0x4c9c65}=resolveLimitedConfig(_0x3743b4,_0x4060e5,_0x50e98a);_0x41e700[_0x50e98a]=_0x388d96,_0x4c9c65&&_0x594aaf[_0x124c8a(0x1eb)](_0x4c9c65);}}return{..._0x27dfa8,'capture':{..._0x2ef927,..._0x41e700},'warnings':_0x594aaf};};exports[a14_0x730035(0x1ee)]=limitConfig;
|