browserstack-node-sdk 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/constants.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/helper.js +1 -1
- package/src/bin/mocha/test-observability/requestQueueHandler.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x15f117=a29_0x27c6;(function(_0x45a70f,_0x500583){const _0x664cb3=a29_0x27c6,_0xa3e9a=_0x45a70f();while(!![]){try{const _0x2ebe62=-parseInt(_0x664cb3(0xef))/0x1+parseInt(_0x664cb3(0xf1))/0x2+parseInt(_0x664cb3(0xf9))/0x3+-parseInt(_0x664cb3(0xe7))/0x4*(-parseInt(_0x664cb3(0xdb))/0x5)+-parseInt(_0x664cb3(0xe4))/0x6*(parseInt(_0x664cb3(0xf2))/0x7)+-parseInt(_0x664cb3(0xe6))/0x8+-parseInt(_0x664cb3(0xfe))/0x9*(parseInt(_0x664cb3(0xec))/0xa);if(_0x2ebe62===_0x500583)break;else _0xa3e9a['push'](_0xa3e9a['shift']());}catch(_0x24e82c){_0xa3e9a['push'](_0xa3e9a['shift']());}}}(a29_0xa53d,0xe9cea));const Transport=require(a29_0x15f117(0xeb)),{consoleHolder}=require(a29_0x15f117(0xf0)),a29_0x3adcce={};function a29_0x27c6(_0x3abc4a,_0x4a62bf){const _0xa53d3a=a29_0xa53d();return a29_0x27c6=function(_0x27c6ab,_0x3dfea4){_0x27c6ab=_0x27c6ab-0xd5;let _0x3dfb5b=_0xa53d3a[_0x27c6ab];return _0x3dfb5b;},a29_0x27c6(_0x3abc4a,_0x4a62bf);}a29_0x3adcce[a29_0x15f117(0xde)]='INFO',a29_0x3adcce[a29_0x15f117(0xdf)]=a29_0x15f117(0xdf),a29_0x3adcce['DEBUG']=a29_0x15f117(0x100),a29_0x3adcce['TRACE']=a29_0x15f117(0xf5),a29_0x3adcce[a29_0x15f117(0xe5)]='WARN';const LOG_LEVELS=a29_0x3adcce;function a29_0xa53d(){const _0x212437=['vuLZV','info','pIpHk','object','WoSaq','5vVjAJW','aCCUr','bs:addLog:','INFO','ERROR','SvSbi','emit','TEST_LOG','xIRqY','2719536iRvRQr','WARN','127376vLJZoh','2226784UUIhYC','warn','message','kAAcf','winston-transport','2225220itDvpf','bhOEh','HqqHi','340133oRrvzX','../mocha/test-observability/constants','3408210QjhWTN','14tQVtgy','pid','log','TRACE','trace','toUpperCase','iRKbf','545886QjISYI','sXfDA','Hcpfy','logToTestOps','nKCAr','9sVOotc','debug','DEBUG','error','toISOString','level'];a29_0xa53d=function(){return _0x212437;};return a29_0xa53d();}class logReportingAPI extends Transport{constructor(_0x4c0940){super(_0x4c0940);}[a29_0x15f117(0xf4)](_0x322e6d,_0x2bed46){const _0x50c062=a29_0x15f117,_0x14248b={'SvSbi':function(_0x403da0,_0x347d5a){return _0x403da0===_0x347d5a;},'HqqHi':_0x50c062(0xfa),'pIpHk':'logged','vuLZV':function(_0xf2b35e,_0xd1eaa3){return _0xf2b35e(_0xd1eaa3);},'nKCAr':function(_0x34f071,_0x1f907b){return _0x34f071===_0x1f907b;},'bhOEh':_0x50c062(0xd9),'iRKbf':function(_0x373da3,_0x2bf9ab){return _0x373da3!==_0x2bf9ab;},'ZlyFi':_0x50c062(0xe3),'FqgRf':_0x50c062(0xea),'Hcpfy':'TfUVS','aCCUr':function(_0x23c421){return _0x23c421();}};_0x14248b[_0x50c062(0xd6)](setImmediate,()=>{const _0x210035=_0x50c062;_0x14248b[_0x210035(0xe0)](_0x14248b[_0x210035(0xee)],_0x14248b['HqqHi'])?this[_0x210035(0xe1)](_0x14248b[_0x210035(0xd8)],_0x322e6d):this[_0x210035(0xfc)](_0x7f9f6b[_0x210035(0xde)],_0x1dccd4);});_0x14248b[_0x50c062(0xfd)](typeof _0x322e6d,_0x14248b[_0x50c062(0xed)])?_0x14248b[_0x50c062(0xf8)](_0x14248b['ZlyFi'],_0x14248b['FqgRf'])?this['logToTestOps'](_0x322e6d[_0x50c062(0xd5)]||LOG_LEVELS[_0x50c062(0xde)],_0x322e6d[_0x50c062(0xe9)],![]):this[_0x50c062(0xfc)](_0x3d9d9b[_0x50c062(0xde)],_0x61e268):_0x14248b[_0x50c062(0xe0)](_0x14248b['Hcpfy'],_0x14248b[_0x50c062(0xfb)])?this[_0x50c062(0xfc)](LOG_LEVELS[_0x50c062(0xde)],_0x322e6d):this[_0x50c062(0xfc)](_0x5c0af6[_0x50c062(0xf5)],_0x5d06c6);if(_0x2bed46)_0x14248b[_0x50c062(0xdc)](_0x2bed46);}[a29_0x15f117(0xfc)]=(_0x41835d=LOG_LEVELS[a29_0x15f117(0xde)],_0x412b00='',_0x544590=!![])=>{const _0x298d19=a29_0x15f117,_0x5dc479={};_0x5dc479[_0x298d19(0xda)]=_0x298d19(0xe2);const _0x30ee48=_0x5dc479;if(_0x544590)consoleHolder[_0x41835d['toLowerCase']()](_0x412b00);process[_0x298d19(0xe1)](_0x298d19(0xdd)+process[_0x298d19(0xf3)],{'timestamp':new Date()[_0x298d19(0x102)](),'level':_0x41835d[_0x298d19(0xf7)](),'message':_0x412b00,'kind':_0x30ee48[_0x298d19(0xda)],'http_response':{}});};[a29_0x15f117(0xf6)]=(_0x53fee1,_0x339225)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0x53fee1);};[a29_0x15f117(0xff)]=(_0x370844,_0x171ef1)=>{const _0x163d68=a29_0x15f117;this[_0x163d68(0xfc)](LOG_LEVELS[_0x163d68(0x100)],_0x370844);};[a29_0x15f117(0xd7)]=(_0x8af545,_0x4f6ab5)=>{const _0xb546d7=a29_0x15f117;this[_0xb546d7(0xfc)](LOG_LEVELS['INFO'],_0x8af545);};[a29_0x15f117(0xe8)]=(_0x27d3ea,_0x206306)=>{const _0xd27432=a29_0x15f117;this[_0xd27432(0xfc)](LOG_LEVELS[_0xd27432(0xe5)],_0x27d3ea);};[a29_0x15f117(0x101)]=(_0x14998f,_0x3e649a)=>{const _0x11746f=a29_0x15f117;this[_0x11746f(0xfc)](LOG_LEVELS[_0x11746f(0xdf)],_0x14998f);};};module['exports']=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a30_0x29b60b=a30_0x5839;(function(_0x5ef8e5,_0x110041){const _0x2d15d9=a30_0x5839,_0x433f37=_0x5ef8e5();while(!![]){try{const _0x422d80=-parseInt(_0x2d15d9(0x1e8))/0x1+parseInt(_0x2d15d9(0x1e2))/0x2*(parseInt(_0x2d15d9(0x1f7))/0x3)+-parseInt(_0x2d15d9(0x1db))/0x4+-parseInt(_0x2d15d9(0x1fd))/0x5*(-parseInt(_0x2d15d9(0x1f0))/0x6)+-parseInt(_0x2d15d9(0x1e4))/0x7+parseInt(_0x2d15d9(0x1d5))/0x8*(parseInt(_0x2d15d9(0x1cc))/0x9)+parseInt(_0x2d15d9(0x1e9))/0xa;if(_0x422d80===_0x110041)break;else _0x433f37['push'](_0x433f37['shift']());}catch(_0x4ef798){_0x433f37['push'](_0x433f37['shift']());}}}(a30_0xcd9a,0x2be22));function a30_0x5839(_0x5f5317,_0x53ed4f){const _0xcd9aff=a30_0xcd9a();return a30_0x5839=function(_0x583930,_0x7577d){_0x583930=_0x583930-0x1c3;let _0x2501fc=_0xcd9aff[_0x583930];return _0x2501fc;},a30_0x5839(_0x5f5317,_0x53ed4f);}const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x29b60b(0x1df)),helper=require(a30_0x29b60b(0x1ea)),constants=require(a30_0x29b60b(0x1cb)),{parallelVanillaRun}=require(a30_0x29b60b(0x1e7));async function run(_0x1a95fd){const _0x3d16b6=a30_0x29b60b,_0x3826dc={'jnWFL':_0x3d16b6(0x201),'XiJiP':function(_0x4c5e27,_0x3e8df8){return _0x4c5e27===_0x3e8df8;},'QGpFO':_0x3d16b6(0x1ef),'YYdnp':_0x3d16b6(0x1dc),'dVoCb':function(_0x585c71,_0x4d72df){return _0x585c71!==_0x4d72df;},'TJJRA':_0x3d16b6(0x1cf),'suVyy':function(_0x1ff971,_0x2c7937){return _0x1ff971(_0x2c7937);},'XHNIX':_0x3d16b6(0x1d9),'tZFnH':function(_0xacb817,_0x3c2c31){return _0xacb817(_0x3c2c31);},'KEuHI':function(_0x5f2ba6,_0x4cf33e){return _0x5f2ba6(_0x4cf33e);},'zXWsQ':_0x3d16b6(0x1f4),'wMLXT':function(_0x6cc635,_0x1d7ff7){return _0x6cc635>_0x1d7ff7;},'DNRkf':_0x3d16b6(0x1ed),'lftjO':function(_0x44070c,_0x404c59){return _0x44070c>_0x404c59;},'pMqLc':_0x3d16b6(0x1f5),'QGKln':_0x3d16b6(0x1f8),'OQCfA':function(_0x1c448e,_0x54f6bb){return _0x1c448e!==_0x54f6bb;},'hMkXb':_0x3d16b6(0x1d2),'HKwjp':function(_0x39a05d,_0x14e031){return _0x39a05d*_0x14e031;},'AZPKI':function(_0x2d5623,_0x2ae5c1,_0x435935){return _0x2d5623(_0x2ae5c1,_0x435935);}},_0x4a067e=new BrowserStackSetup();let _0x5f5080=[];if(helper[_0x3d16b6(0x1e3)](_0x1a95fd['_'][0x1]))throw _0x3826dc[_0x3d16b6(0x1c6)](Error,_0x3826dc[_0x3d16b6(0x1e6)]);const _0x30f833=path['join'](process['cwd'](),_0x1a95fd['_'][0x1]);if(!fs[_0x3d16b6(0x1cd)](_0x30f833))throw _0x3826dc[_0x3d16b6(0x1e5)](Error,_0x3d16b6(0x1dd)+_0x1a95fd['_'][0x1]+_0x3d16b6(0x1ee));if(!_0x4a067e[_0x3d16b6(0x1e1)])throw _0x3826dc[_0x3d16b6(0x1c8)](Error,_0x3826dc[_0x3d16b6(0x1c3)]);let _0x29addf=helper['useW3C'](_0x4a067e[_0x3d16b6(0x1e1)]);if(_0x4a067e[_0x3d16b6(0x1e1)][_0x3d16b6(0x1d8)]&&_0x3826dc['wMLXT'](_0x4a067e['config']['platforms'][_0x3d16b6(0x1f6)],0x0)){if(_0x3826dc[_0x3d16b6(0x1d6)](_0x3826dc['DNRkf'],_0x3826dc['DNRkf']))_0x4a067e[_0x3d16b6(0x1e1)][_0x3d16b6(0x1d8)][_0x3d16b6(0x1ff)]((_0x45284f,_0x53e6e4)=>{const _0x7b9c98=_0x3d16b6;if(_0x3826dc[_0x7b9c98(0x1d6)](_0x3826dc[_0x7b9c98(0x1ec)],_0x3826dc[_0x7b9c98(0x1ce)])){let _0x688a57;if(_0x162034)_0x688a57=_0x33097c['modifyBrowserStackW3CCaps'](_0x1c44de[_0x7b9c98(0x1e1)],_0x3826dc['jnWFL'],0x0);else _0x688a57=_0x585da3['modifyBrowserStackCaps'](_0x4e864a[_0x7b9c98(0x1e1)],_0x3826dc['jnWFL'],0x0);const _0x1a06a6={};_0x1a06a6[_0x7b9c98(0x1c4)]=_0x4eb00e[_0x7b9c98(0x1c5)],_0x1a06a6['proxySettings']=_0x58db17[_0x7b9c98(0x1e1)][_0x7b9c98(0x1d1)],_0x48d701=_0x1a06a6;const _0x36ae80={'capability':_0x688a57,..._0x3e0d65};_0x36ae80[_0x7b9c98(0x1e0)]=_0x18e1af,_0x36ae80[_0x7b9c98(0x1fe)]=_0x3ce11a,_0x36ae80[_0x7b9c98(0x1fb)]=!![];const _0x37aaf8={};_0x37aaf8['configuration']=_0x36ae80,_0x206758=_0x37aaf8,_0x552d8d['push'](_0x6b7668);}else{if(_0x29addf)_0x5f5080['push'](helper[_0x7b9c98(0x1de)](_0x4a067e['config'],_0x3826dc[_0x7b9c98(0x1c9)],_0x53e6e4));else _0x5f5080[_0x7b9c98(0x1ca)](helper[_0x7b9c98(0x1d0)](_0x4a067e[_0x7b9c98(0x1e1)],_0x3826dc[_0x7b9c98(0x1c9)],_0x53e6e4));}});else{const _0x1dcbbc={};_0x1dcbbc[_0x3d16b6(0x1f1)]=_0x3826dc[_0x3d16b6(0x1c9)];const _0x292fc2=_0x1dcbbc;_0x5d7cb3['config'][_0x3d16b6(0x1d8)][_0x3d16b6(0x1ff)]((_0x2f5179,_0x5f042f)=>{const _0xab0445=_0x3d16b6;if(_0x2a7646)_0x77e7cd[_0xab0445(0x1ca)](_0x2ddbc7[_0xab0445(0x1de)](_0x2ef5c4[_0xab0445(0x1e1)],_0x292fc2[_0xab0445(0x1f1)],_0x5f042f));else _0x443f5e[_0xab0445(0x1ca)](_0x3d738c[_0xab0445(0x1d0)](_0x3c0237['config'],_0x292fc2['JXgbd'],_0x5f042f));});}}let _0x1f820e,_0x3cd074;const _0x209870=[];if(_0x3826dc['lftjO'](_0x5f5080['length'],0x0)){if(_0x3826dc[_0x3d16b6(0x1eb)](_0x3826dc[_0x3d16b6(0x1f3)],_0x3826dc[_0x3d16b6(0x1fa)]))_0x5f5080['forEach'](_0x2dfbf5=>{const _0x5607bc=_0x3d16b6;if(_0x3826dc[_0x5607bc(0x1eb)](_0x3826dc[_0x5607bc(0x1d3)],_0x3826dc[_0x5607bc(0x1d3)])){_0x1f89fd={'server':_0x2856f1[_0x5607bc(0x1c5)],'proxySettings':_0x253d19[_0x5607bc(0x1e1)]['proxySettings'],'platform':_0x21faaa[_0x5607bc(0x1f2)](_0x46f694)};const _0x36ed66={'capability':_0x300adf,..._0x18eeb4};_0x36ed66['file']=_0x53742e,_0x36ed66[_0x5607bc(0x1fe)]=_0x1f63b2;const _0x10d732={};_0x10d732[_0x5607bc(0x1fc)]=_0x36ed66,_0x25cc51=_0x10d732,_0x26d64a['push'](_0x6a3102);}else{_0x1f820e={'server':constants['hubUrl'],'proxySettings':_0x4a067e[_0x5607bc(0x1e1)][_0x5607bc(0x1d1)],'platform':helper[_0x5607bc(0x1f2)](_0x2dfbf5)};const _0x18620e={'capability':_0x2dfbf5,..._0x1f820e};_0x18620e[_0x5607bc(0x1e0)]=_0x30f833,_0x18620e['args']=_0x1a95fd;const _0x517f29={};_0x517f29[_0x5607bc(0x1fc)]=_0x18620e,_0x3cd074=_0x517f29,_0x209870[_0x5607bc(0x1ca)](_0x3cd074);}});else{if(_0xedfcb0)_0x10c69e[_0x3d16b6(0x1ca)](_0x124b52[_0x3d16b6(0x1de)](_0x2f1236[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],_0x3e61b8));else _0x579307[_0x3d16b6(0x1ca)](_0x25ae1a[_0x3d16b6(0x1d0)](_0x253917[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],_0x141ed4));}}else{if(_0x3826dc[_0x3d16b6(0x1d7)](_0x3826dc[_0x3d16b6(0x202)],_0x3826dc[_0x3d16b6(0x202)]))_0x252bb4['forEach'](_0x2035fc=>{const _0x16b936=_0x3d16b6;_0x228641={'server':_0x47081a[_0x16b936(0x1c5)],'proxySettings':_0x27d540['config']['proxySettings'],'platform':_0x47ac16[_0x16b936(0x1f2)](_0x2035fc)};const _0x55f802={'capability':_0x2035fc,..._0x2940ad};_0x55f802[_0x16b936(0x1e0)]=_0x8b5a15,_0x55f802[_0x16b936(0x1fe)]=_0x39a1f7;const _0x4be047={};_0x4be047[_0x16b936(0x1fc)]=_0x55f802,_0x4d6e1c=_0x4be047,_0x38e1fc[_0x16b936(0x1ca)](_0x1a8b40);});else{let _0x4ea764;if(_0x29addf)_0x4ea764=helper[_0x3d16b6(0x1de)](_0x4a067e[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],0x0);else _0x4ea764=helper[_0x3d16b6(0x1d0)](_0x4a067e[_0x3d16b6(0x1e1)],_0x3826dc[_0x3d16b6(0x1c9)],0x0);const _0x41bad0={};_0x41bad0[_0x3d16b6(0x1c4)]=constants[_0x3d16b6(0x1c5)],_0x41bad0[_0x3d16b6(0x1d1)]=_0x4a067e['config'][_0x3d16b6(0x1d1)],_0x1f820e=_0x41bad0;const _0xc85b9c={'capability':_0x4ea764,..._0x1f820e};_0xc85b9c[_0x3d16b6(0x1e0)]=_0x30f833,_0xc85b9c[_0x3d16b6(0x1fe)]=_0x1a95fd,_0xc85b9c['merge']=!![];const _0x35ca65={};_0x35ca65[_0x3d16b6(0x1fc)]=_0xc85b9c,_0x3cd074=_0x35ca65,_0x209870[_0x3d16b6(0x1ca)](_0x3cd074);}}const _0x36b5ef=_0x3826dc[_0x3d16b6(0x200)](_0x4a067e['config'][_0x3d16b6(0x1d8)][_0x3d16b6(0x1f6)]||0x1,_0x4a067e[_0x3d16b6(0x1e1)][_0x3d16b6(0x1da)]);_0x3826dc[_0x3d16b6(0x1f9)](parallelVanillaRun,_0x209870,_0x36b5ef)[_0x3d16b6(0x1c7)](_0x13ed3c=>{});}function a30_0xcd9a(){const _0x53f160=['../utils/constants','422073GIIRvq','existsSync','YYdnp','sfTPj','modifyBrowserStackCaps','proxySettings','cgtHB','TJJRA','exports','8RLdVKm','XiJiP','OQCfA','platforms','File\x20path\x20is\x20required','parallelsPerPlatform','460532vPgCmm','ZBQuE','File\x20','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','file','config','2dIzpVo','isUndefined','2146095AiRPdD','tZFnH','XHNIX','../test-runner','336492vAPyDM','5893040ABiDNM','../../helpers/helper','dVoCb','QGpFO','vyrba','\x20doesn\x27t\x20exist','qfjWc','12uWopnw','JXgbd','getPlatformName','pMqLc','Config\x20yml\x20is\x20required','huwDP','length','234219nCrDnz','ArwkQ','AZPKI','QGKln','merge','configuration','559205FzaTMs','args','forEach','HKwjp','vanilla','hMkXb','zXWsQ','server','hubUrl','suVyy','then','KEuHI','jnWFL','push'];a30_0xcd9a=function(){return _0x53f160;};return a30_0xcd9a();}module[a30_0x29b60b(0x1d4)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a31_0x47f7(){const _0xa9d9c1=['zGRUk','ecxPD','xnQRd','GGNpw','./helper','WhHjx','default','hqEAv','unUdQ','selenium-webdriver','warn','GTwFD','info','eaaOu','6120876ppyAsV','Error\x20occured\x20while\x20stopping\x20local\x20binary','377126AOXpsr','constructor','SIGINT','AUoXT','WHETO','KwdKV','setupBrowserstackLocal','stopBrowserstackLocal','./setKeepAlive','error','CMAlk','awVYh','mMyzA','unhandledRejection','npNdZ','cutQL','userName\x20or\x20accessKey\x20is\x20not\x20defined','getAccessKey','BROWSERSTACK_LOCAL','isRunning','2114589oOEEgr','fkkJa','gTfsR','BlASh','platforms','Latlt','generateLocalIdentifier','iTpTJ','Unable\x20to\x20add\x20buildIdentifier:\x20','JIhLP','message','localIdentifier','debug','rQube','vmwLM','getLocalIdentifier','vgqNL','vnIsc','DihSo','handleBuildIdentifier','FYsqO','AtGzM','ilAvH','useW3C','ImrhJ','832528kkjfoO','fULSM','setLogLevel','FcKgL','AkSXc','qaYQe','bIxgi','fTvJT','mkIfc','Local\x20binary\x20stopped','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','TMhZh','qeTWd','kFmKW','getUserName','nRNyD','7050232hwZSim','KdSIK','Lmcng','BeTBA','yoeUC','qtaGz','govrZ','apMkB','yMcjL','fjred','dSWma','aqqiu','browserstackLocal','lRuac','NtAUA','HOBvn','./logger','ekZLO','NlEic','AabYV','HDUFP','XNKyQ','beforeExit','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','env','WJZkg','eVtng','fxvtH','RlcXB','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','ZrJyB','ylepa','stopLocalBinary','pDcUk','1KerARi','4402632SJRcYT','Local\x20binary\x20started\x20successfully','browserStackLocalOptions','getLocalConfig','ZbkEz','Rcyjc','uncaughtException','parallelsPerPlatform','winstonLogger','GpvBt','getPackageVersion','nIDIh','handleExceptions','setupKeepAlive','Vwvpw','hLgbt','OVBhS','ZUmCy','config','4400590RCnEhP','isUndefined','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','aXSqu','BrFGQ','setProxySettings','iWUej','length','DyItp','startLocalBinarySync','ctRSe','XYund'];a31_0x47f7=function(){return _0xa9d9c1;};return a31_0x47f7();}const a31_0x2c7813=a31_0x5b66;(function(_0x522453,_0x560707){const _0x499d4f=a31_0x5b66,_0x4b8ca5=_0x522453();while(!![]){try{const _0x306c63=parseInt(_0x499d4f(0x16f))/0x1*(parseInt(_0x499d4f(0x19f))/0x2)+parseInt(_0x499d4f(0x1b3))/0x3+-parseInt(_0x499d4f(0x170))/0x4+parseInt(_0x499d4f(0x183))/0x5+parseInt(_0x499d4f(0x19d))/0x6+-parseInt(_0x499d4f(0x14d))/0x7+-parseInt(_0x499d4f(0x13d))/0x8;if(_0x306c63===_0x560707)break;else _0x4b8ca5['push'](_0x4b8ca5['shift']());}catch(_0x3a4eca){_0x4b8ca5['push'](_0x4b8ca5['shift']());}}}(a31_0x47f7,0x8e09e));const logger=require(a31_0x2c7813(0x15d))[a31_0x2c7813(0x178)],helper=require(a31_0x2c7813(0x193)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x4b7b75=a31_0x2c7813,_0x4f1bd7={'uEtpr':function(_0x2ab94a,_0x49da1a){return _0x2ab94a(_0x49da1a);},'KwdKV':_0x4b7b75(0x1a7),'OoYoO':_0x4b7b75(0x1ac),'Vwvpw':_0x4b7b75(0x176),'NlEic':_0x4b7b75(0x164),'ZUmCy':_0x4b7b75(0x1bb),'IduUc':_0x4b7b75(0x16a),'TMhZh':_0x4b7b75(0x1af),'ecxPD':_0x4b7b75(0x147),'apMkB':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','Lmcng':function(_0x2b0dc9){return _0x2b0dc9();},'fjred':function(_0x378cf7,_0x21f795){return _0x378cf7<_0x21f795;},'ZbkEz':function(_0x31759c,_0x53b10b){return _0x31759c(_0x53b10b);},'WhHjx':_0x4b7b75(0x198),'fTvJT':function(_0x316759,_0x172bfd){return _0x316759!==_0x172bfd;},'SuzSf':_0x4b7b75(0x1ae),'qaYQe':function(_0x35c6b2,_0x32d2ad){return _0x35c6b2>=_0x32d2ad;},'RlcXB':function(_0x2c1bc0,_0x52be8f){return _0x2c1bc0(_0x52be8f);},'ilAvH':function(_0xbb5459,_0x4bb86d){return _0xbb5459===_0x4bb86d;},'ekZLO':_0x4b7b75(0x15b),'aXSqu':'aCjsS','nIDIh':function(_0x21e29c,_0x411fe2){return _0x21e29c===_0x411fe2;},'gTfsR':_0x4b7b75(0x18d),'ylepa':_0x4b7b75(0x1a2),'FcKgL':function(_0x1fd72d,_0x944ac7){return _0x1fd72d!==_0x944ac7;},'fULSM':'QGkuG','KdSIK':_0x4b7b75(0x19a),'rcrfr':'aEZeO','xnQRd':_0x4b7b75(0x162),'hqEAv':function(_0x299982,_0x50d72e){return _0x299982!==_0x50d72e;},'lRuac':function(_0x294aea,_0x1e8715){return _0x294aea===_0x1e8715;},'dCCCH':_0x4b7b75(0x197),'TDDHt':_0x4b7b75(0x16b),'iWUej':function(_0x28a034,_0x2c6a38){return _0x28a034===_0x2c6a38;},'HDUFP':_0x4b7b75(0x135),'XYund':function(_0x266fde,_0x398948){return _0x266fde===_0x398948;},'VBZrd':_0x4b7b75(0x141),'iTpTJ':_0x4b7b75(0x192),'WJZkg':function(_0x374806,_0x4a95f3){return _0x374806===_0x4a95f3;},'yMcjL':function(_0x575375,_0x335cb9){return _0x575375!==_0x335cb9;},'awVYh':_0x4b7b75(0x17f),'kFmKW':_0x4b7b75(0x1b6),'DihSo':function(_0xf1619c,_0x1b864b){return _0xf1619c!==_0x1b864b;},'VxXhq':_0x4b7b75(0x15c),'AabYV':_0x4b7b75(0x1b8),'iKDqQ':function(_0x2daf7c,_0xac8a7e){return _0x2daf7c===_0xac8a7e;},'mkIfc':'kBvTC'};this[_0x4b7b75(0x159)]=null,this[_0x4b7b75(0x182)]=helper['readConfig'](helper['getConfigPath']());if(this[_0x4b7b75(0x182)][_0x4b7b75(0x1a8)])throw new Error(this[_0x4b7b75(0x182)][_0x4b7b75(0x1a8)]);if(!_0x4f1bd7[_0x4b7b75(0x14f)](isBrowserstackInfra))return;_0x4f1bd7[_0x4b7b75(0x156)](_0x4f1bd7[_0x4b7b75(0x174)](parseInt,helper[_0x4b7b75(0x17a)](_0x4f1bd7[_0x4b7b75(0x194)])),0x3)&&(_0x4f1bd7[_0x4b7b75(0x144)](_0x4f1bd7['SuzSf'],_0x4f1bd7['SuzSf'])?this[_0x4b7b75(0x182)][_0x4b7b75(0x13b)]=!![]:this[_0x4b7b75(0x182)]['useW3C']=![]);_0x4f1bd7[_0x4b7b75(0x142)](_0x4f1bd7[_0x4b7b75(0x169)](parseInt,helper[_0x4b7b75(0x17a)](_0x4f1bd7[_0x4b7b75(0x194)])),4.5)&&(_0x4f1bd7[_0x4b7b75(0x13a)](_0x4f1bd7[_0x4b7b75(0x15e)],_0x4f1bd7[_0x4b7b75(0x186)])?_0x4f1bd7['uEtpr'](_0x56c2a8,_0x4f1bd7[_0x4b7b75(0x1a4)])():this[_0x4b7b75(0x182)][_0x4b7b75(0x13b)]=!![]);if(helper['isUndefined'](this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)])||helper[_0x4b7b75(0x184)](this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)][_0x4b7b75(0x18a)])){if(_0x4f1bd7[_0x4b7b75(0x17b)](_0x4f1bd7[_0x4b7b75(0x1b5)],_0x4f1bd7['gTfsR'])){if(helper[_0x4b7b75(0x184)](this[_0x4b7b75(0x182)][_0x4b7b75(0x177)])){if(_0x4f1bd7[_0x4b7b75(0x144)](_0x4f1bd7[_0x4b7b75(0x16c)],_0x4f1bd7[_0x4b7b75(0x16c)])){const _0x8ded85=_0x405f04=>{const _0x1067e0=_0x4b7b75;_0xc0aa14[_0x1067e0(0x1a8)](_0x405f04[_0x1067e0(0x1bd)]),_0x42ea5d[_0x1067e0(0x1bf)](_0x405f04);};_0x103e64['on'](_0x4f1bd7['OoYoO'],_0x8ded85),_0x24733c['on'](_0x4f1bd7[_0x4b7b75(0x17e)],_0x8ded85);}else logger['info'](_0x4f1bd7[_0x4b7b75(0x190)]);}else _0x4f1bd7[_0x4b7b75(0x140)](_0x4f1bd7[_0x4b7b75(0x13e)],_0x4f1bd7[_0x4b7b75(0x14e)])?logger['warn'](_0x4f1bd7['apMkB']):_0x464044[_0x4b7b75(0x19b)](_0x4f1bd7[_0x4b7b75(0x15f)]);this[_0x4b7b75(0x182)]['platforms']=[];}else _0xc83b7[_0x4b7b75(0x137)](this[_0x4b7b75(0x182)]);}helper['isUndefined'](this[_0x4b7b75(0x182)][_0x4b7b75(0x177)])&&(_0x4f1bd7['nIDIh'](_0x4f1bd7['rcrfr'],_0x4f1bd7[_0x4b7b75(0x191)])?_0x5c309c[_0x4b7b75(0x1bf)](_0x4f1bd7[_0x4b7b75(0x181)],_0x4071a0):(_0x4f1bd7[_0x4b7b75(0x196)](this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)][_0x4b7b75(0x18a)],0x0)&&(_0x4f1bd7[_0x4b7b75(0x15a)](_0x4f1bd7['dCCCH'],_0x4f1bd7['TDDHt'])?(_0x5567f4[_0x4b7b75(0x1a8)](_0x4f1bd7['IduUc'],_0xad5671[_0x4b7b75(0x1bd)]),_0x12c556[_0x4b7b75(0x1bf)](_0x5ba0a4)):logger[_0x4b7b75(0x19b)](_0x4f1bd7[_0x4b7b75(0x15f)])),this['config']['parallelsPerPlatform']=0x1));!this['config']['browserStackLocalOptions']&&(this[_0x4b7b75(0x182)][_0x4b7b75(0x172)]=this[_0x4b7b75(0x182)]['localOptions']||{});if(helper[_0x4b7b75(0x184)](helper[_0x4b7b75(0x14b)](this[_0x4b7b75(0x182)]))||helper['isUndefined'](helper[_0x4b7b75(0x1b0)](this[_0x4b7b75(0x182)]))){if(_0x4f1bd7[_0x4b7b75(0x189)](_0x4f1bd7[_0x4b7b75(0x161)],_0x4f1bd7[_0x4b7b75(0x161)]))throw new Error(_0x4f1bd7[_0x4b7b75(0x148)]);else this[_0x4b7b75(0x182)][_0x4b7b75(0x172)][_0x4b7b75(0x1be)]=_0x142713[_0x4b7b75(0x1b9)]();}if(helper[_0x4b7b75(0x173)](this[_0x4b7b75(0x182)])&&helper['isUndefined'](helper[_0x4b7b75(0x133)](this['config']))){if(_0x4f1bd7[_0x4b7b75(0x18e)](_0x4f1bd7['VBZrd'],_0x4f1bd7[_0x4b7b75(0x1ba)]))this[_0x4b7b75(0x182)][_0x4b7b75(0x13b)]=![];else{if(!helper[_0x4b7b75(0x184)](this['config']['browserStackLocalOptions'])&&_0x4f1bd7[_0x4b7b75(0x166)](this[_0x4b7b75(0x182)]['browserStackLocalOptions'][_0x4b7b75(0x1a0)],Object)){if(_0x4f1bd7[_0x4b7b75(0x155)](_0x4f1bd7[_0x4b7b75(0x1aa)],_0x4f1bd7[_0x4b7b75(0x14a)]))this['config'][_0x4b7b75(0x172)]['localIdentifier']=helper[_0x4b7b75(0x1b9)]();else throw new _0x276cc9(_0x4f1bd7[_0x4b7b75(0x148)]);}else _0x4f1bd7[_0x4b7b75(0x136)](_0x4f1bd7['VxXhq'],_0x4f1bd7['VxXhq'])?(_0x5d06e0[_0x4b7b75(0x1a8)](_0x273482['message']),_0x5bb24d[_0x4b7b75(0x1bf)](_0x16a530)):this['config'][_0x4b7b75(0x172)]={'localIdentifier':helper[_0x4b7b75(0x1b9)]()};}}helper[_0x4b7b75(0x13f)](this['config']),helper[_0x4b7b75(0x188)](this[_0x4b7b75(0x182)]);try{_0x4f1bd7[_0x4b7b75(0x15a)](_0x4f1bd7[_0x4b7b75(0x160)],_0x4f1bd7[_0x4b7b75(0x160)])?helper[_0x4b7b75(0x137)](this['config']):(_0x49bb77[_0x4b7b75(0x184)](this[_0x4b7b75(0x182)][_0x4b7b75(0x177)])?_0x450fd3[_0x4b7b75(0x19b)](_0x4f1bd7['ecxPD']):_0xdea7d1[_0x4b7b75(0x199)](_0x4f1bd7[_0x4b7b75(0x154)]),this[_0x4b7b75(0x182)][_0x4b7b75(0x1b7)]=[]);}catch(_0x50367c){_0x4f1bd7['iKDqQ'](_0x4f1bd7[_0x4b7b75(0x145)],_0x4f1bd7[_0x4b7b75(0x145)])?logger['debug'](_0x4f1bd7[_0x4b7b75(0x181)],_0x50367c):_0x2d9e33[_0x4b7b75(0x19b)](_0x4f1bd7[_0x4b7b75(0x190)]);}this[_0x4b7b75(0x17c)](),this[_0x4b7b75(0x1a5)](),this[_0x4b7b75(0x17d)]();}['setupBrowserstackLocal'](){const _0x3395e6=a31_0x2c7813,_0x590ada={};_0x590ada['fkkJa']=function(_0x48c84e,_0x5d22a8){return _0x48c84e===_0x5d22a8;},_0x590ada[_0x3395e6(0x1a9)]=_0x3395e6(0x175),_0x590ada['rQube']=_0x3395e6(0x167),_0x590ada['GpvBt']=function(_0x24402e,_0x370f65){return _0x24402e==_0x370f65;},_0x590ada[_0x3395e6(0x132)]=_0x3395e6(0x185),_0x590ada[_0x3395e6(0x138)]=function(_0x22a9e0,_0xa35bc8){return _0x22a9e0!==_0xa35bc8;},_0x590ada[_0x3395e6(0x149)]='parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)',_0x590ada['BeTBA']=function(_0x3c6dc6,_0x472e97){return _0x3c6dc6===_0x472e97;},_0x590ada[_0x3395e6(0x1bc)]=function(_0x29231b,_0x152454){return _0x29231b!==_0x152454;},_0x590ada[_0x3395e6(0x157)]=_0x3395e6(0x134),_0x590ada[_0x3395e6(0x1a3)]='lySEu',_0x590ada['mMyzA']='XOFVK',_0x590ada[_0x3395e6(0x180)]=_0x3395e6(0x171),_0x590ada[_0x3395e6(0x14c)]=_0x3395e6(0x163),_0x590ada[_0x3395e6(0x143)]=_0x3395e6(0x1a1),_0x590ada[_0x3395e6(0x18f)]='SIGTERM',_0x590ada[_0x3395e6(0x16e)]='xHTHZ',_0x590ada[_0x3395e6(0x168)]=_0x3395e6(0x152),_0x590ada[_0x3395e6(0x19c)]=_0x3395e6(0x16a);const _0x33da3f=_0x590ada;if((_0x33da3f['GpvBt'](this['config'][_0x3395e6(0x159)],!![])||process[_0x3395e6(0x165)][_0x3395e6(0x1b1)])&&(!this['browserstackLocal']||!this[_0x3395e6(0x159)]['isRunning']())){if(_0x33da3f[_0x3395e6(0x1bc)](_0x33da3f[_0x3395e6(0x157)],_0x33da3f[_0x3395e6(0x1a3)]))try{if(_0x33da3f['fkkJa'](_0x33da3f[_0x3395e6(0x1ab)],_0x33da3f[_0x3395e6(0x1ab)])){this[_0x3395e6(0x159)]=helper[_0x3395e6(0x18c)](this['config']),logger[_0x3395e6(0x19b)](_0x33da3f[_0x3395e6(0x180)]);let _0x4f6351=0x0;const _0x1d7b04=async()=>{const _0x4126b8=_0x3395e6;_0x33da3f[_0x4126b8(0x1b4)](_0x33da3f['CMAlk'],_0x33da3f[_0x4126b8(0x131)])?this[_0x4126b8(0x182)][_0x4126b8(0x172)]={'localIdentifier':_0x3a1bd8[_0x4126b8(0x1b9)]()}:(_0x4f6351++,_0x33da3f[_0x4126b8(0x179)](_0x4f6351,0x1)&&await this[_0x4126b8(0x1a6)]());};process['on'](_0x33da3f[_0x3395e6(0x14c)],_0x1d7b04),process['on'](_0x33da3f[_0x3395e6(0x143)],_0x1d7b04),process['on'](_0x33da3f[_0x3395e6(0x18f)],_0x1d7b04);}else _0x5870a7['warn'](_0x33da3f[_0x3395e6(0x132)]);}catch(_0x3b9887){_0x33da3f[_0x3395e6(0x1b4)](_0x33da3f[_0x3395e6(0x16e)],_0x33da3f[_0x3395e6(0x168)])?(_0x33da3f[_0x3395e6(0x138)](this[_0x3395e6(0x182)][_0x3395e6(0x1b7)][_0x3395e6(0x18a)],0x0)&&_0x4bfeda['info'](_0x33da3f[_0x3395e6(0x149)]),this[_0x3395e6(0x182)][_0x3395e6(0x177)]=0x1):(logger['error'](_0x33da3f['eaaOu'],_0x3b9887['message']),logger[_0x3395e6(0x1bf)](_0x3b9887));}else!_0x2edbf7[_0x3395e6(0x184)](this[_0x3395e6(0x182)]['browserStackLocalOptions'])&&_0x33da3f[_0x3395e6(0x150)](this[_0x3395e6(0x182)][_0x3395e6(0x172)][_0x3395e6(0x1a0)],_0x120db7)?this[_0x3395e6(0x182)]['browserStackLocalOptions']['localIdentifier']=_0x362f84[_0x3395e6(0x1b9)]():this[_0x3395e6(0x182)][_0x3395e6(0x172)]={'localIdentifier':_0x2df7bd[_0x3395e6(0x1b9)]()};}}async[a31_0x2c7813(0x1a6)](){const _0x11f0a1=a31_0x2c7813,_0x35f7bf={};_0x35f7bf['npNdZ']=_0x11f0a1(0x19e),_0x35f7bf[_0x11f0a1(0x151)]=function(_0x1d0075,_0x3f2069){return _0x1d0075===_0x3f2069;},_0x35f7bf[_0x11f0a1(0x13c)]=_0x11f0a1(0x139),_0x35f7bf['hgBqq']=_0x11f0a1(0x158),_0x35f7bf['NNyXZ']=_0x11f0a1(0x146);const _0x3f6848=_0x35f7bf;if(this['browserstackLocal']&&this['browserstackLocal'][_0x11f0a1(0x1b2)]())try{_0x3f6848[_0x11f0a1(0x151)](_0x3f6848['ImrhJ'],_0x3f6848['hgBqq'])?_0x1e53c8[_0x11f0a1(0x1a8)](_0x3f6848[_0x11f0a1(0x1ad)],_0x1b2932[_0x11f0a1(0x1bd)]):(await helper[_0x11f0a1(0x16d)](this[_0x11f0a1(0x159)]),logger[_0x11f0a1(0x19b)](_0x3f6848['NNyXZ']));}catch(_0x5cb1d4){logger['error'](_0x3f6848['npNdZ'],_0x5cb1d4[_0x11f0a1(0x1bd)]);}}[a31_0x2c7813(0x17d)](){const _0x1a63a1=a31_0x2c7813,_0x372203={'BRyPd':function(_0x476c3b,_0x782055){return _0x476c3b(_0x782055);},'BrFGQ':_0x1a63a1(0x1a7)};_0x372203['BRyPd'](require,_0x372203[_0x1a63a1(0x187)])();}[a31_0x2c7813(0x17c)](){const _0xb801f1=a31_0x2c7813,_0x1746ca={};_0x1746ca[_0xb801f1(0x153)]='unhandledRejection',_0x1746ca['DyItp']=_0xb801f1(0x176);const _0x43710f=_0x1746ca,_0x96147e=_0x1ceb61=>{const _0x4f9faf=_0xb801f1;logger[_0x4f9faf(0x1a8)](_0x1ceb61['message']),logger['debug'](_0x1ceb61);};process['on'](_0x43710f[_0xb801f1(0x153)],_0x96147e),process['on'](_0x43710f[_0xb801f1(0x18b)],_0x96147e);}}function a31_0x5b66(_0x5d771a,_0x5b99de){const _0x47f7e5=a31_0x47f7();return a31_0x5b66=function(_0x5b6613,_0x161c70){_0x5b6613=_0x5b6613-0x131;let _0x4d598b=_0x47f7e5[_0x5b6613];return _0x4d598b;},a31_0x5b66(_0x5d771a,_0x5b99de);}exports[a31_0x2c7813(0x195)]=BrowserStackSetup;
|
|
1
|
+
const a31_0x451c29=a31_0x21ea;function a31_0x21ea(_0x4be696,_0x1d973e){const _0x3cd601=a31_0x3cd6();return a31_0x21ea=function(_0x21ea69,_0x433033){_0x21ea69=_0x21ea69-0x132;let _0x2400f1=_0x3cd601[_0x21ea69];return _0x2400f1;},a31_0x21ea(_0x4be696,_0x1d973e);}(function(_0x1efd4e,_0x2f6ca2){const _0x3127c8=a31_0x21ea,_0x586b19=_0x1efd4e();while(!![]){try{const _0x36725d=-parseInt(_0x3127c8(0x16a))/0x1+parseInt(_0x3127c8(0x14f))/0x2+parseInt(_0x3127c8(0x194))/0x3+-parseInt(_0x3127c8(0x1b0))/0x4+parseInt(_0x3127c8(0x1aa))/0x5+parseInt(_0x3127c8(0x15b))/0x6+parseInt(_0x3127c8(0x1a8))/0x7*(-parseInt(_0x3127c8(0x17b))/0x8);if(_0x36725d===_0x2f6ca2)break;else _0x586b19['push'](_0x586b19['shift']());}catch(_0x55cb39){_0x586b19['push'](_0x586b19['shift']());}}}(a31_0x3cd6,0xacd0a));function a31_0x3cd6(){const _0x322a05=['QSToP','znFjF','qOMbJ','EWnue','setupKeepAlive','qEYzO','NHGpn','zawBC','xvZKf','IbVzp','YzmIb','lqlFb','1878350dVaebJ','Local\x20binary\x20started\x20successfully','HFHss','OKzmE','localOptions','cdONK','parallelsPerPlatform','eQCsl','generateLocalIdentifier','handleBuildIdentifier','handleExceptions','debug','4022910hUQgYl','aLJbQ','JuXFd','DGner','error','AgnTm','uncaughtException','isUndefined','CQmdp','getLocalIdentifier','sFOiM','message','nQEtV','beforeExit','AnmQj','521052iBkAJT','SMfSE','pDrjx','lGCKg','KzfjA','sMRAT','length','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','RRDmT','platforms','wnHCL','Local\x20binary\x20stopped','unhandledRejection','Error\x20occured\x20while\x20stopping\x20local\x20binary','XGrYh','xyIwG','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','6856QgcAtm','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','prCCn','KuVtY','rUPAd','./setKeepAlive','selenium-webdriver','oJVSL','readConfig','startLocalBinarySync','ZlgAK','cJXOc','getConfigPath','winstonLogger','ZUEyz','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','JqOkM','./helper','getLocalConfig','zJRCx','cwNTT','IGfkj','browserStackLocalOptions','rInNr','MONZX','3567135VdMqqO','JkxGJ','qJQXv','setProxySettings','zGltA','QyrZg','TpJzz','localIdentifier','HUXiL','yoXqk','DOWYo','snjnK','KIQlX','ZZZdI','vrWln','Vyutq','gWEqu','jebVL','emymp','tcqoJ','9562DOTYPC','sYxKd','2689190rttppt','OFuFv','INgBJ','setLogLevel','bGykZ','MVSkc','3747916FXOOho','yKaPC','zyKwt','xwGia','isRunning','useW3C','constructor','FkfLO','BEgwS','SGMMD','browserstackLocal','SgbJo','PxFiD','xbHeg','config','getUserName','info','GWDng','lrgZw','wCZTX','stopBrowserstackLocal','leQJN','nrnIf','ELeUa','stopLocalBinary','uSYRE','env','wuVTf','Unable\x20to\x20add\x20buildIdentifier:\x20','./logger','lsrac','kGWsB','warn','XCRuy','oErQU','Rmybj','getPackageVersion','SIGTERM'];a31_0x3cd6=function(){return _0x322a05;};return a31_0x3cd6();}const logger=require(a31_0x451c29(0x13a))[a31_0x451c29(0x188)],helper=require(a31_0x451c29(0x18c)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1e2b99=a31_0x451c29,_0x1049ff={'jebVL':_0x1e2b99(0x18a),'snjnK':function(_0x54b3dc,_0x57917b){return _0x54b3dc===_0x57917b;},'ZlgAK':function(_0x5f2173,_0x1e49e9){return _0x5f2173(_0x1e49e9);},'nQEtV':_0x1e2b99(0x180),'qOMbJ':_0x1e2b99(0x176),'IGfkj':_0x1e2b99(0x161),'wCZTX':_0x1e2b99(0x17a),'tcqoJ':_0x1e2b99(0x17c),'sYxKd':'userName\x20or\x20accessKey\x20is\x20not\x20defined','gWEqu':function(_0x253641){return _0x253641();},'cJXOc':function(_0x4d3faf,_0x430c9e){return _0x4d3faf<_0x430c9e;},'cwNTT':_0x1e2b99(0x181),'xyIwG':function(_0x38df37,_0x42f50b){return _0x38df37!==_0x42f50b;},'RRDmT':_0x1e2b99(0x1b2),'lrgZw':function(_0x3d32cd,_0x2c4198){return _0x3d32cd>=_0x2c4198;},'ELeUa':function(_0x5855ef,_0x3de7cf){return _0x5855ef(_0x3de7cf);},'KzfjA':function(_0x58ba8f,_0x4d6ad5){return _0x58ba8f!==_0x4d6ad5;},'JkxGJ':_0x1e2b99(0x16f),'zJRCx':function(_0x35b275,_0x5aa28a){return _0x35b275===_0x5aa28a;},'oErQU':_0x1e2b99(0x17d),'leQJN':_0x1e2b99(0x1b3),'fYhPk':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','lGCKg':function(_0x1ae549,_0x2278fe){return _0x1ae549===_0x2278fe;},'znFjF':'LBYwL','lsrac':_0x1e2b99(0x13c),'JqOkM':function(_0x2d3954,_0x5b3453){return _0x2d3954!==_0x5b3453;},'aLJbQ':_0x1e2b99(0x17e),'lqlFb':_0x1e2b99(0x199),'uSYRE':function(_0x13c3d4,_0x5d2d3f){return _0x13c3d4!==_0x5d2d3f;},'gAELh':'AikAt','NHGpn':'wxvHB','TpJzz':function(_0x1eac5b,_0x214826){return _0x1eac5b===_0x214826;},'MONZX':_0x1e2b99(0x1bc),'IbVzp':_0x1e2b99(0x1bd),'xvZKf':function(_0x1852ec,_0x5b0227){return _0x1852ec===_0x5b0227;},'Vyutq':_0x1e2b99(0x1b1),'AgnTm':function(_0x16e244,_0x1c1e77){return _0x16e244===_0x1c1e77;},'JuXFd':'ySmQh','KIQlX':function(_0x31fdf1,_0x310b4b){return _0x31fdf1===_0x310b4b;},'eQCsl':_0x1e2b99(0x163),'BEgwS':_0x1e2b99(0x1a1),'zGltA':_0x1e2b99(0x139)};this[_0x1e2b99(0x1ba)]=null,this['config']=helper[_0x1e2b99(0x183)](helper[_0x1e2b99(0x187)]());if(this['config'][_0x1e2b99(0x15f)])throw new Error(this[_0x1e2b99(0x1be)]['error']);if(!_0x1049ff[_0x1e2b99(0x1a4)](isBrowserstackInfra))return;_0x1049ff[_0x1e2b99(0x186)](_0x1049ff[_0x1e2b99(0x185)](parseInt,helper[_0x1e2b99(0x141)](_0x1049ff[_0x1e2b99(0x18f)])),0x3)&&(_0x1049ff[_0x1e2b99(0x179)](_0x1049ff[_0x1e2b99(0x172)],_0x1049ff[_0x1e2b99(0x172)])?this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]={'localIdentifier':_0x11986e[_0x1e2b99(0x157)]()}:this[_0x1e2b99(0x1be)][_0x1e2b99(0x1b5)]=![]);_0x1049ff[_0x1e2b99(0x1c2)](_0x1049ff[_0x1e2b99(0x134)](parseInt,helper[_0x1e2b99(0x141)](_0x1049ff[_0x1e2b99(0x18f)])),4.5)&&(_0x1049ff[_0x1e2b99(0x16e)](_0x1049ff['JkxGJ'],_0x1049ff[_0x1e2b99(0x195)])?_0x4ef932[_0x1e2b99(0x158)](this[_0x1e2b99(0x1be)]):this[_0x1e2b99(0x1be)][_0x1e2b99(0x1b5)]=!![]);(helper[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x173)])||helper[_0x1e2b99(0x162)](this['config'][_0x1e2b99(0x173)]['length']))&&(_0x1049ff[_0x1e2b99(0x18e)](_0x1049ff[_0x1e2b99(0x13f)],_0x1049ff[_0x1e2b99(0x13f)])?(helper['isUndefined'](this['config'][_0x1e2b99(0x155)])?_0x1049ff[_0x1e2b99(0x19f)](_0x1049ff[_0x1e2b99(0x132)],_0x1049ff[_0x1e2b99(0x132)])?logger[_0x1e2b99(0x1c0)](_0x1049ff['fYhPk']):(_0x4bfbf0[_0x1e2b99(0x15f)](_0x5d94fa['message']),_0x2a2132[_0x1e2b99(0x15a)](_0x169f35)):_0x1049ff['lGCKg'](_0x1049ff['znFjF'],_0x1049ff[_0x1e2b99(0x144)])?logger[_0x1e2b99(0x13d)](_0x1049ff[_0x1e2b99(0x1a5)]):_0x1c17c8[_0x1e2b99(0x13d)](_0x1049ff[_0x1e2b99(0x1a5)]),this[_0x1e2b99(0x1be)]['platforms']=[]):this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=_0x14b983[_0x1e2b99(0x157)]());helper[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x155)])&&(_0x1049ff[_0x1e2b99(0x19f)](_0x1049ff['lsrac'],_0x1049ff[_0x1e2b99(0x13b)])?(_0x1049ff[_0x1e2b99(0x18b)](this['config'][_0x1e2b99(0x173)]['length'],0x0)&&(_0x1049ff[_0x1e2b99(0x18b)](_0x1049ff[_0x1e2b99(0x15c)],_0x1049ff['aLJbQ'])?!_0x375d7f[_0x1e2b99(0x162)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)])&&_0x1049ff[_0x1e2b99(0x19f)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]['constructor'],_0x4f3b66)?this['config'][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=_0x47bf6b['generateLocalIdentifier']():this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]={'localIdentifier':_0x5819da[_0x1e2b99(0x157)]()}:logger['info'](_0x1049ff['tcqoJ'])),this[_0x1e2b99(0x1be)][_0x1e2b99(0x155)]=0x1):_0x1049ff[_0x1e2b99(0x185)](_0x3b0ff7,_0x1049ff[_0x1e2b99(0x167)])());!this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]&&(this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)]=this[_0x1e2b99(0x1be)][_0x1e2b99(0x153)]||{});if(helper[_0x1e2b99(0x162)](helper[_0x1e2b99(0x1bf)](this[_0x1e2b99(0x1be)]))||helper['isUndefined'](helper['getAccessKey'](this[_0x1e2b99(0x1be)]))){if(_0x1049ff['zJRCx'](_0x1049ff[_0x1e2b99(0x14e)],_0x1049ff[_0x1e2b99(0x14e)]))throw new Error(_0x1049ff[_0x1e2b99(0x1a9)]);else this[_0x1e2b99(0x1be)]['useW3C']=!![];}if(helper[_0x1e2b99(0x18d)](this[_0x1e2b99(0x1be)])&&helper[_0x1e2b99(0x162)](helper[_0x1e2b99(0x164)](this[_0x1e2b99(0x1be)]))){if(_0x1049ff[_0x1e2b99(0x136)](_0x1049ff['gAELh'],_0x1049ff[_0x1e2b99(0x149)])){if(!helper['isUndefined'](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)])&&_0x1049ff[_0x1e2b99(0x16d)](this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x1b6)],Object)){if(_0x1049ff[_0x1e2b99(0x19a)](_0x1049ff[_0x1e2b99(0x193)],_0x1049ff[_0x1e2b99(0x14c)])){const _0x18711b=_0x2dceec=>{const _0x4ef3ff=_0x1e2b99;_0x2c0ea8[_0x4ef3ff(0x15f)](_0x2dceec['message']),_0x3bc1f0[_0x4ef3ff(0x15a)](_0x2dceec);};_0x4972dc['on'](_0x1049ff[_0x1e2b99(0x145)],_0x18711b),_0xe3396b['on'](_0x1049ff[_0x1e2b99(0x190)],_0x18711b);}else this[_0x1e2b99(0x1be)][_0x1e2b99(0x191)][_0x1e2b99(0x19b)]=helper[_0x1e2b99(0x157)]();}else _0x1049ff[_0x1e2b99(0x14b)](_0x1049ff[_0x1e2b99(0x1a3)],_0x1049ff[_0x1e2b99(0x1a3)])?this[_0x1e2b99(0x1be)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1e2b99(0x157)]()}:this['config'][_0x1e2b99(0x1b5)]=![];}else _0x4c0859['error'](_0x1049ff[_0x1e2b99(0x1c3)],_0x3801a0[_0x1e2b99(0x166)]),_0x25f2b1['debug'](_0x4391ae);}helper[_0x1e2b99(0x1ad)](this['config']),helper[_0x1e2b99(0x197)](this[_0x1e2b99(0x1be)]);try{_0x1049ff[_0x1e2b99(0x160)](_0x1049ff['JuXFd'],_0x1049ff[_0x1e2b99(0x15d)])?helper[_0x1e2b99(0x158)](this[_0x1e2b99(0x1be)]):_0x953e79[_0x1e2b99(0x1c0)](_0x1049ff[_0x1e2b99(0x1a7)]);}catch(_0x4289d8){if(_0x1049ff[_0x1e2b99(0x1a0)](_0x1049ff[_0x1e2b99(0x156)],_0x1049ff[_0x1e2b99(0x1b8)]))throw new _0x4fbd53(_0x1049ff['sYxKd']);else logger[_0x1e2b99(0x15a)](_0x1049ff[_0x1e2b99(0x198)],_0x4289d8);}this[_0x1e2b99(0x159)](),this['setupBrowserstackLocal'](),this[_0x1e2b99(0x147)]();}['setupBrowserstackLocal'](){const _0x3008ef=a31_0x451c29,_0x215e7c={};_0x215e7c[_0x3008ef(0x146)]=function(_0xca2c05,_0x2a8412){return _0xca2c05!==_0x2a8412;},_0x215e7c[_0x3008ef(0x178)]=_0x3008ef(0x17c),_0x215e7c['DOWYo']=_0x3008ef(0x139),_0x215e7c[_0x3008ef(0x133)]=function(_0x2aacbd,_0x8c6ae5){return _0x2aacbd!==_0x8c6ae5;},_0x215e7c['GWDng']='kXsNP',_0x215e7c['jYlPV']=_0x3008ef(0x1a2),_0x215e7c[_0x3008ef(0x14d)]=function(_0x24feba,_0x1ecc24){return _0x24feba==_0x1ecc24;},_0x215e7c[_0x3008ef(0x148)]=_0x3008ef(0x171),_0x215e7c['yoXqk']=_0x3008ef(0x177),_0x215e7c[_0x3008ef(0x1b9)]=function(_0x1aff86,_0x387e02){return _0x1aff86==_0x387e02;},_0x215e7c[_0x3008ef(0x138)]=function(_0x4346d7,_0xdf8b12){return _0x4346d7===_0xdf8b12;},_0x215e7c['bGykZ']=_0x3008ef(0x196),_0x215e7c[_0x3008ef(0x154)]=function(_0x37e7f2,_0x4f3195){return _0x37e7f2===_0x4f3195;},_0x215e7c[_0x3008ef(0x182)]=_0x3008ef(0x16c),_0x215e7c[_0x3008ef(0x1ac)]=_0x3008ef(0x174),_0x215e7c[_0x3008ef(0x15e)]=_0x3008ef(0x150),_0x215e7c['OFuFv']=_0x3008ef(0x168),_0x215e7c['LJceL']='SIGINT',_0x215e7c[_0x3008ef(0x1af)]=_0x3008ef(0x142),_0x215e7c[_0x3008ef(0x192)]=function(_0x13c36f,_0x331ec6){return _0x13c36f===_0x331ec6;},_0x215e7c[_0x3008ef(0x1a6)]='LMOkQ',_0x215e7c[_0x3008ef(0x16b)]=_0x3008ef(0x14a),_0x215e7c[_0x3008ef(0x169)]=_0x3008ef(0x17a);const _0x4bcce9=_0x215e7c;if((_0x4bcce9[_0x3008ef(0x1b9)](this[_0x3008ef(0x1be)][_0x3008ef(0x1ba)],!![])||process[_0x3008ef(0x137)]['BROWSERSTACK_LOCAL'])&&(!this[_0x3008ef(0x1ba)]||!this[_0x3008ef(0x1ba)][_0x3008ef(0x1b4)]())){if(_0x4bcce9[_0x3008ef(0x138)](_0x4bcce9[_0x3008ef(0x1ae)],_0x4bcce9[_0x3008ef(0x1ae)]))try{if(_0x4bcce9[_0x3008ef(0x154)](_0x4bcce9[_0x3008ef(0x182)],_0x4bcce9[_0x3008ef(0x1ac)]))_0x4bcce9[_0x3008ef(0x146)](this['config'][_0x3008ef(0x173)][_0x3008ef(0x170)],0x0)&&_0x443b50[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x178)]),this[_0x3008ef(0x1be)][_0x3008ef(0x155)]=0x1;else{this['browserstackLocal']=helper[_0x3008ef(0x184)](this[_0x3008ef(0x1be)]),logger[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x15e)]);let _0x461d52=0x0;const _0x173b3e=async()=>{const _0x2d5e1f=_0x3008ef,_0x123b7e={};_0x123b7e['rUPAd']=_0x4bcce9[_0x2d5e1f(0x19e)];const _0x15abd4=_0x123b7e;_0x4bcce9[_0x2d5e1f(0x133)](_0x4bcce9[_0x2d5e1f(0x1c1)],_0x4bcce9['jYlPV'])?(_0x461d52++,_0x4bcce9[_0x2d5e1f(0x14d)](_0x461d52,0x1)&&await this[_0x2d5e1f(0x1c4)]()):_0x5b9e2f[_0x2d5e1f(0x15a)](_0x15abd4[_0x2d5e1f(0x17f)],_0x1ce593);};process['on'](_0x4bcce9[_0x3008ef(0x1ab)],_0x173b3e),process['on'](_0x4bcce9['LJceL'],_0x173b3e),process['on'](_0x4bcce9[_0x3008ef(0x1af)],_0x173b3e);}}catch(_0x2dc07d){_0x4bcce9[_0x3008ef(0x192)](_0x4bcce9[_0x3008ef(0x1a6)],_0x4bcce9[_0x3008ef(0x16b)])?_0x30a619[_0x3008ef(0x1c0)](_0x4bcce9[_0x3008ef(0x148)]):(logger[_0x3008ef(0x15f)](_0x4bcce9['AnmQj'],_0x2dc07d[_0x3008ef(0x166)]),logger[_0x3008ef(0x15a)](_0x2dc07d));}else _0x28cfb4['error'](_0x4bcce9[_0x3008ef(0x19d)],_0x3b753a[_0x3008ef(0x166)]);}}async[a31_0x451c29(0x1c4)](){const _0x5d870b=a31_0x451c29,_0x53db67={};_0x53db67[_0x5d870b(0x1b7)]=_0x5d870b(0x171),_0x53db67['bNbBu']=_0x5d870b(0x18a),_0x53db67['sFOiM']=function(_0x46b016,_0x1c2ec4){return _0x46b016!==_0x1c2ec4;},_0x53db67[_0x5d870b(0x151)]=_0x5d870b(0x1bb),_0x53db67[_0x5d870b(0x19c)]=_0x5d870b(0x175),_0x53db67[_0x5d870b(0x143)]=_0x5d870b(0x177);const _0x2cc235=_0x53db67;if(this[_0x5d870b(0x1ba)]&&this[_0x5d870b(0x1ba)][_0x5d870b(0x1b4)]())try{_0x2cc235[_0x5d870b(0x165)](_0x2cc235[_0x5d870b(0x151)],_0x2cc235[_0x5d870b(0x151)])?(_0x5b2754[_0x5d870b(0x162)](this[_0x5d870b(0x1be)][_0x5d870b(0x155)])?_0x347ed2[_0x5d870b(0x1c0)](_0x2cc235[_0x5d870b(0x1b7)]):_0x5541ba['warn'](_0x2cc235['bNbBu']),this['config'][_0x5d870b(0x173)]=[]):(await helper[_0x5d870b(0x135)](this[_0x5d870b(0x1ba)]),logger[_0x5d870b(0x1c0)](_0x2cc235['HUXiL']));}catch(_0x16a864){logger['error'](_0x2cc235['QSToP'],_0x16a864[_0x5d870b(0x166)]);}}[a31_0x451c29(0x147)](){const _0x339d37=a31_0x451c29,_0x5189cf={'Rmybj':function(_0x3b136c,_0x2ca590){return _0x3b136c(_0x2ca590);},'OKzmE':'./setKeepAlive'};_0x5189cf[_0x339d37(0x140)](require,_0x5189cf[_0x339d37(0x152)])();}[a31_0x451c29(0x159)](){const _0x2c0aab=a31_0x451c29,_0x200f34={};_0x200f34[_0x2c0aab(0x13e)]='unhandledRejection',_0x200f34['ZUEyz']='uncaughtException';const _0x5cbd64=_0x200f34,_0x178932=_0x1d5f67=>{const _0x167f95=_0x2c0aab;logger[_0x167f95(0x15f)](_0x1d5f67[_0x167f95(0x166)]),logger[_0x167f95(0x15a)](_0x1d5f67);};process['on'](_0x5cbd64[_0x2c0aab(0x13e)],_0x178932),process['on'](_0x5cbd64[_0x2c0aab(0x189)],_0x178932);}}exports['default']=BrowserStackSetup;
|