lightrun 1.35.0 → 1.36.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
|
-
const
|
|
1
|
+
const a0_0x30e0d9=a0_0x3a16;function a0_0x3a16(_0x35bc8e,_0xee4802){const _0x598dfe=a0_0x1068();return a0_0x3a16=function(_0xe1ac6f,_0x70da24){_0xe1ac6f=_0xe1ac6f-0x82;let _0x10689d=_0x598dfe[_0xe1ac6f];return _0x10689d;},a0_0x3a16(_0x35bc8e,_0xee4802);}(function(_0x3751d4,_0x43a616){const _0x186b89=a0_0x3a16,_0x4a75ad=_0x3751d4();while(!![]){try{const _0x1b993c=parseInt(_0x186b89(0x85))/0x1+-parseInt(_0x186b89(0x92))/0x2*(-parseInt(_0x186b89(0x9b))/0x3)+parseInt(_0x186b89(0x91))/0x4*(-parseInt(_0x186b89(0x9d))/0x5)+parseInt(_0x186b89(0x8b))/0x6*(parseInt(_0x186b89(0x95))/0x7)+parseInt(_0x186b89(0x96))/0x8+parseInt(_0x186b89(0x94))/0x9+-parseInt(_0x186b89(0x98))/0xa;if(_0x1b993c===_0x43a616)break;else _0x4a75ad['push'](_0x4a75ad['shift']());}catch(_0x2bd9ef){_0x4a75ad['push'](_0x4a75ad['shift']());}}}(a0_0x1068,0x2a18d));const a0_0x70da24=(function(){let _0x5ee517=!![];return function(_0x21c8e0,_0xf661f9){const _0x3598f9=_0x5ee517?function(){const _0x28c5bd=a0_0x3a16;if(_0xf661f9){const _0x33f17b=_0xf661f9[_0x28c5bd(0x97)](_0x21c8e0,arguments);return _0xf661f9=null,_0x33f17b;}}:function(){};return _0x5ee517=![],_0x3598f9;};}()),a0_0xe1ac6f=a0_0x70da24(this,function(){const _0x38d44d=a0_0x3a16;return a0_0xe1ac6f[_0x38d44d(0x87)]()[_0x38d44d(0x9c)](_0x38d44d(0x83))[_0x38d44d(0x87)]()['constructor'](a0_0xe1ac6f)[_0x38d44d(0x9c)]('(((.+)+)+)+$');});a0_0xe1ac6f();'use strict';Object[a0_0x30e0d9(0x90)](exports,a0_0x30e0d9(0x8d),{'value':!![]});const winston_1=require('winston'),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require(a0_0x30e0d9(0x8c)),{combine,printf,timestamp}=winston_1[a0_0x30e0d9(0x93)],{Console}=winston_1[a0_0x30e0d9(0x9a)],now=new Date();function getLoggerTransport(_0x5064a2,_0xadfae1,_0x34ce2f){const _0x6e6359=a0_0x30e0d9;if(_0x5064a2)return new DailyRotateFile({'dirname':_0x5064a2,'filename':AgentLogger[_0x6e6359(0x8f)],'datePattern':now['getFullYear']()[_0x6e6359(0x87)]()+now[_0x6e6359(0xa4)]()['toString']()[_0x6e6359(0xa0)](0x2,'0')+now[_0x6e6359(0x9e)]()[_0x6e6359(0x87)]()[_0x6e6359(0xa0)](0x2,'0')+'-'+now['getHours']()[_0x6e6359(0x87)]()[_0x6e6359(0xa0)](0x2,'0')+now['getMinutes']()['toString']()[_0x6e6359(0xa0)](0x2,'0')+now[_0x6e6359(0x89)]()[_0x6e6359(0x87)]()[_0x6e6359(0xa0)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x6e6359(0x8f)],'maxSize':_0xadfae1+'m','maxFiles':_0x34ce2f,'extension':_0x6e6359(0x88)});return new Console();}class AgentLogger{constructor(_0x52d681,_0x5643f1,_0x11f4e6,_0x4d014a,_0x5f3217){const _0x2afc42=a0_0x30e0d9;this['logger']=(0x0,winston_1[_0x2afc42(0x84)])({'level':_0x4d014a,'transports':[getLoggerTransport(_0x52d681,_0x5643f1,_0x11f4e6),new Console({'level':_0x5f3217,'stderrLevels':['debug','info',_0x2afc42(0xa2),_0x2afc42(0x99)]})],'format':combine(timestamp(),printf(({level:_0x532f27,message:_0x5d87fc,timestamp:_0x4913c0})=>{const _0x5b1696=_0x2afc42;return _0x4913c0+'\x20['+_0x532f27[_0x5b1696(0x8a)]()+_0x5b1696(0xa1)+_0x5d87fc;}),winston_1[_0x2afc42(0x93)]['json']())});}static['createLogger'](_0x513eff,_0x2da89a,_0xa28d87,_0x4e8a08,_0x55a24e){return new AgentLogger(_0x513eff,_0x2da89a,_0xa28d87,_0x4e8a08,_0x55a24e);}[a0_0x30e0d9(0x82)](..._0x4c2ab8){const _0x54caaa=a0_0x30e0d9;this[_0x54caaa(0x8e)]['debug'](_0x4c2ab8);}['info'](..._0x31b4c5){const _0x112808=a0_0x30e0d9;this[_0x112808(0x8e)]['info'](_0x31b4c5);}[a0_0x30e0d9(0xa2)](..._0xd6150e){const _0x1779b4=a0_0x30e0d9;this[_0x1779b4(0x8e)][_0x1779b4(0xa2)](_0xd6150e);}[a0_0x30e0d9(0x99)](..._0x147ebf){const _0x366849=a0_0x30e0d9;this[_0x366849(0x8e)]['error'](_0x147ebf);}}function a0_0x1068(){const _0x5da34e=['109390haTXWY','getDate','lightrun_nodejs_agent.','padStart',']\x20-\x20','warn','.%DATE%','getMonth','debug','(((.+)+)+)+$','createLogger','21529NYYqPv','pid','toString','.log','getSeconds','toUpperCase','6MPjiBo','process','__esModule','logger','AGENT_LOG_FILE','defineProperty','28rmwhXK','291926qZAsmZ','format','1684170lUYWui','1819181KPFEJw','2046576bSEZxs','apply','5447520YmTPiV','error','transports','3dFysFG','search'];a0_0x1068=function(){return _0x5da34e;};return a0_0x1068();}AgentLogger[a0_0x30e0d9(0x8f)]=a0_0x30e0d9(0x9f)+process_1[a0_0x30e0d9(0x86)]+a0_0x30e0d9(0xa3),exports['default']=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x5079f2=a1_0x14b1;(function(_0x2b7225,_0x1d808c){const _0x1383eb=a1_0x14b1,_0xc0fcbb=_0x2b7225();while(!![]){try{const _0x3ab4ba=-parseInt(_0x1383eb(0xb6))/0x1*(-parseInt(_0x1383eb(0xb7))/0x2)+-parseInt(_0x1383eb(0xc9))/0x3*(parseInt(_0x1383eb(0xb5))/0x4)+-parseInt(_0x1383eb(0xce))/0x5+parseInt(_0x1383eb(0xb8))/0x6*(parseInt(_0x1383eb(0xc6))/0x7)+parseInt(_0x1383eb(0xcc))/0x8*(-parseInt(_0x1383eb(0xb9))/0x9)+-parseInt(_0x1383eb(0xcd))/0xa+parseInt(_0x1383eb(0xbc))/0xb*(parseInt(_0x1383eb(0xc2))/0xc);if(_0x3ab4ba===_0x1d808c)break;else _0xc0fcbb['push'](_0xc0fcbb['shift']());}catch(_0x872450){_0xc0fcbb['push'](_0xc0fcbb['shift']());}}}(a1_0x8cd4,0xd2153));const a1_0x33978f=(function(){let _0x266efa=!![];return function(_0x56015b,_0x458ff9){const _0x313db3=_0x266efa?function(){if(_0x458ff9){const _0x509873=_0x458ff9['apply'](_0x56015b,arguments);return _0x458ff9=null,_0x509873;}}:function(){};return _0x266efa=![],_0x313db3;};}()),a1_0xf5031a=a1_0x33978f(this,function(){const _0x9f7325=a1_0x14b1;return a1_0xf5031a['toString']()[_0x9f7325(0xc8)]('(((.+)+)+)+$')[_0x9f7325(0xca)]()['constructor'](a1_0xf5031a)['search'](_0x9f7325(0xc7));});a1_0xf5031a();function a1_0x14b1(_0x1bc6f5,_0x169ed1){const _0x7ca946=a1_0x8cd4();return a1_0x14b1=function(_0xf5031a,_0x33978f){_0xf5031a=_0xf5031a-0xb5;let _0x8cd41f=_0x7ca946[_0xf5031a];return _0x8cd41f;},a1_0x14b1(_0x1bc6f5,_0x169ed1);}'use strict';Object[a1_0x5079f2(0xc1)](exports,a1_0x5079f2(0xcb),{'value':!![]}),exports[a1_0x5079f2(0xbb)]=void 0x0;class BlocklistingPatterns{constructor(_0x6f2e8c){const _0x253bbf=a1_0x5079f2;this[_0x253bbf(0xbd)]=[],this[_0x253bbf(0xba)]=[],_0x6f2e8c&&_0x6f2e8c[_0x253bbf(0xbf)](_0x198866=>{const _0x378f8f=_0x253bbf;_0x198866&&(_0x198866[0x0]==='!'?this[_0x378f8f(0xbd)][_0x378f8f(0xc5)](new RegExp(_0x198866[_0x378f8f(0xc3)](0x1))):this[_0x378f8f(0xba)][_0x378f8f(0xc5)](new RegExp(_0x198866)));});}['matches'](_0xeb2d22){const _0x6047c4=a1_0x5079f2,_0x3afef2=_0x530276=>_0xeb2d22[_0x6047c4(0xc0)](_0x530276);return this[_0x6047c4(0xbd)][_0x6047c4(0xbe)]!==0x0&&!this[_0x6047c4(0xbd)][_0x6047c4(0xc4)](_0x3afef2)||this[_0x6047c4(0xba)][_0x6047c4(0xc4)](_0x3afef2);}}exports[a1_0x5079f2(0xbb)]=BlocklistingPatterns;function a1_0x8cd4(){const _0x31eb1a=['126774VgBezH','patterns','BlocklistingPatterns','11lNSauH','inversePatterns','length','forEach','match','defineProperty','29161548BcKIhT','substring','some','push','392868RASjdN','(((.+)+)+)+$','search','292884AxIgZw','toString','__esModule','240FTtVQz','8309080vZTrWI','5888175VWnNko','44VvsmAA','77WSZpJI','13826vsgmaa','150ZlzrCT'];a1_0x8cd4=function(){return _0x31eb1a;};return a1_0x8cd4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x4ff5e3=a2_0x1fac;(function(_0x271ef9,_0x329f76){var _0x87e35b=a2_0x1fac,_0x139c1b=_0x271ef9();while(!![]){try{var _0x7ff2fe=parseInt(_0x87e35b(0xff))/0x1+-parseInt(_0x87e35b(0x10c))/0x2*(-parseInt(_0x87e35b(0x105))/0x3)+parseInt(_0x87e35b(0xfa))/0x4*(parseInt(_0x87e35b(0x104))/0x5)+parseInt(_0x87e35b(0x102))/0x6+parseInt(_0x87e35b(0x109))/0x7*(-parseInt(_0x87e35b(0x10b))/0x8)+-parseInt(_0x87e35b(0x10a))/0x9*(-parseInt(_0x87e35b(0xfc))/0xa)+-parseInt(_0x87e35b(0x101))/0xb*(parseInt(_0x87e35b(0x100))/0xc);if(_0x7ff2fe===_0x329f76)break;else _0x139c1b['push'](_0x139c1b['shift']());}catch(_0xc0e252){_0x139c1b['push'](_0x139c1b['shift']());}}}(a2_0x281d,0x252e7));function a2_0x281d(){var _0x6fe97=['7SseFNj','296721ghJzXj','1294232qDMLbR','134782dxsemP','value','1091900SJgAjU','constructor','60PUnPsI','DummyBlocklistManager','__esModule','8434hGWKAb','852QTsZJA','70763RXJUdZ','940872bPQtIB','search','5svvKmj','6dMgTPi','toString','shouldBlock','defineProperty'];a2_0x281d=function(){return _0x6fe97;};return a2_0x281d();}var a2_0x459add=(function(){var _0x9b1a0f=!![];return function(_0x56cfb4,_0x39c4aa){var _0x63f735=_0x9b1a0f?function(){if(_0x39c4aa){var _0xeb59b1=_0x39c4aa['apply'](_0x56cfb4,arguments);return _0x39c4aa=null,_0xeb59b1;}}:function(){};return _0x9b1a0f=![],_0x63f735;};}()),a2_0x395da8=a2_0x459add(this,function(){var _0x305b49=a2_0x1fac;return a2_0x395da8[_0x305b49(0x106)]()[_0x305b49(0x103)]('(((.+)+)+)+$')[_0x305b49(0x106)]()[_0x305b49(0xfb)](a2_0x395da8)[_0x305b49(0x103)]('(((.+)+)+)+$');});function a2_0x1fac(_0x2649f8,_0x21675d){var _0x3df593=a2_0x281d();return a2_0x1fac=function(_0x395da8,_0x459add){_0x395da8=_0x395da8-0xfa;var _0x281ded=_0x3df593[_0x395da8];return _0x281ded;},a2_0x1fac(_0x2649f8,_0x21675d);}a2_0x395da8();'use strict';Object[a2_0x4ff5e3(0x108)](exports,a2_0x4ff5e3(0xfe),{'value':!![]}),exports['DummyBlocklistManager']=void 0x0;class DummyBlocklistManager{constructor(_0x26ba79){var _0x1e273d=a2_0x4ff5e3;this[_0x1e273d(0x10d)]=_0x26ba79;}[a2_0x4ff5e3(0x107)](){var _0x3ba04d=a2_0x4ff5e3;return this[_0x3ba04d(0x10d)];}}exports[a2_0x4ff5e3(0xfd)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x25f04a=a3_0x2179;(function(_0x4286db,_0x448835){const _0x1b5454=a3_0x2179,_0x51b46e=_0x4286db();while(!![]){try{const _0x2c2fa9=parseInt(_0x1b5454(0x96))/0x1+-parseInt(_0x1b5454(0xa3))/0x2*(-parseInt(_0x1b5454(0xae))/0x3)+parseInt(_0x1b5454(0xb1))/0x4+-parseInt(_0x1b5454(0x9a))/0x5*(parseInt(_0x1b5454(0xab))/0x6)+-parseInt(_0x1b5454(0xb0))/0x7*(parseInt(_0x1b5454(0xaf))/0x8)+parseInt(_0x1b5454(0xa5))/0x9*(parseInt(_0x1b5454(0xa8))/0xa)+-parseInt(_0x1b5454(0xa6))/0xb*(parseInt(_0x1b5454(0x9d))/0xc);if(_0x2c2fa9===_0x448835)break;else _0x51b46e['push'](_0x51b46e['shift']());}catch(_0x3c8c54){_0x51b46e['push'](_0x51b46e['shift']());}}}(a3_0x2018,0xbccdf));const a3_0x3ce43e=(function(){let _0x4ab90e=!![];return function(_0x4c6dc1,_0x2d8a07){const _0x233bc6=_0x4ab90e?function(){if(_0x2d8a07){const _0x309cc4=_0x2d8a07['apply'](_0x4c6dc1,arguments);return _0x2d8a07=null,_0x309cc4;}}:function(){};return _0x4ab90e=![],_0x233bc6;};}()),a3_0x86665e=a3_0x3ce43e(this,function(){const _0x27d7c0=a3_0x2179;return a3_0x86665e[_0x27d7c0(0x99)]()[_0x27d7c0(0x9f)](_0x27d7c0(0x9e))[_0x27d7c0(0x99)]()[_0x27d7c0(0xaa)](a3_0x86665e)[_0x27d7c0(0x9f)](_0x27d7c0(0x9e));});function a3_0x2018(){const _0x4438ea=['defineProperty','blocklistExceptions','6502DrsqWK','config','153fBJtla','1793tMogZh','blocklist','583900IiRBmh','BlocklistingPatterns','constructor','336CLlFXN','stripWorkingDir','PatternsBlocklistManager','981kxtWpB','1323368vFbLjV','35KJbUOv','1036812ckSGBd','./blocklisting-patterns','1228607LEUgQi','shouldBlock','matches','toString','80360nDHwzX','isPathInCurrentWorkingDirectory','stripCurrentWorkingDirectory','76788dtmyHI','(((.+)+)+)+$','search','../util/utils'];a3_0x2018=function(){return _0x4438ea;};return a3_0x2018();}function a3_0x2179(_0x116296,_0x16b88e){const _0x56ba21=a3_0x2018();return a3_0x2179=function(_0x86665e,_0x3ce43e){_0x86665e=_0x86665e-0x96;let _0x20181a=_0x56ba21[_0x86665e];return _0x20181a;},a3_0x2179(_0x116296,_0x16b88e);}a3_0x86665e();'use strict';Object[a3_0x25f04a(0xa1)](exports,'__esModule',{'value':!![]}),exports[a3_0x25f04a(0xad)]=void 0x0;const blocklisting_patterns_1=require(a3_0x25f04a(0xb2)),utils=require(a3_0x25f04a(0xa0));class PatternsBlocklistManager{constructor(_0x427cd0,_0x35f7d4,_0x4971c1){const _0x198b35=a3_0x25f04a;this[_0x198b35(0xa7)]=new blocklisting_patterns_1[(_0x198b35(0xa9))](_0x427cd0),this[_0x198b35(0xa2)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x35f7d4),this[_0x198b35(0xa4)]=_0x4971c1;}[a3_0x25f04a(0x97)](_0x58d490){const _0x46ae85=a3_0x25f04a;_0x58d490=this[_0x46ae85(0xac)](_0x58d490);if(this[_0x46ae85(0xa2)]['matches'](_0x58d490))return![];return this[_0x46ae85(0xa7)][_0x46ae85(0x98)](_0x58d490);}[a3_0x25f04a(0xac)](_0x30ea74){const _0x12a027=a3_0x25f04a;if(utils[_0x12a027(0x9b)](_0x30ea74,this[_0x12a027(0xa4)]))return utils[_0x12a027(0x9c)](_0x30ea74,this['config']);return _0x30ea74;}}exports['PatternsBlocklistManager']=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x4cc1eb=a4_0x506e;(function(_0xbdc537,_0x2cd242){const _0x2e4293=a4_0x506e,_0x56f0bf=_0xbdc537();while(!![]){try{const _0x52c6c4=-parseInt(_0x2e4293(0xfe))/0x1+-parseInt(_0x2e4293(0xfa))/0x2+-parseInt(_0x2e4293(0x108))/0x3*(parseInt(_0x2e4293(0xed))/0x4)+-parseInt(_0x2e4293(0xee))/0x5+parseInt(_0x2e4293(0xff))/0x6*(-parseInt(_0x2e4293(0x105))/0x7)+-parseInt(_0x2e4293(0x10b))/0x8+parseInt(_0x2e4293(0x10a))/0x9*(parseInt(_0x2e4293(0x10c))/0xa);if(_0x52c6c4===_0x2cd242)break;else _0x56f0bf['push'](_0x56f0bf['shift']());}catch(_0x5dd21f){_0x56f0bf['push'](_0x56f0bf['shift']());}}}(a4_0x4573,0x65fea));const a4_0x3fdf8d=(function(){let _0xa383e2=!![];return function(_0x2c67d1,_0x220ee9){const _0x422a16=_0xa383e2?function(){const _0x47c387=a4_0x506e;if(_0x220ee9){const _0x2d6cb8=_0x220ee9[_0x47c387(0xf7)](_0x2c67d1,arguments);return _0x220ee9=null,_0x2d6cb8;}}:function(){};return _0xa383e2=![],_0x422a16;};}()),a4_0x339576=a4_0x3fdf8d(this,function(){const _0x47a71b=a4_0x506e;return a4_0x339576[_0x47a71b(0xf2)]()[_0x47a71b(0x107)]('(((.+)+)+)+$')[_0x47a71b(0xf2)]()[_0x47a71b(0xf3)](a4_0x339576)['search'](_0x47a71b(0xf6));});function a4_0x4573(){const _0x18a26a=['(((.+)+)+)+$','apply','none','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','1436172mUFYhF','exists','logMainConfigParams','app.lightrun.com','186168JqeClF','1158066vNHtaw','agentConfigFile','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','set','Production','.js','7LvzdCz','Agent\x20Configuration:\x20','search','327yOELmf','existsSync','1827SzlfHI','608712vrsTXG','89710jiEfKt','tmpdir','lightrunSecret','5180Mnhwwc','444170CtLRHH','agent.config','defaultConfig','!!!\x20NOT\x20SET\x20!!!','toString','constructor','debug','not\x20set!'];a4_0x4573=function(){return _0x18a26a;};return a4_0x4573();}a4_0x339576();function a4_0x506e(_0x8a2bec,_0x49ef87){const _0x5395a0=a4_0x4573();return a4_0x506e=function(_0x339576,_0x3fdf8d){_0x339576=_0x339576-0xeb;let _0x4573f3=_0x5395a0[_0x339576];return _0x4573f3;},a4_0x506e(_0x8a2bec,_0x49ef87);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x4cc1eb(0xfc)]=exports[a4_0x4cc1eb(0xf0)]=void 0x0;const os_1=require('os'),fs_1=require('fs');exports[a4_0x4cc1eb(0xf0)]={'workingDirectory':process['cwd'](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x4cc1eb(0x104)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x5,'maxProperties':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x4cc1eb(0xfd),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x4cc1eb(0xeb)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':'info','stdErrThreshold':a4_0x4cc1eb(0xf8),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x4cc1eb(0x101),a4_0x4cc1eb(0xf9)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x4cc1eb(0x103)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x4cc1eb(0xef),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};function logMainConfigParams(_0x2c7631,_0x50d397){const _0x4bf64b=a4_0x4cc1eb;let _0x42d6bf=_0x2c7631[_0x4bf64b(0x100)];_0x42d6bf?_0x42d6bf+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1[_0x4bf64b(0x109)])(_0x2c7631[_0x4bf64b(0x100)])?_0x4bf64b(0xfb):'DOESN\x27T\x20EXIST'):_0x42d6bf=_0x4bf64b(0xf5);const _0x35119c={..._0x2c7631,'lightrunSecret':_0x2c7631[_0x4bf64b(0xec)]?_0x4bf64b(0x102):_0x4bf64b(0xf1),'agentConfigFile':_0x42d6bf};_0x50d397[_0x4bf64b(0xf4)](_0x4bf64b(0x106),_0x35119c);}exports[a4_0x4cc1eb(0xfc)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x5461b2=a5_0x20ea;(function(_0x417f4b,_0x3e8288){var _0x3b0dac=a5_0x20ea,_0x414cc=_0x417f4b();while(!![]){try{var _0x3ef850=-parseInt(_0x3b0dac(0x149))/0x1+parseInt(_0x3b0dac(0x144))/0x2*(-parseInt(_0x3b0dac(0x158))/0x3)+parseInt(_0x3b0dac(0x14f))/0x4+parseInt(_0x3b0dac(0x151))/0x5*(-parseInt(_0x3b0dac(0x154))/0x6)+parseInt(_0x3b0dac(0x159))/0x7+-parseInt(_0x3b0dac(0x14a))/0x8*(parseInt(_0x3b0dac(0x153))/0x9)+parseInt(_0x3b0dac(0x14e))/0xa*(parseInt(_0x3b0dac(0x145))/0xb);if(_0x3ef850===_0x3e8288)break;else _0x414cc['push'](_0x414cc['shift']());}catch(_0x524e5d){_0x414cc['push'](_0x414cc['shift']());}}}(a5_0xb3e9,0xba970));var a5_0x2866e9=(function(){var _0x74a369=!![];return function(_0x3a3ac9,_0x48d476){var _0x5b65a1=_0x74a369?function(){if(_0x48d476){var _0x474a80=_0x48d476['apply'](_0x3a3ac9,arguments);return _0x48d476=null,_0x474a80;}}:function(){};return _0x74a369=![],_0x5b65a1;};}()),a5_0x54c455=a5_0x2866e9(this,function(){var _0x3bcfcb=a5_0x20ea;return a5_0x54c455[_0x3bcfcb(0x14d)]()[_0x3bcfcb(0x155)](_0x3bcfcb(0x15b))[_0x3bcfcb(0x14d)]()['constructor'](a5_0x54c455)[_0x3bcfcb(0x155)](_0x3bcfcb(0x15b));});a5_0x54c455();'use strict';Object[a5_0x5461b2(0x14b)](exports,a5_0x5461b2(0x148),{'value':!![]}),exports['ConfigurationProvider']=void 0x0;class ConfigurationProvider{constructor(_0x1ff0ad){var _0x904b85=a5_0x5461b2;this[_0x904b85(0x157)]=_0x1ff0ad;}['getMaxVariableSize'](){var _0xa1d996=a5_0x5461b2;return this[_0xa1d996(0x157)]['capture'][_0xa1d996(0x150)]||this[_0xa1d996(0x157)][_0xa1d996(0x14c)][_0xa1d996(0x146)];}[a5_0x5461b2(0x152)](){var _0x234ba8=a5_0x5461b2;return this[_0x234ba8(0x157)][_0x234ba8(0x14c)][_0x234ba8(0x147)];}['getMaxSnapshotBufferSize'](){var _0x3e2636=a5_0x5461b2;return this['resolvedDebugAgentConfig'][_0x3e2636(0x14c)]['maxDataSize']||this[_0x3e2636(0x157)][_0x3e2636(0x14c)][_0x3e2636(0x15a)];}}function a5_0x20ea(_0x113b81,_0x4edbd2){var _0x32a3de=a5_0xb3e9();return a5_0x20ea=function(_0x54c455,_0x2866e9){_0x54c455=_0x54c455-0x144;var _0xb3e95a=_0x32a3de[_0x54c455];return _0xb3e95a;},a5_0x20ea(_0x113b81,_0x4edbd2);}exports[a5_0x5461b2(0x156)]=ConfigurationProvider;function a5_0xb3e9(){var _0x1d5cca=['ConfigurationProvider','resolvedDebugAgentConfig','933XbTmyA','7132321FOFHkT','maxSnapshotBufferSize','(((.+)+)+)+$','5234GLyWOt','31537649vFdCfa','maxVariableSize','maxWatchListVariableSize','__esModule','749142kxJjxp','40MaVGBr','defineProperty','capture','toString','10KwHcjq','647444BCDPVe','maxStringLength','1115RxvoeW','getMaxWatchListVariableSize','440073BteAEd','39714PMAGAy','search'];a5_0xb3e9=function(){return _0x1d5cca;};return a5_0xb3e9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x2908f8=a6_0x12fa;(function(_0x214456,_0x3f511c){const _0x57645f=a6_0x12fa,_0x2e0930=_0x214456();while(!![]){try{const _0x1cf950=-parseInt(_0x57645f(0x142))/0x1*(-parseInt(_0x57645f(0x144))/0x2)+-parseInt(_0x57645f(0x143))/0x3*(-parseInt(_0x57645f(0x137))/0x4)+-parseInt(_0x57645f(0x14b))/0x5*(parseInt(_0x57645f(0x178))/0x6)+-parseInt(_0x57645f(0x16d))/0x7+-parseInt(_0x57645f(0x120))/0x8*(-parseInt(_0x57645f(0x176))/0x9)+-parseInt(_0x57645f(0x162))/0xa*(parseInt(_0x57645f(0x169))/0xb)+-parseInt(_0x57645f(0x134))/0xc;if(_0x1cf950===_0x3f511c)break;else _0x2e0930['push'](_0x2e0930['shift']());}catch(_0x8f33a9){_0x2e0930['push'](_0x2e0930['shift']());}}}(a6_0x41a9,0x2b093));const a6_0x49f205=(function(){let _0x3962eb=!![];return function(_0x9927b9,_0x5ba3d0){const _0x162c03=_0x3962eb?function(){const _0x327b6f=a6_0x12fa;if(_0x5ba3d0){const _0x1ef2b4=_0x5ba3d0[_0x327b6f(0x17b)](_0x9927b9,arguments);return _0x5ba3d0=null,_0x1ef2b4;}}:function(){};return _0x3962eb=![],_0x162c03;};}()),a6_0x4c95df=a6_0x49f205(this,function(){const _0x538435=a6_0x12fa;return a6_0x4c95df['toString']()[_0x538435(0x127)]('(((.+)+)+)+$')['toString']()[_0x538435(0x17c)](a6_0x4c95df)[_0x538435(0x127)](_0x538435(0x113));});a6_0x4c95df();'use strict';function a6_0x12fa(_0x314102,_0x2cf788){const _0x401a69=a6_0x41a9();return a6_0x12fa=function(_0x4c95df,_0x49f205){_0x4c95df=_0x4c95df-0x102;let _0x41a9dc=_0x401a69[_0x4c95df];return _0x41a9dc;},a6_0x12fa(_0x314102,_0x2cf788);}Object[a6_0x2908f8(0x14f)](exports,a6_0x2908f8(0x196),{'value':!![]}),exports[a6_0x2908f8(0x10a)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x2908f8(0x17a)),qs=require(a6_0x2908f8(0x10c)),fs_1=require('fs'),crypto_1=require(a6_0x2908f8(0x111)),zlib_1=require(a6_0x2908f8(0x15a)),stream_1=require('stream'),memory_streams_1=require(a6_0x2908f8(0x130)),tls_1=require(a6_0x2908f8(0x161)),extend=require('extend'),axios_1=require('axios'),https=require('https'),utils_1=require('./util/utils'),yaml=require(a6_0x2908f8(0x167)),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_0x2908f8(0x14d)]{constructor(_0x2ca654,_0x48d2da,_0x38019f){const _0x2c202a=a6_0x2908f8;super({'parent':_0x2ca654,'baseUrl':_0x2c202a(0x135)}),this[_0x2c202a(0x195)]=null,this[_0x2c202a(0x121)]=_0x48d2da,this[_0x2c202a(0x11e)]=[],this[_0x2c202a(0x181)]=_0x38019f;if(_0x48d2da[_0x2c202a(0x11a)])try{this['selfSignedCA']=(0x0,fs_1['readFileSync'])(_0x48d2da[_0x2c202a(0x11a)],'ascii');}catch(_0x165b34){_0x38019f[_0x2c202a(0x160)](_0x2c202a(0x150)+_0x48d2da['caPath']+_0x2c202a(0x164));}this['apiUrl']=_0x2c202a(0x128)+_0x48d2da['apiEndpoint']+_0x2c202a(0x166);}[a6_0x2908f8(0x105)](_0x5e49e2,_0x6da6a4){const _0x41a1c5=a6_0x2908f8,_0x4d6182={'uri':this[_0x41a1c5(0x16a)]+_0x41a1c5(0x105),'method':'POST','json':!![],'body':{'debuggee':_0x5e49e2}};this[_0x41a1c5(0x16e)](_0x4d6182,(_0x449fb5,_0x5bd6a2,_0x4b59ba)=>{const _0x5de1a7=_0x41a1c5;if(!_0x4b59ba)_0x6da6a4(_0x449fb5||new Error(_0x5de1a7(0x148)));else{if(_0x449fb5)_0x4b59ba['status']===HTTP_UPGRADE_REQUIRED&&_0x5bd6a2&&(_0x5e49e2['id']=_0x5bd6a2[_0x5de1a7(0x17d)]['id']),_0x6da6a4(_0x449fb5,_0x5bd6a2);else{if(_0x4b59ba[_0x5de1a7(0x190)]!==HTTP_SUCCESS)_0x6da6a4(new Error('unable\x20to\x20register,\x20status\x20'+_0x4b59ba['status']));else!(_0x5bd6a2===null||_0x5bd6a2===void 0x0?void 0x0:_0x5bd6a2['debuggee'])?_0x6da6a4(new Error(_0x5de1a7(0x11d))):(_0x5e49e2['id']=_0x5bd6a2[_0x5de1a7(0x17d)]['id'],_0x6da6a4(null,_0x5bd6a2));}}});}[a6_0x2908f8(0x13e)](_0xa4d6ae,_0x43be3d,_0x2a7cac){const _0x306be8=a6_0x2908f8,_0x4f9ae0=this;assert(_0xa4d6ae['id'],_0x306be8(0x118));const _0xfc2646={'successOnTimeout':!![]};_0x4f9ae0[_0x306be8(0x195)]&&(_0xfc2646['waitToken']=_0x4f9ae0['nextWaitToken']);const _0x5222b0=this['apiUrl']+encodeURIComponent(_0xa4d6ae['id'])+_0x306be8(0x16b)+qs[_0x306be8(0x157)](_0xfc2646);_0x4f9ae0[_0x306be8(0x16e)]({'uri':_0x5222b0,'json':!![]},(_0x1cc246,_0x12f695,_0x29e47c)=>{const _0x589f8a=_0x306be8;if(!_0x29e47c){_0x43be3d(_0x1cc246||new Error(_0x589f8a(0x148)));return;}else{if(!is2xx(_0x29e47c[_0x589f8a(0x190)])){_0x43be3d(new Error(_0x589f8a(0x123)+_0x29e47c['status']),_0x29e47c);return;}else _0x12f695&&(_0x4f9ae0[_0x589f8a(0x195)]=_0x12f695[_0x589f8a(0x195)]),_0x43be3d(null,_0x29e47c,_0x12f695);}},_0x2a7cac);}[a6_0x2908f8(0x18d)](_0x62c397,_0x21676b){const _0x3144df=a6_0x2908f8;assert(_0x62c397['id'],_0x3144df(0x118));try{const _0x4e2c35=JSON[_0x3144df(0x157)](_0x21676b),_0x39a249=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x4e2c35);if(_0x39a249>=this[_0x3144df(0x121)][_0x3144df(0x140)]){this[_0x3144df(0x181)][_0x3144df(0x160)]('breakpointId:\x20'+_0x21676b['id']+_0x3144df(0x145)+_0x39a249+_0x3144df(0x154)+this['config']['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this[_0x3144df(0x11e)][_0x3144df(0x172)]({'id':_0x21676b['id'],'serializedJson':_0x4e2c35,'number':0x0});if(!this[_0x3144df(0x14a)]){const _0x32b044=this;this[_0x3144df(0x14a)]=setTimeout(()=>_0x32b044[_0x3144df(0x194)][_0x3144df(0x149)](_0x32b044)(_0x62c397['id']),0x0);}}catch(_0x19c9ce){this[_0x3144df(0x181)][_0x3144df(0x13a)](_0x3144df(0x188)+_0x21676b['id']+'\x20and\x20enqueue\x20to\x20queue',_0x19c9ce);return;}}[a6_0x2908f8(0x193)](){const _0x2fa0a7=a6_0x2908f8;if(!this[_0x2fa0a7(0x14a)])return;clearTimeout(this[_0x2fa0a7(0x14a)]),this[_0x2fa0a7(0x14a)]=null;}[a6_0x2908f8(0x18c)](_0x5a0def,_0x341986){const _0x8621b4=a6_0x2908f8,_0x5b4664=this[_0x8621b4(0x16a)]+encodeURIComponent(_0x5a0def['id'])+_0x8621b4(0x18e),_0x24a58a={'uri':_0x5b4664,'method':_0x8621b4(0x15c),'json':!![]};this[_0x8621b4(0x181)][_0x8621b4(0x13c)](_0x8621b4(0x12f)),this[_0x8621b4(0x16e)](_0x24a58a,(_0x2e051c,_0x278ef1,_0x170b30)=>{const _0x32d3e6=_0x8621b4;(!_0x170b30||Math[_0x32d3e6(0x136)](_0x170b30[_0x32d3e6(0x190)]/0x64)!==0x2)&&this['logger']['warn'](_0x32d3e6(0x12b)+_0x2e051c),_0x341986(_0x2e051c);});}[a6_0x2908f8(0x103)](_0x2b60dd,_0x49ccd1,_0x14fced){const _0x42f569=a6_0x2908f8,_0x5d9c8f=this['apiUrl']+encodeURIComponent(_0x2b60dd['id'])+_0x42f569(0x10e),_0x2892a5={'uri':_0x5d9c8f,'method':_0x42f569(0x15c),'json':!![],'body':_0x49ccd1};this[_0x42f569(0x16e)](_0x2892a5,(_0x274cef,_0x1a4e4b,_0x525110)=>{const _0x27d836=_0x42f569;(!_0x525110||Math[_0x27d836(0x136)](_0x525110[_0x27d836(0x190)]/0x64)!==0x2)&&(this[_0x27d836(0x181)][_0x27d836(0x160)](_0x27d836(0x158)+_0x274cef),_0x14fced(_0x274cef));});}['sendAppOnlyBreakpointHitsToServer'](_0x3de206,_0x4eeeb3,_0x46d333){const _0x1fbd6d=a6_0x2908f8,_0x5a55d4=this[_0x1fbd6d(0x16a)]+encodeURIComponent(_0x3de206['id'])+_0x1fbd6d(0x186),_0x1ff619={'uri':_0x5a55d4,'method':_0x1fbd6d(0x15c),'json':!![],'body':_0x4eeeb3};this[_0x1fbd6d(0x16e)](_0x1ff619,(_0x27fdb5,_0x3d1ac1,_0x5bd469)=>{const _0x57a8f8=_0x1fbd6d;(!_0x5bd469||Math['floor'](_0x5bd469[_0x57a8f8(0x190)]/0x64)!==0x2)&&(this[_0x57a8f8(0x181)][_0x57a8f8(0x160)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x27fdb5),_0x46d333(_0x27fdb5));});}[a6_0x2908f8(0x125)](_0x60d998,_0x6ea7df,_0x149891){const _0xf90513=a6_0x2908f8;assert(_0x60d998['id'],_0xf90513(0x118));if(this[_0xf90513(0x117)]){const _0x1663e6=Date[_0xf90513(0x10d)](),_0x2913bd=this[_0xf90513(0x117)]+this[_0xf90513(0x121)][_0xf90513(0x131)][_0xf90513(0x183)];if(_0x1663e6<_0x2913bd){this['logger']['info'](_0xf90513(0x12d)+((_0x2913bd-_0x1663e6)/0x3e8+_0xf90513(0x175)));return;}}const _0x2e6bfa=(0x0,fs_1[_0xf90513(0x197)])(_0x149891)['size'],_0x3e2a83=Math[_0xf90513(0x115)](0x0,_0x2e6bfa-this[_0xf90513(0x121)][_0xf90513(0x131)][_0xf90513(0x15d)]),_0x38b128=(0x0,fs_1[_0xf90513(0x133)])(_0x149891,{'start':_0x3e2a83}),_0x4be1fc=(0x0,zlib_1[_0xf90513(0x17e)])(),_0x525afc=new memory_streams_1[(_0xf90513(0x163))](),_0x56eea4=this;_0x56eea4[_0xf90513(0x181)][_0xf90513(0x13c)](_0xf90513(0x106)+_0x149891+_0xf90513(0x104)+_0x6ea7df),(0x0,stream_1[_0xf90513(0x112)])(_0x38b128,_0x4be1fc,_0x525afc,_0x696b3d=>{const _0x1bc5cc=_0xf90513;if(_0x696b3d)_0x56eea4['logger'][_0x1bc5cc(0x13a)](_0x1bc5cc(0x19b)+_0x149891+':\x20'+_0x696b3d);else{const _0x2ec1fb={'uri':this['apiUrl']+encodeURIComponent(_0x60d998['id'])+_0x1bc5cc(0x18f)+_0x6ea7df,'method':_0x1bc5cc(0x141),'body':_0x525afc[_0x1bc5cc(0x159)]()};_0x56eea4[_0x1bc5cc(0x16e)](_0x2ec1fb,_0x27a692=>{const _0x3579bc=_0x1bc5cc;_0x27a692?_0x56eea4[_0x3579bc(0x181)][_0x3579bc(0x13a)](_0x3579bc(0x189)+_0x149891+_0x3579bc(0x165)+_0x6ea7df,_0x27a692):(_0x56eea4[_0x3579bc(0x181)]['info'](_0x3579bc(0x109)+_0x149891+_0x3579bc(0x165)+_0x6ea7df),_0x56eea4[_0x3579bc(0x117)]=Date[_0x3579bc(0x10d)]());});}});}['transmitBreakpointUpdates'](_0x2cd81f){const _0x2293d6=a6_0x2908f8;var _0x5c37e1;this[_0x2293d6(0x181)][_0x2293d6(0x13f)](_0x2293d6(0x12a)),this['transmissionTimeout']=undefined;const _0x160094=[];let _0x4af331=0x0;while(_0x160094[_0x2293d6(0x184)]<this[_0x2293d6(0x121)][_0x2293d6(0x153)]&&this[_0x2293d6(0x11e)][_0x2293d6(0x184)]>0x0){const _0x44411a=this[_0x2293d6(0x11e)][0x0],_0x498822=_0x44411a[_0x2293d6(0x14c)],_0x1bae00=(0x0,utils_1[_0x2293d6(0x179)])(_0x498822);_0x4af331+=_0x1bae00;if(_0x4af331<=this[_0x2293d6(0x121)][_0x2293d6(0x14e)])_0x160094['push'](_0x44411a),this['transmissionQueue'][_0x2293d6(0x19a)]();else{_0x1bae00>this[_0x2293d6(0x121)][_0x2293d6(0x14e)]&&_0x160094[_0x2293d6(0x184)]===0x0&&(this[_0x2293d6(0x181)][_0x2293d6(0x13f)](_0x2293d6(0x110)+_0x44411a['id']+_0x2293d6(0x11f)+this[_0x2293d6(0x121)][_0x2293d6(0x14e)]+_0x2293d6(0x12c)),_0x160094[_0x2293d6(0x172)](_0x44411a),this['transmissionQueue'][_0x2293d6(0x19a)]());break;}}if(!_0x160094)return;const _0x1b910a=_0x160094[_0x2293d6(0x10f)](_0x1dfead=>_0x1dfead['id']),_0x1ebf3a={'uri':this[_0x2293d6(0x16a)]+encodeURIComponent(_0x2cd81f)+_0x2293d6(0x16c),'json':!![],'method':_0x2293d6(0x141),'body':'['+_0x160094[_0x2293d6(0x10f)](_0x5a350c=>_0x5a350c[_0x2293d6(0x14c)])[_0x2293d6(0x18b)](',')+']'},_0x4a77e1=this;try{this['makeRequest'](_0x1ebf3a,(_0x3c419b,_0x1da59f,_0x5f164a)=>{const _0x1fd1f2=_0x2293d6,_0x19a06a=_0x5f164a===null||_0x5f164a===void 0x0?void 0x0:_0x5f164a['status'];_0x4a77e1[_0x1fd1f2(0x181)][_0x1fd1f2(0x13f)](_0x1fd1f2(0x119)+_0x1b910a+_0x1fd1f2(0x114)+_0x19a06a);if(_0x3c419b||!_0x19a06a||Math['floor'](_0x19a06a/0x64)!==0x2){const _0x4a3fa4=_0x19a06a&&(_0x19a06a>=0x1f4||_0x19a06a===0x198);if(_0x4a3fa4){_0x4a77e1[_0x1fd1f2(0x181)][_0x1fd1f2(0x160)](_0x1fd1f2(0x102)+_0x1b910a+_0x1fd1f2(0x171)+_0x19a06a+_0x1fd1f2(0x129)+_0x3c419b);for(const _0x28a032 of _0x160094){_0x28a032[_0x1fd1f2(0x192)]<MAX_FAILED_SEND_ATTEMPTS?_0x4a77e1[_0x1fd1f2(0x11e)][_0x1fd1f2(0x172)]({..._0x28a032,'number':_0x28a032['number']+0x1}):_0x4a77e1[_0x1fd1f2(0x181)][_0x1fd1f2(0x160)](_0x1fd1f2(0x126)+_0x28a032['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x4a77e1[_0x1fd1f2(0x181)]['warn'](_0x1fd1f2(0x156)+_0x1b910a+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x19a06a+_0x1fd1f2(0x129)+_0x3c419b);}else _0x4a77e1['logger'][_0x1fd1f2(0x13c)](_0x1fd1f2(0x119)+_0x1b910a+'\x20transmitted\x20successfully');_0x4a77e1[_0x1fd1f2(0x11e)]['length']>0x0&&(_0x4a77e1[_0x1fd1f2(0x14a)]=setTimeout(()=>_0x4a77e1[_0x1fd1f2(0x194)][_0x1fd1f2(0x149)](_0x4a77e1)(_0x2cd81f),0x0));});}catch(_0x4698ba){this['logger'][_0x2293d6(0x160)](_0x2293d6(0x156)+_0x1b910a+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4698ba+_0x2293d6(0x170)+((_0x5c37e1=_0x4698ba[_0x2293d6(0x15e)])===null||_0x5c37e1===void 0x0?void 0x0:_0x5c37e1['message'])),_0x4a77e1[_0x2293d6(0x11e)][_0x2293d6(0x184)]>0x0&&(_0x4a77e1[_0x2293d6(0x14a)]=setTimeout(()=>_0x4a77e1[_0x2293d6(0x194)][_0x2293d6(0x149)](_0x4a77e1)(_0x2cd81f),0x0));}}async[a6_0x2908f8(0x151)](_0x2e65fc){const _0x4e051f=a6_0x2908f8;this[_0x4e051f(0x181)][_0x4e051f(0x13c)](_0x4e051f(0x155));const _0x5f59b4=this[_0x4e051f(0x16a)]+encodeURIComponent(_0x2e65fc)+'/blacklist?successOnTimeout=true',{error:_0x18009d,data:_0x29f5ee}=await this[_0x4e051f(0x16e)]({'uri':_0x5f59b4,'json':!![]});if(_0x18009d)return Promise[_0x4e051f(0x124)](_0x18009d);return yaml[_0x4e051f(0x182)](_0x29f5ee)||{};}[a6_0x2908f8(0x16e)](_0x29588b,_0x255e52,_0x672ed2,_0x3f5169){const _0x57c2cc=a6_0x2908f8,_0xb5b98c={'Content-Type':_0x3f5169?_0x3f5169:_0x57c2cc(0x173),'Authorization':'Bearer\x20'+this[_0x57c2cc(0x121)][_0x57c2cc(0x11b)]},_0x2da293={'checkServerIdentity':(_0x32d06d,_0x1c0a78)=>this[_0x57c2cc(0x174)](_0x32d06d,_0x1c0a78,this[_0x57c2cc(0x121)])};if(this['selfSignedCA']){const _0x530c79=(0x0,tls_1['createSecureContext'])(_0x2da293);_0x530c79[_0x57c2cc(0x199)][_0x57c2cc(0x180)](this[_0x57c2cc(0x15f)]),_0x2da293[_0x57c2cc(0x146)]=_0x530c79;}const _0xac9e3f=axios_1[_0x57c2cc(0x185)][_0x57c2cc(0x147)][_0x57c2cc(0x13b)](),_0x49c201=_0x672ed2?_0x672ed2*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x57c2cc(0x181)]['debug']('timeout\x20set\x20to\x20'+_0x49c201);const _0x28ded8=setTimeout(()=>{const _0x503cc4=_0x57c2cc;this[_0x503cc4(0x181)]['warn'](_0x503cc4(0x13d)+_0x49c201+'ms'),_0xac9e3f[_0x503cc4(0x139)]();},_0x49c201),_0x57acfa={'method':_0x29588b[_0x57c2cc(0x12e)],'httpsAgent':new https[(_0x57c2cc(0x122))](_0x2da293),'url':_0x29588b['uri'],'data':_0x29588b[_0x57c2cc(0x16f)],'headers':_0xb5b98c,'cancelToken':_0xac9e3f[_0x57c2cc(0x191)]};return extend(!![],_0x57acfa,_0x29588b),axios_1[_0x57c2cc(0x185)][_0x57c2cc(0x116)](_0x57acfa)[_0x57c2cc(0x132)](_0x1b2cfe=>{const _0x1e0404=_0x57c2cc;return _0x255e52===null||_0x255e52===void 0x0?void 0x0:_0x255e52(null,_0x1b2cfe[_0x1e0404(0x15e)],_0x1b2cfe),{'error':null,'data':_0x1b2cfe[_0x1e0404(0x15e)],'res':_0x1b2cfe};})[_0x57c2cc(0x152)](_0x32b0a8=>{const _0x3b7916=_0x57c2cc;var _0x1aef89,_0x2afd9a;return _0x255e52===null||_0x255e52===void 0x0?void 0x0:_0x255e52(_0x32b0a8,(_0x1aef89=_0x32b0a8[_0x3b7916(0x187)])===null||_0x1aef89===void 0x0?void 0x0:_0x1aef89['data'],_0x32b0a8[_0x3b7916(0x187)]),{'error':_0x32b0a8,'data':(_0x2afd9a=_0x32b0a8[_0x3b7916(0x187)])===null||_0x2afd9a===void 0x0?void 0x0:_0x2afd9a[_0x3b7916(0x15e)],'res':_0x32b0a8[_0x3b7916(0x187)]};})[_0x57c2cc(0x177)](()=>clearTimeout(_0x28ded8));}[a6_0x2908f8(0x174)](_0x58c12e,_0x9d1c29,_0x54665c){const _0x1da76f=a6_0x2908f8;if(_0x54665c[_0x1da76f(0x15b)])return undefined;const _0x100664=(0x0,crypto_1['createHash'])(_0x1da76f(0x168))[_0x1da76f(0x138)](_0x9d1c29[_0x1da76f(0x107)])[_0x1da76f(0x10b)](_0x1da76f(0x108));return _0x54665c[_0x1da76f(0x17f)][_0x1da76f(0x18a)](_0x100664)?undefined:new Error(_0x1da76f(0x198));}async['getRedactions'](_0x5c5fd9){const _0x492989=a6_0x2908f8;this[_0x492989(0x181)][_0x492989(0x13c)]('Getting\x20reductions');const _0x1d8f5e=this['apiUrl']+encodeURIComponent(_0x5c5fd9)+_0x492989(0x11c),{error:_0x45461e,data:_0x9c2c3a}=await this['makeRequest']({'uri':_0x1d8f5e,'json':!![]});if(_0x45461e)return Promise['reject'](_0x45461e);return _0x9c2c3a;}}exports[a6_0x2908f8(0x10a)]=Controller;function is2xx(_0xb0325c){const _0x1977e2=a6_0x2908f8;return Math[_0x1977e2(0x136)](_0xb0325c/0x64)===0x2;}function a6_0x41a9(){const _0x43593e=['hex','Successfully\x20sent\x20log\x20file\x20','Controller','digest','querystring','now','/log/','map','breakpoint\x20','crypto','pipeline','(((.+)+)+)+$','\x20finished\x20with\x20status\x20','max','request','lastLogCollectionTime','should\x20have\x20a\x20registered\x20debuggee','Update\x20for\x20breakpoints\x20','caPath','lightrunSecret','/redaction','invalid\x20response\x20body\x20from\x20server','transmissionQueue','\x20size\x20>\x20max\x20network\x20size\x20:\x20','5456hAGJDJ','config','Agent','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','reject','sendAgentLogsToServer','Breakpoint\x20','search','https://','\x20Error:\x20','Transmitting\x20breakpoint\x20updates...','Failed\x20to\x20deregister\x20agent,\x20Error:\x20',',\x20sending\x20only\x20one','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','method','Deregister\x20agent\x20before\x20shutdown','memory-streams','agentLog','then','createReadStream','1322184IGeCkS','/controller','floor','75960oNxgWL','update','cancel','error','source','info','Timeout\x20occurred\x20after\x20','listBreakpoints','debug','transmissionHardMaxNetworkSizeLimitInBytes','PUT','19ZibREz','36HZNuuA','31264lqQjWn','\x20size\x20is\x20','secureContext','CancelToken','unknown\x20error\x20-\x20request\x20response\x20missing','bind','transmissionTimeout','139165FxQVKi','serializedJson','ServiceObject','transmissionBulkMaxNetworkSizeInBytes','defineProperty','Failed\x20to\x20read\x20pem\x20file\x20\x22','getBlocklist','catch','transmissionBulkMaxSize','\x20which\x20is\x20>\x20\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','Getting\x20blocklist','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','stringify','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','toBuffer','zlib','noCheckCertificate','POST','maxLogFileBytes','data','selfSignedCA','warn','tls','1589930VmgIqa','WritableStream','\x22\x20-\x20ignoring\x20it','\x20for\x20request\x20','/debuggees/','js-yaml','sha256','11cNmlWl','apiUrl','/breakpoints?','/breakpoints','100212MMtNZG','makeRequest','body',',\x20Message:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','push','application/json','verifyCertificate','\x20seconds','2079cifAsZ','finally','48nDAdvm','getJsonStringSizeInBytes','assert','apply','constructor','debuggee','createGzip','pinnedCerts','addCACert','logger','load','collectCooldownMs','length','default','/appOnlyActionHits/','response','failed\x20to\x20serialize\x20breakpoint\x20','Failed\x20to\x20send\x20log\x20file\x20','includes','join','deregister','enqueueBreakpointUpdate','/deregister/','/compressedLogFile/','status','token','number','clearTransmissionTimeout','transmitBreakpointUpdates','nextWaitToken','__esModule','statSync','Certificate\x20Pinning\x20Failed!','context','shift','Failed\x20to\x20zip\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','sendBreakpointLogsToServer','\x20for\x20request\x20id\x20','register','Compressing\x20and\x20sending\x20log\x20file\x20','pubkey'];a6_0x41a9=function(){return _0x43593e;};return a6_0x41a9();}
|
|
1
|
+
const a6_0x4dac34=a6_0x6d3f;(function(_0x5f05c1,_0x575dad){const _0x2f1322=a6_0x6d3f,_0x286ce3=_0x5f05c1();while(!![]){try{const _0xcaf51a=-parseInt(_0x2f1322(0xc5))/0x1*(-parseInt(_0x2f1322(0xe8))/0x2)+parseInt(_0x2f1322(0xba))/0x3+parseInt(_0x2f1322(0xa9))/0x4+-parseInt(_0x2f1322(0xab))/0x5+-parseInt(_0x2f1322(0xa4))/0x6*(-parseInt(_0x2f1322(0x96))/0x7)+parseInt(_0x2f1322(0x9b))/0x8+-parseInt(_0x2f1322(0x8a))/0x9*(parseInt(_0x2f1322(0x85))/0xa);if(_0xcaf51a===_0x575dad)break;else _0x286ce3['push'](_0x286ce3['shift']());}catch(_0x4a4fa8){_0x286ce3['push'](_0x286ce3['shift']());}}}(a6_0x5dc6,0x2b52d));const a6_0x22ef81=(function(){let _0x4c410=!![];return function(_0x50c1e1,_0x170e9f){const _0x1044f0=_0x4c410?function(){const _0x35e0dd=a6_0x6d3f;if(_0x170e9f){const _0x34ae37=_0x170e9f[_0x35e0dd(0x8b)](_0x50c1e1,arguments);return _0x170e9f=null,_0x34ae37;}}:function(){};return _0x4c410=![],_0x1044f0;};}()),a6_0x52d25e=a6_0x22ef81(this,function(){const _0x3828c3=a6_0x6d3f;return a6_0x52d25e['toString']()[_0x3828c3(0x80)](_0x3828c3(0x77))[_0x3828c3(0xf3)]()[_0x3828c3(0xd1)](a6_0x52d25e)['search'](_0x3828c3(0x77));});function a6_0x6d3f(_0x3cb55d,_0x4f1cdf){const _0x59c1b5=a6_0x5dc6();return a6_0x6d3f=function(_0x52d25e,_0x22ef81){_0x52d25e=_0x52d25e-0x76;let _0x5dc63a=_0x59c1b5[_0x52d25e];return _0x5dc63a;},a6_0x6d3f(_0x3cb55d,_0x4f1cdf);}a6_0x52d25e();'use strict';Object['defineProperty'](exports,a6_0x4dac34(0xcc),{'value':!![]}),exports[a6_0x4dac34(0xe4)]=void 0x0;const common_1=require(a6_0x4dac34(0x106)),assert=require(a6_0x4dac34(0xdf)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require(a6_0x4dac34(0x8e)),zlib_1=require('zlib'),stream_1=require(a6_0x4dac34(0xb1)),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require(a6_0x4dac34(0xc2)),axios_1=require(a6_0x4dac34(0xb3)),https=require(a6_0x4dac34(0x94)),utils_1=require(a6_0x4dac34(0xf1)),yaml=require(a6_0x4dac34(0xa8)),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_0x4dac34(0x87)]{constructor(_0x20363b,_0x35610e,_0x148a3e){const _0x234aaf=a6_0x4dac34;super({'parent':_0x20363b,'baseUrl':_0x234aaf(0xf5)}),this[_0x234aaf(0xd0)]=null,this['config']=_0x35610e,this['transmissionQueue']=[],this[_0x234aaf(0xc1)]=_0x148a3e;if(_0x35610e[_0x234aaf(0xf2)])try{this['selfSignedCA']=(0x0,fs_1[_0x234aaf(0xfb)])(_0x35610e[_0x234aaf(0xf2)],_0x234aaf(0xff));}catch(_0x5b6c25){_0x148a3e[_0x234aaf(0xdd)](_0x234aaf(0x109)+_0x35610e[_0x234aaf(0xf2)]+_0x234aaf(0xae));}this[_0x234aaf(0xb9)]=_0x234aaf(0x88)+_0x35610e['apiEndpoint']+_0x234aaf(0x100);}['register'](_0x1689df,_0x262458){const _0x305f73=a6_0x4dac34,_0x2547da={'uri':this[_0x305f73(0xb9)]+_0x305f73(0xe0),'method':_0x305f73(0xb0),'json':!![],'body':{'debuggee':_0x1689df}};this[_0x305f73(0xb6)](_0x2547da,(_0x3db277,_0x80964a,_0x23be49)=>{const _0x3fea5d=_0x305f73;if(!_0x23be49)_0x262458(_0x3db277||new Error(_0x3fea5d(0xd7)));else{if(_0x3db277)_0x23be49[_0x3fea5d(0xaf)]===HTTP_UPGRADE_REQUIRED&&_0x80964a&&(_0x1689df['id']=_0x80964a[_0x3fea5d(0xdc)]['id']),_0x262458(_0x3db277,_0x80964a);else{if(_0x23be49['status']!==HTTP_SUCCESS)_0x262458(new Error('unable\x20to\x20register,\x20status\x20'+_0x23be49['status']));else!(_0x80964a===null||_0x80964a===void 0x0?void 0x0:_0x80964a['debuggee'])?_0x262458(new Error(_0x3fea5d(0xfe))):(_0x1689df['id']=_0x80964a['debuggee']['id'],_0x262458(null,_0x80964a));}}});}[a6_0x4dac34(0xfd)](_0x1965de,_0x4fe288,_0x37d00d){const _0x20dd60=a6_0x4dac34,_0x432996=this;assert(_0x1965de['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x22f8f3={'successOnTimeout':!![]};_0x432996[_0x20dd60(0xd0)]&&(_0x22f8f3[_0x20dd60(0x7e)]=_0x432996['nextWaitToken']);const _0x40916e=this[_0x20dd60(0xb9)]+encodeURIComponent(_0x1965de['id'])+_0x20dd60(0xd5)+qs[_0x20dd60(0x89)](_0x22f8f3);_0x432996[_0x20dd60(0xb6)]({'uri':_0x40916e,'json':!![]},(_0x17cef2,_0x4f536c,_0x1af93b)=>{const _0x51eda2=_0x20dd60;if(!_0x1af93b){_0x4fe288(_0x17cef2||new Error(_0x51eda2(0xd7)));return;}else{if(!is2xx(_0x1af93b[_0x51eda2(0xaf)])){_0x4fe288(new Error(_0x51eda2(0xe2)+_0x1af93b[_0x51eda2(0xaf)]),_0x1af93b);return;}else _0x4f536c&&(_0x432996[_0x51eda2(0xd0)]=_0x4f536c['nextWaitToken']),_0x4fe288(null,_0x1af93b,_0x4f536c);}},_0x37d00d);}['enqueueBreakpointUpdate'](_0x28aede,_0x2d3b17){const _0x5438a8=a6_0x4dac34;assert(_0x28aede['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x3ef1c9=JSON['stringify'](_0x2d3b17),_0x216354=(0x0,utils_1[_0x5438a8(0x9e)])(_0x3ef1c9);if(_0x216354>=this['config'][_0x5438a8(0xbe)]){this[_0x5438a8(0xc1)][_0x5438a8(0xdd)](_0x5438a8(0xb4)+_0x2d3b17['id']+_0x5438a8(0xe1)+_0x216354+_0x5438a8(0xd6)+this[_0x5438a8(0x9d)][_0x5438a8(0xbe)]);return;}this[_0x5438a8(0xa5)][_0x5438a8(0x78)]({'id':_0x2d3b17['id'],'serializedJson':_0x3ef1c9,'number':0x0});if(!this[_0x5438a8(0x76)]){const _0x48a527=this;this[_0x5438a8(0x76)]=setTimeout(()=>_0x48a527[_0x5438a8(0x7f)][_0x5438a8(0x93)](_0x48a527)(_0x28aede['id']),0x0);}}catch(_0xa6dd24){this[_0x5438a8(0xc1)][_0x5438a8(0xa7)](_0x5438a8(0xfc)+_0x2d3b17['id']+'\x20and\x20enqueue\x20to\x20queue',_0xa6dd24);return;}}[a6_0x4dac34(0xf7)](){const _0x54d9fc=a6_0x4dac34;if(!this[_0x54d9fc(0x76)])return;clearTimeout(this[_0x54d9fc(0x76)]),this[_0x54d9fc(0x76)]=null;}['deregister'](_0x54c11c,_0x369830){const _0x1eaa14=a6_0x4dac34,_0x555a66=this['apiUrl']+encodeURIComponent(_0x54c11c['id'])+'/deregister/',_0x156a75={'uri':_0x555a66,'method':_0x1eaa14(0xb0),'json':!![]};this[_0x1eaa14(0xc1)][_0x1eaa14(0x7d)]('Deregister\x20agent\x20before\x20shutdown'),this['makeRequest'](_0x156a75,(_0x8c30a1,_0x421a8e,_0x5dca04)=>{const _0x31ad9b=_0x1eaa14;(!_0x5dca04||Math[_0x31ad9b(0xac)](_0x5dca04[_0x31ad9b(0xaf)]/0x64)!==0x2)&&this[_0x31ad9b(0xc1)]['warn'](_0x31ad9b(0xf8)+_0x8c30a1),_0x369830(_0x8c30a1);});}['sendBreakpointLogsToServer'](_0x1a2096,_0x53e0a0,_0x5a9e9f){const _0x1d4650=a6_0x4dac34,_0x73eab7=this[_0x1d4650(0xb9)]+encodeURIComponent(_0x1a2096['id'])+'/log/',_0x4c8b97={'uri':_0x73eab7,'method':_0x1d4650(0xb0),'json':!![],'body':_0x53e0a0};this['makeRequest'](_0x4c8b97,(_0x200c9c,_0x10993d,_0x7e9e04)=>{const _0x3c6c85=_0x1d4650;(!_0x7e9e04||Math[_0x3c6c85(0xac)](_0x7e9e04[_0x3c6c85(0xaf)]/0x64)!==0x2)&&(this[_0x3c6c85(0xc1)][_0x3c6c85(0xdd)](_0x3c6c85(0x10a)+_0x200c9c),_0x5a9e9f(_0x200c9c));});}[a6_0x4dac34(0x97)](_0x1f3172,_0x39c7a4,_0x5dd211){const _0x5613fd=a6_0x4dac34,_0x34ab67=this[_0x5613fd(0xb9)]+encodeURIComponent(_0x1f3172['id'])+_0x5613fd(0xc7),_0x5a6930={'uri':_0x34ab67,'method':_0x5613fd(0xb0),'json':!![],'body':_0x39c7a4};this['makeRequest'](_0x5a6930,(_0x1002d3,_0x2f16c,_0x5d5116)=>{const _0x45ef43=_0x5613fd;(!_0x5d5116||Math[_0x45ef43(0xac)](_0x5d5116[_0x45ef43(0xaf)]/0x64)!==0x2)&&(this['logger'][_0x45ef43(0xdd)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x1002d3),_0x5dd211(_0x1002d3));});}[a6_0x4dac34(0xbd)](_0x1e51f0,_0x17fe21,_0x4e03a5){const _0x63da07=a6_0x4dac34;assert(_0x1e51f0['id'],_0x63da07(0xc6));if(this[_0x63da07(0xf9)]){const _0x3262ac=Date[_0x63da07(0xe6)](),_0x5a6879=this[_0x63da07(0xf9)]+this['config'][_0x63da07(0xb7)][_0x63da07(0x9f)];if(_0x3262ac<_0x5a6879){this[_0x63da07(0xc1)]['info']('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x5a6879-_0x3262ac)/0x3e8+_0x63da07(0xe3)));return;}}const _0x3480f9=(0x0,fs_1[_0x63da07(0xd3)])(_0x4e03a5)[_0x63da07(0xc4)],_0x372247=Math[_0x63da07(0xa1)](0x0,_0x3480f9-this[_0x63da07(0x9d)][_0x63da07(0xb7)]['maxLogFileBytes']),_0x3e2d0c=(0x0,fs_1[_0x63da07(0x105)])(_0x4e03a5,{'start':_0x372247}),_0x59501d=(0x0,zlib_1[_0x63da07(0xd4)])(),_0x55e2ab=new memory_streams_1[(_0x63da07(0xcb))](),_0x36da13=this;_0x36da13[_0x63da07(0xc1)][_0x63da07(0x7d)](_0x63da07(0xe7)+_0x4e03a5+_0x63da07(0x83)+_0x17fe21),(0x0,stream_1[_0x63da07(0x101)])(_0x3e2d0c,_0x59501d,_0x55e2ab,_0x20ca69=>{const _0x5b636c=_0x63da07;if(_0x20ca69)_0x36da13[_0x5b636c(0xc1)][_0x5b636c(0xa7)](_0x5b636c(0x8f)+_0x4e03a5+':\x20'+_0x20ca69);else{const _0x2964b9={'uri':this[_0x5b636c(0xb9)]+encodeURIComponent(_0x1e51f0['id'])+_0x5b636c(0xb2)+_0x17fe21,'method':'PUT','body':_0x55e2ab[_0x5b636c(0x81)]()};_0x36da13[_0x5b636c(0xb6)](_0x2964b9,_0x5dbec1=>{const _0x1b0cd6=_0x5b636c;_0x5dbec1?_0x36da13[_0x1b0cd6(0xc1)][_0x1b0cd6(0xa7)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x4e03a5+_0x1b0cd6(0x9a)+_0x17fe21,_0x5dbec1):(_0x36da13[_0x1b0cd6(0xc1)][_0x1b0cd6(0x7d)](_0x1b0cd6(0x107)+_0x4e03a5+_0x1b0cd6(0x9a)+_0x17fe21),_0x36da13[_0x1b0cd6(0xf9)]=Date[_0x1b0cd6(0xe6)]());});}});}[a6_0x4dac34(0x7f)](_0x5a5455){const _0x22248f=a6_0x4dac34;var _0x448cb4;this['logger'][_0x22248f(0xfa)]('Transmitting\x20breakpoint\x20updates...'),this[_0x22248f(0x76)]=undefined;const _0x365535=[];let _0x2c5f7e=0x0;while(_0x365535['length']<this['config'][_0x22248f(0x92)]&&this[_0x22248f(0xa5)][_0x22248f(0xa6)]>0x0){const _0x3d957b=this['transmissionQueue'][0x0],_0x201d9c=_0x3d957b['serializedJson'],_0x4394af=(0x0,utils_1[_0x22248f(0x9e)])(_0x201d9c);_0x2c5f7e+=_0x4394af;if(_0x2c5f7e<=this[_0x22248f(0x9d)][_0x22248f(0xca)])_0x365535[_0x22248f(0x78)](_0x3d957b),this[_0x22248f(0xa5)][_0x22248f(0xa0)]();else{_0x4394af>this[_0x22248f(0x9d)][_0x22248f(0xca)]&&_0x365535['length']===0x0&&(this[_0x22248f(0xc1)]['debug'](_0x22248f(0xc0)+_0x3d957b['id']+_0x22248f(0xa3)+this[_0x22248f(0x9d)][_0x22248f(0xca)]+_0x22248f(0xee)),_0x365535[_0x22248f(0x78)](_0x3d957b),this[_0x22248f(0xa5)][_0x22248f(0xa0)]());break;}}if(!_0x365535)return;const _0x13faeb=_0x365535['map'](_0x32566a=>_0x32566a['id']),_0x613555={'uri':this[_0x22248f(0xb9)]+encodeURIComponent(_0x5a5455)+_0x22248f(0x10b),'json':!![],'method':_0x22248f(0x91),'body':'['+_0x365535['map'](_0x25d3b8=>_0x25d3b8[_0x22248f(0x9c)])[_0x22248f(0x84)](',')+']'},_0x3d343a=this;try{this['makeRequest'](_0x613555,(_0x374f52,_0x3c8935,_0x5f814f)=>{const _0xd8fe6f=_0x22248f,_0x55c3ec=_0x5f814f===null||_0x5f814f===void 0x0?void 0x0:_0x5f814f[_0xd8fe6f(0xaf)];_0x3d343a[_0xd8fe6f(0xc1)][_0xd8fe6f(0xfa)](_0xd8fe6f(0x10d)+_0x13faeb+_0xd8fe6f(0xde)+_0x55c3ec);if(_0x374f52||!_0x55c3ec||Math[_0xd8fe6f(0xac)](_0x55c3ec/0x64)!==0x2){const _0x1eaf10=_0x55c3ec&&(_0x55c3ec>=0x1f4||_0x55c3ec===0x198);if(_0x1eaf10){_0x3d343a['logger'][_0xd8fe6f(0xdd)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x13faeb+_0xd8fe6f(0x102)+_0x55c3ec+_0xd8fe6f(0xe9)+_0x374f52);for(const _0x2d3c74 of _0x365535){_0x2d3c74[_0xd8fe6f(0x8d)]<MAX_FAILED_SEND_ATTEMPTS?_0x3d343a[_0xd8fe6f(0xa5)][_0xd8fe6f(0x78)]({..._0x2d3c74,'number':_0x2d3c74[_0xd8fe6f(0x8d)]+0x1}):_0x3d343a[_0xd8fe6f(0xc1)]['warn'](_0xd8fe6f(0xe5)+_0x2d3c74['id']+_0xd8fe6f(0xf4));}}else _0x3d343a[_0xd8fe6f(0xc1)][_0xd8fe6f(0xdd)](_0xd8fe6f(0xed)+_0x13faeb+_0xd8fe6f(0x102)+_0x55c3ec+_0xd8fe6f(0xe9)+_0x374f52);}else _0x3d343a[_0xd8fe6f(0xc1)][_0xd8fe6f(0x7d)]('Update\x20for\x20breakpoints\x20'+_0x13faeb+_0xd8fe6f(0xc9));_0x3d343a[_0xd8fe6f(0xa5)][_0xd8fe6f(0xa6)]>0x0&&(_0x3d343a['transmissionTimeout']=setTimeout(()=>_0x3d343a[_0xd8fe6f(0x7f)][_0xd8fe6f(0x93)](_0x3d343a)(_0x5a5455),0x0));});}catch(_0x59d14c){this[_0x22248f(0xc1)]['warn'](_0x22248f(0xed)+_0x13faeb+_0x22248f(0xc8)+_0x59d14c+_0x22248f(0xd2)+((_0x448cb4=_0x59d14c[_0x22248f(0xdb)])===null||_0x448cb4===void 0x0?void 0x0:_0x448cb4[_0x22248f(0x104)])),_0x3d343a[_0x22248f(0xa5)]['length']>0x0&&(_0x3d343a[_0x22248f(0x76)]=setTimeout(()=>_0x3d343a[_0x22248f(0x7f)][_0x22248f(0x93)](_0x3d343a)(_0x5a5455),0x0));}}async[a6_0x4dac34(0xd9)](_0x50bd5f){const _0x452d06=a6_0x4dac34;this[_0x452d06(0xc1)][_0x452d06(0x7d)]('Getting\x20blocklist');const _0x5690d1=this[_0x452d06(0xb9)]+encodeURIComponent(_0x50bd5f)+_0x452d06(0xbf),{error:_0x44166b,data:_0x48a135}=await this['makeRequest']({'uri':_0x5690d1,'json':!![]});if(_0x44166b)return Promise[_0x452d06(0xcd)](_0x44166b);return yaml[_0x452d06(0xce)](_0x48a135)||{};}['makeRequest'](_0x58617e,_0x55f1de,_0x16ab19,_0x2849a5){const _0x2995e1=a6_0x4dac34,_0x25dc20={'Content-Type':_0x2849a5?_0x2849a5:_0x2995e1(0x79),'Authorization':'Bearer\x20'+this['config']['lightrunSecret']},_0x3240c2={'checkServerIdentity':(_0x26324d,_0x10bf98)=>this[_0x2995e1(0x82)](_0x26324d,_0x10bf98,this[_0x2995e1(0x9d)])};if(this['selfSignedCA']){const _0x285d97=(0x0,tls_1['createSecureContext'])(_0x3240c2);_0x285d97[_0x2995e1(0xbb)][_0x2995e1(0x7a)](this[_0x2995e1(0x7c)]),_0x3240c2[_0x2995e1(0xb5)]=_0x285d97;}const _0x4f456f=axios_1[_0x2995e1(0xcf)][_0x2995e1(0x8c)][_0x2995e1(0xf6)](),_0x5041e2=_0x16ab19?_0x16ab19*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this['logger'][_0x2995e1(0xfa)](_0x2995e1(0xef)+_0x5041e2);const _0x3f27a3=setTimeout(()=>{const _0x416dc4=_0x2995e1;this[_0x416dc4(0xc1)][_0x416dc4(0xdd)](_0x416dc4(0xaa)+_0x5041e2+'ms'),_0x4f456f[_0x416dc4(0x95)]();},_0x5041e2),_0x4b61e2={'method':_0x58617e['method'],'httpsAgent':new https[(_0x2995e1(0x108))](_0x3240c2),'url':_0x58617e[_0x2995e1(0xeb)],'data':_0x58617e[_0x2995e1(0xda)],'headers':_0x25dc20,'cancelToken':_0x4f456f[_0x2995e1(0xa2)]};return extend(!![],_0x4b61e2,_0x58617e),axios_1['default'][_0x2995e1(0x103)](_0x4b61e2)[_0x2995e1(0x98)](_0x3248c3=>{const _0x19e12d=_0x2995e1;return _0x55f1de===null||_0x55f1de===void 0x0?void 0x0:_0x55f1de(null,_0x3248c3[_0x19e12d(0xdb)],_0x3248c3),{'error':null,'data':_0x3248c3[_0x19e12d(0xdb)],'res':_0x3248c3};})[_0x2995e1(0x10c)](_0x14a1e2=>{const _0x2c4daa=_0x2995e1;var _0x38c71e,_0x5c81b3;return _0x55f1de===null||_0x55f1de===void 0x0?void 0x0:_0x55f1de(_0x14a1e2,(_0x38c71e=_0x14a1e2[_0x2c4daa(0x86)])===null||_0x38c71e===void 0x0?void 0x0:_0x38c71e[_0x2c4daa(0xdb)],_0x14a1e2['response']),{'error':_0x14a1e2,'data':(_0x5c81b3=_0x14a1e2[_0x2c4daa(0x86)])===null||_0x5c81b3===void 0x0?void 0x0:_0x5c81b3[_0x2c4daa(0xdb)],'res':_0x14a1e2['response']};})[_0x2995e1(0xad)](()=>clearTimeout(_0x3f27a3));}[a6_0x4dac34(0x82)](_0x24d99f,_0x24b03c,_0x1d34f8){const _0x4379e3=a6_0x4dac34;if(_0x1d34f8[_0x4379e3(0xf0)])return undefined;const _0x11c855=(0x0,crypto_1[_0x4379e3(0x99)])(_0x4379e3(0xd8))[_0x4379e3(0xbc)](_0x24b03c[_0x4379e3(0xea)])[_0x4379e3(0xb8)](_0x4379e3(0x7b));return _0x1d34f8['pinnedCerts']['includes'](_0x11c855)?undefined:new Error(_0x4379e3(0xc3));}async[a6_0x4dac34(0x90)](_0x9a0cdd){const _0xb21d3f=a6_0x4dac34;this['logger'][_0xb21d3f(0x7d)](_0xb21d3f(0xec));const _0x35189d=this[_0xb21d3f(0xb9)]+encodeURIComponent(_0x9a0cdd)+'/redaction',{error:_0x28664d,data:_0x1570bf}=await this['makeRequest']({'uri':_0x35189d,'json':!![]});if(_0x28664d)return Promise[_0xb21d3f(0xcd)](_0x28664d);return _0x1570bf;}}function a6_0x5dc6(){const _0x7f49f2=['hex','selfSignedCA','info','waitToken','transmitBreakpointUpdates','search','toBuffer','verifyCertificate','\x20for\x20request\x20id\x20','join','45730qsKydK','response','ServiceObject','https://','stringify','207zyKkkK','apply','CancelToken','number','crypto','Failed\x20to\x20zip\x20','getRedactions','PUT','transmissionBulkMaxSize','bind','https','cancel','160237paqNmo','sendAppOnlyBreakpointHitsToServer','then','createHash','\x20for\x20request\x20','1010208KOwwGv','serializedJson','config','getJsonStringSizeInBytes','collectCooldownMs','shift','max','token','\x20size\x20>\x20max\x20network\x20size\x20:\x20','6fDOlYn','transmissionQueue','length','error','js-yaml','281832KwRkcT','Timeout\x20occurred\x20after\x20','630675kMjVVk','floor','finally','\x22\x20-\x20ignoring\x20it','status','POST','stream','/compressedLogFile/','axios','breakpointId:\x20','secureContext','makeRequest','agentLog','digest','apiUrl','385251rczglx','context','update','sendAgentLogsToServer','transmissionHardMaxNetworkSizeLimitInBytes','/blacklist?successOnTimeout=true','breakpoint\x20','logger','extend','Certificate\x20Pinning\x20Failed!','size','347iBzqZl','should\x20have\x20a\x20registered\x20debuggee','/appOnlyActionHits/','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','\x20transmitted\x20successfully','transmissionBulkMaxNetworkSizeInBytes','WritableStream','__esModule','reject','load','default','nextWaitToken','constructor',',\x20Message:\x20','statSync','createGzip','/breakpoints?','\x20which\x20is\x20>\x20\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','unknown\x20error\x20-\x20request\x20response\x20missing','sha256','getBlocklist','body','data','debuggee','warn','\x20finished\x20with\x20status\x20','assert','register','\x20size\x20is\x20','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','\x20seconds','Controller','Breakpoint\x20','now','Compressing\x20and\x20sending\x20log\x20file\x20','350rwfqag','\x20Error:\x20','pubkey','uri','Getting\x20reductions','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20',',\x20sending\x20only\x20one','timeout\x20set\x20to\x20','noCheckCertificate','./util/utils','caPath','toString','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','/controller','source','clearTransmissionTimeout','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','lastLogCollectionTime','debug','readFileSync','failed\x20to\x20serialize\x20breakpoint\x20','listBreakpoints','invalid\x20response\x20body\x20from\x20server','ascii','/debuggees/','pipeline','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','request','message','createReadStream','@google-cloud/common','Successfully\x20sent\x20log\x20file\x20','Agent','Failed\x20to\x20read\x20pem\x20file\x20\x22','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/breakpoints','catch','Update\x20for\x20breakpoints\x20','transmissionTimeout','(((.+)+)+)+$','push','application/json','addCACert'];a6_0x5dc6=function(){return _0x7f49f2;};return a6_0x5dc6();}exports[a6_0x4dac34(0xe4)]=Controller;function is2xx(_0x26e4ee){const _0x3b5b92=a6_0x4dac34;return Math[_0x3b5b92(0xac)](_0x26e4ee/0x64)===0x2;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a7_0x4ac930=a7_0x2c39;(function(_0x436be6,_0x2a5fb4){const _0xd12367=a7_0x2c39,_0x3d5f55=_0x436be6();while(!![]){try{const _0x1fef7a=parseInt(_0xd12367(0x171))/0x1*(parseInt(_0xd12367(0x179))/0x2)+-parseInt(_0xd12367(0x15a))/0x3*(parseInt(_0xd12367(0x168))/0x4)+parseInt(_0xd12367(0x15b))/0x5+-parseInt(_0xd12367(0x16b))/0x6*(parseInt(_0xd12367(0x16f))/0x7)+-parseInt(_0xd12367(0x15f))/0x8+parseInt(_0xd12367(0x174))/0x9+parseInt(_0xd12367(0x177))/0xa;if(_0x1fef7a===_0x2a5fb4)break;else _0x3d5f55['push'](_0x3d5f55['shift']());}catch(_0x470980){_0x3d5f55['push'](_0x3d5f55['shift']());}}}(a7_0x36fe,0x454f6));const a7_0xe9425a=(function(){let _0x235e5d=!![];return function(_0x1aecea,_0x10de36){const _0x364c4e=_0x235e5d?function(){const _0x43140d=a7_0x2c39;if(_0x10de36){const _0x77fe60=_0x10de36[_0x43140d(0x17d)](_0x1aecea,arguments);return _0x10de36=null,_0x77fe60;}}:function(){};return _0x235e5d=![],_0x364c4e;};}()),a7_0x3b82d1=a7_0xe9425a(this,function(){const _0x53d514=a7_0x2c39;return a7_0x3b82d1[_0x53d514(0x15d)]()['search'](_0x53d514(0x16a))['toString']()[_0x53d514(0x172)](a7_0x3b82d1)['search']('(((.+)+)+)+$');});function a7_0x2c39(_0x2a52de,_0x466476){const _0xdcf04f=a7_0x36fe();return a7_0x2c39=function(_0x3b82d1,_0xe9425a){_0x3b82d1=_0x3b82d1-0x15a;let _0x36fee9=_0xdcf04f[_0x3b82d1];return _0x36fee9;},a7_0x2c39(_0x2a52de,_0x466476);}a7_0x3b82d1();'use strict';Object['defineProperty'](exports,a7_0x4ac930(0x17c),{'value':!![]}),exports[a7_0x4ac930(0x15c)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x4ac930(0x180)),debuggee_1=require(a7_0x4ac930(0x17f)),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require(a7_0x4ac930(0x178)),createDebuggee=(_0x402515,_0x2c6640,_0x25763d,_0x24d234,_0x2f5ee9,_0x44c7ba,_0x3c4a5d,_0x46d8f3)=>{const _0x4f59b3=a7_0x4ac930,_0x3126a4=process[_0x4f59b3(0x16d)](),_0x262ffc=path[_0x4f59b3(0x167)](_0x3126a4,process[_0x4f59b3(0x17e)][0x1]),_0x31ba25={'main\x20script':_0x262ffc,'process.title':process[_0x4f59b3(0x173)],'node\x20version':process['versions'][_0x4f59b3(0x160)],'V8\x20version':process[_0x4f59b3(0x16e)]['v8'],'agent.name':_0x24d234[_0x4f59b3(0x181)],'agent.version':_0x2f5ee9,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x5b016d=_0x2c6640[_0x4f59b3(0x169)];_0x5b016d&&(typeof _0x5b016d[_0x4f59b3(0x170)]===_0x4f59b3(0x17b)&&_0x5b016d[_0x4f59b3(0x170)]!=='default'&&(_0x31ba25[_0x4f59b3(0x166)]=_0x5b016d[_0x4f59b3(0x170)]),typeof _0x5b016d[_0x4f59b3(0x17a)]===_0x4f59b3(0x17b)&&(_0x31ba25[_0x4f59b3(0x17a)]=_0x5b016d[_0x4f59b3(0x17a)]),typeof _0x5b016d[_0x4f59b3(0x176)]==='string'&&(_0x31ba25[_0x4f59b3(0x161)]=_0x5b016d[_0x4f59b3(0x176)]));const _0x28a2c3=(0x0,createUniquifier_1[_0x4f59b3(0x175)])(_0x2f5ee9,_0x402515,_0x25763d,_0x31ba25),_0x180c7e=_0x46d8f3?new status_message_1[(_0x4f59b3(0x16c))](status_message_1[_0x4f59b3(0x16c)][_0x4f59b3(0x163)],_0x46d8f3,!![]):undefined,_0x184c03=(0x0,createDebuggeeMetadata_1[_0x4f59b3(0x15e)])(_0x2c6640,_0x44c7ba),_0x1248ef={'uniquifier':_0x28a2c3,'agentVersion':_0x2f5ee9,'labels':{'metadata':JSON[_0x4f59b3(0x162)](_0x184c03)},'statusMessage':_0x180c7e,'packageInfo':_0x24d234,..._0x3c4a5d};return _0x25763d&&(_0x1248ef[_0x4f59b3(0x165)]=[_0x25763d]),new debuggee_1[(_0x4f59b3(0x164))](_0x1248ef);};exports[a7_0x4ac930(0x15c)]=createDebuggee;function a7_0x36fe(){const _0x2b234a=['(((.+)+)+)+$','1266JJyoHD','StatusMessage','cwd','versions','12243jpoQXp','service','107986khVNBf','constructor','title','1218843saJDsH','createUniquifier','minorVersion_','5084710QSkPJV','./getPlatform','6SxEAfP','version','string','__esModule','apply','argv','../../debuggee','../../client/stackdriver/status-message','name','6hrmkxs','2581040yHSgtT','createDebuggee','toString','createDebuggeeMetadata','2897032DYFQQj','node','minorversion','stringify','UNSPECIFIED','Debuggee','sourceContexts','module','relative','938004EeUOYt','serviceContext'];a7_0x36fe=function(){return _0x2b234a;};return a7_0x36fe();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x2fdeb3=a8_0x5cec;(function(_0x4964d2,_0x410db1){const _0x1d5a3a=a8_0x5cec,_0x421b7b=_0x4964d2();while(!![]){try{const _0xfd1ac0=parseInt(_0x1d5a3a(0xcb))/0x1+-parseInt(_0x1d5a3a(0xc8))/0x2*(parseInt(_0x1d5a3a(0xcc))/0x3)+parseInt(_0x1d5a3a(0xce))/0x4*(parseInt(_0x1d5a3a(0xd5))/0x5)+-parseInt(_0x1d5a3a(0xc9))/0x6+parseInt(_0x1d5a3a(0xd1))/0x7+parseInt(_0x1d5a3a(0xd4))/0x8+parseInt(_0x1d5a3a(0xcf))/0x9*(-parseInt(_0x1d5a3a(0xd3))/0xa);if(_0xfd1ac0===_0x410db1)break;else _0x421b7b['push'](_0x421b7b['shift']());}catch(_0x50c2c4){_0x421b7b['push'](_0x421b7b['shift']());}}}(a8_0x47a9,0x8426d));const a8_0x300a90=(function(){let _0x553ad7=!![];return function(_0x14472e,_0x14d96c){const _0x448a0f=_0x553ad7?function(){const _0x35d871=a8_0x5cec;if(_0x14d96c){const _0x1b6316=_0x14d96c[_0x35d871(0xc5)](_0x14472e,arguments);return _0x14d96c=null,_0x1b6316;}}:function(){};return _0x553ad7=![],_0x448a0f;};}()),a8_0x2c26c5=a8_0x300a90(this,function(){const _0x12cf75=a8_0x5cec;return a8_0x2c26c5['toString']()[_0x12cf75(0xdd)](_0x12cf75(0xdb))[_0x12cf75(0xc7)]()[_0x12cf75(0xd9)](a8_0x2c26c5)[_0x12cf75(0xdd)](_0x12cf75(0xdb));});a8_0x2c26c5();function a8_0x5cec(_0x36f6bd,_0xe1c725){const _0x3e495e=a8_0x47a9();return a8_0x5cec=function(_0x2c26c5,_0x300a90){_0x2c26c5=_0x2c26c5-0xc4;let _0x47a914=_0x3e495e[_0x2c26c5];return _0x47a914;},a8_0x5cec(_0x36f6bd,_0xe1c725);}'use strict';Object[a8_0x2fdeb3(0xc6)](exports,a8_0x2fdeb3(0xd6),{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;const fs=require('fs'),extend=require(a8_0x2fdeb3(0xd0)),createDebuggeeMetadata=(_0x52ec8c,_0x4ee430)=>{const _0x3700e7=a8_0x2fdeb3;var _0x5b2f97,_0x57f949,_0x5f0944;let _0x30cef5={'registration':{}};if((_0x5b2f97=_0x52ec8c['metadata'])===null||_0x5b2f97===void 0x0?void 0x0:_0x5b2f97[_0x3700e7(0xcd)])try{_0x30cef5=JSON['parse'](fs[_0x3700e7(0xd2)](_0x52ec8c['metadata'][_0x3700e7(0xcd)],_0x3700e7(0xdc)));}catch(_0x31fe41){_0x4ee430['warn']('Failed\x20to\x20read\x20metadata\x20file\x20'+_0x52ec8c[_0x3700e7(0xca)]['filename'],_0x31fe41);}return _0x30cef5[_0x3700e7(0xc4)]=extend(!![],{},(_0x57f949=_0x52ec8c['metadata'])===null||_0x57f949===void 0x0?void 0x0:_0x57f949[_0x3700e7(0xc4)],_0x30cef5[_0x3700e7(0xc4)]),((_0x5f0944=_0x30cef5[_0x3700e7(0xc4)])===null||_0x5f0944===void 0x0?void 0x0:_0x5f0944[_0x3700e7(0xd8)])&&(_0x30cef5[_0x3700e7(0xc4)][_0x3700e7(0xd8)]=_0x30cef5[_0x3700e7(0xc4)][_0x3700e7(0xd8)][_0x3700e7(0xde)](_0x168b2d=>typeof _0x168b2d===_0x3700e7(0xd7)?{'name':_0x168b2d}:_0x168b2d)),_0x30cef5;};exports[a8_0x2fdeb3(0xda)]=createDebuggeeMetadata;function a8_0x47a9(){const _0x1a8f9c=['string','tags','constructor','createDebuggeeMetadata','(((.+)+)+)+$','utf-8','search','map','registration','apply','defineProperty','toString','1002610uVNoJj','2877462PwxHrn','metadata','167365dkIlQf','3KeTlSw','filename','76844ohRbKc','99HtNhwZ','extend','5780775zMPRLz','readFileSync','1047740eefkmt','5921280GoNZlo','245XAPKtg','__esModule'];a8_0x47a9=function(){return _0x1a8f9c;};return a8_0x47a9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a9_0x103f4e=a9_0xa956;(function(_0x41fde9,_0x2e41ae){const _0x2c7b2e=a9_0xa956,_0x395a93=_0x41fde9();while(!![]){try{const _0x30ae35=parseInt(_0x2c7b2e(0x141))/0x1+parseInt(_0x2c7b2e(0x139))/0x2+parseInt(_0x2c7b2e(0x144))/0x3+-parseInt(_0x2c7b2e(0x13a))/0x4*(parseInt(_0x2c7b2e(0x149))/0x5)+-parseInt(_0x2c7b2e(0x13f))/0x6+parseInt(_0x2c7b2e(0x14a))/0x7+-parseInt(_0x2c7b2e(0x148))/0x8;if(_0x30ae35===_0x2e41ae)break;else _0x395a93['push'](_0x395a93['shift']());}catch(_0x1201fb){_0x395a93['push'](_0x395a93['shift']());}}}(a9_0x130b,0x57407));const a9_0x279e47=(function(){let _0x56cd41=!![];return function(_0x14d899,_0x4fd38f){const _0x38af79=_0x56cd41?function(){const _0x59c6d1=a9_0xa956;if(_0x4fd38f){const _0x3eeed1=_0x4fd38f[_0x59c6d1(0x13e)](_0x14d899,arguments);return _0x4fd38f=null,_0x3eeed1;}}:function(){};return _0x56cd41=![],_0x38af79;};}()),a9_0x530840=a9_0x279e47(this,function(){const _0x4aaa38=a9_0xa956;return a9_0x530840[_0x4aaa38(0x13d)]()['search']('(((.+)+)+)+$')[_0x4aaa38(0x13d)]()['constructor'](a9_0x530840)[_0x4aaa38(0x13c)]('(((.+)+)+)+$');});a9_0x530840();'use strict';function a9_0xa956(_0x1ef9ba,_0x5b9adf){const _0x3394e4=a9_0x130b();return a9_0xa956=function(_0x530840,_0x279e47){_0x530840=_0x530840-0x138;let _0x130bca=_0x3394e4[_0x530840];return _0x130bca;},a9_0xa956(_0x1ef9ba,_0x5b9adf);}function a9_0x130b(){const _0x3f0242=['toString','apply','4083438VaGoEG','stringify','333780bovuSE','sha1','__esModule','326895RjxQHE','createHash','defineProperty','hex','3307776LnHpYu','1205mjXNvK','4860898hszUtD','crypto','868092Cuetdv','1988aBefit','createUniquifier','search'];a9_0x130b=function(){return _0x3f0242;};return a9_0x130b();}Object[a9_0x103f4e(0x146)](exports,a9_0x103f4e(0x143),{'value':!![]}),exports['createUniquifier']=void 0x0;const crypto=require(a9_0x103f4e(0x138)),createUniquifier=(_0x197a42,_0x5acd21,_0x27c7a6,_0x2bea8c)=>{const _0x43422a=a9_0x103f4e,_0x19bbc2=_0x197a42+_0x5acd21+JSON[_0x43422a(0x140)](_0x27c7a6)+JSON['stringify'](_0x2bea8c);return crypto[_0x43422a(0x145)](_0x43422a(0x142))['update'](_0x19bbc2)['digest'](_0x43422a(0x147));};exports[a9_0x103f4e(0x13b)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a10_0x24fa(){const _0x222e2b=['9MWlICY','783kBepVU','6381947xzhypA','2oaDpYc','length','9004rFRFTw','__esModule','309368yBxBQh','split','toString','398691rqmzKO','8652732qXhZzG','7623190DIoYkr','push','delimit','(((.+)+)+)+$','search','950435Zpyfvk','6kYKKPa','231KFwBoo'];a10_0x24fa=function(){return _0x222e2b;};return a10_0x24fa();}const a10_0x3c2389=a10_0x1b47;(function(_0x3ddb37,_0x169e6d){const _0x393fe1=a10_0x1b47,_0x509f11=_0x3ddb37();while(!![]){try{const _0x3e20c8=-parseInt(_0x393fe1(0x10b))/0x1*(parseInt(_0x393fe1(0x104))/0x2)+-parseInt(_0x393fe1(0x116))/0x3*(parseInt(_0x393fe1(0x106))/0x4)+parseInt(_0x393fe1(0x112))/0x5*(-parseInt(_0x393fe1(0x113))/0x6)+-parseInt(_0x393fe1(0x114))/0x7*(-parseInt(_0x393fe1(0x108))/0x8)+-parseInt(_0x393fe1(0x115))/0x9*(parseInt(_0x393fe1(0x10d))/0xa)+parseInt(_0x393fe1(0x117))/0xb+parseInt(_0x393fe1(0x10c))/0xc;if(_0x3e20c8===_0x169e6d)break;else _0x509f11['push'](_0x509f11['shift']());}catch(_0x5edb7b){_0x509f11['push'](_0x509f11['shift']());}}}(a10_0x24fa,0x9bf35));const a10_0x2a980a=(function(){let _0x49ddba=!![];return function(_0xac0733,_0x41d3cd){const _0x1750a1=_0x49ddba?function(){if(_0x41d3cd){const _0x492fe2=_0x41d3cd['apply'](_0xac0733,arguments);return _0x41d3cd=null,_0x492fe2;}}:function(){};return _0x49ddba=![],_0x1750a1;};}()),a10_0x373a9f=a10_0x2a980a(this,function(){const _0xa76bfd=a10_0x1b47;return a10_0x373a9f[_0xa76bfd(0x10a)]()[_0xa76bfd(0x111)](_0xa76bfd(0x110))[_0xa76bfd(0x10a)]()['constructor'](a10_0x373a9f)[_0xa76bfd(0x111)](_0xa76bfd(0x110));});function a10_0x1b47(_0xeafd9c,_0x2bfa46){const _0x59df01=a10_0x24fa();return a10_0x1b47=function(_0x373a9f,_0x2a980a){_0x373a9f=_0x373a9f-0x104;let _0x24fa7a=_0x59df01[_0x373a9f];return _0x24fa7a;},a10_0x1b47(_0xeafd9c,_0x2bfa46);}a10_0x373a9f();'use strict';Object['defineProperty'](exports,a10_0x3c2389(0x107),{'value':!![]}),exports[a10_0x3c2389(0x10f)]=void 0x0;const delimit=(_0x754ee2,_0xfe88f0)=>{const _0x34a999=a10_0x3c2389,_0x2ed63b=_0x754ee2[_0x34a999(0x109)](_0xfe88f0),_0x526ddb=[];_0x526ddb['push'](_0x2ed63b[0x0]);for(let _0x1a4b83=0x1;_0x1a4b83<_0x2ed63b[_0x34a999(0x105)];_0x1a4b83++){_0x526ddb[_0x34a999(0x10e)]({'v':_0xfe88f0},_0x2ed63b[_0x1a4b83]);}return _0x526ddb;};exports[a10_0x3c2389(0x10f)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a11_0x116498=a11_0x4cce;function a11_0x4cce(_0x5eb140,_0x543ec4){const _0x182515=a11_0x5412();return a11_0x4cce=function(_0x483c7b,_0x3e681b){_0x483c7b=_0x483c7b-0x129;let _0x541240=_0x182515[_0x483c7b];return _0x541240;},a11_0x4cce(_0x5eb140,_0x543ec4);}function a11_0x5412(){const _0x362a8e=['817465HJNOlb','search','constructor','defineProperty','1030bEiFIf','charAt','30417174NsdDBk','1490484ACnzRL','apply','format','substring','join','32598qlBVMW','5943546TCyzYt','364282SHXyaB','5840392UArfmi','3ZEUcFI','(((.+)+)+)+$','length','tokenize'];a11_0x5412=function(){return _0x362a8e;};return a11_0x5412();}(function(_0x30d253,_0x30b6f4){const _0x360070=a11_0x4cce,_0x4d10f1=_0x30d253();while(!![]){try{const _0x113322=parseInt(_0x360070(0x134))/0x1+parseInt(_0x360070(0x12e))/0x2+-parseInt(_0x360070(0x130))/0x3*(-parseInt(_0x360070(0x13b))/0x4)+parseInt(_0x360070(0x138))/0x5*(parseInt(_0x360070(0x12c))/0x6)+parseInt(_0x360070(0x12d))/0x7+parseInt(_0x360070(0x12f))/0x8+-parseInt(_0x360070(0x13a))/0x9;if(_0x113322===_0x30b6f4)break;else _0x4d10f1['push'](_0x4d10f1['shift']());}catch(_0x531cd8){_0x4d10f1['push'](_0x4d10f1['shift']());}}}(a11_0x5412,0xa8ab2));const a11_0x3e681b=(function(){let _0x249d77=!![];return function(_0x16e491,_0x3767b6){const _0x436410=_0x249d77?function(){const _0x48d167=a11_0x4cce;if(_0x3767b6){const _0x1827d2=_0x3767b6[_0x48d167(0x13c)](_0x16e491,arguments);return _0x3767b6=null,_0x1827d2;}}:function(){};return _0x249d77=![],_0x436410;};}()),a11_0x483c7b=a11_0x3e681b(this,function(){const _0x4392c4=a11_0x4cce;return a11_0x483c7b['toString']()['search'](_0x4392c4(0x131))['toString']()[_0x4392c4(0x136)](a11_0x483c7b)[_0x4392c4(0x135)](_0x4392c4(0x131));});a11_0x483c7b();'use strict';Object[a11_0x116498(0x137)](exports,'__esModule',{'value':!![]}),exports[a11_0x116498(0x129)]=void 0x0;const tokenize_1=require('./tokenize'),format=(_0x117033,_0x210443)=>{const _0x4f92d8=a11_0x116498,_0x403e6b=(0x0,tokenize_1[_0x4f92d8(0x133)])(_0x117033,_0x210443[_0x4f92d8(0x132)]);for(let _0x590ff5=0x0;_0x590ff5<_0x403e6b[_0x4f92d8(0x132)];_0x590ff5++){if(!_0x403e6b[_0x590ff5]['v'])continue;if(_0x403e6b[_0x590ff5]['v']==='$$'){_0x403e6b[_0x590ff5]='$';continue;}for(let _0x26ed1a=0x0;_0x26ed1a<_0x210443['length'];_0x26ed1a++){if(_0x403e6b[_0x590ff5]['v']==='$'+_0x26ed1a){let _0x3a392c=_0x210443[_0x26ed1a];_0x3a392c[_0x4f92d8(0x132)]>0x1&&_0x3a392c[_0x4f92d8(0x139)](0x0)==='\x22'&&_0x3a392c[_0x4f92d8(0x139)](_0x3a392c['length']-0x1)==='\x22'&&(_0x3a392c=_0x3a392c[_0x4f92d8(0x12a)](0x1,_0x3a392c[_0x4f92d8(0x132)]-0x1));_0x403e6b[_0x590ff5]=_0x3a392c;break;}}}return _0x403e6b[_0x4f92d8(0x12b)]('');};exports['format']=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x41fe6d=a12_0x489d;(function(_0x402265,_0x58382b){const _0x39eae1=a12_0x489d,_0x46c539=_0x402265();while(!![]){try{const _0x43d9f4=parseInt(_0x39eae1(0x86))/0x1*(-parseInt(_0x39eae1(0x7f))/0x2)+-parseInt(_0x39eae1(0x8c))/0x3*(parseInt(_0x39eae1(0x94))/0x4)+-parseInt(_0x39eae1(0x96))/0x5+parseInt(_0x39eae1(0x7b))/0x6+parseInt(_0x39eae1(0x8a))/0x7+parseInt(_0x39eae1(0x9c))/0x8*(parseInt(_0x39eae1(0x71))/0x9)+-parseInt(_0x39eae1(0x85))/0xa*(parseInt(_0x39eae1(0x73))/0xb);if(_0x43d9f4===_0x58382b)break;else _0x46c539['push'](_0x46c539['shift']());}catch(_0x42dd00){_0x46c539['push'](_0x46c539['shift']());}}}(a12_0x2825,0x47fde));const a12_0x4c6f9a=(function(){let _0x4b7835=!![];return function(_0x2fd058,_0x562dbb){const _0x3df081=_0x4b7835?function(){const _0x308ed1=a12_0x489d;if(_0x562dbb){const _0x5e87fa=_0x562dbb[_0x308ed1(0x87)](_0x2fd058,arguments);return _0x562dbb=null,_0x5e87fa;}}:function(){};return _0x4b7835=![],_0x3df081;};}()),a12_0x1d4ebd=a12_0x4c6f9a(this,function(){const _0x2c0f4b=a12_0x489d;return a12_0x1d4ebd['toString']()[_0x2c0f4b(0x77)]('(((.+)+)+)+$')[_0x2c0f4b(0x99)]()[_0x2c0f4b(0x7c)](a12_0x1d4ebd)[_0x2c0f4b(0x77)](_0x2c0f4b(0x6e));});function a12_0x2825(){const _0x3bcf78=['8TlRsiS','(((.+)+)+)+$','max_dynamic_log_bytes_rate','existsSync','4932963mJUicE','max_log_file_bytes','532994XIwykX','getFirst','agent_log_target_dir','dynamic_log_quota_recovery_ms','search','getInt','extra_paths','agent_log_max_file_size_mb','3094644rHCUJN','constructor','agent_log_max_file_count','max_snapshot_frame_count','2372euvrBX','java-properties','breakpoint_expiration_sec','transmission_bulk_max_size','max_log_cpu_cost','max_variable_size','70alGjVb','23mJUVEt','apply','getFloat','collect_log_cooldown_ms','1035979AIWsef','max_snapshot_buffer_size','123VCanKi','trim','com.lightrun.secret','defineProperty','max_dynamic_log_rate','split','ignore_quota','getBoolean','42424oUtAVH','pinned_certs','578490LEWkQo','noCheckCertificate','__esModule','toString','fetch_breakpoints_once','max_condition_cost'];a12_0x2825=function(){return _0x3bcf78;};return a12_0x2825();}a12_0x1d4ebd();'use strict';Object[a12_0x41fe6d(0x8f)](exports,a12_0x41fe6d(0x98),{'value':!![]}),exports['getAgentConfig']=void 0x0;function a12_0x489d(_0x7086bc,_0x5ccc45){const _0x13f7b2=a12_0x2825();return a12_0x489d=function(_0x1d4ebd,_0x4c6f9a){_0x1d4ebd=_0x1d4ebd-0x6e;let _0x2825c6=_0x13f7b2[_0x1d4ebd];return _0x2825c6;},a12_0x489d(_0x7086bc,_0x5ccc45);}const properties=require(a12_0x41fe6d(0x80)),fs=require('fs'),getAgentConfig=_0x57aae7=>{const _0x5ac2cb=a12_0x41fe6d;var _0x4bc22a,_0x5b9368,_0x237ca5;if(fs[_0x5ac2cb(0x70)](_0x57aae7)){const _0x42f829=properties['of'](_0x57aae7);return{'lightrunSecret':_0x42f829[_0x5ac2cb(0x74)](_0x5ac2cb(0x8e)),'apiEndpoint':_0x42f829[_0x5ac2cb(0x74)]('apiEndpoint'),'breakpointExpirationSec':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x81)),'transmissionBulkMaxSize':_0x42f829['getInt'](_0x5ac2cb(0x82)),'noCheckCertificate':_0x42f829[_0x5ac2cb(0x93)](_0x5ac2cb(0x97)),'pinnedCerts':(_0x4bc22a=_0x42f829[_0x5ac2cb(0x74)](_0x5ac2cb(0x95)))===null||_0x4bc22a===void 0x0?void 0x0:_0x4bc22a[_0x5ac2cb(0x91)](','),'metadata':{'filename':_0x42f829[_0x5ac2cb(0x74)]('agent_regmetadata_file')},'capture':{'maxFrames':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x7e)),'maxDataSize':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x8b)),'maxSnapshotBufferSize':_0x42f829['getInt'](_0x5ac2cb(0x8b)),'maxVariableSize':_0x42f829['getInt'](_0x5ac2cb(0x84)),'maxWatchListVariableSize':_0x42f829['getInt']('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x89)),'agentLogTargetDir':_0x42f829[_0x5ac2cb(0x74)](_0x5ac2cb(0x75)),'agentLogLevel':_0x42f829[_0x5ac2cb(0x74)]('agent_log_level'),'agentLogMaxFileCount':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x7d)),'agentLogMaxFileSizeMb':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x7a)),'maxLogFileBytes':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x72))},'quota':{'ignoreQuota':_0x42f829[_0x5ac2cb(0x93)](_0x5ac2cb(0x92)),'maxCPUCost':_0x42f829[_0x5ac2cb(0x88)](_0x5ac2cb(0x83)),'maxConditionCost':_0x42f829['getFloat'](_0x5ac2cb(0x9b)),'maxDynamicLogRate':_0x42f829['getInt'](_0x5ac2cb(0x90)),'maxDynamicLogByteRate':_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x6f)),'quotaRecoverySeconds':_0x42f829['getInt'](_0x5ac2cb(0x76))&&_0x42f829[_0x5ac2cb(0x78)](_0x5ac2cb(0x76))/0x3e8},'fetchBreakpointsOnce':_0x42f829['getBoolean'](_0x5ac2cb(0x9a)),'extraPaths':(_0x237ca5=(_0x5b9368=_0x42f829[_0x5ac2cb(0x74)](_0x5ac2cb(0x79)))===null||_0x5b9368===void 0x0?void 0x0:_0x5b9368[_0x5ac2cb(0x91)](','))===null||_0x237ca5===void 0x0?void 0x0:_0x237ca5['map'](_0x2e5446=>_0x2e5446[_0x5ac2cb(0x8d)]())};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x30e636=a13_0x26c0;(function(_0x219e68,_0x11bf0d){const _0x26830c=a13_0x26c0,_0x25bef2=_0x219e68();while(!![]){try{const _0x20a8d0=parseInt(_0x26830c(0x168))/0x1+parseInt(_0x26830c(0x165))/0x2+-parseInt(_0x26830c(0x160))/0x3+parseInt(_0x26830c(0x164))/0x4+-parseInt(_0x26830c(0x15b))/0x5+-parseInt(_0x26830c(0x15e))/0x6+parseInt(_0x26830c(0x163))/0x7*(parseInt(_0x26830c(0x167))/0x8);if(_0x20a8d0===_0x11bf0d)break;else _0x25bef2['push'](_0x25bef2['shift']());}catch(_0x18d4ec){_0x25bef2['push'](_0x25bef2['shift']());}}}(a13_0x171b,0xc87e2));Object['defineProperty'](exports,a13_0x30e636(0x16a),{'value':!![]}),exports[a13_0x30e636(0x16c)]=exports[a13_0x30e636(0x161)]=void 0x0;var Platforms;(function(_0x4c4a4a){const _0xbe4ccc=a13_0x30e636,_0xb46946=(function(){let _0x7149df=!![];return function(_0x37914b,_0x33bc2a){const _0xb7fd2a=_0x7149df?function(){const _0x306979=a13_0x26c0;if(_0x33bc2a){const _0x40d635=_0x33bc2a[_0x306979(0x15d)](_0x37914b,arguments);return _0x33bc2a=null,_0x40d635;}}:function(){};return _0x7149df=![],_0xb7fd2a;};}()),_0x2400ad=_0xb46946(this,function(){const _0x4d9d7f=a13_0x26c0;return _0x2400ad[_0x4d9d7f(0x15f)]()[_0x4d9d7f(0x162)](_0x4d9d7f(0x169))[_0x4d9d7f(0x15f)]()[_0x4d9d7f(0x16e)](_0x2400ad)[_0x4d9d7f(0x162)]('(((.+)+)+)+$');});_0x2400ad(),_0x4c4a4a[_0xbe4ccc(0x16d)]=_0xbe4ccc(0x16f),_0x4c4a4a[_0xbe4ccc(0x16b)]=_0xbe4ccc(0x15c);}(Platforms=exports[a13_0x30e636(0x161)]||(exports[a13_0x30e636(0x161)]={})));function a13_0x26c0(_0x351942,_0x234d1b){const _0x1b63a6=a13_0x171b();return a13_0x26c0=function(_0x190e2c,_0x176f8a){_0x190e2c=_0x190e2c-0x15b;let _0x171bb2=_0x1b63a6[_0x190e2c];return _0x171bb2;},a13_0x26c0(_0x351942,_0x234d1b);}const getPlatform=()=>{const _0x2501f2=a13_0x30e636,{FUNCTION_NAME:_0x4d2201,FUNCTION_TARGET:_0x3d5a02}=process[_0x2501f2(0x166)];if(_0x4d2201||_0x3d5a02)return Platforms[_0x2501f2(0x16d)];return Platforms[_0x2501f2(0x16b)];};function a13_0x171b(){const _0x3355ea=['apply','9643560PaXUNb','toString','394446dRRvYR','Platforms','search','726439Pesqly','387312BMhXFn','51972WNmnhj','env','120BELuTm','1283207MmRPLP','(((.+)+)+)+$','__esModule','DEFAULT','getPlatform','CLOUD_FUNCTION','constructor','cloud_function','2013580KAwIxf','default'];a13_0x171b=function(){return _0x3355ea;};return a13_0x171b();}exports[a13_0x30e636(0x16c)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x12410b=a14_0x4bc3;function a14_0x4bc3(_0x154e55,_0x4144c3){const _0x555eea=a14_0x1c58();return a14_0x4bc3=function(_0x1cf8a0,_0x2e0cc0){_0x1cf8a0=_0x1cf8a0-0xf5;let _0x1c58cc=_0x555eea[_0x1cf8a0];return _0x1c58cc;},a14_0x4bc3(_0x154e55,_0x4144c3);}(function(_0x1d9695,_0x54e3ae){const _0x2ce7cc=a14_0x4bc3,_0x3f4cb4=_0x1d9695();while(!![]){try{const _0x32e6a1=parseInt(_0x2ce7cc(0xfe))/0x1+parseInt(_0x2ce7cc(0xfd))/0x2+parseInt(_0x2ce7cc(0xfa))/0x3+parseInt(_0x2ce7cc(0x107))/0x4*(parseInt(_0x2ce7cc(0x102))/0x5)+-parseInt(_0x2ce7cc(0xfb))/0x6*(parseInt(_0x2ce7cc(0x101))/0x7)+-parseInt(_0x2ce7cc(0xf7))/0x8+-parseInt(_0x2ce7cc(0xff))/0x9*(parseInt(_0x2ce7cc(0x100))/0xa);if(_0x32e6a1===_0x54e3ae)break;else _0x3f4cb4['push'](_0x3f4cb4['shift']());}catch(_0x26fd27){_0x3f4cb4['push'](_0x3f4cb4['shift']());}}}(a14_0x1c58,0xc8f7a));function a14_0x1c58(){const _0x2965ee=['__esModule','8428360kmhlsJ','mapSubtract','toString','1665780ywFSFh','150NVMBrt','(((.+)+)+)+$','2672382nucSKQ','293290BmTyrY','7272927zMQZDd','20zykHdP','11081HwgQii','6738735WLObZA','constructor','defineProperty','search','apply','4uHfcBX','push'];a14_0x1c58=function(){return _0x2965ee;};return a14_0x1c58();}const a14_0x2e0cc0=(function(){let _0x315a29=!![];return function(_0x35fa89,_0xe7b8fe){const _0xe10abe=_0x315a29?function(){const _0x24687a=a14_0x4bc3;if(_0xe7b8fe){const _0x1e55d6=_0xe7b8fe[_0x24687a(0x106)](_0x35fa89,arguments);return _0xe7b8fe=null,_0x1e55d6;}}:function(){};return _0x315a29=![],_0xe10abe;};}()),a14_0x1cf8a0=a14_0x2e0cc0(this,function(){const _0xd6bda7=a14_0x4bc3;return a14_0x1cf8a0[_0xd6bda7(0xf9)]()['search'](_0xd6bda7(0xfc))[_0xd6bda7(0xf9)]()[_0xd6bda7(0x103)](a14_0x1cf8a0)[_0xd6bda7(0x105)](_0xd6bda7(0xfc));});a14_0x1cf8a0();'use strict';Object[a14_0x12410b(0x104)](exports,a14_0x12410b(0xf6),{'value':!![]}),exports[a14_0x12410b(0xf8)]=void 0x0;const mapSubtract=(_0xeb0c6c,_0x37c466)=>{const _0x266d3b=a14_0x12410b,_0x213c47=[];for(const _0x45feb9 in _0xeb0c6c){!_0x37c466[_0x45feb9]&&_0x213c47[_0x266d3b(0xf5)](_0xeb0c6c[_0x45feb9]);}return _0x213c47;};exports[a14_0x12410b(0xf8)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0xd75541=a15_0x5c47;function a15_0x5c47(_0x17cfd0,_0x44934d){const _0x50784f=a15_0x2e3e();return a15_0x5c47=function(_0x26a359,_0x1b00fd){_0x26a359=_0x26a359-0xb3;let _0x2e3e72=_0x50784f[_0x26a359];return _0x2e3e72;},a15_0x5c47(_0x17cfd0,_0x44934d);}(function(_0x71ef8f,_0xd0014c){const _0x4e7dd7=a15_0x5c47,_0x4d4756=_0x71ef8f();while(!![]){try{const _0x1a6cc0=parseInt(_0x4e7dd7(0xc5))/0x1*(parseInt(_0x4e7dd7(0xca))/0x2)+-parseInt(_0x4e7dd7(0xbc))/0x3*(-parseInt(_0x4e7dd7(0xb9))/0x4)+parseInt(_0x4e7dd7(0xd6))/0x5*(-parseInt(_0x4e7dd7(0xe6))/0x6)+-parseInt(_0x4e7dd7(0xd7))/0x7+-parseInt(_0x4e7dd7(0xc3))/0x8+-parseInt(_0x4e7dd7(0xdd))/0x9+-parseInt(_0x4e7dd7(0xb5))/0xa*(-parseInt(_0x4e7dd7(0xc6))/0xb);if(_0x1a6cc0===_0xd0014c)break;else _0x4d4756['push'](_0x4d4756['shift']());}catch(_0x5578b3){_0x4d4756['push'](_0x4d4756['shift']());}}}(a15_0x2e3e,0x995fe));const a15_0x1b00fd=(function(){let _0x3314b7=!![];return function(_0x494a27,_0x398fd0){const _0x59ac71=_0x3314b7?function(){const _0x522dff=a15_0x5c47;if(_0x398fd0){const _0x51cb3d=_0x398fd0[_0x522dff(0xb7)](_0x494a27,arguments);return _0x398fd0=null,_0x51cb3d;}}:function(){};return _0x3314b7=![],_0x59ac71;};}()),a15_0x26a359=a15_0x1b00fd(this,function(){const _0x463365=a15_0x5c47;return a15_0x26a359[_0x463365(0xb6)]()['search'](_0x463365(0xdc))[_0x463365(0xb6)]()[_0x463365(0xd9)](a15_0x26a359)[_0x463365(0xe2)](_0x463365(0xdc));});function a15_0x2e3e(){const _0x598288=['8156dqMfBA','STD_ERR_THRESHOLD','LIGHTRUN_INIT_WAIT_TIME_MS','1317IweaQU','agentLogMaxFileSizeMb','LIGHTRUN_WAIT_FOR_INIT','normalizeConfig','LIGHTRUN_SECRET','AGENT_LOG_TARGET_DIR','GAE_MODULE_VERSION','5788824Ergiao','serviceContext','141863UgvAGu','41767nnfuUU','LIGHTRUN_TAGS','GAE_MODULE_NAME','agentConfigFile','12vOKoqk','service','../util/utils','split','version','./getAgentConfig','agentLogMaxFileCount','defaultConfig','LIGHTRUN_AGENT_CONFIG','K_REVISION','FUNCTION_NAME','GAE_VERSION','5EGBSVq','2582930xMlkUX','LIGHTRUN_API_ENDPOINT','constructor','defineProperty','agentLogLevel','(((.+)+)+)+$','9161487FhQWWQ','registration','getBooleanValue','getAgentConfig','AGENT_LOG_MAX_FILE_COUNT','search','AGENT_LOG_MAX_FILE_SIZE_MB','agentLog','__esModule','3158046FmhviY','AGENT_LOG_LEVEL','FETCH_BREAKPOINTS_ONCE','LIGHTRUN_METADATA_FILE','env','GAE_SERVICE','metadata','GAE_MINOR_VERSION','4000WOxnlp','toString','apply','NO_CHECK_CERTIFICATE'];a15_0x2e3e=function(){return _0x598288;};return a15_0x2e3e();}a15_0x26a359();'use strict';Object[a15_0xd75541(0xda)](exports,a15_0xd75541(0xe5),{'value':!![]}),exports[a15_0xd75541(0xbf)]=void 0x0;const extend=require('extend'),config_1=require('../config'),utils_1=require(a15_0xd75541(0xcc)),getAgentConfig_1=require(a15_0xd75541(0xcf)),normalizeConfig=_0x17a594=>{const _0x35d3e9=a15_0xd75541,_0x2e22d2={'serviceContext':{'service':process[_0x35d3e9(0xea)][_0x35d3e9(0xeb)]||process['env'][_0x35d3e9(0xc8)]||process[_0x35d3e9(0xea)]['K_SERVICE'],'version':process['env'][_0x35d3e9(0xd5)]||process[_0x35d3e9(0xea)][_0x35d3e9(0xc2)]||process[_0x35d3e9(0xea)][_0x35d3e9(0xd3)],'minorVersion_':process['env']['GAE_DEPLOYMENT_ID']||process[_0x35d3e9(0xea)][_0x35d3e9(0xb4)]},'metadata':{'filename':process['env'][_0x35d3e9(0xe9)],'registration':{}},'lightrunSecret':process[_0x35d3e9(0xea)][_0x35d3e9(0xc0)],'apiEndpoint':process[_0x35d3e9(0xea)][_0x35d3e9(0xd8)],'noCheckCertificate':(0x0,utils_1['getBooleanValue'])(process[_0x35d3e9(0xea)][_0x35d3e9(0xb8)]),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process['env'][_0x35d3e9(0xe8)]),'lightrunWaitForInit':(0x0,utils_1[_0x35d3e9(0xdf)])(process[_0x35d3e9(0xea)][_0x35d3e9(0xbe)]),'lightrunInitWaitTimeMs':process['env'][_0x35d3e9(0xbb)],'agentLog':(_0x17a594===null||_0x17a594===void 0x0?void 0x0:_0x17a594[_0x35d3e9(0xe4)])||{}};process['env']['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x2e22d2[_0x35d3e9(0xe4)]['stdErrThreshold']=process[_0x35d3e9(0xea)][_0x35d3e9(0xba)]);process[_0x35d3e9(0xea)][_0x35d3e9(0xe7)]!==undefined&&(_0x2e22d2[_0x35d3e9(0xe4)][_0x35d3e9(0xdb)]=process['env']['AGENT_LOG_LEVEL']);process[_0x35d3e9(0xea)][_0x35d3e9(0xc1)]!==undefined&&(_0x2e22d2['agentLog']['agentLogTargetDir']=process[_0x35d3e9(0xea)][_0x35d3e9(0xc1)]);process[_0x35d3e9(0xea)]['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x2e22d2[_0x35d3e9(0xe4)][_0x35d3e9(0xd0)]=parseInt(process[_0x35d3e9(0xea)][_0x35d3e9(0xe1)]));process[_0x35d3e9(0xea)][_0x35d3e9(0xe3)]!==undefined&&(_0x2e22d2[_0x35d3e9(0xe4)][_0x35d3e9(0xbd)]=parseInt(process['env']['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x35d3e9(0xea)][_0x35d3e9(0xd4)]&&(_0x2e22d2[_0x35d3e9(0xc4)][_0x35d3e9(0xcb)]=process[_0x35d3e9(0xea)]['FUNCTION_NAME'],_0x2e22d2['serviceContext'][_0x35d3e9(0xce)]='unversioned');process[_0x35d3e9(0xea)][_0x35d3e9(0xc7)]&&(_0x2e22d2[_0x35d3e9(0xb3)][_0x35d3e9(0xde)]={'tags':process['env'][_0x35d3e9(0xc7)][_0x35d3e9(0xcd)](',')});const _0x33cb7e=(0x0,getAgentConfig_1[_0x35d3e9(0xe0)])(process['env'][_0x35d3e9(0xd2)]||(_0x17a594===null||_0x17a594===void 0x0?void 0x0:_0x17a594[_0x35d3e9(0xc9)])||config_1[_0x35d3e9(0xd1)][_0x35d3e9(0xc9)]);return extend(!![],{},config_1['defaultConfig'],_0x33cb7e,_0x17a594,_0x2e22d2);};exports[a15_0xd75541(0xbf)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16_0x8c8a(_0x6f0cdc,_0x8c8c0b){const _0x2ec3fe=a16_0x4799();return a16_0x8c8a=function(_0x12e56a,_0x59877f){_0x12e56a=_0x12e56a-0x1af;let _0x47991d=_0x2ec3fe[_0x12e56a];return _0x47991d;},a16_0x8c8a(_0x6f0cdc,_0x8c8c0b);}function a16_0x4799(){const _0x3bd403=['search','23247OQqAqR','constructor','334400UPpBvX','(((.+)+)+)+$','323842AxgyOM','apply','25292aQTNlP','983075MxtGGz','./delimit','length','toString','push','747PpGKaV','tokenize','delimit','defineProperty','872AdZtNP','177YLVEqL','2098464tePgcb','75590aIpcep'];a16_0x4799=function(){return _0x3bd403;};return a16_0x4799();}const a16_0xb53535=a16_0x8c8a;(function(_0x2293b0,_0x35733f){const _0x3c6293=a16_0x8c8a,_0x581331=_0x2293b0();while(!![]){try{const _0x1e8621=parseInt(_0x3c6293(0x1c0))/0x1+-parseInt(_0x3c6293(0x1be))/0x2+parseInt(_0x3c6293(0x1b8))/0x3*(-parseInt(_0x3c6293(0x1c2))/0x4)+-parseInt(_0x3c6293(0x1c3))/0x5+-parseInt(_0x3c6293(0x1b9))/0x6+parseInt(_0x3c6293(0x1bc))/0x7*(parseInt(_0x3c6293(0x1b7))/0x8)+parseInt(_0x3c6293(0x1b3))/0x9*(parseInt(_0x3c6293(0x1ba))/0xa);if(_0x1e8621===_0x35733f)break;else _0x581331['push'](_0x581331['shift']());}catch(_0x17271e){_0x581331['push'](_0x581331['shift']());}}}(a16_0x4799,0x37534));const a16_0x59877f=(function(){let _0x44f16e=!![];return function(_0x716694,_0x2750af){const _0x5419ab=_0x44f16e?function(){const _0x17d887=a16_0x8c8a;if(_0x2750af){const _0x2f3887=_0x2750af[_0x17d887(0x1c1)](_0x716694,arguments);return _0x2750af=null,_0x2f3887;}}:function(){};return _0x44f16e=![],_0x5419ab;};}()),a16_0x12e56a=a16_0x59877f(this,function(){const _0x4ce6f8=a16_0x8c8a;return a16_0x12e56a[_0x4ce6f8(0x1b1)]()[_0x4ce6f8(0x1bb)](_0x4ce6f8(0x1bf))['toString']()[_0x4ce6f8(0x1bd)](a16_0x12e56a)[_0x4ce6f8(0x1bb)](_0x4ce6f8(0x1bf));});a16_0x12e56a();'use strict';Object[a16_0xb53535(0x1b6)](exports,'__esModule',{'value':!![]}),exports[a16_0xb53535(0x1b4)]=void 0x0;const delimit_1=require(a16_0xb53535(0x1af)),tokenize=(_0x506517,_0x2d95b9)=>{const _0x55b04b=a16_0xb53535;let _0x267ad5=(0x0,delimit_1[_0x55b04b(0x1b5)])(_0x506517,'$$');for(let _0x4fc510=_0x2d95b9-0x1;_0x4fc510>=0x0;_0x4fc510--){const _0x498231=[];for(let _0x431420=0x0;_0x431420<_0x267ad5[_0x55b04b(0x1b0)];_0x431420++){_0x267ad5[_0x431420]['v']?_0x498231[_0x55b04b(0x1b2)](_0x267ad5[_0x431420]):_0x498231[_0x55b04b(0x1b2)](...(0x0,delimit_1[_0x55b04b(0x1b5)])(_0x267ad5[_0x431420],'$'+_0x4fc510));}_0x267ad5=_0x498231;}return _0x267ad5;};exports['tokenize']=tokenize;
|