browserstack-node-sdk 1.3.0 → 1.3.1

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.
Files changed (40) hide show
  1. package/package.json +1 -1
  2. package/src/bin/cucumber-js/command.js +1 -1
  3. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  4. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  5. package/src/bin/cucumber-js/test.setup.js +1 -1
  6. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  7. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  8. package/src/bin/jest/command.js +1 -1
  9. package/src/bin/jest/customEnvironment.js +1 -1
  10. package/src/bin/jest/customTestRunnerTemplate.js +1 -1
  11. package/src/bin/jest/jest.setup.js +1 -1
  12. package/src/bin/jest/test_before.setup.js +1 -1
  13. package/src/bin/launcher/launcher.js +1 -1
  14. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  15. package/src/bin/mocha/command.js +1 -1
  16. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  17. package/src/bin/mocha/test-observability/constants.js +1 -1
  18. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  19. package/src/bin/mocha/test-observability/helper.js +1 -1
  20. package/src/bin/mocha/test-observability/requestQueueHandler.js +1 -1
  21. package/src/bin/mocha/test.setup.js +1 -1
  22. package/src/bin/nightwatch/command.js +1 -1
  23. package/src/bin/runner.js +1 -1
  24. package/src/bin/setup.js +1 -1
  25. package/src/bin/test-runner/index.js +1 -1
  26. package/src/bin/test-runner/runTest.js +1 -1
  27. package/src/bin/test-runner/testWorker.js +1 -1
  28. package/src/bin/utils/constants.js +1 -1
  29. package/src/bin/utils/log4jsAppender.js +1 -1
  30. package/src/bin/utils/logPatcher.js +1 -1
  31. package/src/bin/utils/logReportingAPI.js +1 -1
  32. package/src/bin/vanilla-js/command.js +1 -1
  33. package/src/helpers/BrowserStackSetup.js +1 -1
  34. package/src/helpers/helper.js +1 -1
  35. package/src/helpers/logger.js +1 -1
  36. package/src/helpers/patchHelpers.js +1 -1
  37. package/src/helpers/request-spy.js +1 -1
  38. package/src/helpers/setKeepAlive.js +1 -1
  39. package/src/helpers/w3cMapping.js +1 -1
  40. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x134ef5=a29_0x2765;(function(_0x396b42,_0x526141){const _0x43c743=a29_0x2765,_0x32542b=_0x396b42();while(!![]){try{const _0x23e1c9=-parseInt(_0x43c743(0xbb))/0x1*(parseInt(_0x43c743(0xaa))/0x2)+-parseInt(_0x43c743(0xb4))/0x3+-parseInt(_0x43c743(0xb9))/0x4+-parseInt(_0x43c743(0xa9))/0x5+parseInt(_0x43c743(0xc6))/0x6*(-parseInt(_0x43c743(0xa5))/0x7)+-parseInt(_0x43c743(0xba))/0x8*(parseInt(_0x43c743(0xad))/0x9)+parseInt(_0x43c743(0xbd))/0xa;if(_0x23e1c9===_0x526141)break;else _0x32542b['push'](_0x32542b['shift']());}catch(_0x59a423){_0x32542b['push'](_0x32542b['shift']());}}}(a29_0x3791,0x2d01e));const Transport=require(a29_0x134ef5(0xc9)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x586537={};a29_0x586537[a29_0x134ef5(0xa6)]=a29_0x134ef5(0xa6),a29_0x586537[a29_0x134ef5(0xc1)]=a29_0x134ef5(0xc1),a29_0x586537[a29_0x134ef5(0xb7)]=a29_0x134ef5(0xb7),a29_0x586537[a29_0x134ef5(0xb2)]=a29_0x134ef5(0xb2),a29_0x586537['WARN']=a29_0x134ef5(0xcc);function a29_0x3791(){const _0x52cc8d=['GRRzj','pid','DEBUG','logged','1063776VjHbmI','24YPmHRY','1EhkPAv','mmMSA','9146460oemaED','rpAqq','nLuHY','toUpperCase','ERROR','OofMy','fMAKV','yTBKQ','exports','1890wqfGEW','rJQoV','AHeKL','winston-transport','message','OxpnW','WARN','iQvNJ','toISOString','trGrK','2821kbJovk','INFO','AljNp','bs:addLog:','995190SrRsSu','91092LIOmaI','emit','jArix','127737uOEsuH','info','trace','toLowerCase','log','TRACE','logToTestOps','150732YZVPYl'];a29_0x3791=function(){return _0x52cc8d;};return a29_0x3791();}const LOG_LEVELS=a29_0x586537;class logReportingAPI extends Transport{constructor(_0x3d46c7){super(_0x3d46c7);}[a29_0x134ef5(0xb1)](_0x3a75eb,_0x44f04e){const _0x53a065=a29_0x134ef5,_0x487dc0={'AljNp':function(_0x4ea4ef,_0x209d5b){return _0x4ea4ef===_0x209d5b;},'OxpnW':_0x53a065(0xa4),'yuTFz':_0x53a065(0xbe),'rJQoV':_0x53a065(0xb8),'OofMy':function(_0x23ade3,_0x1f0431){return _0x23ade3(_0x1f0431);},'iQvNJ':function(_0x46daac,_0x5cc61c){return _0x46daac===_0x5cc61c;},'zNiQS':'object','jArix':function(_0x2452f4,_0x4bfafd){return _0x2452f4===_0x4bfafd;},'GVNEK':'qVdZt','fMAKV':_0x53a065(0xbc),'nLuHY':function(_0x57c5cc,_0x4ef482){return _0x57c5cc===_0x4ef482;},'CMSXb':'YJXQw','yTBKQ':_0x53a065(0xb5),'ZnfuV':function(_0x14c396){return _0x14c396();}};_0x487dc0[_0x53a065(0xc2)](setImmediate,()=>{const _0x58ed37=_0x53a065;_0x487dc0[_0x58ed37(0xa7)](_0x487dc0[_0x58ed37(0xcb)],_0x487dc0['yuTFz'])?this['logToTestOps'](_0x277335[_0x58ed37(0xc1)],_0x537ff6):this['emit'](_0x487dc0[_0x58ed37(0xc7)],_0x3a75eb);});_0x487dc0[_0x53a065(0xcd)](typeof _0x3a75eb,_0x487dc0['zNiQS'])?_0x487dc0[_0x53a065(0xac)](_0x487dc0['GVNEK'],_0x487dc0[_0x53a065(0xc3)])?this[_0x53a065(0xb3)](_0x1af37b['level']||_0x1d8675[_0x53a065(0xa6)],_0x2df36c[_0x53a065(0xca)],![]):this[_0x53a065(0xb3)](_0x3a75eb['level']||LOG_LEVELS[_0x53a065(0xa6)],_0x3a75eb['message'],![]):_0x487dc0[_0x53a065(0xbf)](_0x487dc0['CMSXb'],_0x487dc0[_0x53a065(0xc4)])?this['logToTestOps'](_0x469f22['WARN'],_0x364e7f):this['logToTestOps'](LOG_LEVELS[_0x53a065(0xa6)],_0x3a75eb);if(_0x44f04e)_0x487dc0['ZnfuV'](_0x44f04e);}[a29_0x134ef5(0xb3)]=(_0x288156=LOG_LEVELS[a29_0x134ef5(0xa6)],_0x425771='',_0x5dc612=!![])=>{const _0x527abe=a29_0x134ef5,_0x32f634={};_0x32f634[_0x527abe(0xc8)]='TEST_LOG';const _0xc047ba=_0x32f634;if(_0x5dc612)consoleHolder[_0x288156[_0x527abe(0xb0)]()](_0x425771);process[_0x527abe(0xab)](_0x527abe(0xa8)+process[_0x527abe(0xb6)],{'timestamp':new Date()[_0x527abe(0xce)](),'level':_0x288156[_0x527abe(0xc0)](),'message':_0x425771,'kind':_0xc047ba[_0x527abe(0xc8)],'http_response':{}});};[a29_0x134ef5(0xaf)]=(_0x2e8cdb,_0x248771)=>{const _0x173c0c=a29_0x134ef5;this[_0x173c0c(0xb3)](LOG_LEVELS['TRACE'],_0x2e8cdb);};['debug']=(_0x4bf1c5,_0xf0417e)=>{const _0x1f160d=a29_0x134ef5;this[_0x1f160d(0xb3)](LOG_LEVELS[_0x1f160d(0xb7)],_0x4bf1c5);};[a29_0x134ef5(0xae)]=(_0x3b2ef8,_0x62681c)=>{const _0x1fcf04=a29_0x134ef5;this['logToTestOps'](LOG_LEVELS[_0x1fcf04(0xa6)],_0x3b2ef8);};['warn']=(_0x1c6126,_0x56891f)=>{const _0x62f8ec=a29_0x134ef5;this[_0x62f8ec(0xb3)](LOG_LEVELS['WARN'],_0x1c6126);};['error']=(_0x5d54bf,_0x392351)=>{const _0x13a7b6=a29_0x134ef5;this[_0x13a7b6(0xb3)](LOG_LEVELS[_0x13a7b6(0xc1)],_0x5d54bf);};}function a29_0x2765(_0x2d0694,_0x1d5e11){const _0x3791e3=a29_0x3791();return a29_0x2765=function(_0x2765a7,_0x17671d){_0x2765a7=_0x2765a7-0xa4;let _0x5a983b=_0x3791e3[_0x2765a7];return _0x5a983b;},a29_0x2765(_0x2d0694,_0x1d5e11);};module[a29_0x134ef5(0xc5)]=logReportingAPI;
1
+ const a29_0x54fd84=a29_0x2ca2;(function(_0xe54dc4,_0xcde4a5){const _0x2baccb=a29_0x2ca2,_0x561bc7=_0xe54dc4();while(!![]){try{const _0x4157e0=parseInt(_0x2baccb(0x117))/0x1*(parseInt(_0x2baccb(0x11c))/0x2)+parseInt(_0x2baccb(0xf4))/0x3*(parseInt(_0x2baccb(0x10f))/0x4)+-parseInt(_0x2baccb(0xf0))/0x5+parseInt(_0x2baccb(0x112))/0x6+-parseInt(_0x2baccb(0xfd))/0x7*(-parseInt(_0x2baccb(0xf6))/0x8)+parseInt(_0x2baccb(0x103))/0x9*(-parseInt(_0x2baccb(0xf2))/0xa)+-parseInt(_0x2baccb(0xf1))/0xb;if(_0x4157e0===_0xcde4a5)break;else _0x561bc7['push'](_0x561bc7['shift']());}catch(_0x303a43){_0x561bc7['push'](_0x561bc7['shift']());}}}(a29_0x1f92,0x9b5f3));const Transport=require(a29_0x54fd84(0x118)),{consoleHolder}=require('../mocha/test-observability/constants'),a29_0x288730={};a29_0x288730[a29_0x54fd84(0x10d)]=a29_0x54fd84(0x10d),a29_0x288730[a29_0x54fd84(0xf7)]='ERROR',a29_0x288730['DEBUG']=a29_0x54fd84(0x11d),a29_0x288730['TRACE']=a29_0x54fd84(0xfa),a29_0x288730[a29_0x54fd84(0xfe)]=a29_0x54fd84(0xfe);const LOG_LEVELS=a29_0x288730;function a29_0x2ca2(_0x54a2bc,_0x44b385){const _0x1f9263=a29_0x1f92();return a29_0x2ca2=function(_0x2ca216,_0x124c97){_0x2ca216=_0x2ca216-0xed;let _0x5cf7ae=_0x1f9263[_0x2ca216];return _0x5cf7ae;},a29_0x2ca2(_0x54a2bc,_0x44b385);}class logReportingAPI extends Transport{constructor(_0x8f6880){super(_0x8f6880);}[a29_0x54fd84(0xf9)](_0x35e2b7,_0x5586b3){const _0x55dc4f=a29_0x54fd84,_0x2dab90={'zmmGi':_0x55dc4f(0x114),'OOTsX':function(_0x2bbf41,_0x3e11c2){return _0x2bbf41===_0x3e11c2;},'OBfDw':_0x55dc4f(0x115),'HTDPX':_0x55dc4f(0xfb),'zNOGm':'TEST_LOG','lEXkx':function(_0x1de6ea,_0x26af38){return _0x1de6ea(_0x26af38);},'HTcSM':function(_0x408647,_0x12cfb3){return _0x408647===_0x12cfb3;},'JemII':_0x55dc4f(0x10c),'VKiie':_0x55dc4f(0x113),'QiACT':function(_0x46ec0a,_0x5b5e08){return _0x46ec0a===_0x5b5e08;},'wnJnD':_0x55dc4f(0xfc),'hHzVk':_0x55dc4f(0x10a),'sZyyP':function(_0x268787){return _0x268787();}};_0x2dab90[_0x55dc4f(0x11e)](setImmediate,()=>{const _0x352656=_0x55dc4f;_0x2dab90['OOTsX'](_0x2dab90[_0x352656(0x110)],_0x2dab90[_0x352656(0xf5)])?this[_0x352656(0x100)](_0x2dab90[_0x352656(0x107)],_0x18709c):this[_0x352656(0x100)](_0x2dab90[_0x352656(0x107)],_0x35e2b7);});if(_0x2dab90[_0x55dc4f(0xef)](typeof _0x35e2b7,_0x2dab90['JemII'])){if(_0x2dab90[_0x55dc4f(0xef)](_0x2dab90[_0x55dc4f(0xed)],_0x2dab90['VKiie']))this['logToTestOps'](_0x35e2b7[_0x55dc4f(0x116)]||LOG_LEVELS['INFO'],_0x35e2b7[_0x55dc4f(0xee)],![]);else{if(_0x5b20e8)_0x2227a9[_0x36a93b[_0x55dc4f(0xf8)]()](_0x52cda4);_0x18aaea[_0x55dc4f(0x100)](_0x55dc4f(0x11a)+_0x32bd09[_0x55dc4f(0xff)],{'timestamp':new _0x34a18e()[_0x55dc4f(0x104)](),'level':_0x2a18c5[_0x55dc4f(0x10e)](),'message':_0x105872,'kind':_0x2dab90[_0x55dc4f(0x102)],'http_response':{}});}}else _0x2dab90[_0x55dc4f(0x108)](_0x2dab90[_0x55dc4f(0x106)],_0x2dab90[_0x55dc4f(0xf3)])?this['logToTestOps'](_0x326790[_0x55dc4f(0x10d)],_0x3cff80):this[_0x55dc4f(0x10b)](LOG_LEVELS['INFO'],_0x35e2b7);if(_0x5586b3)_0x2dab90[_0x55dc4f(0x11b)](_0x5586b3);}['logToTestOps']=(_0x1a63c2=LOG_LEVELS['INFO'],_0x2f1db7='',_0x48c04d=!![])=>{const _0x5c91fd=a29_0x54fd84,_0x5976c7={};_0x5976c7['rLdNI']='TEST_LOG';const _0xb625df=_0x5976c7;if(_0x48c04d)consoleHolder[_0x1a63c2['toLowerCase']()](_0x2f1db7);process[_0x5c91fd(0x100)](_0x5c91fd(0x11a)+process[_0x5c91fd(0xff)],{'timestamp':new Date()['toISOString'](),'level':_0x1a63c2[_0x5c91fd(0x10e)](),'message':_0x2f1db7,'kind':_0xb625df['rLdNI'],'http_response':{}});};[a29_0x54fd84(0x105)]=(_0x2997c7,_0x15618e)=>{const _0x2fba5a=a29_0x54fd84;this[_0x2fba5a(0x10b)](LOG_LEVELS[_0x2fba5a(0xfa)],_0x2997c7);};[a29_0x54fd84(0x109)]=(_0x285383,_0x351fd8)=>{const _0x74e7de=a29_0x54fd84;this[_0x74e7de(0x10b)](LOG_LEVELS[_0x74e7de(0x11d)],_0x285383);};['info']=(_0x6598a4,_0x5ca4f4)=>{const _0x3ffd4e=a29_0x54fd84;this[_0x3ffd4e(0x10b)](LOG_LEVELS[_0x3ffd4e(0x10d)],_0x6598a4);};[a29_0x54fd84(0x119)]=(_0x572101,_0x453ae8)=>{const _0x4830e1=a29_0x54fd84;this[_0x4830e1(0x10b)](LOG_LEVELS[_0x4830e1(0xfe)],_0x572101);};[a29_0x54fd84(0x111)]=(_0x18dffe,_0x28f8cc)=>{this['logToTestOps'](LOG_LEVELS['ERROR'],_0x18dffe);};};function a29_0x1f92(){const _0x303d69=['WARN','pid','emit','exports','zNOGm','167058ATHhfT','toISOString','trace','wnJnD','zmmGi','QiACT','debug','YHDhx','logToTestOps','object','INFO','toUpperCase','8AhyCYt','OBfDw','error','1352424USZJHD','TUQhB','logged','QQfTf','level','3TNQwll','winston-transport','warn','bs:addLog:','sZyyP','197688XFgXWu','DEBUG','lEXkx','VKiie','message','HTcSM','761050PBVDdc','10985689kVjljJ','40ieITqb','hHzVk','373053MHDrNG','HTDPX','21496uKnrZf','ERROR','toLowerCase','log','TRACE','AxXGJ','ssEWe','2842Uhbtbq'];a29_0x1f92=function(){return _0x303d69;};return a29_0x1f92();}module[a29_0x54fd84(0x101)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a30_0x4876e7=a30_0x1682;(function(_0x5dd296,_0xb4fe8){const _0x3c29a7=a30_0x1682,_0x2fb7e7=_0x5dd296();while(!![]){try{const _0x43d5f2=parseInt(_0x3c29a7(0xa6))/0x1*(-parseInt(_0x3c29a7(0x9f))/0x2)+-parseInt(_0x3c29a7(0x7c))/0x3+parseInt(_0x3c29a7(0x96))/0x4*(-parseInt(_0x3c29a7(0xa3))/0x5)+parseInt(_0x3c29a7(0x92))/0x6+-parseInt(_0x3c29a7(0x91))/0x7*(-parseInt(_0x3c29a7(0x9c))/0x8)+-parseInt(_0x3c29a7(0xac))/0x9*(-parseInt(_0x3c29a7(0xb0))/0xa)+-parseInt(_0x3c29a7(0xa8))/0xb*(-parseInt(_0x3c29a7(0xad))/0xc);if(_0x43d5f2===_0xb4fe8)break;else _0x2fb7e7['push'](_0x2fb7e7['shift']());}catch(_0x334df5){_0x2fb7e7['push'](_0x2fb7e7['shift']());}}}(a30_0x181f,0x87872));const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x4876e7(0xa4)),helper=require(a30_0x4876e7(0xb3)),constants=require(a30_0x4876e7(0x93)),{parallelVanillaRun}=require(a30_0x4876e7(0xb5));function a30_0x1682(_0x555f9e,_0x3f784e){const _0x181fe8=a30_0x181f();return a30_0x1682=function(_0x1682b3,_0x305594){_0x1682b3=_0x1682b3-0x74;let _0x2759aa=_0x181fe8[_0x1682b3];return _0x2759aa;},a30_0x1682(_0x555f9e,_0x3f784e);}async function run(_0x5d654e){const _0x3fecd8=a30_0x4876e7,_0x3f6fba={'XwoUF':_0x3fecd8(0x8b),'PvQXb':function(_0x2cb5a9,_0x52ae4e){return _0x2cb5a9!==_0x52ae4e;},'yYzGD':_0x3fecd8(0x90),'kYKXR':function(_0x20b75d,_0xaf426e){return _0x20b75d!==_0xaf426e;},'EprZN':_0x3fecd8(0xa5),'cNCnV':'XxKZh','AYEUo':function(_0x27e222,_0x5a0315){return _0x27e222(_0x5a0315);},'yPqZD':_0x3fecd8(0xa2),'pgZeh':_0x3fecd8(0x87),'nocNy':function(_0x4c33f2,_0x4cfb53){return _0x4c33f2>_0x4cfb53;},'AVFaB':function(_0x429043,_0x8a8384){return _0x429043===_0x8a8384;},'sfAHt':_0x3fecd8(0x9a),'dUZon':_0x3fecd8(0x9d),'EOGEp':function(_0x377ccb,_0x31f032){return _0x377ccb>_0x31f032;},'DbCRo':function(_0x854b2b,_0x1f5bdb){return _0x854b2b!==_0x1f5bdb;},'rJLsH':_0x3fecd8(0xa0),'isnLp':_0x3fecd8(0x8f),'hriLI':function(_0x388543,_0x3a1381){return _0x388543*_0x3a1381;},'KJtvs':function(_0x5d5253,_0x69180,_0x4d9e1b){return _0x5d5253(_0x69180,_0x4d9e1b);}},_0x503cd3=new BrowserStackSetup();let _0x5040b7=[];if(helper[_0x3fecd8(0x8e)](_0x5d654e['_'][0x1]))throw _0x3f6fba['AYEUo'](Error,_0x3f6fba[_0x3fecd8(0x89)]);const _0x29c5a8=path[_0x3fecd8(0x9b)](process[_0x3fecd8(0xb2)](),_0x5d654e['_'][0x1]);if(!fs[_0x3fecd8(0x80)](_0x29c5a8))throw _0x3f6fba[_0x3fecd8(0xaa)](Error,_0x3fecd8(0x8c)+_0x5d654e['_'][0x1]+_0x3fecd8(0xab));if(!_0x503cd3['config'])throw _0x3f6fba[_0x3fecd8(0xaa)](Error,_0x3f6fba[_0x3fecd8(0x9e)]);let _0x1ee4a0=helper[_0x3fecd8(0xaf)](_0x503cd3['config']);if(_0x503cd3['config'][_0x3fecd8(0x8a)]&&_0x3f6fba[_0x3fecd8(0x77)](_0x503cd3['config'][_0x3fecd8(0x8a)][_0x3fecd8(0xb4)],0x0)){if(_0x3f6fba[_0x3fecd8(0x7b)](_0x3f6fba[_0x3fecd8(0x81)],_0x3f6fba['dUZon'])){const _0x83e8cc={};_0x83e8cc[_0x3fecd8(0xa1)]=_0x3f6fba['XwoUF'];const _0xcabe78=_0x83e8cc;_0x47bc82[_0x3fecd8(0x83)][_0x3fecd8(0x8a)][_0x3fecd8(0x76)]((_0x2442be,_0xb26b2b)=>{const _0x58cd26=_0x3fecd8;if(_0x42115f)_0x1474fe['push'](_0x23cc8b[_0x58cd26(0x7a)](_0x4214df[_0x58cd26(0x83)],_0xcabe78[_0x58cd26(0xa1)],_0xb26b2b));else _0x445977[_0x58cd26(0x85)](_0x48384c[_0x58cd26(0x94)](_0x1b2f57['config'],_0xcabe78[_0x58cd26(0xa1)],_0xb26b2b));});}else _0x503cd3['config'][_0x3fecd8(0x8a)]['forEach']((_0x277810,_0x542c61)=>{const _0x3fa024=_0x3fecd8;if(_0x3f6fba['PvQXb'](_0x3f6fba[_0x3fa024(0x84)],_0x3f6fba['yYzGD']))_0x2e34b6[_0x3fa024(0x76)](_0x2ab8ec=>{const _0x5336cd=_0x3fa024;_0x2cdf91={'server':_0x360bcc['hubUrl'],'proxySettings':_0x590688['config'][_0x5336cd(0x99)],'platform':_0xab7b6d[_0x5336cd(0x75)](_0x2ab8ec)};const _0x540ccd={'capability':_0x2ab8ec,..._0x408b0e};_0x540ccd[_0x5336cd(0x7e)]=_0x19ccfd,_0x540ccd['args']=_0x247f45;const _0x4fe424={};_0x4fe424[_0x5336cd(0x97)]=_0x540ccd,_0x522123=_0x4fe424,_0x56e401[_0x5336cd(0x85)](_0x48c7fb);});else{if(_0x1ee4a0)_0x5040b7[_0x3fa024(0x85)](helper[_0x3fa024(0x7a)](_0x503cd3['config'],_0x3f6fba[_0x3fa024(0x79)],_0x542c61));else _0x5040b7[_0x3fa024(0x85)](helper[_0x3fa024(0x94)](_0x503cd3[_0x3fa024(0x83)],_0x3f6fba['XwoUF'],_0x542c61));}});}let _0x33eb0a,_0x58fcb7;const _0x13369c=[];if(_0x3f6fba[_0x3fecd8(0xb1)](_0x5040b7[_0x3fecd8(0xb4)],0x0)){if(_0x3f6fba['DbCRo'](_0x3f6fba[_0x3fecd8(0xb6)],_0x3f6fba[_0x3fecd8(0xb6)])){let _0x48f773;if(_0x242899)_0x48f773=_0x5b7d76['modifyBrowserStackW3CCaps'](_0x6d31bc[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);else _0x48f773=_0x142275[_0x3fecd8(0x94)](_0x3f4f7a[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);const _0xfdb04a={};_0xfdb04a[_0x3fecd8(0x86)]=_0x2c9c5a[_0x3fecd8(0x88)],_0xfdb04a['proxySettings']=_0x415f70['config']['proxySettings'],_0x3634f8=_0xfdb04a;const _0x2c7515={'capability':_0x48f773,..._0x2a654f};_0x2c7515[_0x3fecd8(0x7e)]=_0x1ae93c,_0x2c7515[_0x3fecd8(0x7d)]=_0x531e25,_0x2c7515['merge']=!![];const _0x521af3={};_0x521af3[_0x3fecd8(0x97)]=_0x2c7515,_0x41d6c2=_0x521af3,_0x5b9226[_0x3fecd8(0x85)](_0xa3f2a4);}else _0x5040b7[_0x3fecd8(0x76)](_0x4b6357=>{const _0x436921=_0x3fecd8;if(_0x3f6fba[_0x436921(0x82)](_0x3f6fba[_0x436921(0x95)],_0x3f6fba[_0x436921(0x98)])){_0x33eb0a={'server':constants[_0x436921(0x88)],'proxySettings':_0x503cd3[_0x436921(0x83)]['proxySettings'],'platform':helper[_0x436921(0x75)](_0x4b6357)};const _0x343e46={'capability':_0x4b6357,..._0x33eb0a};_0x343e46['file']=_0x29c5a8,_0x343e46['args']=_0x5d654e;const _0x30f0cb={};_0x30f0cb[_0x436921(0x97)]=_0x343e46,_0x58fcb7=_0x30f0cb,_0x13369c[_0x436921(0x85)](_0x58fcb7);}else{_0x384ce5={'server':_0xa873d9['hubUrl'],'proxySettings':_0xd33575[_0x436921(0x83)][_0x436921(0x99)],'platform':_0x1551ef[_0x436921(0x75)](_0x3b3669)};const _0x38139e={'capability':_0x36b371,..._0x14da98};_0x38139e[_0x436921(0x7e)]=_0x495f4a,_0x38139e[_0x436921(0x7d)]=_0x339810;const _0x4b0a9f={};_0x4b0a9f[_0x436921(0x97)]=_0x38139e,_0x322121=_0x4b0a9f,_0x48ce8d['push'](_0x5b514f);}});}else{if(_0x3f6fba[_0x3fecd8(0x7b)](_0x3f6fba['isnLp'],_0x3f6fba[_0x3fecd8(0xa7)])){let _0x3c28fa;if(_0x1ee4a0)_0x3c28fa=helper[_0x3fecd8(0x7a)](_0x503cd3[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);else _0x3c28fa=helper[_0x3fecd8(0x94)](_0x503cd3[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],0x0);const _0x14b2ef={};_0x14b2ef['server']=constants[_0x3fecd8(0x88)],_0x14b2ef['proxySettings']=_0x503cd3[_0x3fecd8(0x83)]['proxySettings'],_0x33eb0a=_0x14b2ef;const _0x3954a0={'capability':_0x3c28fa,..._0x33eb0a};_0x3954a0['file']=_0x29c5a8,_0x3954a0['args']=_0x5d654e,_0x3954a0[_0x3fecd8(0x78)]=!![];const _0x376e0f={};_0x376e0f[_0x3fecd8(0x97)]=_0x3954a0,_0x58fcb7=_0x376e0f,_0x13369c[_0x3fecd8(0x85)](_0x58fcb7);}else{if(_0x1ae31d)_0x38f833[_0x3fecd8(0x85)](_0x40de39[_0x3fecd8(0x7a)](_0x1f54d2[_0x3fecd8(0x83)],_0x3f6fba[_0x3fecd8(0x79)],_0x2d74aa));else _0xc7a904[_0x3fecd8(0x85)](_0x146c8d[_0x3fecd8(0x94)](_0x217375['config'],_0x3f6fba['XwoUF'],_0x9413e0));}}const _0x551c77=_0x3f6fba[_0x3fecd8(0xa9)](_0x503cd3[_0x3fecd8(0x83)][_0x3fecd8(0x8a)][_0x3fecd8(0xb4)]||0x1,_0x503cd3[_0x3fecd8(0x83)][_0x3fecd8(0xae)]);_0x3f6fba[_0x3fecd8(0x7f)](parallelVanillaRun,_0x13369c,_0x551c77)[_0x3fecd8(0x74)](_0x4176a7=>{});}function a30_0x181f(){const _0x3e2639=['SKdEc','Nopld','File\x20path\x20is\x20required','3243760goGdvc','../../helpers/BrowserStackSetup','ZURAy','8AAvwJq','isnLp','44qJPlTz','hriLI','AYEUo','\x20doesn\x27t\x20exist','2630079KGSfJS','4941744kegIka','parallelsPerPlatform','useW3C','20ZUYERl','EOGEp','cwd','../../helpers/helper','length','../test-runner','rJLsH','then','getPlatformName','forEach','nocNy','merge','XwoUF','modifyBrowserStackW3CCaps','AVFaB','2721378AlkXXo','args','file','KJtvs','existsSync','sfAHt','kYKXR','config','yYzGD','push','server','Config\x20yml\x20is\x20required','hubUrl','yPqZD','platforms','vanilla','File\x20','exports','isUndefined','ohDUY','FsuOh','3598007CuDSlB','1618758kALrRW','../utils/constants','modifyBrowserStackCaps','EprZN','4WqTUJe','configuration','cNCnV','proxySettings','YLPgb','join','8iNPwgE','Qtehd','pgZeh','226126vfTBtj'];a30_0x181f=function(){return _0x3e2639;};return a30_0x181f();}module[a30_0x4876e7(0x8d)]=run;
2
+ 'use strict';const a30_0x5149fc=a30_0x566f;(function(_0x39273f,_0x3fb353){const _0x768225=a30_0x566f,_0x514600=_0x39273f();while(!![]){try{const _0x227607=parseInt(_0x768225(0x20d))/0x1*(-parseInt(_0x768225(0x1fb))/0x2)+-parseInt(_0x768225(0x22a))/0x3*(parseInt(_0x768225(0x224))/0x4)+parseInt(_0x768225(0x225))/0x5*(-parseInt(_0x768225(0x22f))/0x6)+-parseInt(_0x768225(0x1f5))/0x7+parseInt(_0x768225(0x21d))/0x8+parseInt(_0x768225(0x223))/0x9*(-parseInt(_0x768225(0x1f4))/0xa)+-parseInt(_0x768225(0x1f3))/0xb*(-parseInt(_0x768225(0x206))/0xc);if(_0x227607===_0x3fb353)break;else _0x514600['push'](_0x514600['shift']());}catch(_0x178489){_0x514600['push'](_0x514600['shift']());}}}(a30_0x51f1,0x55488));const fs=require('fs'),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a30_0x5149fc(0x1fd)),constants=require('../utils/constants'),{parallelVanillaRun}=require('../test-runner');function a30_0x51f1(){const _0x19341e=['File\x20','cUrht','dIzyr','\x20doesn\x27t\x20exist','File\x20path\x20is\x20required','4995036ykLNwn','1493424HCVgtu','5VHenFS','length','xNFPo','hubUrl','push','3TLhXsu','YciGE','parallelsPerPlatform','existsSync','cwd','342786cFyYgq','BykGr','KAhJp','1331mRLubf','10oqoYXJ','2645986OQOqbW','isUndefined','dfNdY','TsCwa','AnkjR','getPlatformName','2LyMZwq','forEach','../../helpers/helper','configuration','vanilla','urufE','uSYgZ','odvez','SqrAu','proxySettings','config','114900ukDXel','merge','YuZzj','args','ZUfcF','QEGTp','Config\x20yml\x20is\x20required','115174fgfElA','opfkA','bmUwU','modifyBrowserStackCaps','modifyBrowserStackW3CCaps','platforms','EKXTt','then','hFOsl','exports','SRzZH','UdRlZ','VCIJh','join','file','LFEMg','5355264AfxUbp'];a30_0x51f1=function(){return _0x19341e;};return a30_0x51f1();}async function run(_0x22a746){const _0x68f397=a30_0x5149fc,_0x5f4be9={'opfkA':_0x68f397(0x1ff),'UyosY':function(_0x4bb93e,_0x1c344f){return _0x4bb93e!==_0x1c344f;},'JVNfL':_0x68f397(0x217),'QahiE':_0x68f397(0x22b),'QEGTp':function(_0x427ced,_0x5afda4){return _0x427ced===_0x5afda4;},'EKXTt':'OJZnm','ZqNut':'MJaWg','cUrht':function(_0x37a0ec,_0x5818d1){return _0x37a0ec(_0x5818d1);},'AnkjR':_0x68f397(0x222),'uSYgZ':function(_0x2c7c07,_0x56f70b){return _0x2c7c07(_0x56f70b);},'ZUfcF':_0x68f397(0x20c),'dfNdY':function(_0x2b1056,_0x48c053){return _0x2b1056>_0x48c053;},'xNFPo':_0x68f397(0x208),'BykGr':_0x68f397(0x218),'urufE':function(_0x1fab98,_0x2d616d){return _0x1fab98>_0x2d616d;},'bmUwU':function(_0x56ebb6,_0x397308){return _0x56ebb6===_0x397308;},'hFOsl':_0x68f397(0x219),'TsCwa':'obiQT','KAhJp':function(_0x3e20f7,_0x1d0521){return _0x3e20f7!==_0x1d0521;},'odvez':_0x68f397(0x220),'SqrAu':function(_0x506b37,_0x5bb5c3){return _0x506b37*_0x5bb5c3;},'zHHMU':function(_0x9631d7,_0x3e3844,_0x3cd51a){return _0x9631d7(_0x3e3844,_0x3cd51a);}},_0x20d683=new BrowserStackSetup();let _0x181876=[];if(helper[_0x68f397(0x1f6)](_0x22a746['_'][0x1]))throw _0x5f4be9[_0x68f397(0x21f)](Error,_0x5f4be9[_0x68f397(0x1f9)]);const _0x263dc3=path[_0x68f397(0x21a)](process[_0x68f397(0x22e)](),_0x22a746['_'][0x1]);if(!fs[_0x68f397(0x22d)](_0x263dc3))throw _0x5f4be9[_0x68f397(0x21f)](Error,_0x68f397(0x21e)+_0x22a746['_'][0x1]+_0x68f397(0x221));if(!_0x20d683[_0x68f397(0x205)])throw _0x5f4be9[_0x68f397(0x201)](Error,_0x5f4be9[_0x68f397(0x20a)]);let _0x59db93=helper['useW3C'](_0x20d683['config']);if(_0x20d683['config'][_0x68f397(0x212)]&&_0x5f4be9[_0x68f397(0x1f7)](_0x20d683[_0x68f397(0x205)][_0x68f397(0x212)][_0x68f397(0x226)],0x0)){if(_0x5f4be9[_0x68f397(0x20b)](_0x5f4be9[_0x68f397(0x227)],_0x5f4be9[_0x68f397(0x230)])){const _0x9ab9d7={};_0x9ab9d7[_0x68f397(0x21c)]=_0x5f4be9[_0x68f397(0x20e)];const _0x4b1c8f=_0x9ab9d7;_0x78b612[_0x68f397(0x205)][_0x68f397(0x212)]['forEach']((_0x3fc9cc,_0x45164d)=>{const _0x240177=_0x68f397;if(_0x47cdac)_0x1d477b['push'](_0xfa3a04[_0x240177(0x211)](_0x40c71f[_0x240177(0x205)],_0x4b1c8f[_0x240177(0x21c)],_0x45164d));else _0x50c12e[_0x240177(0x229)](_0x3c55d2[_0x240177(0x210)](_0x4376ae[_0x240177(0x205)],_0x4b1c8f[_0x240177(0x21c)],_0x45164d));});}else _0x20d683[_0x68f397(0x205)][_0x68f397(0x212)][_0x68f397(0x1fc)]((_0x2bcab4,_0x283817)=>{const _0x3f3fff=_0x68f397;if(_0x5f4be9['UyosY'](_0x5f4be9['JVNfL'],_0x5f4be9['QahiE'])){if(_0x59db93)_0x181876[_0x3f3fff(0x229)](helper['modifyBrowserStackW3CCaps'](_0x20d683[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x283817));else _0x181876['push'](helper['modifyBrowserStackCaps'](_0x20d683[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x283817));}else{if(_0x1f8d56)_0x18a17f[_0x3f3fff(0x229)](_0x4a750d[_0x3f3fff(0x211)](_0x4d3cb0[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x4f95c2));else _0x5470a7[_0x3f3fff(0x229)](_0x18fcfc['modifyBrowserStackCaps'](_0x1d572a[_0x3f3fff(0x205)],_0x5f4be9[_0x3f3fff(0x20e)],_0x3a5ad1));}});}let _0x4e2319,_0x189659;const _0x5c340e=[];if(_0x5f4be9[_0x68f397(0x200)](_0x181876[_0x68f397(0x226)],0x0))_0x5f4be9[_0x68f397(0x20f)](_0x5f4be9[_0x68f397(0x215)],_0x5f4be9[_0x68f397(0x1f8)])?_0x38e107[_0x68f397(0x1fc)](_0x4b1fbf=>{const _0x2f859c=_0x68f397;_0x5a2ae3={'server':_0x58f16a[_0x2f859c(0x228)],'proxySettings':_0x2b705b[_0x2f859c(0x205)][_0x2f859c(0x204)],'platform':_0x357570[_0x2f859c(0x1fa)](_0x4b1fbf)};const _0x1f6751={'capability':_0x4b1fbf,..._0x120598};_0x1f6751[_0x2f859c(0x21b)]=_0x53b2a8,_0x1f6751[_0x2f859c(0x209)]=_0x27b895;const _0x17d176={};_0x17d176['configuration']=_0x1f6751,_0x591b61=_0x17d176,_0x257c65[_0x2f859c(0x229)](_0x3d215a);}):_0x181876[_0x68f397(0x1fc)](_0x119f71=>{const _0x1a4615=_0x68f397;if(_0x5f4be9[_0x1a4615(0x20b)](_0x5f4be9[_0x1a4615(0x213)],_0x5f4be9['ZqNut'])){_0x59fbaf={'server':_0x4a9e1d[_0x1a4615(0x228)],'proxySettings':_0x5936ee[_0x1a4615(0x205)][_0x1a4615(0x204)],'platform':_0x193cc7[_0x1a4615(0x1fa)](_0x4d7271)};const _0x1fff52={'capability':_0xbd3812,..._0x2df102};_0x1fff52[_0x1a4615(0x21b)]=_0xb998d3,_0x1fff52[_0x1a4615(0x209)]=_0x499f40;const _0x3cfda9={};_0x3cfda9[_0x1a4615(0x1fe)]=_0x1fff52,_0x464181=_0x3cfda9,_0x5ea833[_0x1a4615(0x229)](_0x46bac8);}else{_0x4e2319={'server':constants[_0x1a4615(0x228)],'proxySettings':_0x20d683[_0x1a4615(0x205)][_0x1a4615(0x204)],'platform':helper[_0x1a4615(0x1fa)](_0x119f71)};const _0x316d92={'capability':_0x119f71,..._0x4e2319};_0x316d92[_0x1a4615(0x21b)]=_0x263dc3,_0x316d92[_0x1a4615(0x209)]=_0x22a746;const _0x5d7d62={};_0x5d7d62['configuration']=_0x316d92,_0x189659=_0x5d7d62,_0x5c340e[_0x1a4615(0x229)](_0x189659);}});else{if(_0x5f4be9[_0x68f397(0x1f2)](_0x5f4be9[_0x68f397(0x202)],_0x5f4be9[_0x68f397(0x202)])){let _0x420f94;if(_0x4a3c4a)_0x420f94=_0x1608a8[_0x68f397(0x211)](_0x1cca9e[_0x68f397(0x205)],_0x5f4be9[_0x68f397(0x20e)],0x0);else _0x420f94=_0x4eb6b2['modifyBrowserStackCaps'](_0x1ea33c[_0x68f397(0x205)],_0x5f4be9[_0x68f397(0x20e)],0x0);const _0x2b6667={};_0x2b6667['server']=_0x356a74[_0x68f397(0x228)],_0x2b6667[_0x68f397(0x204)]=_0x22e049[_0x68f397(0x205)]['proxySettings'],_0x2b93fe=_0x2b6667;const _0x771b46={'capability':_0x420f94,..._0x301aeb};_0x771b46['file']=_0x672b8,_0x771b46['args']=_0x555585,_0x771b46[_0x68f397(0x207)]=!![];const _0x2cfd1b={};_0x2cfd1b['configuration']=_0x771b46,_0x8d7dac=_0x2cfd1b,_0x2f567d[_0x68f397(0x229)](_0x414897);}else{let _0x3768ea;if(_0x59db93)_0x3768ea=helper[_0x68f397(0x211)](_0x20d683[_0x68f397(0x205)],_0x5f4be9[_0x68f397(0x20e)],0x0);else _0x3768ea=helper['modifyBrowserStackCaps'](_0x20d683[_0x68f397(0x205)],_0x5f4be9['opfkA'],0x0);const _0x38536e={};_0x38536e['server']=constants[_0x68f397(0x228)],_0x38536e[_0x68f397(0x204)]=_0x20d683['config'][_0x68f397(0x204)],_0x4e2319=_0x38536e;const _0x23cb11={'capability':_0x3768ea,..._0x4e2319};_0x23cb11[_0x68f397(0x21b)]=_0x263dc3,_0x23cb11[_0x68f397(0x209)]=_0x22a746,_0x23cb11[_0x68f397(0x207)]=!![];const _0x1d9553={};_0x1d9553['configuration']=_0x23cb11,_0x189659=_0x1d9553,_0x5c340e[_0x68f397(0x229)](_0x189659);}}const _0x453462=_0x5f4be9[_0x68f397(0x203)](_0x20d683[_0x68f397(0x205)]['platforms'][_0x68f397(0x226)]||0x1,_0x20d683[_0x68f397(0x205)][_0x68f397(0x22c)]);_0x5f4be9['zHHMU'](parallelVanillaRun,_0x5c340e,_0x453462)[_0x68f397(0x214)](_0x3c2b57=>{});}function a30_0x566f(_0x25946d,_0x260a04){const _0x51f1cf=a30_0x51f1();return a30_0x566f=function(_0x566ff9,_0x26ea7a){_0x566ff9=_0x566ff9-0x1f2;let _0x1209c8=_0x51f1cf[_0x566ff9];return _0x1209c8;},a30_0x566f(_0x25946d,_0x260a04);}module[a30_0x5149fc(0x216)]=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
+ 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;