browserstack-node-sdk 1.3.0 → 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_0x4ab4(_0x1d9c2d,_0x1ca70e){const _0x66744e=a31_0x6674();return a31_0x4ab4=function(_0x4ab492,_0x1d4a20){_0x4ab492=_0x4ab492-0x1a8;let _0x46d741=_0x66744e[_0x4ab492];return _0x46d741;},a31_0x4ab4(_0x1d9c2d,_0x1ca70e);}const a31_0x42ff6d=a31_0x4ab4;(function(_0x618354,_0x29cc30){const _0x209892=a31_0x4ab4,_0x303390=_0x618354();while(!![]){try{const _0x566cc7=parseInt(_0x209892(0x1e3))/0x1*(parseInt(_0x209892(0x1c0))/0x2)+parseInt(_0x209892(0x1cc))/0x3*(parseInt(_0x209892(0x1e0))/0x4)+-parseInt(_0x209892(0x1be))/0x5+parseInt(_0x209892(0x1ca))/0x6*(parseInt(_0x209892(0x20f))/0x7)+parseInt(_0x209892(0x1d3))/0x8+-parseInt(_0x209892(0x21a))/0x9*(-parseInt(_0x209892(0x1b0))/0xa)+-parseInt(_0x209892(0x1d9))/0xb;if(_0x566cc7===_0x29cc30)break;else _0x303390['push'](_0x303390['shift']());}catch(_0x56d032){_0x303390['push'](_0x303390['shift']());}}}(a31_0x6674,0x8a80f));const logger=require(a31_0x42ff6d(0x1f0))['winstonLogger'],helper=require(a31_0x42ff6d(0x21d)),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(){const _0x1e59ea=a31_0x42ff6d,_0x1b4d96={'BNHOh':function(_0x46d755,_0x18b39a){return _0x46d755(_0x18b39a);},'mYgkB':_0x1e59ea(0x20e),'DEAVA':'unhandledRejection','JviVC':_0x1e59ea(0x1d4),'RQEKl':_0x1e59ea(0x1aa),'MqrkL':_0x1e59ea(0x1da),'bMGHm':function(_0x5e5994,_0x552019){return _0x5e5994!==_0x552019;},'LHTyS':_0x1e59ea(0x218),'MxazP':_0x1e59ea(0x1cb),'HMwRd':function(_0x157b24,_0x51fe6d){return _0x157b24===_0x51fe6d;},'eJmkz':function(_0x20a6aa){return _0x20a6aa();},'UxnCq':function(_0x1a552d,_0xe1af4b){return _0x1a552d<_0xe1af4b;},'fetzo':_0x1e59ea(0x21c),'dwbbc':_0x1e59ea(0x1de),'sRkIx':function(_0x71f0db,_0x4bc056){return _0x71f0db>=_0x4bc056;},'LaAlK':function(_0x3f2e9a,_0x29c2cb){return _0x3f2e9a(_0x29c2cb);},'qFKph':_0x1e59ea(0x208),'NPsxN':_0x1e59ea(0x1e2),'uKMxz':function(_0x1dcec7,_0x52e35f){return _0x1dcec7===_0x52e35f;},'Piuhv':_0x1e59ea(0x1ad),'eFSKl':'fxidx','IBvTy':'XKmDj','ncBku':_0x1e59ea(0x214),'AGZeD':_0x1e59ea(0x204),'vcOOp':function(_0x29bf31,_0x32c385){return _0x29bf31!==_0x32c385;},'yamKr':_0x1e59ea(0x1f6),'wMNVS':'SoPME','hlNOJ':_0x1e59ea(0x202),'ZqSed':_0x1e59ea(0x1d1),'RbTyn':_0x1e59ea(0x216),'DRfoU':function(_0x4ca5b7,_0x2225a1){return _0x4ca5b7===_0x2225a1;},'bQSIc':'IUxue','kuQKV':'bXorj','NOrGR':'nvCan'};this[_0x1e59ea(0x1d5)]=null,this[_0x1e59ea(0x1b5)]=helper[_0x1e59ea(0x1ce)](helper[_0x1e59ea(0x213)]());if(this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f2)])throw new Error(this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f2)]);if(!_0x1b4d96['eJmkz'](isBrowserstackInfra))return;_0x1b4d96[_0x1e59ea(0x222)](_0x1b4d96[_0x1e59ea(0x1e8)](parseInt,helper['getPackageVersion'](_0x1b4d96[_0x1e59ea(0x1cf)])),0x3)&&(_0x1b4d96[_0x1e59ea(0x1b7)](_0x1b4d96[_0x1e59ea(0x1f1)],_0x1b4d96[_0x1e59ea(0x1f1)])?_0x1b4d96[_0x1e59ea(0x1e8)](_0x5c6526,_0x1b4d96['mYgkB'])():this[_0x1e59ea(0x1b5)]['useW3C']=![]);_0x1b4d96[_0x1e59ea(0x1ae)](_0x1b4d96['LaAlK'](parseInt,helper[_0x1e59ea(0x200)](_0x1b4d96['fetzo'])),4.5)&&(_0x1b4d96[_0x1e59ea(0x1b7)](_0x1b4d96['qFKph'],_0x1b4d96[_0x1e59ea(0x1c3)])?this['config']['browserStackLocalOptions']={'localIdentifier':_0x4b0d83['generateLocalIdentifier']()}:this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f5)]=!![]);if(helper['isUndefined'](this[_0x1e59ea(0x1b5)]['platforms'])||helper['isUndefined'](this[_0x1e59ea(0x1b5)]['platforms']['length'])){if(_0x1b4d96[_0x1e59ea(0x1b7)](_0x1b4d96[_0x1e59ea(0x1e7)],_0x1b4d96[_0x1e59ea(0x1e7)])){const _0x5b9fd9=_0x95d1da=>{const _0x26d6b3=_0x1e59ea;_0x579467['error'](_0x95d1da[_0x26d6b3(0x1fd)]),_0x316f6f[_0x26d6b3(0x1ea)](_0x95d1da);};_0x283949['on'](_0x1b4d96[_0x1e59ea(0x1b4)],_0x5b9fd9),_0x4362eb['on'](_0x1b4d96['JviVC'],_0x5b9fd9);}else helper['isUndefined'](this['config'][_0x1e59ea(0x203)])?_0x1b4d96[_0x1e59ea(0x1bb)](_0x1b4d96[_0x1e59ea(0x207)],_0x1b4d96[_0x1e59ea(0x1c4)])?_0x85f5a8['info'](_0x1b4d96[_0x1e59ea(0x224)]):logger[_0x1e59ea(0x1f3)](_0x1b4d96[_0x1e59ea(0x224)]):_0x1b4d96['bMGHm'](_0x1b4d96[_0x1e59ea(0x206)],_0x1b4d96[_0x1e59ea(0x206)])?_0x25ed59[_0x1e59ea(0x1f2)](_0x1b4d96[_0x1e59ea(0x1e6)],_0x4813e1[_0x1e59ea(0x1fd)]):logger[_0x1e59ea(0x1c5)](_0x1b4d96[_0x1e59ea(0x1b8)]),this[_0x1e59ea(0x1b5)][_0x1e59ea(0x225)]=[];}helper[_0x1e59ea(0x21e)](this['config'][_0x1e59ea(0x203)])&&(_0x1b4d96[_0x1e59ea(0x1b6)](_0x1b4d96['ncBku'],_0x1b4d96['AGZeD'])?(_0x1b4d96[_0x1e59ea(0x1b7)](this['config'][_0x1e59ea(0x225)][_0x1e59ea(0x1f4)],0x0)&&_0x2ae98[_0x1e59ea(0x1f3)](_0x1b4d96['LHTyS']),this[_0x1e59ea(0x1b5)]['parallelsPerPlatform']=0x1):(_0x1b4d96['vcOOp'](this[_0x1e59ea(0x1b5)][_0x1e59ea(0x225)][_0x1e59ea(0x1f4)],0x0)&&(_0x1b4d96[_0x1e59ea(0x1f8)](_0x1b4d96['yamKr'],_0x1b4d96['yamKr'])?_0x5c4437[_0x1e59ea(0x1c5)](_0x1b4d96['MxazP']):logger[_0x1e59ea(0x1f3)](_0x1b4d96[_0x1e59ea(0x205)])),this[_0x1e59ea(0x1b5)][_0x1e59ea(0x203)]=0x1));!this['config'][_0x1e59ea(0x1b2)]&&(this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)]=this[_0x1e59ea(0x1b5)]['localOptions']||{});if(helper[_0x1e59ea(0x21e)](helper[_0x1e59ea(0x1dc)](this[_0x1e59ea(0x1b5)]))||helper[_0x1e59ea(0x21e)](helper[_0x1e59ea(0x1e4)](this[_0x1e59ea(0x1b5)]))){if(_0x1b4d96[_0x1e59ea(0x1b6)](_0x1b4d96[_0x1e59ea(0x21f)],_0x1b4d96['wMNVS']))throw new Error(_0x1b4d96[_0x1e59ea(0x1db)]);else!_0x5054cb[_0x1e59ea(0x21e)](this['config'][_0x1e59ea(0x1b2)])&&_0x1b4d96[_0x1e59ea(0x1b6)](this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)][_0x1e59ea(0x1af)],_0x3155e2)?this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)][_0x1e59ea(0x1a9)]=_0x4fc7d8[_0x1e59ea(0x1c2)]():this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)]={'localIdentifier':_0x514f2e[_0x1e59ea(0x1c2)]()};}helper[_0x1e59ea(0x1ec)](this[_0x1e59ea(0x1b5)])&&helper[_0x1e59ea(0x21e)](helper[_0x1e59ea(0x21b)](this[_0x1e59ea(0x1b5)]))&&(_0x1b4d96['vcOOp'](_0x1b4d96[_0x1e59ea(0x220)],_0x1b4d96[_0x1e59ea(0x1c7)])?!helper[_0x1e59ea(0x21e)](this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)])&&_0x1b4d96[_0x1e59ea(0x1b6)](this[_0x1e59ea(0x1b5)]['browserStackLocalOptions']['constructor'],Object)?_0x1b4d96[_0x1e59ea(0x20c)](_0x1b4d96['bQSIc'],_0x1b4d96[_0x1e59ea(0x1fa)])?(_0x427bd6[_0x1e59ea(0x1f2)](_0x2d1352[_0x1e59ea(0x1fd)]),_0xf60695[_0x1e59ea(0x1ea)](_0x200ffe)):this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1b2)]['localIdentifier']=helper[_0x1e59ea(0x1c2)]():_0x1b4d96[_0x1e59ea(0x1f8)](_0x1b4d96[_0x1e59ea(0x1b1)],_0x1b4d96[_0x1e59ea(0x1b1)])?this['config'][_0x1e59ea(0x1b2)]['localIdentifier']=_0x1dc80e[_0x1e59ea(0x1c2)]():this[_0x1e59ea(0x1b5)]['browserStackLocalOptions']={'localIdentifier':helper[_0x1e59ea(0x1c2)]()}:this[_0x1e59ea(0x1b5)][_0x1e59ea(0x1f5)]=![]),helper['setLogLevel'](this['config']),helper['setProxySettings'](this[_0x1e59ea(0x1b5)]),helper['handleBuildIdentifier'](this[_0x1e59ea(0x1b5)]),this[_0x1e59ea(0x1dd)](),this[_0x1e59ea(0x1c6)](),this[_0x1e59ea(0x1e1)]();}[a31_0x42ff6d(0x1c6)](){const _0x26bcfe=a31_0x42ff6d,_0x62dc95={};_0x62dc95['vdzMt']=_0x26bcfe(0x202),_0x62dc95[_0x26bcfe(0x1fb)]=_0x26bcfe(0x1aa),_0x62dc95[_0x26bcfe(0x219)]=_0x26bcfe(0x1cb),_0x62dc95[_0x26bcfe(0x1eb)]=function(_0x53a639,_0x38d025){return _0x53a639!==_0x38d025;},_0x62dc95[_0x26bcfe(0x1e9)]=_0x26bcfe(0x20b),_0x62dc95['HAgtT']=function(_0x1bff1d,_0x1ed42d){return _0x1bff1d==_0x1ed42d;},_0x62dc95[_0x26bcfe(0x20d)]=_0x26bcfe(0x218),_0x62dc95[_0x26bcfe(0x20a)]=function(_0x1cc950,_0x5114f2){return _0x1cc950==_0x5114f2;},_0x62dc95[_0x26bcfe(0x1c1)]=function(_0x58e983,_0x1f40a2){return _0x58e983===_0x1f40a2;},_0x62dc95[_0x26bcfe(0x1df)]='ontPd',_0x62dc95[_0x26bcfe(0x223)]=_0x26bcfe(0x211),_0x62dc95[_0x26bcfe(0x1bd)]=function(_0x191f73,_0x499255){return _0x191f73!==_0x499255;},_0x62dc95[_0x26bcfe(0x1a8)]='nftrN',_0x62dc95[_0x26bcfe(0x1d7)]=_0x26bcfe(0x1b3),_0x62dc95['ONyJV']=_0x26bcfe(0x212),_0x62dc95[_0x26bcfe(0x215)]=_0x26bcfe(0x217),_0x62dc95[_0x26bcfe(0x1bc)]='SIGTERM',_0x62dc95[_0x26bcfe(0x1cd)]=_0x26bcfe(0x1d6),_0x62dc95['mfnNW']=_0x26bcfe(0x1ba);const _0x49ea44=_0x62dc95;if((_0x49ea44[_0x26bcfe(0x20a)](this[_0x26bcfe(0x1b5)][_0x26bcfe(0x1d5)],!![])||process[_0x26bcfe(0x1ef)][_0x26bcfe(0x1c9)])&&(!this[_0x26bcfe(0x1d5)]||!this[_0x26bcfe(0x1d5)][_0x26bcfe(0x1c8)]())){if(_0x49ea44[_0x26bcfe(0x1c1)](_0x49ea44['UGpJr'],_0x49ea44[_0x26bcfe(0x223)]))throw new _0x5e1eef(_0x49ea44[_0x26bcfe(0x1d0)]);else try{if(_0x49ea44[_0x26bcfe(0x1bd)](_0x49ea44[_0x26bcfe(0x1a8)],_0x49ea44[_0x26bcfe(0x1a8)]))_0x57097d[_0x26bcfe(0x21e)](this[_0x26bcfe(0x1b5)][_0x26bcfe(0x203)])?_0x52865a[_0x26bcfe(0x1f3)](_0x49ea44[_0x26bcfe(0x1fb)]):_0x47958f[_0x26bcfe(0x1c5)](_0x49ea44[_0x26bcfe(0x219)]),this['config'][_0x26bcfe(0x225)]=[];else{this[_0x26bcfe(0x1d5)]=helper['startLocalBinarySync'](this[_0x26bcfe(0x1b5)]),logger[_0x26bcfe(0x1f3)](_0x49ea44[_0x26bcfe(0x1d7)]);let _0x51628b=0x0;const _0x708253=async()=>{const _0x323434=_0x26bcfe;_0x49ea44[_0x323434(0x1eb)](_0x49ea44['xAFdq'],_0x49ea44[_0x323434(0x1e9)])?this['config']['useW3C']=!![]:(_0x51628b++,_0x49ea44[_0x323434(0x1ac)](_0x51628b,0x1)&&await this[_0x323434(0x1ff)]());};process['on'](_0x49ea44[_0x26bcfe(0x1f7)],_0x708253),process['on'](_0x49ea44[_0x26bcfe(0x215)],_0x708253),process['on'](_0x49ea44[_0x26bcfe(0x1bc)],_0x708253);}}catch(_0x3c46b2){_0x49ea44['lHAMy'](_0x49ea44[_0x26bcfe(0x1cd)],_0x49ea44[_0x26bcfe(0x1cd)])?_0x38c6eb[_0x26bcfe(0x1f3)](_0x49ea44[_0x26bcfe(0x20d)]):(logger[_0x26bcfe(0x1f2)](_0x49ea44[_0x26bcfe(0x1fc)],_0x3c46b2[_0x26bcfe(0x1fd)]),logger[_0x26bcfe(0x1ea)](_0x3c46b2));}}}async['stopBrowserstackLocal'](){const _0x348fed=a31_0x42ff6d,_0x5eeb68={};_0x5eeb68[_0x348fed(0x221)]=_0x348fed(0x1ba),_0x5eeb68[_0x348fed(0x1bf)]=function(_0x3e0d13,_0x2ec99c){return _0x3e0d13===_0x2ec99c;},_0x5eeb68[_0x348fed(0x209)]=_0x348fed(0x1ee),_0x5eeb68[_0x348fed(0x1ab)]=_0x348fed(0x1b9),_0x5eeb68[_0x348fed(0x1e5)]=_0x348fed(0x1d8),_0x5eeb68['UdUsR']=_0x348fed(0x1da);const _0x45b34d=_0x5eeb68;if(this['browserstackLocal']&&this[_0x348fed(0x1d5)][_0x348fed(0x1c8)]())try{_0x45b34d['RtrCd'](_0x45b34d[_0x348fed(0x209)],_0x45b34d['fHlrJ'])?(_0x56f94d[_0x348fed(0x1f2)](_0x45b34d[_0x348fed(0x221)],_0x2e5196[_0x348fed(0x1fd)]),_0x52d99f[_0x348fed(0x1ea)](_0x7e44d7)):(await helper[_0x348fed(0x201)](this['browserstackLocal']),logger[_0x348fed(0x1f3)](_0x45b34d['cCIhN']));}catch(_0x10f41a){logger[_0x348fed(0x1f2)](_0x45b34d['UdUsR'],_0x10f41a[_0x348fed(0x1fd)]);}}['setupKeepAlive'](){const _0x5793f2=a31_0x42ff6d,_0x345e22={'yRJUh':function(_0x466e65,_0x11bdf4){return _0x466e65(_0x11bdf4);},'whzcQ':_0x5793f2(0x20e)};_0x345e22[_0x5793f2(0x1d2)](require,_0x345e22[_0x5793f2(0x210)])();}[a31_0x42ff6d(0x1dd)](){const _0x3d1e1d=a31_0x42ff6d,_0x116583={};_0x116583[_0x3d1e1d(0x1f9)]=_0x3d1e1d(0x1fe),_0x116583[_0x3d1e1d(0x1ed)]=_0x3d1e1d(0x1d4);const _0x13db17=_0x116583,_0x567770=_0x379251=>{const _0x2b4e46=_0x3d1e1d;logger['error'](_0x379251[_0x2b4e46(0x1fd)]),logger[_0x2b4e46(0x1ea)](_0x379251);};process['on'](_0x13db17[_0x3d1e1d(0x1f9)],_0x567770),process['on'](_0x13db17[_0x3d1e1d(0x1ed)],_0x567770);}}function a31_0x6674(){const _0xc332eb=['31953sliLbC','cCMjc','readConfig','fetzo','vdzMt','mvjxu','yRJUh','7336880QvcwrB','uncaughtException','browserstackLocal','xqQzL','siBeq','Local\x20binary\x20stopped','18012346jEHrxW','Error\x20occured\x20while\x20stopping\x20local\x20binary','hlNOJ','getUserName','handleExceptions','ZUZJP','UGpJr','4uaiPUa','setupKeepAlive','vGaEt','23fpHDOs','getAccessKey','cCIhN','MqrkL','NPsxN','BNHOh','xAFdq','debug','rWXiv','getLocalConfig','vlBUo','PqXZp','env','./logger','dwbbc','error','info','length','useW3C','vAHGT','ONyJV','vcOOp','QuoPp','kuQKV','wZvvQ','mfnNW','message','unhandledRejection','stopBrowserstackLocal','getPackageVersion','stopLocalBinary','userName\x20or\x20accessKey\x20is\x20not\x20defined','parallelsPerPlatform','aoJME','LHTyS','IBvTy','Piuhv','YZJeT','dWDNq','gRxay','FBBUK','DRfoU','srYLV','./setKeepAlive','10514fhdTJf','whzcQ','tvAHk','beforeExit','getConfigPath','vuzKD','qSXmK','anZKk','SIGINT','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','VxvLL','18ulEmSu','getLocalIdentifier','selenium-webdriver','./helper','isUndefined','wMNVS','ZqSed','Oxnrf','UxnCq','OxeKx','RQEKl','platforms','TGHIp','localIdentifier','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','fHlrJ','HAgtT','SksjT','sRkIx','constructor','1854660qJzkOG','NOrGR','browserStackLocalOptions','Local\x20binary\x20started\x20successfully','DEAVA','config','HMwRd','bMGHm','MxazP','ViMIX','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','uKMxz','eTVop','lHAMy','3602815uNfVSB','RtrCd','70790KMDHFk','ZFpNB','generateLocalIdentifier','qFKph','eFSKl','warn','setupBrowserstackLocal','RbTyn','isRunning','BROWSERSTACK_LOCAL','3246pLXucK','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined'];a31_0x6674=function(){return _0xc332eb;};return a31_0x6674();}exports['default']=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;
|