browserstack-node-sdk 1.34.18 → 1.34.20

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 (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x39695f=a29_0x47f5;(function(_0x169c19,_0x1dc90d){const _0x304764=a29_0x47f5,_0x2f354e=_0x169c19();while(!![]){try{const _0x2e68e6=parseInt(_0x304764(0x1f9))/0x1+-parseInt(_0x304764(0x187))/0x2*(-parseInt(_0x304764(0x1eb))/0x3)+-parseInt(_0x304764(0x1d9))/0x4+-parseInt(_0x304764(0x1d8))/0x5+parseInt(_0x304764(0x1b0))/0x6+-parseInt(_0x304764(0x1c1))/0x7*(-parseInt(_0x304764(0x1b4))/0x8)+-parseInt(_0x304764(0x1ec))/0x9*(parseInt(_0x304764(0x1bf))/0xa);if(_0x2e68e6===_0x1dc90d)break;else _0x2f354e['push'](_0x2f354e['shift']());}catch(_0x2d76e9){_0x2f354e['push'](_0x2f354e['shift']());}}}(a29_0xc881,0x6abad));function a29_0xc881(){const _0x479d79=['tOwEG','OCVDC','firefoxOptions_','forEach','originalBuilder','2959368adZfBS','ieOptions_','OVWEZ','NMHUv','8mAriTt','RiBnI','../../../helpers/globals','VHkvo','Builder','moz:firefoxOptions','url_','updeE','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','setGlobal','edgeOptions','130ErAWLL','set','2146522niNfXt','rdoLe','getRequestOptions','quitCount_','RuxNe','oypGb','logLevel','chromeOptions_','browserstackAgentObservability','debug','capability','../../../helpers/logger','__driver','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','setCapabilities','browserStackLogLevel','MLDxT','ExhVe','caps_','proxyUrl','isBrowserstackInfra','storeOptimalHubUrl','oAPZr','1009000ijyyCA','67796QZJjEb','oeBQp','https://','then','chromeOptions','../../../bin/utils/constants','keys','path','/session','capabilities_','ms:edgeOptions','info','edgeOptions_','./helpers/patchHelper','optimalHubUrl','zFoKT','requireSeleniumWebdriver','overrideGet','121497VCTaFr','956673SKSiSg','getAccessibilityResults','BCGFZ','New\x20hub\x20url\x20set\x20to\x20','YbreC','DLTSs','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHubUrl','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','__driversArray','zyChz','zTQQS','newHubUrl','711414FdeexJ','proxy_','safariOptions_','FnaBD','requireHttpClient','/wd/hub','proxySettings','isPacProxy','build','Hub\x20url\x20set\x20to\x20','26BUgRDd','Proxy\x20set\x20to\x20','Znijo','../../../hubAllocationMethods','nXzAI','1|0|3|2|4|5','get','isUndefined','setServer','se:ieOptions','send','PjmnB','CAPABILITY_KEY','ezqAN','LsHwv','../../../helpers/accessibility-automation/helper','mergeDeep','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Modifying\x20webdriver\x20builder','HttpClient','split','error','getAccessibilityResultsSummary','GBmtl','push','isAccessibilityPlatform','session_','firefoxOptions','XXyjq','global','object','safari.options','agent_','../accessibility-automation/helper','__drivers','../../../helpers/patchHelpers'];a29_0xc881=function(){return _0x479d79;};return a29_0xc881();}const logger=require(a29_0x39695f(0x1cc))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a29_0x39695f(0x1de)),hubAllocator=require(a29_0x39695f(0x18a)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x39695f(0x1aa)),{setAccessibilityCapabilities,setExtension}=require(a29_0x39695f(0x1a8)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x39695f(0x196)),globals=require(a29_0x39695f(0x1b6)),{overrideExecute}=require(a29_0x39695f(0x1e6)),modify=(_0x37a0c4,_0xe473b8=null,_0x1cf702=![])=>{const _0x4f7b5f=a29_0x39695f,_0x44afa0={'bwwEz':function(_0x1d9591,_0x375546){return _0x1d9591!==_0x375546;},'RiBnI':_0x4f7b5f(0x1e1),'MLDxT':function(_0x4ba27d,_0x5d4d44){return _0x4ba27d!==_0x5d4d44;},'zTQQS':function(_0x1d1929,_0x4aa0e4){return _0x1d1929+_0x4aa0e4;},'oypGb':_0x4f7b5f(0x1db),'tOwEG':_0x4f7b5f(0x1fe),'nzldr':'goog:chromeOptions','Znijo':_0x4f7b5f(0x1dd),'ohzsi':_0x4f7b5f(0x1e3),'ggFGz':_0x4f7b5f(0x1be),'FnaBD':_0x4f7b5f(0x1b9),'YbreC':_0x4f7b5f(0x1a2),'VHkvo':_0x4f7b5f(0x1a6),'OVWEZ':_0x4f7b5f(0x190),'RuxNe':'ieOptions','updeE':function(_0x2b20cf,_0x48f8e4){return _0x2b20cf===_0x48f8e4;},'NMHUv':_0x4f7b5f(0x1a5),'ezqAN':'Setting\x20Browserstack\x20capabilities','XXyjq':function(_0xbc723e,_0x40087a,_0x125319){return _0xbc723e(_0x40087a,_0x125319);},'DLTSs':function(_0x3ceb5e,_0x1f4d5b){return _0x3ceb5e(_0x1f4d5b);},'GBmtl':function(_0x99bc68,_0x1525d9,_0x1e7a03){return _0x99bc68(_0x1525d9,_0x1e7a03);},'zFoKT':_0x4f7b5f(0x1e7),'nXzAI':_0x4f7b5f(0x1f4),'ExhVe':_0x4f7b5f(0x18c),'knTMu':function(_0x542a45){return _0x542a45();},'zyChz':_0x4f7b5f(0x1a0),'TbKjC':_0x4f7b5f(0x198),'ujtLa':function(_0x2bd354,_0x15af74){return _0x2bd354(_0x15af74);},'BCGFZ':function(_0x42004e,_0x1ef8a3){return _0x42004e!==_0x1ef8a3;},'CZZZf':function(_0x1d19c8,_0x3f3332){return _0x1d19c8!==_0x3f3332;},'OCVDC':_0x4f7b5f(0x1ce),'mZdoP':_0x4f7b5f(0x199)},_0x4fd516=helper[_0x4f7b5f(0x1fd)]();let _0x3c8b37;try{_0x3c8b37=helper[_0x4f7b5f(0x1e9)](),_0x3c8b37[_0x4f7b5f(0x1af)]&&(_0x3c8b37['Builder']=_0x3c8b37[_0x4f7b5f(0x1af)]);}catch(_0x5d151c){return;}if(helper['isBrowserstackInfra']()){const _0x3080d0={};_0x3080d0[_0x4f7b5f(0x1c7)]=_0x37a0c4[_0x4f7b5f(0x1d0)],helper['setLogLevel'](_0x3080d0,new Map(),new Map()),logger[_0x4f7b5f(0x1e4)](_0x44afa0[_0x4f7b5f(0x1ac)]),logger[_0x4f7b5f(0x1ca)](_0x44afa0['mZdoP']);}class _0x39ac13 extends _0x4fd516[_0x4f7b5f(0x19a)]{['send'](_0x3780e7){const _0x4af57b=_0x4f7b5f;if(_0x44afa0['bwwEz'](_0x3780e7[_0x4af57b(0x1e0)],_0x44afa0[_0x4af57b(0x1b5)])&&_0x44afa0[_0x4af57b(0x1d1)](global['newHubUrl'],''))try{global['newHubUrl']=_0x44afa0[_0x4af57b(0x1f7)](_0x44afa0[_0x4af57b(0x1f7)](_0x44afa0[_0x4af57b(0x1c6)],global[_0x4af57b(0x1f8)]),_0x44afa0[_0x4af57b(0x1ab)]),this['options_']=hubAllocator[_0x4af57b(0x1c3)](global[_0x4af57b(0x1f8)]),logger[_0x4af57b(0x1ca)](_0x4af57b(0x1ef)+global[_0x4af57b(0x1f8)]),global[_0x4af57b(0x1f8)]='';}catch(_0x70a58d){logger[_0x4af57b(0x19c)](_0x70a58d);}return super[_0x4af57b(0x191)](_0x3780e7);}}class _0x568be7 extends _0x3c8b37[_0x4f7b5f(0x1b8)]{[_0x4f7b5f(0x18f)](){const _0x58816e=_0x4f7b5f;return this[_0x58816e(0x1ba)]=helper[_0x58816e(0x1f3)](_0x37a0c4),logger[_0x58816e(0x1ca)](_0x58816e(0x186)+this['url_']),this;}['__setBrowserOptions'](_0x4df353){const _0xd9254c=_0x4f7b5f;let _0x246e04={};for(const _0x22f7c9 in _0x4df353){switch(_0x22f7c9){case _0x44afa0['nzldr']:case _0x44afa0[_0xd9254c(0x189)]:this[_0xd9254c(0x1c8)]&&(_0x246e04=this['chromeOptions_'][_0xd9254c(0x18d)](this[_0xd9254c(0x1c8)]['CAPABILITY_KEY'])||{},this[_0xd9254c(0x1c8)]['set'](this[_0xd9254c(0x1c8)][_0xd9254c(0x193)],helper[_0xd9254c(0x197)](_0x246e04,_0x4df353[_0x22f7c9])));break;case _0x44afa0['ohzsi']:case _0x44afa0['ggFGz']:this[_0xd9254c(0x1e5)]&&(_0x246e04=this[_0xd9254c(0x1e5)][_0xd9254c(0x18d)](this[_0xd9254c(0x1e5)][_0xd9254c(0x193)])||{},this[_0xd9254c(0x1e5)][_0xd9254c(0x1c0)](this[_0xd9254c(0x1e5)][_0xd9254c(0x193)],helper[_0xd9254c(0x197)](_0x246e04,_0x4df353[_0x22f7c9])));break;case _0x44afa0[_0xd9254c(0x1fc)]:case _0x44afa0[_0xd9254c(0x1f0)]:this[_0xd9254c(0x1ad)]&&(_0x246e04=this[_0xd9254c(0x1ad)][_0xd9254c(0x18d)](this[_0xd9254c(0x1ad)][_0xd9254c(0x193)])||{},this[_0xd9254c(0x1ad)][_0xd9254c(0x1c0)](this[_0xd9254c(0x1ad)][_0xd9254c(0x193)],helper[_0xd9254c(0x197)](_0x246e04,_0x4df353[_0x22f7c9])));break;case _0x44afa0[_0xd9254c(0x1b7)]:this[_0xd9254c(0x1fb)]&&(_0x246e04=this[_0xd9254c(0x1fb)]['get'](this[_0xd9254c(0x1fb)]['CAPABILITY_KEY'])||{},this[_0xd9254c(0x1fb)][_0xd9254c(0x1c0)](this['safariOptions_'][_0xd9254c(0x193)],helper[_0xd9254c(0x197)](_0x246e04,_0x4df353[_0x22f7c9])));break;case _0x44afa0[_0xd9254c(0x1b2)]:case _0x44afa0[_0xd9254c(0x1c5)]:this['ieOptions_']&&(_0x246e04=this[_0xd9254c(0x1b1)]['get'](this[_0xd9254c(0x1b1)][_0xd9254c(0x193)])||{},this[_0xd9254c(0x1b1)][_0xd9254c(0x1c0)](this[_0xd9254c(0x1b1)][_0xd9254c(0x193)],helper[_0xd9254c(0x197)](_0x246e04,_0x4df353[_0x22f7c9])));break;}}}[_0x4f7b5f(0x1cf)](){const _0x16e466=_0x4f7b5f,_0x501685={'PjmnB':function(_0x38d104,_0xc4e50e){const _0x2e78ca=a29_0x47f5;return _0x44afa0[_0x2e78ca(0x1bb)](_0x38d104,_0xc4e50e);},'lhalo':_0x44afa0[_0x16e466(0x1b3)]};return logger[_0x16e466(0x1ca)](_0x44afa0[_0x16e466(0x194)]),this['__setBrowserOptions'](_0x37a0c4[_0x16e466(0x1cb)]),Object[_0x16e466(0x1df)](_0x37a0c4[_0x16e466(0x1cb)])[_0x16e466(0x1ae)](_0x2f9acc=>{const _0x291b40=_0x16e466,_0x3dfccf=this[_0x291b40(0x1e2)][_0x291b40(0x18d)](_0x2f9acc);_0x501685[_0x291b40(0x192)](typeof _0x3dfccf,_0x501685['lhalo'])?this[_0x291b40(0x1e2)]['set'](_0x2f9acc,helper[_0x291b40(0x197)](_0x3dfccf,_0x37a0c4[_0x291b40(0x1cb)][_0x2f9acc])):this[_0x291b40(0x1e2)][_0x291b40(0x1c0)](_0x2f9acc,_0x37a0c4[_0x291b40(0x1cb)][_0x2f9acc]);}),this;}['build'](){const _0x1185bb=_0x4f7b5f,_0x22b1ad={'rdoLe':_0x44afa0[_0x1185bb(0x1e8)],'oAPZr':_0x44afa0[_0x1185bb(0x18b)],'oeBQp':function(_0x374523,_0xda762d,_0x154f9f){return _0x44afa0['XXyjq'](_0x374523,_0xda762d,_0x154f9f);}};if(helper[_0x1185bb(0x1d5)]()){const _0x35dcc3=_0x44afa0[_0x1185bb(0x1d2)][_0x1185bb(0x19b)]('|');let _0x564d57=0x0;while(!![]){switch(_0x35dcc3[_0x564d57++]){case'0':this[_0x1185bb(0x18f)]();continue;case'1':_0x44afa0['knTMu'](isAccessibilityAutomationSession)&&_0x44afa0[_0x1185bb(0x1f1)](setAccessibilityCapabilities,_0x37a0c4);continue;case'2':if(helper[_0x1185bb(0x184)](_0x37a0c4[_0x1185bb(0x1ff)][_0x1185bb(0x1d4)]))this[_0x1185bb(0x1a7)]=helper['getHttpAgent'](_0x37a0c4[_0x1185bb(0x1ff)]['proxyUrl']);else _0x37a0c4[_0x1185bb(0x1ff)][_0x1185bb(0x1d4)]&&(this['proxy_']=_0x37a0c4[_0x1185bb(0x1ff)]['proxyUrl'],logger['debug'](_0x1185bb(0x188)+this[_0x1185bb(0x1fa)]));continue;case'3':this[_0x1185bb(0x1cf)]();continue;case'4':globals['getGlobal'](_0x44afa0[_0x1185bb(0x1f6)])&&(!_0x44afa0['XXyjq'](setExtension,this,_0x37a0c4)&&globals[_0x1185bb(0x1bd)](_0x44afa0[_0x1185bb(0x1f6)],![]));continue;case'5':logger[_0x1185bb(0x1ca)](_0x44afa0['TbKjC']);continue;}break;}}const _0x5ac6f1=super[_0x1185bb(0x185)]();return _0x5ac6f1[_0x1185bb(0x1a1)][_0x1185bb(0x1dc)](_0x166f28=>{const _0x22ed5e=_0x1185bb;try{const _0x5f34ef=_0x166f28[_0x22ed5e(0x1d3)][_0x22ed5e(0x18d)](_0x22b1ad[_0x22ed5e(0x1c2)]);_0x5f34ef?(logger[_0x22ed5e(0x1ca)](_0x22ed5e(0x1bc)+_0x5f34ef),hubAllocator['updateHubUrl'](_0x5f34ef),helper[_0x22ed5e(0x1d6)](_0x5f34ef)):logger['debug'](_0x22b1ad[_0x22ed5e(0x1d7)]);}catch(_0x1e4966){logger[_0x22ed5e(0x1ca)](_0x22ed5e(0x1f2)+_0x1e4966);}}),_0x5ac6f1[_0x1185bb(0x1c4)]=0x0,_0x5ac6f1[_0x1185bb(0x1dc)]&&_0x5ac6f1[_0x1185bb(0x1dc)](_0x32ee2f=>{const _0x5ce7d2=_0x1185bb,_0x26fcba={'LsHwv':function(_0xb4931a,_0x45f8b8,_0xb694cc){const _0xf299b6=a29_0x47f5;return _0x44afa0[_0xf299b6(0x1a3)](_0xb4931a,_0x45f8b8,_0xb694cc);}};_0x44afa0[_0x5ce7d2(0x1a3)](overrideQuit,_0x32ee2f,_0x5ac6f1),_0x44afa0[_0x5ce7d2(0x1f1)](overrideTakeScreenshot,_0x32ee2f),helper[_0x5ce7d2(0x1ea)](_0x32ee2f,_0x37a0c4),_0x44afa0['GBmtl'](overrideExecute,_0x32ee2f,_0x37a0c4),_0x32ee2f['getAccessibilityResultsSummary']=async()=>{const _0x27f6aa=_0x5ce7d2;return await _0x22b1ad[_0x27f6aa(0x1da)](getAccessibilityResultsSummary,_0x32ee2f,global);},_0x32ee2f[_0x5ce7d2(0x1ed)]=async()=>{const _0x26cebe=_0x5ce7d2;return await _0x26fcba[_0x26cebe(0x195)](getAccessibilityResults,_0x32ee2f,global);};}),_0x5ac6f1[_0x1185bb(0x19d)]=async()=>{return await _0x44afa0['GBmtl'](getAccessibilityResultsSummary,_0x5ac6f1,global);},_0x5ac6f1['getAccessibilityResults']=async()=>{const _0x24c307=_0x1185bb;return await _0x44afa0[_0x24c307(0x19e)](getAccessibilityResults,_0x5ac6f1,global);},_0x44afa0['DLTSs'](overrideTakeScreenshot,_0x5ac6f1),_0x44afa0['ujtLa'](overrideQuit,_0x5ac6f1),helper[_0x1185bb(0x1ea)](_0x5ac6f1,_0x37a0c4),_0x44afa0[_0x1185bb(0x19e)](overrideExecute,_0x5ac6f1,_0x37a0c4),helper[_0x1185bb(0x18e)](global[_0x1185bb(0x1f5)])&&(global[_0x1185bb(0x1f5)]=[]),helper[_0x1185bb(0x18e)](global[_0x1185bb(0x1a9)])&&(global[_0x1185bb(0x1a9)]=[]),global[_0x1185bb(0x1f5)]['push'](_0x5ac6f1),global[_0x1185bb(0x1cd)]=_0x5ac6f1,_0x44afa0[_0x1185bb(0x1ee)](global[_0x1185bb(0x1a9)],undefined)&&global[_0x1185bb(0x1a9)]['push'](_0x5ac6f1),_0xe473b8&&helper[_0x1185bb(0x18e)](_0xe473b8[_0x1185bb(0x1a4)]['__driversArray'])&&(_0xe473b8[_0x1185bb(0x1a4)][_0x1185bb(0x1f5)]=[]),_0xe473b8&&_0x44afa0['CZZZf'](_0xe473b8[_0x1185bb(0x1a4)][_0x1185bb(0x1a9)],undefined)&&(_0xe473b8[_0x1185bb(0x1a4)]['__drivers'][_0x1185bb(0x19f)](_0x5ac6f1),_0xe473b8[_0x1185bb(0x1a4)]['__driversArray'][_0x1185bb(0x19f)](_0x5ac6f1)),_0x5ac6f1;}}return _0x3c8b37[_0x4f7b5f(0x1af)]=_0x3c8b37['Builder'],_0x3c8b37[_0x4f7b5f(0x1b8)]=_0x568be7,_0x4fd516[_0x4f7b5f(0x19a)]=_0x39ac13,_0x3c8b37;};function a29_0x47f5(_0x13f1fb,_0xa8a061){const _0xc8817f=a29_0xc881();return a29_0x47f5=function(_0x47f533,_0x1be9e1){_0x47f533=_0x47f533-0x184;let _0x16a8fa=_0xc8817f[_0x47f533];return _0x16a8fa;},a29_0x47f5(_0x13f1fb,_0xa8a061);}module['exports'][a29_0x39695f(0x1c9)]=modify;
1
+ const a29_0x12bd76=a29_0x1f7d;(function(_0x314d3c,_0x5ae33b){const _0x5ccbb2=a29_0x1f7d,_0x5bbf27=_0x314d3c();while(!![]){try{const _0x37bf9c=-parseInt(_0x5ccbb2(0x181))/0x1*(-parseInt(_0x5ccbb2(0x1af))/0x2)+-parseInt(_0x5ccbb2(0x1d5))/0x3+parseInt(_0x5ccbb2(0x1bb))/0x4+parseInt(_0x5ccbb2(0x1ce))/0x5*(parseInt(_0x5ccbb2(0x170))/0x6)+-parseInt(_0x5ccbb2(0x199))/0x7*(-parseInt(_0x5ccbb2(0x1b7))/0x8)+parseInt(_0x5ccbb2(0x18f))/0x9+-parseInt(_0x5ccbb2(0x1b4))/0xa*(parseInt(_0x5ccbb2(0x178))/0xb);if(_0x37bf9c===_0x5ae33b)break;else _0x5bbf27['push'](_0x5bbf27['shift']());}catch(_0x2ec503){_0x5bbf27['push'](_0x5bbf27['shift']());}}}(a29_0x14f8,0x9c1a5));function a29_0x1f7d(_0x3dc9ce,_0xa16357){const _0x14f86f=a29_0x14f8();return a29_0x1f7d=function(_0x1f7dc6,_0x1b6f65){_0x1f7dc6=_0x1f7dc6-0x16d;let _0x1108a1=_0x14f86f[_0x1f7dc6];return _0x1108a1;},a29_0x1f7d(_0x3dc9ce,_0xa16357);}const logger=require(a29_0x12bd76(0x18e))['winstonLogger'],helper=require(a29_0x12bd76(0x1d2)),constants=require(a29_0x12bd76(0x18d)),hubAllocator=require(a29_0x12bd76(0x1e7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x12bd76(0x1bd)),{setAccessibilityCapabilities,setExtension}=require(a29_0x12bd76(0x1a3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x12bd76(0x1dc)),modify=(_0x40c401,_0x5166b9=null,_0x5c7914=![])=>{const _0x2baf62=a29_0x12bd76,_0x524a1e={'bTiyI':function(_0x35e40b,_0x400f78){return _0x35e40b!==_0x400f78;},'iKdCn':_0x2baf62(0x197),'RxfYf':function(_0x40e5a8,_0x4ddac4){return _0x40e5a8+_0x4ddac4;},'jpGrt':function(_0x388bbd,_0x2d6e8c){return _0x388bbd+_0x2d6e8c;},'TcDVL':_0x2baf62(0x17f),'YDRXP':_0x2baf62(0x1a8),'GIRgU':_0x2baf62(0x1bc),'jtgon':_0x2baf62(0x19b),'GLWGB':'ms:edgeOptions','zTrMJ':_0x2baf62(0x188),'bNwGf':_0x2baf62(0x1b0),'RYjbd':_0x2baf62(0x1ab),'WFZWP':'safari.options','aVuBx':_0x2baf62(0x18b),'Ivoks':_0x2baf62(0x1e6),'JpTOQ':function(_0x2da47e,_0x171650){return _0x2da47e===_0x171650;},'ziFSr':'object','CAXlb':'Setting\x20Browserstack\x20capabilities','nDwPs':function(_0x40603c,_0x3de6d9,_0x280ab7){return _0x40603c(_0x3de6d9,_0x280ab7);},'hLfAU':function(_0x14cd80,_0x5e6497,_0x22269e){return _0x14cd80(_0x5e6497,_0x22269e);},'xoCZL':_0x2baf62(0x16f),'nrWcz':_0x2baf62(0x1c3),'nPEIE':function(_0x5d710f,_0x466e35,_0x50d415){return _0x5d710f(_0x466e35,_0x50d415);},'bRUZZ':_0x2baf62(0x171),'yxvlK':function(_0x4ae7f4,_0x5c63a0){return _0x4ae7f4(_0x5c63a0);},'eRJDZ':_0x2baf62(0x174),'RERIv':function(_0x58f55b){return _0x58f55b();},'TmCEg':_0x2baf62(0x19f),'OOQKy':function(_0x1a656b,_0x1c3fc9,_0x2db1e4){return _0x1a656b(_0x1c3fc9,_0x2db1e4);},'EJEUY':_0x2baf62(0x18a),'yrXKc':function(_0x50e97b,_0x82ef9d){return _0x50e97b!==_0x82ef9d;},'dtQte':_0x2baf62(0x1c0),'uUuDp':_0x2baf62(0x1eb)},_0x2ae426=helper[_0x2baf62(0x182)]();let _0x546892;try{_0x546892=helper[_0x2baf62(0x1b1)](),_0x546892['originalBuilder']&&(_0x546892['Builder']=_0x546892['originalBuilder']);}catch(_0x4bbd75){return;}if(helper[_0x2baf62(0x1a4)]()){const _0x20d25b={};_0x20d25b[_0x2baf62(0x16e)]=_0x40c401[_0x2baf62(0x19a)],helper[_0x2baf62(0x184)](_0x20d25b,new Map(),new Map()),logger['info'](_0x524a1e[_0x2baf62(0x186)]),logger['debug'](_0x524a1e[_0x2baf62(0x1df)]);}class _0x25e2a6 extends _0x2ae426[_0x2baf62(0x18c)]{[_0x2baf62(0x187)](_0x35194b){const _0x32c6cf=_0x2baf62;if(_0x524a1e['bTiyI'](_0x35194b[_0x32c6cf(0x183)],_0x524a1e[_0x32c6cf(0x1e2)])&&_0x524a1e[_0x32c6cf(0x1aa)](global[_0x32c6cf(0x1d8)],''))try{global[_0x32c6cf(0x1d8)]=_0x524a1e[_0x32c6cf(0x194)](_0x524a1e[_0x32c6cf(0x176)](_0x524a1e['TcDVL'],global[_0x32c6cf(0x1d8)]),_0x524a1e[_0x32c6cf(0x1a9)]),this[_0x32c6cf(0x1dd)]=hubAllocator[_0x32c6cf(0x1e4)](global[_0x32c6cf(0x1d8)]),logger[_0x32c6cf(0x180)](_0x32c6cf(0x1ed)+global['newHubUrl']),global['newHubUrl']='';}catch(_0x50e450){logger[_0x32c6cf(0x1a2)](_0x50e450);}return super['send'](_0x35194b);}}class _0x464ba9 extends _0x546892['Builder']{['setServer'](){const _0x5deb9a=_0x2baf62;return this['url_']=helper[_0x5deb9a(0x1ec)](_0x40c401),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x5deb9a(0x1e9)]),this;}['__setBrowserOptions'](_0x4d2ab3){const _0x57c514=_0x2baf62;let _0x247631={};for(const _0x47215a in _0x4d2ab3){switch(_0x47215a){case _0x524a1e[_0x57c514(0x191)]:case _0x524a1e['jtgon']:this['chromeOptions_']&&(_0x247631=this[_0x57c514(0x1cf)][_0x57c514(0x1b9)](this[_0x57c514(0x1cf)][_0x57c514(0x1d0)])||{},this[_0x57c514(0x1cf)][_0x57c514(0x1ac)](this[_0x57c514(0x1cf)][_0x57c514(0x1d0)],helper[_0x57c514(0x1b6)](_0x247631,_0x4d2ab3[_0x47215a])));break;case _0x524a1e['GLWGB']:case _0x524a1e['zTrMJ']:this[_0x57c514(0x17b)]&&(_0x247631=this[_0x57c514(0x17b)][_0x57c514(0x1b9)](this[_0x57c514(0x17b)][_0x57c514(0x1d0)])||{},this[_0x57c514(0x17b)][_0x57c514(0x1ac)](this[_0x57c514(0x17b)][_0x57c514(0x1d0)],helper[_0x57c514(0x1b6)](_0x247631,_0x4d2ab3[_0x47215a])));break;case _0x524a1e[_0x57c514(0x1d4)]:case _0x524a1e[_0x57c514(0x179)]:this['firefoxOptions_']&&(_0x247631=this[_0x57c514(0x1b5)]['get'](this[_0x57c514(0x1b5)]['CAPABILITY_KEY'])||{},this[_0x57c514(0x1b5)]['set'](this[_0x57c514(0x1b5)]['CAPABILITY_KEY'],helper[_0x57c514(0x1b6)](_0x247631,_0x4d2ab3[_0x47215a])));break;case _0x524a1e[_0x57c514(0x1d1)]:this[_0x57c514(0x1cd)]&&(_0x247631=this[_0x57c514(0x1cd)][_0x57c514(0x1b9)](this[_0x57c514(0x1cd)][_0x57c514(0x1d0)])||{},this[_0x57c514(0x1cd)][_0x57c514(0x1ac)](this[_0x57c514(0x1cd)][_0x57c514(0x1d0)],helper[_0x57c514(0x1b6)](_0x247631,_0x4d2ab3[_0x47215a])));break;case _0x524a1e[_0x57c514(0x1a5)]:case _0x524a1e[_0x57c514(0x1da)]:this['ieOptions_']&&(_0x247631=this[_0x57c514(0x19e)]['get'](this[_0x57c514(0x19e)][_0x57c514(0x1d0)])||{},this[_0x57c514(0x19e)][_0x57c514(0x1ac)](this[_0x57c514(0x19e)][_0x57c514(0x1d0)],helper[_0x57c514(0x1b6)](_0x247631,_0x4d2ab3[_0x47215a])));break;}}}[_0x2baf62(0x1c4)](){const _0x59b53f=_0x2baf62,_0x1f45a0={'DgwPt':function(_0x49b867,_0xf46d0e){return _0x524a1e['JpTOQ'](_0x49b867,_0xf46d0e);},'lMROb':_0x524a1e[_0x59b53f(0x1c7)]};return logger[_0x59b53f(0x180)](_0x524a1e[_0x59b53f(0x1ae)]),this[_0x59b53f(0x173)](_0x40c401['capability']),Object[_0x59b53f(0x1a7)](_0x40c401['capability'])[_0x59b53f(0x1b2)](_0xb3eb8f=>{const _0xf1865a=_0x59b53f,_0x18c1ec=this['capabilities_'][_0xf1865a(0x1b9)](_0xb3eb8f);_0x1f45a0[_0xf1865a(0x1b8)](typeof _0x18c1ec,_0x1f45a0[_0xf1865a(0x1cc)])?this[_0xf1865a(0x185)][_0xf1865a(0x1ac)](_0xb3eb8f,helper[_0xf1865a(0x1b6)](_0x18c1ec,_0x40c401['capability'][_0xb3eb8f])):this[_0xf1865a(0x185)][_0xf1865a(0x1ac)](_0xb3eb8f,_0x40c401[_0xf1865a(0x195)][_0xb3eb8f]);}),this;}['build'](){const _0x11e4d9=_0x2baf62,_0x2bbc26={'haXnK':_0x524a1e[_0x11e4d9(0x190)],'peTLb':_0x524a1e[_0x11e4d9(0x1c9)],'woLvj':function(_0x30c2df,_0xaee81a,_0x5ad9b6){return _0x524a1e['hLfAU'](_0x30c2df,_0xaee81a,_0x5ad9b6);},'ukRZG':function(_0x2b3a45,_0x2bb71d,_0x294a00){return _0x524a1e['nPEIE'](_0x2b3a45,_0x2bb71d,_0x294a00);},'LcNoQ':_0x524a1e[_0x11e4d9(0x1e1)],'bFBEe':function(_0x33c117,_0x13fea7){const _0x2fc3b9=_0x11e4d9;return _0x524a1e[_0x2fc3b9(0x1c5)](_0x33c117,_0x13fea7);}};if(helper[_0x11e4d9(0x1a4)]()){const _0x13fa24=_0x524a1e[_0x11e4d9(0x17e)][_0x11e4d9(0x1de)]('|');let _0x893ea5=0x0;while(!![]){switch(_0x13fa24[_0x893ea5++]){case'0':if(helper['isPacProxy'](_0x40c401[_0x11e4d9(0x1be)][_0x11e4d9(0x1e3)]))this[_0x11e4d9(0x1d9)]=helper[_0x11e4d9(0x1c6)](_0x40c401['proxySettings'][_0x11e4d9(0x1e3)]);else _0x40c401[_0x11e4d9(0x1be)][_0x11e4d9(0x1e3)]&&(this[_0x11e4d9(0x1e8)]=_0x40c401[_0x11e4d9(0x1be)]['proxyUrl'],logger[_0x11e4d9(0x180)](_0x11e4d9(0x1bf)+this[_0x11e4d9(0x1e8)]));continue;case'1':_0x524a1e['RERIv'](isAccessibilityAutomationSession)&&_0x524a1e[_0x11e4d9(0x1c5)](setAccessibilityCapabilities,_0x40c401);continue;case'2':globals[_0x11e4d9(0x17d)](_0x524a1e[_0x11e4d9(0x17c)])&&(!_0x524a1e[_0x11e4d9(0x17a)](setExtension,this,_0x40c401)&&globals[_0x11e4d9(0x1ba)](_0x524a1e['TmCEg'],![]));continue;case'3':logger[_0x11e4d9(0x180)](_0x524a1e[_0x11e4d9(0x19c)]);continue;case'4':this[_0x11e4d9(0x1c4)]();continue;case'5':this[_0x11e4d9(0x1d3)]();continue;}break;}}const _0x38ea09=super[_0x11e4d9(0x192)]();return _0x38ea09[_0x11e4d9(0x1db)][_0x11e4d9(0x189)](_0x5edd48=>{const _0x5d7d85=_0x11e4d9;try{const _0x15ef06=_0x5edd48['caps_'][_0x5d7d85(0x1b9)](_0x2bbc26['haXnK']);_0x15ef06?(logger['debug'](_0x5d7d85(0x1a0)+_0x15ef06),hubAllocator[_0x5d7d85(0x198)](_0x15ef06),helper[_0x5d7d85(0x1d6)](_0x15ef06)):logger[_0x5d7d85(0x180)](_0x2bbc26['peTLb']);}catch(_0x27b4d9){logger[_0x5d7d85(0x180)](_0x5d7d85(0x1ea)+_0x27b4d9);}}),_0x38ea09[_0x11e4d9(0x1a1)]=0x0,_0x38ea09[_0x11e4d9(0x189)]&&_0x38ea09[_0x11e4d9(0x189)](_0x104b28=>{const _0x23907c=_0x11e4d9,_0xf6d955=_0x2bbc26['LcNoQ']['split']('|');let _0x3698a4=0x0;while(!![]){switch(_0xf6d955[_0x3698a4++]){case'0':_0x2bbc26[_0x23907c(0x177)](overrideTakeScreenshot,_0x104b28);continue;case'1':_0x104b28[_0x23907c(0x1ad)]=async()=>{return await _0x2bbc26['ukRZG'](getAccessibilityResults,_0x104b28,global);};continue;case'2':helper[_0x23907c(0x1e0)](_0x104b28,_0x40c401);continue;case'3':_0x2bbc26[_0x23907c(0x1d7)](overrideQuit,_0x104b28,_0x38ea09);continue;case'4':_0x104b28['getAccessibilityResultsSummary']=async()=>{const _0x423a5b=_0x23907c;return await _0x2bbc26[_0x423a5b(0x16d)](getAccessibilityResultsSummary,_0x104b28,global);};continue;case'5':_0x2bbc26[_0x23907c(0x16d)](overrideExecute,_0x104b28,_0x40c401);continue;}break;}}),_0x38ea09[_0x11e4d9(0x1cb)]=async()=>{const _0x50e80e=_0x11e4d9;return await _0x524a1e[_0x50e80e(0x1ca)](getAccessibilityResultsSummary,_0x38ea09,global);},_0x38ea09['getAccessibilityResults']=async()=>{return await _0x524a1e['hLfAU'](getAccessibilityResults,_0x38ea09,global);},_0x524a1e[_0x11e4d9(0x1c5)](overrideTakeScreenshot,_0x38ea09),_0x524a1e[_0x11e4d9(0x1c5)](overrideQuit,_0x38ea09),helper[_0x11e4d9(0x1e0)](_0x38ea09,_0x40c401),_0x524a1e['OOQKy'](overrideExecute,_0x38ea09,_0x40c401),helper[_0x11e4d9(0x193)](global['__driversArray'])&&(global[_0x11e4d9(0x1a6)]=[]),helper['isUndefined'](global[_0x11e4d9(0x1c2)])&&(global[_0x11e4d9(0x1c2)]=[]),global[_0x11e4d9(0x1a6)][_0x11e4d9(0x19d)](_0x38ea09),global[_0x11e4d9(0x196)]=_0x38ea09,_0x524a1e[_0x11e4d9(0x1b3)](global[_0x11e4d9(0x1c2)],undefined)&&global[_0x11e4d9(0x1c2)]['push'](_0x38ea09),_0x5166b9&&helper['isUndefined'](_0x5166b9[_0x11e4d9(0x175)]['__driversArray'])&&(_0x5166b9[_0x11e4d9(0x175)][_0x11e4d9(0x1a6)]=[]),_0x5166b9&&_0x524a1e[_0x11e4d9(0x1aa)](_0x5166b9[_0x11e4d9(0x175)][_0x11e4d9(0x1c2)],undefined)&&(_0x5166b9['global'][_0x11e4d9(0x1c2)][_0x11e4d9(0x19d)](_0x38ea09),_0x5166b9[_0x11e4d9(0x175)][_0x11e4d9(0x1a6)][_0x11e4d9(0x19d)](_0x38ea09)),_0x38ea09;}}return _0x546892[_0x2baf62(0x172)]=_0x546892['Builder'],_0x546892[_0x2baf62(0x1c1)]=_0x464ba9,_0x2ae426[_0x2baf62(0x18c)]=_0x25e2a6,_0x546892;};function a29_0x14f8(){const _0x41f735=['/wd/hub','YDRXP','bTiyI','firefoxOptions','set','getAccessibilityResults','CAXlb','42586vKTUGi','moz:firefoxOptions','requireSeleniumWebdriver','forEach','yrXKc','478220movhPe','firefoxOptions_','mergeDeep','16HRuYkZ','DgwPt','get','setGlobal','3168208iHygAI','goog:chromeOptions','../../../helpers/patchHelpers','proxySettings','Proxy\x20set\x20to\x20','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','Builder','__drivers','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setCapabilities','yxvlK','getHttpAgent','ziFSr','exports','nrWcz','nDwPs','getAccessibilityResultsSummary','lMROb','safariOptions_','235450QeELKF','chromeOptions_','CAPABILITY_KEY','WFZWP','../../../helpers/helper','setServer','bNwGf','1883865uhvxjL','storeOptimalHubUrl','ukRZG','newHubUrl','agent_','Ivoks','session_','./helpers/patchHelper','options_','split','uUuDp','overrideGet','bRUZZ','iKdCn','proxyUrl','getRequestOptions','browserstackAgentObservability','ieOptions','../../../hubAllocationMethods','proxy_','url_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Modifying\x20webdriver\x20builder','getHubUrl','New\x20hub\x20url\x20set\x20to\x20','woLvj','logLevel','optimalHubUrl','6DXmBEL','3|0|2|5|4|1','originalBuilder','__setBrowserOptions','1|5|4|0|2|3','global','jpGrt','bFBEe','451iegwzX','RYjbd','OOQKy','edgeOptions_','TmCEg','getGlobal','eRJDZ','https://','debug','53JSCMgv','requireHttpClient','path','setLogLevel','capabilities_','dtQte','send','edgeOptions','then','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','se:ieOptions','HttpClient','../../../bin/utils/constants','../../../helpers/logger','2494809pzDQgQ','xoCZL','GIRgU','build','isUndefined','RxfYf','capability','__driver','/session','updateHubUrl','3441137BzOjkS','browserStackLogLevel','chromeOptions','EJEUY','push','ieOptions_','isAccessibilityPlatform','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','quitCount_','error','../accessibility-automation/helper','isBrowserstackInfra','aVuBx','__driversArray','keys'];a29_0x14f8=function(){return _0x41f735;};return a29_0x14f8();}module[a29_0x12bd76(0x1c8)][a29_0x12bd76(0x1e5)]=modify;
@@ -1 +1 @@
1
- function a30_0x29c9(_0xd6fca3,_0x5b7a24){const _0x411886=a30_0x4118();return a30_0x29c9=function(_0x29c935,_0x5e6854){_0x29c935=_0x29c935-0xe0;let _0x3f3491=_0x411886[_0x29c935];return _0x3f3491;},a30_0x29c9(_0xd6fca3,_0x5b7a24);}const a30_0x5c35ef=a30_0x29c9;function a30_0x4118(){const _0x1be350=['26069913OscwMl','5FqowoB','2651924lwPPIC','1800812blxPZP','../../../helpers/test-observability/utils','8581980bLOCJT','evGPI','timeout','9769753hkIaqW','1116985pyrUwb','3AFgGVk','restore','10175568ijUqHn'];a30_0x4118=function(){return _0x1be350;};return a30_0x4118();}(function(_0x4ab5e0,_0x47af06){const _0x45084a=a30_0x29c9,_0x5cec0a=_0x4ab5e0();while(!![]){try{const _0x1d77ed=parseInt(_0x45084a(0xe6))/0x1+parseInt(_0x45084a(0xe0))/0x2*(-parseInt(_0x45084a(0xe7))/0x3)+-parseInt(_0x45084a(0xec))/0x4*(parseInt(_0x45084a(0xeb))/0x5)+parseInt(_0x45084a(0xe2))/0x6+parseInt(_0x45084a(0xe5))/0x7+parseInt(_0x45084a(0xe9))/0x8+-parseInt(_0x45084a(0xea))/0x9;if(_0x1d77ed===_0x47af06)break;else _0x5cec0a['push'](_0x5cec0a['shift']());}catch(_0x36426f){_0x5cec0a['push'](_0x5cec0a['shift']());}}}(a30_0x4118,0xb84d0));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x5c35ef(0xe1));exports['mochaHooks']={'beforeAll'(){const _0x38c5e9=a30_0x5c35ef,_0x4ec6a8={'evGPI':function(_0x28d623){return _0x28d623();}},_0x3f1785='browserstack internal helper hook';_0x4ec6a8[_0x38c5e9(0xe3)](addRequestSpy);},'afterAll'(){const _0xd315b8=a30_0x5c35ef,_0x5cf4eb='browserstack internal helper hook';this[_0xd315b8(0xe4)](0xea60),requestSpy[_0xd315b8(0xe8)]();}};
1
+ const a30_0x174e7a=a30_0x1edb;(function(_0x57b300,_0x42402b){const _0x2535d5=a30_0x1edb,_0xdcc0ea=_0x57b300();while(!![]){try{const _0x103465=-parseInt(_0x2535d5(0xfe))/0x1+parseInt(_0x2535d5(0xfb))/0x2*(-parseInt(_0x2535d5(0x107))/0x3)+parseInt(_0x2535d5(0xf9))/0x4*(-parseInt(_0x2535d5(0xfa))/0x5)+parseInt(_0x2535d5(0x103))/0x6+parseInt(_0x2535d5(0xff))/0x7*(-parseInt(_0x2535d5(0xfd))/0x8)+-parseInt(_0x2535d5(0x105))/0x9*(-parseInt(_0x2535d5(0x102))/0xa)+parseInt(_0x2535d5(0x106))/0xb;if(_0x103465===_0x42402b)break;else _0xdcc0ea['push'](_0xdcc0ea['shift']());}catch(_0x5aea7f){_0xdcc0ea['push'](_0xdcc0ea['shift']());}}}(a30_0x1e11,0x29b30));function a30_0x1edb(_0x2f5b95,_0x2000cd){const _0x1e11a4=a30_0x1e11();return a30_0x1edb=function(_0x1edb75,_0x21a75e){_0x1edb75=_0x1edb75-0xf8;let _0x1dd603=_0x1e11a4[_0x1edb75];return _0x1dd603;},a30_0x1edb(_0x2f5b95,_0x2000cd);}const requestSpy=require(a30_0x174e7a(0xfc)),constants=require(a30_0x174e7a(0x104)),{addRequestSpy}=require(a30_0x174e7a(0xf8));function a30_0x1e11(){const _0x578b8a=['4peEhnM','171965phBAqa','1418jypBNK','../../../helpers/request-spy','888392ABPmxT','313366JuUbaW','7CaDLHP','mochaHooks','ZVpSy','3107810VUXTqM','1822170AZHnDo','../../../bin/utils/constants','9ZkpElE','3262655iiPuiK','1191XRbydf','../../../helpers/test-observability/utils'];a30_0x1e11=function(){return _0x578b8a;};return a30_0x1e11();}exports[a30_0x174e7a(0x100)]={'beforeAll'(){const _0x5bd4b6=a30_0x174e7a,_0x12e152={'ZVpSy':function(_0x40106b){return _0x40106b();}},_0x487c38='browserstack internal helper hook';_0x12e152[_0x5bd4b6(0x101)](addRequestSpy);},'afterAll'(){const _0x3e9a9c='browserstack internal helper hook';this['timeout'](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a31_0x57445a=a31_0x54f4;(function(_0x196ce1,_0x4ea08b){const _0x2e57d8=a31_0x54f4,_0x57ad20=_0x196ce1();while(!![]){try{const _0x1742ea=-parseInt(_0x2e57d8(0x186))/0x1*(parseInt(_0x2e57d8(0x18f))/0x2)+parseInt(_0x2e57d8(0x181))/0x3+-parseInt(_0x2e57d8(0x1c0))/0x4+parseInt(_0x2e57d8(0x1a5))/0x5*(-parseInt(_0x2e57d8(0x180))/0x6)+parseInt(_0x2e57d8(0x1bd))/0x7*(parseInt(_0x2e57d8(0x17c))/0x8)+parseInt(_0x2e57d8(0x199))/0x9*(-parseInt(_0x2e57d8(0x1b1))/0xa)+parseInt(_0x2e57d8(0x178))/0xb;if(_0x1742ea===_0x4ea08b)break;else _0x57ad20['push'](_0x57ad20['shift']());}catch(_0x55009f){_0x57ad20['push'](_0x57ad20['shift']());}}}(a31_0x5738,0xeaa1b));function a31_0x54f4(_0x1ce35b,_0x44e365){const _0x573834=a31_0x5738();return a31_0x54f4=function(_0x54f4e7,_0x41bb1a){_0x54f4e7=_0x54f4e7-0x178;let _0x466f2f=_0x573834[_0x54f4e7];return _0x466f2f;},a31_0x54f4(_0x1ce35b,_0x44e365);}const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x57445a(0x18b)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x57445a(0x185)),{getPlatformVersion}=require(a31_0x57445a(0x17d)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');function a31_0x5738(){const _0x547c88=['VENrC','lNZJe','getBrowserName','nwEkP','failed','hQoZg','VLSIX','755706KfTqgw','QcqDZ','TXaDq','5022752nTRhXV','PvENa','emit','ZIrPZ','js-','getPlatform','NhKjP','hAWIw','uqTIB','41606774ddkZIV','slice','ugUMw','yPicF','24mEjnpt','../../../helpers/helper','suites','jUmmU','6uVotvY','1343172tGwxme','_afterEach','getHookDetails','kytmq','../../../helpers/test-observability/constants','5atBtum','QKOWY','markedStatus','forEach','split','../../../../package.json','__cloud_provider___','EGScK','suYqf','759464kQtesu','bvVes','hookAnalyticsId','Pjtoo','type','sendPlatformDetails','hook','toJSON','getSession','_afterAll','1512vabsex','reduce','TEST_PLATFORM','cWxZo','passed','lIwLe','state','TneVR','szDTf','mapTestHooks','TrEej','JboWz','1054965gpBYgg','_beforeEach','BDYth','generic','VJJww','map_','toISOString','kOHqD','ShqzD','getBrowserVersion','parent','getCapabilities','13550xhRFSx','push','QjfQb','getHookSkippedTests','getHooksForTest'];a31_0x5738=function(){return _0x547c88;};return a31_0x5738();}console={},Object['keys'](consoleHolder)['forEach'](_0x536d1f=>{console[_0x536d1f]=(..._0x57d05c)=>{BSTestOpsPatcher[_0x536d1f](..._0x57d05c);};}),exports['getTestEnv']=()=>{const _0x3717e2=a31_0x57445a,_0x327d21={'TXaDq':_0x3717e2(0x1a8),'hAWIw':function(_0x4e303e){return _0x4e303e();}};return{'ci':_0x327d21[_0x3717e2(0x1bf)],'key':_0x327d21[_0x3717e2(0x1c7)](uuidv4),'version':version,'collector':_0x3717e2(0x1c4)+name};},exports[a31_0x57445a(0x183)]=_0x5557da=>{const _0x459502=a31_0x57445a,_0x1db875={};_0x1db875['QcqDZ']=function(_0x28b47d,_0x7e0f0b){return _0x28b47d!==_0x7e0f0b;},_0x1db875[_0x459502(0x1a3)]='string',_0x1db875[_0x459502(0x1a1)]='hook:',_0x1db875[_0x459502(0x17f)]=_0x459502(0x195);const _0x51f263=_0x1db875;if(!_0x5557da||_0x51f263[_0x459502(0x1be)](typeof _0x5557da,_0x51f263['TrEej']))return[null,null];if(_0x51f263[_0x459502(0x1be)](_0x5557da['indexOf'](_0x51f263[_0x459502(0x1a1)]),-0x1)){const _0x25e4a0=_0x5557da[_0x459502(0x18a)](_0x51f263[_0x459502(0x1a1)]);return[_0x25e4a0[0x0][_0x459502(0x179)](0x0,-0x1)[_0x459502(0x18a)]('\x22')[0x1],_0x25e4a0[0x1]['substring'](0x1)];}else{if(_0x51f263[_0x459502(0x1be)](_0x5557da['indexOf'](_0x51f263[_0x459502(0x17f)]),-0x1)){const _0x3d19a8=_0x5557da['split'](_0x51f263[_0x459502(0x17f)]);return[_0x3d19a8[0x0][_0x459502(0x179)](0x0,-0x1)[_0x459502(0x18a)]('\x22')[0x1],_0x5557da];}}return[null,null];},exports[a31_0x57445a(0x1b5)]=_0x41363a=>{const _0x59b3bb=a31_0x57445a,_0x17d2fa={'BDYth':function(_0x4b6b1f,_0x446231){return _0x4b6b1f(_0x446231);},'lNZJe':'_beforeAll','kOHqD':_0x59b3bb(0x198),'nwEkP':_0x59b3bb(0x1a6),'hQoZg':_0x59b3bb(0x182)};if(!_0x41363a||!_0x41363a[_0x59b3bb(0x1af)])return[];const _0x5bf25b=[];return[_0x17d2fa[_0x59b3bb(0x1b7)],_0x17d2fa[_0x59b3bb(0x1ac)],_0x17d2fa[_0x59b3bb(0x1b9)],_0x17d2fa[_0x59b3bb(0x1bb)]][_0x59b3bb(0x189)](_0x18d503=>{const _0x2b3257=_0x59b3bb,_0x59fea8=_0x41363a['parent'][_0x18d503]||[];_0x59fea8[_0x2b3257(0x189)](_0x477c9d=>{const _0x310173=_0x2b3257;_0x477c9d[_0x310173(0x191)]&&!_0x17d2fa[_0x310173(0x1a7)](isInternalHook,_0x477c9d['fn'])&&_0x5bf25b[_0x310173(0x1b2)](_0x477c9d[_0x310173(0x191)]);});}),[..._0x5bf25b,...exports['getHooksForTest'](_0x41363a['parent'])];},exports[a31_0x57445a(0x1a2)]=_0x37d6df=>{const _0xf72454=a31_0x57445a,_0x40c0f1={'yPicF':function(_0x5c69bc){return _0x5c69bc();},'suYqf':function(_0x3c041a,_0x464072){return _0x3c041a===_0x464072;},'QjfQb':_0xf72454(0x182),'bvVes':function(_0x191441){return _0x191441();},'gFzZP':'_beforeAll','VLSIX':_0xf72454(0x198),'PDNcO':'_beforeEach'};if(!_0x37d6df||!_0x37d6df['parent'])return;[_0x40c0f1['gFzZP'],_0x40c0f1[_0xf72454(0x1bc)],_0x40c0f1['PDNcO'],_0x40c0f1[_0xf72454(0x1b3)]][_0xf72454(0x189)](_0x22e0eb=>{const _0x35f065=_0xf72454,_0x22e102={'uqTIB':function(_0x2d662c){const _0x4b42ab=a31_0x54f4;return _0x40c0f1[_0x4b42ab(0x17b)](_0x2d662c);},'ugUMw':function(_0x4f4283,_0x151cda){const _0x3a04c1=a31_0x54f4;return _0x40c0f1[_0x3a04c1(0x18e)](_0x4f4283,_0x151cda);},'Pjtoo':_0x40c0f1['QjfQb'],'VENrC':function(_0x4bd63d){const _0x208e77=a31_0x54f4;return _0x40c0f1[_0x208e77(0x190)](_0x4bd63d);}},_0x95fe9b=_0x37d6df[_0x35f065(0x1af)][_0x22e0eb]||[];_0x95fe9b[_0x35f065(0x189)](_0x12b855=>{const _0x3b464e=_0x35f065;if(!_0x12b855[_0x3b464e(0x191)])_0x12b855[_0x3b464e(0x191)]=_0x22e102[_0x3b464e(0x1c8)](uuidv4);else _0x12b855[_0x3b464e(0x188)]&&_0x22e102[_0x3b464e(0x17a)](_0x22e0eb,_0x22e102[_0x3b464e(0x192)])&&(_0x12b855[_0x3b464e(0x191)]=_0x22e102[_0x3b464e(0x1b6)](uuidv4),delete _0x12b855['markedStatus']);});}),exports[_0xf72454(0x1a2)](_0x37d6df[_0xf72454(0x1af)]);},exports[a31_0x57445a(0x194)]=async(_0x158187,_0x2ec83d)=>{const _0x437449=a31_0x57445a,_0x5f3b56={'VJJww':function(_0x4ddd60){return _0x4ddd60();},'JboWz':function(_0x2f9113,_0x1267ee){return _0x2f9113(_0x1267ee);},'kytmq':function(_0x3246d1,_0x19bfa1){return _0x3246d1(_0x19bfa1);},'feMxd':function(_0x5b0725,_0x2ef5c8){return _0x5b0725===_0x2ef5c8;},'ShqzD':'browserstack','ZIrPZ':'unknown_grid','lIwLe':_0x437449(0x19b),'PvENa':function(_0x3742a5,_0x359064){return _0x3742a5(_0x359064);}};try{if(!_0x5f3b56[_0x437449(0x1a9)](shouldProcessEventForTesthub))return;const _0x2bd7ec=await _0x158187[_0x437449(0x1b0)](),_0xcb0efd=await _0x158187[_0x437449(0x197)](),_0x26cbce={},_0xc1dc58=Object['fromEntries'](_0xcb0efd[_0x437449(0x1b0)]()[_0x437449(0x1aa)]),_0x4f645e={'product':_0x5f3b56[_0x437449(0x1a4)](getObservabilityLinkedProductName,_0xc1dc58),'capabilities':_0xc1dc58,'platform':_0x2bd7ec[_0x437449(0x1c5)](),'platform_version':_0x5f3b56[_0x437449(0x184)](getPlatformVersion,_0x5f3b56['feMxd'](global[_0x437449(0x18c)],_0x5f3b56[_0x437449(0x1ad)])),'browser':_0x2bd7ec[_0x437449(0x1b8)](),'browser_version':_0x2bd7ec[_0x437449(0x1ae)](),'session_id':_0xcb0efd[_0x437449(0x196)]()};global[_0x437449(0x18c)]?_0x26cbce[global[_0x437449(0x18c)]]=_0x4f645e:_0x26cbce[_0x5f3b56[_0x437449(0x1c3)]]=_0x4f645e,process[_0x437449(0x1c2)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x437449(0x1ab)](),'level':null,'message':null,'kind':_0x5f3b56[_0x437449(0x19e)],'http_response':_0x26cbce,'uuid':_0x2ec83d});}catch(_0x550743){_0x5f3b56[_0x437449(0x1c1)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x550743);}},exports[a31_0x57445a(0x1b4)]=_0x266b20=>{const _0x2a3728=a31_0x57445a,_0x353944={};_0x353944[_0x2a3728(0x19c)]=function(_0x3bbfd1,_0x122af2){return _0x3bbfd1!==_0x122af2;},_0x353944[_0x2a3728(0x1c6)]=_0x2a3728(0x195),_0x353944[_0x2a3728(0x187)]=function(_0x2061c3,_0x1e83e8){return _0x2061c3!==_0x1e83e8;},_0x353944[_0x2a3728(0x18d)]=_0x2a3728(0x19d),_0x353944[_0x2a3728(0x1a0)]=_0x2a3728(0x1ba);const _0x16fd5d=_0x353944,_0x6ee08a=_0x266b20[_0x2a3728(0x17e)][_0x2a3728(0x19a)]((_0x24878a,_0x14f97a)=>{const _0x17ac82=_0x2a3728,_0x340bdf=exports[_0x17ac82(0x1b4)](_0x14f97a);return _0x340bdf&&(_0x24878a=_0x24878a['concat'](_0x340bdf)),_0x24878a;},[]),_0x20fe12=_0x266b20['tests']['filter'](_0x22ec32=>{const _0xb9d795=_0x2a3728,_0xd51af5=_0x16fd5d[_0xb9d795(0x19c)](_0x22ec32[_0xb9d795(0x193)],_0x16fd5d['NhKjP'])&&!_0x22ec32[_0xb9d795(0x188)]&&_0x16fd5d[_0xb9d795(0x187)](_0x22ec32[_0xb9d795(0x19f)],_0x16fd5d[_0xb9d795(0x18d)])&&_0x16fd5d['cWxZo'](_0x22ec32[_0xb9d795(0x19f)],_0x16fd5d[_0xb9d795(0x1a0)])&&!_0x22ec32['pending'];return _0xd51af5;});return _0x20fe12['concat'](_0x6ee08a);};
1
+ const a31_0x1af6a8=a31_0xae22;(function(_0xd54edb,_0x4d16bb){const _0x38c5e3=a31_0xae22,_0x965510=_0xd54edb();while(!![]){try{const _0x34afe7=parseInt(_0x38c5e3(0x1ed))/0x1*(parseInt(_0x38c5e3(0x1fa))/0x2)+parseInt(_0x38c5e3(0x20b))/0x3*(parseInt(_0x38c5e3(0x1f9))/0x4)+parseInt(_0x38c5e3(0x1e1))/0x5+parseInt(_0x38c5e3(0x212))/0x6+parseInt(_0x38c5e3(0x1ef))/0x7*(parseInt(_0x38c5e3(0x1d7))/0x8)+parseInt(_0x38c5e3(0x201))/0x9+-parseInt(_0x38c5e3(0x1ec))/0xa*(parseInt(_0x38c5e3(0x1c3))/0xb);if(_0x34afe7===_0x4d16bb)break;else _0x965510['push'](_0x965510['shift']());}catch(_0x1c900a){_0x965510['push'](_0x965510['shift']());}}}(a31_0x3373,0xcd7fe));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x1af6a8(0x1d4)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x1af6a8(0x1f5)),{consoleHolder}=require(a31_0x1af6a8(0x1cf)),{getPlatformVersion}=require(a31_0x1af6a8(0x205)),{shouldProcessEventForTesthub}=require(a31_0x1af6a8(0x1c4));function a31_0xae22(_0x30f851,_0x38b82c){const _0x337350=a31_0x3373();return a31_0xae22=function(_0xae229e,_0x26ee45){_0xae229e=_0xae229e-0x1bd;let _0x16dea5=_0x337350[_0xae229e];return _0x16dea5;},a31_0xae22(_0x30f851,_0x38b82c);}console={},Object['keys'](consoleHolder)[a31_0x1af6a8(0x1d5)](_0x2cc874=>{console[_0x2cc874]=(..._0x5edd79)=>{BSTestOpsPatcher[_0x2cc874](..._0x5edd79);};}),exports[a31_0x1af6a8(0x1d3)]=()=>{const _0x17ad08=a31_0x1af6a8,_0x18c1a0={'tEano':_0x17ad08(0x1ee),'JNnuD':function(_0x25018f){return _0x25018f();}};return{'ci':_0x18c1a0['tEano'],'key':_0x18c1a0[_0x17ad08(0x1f4)](uuidv4),'version':version,'collector':_0x17ad08(0x1d1)+name};},exports[a31_0x1af6a8(0x1d0)]=_0x5c8f18=>{const _0x1a0431=a31_0x1af6a8,_0x1b0249={};_0x1b0249['JEkSk']=function(_0x3f1309,_0x188ab0){return _0x3f1309!==_0x188ab0;},_0x1b0249['ZIRXD']=_0x1a0431(0x1ff),_0x1b0249[_0x1a0431(0x1c7)]=function(_0x390f05,_0x598db9){return _0x390f05!==_0x598db9;},_0x1b0249[_0x1a0431(0x1de)]=_0x1a0431(0x1e8),_0x1b0249[_0x1a0431(0x1bf)]=_0x1a0431(0x1e3);const _0x2d35d9=_0x1b0249;if(!_0x5c8f18||_0x2d35d9[_0x1a0431(0x1cd)](typeof _0x5c8f18,_0x2d35d9[_0x1a0431(0x215)]))return[null,null];if(_0x2d35d9['hvFXZ'](_0x5c8f18[_0x1a0431(0x1dc)](_0x2d35d9['bNcHs']),-0x1)){const _0x23f55c=_0x5c8f18['split'](_0x2d35d9[_0x1a0431(0x1de)]);return[_0x23f55c[0x0][_0x1a0431(0x1f0)](0x0,-0x1)[_0x1a0431(0x1cc)]('\x22')[0x1],_0x23f55c[0x1][_0x1a0431(0x200)](0x1)];}else{if(_0x2d35d9['hvFXZ'](_0x5c8f18[_0x1a0431(0x1dc)](_0x2d35d9['LjqLC']),-0x1)){const _0x93b503=_0x5c8f18[_0x1a0431(0x1cc)](_0x2d35d9[_0x1a0431(0x1bf)]);return[_0x93b503[0x0][_0x1a0431(0x1f0)](0x0,-0x1)['split']('\x22')[0x1],_0x5c8f18];}}return[null,null];},exports[a31_0x1af6a8(0x1eb)]=_0x8d6d4d=>{const _0x6df97d=a31_0x1af6a8,_0x57a12b={'GRFti':function(_0x5a5beb,_0x460444){return _0x5a5beb(_0x460444);},'VixEU':_0x6df97d(0x1bd),'HcPOp':_0x6df97d(0x1cb),'DmJRl':'_beforeEach','mGJsg':'_afterEach'};if(!_0x8d6d4d||!_0x8d6d4d[_0x6df97d(0x1e5)])return[];const _0x1a6d72=[];return[_0x57a12b[_0x6df97d(0x1e7)],_0x57a12b[_0x6df97d(0x1f1)],_0x57a12b[_0x6df97d(0x208)],_0x57a12b[_0x6df97d(0x206)]][_0x6df97d(0x1d5)](_0x19a774=>{const _0x56eede=_0x6df97d,_0x44d213=_0x8d6d4d[_0x56eede(0x1e5)][_0x19a774]||[];_0x44d213[_0x56eede(0x1d5)](_0x5e7ab8=>{const _0x281995=_0x56eede;_0x5e7ab8[_0x281995(0x1c9)]&&!_0x57a12b[_0x281995(0x202)](isInternalHook,_0x5e7ab8['fn'])&&_0x1a6d72[_0x281995(0x1f2)](_0x5e7ab8[_0x281995(0x1c9)]);});}),[..._0x1a6d72,...exports[_0x6df97d(0x1eb)](_0x8d6d4d[_0x6df97d(0x1e5)])];},exports[a31_0x1af6a8(0x1e2)]=_0x351213=>{const _0x257ad6=a31_0x1af6a8,_0x7d8629={'lhJAj':function(_0x1152fe){return _0x1152fe();},'LorEp':function(_0x2fec89,_0x24d425){return _0x2fec89===_0x24d425;},'qpTbt':_0x257ad6(0x1df),'BdkEp':'_beforeAll','BfoUj':_0x257ad6(0x1cb),'tYTIT':_0x257ad6(0x214)};if(!_0x351213||!_0x351213[_0x257ad6(0x1e5)])return;[_0x7d8629['BdkEp'],_0x7d8629[_0x257ad6(0x1d8)],_0x7d8629[_0x257ad6(0x1fb)],_0x7d8629[_0x257ad6(0x1f6)]][_0x257ad6(0x1d5)](_0x151eb9=>{const _0x39e6b3=_0x257ad6,_0x3856d6={'HWiwq':function(_0x2d4cde){const _0x58a33f=a31_0xae22;return _0x7d8629[_0x58a33f(0x20e)](_0x2d4cde);},'SFhns':function(_0x49c8b4,_0xd9b71b){const _0x5d6038=a31_0xae22;return _0x7d8629[_0x5d6038(0x1d6)](_0x49c8b4,_0xd9b71b);},'CxrHy':_0x7d8629[_0x39e6b3(0x1f6)]},_0x260e44=_0x351213[_0x39e6b3(0x1e5)][_0x151eb9]||[];_0x260e44[_0x39e6b3(0x1d5)](_0x1c8959=>{const _0x373339=_0x39e6b3;if(!_0x1c8959[_0x373339(0x1c9)])_0x1c8959['hookAnalyticsId']=_0x3856d6[_0x373339(0x1dd)](uuidv4);else _0x1c8959['markedStatus']&&_0x3856d6[_0x373339(0x1fd)](_0x151eb9,_0x3856d6[_0x373339(0x1fc)])&&(_0x1c8959[_0x373339(0x1c9)]=_0x3856d6['HWiwq'](uuidv4),delete _0x1c8959['markedStatus']);});}),exports[_0x257ad6(0x1e2)](_0x351213[_0x257ad6(0x1e5)]);},exports[a31_0x1af6a8(0x210)]=async(_0xa9282c,_0xba947f)=>{const _0x3c9d87=a31_0x1af6a8,_0x3df822={'CCNIi':function(_0x26cf96){return _0x26cf96();},'HckrW':function(_0x3534c7,_0x3d62ca){return _0x3534c7(_0x3d62ca);},'anUEF':function(_0x115ca1,_0x14563c){return _0x115ca1===_0x14563c;},'Xbxsx':'browserstack','ISqOp':_0x3c9d87(0x211),'qhSAq':'TEST_PLATFORM','hjHSl':function(_0x549ff5,_0x33d993){return _0x549ff5(_0x33d993);}};try{if(!_0x3df822[_0x3c9d87(0x1c6)](shouldProcessEventForTesthub))return;const _0x1dd651=await _0xa9282c['getCapabilities'](),_0x189bf3=await _0xa9282c[_0x3c9d87(0x1fe)](),_0x223cb3={},_0x1b4180=Object['fromEntries'](_0x189bf3['getCapabilities']()[_0x3c9d87(0x1ea)]),_0x5b0229={'product':_0x3df822[_0x3c9d87(0x1e6)](getObservabilityLinkedProductName,_0x1b4180),'capabilities':_0x1b4180,'platform':_0x1dd651[_0x3c9d87(0x1db)](),'platform_version':_0x3df822['HckrW'](getPlatformVersion,_0x3df822[_0x3c9d87(0x1c2)](global[_0x3c9d87(0x1e0)],_0x3df822[_0x3c9d87(0x20a)])),'browser':_0x1dd651['getBrowserName'](),'browser_version':_0x1dd651[_0x3c9d87(0x20f)](),'session_id':_0x189bf3[_0x3c9d87(0x20d)]()};global[_0x3c9d87(0x1e0)]?_0x223cb3[global['__cloud_provider___']]=_0x5b0229:_0x223cb3[_0x3df822[_0x3c9d87(0x1da)]]=_0x5b0229,process[_0x3c9d87(0x209)](_0x3c9d87(0x20c)+process[_0x3c9d87(0x1be)],{'timestamp':new Date()[_0x3c9d87(0x203)](),'level':null,'message':null,'kind':_0x3df822[_0x3c9d87(0x1d9)],'http_response':_0x223cb3,'uuid':_0xba947f});}catch(_0x1791f6){_0x3df822[_0x3c9d87(0x1f7)](debug,_0x3c9d87(0x213)+_0x1791f6);}},exports[a31_0x1af6a8(0x1c1)]=_0x17c993=>{const _0x352626=a31_0x1af6a8,_0x562898={};_0x562898[_0x352626(0x1c0)]=function(_0xf11afe,_0x2ed1d9){return _0xf11afe!==_0x2ed1d9;},_0x562898['dTBKu']=_0x352626(0x1e3),_0x562898[_0x352626(0x216)]=_0x352626(0x1ce),_0x562898[_0x352626(0x1ca)]=_0x352626(0x1f3);const _0x26ea2d=_0x562898,_0x22b6c7=_0x17c993[_0x352626(0x1e9)][_0x352626(0x207)]((_0x46d13d,_0x15804f)=>{const _0x149cdf=_0x352626,_0x4361e4=exports[_0x149cdf(0x1c1)](_0x15804f);return _0x4361e4&&(_0x46d13d=_0x46d13d[_0x149cdf(0x1c8)](_0x4361e4)),_0x46d13d;},[]),_0x3af8d7=_0x17c993[_0x352626(0x1c5)][_0x352626(0x1d2)](_0x36ca42=>{const _0x49069a=_0x352626,_0x8d6b3e=_0x26ea2d[_0x49069a(0x1c0)](_0x36ca42['type'],_0x26ea2d[_0x49069a(0x1f8)])&&!_0x36ca42['markedStatus']&&_0x26ea2d[_0x49069a(0x1c0)](_0x36ca42[_0x49069a(0x204)],_0x26ea2d[_0x49069a(0x216)])&&_0x26ea2d['BsHCi'](_0x36ca42['state'],_0x26ea2d[_0x49069a(0x1ca)])&&!_0x36ca42[_0x49069a(0x1e4)];return _0x8d6b3e;});return _0x3af8d7[_0x352626(0x1c8)](_0x22b6c7);};function a31_0x3373(){const _0x491de7=['VixEU','hook:','suites','map_','getHooksForTest','2136850nouqPx','14RUFZUE','generic','21XRooMU','slice','HcPOp','push','failed','JNnuD','../../../helpers/test-observability/utils','qpTbt','hjHSl','dTBKu','5834724GLLXBT','237448OPghEk','tYTIT','CxrHy','SFhns','getSession','string','substring','5480649HgHgTV','GRFti','toISOString','state','../../../helpers/helper','mGJsg','reduce','DmJRl','emit','Xbxsx','3BIJPwR','bs:addPlatformDetails:','toJSON','lhJAj','getBrowserVersion','sendPlatformDetails','unknown_grid','7854030KfZAmc','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','_beforeEach','ZIRXD','zPvAU','_beforeAll','pid','LjqLC','BsHCi','getHookSkippedTests','anUEF','341tsBJSF','../../../helpers/testhub/utils','tests','CCNIi','hvFXZ','concat','hookAnalyticsId','SLymP','_afterAll','split','JEkSk','passed','../../../helpers/test-observability/constants','getHookDetails','js-','filter','getTestEnv','../../utils/logPatcher','forEach','LorEp','2137736FjrNUF','BfoUj','qhSAq','ISqOp','getPlatform','indexOf','HWiwq','bNcHs','_afterEach','__cloud_provider___','8127635kwkgaq','mapTestHooks','hook','pending','parent','HckrW'];a31_0x3373=function(){return _0x491de7;};return a31_0x3373();}
@@ -1 +1 @@
1
- function a32_0x19fe(_0x4d5051,_0x17c915){const _0x5b6208=a32_0x5b62();return a32_0x19fe=function(_0x19feb3,_0x5f16ff){_0x19feb3=_0x19feb3-0xa6;let _0x137d43=_0x5b6208[_0x19feb3];return _0x137d43;},a32_0x19fe(_0x4d5051,_0x17c915);}function a32_0x5b62(){const _0x453ecd=['currentTest','http:','qNVnm','TYGbb','gtUlH','9085744yxeKOk','../../helpers/performance-tester','push','mochaHooks','7rxdLrF','shouldScanTestForAccessibility','then','https:','state','browserstackSessionName','MBDGr','stringify','percy','AMLnv','appium:app','lUQOw','10803438lURACs','AIOeo','BROWSERSTACK_TESTHUB_UUID','passed','Failed\x20to\x20store\x20session\x20name:\x20','WxiIA','../../helpers/globals','env','../../helpers/percy/utils','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','../../helpers/logger','../../helpers/helper','XAgeQ','executeAsyncScript','VGDOH','testcase','titlePath','performScan','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','initQuit','Performing\x20scan\x20before\x20saving\x20results','bRjfc','6ITZKYc','24464890BdVpMR','iQpxG','format','error','tpWgZ','mVrrQ','quitCount_','pesZD','join','util','driverCleanup','NFKOe','1681490tTufjZ','vVEvV','message','debug','jMcqD','testAnalyticsId','saveTestResults','session_','__drivers','__sessionFailed','length','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','pvyLw','Sjpqz','../../helpers/testhub/constants','startMonitoring','945014CyEuYN','info','DEcMF','getGlobal','winstonLogger','timeout','shift','isArray','hRRhb','1632236cPcFHp','capabilities','\x20-\x20','__error_messages__','ENV_VAR','protocol','../../helpers/accessibility-automation/scripts','thJwtToken','psMJG','sessionNameSet__','92KQLVfy','QaXCJ','lvkyC','\x22}}','executeScript','gogcq','.\x20Error\x20:','accessibilityScanStarted','__skipSessionName','./test-observability/mochaUtils','kZXXs','57501PiLvKS','app','oFqIG','bstackA11yShouldScan','err','stopMonitoring',',\x22level\x22:\x20\x22','ERKEd','aBtUJ','isAccessibilityPlatform','ObservabilitySync:','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','setGlobal','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','ptyxm','miExQ'];a32_0x5b62=function(){return _0x453ecd;};return a32_0x5b62();}const a32_0x476440=a32_0x19fe;(function(_0x4f86c0,_0x4e09d6){const _0x1332db=a32_0x19fe,_0x3b9e75=_0x4f86c0();while(!![]){try{const _0x4d49c6=-parseInt(_0x1332db(0xc0))/0x1+-parseInt(_0x1332db(0xc9))/0x2+parseInt(_0x1332db(0xde))/0x3*(parseInt(_0x1332db(0xd3))/0x4)+parseInt(_0x1332db(0xb0))/0x5*(-parseInt(_0x1332db(0x119))/0x6)+-parseInt(_0x1332db(0xf7))/0x7*(parseInt(_0x1332db(0xf3))/0x8)+parseInt(_0x1332db(0x103))/0x9+parseInt(_0x1332db(0x11a))/0xa;if(_0x4d49c6===_0x4e09d6)break;else _0x3b9e75['push'](_0x3b9e75['shift']());}catch(_0x16ea75){_0x3b9e75['push'](_0x3b9e75['shift']());}}}(a32_0x5b62,0xd0a24));const util=require(a32_0x476440(0xad)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x476440(0x10b)),{sendPlatformDetails}=require(a32_0x476440(0xdc)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x476440(0x10e)),PerformanceTester=require(a32_0x476440(0xf4)),scripts=require(a32_0x476440(0xcf)),globals=require(a32_0x476440(0x109)),logger=require(a32_0x476440(0x10d))[a32_0x476440(0xc4)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x476440(0xbe));exports[a32_0x476440(0xf6)]={'beforeAll'(){const _0x1e567f=a32_0x476440,_0x4ab0ba={'AIOeo':function(_0x2625ca,_0x3b7d00,_0x55ee9e,_0x3a4942){return _0x2625ca(_0x3b7d00,_0x55ee9e,_0x3a4942);},'MBDGr':'failed','kZXXs':'\x20|\x20','vVEvV':function(_0x114bc3,_0x4934a2,_0x45bf67){return _0x114bc3(_0x4934a2,_0x45bf67);},'XAgeQ':_0x1e567f(0x106),'AICLo':function(_0xff586b){return _0xff586b();},'pesZD':function(_0x3b4bb2,_0x401cda,_0x4a10ef){return _0x3b4bb2(_0x401cda,_0x4a10ef);}};PerformanceTester[_0x1e567f(0xbf)]();const _0x15308b='browserstack internal helper hook';global[_0x1e567f(0xcc)]=[],global[_0x1e567f(0xb9)]=![],global[_0x1e567f(0xae)]=async()=>{const _0x2351b3=_0x1e567f;let _0x579ded=![];try{await global[_0x2351b3(0xb8)][0x0][_0x2351b3(0xb7)],_0x579ded=!![],global['__sessionFailed']?await _0x4ab0ba[_0x2351b3(0x104)](markSessionStatus,global[_0x2351b3(0xb8)][0x0],_0x4ab0ba[_0x2351b3(0xfd)],global[_0x2351b3(0xcc)][_0x2351b3(0xac)](_0x4ab0ba[_0x2351b3(0xdd)])):await _0x4ab0ba[_0x2351b3(0xb1)](markSessionStatus,global[_0x2351b3(0xb8)][0x0],_0x4ab0ba[_0x2351b3(0x10f)]);}catch(_0x5e8b25){}global[_0x2351b3(0xcc)]=[],global[_0x2351b3(0xb9)]=![];if(_0x579ded)try{try{_0x4ab0ba['AICLo'](shouldProcessEventForTesthub)&&(global[_0x2351b3(0xb8)][0x0]&&await _0x4ab0ba[_0x2351b3(0xab)](sendPlatformDetails,global[_0x2351b3(0xb8)][0x0],this[_0x2351b3(0xee)]?this['currentTest'][_0x2351b3(0xb5)]:null));}catch{}await global[_0x2351b3(0xb8)][0x0][_0x2351b3(0x116)]();}catch(_0x4c068e){}};},'beforeEach'(_0x40ec0f){const _0x804b9c=a32_0x476440,_0x28f88b={'gtUlH':function(_0x30bb0b,_0x144b44){return _0x30bb0b>_0x144b44;},'iQpxG':function(_0x27ae3b,_0x548103){return _0x27ae3b>_0x548103;},'oFqIG':'\x20-\x20','AQCdS':function(_0xcce4bb,_0x53665d,_0x30efd4){return _0xcce4bb(_0x53665d,_0x30efd4);},'tpWgZ':_0x804b9c(0xe1),'ptyxm':function(_0x41eeae){return _0x41eeae();},'VGDOH':function(_0x45b9e6,_0x43c9e1){return _0x45b9e6>_0x43c9e1;},'PmJVj':_0x804b9c(0xe7),'ERKEd':function(_0xf86c82,_0xfb5b6d){return _0xf86c82===_0xfb5b6d;},'DEcMF':_0x804b9c(0xef),'gogcq':function(_0x3e9d32,_0x1d0b21){return _0x3e9d32===_0x1d0b21;},'jMcqD':_0x804b9c(0xfa),'isxwF':_0x804b9c(0xeb),'tUhKI':'Automate\x20test\x20case\x20execution\x20has\x20started.','AMLnv':function(_0x2f8ca6){return _0x2f8ca6();}};new Promise(async _0x30b9f0=>{const _0x41ec68=_0x804b9c,_0x103632='browserstack internal helper hook';let _0x5d4b7c=!![];try{_0x28f88b[_0x41ec68(0xf2)](global[_0x41ec68(0xb8)]['length'],0x1)&&(await global[_0x41ec68(0xae)](),global[_0x41ec68(0xb8)][_0x41ec68(0xc6)]()),_0x28f88b[_0x41ec68(0x11b)](global[_0x41ec68(0xb8)][0x0][_0x41ec68(0xaa)],0x0)&&(_0x5d4b7c=![],await global[_0x41ec68(0xae)]());}catch{}try{Array[_0x41ec68(0xc7)](global[_0x41ec68(0xb8)])&&global[_0x41ec68(0xb8)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x41ec68(0xee)][_0x41ec68(0x113)]()[_0x41ec68(0xac)](_0x28f88b[_0x41ec68(0xe0)])),global[_0x41ec68(0xfc)]=this[_0x41ec68(0xee)][_0x41ec68(0x113)]()[_0x41ec68(0xac)](_0x28f88b[_0x41ec68(0xe0)]);}catch(_0x493652){logger[_0x41ec68(0xb3)](_0x41ec68(0x107)+_0x493652);}this[_0x41ec68(0xee)]['shouldScanTestForAccessibility']=_0x28f88b['AQCdS'](shouldScanTestForAccessibility,this[_0x41ec68(0xee)][_0x41ec68(0x113)](),!![]),globals[_0x41ec68(0xea)](_0x28f88b[_0x41ec68(0xa8)],this['currentTest'][_0x41ec68(0xf8)]),this[_0x41ec68(0xee)][_0x41ec68(0xda)]=!![];if(_0x28f88b[_0x41ec68(0xec)](isAccessibilityAutomationSession)&&_0x5d4b7c&&Array[_0x41ec68(0xc7)](global['__drivers'])&&_0x28f88b[_0x41ec68(0x111)](global[_0x41ec68(0xb8)][_0x41ec68(0xba)],0x0)&&globals['getGlobal'](_0x28f88b['PmJVj']))try{const _0x2255a9=await global[_0x41ec68(0xb8)][0x0][_0x41ec68(0xb7)];if(_0x2255a9){let _0xd86077=!![];const _0x21aab9=await global[_0x41ec68(0xb8)][0x0]['getCurrentUrl']();let _0x44e427;try{_0x44e427=new URL(_0x21aab9);}catch(_0x339598){_0xd86077=![];}_0xd86077=_0x28f88b[_0x41ec68(0xe5)](_0x44e427[_0x41ec68(0xce)],_0x28f88b[_0x41ec68(0xc2)])||_0x28f88b[_0x41ec68(0xd8)](_0x44e427['protocol'],_0x28f88b[_0x41ec68(0xb4)]),_0xd86077&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x41ec68(0xc1)](_0x28f88b['isxwF'])),this[_0x41ec68(0xee)]['accessibilityScanStarted']=this['currentTest']['shouldScanTestForAccessibility'],this[_0x41ec68(0xee)][_0x41ec68(0xf8)]&&logger[_0x41ec68(0xc1)](_0x28f88b['tUhKI']);}}catch(_0x1fe01b){logger[_0x41ec68(0xa7)](_0x41ec68(0x115)+util['format'](_0x1fe01b));}_0x28f88b[_0x41ec68(0x100)](_0x30b9f0);})['then'](_0x40ec0f);},'afterEach'(_0x1d5bae){const _0x59e351=a32_0x476440,_0x58a647={'mVrrQ':function(_0x15f409,_0x3a4d1c){return _0x15f409>_0x3a4d1c;},'lmGVr':function(_0xfcbbc7,_0x33a5cb){return _0xfcbbc7===_0x33a5cb;},'bRjfc':_0x59e351(0x112),'pvyLw':_0x59e351(0x101),'Sjpqz':function(_0x494104,_0xcb6a62,_0x5c9ed2,_0x1feb4f){return _0x494104(_0xcb6a62,_0x5c9ed2,_0x1feb4f);},'TYGbb':_0x59e351(0xcb),'wdJOp':function(_0x5ed9a2,_0x5cc01d){return _0x5ed9a2!==_0x5cc01d;},'MLaKa':'passed','miExQ':function(_0x142012,_0x2e1afa,_0x70ea6f){return _0x142012(_0x2e1afa,_0x70ea6f);},'lUQOw':function(_0x5bedd3,_0x2a7ac5){return _0x5bedd3+_0x2a7ac5;},'VDgxj':'Failed:\x20','TKjJq':_0x59e351(0xa7),'KiyWP':'Passed','cPxMu':_0x59e351(0xc1),'lvkyC':'isAccessibilityPlatform','QaXCJ':_0x59e351(0xe1),'NFKOe':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','hRRhb':_0x59e351(0x117),'qNVnm':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','psMJG':function(_0x292250){return _0x292250();},'WxiIA':function(_0xc7d22f,_0x3dd89a,_0x2b479a){return _0xc7d22f(_0x3dd89a,_0x2b479a);},'aBtUJ':_0x59e351(0xb3),'HrTYQ':function(_0x4393b3,_0x49a938){return _0x4393b3>_0x49a938;}},_0x377e64='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5a05e0=async(_0x3f7627,_0x2f40c3)=>{const _0x363374=_0x59e351;await global[_0x363374(0xb8)][0x0][_0x363374(0xd7)](_0x363374(0xbb)+_0x3f7627+_0x363374(0xe4)+_0x2f40c3+_0x363374(0xd6));};new Promise(async _0xc75b28=>{const _0x3b8f2b=_0x59e351;try{_0x58a647['mVrrQ'](global['__drivers'][_0x3b8f2b(0xba)],0x1)&&(await global['driverCleanup'](),global[_0x3b8f2b(0xb8)][_0x3b8f2b(0xc6)](),global[_0x3b8f2b(0xcc)]=[],global[_0x3b8f2b(0xb9)]=![]);try{if(global[_0x3b8f2b(0xff)]&&_0x58a647['lmGVr'](global['percyCaptureMode'],_0x58a647[_0x3b8f2b(0x118)])&&global[_0x3b8f2b(0xb8)][0x0]){const _0x507758=_0x58a647[_0x3b8f2b(0xa9)](global['capabilities'][_0x3b8f2b(0xba)],0x0)?!!global[_0x3b8f2b(0xca)][0x0]['app']||!!global[_0x3b8f2b(0xca)][0x0][_0x58a647[_0x3b8f2b(0xbc)]]:![],_0x325d99={};_0x325d99[_0x3b8f2b(0xdf)]=_0x507758,await _0x58a647[_0x3b8f2b(0xbd)](percyAutoCapture,global[_0x3b8f2b(0xb8)][0x0],_0x58a647['bRjfc'],_0x325d99);}}catch(_0x1768ef){}!global[_0x3b8f2b(0xdb)]&&(await global[_0x3b8f2b(0xb8)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3b8f2b(0xfe)](this[_0x3b8f2b(0xee)][_0x3b8f2b(0x113)]()[_0x3b8f2b(0xac)](_0x58a647[_0x3b8f2b(0xf1)]))+'}}'),global[_0x3b8f2b(0xb8)][0x0][_0x3b8f2b(0xd2)]=!![]);const _0xe9f74a=_0x58a647['wdJOp'](this[_0x3b8f2b(0xee)][_0x3b8f2b(0xfb)],_0x58a647['MLaKa']);_0xe9f74a?(global[_0x3b8f2b(0xb9)]=!![],global[_0x3b8f2b(0xcc)][_0x3b8f2b(0xf5)](this[_0x3b8f2b(0xee)][_0x3b8f2b(0xe2)][_0x3b8f2b(0xb2)]),await _0x58a647[_0x3b8f2b(0xed)](_0x5a05e0,JSON[_0x3b8f2b(0xfe)](_0x58a647[_0x3b8f2b(0x102)](_0x58a647['VDgxj'],this[_0x3b8f2b(0xee)]['err'][_0x3b8f2b(0xb2)])),_0x58a647['TKjJq'])):await _0x58a647[_0x3b8f2b(0xed)](_0x5a05e0,JSON['stringify'](_0x58a647['KiyWP']),_0x58a647['cPxMu']);}catch(_0x5e9053){}try{if(this[_0x3b8f2b(0xee)][_0x3b8f2b(0xda)]&&globals['getGlobal'](_0x58a647[_0x3b8f2b(0xd5)])&&globals[_0x3b8f2b(0xc3)](_0x58a647[_0x3b8f2b(0xd4)])){logger['info'](_0x58a647[_0x3b8f2b(0xaf)]);const _0x472933={};_0x472933['thTestRunUuid']=this['currentTest'][_0x3b8f2b(0xb5)],_0x472933['thBuildUuid']=process[_0x3b8f2b(0x10a)][testHubConstants[_0x3b8f2b(0xcd)][_0x3b8f2b(0x105)]],_0x472933[_0x3b8f2b(0xd0)]=process[_0x3b8f2b(0x10a)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2997fd=_0x472933;logger[_0x3b8f2b(0xb3)](_0x3b8f2b(0xe9)+JSON[_0x3b8f2b(0xfe)](_0x2997fd)),logger[_0x3b8f2b(0xb3)](_0x58a647[_0x3b8f2b(0xc8)]),logger[_0x3b8f2b(0xb3)](util[_0x3b8f2b(0xa6)](await global[_0x3b8f2b(0xb8)][0x0][_0x3b8f2b(0x110)](scripts[_0x3b8f2b(0x114)],{'method':global['browserstackSessionName']}))),await global[_0x3b8f2b(0xb8)][0x0]['executeAsyncScript'](scripts[_0x3b8f2b(0xb6)],_0x2997fd),logger[_0x3b8f2b(0xc1)](_0x58a647[_0x3b8f2b(0xf0)]);}}catch(_0x5c0dc5){logger[_0x3b8f2b(0xa7)](_0x3b8f2b(0x10c)+this[_0x3b8f2b(0xee)][_0x3b8f2b(0x113)]()+_0x3b8f2b(0xd9),_0x5c0dc5);}try{try{if(_0x58a647[_0x3b8f2b(0xd1)](shouldProcessEventForTesthub)){global[_0x3b8f2b(0xb8)][0x0]&&await _0x58a647[_0x3b8f2b(0xed)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3b8f2b(0xee)]?this[_0x3b8f2b(0xee)][_0x3b8f2b(0xb5)]:null);if(_0x58a647[_0x3b8f2b(0xd1)](isBrowserstackInfra)){const _0x3a56c5=_0x3b8f2b(0xe8)+Date['now']();await _0x58a647[_0x3b8f2b(0x108)](_0x5a05e0,JSON[_0x3b8f2b(0xfe)](_0x3a56c5),_0x58a647[_0x3b8f2b(0xe6)]);}}}catch{}_0x58a647['HrTYQ'](global[_0x3b8f2b(0xb8)][0x0][_0x3b8f2b(0xaa)],0x0)&&await global[_0x3b8f2b(0xae)]();}catch(_0x3fe500){}_0x58a647[_0x3b8f2b(0xd1)](_0xc75b28);})['then'](()=>_0x1d5bae());},'afterAll'(_0x2b341e){const _0x71f53d=a32_0x476440,_0x29b4c6={'jXVYs':function(_0x2e6248){return _0x2e6248();}},_0x2ec96e='browserstack internal helper hook';this[_0x71f53d(0xc5)](0xfde8),new Promise(async _0x14329d=>{const _0x56dc03=_0x71f53d;PerformanceTester[_0x56dc03(0xe3)](),await global[_0x56dc03(0xae)](),_0x29b4c6['jXVYs'](_0x14329d);})[_0x71f53d(0xf9)](()=>_0x2b341e());}};
1
+ function a32_0x5b19(){const _0x16a9b1=['Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','isArray','325296ERxCVV','szgNw','6ZhtfeO','14jdcGvB','./test-observability/mochaUtils','wHvMT','testAnalyticsId','length','mochaHooks','NNyEV','../../helpers/globals','../../helpers/logger','capabilities','7909560KVuMLh','driverCleanup','fgTfB','__skipSessionName','../../helpers/helper','VxMwN','env','stopMonitoring','4429632JuuNWn','yoSCM','state','quitCount_','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','startMonitoring','40qekXEq','FjFJZ','thBuildUuid','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SzErj','accessibilityScanStarted','percy','5899920RXEqVX','__sessionFailed','Failed\x20to\x20store\x20session\x20name:\x20','titlePath','passed','../../helpers/performance-tester','\x20|\x20','\x22}}','GmuGt','../../helpers/testhub/utils','then','TSADn','OIvUy','bstackA11yShouldScan','CxGmy','../../helpers/accessibility-automation/scripts','ENV_VAR','PbOmD','.\x20Error\x20:',',\x22level\x22:\x20\x22','mVMSh','isAccessibilityPlatform','../../helpers/percy/utils','now','3748188SVkTkh','88532xwXKgQ','AYqMp','util','format','https:','sessionNameSet__','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','EXYgr','CGWiX','IEmHq','IeiDO','protocol','TyvBH','GyzDs','stringify','app','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Nbdqq','shift','join','currentTest','4222338cXQvGB','debug','testcase','UadcF','timeout','http:','MUQHA','err','saveTestResults','browserstackSessionName','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','yjLbS','svblQ','KcQiC','eVoFL','Failed:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Automate\x20test\x20case\x20execution\x20has\x20started.','executeAsyncScript','failed','__error_messages__','getGlobal','dKYfP','info','\x20-\x20','Passed','executeScript','hLXpf','appium:app','setGlobal','thTestRunUuid','session_','../../helpers/testhub/constants','percyCaptureMode','teswn','initQuit','__drivers','BROWSERSTACK_TESTHUB_JWT','UqMwy','ObservabilitySync:','aGNiG','performScan','getCurrentUrl','shouldScanTestForAccessibility'];a32_0x5b19=function(){return _0x16a9b1;};return a32_0x5b19();}const a32_0x3a550a=a32_0x40d7;(function(_0x35ea02,_0x7bc0c7){const _0x44012f=a32_0x40d7,_0x2df768=_0x35ea02();while(!![]){try{const _0x3b5036=parseInt(_0x44012f(0x170))/0x1*(parseInt(_0x44012f(0x16e))/0x2)+-parseInt(_0x44012f(0x1be))/0x3+parseInt(_0x44012f(0x1a9))/0x4*(parseInt(_0x44012f(0x189))/0x5)+parseInt(_0x44012f(0x1a8))/0x6+-parseInt(_0x44012f(0x171))/0x7*(parseInt(_0x44012f(0x183))/0x8)+parseInt(_0x44012f(0x17b))/0x9+parseInt(_0x44012f(0x190))/0xa;if(_0x3b5036===_0x7bc0c7)break;else _0x2df768['push'](_0x2df768['shift']());}catch(_0x4be2f8){_0x2df768['push'](_0x2df768['shift']());}}}(a32_0x5b19,0xb29ec));const util=require(a32_0x3a550a(0x1ab)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x3a550a(0x1a6)),{sendPlatformDetails}=require(a32_0x3a550a(0x172)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x3a550a(0x17f)),PerformanceTester=require(a32_0x3a550a(0x195)),scripts=require(a32_0x3a550a(0x19f)),globals=require(a32_0x3a550a(0x178)),logger=require(a32_0x3a550a(0x179))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x3a550a(0x199)),testHubConstants=require(a32_0x3a550a(0x1de));function a32_0x40d7(_0x5c57e2,_0x47dd1b){const _0x5b1974=a32_0x5b19();return a32_0x40d7=function(_0x40d7b3,_0x37df10){_0x40d7b3=_0x40d7b3-0x16d;let _0x40f4e1=_0x5b1974[_0x40d7b3];return _0x40f4e1;},a32_0x40d7(_0x5c57e2,_0x47dd1b);}exports[a32_0x3a550a(0x176)]={'beforeAll'(){const _0x1e33a9=a32_0x3a550a,_0xe12ca9={'CGWiX':function(_0x971b93,_0x46e4f7,_0x3d4aec,_0x15c2ed){return _0x971b93(_0x46e4f7,_0x3d4aec,_0x15c2ed);},'waQWW':_0x1e33a9(0x1d1),'dwcce':_0x1e33a9(0x196),'dKYfP':function(_0x502fd8,_0x430ce7,_0x5cbdc8){return _0x502fd8(_0x430ce7,_0x5cbdc8);},'KcQiC':'passed','EXYgr':function(_0x3980f1){return _0x3980f1();}};PerformanceTester[_0x1e33a9(0x188)]();const _0x1e8f8c='browserstack internal helper hook';global[_0x1e33a9(0x1d2)]=[],global[_0x1e33a9(0x191)]=![],global[_0x1e33a9(0x17c)]=async()=>{const _0x2ab558=_0x1e33a9;let _0x31afc3=![];try{await global['__drivers'][0x0][_0x2ab558(0x1dd)],_0x31afc3=!![],global['__sessionFailed']?await _0xe12ca9[_0x2ab558(0x1b1)](markSessionStatus,global[_0x2ab558(0x1e2)][0x0],_0xe12ca9['waQWW'],global[_0x2ab558(0x1d2)]['join'](_0xe12ca9['dwcce'])):await _0xe12ca9[_0x2ab558(0x1d4)](markSessionStatus,global['__drivers'][0x0],_0xe12ca9[_0x2ab558(0x1cb)]);}catch(_0x2be108){}global[_0x2ab558(0x1d2)]=[],global[_0x2ab558(0x191)]=![];if(_0x31afc3)try{try{_0xe12ca9[_0x2ab558(0x1b0)](shouldProcessEventForTesthub)&&(global[_0x2ab558(0x1e2)][0x0]&&await _0xe12ca9[_0x2ab558(0x1d4)](sendPlatformDetails,global[_0x2ab558(0x1e2)][0x0],this['currentTest']?this[_0x2ab558(0x1bd)][_0x2ab558(0x174)]:null));}catch{}await global[_0x2ab558(0x1e2)][0x0][_0x2ab558(0x1e1)]();}catch(_0x4636d8){}};},'beforeEach'(_0x56ada6){const _0x391d6d=a32_0x3a550a,_0x3fc63a={'NNyEV':function(_0x4810ea,_0xc61f17){return _0x4810ea>_0xc61f17;},'UqMwy':_0x391d6d(0x1d6),'wvVIV':function(_0x4ab796,_0x82d76c,_0x400e72){return _0x4ab796(_0x82d76c,_0x400e72);},'UadcF':_0x391d6d(0x19d),'yjLbS':function(_0x3c88ce){return _0x3c88ce();},'rzStI':function(_0x585e63,_0x55f4c0){return _0x585e63>_0x55f4c0;},'IzxSj':'isAccessibilityPlatform','YJTdx':function(_0x189c81,_0x28b0ac){return _0x189c81===_0x28b0ac;},'hLXpf':_0x391d6d(0x1c3),'fgTfB':function(_0xe547ae,_0x3b3cb5){return _0xe547ae===_0x3b3cb5;},'LoeLh':_0x391d6d(0x1ad),'PbOmD':_0x391d6d(0x18c),'NWAhO':_0x391d6d(0x1cf)};new Promise(async _0x382a23=>{const _0xd8e1c5=_0x391d6d,_0x5d6bc6='browserstack internal helper hook';let _0x151e1c=!![];try{_0x3fc63a['NNyEV'](global[_0xd8e1c5(0x1e2)]['length'],0x1)&&(await global[_0xd8e1c5(0x17c)](),global['__drivers'][_0xd8e1c5(0x1bb)]()),_0x3fc63a[_0xd8e1c5(0x177)](global[_0xd8e1c5(0x1e2)][0x0][_0xd8e1c5(0x186)],0x0)&&(_0x151e1c=![],await global['driverCleanup']());}catch{}try{Array[_0xd8e1c5(0x16d)](global['__drivers'])&&global[_0xd8e1c5(0x1e2)][0x0]&&(global[_0xd8e1c5(0x1e2)][0x0][_0xd8e1c5(0x1c7)]=this[_0xd8e1c5(0x1bd)]['titlePath']()[_0xd8e1c5(0x1bc)](_0x3fc63a[_0xd8e1c5(0x1e4)])),global[_0xd8e1c5(0x1c7)]=this[_0xd8e1c5(0x1bd)][_0xd8e1c5(0x193)]()[_0xd8e1c5(0x1bc)](_0x3fc63a[_0xd8e1c5(0x1e4)]);}catch(_0x229a46){logger[_0xd8e1c5(0x1bf)](_0xd8e1c5(0x192)+_0x229a46);}this['currentTest'][_0xd8e1c5(0x1e9)]=_0x3fc63a['wvVIV'](shouldScanTestForAccessibility,this[_0xd8e1c5(0x1bd)][_0xd8e1c5(0x193)](),!![]),globals[_0xd8e1c5(0x1db)](_0x3fc63a[_0xd8e1c5(0x1c1)],this[_0xd8e1c5(0x1bd)][_0xd8e1c5(0x1e9)]),this[_0xd8e1c5(0x1bd)][_0xd8e1c5(0x18e)]=!![];if(_0x3fc63a[_0xd8e1c5(0x1c9)](isAccessibilityAutomationSession)&&_0x151e1c&&Array[_0xd8e1c5(0x16d)](global[_0xd8e1c5(0x1e2)])&&_0x3fc63a['rzStI'](global[_0xd8e1c5(0x1e2)][_0xd8e1c5(0x175)],0x0)&&globals[_0xd8e1c5(0x1d3)](_0x3fc63a['IzxSj']))try{const _0x53d6d9=await global[_0xd8e1c5(0x1e2)][0x0][_0xd8e1c5(0x1dd)];if(_0x53d6d9){let _0x13dfbd=!![];const _0x573e03=await global[_0xd8e1c5(0x1e2)][0x0][_0xd8e1c5(0x1e8)]();let _0x59718a;try{_0x59718a=new URL(_0x573e03);}catch(_0x3d4403){_0x13dfbd=![];}_0x13dfbd=_0x3fc63a['YJTdx'](_0x59718a[_0xd8e1c5(0x1b4)],_0x3fc63a[_0xd8e1c5(0x1d9)])||_0x3fc63a[_0xd8e1c5(0x17d)](_0x59718a[_0xd8e1c5(0x1b4)],_0x3fc63a['LoeLh']),_0x13dfbd&&(this[_0xd8e1c5(0x1bd)]['shouldScanTestForAccessibility']&&logger[_0xd8e1c5(0x1d5)](_0x3fc63a[_0xd8e1c5(0x1a1)])),this[_0xd8e1c5(0x1bd)][_0xd8e1c5(0x18e)]=this[_0xd8e1c5(0x1bd)]['shouldScanTestForAccessibility'],this[_0xd8e1c5(0x1bd)][_0xd8e1c5(0x1e9)]&&logger[_0xd8e1c5(0x1d5)](_0x3fc63a['NWAhO']);}}catch(_0x4b215c){logger['error'](_0xd8e1c5(0x1af)+util[_0xd8e1c5(0x1ac)](_0x4b215c));}_0x3fc63a[_0xd8e1c5(0x1c9)](_0x382a23);})[_0x391d6d(0x19a)](_0x56ada6);},'afterEach'(_0x5807e8){const _0x4e4022=a32_0x3a550a,_0x28d214={'CxGmy':function(_0x24372a,_0x6642ec){return _0x24372a>_0x6642ec;},'TyvBH':function(_0xec1abc,_0x53322e){return _0xec1abc===_0x53322e;},'TSADn':_0x4e4022(0x1c0),'wHvMT':function(_0x310ea6,_0x8c8992){return _0x310ea6>_0x8c8992;},'IEmHq':_0x4e4022(0x1da),'GmuGt':function(_0xe8a90a,_0x46b4f3,_0x1ec526,_0x1bee49){return _0xe8a90a(_0x46b4f3,_0x1ec526,_0x1bee49);},'SzErj':_0x4e4022(0x1d6),'VxMwN':function(_0x3b8612,_0x4d95e1){return _0x3b8612!==_0x4d95e1;},'teswn':_0x4e4022(0x194),'GyzDs':function(_0x53505a,_0x710dc2,_0x28ed60){return _0x53505a(_0x710dc2,_0x28ed60);},'szgNw':function(_0x2c58a6,_0x22cc84){return _0x2c58a6+_0x22cc84;},'svblQ':_0x4e4022(0x1cd),'upsPt':'error','Nbdqq':_0x4e4022(0x1d7),'dLPvx':_0x4e4022(0x1d5),'eVoFL':_0x4e4022(0x1a5),'JbhBp':_0x4e4022(0x19d),'aGNiG':_0x4e4022(0x1ce),'yoSCM':'Performing\x20scan\x20before\x20saving\x20results','VmkWz':_0x4e4022(0x1c8),'MUQHA':function(_0x579867){return _0x579867();},'FjFJZ':function(_0x51183e,_0x212fa4,_0x41d224){return _0x51183e(_0x212fa4,_0x41d224);},'OIvUy':function(_0xae7a6a){return _0xae7a6a();},'AYqMp':_0x4e4022(0x1bf),'IeiDO':function(_0x2bc973){return _0x2bc973();}},_0x2a9df0='browserstack internal helper hook';this[_0x4e4022(0x1c2)](0xfde8);const _0x36d6de=async(_0x3ca6c8,_0x20f5f2)=>{const _0x1fdfe0=_0x4e4022;await global[_0x1fdfe0(0x1e2)][0x0]['executeScript'](_0x1fdfe0(0x187)+_0x3ca6c8+_0x1fdfe0(0x1a3)+_0x20f5f2+_0x1fdfe0(0x197));};new Promise(async _0x111342=>{const _0x2546e5=_0x4e4022;try{_0x28d214[_0x2546e5(0x19e)](global[_0x2546e5(0x1e2)][_0x2546e5(0x175)],0x1)&&(await global[_0x2546e5(0x17c)](),global['__drivers'][_0x2546e5(0x1bb)](),global[_0x2546e5(0x1d2)]=[],global[_0x2546e5(0x191)]=![]);try{if(global[_0x2546e5(0x18f)]&&_0x28d214[_0x2546e5(0x1b5)](global[_0x2546e5(0x1df)],_0x28d214[_0x2546e5(0x19b)])&&global[_0x2546e5(0x1e2)][0x0]){const _0x48f5c3=_0x28d214['wHvMT'](global['capabilities'][_0x2546e5(0x175)],0x0)?!!global[_0x2546e5(0x17a)][0x0][_0x2546e5(0x1b8)]||!!global[_0x2546e5(0x17a)][0x0][_0x28d214[_0x2546e5(0x1b2)]]:![],_0x443b50={};_0x443b50['app']=_0x48f5c3,await _0x28d214[_0x2546e5(0x198)](percyAutoCapture,global['__drivers'][0x0],_0x28d214[_0x2546e5(0x19b)],_0x443b50);}}catch(_0x18bfff){}!global[_0x2546e5(0x17e)]&&(await global[_0x2546e5(0x1e2)][0x0][_0x2546e5(0x1d8)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x2546e5(0x1b7)](this[_0x2546e5(0x1bd)][_0x2546e5(0x193)]()[_0x2546e5(0x1bc)](_0x28d214[_0x2546e5(0x18d)]))+'}}'),global['__drivers'][0x0][_0x2546e5(0x1ae)]=!![]);const _0x1a27b8=_0x28d214[_0x2546e5(0x180)](this[_0x2546e5(0x1bd)][_0x2546e5(0x185)],_0x28d214[_0x2546e5(0x1e0)]);_0x1a27b8?(global[_0x2546e5(0x191)]=!![],global['__error_messages__']['push'](this['currentTest'][_0x2546e5(0x1c5)]['message']),await _0x28d214[_0x2546e5(0x1b6)](_0x36d6de,JSON[_0x2546e5(0x1b7)](_0x28d214[_0x2546e5(0x16f)](_0x28d214[_0x2546e5(0x1ca)],this[_0x2546e5(0x1bd)][_0x2546e5(0x1c5)]['message'])),_0x28d214['upsPt'])):await _0x28d214[_0x2546e5(0x1b6)](_0x36d6de,JSON[_0x2546e5(0x1b7)](_0x28d214[_0x2546e5(0x1ba)]),_0x28d214['dLPvx']);}catch(_0x3306da){}try{if(this[_0x2546e5(0x1bd)][_0x2546e5(0x18e)]&&globals['getGlobal'](_0x28d214[_0x2546e5(0x1cc)])&&globals[_0x2546e5(0x1d3)](_0x28d214['JbhBp'])){logger[_0x2546e5(0x1d5)](_0x28d214[_0x2546e5(0x1e6)]);const _0x29d56c={};_0x29d56c[_0x2546e5(0x1dc)]=this[_0x2546e5(0x1bd)][_0x2546e5(0x174)],_0x29d56c[_0x2546e5(0x18b)]=process[_0x2546e5(0x181)][testHubConstants[_0x2546e5(0x1a0)]['BROWSERSTACK_TESTHUB_UUID']],_0x29d56c['thJwtToken']=process[_0x2546e5(0x181)][testHubConstants[_0x2546e5(0x1a0)][_0x2546e5(0x1e3)]];const _0x3be549=_0x29d56c;logger['debug'](_0x2546e5(0x1b9)+JSON[_0x2546e5(0x1b7)](_0x3be549)),logger[_0x2546e5(0x1bf)](_0x28d214[_0x2546e5(0x184)]),logger['debug'](util['format'](await global[_0x2546e5(0x1e2)][0x0][_0x2546e5(0x1d0)](scripts[_0x2546e5(0x1e7)],{'method':global[_0x2546e5(0x1c7)]}))),await global[_0x2546e5(0x1e2)][0x0][_0x2546e5(0x1d0)](scripts[_0x2546e5(0x1c6)],_0x3be549),logger[_0x2546e5(0x1d5)](_0x28d214['VmkWz']);}}catch(_0x59434b){logger['error'](_0x2546e5(0x1ea)+this[_0x2546e5(0x1bd)][_0x2546e5(0x193)]()+_0x2546e5(0x1a2),_0x59434b);}try{try{if(_0x28d214[_0x2546e5(0x1c4)](shouldProcessEventForTesthub)){global[_0x2546e5(0x1e2)][0x0]&&await _0x28d214[_0x2546e5(0x18a)](sendPlatformDetails,global[_0x2546e5(0x1e2)][0x0],this[_0x2546e5(0x1bd)]?this[_0x2546e5(0x1bd)][_0x2546e5(0x174)]:null);if(_0x28d214[_0x2546e5(0x19c)](isBrowserstackInfra)){const _0x2c1817=_0x2546e5(0x1e5)+Date[_0x2546e5(0x1a7)]();await _0x28d214['GyzDs'](_0x36d6de,JSON[_0x2546e5(0x1b7)](_0x2c1817),_0x28d214[_0x2546e5(0x1aa)]);}}}catch{}_0x28d214[_0x2546e5(0x173)](global[_0x2546e5(0x1e2)][0x0]['quitCount_'],0x0)&&await global[_0x2546e5(0x17c)]();}catch(_0x2178f0){}_0x28d214[_0x2546e5(0x1b3)](_0x111342);})[_0x4e4022(0x19a)](()=>_0x5807e8());},'afterAll'(_0x572901){const _0x5ece42=a32_0x3a550a,_0x22f541={'mVMSh':function(_0x17e6bb){return _0x17e6bb();}},_0x4fbad0='browserstack internal helper hook';this[_0x5ece42(0x1c2)](0xfde8),new Promise(async _0x563961=>{const _0x489c8d=_0x5ece42;PerformanceTester[_0x489c8d(0x182)](),await global[_0x489c8d(0x17c)](),_0x22f541[_0x489c8d(0x1a4)](_0x563961);})['then'](()=>_0x572901());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0xff21fb=a33_0x118c;(function(_0x3b9c3e,_0x6ede15){const _0x388de6=a33_0x118c,_0x248e04=_0x3b9c3e();while(!![]){try{const _0x30879f=parseInt(_0x388de6(0x12c))/0x1*(parseInt(_0x388de6(0x10f))/0x2)+-parseInt(_0x388de6(0x133))/0x3*(-parseInt(_0x388de6(0x126))/0x4)+parseInt(_0x388de6(0x127))/0x5+parseInt(_0x388de6(0x112))/0x6+parseInt(_0x388de6(0x148))/0x7+-parseInt(_0x388de6(0x13a))/0x8+parseInt(_0x388de6(0x136))/0x9*(-parseInt(_0x388de6(0x12d))/0xa);if(_0x30879f===_0x6ede15)break;else _0x248e04['push'](_0x248e04['shift']());}catch(_0x3aaa75){_0x248e04['push'](_0x248e04['shift']());}}}(a33_0x4559,0x85ec3));function a33_0x118c(_0x4cb846,_0x48b72a){const _0x455922=a33_0x4559();return a33_0x118c=function(_0x118c5f,_0x23245b){_0x118c5f=_0x118c5f-0x10f;let _0x4b46b2=_0x455922[_0x118c5f];return _0x4b46b2;},a33_0x118c(_0x4cb846,_0x48b72a);}function a33_0x4559(){const _0x29e4d4=['filter','length','xtGft','split','RwYvK','--env','existsSync','OwtRy','TRbRU','test_settings','port','NViyz','Deleting\x20','info','7662MqOlat','debug','YZSEo','6066720LTAJax','findIndex','child\x20process\x20exited\x20with\x20code\x20','modifyBrowserStackCaps','path','getPlatformName','env','cwd','selenium','winstonLogger','SYwNq','nightwatch','desiredCapabilities','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','host','hPbCZ','jbauo','forEach','webdriver','nightwatch.cmd','2612NcddSD','2434565rGEJmS','wKVkm','stringify','push','lPJCi','271ZxLeLa','4460QunhCp','exports','trim','../../helpers/BrowserStackSetup','DtHOf','hub.browserstack.com','453icXjte','join','splice','55575hjHcwo','modifyBrowserStackW3CCaps','dQZZD','writeFileSync','431480iAUClC','rNsQN','nightwatch-browserstack.json','RlTWo','nightwatch.json','mergeDeep','HnNpH','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/logger','../utils/constants','slice','MEQWG','../../helpers/helper','--config','5051865qeKiZH','config','xBoQx','inherit','XAJIQ','tUfkw'];a33_0x4559=function(){return _0x29e4d4;};return a33_0x4559();}const fs=require('fs'),path=require(a33_0xff21fb(0x116)),{spawn}=require('child_process'),logger=require(a33_0xff21fb(0x142))[a33_0xff21fb(0x11b)],{default:BrowserStackSetup}=require(a33_0xff21fb(0x130)),helper=require(a33_0xff21fb(0x146)),constants=require(a33_0xff21fb(0x143)),getUserNightwatchConfigs=(_0x19d310,_0x1bdbdd)=>{const _0x3df394=a33_0xff21fb,_0x13d629={'xtGft':'nightwatch.conf.js','DtHOf':_0x3df394(0x13e),'OwtRy':function(_0x3db615,_0x474890){return _0x3db615(_0x474890);},'SYwNq':_0x3df394(0x11f)};let _0x4ab636=null,_0xaf9e9b={};const _0x54bcea=_0x1bdbdd[_0x3df394(0x113)](_0x1292d7=>_0x1292d7===_0x3df394(0x147));if(!helper['isUndefined'](_0x19d310[_0x3df394(0x149)])&&fs[_0x3df394(0x154)](path[_0x3df394(0x134)](process[_0x3df394(0x119)](),_0x19d310[_0x3df394(0x149)])))_0x4ab636=path[_0x3df394(0x134)](process['cwd'](),_0x19d310[_0x3df394(0x149)]),_0x1bdbdd['splice'](_0x54bcea,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x13d629['xtGft'])))_0x4ab636=path['join'](process[_0x3df394(0x119)](),_0x13d629[_0x3df394(0x150)]);else fs['existsSync'](path[_0x3df394(0x134)](process[_0x3df394(0x119)](),_0x13d629['DtHOf']))&&(_0x4ab636=path[_0x3df394(0x134)](process[_0x3df394(0x119)](),_0x13d629[_0x3df394(0x131)]));}return _0x4ab636?(logger[_0x3df394(0x15b)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4ab636),_0xaf9e9b=_0x13d629[_0x3df394(0x155)](require,_0x4ab636)):logger[_0x3df394(0x15b)](_0x13d629[_0x3df394(0x11c)]),_0xaf9e9b;},removeExistingEnvs=_0x1036aa=>{const _0x56631c=a33_0xff21fb,_0x22b8dc={};_0x22b8dc[_0x56631c(0x159)]=function(_0x4ca75a,_0x5b341a){return _0x4ca75a>_0x5b341a;},_0x22b8dc[_0x56631c(0x14c)]=function(_0x3956a9,_0x9710fe){return _0x3956a9>_0x9710fe;};const _0x47afb6=_0x22b8dc;let _0x5755dc=_0x1036aa[_0x56631c(0x113)](_0x17458e=>_0x17458e===_0x56631c(0x153));_0x47afb6[_0x56631c(0x159)](_0x5755dc,-0x1)&&_0x1036aa[_0x56631c(0x135)](_0x5755dc,0x2),_0x5755dc=_0x1036aa[_0x56631c(0x113)](_0x447297=>_0x447297==='-e'),_0x47afb6['XAJIQ'](_0x5755dc,-0x1)&&_0x1036aa[_0x56631c(0x135)](_0x5755dc,0x2);};function run(_0x31bfe3,_0x176e8a){const _0x407034=a33_0xff21fb,_0x170fa9={'tUfkw':_0x407034(0x11d),'YZSEo':function(_0x344eca,_0x9296fd){return _0x344eca+_0x9296fd;},'RlTWo':_0x407034(0x157),'dQZZD':function(_0x1daf19,_0xc8c941,_0x344b21){return _0x1daf19(_0xc8c941,_0x344b21);},'RwYvK':_0x407034(0x132),'LzoTn':_0x407034(0x141),'HYTiW':function(_0x47380b,_0x44ccd2){return _0x47380b===_0x44ccd2;},'TRbRU':_0x407034(0x13c),'lPJCi':function(_0x1b6dcd,_0x5cadb4){return _0x1b6dcd(_0x5cadb4);},'MEQWG':function(_0x4f7353,_0x3ec164,_0x178c3e,_0x1d5c89){return _0x4f7353(_0x3ec164,_0x178c3e,_0x1d5c89);},'wKVkm':_0x407034(0x125),'xBoQx':'--config','dPMuh':'--env','hPbCZ':_0x407034(0x14b),'rNsQN':'close'},_0xcce782=new BrowserStackSetup(_0x31bfe3);if(!_0xcce782[_0x407034(0x149)])return;const _0x3dc5a6=_0x170fa9[_0x407034(0x138)](getUserNightwatchConfigs,_0x31bfe3,_0x176e8a),_0x5ef5d2={};_0x5ef5d2['start_process']=![];const _0x172ba9={};_0x172ba9[_0x407034(0x120)]=_0x170fa9[_0x407034(0x152)],_0x172ba9[_0x407034(0x158)]=0x1bb;const _0x4091a1={};_0x4091a1[_0x407034(0x124)]=_0x5ef5d2,_0x4091a1[_0x407034(0x11a)]=_0x172ba9;const _0x432a5f=_0x4091a1;logger[_0x407034(0x15b)](_0x170fa9['LzoTn']);const _0xcb7859={..._0x3dc5a6},_0x251d0d=_0xcb7859,_0x24b376=helper['useW3C'](_0xcce782[_0x407034(0x149)]),_0x562bd7=[];_0xcce782['config']['platforms'][_0x407034(0x123)]((_0x594f64,_0xe46b10)=>{const _0x54afea=_0x407034;_0x24b376?_0x562bd7['push'](helper[_0x54afea(0x137)](_0xcce782['config'],_0x170fa9[_0x54afea(0x14d)],_0xe46b10)):_0x562bd7[_0x54afea(0x12a)](helper[_0x54afea(0x115)](_0xcce782[_0x54afea(0x149)],_0x170fa9['tUfkw'],_0xe46b10));});const _0x5bc1ee={},_0x29fad9=[];_0x31bfe3[_0x407034(0x118)]=_0x31bfe3['env']||_0x31bfe3['e'];const _0x5e4707=_0x31bfe3[_0x407034(0x118)]?_0x31bfe3[_0x407034(0x118)][_0x407034(0x12f)]()[_0x407034(0x151)](',')['map'](_0x325030=>_0x325030[_0x407034(0x12f)]())[_0x407034(0x14e)](_0x12624b=>_0x12624b!==''):[''];_0x170fa9['HYTiW'](_0x5e4707[_0x407034(0x14f)],0x0)&&_0x5e4707[_0x407034(0x12a)]('');_0x5e4707[_0x407034(0x123)](_0xbee83f=>{const _0x489cb1=_0x407034,_0x5a7d22={'jbauo':function(_0x1d36ac,_0x5c4999){const _0x1ab5c0=a33_0x118c;return _0x170fa9[_0x1ab5c0(0x111)](_0x1d36ac,_0x5c4999);},'HnNpH':_0x170fa9[_0x489cb1(0x13d)]};_0x562bd7[_0x489cb1(0x123)](_0x59ed3b=>{const _0x18874b=_0x489cb1;let _0x202fb0=_0x5a7d22[_0x18874b(0x122)](helper[_0x18874b(0x117)](_0x59ed3b,'_'),'_'+Date['now']());_0xbee83f&&(_0x202fb0+='_'+_0xbee83f);if(_0xbee83f&&(!_0x3dc5a6[_0x5a7d22[_0x18874b(0x140)]]||!_0x3dc5a6[_0x5a7d22[_0x18874b(0x140)]][_0xbee83f]))return;const _0x49d167={..._0x432a5f};_0x49d167[_0x18874b(0x11e)]=_0x59ed3b;const _0x1c196e=_0x49d167;_0x5bc1ee[_0x202fb0]=_0xbee83f?helper[_0x18874b(0x13f)](_0x3dc5a6[_0x5a7d22['HnNpH']][_0xbee83f],_0x1c196e):_0x1c196e,_0x29fad9[_0x18874b(0x12a)](_0x202fb0);});});!_0x251d0d[_0x407034(0x157)]&&(_0x251d0d['test_settings']={});_0x251d0d[_0x407034(0x157)]={..._0x251d0d[_0x407034(0x157)],..._0x5bc1ee};const _0x2995a8=path['join'](__dirname,_0x170fa9[_0x407034(0x156)]);fs[_0x407034(0x139)](_0x2995a8,JSON[_0x407034(0x129)](_0x251d0d)),_0x170fa9[_0x407034(0x12b)](removeExistingEnvs,_0x176e8a);const _0x2817c8=_0x170fa9[_0x407034(0x145)](spawn,/^win/['test'](process['platform'])?_0x170fa9[_0x407034(0x128)]:_0x170fa9[_0x407034(0x14d)],[_0x170fa9[_0x407034(0x14a)],_0x2995a8,..._0x176e8a[_0x407034(0x144)](0x1),_0x170fa9['dPMuh'],_0x29fad9['join'](',')],{'stdio':_0x170fa9[_0x407034(0x121)]});_0x2817c8['on'](_0x170fa9[_0x407034(0x13b)],async _0x1939d6=>{const _0x138b7a=_0x407034;logger[_0x138b7a(0x110)](_0x138b7a(0x114)+_0x1939d6),logger['info'](_0x138b7a(0x15a)+_0x2995a8),fs['unlinkSync'](_0x2995a8);});}module[a33_0xff21fb(0x12e)]=run;
2
+ 'use strict';const a33_0x590eb1=a33_0x2553;(function(_0x53f44d,_0x258cdd){const _0x44fc7b=a33_0x2553,_0x164b43=_0x53f44d();while(!![]){try{const _0x11ad8f=-parseInt(_0x44fc7b(0x194))/0x1*(-parseInt(_0x44fc7b(0x1a8))/0x2)+-parseInt(_0x44fc7b(0x165))/0x3*(parseInt(_0x44fc7b(0x19b))/0x4)+parseInt(_0x44fc7b(0x1ad))/0x5*(parseInt(_0x44fc7b(0x183))/0x6)+-parseInt(_0x44fc7b(0x16a))/0x7+parseInt(_0x44fc7b(0x17d))/0x8+parseInt(_0x44fc7b(0x18b))/0x9*(-parseInt(_0x44fc7b(0x175))/0xa)+parseInt(_0x44fc7b(0x166))/0xb*(-parseInt(_0x44fc7b(0x197))/0xc);if(_0x11ad8f===_0x258cdd)break;else _0x164b43['push'](_0x164b43['shift']());}catch(_0x1de1be){_0x164b43['push'](_0x164b43['shift']());}}}(a33_0x2588,0x1e493));function a33_0x2553(_0x455779,_0x1dbbd1){const _0x258852=a33_0x2588();return a33_0x2553=function(_0x2553c7,_0x29557c){_0x2553c7=_0x2553c7-0x163;let _0x118320=_0x258852[_0x2553c7];return _0x118320;},a33_0x2553(_0x455779,_0x1dbbd1);}const fs=require('fs'),path=require(a33_0x590eb1(0x17f)),{spawn}=require(a33_0x590eb1(0x16e)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x590eb1(0x19a)),helper=require(a33_0x590eb1(0x1ae)),constants=require(a33_0x590eb1(0x195)),getUserNightwatchConfigs=(_0x260812,_0x273d8b)=>{const _0x39dd38=a33_0x590eb1,_0x4137a1={'nmMea':_0x39dd38(0x182),'zJysi':_0x39dd38(0x16c),'qkNfj':function(_0x44b12d,_0x294b68){return _0x44b12d(_0x294b68);},'UlEQn':_0x39dd38(0x169)};let _0x30f30b=null,_0x13a46c={};const _0x4e0c16=_0x273d8b[_0x39dd38(0x173)](_0x797d7c=>_0x797d7c==='--config');if(!helper[_0x39dd38(0x1af)](_0x260812['config'])&&fs[_0x39dd38(0x184)](path[_0x39dd38(0x170)](process[_0x39dd38(0x193)](),_0x260812[_0x39dd38(0x198)])))_0x30f30b=path[_0x39dd38(0x170)](process[_0x39dd38(0x193)](),_0x260812[_0x39dd38(0x198)]),_0x273d8b[_0x39dd38(0x187)](_0x4e0c16,0x2);else{if(fs[_0x39dd38(0x184)](path[_0x39dd38(0x170)](process[_0x39dd38(0x193)](),_0x4137a1[_0x39dd38(0x1ab)])))_0x30f30b=path[_0x39dd38(0x170)](process[_0x39dd38(0x193)](),_0x4137a1[_0x39dd38(0x1ab)]);else fs['existsSync'](path[_0x39dd38(0x170)](process['cwd'](),_0x4137a1['zJysi']))&&(_0x30f30b=path[_0x39dd38(0x170)](process[_0x39dd38(0x193)](),_0x4137a1[_0x39dd38(0x1a7)]));}return _0x30f30b?(logger['info'](_0x39dd38(0x18a)+_0x30f30b),_0x13a46c=_0x4137a1['qkNfj'](require,_0x30f30b)):logger[_0x39dd38(0x177)](_0x4137a1[_0x39dd38(0x1a5)]),_0x13a46c;},removeExistingEnvs=_0x37f8a0=>{const _0x40a0a7=a33_0x590eb1,_0x1a41b1={};_0x1a41b1['gTDxM']=function(_0x39171a,_0x99ed36){return _0x39171a>_0x99ed36;},_0x1a41b1['QtTxa']=function(_0x4ef737,_0x2811d3){return _0x4ef737>_0x2811d3;};const _0x40caaf=_0x1a41b1;let _0x498433=_0x37f8a0[_0x40a0a7(0x173)](_0x5e7d5b=>_0x5e7d5b===_0x40a0a7(0x16d));_0x40caaf[_0x40a0a7(0x192)](_0x498433,-0x1)&&_0x37f8a0['splice'](_0x498433,0x2),_0x498433=_0x37f8a0[_0x40a0a7(0x173)](_0x270a79=>_0x270a79==='-e'),_0x40caaf[_0x40a0a7(0x172)](_0x498433,-0x1)&&_0x37f8a0[_0x40a0a7(0x187)](_0x498433,0x2);};function a33_0x2588(){const _0x50f16b=['51NvGLBU','263879OPSRYO','lGgzt','start_process','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','1043679ZwgjOw','nightwatch.cmd','nightwatch.json','--env','child_process','yuUiL','join','test_settings','QtTxa','findIndex','map','31300shHjfg','hub.browserstack.com','info','platform','modifyBrowserStackCaps','--config','inherit','split','1918056TqLxAi','test','path','now','QYTHq','nightwatch.conf.js','402YHJNyx','existsSync','useW3C','Deleting\x20','splice','filter','desiredCapabilities','Getting\x20your\x20nightwatch\x20configs\x20from\x20','9auCVZz','ecaYx','platforms','slice','port','host','exports','gTDxM','cwd','83tpmhCE','../utils/constants','nightwatch','12yrBTPo','config','nightwatch-browserstack.json','../../helpers/BrowserStackSetup','23956kwXBAu','getPlatformName','xBeLh','selenium','nGfbY','env','mergeDeep','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','stringify','forEach','UlEQn','webdriver','zJysi','2594fzyWTy','length','writeFileSync','nmMea','huuGp','4080OsDbgu','../../helpers/helper','isUndefined','HOHEi','push'];a33_0x2588=function(){return _0x50f16b;};return a33_0x2588();}function run(_0x1c098e,_0x4552a4){const _0x311d6e=a33_0x590eb1,_0x1687b3={'xBeLh':_0x311d6e(0x196),'HOHEi':function(_0x3a4223,_0x1a4ef8){return _0x3a4223+_0x1a4ef8;},'lGgzt':'test_settings','huuGp':function(_0x1d3e6b,_0x17c779,_0x46d99b){return _0x1d3e6b(_0x17c779,_0x46d99b);},'tpVSt':_0x311d6e(0x176),'djrIN':_0x311d6e(0x1a2),'QYTHq':function(_0x90ed9e,_0x20e033){return _0x90ed9e===_0x20e033;},'nGfbY':_0x311d6e(0x199),'sHwsw':function(_0x76cd87,_0xef347b){return _0x76cd87(_0xef347b);},'yuUiL':function(_0x2c37d2,_0x3e3dc8,_0x28ae49,_0x2aa2a2){return _0x2c37d2(_0x3e3dc8,_0x28ae49,_0x2aa2a2);},'ecaYx':_0x311d6e(0x16b),'rACus':_0x311d6e(0x17a),'mKaLw':'--env','yPQpF':_0x311d6e(0x17b),'BJmFa':'close'},_0x3bd5e4=new BrowserStackSetup(_0x1c098e);if(!_0x3bd5e4[_0x311d6e(0x198)])return;const _0x33011b=_0x1687b3[_0x311d6e(0x1ac)](getUserNightwatchConfigs,_0x1c098e,_0x4552a4),_0xeabfd5={};_0xeabfd5[_0x311d6e(0x168)]=![];const _0x3b7cc9={};_0x3b7cc9[_0x311d6e(0x190)]=_0x1687b3['tpVSt'],_0x3b7cc9[_0x311d6e(0x18f)]=0x1bb;const _0x30fc5b={};_0x30fc5b[_0x311d6e(0x1a6)]=_0xeabfd5,_0x30fc5b[_0x311d6e(0x19e)]=_0x3b7cc9;const _0x2a8c2a=_0x30fc5b;logger[_0x311d6e(0x177)](_0x1687b3['djrIN']);const _0x4b0990={..._0x33011b},_0x550d1c=_0x4b0990,_0x530fb5=helper[_0x311d6e(0x185)](_0x3bd5e4[_0x311d6e(0x198)]),_0xb3b6af=[];_0x3bd5e4[_0x311d6e(0x198)][_0x311d6e(0x18d)][_0x311d6e(0x1a4)]((_0x28f550,_0xd69d29)=>{const _0x351ca3=_0x311d6e;_0x530fb5?_0xb3b6af[_0x351ca3(0x164)](helper['modifyBrowserStackW3CCaps'](_0x3bd5e4[_0x351ca3(0x198)],_0x1687b3[_0x351ca3(0x19d)],_0xd69d29)):_0xb3b6af['push'](helper[_0x351ca3(0x179)](_0x3bd5e4[_0x351ca3(0x198)],_0x1687b3[_0x351ca3(0x19d)],_0xd69d29));});const _0xa562c1={},_0x5461b9=[];_0x1c098e[_0x311d6e(0x1a0)]=_0x1c098e[_0x311d6e(0x1a0)]||_0x1c098e['e'];const _0x33e75c=_0x1c098e[_0x311d6e(0x1a0)]?_0x1c098e[_0x311d6e(0x1a0)]['trim']()[_0x311d6e(0x17c)](',')[_0x311d6e(0x174)](_0x1dcdde=>_0x1dcdde['trim']())[_0x311d6e(0x188)](_0x4a45fc=>_0x4a45fc!==''):[''];_0x1687b3[_0x311d6e(0x181)](_0x33e75c[_0x311d6e(0x1a9)],0x0)&&_0x33e75c['push']('');_0x33e75c[_0x311d6e(0x1a4)](_0x4681dc=>{const _0x56bb27=_0x311d6e;_0xb3b6af[_0x56bb27(0x1a4)](_0x2d707a=>{const _0x5472e0=_0x56bb27;let _0x7eb2c3=_0x1687b3[_0x5472e0(0x163)](helper[_0x5472e0(0x19c)](_0x2d707a,'_'),'_'+Date[_0x5472e0(0x180)]());_0x4681dc&&(_0x7eb2c3+='_'+_0x4681dc);if(_0x4681dc&&(!_0x33011b[_0x1687b3[_0x5472e0(0x167)]]||!_0x33011b[_0x1687b3[_0x5472e0(0x167)]][_0x4681dc]))return;const _0x346187={..._0x2a8c2a};_0x346187[_0x5472e0(0x189)]=_0x2d707a;const _0x29acf4=_0x346187;_0xa562c1[_0x7eb2c3]=_0x4681dc?helper[_0x5472e0(0x1a1)](_0x33011b[_0x1687b3[_0x5472e0(0x167)]][_0x4681dc],_0x29acf4):_0x29acf4,_0x5461b9['push'](_0x7eb2c3);});});!_0x550d1c[_0x311d6e(0x171)]&&(_0x550d1c[_0x311d6e(0x171)]={});_0x550d1c[_0x311d6e(0x171)]={..._0x550d1c['test_settings'],..._0xa562c1};const _0x395d6c=path[_0x311d6e(0x170)](__dirname,_0x1687b3[_0x311d6e(0x19f)]);fs[_0x311d6e(0x1aa)](_0x395d6c,JSON[_0x311d6e(0x1a3)](_0x550d1c)),_0x1687b3['sHwsw'](removeExistingEnvs,_0x4552a4);const _0xdc972e=_0x1687b3[_0x311d6e(0x16f)](spawn,/^win/[_0x311d6e(0x17e)](process[_0x311d6e(0x178)])?_0x1687b3[_0x311d6e(0x18c)]:_0x1687b3[_0x311d6e(0x19d)],[_0x1687b3['rACus'],_0x395d6c,..._0x4552a4[_0x311d6e(0x18e)](0x1),_0x1687b3['mKaLw'],_0x5461b9[_0x311d6e(0x170)](',')],{'stdio':_0x1687b3['yPQpF']});_0xdc972e['on'](_0x1687b3['BJmFa'],async _0x43b021=>{const _0x419cdb=_0x311d6e;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x43b021),logger[_0x419cdb(0x177)](_0x419cdb(0x186)+_0x395d6c),fs['unlinkSync'](_0x395d6c);});}module[a33_0x590eb1(0x191)]=run;
@@ -1 +1 @@
1
- const a34_0x28f895=a34_0xb6d3;(function(_0xb27b22,_0x157f3f){const _0x4f4f71=a34_0xb6d3,_0x22049a=_0xb27b22();while(!![]){try{const _0x5869e7=-parseInt(_0x4f4f71(0x1da))/0x1*(-parseInt(_0x4f4f71(0x1ed))/0x2)+parseInt(_0x4f4f71(0x1d4))/0x3+-parseInt(_0x4f4f71(0x1d2))/0x4*(parseInt(_0x4f4f71(0x1e1))/0x5)+parseInt(_0x4f4f71(0x1bd))/0x6*(-parseInt(_0x4f4f71(0x19b))/0x7)+parseInt(_0x4f4f71(0x1dd))/0x8+-parseInt(_0x4f4f71(0x1c1))/0x9*(-parseInt(_0x4f4f71(0x1c9))/0xa)+-parseInt(_0x4f4f71(0x1c2))/0xb;if(_0x5869e7===_0x157f3f)break;else _0x22049a['push'](_0x22049a['shift']());}catch(_0x10e1f2){_0x22049a['push'](_0x22049a['shift']());}}}(a34_0x195c,0x84691));const util=require(a34_0x28f895(0x1b0)),logger=require(a34_0x28f895(0x1bb))[a34_0x28f895(0x1e3)],{isAccessibilityAutomationSession}=require(a34_0x28f895(0x1b4)),{isUndefined}=require(a34_0x28f895(0x1e8)),scripts=require(a34_0x28f895(0x196));function a34_0xb6d3(_0x12110e,_0x330159){const _0x195c28=a34_0x195c();return a34_0xb6d3=function(_0xb6d323,_0x13c8ad){_0xb6d323=_0xb6d323-0x189;let _0x1ca03b=_0x195c28[_0xb6d323];return _0x1ca03b;},a34_0xb6d3(_0x12110e,_0x330159);}function a34_0x195c(){const _0x255d9f=['5sbZTmf','fuwEg','winstonLogger','BS_A11Y_JWT','performScan','No\x20accessibility\x20results\x20were\x20found.','bstackSdkArgs','../../helpers/helper','AIHuy','iwjJl','No\x20summaryResults\x20found.','vFTcQ','1258996Mzfxbd','JUKID','DHgjp','chrome','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','browserStackExecuteDriver','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browserStackEvaluate','executeScript','needsReview','executeAsyncScript','latest','QTguj','wcagVersion','DdTrT','method','HBwpq','browser_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/accessibility-automation/scripts','stringify','includeIssueType','jbQcT','pBXco','112189YHCLXh','VMtlq','evaluate','env','dkxNI','TsmDp','browser','ccJJP','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','setAccessibilityCapabilities','constructor','KNtAa','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','warn','accessibilityOptions.scannerProcessingTimeout','WliPa','hajrL','getAccessibilityResultsSummary','vRebD','YdPvY','accessibilityOptions.scannerVersion','util','cyxvm','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions','../../helpers/accessibility-automation/helper','UndNT','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','scannerProcessingTimeout','connectOptions','../../helpers/logger','Fyfju','30FomjsO','accessibilityOptions.wcagVersion','project','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','585jTRbVk','21607014ivBSgs','browserName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','yyJIZ','zrncc','OLPkh','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','56020yGQdBg','replace','deviceName','xXWkJ','currentTest','platformValidation','getAccessibilityResults','workerInfo','accessibilityOptions.includeIssueType.needsReview','672972vcnKnt','accessibilityOptions.authToken','3108729rbYewZ','wsEndpoint','UuwyC','WQytu','use','scannerVersion','1BSknLb','accessibilityOptions.includeIssueType.bestPractice','browserstack.accessibility','5801072shSzDM','accessibilityPlatform','Ertsk','debug'];a34_0x195c=function(){return _0x255d9f;};return a34_0x195c();}exports[a34_0x28f895(0x18a)]=async(_0x595f0a,_0x2cf4c3,_0x3bba45={})=>{const _0x14d5b5=a34_0x28f895,_0x1d5c68={};_0x1d5c68[_0x14d5b5(0x1ab)]=_0x14d5b5(0x1e7);const _0x528c70=_0x1d5c68;return await _0x595f0a[_0x14d5b5(0x19d)](_0x14d5b5(0x1a7)+_0x2cf4c3[_0x14d5b5(0x1ca)](/arguments/g,_0x528c70[_0x14d5b5(0x1ab)])+_0x14d5b5(0x1c8)+JSON[_0x14d5b5(0x197)](_0x3bba45)+')');},exports[a34_0x28f895(0x1f2)]=async(_0x4b0cc9,_0x46ae8c,_0x5b9034={})=>{const _0x338703=a34_0x28f895,_0xd58e04={};_0xd58e04[_0x338703(0x1df)]=function(_0x36625b,_0x316dc6){return _0x36625b===_0x316dc6;},_0xd58e04['JUKID']=_0x338703(0x1b7),_0xd58e04[_0x338703(0x1c5)]=function(_0x121b0f,_0x4bc050){return _0x121b0f===_0x4bc050;},_0xd58e04['TwhNL']='Playwright',_0xd58e04[_0x338703(0x1ae)]=_0x338703(0x1e7);const _0x2bf8e7=_0xd58e04;if(_0x2bf8e7[_0x338703(0x1df)](_0x4b0cc9[_0x338703(0x1a5)]['name'],_0x2bf8e7[_0x338703(0x1ee)]))return await _0x4b0cc9[_0x338703(0x18d)](_0x46ae8c,_0x5b9034);else{if(_0x2bf8e7['yyJIZ'](_0x4b0cc9[_0x338703(0x1a5)]['name'],_0x2bf8e7['TwhNL']))return await _0x4b0cc9[_0x338703(0x18b)](_0x338703(0x1b6)+_0x46ae8c[_0x338703(0x1ca)](/arguments/g,_0x2bf8e7[_0x338703(0x1ae)])+_0x338703(0x1b2)+JSON[_0x338703(0x197)](_0x5b9034)+')');}},exports[a34_0x28f895(0x1a4)]=async _0x5b3ae2=>{const _0xb3182c=a34_0x28f895,_0x246380={};_0x246380['Fyfju']=_0xb3182c(0x1be),_0x246380[_0xb3182c(0x19f)]=_0xb3182c(0x1a9),_0x246380['cyxvm']=_0xb3182c(0x1db),_0x246380[_0xb3182c(0x1ef)]=_0xb3182c(0x1d1),_0x246380['UuwyC']=_0xb3182c(0x1d3),_0x246380[_0xb3182c(0x18f)]=_0xb3182c(0x1af);const _0x3cb303=_0x246380;_0x5b3ae2[_0xb3182c(0x1b3)]&&(_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x190)]&&(_0x5b3ae2[_0x3cb303[_0xb3182c(0x1bc)]]=_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x190)]),_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x1b9)]&&(_0x5b3ae2[_0x3cb303[_0xb3182c(0x19f)]]=_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x1b9)]),_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x198)]&&(_0x5b3ae2[_0x3cb303[_0xb3182c(0x1b1)]]=_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x198)]['bestPractice'],_0x5b3ae2[_0x3cb303[_0xb3182c(0x1ef)]]=_0x5b3ae2[_0xb3182c(0x1b3)][_0xb3182c(0x198)][_0xb3182c(0x18c)]));const _0x1a0a2a=JSON['parse'](process[_0xb3182c(0x19e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0xb3182c(0x1d9)];_0x5b3ae2[_0x3cb303[_0xb3182c(0x1d6)]]=process[_0xb3182c(0x19e)][_0xb3182c(0x1e4)],_0x5b3ae2[_0x3cb303[_0xb3182c(0x18f)]]=_0x1a0a2a,delete _0x5b3ae2[_0xb3182c(0x1b3)];},exports[a34_0x28f895(0x1cf)]=async _0x52dbe2=>{const _0x522b6d=a34_0x28f895,_0x15e979={};_0x15e979['fuwEg']=_0x522b6d(0x1e6),_0x15e979[_0x522b6d(0x191)]=_0x522b6d(0x1c4);const _0x5034bb=_0x15e979;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x52dbe2,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x52dbe2,scripts.getResults);return res;}catch{return logger['error'](_0x5034bb[_0x522b6d(0x1e2)]),[];}else return logger[_0x522b6d(0x1a8)](_0x5034bb[_0x522b6d(0x191)]),[];},exports[a34_0x28f895(0x1e5)]=async(_0x1b91d9,_0x1b79dd='')=>{const _0x4e65c4=a34_0x28f895;if(global[_0x4e65c4(0x1de)]){const _0x69831c={};return _0x69831c[_0x4e65c4(0x192)]=_0x1b79dd,await exports['browserStackEvaluate'](_0x1b91d9,scripts[_0x4e65c4(0x1e5)],_0x69831c);}},exports[a34_0x28f895(0x1ac)]=async _0x36c75e=>{const _0x401cdf=a34_0x28f895,_0x356542={};_0x356542[_0x401cdf(0x1ea)]=_0x401cdf(0x1eb),_0x356542[_0x401cdf(0x1aa)]=_0x401cdf(0x1f1);const _0x4ad379=_0x356542;if(global[_0x401cdf(0x1de)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x36c75e,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x36c75e,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x401cdf(0x1e0)](_0x4ad379[_0x401cdf(0x1ea)]),{};}else return logger[_0x401cdf(0x1a8)](_0x4ad379[_0x401cdf(0x1aa)]),{};},exports[a34_0x28f895(0x1ce)]=async _0x5c271a=>{const _0x15dd73=a34_0x28f895,_0x50f349={'pBXco':function(_0x184e15,_0x27b50b){return _0x184e15!==_0x27b50b;},'KNtAa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HBwpq':function(_0x10b3d8,_0x27b19d){return _0x10b3d8===_0x27b19d;},'vRebD':_0x15dd73(0x1f0),'izgmR':'playwright-chromium','vFTcQ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','WQytu':function(_0xaaa7c,_0x5949eb){return _0xaaa7c(_0x5949eb);},'UndNT':function(_0x1dde4e,_0x44b7b3){return _0x1dde4e===_0x44b7b3;},'RvDKl':'latest','TsmDp':function(_0x2e4a06,_0x2ea367){return _0x2e4a06>_0x2ea367;},'hFWfj':_0x15dd73(0x195)};try{if(!_0x50f349[_0x15dd73(0x19a)](_0x5c271a[_0x15dd73(0x1cb)],''))return logger['warn'](_0x50f349[_0x15dd73(0x1a6)]),![];const _0x68b9e2=_0x5c271a[_0x15dd73(0x1a1)];if(!(_0x50f349[_0x15dd73(0x193)](_0x68b9e2,_0x50f349[_0x15dd73(0x1ad)])||_0x50f349['HBwpq'](_0x68b9e2,_0x50f349['izgmR'])))return logger[_0x15dd73(0x1a8)](_0x50f349[_0x15dd73(0x1ec)]),![];const _0x468da7=_0x50f349[_0x15dd73(0x1d7)](parseInt,_0x5c271a[_0x15dd73(0x194)]);if(!(_0x50f349[_0x15dd73(0x1b5)](_0x468da7,_0x50f349['RvDKl'])||_0x50f349[_0x15dd73(0x1a0)](_0x468da7,0x5e)))return logger[_0x15dd73(0x1a8)](_0x50f349['hFWfj']),![];}catch(_0x196356){logger[_0x15dd73(0x1e0)](_0x15dd73(0x1a3)+util['format'](_0x196356));}return!![];},exports['processAccessibilityCaps']=(_0x44b119,_0x1ed66b,_0x41b1c4)=>{const _0x1eb262=a34_0x28f895,_0x38d8fa={'VMtlq':function(_0x461373){return _0x461373();},'WCtLO':_0x1eb262(0x1dc),'ccJJP':function(_0x57f8ca,_0x1a4906){return _0x57f8ca===_0x1a4906;},'jbQcT':'chrome','HUuFy':'playwright-chromium','rmCjh':_0x1eb262(0x1c0),'jHmgN':_0x1eb262(0x18e),'AIHuy':function(_0x584ca2,_0x2fada8){return _0x584ca2>_0x2fada8;},'xXWkJ':_0x1eb262(0x195),'OLPkh':function(_0x4ce6ee,_0x55b909){return _0x4ce6ee(_0x55b909);},'zrncc':_0x1eb262(0x1b8),'BLqSC':function(_0xeea95d,_0x13d384){return _0xeea95d+_0x13d384;}};try{if(_0x38d8fa[_0x1eb262(0x19c)](isAccessibilityAutomationSession)){global[_0x1eb262(0x1de)]=!![];!_0x44b119[_0x38d8fa['WCtLO']]&&(global[_0x1eb262(0x1de)]=![]);!(_0x38d8fa[_0x1eb262(0x1a2)](_0x44b119[_0x1eb262(0x1c3)],_0x38d8fa[_0x1eb262(0x199)])||_0x38d8fa['ccJJP'](_0x44b119[_0x1eb262(0x1c3)],_0x38d8fa['HUuFy']))&&(logger[_0x1eb262(0x1a8)](_0x38d8fa['rmCjh']),global[_0x1eb262(0x1de)]=![]);!(_0x38d8fa['ccJJP'](_0x44b119[_0x1eb262(0x194)],_0x38d8fa['jHmgN'])||_0x38d8fa[_0x1eb262(0x1e9)](_0x44b119[_0x1eb262(0x194)],0x5e))&&(logger['warn'](_0x38d8fa[_0x1eb262(0x1cc)]),global[_0x1eb262(0x1de)]=![]);!_0x38d8fa[_0x1eb262(0x1c7)](isUndefined,_0x44b119['deviceName'])&&(logger[_0x1eb262(0x1a8)](_0x38d8fa[_0x1eb262(0x1c6)]),global[_0x1eb262(0x1de)]=![]);if(!global[_0x1eb262(0x1de)]){_0x44b119[_0x38d8fa['WCtLO']]=![];const _0x42aedd=_0x38d8fa['BLqSC'](_0x1ed66b,_0x38d8fa[_0x1eb262(0x1c7)](encodeURIComponent,JSON[_0x1eb262(0x197)](_0x44b119)));_0x41b1c4&&(_0x41b1c4[_0x1eb262(0x1cd)]['testInfo'][_0x1eb262(0x1bf)][_0x1eb262(0x1d8)][_0x1eb262(0x1ba)][_0x1eb262(0x1d5)]=_0x42aedd,_0x41b1c4[_0x1eb262(0x1d0)][_0x1eb262(0x1bf)][_0x1eb262(0x1d8)][_0x1eb262(0x1ba)][_0x1eb262(0x1d5)]=_0x42aedd);}}}catch(_0x1eae84){logger[_0x1eb262(0x1e0)](_0x1eb262(0x189)+util['format'](_0x1eae84));}};
1
+ function a34_0x529a(){const _0x31ae53=['oykKQ','102zsixmq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','PxLor','RBpIv','MaCDb','YnnWF','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','includeIssueType','currentTest','constructor','testInfo','needsReview','deviceName','3326719xiRFqa','debug','platformValidation','error','executeScript','getAccessibilityResults','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions','EbLsp','accessibilityOptions.includeIssueType.needsReview','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','YQIOp','parse','dxbGU','evaluate','accessibilityPlatform','use','processAccessibilityCaps','No\x20summaryResults\x20found.','accessibilityOptions.scannerVersion','name','env','browser','mdbji','browserStackEvaluate','chrome','EUySQ','QgOPp','stringify','VreoF','accessibilityOptions.authToken','../../helpers/helper','6684zPQhxm','1022210OSsZkn','browserName','9NWWdjn','fvQrR','EXSBc','BGuQt','fNtvw','spxct','gSQdc','BS_A11Y_JWT','project','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','getAccessibilityResultsSummary','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','scannerVersion','bstackSdkArgs','bestPractice','scannerProcessingTimeout','NsrEN','1168820mRccxr','KYbMK','browser_version','playwright-chromium','800125VvOefQ','performScan','connectOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fMOLn','wsEndpoint','warn','../../helpers/accessibility-automation/helper','mJlDZ','tpAuJ','pzffl','latest','Ulfsw','browserStackExecuteDriver','BFBTo','accessibilityOptions.includeIssueType.bestPractice','826224XTJmUo','OKVAA','YFnol','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','ggYFP','../../helpers/accessibility-automation/scripts','xiNgE','wcagVersion','winstonLogger','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','tSpdV','8eIdoPP','../../helpers/logger','IlYKo','197419ELenQQ','PAtcj','2okUXws','gqFzc','format','browserstack.accessibility'];a34_0x529a=function(){return _0x31ae53;};return a34_0x529a();}const a34_0x3734ea=a34_0x1860;(function(_0x25fcbd,_0x5a514d){const _0x11a2cf=a34_0x1860,_0x46278f=_0x25fcbd();while(!![]){try{const _0x443f03=parseInt(_0x11a2cf(0xad))/0x1*(parseInt(_0x11a2cf(0xaf))/0x2)+-parseInt(_0x11a2cf(0xb4))/0x3*(parseInt(_0x11a2cf(0xe1))/0x4)+parseInt(_0x11a2cf(0x8f))/0x5+parseInt(_0x11a2cf(0x9f))/0x6+-parseInt(_0x11a2cf(0xe2))/0x7*(parseInt(_0x11a2cf(0xaa))/0x8)+parseInt(_0x11a2cf(0xe4))/0x9*(parseInt(_0x11a2cf(0xf6))/0xa)+-parseInt(_0x11a2cf(0xc1))/0xb;if(_0x443f03===_0x5a514d)break;else _0x46278f['push'](_0x46278f['shift']());}catch(_0x1a59ef){_0x46278f['push'](_0x46278f['shift']());}}}(a34_0x529a,0x1a105));const util=require('util'),logger=require(a34_0x3734ea(0xab))[a34_0x3734ea(0xa7)],{isAccessibilityAutomationSession}=require(a34_0x3734ea(0x96)),{isUndefined}=require(a34_0x3734ea(0xe0)),scripts=require(a34_0x3734ea(0xa4));function a34_0x1860(_0x1f75f0,_0x151602){const _0x529a16=a34_0x529a();return a34_0x1860=function(_0x1860b8,_0xa99773){_0x1860b8=_0x1860b8-0x8d;let _0x33d6d5=_0x529a16[_0x1860b8];return _0x33d6d5;},a34_0x1860(_0x1f75f0,_0x151602);}exports[a34_0x3734ea(0xd9)]=async(_0x4e1c8e,_0x4b6159,_0x108476={})=>{const _0x11c9c7=a34_0x3734ea,_0x1718af={};_0x1718af[_0x11c9c7(0x9b)]=_0x11c9c7(0xf2);const _0x251d7e=_0x1718af;return await _0x4e1c8e[_0x11c9c7(0xcf)](_0x11c9c7(0xa2)+_0x4b6159['replace'](/arguments/g,_0x251d7e['Ulfsw'])+_0x11c9c7(0xcb)+JSON['stringify'](_0x108476)+')');},exports[a34_0x3734ea(0x9c)]=async(_0xd486d6,_0xa182f4,_0x296ae1={})=>{const _0x5a08fe=a34_0x3734ea,_0xece012={};_0xece012[_0x5a08fe(0xdb)]=function(_0xd13d89,_0x4ee10d){return _0xd13d89===_0x4ee10d;},_0xece012[_0x5a08fe(0xb7)]='WebDriver',_0xece012['YQIOp']=function(_0x17fed9,_0x480ba4){return _0x17fed9===_0x480ba4;},_0xece012['bIvKH']='Playwright',_0xece012[_0x5a08fe(0xb9)]='bstackSdkArgs';const _0x33513d=_0xece012;if(_0x33513d[_0x5a08fe(0xdb)](_0xd486d6[_0x5a08fe(0xbd)][_0x5a08fe(0xd5)],_0x33513d[_0x5a08fe(0xb7)]))return await _0xd486d6['executeAsyncScript'](_0xa182f4,_0x296ae1);else{if(_0x33513d[_0x5a08fe(0xcc)](_0xd486d6['constructor'][_0x5a08fe(0xd5)],_0x33513d['bIvKH']))return await _0xd486d6[_0x5a08fe(0xc5)](_0x5a08fe(0xba)+_0xa182f4['replace'](/arguments/g,_0x33513d[_0x5a08fe(0xb9)])+_0x5a08fe(0xa8)+JSON[_0x5a08fe(0xdd)](_0x296ae1)+')');}},exports['setAccessibilityCapabilities']=async _0x5913b9=>{const _0x331241=a34_0x3734ea,_0x54d3e2={};_0x54d3e2['AEVrK']='accessibilityOptions.wcagVersion',_0x54d3e2[_0x331241(0xe5)]='accessibilityOptions.scannerProcessingTimeout',_0x54d3e2['fNtvw']=_0x331241(0x9e),_0x54d3e2[_0x331241(0xe6)]=_0x331241(0xca),_0x54d3e2[_0x331241(0xa0)]=_0x331241(0xdf),_0x54d3e2[_0x331241(0xe7)]=_0x331241(0xd4);const _0xc1d8ca=_0x54d3e2;_0x5913b9[_0x331241(0xc8)]&&(_0x5913b9[_0x331241(0xc8)][_0x331241(0xa6)]&&(_0x5913b9[_0xc1d8ca['AEVrK']]=_0x5913b9[_0x331241(0xc8)][_0x331241(0xa6)]),_0x5913b9[_0x331241(0xc8)][_0x331241(0xf4)]&&(_0x5913b9[_0xc1d8ca[_0x331241(0xe5)]]=_0x5913b9['accessibilityOptions'][_0x331241(0xf4)]),_0x5913b9[_0x331241(0xc8)][_0x331241(0xbb)]&&(_0x5913b9[_0xc1d8ca[_0x331241(0xe8)]]=_0x5913b9[_0x331241(0xc8)][_0x331241(0xbb)][_0x331241(0xf3)],_0x5913b9[_0xc1d8ca[_0x331241(0xe6)]]=_0x5913b9[_0x331241(0xc8)][_0x331241(0xbb)][_0x331241(0xbf)]));const _0x347f7c=JSON[_0x331241(0xcd)](process[_0x331241(0xd6)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x331241(0xf1)];_0x5913b9[_0xc1d8ca[_0x331241(0xa0)]]=process['env'][_0x331241(0xeb)],_0x5913b9[_0xc1d8ca[_0x331241(0xe7)]]=_0x347f7c,delete _0x5913b9[_0x331241(0xc8)];},exports[a34_0x3734ea(0xc6)]=async _0x1b57cb=>{const _0x1489e1=a34_0x3734ea,_0x592341={};_0x592341[_0x1489e1(0xb6)]='No\x20accessibility\x20results\x20were\x20found.',_0x592341['tSpdV']=_0x1489e1(0xb5);const _0x2782d9=_0x592341;if(global[_0x1489e1(0xd0)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x1b57cb,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x1b57cb,scripts.getResults);return res;}catch{return logger[_0x1489e1(0xc4)](_0x2782d9['PxLor']),[];}else return logger[_0x1489e1(0x95)](_0x2782d9[_0x1489e1(0xa9)]),[];},exports[a34_0x3734ea(0x90)]=async(_0x4cf73e,_0x410c57='')=>{const _0x9bb6a1=a34_0x3734ea;if(global['accessibilityPlatform']){const _0x5362de={};return _0x5362de['method']=_0x410c57,await exports[_0x9bb6a1(0xd9)](_0x4cf73e,scripts['performScan'],_0x5362de);}},exports[a34_0x3734ea(0xef)]=async _0x4faf02=>{const _0x4d33aa=a34_0x3734ea,_0x426aad={};_0x426aad[_0x4d33aa(0xdc)]=_0x4d33aa(0xd3),_0x426aad[_0x4d33aa(0x93)]=_0x4d33aa(0xf0);const _0x2254aa=_0x426aad;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4faf02,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x4faf02,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x4d33aa(0xc2)](_0x2254aa[_0x4d33aa(0xdc)]),{};}else return logger[_0x4d33aa(0x95)](_0x2254aa[_0x4d33aa(0x93)]),{};},exports[a34_0x3734ea(0xc3)]=async _0x29e5de=>{const _0x2c43f3=a34_0x3734ea,_0xe757bb={'PAtcj':function(_0x687dd,_0xae42aa){return _0x687dd!==_0xae42aa;},'gqFzc':_0x2c43f3(0xed),'LWmWP':function(_0x46dd51,_0x1d46a2){return _0x46dd51===_0x1d46a2;},'dxbGU':_0x2c43f3(0xda),'MaCDb':function(_0x10fc91,_0x4259d4){return _0x10fc91===_0x4259d4;},'BFBTo':_0x2c43f3(0x8e),'KYbMK':_0x2c43f3(0x92),'ggYFP':function(_0x2a114,_0xbd6fed){return _0x2a114(_0xbd6fed);},'tpAuJ':'latest','EbLsp':function(_0x24c806,_0xa32158){return _0x24c806>_0xa32158;},'gSQdc':_0x2c43f3(0xc7)};try{if(!_0xe757bb[_0x2c43f3(0xae)](_0x29e5de['deviceName'],''))return logger['warn'](_0xe757bb[_0x2c43f3(0xb0)]),![];const _0x1299d1=_0x29e5de[_0x2c43f3(0xd7)];if(!(_0xe757bb['LWmWP'](_0x1299d1,_0xe757bb[_0x2c43f3(0xce)])||_0xe757bb[_0x2c43f3(0xb8)](_0x1299d1,_0xe757bb[_0x2c43f3(0x9d)])))return logger[_0x2c43f3(0x95)](_0xe757bb[_0x2c43f3(0xf7)]),![];const _0xf2fccc=_0xe757bb[_0x2c43f3(0xa3)](parseInt,_0x29e5de[_0x2c43f3(0x8d)]);if(!(_0xe757bb[_0x2c43f3(0xb8)](_0xf2fccc,_0xe757bb[_0x2c43f3(0x98)])||_0xe757bb[_0x2c43f3(0xc9)](_0xf2fccc,0x5e)))return logger[_0x2c43f3(0x95)](_0xe757bb[_0x2c43f3(0xea)]),![];}catch(_0x39dd93){logger[_0x2c43f3(0xc2)](_0x2c43f3(0xee)+util[_0x2c43f3(0xb1)](_0x39dd93));}return!![];},exports[a34_0x3734ea(0xd2)]=(_0x1ce9d9,_0x4d9243,_0x55959a)=>{const _0x424749=a34_0x3734ea,_0x44e4e6={'oykKQ':function(_0x4599fd){return _0x4599fd();},'IlYKo':_0x424749(0xb2),'NsrEN':function(_0x17f6eb,_0x4e06b4){return _0x17f6eb===_0x4e06b4;},'QhBiX':_0x424749(0xda),'pzffl':function(_0x332fbb,_0x101199){return _0x332fbb===_0x101199;},'YyYsm':'playwright-chromium','spxct':_0x424749(0x92),'ZytoM':function(_0x14216d,_0xce8ed){return _0x14216d===_0xce8ed;},'VreoF':_0x424749(0x9a),'mdbji':function(_0x5c3918,_0x452da9){return _0x5c3918>_0x452da9;},'CDHpe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','YFnol':function(_0x5aee13,_0x152dbd){return _0x5aee13(_0x152dbd);},'xiNgE':_0x424749(0xed),'hiddO':function(_0x159833,_0x5375a8){return _0x159833+_0x5375a8;},'mJlDZ':function(_0x33fb98,_0x1a0bfc){return _0x33fb98(_0x1a0bfc);}};try{if(_0x44e4e6[_0x424749(0xb3)](isAccessibilityAutomationSession)){global[_0x424749(0xd0)]=!![];!_0x1ce9d9[_0x44e4e6['IlYKo']]&&(global[_0x424749(0xd0)]=![]);!(_0x44e4e6[_0x424749(0xf5)](_0x1ce9d9[_0x424749(0xe3)],_0x44e4e6['QhBiX'])||_0x44e4e6[_0x424749(0x99)](_0x1ce9d9[_0x424749(0xe3)],_0x44e4e6['YyYsm']))&&(logger['warn'](_0x44e4e6[_0x424749(0xe9)]),global[_0x424749(0xd0)]=![]);!(_0x44e4e6['ZytoM'](_0x1ce9d9[_0x424749(0x8d)],_0x44e4e6[_0x424749(0xde)])||_0x44e4e6[_0x424749(0xd8)](_0x1ce9d9[_0x424749(0x8d)],0x5e))&&(logger['warn'](_0x44e4e6['CDHpe']),global['accessibilityPlatform']=![]);!_0x44e4e6[_0x424749(0xa1)](isUndefined,_0x1ce9d9[_0x424749(0xc0)])&&(logger[_0x424749(0x95)](_0x44e4e6[_0x424749(0xa5)]),global[_0x424749(0xd0)]=![]);if(!global[_0x424749(0xd0)]){_0x1ce9d9[_0x44e4e6[_0x424749(0xac)]]=![];const _0x4a976d=_0x44e4e6['hiddO'](_0x4d9243,_0x44e4e6[_0x424749(0x97)](encodeURIComponent,JSON[_0x424749(0xdd)](_0x1ce9d9)));_0x55959a&&(_0x55959a[_0x424749(0xbc)][_0x424749(0xbe)][_0x424749(0xec)]['use'][_0x424749(0x91)]['wsEndpoint']=_0x4a976d,_0x55959a['workerInfo']['project'][_0x424749(0xd1)]['connectOptions'][_0x424749(0x94)]=_0x4a976d);}}}catch(_0x2776d1){logger[_0x424749(0xc2)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x424749(0xb1)](_0x2776d1));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x3dd8f=a35_0x2e30;(function(_0x5c9320,_0x2328c4){const _0x4f814f=a35_0x2e30,_0x3074e7=_0x5c9320();while(!![]){try{const _0x55bbb3=-parseInt(_0x4f814f(0x12b))/0x1*(parseInt(_0x4f814f(0x16a))/0x2)+-parseInt(_0x4f814f(0x104))/0x3+-parseInt(_0x4f814f(0xe5))/0x4+-parseInt(_0x4f814f(0x114))/0x5+parseInt(_0x4f814f(0xf4))/0x6*(-parseInt(_0x4f814f(0x138))/0x7)+-parseInt(_0x4f814f(0xd9))/0x8*(-parseInt(_0x4f814f(0x137))/0x9)+parseInt(_0x4f814f(0x135))/0xa;if(_0x55bbb3===_0x2328c4)break;else _0x3074e7['push'](_0x3074e7['shift']());}catch(_0x346864){_0x3074e7['push'](_0x3074e7['shift']());}}}(a35_0x1b75,0x2f7b1));function a35_0x2e30(_0x20d669,_0x3a94e8){const _0x1b7510=a35_0x1b75();return a35_0x2e30=function(_0x2e3082,_0x1c3145){_0x2e3082=_0x2e3082-0xcc;let _0x5b5b2d=_0x1b7510[_0x2e3082];return _0x5b5b2d;},a35_0x2e30(_0x20d669,_0x3a94e8);}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x3dd8f(0x11c)),{format}=require(a35_0x3dd8f(0x11a)),logger=require(a35_0x3dd8f(0x116))[a35_0x3dd8f(0xce)],{default:BrowserStackSetup}=require(a35_0x3dd8f(0xdd)),helper=require(a35_0x3dd8f(0xfe)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x3dd8f(0x145)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x3dd8f(0xcc)),{CrashReporter}=require(a35_0x3dd8f(0x11e)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x3dd8f(0x13e)),{setAccessibilityCapabilities}=require(a35_0x3dd8f(0x143)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x3dd8f(0x159)),getUserPlaywrightConfig=async(_0x3ad06b,_0x18aea2)=>{const _0x3193d9=a35_0x3dd8f,_0x2afb05={'HDJkj':function(_0x4c026a){return _0x4c026a();},'izyyy':function(_0x31e90c,_0x2c7739){return _0x31e90c(_0x2c7739);},'xqsCU':_0x3193d9(0xfd),'sWfWh':'--config='},_0x306386=!helper[_0x3193d9(0x13c)](_0x3ad06b[_0x3193d9(0x169)]),_0x4cf299=_0x306386?path[_0x3193d9(0x140)](process[_0x3193d9(0x10e)](),_0x3ad06b[_0x3193d9(0x169)]):process['cwd'](),{resolveConfigFile:_0x4735b5,resolveConfigLocation:_0x36240b}=helper[_0x3193d9(0x121)]['apply'](null,_0x2afb05[_0x3193d9(0x12c)](getConfigLoaderPath)),_0x4bf7a9=_0x4735b5?_0x2afb05[_0x3193d9(0x102)](_0x4735b5,_0x4cf299):helper[_0x3193d9(0x117)](_0x2afb05[_0x3193d9(0x102)](_0x36240b,_0x4cf299),[_0x2afb05[_0x3193d9(0x113)]]),_0x4b0d9={};if(_0x306386){const _0x398319=_0x18aea2[_0x3193d9(0xf1)](_0xbf5878=>_0xbf5878===_0x3193d9(0x150)||_0xbf5878==='-c'||_0xbf5878[_0x3193d9(0x131)](_0x3193d9(0xcd)));_0x18aea2[_0x3193d9(0xd7)](_0x398319,_0x18aea2[_0x398319][_0x3193d9(0x131)](_0x2afb05[_0x3193d9(0x168)])?0x1:0x2);}const _0x103476={};return _0x103476[_0x3193d9(0xea)]=_0x4bf7a9,_0x103476[_0x3193d9(0x169)]=_0x4b0d9,_0x103476;},handleO11yRerun=_0xdc68d5=>{const _0x387fcf=a35_0x3dd8f,_0x287ffd={};_0x287ffd[_0x387fcf(0xd6)]=function(_0x2a9352,_0x327969){return _0x2a9352!==_0x327969;},_0x287ffd['zSuIa']=_0x387fcf(0x10b),_0x287ffd[_0x387fcf(0x15d)]=_0x387fcf(0x15e);const _0x23b1f0=_0x287ffd,_0x1c368b=helper[_0x387fcf(0x15a)](process['env'][_0x387fcf(0x127)]);if(_0x1c368b){const _0x5522d3=process[_0x387fcf(0x13d)][_0x387fcf(0xd5)],_0x118cad=[];if(_0x23b1f0['tEbnn'](_0x5522d3,_0x23b1f0[_0x387fcf(0x14a)])&&!helper[_0x387fcf(0x13c)](_0x5522d3)){_0x5522d3[_0x387fcf(0xeb)](',')[_0x387fcf(0x112)](_0x132a3d=>{const _0x35004b=_0x387fcf;_0x118cad['push']('('+_0x132a3d[_0x35004b(0x124)]()+')');});const _0x1402cd='^'+_0x118cad['join']('|')+'$';_0xdc68d5[_0x387fcf(0x156)](_0x23b1f0['yoNml'],_0x1402cd);}}},spawnOriginalProcess=_0x2ef6bb=>{const _0x1b04ad=a35_0x3dd8f,_0x463a61={'QYKPy':function(_0x28b873,_0x41726f,_0xdc6fe7,_0x155bdf){return _0x28b873(_0x41726f,_0xdc6fe7,_0x155bdf);},'Ongwu':_0x1b04ad(0xed),'svWJF':_0x1b04ad(0x167),'oIIPB':function(_0x58ad3d,_0x5aeb7d){return _0x58ad3d===_0x5aeb7d;},'jTiBl':'win32','SLXWr':_0x1b04ad(0x12a)};_0x463a61[_0x1b04ad(0xe6)](spawn,_0x463a61['Ongwu'],[_0x463a61[_0x1b04ad(0x107)],..._0x2ef6bb[_0x1b04ad(0xf5)](0x1)],{'shell':_0x463a61['oIIPB'](process['platform'],_0x463a61[_0x1b04ad(0xe2)]),'stdio':_0x463a61['SLXWr'],'cwd':process[_0x1b04ad(0x10e)]()});},isTestCommand=(_0x4d9542,_0x2a6e0e)=>{const _0x245517=a35_0x3dd8f,_0x1f8bab={};_0x1f8bab['uOdHr']=function(_0x3777ab,_0x5293dc){return _0x3777ab>_0x5293dc;},_0x1f8bab[_0x245517(0xfc)]=function(_0x509794,_0x82129c){return _0x509794===_0x82129c;},_0x1f8bab[_0x245517(0x115)]=_0x245517(0xdc);const _0x57606b=_0x1f8bab;if(_0x57606b['uOdHr'](_0x2a6e0e['length'],0x1)&&_0x57606b[_0x245517(0xfc)](_0x2a6e0e[0x1],_0x57606b['Odurm']))return!![];return![];};async function run(_0x4df57b,_0x1ea8a4){const _0x456e2d=a35_0x3dd8f,_0x1c9107={'aJZTx':_0x456e2d(0x11f),'iByij':_0x456e2d(0x15b),'FtBji':function(_0x316e19,_0x442a27){return _0x316e19+_0x442a27;},'XOrIc':_0x456e2d(0xda),'PgKjD':_0x456e2d(0x154),'ztwUr':function(_0x5c4314){return _0x5c4314();},'AtjoU':function(_0x2b5bc7,_0x248034){return _0x2b5bc7+_0x248034;},'oLaKj':_0x456e2d(0xf6),'chFdN':_0x456e2d(0x151),'DmDdn':_0x456e2d(0x141),'eERdH':'--disable-test-observability','rFUlv':function(_0x4fa49b,_0x795f23){return _0x4fa49b>=_0x795f23;},'VvSjy':function(_0x1e96e7,_0x27f2f6){return _0x1e96e7+_0x27f2f6;},'LClgL':_0x456e2d(0x103),'nXSSY':function(_0x2a9d64,_0x523ac4,_0x17ade6){return _0x2a9d64(_0x523ac4,_0x17ade6);},'TfsMj':function(_0x3ff43c,_0x221bd0){return _0x3ff43c(_0x221bd0);},'ILxJF':'BrowserStack\x20config\x20file\x20not\x20found.','tFphT':_0x456e2d(0xf8),'IbeBC':function(_0x977c94,_0x5b7986){return _0x977c94!=_0x5b7986;},'xqdHp':function(_0x74e35f,_0x341516,_0x29972c){return _0x74e35f(_0x341516,_0x29972c);},'JlWEP':function(_0x3350b6,_0x224aca){return _0x3350b6(_0x224aca);},'nRExw':function(_0x20cece,_0x1f2f66){return _0x20cece===_0x1f2f66;},'uiRqP':_0x456e2d(0x10f),'zXAin':function(_0x12c0c0,_0x2cf820){return _0x12c0c0(_0x2cf820);},'rIclF':function(_0x4ee82e,_0x1c2a15){return _0x4ee82e(_0x1c2a15);},'BNnkh':'browserstackSetupConfig.json','kYrIl':function(_0x247b9e,_0x119a80){return _0x247b9e===_0x119a80;},'cuIzL':_0x456e2d(0xcf),'TlfFo':_0x456e2d(0xd0),'mmMjr':function(_0x18a285,_0x10f092){return _0x18a285-_0x10f092;},'thoqO':function(_0x5acc37,_0x2e5ea3){return _0x5acc37+_0x2e5ea3;},'vURAQ':'Updated\x20config\x20file\x20name\x20to\x20-\x20','LncxG':function(_0x4a33dd,_0xf04425){return _0x4a33dd>_0xf04425;},'KkPsA':function(_0x38cfa4,_0x320361,_0xa9616c,_0x352c17){return _0x38cfa4(_0x320361,_0xa9616c,_0x352c17);},'VTWTf':_0x456e2d(0xed),'GwnHO':'playwright','kLUhj':'test','kdaeL':'--config','laMVv':function(_0x1dce85,_0x19bd90){return _0x1dce85===_0x19bd90;},'pWXaQ':_0x456e2d(0xfa),'UfUvW':_0x456e2d(0x12a),'ewVuO':_0x456e2d(0x14d)};!helper['isFalse'](process[_0x456e2d(0x13d)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x456e2d(0x13d)][_0x456e2d(0xf2)]=!![]);process['argv']['includes'](_0x1c9107[_0x456e2d(0x10c)])&&(process['env'][_0x456e2d(0xf2)]=_0x1c9107[_0x456e2d(0xe4)],_0x1ea8a4=_0x1ea8a4[_0x456e2d(0xd4)](_0xeddf1b=>_0xeddf1b!==_0x456e2d(0x151)));const _0x40a808=_0x1ea8a4['indexOf'](_0x1c9107[_0x456e2d(0x160)]);_0x1c9107[_0x456e2d(0xf0)](_0x40a808,0x0)&&(process[_0x456e2d(0x13d)][_0x456e2d(0x110)]=_0x1c9107[_0x456e2d(0xe4)],_0x1ea8a4=_0x1ea8a4[_0x456e2d(0xd4)](_0xd3cab1=>_0xd3cab1!=='--disable-test-observability'));try{const _0x15d215=path[_0x456e2d(0xd8)](helper[_0x456e2d(0xe9)](),_0x1c9107[_0x456e2d(0x142)],_0x1c9107['iByij']);fs[_0x456e2d(0x161)](_0x15d215)&&fs[_0x456e2d(0x123)](_0x15d215);}catch(_0x5d1471){logger[_0x456e2d(0x119)](_0x1c9107[_0x456e2d(0xdb)](_0x1c9107[_0x456e2d(0x12d)],_0x5d1471));}if(!_0x1c9107[_0x456e2d(0x134)](isTestCommand,_0x4df57b,_0x1ea8a4)){_0x1c9107[_0x456e2d(0xef)](spawnOriginalProcess,_0x1ea8a4);return;}const _0x58e7cd=new BrowserStackSetup(_0x4df57b,FRAMEWORKS['PLAYWRIGHT']);if(!_0x58e7cd[_0x456e2d(0x169)]){logger[_0x456e2d(0xfb)](_0x1c9107[_0x456e2d(0x139)]);return;}await _0x58e7cd[_0x456e2d(0x125)]();!helper[_0x456e2d(0x13c)](_0x58e7cd[_0x456e2d(0x152)])&&_0x58e7cd[_0x456e2d(0x152)][_0x456e2d(0xd3)](_0x1c9107[_0x456e2d(0x109)])&&(process[_0x456e2d(0x13d)][_0x456e2d(0xf2)]=_0x58e7cd[_0x456e2d(0x152)][_0x456e2d(0x15f)](_0x1c9107['tFphT'])||!![]);_0x1c9107['IbeBC'](_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0x111)],null)&&!helper[_0x456e2d(0x15a)](process[_0x456e2d(0x13d)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x456e2d(0x13d)][_0x456e2d(0x110)]=process[_0x456e2d(0x13d)][_0x456e2d(0x110)]||_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0x111)]);const _0x57ee54=!helper[_0x456e2d(0xe7)](process['env'][_0x456e2d(0x110)]);let _0x5a42f1=![];_0x58e7cd[_0x456e2d(0x169)]['accessibility']&&(_0x5a42f1=!![],process[_0x456e2d(0x13d)][_0x456e2d(0x13b)]=_0x58e7cd['config'][_0x456e2d(0x165)]);_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0xd1)]&&(process[_0x456e2d(0x13d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x456e2d(0x147)](_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0xd1)]));const _0x217f8d=_0x1ea8a4[_0x456e2d(0x132)](),_0xa4ab96=await _0x1c9107[_0x456e2d(0x14b)](getUserPlaywrightConfig,_0x4df57b,_0x1ea8a4);if(helper[_0x456e2d(0x13c)](_0xa4ab96)){_0x1c9107['TfsMj'](spawnOriginalProcess,_0x217f8d);return;}const _0x725d1a=_0xa4ab96[_0x456e2d(0xea)]?path[_0x456e2d(0x155)](_0xa4ab96[_0x456e2d(0xea)]):process[_0x456e2d(0x10e)]();process['env'][_0x456e2d(0xde)]=_0x725d1a,await TestHubHandler[_0x456e2d(0x153)](FRAMEWORKS[_0x456e2d(0x100)],_0x58e7cd);_0x57ee54&&_0x1c9107[_0x456e2d(0x14e)](handleO11yRerun,_0x1ea8a4);let _0x20234a=_0x1c9107['nRExw'](process['env'][_0x456e2d(0x13b)],_0x1c9107[_0x456e2d(0x101)]);_0x20234a=_0x20234a||_0x1c9107[_0x456e2d(0x14c)](checkAccessibilityPlatformConfig,_0x58e7cd[_0x456e2d(0x169)]),process['env'][_0x456e2d(0x13b)]=_0x20234a;_0x20234a&&_0x1c9107[_0x456e2d(0x166)](setAccessibilityCapabilities,_0x58e7cd[_0x456e2d(0x169)]);const _0x49a11b=path[_0x456e2d(0xd8)](_0xa4ab96[_0x456e2d(0xea)]?path[_0x456e2d(0x155)](_0xa4ab96[_0x456e2d(0xea)]):process[_0x456e2d(0x10e)](),_0x1c9107[_0x456e2d(0x12f)]);fs[_0x456e2d(0x164)](_0x49a11b,helper[_0x456e2d(0x146)](_0x58e7cd[_0x456e2d(0x169)])),process[_0x456e2d(0x13d)][_0x456e2d(0xec)]=_0x49a11b,helper['clearTempPWConfig']();let _0x4c29da='';_0x1c9107['kYrIl'](helper[_0x456e2d(0x158)](),constants[_0x456e2d(0x12e)][_0x456e2d(0x13a)])?_0x4c29da=_0x1c9107[_0x456e2d(0x157)]:_0x4c29da=_0x1c9107[_0x456e2d(0xf7)];let _0x489fd4='';if(helper[_0x456e2d(0x10d)](_0xa4ab96['path'])){_0x489fd4=_0x456e2d(0xf3);const _0x512fa4=_0x4c29da[_0x456e2d(0xeb)]('.');_0x512fa4[_0x1c9107[_0x456e2d(0x11b)](_0x512fa4['length'],0x1)]='ts',_0x4c29da=_0x512fa4[_0x456e2d(0xd8)]('.'),logger[_0x456e2d(0x119)](_0x1c9107[_0x456e2d(0xe1)](_0x1c9107[_0x456e2d(0x14f)],_0x4c29da));}else _0x489fd4='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x24be94=path[_0x456e2d(0xd8)](_0xa4ab96['path']?path[_0x456e2d(0x155)](_0xa4ab96[_0x456e2d(0xea)]):process[_0x456e2d(0x10e)](),_0x4c29da);let _0x12d140=_0xa4ab96['path']?_0xa4ab96[_0x456e2d(0xea)]:'';_0x12d140=_0x1c9107[_0x456e2d(0x11d)](_0x12d140['length'],0x0)?path['resolve'](_0x12d140):'',process[_0x456e2d(0x13d)][_0x456e2d(0x126)]=_0x12d140;const _0x15249d=helper[_0x456e2d(0x105)](_0x58e7cd[_0x456e2d(0x169)]);_0x15249d&&(_0x489fd4=_0x1c9107[_0x456e2d(0xe1)](_0x456e2d(0xff)+_0x15249d+_0x456e2d(0xdf),_0x489fd4));helper['filterBrowserstackArgs']({},_0x1ea8a4),fs['writeFileSync'](_0x24be94,_0x489fd4),helper[_0x456e2d(0x133)]();const _0x8db67b=_0x1c9107[_0x456e2d(0x129)](spawn,_0x1c9107[_0x456e2d(0x136)],[_0x1c9107[_0x456e2d(0x106)],_0x1c9107[_0x456e2d(0x120)],_0x1c9107[_0x456e2d(0xe3)],_0x24be94,..._0x1ea8a4[_0x456e2d(0xf5)](0x2)],{'shell':_0x1c9107['laMVv'](process['platform'],_0x1c9107[_0x456e2d(0x148)]),'stdio':_0x1c9107[_0x456e2d(0xe8)],'cwd':process[_0x456e2d(0x10e)](),'env':Object[_0x456e2d(0xe0)]({},process[_0x456e2d(0x13d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x456e2d(0x13f)](_0x4df57b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0x130)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0x130)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x58e7cd[_0x456e2d(0x169)][_0x456e2d(0x149)]})}),_0x558ad6=()=>{const _0x6757de=_0x456e2d;try{const _0x136ee9=path[_0x6757de(0xd8)](helper['homedir'](),_0x1c9107[_0x6757de(0x142)],_0x1c9107[_0x6757de(0x15c)]);if(fs[_0x6757de(0x161)](_0x136ee9)){let _0x448e40=fs[_0x6757de(0x163)](_0x136ee9);_0x448e40=JSON[_0x6757de(0x108)](_0x448e40),_0x58e7cd['errorMessage']=_0x448e40,fs['unlinkSync'](_0x136ee9);}}catch(_0xa94557){logger[_0x6757de(0x119)](_0x1c9107['FtBji'](_0x1c9107['XOrIc'],_0xa94557));}};_0x8db67b['on'](_0x1c9107[_0x456e2d(0x122)],async _0x50312d=>{const _0x4d1506=_0x456e2d;try{const _0x28e9ba=_0x1c9107[_0x4d1506(0x128)][_0x4d1506(0xeb)]('|');let _0x532c13=0x0;while(!![]){switch(_0x28e9ba[_0x532c13++]){case'0':_0x1c9107[_0x4d1506(0xee)](_0x558ad6);continue;case'1':process[_0x4d1506(0x10a)]=_0x50312d;continue;case'2':await TestHubHandler[_0x4d1506(0xd2)]();continue;case'3':fs[_0x4d1506(0x123)](_0x49a11b);continue;case'4':logger[_0x4d1506(0x118)](_0x4d1506(0xf9)+_0x24be94);continue;case'5':await utilities['finalExecution'](_0x58e7cd);continue;case'6':logger[_0x4d1506(0x119)](_0x4d1506(0x162)+_0x50312d);continue;case'7':fs['unlinkSync'](_0x24be94);continue;case'8':logger[_0x4d1506(0x119)](_0x4d1506(0xf9)+_0x49a11b);continue;}break;}}catch(_0x42b104){logger[_0x4d1506(0x119)](_0x1c9107['AtjoU'](_0x1c9107[_0x4d1506(0x144)],_0x42b104));}});}function a35_0x1b75(){const _0x3e064a=['push','cuIzL','getPackageType','../../helpers/testhub/utils','isTrue','pw_result.json','iByij','yoNml','--grep','get','eERdH','existsSync','Playwright\x20process\x20exited\x20with\x20code\x20','readFileSync','writeFileSync','accessibility','rIclF','playwright','sWfWh','config','78418OXivJi','./reporter/pwUtils','--config=','winstonLogger','playwright-browserstack-sdk.config.cjs','playwright-browserstack-sdk.config.js','accessibilityOptions','stop','has','filter','BROWSERSTACK_RERUN_TESTS','tEbnn','splice','join','742720OrwrKg','Error\x20in\x20getting\x20funnel\x20data\x20results','VvSjy','test','../../helpers/BrowserStackSetup','BROWSERSTACK_PW_CONFIG_DIR','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','assign','thoqO','jTiBl','kdaeL','DmDdn','221408INjyeF','QYKPy','isFalse','UfUvW','homedir','path','split','BROWSERSTACK_SETUP_CONFIG_PATH','npx','ztwUr','TfsMj','rFUlv','findIndex','BROWSERSTACK_AUTOMATION','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','6uxIlch','slice','Error\x20in\x20closing\x20playwright','TlfFo','automation','Deleting\x20','win32','error','mxZHG','resolvedConfigFile','../../helpers/helper','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','PLAYWRIGHT','uiRqP','izyyy','Error\x20in\x20deleting\x20playwright\x20results','521874MZyWbm','getProxyUrl','GwnHO','svWJF','parse','tFphT','exitCode','null','chFdN','isTypescriptProject','cwd','true','BROWSERSTACK_TEST_OBSERVABILITY','testObservability','map','xqsCU','107635NZKWib','Odurm','../../helpers/logger','nestedKeyValue','info','debug','util','mmMjr','child_process','LncxG','../../helpers/test-observability/error-handler','.browserstack','kLUhj','requirePWModule','ewVuO','unlinkSync','trim','initialize','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_RERUN','PgKjD','KkPsA','inherit','1LlYHRD','HDJkj','LClgL','PACKAGE_TYPE','BNnkh','testContextOptions','startsWith','concat','markSDKSetupComplete','nXSSY','4725080zqhqwU','VTWTf','9MXpXaZ','565747LkQhNx','ILxJF','MODULE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isUndefined','env','../../helpers/accessibility-automation/helper','getConfigPath','resolve','false','aJZTx','./accessibility-helper','oLaKj','../../helpers/test-observability/constants','serializeToYamlString','stringify','pWXaQ','logLevel','zSuIa','xqdHp','zXAin','close','JlWEP','vURAQ','--config','--disable-browserstack-automation','cliConfig','launchBuild','0|2|5|1|6|4|7|8|3','dirname'];a35_0x1b75=function(){return _0x3e064a;};return a35_0x1b75();}module['exports']=run;
2
+ 'use strict';function a35_0x4384(_0x38f770,_0x52b6ad){const _0x356f91=a35_0x356f();return a35_0x4384=function(_0x438493,_0x457e2d){_0x438493=_0x438493-0x70;let _0x513529=_0x356f91[_0x438493];return _0x513529;},a35_0x4384(_0x38f770,_0x52b6ad);}const a35_0x4146e7=a35_0x4384;(function(_0x51db45,_0x237120){const _0x4eb922=a35_0x4384,_0x3f5709=_0x51db45();while(!![]){try{const _0x40ea12=parseInt(_0x4eb922(0x72))/0x1+-parseInt(_0x4eb922(0xd1))/0x2+-parseInt(_0x4eb922(0x7c))/0x3*(parseInt(_0x4eb922(0xf9))/0x4)+parseInt(_0x4eb922(0xb5))/0x5*(-parseInt(_0x4eb922(0xc4))/0x6)+parseInt(_0x4eb922(0xb0))/0x7+parseInt(_0x4eb922(0x100))/0x8*(parseInt(_0x4eb922(0xa2))/0x9)+parseInt(_0x4eb922(0xd2))/0xa*(-parseInt(_0x4eb922(0xa4))/0xb);if(_0x40ea12===_0x237120)break;else _0x3f5709['push'](_0x3f5709['shift']());}catch(_0x45b4ba){_0x3f5709['push'](_0x3f5709['shift']());}}}(a35_0x356f,0xd1c93));const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x4146e7(0x87)),{format}=require('util'),logger=require(a35_0x4146e7(0x91))['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x4146e7(0xdc)),helper=require(a35_0x4146e7(0xe9)),utilities=require(a35_0x4146e7(0xb2)),constants=require(a35_0x4146e7(0xca)),{FRAMEWORKS}=require(a35_0x4146e7(0xc5)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x4146e7(0x82)),{CrashReporter}=require(a35_0x4146e7(0xb1)),{getFrameworkVersion}=require(a35_0x4146e7(0x81)),{checkAccessibilityPlatformConfig}=require(a35_0x4146e7(0x9e)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x4146e7(0xe0)),getUserPlaywrightConfig=async(_0x3d39d8,_0x1e20e6)=>{const _0x23c838=a35_0x4146e7,_0x11c9d9={'WPvRi':function(_0x203fd8){return _0x203fd8();},'LjDxT':function(_0x5da14f,_0x16b1ce){return _0x5da14f(_0x16b1ce);},'OWPMZ':function(_0x1332cc,_0x371c76){return _0x1332cc(_0x371c76);},'uYPYZ':_0x23c838(0xef),'LgaRI':_0x23c838(0x92)},_0x4a49fb=!helper[_0x23c838(0xc6)](_0x3d39d8['config']),_0x5a9ee0=_0x4a49fb?path['resolve'](process['cwd'](),_0x3d39d8[_0x23c838(0xc3)]):process['cwd'](),{resolveConfigFile:_0x185b33,resolveConfigLocation:_0x5b124c}=helper[_0x23c838(0xa3)][_0x23c838(0xe7)](null,_0x11c9d9[_0x23c838(0xb4)](getConfigLoaderPath)),_0x17a3f8=_0x185b33?_0x11c9d9[_0x23c838(0xa5)](_0x185b33,_0x5a9ee0):helper['nestedKeyValue'](_0x11c9d9[_0x23c838(0x90)](_0x5b124c,_0x5a9ee0),[_0x11c9d9[_0x23c838(0x89)]]),_0x202e08={};if(_0x4a49fb){const _0x3b46b9=_0x1e20e6['findIndex'](_0x512d3e=>_0x512d3e===_0x23c838(0xf1)||_0x512d3e==='-c'||_0x512d3e[_0x23c838(0x7e)](_0x23c838(0x92)));_0x1e20e6[_0x23c838(0x76)](_0x3b46b9,_0x1e20e6[_0x3b46b9][_0x23c838(0x7e)](_0x11c9d9[_0x23c838(0x9d)])?0x1:0x2);}const _0x8df49={};return _0x8df49['path']=_0x17a3f8,_0x8df49['config']=_0x202e08,_0x8df49;},handleO11yRerun=_0x425e41=>{const _0x3ec3a0=a35_0x4146e7,_0x364c35={};_0x364c35[_0x3ec3a0(0xfe)]=function(_0x593371,_0x256abc){return _0x593371!==_0x256abc;},_0x364c35['nxxMj']=_0x3ec3a0(0xda),_0x364c35['bSyWu']='--grep';const _0x512e26=_0x364c35,_0x5a84dc=helper['isTrue'](process[_0x3ec3a0(0xfd)][_0x3ec3a0(0xd6)]);if(_0x5a84dc){const _0x10e809=process[_0x3ec3a0(0xfd)][_0x3ec3a0(0xdb)],_0x338d32=[];if(_0x512e26['GNhvd'](_0x10e809,_0x512e26[_0x3ec3a0(0xc7)])&&!helper['isUndefined'](_0x10e809)){_0x10e809[_0x3ec3a0(0xc0)](',')['map'](_0x2893ae=>{const _0x129e4d=_0x3ec3a0;_0x338d32['push']('('+_0x2893ae[_0x129e4d(0xe4)]()+')');});const _0x56834e='^'+_0x338d32[_0x3ec3a0(0x103)]('|')+'$';_0x425e41[_0x3ec3a0(0x7f)](_0x512e26[_0x3ec3a0(0x77)],_0x56834e);}}},spawnOriginalProcess=_0x3bbbaf=>{const _0x4471c1=a35_0x4146e7,_0x4e603b={'rjSlF':function(_0x2a84c5,_0x267a8f,_0x59a60a,_0x54ffc0){return _0x2a84c5(_0x267a8f,_0x59a60a,_0x54ffc0);},'iRMDy':_0x4471c1(0x10d),'iJXSI':_0x4471c1(0xfc),'HgSRT':function(_0x24ba64,_0x108a4f){return _0x24ba64===_0x108a4f;},'ShNhz':_0x4471c1(0x78),'dvsMP':_0x4471c1(0xf2)};_0x4e603b[_0x4471c1(0xad)](spawn,_0x4e603b[_0x4471c1(0xdd)],[_0x4e603b['iJXSI'],..._0x3bbbaf['slice'](0x1)],{'shell':_0x4e603b[_0x4471c1(0xf8)](process[_0x4471c1(0x80)],_0x4e603b[_0x4471c1(0x10e)]),'stdio':_0x4e603b[_0x4471c1(0xcd)],'cwd':process['cwd']()});},isTestCommand=(_0x5a4f5f,_0x50ce2d)=>{const _0x56be0a=a35_0x4146e7,_0x57f6cc={};_0x57f6cc[_0x56be0a(0xee)]=function(_0x3d7a5f,_0x542e48){return _0x3d7a5f>_0x542e48;},_0x57f6cc[_0x56be0a(0x83)]=function(_0x5896ab,_0x49336a){return _0x5896ab===_0x49336a;},_0x57f6cc[_0x56be0a(0xc1)]='test';const _0x47c405=_0x57f6cc;if(_0x47c405[_0x56be0a(0xee)](_0x50ce2d[_0x56be0a(0xb8)],0x1)&&_0x47c405[_0x56be0a(0x83)](_0x50ce2d[0x1],_0x47c405[_0x56be0a(0xc1)]))return!![];return![];};function a35_0x356f(){const _0x371639=['VGmyM','AaRMa','automation','get','child_process','HQvWM','uYPYZ','USER_CONFIG_DETAILS_PATH','errorMessage','wSXhY','tDVgb','isTypescriptProject','dfJYl','OWPMZ','../../helpers/logger','--config=','fTqJi','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_AUTOMATION','includes','exports','filter','BdRLU','cwd','unlinkSync','sUYbo','LgaRI','../../helpers/accessibility-automation/helper','ydhJJ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getConfigPath','4896477GynqOP','requirePWModule','450769EaTfNZ','LjDxT','Deleting\x20','Aqpkl','writeFileSync','accessibility','error','PLAYWRIGHT','Error\x20in\x20closing\x20playwright','rjSlF','dirname','skipSessionStatus','442064rlXXmr','../../helpers/test-observability/error-handler','../../helpers/utilities','1|2|3|6|7|8|0|4|5','WPvRi','6490qbhfrd','homedir','testObservability','length','kgJRB','.browserstack','path','zEMnS','testContextOptions','logLevel','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','split','acfGx','NMKsI','config','498kKAmNP','../../helpers/test-observability/constants','isUndefined','nxxMj','PACKAGE_TYPE','getPackageType','../utils/constants','WfbWk','accessibilityOptions','dvsMP','debug','RbVEl','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','54418fDNlti','60zhBIsP','OEEEH','initialize','RxyiP','BROWSERSTACK_RERUN','indexOf','resolve','MODULE','null','BROWSERSTACK_RERUN_TESTS','../../helpers/BrowserStackSetup','iRMDy','Sadpe','argv','../../helpers/testhub/utils','vccMw','launchBuild','RPPGJ','trim','slldK','BROWSERSTACK_TEST_OBSERVABILITY','apply','VwTjS','../../helpers/helper','exitCode','browserstackSetupConfig.json','Error\x20in\x20deleting\x20playwright\x20results','iFrdA','Bvnsz','resolvedConfigFile','info','--config','inherit','ChuIF','Error\x20in\x20getting\x20funnel\x20data\x20results','isFalse','vHhsb','--disable-browserstack-automation','HgSRT','120UQGIdT','tdqxE','playwright-browserstack-sdk.config.js','playwright','env','GNhvd','test','16DXkUnh','QeSHf','spVnW','join','isTrue','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','--disable-test-observability','UWXfs','finalExecution','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','clearTempPWConfig','cliConfig','DlQWA','npx','ShNhz','Updated\x20config\x20file\x20name\x20to\x20-\x20','uOzzp','assign','739512EHrYgy','getProxyUrl','parse','has','splice','bSyWu','win32','YkOWP','WOfeg','stop','65067ffxbzW','markSDKSetupComplete','startsWith','push','platform','../../helpers/test-observability/utils','./reporter/pwUtils'];a35_0x356f=function(){return _0x371639;};return a35_0x356f();}async function run(_0x15849a,_0x4afa40){const _0x43b393=a35_0x4146e7,_0x1f3664={'ohlUR':_0x43b393(0xba),'Sadpe':'pw_result.json','DlQWA':function(_0x38d965,_0x48edf5){return _0x38d965+_0x48edf5;},'sUYbo':_0x43b393(0xf4),'ydhJJ':_0x43b393(0xb3),'AaRMa':function(_0x2a0840){return _0x2a0840();},'NMKsI':function(_0x1ea03a,_0x27dc94){return _0x1ea03a+_0x27dc94;},'slldK':_0x43b393(0xac),'QeSHf':'--disable-browserstack-automation','VwTjS':'false','tdqxE':_0x43b393(0x106),'RbVEl':function(_0x4d2f08,_0x2fd5e1){return _0x4d2f08>=_0x2fd5e1;},'vccMw':function(_0x71da7f,_0x524979){return _0x71da7f+_0x524979;},'WOfeg':_0x43b393(0xec),'iFrdA':function(_0x5d2768,_0x32b4f3,_0x317b96){return _0x5d2768(_0x32b4f3,_0x317b96);},'OEEEH':function(_0x534ad6,_0x2f38eb){return _0x534ad6(_0x2f38eb);},'spVnW':'BrowserStack\x20config\x20file\x20not\x20found.','YkOWP':_0x43b393(0x85),'HQvWM':function(_0x291a3b,_0x5c2e67){return _0x291a3b!=_0x5c2e67;},'tDVgb':function(_0x2c6a15,_0x4053d4){return _0x2c6a15===_0x4053d4;},'BAVgx':'true','RxyiP':function(_0x538c59,_0x559528){return _0x538c59(_0x559528);},'ChuIF':_0x43b393(0xeb),'UWXfs':function(_0x5c21de,_0x18026c){return _0x5c21de===_0x18026c;},'WfbWk':_0x43b393(0x94),'zEMnS':_0x43b393(0xfb),'VJBAe':function(_0x18bb9f,_0xb944ba){return _0x18bb9f-_0xb944ba;},'fTqJi':_0x43b393(0x10f),'kgJRB':function(_0x568da0,_0x10c035){return _0x568da0>_0x10c035;},'BdRLU':function(_0x1b7379,_0x3d5606,_0x969621,_0x4da122){return _0x1b7379(_0x3d5606,_0x969621,_0x4da122);},'vHhsb':'npx','IGRLl':_0x43b393(0xfc),'RPPGJ':_0x43b393(0xff),'Aqpkl':_0x43b393(0xf1),'qxVAG':function(_0x2d265a,_0x132002){return _0x2d265a===_0x132002;},'wSXhY':_0x43b393(0x78),'uOzzp':_0x43b393(0xf2),'dfJYl':'close'};!helper[_0x43b393(0xf5)](process[_0x43b393(0xfd)]['BROWSERSTACK_AUTOMATION'])&&(process['env'][_0x43b393(0x95)]=!![]);process[_0x43b393(0xdf)][_0x43b393(0x96)](_0x1f3664[_0x43b393(0x101)])&&(process['env'][_0x43b393(0x95)]=_0x1f3664[_0x43b393(0xe8)],_0x4afa40=_0x4afa40[_0x43b393(0x98)](_0x52c063=>_0x52c063!==_0x43b393(0xf7)));const _0x5c8149=_0x4afa40[_0x43b393(0xd7)](_0x1f3664[_0x43b393(0xfa)]);_0x1f3664[_0x43b393(0xcf)](_0x5c8149,0x0)&&(process[_0x43b393(0xfd)][_0x43b393(0xe6)]=_0x1f3664['VwTjS'],_0x4afa40=_0x4afa40[_0x43b393(0x98)](_0x7db87b=>_0x7db87b!==_0x43b393(0x106)));try{const _0xc88737=path[_0x43b393(0x103)](helper[_0x43b393(0xb6)](),_0x1f3664['ohlUR'],_0x1f3664['Sadpe']);fs['existsSync'](_0xc88737)&&fs[_0x43b393(0x9b)](_0xc88737);}catch(_0x5b2303){logger[_0x43b393(0xce)](_0x1f3664[_0x43b393(0xe1)](_0x1f3664[_0x43b393(0x7a)],_0x5b2303));}if(!_0x1f3664['iFrdA'](isTestCommand,_0x15849a,_0x4afa40)){_0x1f3664[_0x43b393(0xd3)](spawnOriginalProcess,_0x4afa40);return;}const _0x51501b=new BrowserStackSetup(_0x15849a,FRAMEWORKS[_0x43b393(0xab)]);if(!_0x51501b[_0x43b393(0xc3)]){logger[_0x43b393(0xaa)](_0x1f3664[_0x43b393(0x102)]);return;}await _0x51501b[_0x43b393(0xd4)]();!helper[_0x43b393(0xc6)](_0x51501b[_0x43b393(0x10b)])&&_0x51501b['cliConfig'][_0x43b393(0x75)](_0x1f3664[_0x43b393(0x79)])&&(process[_0x43b393(0xfd)][_0x43b393(0x95)]=_0x51501b[_0x43b393(0x10b)][_0x43b393(0x86)](_0x1f3664[_0x43b393(0x79)])||!![]);_0x1f3664[_0x43b393(0x88)](_0x51501b[_0x43b393(0xc3)][_0x43b393(0xb7)],null)&&!helper[_0x43b393(0x104)](process[_0x43b393(0xfd)][_0x43b393(0xe6)])&&(process[_0x43b393(0xfd)][_0x43b393(0xe6)]=process[_0x43b393(0xfd)][_0x43b393(0xe6)]||_0x51501b[_0x43b393(0xc3)][_0x43b393(0xb7)]);const _0x4345ad=!helper[_0x43b393(0xf5)](process[_0x43b393(0xfd)][_0x43b393(0xe6)]);let _0x44457a=![];_0x51501b[_0x43b393(0xc3)][_0x43b393(0xa9)]&&(_0x44457a=!![],process[_0x43b393(0xfd)][_0x43b393(0xa0)]=_0x51501b[_0x43b393(0xc3)]['accessibility']);_0x51501b[_0x43b393(0xc3)][_0x43b393(0xcc)]&&(process[_0x43b393(0xfd)][_0x43b393(0xbf)]=JSON['stringify'](_0x51501b[_0x43b393(0xc3)]['accessibilityOptions']));const _0x2d5bb6=_0x4afa40['concat'](),_0x3a3e0f=await _0x1f3664[_0x43b393(0xed)](getUserPlaywrightConfig,_0x15849a,_0x4afa40);if(helper['isUndefined'](_0x3a3e0f)){_0x1f3664[_0x43b393(0xd3)](spawnOriginalProcess,_0x2d5bb6);return;}const _0xd519c8=_0x3a3e0f['path']?path['dirname'](_0x3a3e0f[_0x43b393(0xbb)]):process[_0x43b393(0x9a)]();process[_0x43b393(0xfd)]['BROWSERSTACK_PW_CONFIG_DIR']=_0xd519c8,await TestHubHandler[_0x43b393(0xe2)](FRAMEWORKS[_0x43b393(0xab)],_0x51501b);_0x4345ad&&_0x1f3664[_0x43b393(0xd3)](handleO11yRerun,_0x4afa40);let _0x8fc2b3=_0x1f3664[_0x43b393(0x8d)](process[_0x43b393(0xfd)][_0x43b393(0xa0)],_0x1f3664['BAVgx']);_0x8fc2b3=_0x8fc2b3||_0x1f3664[_0x43b393(0xd3)](checkAccessibilityPlatformConfig,_0x51501b[_0x43b393(0xc3)]),process[_0x43b393(0xfd)][_0x43b393(0xa0)]=_0x8fc2b3;_0x8fc2b3&&_0x1f3664[_0x43b393(0xd5)](setAccessibilityCapabilities,_0x51501b[_0x43b393(0xc3)]);const _0x2b5043=path[_0x43b393(0x103)](_0x3a3e0f[_0x43b393(0xbb)]?path[_0x43b393(0xae)](_0x3a3e0f['path']):process[_0x43b393(0x9a)](),_0x1f3664[_0x43b393(0xf3)]);fs[_0x43b393(0xa8)](_0x2b5043,helper['serializeToYamlString'](_0x51501b[_0x43b393(0xc3)])),process[_0x43b393(0xfd)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x2b5043,helper[_0x43b393(0x10a)]();let _0x37eccf='';_0x1f3664[_0x43b393(0x107)](helper[_0x43b393(0xc9)](),constants[_0x43b393(0xc8)][_0x43b393(0xd9)])?_0x37eccf=_0x1f3664[_0x43b393(0xcb)]:_0x37eccf=_0x1f3664[_0x43b393(0xbc)];let _0x32175b='';if(helper[_0x43b393(0x8e)](_0x3a3e0f[_0x43b393(0xbb)])){_0x32175b='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x34b460=_0x37eccf[_0x43b393(0xc0)]('.');_0x34b460[_0x1f3664['VJBAe'](_0x34b460[_0x43b393(0xb8)],0x1)]='ts',_0x37eccf=_0x34b460['join']('.'),logger[_0x43b393(0xce)](_0x1f3664[_0x43b393(0xc2)](_0x1f3664[_0x43b393(0x93)],_0x37eccf));}else _0x32175b=_0x43b393(0x109);const _0x5ca493=path['join'](_0x3a3e0f[_0x43b393(0xbb)]?path[_0x43b393(0xae)](_0x3a3e0f[_0x43b393(0xbb)]):process[_0x43b393(0x9a)](),_0x37eccf);let _0x433618=_0x3a3e0f['path']?_0x3a3e0f['path']:'';_0x433618=_0x1f3664[_0x43b393(0xb9)](_0x433618[_0x43b393(0xb8)],0x0)?path[_0x43b393(0xd8)](_0x433618):'',process[_0x43b393(0xfd)][_0x43b393(0x8a)]=_0x433618;const _0x2d8214=helper[_0x43b393(0x73)](_0x51501b[_0x43b393(0xc3)]);_0x2d8214&&(_0x32175b=_0x1f3664[_0x43b393(0xc2)](_0x43b393(0x105)+_0x2d8214+_0x43b393(0xd0),_0x32175b));helper['filterBrowserstackArgs']({},_0x4afa40),fs[_0x43b393(0xa8)](_0x5ca493,_0x32175b),helper[_0x43b393(0x7d)]();const _0x2754a0=_0x1f3664[_0x43b393(0x99)](spawn,_0x1f3664[_0x43b393(0xf6)],[_0x1f3664['IGRLl'],_0x1f3664[_0x43b393(0xe3)],_0x1f3664[_0x43b393(0xa7)],_0x5ca493,..._0x4afa40['slice'](0x2)],{'shell':_0x1f3664['qxVAG'](process[_0x43b393(0x80)],_0x1f3664[_0x43b393(0x8c)]),'stdio':_0x1f3664[_0x43b393(0x70)],'cwd':process[_0x43b393(0x9a)](),'env':Object[_0x43b393(0x71)]({},process[_0x43b393(0xfd)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x43b393(0xa1)](_0x15849a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x51501b['config'][_0x43b393(0xbd)][_0x43b393(0xaf)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x51501b[_0x43b393(0xc3)][_0x43b393(0xbd)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x51501b['config'][_0x43b393(0xbe)]})}),_0x4e45dd=()=>{const _0x321751=_0x43b393;try{const _0x1b4c3c=path[_0x321751(0x103)](helper[_0x321751(0xb6)](),_0x1f3664['ohlUR'],_0x1f3664[_0x321751(0xde)]);if(fs['existsSync'](_0x1b4c3c)){let _0x2a99e3=fs['readFileSync'](_0x1b4c3c);_0x2a99e3=JSON[_0x321751(0x74)](_0x2a99e3),_0x51501b[_0x321751(0x8b)]=_0x2a99e3,fs[_0x321751(0x9b)](_0x1b4c3c);}}catch(_0x772b12){logger['debug'](_0x1f3664[_0x321751(0x10c)](_0x1f3664[_0x321751(0x9c)],_0x772b12));}};_0x2754a0['on'](_0x1f3664[_0x43b393(0x8f)],async _0x4ab928=>{const _0x4f9e05=_0x43b393;try{const _0x45ade6=_0x1f3664[_0x4f9e05(0x9f)][_0x4f9e05(0xc0)]('|');let _0x3b1013=0x0;while(!![]){switch(_0x45ade6[_0x3b1013++]){case'0':fs[_0x4f9e05(0x9b)](_0x5ca493);continue;case'1':_0x1f3664[_0x4f9e05(0x84)](_0x4e45dd);continue;case'2':await TestHubHandler[_0x4f9e05(0x7b)]();continue;case'3':await utilities[_0x4f9e05(0x108)](_0x51501b);continue;case'4':logger[_0x4f9e05(0xce)](_0x4f9e05(0xa6)+_0x2b5043);continue;case'5':fs['unlinkSync'](_0x2b5043);continue;case'6':process[_0x4f9e05(0xea)]=_0x4ab928;continue;case'7':logger[_0x4f9e05(0xce)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x4ab928);continue;case'8':logger[_0x4f9e05(0xf0)](_0x4f9e05(0xa6)+_0x5ca493);continue;}break;}}catch(_0x2226d5){logger[_0x4f9e05(0xce)](_0x1f3664['NMKsI'](_0x1f3664[_0x4f9e05(0xe5)],_0x2226d5));}});}module[a35_0x4146e7(0x97)]=run;
@@ -1 +1 @@
1
- const a36_0x259406=a36_0x4eac;function a36_0x117d(){const _0x3d2d3f=['fork','1744983zOLmHT','debug','ztAjQ','3732619CdymHB','McWTX','../../helpers/logger','PLAYWRIGHT','8XFjGPc','9ObhMhc','24GwXqUo','../../helpers/test-observability/utils','winstonLogger','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','RYNXP','AYLdQ','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','includes','./patches','VpLsF','../../helpers/test-observability/constants','./reporter/pwUtils','24292FUMVDk','767238Utfotx','\x20is\x20not\x20found','496120pLxvsU','BMLAp','error','3383870piFxPr','util','5lsigGJ','child_process','isHandlePWErrorSet','Running\x20existing\x20global\x20setup','Path\x20','14JCdpzZ','Call\x20to\x20child\x20fork\x20with\x20args\x20','apply','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Not\x20able\x20to\x20import\x20globalSetup','LNPSd','1789155eoIlxg','1.33.0','../../helpers/helper','gJvkD','env','exports','toString'];a36_0x117d=function(){return _0x3d2d3f;};return a36_0x117d();}(function(_0x29d15a,_0x57528a){const _0x2c10d4=a36_0x4eac,_0x14c594=_0x29d15a();while(!![]){try{const _0x538482=-parseInt(_0x2c10d4(0x19a))/0x1*(parseInt(_0x2c10d4(0x192))/0x2)+parseInt(_0x2c10d4(0x185))/0x3*(parseInt(_0x2c10d4(0x195))/0x4)+parseInt(_0x2c10d4(0x1a5))/0x5+parseInt(_0x2c10d4(0x193))/0x6*(-parseInt(_0x2c10d4(0x19f))/0x7)+parseInt(_0x2c10d4(0x184))/0x8*(parseInt(_0x2c10d4(0x1ad))/0x9)+parseInt(_0x2c10d4(0x198))/0xa+-parseInt(_0x2c10d4(0x1b0))/0xb*(parseInt(_0x2c10d4(0x186))/0xc);if(_0x538482===_0x57528a)break;else _0x14c594['push'](_0x14c594['shift']());}catch(_0x4a4b00){_0x14c594['push'](_0x14c594['shift']());}}}(a36_0x117d,0x41335));const util=require(a36_0x259406(0x199)),child_process=require(a36_0x259406(0x19b)),{FRAMEWORKS}=require(a36_0x259406(0x190)),{getFrameworkVersion,debug}=require(a36_0x259406(0x187)),helper=require(a36_0x259406(0x1a7)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x259406(0x191)),{mockIsWorkerRedundant}=require(a36_0x259406(0x18e)),logger=require(a36_0x259406(0x1b2))[a36_0x259406(0x188)];function a36_0x4eac(_0x4a3301,_0x3e8e7b){const _0x117d61=a36_0x117d();return a36_0x4eac=function(_0x4eacb3,_0x13560b){_0x4eacb3=_0x4eacb3-0x184;let _0x2515ae=_0x117d61[_0x4eacb3];return _0x2515ae;},a36_0x4eac(_0x4a3301,_0x3e8e7b);}module[a36_0x259406(0x1aa)]=async function(_0x2861e7){const _0xa8d545=a36_0x259406,_0x13aa63={'McWTX':function(_0x19a506,_0x12214b){return _0x19a506(_0x12214b);},'VpLsF':function(_0x39a5f2){return _0x39a5f2();},'lRWCD':'./mock-process.js','BMLAp':function(_0x136588){return _0x136588();},'AYLdQ':function(_0x7b4a07){return _0x7b4a07();},'ojihA':_0xa8d545(0x19d),'HAzuL':function(_0x3fb484){return _0x3fb484();},'LNPSd':function(_0xee93bd,_0x58f97d){return _0xee93bd>=_0x58f97d;},'LBxAa':_0xa8d545(0x1a6),'EWDzM':function(_0x63283f,_0x5e9e31,_0x37e9bb){return _0x63283f(_0x5e9e31,_0x37e9bb);},'ztAjQ':function(_0x15918f,_0x307dd4){return _0x15918f!==_0x307dd4;},'gJvkD':'function','RDwuF':_0xa8d545(0x1a3),'RYNXP':function(_0x8c0e64,_0x5516c5){return _0x8c0e64(_0x5516c5);}},_0x2b3566=child_process['fork'];if(helper[_0xa8d545(0x19c)]())try{_0x13aa63[_0xa8d545(0x18b)](mockIsWorkerRedundant);}catch(_0x5cb2ee){logger[_0xa8d545(0x1ae)](_0xa8d545(0x189)+util['format'](_0x5cb2ee));}child_process[_0xa8d545(0x1ac)]=function(){const _0x2d07eb=_0xa8d545;return _0x13aa63[_0x2d07eb(0x1b1)](debug,_0x2d07eb(0x1a0)+arguments[0x0]),arguments[0x0][_0x2d07eb(0x18d)](_0x13aa63[_0x2d07eb(0x18f)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x13aa63['lRWCD']):logger[_0x2d07eb(0x197)](_0x2d07eb(0x19e)+_0x13aa63[_0x2d07eb(0x196)](getForkProcessPath)+_0x2d07eb(0x194)),_0x2b3566['apply'](null,arguments);};if(process[_0xa8d545(0x1a9)][_0xa8d545(0x1a2)]){_0x13aa63[_0xa8d545(0x1b1)](debug,_0x13aa63['ojihA']);try{const {loadGlobalHook:_0x41f373}=helper['requirePWModule'][_0xa8d545(0x1a1)](null,_0x13aa63['HAzuL'](getLoadUtilsPath)),_0x25e60c=_0x13aa63['McWTX'](getFrameworkVersion,FRAMEWORKS[_0xa8d545(0x1b3)]);let _0x2abc27=_0x2861e7;if(_0x13aa63[_0xa8d545(0x1a4)](helper['compareVersions'](_0x25e60c,_0x13aa63['LBxAa']),0x0)){const _0x302b60={};_0x302b60['config']=_0x2861e7,_0x2abc27=_0x302b60;}const _0x1b627f=await _0x13aa63['EWDzM'](_0x41f373,_0x2abc27,process[_0xa8d545(0x1a9)][_0xa8d545(0x1a2)]);if(_0x13aa63[_0xa8d545(0x1af)](typeof _0x1b627f,_0x13aa63[_0xa8d545(0x1a8)]))throw new Error(_0x13aa63['RDwuF']);return _0x1b627f[_0xa8d545(0x1a1)](null,arguments);}catch(_0x3ed2b1){_0x13aa63[_0xa8d545(0x18a)](debug,_0xa8d545(0x18c)+_0x3ed2b1[_0xa8d545(0x1ab)]());}}};
1
+ function a36_0x4bd6(){const _0xd27890=['error','isHandlePWErrorSet','Call\x20to\x20child\x20fork\x20with\x20args\x20','1.33.0','2965662DxfEMT','RJlRM','includes','COdHJ','RZDop','MjvCk','config','32eSBkDe','exports','compareVersions','util','CYfTO','env','hhUyi','Not\x20able\x20to\x20import\x20globalSetup','djOqH','./mock-process.js','fork','./patches','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','toString','424840oAZHVs','33799370aKoulp','2070876rKPunx','debug','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','format','./reporter/pwUtils','emTtb','CyHFd','GcUmU','PLAYWRIGHT','4188516ITdbsb','7839770zMvgVf','\x20is\x20not\x20found','768ShKILj','LbLoA','winstonLogger','apply','1vnXiFj','child_process','../../helpers/logger','Running\x20existing\x20global\x20setup','1526eMVqSV','../../helpers/helper','NzXrE'];a36_0x4bd6=function(){return _0xd27890;};return a36_0x4bd6();}const a36_0x52a6b8=a36_0x10d2;function a36_0x10d2(_0x3675bc,_0x522b8b){const _0x4bd6c3=a36_0x4bd6();return a36_0x10d2=function(_0x10d21b,_0x4165ab){_0x10d21b=_0x10d21b-0x189;let _0x241762=_0x4bd6c3[_0x10d21b];return _0x241762;},a36_0x10d2(_0x3675bc,_0x522b8b);}(function(_0x17562c,_0x4540d4){const _0x534067=a36_0x10d2,_0x288622=_0x17562c();while(!![]){try{const _0x3abed8=parseInt(_0x534067(0x18b))/0x1*(-parseInt(_0x534067(0x1ad))/0x2)+parseInt(_0x534067(0x1b6))/0x3+parseInt(_0x534067(0x1ab))/0x4+-parseInt(_0x534067(0x1b7))/0x5+-parseInt(_0x534067(0x1b9))/0x6*(parseInt(_0x534067(0x18f))/0x7)+parseInt(_0x534067(0x19d))/0x8*(-parseInt(_0x534067(0x196))/0x9)+parseInt(_0x534067(0x1ac))/0xa;if(_0x3abed8===_0x4540d4)break;else _0x288622['push'](_0x288622['shift']());}catch(_0xe1fb38){_0x288622['push'](_0x288622['shift']());}}}(a36_0x4bd6,0xe3c57));const util=require(a36_0x52a6b8(0x1a0)),child_process=require(a36_0x52a6b8(0x18c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x52a6b8(0x190)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x52a6b8(0x1b1)),{mockIsWorkerRedundant}=require(a36_0x52a6b8(0x1a8)),logger=require(a36_0x52a6b8(0x18d))[a36_0x52a6b8(0x189)];module[a36_0x52a6b8(0x19e)]=async function(_0x1f3e70){const _0x112ca9=a36_0x52a6b8,_0x455323={'CYfTO':function(_0x1a4bb8,_0x2414ff){return _0x1a4bb8(_0x2414ff);},'COdHJ':function(_0x166d64){return _0x166d64();},'RZDop':_0x112ca9(0x1a6),'CyHFd':function(_0x3ff6d5,_0x1075db){return _0x3ff6d5(_0x1075db);},'GcUmU':_0x112ca9(0x18e),'RJlRM':function(_0x37c787,_0x366071){return _0x37c787>=_0x366071;},'NzXrE':_0x112ca9(0x195),'djOqH':function(_0x5f046e,_0x3a3177,_0x2acd76){return _0x5f046e(_0x3a3177,_0x2acd76);},'LbLoA':function(_0x40d201,_0x103f1c){return _0x40d201!==_0x103f1c;},'emTtb':'function','MjvCk':_0x112ca9(0x1a4),'hhUyi':function(_0x42f2ee,_0x2ce982){return _0x42f2ee(_0x2ce982);}},_0xf0cd26=child_process[_0x112ca9(0x1a7)];if(helper[_0x112ca9(0x193)]())try{_0x455323[_0x112ca9(0x199)](mockIsWorkerRedundant);}catch(_0x39bef1){logger[_0x112ca9(0x1ae)](_0x112ca9(0x1af)+util[_0x112ca9(0x1b0)](_0x39bef1));}child_process['fork']=function(){const _0x122d43=_0x112ca9;return _0x455323['CYfTO'](debug,_0x122d43(0x194)+arguments[0x0]),arguments[0x0][_0x122d43(0x198)](_0x455323[_0x122d43(0x199)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x455323[_0x122d43(0x19a)]):logger[_0x122d43(0x192)]('Path\x20'+_0x455323['COdHJ'](getForkProcessPath)+_0x122d43(0x1b8)),_0xf0cd26[_0x122d43(0x18a)](null,arguments);};if(process[_0x112ca9(0x1a2)][_0x112ca9(0x1a9)]){_0x455323[_0x112ca9(0x1b3)](debug,_0x455323[_0x112ca9(0x1b4)]);try{const {loadGlobalHook:_0x1c6f71}=helper['requirePWModule'][_0x112ca9(0x18a)](null,_0x455323[_0x112ca9(0x199)](getLoadUtilsPath)),_0x1be4b7=_0x455323[_0x112ca9(0x1a1)](getFrameworkVersion,FRAMEWORKS[_0x112ca9(0x1b5)]);let _0x2ed3cf=_0x1f3e70;if(_0x455323[_0x112ca9(0x197)](helper[_0x112ca9(0x19f)](_0x1be4b7,_0x455323[_0x112ca9(0x191)]),0x0)){const _0x234f2e={};_0x234f2e[_0x112ca9(0x19c)]=_0x1f3e70,_0x2ed3cf=_0x234f2e;}const _0x20c264=await _0x455323[_0x112ca9(0x1a5)](_0x1c6f71,_0x2ed3cf,process['env'][_0x112ca9(0x1a9)]);if(_0x455323[_0x112ca9(0x1ba)](typeof _0x20c264,_0x455323[_0x112ca9(0x1b2)]))throw new Error(_0x455323[_0x112ca9(0x19b)]);return _0x20c264[_0x112ca9(0x18a)](null,arguments);}catch(_0x3dbb48){_0x455323[_0x112ca9(0x1a3)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x3dbb48[_0x112ca9(0x1aa)]());}}};