browserstack-node-sdk 1.42.4 → 1.42.6

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 (176) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a34_0x4c6e3f=a34_0x1237;(function(_0x49eb11,_0x5498ab){const _0x414b64=a34_0x1237,_0x48252e=_0x49eb11();while(!![]){try{const _0x4d5982=parseInt(_0x414b64(0x107))/0x1+parseInt(_0x414b64(0x129))/0x2+-parseInt(_0x414b64(0x123))/0x3*(-parseInt(_0x414b64(0xea))/0x4)+parseInt(_0x414b64(0x120))/0x5+-parseInt(_0x414b64(0x11b))/0x6+parseInt(_0x414b64(0x12d))/0x7*(-parseInt(_0x414b64(0xf5))/0x8)+-parseInt(_0x414b64(0x13a))/0x9*(-parseInt(_0x414b64(0xf1))/0xa);if(_0x4d5982===_0x5498ab)break;else _0x48252e['push'](_0x48252e['shift']());}catch(_0x163e8f){_0x48252e['push'](_0x48252e['shift']());}}}(a34_0x331b,0x96729));function a34_0x331b(){const _0x40891e=['path','DpIyO','proxySettings','/session','proxyUrl','getAccessibilityResults','Lmlgu','EyCkq','goog:chromeOptions','kkotw','isPacProxy','EzCGe','6789120IcEeRV','edgeOptions_','getAccessibilityResultsSummary','info','global','2415600WgqUVq','set','ieOptions_','19545wXwLNf','TQOoL','akxqJ','egjke','__drivers','__setBrowserOptions','2462136jEFSDB','4|1|2|5|3|0','MOmSH','firefoxOptions','7vAtKGJ','qTGfi','get','split','CAPABILITY_KEY','ms:edgeOptions','optimalHubUrl','setServer','NEdmR','mergeDeep','../../../helpers/patchHelpers','DmiGn','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','27zXCCvc','keys','../../../helpers/accessibility-automation/helper','options_','OOVay','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../accessibility-automation/helper','Hub\x20url\x20set\x20to\x20','requireHttpClient','safariOptions_','Modifying\x20webdriver\x20builder','capabilities_','TeuqF','emCtG','newHubUrl','browserStackLogLevel','__driver','browserstackAgentObservability','firefoxOptions_','WbEqK','Builder','setCapabilities','originalBuilder','../../../bin/utils/constants','safari.options','ieOptions','../../../helpers/globals','exports','isUndefined','zoujq','build','GZFmP','winstonLogger','overrideGet','IWbBN','push','https://','New\x20hub\x20url\x20set\x20to\x20','then','capability','debug','Setting\x20Browserstack\x20capabilities','chromeOptions_','logLevel','188TxpVTk','se:ieOptions','Pmvdc','getGlobal','edgeOptions','RNZeA','url_','970080BRUuLv','proxy_','/wd/hub','moz:firefoxOptions','5579984FUJfaJ','ychpx','chromeOptions','mCcbs','isBrowserstackInfra','send','setLogLevel','OwQee','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','../../../helpers/helper','AjiUU','quitCount_','caps_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','session_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getRequestOptions','TdMzv','133834JitFyq','__driversArray','object','vXDlg','../../../helpers/logger','requireSeleniumWebdriver','setGlobal','pamdC'];a34_0x331b=function(){return _0x40891e;};return a34_0x331b();}const logger=require(a34_0x4c6e3f(0x10b))[a34_0x4c6e3f(0xde)],helper=require(a34_0x4c6e3f(0xfe)),constants=require(a34_0x4c6e3f(0xd5)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x4c6e3f(0x137)),{setAccessibilityCapabilities,setExtension}=require(a34_0x4c6e3f(0x140)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x4c6e3f(0x13c)),globals=require(a34_0x4c6e3f(0xd8)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x55a7ca,_0x867fc=null,_0x47143f=![])=>{const _0x5e5195=a34_0x4c6e3f,_0x2e5e0d={'AjiUU':function(_0x2810ed,_0x209cbb){return _0x2810ed!==_0x209cbb;},'zoujq':_0x5e5195(0x112),'ychpx':function(_0x2e72cf,_0x144a37){return _0x2e72cf!==_0x144a37;},'DpIyO':function(_0x426ea2,_0x23e0a8){return _0x426ea2+_0x23e0a8;},'VIpiW':function(_0x51cef9,_0x38dafe){return _0x51cef9+_0x38dafe;},'RNZeA':_0x5e5195(0xe2),'NMRZo':_0x5e5195(0xf3),'EzCGe':_0x5e5195(0x117),'Eawmr':_0x5e5195(0xf7),'ZymOv':_0x5e5195(0x132),'IWbBN':_0x5e5195(0xee),'qGpvK':_0x5e5195(0xf4),'MOmSH':_0x5e5195(0x12c),'Hcnvk':_0x5e5195(0xd6),'TQOoL':_0x5e5195(0xeb),'WHFxn':_0x5e5195(0xd7),'qTGfi':function(_0x21fd63,_0x4c453e){return _0x21fd63===_0x4c453e;},'emCtG':_0x5e5195(0x109),'KaeNl':_0x5e5195(0xe7),'pamdC':function(_0x12f5fb,_0x42bc5f,_0x5c06da){return _0x12f5fb(_0x42bc5f,_0x5c06da);},'WbEqK':_0x5e5195(0x133),'egjke':_0x5e5195(0x139),'mCcbs':function(_0x1525a4,_0x3b70e6,_0x33d51e){return _0x1525a4(_0x3b70e6,_0x33d51e);},'akxqJ':function(_0x3af3c3,_0x465edf){return _0x3af3c3(_0x465edf);},'GZFmP':_0x5e5195(0x12a),'QMceQ':_0x5e5195(0x13f),'NEdmR':'isAccessibilityPlatform','TdMzv':function(_0x34a962,_0x2e7add,_0x31fa27){return _0x34a962(_0x2e7add,_0x31fa27);},'OwQee':function(_0x42b358){return _0x42b358();},'DmiGn':function(_0x2093b7,_0x196718){return _0x2093b7(_0x196718);},'bQfHC':function(_0x2c8ad9,_0x2b46cc){return _0x2c8ad9(_0x2b46cc);},'vXDlg':function(_0xf80546,_0x5230a0){return _0xf80546!==_0x5230a0;},'Lmlgu':_0x5e5195(0x102),'YsMGP':_0x5e5195(0xc8)},_0x4a1924=helper[_0x5e5195(0x142)]();let _0x31c88f;try{_0x31c88f=helper[_0x5e5195(0x10c)](),_0x31c88f[_0x5e5195(0xd4)]&&(_0x31c88f[_0x5e5195(0xd2)]=_0x31c88f[_0x5e5195(0xd4)]);}catch(_0x25d462){return;}if(helper[_0x5e5195(0xf9)]()){const _0x2c6d29={};_0x2c6d29[_0x5e5195(0xe9)]=_0x55a7ca[_0x5e5195(0xcd)],helper[_0x5e5195(0xfb)](_0x2c6d29,new Map(),new Map()),logger[_0x5e5195(0x11e)](_0x2e5e0d[_0x5e5195(0x115)]),logger[_0x5e5195(0xe6)](_0x2e5e0d['YsMGP']);}class _0x5ecc1d extends _0x4a1924['HttpClient']{[_0x5e5195(0xfa)](_0x15cff9){const _0x488a5c=_0x5e5195;if(_0x2e5e0d[_0x488a5c(0xff)](_0x15cff9[_0x488a5c(0x10f)],_0x2e5e0d[_0x488a5c(0xdb)])&&_0x2e5e0d[_0x488a5c(0xf6)](global['newHubUrl'],''))try{global[_0x488a5c(0xcc)]=_0x2e5e0d[_0x488a5c(0x110)](_0x2e5e0d['VIpiW'](_0x2e5e0d[_0x488a5c(0xef)],global[_0x488a5c(0xcc)]),_0x2e5e0d['NMRZo']),this[_0x488a5c(0x13d)]=hubAllocator[_0x488a5c(0x105)](global[_0x488a5c(0xcc)]),logger[_0x488a5c(0xe6)](_0x488a5c(0xe3)+global['newHubUrl']),global[_0x488a5c(0xcc)]='';}catch(_0x58327a){logger['error'](_0x58327a);}return super[_0x488a5c(0xfa)](_0x15cff9);}}class _0x29b9a2 extends _0x31c88f[_0x5e5195(0xd2)]{[_0x5e5195(0x134)](){const _0xb0c5a4=_0x5e5195;return this['url_']=helper['getHubUrl'](_0x55a7ca),logger[_0xb0c5a4(0xe6)](_0xb0c5a4(0x141)+this[_0xb0c5a4(0xf0)]),this;}[_0x5e5195(0x128)](_0xd9d388){const _0x56762d=_0x5e5195;let _0x233584={};for(const _0x23ea66 in _0xd9d388){switch(_0x23ea66){case _0x2e5e0d[_0x56762d(0x11a)]:case _0x2e5e0d['Eawmr']:this[_0x56762d(0xe8)]&&(_0x233584=this[_0x56762d(0xe8)][_0x56762d(0x12f)](this[_0x56762d(0xe8)]['CAPABILITY_KEY'])||{},this[_0x56762d(0xe8)][_0x56762d(0x121)](this[_0x56762d(0xe8)][_0x56762d(0x131)],helper['mergeDeep'](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d['ZymOv']:case _0x2e5e0d[_0x56762d(0xe0)]:this['edgeOptions_']&&(_0x233584=this[_0x56762d(0x11c)][_0x56762d(0x12f)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x56762d(0x11c)][_0x56762d(0x121)](this[_0x56762d(0x11c)][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d['qGpvK']:case _0x2e5e0d[_0x56762d(0x12b)]:this['firefoxOptions_']&&(_0x233584=this[_0x56762d(0xd0)]['get'](this[_0x56762d(0xd0)][_0x56762d(0x131)])||{},this[_0x56762d(0xd0)][_0x56762d(0x121)](this[_0x56762d(0xd0)][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d['Hcnvk']:this[_0x56762d(0xc7)]&&(_0x233584=this[_0x56762d(0xc7)][_0x56762d(0x12f)](this[_0x56762d(0xc7)]['CAPABILITY_KEY'])||{},this[_0x56762d(0xc7)][_0x56762d(0x121)](this[_0x56762d(0xc7)][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d[_0x56762d(0x124)]:case _0x2e5e0d['WHFxn']:this[_0x56762d(0x122)]&&(_0x233584=this[_0x56762d(0x122)][_0x56762d(0x12f)](this['ieOptions_'][_0x56762d(0x131)])||{},this[_0x56762d(0x122)][_0x56762d(0x121)](this['ieOptions_'][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;}}}[_0x5e5195(0xd3)](){const _0x25624f=_0x5e5195;return logger[_0x25624f(0xe6)](_0x2e5e0d['KaeNl']),this[_0x25624f(0x128)](_0x55a7ca['capability']),Object[_0x25624f(0x13b)](_0x55a7ca[_0x25624f(0xe5)])['forEach'](_0x3a93a1=>{const _0x29be9b=_0x25624f,_0xb7f727=this['capabilities_'][_0x29be9b(0x12f)](_0x3a93a1);_0x2e5e0d[_0x29be9b(0x12e)](typeof _0xb7f727,_0x2e5e0d[_0x29be9b(0xcb)])?this['capabilities_'][_0x29be9b(0x121)](_0x3a93a1,helper[_0x29be9b(0x136)](_0xb7f727,_0x55a7ca['capability'][_0x3a93a1])):this[_0x29be9b(0xc9)][_0x29be9b(0x121)](_0x3a93a1,_0x55a7ca[_0x29be9b(0xe5)][_0x3a93a1]);}),this;}['build'](){const _0x3b48c4=_0x5e5195,_0x5e27a2={'Pmvdc':_0x2e5e0d[_0x3b48c4(0xd1)],'TeuqF':_0x2e5e0d[_0x3b48c4(0x126)],'OOVay':function(_0x369116,_0x2c779e,_0x379ade){const _0x3166b8=_0x3b48c4;return _0x2e5e0d[_0x3166b8(0xf8)](_0x369116,_0x2c779e,_0x379ade);},'EbdSW':function(_0x3eb144,_0x4e3dcb){const _0x4b8e25=_0x3b48c4;return _0x2e5e0d[_0x4b8e25(0x125)](_0x3eb144,_0x4e3dcb);},'EyCkq':function(_0x1439e6,_0x277cd9,_0x10467a){const _0x1db0b6=_0x3b48c4;return _0x2e5e0d[_0x1db0b6(0x10e)](_0x1439e6,_0x277cd9,_0x10467a);}};if(helper[_0x3b48c4(0xf9)]()){const _0x5ee01e=_0x2e5e0d[_0x3b48c4(0xdd)][_0x3b48c4(0x130)]('|');let _0x2fbfed=0x0;while(!![]){switch(_0x5ee01e[_0x2fbfed++]){case'0':logger['debug'](_0x2e5e0d['QMceQ']);continue;case'1':this[_0x3b48c4(0x134)]();continue;case'2':this[_0x3b48c4(0xd3)]();continue;case'3':globals[_0x3b48c4(0xed)](_0x2e5e0d[_0x3b48c4(0x135)])&&(!_0x2e5e0d[_0x3b48c4(0x106)](setExtension,this,_0x55a7ca)&&globals[_0x3b48c4(0x10d)](_0x2e5e0d['NEdmR'],![]));continue;case'4':_0x2e5e0d[_0x3b48c4(0xfc)](isAccessibilityAutomationSession)&&_0x2e5e0d[_0x3b48c4(0x125)](setAccessibilityCapabilities,_0x55a7ca);continue;case'5':if(helper[_0x3b48c4(0x119)](_0x55a7ca[_0x3b48c4(0x111)]['proxyUrl']))this['agent_']=helper['getHttpAgent'](_0x55a7ca[_0x3b48c4(0x111)][_0x3b48c4(0x113)]);else _0x55a7ca[_0x3b48c4(0x111)][_0x3b48c4(0x113)]&&(this[_0x3b48c4(0xf2)]=_0x55a7ca[_0x3b48c4(0x111)][_0x3b48c4(0x113)],logger[_0x3b48c4(0xe6)]('Proxy\x20set\x20to\x20'+this[_0x3b48c4(0xf2)]));continue;}break;}}const _0x54e1d5=super[_0x3b48c4(0xdc)]();return _0x54e1d5[_0x3b48c4(0x103)][_0x3b48c4(0xe4)](_0x24c41e=>{const _0x44902c=_0x3b48c4;try{const _0x3a79dc=_0x24c41e[_0x44902c(0x101)][_0x44902c(0x12f)](_0x5e27a2[_0x44902c(0xec)]);_0x3a79dc?(logger[_0x44902c(0xe6)](_0x44902c(0xfd)+_0x3a79dc),hubAllocator['updateHubUrl'](_0x3a79dc),helper['storeOptimalHubUrl'](_0x3a79dc)):logger[_0x44902c(0xe6)](_0x5e27a2[_0x44902c(0xca)]);}catch(_0x4b4d03){logger['debug'](_0x44902c(0x104)+_0x4b4d03);}}),_0x54e1d5[_0x3b48c4(0x100)]=0x0,_0x54e1d5[_0x3b48c4(0xe4)]&&_0x54e1d5[_0x3b48c4(0xe4)](_0x485631=>{const _0x1f465b=_0x3b48c4,_0x5aae4a={'kkotw':function(_0x2cb12c,_0x263c3d,_0x2a843e){const _0x49dddc=a34_0x1237;return _0x5e27a2[_0x49dddc(0x13e)](_0x2cb12c,_0x263c3d,_0x2a843e);}};_0x5e27a2[_0x1f465b(0x13e)](overrideQuit,_0x485631,_0x54e1d5),_0x5e27a2['EbdSW'](overrideTakeScreenshot,_0x485631),helper['overrideGet'](_0x485631,_0x55a7ca),_0x5e27a2[_0x1f465b(0x116)](overrideExecute,_0x485631,_0x55a7ca),_0x485631[_0x1f465b(0x11d)]=async()=>{const _0x1dc217=_0x1f465b;return await _0x5e27a2[_0x1dc217(0x13e)](getAccessibilityResultsSummary,_0x485631,global);},_0x485631[_0x1f465b(0x114)]=async()=>{const _0x4cd55c=_0x1f465b;return await _0x5aae4a[_0x4cd55c(0x118)](getAccessibilityResults,_0x485631,global);};}),_0x54e1d5[_0x3b48c4(0x11d)]=async()=>{const _0x22c060=_0x3b48c4;return await _0x2e5e0d[_0x22c060(0x10e)](getAccessibilityResultsSummary,_0x54e1d5,global);},_0x54e1d5[_0x3b48c4(0x114)]=async()=>{const _0x17e570=_0x3b48c4;return await _0x2e5e0d[_0x17e570(0x10e)](getAccessibilityResults,_0x54e1d5,global);},_0x2e5e0d[_0x3b48c4(0x138)](overrideTakeScreenshot,_0x54e1d5),_0x2e5e0d['bQfHC'](overrideQuit,_0x54e1d5),helper[_0x3b48c4(0xdf)](_0x54e1d5,_0x55a7ca),_0x2e5e0d[_0x3b48c4(0xf8)](overrideExecute,_0x54e1d5,_0x55a7ca),helper[_0x3b48c4(0xda)](global[_0x3b48c4(0x108)])&&(global[_0x3b48c4(0x108)]=[]),helper[_0x3b48c4(0xda)](global[_0x3b48c4(0x127)])&&(global[_0x3b48c4(0x127)]=[]),global[_0x3b48c4(0x108)][_0x3b48c4(0xe1)](_0x54e1d5),global[_0x3b48c4(0xce)]=_0x54e1d5,_0x2e5e0d['ychpx'](global['__drivers'],undefined)&&global[_0x3b48c4(0x127)]['push'](_0x54e1d5),_0x867fc&&helper[_0x3b48c4(0xda)](_0x867fc[_0x3b48c4(0x11f)][_0x3b48c4(0x108)])&&(_0x867fc['global'][_0x3b48c4(0x108)]=[]),_0x867fc&&_0x2e5e0d[_0x3b48c4(0x10a)](_0x867fc['global'][_0x3b48c4(0x127)],undefined)&&(_0x867fc[_0x3b48c4(0x11f)][_0x3b48c4(0x127)][_0x3b48c4(0xe1)](_0x54e1d5),_0x867fc['global'][_0x3b48c4(0x108)][_0x3b48c4(0xe1)](_0x54e1d5)),_0x54e1d5;}}return _0x31c88f[_0x5e5195(0xd4)]=_0x31c88f[_0x5e5195(0xd2)],_0x31c88f[_0x5e5195(0xd2)]=_0x29b9a2,_0x4a1924['HttpClient']=_0x5ecc1d,_0x31c88f;};function a34_0x1237(_0x26a4d8,_0x17571a){const _0x331b9b=a34_0x331b();return a34_0x1237=function(_0x123723,_0x508f0b){_0x123723=_0x123723-0xc7;let _0xa67557=_0x331b9b[_0x123723];return _0xa67557;},a34_0x1237(_0x26a4d8,_0x17571a);}module[a34_0x4c6e3f(0xd9)][a34_0x4c6e3f(0xcf)]=modify;
1
+ const a34_0x3956e7=a34_0x2063;(function(_0x5aa811,_0x506e52){const _0x137bce=a34_0x2063,_0x27d5c9=_0x5aa811();while(!![]){try{const _0x55b534=-parseInt(_0x137bce(0x15f))/0x1*(-parseInt(_0x137bce(0x155))/0x2)+parseInt(_0x137bce(0x15b))/0x3*(parseInt(_0x137bce(0x129))/0x4)+parseInt(_0x137bce(0x16e))/0x5*(parseInt(_0x137bce(0x156))/0x6)+-parseInt(_0x137bce(0xf9))/0x7*(parseInt(_0x137bce(0x166))/0x8)+-parseInt(_0x137bce(0x170))/0x9*(-parseInt(_0x137bce(0x104))/0xa)+parseInt(_0x137bce(0x11f))/0xb*(-parseInt(_0x137bce(0x105))/0xc)+parseInt(_0x137bce(0x117))/0xd;if(_0x55b534===_0x506e52)break;else _0x27d5c9['push'](_0x27d5c9['shift']());}catch(_0x3cbec0){_0x27d5c9['push'](_0x27d5c9['shift']());}}}(a34_0x3b56,0xa7837));const logger=require(a34_0x3956e7(0x159))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a34_0x3956e7(0x13e)),hubAllocator=require(a34_0x3956e7(0x142)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x3956e7(0x16d)),{setAccessibilityCapabilities,setExtension}=require(a34_0x3956e7(0x12b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x3956e7(0x144)),globals=require(a34_0x3956e7(0x16f)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x1f91d9,_0x3ed3de=null,_0x418805=![])=>{const _0x313a42=a34_0x3956e7,_0x5f256f={'zCRFj':function(_0x4fee5d,_0x31d3b7){return _0x4fee5d!==_0x31d3b7;},'SdtuL':_0x313a42(0x101),'Ooyoy':function(_0x570123,_0x5e4560){return _0x570123+_0x5e4560;},'QVkzb':_0x313a42(0x13f),'HQnzU':_0x313a42(0x141),'OoODl':_0x313a42(0x113),'SUoKk':_0x313a42(0x153),'bUvUM':_0x313a42(0x11a),'JkuFz':_0x313a42(0x132),'oSJxs':_0x313a42(0x13c),'VTVFQ':_0x313a42(0x14c),'ARVct':'safari.options','hCxSD':_0x313a42(0x103),'zNQGr':'ieOptions','DGTvH':function(_0x5c8bcd,_0x51b25f){return _0x5c8bcd===_0x51b25f;},'DoeHg':_0x313a42(0x128),'TbDhq':_0x313a42(0x10c),'vzSWs':_0x313a42(0x111),'tivqQ':_0x313a42(0xff),'EDGeL':function(_0x4d1e7a,_0x1dc62e,_0x278d74){return _0x4d1e7a(_0x1dc62e,_0x278d74);},'XCXZh':function(_0x182eae,_0x717d99){return _0x182eae(_0x717d99);},'svhTl':function(_0x179bbd,_0x623255,_0x1543a0){return _0x179bbd(_0x623255,_0x1543a0);},'oAKws':_0x313a42(0x136),'uZKWx':_0x313a42(0x126),'sVKSB':'isAccessibilityPlatform','UvyQw':function(_0x1b73d8,_0x534a1a,_0x45b93e){return _0x1b73d8(_0x534a1a,_0x45b93e);},'mmyZX':function(_0x1925b1){return _0x1925b1();},'ukrHM':function(_0x5d0d44,_0x1258c9){return _0x5d0d44(_0x1258c9);},'Uzguf':_0x313a42(0x13a),'iHvlh':'Modifying\x20webdriver\x20builder'},_0x376b95=helper[_0x313a42(0x10a)]();let _0x3d47f8;try{_0x3d47f8=helper['requireSeleniumWebdriver'](),_0x3d47f8[_0x313a42(0x137)]&&(_0x3d47f8[_0x313a42(0x172)]=_0x3d47f8[_0x313a42(0x137)]);}catch(_0x124f93){return;}if(helper[_0x313a42(0x147)]()){const _0x51777e={};_0x51777e[_0x313a42(0x151)]=_0x1f91d9[_0x313a42(0x14a)],helper[_0x313a42(0x121)](_0x51777e,new Map(),new Map()),logger['info'](_0x5f256f[_0x313a42(0x16a)]),logger[_0x313a42(0x14d)](_0x5f256f[_0x313a42(0xfd)]);}class _0x1c763b extends _0x376b95['HttpClient']{[_0x313a42(0x118)](_0x48ca55){const _0x2b323e=_0x313a42;if(_0x5f256f[_0x2b323e(0x14e)](_0x48ca55['path'],_0x5f256f['SdtuL'])&&_0x5f256f[_0x2b323e(0x14e)](global[_0x2b323e(0x143)],''))try{global[_0x2b323e(0x143)]=_0x5f256f[_0x2b323e(0x16b)](_0x5f256f[_0x2b323e(0x16b)](_0x5f256f[_0x2b323e(0x112)],global[_0x2b323e(0x143)]),_0x5f256f['HQnzU']),this[_0x2b323e(0x169)]=hubAllocator[_0x2b323e(0x11e)](global[_0x2b323e(0x143)]),logger[_0x2b323e(0x14d)](_0x2b323e(0x10e)+global[_0x2b323e(0x143)]),global[_0x2b323e(0x143)]='';}catch(_0x4c8914){logger[_0x2b323e(0x10b)](_0x4c8914);}return super[_0x2b323e(0x118)](_0x48ca55);}}class _0x5c2829 extends _0x3d47f8[_0x313a42(0x172)]{[_0x313a42(0x164)](){const _0xe03499=_0x313a42;return this['url_']=helper[_0xe03499(0x146)](_0x1f91d9),logger['debug'](_0xe03499(0x106)+this[_0xe03499(0x157)]),this;}[_0x313a42(0x127)](_0x38b137){const _0x89f76e=_0x313a42;let _0xc2507d={};for(const _0x413177 in _0x38b137){switch(_0x413177){case _0x5f256f[_0x89f76e(0x119)]:case _0x5f256f[_0x89f76e(0xfb)]:this[_0x89f76e(0xfe)]&&(_0xc2507d=this[_0x89f76e(0xfe)][_0x89f76e(0xfa)](this[_0x89f76e(0xfe)][_0x89f76e(0x145)])||{},this[_0x89f76e(0xfe)][_0x89f76e(0x15c)](this[_0x89f76e(0xfe)][_0x89f76e(0x145)],helper['mergeDeep'](_0xc2507d,_0x38b137[_0x413177])));break;case _0x5f256f['bUvUM']:case _0x5f256f['JkuFz']:this[_0x89f76e(0x109)]&&(_0xc2507d=this[_0x89f76e(0x109)][_0x89f76e(0xfa)](this[_0x89f76e(0x109)][_0x89f76e(0x145)])||{},this[_0x89f76e(0x109)]['set'](this['edgeOptions_'][_0x89f76e(0x145)],helper['mergeDeep'](_0xc2507d,_0x38b137[_0x413177])));break;case _0x5f256f[_0x89f76e(0x102)]:case _0x5f256f['VTVFQ']:this[_0x89f76e(0x161)]&&(_0xc2507d=this[_0x89f76e(0x161)][_0x89f76e(0xfa)](this[_0x89f76e(0x161)][_0x89f76e(0x145)])||{},this[_0x89f76e(0x161)][_0x89f76e(0x15c)](this[_0x89f76e(0x161)][_0x89f76e(0x145)],helper['mergeDeep'](_0xc2507d,_0x38b137[_0x413177])));break;case _0x5f256f[_0x89f76e(0x12d)]:this[_0x89f76e(0x100)]&&(_0xc2507d=this['safariOptions_'][_0x89f76e(0xfa)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x89f76e(0x100)][_0x89f76e(0x15c)](this[_0x89f76e(0x100)][_0x89f76e(0x145)],helper[_0x89f76e(0x120)](_0xc2507d,_0x38b137[_0x413177])));break;case _0x5f256f[_0x89f76e(0x150)]:case _0x5f256f[_0x89f76e(0x149)]:this['ieOptions_']&&(_0xc2507d=this[_0x89f76e(0x13b)][_0x89f76e(0xfa)](this[_0x89f76e(0x13b)]['CAPABILITY_KEY'])||{},this['ieOptions_']['set'](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x89f76e(0x120)](_0xc2507d,_0x38b137[_0x413177])));break;}}}['setCapabilities'](){const _0x54908a=_0x313a42;return logger[_0x54908a(0x14d)](_0x5f256f[_0x54908a(0x15a)]),this[_0x54908a(0x127)](_0x1f91d9[_0x54908a(0x163)]),Object[_0x54908a(0x124)](_0x1f91d9[_0x54908a(0x163)])[_0x54908a(0xfc)](_0x5c8803=>{const _0x27697a=_0x54908a,_0x55ecb1=this['capabilities_'][_0x27697a(0xfa)](_0x5c8803);_0x5f256f[_0x27697a(0x11d)](typeof _0x55ecb1,_0x5f256f['DoeHg'])?this[_0x27697a(0x165)][_0x27697a(0x15c)](_0x5c8803,helper[_0x27697a(0x120)](_0x55ecb1,_0x1f91d9[_0x27697a(0x163)][_0x5c8803])):this['capabilities_'][_0x27697a(0x15c)](_0x5c8803,_0x1f91d9[_0x27697a(0x163)][_0x5c8803]);}),this;}['build'](){const _0x28ac87=_0x313a42,_0x14d132={'csbuy':function(_0x4c64e3,_0x3eaa5d,_0x385630){const _0x509e0f=a34_0x2063;return _0x5f256f[_0x509e0f(0x115)](_0x4c64e3,_0x3eaa5d,_0x385630);},'DKmTt':function(_0x4b7a52,_0x277806){const _0x1a3576=a34_0x2063;return _0x5f256f[_0x1a3576(0x14f)](_0x4b7a52,_0x277806);},'svNEb':function(_0x9e3a11,_0x1524de,_0x3decbb){const _0x1654a6=a34_0x2063;return _0x5f256f[_0x1654a6(0x110)](_0x9e3a11,_0x1524de,_0x3decbb);}};if(helper[_0x28ac87(0x147)]()){const _0x441272=_0x5f256f[_0x28ac87(0x116)][_0x28ac87(0x11b)]('|');let _0x5dacd0=0x0;while(!![]){switch(_0x441272[_0x5dacd0++]){case'0':if(helper[_0x28ac87(0x123)](_0x1f91d9[_0x28ac87(0x13d)][_0x28ac87(0x16c)]))this[_0x28ac87(0x12f)]=helper[_0x28ac87(0x12e)](_0x1f91d9['proxySettings'][_0x28ac87(0x16c)]);else _0x1f91d9['proxySettings'][_0x28ac87(0x16c)]&&(this['proxy_']=_0x1f91d9[_0x28ac87(0x13d)][_0x28ac87(0x16c)],logger[_0x28ac87(0x14d)]('Proxy\x20set\x20to\x20'+this[_0x28ac87(0x108)]));continue;case'1':logger['debug'](_0x5f256f['uZKWx']);continue;case'2':this[_0x28ac87(0x164)]();continue;case'3':this[_0x28ac87(0x173)]();continue;case'4':globals['getGlobal'](_0x5f256f[_0x28ac87(0x152)])&&(!_0x5f256f[_0x28ac87(0x171)](setExtension,this,_0x1f91d9)&&globals[_0x28ac87(0x158)](_0x5f256f['sVKSB'],![]));continue;case'5':_0x5f256f[_0x28ac87(0x154)](isAccessibilityAutomationSession)&&_0x5f256f[_0x28ac87(0x148)](setAccessibilityCapabilities,_0x1f91d9);continue;}break;}}const _0x7377b9=super[_0x28ac87(0x10d)]();return _0x7377b9[_0x28ac87(0x135)][_0x28ac87(0x107)](_0x14c12d=>{const _0x2d1d66=_0x28ac87;try{const _0xda110e=_0x14c12d[_0x2d1d66(0x130)]['get'](_0x5f256f[_0x2d1d66(0x15e)]);_0xda110e?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xda110e),hubAllocator[_0x2d1d66(0x15d)](_0xda110e),helper['storeOptimalHubUrl'](_0xda110e)):logger[_0x2d1d66(0x14d)](_0x5f256f[_0x2d1d66(0x162)]);}catch(_0x11426d){logger[_0x2d1d66(0x14d)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x11426d);}}),_0x7377b9[_0x28ac87(0x133)]=0x0,_0x7377b9[_0x28ac87(0x107)]&&_0x7377b9[_0x28ac87(0x107)](_0x1ee93f=>{const _0x4c35e2=_0x28ac87,_0x567e85={'dSOmd':function(_0xbdfd5c,_0x520bf9,_0x1583df){const _0x3ce7c0=a34_0x2063;return _0x14d132[_0x3ce7c0(0x167)](_0xbdfd5c,_0x520bf9,_0x1583df);},'HSugH':function(_0x12d7c4,_0x565b0f,_0x47aafa){const _0x3360ba=a34_0x2063;return _0x14d132[_0x3360ba(0x167)](_0x12d7c4,_0x565b0f,_0x47aafa);}};_0x14d132[_0x4c35e2(0x167)](overrideQuit,_0x1ee93f,_0x7377b9),_0x14d132[_0x4c35e2(0x131)](overrideTakeScreenshot,_0x1ee93f),helper['overrideGet'](_0x1ee93f,_0x1f91d9),_0x14d132[_0x4c35e2(0x134)](overrideExecute,_0x1ee93f,_0x1f91d9),_0x1ee93f[_0x4c35e2(0x11c)]=async()=>{const _0x2d235a=_0x4c35e2;return await _0x567e85[_0x2d235a(0x14b)](getAccessibilityResultsSummary,_0x1ee93f,global);},_0x1ee93f[_0x4c35e2(0x10f)]=async()=>{const _0x172b20=_0x4c35e2;return await _0x567e85[_0x172b20(0x168)](getAccessibilityResults,_0x1ee93f,global);};}),_0x7377b9['getAccessibilityResultsSummary']=async()=>{const _0x557eb6=_0x28ac87;return await _0x5f256f[_0x557eb6(0x115)](getAccessibilityResultsSummary,_0x7377b9,global);},_0x7377b9['getAccessibilityResults']=async()=>{const _0x59747e=_0x28ac87;return await _0x14d132[_0x59747e(0x134)](getAccessibilityResults,_0x7377b9,global);},_0x5f256f[_0x28ac87(0x148)](overrideTakeScreenshot,_0x7377b9),_0x5f256f['ukrHM'](overrideQuit,_0x7377b9),helper[_0x28ac87(0x12a)](_0x7377b9,_0x1f91d9),_0x5f256f[_0x28ac87(0x110)](overrideExecute,_0x7377b9,_0x1f91d9),helper['isUndefined'](global[_0x28ac87(0x122)])&&(global[_0x28ac87(0x122)]=[]),helper['isUndefined'](global[_0x28ac87(0x160)])&&(global[_0x28ac87(0x160)]=[]),global['__driversArray'][_0x28ac87(0x125)](_0x7377b9),global[_0x28ac87(0x114)]=_0x7377b9,_0x5f256f[_0x28ac87(0x14e)](global[_0x28ac87(0x160)],undefined)&&global['__drivers']['push'](_0x7377b9),_0x3ed3de&&helper[_0x28ac87(0x138)](_0x3ed3de[_0x28ac87(0x140)][_0x28ac87(0x122)])&&(_0x3ed3de[_0x28ac87(0x140)][_0x28ac87(0x122)]=[]),_0x3ed3de&&_0x5f256f[_0x28ac87(0x14e)](_0x3ed3de[_0x28ac87(0x140)][_0x28ac87(0x160)],undefined)&&(_0x3ed3de[_0x28ac87(0x140)][_0x28ac87(0x160)][_0x28ac87(0x125)](_0x7377b9),_0x3ed3de[_0x28ac87(0x140)]['__driversArray'][_0x28ac87(0x125)](_0x7377b9)),_0x7377b9;}}return _0x3d47f8[_0x313a42(0x137)]=_0x3d47f8[_0x313a42(0x172)],_0x3d47f8[_0x313a42(0x172)]=_0x5c2829,_0x376b95['HttpClient']=_0x1c763b,_0x3d47f8;};module[a34_0x3956e7(0x139)][a34_0x3956e7(0x12c)]=modify;function a34_0x2063(_0x111663,_0x4c4242){const _0x3b560f=a34_0x3b56();return a34_0x2063=function(_0x2063c1,_0x270927){_0x2063c1=_0x2063c1-0xf9;let _0x438500=_0x3b560f[_0x2063c1];return _0x438500;},a34_0x2063(_0x111663,_0x4c4242);}function a34_0x3b56(){const _0x1760e9=['/wd/hub','../../../hubAllocationMethods','newHubUrl','../../../helpers/accessibility-automation/helper','CAPABILITY_KEY','getHubUrl','isBrowserstackInfra','ukrHM','zNQGr','browserStackLogLevel','dSOmd','firefoxOptions','debug','zCRFj','XCXZh','hCxSD','logLevel','sVKSB','chromeOptions','mmyZX','2FvYLpG','168348CBiLcb','url_','setGlobal','../../../helpers/logger','TbDhq','20271EgMstI','set','updateHubUrl','vzSWs','630185FeWcka','__drivers','firefoxOptions_','tivqQ','capability','setServer','capabilities_','767544dBdlDo','csbuy','HSugH','options_','Uzguf','Ooyoy','proxyUrl','../../../helpers/patchHelpers','145cEASMu','../../../helpers/globals','711225lLJOAJ','UvyQw','Builder','setCapabilities','28dwqgqq','get','SUoKk','forEach','iHvlh','chromeOptions_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','safariOptions_','/session','oSJxs','se:ieOptions','10fyKLHl','8724wLXnbB','Hub\x20url\x20set\x20to\x20','then','proxy_','edgeOptions_','requireHttpClient','error','Setting\x20Browserstack\x20capabilities','build','New\x20hub\x20url\x20set\x20to\x20','getAccessibilityResults','svhTl','optimalHubUrl','QVkzb','goog:chromeOptions','__driver','EDGeL','oAKws','7135661DGdbeZ','send','OoODl','ms:edgeOptions','split','getAccessibilityResultsSummary','DGTvH','getRequestOptions','20680AdQHVX','mergeDeep','setLogLevel','__driversArray','isPacProxy','keys','push','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','__setBrowserOptions','object','216DDEymz','overrideGet','../accessibility-automation/helper','browserstackAgentObservability','ARVct','getHttpAgent','agent_','caps_','DKmTt','edgeOptions','quitCount_','svNEb','session_','5|2|3|0|4|1','originalBuilder','isUndefined','exports','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ieOptions_','moz:firefoxOptions','proxySettings','../../../bin/utils/constants','https://','global'];a34_0x3b56=function(){return _0x1760e9;};return a34_0x3b56();}
@@ -1 +1 @@
1
- const a35_0x2020ef=a35_0x4e0b;function a35_0x4e0b(_0x4c2100,_0x3a0b8c){const _0x39a593=a35_0x39a5();return a35_0x4e0b=function(_0x4e0bd7,_0x2dd2f6){_0x4e0bd7=_0x4e0bd7-0x135;let _0x4008a7=_0x39a593[_0x4e0bd7];return _0x4008a7;},a35_0x4e0b(_0x4c2100,_0x3a0b8c);}(function(_0x404735,_0x376070){const _0x2f8e38=a35_0x4e0b,_0xc6f46e=_0x404735();while(!![]){try{const _0x55e542=parseInt(_0x2f8e38(0x13f))/0x1*(-parseInt(_0x2f8e38(0x143))/0x2)+-parseInt(_0x2f8e38(0x136))/0x3+-parseInt(_0x2f8e38(0x13e))/0x4*(-parseInt(_0x2f8e38(0x13c))/0x5)+-parseInt(_0x2f8e38(0x13a))/0x6*(-parseInt(_0x2f8e38(0x138))/0x7)+-parseInt(_0x2f8e38(0x13b))/0x8+-parseInt(_0x2f8e38(0x142))/0x9*(parseInt(_0x2f8e38(0x139))/0xa)+-parseInt(_0x2f8e38(0x145))/0xb;if(_0x55e542===_0x376070)break;else _0xc6f46e['push'](_0xc6f46e['shift']());}catch(_0x310fd7){_0xc6f46e['push'](_0xc6f46e['shift']());}}}(a35_0x39a5,0x20f41));const requestSpy=require(a35_0x2020ef(0x144)),constants=require(a35_0x2020ef(0x13d)),{addRequestSpy}=require(a35_0x2020ef(0x137));exports[a35_0x2020ef(0x135)]={'beforeAll'(){const _0x21a8e6=a35_0x2020ef,_0x5beb4e={'riTXQ':function(_0x3167a8){return _0x3167a8();}},_0x117777='browserstack internal helper hook';_0x5beb4e[_0x21a8e6(0x141)](addRequestSpy);},'afterAll'(){const _0x367352=a35_0x2020ef,_0xe7aef1='browserstack internal helper hook';this[_0x367352(0x140)](0xea60),requestSpy['restore']();}};function a35_0x39a5(){const _0x49fb0d=['548379xPMQMd','2rPlBIq','../../../helpers/request-spy','655941gQKuKE','mochaHooks','2814NgTbgv','../../../helpers/test-observability/utils','357AIPckM','10OMANQi','28356ehcWUf','627656DASlxz','11715QYtOEt','../../../bin/utils/constants','268FfVBjL','63073jYKuGA','timeout','riTXQ'];a35_0x39a5=function(){return _0x49fb0d;};return a35_0x39a5();}
1
+ function a35_0x2af8(_0x191dde,_0x647544){const _0x29743f=a35_0x2974();return a35_0x2af8=function(_0x2af8be,_0x38aa6){_0x2af8be=_0x2af8be-0xf3;let _0x53fb47=_0x29743f[_0x2af8be];return _0x53fb47;},a35_0x2af8(_0x191dde,_0x647544);}const a35_0x1ebcab=a35_0x2af8;(function(_0x294886,_0x49bdff){const _0x45639a=a35_0x2af8,_0x10bc8a=_0x294886();while(!![]){try{const _0x5dfb53=parseInt(_0x45639a(0xf6))/0x1*(-parseInt(_0x45639a(0xfe))/0x2)+parseInt(_0x45639a(0xfa))/0x3+parseInt(_0x45639a(0xfc))/0x4+-parseInt(_0x45639a(0xf5))/0x5*(-parseInt(_0x45639a(0x100))/0x6)+parseInt(_0x45639a(0xfd))/0x7+-parseInt(_0x45639a(0xf3))/0x8*(parseInt(_0x45639a(0xfb))/0x9)+-parseInt(_0x45639a(0xf7))/0xa;if(_0x5dfb53===_0x49bdff)break;else _0x10bc8a['push'](_0x10bc8a['shift']());}catch(_0xd993cb){_0x10bc8a['push'](_0x10bc8a['shift']());}}}(a35_0x2974,0xcaf4d));const requestSpy=require(a35_0x1ebcab(0xf4)),constants=require(a35_0x1ebcab(0xff)),{addRequestSpy}=require(a35_0x1ebcab(0x101));function a35_0x2974(){const _0x29059c=['18729520jKKJfm','restore','mochaHooks','4360584uhulJj','63rPFQhX','6000056OtkEzF','9962834NzySeU','2LgRQPj','../../../bin/utils/constants','2666046AbnTcs','../../../helpers/test-observability/utils','pgvtn','929192EetRus','../../../helpers/request-spy','5iqBePd','1303841VmAohb'];a35_0x2974=function(){return _0x29059c;};return a35_0x2974();}exports[a35_0x1ebcab(0xf9)]={'beforeAll'(){const _0x2bb765=a35_0x1ebcab,_0x5aac0f={'pgvtn':function(_0x5cb5a4){return _0x5cb5a4();}},_0x59479e='browserstack internal helper hook';_0x5aac0f[_0x2bb765(0x102)](addRequestSpy);},'afterAll'(){const _0x36682c=a35_0x1ebcab,_0xe9a10f='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x36682c(0xf8)]();}};
@@ -1 +1 @@
1
- const a36_0x1ed50c=a36_0x9522;(function(_0x3e8dfc,_0x2e5ca9){const _0x1338be=a36_0x9522,_0x4877df=_0x3e8dfc();while(!![]){try{const _0x5d034f=parseInt(_0x1338be(0x1ab))/0x1+parseInt(_0x1338be(0x1a5))/0x2*(parseInt(_0x1338be(0x1c6))/0x3)+parseInt(_0x1338be(0x1ad))/0x4*(-parseInt(_0x1338be(0x1b6))/0x5)+parseInt(_0x1338be(0x18b))/0x6*(parseInt(_0x1338be(0x19f))/0x7)+parseInt(_0x1338be(0x185))/0x8+-parseInt(_0x1338be(0x1b8))/0x9+-parseInt(_0x1338be(0x1a9))/0xa*(parseInt(_0x1338be(0x195))/0xb);if(_0x5d034f===_0x2e5ca9)break;else _0x4877df['push'](_0x4877df['shift']());}catch(_0x597f19){_0x4877df['push'](_0x4877df['shift']());}}}(a36_0x5f4a,0x3354a));const {v4:uuidv4}=require(a36_0x1ed50c(0x184)),{name,version}=require(a36_0x1ed50c(0x190)),logPatcher=require(a36_0x1ed50c(0x1b1)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a36_0x1ed50c(0x1d2)),{getPlatformVersion}=require(a36_0x1ed50c(0x1b9)),{shouldProcessEventForTesthub}=require(a36_0x1ed50c(0x1bf)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a36_0x9522(_0x3197e5,_0x5c0b41){const _0x5f4a26=a36_0x5f4a();return a36_0x9522=function(_0x95229e,_0x51c63b){_0x95229e=_0x95229e-0x181;let _0x13a900=_0x5f4a26[_0x95229e];return _0x13a900;},a36_0x9522(_0x3197e5,_0x5c0b41);}patchConsoleLogger(),exports[a36_0x1ed50c(0x1b7)]=()=>{const _0xade5ff=a36_0x1ed50c,_0x29eacd={'XICvh':_0xade5ff(0x1bb),'xkHTO':function(_0x4d3483){return _0x4d3483();}};return{'ci':_0x29eacd[_0xade5ff(0x1ca)],'key':_0x29eacd[_0xade5ff(0x1ba)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x10909a=>{const _0x359227=a36_0x1ed50c,_0x393757={};_0x393757['RRelw']=function(_0x253eae,_0x388dda){return _0x253eae!==_0x388dda;},_0x393757[_0x359227(0x194)]=_0x359227(0x192),_0x393757['MAuQB']=function(_0x2c1ca1,_0x4f2a58){return _0x2c1ca1!==_0x4f2a58;},_0x393757[_0x359227(0x199)]=_0x359227(0x1cf),_0x393757[_0x359227(0x1af)]=_0x359227(0x1b2);const _0x3eb944=_0x393757;if(!_0x10909a||_0x3eb944[_0x359227(0x1c7)](typeof _0x10909a,_0x3eb944[_0x359227(0x194)]))return[null,null];if(_0x3eb944['MAuQB'](_0x10909a[_0x359227(0x1b0)](_0x3eb944[_0x359227(0x199)]),-0x1)){const _0x10b875=_0x10909a[_0x359227(0x1a0)](_0x3eb944['GvThO']);return[_0x10b875[0x0][_0x359227(0x1cc)](0x0,-0x1)[_0x359227(0x1a0)]('\x22')[0x1],_0x10b875[0x1]['substring'](0x1)];}else{if(_0x3eb944[_0x359227(0x18f)](_0x10909a['indexOf'](_0x3eb944[_0x359227(0x1af)]),-0x1)){const _0x53ece5=_0x10909a[_0x359227(0x1a0)](_0x3eb944[_0x359227(0x1af)]);return[_0x53ece5[0x0][_0x359227(0x1cc)](0x0,-0x1)[_0x359227(0x1a0)]('\x22')[0x1],_0x10909a];}}return[null,null];},exports[a36_0x1ed50c(0x187)]=_0x5a4ebb=>{const _0x2dbf9c=a36_0x1ed50c,_0x30aeaf={'tQbFu':function(_0x3daf46,_0x2439c5){return _0x3daf46(_0x2439c5);},'aLzyk':'_beforeAll','KTbwI':_0x2dbf9c(0x19d),'CtoEJ':'_beforeEach','SkKsw':'_afterEach'};if(!_0x5a4ebb||!_0x5a4ebb[_0x2dbf9c(0x1d4)])return[];const _0xf88101=[];return[_0x30aeaf[_0x2dbf9c(0x183)],_0x30aeaf[_0x2dbf9c(0x1c2)],_0x30aeaf[_0x2dbf9c(0x1c0)],_0x30aeaf['SkKsw']][_0x2dbf9c(0x1c1)](_0x3299f3=>{const _0x8e6e34=_0x2dbf9c,_0x57d4e2={'VCQMe':function(_0x3364c4,_0x90e861){const _0x3bf845=a36_0x9522;return _0x30aeaf[_0x3bf845(0x18a)](_0x3364c4,_0x90e861);}},_0x1c5276=_0x5a4ebb[_0x8e6e34(0x1d4)][_0x3299f3]||[];_0x1c5276['forEach'](_0x478f88=>{const _0x9a5170=_0x8e6e34;_0x478f88['hookAnalyticsId']&&!_0x57d4e2[_0x9a5170(0x18c)](isInternalHook,_0x478f88['fn'])&&_0xf88101[_0x9a5170(0x1c4)](_0x478f88[_0x9a5170(0x18d)]);});}),[..._0xf88101,...exports[_0x2dbf9c(0x187)](_0x5a4ebb[_0x2dbf9c(0x1d4)])];},exports[a36_0x1ed50c(0x19e)]=_0x1115d9=>{const _0x5a5172=a36_0x1ed50c,_0x283e66={'RJhcV':function(_0x5ec42f){return _0x5ec42f();},'iypHl':function(_0x50a04c,_0x592d75){return _0x50a04c===_0x592d75;},'TVjxW':_0x5a5172(0x1c9),'mLGGK':'_beforeAll','JaZDS':_0x5a5172(0x19d),'nvNpv':_0x5a5172(0x1bc)};if(!_0x1115d9||!_0x1115d9[_0x5a5172(0x1d4)])return;[_0x283e66['mLGGK'],_0x283e66['JaZDS'],_0x283e66[_0x5a5172(0x196)],_0x283e66['TVjxW']][_0x5a5172(0x1c1)](_0x418bca=>{const _0x2b4006=_0x5a5172,_0x547352=_0x1115d9[_0x2b4006(0x1d4)][_0x418bca]||[];_0x547352[_0x2b4006(0x1c1)](_0x2f7b8d=>{const _0x3afa07=_0x2b4006;if(!_0x2f7b8d[_0x3afa07(0x18d)])_0x2f7b8d[_0x3afa07(0x18d)]=_0x283e66[_0x3afa07(0x1be)](uuidv4);else _0x2f7b8d['markedStatus']&&_0x283e66[_0x3afa07(0x18e)](_0x418bca,_0x283e66[_0x3afa07(0x197)])&&(_0x2f7b8d[_0x3afa07(0x18d)]=_0x283e66['RJhcV'](uuidv4),delete _0x2f7b8d['markedStatus']);});}),exports['mapTestHooks'](_0x1115d9[_0x5a5172(0x1d4)]);},exports[a36_0x1ed50c(0x1ce)]=async(_0x1cc71a,_0x319611)=>{const _0x32fffd=a36_0x1ed50c,_0x2fe2cb={'tjQRh':function(_0x4313a8){return _0x4313a8();},'TimBn':function(_0x4fc2ca,_0x6af070){return _0x4fc2ca(_0x6af070);},'nrrBS':_0x32fffd(0x1b3),'mqqdJ':function(_0x165628,_0x335aab){return _0x165628===_0x335aab;},'bRHGd':'browserstack','oSfoA':'unknown_grid','EnyAb':_0x32fffd(0x1a8),'BKtxc':function(_0x565d9f,_0x44123b){return _0x565d9f(_0x44123b);}};try{if(!_0x2fe2cb[_0x32fffd(0x191)](shouldProcessEventForTesthub))return;const _0x352894=await _0x1cc71a['getCapabilities'](),_0x5a1c5f=await _0x1cc71a[_0x32fffd(0x1d0)](),_0x174993={},_0x3f5d25=Object[_0x32fffd(0x1a7)](_0x5a1c5f[_0x32fffd(0x186)]()['map_']),_0x33dbdb={'product':_0x2fe2cb[_0x32fffd(0x1cb)](getObservabilityLinkedProductName,_0x3f5d25),'capabilities':_0x3f5d25,'platform':_0x352894['getPlatform'](),'platform_version':_0x352894['get'](_0x2fe2cb['nrrBS'])?_0x352894[_0x32fffd(0x1c5)](_0x2fe2cb[_0x32fffd(0x1a6)]):_0x2fe2cb[_0x32fffd(0x1cb)](getPlatformVersion,_0x2fe2cb[_0x32fffd(0x1d6)](global[_0x32fffd(0x1ae)],_0x2fe2cb[_0x32fffd(0x1d1)])),'browser':_0x352894['getBrowserName'](),'browser_version':_0x352894[_0x32fffd(0x1b4)](),'session_id':_0x5a1c5f[_0x32fffd(0x1d5)]()};global[_0x32fffd(0x1ae)]?_0x174993[global[_0x32fffd(0x1ae)]]=_0x33dbdb:_0x174993[_0x2fe2cb['oSfoA']]=_0x33dbdb,process[_0x32fffd(0x1a1)](_0x32fffd(0x1a4)+process[_0x32fffd(0x181)],{'timestamp':new Date()[_0x32fffd(0x1d7)](),'level':null,'message':null,'kind':_0x2fe2cb[_0x32fffd(0x19a)],'http_response':_0x174993,'uuid':_0x319611});}catch(_0x33d972){_0x2fe2cb[_0x32fffd(0x1ac)](debug,_0x32fffd(0x1aa)+_0x33d972);}},exports['getHookSkippedTests']=_0x19dc65=>{const _0x2268c1=a36_0x1ed50c,_0x14abca={};_0x14abca[_0x2268c1(0x1a3)]=function(_0x18f9c8,_0x394fd9){return _0x18f9c8!==_0x394fd9;},_0x14abca[_0x2268c1(0x198)]=_0x2268c1(0x1b2),_0x14abca['mzCuK']=_0x2268c1(0x182),_0x14abca['vaUjc']='failed';const _0x331754=_0x14abca,_0x3f5cf6=_0x19dc65[_0x2268c1(0x1cd)][_0x2268c1(0x19b)]((_0x20beb0,_0x5d73af)=>{const _0x494f35=_0x2268c1,_0x50255a=exports[_0x494f35(0x1b5)](_0x5d73af);return _0x50255a&&(_0x20beb0=_0x20beb0['concat'](_0x50255a)),_0x20beb0;},[]),_0x386935=_0x19dc65[_0x2268c1(0x1c3)][_0x2268c1(0x1d3)](_0xec52f9=>{const _0x4aa393=_0x2268c1,_0x471c20=_0x331754[_0x4aa393(0x1a3)](_0xec52f9[_0x4aa393(0x188)],_0x331754[_0x4aa393(0x198)])&&!_0xec52f9[_0x4aa393(0x193)]&&_0x331754[_0x4aa393(0x1a3)](_0xec52f9['state'],_0x331754[_0x4aa393(0x1bd)])&&_0x331754[_0x4aa393(0x1a3)](_0xec52f9[_0x4aa393(0x189)],_0x331754[_0x4aa393(0x1a2)])&&!_0xec52f9[_0x4aa393(0x1c8)];return _0x471c20;});return _0x386935[_0x2268c1(0x19c)](_0x3f5cf6);};function a36_0x5f4a(){const _0x2f0c94=['_beforeEach','mzCuK','RJhcV','../../../helpers/testhub/utils','CtoEJ','forEach','KTbwI','tests','push','get','3acvGgT','RRelw','pending','_afterEach','XICvh','TimBn','slice','suites','sendPlatformDetails','hook:','getSession','bRHGd','../../../helpers/test-observability/constants','filter','parent','toJSON','mqqdJ','toISOString','pid','passed','aLzyk','uuid','2835696nfcDKC','getCapabilities','getHooksForTest','type','state','tQbFu','143886ibZWKz','VCQMe','hookAnalyticsId','iypHl','MAuQB','../../../../package.json','tjQRh','string','markedStatus','nfytz','5882503aZTYLr','nvNpv','TVjxW','ldxWm','GvThO','EnyAb','reduce','concat','_afterAll','mapTestHooks','42XjJKKe','split','emit','vaUjc','aePXY','bs:addPlatformDetails:','787394TwKysV','nrrBS','fromEntries','TEST_PLATFORM','10xxBHRU','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','273777Chcojv','BKtxc','356WQuuuV','__cloud_provider___','hgqUK','indexOf','../../utils/logPatcher','hook','platformVersion','getBrowserVersion','getHookSkippedTests','10515jyFCaw','getTestEnv','2102688LDPwUS','../../../helpers/helper','xkHTO','generic'];a36_0x5f4a=function(){return _0x2f0c94;};return a36_0x5f4a();}
1
+ function a36_0x299e(_0x24c005,_0xbb1051){const _0x5028b7=a36_0x5028();return a36_0x299e=function(_0x299e8d,_0x4f931b){_0x299e8d=_0x299e8d-0x12b;let _0x2bca51=_0x5028b7[_0x299e8d];return _0x2bca51;},a36_0x299e(_0x24c005,_0xbb1051);}const a36_0x573b00=a36_0x299e;function a36_0x5028(){const _0x1632ff=['JBbWg','tYOqr','indexOf','_afterEach','string','SXiRS','hookAnalyticsId','BiPEM','hook','unknown_grid','concat','state','9931248YaOghJ','uuid','FyVXT','7jWGJUc','_beforeAll','bs:addPlatformDetails:','ghmVa','WEfZe','getTestEnv','pending','__cloud_provider___','gmaDk','filter','toJSON','Qxwlr','509346rbcEeA','1143784NNVCUf','8UmFaKs','slice','Poukz','substring','../../../../package.json','ySRrA','rCNaG','ccnbK','hook:','54vYBGaX','ZoghB','../../../helpers/test-observability/utils','43557VSdXTQ','getHookSkippedTests','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','ATlsN','passed','TEST_PLATFORM','../../../helpers/test-observability/constants','get','519420ODZCqk','split','110fjHoxp','fromEntries','10DAfpna','mapTestHooks','../../../helpers/testhub/utils','jDqHs','push','xiwmX','CfyGL','xjpGe','1353428lXDzWE','PXofT','TgOhk','getCapabilities','UemZa','DykKs','getBrowserName','fsGGK','reduce','map_','773196OFhWOe','Tsmho','toISOString','_beforeEach','pid','type','failed','markedStatus','emit','forEach','parent','SFSMs','generic'];a36_0x5028=function(){return _0x1632ff;};return a36_0x5028();}(function(_0x11f197,_0x4a6156){const _0x13ee75=a36_0x299e,_0x53185b=_0x11f197();while(!![]){try{const _0x10b99b=-parseInt(_0x13ee75(0x146))/0x1+-parseInt(_0x13ee75(0x170))/0x2*(parseInt(_0x13ee75(0x17c))/0x3)+-parseInt(_0x13ee75(0x13c))/0x4*(-parseInt(_0x13ee75(0x134))/0x5)+-parseInt(_0x13ee75(0x16e))/0x6*(-parseInt(_0x13ee75(0x162))/0x7)+parseInt(_0x13ee75(0x16f))/0x8*(parseInt(_0x13ee75(0x179))/0x9)+-parseInt(_0x13ee75(0x132))/0xa*(-parseInt(_0x13ee75(0x130))/0xb)+-parseInt(_0x13ee75(0x15f))/0xc;if(_0x10b99b===_0x4a6156)break;else _0x53185b['push'](_0x53185b['shift']());}catch(_0xd35767){_0x53185b['push'](_0x53185b['shift']());}}}(a36_0x5028,0x752f3));const {v4:uuidv4}=require(a36_0x573b00(0x160)),{name,version}=require(a36_0x573b00(0x174)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x573b00(0x17b)),{consoleHolder}=require(a36_0x573b00(0x12e)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x573b00(0x136)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a36_0x573b00(0x167)]=()=>{const _0x3fab12=a36_0x573b00,_0x39c66f={'rCNaG':_0x3fab12(0x152),'ZoghB':function(_0x1f47b3){return _0x1f47b3();}};return{'ci':_0x39c66f[_0x3fab12(0x176)],'key':_0x39c66f[_0x3fab12(0x17a)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x10c198=>{const _0x1f1d1b=a36_0x573b00,_0x31afb9={};_0x31afb9[_0x1f1d1b(0x177)]=function(_0x3ea560,_0x2745ae){return _0x3ea560!==_0x2745ae;},_0x31afb9[_0x1f1d1b(0x13d)]=_0x1f1d1b(0x157),_0x31afb9['JBbWg']=_0x1f1d1b(0x178),_0x31afb9[_0x1f1d1b(0x175)]=function(_0x288bb3,_0x236777){return _0x288bb3!==_0x236777;},_0x31afb9['gmaDk']=_0x1f1d1b(0x15b);const _0x50283c=_0x31afb9;if(!_0x10c198||_0x50283c[_0x1f1d1b(0x177)](typeof _0x10c198,_0x50283c[_0x1f1d1b(0x13d)]))return[null,null];if(_0x50283c[_0x1f1d1b(0x177)](_0x10c198['indexOf'](_0x50283c[_0x1f1d1b(0x153)]),-0x1)){const _0x2e7af0=_0x10c198[_0x1f1d1b(0x131)](_0x50283c[_0x1f1d1b(0x153)]);return[_0x2e7af0[0x0][_0x1f1d1b(0x171)](0x0,-0x1)[_0x1f1d1b(0x131)]('\x22')[0x1],_0x2e7af0[0x1][_0x1f1d1b(0x173)](0x1)];}else{if(_0x50283c['ySRrA'](_0x10c198[_0x1f1d1b(0x155)](_0x50283c[_0x1f1d1b(0x16a)]),-0x1)){const _0x323aaa=_0x10c198[_0x1f1d1b(0x131)](_0x50283c[_0x1f1d1b(0x16a)]);return[_0x323aaa[0x0][_0x1f1d1b(0x171)](0x0,-0x1)[_0x1f1d1b(0x131)]('\x22')[0x1],_0x10c198];}}return[null,null];},exports['getHooksForTest']=_0x1f2fc5=>{const _0x483b7b=a36_0x573b00,_0x4edea4={'XGeEe':function(_0x52c1a4,_0x7b4739){return _0x52c1a4(_0x7b4739);},'SXiRS':_0x483b7b(0x163),'ghmVa':'_afterAll','qgGHu':'_beforeEach','cPASx':'_afterEach'};if(!_0x1f2fc5||!_0x1f2fc5[_0x483b7b(0x150)])return[];const _0x873edc=[];return[_0x4edea4[_0x483b7b(0x158)],_0x4edea4[_0x483b7b(0x165)],_0x4edea4['qgGHu'],_0x4edea4['cPASx']]['forEach'](_0x1aad5a=>{const _0x50594c=_0x483b7b,_0x50c76e={'FyVXT':function(_0x48836,_0x3ac184){return _0x4edea4['XGeEe'](_0x48836,_0x3ac184);}},_0x20dfdd=_0x1f2fc5[_0x50594c(0x150)][_0x1aad5a]||[];_0x20dfdd[_0x50594c(0x14f)](_0x4a794a=>{const _0x35d1a4=_0x50594c;_0x4a794a[_0x35d1a4(0x159)]&&!_0x50c76e[_0x35d1a4(0x161)](isInternalHook,_0x4a794a['fn'])&&_0x873edc[_0x35d1a4(0x138)](_0x4a794a[_0x35d1a4(0x159)]);});}),[..._0x873edc,...exports['getHooksForTest'](_0x1f2fc5['parent'])];},exports[a36_0x573b00(0x135)]=_0x9d78e1=>{const _0x1d8499=a36_0x573b00,_0x188566={'CfyGL':function(_0x2f04b5){return _0x2f04b5();},'skafl':function(_0x4b9f07,_0x3e9df7){return _0x4b9f07===_0x3e9df7;},'Tsmho':_0x1d8499(0x156),'WEfZe':function(_0x1d9813){return _0x1d9813();},'SFSMs':_0x1d8499(0x163),'ygomj':'_afterAll','fsGGK':_0x1d8499(0x149)};if(!_0x9d78e1||!_0x9d78e1['parent'])return;[_0x188566[_0x1d8499(0x151)],_0x188566['ygomj'],_0x188566[_0x1d8499(0x143)],_0x188566[_0x1d8499(0x147)]]['forEach'](_0x37e691=>{const _0x5bd0d4=_0x1d8499,_0x2133ca=_0x9d78e1[_0x5bd0d4(0x150)][_0x37e691]||[];_0x2133ca[_0x5bd0d4(0x14f)](_0x1b2898=>{const _0x2e7429=_0x5bd0d4;if(!_0x1b2898[_0x2e7429(0x159)])_0x1b2898[_0x2e7429(0x159)]=_0x188566[_0x2e7429(0x13a)](uuidv4);else _0x1b2898[_0x2e7429(0x14d)]&&_0x188566['skafl'](_0x37e691,_0x188566[_0x2e7429(0x147)])&&(_0x1b2898[_0x2e7429(0x159)]=_0x188566[_0x2e7429(0x166)](uuidv4),delete _0x1b2898[_0x2e7429(0x14d)]);});}),exports[_0x1d8499(0x135)](_0x9d78e1[_0x1d8499(0x150)]);},exports['sendPlatformDetails']=async(_0x3e728f,_0xcd64ee)=>{const _0x45ea5f=a36_0x573b00,_0x3fa70f={'CrWgu':function(_0x1563f1){return _0x1563f1();},'tYOqr':function(_0x1997fe,_0x5e63a7){return _0x1997fe(_0x5e63a7);},'xjpGe':'platformVersion','TgOhk':function(_0x51d8e8,_0x29fe70){return _0x51d8e8===_0x29fe70;},'xiwmX':'browserstack','jDqHs':_0x45ea5f(0x15c),'UemZa':_0x45ea5f(0x12d),'XoZoU':function(_0x6b685c,_0x1b8eb9){return _0x6b685c(_0x1b8eb9);}};try{if(!_0x3fa70f['CrWgu'](shouldProcessEventForTesthub))return;const _0x5852fd=await _0x3e728f[_0x45ea5f(0x13f)](),_0x5028bc=await _0x3e728f['getSession'](),_0x3750c6={},_0x1f3b80=Object[_0x45ea5f(0x133)](_0x5028bc[_0x45ea5f(0x13f)]()[_0x45ea5f(0x145)]),_0x7e443c={'product':_0x3fa70f[_0x45ea5f(0x154)](getObservabilityLinkedProductName,_0x1f3b80),'capabilities':_0x1f3b80,'platform':_0x5852fd['getPlatform'](),'platform_version':_0x5852fd[_0x45ea5f(0x12f)](_0x3fa70f[_0x45ea5f(0x13b)])?_0x5852fd[_0x45ea5f(0x12f)](_0x3fa70f[_0x45ea5f(0x13b)]):_0x3fa70f[_0x45ea5f(0x154)](getPlatformVersion,_0x3fa70f[_0x45ea5f(0x13e)](global['__cloud_provider___'],_0x3fa70f[_0x45ea5f(0x139)])),'browser':_0x5852fd[_0x45ea5f(0x142)](),'browser_version':_0x5852fd['getBrowserVersion'](),'session_id':_0x5028bc[_0x45ea5f(0x16c)]()};global[_0x45ea5f(0x169)]?_0x3750c6[global[_0x45ea5f(0x169)]]=_0x7e443c:_0x3750c6[_0x3fa70f[_0x45ea5f(0x137)]]=_0x7e443c,process[_0x45ea5f(0x14e)](_0x45ea5f(0x164)+process[_0x45ea5f(0x14a)],{'timestamp':new Date()[_0x45ea5f(0x148)](),'level':null,'message':null,'kind':_0x3fa70f[_0x45ea5f(0x140)],'http_response':_0x3750c6,'uuid':_0xcd64ee});}catch(_0x390300){_0x3fa70f['XoZoU'](debug,_0x45ea5f(0x17e)+_0x390300);}},exports[a36_0x573b00(0x17d)]=_0x3952bd=>{const _0x443a8b=a36_0x573b00,_0x13d438={};_0x13d438[_0x443a8b(0x16d)]=function(_0x52464e,_0x51951c){return _0x52464e!==_0x51951c;},_0x13d438['ATlsN']=_0x443a8b(0x15b),_0x13d438[_0x443a8b(0x172)]=function(_0x3dba52,_0x1439ed){return _0x3dba52!==_0x1439ed;},_0x13d438[_0x443a8b(0x15a)]=_0x443a8b(0x12c),_0x13d438['DykKs']=_0x443a8b(0x14c);const _0x4ee36f=_0x13d438,_0x77a6d9=_0x3952bd['suites'][_0x443a8b(0x144)]((_0x5ee95e,_0x443cc6)=>{const _0x7fcfd6=_0x443a8b,_0x3bde35=exports[_0x7fcfd6(0x17d)](_0x443cc6);return _0x3bde35&&(_0x5ee95e=_0x5ee95e[_0x7fcfd6(0x15d)](_0x3bde35)),_0x5ee95e;},[]),_0x27b7c8=_0x3952bd['tests'][_0x443a8b(0x16b)](_0x44fb74=>{const _0x4e72ba=_0x443a8b,_0x1af298=_0x4ee36f['Qxwlr'](_0x44fb74[_0x4e72ba(0x14b)],_0x4ee36f[_0x4e72ba(0x12b)])&&!_0x44fb74[_0x4e72ba(0x14d)]&&_0x4ee36f[_0x4e72ba(0x172)](_0x44fb74[_0x4e72ba(0x15e)],_0x4ee36f[_0x4e72ba(0x15a)])&&_0x4ee36f['Qxwlr'](_0x44fb74[_0x4e72ba(0x15e)],_0x4ee36f[_0x4e72ba(0x141)])&&!_0x44fb74[_0x4e72ba(0x168)];return _0x1af298;});return _0x27b7c8['concat'](_0x77a6d9);};
@@ -1 +1 @@
1
- const a37_0x55547a=a37_0x5551;(function(_0x556bcb,_0x14a4be){const _0x120bd1=a37_0x5551,_0x480084=_0x556bcb();while(!![]){try{const _0x3da35c=parseInt(_0x120bd1(0x1d2))/0x1*(parseInt(_0x120bd1(0x185))/0x2)+parseInt(_0x120bd1(0x168))/0x3*(parseInt(_0x120bd1(0x1a8))/0x4)+parseInt(_0x120bd1(0x1ae))/0x5+-parseInt(_0x120bd1(0x165))/0x6+-parseInt(_0x120bd1(0x1b7))/0x7+-parseInt(_0x120bd1(0x179))/0x8*(parseInt(_0x120bd1(0x14e))/0x9)+parseInt(_0x120bd1(0x15b))/0xa*(-parseInt(_0x120bd1(0x183))/0xb);if(_0x3da35c===_0x14a4be)break;else _0x480084['push'](_0x480084['shift']());}catch(_0x380f5b){_0x480084['push'](_0x480084['shift']());}}}(a37_0x59c3,0xc47ba));const util=require(a37_0x55547a(0x15f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x55547a(0x1de)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a37_0x55547a(0x190)),{sendPlatformDetails}=require(a37_0x55547a(0x157)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x55547a(0x166)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a37_0x55547a(0x144))['winstonLogger'],{shouldProcessEventForTesthub}=require(a37_0x55547a(0x1e0)),testHubConstants=require(a37_0x55547a(0x19a));function a37_0x5551(_0x11576a,_0x1f82cf){const _0x59c3b2=a37_0x59c3();return a37_0x5551=function(_0x555132,_0x55dadd){_0x555132=_0x555132-0x141;let _0x3907df=_0x59c3b2[_0x555132];return _0x3907df;},a37_0x5551(_0x11576a,_0x1f82cf);}exports[a37_0x55547a(0x1af)]={'beforeAll'(){const _0x28b9a2=a37_0x55547a,_0x37151a={'PyPFK':function(_0x40ec13,_0x4e3d5b,_0x280cf7,_0x58f319){return _0x40ec13(_0x4e3d5b,_0x280cf7,_0x58f319);},'vpTtp':_0x28b9a2(0x162),'CrOEu':_0x28b9a2(0x189),'XnFJH':function(_0x4f63db,_0x454be4,_0x579fa5){return _0x4f63db(_0x454be4,_0x579fa5);},'ceMkz':'passed','UbuZq':function(_0x5a0bdf){return _0x5a0bdf();},'hXqgD':_0x28b9a2(0x1c4),'nSmUl':_0x28b9a2(0x178)};PerformanceTester['startMonitoring']();const _0x2766ea='browserstack internal helper hook';PerformanceTester[_0x28b9a2(0x152)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x594c68=_0x28b9a2,_0x2ebd07={'SFzPO':function(_0x12d778,_0x280ca6,_0xf89ea1,_0x3d0153){const _0x9f85c7=a37_0x5551;return _0x37151a[_0x9f85c7(0x14b)](_0x12d778,_0x280ca6,_0xf89ea1,_0x3d0153);},'kfUdM':_0x37151a[_0x594c68(0x1bd)],'JLBgA':_0x37151a[_0x594c68(0x1a9)],'yTuZu':function(_0x388b26,_0x58a6ec,_0x560a3e){const _0x3abbb0=_0x594c68;return _0x37151a[_0x3abbb0(0x193)](_0x388b26,_0x58a6ec,_0x560a3e);},'YAQSy':_0x37151a[_0x594c68(0x1d7)],'DhiYn':function(_0x1377ce){return _0x37151a['UbuZq'](_0x1377ce);},'TIfeN':function(_0x56030a,_0x5dddbb,_0x4d4a75){const _0x3ac773=_0x594c68;return _0x37151a[_0x3ac773(0x193)](_0x56030a,_0x5dddbb,_0x4d4a75);}};global[_0x594c68(0x1dc)]=[],global[_0x594c68(0x1c7)]=![],global[_0x594c68(0x1b2)]=async()=>{const _0x2ce539=_0x594c68;let _0x5a3971=![];try{await global[_0x2ce539(0x169)][0x0][_0x2ce539(0x1e2)],_0x5a3971=!![],global[_0x2ce539(0x1c7)]?await _0x2ebd07[_0x2ce539(0x19d)](markSessionStatus,global[_0x2ce539(0x169)][0x0],_0x2ebd07['kfUdM'],global[_0x2ce539(0x1dc)][_0x2ce539(0x1a1)](_0x2ebd07[_0x2ce539(0x17d)])):await _0x2ebd07[_0x2ce539(0x18c)](markSessionStatus,global[_0x2ce539(0x169)][0x0],_0x2ebd07['YAQSy']);}catch(_0x469baa){logger['debug'](_0x2ce539(0x176)+_0x469baa);}global[_0x2ce539(0x1dc)]=[],global[_0x2ce539(0x1c7)]=![];if(_0x5a3971)try{try{_0x2ebd07['DhiYn'](shouldProcessEventForTesthub)&&(global[_0x2ce539(0x169)][0x0]&&await _0x2ebd07[_0x2ce539(0x1d3)](sendPlatformDetails,global[_0x2ce539(0x169)][0x0],this['currentTest']?this[_0x2ce539(0x188)]['testAnalyticsId']:null));}catch(_0x21c1f8){logger['debug'](_0x2ce539(0x16d)+_0x21c1f8);}await global[_0x2ce539(0x169)][0x0][_0x2ce539(0x15d)]();}catch(_0x301c2d){logger[_0x2ce539(0x194)](_0x2ce539(0x145)+_0x301c2d);}};},{'platform':_0x37151a[_0x28b9a2(0x193)](nestedKeyValue,global[_0x28b9a2(0x161)],[_0x37151a[_0x28b9a2(0x1c6)]]),'hookType':_0x37151a['nSmUl']})();},'beforeEach'(_0x32809e){const _0x20d52a=a37_0x55547a,_0x27e695={'VpkIF':function(_0x49cf2b,_0x273b1a){return _0x49cf2b>_0x273b1a;},'ZPsKI':'\x20-\x20','UZQJx':function(_0xdead9c,_0x39bebd,_0x4979bd){return _0xdead9c(_0x39bebd,_0x4979bd);},'tUYZv':'bstackA11yShouldScan','GzDOW':function(_0x125ca5){return _0x125ca5();},'YRZnE':_0x20d52a(0x197),'QPxiZ':function(_0x3dfc4a,_0x206d2a){return _0x3dfc4a===_0x206d2a;},'spuUb':'http:','MnvKO':function(_0x5f0522,_0x1931e6){return _0x5f0522===_0x1931e6;},'TnLQc':_0x20d52a(0x158),'nHDnW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','snitX':_0x20d52a(0x1aa),'MKFaN':function(_0x81898e){return _0x81898e();},'NtywC':function(_0x35acba){return _0x35acba();},'YGjvi':_0x20d52a(0x154),'bUAhP':'index','coTai':'beforeEach'};globals[_0x20d52a(0x1a3)](_0x27e695[_0x20d52a(0x1a5)],this[_0x20d52a(0x188)][_0x20d52a(0x181)]()['join'](_0x27e695[_0x20d52a(0x160)])),PerformanceTester[_0x20d52a(0x152)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2dbc7b={'GSyUd':function(_0x4f1cc0){const _0x2caf46=a37_0x5551;return _0x27e695[_0x2caf46(0x1bf)](_0x4f1cc0);}},_0x3a5681='browserstack internal helper hook';new Promise(async _0x3c7ffe=>{const _0x4e90ce=a37_0x5551;let _0x5ec22d=!![];try{_0x27e695[_0x4e90ce(0x1b9)](global[_0x4e90ce(0x169)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x4e90ce(0x169)]['shift']()),_0x27e695[_0x4e90ce(0x1b9)](global[_0x4e90ce(0x169)][0x0][_0x4e90ce(0x182)],0x0)&&(_0x5ec22d=![],await global[_0x4e90ce(0x1b2)]());}catch(_0x3edcf2){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3edcf2);}try{Array[_0x4e90ce(0x19b)](global['__drivers'])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4e90ce(0x1ce)]=this[_0x4e90ce(0x188)][_0x4e90ce(0x181)]()['join'](_0x27e695[_0x4e90ce(0x160)])),global['browserstackSessionName']=this[_0x4e90ce(0x188)][_0x4e90ce(0x181)]()[_0x4e90ce(0x1a1)](_0x27e695[_0x4e90ce(0x160)]);}catch(_0x3c38bb){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3c38bb);}this[_0x4e90ce(0x188)][_0x4e90ce(0x156)]=_0x27e695[_0x4e90ce(0x1e1)](shouldScanTestForAccessibility,this[_0x4e90ce(0x188)][_0x4e90ce(0x181)](),!![]),globals['setGlobal'](_0x27e695[_0x4e90ce(0x18b)],this[_0x4e90ce(0x188)][_0x4e90ce(0x156)]),this[_0x4e90ce(0x188)]['accessibilityScanStarted']=!![];if(_0x27e695[_0x4e90ce(0x1c0)](isAccessibilityAutomationSession)&&_0x5ec22d&&Array[_0x4e90ce(0x19b)](global[_0x4e90ce(0x169)])&&_0x27e695[_0x4e90ce(0x1b9)](global[_0x4e90ce(0x169)][_0x4e90ce(0x18f)],0x0)&&globals['getGlobal'](_0x27e695[_0x4e90ce(0x18d)]))try{const _0x5bc343=await global[_0x4e90ce(0x169)][0x0]['session_'];if(_0x5bc343){let _0xf92677=!![];const _0x484f63=await global['__drivers'][0x0][_0x4e90ce(0x1d4)]();let _0x1b490a;try{_0x1b490a=new URL(_0x484f63);}catch(_0x1d7bbe){_0xf92677=![];}_0xf92677=_0x27e695[_0x4e90ce(0x198)](_0x1b490a[_0x4e90ce(0x142)],_0x27e695[_0x4e90ce(0x1c9)])||_0x27e695[_0x4e90ce(0x1ad)](_0x1b490a[_0x4e90ce(0x142)],_0x27e695[_0x4e90ce(0x173)]),_0xf92677&&(this['currentTest'][_0x4e90ce(0x156)]&&logger[_0x4e90ce(0x1ac)](_0x27e695[_0x4e90ce(0x1bc)])),this['currentTest']['accessibilityScanStarted']=this[_0x4e90ce(0x188)][_0x4e90ce(0x156)],this[_0x4e90ce(0x188)][_0x4e90ce(0x156)]&&logger['info'](_0x27e695[_0x4e90ce(0x1b4)]);}}catch(_0x3d519e){logger[_0x4e90ce(0x174)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4e90ce(0x163)](_0x3d519e));}_0x27e695['MKFaN'](_0x3c7ffe);})['then'](()=>{const _0x19fa61=a37_0x5551;_0x2dbc7b[_0x19fa61(0x1a7)](_0x32809e);});},{'platform':_0x27e695[_0x20d52a(0x1e1)](nestedKeyValue,global[_0x20d52a(0x161)],[_0x27e695[_0x20d52a(0x191)]]),'hookType':_0x27e695[_0x20d52a(0x19f)]})();},'afterEach'(_0x8e731a){const _0x5f15da=a37_0x55547a,_0xab6eb0={'WYQfA':function(_0x48a97b,_0x45e1a6){return _0x48a97b>_0x45e1a6;},'rztqO':function(_0x14f12d,_0xc649a3){return _0x14f12d===_0xc649a3;},'TElTR':_0x5f15da(0x175),'JalDz':function(_0x22dc4a,_0x4c29fa){return _0x22dc4a>_0x4c29fa;},'SSlWS':'appium:app','QtUJo':function(_0x3dadd6,_0x2673b7,_0x3ebcef,_0x2c591c){return _0x3dadd6(_0x2673b7,_0x3ebcef,_0x2c591c);},'xJnLM':'isAccessibilityPlatform','mzfWw':_0x5f15da(0x1b5),'Cmajv':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SDEEk':'Performing\x20scan\x20before\x20saving\x20results','eBVxF':'afterTest','sPSZD':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','AVeTY':function(_0x202a55){return _0x202a55();},'zzGgA':function(_0x23f8da,_0x247d4c,_0x3dd083){return _0x23f8da(_0x247d4c,_0x3dd083);},'EoGdX':function(_0x359785){return _0x359785();},'MIoqr':function(_0x2d6d57,_0x1156e3,_0x567b7c){return _0x2d6d57(_0x1156e3,_0x567b7c);},'Zxufr':_0x5f15da(0x194),'esYLj':function(_0x1645e3){return _0x1645e3();},'pPJzb':_0x5f15da(0x1cf),'WtnAr':function(_0x55f1aa,_0x84c466){return _0x55f1aa!==_0x84c466;},'lgdLs':'passed','PbBHL':function(_0x24a56d,_0x4b2e8b){return _0x24a56d+_0x4b2e8b;},'EWmnY':_0x5f15da(0x14f),'AATCH':'error','TDrfa':function(_0x509934,_0x474e94,_0x33349c){return _0x509934(_0x474e94,_0x33349c);},'KATfE':'Passed','QddaG':'info','jnGoc':'Mocha','jbAXh':function(_0x34f6cf,_0x5681d8,_0x532fde){return _0x34f6cf(_0x5681d8,_0x532fde);},'UbhvP':_0x5f15da(0x1c4),'HFXYh':_0x5f15da(0x187)},_0xc3e3d9='browserstack internal helper hook';this[_0x5f15da(0x159)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xab6eb0['jnGoc']]),global[_0x5f15da(0x1d8)]=this[_0x5f15da(0x188)]['titlePath']()[_0x5f15da(0x1a1)](_0xab6eb0[_0x5f15da(0x1e3)]),PerformanceTester[_0x5f15da(0x152)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5de956=_0x5f15da,_0x22615f={'zwDrI':_0xab6eb0[_0x5de956(0x1e3)],'zAptR':function(_0x20a937,_0xc21e8d){const _0x47ce3c=_0x5de956;return _0xab6eb0[_0x47ce3c(0x171)](_0x20a937,_0xc21e8d);},'dwQEj':_0xab6eb0['lgdLs'],'iuMjQ':function(_0x1540a6,_0x4d66f8,_0x5567d0){const _0x3d48c4=_0x5de956;return _0xab6eb0[_0x3d48c4(0x1a4)](_0x1540a6,_0x4d66f8,_0x5567d0);},'BqAUH':function(_0x25b3de,_0x4ee306){const _0x1dd2f4=_0x5de956;return _0xab6eb0[_0x1dd2f4(0x15e)](_0x25b3de,_0x4ee306);},'rGQEA':_0xab6eb0[_0x5de956(0x1db)],'yvrwO':_0xab6eb0[_0x5de956(0x16b)],'wSyta':function(_0x3ffd9e,_0x3a78f5,_0x57d637){const _0x3ed55d=_0x5de956;return _0xab6eb0[_0x3ed55d(0x1d6)](_0x3ffd9e,_0x3a78f5,_0x57d637);},'XRcmj':_0xab6eb0['KATfE'],'pLyXU':_0xab6eb0[_0x5de956(0x1a0)]},_0x446b4f=async(_0x397836,_0x2c79b8)=>{const _0x1352d7=_0x5de956;await global['__drivers'][0x0][_0x1352d7(0x143)](_0x1352d7(0x184)+_0x397836+',\x22level\x22:\x20\x22'+_0x2c79b8+_0x1352d7(0x1c3));};new Promise(async _0x6b3eba=>{const _0xd632ac=_0x5de956;try{_0xab6eb0[_0xd632ac(0x148)](global[_0xd632ac(0x169)][_0xd632ac(0x18f)],0x1)&&(await global['driverCleanup'](),global[_0xd632ac(0x169)]['shift'](),global['__error_messages__']=[],global[_0xd632ac(0x1c7)]=![]);try{if(global['percy']&&_0xab6eb0[_0xd632ac(0x146)](global[_0xd632ac(0x1c2)],_0xab6eb0['TElTR'])&&global['__drivers'][0x0]){const _0x11d259=_0xab6eb0['JalDz'](global[_0xd632ac(0x1d9)]['length'],0x0)?!!global['capabilities'][0x0][_0xd632ac(0x180)]||!!global['capabilities'][0x0][_0xab6eb0[_0xd632ac(0x141)]]:![],_0x569a2e={};_0x569a2e[_0xd632ac(0x180)]=_0x11d259,await _0xab6eb0[_0xd632ac(0x192)](percyAutoCapture,global[_0xd632ac(0x169)][0x0],_0xab6eb0[_0xd632ac(0x150)],_0x569a2e);}}catch(_0x501151){logger[_0xd632ac(0x194)](_0xd632ac(0x1a2)+_0x501151);}!global['__skipSessionName']&&(await PerformanceTester[_0xd632ac(0x152)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x4cb2aa=_0xd632ac;await global[_0x4cb2aa(0x169)][0x0][_0x4cb2aa(0x143)](_0x4cb2aa(0x1ba)+JSON[_0x4cb2aa(0x1b8)](this[_0x4cb2aa(0x188)][_0x4cb2aa(0x181)]()[_0x4cb2aa(0x1a1)](_0x22615f[_0x4cb2aa(0x153)]))+'}}');})(),global['__drivers'][0x0][_0xd632ac(0x196)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0xd632ac(0x167)],async()=>{const _0x3b9950=_0xd632ac,_0x441700=_0x22615f[_0x3b9950(0x1d5)](this[_0x3b9950(0x188)]['state'],_0x22615f['dwQEj']);_0x441700?(global[_0x3b9950(0x1c7)]=!![],global[_0x3b9950(0x1dc)]['push'](this[_0x3b9950(0x188)][_0x3b9950(0x18a)][_0x3b9950(0x14c)]),await _0x22615f[_0x3b9950(0x147)](_0x446b4f,JSON[_0x3b9950(0x1b8)](_0x22615f['BqAUH'](_0x22615f[_0x3b9950(0x1da)],this[_0x3b9950(0x188)][_0x3b9950(0x18a)][_0x3b9950(0x14c)])),_0x22615f[_0x3b9950(0x155)])):await _0x22615f['wSyta'](_0x446b4f,JSON[_0x3b9950(0x1b8)](_0x22615f[_0x3b9950(0x14a)]),_0x22615f[_0x3b9950(0x17b)]);})();}catch(_0x4879ef){logger[_0xd632ac(0x194)](_0xd632ac(0x18e)+_0x4879ef);}try{if(this[_0xd632ac(0x188)]['accessibilityScanStarted']&&globals['getGlobal'](_0xab6eb0[_0xd632ac(0x1cb)])&&globals[_0xd632ac(0x164)](_0xab6eb0['mzfWw'])){logger[_0xd632ac(0x1ac)](_0xab6eb0[_0xd632ac(0x1b1)]);const _0x5ac085={};_0x5ac085[_0xd632ac(0x16c)]=this[_0xd632ac(0x188)][_0xd632ac(0x17e)],_0x5ac085[_0xd632ac(0x1c1)]=process[_0xd632ac(0x199)][testHubConstants[_0xd632ac(0x1d1)][_0xd632ac(0x17c)]],_0x5ac085[_0xd632ac(0x1d0)]=process[_0xd632ac(0x199)][testHubConstants['ENV_VAR'][_0xd632ac(0x19c)]];const _0x33fc20=_0x5ac085;logger[_0xd632ac(0x194)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0xd632ac(0x1b8)](_0x33fc20)),logger[_0xd632ac(0x194)](_0xab6eb0['SDEEk']);const _0x586c09={};_0x586c09[_0xd632ac(0x1df)]=_0xab6eb0[_0xd632ac(0x1b3)],await PerformanceTester[_0xd632ac(0x152)](PerformanceA11yEvents[_0xd632ac(0x16e)],async()=>{const _0x138ecd=_0xd632ac;logger['debug'](util[_0x138ecd(0x163)](await global['__drivers'][0x0][_0x138ecd(0x1b6)](scripts[_0x138ecd(0x16a)],{'method':global[_0x138ecd(0x1ce)]})));},_0x586c09)(),await PerformanceTester[_0xd632ac(0x152)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x56c7f9=_0xd632ac;await global[_0x56c7f9(0x169)][0x0]['executeAsyncScript'](scripts[_0x56c7f9(0x195)],_0x33fc20);})(),logger[_0xd632ac(0x1ac)](_0xab6eb0[_0xd632ac(0x177)]);}}catch(_0x598889){logger[_0xd632ac(0x174)](_0xd632ac(0x15c)+this[_0xd632ac(0x188)][_0xd632ac(0x181)]()+_0xd632ac(0x1dd),_0x598889);}try{try{if(_0xab6eb0['AVeTY'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xab6eb0[_0xd632ac(0x1a4)](sendPlatformDetails,global[_0xd632ac(0x169)][0x0],this['currentTest']?this['currentTest'][_0xd632ac(0x17e)]:null);if(_0xab6eb0[_0xd632ac(0x1cd)](isBrowserstackInfra)){PerformanceTester[_0xd632ac(0x1be)](PerformanceO11yEvents[_0xd632ac(0x1b0)]);const _0x3946cf=_0xd632ac(0x149)+Date[_0xd632ac(0x170)]();await _0xab6eb0['MIoqr'](_0x446b4f,JSON['stringify'](_0x3946cf),_0xab6eb0[_0xd632ac(0x1ab)]),PerformanceTester['end'](PerformanceO11yEvents[_0xd632ac(0x1b0)]);}}}catch(_0x5e1940){logger[_0xd632ac(0x194)](_0xd632ac(0x1cc)+_0x5e1940),PerformanceTester[_0xd632ac(0x172)](PerformanceO11yEvents['SYNC'],![],_0x5e1940);}_0xab6eb0[_0xd632ac(0x1ca)](global[_0xd632ac(0x169)][0x0][_0xd632ac(0x182)],0x0)&&await global[_0xd632ac(0x1b2)]();}catch(_0x31aca4){logger[_0xd632ac(0x194)](_0xd632ac(0x145)+_0x31aca4);}_0xab6eb0[_0xd632ac(0x1c5)](_0x6b3eba);})[_0x5de956(0x186)](()=>{const _0x3d4570=_0x5de956;_0xab6eb0[_0x3d4570(0x1cd)](_0x8e731a);});},{'platform':_0xab6eb0[_0x5f15da(0x1a6)](nestedKeyValue,global['__platformCaps'],[_0xab6eb0[_0x5f15da(0x15a)]]),'hookType':_0xab6eb0[_0x5f15da(0x19e)]})();},'afterAll'(_0x21ec46){const _0x4e7328=a37_0x55547a,_0x4ff8cd={'ReDiy':function(_0x1ffde3){return _0x1ffde3();},'mJAQV':function(_0x567d9e){return _0x567d9e();},'OEvYr':_0x4e7328(0x151),'xkmQK':function(_0x3aaf0d,_0x57b2fe,_0x4f7f65){return _0x3aaf0d(_0x57b2fe,_0x4f7f65);},'VpUVk':'index','AHVka':'afterAll'},_0x55e914='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4ff8cd[_0x4e7328(0x1bb)]]),PerformanceTester[_0x4e7328(0x152)](PerformanceSdkEvents[_0x4e7328(0x1c8)],()=>{const _0x248c7f=_0x4e7328;new Promise(async _0x11e465=>{const _0x3cbf5f=a37_0x5551;await global['driverCleanup'](),_0x4ff8cd[_0x3cbf5f(0x14d)](_0x11e465);})[_0x248c7f(0x186)]()[_0x248c7f(0x17a)](()=>{const _0xb33c84=_0x248c7f;_0x4ff8cd[_0xb33c84(0x16f)](_0x21ec46);});},{'platform':_0x4ff8cd[_0x4e7328(0x17f)](nestedKeyValue,global[_0x4e7328(0x161)],[_0x4ff8cd['VpUVk']]),'hookType':_0x4ff8cd['AHVka']})();}};function a37_0x59c3(){const _0x9b0b26=['jbAXh','GSyUd','76nrYjZT','CrOEu','Automate\x20test\x20case\x20execution\x20has\x20started.','Zxufr','info','MnvKO','3060520ZuCXku','mochaHooks','SYNC','Cmajv','driverCleanup','eBVxF','snitX','bstackA11yShouldScan','executeAsyncScript','10289160ecuCat','stringify','VpkIF','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','OEvYr','nHDnW','vpTtp','start','NtywC','GzDOW','thBuildUuid','percyCaptureMode','\x22}}','index','esYLj','hXqgD','__sessionFailed','SDK_HOOK','spuUb','JalDz','xJnLM','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','EoGdX','browserstackSessionName','\x20-\x20','thJwtToken','ENV_VAR','349sVpjBN','TIfeN','getCurrentUrl','zAptR','TDrfa','ceMkz','sessionName','capabilities','rGQEA','EWmnY','__error_messages__','.\x20Error\x20:','../../helpers/accessibility-automation/helper','command','../../helpers/testhub/utils','UZQJx','session_','pPJzb','SSlWS','protocol','executeScript','../../helpers/logger','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','rztqO','iuMjQ','WYQfA','ObservabilitySync:','XRcmj','PyPFK','message','ReDiy','63IwOzwb','Failed:\x20','TElTR','Mocha','measureWrapper','zwDrI','browserstackTestName','yvrwO','shouldScanTestForAccessibility','./test-observability/mochaUtils','https:','timeout','UbhvP','496180JGaBJD','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','initQuit','PbBHL','util','ZPsKI','__platformCaps','failed','format','getGlobal','407586nsdyCo','../../helpers/helper','SESSION_STATUS','209823NJIpdc','__drivers','performScan','AATCH','thTestRunUuid','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','PERFORM_SCAN','mJAQV','now','WtnAr','end','TnLQc','error','testcase','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sPSZD','beforeAll','643432chtfhs','finally','pLyXU','BROWSERSTACK_TESTHUB_UUID','JLBgA','testAnalyticsId','xkmQK','app','titlePath','quitCount_','66tTqYFN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','7234AlRqnh','then','afterEach','currentTest','\x20|\x20','err','tUYZv','yTuZu','YRZnE','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','length','../../helpers/percy/utils','bUAhP','QtUJo','XnFJH','debug','saveTestResults','sessionNameSet__','isAccessibilityPlatform','QPxiZ','env','../../helpers/testhub/constants','isArray','BROWSERSTACK_TESTHUB_JWT','SFzPO','HFXYh','coTai','QddaG','join','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','setGlobal','zzGgA','YGjvi'];a37_0x59c3=function(){return _0x9b0b26;};return a37_0x59c3();}
1
+ function a37_0x4d3c(_0x395e61,_0x431d9d){const _0x13686b=a37_0x1368();return a37_0x4d3c=function(_0x4d3c0d,_0x2fd5a0){_0x4d3c0d=_0x4d3c0d-0xa9;let _0x7946d5=_0x13686b[_0x4d3c0d];return _0x7946d5;},a37_0x4d3c(_0x395e61,_0x431d9d);}const a37_0x13f0a3=a37_0x4d3c;function a37_0x1368(){const _0x13de23=['../../helpers/percy/utils','PSMgZ','\x22}}','browserstackSessionName','FBaYj','kGiRH','gcrjP','format','Jhkmb','rDUWD','./test-observability/mochaUtils','err','command','shift','HjXnY','uccRe','__drivers','XNtLm','browserstackTestName','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','aaupn','setGlobal','bstackA11yShouldScan','RkZzG','1723972vgoQTr','mochaHooks','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Failed:\x20','passed','tWHKB','SDK_HOOK','thJwtToken','3428772vxyFJh','state','pbWFm','PDGbz','wPJah','URsdQ','512172IONjQi','length','StrcP','SYNC','performScan','percyCaptureMode','join','vZAIA','bnhoj','eptgJ','../../helpers/performance/constants','__error_messages__','4539tGIaJD','../../helpers/testhub/constants','UCIdl','finally','error','../../helpers/performance/performance-tester','timeout','Lqfge','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','executeScript','util','ONiOu','dmxzZ','Performing\x20scan\x20before\x20saving\x20results','enhjv','FJQpz','\x20-\x20','SwCGC','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','session_','33wKxnhc','5JhSXDv','isAccessibilityPlatform','__platformCaps','currentTest','oWbCp','qfmmQ','Failed\x20to\x20store\x20session\x20name:\x20','VDvSz','fWXsq','JDjbE','afterTest','shouldScanTestForAccessibility','HUEGl','info','bpirQ','debug','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','NZTqH','cLwJE','vSJnb','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Passed','YOEOr','percy','Jxsbs','http:','wmgtE','hTPwm','saveTestResults','../../helpers/accessibility-automation/helper','../../helpers/logger','UYXwg','DIQfO','sessionNameSet__','beforeAll','tnznU','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','dBKJN','\x20|\x20','now','winstonLogger','../../helpers/globals','XcvTZ','zEuCX','__sessionFailed','then','OuUqV','VtMgQ','failed','isArray','env','testAnalyticsId','halmQ','simKk','driverCleanup','TrsIx','../../helpers/helper','ivulK','lKeNV','dSonz','executeAsyncScript','SAVE_RESULTS','SmDUj','sessionName','9844EGzBXE','BnRwp','titlePath','9912DzcjSQ','ObservabilitySync:','BROWSERSTACK_TESTHUB_UUID','TZLzw','thTestRunUuid','end','AWaaI','716260xKzMkC','capabilities','accessibilityScanStarted','initQuit','../../helpers/testhub/utils','Mocha','vLwNa','LVXiy','EpdjO','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','iwDgO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','DzHhr','protocol','.\x20Error\x20:','tMZyG','BROWSERSTACK_TESTHUB_JWT','../utils/constants','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','GIChl','stringify','https:','1162SymLvf','lXcVV','hqJBx','234xoILts','72bnmQnm','PRVdw','measureWrapper','index','GzHTW','NQoNT','CoLbw','ehRgp','quitCount_','SESSION_NAME','getGlobal','Pixnc','mMXuO','MPWNe','appium:app','SESSION_STATUS','CXgdo','wRtir'];a37_0x1368=function(){return _0x13de23;};return a37_0x1368();}(function(_0x25fbd5,_0x5e906c){const _0x4f84a0=a37_0x4d3c,_0xa9db25=_0x25fbd5();while(!![]){try{const _0x31fedf=parseInt(_0x4f84a0(0x119))/0x1+-parseInt(_0x4f84a0(0x13d))/0x2*(parseInt(_0x4f84a0(0xc3))/0x3)+parseInt(_0x4f84a0(0xa9))/0x4*(parseInt(_0x4f84a0(0xd9))/0x5)+-parseInt(_0x4f84a0(0x11c))/0x6*(parseInt(_0x4f84a0(0x13a))/0x7)+parseInt(_0x4f84a0(0x13e))/0x8*(-parseInt(_0x4f84a0(0xb7))/0x9)+-parseInt(_0x4f84a0(0x123))/0xa+parseInt(_0x4f84a0(0xd8))/0xb*(parseInt(_0x4f84a0(0xb1))/0xc);if(_0x31fedf===_0x5e906c)break;else _0xa9db25['push'](_0xa9db25['shift']());}catch(_0x4b2262){_0xa9db25['push'](_0xa9db25['shift']());}}}(a37_0x1368,0x40343));const util=require(a37_0x13f0a3(0xcd)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x13f0a3(0xf6)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x13f0a3(0x134)),{percyAutoCapture}=require(a37_0x13f0a3(0x150)),{sendPlatformDetails}=require(a37_0x13f0a3(0x15a)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x13f0a3(0x111)),PerformanceTester=require(a37_0x13f0a3(0xc8)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x13f0a3(0xc1)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a37_0x13f0a3(0x102)),logger=require(a37_0x13f0a3(0xf7))[a37_0x13f0a3(0x101)],{shouldProcessEventForTesthub}=require(a37_0x13f0a3(0x127)),testHubConstants=require(a37_0x13f0a3(0xc4));exports[a37_0x13f0a3(0xaa)]={'beforeAll'(){const _0x73432=a37_0x13f0a3,_0x1a9ee1={'YOEOr':function(_0x9a3964,_0x4506d2,_0x5954d8,_0x2b980d){return _0x9a3964(_0x4506d2,_0x5954d8,_0x2b980d);},'FdzsH':_0x73432(0x109),'jaYsu':_0x73432(0xff),'simKk':function(_0x16d3a5,_0x587332,_0x250af9){return _0x16d3a5(_0x587332,_0x250af9);},'PDGbz':_0x73432(0xad),'UCIdl':function(_0x306b3f){return _0x306b3f();},'vHLnh':function(_0x46ed02,_0x5c4768,_0x3cc2a4){return _0x46ed02(_0x5c4768,_0x3cc2a4);},'fWXsq':function(_0x1aceb4,_0x19b8da,_0x32b220){return _0x1aceb4(_0x19b8da,_0x32b220);},'aaupn':_0x73432(0x141),'kHwBv':_0x73432(0xfb)};PerformanceTester['startMonitoring']();const _0xfc4522='browserstack internal helper hook';PerformanceTester[_0x73432(0x140)](PerformanceSdkEvents[_0x73432(0xaf)],()=>{const _0x3410d2=_0x73432;global[_0x3410d2(0xc2)]=[],global['__sessionFailed']=![],global[_0x3410d2(0x10f)]=async()=>{const _0x1ee448=_0x3410d2;let _0x22fc77=![];try{await global['__drivers'][0x0][_0x1ee448(0xd7)],_0x22fc77=!![],global['__sessionFailed']?await _0x1a9ee1[_0x1ee448(0xef)](markSessionStatus,global[_0x1ee448(0x160)][0x0],_0x1a9ee1['FdzsH'],global[_0x1ee448(0xc2)]['join'](_0x1a9ee1['jaYsu'])):await _0x1a9ee1[_0x1ee448(0x10e)](markSessionStatus,global[_0x1ee448(0x160)][0x0],_0x1a9ee1[_0x1ee448(0xb4)]);}catch(_0x55f54f){logger[_0x1ee448(0xe8)](_0x1ee448(0x163)+_0x55f54f);}global[_0x1ee448(0xc2)]=[],global[_0x1ee448(0x105)]=![];if(_0x22fc77)try{try{_0x1a9ee1[_0x1ee448(0xc5)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x1a9ee1['vHLnh'](sendPlatformDetails,global[_0x1ee448(0x160)][0x0],this[_0x1ee448(0xdc)]?this['currentTest']['testAnalyticsId']:null));}catch(_0x273f4b){logger[_0x1ee448(0xe8)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x273f4b);}await global[_0x1ee448(0x160)][0x0][_0x1ee448(0x126)]();}catch(_0x3c425d){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3c425d);}};},{'platform':_0x1a9ee1[_0x73432(0xe1)](nestedKeyValue,global[_0x73432(0xdb)],[_0x1a9ee1[_0x73432(0x164)]]),'hookType':_0x1a9ee1['kHwBv']})();},'beforeEach'(_0x253289){const _0x2ed3f2=a37_0x13f0a3,_0xb56de1={'HHdtR':function(_0x52fba8){return _0x52fba8();},'vSJnb':function(_0x542732,_0x1cfc94){return _0x542732>_0x1cfc94;},'Hlnpm':'\x20-\x20','CwXDs':function(_0x4b6d53,_0x54f867,_0x277cb7){return _0x4b6d53(_0x54f867,_0x277cb7);},'XNtLm':_0x2ed3f2(0x166),'mMXuO':function(_0x52c621){return _0x52c621();},'vLwNa':function(_0x519111,_0xe87dc7){return _0x519111>_0xe87dc7;},'lKeNV':_0x2ed3f2(0xda),'tWHKB':function(_0x501f1c,_0x3f9b98){return _0x501f1c===_0x3f9b98;},'wmgtE':_0x2ed3f2(0xf2),'BnRwp':_0x2ed3f2(0x139),'enhjv':_0x2ed3f2(0xed),'NQoNT':_0x2ed3f2(0x135),'vitIP':_0x2ed3f2(0x162),'FJQpz':function(_0x2600b8,_0x514746,_0x23df43){return _0x2600b8(_0x514746,_0x23df43);},'vZAIA':_0x2ed3f2(0x141),'ZhGWX':'beforeEach'};globals['setGlobal'](_0xb56de1['vitIP'],this[_0x2ed3f2(0xdc)][_0x2ed3f2(0x11b)]()[_0x2ed3f2(0xbd)](_0xb56de1['Hlnpm'])),PerformanceTester[_0x2ed3f2(0x140)](PerformanceSdkEvents[_0x2ed3f2(0xaf)],()=>{const _0x4c60de=_0x2ed3f2,_0x1de70f={'mcxdp':function(_0x209486,_0x5e09c2){const _0xbb00a0=a37_0x4d3c;return _0xb56de1[_0xbb00a0(0xec)](_0x209486,_0x5e09c2);},'FBaYj':_0xb56de1['Hlnpm'],'wRtir':function(_0x23d073,_0x11f232,_0x33c041){return _0xb56de1['CwXDs'](_0x23d073,_0x11f232,_0x33c041);},'lfMLs':_0xb56de1[_0x4c60de(0x161)],'DIQfO':function(_0x56e2ba){const _0x25913f=_0x4c60de;return _0xb56de1[_0x25913f(0x14a)](_0x56e2ba);},'LVXiy':function(_0x4f2656,_0x25cad2){const _0x141f57=_0x4c60de;return _0xb56de1[_0x141f57(0x129)](_0x4f2656,_0x25cad2);},'tMZyG':_0xb56de1[_0x4c60de(0x113)],'PRVdw':function(_0x136ce0,_0x9a36b0){const _0x124eec=_0x4c60de;return _0xb56de1[_0x124eec(0xae)](_0x136ce0,_0x9a36b0);},'hTPwm':_0xb56de1[_0x4c60de(0xf3)],'tnznU':_0xb56de1[_0x4c60de(0x11a)],'CoLbw':_0xb56de1[_0x4c60de(0xd1)],'gcrjP':_0xb56de1[_0x4c60de(0x143)]},_0x11aec8='browserstack internal helper hook';new Promise(async _0x1eeac0=>{const _0xd8ba8=_0x4c60de;let _0x1e774b=!![];try{_0x1de70f['mcxdp'](global[_0xd8ba8(0x160)][_0xd8ba8(0xb8)],0x1)&&(await global[_0xd8ba8(0x10f)](),global[_0xd8ba8(0x160)]['shift']()),_0x1de70f['mcxdp'](global['__drivers'][0x0][_0xd8ba8(0x146)],0x0)&&(_0x1e774b=![],await global[_0xd8ba8(0x10f)]());}catch(_0x302a88){logger['debug'](_0xd8ba8(0xcb)+_0x302a88);}try{Array[_0xd8ba8(0x10a)](global[_0xd8ba8(0x160)])&&global[_0xd8ba8(0x160)][0x0]&&(global[_0xd8ba8(0x160)][0x0][_0xd8ba8(0x153)]=this[_0xd8ba8(0xdc)][_0xd8ba8(0x11b)]()[_0xd8ba8(0xbd)](_0x1de70f['FBaYj'])),global[_0xd8ba8(0x153)]=this[_0xd8ba8(0xdc)][_0xd8ba8(0x11b)]()['join'](_0x1de70f[_0xd8ba8(0x154)]);}catch(_0x156637){logger[_0xd8ba8(0xe8)](_0xd8ba8(0xdf)+_0x156637);}this[_0xd8ba8(0xdc)][_0xd8ba8(0xe4)]=_0x1de70f[_0xd8ba8(0x14f)](shouldScanTestForAccessibility,this['currentTest'][_0xd8ba8(0x11b)](),!![]),globals[_0xd8ba8(0x165)](_0x1de70f['lfMLs'],this[_0xd8ba8(0xdc)][_0xd8ba8(0xe4)]),this['currentTest'][_0xd8ba8(0x125)]=!![];if(_0x1de70f[_0xd8ba8(0xf9)](isAccessibilityAutomationSession)&&_0x1e774b&&Array[_0xd8ba8(0x10a)](global[_0xd8ba8(0x160)])&&_0x1de70f[_0xd8ba8(0x12a)](global[_0xd8ba8(0x160)][_0xd8ba8(0xb8)],0x0)&&globals[_0xd8ba8(0x148)](_0x1de70f[_0xd8ba8(0x132)]))try{const _0x29a270=await global[_0xd8ba8(0x160)][0x0][_0xd8ba8(0xd7)];if(_0x29a270){let _0x4acd73=!![];const _0x49a3e1=await global[_0xd8ba8(0x160)][0x0]['getCurrentUrl']();let _0x554eae;try{_0x554eae=new URL(_0x49a3e1);}catch(_0x450718){_0x4acd73=![];}_0x4acd73=_0x1de70f[_0xd8ba8(0x13f)](_0x554eae[_0xd8ba8(0x130)],_0x1de70f[_0xd8ba8(0xf4)])||_0x1de70f['PRVdw'](_0x554eae['protocol'],_0x1de70f[_0xd8ba8(0xfc)]),_0x4acd73&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0xd8ba8(0xe6)](_0x1de70f[_0xd8ba8(0x144)])),this[_0xd8ba8(0xdc)][_0xd8ba8(0x125)]=this['currentTest'][_0xd8ba8(0xe4)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0xd8ba8(0xe6)](_0x1de70f[_0xd8ba8(0x156)]);}}catch(_0x3a4404){logger['error'](_0xd8ba8(0xfd)+util[_0xd8ba8(0x157)](_0x3a4404));}_0x1de70f[_0xd8ba8(0xf9)](_0x1eeac0);})[_0x4c60de(0x106)](()=>{_0xb56de1['HHdtR'](_0x253289);});},{'platform':_0xb56de1[_0x2ed3f2(0xd2)](nestedKeyValue,global[_0x2ed3f2(0xdb)],[_0xb56de1[_0x2ed3f2(0xbe)]]),'hookType':_0xb56de1['ZhGWX']})();},'afterEach'(_0x3b06d0){const _0x36e0cd=a37_0x13f0a3,_0x465243={'VDvSz':function(_0x5b453a){return _0x5b453a();},'XcvTZ':_0x36e0cd(0xd3),'wPJah':function(_0x25a56b,_0x471dcb){return _0x25a56b!==_0x471dcb;},'bpirQ':'passed','Jxsbs':function(_0x4f4839,_0x49e2c9,_0x3d8025){return _0x4f4839(_0x49e2c9,_0x3d8025);},'wWyCM':function(_0x5dcdc3,_0x3c90cd){return _0x5dcdc3+_0x3c90cd;},'lXcVV':_0x36e0cd(0xac),'TrsIx':_0x36e0cd(0xc7),'HjXnY':_0x36e0cd(0xee),'hqJBx':_0x36e0cd(0xe6),'dSonz':function(_0x2f0ce0,_0x59a910){return _0x2f0ce0>_0x59a910;},'TZLzw':function(_0x19b1d3,_0x4942cb){return _0x19b1d3===_0x4942cb;},'ehRgp':'testcase','cLwJE':_0x36e0cd(0x14c),'iwDgO':function(_0x3195b3,_0x56dc6a,_0x3cdcbb,_0x22ef41){return _0x3195b3(_0x56dc6a,_0x3cdcbb,_0x22ef41);},'Pixnc':'isAccessibilityPlatform','kGiRH':'bstackA11yShouldScan','zEuCX':_0x36e0cd(0xd5),'Lqfge':_0x36e0cd(0xd0),'Jhkmb':_0x36e0cd(0xe3),'VtMgQ':_0x36e0cd(0xe9),'BpbIH':function(_0x47c807){return _0x47c807();},'DzHhr':_0x36e0cd(0xe8),'UYXwg':'Mocha','bnhoj':_0x36e0cd(0x141),'NZTqH':'afterEach'},_0x653f71='browserstack internal helper hook';this[_0x36e0cd(0xc9)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x465243[_0x36e0cd(0xf8)]]),global[_0x36e0cd(0x118)]=this[_0x36e0cd(0xdc)]['titlePath']()[_0x36e0cd(0xbd)](_0x465243[_0x36e0cd(0x103)]),PerformanceTester[_0x36e0cd(0x140)](PerformanceSdkEvents[_0x36e0cd(0xaf)],()=>{const _0x267beb=_0x36e0cd,_0x1c2f6b={'cJOcZ':_0x465243[_0x267beb(0x103)],'AWaaI':function(_0x1dee79,_0x5a2bd1){const _0x8dc6d8=_0x267beb;return _0x465243[_0x8dc6d8(0xb5)](_0x1dee79,_0x5a2bd1);},'dmxzZ':_0x465243[_0x267beb(0xe7)],'CXgdo':function(_0x5b118c,_0x329ceb,_0x3e108c){const _0x344037=_0x267beb;return _0x465243[_0x344037(0xf1)](_0x5b118c,_0x329ceb,_0x3e108c);},'eptgJ':function(_0x3653ff,_0x2aa00c){return _0x465243['wWyCM'](_0x3653ff,_0x2aa00c);},'oWbCp':_0x465243[_0x267beb(0x13b)],'rDUWD':_0x465243[_0x267beb(0x110)],'GzHTW':_0x465243[_0x267beb(0x15e)],'URsdQ':_0x465243[_0x267beb(0x13c)],'SmDUj':function(_0x93d930,_0x330be9){const _0x24fa77=_0x267beb;return _0x465243[_0x24fa77(0x114)](_0x93d930,_0x330be9);},'RkZzG':function(_0x4a6164,_0x1f6966){const _0x752168=_0x267beb;return _0x465243[_0x752168(0x11f)](_0x4a6164,_0x1f6966);},'GIChl':_0x465243[_0x267beb(0x145)],'ONiOu':function(_0x35b727,_0x2fbb17){const _0x2e8ae9=_0x267beb;return _0x465243[_0x2e8ae9(0x114)](_0x35b727,_0x2fbb17);},'PSMgZ':_0x465243[_0x267beb(0xeb)],'dBKJN':function(_0x26bc19,_0x29365c,_0x56f2e4,_0x3df8cc){const _0x277d5=_0x267beb;return _0x465243[_0x277d5(0x12d)](_0x26bc19,_0x29365c,_0x56f2e4,_0x3df8cc);},'GsiJM':_0x465243[_0x267beb(0x149)],'SwCGC':_0x465243[_0x267beb(0x155)],'jSGUT':_0x465243[_0x267beb(0x104)],'uccRe':_0x465243[_0x267beb(0xca)],'MPWNe':_0x465243[_0x267beb(0x158)],'lwrfd':_0x465243[_0x267beb(0x108)],'StrcP':function(_0x1a245b){const _0x310c3d=_0x267beb;return _0x465243[_0x310c3d(0xe0)](_0x1a245b);},'EpdjO':function(_0x2f6df5){return _0x465243['BpbIH'](_0x2f6df5);},'halmQ':_0x465243[_0x267beb(0x12f)],'HUEGl':function(_0x29f317,_0x3b4f2a){const _0x3e929d=_0x267beb;return _0x465243[_0x3e929d(0x114)](_0x29f317,_0x3b4f2a);},'ivulK':function(_0x48cd1b){const _0x45a229=_0x267beb;return _0x465243[_0x45a229(0xe0)](_0x48cd1b);}},_0x2d6978=async(_0x341324,_0x151e2f)=>{const _0x1cfe16=_0x267beb;await global['__drivers'][0x0][_0x1cfe16(0xcc)](_0x1cfe16(0x12c)+_0x341324+',\x22level\x22:\x20\x22'+_0x151e2f+_0x1cfe16(0x152));};new Promise(async _0x2b53af=>{const _0x37926b=_0x267beb;try{_0x1c2f6b[_0x37926b(0x117)](global[_0x37926b(0x160)]['length'],0x1)&&(await global[_0x37926b(0x10f)](),global[_0x37926b(0x160)][_0x37926b(0x15d)](),global[_0x37926b(0xc2)]=[],global[_0x37926b(0x105)]=![]);try{if(global[_0x37926b(0xf0)]&&_0x1c2f6b[_0x37926b(0x167)](global[_0x37926b(0xbc)],_0x1c2f6b[_0x37926b(0x137)])&&global['__drivers'][0x0]){const _0x1d2c39=_0x1c2f6b[_0x37926b(0xce)](global[_0x37926b(0x124)][_0x37926b(0xb8)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x37926b(0x124)][0x0][_0x1c2f6b[_0x37926b(0x151)]]:![],_0x1aac46={};_0x1aac46['app']=_0x1d2c39,await _0x1c2f6b[_0x37926b(0xfe)](percyAutoCapture,global[_0x37926b(0x160)][0x0],_0x1c2f6b[_0x37926b(0x137)],_0x1aac46);}}catch(_0x3d607d){logger[_0x37926b(0xe8)](_0x37926b(0xd6)+_0x3d607d);}!global['__skipSessionName']&&(await PerformanceTester[_0x37926b(0x140)](PerformanceAutEvents[_0x37926b(0x147)],async()=>{const _0x37fbab=_0x37926b;await global[_0x37fbab(0x160)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x37fbab(0x138)](this[_0x37fbab(0xdc)][_0x37fbab(0x11b)]()[_0x37fbab(0xbd)](_0x1c2f6b['cJOcZ']))+'}}');})(),global[_0x37926b(0x160)][0x0][_0x37926b(0xfa)]=!![]),await PerformanceTester[_0x37926b(0x140)](PerformanceAutEvents[_0x37926b(0x14d)],async()=>{const _0x8f9726=_0x37926b,_0x81b7ac=_0x1c2f6b[_0x8f9726(0x122)](this[_0x8f9726(0xdc)][_0x8f9726(0xb2)],_0x1c2f6b[_0x8f9726(0xcf)]);_0x81b7ac?(global[_0x8f9726(0x105)]=!![],global[_0x8f9726(0xc2)]['push'](this['currentTest'][_0x8f9726(0x15b)]['message']),await _0x1c2f6b[_0x8f9726(0x14e)](_0x2d6978,JSON[_0x8f9726(0x138)](_0x1c2f6b[_0x8f9726(0xc0)](_0x1c2f6b[_0x8f9726(0xdd)],this[_0x8f9726(0xdc)][_0x8f9726(0x15b)]['message'])),_0x1c2f6b[_0x8f9726(0x159)])):await _0x1c2f6b[_0x8f9726(0x14e)](_0x2d6978,JSON[_0x8f9726(0x138)](_0x1c2f6b[_0x8f9726(0x142)]),_0x1c2f6b[_0x8f9726(0xb6)]);})();}catch(_0x577db6){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x577db6);}try{if(this['currentTest']['accessibilityScanStarted']&&globals['getGlobal'](_0x1c2f6b['GsiJM'])&&globals[_0x37926b(0x148)](_0x1c2f6b[_0x37926b(0xd4)])){logger[_0x37926b(0xe6)](_0x1c2f6b['jSGUT']);const _0x405c54={};_0x405c54[_0x37926b(0x120)]=this[_0x37926b(0xdc)][_0x37926b(0x10c)],_0x405c54['thBuildUuid']=process[_0x37926b(0x10b)][testHubConstants['ENV_VAR'][_0x37926b(0x11e)]],_0x405c54[_0x37926b(0xb0)]=process[_0x37926b(0x10b)][testHubConstants['ENV_VAR'][_0x37926b(0x133)]];const _0x1171e0=_0x405c54;logger[_0x37926b(0xe8)](_0x37926b(0x12e)+JSON[_0x37926b(0x138)](_0x1171e0)),logger[_0x37926b(0xe8)](_0x1c2f6b[_0x37926b(0x15f)]);const _0x10b24b={};_0x10b24b[_0x37926b(0x15c)]=_0x1c2f6b[_0x37926b(0x14b)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x8fe10c=_0x37926b;logger['debug'](util[_0x8fe10c(0x157)](await global[_0x8fe10c(0x160)][0x0][_0x8fe10c(0x115)](scripts[_0x8fe10c(0xbb)],{'method':global[_0x8fe10c(0x153)]})));},_0x10b24b)(),await PerformanceTester[_0x37926b(0x140)](PerformanceA11yEvents[_0x37926b(0x116)],async()=>{const _0x4076ca=_0x37926b;await global[_0x4076ca(0x160)][0x0][_0x4076ca(0x115)](scripts[_0x4076ca(0xf5)],_0x1171e0);})(),logger[_0x37926b(0xe6)](_0x1c2f6b['lwrfd']);}}catch(_0xfa1971){logger['error'](_0x37926b(0xab)+this[_0x37926b(0xdc)][_0x37926b(0x11b)]()+_0x37926b(0x131),_0xfa1971);}try{try{if(_0x1c2f6b[_0x37926b(0xb9)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x1c2f6b[_0x37926b(0x14e)](sendPlatformDetails,global[_0x37926b(0x160)][0x0],this[_0x37926b(0xdc)]?this['currentTest']['testAnalyticsId']:null);if(_0x1c2f6b[_0x37926b(0x12b)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x37926b(0xba)]);const _0x5af7aa=_0x37926b(0x11d)+Date[_0x37926b(0x100)]();await _0x1c2f6b[_0x37926b(0x14e)](_0x2d6978,JSON['stringify'](_0x5af7aa),_0x1c2f6b[_0x37926b(0x10d)]),PerformanceTester[_0x37926b(0x121)](PerformanceO11yEvents[_0x37926b(0xba)]);}}}catch(_0x30900b){logger[_0x37926b(0xe8)](_0x37926b(0x136)+_0x30900b),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x30900b);}_0x1c2f6b[_0x37926b(0xe5)](global[_0x37926b(0x160)][0x0][_0x37926b(0x146)],0x0)&&await global[_0x37926b(0x10f)]();}catch(_0x5887ed){logger[_0x37926b(0xe8)](_0x37926b(0xcb)+_0x5887ed);}_0x1c2f6b[_0x37926b(0x112)](_0x2b53af);})[_0x267beb(0x106)](()=>{const _0xe5c76b=_0x267beb;_0x465243[_0xe5c76b(0xe0)](_0x3b06d0);});},{'platform':_0x465243[_0x36e0cd(0xf1)](nestedKeyValue,global[_0x36e0cd(0xdb)],[_0x465243[_0x36e0cd(0xbf)]]),'hookType':_0x465243[_0x36e0cd(0xea)]})();},'afterAll'(_0x165a6d){const _0x485549=a37_0x13f0a3,_0x516c3d={'pbWFm':function(_0x5245e4){return _0x5245e4();},'HMEhQ':function(_0xaf78fa){return _0xaf78fa();},'fpqKv':_0x485549(0x128),'JDjbE':function(_0x4dd752,_0x4d4134,_0x651325){return _0x4dd752(_0x4d4134,_0x651325);},'qfmmQ':_0x485549(0x141),'OuUqV':'afterAll'},_0x3b6caf='browserstack internal helper hook';this[_0x485549(0xc9)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x516c3d['fpqKv']]),PerformanceTester[_0x485549(0x140)](PerformanceSdkEvents[_0x485549(0xaf)],()=>{const _0x7a16f3=_0x485549;new Promise(async _0x361c83=>{const _0x44b022=a37_0x4d3c;await global['driverCleanup'](),_0x516c3d[_0x44b022(0xb3)](_0x361c83);})[_0x7a16f3(0x106)]()[_0x7a16f3(0xc6)](()=>{_0x516c3d['HMEhQ'](_0x165a6d);});},{'platform':_0x516c3d[_0x485549(0xe2)](nestedKeyValue,global[_0x485549(0xdb)],[_0x516c3d[_0x485549(0xde)]]),'hookType':_0x516c3d[_0x485549(0x107)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x18b0b2=a38_0x4866;(function(_0x381a7c,_0xbc5d88){const _0x350079=a38_0x4866,_0x439894=_0x381a7c();while(!![]){try{const _0x3e00ef=-parseInt(_0x350079(0x17a))/0x1*(parseInt(_0x350079(0x184))/0x2)+parseInt(_0x350079(0x187))/0x3+parseInt(_0x350079(0x16d))/0x4+-parseInt(_0x350079(0x15f))/0x5+parseInt(_0x350079(0x17b))/0x6+-parseInt(_0x350079(0x15b))/0x7+parseInt(_0x350079(0x166))/0x8;if(_0x3e00ef===_0xbc5d88)break;else _0x439894['push'](_0x439894['shift']());}catch(_0x3e48fb){_0x439894['push'](_0x439894['shift']());}}}(a38_0x4ad8,0x71d54));const fs=require('fs'),path=require(a38_0x18b0b2(0x143)),{spawn}=require(a38_0x18b0b2(0x146)),logger=require(a38_0x18b0b2(0x173))[a38_0x18b0b2(0x154)],{default:BrowserStackSetup}=require(a38_0x18b0b2(0x16f)),helper=require(a38_0x18b0b2(0x160)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x8703ba,_0x1e4642)=>{const _0x12457a=a38_0x18b0b2,_0x2484f2={'JiltD':_0x12457a(0x17c),'psegh':_0x12457a(0x17e),'PWlNF':function(_0x389bf7,_0x18097f){return _0x389bf7(_0x18097f);},'GPRmm':_0x12457a(0x156)};let _0xe0f264=null,_0x56b268={};const _0x23d063=_0x1e4642[_0x12457a(0x165)](_0x4c5ee5=>_0x4c5ee5===_0x12457a(0x16b));if(!helper[_0x12457a(0x17d)](_0x8703ba[_0x12457a(0x189)])&&fs[_0x12457a(0x150)](path[_0x12457a(0x157)](process['cwd'](),_0x8703ba[_0x12457a(0x189)])))_0xe0f264=path[_0x12457a(0x157)](process['cwd'](),_0x8703ba[_0x12457a(0x189)]),_0x1e4642['splice'](_0x23d063,0x2);else{if(fs[_0x12457a(0x150)](path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2[_0x12457a(0x148)])))_0xe0f264=path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2[_0x12457a(0x148)]);else fs[_0x12457a(0x150)](path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2['psegh']))&&(_0xe0f264=path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2[_0x12457a(0x15d)]));}return _0xe0f264?(logger[_0x12457a(0x169)](_0x12457a(0x162)+_0xe0f264),_0x56b268=_0x2484f2[_0x12457a(0x177)](require,_0xe0f264)):logger[_0x12457a(0x169)](_0x2484f2['GPRmm']),_0x56b268;},removeExistingEnvs=_0x466144=>{const _0x42a568=a38_0x18b0b2,_0x501665={};_0x501665['arMuL']=function(_0x539563,_0x4bc77c){return _0x539563>_0x4bc77c;},_0x501665['Kptgc']=function(_0x474c1b,_0x1e797f){return _0x474c1b>_0x1e797f;};const _0x15a307=_0x501665;let _0x28f955=_0x466144[_0x42a568(0x165)](_0x23a0f6=>_0x23a0f6===_0x42a568(0x15e));_0x15a307[_0x42a568(0x145)](_0x28f955,-0x1)&&_0x466144[_0x42a568(0x153)](_0x28f955,0x2),_0x28f955=_0x466144[_0x42a568(0x165)](_0x5ec972=>_0x5ec972==='-e'),_0x15a307[_0x42a568(0x14f)](_0x28f955,-0x1)&&_0x466144[_0x42a568(0x153)](_0x28f955,0x2);};function run(_0x3b3321,_0x446cb4,_0x4c0c16){const _0x2d9e93=a38_0x18b0b2,_0x4273c9={'woJPg':_0x2d9e93(0x14c),'JnSGl':function(_0x46fe27,_0x381f98){return _0x46fe27+_0x381f98;},'gYZVX':_0x2d9e93(0x188),'GnmuT':function(_0x23a82e,_0x34e2f2,_0x523533){return _0x23a82e(_0x34e2f2,_0x523533);},'muywL':_0x2d9e93(0x170),'RZcTa':_0x2d9e93(0x186),'mZCQl':function(_0x54c96a,_0x29fa86){return _0x54c96a===_0x29fa86;},'VpObt':_0x2d9e93(0x15c),'yqwXG':function(_0x3526c5,_0x5c6e47){return _0x3526c5(_0x5c6e47);},'UtHXC':function(_0x583ca4,_0x1baaa4,_0x37ada8,_0x1aa9fc){return _0x583ca4(_0x1baaa4,_0x37ada8,_0x1aa9fc);},'AFBrd':_0x2d9e93(0x14e),'qkUsA':_0x2d9e93(0x16b),'LsgOo':'--env','ZOkXV':_0x2d9e93(0x17f),'ocjRg':'close'};if(!_0x4c0c16[_0x2d9e93(0x189)])return;const _0x13b49d=_0x4273c9['GnmuT'](getUserNightwatchConfigs,_0x3b3321,_0x446cb4),_0x1a6f82={};_0x1a6f82[_0x2d9e93(0x178)]=![];const _0x220130={};_0x220130['host']=_0x4273c9['muywL'],_0x220130[_0x2d9e93(0x182)]=0x1bb;const _0x397a46={};_0x397a46[_0x2d9e93(0x16a)]=_0x1a6f82,_0x397a46[_0x2d9e93(0x181)]=_0x220130;const _0x3998ac=_0x397a46;logger[_0x2d9e93(0x169)](_0x4273c9['RZcTa']);const _0x3a4d9e={..._0x13b49d},_0x5dc725=_0x3a4d9e,_0x3b30c2=helper[_0x2d9e93(0x14a)](_0x4c0c16['config']),_0x5a0fe3=[];_0x4c0c16['config'][_0x2d9e93(0x180)][_0x2d9e93(0x175)]((_0x30c585,_0x3af151)=>{const _0x206de8=_0x2d9e93;_0x3b30c2?_0x5a0fe3[_0x206de8(0x18c)](helper[_0x206de8(0x168)](_0x4c0c16['config'],_0x4273c9[_0x206de8(0x172)],_0x3af151)):_0x5a0fe3[_0x206de8(0x18c)](helper[_0x206de8(0x183)](_0x4c0c16[_0x206de8(0x189)],_0x4273c9['woJPg'],_0x3af151));});const _0x10e0e8={},_0x3f5b57=[];_0x3b3321['env']=_0x3b3321['env']||_0x3b3321['e'];const _0x2386c8=_0x3b3321[_0x2d9e93(0x16e)]?_0x3b3321['env'][_0x2d9e93(0x161)]()['split'](',')['map'](_0x4dfab1=>_0x4dfab1['trim']())[_0x2d9e93(0x155)](_0xa6c7cc=>_0xa6c7cc!==''):[''];_0x4273c9[_0x2d9e93(0x159)](_0x2386c8[_0x2d9e93(0x149)],0x0)&&_0x2386c8[_0x2d9e93(0x18c)]('');_0x2386c8[_0x2d9e93(0x175)](_0x47dcac=>{_0x5a0fe3['forEach'](_0xdab292=>{const _0x570785=a38_0x4866;let _0x39d833=_0x4273c9[_0x570785(0x185)](helper[_0x570785(0x171)](_0xdab292,'_'),'_'+Date[_0x570785(0x18a)]());_0x47dcac&&(_0x39d833+='_'+_0x47dcac);if(_0x47dcac&&(!_0x13b49d[_0x4273c9[_0x570785(0x163)]]||!_0x13b49d[_0x4273c9[_0x570785(0x163)]][_0x47dcac]))return;const _0x38ff2e={..._0x3998ac};_0x38ff2e[_0x570785(0x18b)]=_0xdab292;const _0x2f567d=_0x38ff2e;_0x10e0e8[_0x39d833]=_0x47dcac?helper[_0x570785(0x164)](_0x13b49d[_0x4273c9[_0x570785(0x163)]][_0x47dcac],_0x2f567d):_0x2f567d,_0x3f5b57['push'](_0x39d833);});});!_0x5dc725[_0x2d9e93(0x188)]&&(_0x5dc725[_0x2d9e93(0x188)]={});_0x5dc725[_0x2d9e93(0x188)]={..._0x5dc725[_0x2d9e93(0x188)],..._0x10e0e8};const _0x3da51e=path[_0x2d9e93(0x157)](__dirname,_0x4273c9[_0x2d9e93(0x158)]);fs[_0x2d9e93(0x147)](_0x3da51e,JSON[_0x2d9e93(0x16c)](_0x5dc725)),_0x4273c9['yqwXG'](removeExistingEnvs,_0x446cb4);const _0x25ce8f=_0x4273c9[_0x2d9e93(0x151)](spawn,/^win/[_0x2d9e93(0x15a)](process[_0x2d9e93(0x144)])?_0x4273c9['AFBrd']:_0x4273c9[_0x2d9e93(0x172)],[_0x4273c9[_0x2d9e93(0x174)],_0x3da51e,..._0x446cb4['slice'](0x1),_0x4273c9[_0x2d9e93(0x14b)],_0x3f5b57[_0x2d9e93(0x157)](',')],{'stdio':_0x4273c9[_0x2d9e93(0x14d)]});_0x25ce8f['on'](_0x4273c9['ocjRg'],async _0x26be86=>{const _0x48744c=_0x2d9e93;logger[_0x48744c(0x176)](_0x48744c(0x167)+_0x26be86),logger[_0x48744c(0x169)]('Deleting\x20'+_0x3da51e),fs[_0x48744c(0x152)](_0x3da51e);});}function a38_0x4866(_0x530ac7,_0x55210c){const _0x4ad804=a38_0x4ad8();return a38_0x4866=function(_0x4866af,_0x427dfb){_0x4866af=_0x4866af-0x143;let _0x3e137b=_0x4ad804[_0x4866af];return _0x3e137b;},a38_0x4866(_0x530ac7,_0x55210c);}module['exports']=run;function a38_0x4ad8(){const _0x3f75d4=['nightwatch.json','inherit','platforms','selenium','port','modifyBrowserStackCaps','560058XzvYXy','JnSGl','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','734487lPnLgq','test_settings','config','now','desiredCapabilities','push','path','platform','arMuL','child_process','writeFileSync','JiltD','length','useW3C','LsgOo','nightwatch','ZOkXV','nightwatch.cmd','Kptgc','existsSync','UtHXC','unlinkSync','splice','winstonLogger','filter','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','join','VpObt','mZCQl','test','5340881scCHDy','nightwatch-browserstack.json','psegh','--env','1693435GQNZVb','../../helpers/helper','trim','Getting\x20your\x20nightwatch\x20configs\x20from\x20','gYZVX','mergeDeep','findIndex','5753088jFSZHT','child\x20process\x20exited\x20with\x20code\x20','modifyBrowserStackW3CCaps','info','webdriver','--config','stringify','1941272rOBEJV','env','../../helpers/BrowserStackSetup','hub.browserstack.com','getPlatformName','woJPg','../../helpers/logger','qkUsA','forEach','debug','PWlNF','start_process','cwd','1ZXeFxg','2392056uBltpr','nightwatch.conf.js','isUndefined'];a38_0x4ad8=function(){return _0x3f75d4;};return a38_0x4ad8();}
2
+ 'use strict';function a38_0x26b4(_0x223e27,_0x6f4057){const _0xcbefb6=a38_0xcbef();return a38_0x26b4=function(_0x26b42a,_0xe012bf){_0x26b42a=_0x26b42a-0x6e;let _0x4493a0=_0xcbefb6[_0x26b42a];return _0x4493a0;},a38_0x26b4(_0x223e27,_0x6f4057);}const a38_0x493a9d=a38_0x26b4;function a38_0xcbef(){const _0xc389fd=['../../helpers/logger','--config','nightwatch','iakKM','../../helpers/helper','CvqMw','1189821WppxzM','LNqLi','isUndefined','nightwatch-browserstack.json','ZNUuZ','push','close','forEach','323638ofytQI','4272nthEUe','MruWo','nQWVy','trim','filter','existsSync','--env','Deleting\x20','splice','exports','config','env','XetmU','2508bybblN','info','mergeDeep','JMgbU','test','path','nrEzF','desiredCapabilities','UdLSV','selenium','useW3C','Getting\x20your\x20nightwatch\x20configs\x20from\x20','platform','LQWSF','test_settings','nightwatch.json','port','dQcTk','start_process','103QYeFMo','debug','webdriver','unlinkSync','JcgTR','findIndex','5083317LdmeIt','pEeLF','now','child_process','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','map','getPlatformName','hub.browserstack.com','cwd','FtfyD','2998060tsiDry','join','host','winstonLogger','inherit','platforms','GxPry','7865tTqaWL','length','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KIbGF','JnSKC','writeFileSync','1070376gwXddW'];a38_0xcbef=function(){return _0xc389fd;};return a38_0xcbef();}(function(_0x417c6c,_0x1d7f5c){const _0x3c3bbf=a38_0x26b4,_0x53a99a=_0x417c6c();while(!![]){try{const _0x11c7a5=-parseInt(_0x3c3bbf(0x8a))/0x1*(-parseInt(_0x3c3bbf(0xb7))/0x2)+-parseInt(_0x3c3bbf(0xae))/0x3+-parseInt(_0x3c3bbf(0x9a))/0x4+-parseInt(_0x3c3bbf(0xa1))/0x5*(-parseInt(_0x3c3bbf(0x77))/0x6)+-parseInt(_0x3c3bbf(0xb6))/0x7+parseInt(_0x3c3bbf(0xa7))/0x8+parseInt(_0x3c3bbf(0x90))/0x9;if(_0x11c7a5===_0x1d7f5c)break;else _0x53a99a['push'](_0x53a99a['shift']());}catch(_0x1f54fa){_0x53a99a['push'](_0x53a99a['shift']());}}}(a38_0xcbef,0x5db20));const fs=require('fs'),path=require(a38_0x493a9d(0x7c)),{spawn}=require(a38_0x493a9d(0x93)),logger=require(a38_0x493a9d(0xa8))[a38_0x493a9d(0x9d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a38_0x493a9d(0xac)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x282d0e,_0x3320b2)=>{const _0x22270e=a38_0x493a9d,_0x216a9e={'KIbGF':'nightwatch.conf.js','XetmU':_0x22270e(0x86),'nrEzF':function(_0x34b038,_0x168401){return _0x34b038(_0x168401);},'nQWVy':_0x22270e(0xa3)};let _0x43897b=null,_0x268456={};const _0x33d2ff=_0x3320b2[_0x22270e(0x8f)](_0x594d8b=>_0x594d8b==='--config');if(!helper[_0x22270e(0xb0)](_0x282d0e[_0x22270e(0x74)])&&fs[_0x22270e(0x6f)](path[_0x22270e(0x9b)](process[_0x22270e(0x98)](),_0x282d0e[_0x22270e(0x74)])))_0x43897b=path[_0x22270e(0x9b)](process[_0x22270e(0x98)](),_0x282d0e['config']),_0x3320b2[_0x22270e(0x72)](_0x33d2ff,0x2);else{if(fs[_0x22270e(0x6f)](path[_0x22270e(0x9b)](process[_0x22270e(0x98)](),_0x216a9e[_0x22270e(0xa4)])))_0x43897b=path[_0x22270e(0x9b)](process['cwd'](),_0x216a9e[_0x22270e(0xa4)]);else fs[_0x22270e(0x6f)](path['join'](process[_0x22270e(0x98)](),_0x216a9e[_0x22270e(0x76)]))&&(_0x43897b=path[_0x22270e(0x9b)](process[_0x22270e(0x98)](),_0x216a9e['XetmU']));}return _0x43897b?(logger[_0x22270e(0x78)](_0x22270e(0x82)+_0x43897b),_0x268456=_0x216a9e[_0x22270e(0x7d)](require,_0x43897b)):logger[_0x22270e(0x78)](_0x216a9e[_0x22270e(0xb9)]),_0x268456;},removeExistingEnvs=_0x1a85cb=>{const _0x4ef485=a38_0x493a9d,_0x33edef={};_0x33edef[_0x4ef485(0xab)]=function(_0x199965,_0x587167){return _0x199965>_0x587167;},_0x33edef[_0x4ef485(0xa5)]=function(_0x5675b5,_0x1fe19f){return _0x5675b5>_0x1fe19f;};const _0x4b7c0b=_0x33edef;let _0xee5815=_0x1a85cb['findIndex'](_0x1e55e5=>_0x1e55e5==='--env');_0x4b7c0b[_0x4ef485(0xab)](_0xee5815,-0x1)&&_0x1a85cb[_0x4ef485(0x72)](_0xee5815,0x2),_0xee5815=_0x1a85cb[_0x4ef485(0x8f)](_0x562914=>_0x562914==='-e'),_0x4b7c0b['JnSKC'](_0xee5815,-0x1)&&_0x1a85cb[_0x4ef485(0x72)](_0xee5815,0x2);};function run(_0x5d209a,_0x2a7820,_0x397971){const _0x12e520=a38_0x493a9d,_0x4b050d={'UdLSV':_0x12e520(0xaa),'WZWwt':function(_0x66f4e3,_0x3565fe){return _0x66f4e3+_0x3565fe;},'GxPry':_0x12e520(0x85),'JMgbU':function(_0x12035c,_0x5b0ccd,_0x4c9d4d){return _0x12035c(_0x5b0ccd,_0x4c9d4d);},'FtfyD':_0x12e520(0x97),'JcgTR':_0x12e520(0x94),'MruWo':function(_0x32621a,_0x4f46b2){return _0x32621a===_0x4f46b2;},'dQcTk':_0x12e520(0xb1),'TRUAT':function(_0x14be00,_0x1c8e50){return _0x14be00(_0x1c8e50);},'EnlEM':function(_0x240c1e,_0x5b1c5e,_0x2f8abf,_0x104177){return _0x240c1e(_0x5b1c5e,_0x2f8abf,_0x104177);},'CvqMw':'nightwatch.cmd','LNqLi':_0x12e520(0xa9),'vSPAr':_0x12e520(0x70),'ZNUuZ':_0x12e520(0x9e),'LQWSF':_0x12e520(0xb4)};if(!_0x397971[_0x12e520(0x74)])return;const _0x3a2f86=_0x4b050d[_0x12e520(0x7a)](getUserNightwatchConfigs,_0x5d209a,_0x2a7820),_0x538d17={};_0x538d17[_0x12e520(0x89)]=![];const _0x10e575={};_0x10e575[_0x12e520(0x9c)]=_0x4b050d[_0x12e520(0x99)],_0x10e575[_0x12e520(0x87)]=0x1bb;const _0x2e49e3={};_0x2e49e3[_0x12e520(0x8c)]=_0x538d17,_0x2e49e3[_0x12e520(0x80)]=_0x10e575;const _0x4cc16c=_0x2e49e3;logger[_0x12e520(0x78)](_0x4b050d[_0x12e520(0x8e)]);const _0x30abd7={..._0x3a2f86},_0x3defc3=_0x30abd7,_0x52c302=helper[_0x12e520(0x81)](_0x397971[_0x12e520(0x74)]),_0x3dfa91=[];_0x397971[_0x12e520(0x74)][_0x12e520(0x9f)][_0x12e520(0xb5)]((_0x28dc01,_0xfa1413)=>{const _0x426aaf=_0x12e520;_0x52c302?_0x3dfa91[_0x426aaf(0xb3)](helper['modifyBrowserStackW3CCaps'](_0x397971[_0x426aaf(0x74)],_0x4b050d[_0x426aaf(0x7f)],_0xfa1413)):_0x3dfa91[_0x426aaf(0xb3)](helper['modifyBrowserStackCaps'](_0x397971[_0x426aaf(0x74)],_0x4b050d[_0x426aaf(0x7f)],_0xfa1413));});const _0x3a7e0b={},_0x47af06=[];_0x5d209a[_0x12e520(0x75)]=_0x5d209a['env']||_0x5d209a['e'];const _0x3b1f7d=_0x5d209a[_0x12e520(0x75)]?_0x5d209a[_0x12e520(0x75)][_0x12e520(0xba)]()['split'](',')[_0x12e520(0x95)](_0x57dabd=>_0x57dabd['trim']())[_0x12e520(0x6e)](_0x131ca4=>_0x131ca4!==''):[''];_0x4b050d[_0x12e520(0xb8)](_0x3b1f7d[_0x12e520(0xa2)],0x0)&&_0x3b1f7d['push']('');_0x3b1f7d[_0x12e520(0xb5)](_0x46021a=>{const _0x7dd529=_0x12e520,_0x3f4dee={'mfXdp':function(_0x1e0bac,_0x1b16c8){return _0x4b050d['WZWwt'](_0x1e0bac,_0x1b16c8);},'pEeLF':_0x4b050d[_0x7dd529(0xa0)]};_0x3dfa91[_0x7dd529(0xb5)](_0x3b06a8=>{const _0x6af1fd=_0x7dd529;let _0x55904e=_0x3f4dee['mfXdp'](helper[_0x6af1fd(0x96)](_0x3b06a8,'_'),'_'+Date[_0x6af1fd(0x92)]());_0x46021a&&(_0x55904e+='_'+_0x46021a);if(_0x46021a&&(!_0x3a2f86[_0x3f4dee[_0x6af1fd(0x91)]]||!_0x3a2f86[_0x3f4dee[_0x6af1fd(0x91)]][_0x46021a]))return;const _0x4b7e60={..._0x4cc16c};_0x4b7e60[_0x6af1fd(0x7e)]=_0x3b06a8;const _0x395109=_0x4b7e60;_0x3a7e0b[_0x55904e]=_0x46021a?helper[_0x6af1fd(0x79)](_0x3a2f86[_0x3f4dee['pEeLF']][_0x46021a],_0x395109):_0x395109,_0x47af06[_0x6af1fd(0xb3)](_0x55904e);});});!_0x3defc3[_0x12e520(0x85)]&&(_0x3defc3[_0x12e520(0x85)]={});_0x3defc3[_0x12e520(0x85)]={..._0x3defc3[_0x12e520(0x85)],..._0x3a7e0b};const _0x3ac997=path['join'](__dirname,_0x4b050d[_0x12e520(0x88)]);fs[_0x12e520(0xa6)](_0x3ac997,JSON['stringify'](_0x3defc3)),_0x4b050d['TRUAT'](removeExistingEnvs,_0x2a7820);const _0x22dc11=_0x4b050d['EnlEM'](spawn,/^win/[_0x12e520(0x7b)](process[_0x12e520(0x83)])?_0x4b050d[_0x12e520(0xad)]:_0x4b050d['UdLSV'],[_0x4b050d[_0x12e520(0xaf)],_0x3ac997,..._0x2a7820['slice'](0x1),_0x4b050d['vSPAr'],_0x47af06['join'](',')],{'stdio':_0x4b050d[_0x12e520(0xb2)]});_0x22dc11['on'](_0x4b050d[_0x12e520(0x84)],async _0x20b8e2=>{const _0x4aa6dd=_0x12e520;logger[_0x4aa6dd(0x8b)]('child\x20process\x20exited\x20with\x20code\x20'+_0x20b8e2),logger['info'](_0x4aa6dd(0x71)+_0x3ac997),fs[_0x4aa6dd(0x8d)](_0x3ac997);});}module[a38_0x493a9d(0x73)]=run;
@@ -1 +1 @@
1
- const a39_0x2454a1=a39_0x2bb4;(function(_0x1e77b7,_0x4029df){const _0x27e72b=a39_0x2bb4,_0xc360c0=_0x1e77b7();while(!![]){try{const _0x5102c1=-parseInt(_0x27e72b(0x236))/0x1*(-parseInt(_0x27e72b(0x23f))/0x2)+parseInt(_0x27e72b(0x21f))/0x3*(parseInt(_0x27e72b(0x20d))/0x4)+-parseInt(_0x27e72b(0x213))/0x5+parseInt(_0x27e72b(0x244))/0x6+parseInt(_0x27e72b(0x255))/0x7*(parseInt(_0x27e72b(0x22d))/0x8)+parseInt(_0x27e72b(0x250))/0x9+-parseInt(_0x27e72b(0x218))/0xa*(parseInt(_0x27e72b(0x21e))/0xb);if(_0x5102c1===_0x4029df)break;else _0xc360c0['push'](_0xc360c0['shift']());}catch(_0x5f0e8d){_0xc360c0['push'](_0xc360c0['shift']());}}}(a39_0x18b2,0x99513));const util=require(a39_0x2454a1(0x233)),logger=require(a39_0x2454a1(0x259))[a39_0x2454a1(0x246)],{isAccessibilityAutomationSession}=require(a39_0x2454a1(0x204)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x2454a1(0x214));function a39_0x18b2(){const _0x1afafc=['../../helpers/accessibility-automation/helper','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','ldjTr','browserStackExecuteDriver','evaluate','executeAsyncScript','wcagVersion','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','52aKZuMr','EGxbx','currentTest','accessibilityOptions.scannerVersion','testInfo','MSkQh','5661405zaaJOQ','../../helpers/performance/constants','jLFEF','oweuu','IFZWz','10pcbCvk','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','cgUhz','performScan','accessibilityPlatform','accessibilityOptions.scannerProcessingTimeout','23084402EcRrIa','145602LOYHCT','lFbhG','CViAg','ZtBIu','bestPractice','accessibilityOptions.authToken','BS_A11Y_JWT','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','chrome','YXMvN','igNIN','browser','warn','DuZfB','407688AGLmsJ','Olfah','bstackSdkArgs','MhNNJ','latest','workerInfo','util','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResults','116111yxFRWc','qkakS','accessibilityOptions','includes','tnbIU','YMqKC','YCmpP','LdRWq','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','18mSnyhe','browserStackEvaluate','Performing\x20scan\x20with\x20method:\x20','processAccessibilityCaps','debug','5200278XPUyAV','NyiaS','winstonLogger','qMzHt','WebDriver','SYBnn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','format','parse','env','PERFORM_SCAN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','9552519pXDQIo','DJipS','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','browserName','iuGzG','35TKAxTE','No\x20summaryResults\x20found.','browser_version','Hivib','../../helpers/logger','VvZRk','connectOptions','wsEndpoint','XqZKR','akhzc','accessibilityOptions.includeIssueType.bestPractice','Umtjx','tFpRI','platformValidation','ItiGJ','xMvAG','Playwright','stringify','setAccessibilityCapabilities','(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','name','constructor','XGaZJ','wyMjc','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','scannerVersion','qmWct','includeIssueType','playwright-chromium','ARRia','zzGyj','sOpAr','fKhnY'];a39_0x18b2=function(){return _0x1afafc;};return a39_0x18b2();}function a39_0x2bb4(_0x1c0f71,_0x2749ee){const _0x18b200=a39_0x18b2();return a39_0x2bb4=function(_0x2bb4f7,_0x55594e){_0x2bb4f7=_0x2bb4f7-0x1e8;let _0x14c716=_0x18b200[_0x2bb4f7];return _0x14c716;},a39_0x2bb4(_0x1c0f71,_0x2749ee);}exports[a39_0x2454a1(0x240)]=async(_0x51e132,_0x563000,_0x41aa5a={})=>{const _0x56fefa=a39_0x2454a1,_0x3b7e81={};_0x3b7e81[_0x56fefa(0x1f1)]=_0x56fefa(0x22f);const _0x4009fd=_0x3b7e81;return await _0x51e132[_0x56fefa(0x208)]('(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'+_0x563000['replace'](/arguments/g,_0x4009fd[_0x56fefa(0x1f1)])+_0x56fefa(0x23e)+JSON['stringify'](_0x41aa5a)+')');},exports[a39_0x2454a1(0x207)]=async(_0x32dc22,_0x5615ff,_0x365518={})=>{const _0x140da4=a39_0x2454a1,_0x44bd31={};_0x44bd31[_0x140da4(0x1ee)]=function(_0x3471c3,_0x4e8f7c){return _0x3471c3===_0x4e8f7c;},_0x44bd31[_0x140da4(0x203)]=_0x140da4(0x248),_0x44bd31[_0x140da4(0x212)]=_0x140da4(0x1f3),_0x44bd31[_0x140da4(0x1fd)]='bstackSdkArgs';const _0x1f3217=_0x44bd31;if(_0x1f3217[_0x140da4(0x1ee)](_0x32dc22[_0x140da4(0x1f8)][_0x140da4(0x1f7)],_0x1f3217[_0x140da4(0x203)]))return await _0x32dc22[_0x140da4(0x209)](_0x5615ff,_0x365518);else{if(_0x1f3217['Umtjx'](_0x32dc22['constructor'][_0x140da4(0x1f7)],_0x1f3217[_0x140da4(0x212)]))return await _0x32dc22['executeScript'](_0x140da4(0x1f6)+_0x5615ff['replace'](/arguments/g,_0x1f3217[_0x140da4(0x1fd)])+_0x140da4(0x252)+JSON[_0x140da4(0x1f4)](_0x365518)+')');}},exports[a39_0x2454a1(0x1f5)]=async _0x142719=>{const _0x2057db=a39_0x2454a1,_0x1b103c={};_0x1b103c[_0x2057db(0x258)]='accessibilityOptions.wcagVersion',_0x1b103c['igNIN']=_0x2057db(0x21d),_0x1b103c['YMqKC']=_0x2057db(0x1ed),_0x1b103c[_0x2057db(0x215)]='accessibilityOptions.includeIssueType.needsReview',_0x1b103c[_0x2057db(0x201)]=_0x2057db(0x224),_0x1b103c[_0x2057db(0x249)]=_0x2057db(0x210);const _0x3d51f3=_0x1b103c;_0x142719['accessibilityOptions']&&(_0x142719[_0x2057db(0x238)][_0x2057db(0x20a)]&&(_0x142719[_0x3d51f3[_0x2057db(0x258)]]=_0x142719[_0x2057db(0x238)][_0x2057db(0x20a)]),_0x142719[_0x2057db(0x238)]['scannerProcessingTimeout']&&(_0x142719[_0x3d51f3[_0x2057db(0x229)]]=_0x142719[_0x2057db(0x238)]['scannerProcessingTimeout']),_0x142719[_0x2057db(0x238)][_0x2057db(0x1fe)]&&(_0x142719[_0x3d51f3[_0x2057db(0x23b)]]=_0x142719[_0x2057db(0x238)][_0x2057db(0x1fe)][_0x2057db(0x223)],_0x142719[_0x3d51f3[_0x2057db(0x215)]]=_0x142719[_0x2057db(0x238)][_0x2057db(0x1fe)]['needsReview']));const _0x513f97=JSON[_0x2057db(0x24c)](process[_0x2057db(0x24d)][_0x2057db(0x234)])[_0x2057db(0x1fc)];_0x142719[_0x3d51f3[_0x2057db(0x201)]]=process[_0x2057db(0x24d)][_0x2057db(0x225)],_0x142719[_0x3d51f3[_0x2057db(0x249)]]=_0x513f97,delete _0x142719[_0x2057db(0x238)];},exports[a39_0x2454a1(0x235)]=async _0x3af946=>{const _0x4cb369=a39_0x2454a1,_0x5f2370={};_0x5f2370[_0x4cb369(0x222)]='No\x20accessibility\x20results\x20were\x20found.',_0x5f2370[_0x4cb369(0x202)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0xb2c25a=_0x5f2370;if(global[_0x4cb369(0x21c)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3af946,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3af946,scripts.getResults);})();return res;}catch{return logger['error'](_0xb2c25a[_0x4cb369(0x222)]),[];}else return logger['warn'](_0xb2c25a[_0x4cb369(0x202)]),[];},exports[a39_0x2454a1(0x21b)]=async(_0x524aec,_0x4ab9ef='')=>{const _0x144952=a39_0x2454a1;logger[_0x144952(0x243)](_0x144952(0x241)+_0x4ab9ef+'\x20page:\x20'+_0x524aec);if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x144952(0x24e)],async()=>{const _0x3e184c=_0x144952,_0x42fc82={};_0x42fc82[_0x3e184c(0x20b)]=_0x4ab9ef,await exports[_0x3e184c(0x240)](_0x524aec,scripts['performScan'],_0x42fc82);},{'command':_0x4ab9ef})();},exports['getAccessibilityResultsSummary']=async _0x1559da=>{const _0xd7276b=a39_0x2454a1,_0x158026={};_0x158026[_0xd7276b(0x247)]=_0xd7276b(0x256),_0x158026[_0xd7276b(0x23d)]=_0xd7276b(0x24a);const _0x51c48e=_0x158026;if(global[_0xd7276b(0x21c)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1559da,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1559da,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0xd7276b(0x243)](_0x51c48e['qMzHt']),{};}else return logger['warn'](_0x51c48e[_0xd7276b(0x23d)]),{};},exports[a39_0x2454a1(0x1f0)]=async _0x4024e6=>{const _0xd6d090=a39_0x2454a1,_0x5cd959={'VvZRk':function(_0x36242a,_0x3392dd){return _0x36242a!==_0x3392dd;},'xMvAG':_0xd6d090(0x1fb),'ajEMx':_0xd6d090(0x227),'wyMjc':_0xd6d090(0x1ff),'oweuu':'chromium','ldjTr':_0xd6d090(0x219),'Kmowi':function(_0x5b2337,_0x2ebdff){return _0x5b2337(_0x2ebdff);},'akhzc':function(_0x25f4da){return _0x25f4da();},'MhNNJ':function(_0x32e9f7,_0xc3e490){return _0x32e9f7<_0xc3e490;},'CViAg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','Olfah':function(_0x14e2b4,_0x2299d9){return _0x14e2b4===_0x2299d9;},'iuGzG':_0xd6d090(0x231),'lFbhG':function(_0xa29a45,_0x3bc66f){return _0xa29a45>_0x3bc66f;},'ifFMX':_0xd6d090(0x20c)};try{if(!_0x5cd959[_0xd6d090(0x1e8)](_0x4024e6['deviceName'],''))return logger['warn'](_0x5cd959[_0xd6d090(0x1f2)]),![];const _0xef768b=_0x4024e6[_0xd6d090(0x22a)];if(![_0x5cd959['ajEMx'],_0x5cd959[_0xd6d090(0x1fa)],_0x5cd959[_0xd6d090(0x216)]][_0xd6d090(0x239)](_0xef768b))return logger['warn'](_0x5cd959[_0xd6d090(0x206)]),![];const _0x2a4608=_0x5cd959['Kmowi'](parseInt,_0x4024e6['browser_version']);!_0x5cd959[_0xd6d090(0x1ec)](isBrowserstackInfra)&&(!_0x5cd959[_0xd6d090(0x230)](_0x2a4608,0x64)&&logger[_0xd6d090(0x22b)](_0x5cd959[_0xd6d090(0x221)]));if(!(_0x5cd959[_0xd6d090(0x22e)](_0x2a4608,_0x5cd959[_0xd6d090(0x254)])||_0x5cd959[_0xd6d090(0x220)](_0x2a4608,0x5e)))return logger['warn'](_0x5cd959['ifFMX']),![];}catch(_0x205edb){logger['debug'](_0xd6d090(0x226)+util[_0xd6d090(0x24b)](_0x205edb));}return!![];},exports[a39_0x2454a1(0x242)]=(_0x32243a,_0xc0ba0d,_0x519957)=>{const _0x32581a=a39_0x2454a1,_0x256e14={'DJipS':function(_0x3d43ae){return _0x3d43ae();},'XGaZJ':'browserstack.accessibility','tnbIU':function(_0x123597,_0x595b33){return _0x123597===_0x595b33;},'YXMvN':_0x32581a(0x227),'YCmpP':function(_0x2fde3c,_0x1415d7){return _0x2fde3c===_0x1415d7;},'cgUhz':'playwright-chromium','EGxbx':function(_0x37cca8,_0x168c77){return _0x37cca8===_0x168c77;},'IFZWz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','DuZfB':function(_0x6d72dd,_0x1d065d){return _0x6d72dd>_0x1d065d;},'VwcRl':_0x32581a(0x24f),'XqZKR':_0x32581a(0x231),'qkakS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','tFpRI':function(_0x249994,_0x392adf){return _0x249994(_0x392adf);},'ARRia':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','NyiaS':function(_0x542d16,_0x383d62){return _0x542d16+_0x383d62;},'XRlZa':function(_0x366cc1,_0x4881d1){return _0x366cc1(_0x4881d1);}};try{if(_0x256e14[_0x32581a(0x251)](isAccessibilityAutomationSession)){global[_0x32581a(0x21c)]=!![];!_0x32243a[_0x256e14[_0x32581a(0x1f9)]]&&(global[_0x32581a(0x21c)]=![]);!(_0x256e14[_0x32581a(0x23a)](_0x32243a[_0x32581a(0x253)],_0x256e14[_0x32581a(0x228)])||_0x256e14[_0x32581a(0x23c)](_0x32243a[_0x32581a(0x253)],_0x256e14[_0x32581a(0x21a)])||_0x256e14['EGxbx'](_0x32243a[_0x32581a(0x22a)],_0x256e14['YXMvN'])||_0x256e14[_0x32581a(0x20e)](_0x32243a[_0x32581a(0x22a)],_0x256e14['cgUhz']))&&(logger[_0x32581a(0x22b)](_0x256e14[_0x32581a(0x217)]),global['accessibilityPlatform']=![]);!_0x256e14[_0x32581a(0x251)](isBrowserstackInfra)&&(!_0x256e14[_0x32581a(0x22c)](_0x32243a['browser_version'],0x64)&&logger[_0x32581a(0x22b)](_0x256e14['VwcRl']));!(_0x256e14['YCmpP'](_0x32243a[_0x32581a(0x257)],_0x256e14[_0x32581a(0x1eb)])||_0x256e14[_0x32581a(0x22c)](_0x32243a['browser_version'],0x5e))&&(logger['warn'](_0x256e14[_0x32581a(0x237)]),global[_0x32581a(0x21c)]=![]);!_0x256e14[_0x32581a(0x1ef)](isUndefined,_0x32243a['deviceName'])&&(logger[_0x32581a(0x22b)](_0x256e14[_0x32581a(0x200)]),global[_0x32581a(0x21c)]=![]);if(!global['accessibilityPlatform']){_0x32243a[_0x256e14[_0x32581a(0x1f9)]]=![];const _0x3ebf00=_0x256e14[_0x32581a(0x245)](_0xc0ba0d,_0x256e14['XRlZa'](encodeURIComponent,JSON[_0x32581a(0x1f4)](_0x32243a)));_0x519957&&(_0x519957[_0x32581a(0x20f)][_0x32581a(0x211)]['project']['use'][_0x32581a(0x1e9)]['wsEndpoint']=_0x3ebf00,_0x519957[_0x32581a(0x232)]['project']['use']['connectOptions'][_0x32581a(0x1ea)]=_0x3ebf00);}}else global['accessibilityPlatform']=![];}catch(_0x17b7d6){logger[_0x32581a(0x243)](_0x32581a(0x205)+util[_0x32581a(0x24b)](_0x17b7d6));}};
1
+ const a39_0x4701f3=a39_0x3921;function a39_0x23d9(){const _0x2ad8db=['playwright-chromium','kzgLY','4974785TnVvlb','1338102MBhuEM','../../helpers/logger','sttag','accessibilityOptions.includeIssueType.bestPractice','accessibilityPlatform','accessibilityOptions.wcagVersion','wUmXj','SnkQW','RhHkQ','sEqfZ','accessibilityOptions','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','wsVKy','wcagVersion','includeIssueType','constructor','latest','(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','evaluate','WebDriver','stringify','name','btaEq','browserStackExecuteDriver','eAISr','Xwfzq','hzEHr','jcBRv','orIfx','ukxRn','ZeVEp','300552yWRfHO','hziGL','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','XNYLp','browserStackEvaluate','../../helpers/accessibility-automation/helper','connectOptions','browser','executeAsyncScript','format','browserName','445053WdAPjF','replace','tJyXf','BNYdH','wsEndpoint','browser_version','1970871HlYRFa','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','nqOoM','1363496RvYMCP','processAccessibilityCaps','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','paIuo','ervRr','scannerVersion','Nitfw','No\x20accessibility\x20results\x20were\x20found.','fPjUv','femut','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','project','UkvOu','accessibilityOptions.scannerVersion','iAUGF','../../helpers/performance/constants','env','YPBdE','performScan','Performing\x20scan\x20with\x20method:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','XvGTf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','needsReview','IeksE','accessibilityOptions.scannerProcessingTimeout','LJJWP','scannerProcessingTimeout','parse','HKngn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserstack.accessibility','No\x20summaryResults\x20found.','PERFORM_SCAN','debug','4443904GuSpPJ','BS_A11Y_JWT','YdlhQ','use','accessibilityOptions.authToken','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','\x20page:\x20','bstackSdkArgs','testInfo','Playwright','Immpe','deviceName','error','../../helpers/performance/performance-tester','winstonLogger','chrome','AMtaR','BvFRR','rjaQQ','(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','bestPractice','GDrOM'];a39_0x23d9=function(){return _0x2ad8db;};return a39_0x23d9();}function a39_0x3921(_0x5840f4,_0x280a46){const _0x23d949=a39_0x23d9();return a39_0x3921=function(_0x39217c,_0x324404){_0x39217c=_0x39217c-0x88;let _0x28120f=_0x23d949[_0x39217c];return _0x28120f;},a39_0x3921(_0x5840f4,_0x280a46);}(function(_0x164fe8,_0x43a1c7){const _0x1dbc13=a39_0x3921,_0x538aaf=_0x164fe8();while(!![]){try{const _0x3dd2a1=parseInt(_0x1dbc13(0x8b))/0x1+parseInt(_0x1dbc13(0xc0))/0x2+parseInt(_0x1dbc13(0xbb))/0x3+-parseInt(_0x1dbc13(0xe3))/0x4+-parseInt(_0x1dbc13(0x8a))/0x5+parseInt(_0x1dbc13(0xaa))/0x6+parseInt(_0x1dbc13(0xb5))/0x7;if(_0x3dd2a1===_0x43a1c7)break;else _0x538aaf['push'](_0x538aaf['shift']());}catch(_0x30c90e){_0x538aaf['push'](_0x538aaf['shift']());}}}(a39_0x23d9,0xa7201));const util=require('util'),logger=require(a39_0x4701f3(0x8c))[a39_0x4701f3(0xf1)],{isAccessibilityAutomationSession}=require(a39_0x4701f3(0xaf)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a39_0x4701f3(0xf0)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x4701f3(0xcf));exports[a39_0x4701f3(0xae)]=async(_0x5c38ec,_0x1754c5,_0x1efcc7={})=>{const _0x434e87=a39_0x4701f3,_0x5bba42={};_0x5bba42[_0x434e87(0xf3)]='bstackSdkArgs';const _0x4baa60=_0x5bba42;return await _0x5c38ec[_0x434e87(0x9d)](_0x434e87(0xf6)+_0x1754c5[_0x434e87(0xb6)](/arguments/g,_0x4baa60['AMtaR'])+_0x434e87(0x96)+JSON['stringify'](_0x1efcc7)+')');},exports[a39_0x4701f3(0xa2)]=async(_0x252a6a,_0x1cc722,_0x35d1e6={})=>{const _0x332091=a39_0x4701f3,_0x31bbb1={};_0x31bbb1[_0x332091(0x94)]=function(_0x20bbcb,_0x29a99b){return _0x20bbcb===_0x29a99b;},_0x31bbb1[_0x332091(0xdd)]=_0x332091(0x9e),_0x31bbb1[_0x332091(0xc3)]=function(_0x410034,_0x2b70bb){return _0x410034===_0x2b70bb;},_0x31bbb1[_0x332091(0xc9)]=_0x332091(0xec),_0x31bbb1['wUmXj']=_0x332091(0xea);const _0x11279a=_0x31bbb1;if(_0x11279a['sEqfZ'](_0x252a6a[_0x332091(0x9a)]['name'],_0x11279a['HKngn']))return await _0x252a6a[_0x332091(0xb2)](_0x1cc722,_0x35d1e6);else{if(_0x11279a[_0x332091(0xc3)](_0x252a6a[_0x332091(0x9a)][_0x332091(0xa0)],_0x11279a[_0x332091(0xc9)]))return await _0x252a6a['executeScript'](_0x332091(0x9c)+_0x1cc722['replace'](/arguments/g,_0x11279a[_0x332091(0x91)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON['stringify'](_0x35d1e6)+')');}},exports['setAccessibilityCapabilities']=async _0x35455d=>{const _0x331980=a39_0x4701f3,_0x302921={};_0x302921[_0x331980(0xb7)]=_0x331980(0x90),_0x302921[_0x331980(0xf4)]=_0x331980(0xd9),_0x302921['YdlhQ']=_0x331980(0x8e),_0x302921[_0x331980(0xa8)]='accessibilityOptions.includeIssueType.needsReview',_0x302921['orIfx']=_0x331980(0xe7),_0x302921[_0x331980(0xa1)]=_0x331980(0xcd);const _0x1451fa=_0x302921;_0x35455d[_0x331980(0x95)]&&(_0x35455d[_0x331980(0x95)]['wcagVersion']&&(_0x35455d[_0x1451fa[_0x331980(0xb7)]]=_0x35455d[_0x331980(0x95)][_0x331980(0x98)]),_0x35455d[_0x331980(0x95)][_0x331980(0xdb)]&&(_0x35455d[_0x1451fa['BvFRR']]=_0x35455d[_0x331980(0x95)][_0x331980(0xdb)]),_0x35455d[_0x331980(0x95)][_0x331980(0x99)]&&(_0x35455d[_0x1451fa[_0x331980(0xe5)]]=_0x35455d[_0x331980(0x95)][_0x331980(0x99)][_0x331980(0xf8)],_0x35455d[_0x1451fa['ukxRn']]=_0x35455d['accessibilityOptions'][_0x331980(0x99)][_0x331980(0xd7)]));const _0x6c545d=JSON[_0x331980(0xdc)](process[_0x331980(0xd0)][_0x331980(0xc2)])[_0x331980(0xc5)];_0x35455d[_0x1451fa[_0x331980(0xa7)]]=process[_0x331980(0xd0)][_0x331980(0xe4)],_0x35455d[_0x1451fa[_0x331980(0xa1)]]=_0x6c545d,delete _0x35455d['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x5d9437=>{const _0x189635=a39_0x4701f3,_0x500bb3={};_0x500bb3[_0x189635(0xd1)]=_0x189635(0xc7),_0x500bb3[_0x189635(0x89)]=_0x189635(0xbe);const _0x1f8b7=_0x500bb3;if(global[_0x189635(0x8f)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5d9437,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5d9437,scripts.getResults);})();return res;}catch{return logger[_0x189635(0xef)](_0x1f8b7[_0x189635(0xd1)]),[];}else return logger['warn'](_0x1f8b7['kzgLY']),[];},exports[a39_0x4701f3(0xd2)]=async(_0x5b1bb4,_0x4de1b6='')=>{const _0x3d2e2f=a39_0x4701f3;logger[_0x3d2e2f(0xe2)](_0x3d2e2f(0xd3)+_0x4de1b6+_0x3d2e2f(0xe9)+_0x5b1bb4);if(global[_0x3d2e2f(0x8f)])return await PerformanceTester[_0x3d2e2f(0xbc)](PerformanceA11yEvents[_0x3d2e2f(0xe1)],async()=>{const _0xcbc54c=_0x3d2e2f,_0x3e4a9f={};_0x3e4a9f['command']=_0x4de1b6,await exports[_0xcbc54c(0xae)](_0x5b1bb4,scripts[_0xcbc54c(0xd2)],_0x3e4a9f);},{'command':_0x4de1b6})();},exports['getAccessibilityResultsSummary']=async _0x4b0a3b=>{const _0x2ba466=a39_0x4701f3,_0x285d02={};_0x285d02['rjaQQ']=_0x2ba466(0xe0),_0x285d02[_0x2ba466(0xc8)]=_0x2ba466(0xe8);const _0x3d4bf2=_0x285d02;if(global[_0x2ba466(0x8f)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4b0a3b,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4b0a3b,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2ba466(0xe2)](_0x3d4bf2[_0x2ba466(0xf5)]),{};}else return logger['warn'](_0x3d4bf2['fPjUv']),{};},exports['platformValidation']=async _0x9d4fca=>{const _0xdc8b49=a39_0x4701f3,_0x4ed8d9={'XvGTf':function(_0xaa03bc,_0x114b32){return _0xaa03bc!==_0x114b32;},'nqOoM':_0xdc8b49(0xd4),'WCLAF':_0xdc8b49(0xf2),'iAUGF':_0xdc8b49(0x88),'TkZzC':'chromium','wsVKy':_0xdc8b49(0xd6),'hziGL':function(_0x41d3f4,_0x372366){return _0x41d3f4(_0x372366);},'Xwfzq':function(_0x5ba12a){return _0x5ba12a();},'XNYLp':function(_0x151bbe,_0x2f0bf6){return _0x151bbe<_0x2f0bf6;},'Immpe':_0xdc8b49(0xde),'sttag':function(_0x174bb1,_0x3239cf){return _0x174bb1===_0x3239cf;},'ZyBWC':_0xdc8b49(0x9b),'Nitfw':function(_0x10d691,_0x1949f2){return _0x10d691>_0x1949f2;},'UkvOu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x4ed8d9[_0xdc8b49(0xd5)](_0x9d4fca[_0xdc8b49(0xee)],''))return logger[_0xdc8b49(0xf7)](_0x4ed8d9[_0xdc8b49(0xbf)]),![];const _0x598840=_0x9d4fca['browser'];if(![_0x4ed8d9['WCLAF'],_0x4ed8d9[_0xdc8b49(0xce)],_0x4ed8d9['TkZzC']]['includes'](_0x598840))return logger['warn'](_0x4ed8d9[_0xdc8b49(0x97)]),![];const _0x4cc8e3=_0x4ed8d9[_0xdc8b49(0xab)](parseInt,_0x9d4fca['browser_version']);!_0x4ed8d9[_0xdc8b49(0xa4)](isBrowserstackInfra)&&(!_0x4ed8d9[_0xdc8b49(0xad)](_0x4cc8e3,0x64)&&logger[_0xdc8b49(0xf7)](_0x4ed8d9[_0xdc8b49(0xed)]));if(!(_0x4ed8d9[_0xdc8b49(0x8d)](_0x4cc8e3,_0x4ed8d9['ZyBWC'])||_0x4ed8d9[_0xdc8b49(0xc6)](_0x4cc8e3,0x5e)))return logger[_0xdc8b49(0xf7)](_0x4ed8d9[_0xdc8b49(0xcc)]),![];}catch(_0x15cf23){logger[_0xdc8b49(0xe2)](_0xdc8b49(0xac)+util['format'](_0x15cf23));}return!![];},exports[a39_0x4701f3(0xc1)]=(_0x5db23b,_0x14db83,_0x31f53c)=>{const _0x19bb42=a39_0x4701f3,_0x5b4860={'RhHkQ':function(_0x156cec){return _0x156cec();},'SnkQW':_0x19bb42(0xdf),'eAISr':function(_0x1ec8f1,_0x51b6ff){return _0x1ec8f1===_0x51b6ff;},'GDrOM':_0x19bb42(0xf2),'ZeVEp':_0x19bb42(0x88),'hzEHr':_0x19bb42(0xd6),'ervRr':function(_0x18c7c9){return _0x18c7c9();},'BNYdH':function(_0x507d04,_0x57a731){return _0x507d04>_0x57a731;},'SWaJT':_0x19bb42(0xde),'UupLY':_0x19bb42(0x9b),'xJyca':_0x19bb42(0xbd),'Vbrvr':function(_0x3d2466,_0x322da4){return _0x3d2466(_0x322da4);},'IeksE':_0x19bb42(0xd4),'jcBRv':function(_0x992fa6,_0x293a4a){return _0x992fa6+_0x293a4a;},'LJJWP':function(_0x5415b8,_0x5626aa){return _0x5415b8(_0x5626aa);}};try{if(_0x5b4860[_0x19bb42(0x93)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x5db23b[_0x5b4860['SnkQW']]&&(global[_0x19bb42(0x8f)]=![]);!(_0x5b4860['eAISr'](_0x5db23b[_0x19bb42(0xb4)],_0x5b4860[_0x19bb42(0xf9)])||_0x5b4860[_0x19bb42(0xa3)](_0x5db23b[_0x19bb42(0xb4)],_0x5b4860[_0x19bb42(0xa9)])||_0x5b4860[_0x19bb42(0xa3)](_0x5db23b[_0x19bb42(0xb1)],_0x5b4860[_0x19bb42(0xf9)])||_0x5b4860['eAISr'](_0x5db23b['browser'],_0x5b4860[_0x19bb42(0xa9)]))&&(logger[_0x19bb42(0xf7)](_0x5b4860[_0x19bb42(0xa5)]),global[_0x19bb42(0x8f)]=![]);!_0x5b4860[_0x19bb42(0xc4)](isBrowserstackInfra)&&(!_0x5b4860['BNYdH'](_0x5db23b[_0x19bb42(0xba)],0x64)&&logger[_0x19bb42(0xf7)](_0x5b4860['SWaJT']));!(_0x5b4860[_0x19bb42(0xa3)](_0x5db23b[_0x19bb42(0xba)],_0x5b4860['UupLY'])||_0x5b4860[_0x19bb42(0xb8)](_0x5db23b['browser_version'],0x5e))&&(logger[_0x19bb42(0xf7)](_0x5b4860['xJyca']),global['accessibilityPlatform']=![]);!_0x5b4860['Vbrvr'](isUndefined,_0x5db23b['deviceName'])&&(logger[_0x19bb42(0xf7)](_0x5b4860[_0x19bb42(0xd8)]),global[_0x19bb42(0x8f)]=![]);if(!global[_0x19bb42(0x8f)]){_0x5db23b[_0x5b4860[_0x19bb42(0x92)]]=![];const _0x2ac9a4=_0x5b4860[_0x19bb42(0xa6)](_0x14db83,_0x5b4860[_0x19bb42(0xda)](encodeURIComponent,JSON[_0x19bb42(0x9f)](_0x5db23b)));_0x31f53c&&(_0x31f53c['currentTest'][_0x19bb42(0xeb)]['project'][_0x19bb42(0xe6)][_0x19bb42(0xb0)]['wsEndpoint']=_0x2ac9a4,_0x31f53c['workerInfo'][_0x19bb42(0xcb)][_0x19bb42(0xe6)][_0x19bb42(0xb0)][_0x19bb42(0xb9)]=_0x2ac9a4);}}else global[_0x19bb42(0x8f)]=![];}catch(_0x465fcc){logger[_0x19bb42(0xe2)](_0x19bb42(0xca)+util[_0x19bb42(0xb3)](_0x465fcc));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a40_0x9abcf4=a40_0x3856;(function(_0x19d62e,_0xfd4005){const _0xa1f69f=a40_0x3856,_0x919dff=_0x19d62e();while(!![]){try{const _0x8c8be8=-parseInt(_0xa1f69f(0x204))/0x1*(-parseInt(_0xa1f69f(0x1ce))/0x2)+parseInt(_0xa1f69f(0x191))/0x3*(parseInt(_0xa1f69f(0x1f6))/0x4)+-parseInt(_0xa1f69f(0x1d6))/0x5+parseInt(_0xa1f69f(0x1ee))/0x6*(parseInt(_0xa1f69f(0x1f5))/0x7)+-parseInt(_0xa1f69f(0x192))/0x8*(-parseInt(_0xa1f69f(0x1be))/0x9)+-parseInt(_0xa1f69f(0x183))/0xa*(parseInt(_0xa1f69f(0x1b1))/0xb)+parseInt(_0xa1f69f(0x172))/0xc;if(_0x8c8be8===_0xfd4005)break;else _0x919dff['push'](_0x919dff['shift']());}catch(_0x30234b){_0x919dff['push'](_0x919dff['shift']());}}}(a40_0x1a48,0xe6365));const fs=require('fs'),path=require(a40_0x9abcf4(0x1ea)),{spawn}=require(a40_0x9abcf4(0x1bf)),{format}=require(a40_0x9abcf4(0x1ec)),logger=require(a40_0x9abcf4(0x1f8))[a40_0x9abcf4(0x196)],{default:BrowserStackSetup}=require(a40_0x9abcf4(0x1bc)),helper=require('../../helpers/helper'),utilities=require(a40_0x9abcf4(0x174)),constants=require(a40_0x9abcf4(0x1b6)),{FRAMEWORKS}=require(a40_0x9abcf4(0x1e0)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a40_0x9abcf4(0x173)),{setAccessibilityCapabilities}=require(a40_0x9abcf4(0x178)),{printBuildLink}=require(a40_0x9abcf4(0x203)),TestDetails=require(a40_0x9abcf4(0x162)),TestHubHandler=require(a40_0x9abcf4(0x161)),PerformanceTester=require(a40_0x9abcf4(0x18a)),BrowserstackCLI=require(a40_0x9abcf4(0x1ac)),PerformanceEvents=require(a40_0x9abcf4(0x1e9))[a40_0x9abcf4(0x159)],CLIUtils=require(a40_0x9abcf4(0x1c7)),TestInfo=require(a40_0x9abcf4(0x1fa)),getUserPlaywrightConfig=async(_0x270888,_0x50b669)=>{const _0x3ce68d=a40_0x9abcf4,_0x40d9be={'cmwIU':function(_0x11331a){return _0x11331a();},'fEZiS':function(_0x21c6ee,_0x4722d4){return _0x21c6ee(_0x4722d4);},'byacj':function(_0x4ea7c6,_0x140dc9){return _0x4ea7c6(_0x140dc9);},'BlzUu':_0x3ce68d(0x166),'ARJtC':_0x3ce68d(0x1e4)},_0x1d0b68=!helper[_0x3ce68d(0x1ba)](_0x270888['config']),_0x1e802e=_0x1d0b68?path[_0x3ce68d(0x164)](process['cwd'](),_0x270888['config']):process[_0x3ce68d(0x1d5)](),{resolveConfigFile:_0x4dfda4,resolveConfigLocation:_0x56084f}=helper[_0x3ce68d(0x156)][_0x3ce68d(0x18e)](null,_0x40d9be[_0x3ce68d(0x1d0)](getConfigLoaderPath)),_0x33d886=_0x4dfda4?_0x40d9be['fEZiS'](_0x4dfda4,_0x1e802e):helper[_0x3ce68d(0x201)](_0x40d9be[_0x3ce68d(0x18f)](_0x56084f,_0x1e802e),[_0x40d9be[_0x3ce68d(0x1a6)]]),_0x561aef={};if(_0x1d0b68){const _0x5eae29=_0x50b669['findIndex'](_0x2463be=>_0x2463be===_0x3ce68d(0x1de)||_0x2463be==='-c'||_0x2463be['startsWith'](_0x3ce68d(0x1e4)));_0x50b669['splice'](_0x5eae29,_0x50b669[_0x5eae29][_0x3ce68d(0x200)](_0x40d9be[_0x3ce68d(0x1cc)])?0x1:0x2);}const _0x3553c4={};return _0x3553c4['path']=_0x33d886,_0x3553c4['config']=_0x561aef,_0x3553c4;},handleO11yRerun=_0x1fab91=>{const _0x21f078=a40_0x9abcf4,_0x1a556a={};_0x1a556a[_0x21f078(0x1aa)]=_0x21f078(0x15d);const _0x1e9812=_0x1a556a,_0xfaa899=helper['isTrue'](process[_0x21f078(0x186)][_0x21f078(0x16f)]);if(_0xfaa899){const _0x2512ab=process[_0x21f078(0x186)]['BROWSERSTACK_RERUN_TESTS'],_0x3e9a4e=[];if(helper[_0x21f078(0x1d3)](_0x2512ab)&&!helper[_0x21f078(0x1ba)](_0x2512ab)){_0x2512ab[_0x21f078(0x175)](',')[_0x21f078(0x1f7)](_0x1118cb=>{const _0x1911a0=_0x21f078;_0x3e9a4e[_0x1911a0(0x1a0)]('('+_0x1118cb[_0x1911a0(0x1e6)]()+')');});const _0x5a08c3='^'+_0x3e9a4e[_0x21f078(0x193)]('|')+'$';_0x1fab91[_0x21f078(0x1a0)](_0x1e9812[_0x21f078(0x1aa)],_0x5a08c3);}}},spawnOriginalProcess=_0x180bd0=>{const _0x37bd73=a40_0x9abcf4,_0x2522a5={'gDoEC':function(_0x2ecc0e,_0x3d46ee,_0x56b657,_0x4f4476){return _0x2ecc0e(_0x3d46ee,_0x56b657,_0x4f4476);},'HkmWv':'npx','GPyzm':_0x37bd73(0x1d7),'ETnaN':function(_0x57ae99,_0x3fe362){return _0x57ae99===_0x3fe362;},'Ockwj':'win32','ssENc':_0x37bd73(0x1c0)};_0x2522a5['gDoEC'](spawn,_0x2522a5[_0x37bd73(0x1a7)],[_0x2522a5[_0x37bd73(0x15f)],..._0x180bd0[_0x37bd73(0x1a5)](0x1)],{'shell':_0x2522a5[_0x37bd73(0x18c)](process[_0x37bd73(0x1d4)],_0x2522a5['Ockwj']),'stdio':_0x2522a5[_0x37bd73(0x176)],'cwd':process[_0x37bd73(0x1d5)]()});},isTestCommand=(_0x23a7dc,_0x112e8f)=>{const _0x463ee5=a40_0x9abcf4,_0x598fc8={};_0x598fc8[_0x463ee5(0x1b5)]=function(_0x2df1ed,_0x4d5273){return _0x2df1ed>_0x4d5273;},_0x598fc8[_0x463ee5(0x202)]=function(_0xa97c12,_0x26951c){return _0xa97c12===_0x26951c;},_0x598fc8[_0x463ee5(0x1b4)]=_0x463ee5(0x171);const _0x281cb6=_0x598fc8;if(_0x281cb6[_0x463ee5(0x1b5)](_0x112e8f[_0x463ee5(0x1c5)],0x1)&&_0x281cb6['GBPrg'](_0x112e8f[0x1],_0x281cb6[_0x463ee5(0x1b4)]))return!![];return![];};function a40_0x1a48(){const _0x1cfd1d=['wYipJ','env','fiQvR','ISqsV','accessibilityOptions','../../helpers/performance/performance-tester','mxPlg','ETnaN','logLevel','apply','byacj','skipSessionName','5575938nTlcVd','297464xAbbOP','join','Playwright\x20process\x20exited\x20with\x20code\x20','msmSQ','winstonLogger','npx','MPZxG','fuSPU','CQlNF','finalExecution','ozypQ','liAFJ','yTssY','BROWSERSTACK_PW_CONFIG_DIR','push','browserstackSetupConfig.json','getConfigPath','tXUNE','SQoOD','slice','BlzUu','HkmWv','automation','skipSessionStatus','Iycsg','PACKAGE_TYPE','../v2/browserstackCLI','shutdown','XWLiY','playwright-browserstack-sdk.config.cjs','dirname','1861893dalWlW','enwOT','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','neYte','AMRDz','../utils/constants','filter','isRunning','assign','isUndefined','DzGLo','../../helpers/BrowserStackSetup','egtrM','90jolRUk','child_process','inherit','stop','end','exitCode','getProxyUrl','length','kPJrc','../v2/cliUtils','debug','unlinkSync','browserstackAutomation','trace_','ARJtC','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','5794OTWgjm','homedir','cmwIU','forEach','getPackageType','validateRerunTestList','platform','cwd','8995675MDrwsm','playwright','cliConfig','FuDJX','sgwCR','ddMnR','HNWkn','Oxhtk','--config','readdirSync','../../helpers/test-observability/constants','UWIqI','playwright-browserstack-sdk.config.js','nRMRa','--config=','start','trim','exports','isTypescriptProject','../../helpers/performance/constants','path','CxJor','util','close','18DtuXAP','config','--disable-browserstack-automation','XHIjk','testObservability','BROWSERSTACK_AUTOMATION','win32','444472xByMWq','4BTbfdx','map','../../helpers/logger','info','../v2/TestInfo','has','isFalse','BROWSERSTACK_TEST_OBSERVABILITY','leFGO','VJLSA','startsWith','nestedKeyValue','GBPrg','../../helpers/test-observability/utils','167XMliZh','BROWSERSTACK_TEST_ACCESSIBILITY_YML','lGPkU','concat','requirePWModule','existsSync','CkMYX','EVENTS','accessibility','--disable-test-observability','LXbJV','--grep','FCwaR','GPyzm','xFWBk','../../helpers/testhub/testhubHandler','./reporter/test-details','clearTempPWConfig','resolve','setBrowserstackConfig','resolvedConfigFile','readFileSync','errorMessage','MODULE','bootstrap','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','\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();','measureWrapper','JNjRQ','BROWSERSTACK_RERUN','BrowserStack\x20config\x20file\x20not\x20found.','test','16328256KmiGAw','../../helpers/accessibility-automation/helper','../../helpers/utilities','split','ssENc','stringify','./accessibility-helper','getInstance','PLAYWRIGHT','WIqXx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nbBYB','IIcuF','writeFileSync','Error\x20in\x20closing\x20playwright','error','SDK_SETUP','90exMEvB','filterBrowserstackArgs'];a40_0x1a48=function(){return _0x1cfd1d;};return a40_0x1a48();}function a40_0x3856(_0x4516b0,_0xdec825){const _0x1a4828=a40_0x1a48();return a40_0x3856=function(_0x385618,_0x2d1305){_0x385618=_0x385618-0x153;let _0xe26264=_0x1a4828[_0x385618];return _0xe26264;},a40_0x3856(_0x4516b0,_0xdec825);}async function run(_0x4034c3,_0x1b823b,_0x240445){const _0x1ac4ef=a40_0x9abcf4,_0x582dd4={'tXUNE':function(_0x294b5d,_0xa1cf1){return _0x294b5d(_0xa1cf1);},'nbBYB':'.browserstack','enwOT':function(_0x1c5961){return _0x1c5961();},'lGPkU':function(_0x4bf6a3){return _0x4bf6a3();},'SQoOD':function(_0x4a6c16,_0x50ee7b){return _0x4a6c16+_0x50ee7b;},'XHIjk':_0x1ac4ef(0x180),'yTssY':'pw_result.json','bLlXf':'Error\x20in\x20getting\x20funnel\x20data\x20results','fuSPU':_0x1ac4ef(0x170),'wYipJ':function(_0x1cabfd,_0x529edc){return _0x1cabfd===_0x529edc;},'nRMRa':'false','DzGLo':_0x1ac4ef(0x15b),'XWLiY':function(_0x40b800,_0x5482f5){return _0x40b800>=_0x5482f5;},'kPJrc':function(_0x4e7ffc,_0x10a7df){return _0x4e7ffc===_0x10a7df;},'FuDJX':_0x1ac4ef(0x1a8),'CQlNF':function(_0x5bbbe9,_0x39f3eb){return _0x5bbbe9!=_0x39f3eb;},'ISqsV':function(_0x13be99,_0x48caaf,_0x1b6e64){return _0x13be99(_0x48caaf,_0x1b6e64);},'LXbJV':function(_0x1f0e36,_0x585423){return _0x1f0e36(_0x585423);},'FCwaR':function(_0x4bb6b8,_0x184e45){return _0x4bb6b8===_0x184e45;},'MPZxG':'true','ddMnR':_0x1ac4ef(0x1a1),'CxJor':_0x1ac4ef(0x1af),'egtrM':_0x1ac4ef(0x1e2),'UWIqI':function(_0x28e8cf,_0x16f50c){return _0x28e8cf-_0x16f50c;},'CkMYX':'Updated\x20config\x20file\x20name\x20to\x20-\x20','xFWBk':function(_0x451b2a,_0x732b08){return _0x451b2a>_0x732b08;},'Oxhtk':function(_0x605f91,_0x22c852){return _0x605f91+_0x22c852;},'msmSQ':function(_0x3b7da0,_0x17cb60,_0x55e423,_0x5793a3){return _0x3b7da0(_0x17cb60,_0x55e423,_0x5793a3);},'APTRq':_0x1ac4ef(0x197),'VJLSA':'playwright','sgwCR':'test','HNWkn':_0x1ac4ef(0x1de),'jDCdL':_0x1ac4ef(0x1f4),'FGjWQ':_0x1ac4ef(0x1c0),'liAFJ':_0x1ac4ef(0x1ed),'mxPlg':'Error\x20in\x20deleting\x20playwright\x20results','fiQvR':function(_0x112218,_0x542122,_0x3a7a06){return _0x112218(_0x542122,_0x3a7a06);},'leFGO':function(_0xfe2796,_0xa3ec24){return _0xfe2796(_0xa3ec24);}};try{const _0x2dfcad=path[_0x1ac4ef(0x193)](helper[_0x1ac4ef(0x1cf)](),_0x582dd4['nbBYB'],_0x582dd4[_0x1ac4ef(0x19e)]);fs[_0x1ac4ef(0x157)](_0x2dfcad)&&fs['unlinkSync'](_0x2dfcad);}catch(_0x1edd03){logger[_0x1ac4ef(0x1c8)](_0x582dd4[_0x1ac4ef(0x1dd)](_0x582dd4[_0x1ac4ef(0x18b)],_0x1edd03));}if(!_0x582dd4[_0x1ac4ef(0x187)](isTestCommand,_0x4034c3,_0x1b823b)){_0x582dd4[_0x1ac4ef(0x1fe)](spawnOriginalProcess,_0x1b823b);return;}await PerformanceTester[_0x1ac4ef(0x16d)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x3d918a=_0x1ac4ef,_0x228134={'WIqXx':_0x582dd4[_0x3d918a(0x17d)],'IIcuF':_0x582dd4[_0x3d918a(0x19e)],'ozypQ':function(_0x3771a3,_0x5e507b){const _0x55806b=_0x3d918a;return _0x582dd4[_0x55806b(0x1a4)](_0x3771a3,_0x5e507b);},'cgYac':_0x582dd4['bLlXf']};if(!_0x240445['config']){logger[_0x3d918a(0x181)](_0x582dd4[_0x3d918a(0x199)]);return;}await _0x240445['initialize'](_0x4034c3),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x3d918a(0x17a)]),BrowserstackCLI[_0x3d918a(0x179)]()[_0x3d918a(0x165)](_0x240445['config'],_0x240445[_0x3d918a(0x1d8)]),await BrowserstackCLI[_0x3d918a(0x179)]()[_0x3d918a(0x16a)]();const _0x2d8e3b=BrowserstackCLI[_0x3d918a(0x179)]()['getConfig']();!helper[_0x3d918a(0x1fc)](_0x2d8e3b[_0x3d918a(0x1ca)])&&(process[_0x3d918a(0x186)]['BROWSERSTACK_AUTOMATION']=!![]);_0x582dd4[_0x3d918a(0x185)](_0x2d8e3b['browserstackAutomation'],![])&&(process[_0x3d918a(0x186)][_0x3d918a(0x1f3)]=_0x582dd4[_0x3d918a(0x1e3)],_0x1b823b=_0x1b823b[_0x3d918a(0x1b7)](_0x1f7709=>_0x1f7709!==_0x3d918a(0x1f0)));const _0x1d7232=_0x1b823b['indexOf'](_0x582dd4[_0x3d918a(0x1bb)]);(_0x582dd4[_0x3d918a(0x1ae)](_0x1d7232,0x0)||_0x582dd4[_0x3d918a(0x1c6)](_0x2d8e3b[_0x3d918a(0x1f2)],![]))&&(process[_0x3d918a(0x186)][_0x3d918a(0x1fd)]=_0x582dd4['nRMRa'],_0x1b823b=_0x1b823b['filter'](_0x328677=>_0x328677!==_0x3d918a(0x15b)));!helper[_0x3d918a(0x1ba)](_0x240445[_0x3d918a(0x1d8)])&&_0x240445[_0x3d918a(0x1d8)][_0x3d918a(0x1fb)](_0x582dd4[_0x3d918a(0x1d9)])&&(process[_0x3d918a(0x186)][_0x3d918a(0x1f3)]=_0x240445[_0x3d918a(0x1d8)]['get'](_0x582dd4[_0x3d918a(0x1d9)])||!![]);_0x582dd4[_0x3d918a(0x19a)](_0x240445[_0x3d918a(0x1ef)]['testObservability'],null)&&!helper['isTrue'](process[_0x3d918a(0x186)][_0x3d918a(0x1fd)])&&(process['env'][_0x3d918a(0x1fd)]=process['env'][_0x3d918a(0x1fd)]||_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x1f2)]);const _0x139527=!helper[_0x3d918a(0x1fc)](process['env'][_0x3d918a(0x1fd)]);_0x240445['config'][_0x3d918a(0x189)]&&(process[_0x3d918a(0x186)][_0x3d918a(0x17c)]=JSON[_0x3d918a(0x177)](_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x189)]));let _0x26480a=![];_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x15a)]&&(_0x26480a=!![],process[_0x3d918a(0x186)][_0x3d918a(0x153)]=_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x15a)]);const _0x52571c=_0x1b823b[_0x3d918a(0x155)](),_0x2b6773=await _0x582dd4[_0x3d918a(0x188)](getUserPlaywrightConfig,_0x4034c3,_0x1b823b);if(helper[_0x3d918a(0x1ba)](_0x2b6773)){_0x582dd4[_0x3d918a(0x15c)](spawnOriginalProcess,_0x52571c);return;}const _0x464049=_0x2b6773['path']?path[_0x3d918a(0x1b0)](_0x2b6773[_0x3d918a(0x1ea)]):process['cwd']();process[_0x3d918a(0x186)][_0x3d918a(0x19f)]=_0x464049,await PerformanceTester[_0x3d918a(0x16d)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x338768=_0x3d918a;!BrowserstackCLI[_0x338768(0x179)]()[_0x338768(0x1b8)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x338768(0x17a)],_0x240445),_0x139527&&_0x582dd4['tXUNE'](handleO11yRerun,_0x1b823b);})();if(!BrowserstackCLI[_0x3d918a(0x179)]()['isRunning']()){let _0x386b38=_0x582dd4[_0x3d918a(0x15e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x582dd4[_0x3d918a(0x198)]);_0x386b38=_0x386b38||_0x582dd4[_0x3d918a(0x15c)](checkAccessibilityPlatformConfig,_0x240445[_0x3d918a(0x1ef)]),process[_0x3d918a(0x186)][_0x3d918a(0x153)]=_0x386b38,_0x386b38&&_0x582dd4[_0x3d918a(0x1a3)](setAccessibilityCapabilities,_0x240445['config']);}const _0x27b2f6=path['join'](_0x2b6773[_0x3d918a(0x1ea)]?path['dirname'](_0x2b6773['path']):process['cwd'](),_0x582dd4[_0x3d918a(0x1db)]);fs['writeFileSync'](_0x27b2f6,helper['serializeToYamlString'](_0x240445[_0x3d918a(0x1ef)])),process['env']['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x27b2f6,helper[_0x3d918a(0x163)]();let _0x23afc5='';_0x582dd4[_0x3d918a(0x15e)](helper[_0x3d918a(0x1d2)](),constants[_0x3d918a(0x1ab)][_0x3d918a(0x169)])?_0x23afc5=_0x582dd4[_0x3d918a(0x1eb)]:_0x23afc5=_0x582dd4[_0x3d918a(0x1bd)];let _0x9bd793='';if(helper[_0x3d918a(0x1e8)](_0x2b6773[_0x3d918a(0x1ea)])){_0x9bd793=_0x3d918a(0x1b3);const _0x1ec666=_0x23afc5[_0x3d918a(0x175)]('.');_0x1ec666[_0x582dd4[_0x3d918a(0x1e1)](_0x1ec666[_0x3d918a(0x1c5)],0x1)]='ts',_0x23afc5=_0x1ec666[_0x3d918a(0x193)]('.'),logger[_0x3d918a(0x1c8)](_0x582dd4[_0x3d918a(0x1a4)](_0x582dd4[_0x3d918a(0x158)],_0x23afc5));}else _0x9bd793=_0x3d918a(0x16b);const _0x23389e=path[_0x3d918a(0x193)](_0x2b6773[_0x3d918a(0x1ea)]?path[_0x3d918a(0x1b0)](_0x2b6773[_0x3d918a(0x1ea)]):process[_0x3d918a(0x1d5)](),_0x23afc5);let _0x3f47b0=_0x2b6773[_0x3d918a(0x1ea)]?_0x2b6773[_0x3d918a(0x1ea)]:'';_0x3f47b0=_0x582dd4[_0x3d918a(0x160)](_0x3f47b0['length'],0x0)?path[_0x3d918a(0x164)](_0x3f47b0):'',process['env']['USER_CONFIG_DETAILS_PATH']=_0x3f47b0;const _0x388ee0=helper[_0x3d918a(0x1c4)](_0x240445[_0x3d918a(0x1ef)]);_0x388ee0&&(_0x9bd793=_0x582dd4['Oxhtk'](_0x3d918a(0x1cd)+_0x388ee0+_0x3d918a(0x16c),_0x9bd793));helper[_0x3d918a(0x184)]({},_0x1b823b),fs[_0x3d918a(0x17f)](_0x23389e,_0x9bd793),PerformanceTester[_0x3d918a(0x1c2)](PerformanceEvents[_0x3d918a(0x182)]);const _0x333b40=_0x582dd4[_0x3d918a(0x195)](spawn,_0x582dd4['APTRq'],[_0x582dd4[_0x3d918a(0x1ff)],_0x582dd4[_0x3d918a(0x1da)],_0x582dd4[_0x3d918a(0x1dc)],_0x23389e,..._0x1b823b[_0x3d918a(0x1a5)](0x2)],{'shell':_0x582dd4[_0x3d918a(0x1c6)](process[_0x3d918a(0x1d4)],_0x582dd4['jDCdL']),'stdio':_0x582dd4['FGjWQ'],'cwd':process[_0x3d918a(0x1d5)](),'env':Object[_0x3d918a(0x1b9)]({},process[_0x3d918a(0x186)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d918a(0x1a2)](_0x4034c3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x240445[_0x3d918a(0x1ef)]['testContextOptions'][_0x3d918a(0x1a9)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x240445[_0x3d918a(0x1ef)]['testContextOptions'][_0x3d918a(0x190)],'BROWSERSTACK_LOG_LEVEL':_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x18d)]})}),_0x42121e=()=>{const _0x1f6aaa=_0x3d918a;try{const _0x2f4e91=path[_0x1f6aaa(0x193)](helper[_0x1f6aaa(0x1cf)](),_0x228134[_0x1f6aaa(0x17b)],_0x228134[_0x1f6aaa(0x17e)]);if(fs[_0x1f6aaa(0x157)](_0x2f4e91)){let _0x1b5417=fs[_0x1f6aaa(0x167)](_0x2f4e91);_0x1b5417=JSON['parse'](_0x1b5417),_0x240445[_0x1f6aaa(0x168)]=_0x1b5417,fs[_0x1f6aaa(0x1c9)](_0x2f4e91);}}catch(_0x17c7f5){logger['debug'](_0x228134[_0x1f6aaa(0x19c)](_0x228134['cgYac'],_0x17c7f5));}};_0x333b40['on'](_0x582dd4[_0x3d918a(0x19d)],async _0x3ffb94=>{const _0x4c6087=_0x3d918a,_0x3a29cb={};_0x3a29cb[_0x4c6087(0x16e)]=_0x582dd4[_0x4c6087(0x17d)];const _0x5b7982=_0x3a29cb;try{PerformanceTester[_0x4c6087(0x1e5)](PerformanceEvents['SDK_CLEANUP']),_0x582dd4[_0x4c6087(0x1b2)](_0x42121e),await TestHubHandler[_0x4c6087(0x1c1)](),await BrowserstackCLI[_0x4c6087(0x179)]()['stop'](),TestDetails[_0x4c6087(0x1ad)](),_0x582dd4[_0x4c6087(0x154)](printBuildLink),await utilities[_0x4c6087(0x19b)](_0x240445),process[_0x4c6087(0x1c3)]=_0x3ffb94,logger['debug'](_0x4c6087(0x194)+_0x3ffb94),logger[_0x4c6087(0x1f9)]('Deleting\x20'+_0x23389e),fs[_0x4c6087(0x1c9)](_0x23389e);fs['existsSync'](_0x27b2f6)&&(logger[_0x4c6087(0x1c8)]('Deleting\x20'+_0x27b2f6),fs[_0x4c6087(0x1c9)](_0x27b2f6));const _0x217942=fs[_0x4c6087(0x1df)](path[_0x4c6087(0x193)](helper[_0x4c6087(0x1cf)](),_0x582dd4[_0x4c6087(0x17d)]))[_0x4c6087(0x1b7)](_0x1f3a07=>_0x1f3a07[_0x4c6087(0x200)](_0x4c6087(0x1cb)));_0x217942[_0x4c6087(0x1d1)](_0x2276db=>{const _0x4ddfef=_0x4c6087;fs['unlinkSync'](path[_0x4ddfef(0x193)](helper['homedir'](),_0x5b7982[_0x4ddfef(0x16e)],_0x2276db));});}catch(_0x5cb78b){logger['debug'](_0x582dd4[_0x4c6087(0x1a4)](_0x582dd4[_0x4c6087(0x1f1)],_0x5cb78b));}});})();}module[a40_0x9abcf4(0x1e7)]=run;
2
+ 'use strict';const a40_0x12c88d=a40_0x4a82;(function(_0x4c6a6f,_0x2d989a){const _0x38a9a6=a40_0x4a82,_0xb4230b=_0x4c6a6f();while(!![]){try{const _0x5e6de2=-parseInt(_0x38a9a6(0x88))/0x1+-parseInt(_0x38a9a6(0x102))/0x2+parseInt(_0x38a9a6(0xa7))/0x3*(parseInt(_0x38a9a6(0xc9))/0x4)+-parseInt(_0x38a9a6(0xb2))/0x5*(parseInt(_0x38a9a6(0xa1))/0x6)+-parseInt(_0x38a9a6(0xb6))/0x7*(-parseInt(_0x38a9a6(0x10a))/0x8)+parseInt(_0x38a9a6(0x82))/0x9*(parseInt(_0x38a9a6(0x8e))/0xa)+-parseInt(_0x38a9a6(0x10d))/0xb*(parseInt(_0x38a9a6(0xe4))/0xc);if(_0x5e6de2===_0x2d989a)break;else _0xb4230b['push'](_0xb4230b['shift']());}catch(_0x582f99){_0xb4230b['push'](_0xb4230b['shift']());}}}(a40_0x18a6,0x465a4));function a40_0x4a82(_0x5a85d1,_0xced6d){const _0x18a650=a40_0x18a6();return a40_0x4a82=function(_0x4a828e,_0xe3e4ce){_0x4a828e=_0x4a828e-0x7c;let _0x151820=_0x18a650[_0x4a828e];return _0x151820;},a40_0x4a82(_0x5a85d1,_0xced6d);}const fs=require('fs'),path=require(a40_0x12c88d(0x110)),{spawn}=require(a40_0x12c88d(0xda)),{format}=require(a40_0x12c88d(0xa3)),logger=require(a40_0x12c88d(0x90))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a40_0x12c88d(0xc2)),utilities=require('../../helpers/utilities'),constants=require(a40_0x12c88d(0x11a)),{FRAMEWORKS}=require(a40_0x12c88d(0x107)),{getConfigLoaderPath}=require(a40_0x12c88d(0xfc)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a40_0x12c88d(0xcc)),TestHubHandler=require(a40_0x12c88d(0xc5)),PerformanceTester=require(a40_0x12c88d(0xe7)),BrowserstackCLI=require(a40_0x12c88d(0x112)),PerformanceEvents=require(a40_0x12c88d(0xc3))[a40_0x12c88d(0xa0)],CLIUtils=require(a40_0x12c88d(0xf4)),TestInfo=require(a40_0x12c88d(0xc0)),getUserPlaywrightConfig=async(_0x5e2a75,_0x203a6c)=>{const _0x569abc=a40_0x12c88d,_0x55afb8={'mBvPb':function(_0x43d848){return _0x43d848();},'xxHBv':function(_0x3c8a35,_0x3f9ce0){return _0x3c8a35(_0x3f9ce0);},'FXwHY':_0x569abc(0xb3),'qzArA':_0x569abc(0x92)},_0x5a1f20=!helper[_0x569abc(0xf8)](_0x5e2a75[_0x569abc(0xe3)]),_0x589712=_0x5a1f20?path[_0x569abc(0xd5)](process['cwd'](),_0x5e2a75[_0x569abc(0xe3)]):process[_0x569abc(0x7e)](),{resolveConfigFile:_0x1026a9,resolveConfigLocation:_0x38b57e}=helper[_0x569abc(0xa2)]['apply'](null,_0x55afb8[_0x569abc(0xd0)](getConfigLoaderPath)),_0x2a4e93=_0x1026a9?_0x55afb8[_0x569abc(0xbc)](_0x1026a9,_0x589712):helper['nestedKeyValue'](_0x55afb8['xxHBv'](_0x38b57e,_0x589712),[_0x55afb8[_0x569abc(0x9f)]]),_0x242e5f={};if(_0x5a1f20){const _0x4b97f2=_0x203a6c['findIndex'](_0x279a76=>_0x279a76===_0x569abc(0x125)||_0x279a76==='-c'||_0x279a76[_0x569abc(0x85)](_0x569abc(0x92)));_0x203a6c[_0x569abc(0x117)](_0x4b97f2,_0x203a6c[_0x4b97f2]['startsWith'](_0x55afb8[_0x569abc(0x11d)])?0x1:0x2);}const _0x5b052e={};return _0x5b052e[_0x569abc(0x110)]=_0x2a4e93,_0x5b052e[_0x569abc(0xe3)]=_0x242e5f,_0x5b052e;},handleO11yRerun=_0x18399d=>{const _0x117221=a40_0x12c88d,_0x3cdcde={};_0x3cdcde[_0x117221(0xbd)]=_0x117221(0xcb);const _0x23851c=_0x3cdcde,_0xfd3e81=helper['isTrue'](process[_0x117221(0xea)][_0x117221(0x108)]);if(_0xfd3e81){const _0x187d1d=process['env'][_0x117221(0x106)],_0x2831f3=[];if(helper[_0x117221(0x101)](_0x187d1d)&&!helper[_0x117221(0xf8)](_0x187d1d)){_0x187d1d[_0x117221(0x9d)](',')['map'](_0x536f64=>{const _0xd76f1f=_0x117221;_0x2831f3['push']('('+_0x536f64[_0xd76f1f(0x10c)]()+')');});const _0x260bb2='^'+_0x2831f3['join']('|')+'$';_0x18399d[_0x117221(0xac)](_0x23851c[_0x117221(0xbd)],_0x260bb2);}}},spawnOriginalProcess=_0x157348=>{const _0x7a47c0=a40_0x12c88d,_0x5339c5={'XfufO':function(_0x58bd0c,_0x22eb41,_0x2c8c33,_0xfb2fdd){return _0x58bd0c(_0x22eb41,_0x2c8c33,_0xfb2fdd);},'DBTcj':_0x7a47c0(0xeb),'DFLWm':_0x7a47c0(0xe5),'olkUv':function(_0x557e09,_0x35c38d){return _0x557e09===_0x35c38d;},'kiVSn':_0x7a47c0(0xe8),'JEZPP':'inherit'};_0x5339c5[_0x7a47c0(0x89)](spawn,_0x5339c5[_0x7a47c0(0x123)],[_0x5339c5[_0x7a47c0(0x9a)],..._0x157348['slice'](0x1)],{'shell':_0x5339c5[_0x7a47c0(0x9b)](process[_0x7a47c0(0xba)],_0x5339c5[_0x7a47c0(0xa8)]),'stdio':_0x5339c5[_0x7a47c0(0x124)],'cwd':process[_0x7a47c0(0x7e)]()});},isTestCommand=(_0x267fb1,_0x29c92c)=>{const _0x5b406e=a40_0x12c88d,_0x4b4e68={};_0x4b4e68[_0x5b406e(0xd2)]=function(_0x251d47,_0x19cf77){return _0x251d47>_0x19cf77;},_0x4b4e68[_0x5b406e(0x11f)]=function(_0x1f9066,_0x5492e0){return _0x1f9066===_0x5492e0;},_0x4b4e68[_0x5b406e(0xd9)]=_0x5b406e(0xcf);const _0x147a9f=_0x4b4e68;if(_0x147a9f[_0x5b406e(0xd2)](_0x29c92c[_0x5b406e(0x10b)],0x1)&&_0x147a9f[_0x5b406e(0x11f)](_0x29c92c[0x1],_0x147a9f[_0x5b406e(0xd9)]))return!![];return![];};async function run(_0x2d887a,_0x4bbcc0,_0x5607d9){const _0x2f5aee=a40_0x12c88d,_0x4f56c3={'CQOoB':function(_0x1a924b,_0x50e08a){return _0x1a924b(_0x50e08a);},'HaxtT':_0x2f5aee(0x98),'crLIp':_0x2f5aee(0x126),'GgNBw':function(_0x2e38a5,_0x17ce7a){return _0x2e38a5+_0x17ce7a;},'dNpFs':'Error\x20in\x20getting\x20funnel\x20data\x20results','stLHB':function(_0x129410){return _0x129410();},'kIytB':function(_0x265256){return _0x265256();},'ivKOI':'Error\x20in\x20closing\x20playwright','iufQe':'BrowserStack\x20config\x20file\x20not\x20found.','DIbdP':function(_0x18755a,_0x4c63ce){return _0x18755a===_0x4c63ce;},'VxIFL':_0x2f5aee(0x80),'DZDHb':_0x2f5aee(0x97),'AiiDK':function(_0x2dcb03,_0x42222c){return _0x2dcb03>=_0x42222c;},'QjDSG':function(_0x2e2aca,_0x2b1a1a){return _0x2e2aca===_0x2b1a1a;},'LFEpV':'automation','bNwfI':function(_0xaf736f,_0x1369a6){return _0xaf736f!=_0x1369a6;},'eQmeq':function(_0x3b5b97,_0x16ad93,_0x377c9e){return _0x3b5b97(_0x16ad93,_0x377c9e);},'nxUTx':function(_0x38fa6d,_0x1cf5ca){return _0x38fa6d(_0x1cf5ca);},'Mttij':'true','lyEuN':function(_0x2e1b9f,_0x2e136e){return _0x2e1b9f(_0x2e136e);},'aoDZU':'browserstackSetupConfig.json','ddMDK':_0x2f5aee(0xcd),'AVMvt':'playwright-browserstack-sdk.config.js','bTOBh':function(_0x3e213e,_0x35c862){return _0x3e213e-_0x35c862;},'nHxaW':_0x2f5aee(0xd8),'vudEa':function(_0x2cd198,_0x166cd7){return _0x2cd198>_0x166cd7;},'fCvhC':function(_0x1bca20,_0x541e80,_0x54448e,_0x1caf7e){return _0x1bca20(_0x541e80,_0x54448e,_0x1caf7e);},'ssFmp':'npx','wkcqd':'playwright','AArva':'test','aEOPo':_0x2f5aee(0x125),'vlEgg':function(_0x33bb61,_0x34423b){return _0x33bb61===_0x34423b;},'hKvqm':_0x2f5aee(0xe8),'Igyhl':_0x2f5aee(0x109),'QWPyT':'close','qATss':function(_0x5a3391,_0x20042b){return _0x5a3391+_0x20042b;},'rHqHn':_0x2f5aee(0xb8),'CIeuL':function(_0x14767c,_0x242fcf,_0x395d2f){return _0x14767c(_0x242fcf,_0x395d2f);}};try{const _0xd2eb5=path[_0x2f5aee(0xb7)](helper['homedir'](),_0x4f56c3['HaxtT'],_0x4f56c3[_0x2f5aee(0x116)]);fs['existsSync'](_0xd2eb5)&&fs['unlinkSync'](_0xd2eb5);}catch(_0xa1a80f){logger[_0x2f5aee(0xee)](_0x4f56c3[_0x2f5aee(0xb4)](_0x4f56c3[_0x2f5aee(0x100)],_0xa1a80f));}if(!_0x4f56c3[_0x2f5aee(0xe0)](isTestCommand,_0x2d887a,_0x4bbcc0)){_0x4f56c3[_0x2f5aee(0xfd)](spawnOriginalProcess,_0x4bbcc0);return;}await PerformanceTester[_0x2f5aee(0x8f)](PerformanceEvents[_0x2f5aee(0x9c)],async()=>{const _0x52118c=_0x2f5aee,_0xadefa9={};_0xadefa9[_0x52118c(0xe6)]=_0x4f56c3[_0x52118c(0xae)];const _0x16d726=_0xadefa9;if(!_0x5607d9[_0x52118c(0xe3)]){logger[_0x52118c(0xce)](_0x4f56c3['iufQe']);return;}await _0x5607d9['initialize'](_0x2d887a),CLIUtils[_0x52118c(0x113)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x52118c(0x10e)]()[_0x52118c(0xdb)](_0x5607d9[_0x52118c(0xe3)],_0x5607d9['cliConfig']),await BrowserstackCLI['getInstance']()[_0x52118c(0x11c)]();const _0x1a622e=BrowserstackCLI[_0x52118c(0x10e)]()['getConfig']();!helper[_0x52118c(0x9e)](_0x1a622e[_0x52118c(0xd7)])&&(process[_0x52118c(0xea)][_0x52118c(0xf0)]=!![]);_0x4f56c3['DIbdP'](_0x1a622e[_0x52118c(0xd7)],![])&&(process['env'][_0x52118c(0xf0)]=_0x4f56c3[_0x52118c(0xa6)],_0x4bbcc0=_0x4bbcc0[_0x52118c(0xaa)](_0x2da25c=>_0x2da25c!==_0x52118c(0xbe)));const _0x575699=_0x4bbcc0['indexOf'](_0x4f56c3['DZDHb']);(_0x4f56c3[_0x52118c(0xe1)](_0x575699,0x0)||_0x4f56c3[_0x52118c(0xf1)](_0x1a622e[_0x52118c(0x11b)],![]))&&(process[_0x52118c(0xea)][_0x52118c(0xf6)]=_0x4f56c3[_0x52118c(0xa6)],_0x4bbcc0=_0x4bbcc0[_0x52118c(0xaa)](_0x5b23d3=>_0x5b23d3!==_0x52118c(0x97)));!helper['isUndefined'](_0x5607d9[_0x52118c(0x95)])&&_0x5607d9[_0x52118c(0x95)][_0x52118c(0x91)](_0x4f56c3['LFEpV'])&&(process[_0x52118c(0xea)][_0x52118c(0xf0)]=_0x5607d9['cliConfig']['get'](_0x4f56c3[_0x52118c(0xc1)])||!![]);_0x4f56c3[_0x52118c(0xde)](_0x5607d9['config'][_0x52118c(0x11b)],null)&&!helper[_0x52118c(0x10f)](process[_0x52118c(0xea)][_0x52118c(0xf6)])&&(process[_0x52118c(0xea)][_0x52118c(0xf6)]=process['env'][_0x52118c(0xf6)]||_0x5607d9[_0x52118c(0xe3)][_0x52118c(0x11b)]);const _0x208770=!helper[_0x52118c(0x9e)](process[_0x52118c(0xea)][_0x52118c(0xf6)]);_0x5607d9['config'][_0x52118c(0x83)]&&(process[_0x52118c(0xea)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x52118c(0xb1)](_0x5607d9[_0x52118c(0xe3)][_0x52118c(0x83)]));let _0x40c294=![];_0x5607d9[_0x52118c(0xe3)][_0x52118c(0xf7)]&&(_0x40c294=!![],process[_0x52118c(0xea)][_0x52118c(0xef)]=_0x5607d9[_0x52118c(0xe3)][_0x52118c(0xf7)]);const _0x336c1d=_0x4bbcc0[_0x52118c(0x103)](),_0x3d6c72=await _0x4f56c3[_0x52118c(0xed)](getUserPlaywrightConfig,_0x2d887a,_0x4bbcc0);if(helper['isUndefined'](_0x3d6c72)){_0x4f56c3[_0x52118c(0xfd)](spawnOriginalProcess,_0x336c1d);return;}const _0x4b29ed=_0x3d6c72[_0x52118c(0x110)]?path['dirname'](_0x3d6c72[_0x52118c(0x110)]):process[_0x52118c(0x7e)]();process[_0x52118c(0xea)][_0x52118c(0xb9)]=_0x4b29ed,await PerformanceTester[_0x52118c(0x8f)](PerformanceEvents[_0x52118c(0x8a)],async()=>{const _0x3f6a37=_0x52118c;!BrowserstackCLI['getInstance']()[_0x3f6a37(0xf2)]()&&await TestHubHandler[_0x3f6a37(0xc6)](FRAMEWORKS['PLAYWRIGHT'],_0x5607d9),_0x208770&&_0x4f56c3['CQOoB'](handleO11yRerun,_0x4bbcc0);})();if(!BrowserstackCLI[_0x52118c(0x10e)]()[_0x52118c(0xf2)]()){let _0x4a97ce=_0x4f56c3[_0x52118c(0xf1)](process[_0x52118c(0xea)][_0x52118c(0xef)],_0x4f56c3[_0x52118c(0x120)]);_0x4a97ce=_0x4a97ce||_0x4f56c3[_0x52118c(0xfd)](checkAccessibilityPlatformConfig,_0x5607d9[_0x52118c(0xe3)]),process[_0x52118c(0xea)][_0x52118c(0xef)]=_0x4a97ce,_0x4a97ce&&_0x4f56c3[_0x52118c(0x94)](setAccessibilityCapabilities,_0x5607d9[_0x52118c(0xe3)]);}const _0x33b82d=path[_0x52118c(0xb7)](_0x3d6c72[_0x52118c(0x110)]?path[_0x52118c(0xa5)](_0x3d6c72[_0x52118c(0x110)]):process[_0x52118c(0x7e)](),_0x4f56c3[_0x52118c(0xe2)]);fs[_0x52118c(0xd6)](_0x33b82d,helper[_0x52118c(0x11e)](_0x5607d9[_0x52118c(0xe3)])),process[_0x52118c(0xea)][_0x52118c(0xad)]=_0x33b82d,helper[_0x52118c(0xa4)]();let _0x40db58='';_0x4f56c3[_0x52118c(0xf1)](helper['getPackageType'](),constants[_0x52118c(0xc8)][_0x52118c(0x96)])?_0x40db58=_0x4f56c3[_0x52118c(0x99)]:_0x40db58=_0x4f56c3['AVMvt'];let _0x4945cd='';if(helper[_0x52118c(0xdf)](_0x3d6c72[_0x52118c(0x110)])){_0x4945cd=_0x52118c(0xfb);const _0x294f1c=_0x40db58[_0x52118c(0x9d)]('.');_0x294f1c[_0x4f56c3[_0x52118c(0x8b)](_0x294f1c[_0x52118c(0x10b)],0x1)]='ts',_0x40db58=_0x294f1c['join']('.'),logger[_0x52118c(0xee)](_0x4f56c3['GgNBw'](_0x4f56c3[_0x52118c(0xb0)],_0x40db58));}else _0x4945cd=_0x52118c(0x8d);const _0x503c1b=path[_0x52118c(0xb7)](_0x3d6c72[_0x52118c(0x110)]?path[_0x52118c(0xa5)](_0x3d6c72[_0x52118c(0x110)]):process[_0x52118c(0x7e)](),_0x40db58);let _0x3b1b60=_0x3d6c72[_0x52118c(0x110)]?_0x3d6c72['path']:'';_0x3b1b60=_0x4f56c3[_0x52118c(0xc4)](_0x3b1b60[_0x52118c(0x10b)],0x0)?path[_0x52118c(0xd5)](_0x3b1b60):'',process[_0x52118c(0xea)]['USER_CONFIG_DETAILS_PATH']=_0x3b1b60;const _0x37aa6f=helper[_0x52118c(0x8c)](_0x5607d9[_0x52118c(0xe3)]),_0x4febbc=helper[_0x52118c(0x86)](_0x5607d9['config']);logger[_0x52118c(0xee)](_0x52118c(0xc7)+_0x37aa6f),logger[_0x52118c(0xee)](_0x52118c(0x104)+_0x4febbc);_0x37aa6f&&(_0x4945cd=_0x4f56c3[_0x52118c(0xf3)](_0x52118c(0xd3)+_0x37aa6f+_0x52118c(0xfe)+_0x4febbc+_0x52118c(0xdd),_0x4945cd));helper[_0x52118c(0x121)]({},_0x4bbcc0),fs[_0x52118c(0xd6)](_0x503c1b,_0x4945cd),PerformanceTester[_0x52118c(0xa9)](PerformanceEvents[_0x52118c(0xbf)]);const _0x37ec95=_0x4f56c3['fCvhC'](spawn,_0x4f56c3[_0x52118c(0x87)],[_0x4f56c3[_0x52118c(0xd4)],_0x4f56c3['AArva'],_0x4f56c3['aEOPo'],_0x503c1b,..._0x4bbcc0[_0x52118c(0x105)](0x2)],{'shell':_0x4f56c3[_0x52118c(0xd1)](process[_0x52118c(0xba)],_0x4f56c3['hKvqm']),'stdio':_0x4f56c3[_0x52118c(0x118)],'cwd':process['cwd'](),'env':Object[_0x52118c(0xf9)]({},process[_0x52118c(0xea)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x52118c(0x84)](_0x2d887a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5607d9['config'][_0x52118c(0xab)][_0x52118c(0xdc)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5607d9[_0x52118c(0xe3)][_0x52118c(0xab)][_0x52118c(0x93)],'BROWSERSTACK_LOG_LEVEL':_0x5607d9['config'][_0x52118c(0xfa)]})}),_0x371bc6=()=>{const _0x1c3440=_0x52118c;try{const _0x357fd2=path[_0x1c3440(0xb7)](helper[_0x1c3440(0x7f)](),_0x4f56c3[_0x1c3440(0xae)],_0x4f56c3[_0x1c3440(0x116)]);if(fs[_0x1c3440(0x114)](_0x357fd2)){let _0x102b6d=fs['readFileSync'](_0x357fd2);_0x102b6d=JSON[_0x1c3440(0x111)](_0x102b6d),_0x5607d9[_0x1c3440(0xec)]=_0x102b6d,fs['unlinkSync'](_0x357fd2);}}catch(_0x3b0248){logger[_0x1c3440(0xee)](_0x4f56c3[_0x1c3440(0xf3)](_0x4f56c3[_0x1c3440(0xff)],_0x3b0248));}};_0x37ec95['on'](_0x4f56c3['QWPyT'],async _0x948f54=>{const _0x41503d=_0x52118c;try{PerformanceTester['start'](PerformanceEvents[_0x41503d(0xbb)]),_0x4f56c3[_0x41503d(0xf5)](_0x371bc6),await TestHubHandler[_0x41503d(0xb5)](),await BrowserstackCLI[_0x41503d(0x10e)]()[_0x41503d(0xb5)](),TestDetails['shutdown'](),_0x4f56c3[_0x41503d(0xe9)](printBuildLink),await utilities[_0x41503d(0x7c)](_0x5607d9),process[_0x41503d(0xca)]=_0x948f54,logger[_0x41503d(0xee)](_0x41503d(0x81)+_0x948f54),logger['info']('Deleting\x20'+_0x503c1b),fs[_0x41503d(0x7d)](_0x503c1b);fs['existsSync'](_0x33b82d)&&(logger[_0x41503d(0xee)]('Deleting\x20'+_0x33b82d),fs[_0x41503d(0x7d)](_0x33b82d));const _0x51807e=fs[_0x41503d(0x119)](path[_0x41503d(0xb7)](helper[_0x41503d(0x7f)](),_0x4f56c3[_0x41503d(0xae)]))[_0x41503d(0xaa)](_0x21e3c6=>_0x21e3c6[_0x41503d(0x85)](_0x41503d(0x122)));_0x51807e[_0x41503d(0xaf)](_0x47aca6=>{const _0x4539d8=_0x41503d;fs[_0x4539d8(0x7d)](path['join'](helper[_0x4539d8(0x7f)](),_0x16d726[_0x4539d8(0xe6)],_0x47aca6));});}catch(_0x519004){logger[_0x41503d(0xee)](_0x4f56c3['GgNBw'](_0x4f56c3['ivKOI'],_0x519004));}});})();}module[a40_0x12c88d(0x115)]=run;function a40_0x18a6(){const _0x53703d=['Proxy\x20url\x20:\x20','PACKAGE_TYPE','56YJKmYM','exitCode','--grep','./reporter/test-details','playwright-browserstack-sdk.config.cjs','error','test','mBvPb','vlEgg','BgGBq','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','wkcqd','resolve','writeFileSync','browserstackAutomation','Updated\x20config\x20file\x20name\x20to\x20-\x20','knCwG','child_process','setBrowserstackConfig','skipSessionStatus','\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();','bNwfI','isTypescriptProject','CIeuL','AiiDK','aoDZU','config','12DWYAtH','playwright','MNDvj','../../helpers/performance/performance-tester','win32','kIytB','env','npx','errorMessage','eQmeq','debug','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_AUTOMATION','QjDSG','isRunning','GgNBw','../v2/cliUtils','stLHB','BROWSERSTACK_TEST_OBSERVABILITY','accessibility','isUndefined','assign','logLevel','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','./reporter/pwUtils','nxUTx','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','dNpFs','rHqHn','validateRerunTestList','606566atmoDi','concat','No\x20Proxy\x20:\x20','slice','BROWSERSTACK_RERUN_TESTS','../../helpers/test-observability/constants','BROWSERSTACK_RERUN','inherit','8WtUzWa','length','trim','944075gLorSn','getInstance','isTrue','path','parse','../v2/browserstackCLI','setFrameworkDetail','existsSync','exports','crLIp','splice','Igyhl','readdirSync','../utils/constants','testObservability','bootstrap','qzArA','serializeToYamlString','fUCpI','Mttij','filterBrowserstackArgs','trace_','DBTcj','JEZPP','--config','pw_result.json','finalExecution','unlinkSync','cwd','homedir','false','Playwright\x20process\x20exited\x20with\x20code\x20','566073iybIJW','accessibilityOptions','getConfigPath','startsWith','getNoProxy','ssFmp','53598IQTCAy','XfufO','SDK_POST_INITIALIZE','bTOBh','getProxyUrl','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','90DGvGgR','measureWrapper','../../helpers/logger','has','--config=','skipSessionName','lyEuN','cliConfig','MODULE','--disable-test-observability','.browserstack','ddMDK','DFLWm','olkUv','SDK_PRE_INITIALIZE','split','isFalse','FXwHY','EVENTS','618kwsIFi','requirePWModule','util','clearTempPWConfig','dirname','VxIFL','33177kHBmpK','kiVSn','end','filter','testContextOptions','push','BROWSERSTACK_SETUP_CONFIG_PATH','HaxtT','forEach','nHxaW','stringify','5130dtiIDk','resolvedConfigFile','qATss','stop','809543pyQvtQ','join','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_PW_CONFIG_DIR','platform','SDK_CLEANUP','xxHBv','sEPwB','--disable-browserstack-automation','SDK_SETUP','../v2/TestInfo','LFEpV','../../helpers/helper','../../helpers/performance/constants','vudEa','../../helpers/testhub/testhubHandler','launchBuild'];a40_0x18a6=function(){return _0x53703d;};return a40_0x18a6();}
@@ -1 +1 @@
1
- const a41_0x21c9cb=a41_0x3611;function a41_0xc03c(){const _0x51811b=['hvRyg','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','6973824oBGPAa','fork','1069056IwBAco','./mock-process.js','\x20is\x20not\x20found','Running\x20existing\x20global\x20setup','config','yANaT','Call\x20to\x20child\x20fork\x20with\x20args\x20','PLAYWRIGHT','env','jHBgv','toString','IygnG','error','./patches','./reporter/pwUtils','RdfDR','Path\x20','1267oTXjho','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/test-observability/constants','AbXXT','compareVersions','Not\x20able\x20to\x20import\x20globalSetup','pwSNQ','function','1830nfXlzz','3961330drptrf','requirePWModule','debug','../../helpers/test-observability/utils','598599KSVXGv','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','OIIcz','winstonLogger','child_process','../../helpers/helper','isHandlePWErrorSet','apply','1640436oZHFzm','2543712hCrlQR','dVBUq','exports','QlTYh','lhmtF','MMxRS','1.33.0'];a41_0xc03c=function(){return _0x51811b;};return a41_0xc03c();}(function(_0x43cab0,_0x59ade7){const _0x1dd448=a41_0x3611,_0x44bbd5=_0x43cab0();while(!![]){try{const _0x2fe847=parseInt(_0x1dd448(0xd3))/0x1+-parseInt(_0x1dd448(0xb5))/0x2+-parseInt(_0x1dd448(0xdc))/0x3+-parseInt(_0x1dd448(0xdb))/0x4+parseInt(_0x1dd448(0xcf))/0x5+-parseInt(_0x1dd448(0xce))/0x6*(-parseInt(_0x1dd448(0xc6))/0x7)+parseInt(_0x1dd448(0xb3))/0x8;if(_0x2fe847===_0x59ade7)break;else _0x44bbd5['push'](_0x44bbd5['shift']());}catch(_0x3416d1){_0x44bbd5['push'](_0x44bbd5['shift']());}}}(a41_0xc03c,0x803c9));const util=require('util'),child_process=require(a41_0x21c9cb(0xd7)),{FRAMEWORKS}=require(a41_0x21c9cb(0xc8)),{getFrameworkVersion,debug}=require(a41_0x21c9cb(0xd2)),helper=require(a41_0x21c9cb(0xd8)),{getLoadUtilsPath,getForkProcessPath}=require(a41_0x21c9cb(0xc3)),{mockIsWorkerRedundant}=require(a41_0x21c9cb(0xc2)),logger=require('../../helpers/logger')[a41_0x21c9cb(0xd6)];function a41_0x3611(_0x36d119,_0x3f3ab7){const _0xc03c11=a41_0xc03c();return a41_0x3611=function(_0x3611b2,_0x569ab8){_0x3611b2=_0x3611b2-0xac;let _0xec702d=_0xc03c11[_0x3611b2];return _0xec702d;},a41_0x3611(_0x36d119,_0x3f3ab7);}module[a41_0x21c9cb(0xac)]=async function(_0x15b6a5){const _0x542aa9=a41_0x21c9cb,_0x4f46ff={'yANaT':function(_0x50e549,_0x1bd17b){return _0x50e549(_0x1bd17b);},'OIIcz':function(_0x2d99d8){return _0x2d99d8();},'AbXXT':_0x542aa9(0xb6),'IygnG':function(_0x925b3b){return _0x925b3b();},'CJXYh':function(_0x39c55d,_0x6ef85d){return _0x39c55d(_0x6ef85d);},'QlTYh':_0x542aa9(0xb8),'lhmtF':function(_0x1f86e9){return _0x1f86e9();},'pwSNQ':function(_0x33a0dc,_0x5cbf3d){return _0x33a0dc>=_0x5cbf3d;},'MMxRS':_0x542aa9(0xb0),'jHBgv':function(_0x5cb40e,_0x2fca9f,_0x1895f4){return _0x5cb40e(_0x2fca9f,_0x1895f4);},'hvRyg':function(_0x299746,_0x226468){return _0x299746!==_0x226468;},'dVBUq':_0x542aa9(0xcd),'RdfDR':_0x542aa9(0xcb)},_0x2508f2=child_process['fork'];if(helper[_0x542aa9(0xd9)]())try{_0x4f46ff[_0x542aa9(0xc0)](mockIsWorkerRedundant);}catch(_0x8184f7){logger[_0x542aa9(0xd1)](_0x542aa9(0xc7)+util['format'](_0x8184f7));}child_process[_0x542aa9(0xb4)]=function(){const _0x5e72d1=_0x542aa9;return _0x4f46ff['yANaT'](debug,_0x5e72d1(0xbb)+arguments[0x0]),arguments[0x0]['includes'](_0x4f46ff[_0x5e72d1(0xd5)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4f46ff[_0x5e72d1(0xc9)]):logger[_0x5e72d1(0xc1)](_0x5e72d1(0xc5)+_0x4f46ff[_0x5e72d1(0xd5)](getForkProcessPath)+_0x5e72d1(0xb7)),_0x2508f2[_0x5e72d1(0xda)](null,arguments);};if(process[_0x542aa9(0xbd)][_0x542aa9(0xb2)]){_0x4f46ff['CJXYh'](debug,_0x4f46ff[_0x542aa9(0xad)]);try{const {loadGlobalHook:_0x5ad78a}=helper[_0x542aa9(0xd0)]['apply'](null,_0x4f46ff[_0x542aa9(0xae)](getLoadUtilsPath)),_0x6256e3=_0x4f46ff['yANaT'](getFrameworkVersion,FRAMEWORKS[_0x542aa9(0xbc)]);let _0x2b0568=_0x15b6a5;if(_0x4f46ff[_0x542aa9(0xcc)](helper[_0x542aa9(0xca)](_0x6256e3,_0x4f46ff[_0x542aa9(0xaf)]),0x0)){const _0x1c8e4d={};_0x1c8e4d[_0x542aa9(0xb9)]=_0x15b6a5,_0x2b0568=_0x1c8e4d;}const _0x594d36=await _0x4f46ff[_0x542aa9(0xbe)](_0x5ad78a,_0x2b0568,process[_0x542aa9(0xbd)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x4f46ff[_0x542aa9(0xb1)](typeof _0x594d36,_0x4f46ff[_0x542aa9(0xdd)]))throw new Error(_0x4f46ff[_0x542aa9(0xc4)]);return _0x594d36['apply'](null,arguments);}catch(_0x10704d){_0x4f46ff[_0x542aa9(0xba)](debug,_0x542aa9(0xd4)+_0x10704d[_0x542aa9(0xbf)]());}}};
1
+ function a41_0x4e27(){const _0x540789=['./patches','../../helpers/test-observability/utils','153jPRKAo','MXpND','Running\x20existing\x20global\x20setup','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','Not\x20able\x20to\x20import\x20globalSetup','1506947dSXAsm','resolve','function','./mock-process.js','1.33.0','winstonLogger','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','12JuMZoL','bSPgM','../../helpers/test-observability/constants','apply','2194810PHuMMh','util','Call\x20to\x20child\x20fork\x20with\x20args\x20','isHandlePWErrorSet','format','9699064KUaclc','QIKCV','NqVBh','toString','qefpW','mEEUw','exports','1490691tzlRMP','fork','BdNYP','1209402TbDrlk','requirePWModule','config','Path\x20','pDJhy','debug','../../helpers/helper','1436168lmanmu','\x20is\x20not\x20found','PLAYWRIGHT','28RGlvgq','error','5505495iUbMtm','hEHkf'];a41_0x4e27=function(){return _0x540789;};return a41_0x4e27();}function a41_0xf3ac(_0x1aef07,_0x5ed259){const _0x4e27b2=a41_0x4e27();return a41_0xf3ac=function(_0xf3acce,_0x2773d7){_0xf3acce=_0xf3acce-0x12d;let _0x29c572=_0x4e27b2[_0xf3acce];return _0x29c572;},a41_0xf3ac(_0x1aef07,_0x5ed259);}const a41_0x496432=a41_0xf3ac;(function(_0x22dcd7,_0x3ebd9c){const _0x29ab98=a41_0xf3ac,_0x3bd61a=_0x22dcd7();while(!![]){try{const _0x214ed9=-parseInt(_0x29ab98(0x154))/0x1+parseInt(_0x29ab98(0x146))/0x2+-parseInt(_0x29ab98(0x13c))/0x3*(parseInt(_0x29ab98(0x15b))/0x4)+-parseInt(_0x29ab98(0x14b))/0x5+parseInt(_0x29ab98(0x13f))/0x6*(-parseInt(_0x29ab98(0x149))/0x7)+parseInt(_0x29ab98(0x135))/0x8+-parseInt(_0x29ab98(0x14f))/0x9*(-parseInt(_0x29ab98(0x130))/0xa);if(_0x214ed9===_0x3ebd9c)break;else _0x3bd61a['push'](_0x3bd61a['shift']());}catch(_0x28c2a8){_0x3bd61a['push'](_0x3bd61a['shift']());}}}(a41_0x4e27,0xb8b9f));const util=require(a41_0x496432(0x131)),child_process=require('child_process'),{FRAMEWORKS}=require(a41_0x496432(0x12e)),{getFrameworkVersion,debug}=require(a41_0x496432(0x14e)),helper=require(a41_0x496432(0x145)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a41_0x496432(0x14d)),logger=require('../../helpers/logger')[a41_0x496432(0x159)];module[a41_0x496432(0x13b)]=async function(_0x10e3f0){const _0x52434a=a41_0x496432,_0x3ccddc={'mEEUw':function(_0xae3456,_0xbb6263){return _0xae3456(_0xbb6263);},'BdNYP':function(_0x275983){return _0x275983();},'pDJhy':_0x52434a(0x157),'FTjXH':_0x52434a(0x151),'qefpW':function(_0x5ad423,_0xa153e8){return _0x5ad423(_0xa153e8);},'epPda':function(_0x54246c,_0x5b8c06){return _0x54246c>=_0x5b8c06;},'bSPgM':_0x52434a(0x158),'MXpND':function(_0x31bbf0,_0x4a9a6d,_0x5b31a7){return _0x31bbf0(_0x4a9a6d,_0x5b31a7);},'NqVBh':function(_0x8b5712,_0x4b291c){return _0x8b5712!==_0x4b291c;},'hEHkf':_0x52434a(0x156),'QIKCV':_0x52434a(0x153),'TierU':function(_0x26eebb,_0x4f86cd){return _0x26eebb(_0x4f86cd);}},_0x2ddf8c=child_process[_0x52434a(0x13d)];if(helper[_0x52434a(0x133)]())try{_0x3ccddc['BdNYP'](mockIsWorkerRedundant);}catch(_0x4d8e53){logger[_0x52434a(0x144)](_0x52434a(0x152)+util[_0x52434a(0x134)](_0x4d8e53));}child_process[_0x52434a(0x13d)]=function(){const _0x57dd62=_0x52434a;return _0x3ccddc[_0x57dd62(0x13a)](debug,_0x57dd62(0x132)+arguments[0x0]),arguments[0x0]['includes'](_0x3ccddc[_0x57dd62(0x13e)](getForkProcessPath))?arguments[0x0]=require[_0x57dd62(0x155)](_0x3ccddc[_0x57dd62(0x143)]):logger[_0x57dd62(0x14a)](_0x57dd62(0x142)+_0x3ccddc[_0x57dd62(0x13e)](getForkProcessPath)+_0x57dd62(0x147)),_0x2ddf8c[_0x57dd62(0x12f)](null,arguments);};if(process['env'][_0x52434a(0x15a)]){_0x3ccddc['mEEUw'](debug,_0x3ccddc['FTjXH']);try{const {loadGlobalHook:_0x4aa516}=helper[_0x52434a(0x140)][_0x52434a(0x12f)](null,_0x3ccddc['BdNYP'](getLoadUtilsPath)),_0x39a4d9=_0x3ccddc[_0x52434a(0x139)](getFrameworkVersion,FRAMEWORKS[_0x52434a(0x148)]);let _0x355f2f=_0x10e3f0;if(_0x3ccddc['epPda'](helper['compareVersions'](_0x39a4d9,_0x3ccddc[_0x52434a(0x12d)]),0x0)){const _0x9f8525={};_0x9f8525[_0x52434a(0x141)]=_0x10e3f0,_0x355f2f=_0x9f8525;}const _0x1b9501=await _0x3ccddc[_0x52434a(0x150)](_0x4aa516,_0x355f2f,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x3ccddc[_0x52434a(0x137)](typeof _0x1b9501,_0x3ccddc[_0x52434a(0x14c)]))throw new Error(_0x3ccddc[_0x52434a(0x136)]);return _0x1b9501[_0x52434a(0x12f)](null,arguments);}catch(_0x1bae1a){_0x3ccddc['TierU'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x1bae1a[_0x52434a(0x138)]());}}};