lightrun 1.49.0 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/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
|
-
|
|
1
|
+
const a0_0x2c6c5e=a0_0x4f2e;(function(_0x28fd9b,_0xf7a671){const _0x4218c3=a0_0x4f2e,_0x58806f=_0x28fd9b();while(!![]){try{const _0xb30328=parseInt(_0x4218c3(0x1f1))/0x1*(parseInt(_0x4218c3(0x1fc))/0x2)+parseInt(_0x4218c3(0x1eb))/0x3*(parseInt(_0x4218c3(0x1f5))/0x4)+parseInt(_0x4218c3(0x1ef))/0x5+-parseInt(_0x4218c3(0x206))/0x6+-parseInt(_0x4218c3(0x1f6))/0x7*(-parseInt(_0x4218c3(0x207))/0x8)+parseInt(_0x4218c3(0x1ee))/0x9+-parseInt(_0x4218c3(0x1e6))/0xa;if(_0xb30328===_0xf7a671)break;else _0x58806f['push'](_0x58806f['shift']());}catch(_0x46a2ec){_0x58806f['push'](_0x58806f['shift']());}}}(a0_0xe902,0x545ce));const a0_0xdf83b=(function(){let _0x5b60b5=!![];return function(_0x5c0d81,_0x1f088d){const _0x27fd14=_0x5b60b5?function(){const _0x56bbda=a0_0x4f2e;if(_0x1f088d){const _0x2e67b2=_0x1f088d[_0x56bbda(0x1ff)](_0x5c0d81,arguments);return _0x1f088d=null,_0x2e67b2;}}:function(){};return _0x5b60b5=![],_0x27fd14;};}()),a0_0x47a79c=a0_0xdf83b(this,function(){const _0x15c8c1=a0_0x4f2e;return a0_0x47a79c[_0x15c8c1(0x204)]()[_0x15c8c1(0x1f9)](_0x15c8c1(0x1ea))[_0x15c8c1(0x204)]()[_0x15c8c1(0x1e9)](a0_0x47a79c)[_0x15c8c1(0x1f9)]('(((.+)+)+)+$');});a0_0x47a79c();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const winston_1=require('winston'),DailyRotateFile=require(a0_0x2c6c5e(0x1fd)),process_1=require(a0_0x2c6c5e(0x1e7)),{combine,printf,timestamp}=winston_1[a0_0x2c6c5e(0x208)],{Console}=winston_1[a0_0x2c6c5e(0x1fb)],now=new Date();function a0_0x4f2e(_0x4e5f17,_0x2ceb2a){const _0x50b5a3=a0_0xe902();return a0_0x4f2e=function(_0x47a79c,_0xdf83b){_0x47a79c=_0x47a79c-0x1e4;let _0xe90213=_0x50b5a3[_0x47a79c];return _0xe90213;},a0_0x4f2e(_0x4e5f17,_0x2ceb2a);}function a0_0xe902(){const _0x1ed8ec=['logger','6113070Xamjrr','3262510bePWzj','error','2YyXGhH',']\x20-\x20','getHours','toUpperCase','12enNHFV','133qjYlgA','.%DATE%','getDate','search','getFullYear','transports','521954skleCA','winston-daily-rotate-file','debug','apply','getMinutes','warn','default','createLogger','toString','getSeconds','3944118mkkojQ','147016nFgyiU','format','.log','padStart','AGENT_LOG_FILE','json','15342810BzGIvK','process','lightrun_nodejs_agent.','constructor','(((.+)+)+)+$','334335MEhYBK','info'];a0_0xe902=function(){return _0x1ed8ec;};return a0_0xe902();}function getLoggerTransport(_0x322638,_0x3dc201,_0x27a736){const _0x1e6e9a=a0_0x2c6c5e;if(_0x322638)return new DailyRotateFile({'dirname':_0x322638,'filename':AgentLogger[_0x1e6e9a(0x1e4)],'datePattern':now[_0x1e6e9a(0x1fa)]()[_0x1e6e9a(0x204)]()+now['getMonth']()['toString']()['padStart'](0x2,'0')+now[_0x1e6e9a(0x1f8)]()[_0x1e6e9a(0x204)]()['padStart'](0x2,'0')+'-'+now[_0x1e6e9a(0x1f3)]()[_0x1e6e9a(0x204)]()[_0x1e6e9a(0x20a)](0x2,'0')+now[_0x1e6e9a(0x200)]()[_0x1e6e9a(0x204)]()[_0x1e6e9a(0x20a)](0x2,'0')+now[_0x1e6e9a(0x205)]()[_0x1e6e9a(0x204)]()[_0x1e6e9a(0x20a)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x1e6e9a(0x1e4)],'maxSize':_0x3dc201+'m','maxFiles':_0x27a736,'extension':_0x1e6e9a(0x209)});return new Console();}class AgentLogger{constructor(_0x3492f5,_0x40e5c1,_0x38c3e6,_0xd3c0eb,_0x5615fd){const _0x278771=a0_0x2c6c5e;this[_0x278771(0x1ed)]=(0x0,winston_1[_0x278771(0x203)])({'level':_0xd3c0eb,'transports':[getLoggerTransport(_0x3492f5,_0x40e5c1,_0x38c3e6),new Console({'level':_0x5615fd,'stderrLevels':[_0x278771(0x1fe),_0x278771(0x1ec),_0x278771(0x201),_0x278771(0x1f0)]})],'format':combine(timestamp(),printf(({level:_0x2e5504,message:_0x6f39e8,timestamp:_0x8d4917})=>{const _0xbf08b9=_0x278771;return _0x8d4917+'\x20['+_0x2e5504[_0xbf08b9(0x1f4)]()+_0xbf08b9(0x1f2)+_0x6f39e8;}),winston_1[_0x278771(0x208)][_0x278771(0x1e5)]())});}static[a0_0x2c6c5e(0x203)](_0x13f892,_0x39368e,_0x35cd05,_0x416b34,_0x3b8ac7){return new AgentLogger(_0x13f892,_0x39368e,_0x35cd05,_0x416b34,_0x3b8ac7);}[a0_0x2c6c5e(0x1fe)](..._0x127faf){const _0x4eae29=a0_0x2c6c5e;this['logger'][_0x4eae29(0x1fe)](_0x127faf);}['info'](..._0x4617ed){this['logger']['info'](_0x4617ed);}[a0_0x2c6c5e(0x201)](..._0x18c2db){const _0x2a5994=a0_0x2c6c5e;this[_0x2a5994(0x1ed)][_0x2a5994(0x201)](_0x18c2db);}[a0_0x2c6c5e(0x1f0)](..._0x1ff36b){const _0x248c91=a0_0x2c6c5e;this[_0x248c91(0x1ed)][_0x248c91(0x1f0)](_0x1ff36b);}}AgentLogger[a0_0x2c6c5e(0x1e4)]=a0_0x2c6c5e(0x1e8)+process_1['pid']+a0_0x2c6c5e(0x1f7),exports[a0_0x2c6c5e(0x202)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x104ad6=a1_0x5e7c;(function(_0x554bbc,_0x4c2ead){const _0x2d509b=a1_0x5e7c,_0x51be93=_0x554bbc();while(!![]){try{const _0x1be55a=-parseInt(_0x2d509b(0x1fc))/0x1*(-parseInt(_0x2d509b(0x1f5))/0x2)+parseInt(_0x2d509b(0x1fa))/0x3+-parseInt(_0x2d509b(0x1f2))/0x4+parseInt(_0x2d509b(0x1f3))/0x5+parseInt(_0x2d509b(0x204))/0x6*(-parseInt(_0x2d509b(0x1f1))/0x7)+-parseInt(_0x2d509b(0x1f0))/0x8*(-parseInt(_0x2d509b(0x1ef))/0x9)+-parseInt(_0x2d509b(0x1fd))/0xa*(parseInt(_0x2d509b(0x202))/0xb);if(_0x1be55a===_0x4c2ead)break;else _0x51be93['push'](_0x51be93['shift']());}catch(_0x4695af){_0x51be93['push'](_0x51be93['shift']());}}}(a1_0x7ccd,0xad1c7));const a1_0x587ffc=(function(){let _0x3baea6=!![];return function(_0x30e334,_0x4aaaa0){const _0x15f670=_0x3baea6?function(){const _0x52dec7=a1_0x5e7c;if(_0x4aaaa0){const _0x40b6ae=_0x4aaaa0[_0x52dec7(0x1f8)](_0x30e334,arguments);return _0x4aaaa0=null,_0x40b6ae;}}:function(){};return _0x3baea6=![],_0x15f670;};}()),a1_0x34b69b=a1_0x587ffc(this,function(){const _0x1d4d3a=a1_0x5e7c;return a1_0x34b69b[_0x1d4d3a(0x1f7)]()[_0x1d4d3a(0x1ff)]('(((.+)+)+)+$')['toString']()[_0x1d4d3a(0x1fb)](a1_0x34b69b)[_0x1d4d3a(0x1ff)]('(((.+)+)+)+$');});a1_0x34b69b();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['BlocklistingPatterns']=void 0x0;class BlocklistingPatterns{constructor(_0x2e0dc7){const _0x2c9be1=a1_0x5e7c;this[_0x2c9be1(0x201)]=[],this[_0x2c9be1(0x203)]=[],_0x2e0dc7&&_0x2e0dc7[_0x2c9be1(0x1f6)](_0x2b3180=>{const _0x190e64=_0x2c9be1;_0x2b3180&&(_0x2b3180[0x0]==='!'?this[_0x190e64(0x201)]['push'](new RegExp(_0x2b3180[_0x190e64(0x200)](0x1))):this['patterns']['push'](new RegExp(_0x2b3180)));});}[a1_0x104ad6(0x1fe)](_0x3f5b29){const _0x41998a=a1_0x104ad6,_0x3ff3fa=_0x114581=>_0x3f5b29[_0x41998a(0x1f4)](_0x114581);return this[_0x41998a(0x201)]['length']!==0x0&&!this[_0x41998a(0x201)][_0x41998a(0x1f9)](_0x3ff3fa)||this[_0x41998a(0x203)][_0x41998a(0x1f9)](_0x3ff3fa);}}function a1_0x5e7c(_0x33bf47,_0x3a7662){const _0x137255=a1_0x7ccd();return a1_0x5e7c=function(_0x34b69b,_0x587ffc){_0x34b69b=_0x34b69b-0x1ef;let _0x7ccd29=_0x137255[_0x34b69b];return _0x7ccd29;},a1_0x5e7c(_0x33bf47,_0x3a7662);}function a1_0x7ccd(){const _0x48c698=['forEach','toString','apply','some','3598326eebmaq','constructor','7dBYhOg','14045380sMNxwx','matches','search','substring','inversePatterns','11fZjyjP','patterns','6EYRGSq','423LNOIiF','88696gLGBty','4457747WgTCTT','1611280ShWMkK','698320myppBF','match','369442BRfFIL'];a1_0x7ccd=function(){return _0x48c698;};return a1_0x7ccd();}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a2_0x3bb2(_0x2a10d0,_0x43c9da){var _0xff9b75=a2_0x276a();return a2_0x3bb2=function(_0x9b9cc4,_0x590487){_0x9b9cc4=_0x9b9cc4-0x17f;var _0x276ac1=_0xff9b75[_0x9b9cc4];return _0x276ac1;},a2_0x3bb2(_0x2a10d0,_0x43c9da);}var a2_0x49b8e7=a2_0x3bb2;(function(_0x18edcf,_0x8706b){var _0x490ccd=a2_0x3bb2,_0x14629f=_0x18edcf();while(!![]){try{var _0x174055=-parseInt(_0x490ccd(0x182))/0x1+-parseInt(_0x490ccd(0x180))/0x2*(-parseInt(_0x490ccd(0x18c))/0x3)+parseInt(_0x490ccd(0x181))/0x4+-parseInt(_0x490ccd(0x183))/0x5+parseInt(_0x490ccd(0x188))/0x6+parseInt(_0x490ccd(0x184))/0x7+-parseInt(_0x490ccd(0x185))/0x8;if(_0x174055===_0x8706b)break;else _0x14629f['push'](_0x14629f['shift']());}catch(_0x55cbc2){_0x14629f['push'](_0x14629f['shift']());}}}(a2_0x276a,0x6fe5f));var a2_0x590487=(function(){var _0x4bebfc=!![];return function(_0x318c8d,_0x591564){var _0x5d043b=_0x4bebfc?function(){if(_0x591564){var _0x504d10=_0x591564['apply'](_0x318c8d,arguments);return _0x591564=null,_0x504d10;}}:function(){};return _0x4bebfc=![],_0x5d043b;};}()),a2_0x9b9cc4=a2_0x590487(this,function(){var _0x44275a=a2_0x3bb2;return a2_0x9b9cc4['toString']()['search'](_0x44275a(0x18a))['toString']()[_0x44275a(0x18b)](a2_0x9b9cc4)[_0x44275a(0x186)](_0x44275a(0x18a));});a2_0x9b9cc4();'use strict';function a2_0x276a(){var _0xe3b66b=['(((.+)+)+)+$','constructor','76320dhwgUg','value','DummyBlocklistManager','12JkAzNK','562836QAvxDZ','377277CXlJOS','3231055SmZDir','4751656qVsQwD','2754368mqbOdP','search','__esModule','5123772iYkiPL','defineProperty'];a2_0x276a=function(){return _0xe3b66b;};return a2_0x276a();}Object[a2_0x49b8e7(0x189)](exports,a2_0x49b8e7(0x187),{'value':!![]}),exports[a2_0x49b8e7(0x17f)]=void 0x0;class DummyBlocklistManager{constructor(_0x4b9710){this['value']=_0x4b9710;}['shouldBlock'](){var _0x2af0bc=a2_0x49b8e7;return this[_0x2af0bc(0x18d)];}}exports[a2_0x49b8e7(0x17f)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0xa27150=a3_0x4bc5;(function(_0x555854,_0x34caac){const _0x4637df=a3_0x4bc5,_0x21a499=_0x555854();while(!![]){try{const _0x4e1ad7=parseInt(_0x4637df(0xc2))/0x1+parseInt(_0x4637df(0xbe))/0x2*(-parseInt(_0x4637df(0xac))/0x3)+-parseInt(_0x4637df(0xbc))/0x4*(-parseInt(_0x4637df(0xaa))/0x5)+parseInt(_0x4637df(0xba))/0x6+parseInt(_0x4637df(0xc0))/0x7+-parseInt(_0x4637df(0xc1))/0x8*(-parseInt(_0x4637df(0xb9))/0x9)+-parseInt(_0x4637df(0xab))/0xa;if(_0x4e1ad7===_0x34caac)break;else _0x21a499['push'](_0x21a499['shift']());}catch(_0x121a90){_0x21a499['push'](_0x21a499['shift']());}}}(a3_0x5b5a,0x6cf52));const a3_0x55d286=(function(){let _0x1da03d=!![];return function(_0x464f28,_0x22ab8e){const _0x12c519=_0x1da03d?function(){const _0x28dd3a=a3_0x4bc5;if(_0x22ab8e){const _0x564abd=_0x22ab8e[_0x28dd3a(0xb5)](_0x464f28,arguments);return _0x22ab8e=null,_0x564abd;}}:function(){};return _0x1da03d=![],_0x12c519;};}()),a3_0x182534=a3_0x55d286(this,function(){const _0x1e8fb5=a3_0x4bc5;return a3_0x182534['toString']()['search'](_0x1e8fb5(0xb4))[_0x1e8fb5(0xbb)]()[_0x1e8fb5(0xb0)](a3_0x182534)[_0x1e8fb5(0xb7)](_0x1e8fb5(0xb4));});function a3_0x4bc5(_0x10150c,_0x188131){const _0x18df35=a3_0x5b5a();return a3_0x4bc5=function(_0x182534,_0x55d286){_0x182534=_0x182534-0xaa;let _0x5b5a10=_0x18df35[_0x182534];return _0x5b5a10;},a3_0x4bc5(_0x10150c,_0x188131);}function a3_0x5b5a(){const _0x2c4341=['6piMKKe','BlocklistingPatterns','__esModule','defineProperty','constructor','isPathInCurrentWorkingDirectory','stripWorkingDir','stripCurrentWorkingDirectory','(((.+)+)+)+$','apply','../util/utils','search','blocklistExceptions','3411Cuvgvw','979878Zgegex','toString','154780srommc','PatternsBlocklistManager','672498BnpxRS','blocklist','3142286tOqJGV','4616sPgbpq','464964fwoqbO','./blocklisting-patterns','config','85hWxJcK','8348850fbMlLz'];a3_0x5b5a=function(){return _0x2c4341;};return a3_0x5b5a();}a3_0x182534();'use strict';Object[a3_0xa27150(0xaf)](exports,a3_0xa27150(0xae),{'value':!![]}),exports[a3_0xa27150(0xbd)]=void 0x0;const blocklisting_patterns_1=require(a3_0xa27150(0xc3)),utils=require(a3_0xa27150(0xb6));class PatternsBlocklistManager{constructor(_0x29a9c1,_0x3e4f18,_0xa55e2d){const _0x5a1239=a3_0xa27150;this[_0x5a1239(0xbf)]=new blocklisting_patterns_1[(_0x5a1239(0xad))](_0x29a9c1),this[_0x5a1239(0xb8)]=new blocklisting_patterns_1[(_0x5a1239(0xad))](_0x3e4f18),this[_0x5a1239(0xc4)]=_0xa55e2d;}['shouldBlock'](_0x193a61){const _0x48ad3e=a3_0xa27150;_0x193a61=this[_0x48ad3e(0xb2)](_0x193a61);if(this[_0x48ad3e(0xb8)]['matches'](_0x193a61))return![];return this[_0x48ad3e(0xbf)]['matches'](_0x193a61);}[a3_0xa27150(0xb2)](_0x17dc70){const _0x24fd69=a3_0xa27150;if(utils[_0x24fd69(0xb1)](_0x17dc70,this[_0x24fd69(0xc4)]))return utils[_0x24fd69(0xb3)](_0x17dc70,this['config']);return _0x17dc70;}}exports['PatternsBlocklistManager']=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x286f2b=a4_0x2740;(function(_0x119d42,_0x5346fd){const _0x2b04fc=a4_0x2740,_0x4c6214=_0x119d42();while(!![]){try{const _0x57215d=-parseInt(_0x2b04fc(0x1ff))/0x1*(-parseInt(_0x2b04fc(0x209))/0x2)+parseInt(_0x2b04fc(0x20f))/0x3+-parseInt(_0x2b04fc(0x1f5))/0x4+-parseInt(_0x2b04fc(0x1f3))/0x5+-parseInt(_0x2b04fc(0x20b))/0x6+-parseInt(_0x2b04fc(0x206))/0x7*(parseInt(_0x2b04fc(0x218))/0x8)+parseInt(_0x2b04fc(0x208))/0x9;if(_0x57215d===_0x5346fd)break;else _0x4c6214['push'](_0x4c6214['shift']());}catch(_0x401919){_0x4c6214['push'](_0x4c6214['shift']());}}}(a4_0x4cf1,0xd2ee0));function a4_0x2740(_0x574e4f,_0x35e01a){const _0x15c4f6=a4_0x4cf1();return a4_0x2740=function(_0x385bb8,_0xf4880a){_0x385bb8=_0x385bb8-0x1ea;let _0x4cf1b1=_0x15c4f6[_0x385bb8];return _0x4cf1b1;},a4_0x2740(_0x574e4f,_0x35e01a);}function a4_0x4cf1(){const _0x134674=['1617658fOhGGg','tmpdir','23676183stFlwv','61582ArdxgI','warn','8819880bCxeqY','Production','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','agentConfigFile','3534534SBdduR','cwd','number','DOESN\x27T\x20EXIST','boolean','shape','logMainConfigParams','errors','search','24ZyOAYs','toString','array','debug','length','info','agent.config','defineProperty','yup','error','lightrunSecret','8211395CXzTgv','none','2715624wSGWWL',',\x20\x20\x20the\x20file\x20','defaultConfig','(((.+)+)+)+$','oneOf','forEach','object','set','constructor','exists','50YiEkHs','existsSync','string','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','apply','configSchema'];a4_0x4cf1=function(){return _0x134674;};return a4_0x4cf1();}const a4_0xf4880a=(function(){let _0x171c7a=!![];return function(_0x74e3e9,_0x553d03){const _0x35e522=_0x171c7a?function(){const _0x59e544=a4_0x2740;if(_0x553d03){const _0x5b16dc=_0x553d03[_0x59e544(0x204)](_0x74e3e9,arguments);return _0x553d03=null,_0x5b16dc;}}:function(){};return _0x171c7a=![],_0x35e522;};}()),a4_0x385bb8=a4_0xf4880a(this,function(){const _0x24a123=a4_0x2740;return a4_0x385bb8[_0x24a123(0x219)]()[_0x24a123(0x217)](_0x24a123(0x1f8))['toString']()[_0x24a123(0x1fd)](a4_0x385bb8)[_0x24a123(0x217)](_0x24a123(0x1f8));});a4_0x385bb8();'use strict';Object[a4_0x286f2b(0x1ef)](exports,'__esModule',{'value':!![]}),exports[a4_0x286f2b(0x215)]=exports[a4_0x286f2b(0x1f7)]=exports[a4_0x286f2b(0x205)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x286f2b(0x1f0));exports[a4_0x286f2b(0x205)]=(0x0,yup_1['object'])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x286f2b(0x211)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x286f2b(0x211)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x286f2b(0x211)])(),'capture':(0x0,yup_1[a4_0x286f2b(0x1fb)])()['shape']({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxExpandFrames':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxProperties':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxVariableDepth':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxWatchProperties':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxDataSize':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxStringLength':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x286f2b(0x211)])()}),'internal':(0x0,yup_1[a4_0x286f2b(0x1fb)])()[a4_0x286f2b(0x214)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1['number'])()}),'forceNewAgent_':(0x0,yup_1[a4_0x286f2b(0x213)])(),'testMode_':(0x0,yup_1[a4_0x286f2b(0x213)])(),'apiEndpoint':(0x0,yup_1[a4_0x286f2b(0x201)])(),'lightrunSecret':(0x0,yup_1[a4_0x286f2b(0x201)])(),'agentLog':(0x0,yup_1[a4_0x286f2b(0x1fb)])()['shape']({'agentLogTargetDir':(0x0,yup_1[a4_0x286f2b(0x201)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x286f2b(0x211)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x286f2b(0x211)])(),'agentLogLevel':(0x0,yup_1[a4_0x286f2b(0x201)])()[a4_0x286f2b(0x1f9)]([a4_0x286f2b(0x1eb),a4_0x286f2b(0x1ed),'warn','error']),'stdErrThreshold':(0x0,yup_1['string'])()[a4_0x286f2b(0x1f9)]([a4_0x286f2b(0x1eb),a4_0x286f2b(0x1ed),a4_0x286f2b(0x20a),a4_0x286f2b(0x1f1),a4_0x286f2b(0x1f4)]),'collectCooldownMs':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x286f2b(0x1ea)])()['of']((0x0,yup_1[a4_0x286f2b(0x201)])()),'noCheckCertificate':(0x0,yup_1[a4_0x286f2b(0x213)])(),'caPath':(0x0,yup_1[a4_0x286f2b(0x201)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x286f2b(0x211)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x286f2b(0x211)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x286f2b(0x211)])(),'quota':(0x0,yup_1['object'])()[a4_0x286f2b(0x214)]({'maxConditionCost':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxCPUCost':(0x0,yup_1[a4_0x286f2b(0x211)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x286f2b(0x211)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x286f2b(0x211)])()}),'agentConfigFile':(0x0,yup_1[a4_0x286f2b(0x201)])(),'fetchBreakpointsOnce':(0x0,yup_1['boolean'])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x286f2b(0x211)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x286f2b(0x213)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x286f2b(0x211)])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x286f2b(0x201)])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1['object'])()['shape']({'host':(0x0,yup_1[a4_0x286f2b(0x201)])(),'port':(0x0,yup_1['number'])(),'username':(0x0,yup_1[a4_0x286f2b(0x201)])(),'password':(0x0,yup_1[a4_0x286f2b(0x201)])()})}),exports[a4_0x286f2b(0x1f7)]={'workingDirectory':process[a4_0x286f2b(0x210)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':['.js'],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'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[a4_0x286f2b(0x207)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x286f2b(0x1ed),'stdErrThreshold':a4_0x286f2b(0x1f4),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x286f2b(0x203),a4_0x286f2b(0x20d)],'noCheckCertificate':![],'caPath':a4_0x286f2b(0x202),'metadata':{'registration':{'tags':[a4_0x286f2b(0x20c)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x286f2b(0x1ee),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x78e3b2,_0x3f1560)=>{const _0x3044c7=a4_0x286f2b,_0x1d0148=Object['values'](_0x78e3b2?.[_0x3044c7(0x216)]??[]);_0x1d0148[_0x3044c7(0x1ec)]&&_0x1d0148[_0x3044c7(0x1fa)](_0x5ee2db=>{const _0x314d64=_0x3044c7;_0x3f1560[_0x314d64(0x1f1)](_0x5ee2db);});};function logMainConfigParams(_0x1e846b,_0x27431d){const _0x3fcf07=a4_0x286f2b;let _0x55dd63=_0x1e846b[_0x3fcf07(0x20e)];_0x55dd63?_0x55dd63+=_0x3fcf07(0x1f6)+((0x0,fs_1[_0x3fcf07(0x200)])(_0x1e846b['agentConfigFile'])?_0x3fcf07(0x1fe):_0x3fcf07(0x212)):_0x55dd63='not\x20set!';const _0x33817f={..._0x1e846b,'lightrunSecret':_0x1e846b[_0x3fcf07(0x1f2)]?_0x3fcf07(0x1fc):'!!!\x20NOT\x20SET\x20!!!','agentConfigFile':_0x55dd63};_0x27431d[_0x3fcf07(0x1eb)]('Agent\x20Configuration:\x20',_0x33817f),logConfigErrors(_0x1e846b,_0x27431d);}exports[a4_0x286f2b(0x215)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x31cc5a=a5_0x4bd7;function a5_0x4bd7(_0x1f1e1a,_0x5c2d16){var _0x593f7d=a5_0x31ad();return a5_0x4bd7=function(_0x4a20fb,_0x5a6478){_0x4a20fb=_0x4a20fb-0x1e1;var _0x31ad6c=_0x593f7d[_0x4a20fb];return _0x31ad6c;},a5_0x4bd7(_0x1f1e1a,_0x5c2d16);}(function(_0x209548,_0x2fc37b){var _0x491cbb=a5_0x4bd7,_0x8e957d=_0x209548();while(!![]){try{var _0x5e5218=parseInt(_0x491cbb(0x1e7))/0x1+-parseInt(_0x491cbb(0x1fb))/0x2*(parseInt(_0x491cbb(0x1e4))/0x3)+parseInt(_0x491cbb(0x1fa))/0x4+-parseInt(_0x491cbb(0x1fc))/0x5*(-parseInt(_0x491cbb(0x1f1))/0x6)+parseInt(_0x491cbb(0x1e3))/0x7+-parseInt(_0x491cbb(0x1f8))/0x8*(parseInt(_0x491cbb(0x1e8))/0x9)+parseInt(_0x491cbb(0x1ef))/0xa*(parseInt(_0x491cbb(0x1f9))/0xb);if(_0x5e5218===_0x2fc37b)break;else _0x8e957d['push'](_0x8e957d['shift']());}catch(_0x308868){_0x8e957d['push'](_0x8e957d['shift']());}}}(a5_0x31ad,0x31277));function a5_0x31ad(){var _0x294a5c=['11caSMMb','628212pzpBjs','28554nGdNNE','667465YgPvke','(((.+)+)+)+$','maxProperties','681142QwYIZy','15IqDfcL','getMaxProperties','maxVariableSize','123870QLZHZK','27TVFniU','getMaxSnapshotBufferSize','capture','maxWatchProperties','defineProperty','resolvedDebugAgentConfig','getMaxVariableSize','1107230EazsLz','maxDataSize','6PJrtPP','maxWatchListVariableSize','maxStringLength','apply','__esModule','toString','ConfigurationProvider','932600PRfQjg'];a5_0x31ad=function(){return _0x294a5c;};return a5_0x31ad();}var a5_0x5a6478=(function(){var _0x459f94=!![];return function(_0x10f54c,_0x54cada){var _0x4ff68c=_0x459f94?function(){var _0x492cd2=a5_0x4bd7;if(_0x54cada){var _0x39d056=_0x54cada[_0x492cd2(0x1f4)](_0x10f54c,arguments);return _0x54cada=null,_0x39d056;}}:function(){};return _0x459f94=![],_0x4ff68c;};}()),a5_0x4a20fb=a5_0x5a6478(this,function(){var _0x3da2ca=a5_0x4bd7;return a5_0x4a20fb[_0x3da2ca(0x1f6)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a5_0x4a20fb)['search'](_0x3da2ca(0x1e1));});a5_0x4a20fb();'use strict';Object[a5_0x31cc5a(0x1ec)](exports,a5_0x31cc5a(0x1f5),{'value':!![]}),exports[a5_0x31cc5a(0x1f7)]=void 0x0;class ConfigurationProvider{constructor(_0x5eb486){this['resolvedDebugAgentConfig']=_0x5eb486;}[a5_0x31cc5a(0x1ee)](){var _0x31184a=a5_0x31cc5a;return this[_0x31184a(0x1ed)][_0x31184a(0x1ea)][_0x31184a(0x1f3)]||this[_0x31184a(0x1ed)][_0x31184a(0x1ea)][_0x31184a(0x1e6)];}['getMaxWatchListVariableSize'](){var _0x3c6856=a5_0x31cc5a;return this[_0x3c6856(0x1ed)][_0x3c6856(0x1ea)][_0x3c6856(0x1f2)];}[a5_0x31cc5a(0x1e9)](){var _0x4e9df0=a5_0x31cc5a;return this[_0x4e9df0(0x1ed)][_0x4e9df0(0x1ea)][_0x4e9df0(0x1f0)]||this[_0x4e9df0(0x1ed)][_0x4e9df0(0x1ea)]['maxSnapshotBufferSize'];}[a5_0x31cc5a(0x1e5)](_0x30f96e){var _0x28b334=a5_0x31cc5a;return _0x30f96e?this[_0x28b334(0x1ed)][_0x28b334(0x1ea)][_0x28b334(0x1eb)]:this[_0x28b334(0x1ed)]['capture'][_0x28b334(0x1e2)];}}exports[a5_0x31cc5a(0x1f7)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x4a35(){const _0xccda38=['587084wwImFm','push',',\x20Message:\x20','8pxbyvu','POST','finally','21870MSybDK','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','map','should\x20have\x20a\x20registered\x20debuggee','transmissionBulkMaxSize','transmissionTimeout','listBreakpoints','crypto','memory-streams','breakpoint\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20','Compressing\x20and\x20sending\x20log\x20file\x20','@google-cloud/common','warn','https','toString','1751286nyegXi','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','shift','transmissionQueue','context','cancel','floor','Controller','3991421RDFTCx','assert','/blacklist?successOnTimeout=true','transmitBreakpointUpdates','nextWaitToken','Getting\x20reductions','reject','WritableStream','toBuffer','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','axios','update','\x20Error:\x20','agentLog','1107279MGcPFg','hex','collectCooldownMs','now','transmissionBulkMaxNetworkSizeInBytes','sendBreakpointLogsToServer','Getting\x20blocklist','search','zlib','debuggee','serializedJson','status','secureContext','https://','ascii','data','(((.+)+)+)+$','CancelToken','\x20size\x20is\x20','\x20for\x20request\x20id\x20','/appOnlyActionHits/','stream','\x22\x20-\x20ignoring\x20it','sendAppOnlyBreakpointHitsToServer','enqueueBreakpointUpdate','__esModule','PUT','bind','\x20for\x20request\x20','invalid\x20response\x20body\x20from\x20server','getRedactions','\x20transmitted\x20successfully','Successfully\x20sent\x20log\x20file\x20','apply','max','breakpointId:\x20','/redaction','clearTransmissionTimeout','322821lajpuQ','debug','error','/breakpoints','request','host','logger','length','2wjFRMa','caPath','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','https-proxy-agent','lastLogCollectionTime','register','number','config','lightrunSecret','uri','defineProperty','createSecureContext','response','default','source','application/json','Using\x20proxy\x20configuration:\x20','/controller','constructor','unable\x20to\x20register,\x20status\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','includes','20qBOmpI','maxLogFileBytes','timeout\x20set\x20to\x20','stringify','\x20finished\x20with\x20status\x20','info','7117dOdYoX','742379ggdHdc','getBlocklist','then','/deregister/','size','Failed\x20to\x20zip\x20','callback','pubkey','createHash','pinnedCerts','makeRequest','getJsonStringSizeInBytes','apiEndpoint',',\x20sending\x20only\x20one','token','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','message','Agent','addCACert','proxy',',\x20username:\x20','transmissionHardMaxNetworkSizeLimitInBytes','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','port','Failed\x20to\x20send\x20log\x20file\x20','unknown\x20error\x20-\x20request\x20response\x20missing','Deregister\x20agent\x20before\x20shutdown','apiUrl','Timeout\x20occurred\x20after\x20','password','tls','method','Update\x20for\x20breakpoints\x20','extend','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','username','Transmitting\x20breakpoint\x20updates...','js-yaml'];a6_0x4a35=function(){return _0xccda38;};return a6_0x4a35();}const a6_0x53bd9d=a6_0x5a88;(function(_0x4f3169,_0xeae56e){const _0x407b4a=a6_0x5a88,_0x4d3b65=_0x4f3169();while(!![]){try{const _0x92cec9=parseInt(_0x407b4a(0x15b))/0x1*(-parseInt(_0x407b4a(0x1dc))/0x2)+-parseInt(_0x407b4a(0x1ae))/0x3+-parseInt(_0x407b4a(0x182))/0x4+parseInt(_0x407b4a(0x154))/0x5*(parseInt(_0x407b4a(0x198))/0x6)+parseInt(_0x407b4a(0x1a0))/0x7*(-parseInt(_0x407b4a(0x185))/0x8)+parseInt(_0x407b4a(0x1d4))/0x9+parseInt(_0x407b4a(0x188))/0xa*(parseInt(_0x407b4a(0x15a))/0xb);if(_0x92cec9===_0xeae56e)break;else _0x4d3b65['push'](_0x4d3b65['shift']());}catch(_0x46a293){_0x4d3b65['push'](_0x4d3b65['shift']());}}}(a6_0x4a35,0xc0db0));const a6_0x29a7e9=(function(){let _0x32f36d=!![];return function(_0xab4db2,_0x3a14dd){const _0x14aa5a=_0x32f36d?function(){const _0x411c2f=a6_0x5a88;if(_0x3a14dd){const _0x3206aa=_0x3a14dd[_0x411c2f(0x1cf)](_0xab4db2,arguments);return _0x3a14dd=null,_0x3206aa;}}:function(){};return _0x32f36d=![],_0x14aa5a;};}()),a6_0x524af4=a6_0x29a7e9(this,function(){const _0x3514a=a6_0x5a88;return a6_0x524af4[_0x3514a(0x197)]()[_0x3514a(0x1b5)](_0x3514a(0x1be))[_0x3514a(0x197)]()[_0x3514a(0x150)](a6_0x524af4)[_0x3514a(0x1b5)](_0x3514a(0x1be));});a6_0x524af4();'use strict';function a6_0x5a88(_0x85a268,_0x4bc3f2){const _0xbfdbba=a6_0x4a35();return a6_0x5a88=function(_0x524af4,_0x29a7e9){_0x524af4=_0x524af4-0x14e;let _0x4a35ed=_0xbfdbba[_0x524af4];return _0x4a35ed;},a6_0x5a88(_0x85a268,_0x4bc3f2);}Object[a6_0x53bd9d(0x1e6)](exports,a6_0x53bd9d(0x1c7),{'value':!![]}),exports[a6_0x53bd9d(0x19f)]=void 0x0;const common_1=require(a6_0x53bd9d(0x194)),assert=require(a6_0x53bd9d(0x1a1)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require(a6_0x53bd9d(0x18f)),zlib_1=require(a6_0x53bd9d(0x1b6)),stream_1=require(a6_0x53bd9d(0x1c3)),memory_streams_1=require(a6_0x53bd9d(0x190)),tls_1=require(a6_0x53bd9d(0x17a)),extend=require(a6_0x53bd9d(0x17d)),axios_1=require('axios'),https=require(a6_0x53bd9d(0x196)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x53bd9d(0x1df)),yaml=require(a6_0x53bd9d(0x181)),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(_0x17a12c,_0x3fbdbc,_0x3d55aa){const _0x225e7d=a6_0x53bd9d;super({'parent':_0x17a12c,'baseUrl':_0x225e7d(0x14f)}),this['nextWaitToken']=null,this[_0x225e7d(0x1e3)]=_0x3fbdbc,this['transmissionQueue']=[],this[_0x225e7d(0x1da)]=_0x3d55aa,this[_0x225e7d(0x177)]=_0x225e7d(0x1bb)+_0x3fbdbc[_0x225e7d(0x167)]+'/debuggees/',this['axios']=axios_1[_0x225e7d(0x1e9)]['create']({'httpsAgent':getProxyAgent(_0x3fbdbc,_0x3d55aa)??new https[(_0x225e7d(0x16c))](getHttpsAgentOptions(_0x3fbdbc,_0x3d55aa)),'proxy':![]});}[a6_0x53bd9d(0x1e1)](_0x1afef6,_0x2d5035){const _0x5e4923=a6_0x53bd9d,_0x11ea9c={'uri':this[_0x5e4923(0x177)]+_0x5e4923(0x1e1),'method':_0x5e4923(0x186),'json':!![],'body':{'debuggee':_0x1afef6}};this[_0x5e4923(0x165)](_0x11ea9c,(_0xc59589,_0xc879b3,_0x4174e7)=>{const _0x31446e=_0x5e4923;if(!_0x4174e7)_0x2d5035(_0xc59589||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0xc59589){let _0x3e1cbf=![];_0x4174e7[_0x31446e(0x1b9)]===HTTP_UPGRADE_REQUIRED&&_0xc879b3&&(_0xc879b3[_0x31446e(0x16b)]!==undefined&&(_0xc59589['message']=_0xc879b3[_0x31446e(0x16b)]),_0x1afef6['id']=_0xc879b3[_0x31446e(0x1b7)]['id'],_0x3e1cbf=!![]),_0x2d5035(_0xc59589,_0xc879b3,_0x3e1cbf);}else{if(_0x4174e7['status']!==HTTP_SUCCESS)_0x2d5035(new Error(_0x31446e(0x151)+_0x4174e7['status']));else!_0xc879b3?.[_0x31446e(0x1b7)]?_0x2d5035(new Error(_0x31446e(0x1cb))):(_0x1afef6['id']=_0xc879b3[_0x31446e(0x1b7)]['id'],_0x2d5035(null,_0xc879b3));}}});}[a6_0x53bd9d(0x18e)](_0x66d3d8,_0x35160e,_0x354a48){const _0x216b63=a6_0x53bd9d,_0xe0b6c5=this;assert(_0x66d3d8['id'],_0x216b63(0x18b));const _0x3bc55f={'successOnTimeout':!![]};_0xe0b6c5['nextWaitToken']&&(_0x3bc55f['waitToken']=_0xe0b6c5[_0x216b63(0x1a4)]);const _0x3b941e=this[_0x216b63(0x177)]+encodeURIComponent(_0x66d3d8['id'])+'/breakpoints?'+qs[_0x216b63(0x157)](_0x3bc55f);_0xe0b6c5[_0x216b63(0x165)]({'uri':_0x3b941e,'json':!![]},(_0x428528,_0x57ee5a,_0x332be3)=>{const _0x33228f=_0x216b63;if(!_0x332be3){_0x35160e(_0x428528||new Error(_0x33228f(0x175)));return;}else{if(!is2xx(_0x332be3[_0x33228f(0x1b9)])){_0x35160e(new Error(_0x33228f(0x189)+_0x332be3[_0x33228f(0x1b9)]),_0x332be3);return;}else _0x57ee5a&&(_0xe0b6c5['nextWaitToken']=_0x57ee5a[_0x33228f(0x1a4)]),_0x35160e(null,_0x332be3,_0x57ee5a);}},_0x354a48);}[a6_0x53bd9d(0x1c6)](_0x117cf8,_0x2ac582){const _0x180af5=a6_0x53bd9d;assert(_0x117cf8['id'],_0x180af5(0x18b));try{const _0x2b21e0=JSON[_0x180af5(0x157)](_0x2ac582),_0x52a436=(0x0,utils_1[_0x180af5(0x166)])(_0x2b21e0);if(_0x52a436>=this['config'][_0x180af5(0x170)]){this[_0x180af5(0x1da)][_0x180af5(0x195)](_0x180af5(0x1d1)+_0x2ac582['id']+_0x180af5(0x1c0)+_0x52a436+_0x180af5(0x17e)+this[_0x180af5(0x1e3)][_0x180af5(0x170)]);return;}this['transmissionQueue']['push']({'id':_0x2ac582['id'],'serializedJson':_0x2b21e0,'number':0x0});if(!this[_0x180af5(0x18d)]){const _0x24be05=this;this['transmissionTimeout']=setTimeout(()=>_0x24be05[_0x180af5(0x1a3)][_0x180af5(0x1c9)](_0x24be05)(_0x117cf8['id']),0x0);}}catch(_0x3aa878){this[_0x180af5(0x1da)][_0x180af5(0x1d6)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x2ac582['id']+'\x20and\x20enqueue\x20to\x20queue',_0x3aa878);return;}}[a6_0x53bd9d(0x1d3)](){const _0x273218=a6_0x53bd9d;if(!this[_0x273218(0x18d)])return;clearTimeout(this[_0x273218(0x18d)]),this[_0x273218(0x18d)]=null;}['deregister'](_0xf4d00,_0x4774f4){const _0x4f09c4=a6_0x53bd9d,_0x250d00=this[_0x4f09c4(0x177)]+encodeURIComponent(_0xf4d00['id'])+_0x4f09c4(0x15e),_0x367e8a={'uri':_0x250d00,'method':_0x4f09c4(0x186),'json':!![]};this[_0x4f09c4(0x1da)]['info'](_0x4f09c4(0x176)),this[_0x4f09c4(0x165)](_0x367e8a,(_0x1bd3fe,_0xa11ec8,_0x352af6)=>{const _0x9ad8c1=_0x4f09c4;(!_0x352af6||Math['floor'](_0x352af6[_0x9ad8c1(0x1b9)]/0x64)!==0x2)&&this[_0x9ad8c1(0x1da)][_0x9ad8c1(0x195)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x1bd3fe),_0x4774f4(_0x1bd3fe);});}[a6_0x53bd9d(0x1b3)](_0x31a52e,_0x16458c,_0x1f1b5f){const _0x521f1c=a6_0x53bd9d,_0x5a4657=this['apiUrl']+encodeURIComponent(_0x31a52e['id'])+'/log/',_0x4f4a9c={'uri':_0x5a4657,'method':'POST','json':!![],'body':_0x16458c};this[_0x521f1c(0x165)](_0x4f4a9c,(_0x547ea6,_0x4bd00a,_0x605033)=>{const _0x125d53=_0x521f1c;(!_0x605033||Math[_0x125d53(0x19e)](_0x605033[_0x125d53(0x1b9)]/0x64)!==0x2)&&(this['logger'][_0x125d53(0x195)](_0x125d53(0x171)+_0x547ea6),_0x1f1b5f(_0x547ea6));});}[a6_0x53bd9d(0x1c5)](_0x908428,_0x39d1d0,_0x58999d){const _0x241cd0=a6_0x53bd9d,_0xf80e7a=this[_0x241cd0(0x177)]+encodeURIComponent(_0x908428['id'])+_0x241cd0(0x1c2),_0x10f814={'uri':_0xf80e7a,'method':_0x241cd0(0x186),'json':!![],'body':_0x39d1d0};this[_0x241cd0(0x165)](_0x10f814,(_0x774089,_0x5a82f6,_0x22ed5)=>{const _0x1298c0=_0x241cd0;(!_0x22ed5||Math[_0x1298c0(0x19e)](_0x22ed5[_0x1298c0(0x1b9)]/0x64)!==0x2)&&(this['logger'][_0x1298c0(0x195)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x774089),_0x58999d(_0x774089));});}['sendAgentLogsToServer'](_0x2bed7c,_0x2162e2,_0x367d1f){const _0x22d98a=a6_0x53bd9d;assert(_0x2bed7c['id'],_0x22d98a(0x18b));if(this[_0x22d98a(0x1e0)]){const _0x255dc0=Date[_0x22d98a(0x1b1)](),_0x33baaa=this[_0x22d98a(0x1e0)]+this[_0x22d98a(0x1e3)][_0x22d98a(0x1ad)][_0x22d98a(0x1b0)];if(_0x255dc0<_0x33baaa){this[_0x22d98a(0x1da)]['info']('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x33baaa-_0x255dc0)/0x3e8+'\x20seconds'));return;}}const _0x139048=(0x0,fs_1['statSync'])(_0x367d1f)[_0x22d98a(0x15f)],_0x558474=Math[_0x22d98a(0x1d0)](0x0,_0x139048-this[_0x22d98a(0x1e3)][_0x22d98a(0x1ad)][_0x22d98a(0x155)]),_0x7693e5=(0x0,fs_1['createReadStream'])(_0x367d1f,{'start':_0x558474}),_0x14e362=(0x0,zlib_1['createGzip'])(),_0x4d015d=new memory_streams_1[(_0x22d98a(0x1a7))](),_0x4a0669=this;_0x4a0669[_0x22d98a(0x1da)][_0x22d98a(0x159)](_0x22d98a(0x193)+_0x367d1f+_0x22d98a(0x1c1)+_0x2162e2),(0x0,stream_1['pipeline'])(_0x7693e5,_0x14e362,_0x4d015d,_0x496032=>{const _0x327339=_0x22d98a;if(_0x496032)_0x4a0669[_0x327339(0x1da)][_0x327339(0x1d6)](_0x327339(0x160)+_0x367d1f+':\x20'+_0x496032);else{const _0x2d13ed={'uri':this[_0x327339(0x177)]+encodeURIComponent(_0x2bed7c['id'])+'/compressedLogFile/'+_0x2162e2,'method':_0x327339(0x1c8),'body':_0x4d015d[_0x327339(0x1a8)]()};_0x4a0669[_0x327339(0x165)](_0x2d13ed,_0x32c4d6=>{const _0x161a82=_0x327339;_0x32c4d6?_0x4a0669[_0x161a82(0x1da)][_0x161a82(0x1d6)](_0x161a82(0x174)+_0x367d1f+_0x161a82(0x1ca)+_0x2162e2,_0x32c4d6):(_0x4a0669[_0x161a82(0x1da)][_0x161a82(0x159)](_0x161a82(0x1ce)+_0x367d1f+_0x161a82(0x1ca)+_0x2162e2),_0x4a0669[_0x161a82(0x1e0)]=Date[_0x161a82(0x1b1)]());});}});}['transmitBreakpointUpdates'](_0x2aede9){const _0x74007b=a6_0x53bd9d;this[_0x74007b(0x1da)][_0x74007b(0x1d5)](_0x74007b(0x180)),this[_0x74007b(0x18d)]=undefined;const _0x29db78=[];let _0xe69f74=0x0;while(_0x29db78[_0x74007b(0x1db)]<this['config'][_0x74007b(0x18c)]&&this['transmissionQueue'][_0x74007b(0x1db)]>0x0){const _0x5b0854=this[_0x74007b(0x19b)][0x0],_0x3f21de=_0x5b0854[_0x74007b(0x1b8)],_0x4ff3ac=(0x0,utils_1[_0x74007b(0x166)])(_0x3f21de);_0xe69f74+=_0x4ff3ac;if(_0xe69f74<=this[_0x74007b(0x1e3)]['transmissionBulkMaxNetworkSizeInBytes'])_0x29db78[_0x74007b(0x183)](_0x5b0854),this['transmissionQueue'][_0x74007b(0x19a)]();else{_0x4ff3ac>this[_0x74007b(0x1e3)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x29db78[_0x74007b(0x1db)]===0x0&&(this[_0x74007b(0x1da)][_0x74007b(0x1d5)](_0x74007b(0x191)+_0x5b0854['id']+_0x74007b(0x192)+this[_0x74007b(0x1e3)][_0x74007b(0x1b2)]+_0x74007b(0x168)),_0x29db78['push'](_0x5b0854),this[_0x74007b(0x19b)][_0x74007b(0x19a)]());break;}}if(!_0x29db78)return;const _0x5652f0=_0x29db78[_0x74007b(0x18a)](_0x31c41c=>_0x31c41c['id']),_0x31e5c1={'uri':this['apiUrl']+encodeURIComponent(_0x2aede9)+_0x74007b(0x1d7),'json':!![],'method':_0x74007b(0x1c8),'body':'['+_0x29db78[_0x74007b(0x18a)](_0x391c15=>_0x391c15[_0x74007b(0x1b8)])['join'](',')+']'},_0x23bb66=this;try{this[_0x74007b(0x165)](_0x31e5c1,(_0x1f741c,_0x583b8b,_0x22d3b7)=>{const _0x5802ae=_0x74007b,_0x319dca=_0x22d3b7?.[_0x5802ae(0x1b9)];_0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x1d5)](_0x5802ae(0x17c)+_0x5652f0+_0x5802ae(0x158)+_0x319dca);if(_0x1f741c||!_0x319dca||Math[_0x5802ae(0x19e)](_0x319dca/0x64)!==0x2){const _0x92536f=_0x319dca&&(_0x319dca>=0x1f4||_0x319dca===0x198);if(_0x92536f){_0x23bb66['logger'][_0x5802ae(0x195)](_0x5802ae(0x172)+_0x5652f0+_0x5802ae(0x199)+_0x319dca+_0x5802ae(0x1ac)+_0x1f741c);for(const _0x30cf23 of _0x29db78){_0x30cf23[_0x5802ae(0x1e2)]<MAX_FAILED_SEND_ATTEMPTS?_0x23bb66[_0x5802ae(0x19b)]['push']({..._0x30cf23,'number':_0x30cf23[_0x5802ae(0x1e2)]+0x1}):_0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x195)]('Breakpoint\x20'+_0x30cf23['id']+_0x5802ae(0x1de));}}else _0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x195)](_0x5802ae(0x16a)+_0x5652f0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x319dca+'\x20Error:\x20'+_0x1f741c);}else _0x23bb66[_0x5802ae(0x1da)][_0x5802ae(0x159)]('Update\x20for\x20breakpoints\x20'+_0x5652f0+_0x5802ae(0x1cd));_0x23bb66[_0x5802ae(0x19b)]['length']>0x0&&(_0x23bb66[_0x5802ae(0x18d)]=setTimeout(()=>_0x23bb66[_0x5802ae(0x1a3)]['bind'](_0x23bb66)(_0x2aede9),0x0));},0x28);}catch(_0x1014d8){this[_0x74007b(0x1da)][_0x74007b(0x195)](_0x74007b(0x16a)+_0x5652f0+_0x74007b(0x152)+_0x1014d8+_0x74007b(0x184)+_0x1014d8[_0x74007b(0x1bd)]?.[_0x74007b(0x16b)]),_0x23bb66['transmissionQueue'][_0x74007b(0x1db)]>0x0&&(_0x23bb66[_0x74007b(0x18d)]=setTimeout(()=>_0x23bb66[_0x74007b(0x1a3)][_0x74007b(0x1c9)](_0x23bb66)(_0x2aede9),0x0));}}async[a6_0x53bd9d(0x15c)](_0x4143ac){const _0x350b42=a6_0x53bd9d;this['logger'][_0x350b42(0x159)](_0x350b42(0x1b4));const _0x1e1a12=this['apiUrl']+encodeURIComponent(_0x4143ac)+_0x350b42(0x1a2),{error:_0x33eaa3,data:_0x46b4fd}=await this[_0x350b42(0x165)]({'uri':_0x1e1a12,'json':!![]});if(_0x33eaa3)return Promise[_0x350b42(0x1a6)](_0x33eaa3);return yaml['load'](_0x46b4fd)||{};}[a6_0x53bd9d(0x165)](_0x57d236,_0x530970,_0xec2501,_0x4cfe2f){const _0x447c78=a6_0x53bd9d,_0x52a75d={'Content-Type':_0x4cfe2f?_0x4cfe2f:_0x447c78(0x1eb),'Authorization':'Bearer\x20'+this[_0x447c78(0x1e3)][_0x447c78(0x1e4)]},_0x2c98fb=axios_1[_0x447c78(0x1e9)][_0x447c78(0x1bf)][_0x447c78(0x1ea)](),_0x28c6d0=_0xec2501?_0xec2501*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x447c78(0x1da)][_0x447c78(0x1d5)](_0x447c78(0x156)+_0x28c6d0);const _0x353a34=setTimeout(()=>{const _0x4cc2cd=_0x447c78;this[_0x4cc2cd(0x1da)][_0x4cc2cd(0x195)](_0x4cc2cd(0x178)+_0x28c6d0+'ms'),_0x2c98fb[_0x4cc2cd(0x19d)]();},_0x28c6d0),_0x5e83bc={'method':_0x57d236[_0x447c78(0x17b)],'url':_0x57d236[_0x447c78(0x1e5)],'data':_0x57d236['body'],'headers':_0x52a75d,'cancelToken':_0x2c98fb[_0x447c78(0x169)]};return extend(!![],_0x5e83bc,_0x57d236),this[_0x447c78(0x1aa)][_0x447c78(0x1d8)](_0x5e83bc)[_0x447c78(0x15d)](_0x35fb4b=>{const _0x534603=_0x447c78;return _0x530970?.(null,_0x35fb4b[_0x534603(0x1bd)],_0x35fb4b),{'error':null,'data':_0x35fb4b[_0x534603(0x1bd)],'res':_0x35fb4b};})['catch'](_0x2bfc04=>{const _0x1cdbe8=_0x447c78;return _0x530970?.(_0x2bfc04,_0x2bfc04['response']?.[_0x1cdbe8(0x1bd)],_0x2bfc04['response']),{'error':_0x2bfc04,'data':_0x2bfc04[_0x1cdbe8(0x1e8)]?.[_0x1cdbe8(0x1bd)],'res':_0x2bfc04[_0x1cdbe8(0x1e8)]};})[_0x447c78(0x187)](()=>clearTimeout(_0x353a34));}async[a6_0x53bd9d(0x1cc)](_0x2f3903){const _0x25eaca=a6_0x53bd9d;this[_0x25eaca(0x1da)][_0x25eaca(0x159)](_0x25eaca(0x1a5));const _0x4c918f=this[_0x25eaca(0x177)]+encodeURIComponent(_0x2f3903)+_0x25eaca(0x1d2),{error:_0x46691e,data:_0x799dc5}=await this['makeRequest']({'uri':_0x4c918f,'json':!![]});if(_0x46691e)return Promise[_0x25eaca(0x1a6)](_0x46691e);return _0x799dc5;}}exports['Controller']=Controller;function is2xx(_0x539751){return Math['floor'](_0x539751/0x64)===0x2;}function getProxyAgent(_0x287fa3,_0xc11608){const _0x29eec6=a6_0x53bd9d,_0x2b8ccc=_0x287fa3[_0x29eec6(0x16e)];if(!_0x2b8ccc?.[_0x29eec6(0x1d9)])return undefined;if(!_0x2b8ccc['port'])return _0xc11608[_0x29eec6(0x1d6)](_0x29eec6(0x1a9)),undefined;_0xc11608['info'](_0x29eec6(0x14e)+_0x2b8ccc[_0x29eec6(0x1d9)]+':'+_0x2b8ccc[_0x29eec6(0x173)]+_0x29eec6(0x16f)+(_0x2b8ccc[_0x29eec6(0x17f)]??''));const _0x11dc3d=new HttpsProxyAgent({'host':_0x2b8ccc[_0x29eec6(0x1d9)],'port':_0x2b8ccc['port'],'auth':_0x2b8ccc[_0x29eec6(0x17f)]||_0x2b8ccc[_0x29eec6(0x179)]?(_0x2b8ccc[_0x29eec6(0x17f)]??'')+':'+(_0x2b8ccc['password']??''):undefined}),_0x2507d1=_0x11dc3d[_0x29eec6(0x161)][_0x29eec6(0x1c9)](_0x11dc3d),_0x41c8ee=getHttpsAgentOptions(_0x287fa3,_0xc11608);return _0x11dc3d[_0x29eec6(0x161)]=(_0x10d983,_0x2daf75)=>{return _0x2507d1(_0x10d983,{..._0x2daf75,..._0x41c8ee});},_0x11dc3d;}function getHttpsAgentOptions(_0x56a02c,_0x1a4abb){const _0x3c36eb=a6_0x53bd9d,_0x24a262={'checkServerIdentity':(_0x4db970,_0x4406c9)=>{const _0x37e24c=a6_0x5a88;if(_0x56a02c['noCheckCertificate'])return undefined;const _0x4c8f7e=(0x0,crypto_1[_0x37e24c(0x163)])('sha256')[_0x37e24c(0x1ab)](_0x4406c9[_0x37e24c(0x162)])['digest'](_0x37e24c(0x1af));return _0x56a02c[_0x37e24c(0x164)][_0x37e24c(0x153)](_0x4c8f7e)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0x361084;if(_0x56a02c['caPath'])try{_0x361084=(0x0,fs_1['readFileSync'])(_0x56a02c[_0x3c36eb(0x1dd)],_0x3c36eb(0x1bc));}catch(_0x76ad1){_0x1a4abb[_0x3c36eb(0x195)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x56a02c[_0x3c36eb(0x1dd)]+_0x3c36eb(0x1c4));}if(_0x361084){const _0x3aa815=(0x0,tls_1[_0x3c36eb(0x1e7)])(_0x24a262);_0x3aa815[_0x3c36eb(0x19c)][_0x3c36eb(0x16d)](_0x361084),_0x24a262[_0x3c36eb(0x1ba)]=_0x3aa815;}return _0x24a262;}
|
|
1
|
+
const a6_0x2c7d17=a6_0x1fa9;(function(_0x18c7ac,_0x399896){const _0x2f26b6=a6_0x1fa9,_0x2424a7=_0x18c7ac();while(!![]){try{const _0x4f6efb=parseInt(_0x2f26b6(0xc1))/0x1*(-parseInt(_0x2f26b6(0xd8))/0x2)+parseInt(_0x2f26b6(0x124))/0x3+parseInt(_0x2f26b6(0x123))/0x4+-parseInt(_0x2f26b6(0x12c))/0x5*(parseInt(_0x2f26b6(0xf3))/0x6)+parseInt(_0x2f26b6(0x107))/0x7*(-parseInt(_0x2f26b6(0x139))/0x8)+parseInt(_0x2f26b6(0x100))/0x9+parseInt(_0x2f26b6(0x127))/0xa;if(_0x4f6efb===_0x399896)break;else _0x2424a7['push'](_0x2424a7['shift']());}catch(_0x16b2a5){_0x2424a7['push'](_0x2424a7['shift']());}}}(a6_0x2a84,0x613cb));const a6_0x1ea029=(function(){let _0x472c80=!![];return function(_0x507f36,_0x6885b4){const _0x37e913=_0x472c80?function(){const _0x4a7a29=a6_0x1fa9;if(_0x6885b4){const _0x4e6fba=_0x6885b4[_0x4a7a29(0xe6)](_0x507f36,arguments);return _0x6885b4=null,_0x4e6fba;}}:function(){};return _0x472c80=![],_0x37e913;};}()),a6_0x7cfaea=a6_0x1ea029(this,function(){const _0x1ee89b=a6_0x1fa9;return a6_0x7cfaea['toString']()[_0x1ee89b(0x117)]('(((.+)+)+)+$')['toString']()[_0x1ee89b(0xfe)](a6_0x7cfaea)['search'](_0x1ee89b(0x10d));});a6_0x7cfaea();'use strict';Object['defineProperty'](exports,a6_0x2c7d17(0x12a),{'value':!![]}),exports[a6_0x2c7d17(0xe7)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require('assert'),qs=require(a6_0x2c7d17(0xe3)),fs_1=require('fs'),crypto_1=require(a6_0x2c7d17(0x130)),zlib_1=require(a6_0x2c7d17(0xfb)),stream_1=require('stream'),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x2c7d17(0xe1)),extend=require(a6_0x2c7d17(0x119)),axios_1=require('axios'),https=require(a6_0x2c7d17(0x145)),utils_1=require(a6_0x2c7d17(0x120)),HttpsProxyAgent=require(a6_0x2c7d17(0xcc)),yaml=require(a6_0x2c7d17(0x106)),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_0x2c7d17(0x115)]{constructor(_0x5275c5,_0x1883ca,_0x5081c5){const _0x1bda56=a6_0x2c7d17;super({'parent':_0x5275c5,'baseUrl':'/controller'}),this['nextWaitToken']=null,this[_0x1bda56(0xf9)]=_0x1883ca,this['transmissionQueue']=[],this['logger']=_0x5081c5,this[_0x1bda56(0xfc)]=_0x1bda56(0xf6)+_0x1883ca[_0x1bda56(0xcf)]+_0x1bda56(0x10a),this['axios']=axios_1[_0x1bda56(0x135)][_0x1bda56(0x108)]({'httpsAgent':getProxyAgent(_0x1883ca,_0x5081c5)??new https[(_0x1bda56(0x147))](getHttpsAgentOptions(_0x1883ca,_0x5081c5)),'proxy':![]});}['register'](_0x9c104e,_0x2a412c){const _0x478c9c=a6_0x2c7d17,_0x4e147b={'uri':this['apiUrl']+_0x478c9c(0xf5),'method':_0x478c9c(0x143),'json':!![],'body':{'debuggee':_0x9c104e}};this[_0x478c9c(0x140)](_0x4e147b,(_0x35705a,_0x15b174,_0x18b6aa)=>{const _0x1aa9e8=_0x478c9c;if(!_0x18b6aa)_0x2a412c(_0x35705a||new Error(_0x1aa9e8(0x105)));else{if(_0x35705a){let _0x55d743=![];_0x18b6aa['status']===HTTP_UPGRADE_REQUIRED&&_0x15b174&&(_0x15b174[_0x1aa9e8(0xc2)]!==undefined&&(_0x35705a[_0x1aa9e8(0xc2)]=_0x15b174['message']),_0x9c104e['id']=_0x15b174[_0x1aa9e8(0x132)]['id'],_0x55d743=!![]),_0x2a412c(_0x35705a,_0x15b174,_0x55d743);}else{if(_0x18b6aa[_0x1aa9e8(0xd5)]!==HTTP_SUCCESS)_0x2a412c(new Error(_0x1aa9e8(0xc4)+_0x18b6aa[_0x1aa9e8(0xd5)]));else!_0x15b174?.['debuggee']?_0x2a412c(new Error(_0x1aa9e8(0xbd))):(_0x9c104e['id']=_0x15b174[_0x1aa9e8(0x132)]['id'],_0x2a412c(null,_0x15b174));}}});}['listBreakpoints'](_0x2c9af1,_0x48a178,_0x346b42){const _0x5cddc9=a6_0x2c7d17,_0x197939=this;assert(_0x2c9af1['id'],_0x5cddc9(0xef));const _0x45b9c5={'successOnTimeout':!![]};_0x197939[_0x5cddc9(0x144)]&&(_0x45b9c5[_0x5cddc9(0xc8)]=_0x197939[_0x5cddc9(0x144)]);const _0x248179=this[_0x5cddc9(0xfc)]+encodeURIComponent(_0x2c9af1['id'])+_0x5cddc9(0x11f)+qs[_0x5cddc9(0xc9)](_0x45b9c5);_0x197939[_0x5cddc9(0x140)]({'uri':_0x248179,'json':!![]},(_0x477601,_0x57ab89,_0x14eda5)=>{const _0xaec138=_0x5cddc9;if(!_0x14eda5){_0x48a178(_0x477601||new Error(_0xaec138(0x105)));return;}else{if(!is2xx(_0x14eda5[_0xaec138(0xd5)])){_0x48a178(new Error(_0xaec138(0xba)+_0x14eda5['status']),_0x14eda5);return;}else _0x57ab89&&(_0x197939['nextWaitToken']=_0x57ab89[_0xaec138(0x144)]),_0x48a178(null,_0x14eda5,_0x57ab89);}},_0x346b42);}[a6_0x2c7d17(0x14d)](_0x517472,_0x86db5b){const _0x906bf3=a6_0x2c7d17;assert(_0x517472['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x2d38cc=JSON['stringify'](_0x86db5b),_0x521559=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x2d38cc);if(_0x521559>=this[_0x906bf3(0xf9)][_0x906bf3(0x10b)]){this[_0x906bf3(0x137)][_0x906bf3(0xdc)](_0x906bf3(0x13f)+_0x86db5b['id']+_0x906bf3(0xd3)+_0x521559+_0x906bf3(0x12d)+this[_0x906bf3(0xf9)][_0x906bf3(0x10b)]);return;}this[_0x906bf3(0x13d)][_0x906bf3(0xf1)]({'id':_0x86db5b['id'],'serializedJson':_0x2d38cc,'number':0x0});if(!this[_0x906bf3(0xd1)]){const _0x4999f9=this;this['transmissionTimeout']=setTimeout(()=>_0x4999f9[_0x906bf3(0x110)]['bind'](_0x4999f9)(_0x517472['id']),0x0);}}catch(_0x436947){this[_0x906bf3(0x137)][_0x906bf3(0x13c)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x86db5b['id']+_0x906bf3(0xdd),_0x436947);return;}}[a6_0x2c7d17(0xb9)](){const _0x168b54=a6_0x2c7d17;if(!this[_0x168b54(0xd1)])return;clearTimeout(this[_0x168b54(0xd1)]),this[_0x168b54(0xd1)]=null;}['deregister'](_0x2dfa6c,_0x12128a){const _0x2f384d=a6_0x2c7d17,_0x166889=this[_0x2f384d(0xfc)]+encodeURIComponent(_0x2dfa6c['id'])+_0x2f384d(0x149),_0x3e6741={'uri':_0x166889,'method':_0x2f384d(0x143),'json':!![]};this['logger']['info'](_0x2f384d(0xd0)),this[_0x2f384d(0x140)](_0x3e6741,(_0x309840,_0x3cdace,_0x42eb40)=>{const _0x49a526=_0x2f384d;(!_0x42eb40||Math[_0x49a526(0x14a)](_0x42eb40[_0x49a526(0xd5)]/0x64)!==0x2)&&this[_0x49a526(0x137)][_0x49a526(0xdc)](_0x49a526(0xc5)+_0x309840),_0x12128a(_0x309840);});}[a6_0x2c7d17(0xe2)](_0x5ea87b,_0x3aaddb,_0x56d7b4){const _0xa38744=a6_0x2c7d17,_0x1e8922=this[_0xa38744(0xfc)]+encodeURIComponent(_0x5ea87b['id'])+_0xa38744(0x141),_0x489910={'uri':_0x1e8922,'method':_0xa38744(0x143),'json':!![],'body':_0x3aaddb};this[_0xa38744(0x140)](_0x489910,(_0x3deda7,_0x26035f,_0x3e2ce8)=>{const _0x49a566=_0xa38744;(!_0x3e2ce8||Math[_0x49a566(0x14a)](_0x3e2ce8[_0x49a566(0xd5)]/0x64)!==0x2)&&(this[_0x49a566(0x137)]['warn'](_0x49a566(0xfa)+_0x3deda7),_0x56d7b4(_0x3deda7));});}[a6_0x2c7d17(0x133)](_0x246742,_0x4ece71,_0x1966d0){const _0x3b1227=a6_0x2c7d17,_0x1212da=this[_0x3b1227(0xfc)]+encodeURIComponent(_0x246742['id'])+_0x3b1227(0x136),_0x2fe273={'uri':_0x1212da,'method':_0x3b1227(0x143),'json':!![],'body':_0x4ece71};this[_0x3b1227(0x140)](_0x2fe273,(_0x2742e3,_0x153bec,_0x11c38e)=>{const _0x22b6e3=_0x3b1227;(!_0x11c38e||Math[_0x22b6e3(0x14a)](_0x11c38e[_0x22b6e3(0xd5)]/0x64)!==0x2)&&(this[_0x22b6e3(0x137)][_0x22b6e3(0xdc)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2742e3),_0x1966d0(_0x2742e3));});}[a6_0x2c7d17(0xf7)](_0xb4a8fe,_0x403861,_0x10fdf5){const _0x15c3fb=a6_0x2c7d17;assert(_0xb4a8fe['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x44f209=Date['now'](),_0x831522=this[_0x15c3fb(0x121)]+this[_0x15c3fb(0xf9)][_0x15c3fb(0x151)][_0x15c3fb(0x152)];if(_0x44f209<_0x831522){this[_0x15c3fb(0x137)]['info'](_0x15c3fb(0xed)+((_0x831522-_0x44f209)/0x3e8+_0x15c3fb(0x12b)));return;}}const _0x2f2bd3=(0x0,fs_1[_0x15c3fb(0x11c)])(_0x10fdf5)['size'],_0x16536c=Math[_0x15c3fb(0x11b)](0x0,_0x2f2bd3-this['config'][_0x15c3fb(0x151)][_0x15c3fb(0xbf)]),_0x5e39b6=(0x0,fs_1['createReadStream'])(_0x10fdf5,{'start':_0x16536c}),_0x6b5d13=(0x0,zlib_1['createGzip'])(),_0x2f23fd=new memory_streams_1[(_0x15c3fb(0xcb))](),_0x11c2d8=this;_0x11c2d8[_0x15c3fb(0x137)][_0x15c3fb(0xd4)](_0x15c3fb(0x131)+_0x10fdf5+_0x15c3fb(0x122)+_0x403861),(0x0,stream_1[_0x15c3fb(0x112)])(_0x5e39b6,_0x6b5d13,_0x2f23fd,_0x1b64a9=>{const _0x4c02d5=_0x15c3fb;if(_0x1b64a9)_0x11c2d8[_0x4c02d5(0x137)][_0x4c02d5(0x13c)](_0x4c02d5(0xf8)+_0x10fdf5+':\x20'+_0x1b64a9);else{const _0x171952={'uri':this[_0x4c02d5(0xfc)]+encodeURIComponent(_0xb4a8fe['id'])+'/compressedLogFile/'+_0x403861,'method':_0x4c02d5(0x11a),'body':_0x2f23fd[_0x4c02d5(0x11e)]()};_0x11c2d8['makeRequest'](_0x171952,_0x4c88eb=>{const _0x58e607=_0x4c02d5;_0x4c88eb?_0x11c2d8[_0x58e607(0x137)][_0x58e607(0x13c)](_0x58e607(0x146)+_0x10fdf5+_0x58e607(0x113)+_0x403861,_0x4c88eb):(_0x11c2d8[_0x58e607(0x137)][_0x58e607(0xd4)](_0x58e607(0x109)+_0x10fdf5+_0x58e607(0x113)+_0x403861),_0x11c2d8[_0x58e607(0x121)]=Date[_0x58e607(0x12e)]());});}});}[a6_0x2c7d17(0x110)](_0x434b82){const _0x43edc8=a6_0x2c7d17;this['logger']['debug']('Transmitting\x20breakpoint\x20updates...'),this[_0x43edc8(0xd1)]=undefined;const _0x52da39=[];let _0x4d8fc1=0x0;while(_0x52da39[_0x43edc8(0x128)]<this[_0x43edc8(0xf9)][_0x43edc8(0xbb)]&&this['transmissionQueue']['length']>0x0){const _0x598402=this[_0x43edc8(0x13d)][0x0],_0x3fbc2c=_0x598402[_0x43edc8(0xe0)],_0x1687f7=(0x0,utils_1[_0x43edc8(0xd7)])(_0x3fbc2c);_0x4d8fc1+=_0x1687f7;if(_0x4d8fc1<=this[_0x43edc8(0xf9)][_0x43edc8(0xf0)])_0x52da39['push'](_0x598402),this['transmissionQueue'][_0x43edc8(0x103)]();else{_0x1687f7>this[_0x43edc8(0xf9)][_0x43edc8(0xf0)]&&_0x52da39[_0x43edc8(0x128)]===0x0&&(this[_0x43edc8(0x137)][_0x43edc8(0xc6)](_0x43edc8(0xeb)+_0x598402['id']+_0x43edc8(0x134)+this[_0x43edc8(0xf9)]['transmissionBulkMaxNetworkSizeInBytes']+_0x43edc8(0xdb)),_0x52da39['push'](_0x598402),this['transmissionQueue'][_0x43edc8(0x103)]());break;}}if(!_0x52da39)return;const _0x55d8fb=_0x52da39[_0x43edc8(0xc3)](_0x290a38=>_0x290a38['id']),_0x31d9b0={'uri':this[_0x43edc8(0xfc)]+encodeURIComponent(_0x434b82)+_0x43edc8(0x150),'json':!![],'method':_0x43edc8(0x11a),'body':'['+_0x52da39[_0x43edc8(0xc3)](_0x1c347d=>_0x1c347d[_0x43edc8(0xe0)])[_0x43edc8(0xe9)](',')+']'},_0x1c60fc=this;try{this[_0x43edc8(0x140)](_0x31d9b0,(_0x4adbd5,_0x4c8aff,_0x500a9b)=>{const _0x21807c=_0x43edc8,_0x5b429f=_0x500a9b?.[_0x21807c(0xd5)];_0x1c60fc['logger'][_0x21807c(0xc6)]('Update\x20for\x20breakpoints\x20'+_0x55d8fb+_0x21807c(0xc0)+_0x5b429f);if(_0x4adbd5||!_0x5b429f||Math['floor'](_0x5b429f/0x64)!==0x2){const _0x2e64c9=_0x5b429f&&(_0x5b429f>=0x1f4||_0x5b429f===0x198);if(_0x2e64c9){_0x1c60fc[_0x21807c(0x137)][_0x21807c(0xdc)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x55d8fb+_0x21807c(0xd2)+_0x5b429f+_0x21807c(0xbe)+_0x4adbd5);for(const _0x30c7f7 of _0x52da39){_0x30c7f7[_0x21807c(0x118)]<MAX_FAILED_SEND_ATTEMPTS?_0x1c60fc['transmissionQueue'][_0x21807c(0xf1)]({..._0x30c7f7,'number':_0x30c7f7[_0x21807c(0x118)]+0x1}):_0x1c60fc[_0x21807c(0x137)][_0x21807c(0xdc)]('Breakpoint\x20'+_0x30c7f7['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x1c60fc['logger'][_0x21807c(0xdc)](_0x21807c(0x126)+_0x55d8fb+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x5b429f+_0x21807c(0xbe)+_0x4adbd5);}else _0x1c60fc[_0x21807c(0x137)][_0x21807c(0xd4)](_0x21807c(0xee)+_0x55d8fb+_0x21807c(0x114));_0x1c60fc[_0x21807c(0x13d)][_0x21807c(0x128)]>0x0&&(_0x1c60fc[_0x21807c(0xd1)]=setTimeout(()=>_0x1c60fc[_0x21807c(0x110)][_0x21807c(0x14e)](_0x1c60fc)(_0x434b82),0x0));},0x28);}catch(_0x13e753){this[_0x43edc8(0x137)]['warn'](_0x43edc8(0x126)+_0x55d8fb+_0x43edc8(0xec)+_0x13e753+',\x20Message:\x20'+_0x13e753[_0x43edc8(0xd6)]?.[_0x43edc8(0xc2)]),_0x1c60fc[_0x43edc8(0x13d)][_0x43edc8(0x128)]>0x0&&(_0x1c60fc[_0x43edc8(0xd1)]=setTimeout(()=>_0x1c60fc[_0x43edc8(0x110)][_0x43edc8(0x14e)](_0x1c60fc)(_0x434b82),0x0));}}async[a6_0x2c7d17(0xcd)](_0x49e043){const _0x5cfdf9=a6_0x2c7d17;this[_0x5cfdf9(0x137)][_0x5cfdf9(0xd4)]('Getting\x20blocklist');const _0x282ed1=this['apiUrl']+encodeURIComponent(_0x49e043)+_0x5cfdf9(0x129),{error:_0x5f3599,data:_0x115b0a}=await this[_0x5cfdf9(0x140)]({'uri':_0x282ed1,'json':!![]});if(_0x5f3599)return Promise[_0x5cfdf9(0x14c)](_0x5f3599);return yaml[_0x5cfdf9(0x101)](_0x115b0a)||{};}[a6_0x2c7d17(0x140)](_0x2a92fc,_0x1d8257,_0x2d5d4f,_0x55f49c){const _0x27bbd5=a6_0x2c7d17,_0x145ba9={'Content-Type':_0x55f49c?_0x55f49c:'application/json','Authorization':_0x27bbd5(0xc7)+this['config'][_0x27bbd5(0x142)]},_0x3e83bb=axios_1['default']['CancelToken'][_0x27bbd5(0x11d)](),_0x281c9e=_0x2d5d4f?_0x2d5d4f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x27bbd5(0x137)][_0x27bbd5(0xc6)]('timeout\x20set\x20to\x20'+_0x281c9e);const _0x187f80=setTimeout(()=>{const _0x3b749d=_0x27bbd5;this[_0x3b749d(0x137)]['warn'](_0x3b749d(0x13e)+_0x281c9e+'ms'),_0x3e83bb['cancel']();},_0x281c9e),_0x349d35={'method':_0x2a92fc[_0x27bbd5(0xf4)],'url':_0x2a92fc[_0x27bbd5(0x13a)],'data':_0x2a92fc[_0x27bbd5(0x104)],'headers':_0x145ba9,'cancelToken':_0x3e83bb[_0x27bbd5(0xce)]};return extend(!![],_0x349d35,_0x2a92fc),this['axios']['request'](_0x349d35)[_0x27bbd5(0xf2)](_0x3b7a35=>{return _0x1d8257?.(null,_0x3b7a35['data'],_0x3b7a35),{'error':null,'data':_0x3b7a35['data'],'res':_0x3b7a35};})[_0x27bbd5(0xe5)](_0x5cd097=>{const _0x1cc0c9=_0x27bbd5;return _0x1d8257?.(_0x5cd097,_0x5cd097[_0x1cc0c9(0x13b)]?.[_0x1cc0c9(0xd6)],_0x5cd097[_0x1cc0c9(0x13b)]),{'error':_0x5cd097,'data':_0x5cd097[_0x1cc0c9(0x13b)]?.['data'],'res':_0x5cd097[_0x1cc0c9(0x13b)]};})[_0x27bbd5(0x10c)](()=>clearTimeout(_0x187f80));}async['getRedactions'](_0x23da3d){const _0x2a2235=a6_0x2c7d17;this['logger'][_0x2a2235(0xd4)](_0x2a2235(0x125));const _0x12cc91=this[_0x2a2235(0xfc)]+encodeURIComponent(_0x23da3d)+_0x2a2235(0xff),{error:_0x486cc4,data:_0x4f81cf}=await this[_0x2a2235(0x140)]({'uri':_0x12cc91,'json':!![]});if(_0x486cc4)return Promise['reject'](_0x486cc4);return _0x4f81cf;}}function a6_0x1fa9(_0xa8915c,_0x31021c){const _0x38ce83=a6_0x2a84();return a6_0x1fa9=function(_0x7cfaea,_0x1ea029){_0x7cfaea=_0x7cfaea-0xb9;let _0x2a8446=_0x38ce83[_0x7cfaea];return _0x2a8446;},a6_0x1fa9(_0xa8915c,_0x31021c);}exports[a6_0x2c7d17(0xe7)]=Controller;function a6_0x2a84(){const _0x5ea1d3=['token','apiEndpoint','Deregister\x20agent\x20before\x20shutdown','transmissionTimeout','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20size\x20is\x20','info','status','data','getJsonStringSizeInBytes','2Ymjsth','port','Failed\x20to\x20read\x20pem\x20file\x20\x22',',\x20sending\x20only\x20one','warn','\x20and\x20enqueue\x20to\x20queue','caPath','ascii','serializedJson','tls','sendBreakpointLogsToServer','querystring','pubkey','catch','apply','Controller','Certificate\x20Pinning\x20Failed!','join','readFileSync','breakpoint\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','Update\x20for\x20breakpoints\x20','should\x20have\x20a\x20registered\x20debuggee','transmissionBulkMaxNetworkSizeInBytes','push','then','90PVfnAM','method','register','https://','sendAgentLogsToServer','Failed\x20to\x20zip\x20','config','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','zlib','apiUrl','includes','constructor','/redaction','5476266uwYCka','load','\x22\x20-\x20ignoring\x20it','shift','body','unknown\x20error\x20-\x20request\x20response\x20missing','js-yaml','14pjwduQ','create','Successfully\x20sent\x20log\x20file\x20','/debuggees/','transmissionHardMaxNetworkSizeLimitInBytes','finally','(((.+)+)+)+$','proxy','createHash','transmitBreakpointUpdates','update','pipeline','\x20for\x20request\x20','\x20transmitted\x20successfully','ServiceObject','addCACert','search','number','extend','PUT','max','statSync','source','toBuffer','/breakpoints?','./util/utils','lastLogCollectionTime','\x20for\x20request\x20id\x20','1788712deoKcE','2340585gIExNZ','Getting\x20reductions','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','894060nfGveA','length','/blacklist?successOnTimeout=true','__esModule','\x20seconds','103725NospFg','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','now','host','crypto','Compressing\x20and\x20sending\x20log\x20file\x20','debuggee','sendAppOnlyBreakpointHitsToServer','\x20size\x20>\x20max\x20network\x20size\x20:\x20','default','/appOnlyActionHits/','logger','password','3181384UdFIJU','uri','response','error','transmissionQueue','Timeout\x20occurred\x20after\x20','breakpointId:\x20','makeRequest','/log/','lightrunSecret','POST','nextWaitToken','https','Failed\x20to\x20send\x20log\x20file\x20','Agent','createSecureContext','/deregister/','floor','noCheckCertificate','reject','enqueueBreakpointUpdate','bind','callback','/breakpoints','agentLog','collectCooldownMs','clearTransmissionTimeout','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','transmissionBulkMaxSize','username','invalid\x20response\x20body\x20from\x20server','\x20Error:\x20','maxLogFileBytes','\x20finished\x20with\x20status\x20','420449WIYwYF','message','map','unable\x20to\x20register,\x20status\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','debug','Bearer\x20','waitToken','stringify','secureContext','WritableStream','https-proxy-agent','getBlocklist'];a6_0x2a84=function(){return _0x5ea1d3;};return a6_0x2a84();}function is2xx(_0x1be91c){const _0x22ace8=a6_0x2c7d17;return Math[_0x22ace8(0x14a)](_0x1be91c/0x64)===0x2;}function getProxyAgent(_0x1aa1bd,_0x9b4831){const _0x33f2af=a6_0x2c7d17,_0x2569a9=_0x1aa1bd[_0x33f2af(0x10e)];if(!_0x2569a9?.['host'])return undefined;if(!_0x2569a9[_0x33f2af(0xd9)])return _0x9b4831['error']('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x9b4831[_0x33f2af(0xd4)]('Using\x20proxy\x20configuration:\x20'+_0x2569a9['host']+':'+_0x2569a9[_0x33f2af(0xd9)]+',\x20username:\x20'+(_0x2569a9['username']??''));const _0x594197=new HttpsProxyAgent({'host':_0x2569a9[_0x33f2af(0x12f)],'port':_0x2569a9[_0x33f2af(0xd9)],'auth':_0x2569a9[_0x33f2af(0xbc)]||_0x2569a9[_0x33f2af(0x138)]?(_0x2569a9[_0x33f2af(0xbc)]??'')+':'+(_0x2569a9[_0x33f2af(0x138)]??''):undefined}),_0x5e1005=_0x594197['callback'][_0x33f2af(0x14e)](_0x594197),_0x1f6af4=getHttpsAgentOptions(_0x1aa1bd,_0x9b4831);return _0x594197[_0x33f2af(0x14f)]=(_0x3f1f09,_0x56882a)=>{return _0x5e1005(_0x3f1f09,{..._0x56882a,..._0x1f6af4});},_0x594197;}function getHttpsAgentOptions(_0x13fc0a,_0xc57ae6){const _0x346dff=a6_0x2c7d17,_0x2bed5a={'checkServerIdentity':(_0x2b4ece,_0x30fd52)=>{const _0x153080=a6_0x1fa9;if(_0x13fc0a[_0x153080(0x14b)])return undefined;const _0x5c0fdb=(0x0,crypto_1[_0x153080(0x10f)])('sha256')[_0x153080(0x111)](_0x30fd52[_0x153080(0xe4)])['digest']('hex');return _0x13fc0a['pinnedCerts'][_0x153080(0xfd)](_0x5c0fdb)?undefined:new Error(_0x153080(0xe8));}};let _0x5ed2c8;if(_0x13fc0a[_0x346dff(0xde)])try{_0x5ed2c8=(0x0,fs_1[_0x346dff(0xea)])(_0x13fc0a[_0x346dff(0xde)],_0x346dff(0xdf));}catch(_0x422777){_0xc57ae6[_0x346dff(0xdc)](_0x346dff(0xda)+_0x13fc0a['caPath']+_0x346dff(0x102));}if(_0x5ed2c8){const _0x40af26=(0x0,tls_1[_0x346dff(0x148)])(_0x2bed5a);_0x40af26['context'][_0x346dff(0x116)](_0x5ed2c8),_0x2bed5a[_0x346dff(0xca)]=_0x40af26;}return _0x2bed5a;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x12f24d=a7_0x2ee7;(function(_0x149ef7,_0x536179){const _0x472877=a7_0x2ee7,_0x5eee78=_0x149ef7();while(!![]){try{const _0x4bafab=parseInt(_0x472877(0x151))/0x1+parseInt(_0x472877(0x140))/0x2+parseInt(_0x472877(0x139))/0x3+parseInt(_0x472877(0x156))/0x4+parseInt(_0x472877(0x134))/0x5+-parseInt(_0x472877(0x152))/0x6*(parseInt(_0x472877(0x144))/0x7)+parseInt(_0x472877(0x14c))/0x8*(-parseInt(_0x472877(0x137))/0x9);if(_0x4bafab===_0x536179)break;else _0x5eee78['push'](_0x5eee78['shift']());}catch(_0x2dc19b){_0x5eee78['push'](_0x5eee78['shift']());}}}(a7_0x15e7,0xb04e8));const a7_0x26ac2d=(function(){let _0x23dccd=!![];return function(_0x538ad5,_0x38d688){const _0x2b3e10=_0x23dccd?function(){const _0x3dc306=a7_0x2ee7;if(_0x38d688){const _0x2eb46a=_0x38d688[_0x3dc306(0x142)](_0x538ad5,arguments);return _0x38d688=null,_0x2eb46a;}}:function(){};return _0x23dccd=![],_0x2b3e10;};}()),a7_0x224b7c=a7_0x26ac2d(this,function(){const _0x249bb1=a7_0x2ee7;return a7_0x224b7c[_0x249bb1(0x14b)]()[_0x249bb1(0x155)](_0x249bb1(0x13d))[_0x249bb1(0x14b)]()[_0x249bb1(0x141)](a7_0x224b7c)[_0x249bb1(0x155)](_0x249bb1(0x13d));});function a7_0x2ee7(_0x1c9200,_0x5ef8a5){const _0x49ce73=a7_0x15e7();return a7_0x2ee7=function(_0x224b7c,_0x26ac2d){_0x224b7c=_0x224b7c-0x133;let _0x15e7e2=_0x49ce73[_0x224b7c];return _0x15e7e2;},a7_0x2ee7(_0x1c9200,_0x5ef8a5);}a7_0x224b7c();'use strict';Object[a7_0x12f24d(0x148)](exports,a7_0x12f24d(0x153),{'value':!![]}),exports['createDebuggee']=void 0x0;const path=require('path'),status_message_1=require(a7_0x12f24d(0x149)),debuggee_1=require(a7_0x12f24d(0x145)),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x12f24d(0x14e)),getPlatform_1=require(a7_0x12f24d(0x147)),createDebuggee=(_0xca09bf,_0x35d854,_0x28b527,_0x368916,_0x34d7bd,_0x8f1f9f,_0x106786,_0x135363)=>{const _0xa08f39=a7_0x12f24d,_0xad8914=process[_0xa08f39(0x135)](),_0x5991ea=path[_0xa08f39(0x154)](_0xad8914,process['argv'][0x1]),_0x28a0ee={'main\x20script':_0x5991ea,'process.title':process[_0xa08f39(0x133)],'node\x20version':process[_0xa08f39(0x13c)][_0xa08f39(0x138)],'V8\x20version':process['versions']['v8'],'agent.name':_0x368916['name'],'agent.version':_0x34d7bd,'platform':(0x0,getPlatform_1[_0xa08f39(0x146)])()},_0x1e1da8=_0x35d854[_0xa08f39(0x157)];_0x1e1da8&&(typeof _0x1e1da8['service']==='string'&&_0x1e1da8[_0xa08f39(0x14f)]!==_0xa08f39(0x13b)&&(_0x28a0ee['module']=_0x1e1da8['service']),typeof _0x1e1da8[_0xa08f39(0x150)]===_0xa08f39(0x13f)&&(_0x28a0ee['version']=_0x1e1da8[_0xa08f39(0x150)]),typeof _0x1e1da8[_0xa08f39(0x14a)]===_0xa08f39(0x13f)&&(_0x28a0ee['minorversion']=_0x1e1da8[_0xa08f39(0x14a)]));const _0x23ab6b=(0x0,createUniquifier_1[_0xa08f39(0x13a)])(_0x34d7bd,_0xca09bf,_0x28b527,_0x28a0ee),_0x33f7df=_0x135363?new status_message_1[(_0xa08f39(0x143))](status_message_1[_0xa08f39(0x143)]['UNSPECIFIED'],_0x135363,!![]):undefined,_0x4f3dd7=(0x0,createDebuggeeMetadata_1[_0xa08f39(0x14d)])(_0x35d854,_0x8f1f9f),_0x365f94={'uniquifier':_0x23ab6b,'agentVersion':_0x34d7bd,'labels':{'metadata':JSON['stringify'](_0x4f3dd7)},'statusMessage':_0x33f7df,'packageInfo':_0x368916,..._0x106786};return _0x28b527&&(_0x365f94[_0xa08f39(0x13e)]=[_0x28b527]),new debuggee_1[(_0xa08f39(0x136))](_0x365f94);};exports['createDebuggee']=createDebuggee;function a7_0x15e7(){const _0x46ce57=['./getPlatform','defineProperty','../../client/stackdriver/status-message','minorVersion_','toString','141096HVgNeV','createDebuggeeMetadata','./createUniquifier','service','version','1046768vviiNL','577194CcZysR','__esModule','relative','search','4413304jIuPQI','serviceContext','title','1099205gIUGPv','cwd','Debuggee','1125hLTnuV','node','1124139IqzlcV','createUniquifier','default','versions','(((.+)+)+)+$','sourceContexts','string','1133850PhRHHD','constructor','apply','StatusMessage','28YieSti','../../debuggee','getPlatform'];a7_0x15e7=function(){return _0x46ce57;};return a7_0x15e7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a8_0xab42(){const _0x262e29=['constructor','12ISqCxh','metadata','1925260jCwjVI','toString','1jgaSON','registration','1866PksbWS','utf-8','defineProperty','15617qkVoVS','2487695xPoFHK','Failed\x20to\x20read\x20metadata\x20file\x20','createDebuggeeMetadata','readFileSync','8OOllLy','48597197ljVlmF','map','apply','tags','381910LQrdDB','filename','207PlBHBM','1418133qTZmVm','7398984QJpPed','(((.+)+)+)+$','search'];a8_0xab42=function(){return _0x262e29;};return a8_0xab42();}const a8_0x50affc=a8_0x5a28;(function(_0x2d9a69,_0x4b1ce4){const _0x5fa3ef=a8_0x5a28,_0x6fc4c3=_0x2d9a69();while(!![]){try{const _0x364379=-parseInt(_0x5fa3ef(0x1b8))/0x1*(-parseInt(_0x5fa3ef(0x1b6))/0x2)+-parseInt(_0x5fa3ef(0x1af))/0x3*(-parseInt(_0x5fa3ef(0x1a7))/0x4)+parseInt(_0x5fa3ef(0x1a3))/0x5+-parseInt(_0x5fa3ef(0x1ba))/0x6*(-parseInt(_0x5fa3ef(0x1bd))/0x7)+parseInt(_0x5fa3ef(0x1b0))/0x8+-parseInt(_0x5fa3ef(0x1ae))/0x9*(-parseInt(_0x5fa3ef(0x1ac))/0xa)+-parseInt(_0x5fa3ef(0x1a8))/0xb*(parseInt(_0x5fa3ef(0x1b4))/0xc);if(_0x364379===_0x4b1ce4)break;else _0x6fc4c3['push'](_0x6fc4c3['shift']());}catch(_0x33c4c2){_0x6fc4c3['push'](_0x6fc4c3['shift']());}}}(a8_0xab42,0x765a3));const a8_0x5ce66a=(function(){let _0x484b69=!![];return function(_0xbb967a,_0x2e524b){const _0x30389c=_0x484b69?function(){const _0x3483fd=a8_0x5a28;if(_0x2e524b){const _0x10e5be=_0x2e524b[_0x3483fd(0x1aa)](_0xbb967a,arguments);return _0x2e524b=null,_0x10e5be;}}:function(){};return _0x484b69=![],_0x30389c;};}()),a8_0x24d2e5=a8_0x5ce66a(this,function(){const _0x4ee742=a8_0x5a28;return a8_0x24d2e5[_0x4ee742(0x1b7)]()[_0x4ee742(0x1b2)]('(((.+)+)+)+$')[_0x4ee742(0x1b7)]()[_0x4ee742(0x1b3)](a8_0x24d2e5)[_0x4ee742(0x1b2)](_0x4ee742(0x1b1));});function a8_0x5a28(_0x13c960,_0x467ea1){const _0x578f6f=a8_0xab42();return a8_0x5a28=function(_0x24d2e5,_0x5ce66a){_0x24d2e5=_0x24d2e5-0x1a3;let _0xab427e=_0x578f6f[_0x24d2e5];return _0xab427e;},a8_0x5a28(_0x13c960,_0x467ea1);}a8_0x24d2e5();'use strict';Object[a8_0x50affc(0x1bc)](exports,'__esModule',{'value':!![]}),exports[a8_0x50affc(0x1a5)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x3aa362,_0x509059)=>{const _0x2040d7=a8_0x50affc;let _0x13ea6d={'registration':{}};if(_0x3aa362['metadata']?.['filename'])try{_0x13ea6d=JSON['parse'](fs[_0x2040d7(0x1a6)](_0x3aa362['metadata'][_0x2040d7(0x1ad)],_0x2040d7(0x1bb)));}catch(_0x14b1b8){_0x509059['warn'](_0x2040d7(0x1a4)+_0x3aa362[_0x2040d7(0x1b5)][_0x2040d7(0x1ad)],_0x14b1b8);}return _0x13ea6d[_0x2040d7(0x1b9)]=extend(!![],{},_0x3aa362[_0x2040d7(0x1b5)]?.[_0x2040d7(0x1b9)],_0x13ea6d['registration']),_0x13ea6d[_0x2040d7(0x1b9)]?.[_0x2040d7(0x1ab)]&&(_0x13ea6d['registration'][_0x2040d7(0x1ab)]=_0x13ea6d['registration']['tags'][_0x2040d7(0x1a9)](_0x1d745f=>typeof _0x1d745f==='string'?{'name':_0x1d745f}:_0x1d745f)),_0x13ea6d;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a9_0x1214(){const _0x4252f2=['search','__esModule','constructor','stringify','hex','toString','defineProperty','digest','740446xBNuLB','9426VXDAaO','(((.+)+)+)+$','update','sha1','21gDAjJm','280gAcwgt','32284KjODzc','4318083aDeMWU','11652036fwjYKq','232722midqWZ','40AKZDgX','apply','142cODHrC','605EdkfsW','crypto','2077098RMdHql'];a9_0x1214=function(){return _0x4252f2;};return a9_0x1214();}function a9_0xb011(_0x22db16,_0x1d9b80){const _0x3cb861=a9_0x1214();return a9_0xb011=function(_0x319753,_0x2c716c){_0x319753=_0x319753-0x1d2;let _0x12147a=_0x3cb861[_0x319753];return _0x12147a;},a9_0xb011(_0x22db16,_0x1d9b80);}const a9_0xcc823e=a9_0xb011;(function(_0x2f98b5,_0x324526){const _0x53f1e3=a9_0xb011,_0x138800=_0x2f98b5();while(!![]){try{const _0x1faa7f=parseInt(_0x53f1e3(0x1ea))/0x1+-parseInt(_0x53f1e3(0x1de))/0x2*(parseInt(_0x53f1e3(0x1d2))/0x3)+parseInt(_0x53f1e3(0x1d8))/0x4*(parseInt(_0x53f1e3(0x1df))/0x5)+-parseInt(_0x53f1e3(0x1e1))/0x6*(-parseInt(_0x53f1e3(0x1d6))/0x7)+parseInt(_0x53f1e3(0x1d7))/0x8*(parseInt(_0x53f1e3(0x1db))/0x9)+parseInt(_0x53f1e3(0x1dc))/0xa*(-parseInt(_0x53f1e3(0x1d9))/0xb)+-parseInt(_0x53f1e3(0x1da))/0xc;if(_0x1faa7f===_0x324526)break;else _0x138800['push'](_0x138800['shift']());}catch(_0x2620e7){_0x138800['push'](_0x138800['shift']());}}}(a9_0x1214,0xdad3f));const a9_0x2c716c=(function(){let _0x919574=!![];return function(_0x19277f,_0x1ab0aa){const _0x4d0bab=_0x919574?function(){const _0x4b022c=a9_0xb011;if(_0x1ab0aa){const _0xeb1129=_0x1ab0aa[_0x4b022c(0x1dd)](_0x19277f,arguments);return _0x1ab0aa=null,_0xeb1129;}}:function(){};return _0x919574=![],_0x4d0bab;};}()),a9_0x319753=a9_0x2c716c(this,function(){const _0x5238fc=a9_0xb011;return a9_0x319753['toString']()[_0x5238fc(0x1e2)](_0x5238fc(0x1d3))[_0x5238fc(0x1e7)]()[_0x5238fc(0x1e4)](a9_0x319753)[_0x5238fc(0x1e2)](_0x5238fc(0x1d3));});a9_0x319753();'use strict';Object[a9_0xcc823e(0x1e8)](exports,a9_0xcc823e(0x1e3),{'value':!![]}),exports['createUniquifier']=void 0x0;const crypto=require(a9_0xcc823e(0x1e0)),createUniquifier=(_0x8859e7,_0x2438e9,_0x1a4108,_0x37171e)=>{const _0x62d5eb=a9_0xcc823e,_0xc0e49=_0x8859e7+_0x2438e9+JSON[_0x62d5eb(0x1e5)](_0x1a4108)+JSON['stringify'](_0x37171e);return crypto['createHash'](_0x62d5eb(0x1d5))[_0x62d5eb(0x1d4)](_0xc0e49)[_0x62d5eb(0x1e9)](_0x62d5eb(0x1e6));};exports['createUniquifier']=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x4489d6=a10_0x39be;(function(_0x4ad0df,_0xfcd84c){const _0x4573ef=a10_0x39be,_0x164621=_0x4ad0df();while(!![]){try{const _0x883a7a=parseInt(_0x4573ef(0x1e8))/0x1*(parseInt(_0x4573ef(0x1f1))/0x2)+-parseInt(_0x4573ef(0x1ee))/0x3*(parseInt(_0x4573ef(0x1df))/0x4)+-parseInt(_0x4573ef(0x1e0))/0x5+-parseInt(_0x4573ef(0x1e2))/0x6*(parseInt(_0x4573ef(0x1ea))/0x7)+parseInt(_0x4573ef(0x1e1))/0x8+parseInt(_0x4573ef(0x1e5))/0x9+-parseInt(_0x4573ef(0x1e9))/0xa;if(_0x883a7a===_0xfcd84c)break;else _0x164621['push'](_0x164621['shift']());}catch(_0x3b65c2){_0x164621['push'](_0x164621['shift']());}}}(a10_0x1989,0xb3c7e));const a10_0x5c4083=(function(){let _0x8ece37=!![];return function(_0x1c65ac,_0x115db4){const _0x2d1fbf=_0x8ece37?function(){const _0x521f5a=a10_0x39be;if(_0x115db4){const _0x32a984=_0x115db4[_0x521f5a(0x1e6)](_0x1c65ac,arguments);return _0x115db4=null,_0x32a984;}}:function(){};return _0x8ece37=![],_0x2d1fbf;};}()),a10_0x40059d=a10_0x5c4083(this,function(){const _0x4dcd47=a10_0x39be;return a10_0x40059d[_0x4dcd47(0x1e7)]()[_0x4dcd47(0x1ef)](_0x4dcd47(0x1f0))[_0x4dcd47(0x1e7)]()[_0x4dcd47(0x1e3)](a10_0x40059d)[_0x4dcd47(0x1ef)]('(((.+)+)+)+$');});a10_0x40059d();'use strict';function a10_0x39be(_0x45b987,_0x327836){const _0x2db3ea=a10_0x1989();return a10_0x39be=function(_0x40059d,_0x5c4083){_0x40059d=_0x40059d-0x1de;let _0x1989d9=_0x2db3ea[_0x40059d];return _0x1989d9;},a10_0x39be(_0x45b987,_0x327836);}Object[a10_0x4489d6(0x1ed)](exports,a10_0x4489d6(0x1e4),{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x59e07a,_0x3613dc)=>{const _0x388579=a10_0x4489d6,_0x426496=_0x59e07a['split'](_0x3613dc),_0x1acbe4=[];_0x1acbe4[_0x388579(0x1ec)](_0x426496[0x0]);for(let _0x4390cd=0x1;_0x4390cd<_0x426496[_0x388579(0x1de)];_0x4390cd++){_0x1acbe4[_0x388579(0x1ec)]({'v':_0x3613dc},_0x426496[_0x4390cd]);}return _0x1acbe4;};exports[a10_0x4489d6(0x1eb)]=delimit;function a10_0x1989(){const _0x586c7d=['56BcUFph','delimit','push','defineProperty','165282oiFzxG','search','(((.+)+)+)+$','2syeGwW','length','28FPfbPb','4041015VXSPzi','509912vEbbwE','240324UCOXhc','constructor','__esModule','10689192EgCVGZ','apply','toString','1308141tHayNT','3088930NRFecl'];a10_0x1989=function(){return _0x586c7d;};return a10_0x1989();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x34da14=a11_0x1b6c;(function(_0x34de4a,_0x28e1ca){const _0x2d57d7=a11_0x1b6c,_0x1e1929=_0x34de4a();while(!![]){try{const _0x1d04f0=parseInt(_0x2d57d7(0x1c9))/0x1*(parseInt(_0x2d57d7(0x1d8))/0x2)+-parseInt(_0x2d57d7(0x1ce))/0x3+parseInt(_0x2d57d7(0x1d0))/0x4*(parseInt(_0x2d57d7(0x1d2))/0x5)+parseInt(_0x2d57d7(0x1cd))/0x6*(parseInt(_0x2d57d7(0x1d7))/0x7)+-parseInt(_0x2d57d7(0x1cf))/0x8*(parseInt(_0x2d57d7(0x1d9))/0x9)+-parseInt(_0x2d57d7(0x1dc))/0xa*(parseInt(_0x2d57d7(0x1de))/0xb)+parseInt(_0x2d57d7(0x1dd))/0xc;if(_0x1d04f0===_0x28e1ca)break;else _0x1e1929['push'](_0x1e1929['shift']());}catch(_0x35720a){_0x1e1929['push'](_0x1e1929['shift']());}}}(a11_0x4e0c,0x3917b));const a11_0x3bcf3e=(function(){let _0x545ef8=!![];return function(_0x563903,_0x200563){const _0x178a4c=_0x545ef8?function(){const _0x2dc987=a11_0x1b6c;if(_0x200563){const _0x2cac01=_0x200563[_0x2dc987(0x1d5)](_0x563903,arguments);return _0x200563=null,_0x2cac01;}}:function(){};return _0x545ef8=![],_0x178a4c;};}()),a11_0x527296=a11_0x3bcf3e(this,function(){const _0x2cdaad=a11_0x1b6c;return a11_0x527296[_0x2cdaad(0x1cb)]()[_0x2cdaad(0x1d3)](_0x2cdaad(0x1c8))[_0x2cdaad(0x1cb)]()[_0x2cdaad(0x1cc)](a11_0x527296)[_0x2cdaad(0x1d3)](_0x2cdaad(0x1c8));});a11_0x527296();function a11_0x4e0c(){const _0x8b5f6=['1522760tUHjli','4unvDCi','format','1210515khDEpF','search','test','apply','tokenize','85645DDXXdM','2kKGWDI','18KrzgwH','substring','length','20hBVWRY','3485760mfNaWo','567974Gkvrbt','__esModule','join','./tokenize','(((.+)+)+)+$','416267oZxVVc','defineProperty','toString','constructor','42chaobW','950058eetcsP'];a11_0x4e0c=function(){return _0x8b5f6;};return a11_0x4e0c();}'use strict';function a11_0x1b6c(_0x34aee3,_0x588524){const _0x19ac44=a11_0x4e0c();return a11_0x1b6c=function(_0x527296,_0x3bcf3e){_0x527296=_0x527296-0x1c6;let _0x4e0c75=_0x19ac44[_0x527296];return _0x4e0c75;},a11_0x1b6c(_0x34aee3,_0x588524);}Object[a11_0x34da14(0x1ca)](exports,a11_0x34da14(0x1df),{'value':!![]}),exports[a11_0x34da14(0x1d1)]=void 0x0;const tokenize_1=require(a11_0x34da14(0x1c7)),format=(_0x124935,_0x213e8d)=>{const _0xe17a6e=a11_0x34da14,_0x3cba56=(0x0,tokenize_1[_0xe17a6e(0x1d6)])(_0x124935,_0x213e8d['length']);for(let _0x55e26e=0x0;_0x55e26e<_0x3cba56['length'];_0x55e26e++){if(!_0x3cba56[_0x55e26e]['v'])continue;if(_0x3cba56[_0x55e26e]['v']==='$$'){_0x3cba56[_0x55e26e]='$';continue;}for(let _0x507179=0x0;_0x507179<_0x213e8d['length'];_0x507179++){if(_0x3cba56[_0x55e26e]['v']==='$'+_0x507179){let _0x4a7bad=_0x213e8d[_0x507179];/^".*"$/[_0xe17a6e(0x1d4)](_0x4a7bad)&&(_0x4a7bad=_0x4a7bad[_0xe17a6e(0x1da)](0x1,_0x4a7bad[_0xe17a6e(0x1db)]-0x1));_0x3cba56[_0x55e26e]=_0x4a7bad;break;}}}return _0x3cba56[_0xe17a6e(0x1c6)]('');};exports[a11_0x34da14(0x1d1)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a12_0x556078=a12_0x5882;function a12_0x2fd4(){const _0x7e8856=['extra_paths','max_variable_size','proxy_port','getBoolean','42rBuzrG','agent_log_level','agent_log_max_file_size_mb','max_snapshot_frame_count','43245xAPuDQ','java-properties','noCheckCertificate','proxy_password','max_log_cpu_cost','apiEndpoint','39980700iRrPQN','constructor','pinned_certs','1308ZZGtbV','max_snapshot_buffer_size','breakpoint_expiration_sec','agent_regmetadata_file','max_condition_cost','dynamic_log_quota_recovery_ms','transmission_bulk_max_size','proxy_host','174730cOGzAk','proxy_username','11161467kGdOzf','getFirst','23KMIxVv','132398tsELym','search','agent_log_target_dir','existsSync','trim','1874728juooIm','20gyYIjf','649dFGgZw','(((.+)+)+)+$','agent_log_max_file_count','getInt','max_dynamic_log_rate','__esModule','max_watchlist_variable_size','split','667389rpjACr','max_dynamic_log_bytes_rate','getFloat','toString','ignore_quota'];a12_0x2fd4=function(){return _0x7e8856;};return a12_0x2fd4();}(function(_0xa87cd1,_0x3e0500){const _0x10fdc8=a12_0x5882,_0x1d44f8=_0xa87cd1();while(!![]){try{const _0x67f596=parseInt(_0x10fdc8(0xda))/0x1*(-parseInt(_0x10fdc8(0xdb))/0x2)+parseInt(_0x10fdc8(0xea))/0x3*(-parseInt(_0x10fdc8(0xe1))/0x4)+-parseInt(_0x10fdc8(0xf7))/0x5*(-parseInt(_0x10fdc8(0x100))/0x6)+parseInt(_0x10fdc8(0xf3))/0x7*(-parseInt(_0x10fdc8(0xe0))/0x8)+-parseInt(_0x10fdc8(0xd8))/0x9+-parseInt(_0x10fdc8(0xd6))/0xa*(-parseInt(_0x10fdc8(0xe2))/0xb)+parseInt(_0x10fdc8(0xfd))/0xc;if(_0x67f596===_0x3e0500)break;else _0x1d44f8['push'](_0x1d44f8['shift']());}catch(_0x2ac52f){_0x1d44f8['push'](_0x1d44f8['shift']());}}}(a12_0x2fd4,0xec165));const a12_0x1e0a79=(function(){let _0x16b74d=!![];return function(_0x53d70a,_0x349cf1){const _0x815d55=_0x16b74d?function(){if(_0x349cf1){const _0x5eda16=_0x349cf1['apply'](_0x53d70a,arguments);return _0x349cf1=null,_0x5eda16;}}:function(){};return _0x16b74d=![],_0x815d55;};}()),a12_0x219c4c=a12_0x1e0a79(this,function(){const _0x4fa232=a12_0x5882;return a12_0x219c4c[_0x4fa232(0xed)]()[_0x4fa232(0xdc)](_0x4fa232(0xe3))[_0x4fa232(0xed)]()[_0x4fa232(0xfe)](a12_0x219c4c)['search']('(((.+)+)+)+$');});a12_0x219c4c();'use strict';function a12_0x5882(_0x3c19d8,_0xd0df8d){const _0x51b080=a12_0x2fd4();return a12_0x5882=function(_0x219c4c,_0x1e0a79){_0x219c4c=_0x219c4c-0xd6;let _0x2fd4d5=_0x51b080[_0x219c4c];return _0x2fd4d5;},a12_0x5882(_0x3c19d8,_0xd0df8d);}Object['defineProperty'](exports,a12_0x556078(0xe7),{'value':!![]}),exports['getAgentConfig']=void 0x0;const properties=require(a12_0x556078(0xf8)),fs=require('fs'),getAgentConfig=_0x30f51e=>{const _0x3eb59c=a12_0x556078;if(fs[_0x3eb59c(0xde)](_0x30f51e)){const _0x43f67c=properties['of'](_0x30f51e);return{'lightrunSecret':_0x43f67c['getFirst']('com.lightrun.secret'),'apiEndpoint':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0xfc)),'breakpointExpirationSec':_0x43f67c['getInt'](_0x3eb59c(0x102)),'transmissionBulkMaxSize':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0x106)),'noCheckCertificate':_0x43f67c[_0x3eb59c(0xf2)](_0x3eb59c(0xf9)),'pinnedCerts':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0xff))?.[_0x3eb59c(0xe9)](','),'metadata':{'filename':_0x43f67c['getFirst'](_0x3eb59c(0x103))},'capture':{'maxFrames':_0x43f67c['getInt'](_0x3eb59c(0xf6)),'maxDataSize':_0x43f67c[_0x3eb59c(0xe5)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0x101)),'maxVariableSize':_0x43f67c['getInt'](_0x3eb59c(0xf0)),'maxWatchListVariableSize':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0xe8))},'agentLog':{'collectCooldownMs':_0x43f67c[_0x3eb59c(0xe5)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x43f67c['getFirst'](_0x3eb59c(0xdd)),'agentLogLevel':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0xf4)),'agentLogMaxFileCount':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0xe4)),'agentLogMaxFileSizeMb':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0xf5)),'maxLogFileBytes':_0x43f67c[_0x3eb59c(0xe5)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x43f67c[_0x3eb59c(0xf2)](_0x3eb59c(0xee)),'maxCPUCost':_0x43f67c['getFloat'](_0x3eb59c(0xfb)),'maxConditionCost':_0x43f67c[_0x3eb59c(0xec)](_0x3eb59c(0x104)),'maxDynamicLogRate':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0xe6)),'maxDynamicLogByteRate':_0x43f67c['getInt'](_0x3eb59c(0xeb)),'quotaRecoverySeconds':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0x105))&&_0x43f67c['getInt'](_0x3eb59c(0x105))/0x3e8},'fetchBreakpointsOnce':_0x43f67c[_0x3eb59c(0xf2)]('fetch_breakpoints_once'),'extraPaths':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0xef))?.['split'](',')?.['map'](_0x5bae35=>_0x5bae35[_0x3eb59c(0xdf)]()),'proxy':{'host':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0x107)),'port':_0x43f67c[_0x3eb59c(0xe5)](_0x3eb59c(0xf1)),'username':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0xd7)),'password':_0x43f67c[_0x3eb59c(0xd9)](_0x3eb59c(0xfa))}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a13_0x5a1ecd=a13_0x2a9f;(function(_0x177aca,_0x379bba){const _0x5e7ccb=a13_0x2a9f,_0x456f57=_0x177aca();while(!![]){try{const _0x372739=-parseInt(_0x5e7ccb(0xb4))/0x1+parseInt(_0x5e7ccb(0xbf))/0x2+-parseInt(_0x5e7ccb(0xb9))/0x3+-parseInt(_0x5e7ccb(0xb5))/0x4+-parseInt(_0x5e7ccb(0xc4))/0x5+-parseInt(_0x5e7ccb(0xb6))/0x6+parseInt(_0x5e7ccb(0xb8))/0x7*(parseInt(_0x5e7ccb(0xbe))/0x8);if(_0x372739===_0x379bba)break;else _0x456f57['push'](_0x456f57['shift']());}catch(_0x3b1842){_0x456f57['push'](_0x456f57['shift']());}}}(a13_0x3aff,0x95c3c));Object[a13_0x5a1ecd(0xbc)](exports,a13_0x5a1ecd(0xc1),{'value':!![]}),exports[a13_0x5a1ecd(0xb3)]=exports['Platforms']=void 0x0;function a13_0x2a9f(_0xa5afab,_0x671bc){const _0xcc549d=a13_0x3aff();return a13_0x2a9f=function(_0x11cea3,_0x5678ce){_0x11cea3=_0x11cea3-0xb3;let _0x3aff41=_0xcc549d[_0x11cea3];return _0x3aff41;},a13_0x2a9f(_0xa5afab,_0x671bc);}var Platforms;(function(_0x15bc98){const _0x4be093=a13_0x5a1ecd,_0x40c495=(function(){let _0x257a12=!![];return function(_0x2089db,_0x46ed16){const _0x3f2efa=_0x257a12?function(){const _0x153e7c=a13_0x2a9f;if(_0x46ed16){const _0x4b295b=_0x46ed16[_0x153e7c(0xc6)](_0x2089db,arguments);return _0x46ed16=null,_0x4b295b;}}:function(){};return _0x257a12=![],_0x3f2efa;};}()),_0x540bd7=_0x40c495(this,function(){const _0x536a73=a13_0x2a9f;return _0x540bd7[_0x536a73(0xc3)]()[_0x536a73(0xb7)](_0x536a73(0xc2))[_0x536a73(0xc3)]()[_0x536a73(0xc5)](_0x540bd7)[_0x536a73(0xb7)]('(((.+)+)+)+$');});_0x540bd7(),_0x15bc98['CLOUD_FUNCTION']='cloud_function',_0x15bc98[_0x4be093(0xba)]=_0x4be093(0xbd);}(Platforms||(exports[a13_0x5a1ecd(0xc0)]=Platforms={})));const getPlatform=()=>{const _0x128a71=a13_0x5a1ecd,{FUNCTION_NAME:_0x1cdf4f,FUNCTION_TARGET:_0x4701dd}=process[_0x128a71(0xbb)];if(_0x1cdf4f||_0x4701dd)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x128a71(0xba)];};exports[a13_0x5a1ecd(0xb3)]=getPlatform;function a13_0x3aff(){const _0x29b988=['constructor','apply','getPlatform','150216WMNTxh','4096376PfbEaL','2488758baZztw','search','7476HUMxrp','244704joodOe','DEFAULT','env','defineProperty','default','11008lbpUnJ','2376616XEdAra','Platforms','__esModule','(((.+)+)+)+$','toString','1868845icNDza'];a13_0x3aff=function(){return _0x29b988;};return a13_0x3aff();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x497d6d=a14_0x4ab1;(function(_0x3d0750,_0x5f1bd7){const _0x3aeb54=a14_0x4ab1,_0x5f0401=_0x3d0750();while(!![]){try{const _0x12f603=parseInt(_0x3aeb54(0x1e0))/0x1*(-parseInt(_0x3aeb54(0x1df))/0x2)+-parseInt(_0x3aeb54(0x1d8))/0x3+parseInt(_0x3aeb54(0x1da))/0x4+-parseInt(_0x3aeb54(0x1e1))/0x5+-parseInt(_0x3aeb54(0x1dc))/0x6+-parseInt(_0x3aeb54(0x1dd))/0x7+parseInt(_0x3aeb54(0x1d4))/0x8*(parseInt(_0x3aeb54(0x1d3))/0x9);if(_0x12f603===_0x5f1bd7)break;else _0x5f0401['push'](_0x5f0401['shift']());}catch(_0x54bd00){_0x5f0401['push'](_0x5f0401['shift']());}}}(a14_0x10e9,0xa6289));const a14_0x583d8f=(function(){let _0x33478c=!![];return function(_0x2bc12e,_0x1cc0ea){const _0x2a6464=_0x33478c?function(){const _0x5f934b=a14_0x4ab1;if(_0x1cc0ea){const _0xf2d22d=_0x1cc0ea[_0x5f934b(0x1d5)](_0x2bc12e,arguments);return _0x1cc0ea=null,_0xf2d22d;}}:function(){};return _0x33478c=![],_0x2a6464;};}()),a14_0x15880c=a14_0x583d8f(this,function(){const _0x11ebf5=a14_0x4ab1;return a14_0x15880c[_0x11ebf5(0x1db)]()[_0x11ebf5(0x1d7)](_0x11ebf5(0x1d9))[_0x11ebf5(0x1db)]()[_0x11ebf5(0x1d6)](a14_0x15880c)[_0x11ebf5(0x1d7)](_0x11ebf5(0x1d9));});a14_0x15880c();'use strict';function a14_0x4ab1(_0x190187,_0x3e6c1e){const _0x2bd2fd=a14_0x10e9();return a14_0x4ab1=function(_0x15880c,_0x583d8f){_0x15880c=_0x15880c-0x1d3;let _0x10e95b=_0x2bd2fd[_0x15880c];return _0x10e95b;},a14_0x4ab1(_0x190187,_0x3e6c1e);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a14_0x497d6d(0x1de)]=void 0x0;const mapSubtract=(_0x545df1,_0x26cfc0)=>{const _0x319689=[];for(const _0x5bb4f8 in _0x545df1){!_0x26cfc0[_0x5bb4f8]&&_0x319689['push'](_0x545df1[_0x5bb4f8]);}return _0x319689;};exports[a14_0x497d6d(0x1de)]=mapSubtract;function a14_0x10e9(){const _0x43c28b=['3796065HXniGe','mapSubtract','293340rJuvuW','4MXOAet','5295755KGBJRm','20229147bqVVqK','8daMhhA','apply','constructor','search','1866870eGOtIP','(((.+)+)+)+$','4987272pzzmvI','toString','21000refIZB'];a14_0x10e9=function(){return _0x43c28b;};return a14_0x10e9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x9e3302=a15_0x5d54;(function(_0x48f10b,_0x57f1bd){const _0x1f433f=a15_0x5d54,_0x59b265=_0x48f10b();while(!![]){try{const _0x51019b=-parseInt(_0x1f433f(0x183))/0x1+-parseInt(_0x1f433f(0x15c))/0x2+parseInt(_0x1f433f(0x178))/0x3+parseInt(_0x1f433f(0x15d))/0x4*(-parseInt(_0x1f433f(0x158))/0x5)+-parseInt(_0x1f433f(0x180))/0x6+-parseInt(_0x1f433f(0x159))/0x7*(parseInt(_0x1f433f(0x17e))/0x8)+parseInt(_0x1f433f(0x184))/0x9;if(_0x51019b===_0x57f1bd)break;else _0x59b265['push'](_0x59b265['shift']());}catch(_0x368876){_0x59b265['push'](_0x59b265['shift']());}}}(a15_0x46ba,0x492a0));const a15_0x91aac5=(function(){let _0x46084e=!![];return function(_0x5cc68e,_0x5b8946){const _0x3beb52=_0x46084e?function(){if(_0x5b8946){const _0x4e842f=_0x5b8946['apply'](_0x5cc68e,arguments);return _0x5b8946=null,_0x4e842f;}}:function(){};return _0x46084e=![],_0x3beb52;};}()),a15_0x2c8881=a15_0x91aac5(this,function(){const _0x595f14=a15_0x5d54;return a15_0x2c8881[_0x595f14(0x177)]()[_0x595f14(0x164)](_0x595f14(0x173))['toString']()['constructor'](a15_0x2c8881)[_0x595f14(0x164)](_0x595f14(0x173));});function a15_0x5d54(_0xb95896,_0x5d1872){const _0x5eec6=a15_0x46ba();return a15_0x5d54=function(_0x2c8881,_0x91aac5){_0x2c8881=_0x2c8881-0x154;let _0x46ba58=_0x5eec6[_0x2c8881];return _0x46ba58;},a15_0x5d54(_0xb95896,_0x5d1872);}function a15_0x46ba(){const _0x5933dd=['search','__esModule','agentConfigFile','metadata','forEach','version','LIGHTRUN_METADATA_FILE','unversioned','service','validateSync','message','agentLogMaxFileCount','LIGHTRUN_PROXY_HOST','defaultConfig','LIGHTRUN_API_ENDPOINT','(((.+)+)+)+$','split','agentLog','serviceContext','toString','199458gLvCeG','defineProperty','AGENT_LOG_TARGET_DIR','getAgentConfig','AGENT_LOG_LEVEL','LIGHTRUN_INIT_WAIT_TIME_MS','40dUoRYr','LIGHTRUN_TAGS','1844466NVRBqc','LIGHTRUN_PROXY_PASSWORD','K_SERVICE','306950jBYFUl','11577591xCTSsT','LIGHTRUN_PROXY_USERNAME','LIGHTRUN_STD_ERR_THRESHOLD','K_REVISION','agentLogLevel','inner','validateConfig','AGENT_LOG_MAX_FILE_SIZE_MB','path','normalizeConfig','agentLogMaxFileSizeMb','GAE_VERSION','registration','GAE_DEPLOYMENT_ID','10KPHGke','483182JkoYFm','NO_CHECK_CERTIFICATE','GAE_MODULE_VERSION','50504qqQqwr','136924vfYhZt','getBooleanValue','env','LIGHTRUN_WAIT_FOR_INIT','AGENT_LOG_MAX_FILE_COUNT','LIGHTRUN_SECRET','./getAgentConfig'];a15_0x46ba=function(){return _0x5933dd;};return a15_0x46ba();}a15_0x2c8881();'use strict';Object[a15_0x9e3302(0x179)](exports,a15_0x9e3302(0x165),{'value':!![]}),exports[a15_0x9e3302(0x18d)]=exports[a15_0x9e3302(0x18a)]=void 0x0;const extend=require('extend'),config_1=require('../config'),utils_1=require('../util/utils'),getAgentConfig_1=require(a15_0x9e3302(0x163)),validateConfig=_0xc38a58=>{const _0x180172=a15_0x9e3302,_0x2aa512={};try{config_1['configSchema'][_0x180172(0x16d)](_0xc38a58,{'abortEarly':![]});}catch(_0x54003a){_0x54003a[_0x180172(0x189)]['filter'](_0x5d5470=>_0x5d5470['path']&&_0x5d5470[_0x180172(0x16e)])[_0x180172(0x168)](_0x125a83=>{const _0x55fe4f=_0x180172;_0x2aa512[_0x125a83[_0x55fe4f(0x18c)]]=_0x125a83[_0x55fe4f(0x16e)];});}return _0x2aa512;};exports['validateConfig']=validateConfig;const normalizeConfig=_0x509d4a=>{const _0x6053bc=a15_0x9e3302,_0x2016da={'serviceContext':{'service':process[_0x6053bc(0x15f)]['GAE_SERVICE']||process[_0x6053bc(0x15f)]['GAE_MODULE_NAME']||process[_0x6053bc(0x15f)][_0x6053bc(0x182)],'version':process[_0x6053bc(0x15f)][_0x6053bc(0x155)]||process['env'][_0x6053bc(0x15b)]||process[_0x6053bc(0x15f)][_0x6053bc(0x187)],'minorVersion_':process[_0x6053bc(0x15f)][_0x6053bc(0x157)]||process[_0x6053bc(0x15f)]['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x6053bc(0x15f)][_0x6053bc(0x16a)],'registration':{}},'lightrunSecret':process[_0x6053bc(0x15f)][_0x6053bc(0x162)],'apiEndpoint':process[_0x6053bc(0x15f)][_0x6053bc(0x172)],'noCheckCertificate':(0x0,utils_1[_0x6053bc(0x15e)])(process['env'][_0x6053bc(0x15a)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x6053bc(0x15e)])(process[_0x6053bc(0x15f)]['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1[_0x6053bc(0x15e)])(process[_0x6053bc(0x15f)][_0x6053bc(0x160)]),'lightrunInitWaitTimeMs':process[_0x6053bc(0x15f)][_0x6053bc(0x17d)],'agentLog':_0x509d4a?.['agentLog']||{},'proxy':{'host':process['env'][_0x6053bc(0x170)],'port':parseInt(process['env']['LIGHTRUN_PROXY_PORT']||'')||undefined,'username':process[_0x6053bc(0x15f)][_0x6053bc(0x185)],'password':process[_0x6053bc(0x15f)][_0x6053bc(0x181)]}};process[_0x6053bc(0x15f)][_0x6053bc(0x186)]!==undefined&&(_0x2016da['agentLog']['stdErrThreshold']=process[_0x6053bc(0x15f)][_0x6053bc(0x186)]);process['env'][_0x6053bc(0x17c)]!==undefined&&(_0x2016da[_0x6053bc(0x175)][_0x6053bc(0x188)]=process[_0x6053bc(0x15f)][_0x6053bc(0x17c)]);process[_0x6053bc(0x15f)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x2016da['agentLog']['agentLogTargetDir']=process[_0x6053bc(0x15f)][_0x6053bc(0x17a)]);process['env'][_0x6053bc(0x161)]!==undefined&&(_0x2016da['agentLog'][_0x6053bc(0x16f)]=parseInt(process[_0x6053bc(0x15f)][_0x6053bc(0x161)]));process[_0x6053bc(0x15f)][_0x6053bc(0x18b)]!==undefined&&(_0x2016da[_0x6053bc(0x175)][_0x6053bc(0x154)]=parseInt(process[_0x6053bc(0x15f)][_0x6053bc(0x18b)]));process[_0x6053bc(0x15f)]['FUNCTION_NAME']&&(_0x2016da[_0x6053bc(0x176)][_0x6053bc(0x16c)]=process[_0x6053bc(0x15f)]['FUNCTION_NAME'],_0x2016da['serviceContext'][_0x6053bc(0x169)]=_0x6053bc(0x16b));process[_0x6053bc(0x15f)]['LIGHTRUN_TAGS']&&(_0x2016da[_0x6053bc(0x167)][_0x6053bc(0x156)]={'tags':process[_0x6053bc(0x15f)][_0x6053bc(0x17f)][_0x6053bc(0x174)](',')});const _0x4ff633=(0x0,getAgentConfig_1[_0x6053bc(0x17b)])(process[_0x6053bc(0x15f)]['LIGHTRUN_AGENT_CONFIG']||_0x509d4a?.['agentConfigFile']||config_1['defaultConfig'][_0x6053bc(0x166)]),_0x20fdca=extend(!![],{},config_1[_0x6053bc(0x171)],_0x4ff633,_0x509d4a,_0x2016da),_0x26c569=(0x0,exports['validateConfig'])(_0x20fdca);return{..._0x20fdca,'errors':_0x26c569};};exports[a15_0x9e3302(0x18d)]=normalizeConfig;
|