browserstack-node-sdk 1.55.4 → 1.55.5

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 (199) 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 +3 -2
  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/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/stackFrameUtils.js +1 -0
  180. package/src/helpers/test-observability/constants.js +1 -1
  181. package/src/helpers/test-observability/error-handler.js +1 -1
  182. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  183. package/src/helpers/test-observability/sessionHandler.js +1 -1
  184. package/src/helpers/test-observability/utils.js +1 -1
  185. package/src/helpers/test-orchestration/constants.js +1 -1
  186. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  187. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  188. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  189. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  190. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  191. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  192. package/src/helpers/testhub/constants.js +1 -1
  193. package/src/helpers/testhub/testhubHandler.js +1 -1
  194. package/src/helpers/testhub/utils.js +1 -1
  195. package/src/helpers/timeoutPromise.js +1 -1
  196. package/src/helpers/utilities.js +1 -1
  197. package/src/helpers/w3cMapping.js +1 -1
  198. package/src/hubAllocationMethods.js +1 -1
  199. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x402f4f=a1_0x1437;(function(_0x1b2964,_0x2848ca){const _0xf33dec=a1_0x1437,_0x286cd7=_0x1b2964();while(!![]){try{const _0x8cf41a=-parseInt(_0xf33dec(0x162))/0x1+parseInt(_0xf33dec(0x87))/0x2+parseInt(_0xf33dec(0x169))/0x3+parseInt(_0xf33dec(0x7a))/0x4+parseInt(_0xf33dec(0xaf))/0x5+parseInt(_0xf33dec(0x176))/0x6*(-parseInt(_0xf33dec(0x138))/0x7)+-parseInt(_0xf33dec(0x145))/0x8;if(_0x8cf41a===_0x2848ca)break;else _0x286cd7['push'](_0x286cd7['shift']());}catch(_0x48d2c3){_0x286cd7['push'](_0x286cd7['shift']());}}}(a1_0x5da3,0x46d9f));const fs=require('fs'),util=require(a1_0x402f4f(0x144)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x402f4f(0xc7)),logger=require(a1_0x402f4f(0x14f))[a1_0x402f4f(0x9a)],testOpsHelper=require(a1_0x402f4f(0x149)),requestSpy=require(a1_0x402f4f(0xa7)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x402f4f(0x10a)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x402f4f(0x98)),AccessibilityHelper=require(a1_0x402f4f(0xf0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x402f4f(0x103)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x402f4f(0x112)),testHubConstants=require(a1_0x402f4f(0xc4)),globals=require(a1_0x402f4f(0x179)),CodeceptJS=requireModule(a1_0x402f4f(0x116),a1_0x402f4f(0xf2)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x402f4f(0xf2)),CodeceptWebDriver=requireModule(a1_0x402f4f(0xf8),a1_0x402f4f(0xf2)),CodeceptRecorder=requireModule(a1_0x402f4f(0x150),a1_0x402f4f(0xf2)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x402f4f(0xf2)),playwrightMarkSessionStatus=(_0x1fc969,_0x1aa283,_0x4586f0)=>{const _0x3f4674=a1_0x402f4f,_0x6a4602={'jUbUv':_0x3f4674(0xb8),'qBoBh':function(_0x3d1af5,_0x597b97){return _0x3d1af5(_0x597b97);}},_0x2d9e49={};_0x2d9e49[_0x3f4674(0xa0)]=_0x1aa283;const _0x4f35b5={};_0x4f35b5[_0x3f4674(0xaa)]=_0x6a4602['jUbUv'],_0x4f35b5[_0x3f4674(0xd1)]=_0x2d9e49;const _0x1c41c4=_0x4f35b5;return!_0x6a4602[_0x3f4674(0x168)](isUndefined,_0x4586f0)&&(_0x1c41c4['arguments'][_0x3f4674(0xe0)]=JSON['stringify'](_0x4586f0)),_0x1fc969[_0x3f4674(0x140)](()=>{},_0x3f4674(0x158)+JSON['stringify'](_0x1c41c4));},o11ySync=PerformanceTester[a1_0x402f4f(0x114)](PerformanceO11yEvents[a1_0x402f4f(0x9e)],async _0x116031=>{const _0x1ecbcb=a1_0x402f4f,_0x50b14a={};_0x50b14a[_0x1ecbcb(0xce)]=function(_0x359509,_0x24b5de){return _0x359509===_0x24b5de;},_0x50b14a['gSEZB']=_0x1ecbcb(0xb9);const _0x59262a=_0x50b14a;_0x59262a[_0x1ecbcb(0xce)](_0x116031[_0x1ecbcb(0x125)][_0x1ecbcb(0x7b)],_0x59262a[_0x1ecbcb(0xbe)])?await _0x116031[_0x1ecbcb(0x140)](_0x2386d4=>{},testOpsHelper[_0x1ecbcb(0xee)]()):await _0x116031[_0x1ecbcb(0x140)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x402f4f(0x114)](PerformanceAutEvents['SESSION_NAME'],async(_0x53cbb7,_0x4d0a71)=>{const _0x1d7926=a1_0x402f4f,_0x13dbf3={};_0x13dbf3[_0x1d7926(0x129)]=_0x1d7926(0x16d),_0x13dbf3[_0x1d7926(0x134)]=function(_0x620bbb,_0x1c3e27){return _0x620bbb===_0x1c3e27;},_0x13dbf3[_0x1d7926(0xbd)]=_0x1d7926(0xb9);const _0x4dea10=_0x13dbf3,_0xc949a4={};_0xc949a4[_0x1d7926(0x7b)]=_0x4d0a71;const _0x594ff0={};_0x594ff0[_0x1d7926(0xaa)]=_0x4dea10[_0x1d7926(0x129)],_0x594ff0[_0x1d7926(0xd1)]=_0xc949a4;const _0x1374e9=_0x594ff0;_0x4dea10[_0x1d7926(0x134)](_0x53cbb7[_0x1d7926(0x125)]['name'],_0x4dea10[_0x1d7926(0xbd)])?await _0x53cbb7[_0x1d7926(0x140)](()=>{},_0x1d7926(0x158)+JSON[_0x1d7926(0xf5)](_0x1374e9)):await _0x53cbb7[_0x1d7926(0x140)](_0x1d7926(0x158)+JSON[_0x1d7926(0xf5)](_0x1374e9));}),patchSaveScreenshot=_0x5efa0c=>{const _0x49ce09=a1_0x402f4f,_0x5d0d51={'vtMZl':_0x49ce09(0x12b),'IDHKf':_0x49ce09(0x159),'PLscg':function(_0xc1d2d2){return _0xc1d2d2();},'lCDMX':function(_0x1ea708,_0x57513b){return _0x1ea708(_0x57513b);},'MjCzI':_0x49ce09(0xc3)};_0x5d0d51[_0x49ce09(0x95)](isTrue,process[_0x49ce09(0x107)][_0x49ce09(0x131)])&&!_0x5efa0c['patchSaveScreenshot']&&(_0x5efa0c[_0x49ce09(0x136)]=!![],_0x5efa0c[_0x49ce09(0xdd)]=_0x5efa0c['saveScreenshot'],_0x5efa0c['saveScreenshot']=(_0x534fb6,_0x5ad317=![])=>{const _0xc430b1=_0x49ce09,_0x32fe40={'yEfje':_0x5d0d51[_0xc430b1(0x15e)],'RStgz':_0x5d0d51['IDHKf'],'yTMGO':function(_0x10a207){const _0x5eb6aa=_0xc430b1;return _0x5d0d51[_0x5eb6aa(0xef)](_0x10a207);},'fbhEV':function(_0x5d9aa9,_0xa6233b){const _0x84fdca=_0xc430b1;return _0x5d0d51[_0x84fdca(0x95)](_0x5d9aa9,_0xa6233b);},'jccWq':_0x5d0d51[_0xc430b1(0xca)]};return new Promise(function(_0x222fb8,_0x5e554a){const _0xe22a3a=_0xc430b1,_0x42ef5e={'dRnNB':_0x32fe40['yEfje'],'mwQVD':_0x32fe40['RStgz'],'xPLsx':function(_0x418598){const _0x5960f4=a1_0x1437;return _0x32fe40[_0x5960f4(0x16b)](_0x418598);},'imylk':function(_0xf4bc19,_0x1d103f){const _0x47f9c6=a1_0x1437;return _0x32fe40[_0x47f9c6(0xb2)](_0xf4bc19,_0x1d103f);},'aEsQv':_0x32fe40[_0xe22a3a(0x79)]};_0x5efa0c['initSaveScreenshot'](_0x534fb6,_0x5ad317)['then'](()=>{const _0x64f5a6=_0xe22a3a,_0x1c0b21=CodeceptUtils[_0x64f5a6(0x8b)](_0x534fb6);if(_0x1c0b21){const _0x33ac34=fs['readFileSync'](_0x1c0b21);process[_0x64f5a6(0xfa)](_0x64f5a6(0xd0)+process[_0x64f5a6(0xd7)],{'timestamp':new Date()[_0x64f5a6(0xb3)](),'message':_0x33ac34[_0x64f5a6(0x7c)](_0x42ef5e[_0x64f5a6(0x16a)]),'kind':_0x42ef5e[_0x64f5a6(0xd4)]}),_0x42ef5e[_0x64f5a6(0x16f)](_0x222fb8);}_0x42ef5e[_0x64f5a6(0x120)](_0x5e554a,new Error(_0x42ef5e['aEsQv']));})[_0xe22a3a(0x86)](()=>null);});});},patchWebDriverBefore=_0x18951f=>{const _0x27db78=a1_0x402f4f,_0x34e763={'ykuBu':function(_0x56356c){return _0x56356c();},'uwquJ':function(_0x1ddc36,_0x57dcf4){return _0x1ddc36(_0x57dcf4);},'ROatd':function(_0x229ec2,_0x2de200){return _0x229ec2===_0x2de200;},'ESSYt':'webdriverio','vMaNn':_0x27db78(0xae),'Bkkhv':_0x27db78(0xcb),'jqQnw':function(_0x16bd80,_0x518a46){return _0x16bd80(_0x518a46);}},_0x31711a=async function(_0x4b7719,_0x53e605){const _0x5b39b1=_0x27db78;_0x34e763[_0x5b39b1(0x152)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x5b39b1(0x81)]&&scripts[_0x5b39b1(0x13f)](_0x4b7719[_0x5b39b1(0x7b)])&&_0x34e763['uwquJ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5b39b1(0x93)]=!![],await PerformanceTester[_0x5b39b1(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xce9132=_0x5b39b1;logger[_0xce9132(0xb4)](_0xce9132(0x157)+_0x4b7719[_0xce9132(0x124)]+'\x20'+_0x4b7719[_0xce9132(0x7b)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x18951f,scripts[_0xce9132(0x110)]);},{'command':_0x4b7719['name']})());global[_0x5b39b1(0x93)]=![];const _0x168433=JSON[_0x5b39b1(0x10e)](process['env'][_0x5b39b1(0xf1)]||'{}');if(_0x34e763[_0x5b39b1(0xd6)](_0x168433?.[_0x5b39b1(0x174)]?.[_0x5b39b1(0x7b)],_0x34e763[_0x5b39b1(0xa4)])&&_0x34e763[_0x5b39b1(0xd6)](typeof _0x168433?.[_0x5b39b1(0x174)]?.['version'],_0x34e763['vMaNn'])&&_0x168433?.[_0x5b39b1(0x174)]?.[_0x5b39b1(0x153)]['startsWith']('7'))return _0x53e605[_0x5b39b1(0x10c)](null,Array[_0x5b39b1(0xd5)][_0x5b39b1(0x17b)]['call'](arguments,0x2));return _0x53e605[_0x5b39b1(0x10c)](this,Array['prototype'][_0x5b39b1(0x17b)][_0x5b39b1(0xa1)](arguments,0x2));},_0x32e611=CodeceptWebDriver['prototype'][_0x27db78(0xb0)];CodeceptWebDriver[_0x27db78(0xd5)][_0x27db78(0xb0)]=async function(){const _0x3b1377=_0x27db78;try{await _0x32e611['apply'](this,arguments);}catch(_0xbbd1c4){logger[_0x3b1377(0xb4)](_0x3b1377(0x123)+util[_0x3b1377(0xd9)](_0xbbd1c4));}scripts[_0x3b1377(0x165)][_0x3b1377(0x7e)](_0x2376ce=>_0x2376ce[_0x3b1377(0x7b)]&&_0x2376ce[_0x3b1377(0x124)])[_0x3b1377(0x141)](_0x274e20=>{const _0x5b2dae=_0x3b1377;this[_0x5b2dae(0x105)]['overwriteCommand'](_0x274e20['name'],_0x31711a['bind'](this,_0x274e20),_0x34e763[_0x5b2dae(0xd6)](_0x274e20[_0x5b2dae(0x124)],_0x34e763['Bkkhv']));}),_0x34e763[_0x3b1377(0xd3)](processWebDriverConfig,_0x18951f);};};function parseJwt(_0x1be038){const _0x575181=a1_0x402f4f,_0x283448={};_0x283448[_0x575181(0xbb)]=_0x575181(0x12b);const _0xdc6ba1=_0x283448;if(!_0x1be038)return null;return JSON[_0x575181(0x10e)](Buffer['from'](_0x1be038['split']('.')[0x1],_0xdc6ba1['gnddG'])[_0x575181(0x7c)]());}function a1_0x5da3(){const _0x2f0d76=['debug','IHupF','pivTn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setSessionStatus','Playwright','SDK_PRE_TEST','gnddG','startMonitoring','xieWU','gSEZB','bddStepFinish','isMobilePlatform','failed','Iawhy','Screenshot\x20path\x20not\x20found','../../helpers/testhub/constants.js','NmSwy','RYsez','../../helpers/helper','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_TEST','MjCzI','Element','before','currentTest','yqEIZ','TestCafe','bs:addLog:','arguments','TEST_RUN_STARTED','jqQnw','mwQVD','prototype','ROatd','pid','yCyVF','format','event','__workerDetails','fireEvent','initSaveScreenshot','AJaoU','getResults','reason','pncoJ','UPSDI','is_mobile_session','gCqDJ','find','stack','started','all','KOzNh','--auto-open-devtools-for-tabs','VtgDw','SDK_HOOK','LTzdA','getSyncScript','PLscg','../../bin/playwright/accessibility-helper','FRAMEWORK_DETAILS','codeceptjs','getAccessibilityResultsSummary','NCJBy','stringify','zGvYh','gBgkk','codeceptjs/lib/helper/WebDriver.js','step','emit','fMqHA','yxPQW','warn','test-before','FGgsv','vHofB','captureError','title','../../helpers/performance/performance-tester','GKHZg','browser','meXVr','env','bddStepStart','browserContext','./o11yHelper','dispatcher','apply','PERFORM_SCAN','parse','startsWith','performScan','config','./helper.js','YEuzU','measureWrapper','getAccessibilityResults','codeceptjs/lib/index.js','hksIi','\x0aStack:\x20','bddStep','MOQsK','_setPage','info','HOOK_RUN_FINISHED','bddStep-after','helpers','imylk','test-failed','HKmIk','Failed\x20to\x20execute\x20_before:\x20','class','constructor','after','includes','contexts','kcEaI','command','base64','Puppeteer','zbZyu','Suite','skipSessionName','oMNSP','BS_TESTOPS_ALLOW_SCREENSHOTS','NRHqJ','addRequestSpy','bBvfM','SDK_POST_TEST','patchSaveScreenshot','HFXGh','119HSUakV','__skipSessionStatus','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','test-started','gqOhk','enabled','chromium','shouldWrapCommand','executeScript','forEach','OloZM','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','util','156712kezJOE','url','YsYca','push','../../helpers/test-observability/utils','thTestRunUuid','MOcOj','VExvU','__driver','RkqJj','../../helpers/logger','codeceptjs/lib/recorder.js','bddStep-before','ykuBu','version','isArray','FJtUk','skipSessionStatus','Performing\x20scan\x20for\x20','browserstack_executor:\x20','TEST_SCREENSHOT','test-skipped','QLCbT','start','test-passed','vtMZl','test-after','stop','qjJxV','291500AqSkYM','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SFDos','commandsToWrap','args','page','qBoBh','139155NwCBGC','dRnNB','yTMGO','hook','setSessionName','uldUL','xPLsx','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','GET_RESULTS_SUMMARY','SESSION_STATUS','RKVSV','testFramework','browserStackExecuteDriver','71424AEPzgV','oylKL','xUpQI','../../helpers/globals.js','getGlobal','slice','INFO','jccWq','1897364Pfkdts','name','toString','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','filter','skipped','thJwtToken','accessibilityPlatform','passed','TEST_RUN_SKIPPED','hookType','zBYrV','catch','382970uUpEKS','xZpFj','hook-passed','ctx','screenshotOutputFolder','zvOfS','saveTestResults','dCiBC','container','JVvET','PmLbP','TEST_RUN_FINISHED','bstackAllyScanning','kdsVk','lCDMX','end','domForge','../../helpers/accessibility-automation/helper','restore','winstonLogger','test','eyRiI','captureEvent','SYNC','SDK_PRE_INITIALIZE','status','call','testAnalyticsId','bind','ESSYt','step-comment','pages','../../helpers/request-spy','afterTest','titlePath','action','jDRbk','SDK_POST_INITIALIZE','a11y_core_config','string','457265NWhlVG','_before','add','fbhEV','toISOString'];a1_0x5da3=function(){return _0x2f0d76;};return a1_0x5da3();}const patchPlaywrightBefore=()=>{const _0x3d40b4=a1_0x402f4f,_0x316466={'FGgsv':_0x3d40b4(0xea),'WLnjM':function(_0x23e5c6){return _0x23e5c6();},'YEuzU':function(_0x6ee64a,_0x11149a){return _0x6ee64a(_0x11149a);},'IHupF':function(_0x297e8e){return _0x297e8e();},'gBgkk':'devtools://','fxaNW':function(_0x3922a2,_0x158303){return _0x3922a2+_0x158303;},'oMNSP':_0x3d40b4(0x118),'OloZM':function(_0x30b920){return _0x30b920();}};PlaywrightSessionDetails['patch']();const _0x3bd50b=CodeceptPlaywright[_0x3d40b4(0xd5)][_0x3d40b4(0xb0)];CodeceptPlaywright[_0x3d40b4(0xd5)][_0x3d40b4(0xb0)]=async function(){const _0x3d2ea6=_0x3d40b4,_0x428bea={'pncoJ':function(_0x58a866){const _0x4dd6ac=a1_0x1437;return _0x316466[_0x4dd6ac(0xb5)](_0x58a866);},'NCJBy':_0x316466[_0x3d2ea6(0xf7)]};this[_0x3d2ea6(0x109)]=await this[_0x3d2ea6(0x105)][_0x3d2ea6(0x128)]()[0x0];const _0x146247=async()=>{const _0x18de45=_0x3d2ea6,_0x45345c=this[_0x18de45(0x111)]&&this['config'][_0x18de45(0x13e)]&&this[_0x18de45(0x111)][_0x18de45(0x13e)][_0x18de45(0x166)]&&Array[_0x18de45(0x154)](this['config'][_0x18de45(0x13e)][_0x18de45(0x166)])&&this[_0x18de45(0x111)]['chromium'][_0x18de45(0x166)][_0x18de45(0x127)](_0x316466[_0x18de45(0xff)]);if(_0x316466['WLnjM'](isAccessibilityAutomationSession)&&!_0x45345c)try{const _0x2a7f64=_0x316466[_0x18de45(0x113)](parseJwt,process[_0x18de45(0x107)]['BS_A11Y_JWT']);if(_0x2a7f64&&_0x2a7f64['a11y_core_config']&&_0x2a7f64[_0x18de45(0xad)][_0x18de45(0x97)]){const _0x2ed534=this['browserContext']['pages'][_0x18de45(0xa3)](this[_0x18de45(0x109)]);this[_0x18de45(0x109)][_0x18de45(0xa6)]=async function(){const _0x59c7a4=_0x18de45,_0x138dfe=await _0x428bea[_0x59c7a4(0xe1)](_0x2ed534),_0x507aa8=[];for(const _0x241a2c of _0x138dfe){try{const _0x337366=await _0x241a2c[_0x59c7a4(0x146)]();!_0x337366[_0x59c7a4(0x10f)](_0x428bea[_0x59c7a4(0xf4)])&&_0x507aa8[_0x59c7a4(0x148)](_0x241a2c);}catch(_0x4deb2a){_0x507aa8[_0x59c7a4(0x148)](_0x241a2c);}}return _0x507aa8;};}if(!_0x316466[_0x18de45(0xb5)](isBrowserstackInfra)){const _0x15fee5=await this[_0x18de45(0x167)][_0x18de45(0x146)]();if(_0x15fee5[_0x18de45(0x10f)](_0x316466[_0x18de45(0xf7)])){const _0x584af9=await this[_0x18de45(0x109)]['pages']();this[_0x18de45(0x11b)](_0x584af9[0x0]);}}}catch(_0x5d2991){logger[_0x18de45(0xb4)](_0x18de45(0x13a)+_0x5d2991['message']+(_0x5d2991['stack']?_0x316466['fxaNW'](_0x316466[_0x18de45(0x130)],_0x5d2991[_0x18de45(0xe6)]):''));}};_0x316466[_0x3d2ea6(0xb5)](isBrowserstackInfra)&&await _0x316466[_0x3d2ea6(0x142)](_0x146247),await _0x3bd50b['apply'](this,arguments),!_0x316466[_0x3d2ea6(0x142)](isBrowserstackInfra)&&await _0x316466[_0x3d2ea6(0x142)](_0x146247);};},getCodeceptDriver=()=>{const _0x4c9b39=a1_0x402f4f,_0x46c8e6={};_0x46c8e6[_0x4c9b39(0x132)]='WebDriver',_0x46c8e6[_0x4c9b39(0x8e)]=_0x4c9b39(0xb9),_0x46c8e6[_0x4c9b39(0x8c)]=_0x4c9b39(0x12c),_0x46c8e6[_0x4c9b39(0x94)]=_0x4c9b39(0xcf);const _0x2111fa=_0x46c8e6,_0x37204c=[_0x2111fa[_0x4c9b39(0x132)],_0x2111fa[_0x4c9b39(0x8e)],_0x2111fa['zvOfS'],_0x2111fa[_0x4c9b39(0x94)]],_0x1a27eb=_0x37204c[_0x4c9b39(0xe5)](_0x3fba7d=>!!CodeceptJS[_0x4c9b39(0x8f)][_0x4c9b39(0x11f)](_0x3fba7d));if(!_0x1a27eb)return null;return CodeceptJS['container'][_0x4c9b39(0x11f)](_0x1a27eb);};function a1_0x1437(_0x49d03e,_0x1dd0a3){const _0x5da359=a1_0x5da3();return a1_0x1437=function(_0x1437fe,_0x695275){_0x1437fe=_0x1437fe-0x78;let _0x358f3d=_0x5da359[_0x1437fe];return _0x358f3d;},a1_0x1437(_0x49d03e,_0x1dd0a3);}module['exports']=function(_0x457250){const _0x5b3832=a1_0x402f4f,_0x3af5ba={'hksIi':function(_0x90d394){return _0x90d394();},'HFXGh':function(_0xf8e779,_0xc89127){return _0xf8e779(_0xc89127);},'pivTn':_0x5b3832(0xf3),'HKmIk':_0x5b3832(0x163),'FVlSv':_0x5b3832(0x115),'JmDYP':_0x5b3832(0xb7),'uldUL':function(_0x4d28ac,_0x368d26){return _0x4d28ac(_0x368d26);},'RkqJj':'hook-started','xUpQI':_0x5b3832(0x89),'VExvU':'hook-failed','RYsez':'browserstackTestName','KOzNh':function(_0x487fb2){return _0x487fb2();},'QLCbT':_0x5b3832(0xfe),'giAIQ':function(_0x3f686d,_0x5f19db){return _0x3f686d(_0x5f19db);},'gCqDJ':function(_0x14b801,_0x5b6096,_0x365278){return _0x14b801(_0x5b6096,_0x365278);},'YsYca':function(_0x4bb672,_0xf92f23){return _0x4bb672(_0xf92f23);},'JVvET':_0x5b3832(0x13b),'vxAyL':_0x5b3832(0x15d),'zGvYh':function(_0x25efbf){return _0x25efbf();},'PmLbP':function(_0x4718f4,_0x2fcecb,_0x27672b,_0x165500){return _0x4718f4(_0x2fcecb,_0x27672b,_0x165500);},'meXVr':function(_0x345044,_0xd81f66){return _0x345044===_0xd81f66;},'SFDos':_0x5b3832(0x12e),'NmSwy':_0x5b3832(0x121),'fMqHA':_0x5b3832(0x15a),'GKHZg':_0x5b3832(0xa8),'bjXYg':_0x5b3832(0xc0),'AJaoU':function(_0x5d2be7,_0x4f57b9,_0x1e1a42){return _0x5d2be7(_0x4f57b9,_0x1e1a42);},'qjJxV':_0x5b3832(0x7d),'zBYrV':_0x5b3832(0x15f),'jDRbk':_0x5b3832(0x78),'oylKL':'TEST_LOG','MOcOj':_0x5b3832(0xa5),'vHofB':_0x5b3832(0x151),'llklF':_0x5b3832(0x11e),'xZpFj':_0x5b3832(0xb9)};_0x457250['skipSessionStatus']&&(global[_0x5b3832(0x139)]=_0x457250[_0x5b3832(0x156)]);PerformanceTester[_0x5b3832(0xbc)]();const _0x59ea94=_0x3af5ba[_0x5b3832(0xf6)](getCodeceptDriver),_0x2899f2=new O11yHelper(_0x59ea94,_0x457250),_0x124f72=!!CodeceptJS[_0x5b3832(0x8f)][_0x5b3832(0x11f)](_0x3af5ba[_0x5b3832(0x88)]);global[_0x5b3832(0x14d)]=_0x59ea94,_0x59ea94&&(PerformanceTester[_0x5b3832(0x114)](PerformanceEvents[_0x5b3832(0x9f)],()=>{const _0x26604a=_0x5b3832;_0x124f72?_0x3af5ba[_0x26604a(0x117)](patchPlaywrightBefore):_0x3af5ba[_0x26604a(0x137)](patchWebDriverBefore,_0x59ea94);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x5b3832(0xac)],()=>{const _0x7d2902=_0x5b3832,_0x31cc85={};_0x31cc85[_0x7d2902(0x12d)]=_0x3af5ba[_0x7d2902(0xb6)],_0x31cc85[_0x7d2902(0xfc)]=_0x3af5ba[_0x7d2902(0x122)],_0x31cc85[_0x7d2902(0x155)]=_0x3af5ba['FVlSv'],_0x31cc85[_0x7d2902(0x11a)]=_0x3af5ba['JmDYP'];const _0x1d7236=_0x31cc85;_0x59ea94[_0x7d2902(0xf3)]=async()=>{const _0x518079=_0x7d2902;if(global['accessibilityPlatform']){const _0x13b590={};return _0x13b590[_0x518079(0x12a)]=_0x1d7236[_0x518079(0x12d)],await PerformanceTester[_0x518079(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x340704=_0x518079;return await AccessibilityHelper[_0x340704(0x175)](_0x59ea94,scripts['performScan']);},_0x13b590)(),await PerformanceTester[_0x518079(0x114)](PerformanceA11yEvents[_0x518079(0x171)],async()=>{const _0x2f5bc4=_0x518079;return await AccessibilityHelper[_0x2f5bc4(0x175)](_0x59ea94,scripts['getResultsSummary']);})();}return logger['warn'](_0x1d7236[_0x518079(0xfc)]),{};},_0x59ea94[_0x7d2902(0x115)]=async()=>{const _0x2eba0a=_0x7d2902;if(global[_0x2eba0a(0x81)]){const _0x4779a9={};return _0x4779a9['command']=_0x1d7236[_0x2eba0a(0x155)],await PerformanceTester[_0x2eba0a(0x114)](PerformanceA11yEvents[_0x2eba0a(0x10d)],async()=>{const _0x5482e2=_0x2eba0a;return await AccessibilityHelper[_0x5482e2(0x175)](_0x59ea94,scripts['performScan']);},_0x4779a9)(),await PerformanceTester[_0x2eba0a(0x114)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x4bb895=_0x2eba0a;return await AccessibilityHelper[_0x4bb895(0x175)](_0x59ea94,scripts[_0x4bb895(0xdf)]);})();}return logger[_0x2eba0a(0xfd)](_0x1d7236[_0x2eba0a(0x11a)]),{};},_0x3af5ba[_0x7d2902(0x16e)](patchSaveScreenshot,_0x59ea94);})()),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['all'][_0x5b3832(0xcc)],()=>{const _0x1d9721=_0x5b3832;PerformanceTester[_0x1d9721(0x15c)](PerformanceEvents[_0x1d9721(0xba)]);try{_0x2899f2[_0x1d9721(0x15c)](),testOpsHelper[_0x1d9721(0x133)](),PerformanceTester[_0x1d9721(0x96)](PerformanceEvents[_0x1d9721(0xba)]);}catch(_0x50641d){PerformanceTester['captureError'](_0x50641d),PerformanceTester[_0x1d9721(0x96)](PerformanceEvents[_0x1d9721(0xba)],![],_0x50641d);}}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0xe8)][_0x5b3832(0x126)],async()=>{const _0x3e511a=_0x5b3832;PerformanceTester[_0x3e511a(0x15c)](PerformanceEvents[_0x3e511a(0x135)]);try{requestSpy[_0x3e511a(0x99)](),await _0x2899f2[_0x3e511a(0x160)](),PerformanceTester[_0x3e511a(0x96)](PerformanceEvents[_0x3e511a(0x135)]);}catch(_0x4857b3){PerformanceTester[_0x3e511a(0x101)](_0x4857b3),PerformanceTester[_0x3e511a(0x96)](PerformanceEvents['SDK_POST_TEST'],![],_0x4857b3);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0x16c)][_0x5b3832(0xe7)],_0x2b1cb7=>{const _0xbf210a=_0x5b3832;PerformanceTester[_0xbf210a(0x15c)](PerformanceEvents[_0xbf210a(0xec)]);try{const _0x43bda2=_0x2b1cb7[_0xbf210a(0x8a)][_0xbf210a(0x9b)],_0x3e8bc7=_0x2899f2[_0xbf210a(0x9d)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x43bda2);CodeceptRecorder[_0xbf210a(0xb1)](()=>_0x2899f2[_0xbf210a(0xdc)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3e8bc7));const _0x1397b5={};_0x1397b5[_0xbf210a(0x84)]=_0x3af5ba[_0xbf210a(0x14e)],PerformanceTester[_0xbf210a(0x96)](PerformanceEvents['SDK_HOOK'],!![],null,_0x1397b5);}catch(_0x3f1c7c){const _0x3232e9={};_0x3232e9[_0xbf210a(0x84)]=_0x3af5ba['RkqJj'],PerformanceTester[_0xbf210a(0x96)](PerformanceEvents[_0xbf210a(0xec)],![],_0x3f1c7c,_0x3232e9),PerformanceTester[_0xbf210a(0x101)](_0x3f1c7c);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['hook'][_0x5b3832(0x82)],_0x279030=>{const _0x23544a=_0x5b3832,_0x5bc6e9={};_0x5bc6e9[_0x23544a(0x84)]=_0x3af5ba[_0x23544a(0x178)],PerformanceTester[_0x23544a(0x15c)](PerformanceHookEvents[_0x23544a(0xec)],!![],null,_0x5bc6e9);try{const _0x171d0d=_0x279030['ctx'][_0x23544a(0x9b)],_0x39bc14=_0x2899f2['captureEvent'](TEST_EVENTS[_0x23544a(0x11d)],_0x171d0d);CodeceptRecorder[_0x23544a(0xb1)](()=>_0x2899f2['fireEvent'](TEST_EVENTS[_0x23544a(0x11d)],_0x39bc14));const _0x566a7e={};_0x566a7e[_0x23544a(0x84)]=_0x3af5ba['xUpQI'],PerformanceTester[_0x23544a(0x96)](PerformanceHookEvents[_0x23544a(0xec)],!![],null,_0x566a7e);}catch(_0xf77e90){PerformanceTester[_0x23544a(0x101)](_0xf77e90);const _0x3e78bd={};_0x3e78bd[_0x23544a(0x84)]=_0x3af5ba[_0x23544a(0x178)],PerformanceTester['end'](PerformanceHookEvents[_0x23544a(0xec)],![],_0xf77e90,_0x3e78bd);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['hook'][_0x5b3832(0xc1)],async(_0xfa20c3,_0x3bd65c)=>{const _0x23bad3=_0x5b3832;PerformanceTester[_0x23bad3(0x15c)](PerformanceHookEvents[_0x23bad3(0xec)]);try{const _0x497076=_0xfa20c3[_0x23bad3(0x8a)][_0x23bad3(0x9b)],_0x5b5a3b=_0x2899f2[_0x23bad3(0x9d)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x497076,_0x3bd65c);CodeceptRecorder['add'](()=>_0x2899f2[_0x23bad3(0xdc)](TEST_EVENTS[_0x23bad3(0x11d)],_0x5b5a3b));const _0x4a6f33={};_0x4a6f33[_0x23bad3(0x84)]=_0x3af5ba['VExvU'],PerformanceTester[_0x23bad3(0x15c)](PerformanceHookEvents[_0x23bad3(0xec)],!![],null,_0x4a6f33);}catch(_0x5d7006){PerformanceTester[_0x23bad3(0x101)](_0x5d7006);const _0x5390dc={};_0x5390dc[_0x23bad3(0x84)]=_0x3af5ba['VExvU'],PerformanceTester[_0x23bad3(0x96)](PerformanceHookEvents[_0x23bad3(0xec)],![],_0x5d7006,_0x5390dc);}const _0x5d3b80={};_0x5d3b80['hookType']=_0x3af5ba[_0x23bad3(0x14c)],PerformanceTester[_0x23bad3(0x96)](PerformanceHookEvents[_0x23bad3(0xec)],!![],null,_0x5d3b80);}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['before'],_0x335480=>{const _0x269f0c=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x3af5ba[_0x269f0c(0xc6)],_0x335480['title']);_0x3af5ba[_0x269f0c(0xe9)](isBrowserstackInfra)&&(_0x124f72&&(global[_0x269f0c(0xdb)]={'currentTest':{'name':_0x335480[_0x269f0c(0x102)],'testInfo':{'titlePath':_0x335480[_0x269f0c(0xa9)]()}}}));const _0x19f7e1={};_0x19f7e1[_0x269f0c(0x84)]=_0x3af5ba[_0x269f0c(0x15b)],PerformanceTester[_0x269f0c(0x96)](PerformanceHookEvents[_0x269f0c(0xec)],!![],null,_0x19f7e1);}catch(_0x540cdf){PerformanceTester[_0x269f0c(0x101)](_0x540cdf);const _0x57f884={};_0x57f884['hookType']=_0x3af5ba[_0x269f0c(0x15b)],PerformanceTester[_0x269f0c(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0x540cdf,_0x57f884);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0x9b)][_0x5b3832(0xe7)],_0x4a4eb9=>{const _0x5bb864=_0x5b3832,_0x3162bf={'yCyVF':function(_0x47a808){const _0x453213=a1_0x1437;return _0x3af5ba[_0x453213(0xe9)](_0x47a808);},'UPSDI':function(_0x2db608,_0x4e364d){return _0x3af5ba['giAIQ'](_0x2db608,_0x4e364d);},'LTzdA':function(_0x20d6b3,_0x3b66e4,_0x27d936){const _0x58fb66=a1_0x1437;return _0x3af5ba[_0x58fb66(0xe4)](_0x20d6b3,_0x3b66e4,_0x27d936);},'eyRiI':function(_0x1a6593,_0x53a876){const _0x563c9d=a1_0x1437;return _0x3af5ba[_0x563c9d(0x147)](_0x1a6593,_0x53a876);}};PerformanceTester[_0x5bb864(0x15c)](PerformanceHookEvents[_0x5bb864(0xec)]);try{globals['setGlobal'](_0x3af5ba[_0x5bb864(0xc6)],_0x4a4eb9[_0x5bb864(0x102)]);const _0x3c0bdf=_0x2899f2['captureEvent'](TEST_EVENTS[_0x5bb864(0xd2)],_0x4a4eb9);CodeceptRecorder['add'](()=>_0x2899f2[_0x5bb864(0xdc)](TEST_EVENTS[_0x5bb864(0xd2)],_0x3c0bdf)),CodeceptRecorder[_0x5bb864(0xb1)](async()=>{const _0x3ec885=_0x5bb864;_0x3162bf[_0x3ec885(0xd8)](isBrowserstackInfra)&&(!_0x3162bf[_0x3ec885(0xe2)](isTrue,_0x457250[_0x3ec885(0x12f)])&&await _0x3162bf[_0x3ec885(0xed)](markSessionName,_0x59ea94,_0x4a4eb9[_0x3ec885(0x102)]),_0x2899f2[_0x3ec885(0x13d)]&&await _0x3162bf[_0x3ec885(0x9c)](o11ySync,_0x59ea94));});}catch(_0x45aa2e){const _0x3ed899={};_0x3ed899[_0x5bb864(0x84)]=_0x3af5ba['JVvET'],PerformanceTester['end'](PerformanceHookEvents[_0x5bb864(0xec)],![],_0x45aa2e,_0x3ed899),PerformanceTester['captureError'](_0x45aa2e);}const _0x215fc0={};_0x215fc0[_0x5bb864(0x84)]=_0x3af5ba[_0x5bb864(0x90)],PerformanceTester[_0x5bb864(0x96)](PerformanceHookEvents[_0x5bb864(0xec)],!![],null,_0x215fc0);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['passed'],_0x58c31e=>{const _0x3608d4=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents[_0x3608d4(0xec)]);try{const _0x1805c7=_0x2899f2[_0x3608d4(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x58c31e);CodeceptRecorder[_0x3608d4(0xb1)](()=>_0x2899f2[_0x3608d4(0xdc)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1805c7)),CodeceptRecorder[_0x3608d4(0xb1)](async()=>{const _0x110694=_0x3608d4,_0xd9db03={'VtgDw':function(_0x1d9b0d,_0x39c689,_0x10632f){const _0x2e61c9=a1_0x1437;return _0x3af5ba[_0x2e61c9(0xe4)](_0x1d9b0d,_0x39c689,_0x10632f);}};_0x3af5ba[_0x110694(0xe9)](isBrowserstackInfra)&&await PerformanceTester[_0x110694(0x114)](PerformanceAutEvents[_0x110694(0x172)],async()=>{const _0xc24180=_0x110694;_0x124f72?await _0xd9db03['VtgDw'](playwrightMarkSessionStatus,_0x59ea94,STATE_PASSED):await _0xd9db03[_0xc24180(0xeb)](markSessionStatus,_0x59ea94,STATE_PASSED);})();}),PerformanceTester[_0x3608d4(0x96)](PerformanceEvents['SDK_TEST']);}catch(_0x463149){PerformanceTester[_0x3608d4(0x101)](_0x463149);const _0x413ed6={};_0x413ed6['hookType']=_0x3af5ba['vxAyL'],PerformanceTester['end'](PerformanceHookEvents[_0x3608d4(0xec)],![],_0x463149,_0x413ed6),PerformanceTester[_0x3608d4(0x96)](PerformanceEvents[_0x3608d4(0xc9)],![],_0x463149);}const _0x1eebc6={};_0x1eebc6[_0x3608d4(0x84)]=_0x3af5ba['vxAyL'],PerformanceTester[_0x3608d4(0x96)](PerformanceHookEvents[_0x3608d4(0xec)],!![],null,_0x1eebc6);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['failed'],(_0x2e3f8b,_0x5e59d9)=>{const _0x8e70fe=_0x5b3832,_0x34c9b8={'Iawhy':function(_0x5222e7){return _0x3af5ba['zGvYh'](_0x5222e7);},'gqOhk':function(_0x4beeb7,_0x266d26,_0x29ed66,_0x222df9){const _0x3c6003=a1_0x1437;return _0x3af5ba[_0x3c6003(0x91)](_0x4beeb7,_0x266d26,_0x29ed66,_0x222df9);},'RKVSV':function(_0x435600,_0x16fcb1,_0x1c6508,_0x4974b9){return _0x3af5ba['PmLbP'](_0x435600,_0x16fcb1,_0x1c6508,_0x4974b9);}};PerformanceTester[_0x8e70fe(0x15c)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3af5ba[_0x8e70fe(0x106)](_0x2e3f8b[_0x8e70fe(0x125)][_0x8e70fe(0x7b)],_0x3af5ba[_0x8e70fe(0x164)])){const _0x19f184=_0x2899f2['captureEvent'](TEST_EVENTS[_0x8e70fe(0x83)],_0x2e3f8b[_0x8e70fe(0x8a)][_0x8e70fe(0xcd)]);CodeceptRecorder[_0x8e70fe(0xb1)](()=>_0x2899f2[_0x8e70fe(0xdc)](TEST_EVENTS[_0x8e70fe(0x83)],_0x19f184));}else{const _0x248134=_0x2899f2[_0x8e70fe(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2e3f8b,_0x5e59d9);CodeceptRecorder[_0x8e70fe(0xb1)](()=>{const _0x503ab8=_0x8e70fe;try{_0x2899f2['fireEvent'](TEST_EVENTS[_0x503ab8(0x92)],_0x248134);}catch(_0x13c495){logger['debug'](_0x503ab8(0x143)+util[_0x503ab8(0xd9)](_0x13c495)),PerformanceTester[_0x503ab8(0x96)](PerformanceEvents[_0x503ab8(0xc9)],![],_0x13c495);}}),CodeceptRecorder['add'](async()=>{const _0x428aa9=_0x8e70fe;try{_0x34c9b8[_0x428aa9(0xc2)](isBrowserstackInfra)&&(_0x124f72?await _0x34c9b8[_0x428aa9(0x13c)](playwrightMarkSessionStatus,_0x59ea94,STATE_FAILED,_0x5e59d9):await _0x34c9b8[_0x428aa9(0x173)](markSessionStatus,_0x59ea94,STATE_FAILED,_0x5e59d9));}catch(_0x5854b8){logger[_0x428aa9(0xb4)](_0x428aa9(0x170)+util[_0x428aa9(0xd9)](_0x5854b8)),PerformanceTester[_0x428aa9(0x96)](PerformanceEvents[_0x428aa9(0xc9)],![],_0x5854b8);}});}PerformanceTester[_0x8e70fe(0x96)](PerformanceEvents['SDK_TEST']);}catch(_0x4f0fde){PerformanceTester[_0x8e70fe(0x101)](_0x4f0fde);const _0x1ff780={};_0x1ff780[_0x8e70fe(0x84)]=_0x3af5ba[_0x8e70fe(0xc5)],PerformanceTester[_0x8e70fe(0x96)](PerformanceHookEvents[_0x8e70fe(0xec)],![],_0x4f0fde,_0x1ff780),PerformanceTester[_0x8e70fe(0x96)](PerformanceEvents[_0x8e70fe(0xc9)],![],_0x4f0fde);}const _0x2eddd3={};_0x2eddd3[_0x8e70fe(0x84)]=_0x3af5ba[_0x8e70fe(0xc5)],PerformanceTester[_0x8e70fe(0x96)](PerformanceHookEvents[_0x8e70fe(0xec)],!![],null,_0x2eddd3);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)][_0x5b3832(0x7f)],_0x4a0a32=>{const _0x4a2b5d=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents[_0x4a2b5d(0xec)]);try{const _0x11902e=_0x2899f2[_0x4a2b5d(0x9d)](TEST_EVENTS[_0x4a2b5d(0x83)],_0x4a0a32);CodeceptRecorder['add'](()=>_0x2899f2[_0x4a2b5d(0xdc)](TEST_EVENTS[_0x4a2b5d(0x83)],_0x11902e)),PerformanceTester['end'](PerformanceEvents[_0x4a2b5d(0xc9)]);}catch(_0x10a2b9){PerformanceTester[_0x4a2b5d(0x101)](_0x10a2b9),PerformanceTester[_0x4a2b5d(0x96)](PerformanceEvents[_0x4a2b5d(0xc9)],![],_0x10a2b9);const _0x45ec55={};_0x45ec55[_0x4a2b5d(0x84)]=_0x3af5ba[_0x4a2b5d(0xfb)],PerformanceTester[_0x4a2b5d(0x96)](PerformanceHookEvents[_0x4a2b5d(0xec)],![],_0x10a2b9,_0x45ec55);}const _0x38d1d2={};_0x38d1d2[_0x4a2b5d(0x84)]=_0x3af5ba[_0x4a2b5d(0xfb)],PerformanceTester[_0x4a2b5d(0x96)](PerformanceHookEvents[_0x4a2b5d(0xec)],!![],null,_0x38d1d2);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)][_0x5b3832(0x126)],async(_0x5d2001,_0x3a7095)=>{const _0x215ed5=_0x5b3832;try{PerformanceTester[_0x215ed5(0x15c)](PerformanceHookEvents[_0x215ed5(0xec)]);const _0x3fcd5c=_0x3af5ba[_0x215ed5(0xde)](shouldScanTestForAccessibility,_0x5d2001[_0x215ed5(0xa9)](),!![]);if(_0x3af5ba['hksIi'](isAccessibilityAutomationSession)&&global[_0x215ed5(0x81)]&&_0x3fcd5c){const _0x4f39fc={};_0x4f39fc[_0x215ed5(0x14a)]=_0x5d2001[_0x215ed5(0xa2)],_0x4f39fc['thBuildUuid']=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x4f39fc[_0x215ed5(0x80)]=process[_0x215ed5(0x107)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4b0d3b=_0x4f39fc;logger['debug'](_0x215ed5(0xc8)+JSON[_0x215ed5(0xf5)](_0x4b0d3b)),CodeceptRecorder[_0x215ed5(0xb1)](async()=>{const _0x4565ff=_0x215ed5,_0x3643cb={};_0x3643cb[_0x4565ff(0x12a)]=_0x3af5ba[_0x4565ff(0x104)],await PerformanceTester[_0x4565ff(0x114)](PerformanceA11yEvents[_0x4565ff(0x10d)],async()=>{const _0x39fec7=_0x4565ff;await AccessibilityHelper[_0x39fec7(0x175)](_0x59ea94,scripts[_0x39fec7(0x110)]);},_0x3643cb)(),globals[_0x4565ff(0x17a)](_0x3af5ba['bjXYg'])&&(_0x4b0d3b[_0x4565ff(0xe3)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x8a8407=_0x4565ff;await AccessibilityHelper[_0x8a8407(0x175)](_0x59ea94,scripts[_0x8a8407(0x8d)],_0x4b0d3b);})();}),logger[_0x215ed5(0x11c)](_0x3af5ba[_0x215ed5(0x161)]);}const _0x45b99c={};_0x45b99c['hookType']=_0x3af5ba[_0x215ed5(0x85)],PerformanceTester[_0x215ed5(0x96)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x45b99c);}catch(_0x8cbab1){PerformanceTester[_0x215ed5(0x101)](_0x8cbab1);const _0x5931e6={};_0x5931e6[_0x215ed5(0x84)]=_0x3af5ba['zBYrV'],PerformanceTester[_0x215ed5(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0x8cbab1,_0x5931e6);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0xf9)]['comment'],_0x132b73=>{const _0x3bfff1=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{process[_0x3bfff1(0xfa)](_0x3bfff1(0xd0)+process[_0x3bfff1(0xd7)],{'timestamp':new Date()[_0x3bfff1(0xb3)](),'level':_0x3af5ba[_0x3bfff1(0xab)],'message':_0x132b73,'kind':_0x3af5ba[_0x3bfff1(0x177)],'http_response':{}});}catch(_0xd25fe1){PerformanceTester[_0x3bfff1(0x101)](_0xd25fe1);const _0x466f13={};_0x466f13[_0x3bfff1(0x84)]=_0x3af5ba[_0x3bfff1(0x14b)],PerformanceTester[_0x3bfff1(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0xd25fe1,_0x466f13);}const _0x219691={};_0x219691[_0x3bfff1(0x84)]=_0x3af5ba[_0x3bfff1(0x14b)],PerformanceTester['end'](PerformanceHookEvents[_0x3bfff1(0xec)],!![],null,_0x219691);}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x119)][_0x5b3832(0xcc)],_0x184ae0=>{const _0x848f85=_0x5b3832,_0x26c963={};_0x26c963['hookType']=_0x3af5ba[_0x848f85(0x100)],PerformanceTester[_0x848f85(0x114)](PerformanceHookEvents[_0x848f85(0xec)],()=>{const _0x5bd53b=_0x848f85;_0x2899f2[_0x5bd53b(0x108)](_0x184ae0);},_0x26c963)();}),CodeceptJS[_0x5b3832(0xda)]['dispatcher']['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x119)]['after'],_0x4c9519=>{const _0x2f889b=_0x5b3832,_0x329ec4={};_0x329ec4[_0x2f889b(0x84)]=_0x3af5ba['llklF'],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x573071=_0x2f889b;_0x2899f2[_0x573071(0xbf)](_0x4c9519);},_0x329ec4)();});};
1
+ function a1_0x4d0c(_0x179286,_0x277325){const _0x5ed259=a1_0x5ed2();return a1_0x4d0c=function(_0x4d0c5d,_0x306ca3){_0x4d0c5d=_0x4d0c5d-0x14d;let _0x4d9e08=_0x5ed259[_0x4d0c5d];return _0x4d9e08;},a1_0x4d0c(_0x179286,_0x277325);}const a1_0x4b3b56=a1_0x4d0c;function a1_0x5ed2(){const _0x3bda73=['Jjbjs','pages','test-failed','vTXlF','startsWith','restore','currentTest','accessibilityPlatform','stop','TEST_RUN_SKIPPED','ImzSx','warn','../../helpers/globals.js','SESSION_NAME','BROWSERSTACK_TESTHUB_JWT','emit','jGsbo','WrsMk','stack','uADcl','_before','fhxqK','arguments','saveScreenshot','SAVE_RESULTS','test-started','GET_RESULTS_SUMMARY','ebHvH','RKzUi','246856dFZXCS','test-skipped','HOOK_RUN_FINISHED','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','base64','bufferPendingHookEvent','ctx','XCNOn','codeceptjs/lib/index.js','action','GGloj','push','Playwright','args','FISJG','xAdsv','pxvNs','mqyKv','format','WebDriver','bddStepStart','vOVOK','ljMLq','helpers','enabled','executeScript','end','VZrfV','6jSQpSt','BVUiu','150ckNdEb','ZjQEL','DraII','test','fireEvent','BROWSERSTACK_TESTHUB_UUID','WTGdm','../../helpers/logger','lRFzl','HOOK_RUN_STARTED','mzZIn','bs:addLog:','getSyncScript','screenshotOutputFolder','_setPage','status','mwsUf','patch','XhDql','mSPvd','comment','ENV_VAR','skipSessionStatus','ByMtI','oXRLE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','2085588AVYOwc','winstonLogger','AeNoK','tUeAb','../../helpers/request-spy','chromium','wwviW','haByF','titlePath','hookType','isMobilePlatform','unyHs','../../helpers/test-observability/utils','../../helpers/accessibility-automation/scripts','name','3083322tdJcyM','thTestRunUuid','passed','Gjitw','hiJdc','stringify','performScan','LruNs','browserStackExecuteDriver','codeceptjs','SDK_PRE_TEST','hook-started','flushPendingHookEvents','shouldWrapCommand','TEST_LOG','jJCRu','NtXvq','overwriteCommand','Screenshot\x20path\x20not\x20found','codeceptjs/lib/recorder.js','debug','test-after','SDK_TEST','started','RtYvg','WngaZ','OIIlS','test-before','Puppeteer','aHOXs','getAccessibilityResultsSummary','version','4536707YQuPDu','Yfdmt','getAccessibilityResults','\x0aStack:\x20','TeuKl','failed','after','DJpCt','measureWrapper','TestCafe','command','dispatcher','Failed\x20to\x20execute\x20_before:\x20','iHzvD','start','jGTry','bddStep-before','TEST_RUN_FINISHED','ZEaZF','VLVpf','SDK_POST_TEST','title','zISCn','fqvHA','event','forEach','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','82270lqXIvT','includes','util','uNQGw','getGlobal','SDK_HOOK','add','GBTOX','./helper.js','../../helpers/testhub/constants.js','hook','step','3682048ZbFATS','domForge','getResultsSummary','--auto-open-devtools-for-tabs','contexts','function','bddStepFinish','test-passed','reason','find','1884951TzThby','SYNC','before','irzFB','devtools://','Performing\x20scan\x20for\x20','saveTestResults','addRequestSpy','ZNEyk','thJwtToken','bind','opYZh','toString','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','constructor','../../helpers/performance/performance-tester','dzqXC','IJeCI','__skipSessionStatus','DLQIV','slice','toISOString','apply','isArray','a11y_core_config','RYwGK','captureEvent','GET_RESULTS','35sBweFn','MsTBB','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','url','class','hook-failed','codeceptjs/lib/utils.js','patchSaveScreenshot','hglSU','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','exports','Element','page','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../bin/playwright/sessionDetails','NePun','HHrjP','__workerDetails','JpqkT','FVHwh','readFileSync','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','pid','PFdLH','captureError','tplZb','filter','stopMonitoring','FRAMEWORK_DETAILS','from','xvXQk','bstackAllyScanning','BS_A11Y_JWT','setSessionName','container','TEST_RUN_STARTED','bXBFz','setSessionStatus','PERFORM_SCAN','env','config','browserContext','all','afterTest','browser','PQYMr','YffsA','parse','bddStep-after','prototype','testFramework','thBuildUuid','browserstack_executor:\x20','testAnalyticsId','hook-passed','INFO','NCgQh','CmIsy','SywMW','call','initSaveScreenshot'];a1_0x5ed2=function(){return _0x3bda73;};return a1_0x5ed2();}(function(_0x2f7f79,_0x389364){const _0x4b72be=a1_0x4d0c,_0x294ae2=_0x2f7f79();while(!![]){try{const _0x5e9add=parseInt(_0x4b72be(0x21b))/0x1+parseInt(_0x4b72be(0x1d1))/0x2+parseInt(_0x4b72be(0x1e0))/0x3+-parseInt(_0x4b72be(0x199))/0x4*(-parseInt(_0x4b72be(0x24d))/0x5)+parseInt(_0x4b72be(0x1b5))/0x6*(parseInt(_0x4b72be(0x200))/0x7)+parseInt(_0x4b72be(0x227))/0x8+-parseInt(_0x4b72be(0x231))/0x9*(parseInt(_0x4b72be(0x1b7))/0xa);if(_0x5e9add===_0x389364)break;else _0x294ae2['push'](_0x294ae2['shift']());}catch(_0x103607){_0x294ae2['push'](_0x294ae2['shift']());}}}(a1_0x5ed2,0x86ab8));const fs=require('fs'),util=require(a1_0x4b3b56(0x21d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4b3b56(0x1be))[a1_0x4b3b56(0x1d2)],testOpsHelper=require(a1_0x4b3b56(0x1dd)),requestSpy=require(a1_0x4b3b56(0x1d5)),PlaywrightSessionDetails=require(a1_0x4b3b56(0x14d)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x4b3b56(0x1de)),PerformanceTester=require(a1_0x4b3b56(0x240)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4b3b56(0x223)),testHubConstants=require(a1_0x4b3b56(0x224)),globals=require(a1_0x4b3b56(0x188)),CodeceptJS=requireModule(a1_0x4b3b56(0x1a1),'codeceptjs'),CodeceptUtils=requireModule(a1_0x4b3b56(0x253),a1_0x4b3b56(0x1e9)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule(a1_0x4b3b56(0x1f3),a1_0x4b3b56(0x1e9)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x4b3b56(0x1e9)),playwrightMarkSessionStatus=(_0x2481b6,_0x5bb6f1,_0x1c85d9)=>{const _0x32d57e=a1_0x4b3b56,_0x5b170a={'cZCGt':_0x32d57e(0x164),'itJMR':function(_0x553b04,_0x19b147){return _0x553b04(_0x19b147);}},_0x28814f={};_0x28814f[_0x32d57e(0x1c6)]=_0x5bb6f1;const _0xd587c8={};_0xd587c8[_0x32d57e(0x1a2)]=_0x5b170a['cZCGt'],_0xd587c8['arguments']=_0x28814f;const _0xf4017=_0xd587c8;return!_0x5b170a['itJMR'](isUndefined,_0x1c85d9)&&(_0xf4017['arguments'][_0x32d57e(0x22f)]=JSON[_0x32d57e(0x1e5)](_0x1c85d9)),_0x2481b6['executeScript'](()=>{},_0x32d57e(0x173)+JSON['stringify'](_0xf4017));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x4b3b56(0x232)],async _0x445b83=>{const _0x3baaae=a1_0x4b3b56,_0x3645fe={};_0x3645fe[_0x3baaae(0x1dc)]=function(_0x170cc1,_0x15812f){return _0x170cc1===_0x15812f;},_0x3645fe['bbUPY']=_0x3baaae(0x1a5);const _0x23e408=_0x3645fe;_0x23e408[_0x3baaae(0x1dc)](_0x445b83[_0x3baaae(0x23f)][_0x3baaae(0x1df)],_0x23e408['bbUPY'])?await _0x445b83['executeScript'](_0x621881=>{},testOpsHelper[_0x3baaae(0x1c3)]()):await _0x445b83['executeScript'](testOpsHelper[_0x3baaae(0x1c3)]());}),markSessionName=PerformanceTester[a1_0x4b3b56(0x208)](PerformanceAutEvents[a1_0x4b3b56(0x189)],async(_0x130400,_0x35538f)=>{const _0x5107c1=a1_0x4b3b56,_0x571f49={};_0x571f49[_0x5107c1(0x239)]=_0x5107c1(0x160),_0x571f49[_0x5107c1(0x1b9)]=function(_0x10f083,_0xa36d98){return _0x10f083===_0xa36d98;},_0x571f49[_0x5107c1(0x20f)]=_0x5107c1(0x1a5);const _0x1eaaf2=_0x571f49,_0xe21f3f={};_0xe21f3f['name']=_0x35538f;const _0x35b6b6={};_0x35b6b6[_0x5107c1(0x1a2)]=_0x1eaaf2[_0x5107c1(0x239)],_0x35b6b6[_0x5107c1(0x192)]=_0xe21f3f;const _0x440d30=_0x35b6b6;_0x1eaaf2[_0x5107c1(0x1b9)](_0x130400['constructor'][_0x5107c1(0x1df)],_0x1eaaf2['jGTry'])?await _0x130400[_0x5107c1(0x1b2)](()=>{},_0x5107c1(0x173)+JSON[_0x5107c1(0x1e5)](_0x440d30)):await _0x130400[_0x5107c1(0x1b2)]('browserstack_executor:\x20'+JSON[_0x5107c1(0x1e5)](_0x440d30));}),patchSaveScreenshot=_0x593a08=>{const _0x1b96eb=a1_0x4b3b56,_0x466c76={'eAJAW':'base64','TljXB':'TEST_SCREENSHOT','RKzUi':function(_0x49141c){return _0x49141c();},'uNQGw':function(_0x456aa6,_0x23c88d){return _0x456aa6(_0x23c88d);},'XCNOn':_0x1b96eb(0x1f2),'ByMtI':function(_0x5412b4,_0x42b868){return _0x5412b4(_0x42b868);}};_0x466c76[_0x1b96eb(0x1ce)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x593a08['patchSaveScreenshot']&&(_0x593a08[_0x1b96eb(0x254)]=!![],_0x593a08[_0x1b96eb(0x17b)]=_0x593a08['saveScreenshot'],_0x593a08[_0x1b96eb(0x193)]=(_0xf73f1d,_0x38ff68=![])=>{const _0x2a9651=_0x1b96eb,_0x18679a={'iHzvD':_0x466c76['eAJAW'],'dzqXC':_0x466c76['TljXB'],'vOVOK':function(_0x36d235){const _0x17d0dd=a1_0x4d0c;return _0x466c76[_0x17d0dd(0x198)](_0x36d235);},'PHSit':function(_0x12e8f8,_0x26cc46){const _0x47fe48=a1_0x4d0c;return _0x466c76[_0x47fe48(0x21e)](_0x12e8f8,_0x26cc46);},'FISJG':_0x466c76[_0x2a9651(0x1a0)]};return new Promise(function(_0x1775ee,_0x58c128){const _0x2a0180=_0x2a9651;_0x593a08[_0x2a0180(0x17b)](_0xf73f1d,_0x38ff68)['then'](()=>{const _0x1aa91a=_0x2a0180,_0x5ec604=CodeceptUtils[_0x1aa91a(0x1c4)](_0xf73f1d);if(_0x5ec604){const _0x2d04be=fs[_0x1aa91a(0x153)](_0x5ec604);process[_0x1aa91a(0x18b)](_0x1aa91a(0x1c2)+process[_0x1aa91a(0x155)],{'timestamp':new Date()[_0x1aa91a(0x246)](),'message':_0x2d04be['toString'](_0x18679a[_0x1aa91a(0x20d)]),'kind':_0x18679a[_0x1aa91a(0x241)]}),_0x18679a[_0x1aa91a(0x1ae)](_0x1775ee);}_0x18679a['PHSit'](_0x58c128,new Error(_0x18679a[_0x1aa91a(0x1a7)]));})['catch'](()=>null);});});},patchWebDriverBefore=(_0x27e12a,_0x2e411e)=>{const _0x1ccf1f=a1_0x4b3b56,_0xa02534={'irzFB':function(_0x45bf74){return _0x45bf74();},'bXBFz':function(_0x25b2e4,_0x441764){return _0x25b2e4(_0x441764);},'WngaZ':function(_0x2ed95e,_0x1cbd50){return _0x2ed95e===_0x1cbd50;},'xvXQk':'webdriverio','hglSU':function(_0xdea109,_0x194a02){return _0xdea109===_0x194a02;},'mqyKv':'string','mzZIn':_0x1ccf1f(0x258),'jJCRu':_0x1ccf1f(0x22c)},_0x13dd2b=async function(_0x483780,_0x4763f4){const _0x1b2187=_0x1ccf1f;_0xa02534[_0x1b2187(0x234)](isAccessibilityAutomationSession)&&!global[_0x1b2187(0x15e)]&&global['accessibilityPlatform']&&scripts[_0x1b2187(0x1ed)](_0x483780[_0x1b2187(0x1df)])&&_0xa02534[_0x1b2187(0x163)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1b2187(0x165)],async()=>{const _0x5c008e=_0x1b2187;logger[_0x5c008e(0x1f4)](_0x5c008e(0x236)+_0x483780[_0x5c008e(0x251)]+'\x20'+_0x483780[_0x5c008e(0x1df)]),await AccessibilityHelper[_0x5c008e(0x1e8)](_0x27e12a,scripts['performScan']);},{'command':_0x483780[_0x1b2187(0x1df)]})());global[_0x1b2187(0x15e)]=![];const _0x81ef97=JSON['parse'](process[_0x1b2187(0x166)][_0x1b2187(0x15b)]||'{}');if(_0xa02534[_0x1b2187(0x1f9)](_0x81ef97?.[_0x1b2187(0x171)]?.[_0x1b2187(0x1df)],_0xa02534[_0x1b2187(0x15d)])&&_0xa02534[_0x1b2187(0x255)](typeof _0x81ef97?.['testFramework']?.[_0x1b2187(0x1ff)],_0xa02534[_0x1b2187(0x1aa)])&&_0x81ef97?.[_0x1b2187(0x171)]?.['version'][_0x1b2187(0x180)]('7'))return _0x4763f4[_0x1b2187(0x247)](null,Array['prototype'][_0x1b2187(0x245)][_0x1b2187(0x17a)](arguments,0x2));return _0x4763f4[_0x1b2187(0x247)](this,Array[_0x1b2187(0x170)]['slice'][_0x1b2187(0x17a)](arguments,0x2));},_0x194374=CodeceptWebDriver[_0x1ccf1f(0x170)][_0x1ccf1f(0x190)];CodeceptWebDriver['prototype'][_0x1ccf1f(0x190)]=async function(){const _0x2f7540=_0x1ccf1f;try{await _0x194374['apply'](this,arguments);}catch(_0x492123){logger['debug'](_0x2f7540(0x20c)+util[_0x2f7540(0x1ab)](_0x492123));}scripts['commandsToWrap'][_0x2f7540(0x159)](_0x596eaf=>_0x596eaf[_0x2f7540(0x1df)]&&_0x596eaf[_0x2f7540(0x251)])[_0x2f7540(0x219)](_0x5d9eaf=>{const _0x3acbd6=_0x2f7540;this[_0x3acbd6(0x16b)][_0x3acbd6(0x1f1)](_0x5d9eaf[_0x3acbd6(0x1df)],_0x13dd2b[_0x3acbd6(0x23b)](this,_0x5d9eaf),_0xa02534[_0x3acbd6(0x255)](_0x5d9eaf[_0x3acbd6(0x251)],_0xa02534[_0x3acbd6(0x1c1)]));}),_0xa02534[_0x2f7540(0x163)](processWebDriverConfig,_0x27e12a);try{_0x2e411e&&_0xa02534['hglSU'](typeof _0x2e411e[_0x2f7540(0x1ec)],_0xa02534[_0x2f7540(0x1ef)])&&await _0x2e411e[_0x2f7540(0x1ec)]();}catch(_0x5dee3a){logger['debug'](_0x2f7540(0x19c)+util['format'](_0x5dee3a));}};};function parseJwt(_0x386a9e){const _0x18dcd8=a1_0x4b3b56,_0x2bd5f2={};_0x2bd5f2['vTXlF']=_0x18dcd8(0x19d);const _0x1278f7=_0x2bd5f2;if(!_0x386a9e)return null;return JSON[_0x18dcd8(0x16e)](Buffer[_0x18dcd8(0x15c)](_0x386a9e['split']('.')[0x1],_0x1278f7[_0x18dcd8(0x17f)])[_0x18dcd8(0x23d)]());}const patchPlaywrightBefore=_0x45682c=>{const _0x99a38d=a1_0x4b3b56,_0x50decb={'WrsMk':function(_0x529df0){return _0x529df0();},'XhDql':_0x99a38d(0x235),'GBTOX':_0x99a38d(0x22a),'VLVpf':function(_0xec3588,_0xd94c30){return _0xec3588(_0xd94c30);},'CmIsy':function(_0x1aa6d8,_0x55768f){return _0x1aa6d8+_0x55768f;},'wwviW':_0x99a38d(0x203),'Gjitw':function(_0x5dfa12){return _0x5dfa12();},'hiJdc':function(_0x4bfff3){return _0x4bfff3();},'TeuKl':function(_0x5bddfc,_0x1e6e59){return _0x5bddfc===_0x1e6e59;},'DJpCt':_0x99a38d(0x22c)};PlaywrightSessionDetails[_0x99a38d(0x1c8)]();const _0x2c2c78=CodeceptPlaywright[_0x99a38d(0x170)]['_before'];CodeceptPlaywright['prototype']['_before']=async function(){const _0x4f449e=_0x99a38d,_0x5a727c={'DLQIV':function(_0x3df37a){const _0x2bfe39=a1_0x4d0c;return _0x50decb[_0x2bfe39(0x18d)](_0x3df37a);},'ebHvH':_0x50decb[_0x4f449e(0x1c9)],'opYZh':_0x50decb[_0x4f449e(0x222)],'ifgLk':function(_0x563211){return _0x50decb['WrsMk'](_0x563211);},'JpqkT':function(_0x3ab267,_0x2b3c71){const _0x2d4b56=_0x4f449e;return _0x50decb[_0x2d4b56(0x213)](_0x3ab267,_0x2b3c71);},'pRxuf':function(_0x4d3c50,_0x30a743){const _0x52a30e=_0x4f449e;return _0x50decb[_0x52a30e(0x178)](_0x4d3c50,_0x30a743);},'RYwGK':_0x50decb[_0x4f449e(0x1d7)]};this[_0x4f449e(0x168)]=await this[_0x4f449e(0x16b)][_0x4f449e(0x22b)]()[0x0];const _0x4b8e94=async()=>{const _0x471d7b=_0x4f449e,_0x4f4a02=this[_0x471d7b(0x167)]&&this['config'][_0x471d7b(0x1d6)]&&this['config']['chromium'][_0x471d7b(0x1a6)]&&Array[_0x471d7b(0x248)](this['config'][_0x471d7b(0x1d6)][_0x471d7b(0x1a6)])&&this[_0x471d7b(0x167)]['chromium'][_0x471d7b(0x1a6)][_0x471d7b(0x21c)](_0x5a727c[_0x471d7b(0x23c)]);if(_0x5a727c['ifgLk'](isAccessibilityAutomationSession)&&!_0x4f4a02)try{const _0xcc5dd1=_0x5a727c[_0x471d7b(0x151)](parseJwt,process[_0x471d7b(0x166)][_0x471d7b(0x15f)]);if(_0xcc5dd1&&_0xcc5dd1[_0x471d7b(0x249)]&&_0xcc5dd1[_0x471d7b(0x249)][_0x471d7b(0x228)]){const _0x4b59f3=this[_0x471d7b(0x168)][_0x471d7b(0x17d)][_0x471d7b(0x23b)](this['browserContext']);this[_0x471d7b(0x168)]['pages']=async function(){const _0x203b4e=_0x471d7b,_0x49fa18=await _0x5a727c[_0x203b4e(0x244)](_0x4b59f3),_0x5700fb=[];for(const _0x4112e8 of _0x49fa18){try{const _0x1fe314=await _0x4112e8['url']();!_0x1fe314[_0x203b4e(0x180)](_0x5a727c[_0x203b4e(0x197)])&&_0x5700fb[_0x203b4e(0x1a4)](_0x4112e8);}catch(_0x1ec89e){_0x5700fb[_0x203b4e(0x1a4)](_0x4112e8);}}return _0x5700fb;};}if(!_0x5a727c[_0x471d7b(0x244)](isBrowserstackInfra)){const _0x1c6daf=await this[_0x471d7b(0x259)][_0x471d7b(0x250)]();if(_0x1c6daf['startsWith'](_0x5a727c['ebHvH'])){const _0x2f1d1b=await this['browserContext']['pages']();this[_0x471d7b(0x1c5)](_0x2f1d1b[0x0]);}}}catch(_0x3ac03e){logger[_0x471d7b(0x1f4)](_0x471d7b(0x21a)+_0x3ac03e['message']+(_0x3ac03e[_0x471d7b(0x18e)]?_0x5a727c['pRxuf'](_0x5a727c[_0x471d7b(0x24a)],_0x3ac03e[_0x471d7b(0x18e)]):''));}};_0x50decb[_0x4f449e(0x1e3)](isBrowserstackInfra)&&await _0x50decb[_0x4f449e(0x1e4)](_0x4b8e94);await _0x2c2c78[_0x4f449e(0x247)](this,arguments);!_0x50decb['WrsMk'](isBrowserstackInfra)&&await _0x50decb['hiJdc'](_0x4b8e94);try{_0x45682c&&_0x50decb[_0x4f449e(0x204)](typeof _0x45682c[_0x4f449e(0x1ec)],_0x50decb[_0x4f449e(0x207)])&&await _0x45682c[_0x4f449e(0x1ec)]();}catch(_0x5b523c){logger['debug'](_0x4f449e(0x24f)+util['format'](_0x5b523c));}};},getCodeceptDriver=()=>{const _0x28b213=a1_0x4b3b56,_0x42f6d5={};_0x42f6d5['FVHwh']=_0x28b213(0x1ac),_0x42f6d5['XeMhC']=_0x28b213(0x1a5),_0x42f6d5[_0x28b213(0x18f)]=_0x28b213(0x1fc),_0x42f6d5[_0x28b213(0x217)]=_0x28b213(0x209);const _0x52a317=_0x42f6d5,_0x113898=[_0x52a317[_0x28b213(0x152)],_0x52a317['XeMhC'],_0x52a317[_0x28b213(0x18f)],_0x52a317[_0x28b213(0x217)]],_0x499f59=_0x113898[_0x28b213(0x230)](_0x18c71d=>!!CodeceptJS[_0x28b213(0x161)][_0x28b213(0x1b0)](_0x18c71d));if(!_0x499f59)return null;return CodeceptJS[_0x28b213(0x161)][_0x28b213(0x1b0)](_0x499f59);};module[a1_0x4b3b56(0x257)]=function(_0x493b20){const _0x39e249=a1_0x4b3b56,_0x1143d7={'aHOXs':function(_0x28fef8,_0x5efc2b){return _0x28fef8(_0x5efc2b);},'ZjQEL':function(_0x39e268,_0x15f7c4,_0x3db8fc){return _0x39e268(_0x15f7c4,_0x3db8fc);},'OIIlS':_0x39e249(0x202),'nwiuG':_0x39e249(0x154),'oXRLE':_0x39e249(0x1fe),'Yfdmt':_0x39e249(0x1d0),'mwsUf':_0x39e249(0x1eb),'ImzSx':_0x39e249(0x175),'GGloj':_0x39e249(0x252),'fhxqK':'browserstackTestName','lRFzl':function(_0x5d35eb){return _0x5d35eb();},'PuemB':_0x39e249(0x1fb),'NtXvq':function(_0x55d2ac){return _0x55d2ac();},'Jjbjs':function(_0x3249e1,_0x4b54d7){return _0x3249e1(_0x4b54d7);},'pxvNs':function(_0x151adb,_0x10b479,_0x36ec4c){return _0x151adb(_0x10b479,_0x36ec4c);},'VZrfV':_0x39e249(0x195),'PFdLH':function(_0x545f1f,_0x547f9b,_0x6385ad){return _0x545f1f(_0x547f9b,_0x6385ad);},'tplZb':_0x39e249(0x22e),'xAdsv':function(_0x5322a3){return _0x5322a3();},'mSPvd':function(_0x2e1ed9,_0x5e2351,_0xf5786,_0xbb9313){return _0x2e1ed9(_0x5e2351,_0xf5786,_0xbb9313);},'IJeCI':function(_0x46aea8,_0x9b6a29){return _0x46aea8===_0x9b6a29;},'iEPMN':'Suite','zISCn':_0x39e249(0x17e),'LruNs':_0x39e249(0x19a),'SywMW':_0x39e249(0x16a),'XGGpU':_0x39e249(0x1db),'tUeAb':function(_0xac2b4e,_0x366a4b,_0x2858b0){return _0xac2b4e(_0x366a4b,_0x2858b0);},'NCgQh':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','MsTBB':_0x39e249(0x1f5),'WTGdm':_0x39e249(0x176),'YffsA':_0x39e249(0x1ee),'AeNoK':'step-comment','ljMLq':_0x39e249(0x210),'haByF':_0x39e249(0x16f),'HHrjP':'Playwright'};_0x493b20['skipSessionStatus']&&(global[_0x39e249(0x243)]=_0x493b20[_0x39e249(0x1cd)]);PerformanceTester['startMonitoring']();const _0x20eb29=_0x1143d7[_0x39e249(0x1bf)](getCodeceptDriver),_0x44552b=new O11yHelper(_0x20eb29,_0x493b20),_0x201ffe=!!CodeceptJS[_0x39e249(0x161)][_0x39e249(0x1b0)](_0x1143d7[_0x39e249(0x14f)]);global['__driver']=_0x20eb29;_0x20eb29&&(PerformanceTester[_0x39e249(0x208)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x4eefa8=_0x39e249;_0x201ffe?_0x1143d7[_0x4eefa8(0x1fd)](patchPlaywrightBefore,_0x44552b):_0x1143d7['ZjQEL'](patchWebDriverBefore,_0x20eb29,_0x44552b);})(),PerformanceTester[_0x39e249(0x208)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x3e5d4f=_0x39e249,_0x2eff0d={};_0x2eff0d[_0x3e5d4f(0x1b6)]=_0x1143d7[_0x3e5d4f(0x1cf)],_0x2eff0d['jGsbo']=_0x1143d7[_0x3e5d4f(0x201)];const _0x2de09c=_0x2eff0d;_0x20eb29[_0x3e5d4f(0x1fe)]=async()=>{const _0xedd440=_0x3e5d4f;if(global['accessibilityPlatform']){const _0x7e1119={};return _0x7e1119[_0xedd440(0x20a)]=_0x2de09c[_0xedd440(0x1b6)],await PerformanceTester[_0xedd440(0x208)](PerformanceA11yEvents[_0xedd440(0x165)],async()=>{const _0xfd476d=_0xedd440;return await AccessibilityHelper[_0xfd476d(0x1e8)](_0x20eb29,scripts[_0xfd476d(0x1e6)]);},_0x7e1119)(),await PerformanceTester[_0xedd440(0x208)](PerformanceA11yEvents[_0xedd440(0x196)],async()=>{const _0x53552a=_0xedd440;return await AccessibilityHelper['browserStackExecuteDriver'](_0x20eb29,scripts[_0x53552a(0x229)]);})();}return logger['warn'](_0x2de09c[_0xedd440(0x18c)]),{};},_0x20eb29[_0x3e5d4f(0x202)]=async()=>{const _0x41020d=_0x3e5d4f;if(global[_0x41020d(0x183)]){const _0x4550ee={};return _0x4550ee[_0x41020d(0x20a)]=_0x1143d7[_0x41020d(0x1fa)],await PerformanceTester[_0x41020d(0x208)](PerformanceA11yEvents[_0x41020d(0x165)],async()=>{const _0x30ea1d=_0x41020d;return await AccessibilityHelper[_0x30ea1d(0x1e8)](_0x20eb29,scripts[_0x30ea1d(0x1e6)]);},_0x4550ee)(),await PerformanceTester[_0x41020d(0x208)](PerformanceA11yEvents[_0x41020d(0x24c)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x20eb29,scripts['getResults']);})();}return logger[_0x41020d(0x187)](_0x1143d7['nwiuG']),{};},_0x1143d7[_0x3e5d4f(0x1fd)](patchSaveScreenshot,_0x20eb29);})());CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS['event']['all'][_0x39e249(0x233)],()=>{const _0x21c318=_0x39e249;PerformanceTester[_0x21c318(0x20e)](PerformanceEvents[_0x21c318(0x1ea)]);try{_0x44552b[_0x21c318(0x20e)](),testOpsHelper[_0x21c318(0x238)](),PerformanceTester[_0x21c318(0x1b3)](PerformanceEvents[_0x21c318(0x1ea)]);}catch(_0x2485c4){PerformanceTester['captureError'](_0x2485c4),PerformanceTester[_0x21c318(0x1b3)](PerformanceEvents[_0x21c318(0x1ea)],![],_0x2485c4);}}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x169)][_0x39e249(0x206)],async()=>{const _0x2f32b4=_0x39e249;PerformanceTester[_0x2f32b4(0x20e)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x2f32b4(0x181)](),await _0x44552b[_0x2f32b4(0x184)](),PerformanceTester[_0x2f32b4(0x1b3)](PerformanceEvents[_0x2f32b4(0x214)]);}catch(_0x543392){PerformanceTester['captureError'](_0x543392),PerformanceTester[_0x2f32b4(0x1b3)](PerformanceEvents[_0x2f32b4(0x214)],![],_0x543392);}finally{PerformanceTester[_0x2f32b4(0x15a)]();}});const _0x2b1871=(_0x580ea5,_0x3594d8)=>{const _0x34c4a7=_0x39e249;if(!_0x44552b)return;if(!_0x44552b['hasLiveDriverSession']()){_0x44552b[_0x34c4a7(0x19e)](_0x580ea5,_0x3594d8);return;}CodeceptRecorder['add'](()=>_0x44552b[_0x34c4a7(0x1bb)](_0x580ea5,_0x3594d8));};CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x225)][_0x39e249(0x1f7)],_0x50242c=>{const _0x2c4a5f=_0x39e249;PerformanceTester[_0x2c4a5f(0x20e)](PerformanceEvents[_0x2c4a5f(0x220)]);try{const _0x5f483e=_0x50242c[_0x2c4a5f(0x19f)][_0x2c4a5f(0x1ba)],_0x1a7a5c=_0x44552b[_0x2c4a5f(0x24b)](TEST_EVENTS[_0x2c4a5f(0x1c0)],_0x5f483e);_0x1143d7[_0x2c4a5f(0x1b8)](_0x2b1871,TEST_EVENTS[_0x2c4a5f(0x1c0)],_0x1a7a5c);const _0x65e52={};_0x65e52[_0x2c4a5f(0x1da)]=_0x1143d7[_0x2c4a5f(0x1c7)],PerformanceTester[_0x2c4a5f(0x1b3)](PerformanceEvents['SDK_HOOK'],!![],null,_0x65e52);}catch(_0x2eacf2){const _0x4514a9={};_0x4514a9[_0x2c4a5f(0x1da)]=_0x1143d7[_0x2c4a5f(0x1c7)],PerformanceTester['end'](PerformanceEvents[_0x2c4a5f(0x220)],![],_0x2eacf2,_0x4514a9),PerformanceTester['captureError'](_0x2eacf2);}}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS['event'][_0x39e249(0x225)][_0x39e249(0x1e2)],_0x40a0b2=>{const _0x1a6946=_0x39e249,_0x23cc2c={};_0x23cc2c['hookType']=_0x1143d7[_0x1a6946(0x186)],PerformanceTester[_0x1a6946(0x20e)](PerformanceHookEvents[_0x1a6946(0x220)],!![],null,_0x23cc2c);try{const _0x413459=_0x40a0b2[_0x1a6946(0x19f)]['test'],_0x2eb4d1=_0x44552b['captureEvent'](TEST_EVENTS[_0x1a6946(0x19b)],_0x413459);_0x1143d7[_0x1a6946(0x1b8)](_0x2b1871,TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2eb4d1);const _0x1fe416={};_0x1fe416[_0x1a6946(0x1da)]=_0x1143d7[_0x1a6946(0x186)],PerformanceTester[_0x1a6946(0x1b3)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1fe416);}catch(_0x2e2978){PerformanceTester['captureError'](_0x2e2978);const _0x1d120d={};_0x1d120d[_0x1a6946(0x1da)]=_0x1143d7[_0x1a6946(0x186)],PerformanceTester[_0x1a6946(0x1b3)](PerformanceHookEvents[_0x1a6946(0x220)],![],_0x2e2978,_0x1d120d);}}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x225)][_0x39e249(0x205)],async(_0x46c790,_0x4b48d8)=>{const _0x38bcf5=_0x39e249;PerformanceTester[_0x38bcf5(0x20e)](PerformanceHookEvents[_0x38bcf5(0x220)]);try{const _0x33708a=_0x46c790[_0x38bcf5(0x19f)][_0x38bcf5(0x1ba)],_0x64a7a8=_0x44552b[_0x38bcf5(0x24b)](TEST_EVENTS[_0x38bcf5(0x19b)],_0x33708a,_0x4b48d8);_0x1143d7[_0x38bcf5(0x1b8)](_0x2b1871,TEST_EVENTS[_0x38bcf5(0x19b)],_0x64a7a8);const _0x5d50c6={};_0x5d50c6[_0x38bcf5(0x1da)]=_0x1143d7[_0x38bcf5(0x1a3)],PerformanceTester[_0x38bcf5(0x20e)](PerformanceHookEvents[_0x38bcf5(0x220)],!![],null,_0x5d50c6);}catch(_0x38159e){PerformanceTester['captureError'](_0x38159e);const _0x183b38={};_0x183b38[_0x38bcf5(0x1da)]=_0x1143d7[_0x38bcf5(0x1a3)],PerformanceTester[_0x38bcf5(0x1b3)](PerformanceHookEvents[_0x38bcf5(0x220)],![],_0x38159e,_0x183b38);}const _0x2d3e3f={};_0x2d3e3f[_0x38bcf5(0x1da)]=_0x1143d7[_0x38bcf5(0x1a3)],PerformanceTester['end'](PerformanceHookEvents[_0x38bcf5(0x220)],!![],null,_0x2d3e3f);}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)][_0x39e249(0x233)],_0x58309f=>{const _0x335a70=_0x39e249;PerformanceTester[_0x335a70(0x20e)](PerformanceHookEvents[_0x335a70(0x220)]);try{globals['setGlobal'](_0x1143d7[_0x335a70(0x191)],_0x58309f[_0x335a70(0x215)]);_0x1143d7[_0x335a70(0x1bf)](isBrowserstackInfra)&&(_0x201ffe&&(global[_0x335a70(0x150)]={'currentTest':{'name':_0x58309f[_0x335a70(0x215)],'testInfo':{'titlePath':_0x58309f['titlePath']()}}}));const _0x2a0f64={};_0x2a0f64[_0x335a70(0x1da)]=_0x1143d7['PuemB'],PerformanceTester[_0x335a70(0x1b3)](PerformanceHookEvents[_0x335a70(0x220)],!![],null,_0x2a0f64);}catch(_0x43e3f0){PerformanceTester[_0x335a70(0x157)](_0x43e3f0);const _0x434500={};_0x434500['hookType']=_0x1143d7['PuemB'],PerformanceTester['end'](PerformanceHookEvents[_0x335a70(0x220)],![],_0x43e3f0,_0x434500);}}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)]['test'][_0x39e249(0x1f7)],_0x22eb67=>{const _0x476c49=_0x39e249;PerformanceTester[_0x476c49(0x20e)](PerformanceHookEvents[_0x476c49(0x220)]);try{globals['setGlobal'](_0x1143d7['fhxqK'],_0x22eb67[_0x476c49(0x215)]);const _0x750414=_0x44552b[_0x476c49(0x24b)](TEST_EVENTS[_0x476c49(0x162)],_0x22eb67);CodeceptRecorder[_0x476c49(0x221)](()=>_0x44552b['flushPendingHookEvents']()),CodeceptRecorder[_0x476c49(0x221)](()=>_0x44552b[_0x476c49(0x1bb)](TEST_EVENTS[_0x476c49(0x162)],_0x750414)),CodeceptRecorder[_0x476c49(0x221)](async()=>{const _0x4ae98d=_0x476c49;_0x1143d7[_0x4ae98d(0x1f0)](isBrowserstackInfra)&&(!_0x1143d7[_0x4ae98d(0x17c)](isTrue,_0x493b20['skipSessionName'])&&await _0x1143d7[_0x4ae98d(0x1a9)](markSessionName,_0x20eb29,_0x22eb67['title']),_0x44552b[_0x4ae98d(0x1b1)]&&await _0x1143d7['aHOXs'](o11ySync,_0x20eb29));});}catch(_0x98df0a){const _0x1835e3={};_0x1835e3[_0x476c49(0x1da)]=_0x1143d7[_0x476c49(0x1b4)],PerformanceTester[_0x476c49(0x1b3)](PerformanceHookEvents[_0x476c49(0x220)],![],_0x98df0a,_0x1835e3),PerformanceTester[_0x476c49(0x157)](_0x98df0a);}const _0x30bbea={};_0x30bbea['hookType']=_0x1143d7[_0x476c49(0x1b4)],PerformanceTester[_0x476c49(0x1b3)](PerformanceHookEvents[_0x476c49(0x220)],!![],null,_0x30bbea);}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS[_0x39e249(0x218)]['test'][_0x39e249(0x1e2)],_0x34de7a=>{const _0x1c73cb=_0x39e249;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x1801f1=_0x44552b[_0x1c73cb(0x24b)](TEST_EVENTS[_0x1c73cb(0x211)],_0x34de7a);CodeceptRecorder[_0x1c73cb(0x221)](()=>_0x44552b[_0x1c73cb(0x1bb)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1801f1)),CodeceptRecorder[_0x1c73cb(0x221)](async()=>{const _0x34d390=_0x1c73cb,_0x25a750={'RtYvg':function(_0x595495,_0x2b1915,_0x4d12be){const _0x13f548=a1_0x4d0c;return _0x1143d7[_0x13f548(0x156)](_0x595495,_0x2b1915,_0x4d12be);}};_0x1143d7[_0x34d390(0x1bf)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0xd3b5e2=_0x34d390;_0x201ffe?await _0x25a750[_0xd3b5e2(0x1f8)](playwrightMarkSessionStatus,_0x20eb29,STATE_PASSED):await _0x25a750[_0xd3b5e2(0x1f8)](markSessionStatus,_0x20eb29,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x170da0){PerformanceTester[_0x1c73cb(0x157)](_0x170da0);const _0x392402={};_0x392402[_0x1c73cb(0x1da)]=_0x1143d7[_0x1c73cb(0x158)],PerformanceTester[_0x1c73cb(0x1b3)](PerformanceHookEvents[_0x1c73cb(0x220)],![],_0x170da0,_0x392402),PerformanceTester[_0x1c73cb(0x1b3)](PerformanceEvents[_0x1c73cb(0x1f6)],![],_0x170da0);}const _0x286701={};_0x286701[_0x1c73cb(0x1da)]=_0x1143d7['tplZb'],PerformanceTester[_0x1c73cb(0x1b3)](PerformanceHookEvents[_0x1c73cb(0x220)],!![],null,_0x286701);}),CodeceptJS['event'][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)][_0x39e249(0x205)],(_0x412a96,_0x19988a)=>{const _0x4179dd=_0x39e249,_0xcf91bd={'PQYMr':function(_0x5a0fe4){const _0x9c7aec=a1_0x4d0c;return _0x1143d7[_0x9c7aec(0x1a8)](_0x5a0fe4);},'NePun':function(_0x482e3b,_0x1dc61a,_0x547e07,_0x889100){const _0x406590=a1_0x4d0c;return _0x1143d7[_0x406590(0x1ca)](_0x482e3b,_0x1dc61a,_0x547e07,_0x889100);},'ZEaZF':function(_0x2a4eaa,_0xe0d285,_0x13ee00,_0x1b80d3){const _0x27104a=a1_0x4d0c;return _0x1143d7[_0x27104a(0x1ca)](_0x2a4eaa,_0xe0d285,_0x13ee00,_0x1b80d3);}};PerformanceTester[_0x4179dd(0x20e)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x1143d7[_0x4179dd(0x242)](_0x412a96[_0x4179dd(0x23f)]['name'],_0x1143d7['iEPMN'])){const _0x397b14=_0x44552b['captureEvent'](TEST_EVENTS[_0x4179dd(0x185)],_0x412a96[_0x4179dd(0x19f)][_0x4179dd(0x182)]);CodeceptRecorder[_0x4179dd(0x221)](()=>_0x44552b[_0x4179dd(0x1bb)](TEST_EVENTS[_0x4179dd(0x185)],_0x397b14));}else{const _0x2fd26c=_0x44552b[_0x4179dd(0x24b)](TEST_EVENTS[_0x4179dd(0x211)],_0x412a96,_0x19988a);CodeceptRecorder[_0x4179dd(0x221)](()=>{const _0x6f2ffc=_0x4179dd;try{_0x44552b[_0x6f2ffc(0x1bb)](TEST_EVENTS[_0x6f2ffc(0x211)],_0x2fd26c);}catch(_0x5bf306){logger[_0x6f2ffc(0x1f4)](_0x6f2ffc(0x23e)+util['format'](_0x5bf306)),PerformanceTester[_0x6f2ffc(0x1b3)](PerformanceEvents['SDK_TEST'],![],_0x5bf306);}}),CodeceptRecorder[_0x4179dd(0x221)](async()=>{const _0x1be2a1=_0x4179dd;try{_0xcf91bd[_0x1be2a1(0x16c)](isBrowserstackInfra)&&(_0x201ffe?await _0xcf91bd[_0x1be2a1(0x14e)](playwrightMarkSessionStatus,_0x20eb29,STATE_FAILED,_0x19988a):await _0xcf91bd[_0x1be2a1(0x212)](markSessionStatus,_0x20eb29,STATE_FAILED,_0x19988a));}catch(_0x34ae6f){logger['debug'](_0x1be2a1(0x25a)+util[_0x1be2a1(0x1ab)](_0x34ae6f)),PerformanceTester[_0x1be2a1(0x1b3)](PerformanceEvents[_0x1be2a1(0x1f6)],![],_0x34ae6f);}});}PerformanceTester['end'](PerformanceEvents[_0x4179dd(0x1f6)]);}catch(_0x12d53b){PerformanceTester[_0x4179dd(0x157)](_0x12d53b);const _0x289c51={};_0x289c51[_0x4179dd(0x1da)]=_0x1143d7[_0x4179dd(0x216)],PerformanceTester[_0x4179dd(0x1b3)](PerformanceHookEvents['SDK_HOOK'],![],_0x12d53b,_0x289c51),PerformanceTester[_0x4179dd(0x1b3)](PerformanceEvents[_0x4179dd(0x1f6)],![],_0x12d53b);}const _0x58d908={};_0x58d908[_0x4179dd(0x1da)]=_0x1143d7[_0x4179dd(0x216)],PerformanceTester[_0x4179dd(0x1b3)](PerformanceHookEvents[_0x4179dd(0x220)],!![],null,_0x58d908);}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)]['skipped'],_0x43b449=>{const _0x26060b=_0x39e249;PerformanceTester[_0x26060b(0x20e)](PerformanceHookEvents['SDK_HOOK']);try{const _0x5d4db1=_0x44552b[_0x26060b(0x24b)](TEST_EVENTS[_0x26060b(0x185)],_0x43b449);CodeceptRecorder[_0x26060b(0x221)](()=>_0x44552b['fireEvent'](TEST_EVENTS[_0x26060b(0x185)],_0x5d4db1)),PerformanceTester[_0x26060b(0x1b3)](PerformanceEvents[_0x26060b(0x1f6)]);}catch(_0x28417d){PerformanceTester[_0x26060b(0x157)](_0x28417d),PerformanceTester[_0x26060b(0x1b3)](PerformanceEvents[_0x26060b(0x1f6)],![],_0x28417d);const _0x3e7975={};_0x3e7975[_0x26060b(0x1da)]=_0x1143d7[_0x26060b(0x1e7)],PerformanceTester[_0x26060b(0x1b3)](PerformanceHookEvents[_0x26060b(0x220)],![],_0x28417d,_0x3e7975);}const _0x5650b0={};_0x5650b0['hookType']=_0x1143d7[_0x26060b(0x1e7)],PerformanceTester[_0x26060b(0x1b3)](PerformanceHookEvents[_0x26060b(0x220)],!![],null,_0x5650b0);}),CodeceptJS['event'][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)][_0x39e249(0x1ba)][_0x39e249(0x206)],async(_0x1755bd,_0x5116fe)=>{const _0x4fd832=_0x39e249;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);const _0x266961=_0x1143d7[_0x4fd832(0x1d4)](shouldScanTestForAccessibility,_0x1755bd[_0x4fd832(0x1d9)](),!![]);if(_0x1143d7[_0x4fd832(0x1a8)](isAccessibilityAutomationSession)&&global[_0x4fd832(0x183)]&&_0x266961){const _0x372544={};_0x372544[_0x4fd832(0x1e1)]=_0x1755bd[_0x4fd832(0x174)],_0x372544[_0x4fd832(0x172)]=process[_0x4fd832(0x166)][testHubConstants['ENV_VAR'][_0x4fd832(0x1bc)]],_0x372544[_0x4fd832(0x23a)]=process[_0x4fd832(0x166)][testHubConstants[_0x4fd832(0x1cc)][_0x4fd832(0x18a)]];const _0x5ee0dd=_0x372544;logger[_0x4fd832(0x1f4)](_0x4fd832(0x256)+JSON[_0x4fd832(0x1e5)](_0x5ee0dd)),CodeceptRecorder[_0x4fd832(0x221)](async()=>{const _0x118e2b=_0x4fd832,_0x2dedb0={};_0x2dedb0['command']=_0x1143d7[_0x118e2b(0x179)],await PerformanceTester[_0x118e2b(0x208)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3ab9ba=_0x118e2b;await AccessibilityHelper[_0x3ab9ba(0x1e8)](_0x20eb29,scripts['performScan']);},_0x2dedb0)(),globals[_0x118e2b(0x21f)](_0x1143d7['XGGpU'])&&(_0x5ee0dd['is_mobile_session']=!![]),await PerformanceTester[_0x118e2b(0x208)](PerformanceA11yEvents[_0x118e2b(0x194)],async()=>{const _0x548d0a=_0x118e2b;await AccessibilityHelper[_0x548d0a(0x1e8)](_0x20eb29,scripts[_0x548d0a(0x237)],_0x5ee0dd);})();}),logger['info'](_0x1143d7[_0x4fd832(0x177)]);}const _0x46ee8d={};_0x46ee8d[_0x4fd832(0x1da)]=_0x1143d7[_0x4fd832(0x24e)],PerformanceTester[_0x4fd832(0x1b3)](PerformanceHookEvents[_0x4fd832(0x220)],!![],null,_0x46ee8d);}catch(_0x1da68e){PerformanceTester[_0x4fd832(0x157)](_0x1da68e);const _0x308524={};_0x308524[_0x4fd832(0x1da)]=_0x1143d7[_0x4fd832(0x24e)],PerformanceTester[_0x4fd832(0x1b3)](PerformanceHookEvents[_0x4fd832(0x220)],![],_0x1da68e,_0x308524);}}),CodeceptJS[_0x39e249(0x218)]['dispatcher']['on'](CodeceptJS['event'][_0x39e249(0x226)][_0x39e249(0x1cb)],_0x58ac2a=>{const _0x9e5550=_0x39e249;PerformanceTester['start'](PerformanceHookEvents[_0x9e5550(0x220)]);try{process[_0x9e5550(0x18b)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x9e5550(0x246)](),'level':_0x1143d7[_0x9e5550(0x1bd)],'message':_0x58ac2a,'kind':_0x1143d7[_0x9e5550(0x16d)],'http_response':{}});}catch(_0x59ba0c){PerformanceTester[_0x9e5550(0x157)](_0x59ba0c);const _0x253616={};_0x253616[_0x9e5550(0x1da)]=_0x1143d7[_0x9e5550(0x1d3)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x59ba0c,_0x253616);}const _0x33ac52={};_0x33ac52[_0x9e5550(0x1da)]=_0x1143d7[_0x9e5550(0x1d3)],PerformanceTester['end'](PerformanceHookEvents[_0x9e5550(0x220)],!![],null,_0x33ac52);}),CodeceptJS[_0x39e249(0x218)][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)]['bddStep'][_0x39e249(0x233)],_0xebebb8=>{const _0x300051=_0x39e249,_0x829ad2={};_0x829ad2['hookType']=_0x1143d7[_0x300051(0x1af)],PerformanceTester[_0x300051(0x208)](PerformanceHookEvents[_0x300051(0x220)],()=>{const _0x3096bf=_0x300051;_0x44552b[_0x3096bf(0x1ad)](_0xebebb8);},_0x829ad2)();}),CodeceptJS['event'][_0x39e249(0x20b)]['on'](CodeceptJS[_0x39e249(0x218)]['bddStep']['after'],_0x51d674=>{const _0x1551fa=_0x39e249,_0x2387ca={};_0x2387ca[_0x1551fa(0x1da)]=_0x1143d7[_0x1551fa(0x1d8)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x1551fa(0x220)],()=>{const _0x16132a=_0x1551fa;_0x44552b[_0x16132a(0x22d)](_0x51d674);},_0x2387ca)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x86aae6=a2_0x2724;(function(_0x1d1931,_0x2a0ee2){const _0x281e47=a2_0x2724,_0x3984b8=_0x1d1931();while(!![]){try{const _0x37d4d3=parseInt(_0x281e47(0x11d))/0x1+-parseInt(_0x281e47(0x15e))/0x2*(-parseInt(_0x281e47(0xd3))/0x3)+-parseInt(_0x281e47(0x11a))/0x4*(parseInt(_0x281e47(0x137))/0x5)+parseInt(_0x281e47(0x140))/0x6+-parseInt(_0x281e47(0xd7))/0x7+parseInt(_0x281e47(0x150))/0x8*(parseInt(_0x281e47(0x116))/0x9)+-parseInt(_0x281e47(0x119))/0xa;if(_0x37d4d3===_0x2a0ee2)break;else _0x3984b8['push'](_0x3984b8['shift']());}catch(_0x172325){_0x3984b8['push'](_0x3984b8['shift']());}}}(a2_0x3ab6,0xdc2d4));const fs=require('fs'),path=require('path'),util=require(a2_0x86aae6(0x101)),process=require(a2_0x86aae6(0x10c)),logger=require('../../helpers/logger')[a2_0x86aae6(0x12a)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x86aae6(0x146)),{checkAccessibilityPlatformConfig}=require(a2_0x86aae6(0xd6)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x86aae6(0x15a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x86aae6(0x128)),CodeceptJS=requireModule(a2_0x86aae6(0x163),a2_0x86aae6(0x14d)),testOpsHelper=require(a2_0x86aae6(0x135)),TestHubHandler=require(a2_0x86aae6(0xfb)),constants=require(a2_0x86aae6(0x122)),PerformanceTester=require(a2_0x86aae6(0x14c)),{FRAMEWORKS}=require(a2_0x86aae6(0x145)),PerformanceEvents=require(a2_0x86aae6(0xec))[a2_0x86aae6(0x131)],ClientTroubleShootingService=require(a2_0x86aae6(0x147)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x40d973,_0x1fd5b9)=>{const _0x3d54e8=a2_0x86aae6,_0x2dfc75={};_0x2dfc75['iRNNj']=function(_0x184811,_0x3f613c){return _0x184811===_0x3f613c;},_0x2dfc75[_0x3d54e8(0x13c)]=_0x3d54e8(0x16e),_0x2dfc75[_0x3d54e8(0x104)]=_0x3d54e8(0xf6);const _0x4cac41=_0x2dfc75;let _0x487b4b=null;const _0x34373b={};let _0x566d46=_0x1fd5b9['findIndex'](_0x596b52=>_0x596b52==='--config');_0x4cac41[_0x3d54e8(0x124)](_0x566d46,-0x1)&&(_0x566d46=_0x1fd5b9[_0x3d54e8(0x16c)](_0x22b964=>_0x22b964==='-c'));if(!helper[_0x3d54e8(0x16d)](_0x40d973['config'])&&fs[_0x3d54e8(0x134)](path['join'](process[_0x3d54e8(0x139)](),_0x40d973[_0x3d54e8(0xe9)])))_0x487b4b=path['join'](process[_0x3d54e8(0x139)](),_0x40d973['config']),_0x1fd5b9[_0x3d54e8(0x113)](_0x566d46,0x2);else{if(!helper[_0x3d54e8(0x16d)](_0x40d973['c'])&&fs[_0x3d54e8(0x134)](path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x40d973['c'])))_0x487b4b=path['join'](process[_0x3d54e8(0x139)](),_0x40d973['c']),_0x1fd5b9[_0x3d54e8(0x113)](_0x566d46,0x2);else{if(fs['existsSync'](path['join'](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x13c)])))_0x487b4b=path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x13c)]);else fs[_0x3d54e8(0x134)](path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x104)]))&&(_0x487b4b=path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x104)]));}}return process[_0x3d54e8(0x15b)][_0x3d54e8(0xed)]=_0x487b4b,_0x487b4b;},getO11yRerunPattern=()=>{const _0x4879c7=a2_0x86aae6,_0x38ac39=helper[_0x4879c7(0xdd)](process[_0x4879c7(0x15b)]['BROWSERSTACK_RERUN']);if(_0x38ac39){const _0x19ac36=process['env'][_0x4879c7(0xda)],_0xd3f184=[];if(helper['validateRerunTestList'](_0x19ac36)&&!helper[_0x4879c7(0x16d)](_0x19ac36)){_0x19ac36['split'](',')[_0x4879c7(0x125)](_0x3d6890=>{const _0x5a2d42=_0x4879c7;_0xd3f184[_0x5a2d42(0x10f)]('('+_0x3d6890['trim']()+')');});const _0x1b9245='^'+_0xd3f184['join']('|')+'$';return _0x1b9245;}}return null;},a2_0x589975={};a2_0x589975['chrome']=a2_0x86aae6(0xdb),a2_0x589975[a2_0x86aae6(0x16a)]=a2_0x86aae6(0xdb),a2_0x589975[a2_0x86aae6(0x156)]=a2_0x86aae6(0xf7),a2_0x589975[a2_0x86aae6(0x151)]=a2_0x86aae6(0x10d);const pwToCodeceptBrowser=a2_0x589975;async function run(_0x2286b3,_0x4a15dd,_0x475f6c){const _0x4b4256=a2_0x86aae6,_0x1603fe={'GKMTl':function(_0x2c01e0,_0x1015dc,_0x1a5660,_0x79acaa){return _0x2c01e0(_0x1015dc,_0x1a5660,_0x79acaa);},'ayXBE':function(_0x4219b7,_0x29afd6){return _0x4219b7+_0x29afd6;},'YRiFR':function(_0x4c96bc,_0x60243b){return _0x4c96bc(_0x60243b);},'YEfaD':function(_0x1cb6a9,_0x5527b4,_0x427c66){return _0x1cb6a9(_0x5527b4,_0x427c66);},'LXiOt':_0x4b4256(0x167),'MIOAW':function(_0x2d36ce){return _0x2d36ce();},'fRmqw':_0x4b4256(0x13d),'nBYTa':function(_0x47efb6){return _0x47efb6();},'nlnRA':function(_0x90ae0c){return _0x90ae0c();},'PrESd':'Failed\x20:\x20','SzyYz':_0x4b4256(0x152),'agxDX':'Started\x20:\x20','EHvqS':_0x4b4256(0x159),'cIEDD':_0x4b4256(0x161),'GexmD':_0x4b4256(0xe7),'zFouQ':_0x4b4256(0x103),'xBJza':function(_0x476382,_0x380267){return _0x476382(_0x380267);},'QXoVC':function(_0x16570a,_0x2519a3){return _0x16570a!=_0x2519a3;},'tzVyo':function(_0x320900,_0x5698e8){return _0x320900===_0x5698e8;},'lqBRW':_0x4b4256(0xea),'mZDii':function(_0x5053ab,_0x227961){return _0x5053ab(_0x227961);},'ThVHH':function(_0x46a811){return _0x46a811();},'qBuYY':function(_0x23622e,_0x499370){return _0x23622e*_0x499370;},'ZOLsA':'browser','Ztmov':function(_0x3e2690,_0x5d2aee,_0x4f7007){return _0x3e2690(_0x5d2aee,_0x4f7007);},'URkGO':_0x4b4256(0x158),'bKBNv':function(_0x56aaad,_0xe55917,_0x55def2){return _0x56aaad(_0xe55917,_0x55def2);},'iIyzN':_0x4b4256(0xe4),'VypUo':_0x4b4256(0x12c),'zOXUT':'browserStackCwd','aLnjm':function(_0x18e846){return _0x18e846();}};await _0x475f6c[_0x4b4256(0x155)](_0x2286b3),await helper[_0x4b4256(0xf1)](_0x475f6c[_0x4b4256(0xe9)]);if(!_0x475f6c[_0x4b4256(0xe9)])return;process['profile']=_0x2286b3[_0x4b4256(0x11c)];_0x2286b3[_0x4b4256(0x11c)]&&(process[_0x4b4256(0x15b)]['profile']=_0x2286b3['profile']);const _0x1f8e61=_0x1603fe[_0x4b4256(0x102)](getUserCodeceptJSConfigs,_0x2286b3,_0x4a15dd);let _0xa08590={};_0x1f8e61?(logger['info'](_0x4b4256(0x112)+_0x1f8e61),_0xa08590=CodeceptJS[_0x4b4256(0xe9)][_0x4b4256(0x170)](_0x1f8e61)):logger[_0x4b4256(0x13f)](_0x1603fe[_0x4b4256(0x16f)]);let _0x8f721=![];_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0x12e)],_0x1603fe['GexmD']])&&(_0x8f721=!![]);const _0x3b2cdb=_0x8f721?_0x1603fe[_0x4b4256(0x168)]:_0x1603fe[_0x4b4256(0xf0)];let _0x4495dc=!_0x8f721?helper[_0x4b4256(0xf2)](_0x475f6c[_0x4b4256(0xe9)]):![];!helper[_0x4b4256(0x16d)](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x154)])&&(process[_0x4b4256(0x15b)][_0x4b4256(0xdf)]=JSON['stringify'](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x154)]));let _0x2728f3=_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x118)];_0x2728f3=_0x2728f3||_0x1603fe[_0x4b4256(0xe5)](checkAccessibilityPlatformConfig,_0x475f6c[_0x4b4256(0xe9)]),process[_0x4b4256(0x15b)][_0x4b4256(0xe3)]=_0x2728f3;_0x2728f3&&(_0x4495dc=!_0x2728f3);_0x1603fe['QXoVC'](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x11e)],null)?process['env'][_0x4b4256(0x126)]=_0x475f6c['config']['testObservability']:process[_0x4b4256(0x15b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1603fe[_0x4b4256(0x10a)](_0x3b2cdb,_0x1603fe[_0x4b4256(0x168)]);const _0x491843=_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0xeb)]]),_0x44dcc6=_0x491843&&!helper[_0x4b4256(0x14f)](_0x491843)?FRAMEWORKS[_0x4b4256(0x13a)]:FRAMEWORKS[_0x4b4256(0xfd)],_0x1cc4cb=await TestHubHandler[_0x4b4256(0x136)](_0x44dcc6,_0x475f6c);_0x2728f3&&_0x1603fe[_0x4b4256(0x16b)](setAccessibilityCapabilities,_0x475f6c[_0x4b4256(0xe9)]);const _0x3bdfdb={},_0x398809=[],_0x306afa=_0x475f6c[_0x4b4256(0xe9)]['parallelsPerPlatform']||helper[_0x4b4256(0x162)](_0x2286b3,_0x4a15dd,_0x475f6c[_0x4b4256(0xe9)],constants[_0x4b4256(0x142)][_0x4b4256(0xfd)])||0x1;let _0x38b610=0x1;if(_0x1603fe[_0x4b4256(0xef)](isBrowserstackInfra)){const _0x7fae86=helper['prepareCapabilities'](_0x475f6c[_0x4b4256(0xe9)],_0x4495dc,constants[_0x4b4256(0x142)][_0x4b4256(0xfd)]);_0x7fae86[_0x4b4256(0x144)](_0x1ce717=>{const _0x3b9e25=_0x4b4256;helper[_0x3b9e25(0x13b)](_0x1ce717);}),helper[_0x4b4256(0x14b)](_0x475f6c['config'])?_0x38b610=_0x1603fe[_0x4b4256(0x108)](_0x306afa,_0x475f6c[_0x4b4256(0xe9)]['platforms'][_0x4b4256(0x127)]):_0x38b610=_0x306afa,_0x7fae86[_0x4b4256(0x144)](_0x71dad2=>{const _0x1680f3=_0x4b4256,_0x3e40af=_0x1603fe['ayXBE'](helper[_0x1680f3(0x12d)](_0x71dad2,'_'),'_'+Date['now']()),_0x3c6626=((()=>{const _0x26f0b1=_0x1680f3;if(_0x8f721){const _0x1b66cb=pwToCodeceptBrowser[_0x71dad2['browserName']]||_0x71dad2['browserName'],_0x55254a=helper['getPlaywrightUrl'](_0x475f6c[_0x26f0b1(0xe9)]),_0x25bbc4=Object['assign']({},_0x71dad2);return _0x1603fe['GKMTl'](processAccessibilityCaps,_0x25bbc4,_0x55254a,null),{'browser':_0x1b66cb,[_0x1b66cb]:{'browserWSEndpoint':_0x1603fe[_0x26f0b1(0x15c)](_0x55254a,_0x1603fe[_0x26f0b1(0x12f)](encodeURIComponent,JSON['stringify'](_0x25bbc4)))}};}const _0x477a75={};return _0x477a75[_0x26f0b1(0x158)]=_0x71dad2,_0x477a75[_0x26f0b1(0xd8)]=_0x475f6c[_0x26f0b1(0xe9)][_0x26f0b1(0x143)],_0x477a75[_0x26f0b1(0x120)]=_0x475f6c[_0x26f0b1(0xe9)][_0x26f0b1(0x12b)],_0x477a75;})()),_0x5dd1c9=_0x1603fe['YEfaD'](nestedKeyValue,_0xa08590,[_0x1603fe[_0x1680f3(0x12e)],_0x3b2cdb]);_0x3bdfdb[_0x3e40af]=_0x5dd1c9?helper[_0x1680f3(0x105)](_0x3c6626,_0x5dd1c9):_0x3c6626;if(_0x8f721)_0x3bdfdb[_0x3e40af][_0x1680f3(0xfc)]=pwToCodeceptBrowser[_0x71dad2['browserName']]||_0x71dad2['browserName'];else{_0x3bdfdb[_0x3e40af][_0x1680f3(0xfc)]=_0x71dad2['browserName']||_0x3c6626[_0x1680f3(0xfc)];if(_0x1603fe[_0x1680f3(0xe8)](isBrowserstackInfra)){_0x3bdfdb[_0x3e40af]['host']=constants[_0x1680f3(0x169)][_0x1680f3(0x11f)](_0x1603fe[_0x1680f3(0xf4)],'')[_0x1680f3(0x11f)](/https?:\/\//,'');;_0x3bdfdb[_0x3e40af][_0x1680f3(0x157)]=_0x1603fe[_0x1680f3(0xf4)];}}_0x398809[_0x1680f3(0x10f)](_0x3e40af);});}else{_0x38b610=0x1;if(_0x8f721){const _0x10aeac=_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0x12e)],_0x3b2cdb,_0x1603fe[_0x4b4256(0x109)]]),_0x143569=_0x1603fe[_0x4b4256(0x117)](nestedKeyValue,_0xa08590,[_0x1603fe['LXiOt'],_0x3b2cdb,_0x10aeac]);if(_0x143569&&_0x143569[_0x4b4256(0x100)]){const _0x46b08b={};_0x46b08b['platforms']=[],_0x143569['browserWSEndpoint']=helper[_0x4b4256(0x14a)](Object['assign']({},_0x475f6c[_0x4b4256(0xe9)],_0x46b08b),null,_0x44dcc6['toLowerCase'](),null,null,_0x143569[_0x4b4256(0x100)]);}}else{const _0x556deb={};_0x556deb['platforms']=[],_0xa08590[_0x1603fe['LXiOt']][_0x3b2cdb][_0x1603fe[_0x4b4256(0x10b)]]=helper['prepareCapabilities'](Object[_0x4b4256(0x10e)]({},_0x475f6c['config'],_0x556deb),null,_0x44dcc6['toLowerCase'](),_0x1603fe[_0x4b4256(0x149)](nestedKeyValue,_0xa08590,[_0x1603fe['LXiOt'],_0x3b2cdb,_0x1603fe[_0x4b4256(0x10b)]])||{},null,null);}_0x3bdfdb[_0x1603fe[_0x4b4256(0x110)]]=_0xa08590,_0x398809[_0x4b4256(0x10f)](_0x1603fe[_0x4b4256(0x110)]);}const _0x57bc10={};_0x57bc10[_0x4b4256(0xd4)]=_0x1f8e61;const _0x1dfecd=_0x57bc10,_0x2603f6=path[_0x4b4256(0xe0)](__dirname,_0x1603fe['VypUo']),_0x302ef3=process[_0x4b4256(0x139)]();process[_0x4b4256(0x15b)][_0x1603fe[_0x4b4256(0xe2)]]=_0x302ef3,process[_0x4b4256(0xf8)](path[_0x4b4256(0x129)](_0x1f8e61));const _0x2ddcb4=new CodeceptJS['Workers'](null,_0x1dfecd),_0x1abbb8=_0x2ddcb4[_0x4b4256(0x11b)](_0x306afa),_0x567012=testOpsHelper['isTestObservabilitySession'](),_0x5346d0=_0x398809[_0x4b4256(0x125)](_0x481650=>{const _0x22ef51=_0x4b4256,_0x21bc94={};_0x21bc94[_0x22ef51(0xe7)]=_0x3bdfdb[_0x481650];const _0x53fac2={};_0x53fac2['WebDriver']=_0x3bdfdb[_0x481650];const _0x53d5a7=_0x8f721?_0x21bc94:_0x53fac2,_0x2789ae=_0x1603fe[_0x22ef51(0xf3)](getO11yRerunPattern),_0x423ae7={};_0x423ae7[_0x22ef51(0x167)]=_0x53d5a7;const _0x1862bf={};_0x1862bf[_0x22ef51(0x164)]=_0x2603f6,_0x1862bf[_0x22ef51(0xe6)]=!![],_0x1862bf[_0x22ef51(0x133)]=_0x475f6c['config'][_0x22ef51(0x13e)][_0x22ef51(0x133)],_0x1862bf['skipSessionStatus']=_0x475f6c[_0x22ef51(0xe9)][_0x22ef51(0x13e)][_0x22ef51(0xfe)],_0x1862bf[_0x22ef51(0x11e)]=_0x567012,_0x1862bf[_0x22ef51(0x153)]=_0x44dcc6;const _0x3954d5={};_0x3954d5['BrowserStackPlugin']=_0x1862bf;const _0x36c27d={};return _0x36c27d['plugins']=_0x3954d5,helper[_0x22ef51(0x105)]({},_0xa08590,_0x1603fe[_0x22ef51(0x132)](isBrowserstackInfra)?_0x423ae7:{},_0x2789ae?{'grep':_0x2789ae}:{},_0x36c27d);});for(const _0x1704b6 of _0x5346d0){for(const _0x5e1ee0 of _0x1abbb8){const _0x53a5e9=_0x2ddcb4['spawn']();_0x53a5e9[_0x4b4256(0x165)](_0x5e1ee0),_0x53a5e9[_0x4b4256(0xf9)](_0x1704b6);const _0x2488e0={};_0x2488e0['config']=_0x1f8e61,_0x53a5e9[_0x4b4256(0x160)](Object[_0x4b4256(0x10e)](_0x2488e0,_0x2286b3));}}_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)][_0x4b4256(0x130)]['failed'],(_0x248038,_0x20cc43)=>{const _0x4b2659=_0x4b4256;console[_0x4b2659(0xee)](_0x1603fe['PrESd'],_0x248038['title']);const _0x5e5174={[_0x248038[_0x4b2659(0xdc)]]:_0x248038[_0x4b2659(0x14e)]['stack']};_testErrorData[_0x4b2659(0x10f)](_0x5e5174);}),_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)][_0x4b4256(0x130)][_0x4b4256(0x114)],async _0x27fb36=>{const _0x27a85b=_0x4b4256;console[_0x27a85b(0xee)](_0x1603fe[_0x27a85b(0xfa)],_0x27fb36[_0x27a85b(0xdc)]);}),_0x2ddcb4['on'](CodeceptJS['event'][_0x4b4256(0x130)][_0x4b4256(0xf5)],async _0x2bc220=>{const _0x3bfa59=_0x4b4256;console[_0x3bfa59(0xee)](_0x1603fe[_0x3bfa59(0x107)],_0x2bc220[_0x3bfa59(0xdc)]);}),_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)]['all'][_0x4b4256(0x15d)],async()=>{const _0x56d644=_0x4b4256,_0x2bb5e6=_0x1603fe[_0x56d644(0x106)]['split']('|');let _0x2de025=0x0;while(!![]){switch(_0x2bb5e6[_0x2de025++]){case'0':utilities[_0x56d644(0x121)](_0x475f6c);continue;case'1':_0x475f6c[_0x56d644(0x141)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x56d644(0xde)]();}catch(_0x2af5c9){logger[_0x56d644(0x123)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x56d644(0xd5)](_0x2af5c9));}continue;case'3':testOpsHelper[_0x56d644(0xd9)]();continue;case'4':_0x2ddcb4[_0x56d644(0x148)]();continue;case'5':PerformanceTester[_0x56d644(0xff)](PerformanceEvents[_0x56d644(0xe1)]);continue;}break;}});async function _0x1a4fc7(){const _0x34481b=_0x4b4256;try{await _0x2ddcb4[_0x34481b(0x15f)](),await _0x2ddcb4[_0x34481b(0x111)]();}finally{process[_0x34481b(0xf8)](_0x302ef3),await _0x2ddcb4[_0x34481b(0x115)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),await _0x1603fe['aLnjm'](_0x1a4fc7);}function a2_0x3ab6(){const _0x56a856=['accessibilityOptions','initialize','playwright-firefox','path','desiredCapabilities','5|1|3|0|2|4','../../bin/playwright/accessibility-helper','env','ayXBE','result','245478qMKZuj','bootstrapAll','addOptions','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getUserWorkerCount','codeceptjs/lib/index.js','require','addTests','event','helpers','GexmD','hubUrl','playwright-chromium','mZDii','findIndex','isUndefined','codecept.conf.js','cIEDD','load','15NScmPG','testConfig','format','../../helpers/accessibility-automation/helper','9470398hBUcpN','user','printBuildLink','BROWSERSTACK_RERUN_TESTS','chromium','title','isTrue','stop','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','SDK_CLEANUP','zOXUT','BROWSERSTACK_TEST_ACCESSIBILITY_YML','root','xBJza','enabled','Playwright','MIOAW','config','gherkin','lqBRW','../../helpers/performance/constants','USER_CONFIG_DETAILS_PATH','log','ThVHH','zFouQ','handleApp','useW3C','nBYTa','fRmqw','before','codecept.json','firefox','chdir','addConfig','SzyYz','../../helpers/testhub/testhubHandler','browser','CODECEPT','skipSessionStatus','start','browserWSEndpoint','util','YEfaD','WebDriver','vbAPN','mergeDeep','EHvqS','agxDX','qBuYY','ZOLsA','tzVyo','URkGO','process','webkit','assign','push','iIyzN','run','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','slice','passed','teardownAll','9uAdCTM','Ztmov','accessibility','5902470tybmnk','8JVXlUT','createGroupsOfSuites','profile','1157448RfNdFC','testObservability','replace','key','finalExecution','../utils/constants','debug','iRNNj','map','BROWSERSTACK_TEST_OBSERVABILITY_YML','length','../../helpers/helper','dirname','winstonLogger','accessKey','BrowserStackPlugin.js','getPlatformName','LXiOt','YRiFR','test','EVENTS','nlnRA','skipSessionName','existsSync','../../helpers/test-observability/utils','launchBuild','3512155xaMtPX','exports','cwd','CODECEPT_CUCUMBER','setAdditionalCapabilities','wIstL','/wd/hub','testContextOptions','info','6156090WsqXhe','errorMessage','FRAMEWORKS','userName','forEach','../../helpers/test-observability/constants','../../helpers/utilities','../utils/clientTroubleshootingService','printResults','bKBNv','prepareCapabilities','validPlatformsPresent','../../helpers/performance/performance-tester','codeceptjs','err','isEmpty','11621672DIMhIg','playwright-webkit','Passed\x20:\x20','frameworkName'];a2_0x3ab6=function(){return _0x56a856;};return a2_0x3ab6();}function a2_0x2724(_0x514d65,_0x1d14c2){const _0x3ab601=a2_0x3ab6();return a2_0x2724=function(_0x27241c,_0x2a07b5){_0x27241c=_0x27241c-0xd3;let _0x55dc8c=_0x3ab601[_0x27241c];return _0x55dc8c;},a2_0x2724(_0x514d65,_0x1d14c2);}module[a2_0x86aae6(0x138)]=run;
2
+ 'use strict';const a2_0x22909a=a2_0x860b;function a2_0x46f0(){const _0x5c418f=['playwright-firefox','profile','finalExecution','load','frameworkName','browserName','codecept.conf.js','ZIMSk','gCUKI','addOptions','igWPB','helpers','codeceptjs/lib/index.js','dueTA','exports','require','pnlvC','chdir','UTFbA','KmhFf','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','xQNdm','printResults','validateRerunTestList','999LHVyce','accessibilityOptions','wsAef','14922729kjlWUd','run','playwright-webkit','getUserWorkerCount','browser','mergeDeep','key','vYecJ','CxHuG','../../helpers/helper','result','findIndex','root','length','../../helpers/accessibility-automation/helper','validPlatformsPresent','platforms','split','setAdditionalCapabilities','WUgAb','2ffsZCA','../../helpers/testhub/testhubHandler','Playwright','util','assign','fwbht','655425alpWjB','teardownAll','2652030CTBlUO','existsSync','ClMKr','isEmpty','../utils/constants','MLZhR','isUndefined','addTests','BrowserStackPlugin.js','16984170zGmqBp','UtLhh','../../helpers/performance/performance-tester','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../../helpers/performance/constants','gQacH','FRAMEWORKS','err','all','BROWSERSTACK_RERUN','accessibility','join','title','useW3C','plugins','13166400JbgHVq','playwright-chromium','ybHTj','end','wZkPr','984cuWbhw','Passed\x20:\x20','addConfig','printBuildLink','KHPxk','15778bNFlfu','accessKey','testContextOptions','info','../../bin/playwright/accessibility-helper','forEach','webkit','host','failed','AWaCc','log','../../helpers/test-observability/constants','prepareCapabilities','../../helpers/logger','passed','handleApp','userName','slice','iZlGW','test','dirname','getPlatformName','frwKW','env','bootstrapAll','chromium','/wd/hub','browserStackCwd','browserWSEndpoint','testConfig','../utils/clientTroubleshootingService','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','stringify','USER_CONFIG_DETAILS_PATH','skipSessionStatus','Workers','EkABe','../../helpers/utilities','event','CODECEPT','stop','ooOSe','gherkin','config','path','push','codeceptjs','spawn','testObservability','0|1|2|4|3|5','wJWdp','codecept.json','before','chrome','replace','process','skipSessionName','format','Failed\x20:\x20','BrowserStackPlugin','ckJlX','errorMessage','14572nTmkww','../../helpers/test-observability/utils','launchBuild','map','rFvZu','createGroupsOfSuites','cwd','debug','Started\x20:\x20','BROWSERSTACK_RERUN_TESTS','isTestObservabilitySession','toLowerCase','initialize','firefox','trim'];a2_0x46f0=function(){return _0x5c418f;};return a2_0x46f0();}(function(_0x10e037,_0x226bd2){const _0x3b503a=a2_0x860b,_0x13e5ab=_0x10e037();while(!![]){try{const _0x571dae=parseInt(_0x3b503a(0x267))/0x1*(parseInt(_0x3b503a(0x261))/0x2)+parseInt(_0x3b503a(0x24a))/0x3*(-parseInt(_0x3b503a(0x223))/0x4)+-parseInt(_0x3b503a(0x269))/0x5+-parseInt(_0x3b503a(0x286))/0x6*(-parseInt(_0x3b503a(0x28b))/0x7)+parseInt(_0x3b503a(0x281))/0x8+parseInt(_0x3b503a(0x24d))/0x9+-parseInt(_0x3b503a(0x272))/0xa;if(_0x571dae===_0x226bd2)break;else _0x13e5ab['push'](_0x13e5ab['shift']());}catch(_0x164a21){_0x13e5ab['push'](_0x13e5ab['shift']());}}}(a2_0x46f0,0xd88ec));function a2_0x860b(_0x33a8a3,_0x59172e){const _0x46f06f=a2_0x46f0();return a2_0x860b=function(_0x860b8,_0x5c18e6){_0x860b8=_0x860b8-0x1f3;let _0x488350=_0x46f06f[_0x860b8];return _0x488350;},a2_0x860b(_0x33a8a3,_0x59172e);}const fs=require('fs'),path=require('path'),util=require(a2_0x22909a(0x264)),process=require(a2_0x22909a(0x21c)),logger=require(a2_0x22909a(0x298))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x22909a(0x256)),utilities=require(a2_0x22909a(0x20a)),{checkAccessibilityPlatformConfig}=require(a2_0x22909a(0x25b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x22909a(0x28f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x22909a(0x256)),CodeceptJS=requireModule(a2_0x22909a(0x23e),a2_0x22909a(0x213)),testOpsHelper=require(a2_0x22909a(0x224)),TestHubHandler=require(a2_0x22909a(0x262)),constants=require(a2_0x22909a(0x26d)),PerformanceTester=require(a2_0x22909a(0x274)),{FRAMEWORKS}=require(a2_0x22909a(0x296)),PerformanceEvents=require(a2_0x22909a(0x276))['EVENTS'],ClientTroubleShootingService=require(a2_0x22909a(0x203)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5d45d2,_0x338c0d)=>{const _0x3eca09=a2_0x22909a,_0x4f19a1={};_0x4f19a1['UtLhh']=function(_0x44b5ce,_0x1982dc){return _0x44b5ce===_0x1982dc;},_0x4f19a1[_0x3eca09(0x227)]=_0x3eca09(0x238),_0x4f19a1[_0x3eca09(0x277)]=_0x3eca09(0x218);const _0x1247bf=_0x4f19a1;let _0x2f4b76=null;const _0x490368={};let _0x3d5fc5=_0x338c0d['findIndex'](_0x3a868e=>_0x3a868e==='--config');_0x1247bf[_0x3eca09(0x273)](_0x3d5fc5,-0x1)&&(_0x3d5fc5=_0x338c0d[_0x3eca09(0x258)](_0x30ced1=>_0x30ced1==='-c'));if(!helper[_0x3eca09(0x26f)](_0x5d45d2[_0x3eca09(0x210)])&&fs[_0x3eca09(0x26a)](path['join'](process['cwd'](),_0x5d45d2[_0x3eca09(0x210)])))_0x2f4b76=path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x5d45d2[_0x3eca09(0x210)]),_0x338c0d[_0x3eca09(0x1f6)](_0x3d5fc5,0x2);else{if(!helper[_0x3eca09(0x26f)](_0x5d45d2['c'])&&fs[_0x3eca09(0x26a)](path[_0x3eca09(0x27d)](process['cwd'](),_0x5d45d2['c'])))_0x2f4b76=path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x5d45d2['c']),_0x338c0d[_0x3eca09(0x1f6)](_0x3d5fc5,0x2);else{if(fs[_0x3eca09(0x26a)](path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x1247bf['rFvZu'])))_0x2f4b76=path[_0x3eca09(0x27d)](process['cwd'](),_0x1247bf[_0x3eca09(0x227)]);else fs[_0x3eca09(0x26a)](path['join'](process[_0x3eca09(0x229)](),_0x1247bf['gQacH']))&&(_0x2f4b76=path[_0x3eca09(0x27d)](process[_0x3eca09(0x229)](),_0x1247bf['gQacH']));}}return process[_0x3eca09(0x1fc)][_0x3eca09(0x206)]=_0x2f4b76,_0x2f4b76;},getO11yRerunPattern=()=>{const _0x297cb3=a2_0x22909a,_0x2d7226=helper['isTrue'](process['env'][_0x297cb3(0x27b)]);if(_0x2d7226){const _0x223621=process[_0x297cb3(0x1fc)][_0x297cb3(0x22c)],_0x2269b6=[];if(helper[_0x297cb3(0x249)](_0x223621)&&!helper[_0x297cb3(0x26f)](_0x223621)){_0x223621[_0x297cb3(0x25e)](',')[_0x297cb3(0x226)](_0x472aa5=>{const _0x1c4980=_0x297cb3;_0x2269b6[_0x1c4980(0x212)]('('+_0x472aa5[_0x1c4980(0x231)]()+')');});const _0x9aa03='^'+_0x2269b6[_0x297cb3(0x27d)]('|')+'$';return _0x9aa03;}}return null;},a2_0xc41377={};a2_0xc41377[a2_0x22909a(0x21a)]=a2_0x22909a(0x1fe),a2_0xc41377[a2_0x22909a(0x282)]=a2_0x22909a(0x1fe),a2_0xc41377[a2_0x22909a(0x232)]=a2_0x22909a(0x230),a2_0xc41377[a2_0x22909a(0x24f)]=a2_0x22909a(0x291);const pwToCodeceptBrowser=a2_0xc41377;async function run(_0x4060ad,_0x249288,_0x939e82){const _0x205782=a2_0x22909a,_0x513b2e={'wZkPr':function(_0x29731e,_0x59d1e1,_0x5d7378,_0x51ea6b){return _0x29731e(_0x59d1e1,_0x5d7378,_0x51ea6b);},'ooOSe':function(_0x1a14bd,_0x5f51ad){return _0x1a14bd+_0x5f51ad;},'vYecJ':function(_0x56a641,_0x1dce73){return _0x56a641(_0x1dce73);},'gCUKI':function(_0x1cfd0d,_0x55adbf,_0x3ae5b3){return _0x1cfd0d(_0x55adbf,_0x3ae5b3);},'ClMKr':_0x205782(0x23d),'xQNdm':function(_0x352f78){return _0x352f78();},'KmhFf':_0x205782(0x1ff),'ckJlX':function(_0x2611f8){return _0x2611f8();},'wsAef':function(_0x94e4d5){return _0x94e4d5();},'AWaCc':_0x205782(0x21f),'mbLGs':_0x205782(0x287),'dueTA':_0x205782(0x22b),'ZIMSk':_0x205782(0x216),'ocPkx':function(_0x5c3ee7,_0x587027,_0x284306){return _0x5c3ee7(_0x587027,_0x284306);},'QOSiM':_0x205782(0x275),'pnlvC':function(_0x26a7ae,_0x1795fc,_0x21612c){return _0x26a7ae(_0x1795fc,_0x21612c);},'ybHTj':_0x205782(0x263),'wJWdp':'WebDriver','UTFbA':function(_0x168b02,_0x1b53b2){return _0x168b02!=_0x1b53b2;},'igWPB':function(_0x558ac0,_0x4e1a98){return _0x558ac0===_0x4e1a98;},'PBOuZ':_0x205782(0x20f),'KHPxk':function(_0x2cfdcf){return _0x2cfdcf();},'AsvJA':function(_0xed11be,_0x9dc053){return _0xed11be*_0x9dc053;},'CxHuG':'browser','frwKW':function(_0x2b50c0,_0x1f61f2,_0x2b0f12){return _0x2b50c0(_0x1f61f2,_0x2b0f12);},'WUgAb':'desiredCapabilities','EkABe':_0x205782(0x259),'MLZhR':_0x205782(0x271),'iZlGW':_0x205782(0x200),'fwbht':function(_0x35e909){return _0x35e909();}};await _0x939e82[_0x205782(0x22f)](_0x4060ad),await helper[_0x205782(0x1f4)](_0x939e82['config']);if(!_0x939e82[_0x205782(0x210)])return;process[_0x205782(0x233)]=_0x4060ad[_0x205782(0x233)];_0x4060ad[_0x205782(0x233)]&&(process['env'][_0x205782(0x233)]=_0x4060ad[_0x205782(0x233)]);const _0x2a0caa=_0x513b2e['ocPkx'](getUserCodeceptJSConfigs,_0x4060ad,_0x249288);let _0x59f6fd={};_0x2a0caa?(logger[_0x205782(0x28e)](_0x205782(0x204)+_0x2a0caa),_0x59f6fd=CodeceptJS[_0x205782(0x210)][_0x205782(0x235)](_0x2a0caa)):logger['info'](_0x513b2e['QOSiM']);let _0x25542f=![];_0x513b2e[_0x205782(0x242)](nestedKeyValue,_0x59f6fd,[_0x513b2e['ClMKr'],_0x513b2e[_0x205782(0x283)]])&&(_0x25542f=!![]);const _0x591942=_0x25542f?_0x513b2e[_0x205782(0x283)]:_0x513b2e[_0x205782(0x217)];let _0x459164=!_0x25542f?helper[_0x205782(0x27f)](_0x939e82['config']):![];!helper[_0x205782(0x26f)](_0x939e82[_0x205782(0x210)][_0x205782(0x24b)])&&(process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x205782(0x205)](_0x939e82['config'][_0x205782(0x24b)]));let _0x2cef8b=_0x939e82[_0x205782(0x210)][_0x205782(0x27c)];_0x2cef8b=_0x2cef8b||_0x513b2e[_0x205782(0x254)](checkAccessibilityPlatformConfig,_0x939e82[_0x205782(0x210)]),process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2cef8b;_0x2cef8b&&(_0x459164=!_0x2cef8b);_0x513b2e[_0x205782(0x244)](_0x939e82['config'][_0x205782(0x215)],null)?process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x939e82[_0x205782(0x210)][_0x205782(0x215)]:process[_0x205782(0x1fc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x513b2e[_0x205782(0x23c)](_0x591942,_0x513b2e[_0x205782(0x283)]);const _0x277cdc=_0x513b2e[_0x205782(0x23a)](nestedKeyValue,_0x59f6fd,[_0x513b2e['PBOuZ']]),_0x580073=_0x277cdc&&!helper[_0x205782(0x26c)](_0x277cdc)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x205782(0x20c)],_0x1d7f33=await TestHubHandler[_0x205782(0x225)](_0x580073,_0x939e82);_0x2cef8b&&_0x513b2e[_0x205782(0x254)](setAccessibilityCapabilities,_0x939e82['config']);const _0x17b281={},_0x5a3b50=[],_0x23bbab=_0x939e82['config']['parallelsPerPlatform']||helper[_0x205782(0x250)](_0x4060ad,_0x249288,_0x939e82['config'],constants[_0x205782(0x278)]['CODECEPT'])||0x1;let _0x2c7032=0x1;if(_0x513b2e[_0x205782(0x28a)](isBrowserstackInfra)){const _0x226607=helper[_0x205782(0x297)](_0x939e82[_0x205782(0x210)],_0x459164,constants['FRAMEWORKS'][_0x205782(0x20c)]);_0x226607['forEach'](_0x47ee42=>{const _0x465ca5=_0x205782;helper[_0x465ca5(0x25f)](_0x47ee42);}),helper[_0x205782(0x25c)](_0x939e82[_0x205782(0x210)])?_0x2c7032=_0x513b2e['AsvJA'](_0x23bbab,_0x939e82[_0x205782(0x210)][_0x205782(0x25d)][_0x205782(0x25a)]):_0x2c7032=_0x23bbab,_0x226607[_0x205782(0x290)](_0x3e46f0=>{const _0x595b1d=_0x205782,_0x58db0d=_0x513b2e[_0x595b1d(0x20e)](helper[_0x595b1d(0x1fa)](_0x3e46f0,'_'),'_'+Date['now']()),_0x4d9f79=((()=>{const _0x421880=_0x595b1d;if(_0x25542f){const _0x555a8b=pwToCodeceptBrowser[_0x3e46f0['browserName']]||_0x3e46f0[_0x421880(0x237)],_0x1edf73=helper['getPlaywrightUrl'](_0x939e82[_0x421880(0x210)]),_0x50ea87=Object[_0x421880(0x265)]({},_0x3e46f0);return _0x513b2e[_0x421880(0x285)](processAccessibilityCaps,_0x50ea87,_0x1edf73,null),{'browser':_0x555a8b,[_0x555a8b]:{'browserWSEndpoint':_0x513b2e[_0x421880(0x20e)](_0x1edf73,_0x513b2e[_0x421880(0x254)](encodeURIComponent,JSON[_0x421880(0x205)](_0x50ea87)))}};}const _0x3cd7a4={};return _0x3cd7a4['desiredCapabilities']=_0x3e46f0,_0x3cd7a4['user']=_0x939e82[_0x421880(0x210)][_0x421880(0x1f5)],_0x3cd7a4[_0x421880(0x253)]=_0x939e82[_0x421880(0x210)][_0x421880(0x28c)],_0x3cd7a4;})()),_0x344e4d=_0x513b2e[_0x595b1d(0x23a)](nestedKeyValue,_0x59f6fd,[_0x513b2e[_0x595b1d(0x26b)],_0x591942]);_0x17b281[_0x58db0d]=_0x344e4d?helper[_0x595b1d(0x252)](_0x4d9f79,_0x344e4d):_0x4d9f79;if(_0x25542f)_0x17b281[_0x58db0d][_0x595b1d(0x251)]=pwToCodeceptBrowser[_0x3e46f0[_0x595b1d(0x237)]]||_0x3e46f0[_0x595b1d(0x237)];else{_0x17b281[_0x58db0d]['browser']=_0x3e46f0[_0x595b1d(0x237)]||_0x4d9f79[_0x595b1d(0x251)];if(_0x513b2e[_0x595b1d(0x247)](isBrowserstackInfra)){_0x17b281[_0x58db0d][_0x595b1d(0x292)]=constants['hubUrl'][_0x595b1d(0x21b)](_0x513b2e[_0x595b1d(0x245)],'')['replace'](/https?:\/\//,'');;_0x17b281[_0x58db0d][_0x595b1d(0x211)]=_0x513b2e['KmhFf'];}}_0x5a3b50['push'](_0x58db0d);});}else{_0x2c7032=0x1;if(_0x25542f){const _0x2f2e83=_0x513b2e[_0x205782(0x23a)](nestedKeyValue,_0x59f6fd,[_0x513b2e[_0x205782(0x26b)],_0x591942,_0x513b2e[_0x205782(0x255)]]),_0x4a7219=_0x513b2e['frwKW'](nestedKeyValue,_0x59f6fd,[_0x513b2e[_0x205782(0x26b)],_0x591942,_0x2f2e83]);if(_0x4a7219&&_0x4a7219[_0x205782(0x201)]){const _0x344803={};_0x344803['platforms']=[],_0x4a7219[_0x205782(0x201)]=helper[_0x205782(0x297)](Object[_0x205782(0x265)]({},_0x939e82[_0x205782(0x210)],_0x344803),null,_0x580073[_0x205782(0x22e)](),null,null,_0x4a7219['browserWSEndpoint']);}}else{const _0x4f1d67={};_0x4f1d67['platforms']=[],_0x59f6fd[_0x513b2e[_0x205782(0x26b)]][_0x591942][_0x513b2e['WUgAb']]=helper[_0x205782(0x297)](Object[_0x205782(0x265)]({},_0x939e82['config'],_0x4f1d67),null,_0x580073[_0x205782(0x22e)](),_0x513b2e[_0x205782(0x1fb)](nestedKeyValue,_0x59f6fd,[_0x513b2e['ClMKr'],_0x591942,_0x513b2e[_0x205782(0x260)]])||{},null,null);}_0x17b281[_0x513b2e[_0x205782(0x209)]]=_0x59f6fd,_0x5a3b50[_0x205782(0x212)](_0x513b2e[_0x205782(0x209)]);}const _0x5265a7={};_0x5265a7[_0x205782(0x202)]=_0x2a0caa;const _0xe9bf8d=_0x5265a7,_0xa689dd=path[_0x205782(0x27d)](__dirname,_0x513b2e[_0x205782(0x26e)]),_0x41d45f=process['cwd']();process['env'][_0x513b2e[_0x205782(0x1f7)]]=_0x41d45f,process[_0x205782(0x243)](path[_0x205782(0x1f9)](_0x2a0caa));const _0x5a0a9b=new CodeceptJS[(_0x205782(0x208))](null,_0xe9bf8d),_0x12ec63=_0x5a0a9b[_0x205782(0x228)](_0x23bbab),_0x38b4e1=testOpsHelper[_0x205782(0x22d)](),_0x3cd5e2=_0x5a3b50['map'](_0x480b8a=>{const _0x2b9bf5=_0x205782,_0x50958c={};_0x50958c[_0x2b9bf5(0x263)]=_0x17b281[_0x480b8a];const _0x3a7cb5={};_0x3a7cb5['WebDriver']=_0x17b281[_0x480b8a];const _0x530fe2=_0x25542f?_0x50958c:_0x3a7cb5,_0x238d76=_0x513b2e[_0x2b9bf5(0x221)](getO11yRerunPattern),_0x1883b9={};_0x1883b9[_0x2b9bf5(0x23d)]=_0x530fe2;const _0x2ec9cc={};_0x2ec9cc[_0x2b9bf5(0x241)]=_0xa689dd,_0x2ec9cc['enabled']=!![],_0x2ec9cc[_0x2b9bf5(0x21d)]=_0x939e82[_0x2b9bf5(0x210)][_0x2b9bf5(0x28d)][_0x2b9bf5(0x21d)],_0x2ec9cc[_0x2b9bf5(0x207)]=_0x939e82['config'][_0x2b9bf5(0x28d)][_0x2b9bf5(0x207)],_0x2ec9cc['testObservability']=_0x38b4e1,_0x2ec9cc[_0x2b9bf5(0x236)]=_0x580073;const _0x484d59={};_0x484d59[_0x2b9bf5(0x220)]=_0x2ec9cc;const _0x1b01b3={};return _0x1b01b3[_0x2b9bf5(0x280)]=_0x484d59,helper[_0x2b9bf5(0x252)]({},_0x59f6fd,_0x513b2e[_0x2b9bf5(0x24c)](isBrowserstackInfra)?_0x1883b9:{},_0x238d76?{'grep':_0x238d76}:{},_0x1b01b3);});for(const _0x21e4c4 of _0x3cd5e2){for(const _0x35f006 of _0x12ec63){const _0x1fefd9=_0x5a0a9b[_0x205782(0x214)]();_0x1fefd9[_0x205782(0x270)](_0x35f006),_0x1fefd9[_0x205782(0x288)](_0x21e4c4);const _0x1feca0={};_0x1feca0['config']=_0x2a0caa,_0x1fefd9[_0x205782(0x23b)](Object[_0x205782(0x265)](_0x1feca0,_0x4060ad));}}_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)][_0x205782(0x1f8)][_0x205782(0x293)],(_0x365ee7,_0x377f9c)=>{const _0x43d2c2=_0x205782;console['log'](_0x513b2e[_0x43d2c2(0x294)],_0x365ee7[_0x43d2c2(0x27e)]);const _0x5ad001={[_0x365ee7[_0x43d2c2(0x27e)]]:_0x365ee7[_0x43d2c2(0x279)]['stack']};_testErrorData['push'](_0x5ad001);}),_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)][_0x205782(0x1f8)][_0x205782(0x1f3)],async _0x238251=>{const _0x5865a7=_0x205782;console[_0x5865a7(0x295)](_0x513b2e['mbLGs'],_0x238251[_0x5865a7(0x27e)]);}),_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)]['test'][_0x205782(0x219)],async _0x455a6b=>{const _0x22501c=_0x205782;console['log'](_0x513b2e[_0x22501c(0x23f)],_0x455a6b['title']);}),_0x5a0a9b['on'](CodeceptJS[_0x205782(0x20b)][_0x205782(0x27a)][_0x205782(0x257)],async()=>{const _0x3efe3a=_0x205782,_0x38aef5=_0x513b2e[_0x3efe3a(0x239)]['split']('|');let _0x354da9=0x0;while(!![]){switch(_0x38aef5[_0x354da9++]){case'0':PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);continue;case'1':_0x939e82[_0x3efe3a(0x222)]=_testErrorData;continue;case'2':testOpsHelper[_0x3efe3a(0x289)]();continue;case'3':try{await TestHubHandler[_0x3efe3a(0x20d)]();}catch(_0x4cb6df){logger[_0x3efe3a(0x22a)](_0x3efe3a(0x246)+util[_0x3efe3a(0x21e)](_0x4cb6df));}continue;case'4':utilities[_0x3efe3a(0x234)](_0x939e82);continue;case'5':_0x5a0a9b[_0x3efe3a(0x248)]();continue;}break;}});async function _0x296088(){const _0x17cf80=_0x205782;try{await _0x5a0a9b[_0x17cf80(0x1fd)](),await _0x5a0a9b[_0x17cf80(0x24e)]();}finally{process[_0x17cf80(0x243)](_0x41d45f),await _0x5a0a9b[_0x17cf80(0x268)]();}}PerformanceTester[_0x205782(0x284)](PerformanceEvents['SDK_SETUP']),await _0x513b2e[_0x205782(0x266)](_0x296088);}module[a2_0x22909a(0x240)]=run;
@@ -1 +1 @@
1
- function a3_0x50c2(){const _0x17c878=['Playwright','25nhrJFt','JXLXg','getMinVersionForBrowser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','CakSi','dENkn','cloudProvider','os_version','fetchPlatformDetails','browser_version','306418akSZzc','vkVPj','warn','searchParams','platformVersion','browserName','VisLU','WebDriver','browserstack_executor','fzyXx','317496RvnAOR','1246518piidpD','wLrsq','deviceName','capabilities','../../bin/playwright/sessionDetails','name','unknown_grid','accessibilityPlatform','sessionId','platform','string','constructor','ZWbre','winstonLogger','latest','lrAgc','browserWSEndpoint','get','config','wqVlS','browserVersion','osVersion','bstack:options','sPmJV','CnrGu','znQkh','ybHfL','browser','5297187SyEzdY','getDetails','215916suMDjd','browserstack_accessibility_automation_script','processWebDriverConfig','iVKqx','3064425zsMxfw','nZmOu','isVersionSupported','\x20browser\x20version\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','goCQd','../../helpers/test-observability/utils','caps','8779068cegfUr','Jozyn','includes','isBrowserSupportedForAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','hTgYt','LPwKG','__cloud_provider___','btdwM','bsSessionId','tMLPm','../../helpers/logger','ihtoo','../../helpers/accessibility-automation/helper','\x20or\x20higher\x20','KYpml','16uTFoOm'];a3_0x50c2=function(){return _0x17c878;};return a3_0x50c2();}const a3_0x33c8eb=a3_0x4929;(function(_0xce6b0a,_0x4f307a){const _0x282454=a3_0x4929,_0x4c01e7=_0xce6b0a();while(!![]){try{const _0x3b7e5f=-parseInt(_0x282454(0xc3))/0x1+-parseInt(_0x282454(0xce))/0x2+-parseInt(_0x282454(0x9f))/0x3+-parseInt(_0x282454(0xec))/0x4*(parseInt(_0x282454(0xb9))/0x5)+parseInt(_0x282454(0xcd))/0x6+parseInt(_0x282454(0xea))/0x7+-parseInt(_0x282454(0xb7))/0x8*(-parseInt(_0x282454(0xa7))/0x9);if(_0x3b7e5f===_0x4f307a)break;else _0x4c01e7['push'](_0x4c01e7['shift']());}catch(_0x11dbaf){_0x4c01e7['push'](_0x4c01e7['shift']());}}}(a3_0x50c2,0x83b7a));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x33c8eb(0xb2))[a3_0x33c8eb(0xdb)],PlaywrightSessionDetails=require(a3_0x33c8eb(0xd2)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x33c8eb(0xa5)),accessibilityHelper=require(a3_0x33c8eb(0xb4)),{isBrowserstackInfra}=require('../../helpers/helper'),getOSVersionFromCaps=_0x190003=>{const _0x13bfea=a3_0x33c8eb,_0x46a066={};_0x46a066[_0x13bfea(0xac)]=_0x13bfea(0xe4),_0x46a066[_0x13bfea(0xb6)]=_0x13bfea(0xc7),_0x46a066['ybHfL']='platform_version',_0x46a066[_0x13bfea(0xaf)]=_0x13bfea(0xe3),_0x46a066[_0x13bfea(0xb3)]=_0x13bfea(0xc0);const _0x4cd165=_0x46a066;if(!_0x190003)return null;const _0x50fda6=_0x190003[_0x4cd165[_0x13bfea(0xac)]],_0x30e05a=[_0x4cd165[_0x13bfea(0xb6)],_0x4cd165[_0x13bfea(0xe8)],_0x4cd165[_0x13bfea(0xaf)],_0x4cd165[_0x13bfea(0xb3)]];for(const _0x4b7359 of _0x30e05a){if(_0x50fda6&&_0x50fda6[_0x4b7359])return _0x50fda6[_0x4b7359];else{if(_0x190003[_0x4b7359])return _0x190003[_0x4b7359];}}return null;};function a3_0x4929(_0x21971f,_0x47f13f){const _0x50c2e5=a3_0x50c2();return a3_0x4929=function(_0x492918,_0x450b6c){_0x492918=_0x492918-0x9e;let _0x1b5b93=_0x50c2e5[_0x492918];return _0x1b5b93;},a3_0x4929(_0x21971f,_0x47f13f);}exports[a3_0x33c8eb(0xc1)]=_0x19fea1=>{const _0x4e76ea=a3_0x33c8eb,_0xb3da96={'JXLXg':_0x4e76ea(0xd4),'qNtnC':function(_0x1b6cdb,_0x4aeeeb){return _0x1b6cdb===_0x4aeeeb;},'fzyXx':_0x4e76ea(0xca),'sPmJV':function(_0x13c44d,_0x1ab152){return _0x13c44d(_0x1ab152);},'LPwKG':function(_0x4248c8,_0xd54e4c,_0x123a03){return _0x4248c8(_0xd54e4c,_0x123a03);},'maAdl':_0x4e76ea(0xe0),'iVKqx':'desiredCapabilities','ZWbre':function(_0x56e218,_0x29a43d){return _0x56e218===_0x29a43d;},'VisLU':_0x4e76ea(0xb8),'nZmOu':function(_0x263931,_0x14ef98,_0xd11655){return _0x263931(_0x14ef98,_0xd11655);},'WCqBp':_0x4e76ea(0xe9),'wqVlS':_0x4e76ea(0xde),'CnrGu':_0x4e76ea(0xa6)};if(!_0x19fea1)return null;let _0x1711d9=global[_0x4e76ea(0xae)]||_0xb3da96[_0x4e76ea(0xba)];if(_0xb3da96['qNtnC'](_0x19fea1[_0x4e76ea(0xd9)][_0x4e76ea(0xd3)],_0xb3da96[_0x4e76ea(0xcc)])){const _0x5358d0=_0x19fea1[_0x4e76ea(0xe9)];if(!_0x5358d0)return null;const _0x384ed2=_0x5358d0[_0x4e76ea(0xd1)],_0x88e043=_0xb3da96[_0x4e76ea(0xe5)](getOSVersionFromCaps,_0xb3da96[_0x4e76ea(0xad)](nestedKeyValue,_0x19fea1,[_0xb3da96['maAdl'],_0xb3da96[_0x4e76ea(0x9e)]]));return{[_0x1711d9]:{'browser':_0x384ed2[_0x4e76ea(0xc8)],'browser_version':_0x384ed2['browserVersion'],'capabilities':_0x384ed2,'platform':_0x384ed2['platformName'],'platform_version':_0x384ed2['platformVersion']||_0x88e043,'product':_0xb3da96[_0x4e76ea(0xe5)](getObservabilityLinkedProductName,_0x384ed2),'session_id':_0x5358d0[_0x4e76ea(0xd6)]}};}else{if(_0xb3da96[_0x4e76ea(0xda)](_0x19fea1[_0x4e76ea(0xd9)][_0x4e76ea(0xd3)],_0xb3da96[_0x4e76ea(0xc9)])){const _0x2452af=PlaywrightSessionDetails[_0x4e76ea(0xeb)]();_0x1711d9=_0x2452af[_0x4e76ea(0xbf)]||_0x1711d9;const _0x62fbc5=_0xb3da96[_0x4e76ea(0xa0)](nestedKeyValue,_0x19fea1,[_0xb3da96['maAdl'],_0xb3da96['WCqBp'],_0xb3da96[_0x4e76ea(0xe1)]]),_0x1a33c2=_0x62fbc5?JSON['parse'](new URL(_0x62fbc5)[_0x4e76ea(0xc6)][_0x4e76ea(0xdf)](_0xb3da96[_0x4e76ea(0xe6)])):{};return{[_0x1711d9]:{'browser':_0x2452af['browser']||_0x1a33c2['browserName'],'browser_version':_0x2452af[_0x4e76ea(0xc2)]||_0x1a33c2[_0x4e76ea(0xc2)],'capabilities':_0x1a33c2,'platform':_0x2452af[_0x4e76ea(0xd7)],'platform_version':_0x2452af['platform_version'],'product':_0xb3da96[_0x4e76ea(0xe5)](getObservabilityLinkedProductName,_0x1a33c2),'session_id':_0x2452af[_0x4e76ea(0xb0)]}};}}},exports[a3_0x33c8eb(0xee)]=_0x14d17f=>{const _0x1b4599=a3_0x33c8eb,_0x330ddf={'Jozyn':function(_0x19116b){return _0x19116b();},'CakSi':_0x1b4599(0xab),'tMLPm':function(_0x4d58b1,_0x1a3b95){return _0x4d58b1!==_0x1a3b95;},'wLrsq':_0x1b4599(0xdc),'znQkh':'on\x20non-BrowserStack\x20infrastructure\x20','dENkn':function(_0x19dfe6,_0x3715fb){return _0x19dfe6(_0x3715fb);},'RdVCb':_0x1b4599(0xbc)};if(_0x330ddf[_0x1b4599(0xa8)](isAccessibilityAutomationSession)){const _0x4bddb6=_0x14d17f['browser'],_0x2abe11=_0x4bddb6[_0x1b4599(0xd1)];global[_0x1b4599(0xd5)]=!![];!accessibilityHelper[_0x1b4599(0xaa)](_0x2abe11[_0x1b4599(0xc8)])&&(logger[_0x1b4599(0xc5)](_0x330ddf[_0x1b4599(0xbd)]),global[_0x1b4599(0xd5)]=![]);if(_0x330ddf[_0x1b4599(0xb1)](_0x2abe11[_0x1b4599(0xe2)],_0x330ddf[_0x1b4599(0xcf)])){const _0x232a32=_0x330ddf[_0x1b4599(0xa8)](isBrowserstackInfra),_0x193671=accessibilityHelper[_0x1b4599(0xbb)](_0x2abe11[_0x1b4599(0xc8)],_0x232a32),_0x5f58a3=accessibilityHelper['getBrowserDisplayName'](_0x2abe11['browserName']);if(!accessibilityHelper[_0x1b4599(0xa1)](_0x2abe11[_0x1b4599(0xe2)],_0x193671)){const _0x464bba=_0x232a32?'':_0x330ddf[_0x1b4599(0xe7)];logger[_0x1b4599(0xc5)](_0x1b4599(0xa3)+_0x5f58a3+_0x1b4599(0xa2)+_0x193671+_0x1b4599(0xb5)+_0x464bba+'.'),global[_0x1b4599(0xd5)]=![];}}!_0x330ddf[_0x1b4599(0xbe)](isUndefined,_0x2abe11[_0x1b4599(0xd0)])&&(logger[_0x1b4599(0xc5)](_0x330ddf['RdVCb']),global[_0x1b4599(0xd5)]=![]);}},exports['shouldPatchExecuteScript']=_0x2cb8ad=>{const _0x18ca16=a3_0x33c8eb,_0x3454cf={};_0x3454cf[_0x18ca16(0xdd)]=function(_0x15b4ec,_0x135812){return _0x15b4ec!==_0x135812;},_0x3454cf[_0x18ca16(0xc4)]=_0x18ca16(0xd8),_0x3454cf['eSAGp']=_0x18ca16(0xcb),_0x3454cf[_0x18ca16(0xa4)]=_0x18ca16(0xed);const _0x18a1b9=_0x3454cf;if(!_0x2cb8ad)return![];else{if(_0x18a1b9[_0x18ca16(0xdd)](typeof _0x2cb8ad,_0x18a1b9[_0x18ca16(0xc4)]))return!![];}return!_0x2cb8ad[_0x18ca16(0xa9)](_0x18a1b9['eSAGp'])&&!_0x2cb8ad[_0x18ca16(0xa9)](_0x18a1b9[_0x18ca16(0xa4)]);};
1
+ const a3_0x4837e1=a3_0x4af2;function a3_0x37ae(){const _0x314ef8=['searchParams','../../helpers/helper','isBrowserSupportedForAccessibility','latest','../../helpers/accessibility-automation/helper','deviceName','bstack:options','9ZtSjBk','1282944GfeqTn','aYwmo','962142TycAoA','accessibilityPlatform','mzVSw','BumVR','kUYOO','browser','gGRwS','isVersionSupported','name','on\x20non-BrowserStack\x20infrastructure\x20','Aelya','winstonLogger','eWWbA','\x20or\x20higher\x20','Woeup','1613843tUdrQW','browserstack_accessibility_automation_script','Playwright','1589076rnDXiy','\x20browser\x20version\x20','2888744TKflZE','getBrowserDisplayName','browserName','capabilities','osVersion','pyvml','505945QaFvgH','shouldPatchExecuteScript','platformName','3sunhVb','NHFKD','browserVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','yZlxI','fetchPlatformDetails','desiredCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','warn','browser_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','constructor','__cloud_provider___','brkkb','yvWQG','getDetails','string','RPVEb','yYKRS','platformVersion','fTVzk','platform_version','PtFfi','SlKVN','config','EKIpW','mvEDl','WGpJI','nMmSG','caps','KGfHc','RblFB','HmYaE','JknKm','cloudProvider','uDXLv','processWebDriverConfig','230382tPIgOo','includes','browserWSEndpoint','DmIxr'];a3_0x37ae=function(){return _0x314ef8;};return a3_0x37ae();}(function(_0xa91f93,_0x3f0fa7){const _0x151322=a3_0x4af2,_0x3ec893=_0xa91f93();while(!![]){try{const _0x244463=-parseInt(_0x151322(0xb7))/0x1*(-parseInt(_0x151322(0x8c))/0x2)+parseInt(_0x151322(0x9a))/0x3+parseInt(_0x151322(0x98))/0x4+parseInt(_0x151322(0xb4))/0x5+-parseInt(_0x151322(0xac))/0x6+-parseInt(_0x151322(0xa9))/0x7+parseInt(_0x151322(0xae))/0x8*(-parseInt(_0x151322(0x97))/0x9);if(_0x244463===_0x3f0fa7)break;else _0x3ec893['push'](_0x3ec893['shift']());}catch(_0x2d3239){_0x3ec893['push'](_0x3ec893['shift']());}}}(a3_0x37ae,0x3892c));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x4837e1(0xa5)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x4837e1(0x94)),{isBrowserstackInfra}=require(a3_0x4837e1(0x91)),getOSVersionFromCaps=_0x55471a=>{const _0x48b38a=a3_0x4837e1,_0x31eabb={};_0x31eabb['yYKRS']=_0x48b38a(0x96),_0x31eabb[_0x48b38a(0xa0)]=_0x48b38a(0x7a),_0x31eabb[_0x48b38a(0x87)]=_0x48b38a(0x7c),_0x31eabb[_0x48b38a(0xa8)]=_0x48b38a(0xb2),_0x31eabb['ZoPEy']='os_version';const _0x41dc04=_0x31eabb;if(!_0x55471a)return null;const _0x5aa173=_0x55471a[_0x41dc04[_0x48b38a(0x79)]],_0x2d7952=[_0x41dc04[_0x48b38a(0xa0)],_0x41dc04[_0x48b38a(0x87)],_0x41dc04[_0x48b38a(0xa8)],_0x41dc04['ZoPEy']];for(const _0x3600fa of _0x2d7952){if(_0x5aa173&&_0x5aa173[_0x3600fa])return _0x5aa173[_0x3600fa];else{if(_0x55471a[_0x3600fa])return _0x55471a[_0x3600fa];}}return null;};function a3_0x4af2(_0x1d0cea,_0x523e83){const _0x37ae80=a3_0x37ae();return a3_0x4af2=function(_0x4af27e,_0x40b095){_0x4af27e=_0x4af27e-0x69;let _0x26f8a1=_0x37ae80[_0x4af27e];return _0x26f8a1;},a3_0x4af2(_0x1d0cea,_0x523e83);}exports[a3_0x4837e1(0x6c)]=_0x5885e7=>{const _0x46971a=a3_0x4837e1,_0xe355e1={'kUYOO':'unknown_grid','nMmSG':function(_0x1c3450,_0x24f5f0){return _0x1c3450===_0x24f5f0;},'UYnYT':'WebDriver','RblFB':function(_0x51b37a,_0x55a9ac){return _0x51b37a(_0x55a9ac);},'SlKVN':function(_0x551c48,_0x3b246e,_0x862b44){return _0x551c48(_0x3b246e,_0x862b44);},'brkkb':_0x46971a(0x7f),'RPVEb':_0x46971a(0x6d),'Aelya':function(_0x3403af,_0x6adc3a){return _0x3403af(_0x6adc3a);},'pyvml':_0x46971a(0xab),'PtFfi':function(_0x320836,_0x1e9de8,_0x1c4e4e){return _0x320836(_0x1e9de8,_0x1c4e4e);},'DmIxr':_0x46971a(0x9f),'NHFKD':_0x46971a(0x8e),'uDXLv':_0x46971a(0x84),'JknKm':function(_0x4516f3,_0xf71119){return _0x4516f3(_0xf71119);}};if(!_0x5885e7)return null;let _0x44e5f2=global[_0x46971a(0x73)]||_0xe355e1[_0x46971a(0x9e)];if(_0xe355e1[_0x46971a(0x83)](_0x5885e7[_0x46971a(0x72)][_0x46971a(0xa2)],_0xe355e1['UYnYT'])){const _0x46b22f=_0x5885e7[_0x46971a(0x9f)];if(!_0x46b22f)return null;const _0x17f013=_0x46b22f[_0x46971a(0xb1)],_0x434f95=_0xe355e1[_0x46971a(0x86)](getOSVersionFromCaps,_0xe355e1[_0x46971a(0x7e)](nestedKeyValue,_0x5885e7,[_0xe355e1[_0x46971a(0x74)],_0xe355e1[_0x46971a(0x78)]]));return{[_0x44e5f2]:{'browser':_0x17f013[_0x46971a(0xb0)],'browser_version':_0x17f013[_0x46971a(0x69)],'capabilities':_0x17f013,'platform':_0x17f013[_0x46971a(0xb6)],'platform_version':_0x17f013[_0x46971a(0x7a)]||_0x434f95,'product':_0xe355e1[_0x46971a(0xa4)](getObservabilityLinkedProductName,_0x17f013),'session_id':_0x46b22f['sessionId']}};}else{if(_0xe355e1['nMmSG'](_0x5885e7[_0x46971a(0x72)][_0x46971a(0xa2)],_0xe355e1[_0x46971a(0xb3)])){const _0x5be7bf=PlaywrightSessionDetails[_0x46971a(0x76)]();_0x44e5f2=_0x5be7bf[_0x46971a(0x89)]||_0x44e5f2;const _0x1682a9=_0xe355e1[_0x46971a(0x7d)](nestedKeyValue,_0x5885e7,[_0xe355e1[_0x46971a(0x74)],_0xe355e1[_0x46971a(0x8f)],_0xe355e1[_0x46971a(0xb8)]]),_0x1a6343=_0x1682a9?JSON['parse'](new URL(_0x1682a9)[_0x46971a(0x90)]['get'](_0xe355e1[_0x46971a(0x8a)])):{};return{[_0x44e5f2]:{'browser':_0x5be7bf['browser']||_0x1a6343[_0x46971a(0xb0)],'browser_version':_0x5be7bf['browser_version']||_0x1a6343[_0x46971a(0x70)],'capabilities':_0x1a6343,'platform':_0x5be7bf['platform'],'platform_version':_0x5be7bf[_0x46971a(0x7c)],'product':_0xe355e1[_0x46971a(0x88)](getObservabilityLinkedProductName,_0x1a6343),'session_id':_0x5be7bf['bsSessionId']}};}}},exports[a3_0x4837e1(0x8b)]=_0x5f36ad=>{const _0x59e8aa=a3_0x4837e1,_0x293f6c={'mzVSw':function(_0x3b02cf){return _0x3b02cf();},'eWWbA':_0x59e8aa(0x6e),'yZlxI':function(_0x1d4f97,_0x577479){return _0x1d4f97!==_0x577479;},'BumVR':_0x59e8aa(0x93),'yvWQG':function(_0x12fa4c){return _0x12fa4c();},'WGpJI':_0x59e8aa(0xa3),'PWeUm':function(_0x193d41,_0x49ed0a){return _0x193d41(_0x49ed0a);},'KGfHc':_0x59e8aa(0x6a)};if(_0x293f6c[_0x59e8aa(0x9c)](isAccessibilityAutomationSession)){const _0x167aa0=_0x5f36ad[_0x59e8aa(0x9f)],_0xb57ad1=_0x167aa0['capabilities'];global['accessibilityPlatform']=!![];!accessibilityHelper[_0x59e8aa(0x92)](_0xb57ad1[_0x59e8aa(0xb0)])&&(logger[_0x59e8aa(0x6f)](_0x293f6c[_0x59e8aa(0xa6)]),global[_0x59e8aa(0x9b)]=![]);if(_0x293f6c[_0x59e8aa(0x6b)](_0xb57ad1[_0x59e8aa(0x69)],_0x293f6c[_0x59e8aa(0x9d)])){const _0x21c23b=_0x293f6c[_0x59e8aa(0x75)](isBrowserstackInfra),_0x422351=accessibilityHelper['getMinVersionForBrowser'](_0xb57ad1[_0x59e8aa(0xb0)],_0x21c23b),_0x4eb8e9=accessibilityHelper[_0x59e8aa(0xaf)](_0xb57ad1['browserName']);if(!accessibilityHelper[_0x59e8aa(0xa1)](_0xb57ad1[_0x59e8aa(0x69)],_0x422351)){const _0x140b4a=_0x21c23b?'':_0x293f6c[_0x59e8aa(0x82)];logger[_0x59e8aa(0x6f)](_0x59e8aa(0x71)+_0x4eb8e9+_0x59e8aa(0xad)+_0x422351+_0x59e8aa(0xa7)+_0x140b4a+'.'),global[_0x59e8aa(0x9b)]=![];}}!_0x293f6c['PWeUm'](isUndefined,_0xb57ad1[_0x59e8aa(0x95)])&&(logger[_0x59e8aa(0x6f)](_0x293f6c[_0x59e8aa(0x85)]),global[_0x59e8aa(0x9b)]=![]);}},exports[a3_0x4837e1(0xb5)]=_0x536501=>{const _0x5a11e0=a3_0x4837e1,_0x54fb25={};_0x54fb25[_0x5a11e0(0x7b)]=function(_0x24a218,_0x498db6){return _0x24a218!==_0x498db6;},_0x54fb25[_0x5a11e0(0x80)]=_0x5a11e0(0x77),_0x54fb25[_0x5a11e0(0x81)]='browserstack_executor',_0x54fb25[_0x5a11e0(0x99)]=_0x5a11e0(0xaa);const _0x181525=_0x54fb25;if(!_0x536501)return![];else{if(_0x181525[_0x5a11e0(0x7b)](typeof _0x536501,_0x181525[_0x5a11e0(0x80)]))return!![];}return!_0x536501[_0x5a11e0(0x8d)](_0x181525['mvEDl'])&&!_0x536501[_0x5a11e0(0x8d)](_0x181525['aYwmo']);};
@@ -1 +1 @@
1
- const a4_0x110348=a4_0x90d1;(function(_0x3c9f07,_0x6e63c7){const _0x27cb9d=a4_0x90d1,_0x30c2e8=_0x3c9f07();while(!![]){try{const _0x56cfbb=-parseInt(_0x27cb9d(0x25f))/0x1+-parseInt(_0x27cb9d(0x1dc))/0x2+parseInt(_0x27cb9d(0x1cb))/0x3*(-parseInt(_0x27cb9d(0x1a9))/0x4)+-parseInt(_0x27cb9d(0x195))/0x5+parseInt(_0x27cb9d(0x20b))/0x6+parseInt(_0x27cb9d(0x278))/0x7+parseInt(_0x27cb9d(0x227))/0x8;if(_0x56cfbb===_0x6e63c7)break;else _0x30c2e8['push'](_0x30c2e8['shift']());}catch(_0x152541){_0x30c2e8['push'](_0x30c2e8['shift']());}}}(a4_0x438c,0x4fac4));const path=require(a4_0x110348(0x243)),fs=require('fs'),{v4:uuidv4}=require(a4_0x110348(0x1ec)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x110348(0x1ae)),{FRAMEWORKS}=require(a4_0x110348(0x1e0)),logger=require('../../helpers/logger')[a4_0x110348(0x25b)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x110348(0x1f5)),PlaywrightSessionDetails=require(a4_0x110348(0x277)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x110348(0x267)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x110348(0x267)),STATE_PASSED=a4_0x110348(0x1d7),STATE_FAILED=a4_0x110348(0x18b),a4_0x56137e={};a4_0x56137e[a4_0x110348(0x20d)]=a4_0x110348(0x1c3),a4_0x56137e[a4_0x110348(0x264)]=a4_0x110348(0x247),a4_0x56137e['TEST_RUN_SKIPPED']=a4_0x110348(0x1ff),a4_0x56137e[a4_0x110348(0x254)]=a4_0x110348(0x1df),a4_0x56137e[a4_0x110348(0x1fc)]=a4_0x110348(0x207);function a4_0x90d1(_0x29b5eb,_0x44dcf4){const _0x438c16=a4_0x438c();return a4_0x90d1=function(_0x90d1d8,_0x4778a5){_0x90d1d8=_0x90d1d8-0x185;let _0x38774c=_0x438c16[_0x90d1d8];return _0x38774c;},a4_0x90d1(_0x29b5eb,_0x44dcf4);}const TEST_EVENTS=a4_0x56137e,parseEvent=_0x53e8bb=>{const _0x3f36f2=a4_0x110348,_0x113f58={};_0x113f58['hSxfA']=function(_0x1f558f,_0x3530bc){return _0x1f558f<_0x3530bc;},_0x113f58['CSXda']=function(_0x1c5983,_0x432c03){return _0x1c5983===_0x432c03;},_0x113f58[_0x3f36f2(0x194)]=_0x3f36f2(0x253),_0x113f58[_0x3f36f2(0x1dd)]=function(_0x537445,_0x4a4807){return _0x537445===_0x4a4807;},_0x113f58[_0x3f36f2(0x188)]=_0x3f36f2(0x1aa),_0x113f58[_0x3f36f2(0x19d)]=_0x3f36f2(0x24d),_0x113f58['Yutbb']=function(_0x43216b,_0x1aa2e6){return _0x43216b===_0x1aa2e6;},_0x113f58['BEcxB']=_0x3f36f2(0x22d),_0x113f58[_0x3f36f2(0x22e)]=function(_0x17d7e9,_0x1db970){return _0x17d7e9===_0x1db970;},_0x113f58[_0x3f36f2(0x221)]=_0x3f36f2(0x1d8);const _0x1b7256=_0x113f58,_0x4c9086=_0x53e8bb[_0x3f36f2(0x1ca)](/^(.*)Run(.*)$/);if(!_0x4c9086)return null;if(_0x1b7256[_0x3f36f2(0x244)](_0x4c9086['length'],0x3))return null;const _0x6877a1=_0x4c9086[0x1][_0x3f36f2(0x1b9)](),_0x2b238b=_0x4c9086[0x2][_0x3f36f2(0x1b9)]();return{'test':_0x1b7256[_0x3f36f2(0x25e)](_0x6877a1,_0x1b7256['htCtp']),'hook':_0x1b7256[_0x3f36f2(0x1dd)](_0x6877a1,_0x1b7256[_0x3f36f2(0x188)]),'skipped':_0x1b7256[_0x3f36f2(0x25e)](_0x2b238b,_0x1b7256[_0x3f36f2(0x19d)]),'started':_0x1b7256[_0x3f36f2(0x21a)](_0x2b238b,_0x1b7256[_0x3f36f2(0x224)]),'finished':_0x1b7256[_0x3f36f2(0x22e)](_0x2b238b,_0x1b7256[_0x3f36f2(0x221)])};},mockPWBrowserType=_0x530c25=>{const _0x304887=a4_0x110348,_0x945d84={'FMMAY':function(_0x59614b,_0x580141){return _0x59614b===_0x580141;},'WbJOQ':_0x304887(0x259),'mVgqj':function(_0x5dfa77,_0x288570,_0x3ab4aa){return _0x5dfa77(_0x288570,_0x3ab4aa);},'WfmvI':_0x304887(0x1c7),'zgmLg':function(_0x224223,_0x1ed4be){return _0x224223(_0x1ed4be);},'ybUaC':'browserstack','Pxmfu':function(_0x3c325d,_0x2405da,_0x2f0b12){return _0x3c325d(_0x2405da,_0x2f0b12);},'UmJFJ':_0x304887(0x270),'BWvXR':'client','RKIam':'browserType.js','BXlSD':function(_0x1abc6a,_0x2eac47){return _0x1abc6a(_0x2eac47);},'GlBhN':function(_0x5c585c,_0x3dfb1d){return _0x5c585c(_0x3dfb1d);},'vxWyr':_0x304887(0x193),'DZTcZ':_0x304887(0x200),'tnuBT':_0x304887(0x251)},_0x266339=path['join'](_0x945d84[_0x304887(0x26f)],_0x945d84[_0x304887(0x1e4)],_0x945d84['RKIam']),_0x3ba767=_0x945d84[_0x304887(0x23f)](importFileFromPWCore,_0x266339);if(!_0x3ba767){_0x945d84['GlBhN'](debug,_0x945d84[_0x304887(0x21b)]);return;}const _0xc8d3c7=_0x3ba767[_0x304887(0x237)],_0x25f0b0=_0xc8d3c7[_0x304887(0x1c8)];if(_0x25f0b0['obsBrowserTypeMockApplied'])return;const _0x2d6db7=_0x25f0b0[_0x304887(0x200)];Object[_0x304887(0x1db)](_0x25f0b0,_0x945d84[_0x304887(0x231)],{'get':function(){return async function _0x4f053c(_0x383fa5,_0x1a9d47){const _0x3f3063=a4_0x90d1,_0x2e7e23={'JKOZq':function(_0x3fb07a,_0x35b669){const _0x269d43=a4_0x90d1;return _0x945d84[_0x269d43(0x228)](_0x3fb07a,_0x35b669);},'VXLAk':_0x945d84[_0x3f3063(0x18c)]},_0x3b704c=_0x945d84['mVgqj'](nestedKeyValue,_0x383fa5,[_0x945d84[_0x3f3063(0x1a5)]])||_0x383fa5;let _0x64fb1d=null,_0x433462=null;try{[_0x433462,_0x64fb1d]=_0x3b704c?_0x945d84['zgmLg'](parseWSEndpoint,_0x3b704c):[null,null],global['__platformCaps']=_0x64fb1d,logger['debug'](_0x3f3063(0x268)+_0x433462),_0x433462['includes'](Constants[_0x3f3063(0x186)])&&(global[_0x3f3063(0x1b3)]=_0x945d84[_0x3f3063(0x263)]);}catch(_0x6ddabd){logger['debug'](_0x3f3063(0x209)+_0x3b704c+'\x20'+_0x6ddabd);}_0x945d84['Pxmfu'](processAccessibilityCaps,_0x64fb1d,_0x433462);if(global['accessibilityPlatform']){const _0x4a9676=await _0x25f0b0['connectOverCDP'][_0x3f3063(0x1a2)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x945d84[_0x3f3063(0x1d6)](encodeURIComponent,JSON[_0x3f3063(0x1b0)](_0x64fb1d))]);return PlaywrightSessionDetails[_0x3f3063(0x1e8)](_0x4a9676,_0x530c25,_0x3b704c),_0x4a9676;}return _0x2d6db7['apply'](this,arguments)[_0x3f3063(0x222)](_0x2871fa=>{const _0x51bea7=_0x3f3063;let _0x1d72e0=_0x383fa5[_0x51bea7(0x1c7)];return _0x2e7e23['JKOZq'](typeof _0x383fa5,_0x2e7e23['VXLAk'])&&(_0x1d72e0=_0x383fa5),PlaywrightSessionDetails[_0x51bea7(0x1e8)](_0x2871fa,_0x530c25,_0x1d72e0),_0x2871fa;});};}});const _0x3039ed=_0x25f0b0[_0x304887(0x251)];Object[_0x304887(0x1db)](_0x25f0b0,_0x945d84[_0x304887(0x204)],{'get':function(){return async function _0x2d9f79(){const _0x3bc3bd=a4_0x90d1;return _0x3039ed[_0x3bc3bd(0x1a2)](this,arguments)[_0x3bc3bd(0x222)](_0xe17259=>{const _0x2a3053=_0x3bc3bd;return PlaywrightSessionDetails[_0x2a3053(0x1e8)](_0xe17259,null),_0xe17259;});};}});};class O11yHelper{[a4_0x110348(0x1e9)]=null;[a4_0x110348(0x208)]=null;[a4_0x110348(0x25c)]=![];[a4_0x110348(0x23e)]=![];constructor(_0x4732fb,_0xbe16c1){const _0x883d55=a4_0x110348,_0x28594a={'cPRXf':_0x883d55(0x233),'zwHJI':function(_0x2fa2b4,_0x7ec1e7){return _0x2fa2b4===_0x7ec1e7;},'uBuKh':'Playwright','ImQaI':function(_0x3c81fe,_0x3dc254){return _0x3c81fe(_0x3dc254);},'rVNKx':function(_0x40621e){return _0x40621e();},'rrOyI':function(_0x190a57){return _0x190a57();}},_0x502e41=_0x28594a[_0x883d55(0x20f)][_0x883d55(0x1d1)]('|');let _0x168124=0x0;while(!![]){switch(_0x502e41[_0x168124++]){case'0':this[_0x883d55(0x1ed)]=new testOpsHelper[(_0x883d55(0x187))]({'cwd':process[_0x883d55(0x1b5)]()},this[_0x883d55(0x22a)][_0x883d55(0x1f0)]);continue;case'1':this['driver']&&_0x28594a[_0x883d55(0x219)](this[_0x883d55(0x1cf)]['constructor'][_0x883d55(0x1b1)],_0x28594a[_0x883d55(0x252)])&&_0x28594a[_0x883d55(0x272)](mockPWBrowserType,null);continue;case'2':this[_0x883d55(0x1cf)]=_0x4732fb;continue;case'3':this[_0x883d55(0x25c)]=_0x28594a[_0x883d55(0x262)](shouldProcessEventForTesthub);continue;case'4':this[_0x883d55(0x23e)]=_0xbe16c1[_0x883d55(0x23e)];continue;case'5':this[_0x883d55(0x22a)]=_0x28594a[_0x883d55(0x24e)](getTestEnv);continue;}break;}}[a4_0x110348(0x1ab)](){const _0x4059a3=a4_0x110348;if(!this[_0x4059a3(0x25c)])return;testOpsHelper[_0x4059a3(0x22b)](),process[_0x4059a3(0x26e)](_0x4059a3(0x206)+process[_0x4059a3(0x25d)]),process['on']('bs:addLog:'+process[_0x4059a3(0x25d)],this[_0x4059a3(0x215)][_0x4059a3(0x1cd)](this));}async[a4_0x110348(0x230)](){const _0x317a56=a4_0x110348;await RequestQueueHandler['getInstance']()[_0x317a56(0x245)]();}async['appendTestItemLog'](_0x407ef4){const _0x10718d=a4_0x110348,_0x456f66={'MxLvw':_0x10718d(0x1a6),'RidCE':function(_0x2a9c1c,_0xa56b94){return _0x2a9c1c(_0xa56b94);}};try{this[_0x10718d(0x208)]&&!this[_0x10718d(0x208)]['markedStatus']&&(_0x407ef4[_0x10718d(0x236)]=this[_0x10718d(0x208)]['hookAnalyticsId']);!_0x407ef4[_0x10718d(0x236)]&&this[_0x10718d(0x1e9)]&&!this[_0x10718d(0x1e9)]['markedStatus']&&(_0x407ef4[_0x10718d(0x18f)]=this[_0x10718d(0x1e9)][_0x10718d(0x242)]);if(_0x407ef4[_0x10718d(0x236)]||_0x407ef4[_0x10718d(0x18f)]){const _0xe627f7={};_0xe627f7[_0x10718d(0x21d)]=_0x456f66[_0x10718d(0x1a0)],_0xe627f7[_0x10718d(0x274)]=[_0x407ef4],await SessionHandler[_0x10718d(0x1fb)](_0xe627f7);}}catch(_0x24c439){_0x456f66[_0x10718d(0x1e1)](debug,_0x10718d(0x1f4)+constants[_0x10718d(0x1c0)]+_0x10718d(0x1b4)+_0x24c439);}}async[a4_0x110348(0x1a1)](_0x411b88){const _0x22b941=a4_0x110348,_0x408c7e={'PEzDu':_0x22b941(0x190),'spwNv':function(_0x470b7b,_0x2ca6ea){return _0x470b7b(_0x2ca6ea);}};if(!this['enabled'])return;const _0x5e781b=this[_0x22b941(0x1a4)](this[_0x22b941(0x1cf)]);try{const _0x25e236={};_0x25e236[_0x22b941(0x1ec)]=_0x411b88,_0x25e236[_0x22b941(0x22c)]=_0x5e781b;const _0x5eb286=_0x25e236,_0x497a87={};_0x497a87[_0x22b941(0x21d)]=_0x408c7e[_0x22b941(0x220)],_0x497a87['test_run']=_0x5eb286,await SessionHandler['uploadEventData'](_0x497a87);}catch(_0x56ad6b){_0x408c7e[_0x22b941(0x199)](debug,_0x22b941(0x18e)+constants[_0x22b941(0x1c0)]+'\x20with\x20error\x20:\x20'+_0x56ad6b);}}[a4_0x110348(0x1a4)](_0x2c9298){const _0xcfd8c5={'VlpPY':function(_0x296c5a,_0x6e6f0){return _0x296c5a(_0x6e6f0);}};return _0xcfd8c5['VlpPY'](fetchPlatformDetails,_0x2c9298);}[a4_0x110348(0x1fa)]=_0x493de5=>{const _0x291dce=a4_0x110348,_0x460b6e={};_0x460b6e[_0x291dce(0x1e5)]=_0x291dce(0x213),_0x460b6e[_0x291dce(0x203)]=_0x291dce(0x1f9);const _0xd8cea3=_0x460b6e;if(!_0x493de5||!_0x493de5[_0x291dce(0x235)])return;[_0xd8cea3[_0x291dce(0x1e5)],_0xd8cea3['RgcLi']][_0x291dce(0x229)](_0x3a4bde=>{const _0x3ed53e=_0x291dce,_0x4b5672=_0x493de5[_0x3ed53e(0x235)][_0x3a4bde];_0x4b5672['forEach'](_0x58ed8e=>{const _0x225b2f=_0x3ed53e;_0x58ed8e[_0x225b2f(0x260)]&&(_0x58ed8e['hookAnalyticsId']=null);});});};[a4_0x110348(0x1c6)](_0x5e6989){const _0x43a891=a4_0x110348,_0x5d4b64={'rThyL':_0x43a891(0x1f6),'tYBtY':function(_0x179db4){return _0x179db4();},'YJwCO':function(_0x5804fe,_0x2c2fa7){return _0x5804fe===_0x2c2fa7;},'WmxfT':_0x43a891(0x1f9),'HXEVP':function(_0x24dc5b){return _0x24dc5b();},'rLRfd':_0x43a891(0x1ce),'lguSd':_0x43a891(0x23a),'jTgMQ':_0x43a891(0x213)};if(!_0x5e6989||!_0x5e6989[_0x43a891(0x235)])return;[_0x5d4b64['rLRfd'],_0x5d4b64['lguSd'],_0x5d4b64[_0x43a891(0x1c2)],_0x5d4b64[_0x43a891(0x214)]][_0x43a891(0x229)](_0xa3927b=>{const _0x37ee06=_0x43a891,_0x2d4dc7={'LiubP':_0x5d4b64[_0x37ee06(0x1ad)],'tGcaC':function(_0x42f5e3){const _0x5b6121=_0x37ee06;return _0x5d4b64[_0x5b6121(0x23b)](_0x42f5e3);},'OFvUg':function(_0x38bdf5,_0x429f82){const _0x2c0833=_0x37ee06;return _0x5d4b64[_0x2c0833(0x196)](_0x38bdf5,_0x429f82);},'hcIjH':_0x5d4b64[_0x37ee06(0x214)],'pcYdq':function(_0x41555f){const _0x35e43f=_0x37ee06;return _0x5d4b64[_0x35e43f(0x275)](_0x41555f);}},_0x6438b8=_0x5e6989['parent'][_0xa3927b]||[];_0x6438b8[_0x37ee06(0x229)](_0x146993=>{const _0x1edcb2=_0x37ee06;if(_0x146993[_0x1edcb2(0x1c9)][_0x1edcb2(0x24c)](_0x2d4dc7[_0x1edcb2(0x18d)]))return;if(!_0x146993[_0x1edcb2(0x260)])_0x146993[_0x1edcb2(0x260)]=_0x2d4dc7[_0x1edcb2(0x20e)](uuidv4);else _0x146993[_0x1edcb2(0x261)]&&_0x2d4dc7['OFvUg'](_0xa3927b,_0x2d4dc7[_0x1edcb2(0x1bb)])&&(_0x146993[_0x1edcb2(0x260)]=_0x2d4dc7[_0x1edcb2(0x258)](uuidv4),delete _0x146993[_0x1edcb2(0x261)]);});}),this[_0x43a891(0x1c6)](_0x5e6989[_0x43a891(0x235)]);}['getHooksForTest'](_0x12fb75){const _0x5019c0=a4_0x110348,_0x169585={};_0x169585[_0x5019c0(0x211)]=_0x5019c0(0x1ce),_0x169585[_0x5019c0(0x223)]=_0x5019c0(0x23a),_0x169585[_0x5019c0(0x1af)]=_0x5019c0(0x213),_0x169585[_0x5019c0(0x1ac)]=_0x5019c0(0x1f9);const _0xd701ed=_0x169585;if(!_0x12fb75||!_0x12fb75[_0x5019c0(0x235)])return[];const _0x457a2a=[];return[_0xd701ed[_0x5019c0(0x211)],_0xd701ed['xPxlE'],_0xd701ed[_0x5019c0(0x1af)],_0xd701ed[_0x5019c0(0x1ac)]][_0x5019c0(0x229)](_0x469cab=>{const _0x1ff897=_0x5019c0,_0x1b6da8=_0x12fb75[_0x1ff897(0x235)][_0x469cab]||[];_0x1b6da8['forEach'](_0x328e40=>{const _0x1e5b29=_0x1ff897;_0x328e40['hookAnalyticsId']&&_0x457a2a[_0x1e5b29(0x1d0)](_0x328e40[_0x1e5b29(0x260)]);});}),[]['concat'](_0x457a2a,this[_0x5019c0(0x1bf)](_0x12fb75[_0x5019c0(0x235)]));}[a4_0x110348(0x24b)](_0x579d22){const _0x6e328c=a4_0x110348,_0x171176=/^"(?<hook>.*)" hook:.*$/,_0x427175=_0x579d22['title'],_0x19058e=_0x427175[_0x6e328c(0x1ca)](_0x171176);if(_0x19058e&&_0x19058e['groups'])return _0x19058e[_0x6e328c(0x189)][_0x6e328c(0x1aa)]['toUpperCase']()['replace']('\x20','_');return null;}[a4_0x110348(0x271)](_0x472ae2){const _0x317d75=a4_0x110348,_0x1465ed={};_0x1465ed['tIraD']=function(_0x5314b8,_0x5d8a2a){return _0x5314b8===_0x5d8a2a;},_0x1465ed[_0x317d75(0x201)]=_0x317d75(0x246),_0x1465ed[_0x317d75(0x1c4)]=_0x317d75(0x19c);const _0x1698fe=_0x1465ed,_0x8f437=path[_0x317d75(0x18a)];if(_0x1698fe['tIraD'](_0x472ae2,null)||_0x1698fe['tIraD'](_0x472ae2,'')||_0x1698fe[_0x317d75(0x25a)](_0x472ae2,_0x8f437)||_0x1698fe['tIraD'](_0x472ae2,path[_0x317d75(0x19b)](_0x472ae2)))return null;try{return fs[_0x317d75(0x266)](path[_0x317d75(0x210)](_0x472ae2,_0x1698fe[_0x317d75(0x201)],_0x1698fe[_0x317d75(0x1c4)])),_0x472ae2;}catch(_0x53ff41){const _0x32aaa8=path['dirname'](_0x472ae2);return this[_0x317d75(0x271)](_0x32aaa8);}}[a4_0x110348(0x198)](_0x5ec378){const _0x5488a8=a4_0x110348,_0x47fa7b={};_0x47fa7b[_0x5488a8(0x225)]=function(_0x354191,_0x505d8b){return _0x354191>_0x505d8b;};const _0x307467=_0x47fa7b;if(_0x5ec378[_0x5488a8(0x19f)])return _0x5ec378[_0x5488a8(0x19f)];if(_0x5ec378['ctx']){const _0x1937cf=_0x5ec378[_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]?this[_0x5488a8(0x198)](_0x5ec378['ctx'][_0x5488a8(0x1e9)]):null;if(_0x1937cf)return _0x1937cf;}if(_0x5ec378[_0x5488a8(0x235)]){const _0x509005=this[_0x5488a8(0x198)](_0x5ec378[_0x5488a8(0x235)])||(_0x5ec378[_0x5488a8(0x235)][_0x5488a8(0x1d4)]&&_0x5ec378[_0x5488a8(0x235)][_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]?this[_0x5488a8(0x198)](_0x5ec378['parent'][_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]):null);if(_0x509005)return _0x509005;_0x5ec378[_0x5488a8(0x235)]['suites']&&_0x307467[_0x5488a8(0x225)](_0x5ec378[_0x5488a8(0x235)]['suites']['length'],0x0)&&_0x5ec378[_0x5488a8(0x235)]['suites'][_0x5488a8(0x229)](_0x43c0f9=>{const _0x51a89c=_0x5488a8,_0x499c9a=_0x43c0f9[_0x51a89c(0x1d4)]?this[_0x51a89c(0x198)](_0x43c0f9[_0x51a89c(0x1d4)]):null;if(_0x499c9a)return _0x499c9a;});}return null;}[a4_0x110348(0x255)](_0x1ee3fd){const _0xd34c83=a4_0x110348,_0x1570af={};_0x1570af[_0xd34c83(0x19e)]=function(_0x277f86,_0x301557){return _0x277f86!==_0x301557;};const _0x4400bc=_0x1570af,_0x5a53ed=[];if(_0x1ee3fd&&_0x1ee3fd[_0xd34c83(0x235)]){let _0x4b8b53=_0x1ee3fd[_0xd34c83(0x235)];while(_0x4b8b53&&_0x4400bc[_0xd34c83(0x19e)](_0x4b8b53[_0xd34c83(0x1c9)],'')){_0x5a53ed[_0xd34c83(0x1d0)](_0x4b8b53[_0xd34c83(0x1c9)]),_0x4b8b53=_0x4b8b53['parent'];}}return _0x5a53ed;}['captureEvent'](_0x45be87,_0x2f47e5,_0x4a899a=undefined){const _0x57b2c3=a4_0x110348,_0x3ea29f={'Niwzh':function(_0x4f987f,_0xaeeeb1){return _0x4f987f(_0xaeeeb1);},'EHqfR':function(_0x218b91){return _0x218b91();},'NNHpW':function(_0x550e0d){return _0x550e0d();},'srkMX':function(_0x3b4f3b){return _0x3b4f3b();},'IRjUt':'util','Twbqa':'err','rchkh':function(_0x3dc250,_0x5ebff5){return _0x3dc250!==_0x5ebff5;},'vktGp':function(_0x3cceef,_0x3353e3){return _0x3cceef!==_0x3353e3;},'kQXRI':_0x57b2c3(0x1ba),'ZLObI':_0x57b2c3(0x23c),'ALmLu':_0x57b2c3(0x18b),'SfAhe':_0x57b2c3(0x1d7),'OcLZk':_0x57b2c3(0x24d),'xJOoK':'javascript','cWHiT':function(_0x44cbe5,_0xb6e88){return _0x44cbe5-_0xb6e88;},'USkJW':function(_0x4acfb7,_0x37e841,_0xecad59,_0x350737,_0x4a2674){return _0x4acfb7(_0x37e841,_0xecad59,_0x350737,_0x4a2674);},'ARhrX':function(_0x1b036a,_0x3f1530){return _0x1b036a!==_0x3f1530;},'itCuq':_0x57b2c3(0x22c),'BJxrr':_0x57b2c3(0x1b7),'jtvjg':_0x57b2c3(0x1fe),'Bcbae':_0x57b2c3(0x1b6),'TxUUT':_0x57b2c3(0x1c1),'QlHtN':'failure_reason_expanded','FxPZE':_0x57b2c3(0x20c),'hcjkb':function(_0x501d7d,_0x41a633){return _0x501d7d===_0x41a633;},'pigPd':_0x57b2c3(0x1d5),'kfCTt':_0x57b2c3(0x249)};if(!this[_0x57b2c3(0x25c)])return;try{if(_0x2f47e5['fn']&&_0x2f47e5['fn'][_0x57b2c3(0x1e7)]()['match'](/browserstack internal helper hook/))return;const _0x1a348c=_0x3ea29f[_0x57b2c3(0x1be)](parseEvent,_0x45be87);if(!_0x1a348c)return;if(_0x1a348c[_0x57b2c3(0x253)]){this[_0x57b2c3(0x1e9)]=_0x2f47e5,this[_0x57b2c3(0x208)]=null;if(_0x1a348c[_0x57b2c3(0x22d)]||_0x1a348c[_0x57b2c3(0x24d)]){_0x2f47e5['startedAt']=new Date(),_0x2f47e5[_0x57b2c3(0x261)]=![];if(!_0x2f47e5[_0x57b2c3(0x242)])_0x2f47e5[_0x57b2c3(0x242)]=_0x3ea29f[_0x57b2c3(0x26d)](uuidv4);else _0x2f47e5['markedStatus']&&(!_0x2f47e5['retryOf']&&(_0x2f47e5[_0x57b2c3(0x23d)]=_0x2f47e5[_0x57b2c3(0x242)]),_0x2f47e5['testAnalyticsId']=_0x3ea29f['NNHpW'](uuidv4));}}else{if(_0x1a348c[_0x57b2c3(0x1aa)]){this['currentHook']=_0x2f47e5;if(_0x1a348c[_0x57b2c3(0x22d)]){_0x2f47e5[_0x57b2c3(0x241)]=new Date(),_0x2f47e5[_0x57b2c3(0x261)]=![];if(!_0x2f47e5['hookAnalyticsId'])_0x2f47e5[_0x57b2c3(0x260)]=_0x3ea29f[_0x57b2c3(0x240)](uuidv4);else _0x2f47e5[_0x57b2c3(0x260)]&&_0x2f47e5[_0x57b2c3(0x261)]&&(_0x2f47e5[_0x57b2c3(0x260)]=_0x3ea29f[_0x57b2c3(0x26d)](uuidv4));}}}if(_0x1a348c[_0x57b2c3(0x1d8)]&&_0x2f47e5[_0x57b2c3(0x261)])return;let _0x155fe5;try{_0x155fe5=this[_0x57b2c3(0x198)](_0x2f47e5);}catch(_0x58e087){logger[_0x57b2c3(0x21e)](_0x57b2c3(0x22f)+_0x58e087),_0x155fe5=null;}const _0x35eedf=_0x3ea29f[_0x57b2c3(0x1be)](require,_0x3ea29f['IRjUt']);let _0x3bbbeb=[];_0x4a899a&&(_0x3bbbeb=[_0x4a899a,_0x3ea29f['Twbqa']]);const _0x307639=_0x3ea29f[_0x57b2c3(0x276)](_0x2f47e5['errorsDetailed'],undefined)?_0x35eedf[_0x57b2c3(0x1e6)](_0x2f47e5[_0x57b2c3(0x238)][0x0]):_0x3ea29f[_0x57b2c3(0x1f2)](_0x4a899a,undefined)?_0x4a899a[_0x57b2c3(0x1e7)]():undefined,_0x2d5260=_0x155fe5?this[_0x57b2c3(0x271)](_0x155fe5):null,_0x51f42d=_0x155fe5?this[_0x57b2c3(0x1ed)][_0x57b2c3(0x1bc)](this[_0x57b2c3(0x198)](_0x2f47e5)):_0x3ea29f[_0x57b2c3(0x1cc)];let _0x58938c=_0x3ea29f[_0x57b2c3(0x1ee)];const _0xe68f87=!_0x1a348c['started']?new Date()[_0x57b2c3(0x250)]():null;if(_0x1a348c[_0x57b2c3(0x1d8)])_0x58938c=_0x4a899a?_0x3ea29f[_0x57b2c3(0x21c)]:_0x3ea29f['SfAhe'],_0x2f47e5[_0x57b2c3(0x261)]=!![];else _0x1a348c[_0x57b2c3(0x24d)]&&(_0x58938c=_0x3ea29f['OcLZk'],_0x2f47e5[_0x57b2c3(0x261)]=!![]);const _0x360ebe={'framework':this[_0x57b2c3(0x23e)],'uuid':_0x2f47e5[_0x57b2c3(0x242)]||_0x2f47e5[_0x57b2c3(0x260)],'name':_0x2f47e5['title'],'body':{'lang':_0x3ea29f['xJOoK'],'code':_0x2f47e5['body']['toString']()},'type':_0x2f47e5[_0x57b2c3(0x1d2)],'scope':_0x2f47e5[_0x57b2c3(0x269)](),'scopes':this[_0x57b2c3(0x255)](_0x2f47e5),'file_name':_0x51f42d,'vc_filepath':_0x2d5260?path[_0x57b2c3(0x1f8)](_0x2d5260,_0x155fe5):null,'location':_0x51f42d,'result':_0x58938c,'failure_reason':_0x307639,'duration_in_ms':_0x2f47e5[_0x57b2c3(0x232)]||(_0x1a348c['finished']||_0x1a348c[_0x57b2c3(0x24d)])?_0x3ea29f['cWHiT'](Date[_0x57b2c3(0x1a3)](),new Date(_0x2f47e5['startedAt'])[_0x57b2c3(0x197)]()):null,'started_at':new Date(_0x2f47e5[_0x57b2c3(0x241)])[_0x57b2c3(0x250)](),'finished_at':_0xe68f87,'failure':testOpsHelper[_0x57b2c3(0x202)][_0x57b2c3(0x1a2)](null,_0x3bbbeb),'failure_type':!_0x307639?null:testOpsHelper[_0x57b2c3(0x24f)](_0x307639),'retry_of':_0x2f47e5[_0x57b2c3(0x23d)]||null,'tags':_0x2f47e5[_0x57b2c3(0x1f3)]||[],'customRerunParam':{'rerun_name':_0x2f47e5[_0x57b2c3(0x269)]()}};_0x3ea29f[_0x57b2c3(0x1d9)](appendTesthubParams,_0x360ebe,_0x45be87,_0x2f47e5,FRAMEWORKS['CODECEPT']);if(_0x1a348c[_0x57b2c3(0x1aa)])[_0x360ebe[_0x57b2c3(0x1a8)],_0x360ebe[_0x57b2c3(0x1b1)]]=[this[_0x57b2c3(0x24b)](_0x2f47e5),_0x2f47e5['ctx'][_0x57b2c3(0x253)]['title']],_0x1a348c[_0x57b2c3(0x1d8)]?_0x3ea29f[_0x57b2c3(0x248)](_0x360ebe['result'],_0x3ea29f[_0x57b2c3(0x21c)])&&(_0x360ebe['result']=_0x3ea29f[_0x57b2c3(0x226)]):_0x360ebe[_0x57b2c3(0x256)]={};else _0x1a348c[_0x57b2c3(0x253)]&&(this[_0x57b2c3(0x1c6)](_0x2f47e5),_0x1a348c[_0x57b2c3(0x24d)]&&this[_0x57b2c3(0x1fa)](_0x2f47e5),(_0x1a348c[_0x57b2c3(0x1d8)]||_0x1a348c['skipped'])&&(_0x360ebe['hooks']=this[_0x57b2c3(0x1bf)](_0x2f47e5)));this[_0x57b2c3(0x1cf)]&&(_0x1a348c[_0x57b2c3(0x22d)]||_0x1a348c[_0x57b2c3(0x24d)])&&(_0x360ebe[_0x3ea29f[_0x57b2c3(0x26a)]]=this[_0x57b2c3(0x1a4)](this['driver']));_0x1a348c[_0x57b2c3(0x253)]&&_0x1a348c[_0x57b2c3(0x1d8)]&&_0x2f47e5[_0x57b2c3(0x1b2)]&&(_0x360ebe[_0x3ea29f['BJxrr']]={'feature':{'name':_0x2f47e5[_0x57b2c3(0x235)][_0x57b2c3(0x191)][_0x57b2c3(0x1b1)],'path':_0x360ebe['file_name'],'description':_0x2f47e5['parent']['comment']},'scenario':{'name':_0x2f47e5[_0x57b2c3(0x1c9)]},'steps':_0x2f47e5['bddSteps']});const _0x182366=_0x360ebe[_0x3ea29f[_0x57b2c3(0x1eb)]][0x0];_0x182366&&(_0x360ebe[_0x3ea29f[_0x57b2c3(0x21f)]]=_0x182366[_0x3ea29f[_0x57b2c3(0x1bd)]],_0x360ebe[_0x3ea29f[_0x57b2c3(0x1b8)]]=_0x182366[_0x3ea29f[_0x57b2c3(0x1d3)]]);if(_0x2f47e5[_0x57b2c3(0x1b2)])for(const _0xcbcd6 of _0x2f47e5['bddSteps']){!_0xcbcd6['finished_at']&&(_0xcbcd6[_0x57b2c3(0x217)]=new Date()[_0x57b2c3(0x250)](),_0x3ea29f[_0x57b2c3(0x26c)](_0xcbcd6['result'],_0x3ea29f[_0x57b2c3(0x1ee)])&&(_0x182366?(_0xcbcd6[_0x57b2c3(0x1de)]=_0x3ea29f[_0x57b2c3(0x21c)],_0xcbcd6[_0x57b2c3(0x1fe)]=_0x182366[_0x3ea29f['TxUUT']][0x0]):_0xcbcd6[_0x57b2c3(0x1de)]=_0x3ea29f['SfAhe']));}const _0x340079={};_0x340079[_0x57b2c3(0x21d)]=_0x1a348c[_0x57b2c3(0x24d)]?TEST_EVENTS[_0x57b2c3(0x264)]:_0x45be87;const _0x5f0ad7=_0x340079;return _0x1a348c[_0x57b2c3(0x1aa)]?_0x5f0ad7[_0x3ea29f[_0x57b2c3(0x1f7)]]=_0x360ebe:_0x5f0ad7[_0x3ea29f[_0x57b2c3(0x1c5)]]=_0x360ebe,_0x5f0ad7;}catch(_0x49138e){logger[_0x57b2c3(0x21e)](_0x57b2c3(0x24a)+_0x45be87+_0x57b2c3(0x1b4)+_0x49138e);}}async[a4_0x110348(0x257)](_0x19cbea,_0x513e68){const _0x348e97=a4_0x110348;if(!this[_0x348e97(0x25c)]||!_0x513e68||!_0x19cbea)return![];try{return await SessionHandler['uploadEventData'](_0x513e68);}catch(_0x4ee046){logger[_0x348e97(0x21e)](_0x348e97(0x216)+_0x19cbea+_0x348e97(0x1b4)+_0x4ee046);}}['initializeBddStep'](_0x134e06){const _0x1996c5=a4_0x110348,_0x4e3269={};_0x4e3269[_0x1996c5(0x1da)]='pending';const _0x4bc5ba=_0x4e3269;return{'id':_0x134e06[_0x1996c5(0x239)],'text':_0x134e06[_0x1996c5(0x20a)],'keyword':_0x134e06['keyword'],'started_at':_0x134e06[_0x1996c5(0x241)][_0x1996c5(0x250)](),'result':_0x4bc5ba[_0x1996c5(0x1da)]};}[a4_0x110348(0x1a7)](_0x34e0c8){const _0x699360=a4_0x110348,_0x44d961={'FkKTR':function(_0x241b8d){return _0x241b8d();}};!this['currentTest'][_0x699360(0x1b2)]&&(this[_0x699360(0x1e9)][_0x699360(0x1b2)]=[]),!_0x34e0c8[_0x699360(0x239)]&&(_0x34e0c8[_0x699360(0x239)]=_0x44d961[_0x699360(0x205)](uuidv4),_0x34e0c8['startedAt']=new Date(),this[_0x699360(0x1e9)][_0x699360(0x1b2)][_0x699360(0x1d0)](this[_0x699360(0x1f1)](_0x34e0c8)));}[a4_0x110348(0x234)](_0x175c89){const _0x28eb6e=a4_0x110348,_0x2b3f64={'ddLNH':function(_0xa33147,_0x1b0c27){return _0xa33147(_0x1b0c27);},'HRmnQ':_0x28eb6e(0x26b),'hadqN':_0x28eb6e(0x23c),'ldLdE':'passed','QvyEI':function(_0x4f0126,_0x2b37b4){return _0x4f0126-_0x2b37b4;}};let _0x1928e9=this[_0x28eb6e(0x1e9)][_0x28eb6e(0x1b2)][_0x28eb6e(0x1fd)](_0x3a35f5=>_0x3a35f5['id']===_0x175c89[_0x28eb6e(0x239)]);_0x2b3f64[_0x28eb6e(0x19a)](isUndefined,_0x1928e9)&&(_0x1928e9=this['initializeBddStep'](_0x175c89)),_0x1928e9['result']=[_0x2b3f64[_0x28eb6e(0x273)],_0x2b3f64[_0x28eb6e(0x212)]][_0x28eb6e(0x24c)](_0x175c89[_0x28eb6e(0x1e2)])?_0x2b3f64[_0x28eb6e(0x218)]:_0x175c89[_0x28eb6e(0x1e2)],_0x1928e9['finished_at']=new Date()['toISOString'](),_0x1928e9['duration']=_0x2b3f64[_0x28eb6e(0x1ef)](Date[_0x28eb6e(0x1a3)](),_0x175c89[_0x28eb6e(0x241)][_0x28eb6e(0x197)]()),_0x1928e9[_0x28eb6e(0x1fe)]=_0x175c89[_0x28eb6e(0x265)]?_0x175c89[_0x28eb6e(0x265)]['message']:null;}}const a4_0x3d7a24={};function a4_0x438c(){const _0x19b1e6=['ybUaC','TEST_RUN_FINISHED','err','statSync','../utils/constants','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','fullTitle','itCuq','success','hcjkb','EHqfR','removeAllListeners','UmJFJ','lib','findGitConfig','ImQaI','HRmnQ','logs','HXEVP','rchkh','../playwright/sessionDetails','854700fNRARO','STATE_FAILED','BROWSERSTACK','PathHelper','mYYYq','groups','sep','failed','WbJOQ','LiubP','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','test_run_uuid','CBTSessionCreated','feature','exports','Not\x20able\x20to\x20import\x20Browser','htCtp','311805dBEvqP','YJwCO','getTime','getRootParentFile','spwNv','ddLNH','dirname','config','fAyOQ','RCrzO','file','MxLvw','sendCBTInfo','apply','now','getCBTInfo','WfmvI','LogCreated','bddStepStart','hook_type','4kVkpVM','hook','start','CtkLt','rThyL','../mocha/test-observability/mochaUtils','WPtJt','stringify','name','bddSteps','__cloud_provider___','\x20with\x20error\x20:\x20','cwd','failure_backtrace','meta','QlHtN','toLowerCase','File\x20path\x20could\x20not\x20be\x20found','hcIjH','prefixTestPath','TxUUT','Niwzh','getHooksForTest','TEST_REPORTING_ANALYTICS','backtrace','jTgMQ','TestRunStarted','iATvD','kfCTt','mapTestHooks','wsEndpoint','prototype','title','match','150243JYFGPf','kQXRI','bind','_beforeAll','driver','push','split','type','FxPZE','ctx','hook_run','zgmLg','passed','finished','USkJW','tMCpv','defineProperty','1159680YmSZFk','OJpAr','result','HookRunStarted','../../helpers/test-observability/constants','RidCE','status','STATE_PASSED','BWvXR','IFAuh','inspect','toString','setupBrowserDetails','currentTest','TEST_EVENTS','jtvjg','uuid','_paths','ZLObI','QvyEI','location_prefix','initializeBddStep','vktGp','tags','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','../../helpers/test-observability/requestQueueHandler','codeceptjs','pigPd','relative','_afterEach','resetSkipTestHooks','uploadEventData','HOOK_RUN_FINISHED','find','failure','TestRunSkipped','connect','BPBDt','failureData','RgcLi','tnuBT','FkKTR','bs:addLog:','HookRunFinished','currentHook','Failed\x20to\x20parse\x20wsendpoint\x20','text','2527782flJqGP','expanded','TEST_RUN_STARTED','tGcaC','cPRXf','join','pzmoH','hadqN','_beforeEach','WmxfT','appendTestItemLog','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','finished_at','ldLdE','zwHJI','Yutbb','vxWyr','ALmLu','event_type','debug','Bcbae','PEzDu','eiXUB','then','xPxlE','BEcxB','BVbNf','SfAhe','4041440QJZyFH','FMMAY','forEach','_testEnv','patchConsoleLogger','integrations','started','EdwJp','failed\x20to\x20get\x20root\x20parent\x20file\x20','stop','DZTcZ','duration','3|4|2|5|0|1','bddStepFinish','parent','hook_run_uuid','BrowserType','errorsDetailed','stepAnalyticsId','_afterAll','tYBtY','pending','retryOf','frameworkName','BXlSD','srkMX','startedAt','testAnalyticsId','path','hSxfA','shutdown','.git','TestRunFinished','ARhrX','test_run','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getHookType','includes','skipped','rrOyI','getFailureType','toISOString','launch','uBuKh','test','HOOK_RUN_STARTED','getHierarchy','body','fireEvent','pcYdq','string','tIraD','winstonLogger','enabled','pid','CSXda','29955LFwEND','hookAnalyticsId','markedStatus','rVNKx'];a4_0x438c=function(){return _0x19b1e6;};return a4_0x438c();}a4_0x3d7a24['O11yHelper']=O11yHelper,a4_0x3d7a24[a4_0x110348(0x1e3)]=STATE_PASSED,a4_0x3d7a24[a4_0x110348(0x185)]=STATE_FAILED,a4_0x3d7a24[a4_0x110348(0x1ea)]=TEST_EVENTS,module[a4_0x110348(0x192)]=a4_0x3d7a24;
1
+ const a4_0x4594cf=a4_0xa406;(function(_0x35edb4,_0xca5a00){const _0x44d5d2=a4_0xa406,_0x315c0d=_0x35edb4();while(!![]){try{const _0x3e7ba4=parseInt(_0x44d5d2(0x211))/0x1*(-parseInt(_0x44d5d2(0x1fa))/0x2)+parseInt(_0x44d5d2(0x1f2))/0x3*(-parseInt(_0x44d5d2(0x206))/0x4)+parseInt(_0x44d5d2(0x1bc))/0x5*(parseInt(_0x44d5d2(0x15f))/0x6)+parseInt(_0x44d5d2(0x216))/0x7*(parseInt(_0x44d5d2(0x20f))/0x8)+-parseInt(_0x44d5d2(0x1dc))/0x9+parseInt(_0x44d5d2(0x1e6))/0xa*(-parseInt(_0x44d5d2(0x217))/0xb)+parseInt(_0x44d5d2(0x21a))/0xc;if(_0x3e7ba4===_0xca5a00)break;else _0x315c0d['push'](_0x315c0d['shift']());}catch(_0x22ca98){_0x315c0d['push'](_0x315c0d['shift']());}}}(a4_0x4aab,0x1905d));function a4_0xa406(_0x89fde3,_0x3a47d5){const _0x4aabd7=a4_0x4aab();return a4_0xa406=function(_0xa40636,_0x4de3c2){_0xa40636=_0xa40636-0x138;let _0x7e3190=_0x4aabd7[_0xa40636];return _0x7e3190;},a4_0xa406(_0x89fde3,_0x3a47d5);}const path=require(a4_0x4594cf(0x1c3)),util=require(a4_0x4594cf(0x1ca)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4594cf(0x215)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4594cf(0x1cb)),testOpsHelper=require(a4_0x4594cf(0x229)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x4594cf(0x19f)),logger=require(a4_0x4594cf(0x158))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x4594cf(0x1f4)),PlaywrightSessionDetails=require(a4_0x4594cf(0x227)),debug=testOpsHelper[a4_0x4594cf(0x1d2)],{processAccessibilityCaps}=require(a4_0x4594cf(0x235)),Constants=require(a4_0x4594cf(0x1a9)),{fetchPlatformDetails}=require(a4_0x4594cf(0x20d)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x4594cf(0x1a9)),STATE_PASSED=a4_0x4594cf(0x140),STATE_FAILED=a4_0x4594cf(0x1af),a4_0x579503={};a4_0x579503[a4_0x4594cf(0x179)]='TestRunStarted',a4_0x579503[a4_0x4594cf(0x14f)]='TestRunFinished',a4_0x579503[a4_0x4594cf(0x197)]='TestRunSkipped',a4_0x579503[a4_0x4594cf(0x190)]=a4_0x4594cf(0x1ed),a4_0x579503[a4_0x4594cf(0x1cc)]=a4_0x4594cf(0x1ef);const TEST_EVENTS=a4_0x579503,parseEvent=_0x9f7cb1=>{const _0x2569da=a4_0x4594cf,_0x5df472={};_0x5df472[_0x2569da(0x181)]=function(_0x47720f,_0x4d11a0){return _0x47720f<_0x4d11a0;},_0x5df472['IKXUo']=function(_0x5b39aa,_0x2dd5cf){return _0x5b39aa===_0x2dd5cf;},_0x5df472[_0x2569da(0x167)]=_0x2569da(0x1aa),_0x5df472[_0x2569da(0x1b5)]=function(_0x572d11,_0x144213){return _0x572d11===_0x144213;},_0x5df472[_0x2569da(0x213)]='hook',_0x5df472[_0x2569da(0x16d)]=function(_0x3abdda,_0x40edaa){return _0x3abdda===_0x40edaa;},_0x5df472[_0x2569da(0x146)]='skipped',_0x5df472[_0x2569da(0x15b)]=function(_0x3e1538,_0x2db30e){return _0x3e1538===_0x2db30e;},_0x5df472[_0x2569da(0x19b)]='started',_0x5df472[_0x2569da(0x1d5)]='finished';const _0x307bcc=_0x5df472,_0x3d8966=_0x9f7cb1[_0x2569da(0x180)](/^(.*)Run(.*)$/);if(!_0x3d8966)return null;if(_0x307bcc[_0x2569da(0x181)](_0x3d8966[_0x2569da(0x17e)],0x3))return null;const _0x1084b2=_0x3d8966[0x1][_0x2569da(0x214)](),_0x251197=_0x3d8966[0x2][_0x2569da(0x214)]();return{'test':_0x307bcc['IKXUo'](_0x1084b2,_0x307bcc[_0x2569da(0x167)]),'hook':_0x307bcc['AHqex'](_0x1084b2,_0x307bcc['GsnKF']),'skipped':_0x307bcc[_0x2569da(0x16d)](_0x251197,_0x307bcc[_0x2569da(0x146)]),'started':_0x307bcc[_0x2569da(0x15b)](_0x251197,_0x307bcc['mxzLV']),'finished':_0x307bcc[_0x2569da(0x15b)](_0x251197,_0x307bcc[_0x2569da(0x1d5)])};},mockPWBrowserType=_0x6d31ea=>{const _0x10d731=a4_0x4594cf,_0xf28c5={'utfMW':function(_0x4a4250,_0x539f6d){return _0x4a4250===_0x539f6d;},'PUEUP':'string','GsLXz':function(_0x39e4cd,_0x1c9f2c,_0x94bf0f){return _0x39e4cd(_0x1c9f2c,_0x94bf0f);},'msano':_0x10d731(0x187),'zrFVM':function(_0x4e1833,_0x33117f){return _0x4e1833(_0x33117f);},'UmLuK':_0x10d731(0x208),'hOCiX':_0x10d731(0x237),'BvLlA':_0x10d731(0x191),'lTocg':_0x10d731(0x1b4),'LqOla':function(_0xde6160,_0x5118e4){return _0xde6160(_0x5118e4);},'nhpyz':_0x10d731(0x21d),'GPKES':_0x10d731(0x1e7),'IYgmJ':'launch'},_0x1bb8b8=path[_0x10d731(0x1ee)](_0xf28c5[_0x10d731(0x1b8)],_0xf28c5[_0x10d731(0x20c)],_0xf28c5['lTocg']),_0x21fb63=_0xf28c5[_0x10d731(0x1d6)](importFileFromPWCore,_0x1bb8b8);if(!_0x21fb63){_0xf28c5[_0x10d731(0x1a2)](debug,_0xf28c5[_0x10d731(0x1a4)]);return;}const _0xf745fb=_0x21fb63[_0x10d731(0x1de)],_0xfcbed9=_0xf745fb[_0x10d731(0x1a0)];if(_0xfcbed9[_0x10d731(0x172)])return;const _0x58ab67=_0xfcbed9[_0x10d731(0x1e7)];Object[_0x10d731(0x1b0)](_0xfcbed9,_0xf28c5['GPKES'],{'get':function(){const _0x218ee6=_0x10d731,_0x145589={'mqECq':function(_0x1d3e60,_0x1c7ee7){return _0xf28c5['utfMW'](_0x1d3e60,_0x1c7ee7);},'ghsiR':_0xf28c5[_0x218ee6(0x1e1)],'JDVEl':function(_0x387f28,_0x19db09,_0x33fee6){const _0x129238=_0x218ee6;return _0xf28c5[_0x129238(0x193)](_0x387f28,_0x19db09,_0x33fee6);},'oYXwG':_0xf28c5[_0x218ee6(0x1c5)],'webeM':function(_0x4e9375,_0x153711){const _0x2261be=_0x218ee6;return _0xf28c5[_0x2261be(0x1a2)](_0x4e9375,_0x153711);},'MCBDN':_0xf28c5[_0x218ee6(0x155)]};return async function _0x539722(_0x4e3ef3,_0x280d16){const _0x54b13b=_0x218ee6,_0x208a27={'vctcs':function(_0x49b280,_0x28a4f9){return _0x145589['mqECq'](_0x49b280,_0x28a4f9);},'JnXaF':_0x145589[_0x54b13b(0x1d0)]},_0x19dd2f=_0x145589[_0x54b13b(0x17c)](nestedKeyValue,_0x4e3ef3,[_0x145589[_0x54b13b(0x1f0)]])||_0x4e3ef3;let _0x2e8c64=null,_0x363473=null;try{[_0x363473,_0x2e8c64]=_0x19dd2f?_0x145589[_0x54b13b(0x176)](parseWSEndpoint,_0x19dd2f):[null,null],global[_0x54b13b(0x203)]=_0x2e8c64,logger[_0x54b13b(0x1d2)](_0x54b13b(0x14e)+_0x363473),_0x363473['includes'](Constants[_0x54b13b(0x18a)])&&(global[_0x54b13b(0x149)]=_0x145589[_0x54b13b(0x157)]);}catch(_0x260e48){logger[_0x54b13b(0x1d2)](_0x54b13b(0x162)+_0x19dd2f+'\x20'+_0x260e48);}_0x145589[_0x54b13b(0x17c)](processAccessibilityCaps,_0x2e8c64,_0x363473);if(global[_0x54b13b(0x159)]){const _0x190ab8=await _0xfcbed9[_0x54b13b(0x1fe)][_0x54b13b(0x170)](this,[''+Constants[_0x54b13b(0x198)]+_0x145589[_0x54b13b(0x176)](encodeURIComponent,JSON[_0x54b13b(0x18d)](_0x2e8c64))]);return PlaywrightSessionDetails[_0x54b13b(0x1d9)](_0x190ab8,_0x6d31ea,_0x19dd2f),_0x190ab8;}return _0x58ab67[_0x54b13b(0x170)](this,arguments)[_0x54b13b(0x151)](_0x297e2c=>{const _0x5e1d19=_0x54b13b;let _0x586109=_0x4e3ef3['wsEndpoint'];return _0x208a27[_0x5e1d19(0x1cf)](typeof _0x4e3ef3,_0x208a27['JnXaF'])&&(_0x586109=_0x4e3ef3),PlaywrightSessionDetails[_0x5e1d19(0x1d9)](_0x297e2c,_0x6d31ea,_0x586109),_0x297e2c;});};}});const _0x31e10d=_0xfcbed9[_0x10d731(0x205)];Object[_0x10d731(0x1b0)](_0xfcbed9,_0xf28c5[_0x10d731(0x189)],{'get':function(){return async function _0x28bc99(){const _0x481ba3=a4_0xa406;return _0x31e10d[_0x481ba3(0x170)](this,arguments)[_0x481ba3(0x151)](_0x15be54=>{const _0x2aecfa=_0x481ba3;return PlaywrightSessionDetails[_0x2aecfa(0x1d9)](_0x15be54,null),_0x15be54;});};}});};class O11yHelper{[a4_0x4594cf(0x1b7)]=null;[a4_0x4594cf(0x1c6)]=null;['enabled']=![];[a4_0x4594cf(0x194)]=![];[a4_0x4594cf(0x1fb)]=[];constructor(_0x2948ee,_0x2fc2d7){const _0x254df9=a4_0x4594cf,_0x5ccd81={'DhPGe':_0x254df9(0x1e3),'RZWwn':function(_0xd133c8,_0x113db1){return _0xd133c8===_0x113db1;},'tNeUg':_0x254df9(0x21f),'IOaqd':function(_0x38f6f1,_0x55dd03){return _0x38f6f1(_0x55dd03);},'SyzXH':function(_0x6fe366){return _0x6fe366();},'nrezj':function(_0x10fe16){return _0x10fe16();}},_0x502554=_0x5ccd81[_0x254df9(0x231)]['split']('|');let _0x3d5004=0x0;while(!![]){switch(_0x502554[_0x3d5004++]){case'0':this[_0x254df9(0x194)]=_0x2fc2d7['frameworkName'];continue;case'1':this[_0x254df9(0x239)]&&_0x5ccd81['RZWwn'](this[_0x254df9(0x239)][_0x254df9(0x201)][_0x254df9(0x1ab)],_0x5ccd81[_0x254df9(0x204)])&&_0x5ccd81[_0x254df9(0x16e)](mockPWBrowserType,null);continue;case'2':this[_0x254df9(0x174)]=_0x5ccd81['SyzXH'](getTestEnv);continue;case'3':this['enabled']=_0x5ccd81['nrezj'](shouldProcessEventForTesthub);continue;case'4':this['_paths']=new testOpsHelper[(_0x254df9(0x13a))]({'cwd':process[_0x254df9(0x138)]()},this[_0x254df9(0x174)][_0x254df9(0x1d8)]);continue;case'5':this[_0x254df9(0x239)]=_0x2948ee;continue;}break;}}[a4_0x4594cf(0x1ff)](){const _0x13cd87=a4_0x4594cf,_0x242d4a={'tBJnt':function(_0x4259b,_0x523fc8){return _0x4259b(_0x523fc8);}};if(!this['driver'])return![];try{const _0x5711f3=_0x242d4a[_0x13cd87(0x1eb)](fetchPlatformDetails,this['driver']);if(!_0x5711f3)return![];const _0x4ac53e=Object['keys'](_0x5711f3)[0x0];return!!(_0x4ac53e&&_0x5711f3[_0x4ac53e]&&_0x5711f3[_0x4ac53e][_0x13cd87(0x1b3)]);}catch(_0x11bcc2){return![];}}[a4_0x4594cf(0x1ac)](_0x261dc8,_0x5c1e1d){const _0xb72465=a4_0x4594cf;if(!_0x5c1e1d)return;const _0x1ded9b={};_0x1ded9b[_0xb72465(0x200)]=_0x261dc8,_0x1ded9b[_0xb72465(0x1e5)]=_0x5c1e1d,this[_0xb72465(0x1fb)][_0xb72465(0x13c)](_0x1ded9b);}async[a4_0x4594cf(0x1cd)](){const _0xfdb6be=a4_0x4594cf,_0x1387a4={};_0x1387a4[_0xfdb6be(0x168)]=function(_0x3e151d,_0x1164e2){return _0x3e151d&&_0x1164e2;};const _0x4b6b86=_0x1387a4;if(!this[_0xfdb6be(0x1fb)][_0xfdb6be(0x17e)])return;if(!this[_0xfdb6be(0x1ff)]())return;const _0x564ada=this['getCBTInfo'](this['driver']),_0xade413=this[_0xfdb6be(0x1fb)][_0xfdb6be(0x1c2)](0x0,this[_0xfdb6be(0x1fb)][_0xfdb6be(0x17e)]);for(const {eventType:_0x59fdcd,uploadData:_0x8be5b3}of _0xade413){try{const _0x5d0d20=_0x8be5b3[_0xfdb6be(0x1ae)]||_0x8be5b3[_0xfdb6be(0x207)];_0x4b6b86[_0xfdb6be(0x168)](_0x5d0d20,_0x564ada)&&(_0x5d0d20[_0xfdb6be(0x221)]=_0x564ada),await this[_0xfdb6be(0x1c0)](_0x59fdcd,_0x8be5b3);}catch(_0x11aa11){logger[_0xfdb6be(0x1d2)]('Failed\x20to\x20flush\x20pending\x20hook\x20event\x20'+_0x59fdcd+':\x20'+util[_0xfdb6be(0x1c1)](_0x11aa11));}}}[a4_0x4594cf(0x22d)](){const _0x5bf1fc=a4_0x4594cf;if(!this['enabled'])return;testOpsHelper[_0x5bf1fc(0x210)](),process[_0x5bf1fc(0x1bb)](_0x5bf1fc(0x1b9)+process['pid']),process['on'](_0x5bf1fc(0x1b9)+process[_0x5bf1fc(0x1ad)],this['appendTestItemLog'][_0x5bf1fc(0x1b1)](this));}async[a4_0x4594cf(0x15e)](){const _0x34d32a=a4_0x4594cf;await RequestQueueHandler[_0x34d32a(0x18e)]()[_0x34d32a(0x164)]();}async['appendTestItemLog'](_0x194e36){const _0x44883a=a4_0x4594cf,_0x338ae8={'InxSb':_0x44883a(0x241),'TAsmG':function(_0x167f23,_0x145db0){return _0x167f23(_0x145db0);}};try{this['currentHook']&&!this[_0x44883a(0x1c6)][_0x44883a(0x1ba)]&&(_0x194e36[_0x44883a(0x202)]=this['currentHook'][_0x44883a(0x150)]);!_0x194e36[_0x44883a(0x202)]&&this[_0x44883a(0x1b7)]&&!this[_0x44883a(0x1b7)]['markedStatus']&&(_0x194e36[_0x44883a(0x14a)]=this[_0x44883a(0x1b7)][_0x44883a(0x1e2)]);if(_0x194e36[_0x44883a(0x202)]||_0x194e36[_0x44883a(0x14a)]){const _0xd05b05={};_0xd05b05['event_type']=_0x338ae8['InxSb'],_0xd05b05[_0x44883a(0x160)]=[_0x194e36],await SessionHandler['uploadEventData'](_0xd05b05);}}catch(_0x4b0b44){_0x338ae8[_0x44883a(0x236)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x4b0b44);}}async[a4_0x4594cf(0x186)](_0x3a1855){const _0x3ce86e=a4_0x4594cf,_0x43ec39={'dJrbJ':'CBTSessionCreated','trNjF':function(_0x5f5501,_0x35195b){return _0x5f5501(_0x35195b);}};if(!this['enabled'])return;const _0x3585a4=this['getCBTInfo'](this['driver']);try{const _0x156360={};_0x156360[_0x3ce86e(0x215)]=_0x3a1855,_0x156360[_0x3ce86e(0x221)]=_0x3585a4;const _0x5b3287=_0x156360,_0x86dade={};_0x86dade['event_type']=_0x43ec39[_0x3ce86e(0x23b)],_0x86dade[_0x3ce86e(0x207)]=_0x5b3287,await SessionHandler['uploadEventData'](_0x86dade);}catch(_0x2ca6fe){_0x43ec39[_0x3ce86e(0x17a)](debug,_0x3ce86e(0x154)+constants[_0x3ce86e(0x1c4)]+'\x20with\x20error\x20:\x20'+_0x2ca6fe);}}[a4_0x4594cf(0x16a)](_0x59ac05){const _0x2fa9fa={'kepET':function(_0x3b37b3,_0x54adce){return _0x3b37b3(_0x54adce);}};return _0x2fa9fa['kepET'](fetchPlatformDetails,_0x59ac05);}[a4_0x4594cf(0x23d)]=_0x2ee7e4=>{const _0x2cce4c=a4_0x4594cf,_0x245cc7={};_0x245cc7['cKtnt']='_beforeEach',_0x245cc7[_0x2cce4c(0x1a5)]=_0x2cce4c(0x19a);const _0xfc761d=_0x245cc7;if(!_0x2ee7e4||!_0x2ee7e4['parent'])return;[_0xfc761d[_0x2cce4c(0x1e4)],_0xfc761d[_0x2cce4c(0x1a5)]][_0x2cce4c(0x139)](_0xe64350=>{const _0x5253d9=_0x2cce4c,_0x419792=_0x2ee7e4[_0x5253d9(0x165)][_0xe64350];_0x419792[_0x5253d9(0x139)](_0x1bb73b=>{const _0xf964a0=_0x5253d9;_0x1bb73b[_0xf964a0(0x150)]&&(_0x1bb73b[_0xf964a0(0x150)]=null);});});};[a4_0x4594cf(0x20e)](_0xcbe419){const _0x34b743=a4_0x4594cf,_0x53115e={'yCuPV':_0x34b743(0x228),'JzaKu':function(_0x59227b){return _0x59227b();},'nYYPL':function(_0x46165a,_0x4dde6b){return _0x46165a===_0x4dde6b;},'ruhAG':_0x34b743(0x19a),'zLvJi':function(_0x3d2244){return _0x3d2244();},'VddLP':_0x34b743(0x20a),'OEOft':_0x34b743(0x1f7),'YWUfB':_0x34b743(0x1a8)};if(!_0xcbe419||!_0xcbe419[_0x34b743(0x165)])return;[_0x53115e['VddLP'],_0x53115e[_0x34b743(0x16f)],_0x53115e[_0x34b743(0x1a7)],_0x53115e[_0x34b743(0x1b2)]][_0x34b743(0x139)](_0x4d6933=>{const _0x17f6ed=_0x34b743,_0x41dc69=_0xcbe419[_0x17f6ed(0x165)][_0x4d6933]||[];_0x41dc69['forEach'](_0x45a49a=>{const _0x298733=_0x17f6ed;if(_0x45a49a[_0x298733(0x230)]['includes'](_0x53115e[_0x298733(0x156)]))return;if(!_0x45a49a[_0x298733(0x150)])_0x45a49a[_0x298733(0x150)]=_0x53115e[_0x298733(0x15c)](uuidv4);else _0x45a49a['markedStatus']&&_0x53115e[_0x298733(0x212)](_0x4d6933,_0x53115e[_0x298733(0x1b2)])&&(_0x45a49a[_0x298733(0x150)]=_0x53115e[_0x298733(0x166)](uuidv4),delete _0x45a49a[_0x298733(0x1ba)]);});}),this[_0x34b743(0x20e)](_0xcbe419[_0x34b743(0x165)]);}[a4_0x4594cf(0x1e8)](_0x34b6cd){const _0x1d1aa1=a4_0x4594cf,_0x2b5859={};_0x2b5859[_0x1d1aa1(0x163)]=_0x1d1aa1(0x20a),_0x2b5859[_0x1d1aa1(0x182)]=_0x1d1aa1(0x1f7),_0x2b5859[_0x1d1aa1(0x169)]='_beforeEach',_0x2b5859[_0x1d1aa1(0x1b6)]='_afterEach';const _0x4fee24=_0x2b5859;if(!_0x34b6cd||!_0x34b6cd[_0x1d1aa1(0x165)])return[];const _0x41a95b=[];return[_0x4fee24[_0x1d1aa1(0x163)],_0x4fee24[_0x1d1aa1(0x182)],_0x4fee24[_0x1d1aa1(0x169)],_0x4fee24[_0x1d1aa1(0x1b6)]][_0x1d1aa1(0x139)](_0x2db47e=>{const _0x1c8a4a=_0x34b6cd['parent'][_0x2db47e]||[];_0x1c8a4a['forEach'](_0x2cb2a0=>{const _0x5e90ca=a4_0xa406;_0x2cb2a0[_0x5e90ca(0x150)]&&_0x41a95b[_0x5e90ca(0x13c)](_0x2cb2a0['hookAnalyticsId']);});}),[][_0x1d1aa1(0x142)](_0x41a95b,this['getHooksForTest'](_0x34b6cd[_0x1d1aa1(0x165)]));}[a4_0x4594cf(0x21b)](_0x29d05d){const _0x411d90=a4_0x4594cf,_0x1b2bea=/^"(?<hook>.*)" hook:.*$/,_0x1f1ba3=_0x29d05d[_0x411d90(0x230)],_0x4ab04a=_0x1f1ba3[_0x411d90(0x180)](_0x1b2bea);if(_0x4ab04a&&_0x4ab04a[_0x411d90(0x185)])return _0x4ab04a[_0x411d90(0x185)]['hook'][_0x411d90(0x1d4)]()[_0x411d90(0x195)]('\x20','_');return null;}[a4_0x4594cf(0x19c)](_0x520ea9){const _0x2bfcdb=a4_0x4594cf,_0x3ecc38={};_0x3ecc38[_0x2bfcdb(0x23c)]=function(_0x28ac9b,_0x5c0852){return _0x28ac9b===_0x5c0852;},_0x3ecc38[_0x2bfcdb(0x1a6)]=function(_0x3e21f7,_0x4b91f5){return _0x3e21f7===_0x4b91f5;},_0x3ecc38[_0x2bfcdb(0x173)]=_0x2bfcdb(0x209),_0x3ecc38['ZlTbz']=_0x2bfcdb(0x188);const _0x1747be=_0x3ecc38,_0x5021ed=path[_0x2bfcdb(0x223)];if(_0x1747be[_0x2bfcdb(0x23c)](_0x520ea9,null)||_0x1747be['qfohD'](_0x520ea9,'')||_0x1747be[_0x2bfcdb(0x1a6)](_0x520ea9,_0x5021ed)||_0x1747be[_0x2bfcdb(0x1a6)](_0x520ea9,path['dirname'](_0x520ea9)))return null;try{return fs[_0x2bfcdb(0x1dd)](path[_0x2bfcdb(0x1ee)](_0x520ea9,_0x1747be['QsvSn'],_0x1747be[_0x2bfcdb(0x14c)])),_0x520ea9;}catch(_0x945863){const _0x3775b3=path['dirname'](_0x520ea9);return this['findGitConfig'](_0x3775b3);}}['getRootParentFile'](_0x4f6efe){const _0x4ac705=a4_0x4594cf,_0x44f857={};_0x44f857[_0x4ac705(0x22c)]=function(_0x407723,_0x5a4a1f){return _0x407723>_0x5a4a1f;};const _0x377c4f=_0x44f857;if(_0x4f6efe[_0x4ac705(0x23e)])return _0x4f6efe['file'];if(_0x4f6efe[_0x4ac705(0x17b)]){const _0x438542=_0x4f6efe[_0x4ac705(0x17b)][_0x4ac705(0x1b7)]?this[_0x4ac705(0x232)](_0x4f6efe[_0x4ac705(0x17b)][_0x4ac705(0x1b7)]):null;if(_0x438542)return _0x438542;}if(_0x4f6efe[_0x4ac705(0x165)]){const _0x570be1=this[_0x4ac705(0x232)](_0x4f6efe[_0x4ac705(0x165)])||(_0x4f6efe[_0x4ac705(0x165)]['ctx']&&_0x4f6efe[_0x4ac705(0x165)][_0x4ac705(0x17b)][_0x4ac705(0x1b7)]?this[_0x4ac705(0x232)](_0x4f6efe[_0x4ac705(0x165)]['ctx'][_0x4ac705(0x1b7)]):null);if(_0x570be1)return _0x570be1;_0x4f6efe['parent'][_0x4ac705(0x16b)]&&_0x377c4f['wMxCT'](_0x4f6efe['parent'][_0x4ac705(0x16b)][_0x4ac705(0x17e)],0x0)&&_0x4f6efe[_0x4ac705(0x165)][_0x4ac705(0x16b)]['forEach'](_0x94fa30=>{const _0x3a3fc6=_0x4ac705,_0x2c5dc9=_0x94fa30[_0x3a3fc6(0x17b)]?this[_0x3a3fc6(0x232)](_0x94fa30['ctx']):null;if(_0x2c5dc9)return _0x2c5dc9;});}return null;}[a4_0x4594cf(0x1d1)](_0x51d101){const _0x32e148=a4_0x4594cf,_0x51d0b0={};_0x51d0b0[_0x32e148(0x14b)]=function(_0x54a95f,_0x30d4fd){return _0x54a95f!==_0x30d4fd;};const _0x1d50d5=_0x51d0b0,_0xceb7bd=[];if(_0x51d101&&_0x51d101['parent']){let _0x1fe159=_0x51d101[_0x32e148(0x165)];while(_0x1fe159&&_0x1d50d5[_0x32e148(0x14b)](_0x1fe159[_0x32e148(0x230)],'')){_0xceb7bd['push'](_0x1fe159[_0x32e148(0x230)]),_0x1fe159=_0x1fe159[_0x32e148(0x165)];}}return _0xceb7bd;}[a4_0x4594cf(0x1f8)](_0x9d7ad3,_0x55b7a5,_0x2048db=undefined){const _0x65b626=a4_0x4594cf,_0x20a648={'viIpd':function(_0x4385e1,_0x63048d){return _0x4385e1(_0x63048d);},'utuLa':function(_0x1011de){return _0x1011de();},'aoDDL':function(_0x397bc8){return _0x397bc8();},'QQvTB':function(_0x1e0657){return _0x1e0657();},'vHDWn':_0x65b626(0x1fc),'CWMnV':function(_0x56b4b7,_0x3311fa){return _0x56b4b7!==_0x3311fa;},'EMtHe':_0x65b626(0x1f6),'fGneX':_0x65b626(0x1bd),'rPZEH':_0x65b626(0x1af),'yhXXa':'passed','zCbjb':_0x65b626(0x222),'ZRroj':_0x65b626(0x196),'Nsocp':function(_0x3f8d35,_0x301c60){return _0x3f8d35-_0x301c60;},'dYbvM':function(_0x518fc0,_0x5f04e0,_0x48b07a,_0x589d5c,_0x1cc7ce){return _0x518fc0(_0x5f04e0,_0x48b07a,_0x589d5c,_0x1cc7ce);},'HVSKV':function(_0x1f0ecc,_0x2ef77d){return _0x1f0ecc!==_0x2ef77d;},'FXEyE':_0x65b626(0x221),'lZuXw':_0x65b626(0x15d),'ywXaH':_0x65b626(0x22f),'HuffC':_0x65b626(0x147),'zXKgp':'backtrace','Nywmh':'failure_reason_expanded','TIZHr':_0x65b626(0x226),'GViUN':function(_0x5c0755,_0x4df22d){return _0x5c0755===_0x4df22d;},'SbHNl':_0x65b626(0x1ae),'DmCra':'test_run'};if(!this['enabled'])return;try{if(_0x55b7a5['fn']&&_0x55b7a5['fn'][_0x65b626(0x1d3)]()['match'](/browserstack internal helper hook/))return;const _0x565741=_0x20a648['viIpd'](parseEvent,_0x9d7ad3);if(!_0x565741)return;if(_0x565741['test']){this[_0x65b626(0x1b7)]=_0x55b7a5,this[_0x65b626(0x1c6)]=null;if(_0x565741['started']||_0x565741['skipped']){_0x55b7a5[_0x65b626(0x238)]=new Date(),_0x55b7a5['markedStatus']=![];if(!_0x55b7a5[_0x65b626(0x1e2)])_0x55b7a5['testAnalyticsId']=_0x20a648['utuLa'](uuidv4);else _0x55b7a5[_0x65b626(0x1ba)]&&(!_0x55b7a5[_0x65b626(0x23a)]&&(_0x55b7a5[_0x65b626(0x23a)]=_0x55b7a5['testAnalyticsId']),_0x55b7a5['testAnalyticsId']=_0x20a648[_0x65b626(0x1c7)](uuidv4));}}else{if(_0x565741[_0x65b626(0x1ea)]){this[_0x65b626(0x1c6)]=_0x55b7a5;if(_0x565741['started']){_0x55b7a5[_0x65b626(0x238)]=new Date(),_0x55b7a5[_0x65b626(0x1ba)]=![];if(!_0x55b7a5['hookAnalyticsId'])_0x55b7a5[_0x65b626(0x150)]=_0x20a648[_0x65b626(0x1c7)](uuidv4);else _0x55b7a5[_0x65b626(0x150)]&&_0x55b7a5['markedStatus']&&(_0x55b7a5[_0x65b626(0x150)]=_0x20a648['QQvTB'](uuidv4));}}}if(_0x565741[_0x65b626(0x184)]&&_0x55b7a5[_0x65b626(0x1ba)])return;let _0x38d727;try{_0x38d727=this['getRootParentFile'](_0x55b7a5);}catch(_0x119889){logger[_0x65b626(0x1d2)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x119889),_0x38d727=null;}let _0x206436=[];_0x2048db&&(_0x206436=[_0x2048db,_0x20a648['vHDWn']]);const _0x4d220c=_0x20a648[_0x65b626(0x21e)](_0x55b7a5[_0x65b626(0x1df)],undefined)?util[_0x65b626(0x1e0)](_0x55b7a5['errorsDetailed'][0x0]):_0x20a648[_0x65b626(0x21e)](_0x2048db,undefined)?_0x2048db[_0x65b626(0x1d3)]():undefined,_0x11267a=_0x38d727?this[_0x65b626(0x19c)](_0x38d727):null,_0x3fadd6=_0x38d727?this[_0x65b626(0x1ce)][_0x65b626(0x1a1)](this[_0x65b626(0x232)](_0x55b7a5)):_0x20a648['EMtHe'];let _0x53c9f0=_0x20a648['fGneX'];const _0x143c98=!_0x565741[_0x65b626(0x219)]?new Date()[_0x65b626(0x225)]():null;if(_0x565741[_0x65b626(0x184)])_0x53c9f0=_0x2048db?_0x20a648['rPZEH']:_0x20a648[_0x65b626(0x1d7)],_0x55b7a5[_0x65b626(0x1ba)]=!![];else _0x565741['skipped']&&(_0x53c9f0=_0x20a648[_0x65b626(0x1da)],_0x55b7a5[_0x65b626(0x1ba)]=!![]);const _0x3fc1bd={'framework':this[_0x65b626(0x194)],'uuid':_0x55b7a5[_0x65b626(0x1e2)]||_0x55b7a5[_0x65b626(0x150)],'name':_0x55b7a5[_0x65b626(0x230)],'body':{'lang':_0x20a648[_0x65b626(0x13b)],'code':_0x55b7a5[_0x65b626(0x18b)]['toString']()},'type':_0x55b7a5[_0x65b626(0x22e)],'scope':_0x55b7a5['fullTitle'](),'scopes':this[_0x65b626(0x1d1)](_0x55b7a5),'file_name':_0x3fadd6,'vc_filepath':_0x11267a?path[_0x65b626(0x17d)](_0x11267a,_0x38d727):null,'location':_0x3fadd6,'result':_0x53c9f0,'failure_reason':_0x4d220c,'duration_in_ms':_0x55b7a5[_0x65b626(0x1c8)]||(_0x565741[_0x65b626(0x184)]||_0x565741[_0x65b626(0x222)])?_0x20a648[_0x65b626(0x19e)](Date[_0x65b626(0x1fd)](),new Date(_0x55b7a5[_0x65b626(0x238)])[_0x65b626(0x192)]()):null,'started_at':new Date(_0x55b7a5['startedAt'])[_0x65b626(0x225)](),'finished_at':_0x143c98,'failure':testOpsHelper[_0x65b626(0x1a3)][_0x65b626(0x170)](null,_0x206436),'failure_type':!_0x4d220c?null:testOpsHelper[_0x65b626(0x1e9)](_0x4d220c),'retry_of':_0x55b7a5[_0x65b626(0x23a)]||null,'tags':_0x55b7a5[_0x65b626(0x14d)]||[],'customRerunParam':{'rerun_name':_0x55b7a5[_0x65b626(0x21c)]()}};_0x20a648[_0x65b626(0x18c)](appendTesthubParams,_0x3fc1bd,_0x9d7ad3,_0x55b7a5,FRAMEWORKS[_0x65b626(0x20b)]);if(_0x565741[_0x65b626(0x1ea)])[_0x3fc1bd[_0x65b626(0x177)],_0x3fc1bd[_0x65b626(0x1ab)]]=[this[_0x65b626(0x21b)](_0x55b7a5),_0x55b7a5[_0x65b626(0x17b)][_0x65b626(0x1aa)][_0x65b626(0x230)]],_0x565741[_0x65b626(0x184)]?_0x20a648['HVSKV'](_0x3fc1bd[_0x65b626(0x143)],_0x20a648[_0x65b626(0x224)])&&(_0x3fc1bd[_0x65b626(0x143)]=_0x20a648[_0x65b626(0x1d7)]):_0x3fc1bd[_0x65b626(0x18b)]={};else _0x565741[_0x65b626(0x1aa)]&&(this['mapTestHooks'](_0x55b7a5),_0x565741[_0x65b626(0x222)]&&this['resetSkipTestHooks'](_0x55b7a5),(_0x565741[_0x65b626(0x184)]||_0x565741[_0x65b626(0x222)])&&(_0x3fc1bd[_0x65b626(0x144)]=this[_0x65b626(0x1e8)](_0x55b7a5)));this[_0x65b626(0x239)]&&(_0x565741[_0x65b626(0x219)]||_0x565741['skipped'])&&(_0x3fc1bd[_0x20a648[_0x65b626(0x1c9)]]=this[_0x65b626(0x16a)](this[_0x65b626(0x239)]));_0x565741[_0x65b626(0x1aa)]&&_0x565741[_0x65b626(0x184)]&&_0x55b7a5[_0x65b626(0x1bf)]&&(_0x3fc1bd[_0x20a648[_0x65b626(0x1db)]]={'feature':{'name':_0x55b7a5[_0x65b626(0x165)][_0x65b626(0x145)]['name'],'path':_0x3fc1bd[_0x65b626(0x153)],'description':_0x55b7a5[_0x65b626(0x165)][_0x65b626(0x183)]},'scenario':{'name':_0x55b7a5[_0x65b626(0x230)]},'steps':_0x55b7a5[_0x65b626(0x1bf)]});const _0x465a24=_0x3fc1bd[_0x20a648[_0x65b626(0x22b)]][0x0];_0x465a24&&(_0x3fc1bd[_0x20a648[_0x65b626(0x178)]]=_0x465a24[_0x20a648['zXKgp']],_0x3fc1bd[_0x20a648[_0x65b626(0x152)]]=_0x465a24[_0x20a648['TIZHr']]);if(_0x55b7a5[_0x65b626(0x1bf)])for(const _0x3a6942 of _0x55b7a5[_0x65b626(0x1bf)]){!_0x3a6942[_0x65b626(0x240)]&&(_0x3a6942[_0x65b626(0x240)]=new Date()[_0x65b626(0x225)](),_0x20a648[_0x65b626(0x1f9)](_0x3a6942[_0x65b626(0x143)],_0x20a648[_0x65b626(0x1be)])&&(_0x465a24?(_0x3a6942[_0x65b626(0x143)]=_0x20a648[_0x65b626(0x224)],_0x3a6942[_0x65b626(0x22f)]=_0x465a24[_0x20a648['zXKgp']][0x0]):_0x3a6942['result']=_0x20a648[_0x65b626(0x1d7)]));}const _0x4904f4={};_0x4904f4[_0x65b626(0x23f)]=_0x565741['skipped']?TEST_EVENTS[_0x65b626(0x14f)]:_0x9d7ad3;const _0x14908e=_0x4904f4;return _0x565741[_0x65b626(0x1ea)]?_0x14908e[_0x20a648['SbHNl']]=_0x3fc1bd:_0x14908e[_0x20a648[_0x65b626(0x199)]]=_0x3fc1bd,_0x14908e;}catch(_0x5a7b1d){logger[_0x65b626(0x1d2)](_0x65b626(0x13f)+_0x9d7ad3+_0x65b626(0x148)+_0x5a7b1d);}}async['fireEvent'](_0x4a43cf,_0x964f65){const _0xa72cd1=a4_0x4594cf;if(!this['enabled']||!_0x964f65||!_0x4a43cf)return![];try{return await SessionHandler[_0xa72cd1(0x218)](_0x964f65);}catch(_0x57e621){logger[_0xa72cd1(0x1d2)](_0xa72cd1(0x1ec)+_0x4a43cf+'\x20with\x20error\x20:\x20'+_0x57e621);}}[a4_0x4594cf(0x161)](_0x1b9cea){const _0x23aa12=a4_0x4594cf,_0x3092d8={};_0x3092d8[_0x23aa12(0x1f3)]='pending';const _0x1a90b5=_0x3092d8;return{'id':_0x1b9cea[_0x23aa12(0x1f5)],'text':_0x1b9cea[_0x23aa12(0x220)],'keyword':_0x1b9cea[_0x23aa12(0x233)],'started_at':_0x1b9cea['startedAt']['toISOString'](),'result':_0x1a90b5[_0x23aa12(0x1f3)]};}[a4_0x4594cf(0x16c)](_0x6c0b){const _0x52f3ae=a4_0x4594cf,_0x33e7d7={'UmWVt':function(_0x1524e5){return _0x1524e5();}};!this['currentTest'][_0x52f3ae(0x1bf)]&&(this['currentTest']['bddSteps']=[]),!_0x6c0b['stepAnalyticsId']&&(_0x6c0b['stepAnalyticsId']=_0x33e7d7[_0x52f3ae(0x18f)](uuidv4),_0x6c0b[_0x52f3ae(0x238)]=new Date(),this[_0x52f3ae(0x1b7)][_0x52f3ae(0x1bf)]['push'](this[_0x52f3ae(0x161)](_0x6c0b)));}['bddStepFinish'](_0x5188d9){const _0x12ceaa=a4_0x4594cf,_0xf3c63c={'cQOai':function(_0x2c3115,_0x1c5e6a){return _0x2c3115(_0x1c5e6a);},'mNjFb':_0x12ceaa(0x22a),'LDjHq':_0x12ceaa(0x1bd),'Wcxmu':_0x12ceaa(0x140),'eowzr':function(_0x1ee338,_0x14c9d9){return _0x1ee338-_0x14c9d9;}};let _0x1a6751=this['currentTest'][_0x12ceaa(0x1bf)][_0x12ceaa(0x13d)](_0x334ab9=>_0x334ab9['id']===_0x5188d9[_0x12ceaa(0x1f5)]);_0xf3c63c[_0x12ceaa(0x175)](isUndefined,_0x1a6751)&&(_0x1a6751=this[_0x12ceaa(0x161)](_0x5188d9)),_0x1a6751[_0x12ceaa(0x143)]=[_0xf3c63c[_0x12ceaa(0x171)],_0xf3c63c[_0x12ceaa(0x19d)]][_0x12ceaa(0x242)](_0x5188d9[_0x12ceaa(0x15a)])?_0xf3c63c[_0x12ceaa(0x1f1)]:_0x5188d9['status'],_0x1a6751[_0x12ceaa(0x240)]=new Date()[_0x12ceaa(0x225)](),_0x1a6751[_0x12ceaa(0x1c8)]=_0xf3c63c[_0x12ceaa(0x141)](Date[_0x12ceaa(0x1fd)](),_0x5188d9[_0x12ceaa(0x238)][_0x12ceaa(0x192)]()),_0x1a6751[_0x12ceaa(0x22f)]=_0x5188d9['err']?_0x5188d9[_0x12ceaa(0x1fc)]['message']:null;}}const a4_0x487e52={};function a4_0x4aab(){const _0x34c072=['body','dYbvM','stringify','getInstance','UmWVt','HOOK_RUN_STARTED','client','getTime','GsLXz','frameworkName','replace','javascript','TEST_RUN_SKIPPED','PLAYWRIGHT_HUB_URL','DmCra','_afterEach','mxzLV','findGitConfig','LDjHq','Nsocp','../../helpers/test-observability/constants','prototype','prefixTestPath','zrFVM','failureData','nhpyz','wZEAc','VEkYz','YWUfB','_beforeEach','../utils/constants','test','name','bufferPendingHookEvent','pid','hook_run','failed','defineProperty','bind','ruhAG','session_id','browserType.js','AHqex','mBAdt','currentTest','hOCiX','bs:addLog:','markedStatus','removeAllListeners','740OeLrRW','pending','fGneX','bddSteps','fireEvent','format','splice','path','TEST_REPORTING_ANALYTICS','msano','currentHook','aoDDL','duration','FXEyE','util','../../helpers/helper','HOOK_RUN_FINISHED','flushPendingHookEvents','_paths','vctcs','ghsiR','getHierarchy','debug','toString','toUpperCase','CWlrq','LqOla','yhXXa','location_prefix','setupBrowserDetails','zCbjb','lZuXw','1580355RzZdUF','statSync','BrowserType','errorsDetailed','inspect','PUEUP','testAnalyticsId','3|0|5|2|4|1','cKtnt','uploadData','910almPqf','connect','getHooksForTest','getFailureType','hook','tBJnt','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','HookRunStarted','join','HookRunFinished','oYXwG','Wcxmu','543PEbcJo','nBQYI','../../helpers/test-observability/requestQueueHandler','stepAnalyticsId','File\x20path\x20could\x20not\x20be\x20found','_afterAll','captureEvent','GViUN','202178sEGGuf','pendingHookEvents','err','now','connectOverCDP','hasLiveDriverSession','eventType','constructor','hook_run_uuid','__platformCaps','tNeUg','launch','2164KFGTca','test_run','browserstack','.git','_beforeAll','CODECEPT','BvLlA','./helper.js','mapTestHooks','8XkMPAQ','patchConsoleLogger','1ppsnpR','nYYPL','GsnKF','toLowerCase','uuid','774914UsBGJB','10978PRCQQY','uploadEventData','started','5005272HMzxcF','getHookType','fullTitle','Not\x20able\x20to\x20import\x20Browser','CWMnV','Playwright','text','integrations','skipped','sep','rPZEH','toISOString','expanded','../playwright/sessionDetails','codeceptjs','../../helpers/test-observability/utils','success','ywXaH','wMxCT','start','type','failure','title','DhPGe','getRootParentFile','keyword','TEST_EVENTS','../playwright/accessibility-helper','TAsmG','lib','startedAt','driver','retryOf','dJrbJ','qfohD','resetSkipTestHooks','file','event_type','finished_at','LogCreated','includes','cwd','forEach','PathHelper','ZRroj','push','find','exports','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','passed','eowzr','concat','result','hooks','feature','ZnGaQ','failure_backtrace','\x20with\x20error\x20:\x20','__cloud_provider___','test_run_uuid','ldYQp','ZlTbz','tags','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','TEST_RUN_FINISHED','hookAnalyticsId','then','Nywmh','file_name','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','UmLuK','yCuPV','MCBDN','../../helpers/logger','accessibilityPlatform','status','RCmFz','JzaKu','meta','stop','1626akpQfl','logs','initializeBddStep','Failed\x20to\x20parse\x20wsendpoint\x20','CecoE','shutdown','parent','zLvJi','snjZh','CfIsq','BqYxr','getCBTInfo','suites','bddStepStart','geEdP','IOaqd','OEOft','apply','mNjFb','obsBrowserTypeMockApplied','QsvSn','_testEnv','cQOai','webeM','hook_type','HuffC','TEST_RUN_STARTED','trNjF','ctx','JDVEl','relative','length','STATE_FAILED','match','gztkS','UdLoK','comment','finished','groups','sendCBTInfo','wsEndpoint','config','IYgmJ','BROWSERSTACK'];a4_0x4aab=function(){return _0x34c072;};return a4_0x4aab();}a4_0x487e52['O11yHelper']=O11yHelper,a4_0x487e52['STATE_PASSED']=STATE_PASSED,a4_0x487e52[a4_0x4594cf(0x17f)]=STATE_FAILED,a4_0x487e52[a4_0x4594cf(0x234)]=TEST_EVENTS,module[a4_0x4594cf(0x13e)]=a4_0x487e52;