browserstack-node-sdk 1.4.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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_0x1a6ed1=a29_0x41c0;(function(_0x875cd8,_0x24754d){const _0x366649=a29_0x41c0,_0x5314c3=_0x875cd8();while(!![]){try{const _0x5d19f1=parseInt(_0x366649(0x78))/0x1+parseInt(_0x366649(0x8c))/0x2*(parseInt(_0x366649(0x6a))/0x3)+-parseInt(_0x366649(0x91))/0x4*(-parseInt(_0x366649(0x68))/0x5)+-parseInt(_0x366649(0x74))/0x6+-parseInt(_0x366649(0x90))/0x7+parseInt(_0x366649(0x6d))/0x8*(parseInt(_0x366649(0x82))/0x9)+-parseInt(_0x366649(0x84))/0xa;if(_0x5d19f1===_0x24754d)break;else _0x5314c3['push'](_0x5314c3['shift']());}catch(_0x3a4b68){_0x5314c3['push'](_0x5314c3['shift']());}}}(a29_0x137f,0xede55));function a29_0x41c0(_0x1a7f8e,_0x47e516){const _0x137f9b=a29_0x137f();return a29_0x41c0=function(_0x41c05e,_0x45637f){_0x41c05e=_0x41c05e-0x68;let _0x1f3b24=_0x137f9b[_0x41c05e];return _0x1f3b24;},a29_0x41c0(_0x1a7f8e,_0x47e516);}function a29_0x137f(){const _0x4ddfd3=['bs:addLog:','emit','TEST_LOG','Peddn','logToTestOps','eUnin','IYXtb','1803882QxWouK','pid','INFO','level','10307402gWeGGB','97228zUcUnq','../mocha/test-observability/constants','sYeNH','395WBoASV','WJtlB','3xkdVKx','debug','toLowerCase','8IqcvrS','RJBto','logged','error','SyRfN','warn','trace','8993142yJruQI','DEBUG','WARN','UpgYh','1639732CYfsIc','winston-transport','ERROR','TRACE','message','exports','toUpperCase','BDqRn','SKewZ','ALXlj','13570155ZACcrs','maeSd','20239570NsSRhy'];a29_0x137f=function(){return _0x4ddfd3;};return a29_0x137f();}const Transport=require(a29_0x1a6ed1(0x79)),{consoleHolder}=require(a29_0x1a6ed1(0x92)),a29_0x2f228c={};a29_0x2f228c[a29_0x1a6ed1(0x8e)]=a29_0x1a6ed1(0x8e),a29_0x2f228c[a29_0x1a6ed1(0x7a)]=a29_0x1a6ed1(0x7a),a29_0x2f228c[a29_0x1a6ed1(0x75)]=a29_0x1a6ed1(0x75),a29_0x2f228c[a29_0x1a6ed1(0x7b)]=a29_0x1a6ed1(0x7b),a29_0x2f228c[a29_0x1a6ed1(0x76)]=a29_0x1a6ed1(0x76);const LOG_LEVELS=a29_0x2f228c;class logReportingAPI extends Transport{constructor(_0x269762){super(_0x269762);}['log'](_0x11bbdc,_0x55de37){const _0x4f43ce=a29_0x1a6ed1,_0x4108b1={'Peddn':_0x4f43ce(0x6f),'IYXtb':function(_0xb73618,_0x15bb1f){return _0xb73618===_0x15bb1f;},'sYeNH':'lSCJD','maeSd':_0x4f43ce(0x87),'RJBto':function(_0x53a20a,_0xcc76ff){return _0x53a20a(_0xcc76ff);},'rdnJb':function(_0x5d9703,_0x3580f1){return _0x5d9703===_0x3580f1;},'SyRfN':'object','SKewZ':_0x4f43ce(0x81),'BDqRn':_0x4f43ce(0x8a),'aOXSi':function(_0x5f4071,_0x152bb5){return _0x5f4071!==_0x152bb5;},'cZmfn':'WCZvQ','WJtlB':'fcjpH','qLzYm':function(_0x93bfba){return _0x93bfba();}};_0x4108b1[_0x4f43ce(0x6e)](setImmediate,()=>{const _0x4d1389=_0x4f43ce;_0x4108b1['IYXtb'](_0x4108b1[_0x4d1389(0x93)],_0x4108b1[_0x4d1389(0x93)])?this[_0x4d1389(0x86)](_0x4108b1[_0x4d1389(0x88)],_0x11bbdc):this[_0x4d1389(0x86)](_0x4108b1['Peddn'],_0x4c8efa);});if(_0x4108b1['rdnJb'](typeof _0x11bbdc,_0x4108b1[_0x4f43ce(0x71)])){if(_0x4108b1[_0x4f43ce(0x8b)](_0x4108b1[_0x4f43ce(0x80)],_0x4108b1[_0x4f43ce(0x7f)])){if(_0x5c8601)_0x51cbfa[_0x3d3604[_0x4f43ce(0x6c)]()](_0xc99a4d);_0x44a08a[_0x4f43ce(0x86)](_0x4f43ce(0x85)+_0x29ae2e['pid'],{'timestamp':new _0x7152ac()['toISOString'](),'level':_0x39f569[_0x4f43ce(0x7e)](),'message':_0x283397,'kind':_0x4108b1[_0x4f43ce(0x83)],'http_response':{}});}else this['logToTestOps'](_0x11bbdc[_0x4f43ce(0x8f)]||LOG_LEVELS[_0x4f43ce(0x8e)],_0x11bbdc[_0x4f43ce(0x7c)],![]);}else _0x4108b1['aOXSi'](_0x4108b1['cZmfn'],_0x4108b1[_0x4f43ce(0x69)])?this['logToTestOps'](LOG_LEVELS[_0x4f43ce(0x8e)],_0x11bbdc):this[_0x4f43ce(0x89)](_0x2f8e26[_0x4f43ce(0x7b)],_0x5856ca);if(_0x55de37)_0x4108b1['qLzYm'](_0x55de37);}[a29_0x1a6ed1(0x89)]=(_0x3044e0=LOG_LEVELS['INFO'],_0x440b84='',_0x57d349=!![])=>{const _0x38a51b=a29_0x1a6ed1,_0x367409={};_0x367409[_0x38a51b(0x77)]='TEST_LOG';const _0x5661b8=_0x367409;if(_0x57d349)consoleHolder[_0x3044e0[_0x38a51b(0x6c)]()](_0x440b84);process[_0x38a51b(0x86)](_0x38a51b(0x85)+process[_0x38a51b(0x8d)],{'timestamp':new Date()['toISOString'](),'level':_0x3044e0['toUpperCase'](),'message':_0x440b84,'kind':_0x5661b8[_0x38a51b(0x77)],'http_response':{}});};[a29_0x1a6ed1(0x73)]=(_0x3256c8,_0x3972a9)=>{const _0x591fae=a29_0x1a6ed1;this[_0x591fae(0x89)](LOG_LEVELS[_0x591fae(0x7b)],_0x3256c8);};[a29_0x1a6ed1(0x6b)]=(_0x223d85,_0x4ec0a6)=>{const _0xf686fc=a29_0x1a6ed1;this[_0xf686fc(0x89)](LOG_LEVELS[_0xf686fc(0x75)],_0x223d85);};['info']=(_0x4834d7,_0x3096d8)=>{this['logToTestOps'](LOG_LEVELS['INFO'],_0x4834d7);};[a29_0x1a6ed1(0x72)]=(_0x1c056a,_0x2be6a9)=>{const _0x185d94=a29_0x1a6ed1;this[_0x185d94(0x89)](LOG_LEVELS[_0x185d94(0x76)],_0x1c056a);};[a29_0x1a6ed1(0x70)]=(_0x52d9b3,_0x2c9c0e)=>{const _0x3612de=a29_0x1a6ed1;this[_0x3612de(0x89)](LOG_LEVELS[_0x3612de(0x7a)],_0x52d9b3);};};module[a29_0x1a6ed1(0x7d)]=logReportingAPI;
1
+ function a29_0x82cc(_0x1e24e5,_0x9f8b80){const _0x32bfe5=a29_0x32bf();return a29_0x82cc=function(_0x82cc10,_0x5d6dcc){_0x82cc10=_0x82cc10-0x8b;let _0x4f8396=_0x32bfe5[_0x82cc10];return _0x4f8396;},a29_0x82cc(_0x1e24e5,_0x9f8b80);}function a29_0x32bf(){const _0xc42a6b=['JKTnn','zycpe','TEST_LOG','level','emit','1001182qtdhfS','1390891tIqxuZ','error','logToTestOps','gnmGA','XNASJ','logged','TRACE','adeGm','info','12930976GxcxFo','winston-transport','trace','message','DEBUG','2375964HshHOK','4298940IvLjnB','ERROR','INFO','tOryp','log','VHFaV','bs:addLog:','exports','btSgT','pid','bLddP','toLowerCase','Vtzhb','../mocha/test-observability/constants','2584086DLkYdK','WARN','toUpperCase','7UNGlTs','EpBKd','6518085hRkJTt','object'];a29_0x32bf=function(){return _0xc42a6b;};return a29_0x32bf();}const a29_0x46dfdc=a29_0x82cc;(function(_0x1c53fe,_0x6d5f27){const _0xa6ffab=a29_0x82cc,_0x30649e=_0x1c53fe();while(!![]){try{const _0x35f669=parseInt(_0xa6ffab(0xac))/0x1+-parseInt(_0xa6ffab(0xab))/0x2+parseInt(_0xa6ffab(0x90))/0x3+-parseInt(_0xa6ffab(0x91))/0x4+parseInt(_0xa6ffab(0xa4))/0x5+-parseInt(_0xa6ffab(0x9f))/0x6*(-parseInt(_0xa6ffab(0xa2))/0x7)+-parseInt(_0xa6ffab(0x8b))/0x8;if(_0x35f669===_0x6d5f27)break;else _0x30649e['push'](_0x30649e['shift']());}catch(_0x4cd98b){_0x30649e['push'](_0x30649e['shift']());}}}(a29_0x32bf,0xb11e7));const Transport=require(a29_0x46dfdc(0x8c)),{consoleHolder}=require(a29_0x46dfdc(0x9e)),a29_0x405c70={};a29_0x405c70[a29_0x46dfdc(0x93)]=a29_0x46dfdc(0x93),a29_0x405c70[a29_0x46dfdc(0x92)]=a29_0x46dfdc(0x92),a29_0x405c70['DEBUG']=a29_0x46dfdc(0x8f),a29_0x405c70['TRACE']=a29_0x46dfdc(0xb2),a29_0x405c70['WARN']=a29_0x46dfdc(0xa0);const LOG_LEVELS=a29_0x405c70;class logReportingAPI extends Transport{constructor(_0x28c5d3){super(_0x28c5d3);}[a29_0x46dfdc(0x95)](_0xaba63c,_0x40e9d1){const _0x442c42=a29_0x46dfdc,_0x219a50={'adeGm':function(_0x2b4ffe,_0x262eae){return _0x2b4ffe===_0x262eae;},'XNASJ':_0x442c42(0x9d),'VNGpe':_0x442c42(0xb1),'bLddP':function(_0x21de00,_0x42c421){return _0x21de00(_0x42c421);},'EpBKd':function(_0x1bd813,_0x13ba8b){return _0x1bd813===_0x13ba8b;},'qknOL':_0x442c42(0xa5),'mNfyB':function(_0x5233ce,_0x5b0dbf){return _0x5233ce===_0x5b0dbf;},'JKTnn':'nQoac','btSgT':function(_0x11a11f,_0x42fb57){return _0x11a11f!==_0x42fb57;},'gnmGA':_0x442c42(0xa7),'VHFaV':function(_0x552b62){return _0x552b62();}};_0x219a50[_0x442c42(0x9b)](setImmediate,()=>{const _0x5606b2=_0x442c42;_0x219a50[_0x5606b2(0xb3)](_0x219a50[_0x5606b2(0xb0)],_0x219a50['XNASJ'])?this['emit'](_0x219a50['VNGpe'],_0xaba63c):this[_0x5606b2(0xae)](_0x4b9c17['level']||_0x122b24[_0x5606b2(0x93)],_0x2805f8[_0x5606b2(0x8e)],![]);});_0x219a50[_0x442c42(0xa3)](typeof _0xaba63c,_0x219a50['qknOL'])?_0x219a50['mNfyB'](_0x219a50[_0x442c42(0xa6)],_0x219a50[_0x442c42(0xa6)])?this[_0x442c42(0xae)](_0xaba63c[_0x442c42(0xa9)]||LOG_LEVELS[_0x442c42(0x93)],_0xaba63c['message'],![]):this[_0x442c42(0xae)](_0x16b718[_0x442c42(0x93)],_0x178b02):_0x219a50[_0x442c42(0x99)](_0x219a50[_0x442c42(0xaf)],_0x219a50[_0x442c42(0xaf)])?this[_0x442c42(0xae)](_0x3da36c[_0x442c42(0x8f)],_0x56889b):this[_0x442c42(0xae)](LOG_LEVELS[_0x442c42(0x93)],_0xaba63c);if(_0x40e9d1)_0x219a50[_0x442c42(0x96)](_0x40e9d1);}[a29_0x46dfdc(0xae)]=(_0x3abb0c=LOG_LEVELS[a29_0x46dfdc(0x93)],_0x391899='',_0x13b6d8=!![])=>{const _0x1e3c81=a29_0x46dfdc,_0x12d1bc={};_0x12d1bc[_0x1e3c81(0x94)]=_0x1e3c81(0xa8);const _0x21f3ee=_0x12d1bc;if(_0x13b6d8)consoleHolder[_0x3abb0c[_0x1e3c81(0x9c)]()](_0x391899);process[_0x1e3c81(0xaa)](_0x1e3c81(0x97)+process[_0x1e3c81(0x9a)],{'timestamp':new Date()['toISOString'](),'level':_0x3abb0c[_0x1e3c81(0xa1)](),'message':_0x391899,'kind':_0x21f3ee[_0x1e3c81(0x94)],'http_response':{}});};[a29_0x46dfdc(0x8d)]=(_0x3fc47e,_0xb52465)=>{const _0x4528a0=a29_0x46dfdc;this[_0x4528a0(0xae)](LOG_LEVELS['TRACE'],_0x3fc47e);};['debug']=(_0x1969e5,_0x53bafb)=>{const _0x5e03f3=a29_0x46dfdc;this[_0x5e03f3(0xae)](LOG_LEVELS[_0x5e03f3(0x8f)],_0x1969e5);};[a29_0x46dfdc(0xb4)]=(_0x2ac9e2,_0x5c8689)=>{const _0x3a87a3=a29_0x46dfdc;this[_0x3a87a3(0xae)](LOG_LEVELS[_0x3a87a3(0x93)],_0x2ac9e2);};['warn']=(_0x39d6af,_0x27d862)=>{const _0x123a41=a29_0x46dfdc;this[_0x123a41(0xae)](LOG_LEVELS['WARN'],_0x39d6af);};[a29_0x46dfdc(0xad)]=(_0x47c463,_0x376a43)=>{const _0x3ee275=a29_0x46dfdc;this[_0x3ee275(0xae)](LOG_LEVELS[_0x3ee275(0x92)],_0x47c463);};};module[a29_0x46dfdc(0x98)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a30_0x1fd0b3=a30_0x12d8;(function(_0x341639,_0x375894){const _0x1bed9e=a30_0x12d8,_0x14c144=_0x341639();while(!![]){try{const _0x3c9da3=-parseInt(_0x1bed9e(0x7d))/0x1*(parseInt(_0x1bed9e(0x98))/0x2)+parseInt(_0x1bed9e(0x86))/0x3+-parseInt(_0x1bed9e(0x6d))/0x4*(parseInt(_0x1bed9e(0x87))/0x5)+parseInt(_0x1bed9e(0x7e))/0x6*(-parseInt(_0x1bed9e(0x8c))/0x7)+-parseInt(_0x1bed9e(0x7f))/0x8+-parseInt(_0x1bed9e(0x91))/0x9+parseInt(_0x1bed9e(0x76))/0xa;if(_0x3c9da3===_0x375894)break;else _0x14c144['push'](_0x14c144['shift']());}catch(_0x2c7014){_0x14c144['push'](_0x14c144['shift']());}}}(a30_0x2bdb,0x46d71));function a30_0x2bdb(){const _0x151d67=['buRnQ','839052AqOhpE','modifyBrowserStackW3CCaps','\x20doesn\x27t\x20exist','existsSync','forEach','QCAlY','uagdD','556uMlPBX','proxySettings','merge','configuration','xHbHF','iksbk','args','sTmcQ','VHltB','RmInr','GvlRM','PCbhr','File\x20path\x20is\x20required','gmPeO','LZiVa','rNlIs','useW3C','getPlatformName','length','../../helpers/helper','56524uvhRMV','modifyBrowserStackCaps','IQXHp','push','File\x20','exports','XHUgj','then','Jfsql','12443900szAxTP','../../helpers/BrowserStackSetup','iFpMj','Config\x20yml\x20is\x20required','jrRRD','vIAZe','file','107ecubil','122442yoZUYV','3591856nJSDgc','KImUe','../utils/constants','parallelsPerPlatform','config','cwd','hAQhZ','741798OWSLWv','100ISERLl','AiTAU','UvNVg','server','platforms','119UlMFzV','join','vsUnS','hubUrl'];a30_0x2bdb=function(){return _0x151d67;};return a30_0x2bdb();}function a30_0x12d8(_0x45df6e,_0x47bf14){const _0x2bdb3a=a30_0x2bdb();return a30_0x12d8=function(_0x12d8c8,_0x413a0b){_0x12d8c8=_0x12d8c8-0x6d;let _0x153e0c=_0x2bdb3a[_0x12d8c8];return _0x153e0c;},a30_0x12d8(_0x45df6e,_0x47bf14);}const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x1fd0b3(0x77)),helper=require(a30_0x1fd0b3(0xab)),constants=require(a30_0x1fd0b3(0x81)),{parallelVanillaRun}=require('../test-runner');async function run(_0x2b10aa){const _0x25f2a4=a30_0x1fd0b3,_0x514b5a={'iFpMj':'vanilla','iksbk':function(_0x39c18b,_0x5d8803){return _0x39c18b!==_0x5d8803;},'XHUgj':_0x25f2a4(0xa5),'QCAlY':_0x25f2a4(0x89),'KImUe':_0x25f2a4(0x90),'AiTAU':function(_0x4a7296,_0x2b4bd5){return _0x4a7296(_0x2b4bd5);},'PCbhr':_0x25f2a4(0xa4),'IQXHp':_0x25f2a4(0x79),'vsUnS':function(_0x19a636,_0x26938b){return _0x19a636>_0x26938b;},'hAQhZ':function(_0x295664,_0x11f6c7){return _0x295664===_0x11f6c7;},'RmInr':_0x25f2a4(0xa0),'xHbHF':_0x25f2a4(0xa6),'sTmcQ':function(_0xfa809f,_0x32e688){return _0xfa809f>_0x32e688;},'jrRRD':function(_0x3a9897,_0x3a10c5){return _0x3a9897===_0x3a10c5;},'naMfq':_0x25f2a4(0x7b),'OGsOT':'yHrKE','qzGzE':function(_0x19f2df,_0x5cfe22){return _0x19f2df===_0x5cfe22;},'Jfsql':_0x25f2a4(0x97),'lYBgL':function(_0x17aa86,_0x5b78a8){return _0x17aa86*_0x5b78a8;},'GvlRM':function(_0x58c224,_0x4b4b14,_0x1ad6ad){return _0x58c224(_0x4b4b14,_0x1ad6ad);}},_0x12162c=new BrowserStackSetup();let _0x488149=[];if(helper['isUndefined'](_0x2b10aa['_'][0x1]))throw _0x514b5a[_0x25f2a4(0x88)](Error,_0x514b5a[_0x25f2a4(0xa3)]);const _0x544ea2=path[_0x25f2a4(0x8d)](process[_0x25f2a4(0x84)](),_0x2b10aa['_'][0x1]);if(!fs[_0x25f2a4(0x94)](_0x544ea2))throw _0x514b5a[_0x25f2a4(0x88)](Error,_0x25f2a4(0x71)+_0x2b10aa['_'][0x1]+_0x25f2a4(0x93));if(!_0x12162c['config'])throw _0x514b5a[_0x25f2a4(0x88)](Error,_0x514b5a[_0x25f2a4(0x6f)]);let _0x2949d2=helper[_0x25f2a4(0xa8)](_0x12162c[_0x25f2a4(0x83)]);if(_0x12162c['config'][_0x25f2a4(0x8b)]&&_0x514b5a[_0x25f2a4(0x8e)](_0x12162c[_0x25f2a4(0x83)][_0x25f2a4(0x8b)]['length'],0x0)){if(_0x514b5a[_0x25f2a4(0x85)](_0x514b5a[_0x25f2a4(0xa1)],_0x514b5a[_0x25f2a4(0x9c)])){if(_0x12ea8b)_0x538d2b[_0x25f2a4(0x70)](_0x4489a7[_0x25f2a4(0x92)](_0x50a498[_0x25f2a4(0x83)],_0x514b5a[_0x25f2a4(0x78)],_0x240b5e));else _0x4c119f['push'](_0xa2a677[_0x25f2a4(0x6e)](_0x308937[_0x25f2a4(0x83)],_0x514b5a[_0x25f2a4(0x78)],_0x178ca0));}else _0x12162c['config'][_0x25f2a4(0x8b)]['forEach']((_0x3b310b,_0x333e44)=>{const _0x3848c3=_0x25f2a4;if(_0x514b5a[_0x3848c3(0x9d)](_0x514b5a[_0x3848c3(0x73)],_0x514b5a[_0x3848c3(0x96)])){if(_0x2949d2)_0x488149[_0x3848c3(0x70)](helper[_0x3848c3(0x92)](_0x12162c[_0x3848c3(0x83)],_0x514b5a[_0x3848c3(0x78)],_0x333e44));else _0x488149['push'](helper[_0x3848c3(0x6e)](_0x12162c[_0x3848c3(0x83)],_0x514b5a['iFpMj'],_0x333e44));}else{_0x949a1b={'server':_0x21cc0d[_0x3848c3(0x8f)],'proxySettings':_0x14bf47[_0x3848c3(0x83)][_0x3848c3(0x99)],'platform':_0x1e0224[_0x3848c3(0xa9)](_0x5e0baf)};const _0x1bc6c9={'capability':_0x59d8c6,..._0x4b70b8};_0x1bc6c9['file']=_0x2b82eb,_0x1bc6c9[_0x3848c3(0x9e)]=_0x494c83;const _0x527c5d={};_0x527c5d[_0x3848c3(0x9b)]=_0x1bc6c9,_0x1d4744=_0x527c5d,_0x470dcf[_0x3848c3(0x70)](_0x4034d3);}});}let _0x181a90,_0x4088f6;const _0x4af8d1=[];if(_0x514b5a[_0x25f2a4(0x9f)](_0x488149[_0x25f2a4(0xaa)],0x0))_0x514b5a[_0x25f2a4(0x7a)](_0x514b5a['naMfq'],_0x514b5a['OGsOT'])?_0x30ed71[_0x25f2a4(0x95)](_0x41333e=>{const _0x2d0a71=_0x25f2a4;_0x39de32={'server':_0x43ff08[_0x2d0a71(0x8f)],'proxySettings':_0x4713fc[_0x2d0a71(0x83)][_0x2d0a71(0x99)],'platform':_0x5a1382[_0x2d0a71(0xa9)](_0x41333e)};const _0x25c7d5={'capability':_0x41333e,..._0x38f380};_0x25c7d5['file']=_0x3d797b,_0x25c7d5[_0x2d0a71(0x9e)]=_0xf0d28b;const _0x319fc6={};_0x319fc6['configuration']=_0x25c7d5,_0x4c094f=_0x319fc6,_0x4dd9bb[_0x2d0a71(0x70)](_0x2bcbbc);}):_0x488149[_0x25f2a4(0x95)](_0x5c6c0a=>{const _0x10f901=_0x25f2a4;if(_0x514b5a[_0x10f901(0x9d)](_0x514b5a[_0x10f901(0x80)],_0x514b5a[_0x10f901(0x80)])){let _0x1ea168;if(_0x264853)_0x1ea168=_0x3a91be[_0x10f901(0x92)](_0xd6aa44['config'],_0x514b5a[_0x10f901(0x78)],0x0);else _0x1ea168=_0x1e4400['modifyBrowserStackCaps'](_0x5b308d[_0x10f901(0x83)],_0x514b5a['iFpMj'],0x0);const _0x509b28={};_0x509b28['server']=_0x41a80c[_0x10f901(0x8f)],_0x509b28[_0x10f901(0x99)]=_0x9d6887[_0x10f901(0x83)][_0x10f901(0x99)],_0xf77501=_0x509b28;const _0x1371f0={'capability':_0x1ea168,..._0x2e4d66};_0x1371f0[_0x10f901(0x7c)]=_0x5d3043,_0x1371f0[_0x10f901(0x9e)]=_0x25dbd1,_0x1371f0['merge']=!![];const _0x443a83={};_0x443a83['configuration']=_0x1371f0,_0x472e91=_0x443a83,_0x51c51c[_0x10f901(0x70)](_0x2c3db3);}else{_0x181a90={'server':constants['hubUrl'],'proxySettings':_0x12162c[_0x10f901(0x83)][_0x10f901(0x99)],'platform':helper[_0x10f901(0xa9)](_0x5c6c0a)};const _0xc559be={'capability':_0x5c6c0a,..._0x181a90};_0xc559be[_0x10f901(0x7c)]=_0x544ea2,_0xc559be[_0x10f901(0x9e)]=_0x2b10aa;const _0x19e3aa={};_0x19e3aa[_0x10f901(0x9b)]=_0xc559be,_0x4088f6=_0x19e3aa,_0x4af8d1[_0x10f901(0x70)](_0x4088f6);}});else{if(_0x514b5a['qzGzE'](_0x514b5a[_0x25f2a4(0x75)],_0x514b5a['Jfsql'])){let _0x1cfb7f;if(_0x2949d2)_0x1cfb7f=helper['modifyBrowserStackW3CCaps'](_0x12162c[_0x25f2a4(0x83)],_0x514b5a[_0x25f2a4(0x78)],0x0);else _0x1cfb7f=helper['modifyBrowserStackCaps'](_0x12162c[_0x25f2a4(0x83)],_0x514b5a[_0x25f2a4(0x78)],0x0);const _0x12723a={};_0x12723a[_0x25f2a4(0x8a)]=constants[_0x25f2a4(0x8f)],_0x12723a['proxySettings']=_0x12162c[_0x25f2a4(0x83)][_0x25f2a4(0x99)],_0x181a90=_0x12723a;const _0x580f9a={'capability':_0x1cfb7f,..._0x181a90};_0x580f9a['file']=_0x544ea2,_0x580f9a['args']=_0x2b10aa,_0x580f9a[_0x25f2a4(0x9a)]=!![];const _0x4fe0ec={};_0x4fe0ec['configuration']=_0x580f9a,_0x4088f6=_0x4fe0ec,_0x4af8d1[_0x25f2a4(0x70)](_0x4088f6);}else{const _0x540084={};_0x540084['rNlIs']=_0x514b5a[_0x25f2a4(0x78)];const _0x32a52e=_0x540084;_0x494cbf['config'][_0x25f2a4(0x8b)]['forEach']((_0x1c8c5b,_0x3785ad)=>{const _0x4dd268=_0x25f2a4;if(_0x1e6f73)_0x4fff32[_0x4dd268(0x70)](_0x1f31dd[_0x4dd268(0x92)](_0x19e97f[_0x4dd268(0x83)],_0x32a52e[_0x4dd268(0xa7)],_0x3785ad));else _0x144f5f[_0x4dd268(0x70)](_0x2a0b32[_0x4dd268(0x6e)](_0x22af12[_0x4dd268(0x83)],_0x32a52e['rNlIs'],_0x3785ad));});}}const _0x36b7c3=_0x514b5a['lYBgL'](_0x12162c[_0x25f2a4(0x83)][_0x25f2a4(0x8b)][_0x25f2a4(0xaa)]||0x1,_0x12162c[_0x25f2a4(0x83)][_0x25f2a4(0x82)]);_0x514b5a[_0x25f2a4(0xa2)](parallelVanillaRun,_0x4af8d1,_0x36b7c3)[_0x25f2a4(0x74)](_0x4cb2f9=>{});}module[a30_0x1fd0b3(0x72)]=run;
2
+ 'use strict';function a30_0x155a(_0x4ffcb3,_0x20f8a2){const _0x2371de=a30_0x2371();return a30_0x155a=function(_0x155a7c,_0x2253e4){_0x155a7c=_0x155a7c-0x128;let _0x403388=_0x2371de[_0x155a7c];return _0x403388;},a30_0x155a(_0x4ffcb3,_0x20f8a2);}const a30_0x4927c5=a30_0x155a;(function(_0x43a20a,_0x1ad050){const _0x10f75e=a30_0x155a,_0x21a39d=_0x43a20a();while(!![]){try{const _0xcf82b0=-parseInt(_0x10f75e(0x13d))/0x1*(parseInt(_0x10f75e(0x15b))/0x2)+parseInt(_0x10f75e(0x131))/0x3*(parseInt(_0x10f75e(0x163))/0x4)+parseInt(_0x10f75e(0x154))/0x5*(-parseInt(_0x10f75e(0x14e))/0x6)+-parseInt(_0x10f75e(0x147))/0x7*(parseInt(_0x10f75e(0x135))/0x8)+-parseInt(_0x10f75e(0x13b))/0x9+-parseInt(_0x10f75e(0x130))/0xa*(-parseInt(_0x10f75e(0x134))/0xb)+parseInt(_0x10f75e(0x161))/0xc;if(_0xcf82b0===_0x1ad050)break;else _0x21a39d['push'](_0x21a39d['shift']());}catch(_0x259e04){_0x21a39d['push'](_0x21a39d['shift']());}}}(a30_0x2371,0x8bee0));const fs=require('fs'),{default:BrowserStackSetup}=require(a30_0x4927c5(0x152)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),{parallelVanillaRun}=require(a30_0x4927c5(0x12a));async function run(_0x251996,_0x37774c){const _0x2089ad=a30_0x4927c5,_0x481451={'NXqTX':_0x2089ad(0x145),'CEkTR':function(_0x8a0cdb,_0x3bdc87){return _0x8a0cdb!==_0x3bdc87;},'jlbIO':_0x2089ad(0x150),'Froar':_0x2089ad(0x157),'phxlU':function(_0x4e01dc,_0x3a2637){return _0x4e01dc!==_0x3a2637;},'aIwDC':'nbmoj','aDxyI':_0x2089ad(0x14f),'ycnln':function(_0x10aa3b,_0x52418d){return _0x10aa3b(_0x52418d);},'Vsaht':_0x2089ad(0x164),'zYLHu':function(_0x520e35,_0x157f32){return _0x520e35(_0x157f32);},'pTHnZ':function(_0x367ea0,_0x40a637){return _0x367ea0(_0x40a637);},'Iclmm':'Config\x20yml\x20is\x20required','gjUin':function(_0x545d44,_0x23cee3){return _0x545d44>_0x23cee3;},'TIIci':function(_0x2a2f65,_0x852dc6){return _0x2a2f65===_0x852dc6;},'rmqaG':_0x2089ad(0x15f),'JznPq':_0x2089ad(0x12c),'nGgfF':'ZSFSx','NZeeu':'qTRft','FQaCl':function(_0x50fc7d,_0x5b4374){return _0x50fc7d*_0x5b4374;},'lXfjY':function(_0x4bbeb8,_0x2d0d87,_0x7a521f){return _0x4bbeb8(_0x2d0d87,_0x7a521f);}},_0x2e5367=new BrowserStackSetup(_0x251996);let _0x34e5b2=[];if(helper[_0x2089ad(0x146)](_0x251996['_'][0x1]))throw _0x481451[_0x2089ad(0x15c)](Error,_0x481451[_0x2089ad(0x129)]);const _0x22c43d=path[_0x2089ad(0x14a)](process[_0x2089ad(0x15d)](),_0x251996['_'][0x1]);if(!fs[_0x2089ad(0x13c)](_0x22c43d))throw _0x481451[_0x2089ad(0x148)](Error,'File\x20'+_0x251996['_'][0x1]+_0x2089ad(0x155));if(!_0x2e5367['config'])throw _0x481451[_0x2089ad(0x143)](Error,_0x481451[_0x2089ad(0x153)]);let _0x3695c4=helper[_0x2089ad(0x156)](_0x2e5367[_0x2089ad(0x15a)]);if(_0x2e5367[_0x2089ad(0x15a)][_0x2089ad(0x132)]&&_0x481451['gjUin'](_0x2e5367[_0x2089ad(0x15a)]['platforms'][_0x2089ad(0x137)],0x0)){if(_0x481451['TIIci'](_0x481451[_0x2089ad(0x144)],_0x481451[_0x2089ad(0x12f)])){if(_0x3af5d3)_0x2c3e22[_0x2089ad(0x158)](_0x402c3d['modifyBrowserStackW3CCaps'](_0xf6fb79[_0x2089ad(0x15a)],_0x481451[_0x2089ad(0x12b)],_0x384257));else _0x1fec88[_0x2089ad(0x158)](_0x2569cc[_0x2089ad(0x12d)](_0x18bc3b[_0x2089ad(0x15a)],_0x481451[_0x2089ad(0x12b)],_0x4bd2e5));}else _0x2e5367[_0x2089ad(0x15a)][_0x2089ad(0x132)]['forEach']((_0x217988,_0x4fe7a2)=>{const _0x2c02a4=_0x2089ad,_0xcfd58d={};_0xcfd58d[_0x2c02a4(0x14b)]=_0x481451[_0x2c02a4(0x12b)];const _0x1b9443=_0xcfd58d;if(_0x481451['CEkTR'](_0x481451['jlbIO'],_0x481451[_0x2c02a4(0x128)])){if(_0x3695c4)_0x34e5b2[_0x2c02a4(0x158)](helper[_0x2c02a4(0x141)](_0x2e5367[_0x2c02a4(0x15a)],_0x481451[_0x2c02a4(0x12b)],_0x4fe7a2));else _0x34e5b2[_0x2c02a4(0x158)](helper[_0x2c02a4(0x12d)](_0x2e5367['config'],_0x481451['NXqTX'],_0x4fe7a2));}else{const _0xe77efe={};_0xe77efe['wNtwE']=_0x1b9443['ASwNy'];const _0x2f2ced=_0xe77efe;_0x1fab74[_0x2c02a4(0x15a)][_0x2c02a4(0x132)][_0x2c02a4(0x159)]((_0x259e2e,_0x5a02f5)=>{const _0x432272=_0x2c02a4;if(_0x2d20b7)_0x2a49c1[_0x432272(0x158)](_0x49d93a[_0x432272(0x141)](_0x3a9cd8[_0x432272(0x15a)],_0x2f2ced['wNtwE'],_0x5a02f5));else _0x22648f[_0x432272(0x158)](_0x3baadb[_0x432272(0x12d)](_0x468f10[_0x432272(0x15a)],_0x2f2ced['wNtwE'],_0x5a02f5));});}});}let _0x217b88,_0x5b03e2;const _0x4c9554=[];if(_0x481451['gjUin'](_0x34e5b2[_0x2089ad(0x137)],0x0))_0x481451[_0x2089ad(0x140)](_0x481451[_0x2089ad(0x13f)],_0x481451['nGgfF'])?_0x14243e[_0x2089ad(0x159)](_0x42668a=>{const _0x4f6cb0=_0x2089ad;_0x28e4c9={'server':_0x5620fb['hubUrl'],'proxySettings':_0x1c989c[_0x4f6cb0(0x15a)][_0x4f6cb0(0x160)],'platform':_0x5b075b[_0x4f6cb0(0x142)](_0x42668a)};const _0x34cb8c={'capability':_0x42668a,..._0x34a7d8};_0x34cb8c[_0x4f6cb0(0x136)]=_0x57c133,_0x34cb8c[_0x4f6cb0(0x13e)]=_0x52a7e0;const _0x114871={};_0x114871['configuration']=_0x34cb8c,_0x21aa7d=_0x114871,_0x1aa3b6['push'](_0x55b02d);}):_0x34e5b2['forEach'](_0x219772=>{const _0x3c788e=_0x2089ad,_0x62c962={};_0x62c962[_0x3c788e(0x139)]=_0x481451[_0x3c788e(0x12b)];const _0x1a32ab=_0x62c962;if(_0x481451[_0x3c788e(0x14d)](_0x481451[_0x3c788e(0x138)],_0x481451[_0x3c788e(0x14c)])){_0x217b88={'server':constants[_0x3c788e(0x15e)],'proxySettings':_0x2e5367['config']['proxySettings'],'platform':helper[_0x3c788e(0x142)](_0x219772)};const _0x58003d={'capability':_0x219772,..._0x217b88};_0x58003d[_0x3c788e(0x136)]=_0x22c43d,_0x58003d[_0x3c788e(0x13e)]=_0x37774c;const _0x443301={};_0x443301[_0x3c788e(0x162)]=_0x58003d,_0x5b03e2=_0x443301,_0x4c9554[_0x3c788e(0x158)](_0x5b03e2);}else{let _0x2c9ca9;if(_0x59403e)_0x2c9ca9=_0x2ca8d0[_0x3c788e(0x141)](_0x55258e[_0x3c788e(0x15a)],_0x1a32ab[_0x3c788e(0x139)],0x0);else _0x2c9ca9=_0x54b655['modifyBrowserStackCaps'](_0x1592ff[_0x3c788e(0x15a)],_0x1a32ab[_0x3c788e(0x139)],0x0);const _0x357c4c={};_0x357c4c[_0x3c788e(0x149)]=_0x1c5cc7[_0x3c788e(0x15e)],_0x357c4c[_0x3c788e(0x160)]=_0xd6579b[_0x3c788e(0x15a)]['proxySettings'],_0x1e6e32=_0x357c4c;const _0x56df87={'capability':_0x2c9ca9,..._0x396cf3};_0x56df87['file']=_0x2f2a3c,_0x56df87[_0x3c788e(0x13e)]=_0x1a8110,_0x56df87[_0x3c788e(0x133)]=!![];const _0x484ed5={};_0x484ed5[_0x3c788e(0x162)]=_0x56df87,_0x379a18=_0x484ed5,_0x369e2e[_0x3c788e(0x158)](_0x23e005);}});else{if(_0x481451['TIIci'](_0x481451['NZeeu'],_0x481451['NZeeu'])){let _0x3622bb;if(_0x3695c4)_0x3622bb=helper[_0x2089ad(0x141)](_0x2e5367[_0x2089ad(0x15a)],_0x481451['NXqTX'],0x0);else _0x3622bb=helper['modifyBrowserStackCaps'](_0x2e5367[_0x2089ad(0x15a)],_0x481451[_0x2089ad(0x12b)],0x0);const _0xd78f6={};_0xd78f6[_0x2089ad(0x149)]=constants[_0x2089ad(0x15e)],_0xd78f6[_0x2089ad(0x160)]=_0x2e5367[_0x2089ad(0x15a)]['proxySettings'],_0x217b88=_0xd78f6;const _0x27bf4f={'capability':_0x3622bb,..._0x217b88};_0x27bf4f[_0x2089ad(0x136)]=_0x22c43d,_0x27bf4f[_0x2089ad(0x13e)]=_0x37774c,_0x27bf4f[_0x2089ad(0x133)]=!![];const _0x565a74={};_0x565a74[_0x2089ad(0x162)]=_0x27bf4f,_0x5b03e2=_0x565a74,_0x4c9554['push'](_0x5b03e2);}else{_0x29bdea={'server':_0x49fb4d['hubUrl'],'proxySettings':_0x318e8f['config'][_0x2089ad(0x160)],'platform':_0x31888e['getPlatformName'](_0x1a2785)};const _0x5daf05={'capability':_0x2f8840,..._0xbaa723};_0x5daf05[_0x2089ad(0x136)]=_0x2dd487,_0x5daf05[_0x2089ad(0x13e)]=_0x4dd8d4;const _0x57ae45={};_0x57ae45[_0x2089ad(0x162)]=_0x5daf05,_0x1031d7=_0x57ae45,_0x42dc88[_0x2089ad(0x158)](_0x6cd52c);}}const _0x28a8eb=_0x481451['FQaCl'](_0x2e5367['config'][_0x2089ad(0x132)][_0x2089ad(0x137)]||0x1,_0x2e5367[_0x2089ad(0x15a)][_0x2089ad(0x12e)]);_0x481451['lXfjY'](parallelVanillaRun,_0x4c9554,_0x28a8eb)[_0x2089ad(0x151)](async _0x52f990=>{const _0x3098d3=_0x2089ad;await helper[_0x3098d3(0x13a)](_0x2e5367[_0x3098d3(0x15a)]);});}function a30_0x2371(){const _0x2f8381=['NXqTX','Bihkf','modifyBrowserStackCaps','parallelsPerPlatform','JznPq','6072710JUuAhm','1482GcajjH','platforms','merge','11PSgUfq','1971224GohFjJ','file','length','aIwDC','Jklay','finalExecution','5581224hXbXOl','existsSync','33767YZFGoS','args','nGgfF','CEkTR','modifyBrowserStackW3CCaps','getPlatformName','pTHnZ','rmqaG','vanilla','isUndefined','28WqXEIp','zYLHu','server','join','ASwNy','aDxyI','phxlU','6XypVtx','elHNM','nnThB','then','../../helpers/BrowserStackSetup','Iclmm','1942235KVAZcS','\x20doesn\x27t\x20exist','useW3C','oTrai','push','forEach','config','6caytkE','ycnln','cwd','hubUrl','KgStN','proxySettings','16870068pdtAqu','configuration','5308FLXioW','File\x20path\x20is\x20required','Froar','Vsaht','../test-runner'];a30_0x2371=function(){return _0x2f8381;};return a30_0x2371();}module['exports']=run;
@@ -1 +1 @@
1
- const a31_0x1bea92=a31_0x3f38;(function(_0x4faa7e,_0x4a67d4){const _0x53f163=a31_0x3f38,_0x37e28f=_0x4faa7e();while(!![]){try{const _0x166689=-parseInt(_0x53f163(0x122))/0x1*(parseInt(_0x53f163(0x11b))/0x2)+-parseInt(_0x53f163(0x120))/0x3+-parseInt(_0x53f163(0xfc))/0x4+parseInt(_0x53f163(0xfe))/0x5+parseInt(_0x53f163(0x106))/0x6+-parseInt(_0x53f163(0x164))/0x7*(-parseInt(_0x53f163(0x15d))/0x8)+parseInt(_0x53f163(0xee))/0x9;if(_0x166689===_0x4a67d4)break;else _0x37e28f['push'](_0x37e28f['shift']());}catch(_0x3f1841){_0x37e28f['push'](_0x37e28f['shift']());}}}(a31_0x291b,0xc8909));function a31_0x3f38(_0x213af7,_0x21de9b){const _0x291bb1=a31_0x291b();return a31_0x3f38=function(_0x3f3884,_0x2aa92c){_0x3f3884=_0x3f3884-0xe7;let _0x138b0d=_0x291bb1[_0x3f3884];return _0x138b0d;},a31_0x3f38(_0x213af7,_0x21de9b);}const logger=require(a31_0x1bea92(0x123))[a31_0x1bea92(0x168)],helper=require(a31_0x1bea92(0x171)),{isBrowserstackInfra}=require(a31_0x1bea92(0x135));function a31_0x291b(){const _0x2c46f0=['uncaughtException','browserStackLocalOptions','config','bfRge','oyzNi','CVriQ','./setKeepAlive','fAAVt','OzGjZ','setLogLevel','SIGINT','Local\x20binary\x20stopped','ROeUU','zZcbx','unhandledRejection','lrVrz','149878AlBGzN','JoZFI','constructor','setupKeepAlive','VjBAx','3310089enGNsP','generateLocalIdentifier','19doHCJb','./logger','BROWSERSTACK_LOCAL','getLocalIdentifier','SLfmz','Bidgp','debug','getUserName','message','getConfigPath','fsWjt','parallelsPerPlatform','tinFC','qzEan','RrySU','qqMbG','UMZns','zeiYP','fBxDl','../bin/mocha/test-observability/helper','useW3C','LOyvd','kcWGP','RBXlK','WaCec','handleExceptions','localOptions','EkoLG','vMQgS','qumeT','NwLLX','setupBrowserstackLocal','SJSIy','info','isRunning','length','default','FNBmJ','PcLWk','avsBU','WvGlO','JXZOJ','YJGoh','ZiIsF','TtOfE','uPZhy','Local\x20binary\x20started\x20successfully','pZGTl','nGOKW','zfRTn','isUndefined','userName\x20or\x20accessKey\x20is\x20not\x20defined','getLocalConfig','gpILZ','stopLocalBinary','SIGTERM','error','SkApf','iPvvA','3979928atCHHY','JEYIM','startLocalBinarySync','xUKUY','OcQJE','Error\x20occured\x20while\x20stopping\x20local\x20binary','tHFhA','21QWMmEF','platforms','MvSeu','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','winstonLogger','flGWo','qlAQk','selenium-webdriver','qIzEN','DOdlN','arigZ','OkUAE','warn','./helper','toString','browserstackLocal','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','cCFug','LTFzM','cjcvZ','yWCQT','24306777nLhala','ebsvQ','abwgX','BWmIA','ZrdNk','mAmAg','tCgUq','iiSqu','setProxySettings','localIdentifier','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','isiFF','lwCGn','cHNCM','5504900ejxBRj','JeomX','1883835lgxZgT','Qtabv','env','peRwt','getPackageVersion','cpzff','WGIMG','stopBrowserstackLocal','929694YSlvve','AfVTC','HLPVN','ScDjt','lllPr'];a31_0x291b=function(){return _0x2c46f0;};return a31_0x291b();}class BrowserStackSetup{constructor(){const _0x3da0cb=a31_0x1bea92,_0x2cb06e={'JoZFI':'Error\x20occured\x20while\x20stopping\x20local\x20binary','zZcbx':function(_0x4f5aea,_0x528f5e){return _0x4f5aea!==_0x528f5e;},'WaCec':_0x3da0cb(0x167),'jXRte':function(_0x4476a9,_0x80d187){return _0x4476a9(_0x80d187);},'JEYIM':'./setKeepAlive','iiSqu':_0x3da0cb(0xf8),'cpzff':_0x3da0cb(0xe9),'RrySU':function(_0x3fff97,_0x216809){return _0x3fff97===_0x216809;},'ebsvQ':function(_0x561fa7){return _0x561fa7();},'fsntX':function(_0x38790d,_0x52879e){return _0x38790d<_0x52879e;},'tHFhA':function(_0x4308d9,_0x4fa593){return _0x4308d9(_0x4fa593);},'AfVTC':_0x3da0cb(0x16b),'cHNCM':_0x3da0cb(0xfa),'oXfbw':_0x3da0cb(0x12f),'PcLWk':function(_0x4460b1,_0x2bcda9){return _0x4460b1>=_0x2bcda9;},'LTFzM':function(_0x28ecc,_0x252222){return _0x28ecc(_0x252222);},'alWob':function(_0x49e8a9,_0xdf60eb){return _0x49e8a9===_0xdf60eb;},'TtOfE':_0x3da0cb(0x16d),'zfRTn':_0x3da0cb(0x134),'JXZOJ':'YRpPv','HIuRz':_0x3da0cb(0x13f),'OkUAE':_0x3da0cb(0xf9),'rYrKS':_0x3da0cb(0x166),'cjcvZ':'BSMzl','qIzEN':_0x3da0cb(0x10f),'YJGoh':function(_0x1e1b0b,_0x582025){return _0x1e1b0b!==_0x582025;},'qqMbG':_0x3da0cb(0x11a),'WGIMG':function(_0x2886dd,_0x29a00f){return _0x2886dd!==_0x29a00f;},'rKmkb':'RUasK','HLPVN':function(_0x47c77e,_0x75d761){return _0x47c77e!==_0x75d761;},'LOyvd':'qxKUA','UMZns':_0x3da0cb(0x109),'bDWdG':_0x3da0cb(0x155),'qlAQk':function(_0x3a43c1,_0x247650){return _0x3a43c1===_0x247650;},'bfRge':_0x3da0cb(0x160),'FNBmJ':function(_0x31b1cc,_0x751bfd){return _0x31b1cc===_0x751bfd;},'gpILZ':function(_0xb24f42,_0x3067cd){return _0xb24f42!==_0x3067cd;},'lllPr':_0x3da0cb(0x140),'JeomX':_0x3da0cb(0xf2),'abwgX':function(_0x107795,_0x14382f){return _0x107795!==_0x14382f;},'BWmIA':_0x3da0cb(0xea),'ROeUU':'lWWIV'};this[_0x3da0cb(0xe8)]=null,this['config']=helper['readConfig'](helper[_0x3da0cb(0x12b)]());if(this[_0x3da0cb(0x10d)][_0x3da0cb(0x15a)])throw new Error(this['config']['error']);if(!_0x2cb06e[_0x3da0cb(0xef)](isBrowserstackInfra))return;_0x2cb06e['fsntX'](_0x2cb06e[_0x3da0cb(0x163)](parseInt,helper[_0x3da0cb(0x102)](_0x2cb06e[_0x3da0cb(0x107)])),0x3)&&(_0x2cb06e['RrySU'](_0x2cb06e[_0x3da0cb(0xfb)],_0x2cb06e['oXfbw'])?_0x547a46[_0x3da0cb(0x15a)](_0x2cb06e[_0x3da0cb(0x11c)],_0xbbd235[_0x3da0cb(0x12a)]):this['config']['useW3C']=![]);if(_0x2cb06e[_0x3da0cb(0x148)](_0x2cb06e[_0x3da0cb(0xeb)](parseInt,helper[_0x3da0cb(0x102)](_0x2cb06e[_0x3da0cb(0x107)])),4.5)){if(_0x2cb06e['alWob'](_0x2cb06e[_0x3da0cb(0x14e)],_0x2cb06e[_0x3da0cb(0x153)])){_0x19c909[_0x3da0cb(0x128)](_0x2056e9);throw new _0x4bc2ef(_0x56a833[_0x3da0cb(0xe7)]());}else this['config'][_0x3da0cb(0x136)]=!![];}(helper[_0x3da0cb(0x154)](this[_0x3da0cb(0x10d)]['platforms'])||helper[_0x3da0cb(0x154)](this['config'][_0x3da0cb(0x165)][_0x3da0cb(0x145)]))&&(_0x2cb06e[_0x3da0cb(0x118)](_0x2cb06e[_0x3da0cb(0x14b)],_0x2cb06e['HIuRz'])?(helper[_0x3da0cb(0x154)](this[_0x3da0cb(0x10d)][_0x3da0cb(0x12d)])?_0x2cb06e[_0x3da0cb(0x118)](_0x2cb06e[_0x3da0cb(0x16f)],_0x2cb06e['rYrKS'])?logger[_0x3da0cb(0x143)](_0x2cb06e[_0x3da0cb(0xf5)]):this[_0x3da0cb(0x10d)][_0x3da0cb(0x10c)][_0x3da0cb(0xf7)]=_0x2fb00c['generateLocalIdentifier']():_0x2cb06e[_0x3da0cb(0x118)](_0x2cb06e[_0x3da0cb(0xec)],_0x2cb06e[_0x3da0cb(0x16c)])?logger['warn'](_0x2cb06e[_0x3da0cb(0x103)]):(_0x2cb06e[_0x3da0cb(0x118)](this[_0x3da0cb(0x10d)][_0x3da0cb(0x165)][_0x3da0cb(0x145)],0x0)&&_0x219391[_0x3da0cb(0x143)](_0x2cb06e[_0x3da0cb(0x13a)]),this[_0x3da0cb(0x10d)][_0x3da0cb(0x12d)]=0x1),this[_0x3da0cb(0x10d)]['platforms']=[]):_0x2cb06e['jXRte'](_0x2fa77f,_0x2cb06e[_0x3da0cb(0x15e)])());helper[_0x3da0cb(0x154)](this[_0x3da0cb(0x10d)]['parallelsPerPlatform'])&&(_0x2cb06e[_0x3da0cb(0x14c)](_0x2cb06e[_0x3da0cb(0x131)],_0x2cb06e[_0x3da0cb(0x131)])?_0x3d538f[_0x3da0cb(0x143)](_0x2cb06e[_0x3da0cb(0x13a)]):(_0x2cb06e[_0x3da0cb(0x104)](this[_0x3da0cb(0x10d)][_0x3da0cb(0x165)][_0x3da0cb(0x145)],0x0)&&(_0x2cb06e['RrySU'](_0x2cb06e['rKmkb'],_0x2cb06e['rKmkb'])?logger['info'](_0x2cb06e[_0x3da0cb(0x13a)]):this['config'][_0x3da0cb(0x136)]=![]),this['config'][_0x3da0cb(0x12d)]=0x1));!this['config']['browserStackLocalOptions']&&(this[_0x3da0cb(0x10d)][_0x3da0cb(0x10c)]=this[_0x3da0cb(0x10d)][_0x3da0cb(0x13c)]||{});if(helper['isUndefined'](helper[_0x3da0cb(0x129)](this[_0x3da0cb(0x10d)]))||helper[_0x3da0cb(0x154)](helper['getAccessKey'](this[_0x3da0cb(0x10d)]))){if(_0x2cb06e[_0x3da0cb(0x108)](_0x2cb06e[_0x3da0cb(0x137)],_0x2cb06e[_0x3da0cb(0x132)]))throw new Error(_0x2cb06e['bDWdG']);else _0x462968['isUndefined'](this[_0x3da0cb(0x10d)][_0x3da0cb(0x12d)])?_0x23697a[_0x3da0cb(0x143)](_0x2cb06e[_0x3da0cb(0xf5)]):_0x24cdf7[_0x3da0cb(0x170)](_0x2cb06e[_0x3da0cb(0x103)]),this[_0x3da0cb(0x10d)][_0x3da0cb(0x165)]=[];}helper[_0x3da0cb(0x156)](this[_0x3da0cb(0x10d)])&&helper[_0x3da0cb(0x154)](helper[_0x3da0cb(0x125)](this[_0x3da0cb(0x10d)]))&&(_0x2cb06e[_0x3da0cb(0x16a)](_0x2cb06e[_0x3da0cb(0x10e)],_0x2cb06e[_0x3da0cb(0x10e)])?!helper[_0x3da0cb(0x154)](this[_0x3da0cb(0x10d)][_0x3da0cb(0x10c)])&&_0x2cb06e[_0x3da0cb(0x147)](this[_0x3da0cb(0x10d)]['browserStackLocalOptions']['constructor'],Object)?_0x2cb06e[_0x3da0cb(0x157)](_0x2cb06e[_0x3da0cb(0x10a)],_0x2cb06e[_0x3da0cb(0xfd)])?this['config'][_0x3da0cb(0x10c)][_0x3da0cb(0xf7)]=helper['generateLocalIdentifier']():!_0x206223[_0x3da0cb(0x154)](this[_0x3da0cb(0x10d)][_0x3da0cb(0x10c)])&&_0x2cb06e[_0x3da0cb(0x130)](this[_0x3da0cb(0x10d)][_0x3da0cb(0x10c)][_0x3da0cb(0x11d)],_0x183261)?this[_0x3da0cb(0x10d)]['browserStackLocalOptions'][_0x3da0cb(0xf7)]=_0x342bce['generateLocalIdentifier']():this[_0x3da0cb(0x10d)]['browserStackLocalOptions']={'localIdentifier':_0x57b792[_0x3da0cb(0x121)]()}:_0x2cb06e[_0x3da0cb(0xf0)](_0x2cb06e[_0x3da0cb(0xf1)],_0x2cb06e[_0x3da0cb(0x117)])?this['config'][_0x3da0cb(0x10c)]={'localIdentifier':helper['generateLocalIdentifier']()}:_0x3d929d[_0x3da0cb(0x143)](_0x2cb06e[_0x3da0cb(0xf5)]):(_0x203fc4[_0x3da0cb(0x15a)](_0x129ff5[_0x3da0cb(0x12a)]),_0x2f1efa[_0x3da0cb(0x128)](_0x1b7986))),helper[_0x3da0cb(0x114)](this[_0x3da0cb(0x10d)]),helper[_0x3da0cb(0xf6)](this[_0x3da0cb(0x10d)]),helper['handleBuildIdentifier'](this[_0x3da0cb(0x10d)]),this[_0x3da0cb(0x13b)](),this['setupBrowserstackLocal'](),this[_0x3da0cb(0x11e)]();}[a31_0x1bea92(0x141)](){const _0x30101a=a31_0x1bea92,_0x59776a={};_0x59776a[_0x30101a(0xed)]=_0x30101a(0x155),_0x59776a['WvGlO']=function(_0x9e12f,_0x216c3b){return _0x9e12f!==_0x216c3b;},_0x59776a[_0x30101a(0x161)]=_0x30101a(0x12c),_0x59776a['hsmvQ']=_0x30101a(0x15c),_0x59776a[_0x30101a(0x113)]=function(_0x2eee6f,_0x16671a){return _0x2eee6f==_0x16671a;},_0x59776a['RBXlK']=_0x30101a(0xe9),_0x59776a['kcWGP']=function(_0x576820,_0x889117){return _0x576820==_0x889117;},_0x59776a[_0x30101a(0x151)]=function(_0x20e30a,_0x534f8f){return _0x20e30a===_0x534f8f;},_0x59776a['zeiYP']=_0x30101a(0x152),_0x59776a['Sdgbe']=_0x30101a(0x149),_0x59776a[_0x30101a(0x126)]=_0x30101a(0x13e),_0x59776a[_0x30101a(0x13d)]=_0x30101a(0x150),_0x59776a[_0x30101a(0x127)]='beforeExit',_0x59776a[_0x30101a(0x14d)]=_0x30101a(0x115),_0x59776a[_0x30101a(0x110)]=_0x30101a(0x159),_0x59776a[_0x30101a(0x169)]=_0x30101a(0xff);const _0x6f1f7=_0x59776a;if((_0x6f1f7[_0x30101a(0x138)](this[_0x30101a(0x10d)]['browserstackLocal'],!![])||process[_0x30101a(0x100)][_0x30101a(0x124)])&&(!this[_0x30101a(0xe8)]||!this['browserstackLocal'][_0x30101a(0x144)]())){if(_0x6f1f7['pZGTl'](_0x6f1f7['zeiYP'],_0x6f1f7[_0x30101a(0x133)]))try{if(_0x6f1f7[_0x30101a(0x151)](_0x6f1f7['Sdgbe'],_0x6f1f7[_0x30101a(0x126)]))this[_0x30101a(0x10d)][_0x30101a(0x136)]=!![];else{this[_0x30101a(0xe8)]=helper[_0x30101a(0x15f)](this[_0x30101a(0x10d)]),logger[_0x30101a(0x143)](_0x6f1f7['EkoLG']);let _0x3b9672=0x0;const _0x21759d=async()=>{const _0x3c000c=_0x30101a,_0x189864={};_0x189864['pCZga']=_0x6f1f7[_0x3c000c(0xed)];const _0x38f1d5=_0x189864;if(_0x6f1f7[_0x3c000c(0x14a)](_0x6f1f7[_0x3c000c(0x161)],_0x6f1f7['hsmvQ']))_0x3b9672++,_0x6f1f7[_0x3c000c(0x113)](_0x3b9672,0x1)&&await this[_0x3c000c(0x105)]();else throw new _0x42c3fd(_0x38f1d5['pCZga']);};process['on'](_0x6f1f7[_0x30101a(0x127)],_0x21759d),process['on'](_0x6f1f7[_0x30101a(0x14d)],_0x21759d),process['on'](_0x6f1f7[_0x30101a(0x110)],_0x21759d);}}catch(_0x47ee74){if(_0x6f1f7[_0x30101a(0x14a)](_0x6f1f7[_0x30101a(0x169)],_0x6f1f7[_0x30101a(0x169)]))this[_0x30101a(0x10d)]['browserStackLocalOptions']={'localIdentifier':_0x9ee471[_0x30101a(0x121)]()};else{logger['debug'](_0x47ee74);throw new Error(_0x47ee74['toString']());}}else _0x44c091[_0x30101a(0x170)](_0x6f1f7[_0x30101a(0x139)]);}}async[a31_0x1bea92(0x105)](){const _0x32720e=a31_0x1bea92,_0x415bdd={};_0x415bdd[_0x32720e(0x12e)]=_0x32720e(0x119),_0x415bdd['peRwt']=_0x32720e(0x10b),_0x415bdd[_0x32720e(0xf4)]=function(_0x1f118f,_0x3d381e){return _0x1f118f===_0x3d381e;},_0x415bdd[_0x32720e(0x14f)]=_0x32720e(0x11f),_0x415bdd['ZWzUj']=_0x32720e(0x15b),_0x415bdd[_0x32720e(0x16e)]=_0x32720e(0x116),_0x415bdd['fAAVt']=_0x32720e(0x162);const _0x4129e1=_0x415bdd;if(this[_0x32720e(0xe8)]&&this[_0x32720e(0xe8)][_0x32720e(0x144)]())try{if(_0x4129e1[_0x32720e(0xf4)](_0x4129e1[_0x32720e(0x14f)],_0x4129e1['ZWzUj'])){const _0x5577b8=_0x13f24c=>{const _0x1b09ce=_0x32720e;_0x2c6444[_0x1b09ce(0x15a)](_0x13f24c[_0x1b09ce(0x12a)]),_0x3a6b2a[_0x1b09ce(0x128)](_0x13f24c);};_0x2ef896['on'](_0x4129e1['tinFC'],_0x5577b8),_0x1039a7['on'](_0x4129e1[_0x32720e(0x101)],_0x5577b8);}else await helper[_0x32720e(0x158)](this[_0x32720e(0xe8)]),logger[_0x32720e(0x143)](_0x4129e1[_0x32720e(0x16e)]);}catch(_0x2337c0){logger[_0x32720e(0x15a)](_0x4129e1[_0x32720e(0x112)],_0x2337c0[_0x32720e(0x12a)]);}}[a31_0x1bea92(0x11e)](){const _0x26108e=a31_0x1bea92,_0x1c0bbb={'mAmAg':function(_0x19632a,_0x29cbb3){return _0x19632a(_0x29cbb3);},'ufSat':_0x26108e(0x111)};_0x1c0bbb[_0x26108e(0xf3)](require,_0x1c0bbb['ufSat'])();}[a31_0x1bea92(0x13b)](){const _0x55d07d=a31_0x1bea92,_0x197012={};_0x197012['QixsU']=_0x55d07d(0x119),_0x197012[_0x55d07d(0x142)]='uncaughtException';const _0x3c0fce=_0x197012,_0x535324=_0x15345e=>{const _0x343a3e=_0x55d07d;logger[_0x343a3e(0x15a)](_0x15345e['message']),logger['debug'](_0x15345e);};process['on'](_0x3c0fce['QixsU'],_0x535324),process['on'](_0x3c0fce[_0x55d07d(0x142)],_0x535324);}}exports[a31_0x1bea92(0x146)]=BrowserStackSetup;
1
+ function a31_0x1297(){const _0x4e6a94=['eRsUE','6OALGfI','1242283wRMxyx','SIGINT','parallelsPerPlatform\x20was\x20not\x20defined\x20and\x20has\x20been\x20set\x20to\x201\x20(Default)','getPackageVersion','handleExceptions','Local\x20binary\x20started\x20successfully','rMvAp','debug','XOhZI','PQYvE','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','nNYMG','925ahSHuC','xRFqo','setProxySettings','15150fPZKYe','qwwdH','setupKeepAlive','ddseA','OxYzo','LuAeZ','handleBuildIdentifier','uncaughtException','parallelsPerPlatform','DrJDI','constructor','Uzhzd','wMdQc','ntyGp','message','useW3C','readConfig','KTFvv','XfdDp','config','igfER','CxyyB','OYvLi','mpWvq','localIdentifier','luofD','pLPJa','2253312icembu','localOptions','66141PgxBJV','browserstackLocal','generateLocalIdentifier','Error\x20occured\x20while\x20stopping\x20local\x20binary','BROWSERSTACK_LOCAL','WuaWE','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','length','LOQkG','UXPiU','eugkE','platforms','userName\x20or\x20accessKey\x20is\x20not\x20defined','isRunning','etXFx','WZcrt','huuJM','stopLocalBinary','getConfigPath','unhandledRejection','eEDKK','44XcquTM','setLogLevel','KOMfJ','lpUPl','getUserName','qSoCl','Local\x20binary\x20stopped','ADIWw','UmNUz','siaND','NcIFr','2260WfKXFv','error','Perpa','DsikG','swRae','auout','eMOvU','HxZib','beforeExit','meTWm','asVST','winstonLogger','setupBrowserstackLocal','rrrrx','DgTdr','./setKeepAlive','No\x20config\x20provided.','dtHHs','UBKBO','ZQbhX','UpthZ','jIHth','warn','WIrGr','info','dfqXp','DCJIo','isUndefined','startLocalBinarySync','vjVuz','YReQy','1721544GKlCLG','915003AQFBwT','Oqdtr','Wnrgb','MQBzi','kVQdS','kGfVq','selenium-webdriver','KbWir','uUeIZ','browserStackLocalOptions','RuUds','stopBrowserstackLocal','yQhyN','cCUwe'];a31_0x1297=function(){return _0x4e6a94;};return a31_0x1297();}const a31_0x493b89=a31_0x526e;(function(_0x351083,_0x2a9562){const _0x348194=a31_0x526e,_0x5e4ec3=_0x351083();while(!![]){try{const _0x57fc71=parseInt(_0x348194(0x1b5))/0x1*(parseInt(_0x348194(0x1ea))/0x2)+-parseInt(_0x348194(0x199))/0x3+-parseInt(_0x348194(0x1d3))/0x4+parseInt(_0x348194(0x1b8))/0x5+-parseInt(_0x348194(0x1a8))/0x6*(parseInt(_0x348194(0x1a9))/0x7)+-parseInt(_0x348194(0x198))/0x8+parseInt(_0x348194(0x1d5))/0x9*(parseInt(_0x348194(0x1f5))/0xa);if(_0x57fc71===_0x2a9562)break;else _0x5e4ec3['push'](_0x5e4ec3['shift']());}catch(_0x275e08){_0x5e4ec3['push'](_0x5e4ec3['shift']());}}}(a31_0x1297,0x6755f));const logger=require('./logger')[a31_0x493b89(0x200)],helper=require('./helper'),{isBrowserstackInfra}=require('../bin/mocha/test-observability/helper');class BrowserStackSetup{constructor(_0x2846d1){const _0x7ba9a6=a31_0x493b89,_0x3619e7={'eRsUE':_0x7ba9a6(0x1d8),'ZQbhX':_0x7ba9a6(0x1db),'kVQdS':_0x7ba9a6(0x1b3),'DCJIo':function(_0x573f13,_0x6de1a3){return _0x573f13===_0x6de1a3;},'UBKBO':_0x7ba9a6(0x1ab),'cCUwe':_0x7ba9a6(0x1e8),'SryMH':'uncaughtException','WIrGr':function(_0x214885,_0x4e9e40){return _0x214885!==_0x4e9e40;},'ddseA':_0x7ba9a6(0x205),'NTHMV':function(_0x166393){return _0x166393();},'PQYvE':function(_0x48ddb2,_0x3d3741){return _0x48ddb2<_0x3d3741;},'KOMfJ':function(_0x146614,_0x39b23b){return _0x146614(_0x39b23b);},'RuUds':_0x7ba9a6(0x19f),'qwwdH':function(_0x13c42f,_0x2f263e){return _0x13c42f===_0x2f263e;},'meTWm':_0x7ba9a6(0x1dd),'zLFKe':function(_0x25be0b,_0x35c63f){return _0x25be0b>=_0x35c63f;},'LuAeZ':function(_0x6f70bd,_0x1c47f0){return _0x6f70bd===_0x1c47f0;},'ntyGp':_0x7ba9a6(0x20a),'Wnrgb':function(_0xf13b7a,_0x58d4b9){return _0xf13b7a===_0x58d4b9;},'rMvAp':_0x7ba9a6(0x1f7),'dfqXp':_0x7ba9a6(0x1e4),'HxZib':_0x7ba9a6(0x1c3),'wVKDO':_0x7ba9a6(0x209),'CxyyB':_0x7ba9a6(0x203),'vjVuz':'LLqhp','DrJDI':function(_0x471592,_0x2c837f){return _0x471592!==_0x2c837f;},'nNYMG':'IoJUO','igfER':_0x7ba9a6(0x1ff),'qSoCl':function(_0x29d7b6,_0x210442){return _0x29d7b6!==_0x210442;},'yQhyN':'NwJHD','eugkE':_0x7ba9a6(0x1e1),'pIAMn':function(_0x296d19,_0x2f905b){return _0x296d19===_0x2f905b;},'pLPJa':_0x7ba9a6(0x1cf),'eEDKK':function(_0x2919dc,_0x5cf513){return _0x2919dc===_0x5cf513;},'dtHHs':function(_0x638ec7,_0xee03f){return _0x638ec7===_0xee03f;},'lYcBK':'lrfHU','huuJM':_0x7ba9a6(0x1ed),'ADIWw':'lYjWe'};this['browserstackLocal']=null,this[_0x7ba9a6(0x1cb)]=helper[_0x7ba9a6(0x1c8)](helper[_0x7ba9a6(0x1e7)](_0x2846d1));if(helper['isUndefined'](this[_0x7ba9a6(0x1cb)]))throw new Error(_0x3619e7[_0x7ba9a6(0x1bb)]);if(this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1f6)])throw new Error(this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1f6)]);if(!_0x3619e7['NTHMV'](isBrowserstackInfra))return;_0x3619e7[_0x7ba9a6(0x1b2)](_0x3619e7[_0x7ba9a6(0x1ec)](parseInt,helper['getPackageVersion'](_0x3619e7[_0x7ba9a6(0x1a3)])),0x3)&&(_0x3619e7[_0x7ba9a6(0x1b9)](_0x3619e7[_0x7ba9a6(0x1fe)],_0x3619e7[_0x7ba9a6(0x1fe)])?this['config'][_0x7ba9a6(0x1c7)]=![]:this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c7)]=![]);_0x3619e7['zLFKe'](_0x3619e7['KOMfJ'](parseInt,helper[_0x7ba9a6(0x1ac)](_0x3619e7[_0x7ba9a6(0x1a3)])),4.5)&&(_0x3619e7['LuAeZ'](_0x3619e7[_0x7ba9a6(0x1c5)],_0x3619e7['ntyGp'])?this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c7)]=!![]:this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)]={'localIdentifier':_0x522e4c[_0x7ba9a6(0x1d7)]()});(helper[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1e0)])||helper['isUndefined'](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1e0)][_0x7ba9a6(0x1dc)]))&&(_0x3619e7[_0x7ba9a6(0x19b)](_0x3619e7[_0x7ba9a6(0x1af)],_0x3619e7[_0x7ba9a6(0x20e)])?_0x37a5a3[_0x7ba9a6(0x1f6)](_0x3619e7[_0x7ba9a6(0x1a7)],_0x4c5ed9[_0x7ba9a6(0x1c6)]):(helper['isUndefined'](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c0)])?_0x3619e7[_0x7ba9a6(0x1bd)](_0x3619e7[_0x7ba9a6(0x1fc)],_0x3619e7['HxZib'])?logger['info'](_0x3619e7[_0x7ba9a6(0x208)]):(_0xaf2a7f[_0x7ba9a6(0x1f6)](_0x16c5c6[_0x7ba9a6(0x1c6)]),_0x578933[_0x7ba9a6(0x1b0)](_0x1edaab)):_0x3619e7[_0x7ba9a6(0x19b)](_0x3619e7['wVKDO'],_0x3619e7[_0x7ba9a6(0x1cd)])?(_0x3d9c75['isUndefined'](this[_0x7ba9a6(0x1cb)]['parallelsPerPlatform'])?_0x20cd8e['info'](_0x3619e7[_0x7ba9a6(0x208)]):_0x171623[_0x7ba9a6(0x20b)](_0x3619e7[_0x7ba9a6(0x19d)]),this['config'][_0x7ba9a6(0x1e0)]=[]):logger[_0x7ba9a6(0x20b)](_0x3619e7[_0x7ba9a6(0x19d)]),this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1e0)]=[]));helper[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)]['parallelsPerPlatform'])&&(_0x3619e7[_0x7ba9a6(0x1b9)](_0x3619e7[_0x7ba9a6(0x196)],_0x3619e7[_0x7ba9a6(0x196)])?(_0x3619e7[_0x7ba9a6(0x1c1)](this[_0x7ba9a6(0x1cb)]['platforms'][_0x7ba9a6(0x1dc)],0x0)&&(_0x3619e7['Wnrgb'](_0x3619e7[_0x7ba9a6(0x1b4)],_0x3619e7[_0x7ba9a6(0x1cc)])?!_0x3b4e50[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)])&&_0x3619e7[_0x7ba9a6(0x20f)](this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions'][_0x7ba9a6(0x1c2)],_0x5b46a9)?this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)]['localIdentifier']=_0x3e1917[_0x7ba9a6(0x1d7)]():this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions']={'localIdentifier':_0x3c9379['generateLocalIdentifier']()}:logger[_0x7ba9a6(0x20d)](_0x3619e7['UBKBO'])),this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c0)]=0x1):_0x3f1e94[_0x7ba9a6(0x20d)](_0x3619e7[_0x7ba9a6(0x207)]));!this['config'][_0x7ba9a6(0x1a2)]&&(this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions']=this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1d4)]||{});if(helper[_0x7ba9a6(0x210)](helper[_0x7ba9a6(0x1ee)](this['config']))||helper[_0x7ba9a6(0x210)](helper['getAccessKey'](this['config']))){if(_0x3619e7[_0x7ba9a6(0x1ef)](_0x3619e7[_0x7ba9a6(0x1a5)],_0x3619e7[_0x7ba9a6(0x1a5)]))_0x5aceb0['info'](_0x3619e7[_0x7ba9a6(0x208)]);else throw new Error(_0x3619e7[_0x7ba9a6(0x1df)]);}if(helper['getLocalConfig'](this[_0x7ba9a6(0x1cb)])&&helper[_0x7ba9a6(0x210)](helper['getLocalIdentifier'](this['config']))){if(_0x3619e7['pIAMn'](_0x3619e7[_0x7ba9a6(0x1d2)],_0x3619e7['pLPJa'])){if(!helper[_0x7ba9a6(0x210)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)])&&_0x3619e7[_0x7ba9a6(0x1e9)](this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1a2)][_0x7ba9a6(0x1c2)],Object)){if(_0x3619e7[_0x7ba9a6(0x206)](_0x3619e7['lYcBK'],_0x3619e7[_0x7ba9a6(0x1e5)])){const _0x1e2c90=_0x1f763e=>{const _0x5a0b0a=_0x7ba9a6;_0x4ea3b5['error'](_0x1f763e[_0x5a0b0a(0x1c6)]),_0x48fe2a['debug'](_0x1f763e);};_0x4da779['on'](_0x3619e7[_0x7ba9a6(0x1a6)],_0x1e2c90),_0x1e2716['on'](_0x3619e7['SryMH'],_0x1e2c90);}else this[_0x7ba9a6(0x1cb)]['browserStackLocalOptions'][_0x7ba9a6(0x1d0)]=helper[_0x7ba9a6(0x1d7)]();}else _0x3619e7[_0x7ba9a6(0x19b)](_0x3619e7[_0x7ba9a6(0x1f1)],_0x3619e7[_0x7ba9a6(0x1f1)])?this['config'][_0x7ba9a6(0x1a2)]={'localIdentifier':helper['generateLocalIdentifier']()}:(_0x3619e7[_0x7ba9a6(0x20c)](this['config'][_0x7ba9a6(0x1e0)][_0x7ba9a6(0x1dc)],0x0)&&_0x438f35[_0x7ba9a6(0x20d)](_0x3619e7[_0x7ba9a6(0x207)]),this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c0)]=0x1);}else this[_0x7ba9a6(0x1cb)][_0x7ba9a6(0x1c7)]=!![];}helper[_0x7ba9a6(0x1eb)](this[_0x7ba9a6(0x1cb)]),helper[_0x7ba9a6(0x1b7)](this[_0x7ba9a6(0x1cb)]),helper[_0x7ba9a6(0x1be)](this[_0x7ba9a6(0x1cb)]),this[_0x7ba9a6(0x1ad)](),this[_0x7ba9a6(0x201)](),this[_0x7ba9a6(0x1ba)]();}['setupBrowserstackLocal'](){const _0xe02eb6=a31_0x493b89,_0x58d332={};_0x58d332[_0xe02eb6(0x1f9)]='parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined',_0x58d332['etXFx']=function(_0x14034b,_0x3a976c){return _0x14034b!==_0x3a976c;},_0x58d332['XOhZI']=_0xe02eb6(0x1f4),_0x58d332[_0xe02eb6(0x19e)]=function(_0x240da5,_0x6efaa7){return _0x240da5==_0x6efaa7;},_0x58d332[_0xe02eb6(0x1a0)]=_0xe02eb6(0x1e1),_0x58d332[_0xe02eb6(0x1de)]=function(_0x3c9b32,_0x593b45){return _0x3c9b32===_0x593b45;},_0x58d332[_0xe02eb6(0x19a)]=_0xe02eb6(0x19c),_0x58d332[_0xe02eb6(0x1d1)]='ZenCi',_0x58d332[_0xe02eb6(0x1f2)]=_0xe02eb6(0x1a1),_0x58d332[_0xe02eb6(0x1f8)]=_0xe02eb6(0x1ae),_0x58d332[_0xe02eb6(0x1c9)]=_0xe02eb6(0x1fd),_0x58d332[_0xe02eb6(0x202)]=_0xe02eb6(0x1aa),_0x58d332['OxYzo']='SIGTERM',_0x58d332['GEaNM']=_0xe02eb6(0x1c4);const _0x10c2b3=_0x58d332;if((_0x10c2b3['kGfVq'](this['config']['browserstackLocal'],!![])||process['env'][_0xe02eb6(0x1d9)])&&(!this[_0xe02eb6(0x1d6)]||!this[_0xe02eb6(0x1d6)][_0xe02eb6(0x1e2)]())){if(_0x10c2b3[_0xe02eb6(0x1de)](_0x10c2b3[_0xe02eb6(0x19a)],_0x10c2b3['luofD']))this[_0xe02eb6(0x1cb)][_0xe02eb6(0x1a2)][_0xe02eb6(0x1d0)]=_0x3ceb51['generateLocalIdentifier']();else try{if(_0x10c2b3[_0xe02eb6(0x1e3)](_0x10c2b3[_0xe02eb6(0x1f2)],_0x10c2b3[_0xe02eb6(0x1f2)])){_0x3f976e['debug'](_0x4571e2);throw new _0x57edaf(_0x1f3795['toString']());}else{this[_0xe02eb6(0x1d6)]=helper[_0xe02eb6(0x195)](this[_0xe02eb6(0x1cb)]),logger[_0xe02eb6(0x20d)](_0x10c2b3[_0xe02eb6(0x1f8)]);let _0xba8e99=0x0;const _0x53ffbb=async()=>{const _0x1d7a4=_0xe02eb6,_0x1b1cc2={};_0x1b1cc2[_0x1d7a4(0x1f3)]=_0x10c2b3[_0x1d7a4(0x1f9)];const _0x7e2d59=_0x1b1cc2;_0x10c2b3[_0x1d7a4(0x1e3)](_0x10c2b3['XOhZI'],_0x10c2b3[_0x1d7a4(0x1b1)])?_0x159390['warn'](_0x7e2d59[_0x1d7a4(0x1f3)]):(_0xba8e99++,_0x10c2b3[_0x1d7a4(0x19e)](_0xba8e99,0x1)&&await this[_0x1d7a4(0x1a4)]());};process['on'](_0x10c2b3['KTFvv'],_0x53ffbb),process['on'](_0x10c2b3[_0xe02eb6(0x202)],_0x53ffbb),process['on'](_0x10c2b3[_0xe02eb6(0x1bc)],_0x53ffbb);}}catch(_0x19e666){if(_0x10c2b3[_0xe02eb6(0x1de)](_0x10c2b3['GEaNM'],_0x10c2b3['GEaNM'])){logger[_0xe02eb6(0x1b0)](_0x19e666);throw new Error(_0x19e666['toString']());}else throw new _0x1e5d36(_0x10c2b3[_0xe02eb6(0x1a0)]);}}}async[a31_0x493b89(0x1a4)](){const _0xff4493=a31_0x493b89,_0xa2d11={'xRFqo':function(_0x5623fa,_0x3e0866){return _0x5623fa(_0x3e0866);},'YJEIU':_0xff4493(0x204),'buzmL':function(_0x1186c9,_0x4ef3ed){return _0x1186c9===_0x4ef3ed;},'auout':_0xff4493(0x1da),'cUkFD':_0xff4493(0x1f0),'eMOvU':_0xff4493(0x1d8)};if(this[_0xff4493(0x1d6)]&&this[_0xff4493(0x1d6)][_0xff4493(0x1e2)]())try{_0xa2d11['buzmL'](_0xa2d11[_0xff4493(0x1fa)],_0xa2d11[_0xff4493(0x1fa)])?(await helper[_0xff4493(0x1e6)](this[_0xff4493(0x1d6)]),logger[_0xff4493(0x20d)](_0xa2d11['cUkFD'])):_0xa2d11[_0xff4493(0x1b6)](_0x5ed68d,_0xa2d11['YJEIU'])();}catch(_0x2b7a7b){logger['error'](_0xa2d11[_0xff4493(0x1fb)],_0x2b7a7b[_0xff4493(0x1c6)]);}}[a31_0x493b89(0x1ba)](){const _0x29a8cb=a31_0x493b89,_0x399b05={'YkuaQ':function(_0x3ebfe5,_0x48eb2e){return _0x3ebfe5(_0x48eb2e);},'XfdDp':_0x29a8cb(0x204)};_0x399b05['YkuaQ'](require,_0x399b05[_0x29a8cb(0x1ca)])();}[a31_0x493b89(0x1ad)](){const _0x340274=a31_0x493b89,_0x35962d={};_0x35962d[_0x340274(0x197)]=_0x340274(0x1e8),_0x35962d[_0x340274(0x1ce)]=_0x340274(0x1bf);const _0x5b292b=_0x35962d,_0x4f637f=_0x1fdaed=>{const _0x19bd0f=_0x340274;logger[_0x19bd0f(0x1f6)](_0x1fdaed[_0x19bd0f(0x1c6)]),logger['debug'](_0x1fdaed);};process['on'](_0x5b292b[_0x340274(0x197)],_0x4f637f),process['on'](_0x5b292b[_0x340274(0x1ce)],_0x4f637f);}}function a31_0x526e(_0x5a5eef,_0x44d479){const _0x129798=a31_0x1297();return a31_0x526e=function(_0x526ef4,_0x2aaa8){_0x526ef4=_0x526ef4-0x195;let _0x4a0925=_0x129798[_0x526ef4];return _0x4a0925;},a31_0x526e(_0x5a5eef,_0x44d479);}exports['default']=BrowserStackSetup;