browserstack-node-sdk 1.52.0 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) 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 +4 -3
  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/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x9c9f1d=a1_0x50d6;(function(_0x44a279,_0x339417){const _0x92de7e=a1_0x50d6,_0x532d16=_0x44a279();while(!![]){try{const _0x4521b6=parseInt(_0x92de7e(0x1ff))/0x1*(parseInt(_0x92de7e(0x24d))/0x2)+parseInt(_0x92de7e(0x1a9))/0x3*(-parseInt(_0x92de7e(0x1e2))/0x4)+parseInt(_0x92de7e(0x175))/0x5+-parseInt(_0x92de7e(0x22f))/0x6+parseInt(_0x92de7e(0x260))/0x7+parseInt(_0x92de7e(0x1f3))/0x8+parseInt(_0x92de7e(0x1b9))/0x9;if(_0x4521b6===_0x339417)break;else _0x532d16['push'](_0x532d16['shift']());}catch(_0x1bcb29){_0x532d16['push'](_0x532d16['shift']());}}}(a1_0x2ab5,0x3aa82));const fs=require('fs'),util=require(a1_0x9c9f1d(0x1bd)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x9c9f1d(0x17a)),logger=require(a1_0x9c9f1d(0x246))[a1_0x9c9f1d(0x206)],testOpsHelper=require(a1_0x9c9f1d(0x1e9)),requestSpy=require(a1_0x9c9f1d(0x262)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x9c9f1d(0x24f)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x9c9f1d(0x24a)),AccessibilityHelper=require(a1_0x9c9f1d(0x182)),scripts=require(a1_0x9c9f1d(0x275)),PerformanceTester=require(a1_0x9c9f1d(0x180)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x9c9f1d(0x26c)),testHubConstants=require(a1_0x9c9f1d(0x1d3)),globals=require(a1_0x9c9f1d(0x26e)),CodeceptJS=requireModule(a1_0x9c9f1d(0x240),a1_0x9c9f1d(0x186)),CodeceptUtils=requireModule(a1_0x9c9f1d(0x238),'codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x9c9f1d(0x186)),CodeceptRecorder=requireModule(a1_0x9c9f1d(0x24b),'codeceptjs'),CodeceptPlaywright=requireModule(a1_0x9c9f1d(0x1b6),a1_0x9c9f1d(0x186)),playwrightMarkSessionStatus=(_0x2fa7a6,_0x3ff0d1,_0x1cf8c8)=>{const _0x1bb83c=a1_0x9c9f1d,_0x1608d7={'Rrdim':'setSessionStatus','AGnmR':function(_0x415dfa,_0x15275a){return _0x415dfa(_0x15275a);}},_0x331e2e={};_0x331e2e[_0x1bb83c(0x1dc)]=_0x3ff0d1;const _0x5ec246={};_0x5ec246[_0x1bb83c(0x1da)]=_0x1608d7[_0x1bb83c(0x217)],_0x5ec246[_0x1bb83c(0x1d9)]=_0x331e2e;const _0x957cf6=_0x5ec246;return!_0x1608d7[_0x1bb83c(0x25d)](isUndefined,_0x1cf8c8)&&(_0x957cf6['arguments']['reason']=JSON['stringify'](_0x1cf8c8)),_0x2fa7a6['executeScript'](()=>{},_0x1bb83c(0x20f)+JSON[_0x1bb83c(0x1fc)](_0x957cf6));},o11ySync=PerformanceTester[a1_0x9c9f1d(0x196)](PerformanceO11yEvents[a1_0x9c9f1d(0x20d)],async _0x24665d=>{const _0x43471c=a1_0x9c9f1d,_0x5aad69={};_0x5aad69[_0x43471c(0x202)]=function(_0x46074b,_0x58a473){return _0x46074b===_0x58a473;},_0x5aad69[_0x43471c(0x1b8)]=_0x43471c(0x21d);const _0x100452=_0x5aad69;_0x100452[_0x43471c(0x202)](_0x24665d[_0x43471c(0x1a8)][_0x43471c(0x1b0)],_0x100452[_0x43471c(0x1b8)])?await _0x24665d[_0x43471c(0x18d)](_0x4feb1d=>{},testOpsHelper['getSyncScript']()):await _0x24665d[_0x43471c(0x18d)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x1b2f52,_0x4848e3)=>{const _0x169642=a1_0x9c9f1d,_0x1804c7={};_0x1804c7[_0x169642(0x203)]='setSessionName',_0x1804c7[_0x169642(0x201)]=function(_0x15f47a,_0x13461d){return _0x15f47a===_0x13461d;},_0x1804c7[_0x169642(0x1a4)]=_0x169642(0x21d);const _0xf910b3=_0x1804c7,_0xd3a4dd={};_0xd3a4dd[_0x169642(0x1b0)]=_0x4848e3;const _0x1c71ed={};_0x1c71ed['action']=_0xf910b3[_0x169642(0x203)],_0x1c71ed[_0x169642(0x1d9)]=_0xd3a4dd;const _0x23f9d7=_0x1c71ed;_0xf910b3['BUSwA'](_0x1b2f52[_0x169642(0x1a8)][_0x169642(0x1b0)],_0xf910b3[_0x169642(0x1a4)])?await _0x1b2f52[_0x169642(0x18d)](()=>{},_0x169642(0x20f)+JSON[_0x169642(0x1fc)](_0x23f9d7)):await _0x1b2f52[_0x169642(0x18d)]('browserstack_executor:\x20'+JSON[_0x169642(0x1fc)](_0x23f9d7));}),patchSaveScreenshot=_0x36a440=>{const _0x44616b=a1_0x9c9f1d,_0x188fa4={'sKKbY':_0x44616b(0x261),'WXBxl':_0x44616b(0x1e8),'lbjBY':function(_0x46cfff){return _0x46cfff();},'gngXG':function(_0x36adf4,_0x24b376){return _0x36adf4(_0x24b376);},'adHBO':'Screenshot\x20path\x20not\x20found','tSxnm':function(_0x4e26a3,_0x3d1b7d){return _0x4e26a3(_0x3d1b7d);}};_0x188fa4['tSxnm'](isTrue,process[_0x44616b(0x259)][_0x44616b(0x1df)])&&!_0x36a440[_0x44616b(0x1b3)]&&(_0x36a440[_0x44616b(0x1b3)]=!![],_0x36a440[_0x44616b(0x198)]=_0x36a440[_0x44616b(0x18a)],_0x36a440[_0x44616b(0x18a)]=(_0x486c6d,_0x2b8751=![])=>{const _0x6e5b1d=_0x44616b,_0x1edfb4={'qICfs':_0x188fa4[_0x6e5b1d(0x1d7)],'LDazC':_0x188fa4['WXBxl'],'ysZRe':function(_0x5a4bb3){const _0x4dbb28=_0x6e5b1d;return _0x188fa4[_0x4dbb28(0x185)](_0x5a4bb3);},'DnxOk':function(_0x841fec,_0x50f6cf){const _0x333445=_0x6e5b1d;return _0x188fa4[_0x333445(0x23b)](_0x841fec,_0x50f6cf);},'bEYrR':_0x188fa4[_0x6e5b1d(0x256)]};return new Promise(function(_0x136e94,_0x36a126){const _0x1bdc7e=_0x6e5b1d,_0x2bfc90={'hUQCD':_0x1edfb4[_0x1bdc7e(0x222)],'lZrLn':_0x1edfb4[_0x1bdc7e(0x1bc)],'jiUem':function(_0x1803a8){const _0x2a914e=_0x1bdc7e;return _0x1edfb4[_0x2a914e(0x23a)](_0x1803a8);},'gQyuZ':function(_0x4c7cbd,_0x598a49){const _0x3dab38=_0x1bdc7e;return _0x1edfb4[_0x3dab38(0x193)](_0x4c7cbd,_0x598a49);},'ziOQj':_0x1edfb4['bEYrR']};_0x36a440[_0x1bdc7e(0x198)](_0x486c6d,_0x2b8751)['then'](()=>{const _0x342052=_0x1bdc7e,_0x3608f6=CodeceptUtils[_0x342052(0x213)](_0x486c6d);if(_0x3608f6){const _0x4cd6a1=fs[_0x342052(0x224)](_0x3608f6);process['emit'](_0x342052(0x204)+process[_0x342052(0x16f)],{'timestamp':new Date()[_0x342052(0x20e)](),'message':_0x4cd6a1[_0x342052(0x212)](_0x2bfc90['hUQCD']),'kind':_0x2bfc90[_0x342052(0x233)]}),_0x2bfc90[_0x342052(0x191)](_0x136e94);}_0x2bfc90['gQyuZ'](_0x36a126,new Error(_0x2bfc90['ziOQj']));})[_0x1bdc7e(0x1d5)](()=>null);});});},patchWebDriverBefore=_0x482f27=>{const _0x2ab431=a1_0x9c9f1d,_0x1537cf={'djfoZ':function(_0x567bab){return _0x567bab();},'OoTIz':function(_0x25b7f9,_0x503476){return _0x25b7f9(_0x503476);},'dMzkx':function(_0x48aba6,_0x3d97e5){return _0x48aba6===_0x3d97e5;},'ZUXxd':_0x2ab431(0x183),'tekvc':_0x2ab431(0x267),'xmIVY':_0x2ab431(0x1a5)},_0x1f5e39=async function(_0x1bef79,_0x35bd21){const _0x3fa012=_0x2ab431;_0x1537cf[_0x3fa012(0x214)](isAccessibilityAutomationSession)&&!global[_0x3fa012(0x1af)]&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x1bef79['name'])&&_0x1537cf['OoTIz'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3fa012(0x1af)]=!![],await PerformanceTester[_0x3fa012(0x196)](PerformanceA11yEvents[_0x3fa012(0x270)],async()=>{const _0x2518da=_0x3fa012;logger[_0x2518da(0x1fb)](_0x2518da(0x1fd)+_0x1bef79[_0x2518da(0x1e5)]+'\x20'+_0x1bef79[_0x2518da(0x1b0)]),await AccessibilityHelper[_0x2518da(0x1c3)](_0x482f27,scripts['performScan']);},{'command':_0x1bef79[_0x3fa012(0x1b0)]})());global['bstackAllyScanning']=![];const _0xb85078=JSON[_0x3fa012(0x252)](process[_0x3fa012(0x259)][_0x3fa012(0x26a)]||'{}');if(_0x1537cf[_0x3fa012(0x1b2)](_0xb85078?.[_0x3fa012(0x1ad)]?.['name'],_0x1537cf[_0x3fa012(0x1aa)])&&_0x1537cf[_0x3fa012(0x1b2)](typeof _0xb85078?.[_0x3fa012(0x1ad)]?.['version'],_0x1537cf[_0x3fa012(0x225)])&&_0xb85078?.['testFramework']?.[_0x3fa012(0x194)][_0x3fa012(0x25b)]('7'))return _0x35bd21[_0x3fa012(0x228)](null,Array[_0x3fa012(0x271)][_0x3fa012(0x25f)][_0x3fa012(0x1d2)](arguments,0x2));return _0x35bd21[_0x3fa012(0x228)](this,Array['prototype'][_0x3fa012(0x25f)][_0x3fa012(0x1d2)](arguments,0x2));},_0x1317a5=CodeceptWebDriver[_0x2ab431(0x271)][_0x2ab431(0x1cf)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x48109e=_0x2ab431;try{await _0x1317a5['apply'](this,arguments);}catch(_0x1e7cf0){logger[_0x48109e(0x1fb)](_0x48109e(0x1eb)+util[_0x48109e(0x265)](_0x1e7cf0));}scripts['commandsToWrap']['filter'](_0x3a00b3=>_0x3a00b3[_0x48109e(0x1b0)]&&_0x3a00b3['class'])[_0x48109e(0x1ce)](_0x35ccf6=>{const _0x417a4a=_0x48109e;this['browser'][_0x417a4a(0x1b7)](_0x35ccf6[_0x417a4a(0x1b0)],_0x1f5e39[_0x417a4a(0x19e)](this,_0x35ccf6),_0x1537cf[_0x417a4a(0x1b2)](_0x35ccf6['class'],_0x1537cf[_0x417a4a(0x1c4)]));}),_0x1537cf[_0x48109e(0x1a1)](processWebDriverConfig,_0x482f27);};};function a1_0x50d6(_0x33e35b,_0x2e1f46){const _0x2ab547=a1_0x2ab5();return a1_0x50d6=function(_0x50d6c1,_0x5dcfa9){_0x50d6c1=_0x50d6c1-0x16f;let _0x45be30=_0x2ab547[_0x50d6c1];return _0x45be30;},a1_0x50d6(_0x33e35b,_0x2e1f46);}function parseJwt(_0x2306d3){const _0x1f2730=a1_0x9c9f1d,_0x1d74ca={};_0x1d74ca[_0x1f2730(0x236)]='base64';const _0xcdfb36=_0x1d74ca;if(!_0x2306d3)return null;return JSON['parse'](Buffer[_0x1f2730(0x1cb)](_0x2306d3['split']('.')[0x1],_0xcdfb36['DsKOV'])['toString']());}function a1_0x2ab5(){const _0x40ac76=['stringify','Performing\x20scan\x20for\x20','getAccessibilityResultsSummary','977mAxAzV','passed','BUSwA','oIZaz','QfSRP','bs:addLog:','BROWSERSTACK_TESTHUB_UUID','winstonLogger','zwhFc','test-before','bxpIw','tPuul','AetnP','ucLDo','SYNC','toISOString','browserstack_executor:\x20','IAraY','kMJvM','toString','screenshotOutputFolder','djfoZ','restore','swMuF','Rrdim','warn','UGWCB','browserContext','skipped','captureEvent','Playwright','args','zBaxy','dispatcher','performScan','qICfs','thJwtToken','readFileSync','tekvc','XAOLx','Pujyl','apply','BS_A11Y_JWT','stopMonitoring','HOOK_RUN_STARTED','thBuildUuid','SAVE_RESULTS','after','551004uRFQFE','SDK_TEST','BmmdM','helpers','lZrLn','fireEvent','BROWSERSTACK_TESTHUB_JWT','DsKOV','stack','codeceptjs/lib/utils.js','exports','ysZRe','gngXG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','skipSessionName','xjyTr','enabled','codeceptjs/lib/index.js','startMonitoring','SDK_POST_INITIALIZE','bddStep-before','saveTestResults','browserstackTestName','../../helpers/logger','PlGFh','push','end','../../helpers/accessibility-automation/helper','codeceptjs/lib/recorder.js','GET_RESULTS','98DaVrZr','dMPEd','./o11yHelper','event','test-started','parse','--auto-open-devtools-for-tabs','info','browser','adHBO','getAccessibilityResults','aFhdr','env','__driver','startsWith','setGlobal','AGnmR','RtiAW','slice','900305pyXLdD','base64','../../helpers/request-spy','SESSION_STATUS','ryyDD','format','TEST_RUN_STARTED','string','test','title','FRAMEWORK_DETAILS','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','./helper.js','TestCafe','../../helpers/globals.js','SDK_PRE_INITIALIZE','PERFORM_SCAN','prototype','currentTest','bddStep','enYXC','../../helpers/accessibility-automation/scripts','RvLpk','pid','lqLLN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','__workerDetails','huoHg','chromium','1450095BgRqpe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','step-comment','TEST_LOG','jQkod','../../helpers/helper','HOOK_RUN_FINISHED','started','container','all','IljuP','../../helpers/performance/performance-tester','bddStep-after','../../bin/playwright/accessibility-helper','webdriverio','skipSessionStatus','lbjBY','codeceptjs','ctx','testAnalyticsId','SDK_HOOK','saveScreenshot','ikZtf','IlwYQ','executeScript','iYMXq','isArray','jtOCv','jiUem','stop','DnxOk','version','EfDpK','measureWrapper','ENV_VAR','initSaveScreenshot','TIgEX','failed','jXyjA','SDK_PRE_TEST','UsdsE','bind','pages','EHEaU','OoTIz','page','KyNZG','KkBvl','Element','emit','gjzyZ','constructor','3wRwvRg','ZUXxd','TEST_RUN_FINISHED','includes','testFramework','GET_RESULTS_SUMMARY','bstackAllyScanning','name','_setPage','dMzkx','patchSaveScreenshot','jhoOu','FadeM','codeceptjs/lib/helper/Playwright.js','overwriteCommand','ISaGn','1478961YNMFcI','RgBQQ','INFO','LDazC','util','test-skipped','devtools://','WebDriver','test-after','before','browserStackExecuteDriver','xmIVY','patch','hook-passed','ilsHN','domForge','GihCi','hookType','from','start','bddStepFinish','forEach','_before','LthBY','test-passed','call','../../helpers/testhub/constants.js','oYqpC','catch','FyPIW','sKKbY','getResults','arguments','action','GBbqU','status','add','url','BS_TESTOPS_ALLOW_SCREENSHOTS','RfdDN','config','1469364DZeIST','titlePath','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','class','comment','captureError','TEST_SCREENSHOT','../../helpers/test-observability/utils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Failed\x20to\x20execute\x20_before:\x20','a11y_core_config','hook','accessibilityPlatform','TEST_RUN_SKIPPED','command','OWxxj','qxaUR','548776ccSUQj','dqKPa','SDK_POST_TEST','hook-failed','ZBAYl','bfSCw','ejfDG','getResultsSummary','debug'];a1_0x2ab5=function(){return _0x40ac76;};return a1_0x2ab5();}const patchPlaywrightBefore=()=>{const _0x1948f3=a1_0x9c9f1d,_0xc5a045={'Pujyl':function(_0x3bf393){return _0x3bf393();},'RvLpk':_0x1948f3(0x1bf),'tPuul':_0x1948f3(0x253),'Oapvv':function(_0x35611b,_0x5abe55){return _0x35611b(_0x5abe55);},'ucLDo':function(_0x2ca925,_0x152cdf){return _0x2ca925+_0x152cdf;},'UGWCB':'\x0aStack:\x20','XiZAZ':function(_0x741a8c){return _0x741a8c();},'xjyTr':function(_0x28d69f){return _0x28d69f();}};PlaywrightSessionDetails[_0x1948f3(0x1c5)]();const _0x28a25e=CodeceptPlaywright['prototype']['_before'];CodeceptPlaywright[_0x1948f3(0x271)]['_before']=async function(){const _0x22efe0=_0x1948f3;this[_0x22efe0(0x21a)]=await this[_0x22efe0(0x255)]['contexts']()[0x0];const _0x54e0ab=async()=>{const _0x283ab7=_0x22efe0,_0x549876={'IAraY':function(_0x1e4aaa){const _0xf82b3b=a1_0x50d6;return _0xc5a045[_0xf82b3b(0x227)](_0x1e4aaa);},'bxpIw':_0xc5a045[_0x283ab7(0x276)]},_0x5cd345=this[_0x283ab7(0x1e1)]&&this[_0x283ab7(0x1e1)][_0x283ab7(0x174)]&&this['config'][_0x283ab7(0x174)][_0x283ab7(0x21e)]&&Array[_0x283ab7(0x18f)](this['config'][_0x283ab7(0x174)][_0x283ab7(0x21e)])&&this[_0x283ab7(0x1e1)][_0x283ab7(0x174)]['args'][_0x283ab7(0x1ac)](_0xc5a045[_0x283ab7(0x20a)]);if(_0xc5a045['Pujyl'](isAccessibilityAutomationSession)&&!_0x5cd345)try{const _0x3e9fa2=_0xc5a045['Oapvv'](parseJwt,process[_0x283ab7(0x259)][_0x283ab7(0x229)]);if(_0x3e9fa2&&_0x3e9fa2[_0x283ab7(0x1ec)]&&_0x3e9fa2['a11y_core_config'][_0x283ab7(0x1c8)]){const _0x310f3e=this['browserContext'][_0x283ab7(0x19f)]['bind'](this[_0x283ab7(0x21a)]);this[_0x283ab7(0x21a)][_0x283ab7(0x19f)]=async function(){const _0x7a1e75=_0x283ab7,_0x3ecbf4=await _0x549876[_0x7a1e75(0x210)](_0x310f3e),_0x346d82=[];for(const _0x351ee7 of _0x3ecbf4){try{const _0x1b7d68=await _0x351ee7[_0x7a1e75(0x1de)]();!_0x1b7d68[_0x7a1e75(0x25b)](_0x549876[_0x7a1e75(0x209)])&&_0x346d82[_0x7a1e75(0x248)](_0x351ee7);}catch(_0x3a7a5d){_0x346d82[_0x7a1e75(0x248)](_0x351ee7);}}return _0x346d82;};}if(!_0xc5a045[_0x283ab7(0x227)](isBrowserstackInfra)){const _0x19af11=await this[_0x283ab7(0x1a2)]['url']();if(_0x19af11[_0x283ab7(0x25b)](_0xc5a045[_0x283ab7(0x276)])){const _0x4cced6=await this[_0x283ab7(0x21a)][_0x283ab7(0x19f)]();this[_0x283ab7(0x1b1)](_0x4cced6[0x0]);}}}catch(_0x2b6b36){logger['debug'](_0x283ab7(0x1e4)+_0x2b6b36['message']+(_0x2b6b36[_0x283ab7(0x237)]?_0xc5a045[_0x283ab7(0x20c)](_0xc5a045[_0x283ab7(0x219)],_0x2b6b36['stack']):''));}};_0xc5a045['XiZAZ'](isBrowserstackInfra)&&await _0xc5a045[_0x22efe0(0x227)](_0x54e0ab),await _0x28a25e[_0x22efe0(0x228)](this,arguments),!_0xc5a045[_0x22efe0(0x23e)](isBrowserstackInfra)&&await _0xc5a045['XiZAZ'](_0x54e0ab);};},getCodeceptDriver=()=>{const _0x2f2d53=a1_0x9c9f1d,_0x1d3fc1={};_0x1d3fc1[_0x2f2d53(0x1c7)]=_0x2f2d53(0x1c0),_0x1d3fc1[_0x2f2d53(0x1f9)]=_0x2f2d53(0x21d),_0x1d3fc1[_0x2f2d53(0x1a0)]='Puppeteer',_0x1d3fc1[_0x2f2d53(0x1a7)]=_0x2f2d53(0x26d);const _0x435adf=_0x1d3fc1,_0x3e78a3=[_0x435adf[_0x2f2d53(0x1c7)],_0x435adf[_0x2f2d53(0x1f9)],_0x435adf['EHEaU'],_0x435adf[_0x2f2d53(0x1a7)]],_0x30bc32=_0x3e78a3['find'](_0x5a182d=>!!CodeceptJS[_0x2f2d53(0x17d)][_0x2f2d53(0x232)](_0x5a182d));if(!_0x30bc32)return null;return CodeceptJS['container'][_0x2f2d53(0x232)](_0x30bc32);};module[a1_0x9c9f1d(0x239)]=function(_0x5177c5){const _0x1d11e2=a1_0x9c9f1d,_0xb71445={'jhoOu':function(_0x51804e){return _0x51804e();},'zBaxy':function(_0x3a4231,_0x3892d4){return _0x3a4231(_0x3892d4);},'lqLLN':_0x1d11e2(0x1fe),'RfdDN':_0x1d11e2(0x171),'FadeM':_0x1d11e2(0x257),'jtOCv':_0x1d11e2(0x176),'FyPIW':function(_0x431fbb,_0x2bd7ac){return _0x431fbb(_0x2bd7ac);},'dqKPa':'hook-started','UsdsE':_0x1d11e2(0x1c6),'oYqpC':_0x1d11e2(0x1f6),'LthBY':_0x1d11e2(0x245),'IlwYQ':function(_0x43b6d0){return _0x43b6d0();},'GBbqU':_0x1d11e2(0x208),'jQkod':function(_0x39e0db,_0x2ba37a,_0xc547fa){return _0x39e0db(_0x2ba37a,_0xc547fa);},'zwhFc':_0x1d11e2(0x251),'ryyDD':function(_0x279da7,_0x34a21b,_0x3091a5){return _0x279da7(_0x34a21b,_0x3091a5);},'KyNZG':_0x1d11e2(0x1d1),'TIgEX':function(_0x4ad1d2,_0x44a8e9,_0x5399f5,_0x79da5f){return _0x4ad1d2(_0x44a8e9,_0x5399f5,_0x79da5f);},'jICqh':function(_0x3a4e06,_0x46e632){return _0x3a4e06===_0x46e632;},'GihCi':'Suite','OWxxj':'test-failed','PlGFh':_0x1d11e2(0x1be),'huoHg':'afterTest','RtiAW':function(_0x44aaa7){return _0x44aaa7();},'AetnP':_0x1d11e2(0x23c),'ikZtf':_0x1d11e2(0x1c1),'jXyjA':_0x1d11e2(0x1bb),'EfDpK':_0x1d11e2(0x178),'RgBQQ':_0x1d11e2(0x177),'swMuF':_0x1d11e2(0x243),'xFcNc':_0x1d11e2(0x181),'BCsJe':_0x1d11e2(0x21d)};_0x5177c5[_0x1d11e2(0x184)]&&(global['__skipSessionStatus']=_0x5177c5[_0x1d11e2(0x184)]);PerformanceTester[_0x1d11e2(0x241)]();const _0x627345=_0xb71445[_0x1d11e2(0x25e)](getCodeceptDriver),_0x1739cd=new O11yHelper(_0x627345,_0x5177c5),_0x1b8285=!!CodeceptJS[_0x1d11e2(0x17d)][_0x1d11e2(0x232)](_0xb71445['BCsJe']);global[_0x1d11e2(0x25a)]=_0x627345,_0x627345&&(PerformanceTester[_0x1d11e2(0x196)](PerformanceEvents[_0x1d11e2(0x26f)],()=>{const _0x117f08=_0x1d11e2;_0x1b8285?_0xb71445['jhoOu'](patchPlaywrightBefore):_0xb71445[_0x117f08(0x21f)](patchWebDriverBefore,_0x627345);})(),PerformanceTester[_0x1d11e2(0x196)](PerformanceEvents[_0x1d11e2(0x242)],()=>{const _0x30c3a2=_0x1d11e2,_0x3c3b56={};_0x3c3b56[_0x30c3a2(0x1f7)]=_0xb71445[_0x30c3a2(0x1b5)],_0x3c3b56[_0x30c3a2(0x18e)]=_0xb71445[_0x30c3a2(0x190)];const _0xe4d602=_0x3c3b56;_0x627345['getAccessibilityResultsSummary']=async()=>{const _0x29e43f=_0x30c3a2;if(global[_0x29e43f(0x1ee)]){const _0x58fc41={};return _0x58fc41[_0x29e43f(0x1f0)]=_0xb71445[_0x29e43f(0x170)],await PerformanceTester[_0x29e43f(0x196)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x543594=_0x29e43f;return await AccessibilityHelper[_0x543594(0x1c3)](_0x627345,scripts[_0x543594(0x221)]);},_0x58fc41)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x29e43f(0x1ae)],async()=>{const _0x5211e2=_0x29e43f;return await AccessibilityHelper[_0x5211e2(0x1c3)](_0x627345,scripts[_0x5211e2(0x1fa)]);})();}return logger[_0x29e43f(0x218)](_0xb71445[_0x29e43f(0x1e0)]),{};},_0x627345[_0x30c3a2(0x257)]=async()=>{const _0x520c5b=_0x30c3a2;if(global['accessibilityPlatform']){const _0x52fe11={};return _0x52fe11['command']=_0xe4d602[_0x520c5b(0x1f7)],await PerformanceTester[_0x520c5b(0x196)](PerformanceA11yEvents[_0x520c5b(0x270)],async()=>{const _0x489bff=_0x520c5b;return await AccessibilityHelper[_0x489bff(0x1c3)](_0x627345,scripts[_0x489bff(0x221)]);},_0x52fe11)(),await PerformanceTester[_0x520c5b(0x196)](PerformanceA11yEvents[_0x520c5b(0x24c)],async()=>{const _0x3031bf=_0x520c5b;return await AccessibilityHelper[_0x3031bf(0x1c3)](_0x627345,scripts[_0x3031bf(0x1d8)]);})();}return logger['warn'](_0xe4d602[_0x520c5b(0x18e)]),{};},_0xb71445[_0x30c3a2(0x1d6)](patchSaveScreenshot,_0x627345);})()),CodeceptJS['event'][_0x1d11e2(0x220)]['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x17e)][_0x1d11e2(0x1c2)],()=>{const _0x1b7c07=_0x1d11e2;PerformanceTester[_0x1b7c07(0x1cc)](PerformanceEvents[_0x1b7c07(0x19c)]);try{_0x1739cd[_0x1b7c07(0x1cc)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x1b7c07(0x249)](PerformanceEvents[_0x1b7c07(0x19c)]);}catch(_0x114dc1){PerformanceTester[_0x1b7c07(0x1e7)](_0x114dc1),PerformanceTester['end'](PerformanceEvents[_0x1b7c07(0x19c)],![],_0x114dc1);}}),CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x220)]['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x17e)][_0x1d11e2(0x22e)],async()=>{const _0xdb8956=_0x1d11e2;PerformanceTester['start'](PerformanceEvents[_0xdb8956(0x1f5)]);try{requestSpy[_0xdb8956(0x215)](),await _0x1739cd[_0xdb8956(0x192)](),PerformanceTester['end'](PerformanceEvents[_0xdb8956(0x1f5)]);}catch(_0x48fd7f){PerformanceTester[_0xdb8956(0x1e7)](_0x48fd7f),PerformanceTester['end'](PerformanceEvents[_0xdb8956(0x1f5)],![],_0x48fd7f);}finally{PerformanceTester[_0xdb8956(0x22a)]();}}),CodeceptJS['event'][_0x1d11e2(0x220)]['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x1ed)][_0x1d11e2(0x17c)],_0x668a35=>{const _0x5c1ac6=_0x1d11e2;PerformanceTester['start'](PerformanceEvents[_0x5c1ac6(0x189)]);try{const _0x2d6403=_0x668a35[_0x5c1ac6(0x187)]['test'],_0x23188b=_0x1739cd[_0x5c1ac6(0x21c)](TEST_EVENTS[_0x5c1ac6(0x22b)],_0x2d6403);CodeceptRecorder['add'](()=>_0x1739cd[_0x5c1ac6(0x234)](TEST_EVENTS[_0x5c1ac6(0x22b)],_0x23188b));const _0x124631={};_0x124631[_0x5c1ac6(0x1ca)]=_0xb71445[_0x5c1ac6(0x1f4)],PerformanceTester['end'](PerformanceEvents[_0x5c1ac6(0x189)],!![],null,_0x124631);}catch(_0x4a2c0b){const _0x46b998={};_0x46b998[_0x5c1ac6(0x1ca)]=_0xb71445[_0x5c1ac6(0x1f4)],PerformanceTester[_0x5c1ac6(0x249)](PerformanceEvents[_0x5c1ac6(0x189)],![],_0x4a2c0b,_0x46b998),PerformanceTester['captureError'](_0x4a2c0b);}}),CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x220)]['on'](CodeceptJS['event'][_0x1d11e2(0x1ed)]['passed'],_0x41a22f=>{const _0x1adc9d=_0x1d11e2,_0x32eeb2={};_0x32eeb2[_0x1adc9d(0x1ca)]=_0xb71445[_0x1adc9d(0x19d)],PerformanceTester[_0x1adc9d(0x1cc)](PerformanceHookEvents[_0x1adc9d(0x189)],!![],null,_0x32eeb2);try{const _0x36a13d=_0x41a22f['ctx']['test'],_0x358d7c=_0x1739cd[_0x1adc9d(0x21c)](TEST_EVENTS[_0x1adc9d(0x17b)],_0x36a13d);CodeceptRecorder[_0x1adc9d(0x1dd)](()=>_0x1739cd[_0x1adc9d(0x234)](TEST_EVENTS[_0x1adc9d(0x17b)],_0x358d7c));const _0xdcec1a={};_0xdcec1a['hookType']=_0xb71445['UsdsE'],PerformanceTester[_0x1adc9d(0x249)](PerformanceHookEvents[_0x1adc9d(0x189)],!![],null,_0xdcec1a);}catch(_0x147e86){PerformanceTester['captureError'](_0x147e86);const _0x4db986={};_0x4db986[_0x1adc9d(0x1ca)]=_0xb71445['UsdsE'],PerformanceTester[_0x1adc9d(0x249)](PerformanceHookEvents[_0x1adc9d(0x189)],![],_0x147e86,_0x4db986);}}),CodeceptJS['event'][_0x1d11e2(0x220)]['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x1ed)]['failed'],async(_0x473df9,_0x475b30)=>{const _0x1d67a3=_0x1d11e2;PerformanceTester[_0x1d67a3(0x1cc)](PerformanceHookEvents[_0x1d67a3(0x189)]);try{const _0x3cbdaf=_0x473df9['ctx'][_0x1d67a3(0x268)],_0x77a628=_0x1739cd['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3cbdaf,_0x475b30);CodeceptRecorder['add'](()=>_0x1739cd['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x77a628));const _0x1da6d1={};_0x1da6d1[_0x1d67a3(0x1ca)]=_0xb71445['oYqpC'],PerformanceTester[_0x1d67a3(0x1cc)](PerformanceHookEvents[_0x1d67a3(0x189)],!![],null,_0x1da6d1);}catch(_0x29481b){PerformanceTester['captureError'](_0x29481b);const _0x155c87={};_0x155c87['hookType']=_0xb71445['oYqpC'],PerformanceTester['end'](PerformanceHookEvents[_0x1d67a3(0x189)],![],_0x29481b,_0x155c87);}const _0x5c6510={};_0x5c6510[_0x1d67a3(0x1ca)]=_0xb71445[_0x1d67a3(0x1d4)],PerformanceTester[_0x1d67a3(0x249)](PerformanceHookEvents[_0x1d67a3(0x189)],!![],null,_0x5c6510);}),CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x220)]['on'](CodeceptJS['event']['test'][_0x1d11e2(0x1c2)],_0xdd4509=>{const _0x42000a=_0x1d11e2;PerformanceTester[_0x42000a(0x1cc)](PerformanceHookEvents[_0x42000a(0x189)]);try{globals['setGlobal'](_0xb71445['LthBY'],_0xdd4509[_0x42000a(0x269)]);_0xb71445['IlwYQ'](isBrowserstackInfra)&&(_0x1b8285&&(global[_0x42000a(0x172)]={'currentTest':{'name':_0xdd4509[_0x42000a(0x269)],'testInfo':{'titlePath':_0xdd4509[_0x42000a(0x1e3)]()}}}));const _0x459761={};_0x459761[_0x42000a(0x1ca)]=_0xb71445[_0x42000a(0x1db)],PerformanceTester['end'](PerformanceHookEvents[_0x42000a(0x189)],!![],null,_0x459761);}catch(_0x42afb1){PerformanceTester[_0x42000a(0x1e7)](_0x42afb1);const _0x486015={};_0x486015[_0x42000a(0x1ca)]=_0xb71445[_0x42000a(0x1db)],PerformanceTester[_0x42000a(0x249)](PerformanceHookEvents[_0x42000a(0x189)],![],_0x42afb1,_0x486015);}}),CodeceptJS[_0x1d11e2(0x250)]['dispatcher']['on'](CodeceptJS['event'][_0x1d11e2(0x268)][_0x1d11e2(0x17c)],_0x4af9b0=>{const _0x357e52=_0x1d11e2,_0x259098={'kMJvM':function(_0x39282a){return _0xb71445['IlwYQ'](_0x39282a);},'aFhdr':function(_0x4880ce,_0x444c2f){return _0xb71445['FyPIW'](_0x4880ce,_0x444c2f);},'BmmdM':function(_0x51e391,_0x226f67,_0x3ee780){const _0x5cef52=a1_0x50d6;return _0xb71445[_0x5cef52(0x179)](_0x51e391,_0x226f67,_0x3ee780);}};PerformanceTester[_0x357e52(0x1cc)](PerformanceHookEvents[_0x357e52(0x189)]);try{globals[_0x357e52(0x25c)](_0xb71445[_0x357e52(0x1d0)],_0x4af9b0[_0x357e52(0x269)]);const _0x57c7bd=_0x1739cd[_0x357e52(0x21c)](TEST_EVENTS[_0x357e52(0x266)],_0x4af9b0);CodeceptRecorder[_0x357e52(0x1dd)](()=>_0x1739cd[_0x357e52(0x234)](TEST_EVENTS[_0x357e52(0x266)],_0x57c7bd)),CodeceptRecorder[_0x357e52(0x1dd)](async()=>{const _0xc968b1=_0x357e52;_0x259098[_0xc968b1(0x211)](isBrowserstackInfra)&&(!_0x259098[_0xc968b1(0x258)](isTrue,_0x5177c5[_0xc968b1(0x23d)])&&await _0x259098[_0xc968b1(0x231)](markSessionName,_0x627345,_0x4af9b0[_0xc968b1(0x269)]),_0x1739cd[_0xc968b1(0x23f)]&&await _0x259098[_0xc968b1(0x258)](o11ySync,_0x627345));});}catch(_0x19e6ab){const _0x493f42={};_0x493f42[_0x357e52(0x1ca)]=_0xb71445['zwhFc'],PerformanceTester[_0x357e52(0x249)](PerformanceHookEvents[_0x357e52(0x189)],![],_0x19e6ab,_0x493f42),PerformanceTester[_0x357e52(0x1e7)](_0x19e6ab);}const _0x2c2a96={};_0x2c2a96['hookType']=_0xb71445[_0x357e52(0x207)],PerformanceTester['end'](PerformanceHookEvents[_0x357e52(0x189)],!![],null,_0x2c2a96);}),CodeceptJS[_0x1d11e2(0x250)]['dispatcher']['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x268)][_0x1d11e2(0x200)],_0x43efe6=>{const _0x5c7ee5=_0x1d11e2,_0x132ccb={'IljuP':function(_0x42bcab,_0x5b362e,_0x3fa55d){const _0x31991d=a1_0x50d6;return _0xb71445[_0x31991d(0x264)](_0x42bcab,_0x5b362e,_0x3fa55d);},'enYXC':function(_0x8e2782){const _0x1ce477=a1_0x50d6;return _0xb71445[_0x1ce477(0x1b4)](_0x8e2782);}};PerformanceTester[_0x5c7ee5(0x1cc)](PerformanceHookEvents[_0x5c7ee5(0x189)]);try{const _0xd4ef18=_0x1739cd['captureEvent'](TEST_EVENTS[_0x5c7ee5(0x1ab)],_0x43efe6);CodeceptRecorder['add'](()=>_0x1739cd[_0x5c7ee5(0x234)](TEST_EVENTS[_0x5c7ee5(0x1ab)],_0xd4ef18)),CodeceptRecorder['add'](async()=>{const _0x5629fe=_0x5c7ee5,_0x117897={'zEtOY':function(_0x2eccd7,_0x36498c,_0x2e873a){return _0x132ccb['IljuP'](_0x2eccd7,_0x36498c,_0x2e873a);},'qxaUR':function(_0x1c254a,_0x547ff4,_0x58b8a5){const _0x56baa7=a1_0x50d6;return _0x132ccb[_0x56baa7(0x17f)](_0x1c254a,_0x547ff4,_0x58b8a5);}};_0x132ccb[_0x5629fe(0x274)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5629fe(0x263)],async()=>{const _0x43ce18=_0x5629fe;_0x1b8285?await _0x117897['zEtOY'](playwrightMarkSessionStatus,_0x627345,STATE_PASSED):await _0x117897[_0x43ce18(0x1f2)](markSessionStatus,_0x627345,STATE_PASSED);})();}),PerformanceTester[_0x5c7ee5(0x249)](PerformanceEvents[_0x5c7ee5(0x230)]);}catch(_0x38665c){PerformanceTester[_0x5c7ee5(0x1e7)](_0x38665c);const _0x3e7026={};_0x3e7026[_0x5c7ee5(0x1ca)]=_0xb71445[_0x5c7ee5(0x1a3)],PerformanceTester[_0x5c7ee5(0x249)](PerformanceHookEvents[_0x5c7ee5(0x189)],![],_0x38665c,_0x3e7026),PerformanceTester[_0x5c7ee5(0x249)](PerformanceEvents[_0x5c7ee5(0x230)],![],_0x38665c);}const _0x3a55b3={};_0x3a55b3[_0x5c7ee5(0x1ca)]=_0xb71445[_0x5c7ee5(0x1a3)],PerformanceTester[_0x5c7ee5(0x249)](PerformanceHookEvents[_0x5c7ee5(0x189)],!![],null,_0x3a55b3);}),CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x220)]['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x268)][_0x1d11e2(0x19a)],(_0x532636,_0x2f574a)=>{const _0x731628=_0x1d11e2,_0x28390c={'bfSCw':function(_0xf0f50f){const _0x3845a8=a1_0x50d6;return _0xb71445[_0x3845a8(0x18c)](_0xf0f50f);},'XAOLx':function(_0x42797f,_0x114689,_0x2e654a,_0x363ea6){return _0xb71445['TIgEX'](_0x42797f,_0x114689,_0x2e654a,_0x363ea6);},'IjXMR':function(_0x3eb7d5,_0x2d296d,_0x133dcb,_0x4fa9e7){const _0x545458=a1_0x50d6;return _0xb71445[_0x545458(0x199)](_0x3eb7d5,_0x2d296d,_0x133dcb,_0x4fa9e7);}};PerformanceTester['start'](PerformanceHookEvents[_0x731628(0x189)]);try{if(_0xb71445['jICqh'](_0x532636[_0x731628(0x1a8)]['name'],_0xb71445[_0x731628(0x1c9)])){const _0x16854c=_0x1739cd[_0x731628(0x21c)](TEST_EVENTS[_0x731628(0x1ef)],_0x532636[_0x731628(0x187)][_0x731628(0x272)]);CodeceptRecorder[_0x731628(0x1dd)](()=>_0x1739cd[_0x731628(0x234)](TEST_EVENTS[_0x731628(0x1ef)],_0x16854c));}else{const _0x5ad8b9=_0x1739cd[_0x731628(0x21c)](TEST_EVENTS[_0x731628(0x1ab)],_0x532636,_0x2f574a);CodeceptRecorder['add'](()=>{const _0x5ad685=_0x731628;try{_0x1739cd['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5ad8b9);}catch(_0x22f539){logger[_0x5ad685(0x1fb)](_0x5ad685(0x26b)+util[_0x5ad685(0x265)](_0x22f539)),PerformanceTester['end'](PerformanceEvents[_0x5ad685(0x230)],![],_0x22f539);}}),CodeceptRecorder[_0x731628(0x1dd)](async()=>{const _0xc6ab03=_0x731628;try{_0x28390c[_0xc6ab03(0x1f8)](isBrowserstackInfra)&&(_0x1b8285?await _0x28390c[_0xc6ab03(0x226)](playwrightMarkSessionStatus,_0x627345,STATE_FAILED,_0x2f574a):await _0x28390c['IjXMR'](markSessionStatus,_0x627345,STATE_FAILED,_0x2f574a));}catch(_0x4678bb){logger[_0xc6ab03(0x1fb)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0xc6ab03(0x265)](_0x4678bb)),PerformanceTester[_0xc6ab03(0x249)](PerformanceEvents[_0xc6ab03(0x230)],![],_0x4678bb);}});}PerformanceTester[_0x731628(0x249)](PerformanceEvents[_0x731628(0x230)]);}catch(_0x39d0ec){PerformanceTester[_0x731628(0x1e7)](_0x39d0ec);const _0x312130={};_0x312130['hookType']=_0xb71445['OWxxj'],PerformanceTester['end'](PerformanceHookEvents[_0x731628(0x189)],![],_0x39d0ec,_0x312130),PerformanceTester[_0x731628(0x249)](PerformanceEvents[_0x731628(0x230)],![],_0x39d0ec);}const _0x281b1f={};_0x281b1f['hookType']=_0xb71445[_0x731628(0x1f1)],PerformanceTester[_0x731628(0x249)](PerformanceHookEvents[_0x731628(0x189)],!![],null,_0x281b1f);}),CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x220)]['on'](CodeceptJS[_0x1d11e2(0x250)]['test'][_0x1d11e2(0x21b)],_0x52d85d=>{const _0x356d8f=_0x1d11e2;PerformanceTester[_0x356d8f(0x1cc)](PerformanceHookEvents[_0x356d8f(0x189)]);try{const _0x58b2c1=_0x1739cd[_0x356d8f(0x21c)](TEST_EVENTS[_0x356d8f(0x1ef)],_0x52d85d);CodeceptRecorder[_0x356d8f(0x1dd)](()=>_0x1739cd[_0x356d8f(0x234)](TEST_EVENTS[_0x356d8f(0x1ef)],_0x58b2c1)),PerformanceTester[_0x356d8f(0x249)](PerformanceEvents[_0x356d8f(0x230)]);}catch(_0x461f67){PerformanceTester[_0x356d8f(0x1e7)](_0x461f67),PerformanceTester[_0x356d8f(0x249)](PerformanceEvents[_0x356d8f(0x230)],![],_0x461f67);const _0xf30cd6={};_0xf30cd6['hookType']=_0xb71445[_0x356d8f(0x247)],PerformanceTester[_0x356d8f(0x249)](PerformanceHookEvents[_0x356d8f(0x189)],![],_0x461f67,_0xf30cd6);}const _0x1a63d9={};_0x1a63d9[_0x356d8f(0x1ca)]=_0xb71445[_0x356d8f(0x247)],PerformanceTester[_0x356d8f(0x249)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1a63d9);}),CodeceptJS['event'][_0x1d11e2(0x220)]['on'](CodeceptJS['event'][_0x1d11e2(0x268)][_0x1d11e2(0x22e)],async(_0x462cc7,_0x162f16)=>{const _0x39e8c0=_0x1d11e2,_0x16875d={};_0x16875d[_0x39e8c0(0x24e)]=_0xb71445[_0x39e8c0(0x173)];const _0x287246=_0x16875d;try{PerformanceTester[_0x39e8c0(0x1cc)](PerformanceHookEvents[_0x39e8c0(0x189)]);const _0x5abc0a=_0xb71445['jQkod'](shouldScanTestForAccessibility,_0x462cc7[_0x39e8c0(0x1e3)](),!![]);if(_0xb71445['RtiAW'](isAccessibilityAutomationSession)&&global[_0x39e8c0(0x1ee)]&&_0x5abc0a){const _0x95d0ee={};_0x95d0ee['thTestRunUuid']=_0x462cc7[_0x39e8c0(0x188)],_0x95d0ee[_0x39e8c0(0x22c)]=process['env'][testHubConstants[_0x39e8c0(0x197)][_0x39e8c0(0x205)]],_0x95d0ee[_0x39e8c0(0x223)]=process[_0x39e8c0(0x259)][testHubConstants[_0x39e8c0(0x197)][_0x39e8c0(0x235)]];const _0x4f2dc7=_0x95d0ee;logger['debug'](_0x39e8c0(0x1ea)+JSON['stringify'](_0x4f2dc7)),CodeceptRecorder[_0x39e8c0(0x1dd)](async()=>{const _0x9738ad=_0x39e8c0,_0x2a3aa={};_0x2a3aa[_0x9738ad(0x1f0)]=_0x287246[_0x9738ad(0x24e)],await PerformanceTester[_0x9738ad(0x196)](PerformanceA11yEvents[_0x9738ad(0x270)],async()=>{const _0xc89da1=_0x9738ad;await AccessibilityHelper[_0xc89da1(0x1c3)](_0x627345,scripts['performScan']);},_0x2a3aa)(),await PerformanceTester[_0x9738ad(0x196)](PerformanceA11yEvents[_0x9738ad(0x22d)],async()=>{const _0x3c7fc4=_0x9738ad;await AccessibilityHelper[_0x3c7fc4(0x1c3)](_0x627345,scripts[_0x3c7fc4(0x244)],_0x4f2dc7);})();}),logger[_0x39e8c0(0x254)](_0xb71445[_0x39e8c0(0x20b)]);}const _0x47fca9={};_0x47fca9[_0x39e8c0(0x1ca)]=_0xb71445[_0x39e8c0(0x18b)],PerformanceTester['end'](PerformanceHookEvents[_0x39e8c0(0x189)],!![],null,_0x47fca9);}catch(_0x5892e7){PerformanceTester['captureError'](_0x5892e7);const _0x189365={};_0x189365['hookType']=_0xb71445[_0x39e8c0(0x18b)],PerformanceTester[_0x39e8c0(0x249)](PerformanceHookEvents[_0x39e8c0(0x189)],![],_0x5892e7,_0x189365);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event']['step'][_0x1d11e2(0x1e6)],_0x5add50=>{const _0x1bb246=_0x1d11e2;PerformanceTester[_0x1bb246(0x1cc)](PerformanceHookEvents[_0x1bb246(0x189)]);try{process[_0x1bb246(0x1a6)]('bs:addLog:'+process[_0x1bb246(0x16f)],{'timestamp':new Date()['toISOString'](),'level':_0xb71445[_0x1bb246(0x19b)],'message':_0x5add50,'kind':_0xb71445[_0x1bb246(0x195)],'http_response':{}});}catch(_0x10128a){PerformanceTester['captureError'](_0x10128a);const _0x437657={};_0x437657['hookType']=_0xb71445[_0x1bb246(0x1ba)],PerformanceTester[_0x1bb246(0x249)](PerformanceHookEvents[_0x1bb246(0x189)],![],_0x10128a,_0x437657);}const _0x41828e={};_0x41828e['hookType']=_0xb71445[_0x1bb246(0x1ba)],PerformanceTester[_0x1bb246(0x249)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x41828e);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x273)][_0x1d11e2(0x1c2)],_0xac7dfd=>{const _0x5f1f50=_0x1d11e2,_0x268af5={};_0x268af5[_0x5f1f50(0x1ca)]=_0xb71445[_0x5f1f50(0x216)],PerformanceTester[_0x5f1f50(0x196)](PerformanceHookEvents[_0x5f1f50(0x189)],()=>{_0x1739cd['bddStepStart'](_0xac7dfd);},_0x268af5)();}),CodeceptJS[_0x1d11e2(0x250)][_0x1d11e2(0x220)]['on'](CodeceptJS['event'][_0x1d11e2(0x273)][_0x1d11e2(0x22e)],_0x576edc=>{const _0x237973=_0x1d11e2,_0x38ec50={};_0x38ec50[_0x237973(0x1ca)]=_0xb71445['xFcNc'],PerformanceTester[_0x237973(0x196)](PerformanceHookEvents[_0x237973(0x189)],()=>{const _0x26c6e8=_0x237973;_0x1739cd[_0x26c6e8(0x1cd)](_0x576edc);},_0x38ec50)();});};
1
+ const a1_0x27c022=a1_0xaf8a;(function(_0x411ee6,_0x43e62a){const _0x2dffb0=a1_0xaf8a,_0x309aa3=_0x411ee6();while(!![]){try{const _0xcaa0a1=parseInt(_0x2dffb0(0xcc))/0x1*(parseInt(_0x2dffb0(0x153))/0x2)+parseInt(_0x2dffb0(0xe4))/0x3*(parseInt(_0x2dffb0(0x8b))/0x4)+-parseInt(_0x2dffb0(0x13a))/0x5+parseInt(_0x2dffb0(0xa9))/0x6*(parseInt(_0x2dffb0(0x6f))/0x7)+parseInt(_0x2dffb0(0x95))/0x8+parseInt(_0x2dffb0(0x84))/0x9+-parseInt(_0x2dffb0(0xec))/0xa;if(_0xcaa0a1===_0x43e62a)break;else _0x309aa3['push'](_0x309aa3['shift']());}catch(_0x476994){_0x309aa3['push'](_0x309aa3['shift']());}}}(a1_0x49ed,0x8df41));const fs=require('fs'),util=require(a1_0x27c022(0x127)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x27c022(0x10d)),logger=require(a1_0x27c022(0xb6))[a1_0x27c022(0xe9)],testOpsHelper=require(a1_0x27c022(0x13f)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x27c022(0x15f)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x27c022(0x131)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x27c022(0x115)),AccessibilityHelper=require(a1_0x27c022(0x77)),scripts=require(a1_0x27c022(0x86)),PerformanceTester=require(a1_0x27c022(0xa7)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x27c022(0x150)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x27c022(0xc4)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0x27c022(0x13e),a1_0x27c022(0x114)),CodeceptWebDriver=requireModule(a1_0x27c022(0xb3),a1_0x27c022(0x114)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x27c022(0x114)),CodeceptPlaywright=requireModule(a1_0x27c022(0xfc),a1_0x27c022(0x114)),playwrightMarkSessionStatus=(_0x208097,_0x16d0e5,_0x49f15f)=>{const _0x581365=a1_0x27c022,_0x27d317={'edRSy':_0x581365(0x72),'tOrAv':function(_0x25ac8e,_0x153106){return _0x25ac8e(_0x153106);}},_0x1e6e73={};_0x1e6e73[_0x581365(0xfe)]=_0x16d0e5;const _0xc8cd39={};_0xc8cd39[_0x581365(0x158)]=_0x27d317['edRSy'],_0xc8cd39['arguments']=_0x1e6e73;const _0x356d5c=_0xc8cd39;return!_0x27d317[_0x581365(0x13d)](isUndefined,_0x49f15f)&&(_0x356d5c[_0x581365(0xf2)]['reason']=JSON[_0x581365(0x104)](_0x49f15f)),_0x208097[_0x581365(0x92)](()=>{},'browserstack_executor:\x20'+JSON[_0x581365(0x104)](_0x356d5c));},o11ySync=PerformanceTester[a1_0x27c022(0xba)](PerformanceO11yEvents['SYNC'],async _0x1ae832=>{const _0x2b9bdd=a1_0x27c022,_0x4b9b18={};_0x4b9b18[_0x2b9bdd(0x12e)]=function(_0x35a18c,_0x2c806a){return _0x35a18c===_0x2c806a;},_0x4b9b18['nfCic']='Playwright';const _0x331be5=_0x4b9b18;_0x331be5['IJWAi'](_0x1ae832[_0x2b9bdd(0x9e)][_0x2b9bdd(0xd9)],_0x331be5['nfCic'])?await _0x1ae832[_0x2b9bdd(0x92)](_0xab51af=>{},testOpsHelper[_0x2b9bdd(0x160)]()):await _0x1ae832[_0x2b9bdd(0x92)](testOpsHelper[_0x2b9bdd(0x160)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x27c022(0xbd)],async(_0x48259a,_0x3dac64)=>{const _0x3c1a31=a1_0x27c022,_0x62f253={};_0x62f253['oUdNc']=_0x3c1a31(0xe7),_0x62f253[_0x3c1a31(0x8e)]=function(_0x2d6335,_0x2a6e8b){return _0x2d6335===_0x2a6e8b;},_0x62f253[_0x3c1a31(0x123)]=_0x3c1a31(0xc5);const _0x3fc51a=_0x62f253,_0x1a08cc={};_0x1a08cc[_0x3c1a31(0xd9)]=_0x3dac64;const _0x1a8796={};_0x1a8796[_0x3c1a31(0x158)]=_0x3fc51a[_0x3c1a31(0x14e)],_0x1a8796[_0x3c1a31(0xf2)]=_0x1a08cc;const _0x519e39=_0x1a8796;_0x3fc51a[_0x3c1a31(0x8e)](_0x48259a[_0x3c1a31(0x9e)][_0x3c1a31(0xd9)],_0x3fc51a[_0x3c1a31(0x123)])?await _0x48259a[_0x3c1a31(0x92)](()=>{},_0x3c1a31(0xad)+JSON[_0x3c1a31(0x104)](_0x519e39)):await _0x48259a['executeScript']('browserstack_executor:\x20'+JSON[_0x3c1a31(0x104)](_0x519e39));}),patchSaveScreenshot=_0x3a92e8=>{const _0x376545=a1_0x27c022,_0x1485d7={'SocuU':_0x376545(0xdc),'FuwJK':'TEST_SCREENSHOT','MRsXu':function(_0x51346e){return _0x51346e();},'Omuhv':function(_0x2f37c8,_0x17b940){return _0x2f37c8(_0x17b940);},'RxVOQ':_0x376545(0x89)};_0x1485d7['Omuhv'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x3a92e8['patchSaveScreenshot']&&(_0x3a92e8[_0x376545(0x113)]=!![],_0x3a92e8[_0x376545(0xd4)]=_0x3a92e8[_0x376545(0x143)],_0x3a92e8['saveScreenshot']=(_0x1f71d8,_0x21c998=![])=>{return new Promise(function(_0x18238e,_0x33acb5){const _0x1b7a2f=a1_0xaf8a,_0x206fe0={'DSPfJ':_0x1485d7['SocuU'],'bOxTs':_0x1485d7['FuwJK'],'rwpOY':function(_0x41849a){return _0x1485d7['MRsXu'](_0x41849a);},'sIRjc':function(_0x37b925,_0x3d2e35){return _0x1485d7['Omuhv'](_0x37b925,_0x3d2e35);},'GLaWT':_0x1485d7[_0x1b7a2f(0xc1)]};_0x3a92e8[_0x1b7a2f(0xd4)](_0x1f71d8,_0x21c998)[_0x1b7a2f(0x14b)](()=>{const _0x3a52d1=_0x1b7a2f,_0x15b3ea=CodeceptUtils[_0x3a52d1(0x168)](_0x1f71d8);if(_0x15b3ea){const _0x25e3af=fs[_0x3a52d1(0xd5)](_0x15b3ea);process[_0x3a52d1(0xf5)](_0x3a52d1(0x12d)+process[_0x3a52d1(0x128)],{'timestamp':new Date()['toISOString'](),'message':_0x25e3af[_0x3a52d1(0xd7)](_0x206fe0[_0x3a52d1(0x12a)]),'kind':_0x206fe0[_0x3a52d1(0x99)]}),_0x206fe0[_0x3a52d1(0x163)](_0x18238e);}_0x206fe0['sIRjc'](_0x33acb5,new Error(_0x206fe0[_0x3a52d1(0x169)]));})[_0x1b7a2f(0x12f)](()=>null);});});},patchWebDriverBefore=_0x6ab675=>{const _0xacdad6=a1_0x27c022,_0x5e7617={'HHDeo':function(_0x10e3f2){return _0x10e3f2();},'IqEEk':function(_0xb97ead,_0x56aab5){return _0xb97ead(_0x56aab5);},'uYXTZ':function(_0x1b2a2f,_0x3607ac){return _0x1b2a2f===_0x3607ac;},'EMMcA':_0xacdad6(0x71),'PjFgV':function(_0x27887a,_0x106609){return _0x27887a===_0x106609;},'QSbrB':_0xacdad6(0x13c),'SQdmU':_0xacdad6(0x101),'hUiRW':function(_0x998839,_0x121131){return _0x998839(_0x121131);}},_0x4d0b27=async function(_0x43759d,_0x35fd97){const _0x349fe7=_0xacdad6;_0x5e7617[_0x349fe7(0xdd)](isAccessibilityAutomationSession)&&!global[_0x349fe7(0x15c)]&&global[_0x349fe7(0x141)]&&scripts[_0x349fe7(0xb1)](_0x43759d['name'])&&_0x5e7617[_0x349fe7(0x8f)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x349fe7(0x15c)]=!![],await PerformanceTester[_0x349fe7(0xba)](PerformanceA11yEvents[_0x349fe7(0x137)],async()=>{const _0x4b8f2e=_0x349fe7;logger['debug'](_0x4b8f2e(0x122)+_0x43759d[_0x4b8f2e(0x11e)]+'\x20'+_0x43759d[_0x4b8f2e(0xd9)]),await AccessibilityHelper[_0x4b8f2e(0x118)](_0x6ab675,scripts[_0x4b8f2e(0x157)]);},{'command':_0x43759d['name']})());global[_0x349fe7(0x15c)]=![];const _0x37870e=JSON[_0x349fe7(0xd2)](process['env'][_0x349fe7(0xbe)]||'{}');if(_0x5e7617['uYXTZ'](_0x37870e?.[_0x349fe7(0x9f)]?.[_0x349fe7(0xd9)],_0x5e7617[_0x349fe7(0x151)])&&_0x5e7617[_0x349fe7(0xda)](typeof _0x37870e?.['testFramework']?.[_0x349fe7(0x11c)],_0x5e7617['QSbrB'])&&_0x37870e?.[_0x349fe7(0x9f)]?.['version'][_0x349fe7(0xa1)]('7'))return _0x35fd97[_0x349fe7(0xb9)](null,Array['prototype']['slice']['call'](arguments,0x2));return _0x35fd97[_0x349fe7(0xb9)](this,Array[_0x349fe7(0xc6)][_0x349fe7(0xa5)][_0x349fe7(0xfb)](arguments,0x2));},_0x3456f4=CodeceptWebDriver[_0xacdad6(0xc6)][_0xacdad6(0x90)];CodeceptWebDriver[_0xacdad6(0xc6)][_0xacdad6(0x90)]=async function(){const _0x45b871=_0xacdad6;try{await _0x3456f4['apply'](this,arguments);}catch(_0x21e437){logger['debug'](_0x45b871(0xa8)+util[_0x45b871(0xc8)](_0x21e437));}scripts[_0x45b871(0xed)][_0x45b871(0x7f)](_0x52edba=>_0x52edba[_0x45b871(0xd9)]&&_0x52edba[_0x45b871(0x11e)])[_0x45b871(0xac)](_0x30a55c=>{const _0x5f40b2=_0x45b871;this[_0x5f40b2(0xeb)][_0x5f40b2(0x98)](_0x30a55c['name'],_0x4d0b27[_0x5f40b2(0x12c)](this,_0x30a55c),_0x5e7617[_0x5f40b2(0xda)](_0x30a55c[_0x5f40b2(0x11e)],_0x5e7617[_0x5f40b2(0x94)]));}),_0x5e7617[_0x45b871(0x11a)](processWebDriverConfig,_0x6ab675);};};function parseJwt(_0x588e29){const _0x573a0e=a1_0x27c022,_0x23482d={};_0x23482d['qguGc']=_0x573a0e(0xdc);const _0x392e8a=_0x23482d;if(!_0x588e29)return null;return JSON['parse'](Buffer[_0x573a0e(0xdf)](_0x588e29[_0x573a0e(0x161)]('.')[0x1],_0x392e8a[_0x573a0e(0x7b)])['toString']());}function a1_0x49ed(){const _0x1eb030=['Screenshot\x20path\x20not\x20found','qQLTF','12weNVyc','test-skipped','__skipSessionStatus','QfhmX','IqEEk','_before','HUGxJ','executeScript','GdfKq','SQdmU','1177704AmfKjR','jmzXo','patch','overwriteCommand','bOxTs','SDK_PRE_TEST','debug','captureEvent','stop','constructor','testFramework','ujIuG','startsWith','stack','ZAwgh','SDK_HOOK','slice','dkbsE','../../helpers/performance/performance-tester','Failed\x20to\x20execute\x20_before:\x20','12xGOpYI','end','afterTest','forEach','browserstack_executor:\x20','ENV_VAR','kcWsm','test-failed','shouldWrapCommand','started','codeceptjs/lib/helper/WebDriver.js','dzPHr','getAccessibilityResultsSummary','../../helpers/logger','bddStep-before','before','apply','measureWrapper','helpers','push','SESSION_NAME','FRAMEWORK_DETAILS','SDK_POST_INITIALIZE','browserContext','RxVOQ','pages','TEST_RUN_FINISHED','../../helpers/globals.js','Playwright','prototype','url','format','INFO','JIPaU','args','3385PbRKDz','WebDriver','sTqSN','fYHTs','dispatcher','title','parse','bTMno','initSaveScreenshot','readFileSync','YnsDz','toString','SDK_TEST','name','PjFgV','testAnalyticsId','base64','HHDeo','UvOij','from','ZyHmJ','piEPW','vPovF','__workerDetails','394065kQGQZi','slFsw','test','setSessionName','BS_A11Y_JWT','winstonLogger','TGbSz','browser','1946100xDXgeR','commandsToWrap','hook-passed','CiIzO','faoqN','hook','arguments','message','vrClN','emit','Puppeteer','SDK_POST_TEST','toISOString','RsGaU','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','call','codeceptjs/lib/helper/Playwright.js','container','status','devtools://','AhrjE','Element','enabled','fkfDB','stringify','bddStep-after','WpZyI','tRSVk','vOwIw','stHPx','HOOK_RUN_STARTED','startMonitoring','TEST_RUN_STARTED','../../helpers/helper','BROWSERSTACK_TESTHUB_UUID','domForge','BROWSERSTACK_TESTHUB_JWT','thJwtToken','warn','patchSaveScreenshot','codeceptjs','../../helpers/accessibility-automation/helper','thTestRunUuid','isArray','browserStackExecuteDriver','rxYsj','hUiRW','exports','version','fireEvent','class','add','kOLXc','DIvvn','Performing\x20scan\x20for\x20','jPenN','hookType','passed','SDK_PRE_INITIALIZE','util','pid','thBuildUuid','DSPfJ','after','bind','bs:addLog:','IJWAi','catch','event','./o11yHelper','--auto-open-devtools-for-tabs','env','RuuGY','restore','a11y_core_config','PERFORM_SCAN','failed','qobzw','3922135hhFioS','VNHjg','string','tOrAv','codeceptjs/lib/utils.js','../../helpers/test-observability/utils','HOOK_RUN_FINISHED','accessibilityPlatform','QcfqI','saveScreenshot','addRequestSpy','skipSessionStatus','ZRQpl','step','captureError','chromium','includes','then','bddStepFinish','command','oUdNc','test-passed','./helper.js','EMMcA','saveTestResults','522CslEau','pjOkY','hook-started','XMmZz','performScan','action','ctx','comment','test-after','bstackAllyScanning','getResults','contexts','../../bin/playwright/sessionDetails','getSyncScript','split','test-started','rwpOY','qHQZU','nzaZq','test-before','DErCX','screenshotOutputFolder','GLaWT','SSCex','skipSessionName','37709toMmye','setGlobal','webdriverio','setSessionStatus','titlePath','getAccessibilityResults','SESSION_STATUS','TEST_RUN_SKIPPED','../../bin/playwright/accessibility-helper','find','start','bddStep','qguGc','SCrFF','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','GET_RESULTS','filter','all','HDRxT','TEST_LOG','GMsnz','1124469Xwhbve','GET_RESULTS_SUMMARY','../../helpers/accessibility-automation/scripts','config','stopMonitoring'];a1_0x49ed=function(){return _0x1eb030;};return a1_0x49ed();}const patchPlaywrightBefore=()=>{const _0x430ef9=a1_0x27c022,_0x4e219c={'SCrFF':function(_0x1e8f9e){return _0x1e8f9e();},'BdYKt':_0x430ef9(0xff),'GMsnz':_0x430ef9(0x132),'tRSVk':function(_0x1738e7,_0xa9142d){return _0x1738e7(_0xa9142d);},'kOLXc':function(_0x58790c,_0x39ccf2){return _0x58790c+_0x39ccf2;},'pbdTz':'\x0aStack:\x20','vOwIw':function(_0x1c907c){return _0x1c907c();}};PlaywrightSessionDetails[_0x430ef9(0x97)]();const _0x3ab83e=CodeceptPlaywright['prototype'][_0x430ef9(0x90)];CodeceptPlaywright[_0x430ef9(0xc6)]['_before']=async function(){const _0x19146c=_0x430ef9,_0x56877e={'bESxl':function(_0xd26b68){const _0x9142c4=a1_0xaf8a;return _0x4e219c[_0x9142c4(0x7c)](_0xd26b68);},'DIvvn':_0x4e219c['BdYKt'],'bTMno':_0x4e219c[_0x19146c(0x83)],'WpZyI':function(_0x26871b){return _0x4e219c['SCrFF'](_0x26871b);},'CpHGd':function(_0x486e07,_0x4d9a4a){const _0x1e96e5=_0x19146c;return _0x4e219c[_0x1e96e5(0x107)](_0x486e07,_0x4d9a4a);},'RsGaU':function(_0x44f95c,_0xa0c840){const _0x2b13b6=_0x19146c;return _0x4e219c[_0x2b13b6(0x120)](_0x44f95c,_0xa0c840);},'vrClN':_0x4e219c['pbdTz']};this['browserContext']=await this[_0x19146c(0xeb)][_0x19146c(0x15e)]()[0x0];const _0x14d1f7=async()=>{const _0x5ad95b=_0x19146c,_0x51ec18={'SSCex':function(_0x25ceb4){return _0x56877e['bESxl'](_0x25ceb4);},'vPovF':_0x56877e[_0x5ad95b(0x121)]},_0xd33306=this[_0x5ad95b(0x87)]&&this[_0x5ad95b(0x87)][_0x5ad95b(0x149)]&&this[_0x5ad95b(0x87)]['chromium'][_0x5ad95b(0xcb)]&&Array[_0x5ad95b(0x117)](this['config']['chromium'][_0x5ad95b(0xcb)])&&this['config'][_0x5ad95b(0x149)][_0x5ad95b(0xcb)][_0x5ad95b(0x14a)](_0x56877e[_0x5ad95b(0xd3)]);if(_0x56877e[_0x5ad95b(0x106)](isAccessibilityAutomationSession)&&!_0xd33306)try{const _0x45904b=_0x56877e['CpHGd'](parseJwt,process[_0x5ad95b(0x133)][_0x5ad95b(0xe8)]);if(_0x45904b&&_0x45904b[_0x5ad95b(0x136)]&&_0x45904b[_0x5ad95b(0x136)][_0x5ad95b(0x10f)]){const _0x383b9c=this[_0x5ad95b(0xc0)][_0x5ad95b(0xc2)][_0x5ad95b(0x12c)](this[_0x5ad95b(0xc0)]);this[_0x5ad95b(0xc0)][_0x5ad95b(0xc2)]=async function(){const _0x1ebf54=_0x5ad95b,_0x296667=await _0x51ec18[_0x1ebf54(0x16a)](_0x383b9c),_0x3c026b=[];for(const _0x48b93d of _0x296667){try{const _0x9a995e=await _0x48b93d[_0x1ebf54(0xc7)]();!_0x9a995e['startsWith'](_0x51ec18[_0x1ebf54(0xe2)])&&_0x3c026b[_0x1ebf54(0xbc)](_0x48b93d);}catch(_0xd9b622){_0x3c026b['push'](_0x48b93d);}}return _0x3c026b;};}if(!_0x56877e[_0x5ad95b(0x106)](isBrowserstackInfra)){const _0x435482=await this['page'][_0x5ad95b(0xc7)]();if(_0x435482[_0x5ad95b(0xa1)](_0x56877e[_0x5ad95b(0x121)])){const _0x128689=await this[_0x5ad95b(0xc0)][_0x5ad95b(0xc2)]();this['_setPage'](_0x128689[0x0]);}}}catch(_0xcaa58a){logger[_0x5ad95b(0x9b)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0xcaa58a[_0x5ad95b(0xf3)]+(_0xcaa58a[_0x5ad95b(0xa2)]?_0x56877e[_0x5ad95b(0xf9)](_0x56877e[_0x5ad95b(0xf4)],_0xcaa58a[_0x5ad95b(0xa2)]):''));}};_0x4e219c[_0x19146c(0x108)](isBrowserstackInfra)&&await _0x4e219c[_0x19146c(0x7c)](_0x14d1f7),await _0x3ab83e[_0x19146c(0xb9)](this,arguments),!_0x4e219c['vOwIw'](isBrowserstackInfra)&&await _0x4e219c[_0x19146c(0x7c)](_0x14d1f7);};},getCodeceptDriver=()=>{const _0x4ebf1e=a1_0x27c022,_0x55410f={};_0x55410f['ZRQpl']=_0x4ebf1e(0xcd),_0x55410f[_0x4ebf1e(0x100)]=_0x4ebf1e(0xc5),_0x55410f[_0x4ebf1e(0x164)]=_0x4ebf1e(0xf6),_0x55410f[_0x4ebf1e(0x93)]='TestCafe';const _0x5badce=_0x55410f,_0x116001=[_0x5badce[_0x4ebf1e(0x146)],_0x5badce[_0x4ebf1e(0x100)],_0x5badce[_0x4ebf1e(0x164)],_0x5badce[_0x4ebf1e(0x93)]],_0x2930e2=_0x116001[_0x4ebf1e(0x78)](_0x1cecd7=>!!CodeceptJS[_0x4ebf1e(0xfd)][_0x4ebf1e(0xbb)](_0x1cecd7));if(!_0x2930e2)return null;return CodeceptJS['container']['helpers'](_0x2930e2);};function a1_0xaf8a(_0xda626f,_0x57b603){const _0x49ed23=a1_0x49ed();return a1_0xaf8a=function(_0xaf8a57,_0x414785){_0xaf8a57=_0xaf8a57-0x6f;let _0x5910dd=_0x49ed23[_0xaf8a57];return _0x5910dd;},a1_0xaf8a(_0xda626f,_0x57b603);}module[a1_0x27c022(0x11b)]=function(_0x2d49a2){const _0x8a1096=a1_0x27c022,_0x3499da={'QcfqI':function(_0x19dd08){return _0x19dd08();},'fkfDB':function(_0x52400d,_0x4ea7d7){return _0x52400d(_0x4ea7d7);},'qQLTF':_0x8a1096(0xb5),'fYHTs':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','TGbSz':_0x8a1096(0x74),'kLDqd':_0x8a1096(0xfa),'RuuGY':_0x8a1096(0x155),'ujIuG':_0x8a1096(0xee),'XMmZz':'hook-failed','HUGxJ':'browserstackTestName','pjOkY':function(_0x1642b6){return _0x1642b6();},'ZyHmJ':_0x8a1096(0x166),'slFsw':function(_0x42b850,_0x3fdbd3,_0x532651){return _0x42b850(_0x3fdbd3,_0x532651);},'stHPx':_0x8a1096(0x162),'baafK':_0x8a1096(0x14f),'EoDVk':function(_0x5a19b8){return _0x5a19b8();},'kcWsm':function(_0x41e28a,_0x3e3a76,_0x1f98cf,_0x1c75ad){return _0x41e28a(_0x3e3a76,_0x1f98cf,_0x1c75ad);},'UvOij':function(_0x5e6006,_0x305bde){return _0x5e6006===_0x305bde;},'piEPW':'Suite','JIPaU':_0x8a1096(0xb0),'nzaZq':_0x8a1096(0x8c),'ZAwgh':_0x8a1096(0xab),'KtKrq':function(_0x33ea60,_0x18930c,_0x2ad468){return _0x33ea60(_0x18930c,_0x2ad468);},'VNHjg':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sTqSN':_0x8a1096(0x15b),'aVPvr':_0x8a1096(0xc9),'HDRxT':_0x8a1096(0x82),'DErCX':'step-comment','faoqN':_0x8a1096(0xb7),'dkbsE':_0x8a1096(0x105),'jmzXo':function(_0x12b55f){return _0x12b55f();},'CiIzO':_0x8a1096(0xc5)};_0x2d49a2[_0x8a1096(0x145)]&&(global[_0x8a1096(0x8d)]=_0x2d49a2[_0x8a1096(0x145)]);PerformanceTester[_0x8a1096(0x10b)]();const _0x588b40=_0x3499da[_0x8a1096(0x96)](getCodeceptDriver),_0x5ee1d4=new O11yHelper(_0x588b40,_0x2d49a2),_0x3c7738=!!CodeceptJS[_0x8a1096(0xfd)][_0x8a1096(0xbb)](_0x3499da[_0x8a1096(0xef)]);global['__driver']=_0x588b40,_0x588b40&&(PerformanceTester[_0x8a1096(0xba)](PerformanceEvents[_0x8a1096(0x126)],()=>{const _0x31fca6=_0x8a1096;_0x3c7738?_0x3499da[_0x31fca6(0x142)](patchPlaywrightBefore):_0x3499da[_0x31fca6(0x103)](patchWebDriverBefore,_0x588b40);})(),PerformanceTester[_0x8a1096(0xba)](PerformanceEvents[_0x8a1096(0xbf)],()=>{const _0x24e074=_0x8a1096;_0x588b40[_0x24e074(0xb5)]=async()=>{const _0x2033ff=_0x24e074;if(global[_0x2033ff(0x141)]){const _0x1201ef={};return _0x1201ef[_0x2033ff(0x14d)]=_0x3499da[_0x2033ff(0x8a)],await PerformanceTester[_0x2033ff(0xba)](PerformanceA11yEvents[_0x2033ff(0x137)],async()=>{const _0x1ec3f9=_0x2033ff;return await AccessibilityHelper[_0x1ec3f9(0x118)](_0x588b40,scripts[_0x1ec3f9(0x157)]);},_0x1201ef)(),await PerformanceTester[_0x2033ff(0xba)](PerformanceA11yEvents[_0x2033ff(0x85)],async()=>{const _0x1fe265=_0x2033ff;return await AccessibilityHelper[_0x1fe265(0x118)](_0x588b40,scripts['getResultsSummary']);})();}return logger[_0x2033ff(0x112)](_0x3499da[_0x2033ff(0xcf)]),{};},_0x588b40['getAccessibilityResults']=async()=>{const _0x52778f=_0x24e074;if(global[_0x52778f(0x141)]){const _0x187de8={};return _0x187de8['command']=_0x3499da[_0x52778f(0xea)],await PerformanceTester[_0x52778f(0xba)](PerformanceA11yEvents[_0x52778f(0x137)],async()=>{const _0x1da19e=_0x52778f;return await AccessibilityHelper[_0x1da19e(0x118)](_0x588b40,scripts[_0x1da19e(0x157)]);},_0x187de8)(),await PerformanceTester[_0x52778f(0xba)](PerformanceA11yEvents[_0x52778f(0x7e)],async()=>{const _0x5af28e=_0x52778f;return await AccessibilityHelper[_0x5af28e(0x118)](_0x588b40,scripts[_0x5af28e(0x15d)]);})();}return logger['warn'](_0x3499da['kLDqd']),{};},_0x3499da[_0x24e074(0x103)](patchSaveScreenshot,_0x588b40);})()),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x80)][_0x8a1096(0xb8)],()=>{const _0x21d88f=_0x8a1096;PerformanceTester[_0x21d88f(0x79)](PerformanceEvents[_0x21d88f(0x9a)]);try{_0x5ee1d4[_0x21d88f(0x79)](),testOpsHelper[_0x21d88f(0x144)](),PerformanceTester[_0x21d88f(0xaa)](PerformanceEvents[_0x21d88f(0x9a)]);}catch(_0xdad495){PerformanceTester[_0x21d88f(0x148)](_0xdad495),PerformanceTester[_0x21d88f(0xaa)](PerformanceEvents[_0x21d88f(0x9a)],![],_0xdad495);}}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x80)][_0x8a1096(0x12b)],async()=>{const _0x75d203=_0x8a1096;PerformanceTester['start'](PerformanceEvents[_0x75d203(0xf7)]);try{requestSpy[_0x75d203(0x135)](),await _0x5ee1d4[_0x75d203(0x9d)](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x54cf9e){PerformanceTester['captureError'](_0x54cf9e),PerformanceTester['end'](PerformanceEvents[_0x75d203(0xf7)],![],_0x54cf9e);}finally{PerformanceTester[_0x75d203(0x88)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xf1)][_0x8a1096(0xb2)],_0x4ebb02=>{const _0x1a56f9=_0x8a1096;PerformanceTester[_0x1a56f9(0x79)](PerformanceEvents[_0x1a56f9(0xa4)]);try{const _0x526bd8=_0x4ebb02[_0x1a56f9(0x159)][_0x1a56f9(0xe6)],_0x55e363=_0x5ee1d4[_0x1a56f9(0x9c)](TEST_EVENTS[_0x1a56f9(0x10a)],_0x526bd8);CodeceptRecorder['add'](()=>_0x5ee1d4[_0x1a56f9(0x11d)](TEST_EVENTS[_0x1a56f9(0x10a)],_0x55e363));const _0x2ee8d4={};_0x2ee8d4[_0x1a56f9(0x124)]=_0x3499da[_0x1a56f9(0x134)],PerformanceTester[_0x1a56f9(0xaa)](PerformanceEvents[_0x1a56f9(0xa4)],!![],null,_0x2ee8d4);}catch(_0x422996){const _0x41d7c3={};_0x41d7c3[_0x1a56f9(0x124)]=_0x3499da[_0x1a56f9(0x134)],PerformanceTester['end'](PerformanceEvents[_0x1a56f9(0xa4)],![],_0x422996,_0x41d7c3),PerformanceTester[_0x1a56f9(0x148)](_0x422996);}}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)]['hook']['passed'],_0xfc2c1a=>{const _0x4d101a=_0x8a1096,_0x498ec8={};_0x498ec8[_0x4d101a(0x124)]=_0x3499da['ujIuG'],PerformanceTester[_0x4d101a(0x79)](PerformanceHookEvents[_0x4d101a(0xa4)],!![],null,_0x498ec8);try{const _0x522871=_0xfc2c1a[_0x4d101a(0x159)]['test'],_0x2ee503=_0x5ee1d4[_0x4d101a(0x9c)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x522871);CodeceptRecorder[_0x4d101a(0x11f)](()=>_0x5ee1d4[_0x4d101a(0x11d)](TEST_EVENTS[_0x4d101a(0x140)],_0x2ee503));const _0x30418d={};_0x30418d[_0x4d101a(0x124)]=_0x3499da[_0x4d101a(0xa0)],PerformanceTester[_0x4d101a(0xaa)](PerformanceHookEvents[_0x4d101a(0xa4)],!![],null,_0x30418d);}catch(_0xda254){PerformanceTester['captureError'](_0xda254);const _0x4b3c12={};_0x4b3c12['hookType']=_0x3499da[_0x4d101a(0xa0)],PerformanceTester['end'](PerformanceHookEvents[_0x4d101a(0xa4)],![],_0xda254,_0x4b3c12);}}),CodeceptJS['event'][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xf1)][_0x8a1096(0x138)],async(_0x2bd826,_0x2d5bed)=>{const _0x8546c=_0x8a1096;PerformanceTester[_0x8546c(0x79)](PerformanceHookEvents[_0x8546c(0xa4)]);try{const _0x59c56f=_0x2bd826[_0x8546c(0x159)][_0x8546c(0xe6)],_0x5b377d=_0x5ee1d4[_0x8546c(0x9c)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x59c56f,_0x2d5bed);CodeceptRecorder[_0x8546c(0x11f)](()=>_0x5ee1d4[_0x8546c(0x11d)](TEST_EVENTS[_0x8546c(0x140)],_0x5b377d));const _0x1c6d0b={};_0x1c6d0b[_0x8546c(0x124)]=_0x3499da[_0x8546c(0x156)],PerformanceTester[_0x8546c(0x79)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1c6d0b);}catch(_0x46ea3a){PerformanceTester[_0x8546c(0x148)](_0x46ea3a);const _0x384639={};_0x384639[_0x8546c(0x124)]=_0x3499da[_0x8546c(0x156)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x46ea3a,_0x384639);}const _0x226356={};_0x226356[_0x8546c(0x124)]=_0x3499da[_0x8546c(0x156)],PerformanceTester['end'](PerformanceHookEvents[_0x8546c(0xa4)],!![],null,_0x226356);}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['before'],_0x4da735=>{const _0x3c7563=_0x8a1096;PerformanceTester[_0x3c7563(0x79)](PerformanceHookEvents[_0x3c7563(0xa4)]);try{globals[_0x3c7563(0x70)](_0x3499da[_0x3c7563(0x91)],_0x4da735[_0x3c7563(0xd1)]);_0x3499da[_0x3c7563(0x154)](isBrowserstackInfra)&&(_0x3c7738&&(global[_0x3c7563(0xe3)]={'currentTest':{'name':_0x4da735[_0x3c7563(0xd1)],'testInfo':{'titlePath':_0x4da735[_0x3c7563(0x73)]()}}}));const _0x163058={};_0x163058[_0x3c7563(0x124)]=_0x3499da[_0x3c7563(0xe0)],PerformanceTester[_0x3c7563(0xaa)](PerformanceHookEvents[_0x3c7563(0xa4)],!![],null,_0x163058);}catch(_0x5e1bb8){PerformanceTester['captureError'](_0x5e1bb8);const _0xb10b39={};_0xb10b39['hookType']=_0x3499da[_0x3c7563(0xe0)],PerformanceTester[_0x3c7563(0xaa)](PerformanceHookEvents['SDK_HOOK'],![],_0x5e1bb8,_0xb10b39);}}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS['event'][_0x8a1096(0xe6)][_0x8a1096(0xb2)],_0x1fe867=>{const _0x123bbb=_0x8a1096,_0x2fe416={'qobzw':function(_0x39adfe){return _0x3499da['QcfqI'](_0x39adfe);},'YnsDz':function(_0x573d1e,_0x4aa890){const _0x2fa6a9=a1_0xaf8a;return _0x3499da[_0x2fa6a9(0x103)](_0x573d1e,_0x4aa890);},'dzPHr':function(_0x1a6066,_0xc2a370,_0x474549){const _0x56ea45=a1_0xaf8a;return _0x3499da[_0x56ea45(0xe5)](_0x1a6066,_0xc2a370,_0x474549);}};PerformanceTester['start'](PerformanceHookEvents[_0x123bbb(0xa4)]);try{globals[_0x123bbb(0x70)](_0x3499da[_0x123bbb(0x91)],_0x1fe867[_0x123bbb(0xd1)]);const _0x51e274=_0x5ee1d4[_0x123bbb(0x9c)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1fe867);CodeceptRecorder['add'](()=>_0x5ee1d4[_0x123bbb(0x11d)](TEST_EVENTS[_0x123bbb(0x10c)],_0x51e274)),CodeceptRecorder[_0x123bbb(0x11f)](async()=>{const _0x146bac=_0x123bbb;_0x2fe416[_0x146bac(0x139)](isBrowserstackInfra)&&(!_0x2fe416[_0x146bac(0xd6)](isTrue,_0x2d49a2[_0x146bac(0x16b)])&&await _0x2fe416[_0x146bac(0xb4)](markSessionName,_0x588b40,_0x1fe867[_0x146bac(0xd1)]),_0x5ee1d4[_0x146bac(0x102)]&&await _0x2fe416[_0x146bac(0xd6)](o11ySync,_0x588b40));});}catch(_0x5182c5){const _0x1c61b2={};_0x1c61b2[_0x123bbb(0x124)]=_0x3499da[_0x123bbb(0x109)],PerformanceTester[_0x123bbb(0xaa)](PerformanceHookEvents[_0x123bbb(0xa4)],![],_0x5182c5,_0x1c61b2),PerformanceTester[_0x123bbb(0x148)](_0x5182c5);}const _0x286b10={};_0x286b10['hookType']=_0x3499da[_0x123bbb(0x109)],PerformanceTester[_0x123bbb(0xaa)](PerformanceHookEvents[_0x123bbb(0xa4)],!![],null,_0x286b10);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x8a1096(0xe6)][_0x8a1096(0x125)],_0x19c76c=>{const _0xfa9808=_0x8a1096,_0x34bf72={'rxYsj':function(_0xdb0b21,_0x7c5ffe,_0x42f2b8){const _0x4e8ce2=a1_0xaf8a;return _0x3499da[_0x4e8ce2(0xe5)](_0xdb0b21,_0x7c5ffe,_0x42f2b8);},'wcnwo':function(_0x3bbe32){return _0x3499da['pjOkY'](_0x3bbe32);}};PerformanceTester[_0xfa9808(0x79)](PerformanceHookEvents[_0xfa9808(0xa4)]);try{const _0x41da74=_0x5ee1d4[_0xfa9808(0x9c)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x19c76c);CodeceptRecorder[_0xfa9808(0x11f)](()=>_0x5ee1d4[_0xfa9808(0x11d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x41da74)),CodeceptRecorder[_0xfa9808(0x11f)](async()=>{const _0x3b29cf=_0xfa9808,_0x2f24fb={'Dthua':function(_0x1e2da1,_0x3a8959,_0xfdd25e){const _0x3779e7=a1_0xaf8a;return _0x34bf72[_0x3779e7(0x119)](_0x1e2da1,_0x3a8959,_0xfdd25e);}};_0x34bf72['wcnwo'](isBrowserstackInfra)&&await PerformanceTester[_0x3b29cf(0xba)](PerformanceAutEvents[_0x3b29cf(0x75)],async()=>{_0x3c7738?await _0x2f24fb['Dthua'](playwrightMarkSessionStatus,_0x588b40,STATE_PASSED):await _0x2f24fb['Dthua'](markSessionStatus,_0x588b40,STATE_PASSED);})();}),PerformanceTester[_0xfa9808(0xaa)](PerformanceEvents['SDK_TEST']);}catch(_0x349643){PerformanceTester[_0xfa9808(0x148)](_0x349643);const _0x4112f0={};_0x4112f0['hookType']=_0x3499da['baafK'],PerformanceTester[_0xfa9808(0xaa)](PerformanceHookEvents[_0xfa9808(0xa4)],![],_0x349643,_0x4112f0),PerformanceTester[_0xfa9808(0xaa)](PerformanceEvents[_0xfa9808(0xd8)],![],_0x349643);}const _0x1dc942={};_0x1dc942['hookType']=_0x3499da['baafK'],PerformanceTester[_0xfa9808(0xaa)](PerformanceHookEvents[_0xfa9808(0xa4)],!![],null,_0x1dc942);}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['failed'],(_0x2c80eb,_0x4447a5)=>{const _0x119afd=_0x8a1096;PerformanceTester[_0x119afd(0x79)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3499da[_0x119afd(0xde)](_0x2c80eb[_0x119afd(0x9e)][_0x119afd(0xd9)],_0x3499da[_0x119afd(0xe1)])){const _0x4a910d=_0x5ee1d4[_0x119afd(0x9c)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2c80eb[_0x119afd(0x159)]['currentTest']);CodeceptRecorder['add'](()=>_0x5ee1d4[_0x119afd(0x11d)](TEST_EVENTS[_0x119afd(0x76)],_0x4a910d));}else{const _0x25e329=_0x5ee1d4[_0x119afd(0x9c)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2c80eb,_0x4447a5);CodeceptRecorder['add'](()=>{const _0x24f334=_0x119afd;try{_0x5ee1d4['fireEvent'](TEST_EVENTS[_0x24f334(0xc3)],_0x25e329);}catch(_0xc3857a){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util['format'](_0xc3857a)),PerformanceTester[_0x24f334(0xaa)](PerformanceEvents[_0x24f334(0xd8)],![],_0xc3857a);}}),CodeceptRecorder[_0x119afd(0x11f)](async()=>{const _0x42c947=_0x119afd;try{_0x3499da['EoDVk'](isBrowserstackInfra)&&(_0x3c7738?await _0x3499da[_0x42c947(0xaf)](playwrightMarkSessionStatus,_0x588b40,STATE_FAILED,_0x4447a5):await _0x3499da[_0x42c947(0xaf)](markSessionStatus,_0x588b40,STATE_FAILED,_0x4447a5));}catch(_0x3e355c){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x42c947(0xc8)](_0x3e355c)),PerformanceTester['end'](PerformanceEvents[_0x42c947(0xd8)],![],_0x3e355c);}});}PerformanceTester['end'](PerformanceEvents[_0x119afd(0xd8)]);}catch(_0x470740){PerformanceTester[_0x119afd(0x148)](_0x470740);const _0x306c33={};_0x306c33[_0x119afd(0x124)]=_0x3499da['JIPaU'],PerformanceTester[_0x119afd(0xaa)](PerformanceHookEvents['SDK_HOOK'],![],_0x470740,_0x306c33),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x470740);}const _0x5e3592={};_0x5e3592['hookType']=_0x3499da[_0x119afd(0xca)],PerformanceTester[_0x119afd(0xaa)](PerformanceHookEvents[_0x119afd(0xa4)],!![],null,_0x5e3592);}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['skipped'],_0x2a9d71=>{const _0x3fd750=_0x8a1096;PerformanceTester[_0x3fd750(0x79)](PerformanceHookEvents[_0x3fd750(0xa4)]);try{const _0x4ee361=_0x5ee1d4['captureEvent'](TEST_EVENTS[_0x3fd750(0x76)],_0x2a9d71);CodeceptRecorder[_0x3fd750(0x11f)](()=>_0x5ee1d4[_0x3fd750(0x11d)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4ee361)),PerformanceTester[_0x3fd750(0xaa)](PerformanceEvents[_0x3fd750(0xd8)]);}catch(_0x44ddbf){PerformanceTester[_0x3fd750(0x148)](_0x44ddbf),PerformanceTester[_0x3fd750(0xaa)](PerformanceEvents['SDK_TEST'],![],_0x44ddbf);const _0x59c3ee={};_0x59c3ee[_0x3fd750(0x124)]=_0x3499da[_0x3fd750(0x165)],PerformanceTester[_0x3fd750(0xaa)](PerformanceHookEvents['SDK_HOOK'],![],_0x44ddbf,_0x59c3ee);}const _0x1a2bd3={};_0x1a2bd3[_0x3fd750(0x124)]=_0x3499da[_0x3fd750(0x165)],PerformanceTester[_0x3fd750(0xaa)](PerformanceHookEvents[_0x3fd750(0xa4)],!![],null,_0x1a2bd3);}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['after'],async(_0x2ea550,_0x1e4d2a)=>{const _0x554e52=_0x8a1096,_0x3cbc6d={};_0x3cbc6d['UjNWU']=_0x3499da[_0x554e52(0xa3)];const _0x3fdd61=_0x3cbc6d;try{PerformanceTester[_0x554e52(0x79)](PerformanceHookEvents[_0x554e52(0xa4)]);const _0x3ab2f5=_0x3499da['KtKrq'](shouldScanTestForAccessibility,_0x2ea550['titlePath'](),!![]);if(_0x3499da['QcfqI'](isAccessibilityAutomationSession)&&global[_0x554e52(0x141)]&&_0x3ab2f5){const _0x107a48={};_0x107a48[_0x554e52(0x116)]=_0x2ea550[_0x554e52(0xdb)],_0x107a48[_0x554e52(0x129)]=process['env'][testHubConstants[_0x554e52(0xae)][_0x554e52(0x10e)]],_0x107a48[_0x554e52(0x111)]=process[_0x554e52(0x133)][testHubConstants[_0x554e52(0xae)][_0x554e52(0x110)]];const _0x2a613a=_0x107a48;logger[_0x554e52(0x9b)](_0x554e52(0x7d)+JSON['stringify'](_0x2a613a)),CodeceptRecorder[_0x554e52(0x11f)](async()=>{const _0x26c877=_0x554e52,_0x4fa166={};_0x4fa166['command']=_0x3fdd61['UjNWU'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x52475f=a1_0xaf8a;await AccessibilityHelper[_0x52475f(0x118)](_0x588b40,scripts[_0x52475f(0x157)]);},_0x4fa166)(),await PerformanceTester[_0x26c877(0xba)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1c0052=_0x26c877;await AccessibilityHelper['browserStackExecuteDriver'](_0x588b40,scripts[_0x1c0052(0x152)],_0x2a613a);})();}),logger['info'](_0x3499da[_0x554e52(0x13b)]);}const _0x2e5211={};_0x2e5211[_0x554e52(0x124)]=_0x3499da[_0x554e52(0xce)],PerformanceTester['end'](PerformanceHookEvents[_0x554e52(0xa4)],!![],null,_0x2e5211);}catch(_0x2e2e1a){PerformanceTester['captureError'](_0x2e2e1a);const _0x450f92={};_0x450f92[_0x554e52(0x124)]=_0x3499da[_0x554e52(0xce)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2e2e1a,_0x450f92);}}),CodeceptJS['event'][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x147)][_0x8a1096(0x15a)],_0x1b502c=>{const _0x3b0d44=_0x8a1096;PerformanceTester[_0x3b0d44(0x79)](PerformanceHookEvents[_0x3b0d44(0xa4)]);try{process[_0x3b0d44(0xf5)](_0x3b0d44(0x12d)+process[_0x3b0d44(0x128)],{'timestamp':new Date()[_0x3b0d44(0xf8)](),'level':_0x3499da['aVPvr'],'message':_0x1b502c,'kind':_0x3499da[_0x3b0d44(0x81)],'http_response':{}});}catch(_0x267809){PerformanceTester['captureError'](_0x267809);const _0x4858ee={};_0x4858ee[_0x3b0d44(0x124)]=_0x3499da[_0x3b0d44(0x167)],PerformanceTester[_0x3b0d44(0xaa)](PerformanceHookEvents[_0x3b0d44(0xa4)],![],_0x267809,_0x4858ee);}const _0x5436c8={};_0x5436c8['hookType']=_0x3499da[_0x3b0d44(0x167)],PerformanceTester['end'](PerformanceHookEvents[_0x3b0d44(0xa4)],!![],null,_0x5436c8);}),CodeceptJS['event'][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x7a)]['before'],_0x38caca=>{const _0x4b27fc=_0x8a1096,_0x32adaf={};_0x32adaf[_0x4b27fc(0x124)]=_0x3499da[_0x4b27fc(0xf0)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x4b27fc(0xa4)],()=>{_0x5ee1d4['bddStepStart'](_0x38caca);},_0x32adaf)();}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS['event']['bddStep'][_0x8a1096(0x12b)],_0x534b5c=>{const _0x3fd61c=_0x8a1096,_0x1cea1f={};_0x1cea1f[_0x3fd61c(0x124)]=_0x3499da[_0x3fd61c(0xa6)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x3fd61c(0xa4)],()=>{const _0x313fb3=_0x3fd61c;_0x5ee1d4[_0x313fb3(0x14c)](_0x534b5c);},_0x1cea1f)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x10f7(){const _0x1bad88=['slice','replace','frameworkName','yqDGp','launchBuild','toLowerCase','handleApp','webkit','test','desiredCapabilities','Cjboa','forEach','EVENTS','before','length','printBuildLink','initialize','join','2961588pwdDiT','jRllm','user','info','testConfig','codecept.json','validateRerunTestList','YtECE','yLMOO','getPlatformName','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','FRAMEWORKS','4|1|3|5|2|0','/wd/hub','XUGoS','map','skipSessionName','qJKrU','gherkin','env','format','CODECEPT_CUCUMBER','stack','host','playwright-firefox','USER_CONFIG_DETAILS_PATH','debug','10WcTvrR','assign','browserWSEndpoint','addTests','firefox','profile','SDK_CLEANUP','SDK_SETUP','helpers','run','split','playwright-webkit','failed','116428jPYZeE','bootstrapAll','aaRkn','log','getUserWorkerCount','../../helpers/helper','key','BrowserStackPlugin','KJINf','xRwAY','4msrNzj','--config','Started\x20:\x20','exports','finalExecution','createGroupsOfSuites','platforms','CODECEPT','findIndex','ciyOl','all','../../helpers/test-observability/constants','util','hubUrl','83912QPvpPv','validPlatformsPresent','isEmpty','amQnG','860826EMRchU','err','YXXAZ','skipSessionStatus','JUZQS','../../helpers/accessibility-automation/helper','../../helpers/testhub/testhubHandler','isUndefined','Playwright','uImja','dirname','getPlaywrightUrl','CelFY','JgGeA','46423509HViyXm','event','chdir','WebDriver','push','result','spawn','../utils/constants','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','setAdditionalCapabilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','657FiEivn','plugins','config','Failed\x20:\x20','QYGDO','winstonLogger','accessKey','../../helpers/utilities','chrome','testContextOptions','Workers','chromium','2759675LKoAqw','process','root','../../helpers/performance/performance-tester','browserName','browser','codecept.conf.js','zZBDk','prepareCapabilities','errorMessage','cwd','Passed\x20:\x20','zOHWp','enabled','ugnWW','BROWSERSTACK_TEST_ACCESSIBILITY_YML','MsNaw','ZzZJS','../../helpers/performance/constants','6943030YeHDZL','NSRCG','start','stop','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','codeceptjs/lib/index.js','../../helpers/logger','passed','addConfig','isTestObservabilitySession','7qmiEYr','pPMJf','mergeDeep','testObservability','accessibility','OhHGV','browserStackCwd','PUFrF','isTrue','jWQsc','existsSync','accessibilityOptions','teardownAll','path','title','codeceptjs','trim'];a2_0x10f7=function(){return _0x1bad88;};return a2_0x10f7();}const a2_0x48dc1a=a2_0x19a2;(function(_0x306205,_0x292fb5){const _0x2757b1=a2_0x19a2,_0x5d5c48=_0x306205();while(!![]){try{const _0x297a4f=parseInt(_0x2757b1(0x12b))/0x1*(-parseInt(_0x2757b1(0x138))/0x2)+-parseInt(_0x2757b1(0x110))/0x3+-parseInt(_0x2757b1(0x142))/0x4*(parseInt(_0x2757b1(0x179))/0x5)+-parseInt(_0x2757b1(0x154))/0x6*(parseInt(_0x2757b1(0x196))/0x7)+-parseInt(_0x2757b1(0x150))/0x8*(parseInt(_0x2757b1(0x16d))/0x9)+-parseInt(_0x2757b1(0x18c))/0xa+parseInt(_0x2757b1(0x162))/0xb;if(_0x297a4f===_0x292fb5)break;else _0x5d5c48['push'](_0x5d5c48['shift']());}catch(_0x4c5d38){_0x5d5c48['push'](_0x5d5c48['shift']());}}}(a2_0x10f7,0x78fd9));const fs=require('fs'),path=require(a2_0x48dc1a(0xfa)),util=require(a2_0x48dc1a(0x14e)),process=require(a2_0x48dc1a(0x17a)),logger=require(a2_0x48dc1a(0x192))[a2_0x48dc1a(0x172)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x48dc1a(0x13d)),utilities=require(a2_0x48dc1a(0x174)),{checkAccessibilityPlatformConfig}=require(a2_0x48dc1a(0x159)),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x48dc1a(0x13d)),CodeceptJS=requireModule(a2_0x48dc1a(0x191),a2_0x48dc1a(0xfc)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x48dc1a(0x15a)),constants=require(a2_0x48dc1a(0x169)),PerformanceTester=require(a2_0x48dc1a(0x17c)),{FRAMEWORKS}=require(a2_0x48dc1a(0x14d)),PerformanceEvents=require(a2_0x48dc1a(0x18b))[a2_0x48dc1a(0x10a)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4a14c8,_0x25c55f)=>{const _0x270279=a2_0x48dc1a,_0x5eb825={};_0x5eb825[_0x270279(0x117)]=function(_0x29c9ef,_0x361eab){return _0x29c9ef===_0x361eab;},_0x5eb825[_0x270279(0xf4)]=_0x270279(0x17f),_0x5eb825[_0x270279(0x197)]=_0x270279(0x115);const _0x4c3dca=_0x5eb825;let _0x272b35=null;const _0x4b9f6f={};let _0x3248a7=_0x25c55f[_0x270279(0x14a)](_0xe157e0=>_0xe157e0===_0x270279(0x143));_0x4c3dca[_0x270279(0x117)](_0x3248a7,-0x1)&&(_0x3248a7=_0x25c55f[_0x270279(0x14a)](_0x599c20=>_0x599c20==='-c'));if(!helper['isUndefined'](_0x4a14c8['config'])&&fs[_0x270279(0xf7)](path['join'](process[_0x270279(0x183)](),_0x4a14c8[_0x270279(0x16f)])))_0x272b35=path[_0x270279(0x10f)](process[_0x270279(0x183)](),_0x4a14c8[_0x270279(0x16f)]),_0x25c55f['slice'](_0x3248a7,0x2);else{if(!helper[_0x270279(0x15b)](_0x4a14c8['c'])&&fs['existsSync'](path[_0x270279(0x10f)](process[_0x270279(0x183)](),_0x4a14c8['c'])))_0x272b35=path[_0x270279(0x10f)](process[_0x270279(0x183)](),_0x4a14c8['c']),_0x25c55f[_0x270279(0xfe)](_0x3248a7,0x2);else{if(fs['existsSync'](path[_0x270279(0x10f)](process[_0x270279(0x183)](),_0x4c3dca['PUFrF'])))_0x272b35=path[_0x270279(0x10f)](process[_0x270279(0x183)](),_0x4c3dca['PUFrF']);else fs[_0x270279(0xf7)](path[_0x270279(0x10f)](process[_0x270279(0x183)](),_0x4c3dca[_0x270279(0x197)]))&&(_0x272b35=path['join'](process[_0x270279(0x183)](),_0x4c3dca[_0x270279(0x197)]));}}return process[_0x270279(0x123)][_0x270279(0x129)]=_0x272b35,_0x272b35;},getO11yRerunPattern=()=>{const _0x310a66=a2_0x48dc1a,_0x4e6fba=helper[_0x310a66(0xf5)](process[_0x310a66(0x123)]['BROWSERSTACK_RERUN']);if(_0x4e6fba){const _0x3e0406=process[_0x310a66(0x123)]['BROWSERSTACK_RERUN_TESTS'],_0x5f25d3=[];if(helper[_0x310a66(0x116)](_0x3e0406)&&!helper[_0x310a66(0x15b)](_0x3e0406)){_0x3e0406[_0x310a66(0x135)](',')['map'](_0x3bb195=>{const _0x437a18=_0x310a66;_0x5f25d3['push']('('+_0x3bb195[_0x437a18(0xfd)]()+')');});const _0x5db5b5='^'+_0x5f25d3[_0x310a66(0x10f)]('|')+'$';return _0x5db5b5;}}return null;},a2_0x529b4e={};a2_0x529b4e[a2_0x48dc1a(0x175)]='chromium',a2_0x529b4e['playwright-chromium']=a2_0x48dc1a(0x178),a2_0x529b4e[a2_0x48dc1a(0x128)]=a2_0x48dc1a(0x12f),a2_0x529b4e[a2_0x48dc1a(0x136)]=a2_0x48dc1a(0x105);const pwToCodeceptBrowser=a2_0x529b4e;function a2_0x19a2(_0x51d561,_0x14270d){const _0x10f718=a2_0x10f7();return a2_0x19a2=function(_0x19a21c,_0x1629eb){_0x19a21c=_0x19a21c-0xf1;let _0x355f73=_0x10f718[_0x19a21c];return _0x355f73;},a2_0x19a2(_0x51d561,_0x14270d);}async function run(_0x2ff8f0,_0x2aecb6,_0x420b8f){const _0x1ba7f9=a2_0x48dc1a,_0x571f1e={'jWQsc':function(_0x48be85,_0x22eab0,_0x1867b3,_0x494672){return _0x48be85(_0x22eab0,_0x1867b3,_0x494672);},'MsNaw':function(_0x43942c,_0x1ba373){return _0x43942c+_0x1ba373;},'amQnG':function(_0x2e8c1f,_0x2dae20){return _0x2e8c1f(_0x2dae20);},'JUZQS':function(_0x31fc37,_0x3f890d){return _0x31fc37+_0x3f890d;},'JgGeA':function(_0x2a69db,_0x141a15,_0x4efebd){return _0x2a69db(_0x141a15,_0x4efebd);},'qJKrU':_0x1ba7f9(0x133),'KJINf':function(_0x4aadf8){return _0x4aadf8();},'yqDGp':_0x1ba7f9(0x11d),'ZzZJS':function(_0x25256e){return _0x25256e();},'JjYED':function(_0x332196){return _0x332196();},'CelFY':_0x1ba7f9(0x170),'aaRkn':_0x1ba7f9(0x184),'NHhEe':_0x1ba7f9(0x144),'ugnWW':_0x1ba7f9(0x11c),'uImja':_0x1ba7f9(0x16a),'QYGDO':function(_0x137626,_0x58726d,_0x24d3f5){return _0x137626(_0x58726d,_0x24d3f5);},'jRllm':_0x1ba7f9(0x15c),'YXXAZ':'WebDriver','zZBDk':function(_0x3cd6bc,_0x43e313){return _0x3cd6bc!=_0x43e313;},'yLMOO':function(_0x2d8853,_0x283812){return _0x2d8853===_0x283812;},'Cjboa':_0x1ba7f9(0x122),'xRwAY':function(_0x324975){return _0x324975();},'XUGoS':function(_0x1a91a1,_0x3fc26b){return _0x1a91a1*_0x3fc26b;},'yBZpw':'browser','XaJOw':function(_0x280b31,_0x41eb8f,_0x4f5e31){return _0x280b31(_0x41eb8f,_0x4f5e31);},'OhHGV':_0x1ba7f9(0x107),'ciyOl':_0x1ba7f9(0x17b),'NSRCG':'BrowserStackPlugin.js','IMsJQ':_0x1ba7f9(0xf3)};await _0x420b8f[_0x1ba7f9(0x10e)](_0x2ff8f0),await helper[_0x1ba7f9(0x104)](_0x420b8f[_0x1ba7f9(0x16f)]);if(!_0x420b8f[_0x1ba7f9(0x16f)])return;process[_0x1ba7f9(0x130)]=_0x2ff8f0[_0x1ba7f9(0x130)];_0x2ff8f0['profile']&&(process[_0x1ba7f9(0x123)][_0x1ba7f9(0x130)]=_0x2ff8f0[_0x1ba7f9(0x130)]);const _0x7e2cdd=_0x571f1e['JgGeA'](getUserCodeceptJSConfigs,_0x2ff8f0,_0x2aecb6);let _0x334c99={};_0x7e2cdd?(logger[_0x1ba7f9(0x113)](_0x1ba7f9(0x11a)+_0x7e2cdd),_0x334c99=CodeceptJS[_0x1ba7f9(0x16f)]['load'](_0x7e2cdd)):logger[_0x1ba7f9(0x113)](_0x571f1e[_0x1ba7f9(0x15d)]);let _0x416382=![];_0x571f1e[_0x1ba7f9(0x171)](nestedKeyValue,_0x334c99,[_0x571f1e[_0x1ba7f9(0x121)],_0x571f1e[_0x1ba7f9(0x111)]])&&(_0x416382=!![]);const _0x4daeeb=_0x416382?_0x571f1e['jRllm']:_0x571f1e[_0x1ba7f9(0x156)];let _0x54536b=!_0x416382?helper['useW3C'](_0x420b8f['config']):![];!helper[_0x1ba7f9(0x15b)](_0x420b8f[_0x1ba7f9(0x16f)][_0x1ba7f9(0xf8)])&&(process[_0x1ba7f9(0x123)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x420b8f[_0x1ba7f9(0x16f)][_0x1ba7f9(0xf8)]));let _0x32df2a=_0x420b8f[_0x1ba7f9(0x16f)][_0x1ba7f9(0xf1)];_0x32df2a=_0x32df2a||_0x571f1e[_0x1ba7f9(0x153)](checkAccessibilityPlatformConfig,_0x420b8f[_0x1ba7f9(0x16f)]),process[_0x1ba7f9(0x123)][_0x1ba7f9(0x188)]=_0x32df2a;_0x32df2a&&(_0x54536b=!_0x32df2a);_0x571f1e[_0x1ba7f9(0x180)](_0x420b8f[_0x1ba7f9(0x16f)][_0x1ba7f9(0x199)],null)?process[_0x1ba7f9(0x123)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x420b8f['config'][_0x1ba7f9(0x199)]:process[_0x1ba7f9(0x123)][_0x1ba7f9(0x16c)]=_0x571f1e[_0x1ba7f9(0x118)](_0x4daeeb,_0x571f1e[_0x1ba7f9(0x111)]);const _0x8ccd7b=_0x571f1e[_0x1ba7f9(0x161)](nestedKeyValue,_0x334c99,[_0x571f1e[_0x1ba7f9(0x108)]]),_0x2147d6=_0x8ccd7b&&!helper[_0x1ba7f9(0x152)](_0x8ccd7b)?FRAMEWORKS[_0x1ba7f9(0x125)]:FRAMEWORKS[_0x1ba7f9(0x149)],_0x3c08c6=await TestHubHandler[_0x1ba7f9(0x102)](_0x2147d6,_0x420b8f);_0x32df2a&&_0x571f1e[_0x1ba7f9(0x153)](setAccessibilityCapabilities,_0x420b8f[_0x1ba7f9(0x16f)]);const _0xa819d7={},_0x4b469a=[],_0x5a7943=_0x420b8f['config']['parallelsPerPlatform']||helper[_0x1ba7f9(0x13c)](_0x2ff8f0,_0x2aecb6,_0x420b8f['config'],constants[_0x1ba7f9(0x11b)]['CODECEPT'])||0x1;let _0x2273a7=0x1;if(_0x571f1e[_0x1ba7f9(0x141)](isBrowserstackInfra)){const _0x49010c=helper[_0x1ba7f9(0x181)](_0x420b8f[_0x1ba7f9(0x16f)],_0x54536b,constants[_0x1ba7f9(0x11b)][_0x1ba7f9(0x149)]);_0x49010c[_0x1ba7f9(0x109)](_0xe7a235=>{const _0x1fdd9f=_0x1ba7f9;helper[_0x1fdd9f(0x16b)](_0xe7a235);}),helper[_0x1ba7f9(0x151)](_0x420b8f['config'])?_0x2273a7=_0x571f1e[_0x1ba7f9(0x11e)](_0x5a7943,_0x420b8f[_0x1ba7f9(0x16f)][_0x1ba7f9(0x148)][_0x1ba7f9(0x10c)]):_0x2273a7=_0x5a7943,_0x49010c[_0x1ba7f9(0x109)](_0x32556e=>{const _0x4336ce=_0x1ba7f9,_0x52cb34={'zOHWp':function(_0x30e5b9,_0x55daa8,_0x39f3e1,_0x232094){const _0x294f54=a2_0x19a2;return _0x571f1e[_0x294f54(0xf6)](_0x30e5b9,_0x55daa8,_0x39f3e1,_0x232094);},'LfiTl':function(_0x3dc62e,_0x35ccd6){const _0xff398f=a2_0x19a2;return _0x571f1e[_0xff398f(0x189)](_0x3dc62e,_0x35ccd6);},'PZzEj':function(_0x1813f6,_0x549d07){const _0xe77d2c=a2_0x19a2;return _0x571f1e[_0xe77d2c(0x153)](_0x1813f6,_0x549d07);}},_0x23e52b=_0x571f1e[_0x4336ce(0x158)](helper[_0x4336ce(0x119)](_0x32556e,'_'),'_'+Date['now']()),_0x11967b=((()=>{const _0x1ad520=_0x4336ce;if(_0x416382){const _0x3b183e=pwToCodeceptBrowser[_0x32556e[_0x1ad520(0x17d)]]||_0x32556e[_0x1ad520(0x17d)],_0x115527=helper[_0x1ad520(0x15f)](_0x420b8f[_0x1ad520(0x16f)]),_0x368d77=Object['assign']({},_0x32556e);return _0x52cb34[_0x1ad520(0x185)](processAccessibilityCaps,_0x368d77,_0x115527,null),{'browser':_0x3b183e,[_0x3b183e]:{'browserWSEndpoint':_0x52cb34['LfiTl'](_0x115527,_0x52cb34['PZzEj'](encodeURIComponent,JSON['stringify'](_0x368d77)))}};}const _0x5ade9e={};return _0x5ade9e[_0x1ad520(0x107)]=_0x32556e,_0x5ade9e[_0x1ad520(0x112)]=_0x420b8f[_0x1ad520(0x16f)]['userName'],_0x5ade9e[_0x1ad520(0x13e)]=_0x420b8f[_0x1ad520(0x16f)][_0x1ad520(0x173)],_0x5ade9e;})()),_0x2c5c74=_0x571f1e[_0x4336ce(0x161)](nestedKeyValue,_0x334c99,[_0x571f1e['qJKrU'],_0x4daeeb]);_0xa819d7[_0x23e52b]=_0x2c5c74?helper['mergeDeep'](_0x11967b,_0x2c5c74):_0x11967b;if(_0x416382)_0xa819d7[_0x23e52b][_0x4336ce(0x17e)]=pwToCodeceptBrowser[_0x32556e[_0x4336ce(0x17d)]]||_0x32556e[_0x4336ce(0x17d)];else{_0xa819d7[_0x23e52b][_0x4336ce(0x17e)]=_0x32556e[_0x4336ce(0x17d)]||_0x11967b[_0x4336ce(0x17e)];if(_0x571f1e[_0x4336ce(0x140)](isBrowserstackInfra)){_0xa819d7[_0x23e52b][_0x4336ce(0x127)]=constants[_0x4336ce(0x14f)][_0x4336ce(0xff)](_0x571f1e[_0x4336ce(0x101)],'')[_0x4336ce(0xff)](/https?:\/\//,'');;_0xa819d7[_0x23e52b]['path']=_0x571f1e[_0x4336ce(0x101)];}}_0x4b469a[_0x4336ce(0x166)](_0x23e52b);});}else{_0x2273a7=0x1;if(_0x416382){const _0x45e06e=_0x571f1e[_0x1ba7f9(0x171)](nestedKeyValue,_0x334c99,[_0x571f1e['qJKrU'],_0x4daeeb,_0x571f1e['yBZpw']]),_0x95795f=_0x571f1e['XaJOw'](nestedKeyValue,_0x334c99,[_0x571f1e[_0x1ba7f9(0x121)],_0x4daeeb,_0x45e06e]);if(_0x95795f&&_0x95795f['browserWSEndpoint']){const _0x4713c5={};_0x4713c5[_0x1ba7f9(0x148)]=[],_0x95795f[_0x1ba7f9(0x12d)]=helper[_0x1ba7f9(0x181)](Object[_0x1ba7f9(0x12c)]({},_0x420b8f[_0x1ba7f9(0x16f)],_0x4713c5),null,_0x2147d6[_0x1ba7f9(0x103)](),null,null,_0x95795f['browserWSEndpoint']);}}else{const _0x455375={};_0x455375[_0x1ba7f9(0x148)]=[],_0x334c99[_0x571f1e[_0x1ba7f9(0x121)]][_0x4daeeb][_0x571f1e[_0x1ba7f9(0xf2)]]=helper[_0x1ba7f9(0x181)](Object[_0x1ba7f9(0x12c)]({},_0x420b8f[_0x1ba7f9(0x16f)],_0x455375),null,_0x2147d6[_0x1ba7f9(0x103)](),_0x571f1e[_0x1ba7f9(0x161)](nestedKeyValue,_0x334c99,[_0x571f1e[_0x1ba7f9(0x121)],_0x4daeeb,_0x571f1e[_0x1ba7f9(0xf2)]])||{},null,null);}_0xa819d7[_0x571f1e[_0x1ba7f9(0x14b)]]=_0x334c99,_0x4b469a[_0x1ba7f9(0x166)](_0x571f1e[_0x1ba7f9(0x14b)]);}const _0x1ca407={};_0x1ca407[_0x1ba7f9(0x114)]=_0x7e2cdd;const _0x259300=_0x1ca407,_0x18ce5c=path[_0x1ba7f9(0x10f)](__dirname,_0x571f1e[_0x1ba7f9(0x18d)]),_0x4f8211=process[_0x1ba7f9(0x183)]();process[_0x1ba7f9(0x123)][_0x571f1e['IMsJQ']]=_0x4f8211,process[_0x1ba7f9(0x164)](path[_0x1ba7f9(0x15e)](_0x7e2cdd));const _0x9b8e61=new CodeceptJS[(_0x1ba7f9(0x177))](null,_0x259300),_0x304b66=_0x9b8e61[_0x1ba7f9(0x147)](_0x2273a7),_0xdb4fd8=testOpsHelper[_0x1ba7f9(0x195)](),_0xa59d9f=_0x4b469a[_0x1ba7f9(0x11f)](_0x14ab40=>{const _0x14865a=_0x1ba7f9,_0x1a192f={};_0x1a192f[_0x14865a(0x15c)]=_0xa819d7[_0x14ab40];const _0x2ae5b8={};_0x2ae5b8[_0x14865a(0x165)]=_0xa819d7[_0x14ab40];const _0x2b4cd4=_0x416382?_0x1a192f:_0x2ae5b8,_0x563257=_0x571f1e[_0x14865a(0x18a)](getO11yRerunPattern),_0x7c7b02={};_0x7c7b02[_0x14865a(0x133)]=_0x2b4cd4;const _0x3366cb={};_0x3366cb['require']=_0x18ce5c,_0x3366cb[_0x14865a(0x186)]=!![],_0x3366cb[_0x14865a(0x120)]=_0x420b8f['config'][_0x14865a(0x176)][_0x14865a(0x120)],_0x3366cb['skipSessionStatus']=_0x420b8f[_0x14865a(0x16f)]['testContextOptions'][_0x14865a(0x157)],_0x3366cb[_0x14865a(0x199)]=_0xdb4fd8,_0x3366cb[_0x14865a(0x100)]=_0x2147d6;const _0xe429be={};_0xe429be[_0x14865a(0x13f)]=_0x3366cb;const _0x4e172={};return _0x4e172[_0x14865a(0x16e)]=_0xe429be,helper[_0x14865a(0x198)]({},_0x334c99,_0x571f1e['JjYED'](isBrowserstackInfra)?_0x7c7b02:{},_0x563257?{'grep':_0x563257}:{},_0x4e172);});for(const _0x309d34 of _0xa59d9f){for(const _0xecf1c of _0x304b66){const _0x2cc735=_0x9b8e61[_0x1ba7f9(0x168)]();_0x2cc735[_0x1ba7f9(0x12e)](_0xecf1c),_0x2cc735[_0x1ba7f9(0x194)](_0x309d34);const _0x55e334={};_0x55e334[_0x1ba7f9(0x16f)]=_0x7e2cdd,_0x2cc735['addOptions'](Object[_0x1ba7f9(0x12c)](_0x55e334,_0x2ff8f0));}}_0x9b8e61['on'](CodeceptJS[_0x1ba7f9(0x163)][_0x1ba7f9(0x106)][_0x1ba7f9(0x137)],(_0x7f7f87,_0x5ce6be)=>{const _0x1a2834=_0x1ba7f9;console[_0x1a2834(0x13b)](_0x571f1e[_0x1a2834(0x160)],_0x7f7f87[_0x1a2834(0xfb)]);const _0x3b0f96={[_0x7f7f87[_0x1a2834(0xfb)]]:_0x7f7f87[_0x1a2834(0x155)][_0x1a2834(0x126)]};_testErrorData[_0x1a2834(0x166)](_0x3b0f96);}),_0x9b8e61['on'](CodeceptJS['event'][_0x1ba7f9(0x106)][_0x1ba7f9(0x193)],async _0x1b202d=>{const _0x443af8=_0x1ba7f9;console[_0x443af8(0x13b)](_0x571f1e[_0x443af8(0x13a)],_0x1b202d['title']);}),_0x9b8e61['on'](CodeceptJS[_0x1ba7f9(0x163)][_0x1ba7f9(0x106)][_0x1ba7f9(0x10b)],async _0x5076f0=>{const _0x1cfe5b=_0x1ba7f9;console[_0x1cfe5b(0x13b)](_0x571f1e['NHhEe'],_0x5076f0[_0x1cfe5b(0xfb)]);}),_0x9b8e61['on'](CodeceptJS[_0x1ba7f9(0x163)][_0x1ba7f9(0x14c)][_0x1ba7f9(0x167)],async()=>{const _0x5ace80=_0x1ba7f9,_0x30e302=_0x571f1e[_0x5ace80(0x187)]['split']('|');let _0x4bb0ca=0x0;while(!![]){switch(_0x30e302[_0x4bb0ca++]){case'0':_0x9b8e61['printResults']();continue;case'1':_0x420b8f[_0x5ace80(0x182)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x5ace80(0x18f)]();}catch(_0x3fc58d){logger[_0x5ace80(0x12a)](_0x5ace80(0x190)+util[_0x5ace80(0x124)](_0x3fc58d));}continue;case'3':testOpsHelper[_0x5ace80(0x10d)]();continue;case'4':PerformanceTester[_0x5ace80(0x18e)](PerformanceEvents[_0x5ace80(0x131)]);continue;case'5':utilities[_0x5ace80(0x146)](_0x420b8f);continue;}break;}});async function _0x2a4457(){const _0x48e95d=_0x1ba7f9;try{await _0x9b8e61[_0x48e95d(0x139)](),await _0x9b8e61[_0x48e95d(0x134)]();}finally{process[_0x48e95d(0x164)](_0x4f8211),await _0x9b8e61[_0x48e95d(0xf9)]();}}PerformanceTester['end'](PerformanceEvents[_0x1ba7f9(0x132)]),_0x571f1e[_0x1ba7f9(0x141)](_0x2a4457);}module[a2_0x48dc1a(0x145)]=run;
2
+ 'use strict';const a2_0x22e31a=a2_0x573d;(function(_0x49e219,_0x52cc16){const _0x2a8c8f=a2_0x573d,_0x2fc1c9=_0x49e219();while(!![]){try{const _0x5e57c4=parseInt(_0x2a8c8f(0x193))/0x1+parseInt(_0x2a8c8f(0x168))/0x2+parseInt(_0x2a8c8f(0x1bd))/0x3*(parseInt(_0x2a8c8f(0x132))/0x4)+-parseInt(_0x2a8c8f(0x170))/0x5*(-parseInt(_0x2a8c8f(0x130))/0x6)+parseInt(_0x2a8c8f(0x19d))/0x7*(-parseInt(_0x2a8c8f(0x1b6))/0x8)+-parseInt(_0x2a8c8f(0x158))/0x9*(-parseInt(_0x2a8c8f(0x1c3))/0xa)+-parseInt(_0x2a8c8f(0x192))/0xb;if(_0x5e57c4===_0x52cc16)break;else _0x2fc1c9['push'](_0x2fc1c9['shift']());}catch(_0x16ceaa){_0x2fc1c9['push'](_0x2fc1c9['shift']());}}}(a2_0x52c8,0xd2035));function a2_0x52c8(){const _0x132e2d=['isTrue','validateRerunTestList','config','firefox','../../helpers/utilities','1138624KHGOcJ','BROWSERSTACK_RERUN','map','QEZtn','../../helpers/performance/constants','../../helpers/BrowserStackSetup','OQPPb','3SEZrRt','gZkhS','toLowerCase','gherkin','debug','log','27480WmQura','browser','../../helpers/test-observability/utils','isUndefined','process','NmrqS','profile','key','chromium','skipSessionName','ffCKC','stringify','before','637734GUaTnA','RzdJF','6299796tzaoGJ','Rourf','printBuildLink','../utils/constants','isEmpty','codecept.conf.js','winstonLogger','path','chrome','ICoeJ','mergeDeep','initialize','BROWSERSTACK_TEST_OBSERVABILITY_YML','CEfuy','nBZQP','WHfAq','printResults','prepareCapabilities','getPlatformName','split','browserWSEndpoint','susLE','title','playwright-webkit','Playwright','../../helpers/helper','EVENTS','BrowserStackPlugin.js','root','DQCne','all','info','plugins','accessibility','../../helpers/performance/performance-tester','util','testObservability','playwright-chromium','5472QaacyH','codeceptjs','bkkAd','assign','getPlaywrightUrl','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','webkit','MllNF','require','event','SDK_SETUP','findIndex','Beymz','cZQiD','useW3C','platforms','1335290OrHjtZ','../../helpers/accessibility-automation/helper','kcasl','frameworkName','accessibilityOptions','test','trim','xqzWp','55kwCWdR','env','addConfig','WebDriver','../utils/clientTroubleshootingService','push','exports','--config','skipSessionStatus','spawn','WquJb','user','codeceptjs/lib/index.js','vcfuL','join','VljgN','BrowserStackPlugin','browserName','kMVMG','CODECEPT','../../bin/playwright/accessibility-helper','format','load','length','xaCzb','../../helpers/test-observability/constants','../../helpers/logger','cwd','testContextOptions','/wd/hub','stop','testConfig','playwright-firefox','run','30854043tZXpNF','5849wlzOQl','eOrMG','handleApp','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','FRAMEWORKS','existsSync','iiqcr','host','Started\x20:\x20','70CwcvuD','enabled','sWJVM','getUserWorkerCount','stack','forEach','launchBuild','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','passed','now','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Passed\x20:\x20','desiredCapabilities','slice','teardownAll','errorMessage','MrWTx','xCRHt','SDK_CLEANUP','addTests'];a2_0x52c8=function(){return _0x132e2d;};return a2_0x52c8();}const fs=require('fs'),path=require(a2_0x22e31a(0x139)),util=require(a2_0x22e31a(0x155)),process=require(a2_0x22e31a(0x1c7)),logger=require(a2_0x22e31a(0x18a))[a2_0x22e31a(0x138)],{default:BrowserStackSetup}=require(a2_0x22e31a(0x1bb)),helper=require(a2_0x22e31a(0x14b)),utilities=require(a2_0x22e31a(0x1b5)),{checkAccessibilityPlatformConfig}=require(a2_0x22e31a(0x169)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x22e31a(0x184)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x22e31a(0x14b)),CodeceptJS=requireModule(a2_0x22e31a(0x17c),a2_0x22e31a(0x159)),testOpsHelper=require(a2_0x22e31a(0x1c5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x22e31a(0x135)),PerformanceTester=require(a2_0x22e31a(0x154)),{FRAMEWORKS}=require(a2_0x22e31a(0x189)),PerformanceEvents=require(a2_0x22e31a(0x1ba))[a2_0x22e31a(0x14c)],ClientTroubleShootingService=require(a2_0x22e31a(0x174)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2558c3,_0x59c566)=>{const _0x56b8bc=a2_0x22e31a,_0x3d0153={};_0x3d0153['McMVO']=function(_0x3164e0,_0x35ce05){return _0x3164e0===_0x35ce05;},_0x3d0153[_0x56b8bc(0x14f)]=_0x56b8bc(0x137),_0x3d0153[_0x56b8bc(0x131)]='codecept.json';const _0x518453=_0x3d0153;let _0x308245=null;const _0x3cddd4={};let _0x597722=_0x59c566[_0x56b8bc(0x163)](_0x27a756=>_0x27a756===_0x56b8bc(0x177));_0x518453['McMVO'](_0x597722,-0x1)&&(_0x597722=_0x59c566['findIndex'](_0x197709=>_0x197709==='-c'));if(!helper['isUndefined'](_0x2558c3[_0x56b8bc(0x1b3)])&&fs[_0x56b8bc(0x199)](path[_0x56b8bc(0x17e)](process['cwd'](),_0x2558c3['config'])))_0x308245=path[_0x56b8bc(0x17e)](process[_0x56b8bc(0x18b)](),_0x2558c3[_0x56b8bc(0x1b3)]),_0x59c566['slice'](_0x597722,0x2);else{if(!helper['isUndefined'](_0x2558c3['c'])&&fs[_0x56b8bc(0x199)](path['join'](process[_0x56b8bc(0x18b)](),_0x2558c3['c'])))_0x308245=path[_0x56b8bc(0x17e)](process[_0x56b8bc(0x18b)](),_0x2558c3['c']),_0x59c566[_0x56b8bc(0x1aa)](_0x597722,0x2);else{if(fs['existsSync'](path[_0x56b8bc(0x17e)](process['cwd'](),_0x518453['DQCne'])))_0x308245=path['join'](process[_0x56b8bc(0x18b)](),_0x518453[_0x56b8bc(0x14f)]);else fs[_0x56b8bc(0x199)](path['join'](process['cwd'](),_0x518453[_0x56b8bc(0x131)]))&&(_0x308245=path[_0x56b8bc(0x17e)](process[_0x56b8bc(0x18b)](),_0x518453[_0x56b8bc(0x131)]));}}return process[_0x56b8bc(0x171)]['USER_CONFIG_DETAILS_PATH']=_0x308245,_0x308245;},getO11yRerunPattern=()=>{const _0x1d7416=a2_0x22e31a,_0x4c7e72=helper[_0x1d7416(0x1b1)](process[_0x1d7416(0x171)][_0x1d7416(0x1b7)]);if(_0x4c7e72){const _0x4830ca=process[_0x1d7416(0x171)][_0x1d7416(0x196)],_0x4fa8f0=[];if(helper[_0x1d7416(0x1b2)](_0x4830ca)&&!helper[_0x1d7416(0x1c6)](_0x4830ca)){_0x4830ca['split'](',')[_0x1d7416(0x1b8)](_0x54364f=>{const _0x309a4d=_0x1d7416;_0x4fa8f0[_0x309a4d(0x175)]('('+_0x54364f[_0x309a4d(0x16e)]()+')');});const _0x54132e='^'+_0x4fa8f0[_0x1d7416(0x17e)]('|')+'$';return _0x54132e;}}return null;},a2_0xcb56b9={};function a2_0x573d(_0x4089db,_0x413797){const _0x52c811=a2_0x52c8();return a2_0x573d=function(_0x573d78,_0xe22eca){_0x573d78=_0x573d78-0x12f;let _0x483599=_0x52c811[_0x573d78];return _0x483599;},a2_0x573d(_0x4089db,_0x413797);}a2_0xcb56b9[a2_0x22e31a(0x13a)]=a2_0x22e31a(0x1cb),a2_0xcb56b9[a2_0x22e31a(0x157)]=a2_0x22e31a(0x1cb),a2_0xcb56b9[a2_0x22e31a(0x190)]=a2_0x22e31a(0x1b4),a2_0xcb56b9[a2_0x22e31a(0x149)]=a2_0x22e31a(0x15e);const pwToCodeceptBrowser=a2_0xcb56b9;async function run(_0x2ec146,_0x111e23,_0x25aa96){const _0x1cde8f=a2_0x22e31a,_0x4eb764={'xCRHt':function(_0x17b5db,_0x28df41,_0x15ae5c,_0x7141fd){return _0x17b5db(_0x28df41,_0x15ae5c,_0x7141fd);},'HTMTn':function(_0x2cdc72,_0x18fc39){return _0x2cdc72+_0x18fc39;},'MrWTx':function(_0x3e0ac1,_0x509efe){return _0x3e0ac1(_0x509efe);},'WHfAq':function(_0x5cb4d5,_0x2b2bd1){return _0x5cb4d5+_0x2b2bd1;},'gZkhS':function(_0x539b99,_0x6718af,_0x7a5c4b){return _0x539b99(_0x6718af,_0x7a5c4b);},'vcfuL':'helpers','NmrqS':function(_0x91dea9){return _0x91dea9();},'iUUAk':_0x1cde8f(0x18d),'dsrTC':function(_0xdf8ff9){return _0xdf8ff9();},'xqzWp':'Failed\x20:\x20','CEfuy':_0x1cde8f(0x1a8),'QEZtn':_0x1cde8f(0x19c),'xaCzb':'4|5|3|0|2|1','MllNF':function(_0x3703b1,_0x3de8a9,_0x353871){return _0x3703b1(_0x3de8a9,_0x353871);},'ICoeJ':_0x1cde8f(0x1a7),'susLE':function(_0x1a83a4,_0x1c825b,_0x55728f){return _0x1a83a4(_0x1c825b,_0x55728f);},'Rourf':_0x1cde8f(0x14a),'rWsOS':_0x1cde8f(0x173),'bkkAd':function(_0xb4086c,_0x1c5a93){return _0xb4086c!=_0x1c5a93;},'WquJb':function(_0x40e097,_0x1bf6ba){return _0x40e097===_0x1bf6ba;},'Beymz':_0x1cde8f(0x1c0),'kMVMG':function(_0x49032a){return _0x49032a();},'RkHkx':function(_0x1becfc,_0x215d2d){return _0x1becfc*_0x215d2d;},'sWJVM':'browser','OQPPb':function(_0x2adb8b,_0xc6b311,_0x327f1a){return _0x2adb8b(_0xc6b311,_0x327f1a);},'eOrMG':_0x1cde8f(0x1a9),'cZQiD':_0x1cde8f(0x14e),'nBZQP':_0x1cde8f(0x14d),'ffCKC':'browserStackCwd','XHDsV':function(_0x466d1b){return _0x466d1b();}};await _0x25aa96[_0x1cde8f(0x13d)](_0x2ec146),await helper[_0x1cde8f(0x195)](_0x25aa96[_0x1cde8f(0x1b3)]);if(!_0x25aa96[_0x1cde8f(0x1b3)])return;process[_0x1cde8f(0x1c9)]=_0x2ec146[_0x1cde8f(0x1c9)];_0x2ec146[_0x1cde8f(0x1c9)]&&(process['env'][_0x1cde8f(0x1c9)]=_0x2ec146[_0x1cde8f(0x1c9)]);const _0x518198=_0x4eb764[_0x1cde8f(0x15f)](getUserCodeceptJSConfigs,_0x2ec146,_0x111e23);let _0x4de40d={};_0x518198?(logger['info'](_0x1cde8f(0x15d)+_0x518198),_0x4de40d=CodeceptJS[_0x1cde8f(0x1b3)][_0x1cde8f(0x186)](_0x518198)):logger[_0x1cde8f(0x151)](_0x4eb764[_0x1cde8f(0x13b)]);let _0x3cc906=![];_0x4eb764[_0x1cde8f(0x147)](nestedKeyValue,_0x4de40d,[_0x4eb764['vcfuL'],_0x4eb764[_0x1cde8f(0x133)]])&&(_0x3cc906=!![]);const _0x3f83ad=_0x3cc906?_0x4eb764[_0x1cde8f(0x133)]:_0x4eb764['rWsOS'];let _0x196d83=!_0x3cc906?helper[_0x1cde8f(0x166)](_0x25aa96[_0x1cde8f(0x1b3)]):![];!helper[_0x1cde8f(0x1c6)](_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x16c)])&&(process[_0x1cde8f(0x171)][_0x1cde8f(0x197)]=JSON[_0x1cde8f(0x1ce)](_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x16c)]));let _0x524e23=_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x153)];_0x524e23=_0x524e23||_0x4eb764['MrWTx'](checkAccessibilityPlatformConfig,_0x25aa96[_0x1cde8f(0x1b3)]),process[_0x1cde8f(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x524e23;_0x524e23&&(_0x196d83=!_0x524e23);_0x4eb764[_0x1cde8f(0x15a)](_0x25aa96[_0x1cde8f(0x1b3)]['testObservability'],null)?process[_0x1cde8f(0x171)][_0x1cde8f(0x13e)]=_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x156)]:process[_0x1cde8f(0x171)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4eb764[_0x1cde8f(0x17a)](_0x3f83ad,_0x4eb764[_0x1cde8f(0x133)]);const _0x2281a2=_0x4eb764[_0x1cde8f(0x1be)](nestedKeyValue,_0x4de40d,[_0x4eb764[_0x1cde8f(0x164)]]),_0x123ea2=_0x2281a2&&!helper[_0x1cde8f(0x136)](_0x2281a2)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x1cde8f(0x183)],_0x491c16=await TestHubHandler[_0x1cde8f(0x1a3)](_0x123ea2,_0x25aa96);_0x524e23&&_0x4eb764[_0x1cde8f(0x1ad)](setAccessibilityCapabilities,_0x25aa96[_0x1cde8f(0x1b3)]);const _0x2ab2c0={},_0xd0ec1a=[],_0x6d7de5=_0x25aa96[_0x1cde8f(0x1b3)]['parallelsPerPlatform']||helper[_0x1cde8f(0x1a0)](_0x2ec146,_0x111e23,_0x25aa96['config'],constants[_0x1cde8f(0x198)][_0x1cde8f(0x183)])||0x1;let _0xa5f157=0x1;if(_0x4eb764[_0x1cde8f(0x182)](isBrowserstackInfra)){const _0x54439d=helper[_0x1cde8f(0x143)](_0x25aa96[_0x1cde8f(0x1b3)],_0x196d83,constants[_0x1cde8f(0x198)][_0x1cde8f(0x183)]);_0x54439d[_0x1cde8f(0x1a2)](_0x5dcf44=>{helper['setAdditionalCapabilities'](_0x5dcf44);}),helper['validPlatformsPresent'](_0x25aa96['config'])?_0xa5f157=_0x4eb764['RkHkx'](_0x6d7de5,_0x25aa96['config'][_0x1cde8f(0x167)][_0x1cde8f(0x187)]):_0xa5f157=_0x6d7de5,_0x54439d[_0x1cde8f(0x1a2)](_0x28a101=>{const _0x3f362c=_0x1cde8f,_0x5452cf={'VljgN':function(_0x5f3607,_0xc001de,_0x2040e9,_0x42b3e6){const _0x28137c=a2_0x573d;return _0x4eb764[_0x28137c(0x1ae)](_0x5f3607,_0xc001de,_0x2040e9,_0x42b3e6);},'kcasl':function(_0x1a153c,_0xbcf6e4){return _0x4eb764['HTMTn'](_0x1a153c,_0xbcf6e4);},'iiqcr':function(_0x51ccfe,_0x36cfd7){const _0x3d62a6=a2_0x573d;return _0x4eb764[_0x3d62a6(0x1ad)](_0x51ccfe,_0x36cfd7);}},_0x13d9a1=_0x4eb764[_0x3f362c(0x141)](helper[_0x3f362c(0x144)](_0x28a101,'_'),'_'+Date[_0x3f362c(0x1a6)]()),_0x5e318c=((()=>{const _0x4f522c=_0x3f362c;if(_0x3cc906){const _0x125459=pwToCodeceptBrowser[_0x28a101[_0x4f522c(0x181)]]||_0x28a101[_0x4f522c(0x181)],_0x384bb7=helper[_0x4f522c(0x15c)](_0x25aa96[_0x4f522c(0x1b3)]),_0x493a7c=Object[_0x4f522c(0x15b)]({},_0x28a101);return _0x5452cf[_0x4f522c(0x17f)](processAccessibilityCaps,_0x493a7c,_0x384bb7,null),{'browser':_0x125459,[_0x125459]:{'browserWSEndpoint':_0x5452cf[_0x4f522c(0x16a)](_0x384bb7,_0x5452cf[_0x4f522c(0x19a)](encodeURIComponent,JSON[_0x4f522c(0x1ce)](_0x493a7c)))}};}const _0x18a1a2={};return _0x18a1a2[_0x4f522c(0x1a9)]=_0x28a101,_0x18a1a2[_0x4f522c(0x17b)]=_0x25aa96[_0x4f522c(0x1b3)]['userName'],_0x18a1a2[_0x4f522c(0x1ca)]=_0x25aa96['config']['accessKey'],_0x18a1a2;})()),_0x21fdc0=_0x4eb764[_0x3f362c(0x1be)](nestedKeyValue,_0x4de40d,[_0x4eb764['vcfuL'],_0x3f83ad]);_0x2ab2c0[_0x13d9a1]=_0x21fdc0?helper[_0x3f362c(0x13c)](_0x5e318c,_0x21fdc0):_0x5e318c;if(_0x3cc906)_0x2ab2c0[_0x13d9a1][_0x3f362c(0x1c4)]=pwToCodeceptBrowser[_0x28a101['browserName']]||_0x28a101['browserName'];else{_0x2ab2c0[_0x13d9a1][_0x3f362c(0x1c4)]=_0x28a101[_0x3f362c(0x181)]||_0x5e318c[_0x3f362c(0x1c4)];if(_0x4eb764['NmrqS'](isBrowserstackInfra)){_0x2ab2c0[_0x13d9a1][_0x3f362c(0x19b)]=constants['hubUrl']['replace'](_0x4eb764['iUUAk'],'')['replace'](/https?:\/\//,'');;_0x2ab2c0[_0x13d9a1][_0x3f362c(0x139)]=_0x4eb764['iUUAk'];}}_0xd0ec1a['push'](_0x13d9a1);});}else{_0xa5f157=0x1;if(_0x3cc906){const _0x150352=_0x4eb764[_0x1cde8f(0x15f)](nestedKeyValue,_0x4de40d,[_0x4eb764[_0x1cde8f(0x17d)],_0x3f83ad,_0x4eb764[_0x1cde8f(0x19f)]]),_0x35659c=_0x4eb764[_0x1cde8f(0x1bc)](nestedKeyValue,_0x4de40d,[_0x4eb764['vcfuL'],_0x3f83ad,_0x150352]);if(_0x35659c&&_0x35659c[_0x1cde8f(0x146)]){const _0x5f4d45={};_0x5f4d45['platforms']=[],_0x35659c[_0x1cde8f(0x146)]=helper[_0x1cde8f(0x143)](Object[_0x1cde8f(0x15b)]({},_0x25aa96[_0x1cde8f(0x1b3)],_0x5f4d45),null,_0x123ea2[_0x1cde8f(0x1bf)](),null,null,_0x35659c[_0x1cde8f(0x146)]);}}else{const _0xb6d500={};_0xb6d500[_0x1cde8f(0x167)]=[],_0x4de40d[_0x4eb764[_0x1cde8f(0x17d)]][_0x3f83ad][_0x4eb764[_0x1cde8f(0x194)]]=helper[_0x1cde8f(0x143)](Object['assign']({},_0x25aa96['config'],_0xb6d500),null,_0x123ea2[_0x1cde8f(0x1bf)](),_0x4eb764[_0x1cde8f(0x15f)](nestedKeyValue,_0x4de40d,[_0x4eb764[_0x1cde8f(0x17d)],_0x3f83ad,_0x4eb764[_0x1cde8f(0x194)]])||{},null,null);}_0x2ab2c0[_0x4eb764[_0x1cde8f(0x165)]]=_0x4de40d,_0xd0ec1a[_0x1cde8f(0x175)](_0x4eb764[_0x1cde8f(0x165)]);}const _0x3c48f4={};_0x3c48f4[_0x1cde8f(0x18f)]=_0x518198;const _0x4de2f4=_0x3c48f4,_0x3f6aec=path[_0x1cde8f(0x17e)](__dirname,_0x4eb764[_0x1cde8f(0x140)]),_0x501e30=process[_0x1cde8f(0x18b)]();process[_0x1cde8f(0x171)][_0x4eb764[_0x1cde8f(0x1cd)]]=_0x501e30,process['chdir'](path['dirname'](_0x518198));const _0x2025a9=new CodeceptJS['Workers'](null,_0x4de2f4),_0x357ef7=_0x2025a9['createGroupsOfSuites'](_0xa5f157),_0x54839b=testOpsHelper['isTestObservabilitySession'](),_0x3a1835=_0xd0ec1a['map'](_0x51a00c=>{const _0x25dc41=_0x1cde8f,_0x379074={};_0x379074['Playwright']=_0x2ab2c0[_0x51a00c];const _0x4fa1ad={};_0x4fa1ad[_0x25dc41(0x173)]=_0x2ab2c0[_0x51a00c];const _0x2b82c1=_0x3cc906?_0x379074:_0x4fa1ad,_0x44429b=_0x4eb764[_0x25dc41(0x1c8)](getO11yRerunPattern),_0x230524={};_0x230524['helpers']=_0x2b82c1;const _0x492911={};_0x492911[_0x25dc41(0x160)]=_0x3f6aec,_0x492911[_0x25dc41(0x19e)]=!![],_0x492911['skipSessionName']=_0x25aa96[_0x25dc41(0x1b3)][_0x25dc41(0x18c)][_0x25dc41(0x1cc)],_0x492911[_0x25dc41(0x178)]=_0x25aa96[_0x25dc41(0x1b3)][_0x25dc41(0x18c)][_0x25dc41(0x178)],_0x492911[_0x25dc41(0x156)]=_0x54839b,_0x492911[_0x25dc41(0x16b)]=_0x123ea2;const _0x9ace47={};_0x9ace47[_0x25dc41(0x180)]=_0x492911;const _0x1404ca={};return _0x1404ca[_0x25dc41(0x152)]=_0x9ace47,helper[_0x25dc41(0x13c)]({},_0x4de40d,_0x4eb764['dsrTC'](isBrowserstackInfra)?_0x230524:{},_0x44429b?{'grep':_0x44429b}:{},_0x1404ca);});for(const _0x177506 of _0x3a1835){for(const _0x220a3a of _0x357ef7){const _0x1345c0=_0x2025a9[_0x1cde8f(0x179)]();_0x1345c0[_0x1cde8f(0x1b0)](_0x220a3a),_0x1345c0[_0x1cde8f(0x172)](_0x177506);const _0xe5951a={};_0xe5951a[_0x1cde8f(0x1b3)]=_0x518198,_0x1345c0['addOptions'](Object['assign'](_0xe5951a,_0x2ec146));}}_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x16d)]['failed'],(_0x2793a7,_0x4958eb)=>{const _0xc4bb0=_0x1cde8f;console[_0xc4bb0(0x1c2)](_0x4eb764[_0xc4bb0(0x16f)],_0x2793a7[_0xc4bb0(0x148)]);const _0x23dec9={[_0x2793a7[_0xc4bb0(0x148)]]:_0x2793a7['err'][_0xc4bb0(0x1a1)]};_testErrorData[_0xc4bb0(0x175)](_0x23dec9);}),_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x16d)][_0x1cde8f(0x1a5)],async _0x3d3e86=>{const _0x4f1ae9=_0x1cde8f;console[_0x4f1ae9(0x1c2)](_0x4eb764[_0x4f1ae9(0x13f)],_0x3d3e86[_0x4f1ae9(0x148)]);}),_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x16d)][_0x1cde8f(0x12f)],async _0x327aa4=>{const _0x301254=_0x1cde8f;console['log'](_0x4eb764[_0x301254(0x1b9)],_0x327aa4[_0x301254(0x148)]);}),_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x150)]['result'],async()=>{const _0x38a75a=_0x1cde8f,_0x26c324=_0x4eb764[_0x38a75a(0x188)][_0x38a75a(0x145)]('|');let _0x2c98b4=0x0;while(!![]){switch(_0x26c324[_0x2c98b4++]){case'0':utilities['finalExecution'](_0x25aa96);continue;case'1':_0x2025a9[_0x38a75a(0x142)]();continue;case'2':try{await TestHubHandler[_0x38a75a(0x18e)]();}catch(_0x102add){logger[_0x38a75a(0x1c1)](_0x38a75a(0x1a4)+util[_0x38a75a(0x185)](_0x102add));}continue;case'3':testOpsHelper[_0x38a75a(0x134)]();continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x38a75a(0x1af)]);continue;case'5':_0x25aa96[_0x38a75a(0x1ac)]=_testErrorData;continue;}break;}});async function _0x138cad(){const _0x29895e=_0x1cde8f;try{await _0x2025a9['bootstrapAll'](),await _0x2025a9[_0x29895e(0x191)]();}finally{process['chdir'](_0x501e30),await _0x2025a9[_0x29895e(0x1ab)]();}}PerformanceTester['end'](PerformanceEvents[_0x1cde8f(0x162)]),_0x4eb764['XHDsV'](_0x138cad);}module[a2_0x22e31a(0x176)]=run;
@@ -1 +1 @@
1
- const a3_0x45db55=a3_0x38cc;(function(_0x9f4bb5,_0x1d1ef0){const _0x3418fb=a3_0x38cc,_0x2e88ab=_0x9f4bb5();while(!![]){try{const _0x5d7c0a=-parseInt(_0x3418fb(0x13b))/0x1*(-parseInt(_0x3418fb(0x160))/0x2)+-parseInt(_0x3418fb(0x15a))/0x3+-parseInt(_0x3418fb(0x153))/0x4+-parseInt(_0x3418fb(0x159))/0x5*(parseInt(_0x3418fb(0x15f))/0x6)+-parseInt(_0x3418fb(0x16a))/0x7+-parseInt(_0x3418fb(0x17d))/0x8*(parseInt(_0x3418fb(0x13a))/0x9)+parseInt(_0x3418fb(0x151))/0xa;if(_0x5d7c0a===_0x1d1ef0)break;else _0x2e88ab['push'](_0x2e88ab['shift']());}catch(_0x2699d3){_0x2e88ab['push'](_0x2e88ab['shift']());}}}(a3_0xf8b5,0x2104f));function a3_0x38cc(_0x3f8043,_0xeadb74){const _0xf8b5c4=a3_0xf8b5();return a3_0x38cc=function(_0x38cce9,_0xe3ce66){_0x38cce9=_0x38cce9-0x138;let _0x491617=_0xf8b5c4[_0x38cce9];return _0x491617;},a3_0x38cc(_0x3f8043,_0xeadb74);}const {isUndefined,nestedKeyValue}=require(a3_0x45db55(0x17b)),logger=require('../../helpers/logger')[a3_0x45db55(0x180)],PlaywrightSessionDetails=require(a3_0x45db55(0x161)),{isAccessibilityAutomationSession}=require(a3_0x45db55(0x17e)),{getObservabilityLinkedProductName}=require(a3_0x45db55(0x170)),accessibilityHelper=require(a3_0x45db55(0x17e)),{isBrowserstackInfra}=require('../../helpers/helper'),getOSVersionFromCaps=_0x31994e=>{const _0x1d2bea=a3_0x45db55,_0x3fa25d={};_0x3fa25d['MYoZJ']=_0x1d2bea(0x166),_0x3fa25d[_0x1d2bea(0x176)]=_0x1d2bea(0x162),_0x3fa25d['nibjr']=_0x1d2bea(0x188),_0x3fa25d['atrMR']=_0x1d2bea(0x154),_0x3fa25d[_0x1d2bea(0x171)]=_0x1d2bea(0x14a);const _0x4e31c6=_0x3fa25d;if(!_0x31994e)return null;const _0x3e5f0f=_0x31994e[_0x4e31c6['MYoZJ']],_0x96f80d=[_0x4e31c6[_0x1d2bea(0x176)],_0x4e31c6[_0x1d2bea(0x14c)],_0x4e31c6[_0x1d2bea(0x147)],_0x4e31c6[_0x1d2bea(0x171)]];for(const _0xeb2c2a of _0x96f80d){if(_0x3e5f0f&&_0x3e5f0f[_0xeb2c2a])return _0x3e5f0f[_0xeb2c2a];else{if(_0x31994e[_0xeb2c2a])return _0x31994e[_0xeb2c2a];}}return null;};function a3_0xf8b5(){const _0x498d76=['osVersion','WebDriver','browser','\x20or\x20higher\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','15nFBgBO','573033BRmKtO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','bVjZV','mNCIl','parse','405780FSaGBk','2KzquJh','../../bin/playwright/sessionDetails','platformVersion','DttUM','string','isBrowserSupportedForAccessibility','bstack:options','getBrowserDisplayName','latest','YyYzi','376117VdOGGD','NMFPv','browserName','ONhjR','sKQBN','name','../../helpers/test-observability/utils','umZKa','ccTsS','sessionId','XXjyH','__cloud_provider___','EOcYr','wJQtm','processWebDriverConfig','lJVfz','nlbiq','../../helpers/helper','rLoiz','30552WagBrp','../../helpers/accessibility-automation/helper','cloudProvider','winstonLogger','gerHj','EXbjJ','\x20browser\x20version\x20','accessibilityPlatform','unknown_grid','constructor','desiredCapabilities','platform_version','CbJgF','caps','369qHIBbx','98377CCjczP','YSdPL','CfhGo','capabilities','platform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','nwBBs','getDetails','yKNzz','browserstack_executor','includes','browserWSEndpoint','atrMR','warn','qGHEY','os_version','wLfoX','nibjr','BUCvQ','browser_version','UxMIu','fetchPlatformDetails','9032160wZRMcZ','browserVersion','1048540KuuwGV'];a3_0xf8b5=function(){return _0x498d76;};return a3_0xf8b5();}exports[a3_0x45db55(0x150)]=_0x245174=>{const _0x38ade1=a3_0x45db55,_0x2da58e={'rLoiz':_0x38ade1(0x185),'YyYzi':function(_0x379a1a,_0x18574b){return _0x379a1a===_0x18574b;},'DttUM':_0x38ade1(0x155),'ccTsS':function(_0x4f00d1,_0x1b0c2b){return _0x4f00d1(_0x1b0c2b);},'CbJgF':function(_0x775b14,_0x5c6231,_0x13c93c){return _0x775b14(_0x5c6231,_0x13c93c);},'NMFPv':'config','nwBBs':_0x38ade1(0x187),'ONhjR':function(_0x14413a,_0x321430){return _0x14413a(_0x321430);},'EXbjJ':function(_0x337dc0,_0x2fcc74){return _0x337dc0===_0x2fcc74;},'bVjZV':'Playwright','YSdPL':_0x38ade1(0x156),'lJVfz':_0x38ade1(0x146),'XXjyH':_0x38ade1(0x139),'gerHj':function(_0x15a5af,_0x3b24f3){return _0x15a5af(_0x3b24f3);}};if(!_0x245174)return null;let _0x1d90c1=global[_0x38ade1(0x175)]||_0x2da58e[_0x38ade1(0x17c)];if(_0x2da58e[_0x38ade1(0x169)](_0x245174[_0x38ade1(0x186)]['name'],_0x2da58e[_0x38ade1(0x163)])){const _0x3164a9=_0x245174[_0x38ade1(0x156)];if(!_0x3164a9)return null;const _0x44868e=_0x3164a9['capabilities'],_0x22413f=_0x2da58e[_0x38ade1(0x172)](getOSVersionFromCaps,_0x2da58e[_0x38ade1(0x138)](nestedKeyValue,_0x245174,[_0x2da58e[_0x38ade1(0x16b)],_0x2da58e[_0x38ade1(0x141)]]));return{[_0x1d90c1]:{'browser':_0x44868e['browserName'],'browser_version':_0x44868e[_0x38ade1(0x152)],'capabilities':_0x44868e,'platform':_0x44868e['platformName'],'platform_version':_0x44868e['platformVersion']||_0x22413f,'product':_0x2da58e[_0x38ade1(0x16d)](getObservabilityLinkedProductName,_0x44868e),'session_id':_0x3164a9[_0x38ade1(0x173)]}};}else{if(_0x2da58e[_0x38ade1(0x182)](_0x245174['constructor'][_0x38ade1(0x16f)],_0x2da58e[_0x38ade1(0x15c)])){const _0xb6a367=PlaywrightSessionDetails[_0x38ade1(0x142)]();_0x1d90c1=_0xb6a367[_0x38ade1(0x17f)]||_0x1d90c1;const _0x12e32e=_0x2da58e[_0x38ade1(0x138)](nestedKeyValue,_0x245174,[_0x2da58e['NMFPv'],_0x2da58e[_0x38ade1(0x13c)],_0x2da58e[_0x38ade1(0x179)]]),_0x34099e=_0x12e32e?JSON[_0x38ade1(0x15e)](new URL(_0x12e32e)['searchParams']['get'](_0x2da58e[_0x38ade1(0x174)])):{};return{[_0x1d90c1]:{'browser':_0xb6a367[_0x38ade1(0x156)]||_0x34099e[_0x38ade1(0x16c)],'browser_version':_0xb6a367['browser_version']||_0x34099e[_0x38ade1(0x14e)],'capabilities':_0x34099e,'platform':_0xb6a367[_0x38ade1(0x13f)],'platform_version':_0xb6a367['platform_version'],'product':_0x2da58e[_0x38ade1(0x181)](getObservabilityLinkedProductName,_0x34099e),'session_id':_0xb6a367['bsSessionId']}};}}},exports[a3_0x45db55(0x178)]=_0x4e9892=>{const _0x18e86b=a3_0x45db55,_0x151453={'BUCvQ':function(_0x21ac5f){return _0x21ac5f();},'mNCIl':_0x18e86b(0x15b),'nlbiq':function(_0x3bd824,_0x36562b){return _0x3bd824!==_0x36562b;},'UvcCL':_0x18e86b(0x168),'yKNzz':'on\x20non-BrowserStack\x20infrastructure\x20','UxMIu':function(_0x2fdcf3,_0xe090dc){return _0x2fdcf3(_0xe090dc);},'qGHEY':_0x18e86b(0x158)};if(_0x151453[_0x18e86b(0x14d)](isAccessibilityAutomationSession)){const _0x27548a=_0x4e9892[_0x18e86b(0x156)],_0x1deb45=_0x27548a[_0x18e86b(0x13e)];global[_0x18e86b(0x184)]=!![];!accessibilityHelper[_0x18e86b(0x165)](_0x1deb45[_0x18e86b(0x16c)])&&(logger['warn'](_0x151453[_0x18e86b(0x15d)]),global[_0x18e86b(0x184)]=![]);if(_0x151453[_0x18e86b(0x17a)](_0x1deb45[_0x18e86b(0x152)],_0x151453['UvcCL'])){const _0x120d70=_0x151453[_0x18e86b(0x14d)](isBrowserstackInfra),_0x15ed54=accessibilityHelper['getMinVersionForBrowser'](_0x1deb45[_0x18e86b(0x16c)],_0x120d70),_0x20d0b4=accessibilityHelper[_0x18e86b(0x167)](_0x1deb45[_0x18e86b(0x16c)]);if(!accessibilityHelper['isVersionSupported'](_0x1deb45[_0x18e86b(0x152)],_0x15ed54)){const _0x3e1b4b=_0x120d70?'':_0x151453[_0x18e86b(0x143)];logger['warn'](_0x18e86b(0x140)+_0x20d0b4+_0x18e86b(0x183)+_0x15ed54+_0x18e86b(0x157)+_0x3e1b4b+'.'),global[_0x18e86b(0x184)]=![];}}!_0x151453[_0x18e86b(0x14f)](isUndefined,_0x1deb45['deviceName'])&&(logger[_0x18e86b(0x148)](_0x151453[_0x18e86b(0x149)]),global[_0x18e86b(0x184)]=![]);}},exports['shouldPatchExecuteScript']=_0x4b333e=>{const _0x5c6733=a3_0x45db55,_0xad0524={};_0xad0524['CfhGo']=function(_0x5967b7,_0x494dfd){return _0x5967b7!==_0x494dfd;},_0xad0524[_0x5c6733(0x16e)]=_0x5c6733(0x164),_0xad0524[_0x5c6733(0x177)]=_0x5c6733(0x144),_0xad0524[_0x5c6733(0x14b)]='browserstack_accessibility_automation_script';const _0x2961c1=_0xad0524;if(!_0x4b333e)return![];else{if(_0x2961c1[_0x5c6733(0x13d)](typeof _0x4b333e,_0x2961c1[_0x5c6733(0x16e)]))return!![];}return!_0x4b333e[_0x5c6733(0x145)](_0x2961c1[_0x5c6733(0x177)])&&!_0x4b333e[_0x5c6733(0x145)](_0x2961c1['wLfoX']);};
1
+ const a3_0x45d76b=a3_0x49b7;function a3_0x49b7(_0x2e510a,_0x4d354c){const _0x4e8a34=a3_0x4e8a();return a3_0x49b7=function(_0x49b75c,_0xaa671e){_0x49b75c=_0x49b75c-0x1b8;let _0x26f2a3=_0x4e8a34[_0x49b75c];return _0x26f2a3;},a3_0x49b7(_0x2e510a,_0x4d354c);}(function(_0x58465d,_0x33c306){const _0x4056c0=a3_0x49b7,_0x16aa57=_0x58465d();while(!![]){try{const _0x2d3fb6=parseInt(_0x4056c0(0x1f2))/0x1*(parseInt(_0x4056c0(0x1f6))/0x2)+parseInt(_0x4056c0(0x1c2))/0x3*(-parseInt(_0x4056c0(0x1d9))/0x4)+parseInt(_0x4056c0(0x1ec))/0x5*(-parseInt(_0x4056c0(0x1bc))/0x6)+parseInt(_0x4056c0(0x1f7))/0x7+parseInt(_0x4056c0(0x1c1))/0x8*(parseInt(_0x4056c0(0x1fc))/0x9)+parseInt(_0x4056c0(0x1c8))/0xa*(parseInt(_0x4056c0(0x1e5))/0xb)+-parseInt(_0x4056c0(0x1fb))/0xc;if(_0x2d3fb6===_0x33c306)break;else _0x16aa57['push'](_0x16aa57['shift']());}catch(_0x5d4722){_0x16aa57['push'](_0x16aa57['shift']());}}}(a3_0x4e8a,0xd14d4));const {isUndefined,nestedKeyValue}=require(a3_0x45d76b(0x207)),logger=require(a3_0x45d76b(0x1c3))[a3_0x45d76b(0x1c4)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x45d76b(0x1ee)),{getObservabilityLinkedProductName}=require(a3_0x45d76b(0x1c6)),accessibilityHelper=require(a3_0x45d76b(0x1ee)),{isBrowserstackInfra}=require(a3_0x45d76b(0x207)),getOSVersionFromCaps=_0x5216ad=>{const _0x14a73a=a3_0x45d76b,_0xfe7650={};_0xfe7650[_0x14a73a(0x1db)]=_0x14a73a(0x1e7),_0xfe7650['uzxXo']=_0x14a73a(0x1d6),_0xfe7650[_0x14a73a(0x209)]='platform_version',_0xfe7650[_0x14a73a(0x1f5)]=_0x14a73a(0x1c0),_0xfe7650[_0x14a73a(0x203)]='os_version';const _0x42a272=_0xfe7650;if(!_0x5216ad)return null;const _0x3e3b82=_0x5216ad[_0x42a272[_0x14a73a(0x1db)]],_0x247655=[_0x42a272[_0x14a73a(0x1e6)],_0x42a272['clwqJ'],_0x42a272[_0x14a73a(0x1f5)],_0x42a272[_0x14a73a(0x203)]];for(const _0x26bc2a of _0x247655){if(_0x3e3b82&&_0x3e3b82[_0x26bc2a])return _0x3e3b82[_0x26bc2a];else{if(_0x5216ad[_0x26bc2a])return _0x5216ad[_0x26bc2a];}}return null;};function a3_0x4e8a(){const _0x422a0d=['desiredCapabilities','AnbrV','browserName','shouldPatchExecuteScript','kYGog','NnQCt','PvEtd','fetchPlatformDetails','constructor','145101NSIOYx','uzxXo','bstack:options','LzAMT','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','isVersionSupported','5jWmjBn','kPJFR','../../helpers/accessibility-automation/helper','tDkEj','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','browser','16625ZvdkTB','get','includes','armEt','86gKAsnr','5888526kHxLFp','Jjrmh','IniOT','on\x20non-BrowserStack\x20infrastructure\x20','488784eBQmzE','1524051lqiIvB','sotJX','browserstack_accessibility_automation_script','capabilities','isBrowserSupportedForAccessibility','pytMe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','xDjjv','ZyrDr','processWebDriverConfig','sessionId','../../helpers/helper','accessibilityPlatform','clwqJ','NOSkq','\x20or\x20higher\x20','caps','config','name','platform','browser_version','6331398rvVTSZ','platform_version','platformName','warn','osVersion','8DBDGhf','4296RlqqYR','../../helpers/logger','winstonLogger','BzSKW','../../helpers/test-observability/utils','pRIcI','950IGUekI','mHwXh','qPffg','browserVersion','getMinVersionForBrowser','WebDriver','Playwright','cloudProvider','parse','fVoYJ','FXLDw','string','__cloud_provider___','XygwI','platformVersion','browserWSEndpoint','CUfpV','2864jzdwUZ','FXPsi','iYMRl'];a3_0x4e8a=function(){return _0x422a0d;};return a3_0x4e8a();}exports[a3_0x45d76b(0x1e3)]=_0x35ee7d=>{const _0x1bef45=a3_0x45d76b,_0x1fdcb8={'FXPsi':'unknown_grid','FXLDw':function(_0x454683,_0x2329c5){return _0x454683===_0x2329c5;},'CUfpV':_0x1bef45(0x1cd),'kPJFR':function(_0x137c65,_0x19681c){return _0x137c65(_0x19681c);},'pRIcI':function(_0x19b5e3,_0x1e950f,_0x1075a1){return _0x19b5e3(_0x1e950f,_0x1075a1);},'BzSKW':_0x1bef45(0x1b8),'NnQCt':_0x1bef45(0x1dc),'tDkEj':function(_0x585f7b,_0x208bce){return _0x585f7b(_0x208bce);},'mHwXh':_0x1bef45(0x1ce),'LzAMT':'browser','sotJX':_0x1bef45(0x1d7),'XygwI':_0x1bef45(0x20c)};if(!_0x35ee7d)return null;let _0x20d4cf=global[_0x1bef45(0x1d4)]||_0x1fdcb8[_0x1bef45(0x1da)];if(_0x1fdcb8['FXLDw'](_0x35ee7d[_0x1bef45(0x1e4)][_0x1bef45(0x1b9)],_0x1fdcb8[_0x1bef45(0x1d8)])){const _0x20279d=_0x35ee7d[_0x1bef45(0x1f1)];if(!_0x20279d)return null;const _0x4ac7c9=_0x20279d[_0x1bef45(0x1ff)],_0x2ecabf=_0x1fdcb8[_0x1bef45(0x1ed)](getOSVersionFromCaps,_0x1fdcb8[_0x1bef45(0x1c7)](nestedKeyValue,_0x35ee7d,[_0x1fdcb8[_0x1bef45(0x1c5)],_0x1fdcb8[_0x1bef45(0x1e1)]]));return{[_0x20d4cf]:{'browser':_0x4ac7c9['browserName'],'browser_version':_0x4ac7c9[_0x1bef45(0x1cb)],'capabilities':_0x4ac7c9,'platform':_0x4ac7c9[_0x1bef45(0x1be)],'platform_version':_0x4ac7c9[_0x1bef45(0x1d6)]||_0x2ecabf,'product':_0x1fdcb8[_0x1bef45(0x1ef)](getObservabilityLinkedProductName,_0x4ac7c9),'session_id':_0x20279d[_0x1bef45(0x206)]}};}else{if(_0x1fdcb8[_0x1bef45(0x1d2)](_0x35ee7d[_0x1bef45(0x1e4)][_0x1bef45(0x1b9)],_0x1fdcb8[_0x1bef45(0x1c9)])){const _0x560a51=PlaywrightSessionDetails['getDetails']();_0x20d4cf=_0x560a51[_0x1bef45(0x1cf)]||_0x20d4cf;const _0x12a3cb=_0x1fdcb8[_0x1bef45(0x1c7)](nestedKeyValue,_0x35ee7d,[_0x1fdcb8[_0x1bef45(0x1c5)],_0x1fdcb8[_0x1bef45(0x1e8)],_0x1fdcb8[_0x1bef45(0x1fd)]]),_0x1384ce=_0x12a3cb?JSON[_0x1bef45(0x1d0)](new URL(_0x12a3cb)['searchParams'][_0x1bef45(0x1f3)](_0x1fdcb8[_0x1bef45(0x1d5)])):{};return{[_0x20d4cf]:{'browser':_0x560a51['browser']||_0x1384ce[_0x1bef45(0x1de)],'browser_version':_0x560a51[_0x1bef45(0x1bb)]||_0x1384ce['browser_version'],'capabilities':_0x1384ce,'platform':_0x560a51[_0x1bef45(0x1ba)],'platform_version':_0x560a51[_0x1bef45(0x1bd)],'product':_0x1fdcb8[_0x1bef45(0x1ef)](getObservabilityLinkedProductName,_0x1384ce),'session_id':_0x560a51['bsSessionId']}};}}},exports[a3_0x45d76b(0x205)]=_0x5b9df8=>{const _0x4c5da3=a3_0x45d76b,_0x23eb53={'fVoYJ':function(_0x324be1){return _0x324be1();},'ZyrDr':_0x4c5da3(0x1f0),'PvEtd':function(_0x260b05,_0x159f91){return _0x260b05!==_0x159f91;},'IniOT':'latest','qPffg':_0x4c5da3(0x1fa),'vZRpm':function(_0x463b79,_0x1d7133){return _0x463b79(_0x1d7133);},'kYGog':_0x4c5da3(0x202)};if(_0x23eb53[_0x4c5da3(0x1d1)](isAccessibilityAutomationSession)){const _0x1b3ad3=_0x5b9df8[_0x4c5da3(0x1f1)],_0x3952cd=_0x1b3ad3['capabilities'];global[_0x4c5da3(0x208)]=!![];!accessibilityHelper[_0x4c5da3(0x200)](_0x3952cd[_0x4c5da3(0x1de)])&&(logger['warn'](_0x23eb53[_0x4c5da3(0x204)]),global[_0x4c5da3(0x208)]=![]);if(_0x23eb53[_0x4c5da3(0x1e2)](_0x3952cd[_0x4c5da3(0x1cb)],_0x23eb53[_0x4c5da3(0x1f9)])){const _0x3c013c=_0x23eb53[_0x4c5da3(0x1d1)](isBrowserstackInfra),_0x3f91bb=accessibilityHelper[_0x4c5da3(0x1cc)](_0x3952cd['browserName'],_0x3c013c),_0x50c72a=accessibilityHelper['getBrowserDisplayName'](_0x3952cd[_0x4c5da3(0x1de)]);if(!accessibilityHelper[_0x4c5da3(0x1eb)](_0x3952cd[_0x4c5da3(0x1cb)],_0x3f91bb)){const _0x5a422a=_0x3c013c?'':_0x23eb53[_0x4c5da3(0x1ca)];logger[_0x4c5da3(0x1bf)](_0x4c5da3(0x1ea)+_0x50c72a+'\x20browser\x20version\x20'+_0x3f91bb+_0x4c5da3(0x20b)+_0x5a422a+'.'),global[_0x4c5da3(0x208)]=![];}}!_0x23eb53['vZRpm'](isUndefined,_0x3952cd[_0x4c5da3(0x1e9)])&&(logger[_0x4c5da3(0x1bf)](_0x23eb53[_0x4c5da3(0x1e0)]),global[_0x4c5da3(0x208)]=![]);}},exports[a3_0x45d76b(0x1df)]=_0x5e83a6=>{const _0x3b55ff=a3_0x45d76b,_0x5c2ecd={};_0x5c2ecd['Jjrmh']=function(_0x2834e9,_0x46f024){return _0x2834e9!==_0x46f024;},_0x5c2ecd[_0x3b55ff(0x201)]=_0x3b55ff(0x1d3),_0x5c2ecd['NOSkq']='browserstack_executor',_0x5c2ecd['AnbrV']=_0x3b55ff(0x1fe);const _0x49c15f=_0x5c2ecd;if(!_0x5e83a6)return![];else{if(_0x49c15f[_0x3b55ff(0x1f8)](typeof _0x5e83a6,_0x49c15f['pytMe']))return!![];}return!_0x5e83a6[_0x3b55ff(0x1f4)](_0x49c15f[_0x3b55ff(0x20a)])&&!_0x5e83a6[_0x3b55ff(0x1f4)](_0x49c15f[_0x3b55ff(0x1dd)]);};
@@ -1 +1 @@
1
- const a4_0x20f0c9=a4_0x212a;function a4_0xdb29(){const _0x13b35b=['wefYo','TEST_REPORTING_ANALYTICS','appendTestItemLog','concat','success','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','exports','1010qxrnMV','logs','_afterEach','dqkbf','relative','mapTestHooks','YPwpN','event_type','dNjUl','tQSzw','util','stop','comment','find','xaBkO','_paths','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','../playwright/accessibility-helper','../../helpers/test-observability/sessionHandler','rejcm','ogBvA','166305rWlJBd','./helper.js','status','wsEndpoint','defineProperty','AqaaK','feature','patchConsoleLogger','0|1|5|3|2|4','retryOf','join','backtrace','2870216eRsgcG','OIbmc','CWuIR','testAnalyticsId','startedAt','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','REgwd','TEST_RUN_FINISHED','failed','forEach','passed','integrations','includes','TestRunFinished','oUwzz','lib','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','yymXS','toString','DYtBO','getCBTInfo','bind','WIXGw','frameworkName','_beforeEach','TDGtM','ccmno','currentHook','stringify','obsBrowserTypeMockApplied','wTRjB','codeceptjs','BTNRX','replace','uLnPG','bddSteps','parent','riPZm','path','svqtY','DKnNC','YzZoP','../../helpers/test-observability/utils','groups','../../helpers/helper','qlXHy','getHierarchy','removeAllListeners','apply','err','__cloud_provider___','GEcUz','690561ccICeJ','match','../../helpers/test-observability/constants','_beforeAll','test','mozON','inspect','1252128LpFqbl','hook','title','bqXtw','PathHelper','test_run','WUNUN','failure_reason_expanded','wsqrn','KplCU','client','getFailureType','length','tags','meta','STATE_FAILED','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','file_name','browserstack','failure_backtrace','driver','\x20with\x20error\x20:\x20','oauGM','TEST_RUN_SKIPPED','suites','../mocha/test-observability/mochaUtils','message','2tncOFR','debug','keyword','hookAnalyticsId','27EquMip','getTime','AWRYV','File\x20path\x20could\x20not\x20be\x20found','SYbVm','config','_afterAll','getHooksForTest','PgkqD','wbRxh','split','toISOString','currentTest','stepAnalyticsId','3554677HrpJrG','resetSkipTestHooks','HOOK_RUN_STARTED','Jjwet','name','xPcNI','VvlJk','UKSgL','OjFcC','PqqRS','CBTSessionCreated','GTxSB','UDmsl','tTTVe','uuid','text','DbaaH','TEST_EVENTS','pbVxA','UNusR','fullTitle','Not\x20able\x20to\x20import\x20Browser','dirname','ctx','start','file','hook_run','finished','__platformCaps','mkjis','LZngD','browserType.js','dRWhC','jltZi','bs:addLog:','CTfUc','sendCBTInfo','duration','HookRunFinished','../../helpers/logger','TestRunStarted','DjbtU','enabled','push','string','HookRunStarted','1986qEHoWJ','errorsDetailed','hook_run_uuid','shutdown','finished_at','_testEnv','hook_type','gvzGb','initializeBddStep','uploadEventData','started','oumbL','now','AGTEO','expanded','YpXmP','ZyjtE','test_run_uuid','location_prefix','markedStatus','IIkqk','launch','getHookType','pid','hooks','then','failure','EQOtv','LmrBD','failed\x20to\x20get\x20root\x20parent\x20file\x20','type','captureEvent','fireEvent','6266990OlYvOC','edzIT','connect','kxrdI','getRootParentFile','CODECEPT','STATE_PASSED','prefixTestPath','skipped','Playwright','../utils/constants','findGitConfig','aPHNX','HOOK_RUN_FINISHED','sep','oTUJf','connectOverCDP','YDmQz','pending','dCezF','rpvQi','../../helpers/test-observability/requestQueueHandler','toLowerCase','accessibilityPlatform','toUpperCase','bddStepStart','cwd','setupBrowserDetails','IReyb','result'];a4_0xdb29=function(){return _0x13b35b;};return a4_0xdb29();}(function(_0x2a397e,_0x365cce){const _0xbe2099=a4_0x212a,_0x310cff=_0x2a397e();while(!![]){try{const _0x390b02=parseInt(_0xbe2099(0x172))/0x1+parseInt(_0xbe2099(0xd7))/0x2*(-parseInt(_0xbe2099(0xb5))/0x3)+-parseInt(_0xbe2099(0x81))/0x4+parseInt(_0xbe2099(0x15d))/0x5*(-parseInt(_0xbe2099(0x117))/0x6)+-parseInt(_0xbe2099(0xe9))/0x7+-parseInt(_0xbe2099(0xbc))/0x8+-parseInt(_0xbe2099(0xdb))/0x9*(-parseInt(_0xbe2099(0x138))/0xa);if(_0x390b02===_0x365cce)break;else _0x310cff['push'](_0x310cff['shift']());}catch(_0x1e2883){_0x310cff['push'](_0x310cff['shift']());}}}(a4_0xdb29,0x59b70));const path=require(a4_0x20f0c9(0xa7)),fs=require('fs'),{v4:uuidv4}=require(a4_0x20f0c9(0xf7)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x20f0c9(0xad)),testOpsHelper=require(a4_0x20f0c9(0xab)),{getTestEnv}=require(a4_0x20f0c9(0xd5)),{FRAMEWORKS}=require(a4_0x20f0c9(0xb7)),logger=require(a4_0x20f0c9(0x110))['winstonLogger'],SessionHandler=require(a4_0x20f0c9(0x16f)),RequestQueueHandler=require(a4_0x20f0c9(0x14d)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x20f0c9(0xd8)],{processAccessibilityCaps}=require(a4_0x20f0c9(0x16e)),Constants=require(a4_0x20f0c9(0x142)),{fetchPlatformDetails}=require(a4_0x20f0c9(0x173)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x20f0c9(0x142)),STATE_PASSED=a4_0x20f0c9(0x8b),STATE_FAILED=a4_0x20f0c9(0x89),a4_0x183179={};a4_0x183179['TEST_RUN_STARTED']=a4_0x20f0c9(0x111),a4_0x183179[a4_0x20f0c9(0x88)]=a4_0x20f0c9(0x8e),a4_0x183179[a4_0x20f0c9(0xd3)]='TestRunSkipped',a4_0x183179[a4_0x20f0c9(0xeb)]=a4_0x20f0c9(0x116),a4_0x183179[a4_0x20f0c9(0x145)]=a4_0x20f0c9(0x10f);const TEST_EVENTS=a4_0x183179,parseEvent=_0x53a29a=>{const _0x5123d1=a4_0x20f0c9,_0x15b323={};_0x15b323[_0x5123d1(0xdd)]=function(_0x153034,_0x1fe3fa){return _0x153034<_0x1fe3fa;},_0x15b323['qlXHy']=function(_0x52e8bf,_0x2b8826){return _0x52e8bf===_0x2b8826;},_0x15b323[_0x5123d1(0x144)]='test',_0x15b323[_0x5123d1(0x87)]=function(_0x201276,_0x28e27a){return _0x201276===_0x28e27a;},_0x15b323['DbaaH']=_0x5123d1(0xbd),_0x15b323['oUwzz']=function(_0x3760a5,_0x162817){return _0x3760a5===_0x162817;},_0x15b323[_0x5123d1(0xa8)]=_0x5123d1(0x140),_0x15b323['YPwpN']=function(_0x3008ed,_0x21a7d0){return _0x3008ed===_0x21a7d0;},_0x15b323[_0x5123d1(0x154)]=_0x5123d1(0x121),_0x15b323[_0x5123d1(0xf1)]=_0x5123d1(0x104);const _0x317398=_0x15b323,_0x2852ce=_0x53a29a[_0x5123d1(0xb6)](/^(.*)Run(.*)$/);if(!_0x2852ce)return null;if(_0x317398[_0x5123d1(0xdd)](_0x2852ce[_0x5123d1(0xc8)],0x3))return null;const _0x3489c2=_0x2852ce[0x1]['toLowerCase'](),_0x2d8f0c=_0x2852ce[0x2][_0x5123d1(0x14e)]();return{'test':_0x317398[_0x5123d1(0xae)](_0x3489c2,_0x317398[_0x5123d1(0x144)]),'hook':_0x317398[_0x5123d1(0x87)](_0x3489c2,_0x317398[_0x5123d1(0xf9)]),'skipped':_0x317398[_0x5123d1(0x8f)](_0x2d8f0c,_0x317398['svqtY']),'started':_0x317398[_0x5123d1(0x163)](_0x2d8f0c,_0x317398[_0x5123d1(0x154)]),'finished':_0x317398[_0x5123d1(0x87)](_0x2d8f0c,_0x317398[_0x5123d1(0xf1)])};},mockPWBrowserType=_0x314321=>{const _0x498d0d=a4_0x20f0c9,_0x2da76f={'DYtBO':function(_0x50fc9b,_0x4ceb1a){return _0x50fc9b===_0x4ceb1a;},'qtbmD':_0x498d0d(0x115),'ccmno':function(_0x1d17fa,_0x37c189,_0x32b73e){return _0x1d17fa(_0x37c189,_0x32b73e);},'hOXMH':_0x498d0d(0x175),'rpvQi':function(_0x4ad691,_0x564f83){return _0x4ad691(_0x564f83);},'BQBjq':_0x498d0d(0xce),'tYQUV':_0x498d0d(0x90),'jltZi':_0x498d0d(0xc6),'wbRxh':_0x498d0d(0x108),'wefYo':function(_0x2fe1de,_0xe0f205){return _0x2fe1de(_0xe0f205);},'GEcUz':function(_0x5f569d,_0x1fa8be){return _0x5f569d(_0x1fa8be);},'POFWp':_0x498d0d(0xfe),'VvlJk':_0x498d0d(0x13a),'WUNUN':_0x498d0d(0x12c)},_0x431d88=path[_0x498d0d(0x7f)](_0x2da76f['tYQUV'],_0x2da76f[_0x498d0d(0x10a)],_0x2da76f[_0x498d0d(0xe4)]),_0x409854=_0x2da76f[_0x498d0d(0x156)](importFileFromPWCore,_0x431d88);if(!_0x409854){_0x2da76f[_0x498d0d(0xb4)](debug,_0x2da76f['POFWp']);return;}const _0x5cb057=_0x409854['BrowserType'],_0x9d04ff=_0x5cb057['prototype'];if(_0x9d04ff[_0x498d0d(0x9e)])return;const _0x2c2036=_0x9d04ff[_0x498d0d(0x13a)];Object[_0x498d0d(0x176)](_0x9d04ff,_0x2da76f[_0x498d0d(0xef)],{'get':function(){const _0x5db577={'tYAYv':function(_0x105f8b,_0x24a34f){const _0x36ccc4=a4_0x212a;return _0x2da76f[_0x36ccc4(0x94)](_0x105f8b,_0x24a34f);},'Jjwet':_0x2da76f['qtbmD'],'kxrdI':function(_0x5d7451,_0x5bfe56,_0x23f46a){const _0x43f07c=a4_0x212a;return _0x2da76f[_0x43f07c(0x9b)](_0x5d7451,_0x5bfe56,_0x23f46a);},'dRWhC':_0x2da76f['hOXMH'],'wTRjB':function(_0x204819,_0x4e6643){const _0x1303cb=a4_0x212a;return _0x2da76f[_0x1303cb(0x14c)](_0x204819,_0x4e6643);},'puVFF':_0x2da76f['BQBjq']};return async function _0x438b09(_0x4c4ed3,_0x55c00d){const _0x191d37=a4_0x212a,_0x18ed43={'xaBkO':function(_0x206453,_0x2c0c8e){return _0x5db577['tYAYv'](_0x206453,_0x2c0c8e);},'tQSzw':_0x5db577[_0x191d37(0xec)]},_0x519560=_0x5db577[_0x191d37(0x13b)](nestedKeyValue,_0x4c4ed3,[_0x5db577[_0x191d37(0x109)]])||_0x4c4ed3;let _0x52f204=null,_0x21edea=null;try{[_0x21edea,_0x52f204]=_0x519560?_0x5db577['wTRjB'](parseWSEndpoint,_0x519560):[null,null],global[_0x191d37(0x105)]=_0x52f204,logger[_0x191d37(0xd8)](_0x191d37(0x16d)+_0x21edea),_0x21edea[_0x191d37(0x8d)](Constants['BROWSERSTACK'])&&(global[_0x191d37(0xb3)]=_0x5db577['puVFF']);}catch(_0x2b0014){logger[_0x191d37(0xd8)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x519560+'\x20'+_0x2b0014);}_0x5db577[_0x191d37(0x13b)](processAccessibilityCaps,_0x52f204,_0x21edea);if(global[_0x191d37(0x14f)]){const _0x842575=await _0x9d04ff[_0x191d37(0x148)][_0x191d37(0xb1)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x5db577[_0x191d37(0x9f)](encodeURIComponent,JSON[_0x191d37(0x9d)](_0x52f204))]);return PlaywrightSessionDetails[_0x191d37(0x153)](_0x842575,_0x314321,_0x519560),_0x842575;}return _0x2c2036[_0x191d37(0xb1)](this,arguments)[_0x191d37(0x130)](_0x4e9e9d=>{const _0x41cc07=_0x191d37;let _0x20cd30=_0x4c4ed3[_0x41cc07(0x175)];return _0x18ed43[_0x41cc07(0x16b)](typeof _0x4c4ed3,_0x18ed43[_0x41cc07(0x166)])&&(_0x20cd30=_0x4c4ed3),PlaywrightSessionDetails[_0x41cc07(0x153)](_0x4e9e9d,_0x314321,_0x20cd30),_0x4e9e9d;});};}});const _0x250a87=_0x9d04ff[_0x498d0d(0x12c)];Object[_0x498d0d(0x176)](_0x9d04ff,_0x2da76f[_0x498d0d(0xc2)],{'get':function(){return async function _0x5260be(){return _0x250a87['apply'](this,arguments)['then'](_0xe082a4=>{const _0x511c98=a4_0x212a;return PlaywrightSessionDetails[_0x511c98(0x153)](_0xe082a4,null),_0xe082a4;});};}});};class O11yHelper{[a4_0x20f0c9(0xe7)]=null;[a4_0x20f0c9(0x9c)]=null;[a4_0x20f0c9(0x113)]=![];[a4_0x20f0c9(0x98)]=![];constructor(_0x1dcafa,_0x2d0840){const _0x17d875=a4_0x20f0c9,_0x8975f2={'XhZgV':_0x17d875(0x7d),'PgkqD':function(_0x5f5274){return _0x5f5274();},'edzIT':function(_0x59beca,_0x479845){return _0x59beca===_0x479845;},'LmrBD':_0x17d875(0x141),'OIbmc':function(_0x18ab61,_0x5abe2f){return _0x18ab61(_0x5abe2f);}},_0x5e08d7=_0x8975f2['XhZgV'][_0x17d875(0xe5)]('|');let _0x5b8214=0x0;while(!![]){switch(_0x5e08d7[_0x5b8214++]){case'0':this[_0x17d875(0x113)]=_0x8975f2[_0x17d875(0xe3)](shouldProcessEventForTesthub);continue;case'1':this[_0x17d875(0x98)]=_0x2d0840[_0x17d875(0x98)];continue;case'2':this[_0x17d875(0x16c)]=new testOpsHelper[(_0x17d875(0xc0))]({'cwd':process[_0x17d875(0x152)]()},this[_0x17d875(0x11c)][_0x17d875(0x129)]);continue;case'3':this[_0x17d875(0x11c)]=_0x8975f2[_0x17d875(0xe3)](getTestEnv);continue;case'4':this['driver']&&_0x8975f2[_0x17d875(0x139)](this[_0x17d875(0xd0)]['constructor'][_0x17d875(0xed)],_0x8975f2[_0x17d875(0x133)])&&_0x8975f2[_0x17d875(0x82)](mockPWBrowserType,null);continue;case'5':this[_0x17d875(0xd0)]=_0x1dcafa;continue;}break;}}[a4_0x20f0c9(0x101)](){const _0x245081=a4_0x20f0c9;if(!this[_0x245081(0x113)])return;testOpsHelper[_0x245081(0x7c)](),process[_0x245081(0xb0)]('bs:addLog:'+process[_0x245081(0x12e)]),process['on'](_0x245081(0x10b)+process[_0x245081(0x12e)],this[_0x245081(0x158)][_0x245081(0x96)](this));}async[a4_0x20f0c9(0x168)](){const _0x507965=a4_0x20f0c9;await RequestQueueHandler['getInstance']()[_0x507965(0x11a)]();}async['appendTestItemLog'](_0x26c532){const _0xfdef9d=a4_0x20f0c9,_0x20d216={'IIkqk':'LogCreated','gvzGb':function(_0x48a3f1,_0x58760d){return _0x48a3f1(_0x58760d);}};try{this[_0xfdef9d(0x9c)]&&!this[_0xfdef9d(0x9c)][_0xfdef9d(0x12a)]&&(_0x26c532['hook_run_uuid']=this['currentHook']['hookAnalyticsId']);!_0x26c532[_0xfdef9d(0x119)]&&this[_0xfdef9d(0xe7)]&&!this['currentTest'][_0xfdef9d(0x12a)]&&(_0x26c532[_0xfdef9d(0x128)]=this[_0xfdef9d(0xe7)][_0xfdef9d(0x84)]);if(_0x26c532[_0xfdef9d(0x119)]||_0x26c532['test_run_uuid']){const _0x5db29d={};_0x5db29d[_0xfdef9d(0x164)]=_0x20d216[_0xfdef9d(0x12b)],_0x5db29d[_0xfdef9d(0x15e)]=[_0x26c532],await SessionHandler[_0xfdef9d(0x120)](_0x5db29d);}}catch(_0x2a4fbd){_0x20d216[_0xfdef9d(0x11e)](debug,_0xfdef9d(0x91)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x2a4fbd);}}async[a4_0x20f0c9(0x10d)](_0x37336e){const _0x1195a3=a4_0x20f0c9,_0x4aba6b={'riPZm':_0x1195a3(0xf3),'AqaaK':function(_0x165b72,_0x1991b4){return _0x165b72(_0x1991b4);}};if(!this[_0x1195a3(0x113)])return;const _0x35509e=this[_0x1195a3(0x95)](this['driver']);try{const _0xcba893={};_0xcba893[_0x1195a3(0xf7)]=_0x37336e,_0xcba893[_0x1195a3(0x8c)]=_0x35509e;const _0x50f10e=_0xcba893,_0x1b94e1={};_0x1b94e1[_0x1195a3(0x164)]=_0x4aba6b[_0x1195a3(0xa6)],_0x1b94e1[_0x1195a3(0xc1)]=_0x50f10e,await SessionHandler[_0x1195a3(0x120)](_0x1b94e1);}catch(_0xa3c2d8){_0x4aba6b[_0x1195a3(0x177)](debug,_0x1195a3(0x15b)+constants[_0x1195a3(0x157)]+_0x1195a3(0xd1)+_0xa3c2d8);}}[a4_0x20f0c9(0x95)](_0x39596d){const _0x591ab7={'KKpTa':function(_0x1fb58f,_0x50f0bd){return _0x1fb58f(_0x50f0bd);}};return _0x591ab7['KKpTa'](fetchPlatformDetails,_0x39596d);}[a4_0x20f0c9(0xea)]=_0x42ce54=>{const _0x18c62a=a4_0x20f0c9,_0x1ddc5e={};_0x1ddc5e[_0x18c62a(0x9a)]=_0x18c62a(0x99),_0x1ddc5e[_0x18c62a(0x132)]=_0x18c62a(0x15f);const _0x45bc04=_0x1ddc5e;if(!_0x42ce54||!_0x42ce54[_0x18c62a(0xa5)])return;[_0x45bc04[_0x18c62a(0x9a)],_0x45bc04[_0x18c62a(0x132)]][_0x18c62a(0x8a)](_0xc40b22=>{const _0xe86ad=_0x18c62a,_0x3818c6=_0x42ce54[_0xe86ad(0xa5)][_0xc40b22];_0x3818c6['forEach'](_0x4cb847=>{const _0x9df3d1=_0xe86ad;_0x4cb847[_0x9df3d1(0xda)]&&(_0x4cb847[_0x9df3d1(0xda)]=null);});});};[a4_0x20f0c9(0x162)](_0x2f6f00){const _0x1439e1=a4_0x20f0c9,_0x1dcfb2={'sCKWY':_0x1439e1(0xa0),'wsqrn':function(_0x9bd7f9){return _0x9bd7f9();},'dNjUl':function(_0x103fce,_0x55af14){return _0x103fce===_0x55af14;},'oTUJf':_0x1439e1(0x15f),'YrJUO':function(_0x5739bd){return _0x5739bd();},'uDuUI':_0x1439e1(0xb8),'dqkbf':_0x1439e1(0xe1),'GaSow':_0x1439e1(0x99)};if(!_0x2f6f00||!_0x2f6f00['parent'])return;[_0x1dcfb2['uDuUI'],_0x1dcfb2[_0x1439e1(0x160)],_0x1dcfb2['GaSow'],_0x1dcfb2['oTUJf']][_0x1439e1(0x8a)](_0x4d79d3=>{const _0xe8a7e8=_0x1439e1,_0x55c99b=_0x2f6f00[_0xe8a7e8(0xa5)][_0x4d79d3]||[];_0x55c99b[_0xe8a7e8(0x8a)](_0x20b6aa=>{const _0x347c9a=_0xe8a7e8;if(_0x20b6aa[_0x347c9a(0xbe)]['includes'](_0x1dcfb2['sCKWY']))return;if(!_0x20b6aa['hookAnalyticsId'])_0x20b6aa['hookAnalyticsId']=_0x1dcfb2[_0x347c9a(0xc4)](uuidv4);else _0x20b6aa[_0x347c9a(0x12a)]&&_0x1dcfb2[_0x347c9a(0x165)](_0x4d79d3,_0x1dcfb2[_0x347c9a(0x147)])&&(_0x20b6aa[_0x347c9a(0xda)]=_0x1dcfb2['YrJUO'](uuidv4),delete _0x20b6aa[_0x347c9a(0x12a)]);});}),this[_0x1439e1(0x162)](_0x2f6f00['parent']);}[a4_0x20f0c9(0xe2)](_0x89c6c7){const _0x27886f=a4_0x20f0c9,_0x2fccbc={};_0x2fccbc['BTNRX']=_0x27886f(0xb8),_0x2fccbc[_0x27886f(0x106)]='_afterAll',_0x2fccbc[_0x27886f(0xa3)]=_0x27886f(0x99),_0x2fccbc[_0x27886f(0x124)]=_0x27886f(0x15f);const _0xa09ff3=_0x2fccbc;if(!_0x89c6c7||!_0x89c6c7[_0x27886f(0xa5)])return[];const _0x31d168=[];return[_0xa09ff3[_0x27886f(0xa1)],_0xa09ff3['mkjis'],_0xa09ff3[_0x27886f(0xa3)],_0xa09ff3['AGTEO']][_0x27886f(0x8a)](_0x5544be=>{const _0x2b7cff=_0x27886f,_0x1bff4a=_0x89c6c7[_0x2b7cff(0xa5)][_0x5544be]||[];_0x1bff4a[_0x2b7cff(0x8a)](_0x3fd68e=>{const _0x2d35c6=_0x2b7cff;_0x3fd68e[_0x2d35c6(0xda)]&&_0x31d168[_0x2d35c6(0x114)](_0x3fd68e['hookAnalyticsId']);});}),[][_0x27886f(0x159)](_0x31d168,this[_0x27886f(0xe2)](_0x89c6c7['parent']));}[a4_0x20f0c9(0x12d)](_0xb8d21c){const _0x40f37d=a4_0x20f0c9,_0x5ebbff=/^"(?<hook>.*)" hook:.*$/,_0x457d3e=_0xb8d21c[_0x40f37d(0xbe)],_0x554ed8=_0x457d3e[_0x40f37d(0xb6)](_0x5ebbff);if(_0x554ed8&&_0x554ed8[_0x40f37d(0xac)])return _0x554ed8['groups']['hook'][_0x40f37d(0x150)]()[_0x40f37d(0xa2)]('\x20','_');return null;}[a4_0x20f0c9(0x143)](_0xba0d10){const _0x1b08f9=a4_0x20f0c9,_0x5321d3={};_0x5321d3['UDmsl']=function(_0x49651b,_0x53eb9a){return _0x49651b===_0x53eb9a;},_0x5321d3[_0x1b08f9(0xaa)]=function(_0x3c28d3,_0x5b088a){return _0x3c28d3===_0x5b088a;},_0x5321d3[_0x1b08f9(0xf0)]='.git',_0x5321d3['Asgtl']=_0x1b08f9(0xe0);const _0x26292e=_0x5321d3,_0x3cb9f3=path[_0x1b08f9(0x146)];if(_0x26292e['UDmsl'](_0xba0d10,null)||_0x26292e[_0x1b08f9(0xaa)](_0xba0d10,'')||_0x26292e[_0x1b08f9(0xaa)](_0xba0d10,_0x3cb9f3)||_0x26292e[_0x1b08f9(0xf5)](_0xba0d10,path[_0x1b08f9(0xff)](_0xba0d10)))return null;try{return fs['statSync'](path[_0x1b08f9(0x7f)](_0xba0d10,_0x26292e['UKSgL'],_0x26292e['Asgtl'])),_0xba0d10;}catch(_0x3806d8){const _0x4b63f2=path[_0x1b08f9(0xff)](_0xba0d10);return this['findGitConfig'](_0x4b63f2);}}[a4_0x20f0c9(0x13c)](_0x4cde75){const _0x3ccf6a=a4_0x20f0c9,_0x34525f={};_0x34525f[_0x3ccf6a(0xbf)]=function(_0x577f6c,_0xfeada3){return _0x577f6c>_0xfeada3;};const _0x178234=_0x34525f;if(_0x4cde75[_0x3ccf6a(0x102)])return _0x4cde75[_0x3ccf6a(0x102)];if(_0x4cde75[_0x3ccf6a(0x100)]){const _0x17a0de=_0x4cde75[_0x3ccf6a(0x100)]['currentTest']?this[_0x3ccf6a(0x13c)](_0x4cde75[_0x3ccf6a(0x100)][_0x3ccf6a(0xe7)]):null;if(_0x17a0de)return _0x17a0de;}if(_0x4cde75[_0x3ccf6a(0xa5)]){const _0x296635=this[_0x3ccf6a(0x13c)](_0x4cde75[_0x3ccf6a(0xa5)])||(_0x4cde75[_0x3ccf6a(0xa5)][_0x3ccf6a(0x100)]&&_0x4cde75['parent'][_0x3ccf6a(0x100)]['currentTest']?this['getRootParentFile'](_0x4cde75[_0x3ccf6a(0xa5)]['ctx']['currentTest']):null);if(_0x296635)return _0x296635;_0x4cde75['parent'][_0x3ccf6a(0xd4)]&&_0x178234[_0x3ccf6a(0xbf)](_0x4cde75['parent'][_0x3ccf6a(0xd4)][_0x3ccf6a(0xc8)],0x0)&&_0x4cde75['parent']['suites'][_0x3ccf6a(0x8a)](_0x545d5a=>{const _0x122b89=_0x3ccf6a,_0x183858=_0x545d5a[_0x122b89(0x100)]?this[_0x122b89(0x13c)](_0x545d5a['ctx']):null;if(_0x183858)return _0x183858;});}return null;}['getHierarchy'](_0x458b6b){const _0x2a3626=a4_0x20f0c9,_0x3ca9e0={};_0x3ca9e0[_0x2a3626(0xf4)]=function(_0x52846d,_0xe3c450){return _0x52846d!==_0xe3c450;};const _0x19bde3=_0x3ca9e0,_0x58ba59=[];if(_0x458b6b&&_0x458b6b[_0x2a3626(0xa5)]){let _0x4fe167=_0x458b6b['parent'];while(_0x4fe167&&_0x19bde3[_0x2a3626(0xf4)](_0x4fe167['title'],'')){_0x58ba59[_0x2a3626(0x114)](_0x4fe167['title']),_0x4fe167=_0x4fe167[_0x2a3626(0xa5)];}}return _0x58ba59;}[a4_0x20f0c9(0x136)](_0x496a7d,_0x439692,_0x52ca36=undefined){const _0x169a73=a4_0x20f0c9,_0x1548c5={'ndpum':function(_0x502873,_0x37b63e){return _0x502873(_0x37b63e);},'WIXGw':function(_0x21a4f3){return _0x21a4f3();},'YpXmP':function(_0x1dbb37){return _0x1dbb37();},'ogBvA':function(_0x77e27a,_0x5ba627){return _0x77e27a(_0x5ba627);},'tTTVe':_0x169a73(0x167),'aOqSJ':'err','KplCU':function(_0x1660e7,_0x2ebf57){return _0x1660e7!==_0x2ebf57;},'aZPQC':_0x169a73(0xde),'PqqRS':_0x169a73(0x14a),'pbVxA':_0x169a73(0x89),'MsYkY':'passed','rejcm':_0x169a73(0x140),'DjbtU':'javascript','SYbVm':function(_0x6da932,_0x5043ac){return _0x6da932-_0x5043ac;},'ZyjtE':function(_0x433011,_0x14f892,_0x14219d,_0x1f6228,_0x515136){return _0x433011(_0x14f892,_0x14219d,_0x1f6228,_0x515136);},'DKnNC':function(_0x18978e,_0x24cff1){return _0x18978e!==_0x24cff1;},'DwImU':_0x169a73(0x8c),'YDmQz':_0x169a73(0xca),'mozON':'failure','yymXS':_0x169a73(0xcf),'UNusR':_0x169a73(0x80),'QGeoU':_0x169a73(0xc3),'xPcNI':_0x169a73(0x125),'niqND':function(_0x150b46,_0x4b90ec){return _0x150b46===_0x4b90ec;},'byUWO':_0x169a73(0x103),'LWAYU':_0x169a73(0xc1)};if(!this['enabled'])return;try{if(_0x439692['fn']&&_0x439692['fn'][_0x169a73(0x93)]()[_0x169a73(0xb6)](/browserstack internal helper hook/))return;const _0x4dfa35=_0x1548c5['ndpum'](parseEvent,_0x496a7d);if(!_0x4dfa35)return;if(_0x4dfa35[_0x169a73(0xb9)]){this[_0x169a73(0xe7)]=_0x439692,this[_0x169a73(0x9c)]=null;if(_0x4dfa35['started']||_0x4dfa35[_0x169a73(0x140)]){_0x439692[_0x169a73(0x85)]=new Date(),_0x439692['markedStatus']=![];if(!_0x439692[_0x169a73(0x84)])_0x439692[_0x169a73(0x84)]=_0x1548c5[_0x169a73(0x97)](uuidv4);else _0x439692[_0x169a73(0x12a)]&&(!_0x439692[_0x169a73(0x7e)]&&(_0x439692[_0x169a73(0x7e)]=_0x439692[_0x169a73(0x84)]),_0x439692['testAnalyticsId']=_0x1548c5['YpXmP'](uuidv4));}}else{if(_0x4dfa35['hook']){this['currentHook']=_0x439692;if(_0x4dfa35[_0x169a73(0x121)]){_0x439692[_0x169a73(0x85)]=new Date(),_0x439692[_0x169a73(0x12a)]=![];if(!_0x439692[_0x169a73(0xda)])_0x439692[_0x169a73(0xda)]=_0x1548c5[_0x169a73(0x126)](uuidv4);else _0x439692[_0x169a73(0xda)]&&_0x439692[_0x169a73(0x12a)]&&(_0x439692[_0x169a73(0xda)]=_0x1548c5['YpXmP'](uuidv4));}}}if(_0x4dfa35[_0x169a73(0x104)]&&_0x439692[_0x169a73(0x12a)])return;let _0x69103d;try{_0x69103d=this[_0x169a73(0x13c)](_0x439692);}catch(_0x1ffc42){logger[_0x169a73(0xd8)](_0x169a73(0x134)+_0x1ffc42),_0x69103d=null;}const _0x48a5cb=_0x1548c5[_0x169a73(0x171)](require,_0x1548c5[_0x169a73(0xf6)]);let _0x286077=[];_0x52ca36&&(_0x286077=[_0x52ca36,_0x1548c5['aOqSJ']]);const _0x2abe03=_0x1548c5[_0x169a73(0xc5)](_0x439692[_0x169a73(0x118)],undefined)?_0x48a5cb[_0x169a73(0xbb)](_0x439692[_0x169a73(0x118)][0x0]):_0x1548c5[_0x169a73(0xc5)](_0x52ca36,undefined)?_0x52ca36[_0x169a73(0x93)]():undefined,_0x1a642c=_0x69103d?this[_0x169a73(0x143)](_0x69103d):null,_0x145dcc=_0x69103d?this[_0x169a73(0x16c)][_0x169a73(0x13f)](this[_0x169a73(0x13c)](_0x439692)):_0x1548c5['aZPQC'];let _0x42b993=_0x1548c5[_0x169a73(0xf2)];const _0x5098ca=!_0x4dfa35[_0x169a73(0x121)]?new Date()[_0x169a73(0xe6)]():null;if(_0x4dfa35['finished'])_0x42b993=_0x52ca36?_0x1548c5['pbVxA']:_0x1548c5['MsYkY'],_0x439692['markedStatus']=!![];else _0x4dfa35['skipped']&&(_0x42b993=_0x1548c5[_0x169a73(0x170)],_0x439692['markedStatus']=!![]);const _0x1a5645={'framework':this[_0x169a73(0x98)],'uuid':_0x439692['testAnalyticsId']||_0x439692[_0x169a73(0xda)],'name':_0x439692[_0x169a73(0xbe)],'body':{'lang':_0x1548c5[_0x169a73(0x112)],'code':_0x439692['body']['toString']()},'type':_0x439692[_0x169a73(0x135)],'scope':_0x439692[_0x169a73(0xfd)](),'scopes':this[_0x169a73(0xaf)](_0x439692),'file_name':_0x145dcc,'vc_filepath':_0x1a642c?path[_0x169a73(0x161)](_0x1a642c,_0x69103d):null,'location':_0x145dcc,'result':_0x42b993,'failure_reason':_0x2abe03,'duration_in_ms':_0x439692[_0x169a73(0x10e)]||(_0x4dfa35['finished']||_0x4dfa35[_0x169a73(0x140)])?_0x1548c5[_0x169a73(0xdf)](Date[_0x169a73(0x123)](),new Date(_0x439692['startedAt'])[_0x169a73(0xdc)]()):null,'started_at':new Date(_0x439692[_0x169a73(0x85)])[_0x169a73(0xe6)](),'finished_at':_0x5098ca,'failure':testOpsHelper['failureData']['apply'](null,_0x286077),'failure_type':!_0x2abe03?null:testOpsHelper[_0x169a73(0xc7)](_0x2abe03),'retry_of':_0x439692[_0x169a73(0x7e)]||null,'tags':_0x439692[_0x169a73(0xc9)]||[],'customRerunParam':{'rerun_name':_0x439692[_0x169a73(0xfd)]()}};_0x1548c5[_0x169a73(0x127)](appendTesthubParams,_0x1a5645,_0x496a7d,_0x439692,FRAMEWORKS[_0x169a73(0x13d)]);if(_0x4dfa35[_0x169a73(0xbd)])[_0x1a5645[_0x169a73(0x11d)],_0x1a5645['name']]=[this[_0x169a73(0x12d)](_0x439692),_0x439692[_0x169a73(0x100)][_0x169a73(0xb9)][_0x169a73(0xbe)]],_0x4dfa35[_0x169a73(0x104)]?_0x1548c5[_0x169a73(0xa9)](_0x1a5645[_0x169a73(0x155)],_0x1548c5[_0x169a73(0xfb)])&&(_0x1a5645['result']=_0x1548c5['MsYkY']):_0x1a5645['body']={};else _0x4dfa35[_0x169a73(0xb9)]&&(this[_0x169a73(0x162)](_0x439692),_0x4dfa35[_0x169a73(0x140)]&&this['resetSkipTestHooks'](_0x439692),(_0x4dfa35[_0x169a73(0x104)]||_0x4dfa35['skipped'])&&(_0x1a5645[_0x169a73(0x12f)]=this[_0x169a73(0xe2)](_0x439692)));this[_0x169a73(0xd0)]&&(_0x4dfa35[_0x169a73(0x121)]||_0x4dfa35[_0x169a73(0x140)])&&(_0x1a5645[_0x1548c5['DwImU']]=this['getCBTInfo'](this[_0x169a73(0xd0)]));_0x4dfa35[_0x169a73(0xb9)]&&_0x4dfa35[_0x169a73(0x104)]&&_0x439692['bddSteps']&&(_0x1a5645[_0x1548c5[_0x169a73(0x149)]]={'feature':{'name':_0x439692[_0x169a73(0xa5)][_0x169a73(0x178)]['name'],'path':_0x1a5645[_0x169a73(0xcd)],'description':_0x439692[_0x169a73(0xa5)][_0x169a73(0x169)]},'scenario':{'name':_0x439692[_0x169a73(0xbe)]},'steps':_0x439692[_0x169a73(0xa4)]});const _0x3c7efb=_0x1a5645[_0x1548c5[_0x169a73(0xba)]][0x0];_0x3c7efb&&(_0x1a5645[_0x1548c5[_0x169a73(0x92)]]=_0x3c7efb[_0x1548c5[_0x169a73(0xfc)]],_0x1a5645[_0x1548c5['QGeoU']]=_0x3c7efb[_0x1548c5[_0x169a73(0xee)]]);if(_0x439692[_0x169a73(0xa4)])for(const _0x4f64e2 of _0x439692[_0x169a73(0xa4)]){!_0x4f64e2[_0x169a73(0x11b)]&&(_0x4f64e2[_0x169a73(0x11b)]=new Date()[_0x169a73(0xe6)](),_0x1548c5['niqND'](_0x4f64e2['result'],_0x1548c5['PqqRS'])&&(_0x3c7efb?(_0x4f64e2['result']=_0x1548c5[_0x169a73(0xfb)],_0x4f64e2[_0x169a73(0x131)]=_0x3c7efb[_0x1548c5[_0x169a73(0xfc)]][0x0]):_0x4f64e2['result']=_0x1548c5['MsYkY']));}const _0x408226={};_0x408226[_0x169a73(0x164)]=_0x4dfa35['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x496a7d;const _0x1c6a11=_0x408226;return _0x4dfa35[_0x169a73(0xbd)]?_0x1c6a11[_0x1548c5['byUWO']]=_0x1a5645:_0x1c6a11[_0x1548c5['LWAYU']]=_0x1a5645,_0x1c6a11;}catch(_0x361372){logger[_0x169a73(0xd8)](_0x169a73(0x86)+_0x496a7d+_0x169a73(0xd1)+_0x361372);}}async[a4_0x20f0c9(0x137)](_0x12956c,_0x217e69){const _0x2c8cdc=a4_0x20f0c9;if(!this[_0x2c8cdc(0x113)]||!_0x217e69||!_0x12956c)return![];try{return await SessionHandler[_0x2c8cdc(0x120)](_0x217e69);}catch(_0x16d33c){logger['debug'](_0x2c8cdc(0xcc)+_0x12956c+_0x2c8cdc(0xd1)+_0x16d33c);}}[a4_0x20f0c9(0x11f)](_0x33e356){const _0x243a9f=a4_0x20f0c9,_0x3f2918={};_0x3f2918[_0x243a9f(0xd2)]=_0x243a9f(0x14a);const _0x28b730=_0x3f2918;return{'id':_0x33e356[_0x243a9f(0xe8)],'text':_0x33e356[_0x243a9f(0xf8)],'keyword':_0x33e356[_0x243a9f(0xd9)],'started_at':_0x33e356['startedAt'][_0x243a9f(0xe6)](),'result':_0x28b730[_0x243a9f(0xd2)]};}[a4_0x20f0c9(0x151)](_0x5b9bc7){const _0x3e861a=a4_0x20f0c9,_0x2e5bc8={'oumbL':function(_0xcd4e73){return _0xcd4e73();}};!this[_0x3e861a(0xe7)][_0x3e861a(0xa4)]&&(this[_0x3e861a(0xe7)][_0x3e861a(0xa4)]=[]),!_0x5b9bc7[_0x3e861a(0xe8)]&&(_0x5b9bc7['stepAnalyticsId']=_0x2e5bc8[_0x3e861a(0x122)](uuidv4),_0x5b9bc7['startedAt']=new Date(),this[_0x3e861a(0xe7)][_0x3e861a(0xa4)][_0x3e861a(0x114)](this['initializeBddStep'](_0x5b9bc7)));}['bddStepFinish'](_0x23cb7a){const _0x4e6185=a4_0x20f0c9,_0x4ea0e3={'CWuIR':function(_0xb34c65,_0x10a0cb){return _0xb34c65(_0x10a0cb);},'LZngD':_0x4e6185(0x15a),'FyNSV':_0x4e6185(0x14a),'CTfUc':'passed','dCezF':function(_0x100ae5,_0x3edaf3){return _0x100ae5-_0x3edaf3;}};let _0xfe2199=this['currentTest'][_0x4e6185(0xa4)][_0x4e6185(0x16a)](_0x5dd8dc=>_0x5dd8dc['id']===_0x23cb7a['stepAnalyticsId']);_0x4ea0e3[_0x4e6185(0x83)](isUndefined,_0xfe2199)&&(_0xfe2199=this['initializeBddStep'](_0x23cb7a)),_0xfe2199[_0x4e6185(0x155)]=[_0x4ea0e3[_0x4e6185(0x107)],_0x4ea0e3['FyNSV']][_0x4e6185(0x8d)](_0x23cb7a[_0x4e6185(0x174)])?_0x4ea0e3[_0x4e6185(0x10c)]:_0x23cb7a[_0x4e6185(0x174)],_0xfe2199[_0x4e6185(0x11b)]=new Date()[_0x4e6185(0xe6)](),_0xfe2199[_0x4e6185(0x10e)]=_0x4ea0e3[_0x4e6185(0x14b)](Date[_0x4e6185(0x123)](),_0x23cb7a['startedAt'][_0x4e6185(0xdc)]()),_0xfe2199['failure']=_0x23cb7a['err']?_0x23cb7a[_0x4e6185(0xb2)][_0x4e6185(0xd6)]:null;}}const a4_0x20ef50={};function a4_0x212a(_0x404e4f,_0x435792){const _0xdb2927=a4_0xdb29();return a4_0x212a=function(_0x212ad0,_0x5c09ee){_0x212ad0=_0x212ad0-0x7c;let _0x153d33=_0xdb2927[_0x212ad0];return _0x153d33;},a4_0x212a(_0x404e4f,_0x435792);}a4_0x20ef50['O11yHelper']=O11yHelper,a4_0x20ef50[a4_0x20f0c9(0x13e)]=STATE_PASSED,a4_0x20ef50[a4_0x20f0c9(0xcb)]=STATE_FAILED,a4_0x20ef50[a4_0x20f0c9(0xfa)]=TEST_EVENTS,module[a4_0x20f0c9(0x15c)]=a4_0x20ef50;
1
+ function a4_0x254b(){const _0x45291d=['finished','removeAllListeners','hook_run_uuid','name','statSync','fGkqR','length','backtrace','../utils/constants','nMkcx','JQhWw','../../helpers/test-observability/requestQueueHandler','javascript','failureData','uuid','CBTSessionCreated','kZcHa','TestRunFinished','190641tXhIHk','_afterAll','kcIzV','yXZOH','jfyWF','parent','STATE_PASSED','2533835MgrmKV','../../helpers/testhub/utils.js','DIUWE','relative','cwd','findGitConfig','test','Playwright','success','WuvMt','./helper.js','luiAv','JXBrF','status','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','yFfkJ','bddSteps','meta','getHierarchy','3801552sBxJLa','oBPRw','uHUDf','pqTYR','FNJgK','sendCBTInfo','bugfk','ajsLE','failure','currentTest','../../helpers/logger','gaiLP','AFJgm','nOMeE','fejCR','BROWSERSTACK','shutdown','GBnbd','ctx','1300053wdYfAp','skipped','type','location_prefix','zWdgH','jjaoG','driver','Cjxbe','XOuQl','1512054tovsdZ','DOWCU','qWBbM','getCBTInfo','../../helpers/test-observability/constants','feature','getInstance','TestRunSkipped','PLAYWRIGHT_HUB_URL','VfDyV','connect','kyAGH','LqfNp','gpuVv','err','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','../mocha/test-observability/mochaUtils','finished_at','debug','includes','file','RnDdK','HookRunStarted','QfTSk','lonRA','SrMva','errorsDetailed','testAnalyticsId','PJXBX','hookAnalyticsId','util','ABboh','fullTitle','LogCreated','hKddK','bddStepStart','__platformCaps','failure_backtrace','DjDvQ','KgxmG','constructor','failed','hook','ZSkzv','MQLwS','hooks','now','CvoYL','HOOK_RUN_FINISHED','Failed\x20to\x20parse\x20wsendpoint\x20','UcuuH','\x20with\x20error\x20:\x20','client','tags','GTuBq','event_type','BrowserType','LDzdq','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','toISOString','test_run','getTime','sBlXZ','retryOf','AAfKm','appendTestItemLog','toString','text','YEiIO','pcEdk','find','TEST_REPORTING_ANALYTICS','suites','TDnka','message','fJpxf','stringify','TEST_EVENTS','logs','hook_run','pid','_afterEach','browserType.js','string','groups','3646832PqxsnN','title','TEST_RUN_STARTED','ubYZO','hIbZh','xxIAm','BUOhB','nMcDe','started','cJnoI','Nnjrc','enabled','start','stepAnalyticsId','then','getHooksForTest','currentHook','O11yHelper','keyword','TEST_RUN_FINISHED','connectOverCDP','3|0|5|1|2|4','XoGfb','eUXUh','XFMLr','bddStepFinish','OIvDO','dirname','replace','aGqwi','join','match','rToBO','DkMrg','Not\x20able\x20to\x20import\x20Browser','passed','frameworkName','push','RIhZs','file_name','../playwright/accessibility-helper','comment','duration','stop','initializeBddStep','result','oulYj','jyNRN','_beforeEach','362348ZQjFPS','PathHelper','_paths','inspect','VTayt','.git','browserstack','bs:addLog:','__cloud_provider___','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','IBjel','STATE_FAILED','pmvRh','path','pending','failure_reason_expanded','File\x20path\x20could\x20not\x20be\x20found','uploadEventData','MWRzo','apply','accessibilityPlatform','cCdAs','markedStatus','toUpperCase','getRootParentFile','resetSkipTestHooks','lib','ZyRDv','HYJRA','TEST_RUN_SKIPPED','../../helpers/test-observability/utils','patchConsoleLogger','HookRunFinished','integrations','mapTestHooks','body','PanAe','defineProperty','wsEndpoint','forEach','toLowerCase','_testEnv','setupBrowserDetails','bFUSn','zuIwL','kYCpb','launch','SamFr','startedAt','ysYBF','2AdnACk','TestRunStarted','obsBrowserTypeMockApplied','../../helpers/test-observability/sessionHandler','TZzZV','wjIlA','getHookType','../../helpers/helper'];a4_0x254b=function(){return _0x45291d;};return a4_0x254b();}const a4_0x25bf23=a4_0x1d55;(function(_0x4b04e2,_0x6b96d3){const _0x7acd5d=a4_0x1d55,_0x221b2f=_0x4b04e2();while(!![]){try{const _0x2b6e92=-parseInt(_0x7acd5d(0x1cb))/0x1*(parseInt(_0x7acd5d(0x1b1))/0x2)+-parseInt(_0x7acd5d(0xf0))/0x3+parseInt(_0x7acd5d(0x14e))/0x4+-parseInt(_0x7acd5d(0x1d2))/0x5+parseInt(_0x7acd5d(0xf9))/0x6+-parseInt(_0x7acd5d(0x17f))/0x7+parseInt(_0x7acd5d(0xdd))/0x8;if(_0x2b6e92===_0x6b96d3)break;else _0x221b2f['push'](_0x221b2f['shift']());}catch(_0x58cb16){_0x221b2f['push'](_0x221b2f['shift']());}}}(a4_0x254b,0x6f6c4));const path=require(a4_0x25bf23(0x18c)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x25bf23(0x1b8)),testOpsHelper=require(a4_0x25bf23(0x19d)),{getTestEnv}=require(a4_0x25bf23(0x109)),{FRAMEWORKS}=require(a4_0x25bf23(0xfd)),logger=require(a4_0x25bf23(0xe7))['winstonLogger'],SessionHandler=require(a4_0x25bf23(0x1b4)),RequestQueueHandler=require(a4_0x25bf23(0x1c4)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x25bf23(0x10b)],{processAccessibilityCaps}=require(a4_0x25bf23(0x176)),Constants=require(a4_0x25bf23(0x1c1)),{fetchPlatformDetails}=require(a4_0x25bf23(0xd4)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x25bf23(0x1d3)),constants=require(a4_0x25bf23(0x1c1)),STATE_PASSED=a4_0x25bf23(0x171),STATE_FAILED=a4_0x25bf23(0x122),a4_0x2a801a={};a4_0x2a801a[a4_0x25bf23(0x150)]=a4_0x25bf23(0x1b2),a4_0x2a801a[a4_0x25bf23(0x161)]=a4_0x25bf23(0x1ca),a4_0x2a801a[a4_0x25bf23(0x19c)]=a4_0x25bf23(0x100),a4_0x2a801a['HOOK_RUN_STARTED']=a4_0x25bf23(0x10f),a4_0x2a801a[a4_0x25bf23(0x129)]=a4_0x25bf23(0x19f);const TEST_EVENTS=a4_0x2a801a,parseEvent=_0x1034ab=>{const _0x48f7e2=a4_0x25bf23,_0x21c77b={};_0x21c77b[_0x48f7e2(0xe9)]=function(_0x2b30fc,_0x54345e){return _0x2b30fc<_0x54345e;},_0x21c77b[_0x48f7e2(0xf5)]=function(_0xdb04c3,_0x5e545b){return _0xdb04c3===_0x5e545b;},_0x21c77b['luiAv']=_0x48f7e2(0x1d8),_0x21c77b[_0x48f7e2(0xea)]=_0x48f7e2(0x123),_0x21c77b[_0x48f7e2(0x189)]=_0x48f7e2(0xf1),_0x21c77b['HYJRA']=_0x48f7e2(0x156),_0x21c77b[_0x48f7e2(0xe0)]=_0x48f7e2(0x1b9);const _0x4a05c8=_0x21c77b,_0x3835c8=_0x1034ab[_0x48f7e2(0x16d)](/^(.*)Run(.*)$/);if(!_0x3835c8)return null;if(_0x4a05c8['AFJgm'](_0x3835c8[_0x48f7e2(0x1bf)],0x3))return null;const _0x58eaba=_0x3835c8[0x1][_0x48f7e2(0x1a7)](),_0x5ee875=_0x3835c8[0x2][_0x48f7e2(0x1a7)]();return{'test':_0x4a05c8['jjaoG'](_0x58eaba,_0x4a05c8[_0x48f7e2(0xd5)]),'hook':_0x4a05c8[_0x48f7e2(0xf5)](_0x58eaba,_0x4a05c8['nOMeE']),'skipped':_0x4a05c8[_0x48f7e2(0xf5)](_0x5ee875,_0x4a05c8[_0x48f7e2(0x189)]),'started':_0x4a05c8[_0x48f7e2(0xf5)](_0x5ee875,_0x4a05c8[_0x48f7e2(0x19b)]),'finished':_0x4a05c8[_0x48f7e2(0xf5)](_0x5ee875,_0x4a05c8[_0x48f7e2(0xe0)])};},mockPWBrowserType=_0x154ae8=>{const _0x269bd6=a4_0x25bf23,_0x3b5b56={'MQLwS':function(_0x5ed12d,_0xbe2fe2){return _0x5ed12d===_0xbe2fe2;},'DkMrg':_0x269bd6(0x14c),'Nnjrc':function(_0x2544dc,_0x107248,_0x358040){return _0x2544dc(_0x107248,_0x358040);},'zWdgH':_0x269bd6(0x1a5),'uHUDf':function(_0x5094b4,_0x3a7991){return _0x5094b4(_0x3a7991);},'yFfkJ':_0x269bd6(0x185),'rToBO':function(_0x37738f,_0x951bc1,_0x49615d){return _0x37738f(_0x951bc1,_0x49615d);},'DIUWE':function(_0x352bd8,_0x26be0f){return _0x352bd8(_0x26be0f);},'QfTSk':_0x269bd6(0x199),'WuvMt':_0x269bd6(0x12d),'pcEdk':_0x269bd6(0x14b),'pmvRh':function(_0x4a474b,_0x298f4e){return _0x4a474b(_0x298f4e);},'ZyRDv':function(_0xb136c8,_0x5a6b7e){return _0xb136c8(_0x5a6b7e);},'TZzZV':_0x269bd6(0x170),'KgxmG':'connect','HItNk':'launch'},_0x3b38b9=path[_0x269bd6(0x16c)](_0x3b5b56[_0x269bd6(0x110)],_0x3b5b56[_0x269bd6(0xd3)],_0x3b5b56[_0x269bd6(0x13e)]),_0x3f8dbf=_0x3b5b56[_0x269bd6(0x18b)](importFileFromPWCore,_0x3b38b9);if(!_0x3f8dbf){_0x3b5b56[_0x269bd6(0x19a)](debug,_0x3b5b56[_0x269bd6(0x1b5)]);return;}const _0x2cd265=_0x3f8dbf[_0x269bd6(0x131)],_0x2ebaee=_0x2cd265['prototype'];if(_0x2ebaee[_0x269bd6(0x1b3)])return;const _0x2d735e=_0x2ebaee[_0x269bd6(0x103)];Object[_0x269bd6(0x1a4)](_0x2ebaee,_0x3b5b56[_0x269bd6(0x120)],{'get':function(){const _0x54da22=_0x269bd6,_0x5de060={'wjIlA':function(_0x1387d6,_0x33ff7a){const _0x5136d3=a4_0x1d55;return _0x3b5b56[_0x5136d3(0x125)](_0x1387d6,_0x33ff7a);},'UcuuH':_0x3b5b56[_0x54da22(0x16f)],'RofhX':function(_0x19034a,_0x45b8e8,_0x14caf3){const _0x348be9=_0x54da22;return _0x3b5b56[_0x348be9(0x158)](_0x19034a,_0x45b8e8,_0x14caf3);},'yXZOH':_0x3b5b56[_0x54da22(0xf4)],'JXBrF':function(_0x66eed0,_0x5e5fc4){const _0x170484=_0x54da22;return _0x3b5b56[_0x170484(0xdf)](_0x66eed0,_0x5e5fc4);},'SamFr':_0x3b5b56[_0x54da22(0xd9)],'XoGfb':function(_0x4ebb66,_0x4db9a4,_0x525acb){const _0x490637=_0x54da22;return _0x3b5b56[_0x490637(0x16e)](_0x4ebb66,_0x4db9a4,_0x525acb);},'oulYj':function(_0x18ff17,_0x4015b5){const _0x118018=_0x54da22;return _0x3b5b56[_0x118018(0x1d4)](_0x18ff17,_0x4015b5);}};return async function _0x14e577(_0x509d0c,_0x520d8a){const _0x285004=_0x54da22,_0x53bbdb={'VTayt':function(_0x4d4dde,_0x46e8c6){const _0x5ca415=a4_0x1d55;return _0x5de060[_0x5ca415(0x1b6)](_0x4d4dde,_0x46e8c6);},'cCdAs':_0x5de060[_0x285004(0x12b)]},_0x2cf0bc=_0x5de060['RofhX'](nestedKeyValue,_0x509d0c,[_0x5de060[_0x285004(0x1ce)]])||_0x509d0c;let _0x564d5c=null,_0x11e3c3=null;try{[_0x11e3c3,_0x564d5c]=_0x2cf0bc?_0x5de060[_0x285004(0xd6)](parseWSEndpoint,_0x2cf0bc):[null,null],global[_0x285004(0x11d)]=_0x564d5c,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x11e3c3),_0x11e3c3[_0x285004(0x10c)](Constants[_0x285004(0xec)])&&(global[_0x285004(0x187)]=_0x5de060[_0x285004(0x1ae)]);}catch(_0x5e9296){logger[_0x285004(0x10b)](_0x285004(0x12a)+_0x2cf0bc+'\x20'+_0x5e9296);}_0x5de060[_0x285004(0x164)](processAccessibilityCaps,_0x564d5c,_0x11e3c3);if(global[_0x285004(0x193)]){const _0x119696=await _0x2ebaee[_0x285004(0x162)]['apply'](this,[''+Constants[_0x285004(0x101)]+_0x5de060[_0x285004(0x17c)](encodeURIComponent,JSON[_0x285004(0x145)](_0x564d5c))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x119696,_0x154ae8,_0x2cf0bc),_0x119696;}return _0x2d735e['apply'](this,arguments)['then'](_0x46a9d0=>{const _0x4ea340=_0x285004;let _0x150b91=_0x509d0c[_0x4ea340(0x1a5)];return _0x53bbdb[_0x4ea340(0x183)](typeof _0x509d0c,_0x53bbdb[_0x4ea340(0x194)])&&(_0x150b91=_0x509d0c),PlaywrightSessionDetails[_0x4ea340(0x1a9)](_0x46a9d0,_0x154ae8,_0x150b91),_0x46a9d0;});};}});const _0x3a5b6b=_0x2ebaee[_0x269bd6(0x1ad)];Object[_0x269bd6(0x1a4)](_0x2ebaee,_0x3b5b56['HItNk'],{'get':function(){return async function _0x119066(){const _0x41eab1=a4_0x1d55;return _0x3a5b6b['apply'](this,arguments)[_0x41eab1(0x15c)](_0x28fa4f=>{const _0x2cf953=_0x41eab1;return PlaywrightSessionDetails[_0x2cf953(0x1a9)](_0x28fa4f,null),_0x28fa4f;});};}});};class O11yHelper{[a4_0x25bf23(0xe6)]=null;[a4_0x25bf23(0x15e)]=null;['enabled']=![];[a4_0x25bf23(0x172)]=![];constructor(_0x3b2799,_0x57679d){const _0x3cc768=a4_0x25bf23,_0x37a837={'YhvUh':_0x3cc768(0x163),'GVndf':function(_0x2be3dd){return _0x2be3dd();},'jfyWF':function(_0x520906){return _0x520906();},'McxaT':function(_0xb30f47,_0x12a62c){return _0xb30f47===_0x12a62c;},'eUXUh':_0x3cc768(0x1d9),'PoFrZ':function(_0x24bf4b,_0xe0292f){return _0x24bf4b(_0xe0292f);}},_0x349d13=_0x37a837['YhvUh']['split']('|');let _0x1c67de=0x0;while(!![]){switch(_0x349d13[_0x1c67de++]){case'0':this[_0x3cc768(0x172)]=_0x57679d[_0x3cc768(0x172)];continue;case'1':this[_0x3cc768(0x1a8)]=_0x37a837['GVndf'](getTestEnv);continue;case'2':this[_0x3cc768(0x181)]=new testOpsHelper[(_0x3cc768(0x180))]({'cwd':process[_0x3cc768(0x1d6)]()},this[_0x3cc768(0x1a8)][_0x3cc768(0xf3)]);continue;case'3':this[_0x3cc768(0x159)]=_0x37a837[_0x3cc768(0x1cf)](shouldProcessEventForTesthub);continue;case'4':this['driver']&&_0x37a837['McxaT'](this['driver'][_0x3cc768(0x121)][_0x3cc768(0x1bc)],_0x37a837[_0x3cc768(0x165)])&&_0x37a837['PoFrZ'](mockPWBrowserType,null);continue;case'5':this[_0x3cc768(0xf6)]=_0x3b2799;continue;}break;}}[a4_0x25bf23(0x15a)](){const _0x38ec4d=a4_0x25bf23;if(!this[_0x38ec4d(0x159)])return;testOpsHelper[_0x38ec4d(0x19e)](),process[_0x38ec4d(0x1ba)](_0x38ec4d(0x186)+process[_0x38ec4d(0x149)]),process['on']('bs:addLog:'+process['pid'],this[_0x38ec4d(0x13a)]['bind'](this));}async[a4_0x25bf23(0x179)](){const _0x404678=a4_0x25bf23;await RequestQueueHandler[_0x404678(0xff)]()[_0x404678(0xed)]();}async[a4_0x25bf23(0x13a)](_0x1b8d9e){const _0x9edd00=a4_0x25bf23,_0x16f56e={'fJpxf':_0x9edd00(0x11a),'OIvDO':function(_0x4fed4b,_0x2f24d6){return _0x4fed4b(_0x2f24d6);}};try{this[_0x9edd00(0x15e)]&&!this[_0x9edd00(0x15e)][_0x9edd00(0x195)]&&(_0x1b8d9e[_0x9edd00(0x1bb)]=this[_0x9edd00(0x15e)][_0x9edd00(0x116)]);!_0x1b8d9e[_0x9edd00(0x1bb)]&&this[_0x9edd00(0xe6)]&&!this['currentTest']['markedStatus']&&(_0x1b8d9e['test_run_uuid']=this[_0x9edd00(0xe6)]['testAnalyticsId']);if(_0x1b8d9e[_0x9edd00(0x1bb)]||_0x1b8d9e['test_run_uuid']){const _0x4289f3={};_0x4289f3[_0x9edd00(0x130)]=_0x16f56e[_0x9edd00(0x144)],_0x4289f3[_0x9edd00(0x147)]=[_0x1b8d9e],await SessionHandler[_0x9edd00(0x190)](_0x4289f3);}}catch(_0xdfcb21){_0x16f56e[_0x9edd00(0x168)](debug,_0x9edd00(0x188)+constants['TEST_REPORTING_ANALYTICS']+_0x9edd00(0x12c)+_0xdfcb21);}}async[a4_0x25bf23(0xe2)](_0x2476b0){const _0x59558f=a4_0x25bf23,_0x570b23={'ZSkzv':_0x59558f(0x1c8),'XFMLr':function(_0x2669c0,_0x319a32){return _0x2669c0(_0x319a32);}};if(!this[_0x59558f(0x159)])return;const _0x490019=this[_0x59558f(0xfc)](this[_0x59558f(0xf6)]);try{const _0xf6c4a5={};_0xf6c4a5[_0x59558f(0x1c7)]=_0x2476b0,_0xf6c4a5[_0x59558f(0x1a0)]=_0x490019;const _0x8ce387=_0xf6c4a5,_0x252a8e={};_0x252a8e[_0x59558f(0x130)]=_0x570b23[_0x59558f(0x124)],_0x252a8e['test_run']=_0x8ce387,await SessionHandler[_0x59558f(0x190)](_0x252a8e);}catch(_0x3deb2b){_0x570b23[_0x59558f(0x166)](debug,_0x59558f(0x133)+constants[_0x59558f(0x140)]+_0x59558f(0x12c)+_0x3deb2b);}}[a4_0x25bf23(0xfc)](_0x5159ac){const _0x131940=a4_0x25bf23,_0x516057={'fejCR':function(_0x269be0,_0x1ecf2a){return _0x269be0(_0x1ecf2a);}};return _0x516057[_0x131940(0xeb)](fetchPlatformDetails,_0x5159ac);}[a4_0x25bf23(0x198)]=_0x3a7d87=>{const _0x9f2b5c=a4_0x25bf23,_0x483cb7={};_0x483cb7['sBlXZ']='_beforeEach',_0x483cb7['Cjxbe']='_afterEach';const _0x45e0a8=_0x483cb7;if(!_0x3a7d87||!_0x3a7d87[_0x9f2b5c(0x1d0)])return;[_0x45e0a8[_0x9f2b5c(0x137)],_0x45e0a8[_0x9f2b5c(0xf7)]][_0x9f2b5c(0x1a6)](_0x31fa63=>{const _0x3d3a64=_0x9f2b5c,_0x40e103=_0x3a7d87[_0x3d3a64(0x1d0)][_0x31fa63];_0x40e103[_0x3d3a64(0x1a6)](_0x286c6d=>{const _0x26d0fb=_0x3d3a64;_0x286c6d[_0x26d0fb(0x116)]&&(_0x286c6d[_0x26d0fb(0x116)]=null);});});};[a4_0x25bf23(0x1a1)](_0x3a6159){const _0x3bcee0=a4_0x25bf23,_0x299ace={'PJXBX':'codeceptjs','xxIAm':function(_0x5d1901){return _0x5d1901();},'xTxlA':function(_0x441d36,_0x1f10c0){return _0x441d36===_0x1f10c0;},'aGqwi':_0x3bcee0(0x14a),'FQUYx':function(_0x5daadc){return _0x5daadc();},'XOuQl':'_beforeAll','tLfhn':_0x3bcee0(0x1cc),'fGkqR':_0x3bcee0(0x17e)};if(!_0x3a6159||!_0x3a6159[_0x3bcee0(0x1d0)])return;[_0x299ace[_0x3bcee0(0xf8)],_0x299ace['tLfhn'],_0x299ace[_0x3bcee0(0x1be)],_0x299ace[_0x3bcee0(0x16b)]][_0x3bcee0(0x1a6)](_0xd00697=>{const _0x302353=_0x3bcee0,_0x6ccf5f=_0x3a6159[_0x302353(0x1d0)][_0xd00697]||[];_0x6ccf5f[_0x302353(0x1a6)](_0x12a4b2=>{const _0x297328=_0x302353;if(_0x12a4b2[_0x297328(0x14f)][_0x297328(0x10c)](_0x299ace[_0x297328(0x115)]))return;if(!_0x12a4b2[_0x297328(0x116)])_0x12a4b2[_0x297328(0x116)]=_0x299ace[_0x297328(0x153)](uuidv4);else _0x12a4b2[_0x297328(0x195)]&&_0x299ace['xTxlA'](_0xd00697,_0x299ace[_0x297328(0x16b)])&&(_0x12a4b2[_0x297328(0x116)]=_0x299ace['FQUYx'](uuidv4),delete _0x12a4b2[_0x297328(0x195)]);});}),this['mapTestHooks'](_0x3a6159['parent']);}[a4_0x25bf23(0x15d)](_0x3d8a4c){const _0x78f76=a4_0x25bf23,_0x580863={};_0x580863[_0x78f76(0x1b0)]='_beforeAll',_0x580863[_0x78f76(0x1aa)]=_0x78f76(0x1cc),_0x580863[_0x78f76(0x102)]=_0x78f76(0x17e),_0x580863[_0x78f76(0x13d)]=_0x78f76(0x14a);const _0x212113=_0x580863;if(!_0x3d8a4c||!_0x3d8a4c[_0x78f76(0x1d0)])return[];const _0x2cb1dc=[];return[_0x212113[_0x78f76(0x1b0)],_0x212113[_0x78f76(0x1aa)],_0x212113[_0x78f76(0x102)],_0x212113[_0x78f76(0x13d)]][_0x78f76(0x1a6)](_0x473065=>{const _0x42d260=_0x78f76,_0x5b535d=_0x3d8a4c[_0x42d260(0x1d0)][_0x473065]||[];_0x5b535d[_0x42d260(0x1a6)](_0x3e0bb5=>{const _0x4e0e62=_0x42d260;_0x3e0bb5[_0x4e0e62(0x116)]&&_0x2cb1dc[_0x4e0e62(0x173)](_0x3e0bb5[_0x4e0e62(0x116)]);});}),[]['concat'](_0x2cb1dc,this[_0x78f76(0x15d)](_0x3d8a4c[_0x78f76(0x1d0)]));}['getHookType'](_0x2e763b){const _0x5dbb9f=a4_0x25bf23,_0x26e920=/^"(?<hook>.*)" hook:.*$/,_0x53d815=_0x2e763b[_0x5dbb9f(0x14f)],_0x18d0ee=_0x53d815['match'](_0x26e920);if(_0x18d0ee&&_0x18d0ee['groups'])return _0x18d0ee[_0x5dbb9f(0x14d)][_0x5dbb9f(0x123)][_0x5dbb9f(0x196)]()[_0x5dbb9f(0x16a)]('\x20','_');return null;}[a4_0x25bf23(0x1d7)](_0x5b05b6){const _0x262165=a4_0x25bf23,_0x461117={};_0x461117[_0x262165(0xe1)]=function(_0x1d08b0,_0x2764db){return _0x1d08b0===_0x2764db;},_0x461117['nMcDe']=function(_0x24c1be,_0x50f495){return _0x24c1be===_0x50f495;},_0x461117[_0x262165(0x1c9)]=function(_0x7a8613,_0x27f681){return _0x7a8613===_0x27f681;},_0x461117[_0x262165(0x128)]=_0x262165(0x184),_0x461117[_0x262165(0x139)]='config';const _0x4407da=_0x461117,_0x4262d0=path['sep'];if(_0x4407da['FNJgK'](_0x5b05b6,null)||_0x4407da[_0x262165(0xe1)](_0x5b05b6,'')||_0x4407da[_0x262165(0x155)](_0x5b05b6,_0x4262d0)||_0x4407da[_0x262165(0x1c9)](_0x5b05b6,path[_0x262165(0x169)](_0x5b05b6)))return null;try{return fs[_0x262165(0x1bd)](path[_0x262165(0x16c)](_0x5b05b6,_0x4407da[_0x262165(0x128)],_0x4407da[_0x262165(0x139)])),_0x5b05b6;}catch(_0x50c640){const _0x1d7472=path[_0x262165(0x169)](_0x5b05b6);return this[_0x262165(0x1d7)](_0x1d7472);}}['getRootParentFile'](_0x4a8c91){const _0x430703=a4_0x25bf23,_0xfd3eb4={};_0xfd3eb4[_0x430703(0x1c3)]=function(_0x310588,_0x2bc8bf){return _0x310588>_0x2bc8bf;};const _0x704d3=_0xfd3eb4;if(_0x4a8c91[_0x430703(0x10d)])return _0x4a8c91[_0x430703(0x10d)];if(_0x4a8c91[_0x430703(0xef)]){const _0x6d4d56=_0x4a8c91[_0x430703(0xef)][_0x430703(0xe6)]?this[_0x430703(0x197)](_0x4a8c91[_0x430703(0xef)][_0x430703(0xe6)]):null;if(_0x6d4d56)return _0x6d4d56;}if(_0x4a8c91[_0x430703(0x1d0)]){const _0xdc2193=this['getRootParentFile'](_0x4a8c91['parent'])||(_0x4a8c91[_0x430703(0x1d0)][_0x430703(0xef)]&&_0x4a8c91[_0x430703(0x1d0)][_0x430703(0xef)][_0x430703(0xe6)]?this[_0x430703(0x197)](_0x4a8c91[_0x430703(0x1d0)][_0x430703(0xef)][_0x430703(0xe6)]):null);if(_0xdc2193)return _0xdc2193;_0x4a8c91[_0x430703(0x1d0)][_0x430703(0x141)]&&_0x704d3[_0x430703(0x1c3)](_0x4a8c91[_0x430703(0x1d0)][_0x430703(0x141)][_0x430703(0x1bf)],0x0)&&_0x4a8c91[_0x430703(0x1d0)][_0x430703(0x141)]['forEach'](_0x94808=>{const _0xdc13a1=_0x430703,_0x9fe90d=_0x94808[_0xdc13a1(0xef)]?this[_0xdc13a1(0x197)](_0x94808[_0xdc13a1(0xef)]):null;if(_0x9fe90d)return _0x9fe90d;});}return null;}[a4_0x25bf23(0xdc)](_0x4fb3d3){const _0x5e260b=a4_0x25bf23,_0x44dd8e={};_0x44dd8e[_0x5e260b(0xfa)]=function(_0x5ad1c5,_0x186184){return _0x5ad1c5!==_0x186184;};const _0x59b7bb=_0x44dd8e,_0x37a60a=[];if(_0x4fb3d3&&_0x4fb3d3[_0x5e260b(0x1d0)]){let _0x44e768=_0x4fb3d3['parent'];while(_0x44e768&&_0x59b7bb[_0x5e260b(0xfa)](_0x44e768[_0x5e260b(0x14f)],'')){_0x37a60a['push'](_0x44e768[_0x5e260b(0x14f)]),_0x44e768=_0x44e768[_0x5e260b(0x1d0)];}}return _0x37a60a;}['captureEvent'](_0x17fc35,_0x33fd0f,_0x10731a=undefined){const _0x1bb7db=a4_0x25bf23,_0x4b616b={'nPLiE':function(_0x3efdf3,_0x1c91e5){return _0x3efdf3(_0x1c91e5);},'cJnoI':function(_0x1b66bb){return _0x1b66bb();},'bugfk':function(_0x2fc9da){return _0x2fc9da();},'LDzdq':function(_0x2e61f4){return _0x2e61f4();},'HPhyE':_0x1bb7db(0x117),'RIhZs':_0x1bb7db(0x107),'gpuVv':function(_0x582c83,_0x45a5f9){return _0x582c83!==_0x45a5f9;},'MWRzo':function(_0x41d7b9,_0x2b646e){return _0x41d7b9!==_0x2b646e;},'kyAGH':_0x1bb7db(0x18f),'PanAe':_0x1bb7db(0x18d),'jyNRN':'failed','BUOhB':'passed','qWBbM':_0x1bb7db(0xf1),'ShfdK':_0x1bb7db(0x1c5),'lonRA':function(_0x494a64,_0x179a9c){return _0x494a64-_0x179a9c;},'hKddK':function(_0xfe89ca,_0x207d97,_0x35cf59,_0x44f6d7,_0x14636c){return _0xfe89ca(_0x207d97,_0x35cf59,_0x44f6d7,_0x14636c);},'zuIwL':function(_0x31e88f,_0x58a438){return _0x31e88f!==_0x58a438;},'kYCpb':_0x1bb7db(0x1a0),'RnDdK':_0x1bb7db(0xdb),'GBnbd':_0x1bb7db(0xe5),'kcIzV':_0x1bb7db(0x11e),'ABboh':_0x1bb7db(0x1c0),'oBPRw':_0x1bb7db(0x18e),'ajsLE':'expanded','nMkcx':function(_0x17425f,_0x22308d){return _0x17425f===_0x22308d;},'gaiLP':_0x1bb7db(0x148),'GTuBq':_0x1bb7db(0x135)};if(!this[_0x1bb7db(0x159)])return;try{if(_0x33fd0f['fn']&&_0x33fd0f['fn'][_0x1bb7db(0x13b)]()[_0x1bb7db(0x16d)](/browserstack internal helper hook/))return;const _0xf7db37=_0x4b616b['nPLiE'](parseEvent,_0x17fc35);if(!_0xf7db37)return;if(_0xf7db37['test']){this[_0x1bb7db(0xe6)]=_0x33fd0f,this[_0x1bb7db(0x15e)]=null;if(_0xf7db37[_0x1bb7db(0x156)]||_0xf7db37['skipped']){_0x33fd0f[_0x1bb7db(0x1af)]=new Date(),_0x33fd0f[_0x1bb7db(0x195)]=![];if(!_0x33fd0f[_0x1bb7db(0x114)])_0x33fd0f['testAnalyticsId']=_0x4b616b[_0x1bb7db(0x157)](uuidv4);else _0x33fd0f[_0x1bb7db(0x195)]&&(!_0x33fd0f[_0x1bb7db(0x138)]&&(_0x33fd0f[_0x1bb7db(0x138)]=_0x33fd0f[_0x1bb7db(0x114)]),_0x33fd0f[_0x1bb7db(0x114)]=_0x4b616b[_0x1bb7db(0x157)](uuidv4));}}else{if(_0xf7db37['hook']){this[_0x1bb7db(0x15e)]=_0x33fd0f;if(_0xf7db37[_0x1bb7db(0x156)]){_0x33fd0f[_0x1bb7db(0x1af)]=new Date(),_0x33fd0f[_0x1bb7db(0x195)]=![];if(!_0x33fd0f[_0x1bb7db(0x116)])_0x33fd0f[_0x1bb7db(0x116)]=_0x4b616b[_0x1bb7db(0xe3)](uuidv4);else _0x33fd0f[_0x1bb7db(0x116)]&&_0x33fd0f[_0x1bb7db(0x195)]&&(_0x33fd0f[_0x1bb7db(0x116)]=_0x4b616b[_0x1bb7db(0x132)](uuidv4));}}}if(_0xf7db37[_0x1bb7db(0x1b9)]&&_0x33fd0f[_0x1bb7db(0x195)])return;let _0x17faa0;try{_0x17faa0=this['getRootParentFile'](_0x33fd0f);}catch(_0x30c044){logger[_0x1bb7db(0x10b)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x30c044),_0x17faa0=null;}const _0x5e60f9=_0x4b616b['nPLiE'](require,_0x4b616b['HPhyE']);let _0x436c77=[];_0x10731a&&(_0x436c77=[_0x10731a,_0x4b616b[_0x1bb7db(0x174)]]);const _0x53b7aa=_0x4b616b[_0x1bb7db(0x106)](_0x33fd0f[_0x1bb7db(0x113)],undefined)?_0x5e60f9[_0x1bb7db(0x182)](_0x33fd0f[_0x1bb7db(0x113)][0x0]):_0x4b616b[_0x1bb7db(0x191)](_0x10731a,undefined)?_0x10731a[_0x1bb7db(0x13b)]():undefined,_0x394e69=_0x17faa0?this[_0x1bb7db(0x1d7)](_0x17faa0):null,_0x5b2dcb=_0x17faa0?this[_0x1bb7db(0x181)]['prefixTestPath'](this[_0x1bb7db(0x197)](_0x33fd0f)):_0x4b616b[_0x1bb7db(0x104)];let _0x88d370=_0x4b616b[_0x1bb7db(0x1a3)];const _0x4dae08=!_0xf7db37[_0x1bb7db(0x156)]?new Date()[_0x1bb7db(0x134)]():null;if(_0xf7db37[_0x1bb7db(0x1b9)])_0x88d370=_0x10731a?_0x4b616b[_0x1bb7db(0x17d)]:_0x4b616b['BUOhB'],_0x33fd0f[_0x1bb7db(0x195)]=!![];else _0xf7db37['skipped']&&(_0x88d370=_0x4b616b[_0x1bb7db(0xfb)],_0x33fd0f['markedStatus']=!![]);const _0x2767b3={'framework':this['frameworkName'],'uuid':_0x33fd0f[_0x1bb7db(0x114)]||_0x33fd0f[_0x1bb7db(0x116)],'name':_0x33fd0f[_0x1bb7db(0x14f)],'body':{'lang':_0x4b616b['ShfdK'],'code':_0x33fd0f[_0x1bb7db(0x1a2)][_0x1bb7db(0x13b)]()},'type':_0x33fd0f[_0x1bb7db(0xf2)],'scope':_0x33fd0f[_0x1bb7db(0x119)](),'scopes':this[_0x1bb7db(0xdc)](_0x33fd0f),'file_name':_0x5b2dcb,'vc_filepath':_0x394e69?path[_0x1bb7db(0x1d5)](_0x394e69,_0x17faa0):null,'location':_0x5b2dcb,'result':_0x88d370,'failure_reason':_0x53b7aa,'duration_in_ms':_0x33fd0f[_0x1bb7db(0x178)]||(_0xf7db37[_0x1bb7db(0x1b9)]||_0xf7db37[_0x1bb7db(0xf1)])?_0x4b616b[_0x1bb7db(0x111)](Date[_0x1bb7db(0x127)](),new Date(_0x33fd0f['startedAt'])[_0x1bb7db(0x136)]()):null,'started_at':new Date(_0x33fd0f[_0x1bb7db(0x1af)])['toISOString'](),'finished_at':_0x4dae08,'failure':testOpsHelper[_0x1bb7db(0x1c6)][_0x1bb7db(0x192)](null,_0x436c77),'failure_type':!_0x53b7aa?null:testOpsHelper['getFailureType'](_0x53b7aa),'retry_of':_0x33fd0f[_0x1bb7db(0x138)]||null,'tags':_0x33fd0f[_0x1bb7db(0x12e)]||[],'customRerunParam':{'rerun_name':_0x33fd0f[_0x1bb7db(0x119)]()}};_0x4b616b[_0x1bb7db(0x11b)](appendTesthubParams,_0x2767b3,_0x17fc35,_0x33fd0f,FRAMEWORKS['CODECEPT']);if(_0xf7db37[_0x1bb7db(0x123)])[_0x2767b3['hook_type'],_0x2767b3['name']]=[this[_0x1bb7db(0x1b7)](_0x33fd0f),_0x33fd0f['ctx'][_0x1bb7db(0x1d8)][_0x1bb7db(0x14f)]],_0xf7db37[_0x1bb7db(0x1b9)]?_0x4b616b[_0x1bb7db(0x1ab)](_0x2767b3['result'],_0x4b616b[_0x1bb7db(0x17d)])&&(_0x2767b3['result']=_0x4b616b[_0x1bb7db(0x154)]):_0x2767b3['body']={};else _0xf7db37[_0x1bb7db(0x1d8)]&&(this['mapTestHooks'](_0x33fd0f),_0xf7db37[_0x1bb7db(0xf1)]&&this['resetSkipTestHooks'](_0x33fd0f),(_0xf7db37[_0x1bb7db(0x1b9)]||_0xf7db37[_0x1bb7db(0xf1)])&&(_0x2767b3[_0x1bb7db(0x126)]=this[_0x1bb7db(0x15d)](_0x33fd0f)));this[_0x1bb7db(0xf6)]&&(_0xf7db37[_0x1bb7db(0x156)]||_0xf7db37[_0x1bb7db(0xf1)])&&(_0x2767b3[_0x4b616b[_0x1bb7db(0x1ac)]]=this['getCBTInfo'](this[_0x1bb7db(0xf6)]));_0xf7db37[_0x1bb7db(0x1d8)]&&_0xf7db37[_0x1bb7db(0x1b9)]&&_0x33fd0f[_0x1bb7db(0xda)]&&(_0x2767b3[_0x4b616b[_0x1bb7db(0x10e)]]={'feature':{'name':_0x33fd0f[_0x1bb7db(0x1d0)][_0x1bb7db(0xfe)][_0x1bb7db(0x1bc)],'path':_0x2767b3[_0x1bb7db(0x175)],'description':_0x33fd0f[_0x1bb7db(0x1d0)][_0x1bb7db(0x177)]},'scenario':{'name':_0x33fd0f['title']},'steps':_0x33fd0f[_0x1bb7db(0xda)]});const _0x37e078=_0x2767b3[_0x4b616b[_0x1bb7db(0xee)]][0x0];_0x37e078&&(_0x2767b3[_0x4b616b[_0x1bb7db(0x1cd)]]=_0x37e078[_0x4b616b[_0x1bb7db(0x118)]],_0x2767b3[_0x4b616b[_0x1bb7db(0xde)]]=_0x37e078[_0x4b616b[_0x1bb7db(0xe4)]]);if(_0x33fd0f[_0x1bb7db(0xda)])for(const _0x44ab0a of _0x33fd0f[_0x1bb7db(0xda)]){!_0x44ab0a[_0x1bb7db(0x10a)]&&(_0x44ab0a[_0x1bb7db(0x10a)]=new Date()[_0x1bb7db(0x134)](),_0x4b616b[_0x1bb7db(0x1c2)](_0x44ab0a[_0x1bb7db(0x17b)],_0x4b616b[_0x1bb7db(0x1a3)])&&(_0x37e078?(_0x44ab0a[_0x1bb7db(0x17b)]=_0x4b616b['jyNRN'],_0x44ab0a['failure']=_0x37e078[_0x4b616b[_0x1bb7db(0x118)]][0x0]):_0x44ab0a['result']=_0x4b616b[_0x1bb7db(0x154)]));}const _0x21c25b={};_0x21c25b['event_type']=_0xf7db37[_0x1bb7db(0xf1)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x17fc35;const _0x32250f=_0x21c25b;return _0xf7db37[_0x1bb7db(0x123)]?_0x32250f[_0x4b616b[_0x1bb7db(0xe8)]]=_0x2767b3:_0x32250f[_0x4b616b[_0x1bb7db(0x12f)]]=_0x2767b3,_0x32250f;}catch(_0x806073){logger[_0x1bb7db(0x10b)](_0x1bb7db(0xd8)+_0x17fc35+_0x1bb7db(0x12c)+_0x806073);}}async['fireEvent'](_0x18d30c,_0x3803df){const _0x2b76f8=a4_0x25bf23;if(!this[_0x2b76f8(0x159)]||!_0x3803df||!_0x18d30c)return![];try{return await SessionHandler[_0x2b76f8(0x190)](_0x3803df);}catch(_0x3d2705){logger[_0x2b76f8(0x10b)](_0x2b76f8(0x108)+_0x18d30c+_0x2b76f8(0x12c)+_0x3d2705);}}[a4_0x25bf23(0x17a)](_0x49cd00){const _0x33ae68=a4_0x25bf23,_0x4ae8c4={};_0x4ae8c4['hIbZh']='pending';const _0x432991=_0x4ae8c4;return{'id':_0x49cd00[_0x33ae68(0x15b)],'text':_0x49cd00[_0x33ae68(0x13c)],'keyword':_0x49cd00[_0x33ae68(0x160)],'started_at':_0x49cd00[_0x33ae68(0x1af)]['toISOString'](),'result':_0x432991[_0x33ae68(0x152)]};}[a4_0x25bf23(0x11c)](_0x51d60b){const _0x117766=a4_0x25bf23,_0x1a79fc={'SrMva':function(_0x2b678d){return _0x2b678d();}};!this['currentTest'][_0x117766(0xda)]&&(this['currentTest'][_0x117766(0xda)]=[]),!_0x51d60b[_0x117766(0x15b)]&&(_0x51d60b[_0x117766(0x15b)]=_0x1a79fc[_0x117766(0x112)](uuidv4),_0x51d60b[_0x117766(0x1af)]=new Date(),this[_0x117766(0xe6)][_0x117766(0xda)][_0x117766(0x173)](this[_0x117766(0x17a)](_0x51d60b)));}[a4_0x25bf23(0x167)](_0x42d2f2){const _0x432502=a4_0x25bf23,_0x5280fc={'LqfNp':function(_0x16590d,_0x2b8c05){return _0x16590d(_0x2b8c05);},'DjDvQ':_0x432502(0xd2),'TDnka':_0x432502(0x18d),'ubYZO':_0x432502(0x171),'YCxsF':function(_0x4745a0,_0x537c88){return _0x4745a0-_0x537c88;}};let _0x912d6b=this[_0x432502(0xe6)]['bddSteps'][_0x432502(0x13f)](_0x18d32a=>_0x18d32a['id']===_0x42d2f2[_0x432502(0x15b)]);_0x5280fc[_0x432502(0x105)](isUndefined,_0x912d6b)&&(_0x912d6b=this[_0x432502(0x17a)](_0x42d2f2)),_0x912d6b['result']=[_0x5280fc[_0x432502(0x11f)],_0x5280fc[_0x432502(0x142)]][_0x432502(0x10c)](_0x42d2f2[_0x432502(0xd7)])?_0x5280fc[_0x432502(0x151)]:_0x42d2f2[_0x432502(0xd7)],_0x912d6b[_0x432502(0x10a)]=new Date()[_0x432502(0x134)](),_0x912d6b[_0x432502(0x178)]=_0x5280fc['YCxsF'](Date['now'](),_0x42d2f2[_0x432502(0x1af)][_0x432502(0x136)]()),_0x912d6b[_0x432502(0xe5)]=_0x42d2f2[_0x432502(0x107)]?_0x42d2f2[_0x432502(0x107)][_0x432502(0x143)]:null;}}const a4_0x2e2055={};function a4_0x1d55(_0x4a01f7,_0x2d04d2){const _0x254b76=a4_0x254b();return a4_0x1d55=function(_0x1d55ac,_0xc12b4c){_0x1d55ac=_0x1d55ac-0xd2;let _0x3e6bdc=_0x254b76[_0x1d55ac];return _0x3e6bdc;},a4_0x1d55(_0x4a01f7,_0x2d04d2);}a4_0x2e2055[a4_0x25bf23(0x15f)]=O11yHelper,a4_0x2e2055[a4_0x25bf23(0x1d1)]=STATE_PASSED,a4_0x2e2055[a4_0x25bf23(0x18a)]=STATE_FAILED,a4_0x2e2055[a4_0x25bf23(0x146)]=TEST_EVENTS,module['exports']=a4_0x2e2055;