browserstack-node-sdk 1.53.5 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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_0x5554ea=a1_0x55fb;(function(_0x37c010,_0x2c39bc){const _0x1ba887=a1_0x55fb,_0x552ade=_0x37c010();while(!![]){try{const _0x54c703=parseInt(_0x1ba887(0x1bc))/0x1*(parseInt(_0x1ba887(0x171))/0x2)+-parseInt(_0x1ba887(0x11e))/0x3*(parseInt(_0x1ba887(0x127))/0x4)+-parseInt(_0x1ba887(0x1ac))/0x5*(-parseInt(_0x1ba887(0x189))/0x6)+parseInt(_0x1ba887(0x113))/0x7*(parseInt(_0x1ba887(0x142))/0x8)+parseInt(_0x1ba887(0x135))/0x9+parseInt(_0x1ba887(0x1ad))/0xa+-parseInt(_0x1ba887(0xe2))/0xb;if(_0x54c703===_0x2c39bc)break;else _0x552ade['push'](_0x552ade['shift']());}catch(_0x5e36fd){_0x552ade['push'](_0x552ade['shift']());}}}(a1_0x50a3,0x26756));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5554ea(0x1a3)),logger=require(a1_0x5554ea(0x133))['winstonLogger'],testOpsHelper=require(a1_0x5554ea(0x160)),requestSpy=require(a1_0x5554ea(0xf2)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5554ea(0x1b3)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x5554ea(0x10c)),scripts=require(a1_0x5554ea(0x143)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x5554ea(0x193)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x5554ea(0x188)),testHubConstants=require(a1_0x5554ea(0xe6)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x5554ea(0xd4),a1_0x5554ea(0xce)),CodeceptUtils=requireModule(a1_0x5554ea(0xeb),'codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x5554ea(0xce)),CodeceptRecorder=requireModule(a1_0x5554ea(0xd8),a1_0x5554ea(0xce)),CodeceptPlaywright=requireModule(a1_0x5554ea(0x19d),'codeceptjs'),playwrightMarkSessionStatus=(_0x1e13f8,_0x3408b8,_0x54285e)=>{const _0x4a66b1=a1_0x5554ea,_0x3da4a0={'uIvvW':_0x4a66b1(0xf7),'KvUci':function(_0x33eb2e,_0x3b5be0){return _0x33eb2e(_0x3b5be0);}},_0x3f2ae7={};_0x3f2ae7[_0x4a66b1(0x1b2)]=_0x3408b8;const _0x48f6f5={};_0x48f6f5['action']=_0x3da4a0[_0x4a66b1(0x1b6)],_0x48f6f5[_0x4a66b1(0x141)]=_0x3f2ae7;const _0x3a57e5=_0x48f6f5;return!_0x3da4a0['KvUci'](isUndefined,_0x54285e)&&(_0x3a57e5[_0x4a66b1(0x141)][_0x4a66b1(0x1c9)]=JSON[_0x4a66b1(0x10a)](_0x54285e)),_0x1e13f8[_0x4a66b1(0xd9)](()=>{},_0x4a66b1(0x1c3)+JSON[_0x4a66b1(0x10a)](_0x3a57e5));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x5554ea(0x185)],async _0x487221=>{const _0x12f1a5=a1_0x5554ea,_0x35080b={};_0x35080b[_0x12f1a5(0x1b1)]=function(_0x413f7c,_0x2a6882){return _0x413f7c===_0x2a6882;},_0x35080b[_0x12f1a5(0x1ae)]=_0x12f1a5(0x15c);const _0x59ec40=_0x35080b;_0x59ec40['HGdJo'](_0x487221[_0x12f1a5(0x116)]['name'],_0x59ec40['MipDN'])?await _0x487221['executeScript'](_0x1ddd03=>{},testOpsHelper['getSyncScript']()):await _0x487221[_0x12f1a5(0xd9)](testOpsHelper[_0x12f1a5(0xed)]());}),markSessionName=PerformanceTester[a1_0x5554ea(0xea)](PerformanceAutEvents[a1_0x5554ea(0x1aa)],async(_0x1232e2,_0x172313)=>{const _0xd2f033=a1_0x5554ea,_0x52a753={};_0x52a753['yWEfS']=_0xd2f033(0x12c),_0x52a753[_0xd2f033(0xe8)]=function(_0xf65764,_0x57f75c){return _0xf65764===_0x57f75c;},_0x52a753['mcPNX']=_0xd2f033(0x15c);const _0x537f1e=_0x52a753,_0xb1b1d1={};_0xb1b1d1[_0xd2f033(0x10d)]=_0x172313;const _0x4900c1={};_0x4900c1[_0xd2f033(0xe4)]=_0x537f1e[_0xd2f033(0x17c)],_0x4900c1[_0xd2f033(0x141)]=_0xb1b1d1;const _0x3afbd9=_0x4900c1;_0x537f1e[_0xd2f033(0xe8)](_0x1232e2[_0xd2f033(0x116)][_0xd2f033(0x10d)],_0x537f1e[_0xd2f033(0x19e)])?await _0x1232e2[_0xd2f033(0xd9)](()=>{},_0xd2f033(0x1c3)+JSON[_0xd2f033(0x10a)](_0x3afbd9)):await _0x1232e2[_0xd2f033(0xd9)](_0xd2f033(0x1c3)+JSON[_0xd2f033(0x10a)](_0x3afbd9));}),patchSaveScreenshot=_0x197497=>{const _0x3185e1=a1_0x5554ea,_0x1fbd04={'Pldkf':_0x3185e1(0x161),'OlrXG':_0x3185e1(0x1c6),'WPAch':function(_0x6b782e){return _0x6b782e();},'FQzfH':function(_0x485480,_0x34ca62){return _0x485480(_0x34ca62);},'mKaKD':_0x3185e1(0x16a),'FmoTe':function(_0x29f137,_0x1cb0bc){return _0x29f137(_0x1cb0bc);}};_0x1fbd04[_0x3185e1(0x1a7)](isTrue,process[_0x3185e1(0x1ab)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x197497[_0x3185e1(0x139)]&&(_0x197497[_0x3185e1(0x139)]=!![],_0x197497['initSaveScreenshot']=_0x197497[_0x3185e1(0x17d)],_0x197497[_0x3185e1(0x17d)]=(_0x90b6ba,_0x265958=![])=>{const _0x3589b6=_0x3185e1,_0x11aa84={'Ahjgb':_0x1fbd04[_0x3589b6(0x111)],'TGzXy':_0x1fbd04[_0x3589b6(0xf6)],'ecSkE':function(_0x754367){return _0x1fbd04['WPAch'](_0x754367);},'lByVJ':function(_0xcaf2d2,_0x1bf1d4){return _0x1fbd04['FQzfH'](_0xcaf2d2,_0x1bf1d4);},'Uaimf':_0x1fbd04[_0x3589b6(0xdc)]};return new Promise(function(_0x18a86b,_0x3db0e4){const _0x56e224=_0x3589b6;_0x197497[_0x56e224(0x14f)](_0x90b6ba,_0x265958)[_0x56e224(0x146)](()=>{const _0x4cac0a=_0x56e224,_0x46a3da=CodeceptUtils['screenshotOutputFolder'](_0x90b6ba);if(_0x46a3da){const _0x308836=fs['readFileSync'](_0x46a3da);process[_0x4cac0a(0x145)](_0x4cac0a(0x151)+process[_0x4cac0a(0x197)],{'timestamp':new Date()[_0x4cac0a(0x19b)](),'message':_0x308836[_0x4cac0a(0x18a)](_0x11aa84[_0x4cac0a(0x107)]),'kind':_0x11aa84[_0x4cac0a(0x13d)]}),_0x11aa84[_0x4cac0a(0x155)](_0x18a86b);}_0x11aa84[_0x4cac0a(0x109)](_0x3db0e4,new Error(_0x11aa84[_0x4cac0a(0x11c)]));})[_0x56e224(0x163)](()=>null);});});},patchWebDriverBefore=_0x5a2a40=>{const _0x7d8df9=a1_0x5554ea,_0x7ce34f={'Kevuj':function(_0x5a0dad){return _0x5a0dad();},'bSkdX':function(_0x1eebd7,_0x5c6bbf){return _0x1eebd7(_0x5c6bbf);},'oaCqJ':function(_0x5e13a6,_0x351932){return _0x5e13a6===_0x351932;},'TCGuh':'webdriverio','HsnyM':_0x7d8df9(0xf9),'RtzsF':function(_0xb3c54d,_0x2796d4){return _0xb3c54d===_0x2796d4;},'JxLRr':'Element','MeZVn':function(_0x148b39,_0x3dbc8a){return _0x148b39(_0x3dbc8a);}},_0x15f0cc=async function(_0x4dcb1e,_0x2ae8d3){const _0x4b6bcd=_0x7d8df9;_0x7ce34f[_0x4b6bcd(0x132)](isAccessibilityAutomationSession)&&!global[_0x4b6bcd(0x1bd)]&&global[_0x4b6bcd(0x191)]&&scripts[_0x4b6bcd(0xe5)](_0x4dcb1e['name'])&&_0x7ce34f[_0x4b6bcd(0xd3)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4b6bcd(0x1bd)]=!![],await PerformanceTester[_0x4b6bcd(0xea)](PerformanceA11yEvents[_0x4b6bcd(0x138)],async()=>{const _0x5e36ab=_0x4b6bcd;logger[_0x5e36ab(0x194)](_0x5e36ab(0x173)+_0x4dcb1e[_0x5e36ab(0x126)]+'\x20'+_0x4dcb1e['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x5a2a40,scripts[_0x5e36ab(0x106)]);},{'command':_0x4dcb1e['name']})());global[_0x4b6bcd(0x1bd)]=![];const _0x49bc1f=JSON['parse'](process[_0x4b6bcd(0x1ab)]['FRAMEWORK_DETAILS']||'{}');if(_0x7ce34f[_0x4b6bcd(0xd5)](_0x49bc1f?.[_0x4b6bcd(0xf3)]?.[_0x4b6bcd(0x10d)],_0x7ce34f[_0x4b6bcd(0x15a)])&&_0x7ce34f[_0x4b6bcd(0xd5)](typeof _0x49bc1f?.['testFramework']?.['version'],_0x7ce34f[_0x4b6bcd(0x183)])&&_0x49bc1f?.[_0x4b6bcd(0xf3)]?.[_0x4b6bcd(0xe7)]['startsWith']('7'))return _0x2ae8d3[_0x4b6bcd(0x12f)](null,Array[_0x4b6bcd(0x15d)][_0x4b6bcd(0x11b)]['call'](arguments,0x2));return _0x2ae8d3[_0x4b6bcd(0x12f)](this,Array[_0x4b6bcd(0x15d)]['slice'][_0x4b6bcd(0x17e)](arguments,0x2));},_0x5691d4=CodeceptWebDriver['prototype'][_0x7d8df9(0x176)];CodeceptWebDriver[_0x7d8df9(0x15d)]['_before']=async function(){const _0x20dd3c=_0x7d8df9,_0x2efaaf={'ecTlq':function(_0x21fc61,_0x54b985){return _0x7ce34f['RtzsF'](_0x21fc61,_0x54b985);},'OdEci':_0x7ce34f[_0x20dd3c(0xf4)]};try{await _0x5691d4[_0x20dd3c(0x12f)](this,arguments);}catch(_0x5f51db){logger[_0x20dd3c(0x194)](_0x20dd3c(0x196)+util[_0x20dd3c(0x1be)](_0x5f51db));}scripts[_0x20dd3c(0x16b)][_0x20dd3c(0x1c2)](_0x32a9a7=>_0x32a9a7['name']&&_0x32a9a7[_0x20dd3c(0x126)])[_0x20dd3c(0x164)](_0x3e9b86=>{const _0x3ae5b7=_0x20dd3c;this[_0x3ae5b7(0x1c4)]['overwriteCommand'](_0x3e9b86[_0x3ae5b7(0x10d)],_0x15f0cc[_0x3ae5b7(0x174)](this,_0x3e9b86),_0x2efaaf[_0x3ae5b7(0x1a0)](_0x3e9b86[_0x3ae5b7(0x126)],_0x2efaaf[_0x3ae5b7(0xf8)]));}),_0x7ce34f[_0x20dd3c(0xfe)](processWebDriverConfig,_0x5a2a40);};};function a1_0x50a3(){const _0x8d6361=['startsWith','OHhQX','SDK_PRE_TEST','passed','SDK_PRE_INITIALIZE','UZUiz','aYwTp','parse','initSaveScreenshot','started','bs:addLog:','patch','a11y_core_config','WeAhs','ecSkE','jRAgR','oPNSU','__skipSessionStatus','test-failed','TCGuh','stopMonitoring','Playwright','prototype','\x0aStack:\x20','from','../../helpers/test-observability/utils','base64','Puppeteer','catch','forEach','_setPage','SDK_POST_INITIALIZE','MkpLn','end','BROWSERSTACK_TESTHUB_JWT','Screenshot\x20path\x20not\x20found','commandsToWrap','QRnlv','nNuwP','mhiUz','jRwPS','start','4UjmKzq','GET_RESULTS','Performing\x20scan\x20for\x20','bind','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','_before','sWrEO','helpers','ONfPg','test-passed','VVpnH','yWEfS','saveScreenshot','call','QDXeK','find','hookType','command','HsnyM','bddStepFinish','SYNC','captureError','bddStep','./helper.js','72546FMAONV','toString','title','bddStep-before','TEST_RUN_SKIPPED','TEST_RUN_FINISHED','SDK_POST_TEST','domForge','accessibilityPlatform','KOGBN','../../helpers/performance/constants','debug','getAccessibilityResults','Failed\x20to\x20execute\x20_before:\x20','pid','YVRZF','VMzUk','GASID','toISOString','Suite','codeceptjs/lib/helper/Playwright.js','mcPNX','setGlobal','ecTlq','INFO','EoKST','../../helpers/helper','HOOK_RUN_STARTED','JWWkz','url','FmoTe','getResultsSummary','SDK_TEST','SESSION_NAME','env','95oQlYtF','679990NMUhhu','MipDN','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','wZtYL','HGdJo','status','./o11yHelper','bddStepStart','SDK_HOOK','uIvvW','chromium','test-started','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','browserStackExecuteDriver','--auto-open-devtools-for-tabs','64204LvsoWK','bstackAllyScanning','format','exports','DcXIx','KJnWf','filter','browserstack_executor:\x20','browser','devtools://','TEST_SCREENSHOT','EEJDi','message','reason','TestCafe','codeceptjs','test','XZFLp','warn','UGxni','bSkdX','codeceptjs/lib/index.js','oaCqJ','cgMYq','SAPLI','codeceptjs/lib/recorder.js','executeScript','getAccessibilityResultsSummary','Kaykj','mKaKD','addRequestSpy','__workerDetails','push','add','all','3293455eoMSEl','bddStep-after','action','shouldWrapCommand','../../helpers/testhub/constants.js','version','rNDoL','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','measureWrapper','codeceptjs/lib/utils.js','captureEvent','getSyncScript','container','before','step-comment','__driver','../../helpers/request-spy','testFramework','JxLRr','vSdsS','OlrXG','setSessionStatus','OdEci','string','args','DyIwO','hook-passed','TSJUN','MeZVn','skipSessionStatus','qRZQH','ctx','skipSessionName','test-before','after','UMjBR','performScan','Ahjgb','thJwtToken','lByVJ','stringify','BS_A11Y_JWT','../../bin/playwright/accessibility-helper','name','TEST_RUN_STARTED','pages','JwZRT','Pldkf','config','7RUoxwo','ENV_VAR','page','constructor','thTestRunUuid','Xmqxz','split','stack','slice','Uaimf','mOGBH','195BuvXNQ','hook','iNgII','dOUUO','fireEvent','WIdHj','hCUkG','browserContext','class','3568UyEyAi','contexts','dispatcher','hook-failed','failed','setSessionName','restore','WebDriver','apply','testAnalyticsId','enabled','Kevuj','../../helpers/logger','SESSION_STATUS','657459zQbZHj','hoZTD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','PERFORM_SCAN','patchSaveScreenshot','isMobilePlatform','NpGWT','event','TGzXy','step','FsMha','HOOK_RUN_FINISHED','arguments','125792wANPqm','../../helpers/accessibility-automation/scripts','bxJXm','emit','then'];a1_0x50a3=function(){return _0x8d6361;};return a1_0x50a3();}function parseJwt(_0x16b2d0){const _0x154b5b=a1_0x5554ea,_0x37672b={};_0x37672b['wzaDQ']=_0x154b5b(0x161);const _0x537de5=_0x37672b;if(!_0x16b2d0)return null;return JSON[_0x154b5b(0x14e)](Buffer[_0x154b5b(0x15f)](_0x16b2d0[_0x154b5b(0x119)]('.')[0x1],_0x537de5['wzaDQ'])['toString']());}const patchPlaywrightBefore=()=>{const _0x3aa41c=a1_0x5554ea,_0x9a0deb={'hoZTD':function(_0x2d1424){return _0x2d1424();},'FsMha':_0x3aa41c(0x1c5),'jRwPS':_0x3aa41c(0x1bb),'UZUiz':function(_0x2af5df,_0x3c0940){return _0x2af5df(_0x3c0940);},'DcXIx':function(_0x3f9ea0,_0x2aaf7){return _0x3f9ea0+_0x2aaf7;},'QRnlv':_0x3aa41c(0x15e)};PlaywrightSessionDetails[_0x3aa41c(0x152)]();const _0x171d45=CodeceptPlaywright[_0x3aa41c(0x15d)][_0x3aa41c(0x176)];CodeceptPlaywright[_0x3aa41c(0x15d)][_0x3aa41c(0x176)]=async function(){const _0x22af87=_0x3aa41c,_0x29430e={'hCUkG':function(_0x54ceec){return _0x9a0deb['hoZTD'](_0x54ceec);},'jRAgR':_0x9a0deb[_0x22af87(0x13f)],'DyIwO':_0x9a0deb[_0x22af87(0x16f)],'sWrEO':function(_0x57d6e1,_0x15e0d8){const _0xe9a567=_0x22af87;return _0x9a0deb[_0xe9a567(0x14c)](_0x57d6e1,_0x15e0d8);},'vSdsS':function(_0x31a527){return _0x9a0deb['hoZTD'](_0x31a527);},'SAPLI':function(_0x35a692,_0x40202d){const _0x4f08e7=_0x22af87;return _0x9a0deb[_0x4f08e7(0x1c0)](_0x35a692,_0x40202d);},'VMzUk':_0x9a0deb[_0x22af87(0x16c)]};this[_0x22af87(0x125)]=await this[_0x22af87(0x1c4)][_0x22af87(0x128)]()[0x0];const _0x47b2f0=async()=>{const _0x499d45=_0x22af87,_0xfdd39f=this[_0x499d45(0x112)]&&this['config']['chromium']&&this[_0x499d45(0x112)][_0x499d45(0x1b7)]['args']&&Array['isArray'](this['config'][_0x499d45(0x1b7)][_0x499d45(0xfa)])&&this[_0x499d45(0x112)][_0x499d45(0x1b7)][_0x499d45(0xfa)]['includes'](_0x29430e[_0x499d45(0xfb)]);if(_0x29430e[_0x499d45(0x124)](isAccessibilityAutomationSession)&&!_0xfdd39f)try{const _0x2021a1=_0x29430e[_0x499d45(0x177)](parseJwt,process[_0x499d45(0x1ab)][_0x499d45(0x10b)]);if(_0x2021a1&&_0x2021a1[_0x499d45(0x153)]&&_0x2021a1['a11y_core_config'][_0x499d45(0x190)]){const _0x2131b0=this[_0x499d45(0x125)]['pages'][_0x499d45(0x174)](this[_0x499d45(0x125)]);this[_0x499d45(0x125)]['pages']=async function(){const _0x522aae=_0x499d45,_0x540a51=await _0x29430e['hCUkG'](_0x2131b0),_0x5406c8=[];for(const _0x36684d of _0x540a51){try{const _0x3130b7=await _0x36684d[_0x522aae(0x1a6)]();!_0x3130b7[_0x522aae(0x147)](_0x29430e[_0x522aae(0x156)])&&_0x5406c8[_0x522aae(0xdf)](_0x36684d);}catch(_0x469c7e){_0x5406c8[_0x522aae(0xdf)](_0x36684d);}}return _0x5406c8;};}if(!_0x29430e[_0x499d45(0xf5)](isBrowserstackInfra)){const _0x572e40=await this[_0x499d45(0x115)][_0x499d45(0x1a6)]();if(_0x572e40['startsWith'](_0x29430e[_0x499d45(0x156)])){const _0x4b0a60=await this[_0x499d45(0x125)][_0x499d45(0x10f)]();this[_0x499d45(0x165)](_0x4b0a60[0x0]);}}}catch(_0x3a992e){logger[_0x499d45(0x194)](_0x499d45(0x1b9)+_0x3a992e[_0x499d45(0x1c8)]+(_0x3a992e['stack']?_0x29430e[_0x499d45(0xd7)](_0x29430e[_0x499d45(0x199)],_0x3a992e[_0x499d45(0x11a)]):''));}};_0x9a0deb['hoZTD'](isBrowserstackInfra)&&await _0x9a0deb[_0x22af87(0x136)](_0x47b2f0),await _0x171d45['apply'](this,arguments),!_0x9a0deb[_0x22af87(0x136)](isBrowserstackInfra)&&await _0x9a0deb[_0x22af87(0x136)](_0x47b2f0);};},getCodeceptDriver=()=>{const _0x4666db=a1_0x5554ea,_0xae01d3={};_0xae01d3[_0x4666db(0x17f)]=_0x4666db(0x12e),_0xae01d3[_0x4666db(0x123)]=_0x4666db(0x15c),_0xae01d3['IGGTP']=_0x4666db(0x162),_0xae01d3[_0x4666db(0x118)]=_0x4666db(0x1ca);const _0x1757cf=_0xae01d3,_0x3c11dd=[_0x1757cf[_0x4666db(0x17f)],_0x1757cf['WIdHj'],_0x1757cf['IGGTP'],_0x1757cf[_0x4666db(0x118)]],_0x272a71=_0x3c11dd[_0x4666db(0x180)](_0x3132c7=>!!CodeceptJS[_0x4666db(0xee)][_0x4666db(0x178)](_0x3132c7));if(!_0x272a71)return null;return CodeceptJS[_0x4666db(0xee)][_0x4666db(0x178)](_0x272a71);};function a1_0x55fb(_0x267647,_0x30dd2c){const _0x50a338=a1_0x50a3();return a1_0x55fb=function(_0x55fbf4,_0x557681){_0x55fbf4=_0x55fbf4-0xce;let _0x5711ac=_0x50a338[_0x55fbf4];return _0x5711ac;},a1_0x55fb(_0x267647,_0x30dd2c);}module[a1_0x5554ea(0x1bf)]=function(_0x4beda8){const _0x35194f=a1_0x5554ea,_0x5fbd2c={'iNgII':function(_0x116f55){return _0x116f55();},'jhuSU':function(_0x477852,_0x2aceab){return _0x477852(_0x2aceab);},'bJIen':_0x35194f(0xda),'PhEfa':_0x35194f(0x137),'KJnWf':_0x35194f(0x195),'EEJDi':_0x35194f(0x175),'nNuwP':'hook-started','NpGWT':_0x35194f(0xfc),'TSJUN':_0x35194f(0x12a),'KOGBN':'browserstackTestName','UMjBR':_0x35194f(0x103),'YVRZF':function(_0x308359,_0x34fb36){return _0x308359(_0x34fb36);},'XZFLp':function(_0x5b953b,_0x22c6b2,_0x3aac9b){return _0x5b953b(_0x22c6b2,_0x3aac9b);},'JWWkz':_0x35194f(0x1b8),'qRZQH':function(_0x12c474,_0x3747dc,_0x5380da){return _0x12c474(_0x3747dc,_0x5380da);},'MkpLn':_0x35194f(0x17a),'EoKST':function(_0x5ed784,_0x3c1379,_0x54a6bf,_0x15fa7c){return _0x5ed784(_0x3c1379,_0x54a6bf,_0x15fa7c);},'rHYwZ':function(_0xea72bd,_0x584d49){return _0xea72bd===_0x584d49;},'XaZzD':_0x35194f(0x19c),'JwZRT':_0x35194f(0x159),'GASID':'test-skipped','UGxni':'afterTest','cgMYq':_0x35194f(0x13a),'nebcD':function(_0x1d389c,_0x2769ce,_0x42c382){return _0x1d389c(_0x2769ce,_0x42c382);},'IgyAo':_0x35194f(0xe9),'THpPU':'test-after','OHhQX':_0x35194f(0x1a1),'dOUUO':'TEST_LOG','GBBhw':_0x35194f(0xf0),'VVpnH':_0x35194f(0x18c),'oPNSU':_0x35194f(0xe3),'Kaykj':function(_0x307e66){return _0x307e66();},'yWBZc':_0x35194f(0x15c)};_0x4beda8[_0x35194f(0xff)]&&(global[_0x35194f(0x158)]=_0x4beda8[_0x35194f(0xff)]);PerformanceTester['startMonitoring']();const _0x5183b6=_0x5fbd2c[_0x35194f(0xdb)](getCodeceptDriver),_0x4ea8ae=new O11yHelper(_0x5183b6,_0x4beda8),_0x3c7f6a=!!CodeceptJS[_0x35194f(0xee)]['helpers'](_0x5fbd2c['yWBZc']);global[_0x35194f(0xf1)]=_0x5183b6,_0x5183b6&&(PerformanceTester[_0x35194f(0xea)](PerformanceEvents[_0x35194f(0x14b)],()=>{const _0x3dd720=_0x35194f;_0x3c7f6a?_0x5fbd2c[_0x3dd720(0x120)](patchPlaywrightBefore):_0x5fbd2c['jhuSU'](patchWebDriverBefore,_0x5183b6);})(),PerformanceTester[_0x35194f(0xea)](PerformanceEvents[_0x35194f(0x166)],()=>{const _0x91e153=_0x35194f,_0x5c488d={};_0x5c488d[_0x91e153(0x16e)]=_0x5fbd2c[_0x91e153(0x1c1)],_0x5c488d[_0x91e153(0x144)]=_0x5fbd2c[_0x91e153(0x1c7)];const _0x30a81a=_0x5c488d;_0x5183b6[_0x91e153(0xda)]=async()=>{const _0x52c620=_0x91e153;if(global['accessibilityPlatform']){const _0x5dfdf3={};return _0x5dfdf3['command']=_0x5fbd2c['bJIen'],await PerformanceTester[_0x52c620(0xea)](PerformanceA11yEvents[_0x52c620(0x138)],async()=>{const _0x518bf8=_0x52c620;return await AccessibilityHelper[_0x518bf8(0x1ba)](_0x5183b6,scripts[_0x518bf8(0x106)]);},_0x5dfdf3)(),await PerformanceTester[_0x52c620(0xea)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x336c1d=_0x52c620;return await AccessibilityHelper[_0x336c1d(0x1ba)](_0x5183b6,scripts[_0x336c1d(0x1a8)]);})();}return logger[_0x52c620(0xd1)](_0x5fbd2c['PhEfa']),{};},_0x5183b6['getAccessibilityResults']=async()=>{const _0x2c546f=_0x91e153;if(global['accessibilityPlatform']){const _0x3758cc={};return _0x3758cc[_0x2c546f(0x182)]=_0x30a81a[_0x2c546f(0x16e)],await PerformanceTester[_0x2c546f(0xea)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2e489d=_0x2c546f;return await AccessibilityHelper[_0x2e489d(0x1ba)](_0x5183b6,scripts['performScan']);},_0x3758cc)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2c546f(0x172)],async()=>{const _0x55c68b=_0x2c546f;return await AccessibilityHelper[_0x55c68b(0x1ba)](_0x5183b6,scripts['getResults']);})();}return logger[_0x2c546f(0xd1)](_0x30a81a[_0x2c546f(0x144)]),{};},_0x5fbd2c['jhuSU'](patchSaveScreenshot,_0x5183b6);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xe1)][_0x35194f(0xef)],()=>{const _0x33a014=_0x35194f;PerformanceTester[_0x33a014(0x170)](PerformanceEvents[_0x33a014(0x149)]);try{_0x4ea8ae[_0x33a014(0x170)](),testOpsHelper[_0x33a014(0xdd)](),PerformanceTester[_0x33a014(0x168)](PerformanceEvents[_0x33a014(0x149)]);}catch(_0x5aa1e5){PerformanceTester[_0x33a014(0x186)](_0x5aa1e5),PerformanceTester[_0x33a014(0x168)](PerformanceEvents[_0x33a014(0x149)],![],_0x5aa1e5);}}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS['event'][_0x35194f(0xe1)][_0x35194f(0x104)],async()=>{const _0x5746ff=_0x35194f;PerformanceTester[_0x5746ff(0x170)](PerformanceEvents[_0x5746ff(0x18f)]);try{requestSpy[_0x5746ff(0x12d)](),await _0x4ea8ae['stop'](),PerformanceTester[_0x5746ff(0x168)](PerformanceEvents[_0x5746ff(0x18f)]);}catch(_0x58f565){PerformanceTester['captureError'](_0x58f565),PerformanceTester['end'](PerformanceEvents[_0x5746ff(0x18f)],![],_0x58f565);}finally{PerformanceTester[_0x5746ff(0x15b)]();}}),CodeceptJS['event'][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x11f)][_0x35194f(0x150)],_0x2ee9d5=>{const _0x197f79=_0x35194f;PerformanceTester[_0x197f79(0x170)](PerformanceEvents['SDK_HOOK']);try{const _0x104b0e=_0x2ee9d5[_0x197f79(0x101)][_0x197f79(0xcf)],_0x3d6cb6=_0x4ea8ae[_0x197f79(0xec)](TEST_EVENTS[_0x197f79(0x1a4)],_0x104b0e);CodeceptRecorder['add'](()=>_0x4ea8ae[_0x197f79(0x122)](TEST_EVENTS[_0x197f79(0x1a4)],_0x3d6cb6));const _0x9c8abe={};_0x9c8abe[_0x197f79(0x181)]=_0x5fbd2c[_0x197f79(0x16d)],PerformanceTester['end'](PerformanceEvents[_0x197f79(0x1b5)],!![],null,_0x9c8abe);}catch(_0x3ab93d){const _0x2cc5fb={};_0x2cc5fb[_0x197f79(0x181)]=_0x5fbd2c[_0x197f79(0x16d)],PerformanceTester['end'](PerformanceEvents[_0x197f79(0x1b5)],![],_0x3ab93d,_0x2cc5fb),PerformanceTester[_0x197f79(0x186)](_0x3ab93d);}}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)]['hook']['passed'],_0x4ea3d1=>{const _0x50c626=_0x35194f,_0xf39849={};_0xf39849[_0x50c626(0x181)]=_0x5fbd2c['NpGWT'],PerformanceTester[_0x50c626(0x170)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xf39849);try{const _0x126251=_0x4ea3d1[_0x50c626(0x101)][_0x50c626(0xcf)],_0x2d1121=_0x4ea8ae[_0x50c626(0xec)](TEST_EVENTS[_0x50c626(0x140)],_0x126251);CodeceptRecorder[_0x50c626(0xe0)](()=>_0x4ea8ae[_0x50c626(0x122)](TEST_EVENTS[_0x50c626(0x140)],_0x2d1121));const _0x2036d0={};_0x2036d0[_0x50c626(0x181)]=_0x5fbd2c['NpGWT'],PerformanceTester[_0x50c626(0x168)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2036d0);}catch(_0x427aaf){PerformanceTester[_0x50c626(0x186)](_0x427aaf);const _0x344b2e={};_0x344b2e[_0x50c626(0x181)]=_0x5fbd2c[_0x50c626(0x13b)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x427aaf,_0x344b2e);}}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x11f)][_0x35194f(0x12b)],async(_0x2ccff2,_0x5bd0da)=>{const _0x26854a=_0x35194f;PerformanceTester[_0x26854a(0x170)](PerformanceHookEvents[_0x26854a(0x1b5)]);try{const _0x51fb3b=_0x2ccff2[_0x26854a(0x101)][_0x26854a(0xcf)],_0x422851=_0x4ea8ae[_0x26854a(0xec)](TEST_EVENTS[_0x26854a(0x140)],_0x51fb3b,_0x5bd0da);CodeceptRecorder[_0x26854a(0xe0)](()=>_0x4ea8ae['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x422851));const _0x36d82a={};_0x36d82a[_0x26854a(0x181)]=_0x5fbd2c['TSJUN'],PerformanceTester[_0x26854a(0x170)](PerformanceHookEvents[_0x26854a(0x1b5)],!![],null,_0x36d82a);}catch(_0x2a6f24){PerformanceTester[_0x26854a(0x186)](_0x2a6f24);const _0x24cd48={};_0x24cd48[_0x26854a(0x181)]=_0x5fbd2c[_0x26854a(0xfd)],PerformanceTester[_0x26854a(0x168)](PerformanceHookEvents[_0x26854a(0x1b5)],![],_0x2a6f24,_0x24cd48);}const _0x175932={};_0x175932[_0x26854a(0x181)]=_0x5fbd2c['TSJUN'],PerformanceTester[_0x26854a(0x168)](PerformanceHookEvents[_0x26854a(0x1b5)],!![],null,_0x175932);}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)][_0x35194f(0xef)],_0x5035c9=>{const _0x4c91ce=_0x35194f;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x4c91ce(0x19f)](_0x5fbd2c[_0x4c91ce(0x192)],_0x5035c9[_0x4c91ce(0x18b)]);_0x5fbd2c[_0x4c91ce(0x120)](isBrowserstackInfra)&&(_0x3c7f6a&&(global[_0x4c91ce(0xde)]={'currentTest':{'name':_0x5035c9['title'],'testInfo':{'titlePath':_0x5035c9['titlePath']()}}}));const _0x11ec4e={};_0x11ec4e[_0x4c91ce(0x181)]=_0x5fbd2c[_0x4c91ce(0x105)],PerformanceTester[_0x4c91ce(0x168)](PerformanceHookEvents[_0x4c91ce(0x1b5)],!![],null,_0x11ec4e);}catch(_0x5c0a9d){PerformanceTester[_0x4c91ce(0x186)](_0x5c0a9d);const _0x1c733a={};_0x1c733a[_0x4c91ce(0x181)]=_0x5fbd2c[_0x4c91ce(0x105)],PerformanceTester['end'](PerformanceHookEvents[_0x4c91ce(0x1b5)],![],_0x5c0a9d,_0x1c733a);}}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)][_0x35194f(0x150)],_0xac139d=>{const _0x278b0f=_0x35194f,_0x9fa2dd={'KcocG':function(_0x28111a){const _0x15f752=a1_0x55fb;return _0x5fbd2c[_0x15f752(0x120)](_0x28111a);},'wZtYL':function(_0x369cd2,_0x21fd38){const _0x11e2e5=a1_0x55fb;return _0x5fbd2c[_0x11e2e5(0x198)](_0x369cd2,_0x21fd38);},'WNAZl':function(_0x582851,_0x242874,_0xd2d7ee){const _0x22f65f=a1_0x55fb;return _0x5fbd2c[_0x22f65f(0xd0)](_0x582851,_0x242874,_0xd2d7ee);}};PerformanceTester[_0x278b0f(0x170)](PerformanceHookEvents[_0x278b0f(0x1b5)]);try{globals['setGlobal'](_0x5fbd2c[_0x278b0f(0x192)],_0xac139d[_0x278b0f(0x18b)]);const _0x57bd09=_0x4ea8ae['captureEvent'](TEST_EVENTS[_0x278b0f(0x10e)],_0xac139d);CodeceptRecorder[_0x278b0f(0xe0)](()=>_0x4ea8ae['fireEvent'](TEST_EVENTS[_0x278b0f(0x10e)],_0x57bd09)),CodeceptRecorder['add'](async()=>{const _0x110f04=_0x278b0f;_0x9fa2dd['KcocG'](isBrowserstackInfra)&&(!_0x9fa2dd[_0x110f04(0x1b0)](isTrue,_0x4beda8[_0x110f04(0x102)])&&await _0x9fa2dd['WNAZl'](markSessionName,_0x5183b6,_0xac139d[_0x110f04(0x18b)]),_0x4ea8ae[_0x110f04(0x131)]&&await _0x9fa2dd[_0x110f04(0x1b0)](o11ySync,_0x5183b6));});}catch(_0x4d72f7){const _0x33d66b={};_0x33d66b[_0x278b0f(0x181)]=_0x5fbd2c['JWWkz'],PerformanceTester['end'](PerformanceHookEvents[_0x278b0f(0x1b5)],![],_0x4d72f7,_0x33d66b),PerformanceTester[_0x278b0f(0x186)](_0x4d72f7);}const _0x3d4e99={};_0x3d4e99[_0x278b0f(0x181)]=_0x5fbd2c[_0x278b0f(0x1a5)],PerformanceTester[_0x278b0f(0x168)](PerformanceHookEvents[_0x278b0f(0x1b5)],!![],null,_0x3d4e99);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)][_0x35194f(0x14a)],_0x3c238b=>{const _0x7721b8=_0x35194f,_0x1d1bb3={'mOGBH':function(_0x30d0c4,_0x56402b,_0x1f0731){const _0x3dd8cd=a1_0x55fb;return _0x5fbd2c[_0x3dd8cd(0x100)](_0x30d0c4,_0x56402b,_0x1f0731);},'WeAhs':function(_0x4c2117){const _0x244225=a1_0x55fb;return _0x5fbd2c[_0x244225(0x120)](_0x4c2117);}};PerformanceTester[_0x7721b8(0x170)](PerformanceHookEvents[_0x7721b8(0x1b5)]);try{const _0x34d012=_0x4ea8ae['captureEvent'](TEST_EVENTS[_0x7721b8(0x18e)],_0x3c238b);CodeceptRecorder[_0x7721b8(0xe0)](()=>_0x4ea8ae[_0x7721b8(0x122)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x34d012)),CodeceptRecorder[_0x7721b8(0xe0)](async()=>{const _0xf3cb17=_0x7721b8,_0x321602={'aYwTp':function(_0x590c23,_0x33c0b6,_0x33ae50){const _0x2d316c=a1_0x55fb;return _0x1d1bb3[_0x2d316c(0x11d)](_0x590c23,_0x33c0b6,_0x33ae50);}};_0x1d1bb3[_0xf3cb17(0x154)](isBrowserstackInfra)&&await PerformanceTester[_0xf3cb17(0xea)](PerformanceAutEvents[_0xf3cb17(0x134)],async()=>{const _0x4aef8e=_0xf3cb17;_0x3c7f6a?await _0x321602[_0x4aef8e(0x14d)](playwrightMarkSessionStatus,_0x5183b6,STATE_PASSED):await _0x321602[_0x4aef8e(0x14d)](markSessionStatus,_0x5183b6,STATE_PASSED);})();}),PerformanceTester[_0x7721b8(0x168)](PerformanceEvents[_0x7721b8(0x1a9)]);}catch(_0x1aca0c){PerformanceTester[_0x7721b8(0x186)](_0x1aca0c);const _0x400e88={};_0x400e88['hookType']=_0x5fbd2c[_0x7721b8(0x167)],PerformanceTester[_0x7721b8(0x168)](PerformanceHookEvents['SDK_HOOK'],![],_0x1aca0c,_0x400e88),PerformanceTester[_0x7721b8(0x168)](PerformanceEvents[_0x7721b8(0x1a9)],![],_0x1aca0c);}const _0x369713={};_0x369713['hookType']=_0x5fbd2c[_0x7721b8(0x167)],PerformanceTester[_0x7721b8(0x168)](PerformanceHookEvents[_0x7721b8(0x1b5)],!![],null,_0x369713);}),CodeceptJS[_0x35194f(0x13c)]['dispatcher']['on'](CodeceptJS[_0x35194f(0x13c)]['test'][_0x35194f(0x12b)],(_0x4a9e66,_0x55494f)=>{const _0x4fddd5=_0x35194f,_0x449841={'oreMd':function(_0x4efbf5){const _0x15d236=a1_0x55fb;return _0x5fbd2c[_0x15d236(0x120)](_0x4efbf5);},'ONfPg':function(_0x192234,_0x571722,_0x545e19,_0x2892b7){const _0x40500c=a1_0x55fb;return _0x5fbd2c[_0x40500c(0x1a2)](_0x192234,_0x571722,_0x545e19,_0x2892b7);},'VdJrc':function(_0x25b4c9,_0x2246d2,_0x5705b5,_0x5b3839){const _0x2d4ebf=a1_0x55fb;return _0x5fbd2c[_0x2d4ebf(0x1a2)](_0x25b4c9,_0x2246d2,_0x5705b5,_0x5b3839);}};PerformanceTester[_0x4fddd5(0x170)](PerformanceHookEvents[_0x4fddd5(0x1b5)]);try{if(_0x5fbd2c['rHYwZ'](_0x4a9e66[_0x4fddd5(0x116)][_0x4fddd5(0x10d)],_0x5fbd2c['XaZzD'])){const _0x4f6e6=_0x4ea8ae[_0x4fddd5(0xec)](TEST_EVENTS[_0x4fddd5(0x18d)],_0x4a9e66[_0x4fddd5(0x101)]['currentTest']);CodeceptRecorder[_0x4fddd5(0xe0)](()=>_0x4ea8ae[_0x4fddd5(0x122)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4f6e6));}else{const _0x232b53=_0x4ea8ae[_0x4fddd5(0xec)](TEST_EVENTS[_0x4fddd5(0x18e)],_0x4a9e66,_0x55494f);CodeceptRecorder[_0x4fddd5(0xe0)](()=>{const _0x3da921=_0x4fddd5;try{_0x4ea8ae[_0x3da921(0x122)](TEST_EVENTS[_0x3da921(0x18e)],_0x232b53);}catch(_0xc6b28e){logger[_0x3da921(0x194)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x3da921(0x1be)](_0xc6b28e)),PerformanceTester[_0x3da921(0x168)](PerformanceEvents['SDK_TEST'],![],_0xc6b28e);}}),CodeceptRecorder[_0x4fddd5(0xe0)](async()=>{const _0x41b4b7=_0x4fddd5;try{_0x449841['oreMd'](isBrowserstackInfra)&&(_0x3c7f6a?await _0x449841[_0x41b4b7(0x179)](playwrightMarkSessionStatus,_0x5183b6,STATE_FAILED,_0x55494f):await _0x449841['VdJrc'](markSessionStatus,_0x5183b6,STATE_FAILED,_0x55494f));}catch(_0x46b0b7){logger[_0x41b4b7(0x194)](_0x41b4b7(0x1af)+util[_0x41b4b7(0x1be)](_0x46b0b7)),PerformanceTester[_0x41b4b7(0x168)](PerformanceEvents['SDK_TEST'],![],_0x46b0b7);}});}PerformanceTester['end'](PerformanceEvents[_0x4fddd5(0x1a9)]);}catch(_0x8f8cc6){PerformanceTester[_0x4fddd5(0x186)](_0x8f8cc6);const _0x99b2ca={};_0x99b2ca[_0x4fddd5(0x181)]=_0x5fbd2c['JwZRT'],PerformanceTester[_0x4fddd5(0x168)](PerformanceHookEvents[_0x4fddd5(0x1b5)],![],_0x8f8cc6,_0x99b2ca),PerformanceTester['end'](PerformanceEvents[_0x4fddd5(0x1a9)],![],_0x8f8cc6);}const _0xcab982={};_0xcab982[_0x4fddd5(0x181)]=_0x5fbd2c[_0x4fddd5(0x110)],PerformanceTester['end'](PerformanceHookEvents[_0x4fddd5(0x1b5)],!![],null,_0xcab982);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)]['skipped'],_0x502f0b=>{const _0x36afca=_0x35194f;PerformanceTester[_0x36afca(0x170)](PerformanceHookEvents['SDK_HOOK']);try{const _0x119f1e=_0x4ea8ae[_0x36afca(0xec)](TEST_EVENTS[_0x36afca(0x18d)],_0x502f0b);CodeceptRecorder[_0x36afca(0xe0)](()=>_0x4ea8ae['fireEvent'](TEST_EVENTS[_0x36afca(0x18d)],_0x119f1e)),PerformanceTester[_0x36afca(0x168)](PerformanceEvents[_0x36afca(0x1a9)]);}catch(_0x3c289e){PerformanceTester[_0x36afca(0x186)](_0x3c289e),PerformanceTester[_0x36afca(0x168)](PerformanceEvents[_0x36afca(0x1a9)],![],_0x3c289e);const _0x2d8f7e={};_0x2d8f7e[_0x36afca(0x181)]=_0x5fbd2c[_0x36afca(0x19a)],PerformanceTester[_0x36afca(0x168)](PerformanceHookEvents[_0x36afca(0x1b5)],![],_0x3c289e,_0x2d8f7e);}const _0x1b76f5={};_0x1b76f5[_0x36afca(0x181)]=_0x5fbd2c['GASID'],PerformanceTester[_0x36afca(0x168)](PerformanceHookEvents[_0x36afca(0x1b5)],!![],null,_0x1b76f5);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0xcf)]['after'],async(_0x278392,_0x528604)=>{const _0x22ed02=_0x35194f;try{PerformanceTester[_0x22ed02(0x170)](PerformanceHookEvents['SDK_HOOK']);const _0x18fe8d=_0x5fbd2c['nebcD'](shouldScanTestForAccessibility,_0x278392['titlePath'](),!![]);if(_0x5fbd2c['iNgII'](isAccessibilityAutomationSession)&&global[_0x22ed02(0x191)]&&_0x18fe8d){const _0x42e103={};_0x42e103[_0x22ed02(0x117)]=_0x278392[_0x22ed02(0x130)],_0x42e103['thBuildUuid']=process[_0x22ed02(0x1ab)][testHubConstants[_0x22ed02(0x114)]['BROWSERSTACK_TESTHUB_UUID']],_0x42e103[_0x22ed02(0x108)]=process['env'][testHubConstants[_0x22ed02(0x114)][_0x22ed02(0x169)]];const _0x3d51c9=_0x42e103;logger[_0x22ed02(0x194)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x22ed02(0x10a)](_0x3d51c9)),CodeceptRecorder[_0x22ed02(0xe0)](async()=>{const _0x23c4fb=_0x22ed02,_0x368027={};_0x368027[_0x23c4fb(0x182)]=_0x5fbd2c[_0x23c4fb(0xd2)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x17ca42=_0x23c4fb;await AccessibilityHelper['browserStackExecuteDriver'](_0x5183b6,scripts[_0x17ca42(0x106)]);},_0x368027)(),globals['getGlobal'](_0x5fbd2c[_0x23c4fb(0xd6)])&&(_0x3d51c9['is_mobile_session']=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x5183b6,scripts['saveTestResults'],_0x3d51c9);})();}),logger['info'](_0x5fbd2c['IgyAo']);}const _0x1a0bb1={};_0x1a0bb1['hookType']=_0x5fbd2c['THpPU'],PerformanceTester[_0x22ed02(0x168)](PerformanceHookEvents[_0x22ed02(0x1b5)],!![],null,_0x1a0bb1);}catch(_0x29ef52){PerformanceTester[_0x22ed02(0x186)](_0x29ef52);const _0x153b3f={};_0x153b3f[_0x22ed02(0x181)]=_0x5fbd2c['THpPU'],PerformanceTester[_0x22ed02(0x168)](PerformanceHookEvents[_0x22ed02(0x1b5)],![],_0x29ef52,_0x153b3f);}}),CodeceptJS['event'][_0x35194f(0x129)]['on'](CodeceptJS['event'][_0x35194f(0x13e)]['comment'],_0x5a3fe4=>{const _0x2075b6=_0x35194f;PerformanceTester[_0x2075b6(0x170)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x2075b6(0x145)](_0x2075b6(0x151)+process[_0x2075b6(0x197)],{'timestamp':new Date()[_0x2075b6(0x19b)](),'level':_0x5fbd2c[_0x2075b6(0x148)],'message':_0x5a3fe4,'kind':_0x5fbd2c[_0x2075b6(0x121)],'http_response':{}});}catch(_0x5c8258){PerformanceTester['captureError'](_0x5c8258);const _0x1625ad={};_0x1625ad[_0x2075b6(0x181)]=_0x5fbd2c['GBBhw'],PerformanceTester[_0x2075b6(0x168)](PerformanceHookEvents['SDK_HOOK'],![],_0x5c8258,_0x1625ad);}const _0x2e3026={};_0x2e3026[_0x2075b6(0x181)]=_0x5fbd2c['GBBhw'],PerformanceTester[_0x2075b6(0x168)](PerformanceHookEvents[_0x2075b6(0x1b5)],!![],null,_0x2e3026);}),CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x129)]['on'](CodeceptJS[_0x35194f(0x13c)][_0x35194f(0x187)][_0x35194f(0xef)],_0x42380a=>{const _0x10650c=_0x35194f,_0x5b6a22={};_0x5b6a22[_0x10650c(0x181)]=_0x5fbd2c[_0x10650c(0x17b)],PerformanceTester[_0x10650c(0xea)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x26299e=_0x10650c;_0x4ea8ae[_0x26299e(0x1b4)](_0x42380a);},_0x5b6a22)();}),CodeceptJS['event'][_0x35194f(0x129)]['on'](CodeceptJS['event'][_0x35194f(0x187)][_0x35194f(0x104)],_0x1498ce=>{const _0x35c93c=_0x35194f,_0x33b236={};_0x33b236[_0x35c93c(0x181)]=_0x5fbd2c[_0x35c93c(0x157)],PerformanceTester[_0x35c93c(0xea)](PerformanceHookEvents[_0x35c93c(0x1b5)],()=>{const _0x4bfc2b=_0x35c93c;_0x4ea8ae[_0x4bfc2b(0x184)](_0x1498ce);},_0x33b236)();});};
1
+ const a1_0x1a3cdf=a1_0xc5db;function a1_0xc5db(_0x5403ce,_0x43f864){const _0x2f126c=a1_0x2f12();return a1_0xc5db=function(_0xc5db2a,_0x10ece9){_0xc5db2a=_0xc5db2a-0x1a8;let _0x9d03ea=_0x2f126c[_0xc5db2a];return _0x9d03ea;},a1_0xc5db(_0x5403ce,_0x43f864);}(function(_0x5b98a3,_0x1edd83){const _0x2f191c=a1_0xc5db,_0x57f04f=_0x5b98a3();while(!![]){try{const _0x282269=-parseInt(_0x2f191c(0x1b8))/0x1+-parseInt(_0x2f191c(0x290))/0x2*(-parseInt(_0x2f191c(0x2a0))/0x3)+-parseInt(_0x2f191c(0x271))/0x4+parseInt(_0x2f191c(0x270))/0x5+parseInt(_0x2f191c(0x260))/0x6+-parseInt(_0x2f191c(0x282))/0x7+parseInt(_0x2f191c(0x227))/0x8*(-parseInt(_0x2f191c(0x20b))/0x9);if(_0x282269===_0x1edd83)break;else _0x57f04f['push'](_0x57f04f['shift']());}catch(_0x26858a){_0x57f04f['push'](_0x57f04f['shift']());}}}(a1_0x2f12,0xde65e));const fs=require('fs'),util=require(a1_0x1a3cdf(0x1e3)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x1a3cdf(0x2a5)),logger=require('../../helpers/logger')[a1_0x1a3cdf(0x234)],testOpsHelper=require(a1_0x1a3cdf(0x28d)),requestSpy=require(a1_0x1a3cdf(0x206)),PlaywrightSessionDetails=require(a1_0x1a3cdf(0x1d8)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x1a3cdf(0x28a)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x1a3cdf(0x299)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x1a3cdf(0x1c9)),globals=require(a1_0x1a3cdf(0x1aa)),CodeceptJS=requireModule(a1_0x1a3cdf(0x1c1),a1_0x1a3cdf(0x2a6)),CodeceptUtils=requireModule(a1_0x1a3cdf(0x283),a1_0x1a3cdf(0x2a6)),CodeceptWebDriver=requireModule(a1_0x1a3cdf(0x1f1),a1_0x1a3cdf(0x2a6)),CodeceptRecorder=requireModule(a1_0x1a3cdf(0x26f),'codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x1a3cdf(0x2a6)),playwrightMarkSessionStatus=(_0x21adbf,_0x25095f,_0x3839c6)=>{const _0x3b3a32=a1_0x1a3cdf,_0x4c3d4f={'CovJq':_0x3b3a32(0x1a8),'oWmxA':function(_0x4b35f7,_0x51152a){return _0x4b35f7(_0x51152a);}},_0x566a13={};_0x566a13[_0x3b3a32(0x223)]=_0x25095f;const _0x1ec289={};_0x1ec289[_0x3b3a32(0x263)]=_0x4c3d4f[_0x3b3a32(0x1d4)],_0x1ec289['arguments']=_0x566a13;const _0x1d27ad=_0x1ec289;return!_0x4c3d4f['oWmxA'](isUndefined,_0x3839c6)&&(_0x1d27ad[_0x3b3a32(0x28f)][_0x3b3a32(0x210)]=JSON[_0x3b3a32(0x1ae)](_0x3839c6)),_0x21adbf[_0x3b3a32(0x262)](()=>{},_0x3b3a32(0x1da)+JSON[_0x3b3a32(0x1ae)](_0x1d27ad));},o11ySync=PerformanceTester[a1_0x1a3cdf(0x25c)](PerformanceO11yEvents[a1_0x1a3cdf(0x20f)],async _0xe3ded4=>{const _0x24e0b4=a1_0x1a3cdf,_0x20ab39={};_0x20ab39[_0x24e0b4(0x200)]=function(_0x122acc,_0x288750){return _0x122acc===_0x288750;},_0x20ab39[_0x24e0b4(0x1fb)]='Playwright';const _0x12ed25=_0x20ab39;_0x12ed25['HJloW'](_0xe3ded4['constructor'][_0x24e0b4(0x238)],_0x12ed25[_0x24e0b4(0x1fb)])?await _0xe3ded4[_0x24e0b4(0x262)](_0x4d79c9=>{},testOpsHelper['getSyncScript']()):await _0xe3ded4[_0x24e0b4(0x262)](testOpsHelper[_0x24e0b4(0x24d)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x1a3cdf(0x1e1)],async(_0x2692d3,_0x2d5ad7)=>{const _0x13ec11=a1_0x1a3cdf,_0x560ea5={};_0x560ea5['nWTsi']='setSessionName',_0x560ea5[_0x13ec11(0x21a)]=function(_0x591637,_0x298eb1){return _0x591637===_0x298eb1;},_0x560ea5[_0x13ec11(0x228)]=_0x13ec11(0x29f);const _0x15cd3f=_0x560ea5,_0x3b1f1e={};_0x3b1f1e[_0x13ec11(0x238)]=_0x2d5ad7;const _0x1b5d55={};_0x1b5d55[_0x13ec11(0x263)]=_0x15cd3f[_0x13ec11(0x28c)],_0x1b5d55[_0x13ec11(0x28f)]=_0x3b1f1e;const _0x35b9a2=_0x1b5d55;_0x15cd3f[_0x13ec11(0x21a)](_0x2692d3[_0x13ec11(0x1b6)]['name'],_0x15cd3f[_0x13ec11(0x228)])?await _0x2692d3['executeScript'](()=>{},_0x13ec11(0x1da)+JSON[_0x13ec11(0x1ae)](_0x35b9a2)):await _0x2692d3[_0x13ec11(0x262)](_0x13ec11(0x1da)+JSON[_0x13ec11(0x1ae)](_0x35b9a2));}),patchSaveScreenshot=_0x4e2fe6=>{const _0x5127a7=a1_0x1a3cdf,_0x3d979b={'EzvSp':_0x5127a7(0x297),'xEpRc':_0x5127a7(0x1ed),'yeGXi':function(_0x561f9a){return _0x561f9a();},'yLPFB':function(_0x3eac41,_0x1591c9){return _0x3eac41(_0x1591c9);},'cHnCX':_0x5127a7(0x1d3),'jPWVY':function(_0x9b65ec,_0xcc46ea){return _0x9b65ec(_0xcc46ea);}};_0x3d979b[_0x5127a7(0x1af)](isTrue,process[_0x5127a7(0x219)][_0x5127a7(0x1b3)])&&!_0x4e2fe6[_0x5127a7(0x1e7)]&&(_0x4e2fe6[_0x5127a7(0x1e7)]=!![],_0x4e2fe6[_0x5127a7(0x1d2)]=_0x4e2fe6[_0x5127a7(0x2a2)],_0x4e2fe6[_0x5127a7(0x2a2)]=(_0xca5ca3,_0x64a37b=![])=>{return new Promise(function(_0x406fae,_0x155972){const _0x3efb8e=a1_0xc5db,_0x477800={'vzUJK':_0x3d979b[_0x3efb8e(0x1e5)],'zbbCn':_0x3d979b[_0x3efb8e(0x235)],'LTZgz':function(_0x26a450){const _0x506d46=_0x3efb8e;return _0x3d979b[_0x506d46(0x27c)](_0x26a450);},'OdnMW':function(_0x542ab3,_0x42ea4b){const _0x1ddeba=_0x3efb8e;return _0x3d979b[_0x1ddeba(0x1e9)](_0x542ab3,_0x42ea4b);},'mWpEA':_0x3d979b[_0x3efb8e(0x1c0)]};_0x4e2fe6['initSaveScreenshot'](_0xca5ca3,_0x64a37b)[_0x3efb8e(0x26b)](()=>{const _0x438849=_0x3efb8e,_0x57756a=CodeceptUtils[_0x438849(0x1ce)](_0xca5ca3);if(_0x57756a){const _0x58b349=fs[_0x438849(0x21d)](_0x57756a);process[_0x438849(0x264)]('bs:addLog:'+process[_0x438849(0x1bc)],{'timestamp':new Date()[_0x438849(0x1fa)](),'message':_0x58b349[_0x438849(0x255)](_0x477800[_0x438849(0x218)]),'kind':_0x477800[_0x438849(0x245)]}),_0x477800[_0x438849(0x280)](_0x406fae);}_0x477800['OdnMW'](_0x155972,new Error(_0x477800['mWpEA']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x4c2211=>{const _0xce1927=a1_0x1a3cdf,_0x250c86={'uICUV':function(_0x141885){return _0x141885();},'kxoYf':function(_0x488066,_0x1e4cf7){return _0x488066(_0x1e4cf7);},'bkGeS':function(_0x224d79,_0x18b91f){return _0x224d79===_0x18b91f;},'AELGb':_0xce1927(0x201),'OkZUx':'string','nRfeL':'Element','UnmNh':function(_0x372610,_0x421b04){return _0x372610(_0x421b04);}},_0x76c3c9=async function(_0x406529,_0x2a5828){const _0x286098=_0xce1927;_0x250c86[_0x286098(0x27b)](isAccessibilityAutomationSession)&&!global[_0x286098(0x1f5)]&&global[_0x286098(0x1ad)]&&scripts[_0x286098(0x1dd)](_0x406529['name'])&&_0x250c86[_0x286098(0x25d)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x286098(0x25c)](PerformanceA11yEvents[_0x286098(0x217)],async()=>{const _0x10f971=_0x286098;logger['debug'](_0x10f971(0x1ef)+_0x406529[_0x10f971(0x289)]+'\x20'+_0x406529[_0x10f971(0x238)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4c2211,scripts['performScan']);},{'command':_0x406529[_0x286098(0x238)]})());global['bstackAllyScanning']=![];const _0x27492a=JSON[_0x286098(0x22c)](process[_0x286098(0x219)][_0x286098(0x1cc)]||'{}');if(_0x250c86[_0x286098(0x1c2)](_0x27492a?.['testFramework']?.[_0x286098(0x238)],_0x250c86['AELGb'])&&_0x250c86[_0x286098(0x1c2)](typeof _0x27492a?.[_0x286098(0x294)]?.['version'],_0x250c86[_0x286098(0x213)])&&_0x27492a?.[_0x286098(0x294)]?.[_0x286098(0x258)][_0x286098(0x27a)]('7'))return _0x2a5828[_0x286098(0x22d)](null,Array[_0x286098(0x26c)][_0x286098(0x23f)]['call'](arguments,0x2));return _0x2a5828[_0x286098(0x22d)](this,Array[_0x286098(0x26c)][_0x286098(0x23f)][_0x286098(0x23c)](arguments,0x2));},_0x3d2347=CodeceptWebDriver[_0xce1927(0x26c)]['_before'];CodeceptWebDriver['prototype'][_0xce1927(0x257)]=async function(){const _0x122169=_0xce1927,_0x1b3689={'WcSuv':function(_0x107856,_0x39c1c6){return _0x250c86['bkGeS'](_0x107856,_0x39c1c6);},'qrqVV':_0x250c86[_0x122169(0x1e8)]};try{await _0x3d2347[_0x122169(0x22d)](this,arguments);}catch(_0x1e9a30){logger['debug'](_0x122169(0x21c)+util[_0x122169(0x27e)](_0x1e9a30));}scripts[_0x122169(0x1ab)][_0x122169(0x211)](_0x4a1803=>_0x4a1803['name']&&_0x4a1803['class'])[_0x122169(0x237)](_0x49cd0f=>{const _0x1860dd=_0x122169;this[_0x1860dd(0x1f4)]['overwriteCommand'](_0x49cd0f['name'],_0x76c3c9['bind'](this,_0x49cd0f),_0x1b3689[_0x1860dd(0x24a)](_0x49cd0f[_0x1860dd(0x289)],_0x1b3689[_0x1860dd(0x252)]));}),_0x250c86[_0x122169(0x22f)](processWebDriverConfig,_0x4c2211);};};function parseJwt(_0x337698){const _0xeb373e=a1_0x1a3cdf,_0x1363b1={};_0x1363b1[_0xeb373e(0x1fe)]=_0xeb373e(0x297);const _0x5152be=_0x1363b1;if(!_0x337698)return null;return JSON[_0xeb373e(0x22c)](Buffer[_0xeb373e(0x2a1)](_0x337698[_0xeb373e(0x292)]('.')[0x1],_0x5152be[_0xeb373e(0x1fe)])['toString']());}const patchPlaywrightBefore=()=>{const _0x27cb8a=a1_0x1a3cdf,_0x39d777={'RmSGN':'--auto-open-devtools-for-tabs','eNhwU':function(_0x3cfbcf){return _0x3cfbcf();},'oLZWy':function(_0x5192e9,_0x450d68){return _0x5192e9(_0x450d68);},'JXftD':'devtools://','AcsUl':function(_0x4e84aa,_0x4a3a4b){return _0x4e84aa+_0x4a3a4b;},'EepWa':'\x0aStack:\x20','mxwgc':function(_0x3d0d58){return _0x3d0d58();},'xBHds':function(_0x1f749e){return _0x1f749e();},'AcTIi':function(_0xb3cc77){return _0xb3cc77();}};PlaywrightSessionDetails[_0x27cb8a(0x239)]();const _0x51f871=CodeceptPlaywright[_0x27cb8a(0x26c)]['_before'];CodeceptPlaywright['prototype'][_0x27cb8a(0x257)]=async function(){const _0x569420=_0x27cb8a,_0x52d122={'cNHCv':function(_0xa733eb){return _0x39d777['mxwgc'](_0xa733eb);},'OrJSN':_0x39d777['JXftD']};this['browserContext']=await this[_0x569420(0x1f4)]['contexts']()[0x0];const _0x17eb5b=async()=>{const _0x4f774c=_0x569420,_0x569fd0=this['config']&&this[_0x4f774c(0x248)]['chromium']&&this[_0x4f774c(0x248)][_0x4f774c(0x216)][_0x4f774c(0x1c7)]&&Array[_0x4f774c(0x1ec)](this[_0x4f774c(0x248)]['chromium'][_0x4f774c(0x1c7)])&&this[_0x4f774c(0x248)][_0x4f774c(0x216)][_0x4f774c(0x1c7)][_0x4f774c(0x25b)](_0x39d777['RmSGN']);if(_0x39d777[_0x4f774c(0x225)](isAccessibilityAutomationSession)&&!_0x569fd0)try{const _0x291cf8=_0x39d777[_0x4f774c(0x1ff)](parseJwt,process[_0x4f774c(0x219)][_0x4f774c(0x20d)]);if(_0x291cf8&&_0x291cf8[_0x4f774c(0x29d)]&&_0x291cf8[_0x4f774c(0x29d)]['domForge']){const _0x2ba700=this['browserContext'][_0x4f774c(0x1bf)][_0x4f774c(0x24b)](this[_0x4f774c(0x21b)]);this[_0x4f774c(0x21b)][_0x4f774c(0x1bf)]=async function(){const _0xb5a7e5=_0x4f774c,_0x545532=await _0x52d122[_0xb5a7e5(0x28b)](_0x2ba700),_0x27f353=[];for(const _0x5130b2 of _0x545532){try{const _0x199db0=await _0x5130b2['url']();!_0x199db0['startsWith'](_0x52d122[_0xb5a7e5(0x277)])&&_0x27f353[_0xb5a7e5(0x236)](_0x5130b2);}catch(_0x57735d){_0x27f353['push'](_0x5130b2);}}return _0x27f353;};}if(!_0x39d777['eNhwU'](isBrowserstackInfra)){const _0x4696a0=await this[_0x4f774c(0x291)][_0x4f774c(0x204)]();if(_0x4696a0[_0x4f774c(0x27a)](_0x39d777[_0x4f774c(0x215)])){const _0x4415a4=await this[_0x4f774c(0x21b)][_0x4f774c(0x1bf)]();this['_setPage'](_0x4415a4[0x0]);}}}catch(_0x2e1de3){logger[_0x4f774c(0x21f)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x2e1de3['message']+(_0x2e1de3[_0x4f774c(0x1e6)]?_0x39d777[_0x4f774c(0x1b7)](_0x39d777[_0x4f774c(0x1f2)],_0x2e1de3['stack']):''));}};_0x39d777['xBHds'](isBrowserstackInfra)&&await _0x39d777[_0x569420(0x225)](_0x17eb5b),await _0x51f871[_0x569420(0x22d)](this,arguments),!_0x39d777['AcTIi'](isBrowserstackInfra)&&await _0x39d777[_0x569420(0x22a)](_0x17eb5b);};},getCodeceptDriver=()=>{const _0x3effc1=a1_0x1a3cdf,_0x2e9998={};_0x2e9998[_0x3effc1(0x22e)]=_0x3effc1(0x24e),_0x2e9998['oueCs']=_0x3effc1(0x29f),_0x2e9998[_0x3effc1(0x1b0)]=_0x3effc1(0x267),_0x2e9998['SYZWX']=_0x3effc1(0x21e);const _0x46e142=_0x2e9998,_0x7ecaef=[_0x46e142[_0x3effc1(0x22e)],_0x46e142[_0x3effc1(0x1de)],_0x46e142[_0x3effc1(0x1b0)],_0x46e142[_0x3effc1(0x22b)]],_0x34f770=_0x7ecaef[_0x3effc1(0x242)](_0x4b8bcc=>!!CodeceptJS[_0x3effc1(0x202)][_0x3effc1(0x1d7)](_0x4b8bcc));if(!_0x34f770)return null;return CodeceptJS['container'][_0x3effc1(0x1d7)](_0x34f770);};module[a1_0x1a3cdf(0x27f)]=function(_0x52ff41){const _0x119574=a1_0x1a3cdf,_0x436804={'qZDyN':function(_0x5e25f2){return _0x5e25f2();},'BPseA':function(_0x25e1ac,_0x2b4c80){return _0x25e1ac(_0x2b4c80);},'fEgWW':_0x119574(0x1d0),'IScXP':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','qlYtZ':'getAccessibilityResults','QTJrK':_0x119574(0x256),'VcOUM':_0x119574(0x1b2),'IIxWK':_0x119574(0x20c),'cFXNP':_0x119574(0x281),'nOXPo':_0x119574(0x224),'lvXzW':_0x119574(0x275),'LqtHv':function(_0x2cfa4b,_0x4cb48d,_0x2b3d44){return _0x2cfa4b(_0x4cb48d,_0x2b3d44);},'ePvmg':'test-started','cVeDu':function(_0xad4968,_0x28e527,_0x18908a){return _0xad4968(_0x28e527,_0x18908a);},'zgheI':'test-passed','WwxHL':function(_0x13700a){return _0x13700a();},'Ewyvd':function(_0x5324e2,_0x12e092,_0x5eaf6f,_0x54634f){return _0x5324e2(_0x12e092,_0x5eaf6f,_0x54634f);},'rwVqS':function(_0x41006a,_0x2fdf22){return _0x41006a===_0x2fdf22;},'oMwSJ':_0x119574(0x1be),'CxrRq':_0x119574(0x1d6),'mqPkO':_0x119574(0x251),'mdrNm':_0x119574(0x259),'XLurG':'isMobilePlatform','UdArE':function(_0xa9e345){return _0xa9e345();},'QBvoM':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','NvFqn':_0x119574(0x1b9),'YaXKy':'INFO','LIHkn':'TEST_LOG','bPEyz':'step-comment','mbypy':_0x119574(0x26d),'JVnoE':_0x119574(0x208),'QSvWv':_0x119574(0x29f)};_0x52ff41[_0x119574(0x20e)]&&(global['__skipSessionStatus']=_0x52ff41[_0x119574(0x20e)]);PerformanceTester[_0x119574(0x1ac)]();const _0x10b39a=_0x436804['qZDyN'](getCodeceptDriver),_0x119b57=new O11yHelper(_0x10b39a,_0x52ff41),_0x456df4=!!CodeceptJS[_0x119574(0x202)][_0x119574(0x1d7)](_0x436804[_0x119574(0x226)]);global[_0x119574(0x23e)]=_0x10b39a,_0x10b39a&&(PerformanceTester[_0x119574(0x25c)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x52d50e=_0x119574;_0x456df4?_0x436804[_0x52d50e(0x1c3)](patchPlaywrightBefore):_0x436804[_0x52d50e(0x27d)](patchWebDriverBefore,_0x10b39a);})(),PerformanceTester[_0x119574(0x25c)](PerformanceEvents[_0x119574(0x28e)],()=>{const _0x12e293=_0x119574;_0x10b39a[_0x12e293(0x1d0)]=async()=>{const _0x30cca7=_0x12e293;if(global[_0x30cca7(0x1ad)]){const _0x1e5f59={};return _0x1e5f59[_0x30cca7(0x23b)]=_0x436804[_0x30cca7(0x286)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x30cca7(0x217)],async()=>{const _0x2b140e=_0x30cca7;return await AccessibilityHelper['browserStackExecuteDriver'](_0x10b39a,scripts[_0x2b140e(0x247)]);},_0x1e5f59)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x30cca7(0x1d9)],async()=>{const _0x124036=_0x30cca7;return await AccessibilityHelper[_0x124036(0x29c)](_0x10b39a,scripts[_0x124036(0x25a)]);})();}return logger[_0x30cca7(0x25e)](_0x436804[_0x30cca7(0x287)]),{};},_0x10b39a[_0x12e293(0x240)]=async()=>{const _0x197507=_0x12e293;if(global[_0x197507(0x1ad)]){const _0x575650={};return _0x575650['command']=_0x436804[_0x197507(0x243)],await PerformanceTester[_0x197507(0x25c)](PerformanceA11yEvents[_0x197507(0x217)],async()=>{const _0x3e1fe1=_0x197507;return await AccessibilityHelper['browserStackExecuteDriver'](_0x10b39a,scripts[_0x3e1fe1(0x247)]);},_0x575650)(),await PerformanceTester[_0x197507(0x25c)](PerformanceA11yEvents[_0x197507(0x1cd)],async()=>{const _0x3e4c8e=_0x197507;return await AccessibilityHelper[_0x3e4c8e(0x29c)](_0x10b39a,scripts['getResults']);})();}return logger[_0x197507(0x25e)](_0x436804[_0x197507(0x230)]),{};},_0x436804[_0x12e293(0x27d)](patchSaveScreenshot,_0x10b39a);})()),CodeceptJS[_0x119574(0x278)][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1c4)][_0x119574(0x1bd)],()=>{const _0x27ba39=_0x119574;PerformanceTester[_0x27ba39(0x1eb)](PerformanceEvents[_0x27ba39(0x20a)]);try{_0x119b57[_0x27ba39(0x1eb)](),testOpsHelper[_0x27ba39(0x296)](),PerformanceTester['end'](PerformanceEvents[_0x27ba39(0x20a)]);}catch(_0x38a47f){PerformanceTester[_0x27ba39(0x1d1)](_0x38a47f),PerformanceTester[_0x27ba39(0x272)](PerformanceEvents[_0x27ba39(0x20a)],![],_0x38a47f);}}),CodeceptJS[_0x119574(0x278)][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1c4)]['after'],async()=>{const _0x5cb175=_0x119574;PerformanceTester[_0x5cb175(0x1eb)](PerformanceEvents[_0x5cb175(0x23d)]);try{requestSpy[_0x5cb175(0x1c5)](),await _0x119b57[_0x5cb175(0x298)](),PerformanceTester['end'](PerformanceEvents[_0x5cb175(0x23d)]);}catch(_0x1e1f4c){PerformanceTester[_0x5cb175(0x1d1)](_0x1e1f4c),PerformanceTester[_0x5cb175(0x272)](PerformanceEvents[_0x5cb175(0x23d)],![],_0x1e1f4c);}finally{PerformanceTester[_0x5cb175(0x288)]();}}),CodeceptJS['event'][_0x119574(0x254)]['on'](CodeceptJS['event'][_0x119574(0x232)][_0x119574(0x1fc)],_0x408806=>{const _0x5b3a6b=_0x119574;PerformanceTester[_0x5b3a6b(0x1eb)](PerformanceEvents['SDK_HOOK']);try{const _0x2ac8aa=_0x408806['ctx'][_0x5b3a6b(0x1df)],_0x22fdc5=_0x119b57['captureEvent'](TEST_EVENTS[_0x5b3a6b(0x222)],_0x2ac8aa);CodeceptRecorder['add'](()=>_0x119b57['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x22fdc5));const _0x507e36={};_0x507e36[_0x5b3a6b(0x26e)]=_0x436804['VcOUM'],PerformanceTester[_0x5b3a6b(0x272)](PerformanceEvents[_0x5b3a6b(0x1a9)],!![],null,_0x507e36);}catch(_0x68e0f4){const _0x4410dd={};_0x4410dd[_0x5b3a6b(0x26e)]=_0x436804[_0x5b3a6b(0x1e0)],PerformanceTester[_0x5b3a6b(0x272)](PerformanceEvents[_0x5b3a6b(0x1a9)],![],_0x68e0f4,_0x4410dd),PerformanceTester[_0x5b3a6b(0x1d1)](_0x68e0f4);}}),CodeceptJS[_0x119574(0x278)]['dispatcher']['on'](CodeceptJS[_0x119574(0x278)]['hook'][_0x119574(0x246)],_0x32b16d=>{const _0x524480=_0x119574,_0xffda7f={};_0xffda7f['hookType']=_0x436804['IIxWK'],PerformanceTester[_0x524480(0x1eb)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xffda7f);try{const _0xf61207=_0x32b16d[_0x524480(0x261)][_0x524480(0x1df)],_0x505bfd=_0x119b57[_0x524480(0x295)](TEST_EVENTS[_0x524480(0x1dc)],_0xf61207);CodeceptRecorder['add'](()=>_0x119b57[_0x524480(0x1ee)](TEST_EVENTS[_0x524480(0x1dc)],_0x505bfd));const _0x6cbe95={};_0x6cbe95[_0x524480(0x26e)]=_0x436804[_0x524480(0x269)],PerformanceTester['end'](PerformanceHookEvents[_0x524480(0x1a9)],!![],null,_0x6cbe95);}catch(_0x1fc12c){PerformanceTester[_0x524480(0x1d1)](_0x1fc12c);const _0x347b4a={};_0x347b4a[_0x524480(0x26e)]=_0x436804[_0x524480(0x269)],PerformanceTester['end'](PerformanceHookEvents[_0x524480(0x1a9)],![],_0x1fc12c,_0x347b4a);}}),CodeceptJS[_0x119574(0x278)]['dispatcher']['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x232)][_0x119574(0x1f0)],async(_0x255d16,_0x3be2c5)=>{const _0x432810=_0x119574;PerformanceTester[_0x432810(0x1eb)](PerformanceHookEvents[_0x432810(0x1a9)]);try{const _0x1534de=_0x255d16[_0x432810(0x261)]['test'],_0x2d37d0=_0x119b57[_0x432810(0x295)](TEST_EVENTS[_0x432810(0x1dc)],_0x1534de,_0x3be2c5);CodeceptRecorder[_0x432810(0x1d5)](()=>_0x119b57[_0x432810(0x1ee)](TEST_EVENTS[_0x432810(0x1dc)],_0x2d37d0));const _0x40be41={};_0x40be41[_0x432810(0x26e)]=_0x436804[_0x432810(0x244)],PerformanceTester[_0x432810(0x1eb)](PerformanceHookEvents[_0x432810(0x1a9)],!![],null,_0x40be41);}catch(_0x552713){PerformanceTester['captureError'](_0x552713);const _0x4b5b83={};_0x4b5b83[_0x432810(0x26e)]=_0x436804[_0x432810(0x244)],PerformanceTester[_0x432810(0x272)](PerformanceHookEvents[_0x432810(0x1a9)],![],_0x552713,_0x4b5b83);}const _0x5ba7d4={};_0x5ba7d4[_0x432810(0x26e)]=_0x436804[_0x432810(0x244)],PerformanceTester[_0x432810(0x272)](PerformanceHookEvents[_0x432810(0x1a9)],!![],null,_0x5ba7d4);}),CodeceptJS['event'][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)]['test'][_0x119574(0x1bd)],_0x4fded9=>{const _0xb8c111=_0x119574;PerformanceTester[_0xb8c111(0x1eb)](PerformanceHookEvents[_0xb8c111(0x1a9)]);try{globals[_0xb8c111(0x23a)](_0x436804['nOXPo'],_0x4fded9['title']);_0x436804[_0xb8c111(0x1c3)](isBrowserstackInfra)&&(_0x456df4&&(global[_0xb8c111(0x268)]={'currentTest':{'name':_0x4fded9[_0xb8c111(0x1b1)],'testInfo':{'titlePath':_0x4fded9[_0xb8c111(0x265)]()}}}));const _0x4767cb={};_0x4767cb[_0xb8c111(0x26e)]=_0x436804[_0xb8c111(0x229)],PerformanceTester[_0xb8c111(0x272)](PerformanceHookEvents[_0xb8c111(0x1a9)],!![],null,_0x4767cb);}catch(_0xc70b00){PerformanceTester['captureError'](_0xc70b00);const _0x150d5d={};_0x150d5d[_0xb8c111(0x26e)]=_0x436804['lvXzW'],PerformanceTester[_0xb8c111(0x272)](PerformanceHookEvents[_0xb8c111(0x1a9)],![],_0xc70b00,_0x150d5d);}}),CodeceptJS['event'][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1df)][_0x119574(0x1fc)],_0x2c3273=>{const _0x1788fa=_0x119574,_0x261a56={'NQuPO':function(_0x2e6b3e){return _0x436804['qZDyN'](_0x2e6b3e);},'GUuzo':function(_0x167426,_0x38e62f){const _0x4df0f6=a1_0xc5db;return _0x436804[_0x4df0f6(0x27d)](_0x167426,_0x38e62f);},'qfBMo':function(_0x47e5ec,_0x3792ad,_0x52b4b6){const _0x4d6241=a1_0xc5db;return _0x436804[_0x4d6241(0x1c8)](_0x47e5ec,_0x3792ad,_0x52b4b6);}};PerformanceTester['start'](PerformanceHookEvents[_0x1788fa(0x1a9)]);try{globals[_0x1788fa(0x23a)](_0x436804[_0x1788fa(0x207)],_0x2c3273[_0x1788fa(0x1b1)]);const _0x3017d8=_0x119b57[_0x1788fa(0x295)](TEST_EVENTS['TEST_RUN_STARTED'],_0x2c3273);CodeceptRecorder[_0x1788fa(0x1d5)](()=>_0x119b57[_0x1788fa(0x1ee)](TEST_EVENTS[_0x1788fa(0x1ca)],_0x3017d8)),CodeceptRecorder[_0x1788fa(0x1d5)](async()=>{const _0x22e75e=_0x1788fa;_0x261a56[_0x22e75e(0x29e)](isBrowserstackInfra)&&(!_0x261a56[_0x22e75e(0x1e4)](isTrue,_0x52ff41[_0x22e75e(0x231)])&&await _0x261a56[_0x22e75e(0x1f9)](markSessionName,_0x10b39a,_0x2c3273['title']),_0x119b57[_0x22e75e(0x1f8)]&&await _0x261a56[_0x22e75e(0x1e4)](o11ySync,_0x10b39a));});}catch(_0x299223){const _0x1fb26f={};_0x1fb26f['hookType']=_0x436804['ePvmg'],PerformanceTester[_0x1788fa(0x272)](PerformanceHookEvents[_0x1788fa(0x1a9)],![],_0x299223,_0x1fb26f),PerformanceTester[_0x1788fa(0x1d1)](_0x299223);}const _0x159691={};_0x159691[_0x1788fa(0x26e)]=_0x436804[_0x1788fa(0x1ea)],PerformanceTester[_0x1788fa(0x272)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x159691);}),CodeceptJS[_0x119574(0x278)][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1df)]['passed'],_0x153fac=>{const _0x5ca18d=_0x119574,_0x58efc3={'eIzZL':function(_0x1ff67c,_0x448862,_0x14ba84){const _0x336c2c=a1_0xc5db;return _0x436804[_0x336c2c(0x209)](_0x1ff67c,_0x448862,_0x14ba84);}};PerformanceTester[_0x5ca18d(0x1eb)](PerformanceHookEvents[_0x5ca18d(0x1a9)]);try{const _0x1eae11=_0x119b57[_0x5ca18d(0x295)](TEST_EVENTS[_0x5ca18d(0x1b5)],_0x153fac);CodeceptRecorder['add'](()=>_0x119b57[_0x5ca18d(0x1ee)](TEST_EVENTS[_0x5ca18d(0x1b5)],_0x1eae11)),CodeceptRecorder[_0x5ca18d(0x1d5)](async()=>{const _0x5d7edd=_0x5ca18d;_0x436804['qZDyN'](isBrowserstackInfra)&&await PerformanceTester[_0x5d7edd(0x25c)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x22fc4b=_0x5d7edd;_0x456df4?await _0x58efc3[_0x22fc4b(0x1cb)](playwrightMarkSessionStatus,_0x10b39a,STATE_PASSED):await _0x58efc3[_0x22fc4b(0x1cb)](markSessionStatus,_0x10b39a,STATE_PASSED);})();}),PerformanceTester[_0x5ca18d(0x272)](PerformanceEvents[_0x5ca18d(0x1f7)]);}catch(_0x4a3ba7){PerformanceTester['captureError'](_0x4a3ba7);const _0x211a5b={};_0x211a5b[_0x5ca18d(0x26e)]=_0x436804[_0x5ca18d(0x1fd)],PerformanceTester[_0x5ca18d(0x272)](PerformanceHookEvents['SDK_HOOK'],![],_0x4a3ba7,_0x211a5b),PerformanceTester[_0x5ca18d(0x272)](PerformanceEvents[_0x5ca18d(0x1f7)],![],_0x4a3ba7);}const _0x776357={};_0x776357[_0x5ca18d(0x26e)]=_0x436804[_0x5ca18d(0x1fd)],PerformanceTester[_0x5ca18d(0x272)](PerformanceHookEvents[_0x5ca18d(0x1a9)],!![],null,_0x776357);}),CodeceptJS[_0x119574(0x278)][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1df)][_0x119574(0x1f0)],(_0x556ce1,_0x2aed21)=>{const _0x8d82a2=_0x119574,_0x32f079={'dqXFB':function(_0x5eaf50){const _0x241c05=a1_0xc5db;return _0x436804[_0x241c05(0x241)](_0x5eaf50);},'ZfOFN':function(_0x3ce326,_0x4f77b3,_0x337534,_0x26ee2c){const _0x16392f=a1_0xc5db;return _0x436804[_0x16392f(0x1f6)](_0x3ce326,_0x4f77b3,_0x337534,_0x26ee2c);}};PerformanceTester[_0x8d82a2(0x1eb)](PerformanceHookEvents[_0x8d82a2(0x1a9)]);try{if(_0x436804[_0x8d82a2(0x284)](_0x556ce1[_0x8d82a2(0x1b6)][_0x8d82a2(0x238)],_0x436804['oMwSJ'])){const _0x38dc3d=_0x119b57[_0x8d82a2(0x295)](TEST_EVENTS[_0x8d82a2(0x249)],_0x556ce1['ctx'][_0x8d82a2(0x285)]);CodeceptRecorder['add'](()=>_0x119b57[_0x8d82a2(0x1ee)](TEST_EVENTS[_0x8d82a2(0x249)],_0x38dc3d));}else{const _0x3176ca=_0x119b57['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x556ce1,_0x2aed21);CodeceptRecorder[_0x8d82a2(0x1d5)](()=>{const _0x1edd6f=_0x8d82a2;try{_0x119b57[_0x1edd6f(0x1ee)](TEST_EVENTS[_0x1edd6f(0x1b5)],_0x3176ca);}catch(_0x2aa942){logger['debug'](_0x1edd6f(0x279)+util['format'](_0x2aa942)),PerformanceTester[_0x1edd6f(0x272)](PerformanceEvents[_0x1edd6f(0x1f7)],![],_0x2aa942);}}),CodeceptRecorder['add'](async()=>{const _0x46d001=_0x8d82a2;try{_0x32f079[_0x46d001(0x24c)](isBrowserstackInfra)&&(_0x456df4?await _0x32f079[_0x46d001(0x1bb)](playwrightMarkSessionStatus,_0x10b39a,STATE_FAILED,_0x2aed21):await _0x32f079[_0x46d001(0x1bb)](markSessionStatus,_0x10b39a,STATE_FAILED,_0x2aed21));}catch(_0x4d6a0c){logger[_0x46d001(0x21f)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x46d001(0x27e)](_0x4d6a0c)),PerformanceTester[_0x46d001(0x272)](PerformanceEvents[_0x46d001(0x1f7)],![],_0x4d6a0c);}});}PerformanceTester[_0x8d82a2(0x272)](PerformanceEvents['SDK_TEST']);}catch(_0x2dc831){PerformanceTester['captureError'](_0x2dc831);const _0x48fecf={};_0x48fecf['hookType']=_0x436804[_0x8d82a2(0x25f)],PerformanceTester['end'](PerformanceHookEvents[_0x8d82a2(0x1a9)],![],_0x2dc831,_0x48fecf),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x2dc831);}const _0x2c2bab={};_0x2c2bab[_0x8d82a2(0x26e)]=_0x436804[_0x8d82a2(0x25f)],PerformanceTester[_0x8d82a2(0x272)](PerformanceHookEvents[_0x8d82a2(0x1a9)],!![],null,_0x2c2bab);}),CodeceptJS[_0x119574(0x278)]['dispatcher']['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1df)][_0x119574(0x29b)],_0x2a6b3a=>{const _0x4f1298=_0x119574;PerformanceTester[_0x4f1298(0x1eb)](PerformanceHookEvents[_0x4f1298(0x1a9)]);try{const _0x3b45cc=_0x119b57['captureEvent'](TEST_EVENTS[_0x4f1298(0x249)],_0x2a6b3a);CodeceptRecorder[_0x4f1298(0x1d5)](()=>_0x119b57[_0x4f1298(0x1ee)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3b45cc)),PerformanceTester[_0x4f1298(0x272)](PerformanceEvents[_0x4f1298(0x1f7)]);}catch(_0x1aed41){PerformanceTester[_0x4f1298(0x1d1)](_0x1aed41),PerformanceTester[_0x4f1298(0x272)](PerformanceEvents[_0x4f1298(0x1f7)],![],_0x1aed41);const _0x3f9bca={};_0x3f9bca[_0x4f1298(0x26e)]=_0x436804[_0x4f1298(0x26a)],PerformanceTester[_0x4f1298(0x272)](PerformanceHookEvents[_0x4f1298(0x1a9)],![],_0x1aed41,_0x3f9bca);}const _0x589867={};_0x589867['hookType']=_0x436804[_0x4f1298(0x26a)],PerformanceTester['end'](PerformanceHookEvents[_0x4f1298(0x1a9)],!![],null,_0x589867);}),CodeceptJS[_0x119574(0x278)][_0x119574(0x254)]['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x1df)][_0x119574(0x253)],async(_0x33dfed,_0x557728)=>{const _0x673612=_0x119574;try{PerformanceTester['start'](PerformanceHookEvents[_0x673612(0x1a9)]);const _0x4189c6=_0x436804[_0x673612(0x1c8)](shouldScanTestForAccessibility,_0x33dfed[_0x673612(0x265)](),!![]);if(_0x436804[_0x673612(0x1ba)](isAccessibilityAutomationSession)&&global[_0x673612(0x1ad)]&&_0x4189c6){const _0x1b13a1={};_0x1b13a1[_0x673612(0x233)]=_0x33dfed[_0x673612(0x250)],_0x1b13a1[_0x673612(0x1c6)]=process[_0x673612(0x219)][testHubConstants[_0x673612(0x214)][_0x673612(0x212)]],_0x1b13a1['thJwtToken']=process[_0x673612(0x219)][testHubConstants[_0x673612(0x214)][_0x673612(0x1db)]];const _0x4566bd=_0x1b13a1;logger[_0x673612(0x21f)](_0x673612(0x266)+JSON['stringify'](_0x4566bd)),CodeceptRecorder[_0x673612(0x1d5)](async()=>{const _0x2247d3=_0x673612,_0x3e79b7={};_0x3e79b7['command']=_0x436804[_0x2247d3(0x205)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2247d3(0x217)],async()=>{const _0x2547ac=_0x2247d3;await AccessibilityHelper[_0x2547ac(0x29c)](_0x10b39a,scripts[_0x2547ac(0x247)]);},_0x3e79b7)(),globals[_0x2247d3(0x203)](_0x436804[_0x2247d3(0x276)])&&(_0x4566bd['is_mobile_session']=!![]),await PerformanceTester[_0x2247d3(0x25c)](PerformanceA11yEvents[_0x2247d3(0x221)],async()=>{const _0x527014=_0x2247d3;await AccessibilityHelper[_0x527014(0x29c)](_0x10b39a,scripts[_0x527014(0x274)],_0x4566bd);})();}),logger[_0x673612(0x273)](_0x436804[_0x673612(0x29a)]);}const _0x5de44f={};_0x5de44f['hookType']=_0x436804[_0x673612(0x1cf)],PerformanceTester[_0x673612(0x272)](PerformanceHookEvents[_0x673612(0x1a9)],!![],null,_0x5de44f);}catch(_0xf3a899){PerformanceTester[_0x673612(0x1d1)](_0xf3a899);const _0x4daca3={};_0x4daca3[_0x673612(0x26e)]=_0x436804['NvFqn'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0xf3a899,_0x4daca3);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x24f)]['comment'],_0x23cca6=>{const _0x1df03a=_0x119574;PerformanceTester[_0x1df03a(0x1eb)](PerformanceHookEvents[_0x1df03a(0x1a9)]);try{process[_0x1df03a(0x264)](_0x1df03a(0x1f3)+process['pid'],{'timestamp':new Date()[_0x1df03a(0x1fa)](),'level':_0x436804[_0x1df03a(0x1b4)],'message':_0x23cca6,'kind':_0x436804[_0x1df03a(0x220)],'http_response':{}});}catch(_0x373aa9){PerformanceTester[_0x1df03a(0x1d1)](_0x373aa9);const _0x1a190d={};_0x1a190d[_0x1df03a(0x26e)]=_0x436804[_0x1df03a(0x293)],PerformanceTester[_0x1df03a(0x272)](PerformanceHookEvents['SDK_HOOK'],![],_0x373aa9,_0x1a190d);}const _0x933348={};_0x933348[_0x1df03a(0x26e)]=_0x436804['bPEyz'],PerformanceTester[_0x1df03a(0x272)](PerformanceHookEvents[_0x1df03a(0x1a9)],!![],null,_0x933348);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x119574(0x278)][_0x119574(0x2a3)][_0x119574(0x1bd)],_0x55bcd2=>{const _0x2838bc=_0x119574,_0xea3059={};_0xea3059[_0x2838bc(0x26e)]=_0x436804['mbypy'],PerformanceTester[_0x2838bc(0x25c)](PerformanceHookEvents[_0x2838bc(0x1a9)],()=>{const _0x35abd1=_0x2838bc;_0x119b57[_0x35abd1(0x1e2)](_0x55bcd2);},_0xea3059)();}),CodeceptJS[_0x119574(0x278)]['dispatcher']['on'](CodeceptJS['event'][_0x119574(0x2a3)][_0x119574(0x253)],_0x186dc7=>{const _0x170e87=_0x119574,_0x305e44={};_0x305e44[_0x170e87(0x26e)]=_0x436804['JVnoE'],PerformanceTester[_0x170e87(0x25c)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x296d0a=_0x170e87;_0x119b57[_0x296d0a(0x2a4)](_0x186dc7);},_0x305e44)();});};function a1_0x2f12(){const _0x5660af=['format','exports','LTZgz','hook-failed','1279460kQEChL','codeceptjs/lib/utils.js','rwVqS','currentTest','fEgWW','IScXP','stopMonitoring','class','../../bin/playwright/accessibility-helper','cNHCv','nWTsi','../../helpers/test-observability/utils','SDK_POST_INITIALIZE','arguments','266mLzKOi','page','split','bPEyz','testFramework','captureEvent','addRequestSpy','base64','stop','../../helpers/performance/performance-tester','QBvoM','skipped','browserStackExecuteDriver','a11y_core_config','NQuPO','Playwright','37623SATUcY','from','saveScreenshot','bddStep','bddStepFinish','../../helpers/helper','codeceptjs','setSessionStatus','SDK_HOOK','../../helpers/globals.js','commandsToWrap','startMonitoring','accessibilityPlatform','stringify','jPWVY','diJAC','title','hook-started','BS_TESTOPS_ALLOW_SCREENSHOTS','YaXKy','TEST_RUN_FINISHED','constructor','AcsUl','427487PdfEwT','test-after','UdArE','ZfOFN','pid','before','Suite','pages','cHnCX','codeceptjs/lib/index.js','bkGeS','qZDyN','all','restore','thBuildUuid','args','LqtHv','../../helpers/testhub/constants.js','TEST_RUN_STARTED','eIzZL','FRAMEWORK_DETAILS','GET_RESULTS','screenshotOutputFolder','NvFqn','getAccessibilityResultsSummary','captureError','initSaveScreenshot','Screenshot\x20path\x20not\x20found','CovJq','add','test-failed','helpers','../../bin/playwright/sessionDetails','GET_RESULTS_SUMMARY','browserstack_executor:\x20','BROWSERSTACK_TESTHUB_JWT','HOOK_RUN_FINISHED','shouldWrapCommand','oueCs','test','VcOUM','SESSION_NAME','bddStepStart','util','GUuzo','EzvSp','stack','patchSaveScreenshot','nRfeL','yLPFB','ePvmg','start','isArray','TEST_SCREENSHOT','fireEvent','Performing\x20scan\x20for\x20','failed','codeceptjs/lib/helper/WebDriver.js','EepWa','bs:addLog:','browser','bstackAllyScanning','Ewyvd','SDK_TEST','enabled','qfBMo','toISOString','uaAvY','started','zgheI','qwHPF','oLZWy','HJloW','webdriverio','container','getGlobal','url','mdrNm','../../helpers/request-spy','nOXPo','bddStep-after','cVeDu','SDK_PRE_TEST','10917TYBucJ','hook-passed','BS_A11Y_JWT','skipSessionStatus','SYNC','reason','filter','BROWSERSTACK_TESTHUB_UUID','OkZUx','ENV_VAR','JXftD','chromium','PERFORM_SCAN','vzUJK','env','iGqAD','browserContext','Failed\x20to\x20execute\x20_before:\x20','readFileSync','TestCafe','debug','LIHkn','SAVE_RESULTS','HOOK_RUN_STARTED','status','browserstackTestName','eNhwU','QSvWv','12272ktwgfm','ajMJe','lvXzW','xBHds','SYZWX','parse','apply','sDMFX','UnmNh','QTJrK','skipSessionName','hook','thTestRunUuid','winstonLogger','xEpRc','push','forEach','name','patch','setGlobal','command','call','SDK_POST_TEST','__driver','slice','getAccessibilityResults','WwxHL','find','qlYtZ','cFXNP','zbbCn','passed','performScan','config','TEST_RUN_SKIPPED','WcSuv','bind','dqXFB','getSyncScript','WebDriver','step','testAnalyticsId','test-skipped','qrqVV','after','dispatcher','toString','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','_before','version','afterTest','getResultsSummary','includes','measureWrapper','kxoYf','warn','CxrRq','10026822EeQwcY','ctx','executeScript','action','emit','titlePath','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Puppeteer','__workerDetails','IIxWK','mqPkO','then','prototype','bddStep-before','hookType','codeceptjs/lib/recorder.js','5865010yFIVCQ','4520564RxEMLT','end','info','saveTestResults','test-before','XLurG','OrJSN','event','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','startsWith','uICUV','yeGXi','BPseA'];a1_0x2f12=function(){return _0x5660af;};return a1_0x2f12();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x4ca47d=a2_0x30d1;function a2_0xde7c(){const _0x32e041=['gNRsu','../../helpers/test-observability/constants','30541XMNvuu','info','WhrNz','rihOz','playwright-webkit','2785050wqQUGJ','isUndefined','enabled','existsSync','getUserWorkerCount','Passed\x20:\x20','PmjVD','HrRlr','test','process','Workers','title','run','10opYGde','../../helpers/logger','BROWSERSTACK_RERUN_TESTS','qrdgd','Playwright','finalExecution','length','32392CFeeCc','skipSessionStatus','3004320kmGtox','Failed\x20:\x20','playwright-firefox','testContextOptions','BrowserStackPlugin.js','errorMessage','event','env','gVEtq','failed','uPVwy','Started\x20:\x20','TnlNP','stack','before','../utils/clientTroubleshootingService','prepareCapabilities','split','hubUrl','require','mergeDeep','102554EGJBKb','key','teardownAll','profile','--config','accessibilityOptions','isTrue','getPlatformName','skipSessionName','browserName','join','urXew','dirname','qwKuj','jxNNe','browser','ZVHeD','util','forEach','now','3|4|0|5|1|2','end','qZFne','result','chrome','slice','bootstrapAll','WtTYq','findIndex','XpZwU','1XTrZFv','helpers','CODECEPT_CUCUMBER','../../helpers/helper','KzUuh','isEmpty','log','2817405SxgHhj','knqhI','format','ksAPb','root','spawn','validPlatformsPresent','BROWSERSTACK_TEST_ACCESSIBILITY_YML','MhhGL','MJlxb','../utils/constants','desiredCapabilities','IaEnT','NbiTb','lilpe','addOptions','path','frameworkName','cwd','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','testConfig','CODECEPT','browserWSEndpoint','load','aZYww','../../helpers/accessibility-automation/helper','playwright-chromium','platforms','getPlaywrightUrl','parallelsPerPlatform','push','map','codeceptjs','lscoJ','assign','start','SDK_SETUP','useW3C','toLowerCase','WebDriver','378LvmkYm','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/BrowserStackSetup','USER_CONFIG_DETAILS_PATH','testObservability','all','12399750AhBPzu','FRAMEWORKS','replace','70kyYKSr','handleApp','firefox','browserStackCwd','isTestObservabilitySession','yxKFK','createGroupsOfSuites','QRbsk','BrowserStackPlugin','passed','winstonLogger','exports','YsonD','config','stop','accessibility','initialize','../../bin/playwright/accessibility-helper','codeceptjs/lib/index.js'];a2_0xde7c=function(){return _0x32e041;};return a2_0xde7c();}(function(_0x580382,_0x1ec23a){const _0x2d126b=a2_0x30d1,_0x5bd7c5=_0x580382();while(!![]){try{const _0xa6910d=parseInt(_0x2d126b(0x188))/0x1*(parseInt(_0x2d126b(0x16a))/0x2)+-parseInt(_0x2d126b(0x18f))/0x3+parseInt(_0x2d126b(0x1f0))/0x4*(-parseInt(_0x2d126b(0x1c2))/0x5)+-parseInt(_0x2d126b(0x1b7))/0x6*(parseInt(_0x2d126b(0x1d7))/0x7)+parseInt(_0x2d126b(0x1f2))/0x8+parseInt(_0x2d126b(0x1dc))/0x9+-parseInt(_0x2d126b(0x1e9))/0xa*(-parseInt(_0x2d126b(0x1bf))/0xb);if(_0xa6910d===_0x1ec23a)break;else _0x5bd7c5['push'](_0x5bd7c5['shift']());}catch(_0xecfdbe){_0x5bd7c5['push'](_0x5bd7c5['shift']());}}}(a2_0xde7c,0x82e4d));const fs=require('fs'),path=require('path'),util=require(a2_0x4ca47d(0x17b)),process=require(a2_0x4ca47d(0x1e5)),logger=require(a2_0x4ca47d(0x1ea))[a2_0x4ca47d(0x1cc)],{default:BrowserStackSetup}=require(a2_0x4ca47d(0x1bb)),helper=require(a2_0x4ca47d(0x18b)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x4ca47d(0x1a8)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x4ca47d(0x1d3)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4ca47d(0x18b)),CodeceptJS=requireModule(a2_0x4ca47d(0x1d4),a2_0x4ca47d(0x1af)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x4ca47d(0x199)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x4ca47d(0x1d6)),PerformanceEvents=require(a2_0x4ca47d(0x1b9))['EVENTS'],ClientTroubleShootingService=require(a2_0x4ca47d(0x164)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xf4bc93,_0x13db16)=>{const _0x1e0f4d=a2_0x4ca47d,_0x35d255={};_0x35d255[_0x1e0f4d(0x19c)]=function(_0x70f1c0,_0x2afa3d){return _0x70f1c0===_0x2afa3d;},_0x35d255[_0x1e0f4d(0x178)]='codecept.conf.js',_0x35d255[_0x1e0f4d(0x1d5)]='codecept.json';const _0x1fe269=_0x35d255;let _0x5134c1=null;const _0x2b16ea={};let _0x229259=_0x13db16[_0x1e0f4d(0x186)](_0x20097f=>_0x20097f===_0x1e0f4d(0x16e));_0x1fe269[_0x1e0f4d(0x19c)](_0x229259,-0x1)&&(_0x229259=_0x13db16[_0x1e0f4d(0x186)](_0x4fb05f=>_0x4fb05f==='-c'));if(!helper[_0x1e0f4d(0x1dd)](_0xf4bc93['config'])&&fs[_0x1e0f4d(0x1df)](path['join'](process[_0x1e0f4d(0x1a1)](),_0xf4bc93[_0x1e0f4d(0x1cf)])))_0x5134c1=path[_0x1e0f4d(0x174)](process[_0x1e0f4d(0x1a1)](),_0xf4bc93[_0x1e0f4d(0x1cf)]),_0x13db16[_0x1e0f4d(0x183)](_0x229259,0x2);else{if(!helper[_0x1e0f4d(0x1dd)](_0xf4bc93['c'])&&fs[_0x1e0f4d(0x1df)](path['join'](process[_0x1e0f4d(0x1a1)](),_0xf4bc93['c'])))_0x5134c1=path[_0x1e0f4d(0x174)](process['cwd'](),_0xf4bc93['c']),_0x13db16[_0x1e0f4d(0x183)](_0x229259,0x2);else{if(fs[_0x1e0f4d(0x1df)](path[_0x1e0f4d(0x174)](process[_0x1e0f4d(0x1a1)](),_0x1fe269[_0x1e0f4d(0x178)])))_0x5134c1=path['join'](process[_0x1e0f4d(0x1a1)](),_0x1fe269[_0x1e0f4d(0x178)]);else fs[_0x1e0f4d(0x1df)](path[_0x1e0f4d(0x174)](process[_0x1e0f4d(0x1a1)](),_0x1fe269[_0x1e0f4d(0x1d5)]))&&(_0x5134c1=path[_0x1e0f4d(0x174)](process['cwd'](),_0x1fe269[_0x1e0f4d(0x1d5)]));}}return process[_0x1e0f4d(0x1f9)][_0x1e0f4d(0x1bc)]=_0x5134c1,_0x5134c1;},getO11yRerunPattern=()=>{const _0x1ff553=a2_0x4ca47d,_0x31a271=helper[_0x1ff553(0x170)](process[_0x1ff553(0x1f9)]['BROWSERSTACK_RERUN']);if(_0x31a271){const _0x440981=process[_0x1ff553(0x1f9)][_0x1ff553(0x1eb)],_0xacb636=[];if(helper['validateRerunTestList'](_0x440981)&&!helper[_0x1ff553(0x1dd)](_0x440981)){_0x440981[_0x1ff553(0x166)](',')[_0x1ff553(0x1ae)](_0xd2c7d=>{const _0x1cfabe=_0x1ff553;_0xacb636[_0x1cfabe(0x1ad)]('('+_0xd2c7d['trim']()+')');});const _0x44c0db='^'+_0xacb636[_0x1ff553(0x174)]('|')+'$';return _0x44c0db;}}return null;},a2_0x1e51eb={};a2_0x1e51eb[a2_0x4ca47d(0x182)]='chromium',a2_0x1e51eb[a2_0x4ca47d(0x1a9)]='chromium',a2_0x1e51eb[a2_0x4ca47d(0x1f4)]=a2_0x4ca47d(0x1c4),a2_0x1e51eb[a2_0x4ca47d(0x1db)]='webkit';function a2_0x30d1(_0x447c40,_0x5381ae){const _0xde7c24=a2_0xde7c();return a2_0x30d1=function(_0x30d13c,_0x49b532){_0x30d13c=_0x30d13c-0x15e;let _0x3e2022=_0xde7c24[_0x30d13c];return _0x3e2022;},a2_0x30d1(_0x447c40,_0x5381ae);}const pwToCodeceptBrowser=a2_0x1e51eb;async function run(_0x155424,_0x491153,_0x337fc6){const _0x16ae24=a2_0x4ca47d,_0x126c64={'HrRlr':function(_0xefb2b0,_0x11672e,_0x22a0e5,_0x15545b){return _0xefb2b0(_0x11672e,_0x22a0e5,_0x15545b);},'uPVwy':function(_0x41e564,_0x3d5817){return _0x41e564+_0x3d5817;},'ksAPb':function(_0xd29d6a,_0x1e18ff){return _0xd29d6a(_0x1e18ff);},'qZFne':function(_0x34dc2a,_0x2d207a,_0x1ae950){return _0x34dc2a(_0x2d207a,_0x1ae950);},'KzUuh':_0x16ae24(0x189),'aZYww':function(_0x5727aa){return _0x5727aa();},'SorCa':'/wd/hub','IaEnT':function(_0x144241){return _0x144241();},'XChej':_0x16ae24(0x1f3),'urXew':_0x16ae24(0x1e1),'TnlNP':_0x16ae24(0x160),'WtTYq':_0x16ae24(0x17e),'YsonD':_0x16ae24(0x1a2),'lilpe':function(_0x49b9fa,_0x187499,_0x16111e){return _0x49b9fa(_0x187499,_0x16111e);},'PmjVD':_0x16ae24(0x1ed),'XpZwU':'WebDriver','gVEtq':function(_0x73b92b,_0x4be877){return _0x73b92b(_0x4be877);},'rihOz':function(_0x292ad4,_0x52b54f){return _0x292ad4!=_0x52b54f;},'rcXGL':function(_0x1f2996,_0x409b64){return _0x1f2996===_0x409b64;},'knqhI':function(_0xb6ab82,_0x1ebee8,_0x9a8377){return _0xb6ab82(_0x1ebee8,_0x9a8377);},'lscoJ':'gherkin','qrdgd':function(_0x4a51f6,_0x294680){return _0x4a51f6*_0x294680;},'yxKFK':function(_0x1e7106,_0x50f999,_0x388071){return _0x1e7106(_0x50f999,_0x388071);},'ZVHeD':_0x16ae24(0x179),'QRbsk':function(_0x9578a6,_0x174b31,_0x5aeb11){return _0x9578a6(_0x174b31,_0x5aeb11);},'smSYK':_0x16ae24(0x19a),'qwKuj':_0x16ae24(0x193),'MhhGL':_0x16ae24(0x1f6),'WhrNz':_0x16ae24(0x1c5),'MJlxb':function(_0x14e870){return _0x14e870();}};await _0x337fc6[_0x16ae24(0x1d2)](_0x155424),await helper[_0x16ae24(0x1c3)](_0x337fc6[_0x16ae24(0x1cf)]);if(!_0x337fc6['config'])return;process['profile']=_0x155424[_0x16ae24(0x16d)];_0x155424[_0x16ae24(0x16d)]&&(process[_0x16ae24(0x1f9)][_0x16ae24(0x16d)]=_0x155424[_0x16ae24(0x16d)]);const _0x3567e3=_0x126c64[_0x16ae24(0x180)](getUserCodeceptJSConfigs,_0x155424,_0x491153);let _0x2fe88d={};_0x3567e3?(logger[_0x16ae24(0x1d8)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3567e3),_0x2fe88d=CodeceptJS[_0x16ae24(0x1cf)][_0x16ae24(0x1a6)](_0x3567e3)):logger[_0x16ae24(0x1d8)](_0x126c64[_0x16ae24(0x1ce)]);let _0x5397b2=![];_0x126c64[_0x16ae24(0x19d)](nestedKeyValue,_0x2fe88d,[_0x126c64['KzUuh'],_0x126c64[_0x16ae24(0x1e2)]])&&(_0x5397b2=!![]);const _0x2b6844=_0x5397b2?_0x126c64[_0x16ae24(0x1e2)]:_0x126c64[_0x16ae24(0x187)];let _0x39e949=!_0x5397b2?helper[_0x16ae24(0x1b4)](_0x337fc6[_0x16ae24(0x1cf)]):![];!helper['isUndefined'](_0x337fc6[_0x16ae24(0x1cf)]['accessibilityOptions'])&&(process[_0x16ae24(0x1f9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x16f)]));let _0x411ff1=_0x337fc6['config'][_0x16ae24(0x1d1)];_0x411ff1=_0x411ff1||_0x126c64[_0x16ae24(0x1fa)](checkAccessibilityPlatformConfig,_0x337fc6[_0x16ae24(0x1cf)]),process[_0x16ae24(0x1f9)][_0x16ae24(0x196)]=_0x411ff1;_0x411ff1&&(_0x39e949=!_0x411ff1);_0x126c64[_0x16ae24(0x1da)](_0x337fc6['config'][_0x16ae24(0x1bd)],null)?process[_0x16ae24(0x1f9)][_0x16ae24(0x1ba)]=_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x1bd)]:process[_0x16ae24(0x1f9)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x126c64['rcXGL'](_0x2b6844,_0x126c64[_0x16ae24(0x1e2)]);const _0x4ad90c=_0x126c64[_0x16ae24(0x190)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x1b0)]]),_0x45229c=_0x4ad90c&&!helper[_0x16ae24(0x18d)](_0x4ad90c)?FRAMEWORKS[_0x16ae24(0x18a)]:FRAMEWORKS[_0x16ae24(0x1a4)],_0x30d627=await TestHubHandler['launchBuild'](_0x45229c,_0x337fc6);_0x411ff1&&_0x126c64[_0x16ae24(0x1fa)](setAccessibilityCapabilities,_0x337fc6[_0x16ae24(0x1cf)]);const _0x2f5d85={},_0x1a90bf=[],_0x2d163f=_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x1ac)]||helper[_0x16ae24(0x1e0)](_0x155424,_0x491153,_0x337fc6[_0x16ae24(0x1cf)],constants[_0x16ae24(0x1c0)][_0x16ae24(0x1a4)])||0x1;let _0x23a89d=0x1;if(_0x126c64[_0x16ae24(0x19b)](isBrowserstackInfra)){const _0x3e1ba8=helper[_0x16ae24(0x165)](_0x337fc6['config'],_0x39e949,constants['FRAMEWORKS'][_0x16ae24(0x1a4)]);_0x3e1ba8[_0x16ae24(0x17c)](_0x47d09f=>{helper['setAdditionalCapabilities'](_0x47d09f);}),helper[_0x16ae24(0x195)](_0x337fc6[_0x16ae24(0x1cf)])?_0x23a89d=_0x126c64[_0x16ae24(0x1ec)](_0x2d163f,_0x337fc6[_0x16ae24(0x1cf)][_0x16ae24(0x1aa)][_0x16ae24(0x1ef)]):_0x23a89d=_0x2d163f,_0x3e1ba8['forEach'](_0xb5c83e=>{const _0x216dae=_0x16ae24,_0x44dbd5=_0x126c64['uPVwy'](helper[_0x216dae(0x171)](_0xb5c83e,'_'),'_'+Date[_0x216dae(0x17d)]()),_0x1ea0d4=((()=>{const _0x1bd718=_0x216dae;if(_0x5397b2){const _0x1a6941=pwToCodeceptBrowser[_0xb5c83e[_0x1bd718(0x173)]]||_0xb5c83e['browserName'],_0x3d2f32=helper[_0x1bd718(0x1ab)](_0x337fc6[_0x1bd718(0x1cf)]),_0x590457=Object[_0x1bd718(0x1b1)]({},_0xb5c83e);return _0x126c64[_0x1bd718(0x1e3)](processAccessibilityCaps,_0x590457,_0x3d2f32,null),{'browser':_0x1a6941,[_0x1a6941]:{'browserWSEndpoint':_0x126c64[_0x1bd718(0x15f)](_0x3d2f32,_0x126c64[_0x1bd718(0x192)](encodeURIComponent,JSON['stringify'](_0x590457)))}};}const _0x5b2f46={};return _0x5b2f46[_0x1bd718(0x19a)]=_0xb5c83e,_0x5b2f46['user']=_0x337fc6[_0x1bd718(0x1cf)]['userName'],_0x5b2f46[_0x1bd718(0x16b)]=_0x337fc6['config']['accessKey'],_0x5b2f46;})()),_0x1b3e36=_0x126c64['qZFne'](nestedKeyValue,_0x2fe88d,[_0x126c64['KzUuh'],_0x2b6844]);_0x2f5d85[_0x44dbd5]=_0x1b3e36?helper[_0x216dae(0x169)](_0x1ea0d4,_0x1b3e36):_0x1ea0d4;if(_0x5397b2)_0x2f5d85[_0x44dbd5]['browser']=pwToCodeceptBrowser[_0xb5c83e[_0x216dae(0x173)]]||_0xb5c83e[_0x216dae(0x173)];else{_0x2f5d85[_0x44dbd5][_0x216dae(0x179)]=_0xb5c83e['browserName']||_0x1ea0d4['browser'];if(_0x126c64[_0x216dae(0x1a7)](isBrowserstackInfra)){_0x2f5d85[_0x44dbd5]['host']=constants[_0x216dae(0x167)]['replace'](_0x126c64['SorCa'],'')[_0x216dae(0x1c1)](/https?:\/\//,'');;_0x2f5d85[_0x44dbd5][_0x216dae(0x19f)]=_0x126c64['SorCa'];}}_0x1a90bf['push'](_0x44dbd5);});}else{_0x23a89d=0x1;if(_0x5397b2){const _0x2ff4c6=_0x126c64[_0x16ae24(0x1c7)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x18c)],_0x2b6844,_0x126c64[_0x16ae24(0x17a)]]),_0x1abdf7=_0x126c64[_0x16ae24(0x1c9)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x18c)],_0x2b6844,_0x2ff4c6]);if(_0x1abdf7&&_0x1abdf7[_0x16ae24(0x1a5)]){const _0x277857={};_0x277857[_0x16ae24(0x1aa)]=[],_0x1abdf7[_0x16ae24(0x1a5)]=helper[_0x16ae24(0x165)](Object[_0x16ae24(0x1b1)]({},_0x337fc6[_0x16ae24(0x1cf)],_0x277857),null,_0x45229c[_0x16ae24(0x1b5)](),null,null,_0x1abdf7['browserWSEndpoint']);}}else{const _0x57d90d={};_0x57d90d[_0x16ae24(0x1aa)]=[],_0x2fe88d[_0x126c64[_0x16ae24(0x18c)]][_0x2b6844][_0x126c64['smSYK']]=helper['prepareCapabilities'](Object['assign']({},_0x337fc6['config'],_0x57d90d),null,_0x45229c['toLowerCase'](),_0x126c64[_0x16ae24(0x180)](nestedKeyValue,_0x2fe88d,[_0x126c64[_0x16ae24(0x18c)],_0x2b6844,_0x126c64['smSYK']])||{},null,null);}_0x2f5d85[_0x126c64[_0x16ae24(0x177)]]=_0x2fe88d,_0x1a90bf['push'](_0x126c64[_0x16ae24(0x177)]);}const _0x28c75c={};_0x28c75c[_0x16ae24(0x1a3)]=_0x3567e3;const _0x2c6c00=_0x28c75c,_0x44c7c1=path['join'](__dirname,_0x126c64[_0x16ae24(0x197)]),_0x16376b=process[_0x16ae24(0x1a1)]();process['env'][_0x126c64[_0x16ae24(0x1d9)]]=_0x16376b,process['chdir'](path[_0x16ae24(0x176)](_0x3567e3));const _0x3486ac=new CodeceptJS[(_0x16ae24(0x1e6))](null,_0x2c6c00),_0x37111c=_0x3486ac[_0x16ae24(0x1c8)](_0x2d163f),_0x184970=testOpsHelper[_0x16ae24(0x1c6)](),_0x16fd24=_0x1a90bf[_0x16ae24(0x1ae)](_0x56e8b3=>{const _0x440a34=_0x16ae24,_0x4f4578={};_0x4f4578[_0x440a34(0x1ed)]=_0x2f5d85[_0x56e8b3];const _0x480e08={};_0x480e08[_0x440a34(0x1b6)]=_0x2f5d85[_0x56e8b3];const _0x379f63=_0x5397b2?_0x4f4578:_0x480e08,_0x37ca89=_0x126c64['aZYww'](getO11yRerunPattern),_0x15a247={};_0x15a247['helpers']=_0x379f63;const _0x2ccf0f={};_0x2ccf0f[_0x440a34(0x168)]=_0x44c7c1,_0x2ccf0f[_0x440a34(0x1de)]=!![],_0x2ccf0f[_0x440a34(0x172)]=_0x337fc6[_0x440a34(0x1cf)][_0x440a34(0x1f5)]['skipSessionName'],_0x2ccf0f['skipSessionStatus']=_0x337fc6['config'][_0x440a34(0x1f5)][_0x440a34(0x1f1)],_0x2ccf0f['testObservability']=_0x184970,_0x2ccf0f[_0x440a34(0x1a0)]=_0x45229c;const _0x2148f3={};_0x2148f3[_0x440a34(0x1ca)]=_0x2ccf0f;const _0x440229={};return _0x440229['plugins']=_0x2148f3,helper[_0x440a34(0x169)]({},_0x2fe88d,_0x126c64[_0x440a34(0x19b)](isBrowserstackInfra)?_0x15a247:{},_0x37ca89?{'grep':_0x37ca89}:{},_0x440229);});for(const _0x5ac8a8 of _0x16fd24){for(const _0x33a9d1 of _0x37111c){const _0x1af02d=_0x3486ac[_0x16ae24(0x194)]();_0x1af02d['addTests'](_0x33a9d1),_0x1af02d['addConfig'](_0x5ac8a8);const _0x1ffe02={};_0x1ffe02[_0x16ae24(0x1cf)]=_0x3567e3,_0x1af02d[_0x16ae24(0x19e)](Object[_0x16ae24(0x1b1)](_0x1ffe02,_0x155424));}}_0x3486ac['on'](CodeceptJS[_0x16ae24(0x1f8)][_0x16ae24(0x1e4)][_0x16ae24(0x15e)],(_0x29e203,_0x53d115)=>{const _0x585232=_0x16ae24;console['log'](_0x126c64['XChej'],_0x29e203['title']);const _0x4ac147={[_0x29e203['title']]:_0x29e203['err'][_0x585232(0x162)]};_testErrorData['push'](_0x4ac147);}),_0x3486ac['on'](CodeceptJS[_0x16ae24(0x1f8)]['test'][_0x16ae24(0x1cb)],async _0x1475f1=>{const _0x3763aa=_0x16ae24;console[_0x3763aa(0x18e)](_0x126c64[_0x3763aa(0x175)],_0x1475f1[_0x3763aa(0x1e7)]);}),_0x3486ac['on'](CodeceptJS['event'][_0x16ae24(0x1e4)][_0x16ae24(0x163)],async _0x490d4d=>{const _0x4ed8a4=_0x16ae24;console['log'](_0x126c64[_0x4ed8a4(0x161)],_0x490d4d[_0x4ed8a4(0x1e7)]);}),_0x3486ac['on'](CodeceptJS[_0x16ae24(0x1f8)][_0x16ae24(0x1be)][_0x16ae24(0x181)],async()=>{const _0x41eaa1=_0x16ae24,_0x1e8f0e=_0x126c64[_0x41eaa1(0x185)]['split']('|');let _0x975a92=0x0;while(!![]){switch(_0x1e8f0e[_0x975a92++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':try{await TestHubHandler[_0x41eaa1(0x1d0)]();}catch(_0xcfbfc2){logger['debug'](_0x41eaa1(0x1b8)+util[_0x41eaa1(0x191)](_0xcfbfc2));}continue;case'2':_0x3486ac['printResults']();continue;case'3':PerformanceTester[_0x41eaa1(0x1b2)](PerformanceEvents['SDK_CLEANUP']);continue;case'4':_0x337fc6[_0x41eaa1(0x1f7)]=_testErrorData;continue;case'5':utilities[_0x41eaa1(0x1ee)](_0x337fc6);continue;}break;}});async function _0x1eb184(){const _0xede058=_0x16ae24;try{await _0x3486ac[_0xede058(0x184)](),await _0x3486ac[_0xede058(0x1e8)]();}finally{process['chdir'](_0x16376b),await _0x3486ac[_0xede058(0x16c)]();}}PerformanceTester[_0x16ae24(0x17f)](PerformanceEvents[_0x16ae24(0x1b3)]),await _0x126c64[_0x16ae24(0x198)](_0x1eb184);}module[a2_0x4ca47d(0x1cd)]=run;
2
+ 'use strict';const a2_0x230b55=a2_0x2954;(function(_0xf51abe,_0x37eefd){const _0x1fcaf3=a2_0x2954,_0x2750eb=_0xf51abe();while(!![]){try{const _0x12760c=parseInt(_0x1fcaf3(0xff))/0x1+-parseInt(_0x1fcaf3(0xe7))/0x2+parseInt(_0x1fcaf3(0xac))/0x3*(parseInt(_0x1fcaf3(0xd7))/0x4)+parseInt(_0x1fcaf3(0x8f))/0x5+-parseInt(_0x1fcaf3(0x6e))/0x6+parseInt(_0x1fcaf3(0xd3))/0x7*(-parseInt(_0x1fcaf3(0x76))/0x8)+parseInt(_0x1fcaf3(0x9d))/0x9;if(_0x12760c===_0x37eefd)break;else _0x2750eb['push'](_0x2750eb['shift']());}catch(_0x287c5d){_0x2750eb['push'](_0x2750eb['shift']());}}}(a2_0x412e,0x8f230));function a2_0x412e(){const _0x27c8f3=['FRAMEWORKS','title','WebDriver','../../helpers/performance/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','--config','djlnf','start','chrome','now','failed','114166hEWLRZ','rofAA','VlugS','before','useW3C','stack','codeceptjs/lib/index.js','BROWSERSTACK_RERUN_TESTS','sxaAy','gherkin','teardownAll','5372400DPFzGp','VcvFA','accessibilityOptions','test','browserName','push','platforms','Started\x20:\x20','784FYyWmP','../../helpers/helper','config','validateRerunTestList','bootstrapAll','../../bin/playwright/accessibility-helper','bMYSK','bBhEW','KxvHf','WFVTb','path','BROWSERSTACK_TEST_OBSERVABILITY_YML','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','initialize','root','USER_CONFIG_DETAILS_PATH','exports','browserWSEndpoint','../utils/constants','magDv','printResults','../../helpers/test-observability/constants','isUndefined','prepareCapabilities','assign','4976170RaSeGS','firefox','Jmzow','log','CODECEPT','/wd/hub','createGroupsOfSuites','findIndex','../../helpers/testhub/testhubHandler','run','map','chdir','replace','load','11917836QfdXva','NkNeW','OOgPN','accessKey','testObservability','../../helpers/performance/performance-tester','winstonLogger','EiYpU','BROWSERSTACK_RERUN','Playwright','mergeDeep','cwd','4|2|1|5|0|3','printBuildLink','MasZx','3XXzxCM','nXQoU','jEsmL','util','plugins','JWnfZ','forEach','trim','length','../../helpers/BrowserStackSetup','qhiTI','all','split','../../helpers/logger','browserStackCwd','Passed\x20:\x20','helpers','skipSessionStatus','vmaHs','testContextOptions','saBtJ','event','toLowerCase','skipSessionName','handleApp','SDK_SETUP','process','join','codeceptjs','Sqyuf','testConfig','addTests','playwright-chromium','launchBuild','existsSync','info','err','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getPlatformName','12964OViHkH','SDK_CLEANUP','stringify','playwright-firefox','1108284ywGaGK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hubUrl','setAdditionalCapabilities','chromium','sWjdS','browser','eTtiU','tGOhS','Workers','env','isTrue','CZOjH','validPlatformsPresent','finalExecution','addConfig','2094982bjoCug','CODECEPT_CUCUMBER','slice','passed','frameworkName','profile','spawn','debug','uewMD','IQTrq','key','enabled','oFOky'];a2_0x412e=function(){return _0x27c8f3;};return a2_0x412e();}function a2_0x2954(_0x5a68a8,_0x29b22d){const _0x412efd=a2_0x412e();return a2_0x2954=function(_0x2954d5,_0x24fb11){_0x2954d5=_0x2954d5-0x6d;let _0xd4960=_0x412efd[_0x2954d5];return _0xd4960;},a2_0x2954(_0x5a68a8,_0x29b22d);}const fs=require('fs'),path=require('path'),util=require(a2_0x230b55(0xaf)),process=require(a2_0x230b55(0xc6)),logger=require(a2_0x230b55(0xb9))[a2_0x230b55(0xa3)],{default:BrowserStackSetup}=require(a2_0x230b55(0xb5)),helper=require(a2_0x230b55(0x77)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x230b55(0x7b)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x230b55(0x77)),CodeceptJS=requireModule(a2_0x230b55(0x105),a2_0x230b55(0xc8)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x230b55(0x97)),constants=require(a2_0x230b55(0x88)),PerformanceTester=require(a2_0x230b55(0xa2)),{FRAMEWORKS}=require(a2_0x230b55(0x8b)),PerformanceEvents=require(a2_0x230b55(0xf7))['EVENTS'],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x39ad99,_0x421afa)=>{const _0x300fc1=a2_0x230b55,_0x500e3a={};_0x500e3a['nXQoU']=function(_0x570864,_0x5127f7){return _0x570864===_0x5127f7;},_0x500e3a['qhiTI']='codecept.conf.js',_0x500e3a['ozUzo']='codecept.json';const _0x4d6249=_0x500e3a;let _0x804db0=null;const _0x5a3fa7={};let _0x57a848=_0x421afa[_0x300fc1(0x96)](_0x414739=>_0x414739===_0x300fc1(0xf9));_0x4d6249[_0x300fc1(0xad)](_0x57a848,-0x1)&&(_0x57a848=_0x421afa[_0x300fc1(0x96)](_0x2fb5bd=>_0x2fb5bd==='-c'));if(!helper[_0x300fc1(0x8c)](_0x39ad99[_0x300fc1(0x78)])&&fs[_0x300fc1(0xce)](path[_0x300fc1(0xc7)](process['cwd'](),_0x39ad99[_0x300fc1(0x78)])))_0x804db0=path[_0x300fc1(0xc7)](process[_0x300fc1(0xa8)](),_0x39ad99[_0x300fc1(0x78)]),_0x421afa[_0x300fc1(0xe9)](_0x57a848,0x2);else{if(!helper[_0x300fc1(0x8c)](_0x39ad99['c'])&&fs[_0x300fc1(0xce)](path['join'](process[_0x300fc1(0xa8)](),_0x39ad99['c'])))_0x804db0=path[_0x300fc1(0xc7)](process[_0x300fc1(0xa8)](),_0x39ad99['c']),_0x421afa[_0x300fc1(0xe9)](_0x57a848,0x2);else{if(fs['existsSync'](path[_0x300fc1(0xc7)](process['cwd'](),_0x4d6249['qhiTI'])))_0x804db0=path[_0x300fc1(0xc7)](process[_0x300fc1(0xa8)](),_0x4d6249[_0x300fc1(0xb6)]);else fs['existsSync'](path[_0x300fc1(0xc7)](process['cwd'](),_0x4d6249['ozUzo']))&&(_0x804db0=path[_0x300fc1(0xc7)](process['cwd'](),_0x4d6249['ozUzo']));}}return process[_0x300fc1(0xe1)][_0x300fc1(0x85)]=_0x804db0,_0x804db0;},getO11yRerunPattern=()=>{const _0x49965f=a2_0x230b55,_0x33f46e=helper[_0x49965f(0xe2)](process['env'][_0x49965f(0xa5)]);if(_0x33f46e){const _0x327361=process[_0x49965f(0xe1)][_0x49965f(0x106)],_0x3dd51d=[];if(helper[_0x49965f(0x79)](_0x327361)&&!helper['isUndefined'](_0x327361)){_0x327361[_0x49965f(0xb8)](',')[_0x49965f(0x99)](_0x2ac7c2=>{const _0x5024aa=_0x49965f;_0x3dd51d['push']('('+_0x2ac7c2[_0x5024aa(0xb3)]()+')');});const _0x1fa820='^'+_0x3dd51d[_0x49965f(0xc7)]('|')+'$';return _0x1fa820;}}return null;},a2_0x341f00={};a2_0x341f00[a2_0x230b55(0xfc)]=a2_0x230b55(0xdb),a2_0x341f00[a2_0x230b55(0xcc)]=a2_0x230b55(0xdb),a2_0x341f00[a2_0x230b55(0xd6)]=a2_0x230b55(0x90),a2_0x341f00['playwright-webkit']='webkit';const pwToCodeceptBrowser=a2_0x341f00;async function run(_0x14d618,_0x5e1a05,_0x1f2c2c){const _0x5dc22d=a2_0x230b55,_0x11c110={'mgtIc':function(_0x46cea9,_0x162df7,_0x4f6d72,_0x3232b5){return _0x46cea9(_0x162df7,_0x4f6d72,_0x3232b5);},'vmaHs':function(_0x57b8c5,_0x3eb0b4){return _0x57b8c5+_0x3eb0b4;},'djlnf':function(_0x2b56d7,_0x9a6d5e){return _0x2b56d7(_0x9a6d5e);},'rdRUH':function(_0x4f3acb,_0x32512c){return _0x4f3acb+_0x32512c;},'saBtJ':function(_0x196f97,_0x5ddd9c,_0x5e0ea5){return _0x196f97(_0x5ddd9c,_0x5e0ea5);},'Sqyuf':_0x5dc22d(0xbc),'AzQUP':function(_0x51481b){return _0x51481b();},'bBhEW':_0x5dc22d(0x94),'VlugS':function(_0x5559bb){return _0x5559bb();},'oFOky':'Failed\x20:\x20','tGOhS':_0x5dc22d(0xbb),'cFtzJ':_0x5dc22d(0x75),'jEsmL':_0x5dc22d(0xa9),'IQTrq':function(_0x2abd49,_0x5a5e0b,_0x3a53ca){return _0x2abd49(_0x5a5e0b,_0x3a53ca);},'JWnfZ':_0x5dc22d(0xd1),'WFVTb':function(_0x449024,_0x4950a6,_0x14e090){return _0x449024(_0x4950a6,_0x14e090);},'VcvFA':_0x5dc22d(0xa6),'MWZqk':_0x5dc22d(0xf6),'NkNeW':function(_0x298dad,_0x1acfe8){return _0x298dad(_0x1acfe8);},'MasZx':function(_0x2f0e99,_0x36f1eb){return _0x2f0e99!=_0x36f1eb;},'CZOjH':function(_0x55ee6f,_0x3009b2){return _0x55ee6f===_0x3009b2;},'ZdezF':function(_0x4d4d63,_0x17aff8,_0x2dc067){return _0x4d4d63(_0x17aff8,_0x2dc067);},'sxaAy':_0x5dc22d(0x108),'EiYpU':function(_0x17f592){return _0x17f592();},'bMYSK':function(_0x3b7f6d,_0x566a67){return _0x3b7f6d*_0x566a67;},'DnxsC':_0x5dc22d(0xdd),'Jmzow':function(_0x2c1dd9,_0x63b66f,_0x435924){return _0x2c1dd9(_0x63b66f,_0x435924);},'OOgPN':'desiredCapabilities','rofAA':_0x5dc22d(0x84),'eTtiU':'BrowserStackPlugin.js','sWjdS':_0x5dc22d(0xba),'KxvHf':function(_0x51bebf){return _0x51bebf();}};await _0x1f2c2c[_0x5dc22d(0x83)](_0x14d618),await helper[_0x5dc22d(0xc4)](_0x1f2c2c[_0x5dc22d(0x78)]);if(!_0x1f2c2c[_0x5dc22d(0x78)])return;process[_0x5dc22d(0xec)]=_0x14d618[_0x5dc22d(0xec)];_0x14d618[_0x5dc22d(0xec)]&&(process['env'][_0x5dc22d(0xec)]=_0x14d618['profile']);const _0x924480=_0x11c110[_0x5dc22d(0xf0)](getUserCodeceptJSConfigs,_0x14d618,_0x5e1a05);let _0x5d660f={};_0x924480?(logger[_0x5dc22d(0xcf)](_0x5dc22d(0x82)+_0x924480),_0x5d660f=CodeceptJS['config'][_0x5dc22d(0x9c)](_0x924480)):logger[_0x5dc22d(0xcf)](_0x11c110[_0x5dc22d(0xb1)]);let _0x46ca02=![];_0x11c110[_0x5dc22d(0x7f)](nestedKeyValue,_0x5d660f,[_0x11c110[_0x5dc22d(0xc9)],_0x11c110[_0x5dc22d(0x6f)]])&&(_0x46ca02=!![]);const _0x16400d=_0x46ca02?_0x11c110[_0x5dc22d(0x6f)]:_0x11c110['MWZqk'];let _0xd9e648=!_0x46ca02?helper[_0x5dc22d(0x103)](_0x1f2c2c[_0x5dc22d(0x78)]):![];!helper['isUndefined'](_0x1f2c2c[_0x5dc22d(0x78)][_0x5dc22d(0x70)])&&(process['env'][_0x5dc22d(0xd8)]=JSON[_0x5dc22d(0xd5)](_0x1f2c2c[_0x5dc22d(0x78)]['accessibilityOptions']));let _0x548d08=_0x1f2c2c[_0x5dc22d(0x78)]['accessibility'];_0x548d08=_0x548d08||_0x11c110[_0x5dc22d(0x9e)](checkAccessibilityPlatformConfig,_0x1f2c2c[_0x5dc22d(0x78)]),process[_0x5dc22d(0xe1)][_0x5dc22d(0xf8)]=_0x548d08;_0x548d08&&(_0xd9e648=!_0x548d08);_0x11c110[_0x5dc22d(0xab)](_0x1f2c2c[_0x5dc22d(0x78)][_0x5dc22d(0xa1)],null)?process[_0x5dc22d(0xe1)][_0x5dc22d(0x81)]=_0x1f2c2c['config'][_0x5dc22d(0xa1)]:process[_0x5dc22d(0xe1)][_0x5dc22d(0x81)]=_0x11c110[_0x5dc22d(0xe3)](_0x16400d,_0x11c110[_0x5dc22d(0x6f)]);const _0xbca65f=_0x11c110['ZdezF'](nestedKeyValue,_0x5d660f,[_0x11c110[_0x5dc22d(0x107)]]),_0x2bdb5f=_0xbca65f&&!helper['isEmpty'](_0xbca65f)?FRAMEWORKS[_0x5dc22d(0xe8)]:FRAMEWORKS[_0x5dc22d(0x93)],_0x20d528=await TestHubHandler[_0x5dc22d(0xcd)](_0x2bdb5f,_0x1f2c2c);_0x548d08&&_0x11c110['NkNeW'](setAccessibilityCapabilities,_0x1f2c2c[_0x5dc22d(0x78)]);const _0x1f98fb={},_0x21f14c=[],_0x32d258=_0x1f2c2c[_0x5dc22d(0x78)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x14d618,_0x5e1a05,_0x1f2c2c[_0x5dc22d(0x78)],constants[_0x5dc22d(0xf4)][_0x5dc22d(0x93)])||0x1;let _0x2a9ebb=0x1;if(_0x11c110[_0x5dc22d(0xa4)](isBrowserstackInfra)){const _0x8c9070=helper['prepareCapabilities'](_0x1f2c2c[_0x5dc22d(0x78)],_0xd9e648,constants[_0x5dc22d(0xf4)][_0x5dc22d(0x93)]);_0x8c9070[_0x5dc22d(0xb2)](_0x107d59=>{const _0x4108c2=_0x5dc22d;helper[_0x4108c2(0xda)](_0x107d59);}),helper[_0x5dc22d(0xe4)](_0x1f2c2c['config'])?_0x2a9ebb=_0x11c110[_0x5dc22d(0x7c)](_0x32d258,_0x1f2c2c[_0x5dc22d(0x78)][_0x5dc22d(0x74)][_0x5dc22d(0xb4)]):_0x2a9ebb=_0x32d258,_0x8c9070[_0x5dc22d(0xb2)](_0x341240=>{const _0x1ed296=_0x5dc22d,_0x21e427={'magDv':function(_0x46358d,_0x428e24,_0x5de81e,_0x40b9c5){return _0x11c110['mgtIc'](_0x46358d,_0x428e24,_0x5de81e,_0x40b9c5);},'uewMD':function(_0x143f3b,_0x102a7f){const _0x4c969a=a2_0x2954;return _0x11c110[_0x4c969a(0xbe)](_0x143f3b,_0x102a7f);},'iFumy':function(_0x5c0614,_0x54ce2f){const _0x1d7205=a2_0x2954;return _0x11c110[_0x1d7205(0xfa)](_0x5c0614,_0x54ce2f);}},_0x5ee2b3=_0x11c110['rdRUH'](helper[_0x1ed296(0xd2)](_0x341240,'_'),'_'+Date[_0x1ed296(0xfd)]()),_0x5a425b=((()=>{const _0xe3ff9d=_0x1ed296;if(_0x46ca02){const _0x2e7053=pwToCodeceptBrowser[_0x341240[_0xe3ff9d(0x72)]]||_0x341240[_0xe3ff9d(0x72)],_0x1dbb6f=helper['getPlaywrightUrl'](_0x1f2c2c[_0xe3ff9d(0x78)]),_0xed9cda=Object[_0xe3ff9d(0x8e)]({},_0x341240);return _0x21e427[_0xe3ff9d(0x89)](processAccessibilityCaps,_0xed9cda,_0x1dbb6f,null),{'browser':_0x2e7053,[_0x2e7053]:{'browserWSEndpoint':_0x21e427[_0xe3ff9d(0xef)](_0x1dbb6f,_0x21e427['iFumy'](encodeURIComponent,JSON[_0xe3ff9d(0xd5)](_0xed9cda)))}};}const _0xf62b6a={};return _0xf62b6a['desiredCapabilities']=_0x341240,_0xf62b6a['user']=_0x1f2c2c['config']['userName'],_0xf62b6a[_0xe3ff9d(0xf1)]=_0x1f2c2c[_0xe3ff9d(0x78)][_0xe3ff9d(0xa0)],_0xf62b6a;})()),_0x314b9a=_0x11c110['saBtJ'](nestedKeyValue,_0x5d660f,[_0x11c110[_0x1ed296(0xc9)],_0x16400d]);_0x1f98fb[_0x5ee2b3]=_0x314b9a?helper[_0x1ed296(0xa7)](_0x5a425b,_0x314b9a):_0x5a425b;if(_0x46ca02)_0x1f98fb[_0x5ee2b3][_0x1ed296(0xdd)]=pwToCodeceptBrowser[_0x341240[_0x1ed296(0x72)]]||_0x341240['browserName'];else{_0x1f98fb[_0x5ee2b3][_0x1ed296(0xdd)]=_0x341240[_0x1ed296(0x72)]||_0x5a425b[_0x1ed296(0xdd)];if(_0x11c110['AzQUP'](isBrowserstackInfra)){_0x1f98fb[_0x5ee2b3]['host']=constants[_0x1ed296(0xd9)]['replace'](_0x11c110[_0x1ed296(0x7d)],'')[_0x1ed296(0x9b)](/https?:\/\//,'');;_0x1f98fb[_0x5ee2b3][_0x1ed296(0x80)]=_0x11c110[_0x1ed296(0x7d)];}}_0x21f14c[_0x1ed296(0x73)](_0x5ee2b3);});}else{_0x2a9ebb=0x1;if(_0x46ca02){const _0x243f7b=_0x11c110['saBtJ'](nestedKeyValue,_0x5d660f,[_0x11c110[_0x5dc22d(0xc9)],_0x16400d,_0x11c110['DnxsC']]),_0x4dcd30=_0x11c110[_0x5dc22d(0x91)](nestedKeyValue,_0x5d660f,[_0x11c110[_0x5dc22d(0xc9)],_0x16400d,_0x243f7b]);if(_0x4dcd30&&_0x4dcd30[_0x5dc22d(0x87)]){const _0x4cef40={};_0x4cef40['platforms']=[],_0x4dcd30[_0x5dc22d(0x87)]=helper[_0x5dc22d(0x8d)](Object[_0x5dc22d(0x8e)]({},_0x1f2c2c['config'],_0x4cef40),null,_0x2bdb5f[_0x5dc22d(0xc2)](),null,null,_0x4dcd30[_0x5dc22d(0x87)]);}}else{const _0x896d29={};_0x896d29[_0x5dc22d(0x74)]=[],_0x5d660f[_0x11c110[_0x5dc22d(0xc9)]][_0x16400d][_0x11c110[_0x5dc22d(0x9f)]]=helper['prepareCapabilities'](Object['assign']({},_0x1f2c2c['config'],_0x896d29),null,_0x2bdb5f[_0x5dc22d(0xc2)](),_0x11c110[_0x5dc22d(0xc0)](nestedKeyValue,_0x5d660f,[_0x11c110[_0x5dc22d(0xc9)],_0x16400d,_0x11c110[_0x5dc22d(0x9f)]])||{},null,null);}_0x1f98fb[_0x11c110[_0x5dc22d(0x100)]]=_0x5d660f,_0x21f14c[_0x5dc22d(0x73)](_0x11c110['rofAA']);}const _0x237eb0={};_0x237eb0[_0x5dc22d(0xca)]=_0x924480;const _0x2cd863=_0x237eb0,_0x111bcd=path['join'](__dirname,_0x11c110[_0x5dc22d(0xde)]),_0x3ee965=process['cwd']();process[_0x5dc22d(0xe1)][_0x11c110[_0x5dc22d(0xdc)]]=_0x3ee965,process[_0x5dc22d(0x9a)](path['dirname'](_0x924480));const _0x5b5b92=new CodeceptJS[(_0x5dc22d(0xe0))](null,_0x2cd863),_0x142c17=_0x5b5b92[_0x5dc22d(0x95)](_0x32d258),_0x5a0500=testOpsHelper['isTestObservabilitySession'](),_0x46962f=_0x21f14c[_0x5dc22d(0x99)](_0x2dda2e=>{const _0x2e95f1=_0x5dc22d,_0x512dbc={};_0x512dbc[_0x2e95f1(0xa6)]=_0x1f98fb[_0x2dda2e];const _0x5d5a29={};_0x5d5a29[_0x2e95f1(0xf6)]=_0x1f98fb[_0x2dda2e];const _0x5d2940=_0x46ca02?_0x512dbc:_0x5d5a29,_0x247894=_0x11c110[_0x2e95f1(0x101)](getO11yRerunPattern),_0x5a98d2={};_0x5a98d2[_0x2e95f1(0xbc)]=_0x5d2940;const _0x1139df={};_0x1139df['require']=_0x111bcd,_0x1139df[_0x2e95f1(0xf2)]=!![],_0x1139df[_0x2e95f1(0xc3)]=_0x1f2c2c[_0x2e95f1(0x78)][_0x2e95f1(0xbf)][_0x2e95f1(0xc3)],_0x1139df[_0x2e95f1(0xbd)]=_0x1f2c2c[_0x2e95f1(0x78)][_0x2e95f1(0xbf)]['skipSessionStatus'],_0x1139df[_0x2e95f1(0xa1)]=_0x5a0500,_0x1139df[_0x2e95f1(0xeb)]=_0x2bdb5f;const _0x8fd7a3={};_0x8fd7a3['BrowserStackPlugin']=_0x1139df;const _0x1f33e9={};return _0x1f33e9[_0x2e95f1(0xb0)]=_0x8fd7a3,helper[_0x2e95f1(0xa7)]({},_0x5d660f,_0x11c110[_0x2e95f1(0x101)](isBrowserstackInfra)?_0x5a98d2:{},_0x247894?{'grep':_0x247894}:{},_0x1f33e9);});for(const _0x112546 of _0x46962f){for(const _0x47bde0 of _0x142c17){const _0x277019=_0x5b5b92[_0x5dc22d(0xed)]();_0x277019[_0x5dc22d(0xcb)](_0x47bde0),_0x277019[_0x5dc22d(0xe6)](_0x112546);const _0x246291={};_0x246291[_0x5dc22d(0x78)]=_0x924480,_0x277019['addOptions'](Object['assign'](_0x246291,_0x14d618));}}_0x5b5b92['on'](CodeceptJS['event'][_0x5dc22d(0x71)][_0x5dc22d(0xfe)],(_0x1b9c22,_0x232ebc)=>{const _0x206219=_0x5dc22d;console['log'](_0x11c110[_0x206219(0xf3)],_0x1b9c22['title']);const _0x37e0c0={[_0x1b9c22[_0x206219(0xf5)]]:_0x1b9c22[_0x206219(0xd0)][_0x206219(0x104)]};_testErrorData[_0x206219(0x73)](_0x37e0c0);}),_0x5b5b92['on'](CodeceptJS['event'][_0x5dc22d(0x71)][_0x5dc22d(0xea)],async _0x3bf513=>{const _0x1a9c28=_0x5dc22d;console[_0x1a9c28(0x92)](_0x11c110[_0x1a9c28(0xdf)],_0x3bf513[_0x1a9c28(0xf5)]);}),_0x5b5b92['on'](CodeceptJS[_0x5dc22d(0xc1)]['test'][_0x5dc22d(0x102)],async _0x436d00=>{const _0x5b6c20=_0x5dc22d;console[_0x5b6c20(0x92)](_0x11c110['cFtzJ'],_0x436d00[_0x5b6c20(0xf5)]);}),_0x5b5b92['on'](CodeceptJS[_0x5dc22d(0xc1)][_0x5dc22d(0xb7)]['result'],async()=>{const _0x282d1f=_0x5dc22d,_0x5c2a74=_0x11c110[_0x282d1f(0xae)][_0x282d1f(0xb8)]('|');let _0x3265fd=0x0;while(!![]){switch(_0x5c2a74[_0x3265fd++]){case'0':try{await TestHubHandler['stop']();}catch(_0x3c4fd5){logger[_0x282d1f(0xee)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x3c4fd5));}continue;case'1':testOpsHelper[_0x282d1f(0xaa)]();continue;case'2':_0x1f2c2c['errorMessage']=_testErrorData;continue;case'3':_0x5b5b92[_0x282d1f(0x8a)]();continue;case'4':PerformanceTester[_0x282d1f(0xfb)](PerformanceEvents[_0x282d1f(0xd4)]);continue;case'5':utilities[_0x282d1f(0xe5)](_0x1f2c2c);continue;}break;}});async function _0x2226fd(){const _0x29c451=_0x5dc22d;try{await _0x5b5b92[_0x29c451(0x7a)](),await _0x5b5b92[_0x29c451(0x98)]();}finally{process[_0x29c451(0x9a)](_0x3ee965),await _0x5b5b92[_0x29c451(0x6d)]();}}PerformanceTester['end'](PerformanceEvents[_0x5dc22d(0xc5)]),await _0x11c110[_0x5dc22d(0x7e)](_0x2226fd);}module[a2_0x230b55(0x86)]=run;
@@ -1 +1 @@
1
- const a3_0x114b2f=a3_0x5818;function a3_0x4f83(){const _0x337761=['WbAFy','fOwzN','omVNe','../../helpers/accessibility-automation/helper','IDzWZ','caps','platformVersion','osVersion','wnHLj','browserVersion','dlfAL','on\x20non-BrowserStack\x20infrastructure\x20','bsSessionId','lzKak','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','WebDriver','deviceName','searchParams','hMMXX','anoBR','kFfmQ','constructor','getBrowserDisplayName','715pjBaUi','browserstack_executor','bstack:options','5484837ZxpdpD','IFHmF','browserName','MWHVK','__cloud_provider___','ptvrZ','2699908uTuduI','../../helpers/helper','getMinVersionForBrowser','browser_version','483440qZSVgQ','1578874VlpMJj','isBrowserSupportedForAccessibility','browserWSEndpoint','../../helpers/logger','shouldPatchExecuteScript','unknown_grid','browser','getDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','23946StYeyY','2VePYlF','platformName','includes','capabilities','OyeRi','SJHLG','zLdNg','sessionId','accessibilityPlatform','vrSdQ','warn','fetchPlatformDetails','os_version','1382738yzgpon','\x20browser\x20version\x20','nKDAX','platform_version','13431843IPyone','parse','fTUKT','../../helpers/test-observability/utils','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','KDqOq','TLDLF','latest','config','OiTWb','dkrrh','../../bin/playwright/sessionDetails'];a3_0x4f83=function(){return _0x337761;};return a3_0x4f83();}function a3_0x5818(_0x1f5c29,_0x1b29b9){const _0x4f8396=a3_0x4f83();return a3_0x5818=function(_0x5818ca,_0x34c724){_0x5818ca=_0x5818ca-0xc9;let _0x461464=_0x4f8396[_0x5818ca];return _0x461464;},a3_0x5818(_0x1f5c29,_0x1b29b9);}(function(_0x4f694f,_0x20edb1){const _0x30f11f=a3_0x5818,_0x310067=_0x4f694f();while(!![]){try{const _0x5dc17c=parseInt(_0x30f11f(0x10c))/0x1+parseInt(_0x30f11f(0xc9))/0x2*(parseInt(_0x30f11f(0x101))/0x3)+-parseInt(_0x30f11f(0x107))/0x4+parseInt(_0x30f11f(0xfe))/0x5*(-parseInt(_0x30f11f(0x115))/0x6)+parseInt(_0x30f11f(0xd6))/0x7+parseInt(_0x30f11f(0x10b))/0x8+-parseInt(_0x30f11f(0xda))/0x9;if(_0x5dc17c===_0x20edb1)break;else _0x310067['push'](_0x310067['shift']());}catch(_0x102616){_0x310067['push'](_0x310067['shift']());}}}(a3_0x4f83,0xe2518));const {isUndefined,nestedKeyValue}=require(a3_0x114b2f(0x108)),logger=require(a3_0x114b2f(0x10f))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x114b2f(0xe6)),{isAccessibilityAutomationSession}=require(a3_0x114b2f(0xea)),{getObservabilityLinkedProductName}=require(a3_0x114b2f(0xdd)),accessibilityHelper=require(a3_0x114b2f(0xea)),{isBrowserstackInfra}=require(a3_0x114b2f(0x108)),getOSVersionFromCaps=_0x4f2af5=>{const _0x12c083=a3_0x114b2f,_0x3746d0={};_0x3746d0[_0x12c083(0xe1)]=_0x12c083(0x100),_0x3746d0[_0x12c083(0xdc)]='platformVersion',_0x3746d0[_0x12c083(0xfb)]=_0x12c083(0xd9),_0x3746d0[_0x12c083(0xd2)]=_0x12c083(0xee),_0x3746d0['dkrrh']=_0x12c083(0xd5);const _0x1ae524=_0x3746d0;if(!_0x4f2af5)return null;const _0x516ed5=_0x4f2af5[_0x1ae524[_0x12c083(0xe1)]],_0x4f2200=[_0x1ae524[_0x12c083(0xdc)],_0x1ae524['kFfmQ'],_0x1ae524[_0x12c083(0xd2)],_0x1ae524[_0x12c083(0xe5)]];for(const _0x53e877 of _0x4f2200){if(_0x516ed5&&_0x516ed5[_0x53e877])return _0x516ed5[_0x53e877];else{if(_0x4f2af5[_0x53e877])return _0x4f2af5[_0x53e877];}}return null;};exports[a3_0x114b2f(0xd4)]=_0x35cbf5=>{const _0xc66f5c=a3_0x114b2f,_0x1911c8={'SJHLG':_0xc66f5c(0x111),'KDqOq':function(_0x1ef50b,_0x14d4a5){return _0x1ef50b===_0x14d4a5;},'OyeRi':_0xc66f5c(0xf6),'nKDAX':function(_0x4d40b3,_0x16ee29){return _0x4d40b3(_0x16ee29);},'OiTWb':function(_0x52e74c,_0x94954e,_0x14ca17){return _0x52e74c(_0x94954e,_0x14ca17);},'WbAFy':_0xc66f5c(0xe3),'UMcSG':'desiredCapabilities','omVNe':function(_0x373433,_0x4aff){return _0x373433(_0x4aff);},'anoBR':'Playwright','nTtvf':_0xc66f5c(0x112),'IFHmF':_0xc66f5c(0x10e),'wnHLj':_0xc66f5c(0xec)};if(!_0x35cbf5)return null;let _0x10841a=global[_0xc66f5c(0x105)]||_0x1911c8[_0xc66f5c(0xce)];if(_0x1911c8[_0xc66f5c(0xe0)](_0x35cbf5[_0xc66f5c(0xfc)]['name'],_0x1911c8[_0xc66f5c(0xcd)])){const _0x55aff5=_0x35cbf5['browser'];if(!_0x55aff5)return null;const _0x3b3e07=_0x55aff5[_0xc66f5c(0xcc)],_0x112f61=_0x1911c8[_0xc66f5c(0xd8)](getOSVersionFromCaps,_0x1911c8[_0xc66f5c(0xe4)](nestedKeyValue,_0x35cbf5,[_0x1911c8[_0xc66f5c(0xe7)],_0x1911c8['UMcSG']]));return{[_0x10841a]:{'browser':_0x3b3e07[_0xc66f5c(0x103)],'browser_version':_0x3b3e07[_0xc66f5c(0xf0)],'capabilities':_0x3b3e07,'platform':_0x3b3e07[_0xc66f5c(0xca)],'platform_version':_0x3b3e07[_0xc66f5c(0xed)]||_0x112f61,'product':_0x1911c8[_0xc66f5c(0xe9)](getObservabilityLinkedProductName,_0x3b3e07),'session_id':_0x55aff5[_0xc66f5c(0xd0)]}};}else{if(_0x1911c8[_0xc66f5c(0xe0)](_0x35cbf5[_0xc66f5c(0xfc)][_0xc66f5c(0xde)],_0x1911c8[_0xc66f5c(0xfa)])){const _0x3e0efb=PlaywrightSessionDetails[_0xc66f5c(0x113)]();_0x10841a=_0x3e0efb['cloudProvider']||_0x10841a;const _0x4ee5c0=_0x1911c8[_0xc66f5c(0xe4)](nestedKeyValue,_0x35cbf5,[_0x1911c8[_0xc66f5c(0xe7)],_0x1911c8['nTtvf'],_0x1911c8[_0xc66f5c(0x102)]]),_0x9f2c1a=_0x4ee5c0?JSON[_0xc66f5c(0xdb)](new URL(_0x4ee5c0)[_0xc66f5c(0xf8)]['get'](_0x1911c8[_0xc66f5c(0xef)])):{};return{[_0x10841a]:{'browser':_0x3e0efb[_0xc66f5c(0x112)]||_0x9f2c1a[_0xc66f5c(0x103)],'browser_version':_0x3e0efb[_0xc66f5c(0x10a)]||_0x9f2c1a[_0xc66f5c(0x10a)],'capabilities':_0x9f2c1a,'platform':_0x3e0efb['platform'],'platform_version':_0x3e0efb[_0xc66f5c(0xd9)],'product':_0x1911c8[_0xc66f5c(0xe9)](getObservabilityLinkedProductName,_0x9f2c1a),'session_id':_0x3e0efb[_0xc66f5c(0xf3)]}};}}},exports['processWebDriverConfig']=_0x113172=>{const _0x4334fa=a3_0x114b2f,_0x312794={'yxPEs':function(_0xd648d6){return _0xd648d6();},'PDwRr':_0x4334fa(0xf5),'ptvrZ':function(_0x1d8530,_0x5274eb){return _0x1d8530!==_0x5274eb;},'fOwzN':_0x4334fa(0xe2),'nVngH':_0x4334fa(0xf2),'IDzWZ':function(_0x5cf860,_0x1a5b54){return _0x5cf860(_0x1a5b54);},'dlfAL':_0x4334fa(0x114)};if(_0x312794['yxPEs'](isAccessibilityAutomationSession)){const _0x5a2fa5=_0x113172['browser'],_0x1a5370=_0x5a2fa5['capabilities'];global[_0x4334fa(0xd1)]=!![];!accessibilityHelper[_0x4334fa(0x10d)](_0x1a5370[_0x4334fa(0x103)])&&(logger['warn'](_0x312794['PDwRr']),global[_0x4334fa(0xd1)]=![]);if(_0x312794[_0x4334fa(0x106)](_0x1a5370['browserVersion'],_0x312794[_0x4334fa(0xe8)])){const _0x4d0f16=_0x312794['yxPEs'](isBrowserstackInfra),_0x310ba2=accessibilityHelper[_0x4334fa(0x109)](_0x1a5370['browserName'],_0x4d0f16),_0x172533=accessibilityHelper[_0x4334fa(0xfd)](_0x1a5370[_0x4334fa(0x103)]);if(!accessibilityHelper['isVersionSupported'](_0x1a5370[_0x4334fa(0xf0)],_0x310ba2)){const _0xf98616=_0x4d0f16?'':_0x312794['nVngH'];logger[_0x4334fa(0xd3)](_0x4334fa(0xdf)+_0x172533+_0x4334fa(0xd7)+_0x310ba2+'\x20or\x20higher\x20'+_0xf98616+'.'),global[_0x4334fa(0xd1)]=![];}}!_0x312794[_0x4334fa(0xeb)](isUndefined,_0x1a5370[_0x4334fa(0xf7)])&&(logger[_0x4334fa(0xd3)](_0x312794[_0x4334fa(0xf1)]),global[_0x4334fa(0xd1)]=![]);}},exports[a3_0x114b2f(0x110)]=_0x3db82e=>{const _0x1a7980=a3_0x114b2f,_0xe9235c={};_0xe9235c[_0x1a7980(0x104)]=function(_0x2ba2a8,_0x57940a){return _0x2ba2a8!==_0x57940a;},_0xe9235c[_0x1a7980(0xf4)]='string',_0xe9235c[_0x1a7980(0xcf)]=_0x1a7980(0xff),_0xe9235c[_0x1a7980(0xf9)]='browserstack_accessibility_automation_script';const _0x532cf3=_0xe9235c;if(!_0x3db82e)return![];else{if(_0x532cf3['MWHVK'](typeof _0x3db82e,_0x532cf3[_0x1a7980(0xf4)]))return!![];}return!_0x3db82e[_0x1a7980(0xcb)](_0x532cf3[_0x1a7980(0xcf)])&&!_0x3db82e['includes'](_0x532cf3['hMMXX']);};
1
+ function a3_0x2027(){const _0x5ee7ad=['xqPCA','qzCAo','OrWTZ','5xRejvF','browserVersion','142649SrQhpY','nUpVr','2380UEOlLp','aTkgx','XnYNy','caps','isVersionSupported','oHFZW','840YTBons','../../bin/playwright/sessionDetails','zUNJA','pdWvG','dgpBt','browserName','oblWU','CPKLa','searchParams','ULQOC','117387CMuuNw','12kWDjAT','includes','GCwcZ','browser_version','BFmRk','../../helpers/accessibility-automation/helper','\x20or\x20higher\x20','cTaKO','1220656cAILHB','get','bsSessionId','Jtjvh','warn','deviceName','3172884RLkrEp','platform','TYBMN','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','2TiLRAl','accessibilityPlatform','getBrowserDisplayName','26297711vKUWEV','WebDriver','platformName','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','oRQwL','oWsde','latest','../../helpers/test-observability/utils','shouldPatchExecuteScript','../../helpers/logger','browserWSEndpoint','WosHJ','constructor','parse','config','SUliC','sessionId','browserstack_accessibility_automation_script','capabilities','vUHNT','sJoAF','unknown_grid','12816zIvvUt','platformVersion','os_version','browser','2595414eQaOFn','getMinVersionForBrowser','Playwright','getDetails','../../helpers/helper','fFROV','TVoAv','fetchPlatformDetails'];a3_0x2027=function(){return _0x5ee7ad;};return a3_0x2027();}const a3_0x27ea6e=a3_0x5b6f;function a3_0x5b6f(_0x4d9731,_0x33d720){const _0x202786=a3_0x2027();return a3_0x5b6f=function(_0x5b6f18,_0x443fc0){_0x5b6f18=_0x5b6f18-0x13a;let _0x50c4b1=_0x202786[_0x5b6f18];return _0x50c4b1;},a3_0x5b6f(_0x4d9731,_0x33d720);}(function(_0x3ed644,_0x14f233){const _0x153e4e=a3_0x5b6f,_0x231087=_0x3ed644();while(!![]){try{const _0x3e5895=-parseInt(_0x153e4e(0x186))/0x1+-parseInt(_0x153e4e(0x15b))/0x2*(parseInt(_0x153e4e(0x179))/0x3)+-parseInt(_0x153e4e(0x150))/0x4*(-parseInt(_0x153e4e(0x184))/0x5)+-parseInt(_0x153e4e(0x156))/0x6+parseInt(_0x153e4e(0x188))/0x7*(parseInt(_0x153e4e(0x175))/0x8)+-parseInt(_0x153e4e(0x147))/0x9*(parseInt(_0x153e4e(0x13d))/0xa)+-parseInt(_0x153e4e(0x15e))/0xb*(-parseInt(_0x153e4e(0x148))/0xc);if(_0x3e5895===_0x14f233)break;else _0x231087['push'](_0x231087['shift']());}catch(_0x7a4372){_0x231087['push'](_0x231087['shift']());}}}(a3_0x2027,0x9484c));const {isUndefined,nestedKeyValue}=require(a3_0x27ea6e(0x17d)),logger=require(a3_0x27ea6e(0x168))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x27ea6e(0x13e)),{isAccessibilityAutomationSession}=require(a3_0x27ea6e(0x14d)),{getObservabilityLinkedProductName}=require(a3_0x27ea6e(0x166)),accessibilityHelper=require(a3_0x27ea6e(0x14d)),{isBrowserstackInfra}=require(a3_0x27ea6e(0x17d)),getOSVersionFromCaps=_0x2d12e8=>{const _0x51cec5=a3_0x27ea6e,_0x31c8f2={};_0x31c8f2[_0x51cec5(0x144)]='bstack:options',_0x31c8f2['vUHNT']='platformVersion',_0x31c8f2[_0x51cec5(0x173)]=_0x51cec5(0x161),_0x31c8f2[_0x51cec5(0x17f)]='osVersion',_0x31c8f2[_0x51cec5(0x187)]=_0x51cec5(0x177);const _0x58f72e=_0x31c8f2;if(!_0x2d12e8)return null;const _0x2f9ec9=_0x2d12e8[_0x58f72e[_0x51cec5(0x144)]],_0x7cddeb=[_0x58f72e[_0x51cec5(0x172)],_0x58f72e[_0x51cec5(0x173)],_0x58f72e[_0x51cec5(0x17f)],_0x58f72e[_0x51cec5(0x187)]];for(const _0x30fa71 of _0x7cddeb){if(_0x2f9ec9&&_0x2f9ec9[_0x30fa71])return _0x2f9ec9[_0x30fa71];else{if(_0x2d12e8[_0x30fa71])return _0x2d12e8[_0x30fa71];}}return null;};exports[a3_0x27ea6e(0x180)]=_0x4d94bc=>{const _0x41983e=a3_0x27ea6e,_0x575c57={'aTkgx':_0x41983e(0x174),'EimKU':function(_0x2bc717,_0x5c2530){return _0x2bc717===_0x5c2530;},'zUNJA':_0x41983e(0x15f),'SUliC':function(_0x342d7d,_0x49b76e){return _0x342d7d(_0x49b76e);},'Jtjvh':function(_0x245d85,_0x1fc6b6,_0x1b9a14){return _0x245d85(_0x1fc6b6,_0x1b9a14);},'qzCAo':_0x41983e(0x16d),'fFROV':'desiredCapabilities','GCwcZ':function(_0x333a5a,_0x278940){return _0x333a5a(_0x278940);},'XLHgv':function(_0x4ac2e0,_0x189f59){return _0x4ac2e0===_0x189f59;},'oblWU':_0x41983e(0x17b),'oHFZW':_0x41983e(0x178),'ULQOC':_0x41983e(0x169),'oWsde':_0x41983e(0x13a)};if(!_0x4d94bc)return null;let _0x2cf2e6=global['__cloud_provider___']||_0x575c57[_0x41983e(0x189)];if(_0x575c57['EimKU'](_0x4d94bc[_0x41983e(0x16b)][_0x41983e(0x159)],_0x575c57[_0x41983e(0x13f)])){const _0x833ea4=_0x4d94bc[_0x41983e(0x178)];if(!_0x833ea4)return null;const _0x1cd9b9=_0x833ea4[_0x41983e(0x171)],_0x5be688=_0x575c57[_0x41983e(0x16e)](getOSVersionFromCaps,_0x575c57[_0x41983e(0x153)](nestedKeyValue,_0x4d94bc,[_0x575c57[_0x41983e(0x182)],_0x575c57[_0x41983e(0x17e)]]));return{[_0x2cf2e6]:{'browser':_0x1cd9b9[_0x41983e(0x142)],'browser_version':_0x1cd9b9[_0x41983e(0x185)],'capabilities':_0x1cd9b9,'platform':_0x1cd9b9[_0x41983e(0x160)],'platform_version':_0x1cd9b9[_0x41983e(0x176)]||_0x5be688,'product':_0x575c57[_0x41983e(0x14a)](getObservabilityLinkedProductName,_0x1cd9b9),'session_id':_0x833ea4[_0x41983e(0x16f)]}};}else{if(_0x575c57['XLHgv'](_0x4d94bc[_0x41983e(0x16b)][_0x41983e(0x159)],_0x575c57[_0x41983e(0x143)])){const _0x4984f7=PlaywrightSessionDetails[_0x41983e(0x17c)]();_0x2cf2e6=_0x4984f7['cloudProvider']||_0x2cf2e6;const _0x22a17a=_0x575c57[_0x41983e(0x153)](nestedKeyValue,_0x4d94bc,[_0x575c57['qzCAo'],_0x575c57[_0x41983e(0x13c)],_0x575c57[_0x41983e(0x146)]]),_0x3d2d30=_0x22a17a?JSON[_0x41983e(0x16c)](new URL(_0x22a17a)[_0x41983e(0x145)][_0x41983e(0x151)](_0x575c57[_0x41983e(0x164)])):{};return{[_0x2cf2e6]:{'browser':_0x4984f7[_0x41983e(0x178)]||_0x3d2d30[_0x41983e(0x142)],'browser_version':_0x4984f7['browser_version']||_0x3d2d30[_0x41983e(0x14b)],'capabilities':_0x3d2d30,'platform':_0x4984f7[_0x41983e(0x157)],'platform_version':_0x4984f7[_0x41983e(0x161)],'product':_0x575c57[_0x41983e(0x16e)](getObservabilityLinkedProductName,_0x3d2d30),'session_id':_0x4984f7[_0x41983e(0x152)]}};}}},exports['processWebDriverConfig']=_0x567f8d=>{const _0x160d5a=a3_0x27ea6e,_0x4b0e65={'OrWTZ':function(_0x28f82c){return _0x28f82c();},'batih':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','WosHJ':function(_0x7cf1e2,_0x35c7cf){return _0x7cf1e2!==_0x35c7cf;},'BFmRk':_0x160d5a(0x165),'mSUkJ':function(_0x55aad5){return _0x55aad5();},'XnYNy':'on\x20non-BrowserStack\x20infrastructure\x20','cTaKO':function(_0xb3d5be,_0x2277ec){return _0xb3d5be(_0x2277ec);},'pdWvG':_0x160d5a(0x162)};if(_0x4b0e65[_0x160d5a(0x183)](isAccessibilityAutomationSession)){const _0x26813d=_0x567f8d[_0x160d5a(0x178)],_0x2b83b0=_0x26813d['capabilities'];global[_0x160d5a(0x15c)]=!![];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x2b83b0[_0x160d5a(0x142)])&&(logger[_0x160d5a(0x154)](_0x4b0e65['batih']),global[_0x160d5a(0x15c)]=![]);if(_0x4b0e65[_0x160d5a(0x16a)](_0x2b83b0[_0x160d5a(0x185)],_0x4b0e65[_0x160d5a(0x14c)])){const _0x42e810=_0x4b0e65['mSUkJ'](isBrowserstackInfra),_0x34a7e8=accessibilityHelper[_0x160d5a(0x17a)](_0x2b83b0[_0x160d5a(0x142)],_0x42e810),_0x3422e0=accessibilityHelper[_0x160d5a(0x15d)](_0x2b83b0[_0x160d5a(0x142)]);if(!accessibilityHelper[_0x160d5a(0x13b)](_0x2b83b0['browserVersion'],_0x34a7e8)){const _0x4d0841=_0x42e810?'':_0x4b0e65[_0x160d5a(0x18a)];logger[_0x160d5a(0x154)](_0x160d5a(0x15a)+_0x3422e0+'\x20browser\x20version\x20'+_0x34a7e8+_0x160d5a(0x14e)+_0x4d0841+'.'),global[_0x160d5a(0x15c)]=![];}}!_0x4b0e65[_0x160d5a(0x14f)](isUndefined,_0x2b83b0[_0x160d5a(0x155)])&&(logger[_0x160d5a(0x154)](_0x4b0e65[_0x160d5a(0x140)]),global[_0x160d5a(0x15c)]=![]);}},exports[a3_0x27ea6e(0x167)]=_0x2eccbc=>{const _0x46f74b=a3_0x27ea6e,_0x69a9b8={};_0x69a9b8[_0x46f74b(0x163)]=function(_0xe58d01,_0x112649){return _0xe58d01!==_0x112649;},_0x69a9b8[_0x46f74b(0x181)]='string',_0x69a9b8[_0x46f74b(0x158)]='browserstack_executor',_0x69a9b8[_0x46f74b(0x141)]=_0x46f74b(0x170);const _0xb6d51f=_0x69a9b8;if(!_0x2eccbc)return![];else{if(_0xb6d51f[_0x46f74b(0x163)](typeof _0x2eccbc,_0xb6d51f['xqPCA']))return!![];}return!_0x2eccbc['includes'](_0xb6d51f[_0x46f74b(0x158)])&&!_0x2eccbc[_0x46f74b(0x149)](_0xb6d51f[_0x46f74b(0x141)]);};
@@ -1 +1 @@
1
- const a4_0xeb03ae=a4_0x56c9;(function(_0x3d5505,_0x533572){const _0x2e0790=a4_0x56c9,_0x50267e=_0x3d5505();while(!![]){try{const _0x17cf62=-parseInt(_0x2e0790(0x118))/0x1*(parseInt(_0x2e0790(0x1e2))/0x2)+-parseInt(_0x2e0790(0x182))/0x3*(-parseInt(_0x2e0790(0x11a))/0x4)+parseInt(_0x2e0790(0x1ba))/0x5+parseInt(_0x2e0790(0x19e))/0x6+parseInt(_0x2e0790(0x1df))/0x7*(-parseInt(_0x2e0790(0x139))/0x8)+parseInt(_0x2e0790(0x177))/0x9*(parseInt(_0x2e0790(0x14f))/0xa)+-parseInt(_0x2e0790(0x132))/0xb;if(_0x17cf62===_0x533572)break;else _0x50267e['push'](_0x50267e['shift']());}catch(_0x3e22cb){_0x50267e['push'](_0x50267e['shift']());}}}(a4_0x508e,0x896c5));const path=require(a4_0xeb03ae(0x1aa)),fs=require('fs'),{v4:uuidv4}=require(a4_0xeb03ae(0x142)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xeb03ae(0x14a)),testOpsHelper=require(a4_0xeb03ae(0x17c)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0xeb03ae(0x164)),logger=require(a4_0xeb03ae(0x166))[a4_0xeb03ae(0x105)],SessionHandler=require(a4_0xeb03ae(0x145)),RequestQueueHandler=require(a4_0xeb03ae(0xff)),PlaywrightSessionDetails=require(a4_0xeb03ae(0x1a9)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0xeb03ae(0x143)),Constants=require(a4_0xeb03ae(0x19d)),{fetchPlatformDetails}=require(a4_0xeb03ae(0x11c)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xeb03ae(0x1c8)),constants=require(a4_0xeb03ae(0x19d)),STATE_PASSED='passed',STATE_FAILED=a4_0xeb03ae(0x1ce),a4_0xd30bed={};a4_0xd30bed['TEST_RUN_STARTED']='TestRunStarted',a4_0xd30bed[a4_0xeb03ae(0x131)]=a4_0xeb03ae(0x10e),a4_0xd30bed[a4_0xeb03ae(0x1d3)]=a4_0xeb03ae(0x127),a4_0xd30bed[a4_0xeb03ae(0x1ca)]=a4_0xeb03ae(0x175),a4_0xd30bed[a4_0xeb03ae(0x1c4)]=a4_0xeb03ae(0x1e3);const TEST_EVENTS=a4_0xd30bed,parseEvent=_0x2fd8a9=>{const _0x3b1c30=a4_0xeb03ae,_0x424a1c={};_0x424a1c['IGnym']=function(_0xf37132,_0x2e5817){return _0xf37132<_0x2e5817;},_0x424a1c['EbTRr']=function(_0x3889de,_0x3605b8){return _0x3889de===_0x3605b8;},_0x424a1c[_0x3b1c30(0x137)]=_0x3b1c30(0x1d9),_0x424a1c[_0x3b1c30(0x1e9)]=function(_0x330feb,_0x4183ef){return _0x330feb===_0x4183ef;},_0x424a1c[_0x3b1c30(0x1bf)]=_0x3b1c30(0x146),_0x424a1c[_0x3b1c30(0x16c)]=_0x3b1c30(0x109),_0x424a1c[_0x3b1c30(0x110)]=function(_0x3e8469,_0x3ec637){return _0x3e8469===_0x3ec637;},_0x424a1c[_0x3b1c30(0x128)]=_0x3b1c30(0x1dd),_0x424a1c[_0x3b1c30(0x13d)]=_0x3b1c30(0x17d);const _0x52389c=_0x424a1c,_0x1311a4=_0x2fd8a9[_0x3b1c30(0x152)](/^(.*)Run(.*)$/);if(!_0x1311a4)return null;if(_0x52389c[_0x3b1c30(0x1ac)](_0x1311a4['length'],0x3))return null;const _0x506c21=_0x1311a4[0x1][_0x3b1c30(0x130)](),_0x133393=_0x1311a4[0x2][_0x3b1c30(0x130)]();return{'test':_0x52389c[_0x3b1c30(0x15a)](_0x506c21,_0x52389c['VZvbR']),'hook':_0x52389c[_0x3b1c30(0x1e9)](_0x506c21,_0x52389c['aeEFD']),'skipped':_0x52389c['EbTRr'](_0x133393,_0x52389c[_0x3b1c30(0x16c)]),'started':_0x52389c[_0x3b1c30(0x110)](_0x133393,_0x52389c['lOTmy']),'finished':_0x52389c['PxNeN'](_0x133393,_0x52389c['lMETM'])};},mockPWBrowserType=_0x28a992=>{const _0x37dc8d=a4_0xeb03ae,_0x2d55ce={'jNWBQ':function(_0x281200,_0x2ef2ba){return _0x281200===_0x2ef2ba;},'PfzjX':_0x37dc8d(0x151),'NjMUw':function(_0x4ac27e,_0x49e1a4,_0x8a8a5d){return _0x4ac27e(_0x49e1a4,_0x8a8a5d);},'odapF':_0x37dc8d(0x17a),'LzYBr':function(_0x4fdede,_0xfb3a9c){return _0x4fdede(_0xfb3a9c);},'TBJcr':_0x37dc8d(0xfe),'SzgUX':function(_0x39237b,_0x55b671,_0x5a2b93){return _0x39237b(_0x55b671,_0x5a2b93);},'ZYRhH':'lib','CETJH':_0x37dc8d(0x12c),'rImlu':_0x37dc8d(0x188),'hethK':function(_0xe0ec1d,_0x4d3234){return _0xe0ec1d(_0x4d3234);},'HhRjJ':function(_0x4e6d3f,_0x3657f9){return _0x4e6d3f(_0x3657f9);},'wPAMr':_0x37dc8d(0x1b3),'EQQml':_0x37dc8d(0x154),'lfMTT':'launch'},_0x46705c=path[_0x37dc8d(0x1d1)](_0x2d55ce[_0x37dc8d(0x17f)],_0x2d55ce[_0x37dc8d(0x1be)],_0x2d55ce['rImlu']),_0x3b71d1=_0x2d55ce['hethK'](importFileFromPWCore,_0x46705c);if(!_0x3b71d1){_0x2d55ce[_0x37dc8d(0x17b)](debug,_0x2d55ce[_0x37dc8d(0x120)]);return;}const _0x31d5fb=_0x3b71d1[_0x37dc8d(0x197)],_0x3e21e2=_0x31d5fb[_0x37dc8d(0x19a)];if(_0x3e21e2['obsBrowserTypeMockApplied'])return;const _0x2308a5=_0x3e21e2[_0x37dc8d(0x154)];Object['defineProperty'](_0x3e21e2,_0x2d55ce[_0x37dc8d(0x13f)],{'get':function(){return async function _0x73b148(_0x5bec8c,_0x375322){const _0x57a14e=a4_0x56c9,_0x4b781b={'aGotn':function(_0x4bfa51,_0xa886d2){const _0x309b92=a4_0x56c9;return _0x2d55ce[_0x309b92(0x19b)](_0x4bfa51,_0xa886d2);},'kObhs':_0x2d55ce[_0x57a14e(0x10b)]},_0x5939fe=_0x2d55ce[_0x57a14e(0x12b)](nestedKeyValue,_0x5bec8c,[_0x2d55ce[_0x57a14e(0xf9)]])||_0x5bec8c;let _0x1b7286=null,_0x164911=null;try{[_0x164911,_0x1b7286]=_0x5939fe?_0x2d55ce[_0x57a14e(0x161)](parseWSEndpoint,_0x5939fe):[null,null],global['__platformCaps']=_0x1b7286,logger[_0x57a14e(0x18e)](_0x57a14e(0x111)+_0x164911),_0x164911[_0x57a14e(0x125)](Constants[_0x57a14e(0x147)])&&(global['__cloud_provider___']=_0x2d55ce[_0x57a14e(0x1d6)]);}catch(_0x366f58){logger[_0x57a14e(0x18e)](_0x57a14e(0x13e)+_0x5939fe+'\x20'+_0x366f58);}_0x2d55ce['SzgUX'](processAccessibilityCaps,_0x1b7286,_0x164911);if(global[_0x57a14e(0x170)]){const _0x451374=await _0x3e21e2[_0x57a14e(0x156)]['apply'](this,[''+Constants[_0x57a14e(0x1da)]+_0x2d55ce['LzYBr'](encodeURIComponent,JSON[_0x57a14e(0x15c)](_0x1b7286))]);return PlaywrightSessionDetails[_0x57a14e(0x10d)](_0x451374,_0x28a992,_0x5939fe),_0x451374;}return _0x2308a5['apply'](this,arguments)[_0x57a14e(0x178)](_0x1478d6=>{const _0x3a758b=_0x57a14e;let _0x534081=_0x5bec8c[_0x3a758b(0x17a)];return _0x4b781b['aGotn'](typeof _0x5bec8c,_0x4b781b[_0x3a758b(0x1d8)])&&(_0x534081=_0x5bec8c),PlaywrightSessionDetails[_0x3a758b(0x10d)](_0x1478d6,_0x28a992,_0x534081),_0x1478d6;});};}});const _0x46b73e=_0x3e21e2['launch'];Object['defineProperty'](_0x3e21e2,_0x2d55ce[_0x37dc8d(0x190)],{'get':function(){return async function _0x565743(){const _0x589b19=a4_0x56c9;return _0x46b73e[_0x589b19(0x1c9)](this,arguments)[_0x589b19(0x178)](_0x5a7bf3=>{const _0x54f76=_0x589b19;return PlaywrightSessionDetails[_0x54f76(0x10d)](_0x5a7bf3,null),_0x5a7bf3;});};}});};class O11yHelper{[a4_0xeb03ae(0x1cb)]=null;['currentHook']=null;['enabled']=![];[a4_0xeb03ae(0x14b)]=![];constructor(_0x78ebf6,_0x4850ee){const _0x5f5078=a4_0xeb03ae,_0xca9306={'Rsqrj':_0x5f5078(0x1d7),'yeqhZ':function(_0x59a757){return _0x59a757();},'QJlYP':function(_0x513350,_0x7d1afc){return _0x513350===_0x7d1afc;},'TmDHs':_0x5f5078(0x11f),'PSMAT':function(_0x27c6e0,_0x4aeb23){return _0x27c6e0(_0x4aeb23);},'guLrp':function(_0x3a0f9){return _0x3a0f9();}},_0x46d376=_0xca9306['Rsqrj']['split']('|');let _0x57261e=0x0;while(!![]){switch(_0x46d376[_0x57261e++]){case'0':this['driver']=_0x78ebf6;continue;case'1':this[_0x5f5078(0x1d0)]=new testOpsHelper['PathHelper']({'cwd':process[_0x5f5078(0x1db)]()},this[_0x5f5078(0x16a)][_0x5f5078(0x18f)]);continue;case'2':this['frameworkName']=_0x4850ee[_0x5f5078(0x14b)];continue;case'3':this[_0x5f5078(0x1b0)]=_0xca9306['yeqhZ'](shouldProcessEventForTesthub);continue;case'4':this[_0x5f5078(0x115)]&&_0xca9306[_0x5f5078(0x149)](this[_0x5f5078(0x115)]['constructor'][_0x5f5078(0x1cf)],_0xca9306[_0x5f5078(0x12e)])&&_0xca9306['PSMAT'](mockPWBrowserType,null);continue;case'5':this[_0x5f5078(0x16a)]=_0xca9306[_0x5f5078(0x19c)](getTestEnv);continue;}break;}}[a4_0xeb03ae(0x155)](){const _0x35057e=a4_0xeb03ae;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x35057e(0x1a4)](_0x35057e(0x165)+process['pid']),process['on'](_0x35057e(0x165)+process[_0x35057e(0x1a0)],this[_0x35057e(0x104)][_0x35057e(0x1e8)](this));}async['stop'](){const _0x46e3b1=a4_0xeb03ae;await RequestQueueHandler[_0x46e3b1(0x138)]()[_0x46e3b1(0x163)]();}async[a4_0xeb03ae(0x104)](_0x183776){const _0x55f115=a4_0xeb03ae,_0xac54bd={'DStcC':'LogCreated','kxSXI':function(_0x77a77c,_0x36966f){return _0x77a77c(_0x36966f);}};try{this[_0x55f115(0x1a6)]&&!this[_0x55f115(0x1a6)]['markedStatus']&&(_0x183776[_0x55f115(0x153)]=this[_0x55f115(0x1a6)][_0x55f115(0x10f)]);!_0x183776[_0x55f115(0x153)]&&this['currentTest']&&!this[_0x55f115(0x1cb)][_0x55f115(0x16b)]&&(_0x183776[_0x55f115(0x15d)]=this[_0x55f115(0x1cb)][_0x55f115(0x199)]);if(_0x183776[_0x55f115(0x153)]||_0x183776['test_run_uuid']){const _0x402991={};_0x402991['event_type']=_0xac54bd[_0x55f115(0x18d)],_0x402991[_0x55f115(0x1c3)]=[_0x183776],await SessionHandler[_0x55f115(0x101)](_0x402991);}}catch(_0x5bf5df){_0xac54bd[_0x55f115(0x114)](debug,_0x55f115(0x1c2)+constants[_0x55f115(0x1c7)]+_0x55f115(0x1d5)+_0x5bf5df);}}async['sendCBTInfo'](_0x3f263e){const _0x557d37=a4_0xeb03ae,_0x555b4d={'QbgOX':_0x557d37(0x11d),'djBRW':function(_0x43e59f,_0x4adc7f){return _0x43e59f(_0x4adc7f);}};if(!this[_0x557d37(0x1b0)])return;const _0x26722e=this[_0x557d37(0x1a8)](this[_0x557d37(0x115)]);try{const _0x2f6d5c={};_0x2f6d5c[_0x557d37(0x142)]=_0x3f263e,_0x2f6d5c['integrations']=_0x26722e;const _0xcd2473=_0x2f6d5c,_0x4245a0={};_0x4245a0[_0x557d37(0x1a2)]=_0x555b4d[_0x557d37(0x122)],_0x4245a0[_0x557d37(0x13b)]=_0xcd2473,await SessionHandler[_0x557d37(0x101)](_0x4245a0);}catch(_0x139ad1){_0x555b4d['djBRW'](debug,_0x557d37(0x14e)+constants[_0x557d37(0x1c7)]+_0x557d37(0x1d5)+_0x139ad1);}}[a4_0xeb03ae(0x1a8)](_0x84ed1){const _0x3111f2=a4_0xeb03ae,_0x488cad={'fNhUF':function(_0x1043f3,_0x1fe3f8){return _0x1043f3(_0x1fe3f8);}};return _0x488cad[_0x3111f2(0xfb)](fetchPlatformDetails,_0x84ed1);}[a4_0xeb03ae(0x183)]=_0x82b7da=>{const _0x197b01=a4_0xeb03ae,_0x4f8d6f={};_0x4f8d6f['DUbKm']=_0x197b01(0x1b8),_0x4f8d6f[_0x197b01(0xf6)]='_afterEach';const _0x1255f8=_0x4f8d6f;if(!_0x82b7da||!_0x82b7da[_0x197b01(0x193)])return;[_0x1255f8[_0x197b01(0x129)],_0x1255f8[_0x197b01(0xf6)]][_0x197b01(0x1e6)](_0x2f0c81=>{const _0x4e1d77=_0x197b01,_0x392c83=_0x82b7da['parent'][_0x2f0c81];_0x392c83[_0x4e1d77(0x1e6)](_0x1d9f46=>{const _0x387481=_0x4e1d77;_0x1d9f46[_0x387481(0x10f)]&&(_0x1d9f46['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x4ee19d){const _0x42f0aa=a4_0xeb03ae,_0x3e29f2={'mmIrf':_0x42f0aa(0x1b6),'pWYOx':function(_0x5ef98f){return _0x5ef98f();},'KSSjc':function(_0x2d85d7,_0x493f50){return _0x2d85d7===_0x493f50;},'HYjYU':'_afterEach','kcmAW':_0x42f0aa(0x179),'cnjys':_0x42f0aa(0x1a7),'WxxUJ':_0x42f0aa(0x1b8)};if(!_0x4ee19d||!_0x4ee19d[_0x42f0aa(0x193)])return;[_0x3e29f2[_0x42f0aa(0x196)],_0x3e29f2[_0x42f0aa(0x14c)],_0x3e29f2['WxxUJ'],_0x3e29f2['HYjYU']]['forEach'](_0x40cf91=>{const _0x5bfdec=_0x42f0aa,_0x567d4b={'WMkIM':_0x3e29f2[_0x5bfdec(0x15b)],'XFyqm':function(_0x3532ae){const _0x30848b=_0x5bfdec;return _0x3e29f2[_0x30848b(0x1bb)](_0x3532ae);},'HMkTw':function(_0xc9e1cf,_0x411cb1){const _0x52d5db=_0x5bfdec;return _0x3e29f2[_0x52d5db(0x135)](_0xc9e1cf,_0x411cb1);},'qQJGP':_0x3e29f2['HYjYU'],'AcDpA':function(_0x2fc3c3){const _0x4b6cba=_0x5bfdec;return _0x3e29f2[_0x4b6cba(0x1bb)](_0x2fc3c3);}},_0x5b987b=_0x4ee19d[_0x5bfdec(0x193)][_0x40cf91]||[];_0x5b987b['forEach'](_0x1fd857=>{const _0x3210ce=_0x5bfdec;if(_0x1fd857[_0x3210ce(0x116)][_0x3210ce(0x125)](_0x567d4b[_0x3210ce(0x198)]))return;if(!_0x1fd857[_0x3210ce(0x10f)])_0x1fd857[_0x3210ce(0x10f)]=_0x567d4b[_0x3210ce(0x1e4)](uuidv4);else _0x1fd857[_0x3210ce(0x16b)]&&_0x567d4b[_0x3210ce(0x1b9)](_0x40cf91,_0x567d4b['qQJGP'])&&(_0x1fd857[_0x3210ce(0x10f)]=_0x567d4b['AcDpA'](uuidv4),delete _0x1fd857[_0x3210ce(0x16b)]);});}),this[_0x42f0aa(0x176)](_0x4ee19d['parent']);}['getHooksForTest'](_0xf9bf4a){const _0x312b12=a4_0xeb03ae,_0x489f24={};_0x489f24[_0x312b12(0x1ad)]=_0x312b12(0x179),_0x489f24[_0x312b12(0x180)]=_0x312b12(0x1a7),_0x489f24[_0x312b12(0x1b4)]=_0x312b12(0x1b8),_0x489f24[_0x312b12(0x1af)]=_0x312b12(0x16e);const _0x5f199e=_0x489f24;if(!_0xf9bf4a||!_0xf9bf4a['parent'])return[];const _0x54ccd6=[];return[_0x5f199e[_0x312b12(0x1ad)],_0x5f199e[_0x312b12(0x180)],_0x5f199e['UrUqV'],_0x5f199e[_0x312b12(0x1af)]][_0x312b12(0x1e6)](_0x41c6b0=>{const _0xbee3ea=_0xf9bf4a['parent'][_0x41c6b0]||[];_0xbee3ea['forEach'](_0x4a0c24=>{const _0x504394=a4_0x56c9;_0x4a0c24[_0x504394(0x10f)]&&_0x54ccd6[_0x504394(0x136)](_0x4a0c24['hookAnalyticsId']);});}),[][_0x312b12(0xfc)](_0x54ccd6,this['getHooksForTest'](_0xf9bf4a[_0x312b12(0x193)]));}[a4_0xeb03ae(0x134)](_0x980fd5){const _0x37153f=a4_0xeb03ae,_0x38be46=/^"(?<hook>.*)" hook:.*$/,_0x3cba8c=_0x980fd5['title'],_0x1e898e=_0x3cba8c['match'](_0x38be46);if(_0x1e898e&&_0x1e898e[_0x37153f(0x160)])return _0x1e898e[_0x37153f(0x160)][_0x37153f(0x146)][_0x37153f(0x10a)]()['replace']('\x20','_');return null;}[a4_0xeb03ae(0x12f)](_0x233146){const _0x18354d=a4_0xeb03ae,_0x5ef2d5={};_0x5ef2d5[_0x18354d(0x162)]=function(_0x2fa403,_0x27cb6e){return _0x2fa403===_0x27cb6e;},_0x5ef2d5[_0x18354d(0x103)]=_0x18354d(0x191),_0x5ef2d5['BqeGf']='config';const _0x2b33d5=_0x5ef2d5,_0x4562f7=path[_0x18354d(0x173)];if(_0x2b33d5[_0x18354d(0x162)](_0x233146,null)||_0x2b33d5[_0x18354d(0x162)](_0x233146,'')||_0x2b33d5[_0x18354d(0x162)](_0x233146,_0x4562f7)||_0x2b33d5[_0x18354d(0x162)](_0x233146,path['dirname'](_0x233146)))return null;try{return fs[_0x18354d(0x18b)](path[_0x18354d(0x1d1)](_0x233146,_0x2b33d5['LVEhS'],_0x2b33d5[_0x18354d(0x102)])),_0x233146;}catch(_0xa58040){const _0xa5e799=path[_0x18354d(0x141)](_0x233146);return this[_0x18354d(0x12f)](_0xa5e799);}}[a4_0xeb03ae(0x1bd)](_0x4dfa22){const _0x15f71a=a4_0xeb03ae,_0x65d869={};_0x65d869['RgvvF']=function(_0x12b8b6,_0x2074ea){return _0x12b8b6>_0x2074ea;};const _0x559a7e=_0x65d869;if(_0x4dfa22['file'])return _0x4dfa22[_0x15f71a(0x150)];if(_0x4dfa22[_0x15f71a(0x1b2)]){const _0x166b5a=_0x4dfa22[_0x15f71a(0x1b2)][_0x15f71a(0x1cb)]?this[_0x15f71a(0x1bd)](_0x4dfa22['ctx']['currentTest']):null;if(_0x166b5a)return _0x166b5a;}if(_0x4dfa22[_0x15f71a(0x193)]){const _0x10e0f4=this[_0x15f71a(0x1bd)](_0x4dfa22[_0x15f71a(0x193)])||(_0x4dfa22[_0x15f71a(0x193)]['ctx']&&_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0x1b2)]['currentTest']?this[_0x15f71a(0x1bd)](_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0x1b2)][_0x15f71a(0x1cb)]):null);if(_0x10e0f4)return _0x10e0f4;_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0xfd)]&&_0x559a7e['RgvvF'](_0x4dfa22[_0x15f71a(0x193)][_0x15f71a(0xfd)][_0x15f71a(0x184)],0x0)&&_0x4dfa22['parent'][_0x15f71a(0xfd)]['forEach'](_0x9323ea=>{const _0x26149d=_0x15f71a,_0x36854a=_0x9323ea['ctx']?this[_0x26149d(0x1bd)](_0x9323ea[_0x26149d(0x1b2)]):null;if(_0x36854a)return _0x36854a;});}return null;}[a4_0xeb03ae(0x171)](_0x373297){const _0x48fd25=a4_0xeb03ae,_0x41817c={};_0x41817c['jmBDH']=function(_0x11e05e,_0x51d4f1){return _0x11e05e!==_0x51d4f1;};const _0x12f73c=_0x41817c,_0x1f9952=[];if(_0x373297&&_0x373297['parent']){let _0x3eea76=_0x373297[_0x48fd25(0x193)];while(_0x3eea76&&_0x12f73c[_0x48fd25(0x121)](_0x3eea76['title'],'')){_0x1f9952['push'](_0x3eea76['title']),_0x3eea76=_0x3eea76['parent'];}}return _0x1f9952;}[a4_0xeb03ae(0x1e5)](_0x1656b6,_0x3a9cd8,_0x4d6ca5=undefined){const _0x4231d5=a4_0xeb03ae,_0x304e4d={'sZKDQ':function(_0x3fbfe3,_0x5c2adc){return _0x3fbfe3(_0x5c2adc);},'WVonW':function(_0x59f7e6){return _0x59f7e6();},'Juekv':function(_0x3e9146){return _0x3e9146();},'VYTPq':function(_0x51067c,_0x2fa2c1){return _0x51067c(_0x2fa2c1);},'XJBOl':'util','Zqrhn':'err','nkPAU':function(_0x109ab7,_0x2b75ce){return _0x109ab7!==_0x2b75ce;},'aREyk':function(_0x444800,_0x18649d){return _0x444800!==_0x18649d;},'EOnuy':_0x4231d5(0x1e7),'jBtNR':_0x4231d5(0x181),'zBwEK':_0x4231d5(0x1ce),'OjHfg':_0x4231d5(0x19f),'lnwJP':_0x4231d5(0x109),'ejGzm':'javascript','GdOdz':function(_0x2f06b2,_0x120ebd){return _0x2f06b2-_0x120ebd;},'gHhog':function(_0x19bd07,_0x30e117,_0x370d7d,_0x30c535,_0x25cdbd){return _0x19bd07(_0x30e117,_0x370d7d,_0x30c535,_0x25cdbd);},'XpEhQ':_0x4231d5(0x1e0),'HFskz':_0x4231d5(0x158),'LTcTe':_0x4231d5(0x194),'FnDnS':'failure_backtrace','BdKHk':_0x4231d5(0x186),'zssHD':_0x4231d5(0x106),'ZSeFF':'expanded','lPNDu':function(_0x21169b,_0x11c327){return _0x21169b===_0x11c327;},'oTtpG':_0x4231d5(0x1a5),'irfEz':_0x4231d5(0x13b)};if(!this[_0x4231d5(0x1b0)])return;try{if(_0x3a9cd8['fn']&&_0x3a9cd8['fn'][_0x4231d5(0x168)]()['match'](/browserstack internal helper hook/))return;const _0x1de5d9=_0x304e4d[_0x4231d5(0x10c)](parseEvent,_0x1656b6);if(!_0x1de5d9)return;if(_0x1de5d9[_0x4231d5(0x1d9)]){this[_0x4231d5(0x1cb)]=_0x3a9cd8,this[_0x4231d5(0x1a6)]=null;if(_0x1de5d9[_0x4231d5(0x1dd)]||_0x1de5d9[_0x4231d5(0x109)]){_0x3a9cd8[_0x4231d5(0x16f)]=new Date(),_0x3a9cd8[_0x4231d5(0x16b)]=![];if(!_0x3a9cd8['testAnalyticsId'])_0x3a9cd8[_0x4231d5(0x199)]=_0x304e4d[_0x4231d5(0x174)](uuidv4);else _0x3a9cd8[_0x4231d5(0x16b)]&&(!_0x3a9cd8[_0x4231d5(0x1de)]&&(_0x3a9cd8[_0x4231d5(0x1de)]=_0x3a9cd8[_0x4231d5(0x199)]),_0x3a9cd8[_0x4231d5(0x199)]=_0x304e4d[_0x4231d5(0x174)](uuidv4));}}else{if(_0x1de5d9[_0x4231d5(0x146)]){this[_0x4231d5(0x1a6)]=_0x3a9cd8;if(_0x1de5d9['started']){_0x3a9cd8[_0x4231d5(0x16f)]=new Date(),_0x3a9cd8['markedStatus']=![];if(!_0x3a9cd8[_0x4231d5(0x10f)])_0x3a9cd8[_0x4231d5(0x10f)]=_0x304e4d['Juekv'](uuidv4);else _0x3a9cd8[_0x4231d5(0x10f)]&&_0x3a9cd8[_0x4231d5(0x16b)]&&(_0x3a9cd8[_0x4231d5(0x10f)]=_0x304e4d[_0x4231d5(0x1d4)](uuidv4));}}}if(_0x1de5d9['finished']&&_0x3a9cd8[_0x4231d5(0x16b)])return;let _0x21abea;try{_0x21abea=this['getRootParentFile'](_0x3a9cd8);}catch(_0x2244e0){logger['debug'](_0x4231d5(0x133)+_0x2244e0),_0x21abea=null;}const _0x476d8a=_0x304e4d['VYTPq'](require,_0x304e4d['XJBOl']);let _0x592fa3=[];_0x4d6ca5&&(_0x592fa3=[_0x4d6ca5,_0x304e4d['Zqrhn']]);const _0x1b6046=_0x304e4d['nkPAU'](_0x3a9cd8[_0x4231d5(0x148)],undefined)?_0x476d8a['inspect'](_0x3a9cd8[_0x4231d5(0x148)][0x0]):_0x304e4d[_0x4231d5(0x11e)](_0x4d6ca5,undefined)?_0x4d6ca5[_0x4231d5(0x168)]():undefined,_0x422ba8=_0x21abea?this[_0x4231d5(0x12f)](_0x21abea):null,_0x1c907a=_0x21abea?this[_0x4231d5(0x1d0)]['prefixTestPath'](this[_0x4231d5(0x1bd)](_0x3a9cd8)):_0x304e4d[_0x4231d5(0x1a3)];let _0x21f77f=_0x304e4d['jBtNR'];const _0x146900=!_0x1de5d9[_0x4231d5(0x1dd)]?new Date()[_0x4231d5(0x107)]():null;if(_0x1de5d9['finished'])_0x21f77f=_0x4d6ca5?_0x304e4d[_0x4231d5(0x1c6)]:_0x304e4d[_0x4231d5(0xf7)],_0x3a9cd8['markedStatus']=!![];else _0x1de5d9['skipped']&&(_0x21f77f=_0x304e4d['lnwJP'],_0x3a9cd8['markedStatus']=!![]);const _0x3d2c34={'framework':this[_0x4231d5(0x14b)],'uuid':_0x3a9cd8[_0x4231d5(0x199)]||_0x3a9cd8[_0x4231d5(0x10f)],'name':_0x3a9cd8['title'],'body':{'lang':_0x304e4d[_0x4231d5(0x15e)],'code':_0x3a9cd8[_0x4231d5(0x113)][_0x4231d5(0x168)]()},'type':_0x3a9cd8[_0x4231d5(0x1c1)],'scope':_0x3a9cd8['fullTitle'](),'scopes':this[_0x4231d5(0x171)](_0x3a9cd8),'file_name':_0x1c907a,'vc_filepath':_0x422ba8?path[_0x4231d5(0x1a1)](_0x422ba8,_0x21abea):null,'location':_0x1c907a,'result':_0x21f77f,'failure_reason':_0x1b6046,'duration_in_ms':_0x3a9cd8[_0x4231d5(0xfa)]||(_0x1de5d9[_0x4231d5(0x17d)]||_0x1de5d9[_0x4231d5(0x109)])?_0x304e4d[_0x4231d5(0xf8)](Date[_0x4231d5(0x185)](),new Date(_0x3a9cd8[_0x4231d5(0x16f)])[_0x4231d5(0x169)]()):null,'started_at':new Date(_0x3a9cd8['startedAt'])[_0x4231d5(0x107)](),'finished_at':_0x146900,'failure':testOpsHelper[_0x4231d5(0x144)]['apply'](null,_0x592fa3),'failure_type':!_0x1b6046?null:testOpsHelper[_0x4231d5(0x1dc)](_0x1b6046),'retry_of':_0x3a9cd8['retryOf']||null,'tags':_0x3a9cd8[_0x4231d5(0x126)]||[],'customRerunParam':{'rerun_name':_0x3a9cd8[_0x4231d5(0x1cd)]()}};_0x304e4d[_0x4231d5(0x12a)](appendTesthubParams,_0x3d2c34,_0x1656b6,_0x3a9cd8,FRAMEWORKS[_0x4231d5(0x1c0)]);if(_0x1de5d9[_0x4231d5(0x146)])[_0x3d2c34[_0x4231d5(0x18c)],_0x3d2c34[_0x4231d5(0x1cf)]]=[this[_0x4231d5(0x134)](_0x3a9cd8),_0x3a9cd8[_0x4231d5(0x1b2)][_0x4231d5(0x1d9)][_0x4231d5(0x116)]],_0x1de5d9[_0x4231d5(0x17d)]?_0x304e4d[_0x4231d5(0x11e)](_0x3d2c34[_0x4231d5(0x1bc)],_0x304e4d[_0x4231d5(0x1c6)])&&(_0x3d2c34[_0x4231d5(0x1bc)]=_0x304e4d[_0x4231d5(0xf7)]):_0x3d2c34[_0x4231d5(0x113)]={};else _0x1de5d9['test']&&(this['mapTestHooks'](_0x3a9cd8),_0x1de5d9[_0x4231d5(0x109)]&&this[_0x4231d5(0x183)](_0x3a9cd8),(_0x1de5d9[_0x4231d5(0x17d)]||_0x1de5d9[_0x4231d5(0x109)])&&(_0x3d2c34['hooks']=this[_0x4231d5(0x18a)](_0x3a9cd8)));this[_0x4231d5(0x115)]&&(_0x1de5d9[_0x4231d5(0x1dd)]||_0x1de5d9['skipped'])&&(_0x3d2c34[_0x304e4d['XpEhQ']]=this[_0x4231d5(0x1a8)](this[_0x4231d5(0x115)]));_0x1de5d9[_0x4231d5(0x1d9)]&&_0x1de5d9[_0x4231d5(0x17d)]&&_0x3a9cd8[_0x4231d5(0x1c5)]&&(_0x3d2c34[_0x304e4d[_0x4231d5(0x112)]]={'feature':{'name':_0x3a9cd8[_0x4231d5(0x193)][_0x4231d5(0x12d)][_0x4231d5(0x1cf)],'path':_0x3d2c34[_0x4231d5(0x192)],'description':_0x3a9cd8[_0x4231d5(0x193)][_0x4231d5(0x140)]},'scenario':{'name':_0x3a9cd8[_0x4231d5(0x116)]},'steps':_0x3a9cd8['bddSteps']});const _0x2f31e0=_0x3d2c34[_0x304e4d[_0x4231d5(0x1b7)]][0x0];_0x2f31e0&&(_0x3d2c34[_0x304e4d[_0x4231d5(0x195)]]=_0x2f31e0[_0x304e4d['BdKHk']],_0x3d2c34[_0x304e4d['zssHD']]=_0x2f31e0[_0x304e4d[_0x4231d5(0x1b1)]]);if(_0x3a9cd8[_0x4231d5(0x1c5)])for(const _0x39a808 of _0x3a9cd8['bddSteps']){!_0x39a808[_0x4231d5(0x124)]&&(_0x39a808[_0x4231d5(0x124)]=new Date()['toISOString'](),_0x304e4d[_0x4231d5(0x11b)](_0x39a808[_0x4231d5(0x1bc)],_0x304e4d[_0x4231d5(0x16d)])&&(_0x2f31e0?(_0x39a808['result']=_0x304e4d[_0x4231d5(0x1c6)],_0x39a808[_0x4231d5(0x194)]=_0x2f31e0[_0x304e4d[_0x4231d5(0x117)]][0x0]):_0x39a808[_0x4231d5(0x1bc)]=_0x304e4d['OjHfg']));}const _0x2fd5e2={};_0x2fd5e2['event_type']=_0x1de5d9['skipped']?TEST_EVENTS[_0x4231d5(0x131)]:_0x1656b6;const _0x52d59c=_0x2fd5e2;return _0x1de5d9[_0x4231d5(0x146)]?_0x52d59c[_0x304e4d[_0x4231d5(0x1cc)]]=_0x3d2c34:_0x52d59c[_0x304e4d[_0x4231d5(0x13c)]]=_0x3d2c34,_0x52d59c;}catch(_0x129f81){logger['debug']('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1656b6+_0x4231d5(0x1d5)+_0x129f81);}}async[a4_0xeb03ae(0x1e1)](_0x51bdd4,_0x10de7c){const _0x4356f9=a4_0xeb03ae;if(!this[_0x4356f9(0x1b0)]||!_0x10de7c||!_0x51bdd4)return![];try{return await SessionHandler['uploadEventData'](_0x10de7c);}catch(_0xf7957e){logger[_0x4356f9(0x18e)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x51bdd4+_0x4356f9(0x1d5)+_0xf7957e);}}['initializeBddStep'](_0x71f0c9){const _0x5c6176=a4_0xeb03ae,_0x69b624={};_0x69b624[_0x5c6176(0x15f)]=_0x5c6176(0x181);const _0x4ca8af=_0x69b624;return{'id':_0x71f0c9['stepAnalyticsId'],'text':_0x71f0c9[_0x5c6176(0x167)],'keyword':_0x71f0c9[_0x5c6176(0x172)],'started_at':_0x71f0c9[_0x5c6176(0x16f)]['toISOString'](),'result':_0x4ca8af[_0x5c6176(0x15f)]};}['bddStepStart'](_0xf0f43e){const _0x3416f3=a4_0xeb03ae,_0x4b6d9c={'FbbVR':function(_0x101cb4){return _0x101cb4();}};!this[_0x3416f3(0x1cb)]['bddSteps']&&(this[_0x3416f3(0x1cb)][_0x3416f3(0x1c5)]=[]),!_0xf0f43e[_0x3416f3(0x14d)]&&(_0xf0f43e[_0x3416f3(0x14d)]=_0x4b6d9c['FbbVR'](uuidv4),_0xf0f43e['startedAt']=new Date(),this[_0x3416f3(0x1cb)][_0x3416f3(0x1c5)]['push'](this[_0x3416f3(0x159)](_0xf0f43e)));}[a4_0xeb03ae(0x108)](_0x4fa77a){const _0x5390c9=a4_0xeb03ae,_0x59ca5c={'cYvdj':function(_0x574737,_0x274385){return _0x574737(_0x274385);},'Jdfyi':'success','JRORw':'pending','KPjHn':_0x5390c9(0x19f),'aSkjj':function(_0x3306a0,_0x36072a){return _0x3306a0-_0x36072a;}};let _0x34e7d3=this[_0x5390c9(0x1cb)]['bddSteps']['find'](_0x5439a2=>_0x5439a2['id']===_0x4fa77a['stepAnalyticsId']);_0x59ca5c[_0x5390c9(0x13a)](isUndefined,_0x34e7d3)&&(_0x34e7d3=this[_0x5390c9(0x159)](_0x4fa77a)),_0x34e7d3[_0x5390c9(0x1bc)]=[_0x59ca5c[_0x5390c9(0x123)],_0x59ca5c[_0x5390c9(0x1b5)]][_0x5390c9(0x125)](_0x4fa77a[_0x5390c9(0x1d2)])?_0x59ca5c['KPjHn']:_0x4fa77a[_0x5390c9(0x1d2)],_0x34e7d3[_0x5390c9(0x124)]=new Date()[_0x5390c9(0x107)](),_0x34e7d3[_0x5390c9(0xfa)]=_0x59ca5c[_0x5390c9(0x17e)](Date[_0x5390c9(0x185)](),_0x4fa77a[_0x5390c9(0x16f)][_0x5390c9(0x169)]()),_0x34e7d3[_0x5390c9(0x194)]=_0x4fa77a['err']?_0x4fa77a[_0x5390c9(0x1ae)][_0x5390c9(0x119)]:null;}}function a4_0x508e(){const _0xb3f3de=['getHookType','KSSjc','push','VZvbR','getInstance','8OXxdSo','cYvdj','test_run','irfEz','lMETM','Failed\x20to\x20parse\x20wsendpoint\x20','EQQml','comment','dirname','uuid','../playwright/accessibility-helper','failureData','../../helpers/test-observability/sessionHandler','hook','BROWSERSTACK','errorsDetailed','QJlYP','../../helpers/helper','frameworkName','cnjys','stepAnalyticsId','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','9590790qDQuPy','file','string','match','hook_run_uuid','connect','start','connectOverCDP','O11yHelper','meta','initializeBddStep','EbTRr','mmIrf','stringify','test_run_uuid','ejGzm','pSHyk','groups','LzYBr','WzBhF','shutdown','../../helpers/test-observability/constants','bs:addLog:','../../helpers/logger','text','toString','getTime','_testEnv','markedStatus','ZARny','jBtNR','_afterEach','startedAt','accessibilityPlatform','getHierarchy','keyword','sep','WVonW','HookRunStarted','mapTestHooks','9ARWOxU','then','_beforeAll','wsEndpoint','HhRjJ','../../helpers/test-observability/utils','finished','aSkjj','ZYRhH','YBoLJ','pending','12xUhkWQ','resetSkipTestHooks','length','now','backtrace','exports','browserType.js','STATE_PASSED','getHooksForTest','statSync','hook_type','DStcC','debug','location_prefix','lfMTT','.git','file_name','parent','failure','FnDnS','kcmAW','BrowserType','WMkIM','testAnalyticsId','prototype','jNWBQ','guLrp','../utils/constants','3949956dacUtc','passed','pid','relative','event_type','EOnuy','removeAllListeners','hook_run','currentHook','_afterAll','getCBTInfo','../playwright/sessionDetails','path','STATE_FAILED','IGnym','TshdY','err','sGfvO','enabled','ZSeFF','ctx','Not\x20able\x20to\x20import\x20Browser','UrUqV','JRORw','codeceptjs','LTcTe','_beforeEach','HMkTw','433110jabWEA','pWYOx','result','getRootParentFile','CETJH','aeEFD','CODECEPT','type','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','logs','HOOK_RUN_FINISHED','bddSteps','zBwEK','TEST_REPORTING_ANALYTICS','../../helpers/testhub/utils.js','apply','HOOK_RUN_STARTED','currentTest','oTtpG','fullTitle','failed','name','_paths','join','status','TEST_RUN_SKIPPED','Juekv','\x20with\x20error\x20:\x20','TBJcr','3|2|0|5|1|4','kObhs','test','PLAYWRIGHT_HUB_URL','cwd','getFailureType','started','retryOf','4355330Gdxodu','integrations','fireEvent','2EGPPeT','HookRunFinished','XFyqm','captureEvent','forEach','File\x20path\x20could\x20not\x20be\x20found','bind','wAMTx','czAnV','OjHfg','GdOdz','odapF','duration','fNhUF','concat','suites','browserstack','../../helpers/test-observability/requestQueueHandler','TEST_EVENTS','uploadEventData','BqeGf','LVEhS','appendTestItemLog','winstonLogger','failure_reason_expanded','toISOString','bddStepFinish','skipped','toUpperCase','PfzjX','sZKDQ','setupBrowserDetails','TestRunFinished','hookAnalyticsId','PxNeN','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','HFskz','body','kxSXI','driver','title','BdKHk','841754WSqpyc','message','553864yRHHmF','lPNDu','./helper.js','CBTSessionCreated','aREyk','Playwright','wPAMr','jmBDH','QbgOX','Jdfyi','finished_at','includes','tags','TestRunSkipped','lOTmy','DUbKm','gHhog','NjMUw','client','feature','TmDHs','findGitConfig','toLowerCase','TEST_RUN_FINISHED','2541682cVhARn','failed\x20to\x20get\x20root\x20parent\x20file\x20'];a4_0x508e=function(){return _0xb3f3de;};return a4_0x508e();}const a4_0x5d5f08={};function a4_0x56c9(_0x76e33b,_0x5d7bad){const _0x508ef6=a4_0x508e();return a4_0x56c9=function(_0x56c923,_0x46a05a){_0x56c923=_0x56c923-0xf6;let _0xc7b228=_0x508ef6[_0x56c923];return _0xc7b228;},a4_0x56c9(_0x76e33b,_0x5d7bad);}a4_0x5d5f08[a4_0xeb03ae(0x157)]=O11yHelper,a4_0x5d5f08[a4_0xeb03ae(0x189)]=STATE_PASSED,a4_0x5d5f08[a4_0xeb03ae(0x1ab)]=STATE_FAILED,a4_0x5d5f08[a4_0xeb03ae(0x100)]=TEST_EVENTS,module[a4_0xeb03ae(0x187)]=a4_0x5d5f08;
1
+ const a4_0x4a3e42=a4_0x2f0b;(function(_0x1ac4e0,_0x245f53){const _0x1a0e14=a4_0x2f0b,_0x35acb3=_0x1ac4e0();while(!![]){try{const _0x1c26d3=-parseInt(_0x1a0e14(0x202))/0x1+-parseInt(_0x1a0e14(0x21f))/0x2+-parseInt(_0x1a0e14(0x254))/0x3*(-parseInt(_0x1a0e14(0x21e))/0x4)+-parseInt(_0x1a0e14(0x212))/0x5*(parseInt(_0x1a0e14(0x277))/0x6)+-parseInt(_0x1a0e14(0x1c0))/0x7+-parseInt(_0x1a0e14(0x246))/0x8+parseInt(_0x1a0e14(0x248))/0x9*(parseInt(_0x1a0e14(0x1f5))/0xa);if(_0x1c26d3===_0x245f53)break;else _0x35acb3['push'](_0x35acb3['shift']());}catch(_0x32622c){_0x35acb3['push'](_0x35acb3['shift']());}}}(a4_0x34cb,0x5bf6b));const path=require(a4_0x4a3e42(0x249)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4a3e42(0x1aa)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4a3e42(0x27d)),testOpsHelper=require(a4_0x4a3e42(0x1d7)),{getTestEnv}=require(a4_0x4a3e42(0x199)),{FRAMEWORKS}=require(a4_0x4a3e42(0x1ec)),logger=require(a4_0x4a3e42(0x1d8))['winstonLogger'],SessionHandler=require(a4_0x4a3e42(0x1ab)),RequestQueueHandler=require(a4_0x4a3e42(0x25f)),PlaywrightSessionDetails=require(a4_0x4a3e42(0x261)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x4a3e42(0x282)),{fetchPlatformDetails}=require(a4_0x4a3e42(0x210)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require('../utils/constants'),STATE_PASSED=a4_0x4a3e42(0x259),STATE_FAILED='failed',a4_0x3bfc2f={};a4_0x3bfc2f[a4_0x4a3e42(0x1df)]=a4_0x4a3e42(0x250),a4_0x3bfc2f[a4_0x4a3e42(0x225)]=a4_0x4a3e42(0x19f),a4_0x3bfc2f[a4_0x4a3e42(0x1b0)]=a4_0x4a3e42(0x216),a4_0x3bfc2f[a4_0x4a3e42(0x233)]=a4_0x4a3e42(0x205),a4_0x3bfc2f[a4_0x4a3e42(0x1f7)]=a4_0x4a3e42(0x25c);const TEST_EVENTS=a4_0x3bfc2f,parseEvent=_0x5c39e7=>{const _0x5a0ae9=a4_0x4a3e42,_0x32e5cc={};_0x32e5cc[_0x5a0ae9(0x1b4)]=function(_0xe8a099,_0x5d876a){return _0xe8a099<_0x5d876a;},_0x32e5cc[_0x5a0ae9(0x270)]=function(_0x3a64c4,_0x1946de){return _0x3a64c4===_0x1946de;},_0x32e5cc['RbogD']='test',_0x32e5cc[_0x5a0ae9(0x1a2)]=_0x5a0ae9(0x19b),_0x32e5cc[_0x5a0ae9(0x271)]=_0x5a0ae9(0x287),_0x32e5cc[_0x5a0ae9(0x20b)]=_0x5a0ae9(0x238),_0x32e5cc[_0x5a0ae9(0x22b)]='finished';const _0x582b7f=_0x32e5cc,_0x2eaecd=_0x5c39e7[_0x5a0ae9(0x1c2)](/^(.*)Run(.*)$/);if(!_0x2eaecd)return null;if(_0x582b7f[_0x5a0ae9(0x1b4)](_0x2eaecd[_0x5a0ae9(0x1d2)],0x3))return null;const _0xadbbc1=_0x2eaecd[0x1][_0x5a0ae9(0x24e)](),_0x1dd583=_0x2eaecd[0x2][_0x5a0ae9(0x24e)]();return{'test':_0x582b7f[_0x5a0ae9(0x270)](_0xadbbc1,_0x582b7f[_0x5a0ae9(0x1c8)]),'hook':_0x582b7f[_0x5a0ae9(0x270)](_0xadbbc1,_0x582b7f[_0x5a0ae9(0x1a2)]),'skipped':_0x582b7f[_0x5a0ae9(0x270)](_0x1dd583,_0x582b7f['gMbPu']),'started':_0x582b7f['gzmPM'](_0x1dd583,_0x582b7f[_0x5a0ae9(0x20b)]),'finished':_0x582b7f['gzmPM'](_0x1dd583,_0x582b7f[_0x5a0ae9(0x22b)])};},mockPWBrowserType=_0x2c89f9=>{const _0x5bfcd5=a4_0x4a3e42,_0x43d25b={'DqAJm':function(_0x4092e8,_0x37ee0b){return _0x4092e8===_0x37ee0b;},'TyLwJ':_0x5bfcd5(0x1a9),'zcsWQ':function(_0x5b9ce7,_0x355195,_0x1172ff){return _0x5b9ce7(_0x355195,_0x1172ff);},'yNZRK':_0x5bfcd5(0x24f),'VHyPS':function(_0x381223,_0x3d638a){return _0x381223(_0x3d638a);},'MztQK':_0x5bfcd5(0x1e9),'UhoaM':function(_0xbe84e7,_0x526d6b,_0x3b5cd3){return _0xbe84e7(_0x526d6b,_0x3b5cd3);},'PrXLK':function(_0x2df0de,_0x45fb4f){return _0x2df0de(_0x45fb4f);},'oSrAR':'lib','GOpEG':_0x5bfcd5(0x1a3),'zqEbU':_0x5bfcd5(0x268),'yODbQ':_0x5bfcd5(0x223),'rPzDG':'connect','BSiNX':'launch'},_0x47b4d0=path[_0x5bfcd5(0x235)](_0x43d25b[_0x5bfcd5(0x265)],_0x43d25b[_0x5bfcd5(0x1e8)],_0x43d25b[_0x5bfcd5(0x203)]),_0x2de8af=_0x43d25b[_0x5bfcd5(0x1c5)](importFileFromPWCore,_0x47b4d0);if(!_0x2de8af){_0x43d25b['VHyPS'](debug,_0x43d25b[_0x5bfcd5(0x1c7)]);return;}const _0x386956=_0x2de8af[_0x5bfcd5(0x24d)],_0x577963=_0x386956['prototype'];if(_0x577963[_0x5bfcd5(0x1d9)])return;const _0x46efa1=_0x577963[_0x5bfcd5(0x1af)];Object[_0x5bfcd5(0x20e)](_0x577963,_0x43d25b['rPzDG'],{'get':function(){const _0x4ec93d=_0x5bfcd5,_0x5be047={'ehKTr':function(_0x4e6cc9,_0x430d10){return _0x43d25b['DqAJm'](_0x4e6cc9,_0x430d10);},'gLqLu':_0x43d25b['TyLwJ'],'uzFBy':function(_0x4dc9bb,_0x3bf447,_0xbf2459){return _0x43d25b['zcsWQ'](_0x4dc9bb,_0x3bf447,_0xbf2459);},'KaSsz':_0x43d25b['yNZRK'],'CKSuu':function(_0x4bd73f,_0x21b2f2){return _0x43d25b['VHyPS'](_0x4bd73f,_0x21b2f2);},'VERHV':_0x43d25b[_0x4ec93d(0x1de)],'CLrKr':function(_0x2bd0c1,_0x22aa59,_0x373e24){const _0x29962c=_0x4ec93d;return _0x43d25b[_0x29962c(0x207)](_0x2bd0c1,_0x22aa59,_0x373e24);},'bwjOs':function(_0x4df792,_0x472d5a){const _0x3370ef=_0x4ec93d;return _0x43d25b[_0x3370ef(0x1c5)](_0x4df792,_0x472d5a);}};return async function _0x3b9364(_0x4a2adb,_0x34bdc8){const _0x4853ed=_0x4ec93d,_0x11871d=_0x5be047[_0x4853ed(0x273)](nestedKeyValue,_0x4a2adb,[_0x5be047['KaSsz']])||_0x4a2adb;let _0x31cc02=null,_0x34917f=null;try{[_0x34917f,_0x31cc02]=_0x11871d?_0x5be047[_0x4853ed(0x22c)](parseWSEndpoint,_0x11871d):[null,null],global['__platformCaps']=_0x31cc02,logger['debug'](_0x4853ed(0x1e0)+_0x34917f),_0x34917f[_0x4853ed(0x213)](Constants[_0x4853ed(0x195)])&&(global[_0x4853ed(0x276)]=_0x5be047[_0x4853ed(0x23f)]);}catch(_0x45eebb){logger['debug'](_0x4853ed(0x266)+_0x11871d+'\x20'+_0x45eebb);}_0x5be047[_0x4853ed(0x1c6)](processAccessibilityCaps,_0x31cc02,_0x34917f);if(global['accessibilityPlatform']){const _0x10b9fc=await _0x577963[_0x4853ed(0x220)][_0x4853ed(0x224)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x5be047['bwjOs'](encodeURIComponent,JSON[_0x4853ed(0x1bd)](_0x31cc02))]);return PlaywrightSessionDetails[_0x4853ed(0x22d)](_0x10b9fc,_0x2c89f9,_0x11871d),_0x10b9fc;}return _0x46efa1['apply'](this,arguments)['then'](_0x5a3778=>{const _0x545b9d=_0x4853ed;let _0x1c314c=_0x4a2adb[_0x545b9d(0x24f)];return _0x5be047[_0x545b9d(0x25e)](typeof _0x4a2adb,_0x5be047['gLqLu'])&&(_0x1c314c=_0x4a2adb),PlaywrightSessionDetails[_0x545b9d(0x22d)](_0x5a3778,_0x2c89f9,_0x1c314c),_0x5a3778;});};}});const _0x5906fb=_0x577963[_0x5bfcd5(0x229)];Object[_0x5bfcd5(0x20e)](_0x577963,_0x43d25b['BSiNX'],{'get':function(){return async function _0x2f8d8f(){const _0x1814d6=a4_0x2f0b;return _0x5906fb[_0x1814d6(0x224)](this,arguments)[_0x1814d6(0x1fa)](_0x53bdc5=>{const _0x44ccb2=_0x1814d6;return PlaywrightSessionDetails[_0x44ccb2(0x22d)](_0x53bdc5,null),_0x53bdc5;});};}});};class O11yHelper{[a4_0x4a3e42(0x25d)]=null;['currentHook']=null;[a4_0x4a3e42(0x1cd)]=![];['frameworkName']=![];constructor(_0x28c3d9,_0x434283){const _0x2e285b=a4_0x4a3e42,_0x130241={'dQFXs':_0x2e285b(0x1ff),'REoAb':function(_0x3e98e6,_0x399f30){return _0x3e98e6===_0x399f30;},'byfUz':_0x2e285b(0x22a),'eWZrB':function(_0x3b5b5f,_0x389add){return _0x3b5b5f(_0x389add);},'faJXa':function(_0x4c3c1b){return _0x4c3c1b();},'HEwXh':function(_0xc003d1){return _0xc003d1();}},_0x3c53d1=_0x130241[_0x2e285b(0x289)][_0x2e285b(0x1eb)]('|');let _0x98f362=0x0;while(!![]){switch(_0x3c53d1[_0x98f362++]){case'0':this['driver']&&_0x130241['REoAb'](this[_0x2e285b(0x267)]['constructor'][_0x2e285b(0x1fd)],_0x130241[_0x2e285b(0x278)])&&_0x130241[_0x2e285b(0x262)](mockPWBrowserType,null);continue;case'1':this['_testEnv']=_0x130241[_0x2e285b(0x23c)](getTestEnv);continue;case'2':this[_0x2e285b(0x267)]=_0x28c3d9;continue;case'3':this[_0x2e285b(0x1cd)]=_0x130241[_0x2e285b(0x247)](shouldProcessEventForTesthub);continue;case'4':this['frameworkName']=_0x434283['frameworkName'];continue;case'5':this['_paths']=new testOpsHelper[(_0x2e285b(0x1cc))]({'cwd':process[_0x2e285b(0x23d)]()},this['_testEnv'][_0x2e285b(0x193)]);continue;}break;}}[a4_0x4a3e42(0x269)](){const _0x1f762c=a4_0x4a3e42;if(!this[_0x1f762c(0x1cd)])return;testOpsHelper[_0x1f762c(0x192)](),process[_0x1f762c(0x1c3)](_0x1f762c(0x1b7)+process['pid']),process['on'](_0x1f762c(0x1b7)+process[_0x1f762c(0x1e5)],this['appendTestItemLog'][_0x1f762c(0x226)](this));}async['stop'](){const _0x3b85ad=a4_0x4a3e42;await RequestQueueHandler[_0x3b85ad(0x26e)]()[_0x3b85ad(0x201)]();}async[a4_0x4a3e42(0x27b)](_0x430433){const _0x5011cb=a4_0x4a3e42,_0x55acb9={'dMYIV':_0x5011cb(0x1a8),'cRvZY':function(_0x4de02d,_0x4bd01e){return _0x4de02d(_0x4bd01e);}};try{this['currentHook']&&!this[_0x5011cb(0x1c9)][_0x5011cb(0x27c)]&&(_0x430433[_0x5011cb(0x252)]=this[_0x5011cb(0x1c9)][_0x5011cb(0x239)]);!_0x430433[_0x5011cb(0x252)]&&this['currentTest']&&!this[_0x5011cb(0x25d)][_0x5011cb(0x27c)]&&(_0x430433[_0x5011cb(0x1a4)]=this[_0x5011cb(0x25d)][_0x5011cb(0x1cb)]);if(_0x430433[_0x5011cb(0x252)]||_0x430433[_0x5011cb(0x1a4)]){const _0x572406={};_0x572406[_0x5011cb(0x1bf)]=_0x55acb9[_0x5011cb(0x263)],_0x572406[_0x5011cb(0x19d)]=[_0x430433],await SessionHandler[_0x5011cb(0x20c)](_0x572406);}}catch(_0x17c272){_0x55acb9[_0x5011cb(0x24c)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x5011cb(0x1b5)]+_0x5011cb(0x1c1)+_0x17c272);}}async[a4_0x4a3e42(0x209)](_0x496286){const _0x13b268=a4_0x4a3e42,_0x1591be={'rTrHu':'CBTSessionCreated','fbnBp':function(_0x27b9b7,_0x47d14b){return _0x27b9b7(_0x47d14b);}};if(!this[_0x13b268(0x1cd)])return;const _0xc603d5=this[_0x13b268(0x1b2)](this[_0x13b268(0x267)]);try{const _0x1144a8={};_0x1144a8[_0x13b268(0x1aa)]=_0x496286,_0x1144a8[_0x13b268(0x281)]=_0xc603d5;const _0x4d4075=_0x1144a8,_0x59d831={};_0x59d831[_0x13b268(0x1bf)]=_0x1591be[_0x13b268(0x1e6)],_0x59d831[_0x13b268(0x19e)]=_0x4d4075,await SessionHandler[_0x13b268(0x20c)](_0x59d831);}catch(_0x13a595){_0x1591be[_0x13b268(0x194)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x13b268(0x1c1)+_0x13a595);}}['getCBTInfo'](_0x2a931c){const _0x56a003={'lFLXS':function(_0x42c6c7,_0x1d0a5d){return _0x42c6c7(_0x1d0a5d);}};return _0x56a003['lFLXS'](fetchPlatformDetails,_0x2a931c);}['resetSkipTestHooks']=_0x62275f=>{const _0x3cb54f=a4_0x4a3e42,_0x3bd4a6={};_0x3bd4a6[_0x3cb54f(0x1b6)]=_0x3cb54f(0x251),_0x3bd4a6[_0x3cb54f(0x241)]=_0x3cb54f(0x1d0);const _0x4b90cf=_0x3bd4a6;if(!_0x62275f||!_0x62275f[_0x3cb54f(0x243)])return;[_0x4b90cf[_0x3cb54f(0x1b6)],_0x4b90cf[_0x3cb54f(0x241)]]['forEach'](_0xd2c955=>{const _0x2afacc=_0x3cb54f,_0x5dae44=_0x62275f[_0x2afacc(0x243)][_0xd2c955];_0x5dae44['forEach'](_0x143584=>{const _0x3ca9bc=_0x2afacc;_0x143584[_0x3ca9bc(0x239)]&&(_0x143584[_0x3ca9bc(0x239)]=null);});});};[a4_0x4a3e42(0x22f)](_0x5295b4){const _0x4e4db2=a4_0x4a3e42,_0x28ecc6={'uJVLf':_0x4e4db2(0x234),'alofq':function(_0x288653){return _0x288653();},'eSOrA':function(_0x1779a0,_0x40d081){return _0x1779a0===_0x40d081;},'cmKsZ':_0x4e4db2(0x1d0),'zXCSE':function(_0x1f349e){return _0x1f349e();},'lnbCd':_0x4e4db2(0x1ea),'DfBuj':_0x4e4db2(0x218),'MbCAN':'_beforeEach'};if(!_0x5295b4||!_0x5295b4[_0x4e4db2(0x243)])return;[_0x28ecc6[_0x4e4db2(0x280)],_0x28ecc6[_0x4e4db2(0x242)],_0x28ecc6['MbCAN'],_0x28ecc6[_0x4e4db2(0x27e)]][_0x4e4db2(0x1da)](_0x2f9942=>{const _0x27a583=_0x4e4db2,_0xafcf13=_0x5295b4[_0x27a583(0x243)][_0x2f9942]||[];_0xafcf13[_0x27a583(0x1da)](_0x460781=>{const _0x5260e4=_0x27a583;if(_0x460781[_0x5260e4(0x1d1)][_0x5260e4(0x213)](_0x28ecc6[_0x5260e4(0x20a)]))return;if(!_0x460781[_0x5260e4(0x239)])_0x460781['hookAnalyticsId']=_0x28ecc6[_0x5260e4(0x1e3)](uuidv4);else _0x460781[_0x5260e4(0x27c)]&&_0x28ecc6['eSOrA'](_0x2f9942,_0x28ecc6[_0x5260e4(0x27e)])&&(_0x460781[_0x5260e4(0x239)]=_0x28ecc6[_0x5260e4(0x20d)](uuidv4),delete _0x460781[_0x5260e4(0x27c)]);});}),this['mapTestHooks'](_0x5295b4[_0x4e4db2(0x243)]);}[a4_0x4a3e42(0x1f8)](_0x535464){const _0xc9e83f=a4_0x4a3e42,_0x1f259d={};_0x1f259d[_0xc9e83f(0x25b)]=_0xc9e83f(0x1ea),_0x1f259d[_0xc9e83f(0x211)]=_0xc9e83f(0x218),_0x1f259d[_0xc9e83f(0x23e)]=_0xc9e83f(0x251),_0x1f259d[_0xc9e83f(0x26f)]=_0xc9e83f(0x1d0);const _0x17691a=_0x1f259d;if(!_0x535464||!_0x535464[_0xc9e83f(0x243)])return[];const _0x4f7aca=[];return[_0x17691a[_0xc9e83f(0x25b)],_0x17691a[_0xc9e83f(0x211)],_0x17691a[_0xc9e83f(0x23e)],_0x17691a[_0xc9e83f(0x26f)]][_0xc9e83f(0x1da)](_0x5f2e91=>{const _0x1507df=_0xc9e83f,_0x25a4c4=_0x535464[_0x1507df(0x243)][_0x5f2e91]||[];_0x25a4c4[_0x1507df(0x1da)](_0x553a01=>{const _0x51a221=_0x1507df;_0x553a01[_0x51a221(0x239)]&&_0x4f7aca['push'](_0x553a01[_0x51a221(0x239)]);});}),[]['concat'](_0x4f7aca,this[_0xc9e83f(0x1f8)](_0x535464[_0xc9e83f(0x243)]));}[a4_0x4a3e42(0x27f)](_0x164697){const _0x3682e9=a4_0x4a3e42,_0x22fd9d=/^"(?<hook>.*)" hook:.*$/,_0x21ab08=_0x164697[_0x3682e9(0x1d1)],_0x169695=_0x21ab08[_0x3682e9(0x1c2)](_0x22fd9d);if(_0x169695&&_0x169695[_0x3682e9(0x227)])return _0x169695[_0x3682e9(0x227)][_0x3682e9(0x19b)][_0x3682e9(0x20f)]()[_0x3682e9(0x1b9)]('\x20','_');return null;}['findGitConfig'](_0x3a5824){const _0x1c4fa3=a4_0x4a3e42,_0x1e5d8e={};_0x1e5d8e[_0x1c4fa3(0x228)]=function(_0x134e92,_0x3e5bc8){return _0x134e92===_0x3e5bc8;},_0x1e5d8e[_0x1c4fa3(0x1bb)]=function(_0x3e3843,_0x18593e){return _0x3e3843===_0x18593e;},_0x1e5d8e[_0x1c4fa3(0x1ac)]=function(_0x4a41a3,_0x329f47){return _0x4a41a3===_0x329f47;},_0x1e5d8e[_0x1c4fa3(0x1f3)]='.git',_0x1e5d8e[_0x1c4fa3(0x1b3)]='config';const _0x4812f3=_0x1e5d8e,_0x945e5=path[_0x1c4fa3(0x244)];if(_0x4812f3[_0x1c4fa3(0x228)](_0x3a5824,null)||_0x4812f3[_0x1c4fa3(0x228)](_0x3a5824,'')||_0x4812f3[_0x1c4fa3(0x1bb)](_0x3a5824,_0x945e5)||_0x4812f3['Oebwp'](_0x3a5824,path[_0x1c4fa3(0x1cf)](_0x3a5824)))return null;try{return fs[_0x1c4fa3(0x219)](path[_0x1c4fa3(0x235)](_0x3a5824,_0x4812f3[_0x1c4fa3(0x1f3)],_0x4812f3[_0x1c4fa3(0x1b3)])),_0x3a5824;}catch(_0x469f75){const _0x14f938=path[_0x1c4fa3(0x1cf)](_0x3a5824);return this[_0x1c4fa3(0x1f2)](_0x14f938);}}[a4_0x4a3e42(0x237)](_0x26ffb9){const _0x16ceb8=a4_0x4a3e42,_0x3aee3f={};_0x3aee3f['zFOKC']=function(_0x2fc1c4,_0x1b6983){return _0x2fc1c4>_0x1b6983;};const _0x427315=_0x3aee3f;if(_0x26ffb9[_0x16ceb8(0x1e2)])return _0x26ffb9['file'];if(_0x26ffb9[_0x16ceb8(0x256)]){const _0x7ec80=_0x26ffb9[_0x16ceb8(0x256)][_0x16ceb8(0x25d)]?this['getRootParentFile'](_0x26ffb9[_0x16ceb8(0x256)][_0x16ceb8(0x25d)]):null;if(_0x7ec80)return _0x7ec80;}if(_0x26ffb9[_0x16ceb8(0x243)]){const _0x306214=this['getRootParentFile'](_0x26ffb9[_0x16ceb8(0x243)])||(_0x26ffb9['parent'][_0x16ceb8(0x256)]&&_0x26ffb9[_0x16ceb8(0x243)][_0x16ceb8(0x256)][_0x16ceb8(0x25d)]?this['getRootParentFile'](_0x26ffb9[_0x16ceb8(0x243)][_0x16ceb8(0x256)][_0x16ceb8(0x25d)]):null);if(_0x306214)return _0x306214;_0x26ffb9['parent'][_0x16ceb8(0x197)]&&_0x427315[_0x16ceb8(0x21d)](_0x26ffb9[_0x16ceb8(0x243)][_0x16ceb8(0x197)][_0x16ceb8(0x1d2)],0x0)&&_0x26ffb9[_0x16ceb8(0x243)][_0x16ceb8(0x197)][_0x16ceb8(0x1da)](_0x48f926=>{const _0x2e836e=_0x16ceb8,_0x5652df=_0x48f926['ctx']?this[_0x2e836e(0x237)](_0x48f926[_0x2e836e(0x256)]):null;if(_0x5652df)return _0x5652df;});}return null;}[a4_0x4a3e42(0x230)](_0x318364){const _0x5e27c9=a4_0x4a3e42,_0x4df95e={};_0x4df95e[_0x5e27c9(0x1c4)]=function(_0xf32d9d,_0x7e4c9e){return _0xf32d9d!==_0x7e4c9e;};const _0x9bc711=_0x4df95e,_0x3b1cbe=[];if(_0x318364&&_0x318364[_0x5e27c9(0x243)]){let _0x217778=_0x318364[_0x5e27c9(0x243)];while(_0x217778&&_0x9bc711[_0x5e27c9(0x1c4)](_0x217778[_0x5e27c9(0x1d1)],'')){_0x3b1cbe[_0x5e27c9(0x245)](_0x217778[_0x5e27c9(0x1d1)]),_0x217778=_0x217778[_0x5e27c9(0x243)];}}return _0x3b1cbe;}[a4_0x4a3e42(0x198)](_0x2d6984,_0x41a556,_0x29c2d1=undefined){const _0x2ef339=a4_0x4a3e42,_0x30836f={'ZeZFB':function(_0x37e168,_0x3fbd2e){return _0x37e168(_0x3fbd2e);},'hhFgY':function(_0x389e79){return _0x389e79();},'ZNjON':function(_0x437750){return _0x437750();},'ubDmD':function(_0x2fb9bf){return _0x2fb9bf();},'PtAXV':function(_0x371440,_0x384ef4){return _0x371440(_0x384ef4);},'iMFck':'util','zkIBf':_0x2ef339(0x1be),'qvNxR':function(_0x18c7db,_0x25da77){return _0x18c7db!==_0x25da77;},'PaMNH':_0x2ef339(0x206),'hKSoQ':_0x2ef339(0x279),'HUHVq':_0x2ef339(0x221),'ercrM':_0x2ef339(0x259),'rWeXV':'skipped','PKTcN':_0x2ef339(0x1a6),'UypVY':function(_0x49a74f,_0x29800f){return _0x49a74f-_0x29800f;},'eiRyS':function(_0x424db9,_0x2ae79f,_0x4e173a,_0x39df9f,_0xd4f053){return _0x424db9(_0x2ae79f,_0x4e173a,_0x39df9f,_0xd4f053);},'RxUox':function(_0x1f0586,_0x17bd8a){return _0x1f0586!==_0x17bd8a;},'ClTJT':_0x2ef339(0x281),'tHwkO':_0x2ef339(0x204),'rOnwN':'failure','RVNBb':'failure_backtrace','tTDVi':_0x2ef339(0x196),'cYRfc':_0x2ef339(0x27a),'iGVqe':_0x2ef339(0x21a),'FeGWi':function(_0x4a6b9a,_0xcf2201){return _0x4a6b9a===_0xcf2201;},'pIHEr':_0x2ef339(0x274),'clOhv':'test_run'};if(!this[_0x2ef339(0x1cd)])return;try{if(_0x41a556['fn']&&_0x41a556['fn'][_0x2ef339(0x215)]()['match'](/browserstack internal helper hook/))return;const _0x21428e=_0x30836f[_0x2ef339(0x19c)](parseEvent,_0x2d6984);if(!_0x21428e)return;if(_0x21428e[_0x2ef339(0x1a7)]){this[_0x2ef339(0x25d)]=_0x41a556,this[_0x2ef339(0x1c9)]=null;if(_0x21428e['started']||_0x21428e[_0x2ef339(0x287)]){_0x41a556['startedAt']=new Date(),_0x41a556[_0x2ef339(0x27c)]=![];if(!_0x41a556[_0x2ef339(0x1cb)])_0x41a556[_0x2ef339(0x1cb)]=_0x30836f[_0x2ef339(0x258)](uuidv4);else _0x41a556['markedStatus']&&(!_0x41a556[_0x2ef339(0x1d4)]&&(_0x41a556[_0x2ef339(0x1d4)]=_0x41a556['testAnalyticsId']),_0x41a556[_0x2ef339(0x1cb)]=_0x30836f[_0x2ef339(0x1a0)](uuidv4));}}else{if(_0x21428e[_0x2ef339(0x19b)]){this[_0x2ef339(0x1c9)]=_0x41a556;if(_0x21428e[_0x2ef339(0x238)]){_0x41a556[_0x2ef339(0x284)]=new Date(),_0x41a556[_0x2ef339(0x27c)]=![];if(!_0x41a556[_0x2ef339(0x239)])_0x41a556[_0x2ef339(0x239)]=_0x30836f['hhFgY'](uuidv4);else _0x41a556['hookAnalyticsId']&&_0x41a556['markedStatus']&&(_0x41a556['hookAnalyticsId']=_0x30836f[_0x2ef339(0x222)](uuidv4));}}}if(_0x21428e[_0x2ef339(0x19a)]&&_0x41a556['markedStatus'])return;let _0x4cc920;try{_0x4cc920=this[_0x2ef339(0x237)](_0x41a556);}catch(_0x7e98bc){logger[_0x2ef339(0x1ce)](_0x2ef339(0x264)+_0x7e98bc),_0x4cc920=null;}const _0x1a382b=_0x30836f[_0x2ef339(0x283)](require,_0x30836f[_0x2ef339(0x1e7)]);let _0x36aeb3=[];_0x29c2d1&&(_0x36aeb3=[_0x29c2d1,_0x30836f[_0x2ef339(0x24a)]]);const _0x1322c4=_0x30836f[_0x2ef339(0x1f9)](_0x41a556['errorsDetailed'],undefined)?_0x1a382b['inspect'](_0x41a556[_0x2ef339(0x1f1)][0x0]):_0x30836f[_0x2ef339(0x1f9)](_0x29c2d1,undefined)?_0x29c2d1[_0x2ef339(0x215)]():undefined,_0x14e325=_0x4cc920?this[_0x2ef339(0x1f2)](_0x4cc920):null,_0x57134e=_0x4cc920?this[_0x2ef339(0x24b)]['prefixTestPath'](this[_0x2ef339(0x237)](_0x41a556)):_0x30836f[_0x2ef339(0x260)];let _0x3f478e=_0x30836f['hKSoQ'];const _0x1af74b=!_0x21428e['started']?new Date()['toISOString']():null;if(_0x21428e[_0x2ef339(0x19a)])_0x3f478e=_0x29c2d1?_0x30836f['HUHVq']:_0x30836f[_0x2ef339(0x240)],_0x41a556[_0x2ef339(0x27c)]=!![];else _0x21428e[_0x2ef339(0x287)]&&(_0x3f478e=_0x30836f[_0x2ef339(0x217)],_0x41a556['markedStatus']=!![]);const _0x2d5867={'framework':this[_0x2ef339(0x25a)],'uuid':_0x41a556[_0x2ef339(0x1cb)]||_0x41a556['hookAnalyticsId'],'name':_0x41a556[_0x2ef339(0x1d1)],'body':{'lang':_0x30836f[_0x2ef339(0x1ca)],'code':_0x41a556[_0x2ef339(0x1db)][_0x2ef339(0x215)]()},'type':_0x41a556[_0x2ef339(0x1d3)],'scope':_0x41a556[_0x2ef339(0x1dc)](),'scopes':this[_0x2ef339(0x230)](_0x41a556),'file_name':_0x57134e,'vc_filepath':_0x14e325?path[_0x2ef339(0x285)](_0x14e325,_0x4cc920):null,'location':_0x57134e,'result':_0x3f478e,'failure_reason':_0x1322c4,'duration_in_ms':_0x41a556[_0x2ef339(0x1d5)]||(_0x21428e['finished']||_0x21428e[_0x2ef339(0x287)])?_0x30836f[_0x2ef339(0x1a1)](Date[_0x2ef339(0x1bc)](),new Date(_0x41a556['startedAt'])[_0x2ef339(0x1f4)]()):null,'started_at':new Date(_0x41a556[_0x2ef339(0x284)])[_0x2ef339(0x1dd)](),'finished_at':_0x1af74b,'failure':testOpsHelper[_0x2ef339(0x286)][_0x2ef339(0x224)](null,_0x36aeb3),'failure_type':!_0x1322c4?null:testOpsHelper[_0x2ef339(0x231)](_0x1322c4),'retry_of':_0x41a556[_0x2ef339(0x1d4)]||null,'tags':_0x41a556['tags']||[],'customRerunParam':{'rerun_name':_0x41a556[_0x2ef339(0x1dc)]()}};_0x30836f[_0x2ef339(0x1e1)](appendTesthubParams,_0x2d5867,_0x2d6984,_0x41a556,FRAMEWORKS[_0x2ef339(0x23a)]);if(_0x21428e[_0x2ef339(0x19b)])[_0x2d5867['hook_type'],_0x2d5867[_0x2ef339(0x1fd)]]=[this[_0x2ef339(0x27f)](_0x41a556),_0x41a556[_0x2ef339(0x256)][_0x2ef339(0x1a7)]['title']],_0x21428e['finished']?_0x30836f[_0x2ef339(0x23b)](_0x2d5867[_0x2ef339(0x208)],_0x30836f[_0x2ef339(0x26a)])&&(_0x2d5867['result']=_0x30836f[_0x2ef339(0x240)]):_0x2d5867[_0x2ef339(0x1db)]={};else _0x21428e['test']&&(this[_0x2ef339(0x22f)](_0x41a556),_0x21428e[_0x2ef339(0x287)]&&this[_0x2ef339(0x1fb)](_0x41a556),(_0x21428e['finished']||_0x21428e[_0x2ef339(0x287)])&&(_0x2d5867['hooks']=this['getHooksForTest'](_0x41a556)));this[_0x2ef339(0x267)]&&(_0x21428e[_0x2ef339(0x238)]||_0x21428e[_0x2ef339(0x287)])&&(_0x2d5867[_0x30836f[_0x2ef339(0x1e4)]]=this[_0x2ef339(0x1b2)](this[_0x2ef339(0x267)]));_0x21428e[_0x2ef339(0x1a7)]&&_0x21428e[_0x2ef339(0x19a)]&&_0x41a556[_0x2ef339(0x22e)]&&(_0x2d5867[_0x30836f['tHwkO']]={'feature':{'name':_0x41a556['parent'][_0x2ef339(0x1f6)][_0x2ef339(0x1fd)],'path':_0x2d5867[_0x2ef339(0x1f0)],'description':_0x41a556[_0x2ef339(0x243)]['comment']},'scenario':{'name':_0x41a556[_0x2ef339(0x1d1)]},'steps':_0x41a556[_0x2ef339(0x22e)]});const _0x29fdc2=_0x2d5867[_0x30836f[_0x2ef339(0x21c)]][0x0];_0x29fdc2&&(_0x2d5867[_0x30836f[_0x2ef339(0x236)]]=_0x29fdc2[_0x30836f[_0x2ef339(0x1a5)]],_0x2d5867[_0x30836f['cYRfc']]=_0x29fdc2[_0x30836f[_0x2ef339(0x1ef)]]);if(_0x41a556[_0x2ef339(0x22e)])for(const _0xd636d0 of _0x41a556[_0x2ef339(0x22e)]){!_0xd636d0[_0x2ef339(0x272)]&&(_0xd636d0[_0x2ef339(0x272)]=new Date()['toISOString'](),_0x30836f[_0x2ef339(0x1fe)](_0xd636d0[_0x2ef339(0x208)],_0x30836f['hKSoQ'])&&(_0x29fdc2?(_0xd636d0[_0x2ef339(0x208)]=_0x30836f[_0x2ef339(0x26a)],_0xd636d0[_0x2ef339(0x28a)]=_0x29fdc2[_0x30836f[_0x2ef339(0x1a5)]][0x0]):_0xd636d0[_0x2ef339(0x208)]=_0x30836f[_0x2ef339(0x240)]));}const _0x10fff8={};_0x10fff8[_0x2ef339(0x1bf)]=_0x21428e[_0x2ef339(0x287)]?TEST_EVENTS[_0x2ef339(0x225)]:_0x2d6984;const _0x1776ca=_0x10fff8;return _0x21428e[_0x2ef339(0x19b)]?_0x1776ca[_0x30836f[_0x2ef339(0x1d6)]]=_0x2d5867:_0x1776ca[_0x30836f['clOhv']]=_0x2d5867,_0x1776ca;}catch(_0x454427){logger[_0x2ef339(0x1ce)](_0x2ef339(0x1ae)+_0x2d6984+_0x2ef339(0x1c1)+_0x454427);}}async['fireEvent'](_0x42acc5,_0x2fe678){const _0x5d73bd=a4_0x4a3e42;if(!this[_0x5d73bd(0x1cd)]||!_0x2fe678||!_0x42acc5)return![];try{return await SessionHandler['uploadEventData'](_0x2fe678);}catch(_0x16defb){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x42acc5+'\x20with\x20error\x20:\x20'+_0x16defb);}}['initializeBddStep'](_0x4421f4){const _0x59075e=a4_0x4a3e42,_0x5bb951={};_0x5bb951[_0x59075e(0x26d)]=_0x59075e(0x279);const _0x3700b3=_0x5bb951;return{'id':_0x4421f4['stepAnalyticsId'],'text':_0x4421f4[_0x59075e(0x1ad)],'keyword':_0x4421f4['keyword'],'started_at':_0x4421f4[_0x59075e(0x284)][_0x59075e(0x1dd)](),'result':_0x3700b3[_0x59075e(0x26d)]};}['bddStepStart'](_0x29ed65){const _0x366d5e=a4_0x4a3e42,_0x30b389={'iZcVD':function(_0x16a7b0){return _0x16a7b0();}};!this[_0x366d5e(0x25d)][_0x366d5e(0x22e)]&&(this['currentTest'][_0x366d5e(0x22e)]=[]),!_0x29ed65[_0x366d5e(0x232)]&&(_0x29ed65[_0x366d5e(0x232)]=_0x30b389[_0x366d5e(0x1ba)](uuidv4),_0x29ed65[_0x366d5e(0x284)]=new Date(),this[_0x366d5e(0x25d)][_0x366d5e(0x22e)][_0x366d5e(0x245)](this[_0x366d5e(0x1b8)](_0x29ed65)));}[a4_0x4a3e42(0x288)](_0x2433c9){const _0x61ad92=a4_0x4a3e42,_0x1e5e5b={'MynhM':function(_0x49f8a4,_0x5533e5){return _0x49f8a4(_0x5533e5);},'DMNYq':_0x61ad92(0x253),'iFSag':_0x61ad92(0x279),'bAuYo':_0x61ad92(0x259),'iPlXq':function(_0xf72e8,_0x315599){return _0xf72e8-_0x315599;}};let _0x1aa93b=this['currentTest']['bddSteps']['find'](_0x4dc565=>_0x4dc565['id']===_0x2433c9[_0x61ad92(0x232)]);_0x1e5e5b[_0x61ad92(0x1ed)](isUndefined,_0x1aa93b)&&(_0x1aa93b=this[_0x61ad92(0x1b8)](_0x2433c9)),_0x1aa93b[_0x61ad92(0x208)]=[_0x1e5e5b[_0x61ad92(0x1fc)],_0x1e5e5b[_0x61ad92(0x1b1)]][_0x61ad92(0x213)](_0x2433c9[_0x61ad92(0x26c)])?_0x1e5e5b[_0x61ad92(0x275)]:_0x2433c9[_0x61ad92(0x26c)],_0x1aa93b[_0x61ad92(0x272)]=new Date()[_0x61ad92(0x1dd)](),_0x1aa93b[_0x61ad92(0x1d5)]=_0x1e5e5b[_0x61ad92(0x200)](Date[_0x61ad92(0x1bc)](),_0x2433c9[_0x61ad92(0x284)][_0x61ad92(0x1f4)]()),_0x1aa93b[_0x61ad92(0x28a)]=_0x2433c9['err']?_0x2433c9[_0x61ad92(0x1be)][_0x61ad92(0x214)]:null;}}const a4_0x3742b2={};function a4_0x2f0b(_0x41b2d5,_0x4b98ac){const _0x34cb6b=a4_0x34cb();return a4_0x2f0b=function(_0x2f0b24,_0x48b0c7){_0x2f0b24=_0x2f0b24-0x192;let _0x212f3d=_0x34cb6b[_0x2f0b24];return _0x212f3d;},a4_0x2f0b(_0x41b2d5,_0x4b98ac);}a4_0x3742b2[a4_0x4a3e42(0x255)]=O11yHelper,a4_0x3742b2[a4_0x4a3e42(0x26b)]=STATE_PASSED,a4_0x3742b2[a4_0x4a3e42(0x21b)]=STATE_FAILED,a4_0x3742b2[a4_0x4a3e42(0x1ee)]=TEST_EVENTS,module[a4_0x4a3e42(0x257)]=a4_0x3742b2;function a4_0x34cb(){const _0x24a96c=['410DWaAhv','feature','HOOK_RUN_FINISHED','getHooksForTest','qvNxR','then','resetSkipTestHooks','DMNYq','name','FeGWi','3|4|2|1|5|0','iPlXq','shutdown','634403BMgQtO','zqEbU','meta','HookRunStarted','File\x20path\x20could\x20not\x20be\x20found','UhoaM','result','sendCBTInfo','uJVLf','Uwhpb','uploadEventData','zXCSE','defineProperty','toUpperCase','./helper.js','ngWJY','5UsXbfH','includes','message','toString','TestRunSkipped','rWeXV','_afterAll','statSync','expanded','STATE_FAILED','rOnwN','zFOKC','351004ClbTJm','1363572QfHMLz','connectOverCDP','failed','ubDmD','Not\x20able\x20to\x20import\x20Browser','apply','TEST_RUN_FINISHED','bind','groups','SrGeD','launch','Playwright','bJpFI','CKSuu','setupBrowserDetails','bddSteps','mapTestHooks','getHierarchy','getFailureType','stepAnalyticsId','HOOK_RUN_STARTED','codeceptjs','join','RVNBb','getRootParentFile','started','hookAnalyticsId','CODECEPT','RxUox','faJXa','cwd','PANov','VERHV','ercrM','PghbY','DfBuj','parent','sep','push','4245680YnYnZw','HEwXh','634626ORIXIx','path','zkIBf','_paths','cRvZY','BrowserType','toLowerCase','wsEndpoint','TestRunStarted','_beforeEach','hook_run_uuid','success','6BLzPWa','O11yHelper','ctx','exports','hhFgY','passed','frameworkName','kpPev','HookRunFinished','currentTest','ehKTr','../../helpers/test-observability/requestQueueHandler','PaMNH','../playwright/sessionDetails','eWZrB','dMYIV','failed\x20to\x20get\x20root\x20parent\x20file\x20','oSrAR','Failed\x20to\x20parse\x20wsendpoint\x20','driver','browserType.js','start','HUHVq','STATE_PASSED','status','OOmgt','getInstance','vgsnY','gzmPM','gMbPu','finished_at','uzFBy','hook_run','bAuYo','__cloud_provider___','2023530AjoXkS','byfUz','pending','failure_reason_expanded','appendTestItemLog','markedStatus','../../helpers/helper','cmKsZ','getHookType','lnbCd','integrations','../utils/constants','PtAXV','startedAt','relative','failureData','skipped','bddStepFinish','dQFXs','failure','patchConsoleLogger','location_prefix','fbnBp','BROWSERSTACK','backtrace','suites','captureEvent','../mocha/test-observability/mochaUtils','finished','hook','ZeZFB','logs','test_run','TestRunFinished','ZNjON','UypVY','nNOAV','client','test_run_uuid','tTDVi','javascript','test','LogCreated','string','uuid','../../helpers/test-observability/sessionHandler','Oebwp','text','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','connect','TEST_RUN_SKIPPED','iFSag','getCBTInfo','QJEXQ','YDpNT','TEST_REPORTING_ANALYTICS','kYguA','bs:addLog:','initializeBddStep','replace','iZcVD','EzlzW','now','stringify','err','event_type','3540173TnIHNA','\x20with\x20error\x20:\x20','match','removeAllListeners','nVPkJ','PrXLK','CLrKr','yODbQ','RbogD','currentHook','PKTcN','testAnalyticsId','PathHelper','enabled','debug','dirname','_afterEach','title','length','type','retryOf','duration','pIHEr','../../helpers/test-observability/utils','../../helpers/logger','obsBrowserTypeMockApplied','forEach','body','fullTitle','toISOString','MztQK','TEST_RUN_STARTED','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','eiRyS','file','alofq','ClTJT','pid','rTrHu','iMFck','GOpEG','browserstack','_beforeAll','split','../../helpers/test-observability/constants','MynhM','TEST_EVENTS','iGVqe','file_name','errorsDetailed','findGitConfig','ywdEZ','getTime'];a4_0x34cb=function(){return _0x24a96c;};return a4_0x34cb();}