browserstack-node-sdk 1.5.0 → 1.6.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 a18_0x3b3377=a18_0x104f;function a18_0x29f7(){const _0x3cc059=['QKtPd','./constants','RESETTING','mzMmH','gtbis','7276986lrOHFw','jvScF','ZpBWh','started','GalLd','RgeSr','uptyU','exports','1030477JfXNiW','Tljdv','GckpO','kmyXr','shutdown','gQJnz','aDNBd','AoVZx','OKSFP','uTNLa','IassL','TestRunFinished','wBCbd','HOkMu','BYBFR','MZnJO','oOIfA','10Ujykvl','4028768uYOPTk','ThMez','HookRunStarted','obFax','ZaQBc','ohAfd','SDuiL','YhBaj','jFalO','splice','HookRunFinished','api/v1/screenshots','LogCreated','4|2|5|3|0|1','length','oeVND','PhEAv','1MAUbVc','VhVGg','UAgQx','2513156zfqAEG','nByav','split','mqJsM','ZtKUn','eventUrl','OKNFa','pollEventBatchInterval','787278anZBsk','ogPHn','OoqqE','cWHIf','TestRunSkipped','shouldProceed','sCuCF','XZnMA','kind','HGuaj','Interval-Queue','rKsbo','WYyue','jdSrn','haEIo','TestRunStarted','CBTSessionCreated','screenshotEventUrl','BATCH_EVENT_TYPES','ALoqh','logs','lCpJO','TGpVM','xcITx','EHGrV','VrEDF','3730090lqErft','pCmDD','resetEventBatchPolling','removeEventBatchPolling','event_type','LvFXz','startEventBatchPolling','3PdwpDA','kXOUF','bpVRk','REMOVING','3|5|2|1|0|4','vgxCY','eHabd','UZuCQ','JWeJb','YCoNx','KYkCw','ObWMC','api/v1/batch','push','ayNed','CvyzP','TQXTa','rRkkY','add','TEST_SCREENSHOT','jFoXW','262978NrvbYE','proceedWithData','GxVui','joEhc','includes','proceedWithUrl','SNnSu','queue','bYWLj','Shutdown-Queue','iRQwK','lkXAk','slice'];a18_0x29f7=function(){return _0x3cc059;};return a18_0x29f7();}(function(_0x475e23,_0x23127b){const _0x38d91a=a18_0x104f,_0x198f4b=_0x475e23();while(!![]){try{const _0x3b54ab=parseInt(_0x38d91a(0x142))/0x1*(-parseInt(_0x38d91a(0x183))/0x2)+parseInt(_0x38d91a(0x16e))/0x3*(-parseInt(_0x38d91a(0x145))/0x4)+-parseInt(_0x38d91a(0x130))/0x5*(parseInt(_0x38d91a(0x14d))/0x6)+-parseInt(_0x38d91a(0x11f))/0x7+parseInt(_0x38d91a(0x131))/0x8+parseInt(_0x38d91a(0x117))/0x9+parseInt(_0x38d91a(0x167))/0xa;if(_0x3b54ab===_0x23127b)break;else _0x198f4b['push'](_0x198f4b['shift']());}catch(_0x2fd657){_0x198f4b['push'](_0x198f4b['shift']());}}}(a18_0x29f7,0x7dea0));function a18_0x104f(_0x459085,_0x4fa4ce){const _0x29f7e5=a18_0x29f7();return a18_0x104f=function(_0x104f8a,_0x54e243){_0x104f8a=_0x104f8a-0x10e;let _0x239718=_0x29f7e5[_0x104f8a];return _0x239718;},a18_0x104f(_0x459085,_0x4fa4ce);}const {BATCH_SIZE,BATCH_INTERVAL,consoleHolder}=require(a18_0x3b3377(0x113)),{debug,batchAndPostEvents}=require('./helper');class RequestQueueHandler{constructor(){const _0x5edafb=a18_0x3b3377,_0x56228c={};_0x56228c[_0x5edafb(0x175)]=_0x5edafb(0x172),_0x56228c['ObWMC']=_0x5edafb(0x13d),_0x56228c[_0x5edafb(0x174)]=_0x5edafb(0x15d),_0x56228c[_0x5edafb(0x153)]=_0x5edafb(0x12a),_0x56228c[_0x5edafb(0x12b)]='TestRunSkipped',_0x56228c[_0x5edafb(0x162)]=_0x5edafb(0x13b),_0x56228c[_0x5edafb(0x186)]='TestRunStarted',_0x56228c['ZaQBc']='HookRunStarted',_0x56228c['kXOUF']=_0x5edafb(0x13c),_0x56228c[_0x5edafb(0x16c)]=_0x5edafb(0x17a);const _0x598ad9=_0x56228c,_0x54e1d7=_0x598ad9['UZuCQ'][_0x5edafb(0x147)]('|');let _0x58fb85=0x0;while(!![]){switch(_0x54e1d7[_0x58fb85++]){case'0':this[_0x5edafb(0x15f)]=[_0x598ad9[_0x5edafb(0x179)],_0x598ad9['eHabd'],_0x598ad9[_0x5edafb(0x153)],_0x598ad9[_0x5edafb(0x12b)],_0x598ad9['lCpJO'],_0x598ad9['joEhc'],_0x598ad9[_0x5edafb(0x135)]];continue;case'1':this[_0x5edafb(0x15e)]=_0x598ad9[_0x5edafb(0x16f)];continue;case'2':this['eventUrl']=_0x598ad9[_0x5edafb(0x16c)];continue;case'3':this[_0x5edafb(0x18a)]=[];continue;case'4':this[_0x5edafb(0x14c)]=null;continue;case'5':this[_0x5edafb(0x11a)]=![];continue;}break;}}['start']=()=>{const _0x4f4430=a18_0x3b3377,_0x5ee572={'CvyzP':function(_0x4d8bbf,_0x54269f){return _0x4d8bbf(_0x54269f);},'wRqOr':function(_0x3261bf,_0x581110){return _0x3261bf===_0x581110;},'ALoqh':_0x4f4430(0x171),'TGpVM':function(_0x34055c,_0x429cd9){return _0x34055c!==_0x429cd9;},'cWHIf':'LkYgV','EHGrV':_0x4f4430(0x146)};if(!this[_0x4f4430(0x11a)]){if(_0x5ee572[_0x4f4430(0x163)](_0x5ee572[_0x4f4430(0x150)],_0x5ee572[_0x4f4430(0x165)]))this['started']=!![],this['startEventBatchPolling']();else{_0x5ee572[_0x4f4430(0x17d)](_0x5083fb,this[_0x4f4430(0x14c)]),this[_0x4f4430(0x14c)]=null;if(_0x5ee572['wRqOr'](_0x5e7d36,_0x5ee572[_0x4f4430(0x160)]))this[_0x4f4430(0x11a)]=![];}}};[a18_0x3b3377(0x180)]=_0x3e0955=>{const _0x2f1887=a18_0x3b3377,_0x135b3b={};_0x135b3b[_0x2f1887(0x139)]=function(_0x343b04,_0x5ccd90){return _0x343b04===_0x5ccd90;},_0x135b3b[_0x2f1887(0x14f)]=_0x2f1887(0x181),_0x135b3b[_0x2f1887(0x136)]=function(_0x1e0044,_0x2af1ee){return _0x1e0044===_0x2af1ee;},_0x135b3b[_0x2f1887(0x15a)]='AUKqc',_0x135b3b[_0x2f1887(0x110)]=_0x2f1887(0x140),_0x135b3b[_0x2f1887(0x164)]=function(_0x4e61d6,_0x3bc612){return _0x4e61d6!==_0x3bc612;},_0x135b3b['haEIo']=_0x2f1887(0x124),_0x135b3b[_0x2f1887(0x148)]=function(_0x830d8d,_0xf0aed2){return _0x830d8d===_0xf0aed2;},_0x135b3b[_0x2f1887(0x178)]=_0x2f1887(0x125),_0x135b3b[_0x2f1887(0x12c)]='UkFqT',_0x135b3b[_0x2f1887(0x182)]=_0x2f1887(0x128);const _0x276b72=_0x135b3b;if(this[_0x2f1887(0x15f)][_0x2f1887(0x187)](_0x3e0955[_0x2f1887(0x16b)])){if(_0x276b72[_0x2f1887(0x136)](_0x276b72[_0x2f1887(0x15a)],_0x276b72[_0x2f1887(0x110)])){const _0x3f524d={};return _0x3f524d['shouldProceed']=!![],_0x3f524d['proceedWithData']=[_0x47055a],_0x3f524d[_0x2f1887(0x188)]=this['screenshotEventUrl'],_0x3f524d;}else{if(_0x3e0955[_0x2f1887(0x161)]&&_0x3e0955[_0x2f1887(0x161)][0x0]&&_0x276b72[_0x2f1887(0x139)](_0x3e0955[_0x2f1887(0x161)][0x0][_0x2f1887(0x155)],_0x276b72['OoqqE'])){if(_0x276b72['xcITx'](_0x276b72[_0x2f1887(0x15b)],_0x276b72[_0x2f1887(0x15b)]))!this[_0x2f1887(0x11a)]&&(this[_0x2f1887(0x11a)]=!![],this[_0x2f1887(0x16d)]());else{const _0x1ce7cb={};return _0x1ce7cb[_0x2f1887(0x152)]=!![],_0x1ce7cb[_0x2f1887(0x184)]=[_0x3e0955],_0x1ce7cb[_0x2f1887(0x188)]=this[_0x2f1887(0x15e)],_0x1ce7cb;}}this[_0x2f1887(0x18a)]['push'](_0x3e0955);let _0x11b1d3=null,_0x2cde1d=this['shouldProceed']();if(_0x2cde1d){if(_0x276b72[_0x2f1887(0x148)](_0x276b72['KYkCw'],_0x276b72['HOkMu'])){if(_0x29a5b2['logs']&&_0x2183f4[_0x2f1887(0x161)][0x0]&&_0x276b72[_0x2f1887(0x139)](_0x2308e9[_0x2f1887(0x161)][0x0]['kind'],_0x276b72[_0x2f1887(0x14f)])){const _0x439f85={};return _0x439f85[_0x2f1887(0x152)]=!![],_0x439f85[_0x2f1887(0x184)]=[_0x33e137],_0x439f85[_0x2f1887(0x188)]=this[_0x2f1887(0x15e)],_0x439f85;}this[_0x2f1887(0x18a)][_0x2f1887(0x17b)](_0x5a18ef);let _0x444ef1=null,_0x22050a=this['shouldProceed']();_0x22050a&&(_0x444ef1=this[_0x2f1887(0x18a)][_0x2f1887(0x111)](0x0,_0x18948b),this['queue']['splice'](0x0,_0x13c028),this[_0x2f1887(0x169)]());const _0x33cd21={};return _0x33cd21[_0x2f1887(0x152)]=_0x22050a,_0x33cd21[_0x2f1887(0x184)]=_0x444ef1,_0x33cd21[_0x2f1887(0x188)]=this['eventUrl'],_0x33cd21;}else _0x11b1d3=this[_0x2f1887(0x18a)][_0x2f1887(0x111)](0x0,BATCH_SIZE),this[_0x2f1887(0x18a)][_0x2f1887(0x13a)](0x0,BATCH_SIZE),this[_0x2f1887(0x169)]();}const _0x350957={};return _0x350957['shouldProceed']=_0x2cde1d,_0x350957[_0x2f1887(0x184)]=_0x11b1d3,_0x350957[_0x2f1887(0x188)]=this[_0x2f1887(0x14a)],_0x350957;}}else{if(_0x276b72[_0x2f1887(0x164)](_0x276b72['jFoXW'],_0x276b72['jFoXW']))this[_0x2f1887(0x11a)]=!![],this[_0x2f1887(0x16d)]();else{const _0x40d763={};return _0x40d763['shouldProceed']=!![],_0x40d763;}}};[a18_0x3b3377(0x123)]=async()=>{const _0x535f22=a18_0x3b3377,_0x28d451={'VrEDF':function(_0x49af11,_0x88aceb){return _0x49af11(_0x88aceb);},'MZnJO':function(_0x42bf69,_0x1b07b5){return _0x42bf69===_0x1b07b5;},'QKtPd':_0x535f22(0x171),'VhVGg':function(_0x18144a,_0x2274d2){return _0x18144a>_0x2274d2;},'UAgQx':function(_0x589ed9,_0x5c6d0a){return _0x589ed9!==_0x5c6d0a;},'TQXTa':'ZtauD','pCmDD':_0x535f22(0x126),'BYBFR':function(_0x3e38d1,_0x1a4618,_0x139be0,_0x1e7b32){return _0x3e38d1(_0x1a4618,_0x139be0,_0x1e7b32);},'rKsbo':_0x535f22(0x10e)};this['removeEventBatchPolling'](_0x28d451[_0x535f22(0x112)]);while(_0x28d451[_0x535f22(0x143)](this[_0x535f22(0x18a)][_0x535f22(0x13f)],0x0)){if(_0x28d451[_0x535f22(0x144)](_0x28d451[_0x535f22(0x17e)],_0x28d451[_0x535f22(0x168)])){const _0x4bfc72=this[_0x535f22(0x18a)][_0x535f22(0x111)](0x0,BATCH_SIZE);this[_0x535f22(0x18a)]['splice'](0x0,BATCH_SIZE),await _0x28d451[_0x535f22(0x12d)](batchAndPostEvents,this[_0x535f22(0x14a)],_0x28d451[_0x535f22(0x158)],_0x4bfc72);}else{if(this['pollEventBatchInterval']){_0x28d451[_0x535f22(0x166)](_0x14e9a3,this[_0x535f22(0x14c)]),this['pollEventBatchInterval']=null;if(_0x28d451[_0x535f22(0x12e)](_0x3ab126,_0x28d451['QKtPd']))this[_0x535f22(0x11a)]=![];}}}};[a18_0x3b3377(0x16d)]=()=>{const _0x5952ae=a18_0x3b3377,_0x19ae97={'gtbis':_0x5952ae(0x13e),'cKMmE':_0x5952ae(0x13d),'GckpO':_0x5952ae(0x15d),'jvScF':_0x5952ae(0x12a),'XmuUN':_0x5952ae(0x151),'vgxCY':_0x5952ae(0x13b),'RgeSr':_0x5952ae(0x15c),'YhBaj':_0x5952ae(0x133),'uptyU':_0x5952ae(0x13c),'kmyXr':'api/v1/batch','GalLd':function(_0xa3a305,_0x53b4e1){return _0xa3a305===_0x53b4e1;},'ThMez':_0x5952ae(0x10f),'ZtKUn':function(_0x1e2d95,_0x44696f){return _0x1e2d95>_0x44696f;},'ogPHn':_0x5952ae(0x119),'SDuiL':function(_0x3f9760,_0x2ceb30,_0x33c4c6,_0x55a0d2){return _0x3f9760(_0x2ceb30,_0x33c4c6,_0x55a0d2);},'GxVui':_0x5952ae(0x157),'YCoNx':function(_0x37a381,_0x31195f,_0x20058b){return _0x37a381(_0x31195f,_0x20058b);}};this[_0x5952ae(0x14c)]=_0x19ae97[_0x5952ae(0x177)](setInterval,async()=>{const _0x3bd748=_0x5952ae,_0x2334f9={};_0x2334f9[_0x3bd748(0x115)]=_0x19ae97[_0x3bd748(0x116)],_0x2334f9[_0x3bd748(0x120)]=_0x19ae97['cKMmE'],_0x2334f9[_0x3bd748(0x18b)]=_0x19ae97[_0x3bd748(0x121)],_0x2334f9['JWeJb']=_0x19ae97[_0x3bd748(0x118)],_0x2334f9[_0x3bd748(0x12f)]=_0x19ae97['XmuUN'],_0x2334f9[_0x3bd748(0x159)]=_0x19ae97[_0x3bd748(0x173)],_0x2334f9['SNnSu']=_0x19ae97[_0x3bd748(0x11c)],_0x2334f9[_0x3bd748(0x154)]=_0x19ae97[_0x3bd748(0x138)],_0x2334f9[_0x3bd748(0x17c)]=_0x19ae97[_0x3bd748(0x11d)],_0x2334f9['IassL']=_0x19ae97[_0x3bd748(0x122)];const _0x2cc272=_0x2334f9;if(_0x19ae97['GalLd'](_0x19ae97[_0x3bd748(0x132)],_0x19ae97[_0x3bd748(0x132)])){if(_0x19ae97[_0x3bd748(0x149)](this[_0x3bd748(0x18a)][_0x3bd748(0x13f)],0x0)){if(_0x19ae97[_0x3bd748(0x11b)](_0x19ae97[_0x3bd748(0x14e)],_0x19ae97['ogPHn'])){const _0x9b26b3=this[_0x3bd748(0x18a)]['slice'](0x0,BATCH_SIZE);this[_0x3bd748(0x18a)]['splice'](0x0,BATCH_SIZE),await _0x19ae97[_0x3bd748(0x137)](batchAndPostEvents,this[_0x3bd748(0x14a)],_0x19ae97[_0x3bd748(0x185)],_0x9b26b3);}else{const _0x42eafa={};return _0x42eafa[_0x3bd748(0x152)]=!![],_0x42eafa;}}}else{const _0x32c41e=_0x2cc272[_0x3bd748(0x115)][_0x3bd748(0x147)]('|');let _0x50ef8c=0x0;while(!![]){switch(_0x32c41e[_0x50ef8c++]){case'0':this[_0x3bd748(0x15f)]=[_0x2cc272[_0x3bd748(0x120)],_0x2cc272[_0x3bd748(0x18b)],_0x2cc272[_0x3bd748(0x176)],_0x2cc272[_0x3bd748(0x12f)],_0x2cc272[_0x3bd748(0x159)],_0x2cc272[_0x3bd748(0x189)],_0x2cc272[_0x3bd748(0x154)]];continue;case'1':this[_0x3bd748(0x14c)]=null;continue;case'2':this[_0x3bd748(0x11a)]=![];continue;case'3':this['screenshotEventUrl']=_0x2cc272['ayNed'];continue;case'4':this[_0x3bd748(0x18a)]=[];continue;case'5':this[_0x3bd748(0x14a)]=_0x2cc272[_0x3bd748(0x129)];continue;}break;}}},BATCH_INTERVAL);};[a18_0x3b3377(0x169)]=()=>{const _0x35ee8f=a18_0x3b3377,_0x49bfd5={};_0x49bfd5[_0x35ee8f(0x141)]=_0x35ee8f(0x114);const _0x289b3e=_0x49bfd5;this[_0x35ee8f(0x16a)](_0x289b3e[_0x35ee8f(0x141)]),this[_0x35ee8f(0x16d)]();};[a18_0x3b3377(0x16a)]=_0xc9b0dd=>{const _0x2420e9=a18_0x3b3377,_0x35f499={'bpVRk':function(_0x152c56,_0x23feac){return _0x152c56>=_0x23feac;},'HGuaj':function(_0x2e0965,_0x30f96b){return _0x2e0965===_0x30f96b;},'rRkkY':_0x2420e9(0x127),'OKNFa':function(_0x26ea04,_0x27c09d){return _0x26ea04(_0x27c09d);},'LNlzb':function(_0x9c5787,_0x36e94e){return _0x9c5787===_0x36e94e;},'obFax':_0x2420e9(0x171)};if(this[_0x2420e9(0x14c)]){if(_0x35f499[_0x2420e9(0x156)](_0x35f499[_0x2420e9(0x17f)],_0x35f499[_0x2420e9(0x17f)])){_0x35f499[_0x2420e9(0x14b)](clearInterval,this[_0x2420e9(0x14c)]),this[_0x2420e9(0x14c)]=null;if(_0x35f499['LNlzb'](_0xc9b0dd,_0x35f499[_0x2420e9(0x134)]))this[_0x2420e9(0x11a)]=![];}else return _0x35f499[_0x2420e9(0x170)](this[_0x2420e9(0x18a)][_0x2420e9(0x13f)],_0x54add8);}};[a18_0x3b3377(0x152)]=()=>{const _0xf5f228=a18_0x3b3377,_0x34f214={};_0x34f214['eosXJ']=function(_0x1b0f58,_0x11aa71){return _0x1b0f58>=_0x11aa71;};const _0x1bfc84=_0x34f214;return _0x1bfc84['eosXJ'](this['queue'][_0xf5f228(0x13f)],BATCH_SIZE);};}module[a18_0x3b3377(0x11e)]=RequestQueueHandler;
1
+ function a18_0x9352(_0x5f175c,_0x5090a6){const _0x185a8f=a18_0x185a();return a18_0x9352=function(_0x935271,_0x5c58eb){_0x935271=_0x935271-0x115;let _0x279f82=_0x185a8f[_0x935271];return _0x279f82;},a18_0x9352(_0x5f175c,_0x5090a6);}const a18_0x1a96de=a18_0x9352;function a18_0x185a(){const _0x2ea9d2=['JhLip','112997nSRHRH','YqHeH','XuKDM','CBTSessionCreated','CcYhK','wLDTO','api/v1/batch','hmwVR','AgfBJ','EqIcN','GLKfu','ZkLjY','5|3|0|4|1|2','2177376vXFGfJ','561812piYnbx','REMOVING','TestRunStarted','oUBdG','logs','dBcrN','piogR','startEventBatchPolling','uEsKA','aasDR','Oygem','DGapM','includes','shouldProceed','qYGMe','ZRMRU','TestRunSkipped','tCnUy','nIcub','1659kJQYGK','proceedWithUrl','removeEventBatchPolling','BtqeS','YtadG','4981068rzPsih','281388LUlaka','UJxhQ','YIRPH','dAkOl','781TIxaFW','lExuS','PrsDb','pollEventBatchInterval','xvsXc','9656XjGBgi','zckeX','HookRunFinished','TestRunFinished','WcIiP','RESETTING','queue','add','uyKFx','splice','jhuZb','Interval-Queue','lYmXN','event_type','10EQFqXQ','aRLzY','screenshotEventUrl','zEgNV','ShCXr','started','KbKdr','api/v1/screenshots','xzXsV','znlRI','VSzCU','cBxKE','ExApK','5LMznNU','MPWHT','push','kind','exports','ZVPHx','jiYki','12AoJvsE','AwvMd','ItJnw','BATCH_EVENT_TYPES','eventUrl','./helper','AyGEl','qBjxt','length','KJsev','TEST_SCREENSHOT','MDxPA','split','PwYhZ','proceedWithData','resetEventBatchPolling','LogCreated','slice','AxnQx','cWJdV','MfCBh','shutdown','fRJUm','3|4|1|2|5|0','xPheT','TyBwX','bSkEm','6543711KEfYtC','HookRunStarted'];a18_0x185a=function(){return _0x2ea9d2;};return a18_0x185a();}(function(_0x2ef6eb,_0xca3ea2){const _0x272d43=a18_0x9352,_0x4f3761=_0x2ef6eb();while(!![]){try{const _0x23dc44=parseInt(_0x272d43(0x173))/0x1*(parseInt(_0x272d43(0x155))/0x2)+-parseInt(_0x272d43(0x180))/0x3+parseInt(_0x272d43(0x181))/0x4*(parseInt(_0x272d43(0x14e))/0x5)+-parseInt(_0x272d43(0x129))/0x6+-parseInt(_0x272d43(0x124))/0x7*(-parseInt(_0x272d43(0x133))/0x8)+-parseInt(_0x272d43(0x170))/0x9*(parseInt(_0x272d43(0x141))/0xa)+-parseInt(_0x272d43(0x12e))/0xb*(-parseInt(_0x272d43(0x12a))/0xc);if(_0x23dc44===_0xca3ea2)break;else _0x4f3761['push'](_0x4f3761['shift']());}catch(_0x347744){_0x4f3761['push'](_0x4f3761['shift']());}}}(a18_0x185a,0x76bb4));const {BATCH_SIZE,BATCH_INTERVAL,consoleHolder}=require('./constants'),{debug,batchAndPostEvents}=require(a18_0x1a96de(0x15a));class RequestQueueHandler{constructor(){const _0x2b8f34=a18_0x1a96de,_0x8d02cb={};_0x8d02cb['AwvMd']=_0x2b8f34(0x16c),_0x8d02cb['MPWHT']='api/v1/batch',_0x8d02cb[_0x2b8f34(0x168)]=_0x2b8f34(0x148),_0x8d02cb[_0x2b8f34(0x11f)]='LogCreated',_0x8d02cb['EqIcN']=_0x2b8f34(0x176),_0x8d02cb[_0x2b8f34(0x119)]=_0x2b8f34(0x136),_0x8d02cb[_0x2b8f34(0x17e)]=_0x2b8f34(0x121),_0x8d02cb[_0x2b8f34(0x184)]='HookRunFinished',_0x8d02cb[_0x2b8f34(0x145)]=_0x2b8f34(0x183),_0x8d02cb[_0x2b8f34(0x147)]='HookRunStarted';const _0x446408=_0x8d02cb,_0x57d505=_0x446408[_0x2b8f34(0x156)][_0x2b8f34(0x161)]('|');let _0x74d978=0x0;while(!![]){switch(_0x57d505[_0x74d978++]){case'0':this[_0x2b8f34(0x131)]=null;continue;case'1':this[_0x2b8f34(0x159)]=_0x446408[_0x2b8f34(0x14f)];continue;case'2':this['screenshotEventUrl']=_0x446408['cWJdV'];continue;case'3':this[_0x2b8f34(0x139)]=[];continue;case'4':this[_0x2b8f34(0x146)]=![];continue;case'5':this[_0x2b8f34(0x158)]=[_0x446408['qYGMe'],_0x446408[_0x2b8f34(0x17c)],_0x446408[_0x2b8f34(0x119)],_0x446408['ZkLjY'],_0x446408[_0x2b8f34(0x184)],_0x446408['ShCXr'],_0x446408['KbKdr']];continue;}break;}}['start']=()=>{const _0x32dacd=a18_0x1a96de,_0x5d799b={};_0x5d799b[_0x32dacd(0x12b)]=function(_0x4948cb,_0x385f31){return _0x4948cb!==_0x385f31;},_0x5d799b[_0x32dacd(0x157)]=_0x32dacd(0x14c),_0x5d799b['aasDR']=_0x32dacd(0x12c);const _0x208800=_0x5d799b;if(!this['started']){if(_0x208800[_0x32dacd(0x12b)](_0x208800['ItJnw'],_0x208800[_0x32dacd(0x11a)]))this[_0x32dacd(0x146)]=!![],this[_0x32dacd(0x118)]();else{const _0x38622a={};return _0x38622a[_0x32dacd(0x11e)]=!![],_0x38622a[_0x32dacd(0x163)]=[_0x51bbac],_0x38622a['proceedWithUrl']=this[_0x32dacd(0x143)],_0x38622a;}}};[a18_0x1a96de(0x13a)]=_0x396c7a=>{const _0x190eec=a18_0x1a96de,_0x3fb8c2={'vUluY':function(_0x5c29e8,_0x2c5794){return _0x5c29e8(_0x2c5794);},'BXrEt':function(_0x2121c8,_0x370eef){return _0x2121c8===_0x370eef;},'MDxPA':_0x190eec(0x182),'DGapM':_0x190eec(0x138),'xPheT':function(_0x418b38,_0x207b4f){return _0x418b38>=_0x207b4f;},'tBDVG':function(_0x2dc47a,_0x2ee5ad){return _0x2dc47a===_0x2ee5ad;},'VSzCU':_0x190eec(0x142),'nIcub':_0x190eec(0x178),'tCnUy':function(_0x5e8459,_0x4f0c19){return _0x5e8459===_0x4f0c19;},'tlvQq':_0x190eec(0x15f),'HFckK':function(_0x9ecb7a,_0x597755){return _0x9ecb7a!==_0x597755;},'CcYhK':'uGusx','dXTyi':_0x190eec(0x130),'zEgNV':_0x190eec(0x153),'fRJUm':_0x190eec(0x162)};if(this['BATCH_EVENT_TYPES'][_0x190eec(0x11d)](_0x396c7a[_0x190eec(0x140)])){if(_0x3fb8c2['tBDVG'](_0x3fb8c2[_0x190eec(0x14b)],_0x3fb8c2[_0x190eec(0x123)]))this['started']=!![],this['startEventBatchPolling']();else{if(_0x396c7a['logs']&&_0x396c7a['logs'][0x0]&&_0x3fb8c2[_0x190eec(0x122)](_0x396c7a[_0x190eec(0x115)][0x0][_0x190eec(0x151)],_0x3fb8c2['tlvQq'])){if(_0x3fb8c2['HFckK'](_0x3fb8c2[_0x190eec(0x177)],_0x3fb8c2[_0x190eec(0x177)])){_0x3fb8c2['vUluY'](_0x27a300,this[_0x190eec(0x131)]),this[_0x190eec(0x131)]=null;if(_0x3fb8c2['BXrEt'](_0x175b2e,_0x3fb8c2[_0x190eec(0x160)]))this['started']=![];}else{const _0x11be7e={};return _0x11be7e['shouldProceed']=!![],_0x11be7e['proceedWithData']=[_0x396c7a],_0x11be7e['proceedWithUrl']=this[_0x190eec(0x143)],_0x11be7e;}}this[_0x190eec(0x139)][_0x190eec(0x150)](_0x396c7a);let _0x1993ca=null,_0x24b78b=this[_0x190eec(0x11e)]();_0x24b78b&&(_0x3fb8c2['HFckK'](_0x3fb8c2['dXTyi'],_0x3fb8c2[_0x190eec(0x144)])?(_0x1993ca=this['queue'][_0x190eec(0x166)](0x0,BATCH_SIZE),this[_0x190eec(0x139)][_0x190eec(0x13c)](0x0,BATCH_SIZE),this[_0x190eec(0x164)]()):(this[_0x190eec(0x126)](_0x3fb8c2[_0x190eec(0x11c)]),this['startEventBatchPolling']()));const _0x61ff9a={};return _0x61ff9a[_0x190eec(0x11e)]=_0x24b78b,_0x61ff9a['proceedWithData']=_0x1993ca,_0x61ff9a['proceedWithUrl']=this[_0x190eec(0x159)],_0x61ff9a;}}else{if(_0x3fb8c2['tBDVG'](_0x3fb8c2['fRJUm'],_0x3fb8c2[_0x190eec(0x16b)])){const _0x59c26f={};return _0x59c26f[_0x190eec(0x11e)]=!![],_0x59c26f;}else return _0x3fb8c2[_0x190eec(0x16d)](this[_0x190eec(0x139)][_0x190eec(0x15d)],_0x418d05);}};[a18_0x1a96de(0x16a)]=async()=>{const _0x55cb4c=a18_0x1a96de,_0x18204a={'fKHLO':_0x55cb4c(0x17f),'XuKDM':_0x55cb4c(0x179),'lExuS':_0x55cb4c(0x165),'hmwVR':_0x55cb4c(0x176),'uyKFx':'TestRunFinished','YVdvI':_0x55cb4c(0x121),'xvsXc':_0x55cb4c(0x135),'xzXsV':'TestRunStarted','AyGEl':_0x55cb4c(0x171),'jiYki':_0x55cb4c(0x148),'AxnQx':'REMOVING','TyBwX':function(_0x254e3f,_0x3fff68){return _0x254e3f>_0x3fff68;},'lYmXN':function(_0x4ff52e,_0x4496ad){return _0x4ff52e===_0x4496ad;},'qBjxt':_0x55cb4c(0x134),'FToKR':function(_0x54c012,_0x1eb502,_0x1aeb97,_0xdd5bb6){return _0x54c012(_0x1eb502,_0x1aeb97,_0xdd5bb6);},'Xrbze':'Shutdown-Queue'};this['removeEventBatchPolling'](_0x18204a[_0x55cb4c(0x167)]);while(_0x18204a[_0x55cb4c(0x16e)](this[_0x55cb4c(0x139)][_0x55cb4c(0x15d)],0x0)){if(_0x18204a[_0x55cb4c(0x13f)](_0x18204a[_0x55cb4c(0x15c)],_0x18204a[_0x55cb4c(0x15c)])){const _0x478c47=this[_0x55cb4c(0x139)][_0x55cb4c(0x166)](0x0,BATCH_SIZE);this[_0x55cb4c(0x139)][_0x55cb4c(0x13c)](0x0,BATCH_SIZE),await _0x18204a['FToKR'](batchAndPostEvents,this[_0x55cb4c(0x159)],_0x18204a['Xrbze'],_0x478c47);}else{const _0x4711cf=_0x18204a['fKHLO'][_0x55cb4c(0x161)]('|');let _0x1af2d3=0x0;while(!![]){switch(_0x4711cf[_0x1af2d3++]){case'0':this[_0x55cb4c(0x159)]=_0x18204a[_0x55cb4c(0x175)];continue;case'1':this[_0x55cb4c(0x158)]=[_0x18204a[_0x55cb4c(0x12f)],_0x18204a[_0x55cb4c(0x17a)],_0x18204a[_0x55cb4c(0x13b)],_0x18204a['YVdvI'],_0x18204a[_0x55cb4c(0x132)],_0x18204a[_0x55cb4c(0x149)],_0x18204a[_0x55cb4c(0x15b)]];continue;case'2':this[_0x55cb4c(0x131)]=null;continue;case'3':this[_0x55cb4c(0x146)]=![];continue;case'4':this[_0x55cb4c(0x143)]=_0x18204a[_0x55cb4c(0x154)];continue;case'5':this['queue']=[];continue;}break;}}}};['startEventBatchPolling']=()=>{const _0x1ea8de=a18_0x1a96de,_0x44e8d2={'kRFUH':function(_0x1c3bd0,_0x1e2cb8){return _0x1c3bd0(_0x1e2cb8);},'YqHeH':function(_0x6f919,_0x30ed26){return _0x6f919===_0x30ed26;},'lBIUz':_0x1ea8de(0x182),'BtqeS':function(_0x4e1d0f,_0x5e8fc7){return _0x4e1d0f===_0x5e8fc7;},'SthyL':_0x1ea8de(0x15f),'jhuZb':function(_0xc40469,_0x37dd0a){return _0xc40469!==_0x37dd0a;},'lYrOH':'NfMPa','nLHRa':_0x1ea8de(0x14d),'piogR':function(_0x11331b,_0x19aa3a){return _0x11331b>_0x19aa3a;},'GLKfu':'fYXld','dAkOl':function(_0x316458,_0x378a02,_0x2ae3eb,_0x342e3a){return _0x316458(_0x378a02,_0x2ae3eb,_0x342e3a);},'znlRI':_0x1ea8de(0x13e),'YcgMn':function(_0x546475,_0x51f030,_0x5ea529){return _0x546475(_0x51f030,_0x5ea529);}};this[_0x1ea8de(0x131)]=_0x44e8d2['YcgMn'](setInterval,async()=>{const _0x44dde8=_0x1ea8de,_0x514042={'VFfdz':function(_0x4b160b,_0x11683e){const _0x3ae060=a18_0x9352;return _0x44e8d2[_0x3ae060(0x127)](_0x4b160b,_0x11683e);},'MfCBh':_0x44e8d2['SthyL']};if(_0x44e8d2[_0x44dde8(0x13d)](_0x44e8d2['lYrOH'],_0x44e8d2['nLHRa'])){if(_0x44e8d2[_0x44dde8(0x117)](this[_0x44dde8(0x139)]['length'],0x0)){if(_0x44e8d2[_0x44dde8(0x13d)](_0x44e8d2[_0x44dde8(0x17d)],_0x44e8d2[_0x44dde8(0x17d)])){if(_0x13ad4a[_0x44dde8(0x115)]&&_0x3429f3['logs'][0x0]&&_0x514042['VFfdz'](_0x4f35e5[_0x44dde8(0x115)][0x0][_0x44dde8(0x151)],_0x514042[_0x44dde8(0x169)])){const _0x584a1a={};return _0x584a1a[_0x44dde8(0x11e)]=!![],_0x584a1a[_0x44dde8(0x163)]=[_0x447f13],_0x584a1a[_0x44dde8(0x125)]=this['screenshotEventUrl'],_0x584a1a;}this['queue'][_0x44dde8(0x150)](_0xab6978);let _0x5ecb4a=null,_0xbb5256=this[_0x44dde8(0x11e)]();_0xbb5256&&(_0x5ecb4a=this[_0x44dde8(0x139)][_0x44dde8(0x166)](0x0,_0x31a7fa),this[_0x44dde8(0x139)]['splice'](0x0,_0x275cb7),this[_0x44dde8(0x164)]());const _0x1284df={};return _0x1284df['shouldProceed']=_0xbb5256,_0x1284df[_0x44dde8(0x163)]=_0x5ecb4a,_0x1284df[_0x44dde8(0x125)]=this[_0x44dde8(0x159)],_0x1284df;}else{const _0x131f5a=this[_0x44dde8(0x139)][_0x44dde8(0x166)](0x0,BATCH_SIZE);this[_0x44dde8(0x139)][_0x44dde8(0x13c)](0x0,BATCH_SIZE),await _0x44e8d2[_0x44dde8(0x12d)](batchAndPostEvents,this[_0x44dde8(0x159)],_0x44e8d2[_0x44dde8(0x14a)],_0x131f5a);}}}else{if(this['pollEventBatchInterval']){_0x44e8d2['kRFUH'](_0xbe3117,this[_0x44dde8(0x131)]),this['pollEventBatchInterval']=null;if(_0x44e8d2[_0x44dde8(0x174)](_0x4c12b0,_0x44e8d2['lBIUz']))this['started']=![];}}},BATCH_INTERVAL);};[a18_0x1a96de(0x164)]=()=>{const _0x26217b=a18_0x1a96de,_0x5d7b6b={};_0x5d7b6b[_0x26217b(0x15e)]='RESETTING';const _0x24e63c=_0x5d7b6b;this[_0x26217b(0x126)](_0x24e63c['KJsev']),this[_0x26217b(0x118)]();};[a18_0x1a96de(0x126)]=_0x5ccf91=>{const _0x52d4df=a18_0x1a96de,_0x261c39={'WcIiP':function(_0x1fb808,_0x2ae232){return _0x1fb808===_0x2ae232;},'JhLip':_0x52d4df(0x11b),'nZLqn':_0x52d4df(0x120),'AgfBJ':function(_0x2aff96,_0x306510){return _0x2aff96(_0x306510);},'bSkEm':function(_0x2aedaf,_0x50aea4){return _0x2aedaf===_0x50aea4;},'dBcrN':_0x52d4df(0x182)};if(this[_0x52d4df(0x131)]){if(_0x261c39[_0x52d4df(0x137)](_0x261c39[_0x52d4df(0x172)],_0x261c39['nZLqn']))!this[_0x52d4df(0x146)]&&(this['started']=!![],this[_0x52d4df(0x118)]());else{_0x261c39[_0x52d4df(0x17b)](clearInterval,this[_0x52d4df(0x131)]),this[_0x52d4df(0x131)]=null;if(_0x261c39[_0x52d4df(0x16f)](_0x5ccf91,_0x261c39[_0x52d4df(0x116)]))this[_0x52d4df(0x146)]=![];}}};[a18_0x1a96de(0x11e)]=()=>{const _0xfc49ac=a18_0x1a96de,_0x53134f={};_0x53134f['YtadG']=function(_0x918ebd,_0x2b50ff){return _0x918ebd>=_0x2b50ff;};const _0x118ee1=_0x53134f;return _0x118ee1[_0xfc49ac(0x128)](this['queue'][_0xfc49ac(0x15d)],BATCH_SIZE);};}module[a18_0x1a96de(0x152)]=RequestQueueHandler;
@@ -1 +1 @@
1
- const a19_0x31b9ec=a19_0xcdcc;(function(_0x1da0e4,_0x31b1cf){const _0x1280d0=a19_0xcdcc,_0x312f27=_0x1da0e4();while(!![]){try{const _0x88b660=-parseInt(_0x1280d0(0x11b))/0x1+-parseInt(_0x1280d0(0x138))/0x2+parseInt(_0x1280d0(0x13e))/0x3+parseInt(_0x1280d0(0x111))/0x4+-parseInt(_0x1280d0(0x126))/0x5+parseInt(_0x1280d0(0x134))/0x6*(-parseInt(_0x1280d0(0x128))/0x7)+parseInt(_0x1280d0(0x132))/0x8;if(_0x88b660===_0x31b1cf)break;else _0x312f27['push'](_0x312f27['shift']());}catch(_0x221df7){_0x312f27['push'](_0x312f27['shift']());}}}(a19_0x111a,0xbde8b));const {sendPlatformDetails,isTestObservabilitySession,isBrowserstackInfra}=require(a19_0x31b9ec(0x109));function a19_0xcdcc(_0x16eb57,_0x57acb5){const _0x111a3f=a19_0x111a();return a19_0xcdcc=function(_0xcdcc67,_0x1061a9){_0xcdcc67=_0xcdcc67-0x104;let _0x174f57=_0x111a3f[_0xcdcc67];return _0x174f57;},a19_0xcdcc(_0x16eb57,_0x57acb5);}function a19_0x111a(){const _0x1ec750=['testAnalyticsId','6kJExie','yUbPw','state','message','281604IoZzhT','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','MTDjl','executeScript','Failed:\x20','ddDLL','2598750rqZjhI','OKNUi','DFoDi','err','lCEAp','join','push','__drivers','../mocha/test-observability/helper','__sessionNameProvided','pEhGX','now','titlePath','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','quitCount_','timeout','248376rgMUYO','session_','cbawM','\x20|\x20','then','mochaHooks','eChJm','bmdTp','eDRri','info','1133644vRPBFY',',\x22level\x22:\x20\x22','lKFmI','nSbMZ','driverCleanup','currentTest','sessionNameSet__','\x22}}','pwiBH','__sessionFailed','JMjWl','6787355synyYy','shift','3578449SDXNSY','BUxzq','quit','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','rsMLz','oJzxa','length','__error_messages__','stringify','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','23941176dNPigO'];a19_0x111a=function(){return _0x1ec750;};return a19_0x111a();}exports[a19_0x31b9ec(0x116)]={'beforeAll'(){const _0x444425=a19_0x31b9ec,_0x2433f8={'nSbMZ':_0x444425(0x114),'ddDLL':function(_0x159a7c){return _0x159a7c();},'MTDjl':function(_0x4f935b,_0xc0303f,_0x3fe4a0){return _0x4f935b(_0xc0303f,_0x3fe4a0);}},_0x5db239='browserstack internal helper hook';global[_0x444425(0x12f)]=[],global[_0x444425(0x108)]=[],global['__sessionFailed']=![],global[_0x444425(0x11f)]=async()=>{const _0x1d6195=_0x444425;let _0x562909=![];try{await global[_0x1d6195(0x108)][0x0][_0x1d6195(0x112)],_0x562909=!![],global[_0x1d6195(0x124)]?await global[_0x1d6195(0x108)][0x0][_0x1d6195(0x13b)](_0x1d6195(0x10e)+JSON[_0x1d6195(0x130)](global[_0x1d6195(0x12f)][_0x1d6195(0x106)](_0x2433f8[_0x1d6195(0x11e)]))+'}}'):await global['__drivers'][0x0][_0x1d6195(0x13b)](_0x1d6195(0x12b));}catch(_0xc28256){}global[_0x1d6195(0x12f)]=[],global[_0x1d6195(0x124)]=![];if(_0x562909)try{try{if(_0x2433f8[_0x1d6195(0x13d)](isTestObservabilitySession)){if(global['__drivers'][0x0])await _0x2433f8[_0x1d6195(0x13a)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1d6195(0x120)]?this['currentTest'][_0x1d6195(0x133)]:null);}}catch{}await global[_0x1d6195(0x108)][0x0][_0x1d6195(0x12a)]();}catch(_0x2c7990){}};},'beforeEach'(_0x232e06){const _0x141c26=a19_0x31b9ec,_0x24d43b={'DFoDi':function(_0x476dda,_0x38b64a){return _0x476dda>_0x38b64a;},'OKNUi':function(_0x15edc7,_0x200ca3){return _0x15edc7>_0x200ca3;},'pEhGX':function(_0x11792a){return _0x11792a();}};new Promise(async _0x40c424=>{const _0xebdc24=a19_0xcdcc,_0x4f0849='browserstack internal helper hook';try{_0x24d43b[_0xebdc24(0x140)](global[_0xebdc24(0x108)][_0xebdc24(0x12e)],0x1)&&(await global[_0xebdc24(0x11f)](),global[_0xebdc24(0x108)][_0xebdc24(0x127)]());if(_0x24d43b[_0xebdc24(0x13f)](global[_0xebdc24(0x108)][0x0][_0xebdc24(0x10f)],0x0))await global['driverCleanup']();}catch{}_0x24d43b[_0xebdc24(0x10b)](_0x40c424);})[_0x141c26(0x115)](_0x232e06);},'afterEach'(_0xabcf73){const _0x5b45d0=a19_0x31b9ec,_0x2e55af={'eChJm':function(_0x48e351,_0x320c58){return _0x48e351>_0x320c58;},'pBHus':'\x20-\x20','pwiBH':function(_0x39d2a2,_0x5af53a){return _0x39d2a2!==_0x5af53a;},'oJzxa':'passed','yUbPw':function(_0x585902,_0x138657,_0xd85acf){return _0x585902(_0x138657,_0xd85acf);},'HDpNM':function(_0x549464,_0x42107a){return _0x549464+_0x42107a;},'GhNHJ':_0x5b45d0(0x13c),'bmdTp':'error','rsMLz':'Passed','JXLfX':_0x5b45d0(0x11a),'bafAC':function(_0x29d555){return _0x29d555();},'lKFmI':function(_0x206650,_0x4baa58,_0x1b84b6){return _0x206650(_0x4baa58,_0x1b84b6);},'BUxzq':function(_0x335030,_0x1aa218,_0x33b976){return _0x335030(_0x1aa218,_0x33b976);},'eDRri':'debug','lCEAp':function(_0xab919,_0x5bcba0){return _0xab919>_0x5bcba0;},'cbawM':function(_0x15baab){return _0x15baab();}},_0x5d4925='browserstack internal helper hook';this['timeout'](0xfde8);const _0x2ae2fd=async(_0x59c9e2,_0x2c714f)=>{const _0x5dc40d=_0x5b45d0;await global[_0x5dc40d(0x108)][0x0]['executeScript'](_0x5dc40d(0x139)+_0x59c9e2+_0x5dc40d(0x11c)+_0x2c714f+_0x5dc40d(0x122));};new Promise(async _0x360e5c=>{const _0x192ab4=_0x5b45d0;try{_0x2e55af[_0x192ab4(0x117)](global[_0x192ab4(0x108)][_0x192ab4(0x12e)],0x1)&&(await global['driverCleanup'](),global[_0x192ab4(0x108)][_0x192ab4(0x127)](),global[_0x192ab4(0x12f)]=[],global[_0x192ab4(0x124)]=![]);!global[_0x192ab4(0x10a)]&&(await global[_0x192ab4(0x108)][0x0][_0x192ab4(0x13b)](_0x192ab4(0x131)+JSON[_0x192ab4(0x130)](this['currentTest'][_0x192ab4(0x10d)]()[_0x192ab4(0x106)](_0x2e55af['pBHus']))+'}}'),global[_0x192ab4(0x108)][0x0][_0x192ab4(0x121)]=!![]);const _0x1309fe=_0x2e55af[_0x192ab4(0x123)](this[_0x192ab4(0x120)][_0x192ab4(0x136)],_0x2e55af[_0x192ab4(0x12d)]);_0x1309fe?(global[_0x192ab4(0x124)]=!![],global[_0x192ab4(0x12f)][_0x192ab4(0x107)](this['currentTest']['err'][_0x192ab4(0x137)]),await _0x2e55af[_0x192ab4(0x135)](_0x2ae2fd,JSON[_0x192ab4(0x130)](_0x2e55af['HDpNM'](_0x2e55af['GhNHJ'],this['currentTest'][_0x192ab4(0x104)][_0x192ab4(0x137)])),_0x2e55af[_0x192ab4(0x118)])):await _0x2e55af[_0x192ab4(0x135)](_0x2ae2fd,JSON[_0x192ab4(0x130)](_0x2e55af[_0x192ab4(0x12c)]),_0x2e55af['JXLfX']);}catch(_0x138d16){}try{try{if(_0x2e55af['bafAC'](isTestObservabilitySession)){if(global[_0x192ab4(0x108)][0x0])await _0x2e55af[_0x192ab4(0x11d)](sendPlatformDetails,global[_0x192ab4(0x108)][0x0],this[_0x192ab4(0x120)]?this['currentTest']['testAnalyticsId']:null);if(_0x2e55af['bafAC'](isBrowserstackInfra)){const _0x6f772d='ObservabilitySync:'+Date[_0x192ab4(0x10c)]();await _0x2e55af[_0x192ab4(0x129)](_0x2ae2fd,JSON[_0x192ab4(0x130)](_0x6f772d),_0x2e55af[_0x192ab4(0x119)]);}}}catch{}if(_0x2e55af[_0x192ab4(0x105)](global[_0x192ab4(0x108)][0x0][_0x192ab4(0x10f)],0x0))await global[_0x192ab4(0x11f)]();}catch(_0x55d12a){}_0x2e55af[_0x192ab4(0x113)](_0x360e5c);})['then'](()=>_0xabcf73());},'afterAll'(_0x5aba83){const _0x2a34b6=a19_0x31b9ec,_0x349168={'JMjWl':function(_0x20b535){return _0x20b535();}},_0x2cc510='browserstack internal helper hook';this[_0x2a34b6(0x110)](0xfde8),new Promise(async _0x31a7b8=>{const _0x54a943=_0x2a34b6;await global['driverCleanup'](),_0x349168[_0x54a943(0x125)](_0x31a7b8);})[_0x2a34b6(0x115)](()=>_0x5aba83());}};
1
+ const a19_0x5f310e=a19_0x12e8;(function(_0x4e57a3,_0x9e2aae){const _0x539147=a19_0x12e8,_0x127407=_0x4e57a3();while(!![]){try{const _0x1b59c9=-parseInt(_0x539147(0x206))/0x1*(-parseInt(_0x539147(0x1ec))/0x2)+-parseInt(_0x539147(0x20e))/0x3+-parseInt(_0x539147(0x1fb))/0x4+parseInt(_0x539147(0x214))/0x5+-parseInt(_0x539147(0x20a))/0x6+parseInt(_0x539147(0x20f))/0x7+parseInt(_0x539147(0x203))/0x8*(-parseInt(_0x539147(0x1f8))/0x9);if(_0x1b59c9===_0x9e2aae)break;else _0x127407['push'](_0x127407['shift']());}catch(_0x3f9678){_0x127407['push'](_0x127407['shift']());}}}(a19_0x237d,0x75012));function a19_0x12e8(_0x21c8e9,_0x4c0031){const _0x237d13=a19_0x237d();return a19_0x12e8=function(_0x12e8f0,_0x1cfa02){_0x12e8f0=_0x12e8f0-0x1d6;let _0x38d14d=_0x237d13[_0x12e8f0];return _0x38d14d;},a19_0x12e8(_0x21c8e9,_0x4c0031);}function a19_0x237d(){const _0x3b697f=['currentTest','executeScript','driverCleanup','mochaHooks','shift','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','16PDMXpv','info','session_','4750qjvJNT','then','titlePath','UXWIl','1137810ZjJIHb','__error_messages__','kfeuG','FCGuh','2008002Xzyapn','5277384NQFRKz','message','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Failed:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','1875785pBDiyj','join','length','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','testAnalyticsId','RoLVA','__drivers','YDAnk',',\x22level\x22:\x20\x22','aYlGS','wwVhP','VGJMS','debug','\x22}}','dmBot','now','\x20|\x20','__sessionNameProvided','plgrV','gGHgd','timeout','quit','nRdOs','MKRLA','310nqNguj','__sessionFailed','quitCount_','tGIai','wtzUO','ObservabilitySync:','sessionNameSet__','iFIRG','mXknj','stringify','ZUesw','\x20-\x20','835137ZZjZhS','err','push','1366056unjKeN','state'];a19_0x237d=function(){return _0x3b697f;};return a19_0x237d();}const {sendPlatformDetails,isTestObservabilitySession,isBrowserstackInfra}=require('../mocha/test-observability/helper');exports[a19_0x5f310e(0x200)]={'beforeAll'(){const _0x25a9e5=a19_0x5f310e,_0x40ce3b={'gAlNR':_0x25a9e5(0x1e4),'MKRLA':function(_0x4b4f69){return _0x4b4f69();},'wtzUO':function(_0x3b64f3,_0x3a6032,_0x4cf3b7){return _0x3b64f3(_0x3a6032,_0x4cf3b7);}},_0x440170='browserstack internal helper hook';global['__error_messages__']=[],global[_0x25a9e5(0x1da)]=[],global[_0x25a9e5(0x1ed)]=![],global[_0x25a9e5(0x1ff)]=async()=>{const _0x1cd0b6=_0x25a9e5;let _0x14f1b4=![];try{await global['__drivers'][0x0][_0x1cd0b6(0x205)],_0x14f1b4=!![],global[_0x1cd0b6(0x1ed)]?await global[_0x1cd0b6(0x1da)][0x0][_0x1cd0b6(0x1fe)](_0x1cd0b6(0x213)+JSON[_0x1cd0b6(0x1f5)](global[_0x1cd0b6(0x20b)][_0x1cd0b6(0x215)](_0x40ce3b['gAlNR']))+'}}'):await global[_0x1cd0b6(0x1da)][0x0][_0x1cd0b6(0x1fe)](_0x1cd0b6(0x202));}catch(_0x3406fa){}global['__error_messages__']=[],global[_0x1cd0b6(0x1ed)]=![];if(_0x14f1b4)try{try{if(_0x40ce3b[_0x1cd0b6(0x1eb)](isTestObservabilitySession)){if(global[_0x1cd0b6(0x1da)][0x0])await _0x40ce3b[_0x1cd0b6(0x1f0)](sendPlatformDetails,global[_0x1cd0b6(0x1da)][0x0],this[_0x1cd0b6(0x1fd)]?this['currentTest']['testAnalyticsId']:null);}}catch{}await global[_0x1cd0b6(0x1da)][0x0][_0x1cd0b6(0x1e9)]();}catch(_0x47998c){}};},'beforeEach'(_0x549a9c){const _0x26a93f=a19_0x5f310e,_0x586236={'uewfD':function(_0x20429e,_0x13ab3b){return _0x20429e>_0x13ab3b;},'ZUesw':function(_0x1ba468,_0x38d99c){return _0x1ba468>_0x38d99c;},'wwVhP':function(_0x13e90a){return _0x13e90a();}};new Promise(async _0x2fa29e=>{const _0x19c844=a19_0x12e8,_0x7dcd85='browserstack internal helper hook';try{_0x586236['uewfD'](global['__drivers'][_0x19c844(0x1d6)],0x1)&&(await global[_0x19c844(0x1ff)](),global[_0x19c844(0x1da)]['shift']());if(_0x586236[_0x19c844(0x1f6)](global[_0x19c844(0x1da)][0x0]['quitCount_'],0x0))await global[_0x19c844(0x1ff)]();}catch{}_0x586236[_0x19c844(0x1de)](_0x2fa29e);})[_0x26a93f(0x207)](_0x549a9c);},'afterEach'(_0x14aff5){const _0x359992=a19_0x5f310e,_0x138bfa={'plgrV':function(_0xea0747,_0x59e70c){return _0xea0747>_0x59e70c;},'YDAnk':_0x359992(0x1f7),'gGHgd':function(_0x346017,_0x5578cf){return _0x346017!==_0x5578cf;},'iFIRG':'passed','NXUzt':function(_0x2a8bf0,_0x3bb9e8,_0x5c4b79){return _0x2a8bf0(_0x3bb9e8,_0x5c4b79);},'UXWIl':function(_0x31a59e,_0x29429e){return _0x31a59e+_0x29429e;},'RoLVA':_0x359992(0x212),'kfeuG':'error','qaaUa':function(_0x12670,_0xf7cdc0,_0xfd338f){return _0x12670(_0xf7cdc0,_0xfd338f);},'mXknj':'Passed','aYlGS':_0x359992(0x204),'dmBot':function(_0xfd0194){return _0xfd0194();},'VGJMS':function(_0x22d8ca,_0x1709f8,_0x4de7cb){return _0x22d8ca(_0x1709f8,_0x4de7cb);},'tGIai':function(_0x4758c5,_0x3d924d,_0x5515a8){return _0x4758c5(_0x3d924d,_0x5515a8);},'FCGuh':_0x359992(0x1e0),'Nwhom':function(_0xaf4daa,_0x73f43a){return _0xaf4daa>_0x73f43a;}},_0x14b10a='browserstack internal helper hook';this[_0x359992(0x1e8)](0xfde8);const _0x240619=async(_0x13be83,_0x93e2b5)=>{const _0x3bfdda=_0x359992;await global['__drivers'][0x0][_0x3bfdda(0x1fe)](_0x3bfdda(0x211)+_0x13be83+_0x3bfdda(0x1dc)+_0x93e2b5+_0x3bfdda(0x1e1));};new Promise(async _0x20b9da=>{const _0x1529cc=_0x359992;try{_0x138bfa[_0x1529cc(0x1e6)](global[_0x1529cc(0x1da)][_0x1529cc(0x1d6)],0x1)&&(await global[_0x1529cc(0x1ff)](),global[_0x1529cc(0x1da)][_0x1529cc(0x201)](),global['__error_messages__']=[],global['__sessionFailed']=![]);!global[_0x1529cc(0x1e5)]&&(await global[_0x1529cc(0x1da)][0x0][_0x1529cc(0x1fe)](_0x1529cc(0x1d7)+JSON[_0x1529cc(0x1f5)](this[_0x1529cc(0x1fd)][_0x1529cc(0x208)]()[_0x1529cc(0x215)](_0x138bfa[_0x1529cc(0x1db)]))+'}}'),global['__drivers'][0x0][_0x1529cc(0x1f2)]=!![]);const _0x4c58f8=_0x138bfa[_0x1529cc(0x1e7)](this[_0x1529cc(0x1fd)][_0x1529cc(0x1fc)],_0x138bfa[_0x1529cc(0x1f3)]);_0x4c58f8?(global[_0x1529cc(0x1ed)]=!![],global[_0x1529cc(0x20b)][_0x1529cc(0x1fa)](this[_0x1529cc(0x1fd)][_0x1529cc(0x1f9)][_0x1529cc(0x210)]),await _0x138bfa['NXUzt'](_0x240619,JSON[_0x1529cc(0x1f5)](_0x138bfa[_0x1529cc(0x209)](_0x138bfa[_0x1529cc(0x1d9)],this[_0x1529cc(0x1fd)]['err'][_0x1529cc(0x210)])),_0x138bfa[_0x1529cc(0x20c)])):await _0x138bfa['qaaUa'](_0x240619,JSON[_0x1529cc(0x1f5)](_0x138bfa[_0x1529cc(0x1f4)]),_0x138bfa[_0x1529cc(0x1dd)]);}catch(_0x214cd){}try{try{if(_0x138bfa[_0x1529cc(0x1e2)](isTestObservabilitySession)){if(global[_0x1529cc(0x1da)][0x0])await _0x138bfa[_0x1529cc(0x1df)](sendPlatformDetails,global[_0x1529cc(0x1da)][0x0],this[_0x1529cc(0x1fd)]?this['currentTest'][_0x1529cc(0x1d8)]:null);if(_0x138bfa[_0x1529cc(0x1e2)](isBrowserstackInfra)){const _0x393546=_0x1529cc(0x1f1)+Date[_0x1529cc(0x1e3)]();await _0x138bfa[_0x1529cc(0x1ef)](_0x240619,JSON[_0x1529cc(0x1f5)](_0x393546),_0x138bfa[_0x1529cc(0x20d)]);}}}catch{}if(_0x138bfa['Nwhom'](global[_0x1529cc(0x1da)][0x0][_0x1529cc(0x1ee)],0x0))await global[_0x1529cc(0x1ff)]();}catch(_0x413d45){}_0x138bfa[_0x1529cc(0x1e2)](_0x20b9da);})['then'](()=>_0x14aff5());},'afterAll'(_0x46e1f5){const _0x118424=a19_0x5f310e,_0xf458fb={'nRdOs':function(_0x18651f){return _0x18651f();}},_0x4c3f66='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x490a6f=>{const _0x359bbb=a19_0x12e8;await global[_0x359bbb(0x1ff)](),_0xf458fb[_0x359bbb(0x1ea)](_0x490a6f);})[_0x118424(0x207)](()=>_0x46e1f5());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a20_0x5bcda4=a20_0x2bb4;(function(_0x4f7442,_0x4e342a){const _0x3a214f=a20_0x2bb4,_0x4b1503=_0x4f7442();while(!![]){try{const _0x1a7b83=parseInt(_0x3a214f(0xda))/0x1+-parseInt(_0x3a214f(0xe1))/0x2+-parseInt(_0x3a214f(0x13d))/0x3+parseInt(_0x3a214f(0x145))/0x4+parseInt(_0x3a214f(0x140))/0x5*(-parseInt(_0x3a214f(0x12e))/0x6)+-parseInt(_0x3a214f(0xde))/0x7+parseInt(_0x3a214f(0x158))/0x8*(parseInt(_0x3a214f(0x102))/0x9);if(_0x1a7b83===_0x4e342a)break;else _0x4b1503['push'](_0x4b1503['shift']());}catch(_0x4cb01c){_0x4b1503['push'](_0x4b1503['shift']());}}}(a20_0x1468,0x2da51));const fs=require('fs'),path=require(a20_0x5bcda4(0x103)),{spawn}=require(a20_0x5bcda4(0x10a)),logger=require(a20_0x5bcda4(0x155))[a20_0x5bcda4(0xdf)],{default:BrowserStackSetup}=require(a20_0x5bcda4(0x11c)),helper=require(a20_0x5bcda4(0x14e)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x429643,_0x33971f)=>{const _0x2a0e3a=a20_0x5bcda4,_0x3734ba={'Ahpee':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','XHdZU':_0x2a0e3a(0xef),'iVKdP':_0x2a0e3a(0x135),'lxOWT':function(_0x4ffdea,_0xd6d90a){return _0x4ffdea+_0xd6d90a;},'ZifLA':_0x2a0e3a(0x10c),'OtgDY':function(_0x3f392e,_0x27fe5f,_0x26f6da){return _0x3f392e(_0x27fe5f,_0x26f6da);},'ilsFP':function(_0x2ced2d,_0x2a568d){return _0x2ced2d(_0x2a568d);},'QuNfI':function(_0x470fb,_0x56d8c4,_0x13087a){return _0x470fb(_0x56d8c4,_0x13087a);},'zlnod':function(_0x4351ad,_0x4df261){return _0x4351ad===_0x4df261;},'AkekR':_0x2a0e3a(0xe4),'basII':function(_0x1e3bc4,_0x2548ae){return _0x1e3bc4===_0x2548ae;},'mRLAn':'DhCBd','KbxsT':function(_0x1fdd60,_0x572484){return _0x1fdd60!==_0x572484;},'SGBHH':'xxBTV','WfUuI':'oamPJ','aYJmF':function(_0x5a3a57,_0x4d2f34){return _0x5a3a57!==_0x4d2f34;},'tRqbE':_0x2a0e3a(0x160),'LeDey':_0x2a0e3a(0x14c),'aAYZG':function(_0x367e7a,_0x5e44b5){return _0x367e7a(_0x5e44b5);},'PSnxv':'TortB','zfpHO':_0x2a0e3a(0x153)};let _0xb463f4=null,_0x288397={};const _0x14461d=_0x33971f[_0x2a0e3a(0x14d)](_0x11610b=>_0x11610b=='--config');if(!helper[_0x2a0e3a(0xd7)](_0x429643[_0x2a0e3a(0x130)])&&fs[_0x2a0e3a(0x11a)](path['join'](process['cwd'](),_0x429643['config'])))_0x3734ba['zlnod'](_0x3734ba[_0x2a0e3a(0xed)],_0x3734ba['AkekR'])?(_0xb463f4=path[_0x2a0e3a(0x114)](process[_0x2a0e3a(0x15d)](),_0x429643['config']),_0x33971f[_0x2a0e3a(0x10b)](_0x14461d,0x2)):_0x17c39e[_0x2a0e3a(0x12c)](_0x3734ba['Ahpee']);else{if(_0x3734ba['basII'](_0x3734ba[_0x2a0e3a(0x106)],_0x3734ba[_0x2a0e3a(0x106)])){if(fs['existsSync'](path['join'](process['cwd'](),_0x3734ba[_0x2a0e3a(0x13c)]))){if(_0x3734ba[_0x2a0e3a(0xe2)](_0x3734ba[_0x2a0e3a(0x110)],_0x3734ba[_0x2a0e3a(0x12f)]))_0xb463f4=path[_0x2a0e3a(0x114)](process[_0x2a0e3a(0x15d)](),_0x3734ba[_0x2a0e3a(0x13c)]);else{if(_0xa32bd[_0x2a0e3a(0x11a)](_0x994e75['join'](_0x1c1f1e['cwd'](),_0x3734ba[_0x2a0e3a(0x13c)])))_0x4a14b0=_0x4ceba9[_0x2a0e3a(0x114)](_0x448cec[_0x2a0e3a(0x15d)](),_0x3734ba[_0x2a0e3a(0x13c)]);else _0x498ead[_0x2a0e3a(0x11a)](_0x4c147f[_0x2a0e3a(0x114)](_0x8be2f8[_0x2a0e3a(0x15d)](),_0x3734ba['iVKdP']))&&(_0x460e7b=_0x173652[_0x2a0e3a(0x114)](_0x4f8a45['cwd'](),_0x3734ba[_0x2a0e3a(0x14b)]));}}else fs['existsSync'](path[_0x2a0e3a(0x114)](process['cwd'](),_0x3734ba[_0x2a0e3a(0x14b)]))&&(_0x3734ba['aYJmF'](_0x3734ba['tRqbE'],_0x3734ba[_0x2a0e3a(0xff)])?_0x5b059c=_0x1b128c[_0x2a0e3a(0x114)](_0x32c90d['cwd'](),_0x3734ba[_0x2a0e3a(0x14b)]):_0xb463f4=path[_0x2a0e3a(0x114)](process[_0x2a0e3a(0x15d)](),_0x3734ba['iVKdP']));}else{let _0xe52431=_0x3734ba[_0x2a0e3a(0x156)](_0x105ec2['getPlatformName'](_0x358011,'_'),'_'+_0xf5bb1d['now']());if(_0x4739cb)_0xe52431+='_'+_0x336f24;if(_0x1172f4&&(!_0x314294[_0x3734ba[_0x2a0e3a(0x15e)]]||!_0x1c5311[_0x3734ba[_0x2a0e3a(0x15e)]][_0x5e1811]))return;const _0x2bb88c={..._0x1a0537};_0x2bb88c[_0x2a0e3a(0x132)]=_0xb4d322;const _0x49bb3b=_0x2bb88c;_0x30d7f3[_0xe52431]=_0x560ef3?_0x3734ba['OtgDY'](_0x48dada,_0x1f8e4d[_0x3734ba['ZifLA']][_0x30e4bb],_0x49bb3b):_0x49bb3b,_0x14def7[_0x2a0e3a(0xfc)](_0xe52431);}}if(_0xb463f4){if(_0x3734ba[_0x2a0e3a(0xe2)](_0x3734ba['LeDey'],_0x3734ba['LeDey']))for(const _0x3ce190 in _0x4c18f6){if(_0x3734ba['ilsFP'](_0x1d0b4b,_0x403667[_0x3ce190])){if(!_0x1c7e17[_0x3ce190])_0x33ee82[_0x2a0e3a(0xf2)](_0x3e99bd,{[_0x3ce190]:{}});_0x3734ba[_0x2a0e3a(0xf8)](_0x423303,_0x40b99a[_0x3ce190],_0x587cb4[_0x3ce190]);}else{const _0x127a1f={};_0x127a1f[_0x3ce190]=_0x527fe2[_0x3ce190],_0x1f560e['assign'](_0x1aa41c,_0x127a1f);}}else logger[_0x2a0e3a(0x12c)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0xb463f4),_0x288397=_0x3734ba['aAYZG'](require,_0xb463f4);}else _0x3734ba[_0x2a0e3a(0xe2)](_0x3734ba[_0x2a0e3a(0xf1)],_0x3734ba[_0x2a0e3a(0x141)])?logger[_0x2a0e3a(0x12c)](_0x3734ba[_0x2a0e3a(0xdb)]):(_0x82b852[_0x2a0e3a(0x12d)](_0x2a0e3a(0x116)+_0x5a113a),_0x518b03[_0x2a0e3a(0x12c)](_0x2a0e3a(0x154)+_0x3fce82),_0x21fa06[_0x2a0e3a(0x104)](_0x1624d2));return _0x288397;},removeExistingEnvs=_0x77de75=>{const _0x13fba1=a20_0x5bcda4,_0x50c248={};_0x50c248['zBkRe']=function(_0x233ce1,_0xa8fbd6){return _0x233ce1===_0xa8fbd6;},_0x50c248[_0x13fba1(0x10e)]='object',_0x50c248[_0x13fba1(0xe9)]=function(_0x32e12a,_0x3389c3){return _0x32e12a>_0x3389c3;},_0x50c248[_0x13fba1(0x113)]=function(_0x3047c0,_0x5f39fd){return _0x3047c0>_0x5f39fd;},_0x50c248[_0x13fba1(0x120)]=_0x13fba1(0x15a),_0x50c248[_0x13fba1(0x159)]='selUC',_0x50c248[_0x13fba1(0x124)]=function(_0x4fa3b3,_0x479227){return _0x4fa3b3>_0x479227;},_0x50c248[_0x13fba1(0xe7)]=function(_0x1b92fa,_0x2a601b){return _0x1b92fa!==_0x2a601b;},_0x50c248[_0x13fba1(0xeb)]='bSmQj',_0x50c248[_0x13fba1(0x137)]='yHIlg';const _0x2323f0=_0x50c248;let _0x476c33=_0x77de75[_0x13fba1(0x14d)](_0x41c64d=>_0x41c64d==_0x13fba1(0x125));if(_0x2323f0[_0x13fba1(0xe9)](_0x476c33,-0x1)){if(_0x2323f0['zBkRe'](_0x2323f0[_0x13fba1(0x120)],_0x2323f0['iaZIn']))return _0x4a3df2&&_0x2323f0[_0x13fba1(0x109)](typeof _0x391986,_0x2323f0[_0x13fba1(0x10e)])&&!_0x4238ab['isArray'](_0x2daa8f);else _0x77de75['splice'](_0x476c33,0x2);}_0x476c33=_0x77de75[_0x13fba1(0x14d)](_0x3a56d8=>_0x3a56d8=='-e');if(_0x2323f0[_0x13fba1(0x124)](_0x476c33,-0x1)){if(_0x2323f0[_0x13fba1(0xe7)](_0x2323f0[_0x13fba1(0xeb)],_0x2323f0[_0x13fba1(0x137)]))_0x77de75['splice'](_0x476c33,0x2);else{let _0x4936c0=_0x1f282d['findIndex'](_0x56e95c=>_0x56e95c==_0x13fba1(0x125));_0x2323f0[_0x13fba1(0xe9)](_0x4936c0,-0x1)&&_0x368118['splice'](_0x4936c0,0x2),_0x4936c0=_0xec2e91[_0x13fba1(0x14d)](_0x43fcaf=>_0x43fcaf=='-e'),_0x2323f0['kOnlX'](_0x4936c0,-0x1)&&_0x1576fa[_0x13fba1(0x10b)](_0x4936c0,0x2);}}},isObject=_0x15ec49=>{const _0x10279e=a20_0x5bcda4,_0x2ac45b={};_0x2ac45b['uexSS']=function(_0x32d83b,_0x533a14){return _0x32d83b===_0x533a14;},_0x2ac45b[_0x10279e(0x127)]=_0x10279e(0x14a);const _0x37b1a0=_0x2ac45b;return _0x15ec49&&_0x37b1a0[_0x10279e(0x100)](typeof _0x15ec49,_0x37b1a0[_0x10279e(0x127)])&&!Array[_0x10279e(0x146)](_0x15ec49);},mergeDeep=(_0x228071,..._0x546141)=>{const _0x8b077e=a20_0x5bcda4,_0x48f2ea={'cKPvB':function(_0x92093e,_0x165529){return _0x92093e(_0x165529);},'wgxrV':function(_0x2f2ccc,_0x510ef2,_0x427a51){return _0x2f2ccc(_0x510ef2,_0x427a51);},'ELrtR':function(_0x267973,_0x8232bf){return _0x267973+_0x8232bf;},'JmbVC':'test_settings','ruKBf':function(_0x31b21c,_0x531d25){return _0x31b21c===_0x531d25;},'NNfLW':_0x8b077e(0x14f),'EsrZs':function(_0x127d44,_0x1b0399){return _0x127d44!==_0x1b0399;},'ohogU':'peNsm','KyMsq':function(_0x25ad6e,_0x8422e5){return _0x25ad6e(_0x8422e5);},'fkAWJ':function(_0x4ee777,_0x2ece3f){return _0x4ee777===_0x2ece3f;},'miGEo':_0x8b077e(0x139),'eGknr':'WPDyb','Fgrsk':function(_0x4216ca,_0x12e939,_0x53632a){return _0x4216ca(_0x12e939,_0x53632a);},'xpMoz':_0x8b077e(0xf0),'DBwsS':_0x8b077e(0xf5)};if(!_0x546141[_0x8b077e(0x11e)])return _0x228071;const _0x511b21=_0x546141[_0x8b077e(0x117)]();if(_0x48f2ea[_0x8b077e(0x12b)](isObject,_0x228071)&&_0x48f2ea[_0x8b077e(0x12b)](isObject,_0x511b21)){if(_0x48f2ea['ruKBf'](_0x48f2ea[_0x8b077e(0x115)],_0x48f2ea[_0x8b077e(0x115)]))for(const _0x5f37ac in _0x511b21){if(_0x48f2ea[_0x8b077e(0x143)](_0x48f2ea[_0x8b077e(0xf4)],_0x48f2ea[_0x8b077e(0xf4)])){const _0x3c5c94={};_0x3c5c94[_0x432b07]=_0x1c235c[_0x55011e],_0x57a906[_0x8b077e(0xf2)](_0x28b6c6,_0x3c5c94);}else{if(_0x48f2ea['KyMsq'](isObject,_0x511b21[_0x5f37ac])){if(_0x48f2ea[_0x8b077e(0x11b)](_0x48f2ea[_0x8b077e(0xf7)],_0x48f2ea[_0x8b077e(0x112)])){if(_0x48f2ea[_0x8b077e(0x12b)](_0x2a32a9,_0x4c76ce[_0xe67ba8])){const _0x5ea441={};_0x5ea441[_0x451d81]={};if(!_0x3bafc4[_0x10ba78])_0x3d8367[_0x8b077e(0xf2)](_0x875618,_0x5ea441);_0x48f2ea[_0x8b077e(0x15b)](_0x3a0ece,_0xb7d9d3[_0x440ae4],_0x21398b[_0x1ae484]);}else{const _0x7fab45={};_0x7fab45[_0x3a8f70]=_0x5e6357[_0xaefb0a],_0x4b9fd1[_0x8b077e(0xf2)](_0x2d69b5,_0x7fab45);}}else{if(!_0x228071[_0x5f37ac])Object['assign'](_0x228071,{[_0x5f37ac]:{}});_0x48f2ea['Fgrsk'](mergeDeep,_0x228071[_0x5f37ac],_0x511b21[_0x5f37ac]);}}else{if(_0x48f2ea[_0x8b077e(0x11b)](_0x48f2ea[_0x8b077e(0x11d)],_0x48f2ea[_0x8b077e(0x149)]))_0x2295f5[_0x8b077e(0xf6)](_0x39ce40=>{const _0x1ed62e=_0x8b077e;let _0xbb2c43=_0x48f2ea[_0x1ed62e(0xfa)](_0x1e4d72[_0x1ed62e(0xf3)](_0x39ce40,'_'),'_'+_0x403697[_0x1ed62e(0x126)]());if(_0x354c9d)_0xbb2c43+='_'+_0x1a873d;if(_0x3a3c6d&&(!_0x3eba17[_0x48f2ea['JmbVC']]||!_0x3f9dc5[_0x48f2ea[_0x1ed62e(0x123)]][_0x535ab9]))return;const _0x5498c2={..._0x5c0d6e};_0x5498c2[_0x1ed62e(0x132)]=_0x39ce40;const _0x57dae5=_0x5498c2;_0x57e396[_0xbb2c43]=_0x104320?_0x48f2ea[_0x1ed62e(0x15b)](_0x2d6ee1,_0x2b83e0[_0x48f2ea[_0x1ed62e(0x123)]][_0x2c9d97],_0x57dae5):_0x57dae5,_0x22590a[_0x1ed62e(0xfc)](_0xbb2c43);});else{const _0x5da621={};_0x5da621[_0x5f37ac]=_0x511b21[_0x5f37ac],Object[_0x8b077e(0xf2)](_0x228071,_0x5da621);}}}}else _0x483222[_0x8b077e(0x10b)](_0x4de798,0x2);}return _0x48f2ea[_0x8b077e(0xfb)](mergeDeep,_0x228071,..._0x546141);};function run(_0x3bfaf6,_0x568675){const _0xf7c9c=a20_0x5bcda4,_0x239c18={'NUgbl':_0xf7c9c(0xd8),'noqHp':function(_0x337440,_0x3b4e6b){return _0x337440===_0x3b4e6b;},'EdzNp':_0xf7c9c(0x15f),'cEZQi':function(_0x5a9be7,_0x1dc9d8){return _0x5a9be7(_0x1dc9d8);},'TBcZN':function(_0x1842c6,_0x18f96d){return _0x1842c6===_0x18f96d;},'DtMtb':_0xf7c9c(0xfe),'uyQVA':function(_0x53d111,_0xd9982d){return _0x53d111+_0xd9982d;},'LGEov':_0xf7c9c(0x10c),'EDtZo':function(_0x6850b6,_0x1b004e,_0x52fe6f){return _0x6850b6(_0x1b004e,_0x52fe6f);},'BbhCK':function(_0x5dc568,_0x41ad67){return _0x5dc568===_0x41ad67;},'aZXFh':'WBTDu','FUhJr':function(_0x4b24e1,_0x1494ff){return _0x4b24e1!==_0x1494ff;},'KMPDv':_0xf7c9c(0x148),'XEmXi':function(_0x5ec39e,_0x1ec544,_0x18a1c1){return _0x5ec39e(_0x1ec544,_0x18a1c1);},'Dbslb':_0xf7c9c(0x138),'sFXgr':_0xf7c9c(0x142),'TLxxK':function(_0x56ab1b,_0x3f26a1){return _0x56ab1b==_0x3f26a1;},'CzgLx':'nightwatch-browserstack.json','QXZNC':function(_0xb409b,_0x58a214){return _0xb409b(_0x58a214);},'RLSFI':function(_0x41c912,_0x2612ae,_0x2e6e06,_0x262c5b){return _0x41c912(_0x2612ae,_0x2e6e06,_0x262c5b);},'DilXt':_0xf7c9c(0xe5),'MptUc':_0xf7c9c(0x105),'yRYYE':'--env','xvNHS':_0xf7c9c(0xe8),'zBwKz':_0xf7c9c(0x129)},_0x59106a=new BrowserStackSetup();if(!_0x59106a[_0xf7c9c(0x130)])return;const _0x2eee2a=_0x239c18[_0xf7c9c(0x136)](getUserNightwatchConfigs,_0x3bfaf6,_0x568675),_0x533a48={};_0x533a48['start_process']=![];const _0x4e2684={};_0x4e2684[_0xf7c9c(0x111)]=_0x239c18['Dbslb'],_0x4e2684[_0xf7c9c(0x134)]=0x1bb;const _0x27a651={};_0x27a651[_0xf7c9c(0xea)]=_0x533a48,_0x27a651[_0xf7c9c(0x12a)]=_0x4e2684;const _0x2efe85=_0x27a651;logger[_0xf7c9c(0x12c)](_0x239c18[_0xf7c9c(0x107)]);const _0x35c2c7={..._0x2eee2a},_0x282cdf=_0x35c2c7;let _0x20f241=helper[_0xf7c9c(0x13f)](_0x59106a[_0xf7c9c(0x130)]);const _0x1e2407=[];_0x59106a[_0xf7c9c(0x130)]['platforms'][_0xf7c9c(0xf6)]((_0x553c72,_0x2e4f70)=>{const _0x573877=_0xf7c9c;if(_0x239c18[_0x573877(0x122)](_0x239c18[_0x573877(0x147)],_0x239c18['EdzNp'])){if(_0x20f241)_0x1e2407['push'](helper[_0x573877(0x13a)](_0x59106a['config'],_0x239c18[_0x573877(0x150)],_0x2e4f70));else _0x1e2407[_0x573877(0xfc)](helper['modifyBrowserStackCaps'](_0x59106a[_0x573877(0x130)],_0x239c18['NUgbl'],_0x2e4f70));}else{if(_0x296847)_0x42ed24[_0x573877(0xfc)](_0x1b0fdb['modifyBrowserStackW3CCaps'](_0x438d23[_0x573877(0x130)],_0x239c18[_0x573877(0x150)],_0x50175f));else _0x44771a[_0x573877(0xfc)](_0x4c25a4['modifyBrowserStackCaps'](_0x473704['config'],_0x239c18[_0x573877(0x150)],_0xf647cb));}});const _0x53c59c={},_0x23925d=[];_0x3bfaf6[_0xf7c9c(0x10f)]=_0x3bfaf6[_0xf7c9c(0x10f)]||_0x3bfaf6['e'];const _0x33772a=_0x3bfaf6['env']?_0x3bfaf6['env'][_0xf7c9c(0xee)]()[_0xf7c9c(0x11f)](',')[_0xf7c9c(0x15c)](_0xe24f4d=>_0xe24f4d['trim']())['filter'](_0x43a288=>_0x43a288!=''):[''];if(_0x239c18[_0xf7c9c(0x144)](_0x33772a[_0xf7c9c(0x11e)],0x0))_0x33772a[_0xf7c9c(0xfc)]('');_0x33772a[_0xf7c9c(0xf6)](_0x2f368e=>{const _0x54ec59=_0xf7c9c,_0x1ea8c4={'Npdxe':function(_0x2eed75,_0xf9109e){return _0x239c18['TBcZN'](_0x2eed75,_0xf9109e);},'swXBY':_0x239c18[_0x54ec59(0x131)],'glEXS':function(_0x297298,_0x4cdab0){const _0x487220=_0x54ec59;return _0x239c18[_0x487220(0x151)](_0x297298,_0x4cdab0);},'iwKLG':_0x239c18[_0x54ec59(0x128)],'PNtPo':function(_0x30eb5f,_0x3a931d,_0x304140){const _0x50b8a7=_0x54ec59;return _0x239c18[_0x50b8a7(0x13b)](_0x30eb5f,_0x3a931d,_0x304140);}};_0x239c18['BbhCK'](_0x239c18[_0x54ec59(0x108)],_0x239c18[_0x54ec59(0x108)])?_0x1e2407[_0x54ec59(0xf6)](_0x52d14e=>{const _0x5d9daa=_0x54ec59;if(_0x1ea8c4[_0x5d9daa(0xd9)](_0x1ea8c4[_0x5d9daa(0x121)],_0x1ea8c4[_0x5d9daa(0x121)])){let _0x4cdf31=_0x1ea8c4[_0x5d9daa(0xf9)](helper[_0x5d9daa(0xf3)](_0x52d14e,'_'),'_'+Date[_0x5d9daa(0x126)]());if(_0x2f368e)_0x4cdf31+='_'+_0x2f368e;if(_0x2f368e&&(!_0x2eee2a[_0x1ea8c4[_0x5d9daa(0x10d)]]||!_0x2eee2a[_0x1ea8c4[_0x5d9daa(0x10d)]][_0x2f368e]))return;const _0x1ac65d={..._0x2efe85};_0x1ac65d['desiredCapabilities']=_0x52d14e;const _0x2eb74c=_0x1ac65d;_0x53c59c[_0x4cdf31]=_0x2f368e?_0x1ea8c4[_0x5d9daa(0x101)](mergeDeep,_0x2eee2a[_0x1ea8c4[_0x5d9daa(0x10d)]][_0x2f368e],_0x2eb74c):_0x2eb74c,_0x23925d['push'](_0x4cdf31);}else _0xad3903['splice'](_0xfa3519,0x2);}):(_0x7914c6[_0x54ec59(0x12c)](_0x54ec59(0xe3)+_0x294630),_0x2841f9=_0x239c18[_0x54ec59(0x133)](_0xcf999d,_0x1f03da));});if(!_0x282cdf['test_settings'])_0x282cdf[_0xf7c9c(0x10c)]={};_0x282cdf[_0xf7c9c(0x10c)]={..._0x282cdf[_0xf7c9c(0x10c)],..._0x53c59c};const _0x34cbd2=path[_0xf7c9c(0x114)](__dirname,_0x239c18['CzgLx']);fs['writeFileSync'](_0x34cbd2,JSON[_0xf7c9c(0x152)](_0x282cdf)),_0x239c18[_0xf7c9c(0xfd)](removeExistingEnvs,_0x568675);const _0x3694f3=_0x239c18[_0xf7c9c(0x157)](spawn,/^win/[_0xf7c9c(0xe6)](process[_0xf7c9c(0xdc)])?_0x239c18['DilXt']:_0x239c18[_0xf7c9c(0x150)],[_0x239c18[_0xf7c9c(0x119)],_0x34cbd2,..._0x568675[_0xf7c9c(0x13e)](0x1),_0x239c18['yRYYE'],_0x23925d['join'](',')],{'stdio':_0x239c18[_0xf7c9c(0x118)]});_0x3694f3['on'](_0x239c18['zBwKz'],async _0x2cb719=>{const _0x46e808=_0xf7c9c;_0x239c18[_0x46e808(0xdd)](_0x239c18[_0x46e808(0xe0)],_0x239c18['KMPDv'])?(_0x4edcb5=_0x47556c[_0x46e808(0x114)](_0x2d1fa0[_0x46e808(0x15d)](),_0xa33e21['config']),_0x56ef12[_0x46e808(0x10b)](_0x504c59,0x2)):(logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x2cb719),logger[_0x46e808(0x12c)](_0x46e808(0x154)+_0x34cbd2),fs['unlinkSync'](_0x34cbd2));});}function a20_0x1468(){const _0x51ffa6=['aZXFh','zBkRe','child_process','splice','test_settings','iwKLG','HLHTC','env','SGBHH','host','eGknr','kOnlX','join','NNfLW','child\x20process\x20exited\x20with\x20code\x20','shift','xvNHS','MptUc','existsSync','fkAWJ','../../helpers/BrowserStackSetup','xpMoz','length','split','HwVjU','swXBY','noqHp','JmbVC','ZLYUM','--env','now','naliq','LGEov','close','selenium','cKPvB','info','debug','2982SMbyVc','WfUuI','config','DtMtb','desiredCapabilities','cEZQi','port','nightwatch.json','XEmXi','PHYdC','hub.browserstack.com','smcsn','modifyBrowserStackW3CCaps','EDtZo','XHdZU','1099038WISmTp','slice','useW3C','2530DGrbzz','zfpHO','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','EsrZs','TLxxK','730212JDgyAc','isArray','EdzNp','ulqLz','DBwsS','object','iVKdP','AEtfm','findIndex','../../helpers/helper','WULLU','NUgbl','uyQVA','stringify','xbwTa','Deleting\x20','../../helpers/logger','lxOWT','RLSFI','28264clOEWQ','iaZIn','qDixD','wgxrV','map','cwd','ZifLA','octrh','JzmTM','isUndefined','nightwatch','Npdxe','276853KtNDmq','Ahpee','platform','FUhJr','1673476NAcivj','winstonLogger','KMPDv','555202BmFIJi','KbxsT','Getting\x20your\x20nightwatch\x20configs\x20from\x20','SNmFY','nightwatch.cmd','test','PLkYL','inherit','xgFPy','webdriver','mdkxx','exports','AkekR','trim','nightwatch.conf.js','kPhyP','PSnxv','assign','getPlatformName','ohogU','NtnCm','forEach','miGEo','QuNfI','glEXS','ELrtR','Fgrsk','push','QXZNC','yWIMO','tRqbE','uexSS','PNtPo','2196kpdtej','path','unlinkSync','--config','mRLAn','sFXgr'];a20_0x1468=function(){return _0x51ffa6;};return a20_0x1468();}function a20_0x2bb4(_0x2a4917,_0x410842){const _0x1468da=a20_0x1468();return a20_0x2bb4=function(_0x2bb44b,_0x51bb0e){_0x2bb44b=_0x2bb44b-0xd7;let _0x23e86d=_0x1468da[_0x2bb44b];return _0x23e86d;},a20_0x2bb4(_0x2a4917,_0x410842);}module[a20_0x5bcda4(0xec)]=run;
2
+ 'use strict';function a20_0x51f6(){const _0x140102=['AjYfO','iAhSR','3xScOaO','iYNTb','YnDDl','push','../../helpers/BrowserStackSetup','shift','../../helpers/logger','SwQqq','qkvUa','isUndefined','PfcNl','test_settings','nightwatch-browserstack.json','kuLlY','close','debug','--env','KvbgS','ayaYK','tXZVY','unlinkSync','SwfoU','existsSync','nightwatch.cmd','HZKIa','kFquT','useW3C','WAEKc','PQnpm','nraYO','gzWKM','tmgkn','SxpdC','start_process','gLyCy','sBBqn','test','child\x20process\x20exited\x20with\x20code\x20','hub.browserstack.com','info','length','1054842XOSRCF','MSEjo','path','forEach','isArray','CZoyj','nNqHT','88900myRpQY','inherit','config','XXhoJ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','EAikQ','bzzYE','mOQpi','gxCdS','Deleting\x20','2180736wTyqWD','558256ooSHDM','sLnXH','EaSrJ','elolg','VUiHx','assign','pfSZu','now','EyWfR','LgQOA','zXbhh','nightwatch.conf.js','webdriver','--config','YEEqc','sIWLH','findIndex','hXyYI','cwd','adBeL','env','XUvFd','nDrmQ','nQGRC','uEHnk','EvcYO','iYrpY','YxvlX','kDxHm','host','tTbgI','QjYMD','NuAzK','qYijO','LWMrR','Yfnsm','writeFileSync','splice','wqQYV','Szyhf','OjVXN','187140hMnnpu','sdBai','rCazj','kaKJF','etRxY','child_process','861596kntWwm','TMAtc','modifyBrowserStackW3CCaps','upWFb','mnojA','hXzhW','ZvtDJ','ykduf','zGcRN','Getting\x20your\x20nightwatch\x20configs\x20from\x20','nightwatch.json','trim','PJITf','EyNOG','FbdPE','cVkXy','join','object','ReuMz','XfXFp','PdXJD','getPlatformName','7YvgYcl','platforms','selenium','split','modifyBrowserStackCaps','tzJte','6669486LseYgP','port','qxXYx','hJEYE','desiredCapabilities'];a20_0x51f6=function(){return _0x140102;};return a20_0x51f6();}const a20_0x15db90=a20_0x7aa4;(function(_0x11b2d4,_0x34117e){const _0x31d6a3=a20_0x7aa4,_0x1f5b1c=_0x11b2d4();while(!![]){try{const _0x9e63c3=parseInt(_0x31d6a3(0xc2))/0x1+-parseInt(_0x31d6a3(0xb0))/0x2+parseInt(_0x31d6a3(0x87))/0x3*(-parseInt(_0x31d6a3(0xf1))/0x4)+-parseInt(_0x31d6a3(0xb7))/0x5+-parseInt(_0x31d6a3(0xeb))/0x6*(-parseInt(_0x31d6a3(0x7a))/0x7)+-parseInt(_0x31d6a3(0xc1))/0x8+parseInt(_0x31d6a3(0x80))/0x9;if(_0x9e63c3===_0x34117e)break;else _0x1f5b1c['push'](_0x1f5b1c['shift']());}catch(_0x1f7bb7){_0x1f5b1c['push'](_0x1f5b1c['shift']());}}}(a20_0x51f6,0x4895c));const fs=require('fs'),path=require(a20_0x15db90(0xb2)),{spawn}=require(a20_0x15db90(0xf0)),logger=require(a20_0x15db90(0x8d))['winstonLogger'],{default:BrowserStackSetup}=require(a20_0x15db90(0x8b)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xd9db71,_0x484007)=>{const _0x132e82=a20_0x15db90,_0x70aa09={'COFJw':function(_0x5c891d,_0xf1ec89){return _0x5c891d(_0xf1ec89);},'nQGRC':function(_0x3e3d63,_0x1dc7b0){return _0x3e3d63(_0x1dc7b0);},'wDuyv':function(_0x53ca06,_0x537c50,_0x95b80a){return _0x53ca06(_0x537c50,_0x95b80a);},'rCazj':_0x132e82(0xbb),'mnojA':_0x132e82(0xcd),'adBeL':_0x132e82(0x6e),'wqQYV':function(_0x470101,_0x18067e){return _0x470101!==_0x18067e;},'MzBfu':_0x132e82(0xbf),'TMAtc':_0x132e82(0x78),'jMQKt':function(_0x4df6ac,_0x2c9f58){return _0x4df6ac===_0x2c9f58;},'sLnXH':_0x132e82(0xd7),'qYijO':function(_0x3e655a,_0x135d00){return _0x3e655a===_0x135d00;},'lHxdx':'fjtDI','SwQqq':_0x132e82(0xd1),'kuLlY':_0x132e82(0xe1),'zXbhh':function(_0x3c2e03,_0x492e56){return _0x3c2e03===_0x492e56;},'etRxY':_0x132e82(0xe2),'iAhSR':function(_0x20d2a8,_0x333dde){return _0x20d2a8(_0x333dde);},'PfcNl':function(_0x313213,_0x12ec6e){return _0x313213===_0x12ec6e;},'tXZVY':'TvYBA'};let _0x3a1452=null,_0x19fe68={};const _0xda2554=_0x484007['findIndex'](_0x1f349f=>_0x1f349f==_0x132e82(0xcf));if(!helper[_0x132e82(0x90)](_0xd9db71[_0x132e82(0xb9)])&&fs[_0x132e82(0x9d)](path[_0x132e82(0x74)](process[_0x132e82(0xd4)](),_0xd9db71[_0x132e82(0xb9)])))_0x70aa09[_0x132e82(0xe8)](_0x70aa09['MzBfu'],_0x70aa09[_0x132e82(0xf2)])?(_0x3a1452=path['join'](process['cwd'](),_0xd9db71[_0x132e82(0xb9)]),_0x484007['splice'](_0xda2554,0x2)):(_0x4fef11[_0x132e82(0xae)](_0x132e82(0x6d)+_0x38c90d),_0x445d81=_0x70aa09['COFJw'](_0xbdbba5,_0x53743a));else{if(_0x70aa09['jMQKt'](_0x70aa09[_0x132e82(0xc3)],_0x70aa09['sLnXH'])){if(fs[_0x132e82(0x9d)](path[_0x132e82(0x74)](process['cwd'](),_0x70aa09['mnojA']))){if(_0x70aa09[_0x132e82(0xe3)](_0x70aa09['lHxdx'],_0x70aa09[_0x132e82(0x8e)])){if(_0x70aa09[_0x132e82(0xd9)](_0x3dcccd,_0x3ecb2d[_0x35ad69])){const _0x590cf0={};_0x590cf0[_0x342c57]={};if(!_0x4391cd[_0x2fce81])_0x58e265[_0x132e82(0xc7)](_0x4f64c3,_0x590cf0);_0x70aa09['wDuyv'](_0x5dcdaa,_0x287418[_0x3e6046],_0x268c43[_0x187e98]);}else{const _0x384a45={};_0x384a45[_0x3a9184]=_0x448134[_0x59cd17],_0x3ea1bc['assign'](_0x3a13a5,_0x384a45);}}else _0x3a1452=path[_0x132e82(0x74)](process['cwd'](),_0x70aa09[_0x132e82(0x68)]);}else{if(fs[_0x132e82(0x9d)](path[_0x132e82(0x74)](process[_0x132e82(0xd4)](),_0x70aa09[_0x132e82(0xd5)]))){if(_0x70aa09['qYijO'](_0x70aa09[_0x132e82(0x94)],_0x70aa09[_0x132e82(0x94)]))_0x3a1452=path[_0x132e82(0x74)](process['cwd'](),_0x70aa09[_0x132e82(0xd5)]);else{const _0x231ee7={};_0x231ee7[_0x38520e]=_0x3a38d6[_0x178604],_0x5a2c71['assign'](_0x57e7c5,_0x231ee7);}}}}else _0x3b4688[_0x132e82(0xae)](_0x70aa09[_0x132e82(0xed)]);}if(_0x3a1452){if(_0x70aa09[_0x132e82(0xcc)](_0x70aa09[_0x132e82(0xef)],_0x70aa09[_0x132e82(0xef)]))logger['info'](_0x132e82(0x6d)+_0x3a1452),_0x19fe68=_0x70aa09[_0x132e82(0x86)](require,_0x3a1452);else{if(_0x2a4f06[_0x132e82(0x9d)](_0x266553['join'](_0x553ac9[_0x132e82(0xd4)](),_0x70aa09[_0x132e82(0x68)])))_0x1b5d9a=_0xe0e01c[_0x132e82(0x74)](_0x412f83[_0x132e82(0xd4)](),_0x70aa09[_0x132e82(0x68)]);else _0x33952f[_0x132e82(0x9d)](_0x4516fe[_0x132e82(0x74)](_0x26de00[_0x132e82(0xd4)](),_0x70aa09['adBeL']))&&(_0x1db0ab=_0x126c3b[_0x132e82(0x74)](_0x2c528e[_0x132e82(0xd4)](),_0x70aa09[_0x132e82(0xd5)]));}}else _0x70aa09[_0x132e82(0x91)](_0x70aa09['tXZVY'],_0x70aa09[_0x132e82(0x9a)])?logger[_0x132e82(0xae)](_0x70aa09[_0x132e82(0xed)]):_0x461708[_0x132e82(0xe7)](_0x36e004,0x2);return _0x19fe68;},removeExistingEnvs=_0x4625b8=>{const _0x61d77e=a20_0x15db90,_0x40c900={'Yfnsm':function(_0x3dd89c,_0x549479){return _0x3dd89c+_0x549479;},'YEEqc':_0x61d77e(0x92),'LgQOA':function(_0x1bf5cd,_0xde52e5,_0x37f1e4){return _0x1bf5cd(_0xde52e5,_0x37f1e4);},'kDxHm':function(_0xe64065,_0x1e7dcb){return _0xe64065===_0x1e7dcb;},'AjYfO':'object','PJITf':function(_0x566b79,_0x2548b5){return _0x566b79>_0x2548b5;},'kFquT':_0x61d77e(0xa2),'FbdPE':function(_0x1c2226,_0xc3b992){return _0x1c2226===_0xc3b992;},'iYNTb':_0x61d77e(0x89),'EyWfR':_0x61d77e(0xe9)};let _0x4d7fa1=_0x4625b8[_0x61d77e(0xd2)](_0x50649f=>_0x50649f==_0x61d77e(0x97));_0x40c900[_0x61d77e(0x70)](_0x4d7fa1,-0x1)&&(_0x40c900[_0x61d77e(0xde)](_0x40c900[_0x61d77e(0xa0)],_0x40c900[_0x61d77e(0xa0)])?_0x4625b8[_0x61d77e(0xe7)](_0x4d7fa1,0x2):_0x460ccb['forEach'](_0x3ffaa4=>{const _0x196a9d=_0x61d77e;let _0x6f63ab=_0x40c900[_0x196a9d(0xe5)](_0x4586b0[_0x196a9d(0x79)](_0x3ffaa4,'_'),'_'+_0x3248f5[_0x196a9d(0xc9)]());if(_0x331db5)_0x6f63ab+='_'+_0x230b5c;if(_0x5316ee&&(!_0x48635c[_0x40c900[_0x196a9d(0xd0)]]||!_0x2ceaf2[_0x40c900['YEEqc']][_0x4c7c77]))return;const _0x16b4ef={..._0x5904fc};_0x16b4ef[_0x196a9d(0x84)]=_0x3ffaa4;const _0x1cfb51=_0x16b4ef;_0x2c4146[_0x6f63ab]=_0x1a5da2?_0x40c900[_0x196a9d(0xcb)](_0x199758,_0x1de28c[_0x40c900[_0x196a9d(0xd0)]][_0x445342],_0x1cfb51):_0x1cfb51,_0x23dd07['push'](_0x6f63ab);}));_0x4d7fa1=_0x4625b8[_0x61d77e(0xd2)](_0x22c06b=>_0x22c06b=='-e');if(_0x40c900[_0x61d77e(0x70)](_0x4d7fa1,-0x1)){if(_0x40c900[_0x61d77e(0x72)](_0x40c900[_0x61d77e(0x88)],_0x40c900[_0x61d77e(0xca)]))return _0xfae2d2&&_0x40c900[_0x61d77e(0xde)](typeof _0x1624e5,_0x40c900[_0x61d77e(0x85)])&&!_0x48499f[_0x61d77e(0xb4)](_0xf1d1d8);else _0x4625b8['splice'](_0x4d7fa1,0x2);}},isObject=_0x1c4061=>{const _0x1ed51c=a20_0x15db90,_0x3ad441={};_0x3ad441[_0x1ed51c(0xea)]=function(_0x3eea4b,_0x5bf2df){return _0x3eea4b===_0x5bf2df;},_0x3ad441[_0x1ed51c(0x76)]=_0x1ed51c(0x75);const _0x2ba1f9=_0x3ad441;return _0x1c4061&&_0x2ba1f9[_0x1ed51c(0xea)](typeof _0x1c4061,_0x2ba1f9[_0x1ed51c(0x76)])&&!Array[_0x1ed51c(0xb4)](_0x1c4061);},mergeDeep=(_0x370e44,..._0x5e1bdf)=>{const _0x184dc8=a20_0x15db90,_0x4e41cd={'VUiHx':_0x184dc8(0xcd),'dPdvl':_0x184dc8(0x6e),'iYrpY':function(_0x25e1e5,_0x2665cf){return _0x25e1e5(_0x2665cf);},'SxpdC':function(_0x367b3f,_0x52729f){return _0x367b3f(_0x52729f);},'MSEjo':function(_0x19411a,_0xcec88a){return _0x19411a===_0xcec88a;},'EvcYO':_0x184dc8(0xa6),'bzzYE':'jsVRG','CZoyj':_0x184dc8(0xbe),'EyNOG':function(_0x50858b,_0x1f6590){return _0x50858b(_0x1f6590);},'HZKIa':function(_0x1146e8,_0xbba0ed){return _0x1146e8!==_0xbba0ed;},'bjVhO':_0x184dc8(0xe4),'SHnph':_0x184dc8(0xd3),'kaKJF':function(_0x548a98,_0x474254,_0x414d5c){return _0x548a98(_0x474254,_0x414d5c);},'BsawI':function(_0x3144d5,_0x90be49){return _0x3144d5===_0x90be49;},'PjoLc':'kmQjC','ykduf':'KyDpo','mRUoI':function(_0x47d7e1,_0x36d21a,..._0x56d0a9){return _0x47d7e1(_0x36d21a,..._0x56d0a9);}};if(!_0x5e1bdf['length'])return _0x370e44;const _0x23b7a2=_0x5e1bdf[_0x184dc8(0x8c)]();if(_0x4e41cd[_0x184dc8(0xdc)](isObject,_0x370e44)&&_0x4e41cd[_0x184dc8(0xa7)](isObject,_0x23b7a2)){if(_0x4e41cd[_0x184dc8(0xb1)](_0x4e41cd[_0x184dc8(0xdb)],_0x4e41cd[_0x184dc8(0xbd)]))_0x39cf27[_0x184dc8(0x96)]('child\x20process\x20exited\x20with\x20code\x20'+_0x46c368),_0x46c67e['info'](_0x184dc8(0xc0)+_0x5f6bc6),_0xad7f0f[_0x184dc8(0x9b)](_0x465d97);else for(const _0x23981f in _0x23b7a2){if(_0x4e41cd['MSEjo'](_0x4e41cd[_0x184dc8(0xb5)],_0x4e41cd[_0x184dc8(0xb5)])){if(_0x4e41cd[_0x184dc8(0x71)](isObject,_0x23b7a2[_0x23981f])){if(_0x4e41cd[_0x184dc8(0x9f)](_0x4e41cd['bjVhO'],_0x4e41cd['SHnph'])){if(!_0x370e44[_0x23981f])Object[_0x184dc8(0xc7)](_0x370e44,{[_0x23981f]:{}});_0x4e41cd[_0x184dc8(0xee)](mergeDeep,_0x370e44[_0x23981f],_0x23b7a2[_0x23981f]);}else _0x158d9c[_0x184dc8(0xe7)](_0x250cb1,0x2);}else{if(_0x4e41cd['BsawI'](_0x4e41cd['PjoLc'],_0x4e41cd[_0x184dc8(0x6b)]))_0x5653d0=_0xdaaf48['join'](_0x21f566[_0x184dc8(0xd4)](),_0x4e41cd[_0x184dc8(0xc6)]);else{const _0x1e266f={};_0x1e266f[_0x23981f]=_0x23b7a2[_0x23981f],Object[_0x184dc8(0xc7)](_0x370e44,_0x1e266f);}}}else _0x416429=_0x4e134f[_0x184dc8(0x74)](_0xfd1043[_0x184dc8(0xd4)](),_0x4e41cd['dPdvl']);}}return _0x4e41cd['mRUoI'](mergeDeep,_0x370e44,..._0x5e1bdf);};function run(_0x41199f,_0x5484b0){const _0x52cd36=a20_0x15db90,_0x4e69a7={'tzJte':function(_0x14cdcb,_0x1849d7){return _0x14cdcb+_0x1849d7;},'pfSZu':_0x52cd36(0x92),'hXzhW':function(_0x107ffa,_0x5a172b,_0x4a864a){return _0x107ffa(_0x5a172b,_0x4a864a);},'upWFb':function(_0x58e145,_0x4c59ce){return _0x58e145!==_0x4c59ce;},'nraYO':'didFD','elolg':'nightwatch','xemIa':function(_0x85fa72,_0x25e898){return _0x85fa72===_0x25e898;},'tTbgI':_0x52cd36(0xba),'KvbgS':function(_0x3b9823,_0x3f7e92,_0x6ad10b){return _0x3b9823(_0x3f7e92,_0x6ad10b);},'qxXYx':function(_0x10cdb8,_0xef93e9){return _0x10cdb8===_0xef93e9;},'YxvlX':'lsHgi','xEVuh':function(_0x2a4178,_0x2e737d){return _0x2a4178>_0x2e737d;},'EAikQ':'cVCHB','nNqHT':'GoHcZ','nDrmQ':_0x52cd36(0xad),'PQnpm':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','gzWKM':function(_0x2bb7b0,_0x3fcf5b){return _0x2bb7b0==_0x3fcf5b;},'WGCpE':_0x52cd36(0x93),'ZvtDJ':function(_0x5645f8,_0x5eb3f6){return _0x5645f8(_0x5eb3f6);},'sdBai':function(_0xf9e303,_0x3b1a5e,_0x529ae6,_0x75d666){return _0xf9e303(_0x3b1a5e,_0x529ae6,_0x75d666);},'hJEYE':_0x52cd36(0x9e),'SwfoU':_0x52cd36(0xcf),'qkvUa':_0x52cd36(0x97),'wVegh':_0x52cd36(0xb8),'eHSOS':_0x52cd36(0x95)},_0x39b473=new BrowserStackSetup(_0x41199f);if(!_0x39b473[_0x52cd36(0xb9)])return;const _0x1bf5c8=_0x4e69a7[_0x52cd36(0x98)](getUserNightwatchConfigs,_0x41199f,_0x5484b0),_0x80fa12={};_0x80fa12[_0x52cd36(0xa8)]=![];const _0x9296ac={};_0x9296ac[_0x52cd36(0xdf)]=_0x4e69a7[_0x52cd36(0xd8)],_0x9296ac[_0x52cd36(0x81)]=0x1bb;const _0x36b937={};_0x36b937[_0x52cd36(0xce)]=_0x80fa12,_0x36b937[_0x52cd36(0x7c)]=_0x9296ac;const _0x2c6500=_0x36b937;logger[_0x52cd36(0xae)](_0x4e69a7[_0x52cd36(0xa3)]);const _0x45aea3={..._0x1bf5c8},_0x5e0148=_0x45aea3;let _0x423d96=helper[_0x52cd36(0xa1)](_0x39b473[_0x52cd36(0xb9)]);const _0x579187=[];_0x39b473['config'][_0x52cd36(0x7b)][_0x52cd36(0xb3)]((_0x2f2f79,_0x31f0e7)=>{const _0x1cc6f3=_0x52cd36,_0x2d4be1={'EaSrJ':function(_0x333daa,_0x390f6d){const _0x30c648=a20_0x7aa4;return _0x4e69a7[_0x30c648(0x7f)](_0x333daa,_0x390f6d);},'uEHnk':_0x4e69a7[_0x1cc6f3(0xc8)],'sBBqn':function(_0x194c6d,_0x5c65e2,_0x43e062){return _0x4e69a7['hXzhW'](_0x194c6d,_0x5c65e2,_0x43e062);}};if(_0x4e69a7[_0x1cc6f3(0x67)](_0x4e69a7[_0x1cc6f3(0xa4)],_0x4e69a7[_0x1cc6f3(0xa4)])){let _0x49b376=_0x2d4be1[_0x1cc6f3(0xc4)](_0x828a3a[_0x1cc6f3(0x79)](_0x153eb4,'_'),'_'+_0x39ad76[_0x1cc6f3(0xc9)]());if(_0x27c8d1)_0x49b376+='_'+_0xe208ff;if(_0x51cb0f&&(!_0x51a57f[_0x2d4be1['uEHnk']]||!_0x5d82a0[_0x2d4be1[_0x1cc6f3(0xda)]][_0x257121]))return;const _0x37049e={..._0x16a29f};_0x37049e[_0x1cc6f3(0x84)]=_0x16344f;const _0x43d5d7=_0x37049e;_0x3121b0[_0x49b376]=_0x131ce7?_0x2d4be1[_0x1cc6f3(0xaa)](_0x599be2,_0x26f9d3[_0x2d4be1[_0x1cc6f3(0xda)]][_0xa263bf],_0x43d5d7):_0x43d5d7,_0x177614[_0x1cc6f3(0x8a)](_0x49b376);}else{if(_0x423d96)_0x579187[_0x1cc6f3(0x8a)](helper[_0x1cc6f3(0xf3)](_0x39b473[_0x1cc6f3(0xb9)],_0x4e69a7[_0x1cc6f3(0xc5)],_0x31f0e7));else _0x579187['push'](helper[_0x1cc6f3(0x7e)](_0x39b473[_0x1cc6f3(0xb9)],_0x4e69a7['elolg'],_0x31f0e7));}});const _0x15bde1={},_0x4c56b2=[];_0x41199f[_0x52cd36(0xd6)]=_0x41199f[_0x52cd36(0xd6)]||_0x41199f['e'];const _0x5a8f7a=_0x41199f[_0x52cd36(0xd6)]?_0x41199f['env']['trim']()[_0x52cd36(0x7d)](',')['map'](_0x10e0e5=>_0x10e0e5[_0x52cd36(0x6f)]())['filter'](_0x1a76ca=>_0x1a76ca!=''):[''];if(_0x4e69a7[_0x52cd36(0xa5)](_0x5a8f7a[_0x52cd36(0xaf)],0x0))_0x5a8f7a[_0x52cd36(0x8a)]('');_0x5a8f7a['forEach'](_0x44e372=>{const _0x29e8fb=_0x52cd36,_0x48e2ae={'oEujA':function(_0x5ccb7b,_0x253a6f){return _0x4e69a7['xemIa'](_0x5ccb7b,_0x253a6f);},'gLyCy':_0x4e69a7[_0x29e8fb(0xe0)],'ayaYK':function(_0x990834,_0x4cc533){const _0xff6107=_0x29e8fb;return _0x4e69a7[_0xff6107(0x7f)](_0x990834,_0x4cc533);},'zGcRN':_0x4e69a7[_0x29e8fb(0xc8)],'cVkXy':function(_0x2e9d05,_0xad8f4d,_0x5a3c2a){return _0x4e69a7['KvbgS'](_0x2e9d05,_0xad8f4d,_0x5a3c2a);}};if(_0x4e69a7['qxXYx'](_0x4e69a7[_0x29e8fb(0xdd)],_0x4e69a7[_0x29e8fb(0xdd)]))_0x579187['forEach'](_0x20a613=>{const _0x4c5120=_0x29e8fb;if(_0x48e2ae['oEujA'](_0x48e2ae[_0x4c5120(0xa9)],_0x48e2ae['gLyCy'])){let _0x4da920=_0x48e2ae[_0x4c5120(0x99)](helper[_0x4c5120(0x79)](_0x20a613,'_'),'_'+Date['now']());if(_0x44e372)_0x4da920+='_'+_0x44e372;if(_0x44e372&&(!_0x1bf5c8[_0x48e2ae[_0x4c5120(0x6c)]]||!_0x1bf5c8[_0x48e2ae['zGcRN']][_0x44e372]))return;const _0x249c13={..._0x2c6500};_0x249c13['desiredCapabilities']=_0x20a613;const _0x18cbd2=_0x249c13;_0x15bde1[_0x4da920]=_0x44e372?_0x48e2ae[_0x4c5120(0x73)](mergeDeep,_0x1bf5c8[_0x48e2ae[_0x4c5120(0x6c)]][_0x44e372],_0x18cbd2):_0x18cbd2,_0x4c56b2['push'](_0x4da920);}else _0x34be6c=_0x2f0617[_0x4c5120(0x74)](_0x4a5a20[_0x4c5120(0xd4)](),_0x8111d['config']),_0x3f812c[_0x4c5120(0xe7)](_0x1d7daa,0x2);});else{const _0x2e4579={};_0x2e4579[_0x3a0f90]={};if(!_0x3e9a70[_0x1d3913])_0x44379f[_0x29e8fb(0xc7)](_0x1e285e,_0x2e4579);_0x4e69a7[_0x29e8fb(0x69)](_0x5806ed,_0x2805c5[_0x548227],_0x35a2be[_0x5c02de]);}});if(!_0x5e0148[_0x52cd36(0x92)])_0x5e0148[_0x52cd36(0x92)]={};_0x5e0148['test_settings']={..._0x5e0148[_0x52cd36(0x92)],..._0x15bde1};const _0x2c8063=path[_0x52cd36(0x74)](__dirname,_0x4e69a7['WGCpE']);fs[_0x52cd36(0xe6)](_0x2c8063,JSON['stringify'](_0x5e0148)),_0x4e69a7[_0x52cd36(0x6a)](removeExistingEnvs,_0x5484b0);const _0x11b06f=_0x4e69a7[_0x52cd36(0xec)](spawn,/^win/[_0x52cd36(0xab)](process['platform'])?_0x4e69a7[_0x52cd36(0x83)]:_0x4e69a7[_0x52cd36(0xc5)],[_0x4e69a7[_0x52cd36(0x9c)],_0x2c8063,..._0x5484b0['slice'](0x1),_0x4e69a7[_0x52cd36(0x8f)],_0x4c56b2[_0x52cd36(0x74)](',')],{'stdio':_0x4e69a7['wVegh']});_0x11b06f['on'](_0x4e69a7['eHSOS'],async _0x45d6c2=>{const _0x475be7=_0x52cd36,_0x101bbb={'XfXFp':function(_0x45383b,_0x5a2ed9){return _0x4e69a7['xEVuh'](_0x45383b,_0x5a2ed9);}};if(_0x4e69a7[_0x475be7(0x82)](_0x4e69a7[_0x475be7(0xbc)],_0x4e69a7[_0x475be7(0xb6)])){let _0x1f9a54=_0x174081[_0x475be7(0xd2)](_0x5b6553=>_0x5b6553=='--env');_0x101bbb[_0x475be7(0x77)](_0x1f9a54,-0x1)&&_0x4ba639[_0x475be7(0xe7)](_0x1f9a54,0x2),_0x1f9a54=_0x1663f4[_0x475be7(0xd2)](_0x228259=>_0x228259=='-e'),_0x101bbb['XfXFp'](_0x1f9a54,-0x1)&&_0x253fd8[_0x475be7(0xe7)](_0x1f9a54,0x2);}else logger[_0x475be7(0x96)](_0x475be7(0xac)+_0x45d6c2),logger[_0x475be7(0xae)]('Deleting\x20'+_0x2c8063),fs[_0x475be7(0x9b)](_0x2c8063);});}function a20_0x7aa4(_0x355d98,_0x3d4ed0){const _0x51f631=a20_0x51f6();return a20_0x7aa4=function(_0x7aa4c3,_0x339107){_0x7aa4c3=_0x7aa4c3-0x67;let _0x4e5ad4=_0x51f631[_0x7aa4c3];return _0x4e5ad4;},a20_0x7aa4(_0x355d98,_0x3d4ed0);}module['exports']=run;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a21_0x18dfd4=a21_0x28b6;(function(_0xff2d34,_0x4e789d){const _0x5cc07f=a21_0x28b6,_0x27effd=_0xff2d34();while(!![]){try{const _0x39356a=parseInt(_0x5cc07f(0xfd))/0x1+parseInt(_0x5cc07f(0xd3))/0x2+parseInt(_0x5cc07f(0xf4))/0x3+parseInt(_0x5cc07f(0x114))/0x4*(parseInt(_0x5cc07f(0xe4))/0x5)+-parseInt(_0x5cc07f(0xd7))/0x6+parseInt(_0x5cc07f(0xdb))/0x7+-parseInt(_0x5cc07f(0xda))/0x8;if(_0x39356a===_0x4e789d)break;else _0x27effd['push'](_0x27effd['shift']());}catch(_0x26fff2){_0x27effd['push'](_0x27effd['shift']());}}}(a21_0x5745,0xe8148));const {requireModule}=require(a21_0x18dfd4(0xde)),helper=require(a21_0x18dfd4(0xde));if(process['argv'][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0x10c))){if(!process['argv'][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0xe2)))process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0x100)](a21_0x18dfd4(0x105));if(!process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0x10d)))process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0x100)](a21_0x18dfd4(0x10e));if(!process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0xf5)))process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0x100)](a21_0x18dfd4(0xe5));}const yargs=require(a21_0x18dfd4(0x110)),Constants=require('./utils/constants'),logger=require(a21_0x18dfd4(0x107))[a21_0x18dfd4(0xd4)],argv=yargs[a21_0x18dfd4(0xea)](a21_0x18dfd4(0xe8))[a21_0x18dfd4(0xe3)]('v',a21_0x18dfd4(0x106))[a21_0x18dfd4(0xed)]('v')[a21_0x18dfd4(0xe3)]('h',a21_0x18dfd4(0xf3))['help'](a21_0x18dfd4(0xf3))[a21_0x18dfd4(0xfa)](!![],Constants[a21_0x18dfd4(0xd5)][a21_0x18dfd4(0xf2)])['command'](a21_0x18dfd4(0x115),Constants[a21_0x18dfd4(0xec)][a21_0x18dfd4(0xe7)],function(_0x568930){const _0x2ba75a=a21_0x18dfd4,_0x5afd7c={'JXamR':function(_0x510ea9,_0x52640f){return _0x510ea9(_0x52640f);},'buduW':_0x2ba75a(0xd9)},_0x1cd350=process[_0x2ba75a(0xf0)][_0x2ba75a(0xf9)](0x2);return _0x5afd7c[_0x2ba75a(0x104)](require,_0x5afd7c[_0x2ba75a(0xdd)])(_0x568930[_0x2ba75a(0xf0)],_0x1cd350);})[a21_0x18dfd4(0xeb)](a21_0x18dfd4(0x10c),Constants[a21_0x18dfd4(0x109)]['INFO'],_0x565241=>{const _0x9fcb4=a21_0x18dfd4,_0x4204c4={'yUIUC':function(_0x44a190,_0xfb2c5d){return _0x44a190(_0xfb2c5d);},'yCAgV':_0x9fcb4(0xd9),'ADurV':function(_0x4029b8,_0x1387fa){return _0x4029b8!==_0x1387fa;},'mhIkK':_0x9fcb4(0x117),'BQAKc':_0x9fcb4(0x10b),'BxQIb':'Parsing\x20command\x20line\x20arguements','Hcqnu':_0x9fcb4(0xe0),'jRRQs':_0x9fcb4(0xf1),'zjuQr':_0x9fcb4(0x103),'qBuVZ':'yargs'};logger['debug'](_0x4204c4[_0x9fcb4(0xd6)]);const _0x531381=_0x4204c4[_0x9fcb4(0x108)](requireModule,_0x4204c4[_0x9fcb4(0xf7)]);delete _0x531381[_0x9fcb4(0x102)],_0x531381[_0x9fcb4(0xeb)]=[_0x4204c4[_0x9fcb4(0x112)],_0x4204c4[_0x9fcb4(0x101)]],_0x531381['handler']=function(_0x174e62){const _0x34f256=_0x9fcb4;if(_0x4204c4['ADurV'](_0x4204c4[_0x34f256(0xdf)],_0x4204c4['mhIkK'])){const _0x12227a=_0x4aa9ed['argv'][_0x34f256(0xf9)](0x2);return _0x4204c4[_0x34f256(0x108)](_0x3126d1,_0x4204c4[_0x34f256(0xe9)])(_0x268554[_0x34f256(0xf0)],_0x12227a);}else return _0x4204c4[_0x34f256(0x108)](require,_0x4204c4[_0x34f256(0xe1)])(_0x174e62);},_0x4204c4[_0x9fcb4(0x108)](require,_0x4204c4[_0x9fcb4(0x116)])['command'](_0x531381);})['command'](a21_0x18dfd4(0x111),Constants[a21_0x18dfd4(0x113)][a21_0x18dfd4(0xe7)],function(_0x88bcd0){const _0x14501b=a21_0x18dfd4,_0x23c535={'igpqj':function(_0x193f93,_0x5d079e){return _0x193f93(_0x5d079e);},'xNYmc':_0x14501b(0xf8)},_0x4b958c=process[_0x14501b(0xf0)]['slice'](0x2);return _0x23c535[_0x14501b(0x10f)](require,_0x23c535['xNYmc'])(_0x88bcd0[_0x14501b(0xf0)],_0x4b958c);})[a21_0x18dfd4(0xeb)](a21_0x18dfd4(0x10a),Constants[a21_0x18dfd4(0xfb)][a21_0x18dfd4(0xe7)],function(_0x4d2c26){const _0x68b2cb=a21_0x18dfd4,_0x19655b={'UYPIK':function(_0x1211b8,_0x54fa20){return _0x1211b8(_0x54fa20);},'dmXio':_0x68b2cb(0xdc)},_0x3a616b=process[_0x68b2cb(0xf0)][_0x68b2cb(0xf9)](0x2);return _0x19655b['UYPIK'](require,_0x19655b[_0x68b2cb(0xd8)])(_0x4d2c26[_0x68b2cb(0xf0)],_0x3a616b);})['command'](a21_0x18dfd4(0xf6),Constants[a21_0x18dfd4(0xff)][a21_0x18dfd4(0xe7)],function(_0x4d3f09){const _0xbf8843=a21_0x18dfd4,_0x10ebd7={'vazDq':function(_0x3b3b00,_0xf201da){return _0x3b3b00(_0xf201da);},'LFFey':'./nightwatch/command'},_0x5b9519=process[_0xbf8843(0xf0)][_0xbf8843(0xf9)](0x2);return _0x10ebd7['vazDq'](require,_0x10ebd7[_0xbf8843(0xfc)])(_0x4d3f09[_0xbf8843(0xf0)],_0x5b9519);})[a21_0x18dfd4(0xe6)](0x1,a21_0x18dfd4(0xd1))['wrap'](null)[a21_0x18dfd4(0xf0)];function a21_0x28b6(_0x4ebb82,_0x58e00e){const _0x574535=a21_0x5745();return a21_0x28b6=function(_0x28b611,_0x8c825c){_0x28b611=_0x28b611-0xd1;let _0x499d8f=_0x574535[_0x28b611];return _0x499d8f;},a21_0x28b6(_0x4ebb82,_0x58e00e);}function a21_0x5745(){const _0x4aa82e=['../helpers/helper','mhIkK','mocha/lib/cli/run.js','BQAKc','--opts','alias','4895kZZkDR','--no-package','demandCommand','INFO','usage:\x20$0\x20<command>\x20[args]','yCAgV','usage','command','JEST','describe','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','isUndefined','argv','$0\x20[spec..]','HELP','help','4482951tbAruo','--package','nightwatch','Hcqnu','./cucumber-js/command','slice','showHelpOnFail','VANILLA','LFFey','497051MpdFuv','error','NIGHTWATCH','push','zjuQr','handler','inspect','JXamR','--no-opts','version','../helpers/logger','yUIUC','MOCHA','node','./mocha/command','mocha','--config','--no-config','igpqj','yargs','cucumber-js','jRRQs','CUCUMBER','1348CAMvUz','jest','qBuVZ','sNQKH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','includes','1055680cNVVVO','winstonLogger','VERSION','BxQIb','5064780YMmeDc','dmXio','./jest/command','20860432zmKhxV','10872071BRsUnY','./vanilla-js/command','buduW'];a21_0x5745=function(){return _0x4aa82e;};return a21_0x5745();}!helper[a21_0x18dfd4(0xef)](argv['_'])&&!argv['_'][0x1]&&console[a21_0x18dfd4(0xfe)](a21_0x18dfd4(0xee));
2
+ 'use strict';const a21_0x93d307=a21_0x2c48;(function(_0x54f894,_0x14e4f3){const _0x3c112a=a21_0x2c48,_0x5782eb=_0x54f894();while(!![]){try{const _0x52f84f=-parseInt(_0x3c112a(0xc8))/0x1+parseInt(_0x3c112a(0xfb))/0x2+-parseInt(_0x3c112a(0xcf))/0x3*(-parseInt(_0x3c112a(0xf0))/0x4)+-parseInt(_0x3c112a(0x107))/0x5*(parseInt(_0x3c112a(0xe8))/0x6)+parseInt(_0x3c112a(0xc6))/0x7*(-parseInt(_0x3c112a(0xec))/0x8)+parseInt(_0x3c112a(0xe3))/0x9*(-parseInt(_0x3c112a(0x108))/0xa)+parseInt(_0x3c112a(0xfe))/0xb;if(_0x52f84f===_0x14e4f3)break;else _0x5782eb['push'](_0x5782eb['shift']());}catch(_0x1f00d8){_0x5782eb['push'](_0x5782eb['shift']());}}}(a21_0x2a32,0x34796));function a21_0x2c48(_0xd3f5d5,_0x5c30a9){const _0x2a327e=a21_0x2a32();return a21_0x2c48=function(_0x2c48d6,_0x3aa848){_0x2c48d6=_0x2c48d6-0xc3;let _0x1a8f66=_0x2a327e[_0x2c48d6];return _0x1a8f66;},a21_0x2c48(_0xd3f5d5,_0x5c30a9);}const {requireModule}=require(a21_0x93d307(0xe5)),helper=require(a21_0x93d307(0xe5)),fs=require('fs');try{let browserstackFolderPath=path[a21_0x93d307(0xc7)](helper[a21_0x93d307(0xce)](),a21_0x93d307(0xf2));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a21_0x93d307(0xc7)](browserstackFolderPath,a21_0x93d307(0xf5));fs[a21_0x93d307(0xd8)](filePath)&&fs['unlinkSync'](filePath);}}catch(a21_0x5e213c){logger[a21_0x93d307(0xfd)](a21_0x93d307(0x10e)+a21_0x5e213c[a21_0x93d307(0xd3)]);}if(process[a21_0x93d307(0xed)][a21_0x93d307(0xdb)](a21_0x93d307(0xe1))){if(!process[a21_0x93d307(0xed)]['includes'](a21_0x93d307(0x106)))process['argv'][a21_0x93d307(0x104)](a21_0x93d307(0xee));if(!process['argv'][a21_0x93d307(0xdb)](a21_0x93d307(0xff)))process[a21_0x93d307(0xed)][a21_0x93d307(0x104)](a21_0x93d307(0xf6));if(!process['argv'][a21_0x93d307(0xdb)](a21_0x93d307(0x105)))process['argv'][a21_0x93d307(0x104)](a21_0x93d307(0xd5));}function a21_0x2a32(){const _0x352e78=['UkSBc','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','fJmNE','NIGHTWATCH','203qHbmBq','join','237398HNuZLh','nightwatch','usage','jKLJp','usage:\x20$0\x20<command>\x20[args]','dzJyS','homedir','165ydUwiY','slice','HELP','cucumber-js','message','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','--no-package','xsXFB','VERSION','existsSync','wrap','handler','includes','mocha/lib/cli/run.js','$0\x20[spec..]','version','JbPea','alias','mocha','command','1772091oMdlXl','isUndefined','../helpers/helper','CUCUMBER','./nightwatch/command','6iaTeks','error','../helpers/logger','NhRYn','106192EIWvxg','argv','--no-opts','./cucumber-js/command','24116UFpNnn','demandCommand','.browserstack','CdjqR','cVWpT','.local-not-set.json','--no-config','Qodpk','./jest/command','JEST','QeCyC','483266ISUtvb','./mocha/command','debug','8932935fCrivR','--config','qBHWI','PyOrl','jest','INFO','push','--package','--opts','1755680vzgblb','10xmCkaH','help','GBCcX','./utils/constants','jCbuy','showHelpOnFail','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'];a21_0x2a32=function(){return _0x352e78;};return a21_0x2a32();}const yargs=require('yargs'),Constants=require(a21_0x93d307(0x10b)),logger=require(a21_0x93d307(0xea))['winstonLogger'],argv=yargs[a21_0x93d307(0xca)](a21_0x93d307(0xcc))[a21_0x93d307(0xe0)]('v',a21_0x93d307(0xde))['describe']('v')[a21_0x93d307(0xe0)]('h',a21_0x93d307(0x109))[a21_0x93d307(0x109)](a21_0x93d307(0x109))[a21_0x93d307(0x10d)](!![],Constants[a21_0x93d307(0xd7)][a21_0x93d307(0xd1)])[a21_0x93d307(0xe2)](a21_0x93d307(0x102),Constants[a21_0x93d307(0xf9)][a21_0x93d307(0x103)],function(_0x3bd23e){const _0x3c0d7a=a21_0x93d307,_0x304882={'fJmNE':function(_0xfb5d32,_0x271d0d){return _0xfb5d32(_0x271d0d);},'VUTbW':_0x3c0d7a(0xf8)},_0x3c6b61=process[_0x3c0d7a(0xed)][_0x3c0d7a(0xd0)](0x2);return _0x304882[_0x3c0d7a(0xc4)](require,_0x304882['VUTbW'])(_0x3bd23e[_0x3c0d7a(0xed)],_0x3c6b61);})[a21_0x93d307(0xe2)](a21_0x93d307(0xe1),Constants['MOCHA']['INFO'],_0x1568eb=>{const _0x583f5c=a21_0x93d307,_0x49adaa={'GBCcX':function(_0x41de8c,_0x39423b){return _0x41de8c(_0x39423b);},'xsXFB':_0x583f5c(0xef),'dzJyS':function(_0x592b20,_0x1caed3){return _0x592b20===_0x1caed3;},'UkSBc':'GqyFZ','qBHWI':function(_0x56c4ab,_0x162283){return _0x56c4ab(_0x162283);},'JJzhg':_0x583f5c(0xfc),'JwXXz':'Parsing\x20command\x20line\x20arguements','cVWpT':_0x583f5c(0xdc),'UmeXo':_0x583f5c(0xdd),'JbPea':'inspect','CdjqR':function(_0x171d2b,_0x29d371){return _0x171d2b(_0x29d371);},'jKLJp':'yargs'};logger[_0x583f5c(0xfd)](_0x49adaa['JwXXz']);const _0x2e89f8=_0x49adaa[_0x583f5c(0x10a)](requireModule,_0x49adaa[_0x583f5c(0xf4)]);delete _0x2e89f8[_0x583f5c(0xda)],_0x2e89f8[_0x583f5c(0xe2)]=[_0x49adaa['UmeXo'],_0x49adaa[_0x583f5c(0xdf)]],_0x2e89f8[_0x583f5c(0xda)]=function(_0x4c20a0){const _0x5acf68=_0x583f5c,_0x1ee3f9={'NhRYn':function(_0x137e04,_0x507285){const _0x465f39=a21_0x2c48;return _0x49adaa[_0x465f39(0x10a)](_0x137e04,_0x507285);},'jCbuy':_0x49adaa[_0x5acf68(0xd6)]};if(_0x49adaa[_0x5acf68(0xcd)](_0x49adaa[_0x5acf68(0x10f)],_0x49adaa[_0x5acf68(0x10f)]))return _0x49adaa[_0x5acf68(0x100)](require,_0x49adaa['JJzhg'])(_0x4c20a0);else{const _0x4d5e51=_0x5b2ec4[_0x5acf68(0xed)]['slice'](0x2);return _0x1ee3f9[_0x5acf68(0xeb)](_0x21feb7,_0x1ee3f9[_0x5acf68(0x10c)])(_0x2d1c99[_0x5acf68(0xed)],_0x4d5e51);}},_0x49adaa[_0x583f5c(0xf3)](require,_0x49adaa[_0x583f5c(0xcb)])[_0x583f5c(0xe2)](_0x2e89f8);})['command'](a21_0x93d307(0xd2),Constants[a21_0x93d307(0xe6)]['INFO'],function(_0xc4e05a){const _0x28e8f0=a21_0x93d307,_0x4040f7={'DbtsJ':function(_0x2b5eab,_0x52c2c9){return _0x2b5eab(_0x52c2c9);},'PyOrl':_0x28e8f0(0xef)},_0x119269=process['argv'][_0x28e8f0(0xd0)](0x2);return _0x4040f7['DbtsJ'](require,_0x4040f7[_0x28e8f0(0x101)])(_0xc4e05a['argv'],_0x119269);})['command']('node',Constants['VANILLA'][a21_0x93d307(0x103)],function(_0x1f0e66){const _0x5b3b36=a21_0x93d307,_0x372380={'QeCyC':function(_0xf01ee8,_0x2a2b7d){return _0xf01ee8(_0x2a2b7d);},'NbBuG':'./vanilla-js/command'},_0x392376=process[_0x5b3b36(0xed)][_0x5b3b36(0xd0)](0x2);return _0x372380[_0x5b3b36(0xfa)](require,_0x372380['NbBuG'])(_0x1f0e66[_0x5b3b36(0xed)],_0x392376);})[a21_0x93d307(0xe2)](a21_0x93d307(0xc9),Constants[a21_0x93d307(0xc5)][a21_0x93d307(0x103)],function(_0x2cc7fa){const _0x44dd48=a21_0x93d307,_0x100c50={'AGvkN':function(_0xd978df,_0x53bc0d){return _0xd978df(_0x53bc0d);},'Qodpk':_0x44dd48(0xe7)},_0x84a29c=process['argv']['slice'](0x2);return _0x100c50['AGvkN'](require,_0x100c50[_0x44dd48(0xf7)])(_0x2cc7fa['argv'],_0x84a29c);})[a21_0x93d307(0xf1)](0x1,a21_0x93d307(0xc3))[a21_0x93d307(0xd9)](null)['argv'];!helper[a21_0x93d307(0xe4)](argv['_'])&&!argv['_'][0x1]&&console[a21_0x93d307(0xe9)](a21_0x93d307(0xd4));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a22_0x33baca=a22_0x2fac;(function(_0x396eed,_0x1d6f7d){const _0x2f945e=a22_0x2fac,_0x391b4f=_0x396eed();while(!![]){try{const _0xd436dc=parseInt(_0x2f945e(0x10e))/0x1+parseInt(_0x2f945e(0x124))/0x2*(parseInt(_0x2f945e(0x13d))/0x3)+-parseInt(_0x2f945e(0xf6))/0x4+-parseInt(_0x2f945e(0x131))/0x5+parseInt(_0x2f945e(0x10f))/0x6+parseInt(_0x2f945e(0x11e))/0x7*(parseInt(_0x2f945e(0xfd))/0x8)+parseInt(_0x2f945e(0xf3))/0x9;if(_0xd436dc===_0x1d6f7d)break;else _0x391b4f['push'](_0x391b4f['shift']());}catch(_0x321013){_0x391b4f['push'](_0x391b4f['shift']());}}}(a22_0x3b25,0x847cf));const fs=require('fs'),yargs=require('yargs'),logger=require('../helpers/logger')[a22_0x33baca(0xf5)],configFileTemplate=__dirname+a22_0x33baca(0x11f),configFile=process[a22_0x33baca(0xe8)]()+'/browserstack.yml',packageFile=process[a22_0x33baca(0xe8)]()+'/package.json',frameworks=[a22_0x33baca(0xdf),'jest',a22_0x33baca(0x13a),a22_0x33baca(0xe5),'nightwatch'];logger[a22_0x33baca(0x130)](a22_0x33baca(0xe2)),createConfigurationFile(yargs[a22_0x33baca(0x106)]['username'],yargs[a22_0x33baca(0x106)][a22_0x33baca(0x115)]),addScriptInPackageJson();function createConfigurationFile(_0x533455,_0x1439fb){const _0x152439=a22_0x33baca,_0x25d6c9={};_0x25d6c9[_0x152439(0xed)]=_0x152439(0x103),_0x25d6c9[_0x152439(0xe3)]=function(_0x4cd8f4,_0x2d6628){return _0x4cd8f4!==_0x2d6628;},_0x25d6c9[_0x152439(0x12d)]='hjrDB',_0x25d6c9[_0x152439(0x12c)]=function(_0x3a97ad,_0x467f47){return _0x3a97ad!==_0x467f47;},_0x25d6c9['wpezb']='zIkJm',_0x25d6c9[_0x152439(0x10b)]=_0x152439(0xfe),_0x25d6c9[_0x152439(0x121)]=_0x152439(0x129),_0x25d6c9['EkGyL']=_0x152439(0xde),_0x25d6c9['QdMQz']=function(_0x2b7b00,_0x392a25){return _0x2b7b00===_0x392a25;},_0x25d6c9[_0x152439(0x10a)]='sODBs',_0x25d6c9['DtSZE']='aiElb',_0x25d6c9[_0x152439(0x100)]=_0x152439(0xe9),_0x25d6c9[_0x152439(0x135)]=_0x152439(0x104),_0x25d6c9['xpMmn']='SYRLx',_0x25d6c9[_0x152439(0x119)]=_0x152439(0xe6);const _0x2e266a=_0x25d6c9;try{if(_0x2e266a[_0x152439(0xe3)](_0x2e266a[_0x152439(0x121)],_0x2e266a['WLyDi']))_0x2517fe&&_0xd2a53['error'](_0x2d7ed2);else{let _0x30c1dd=fs['readFileSync'](configFileTemplate,_0x2e266a[_0x152439(0xee)]);_0x533455&&(_0x2e266a[_0x152439(0x11c)](_0x2e266a['EjotG'],_0x2e266a['DtSZE'])?_0x5662b6=_0x442bcd[_0x152439(0xfa)](_0x2e266a['LRXwB'],_0x50f00d):_0x30c1dd=_0x30c1dd[_0x152439(0xfa)](_0x2e266a[_0x152439(0xed)],_0x533455)),_0x1439fb&&(_0x2e266a[_0x152439(0x11c)](_0x2e266a[_0x152439(0x100)],_0x2e266a[_0x152439(0x135)])?_0x236373[_0x152439(0x113)](_0x14d6b7):_0x30c1dd=_0x30c1dd[_0x152439(0xfa)](_0x2e266a[_0x152439(0x10b)],_0x1439fb)),fs[_0x152439(0xe0)](configFile,_0x30c1dd,_0x594e60=>{const _0x513502=_0x152439;_0x2e266a[_0x513502(0xe3)](_0x2e266a[_0x513502(0x12d)],_0x2e266a[_0x513502(0x12d)])?_0x10fe82[_0x326cb9[_0x4c237b][0x0]]=_0xb2bb84[_0x48afd7][0x1]:_0x594e60&&(_0x2e266a['RliZe'](_0x2e266a['wpezb'],_0x2e266a[_0x513502(0x10d)])?_0x563652[_0x513502(0xeb)](_0x169814[_0x188166][0x0]):logger[_0x513502(0x113)](_0x594e60));});}}catch(_0x3b2a53){_0x2e266a[_0x152439(0xe3)](_0x2e266a[_0x152439(0xe4)],_0x2e266a[_0x152439(0x119)])?logger[_0x152439(0x113)](_0x3b2a53):_0x2498c2=_0x11b936[_0x152439(0xfa)](_0x2e266a['wAjGV'],_0x359c30);}}function addScriptInPackageJson(){const _0x2af6eb=a22_0x33baca,_0x30a251={'xizgW':_0x2af6eb(0x102),'hbzGl':function(_0x1662e3,_0x5f9dd6,_0x149193){return _0x1662e3(_0x5f9dd6,_0x149193);},'lLHNT':_0x2af6eb(0xfc),'hNCBm':function(_0x1a9726,_0x1cc3a5){return _0x1a9726!==_0x1cc3a5;},'tvssr':_0x2af6eb(0x13b),'FuDcw':_0x2af6eb(0x107),'qpKJS':function(_0xee8bf0,_0x50ec34){return _0xee8bf0!==_0x50ec34;},'EvSGg':_0x2af6eb(0x110),'lAzLA':_0x2af6eb(0xde),'nOzub':function(_0x20b72b,_0x528522){return _0x20b72b<_0x528522;},'xvGuN':function(_0x542d00,_0x37c2d7){return _0x542d00===_0x37c2d7;},'lqnhp':_0x2af6eb(0x128),'AYDRE':_0x2af6eb(0x125),'Ivlkm':function(_0xada77a,_0x55d193){return _0xada77a<_0x55d193;},'ncZlA':function(_0x546d01,_0x518e37){return _0x546d01===_0x518e37;},'skFCi':_0x2af6eb(0x12f),'TwSaF':function(_0x193c93,_0x3ef884,_0x55a768){return _0x193c93(_0x3ef884,_0x55a768);},'Wrpsw':function(_0x4841d0,_0x2558b2){return _0x4841d0<_0x2558b2;},'BXbAS':_0x2af6eb(0xf1),'Fjslm':_0x2af6eb(0x112),'dDzxN':function(_0x136195,_0x99a01b){return _0x136195!==_0x99a01b;},'XFaeb':_0x2af6eb(0xea),'hlKWW':_0x2af6eb(0x122)};let _0x561e8b=JSON[_0x2af6eb(0x132)](fs[_0x2af6eb(0xe7)](packageFile,_0x30a251[_0x2af6eb(0x11a)])),_0x62f41c=[];for(let _0x1daa61=0x0;_0x30a251[_0x2af6eb(0x108)](_0x1daa61,frameworks[_0x2af6eb(0xf0)]);_0x1daa61+=0x1){if(_0x30a251[_0x2af6eb(0xec)](_0x30a251[_0x2af6eb(0x123)],_0x30a251[_0x2af6eb(0x133)]))_0x2d0751[_0x347f0f][0x1]['includes'](_0x31fa68)&&!_0x4ef765[_0x332a8f][0x1]['includes'](_0x30a251[_0x2af6eb(0x120)])&&_0x4482c0['push'](_0x538220[_0x195b1f][0x0]);else{let _0x4633fa=_0x30a251[_0x2af6eb(0xe1)](findScriptsWithFramework,_0x561e8b[_0x2af6eb(0x12e)],frameworks[_0x1daa61]);for(let _0x2b362b=0x0;_0x30a251['Ivlkm'](_0x2b362b,_0x4633fa['length']);_0x2b362b+=0x1){_0x30a251[_0x2af6eb(0x136)](_0x30a251[_0x2af6eb(0x11d)],_0x30a251[_0x2af6eb(0x11d)])?_0x62f41c[_0x2af6eb(0xeb)](_0x30a251[_0x2af6eb(0x127)](getUpdatedCommand,_0x561e8b[_0x2af6eb(0x12e)],_0x4633fa[_0x2b362b])):_0x473a05[_0x2af6eb(0xeb)](_0x30a251[_0x2af6eb(0xe1)](_0x874f8f,_0x23a1d0[_0x2af6eb(0x12e)],_0xcc4b16[_0x3e570f]));}}}const _0x1a6887={..._0x561e8b[_0x2af6eb(0x12e)]},_0x8f6e87=_0x1a6887;for(let _0x453560=0x0;_0x30a251[_0x2af6eb(0xef)](_0x453560,_0x62f41c['length']);_0x453560+=0x1){if(_0x30a251[_0x2af6eb(0xfb)](_0x30a251[_0x2af6eb(0x12a)],_0x30a251[_0x2af6eb(0xf9)]))_0x8f6e87[_0x62f41c[_0x453560][0x0]]=_0x62f41c[_0x453560][0x1];else{let _0x43f370=_0x426937+'-browserstack',_0x868c29='browserstack-node-sdk\x20'+_0xc9879a[_0x259445];return[_0x43f370,_0x868c29];}}_0x30a251[_0x2af6eb(0xfb)](JSON['stringify'](_0x561e8b['scripts']),JSON[_0x2af6eb(0xff)](_0x8f6e87))&&(_0x30a251[_0x2af6eb(0xf8)](_0x30a251[_0x2af6eb(0x114)],_0x30a251[_0x2af6eb(0x117)])?(logger[_0x2af6eb(0x130)](_0x30a251[_0x2af6eb(0x126)]),_0x561e8b[_0x2af6eb(0x12e)]=_0x8f6e87,fs[_0x2af6eb(0xe0)](packageFile,JSON['stringify'](_0x561e8b,null,0x2),_0x30613d=>{const _0xdf855f=_0x2af6eb,_0x145984={};_0x145984[_0xdf855f(0x138)]=_0x30a251[_0xdf855f(0x126)];const _0x1e40fb=_0x145984;_0x30a251['hNCBm'](_0x30a251['tvssr'],_0x30a251[_0xdf855f(0x137)])?_0x30613d&&(_0x30a251['qpKJS'](_0x30a251[_0xdf855f(0x13c)],_0x30a251['EvSGg'])?_0x5b7fac&&_0x25d5b7[_0xdf855f(0x113)](_0x29b007):logger[_0xdf855f(0x113)](_0x30613d)):(_0x17a675[_0xdf855f(0x130)](_0x1e40fb['IIGgt']),_0x34cff3[_0xdf855f(0x12e)]=_0x513678,_0x3b9cca[_0xdf855f(0xe0)](_0x418d01,_0x128716[_0xdf855f(0xff)](_0x5ce59a,null,0x2),_0x33d201=>{const _0x2b1c55=_0xdf855f;_0x33d201&&_0x3fd662[_0x2b1c55(0x113)](_0x33d201);}));})):_0x379b1e['error'](_0xcc0b91));}function a22_0x3b25(){const _0x119d3b=['xpMmn','node','FGkaX','readFileSync','cwd','yREjS','gHRzS','push','xvGuN','LRXwB','EkGyL','Wrpsw','length','HMSSP','entries','4289724TmPcfp','KdCSR','winstonLogger','1936080rjdFAR','iKCxP','dDzxN','Fjslm','replace','hNCBm','Adding\x20new\x20script(s)\x20in\x20package.json...','1888pahEov','YOUR_ACCESS_KEY','stringify','mAFYO','nPbMs','browserstack-node-sdk','YOUR_USERNAME','VoxLX','XQvZQ','argv','xlhJp','nOzub','aAOVJ','EjotG','wAjGV','HyfAz','wpezb','80557fgLwtt','73002vnHpan','aiVkg','Setup\x20completed','EIFQA','error','XFaeb','key','browserstack-node-sdk\x20','hlKWW','zuYTv','taXwY','lAzLA','ubaYR','QdMQz','skFCi','25249CveNIq','/../../browserstack.yml.sample','xizgW','WLyDi','qhDhy','lqnhp','1690vxPfLB','cOiMy','lLHNT','TwSaF','uMvvc','gwLpb','BXbAS','MaOtD','RliZe','aRRtd','scripts','zdWYp','info','2244230KhNAgc','parse','AYDRE','MXjhJ','LKqlU','ncZlA','FuDcw','IIGgt','-browserstack','cucumber-js','njJTB','EvSGg','195FwbZra','includes','utf8','mocha','writeFileSync','hbzGl','Creating\x20configuration\x20file...','JUjOA'];a22_0x3b25=function(){return _0x119d3b;};return a22_0x3b25();}function a22_0x2fac(_0x4ca96b,_0x2e507f){const _0x3b258e=a22_0x3b25();return a22_0x2fac=function(_0x2facc9,_0x25f2e0){_0x2facc9=_0x2facc9-0xde;let _0x2703f3=_0x3b258e[_0x2facc9];return _0x2703f3;},a22_0x2fac(_0x4ca96b,_0x2e507f);};function findScriptsWithFramework(_0x2a98d9,_0x373865){const _0x58bf1d=a22_0x33baca,_0x4c7007={'rbhWB':function(_0x451946,_0x53456a){return _0x451946<_0x53456a;},'XQvZQ':_0x58bf1d(0x102),'MXjhJ':function(_0x15a270,_0x33d8c8,_0x10c17d){return _0x15a270(_0x33d8c8,_0x10c17d);},'nPbMs':function(_0x159b75,_0x2836d2){return _0x159b75<_0x2836d2;},'iKCxP':function(_0xa4110e,_0xf0cbe0,_0x4f01f1){return _0xa4110e(_0xf0cbe0,_0x4f01f1);},'aAOVJ':function(_0x8a1397,_0x5c543c){return _0x8a1397<_0x5c543c;},'zuYTv':function(_0x1f3ec6,_0x255e90){return _0x1f3ec6===_0x255e90;},'ubaYR':_0x58bf1d(0x12b),'KdCSR':function(_0x5c1bb1,_0x122958){return _0x5c1bb1===_0x122958;},'HyfAz':'vbYLn'};let _0x19645e=[],_0x1e6caf=Object[_0x58bf1d(0xf2)](_0x2a98d9);for(let _0xd993cd=0x0;_0x4c7007[_0x58bf1d(0x109)](_0xd993cd,_0x1e6caf['length']);_0xd993cd+=0x1){if(_0x4c7007[_0x58bf1d(0x118)](_0x4c7007[_0x58bf1d(0x11b)],_0x4c7007[_0x58bf1d(0x11b)])){if(_0x1e6caf[_0xd993cd][0x1][_0x58bf1d(0x13e)](_0x373865)&&!_0x1e6caf[_0xd993cd][0x1][_0x58bf1d(0x13e)](_0x4c7007[_0x58bf1d(0x105)])){if(_0x4c7007[_0x58bf1d(0xf4)](_0x4c7007['HyfAz'],_0x4c7007[_0x58bf1d(0x10c)]))_0x19645e['push'](_0x1e6caf[_0xd993cd][0x0]);else{let _0x5f53b0=[],_0xa525f6=_0x449e44[_0x58bf1d(0xf2)](_0x1474a9);for(let _0x525fbd=0x0;_0x4c7007['rbhWB'](_0x525fbd,_0xa525f6[_0x58bf1d(0xf0)]);_0x525fbd+=0x1){_0xa525f6[_0x525fbd][0x1]['includes'](_0x6adad1)&&!_0xa525f6[_0x525fbd][0x1][_0x58bf1d(0x13e)](_0x4c7007[_0x58bf1d(0x105)])&&_0x5f53b0[_0x58bf1d(0xeb)](_0xa525f6[_0x525fbd][0x0]);}return _0x5f53b0;}}}else{let _0xdbb746=_0x4c7007[_0x58bf1d(0x134)](_0xa2440e,_0xa77fe9[_0x58bf1d(0x12e)],_0x799377[_0x17a995]);for(let _0x172c35=0x0;_0x4c7007[_0x58bf1d(0x101)](_0x172c35,_0xdbb746[_0x58bf1d(0xf0)]);_0x172c35+=0x1){_0x3f1d57[_0x58bf1d(0xeb)](_0x4c7007[_0x58bf1d(0xf7)](_0x41081c,_0x6725ee[_0x58bf1d(0x12e)],_0xdbb746[_0x172c35]));}}}return _0x19645e;}function getUpdatedCommand(_0x1f0717,_0x39447e){const _0x15bd04=a22_0x33baca;let _0xa1a1ee=_0x39447e+_0x15bd04(0x139),_0x1afdf7=_0x15bd04(0x116)+_0x1f0717[_0x39447e];return[_0xa1a1ee,_0x1afdf7];}logger[a22_0x33baca(0x130)](a22_0x33baca(0x111));
3
+ const a22_0x4cb4ca=a22_0x586f;function a22_0xa803(){const _0x10fbd4=['aQEYf','SDKSetup','CIjIT','GJswv','jEqUr','QrsEa','aYGyY','INsgn','entries','writeFileSync','/package.json','jest','knzHc','mrrfA','rXsQZ','cucumber-js','TRRis','hrrsS','256023urKEJo','debug','FiOOg','AVejw','hAjYC','brpZx','ARdBD','browserstack-node-sdk\x20','Setup\x20completed','CBCwa','OjKGr','CUEGi','/../../browserstack.yml.sample','js-yaml','Adding\x20new\x20script(s)\x20in\x20package.json...','Hqkxn','node','replace','40615PfnxPD','CIEbC','zZMDW','length','lgekv','info','VXYst','GNzjt','wEdBq','BRtYS','byufr','qzJlh','JRsQI','xDNTR','parse','nRVkk','scripts','ZAcEO','NRBjV','luhuH','xwIPR','load','ZhRki','WhYZj','browserstack-node-sdk','sLVsq','RlejV','412VFNAKM','WqNMm','KMbbu','uPCJo','includes','486972KlXrPE','BjfRJ','300pPBSOG','FdPTa','zFAJB','gdwpw','fireFunnelTestEvent','YnJBR','omGiU','argv','YOUR_USERNAME','684ROHbvV','winstonLogger','tKyIH','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','-browserstack','VTEMN','VYvBe','irRUc','SfcmQ','readFileSync','node-setup','VcEMD','bhXsL','KGicb','5946GIpAiE','fCQKD','bMNvA','mMJhs','push','LNEtQ','cwd','error','utf8','824432EFUGKQ','EThFX','Creating\x20configuration\x20file...','HSDfr','136IEZvid','key','OGKvL','nightwatch','WAIoo','LBKdg','beSBo','stringify','feiFE','source','KxjEH','1504734hgvEKi','isUndefined','vlhJe','FEdzY','username','142549kXjZDU','pFakm','../helpers/helper','mzrPI'];a22_0xa803=function(){return _0x10fbd4;};return a22_0xa803();}(function(_0x193195,_0x5d1b1c){const _0x236d40=a22_0x586f,_0x18c155=_0x193195();while(!![]){try{const _0x398f7f=-parseInt(_0x236d40(0x1a8))/0x1+-parseInt(_0x236d40(0x1b3))/0x2*(-parseInt(_0x236d40(0x1c1))/0x3)+parseInt(_0x236d40(0x1a3))/0x4*(parseInt(_0x236d40(0x188))/0x5)+parseInt(_0x236d40(0x1d9))/0x6+parseInt(_0x236d40(0x1ca))/0x7+parseInt(_0x236d40(0x1ce))/0x8*(-parseInt(_0x236d40(0x176))/0x9)+parseInt(_0x236d40(0x1aa))/0xa*(-parseInt(_0x236d40(0x160))/0xb);if(_0x398f7f===_0x5d1b1c)break;else _0x18c155['push'](_0x18c155['shift']());}catch(_0x530632){_0x18c155['push'](_0x18c155['shift']());}}}(a22_0xa803,0x7fdd9));const fs=require('fs'),helper=require(a22_0x4cb4ca(0x162)),yaml=require(a22_0x4cb4ca(0x183)),yargs=require('yargs'),logger=require('../helpers/logger')[a22_0x4cb4ca(0x1b4)],configFileTemplate=__dirname+a22_0x4cb4ca(0x182),configFile=process[a22_0x4cb4ca(0x1c7)]()+'/browserstack.yml',packageFile=process[a22_0x4cb4ca(0x1c7)]()+a22_0x4cb4ca(0x16e),frameworks=['mocha',a22_0x4cb4ca(0x16f),a22_0x4cb4ca(0x173),a22_0x4cb4ca(0x186),a22_0x4cb4ca(0x1d1)];let config;logger[a22_0x4cb4ca(0x18d)](a22_0x4cb4ca(0x1cc)),createConfigurationFile(yargs[a22_0x4cb4ca(0x1b1)][a22_0x4cb4ca(0x1dd)],yargs['argv'][a22_0x4cb4ca(0x1cf)]);try{sdkSetup();}catch(a22_0x3f5134){logger[a22_0x4cb4ca(0x177)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a22_0x3f5134);}addScriptInPackageJson();function createConfigurationFile(_0x382114,_0x41e703){const _0x4f1cf9=a22_0x4cb4ca,_0x18cd97={'knzHc':_0x4f1cf9(0x165),'RlejV':_0x4f1cf9(0x1a0),'brpZx':function(_0x3f7532,_0x30db88){return _0x3f7532!==_0x30db88;},'mrrfA':'KZliW','EThFX':function(_0x5f3b0b,_0x1f774d){return _0x5f3b0b===_0x1f774d;},'aQEYf':_0x4f1cf9(0x19c),'eAUjm':_0x4f1cf9(0x18f),'YnJBR':'YOUR_ACCESS_KEY','QLbpw':function(_0x2ec249,_0x154d5f,_0x53b55a){return _0x2ec249(_0x154d5f,_0x53b55a);},'mMJhs':function(_0x477d4a,_0x114145){return _0x477d4a!==_0x114145;},'whHmJ':_0x4f1cf9(0x19a),'OGKvL':_0x4f1cf9(0x1bf),'bocce':_0x4f1cf9(0x1c9),'Ovjyz':'OSEhK','luhuH':_0x4f1cf9(0x1be),'VTEMN':_0x4f1cf9(0x1b2),'eMjDD':'avpNL','LBKdg':'ihapo','INsgn':'AiqEw','beSBo':_0x4f1cf9(0x172)};try{if(_0x18cd97[_0x4f1cf9(0x1c4)](_0x18cd97['whHmJ'],_0x18cd97[_0x4f1cf9(0x1d0)])){let _0x19b6af=fs[_0x4f1cf9(0x1bc)](configFileTemplate,_0x18cd97['bocce']);_0x382114&&(_0x18cd97[_0x4f1cf9(0x1cb)](_0x18cd97['Ovjyz'],_0x18cd97[_0x4f1cf9(0x19b)])?_0x2ddd84[_0x4f1cf9(0x1ae)](_0x18cd97[_0x4f1cf9(0x170)],{},_0x1d5b42,''):_0x19b6af=_0x19b6af['replace'](_0x18cd97[_0x4f1cf9(0x1b8)],_0x382114)),_0x41e703&&(_0x18cd97['brpZx'](_0x18cd97['eMjDD'],_0x18cd97[_0x4f1cf9(0x1d3)])?_0x19b6af=_0x19b6af[_0x4f1cf9(0x187)](_0x18cd97['YnJBR'],_0x41e703):_0x436690&&_0x2c9b68['error'](_0x576f16)),config=yaml[_0x4f1cf9(0x19d)](_0x19b6af),fs['writeFileSync'](configFile,_0x19b6af,_0x5e78c3=>{const _0x1e19dc=_0x4f1cf9;if(_0x18cd97['brpZx'](_0x18cd97['mrrfA'],_0x18cd97[_0x1e19dc(0x171)]))return;else _0x5e78c3&&(_0x18cd97[_0x1e19dc(0x1cb)](_0x18cd97[_0x1e19dc(0x164)],_0x18cd97['eAUjm'])?_0x7fe9f9[_0xb238ad][0x1][_0x1e19dc(0x1a7)](_0x3358ef)&&!_0x5ac5e0[_0x4ed625][0x1][_0x1e19dc(0x1a7)](_0x18cd97[_0x1e19dc(0x1a2)])&&_0x50bfe0[_0x1e19dc(0x1c5)](_0x378eeb[_0x4f2500][0x0]):logger['error'](_0x5e78c3));});}else _0x208a86=_0x164d1b[_0x4f1cf9(0x187)](_0x18cd97[_0x4f1cf9(0x1af)],_0x5ecb72);}catch(_0x57ec21){_0x18cd97[_0x4f1cf9(0x17b)](_0x18cd97[_0x4f1cf9(0x16b)],_0x18cd97[_0x4f1cf9(0x1d4)])?logger[_0x4f1cf9(0x1c8)](_0x57ec21):_0x47c2f4[_0x4f1cf9(0x1c5)](_0x18cd97['QLbpw'](_0x2aef48,_0x2c5a3f['scripts'],_0x325df8[_0x1fa31b]));}}function addScriptInPackageJson(){const _0xc6a610=a22_0x4cb4ca,_0x1d48f0={'HYOjW':_0xc6a610(0x1bd),'VXYst':_0xc6a610(0x165),'ZhRki':function(_0x2e88b7){return _0x2e88b7();},'KMbbu':'YOUR_USERNAME','GjzwE':function(_0x118300,_0x2165ca){return _0x118300!==_0x2165ca;},'vlhJe':'KMjOD','byufr':_0xc6a610(0x1a9),'AVejw':function(_0x2b832f,_0xe45572){return _0x2b832f!==_0xe45572;},'egOFz':'AHjPe','CIEbC':_0xc6a610(0x199),'ARdBD':_0xc6a610(0x184),'JRsQI':_0xc6a610(0x1c9),'zFAJB':function(_0x9fe77e,_0x1a072f){return _0x9fe77e<_0x1a072f;},'WAIoo':function(_0x2d14c1,_0x6de8f9){return _0x2d14c1===_0x6de8f9;},'OzGci':_0xc6a610(0x191),'fCQKD':'HXJPv','FiOOg':function(_0x5c2424,_0x3b7959,_0xd84dab){return _0x5c2424(_0x3b7959,_0xd84dab);},'Hqkxn':function(_0x649517,_0x529b6e){return _0x649517<_0x529b6e;},'CIjIT':function(_0x58a087,_0x375b0e){return _0x58a087===_0x375b0e;},'TRRis':_0xc6a610(0x1a4),'pslkj':function(_0x92fed7,_0x3c7864,_0x28c563){return _0x92fed7(_0x3c7864,_0x28c563);},'vZoCu':function(_0xa64e77,_0x4db48e){return _0xa64e77<_0x4db48e;},'gdwpw':_0xc6a610(0x1c0),'CBCwa':'wjqZj','HSDfr':function(_0x39ba8a,_0x5dc8b3){return _0x39ba8a!==_0x5dc8b3;},'zZMDW':_0xc6a610(0x16a),'WhYZj':_0xc6a610(0x1b9)};let _0x5d7b69=JSON[_0xc6a610(0x196)](fs[_0xc6a610(0x1bc)](packageFile,_0x1d48f0[_0xc6a610(0x194)])),_0x197955=[];for(let _0x346a6f=0x0;_0x1d48f0[_0xc6a610(0x1ac)](_0x346a6f,frameworks[_0xc6a610(0x18b)]);_0x346a6f+=0x1){if(_0x1d48f0[_0xc6a610(0x1d2)](_0x1d48f0['OzGci'],_0x1d48f0[_0xc6a610(0x1c2)])){if(_0x58ab5f[_0xc6a610(0x1da)](_0x227205))return;_0x4da8a7[_0xc6a610(0x1d7)]=_0x1d48f0['HYOjW'];try{_0x251c9c[_0xc6a610(0x1ae)](_0x1d48f0[_0xc6a610(0x18e)],{},_0x37eeb4,'');}catch(_0x59956c){_0x375520[_0xc6a610(0x177)](_0xc6a610(0x1b6)+_0x59956c);}}else{let _0x18dfc6=_0x1d48f0[_0xc6a610(0x178)](findScriptsWithFramework,_0x5d7b69[_0xc6a610(0x198)],frameworks[_0x346a6f]);for(let _0x4b5217=0x0;_0x1d48f0[_0xc6a610(0x185)](_0x4b5217,_0x18dfc6['length']);_0x4b5217+=0x1){_0x1d48f0[_0xc6a610(0x166)](_0x1d48f0['TRRis'],_0x1d48f0[_0xc6a610(0x174)])?_0x197955[_0xc6a610(0x1c5)](_0x1d48f0['pslkj'](getUpdatedCommand,_0x5d7b69['scripts'],_0x18dfc6[_0x4b5217])):_0x210d06[_0xc6a610(0x1c8)](_0x25e603);}}}const _0x492c5b={..._0x5d7b69[_0xc6a610(0x198)]},_0x3338d6=_0x492c5b;for(let _0x505b5b=0x0;_0x1d48f0['vZoCu'](_0x505b5b,_0x197955[_0xc6a610(0x18b)]);_0x505b5b+=0x1){_0x1d48f0[_0xc6a610(0x179)](_0x1d48f0[_0xc6a610(0x1ad)],_0x1d48f0[_0xc6a610(0x17f)])?_0x3338d6[_0x197955[_0x505b5b][0x0]]=_0x197955[_0x505b5b][0x1]:_0x1d48f0[_0xc6a610(0x19e)](_0x399936);}_0x1d48f0[_0xc6a610(0x1cd)](JSON[_0xc6a610(0x1d5)](_0x5d7b69[_0xc6a610(0x198)]),JSON[_0xc6a610(0x1d5)](_0x3338d6))&&(_0x1d48f0['AVejw'](_0x1d48f0[_0xc6a610(0x18a)],_0x1d48f0[_0xc6a610(0x19f)])?(logger[_0xc6a610(0x18d)](_0x1d48f0[_0xc6a610(0x17c)]),_0x5d7b69[_0xc6a610(0x198)]=_0x3338d6,fs[_0xc6a610(0x16d)](packageFile,JSON[_0xc6a610(0x1d5)](_0x5d7b69,null,0x2),_0x49a0c2=>{const _0x8c30ba=_0xc6a610,_0x5ac183={};_0x5ac183[_0x8c30ba(0x169)]=_0x1d48f0[_0x8c30ba(0x1a5)];const _0x5f8371=_0x5ac183;_0x1d48f0['GjzwE'](_0x1d48f0[_0x8c30ba(0x1db)],_0x1d48f0[_0x8c30ba(0x192)])?_0x49a0c2&&(_0x1d48f0[_0x8c30ba(0x179)](_0x1d48f0['egOFz'],_0x1d48f0[_0x8c30ba(0x189)])?logger[_0x8c30ba(0x1c8)](_0x49a0c2):_0x5e1372=_0x3a8d4b[_0x8c30ba(0x187)](_0x5f8371[_0x8c30ba(0x169)],_0x162566)):_0x3863ae['debug'](_0x8c30ba(0x1b6)+_0x19c4a4);})):(_0x4a7f7d[_0xc6a610(0x18d)](_0x1d48f0[_0xc6a610(0x17c)]),_0x33f722[_0xc6a610(0x198)]=_0x492e2c,_0x207f3c[_0xc6a610(0x16d)](_0xf4d733,_0x172896[_0xc6a610(0x1d5)](_0xff5611,null,0x2),_0x17ba31=>{const _0x55695a=_0xc6a610;_0x17ba31&&_0x589c41[_0x55695a(0x1c8)](_0x17ba31);})));};function findScriptsWithFramework(_0x5e2c50,_0x17029d){const _0x230e7d=a22_0x4cb4ca,_0x552bd6={};_0x552bd6['uPCJo']=function(_0x973ac1,_0x3ca7c9){return _0x973ac1<_0x3ca7c9;},_0x552bd6[_0x230e7d(0x1d6)]=function(_0x18f990,_0x191f69){return _0x18f990===_0x191f69;},_0x552bd6[_0x230e7d(0x1b5)]=_0x230e7d(0x180),_0x552bd6[_0x230e7d(0x1ab)]=_0x230e7d(0x1a0),_0x552bd6[_0x230e7d(0x1ba)]=function(_0xd1d4f3,_0x182762){return _0xd1d4f3!==_0x182762;},_0x552bd6[_0x230e7d(0x17a)]='fyeDL',_0x552bd6[_0x230e7d(0x1b0)]='dtqtZ';const _0x2bff2b=_0x552bd6;let _0x5b6a8a=[],_0xa84a34=Object[_0x230e7d(0x16c)](_0x5e2c50);for(let _0x1af6ae=0x0;_0x2bff2b[_0x230e7d(0x1a6)](_0x1af6ae,_0xa84a34[_0x230e7d(0x18b)]);_0x1af6ae+=0x1){_0x2bff2b[_0x230e7d(0x1d6)](_0x2bff2b[_0x230e7d(0x1b5)],_0x2bff2b['tKyIH'])?_0xa84a34[_0x1af6ae][0x1][_0x230e7d(0x1a7)](_0x17029d)&&!_0xa84a34[_0x1af6ae][0x1]['includes'](_0x2bff2b['FdPTa'])&&(_0x2bff2b['irRUc'](_0x2bff2b[_0x230e7d(0x17a)],_0x2bff2b['omGiU'])?_0x5b6a8a[_0x230e7d(0x1c5)](_0xa84a34[_0x1af6ae][0x0]):_0x10abcc['error'](_0x31e224)):_0x421aaa[_0x230e7d(0x1c5)](_0x378872[_0x43dc8b][0x0]);}return _0x5b6a8a;}function getUpdatedCommand(_0x5a38ac,_0xc9f700){const _0x2d34b2=a22_0x4cb4ca;let _0x284b04=_0xc9f700+_0x2d34b2(0x1b7),_0x56d511=_0x2d34b2(0x17d)+_0x5a38ac[_0xc9f700];return[_0x284b04,_0x56d511];}function sdkSetup(){const _0x493e73=a22_0x4cb4ca,_0x377be1={};_0x377be1[_0x493e73(0x1c6)]=function(_0x2ff33a,_0x42043a){return _0x2ff33a<_0x42043a;},_0x377be1['KxjEH']=_0x493e73(0x1a0),_0x377be1[_0x493e73(0x181)]=function(_0x3267a9,_0x395d04){return _0x3267a9===_0x395d04;},_0x377be1[_0x493e73(0x1bb)]=_0x493e73(0x161),_0x377be1[_0x493e73(0x163)]='WDpmN',_0x377be1[_0x493e73(0x167)]=_0x493e73(0x1bd),_0x377be1[_0x493e73(0x197)]=function(_0x2b6c23,_0x1b168f){return _0x2b6c23!==_0x1b168f;},_0x377be1[_0x493e73(0x175)]=_0x493e73(0x1c3),_0x377be1[_0x493e73(0x18c)]=_0x493e73(0x190),_0x377be1[_0x493e73(0x193)]=_0x493e73(0x165),_0x377be1[_0x493e73(0x168)]=_0x493e73(0x1dc),_0x377be1[_0x493e73(0x195)]=_0x493e73(0x1a1);const _0x3eede2=_0x377be1;if(helper[_0x493e73(0x1da)](config)){if(_0x3eede2[_0x493e73(0x181)](_0x3eede2[_0x493e73(0x1bb)],_0x3eede2['mzrPI'])){let _0x4d5e4a=_0x390ba3+_0x493e73(0x1b7),_0x462184=_0x493e73(0x17d)+_0x3683db[_0x403b03];return[_0x4d5e4a,_0x462184];}else return;}config['source']=_0x3eede2[_0x493e73(0x167)];try{if(_0x3eede2['nRVkk'](_0x3eede2[_0x493e73(0x175)],_0x3eede2[_0x493e73(0x18c)]))helper['fireFunnelTestEvent'](_0x3eede2['qzJlh'],{},config,'');else{let _0xc5be80=[],_0x225028=_0x4d0c03[_0x493e73(0x16c)](_0x4eb8c1);for(let _0x3b42bb=0x0;_0x3eede2[_0x493e73(0x1c6)](_0x3b42bb,_0x225028[_0x493e73(0x18b)]);_0x3b42bb+=0x1){_0x225028[_0x3b42bb][0x1][_0x493e73(0x1a7)](_0x4bf6d0)&&!_0x225028[_0x3b42bb][0x1][_0x493e73(0x1a7)](_0x3eede2[_0x493e73(0x1d8)])&&_0xc5be80[_0x493e73(0x1c5)](_0x225028[_0x3b42bb][0x0]);}return _0xc5be80;}}catch(_0x3cbb72){_0x3eede2[_0x493e73(0x197)](_0x3eede2[_0x493e73(0x168)],_0x3eede2[_0x493e73(0x195)])?logger[_0x493e73(0x177)](_0x493e73(0x1b6)+_0x3cbb72):_0x4470e6[_0x12e378[_0x4253c8][0x0]]=_0x2d5481[_0x1bc403][0x1];}}function a22_0x586f(_0x2276d5,_0x721d56){const _0xa803ae=a22_0xa803();return a22_0x586f=function(_0x586f5f,_0x13e248){_0x586f5f=_0x586f5f-0x160;let _0x22dbce=_0xa803ae[_0x586f5f];return _0x22dbce;},a22_0x586f(_0x2276d5,_0x721d56);}logger[a22_0x4cb4ca(0x18d)](a22_0x4cb4ca(0x17e));
@@ -1 +1 @@
1
- const a23_0x5ec640=a23_0x4d57;function a23_0x4d57(_0x2e1d54,_0x525aab){const _0x139fe3=a23_0x139f();return a23_0x4d57=function(_0x4d5723,_0x1c88df){_0x4d5723=_0x4d5723-0x19a;let _0x3af260=_0x139fe3[_0x4d5723];return _0x3af260;},a23_0x4d57(_0x2e1d54,_0x525aab);}(function(_0x5da030,_0xabbc71){const _0x1298de=a23_0x4d57,_0x33bff9=_0x5da030();while(!![]){try{const _0x4b33=parseInt(_0x1298de(0x1ff))/0x1+-parseInt(_0x1298de(0x20f))/0x2*(parseInt(_0x1298de(0x1df))/0x3)+-parseInt(_0x1298de(0x1fa))/0x4+parseInt(_0x1298de(0x1ee))/0x5+-parseInt(_0x1298de(0x20c))/0x6*(-parseInt(_0x1298de(0x1bc))/0x7)+parseInt(_0x1298de(0x1b6))/0x8+-parseInt(_0x1298de(0x1e9))/0x9;if(_0x4b33===_0xabbc71)break;else _0x33bff9['push'](_0x33bff9['shift']());}catch(_0x20969d){_0x33bff9['push'](_0x33bff9['shift']());}}}(a23_0x139f,0x59bc9));const Worker=require(a23_0x5ec640(0x1b7))[a23_0x5ec640(0x1d4)],Emittery=require('emittery'),throat=require(a23_0x5ec640(0x1c1)),logger=require(a23_0x5ec640(0x1a0))[a23_0x5ec640(0x200)],{launchTestSession,stopBuildUpstream,isTestObservabilitySession}=require(a23_0x5ec640(0x1c0));exports['parallelTestRun']=(_0x2a8f31,_0x25c776,_0x28df9f)=>new Promise(async _0x186d34=>{const _0xabf176=a23_0x5ec640,_0x458187={'KRXbJ':_0xabf176(0x1ea),'uqkQv':function(_0x57a76e,_0x32a96b){return _0x57a76e+_0x32a96b;},'CkzyD':'results','BGXrP':'Workers\x20failed\x20to\x20exit\x20gracefully','pZBWP':function(_0x1dff38,_0xf696d){return _0x1dff38===_0xf696d;},'fVjYs':function(_0x1777ce,_0xf9837d){return _0x1777ce!==_0xf9837d;},'Fujnk':function(_0x3fbaa7,_0x1413e1){return _0x3fbaa7===_0x1413e1;},'QxVOo':_0xabf176(0x1da),'PbDUo':_0xabf176(0x207),'gWgCa':_0xabf176(0x1e8),'HUTsc':function(_0x1a306c,_0x57c3f9){return _0x1a306c+_0x57c3f9;},'SIjLh':_0xabf176(0x1fc),'zkYfw':function(_0x1003d2,_0x10c4e5){return _0x1003d2===_0x10c4e5;},'tPTzu':_0xabf176(0x1f4),'eZQiG':'FvcpC','tCRzF':function(_0x4c3af1){return _0x4c3af1();},'DMBKG':_0xabf176(0x1b9),'RVxRf':'tapbV','UJFmn':function(_0x2098c6,_0x4d80fa){return _0x2098c6(_0x4d80fa);},'vzgEx':function(_0x29d9fa,_0x91c6a6){return _0x29d9fa===_0x91c6a6;},'NjqdF':_0xabf176(0x1f3),'LxEoS':_0xabf176(0x1c6),'vlozx':function(_0xcc3c9d,_0x12d7bb){return _0xcc3c9d!==_0x12d7bb;},'Ejqzp':_0xabf176(0x19c),'wWTcV':_0xabf176(0x1de),'QilQT':_0xabf176(0x203),'TzaZm':'json','KChiQ':_0xabf176(0x1f0),'EtqmW':'test-file-success','hTSRI':'test-file-failure','PHAyP':function(_0x13d53b,_0x916922){return _0x13d53b(_0x916922);}},_0x51be64={};if(_0x458187[_0xabf176(0x1a9)](isTestObservabilitySession)){if(_0x458187[_0xabf176(0x1c8)](_0x458187[_0xabf176(0x19e)],_0x458187['Ejqzp']))_0x3e0ba4[_0x25c9b1[0x0]][_0x458187[_0xabf176(0x1a8)]]=_0x458187[_0xabf176(0x1a7)](_0x161627[_0x2bee49[0x0]][_0x458187[_0xabf176(0x1a8)]],_0x5210b4[0x1][_0x458187[_0xabf176(0x1a8)]]),_0x3cb971[_0x2c5456[0x0]][_0x458187[_0xabf176(0x1e1)]]=[..._0x356504[_0x167a65[0x0]][_0x458187[_0xabf176(0x1e1)]],..._0x2ad032[0x1][_0x458187[_0xabf176(0x1e1)]]];else{const _0x2434f6={..._0x28df9f};_0x2434f6['root_dir_path']='';const [_0x4711aa,_0x3a1689,_0x1754d1]=await _0x458187[_0xabf176(0x1dd)](launchTestSession,_0x2434f6);process['env'][_0xabf176(0x20a)]=_0x4711aa,process['env'][_0xabf176(0x1b3)]=_0x3a1689,process[_0xabf176(0x1b4)][_0xabf176(0x210)]=_0x1754d1;}}const _0x15c1cf=new Worker(require[_0xabf176(0x201)](_0x458187['wWTcV'],{'exposedMethods':[_0x458187[_0xabf176(0x1b8)]],'forkOptions':{'serialization':_0x458187[_0xabf176(0x1fd)],'stdio':_0x458187['KChiQ']},'numWorkers':_0x25c776})),_0x40d516=new Emittery();_0x40d516['on'](_0x458187[_0xabf176(0x1c3)],_0x393b0d=>{const _0xee02b1=_0xabf176;if(_0x458187[_0xee02b1(0x1f2)](_0x458187[_0xee02b1(0x1a6)],_0x458187[_0xee02b1(0x1a6)])){if(_0x51be64[_0x393b0d[0x0]]){if(_0x458187[_0xee02b1(0x209)](_0x458187['PbDUo'],_0x458187['gWgCa']))_0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1a8)]]=_0x458187[_0xee02b1(0x1f1)](_0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1a8)]],_0x393b0d[0x1][_0x458187[_0xee02b1(0x1a8)]]),_0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1e1)]]=[..._0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1e1)]],..._0x393b0d[0x1][_0x458187[_0xee02b1(0x1e1)]]];else{const _0x505b53={};_0x505b53[_0xee02b1(0x1ea)]=_0x407812[0x1][_0x458187['KRXbJ']],_0x505b53[_0xee02b1(0x1c4)]=[..._0x4174c2[0x1][_0x458187['CkzyD']]],_0x2e78a6[_0x405958[0x0]]=_0x505b53;}}else _0x458187[_0xee02b1(0x1f2)](_0x458187[_0xee02b1(0x1f8)],_0x458187[_0xee02b1(0x1f8)])?_0x51be64[_0x393b0d[0x0]]={'failureCount':_0x393b0d[0x1][_0x458187[_0xee02b1(0x1a8)]],'results':[..._0x393b0d[0x1][_0x458187['CkzyD']]]}:_0xe7464c['error'](_0x458187[_0xee02b1(0x1db)]);}else _0x458187['pZBWP'](_0x47b1a8,0x0)&&_0x458187[_0xee02b1(0x209)](_0x2b4598,0x0)&&(_0xd9b221=_0x50cbd1);}),_0x40d516['on'](_0x458187['hTSRI'],_0x46d901=>console[_0xabf176(0x20b)](_0x46d901[0x1]));if(_0x15c1cf[_0xabf176(0x20e)]())_0x15c1cf['getStdout']()[_0xabf176(0x1f0)](process['stdout']);if(_0x15c1cf[_0xabf176(0x1d7)]())_0x15c1cf[_0xabf176(0x1d7)]()['pipe'](process['stderr']);const _0x43969f=async()=>{const _0x4b9182=_0xabf176;if(_0x458187['zkYfw'](_0x458187['tPTzu'],_0x458187[_0x4b9182(0x206)])){const {forceExited:_0x1e0ded}=await _0x15c1cf[_0x4b9182(0x1e2)]();_0x1e0ded&&(_0x458187['pZBWP'](_0x458187['eZQiG'],_0x458187['eZQiG'])?console[_0x4b9182(0x1ae)](_0x458187['BGXrP']):_0x584858[0x0]&&_0x185440['info'](_0x4b9182(0x1ef)+_0x209202[0x1]+_0x4b9182(0x1cc),_0x3e666b[0x0])),_0x458187[_0x4b9182(0x1a9)](isTestObservabilitySession)&&(_0x458187[_0x4b9182(0x209)](_0x458187[_0x4b9182(0x1cd)],_0x458187[_0x4b9182(0x1eb)])?await _0x458187['tCRzF'](stopBuildUpstream):_0x1ceaf2['error'](_0x458187['BGXrP'])),_0x458187[_0x4b9182(0x1dd)](_0x186d34,_0x51be64);}else _0x4cc81e=_0x1241c7;},_0x38cf37=_0x458187[_0xabf176(0x1b2)](throat,_0x25c776),_0x199ef3=_0x50e1f8=>_0x38cf37(async()=>{const _0x218253=_0xabf176;if(_0x458187[_0x218253(0x1ca)](_0x458187[_0x218253(0x1ec)],_0x458187[_0x218253(0x1ec)]))return await _0x40d516[_0x218253(0x1bb)](_0x458187['LxEoS'],_0x50e1f8),_0x15c1cf['worker'](_0x50e1f8,_0x28df9f);else{if(_0x2fdad3[_0x29c2c6[0x0]])_0xc6faa[_0x521494[0x0]][_0x458187[_0x218253(0x1a8)]]=_0x458187[_0x218253(0x1a7)](_0xa69710[_0x84b7a1[0x0]][_0x458187[_0x218253(0x1a8)]],_0x1ff0c7[0x1][_0x458187[_0x218253(0x1a8)]]),_0x5eea21[_0x35f764[0x0]][_0x458187[_0x218253(0x1e1)]]=[..._0x5bb811[_0x51ef25[0x0]][_0x458187['CkzyD']],..._0x1d0d07[0x1][_0x458187[_0x218253(0x1e1)]]];else{const _0x5234b5={};_0x5234b5[_0x218253(0x1ea)]=_0x4882ad[0x1][_0x458187[_0x218253(0x1a8)]],_0x5234b5[_0x218253(0x1c4)]=[..._0x5d2e47[0x1][_0x458187['CkzyD']]],_0x96b57b[_0x20fcae[0x0]]=_0x5234b5;}}});Promise[_0xabf176(0x1e0)](_0x2a8f31[_0xabf176(0x1c7)](_0x5a7e6c=>_0x199ef3(_0x5a7e6c)['then'](_0x52a276=>_0x40d516[_0xabf176(0x1bb)](_0xabf176(0x1be),[_0x5a7e6c[_0xabf176(0x1d9)][_0xabf176(0x1b0)],_0x52a276]),_0x342cc5=>_0x40d516[_0xabf176(0x1bb)](_0xabf176(0x1ad),[_0x5a7e6c,_0x342cc5]))))['then'](_0x43969f,_0x43969f);}),exports['parallelCucumberRun']=(_0x547767,_0x35b227,_0x456807,_0x1b5f6c,_0x26bac3)=>{const _0x53e13c=a23_0x5ec640,_0x1b3c0a={'XpgCL':function(_0xb04546,_0x1d69c2){return _0xb04546!==_0x1d69c2;},'VgUdA':_0x53e13c(0x1ce),'mWldD':'KVmAX','Iruby':_0x53e13c(0x19b),'ZmQrB':_0x53e13c(0x1fb),'KgfhY':_0x53e13c(0x1f5),'eCJzd':function(_0x8b6370,_0x108e33){return _0x8b6370===_0x108e33;},'GhPal':'ZpMyu','NOMEi':function(_0x39f183,_0x2d4175){return _0x39f183(_0x2d4175);},'QPihU':_0x53e13c(0x1de),'trcYb':_0x53e13c(0x1e7),'nRPTg':_0x53e13c(0x19f),'iGett':_0x53e13c(0x1f0),'ZLYJI':_0x53e13c(0x1fe),'vcyoS':_0x53e13c(0x1b5)};return new Promise(_0x38f185=>{const _0x5e96be=_0x53e13c,_0x143ca8={'WBDPQ':_0x1b3c0a[_0x5e96be(0x1d0)],'QXuEK':function(_0x3706b6,_0x54dee8){return _0x1b3c0a['XpgCL'](_0x3706b6,_0x54dee8);},'taiWD':_0x1b3c0a[_0x5e96be(0x1d2)],'xbYmp':function(_0x588a3a,_0x415c8f){const _0x33ded0=_0x5e96be;return _0x1b3c0a[_0x33ded0(0x202)](_0x588a3a,_0x415c8f);},'nYANi':_0x1b3c0a[_0x5e96be(0x1d8)],'xSQLb':function(_0x1b56f9,_0x24a9d1){return _0x1b3c0a['NOMEi'](_0x1b56f9,_0x24a9d1);}},_0x28d6e7=[],_0x24fa5d=new Worker(require[_0x5e96be(0x201)](_0x1b3c0a[_0x5e96be(0x1a2)],{'exposedMethods':[_0x1b3c0a[_0x5e96be(0x1cf)]],'forkOptions':{'serialization':_0x1b3c0a[_0x5e96be(0x1e3)],'stdio':_0x1b3c0a[_0x5e96be(0x1c2)]},'numWorkers':_0x547767[_0x5e96be(0x1d3)]})),_0x3aa10b=new Emittery();_0x3aa10b['on'](_0x1b3c0a[_0x5e96be(0x1b1)],_0x50f5ac=>{const _0xfffb0d=_0x5e96be;if(_0x1b3c0a['XpgCL'](_0x1b3c0a[_0xfffb0d(0x1dc)],_0x1b3c0a[_0xfffb0d(0x1c9)]))_0x28d6e7['push']([_0x50f5ac[0x0],_0x50f5ac[0x1]]);else return _0x4898e2[_0xfffb0d(0x1f6)](_0x1f0ab1);}),_0x3aa10b['on'](_0x1b3c0a[_0x5e96be(0x1e6)],_0x44cf4c=>console[_0x5e96be(0x20b)](_0x44cf4c[0x1]));if(_0x24fa5d[_0x5e96be(0x20e)]())_0x24fa5d['getStdout']()[_0x5e96be(0x1f0)](process[_0x5e96be(0x1bf)]);if(_0x24fa5d['getStderr']())_0x24fa5d[_0x5e96be(0x1d7)]()[_0x5e96be(0x1f0)](process[_0x5e96be(0x1ba)]);const _0x2030ba=async()=>{const _0x42d6dd=_0x5e96be,_0x3b4b30={};_0x3b4b30[_0x42d6dd(0x208)]=_0x143ca8[_0x42d6dd(0x19a)];const _0x335fea=_0x3b4b30;if(_0x143ca8[_0x42d6dd(0x1e4)](_0x143ca8[_0x42d6dd(0x1ac)],_0x143ca8[_0x42d6dd(0x1ac)]))_0x69b07d['push']([_0x53221c[0x0],_0x24ed44[0x1]]);else{const {forceExited:_0x3045a9}=await _0x24fa5d['end']();_0x3045a9&&(_0x143ca8[_0x42d6dd(0x1f9)](_0x143ca8[_0x42d6dd(0x204)],_0x143ca8[_0x42d6dd(0x204)])?console[_0x42d6dd(0x1ae)](_0x143ca8[_0x42d6dd(0x19a)]):_0x119a12[_0x42d6dd(0x1ae)](_0x335fea['IcgWL'])),_0x143ca8[_0x42d6dd(0x1d6)](_0x38f185,_0x28d6e7);}},_0x3f69b4=_0x1b3c0a[_0x5e96be(0x1ed)](throat,_0x547767['length']),_0x659ab3=_0x4090fe=>_0x3f69b4(async()=>{return await _0x3aa10b['emit'](_0x1b3c0a['Iruby'],_0x4090fe),_0x24fa5d['cucumberWorker'](_0x4090fe,_0x35b227,_0x456807,_0x1b5f6c,_0x26bac3);});Promise[_0x5e96be(0x1e0)](_0x547767['map'](_0x3bd41b=>_0x659ab3(_0x3bd41b)['then'](_0x165ce6=>_0x3aa10b[_0x5e96be(0x1bb)]('platform-run-success',[_0x3bd41b,_0x165ce6]),_0x2ba451=>_0x3aa10b['emit']('platform-run-failure',[_0x3bd41b,_0x2ba451]))))[_0x5e96be(0x1a3)](_0x2030ba,_0x2030ba);});},exports['parallelVanillaRun']=(_0x68587a,_0x54c9e9)=>new Promise(_0x1d58d8=>{const _0x3d3ab8=a23_0x5ec640,_0x6d5bbe={'bkxtg':function(_0x144b67,_0x545367){return _0x144b67===_0x545367;},'FrtiL':function(_0x427fe8,_0x5974e5){return _0x427fe8!==_0x5974e5;},'NeGgc':'exit','cPQWc':_0x3d3ab8(0x1fb),'GVICt':function(_0x4a0768,_0x385b05){return _0x4a0768(_0x385b05);},'YOGok':_0x3d3ab8(0x1de),'ldiSS':_0x3d3ab8(0x1f6),'YpVyc':_0x3d3ab8(0x19f),'zVbYZ':_0x3d3ab8(0x1f0),'UGdZQ':_0x3d3ab8(0x1be),'SgQKD':'test-file-failure'},_0x26ddad={},_0x425e93=new Worker(require[_0x3d3ab8(0x201)](_0x6d5bbe[_0x3d3ab8(0x205)],{'exposedMethods':[_0x6d5bbe[_0x3d3ab8(0x1a1)]],'forkOptions':{'serialization':_0x6d5bbe[_0x3d3ab8(0x1aa)],'stdio':_0x6d5bbe[_0x3d3ab8(0x1c5)]},'numWorkers':_0x54c9e9})),_0x31a40d=new Emittery();_0x31a40d['on'](_0x6d5bbe[_0x3d3ab8(0x1bd)],_0x4a3c6b=>{const _0x160b2b=_0x3d3ab8;_0x4a3c6b[0x0]&&logger[_0x160b2b(0x1d1)](_0x160b2b(0x1ef)+_0x4a3c6b[0x1]+_0x160b2b(0x1cc),_0x4a3c6b[0x0]);}),_0x31a40d['on'](_0x6d5bbe[_0x3d3ab8(0x1af)],_0x3e99df=>console[_0x3d3ab8(0x20b)](_0x3e99df[0x1]));if(_0x425e93[_0x3d3ab8(0x20e)]())_0x425e93[_0x3d3ab8(0x20e)]()[_0x3d3ab8(0x1f0)](process['stdout']);if(_0x425e93['getStderr']())_0x425e93[_0x3d3ab8(0x1d7)]()[_0x3d3ab8(0x1f0)](process[_0x3d3ab8(0x1ba)]);const _0x5dfc9a=async()=>{const _0x1729f7=_0x3d3ab8;let _0x3cf19f=0x0;const _0x5de048=_0x425e93[_0x1729f7(0x19d)][_0x1729f7(0x1ab)](),_0x2ab730=()=>{},_0x25da32=_0x5de048[_0x1729f7(0x1c7)](async _0x49415f=>{const _0x464436=_0x1729f7,_0x30a32c={'zssSl':function(_0x5d0cb9,_0x41edc2){const _0x6c4102=a23_0x4d57;return _0x6d5bbe[_0x6c4102(0x1d5)](_0x5d0cb9,_0x41edc2);},'kKGhZ':function(_0x2ba92f,_0x41539d){const _0x134cab=a23_0x4d57;return _0x6d5bbe[_0x134cab(0x1e5)](_0x2ba92f,_0x41539d);}};_0x49415f['send']([0x2,![]],_0x2ab730,_0x2ab730,_0x2ab730),_0x49415f[_0x464436(0x20d)]['on'](_0x6d5bbe[_0x464436(0x1cb)],_0x3e23c0=>{_0x30a32c['zssSl'](_0x3cf19f,0x0)&&_0x30a32c['kKGhZ'](_0x3e23c0,0x0)&&(_0x3cf19f=_0x3e23c0);}),await _0x49415f[_0x464436(0x1a4)]();});await Promise[_0x1729f7(0x1e0)](_0x25da32),process['exitCode']=_0x3cf19f;const {forceExited:_0x1e9e5d}=await _0x425e93[_0x1729f7(0x1e2)]();_0x1e9e5d&&console[_0x1729f7(0x1ae)](_0x6d5bbe[_0x1729f7(0x1a5)]),_0x6d5bbe[_0x1729f7(0x1f7)](_0x1d58d8,_0x26ddad);},_0x34e27d=_0x6d5bbe['GVICt'](throat,_0x54c9e9),_0x43d824=_0x29b303=>_0x34e27d(async()=>{const _0x4978d4=_0x3d3ab8;return _0x425e93[_0x4978d4(0x1f6)](_0x29b303);});Promise[_0x3d3ab8(0x1e0)](_0x68587a[_0x3d3ab8(0x1c7)](_0x550e28=>_0x43d824(_0x550e28)[_0x3d3ab8(0x1a3)](_0x332f35=>_0x31a40d['emit'](_0x3d3ab8(0x1be),[_0x550e28['configuration'][_0x3d3ab8(0x1b0)],_0x550e28[_0x3d3ab8(0x1d9)]['file']]),_0x514640=>_0x31a40d['emit']('test-file-failure',[_0x550e28,_0x514640]))))['then'](_0x5dfc9a,_0x5dfc9a);});function a23_0x139f(){const _0x109421=['KgfhY','length','Worker','bkxtg','xSQLb','getStderr','GhPal','configuration','ZhRVx','BGXrP','VgUdA','UJFmn','./testWorker.js','24BiSCsf','all','CkzyD','end','nRPTg','QXuEK','FrtiL','vcyoS','cucumberWorker','wpozn','4603788XOQzpJ','failureCount','RVxRf','NjqdF','NOMEi','3437725ycaUtM','Running\x20','pipe','HUTsc','Fujnk','wIOem','EaPki','AWkEE','vanillaWorker','GVICt','SIjLh','xbYmp','1831996cPvEWu','Workers\x20failed\x20to\x20exit\x20gracefully','DYKtB','TzaZm','platform-run-success','240766AUHxZd','winstonLogger','resolve','eCJzd','worker','nYANi','YOGok','tPTzu','hNaOx','IcgWL','fVjYs','BS_TESTOPS_JWT','log','66oPsZal','_child','getStdout','74300QaLNtT','BS_TESTOPS_ALLOW_SCREENSHOTS','WBDPQ','platform-run-start','dtBJh','_workerPool','Ejqzp','json','../../helpers/logger','ldiSS','QPihU','then','waitForExit','cPQWc','QxVOo','uqkQv','KRXbJ','tCRzF','YpVyc','getWorkers','taiWD','test-file-failure','error','SgQKD','platform','ZLYJI','PHAyP','BS_TESTOPS_BUILD_HASHED_ID','env','platform-run-failure','3695392RBwIrb','jest-worker','QilQT','kwRTM','stderr','emit','155309NpxpOO','UGdZQ','test-file-success','stdout','../mocha/test-observability/helper','throat','iGett','EtqmW','results','zVbYZ','test-file-start','map','vlozx','mWldD','vzgEx','NeGgc','\x20for','DMBKG','cMIRZ','trcYb','ZmQrB','info'];a23_0x139f=function(){return _0x109421;};return a23_0x139f();}
1
+ function a23_0xbb4f(_0x356d3b,_0x8c332b){const _0x522490=a23_0x5224();return a23_0xbb4f=function(_0xbb4f1d,_0x5388af){_0xbb4f1d=_0xbb4f1d-0x154;let _0x2413da=_0x522490[_0xbb4f1d];return _0x2413da;},a23_0xbb4f(_0x356d3b,_0x8c332b);}const a23_0x41bb31=a23_0xbb4f;(function(_0x2bf77a,_0x47c7a8){const _0x4c3905=a23_0xbb4f,_0x141d0b=_0x2bf77a();while(!![]){try{const _0x4ad237=parseInt(_0x4c3905(0x181))/0x1+parseInt(_0x4c3905(0x1c7))/0x2*(parseInt(_0x4c3905(0x178))/0x3)+-parseInt(_0x4c3905(0x162))/0x4*(parseInt(_0x4c3905(0x1ac))/0x5)+-parseInt(_0x4c3905(0x198))/0x6*(parseInt(_0x4c3905(0x194))/0x7)+-parseInt(_0x4c3905(0x1b5))/0x8+-parseInt(_0x4c3905(0x1aa))/0x9*(-parseInt(_0x4c3905(0x157))/0xa)+-parseInt(_0x4c3905(0x196))/0xb;if(_0x4ad237===_0x47c7a8)break;else _0x141d0b['push'](_0x141d0b['shift']());}catch(_0x59949e){_0x141d0b['push'](_0x141d0b['shift']());}}}(a23_0x5224,0x6a51e));const Worker=require(a23_0x41bb31(0x1d5))[a23_0x41bb31(0x192)],Emittery=require(a23_0x41bb31(0x1b7)),throat=require('throat'),logger=require(a23_0x41bb31(0x170))[a23_0x41bb31(0x156)],{launchTestSession,stopBuildUpstream,isTestObservabilitySession}=require(a23_0x41bb31(0x197));exports[a23_0x41bb31(0x191)]=(_0x5de579,_0x3fe720,_0x2632ee)=>new Promise(async _0x28b117=>{const _0x1b4ff3=a23_0x41bb31,_0x152801={'ZiDAo':_0x1b4ff3(0x1af),'jwDny':function(_0x1c17d0,_0x576f60){return _0x1c17d0+_0x576f60;},'TndXP':'results','pVvDC':function(_0x57734d,_0x4e9553){return _0x57734d===_0x4e9553;},'kBpgn':function(_0x4d5a43,_0x75aa1b){return _0x4d5a43!==_0x75aa1b;},'MybEj':_0x1b4ff3(0x1d7),'NlnYj':function(_0x3abe38,_0x185467){return _0x3abe38!==_0x185467;},'URxNH':_0x1b4ff3(0x19c),'EHhPn':function(_0xe827ed,_0xd82da4){return _0xe827ed===_0xd82da4;},'hGDTQ':_0x1b4ff3(0x1d1),'OkEMN':_0x1b4ff3(0x1c9),'luNgp':_0x1b4ff3(0x1ce),'eCZGj':_0x1b4ff3(0x1a3),'NPSMA':_0x1b4ff3(0x19f),'CGcIY':_0x1b4ff3(0x154),'rsBNf':function(_0x1bef94){return _0x1bef94();},'gjxbW':function(_0x5af1d9,_0x4dc585){return _0x5af1d9===_0x4dc585;},'IELHx':_0x1b4ff3(0x184),'xhGxL':'eKjvy','cXhFv':function(_0x350e94,_0x3466c3){return _0x350e94(_0x3466c3);},'juExF':_0x1b4ff3(0x1bd),'KSLkx':_0x1b4ff3(0x16d),'ergAf':function(_0x3bf9f6,_0x116c97){return _0x3bf9f6===_0x116c97;},'CHkRa':'INrny','aLLRu':_0x1b4ff3(0x168),'EYnyZ':'worker','CnOre':'json','YIGUa':_0x1b4ff3(0x1b9),'unNiX':'test-file-success','Reolu':_0x1b4ff3(0x1b6),'eCwkd':function(_0x1c82e6,_0x17e53c){return _0x1c82e6(_0x17e53c);}},_0x578a19={};if(_0x152801[_0x1b4ff3(0x174)](isTestObservabilitySession)){if(_0x152801[_0x1b4ff3(0x1dd)](_0x152801[_0x1b4ff3(0x1b0)],_0x152801[_0x1b4ff3(0x1b0)])){const _0x245175={..._0x2632ee};_0x245175[_0x1b4ff3(0x15d)]='';const [_0x22b404,_0x34c58f,_0x1ffc5c]=await _0x152801[_0x1b4ff3(0x182)](launchTestSession,_0x245175);process[_0x1b4ff3(0x1db)][_0x1b4ff3(0x19d)]=_0x22b404,process[_0x1b4ff3(0x1db)][_0x1b4ff3(0x16e)]=_0x34c58f,process[_0x1b4ff3(0x1db)][_0x1b4ff3(0x1cb)]=_0x1ffc5c;}else{if(_0x118da8[_0x10f24e[0x0]])_0x51a738[_0x43972f[0x0]][_0x152801[_0x1b4ff3(0x1c4)]]=_0x152801[_0x1b4ff3(0x1d2)](_0x55a9b7[_0x192063[0x0]][_0x152801['ZiDAo']],_0x527d5c[0x1][_0x152801['ZiDAo']]),_0x37cd92[_0x194911[0x0]][_0x152801[_0x1b4ff3(0x1bc)]]=[..._0x507230[_0x528c4d[0x0]][_0x152801[_0x1b4ff3(0x1bc)]],..._0x1209f9[0x1][_0x152801[_0x1b4ff3(0x1bc)]]];else{const _0x7ef77f={};_0x7ef77f[_0x1b4ff3(0x1af)]=_0x20a277[0x1][_0x152801[_0x1b4ff3(0x1c4)]],_0x7ef77f[_0x1b4ff3(0x17f)]=[..._0x8743a0[0x1][_0x152801[_0x1b4ff3(0x1bc)]]],_0x1fb58a[_0x531e1d[0x0]]=_0x7ef77f;}}}const _0x44ade5=new Worker(require[_0x1b4ff3(0x15b)](_0x152801[_0x1b4ff3(0x15f)],{'exposedMethods':[_0x152801['EYnyZ']],'forkOptions':{'serialization':_0x152801['CnOre'],'stdio':_0x152801[_0x1b4ff3(0x1a8)]},'numWorkers':_0x3fe720})),_0x4235ec=new Emittery();_0x4235ec['on'](_0x152801[_0x1b4ff3(0x1ca)],_0x31ef9e=>{const _0x4cba09=_0x1b4ff3,_0x3df960={'YZojU':_0x152801[_0x4cba09(0x1c4)],'ZtzbS':function(_0xa6a2c5,_0xc18428){const _0x4b4c1a=_0x4cba09;return _0x152801[_0x4b4c1a(0x1d2)](_0xa6a2c5,_0xc18428);},'wfzLV':_0x152801[_0x4cba09(0x1bc)]};_0x152801[_0x4cba09(0x173)](_0x152801['MybEj'],_0x152801[_0x4cba09(0x18c)])?_0x578a19[_0x31ef9e[0x0]]?_0x152801[_0x4cba09(0x1ba)](_0x152801[_0x4cba09(0x17e)],_0x152801[_0x4cba09(0x17e)])?(_0x50ffe3[_0x96a2b1[0x0]][_0x3df960[_0x4cba09(0x1a1)]]=_0x3df960[_0x4cba09(0x175)](_0x9ac193[_0xf34cea[0x0]][_0x3df960['YZojU']],_0x3d3cdf[0x1][_0x3df960[_0x4cba09(0x1a1)]]),_0xb42667[_0xc9d054[0x0]][_0x3df960[_0x4cba09(0x186)]]=[..._0x5f3c6e[_0x3156bd[0x0]][_0x3df960[_0x4cba09(0x186)]],..._0x371725[0x1][_0x3df960['wfzLV']]]):(_0x578a19[_0x31ef9e[0x0]][_0x152801[_0x4cba09(0x1c4)]]=_0x152801[_0x4cba09(0x1d2)](_0x578a19[_0x31ef9e[0x0]][_0x152801[_0x4cba09(0x1c4)]],_0x31ef9e[0x1][_0x152801['ZiDAo']]),_0x578a19[_0x31ef9e[0x0]][_0x152801[_0x4cba09(0x1bc)]]=[..._0x578a19[_0x31ef9e[0x0]][_0x152801[_0x4cba09(0x1bc)]],..._0x31ef9e[0x1][_0x152801['TndXP']]]):_0x152801['EHhPn'](_0x152801[_0x4cba09(0x1d3)],_0x152801['OkEMN'])?_0x152801[_0x4cba09(0x173)](_0x50360b,0x0)&&_0x152801[_0x4cba09(0x16c)](_0x13552a,0x0)&&(_0x34696a=_0x176ab2):_0x578a19[_0x31ef9e[0x0]]={'failureCount':_0x31ef9e[0x1][_0x152801[_0x4cba09(0x1c4)]],'results':[..._0x31ef9e[0x1][_0x152801[_0x4cba09(0x1bc)]]]}:_0x37c96f[0x0]&&_0x4ea59b[_0x4cba09(0x18a)](_0x4cba09(0x1c5)+_0x448055[0x1]+'\x20for',_0x1e61f6[0x0]);}),_0x4235ec['on'](_0x152801[_0x1b4ff3(0x1cc)],_0xa9dca0=>console[_0x1b4ff3(0x16f)](_0xa9dca0[0x1]));if(_0x44ade5[_0x1b4ff3(0x15e)]())_0x44ade5[_0x1b4ff3(0x15e)]()['pipe'](process['stdout']);if(_0x44ade5['getStderr']())_0x44ade5[_0x1b4ff3(0x159)]()[_0x1b4ff3(0x1b9)](process[_0x1b4ff3(0x169)]);const _0x429002=async()=>{const _0x10a501=_0x1b4ff3,_0x1261ce={};_0x1261ce[_0x10a501(0x16a)]=_0x152801['ZiDAo'],_0x1261ce[_0x10a501(0x183)]=_0x152801[_0x10a501(0x1bc)];const _0x56d793=_0x1261ce;if(_0x152801[_0x10a501(0x16c)](_0x152801[_0x10a501(0x1a2)],_0x152801[_0x10a501(0x19e)])){const {forceExited:_0x44b0ff}=await _0x44ade5[_0x10a501(0x1a0)]();_0x44b0ff&&(_0x152801[_0x10a501(0x189)](_0x152801[_0x10a501(0x164)],_0x152801[_0x10a501(0x164)])?console[_0x10a501(0x1ab)](_0x152801[_0x10a501(0x195)]):_0x527cf3[_0x10a501(0x1ab)](_0x152801[_0x10a501(0x195)]));if(_0x152801['rsBNf'](isTestObservabilitySession)){if(_0x152801[_0x10a501(0x160)](_0x152801['IELHx'],_0x152801['xhGxL'])){const _0x2f858f={};_0x2f858f[_0x10a501(0x1af)]=_0x18550b[0x1][_0x56d793[_0x10a501(0x16a)]],_0x2f858f[_0x10a501(0x17f)]=[..._0x229528[0x1][_0x56d793[_0x10a501(0x183)]]],_0xc19807[_0x5476c0[0x0]]=_0x2f858f;}else await _0x152801['rsBNf'](stopBuildUpstream);}_0x152801['cXhFv'](_0x28b117,_0x578a19);}else _0xf6410f[_0x10a501(0x1ab)](_0x152801[_0x10a501(0x195)]);},_0x24a940=_0x152801[_0x1b4ff3(0x1c2)](throat,_0x3fe720),_0x360332=_0xbf3c25=>_0x24a940(async()=>{const _0x2f7f65=_0x1b4ff3,_0x1678e6={};_0x1678e6[_0x2f7f65(0x16b)]=_0x152801[_0x2f7f65(0x195)];const _0x17b5dd=_0x1678e6;if(_0x152801[_0x2f7f65(0x189)](_0x152801['juExF'],_0x152801[_0x2f7f65(0x17c)]))return await _0x4235ec[_0x2f7f65(0x1b8)](_0x152801[_0x2f7f65(0x1d4)],_0xbf3c25),_0x44ade5[_0x2f7f65(0x163)](_0xbf3c25,_0x2632ee);else _0x3f083a['error'](_0x17b5dd[_0x2f7f65(0x16b)]);});Promise['all'](_0x5de579[_0x1b4ff3(0x1cf)](_0x2728bc=>_0x360332(_0x2728bc)[_0x1b4ff3(0x1b1)](_0x580791=>_0x4235ec[_0x1b4ff3(0x1b8)](_0x1b4ff3(0x1b4),[_0x2728bc[_0x1b4ff3(0x17b)][_0x1b4ff3(0x188)],_0x580791]),_0x1d7724=>_0x4235ec[_0x1b4ff3(0x1b8)]('test-file-failure',[_0x2728bc,_0x1d7724]))))[_0x1b4ff3(0x1b1)](_0x429002,_0x429002);}),exports[a23_0x41bb31(0x165)]=(_0x518422,_0x280b70,_0x52b197,_0x100e08,_0x57e307)=>{const _0x559dd8=a23_0x41bb31,_0x48ced0={'kXzYh':function(_0x5b7f7f,_0x4d00b0){return _0x5b7f7f!==_0x4d00b0;},'fPgHC':_0x559dd8(0x1c3),'KPLeB':_0x559dd8(0x1a9),'dCKeL':_0x559dd8(0x1cd),'BsXcE':_0x559dd8(0x1a6),'yZexk':function(_0x739161,_0x235ec4){return _0x739161===_0x235ec4;},'DJytr':_0x559dd8(0x1ae),'ptxyp':_0x559dd8(0x1ce),'rxYtR':function(_0x3884c6,_0x1441ad){return _0x3884c6(_0x1441ad);},'ErlTI':_0x559dd8(0x168),'GNwmE':'cucumberWorker','CNoMN':_0x559dd8(0x1e0),'PCIxp':_0x559dd8(0x1b9),'butcf':_0x559dd8(0x17d),'YDRPz':_0x559dd8(0x155)};return new Promise(_0x1fa206=>{const _0x4d003e=_0x559dd8,_0x2b0628={'ByfRM':function(_0x54587d,_0x4bc856){const _0x2568d6=a23_0xbb4f;return _0x48ced0[_0x2568d6(0x18e)](_0x54587d,_0x4bc856);},'Rfdxy':_0x48ced0[_0x4d003e(0x1be)],'ulSEe':function(_0x3ded8f,_0x1cd1e7){const _0x5aff79=_0x4d003e;return _0x48ced0[_0x5aff79(0x1dc)](_0x3ded8f,_0x1cd1e7);},'TRqJr':_0x48ced0[_0x4d003e(0x1da)],'kFMnj':_0x48ced0[_0x4d003e(0x1c6)],'jeUcf':function(_0x2db7ee,_0x4d961a){const _0x4bfaef=_0x4d003e;return _0x48ced0[_0x4bfaef(0x1c8)](_0x2db7ee,_0x4d961a);}},_0x149f72=[],_0x18a1c7=new Worker(require[_0x4d003e(0x15b)](_0x48ced0[_0x4d003e(0x1d9)],{'exposedMethods':[_0x48ced0[_0x4d003e(0x1d8)]],'forkOptions':{'serialization':_0x48ced0[_0x4d003e(0x1ad)],'stdio':_0x48ced0[_0x4d003e(0x18b)]},'numWorkers':_0x518422[_0x4d003e(0x177)]})),_0x517b9e=new Emittery();_0x517b9e['on'](_0x48ced0[_0x4d003e(0x1bb)],_0x4277b5=>{const _0x20967a=_0x4d003e;_0x48ced0[_0x20967a(0x18e)](_0x48ced0[_0x20967a(0x199)],_0x48ced0['KPLeB'])?_0x149f72[_0x20967a(0x1de)]([_0x4277b5[0x0],_0x4277b5[0x1]]):_0x370084[_0x20967a(0x1de)]([_0x52a373[0x0],_0x340e1f[0x1]]);}),_0x517b9e['on'](_0x48ced0[_0x4d003e(0x1b2)],_0x3dd896=>console['log'](_0x3dd896[0x1]));if(_0x18a1c7[_0x4d003e(0x15e)]())_0x18a1c7[_0x4d003e(0x15e)]()[_0x4d003e(0x1b9)](process[_0x4d003e(0x176)]);if(_0x18a1c7['getStderr']())_0x18a1c7[_0x4d003e(0x159)]()[_0x4d003e(0x1b9)](process[_0x4d003e(0x169)]);const _0x428a4f=async()=>{const _0x2033df=_0x4d003e;if(_0x2b0628[_0x2033df(0x1d0)](_0x2b0628[_0x2033df(0x1bf)],_0x2b0628[_0x2033df(0x1bf)]))_0x287aea=_0xd21646;else{const {forceExited:_0x58d333}=await _0x18a1c7['end']();if(_0x58d333){if(_0x2b0628[_0x2033df(0x18d)](_0x2b0628[_0x2033df(0x15c)],_0x2b0628['TRqJr']))console[_0x2033df(0x1ab)](_0x2b0628[_0x2033df(0x19a)]);else return _0x3273e5[_0x2033df(0x17a)](_0x5524e4);}_0x2b0628[_0x2033df(0x158)](_0x1fa206,_0x149f72);}},_0x4dce95=_0x48ced0['rxYtR'](throat,_0x518422[_0x4d003e(0x177)]),_0x3356d2=_0x1e6200=>_0x4dce95(async()=>{const _0x51d881=_0x4d003e;return await _0x517b9e[_0x51d881(0x1b8)](_0x48ced0['dCKeL'],_0x1e6200),_0x18a1c7['cucumberWorker'](_0x1e6200,_0x280b70,_0x52b197,_0x100e08,_0x57e307);});Promise[_0x4d003e(0x180)](_0x518422[_0x4d003e(0x1cf)](_0xe9919b=>_0x3356d2(_0xe9919b)[_0x4d003e(0x1b1)](_0xc30832=>_0x517b9e[_0x4d003e(0x1b8)](_0x4d003e(0x17d),[_0xe9919b,_0xc30832]),_0x34a507=>_0x517b9e[_0x4d003e(0x1b8)](_0x4d003e(0x155),[_0xe9919b,_0x34a507]))))['then'](_0x428a4f,_0x428a4f);});},exports['parallelVanillaRun']=(_0x32f44e,_0x131c72)=>new Promise(_0x3cf52a=>{const _0x544458=a23_0x41bb31,_0x4a9fa6={'CcXQy':function(_0x552b79,_0xbe1d66){return _0x552b79===_0xbe1d66;},'JBpyb':function(_0x5a97f1,_0xe30acb){return _0x5a97f1!==_0xe30acb;},'HYxoz':_0x544458(0x1c0),'qohYl':_0x544458(0x1ce),'nbYgc':function(_0x3e958c,_0x5cd4a0){return _0x3e958c(_0x5cd4a0);},'slnYa':_0x544458(0x168),'JQkkw':'vanillaWorker','IcUfR':'json','qKaNQ':_0x544458(0x1b9),'GIGVV':_0x544458(0x1b4),'StyEo':'test-file-failure','okZcN':function(_0x1c32af,_0x39bd92){return _0x1c32af(_0x39bd92);}},_0x1c3092={},_0x4f7b0b=new Worker(require[_0x544458(0x15b)](_0x4a9fa6[_0x544458(0x18f)],{'exposedMethods':[_0x4a9fa6[_0x544458(0x187)]],'forkOptions':{'serialization':_0x4a9fa6[_0x544458(0x172)],'stdio':_0x4a9fa6[_0x544458(0x185)]},'numWorkers':_0x131c72})),_0x1aff52=new Emittery();_0x1aff52['on'](_0x4a9fa6[_0x544458(0x1d6)],_0x40005e=>{const _0x7a012a=_0x544458;_0x40005e[0x0]&&logger[_0x7a012a(0x18a)](_0x7a012a(0x1c5)+_0x40005e[0x1]+_0x7a012a(0x1a4),_0x40005e[0x0]);}),_0x1aff52['on'](_0x4a9fa6[_0x544458(0x179)],_0x390678=>console['log'](_0x390678[0x1]));if(_0x4f7b0b[_0x544458(0x15e)]())_0x4f7b0b[_0x544458(0x15e)]()[_0x544458(0x1b9)](process['stdout']);if(_0x4f7b0b[_0x544458(0x159)]())_0x4f7b0b[_0x544458(0x159)]()['pipe'](process[_0x544458(0x169)]);const _0x184f48=async()=>{const _0xac3c3b=_0x544458,_0x382c2d={'UGaSk':function(_0x406f0f,_0x838bb5){const _0x34a5c9=a23_0xbb4f;return _0x4a9fa6[_0x34a5c9(0x166)](_0x406f0f,_0x838bb5);},'UWact':function(_0x36d323,_0xe75cba){const _0x5812b8=a23_0xbb4f;return _0x4a9fa6[_0x5812b8(0x167)](_0x36d323,_0xe75cba);},'HtVsE':_0x4a9fa6['HYxoz']};let _0x2342c7=0x0;const _0x33fa5c=_0x4f7b0b[_0xac3c3b(0x1a5)][_0xac3c3b(0x1e2)](),_0x4dcc34=()=>{},_0x44d899=_0x33fa5c['map'](async _0x170980=>{const _0x1250b0=_0xac3c3b;_0x170980[_0x1250b0(0x161)]([0x2,![]],_0x4dcc34,_0x4dcc34,_0x4dcc34),_0x170980[_0x1250b0(0x1b3)]['on'](_0x382c2d[_0x1250b0(0x1c1)],_0x8bb917=>{const _0x5ea890=_0x1250b0;_0x382c2d[_0x5ea890(0x171)](_0x2342c7,0x0)&&_0x382c2d[_0x5ea890(0x1a7)](_0x8bb917,0x0)&&(_0x2342c7=_0x8bb917);}),await _0x170980[_0x1250b0(0x19b)]();});await Promise['all'](_0x44d899),process[_0xac3c3b(0x1df)]=_0x2342c7;const {forceExited:_0x1ddeb6}=await _0x4f7b0b[_0xac3c3b(0x1a0)]();_0x1ddeb6&&console[_0xac3c3b(0x1ab)](_0x4a9fa6[_0xac3c3b(0x190)]),_0x4a9fa6[_0xac3c3b(0x1e1)](_0x3cf52a,_0x1c3092);},_0x268de2=_0x4a9fa6[_0x544458(0x193)](throat,_0x131c72),_0x1fcabc=_0x666630=>_0x268de2(async()=>{const _0x357702=_0x544458;return _0x4f7b0b[_0x357702(0x17a)](_0x666630);});Promise[_0x544458(0x180)](_0x32f44e[_0x544458(0x1cf)](_0x63a2aa=>_0x1fcabc(_0x63a2aa)[_0x544458(0x1b1)](_0x5ed0fe=>_0x1aff52[_0x544458(0x1b8)](_0x544458(0x1b4),[_0x63a2aa[_0x544458(0x17b)][_0x544458(0x188)],_0x63a2aa[_0x544458(0x17b)][_0x544458(0x15a)]]),_0x2385e5=>_0x1aff52['emit'](_0x544458(0x1b6),[_0x63a2aa,_0x2385e5]))))['then'](_0x184f48,_0x184f48);});function a23_0x5224(){const _0x3921ff=['parallelCucumberRun','CcXQy','JBpyb','./testWorker.js','stderr','bswbZ','FbSZH','kBpgn','test-file-start','BS_TESTOPS_BUILD_HASHED_ID','log','../../helpers/logger','UGaSk','IcUfR','pVvDC','rsBNf','ZtzbS','stdout','length','1493091nzcPJt','StyEo','vanillaWorker','configuration','juExF','platform-run-success','URxNH','results','all','36233VJAjaC','cXhFv','rVYfW','zKQGm','qKaNQ','wfzLV','JQkkw','platform','EHhPn','info','PCIxp','MybEj','ulSEe','kXzYh','slnYa','qohYl','parallelTestRun','Worker','okZcN','114387CUTzyU','luNgp','1087284skUvIE','../mocha/test-observability/helper','198NsbNFo','fPgHC','kFMnj','waitForExit','okbCO','BS_TESTOPS_JWT','NPSMA','EwHLV','end','YZojU','eCZGj','hNKUf','\x20for','_workerPool','ujamF','UWact','YIGUa','NNgzT','252kCOooY','error','145bOrQlR','CNoMN','Fpnlh','failureCount','CHkRa','then','YDRPz','_child','test-file-success','750368XnRBWw','test-file-failure','emittery','emit','pipe','NlnYj','butcf','TndXP','iQDqO','BsXcE','Rfdxy','exit','HtVsE','eCwkd','rGztZ','ZiDAo','Running\x20','ptxyp','2NwIEJt','rxYtR','aEpFx','unNiX','BS_TESTOPS_ALLOW_SCREENSHOTS','Reolu','platform-run-start','Workers\x20failed\x20to\x20exit\x20gracefully','map','ByfRM','nzNYx','jwDny','hGDTQ','KSLkx','jest-worker','GIGVV','dOLax','GNwmE','ErlTI','DJytr','env','yZexk','ergAf','push','exitCode','json','nbYgc','getWorkers','POCuv','platform-run-failure','winstonLogger','235750CsDJDg','jeUcf','getStderr','file','resolve','TRqJr','root_dir_path','getStdout','aLLRu','gjxbW','send','3676TxLgja','worker','CGcIY'];a23_0x5224=function(){return _0x3921ff;};return a23_0x5224();}
@@ -1 +1 @@
1
- function a24_0x1e1e(){const _0x5037ef=['GkbBp','Qxkwc','91ybHpwm','70DvwuEI','62956IIYkUG','sBbxq','mocha','runCucumberTest','991353VxTCyk','KNkdd','ZmSpY','../launcher/launcher','runTest','1RKLeRQ','formatter','423918hmAqGi','run','vanilla','8uJutpX','2890701yCzeBb','160260JBdXAm','97266IPbyEF','395086TxgxJW','NMjHM'];a24_0x1e1e=function(){return _0x5037ef;};return a24_0x1e1e();}const a24_0x37a2c2=a24_0x2673;function a24_0x2673(_0x305374,_0x1898cb){const _0x1e1ebf=a24_0x1e1e();return a24_0x2673=function(_0x2673f6,_0x131f7d){_0x2673f6=_0x2673f6-0x192;let _0x330eb5=_0x1e1ebf[_0x2673f6];return _0x330eb5;},a24_0x2673(_0x305374,_0x1898cb);}(function(_0x4d1652,_0x4c15ac){const _0x3a8995=a24_0x2673,_0x424e26=_0x4d1652();while(!![]){try{const _0x1310af=parseInt(_0x3a8995(0x1a1))/0x1*(parseInt(_0x3a8995(0x192))/0x2)+parseInt(_0x3a8995(0x1a3))/0x3+-parseInt(_0x3a8995(0x198))/0x4+-parseInt(_0x3a8995(0x1a8))/0x5+-parseInt(_0x3a8995(0x1a9))/0x6*(-parseInt(_0x3a8995(0x196))/0x7)+parseInt(_0x3a8995(0x1a6))/0x8*(parseInt(_0x3a8995(0x1a7))/0x9)+-parseInt(_0x3a8995(0x197))/0xa*(parseInt(_0x3a8995(0x19c))/0xb);if(_0x1310af===_0x4c15ac)break;else _0x424e26['push'](_0x424e26['shift']());}catch(_0x5e738b){_0x424e26['push'](_0x424e26['shift']());}}}(a24_0x1e1e,0x2ee81),exports[a24_0x37a2c2(0x1a0)]=async(_0x3f9e6b,_0x40773d)=>{const _0x21897c=a24_0x37a2c2,_0x46ac22={'irqdV':function(_0x1c079f,_0x39c143){return _0x1c079f(_0x39c143);},'ZOjxo':_0x21897c(0x19f),'Qxkwc':_0x21897c(0x19a)},_0x45c5e4=_0x46ac22['irqdV'](require,_0x46ac22['ZOjxo']),_0x4bfa4c=new _0x45c5e4(_0x46ac22[_0x21897c(0x195)],_0x3f9e6b,_0x40773d);return await _0x4bfa4c[_0x21897c(0x1a4)]();},exports[a24_0x37a2c2(0x19b)]=async(_0xc0c639,_0x21c00b,_0x2f8a28,_0x2dcfcc,_0x3f1abc)=>{const _0xcc2969=a24_0x37a2c2,_0xd16c93={'ZmSpY':function(_0x1006fb,_0x2a982b){return _0x1006fb(_0x2a982b);},'sBbxq':_0xcc2969(0x19f),'PgEnj':'cucumber-js'},_0x20229a={'capability':_0xc0c639,..._0x21c00b},_0x953e67={};_0x953e67['configuration']=_0x20229a,_0x953e67[_0xcc2969(0x1a2)]=_0x3f1abc;let _0x513846=_0x953e67;const _0x4feece=_0xd16c93[_0xcc2969(0x19e)](require,_0xd16c93[_0xcc2969(0x199)]),_0xb35d11=new _0x4feece(_0xd16c93['PgEnj'],_0x513846,_0x2f8a28,_0x2dcfcc);return await _0xb35d11[_0xcc2969(0x1a4)]();},exports['runVanillaTest']=async _0x1994e2=>{const _0x6e6d1d=a24_0x37a2c2,_0x5bcae2={'NMjHM':function(_0x5b951b,_0x59e621){return _0x5b951b(_0x59e621);},'GkbBp':'../launcher/launcher','KNkdd':_0x6e6d1d(0x1a5)},_0xb59458=_0x5bcae2[_0x6e6d1d(0x193)](require,_0x5bcae2[_0x6e6d1d(0x194)]),_0x5cad26=new _0xb59458(_0x5bcae2[_0x6e6d1d(0x19d)],_0x1994e2);return await _0x5cad26['run']();});
1
+ function a24_0x2405(){const _0x4d6878=['26920pWSzbC','run','1341426FVJpPe','cucumber-js','uqhKR','runVanillaTest','19315jQrzpF','bVcFY','63693uSSKrM','mocha','162ZkcKLC','9669NCgGIA','runTest','configuration','1063984XyQgUs','22385zNgdNN','wQzwD','lUUMI','runCucumberTest','vanilla'];a24_0x2405=function(){return _0x4d6878;};return a24_0x2405();}function a24_0x31e3(_0x1c1ec1,_0x4b2514){const _0x240537=a24_0x2405();return a24_0x31e3=function(_0x31e35b,_0x52980e){_0x31e35b=_0x31e35b-0x119;let _0x2ee2bd=_0x240537[_0x31e35b];return _0x2ee2bd;},a24_0x31e3(_0x1c1ec1,_0x4b2514);}const a24_0x37b93e=a24_0x31e3;(function(_0x4b81bc,_0x2a5eec){const _0x163d28=a24_0x31e3,_0x18d8d2=_0x4b81bc();while(!![]){try{const _0xec55a9=-parseInt(_0x163d28(0x121))/0x1+-parseInt(_0x163d28(0x125))/0x2*(parseInt(_0x163d28(0x126))/0x3)+parseInt(_0x163d28(0x129))/0x4+-parseInt(_0x163d28(0x12a))/0x5+parseInt(_0x163d28(0x11d))/0x6+-parseInt(_0x163d28(0x123))/0x7+-parseInt(_0x163d28(0x11b))/0x8;if(_0xec55a9===_0x2a5eec)break;else _0x18d8d2['push'](_0x18d8d2['shift']());}catch(_0x52a5ce){_0x18d8d2['push'](_0x18d8d2['shift']());}}}(a24_0x2405,0x2eef8),exports[a24_0x37b93e(0x127)]=async(_0x515fa1,_0x4a99c3)=>{const _0x43556f=a24_0x37b93e,_0x3441b6={'bHFua':function(_0x378e86,_0x2ec3d3){return _0x378e86(_0x2ec3d3);},'nrPjt':'../launcher/launcher','bVcFY':_0x43556f(0x124)},_0x3e2587=_0x3441b6['bHFua'](require,_0x3441b6['nrPjt']),_0x111b9b=new _0x3e2587(_0x3441b6[_0x43556f(0x122)],_0x515fa1,_0x4a99c3);return await _0x111b9b['run']();},exports[a24_0x37b93e(0x119)]=async(_0x386e5c,_0x3a01ba,_0x2b338c,_0xa8c8e9,_0x15261a)=>{const _0x457676=a24_0x37b93e,_0x41bb9c={'wQzwD':function(_0x5c36fb,_0x5cd9f6){return _0x5c36fb(_0x5cd9f6);},'gSxjB':'../launcher/launcher','lUUMI':_0x457676(0x11e)},_0x3bee20={'capability':_0x386e5c,..._0x3a01ba},_0x3a26d5={};_0x3a26d5[_0x457676(0x128)]=_0x3bee20,_0x3a26d5['formatter']=_0x15261a;let _0x1a7680=_0x3a26d5;const _0x49c63c=_0x41bb9c[_0x457676(0x12b)](require,_0x41bb9c['gSxjB']),_0x324715=new _0x49c63c(_0x41bb9c[_0x457676(0x12c)],_0x1a7680,_0x2b338c,_0xa8c8e9);return await _0x324715[_0x457676(0x11c)]();},exports[a24_0x37b93e(0x120)]=async _0x2dd949=>{const _0x1c0e2e=a24_0x37b93e,_0xac588d={'gozFf':function(_0x29eb37,_0x373ffc){return _0x29eb37(_0x373ffc);},'IGtCM':'../launcher/launcher','uqhKR':_0x1c0e2e(0x11a)},_0xd8f1f3=_0xac588d['gozFf'](require,_0xac588d['IGtCM']),_0x55c215=new _0xd8f1f3(_0xac588d[_0x1c0e2e(0x11f)],_0x2dd949);return await _0x55c215['run']();});
@@ -1 +1 @@
1
- const a25_0x2e9cf6=a25_0x8be9;(function(_0x1896a9,_0x5bc5d7){const _0x559dfc=a25_0x8be9,_0x8508cf=_0x1896a9();while(!![]){try{const _0x1e48fe=parseInt(_0x559dfc(0x150))/0x1+parseInt(_0x559dfc(0x158))/0x2*(-parseInt(_0x559dfc(0x14f))/0x3)+parseInt(_0x559dfc(0x154))/0x4+parseInt(_0x559dfc(0x153))/0x5+parseInt(_0x559dfc(0x14b))/0x6+parseInt(_0x559dfc(0x159))/0x7*(-parseInt(_0x559dfc(0x14c))/0x8)+-parseInt(_0x559dfc(0x157))/0x9;if(_0x1e48fe===_0x5bc5d7)break;else _0x8508cf['push'](_0x8508cf['shift']());}catch(_0x39b83f){_0x8508cf['push'](_0x8508cf['shift']());}}}(a25_0x4b3f,0xc8ff1));function a25_0x8be9(_0x3f4e69,_0x1c2080){const _0x4b3ff8=a25_0x4b3f();return a25_0x8be9=function(_0x8be953,_0xb5a4a9){_0x8be953=_0x8be953-0x14b;let _0x2bc141=_0x4b3ff8[_0x8be953];return _0x2bc141;},a25_0x8be9(_0x3f4e69,_0x1c2080);}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a25_0x4b3f(){const _0x3f9572=['MzhzF','2165676PImdvj','1190154Xdyxif','worker','vanillaWorker','6691735DBOQHD','2343076BuyFkQ','XjVPg','TiwWs','9663552ASFlqB','2PKLoMY','3934RscSit','3255870eOphgf','14776vafeAw','cucumberWorker'];a25_0x4b3f=function(){return _0x3f9572;};return a25_0x4b3f();}exports[a25_0x2e9cf6(0x151)]=async(_0x5cf4f2,_0x4fe742)=>{const _0x47386b=a25_0x2e9cf6,_0x231745={'TiwWs':function(_0x8939f2,_0x58f963,_0xa83e31){return _0x8939f2(_0x58f963,_0xa83e31);}};return await _0x231745[_0x47386b(0x156)](runTest,_0x5cf4f2,_0x4fe742);},exports[a25_0x2e9cf6(0x14d)]=async(_0xce5623,_0x205a14,_0x84b39d,_0x2adde6,_0x26ea79)=>{const _0x11f34e=a25_0x2e9cf6,_0x49197f={'MzhzF':function(_0x3a41a2,_0x4a7655,_0x27dc80,_0x181b72,_0x4e7c17,_0x27da02){return _0x3a41a2(_0x4a7655,_0x27dc80,_0x181b72,_0x4e7c17,_0x27da02);}};return await _0x49197f[_0x11f34e(0x14e)](runCucumberTest,_0xce5623,_0x205a14,_0x84b39d,_0x2adde6,_0x26ea79);},exports[a25_0x2e9cf6(0x152)]=async _0x5922bc=>{const _0x396be0=a25_0x2e9cf6,_0x39c6c8={'XjVPg':function(_0x1faa8e,_0x5ed757){return _0x1faa8e(_0x5ed757);}};return await _0x39c6c8[_0x396be0(0x155)](runVanillaTest,_0x5922bc);};
1
+ function a25_0x2986(){const _0x28a82f=['11cdKqlN','worker','50EyTXFJ','./runTest','163177JjknWw','12024WpKXKj','DfBhr','472OeBQQy','6wDJTeI','2682378AwskGZ','240AKmojb','344wBSSIw','5460252FYOcUx','7695YxIfJn','4HKCRRP','98wvMWNO','3643913phVucc'];a25_0x2986=function(){return _0x28a82f;};return a25_0x2986();}const a25_0x12a866=a25_0x5512;function a25_0x5512(_0x47e8e6,_0x31e8dd){const _0x2986b9=a25_0x2986();return a25_0x5512=function(_0x5512fc,_0x536ba3){_0x5512fc=_0x5512fc-0x14f;let _0x5be01c=_0x2986b9[_0x5512fc];return _0x5be01c;},a25_0x5512(_0x47e8e6,_0x31e8dd);}(function(_0x3adf3a,_0x3292b3){const _0x18a061=a25_0x5512,_0x3299eb=_0x3adf3a();while(!![]){try{const _0x243706=-parseInt(_0x18a061(0x150))/0x1*(-parseInt(_0x18a061(0x15c))/0x2)+parseInt(_0x18a061(0x152))/0x3*(-parseInt(_0x18a061(0x157))/0x4)+parseInt(_0x18a061(0x156))/0x5*(parseInt(_0x18a061(0x151))/0x6)+-parseInt(_0x18a061(0x15e))/0x7*(parseInt(_0x18a061(0x154))/0x8)+-parseInt(_0x18a061(0x15f))/0x9*(-parseInt(_0x18a061(0x153))/0xa)+parseInt(_0x18a061(0x15a))/0xb*(parseInt(_0x18a061(0x155))/0xc)+-parseInt(_0x18a061(0x159))/0xd*(-parseInt(_0x18a061(0x158))/0xe);if(_0x243706===_0x3292b3)break;else _0x3299eb['push'](_0x3299eb['shift']());}catch(_0x2abb97){_0x3299eb['push'](_0x3299eb['shift']());}}}(a25_0x2986,0x8a310));const {runTest,runCucumberTest,runVanillaTest}=require(a25_0x12a866(0x15d));exports[a25_0x12a866(0x15b)]=async(_0x316298,_0x40a3ee)=>{const _0x13ca2a={'gvtnn':function(_0x157e7c,_0x589ad3,_0x1b8029){return _0x157e7c(_0x589ad3,_0x1b8029);}};return await _0x13ca2a['gvtnn'](runTest,_0x316298,_0x40a3ee);},exports['cucumberWorker']=async(_0x816939,_0x59beff,_0x5969e4,_0x4f175a,_0x2aac52)=>{const _0x41060d=a25_0x12a866,_0x24cea0={'DfBhr':function(_0x584ff5,_0xe8a75a,_0x39e318,_0x1bf954,_0x514eed,_0x450ab7){return _0x584ff5(_0xe8a75a,_0x39e318,_0x1bf954,_0x514eed,_0x450ab7);}};return await _0x24cea0[_0x41060d(0x14f)](runCucumberTest,_0x816939,_0x59beff,_0x5969e4,_0x4f175a,_0x2aac52);},exports['vanillaWorker']=async _0x5871af=>{const _0x286c37={'awdlH':function(_0xb644f1,_0x1fca4d){return _0xb644f1(_0x1fca4d);}};return await _0x286c37['awdlH'](runVanillaTest,_0x5871af);};
@@ -1 +1 @@
1
- var a26_0x92158=a26_0x426e;(function(_0x21bb69,_0x43bffc){var _0x1c6767=a26_0x426e,_0x275738=_0x21bb69();while(!![]){try{var _0x1a7fe8=-parseInt(_0x1c6767(0xc0))/0x1+parseInt(_0x1c6767(0xaf))/0x2+-parseInt(_0x1c6767(0xa6))/0x3+-parseInt(_0x1c6767(0xbd))/0x4*(-parseInt(_0x1c6767(0xa2))/0x5)+-parseInt(_0x1c6767(0xac))/0x6+parseInt(_0x1c6767(0xb6))/0x7*(-parseInt(_0x1c6767(0xc3))/0x8)+parseInt(_0x1c6767(0xae))/0x9;if(_0x1a7fe8===_0x43bffc)break;else _0x275738['push'](_0x275738['shift']());}catch(_0x182c89){_0x275738['push'](_0x275738['shift']());}}}(a26_0x2bc8,0xad313));var a26_0x3a8cad={};a26_0x3a8cad[a26_0x92158(0xa0)]=a26_0x92158(0xa8),a26_0x3a8cad[a26_0x92158(0xab)]=a26_0x92158(0xb8);var a26_0x270bb1={};a26_0x270bb1['INFO']=a26_0x92158(0xbf);var a26_0x469be1={};a26_0x469be1[a26_0x92158(0xa0)]=a26_0x92158(0xbe);function a26_0x2bc8(){var _0x481fbd=['CUCUMBER','Run\x20nightwatch\x20tests\x20on\x20browserstack','acceptInsecureCerts','acceptSslCerts','1028yoAupT','Run\x20mocha\x20tests\x20on\x20browserstack','Run\x20jest\x20tests\x20on\x20browserstack','1189272asDXlb','browserVersion','edgeOptions','10214056sjxojD','NIGHTWATCH','INFO','chromeOptions','11860MzngMp','pageLoadStrategy','Run\x20cucumber-js\x20tests\x20on\x20browserstack','timeouts','2928201ztPizV','hubUrl','shows\x20version\x20information','strictFileInteractability','https://hub.browserstack.com/wd/hub','HELP','1609008EWrbws','acceptSslCert','22188285fvWdjY','2689380TwmONj','Run\x20js\x20tests\x20on\x20browserstack','VANILLA','ROOT_CAPS','browserName','unhandledPromptBehavior','JEST','7JOMGVX','exports','Specify\x20--help\x20for\x20available\x20options'];a26_0x2bc8=function(){return _0x481fbd;};return a26_0x2bc8();}var a26_0x16bf18={};a26_0x16bf18[a26_0x92158(0xa0)]=a26_0x92158(0xa4);var a26_0x3fae36={};a26_0x3fae36[a26_0x92158(0xa0)]=a26_0x92158(0xb0);var a26_0x200975={};a26_0x200975[a26_0x92158(0xa0)]=a26_0x92158(0xba);var a26_0x225a7c={};function a26_0x426e(_0x5c333a,_0x425ff7){var _0x2bc8ba=a26_0x2bc8();return a26_0x426e=function(_0x426e8a,_0x3d5dac){_0x426e8a=_0x426e8a-0xa0;var _0x180ca5=_0x2bc8ba[_0x426e8a];return _0x180ca5;},a26_0x426e(_0x5c333a,_0x425ff7);}a26_0x225a7c['VERSION']=a26_0x3a8cad,a26_0x225a7c[a26_0x92158(0xb5)]=a26_0x270bb1,a26_0x225a7c['MOCHA']=a26_0x469be1,a26_0x225a7c[a26_0x92158(0xb9)]=a26_0x16bf18,a26_0x225a7c[a26_0x92158(0xb1)]=a26_0x3fae36,a26_0x225a7c[a26_0x92158(0xc4)]=a26_0x200975,a26_0x225a7c['BSTACK_DELTA']=0x3c*0x3e8,a26_0x225a7c[a26_0x92158(0xa7)]=a26_0x92158(0xaa),a26_0x225a7c[a26_0x92158(0xb2)]=[a26_0x92158(0xbb),a26_0x92158(0xa3),a26_0x92158(0xa9),a26_0x92158(0xb4),a26_0x92158(0xa5),a26_0x92158(0xb3),a26_0x92158(0xc1),a26_0x92158(0xbc),a26_0x92158(0xad),a26_0x92158(0xa1),'firefoxOptions',a26_0x92158(0xc2),'ieOptions'],a26_0x225a7c['ROOT_REGEX']=/^[\w-]+:.*$/,module[a26_0x92158(0xb7)]=a26_0x225a7c;
1
+ var a26_0x5768d3=a26_0x576e;(function(_0x2ce180,_0x3e054f){var _0x34e685=a26_0x576e,_0x1cbdfe=_0x2ce180();while(!![]){try{var _0x41bc30=-parseInt(_0x34e685(0x16c))/0x1*(-parseInt(_0x34e685(0x161))/0x2)+parseInt(_0x34e685(0x170))/0x3*(parseInt(_0x34e685(0x182))/0x4)+-parseInt(_0x34e685(0x185))/0x5+-parseInt(_0x34e685(0x174))/0x6+parseInt(_0x34e685(0x167))/0x7*(-parseInt(_0x34e685(0x184))/0x8)+parseInt(_0x34e685(0x187))/0x9*(parseInt(_0x34e685(0x16e))/0xa)+parseInt(_0x34e685(0x158))/0xb;if(_0x41bc30===_0x3e054f)break;else _0x1cbdfe['push'](_0x1cbdfe['shift']());}catch(_0x18ce9c){_0x1cbdfe['push'](_0x1cbdfe['shift']());}}}(a26_0x181b,0x6e2a1));var a26_0xefe850={};a26_0xefe850[a26_0x5768d3(0x178)]=a26_0x5768d3(0x163),a26_0xefe850[a26_0x5768d3(0x15d)]=a26_0x5768d3(0x162);var a26_0x264666={};a26_0x264666[a26_0x5768d3(0x178)]='Run\x20jest\x20tests\x20on\x20browserstack';var a26_0xaf8f75={};function a26_0x181b(){var _0x518640=['2836320geBMwy','OBSERVABILITY_SUPPORTED_FWS','32184gvbbBV','sdk/v1/event','acceptSslCerts','acceptInsecureCerts','ROOT_REGEX','Run\x20mocha\x20tests\x20on\x20browserstack','1725570XrUzBO','mocha','hubUrl','MOCHA','PRIVATE_DOMAIN_OR_IP_REGEX','HELP','NIGHTWATCH','BROWSERSTACK_API_URL','FUNNEL_INSTRUMENTATION_API_URL','198FRJSBU','Specify\x20--help\x20for\x20available\x20options','shows\x20version\x20information','Run\x20cucumber-js\x20tests\x20on\x20browserstack','firefoxOptions','pageLoadStrategy','68768opWxlj','ieOptions','acceptSslCert','https://api.browserstack.com','APP_AUTOMATE','3379rAwJYp','APP_AUTOMATE_PRODUCTS','1860wafSOj','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','2554554FXObKH','browserName','Run\x20nightwatch\x20tests\x20on\x20browserstack','VERSION','927048TaxxFb','observability','automate','unhandledPromptBehavior','INFO','VANILLA','strictFileInteractability','Run\x20js\x20tests\x20on\x20browserstack','AUTOMATE','app-automate','timeouts','edgeOptions','AUTOMATE_PRODUCTS','https://hub.browserstack.com/wd/hub','4iHlpBM','BSTACK_DELTA','680DZwXLp'];a26_0x181b=function(){return _0x518640;};return a26_0x181b();}a26_0xaf8f75[a26_0x5768d3(0x178)]=a26_0x5768d3(0x157);var a26_0x316698={};a26_0x316698['INFO']=a26_0x5768d3(0x164);var a26_0x5c9e79={};a26_0x5c9e79[a26_0x5768d3(0x178)]=a26_0x5768d3(0x17b);function a26_0x576e(_0x3090b0,_0x16f436){var _0x181b9c=a26_0x181b();return a26_0x576e=function(_0x576e09,_0x20b9df){_0x576e09=_0x576e09-0x155;var _0x2489c2=_0x181b9c[_0x576e09];return _0x2489c2;},a26_0x576e(_0x3090b0,_0x16f436);}var a26_0x21327f={};a26_0x21327f[a26_0x5768d3(0x178)]=a26_0x5768d3(0x172);var a26_0x37a51d={};a26_0x37a51d[a26_0x5768d3(0x173)]=a26_0xefe850,a26_0x37a51d['JEST']=a26_0x264666,a26_0x37a51d[a26_0x5768d3(0x15b)]=a26_0xaf8f75,a26_0x37a51d['CUCUMBER']=a26_0x316698,a26_0x37a51d[a26_0x5768d3(0x179)]=a26_0x5c9e79,a26_0x37a51d[a26_0x5768d3(0x15e)]=a26_0x21327f,a26_0x37a51d[a26_0x5768d3(0x183)]=0x3c*0x3e8,a26_0x37a51d[a26_0x5768d3(0x15a)]=a26_0x5768d3(0x181),a26_0x37a51d['ROOT_CAPS']=[a26_0x5768d3(0x155),a26_0x5768d3(0x166),a26_0x5768d3(0x17a),a26_0x5768d3(0x177),a26_0x5768d3(0x17e),a26_0x5768d3(0x171),'browserVersion',a26_0x5768d3(0x189),a26_0x5768d3(0x169),'chromeOptions',a26_0x5768d3(0x165),a26_0x5768d3(0x17f),a26_0x5768d3(0x168)],a26_0x37a51d[a26_0x5768d3(0x156)]=/^[\w-]+:.*$/,a26_0x37a51d[a26_0x5768d3(0x15c)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a26_0x37a51d[a26_0x5768d3(0x15f)]=a26_0x5768d3(0x16a),a26_0x37a51d[a26_0x5768d3(0x160)]=a26_0x5768d3(0x188),a26_0x37a51d[a26_0x5768d3(0x180)]=[a26_0x5768d3(0x176),a26_0x5768d3(0x175)],a26_0x37a51d[a26_0x5768d3(0x16d)]=['app-automate',a26_0x5768d3(0x175)],a26_0x37a51d[a26_0x5768d3(0x16f)]=[a26_0x5768d3(0x175)],a26_0x37a51d[a26_0x5768d3(0x186)]=[a26_0x5768d3(0x159)],a26_0x37a51d[a26_0x5768d3(0x17c)]=[a26_0x5768d3(0x176)],a26_0x37a51d[a26_0x5768d3(0x16b)]=[a26_0x5768d3(0x17d)],module['exports']=a26_0x37a51d;
@@ -1 +1 @@
1
- function a27_0x4819(_0x476595,_0xa7302a){const _0x1d984e=a27_0x1d98();return a27_0x4819=function(_0x48198e,_0x19c202){_0x48198e=_0x48198e-0x1a8;let _0xcb8596=_0x1d984e[_0x48198e];return _0xcb8596;},a27_0x4819(_0x476595,_0xa7302a);}function a27_0x1d98(){const _0x5dcee0=['10QLxofT','./logReportingAPI','join','88823kNeSFN','level','1491328JHRSwQ','159108hUJvQr','66492RgONMw','layout','56AdEinR','data','timezoneOffset','2277SkdRhs','135861fLgUYS','6406790JRdbKt','log','1336gAbyPh','colouredLayout','708dUCZrO','type','63669VtqjIQ','levelStr'];a27_0x1d98=function(){return _0x5dcee0;};return a27_0x1d98();}const a27_0x243c7a=a27_0x4819;(function(_0x5000b8,_0x227e6f){const _0x435837=a27_0x4819,_0xdf7be5=_0x5000b8();while(!![]){try{const _0x3394df=parseInt(_0x435837(0x1b8))/0x1+-parseInt(_0x435837(0x1b4))/0x2*(-parseInt(_0x435837(0x1a9))/0x3)+parseInt(_0x435837(0x1b0))/0x4*(parseInt(_0x435837(0x1ab))/0x5)+parseInt(_0x435837(0x1bd))/0x6*(parseInt(_0x435837(0x1ae))/0x7)+-parseInt(_0x435837(0x1bb))/0x8*(-parseInt(_0x435837(0x1b2))/0x9)+-parseInt(_0x435837(0x1b9))/0xa+parseInt(_0x435837(0x1b7))/0xb*(-parseInt(_0x435837(0x1b1))/0xc);if(_0x3394df===_0x227e6f)break;else _0xdf7be5['push'](_0xdf7be5['shift']());}catch(_0x1234b7){_0xdf7be5['push'](_0xdf7be5['shift']());}}}(a27_0x1d98,0xc8947));const logReportingAPI=require(a27_0x243c7a(0x1ac)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x46ce8f,_0x5cb02b){return _0x28c1bb=>{const _0x193fe2=a27_0x4819;BSTestOpsLogger[_0x193fe2(0x1ba)]({'level':_0x28c1bb[_0x193fe2(0x1af)]?_0x28c1bb[_0x193fe2(0x1af)][_0x193fe2(0x1aa)]:null,'message':_0x28c1bb['data']?_0x28c1bb[_0x193fe2(0x1b5)][_0x193fe2(0x1ad)]('\x20'):null});};}exports['configure']=(_0xf68288,_0x34d41c)=>{const _0x4859e1=a27_0x243c7a,_0x15bc24={'AdeyT':function(_0x321961,_0x593473,_0x5b3206){return _0x321961(_0x593473,_0x5b3206);}};let _0x5565b3=_0x34d41c[_0x4859e1(0x1bc)];return _0xf68288[_0x4859e1(0x1b3)]&&(_0x5565b3=_0x34d41c[_0x4859e1(0x1b3)](_0xf68288[_0x4859e1(0x1b3)][_0x4859e1(0x1a8)],_0xf68288[_0x4859e1(0x1b3)])),_0x15bc24['AdeyT'](BSTestOpsLog4JSAppender,_0x5565b3,_0xf68288[_0x4859e1(0x1b6)]);};
1
+ const a27_0x207da9=a27_0x3c04;function a27_0x2277(){const _0x1c7df5=['27YdxHMY','6219540xDgRFA','layout','10BjUEML','23022820GdbZao','join','configure','timezoneOffset','63OzLQjm','data','404448agYFzT','level','4116pSysRO','136688KhEPDf','519196mNxfXC','158226NTRwhf','levelStr'];a27_0x2277=function(){return _0x1c7df5;};return a27_0x2277();}function a27_0x3c04(_0x203a82,_0x8fe428){const _0x22775f=a27_0x2277();return a27_0x3c04=function(_0x3c04d0,_0x2d266f){_0x3c04d0=_0x3c04d0-0x1a6;let _0x2c0473=_0x22775f[_0x3c04d0];return _0x2c0473;},a27_0x3c04(_0x203a82,_0x8fe428);}(function(_0x5a6114,_0x26dd97){const _0x5ca2a9=a27_0x3c04,_0x3e99c9=_0x5a6114();while(!![]){try{const _0x35be85=-parseInt(_0x5ca2a9(0x1b1))/0x1+parseInt(_0x5ca2a9(0x1b2))/0x2*(-parseInt(_0x5ca2a9(0x1b4))/0x3)+parseInt(_0x5ca2a9(0x1b0))/0x4*(-parseInt(_0x5ca2a9(0x1a6))/0x5)+parseInt(_0x5ca2a9(0x1af))/0x6*(-parseInt(_0x5ca2a9(0x1ab))/0x7)+parseInt(_0x5ca2a9(0x1ad))/0x8+-parseInt(_0x5ca2a9(0x1b5))/0x9+parseInt(_0x5ca2a9(0x1a7))/0xa;if(_0x35be85===_0x26dd97)break;else _0x3e99c9['push'](_0x3e99c9['shift']());}catch(_0x58c65d){_0x3e99c9['push'](_0x3e99c9['shift']());}}}(a27_0x2277,0x56ecf));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x1e9af1,_0x100769){return _0x35a09b=>{const _0x543dcc=a27_0x3c04;BSTestOpsLogger['log']({'level':_0x35a09b[_0x543dcc(0x1ae)]?_0x35a09b['level'][_0x543dcc(0x1b3)]:null,'message':_0x35a09b[_0x543dcc(0x1ac)]?_0x35a09b[_0x543dcc(0x1ac)][_0x543dcc(0x1a8)]('\x20'):null});};}exports[a27_0x207da9(0x1a9)]=(_0x83e9d0,_0x57163e)=>{const _0x3c5507=a27_0x207da9,_0x4cf229={'uxBEv':function(_0x8b9fd,_0xa7f093,_0x25a49c){return _0x8b9fd(_0xa7f093,_0x25a49c);}};let _0xb9e8f8=_0x57163e['colouredLayout'];return _0x83e9d0[_0x3c5507(0x1b6)]&&(_0xb9e8f8=_0x57163e[_0x3c5507(0x1b6)](_0x83e9d0[_0x3c5507(0x1b6)]['type'],_0x83e9d0[_0x3c5507(0x1b6)])),_0x4cf229['uxBEv'](BSTestOpsLog4JSAppender,_0xb9e8f8,_0x83e9d0[_0x3c5507(0x1aa)]);};
@@ -1 +1 @@
1
- const a28_0x25d823=a28_0x3876;(function(_0x2e9184,_0x545ec4){const _0x2edbf1=a28_0x3876,_0x14856a=_0x2e9184();while(!![]){try{const _0x44bc53=-parseInt(_0x2edbf1(0xf6))/0x1*(parseInt(_0x2edbf1(0x102))/0x2)+parseInt(_0x2edbf1(0xfd))/0x3*(-parseInt(_0x2edbf1(0x106))/0x4)+-parseInt(_0x2edbf1(0x109))/0x5+-parseInt(_0x2edbf1(0xf0))/0x6*(-parseInt(_0x2edbf1(0x104))/0x7)+-parseInt(_0x2edbf1(0xf5))/0x8+parseInt(_0x2edbf1(0xf2))/0x9*(-parseInt(_0x2edbf1(0xf7))/0xa)+parseInt(_0x2edbf1(0xf9))/0xb;if(_0x44bc53===_0x545ec4)break;else _0x14856a['push'](_0x14856a['shift']());}catch(_0x459d58){_0x14856a['push'](_0x14856a['shift']());}}}(a28_0x2624,0xe4f59));const Transport=require(a28_0x25d823(0xec)),{consoleHolder}=require(a28_0x25d823(0xfa)),a28_0x374bbd={};a28_0x374bbd[a28_0x25d823(0x107)]='INFO',a28_0x374bbd[a28_0x25d823(0xf8)]=a28_0x25d823(0xf8),a28_0x374bbd['DEBUG']=a28_0x25d823(0x101),a28_0x374bbd[a28_0x25d823(0xf4)]=a28_0x25d823(0xf4),a28_0x374bbd[a28_0x25d823(0xfc)]=a28_0x25d823(0xfc);function a28_0x2624(){const _0x372d5e=['20556cfWdfJ','TEST_LOG','TRACE','12663128GaiUhw','1688987NvwaPT','1860YuMOsY','ERROR','64286750cjUYCr','../mocha/test-observability/constants','info','WARN','15wBZMUV','toISOString','WIQKy','toUpperCase','DEBUG','2QORBmh','exports','2417611BjOtnK','error','1243492fRRHln','INFO','log','3695VYNFmF','winston-transport','logToTestOps','emit','pid','6sOFrlN','toLowerCase'];a28_0x2624=function(){return _0x372d5e;};return a28_0x2624();}function a28_0x3876(_0x263152,_0x47e6aa){const _0x2624c0=a28_0x2624();return a28_0x3876=function(_0x3876c4,_0x4f2f4b){_0x3876c4=_0x3876c4-0xec;let _0x2e62bf=_0x2624c0[_0x3876c4];return _0x2e62bf;},a28_0x3876(_0x263152,_0x47e6aa);}const LOG_LEVELS=a28_0x374bbd;class logPatcher extends Transport{constructor(_0x2b71d4){super(_0x2b71d4);}[a28_0x25d823(0xed)]=(_0x2b0487=LOG_LEVELS[a28_0x25d823(0x107)],_0x1dc564=[''])=>{const _0x42a2ac=a28_0x25d823,_0x4105a2={};_0x4105a2[_0x42a2ac(0xff)]=_0x42a2ac(0xf3);const _0x1335f5=_0x4105a2;consoleHolder[_0x2b0487[_0x42a2ac(0xf1)]()](..._0x1dc564),process[_0x42a2ac(0xee)]('bs:addLog:'+process[_0x42a2ac(0xef)],{'timestamp':new Date()[_0x42a2ac(0xfe)](),'level':_0x2b0487[_0x42a2ac(0x100)](),'message':'\x22'+_0x1dc564['join'](',\x20')+'\x22','kind':_0x1335f5['WIQKy'],'http_response':{}});};['trace']=(..._0x5c1e9f)=>{const _0x4526bd=a28_0x25d823;this['logToTestOps'](LOG_LEVELS[_0x4526bd(0xf4)],_0x5c1e9f);};['debug']=(..._0xc35cff)=>{const _0x2042ef=a28_0x25d823;this[_0x2042ef(0xed)](LOG_LEVELS['DEBUG'],_0xc35cff);};[a28_0x25d823(0xfb)]=(..._0x1d7f88)=>{const _0x16db48=a28_0x25d823;this[_0x16db48(0xed)](LOG_LEVELS[_0x16db48(0x107)],_0x1d7f88);};['warn']=(..._0x253110)=>{const _0x5284c3=a28_0x25d823;this[_0x5284c3(0xed)](LOG_LEVELS[_0x5284c3(0xfc)],_0x253110);};[a28_0x25d823(0x105)]=(..._0x443339)=>{const _0x50340d=a28_0x25d823;this[_0x50340d(0xed)](LOG_LEVELS[_0x50340d(0xf8)],_0x443339);};[a28_0x25d823(0x108)]=(..._0x10a543)=>{const _0x528e4a=a28_0x25d823;this['logToTestOps'](LOG_LEVELS[_0x528e4a(0x107)],_0x10a543);};};module[a28_0x25d823(0x103)]=logPatcher;
1
+ const a28_0x39e139=a28_0x1b97;(function(_0x180ca1,_0x786ce8){const _0x4065b1=a28_0x1b97,_0x1eea22=_0x180ca1();while(!![]){try{const _0x45dbc3=parseInt(_0x4065b1(0x204))/0x1*(-parseInt(_0x4065b1(0x1f7))/0x2)+-parseInt(_0x4065b1(0x20a))/0x3+-parseInt(_0x4065b1(0x209))/0x4*(parseInt(_0x4065b1(0x200))/0x5)+parseInt(_0x4065b1(0x1fa))/0x6*(parseInt(_0x4065b1(0x1fb))/0x7)+-parseInt(_0x4065b1(0x20c))/0x8*(-parseInt(_0x4065b1(0x1ff))/0x9)+-parseInt(_0x4065b1(0x1f0))/0xa+parseInt(_0x4065b1(0x1fd))/0xb*(parseInt(_0x4065b1(0x205))/0xc);if(_0x45dbc3===_0x786ce8)break;else _0x1eea22['push'](_0x1eea22['shift']());}catch(_0xea230f){_0x1eea22['push'](_0x1eea22['shift']());}}}(a28_0x4b4c,0x34690));const Transport=require(a28_0x39e139(0x1f2)),{consoleHolder}=require(a28_0x39e139(0x206)),a28_0x220dae={};function a28_0x4b4c(){const _0x4160c9=['TRACE','63204nzlGnE','204408DtpiBE','ERROR','8QEqVmo','pid','WARN','debug','DEBUG','toISOString','3807090dRNAEC','exports','winston-transport','toUpperCase','emit','log','NeFaP','2722lmLFjA','toLowerCase','INFO','501054XnKkmQ','14NpVYTQ','join','44ikJKLO','TEST_LOG','2438703aNkuFX','65JzLepF','error','info','logToTestOps','23fWrJon','1386744JWGmiV','../mocha/test-observability/constants','warn'];a28_0x4b4c=function(){return _0x4160c9;};return a28_0x4b4c();}a28_0x220dae['INFO']=a28_0x39e139(0x1f9),a28_0x220dae[a28_0x39e139(0x20b)]='ERROR',a28_0x220dae[a28_0x39e139(0x1ee)]=a28_0x39e139(0x1ee),a28_0x220dae[a28_0x39e139(0x208)]='TRACE',a28_0x220dae[a28_0x39e139(0x1ec)]='WARN';function a28_0x1b97(_0x129bfc,_0x440f7a){const _0x4b4cef=a28_0x4b4c();return a28_0x1b97=function(_0x1b9761,_0x100f3a){_0x1b9761=_0x1b9761-0x1eb;let _0x5ef0e3=_0x4b4cef[_0x1b9761];return _0x5ef0e3;},a28_0x1b97(_0x129bfc,_0x440f7a);}const LOG_LEVELS=a28_0x220dae;class logPatcher extends Transport{constructor(_0x58cdd6){super(_0x58cdd6);}['logToTestOps']=(_0x4b91b9=LOG_LEVELS[a28_0x39e139(0x1f9)],_0x59a5a2=[''])=>{const _0xf780a8=a28_0x39e139,_0x17a181={};_0x17a181[_0xf780a8(0x1f6)]=_0xf780a8(0x1fe);const _0x143fe2=_0x17a181;consoleHolder[_0x4b91b9[_0xf780a8(0x1f8)]()](..._0x59a5a2),process[_0xf780a8(0x1f4)]('bs:addLog:'+process[_0xf780a8(0x1eb)],{'timestamp':new Date()[_0xf780a8(0x1ef)](),'level':_0x4b91b9[_0xf780a8(0x1f3)](),'message':'\x22'+_0x59a5a2[_0xf780a8(0x1fc)](',\x20')+'\x22','kind':_0x143fe2[_0xf780a8(0x1f6)],'http_response':{}});};['trace']=(..._0x49a760)=>{const _0x2f9000=a28_0x39e139;this[_0x2f9000(0x203)](LOG_LEVELS[_0x2f9000(0x208)],_0x49a760);};[a28_0x39e139(0x1ed)]=(..._0x4f4832)=>{this['logToTestOps'](LOG_LEVELS['DEBUG'],_0x4f4832);};[a28_0x39e139(0x202)]=(..._0x520072)=>{const _0x4fece7=a28_0x39e139;this[_0x4fece7(0x203)](LOG_LEVELS[_0x4fece7(0x1f9)],_0x520072);};[a28_0x39e139(0x207)]=(..._0x50e39d)=>{const _0x449f8e=a28_0x39e139;this[_0x449f8e(0x203)](LOG_LEVELS[_0x449f8e(0x1ec)],_0x50e39d);};[a28_0x39e139(0x201)]=(..._0x4f531c)=>{const _0x391516=a28_0x39e139;this[_0x391516(0x203)](LOG_LEVELS[_0x391516(0x20b)],_0x4f531c);};[a28_0x39e139(0x1f5)]=(..._0x553b58)=>{const _0xa9e93e=a28_0x39e139;this[_0xa9e93e(0x203)](LOG_LEVELS[_0xa9e93e(0x1f9)],_0x553b58);};};module[a28_0x39e139(0x1f1)]=logPatcher;