lightrun 1.80.0 → 1.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x4935f2=a0_0x2672;function a0_0x2672(_0x2c80bf,_0x123521){const _0x3185a2=a0_0x5747();return a0_0x2672=function(_0x44e974,_0x49b630){_0x44e974=_0x44e974-0x9b;let _0x574709=_0x3185a2[_0x44e974];return _0x574709;},a0_0x2672(_0x2c80bf,_0x123521);}(function(_0x318b91,_0x32f9e9){const _0x271776=a0_0x2672,_0x559cd5=_0x318b91();while(!![]){try{const _0x6afe84=-parseInt(_0x271776(0x9b))/0x1+parseInt(_0x271776(0xae))/0x2+parseInt(_0x271776(0xbc))/0x3+parseInt(_0x271776(0xaf))/0x4+parseInt(_0x271776(0xba))/0x5*(parseInt(_0x271776(0xb6))/0x6)+-parseInt(_0x271776(0xad))/0x7*(-parseInt(_0x271776(0x9d))/0x8)+parseInt(_0x271776(0xa0))/0x9*(-parseInt(_0x271776(0xb7))/0xa);if(_0x6afe84===_0x32f9e9)break;else _0x559cd5['push'](_0x559cd5['shift']());}catch(_0x570ad5){_0x559cd5['push'](_0x559cd5['shift']());}}}(a0_0x5747,0xe02e7));const a0_0x49b630=(function(){let _0x24dbab=!![];return function(_0x3b1cd3,_0x17c792){const _0x144e77=_0x24dbab?function(){const _0x1a1a28=a0_0x2672;if(_0x17c792){const _0x4b333c=_0x17c792[_0x1a1a28(0x9e)](_0x3b1cd3,arguments);return _0x17c792=null,_0x4b333c;}}:function(){};return _0x24dbab=![],_0x144e77;};}()),a0_0x44e974=a0_0x49b630(this,function(){const _0x517781=a0_0x2672;return a0_0x44e974['toString']()[_0x517781(0xb4)](_0x517781(0xc2))['toString']()[_0x517781(0xbb)](a0_0x44e974)[_0x517781(0xb4)](_0x517781(0xc2));});a0_0x44e974();'use strict';Object[a0_0x4935f2(0xb2)](exports,a0_0x4935f2(0xc0),{'value':!![]});const winston_1=require(a0_0x4935f2(0xa5)),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require(a0_0x4935f2(0xb0)),{combine,printf,timestamp}=winston_1[a0_0x4935f2(0xac)],{Console}=winston_1[a0_0x4935f2(0xb8)],now=new Date();function getLoggerTransport(_0x4afc34,_0x133f98,_0x194089){const _0x4e67f6=a0_0x4935f2;if(_0x4afc34)return new DailyRotateFile({'dirname':_0x4afc34,'filename':AgentLogger['AGENT_LOG_FILE'],'datePattern':now['getFullYear']()[_0x4e67f6(0xa3)]()+now[_0x4e67f6(0xaa)]()[_0x4e67f6(0xa3)]()[_0x4e67f6(0xb5)](0x2,'0')+now[_0x4e67f6(0xab)]()[_0x4e67f6(0xa3)]()[_0x4e67f6(0xb5)](0x2,'0')+'-'+now['getHours']()[_0x4e67f6(0xa3)]()[_0x4e67f6(0xb5)](0x2,'0')+now[_0x4e67f6(0xa9)]()['toString']()[_0x4e67f6(0xb5)](0x2,'0')+now[_0x4e67f6(0xb3)]()[_0x4e67f6(0xa3)]()[_0x4e67f6(0xb5)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x4e67f6(0x9f)],'maxSize':_0x133f98+'m','maxFiles':_0x194089,'extension':_0x4e67f6(0xc3)});return new Console();}class AgentLogger{constructor(_0x6206d3,_0x44535a,_0x1d154a,_0x41b35d,_0x12e4ce){const _0x1cdb7c=a0_0x4935f2;this[_0x1cdb7c(0xc5)]=_0x41b35d,this[_0x1cdb7c(0xa8)]=(0x0,winston_1['createLogger'])({'level':_0x41b35d,'transports':[getLoggerTransport(_0x6206d3,_0x44535a,_0x1d154a),new Console({'level':_0x12e4ce,'stderrLevels':[_0x1cdb7c(0xb9),_0x1cdb7c(0xa1),'warn',_0x1cdb7c(0xa2)]})],'format':combine(timestamp(),printf(({level:_0x105b1b,message:_0x41d4ef,timestamp:_0x442b96})=>_0x442b96+'\x20['+_0x105b1b['toUpperCase']()+_0x1cdb7c(0xa4)+_0x41d4ef),winston_1[_0x1cdb7c(0xac)][_0x1cdb7c(0xbf)]())});}static['createLogger'](_0x1f2a16,_0x30f45a,_0x498360,_0x3a5847,_0x24da20){return new AgentLogger(_0x1f2a16,_0x30f45a,_0x498360,_0x3a5847,_0x24da20);}[a0_0x4935f2(0xb9)](..._0x28a5da){this['logger']['debug'](_0x28a5da);}[a0_0x4935f2(0xa1)](..._0x3eb821){const _0x4893b7=a0_0x4935f2;this[_0x4893b7(0xa8)][_0x4893b7(0xa1)](_0x3eb821);}[a0_0x4935f2(0x9c)](..._0x30e373){const _0x2da48b=a0_0x4935f2;this[_0x2da48b(0xa8)]['warn'](_0x30e373);}[a0_0x4935f2(0xa2)](..._0x1149ac){const _0x2a3a36=a0_0x4935f2;this['logger'][_0x2a3a36(0xa2)](_0x1149ac);}['getLevel'](){const _0x16156b=a0_0x4935f2;return this[_0x16156b(0xa8)][_0x16156b(0xbe)];}[a0_0x4935f2(0xc4)](){const _0x3563c5=a0_0x4935f2,_0x2fb070=this[_0x3563c5(0xbd)](),_0x485ebb=AgentLogger['LEVEL_PRIORITY'][_0x2fb070];if(!_0x485ebb)return![];return _0x485ebb>=AgentLogger['LEVEL_PRIORITY'][_0x3563c5(0xa1)];}[a0_0x4935f2(0xa7)](_0x4c3fb6){const _0x40e558=a0_0x4935f2;this[_0x40e558(0xa8)][_0x40e558(0xbe)]=_0x4c3fb6;}[a0_0x4935f2(0xa6)](){const _0x2f5b48=a0_0x4935f2;return this[_0x2f5b48(0xc5)];}}AgentLogger['AGENT_LOG_FILE']=a0_0x4935f2(0xc1)+process_1['pid']+'.%DATE%',AgentLogger[a0_0x4935f2(0xb1)]={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3},exports['default']=AgentLogger;function a0_0x5747(){const _0xce0121=['setLevel','logger','getMinutes','getMonth','getDate','format','14IaTFcz','1067454IciMtB','1950840cMmCUc','process','LEVEL_PRIORITY','defineProperty','getSeconds','search','padStart','7816854Uoqytr','30qZaaMO','transports','debug','5JQlkZg','constructor','2212521UkibcI','getLevel','level','json','__esModule','lightrun_nodejs_agent.','(((.+)+)+)+$','.log','isAtLeastInfo','initialLogLevel','962843PMYZBZ','warn','6337064guMqSE','apply','AGENT_LOG_FILE','8294787PzqjgQ','info','error','toString',']\x20-\x20','winston','getInitialLevel'];a0_0x5747=function(){return _0xce0121;};return a0_0x5747();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0x318f(){const _0x402f9a=['1532dVPJpk','243CZGxko','length','substring','apply','2069874lYPocp','781RzDlHZ','9183ZTJEDK','496mXPBbb','343544JGqgGH','4405355CVmHoa','(((.+)+)+)+$','2551gjeXNF','some','search','constructor','BlocklistingPatterns','inversePatterns','patterns','3599141TgnGAm','matches','51090wfERoC','forEach','toString','push'];a1_0x318f=function(){return _0x402f9a;};return a1_0x318f();}const a1_0x37073b=a1_0x2faa;(function(_0x3c073e,_0x48ebb1){const _0x2ee8ec=a1_0x2faa,_0x12b6e5=_0x3c073e();while(!![]){try{const _0x486865=-parseInt(_0x2ee8ec(0x1a8))/0x1*(parseInt(_0x2ee8ec(0x1a4))/0x2)+parseInt(_0x2ee8ec(0x1a3))/0x3*(-parseInt(_0x2ee8ec(0x19c))/0x4)+parseInt(_0x2ee8ec(0x1a6))/0x5+parseInt(_0x2ee8ec(0x1a1))/0x6+parseInt(_0x2ee8ec(0x196))/0x7+-parseInt(_0x2ee8ec(0x1a5))/0x8*(-parseInt(_0x2ee8ec(0x19d))/0x9)+parseInt(_0x2ee8ec(0x198))/0xa*(-parseInt(_0x2ee8ec(0x1a2))/0xb);if(_0x486865===_0x48ebb1)break;else _0x12b6e5['push'](_0x12b6e5['shift']());}catch(_0xb99530){_0x12b6e5['push'](_0x12b6e5['shift']());}}}(a1_0x318f,0xb2b14));const a1_0x1ad4cd=(function(){let _0x4653d8=!![];return function(_0x2fcd31,_0x3984f3){const _0x2c82fe=_0x4653d8?function(){const _0x387542=a1_0x2faa;if(_0x3984f3){const _0x5e7781=_0x3984f3[_0x387542(0x1a0)](_0x2fcd31,arguments);return _0x3984f3=null,_0x5e7781;}}:function(){};return _0x4653d8=![],_0x2c82fe;};}()),a1_0x4abd6c=a1_0x1ad4cd(this,function(){const _0x5c8c73=a1_0x2faa;return a1_0x4abd6c[_0x5c8c73(0x19a)]()[_0x5c8c73(0x1aa)](_0x5c8c73(0x1a7))[_0x5c8c73(0x19a)]()[_0x5c8c73(0x1ab)](a1_0x4abd6c)[_0x5c8c73(0x1aa)]('(((.+)+)+)+$');});a1_0x4abd6c();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x37073b(0x1ac)]=void 0x0;class BlocklistingPatterns{constructor(_0xac1fe){const _0x163812=a1_0x37073b;this[_0x163812(0x1ad)]=[],this[_0x163812(0x195)]=[],_0xac1fe&&_0xac1fe[_0x163812(0x199)](_0x571584=>{const _0x2716ff=_0x163812;_0x571584&&(_0x571584[0x0]==='!'?this[_0x2716ff(0x1ad)][_0x2716ff(0x19b)](new RegExp(_0x571584[_0x2716ff(0x19f)](0x1))):this[_0x2716ff(0x195)][_0x2716ff(0x19b)](new RegExp(_0x571584)));});}[a1_0x37073b(0x197)](_0x5892ff){const _0x5a8c1f=a1_0x37073b,_0x4af28e=_0x2bd12b=>_0x5892ff['match'](_0x2bd12b);return this[_0x5a8c1f(0x1ad)][_0x5a8c1f(0x19e)]!==0x0&&!this[_0x5a8c1f(0x1ad)]['some'](_0x4af28e)||this[_0x5a8c1f(0x195)][_0x5a8c1f(0x1a9)](_0x4af28e);}}function a1_0x2faa(_0x1dadd4,_0x55fa41){const _0x4ffd71=a1_0x318f();return a1_0x2faa=function(_0x4abd6c,_0x1ad4cd){_0x4abd6c=_0x4abd6c-0x195;let _0x318f17=_0x4ffd71[_0x4abd6c];return _0x318f17;},a1_0x2faa(_0x1dadd4,_0x55fa41);}exports[a1_0x37073b(0x1ac)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x13714f=a2_0x521f;function a2_0x521f(_0x228bd2,_0x2262dd){var _0x1cfd08=a2_0x2e28();return a2_0x521f=function(_0xac0ff0,_0x180561){_0xac0ff0=_0xac0ff0-0xb1;var _0x2e2807=_0x1cfd08[_0xac0ff0];return _0x2e2807;},a2_0x521f(_0x228bd2,_0x2262dd);}(function(_0x2553a4,_0x59c1ff){var _0x3b2541=a2_0x521f,_0x523f28=_0x2553a4();while(!![]){try{var _0x595be7=-parseInt(_0x3b2541(0xb5))/0x1+parseInt(_0x3b2541(0xb9))/0x2*(parseInt(_0x3b2541(0xb3))/0x3)+parseInt(_0x3b2541(0xbc))/0x4+-parseInt(_0x3b2541(0xb7))/0x5+-parseInt(_0x3b2541(0xb4))/0x6*(-parseInt(_0x3b2541(0xc1))/0x7)+-parseInt(_0x3b2541(0xc2))/0x8*(-parseInt(_0x3b2541(0xb2))/0x9)+-parseInt(_0x3b2541(0xc3))/0xa*(-parseInt(_0x3b2541(0xbe))/0xb);if(_0x595be7===_0x59c1ff)break;else _0x523f28['push'](_0x523f28['shift']());}catch(_0x3629ae){_0x523f28['push'](_0x523f28['shift']());}}}(a2_0x2e28,0xc6017));var a2_0x180561=(function(){var _0x2842c3=!![];return function(_0x26abb8,_0x1cee38){var _0x3f732f=_0x2842c3?function(){var _0x1ed57a=a2_0x521f;if(_0x1cee38){var _0x571999=_0x1cee38[_0x1ed57a(0xb8)](_0x26abb8,arguments);return _0x1cee38=null,_0x571999;}}:function(){};return _0x2842c3=![],_0x3f732f;};}()),a2_0xac0ff0=a2_0x180561(this,function(){var _0x19e08d=a2_0x521f;return a2_0xac0ff0[_0x19e08d(0xb1)]()[_0x19e08d(0xba)](_0x19e08d(0xbb))['toString']()[_0x19e08d(0xc0)](a2_0xac0ff0)[_0x19e08d(0xba)](_0x19e08d(0xbb));});a2_0xac0ff0();function a2_0x2e28(){var _0x44e9=['10CCWvwt','search','(((.+)+)+)+$','4632264LIJfdQ','defineProperty','11CTavUJ','DummyBlocklistManager','constructor','101507VTChPY','2344744GXgXFB','1529410Qcmgou','shouldBlock','toString','18hRBSnI','59487fxIFLv','474KinCAI','1079798FxJuHX','value','6255440sahzYL','apply'];a2_0x2e28=function(){return _0x44e9;};return a2_0x2e28();}'use strict';Object[a2_0x13714f(0xbd)](exports,'__esModule',{'value':!![]}),exports[a2_0x13714f(0xbf)]=void 0x0;class DummyBlocklistManager{constructor(_0x29ca9f){var _0x4fc535=a2_0x13714f;this[_0x4fc535(0xb6)]=_0x29ca9f;}[a2_0x13714f(0xc4)](){var _0x444ed8=a2_0x13714f;return this[_0x444ed8(0xb6)];}}exports[a2_0x13714f(0xbf)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x4803(_0x5476b3,_0x57ac32){const _0x441f39=a3_0x86fa();return a3_0x4803=function(_0x5d949e,_0x4f8264){_0x5d949e=_0x5d949e-0xb9;let _0x86fa6e=_0x441f39[_0x5d949e];return _0x86fa6e;},a3_0x4803(_0x5476b3,_0x57ac32);}const a3_0x44c750=a3_0x4803;(function(_0x2bdd52,_0x3e5cd1){const _0x5c2b5a=a3_0x4803,_0x13334e=_0x2bdd52();while(!![]){try{const _0x48e375=parseInt(_0x5c2b5a(0xbc))/0x1*(-parseInt(_0x5c2b5a(0xc4))/0x2)+parseInt(_0x5c2b5a(0xb9))/0x3+-parseInt(_0x5c2b5a(0xbb))/0x4*(parseInt(_0x5c2b5a(0xd3))/0x5)+-parseInt(_0x5c2b5a(0xc8))/0x6*(parseInt(_0x5c2b5a(0xc6))/0x7)+-parseInt(_0x5c2b5a(0xbd))/0x8*(parseInt(_0x5c2b5a(0xc2))/0x9)+-parseInt(_0x5c2b5a(0xcb))/0xa*(-parseInt(_0x5c2b5a(0xc9))/0xb)+parseInt(_0x5c2b5a(0xbf))/0xc;if(_0x48e375===_0x3e5cd1)break;else _0x13334e['push'](_0x13334e['shift']());}catch(_0xde77b3){_0x13334e['push'](_0x13334e['shift']());}}}(a3_0x86fa,0x79014));const a3_0x4f8264=(function(){let _0x1ed05b=!![];return function(_0xfad9f2,_0x3095f9){const _0x56d431=_0x1ed05b?function(){const _0x504f1a=a3_0x4803;if(_0x3095f9){const _0x3ff585=_0x3095f9[_0x504f1a(0xce)](_0xfad9f2,arguments);return _0x3095f9=null,_0x3ff585;}}:function(){};return _0x1ed05b=![],_0x56d431;};}()),a3_0x5d949e=a3_0x4f8264(this,function(){const _0x40d02b=a3_0x4803;return a3_0x5d949e[_0x40d02b(0xca)]()[_0x40d02b(0xd0)](_0x40d02b(0xbe))[_0x40d02b(0xca)]()['constructor'](a3_0x5d949e)[_0x40d02b(0xd0)]('(((.+)+)+)+$');});a3_0x5d949e();'use strict';Object[a3_0x44c750(0xcf)](exports,a3_0x44c750(0xd2),{'value':!![]}),exports[a3_0x44c750(0xba)]=void 0x0;const blocklisting_patterns_1=require(a3_0x44c750(0xcc)),utils=require('../util/utils');function a3_0x86fa(){const _0x149b4e=['toString','308710cTQSRm','./blocklisting-patterns','blocklist','apply','defineProperty','search','stripCurrentWorkingDirectory','__esModule','669000hnetSX','209763wsJTES','PatternsBlocklistManager','4YgKWEf','76514WpCgAS','112WcbNFK','(((.+)+)+)+$','19474128VqgnKi','BlocklistingPatterns','blocklistExceptions','199476KAPTmL','stripWorkingDir','4tUTwtU','config','1536227ulTQtk','matches','24hzUItY','99dMvqER'];a3_0x86fa=function(){return _0x149b4e;};return a3_0x86fa();}class PatternsBlocklistManager{constructor(_0x3a9fc3,_0x4eb75f,_0x44b920){const _0x197324=a3_0x44c750;this[_0x197324(0xcd)]=new blocklisting_patterns_1[(_0x197324(0xc0))](_0x3a9fc3),this[_0x197324(0xc1)]=new blocklisting_patterns_1[(_0x197324(0xc0))](_0x4eb75f),this['config']=_0x44b920;}['shouldBlock'](_0x4ef87a){const _0x21370f=a3_0x44c750;_0x4ef87a=this[_0x21370f(0xc3)](_0x4ef87a);if(this[_0x21370f(0xc1)][_0x21370f(0xc7)](_0x4ef87a))return![];return this[_0x21370f(0xcd)][_0x21370f(0xc7)](_0x4ef87a);}[a3_0x44c750(0xc3)](_0x551897){const _0x67be8=a3_0x44c750;if(utils['isPathInCurrentWorkingDirectory'](_0x551897,this[_0x67be8(0xc5)]))return utils[_0x67be8(0xd1)](_0x551897,this[_0x67be8(0xc5)]);return _0x551897;}}exports[a3_0x44c750(0xba)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x42c9a2=a4_0x206e;(function(_0xf9d215,_0xde6f09){const _0xd128ff=a4_0x206e,_0xabbc85=_0xf9d215();while(!![]){try{const _0x1e4e44=-parseInt(_0xd128ff(0x1ee))/0x1*(parseInt(_0xd128ff(0x1cf))/0x2)+parseInt(_0xd128ff(0x1f3))/0x3+-parseInt(_0xd128ff(0x1fe))/0x4*(-parseInt(_0xd128ff(0x1fd))/0x5)+-parseInt(_0xd128ff(0x1d8))/0x6+-parseInt(_0xd128ff(0x1f6))/0x7*(-parseInt(_0xd128ff(0x1cc))/0x8)+-parseInt(_0xd128ff(0x1e0))/0x9+-parseInt(_0xd128ff(0x1fb))/0xa*(-parseInt(_0xd128ff(0x1db))/0xb);if(_0x1e4e44===_0xde6f09)break;else _0xabbc85['push'](_0xabbc85['shift']());}catch(_0x428b9d){_0xabbc85['push'](_0xabbc85['shift']());}}}(a4_0xb37b,0x42c23));const a4_0x22ee59=(function(){let _0x4d7abc=!![];return function(_0xa7f844,_0x5e3263){const _0x54c917=_0x4d7abc?function(){if(_0x5e3263){const _0x56fcb3=_0x5e3263['apply'](_0xa7f844,arguments);return _0x5e3263=null,_0x56fcb3;}}:function(){};return _0x4d7abc=![],_0x54c917;};}()),a4_0x23ef71=a4_0x22ee59(this,function(){const _0x2bcaad=a4_0x206e;return a4_0x23ef71[_0x2bcaad(0x1da)]()['search'](_0x2bcaad(0x1e5))[_0x2bcaad(0x1da)]()[_0x2bcaad(0x1fc)](a4_0x23ef71)[_0x2bcaad(0x1ef)](_0x2bcaad(0x1e5));});a4_0x23ef71();'use strict';Object[a4_0x42c9a2(0x1ff)](exports,a4_0x42c9a2(0x1d9),{'value':!![]}),exports['defaultConfig']=exports[a4_0x42c9a2(0x1e3)]=void 0x0,exports[a4_0x42c9a2(0x1e8)]=logMainConfigParams;const os_1=require('os'),fs_1=require('fs'),yup_1=require('yup');exports[a4_0x42c9a2(0x1e3)]=(0x0,yup_1[a4_0x42c9a2(0x1d7)])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'capture':(0x0,yup_1[a4_0x42c9a2(0x1d7)])()[a4_0x42c9a2(0x1d2)]({'includeNodeModules':(0x0,yup_1[a4_0x42c9a2(0x1d6)])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1['number'])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxWatchProperties':(0x0,yup_1['number'])(),'maxDataSize':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x42c9a2(0x1f0)])()}),'internal':(0x0,yup_1[a4_0x42c9a2(0x1d7)])()[a4_0x42c9a2(0x1d2)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'sourceMapDiagnostics':(0x0,yup_1['boolean'])(),'lambdaDebugLogs':(0x0,yup_1[a4_0x42c9a2(0x1d6)])(),'dumpJSContentFilenames':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x42c9a2(0x1f2)])())}),'forceNewAgent_':(0x0,yup_1[a4_0x42c9a2(0x1d6)])(),'testMode_':(0x0,yup_1[a4_0x42c9a2(0x1d6)])(),'apiEndpoint':(0x0,yup_1[a4_0x42c9a2(0x1f2)])(),'lightrunSecret':(0x0,yup_1[a4_0x42c9a2(0x1f2)])(),'agentLog':(0x0,yup_1[a4_0x42c9a2(0x1d7)])()[a4_0x42c9a2(0x1d2)]({'agentLogTargetDir':(0x0,yup_1['string'])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'agentLogLevel':(0x0,yup_1[a4_0x42c9a2(0x1f2)])()[a4_0x42c9a2(0x1ea)]([a4_0x42c9a2(0x1f5),a4_0x42c9a2(0x1eb),a4_0x42c9a2(0x1d4),a4_0x42c9a2(0x1e2)]),'stdErrThreshold':(0x0,yup_1[a4_0x42c9a2(0x1f2)])()['oneOf'](['debug',a4_0x42c9a2(0x1eb),a4_0x42c9a2(0x1d4),'error',a4_0x42c9a2(0x1dc)]),'collectCooldownMs':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x42c9a2(0x1f9)])()['of']((0x0,yup_1[a4_0x42c9a2(0x1f2)])()),'noCheckCertificate':(0x0,yup_1['boolean'])(),'caPath':(0x0,yup_1[a4_0x42c9a2(0x1f2)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'quota':(0x0,yup_1[a4_0x42c9a2(0x1d7)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxCPUCost':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x42c9a2(0x1f0)])()}),'agentConfigFile':(0x0,yup_1[a4_0x42c9a2(0x1f2)])(),'fetchBreakpointsOnce':(0x0,yup_1['boolean'])(),'useScriptSourcemap':(0x0,yup_1[a4_0x42c9a2(0x1d6)])()['default'](![]),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x42c9a2(0x1d6)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'extraPaths':(0x0,yup_1[a4_0x42c9a2(0x1f9)])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1[a4_0x42c9a2(0x1d6)])(),'proxy':(0x0,yup_1['object'])()['shape']({'host':(0x0,yup_1[a4_0x42c9a2(0x1f2)])(),'port':(0x0,yup_1[a4_0x42c9a2(0x1f0)])(),'username':(0x0,yup_1[a4_0x42c9a2(0x1f2)])(),'password':(0x0,yup_1[a4_0x42c9a2(0x1f2)])()})}),exports[a4_0x42c9a2(0x1e7)]={'workingDirectory':process[a4_0x42c9a2(0x1f8)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x42c9a2(0x1de),a4_0x42c9a2(0x1e4)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000,'resolveFrameLocations':![]},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![],'dumpJSContentFilenames':undefined},'useScriptSourcemap':![],'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x42c9a2(0x1e1)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x42c9a2(0x1eb),'stdErrThreshold':a4_0x42c9a2(0x1dc),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x42c9a2(0x1e6),a4_0x42c9a2(0x1cd)],'noCheckCertificate':![],'caPath':a4_0x42c9a2(0x1fa),'metadata':{'registration':{'tags':[a4_0x42c9a2(0x1e9)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':'agent.config','resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x5c4197,_0x4dee1b)=>{const _0x21f8e9=a4_0x42c9a2,_0x1fb4af=Object[_0x21f8e9(0x1ed)](_0x5c4197?.['errors']??[]);_0x1fb4af[_0x21f8e9(0x1f4)]&&_0x1fb4af[_0x21f8e9(0x1dd)](_0x25f55e=>{_0x4dee1b['error'](_0x25f55e);});},logConfigWarnings=(_0x3c4914,_0x583f27)=>{const _0x5eec97=a4_0x42c9a2;_0x3c4914[_0x5eec97(0x1ec)]?.[_0x5eec97(0x1dd)](_0x1e8ee7=>{_0x583f27['warn'](_0x1e8ee7);});};function a4_0x206e(_0x141d38,_0x372745){const _0x2e4e3b=a4_0xb37b();return a4_0x206e=function(_0x23ef71,_0x22ee59){_0x23ef71=_0x23ef71-0x1cc;let _0xb37be=_0x2e4e3b[_0x23ef71];return _0xb37be;},a4_0x206e(_0x141d38,_0x372745);}function a4_0xb37b(){const _0x374225=[',\x20\x20\x20the\x20file\x20','cwd','array','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','290NGJhRw','constructor','605XyvqVF','5212vvTsFY','defineProperty','72AFsvYa','c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5','exists','16bTvXFn','set','DOESN\x27T\x20EXIST','shape','existsSync','warn','Agent\x20Configuration:\x20','boolean','object','1135344ORyyJj','__esModule','toString','341RcirOU','none','forEach','.js','agentConfigFile','3848166ojvMBl','tmpdir','error','configSchema','.mjs','(((.+)+)+)+$','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','defaultConfig','logMainConfigParams','Production','oneOf','info','warnings','values','10572jWGVgG','search','number','not\x20set!','string','1258065jgTIVN','length','debug','308700YQIfRo'];a4_0xb37b=function(){return _0x374225;};return a4_0xb37b();}function logMainConfigParams(_0x47b80f,_0x37053f){const _0x1349c1=a4_0x42c9a2;let {agentConfigFile:_0x44479c}=_0x47b80f;if(_0x44479c){const _0xb57a43=(0x0,fs_1[_0x1349c1(0x1d3)])(_0x47b80f[_0x1349c1(0x1df)])?_0x1349c1(0x1ce):_0x1349c1(0x1d1);_0x44479c+=_0x1349c1(0x1f7)+_0xb57a43;}else _0x44479c=_0x1349c1(0x1f1);const _0x101713={..._0x47b80f,'lightrunSecret':_0x47b80f['lightrunSecret']?_0x1349c1(0x1d0):'!!!\x20NOT\x20SET\x20!!!','agentConfigFile':_0x44479c};_0x37053f[_0x1349c1(0x1f5)](_0x1349c1(0x1d5),_0x101713),logConfigWarnings(_0x47b80f,_0x37053f),logConfigErrors(_0x47b80f,_0x37053f);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x11776a=a5_0x4644;function a5_0x32f1(){var _0x5c221e=['__esModule','(((.+)+)+)+$','maxWatchProperties','maxDataSize','300yWnkzz','ConfigurationProvider','search','3170848KRWzBI','capture','maxStringLength','5NpJwjx','constructor','7961634fMLptS','maxProperties','1141398FrGRxb','10198sXFBJG','maxVariableSize','128TCBsoR','getMaxVariableSize','3069ZPesSg','maxSnapshotBufferSize','20260MyWdmZ','216160MdxCsF','getMaxSnapshotBufferSize','459877nitDzC','getMaxProperties','toString','apply','resolvedDebugAgentConfig','588TjNnwr'];a5_0x32f1=function(){return _0x5c221e;};return a5_0x32f1();}(function(_0x5ad83e,_0x323b91){var _0x154a55=a5_0x4644,_0x56e97d=_0x5ad83e();while(!![]){try{var _0x1f3814=parseInt(_0x154a55(0x103))/0x1+parseInt(_0x154a55(0x104))/0x2*(-parseInt(_0x154a55(0x112))/0x3)+parseInt(_0x154a55(0x11a))/0x4+parseInt(_0x154a55(0xff))/0x5*(-parseInt(_0x154a55(0x101))/0x6)+parseInt(_0x154a55(0x10b))/0x7*(-parseInt(_0x154a55(0x106))/0x8)+-parseInt(_0x154a55(0x108))/0x9*(-parseInt(_0x154a55(0x10a))/0xa)+-parseInt(_0x154a55(0x10d))/0xb*(-parseInt(_0x154a55(0x117))/0xc);if(_0x1f3814===_0x323b91)break;else _0x56e97d['push'](_0x56e97d['shift']());}catch(_0x3d1281){_0x56e97d['push'](_0x56e97d['shift']());}}}(a5_0x32f1,0xcf740));var a5_0x25da8e=(function(){var _0x45b65d=!![];return function(_0x35cd6f,_0xdcdf4){var _0x2f00e4=_0x45b65d?function(){var _0x1af00f=a5_0x4644;if(_0xdcdf4){var _0x531c56=_0xdcdf4[_0x1af00f(0x110)](_0x35cd6f,arguments);return _0xdcdf4=null,_0x531c56;}}:function(){};return _0x45b65d=![],_0x2f00e4;};}()),a5_0x5b1dd1=a5_0x25da8e(this,function(){var _0x57bb66=a5_0x4644;return a5_0x5b1dd1[_0x57bb66(0x10f)]()[_0x57bb66(0x119)]('(((.+)+)+)+$')['toString']()[_0x57bb66(0x100)](a5_0x5b1dd1)[_0x57bb66(0x119)](_0x57bb66(0x114));});a5_0x5b1dd1();'use strict';function a5_0x4644(_0x83ae04,_0xd192a4){var _0x29cab6=a5_0x32f1();return a5_0x4644=function(_0x5b1dd1,_0x25da8e){_0x5b1dd1=_0x5b1dd1-0xff;var _0x32f118=_0x29cab6[_0x5b1dd1];return _0x32f118;},a5_0x4644(_0x83ae04,_0xd192a4);}Object['defineProperty'](exports,a5_0x11776a(0x113),{'value':!![]}),exports[a5_0x11776a(0x118)]=void 0x0;class ConfigurationProvider{constructor(_0x49f6e9){var _0x3951a8=a5_0x11776a;this[_0x3951a8(0x111)]=_0x49f6e9;}[a5_0x11776a(0x107)](){var _0x15cafb=a5_0x11776a;return this[_0x15cafb(0x111)][_0x15cafb(0x11b)][_0x15cafb(0x11c)]||this[_0x15cafb(0x111)]['capture'][_0x15cafb(0x105)];}['getMaxWatchListVariableSize'](){var _0x474e7d=a5_0x11776a;return this['resolvedDebugAgentConfig'][_0x474e7d(0x11b)]['maxWatchListVariableSize'];}[a5_0x11776a(0x10c)](){var _0x5e00bb=a5_0x11776a;return this[_0x5e00bb(0x111)][_0x5e00bb(0x11b)][_0x5e00bb(0x116)]||this[_0x5e00bb(0x111)][_0x5e00bb(0x11b)][_0x5e00bb(0x109)];}[a5_0x11776a(0x10e)](_0x25a99c){var _0x2621d8=a5_0x11776a;return _0x25a99c?this[_0x2621d8(0x111)][_0x2621d8(0x11b)][_0x2621d8(0x115)]:this[_0x2621d8(0x111)][_0x2621d8(0x11b)][_0x2621d8(0x102)];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x10913b=a6_0x556f;(function(_0x90d6eb,_0x7fc44){const _0x59838c=a6_0x556f,_0x4b8314=_0x90d6eb();while(!![]){try{const _0xe1875=-parseInt(_0x59838c(0xde))/0x1+parseInt(_0x59838c(0x123))/0x2*(-parseInt(_0x59838c(0x101))/0x3)+-parseInt(_0x59838c(0x131))/0x4*(parseInt(_0x59838c(0x11e))/0x5)+-parseInt(_0x59838c(0xdd))/0x6*(parseInt(_0x59838c(0x143))/0x7)+parseInt(_0x59838c(0xf8))/0x8+-parseInt(_0x59838c(0x10d))/0x9*(parseInt(_0x59838c(0x171))/0xa)+parseInt(_0x59838c(0x132))/0xb*(parseInt(_0x59838c(0x113))/0xc);if(_0xe1875===_0x7fc44)break;else _0x4b8314['push'](_0x4b8314['shift']());}catch(_0x2149f2){_0x4b8314['push'](_0x4b8314['shift']());}}}(a6_0x2355,0x26afb));const a6_0x3bffa2=(function(){let _0x1afc3d=!![];return function(_0x2a8067,_0x4fb09d){const _0x4cd0d5=_0x1afc3d?function(){const _0x1a060d=a6_0x556f;if(_0x4fb09d){const _0x16ee63=_0x4fb09d[_0x1a060d(0xdc)](_0x2a8067,arguments);return _0x4fb09d=null,_0x16ee63;}}:function(){};return _0x1afc3d=![],_0x4cd0d5;};}()),a6_0x10e3d1=a6_0x3bffa2(this,function(){const _0x1e57ee=a6_0x556f;return a6_0x10e3d1[_0x1e57ee(0x170)]()[_0x1e57ee(0x11b)](_0x1e57ee(0x150))[_0x1e57ee(0x170)]()[_0x1e57ee(0x177)](a6_0x10e3d1)[_0x1e57ee(0x11b)]('(((.+)+)+)+$');});a6_0x10e3d1();'use strict';Object[a6_0x10913b(0xef)](exports,a6_0x10913b(0x119),{'value':!![]}),exports[a6_0x10913b(0x14c)]=void 0x0;const common_1=require(a6_0x10913b(0xd4)),assert=require(a6_0x10913b(0xd3)),qs=require(a6_0x10913b(0x179)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x10913b(0x176)),stream_1=require(a6_0x10913b(0xd2)),memory_streams_1=require(a6_0x10913b(0x135)),tls_1=require(a6_0x10913b(0x14d)),extend=require('extend'),axios_1=require(a6_0x10913b(0x137)),https=require('https'),utils_1=require(a6_0x10913b(0x174)),serverless_1=require(a6_0x10913b(0x125)),https_proxy_agent_1=require(a6_0x10913b(0x145)),yaml=require(a6_0x10913b(0x155)),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_0x10913b(0x149)]{constructor(_0x5510e2,_0x12d708,_0x296e7f){const _0x4b10c3=a6_0x10913b;super({'parent':_0x5510e2,'baseUrl':_0x4b10c3(0x122)}),this['nextWaitToken']=null,this[_0x4b10c3(0xfd)]=_0x12d708,this[_0x4b10c3(0x153)]=[],this[_0x4b10c3(0x12e)]=_0x296e7f,this['apiUrl']='https://'+_0x12d708[_0x4b10c3(0x12c)]+_0x4b10c3(0xfe),this[_0x4b10c3(0x137)]=axios_1[_0x4b10c3(0xec)][_0x4b10c3(0x17b)]({'httpsAgent':getProxyAgent(_0x12d708,_0x296e7f)??new https[(_0x4b10c3(0xf0))](getHttpsAgentOptions(_0x12d708,_0x296e7f)),'proxy':![]});}[a6_0x10913b(0xe4)](_0x363aeb,_0x3feaaa){const _0x11efd7=a6_0x10913b,_0x115c4f={'uri':this[_0x11efd7(0x12d)]+'register','method':_0x11efd7(0x15a),'json':!![],'body':{'debuggee':_0x363aeb}};this[_0x11efd7(0xe9)](_0x115c4f,(_0x49fbbc,_0x13adbe,_0x30c1cc)=>{const _0x5601ee=_0x11efd7;if(!_0x30c1cc)_0x3feaaa(_0x49fbbc??new Error(_0x5601ee(0x167)));else{if(_0x49fbbc){let _0x1f386d=![];_0x30c1cc[_0x5601ee(0xf1)]===HTTP_UPGRADE_REQUIRED&&_0x13adbe&&(_0x13adbe[_0x5601ee(0xd6)]!==undefined&&(_0x49fbbc[_0x5601ee(0xd6)]=_0x13adbe[_0x5601ee(0xd6)]),_0x1f386d=!![]),_0x3feaaa(_0x49fbbc,_0x13adbe,_0x1f386d);}else{if(_0x30c1cc['status']!==HTTP_SUCCESS)_0x3feaaa(new Error(_0x5601ee(0x14b)+_0x30c1cc[_0x5601ee(0xf1)]));else!_0x13adbe?.[_0x5601ee(0x126)]?_0x3feaaa(new Error(_0x5601ee(0x13a))):(_0x363aeb['id']=_0x13adbe[_0x5601ee(0x126)]['id'],_0x3feaaa(null,_0x13adbe));}}});}['listBreakpoints'](_0x1f6660,_0x373b01,_0x102a64){const _0x2a0c5d=a6_0x10913b;assert(_0x1f6660['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x499b6d={'successOnTimeout':!![]};this[_0x2a0c5d(0x105)]&&(_0x499b6d[_0x2a0c5d(0x121)]=this[_0x2a0c5d(0x105)]);const _0x18bd75=this[_0x2a0c5d(0x12d)]+encodeURIComponent(_0x1f6660['id'])+_0x2a0c5d(0x139)+qs['stringify'](_0x499b6d);this[_0x2a0c5d(0xe9)]({'uri':_0x18bd75,'json':!![]},(_0x2967d3,_0x4955e9,_0x899daa)=>{const _0x886e3c=_0x2a0c5d;if(!_0x899daa){_0x373b01(_0x2967d3??new Error(_0x886e3c(0x167)));return;}else{if(!is2xx(_0x899daa['status'])){_0x373b01(new Error(_0x886e3c(0xe6)+_0x899daa[_0x886e3c(0xf1)]),undefined,_0x899daa);return;}else _0x4955e9&&(this[_0x886e3c(0x105)]=_0x4955e9[_0x886e3c(0x105)]),_0x373b01(null,_0x4955e9,_0x899daa);}},_0x102a64,this[_0x2a0c5d(0xd1)]=new AbortController());}async['listBreakpointsAsync'](_0x348171,_0x4dfa18){return new Promise((_0x2598fc,_0x1079d5)=>{const _0x1b0059=a6_0x556f;this[_0x1b0059(0x10f)](_0x348171,(_0x248607,_0x4e3fc6,_0x47d8e4)=>{_0x248607?_0x1079d5(_0x248607):_0x2598fc({'err':_0x248607,'response':_0x47d8e4,'result':_0x4e3fc6});},_0x4dfa18);});}['enqueueBreakpointUpdate'](_0x4f9f10,_0x3f5b8a){const _0x3a29aa=a6_0x10913b;assert(_0x4f9f10['id'],_0x3a29aa(0x111));try{const _0x156937=JSON[_0x3a29aa(0xe2)](_0x3f5b8a),_0x31f5cd=(0x0,utils_1[_0x3a29aa(0x141)])(_0x156937);if(_0x31f5cd>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x3a29aa(0x12e)][_0x3a29aa(0x16c)](_0x3a29aa(0x16f)+_0x3f5b8a['id']+_0x3a29aa(0x129)+_0x31f5cd+_0x3a29aa(0x166)+this[_0x3a29aa(0xfd)][_0x3a29aa(0x115)]);return;}this['transmissionQueue'][_0x3a29aa(0x160)]({'id':_0x3f5b8a['id'],'serializedJson':_0x156937,'number':0x0}),this[_0x3a29aa(0xcf)]??(this[_0x3a29aa(0xcf)]=setTimeout(()=>this[_0x3a29aa(0xd0)]['bind'](this)(_0x4f9f10['id']),0x0));}catch(_0x1a82be){this[_0x3a29aa(0x12e)]['error']('failed\x20to\x20serialize\x20breakpoint\x20'+_0x3f5b8a['id']+_0x3a29aa(0xf9),_0x1a82be);return;}}[a6_0x10913b(0x173)](){const _0x283d27=a6_0x10913b;this[_0x283d27(0xd1)]?.[_0x283d27(0x13c)](),this[_0x283d27(0xd1)]=undefined;if(!this[_0x283d27(0xcf)])return;clearTimeout(this[_0x283d27(0xcf)]),this[_0x283d27(0xcf)]=null;}async[a6_0x10913b(0xff)](_0x149d35){const _0x287408=a6_0x10913b,_0x7c1802=Date['now'](),_0x433155=0x1;while(Date[_0x287408(0xe3)]()-_0x7c1802<_0x149d35){if(serverless_1['Serverless'][_0x287408(0x15b)]()&&serverless_1[_0x287408(0xcc)][_0x287408(0x130)]()){this[_0x287408(0x12e)]['debug'](_0x287408(0x10a));return;}const _0x2fa287=this[_0x287408(0x153)][_0x287408(0x13b)]===0x0,_0x3f1432=!this[_0x287408(0xcf)],_0x7fc9e6=!this[_0x287408(0x136)];if(_0x2fa287&&_0x3f1432&&_0x7fc9e6){this['logger']['debug']('transmission\x20queue\x20is\x20empty');return;}this['activeTransmission']?(this[_0x287408(0x12e)][_0x287408(0x138)](_0x287408(0x154)),await Promise['race']([this[_0x287408(0x136)],(0x0,utils_1[_0x287408(0xf5)])(_0x433155)])):(this[_0x287408(0x12e)][_0x287408(0x138)](_0x287408(0x12b)+_0x433155+'ms'),await(0x0,utils_1[_0x287408(0xf5)])(_0x433155));}throw new Error(_0x287408(0xeb)+_0x149d35+_0x287408(0x16a)+this['transmissionQueue']['length']);}[a6_0x10913b(0x14e)](_0xbf4279,_0x5b441a){const _0x57aa08=a6_0x10913b,_0x26823d=this[_0x57aa08(0x12d)]+encodeURIComponent(_0xbf4279['id'])+_0x57aa08(0xf7),_0x2c4d8c={'uri':_0x26823d,'method':'POST','json':!![]};this[_0x57aa08(0x12e)][_0x57aa08(0x12f)](_0x57aa08(0x106)),this['makeRequest'](_0x2c4d8c,(_0x89b5d4,_0x3c3918,_0x5ecefd)=>{const _0x1034f4=_0x57aa08;(!_0x5ecefd||Math[_0x1034f4(0x133)](_0x5ecefd[_0x1034f4(0xf1)]/0x64)!==0x2)&&this['logger']['warn'](_0x1034f4(0x140)+_0x89b5d4),_0x5b441a(_0x89b5d4);});}['sendBreakpointLogsToServer'](_0x1cc4be,_0x36a81b,_0x33fa45){const _0x39c50f=a6_0x10913b,_0x63b32d=this[_0x39c50f(0x12d)]+encodeURIComponent(_0x1cc4be['id'])+'/log/',_0x409f40={'uri':_0x63b32d,'method':_0x39c50f(0x15a),'json':!![],'body':_0x36a81b};this[_0x39c50f(0xe9)](_0x409f40,(_0x5b2b6f,_0x1bcef4,_0x557103)=>{const _0x4cf811=_0x39c50f;(!_0x557103||Math['floor'](_0x557103[_0x4cf811(0xf1)]/0x64)!==0x2)&&(this[_0x4cf811(0x12e)]['warn'](_0x4cf811(0xed)+_0x5b2b6f),_0x33fa45(_0x5b2b6f));});}[a6_0x10913b(0xd7)](_0x4c6e68,_0x1d4c3a,_0x1b144b){const _0x58ab44=a6_0x10913b,_0x148e7d=this[_0x58ab44(0x12d)]+encodeURIComponent(_0x4c6e68['id'])+_0x58ab44(0x102),_0x2781ae={'uri':_0x148e7d,'method':_0x58ab44(0x15a),'json':!![],'body':_0x1d4c3a};this[_0x58ab44(0xe9)](_0x2781ae,(_0x14b2ec,_0x4db964,_0x3f01b3)=>{const _0x32ce15=_0x58ab44;(!_0x3f01b3||Math[_0x32ce15(0x133)](_0x3f01b3['status']/0x64)!==0x2)&&(this[_0x32ce15(0x12e)]['warn'](_0x32ce15(0xda)+_0x14b2ec),_0x1b144b(_0x14b2ec));});}[a6_0x10913b(0xf2)](_0x57d3ef,_0x344d56,_0x159784){const _0x481c14=a6_0x10913b;assert(_0x57d3ef['id'],_0x481c14(0x111));if(this['lastLogCollectionTime']){const _0x11884d=Date[_0x481c14(0xe3)](),_0x2a598c=this[_0x481c14(0xfc)]+this[_0x481c14(0xfd)][_0x481c14(0x124)][_0x481c14(0x168)];if(_0x11884d<_0x2a598c){this['logger'][_0x481c14(0x12f)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+(_0x2a598c-_0x11884d)/0x3e8+'\x20seconds');return;}}const _0x11422d=(0x0,fs_1['statSync'])(_0x159784)[_0x481c14(0x164)],_0x52d0de=Math[_0x481c14(0x15e)](0x0,_0x11422d-this['config'][_0x481c14(0x124)][_0x481c14(0x15f)]),_0x26e23f=(0x0,fs_1['createReadStream'])(_0x159784,{'start':_0x52d0de}),_0x1f437f=(0x0,zlib_1[_0x481c14(0x127)])(),_0x2e633c=new memory_streams_1[(_0x481c14(0x165))]();this[_0x481c14(0x12e)][_0x481c14(0x12f)](_0x481c14(0x104)+_0x159784+'\x20for\x20request\x20id\x20'+_0x344d56),(0x0,stream_1[_0x481c14(0x134)])(_0x26e23f,_0x1f437f,_0x2e633c,_0x59c2b4=>{const _0x2cd9d5=_0x481c14;if(_0x59c2b4)this[_0x2cd9d5(0x12e)][_0x2cd9d5(0x146)]('Failed\x20to\x20zip\x20'+_0x159784+':\x20'+_0x59c2b4);else{const _0x510486={'uri':this[_0x2cd9d5(0x12d)]+encodeURIComponent(_0x57d3ef['id'])+'/compressedLogFileV2/'+_0x344d56,'method':_0x2cd9d5(0x128),'body':_0x2e633c[_0x2cd9d5(0xfa)](),'headers':{'Content-Type':_0x2cd9d5(0x169)}};this[_0x2cd9d5(0xe9)](_0x510486,_0x531505=>{const _0x2afe0c=_0x2cd9d5;_0x531505?this[_0x2afe0c(0x12e)][_0x2afe0c(0x146)](_0x2afe0c(0x151)+_0x159784+_0x2afe0c(0xf3)+_0x344d56,_0x531505):(this['logger'][_0x2afe0c(0x12f)](_0x2afe0c(0x11c)+_0x159784+_0x2afe0c(0xf3)+_0x344d56),this[_0x2afe0c(0xfc)]=Date[_0x2afe0c(0xe3)]());});}});}[a6_0x10913b(0xd0)](_0x410cb7){const _0x5c4647=a6_0x10913b;this[_0x5c4647(0x12e)]['debug'](_0x5c4647(0xd8)),this[_0x5c4647(0xcf)]=undefined;const _0x3dec57=[];let _0x392b20=0x0;while(_0x3dec57['length']<this[_0x5c4647(0xfd)][_0x5c4647(0x108)]&&this[_0x5c4647(0x153)][_0x5c4647(0x13b)]>0x0){const [_0x34a347]=this[_0x5c4647(0x153)],_0x155b6e=_0x34a347[_0x5c4647(0x114)],_0xa4f2b3=(0x0,utils_1[_0x5c4647(0x141)])(_0x155b6e);_0x392b20+=_0xa4f2b3;if(_0x392b20<=this['config'][_0x5c4647(0x16d)])_0x3dec57[_0x5c4647(0x160)](_0x34a347),this[_0x5c4647(0x153)][_0x5c4647(0x158)]();else{_0xa4f2b3>this[_0x5c4647(0xfd)][_0x5c4647(0x16d)]&&_0x3dec57[_0x5c4647(0x13b)]===0x0&&(this[_0x5c4647(0x12e)][_0x5c4647(0x138)](_0x5c4647(0xe7)+_0x34a347['id']+_0x5c4647(0x118)+this['config'][_0x5c4647(0x16d)]+',\x20sending\x20only\x20one'),_0x3dec57['push'](_0x34a347),this[_0x5c4647(0x153)][_0x5c4647(0x158)]());break;}}if(!_0x3dec57)return;const _0x3b9fee=_0x3dec57[_0x5c4647(0x120)](_0x11e983=>_0x11e983['id']),_0x47794c={'uri':this['apiUrl']+encodeURIComponent(_0x410cb7)+_0x5c4647(0x13d),'json':!![],'method':_0x5c4647(0x128),'body':'['+_0x3dec57[_0x5c4647(0x120)](_0x1a9157=>_0x1a9157[_0x5c4647(0x114)])[_0x5c4647(0x112)](',')+']'};try{this[_0x5c4647(0x136)]=this[_0x5c4647(0xe9)](_0x47794c,(_0x3caf92,_0x2cd061,_0x4a1270)=>{const _0x3734d4=_0x5c4647,_0x27b264=_0x4a1270?.[_0x3734d4(0xf1)];this[_0x3734d4(0x12e)][_0x3734d4(0x138)]('Update\x20for\x20breakpoints\x20'+_0x3b9fee+_0x3734d4(0x12a)+_0x27b264);if(_0x3caf92||!_0x27b264||Math[_0x3734d4(0x133)](_0x27b264/0x64)!==0x2){const _0x34e194=_0x27b264&&(_0x27b264>=0x1f4||_0x27b264===0x198);if(_0x34e194){this[_0x3734d4(0x12e)][_0x3734d4(0x16c)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x3b9fee+_0x3734d4(0xe0)+_0x27b264+_0x3734d4(0x163)+_0x3caf92);for(const _0x4f36e7 of _0x3dec57){_0x4f36e7['number']<MAX_FAILED_SEND_ATTEMPTS?this[_0x3734d4(0x153)][_0x3734d4(0x160)]({..._0x4f36e7,'number':_0x4f36e7[_0x3734d4(0x178)]+0x1}):this['logger'][_0x3734d4(0x16c)]('Breakpoint\x20'+_0x4f36e7['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else this['logger'][_0x3734d4(0x16c)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x3b9fee+_0x3734d4(0xe0)+_0x27b264+_0x3734d4(0x163)+_0x3caf92);}else this[_0x3734d4(0x12e)]['info'](_0x3734d4(0x144)+_0x3b9fee+'\x20transmitted\x20successfully');this[_0x3734d4(0x153)][_0x3734d4(0x13b)]>0x0&&(this[_0x3734d4(0xcf)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x3734d4(0x14f)](this)(_0x410cb7),0x0));},0x28)[_0x5c4647(0x103)](()=>{const _0x24b487=_0x5c4647;this[_0x24b487(0x136)]=undefined;});}catch(_0x2fbf01){this[_0x5c4647(0x12e)][_0x5c4647(0x16c)](_0x5c4647(0xee)+_0x3b9fee+_0x5c4647(0xe1)+_0x2fbf01+',\x20Message:\x20'+_0x2fbf01[_0x5c4647(0xdf)]?.[_0x5c4647(0xd6)]),this[_0x5c4647(0x153)]['length']>0x0&&(this[_0x5c4647(0xcf)]=setTimeout(()=>this[_0x5c4647(0xd0)]['bind'](this)(_0x410cb7),0x0)),this[_0x5c4647(0x136)]=undefined;}}async[a6_0x10913b(0x161)](_0x23bfde){const _0x23c45a=a6_0x10913b;this[_0x23c45a(0x12e)][_0x23c45a(0x12f)](_0x23c45a(0xfb));const _0x476c9c=this[_0x23c45a(0x12d)]+encodeURIComponent(_0x23bfde)+_0x23c45a(0x157),{error:_0x2cdd81,data:_0x503061}=await this['makeRequest']({'uri':_0x476c9c,'json':!![]});if(_0x2cdd81)return Promise['reject'](_0x2cdd81);return yaml[_0x23c45a(0x110)](_0x503061)??{};}[a6_0x10913b(0xe9)](_0x16f9f1,_0x510b7b,_0x3ca3a1,_0x1bf3f1,_0x192727){const _0x3187ad=a6_0x10913b,_0x4f8479={'Content-Type':_0x192727??_0x3187ad(0x10c),'Authorization':_0x3187ad(0x152)+this[_0x3187ad(0xfd)][_0x3187ad(0x117)]},_0x10e579=_0x1bf3f1??new AbortController(),_0x572eed=_0x3ca3a1?_0x3ca3a1*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x3187ad(0x12e)][_0x3187ad(0x138)](_0x3187ad(0x14a)+_0x572eed);const _0x414215=setTimeout(()=>{const _0x660397=_0x3187ad;this[_0x660397(0x12e)][_0x660397(0x16c)](_0x660397(0x13f)+_0x572eed+'ms'),_0x10e579[_0x660397(0x13c)]();},_0x572eed),_0x5a322d={'method':_0x16f9f1['method'],'url':_0x16f9f1['uri'],'data':_0x16f9f1['body'],'headers':_0x4f8479,'signal':_0x10e579[_0x3187ad(0x15c)]};return extend(!![],_0x5a322d,_0x16f9f1),this['axios'][_0x3187ad(0x159)](_0x5a322d)[_0x3187ad(0xea)](_0x568a68=>{const _0x39af77=_0x3187ad;return _0x510b7b?.(null,_0x568a68[_0x39af77(0xdf)],_0x568a68),{'error':null,'data':_0x568a68[_0x39af77(0xdf)],'res':_0x568a68};})[_0x3187ad(0x162)](_0x2b19f3=>{const _0x368f75=_0x3187ad;return _0x510b7b?.(_0x2b19f3,_0x2b19f3[_0x368f75(0x13e)]?.[_0x368f75(0xdf)],_0x2b19f3[_0x368f75(0x13e)]),{'error':_0x2b19f3,'data':_0x2b19f3[_0x368f75(0x13e)]?.[_0x368f75(0xdf)],'res':_0x2b19f3[_0x368f75(0x13e)]};})['finally'](()=>clearTimeout(_0x414215));}async[a6_0x10913b(0x142)](_0x4c70ab){const _0x4caea0=a6_0x10913b;this[_0x4caea0(0x12e)][_0x4caea0(0x12f)](_0x4caea0(0x172));const _0x221eed=this['apiUrl']+encodeURIComponent(_0x4c70ab)+_0x4caea0(0x15d),{error:_0xe43be5,data:_0x6e4b91}=await this[_0x4caea0(0xe9)]({'uri':_0x221eed,'json':!![]});if(_0xe43be5)return Promise['reject'](_0xe43be5);return _0x6e4b91;}}exports[a6_0x10913b(0x14c)]=Controller;function is2xx(_0x5e25f4){const _0x3451c1=a6_0x10913b;return Math[_0x3451c1(0x133)](_0x5e25f4/0x64)===0x2;}function getProxyAgent(_0x205e2d,_0x2de7c2){const _0x12dada=a6_0x10913b,{proxy:_0x339931}=_0x205e2d;if(!_0x339931?.[_0x12dada(0x11a)])return undefined;if(!_0x339931[_0x12dada(0x16e)])return _0x2de7c2['error'](_0x12dada(0xd5)),undefined;_0x2de7c2['info']('Using\x20proxy\x20configuration:\x20'+_0x339931[_0x12dada(0x11a)]+':'+_0x339931[_0x12dada(0x16e)]+_0x12dada(0x10e)+(_0x339931[_0x12dada(0x11f)]??''));const _0x468b46=new URL(_0x12dada(0xcd)+_0x339931[_0x12dada(0x11a)]);_0x468b46[_0x12dada(0x16e)]=String(_0x339931[_0x12dada(0x16e)]);_0x339931[_0x12dada(0x11f)]&&(_0x468b46['username']=_0x339931[_0x12dada(0x11f)]);_0x339931[_0x12dada(0x116)]&&(_0x468b46[_0x12dada(0x116)]=_0x339931[_0x12dada(0x116)]);const _0x55f585=new https_proxy_agent_1[(_0x12dada(0x147))](_0x468b46),_0x497a9e=getHttpsAgentOptions(_0x205e2d,_0x2de7c2),_0x31d937=_0x55f585[_0x12dada(0x156)][_0x12dada(0x14f)](_0x55f585);return _0x55f585[_0x12dada(0x156)]=(_0x33d315,_0x213f10)=>_0x31d937(_0x33d315,{..._0x213f10,..._0x497a9e}),_0x55f585;}function a6_0x556f(_0x46571f,_0x1919f0){const _0x2dae4a=a6_0x2355();return a6_0x556f=function(_0x10e3d1,_0x3bffa2){_0x10e3d1=_0x10e3d1-0xcc;let _0x2355aa=_0x2dae4a[_0x10e3d1];return _0x2355aa;},a6_0x556f(_0x46571f,_0x1919f0);}function a6_0x2355(){const _0x3a5ab5=['lightrunSecret','\x20size\x20>\x20max\x20network\x20size\x20:\x20','__esModule','host','search','Successfully\x20sent\x20log\x20file\x20','readFileSync','60oJPgwh','username','map','waitToken','/controller','2XpQGMV','agentLog','./serverless','debuggee','createGzip','PUT','\x20size\x20is\x20','\x20finished\x20with\x20status\x20','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','apiEndpoint','apiUrl','logger','info','isTransmissionEnsured','34828rWznVV','2717hyaWOH','floor','pipeline','memory-streams','activeTransmission','axios','debug','/breakpoints?','invalid\x20response\x20body\x20from\x20server','length','abort','/breakpoints','response','Timeout\x20occurred\x20after\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','getJsonStringSizeInBytes','getRedactions','152474CZQhvA','Update\x20for\x20breakpoints\x20','https-proxy-agent','error','HttpsProxyAgent','hex','ServiceObject','timeout\x20set\x20to\x20','unable\x20to\x20register,\x20status\x20','Controller','tls','deregister','bind','(((.+)+)+)+$','Failed\x20to\x20send\x20log\x20file\x20','Bearer\x20','transmissionQueue','waiting\x20for\x20active\x20transmission','js-yaml','connect','/blacklist?successOnTimeout=true','shift','request','POST','isServerless','signal','/redaction','max','maxLogFileBytes','push','getBlocklist','catch','\x20Error:\x20','size','WritableStream','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','unknown\x20error\x20-\x20request\x20response\x20missing','collectCooldownMs','application/octet-stream','ms.\x20Queue\x20length:\x20','addCACert','warn','transmissionBulkMaxNetworkSizeInBytes','port','breakpointId:\x20','toString','20DslkDi','Getting\x20reductions','stop','./util/utils','context','zlib','constructor','number','querystring','createHash','create','Serverless','http://','\x22\x20-\x20ignoring\x20it','transmissionTimeout','transmitBreakpointUpdates','listBreakpointsAbortController','stream','assert','@google-cloud/common','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','message','sendAppOnlyBreakpointHitsToServer','Transmitting\x20breakpoint\x20updates...','pinnedCerts','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','pubkey','apply','66AKghic','7762aorywe','data','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','stringify','now','register','Failed\x20to\x20read\x20pem\x20file\x20\x22','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','breakpoint\x20','caPath','makeRequest','then','Queue\x20drain\x20timeout\x20after\x20','default','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','defineProperty','Agent','status','sendAgentLogsToServer','\x20for\x20request\x20','noCheckCertificate','waitFor','sha256','/deregister/','984184HfrChc','\x20and\x20enqueue\x20to\x20queue','toBuffer','Getting\x20blocklist','lastLogCollectionTime','config','/debuggees/','waitForTransmissionQueueDrain','includes','823947kUiNSS','/appOnlyActionHits/','finally','Compressing\x20and\x20sending\x20log\x20file\x20','nextWaitToken','Deregister\x20agent\x20before\x20shutdown','Certificate\x20Pinning\x20Failed!','transmissionBulkMaxSize','digest','another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now','update','application/json','1208322foXbKB',',\x20username:\x20','listBreakpoints','load','should\x20have\x20a\x20registered\x20debuggee','join','45204zIXncg','serializedJson','transmissionHardMaxNetworkSizeLimitInBytes','password'];a6_0x2355=function(){return _0x3a5ab5;};return a6_0x2355();}function getHttpsAgentOptions(_0x183876,_0x3c4b6c){const _0x55b993=a6_0x10913b,_0x402215={'checkServerIdentity':(_0x11ae9b,_0x3504e6)=>{const _0x2746fe=a6_0x556f;if(_0x183876[_0x2746fe(0xf4)])return undefined;const _0x35c0fd=(0x0,crypto_1[_0x2746fe(0x17a)])(_0x2746fe(0xf6))[_0x2746fe(0x10b)](_0x3504e6[_0x2746fe(0xdb)])[_0x2746fe(0x109)](_0x2746fe(0x148));return _0x183876[_0x2746fe(0xd9)][_0x2746fe(0x100)](_0x35c0fd)?undefined:new Error(_0x2746fe(0x107));}};let _0x3a6317;if(_0x183876[_0x55b993(0xe8)])try{_0x3a6317=(0x0,fs_1[_0x55b993(0x11d)])(_0x183876[_0x55b993(0xe8)],'ascii');}catch{_0x3c4b6c[_0x55b993(0x16c)](_0x55b993(0xe5)+_0x183876[_0x55b993(0xe8)]+_0x55b993(0xce));}if(_0x3a6317){const _0x318353=(0x0,tls_1['createSecureContext'])(_0x402215);_0x318353[_0x55b993(0x175)][_0x55b993(0x16b)](_0x3a6317),_0x402215['secureContext']=_0x318353;}return _0x402215;}
|
|
1
|
+
const a6_0x5cf642=a6_0x2ed9;(function(_0x5852e8,_0x3ee73b){const _0x461a3c=a6_0x2ed9,_0x59ca13=_0x5852e8();while(!![]){try{const _0x20357a=-parseInt(_0x461a3c(0x88))/0x1*(-parseInt(_0x461a3c(0x75))/0x2)+parseInt(_0x461a3c(0xc9))/0x3*(-parseInt(_0x461a3c(0x7d))/0x4)+parseInt(_0x461a3c(0x103))/0x5*(parseInt(_0x461a3c(0xe3))/0x6)+parseInt(_0x461a3c(0x10c))/0x7*(parseInt(_0x461a3c(0xdb))/0x8)+-parseInt(_0x461a3c(0xd6))/0x9+parseInt(_0x461a3c(0x6e))/0xa+-parseInt(_0x461a3c(0xb9))/0xb*(parseInt(_0x461a3c(0xa6))/0xc);if(_0x20357a===_0x3ee73b)break;else _0x59ca13['push'](_0x59ca13['shift']());}catch(_0x2973b9){_0x59ca13['push'](_0x59ca13['shift']());}}}(a6_0x3a94,0x5f71c));function a6_0x3a94(){const _0xd7eb55=['Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','toString','data','timeout\x20set\x20to\x20','Failed\x20to\x20read\x20pem\x20file\x20\x22','body','1458ZQAxGV','another\x20request\x20exists\x20and\x20will\x20keep\x20the\x20function\x20alive\x20during\x20transmission,\x20returning\x20now','/breakpoints','./serverless','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','constructor','search','Breakpoint\x20','pinnedCerts','race','create','createReadStream','sha256','activeTransmission','Failed\x20to\x20zip\x20','transmissionQueue','Deregister\x20agent\x20before\x20shutdown','assert','invalid\x20response\x20body\x20from\x20server','Queue\x20is\x20not\x20empty,\x20but\x20there\x27s\x20no\x20active\x20transmission.\x20checking\x20again\x20in\x20','Certificate\x20Pinning\x20Failed!','sendAppOnlyBreakpointHitsToServer',',\x20Message:\x20','listBreakpointsAbortController','method','tls','stop','warn','username','axios','apiUrl','abort','14910xVGiLx','nextWaitToken','\x20transmitted\x20successfully','map','signal','createSecureContext','context','catch','reject','6055trABMm','Queue\x20drain\x20timeout\x20after\x20','should\x20have\x20a\x20registered\x20debuggee','deregister','pubkey','host','makeRequest','1242180hmUqIb','statSync','isTransmissionEnsured','Serverless','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','max','8ScTNTA','waitFor','number','update','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','isServerless','collectCooldownMs','\x22\x20-\x20ignoring\x20it','16BLNcdd','password','secureContext','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Bearer\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','transmissionHardMaxNetworkSizeLimitInBytes','transmitBreakpointUpdates','transmissionTimeout','logger','push','109570bzQnkk','response','/appOnlyActionHits/','join','ascii','__esModule','connect','includes','readFileSync','unknown\x20error\x20-\x20request\x20response\x20missing','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','getRedactions','\x20size\x20is\x20','memory-streams','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','\x20Error:\x20','bind','now','caPath','Transmitting\x20breakpoint\x20updates...','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','status','Timeout\x20occurred\x20after\x20','breakpoint\x20','pipeline','lastLogCollectionTime','POST','finally','Controller','length','253944JvNsgT','maxLogFileBytes','\x20seconds','message','Using\x20proxy\x20configuration:\x20','register','failed\x20to\x20serialize\x20breakpoint\x20','\x20for\x20request\x20','then','https-proxy-agent','application/json','floor','serializedJson','error','/redaction','/deregister/','js-yaml','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','request','308ngbllT','defineProperty','port','\x20and\x20enqueue\x20to\x20queue','/log/','transmission\x20queue\x20is\x20empty','load','getJsonStringSizeInBytes','http://','getBlocklist','zlib','waiting\x20for\x20active\x20transmission','shift','application/octet-stream','config','size','404133CblLol','agentLog','/blacklist?successOnTimeout=true','PUT','Compressing\x20and\x20sending\x20log\x20file\x20','ms.\x20Queue\x20length:\x20','transmissionBulkMaxNetworkSizeInBytes','stringify','sendAgentLogsToServer','digest','info','Agent','/breakpoints?','3667491TjIIbQ','(((.+)+)+)+$','debug','WritableStream','listBreakpoints','5944gXkdcO','extend'];a6_0x3a94=function(){return _0xd7eb55;};return a6_0x3a94();}const a6_0x1bcab1=(function(){let _0x32ef3a=!![];return function(_0x3f4962,_0x56aa2e){const _0x145110=_0x32ef3a?function(){if(_0x56aa2e){const _0x3492f4=_0x56aa2e['apply'](_0x3f4962,arguments);return _0x56aa2e=null,_0x3492f4;}}:function(){};return _0x32ef3a=![],_0x145110;};}()),a6_0x4d615f=a6_0x1bcab1(this,function(){const _0x1f408b=a6_0x2ed9;return a6_0x4d615f[_0x1f408b(0xde)]()[_0x1f408b(0xe9)](_0x1f408b(0xd7))[_0x1f408b(0xde)]()[_0x1f408b(0xe8)](a6_0x4d615f)[_0x1f408b(0xe9)]('(((.+)+)+)+$');});function a6_0x2ed9(_0x40abe3,_0x1a1254){const _0x2beea7=a6_0x3a94();return a6_0x2ed9=function(_0x4d615f,_0x1bcab1){_0x4d615f=_0x4d615f-0x6d;let _0x3a9484=_0x2beea7[_0x4d615f];return _0x3a9484;},a6_0x2ed9(_0x40abe3,_0x1a1254);}a6_0x4d615f();'use strict';Object[a6_0x5cf642(0xba)](exports,a6_0x5cf642(0x8d),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x5cf642(0xf4)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x5cf642(0xc3)),stream_1=require('stream'),memory_streams_1=require(a6_0x5cf642(0x95)),tls_1=require(a6_0x5cf642(0xfc)),extend=require(a6_0x5cf642(0xdc)),axios_1=require(a6_0x5cf642(0x100)),https=require('https'),utils_1=require('./util/utils'),serverless_1=require(a6_0x5cf642(0xe6)),https_proxy_agent_1=require(a6_0x5cf642(0xaf)),yaml=require(a6_0x5cf642(0xb6)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x580f79,_0x1e9843,_0x287c61){const _0x4e8e70=a6_0x5cf642;super({'parent':_0x580f79,'baseUrl':'/controller'}),this[_0x4e8e70(0x104)]=null,this[_0x4e8e70(0xc7)]=_0x1e9843,this[_0x4e8e70(0xf2)]=[],this[_0x4e8e70(0x86)]=_0x287c61,this[_0x4e8e70(0x101)]='https://'+_0x1e9843['apiEndpoint']+'/debuggees/',this[_0x4e8e70(0x100)]=axios_1['default'][_0x4e8e70(0xed)]({'httpsAgent':getProxyAgent(_0x1e9843,_0x287c61)??new https[(_0x4e8e70(0xd4))](getHttpsAgentOptions(_0x1e9843,_0x287c61)),'proxy':![]});}[a6_0x5cf642(0xab)](_0x27c1d3,_0x26b150){const _0x474d08=a6_0x5cf642,_0x3226cb={'uri':this[_0x474d08(0x101)]+'register','method':_0x474d08(0xa2),'json':!![],'body':{'debuggee':_0x27c1d3}};this[_0x474d08(0x6d)](_0x3226cb,(_0x4befd6,_0x53d968,_0x441a2b)=>{const _0x2dd53f=_0x474d08;if(!_0x441a2b)_0x26b150(_0x4befd6??new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x4befd6){let _0x1da92b=![];_0x441a2b[_0x2dd53f(0x9d)]===HTTP_UPGRADE_REQUIRED&&_0x53d968&&(_0x53d968[_0x2dd53f(0xa9)]!==undefined&&(_0x4befd6['message']=_0x53d968[_0x2dd53f(0xa9)]),_0x1da92b=!![]),_0x26b150(_0x4befd6,_0x53d968,_0x1da92b);}else{if(_0x441a2b['status']!==HTTP_SUCCESS)_0x26b150(new Error('unable\x20to\x20register,\x20status\x20'+_0x441a2b[_0x2dd53f(0x9d)]));else!_0x53d968?.['debuggee']?_0x26b150(new Error(_0x2dd53f(0xf5))):(_0x27c1d3['id']=_0x53d968['debuggee']['id'],_0x26b150(null,_0x53d968));}}});}[a6_0x5cf642(0xda)](_0x5a1179,_0x5a68ca,_0x58f22b){const _0x2e2f0c=a6_0x5cf642;assert(_0x5a1179['id'],_0x2e2f0c(0x10e));const _0x12315b={'successOnTimeout':!![]};this[_0x2e2f0c(0x104)]&&(_0x12315b['waitToken']=this['nextWaitToken']);const _0x4a10d3=this[_0x2e2f0c(0x101)]+encodeURIComponent(_0x5a1179['id'])+_0x2e2f0c(0xd5)+qs[_0x2e2f0c(0xd0)](_0x12315b);this[_0x2e2f0c(0x6d)]({'uri':_0x4a10d3,'json':!![]},(_0x129413,_0x14473a,_0x37d768)=>{const _0x2981c9=_0x2e2f0c;if(!_0x37d768){_0x5a68ca(_0x129413??new Error(_0x2981c9(0x91)));return;}else{if(!is2xx(_0x37d768[_0x2981c9(0x9d)])){_0x5a68ca(new Error(_0x2981c9(0xb7)+_0x37d768['status']),undefined,_0x37d768);return;}else _0x14473a&&(this[_0x2981c9(0x104)]=_0x14473a[_0x2981c9(0x104)]),_0x5a68ca(null,_0x14473a,_0x37d768);}},_0x58f22b,this[_0x2e2f0c(0xfa)]=new AbortController());}async['listBreakpointsAsync'](_0x483cc8,_0x30efe3){return new Promise((_0x1dc2e3,_0x2101c3)=>{const _0x151c8e=a6_0x2ed9;this[_0x151c8e(0xda)](_0x483cc8,(_0x2fffa5,_0x508024,_0x547078)=>{_0x2fffa5?_0x2101c3(_0x2fffa5):_0x1dc2e3({'err':_0x2fffa5,'response':_0x547078,'result':_0x508024});},_0x30efe3);});}['enqueueBreakpointUpdate'](_0x26c954,_0x419a9d){const _0x40d303=a6_0x5cf642;assert(_0x26c954['id'],_0x40d303(0x10e));try{const _0x38f35f=JSON[_0x40d303(0xd0)](_0x419a9d),_0x40b081=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x38f35f);if(_0x40b081>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x40d303(0x86)][_0x40d303(0xfe)]('breakpointId:\x20'+_0x419a9d['id']+_0x40d303(0x94)+_0x40b081+_0x40d303(0xe7)+this[_0x40d303(0xc7)][_0x40d303(0x83)]);return;}this[_0x40d303(0xf2)][_0x40d303(0x87)]({'id':_0x419a9d['id'],'serializedJson':_0x38f35f,'number':0x0}),this['transmissionTimeout']??(this['transmissionTimeout']=setTimeout(()=>this['transmitBreakpointUpdates']['bind'](this)(_0x26c954['id']),0x0));}catch(_0x3a88e4){this['logger'][_0x40d303(0xb3)](_0x40d303(0xac)+_0x419a9d['id']+_0x40d303(0xbc),_0x3a88e4);return;}}[a6_0x5cf642(0xfd)](){const _0x5c940a=a6_0x5cf642;this[_0x5c940a(0xfa)]?.[_0x5c940a(0x102)](),this[_0x5c940a(0xfa)]=undefined;if(!this[_0x5c940a(0x85)])return;clearTimeout(this[_0x5c940a(0x85)]),this[_0x5c940a(0x85)]=null;}async['waitForTransmissionQueueDrain'](_0x2c5672){const _0x2c04dd=a6_0x5cf642,_0x524fb1=Date[_0x2c04dd(0x99)](),_0x33e7cc=0x1;while(Date['now']()-_0x524fb1<_0x2c5672){if(serverless_1[_0x2c04dd(0x71)][_0x2c04dd(0x7a)]()&&serverless_1[_0x2c04dd(0x71)][_0x2c04dd(0x70)]()){this[_0x2c04dd(0x86)]['debug'](_0x2c04dd(0xe4));return;}const _0x290b41=this['transmissionQueue'][_0x2c04dd(0xa5)]===0x0,_0x4b986a=!this[_0x2c04dd(0x85)],_0x33de6f=!this[_0x2c04dd(0xf0)];if(_0x290b41&&_0x4b986a&&_0x33de6f){this['logger'][_0x2c04dd(0xd8)](_0x2c04dd(0xbe));return;}this['activeTransmission']?(this['logger'][_0x2c04dd(0xd8)](_0x2c04dd(0xc4)),await Promise[_0x2c04dd(0xec)]([this[_0x2c04dd(0xf0)],(0x0,utils_1[_0x2c04dd(0x76)])(_0x33e7cc)])):(this[_0x2c04dd(0x86)][_0x2c04dd(0xd8)](_0x2c04dd(0xf6)+_0x33e7cc+'ms'),await(0x0,utils_1['waitFor'])(_0x33e7cc));}throw new Error(_0x2c04dd(0x10d)+_0x2c5672+_0x2c04dd(0xce)+this[_0x2c04dd(0xf2)][_0x2c04dd(0xa5)]);}[a6_0x5cf642(0x10f)](_0x52a050,_0x4097d5){const _0x30c1e7=a6_0x5cf642,_0x2d72d3=this[_0x30c1e7(0x101)]+encodeURIComponent(_0x52a050['id'])+_0x30c1e7(0xb5),_0x21f124={'uri':_0x2d72d3,'method':_0x30c1e7(0xa2),'json':!![]};this[_0x30c1e7(0x86)][_0x30c1e7(0xd3)](_0x30c1e7(0xf3)),this['makeRequest'](_0x21f124,(_0x429329,_0x155bfa,_0x17a151)=>{const _0x3bcef2=_0x30c1e7;(!_0x17a151||Math['floor'](_0x17a151[_0x3bcef2(0x9d)]/0x64)!==0x2)&&this['logger'][_0x3bcef2(0xfe)](_0x3bcef2(0x73)+_0x429329),_0x4097d5(_0x429329);});}['sendBreakpointLogsToServer'](_0x13274c,_0x132f6e,_0x16e516){const _0x4eaffc=a6_0x5cf642,_0x12fd8a=this[_0x4eaffc(0x101)]+encodeURIComponent(_0x13274c['id'])+_0x4eaffc(0xbd),_0xe973a9={'uri':_0x12fd8a,'method':_0x4eaffc(0xa2),'json':!![],'body':_0x132f6e};this['makeRequest'](_0xe973a9,(_0x53e7aa,_0x51208a,_0x59ecf1)=>{const _0x20007e=_0x4eaffc;(!_0x59ecf1||Math[_0x20007e(0xb1)](_0x59ecf1['status']/0x64)!==0x2)&&(this[_0x20007e(0x86)][_0x20007e(0xfe)](_0x20007e(0x80)+_0x53e7aa),_0x16e516(_0x53e7aa));});}[a6_0x5cf642(0xf8)](_0x3e4f2e,_0x75df7b,_0x11d068){const _0xc00d0b=a6_0x5cf642,_0x14d22b=this[_0xc00d0b(0x101)]+encodeURIComponent(_0x3e4f2e['id'])+_0xc00d0b(0x8a),_0x1a7abd={'uri':_0x14d22b,'method':_0xc00d0b(0xa2),'json':!![],'body':_0x75df7b};this[_0xc00d0b(0x6d)](_0x1a7abd,(_0x1d1723,_0x587338,_0x29f354)=>{const _0x46486b=_0xc00d0b;(!_0x29f354||Math[_0x46486b(0xb1)](_0x29f354['status']/0x64)!==0x2)&&(this[_0x46486b(0x86)][_0x46486b(0xfe)](_0x46486b(0x72)+_0x1d1723),_0x11d068(_0x1d1723));});}[a6_0x5cf642(0xd1)](_0x49c2ec,_0x4a3d0f,_0x11e009){const _0x219b94=a6_0x5cf642;assert(_0x49c2ec['id'],_0x219b94(0x10e));if(this[_0x219b94(0xa1)]){const _0x555051=Date[_0x219b94(0x99)](),_0x395e9a=this['lastLogCollectionTime']+this[_0x219b94(0xc7)][_0x219b94(0xca)][_0x219b94(0x7b)];if(_0x555051<_0x395e9a){this[_0x219b94(0x86)][_0x219b94(0xd3)](_0x219b94(0x9c)+(_0x395e9a-_0x555051)/0x3e8+_0x219b94(0xa8));return;}}const _0x5c9c75=(0x0,fs_1[_0x219b94(0x6f)])(_0x11e009)[_0x219b94(0xc8)],_0xeb2d91=Math[_0x219b94(0x74)](0x0,_0x5c9c75-this['config']['agentLog'][_0x219b94(0xa7)]),_0x2f769a=(0x0,fs_1[_0x219b94(0xee)])(_0x11e009,{'start':_0xeb2d91}),_0x2a3ed7=(0x0,zlib_1['createGzip'])(),_0x370427=new memory_streams_1[(_0x219b94(0xd9))]();this[_0x219b94(0x86)]['info'](_0x219b94(0xcd)+_0x11e009+'\x20for\x20request\x20id\x20'+_0x4a3d0f),(0x0,stream_1[_0x219b94(0xa0)])(_0x2f769a,_0x2a3ed7,_0x370427,_0x2a262f=>{const _0x1708f7=_0x219b94;if(_0x2a262f)this[_0x1708f7(0x86)]['error'](_0x1708f7(0xf1)+_0x11e009+':\x20'+_0x2a262f);else{const _0x4f68e6={'uri':this[_0x1708f7(0x101)]+encodeURIComponent(_0x49c2ec['id'])+'/compressedLogFileV2/'+_0x4a3d0f,'method':_0x1708f7(0xcc),'body':_0x370427['toBuffer'](),'headers':{'Content-Type':_0x1708f7(0xc6)}};this[_0x1708f7(0x6d)](_0x4f68e6,_0x234e07=>{const _0x9f80c6=_0x1708f7;_0x234e07?this[_0x9f80c6(0x86)][_0x9f80c6(0xb3)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x11e009+_0x9f80c6(0xad)+_0x4a3d0f,_0x234e07):(this['logger'][_0x9f80c6(0xd3)]('Successfully\x20sent\x20log\x20file\x20'+_0x11e009+_0x9f80c6(0xad)+_0x4a3d0f),this['lastLogCollectionTime']=Date[_0x9f80c6(0x99)]());});}});}[a6_0x5cf642(0x84)](_0x5275a2){const _0x3b2f13=a6_0x5cf642;this[_0x3b2f13(0x86)][_0x3b2f13(0xd8)](_0x3b2f13(0x9b)),this['transmissionTimeout']=undefined;const _0x5e87e0=[];let _0x382dfc=0x0;while(_0x5e87e0['length']<this[_0x3b2f13(0xc7)]['transmissionBulkMaxSize']&&this[_0x3b2f13(0xf2)][_0x3b2f13(0xa5)]>0x0){const [_0x110041]=this[_0x3b2f13(0xf2)],_0x38c675=_0x110041[_0x3b2f13(0xb2)],_0x2bcb43=(0x0,utils_1[_0x3b2f13(0xc0)])(_0x38c675);_0x382dfc+=_0x2bcb43;if(_0x382dfc<=this['config'][_0x3b2f13(0xcf)])_0x5e87e0[_0x3b2f13(0x87)](_0x110041),this[_0x3b2f13(0xf2)][_0x3b2f13(0xc5)]();else{_0x2bcb43>this[_0x3b2f13(0xc7)][_0x3b2f13(0xcf)]&&_0x5e87e0[_0x3b2f13(0xa5)]===0x0&&(this['logger'][_0x3b2f13(0xd8)](_0x3b2f13(0x9f)+_0x110041['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x3b2f13(0xc7)][_0x3b2f13(0xcf)]+',\x20sending\x20only\x20one'),_0x5e87e0[_0x3b2f13(0x87)](_0x110041),this[_0x3b2f13(0xf2)][_0x3b2f13(0xc5)]());break;}}if(!_0x5e87e0)return;const _0xa90460=_0x5e87e0[_0x3b2f13(0x106)](_0x236489=>_0x236489['id']),_0x516e56={'uri':this[_0x3b2f13(0x101)]+encodeURIComponent(_0x5275a2)+_0x3b2f13(0xe5),'json':!![],'method':_0x3b2f13(0xcc),'body':'['+_0x5e87e0[_0x3b2f13(0x106)](_0x4f558e=>_0x4f558e[_0x3b2f13(0xb2)])[_0x3b2f13(0x8b)](',')+']'};try{this[_0x3b2f13(0xf0)]=this[_0x3b2f13(0x6d)](_0x516e56,(_0x13be6c,_0x4335cc,_0x2cf872)=>{const _0x29d72a=_0x3b2f13,_0x39fac1=_0x2cf872?.[_0x29d72a(0x9d)];this[_0x29d72a(0x86)][_0x29d72a(0xd8)]('Update\x20for\x20breakpoints\x20'+_0xa90460+'\x20finished\x20with\x20status\x20'+_0x39fac1);if(_0x13be6c||!_0x39fac1||Math[_0x29d72a(0xb1)](_0x39fac1/0x64)!==0x2){const _0x35020c=_0x39fac1&&(_0x39fac1>=0x1f4||_0x39fac1===0x198);if(_0x35020c){this[_0x29d72a(0x86)][_0x29d72a(0xfe)](_0x29d72a(0xdd)+_0xa90460+_0x29d72a(0x92)+_0x39fac1+_0x29d72a(0x97)+_0x13be6c);for(const _0x20b732 of _0x5e87e0){_0x20b732['number']<MAX_FAILED_SEND_ATTEMPTS?this['transmissionQueue'][_0x29d72a(0x87)]({..._0x20b732,'number':_0x20b732[_0x29d72a(0x77)]+0x1}):this[_0x29d72a(0x86)][_0x29d72a(0xfe)](_0x29d72a(0xea)+_0x20b732['id']+_0x29d72a(0x82));}}else this[_0x29d72a(0x86)][_0x29d72a(0xfe)](_0x29d72a(0x96)+_0xa90460+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x39fac1+'\x20Error:\x20'+_0x13be6c);}else this[_0x29d72a(0x86)]['info']('Update\x20for\x20breakpoints\x20'+_0xa90460+_0x29d72a(0x105));this[_0x29d72a(0xf2)][_0x29d72a(0xa5)]>0x0&&(this[_0x29d72a(0x85)]=setTimeout(()=>this['transmitBreakpointUpdates'][_0x29d72a(0x98)](this)(_0x5275a2),0x0));},0x28)[_0x3b2f13(0xa3)](()=>{const _0x58e096=_0x3b2f13;this[_0x58e096(0xf0)]=undefined;});}catch(_0x4efa66){this['logger'][_0x3b2f13(0xfe)](_0x3b2f13(0x96)+_0xa90460+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4efa66+_0x3b2f13(0xf9)+_0x4efa66[_0x3b2f13(0xdf)]?.[_0x3b2f13(0xa9)]),this[_0x3b2f13(0xf2)][_0x3b2f13(0xa5)]>0x0&&(this[_0x3b2f13(0x85)]=setTimeout(()=>this[_0x3b2f13(0x84)]['bind'](this)(_0x5275a2),0x0)),this[_0x3b2f13(0xf0)]=undefined;}}async[a6_0x5cf642(0xc2)](_0x222cde){const _0x57cf3f=a6_0x5cf642;this['logger'][_0x57cf3f(0xd3)]('Getting\x20blocklist');const _0x1deb1d=this[_0x57cf3f(0x101)]+encodeURIComponent(_0x222cde)+_0x57cf3f(0xcb),{error:_0x3c9414,data:_0x665a10}=await this['makeRequest']({'uri':_0x1deb1d,'json':!![]});if(_0x3c9414)return Promise[_0x57cf3f(0x10b)](_0x3c9414);return yaml[_0x57cf3f(0xbf)](_0x665a10)??{};}[a6_0x5cf642(0x6d)](_0x380b8c,_0x2d3630,_0x4dd696,_0x111ae8,_0x531780){const _0x459a04=a6_0x5cf642,_0x49ff6c={'Content-Type':_0x531780??_0x459a04(0xb0),'Authorization':_0x459a04(0x81)+this['config']['lightrunSecret']},_0x1b5861=_0x111ae8??new AbortController(),_0x2b90c3=_0x4dd696?_0x4dd696*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x459a04(0x86)]['debug'](_0x459a04(0xe0)+_0x2b90c3);const _0x3bd629=setTimeout(()=>{const _0x1a2b64=_0x459a04;this['logger'][_0x1a2b64(0xfe)](_0x1a2b64(0x9e)+_0x2b90c3+'ms'),_0x1b5861[_0x1a2b64(0x102)]();},_0x2b90c3),_0x1ba305={'method':_0x380b8c[_0x459a04(0xfb)],'url':_0x380b8c['uri'],'data':_0x380b8c[_0x459a04(0xe2)],'headers':_0x49ff6c,'signal':_0x1b5861[_0x459a04(0x107)]};return extend(!![],_0x1ba305,_0x380b8c),this[_0x459a04(0x100)][_0x459a04(0xb8)](_0x1ba305)[_0x459a04(0xae)](_0x1b1c22=>{const _0xcc5cfb=_0x459a04;return _0x2d3630?.(null,_0x1b1c22[_0xcc5cfb(0xdf)],_0x1b1c22),{'error':null,'data':_0x1b1c22[_0xcc5cfb(0xdf)],'res':_0x1b1c22};})[_0x459a04(0x10a)](_0x7114ee=>{const _0x42b7d0=_0x459a04;return _0x2d3630?.(_0x7114ee,_0x7114ee[_0x42b7d0(0x89)]?.['data'],_0x7114ee['response']),{'error':_0x7114ee,'data':_0x7114ee['response']?.[_0x42b7d0(0xdf)],'res':_0x7114ee[_0x42b7d0(0x89)]};})[_0x459a04(0xa3)](()=>clearTimeout(_0x3bd629));}async[a6_0x5cf642(0x93)](_0x22b705){const _0x2f90ff=a6_0x5cf642;this[_0x2f90ff(0x86)][_0x2f90ff(0xd3)]('Getting\x20reductions');const _0x543e4c=this[_0x2f90ff(0x101)]+encodeURIComponent(_0x22b705)+_0x2f90ff(0xb4),{error:_0x2244d3,data:_0x5b4b84}=await this['makeRequest']({'uri':_0x543e4c,'json':!![]});if(_0x2244d3)return Promise['reject'](_0x2244d3);return _0x5b4b84;}}exports[a6_0x5cf642(0xa4)]=Controller;function is2xx(_0x5a9e5e){const _0x55a760=a6_0x5cf642;return Math[_0x55a760(0xb1)](_0x5a9e5e/0x64)===0x2;}function getProxyAgent(_0x351ab0,_0x49d000){const _0x2ac1f1=a6_0x5cf642,{proxy:_0x1e52db}=_0x351ab0;if(!_0x1e52db?.[_0x2ac1f1(0x111)])return undefined;if(!_0x1e52db[_0x2ac1f1(0xbb)])return _0x49d000[_0x2ac1f1(0xb3)](_0x2ac1f1(0x79)),undefined;_0x49d000[_0x2ac1f1(0xd3)](_0x2ac1f1(0xaa)+_0x1e52db['host']+':'+_0x1e52db[_0x2ac1f1(0xbb)]+',\x20username:\x20'+(_0x1e52db[_0x2ac1f1(0xff)]??''));const _0x28de54=new URL(_0x2ac1f1(0xc1)+_0x1e52db['host']);_0x28de54[_0x2ac1f1(0xbb)]=String(_0x1e52db['port']);_0x1e52db[_0x2ac1f1(0xff)]&&(_0x28de54[_0x2ac1f1(0xff)]=_0x1e52db[_0x2ac1f1(0xff)]);_0x1e52db[_0x2ac1f1(0x7e)]&&(_0x28de54[_0x2ac1f1(0x7e)]=_0x1e52db[_0x2ac1f1(0x7e)]);const _0xa30d19=new https_proxy_agent_1['HttpsProxyAgent'](_0x28de54),_0x2d3039=getHttpsAgentOptions(_0x351ab0,_0x49d000),_0x5bac57=_0xa30d19['connect']['bind'](_0xa30d19);return _0xa30d19[_0x2ac1f1(0x8e)]=(_0x37d8e7,_0x4e71f8)=>_0x5bac57(_0x37d8e7,{..._0x4e71f8,..._0x2d3039}),_0xa30d19;}function getHttpsAgentOptions(_0x20b48f,_0x419ef3){const _0x31f6f1=a6_0x5cf642,_0x18261b={'checkServerIdentity':(_0xc2f3c2,_0x5f27b0)=>{const _0x1fe913=a6_0x2ed9;if(_0x20b48f['noCheckCertificate'])return undefined;const _0x48cc2e=(0x0,crypto_1['createHash'])(_0x1fe913(0xef))[_0x1fe913(0x78)](_0x5f27b0[_0x1fe913(0x110)])[_0x1fe913(0xd2)]('hex');return _0x20b48f[_0x1fe913(0xeb)][_0x1fe913(0x8f)](_0x48cc2e)?undefined:new Error(_0x1fe913(0xf7));}};let _0x34420b;if(_0x20b48f[_0x31f6f1(0x9a)])try{_0x34420b=(0x0,fs_1[_0x31f6f1(0x90)])(_0x20b48f[_0x31f6f1(0x9a)],_0x31f6f1(0x8c));}catch{_0x419ef3[_0x31f6f1(0xfe)](_0x31f6f1(0xe1)+_0x20b48f[_0x31f6f1(0x9a)]+_0x31f6f1(0x7c));}if(_0x34420b){const _0x2dc76b=(0x0,tls_1[_0x31f6f1(0x108)])(_0x18261b);_0x2dc76b[_0x31f6f1(0x109)]['addCACert'](_0x34420b),_0x18261b[_0x31f6f1(0x7f)]=_0x2dc76b;}return _0x18261b;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x517870=a7_0xece0;(function(_0x27b34d,_0x2fd15e){const _0x4118fe=a7_0xece0,_0x453de9=_0x27b34d();while(!![]){try{const _0x490202=-parseInt(_0x4118fe(0x120))/0x1*(parseInt(_0x4118fe(0x12b))/0x2)+parseInt(_0x4118fe(0x119))/0x3+parseInt(_0x4118fe(0x132))/0x4*(parseInt(_0x4118fe(0x122))/0x5)+-parseInt(_0x4118fe(0x10d))/0x6*(parseInt(_0x4118fe(0x109))/0x7)+parseInt(_0x4118fe(0x124))/0x8*(parseInt(_0x4118fe(0x117))/0x9)+-parseInt(_0x4118fe(0x12a))/0xa*(-parseInt(_0x4118fe(0x116))/0xb)+-parseInt(_0x4118fe(0x130))/0xc;if(_0x490202===_0x2fd15e)break;else _0x453de9['push'](_0x453de9['shift']());}catch(_0x419e0a){_0x453de9['push'](_0x453de9['shift']());}}}(a7_0x2671,0x6796e));const a7_0x1456e6=(function(){let _0x521762=!![];return function(_0x3db62d,_0x141373){const _0x2333f5=_0x521762?function(){const _0xbaf756=a7_0xece0;if(_0x141373){const _0x21cdbd=_0x141373[_0xbaf756(0x128)](_0x3db62d,arguments);return _0x141373=null,_0x21cdbd;}}:function(){};return _0x521762=![],_0x2333f5;};}()),a7_0x59027a=a7_0x1456e6(this,function(){const _0x1b1942=a7_0xece0;return a7_0x59027a['toString']()[_0x1b1942(0x11b)]('(((.+)+)+)+$')[_0x1b1942(0x114)]()[_0x1b1942(0x110)](a7_0x59027a)[_0x1b1942(0x11b)]('(((.+)+)+)+$');});a7_0x59027a();'use strict';Object[a7_0x517870(0x125)](exports,a7_0x517870(0x129),{'value':!![]}),exports[a7_0x517870(0x12c)]=exports[a7_0x517870(0x11a)]=void 0x0;function a7_0x2671(){const _0x3f2dbb=['search','./createDebuggeeMetadata','utf-8','node','base64','1tdAHBA','stringify','45rmXLFC','minorversion','8rJFfDd','defineProperty','from','Debuggee','apply','__esModule','377690Ozqvcx','1467476pVgBoB','createDebuggee','UNSPECIFIED','createDebuggeeMetadata','isLambda','10409148gFtIhG','../../debuggee','303204MSxSSL','cwd','service','minorVersion_','internal','getPlatform','relative','path','StatusMessage','871339dUliGB','version','./getPlatform','name','6sHqWJe','./createUniquifier','module','constructor','sourceContexts','createUniquifier','title','toString','versions','77kpGfVM','6585129DTfEOm','string','1415019rHVHdc','encodeBase64'];a7_0x2671=function(){return _0x3f2dbb;};return a7_0x2671();}const path=require(a7_0x517870(0x107)),status_message_1=require('../../client/stackdriver/status-message'),debuggee_1=require(a7_0x517870(0x131)),createDebuggeeMetadata_1=require(a7_0x517870(0x11c)),createUniquifier_1=require(a7_0x517870(0x10e)),getPlatform_1=require(a7_0x517870(0x10b)),encodeBase64=_0x200635=>Buffer[a7_0x517870(0x126)](_0x200635,a7_0x517870(0x11d))['toString'](a7_0x517870(0x11f));function a7_0xece0(_0x4a5823,_0x2ce623){const _0xc1cc8e=a7_0x2671();return a7_0xece0=function(_0x59027a,_0x1456e6){_0x59027a=_0x59027a-0x101;let _0x267110=_0xc1cc8e[_0x59027a];return _0x267110;},a7_0xece0(_0x4a5823,_0x2ce623);}exports[a7_0x517870(0x11a)]=encodeBase64;const createDebuggee=(_0x3cde5d,_0x71a855,_0x29c139,_0x188c6a,_0x5a703b,_0x421ee1,_0x22b499,_0x59f640)=>{const _0x583654=a7_0x517870,_0xdc794c=process[_0x583654(0x101)](),_0x3d4e42=path[_0x583654(0x106)](_0xdc794c,process['argv'][0x1]),_0x1a076b={'main\x20script':_0x3d4e42,'process.title':process[_0x583654(0x113)],'node\x20version':process[_0x583654(0x115)][_0x583654(0x11e)],'V8\x20version':process[_0x583654(0x115)]['v8'],'agent.name':_0x188c6a[_0x583654(0x10c)],'agent.version':_0x5a703b,'platform':(0x0,getPlatform_1[_0x583654(0x105)])()},{serviceContext:_0x327cd2}=_0x71a855;_0x327cd2&&(typeof _0x327cd2['service']===_0x583654(0x118)&&_0x327cd2[_0x583654(0x102)]!=='default'&&(_0x1a076b[_0x583654(0x10f)]=_0x327cd2[_0x583654(0x102)]),typeof _0x327cd2[_0x583654(0x10a)]===_0x583654(0x118)&&(_0x1a076b['version']=_0x327cd2[_0x583654(0x10a)]),typeof _0x327cd2[_0x583654(0x103)]===_0x583654(0x118)&&(_0x1a076b[_0x583654(0x123)]=_0x327cd2[_0x583654(0x103)]));const _0x5aa4dc=(0x0,createUniquifier_1[_0x583654(0x112)])(_0x5a703b,_0x3cde5d,_0x29c139,_0x1a076b),_0x405a5a=_0x59f640?new status_message_1[(_0x583654(0x108))](status_message_1[_0x583654(0x108)][_0x583654(0x12d)],_0x59f640,!![]):undefined,_0x386427=(0x0,createDebuggeeMetadata_1[_0x583654(0x12e)])(_0x71a855,_0x421ee1),_0x10af63={'uniquifier':_0x5aa4dc,'agentVersion':_0x5a703b,'labels':{'metadataV2':(0x0,exports[_0x583654(0x11a)])(JSON[_0x583654(0x121)](_0x386427))},'statusMessage':_0x405a5a,'packageInfo':_0x188c6a,..._0x22b499,'isInLambda':_0x71a855[_0x583654(0x104)]?.[_0x583654(0x12f)]};return _0x29c139&&(_0x10af63[_0x583654(0x111)]=[_0x29c139]),new debuggee_1[(_0x583654(0x127))](_0x10af63);};exports['createDebuggee']=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a8_0x4c3a0d=a8_0x584c;function a8_0x27f7(){const _0xa989f4=['registration','(((.+)+)+)+$','parse','13659520enJWgz','filename','2WAWdMj','tags','22290PEzEWX','4060068RAKXCO','utf-8','map','9096eGgKWr','1837527nlgJjd','7263aUNAiE','readFileSync','search','defineProperty','Failed\x20to\x20read\x20metadata\x20file\x20','toString','constructor','string','1132ExJahE','metadata','extend','27777871QwrHGh','142727TkEwRv','apply','7CWpGhl'];a8_0x27f7=function(){return _0xa989f4;};return a8_0x27f7();}(function(_0x57fc2c,_0x1920eb){const _0xa62244=a8_0x584c,_0x33d69d=_0x57fc2c();while(!![]){try{const _0x414abe=parseInt(_0xa62244(0x135))/0x1*(parseInt(_0xa62244(0x13d))/0x2)+parseInt(_0xa62244(0x144))/0x3+-parseInt(_0xa62244(0x131))/0x4*(parseInt(_0xa62244(0x13f))/0x5)+-parseInt(_0xa62244(0x140))/0x6*(parseInt(_0xa62244(0x137))/0x7)+-parseInt(_0xa62244(0x143))/0x8*(-parseInt(_0xa62244(0x129))/0x9)+-parseInt(_0xa62244(0x13b))/0xa+parseInt(_0xa62244(0x134))/0xb;if(_0x414abe===_0x1920eb)break;else _0x33d69d['push'](_0x33d69d['shift']());}catch(_0x4e8427){_0x33d69d['push'](_0x33d69d['shift']());}}}(a8_0x27f7,0xda374));const a8_0x50cd80=(function(){let _0x558915=!![];return function(_0x5c1be4,_0x50936e){const _0x4b1136=_0x558915?function(){const _0x1ad99a=a8_0x584c;if(_0x50936e){const _0x1937a6=_0x50936e[_0x1ad99a(0x136)](_0x5c1be4,arguments);return _0x50936e=null,_0x1937a6;}}:function(){};return _0x558915=![],_0x4b1136;};}()),a8_0x4e6afd=a8_0x50cd80(this,function(){const _0x2a5571=a8_0x584c;return a8_0x4e6afd['toString']()[_0x2a5571(0x12b)](_0x2a5571(0x139))[_0x2a5571(0x12e)]()[_0x2a5571(0x12f)](a8_0x4e6afd)[_0x2a5571(0x12b)]('(((.+)+)+)+$');});a8_0x4e6afd();'use strict';Object[a8_0x4c3a0d(0x12c)](exports,'__esModule',{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;function a8_0x584c(_0x23f23c,_0x2faea4){const _0x2744c3=a8_0x27f7();return a8_0x584c=function(_0x4e6afd,_0x50cd80){_0x4e6afd=_0x4e6afd-0x129;let _0x27f776=_0x2744c3[_0x4e6afd];return _0x27f776;},a8_0x584c(_0x23f23c,_0x2faea4);}const fs=require('fs'),extend=require(a8_0x4c3a0d(0x133)),createDebuggeeMetadata=(_0x148a67,_0x229ed6)=>{const _0x3ed6ca=a8_0x4c3a0d;let _0x303c8d={'registration':{}};if(_0x148a67[_0x3ed6ca(0x132)]?.['filename'])try{_0x303c8d=JSON[_0x3ed6ca(0x13a)](fs[_0x3ed6ca(0x12a)](_0x148a67[_0x3ed6ca(0x132)][_0x3ed6ca(0x13c)],_0x3ed6ca(0x141)));}catch(_0x422627){_0x229ed6['warn'](_0x3ed6ca(0x12d)+_0x148a67[_0x3ed6ca(0x132)][_0x3ed6ca(0x13c)],_0x422627);}return _0x303c8d[_0x3ed6ca(0x138)]=extend(!![],{},_0x148a67['metadata']?.[_0x3ed6ca(0x138)],_0x303c8d[_0x3ed6ca(0x138)]),_0x303c8d[_0x3ed6ca(0x138)]?.['tags']&&(_0x303c8d['registration'][_0x3ed6ca(0x13e)]=_0x303c8d[_0x3ed6ca(0x138)]['tags'][_0x3ed6ca(0x142)](_0x7bfc5=>typeof _0x7bfc5===_0x3ed6ca(0x130)?{'name':_0x7bfc5}:_0x7bfc5)),_0x303c8d;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a9_0x185bd9=a9_0x2e41;function a9_0x439a(){const _0x478abb=['update','constructor','search','sha1','6310UCanda','2812107KVNLtj','stringify','toString','crypto','4319922zAKTjl','apply','createUniquifier','(((.+)+)+)+$','984712nYvQCH','9116464iISMUZ','8mBQMYm','9279145tBETip','defineProperty','9696834xgrgUB'];a9_0x439a=function(){return _0x478abb;};return a9_0x439a();}(function(_0x34ce83,_0xcc397c){const _0x2fc987=a9_0x2e41,_0x5b4c05=_0x34ce83();while(!![]){try{const _0x5e819e=-parseInt(_0x2fc987(0xcd))/0x1+parseInt(_0x2fc987(0xd6))/0x2+-parseInt(_0x2fc987(0xce))/0x3*(-parseInt(_0x2fc987(0xd8))/0x4)+-parseInt(_0x2fc987(0xc6))/0x5+parseInt(_0x2fc987(0xd2))/0x6+-parseInt(_0x2fc987(0xc8))/0x7+parseInt(_0x2fc987(0xd7))/0x8;if(_0x5e819e===_0xcc397c)break;else _0x5b4c05['push'](_0x5b4c05['shift']());}catch(_0x2bd9aa){_0x5b4c05['push'](_0x5b4c05['shift']());}}}(a9_0x439a,0xef126));const a9_0x3ddb00=(function(){let _0x3782b0=!![];return function(_0x1c8bb7,_0x122166){const _0x4e90db=_0x3782b0?function(){const _0x5b2766=a9_0x2e41;if(_0x122166){const _0x421ba7=_0x122166[_0x5b2766(0xd3)](_0x1c8bb7,arguments);return _0x122166=null,_0x421ba7;}}:function(){};return _0x3782b0=![],_0x4e90db;};}()),a9_0x3ccf65=a9_0x3ddb00(this,function(){const _0x3f35ca=a9_0x2e41;return a9_0x3ccf65[_0x3f35ca(0xd0)]()[_0x3f35ca(0xcb)](_0x3f35ca(0xd5))[_0x3f35ca(0xd0)]()[_0x3f35ca(0xca)](a9_0x3ccf65)['search'](_0x3f35ca(0xd5));});a9_0x3ccf65();'use strict';Object[a9_0x185bd9(0xc7)](exports,'__esModule',{'value':!![]}),exports[a9_0x185bd9(0xd4)]=void 0x0;const crypto=require(a9_0x185bd9(0xd1)),createUniquifier=(_0x4893c2,_0x4b74ac,_0x4e1508,_0x24e87e)=>{const _0x274b37=a9_0x185bd9,_0x429f71=_0x4893c2+_0x4b74ac+JSON[_0x274b37(0xcf)](_0x4e1508)+JSON[_0x274b37(0xcf)](_0x24e87e);return crypto['createHash'](_0x274b37(0xcc))[_0x274b37(0xc9)](_0x429f71)['digest']('hex');};function a9_0x2e41(_0x87853c,_0x90cd2f){const _0x21c4bf=a9_0x439a();return a9_0x2e41=function(_0x3ccf65,_0x3ddb00){_0x3ccf65=_0x3ccf65-0xc6;let _0x439ac7=_0x21c4bf[_0x3ccf65];return _0x439ac7;},a9_0x2e41(_0x87853c,_0x90cd2f);}exports[a9_0x185bd9(0xd4)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a10_0x36d77c=a10_0x4fd2;function a10_0x4fd2(_0x50b24e,_0x2c806e){const _0x53a57=a10_0x2e92();return a10_0x4fd2=function(_0x308e1a,_0x30bbb1){_0x308e1a=_0x308e1a-0x15e;let _0x2e92dc=_0x53a57[_0x308e1a];return _0x2e92dc;},a10_0x4fd2(_0x50b24e,_0x2c806e);}(function(_0xd7566f,_0x2b43ca){const _0x4e3a11=a10_0x4fd2,_0x222613=_0xd7566f();while(!![]){try{const _0x38e55d=-parseInt(_0x4e3a11(0x16e))/0x1+-parseInt(_0x4e3a11(0x167))/0x2*(-parseInt(_0x4e3a11(0x162))/0x3)+-parseInt(_0x4e3a11(0x161))/0x4+parseInt(_0x4e3a11(0x169))/0x5+-parseInt(_0x4e3a11(0x16d))/0x6+parseInt(_0x4e3a11(0x168))/0x7+parseInt(_0x4e3a11(0x16a))/0x8;if(_0x38e55d===_0x2b43ca)break;else _0x222613['push'](_0x222613['shift']());}catch(_0x50a487){_0x222613['push'](_0x222613['shift']());}}}(a10_0x2e92,0xc170b));const a10_0x30bbb1=(function(){let _0x4c8f90=!![];return function(_0x5d377e,_0x1c4b44){const _0xea9463=_0x4c8f90?function(){const _0x15d861=a10_0x4fd2;if(_0x1c4b44){const _0x3e44f8=_0x1c4b44[_0x15d861(0x160)](_0x5d377e,arguments);return _0x1c4b44=null,_0x3e44f8;}}:function(){};return _0x4c8f90=![],_0xea9463;};}()),a10_0x308e1a=a10_0x30bbb1(this,function(){const _0x3f8cbe=a10_0x4fd2;return a10_0x308e1a[_0x3f8cbe(0x165)]()[_0x3f8cbe(0x166)](_0x3f8cbe(0x170))[_0x3f8cbe(0x165)]()[_0x3f8cbe(0x15e)](a10_0x308e1a)[_0x3f8cbe(0x166)](_0x3f8cbe(0x170));});a10_0x308e1a();'use strict';Object[a10_0x36d77c(0x163)](exports,a10_0x36d77c(0x16f),{'value':!![]}),exports[a10_0x36d77c(0x16c)]=void 0x0;function a10_0x2e92(){const _0x544cb4=['split','delimit','6325992ZnGLas','433636KnBNCx','__esModule','(((.+)+)+)+$','constructor','push','apply','4938264WlNvqk','3jLCRmH','defineProperty','length','toString','search','274562ZXuEmI','3404408WpUcZv','7234915CagIKM','11554056FQwSJE'];a10_0x2e92=function(){return _0x544cb4;};return a10_0x2e92();}const delimit=(_0x5a7c85,_0x1633e1)=>{const _0x4f4c68=a10_0x36d77c,_0x3e6f73=_0x5a7c85[_0x4f4c68(0x16b)](_0x1633e1),_0x2383a6=[];_0x2383a6[_0x4f4c68(0x15f)](_0x3e6f73[0x0]);for(let _0x12722a=0x1;_0x12722a<_0x3e6f73[_0x4f4c68(0x164)];_0x12722a++){_0x2383a6[_0x4f4c68(0x15f)]({'v':_0x1633e1},_0x3e6f73[_0x12722a]);}return _0x2383a6;};exports[a10_0x36d77c(0x16c)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x2add0b=a11_0x5111;function a11_0x255c(){const _0xb21529=['4017050WtxYTN','apply','__esModule','13331OFLbCy','format','test','search','tokenize','128blFcyF','3807510ybzyFO','480RNHoEv','substring','./tokenize','1100404nNTCPl','toString','constructor','3858200enlNza','length','8622108WbpaCp','124075jactDP','defineProperty','9OgywHP','(((.+)+)+)+$'];a11_0x255c=function(){return _0xb21529;};return a11_0x255c();}(function(_0x28b466,_0x54b4af){const _0x37f5f3=a11_0x5111,_0x518987=_0x28b466();while(!![]){try{const _0x532b41=-parseInt(_0x37f5f3(0x124))/0x1*(-parseInt(_0x37f5f3(0x129))/0x2)+parseInt(_0x37f5f3(0x136))/0x3*(parseInt(_0x37f5f3(0x12e))/0x4)+-parseInt(_0x37f5f3(0x131))/0x5+-parseInt(_0x37f5f3(0x12a))/0x6+-parseInt(_0x37f5f3(0x134))/0x7*(-parseInt(_0x37f5f3(0x12b))/0x8)+-parseInt(_0x37f5f3(0x133))/0x9+parseInt(_0x37f5f3(0x138))/0xa;if(_0x532b41===_0x54b4af)break;else _0x518987['push'](_0x518987['shift']());}catch(_0x1eabc0){_0x518987['push'](_0x518987['shift']());}}}(a11_0x255c,0xbe4bf));const a11_0x36fd70=(function(){let _0x25057d=!![];return function(_0x1ad383,_0x3f2ab9){const _0x55b99b=_0x25057d?function(){const _0x36bd58=a11_0x5111;if(_0x3f2ab9){const _0x7cbda2=_0x3f2ab9[_0x36bd58(0x122)](_0x1ad383,arguments);return _0x3f2ab9=null,_0x7cbda2;}}:function(){};return _0x25057d=![],_0x55b99b;};}()),a11_0x1036de=a11_0x36fd70(this,function(){const _0x383292=a11_0x5111;return a11_0x1036de['toString']()['search'](_0x383292(0x137))[_0x383292(0x12f)]()[_0x383292(0x130)](a11_0x1036de)[_0x383292(0x127)](_0x383292(0x137));});a11_0x1036de();'use strict';Object[a11_0x2add0b(0x135)](exports,a11_0x2add0b(0x123),{'value':!![]}),exports[a11_0x2add0b(0x125)]=void 0x0;function a11_0x5111(_0x3d2176,_0x109e79){const _0x153a2f=a11_0x255c();return a11_0x5111=function(_0x1036de,_0x36fd70){_0x1036de=_0x1036de-0x122;let _0x255c4a=_0x153a2f[_0x1036de];return _0x255c4a;},a11_0x5111(_0x3d2176,_0x109e79);}const tokenize_1=require(a11_0x2add0b(0x12d)),format=(_0x671956,_0x4891ad)=>{const _0x30b515=a11_0x2add0b,_0x156bb4=(0x0,tokenize_1[_0x30b515(0x128)])(_0x671956,_0x4891ad['length']);for(let _0x2755b2=0x0;_0x2755b2<_0x156bb4[_0x30b515(0x132)];_0x2755b2++){if(!_0x156bb4[_0x2755b2]['v'])continue;if(_0x156bb4[_0x2755b2]['v']==='$$'){_0x156bb4[_0x2755b2]='$';continue;}for(let _0x3312d3=0x0;_0x3312d3<_0x4891ad[_0x30b515(0x132)];_0x3312d3++){if(_0x156bb4[_0x2755b2]['v']==='$'+_0x3312d3){let _0x2ba82a=_0x4891ad[_0x3312d3];/^".*"$/[_0x30b515(0x126)](_0x2ba82a)&&(_0x2ba82a=_0x2ba82a[_0x30b515(0x12c)](0x1,_0x2ba82a[_0x30b515(0x132)]-0x1));_0x156bb4[_0x2755b2]=_0x2ba82a;break;}}}return _0x156bb4['join']('');};exports[a11_0x2add0b(0x125)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x4b5ea8=a12_0x29a6;(function(_0x407b20,_0x59f7bb){const _0x156fe9=a12_0x29a6,_0x1e14c0=_0x407b20();while(!![]){try{const _0x31f1ca=parseInt(_0x156fe9(0x1ee))/0x1+parseInt(_0x156fe9(0x1f3))/0x2*(parseInt(_0x156fe9(0x205))/0x3)+-parseInt(_0x156fe9(0x1f0))/0x4*(-parseInt(_0x156fe9(0x208))/0x5)+-parseInt(_0x156fe9(0x1e7))/0x6+parseInt(_0x156fe9(0x1fb))/0x7+-parseInt(_0x156fe9(0x200))/0x8+-parseInt(_0x156fe9(0x1f1))/0x9*(parseInt(_0x156fe9(0x20f))/0xa);if(_0x31f1ca===_0x59f7bb)break;else _0x1e14c0['push'](_0x1e14c0['shift']());}catch(_0x4fd6db){_0x1e14c0['push'](_0x1e14c0['shift']());}}}(a12_0x3c90,0x76e36));const a12_0x2c190e=(function(){let _0x1d33be=!![];return function(_0xb60d8a,_0x563ce3){const _0x26b35e=_0x1d33be?function(){const _0x24433c=a12_0x29a6;if(_0x563ce3){const _0x149fa3=_0x563ce3[_0x24433c(0x1f9)](_0xb60d8a,arguments);return _0x563ce3=null,_0x149fa3;}}:function(){};return _0x1d33be=![],_0x26b35e;};}()),a12_0x196073=a12_0x2c190e(this,function(){const _0x3553b=a12_0x29a6;return a12_0x196073[_0x3553b(0x20e)]()[_0x3553b(0x1ef)](_0x3553b(0x1fa))[_0x3553b(0x20e)]()['constructor'](a12_0x196073)[_0x3553b(0x1ef)]('(((.+)+)+)+$');});a12_0x196073();function a12_0x29a6(_0x2b44cd,_0x20c94b){const _0x39dfe1=a12_0x3c90();return a12_0x29a6=function(_0x196073,_0x2c190e){_0x196073=_0x196073-0x1e1;let _0x3c906a=_0x39dfe1[_0x196073];return _0x3c906a;},a12_0x29a6(_0x2b44cd,_0x20c94b);}function a12_0x3c90(){const _0x144aee=['15237wNLgLr','useScriptSourcemap','39430MIBKiM','extra_paths','java-properties','getFirst','split','__esModule','apply','(((.+)+)+)+$','1705361gZTggo','fetch_breakpoints_once','proxy_host','max_snapshot_buffer_size','noCheckCertificate','4746088eDVDPQ','collect_log_cooldown_ms','map','getFloat','proxy_port','102gkeFGs','max_dynamic_log_rate','getAgentConfig','4585865xYYAgL','existsSync','pinned_certs','trim','max_snapshot_frame_count','getBoolean','toString','7420WYaMKJ','getInt','max_condition_cost','agent_log_max_file_size_mb','defineProperty','agent_regmetadata_file','proxy_password','breakpoint_expiration_sec','agent_log_target_dir','103740VDlPvB','com.lightrun.secret','proxy_username','resolve_frame_locations','max_watchlist_variable_size','dynamic_log_quota_recovery_ms','max_log_file_bytes','522617bqmvoj','search','4vuyqgr'];a12_0x3c90=function(){return _0x144aee;};return a12_0x3c90();}'use strict';Object[a12_0x4b5ea8(0x1e2)](exports,a12_0x4b5ea8(0x1f8),{'value':!![]}),exports[a12_0x4b5ea8(0x207)]=void 0x0;const properties=require(a12_0x4b5ea8(0x1f5)),fs=require('fs'),getAgentConfig=_0x801c01=>{const _0x119fcc=a12_0x4b5ea8;if(fs[_0x119fcc(0x209)](_0x801c01)){const _0x5383aa=properties['of'](_0x801c01);return{'lightrunSecret':_0x5383aa['getFirst'](_0x119fcc(0x1e8)),'apiEndpoint':_0x5383aa['getFirst']('apiEndpoint'),'breakpointExpirationSec':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x1e5)),'transmissionBulkMaxSize':_0x5383aa[_0x119fcc(0x210)]('transmission_bulk_max_size'),'noCheckCertificate':_0x5383aa[_0x119fcc(0x20d)](_0x119fcc(0x1ff)),'pinnedCerts':_0x5383aa[_0x119fcc(0x1f6)](_0x119fcc(0x20a))?.[_0x119fcc(0x1f7)](','),'metadata':{'filename':_0x5383aa[_0x119fcc(0x1f6)](_0x119fcc(0x1e3))},'capture':{'maxFrames':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x20c)),'maxDataSize':_0x5383aa[_0x119fcc(0x210)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x1fe)),'maxVariableSize':_0x5383aa[_0x119fcc(0x210)]('max_variable_size'),'maxWatchListVariableSize':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x1eb)),'resolveFrameLocations':_0x5383aa[_0x119fcc(0x20d)](_0x119fcc(0x1ea))},'agentLog':{'collectCooldownMs':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x201)),'agentLogTargetDir':_0x5383aa['getFirst'](_0x119fcc(0x1e6)),'agentLogLevel':_0x5383aa[_0x119fcc(0x1f6)]('agent_log_level'),'agentLogMaxFileCount':_0x5383aa[_0x119fcc(0x210)]('agent_log_max_file_count'),'agentLogMaxFileSizeMb':_0x5383aa['getInt'](_0x119fcc(0x1e1)),'maxLogFileBytes':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x1ed))},'internal':{'dumpJSContentFilenames':_0x5383aa[_0x119fcc(0x1f6)]('dumpJSContentFilenames')?.[_0x119fcc(0x1f7)](',')},'useScriptSourcemap':_0x5383aa['getBoolean'](_0x119fcc(0x1f2)),'quota':{'ignoreQuota':_0x5383aa['getBoolean']('ignore_quota'),'maxCPUCost':_0x5383aa[_0x119fcc(0x203)]('max_log_cpu_cost'),'maxConditionCost':_0x5383aa[_0x119fcc(0x203)](_0x119fcc(0x211)),'maxDynamicLogRate':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x206)),'maxDynamicLogByteRate':_0x5383aa[_0x119fcc(0x210)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x1ec))&&_0x5383aa[_0x119fcc(0x210)](_0x119fcc(0x1ec))/0x3e8},'fetchBreakpointsOnce':_0x5383aa[_0x119fcc(0x20d)](_0x119fcc(0x1fc)),'extraPaths':_0x5383aa[_0x119fcc(0x1f6)](_0x119fcc(0x1f4))?.[_0x119fcc(0x1f7)](',')?.[_0x119fcc(0x202)](_0xa1613d=>_0xa1613d[_0x119fcc(0x20b)]()),'proxy':{'host':_0x5383aa[_0x119fcc(0x1f6)](_0x119fcc(0x1fd)),'port':_0x5383aa['getInt'](_0x119fcc(0x204)),'username':_0x5383aa[_0x119fcc(0x1f6)](_0x119fcc(0x1e9)),'password':_0x5383aa[_0x119fcc(0x1f6)](_0x119fcc(0x1e4))}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x2f469b=a13_0x2f60;(function(_0x34955c,_0x35b80e){const _0x4431eb=a13_0x2f60,_0x5dc8a8=_0x34955c();while(!![]){try{const _0xdddef7=-parseInt(_0x4431eb(0x14d))/0x1*(-parseInt(_0x4431eb(0x144))/0x2)+-parseInt(_0x4431eb(0x13a))/0x3*(parseInt(_0x4431eb(0x14c))/0x4)+parseInt(_0x4431eb(0x13d))/0x5*(-parseInt(_0x4431eb(0x13f))/0x6)+-parseInt(_0x4431eb(0x149))/0x7*(-parseInt(_0x4431eb(0x140))/0x8)+parseInt(_0x4431eb(0x142))/0x9+-parseInt(_0x4431eb(0x141))/0xa+-parseInt(_0x4431eb(0x14e))/0xb*(parseInt(_0x4431eb(0x145))/0xc);if(_0xdddef7===_0x35b80e)break;else _0x5dc8a8['push'](_0x5dc8a8['shift']());}catch(_0x492c6b){_0x5dc8a8['push'](_0x5dc8a8['shift']());}}}(a13_0x440c,0xd2287));Object['defineProperty'](exports,a13_0x2f469b(0x143),{'value':!![]}),exports[a13_0x2f469b(0x14f)]=exports[a13_0x2f469b(0x14a)]=void 0x0;var Platforms;function a13_0x440c(){const _0x45831d=['8JevAFe','1bNynDR','682FKsbbI','getPlatform','env','cloud_function','CLOUD_FUNCTION','122748djsWWx','apply','DEFAULT','15aUAVZj','(((.+)+)+)+$','2090754Lyxzrw','1528KcUhuL','16605330glPxSK','10808415yprwfX','__esModule','3238370aomXMc','98544Hofyeb','search','constructor','toString','49021EKtgNF','Platforms','default'];a13_0x440c=function(){return _0x45831d;};return a13_0x440c();}function a13_0x2f60(_0x53f4fc,_0x141af7){const _0x29cc44=a13_0x440c();return a13_0x2f60=function(_0x1f50f2,_0x1c957b){_0x1f50f2=_0x1f50f2-0x137;let _0x440c7c=_0x29cc44[_0x1f50f2];return _0x440c7c;},a13_0x2f60(_0x53f4fc,_0x141af7);}(function(_0x241eb1){const _0x2dad17=a13_0x2f469b,_0x2f56e9=(function(){let _0x50ff22=!![];return function(_0x59f365,_0x5e56b3){const _0x2e019c=_0x50ff22?function(){const _0x2400bf=a13_0x2f60;if(_0x5e56b3){const _0x55b66d=_0x5e56b3[_0x2400bf(0x13b)](_0x59f365,arguments);return _0x5e56b3=null,_0x55b66d;}}:function(){};return _0x50ff22=![],_0x2e019c;};}()),_0x3c7061=_0x2f56e9(this,function(){const _0x452fc5=a13_0x2f60;return _0x3c7061[_0x452fc5(0x148)]()['search'](_0x452fc5(0x13e))[_0x452fc5(0x148)]()[_0x452fc5(0x147)](_0x3c7061)[_0x452fc5(0x146)](_0x452fc5(0x13e));});_0x3c7061(),_0x241eb1[_0x2dad17(0x139)]=_0x2dad17(0x138),_0x241eb1[_0x2dad17(0x13c)]=_0x2dad17(0x14b);}(Platforms||(exports[a13_0x2f469b(0x14a)]=Platforms={})));const getPlatform=()=>{const _0x527934=a13_0x2f469b,{FUNCTION_NAME:_0xfd97e4,FUNCTION_TARGET:_0x2422a7}=process[_0x527934(0x137)];if(_0xfd97e4||_0x2422a7)return Platforms[_0x527934(0x139)];return Platforms['DEFAULT'];};exports[a13_0x2f469b(0x14f)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x3ea0a2=a14_0x2f83;(function(_0x9420c6,_0x56c8eb){const _0x146250=a14_0x2f83,_0x33fc13=_0x9420c6();while(!![]){try{const _0x25c0fb=parseInt(_0x146250(0xc4))/0x1*(parseInt(_0x146250(0xc5))/0x2)+parseInt(_0x146250(0xc0))/0x3*(-parseInt(_0x146250(0xc7))/0x4)+-parseInt(_0x146250(0xbf))/0x5*(parseInt(_0x146250(0xc6))/0x6)+-parseInt(_0x146250(0xbe))/0x7*(-parseInt(_0x146250(0xd2))/0x8)+parseInt(_0x146250(0xd1))/0x9*(-parseInt(_0x146250(0xc9))/0xa)+-parseInt(_0x146250(0xd3))/0xb+-parseInt(_0x146250(0xce))/0xc*(-parseInt(_0x146250(0xbc))/0xd);if(_0x25c0fb===_0x56c8eb)break;else _0x33fc13['push'](_0x33fc13['shift']());}catch(_0x3c5b97){_0x33fc13['push'](_0x33fc13['shift']());}}}(a14_0x4248,0xd6633));const a14_0x5840f8=(function(){let _0x33f9f2=!![];return function(_0x41054c,_0x16e462){const _0x424b78=_0x33f9f2?function(){const _0x352429=a14_0x2f83;if(_0x16e462){const _0x41949f=_0x16e462[_0x352429(0xc3)](_0x41054c,arguments);return _0x16e462=null,_0x41949f;}}:function(){};return _0x33f9f2=![],_0x424b78;};}()),a14_0x32dfbc=a14_0x5840f8(this,function(){const _0x40576b=a14_0x2f83;return a14_0x32dfbc[_0x40576b(0xbd)]()[_0x40576b(0xbb)](_0x40576b(0xc8))[_0x40576b(0xbd)]()['constructor'](a14_0x32dfbc)[_0x40576b(0xbb)]('(((.+)+)+)+$');});a14_0x32dfbc();'use strict';Object[a14_0x3ea0a2(0xcb)](exports,a14_0x3ea0a2(0xca),{'value':!![]}),exports[a14_0x3ea0a2(0xcf)]=void 0x0;function a14_0x2f83(_0x6e2715,_0x42ee9e){const _0x3879de=a14_0x4248();return a14_0x2f83=function(_0x32dfbc,_0x5840f8){_0x32dfbc=_0x32dfbc-0xbb;let _0x4248ca=_0x3879de[_0x32dfbc];return _0x4248ca;},a14_0x2f83(_0x6e2715,_0x42ee9e);}const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x16cabc=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x16cabc['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})['value']*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x16cabc[a14_0x3ea0a2(0xd0)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x3ea0a2(0xd4)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x16cabc['maxExpandFrames'],{'min':0x1,'max':0xa})[a14_0x3ea0a2(0xd4)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x2c8f42,{max:_0x59e8b0,min:_0x58be22},_0x335bab)=>{const _0x34ffb5=a14_0x3ea0a2;let _0x51b856;if(_0x2c8f42>_0x59e8b0)return _0x335bab&&(_0x51b856='Config\x20'+_0x335bab+'\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x59e8b0),{'value':_0x59e8b0,'warning':_0x51b856};else{if(_0x2c8f42<_0x58be22)return _0x335bab&&(_0x51b856=_0x34ffb5(0xcc)+_0x335bab+_0x34ffb5(0xc2)+_0x58be22),{'value':_0x58be22,'warning':_0x51b856};}return{'value':_0x2c8f42,'warning':_0x51b856};},limitConfig=_0x38464d=>{const _0x41a872=a14_0x3ea0a2,{capture:_0xed7c94}=_0x38464d,_0x338fb5=[],_0x5352c9=getCaptureConfigLimits(_0xed7c94),_0x3bd1af={};for(const [_0x41157d,_0x39d06d]of Object[_0x41a872(0xcd)](_0x5352c9)){const _0x152b3e=_0xed7c94[_0x41157d];if(typeof _0x152b3e===_0x41a872(0xc1)){const {value:_0x5ec090,warning:_0x43d78f}=resolveLimitedConfig(_0x152b3e,_0x39d06d,_0x41157d);_0x3bd1af[_0x41157d]=_0x5ec090,_0x43d78f&&_0x338fb5['push'](_0x43d78f);}}return{..._0x38464d,'capture':{..._0xed7c94,..._0x3bd1af},'warnings':_0x338fb5};};function a14_0x4248(){const _0x5e164d=['6687087QdFFTe','value','search','36998GsOcOk','toString','142037aoVPQg','10ECnBzG','17211LEjtmB','number','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','apply','16771TyhwMN','58qrvmSO','533802WHoCzu','1000ADsdyU','(((.+)+)+)+$','60eGECmR','__esModule','defineProperty','Config\x20','entries','11616XbCQki','limitConfig','maxSnapshotBufferSize','1036368RFXFJa','216GRcbxk'];a14_0x4248=function(){return _0x5e164d;};return a14_0x4248();}exports[a14_0x3ea0a2(0xcf)]=limitConfig;
|