lightrun 1.37.1 → 1.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x1ad97d=a0_0x1f59;(function(_0x573b59,_0xc254f5){const _0x2b0f54=a0_0x1f59,_0x3dead8=_0x573b59();while(!![]){try{const _0x19468b=parseInt(_0x2b0f54(0x174))/0x1*(parseInt(_0x2b0f54(0x18f))/0x2)+-parseInt(_0x2b0f54(0x16b))/0x3*(-parseInt(_0x2b0f54(0x184))/0x4)+-parseInt(_0x2b0f54(0x172))/0x5+-parseInt(_0x2b0f54(0x18d))/0x6+parseInt(_0x2b0f54(0x17b))/0x7+-parseInt(_0x2b0f54(0x17a))/0x8*(-parseInt(_0x2b0f54(0x188))/0x9)+-parseInt(_0x2b0f54(0x187))/0xa;if(_0x19468b===_0xc254f5)break;else _0x3dead8['push'](_0x3dead8['shift']());}catch(_0xd510af){_0x3dead8['push'](_0x3dead8['shift']());}}}(a0_0x3e4e,0x5d2bd));const a0_0x246a8a=(function(){let _0x3a2a1d=!![];return function(_0x48aa82,_0x19f4b9){const _0x375011=_0x3a2a1d?function(){const _0x159854=a0_0x1f59;if(_0x19f4b9){const _0x38ebd5=_0x19f4b9[_0x159854(0x175)](_0x48aa82,arguments);return _0x19f4b9=null,_0x38ebd5;}}:function(){};return _0x3a2a1d=![],_0x375011;};}()),a0_0x533e16=a0_0x246a8a(this,function(){const _0x51cd74=a0_0x1f59;return a0_0x533e16[_0x51cd74(0x18a)]()[_0x51cd74(0x18b)](_0x51cd74(0x185))[_0x51cd74(0x18a)]()[_0x51cd74(0x171)](a0_0x533e16)[_0x51cd74(0x18b)]('(((.+)+)+)+$');});a0_0x533e16();'use strict';Object[a0_0x1ad97d(0x181)](exports,'__esModule',{'value':!![]});function a0_0x1f59(_0x4a35cd,_0x5b48f7){const _0x304082=a0_0x3e4e();return a0_0x1f59=function(_0x533e16,_0x246a8a){_0x533e16=_0x533e16-0x167;let _0x3e4e98=_0x304082[_0x533e16];return _0x3e4e98;},a0_0x1f59(_0x4a35cd,_0x5b48f7);}const winston_1=require(a0_0x1ad97d(0x182)),DailyRotateFile=require(a0_0x1ad97d(0x16e)),process_1=require(a0_0x1ad97d(0x169)),{combine,printf,timestamp}=winston_1[a0_0x1ad97d(0x183)],{Console}=winston_1[a0_0x1ad97d(0x186)],now=new Date();function getLoggerTransport(_0x1ba5af,_0x4d6ca8,_0x3a4644){const _0x29194c=a0_0x1ad97d;if(_0x1ba5af)return new DailyRotateFile({'dirname':_0x1ba5af,'filename':AgentLogger['AGENT_LOG_FILE'],'datePattern':now['getFullYear']()[_0x29194c(0x18a)]()+now['getMonth']()[_0x29194c(0x18a)]()['padStart'](0x2,'0')+now[_0x29194c(0x16f)]()['toString']()[_0x29194c(0x178)](0x2,'0')+'-'+now[_0x29194c(0x17d)]()[_0x29194c(0x18a)]()[_0x29194c(0x178)](0x2,'0')+now[_0x29194c(0x170)]()['toString']()[_0x29194c(0x178)](0x2,'0')+now[_0x29194c(0x176)]()[_0x29194c(0x18a)]()[_0x29194c(0x178)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger['AGENT_LOG_FILE'],'maxSize':_0x4d6ca8+'m','maxFiles':_0x3a4644,'extension':_0x29194c(0x18e)});return new Console();}class AgentLogger{constructor(_0x331991,_0xb99ef2,_0x193c94,_0x473305,_0x5ce4d6){const _0x22bb56=a0_0x1ad97d;this[_0x22bb56(0x16d)]=(0x0,winston_1['createLogger'])({'level':_0x473305,'transports':[getLoggerTransport(_0x331991,_0xb99ef2,_0x193c94),new Console({'level':_0x5ce4d6,'stderrLevels':[_0x22bb56(0x167),'info',_0x22bb56(0x189),_0x22bb56(0x177)]})],'format':combine(timestamp(),printf(({level:_0x46e780,message:_0x2a325e,timestamp:_0x5521a3})=>{const _0x3f84b9=_0x22bb56;return _0x5521a3+'\x20['+_0x46e780[_0x3f84b9(0x168)]()+_0x3f84b9(0x18c)+_0x2a325e;}),winston_1['format'][_0x22bb56(0x180)]())});}static[a0_0x1ad97d(0x17e)](_0x1e08a1,_0xd3e9f3,_0x8d3439,_0x3fbf8b,_0x298c1d){return new AgentLogger(_0x1e08a1,_0xd3e9f3,_0x8d3439,_0x3fbf8b,_0x298c1d);}[a0_0x1ad97d(0x167)](..._0x22f285){const _0x2876fb=a0_0x1ad97d;this[_0x2876fb(0x16d)][_0x2876fb(0x167)](_0x22f285);}['info'](..._0x51c682){const _0xf6b088=a0_0x1ad97d;this[_0xf6b088(0x16d)][_0xf6b088(0x16c)](_0x51c682);}[a0_0x1ad97d(0x189)](..._0x1c33a8){const _0x2b5ca7=a0_0x1ad97d;this[_0x2b5ca7(0x16d)]['warn'](_0x1c33a8);}[a0_0x1ad97d(0x177)](..._0x4b4ef5){const _0x51d28f=a0_0x1ad97d;this[_0x51d28f(0x16d)]['error'](_0x4b4ef5);}}function a0_0x3e4e(){const _0x5a877a=['constructor','2955720pXgfKy','lightrun_nodejs_agent.','13616EYCUFL','apply','getSeconds','error','padStart','default','8pdoWqZ','2943402lsigPz','pid','getHours','createLogger','.%DATE%','json','defineProperty','winston','format','2599976Pjrobi','(((.+)+)+)+$','transports','5220870JaFTrQ','3432330WAnKTw','warn','toString','search',']\x20-\x20','1784340lKzlct','.log','50bIyNgt','debug','toUpperCase','process','AGENT_LOG_FILE','3ZZSEMl','info','logger','winston-daily-rotate-file','getDate','getMinutes'];a0_0x3e4e=function(){return _0x5a877a;};return a0_0x3e4e();}AgentLogger[a0_0x1ad97d(0x16a)]=a0_0x1ad97d(0x173)+process_1[a0_0x1ad97d(0x17c)]+a0_0x1ad97d(0x17f),exports[a0_0x1ad97d(0x179)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x360035=a1_0x568d;(function(_0x296757,_0x2f51b7){const _0x364334=a1_0x568d,_0x36b636=_0x296757();while(!![]){try{const _0x37b4b9=-parseInt(_0x364334(0xa8))/0x1*(-parseInt(_0x364334(0x9f))/0x2)+-parseInt(_0x364334(0xb3))/0x3*(-parseInt(_0x364334(0xb1))/0x4)+-parseInt(_0x364334(0xad))/0x5*(parseInt(_0x364334(0xa0))/0x6)+-parseInt(_0x364334(0xa1))/0x7*(-parseInt(_0x364334(0xaf))/0x8)+parseInt(_0x364334(0xa6))/0x9*(-parseInt(_0x364334(0xaa))/0xa)+parseInt(_0x364334(0x9a))/0xb*(parseInt(_0x364334(0xa3))/0xc)+-parseInt(_0x364334(0xab))/0xd;if(_0x37b4b9===_0x2f51b7)break;else _0x36b636['push'](_0x36b636['shift']());}catch(_0x4a0371){_0x36b636['push'](_0x36b636['shift']());}}}(a1_0x2b05,0x5bb4a));const a1_0x1cf138=(function(){let _0x482e91=!![];return function(_0x1d0823,_0x555a59){const _0x15a579=_0x482e91?function(){const _0x1c4923=a1_0x568d;if(_0x555a59){const _0x31ec06=_0x555a59[_0x1c4923(0xa5)](_0x1d0823,arguments);return _0x555a59=null,_0x31ec06;}}:function(){};return _0x482e91=![],_0x15a579;};}()),a1_0x3c3954=a1_0x1cf138(this,function(){const _0x32a1bf=a1_0x568d;return a1_0x3c3954[_0x32a1bf(0x9c)]()[_0x32a1bf(0xb0)]('(((.+)+)+)+$')['toString']()[_0x32a1bf(0x9d)](a1_0x3c3954)[_0x32a1bf(0xb0)](_0x32a1bf(0xb2));});a1_0x3c3954();function a1_0x568d(_0x2dfccd,_0x523f2d){const _0x148e44=a1_0x2b05();return a1_0x568d=function(_0x3c3954,_0x1cf138){_0x3c3954=_0x3c3954-0x9a;let _0x2b05a8=_0x148e44[_0x3c3954];return _0x2b05a8;},a1_0x568d(_0x2dfccd,_0x523f2d);}'use strict';Object['defineProperty'](exports,a1_0x360035(0xa7),{'value':!![]}),exports[a1_0x360035(0xa9)]=void 0x0;class BlocklistingPatterns{constructor(_0x291701){const _0x446cf9=a1_0x360035;this[_0x446cf9(0x9e)]=[],this[_0x446cf9(0x9b)]=[],_0x291701&&_0x291701[_0x446cf9(0xae)](_0x269a88=>{const _0x385a54=_0x446cf9;_0x269a88&&(_0x269a88[0x0]==='!'?this[_0x385a54(0x9e)][_0x385a54(0xa2)](new RegExp(_0x269a88['substring'](0x1))):this[_0x385a54(0x9b)][_0x385a54(0xa2)](new RegExp(_0x269a88)));});}[a1_0x360035(0xa4)](_0x228ca1){const _0x231cb0=a1_0x360035,_0x537da7=_0x45f052=>_0x228ca1['match'](_0x45f052);return this['inversePatterns']['length']!==0x0&&!this['inversePatterns'][_0x231cb0(0xac)](_0x537da7)||this[_0x231cb0(0x9b)][_0x231cb0(0xac)](_0x537da7);}}function a1_0x2b05(){const _0x39b5cd=['push','567444boyPoA','matches','apply','378iymAJl','__esModule','2rfReox','BlocklistingPatterns','41710rqBykS','14563809NeZFbD','some','1752610UtFylu','forEach','5636872TFcCUX','search','2426308ZwGmJe','(((.+)+)+)+$','3nWdpUI','11QxYiFK','patterns','toString','constructor','inversePatterns','663150vCDTPI','6xxDyQL','7wNzFnv'];a1_0x2b05=function(){return _0x39b5cd;};return a1_0x2b05();}exports[a1_0x360035(0xa9)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a2_0x22fbec=a2_0x23f2;(function(_0x1dec76,_0x30dbe5){var _0x5843b9=a2_0x23f2,_0x2d1236=_0x1dec76();while(!![]){try{var _0x1c9a32=-parseInt(_0x5843b9(0x17d))/0x1+-parseInt(_0x5843b9(0x172))/0x2*(-parseInt(_0x5843b9(0x17b))/0x3)+-parseInt(_0x5843b9(0x17f))/0x4+-parseInt(_0x5843b9(0x170))/0x5*(-parseInt(_0x5843b9(0x181))/0x6)+-parseInt(_0x5843b9(0x174))/0x7*(parseInt(_0x5843b9(0x171))/0x8)+-parseInt(_0x5843b9(0x17e))/0x9+parseInt(_0x5843b9(0x17c))/0xa;if(_0x1c9a32===_0x30dbe5)break;else _0x2d1236['push'](_0x2d1236['shift']());}catch(_0x3f9803){_0x2d1236['push'](_0x2d1236['shift']());}}}(a2_0x1680,0x92c3a));var a2_0x2596a6=(function(){var _0x47b344=!![];return function(_0x403646,_0x25da69){var _0x5d5c58=_0x47b344?function(){var _0x292b7d=a2_0x23f2;if(_0x25da69){var _0x2d50d7=_0x25da69[_0x292b7d(0x178)](_0x403646,arguments);return _0x25da69=null,_0x2d50d7;}}:function(){};return _0x47b344=![],_0x5d5c58;};}()),a2_0x3fb754=a2_0x2596a6(this,function(){var _0x83fded=a2_0x23f2;return a2_0x3fb754[_0x83fded(0x177)]()['search'](_0x83fded(0x179))[_0x83fded(0x177)]()[_0x83fded(0x175)](a2_0x3fb754)[_0x83fded(0x17a)](_0x83fded(0x179));});a2_0x3fb754();'use strict';Object[a2_0x22fbec(0x173)](exports,'__esModule',{'value':!![]}),exports[a2_0x22fbec(0x16f)]=void 0x0;function a2_0x1680(){var _0x55c71d=['77jTpmZg','constructor','value','toString','apply','(((.+)+)+)+$','search','3ezxWWC','18716590nonnmH','1169682NQxkKn','6097536exELel','1694176YsbgmY','shouldBlock','18ifkNXM','DummyBlocklistManager','1153515KKeoeB','604216qLypBZ','2277810NbVHzK','defineProperty'];a2_0x1680=function(){return _0x55c71d;};return a2_0x1680();}function a2_0x23f2(_0x50cb98,_0x17922b){var _0x50d34b=a2_0x1680();return a2_0x23f2=function(_0x3fb754,_0x2596a6){_0x3fb754=_0x3fb754-0x16f;var _0x1680c0=_0x50d34b[_0x3fb754];return _0x1680c0;},a2_0x23f2(_0x50cb98,_0x17922b);}class DummyBlocklistManager{constructor(_0x279bf2){var _0x5138a4=a2_0x22fbec;this[_0x5138a4(0x176)]=_0x279bf2;}[a2_0x22fbec(0x180)](){var _0x3f0178=a2_0x22fbec;return this[_0x3f0178(0x176)];}}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x2af8(_0x1a8343,_0x46deb3){const _0xca501=a3_0x33b4();return a3_0x2af8=function(_0x452a9b,_0x52bdab){_0x452a9b=_0x452a9b-0x7f;let _0x33b4fc=_0xca501[_0x452a9b];return _0x33b4fc;},a3_0x2af8(_0x1a8343,_0x46deb3);}const a3_0x506930=a3_0x2af8;(function(_0x3cf764,_0x5918f5){const _0x2e024b=a3_0x2af8,_0x2116e7=_0x3cf764();while(!![]){try{const _0x32b14f=-parseInt(_0x2e024b(0x96))/0x1*(parseInt(_0x2e024b(0x97))/0x2)+-parseInt(_0x2e024b(0x7f))/0x3+parseInt(_0x2e024b(0x93))/0x4*(-parseInt(_0x2e024b(0x95))/0x5)+-parseInt(_0x2e024b(0x8e))/0x6+parseInt(_0x2e024b(0x85))/0x7+-parseInt(_0x2e024b(0x8b))/0x8*(-parseInt(_0x2e024b(0x91))/0x9)+parseInt(_0x2e024b(0x83))/0xa*(parseInt(_0x2e024b(0x8f))/0xb);if(_0x32b14f===_0x5918f5)break;else _0x2116e7['push'](_0x2116e7['shift']());}catch(_0x4ba541){_0x2116e7['push'](_0x2116e7['shift']());}}}(a3_0x33b4,0xdd0b0));const a3_0x52bdab=(function(){let _0x102f44=!![];return function(_0x216426,_0x409b5f){const _0x297228=_0x102f44?function(){const _0x114acf=a3_0x2af8;if(_0x409b5f){const _0x2f0cbd=_0x409b5f[_0x114acf(0x81)](_0x216426,arguments);return _0x409b5f=null,_0x2f0cbd;}}:function(){};return _0x102f44=![],_0x297228;};}()),a3_0x452a9b=a3_0x52bdab(this,function(){const _0x44dd35=a3_0x2af8;return a3_0x452a9b[_0x44dd35(0x88)]()[_0x44dd35(0x8d)](_0x44dd35(0x86))[_0x44dd35(0x88)]()[_0x44dd35(0x82)](a3_0x452a9b)[_0x44dd35(0x8d)](_0x44dd35(0x86));});a3_0x452a9b();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x506930(0x80)]=void 0x0;const blocklisting_patterns_1=require('./blocklisting-patterns'),utils=require(a3_0x506930(0x84));class PatternsBlocklistManager{constructor(_0x5d5609,_0x322ceb,_0xdd27f5){const _0x31a386=a3_0x506930;this[_0x31a386(0x87)]=new blocklisting_patterns_1[(_0x31a386(0x92))](_0x5d5609),this[_0x31a386(0x8c)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x322ceb),this['config']=_0xdd27f5;}[a3_0x506930(0x89)](_0x886f02){const _0x3d72f1=a3_0x506930;_0x886f02=this[_0x3d72f1(0x94)](_0x886f02);if(this['blocklistExceptions']['matches'](_0x886f02))return![];return this[_0x3d72f1(0x87)]['matches'](_0x886f02);}[a3_0x506930(0x94)](_0x1efe89){const _0xb9c046=a3_0x506930;if(utils[_0xb9c046(0x90)](_0x1efe89,this['config']))return utils['stripCurrentWorkingDirectory'](_0x1efe89,this[_0xb9c046(0x8a)]);return _0x1efe89;}}exports[a3_0x506930(0x80)]=PatternsBlocklistManager;function a3_0x33b4(){const _0x1aae98=['116shRNls','2505036OlDyFy','PatternsBlocklistManager','apply','constructor','250WgkxYl','../util/utils','3343816TKbiUF','(((.+)+)+)+$','blocklist','toString','shouldBlock','config','248uWDNnL','blocklistExceptions','search','8186598ofiRaq','1514062tftxxe','isPathInCurrentWorkingDirectory','352566SyXdmt','BlocklistingPatterns','3818396OmBZCE','stripWorkingDir','5lLJDYl','18512MPsmZY'];a3_0x33b4=function(){return _0x1aae98;};return a3_0x33b4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x579731=a4_0x318a;(function(_0x144b79,_0x17e2a0){const _0x15ee48=a4_0x318a,_0x25cd90=_0x144b79();while(!![]){try{const _0x1c48dc=-parseInt(_0x15ee48(0x14f))/0x1+parseInt(_0x15ee48(0x15e))/0x2+parseInt(_0x15ee48(0x156))/0x3+parseInt(_0x15ee48(0x155))/0x4*(parseInt(_0x15ee48(0x143))/0x5)+-parseInt(_0x15ee48(0x14c))/0x6+parseInt(_0x15ee48(0x148))/0x7+-parseInt(_0x15ee48(0x14d))/0x8;if(_0x1c48dc===_0x17e2a0)break;else _0x25cd90['push'](_0x25cd90['shift']());}catch(_0x58b5b3){_0x25cd90['push'](_0x25cd90['shift']());}}}(a4_0x585e,0x57939));function a4_0x585e(){const _0x12cb80=['cwd','not\x20set!','info','!!!\x20NOT\x20SET\x20!!!','__esModule','1219712xVjNuV','defaultConfig','agentConfigFile','60feQChY','toString','defineProperty','constructor','.js','847651WrejRK','exists','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','1142808RhyCzC','6349672YhKvlR','(((.+)+)+)+$','182938aCkNnB','existsSync','logMainConfigParams',',\x20\x20\x20the\x20file\x20','search','agent.config','169180gSSbNI','862017FIRAWe','none','debug'];a4_0x585e=function(){return _0x12cb80;};return a4_0x585e();}function a4_0x318a(_0x83fdc6,_0xed4ef7){const _0x35f3d0=a4_0x585e();return a4_0x318a=function(_0x2108c8,_0x849e78){_0x2108c8=_0x2108c8-0x143;let _0x585e3b=_0x35f3d0[_0x2108c8];return _0x585e3b;},a4_0x318a(_0x83fdc6,_0xed4ef7);}const a4_0x849e78=(function(){let _0x44320f=!![];return function(_0x2ff392,_0x14f203){const _0x45da96=_0x44320f?function(){if(_0x14f203){const _0x163880=_0x14f203['apply'](_0x2ff392,arguments);return _0x14f203=null,_0x163880;}}:function(){};return _0x44320f=![],_0x45da96;};}()),a4_0x2108c8=a4_0x849e78(this,function(){const _0x2117ef=a4_0x318a;return a4_0x2108c8[_0x2117ef(0x144)]()[_0x2117ef(0x153)](_0x2117ef(0x14e))[_0x2117ef(0x144)]()[_0x2117ef(0x146)](a4_0x2108c8)[_0x2117ef(0x153)](_0x2117ef(0x14e));});a4_0x2108c8();'use strict';Object[a4_0x579731(0x145)](exports,a4_0x579731(0x15d),{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x579731(0x15f)]=void 0x0;const os_1=require('os'),fs_1=require('fs');exports['defaultConfig']={'workingDirectory':process[a4_0x579731(0x159)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x579731(0x147)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x5,'maxProperties':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x579731(0x15b),'stdErrThreshold':a4_0x579731(0x157),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x579731(0x14a),'ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12'],'noCheckCertificate':![],'caPath':a4_0x579731(0x14b),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x579731(0x154),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};function logMainConfigParams(_0x409dee,_0x15a19d){const _0x2ae6a6=a4_0x579731;let _0x128929=_0x409dee[_0x2ae6a6(0x160)];_0x128929?_0x128929+=_0x2ae6a6(0x152)+((0x0,fs_1[_0x2ae6a6(0x150)])(_0x409dee[_0x2ae6a6(0x160)])?_0x2ae6a6(0x149):'DOESN\x27T\x20EXIST'):_0x128929=_0x2ae6a6(0x15a);const _0x243374={..._0x409dee,'lightrunSecret':_0x409dee['lightrunSecret']?'set':_0x2ae6a6(0x15c),'agentConfigFile':_0x128929};_0x15a19d[_0x2ae6a6(0x158)]('Agent\x20Configuration:\x20',_0x243374);}exports[a4_0x579731(0x151)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a5_0x426c81=a5_0x4522;function a5_0x4522(_0x3fcf31,_0x2bcbda){var _0x5c84c2=a5_0x21fa();return a5_0x4522=function(_0x5c5fe2,_0x2090fa){_0x5c5fe2=_0x5c5fe2-0xfc;var _0x21fa66=_0x5c84c2[_0x5c5fe2];return _0x21fa66;},a5_0x4522(_0x3fcf31,_0x2bcbda);}(function(_0x15f394,_0x2b4c85){var _0x1839fb=a5_0x4522,_0x81153c=_0x15f394();while(!![]){try{var _0x396fc7=parseInt(_0x1839fb(0xfe))/0x1*(-parseInt(_0x1839fb(0x103))/0x2)+-parseInt(_0x1839fb(0x100))/0x3*(-parseInt(_0x1839fb(0x108))/0x4)+parseInt(_0x1839fb(0x10d))/0x5*(-parseInt(_0x1839fb(0xff))/0x6)+parseInt(_0x1839fb(0x10f))/0x7*(-parseInt(_0x1839fb(0x106))/0x8)+parseInt(_0x1839fb(0x104))/0x9*(parseInt(_0x1839fb(0x116))/0xa)+parseInt(_0x1839fb(0x117))/0xb*(parseInt(_0x1839fb(0x10c))/0xc)+-parseInt(_0x1839fb(0x111))/0xd;if(_0x396fc7===_0x2b4c85)break;else _0x81153c['push'](_0x81153c['shift']());}catch(_0x354d73){_0x81153c['push'](_0x81153c['shift']());}}}(a5_0x21fa,0x1a083));var a5_0x2090fa=(function(){var _0x434993=!![];return function(_0xb25684,_0x1e2e3a){var _0x2404dd=_0x434993?function(){if(_0x1e2e3a){var _0x24f3b0=_0x1e2e3a['apply'](_0xb25684,arguments);return _0x1e2e3a=null,_0x24f3b0;}}:function(){};return _0x434993=![],_0x2404dd;};}()),a5_0x5c5fe2=a5_0x2090fa(this,function(){var _0x254ee5=a5_0x4522;return a5_0x5c5fe2[_0x254ee5(0x109)]()['search']('(((.+)+)+)+$')['toString']()[_0x254ee5(0x102)](a5_0x5c5fe2)[_0x254ee5(0x115)](_0x254ee5(0x110));});function a5_0x21fa(){var _0x193bf6=['136EDbjXT','toString','maxVariableSize','capture','704364nuQDlf','415825qjqdMv','resolvedDebugAgentConfig','14YlhLdQ','(((.+)+)+)+$','1676636lzCXPr','maxWatchListVariableSize','maxStringLength','maxSnapshotBufferSize','search','262970rCtKuK','22sZzhIf','__esModule','defineProperty','2309kpFEKX','6LgbnvG','16743rdfbBk','getMaxVariableSize','constructor','72LiakAS','36sUZtOX','getMaxWatchListVariableSize','41792Djhtro','maxDataSize'];a5_0x21fa=function(){return _0x193bf6;};return a5_0x21fa();}a5_0x5c5fe2();'use strict';Object[a5_0x426c81(0xfd)](exports,a5_0x426c81(0xfc),{'value':!![]}),exports['ConfigurationProvider']=void 0x0;class ConfigurationProvider{constructor(_0x5bead7){this['resolvedDebugAgentConfig']=_0x5bead7;}[a5_0x426c81(0x101)](){var _0x38528c=a5_0x426c81;return this[_0x38528c(0x10e)][_0x38528c(0x10b)][_0x38528c(0x113)]||this[_0x38528c(0x10e)]['capture'][_0x38528c(0x10a)];}[a5_0x426c81(0x105)](){var _0x208123=a5_0x426c81;return this[_0x208123(0x10e)][_0x208123(0x10b)][_0x208123(0x112)];}['getMaxSnapshotBufferSize'](){var _0x51fab9=a5_0x426c81;return this[_0x51fab9(0x10e)][_0x51fab9(0x10b)][_0x51fab9(0x107)]||this[_0x51fab9(0x10e)][_0x51fab9(0x10b)][_0x51fab9(0x114)];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x476826=a6_0x3e0b;function a6_0x3e0b(_0x58d6a4,_0x46035c){const _0x288e41=a6_0x34f0();return a6_0x3e0b=function(_0x23ea61,_0x25c696){_0x23ea61=_0x23ea61-0x72;let _0x34f095=_0x288e41[_0x23ea61];return _0x34f095;},a6_0x3e0b(_0x58d6a4,_0x46035c);}(function(_0x4dd80a,_0x5037e0){const _0x825214=a6_0x3e0b,_0x340135=_0x4dd80a();while(!![]){try{const _0x4300cc=-parseInt(_0x825214(0x82))/0x1+-parseInt(_0x825214(0x75))/0x2+-parseInt(_0x825214(0x100))/0x3*(parseInt(_0x825214(0x83))/0x4)+parseInt(_0x825214(0x103))/0x5*(-parseInt(_0x825214(0x9f))/0x6)+-parseInt(_0x825214(0xb6))/0x7+-parseInt(_0x825214(0xcb))/0x8*(parseInt(_0x825214(0x74))/0x9)+-parseInt(_0x825214(0xa2))/0xa*(-parseInt(_0x825214(0xcf))/0xb);if(_0x4300cc===_0x5037e0)break;else _0x340135['push'](_0x340135['shift']());}catch(_0x1564ba){_0x340135['push'](_0x340135['shift']());}}}(a6_0x34f0,0xe811a));const a6_0x25c696=(function(){let _0x30f005=!![];return function(_0x5c34ec,_0x218ced){const _0x153f69=_0x30f005?function(){const _0x43fe37=a6_0x3e0b;if(_0x218ced){const _0xe88a7a=_0x218ced[_0x43fe37(0xf2)](_0x5c34ec,arguments);return _0x218ced=null,_0xe88a7a;}}:function(){};return _0x30f005=![],_0x153f69;};}()),a6_0x23ea61=a6_0x25c696(this,function(){const _0x126a9c=a6_0x3e0b;return a6_0x23ea61[_0x126a9c(0xf0)]()[_0x126a9c(0x73)](_0x126a9c(0xe6))['toString']()[_0x126a9c(0xcd)](a6_0x23ea61)[_0x126a9c(0x73)](_0x126a9c(0xe6));});function a6_0x34f0(){const _0x47fa09=['Deregister\x20agent\x20before\x20shutdown','\x20seconds','selfSignedCA','transmissionBulkMaxNetworkSizeInBytes','pinnedCerts','clearTransmissionTimeout','Failed\x20to\x20send\x20log\x20file\x20','body','secureContext','nextWaitToken','toBuffer','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','push','737896lEXMAO','agentLog','constructor','join','25982FPFSKF','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','number','zlib','shift','maxLogFileBytes','memory-streams','\x20Error:\x20','transmitBreakpointUpdates','transmissionTimeout','https','now','timeout\x20set\x20to\x20','pubkey','\x20transmitted\x20successfully','apiUrl','reject','/deregister/','caPath','Getting\x20blocklist','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','unknown\x20error\x20-\x20request\x20response\x20missing','should\x20have\x20a\x20registered\x20debuggee','(((.+)+)+)+$','method','Bearer\x20','invalid\x20response\x20body\x20from\x20server','axios','getJsonStringSizeInBytes','error','createSecureContext','noCheckCertificate','deregister','toString','uri','apply','info','\x22\x20-\x20ignoring\x20it','/appOnlyActionHits/','data','transmissionQueue','POST','\x20for\x20request\x20','Failed\x20to\x20zip\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','token','/compressedLogFile/','sendAppOnlyBreakpointHitsToServer','Failed\x20to\x20read\x20pem\x20file\x20\x22','3IbxWkZ','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','5keCUKY','sendAgentLogsToServer','getRedactions','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','sendBreakpointLogsToServer','https://','transmissionHardMaxNetworkSizeLimitInBytes','tls','./util/utils','collectCooldownMs','/redaction','Certificate\x20Pinning\x20Failed!','request','Compressing\x20and\x20sending\x20log\x20file\x20','search','27RTLdjz','2601500lFBqeC','extend','Getting\x20reductions','waitToken','source','lastLogCollectionTime','config','includes','ascii','crypto','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/breakpoints?','catch','1139492irJnWp','7495948UULfjp','listBreakpoints','stringify','context','message','update','response','cancel','assert','Successfully\x20sent\x20log\x20file\x20','debug','debuggee','enqueueBreakpointUpdate','js-yaml','serializedJson','floor','/log/','bind','unable\x20to\x20register,\x20status\x20','__esModule','status','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','stream','default','length','statSync','\x20size\x20is\x20','verifyCertificate','1827222RxvVVn','register','createHash','26810DKooKt','apiEndpoint','Agent','breakpoint\x20','finally','PUT','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','querystring','application/json','createReadStream','Controller','Breakpoint\x20','pipeline','Timeout\x20occurred\x20after\x20','transmissionBulkMaxSize','hex','ServiceObject','defineProperty','/debuggees/','makeRequest','3405437GifXye','Update\x20for\x20breakpoints\x20','load','warn','createGzip','\x20finished\x20with\x20status\x20','logger','\x20and\x20enqueue\x20to\x20queue'];a6_0x34f0=function(){return _0x47fa09;};return a6_0x34f0();}a6_0x23ea61();'use strict';Object[a6_0x476826(0xb3)](exports,a6_0x476826(0x96),{'value':!![]}),exports[a6_0x476826(0xac)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x476826(0x8b)),qs=require(a6_0x476826(0xa9)),fs_1=require('fs'),crypto_1=require(a6_0x476826(0x7e)),zlib_1=require(a6_0x476826(0xd2)),stream_1=require(a6_0x476826(0x99)),memory_streams_1=require(a6_0x476826(0xd5)),tls_1=require(a6_0x476826(0x10a)),extend=require(a6_0x476826(0x76)),axios_1=require(a6_0x476826(0xea)),https=require(a6_0x476826(0xd9)),utils_1=require(a6_0x476826(0x10b)),yaml=require(a6_0x476826(0x90)),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_0x476826(0xb2)]{constructor(_0x37860b,_0x68ae7c,_0x279e91){const _0xa3a81c=a6_0x476826;super({'parent':_0x37860b,'baseUrl':'/controller'}),this[_0xa3a81c(0xc7)]=null,this[_0xa3a81c(0x7b)]=_0x68ae7c,this[_0xa3a81c(0xf7)]=[],this[_0xa3a81c(0xbc)]=_0x279e91;if(_0x68ae7c[_0xa3a81c(0xe1)])try{this[_0xa3a81c(0xc0)]=(0x0,fs_1['readFileSync'])(_0x68ae7c[_0xa3a81c(0xe1)],_0xa3a81c(0x7d));}catch(_0xcd80cd){_0x279e91[_0xa3a81c(0xb9)](_0xa3a81c(0xff)+_0x68ae7c['caPath']+_0xa3a81c(0xf4));}this['apiUrl']=_0xa3a81c(0x108)+_0x68ae7c[_0xa3a81c(0xa3)]+_0xa3a81c(0xb4);}['register'](_0x483ab5,_0xd55694){const _0x20a186=a6_0x476826,_0xe5ef6d={'uri':this['apiUrl']+_0x20a186(0xa0),'method':_0x20a186(0xf8),'json':!![],'body':{'debuggee':_0x483ab5}};this[_0x20a186(0xb5)](_0xe5ef6d,(_0x3a6c32,_0x9f5141,_0x8b9fb)=>{const _0x74c548=_0x20a186;if(!_0x8b9fb)_0xd55694(_0x3a6c32||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x3a6c32){let _0xa43e70=![];_0x8b9fb[_0x74c548(0x97)]===HTTP_UPGRADE_REQUIRED&&_0x9f5141&&(_0x9f5141[_0x74c548(0x87)]!==undefined&&(_0x3a6c32[_0x74c548(0x87)]=_0x9f5141[_0x74c548(0x87)]),_0x483ab5['id']=_0x9f5141[_0x74c548(0x8e)]['id'],_0xa43e70=!![]),_0xd55694(_0x3a6c32,_0x9f5141,_0xa43e70);}else{if(_0x8b9fb['status']!==HTTP_SUCCESS)_0xd55694(new Error(_0x74c548(0x95)+_0x8b9fb[_0x74c548(0x97)]));else!(_0x9f5141===null||_0x9f5141===void 0x0?void 0x0:_0x9f5141[_0x74c548(0x8e)])?_0xd55694(new Error(_0x74c548(0xe9))):(_0x483ab5['id']=_0x9f5141[_0x74c548(0x8e)]['id'],_0xd55694(null,_0x9f5141));}}});}[a6_0x476826(0x84)](_0x471a7c,_0x4428e8,_0x2d7eb4){const _0xb12e68=a6_0x476826,_0x2b519b=this;assert(_0x471a7c['id'],_0xb12e68(0xe5));const _0x245185={'successOnTimeout':!![]};_0x2b519b[_0xb12e68(0xc7)]&&(_0x245185[_0xb12e68(0x78)]=_0x2b519b['nextWaitToken']);const _0xb24130=this[_0xb12e68(0xde)]+encodeURIComponent(_0x471a7c['id'])+_0xb12e68(0x80)+qs[_0xb12e68(0x85)](_0x245185);_0x2b519b[_0xb12e68(0xb5)]({'uri':_0xb24130,'json':!![]},(_0x3b4524,_0x56d5e1,_0x393365)=>{const _0x4295f2=_0xb12e68;if(!_0x393365){_0x4428e8(_0x3b4524||new Error(_0x4295f2(0xe4)));return;}else{if(!is2xx(_0x393365[_0x4295f2(0x97)])){_0x4428e8(new Error(_0x4295f2(0xe3)+_0x393365['status']),_0x393365);return;}else _0x56d5e1&&(_0x2b519b[_0x4295f2(0xc7)]=_0x56d5e1[_0x4295f2(0xc7)]),_0x4428e8(null,_0x393365,_0x56d5e1);}},_0x2d7eb4);}[a6_0x476826(0x8f)](_0x499a3b,_0xd28abd){const _0x562ff6=a6_0x476826;assert(_0x499a3b['id'],_0x562ff6(0xe5));try{const _0x48d0f0=JSON[_0x562ff6(0x85)](_0xd28abd),_0x4de848=(0x0,utils_1[_0x562ff6(0xeb)])(_0x48d0f0);if(_0x4de848>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x562ff6(0xbc)][_0x562ff6(0xb9)]('breakpointId:\x20'+_0xd28abd['id']+_0x562ff6(0x9d)+_0x4de848+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x562ff6(0x7b)][_0x562ff6(0x109)]);return;}this[_0x562ff6(0xf7)][_0x562ff6(0xca)]({'id':_0xd28abd['id'],'serializedJson':_0x48d0f0,'number':0x0});if(!this[_0x562ff6(0xd8)]){const _0x336813=this;this[_0x562ff6(0xd8)]=setTimeout(()=>_0x336813['transmitBreakpointUpdates']['bind'](_0x336813)(_0x499a3b['id']),0x0);}}catch(_0x2fe86e){this[_0x562ff6(0xbc)][_0x562ff6(0xec)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0xd28abd['id']+_0x562ff6(0xbd),_0x2fe86e);return;}}[a6_0x476826(0xc3)](){const _0x19b05d=a6_0x476826;if(!this[_0x19b05d(0xd8)])return;clearTimeout(this[_0x19b05d(0xd8)]),this['transmissionTimeout']=null;}[a6_0x476826(0xef)](_0x469f68,_0x4eb5eb){const _0x1900fa=a6_0x476826,_0x2795b3=this[_0x1900fa(0xde)]+encodeURIComponent(_0x469f68['id'])+_0x1900fa(0xe0),_0xb03c2c={'uri':_0x2795b3,'method':'POST','json':!![]};this['logger']['info'](_0x1900fa(0xbe)),this[_0x1900fa(0xb5)](_0xb03c2c,(_0x50692c,_0x569405,_0x29b7fc)=>{const _0x235a44=_0x1900fa;(!_0x29b7fc||Math[_0x235a44(0x92)](_0x29b7fc[_0x235a44(0x97)]/0x64)!==0x2)&&this['logger'][_0x235a44(0xb9)](_0x235a44(0x106)+_0x50692c),_0x4eb5eb(_0x50692c);});}[a6_0x476826(0x107)](_0x468428,_0x3ecb03,_0x3e4b87){const _0x174d3e=a6_0x476826,_0x15b932=this['apiUrl']+encodeURIComponent(_0x468428['id'])+_0x174d3e(0x93),_0xa9492c={'uri':_0x15b932,'method':_0x174d3e(0xf8),'json':!![],'body':_0x3ecb03};this[_0x174d3e(0xb5)](_0xa9492c,(_0x40e4b0,_0x127585,_0x4765a4)=>{const _0x3c44de=_0x174d3e;(!_0x4765a4||Math['floor'](_0x4765a4[_0x3c44de(0x97)]/0x64)!==0x2)&&(this[_0x3c44de(0xbc)][_0x3c44de(0xb9)](_0x3c44de(0xd0)+_0x40e4b0),_0x3e4b87(_0x40e4b0));});}[a6_0x476826(0xfe)](_0x304027,_0x1a84fe,_0x1312f0){const _0x689496=a6_0x476826,_0x41b9e4=this[_0x689496(0xde)]+encodeURIComponent(_0x304027['id'])+_0x689496(0xf5),_0x2d43a9={'uri':_0x41b9e4,'method':'POST','json':!![],'body':_0x1a84fe};this[_0x689496(0xb5)](_0x2d43a9,(_0x527103,_0x489d1d,_0x2f995d)=>{const _0x431362=_0x689496;(!_0x2f995d||Math['floor'](_0x2f995d[_0x431362(0x97)]/0x64)!==0x2)&&(this[_0x431362(0xbc)]['warn'](_0x431362(0x7f)+_0x527103),_0x1312f0(_0x527103));});}[a6_0x476826(0x104)](_0x325275,_0x76da1,_0x15028b){const _0xf0a8bd=a6_0x476826;assert(_0x325275['id'],_0xf0a8bd(0xe5));if(this['lastLogCollectionTime']){const _0x43c109=Date[_0xf0a8bd(0xda)](),_0x2b9a1c=this[_0xf0a8bd(0x7a)]+this[_0xf0a8bd(0x7b)][_0xf0a8bd(0xcc)][_0xf0a8bd(0x10c)];if(_0x43c109<_0x2b9a1c){this['logger'][_0xf0a8bd(0xf3)](_0xf0a8bd(0xc9)+((_0x2b9a1c-_0x43c109)/0x3e8+_0xf0a8bd(0xbf)));return;}}const _0x26fad2=(0x0,fs_1[_0xf0a8bd(0x9c)])(_0x15028b)['size'],_0x10178d=Math['max'](0x0,_0x26fad2-this[_0xf0a8bd(0x7b)][_0xf0a8bd(0xcc)][_0xf0a8bd(0xd4)]),_0x4636d6=(0x0,fs_1[_0xf0a8bd(0xab)])(_0x15028b,{'start':_0x10178d}),_0x4fe69d=(0x0,zlib_1[_0xf0a8bd(0xba)])(),_0x2a1023=new memory_streams_1['WritableStream'](),_0x4bffaa=this;_0x4bffaa[_0xf0a8bd(0xbc)]['info'](_0xf0a8bd(0x72)+_0x15028b+'\x20for\x20request\x20id\x20'+_0x76da1),(0x0,stream_1[_0xf0a8bd(0xae)])(_0x4636d6,_0x4fe69d,_0x2a1023,_0x3bf0bb=>{const _0x337a3e=_0xf0a8bd;if(_0x3bf0bb)_0x4bffaa[_0x337a3e(0xbc)][_0x337a3e(0xec)](_0x337a3e(0xfa)+_0x15028b+':\x20'+_0x3bf0bb);else{const _0x2b0e98={'uri':this['apiUrl']+encodeURIComponent(_0x325275['id'])+_0x337a3e(0xfd)+_0x76da1,'method':_0x337a3e(0xa7),'body':_0x2a1023[_0x337a3e(0xc8)]()};_0x4bffaa[_0x337a3e(0xb5)](_0x2b0e98,_0x398991=>{const _0x54e99d=_0x337a3e;_0x398991?_0x4bffaa[_0x54e99d(0xbc)][_0x54e99d(0xec)](_0x54e99d(0xc4)+_0x15028b+_0x54e99d(0xf9)+_0x76da1,_0x398991):(_0x4bffaa[_0x54e99d(0xbc)]['info'](_0x54e99d(0x8c)+_0x15028b+_0x54e99d(0xf9)+_0x76da1),_0x4bffaa[_0x54e99d(0x7a)]=Date[_0x54e99d(0xda)]());});}});}['transmitBreakpointUpdates'](_0x1e372b){const _0x20377d=a6_0x476826;var _0x22e0a3;this[_0x20377d(0xbc)][_0x20377d(0x8d)]('Transmitting\x20breakpoint\x20updates...'),this[_0x20377d(0xd8)]=undefined;const _0x56f5bd=[];let _0x3bbb51=0x0;while(_0x56f5bd[_0x20377d(0x9b)]<this[_0x20377d(0x7b)][_0x20377d(0xb0)]&&this['transmissionQueue'][_0x20377d(0x9b)]>0x0){const _0x29b03c=this[_0x20377d(0xf7)][0x0],_0x416ec5=_0x29b03c['serializedJson'],_0x2865b1=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x416ec5);_0x3bbb51+=_0x2865b1;if(_0x3bbb51<=this[_0x20377d(0x7b)][_0x20377d(0xc1)])_0x56f5bd['push'](_0x29b03c),this['transmissionQueue'][_0x20377d(0xd3)]();else{_0x2865b1>this[_0x20377d(0x7b)][_0x20377d(0xc1)]&&_0x56f5bd[_0x20377d(0x9b)]===0x0&&(this[_0x20377d(0xbc)][_0x20377d(0x8d)](_0x20377d(0xa5)+_0x29b03c['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x20377d(0x7b)]['transmissionBulkMaxNetworkSizeInBytes']+',\x20sending\x20only\x20one'),_0x56f5bd[_0x20377d(0xca)](_0x29b03c),this[_0x20377d(0xf7)][_0x20377d(0xd3)]());break;}}if(!_0x56f5bd)return;const _0x47ddd3=_0x56f5bd['map'](_0x2e8fee=>_0x2e8fee['id']),_0xf38423={'uri':this['apiUrl']+encodeURIComponent(_0x1e372b)+'/breakpoints','json':!![],'method':_0x20377d(0xa7),'body':'['+_0x56f5bd['map'](_0x52d8cd=>_0x52d8cd[_0x20377d(0x91)])[_0x20377d(0xce)](',')+']'},_0x3e1d85=this;try{this['makeRequest'](_0xf38423,(_0x27ae08,_0x2b7965,_0x147815)=>{const _0x594aa3=_0x20377d,_0x287828=_0x147815===null||_0x147815===void 0x0?void 0x0:_0x147815[_0x594aa3(0x97)];_0x3e1d85[_0x594aa3(0xbc)][_0x594aa3(0x8d)](_0x594aa3(0xb7)+_0x47ddd3+_0x594aa3(0xbb)+_0x287828);if(_0x27ae08||!_0x287828||Math['floor'](_0x287828/0x64)!==0x2){const _0x11dfb7=_0x287828&&(_0x287828>=0x1f4||_0x287828===0x198);if(_0x11dfb7){_0x3e1d85['logger'][_0x594aa3(0xb9)](_0x594aa3(0x102)+_0x47ddd3+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x287828+_0x594aa3(0xd6)+_0x27ae08);for(const _0x5a0a9d of _0x56f5bd){_0x5a0a9d[_0x594aa3(0xd1)]<MAX_FAILED_SEND_ATTEMPTS?_0x3e1d85[_0x594aa3(0xf7)][_0x594aa3(0xca)]({..._0x5a0a9d,'number':_0x5a0a9d[_0x594aa3(0xd1)]+0x1}):_0x3e1d85[_0x594aa3(0xbc)][_0x594aa3(0xb9)](_0x594aa3(0xad)+_0x5a0a9d['id']+_0x594aa3(0xfb));}}else _0x3e1d85[_0x594aa3(0xbc)][_0x594aa3(0xb9)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x47ddd3+_0x594aa3(0x101)+_0x287828+_0x594aa3(0xd6)+_0x27ae08);}else _0x3e1d85['logger'][_0x594aa3(0xf3)](_0x594aa3(0xb7)+_0x47ddd3+_0x594aa3(0xdd));_0x3e1d85[_0x594aa3(0xf7)][_0x594aa3(0x9b)]>0x0&&(_0x3e1d85[_0x594aa3(0xd8)]=setTimeout(()=>_0x3e1d85[_0x594aa3(0xd7)][_0x594aa3(0x94)](_0x3e1d85)(_0x1e372b),0x0));},0x28);}catch(_0x1bba64){this[_0x20377d(0xbc)][_0x20377d(0xb9)](_0x20377d(0xa8)+_0x47ddd3+_0x20377d(0x98)+_0x1bba64+',\x20Message:\x20'+((_0x22e0a3=_0x1bba64['data'])===null||_0x22e0a3===void 0x0?void 0x0:_0x22e0a3['message'])),_0x3e1d85[_0x20377d(0xf7)][_0x20377d(0x9b)]>0x0&&(_0x3e1d85[_0x20377d(0xd8)]=setTimeout(()=>_0x3e1d85[_0x20377d(0xd7)]['bind'](_0x3e1d85)(_0x1e372b),0x0));}}async['getBlocklist'](_0x27b97e){const _0x2cd20a=a6_0x476826;this[_0x2cd20a(0xbc)]['info'](_0x2cd20a(0xe2));const _0x2aaa8f=this['apiUrl']+encodeURIComponent(_0x27b97e)+'/blacklist?successOnTimeout=true',{error:_0x4a394a,data:_0x8b3cdd}=await this[_0x2cd20a(0xb5)]({'uri':_0x2aaa8f,'json':!![]});if(_0x4a394a)return Promise['reject'](_0x4a394a);return yaml[_0x2cd20a(0xb8)](_0x8b3cdd)||{};}[a6_0x476826(0xb5)](_0x28648d,_0x37676c,_0x32eb0f,_0x426e7a){const _0x58870b=a6_0x476826,_0xd59901={'Content-Type':_0x426e7a?_0x426e7a:_0x58870b(0xaa),'Authorization':_0x58870b(0xe8)+this[_0x58870b(0x7b)]['lightrunSecret']},_0x290a7b={'checkServerIdentity':(_0xef4e8,_0x30b887)=>this[_0x58870b(0x9e)](_0xef4e8,_0x30b887,this['config'])};if(this[_0x58870b(0xc0)]){const _0x16c77b=(0x0,tls_1[_0x58870b(0xed)])(_0x290a7b);_0x16c77b[_0x58870b(0x86)]['addCACert'](this[_0x58870b(0xc0)]),_0x290a7b[_0x58870b(0xc6)]=_0x16c77b;}const _0x4acdfc=axios_1[_0x58870b(0x9a)]['CancelToken'][_0x58870b(0x79)](),_0x591c4d=_0x32eb0f?_0x32eb0f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this['logger'][_0x58870b(0x8d)](_0x58870b(0xdb)+_0x591c4d);const _0x545a4f=setTimeout(()=>{const _0x54b744=_0x58870b;this[_0x54b744(0xbc)]['warn'](_0x54b744(0xaf)+_0x591c4d+'ms'),_0x4acdfc[_0x54b744(0x8a)]();},_0x591c4d),_0x23e7ae={'method':_0x28648d[_0x58870b(0xe7)],'httpsAgent':new https[(_0x58870b(0xa4))](_0x290a7b),'url':_0x28648d[_0x58870b(0xf1)],'data':_0x28648d[_0x58870b(0xc5)],'headers':_0xd59901,'cancelToken':_0x4acdfc[_0x58870b(0xfc)]};return extend(!![],_0x23e7ae,_0x28648d),axios_1[_0x58870b(0x9a)][_0x58870b(0x10f)](_0x23e7ae)['then'](_0x22a600=>{const _0x5759c5=_0x58870b;return _0x37676c===null||_0x37676c===void 0x0?void 0x0:_0x37676c(null,_0x22a600[_0x5759c5(0xf6)],_0x22a600),{'error':null,'data':_0x22a600[_0x5759c5(0xf6)],'res':_0x22a600};})[_0x58870b(0x81)](_0x258620=>{const _0x19809f=_0x58870b;var _0x171f7a,_0x8187a;return _0x37676c===null||_0x37676c===void 0x0?void 0x0:_0x37676c(_0x258620,(_0x171f7a=_0x258620[_0x19809f(0x89)])===null||_0x171f7a===void 0x0?void 0x0:_0x171f7a['data'],_0x258620[_0x19809f(0x89)]),{'error':_0x258620,'data':(_0x8187a=_0x258620[_0x19809f(0x89)])===null||_0x8187a===void 0x0?void 0x0:_0x8187a[_0x19809f(0xf6)],'res':_0x258620[_0x19809f(0x89)]};})[_0x58870b(0xa6)](()=>clearTimeout(_0x545a4f));}[a6_0x476826(0x9e)](_0x1e4c6d,_0xc2d2fe,_0x8233a4){const _0x29bd41=a6_0x476826;if(_0x8233a4[_0x29bd41(0xee)])return undefined;const _0x97c148=(0x0,crypto_1[_0x29bd41(0xa1)])('sha256')[_0x29bd41(0x88)](_0xc2d2fe[_0x29bd41(0xdc)])['digest'](_0x29bd41(0xb1));return _0x8233a4[_0x29bd41(0xc2)][_0x29bd41(0x7c)](_0x97c148)?undefined:new Error(_0x29bd41(0x10e));}async[a6_0x476826(0x105)](_0x3ba532){const _0x4826dc=a6_0x476826;this['logger'][_0x4826dc(0xf3)](_0x4826dc(0x77));const _0x4d4931=this[_0x4826dc(0xde)]+encodeURIComponent(_0x3ba532)+_0x4826dc(0x10d),{error:_0x2fee7c,data:_0x2c29f3}=await this['makeRequest']({'uri':_0x4d4931,'json':!![]});if(_0x2fee7c)return Promise[_0x4826dc(0xdf)](_0x2fee7c);return _0x2c29f3;}}exports[a6_0x476826(0xac)]=Controller;function is2xx(_0x5bcca6){const _0x50f628=a6_0x476826;return Math[_0x50f628(0x92)](_0x5bcca6/0x64)===0x2;}
|
|
1
|
+
function a6_0x1b9e(_0x25c7c2,_0xf0c7d0){const _0x191ed5=a6_0x5798();return a6_0x1b9e=function(_0x2a0580,_0x25c5d0){_0x2a0580=_0x2a0580-0x12b;let _0x5798af=_0x191ed5[_0x2a0580];return _0x5798af;},a6_0x1b9e(_0x25c7c2,_0xf0c7d0);}const a6_0x3cc527=a6_0x1b9e;(function(_0x38527b,_0x554cd6){const _0x5ca337=a6_0x1b9e,_0x2f6b63=_0x38527b();while(!![]){try{const _0x1ea58b=-parseInt(_0x5ca337(0x174))/0x1*(-parseInt(_0x5ca337(0x198))/0x2)+-parseInt(_0x5ca337(0x1a1))/0x3+parseInt(_0x5ca337(0x12b))/0x4+-parseInt(_0x5ca337(0x1b6))/0x5*(-parseInt(_0x5ca337(0x1ba))/0x6)+-parseInt(_0x5ca337(0x145))/0x7+parseInt(_0x5ca337(0x17d))/0x8+-parseInt(_0x5ca337(0x135))/0x9*(-parseInt(_0x5ca337(0x17c))/0xa);if(_0x1ea58b===_0x554cd6)break;else _0x2f6b63['push'](_0x2f6b63['shift']());}catch(_0x1a4d85){_0x2f6b63['push'](_0x2f6b63['shift']());}}}(a6_0x5798,0x35398));const a6_0x25c5d0=(function(){let _0x2bd5d8=!![];return function(_0x3a25c8,_0x36ea45){const _0x5ca1f4=_0x2bd5d8?function(){if(_0x36ea45){const _0xee9a37=_0x36ea45['apply'](_0x3a25c8,arguments);return _0x36ea45=null,_0xee9a37;}}:function(){};return _0x2bd5d8=![],_0x5ca1f4;};}()),a6_0x2a0580=a6_0x25c5d0(this,function(){const _0x5cc34d=a6_0x1b9e;return a6_0x2a0580[_0x5cc34d(0x160)]()[_0x5cc34d(0x137)](_0x5cc34d(0x1b2))[_0x5cc34d(0x160)]()[_0x5cc34d(0x172)](a6_0x2a0580)[_0x5cc34d(0x137)](_0x5cc34d(0x1b2));});function a6_0x5798(){const _0x461ae2=['Controller','__esModule','Certificate\x20Pinning\x20Failed!','update','https://','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','createSecureContext','PUT','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','includes','config','error','logger','default','constructor','method','1mNULhZ','hex','createGzip','debuggee','Successfully\x20sent\x20log\x20file\x20','sendAgentLogsToServer','stringify','waitToken','30rtLSIR','783344EzRCCf','memory-streams','collectCooldownMs','push','crypto','getRedactions','transmissionBulkMaxNetworkSizeInBytes','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','request',',\x20Message:\x20','js-yaml','apiUrl','ascii','selfSignedCA','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','info','\x20finished\x20with\x20status\x20','data','\x20size\x20is\x20','makeRequest','register','Update\x20for\x20breakpoints\x20','addCACert','/deregister/','/redaction','size','204598MbIGHr','response','getBlocklist','getJsonStringSizeInBytes','Failed\x20to\x20send\x20log\x20file\x20','reject','secureContext','zlib','uri','1244331YaBLkQ','catch','Getting\x20blocklist','map','should\x20have\x20a\x20registered\x20debuggee','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','clearTransmissionTimeout','\x20for\x20request\x20','defineProperty','unable\x20to\x20register,\x20status\x20','enqueueBreakpointUpdate','shift','/breakpoints?','maxLogFileBytes','pipeline','Compressing\x20and\x20sending\x20log\x20file\x20','Bearer\x20','(((.+)+)+)+$','now','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20for\x20request\x20id\x20','5QShGse','CancelToken','\x22\x20-\x20ignoring\x20it','serializedJson','34758aLUJgB','createReadStream','1413576ZPNbsW','token','@google-cloud/common','source','transmissionQueue','digest','toBuffer','Deregister\x20agent\x20before\x20shutdown','status','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','317403CcPkJg','context','search','verifyCertificate','Failed\x20to\x20zip\x20','transmissionHardMaxNetworkSizeLimitInBytes','/controller','Timeout\x20occurred\x20after\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20','application/json','timeout\x20set\x20to\x20','caPath','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','/log/','warn','failed\x20to\x20serialize\x20breakpoint\x20','226940Mcdlpx','statSync','transmissionTimeout','load','Agent','\x20Error:\x20','bind','\x20seconds','unknown\x20error\x20-\x20request\x20response\x20missing','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','message','lastLogCollectionTime','number','nextWaitToken','cancel','debug','sendBreakpointLogsToServer','noCheckCertificate','max','createHash','agentLog','finally','floor','POST','body','pinnedCerts','apiEndpoint','toString','transmitBreakpointUpdates','join','length'];a6_0x5798=function(){return _0x461ae2;};return a6_0x5798();}a6_0x2a0580();'use strict';Object[a6_0x3cc527(0x1a9)](exports,a6_0x3cc527(0x165),{'value':!![]}),exports[a6_0x3cc527(0x164)]=void 0x0;const common_1=require(a6_0x3cc527(0x12d)),assert=require('assert'),qs=require('querystring'),fs_1=require('fs'),crypto_1=require(a6_0x3cc527(0x181)),zlib_1=require(a6_0x3cc527(0x19f)),stream_1=require('stream'),memory_streams_1=require(a6_0x3cc527(0x17e)),tls_1=require('tls'),extend=require('extend'),axios_1=require('axios'),https=require('https'),utils_1=require('./util/utils'),yaml=require(a6_0x3cc527(0x187)),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(_0x4658ee,_0x4a72b0,_0x8c1019){const _0xf2aa38=a6_0x3cc527;super({'parent':_0x4658ee,'baseUrl':_0xf2aa38(0x13b)}),this[_0xf2aa38(0x152)]=null,this[_0xf2aa38(0x16e)]=_0x4a72b0,this[_0xf2aa38(0x12f)]=[],this['logger']=_0x8c1019;if(_0x4a72b0[_0xf2aa38(0x140)])try{this[_0xf2aa38(0x18a)]=(0x0,fs_1['readFileSync'])(_0x4a72b0[_0xf2aa38(0x140)],_0xf2aa38(0x189));}catch(_0x196f94){_0x8c1019[_0xf2aa38(0x143)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x4a72b0['caPath']+_0xf2aa38(0x1b8));}this[_0xf2aa38(0x188)]=_0xf2aa38(0x168)+_0x4a72b0[_0xf2aa38(0x15f)]+'/debuggees/';}[a6_0x3cc527(0x192)](_0x3bc97f,_0x23c774){const _0x40c03f=a6_0x3cc527,_0x482f60={'uri':this['apiUrl']+_0x40c03f(0x192),'method':_0x40c03f(0x15c),'json':!![],'body':{'debuggee':_0x3bc97f}};this[_0x40c03f(0x191)](_0x482f60,(_0xf83f68,_0x4fe5a7,_0x1b561a)=>{const _0x192c54=_0x40c03f;if(!_0x1b561a)_0x23c774(_0xf83f68||new Error(_0x192c54(0x14d)));else{if(_0xf83f68){let _0x5e5c51=![];_0x1b561a['status']===HTTP_UPGRADE_REQUIRED&&_0x4fe5a7&&(_0x4fe5a7[_0x192c54(0x14f)]!==undefined&&(_0xf83f68[_0x192c54(0x14f)]=_0x4fe5a7['message']),_0x3bc97f['id']=_0x4fe5a7[_0x192c54(0x177)]['id'],_0x5e5c51=!![]),_0x23c774(_0xf83f68,_0x4fe5a7,_0x5e5c51);}else{if(_0x1b561a[_0x192c54(0x133)]!==HTTP_SUCCESS)_0x23c774(new Error(_0x192c54(0x1aa)+_0x1b561a[_0x192c54(0x133)]));else!(_0x4fe5a7===null||_0x4fe5a7===void 0x0?void 0x0:_0x4fe5a7[_0x192c54(0x177)])?_0x23c774(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x3bc97f['id']=_0x4fe5a7['debuggee']['id'],_0x23c774(null,_0x4fe5a7));}}});}['listBreakpoints'](_0x5062aa,_0x3beb02,_0x4a5bc4){const _0xda50ce=a6_0x3cc527,_0x50190a=this;assert(_0x5062aa['id'],_0xda50ce(0x1a5));const _0x5b2768={'successOnTimeout':!![]};_0x50190a[_0xda50ce(0x152)]&&(_0x5b2768[_0xda50ce(0x17b)]=_0x50190a[_0xda50ce(0x152)]);const _0x346eba=this[_0xda50ce(0x188)]+encodeURIComponent(_0x5062aa['id'])+_0xda50ce(0x1ad)+qs['stringify'](_0x5b2768);_0x50190a[_0xda50ce(0x191)]({'uri':_0x346eba,'json':!![]},(_0x46e373,_0x2fd62e,_0x2132f0)=>{const _0x3b3a40=_0xda50ce;if(!_0x2132f0){_0x3beb02(_0x46e373||new Error(_0x3b3a40(0x14d)));return;}else{if(!is2xx(_0x2132f0['status'])){_0x3beb02(new Error(_0x3b3a40(0x134)+_0x2132f0['status']),_0x2132f0);return;}else _0x2fd62e&&(_0x50190a['nextWaitToken']=_0x2fd62e['nextWaitToken']),_0x3beb02(null,_0x2132f0,_0x2fd62e);}},_0x4a5bc4);}[a6_0x3cc527(0x1ab)](_0x251361,_0x5e6a33){const _0xc7799e=a6_0x3cc527;assert(_0x251361['id'],_0xc7799e(0x1a5));try{const _0x23161b=JSON[_0xc7799e(0x17a)](_0x5e6a33),_0x217565=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x23161b);if(_0x217565>=this[_0xc7799e(0x16e)][_0xc7799e(0x13a)]){this[_0xc7799e(0x170)][_0xc7799e(0x143)]('breakpointId:\x20'+_0x5e6a33['id']+_0xc7799e(0x190)+_0x217565+_0xc7799e(0x18c)+this['config'][_0xc7799e(0x13a)]);return;}this[_0xc7799e(0x12f)][_0xc7799e(0x180)]({'id':_0x5e6a33['id'],'serializedJson':_0x23161b,'number':0x0});if(!this['transmissionTimeout']){const _0x27fc21=this;this['transmissionTimeout']=setTimeout(()=>_0x27fc21[_0xc7799e(0x161)][_0xc7799e(0x14b)](_0x27fc21)(_0x251361['id']),0x0);}}catch(_0x49d44e){this['logger'][_0xc7799e(0x16f)](_0xc7799e(0x144)+_0x5e6a33['id']+'\x20and\x20enqueue\x20to\x20queue',_0x49d44e);return;}}[a6_0x3cc527(0x1a7)](){const _0x59d817=a6_0x3cc527;if(!this[_0x59d817(0x147)])return;clearTimeout(this[_0x59d817(0x147)]),this[_0x59d817(0x147)]=null;}['deregister'](_0x163e08,_0xfc1e45){const _0x663f91=a6_0x3cc527,_0x522913=this[_0x663f91(0x188)]+encodeURIComponent(_0x163e08['id'])+_0x663f91(0x195),_0x152eb6={'uri':_0x522913,'method':'POST','json':!![]};this[_0x663f91(0x170)][_0x663f91(0x18d)](_0x663f91(0x132)),this['makeRequest'](_0x152eb6,(_0x4f48a4,_0x54fb29,_0x12fddc)=>{const _0x208e57=_0x663f91;(!_0x12fddc||Math['floor'](_0x12fddc[_0x208e57(0x133)]/0x64)!==0x2)&&this[_0x208e57(0x170)][_0x208e57(0x143)](_0x208e57(0x141)+_0x4f48a4),_0xfc1e45(_0x4f48a4);});}[a6_0x3cc527(0x155)](_0x597580,_0x31816d,_0x1d8a05){const _0x163324=a6_0x3cc527,_0x2a6b54=this['apiUrl']+encodeURIComponent(_0x597580['id'])+_0x163324(0x142),_0x49934c={'uri':_0x2a6b54,'method':_0x163324(0x15c),'json':!![],'body':_0x31816d};this['makeRequest'](_0x49934c,(_0x2251d3,_0xac6d53,_0x477d80)=>{const _0x511cdd=_0x163324;(!_0x477d80||Math[_0x511cdd(0x15b)](_0x477d80[_0x511cdd(0x133)]/0x64)!==0x2)&&(this['logger'][_0x511cdd(0x143)](_0x511cdd(0x169)+_0x2251d3),_0x1d8a05(_0x2251d3));});}['sendAppOnlyBreakpointHitsToServer'](_0x4f5be5,_0x41537f,_0x2e67d4){const _0x933cb5=a6_0x3cc527,_0x53a6c9=this[_0x933cb5(0x188)]+encodeURIComponent(_0x4f5be5['id'])+'/appOnlyActionHits/',_0x2144c7={'uri':_0x53a6c9,'method':_0x933cb5(0x15c),'json':!![],'body':_0x41537f};this['makeRequest'](_0x2144c7,(_0x5047e3,_0x1cabc0,_0xfb899e)=>{const _0x3d11ca=_0x933cb5;(!_0xfb899e||Math[_0x3d11ca(0x15b)](_0xfb899e[_0x3d11ca(0x133)]/0x64)!==0x2)&&(this[_0x3d11ca(0x170)]['warn'](_0x3d11ca(0x16c)+_0x5047e3),_0x2e67d4(_0x5047e3));});}[a6_0x3cc527(0x179)](_0x3797e0,_0xc9b82e,_0x296f89){const _0x2dc542=a6_0x3cc527;assert(_0x3797e0['id'],_0x2dc542(0x1a5));if(this[_0x2dc542(0x150)]){const _0x35a598=Date[_0x2dc542(0x1b3)](),_0x3b03f1=this[_0x2dc542(0x150)]+this['config'][_0x2dc542(0x159)][_0x2dc542(0x17f)];if(_0x35a598<_0x3b03f1){this[_0x2dc542(0x170)][_0x2dc542(0x18d)](_0x2dc542(0x14e)+((_0x3b03f1-_0x35a598)/0x3e8+_0x2dc542(0x14c)));return;}}const _0x2dc538=(0x0,fs_1[_0x2dc542(0x146)])(_0x296f89)[_0x2dc542(0x197)],_0x1b0a67=Math[_0x2dc542(0x157)](0x0,_0x2dc538-this[_0x2dc542(0x16e)][_0x2dc542(0x159)][_0x2dc542(0x1ae)]),_0x1764af=(0x0,fs_1[_0x2dc542(0x1bb)])(_0x296f89,{'start':_0x1b0a67}),_0x4154ff=(0x0,zlib_1[_0x2dc542(0x176)])(),_0x291b0a=new memory_streams_1['WritableStream'](),_0x445d63=this;_0x445d63[_0x2dc542(0x170)][_0x2dc542(0x18d)](_0x2dc542(0x1b0)+_0x296f89+_0x2dc542(0x1b5)+_0xc9b82e),(0x0,stream_1[_0x2dc542(0x1af)])(_0x1764af,_0x4154ff,_0x291b0a,_0x3ce4e0=>{const _0x3d2d2d=_0x2dc542;if(_0x3ce4e0)_0x445d63[_0x3d2d2d(0x170)][_0x3d2d2d(0x16f)](_0x3d2d2d(0x139)+_0x296f89+':\x20'+_0x3ce4e0);else{const _0x2bd961={'uri':this[_0x3d2d2d(0x188)]+encodeURIComponent(_0x3797e0['id'])+'/compressedLogFile/'+_0xc9b82e,'method':_0x3d2d2d(0x16b),'body':_0x291b0a[_0x3d2d2d(0x131)]()};_0x445d63[_0x3d2d2d(0x191)](_0x2bd961,_0x552547=>{const _0x4d9459=_0x3d2d2d;_0x552547?_0x445d63[_0x4d9459(0x170)][_0x4d9459(0x16f)](_0x4d9459(0x19c)+_0x296f89+_0x4d9459(0x1a8)+_0xc9b82e,_0x552547):(_0x445d63[_0x4d9459(0x170)][_0x4d9459(0x18d)](_0x4d9459(0x178)+_0x296f89+'\x20for\x20request\x20'+_0xc9b82e),_0x445d63[_0x4d9459(0x150)]=Date[_0x4d9459(0x1b3)]());});}});}[a6_0x3cc527(0x161)](_0x2a6938){const _0x5edd34=a6_0x3cc527;var _0x16d430;this[_0x5edd34(0x170)][_0x5edd34(0x154)]('Transmitting\x20breakpoint\x20updates...'),this[_0x5edd34(0x147)]=undefined;const _0x31a5c7=[];let _0x39efab=0x0;while(_0x31a5c7['length']<this[_0x5edd34(0x16e)]['transmissionBulkMaxSize']&&this[_0x5edd34(0x12f)][_0x5edd34(0x163)]>0x0){const _0x16de25=this[_0x5edd34(0x12f)][0x0],_0x2462b9=_0x16de25[_0x5edd34(0x1b9)],_0x5e1e05=(0x0,utils_1[_0x5edd34(0x19b)])(_0x2462b9);_0x39efab+=_0x5e1e05;if(_0x39efab<=this[_0x5edd34(0x16e)][_0x5edd34(0x183)])_0x31a5c7['push'](_0x16de25),this[_0x5edd34(0x12f)][_0x5edd34(0x1ac)]();else{_0x5e1e05>this['config']['transmissionBulkMaxNetworkSizeInBytes']&&_0x31a5c7[_0x5edd34(0x163)]===0x0&&(this['logger'][_0x5edd34(0x154)]('breakpoint\x20'+_0x16de25['id']+_0x5edd34(0x13d)+this['config'][_0x5edd34(0x183)]+',\x20sending\x20only\x20one'),_0x31a5c7['push'](_0x16de25),this[_0x5edd34(0x12f)][_0x5edd34(0x1ac)]());break;}}if(!_0x31a5c7)return;const _0x5ea060=_0x31a5c7[_0x5edd34(0x1a4)](_0x132203=>_0x132203['id']),_0x56a3db={'uri':this['apiUrl']+encodeURIComponent(_0x2a6938)+'/breakpoints','json':!![],'method':_0x5edd34(0x16b),'body':'['+_0x31a5c7[_0x5edd34(0x1a4)](_0x21f6a3=>_0x21f6a3[_0x5edd34(0x1b9)])[_0x5edd34(0x162)](',')+']'},_0x3723bd=this;try{this['makeRequest'](_0x56a3db,(_0x2eb687,_0x1e44a2,_0xc59f6a)=>{const _0xb98391=_0x5edd34,_0x8ba77d=_0xc59f6a===null||_0xc59f6a===void 0x0?void 0x0:_0xc59f6a[_0xb98391(0x133)];_0x3723bd[_0xb98391(0x170)][_0xb98391(0x154)](_0xb98391(0x193)+_0x5ea060+_0xb98391(0x18e)+_0x8ba77d);if(_0x2eb687||!_0x8ba77d||Math['floor'](_0x8ba77d/0x64)!==0x2){const _0xcded3e=_0x8ba77d&&(_0x8ba77d>=0x1f4||_0x8ba77d===0x198);if(_0xcded3e){_0x3723bd[_0xb98391(0x170)][_0xb98391(0x143)](_0xb98391(0x1a6)+_0x5ea060+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x8ba77d+_0xb98391(0x14a)+_0x2eb687);for(const _0x119052 of _0x31a5c7){_0x119052[_0xb98391(0x151)]<MAX_FAILED_SEND_ATTEMPTS?_0x3723bd[_0xb98391(0x12f)][_0xb98391(0x180)]({..._0x119052,'number':_0x119052[_0xb98391(0x151)]+0x1}):_0x3723bd['logger'][_0xb98391(0x143)]('Breakpoint\x20'+_0x119052['id']+_0xb98391(0x184));}}else _0x3723bd[_0xb98391(0x170)][_0xb98391(0x143)](_0xb98391(0x18b)+_0x5ea060+_0xb98391(0x1b4)+_0x8ba77d+_0xb98391(0x14a)+_0x2eb687);}else _0x3723bd[_0xb98391(0x170)][_0xb98391(0x18d)](_0xb98391(0x193)+_0x5ea060+'\x20transmitted\x20successfully');_0x3723bd[_0xb98391(0x12f)][_0xb98391(0x163)]>0x0&&(_0x3723bd['transmissionTimeout']=setTimeout(()=>_0x3723bd[_0xb98391(0x161)][_0xb98391(0x14b)](_0x3723bd)(_0x2a6938),0x0));},0x28);}catch(_0x29eda1){this[_0x5edd34(0x170)][_0x5edd34(0x143)](_0x5edd34(0x18b)+_0x5ea060+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x29eda1+_0x5edd34(0x186)+((_0x16d430=_0x29eda1[_0x5edd34(0x18f)])===null||_0x16d430===void 0x0?void 0x0:_0x16d430[_0x5edd34(0x14f)])),_0x3723bd[_0x5edd34(0x12f)][_0x5edd34(0x163)]>0x0&&(_0x3723bd[_0x5edd34(0x147)]=setTimeout(()=>_0x3723bd[_0x5edd34(0x161)][_0x5edd34(0x14b)](_0x3723bd)(_0x2a6938),0x0));}}async[a6_0x3cc527(0x19a)](_0x2ebd69){const _0x73671b=a6_0x3cc527;this[_0x73671b(0x170)]['info'](_0x73671b(0x1a3));const _0x55b9e5=this[_0x73671b(0x188)]+encodeURIComponent(_0x2ebd69)+'/blacklist?successOnTimeout=true',{error:_0x5bbb29,data:_0x282bc8}=await this[_0x73671b(0x191)]({'uri':_0x55b9e5,'json':!![]});if(_0x5bbb29)return Promise[_0x73671b(0x19d)](_0x5bbb29);return yaml[_0x73671b(0x148)](_0x282bc8)||{};}['makeRequest'](_0x508781,_0x90d810,_0x43d428,_0x32715c){const _0x29e365=a6_0x3cc527,_0x4c38a6={'Content-Type':_0x32715c?_0x32715c:_0x29e365(0x13e),'Authorization':_0x29e365(0x1b1)+this[_0x29e365(0x16e)]['lightrunSecret']},_0x2d6c2e={'checkServerIdentity':(_0x215685,_0x3abe94)=>this[_0x29e365(0x138)](_0x215685,_0x3abe94,this['config'])};if(this['selfSignedCA']){const _0x49d8d0=(0x0,tls_1[_0x29e365(0x16a)])(_0x2d6c2e);_0x49d8d0[_0x29e365(0x136)][_0x29e365(0x194)](this['selfSignedCA']),_0x2d6c2e[_0x29e365(0x19e)]=_0x49d8d0;}const _0x5d4117=axios_1[_0x29e365(0x171)][_0x29e365(0x1b7)][_0x29e365(0x12e)](),_0x33ae96=_0x43d428?_0x43d428*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x29e365(0x170)][_0x29e365(0x154)](_0x29e365(0x13f)+_0x33ae96);const _0x4d51db=setTimeout(()=>{const _0x2ddd57=_0x29e365;this['logger'][_0x2ddd57(0x143)](_0x2ddd57(0x13c)+_0x33ae96+'ms'),_0x5d4117[_0x2ddd57(0x153)]();},_0x33ae96),_0x3961db={'method':_0x508781[_0x29e365(0x173)],'httpsAgent':new https[(_0x29e365(0x149))](_0x2d6c2e),'url':_0x508781[_0x29e365(0x1a0)],'data':_0x508781[_0x29e365(0x15d)],'headers':_0x4c38a6,'cancelToken':_0x5d4117[_0x29e365(0x12c)]};return extend(!![],_0x3961db,_0x508781),axios_1['default'][_0x29e365(0x185)](_0x3961db)['then'](_0x4f65d3=>{const _0x33ec61=_0x29e365;return _0x90d810===null||_0x90d810===void 0x0?void 0x0:_0x90d810(null,_0x4f65d3[_0x33ec61(0x18f)],_0x4f65d3),{'error':null,'data':_0x4f65d3[_0x33ec61(0x18f)],'res':_0x4f65d3};})[_0x29e365(0x1a2)](_0x157d97=>{const _0xf6fb52=_0x29e365;var _0x1e3fe5,_0x5edee0;return _0x90d810===null||_0x90d810===void 0x0?void 0x0:_0x90d810(_0x157d97,(_0x1e3fe5=_0x157d97[_0xf6fb52(0x199)])===null||_0x1e3fe5===void 0x0?void 0x0:_0x1e3fe5['data'],_0x157d97['response']),{'error':_0x157d97,'data':(_0x5edee0=_0x157d97['response'])===null||_0x5edee0===void 0x0?void 0x0:_0x5edee0[_0xf6fb52(0x18f)],'res':_0x157d97[_0xf6fb52(0x199)]};})[_0x29e365(0x15a)](()=>clearTimeout(_0x4d51db));}[a6_0x3cc527(0x138)](_0x3a2a82,_0xfc8c34,_0x4bbe44){const _0x8d6ad4=a6_0x3cc527;if(_0x4bbe44[_0x8d6ad4(0x156)])return undefined;const _0x875071=(0x0,crypto_1[_0x8d6ad4(0x158)])('sha256')[_0x8d6ad4(0x167)](_0xfc8c34['pubkey'])[_0x8d6ad4(0x130)](_0x8d6ad4(0x175));return _0x4bbe44[_0x8d6ad4(0x15e)][_0x8d6ad4(0x16d)](_0x875071)?undefined:new Error(_0x8d6ad4(0x166));}async[a6_0x3cc527(0x182)](_0x341b97){const _0x26b31e=a6_0x3cc527;this['logger'][_0x26b31e(0x18d)]('Getting\x20reductions');const _0x455891=this[_0x26b31e(0x188)]+encodeURIComponent(_0x341b97)+_0x26b31e(0x196),{error:_0x355192,data:_0xc993e5}=await this['makeRequest']({'uri':_0x455891,'json':!![]});if(_0x355192)return Promise[_0x26b31e(0x19d)](_0x355192);return _0xc993e5;}}exports[a6_0x3cc527(0x164)]=Controller;function is2xx(_0x9b4f4e){return Math['floor'](_0x9b4f4e/0x64)===0x2;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a7_0x9cf3(_0x113d7d,_0x4e564a){const _0x5c77f0=a7_0x2f3b();return a7_0x9cf3=function(_0x5a1964,_0x1044cb){_0x5a1964=_0x5a1964-0xb6;let _0x2f3b06=_0x5c77f0[_0x5a1964];return _0x2f3b06;},a7_0x9cf3(_0x113d7d,_0x4e564a);}const a7_0x1dc185=a7_0x9cf3;(function(_0x21d531,_0x161ba9){const _0x3caf0c=a7_0x9cf3,_0x157db6=_0x21d531();while(!![]){try{const _0x3410e2=-parseInt(_0x3caf0c(0xd3))/0x1*(-parseInt(_0x3caf0c(0xc5))/0x2)+parseInt(_0x3caf0c(0xba))/0x3*(-parseInt(_0x3caf0c(0xc8))/0x4)+parseInt(_0x3caf0c(0xbd))/0x5*(-parseInt(_0x3caf0c(0xd0))/0x6)+-parseInt(_0x3caf0c(0xbe))/0x7*(-parseInt(_0x3caf0c(0xda))/0x8)+parseInt(_0x3caf0c(0xc7))/0x9*(parseInt(_0x3caf0c(0xc4))/0xa)+parseInt(_0x3caf0c(0xcd))/0xb+-parseInt(_0x3caf0c(0xc3))/0xc;if(_0x3410e2===_0x161ba9)break;else _0x157db6['push'](_0x157db6['shift']());}catch(_0x342438){_0x157db6['push'](_0x157db6['shift']());}}}(a7_0x2f3b,0xac382));const a7_0x1044cb=(function(){let _0xaf0a74=!![];return function(_0x33eaed,_0x5eb2c2){const _0x45a382=_0xaf0a74?function(){const _0x5a074c=a7_0x9cf3;if(_0x5eb2c2){const _0x40c91c=_0x5eb2c2[_0x5a074c(0xc9)](_0x33eaed,arguments);return _0x5eb2c2=null,_0x40c91c;}}:function(){};return _0xaf0a74=![],_0x45a382;};}()),a7_0x5a1964=a7_0x1044cb(this,function(){const _0x32a972=a7_0x9cf3;return a7_0x5a1964[_0x32a972(0xca)]()[_0x32a972(0xcb)](_0x32a972(0xbf))[_0x32a972(0xca)]()[_0x32a972(0xbc)](a7_0x5a1964)[_0x32a972(0xcb)](_0x32a972(0xbf));});a7_0x5a1964();function a7_0x2f3b(){const _0x1d9222=['module','versions','7086612lPiyeJ','3159830BXBAZQ','4WhfCMP','string','9odFUtz','4lBMQID','apply','toString','search','relative','10245312fGdRaK','../../client/stackdriver/status-message','version','1782060CRlguL','path','Debuggee','261332ZxdWvz','getPlatform','StatusMessage','./getPlatform','minorVersion_','serviceContext','createUniquifier','40nOlxct','__esModule','cwd','name','defineProperty','createDebuggee','877539rMVwpM','service','constructor','10OFNQUa','577437yewUho','(((.+)+)+)+$','argv'];a7_0x2f3b=function(){return _0x1d9222;};return a7_0x2f3b();}'use strict';Object[a7_0x1dc185(0xb8)](exports,a7_0x1dc185(0xdb),{'value':!![]}),exports[a7_0x1dc185(0xb9)]=void 0x0;const path=require(a7_0x1dc185(0xd1)),status_message_1=require(a7_0x1dc185(0xce)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require(a7_0x1dc185(0xd6)),createDebuggee=(_0x8980d7,_0x43b81f,_0x22b7d1,_0x317234,_0x209f5f,_0x300017,_0x132a00,_0x5a306f)=>{const _0x1513f2=a7_0x1dc185,_0x1e7e4e=process[_0x1513f2(0xb6)](),_0xbc04d8=path[_0x1513f2(0xcc)](_0x1e7e4e,process[_0x1513f2(0xc0)][0x1]),_0x1de803={'main\x20script':_0xbc04d8,'process.title':process['title'],'node\x20version':process['versions']['node'],'V8\x20version':process[_0x1513f2(0xc2)]['v8'],'agent.name':_0x317234[_0x1513f2(0xb7)],'agent.version':_0x209f5f,'platform':(0x0,getPlatform_1[_0x1513f2(0xd4)])()},_0x1bf696=_0x43b81f[_0x1513f2(0xd8)];_0x1bf696&&(typeof _0x1bf696['service']==='string'&&_0x1bf696[_0x1513f2(0xbb)]!=='default'&&(_0x1de803[_0x1513f2(0xc1)]=_0x1bf696['service']),typeof _0x1bf696[_0x1513f2(0xcf)]==='string'&&(_0x1de803[_0x1513f2(0xcf)]=_0x1bf696['version']),typeof _0x1bf696[_0x1513f2(0xd7)]===_0x1513f2(0xc6)&&(_0x1de803['minorversion']=_0x1bf696[_0x1513f2(0xd7)]));const _0x515cdc=(0x0,createUniquifier_1[_0x1513f2(0xd9)])(_0x209f5f,_0x8980d7,_0x22b7d1,_0x1de803),_0x397729=_0x5a306f?new status_message_1[(_0x1513f2(0xd5))](status_message_1['StatusMessage']['UNSPECIFIED'],_0x5a306f,!![]):undefined,_0x5f0fc6=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x43b81f,_0x300017),_0x3be73d={'uniquifier':_0x515cdc,'agentVersion':_0x209f5f,'labels':{'metadata':JSON['stringify'](_0x5f0fc6)},'statusMessage':_0x397729,'packageInfo':_0x317234,..._0x132a00};return _0x22b7d1&&(_0x3be73d['sourceContexts']=[_0x22b7d1]),new debuggee_1[(_0x1513f2(0xd2))](_0x3be73d);};exports[a7_0x1dc185(0xb9)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a8_0x1f5c(){const _0xb5abcd=['readFileSync','map','10078352CktBTd','580SsQZcx','tags','3692178jkSIqp','utf-8','string','1008642WobdhY','10942390hjWHOY','metadata','1346748pXcfEH','constructor','__esModule','65562BMzKnc','(((.+)+)+)+$','1121313GHURev','parse','filename','9JjmnDJ','Failed\x20to\x20read\x20metadata\x20file\x20','registration','3AAbYGx','defineProperty','toString','createDebuggeeMetadata'];a8_0x1f5c=function(){return _0xb5abcd;};return a8_0x1f5c();}const a8_0x521d53=a8_0x5559;(function(_0xc2b1cf,_0x467a92){const _0x344c64=a8_0x5559,_0x46dfbe=_0xc2b1cf();while(!![]){try{const _0x58a49a=-parseInt(_0x344c64(0x124))/0x1*(parseInt(_0x344c64(0x116))/0x2)+parseInt(_0x344c64(0x11e))/0x3+parseInt(_0x344c64(0x119))/0x4+-parseInt(_0x344c64(0x111))/0x5*(parseInt(_0x344c64(0x11c))/0x6)+parseInt(_0x344c64(0x113))/0x7+parseInt(_0x344c64(0x110))/0x8*(parseInt(_0x344c64(0x121))/0x9)+parseInt(_0x344c64(0x117))/0xa;if(_0x58a49a===_0x467a92)break;else _0x46dfbe['push'](_0x46dfbe['shift']());}catch(_0x4baafe){_0x46dfbe['push'](_0x46dfbe['shift']());}}}(a8_0x1f5c,0xc61ba));const a8_0x1802be=(function(){let _0x3e0592=!![];return function(_0x4700a0,_0x48bb25){const _0x18d1b1=_0x3e0592?function(){if(_0x48bb25){const _0x118114=_0x48bb25['apply'](_0x4700a0,arguments);return _0x48bb25=null,_0x118114;}}:function(){};return _0x3e0592=![],_0x18d1b1;};}()),a8_0x3c5aba=a8_0x1802be(this,function(){const _0x1e5155=a8_0x5559;return a8_0x3c5aba[_0x1e5155(0x126)]()['search'](_0x1e5155(0x11d))[_0x1e5155(0x126)]()[_0x1e5155(0x11a)](a8_0x3c5aba)['search'](_0x1e5155(0x11d));});a8_0x3c5aba();'use strict';Object[a8_0x521d53(0x125)](exports,a8_0x521d53(0x11b),{'value':!![]}),exports[a8_0x521d53(0x10d)]=void 0x0;function a8_0x5559(_0x5439a8,_0x4091df){const _0x172183=a8_0x1f5c();return a8_0x5559=function(_0x3c5aba,_0x1802be){_0x3c5aba=_0x3c5aba-0x10d;let _0x1f5cc0=_0x172183[_0x3c5aba];return _0x1f5cc0;},a8_0x5559(_0x5439a8,_0x4091df);}const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x5157ac,_0x2c22de)=>{const _0x3ef67d=a8_0x521d53;var _0x48b06e,_0x2f756c,_0x28bb42;let _0x5763e9={'registration':{}};if((_0x48b06e=_0x5157ac['metadata'])===null||_0x48b06e===void 0x0?void 0x0:_0x48b06e['filename'])try{_0x5763e9=JSON[_0x3ef67d(0x11f)](fs[_0x3ef67d(0x10e)](_0x5157ac[_0x3ef67d(0x118)][_0x3ef67d(0x120)],_0x3ef67d(0x114)));}catch(_0x19cd02){_0x2c22de['warn'](_0x3ef67d(0x122)+_0x5157ac[_0x3ef67d(0x118)][_0x3ef67d(0x120)],_0x19cd02);}return _0x5763e9[_0x3ef67d(0x123)]=extend(!![],{},(_0x2f756c=_0x5157ac[_0x3ef67d(0x118)])===null||_0x2f756c===void 0x0?void 0x0:_0x2f756c[_0x3ef67d(0x123)],_0x5763e9['registration']),((_0x28bb42=_0x5763e9[_0x3ef67d(0x123)])===null||_0x28bb42===void 0x0?void 0x0:_0x28bb42[_0x3ef67d(0x112)])&&(_0x5763e9['registration']['tags']=_0x5763e9[_0x3ef67d(0x123)][_0x3ef67d(0x112)][_0x3ef67d(0x10f)](_0x4fdd51=>typeof _0x4fdd51===_0x3ef67d(0x115)?{'name':_0x4fdd51}:_0x4fdd51)),_0x5763e9;};exports[a8_0x521d53(0x10d)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a9_0x4ec2(_0x3b6efa,_0x57396c){const _0x45d095=a9_0x499e();return a9_0x4ec2=function(_0x179184,_0x34e267){_0x179184=_0x179184-0xe7;let _0x499e95=_0x45d095[_0x179184];return _0x499e95;},a9_0x4ec2(_0x3b6efa,_0x57396c);}const a9_0x5e5578=a9_0x4ec2;function a9_0x499e(){const _0x4e38fa=['search','__esModule','crypto','toString','createUniquifier','createHash','(((.+)+)+)+$','63VqLwCu','198sTTDfo','apply','6dGtdFD','29355RjsSTK','stringify','sha1','defineProperty','184217SGuliV','10TNbwfT','13334563VsznGo','104373DzyXKH','1334440AUqaJj','hex','constructor','digest','update','5272616YdqGPZ','3403855TFOsSY'];a9_0x499e=function(){return _0x4e38fa;};return a9_0x499e();}(function(_0x48a439,_0x2d20ee){const _0x254454=a9_0x4ec2,_0x10200a=_0x48a439();while(!![]){try{const _0x55c6d2=parseInt(_0x254454(0xf3))/0x1+parseInt(_0x254454(0xec))/0x2*(-parseInt(_0x254454(0xef))/0x3)+parseInt(_0x254454(0xfc))/0x4+parseInt(_0x254454(0xfd))/0x5*(parseInt(_0x254454(0xee))/0x6)+-parseInt(_0x254454(0xeb))/0x7*(parseInt(_0x254454(0xf7))/0x8)+parseInt(_0x254454(0xf6))/0x9*(parseInt(_0x254454(0xf4))/0xa)+parseInt(_0x254454(0xf5))/0xb;if(_0x55c6d2===_0x2d20ee)break;else _0x10200a['push'](_0x10200a['shift']());}catch(_0x180ea1){_0x10200a['push'](_0x10200a['shift']());}}}(a9_0x499e,0xe4c34));const a9_0x34e267=(function(){let _0x107267=!![];return function(_0x53e51c,_0x283cdc){const _0x32458f=_0x107267?function(){const _0x8cedfa=a9_0x4ec2;if(_0x283cdc){const _0x4154a2=_0x283cdc[_0x8cedfa(0xed)](_0x53e51c,arguments);return _0x283cdc=null,_0x4154a2;}}:function(){};return _0x107267=![],_0x32458f;};}()),a9_0x179184=a9_0x34e267(this,function(){const _0x55d703=a9_0x4ec2;return a9_0x179184['toString']()[_0x55d703(0xfe)]('(((.+)+)+)+$')[_0x55d703(0xe7)]()[_0x55d703(0xf9)](a9_0x179184)[_0x55d703(0xfe)](_0x55d703(0xea));});a9_0x179184();'use strict';Object[a9_0x5e5578(0xf2)](exports,a9_0x5e5578(0xff),{'value':!![]}),exports[a9_0x5e5578(0xe8)]=void 0x0;const crypto=require(a9_0x5e5578(0x100)),createUniquifier=(_0x2d8147,_0x561a95,_0x62f31f,_0x363165)=>{const _0x5022c3=a9_0x5e5578,_0x1de830=_0x2d8147+_0x561a95+JSON['stringify'](_0x62f31f)+JSON[_0x5022c3(0xf0)](_0x363165);return crypto[_0x5022c3(0xe9)](_0x5022c3(0xf1))[_0x5022c3(0xfb)](_0x1de830)[_0x5022c3(0xfa)](_0x5022c3(0xf8));};exports[a9_0x5e5578(0xe8)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x49b059=a10_0x1e2d;function a10_0x1e2d(_0x50b667,_0x444c2c){const _0x1853ef=a10_0x3875();return a10_0x1e2d=function(_0x227ecb,_0xf7aac2){_0x227ecb=_0x227ecb-0x1a3;let _0x3875f5=_0x1853ef[_0x227ecb];return _0x3875f5;},a10_0x1e2d(_0x50b667,_0x444c2c);}(function(_0x35b715,_0x525990){const _0x14187d=a10_0x1e2d,_0x2ad68c=_0x35b715();while(!![]){try{const _0x2632b0=-parseInt(_0x14187d(0x1a9))/0x1+-parseInt(_0x14187d(0x1b0))/0x2*(parseInt(_0x14187d(0x1b2))/0x3)+parseInt(_0x14187d(0x1ac))/0x4*(-parseInt(_0x14187d(0x1af))/0x5)+parseInt(_0x14187d(0x1a6))/0x6*(parseInt(_0x14187d(0x1aa))/0x7)+-parseInt(_0x14187d(0x1ab))/0x8+-parseInt(_0x14187d(0x1ae))/0x9*(parseInt(_0x14187d(0x1b1))/0xa)+parseInt(_0x14187d(0x1a5))/0xb;if(_0x2632b0===_0x525990)break;else _0x2ad68c['push'](_0x2ad68c['shift']());}catch(_0x53159e){_0x2ad68c['push'](_0x2ad68c['shift']());}}}(a10_0x3875,0x3f589));const a10_0xf7aac2=(function(){let _0x161bbc=!![];return function(_0x179db9,_0x57078d){const _0x275d63=_0x161bbc?function(){if(_0x57078d){const _0x1a046c=_0x57078d['apply'](_0x179db9,arguments);return _0x57078d=null,_0x1a046c;}}:function(){};return _0x161bbc=![],_0x275d63;};}()),a10_0x227ecb=a10_0xf7aac2(this,function(){const _0x181f93=a10_0x1e2d;return a10_0x227ecb[_0x181f93(0x1a3)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a10_0x227ecb)[_0x181f93(0x1ad)](_0x181f93(0x1a8));});a10_0x227ecb();function a10_0x3875(){const _0x5f2c57=['__esModule','(((.+)+)+)+$','39115zfmxLn','718837vGeSGB','3734656nrtHRS','48BIjeTy','search','50166JAHrMq','69755fstKoi','415678GIlmcx','310SRfFrA','3ubhDig','split','length','push','toString','delimit','13318426HIUTXC','6aJwooj'];a10_0x3875=function(){return _0x5f2c57;};return a10_0x3875();}'use strict';Object['defineProperty'](exports,a10_0x49b059(0x1a7),{'value':!![]}),exports[a10_0x49b059(0x1a4)]=void 0x0;const delimit=(_0x2c06d6,_0x371707)=>{const _0x1d5b37=a10_0x49b059,_0x5ae06b=_0x2c06d6[_0x1d5b37(0x1b3)](_0x371707),_0x359413=[];_0x359413[_0x1d5b37(0x1b5)](_0x5ae06b[0x0]);for(let _0x46102f=0x1;_0x46102f<_0x5ae06b[_0x1d5b37(0x1b4)];_0x46102f++){_0x359413[_0x1d5b37(0x1b5)]({'v':_0x371707},_0x5ae06b[_0x46102f]);}return _0x359413;};exports[a10_0x49b059(0x1a4)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x5e179d=a11_0x5cef;(function(_0x380fea,_0x3bb854){const _0x408f51=a11_0x5cef,_0x3101bb=_0x380fea();while(!![]){try{const _0x3128c4=parseInt(_0x408f51(0x205))/0x1*(-parseInt(_0x408f51(0x204))/0x2)+parseInt(_0x408f51(0x1f8))/0x3*(parseInt(_0x408f51(0x209))/0x4)+parseInt(_0x408f51(0x201))/0x5+-parseInt(_0x408f51(0x1ff))/0x6*(-parseInt(_0x408f51(0x208))/0x7)+parseInt(_0x408f51(0x1fd))/0x8*(parseInt(_0x408f51(0x20c))/0x9)+-parseInt(_0x408f51(0x1f6))/0xa*(parseInt(_0x408f51(0x1f5))/0xb)+-parseInt(_0x408f51(0x206))/0xc*(parseInt(_0x408f51(0x200))/0xd);if(_0x3128c4===_0x3bb854)break;else _0x3101bb['push'](_0x3101bb['shift']());}catch(_0x279e47){_0x3101bb['push'](_0x3101bb['shift']());}}}(a11_0x4ced,0x448db));const a11_0x4d9e3c=(function(){let _0x65d4f9=!![];return function(_0x34166d,_0x47c057){const _0x6b7807=_0x65d4f9?function(){const _0x32193e=a11_0x5cef;if(_0x47c057){const _0x1fbd58=_0x47c057[_0x32193e(0x1f9)](_0x34166d,arguments);return _0x47c057=null,_0x1fbd58;}}:function(){};return _0x65d4f9=![],_0x6b7807;};}()),a11_0x39d085=a11_0x4d9e3c(this,function(){const _0x275f9f=a11_0x5cef;return a11_0x39d085[_0x275f9f(0x1fc)]()[_0x275f9f(0x203)]('(((.+)+)+)+$')['toString']()[_0x275f9f(0x202)](a11_0x39d085)[_0x275f9f(0x203)]('(((.+)+)+)+$');});a11_0x39d085();'use strict';function a11_0x5cef(_0x3b894f,_0xb0ad04){const _0x45444b=a11_0x4ced();return a11_0x5cef=function(_0x39d085,_0x4d9e3c){_0x39d085=_0x39d085-0x1f4;let _0x4ced5d=_0x45444b[_0x39d085];return _0x4ced5d;},a11_0x5cef(_0x3b894f,_0xb0ad04);}Object[a11_0x5e179d(0x1f4)](exports,a11_0x5e179d(0x1fb),{'value':!![]}),exports[a11_0x5e179d(0x1fe)]=void 0x0;const tokenize_1=require('./tokenize'),format=(_0x41c8d3,_0x5f1cd3)=>{const _0x590a03=a11_0x5e179d,_0x11f775=(0x0,tokenize_1[_0x590a03(0x1f7)])(_0x41c8d3,_0x5f1cd3[_0x590a03(0x20b)]);for(let _0x5780c0=0x0;_0x5780c0<_0x11f775[_0x590a03(0x20b)];_0x5780c0++){if(!_0x11f775[_0x5780c0]['v'])continue;if(_0x11f775[_0x5780c0]['v']==='$$'){_0x11f775[_0x5780c0]='$';continue;}for(let _0x42e4b0=0x0;_0x42e4b0<_0x5f1cd3[_0x590a03(0x20b)];_0x42e4b0++){if(_0x11f775[_0x5780c0]['v']==='$'+_0x42e4b0){let _0x41e82e=_0x5f1cd3[_0x42e4b0];/^".*"$/[_0x590a03(0x1fa)](_0x41e82e)&&(_0x41e82e=_0x41e82e[_0x590a03(0x20a)](0x1,_0x41e82e['length']-0x1));_0x11f775[_0x5780c0]=_0x41e82e;break;}}}return _0x11f775[_0x590a03(0x207)]('');};exports[a11_0x5e179d(0x1fe)]=format;function a11_0x4ced(){const _0x16a336=['993244mKGumg','substring','length','9CTnGdn','defineProperty','1159862bRKoaK','10MfXMMS','tokenize','6BwLdWK','apply','test','__esModule','toString','1966088tfTAon','format','6MNweBk','13CtePhQ','1435105PCUHDT','constructor','search','117942lBjMsA','3ehNMgl','9942012ayGHFp','join','2535729AZKWUb'];a11_0x4ced=function(){return _0x16a336;};return a11_0x4ced();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x586b13=a12_0x29af;(function(_0x3cb9f5,_0x419ab0){const _0x39554f=a12_0x29af,_0x3ad026=_0x3cb9f5();while(!![]){try{const _0x36430d=-parseInt(_0x39554f(0x1f2))/0x1*(parseInt(_0x39554f(0x1f3))/0x2)+-parseInt(_0x39554f(0x1d6))/0x3+-parseInt(_0x39554f(0x1e2))/0x4+-parseInt(_0x39554f(0x1d3))/0x5+parseInt(_0x39554f(0x1f4))/0x6+parseInt(_0x39554f(0x1d1))/0x7*(parseInt(_0x39554f(0x1ef))/0x8)+-parseInt(_0x39554f(0x1d4))/0x9*(-parseInt(_0x39554f(0x1e6))/0xa);if(_0x36430d===_0x419ab0)break;else _0x3ad026['push'](_0x3ad026['shift']());}catch(_0x57da31){_0x3ad026['push'](_0x3ad026['shift']());}}}(a12_0x5494,0x65d24));const a12_0x419aaf=(function(){let _0x5cbac9=!![];return function(_0xa9ce82,_0x161908){const _0x459e17=_0x5cbac9?function(){const _0x1b18cf=a12_0x29af;if(_0x161908){const _0x1c4194=_0x161908[_0x1b18cf(0x1de)](_0xa9ce82,arguments);return _0x161908=null,_0x1c4194;}}:function(){};return _0x5cbac9=![],_0x459e17;};}()),a12_0x5d15b7=a12_0x419aaf(this,function(){const _0x589cb2=a12_0x29af;return a12_0x5d15b7[_0x589cb2(0x1e0)]()[_0x589cb2(0x1ed)](_0x589cb2(0x1e3))[_0x589cb2(0x1e0)]()[_0x589cb2(0x1e1)](a12_0x5d15b7)[_0x589cb2(0x1ed)]('(((.+)+)+)+$');});function a12_0x29af(_0x36a205,_0x5de2ea){const _0x376eb2=a12_0x5494();return a12_0x29af=function(_0x5d15b7,_0x419aaf){_0x5d15b7=_0x5d15b7-0x1d0;let _0x54942=_0x376eb2[_0x5d15b7];return _0x54942;},a12_0x29af(_0x36a205,_0x5de2ea);}a12_0x5d15b7();'use strict';function a12_0x5494(){const _0x1f63a1=['14026Vzbkpy','38NZMTxv','1994172XPcfIS','fetch_breakpoints_once','agent_log_target_dir','max_dynamic_log_rate','3501211cSwcNA','getFloat','1320440cmoxPm','18sRAYEP','dynamic_log_quota_recovery_ms','2020578MtjqYW','getInt','max_watchlist_variable_size','map','collect_log_cooldown_ms','agent_log_max_file_size_mb','getFirst','max_variable_size','apply','agent_log_max_file_count','toString','constructor','2661356SuPGsX','(((.+)+)+)+$','trim','existsSync','7269860uEOybN','getAgentConfig','max_log_file_bytes','agent_regmetadata_file','getBoolean','breakpoint_expiration_sec','defineProperty','search','com.lightrun.secret','8NYOBCf','agent_log_level','split'];a12_0x5494=function(){return _0x1f63a1;};return a12_0x5494();}Object[a12_0x586b13(0x1ec)](exports,'__esModule',{'value':!![]}),exports[a12_0x586b13(0x1e7)]=void 0x0;const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x275b93=>{const _0x356802=a12_0x586b13;var _0x30da07,_0x593cb1,_0x5c59d4;if(fs[_0x356802(0x1e5)](_0x275b93)){const _0x47b00d=properties['of'](_0x275b93);return{'lightrunSecret':_0x47b00d['getFirst'](_0x356802(0x1ee)),'apiEndpoint':_0x47b00d[_0x356802(0x1dc)]('apiEndpoint'),'breakpointExpirationSec':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1eb)),'transmissionBulkMaxSize':_0x47b00d['getInt']('transmission_bulk_max_size'),'noCheckCertificate':_0x47b00d[_0x356802(0x1ea)]('noCheckCertificate'),'pinnedCerts':(_0x30da07=_0x47b00d[_0x356802(0x1dc)]('pinned_certs'))===null||_0x30da07===void 0x0?void 0x0:_0x30da07[_0x356802(0x1f1)](','),'metadata':{'filename':_0x47b00d[_0x356802(0x1dc)](_0x356802(0x1e9))},'capture':{'maxFrames':_0x47b00d[_0x356802(0x1d7)]('max_snapshot_frame_count'),'maxDataSize':_0x47b00d[_0x356802(0x1d7)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x47b00d[_0x356802(0x1d7)]('max_snapshot_buffer_size'),'maxVariableSize':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1dd)),'maxWatchListVariableSize':_0x47b00d['getInt'](_0x356802(0x1d8))},'agentLog':{'collectCooldownMs':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1da)),'agentLogTargetDir':_0x47b00d[_0x356802(0x1dc)](_0x356802(0x1f6)),'agentLogLevel':_0x47b00d[_0x356802(0x1dc)](_0x356802(0x1f0)),'agentLogMaxFileCount':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1df)),'agentLogMaxFileSizeMb':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1db)),'maxLogFileBytes':_0x47b00d['getInt'](_0x356802(0x1e8))},'quota':{'ignoreQuota':_0x47b00d[_0x356802(0x1ea)]('ignore_quota'),'maxCPUCost':_0x47b00d[_0x356802(0x1d2)]('max_log_cpu_cost'),'maxConditionCost':_0x47b00d[_0x356802(0x1d2)]('max_condition_cost'),'maxDynamicLogRate':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1d0)),'maxDynamicLogByteRate':_0x47b00d['getInt']('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x47b00d[_0x356802(0x1d7)](_0x356802(0x1d5))&&_0x47b00d[_0x356802(0x1d7)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x47b00d[_0x356802(0x1ea)](_0x356802(0x1f5)),'extraPaths':(_0x5c59d4=(_0x593cb1=_0x47b00d[_0x356802(0x1dc)]('extra_paths'))===null||_0x593cb1===void 0x0?void 0x0:_0x593cb1[_0x356802(0x1f1)](','))===null||_0x5c59d4===void 0x0?void 0x0:_0x5c59d4[_0x356802(0x1d9)](_0x5d669e=>_0x5d669e[_0x356802(0x1e4)]())};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a13_0x2167(){const _0x39b4de=['2271450uZaRUb','__esModule','CLOUD_FUNCTION','env','cloud_function','9hzLSwa','getPlatform','toString','11575122ueYqiN','30955590GRyVim','constructor','7ZEXOIf','DEFAULT','464811RgvPJr','apply','1578013qAQOLF','(((.+)+)+)+$','818504DcjwOs','6rDnpdE','Platforms','6667992jVdwpz','defineProperty','search'];a13_0x2167=function(){return _0x39b4de;};return a13_0x2167();}const a13_0x17f5bd=a13_0x4653;(function(_0x241f56,_0x987e3c){const _0x7c59f8=a13_0x4653,_0x5d241c=_0x241f56();while(!![]){try{const _0x35d92c=parseInt(_0x7c59f8(0x189))/0x1+-parseInt(_0x7c59f8(0x18c))/0x2*(-parseInt(_0x7c59f8(0x187))/0x3)+-parseInt(_0x7c59f8(0x18e))/0x4+-parseInt(_0x7c59f8(0x191))/0x5+-parseInt(_0x7c59f8(0x199))/0x6*(parseInt(_0x7c59f8(0x19c))/0x7)+-parseInt(_0x7c59f8(0x18b))/0x8+parseInt(_0x7c59f8(0x196))/0x9*(parseInt(_0x7c59f8(0x19a))/0xa);if(_0x35d92c===_0x987e3c)break;else _0x5d241c['push'](_0x5d241c['shift']());}catch(_0x529bf4){_0x5d241c['push'](_0x5d241c['shift']());}}}(a13_0x2167,0xf09fb));Object[a13_0x17f5bd(0x18f)](exports,a13_0x17f5bd(0x192),{'value':!![]}),exports[a13_0x17f5bd(0x197)]=exports[a13_0x17f5bd(0x18d)]=void 0x0;var Platforms;function a13_0x4653(_0x1b899f,_0x3a046a){const _0x354e14=a13_0x2167();return a13_0x4653=function(_0x2b1ae1,_0x2ee597){_0x2b1ae1=_0x2b1ae1-0x187;let _0x216740=_0x354e14[_0x2b1ae1];return _0x216740;},a13_0x4653(_0x1b899f,_0x3a046a);}(function(_0x24fad5){const _0x258003=a13_0x17f5bd,_0x41e187=(function(){let _0x322556=!![];return function(_0x2594ed,_0x3f46b9){const _0x5aebe5=_0x322556?function(){const _0x316ba5=a13_0x4653;if(_0x3f46b9){const _0x4015ad=_0x3f46b9[_0x316ba5(0x188)](_0x2594ed,arguments);return _0x3f46b9=null,_0x4015ad;}}:function(){};return _0x322556=![],_0x5aebe5;};}()),_0xc57fe8=_0x41e187(this,function(){const _0x111325=a13_0x4653;return _0xc57fe8[_0x111325(0x198)]()[_0x111325(0x190)](_0x111325(0x18a))[_0x111325(0x198)]()[_0x111325(0x19b)](_0xc57fe8)[_0x111325(0x190)](_0x111325(0x18a));});_0xc57fe8(),_0x24fad5[_0x258003(0x193)]=_0x258003(0x195),_0x24fad5['DEFAULT']='default';}(Platforms=exports['Platforms']||(exports['Platforms']={})));const getPlatform=()=>{const _0x321ded=a13_0x17f5bd,{FUNCTION_NAME:_0x531960,FUNCTION_TARGET:_0x349634}=process[_0x321ded(0x194)];if(_0x531960||_0x349634)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x321ded(0x19d)];};exports[a13_0x17f5bd(0x197)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a14_0x3f3b8f=a14_0x578e;function a14_0x416c(){const _0x395c71=['2003913ImEuip','constructor','118254ZWUsgH','__esModule','797237xpSSck','745228ZZGdbd','8XaVjiS','defineProperty','322881OxBaqg','159577icPuWU','830AjywYb','mapSubtract','search','4fGboNH','15kmoOPM','531600zndfPG','push','toString'];a14_0x416c=function(){return _0x395c71;};return a14_0x416c();}(function(_0x453b73,_0x795ec1){const _0x115122=a14_0x578e,_0x368cfd=_0x453b73();while(!![]){try{const _0x4b1d17=-parseInt(_0x115122(0x117))/0x1+parseInt(_0x115122(0x110))/0x2*(-parseInt(_0x115122(0x10b))/0x3)+parseInt(_0x115122(0x11a))/0x4*(-parseInt(_0x115122(0x111))/0x5)+-parseInt(_0x115122(0x112))/0x6+-parseInt(_0x115122(0x119))/0x7+parseInt(_0x115122(0x11b))/0x8*(parseInt(_0x115122(0x115))/0x9)+parseInt(_0x115122(0x10d))/0xa*(parseInt(_0x115122(0x10c))/0xb);if(_0x4b1d17===_0x795ec1)break;else _0x368cfd['push'](_0x368cfd['shift']());}catch(_0xb3987c){_0x368cfd['push'](_0x368cfd['shift']());}}}(a14_0x416c,0x5102a));const a14_0x46b62a=(function(){let _0x3bdc70=!![];return function(_0x124e97,_0x2c558e){const _0x41f8ee=_0x3bdc70?function(){if(_0x2c558e){const _0x583c56=_0x2c558e['apply'](_0x124e97,arguments);return _0x2c558e=null,_0x583c56;}}:function(){};return _0x3bdc70=![],_0x41f8ee;};}()),a14_0x12b3fa=a14_0x46b62a(this,function(){const _0x572605=a14_0x578e;return a14_0x12b3fa[_0x572605(0x114)]()[_0x572605(0x10f)]('(((.+)+)+)+$')[_0x572605(0x114)]()[_0x572605(0x116)](a14_0x12b3fa)['search']('(((.+)+)+)+$');});a14_0x12b3fa();'use strict';Object[a14_0x3f3b8f(0x11c)](exports,a14_0x3f3b8f(0x118),{'value':!![]}),exports[a14_0x3f3b8f(0x10e)]=void 0x0;function a14_0x578e(_0x83cd5d,_0x19a64c){const _0x526775=a14_0x416c();return a14_0x578e=function(_0x12b3fa,_0x46b62a){_0x12b3fa=_0x12b3fa-0x10b;let _0x416cd9=_0x526775[_0x12b3fa];return _0x416cd9;},a14_0x578e(_0x83cd5d,_0x19a64c);}const mapSubtract=(_0x52dd26,_0x56e063)=>{const _0x382b10=a14_0x3f3b8f,_0x4eac75=[];for(const _0x489582 in _0x52dd26){!_0x56e063[_0x489582]&&_0x4eac75[_0x382b10(0x113)](_0x52dd26[_0x489582]);}return _0x4eac75;};exports[a14_0x3f3b8f(0x10e)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x2ec040=a15_0x1c17;(function(_0x21c776,_0x21d14c){const _0x349f01=a15_0x1c17,_0x5ee6c2=_0x21c776();while(!![]){try{const _0x5e2856=-parseInt(_0x349f01(0x10e))/0x1+-parseInt(_0x349f01(0x118))/0x2+-parseInt(_0x349f01(0xec))/0x3+parseInt(_0x349f01(0xe6))/0x4*(parseInt(_0x349f01(0x101))/0x5)+parseInt(_0x349f01(0xfc))/0x6*(parseInt(_0x349f01(0x109))/0x7)+parseInt(_0x349f01(0xf7))/0x8*(-parseInt(_0x349f01(0x119))/0x9)+-parseInt(_0x349f01(0x114))/0xa*(-parseInt(_0x349f01(0xf0))/0xb);if(_0x5e2856===_0x21d14c)break;else _0x5ee6c2['push'](_0x5ee6c2['shift']());}catch(_0x48e6eb){_0x5ee6c2['push'](_0x5ee6c2['shift']());}}}(a15_0x2aac,0x4a73c));const a15_0x494676=(function(){let _0x1e3054=!![];return function(_0x215214,_0x5ae61c){const _0x1245b0=_0x1e3054?function(){const _0x5cbf14=a15_0x1c17;if(_0x5ae61c){const _0x6df8c1=_0x5ae61c[_0x5cbf14(0x100)](_0x215214,arguments);return _0x5ae61c=null,_0x6df8c1;}}:function(){};return _0x1e3054=![],_0x1245b0;};}()),a15_0x52c3ac=a15_0x494676(this,function(){const _0x35572b=a15_0x1c17;return a15_0x52c3ac[_0x35572b(0xfe)]()[_0x35572b(0xf5)]('(((.+)+)+)+$')[_0x35572b(0xfe)]()['constructor'](a15_0x52c3ac)[_0x35572b(0xf5)](_0x35572b(0xfb));});a15_0x52c3ac();'use strict';Object[a15_0x2ec040(0xe7)](exports,a15_0x2ec040(0x10b),{'value':!![]}),exports['normalizeConfig']=void 0x0;function a15_0x2aac(){const _0x379a90=['GAE_VERSION','543051LsRiDp','getBooleanValue','unversioned','LIGHTRUN_AGENT_CONFIG','AGENT_LOG_MAX_FILE_COUNT','LIGHTRUN_API_ENDPOINT','16497340cccpKI','metadata','agentLogMaxFileCount','LIGHTRUN_INIT_WAIT_TIME_MS','1058550bxMkZD','132066FmecTx','AGENT_LOG_MAX_FILE_SIZE_MB','AGENT_LOG_TARGET_DIR','276968xfdcvO','defineProperty','GAE_MODULE_VERSION','LIGHTRUN_SECRET','agentLogLevel','GAE_MINOR_VERSION','381900Fksifn','normalizeConfig','FUNCTION_NAME','./getAgentConfig','11ESnYSo','NO_CHECK_CERTIFICATE','LIGHTRUN_STD_ERR_THRESHOLD','LIGHTRUN_TAGS','GAE_DEPLOYMENT_ID','search','getAgentConfig','136lKSnSg','GAE_MODULE_NAME','env','STD_ERR_THRESHOLD','(((.+)+)+)+$','6scVfiB','K_REVISION','toString','service','apply','5OLtman','AGENT_LOG_LEVEL','FETCH_BREAKPOINTS_ONCE','agentLog','agentConfigFile','serviceContext','LIGHTRUN_WAIT_FOR_INIT','defaultConfig','245448tsAJUg','../util/utils','__esModule','agentLogTargetDir'];a15_0x2aac=function(){return _0x379a90;};return a15_0x2aac();}const extend=require('extend'),config_1=require('../config'),utils_1=require(a15_0x2ec040(0x10a)),getAgentConfig_1=require(a15_0x2ec040(0xef)),normalizeConfig=_0x5292ca=>{const _0x5c3c3c=a15_0x2ec040,_0x216268={'serviceContext':{'service':process['env']['GAE_SERVICE']||process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xf8)]||process[_0x5c3c3c(0xf9)]['K_SERVICE'],'version':process['env'][_0x5c3c3c(0x10d)]||process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xe8)]||process['env'][_0x5c3c3c(0xfd)],'minorVersion_':process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xf4)]||process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xeb)]},'metadata':{'filename':process[_0x5c3c3c(0xf9)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xe9)],'apiEndpoint':process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x113)],'noCheckCertificate':(0x0,utils_1[_0x5c3c3c(0x10f)])(process['env'][_0x5c3c3c(0xf1)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x5c3c3c(0x10f)])(process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x103)]),'lightrunWaitForInit':(0x0,utils_1[_0x5c3c3c(0x10f)])(process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x107)]),'lightrunInitWaitTimeMs':process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x117)],'agentLog':(_0x5292ca===null||_0x5292ca===void 0x0?void 0x0:_0x5292ca[_0x5c3c3c(0x104)])||{}};process['env'][_0x5c3c3c(0xf2)]!==undefined&&(_0x216268['agentLog']['stdErrThreshold']=process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xfa)]);process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x102)]!==undefined&&(_0x216268[_0x5c3c3c(0x104)][_0x5c3c3c(0xea)]=process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x102)]);process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xe5)]!==undefined&&(_0x216268[_0x5c3c3c(0x104)][_0x5c3c3c(0x10c)]=process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xe5)]);process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x112)]!==undefined&&(_0x216268[_0x5c3c3c(0x104)][_0x5c3c3c(0x116)]=parseInt(process['env'][_0x5c3c3c(0x112)]));process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xe4)]!==undefined&&(_0x216268['agentLog']['agentLogMaxFileSizeMb']=parseInt(process[_0x5c3c3c(0xf9)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x5c3c3c(0xf9)]['FUNCTION_NAME']&&(_0x216268[_0x5c3c3c(0x106)][_0x5c3c3c(0xff)]=process[_0x5c3c3c(0xf9)][_0x5c3c3c(0xee)],_0x216268['serviceContext']['version']=_0x5c3c3c(0x110));process['env'][_0x5c3c3c(0xf3)]&&(_0x216268[_0x5c3c3c(0x115)]['registration']={'tags':process['env'][_0x5c3c3c(0xf3)]['split'](',')});const _0x288eed=(0x0,getAgentConfig_1[_0x5c3c3c(0xf6)])(process[_0x5c3c3c(0xf9)][_0x5c3c3c(0x111)]||(_0x5292ca===null||_0x5292ca===void 0x0?void 0x0:_0x5292ca[_0x5c3c3c(0x105)])||config_1[_0x5c3c3c(0x108)]['agentConfigFile']);return extend(!![],{},config_1[_0x5c3c3c(0x108)],_0x288eed,_0x5292ca,_0x216268);};function a15_0x1c17(_0x197871,_0x205190){const _0x2b5d90=a15_0x2aac();return a15_0x1c17=function(_0x52c3ac,_0x494676){_0x52c3ac=_0x52c3ac-0xe4;let _0x2aac69=_0x2b5d90[_0x52c3ac];return _0x2aac69;},a15_0x1c17(_0x197871,_0x205190);}exports[a15_0x2ec040(0xed)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x1424ca=a16_0x17b4;(function(_0x130e5a,_0x10276a){const _0x498fc9=a16_0x17b4,_0x49507b=_0x130e5a();while(!![]){try{const _0x28c012=-parseInt(_0x498fc9(0x157))/0x1*(parseInt(_0x498fc9(0x155))/0x2)+parseInt(_0x498fc9(0x164))/0x3*(-parseInt(_0x498fc9(0x15b))/0x4)+-parseInt(_0x498fc9(0x163))/0x5*(parseInt(_0x498fc9(0x162))/0x6)+-parseInt(_0x498fc9(0x15a))/0x7*(parseInt(_0x498fc9(0x15d))/0x8)+-parseInt(_0x498fc9(0x165))/0x9+parseInt(_0x498fc9(0x160))/0xa+-parseInt(_0x498fc9(0x15e))/0xb*(-parseInt(_0x498fc9(0x156))/0xc);if(_0x28c012===_0x10276a)break;else _0x49507b['push'](_0x49507b['shift']());}catch(_0x169e1e){_0x49507b['push'](_0x49507b['shift']());}}}(a16_0x2e03,0x8c060));const a16_0x12637c=(function(){let _0x219651=!![];return function(_0x4c26f6,_0x51a763){const _0x2579f3=_0x219651?function(){const _0x1e9863=a16_0x17b4;if(_0x51a763){const _0x3f8343=_0x51a763[_0x1e9863(0x167)](_0x4c26f6,arguments);return _0x51a763=null,_0x3f8343;}}:function(){};return _0x219651=![],_0x2579f3;};}()),a16_0x3ef142=a16_0x12637c(this,function(){const _0xdcdb4b=a16_0x17b4;return a16_0x3ef142[_0xdcdb4b(0x161)]()[_0xdcdb4b(0x159)](_0xdcdb4b(0x168))[_0xdcdb4b(0x161)]()[_0xdcdb4b(0x153)](a16_0x3ef142)[_0xdcdb4b(0x159)](_0xdcdb4b(0x168));});a16_0x3ef142();'use strict';Object[a16_0x1424ca(0x154)](exports,'__esModule',{'value':!![]}),exports[a16_0x1424ca(0x158)]=void 0x0;const delimit_1=require(a16_0x1424ca(0x15c)),tokenize=(_0x51c52f,_0xb519b6)=>{const _0x2c8b17=a16_0x1424ca;let _0x56a07c=(0x0,delimit_1['delimit'])(_0x51c52f,'$$');for(let _0x2a7ff3=_0xb519b6-0x1;_0x2a7ff3>=0x0;_0x2a7ff3--){const _0x45e157=[];for(let _0x14a08f=0x0;_0x14a08f<_0x56a07c['length'];_0x14a08f++){_0x56a07c[_0x14a08f]['v']?_0x45e157['push'](_0x56a07c[_0x14a08f]):_0x45e157[_0x2c8b17(0x166)](...(0x0,delimit_1[_0x2c8b17(0x15f)])(_0x56a07c[_0x14a08f],'$'+_0x2a7ff3));}_0x56a07c=_0x45e157;}return _0x56a07c;};function a16_0x17b4(_0x31cc58,_0x4ebe4c){const _0x5a5d6f=a16_0x2e03();return a16_0x17b4=function(_0x3ef142,_0x12637c){_0x3ef142=_0x3ef142-0x153;let _0x2e032e=_0x5a5d6f[_0x3ef142];return _0x2e032e;},a16_0x17b4(_0x31cc58,_0x4ebe4c);}function a16_0x2e03(){const _0xb835d6=['12KIFKoo','2uyhWqB','tokenize','search','42dwKtoP','4iQaKCp','./delimit','854168zaLhHr','38477329hDXpud','delimit','2041090IUABgX','toString','6GPSPKq','735695nilhCK','1531914iJUEUL','9726327ltQvUM','push','apply','(((.+)+)+)+$','constructor','defineProperty','749406PDgoRh'];a16_0x2e03=function(){return _0xb835d6;};return a16_0x2e03();}exports['tokenize']=tokenize;
|