browserstack-node-sdk 1.52.2 → 1.52.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +4 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x2964bb=a1_0x1a67;(function(_0x4d6acc,_0x597749){const _0xa02367=a1_0x1a67,_0x386ff3=_0x4d6acc();while(!![]){try{const _0x1ec242=parseInt(_0xa02367(0x141))/0x1+parseInt(_0xa02367(0xbe))/0x2*(parseInt(_0xa02367(0x163))/0x3)+-parseInt(_0xa02367(0x99))/0x4*(-parseInt(_0xa02367(0x127))/0x5)+-parseInt(_0xa02367(0xed))/0x6+-parseInt(_0xa02367(0x7a))/0x7*(parseInt(_0xa02367(0xd7))/0x8)+-parseInt(_0xa02367(0xbd))/0x9*(-parseInt(_0xa02367(0xd8))/0xa)+-parseInt(_0xa02367(0x91))/0xb;if(_0x1ec242===_0x597749)break;else _0x386ff3['push'](_0x386ff3['shift']());}catch(_0x13b583){_0x386ff3['push'](_0x386ff3['shift']());}}}(a1_0x3156,0x40cb9));function a1_0x1a67(_0x36f270,_0x43efea){const _0x315620=a1_0x3156();return a1_0x1a67=function(_0x1a67ea,_0x13d1ab){_0x1a67ea=_0x1a67ea-0x69;let _0xa4892d=_0x315620[_0x1a67ea];return _0xa4892d;},a1_0x1a67(_0x36f270,_0x43efea);}const fs=require('fs'),util=require(a1_0x2964bb(0x158)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2964bb(0xda)),logger=require(a1_0x2964bb(0xd2))[a1_0x2964bb(0x14e)],testOpsHelper=require(a1_0x2964bb(0xc1)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x2964bb(0x90)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2964bb(0xc0)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2964bb(0xfb)),AccessibilityHelper=require(a1_0x2964bb(0x15c)),scripts=require(a1_0x2964bb(0x81)),PerformanceTester=require(a1_0x2964bb(0x145)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2964bb(0x101)),testHubConstants=require(a1_0x2964bb(0xf4)),globals=require(a1_0x2964bb(0xb3)),CodeceptJS=requireModule(a1_0x2964bb(0x6d),a1_0x2964bb(0x8b)),CodeceptUtils=requireModule(a1_0x2964bb(0x82),'codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2964bb(0x8b)),CodeceptRecorder=requireModule(a1_0x2964bb(0x153),a1_0x2964bb(0x8b)),CodeceptPlaywright=requireModule(a1_0x2964bb(0xf0),'codeceptjs'),playwrightMarkSessionStatus=(_0x2d493b,_0x44d064,_0x15b33c)=>{const _0x45cea1=a1_0x2964bb,_0x45779c={'JLGQi':'setSessionStatus','MBkZx':function(_0x1b1234,_0x1ea4c5){return _0x1b1234(_0x1ea4c5);}},_0x4c80ef={};_0x4c80ef[_0x45cea1(0xdd)]=_0x44d064;const _0x4e7766={};_0x4e7766[_0x45cea1(0x14f)]=_0x45779c['JLGQi'],_0x4e7766['arguments']=_0x4c80ef;const _0x55c1b9=_0x4e7766;return!_0x45779c[_0x45cea1(0x10a)](isUndefined,_0x15b33c)&&(_0x55c1b9[_0x45cea1(0x11b)][_0x45cea1(0xf2)]=JSON[_0x45cea1(0xf9)](_0x15b33c)),_0x2d493b[_0x45cea1(0x118)](()=>{},_0x45cea1(0x13d)+JSON[_0x45cea1(0xf9)](_0x55c1b9));},o11ySync=PerformanceTester[a1_0x2964bb(0x142)](PerformanceO11yEvents[a1_0x2964bb(0xba)],async _0x8b1b1e=>{const _0x35b39e=a1_0x2964bb,_0x2f1c7d={};_0x2f1c7d[_0x35b39e(0xce)]=function(_0x36bf14,_0x3629f6){return _0x36bf14===_0x3629f6;},_0x2f1c7d['bMdGd']='Playwright';const _0x39581f=_0x2f1c7d;_0x39581f[_0x35b39e(0xce)](_0x8b1b1e['constructor'][_0x35b39e(0x87)],_0x39581f[_0x35b39e(0xb4)])?await _0x8b1b1e['executeScript'](_0x355bda=>{},testOpsHelper[_0x35b39e(0xa7)]()):await _0x8b1b1e[_0x35b39e(0x118)](testOpsHelper[_0x35b39e(0xa7)]());}),markSessionName=PerformanceTester[a1_0x2964bb(0x142)](PerformanceAutEvents['SESSION_NAME'],async(_0x4e91e2,_0xd0cc61)=>{const _0x3d566b=a1_0x2964bb,_0x57fa05={};_0x57fa05[_0x3d566b(0xe5)]=_0x3d566b(0x120),_0x57fa05['NMLSw']=function(_0x573efb,_0x2a02a4){return _0x573efb===_0x2a02a4;},_0x57fa05[_0x3d566b(0xb6)]=_0x3d566b(0xf6);const _0x490a80=_0x57fa05,_0x5458d2={};_0x5458d2[_0x3d566b(0x87)]=_0xd0cc61;const _0x31abd6={};_0x31abd6[_0x3d566b(0x14f)]=_0x490a80['WOzmJ'],_0x31abd6['arguments']=_0x5458d2;const _0x52c99c=_0x31abd6;_0x490a80[_0x3d566b(0xe9)](_0x4e91e2[_0x3d566b(0xcc)]['name'],_0x490a80['UeyAv'])?await _0x4e91e2[_0x3d566b(0x118)](()=>{},_0x3d566b(0x13d)+JSON['stringify'](_0x52c99c)):await _0x4e91e2['executeScript']('browserstack_executor:\x20'+JSON[_0x3d566b(0xf9)](_0x52c99c));}),patchSaveScreenshot=_0x4b3bb2=>{const _0x71aefe=a1_0x2964bb,_0x2a0e0b={'SIVFr':'base64','RyGJU':'TEST_SCREENSHOT','CnFZB':function(_0x3c1f28){return _0x3c1f28();},'GGUYa':function(_0x364f00,_0xf1b29f){return _0x364f00(_0xf1b29f);},'OcgSc':_0x71aefe(0x77),'kKAuX':function(_0x403e81,_0x2e8959){return _0x403e81(_0x2e8959);}};_0x2a0e0b[_0x71aefe(0x121)](isTrue,process[_0x71aefe(0x83)][_0x71aefe(0xd9)])&&!_0x4b3bb2[_0x71aefe(0x146)]&&(_0x4b3bb2[_0x71aefe(0x146)]=!![],_0x4b3bb2[_0x71aefe(0xfd)]=_0x4b3bb2[_0x71aefe(0x100)],_0x4b3bb2[_0x71aefe(0x100)]=(_0xe36883,_0x4c543d=![])=>{const _0x3bf051=_0x71aefe,_0x162274={'gIGbx':_0x2a0e0b[_0x3bf051(0xd0)],'lcyqK':_0x2a0e0b[_0x3bf051(0x167)],'WmvRK':function(_0x506b7a){const _0x57af23=_0x3bf051;return _0x2a0e0b[_0x57af23(0x9a)](_0x506b7a);},'uNycV':function(_0x62964f,_0x563b2e){return _0x2a0e0b['GGUYa'](_0x62964f,_0x563b2e);},'KTOjx':_0x2a0e0b[_0x3bf051(0x94)]};return new Promise(function(_0x3d7e68,_0x5a1d18){_0x4b3bb2['initSaveScreenshot'](_0xe36883,_0x4c543d)['then'](()=>{const _0x3fd327=a1_0x1a67,_0xe1ef2e=CodeceptUtils['screenshotOutputFolder'](_0xe36883);if(_0xe1ef2e){const _0x341ccb=fs['readFileSync'](_0xe1ef2e);process['emit']('bs:addLog:'+process[_0x3fd327(0xa5)],{'timestamp':new Date()[_0x3fd327(0x112)](),'message':_0x341ccb[_0x3fd327(0xc4)](_0x162274[_0x3fd327(0x130)]),'kind':_0x162274[_0x3fd327(0x93)]}),_0x162274['WmvRK'](_0x3d7e68);}_0x162274[_0x3fd327(0x109)](_0x5a1d18,new Error(_0x162274[_0x3fd327(0x11a)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x451441=>{const _0x4c468b=a1_0x2964bb,_0xf543e0={'gncwo':function(_0x43880d){return _0x43880d();},'pDxSO':function(_0x4dd6c9,_0x38154d){return _0x4dd6c9(_0x38154d);},'EAZpp':function(_0x5b1874,_0x2e4be7){return _0x5b1874===_0x2e4be7;},'zNxYQ':_0x4c468b(0x117),'xgoAp':_0x4c468b(0x140),'LzpiF':_0x4c468b(0xad),'MAOkM':function(_0x2f76c0,_0xb5a123){return _0x2f76c0(_0xb5a123);}},_0x51a914=async function(_0x4af602,_0xad40cf){const _0x10b7c2=_0x4c468b;_0xf543e0[_0x10b7c2(0xdf)](isAccessibilityAutomationSession)&&!global[_0x10b7c2(0x144)]&&global[_0x10b7c2(0xf8)]&&scripts[_0x10b7c2(0x156)](_0x4af602['name'])&&_0xf543e0['pDxSO'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x10b7c2(0x144)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x10b7c2(0x139)],async()=>{const _0x2fd437=_0x10b7c2;logger[_0x2fd437(0x69)](_0x2fd437(0x10f)+_0x4af602['class']+'\x20'+_0x4af602['name']),await AccessibilityHelper[_0x2fd437(0x149)](_0x451441,scripts[_0x2fd437(0xaa)]);},{'command':_0x4af602[_0x10b7c2(0x87)]})());global[_0x10b7c2(0x144)]=![];const _0x580ed7=JSON[_0x10b7c2(0x161)](process[_0x10b7c2(0x83)][_0x10b7c2(0x12e)]||'{}');if(_0xf543e0['EAZpp'](_0x580ed7?.[_0x10b7c2(0x14d)]?.[_0x10b7c2(0x87)],_0xf543e0['zNxYQ'])&&_0xf543e0['EAZpp'](typeof _0x580ed7?.['testFramework']?.['version'],_0xf543e0['xgoAp'])&&_0x580ed7?.[_0x10b7c2(0x14d)]?.[_0x10b7c2(0xe2)]['startsWith']('7'))return _0xad40cf['apply'](null,Array['prototype'][_0x10b7c2(0x154)][_0x10b7c2(0x110)](arguments,0x2));return _0xad40cf[_0x10b7c2(0xf1)](this,Array[_0x10b7c2(0x15e)]['slice'][_0x10b7c2(0x110)](arguments,0x2));},_0x2cc2b8=CodeceptWebDriver['prototype'][_0x4c468b(0xc2)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x1385b7=_0x4c468b,_0x55f196={'hXbeq':function(_0x455874,_0x5e712f){const _0x33d769=a1_0x1a67;return _0xf543e0[_0x33d769(0xde)](_0x455874,_0x5e712f);},'nFfnh':_0xf543e0[_0x1385b7(0x6a)]};try{await _0x2cc2b8[_0x1385b7(0xf1)](this,arguments);}catch(_0x51aa95){logger[_0x1385b7(0x69)](_0x1385b7(0xe6)+util[_0x1385b7(0x72)](_0x51aa95));}scripts[_0x1385b7(0xd4)][_0x1385b7(0x151)](_0x4cf029=>_0x4cf029[_0x1385b7(0x87)]&&_0x4cf029[_0x1385b7(0xb1)])[_0x1385b7(0x89)](_0x5cafe8=>{const _0x377351=_0x1385b7;this[_0x377351(0x75)][_0x377351(0x88)](_0x5cafe8['name'],_0x51a914[_0x377351(0x92)](this,_0x5cafe8),_0x55f196[_0x377351(0xa0)](_0x5cafe8[_0x377351(0xb1)],_0x55f196[_0x377351(0xfe)]));}),_0xf543e0[_0x1385b7(0xc7)](processWebDriverConfig,_0x451441);};};function parseJwt(_0x100a7a){const _0x23caa4=a1_0x2964bb,_0x5d6783={};_0x5d6783[_0x23caa4(0xf5)]=_0x23caa4(0x13f);const _0x131d3d=_0x5d6783;if(!_0x100a7a)return null;return JSON[_0x23caa4(0x161)](Buffer['from'](_0x100a7a[_0x23caa4(0x15f)]('.')[0x1],_0x131d3d[_0x23caa4(0xf5)])['toString']());}const patchPlaywrightBefore=()=>{const _0x5ade40=a1_0x2964bb,_0xc8d578={'hxyAL':_0x5ade40(0xc5),'ZXGDf':function(_0x10cf39){return _0x10cf39();},'akQRB':function(_0x4f1337,_0x37510f){return _0x4f1337(_0x37510f);},'Rqpob':_0x5ade40(0xfa),'CilVl':function(_0x485204,_0x32f4bb){return _0x485204+_0x32f4bb;},'Vknlz':'\x0aStack:\x20','CCLfy':function(_0x336328){return _0x336328();},'CthZO':function(_0x2bbe21){return _0x2bbe21();},'KpRhi':function(_0x163d6c){return _0x163d6c();},'HgqmN':function(_0x500101){return _0x500101();}};PlaywrightSessionDetails['patch']();const _0x593b5a=CodeceptPlaywright[_0x5ade40(0x15e)][_0x5ade40(0xc2)];CodeceptPlaywright[_0x5ade40(0x15e)][_0x5ade40(0xc2)]=async function(){const _0x56dc23=_0x5ade40,_0x7f19a1={'TZiqY':function(_0x322c16){const _0x5132b9=a1_0x1a67;return _0xc8d578[_0x5132b9(0x71)](_0x322c16);},'NLQSz':_0xc8d578[_0x56dc23(0xa9)]};this[_0x56dc23(0x13c)]=await this[_0x56dc23(0x75)][_0x56dc23(0x12d)]()[0x0];const _0xff73c4=async()=>{const _0x3fcc0e=_0x56dc23,_0x3ecd02=this[_0x3fcc0e(0x15a)]&&this[_0x3fcc0e(0x15a)][_0x3fcc0e(0x126)]&&this[_0x3fcc0e(0x15a)][_0x3fcc0e(0x126)]['args']&&Array['isArray'](this['config']['chromium'][_0x3fcc0e(0xea)])&&this[_0x3fcc0e(0x15a)][_0x3fcc0e(0x126)][_0x3fcc0e(0xea)]['includes'](_0xc8d578[_0x3fcc0e(0x13e)]);if(_0xc8d578[_0x3fcc0e(0x132)](isAccessibilityAutomationSession)&&!_0x3ecd02)try{const _0x3fed5e=_0xc8d578[_0x3fcc0e(0xa2)](parseJwt,process[_0x3fcc0e(0x83)][_0x3fcc0e(0x9d)]);if(_0x3fed5e&&_0x3fed5e[_0x3fcc0e(0x7c)]&&_0x3fed5e[_0x3fcc0e(0x7c)][_0x3fcc0e(0x6f)]){const _0x4169c3=this['browserContext'][_0x3fcc0e(0x124)][_0x3fcc0e(0x92)](this[_0x3fcc0e(0x13c)]);this[_0x3fcc0e(0x13c)]['pages']=async function(){const _0x26db3f=_0x3fcc0e,_0x4cf815=await _0x7f19a1[_0x26db3f(0x14b)](_0x4169c3),_0x45126e=[];for(const _0x4b0fe9 of _0x4cf815){try{const _0x491faa=await _0x4b0fe9[_0x26db3f(0xa3)]();!_0x491faa[_0x26db3f(0x85)](_0x7f19a1[_0x26db3f(0x143)])&&_0x45126e['push'](_0x4b0fe9);}catch(_0x2b9d5a){_0x45126e[_0x26db3f(0x9e)](_0x4b0fe9);}}return _0x45126e;};}if(!_0xc8d578[_0x3fcc0e(0x132)](isBrowserstackInfra)){const _0x20227e=await this[_0x3fcc0e(0xeb)][_0x3fcc0e(0xa3)]();if(_0x20227e['startsWith'](_0xc8d578[_0x3fcc0e(0xa9)])){const _0x25810b=await this[_0x3fcc0e(0x13c)][_0x3fcc0e(0x124)]();this[_0x3fcc0e(0x113)](_0x25810b[0x0]);}}}catch(_0x3cd141){logger['debug'](_0x3fcc0e(0xe1)+_0x3cd141['message']+(_0x3cd141[_0x3fcc0e(0x147)]?_0xc8d578[_0x3fcc0e(0xb7)](_0xc8d578['Vknlz'],_0x3cd141['stack']):''));}};_0xc8d578[_0x56dc23(0x129)](isBrowserstackInfra)&&await _0xc8d578['KpRhi'](_0xff73c4),await _0x593b5a[_0x56dc23(0xf1)](this,arguments),!_0xc8d578[_0x56dc23(0x79)](isBrowserstackInfra)&&await _0xc8d578['CthZO'](_0xff73c4);};},getCodeceptDriver=()=>{const _0x4cbaa1=a1_0x2964bb,_0x25e864={};_0x25e864[_0x4cbaa1(0x8f)]=_0x4cbaa1(0x13a),_0x25e864[_0x4cbaa1(0x155)]=_0x4cbaa1(0xf6),_0x25e864[_0x4cbaa1(0x6b)]='Puppeteer',_0x25e864['lvsUL']=_0x4cbaa1(0xc6);const _0x458617=_0x25e864,_0x19294a=[_0x458617[_0x4cbaa1(0x8f)],_0x458617[_0x4cbaa1(0x155)],_0x458617[_0x4cbaa1(0x6b)],_0x458617['lvsUL']],_0x259917=_0x19294a[_0x4cbaa1(0x7d)](_0x4f9c48=>!!CodeceptJS[_0x4cbaa1(0xc8)][_0x4cbaa1(0x103)](_0x4f9c48));if(!_0x259917)return null;return CodeceptJS[_0x4cbaa1(0xc8)][_0x4cbaa1(0x103)](_0x259917);};function a1_0x3156(){const _0x4997e4=['13551sRrCgP','JCOjh','restore','bddStepFinish','RyGJU','skipped','debug','LzpiF','rlerY','__skipSessionStatus','codeceptjs/lib/index.js','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','domForge','emit','CCLfy','format','HOOK_RUN_STARTED','test-after','browser','captureError','Screenshot\x20path\x20not\x20found','AFVJU','HgqmN','3028088evkBNQ','bddStep-before','a11y_core_config','find','test-skipped','JWhtM','mclHl','../../helpers/accessibility-automation/scripts','codeceptjs/lib/utils.js','env','addRequestSpy','startsWith','okMcS','name','overwriteCommand','forEach','step-comment','codeceptjs','stopMonitoring','warn','getResults','XmQUs','../../bin/playwright/sessionDetails','727441ONOSSF','bind','lcyqK','OcgSc','SDK_TEST','PDSUD','all','mZPmI','284FFdwwe','CnFZB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','startMonitoring','BS_A11Y_JWT','push','VhVqL','hXbeq','bddStepStart','akQRB','url','GET_RESULTS_SUMMARY','pid','wBjrN','getSyncScript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Rqpob','performScan','test-failed','AmOQY','Element','after','CzaWe','HColn','class','EYiEv','../../helpers/globals.js','bMdGd','PNtqs','UeyAv','CilVl','titlePath','bddStep-after','SYNC','Suite','QYEQA','4365ZCLXZr','176hUnMLJ','SDK_PRE_TEST','./o11yHelper','../../helpers/test-observability/utils','_before','event','toString','--auto-open-devtools-for-tabs','TestCafe','MAOkM','container','SDK_POST_INITIALIZE','SDK_POST_TEST','sCWHE','constructor','getResultsSummary','PwimU','command','SIVFr','TEST_RUN_FINISHED','../../helpers/logger','captureEvent','commandsToWrap','NqVHq','thJwtToken','8UnGLYS','6190uXNiZY','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/helper','HOOK_RUN_FINISHED','Bietj','status','EAZpp','gncwo','DgsBl','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','fireEvent','WOzmJ','Failed\x20to\x20execute\x20_before:\x20','TEST_RUN_STARTED','oBfNQ','NMLSw','args','page','PeidP','1411116iYnanT','VrJdW','AiGOA','codeceptjs/lib/helper/Playwright.js','apply','reason','passed','../../helpers/testhub/constants.js','IlIxi','Playwright','bddStep','accessibilityPlatform','stringify','devtools://','../../helpers/accessibility-automation/helper','SDK_PRE_INITIALIZE','initSaveScreenshot','nFfnh','TEST_RUN_SKIPPED','saveScreenshot','./helper.js','skipSessionName','helpers','HAfcS','skipSessionStatus','__driver','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','hook-passed','uNycV','MBkZx','BROWSERSTACK_TESTHUB_UUID','ENV_VAR','iwVpV','BDzpE','Performing\x20scan\x20for\x20','call','stop','toISOString','_setPage','pkWOn','SAVE_RESULTS','title','webdriverio','executeScript','end','KTOjx','arguments','bs:addLog:','iJAty','ahlwM','hook','setSessionName','kKAuX','FBepK','ctx','pages','AuvjI','chromium','15935jNOjdG','failed','CthZO','SDK_HOOK','dispatcher','rdNKh','contexts','FRAMEWORK_DETAILS','__workerDetails','gIGbx','started','ZXGDf','XNFIF','rwtvv','test-before','test','XrThF','setGlobal','PERFORM_SCAN','WebDriver','yGyiI','browserContext','browserstack_executor:\x20','hxyAL','base64','string','75314nhAsaa','measureWrapper','NLQSz','bstackAllyScanning','../../helpers/performance/performance-tester','patchSaveScreenshot','stack','thTestRunUuid','browserStackExecuteDriver','add','TZiqY','getAccessibilityResultsSummary','testFramework','winstonLogger','action','INFO','filter','IZYIO','codeceptjs/lib/recorder.js','slice','edQSn','shouldWrapCommand','hookType','util','start','config','SESSION_STATUS','../../bin/playwright/accessibility-helper','before','prototype','split','testAnalyticsId','parse','TEST_LOG'];a1_0x3156=function(){return _0x4997e4;};return a1_0x3156();}module['exports']=function(_0x49c747){const _0x1f74f4=a1_0x2964bb,_0x1a9be4={'PeidP':function(_0x2efddf){return _0x2efddf();},'XrThF':function(_0x256cd6,_0x30eb38){return _0x256cd6(_0x30eb38);},'oBfNQ':_0x1f74f4(0x14c),'VrJdW':_0x1f74f4(0xe3),'QYEQA':'getAccessibilityResults','yhmal':_0x1f74f4(0xa8),'PDSUD':'hook-started','AuvjI':_0x1f74f4(0x108),'AFVJU':'hook-failed','PNtqs':'browserstackTestName','sCWHE':_0x1f74f4(0x135),'okMcS':function(_0x35fd25){return _0x35fd25();},'DgsBl':function(_0x3e446f,_0x2a9afb,_0x4d5fb0){return _0x3e446f(_0x2a9afb,_0x4d5fb0);},'EYiEv':function(_0x4725c8,_0x2a9af9){return _0x4725c8(_0x2a9af9);},'NqVHq':'test-started','UFkPD':function(_0x26e20c,_0xfba077,_0x3f785c){return _0x26e20c(_0xfba077,_0x3f785c);},'mZPmI':function(_0x4fed3f,_0x5a5722,_0x347491){return _0x4fed3f(_0x5a5722,_0x347491);},'wBjrN':'test-passed','IZYIO':function(_0x254891){return _0x254891();},'JCOjh':function(_0xb45c78,_0x50d2c3,_0x56f843,_0x4daae7){return _0xb45c78(_0x50d2c3,_0x56f843,_0x4daae7);},'rdNKh':function(_0xaef30d,_0x337961){return _0xaef30d===_0x337961;},'IAOqq':_0x1f74f4(0xbb),'pkWOn':_0x1f74f4(0xab),'ahlwM':_0x1f74f4(0x7e),'yUApn':'afterTest','HColn':function(_0x18b2cd,_0x56198e,_0x57c264){return _0x18b2cd(_0x56198e,_0x57c264);},'VlQdX':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','rwtvv':_0x1f74f4(0x74),'AiGOA':_0x1f74f4(0x150),'VRKbx':_0x1f74f4(0x162),'mclHl':_0x1f74f4(0x8a),'iwVpV':_0x1f74f4(0x7b),'VhVqL':_0x1f74f4(0xb9),'pHvkq':function(_0x1a7eac){return _0x1a7eac();},'BDzpE':_0x1f74f4(0xf6)};_0x49c747[_0x1f74f4(0x105)]&&(global[_0x1f74f4(0x6c)]=_0x49c747['skipSessionStatus']);PerformanceTester[_0x1f74f4(0x9c)]();const _0x51937c=_0x1a9be4['pHvkq'](getCodeceptDriver),_0x16471c=new O11yHelper(_0x51937c,_0x49c747),_0x55e983=!!CodeceptJS[_0x1f74f4(0xc8)][_0x1f74f4(0x103)](_0x1a9be4[_0x1f74f4(0x10e)]);global[_0x1f74f4(0x106)]=_0x51937c,_0x51937c&&(PerformanceTester[_0x1f74f4(0x142)](PerformanceEvents[_0x1f74f4(0xfc)],()=>{const _0x56ba33=_0x1f74f4;_0x55e983?_0x1a9be4[_0x56ba33(0xec)](patchPlaywrightBefore):_0x1a9be4[_0x56ba33(0x137)](patchWebDriverBefore,_0x51937c);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x1f74f4(0xc9)],()=>{const _0x3276d6=_0x1f74f4,_0x579273={};_0x579273[_0x3276d6(0xaf)]=_0x1a9be4[_0x3276d6(0xe8)],_0x579273['mpkwI']=_0x1a9be4[_0x3276d6(0xee)],_0x579273[_0x3276d6(0x104)]=_0x1a9be4[_0x3276d6(0xbc)],_0x579273[_0x3276d6(0x122)]=_0x1a9be4['yhmal'];const _0x11fc85=_0x579273;_0x51937c[_0x3276d6(0x14c)]=async()=>{const _0x794a1=_0x3276d6;if(global['accessibilityPlatform']){const _0x4b062d={};return _0x4b062d[_0x794a1(0xcf)]=_0x11fc85[_0x794a1(0xaf)],await PerformanceTester[_0x794a1(0x142)](PerformanceA11yEvents[_0x794a1(0x139)],async()=>{const _0x194f9d=_0x794a1;return await AccessibilityHelper[_0x194f9d(0x149)](_0x51937c,scripts[_0x194f9d(0xaa)]);},_0x4b062d)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x794a1(0xa4)],async()=>{const _0x50f7f7=_0x794a1;return await AccessibilityHelper[_0x50f7f7(0x149)](_0x51937c,scripts[_0x50f7f7(0xcd)]);})();}return logger[_0x794a1(0x8d)](_0x11fc85['mpkwI']),{};},_0x51937c['getAccessibilityResults']=async()=>{const _0x4b9584=_0x3276d6;if(global[_0x4b9584(0xf8)]){const _0x598b13={};return _0x598b13[_0x4b9584(0xcf)]=_0x11fc85[_0x4b9584(0x104)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4b9584(0x139)],async()=>{const _0x510eaf=_0x4b9584;return await AccessibilityHelper[_0x510eaf(0x149)](_0x51937c,scripts['performScan']);},_0x598b13)(),await PerformanceTester[_0x4b9584(0x142)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x3fbd6a=_0x4b9584;return await AccessibilityHelper['browserStackExecuteDriver'](_0x51937c,scripts[_0x3fbd6a(0x8e)]);})();}return logger['warn'](_0x11fc85['FBepK']),{};},_0x1a9be4['XrThF'](patchSaveScreenshot,_0x51937c);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x1f74f4(0x97)]['before'],()=>{const _0x2da7f4=_0x1f74f4;PerformanceTester[_0x2da7f4(0x159)](PerformanceEvents[_0x2da7f4(0xbf)]);try{_0x16471c['start'](),testOpsHelper[_0x2da7f4(0x84)](),PerformanceTester[_0x2da7f4(0x119)](PerformanceEvents[_0x2da7f4(0xbf)]);}catch(_0x5becbc){PerformanceTester['captureError'](_0x5becbc),PerformanceTester['end'](PerformanceEvents[_0x2da7f4(0xbf)],![],_0x5becbc);}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x97)][_0x1f74f4(0xae)],async()=>{const _0x210350=_0x1f74f4;PerformanceTester[_0x210350(0x159)](PerformanceEvents[_0x210350(0xca)]);try{requestSpy[_0x210350(0x165)](),await _0x16471c[_0x210350(0x111)](),PerformanceTester[_0x210350(0x119)](PerformanceEvents[_0x210350(0xca)]);}catch(_0x5298eb){PerformanceTester[_0x210350(0x76)](_0x5298eb),PerformanceTester[_0x210350(0x119)](PerformanceEvents[_0x210350(0xca)],![],_0x5298eb);}finally{PerformanceTester[_0x210350(0x8c)]();}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x11f)]['started'],_0x3fdc15=>{const _0x2aeba3=_0x1f74f4;PerformanceTester[_0x2aeba3(0x159)](PerformanceEvents[_0x2aeba3(0x12a)]);try{const _0xef3058=_0x3fdc15[_0x2aeba3(0x123)]['test'],_0x3d0b91=_0x16471c[_0x2aeba3(0xd3)](TEST_EVENTS[_0x2aeba3(0x73)],_0xef3058);CodeceptRecorder[_0x2aeba3(0x14a)](()=>_0x16471c[_0x2aeba3(0xe4)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3d0b91));const _0x39d295={};_0x39d295[_0x2aeba3(0x157)]=_0x1a9be4[_0x2aeba3(0x96)],PerformanceTester[_0x2aeba3(0x119)](PerformanceEvents[_0x2aeba3(0x12a)],!![],null,_0x39d295);}catch(_0x9989e2){const _0x1f3f85={};_0x1f3f85[_0x2aeba3(0x157)]=_0x1a9be4[_0x2aeba3(0x96)],PerformanceTester[_0x2aeba3(0x119)](PerformanceEvents[_0x2aeba3(0x12a)],![],_0x9989e2,_0x1f3f85),PerformanceTester[_0x2aeba3(0x76)](_0x9989e2);}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x11f)][_0x1f74f4(0xf3)],_0x5dc9e1=>{const _0x24b25a=_0x1f74f4,_0x568684={};_0x568684[_0x24b25a(0x157)]=_0x1a9be4[_0x24b25a(0x125)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x568684);try{const _0x2bba50=_0x5dc9e1[_0x24b25a(0x123)]['test'],_0x47db11=_0x16471c['captureEvent'](TEST_EVENTS[_0x24b25a(0xdb)],_0x2bba50);CodeceptRecorder[_0x24b25a(0x14a)](()=>_0x16471c[_0x24b25a(0xe4)](TEST_EVENTS[_0x24b25a(0xdb)],_0x47db11));const _0x49995e={};_0x49995e[_0x24b25a(0x157)]=_0x1a9be4[_0x24b25a(0x125)],PerformanceTester['end'](PerformanceHookEvents[_0x24b25a(0x12a)],!![],null,_0x49995e);}catch(_0x3b4916){PerformanceTester['captureError'](_0x3b4916);const _0x2589f2={};_0x2589f2[_0x24b25a(0x157)]=_0x1a9be4['AuvjI'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3b4916,_0x2589f2);}}),CodeceptJS['event'][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x11f)][_0x1f74f4(0x128)],async(_0x32085d,_0x48975a)=>{const _0x42f311=_0x1f74f4;PerformanceTester[_0x42f311(0x159)](PerformanceHookEvents[_0x42f311(0x12a)]);try{const _0x32e502=_0x32085d[_0x42f311(0x123)]['test'],_0x3ad9b3=_0x16471c[_0x42f311(0xd3)](TEST_EVENTS[_0x42f311(0xdb)],_0x32e502,_0x48975a);CodeceptRecorder['add'](()=>_0x16471c['fireEvent'](TEST_EVENTS[_0x42f311(0xdb)],_0x3ad9b3));const _0x52e900={};_0x52e900[_0x42f311(0x157)]=_0x1a9be4[_0x42f311(0x78)],PerformanceTester[_0x42f311(0x159)](PerformanceHookEvents[_0x42f311(0x12a)],!![],null,_0x52e900);}catch(_0x295fae){PerformanceTester[_0x42f311(0x76)](_0x295fae);const _0x2def92={};_0x2def92[_0x42f311(0x157)]=_0x1a9be4[_0x42f311(0x78)],PerformanceTester['end'](PerformanceHookEvents[_0x42f311(0x12a)],![],_0x295fae,_0x2def92);}const _0x1fcbc7={};_0x1fcbc7[_0x42f311(0x157)]=_0x1a9be4['AFVJU'],PerformanceTester[_0x42f311(0x119)](PerformanceHookEvents[_0x42f311(0x12a)],!![],null,_0x1fcbc7);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0x15d)],_0x3aaccf=>{const _0x417184=_0x1f74f4;PerformanceTester[_0x417184(0x159)](PerformanceHookEvents[_0x417184(0x12a)]);try{globals[_0x417184(0x138)](_0x1a9be4[_0x417184(0xb5)],_0x3aaccf[_0x417184(0x116)]);_0x1a9be4[_0x417184(0xec)](isBrowserstackInfra)&&(_0x55e983&&(global[_0x417184(0x12f)]={'currentTest':{'name':_0x3aaccf[_0x417184(0x116)],'testInfo':{'titlePath':_0x3aaccf[_0x417184(0xb8)]()}}}));const _0x437c96={};_0x437c96['hookType']=_0x1a9be4[_0x417184(0xcb)],PerformanceTester[_0x417184(0x119)](PerformanceHookEvents[_0x417184(0x12a)],!![],null,_0x437c96);}catch(_0x5e6300){PerformanceTester['captureError'](_0x5e6300);const _0x327f9d={};_0x327f9d[_0x417184(0x157)]=_0x1a9be4['sCWHE'],PerformanceTester[_0x417184(0x119)](PerformanceHookEvents['SDK_HOOK'],![],_0x5e6300,_0x327f9d);}}),CodeceptJS[_0x1f74f4(0xc3)]['dispatcher']['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0x131)],_0x417ce3=>{const _0x30e48a=_0x1f74f4;PerformanceTester[_0x30e48a(0x159)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x1a9be4[_0x30e48a(0xb5)],_0x417ce3[_0x30e48a(0x116)]);const _0x37aee6=_0x16471c[_0x30e48a(0xd3)](TEST_EVENTS[_0x30e48a(0xe7)],_0x417ce3);CodeceptRecorder[_0x30e48a(0x14a)](()=>_0x16471c[_0x30e48a(0xe4)](TEST_EVENTS[_0x30e48a(0xe7)],_0x37aee6)),CodeceptRecorder['add'](async()=>{const _0x414c0d=_0x30e48a;_0x1a9be4[_0x414c0d(0x86)](isBrowserstackInfra)&&(!_0x1a9be4[_0x414c0d(0x137)](isTrue,_0x49c747[_0x414c0d(0x102)])&&await _0x1a9be4[_0x414c0d(0xe0)](markSessionName,_0x51937c,_0x417ce3['title']),_0x16471c['enabled']&&await _0x1a9be4[_0x414c0d(0xb2)](o11ySync,_0x51937c));});}catch(_0x46f01a){const _0x33fab8={};_0x33fab8[_0x30e48a(0x157)]=_0x1a9be4['NqVHq'],PerformanceTester[_0x30e48a(0x119)](PerformanceHookEvents['SDK_HOOK'],![],_0x46f01a,_0x33fab8),PerformanceTester['captureError'](_0x46f01a);}const _0x11ab50={};_0x11ab50['hookType']=_0x1a9be4[_0x30e48a(0xd5)],PerformanceTester[_0x30e48a(0x119)](PerformanceHookEvents[_0x30e48a(0x12a)],!![],null,_0x11ab50);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0xf3)],_0x2a0221=>{const _0x1ca296=_0x1f74f4,_0x3f673b={'JWhtM':function(_0xa8657b,_0x5c3e65,_0x3cb38d){return _0x1a9be4['UFkPD'](_0xa8657b,_0x5c3e65,_0x3cb38d);},'PXkAK':function(_0x361712,_0x1df631,_0x151a55){const _0xbdd01d=a1_0x1a67;return _0x1a9be4[_0xbdd01d(0x98)](_0x361712,_0x1df631,_0x151a55);},'AmOQY':function(_0x5244fa){const _0x459980=a1_0x1a67;return _0x1a9be4[_0x459980(0xec)](_0x5244fa);}};PerformanceTester[_0x1ca296(0x159)](PerformanceHookEvents['SDK_HOOK']);try{const _0x3276d0=_0x16471c[_0x1ca296(0xd3)](TEST_EVENTS[_0x1ca296(0xd1)],_0x2a0221);CodeceptRecorder[_0x1ca296(0x14a)](()=>_0x16471c['fireEvent'](TEST_EVENTS[_0x1ca296(0xd1)],_0x3276d0)),CodeceptRecorder[_0x1ca296(0x14a)](async()=>{const _0x190917=_0x1ca296,_0x2b275d={'SWWam':function(_0x358e18,_0x1e9c89,_0x4f64f9){const _0x2a15e5=a1_0x1a67;return _0x3f673b[_0x2a15e5(0x7f)](_0x358e18,_0x1e9c89,_0x4f64f9);},'yGyiI':function(_0x344761,_0x25ca86,_0x11b194){return _0x3f673b['PXkAK'](_0x344761,_0x25ca86,_0x11b194);}};_0x3f673b[_0x190917(0xac)](isBrowserstackInfra)&&await PerformanceTester[_0x190917(0x142)](PerformanceAutEvents[_0x190917(0x15b)],async()=>{const _0x4f8d91=_0x190917;_0x55e983?await _0x2b275d['SWWam'](playwrightMarkSessionStatus,_0x51937c,STATE_PASSED):await _0x2b275d[_0x4f8d91(0x13b)](markSessionStatus,_0x51937c,STATE_PASSED);})();}),PerformanceTester[_0x1ca296(0x119)](PerformanceEvents[_0x1ca296(0x95)]);}catch(_0x22a515){PerformanceTester[_0x1ca296(0x76)](_0x22a515);const _0x27e912={};_0x27e912[_0x1ca296(0x157)]=_0x1a9be4[_0x1ca296(0xa6)],PerformanceTester[_0x1ca296(0x119)](PerformanceHookEvents[_0x1ca296(0x12a)],![],_0x22a515,_0x27e912),PerformanceTester[_0x1ca296(0x119)](PerformanceEvents[_0x1ca296(0x95)],![],_0x22a515);}const _0x5fbced={};_0x5fbced[_0x1ca296(0x157)]=_0x1a9be4[_0x1ca296(0xa6)],PerformanceTester[_0x1ca296(0x119)](PerformanceHookEvents[_0x1ca296(0x12a)],!![],null,_0x5fbced);}),CodeceptJS[_0x1f74f4(0xc3)]['dispatcher']['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0x128)],(_0x3735eb,_0xc45537)=>{const _0x1fc513=_0x1f74f4,_0x3f4286={'iJAty':function(_0x2e95ce){const _0x2cf3e7=a1_0x1a67;return _0x1a9be4[_0x2cf3e7(0x152)](_0x2e95ce);},'XNFIF':function(_0x3da6bb,_0x2077f2,_0x187904,_0x2606ab){const _0x4a0402=a1_0x1a67;return _0x1a9be4[_0x4a0402(0x164)](_0x3da6bb,_0x2077f2,_0x187904,_0x2606ab);},'bSTmV':function(_0x46968a,_0x43550a,_0x33e62c,_0x5e19e1){const _0x33cc65=a1_0x1a67;return _0x1a9be4[_0x33cc65(0x164)](_0x46968a,_0x43550a,_0x33e62c,_0x5e19e1);}};PerformanceTester[_0x1fc513(0x159)](PerformanceHookEvents[_0x1fc513(0x12a)]);try{if(_0x1a9be4[_0x1fc513(0x12c)](_0x3735eb['constructor'][_0x1fc513(0x87)],_0x1a9be4['IAOqq'])){const _0x502e73=_0x16471c[_0x1fc513(0xd3)](TEST_EVENTS[_0x1fc513(0xff)],_0x3735eb[_0x1fc513(0x123)]['currentTest']);CodeceptRecorder[_0x1fc513(0x14a)](()=>_0x16471c[_0x1fc513(0xe4)](TEST_EVENTS[_0x1fc513(0xff)],_0x502e73));}else{const _0xd39282=_0x16471c[_0x1fc513(0xd3)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3735eb,_0xc45537);CodeceptRecorder[_0x1fc513(0x14a)](()=>{const _0x7360f4=_0x1fc513;try{_0x16471c[_0x7360f4(0xe4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0xd39282);}catch(_0x5d13e8){logger['debug'](_0x7360f4(0x6e)+util[_0x7360f4(0x72)](_0x5d13e8)),PerformanceTester[_0x7360f4(0x119)](PerformanceEvents[_0x7360f4(0x95)],![],_0x5d13e8);}}),CodeceptRecorder[_0x1fc513(0x14a)](async()=>{const _0x4eb11c=_0x1fc513;try{_0x3f4286[_0x4eb11c(0x11d)](isBrowserstackInfra)&&(_0x55e983?await _0x3f4286[_0x4eb11c(0x133)](playwrightMarkSessionStatus,_0x51937c,STATE_FAILED,_0xc45537):await _0x3f4286['bSTmV'](markSessionStatus,_0x51937c,STATE_FAILED,_0xc45537));}catch(_0xbb7882){logger[_0x4eb11c(0x69)](_0x4eb11c(0x107)+util['format'](_0xbb7882)),PerformanceTester[_0x4eb11c(0x119)](PerformanceEvents['SDK_TEST'],![],_0xbb7882);}});}PerformanceTester[_0x1fc513(0x119)](PerformanceEvents[_0x1fc513(0x95)]);}catch(_0x189f09){PerformanceTester[_0x1fc513(0x76)](_0x189f09);const _0x3889fb={};_0x3889fb[_0x1fc513(0x157)]=_0x1a9be4[_0x1fc513(0x114)],PerformanceTester[_0x1fc513(0x119)](PerformanceHookEvents[_0x1fc513(0x12a)],![],_0x189f09,_0x3889fb),PerformanceTester[_0x1fc513(0x119)](PerformanceEvents[_0x1fc513(0x95)],![],_0x189f09);}const _0x480093={};_0x480093[_0x1fc513(0x157)]=_0x1a9be4[_0x1fc513(0x114)],PerformanceTester[_0x1fc513(0x119)](PerformanceHookEvents[_0x1fc513(0x12a)],!![],null,_0x480093);}),CodeceptJS['event'][_0x1f74f4(0x12b)]['on'](CodeceptJS['event'][_0x1f74f4(0x136)][_0x1f74f4(0x168)],_0x1b4eae=>{const _0x4b6a3d=_0x1f74f4;PerformanceTester[_0x4b6a3d(0x159)](PerformanceHookEvents[_0x4b6a3d(0x12a)]);try{const _0x504d94=_0x16471c[_0x4b6a3d(0xd3)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1b4eae);CodeceptRecorder[_0x4b6a3d(0x14a)](()=>_0x16471c[_0x4b6a3d(0xe4)](TEST_EVENTS[_0x4b6a3d(0xff)],_0x504d94)),PerformanceTester[_0x4b6a3d(0x119)](PerformanceEvents[_0x4b6a3d(0x95)]);}catch(_0x162c95){PerformanceTester[_0x4b6a3d(0x76)](_0x162c95),PerformanceTester[_0x4b6a3d(0x119)](PerformanceEvents['SDK_TEST'],![],_0x162c95);const _0x4758bf={};_0x4758bf[_0x4b6a3d(0x157)]=_0x1a9be4['ahlwM'],PerformanceTester[_0x4b6a3d(0x119)](PerformanceHookEvents[_0x4b6a3d(0x12a)],![],_0x162c95,_0x4758bf);}const _0x25d67b={};_0x25d67b[_0x4b6a3d(0x157)]=_0x1a9be4[_0x4b6a3d(0x11e)],PerformanceTester[_0x4b6a3d(0x119)](PerformanceHookEvents[_0x4b6a3d(0x12a)],!![],null,_0x25d67b);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0xae)],async(_0x1486df,_0xb2fff4)=>{const _0xdd5e3=_0x1f74f4,_0x523208={};_0x523208[_0xdd5e3(0xdc)]=_0x1a9be4['yUApn'];const _0x2a390e=_0x523208;try{PerformanceTester[_0xdd5e3(0x159)](PerformanceHookEvents[_0xdd5e3(0x12a)]);const _0x2c567d=_0x1a9be4[_0xdd5e3(0xb0)](shouldScanTestForAccessibility,_0x1486df[_0xdd5e3(0xb8)](),!![]);if(_0x1a9be4['IZYIO'](isAccessibilityAutomationSession)&&global[_0xdd5e3(0xf8)]&&_0x2c567d){const _0x2eb05b={};_0x2eb05b[_0xdd5e3(0x148)]=_0x1486df[_0xdd5e3(0x160)],_0x2eb05b['thBuildUuid']=process[_0xdd5e3(0x83)][testHubConstants[_0xdd5e3(0x10c)][_0xdd5e3(0x10b)]],_0x2eb05b[_0xdd5e3(0xd6)]=process[_0xdd5e3(0x83)][testHubConstants[_0xdd5e3(0x10c)]['BROWSERSTACK_TESTHUB_JWT']];const _0x296c9c=_0x2eb05b;logger[_0xdd5e3(0x69)](_0xdd5e3(0x9b)+JSON[_0xdd5e3(0xf9)](_0x296c9c)),CodeceptRecorder['add'](async()=>{const _0x3f1975=_0xdd5e3,_0x22a378={};_0x22a378[_0x3f1975(0xcf)]=_0x2a390e[_0x3f1975(0xdc)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f1975(0x139)],async()=>{const _0x27410d=_0x3f1975;await AccessibilityHelper[_0x27410d(0x149)](_0x51937c,scripts[_0x27410d(0xaa)]);},_0x22a378)(),await PerformanceTester[_0x3f1975(0x142)](PerformanceA11yEvents[_0x3f1975(0x115)],async()=>{const _0x554707=_0x3f1975;await AccessibilityHelper[_0x554707(0x149)](_0x51937c,scripts['saveTestResults'],_0x296c9c);})();}),logger['info'](_0x1a9be4['VlQdX']);}const _0x344c99={};_0x344c99['hookType']=_0x1a9be4['rwtvv'],PerformanceTester['end'](PerformanceHookEvents[_0xdd5e3(0x12a)],!![],null,_0x344c99);}catch(_0x5ebbee){PerformanceTester[_0xdd5e3(0x76)](_0x5ebbee);const _0x573fb1={};_0x573fb1[_0xdd5e3(0x157)]=_0x1a9be4[_0xdd5e3(0x134)],PerformanceTester[_0xdd5e3(0x119)](PerformanceHookEvents['SDK_HOOK'],![],_0x5ebbee,_0x573fb1);}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS['event']['step']['comment'],_0x181e03=>{const _0x3f3a28=_0x1f74f4;PerformanceTester[_0x3f3a28(0x159)](PerformanceHookEvents[_0x3f3a28(0x12a)]);try{process[_0x3f3a28(0x70)](_0x3f3a28(0x11c)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x1a9be4[_0x3f3a28(0xef)],'message':_0x181e03,'kind':_0x1a9be4['VRKbx'],'http_response':{}});}catch(_0x389e5){PerformanceTester[_0x3f3a28(0x76)](_0x389e5);const _0x362b11={};_0x362b11[_0x3f3a28(0x157)]=_0x1a9be4[_0x3f3a28(0x80)],PerformanceTester[_0x3f3a28(0x119)](PerformanceHookEvents[_0x3f3a28(0x12a)],![],_0x389e5,_0x362b11);}const _0x1b9197={};_0x1b9197[_0x3f3a28(0x157)]=_0x1a9be4['mclHl'],PerformanceTester[_0x3f3a28(0x119)](PerformanceHookEvents[_0x3f3a28(0x12a)],!![],null,_0x1b9197);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0xf7)][_0x1f74f4(0x15d)],_0x22ad8b=>{const _0x422fdf=_0x1f74f4,_0x7f9953={};_0x7f9953[_0x422fdf(0x157)]=_0x1a9be4[_0x422fdf(0x10d)],PerformanceTester[_0x422fdf(0x142)](PerformanceHookEvents[_0x422fdf(0x12a)],()=>{const _0x58f2a2=_0x422fdf;_0x16471c[_0x58f2a2(0xa1)](_0x22ad8b);},_0x7f9953)();}),CodeceptJS[_0x1f74f4(0xc3)]['dispatcher']['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0xf7)][_0x1f74f4(0xae)],_0x324ac9=>{const _0x232d34=_0x1f74f4,_0xc4eff5={};_0xc4eff5['hookType']=_0x1a9be4[_0x232d34(0x9f)],PerformanceTester[_0x232d34(0x142)](PerformanceHookEvents[_0x232d34(0x12a)],()=>{const _0xedc0d=_0x232d34;_0x16471c[_0xedc0d(0x166)](_0x324ac9);},_0xc4eff5)();});};
1
+ const a1_0x1879ab=a1_0x2395;(function(_0x24f4df,_0x1454b4){const _0x425965=a1_0x2395,_0x4c9cd4=_0x24f4df();while(!![]){try{const _0x39200a=-parseInt(_0x425965(0x212))/0x1*(parseInt(_0x425965(0x23e))/0x2)+parseInt(_0x425965(0x236))/0x3*(-parseInt(_0x425965(0x2bf))/0x4)+-parseInt(_0x425965(0x1f7))/0x5*(-parseInt(_0x425965(0x2b7))/0x6)+parseInt(_0x425965(0x249))/0x7*(-parseInt(_0x425965(0x228))/0x8)+parseInt(_0x425965(0x28a))/0x9+-parseInt(_0x425965(0x204))/0xa*(-parseInt(_0x425965(0x239))/0xb)+parseInt(_0x425965(0x201))/0xc;if(_0x39200a===_0x1454b4)break;else _0x4c9cd4['push'](_0x4c9cd4['shift']());}catch(_0x4a0c46){_0x4c9cd4['push'](_0x4c9cd4['shift']());}}}(a1_0x3876,0x3557e));function a1_0x3876(){const _0x1621dc=['__workerDetails','BROWSERSTACK_TESTHUB_JWT','catch','zuNpX','arguments','pid','DRVxf','TestCafe','DPUyA','setSessionName','startMonitoring','oBKgD','currentTest','getResultsSummary','Screenshot\x20path\x20not\x20found','base64','contexts','codeceptjs','qvxqc','then','Performing\x20scan\x20for\x20','pgfbd','SDK_POST_INITIALIZE','__skipSessionStatus','browserStackExecuteDriver','SDK_PRE_TEST','jbKRq','gaKvY','warn','measureWrapper','stringify','LUaLi','version','test-passed','bind','hookType','HOOK_RUN_FINISHED','\x0aStack:\x20','PZKcH','716770kQtdly','helpers','bddStepStart','skipped','test-after','PSShN','GAUjt','class','started','OdQrQ','1858608IwobNz','page','SDK_HOOK','82630GNjDRE','format','title','getAccessibilityResultsSummary','zjNYm','captureError','performScan','titlePath','cxBZq','status','GET_RESULTS_SUMMARY','../../helpers/accessibility-automation/scripts','SDK_PRE_INITIALIZE','BAWBg','435079iYlqvT','comment','Element','addRequestSpy','Playwright','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','container','chAzL','FCquz','JYEFa','SDK_POST_TEST','gXAaZ','codeceptjs/lib/helper/WebDriver.js','HOOK_RUN_STARTED','toString','aApjH','ySKRd','saveScreenshot','codeceptjs/lib/recorder.js','passed','chromium','qZtJQ','104HHaGGy','browserstackTestName','end','util','TEST_RUN_SKIPPED','readFileSync','BXJvX','browserstack_executor:\x20','rBwWK','../../helpers/performance/performance-tester','accessibilityPlatform','webdriverio','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','XJIaj','3qwpHCF','./o11yHelper','testAnalyticsId','572UDVSuv','test','getAccessibilityResults','Puppeteer','test-started','2EKWVfH','../../helpers/accessibility-automation/helper','sHFQp','fXRKf','IuuXj','FevkZ','EQtgS','./helper.js','fofvS','VrcfJ','vXRyT','102473iMvyxT','QvonC','call','BzXjZ','step','FRAMEWORK_DETAILS','push','bs:addLog:','gGCFr','MQFBb','reason','filter','apply','cHxxG','hojCZ','captureEvent','add','bLVYR','browser','after','tOURZ','NKqnt','url','slice','bstackAllyScanning','TEST_LOG','skipSessionStatus','fireEvent','getSyncScript','TEST_SCREENSHOT','lEWXL','NcPYX','yXCtK','NAjCM','QGRPo','SAVE_RESULTS','startsWith','BS_TESTOPS_ALLOW_SCREENSHOTS','thJwtToken','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','toISOString','eQFtN','initSaveScreenshot','WlcJP','bddStep','DBGdz','failed','XIHlK','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','gVxmj','action','isArray','hook-failed','SESSION_NAME','enabled','PkWMJ','executeScript','rsFMI','name','saveTestResults','start','command','message','config','BS_A11Y_JWT','3310164jdOmKp','niCPv','skipSessionName','uiJDP','patchSaveScreenshot','lznzi','PGxSY','nwOwj','all','HZjwn','step-comment','TxLOy','GET_RESULTS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','bddStepFinish','TEST_RUN_FINISHED','uFYlc','_setPage','nKVlt','BmjUZ','ENV_VAR','SYNC','../../helpers/request-spy','codeceptjs/lib/helper/Playwright.js','gJYWa','Adrab','a11y_core_config','screenshotOutputFolder','LZTXw','from','hook-passed','rCHiu','IEzrn','getResults','afterTest','__driver','stack','stop','../../helpers/testhub/constants.js','Failed\x20to\x20execute\x20_before:\x20','pages','test-failed','hook-started','commandsToWrap','shouldWrapCommand','6LQcNaO','gPoZD','ctx','wRoDJ','patch','uEWSk','PERFORM_SCAN','find','1007320zLSlky','event','WRhJJ','tpWWL','emit','args','../../helpers/globals.js','constructor','parse','WOoig','_before','../../helpers/performance/constants','ielkA','debug','browserContext','before','SDK_TEST','env','thTestRunUuid','kdpqd','TEST_RUN_STARTED','hook','../../helpers/logger','codeceptjs/lib/index.js','TmKTg','prototype','dispatcher'];a1_0x3876=function(){return _0x1621dc;};return a1_0x3876();}const fs=require('fs'),util=require(a1_0x1879ab(0x22b)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x1879ab(0x1cb))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x1879ab(0x2a0)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x1879ab(0x237)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x1879ab(0x23f)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x1879ab(0x20f)),PerformanceTester=require(a1_0x1879ab(0x231)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x1879ab(0x1c0)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x1879ab(0x245)),testHubConstants=require(a1_0x1879ab(0x2b0)),globals=require(a1_0x1879ab(0x1bb)),CodeceptJS=requireModule(a1_0x1879ab(0x1cc),a1_0x1879ab(0x1e1)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x1879ab(0x1e1)),CodeceptWebDriver=requireModule(a1_0x1879ab(0x21e),a1_0x1879ab(0x1e1)),CodeceptRecorder=requireModule(a1_0x1879ab(0x224),'codeceptjs'),CodeceptPlaywright=requireModule(a1_0x1879ab(0x2a1),'codeceptjs'),playwrightMarkSessionStatus=(_0x23336d,_0x304ec7,_0x28a689)=>{const _0x4870ce=a1_0x1879ab,_0x5cc9ed={'kiMcO':'setSessionStatus','rCHiu':function(_0x57434d,_0x50aace){return _0x57434d(_0x50aace);}},_0xaaab41={};_0xaaab41[_0x4870ce(0x20d)]=_0x304ec7;const _0x3284ec={};_0x3284ec[_0x4870ce(0x27b)]=_0x5cc9ed['kiMcO'],_0x3284ec[_0x4870ce(0x1d4)]=_0xaaab41;const _0x5b6539=_0x3284ec;return!_0x5cc9ed[_0x4870ce(0x2a9)](isUndefined,_0x28a689)&&(_0x5b6539['arguments'][_0x4870ce(0x253)]=JSON['stringify'](_0x28a689)),_0x23336d[_0x4870ce(0x281)](()=>{},_0x4870ce(0x22f)+JSON[_0x4870ce(0x1ee)](_0x5b6539));},o11ySync=PerformanceTester[a1_0x1879ab(0x1ed)](PerformanceO11yEvents[a1_0x1879ab(0x29f)],async _0x2a719e=>{const _0x5a9ce1=a1_0x1879ab,_0x390b56={};_0x390b56[_0x5a9ce1(0x248)]=function(_0x4eaf4e,_0x1b4fca){return _0x4eaf4e===_0x1b4fca;},_0x390b56[_0x5a9ce1(0x221)]=_0x5a9ce1(0x216);const _0x55e009=_0x390b56;_0x55e009[_0x5a9ce1(0x248)](_0x2a719e[_0x5a9ce1(0x1bc)][_0x5a9ce1(0x283)],_0x55e009['aApjH'])?await _0x2a719e[_0x5a9ce1(0x281)](_0xd5b6b6=>{},testOpsHelper[_0x5a9ce1(0x265)]()):await _0x2a719e[_0x5a9ce1(0x281)](testOpsHelper[_0x5a9ce1(0x265)]());}),markSessionName=PerformanceTester[a1_0x1879ab(0x1ed)](PerformanceAutEvents[a1_0x1879ab(0x27e)],async(_0x34ef6e,_0x14bffd)=>{const _0x44d95d=a1_0x1879ab,_0x46ae78={};_0x46ae78[_0x44d95d(0x272)]=_0x44d95d(0x1d9),_0x46ae78[_0x44d95d(0x256)]=function(_0x453809,_0x4ecab4){return _0x453809===_0x4ecab4;},_0x46ae78[_0x44d95d(0x235)]=_0x44d95d(0x216);const _0x186d1e=_0x46ae78,_0x6aaeb3={};_0x6aaeb3['name']=_0x14bffd;const _0xa6cbbf={};_0xa6cbbf['action']=_0x186d1e[_0x44d95d(0x272)],_0xa6cbbf[_0x44d95d(0x1d4)]=_0x6aaeb3;const _0x3e5114=_0xa6cbbf;_0x186d1e[_0x44d95d(0x256)](_0x34ef6e[_0x44d95d(0x1bc)][_0x44d95d(0x283)],_0x186d1e[_0x44d95d(0x235)])?await _0x34ef6e[_0x44d95d(0x281)](()=>{},_0x44d95d(0x22f)+JSON[_0x44d95d(0x1ee)](_0x3e5114)):await _0x34ef6e['executeScript'](_0x44d95d(0x22f)+JSON['stringify'](_0x3e5114));}),patchSaveScreenshot=_0x2c83f5=>{const _0x4c217d=a1_0x1879ab,_0x67a967={'LUaLi':_0x4c217d(0x1df),'ielkA':_0x4c217d(0x266),'ITmEA':function(_0x318814){return _0x318814();},'gGCFr':function(_0x50fa81,_0x4384dd){return _0x50fa81(_0x4384dd);},'yXCtK':_0x4c217d(0x1de)};_0x67a967[_0x4c217d(0x251)](isTrue,process[_0x4c217d(0x1c6)][_0x4c217d(0x26e)])&&!_0x2c83f5['patchSaveScreenshot']&&(_0x2c83f5[_0x4c217d(0x28e)]=!![],_0x2c83f5['initSaveScreenshot']=_0x2c83f5[_0x4c217d(0x223)],_0x2c83f5[_0x4c217d(0x223)]=(_0x3fecd3,_0x5d48b1=![])=>{const _0x2aefd4=_0x4c217d,_0x3817bb={'SrEEJ':_0x67a967[_0x2aefd4(0x1ef)],'gVxmj':_0x67a967[_0x2aefd4(0x1c1)],'chAzL':function(_0x3d3580){return _0x67a967['ITmEA'](_0x3d3580);},'fwSBP':function(_0x1870ec,_0x53fffa){const _0x292af0=_0x2aefd4;return _0x67a967[_0x292af0(0x251)](_0x1870ec,_0x53fffa);},'IEzrn':_0x67a967[_0x2aefd4(0x269)]};return new Promise(function(_0x4765dc,_0x13f026){const _0x46a2e7=_0x2aefd4,_0x162eae={'rAVLc':_0x3817bb['SrEEJ'],'qvxqc':_0x3817bb[_0x46a2e7(0x27a)],'hojCZ':function(_0x1ec20e){const _0x311646=_0x46a2e7;return _0x3817bb[_0x311646(0x219)](_0x1ec20e);},'BzXjZ':function(_0x499c1a,_0x15653f){return _0x3817bb['fwSBP'](_0x499c1a,_0x15653f);},'oBKgD':_0x3817bb[_0x46a2e7(0x2aa)]};_0x2c83f5[_0x46a2e7(0x273)](_0x3fecd3,_0x5d48b1)[_0x46a2e7(0x1e3)](()=>{const _0x300495=_0x46a2e7,_0x40b689=CodeceptUtils[_0x300495(0x2a5)](_0x3fecd3);if(_0x40b689){const _0x30586a=fs[_0x300495(0x22d)](_0x40b689);process[_0x300495(0x1b9)](_0x300495(0x250)+process[_0x300495(0x1d5)],{'timestamp':new Date()[_0x300495(0x271)](),'message':_0x30586a[_0x300495(0x220)](_0x162eae['rAVLc']),'kind':_0x162eae[_0x300495(0x1e2)]}),_0x162eae[_0x300495(0x257)](_0x4765dc);}_0x162eae[_0x300495(0x24c)](_0x13f026,new Error(_0x162eae[_0x300495(0x1db)]));})[_0x46a2e7(0x1d2)](()=>null);});});},patchWebDriverBefore=_0xb9e716=>{const _0x434510=a1_0x1879ab,_0x554e4a={'VCxBW':function(_0x5c69a0){return _0x5c69a0();},'ySKRd':function(_0x5542cf,_0x23dbfe){return _0x5542cf(_0x23dbfe);},'QGRPo':function(_0x52c03e,_0x2a03da){return _0x52c03e===_0x2a03da;},'niCPv':_0x434510(0x233),'uiJDP':'string','HZjwn':_0x434510(0x214)},_0x2754fd=async function(_0x50c948,_0x5a0d88){const _0x517aa3=_0x434510;_0x554e4a['VCxBW'](isAccessibilityAutomationSession)&&!global[_0x517aa3(0x261)]&&global[_0x517aa3(0x232)]&&scripts[_0x517aa3(0x2b6)](_0x50c948[_0x517aa3(0x283)])&&_0x554e4a[_0x517aa3(0x222)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x517aa3(0x1ed)](PerformanceA11yEvents[_0x517aa3(0x2bd)],async()=>{const _0x24c03f=_0x517aa3;logger[_0x24c03f(0x1c2)](_0x24c03f(0x1e4)+_0x50c948[_0x24c03f(0x1fe)]+'\x20'+_0x50c948[_0x24c03f(0x283)]),await AccessibilityHelper[_0x24c03f(0x1e8)](_0xb9e716,scripts['performScan']);},{'command':_0x50c948[_0x517aa3(0x283)]})());global[_0x517aa3(0x261)]=![];const _0x2a893f=JSON['parse'](process[_0x517aa3(0x1c6)][_0x517aa3(0x24e)]||'{}');if(_0x554e4a[_0x517aa3(0x26b)](_0x2a893f?.['testFramework']?.[_0x517aa3(0x283)],_0x554e4a[_0x517aa3(0x28b)])&&_0x554e4a[_0x517aa3(0x26b)](typeof _0x2a893f?.['testFramework']?.[_0x517aa3(0x1f0)],_0x554e4a[_0x517aa3(0x28d)])&&_0x2a893f?.['testFramework']?.[_0x517aa3(0x1f0)][_0x517aa3(0x26d)]('7'))return _0x5a0d88[_0x517aa3(0x255)](null,Array[_0x517aa3(0x1ce)][_0x517aa3(0x260)][_0x517aa3(0x24b)](arguments,0x2));return _0x5a0d88[_0x517aa3(0x255)](this,Array[_0x517aa3(0x1ce)]['slice'][_0x517aa3(0x24b)](arguments,0x2));},_0x13d305=CodeceptWebDriver[_0x434510(0x1ce)][_0x434510(0x1bf)];CodeceptWebDriver[_0x434510(0x1ce)][_0x434510(0x1bf)]=async function(){const _0x1ef3c4=_0x434510,_0x11628b={'lznzi':function(_0x3fadc9,_0x186d6e){return _0x554e4a['QGRPo'](_0x3fadc9,_0x186d6e);},'EQtgS':_0x554e4a[_0x1ef3c4(0x293)]};try{await _0x13d305['apply'](this,arguments);}catch(_0x1dd3b0){logger['debug'](_0x1ef3c4(0x2b1)+util[_0x1ef3c4(0x205)](_0x1dd3b0));}scripts[_0x1ef3c4(0x2b5)][_0x1ef3c4(0x254)](_0x486adf=>_0x486adf[_0x1ef3c4(0x283)]&&_0x486adf['class'])['forEach'](_0x4ca8b8=>{const _0x2a77e8=_0x1ef3c4;this[_0x2a77e8(0x25b)]['overwriteCommand'](_0x4ca8b8['name'],_0x2754fd[_0x2a77e8(0x1f2)](this,_0x4ca8b8),_0x11628b[_0x2a77e8(0x28f)](_0x4ca8b8['class'],_0x11628b[_0x2a77e8(0x244)]));}),_0x554e4a['ySKRd'](processWebDriverConfig,_0xb9e716);};};function a1_0x2395(_0x5d7725,_0x708c6d){const _0x38763f=a1_0x3876();return a1_0x2395=function(_0x2395dc,_0x5e86d0){_0x2395dc=_0x2395dc-0x1b7;let _0x4762f2=_0x38763f[_0x2395dc];return _0x4762f2;},a1_0x2395(_0x5d7725,_0x708c6d);}function parseJwt(_0xc2c2d6){const _0x383a82=a1_0x1879ab,_0x1f308b={};_0x1f308b['QvonC']=_0x383a82(0x1df);const _0x1f7f6a=_0x1f308b;if(!_0xc2c2d6)return null;return JSON[_0x383a82(0x1bd)](Buffer[_0x383a82(0x2a7)](_0xc2c2d6['split']('.')[0x1],_0x1f7f6a[_0x383a82(0x24a)])[_0x383a82(0x220)]());}const patchPlaywrightBefore=()=>{const _0x3ff14d=a1_0x1879ab,_0x115a8d={'gXAaZ':'--auto-open-devtools-for-tabs','DPUyA':function(_0x357b41){return _0x357b41();},'mbkhM':function(_0x37812e,_0x37e08d){return _0x37812e(_0x37e08d);},'uEWSk':'devtools://','VrcfJ':function(_0x406f94,_0x39076e){return _0x406f94+_0x39076e;},'Adrab':_0x3ff14d(0x1f5),'BmjUZ':function(_0x5b492a){return _0x5b492a();},'kdpqd':function(_0x406586){return _0x406586();},'pPTFO':function(_0x3a9c8e){return _0x3a9c8e();}};PlaywrightSessionDetails[_0x3ff14d(0x2bb)]();const _0x4b459e=CodeceptPlaywright[_0x3ff14d(0x1ce)][_0x3ff14d(0x1bf)];CodeceptPlaywright[_0x3ff14d(0x1ce)][_0x3ff14d(0x1bf)]=async function(){const _0xee4286=_0x3ff14d,_0xc32085={'rBwWK':function(_0x173110){const _0x4f0959=a1_0x2395;return _0x115a8d[_0x4f0959(0x29d)](_0x173110);},'TmKTg':_0x115a8d['uEWSk']};this['browserContext']=await this[_0xee4286(0x25b)][_0xee4286(0x1e0)]()[0x0];const _0x584bb6=async()=>{const _0x4a4f53=_0xee4286,_0x1c889c=this[_0x4a4f53(0x288)]&&this[_0x4a4f53(0x288)][_0x4a4f53(0x226)]&&this[_0x4a4f53(0x288)]['chromium'][_0x4a4f53(0x1ba)]&&Array[_0x4a4f53(0x27c)](this['config'][_0x4a4f53(0x226)]['args'])&&this[_0x4a4f53(0x288)][_0x4a4f53(0x226)][_0x4a4f53(0x1ba)]['includes'](_0x115a8d[_0x4a4f53(0x21d)]);if(_0x115a8d['DPUyA'](isAccessibilityAutomationSession)&&!_0x1c889c)try{const _0x957322=_0x115a8d['mbkhM'](parseJwt,process['env'][_0x4a4f53(0x289)]);if(_0x957322&&_0x957322[_0x4a4f53(0x2a4)]&&_0x957322['a11y_core_config']['domForge']){const _0x4d614f=this[_0x4a4f53(0x1c3)][_0x4a4f53(0x2b2)][_0x4a4f53(0x1f2)](this[_0x4a4f53(0x1c3)]);this['browserContext'][_0x4a4f53(0x2b2)]=async function(){const _0x5d4b92=_0x4a4f53,_0x5001ea=await _0xc32085[_0x5d4b92(0x230)](_0x4d614f),_0x3e462c=[];for(const _0x58392b of _0x5001ea){try{const _0x269592=await _0x58392b[_0x5d4b92(0x25f)]();!_0x269592[_0x5d4b92(0x26d)](_0xc32085[_0x5d4b92(0x1cd)])&&_0x3e462c[_0x5d4b92(0x24f)](_0x58392b);}catch(_0x14f6b0){_0x3e462c[_0x5d4b92(0x24f)](_0x58392b);}}return _0x3e462c;};}if(!_0x115a8d[_0x4a4f53(0x1d8)](isBrowserstackInfra)){const _0xac8bd5=await this[_0x4a4f53(0x202)][_0x4a4f53(0x25f)]();if(_0xac8bd5[_0x4a4f53(0x26d)](_0x115a8d[_0x4a4f53(0x2bc)])){const _0x2285a8=await this[_0x4a4f53(0x1c3)][_0x4a4f53(0x2b2)]();this[_0x4a4f53(0x29b)](_0x2285a8[0x0]);}}}catch(_0x25ace1){logger[_0x4a4f53(0x1c2)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x25ace1[_0x4a4f53(0x287)]+(_0x25ace1[_0x4a4f53(0x2ae)]?_0x115a8d[_0x4a4f53(0x247)](_0x115a8d[_0x4a4f53(0x2a3)],_0x25ace1['stack']):''));}};_0x115a8d[_0xee4286(0x1d8)](isBrowserstackInfra)&&await _0x115a8d[_0xee4286(0x1c8)](_0x584bb6),await _0x4b459e[_0xee4286(0x255)](this,arguments),!_0x115a8d['pPTFO'](isBrowserstackInfra)&&await _0x115a8d[_0xee4286(0x1d8)](_0x584bb6);};},getCodeceptDriver=()=>{const _0x160254=a1_0x1879ab,_0x561687={};_0x561687[_0x160254(0x227)]='WebDriver',_0x561687['cxBZq']='Playwright',_0x561687[_0x160254(0x21b)]=_0x160254(0x23c),_0x561687[_0x160254(0x1f6)]=_0x160254(0x1d7);const _0x30ca5b=_0x561687,_0x3c8e80=[_0x30ca5b[_0x160254(0x227)],_0x30ca5b[_0x160254(0x20c)],_0x30ca5b['JYEFa'],_0x30ca5b[_0x160254(0x1f6)]],_0x1465b1=_0x3c8e80[_0x160254(0x2be)](_0x5841b8=>!!CodeceptJS[_0x160254(0x218)][_0x160254(0x1f8)](_0x5841b8));if(!_0x1465b1)return null;return CodeceptJS['container']['helpers'](_0x1465b1);};module['exports']=function(_0x58ff9f){const _0x4939a1=a1_0x1879ab,_0x13f02a={'FCquz':function(_0x38fc36){return _0x38fc36();},'NcPYX':function(_0x1bef0f,_0x5a48e6){return _0x1bef0f(_0x5a48e6);},'fofvS':_0x4939a1(0x23b),'aFnjE':_0x4939a1(0x234),'sHFQp':_0x4939a1(0x207),'FevkZ':_0x4939a1(0x217),'TxLOy':function(_0x4901a0,_0x2cc766){return _0x4901a0(_0x2cc766);},'nKVlt':_0x4939a1(0x2b4),'zjNYm':_0x4939a1(0x2a8),'tOURZ':_0x4939a1(0x27d),'wRoDJ':_0x4939a1(0x229),'gJYWa':function(_0x239186){return _0x239186();},'DBGdz':'test-before','nwOwj':function(_0xe426eb,_0x4da4b3){return _0xe426eb(_0x4da4b3);},'PkWMJ':function(_0x5fdc91,_0x4b3d70,_0x2af802){return _0x5fdc91(_0x4b3d70,_0x2af802);},'MQFBb':_0x4939a1(0x23d),'WRhJJ':function(_0x4cfa60){return _0x4cfa60();},'WOoig':_0x4939a1(0x1f1),'OdQrQ':function(_0x219bac,_0x19051d,_0x275c5d,_0x13bec9){return _0x219bac(_0x19051d,_0x275c5d,_0x13bec9);},'PGxSY':function(_0x12a1ea,_0x4ed939){return _0x12a1ea===_0x4ed939;},'fXRKf':'Suite','IuuXj':_0x4939a1(0x2b3),'jbKRq':'test-skipped','uFYlc':_0x4939a1(0x2ac),'BXJvX':function(_0x355400,_0x57a6a2,_0x524f07){return _0x355400(_0x57a6a2,_0x524f07);},'PSShN':_0x4939a1(0x297),'NKqnt':_0x4939a1(0x1fb),'NAjCM':'INFO','BAWBg':_0x4939a1(0x262),'XIHlK':_0x4939a1(0x294),'zuNpX':'bddStep-before','bLVYR':'bddStep-after','gPoZD':'Playwright'};_0x58ff9f[_0x4939a1(0x263)]&&(global[_0x4939a1(0x1e7)]=_0x58ff9f['skipSessionStatus']);PerformanceTester[_0x4939a1(0x1da)]();const _0x4f1aa3=_0x13f02a[_0x4939a1(0x2a2)](getCodeceptDriver),_0x4c4cbc=new O11yHelper(_0x4f1aa3,_0x58ff9f),_0x268ba1=!!CodeceptJS[_0x4939a1(0x218)][_0x4939a1(0x1f8)](_0x13f02a[_0x4939a1(0x2b8)]);global[_0x4939a1(0x2ad)]=_0x4f1aa3,_0x4f1aa3&&(PerformanceTester[_0x4939a1(0x1ed)](PerformanceEvents[_0x4939a1(0x210)],()=>{const _0x6dafa5=_0x4939a1;_0x268ba1?_0x13f02a[_0x6dafa5(0x21a)](patchPlaywrightBefore):_0x13f02a[_0x6dafa5(0x268)](patchWebDriverBefore,_0x4f1aa3);})(),PerformanceTester[_0x4939a1(0x1ed)](PerformanceEvents[_0x4939a1(0x1e6)],()=>{const _0x527942=_0x4939a1,_0x22c454={};_0x22c454[_0x527942(0x2a6)]=_0x13f02a[_0x527942(0x240)],_0x22c454[_0x527942(0x267)]=_0x13f02a[_0x527942(0x243)];const _0x21f2ba=_0x22c454;_0x4f1aa3[_0x527942(0x207)]=async()=>{const _0x1dea24=_0x527942;if(global[_0x1dea24(0x232)]){const _0x1ccc81={};return _0x1ccc81['command']=_0x21f2ba[_0x1dea24(0x2a6)],await PerformanceTester[_0x1dea24(0x1ed)](PerformanceA11yEvents[_0x1dea24(0x2bd)],async()=>{const _0x3157bb=_0x1dea24;return await AccessibilityHelper[_0x3157bb(0x1e8)](_0x4f1aa3,scripts[_0x3157bb(0x20a)]);},_0x1ccc81)(),await PerformanceTester[_0x1dea24(0x1ed)](PerformanceA11yEvents[_0x1dea24(0x20e)],async()=>{const _0x59861c=_0x1dea24;return await AccessibilityHelper['browserStackExecuteDriver'](_0x4f1aa3,scripts[_0x59861c(0x1dd)]);})();}return logger['warn'](_0x21f2ba['lEWXL']),{};},_0x4f1aa3['getAccessibilityResults']=async()=>{const _0x327d42=_0x527942;if(global[_0x327d42(0x232)]){const _0x2c2834={};return _0x2c2834[_0x327d42(0x286)]=_0x13f02a[_0x327d42(0x246)],await PerformanceTester[_0x327d42(0x1ed)](PerformanceA11yEvents[_0x327d42(0x2bd)],async()=>{const _0xd85430=_0x327d42;return await AccessibilityHelper[_0xd85430(0x1e8)](_0x4f1aa3,scripts[_0xd85430(0x20a)]);},_0x2c2834)(),await PerformanceTester[_0x327d42(0x1ed)](PerformanceA11yEvents[_0x327d42(0x296)],async()=>{const _0x5ddbcc=_0x327d42;return await AccessibilityHelper['browserStackExecuteDriver'](_0x4f1aa3,scripts[_0x5ddbcc(0x2ab)]);})();}return logger[_0x327d42(0x1ec)](_0x13f02a['aFnjE']),{};},_0x13f02a[_0x527942(0x295)](patchSaveScreenshot,_0x4f1aa3);})()),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS['event'][_0x4939a1(0x292)][_0x4939a1(0x1c4)],()=>{const _0x57d479=_0x4939a1;PerformanceTester[_0x57d479(0x285)](PerformanceEvents[_0x57d479(0x1e9)]);try{_0x4c4cbc[_0x57d479(0x285)](),testOpsHelper[_0x57d479(0x215)](),PerformanceTester['end'](PerformanceEvents[_0x57d479(0x1e9)]);}catch(_0x417016){PerformanceTester['captureError'](_0x417016),PerformanceTester[_0x57d479(0x22a)](PerformanceEvents[_0x57d479(0x1e9)],![],_0x417016);}}),CodeceptJS[_0x4939a1(0x2c0)]['dispatcher']['on'](CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x292)]['after'],async()=>{const _0x2b9d9e=_0x4939a1;PerformanceTester[_0x2b9d9e(0x285)](PerformanceEvents[_0x2b9d9e(0x21c)]);try{requestSpy['restore'](),await _0x4c4cbc[_0x2b9d9e(0x2af)](),PerformanceTester['end'](PerformanceEvents[_0x2b9d9e(0x21c)]);}catch(_0x2b6d77){PerformanceTester[_0x2b9d9e(0x209)](_0x2b6d77),PerformanceTester[_0x2b9d9e(0x22a)](PerformanceEvents[_0x2b9d9e(0x21c)],![],_0x2b6d77);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x4939a1(0x2c0)]['dispatcher']['on'](CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1ca)][_0x4939a1(0x1ff)],_0x5392c3=>{const _0x3140b7=_0x4939a1;PerformanceTester[_0x3140b7(0x285)](PerformanceEvents[_0x3140b7(0x203)]);try{const _0x452557=_0x5392c3[_0x3140b7(0x2b9)][_0x3140b7(0x23a)],_0x4d4026=_0x4c4cbc[_0x3140b7(0x258)](TEST_EVENTS[_0x3140b7(0x21f)],_0x452557);CodeceptRecorder['add'](()=>_0x4c4cbc[_0x3140b7(0x264)](TEST_EVENTS[_0x3140b7(0x21f)],_0x4d4026));const _0x432239={};_0x432239[_0x3140b7(0x1f3)]=_0x13f02a[_0x3140b7(0x29c)],PerformanceTester[_0x3140b7(0x22a)](PerformanceEvents[_0x3140b7(0x203)],!![],null,_0x432239);}catch(_0x4d94cd){const _0x488bf1={};_0x488bf1[_0x3140b7(0x1f3)]=_0x13f02a['nKVlt'],PerformanceTester['end'](PerformanceEvents[_0x3140b7(0x203)],![],_0x4d94cd,_0x488bf1),PerformanceTester['captureError'](_0x4d94cd);}}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS['event'][_0x4939a1(0x1ca)][_0x4939a1(0x225)],_0x59d266=>{const _0x323922=_0x4939a1,_0x3d9612={};_0x3d9612[_0x323922(0x1f3)]=_0x13f02a[_0x323922(0x208)],PerformanceTester[_0x323922(0x285)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3d9612);try{const _0x24a691=_0x59d266[_0x323922(0x2b9)][_0x323922(0x23a)],_0x49a3aa=_0x4c4cbc['captureEvent'](TEST_EVENTS[_0x323922(0x1f4)],_0x24a691);CodeceptRecorder[_0x323922(0x259)](()=>_0x4c4cbc[_0x323922(0x264)](TEST_EVENTS[_0x323922(0x1f4)],_0x49a3aa));const _0x3ba6d1={};_0x3ba6d1[_0x323922(0x1f3)]=_0x13f02a[_0x323922(0x208)],PerformanceTester[_0x323922(0x22a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3ba6d1);}catch(_0x38593b){PerformanceTester[_0x323922(0x209)](_0x38593b);const _0x4eb3c0={};_0x4eb3c0[_0x323922(0x1f3)]=_0x13f02a[_0x323922(0x208)],PerformanceTester[_0x323922(0x22a)](PerformanceHookEvents['SDK_HOOK'],![],_0x38593b,_0x4eb3c0);}}),CodeceptJS[_0x4939a1(0x2c0)]['dispatcher']['on'](CodeceptJS[_0x4939a1(0x2c0)]['hook'][_0x4939a1(0x277)],async(_0x1ab263,_0x821c2d)=>{const _0x4c255c=_0x4939a1;PerformanceTester[_0x4c255c(0x285)](PerformanceHookEvents[_0x4c255c(0x203)]);try{const _0x16dc24=_0x1ab263[_0x4c255c(0x2b9)]['test'],_0x69f2ae=_0x4c4cbc['captureEvent'](TEST_EVENTS[_0x4c255c(0x1f4)],_0x16dc24,_0x821c2d);CodeceptRecorder[_0x4c255c(0x259)](()=>_0x4c4cbc['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x69f2ae));const _0x5ddb40={};_0x5ddb40[_0x4c255c(0x1f3)]=_0x13f02a['tOURZ'],PerformanceTester[_0x4c255c(0x285)](PerformanceHookEvents[_0x4c255c(0x203)],!![],null,_0x5ddb40);}catch(_0x227b86){PerformanceTester[_0x4c255c(0x209)](_0x227b86);const _0x6d3f42={};_0x6d3f42[_0x4c255c(0x1f3)]=_0x13f02a[_0x4c255c(0x25d)],PerformanceTester['end'](PerformanceHookEvents[_0x4c255c(0x203)],![],_0x227b86,_0x6d3f42);}const _0x3c358b={};_0x3c358b['hookType']=_0x13f02a[_0x4c255c(0x25d)],PerformanceTester['end'](PerformanceHookEvents[_0x4c255c(0x203)],!![],null,_0x3c358b);}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS[_0x4939a1(0x2c0)]['test'][_0x4939a1(0x1c4)],_0x5f233a=>{const _0x42718e=_0x4939a1;PerformanceTester['start'](PerformanceHookEvents[_0x42718e(0x203)]);try{globals['setGlobal'](_0x13f02a[_0x42718e(0x2ba)],_0x5f233a[_0x42718e(0x206)]);_0x13f02a['gJYWa'](isBrowserstackInfra)&&(_0x268ba1&&(global[_0x42718e(0x1d0)]={'currentTest':{'name':_0x5f233a['title'],'testInfo':{'titlePath':_0x5f233a[_0x42718e(0x20b)]()}}}));const _0x1d8b25={};_0x1d8b25[_0x42718e(0x1f3)]=_0x13f02a[_0x42718e(0x276)],PerformanceTester[_0x42718e(0x22a)](PerformanceHookEvents[_0x42718e(0x203)],!![],null,_0x1d8b25);}catch(_0x20de86){PerformanceTester[_0x42718e(0x209)](_0x20de86);const _0x5ae38e={};_0x5ae38e[_0x42718e(0x1f3)]=_0x13f02a[_0x42718e(0x276)],PerformanceTester[_0x42718e(0x22a)](PerformanceHookEvents[_0x42718e(0x203)],![],_0x20de86,_0x5ae38e);}}),CodeceptJS[_0x4939a1(0x2c0)]['dispatcher']['on'](CodeceptJS[_0x4939a1(0x2c0)]['test']['started'],_0x3e702a=>{const _0x59e1f0=_0x4939a1,_0x331dba={'gaKvY':function(_0x2255d6){const _0x3e05cc=a1_0x2395;return _0x13f02a[_0x3e05cc(0x2a2)](_0x2255d6);},'FHiTZ':function(_0x150840,_0x11843d){const _0x292911=a1_0x2395;return _0x13f02a[_0x292911(0x291)](_0x150840,_0x11843d);},'rsFMI':function(_0x5310d3,_0x182bc9,_0x2fd941){const _0x47a48e=a1_0x2395;return _0x13f02a[_0x47a48e(0x280)](_0x5310d3,_0x182bc9,_0x2fd941);},'GAUjt':function(_0x50bdbe,_0x4d2c04){const _0x3324b3=a1_0x2395;return _0x13f02a[_0x3324b3(0x291)](_0x50bdbe,_0x4d2c04);}};PerformanceTester[_0x59e1f0(0x285)](PerformanceHookEvents[_0x59e1f0(0x203)]);try{globals['setGlobal'](_0x13f02a['wRoDJ'],_0x3e702a[_0x59e1f0(0x206)]);const _0x5386c7=_0x4c4cbc[_0x59e1f0(0x258)](TEST_EVENTS[_0x59e1f0(0x1c9)],_0x3e702a);CodeceptRecorder[_0x59e1f0(0x259)](()=>_0x4c4cbc[_0x59e1f0(0x264)](TEST_EVENTS[_0x59e1f0(0x1c9)],_0x5386c7)),CodeceptRecorder[_0x59e1f0(0x259)](async()=>{const _0x1d4688=_0x59e1f0;_0x331dba[_0x1d4688(0x1eb)](isBrowserstackInfra)&&(!_0x331dba['FHiTZ'](isTrue,_0x58ff9f[_0x1d4688(0x28c)])&&await _0x331dba[_0x1d4688(0x282)](markSessionName,_0x4f1aa3,_0x3e702a[_0x1d4688(0x206)]),_0x4c4cbc[_0x1d4688(0x27f)]&&await _0x331dba[_0x1d4688(0x1fd)](o11ySync,_0x4f1aa3));});}catch(_0x21f59c){const _0x78802c={};_0x78802c[_0x59e1f0(0x1f3)]=_0x13f02a[_0x59e1f0(0x252)],PerformanceTester[_0x59e1f0(0x22a)](PerformanceHookEvents[_0x59e1f0(0x203)],![],_0x21f59c,_0x78802c),PerformanceTester[_0x59e1f0(0x209)](_0x21f59c);}const _0x5b6c4f={};_0x5b6c4f[_0x59e1f0(0x1f3)]=_0x13f02a[_0x59e1f0(0x252)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5b6c4f);}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS[_0x4939a1(0x2c0)]['test']['passed'],_0x81479d=>{const _0x4b306c=_0x4939a1,_0x4f31aa={'DwVvH':function(_0x18c62e,_0x22633c,_0x12a773){const _0x1c619b=a1_0x2395;return _0x13f02a[_0x1c619b(0x280)](_0x18c62e,_0x22633c,_0x12a773);},'tpWWL':function(_0x228cc7,_0x51275b,_0x28c056){const _0x34d6b5=a1_0x2395;return _0x13f02a[_0x34d6b5(0x280)](_0x228cc7,_0x51275b,_0x28c056);}};PerformanceTester[_0x4b306c(0x285)](PerformanceHookEvents[_0x4b306c(0x203)]);try{const _0x308672=_0x4c4cbc[_0x4b306c(0x258)](TEST_EVENTS[_0x4b306c(0x299)],_0x81479d);CodeceptRecorder['add'](()=>_0x4c4cbc[_0x4b306c(0x264)](TEST_EVENTS[_0x4b306c(0x299)],_0x308672)),CodeceptRecorder[_0x4b306c(0x259)](async()=>{const _0x4226f9=_0x4b306c;_0x13f02a[_0x4226f9(0x1b7)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x46fe5a=_0x4226f9;_0x268ba1?await _0x4f31aa['DwVvH'](playwrightMarkSessionStatus,_0x4f1aa3,STATE_PASSED):await _0x4f31aa[_0x46fe5a(0x1b8)](markSessionStatus,_0x4f1aa3,STATE_PASSED);})();}),PerformanceTester[_0x4b306c(0x22a)](PerformanceEvents['SDK_TEST']);}catch(_0x57205c){PerformanceTester[_0x4b306c(0x209)](_0x57205c);const _0x367da2={};_0x367da2[_0x4b306c(0x1f3)]=_0x13f02a['WOoig'],PerformanceTester[_0x4b306c(0x22a)](PerformanceHookEvents['SDK_HOOK'],![],_0x57205c,_0x367da2),PerformanceTester[_0x4b306c(0x22a)](PerformanceEvents[_0x4b306c(0x1c5)],![],_0x57205c);}const _0x4b5a77={};_0x4b5a77[_0x4b306c(0x1f3)]=_0x13f02a[_0x4b306c(0x1be)],PerformanceTester[_0x4b306c(0x22a)](PerformanceHookEvents[_0x4b306c(0x203)],!![],null,_0x4b5a77);}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x23a)][_0x4939a1(0x277)],(_0xdb1293,_0x2d8ea8)=>{const _0x337f12=_0x4939a1,_0x4ce8e6={'DwqWM':function(_0x5a4fa3){const _0x220914=a1_0x2395;return _0x13f02a[_0x220914(0x1b7)](_0x5a4fa3);},'DRVxf':function(_0x548de4,_0x12a73b,_0x5290cf,_0x192fb0){const _0x31ee20=a1_0x2395;return _0x13f02a[_0x31ee20(0x200)](_0x548de4,_0x12a73b,_0x5290cf,_0x192fb0);},'WlcJP':function(_0x634a28,_0x47ea0c,_0x5a0eef,_0x9fa2a4){return _0x13f02a['OdQrQ'](_0x634a28,_0x47ea0c,_0x5a0eef,_0x9fa2a4);}};PerformanceTester[_0x337f12(0x285)](PerformanceHookEvents[_0x337f12(0x203)]);try{if(_0x13f02a[_0x337f12(0x290)](_0xdb1293['constructor'][_0x337f12(0x283)],_0x13f02a[_0x337f12(0x241)])){const _0xa65b1=_0x4c4cbc['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xdb1293[_0x337f12(0x2b9)][_0x337f12(0x1dc)]);CodeceptRecorder[_0x337f12(0x259)](()=>_0x4c4cbc[_0x337f12(0x264)](TEST_EVENTS[_0x337f12(0x22c)],_0xa65b1));}else{const _0x15fe54=_0x4c4cbc['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0xdb1293,_0x2d8ea8);CodeceptRecorder['add'](()=>{const _0x5c6b6c=_0x337f12;try{_0x4c4cbc[_0x5c6b6c(0x264)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x15fe54);}catch(_0x1fb1b8){logger[_0x5c6b6c(0x1c2)](_0x5c6b6c(0x270)+util[_0x5c6b6c(0x205)](_0x1fb1b8)),PerformanceTester[_0x5c6b6c(0x22a)](PerformanceEvents[_0x5c6b6c(0x1c5)],![],_0x1fb1b8);}}),CodeceptRecorder[_0x337f12(0x259)](async()=>{const _0x27801d=_0x337f12;try{_0x4ce8e6['DwqWM'](isBrowserstackInfra)&&(_0x268ba1?await _0x4ce8e6[_0x27801d(0x1d6)](playwrightMarkSessionStatus,_0x4f1aa3,STATE_FAILED,_0x2d8ea8):await _0x4ce8e6[_0x27801d(0x274)](markSessionStatus,_0x4f1aa3,STATE_FAILED,_0x2d8ea8));}catch(_0x910a58){logger[_0x27801d(0x1c2)](_0x27801d(0x279)+util[_0x27801d(0x205)](_0x910a58)),PerformanceTester[_0x27801d(0x22a)](PerformanceEvents[_0x27801d(0x1c5)],![],_0x910a58);}});}PerformanceTester[_0x337f12(0x22a)](PerformanceEvents[_0x337f12(0x1c5)]);}catch(_0x2ed181){PerformanceTester[_0x337f12(0x209)](_0x2ed181);const _0x1c6c0a={};_0x1c6c0a[_0x337f12(0x1f3)]=_0x13f02a['IuuXj'],PerformanceTester[_0x337f12(0x22a)](PerformanceHookEvents[_0x337f12(0x203)],![],_0x2ed181,_0x1c6c0a),PerformanceTester[_0x337f12(0x22a)](PerformanceEvents[_0x337f12(0x1c5)],![],_0x2ed181);}const _0x1f7676={};_0x1f7676[_0x337f12(0x1f3)]=_0x13f02a[_0x337f12(0x242)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1f7676);}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS['event'][_0x4939a1(0x23a)][_0x4939a1(0x1fa)],_0x15d29f=>{const _0x15f2d1=_0x4939a1;PerformanceTester[_0x15f2d1(0x285)](PerformanceHookEvents[_0x15f2d1(0x203)]);try{const _0x2cd0cf=_0x4c4cbc[_0x15f2d1(0x258)](TEST_EVENTS[_0x15f2d1(0x22c)],_0x15d29f);CodeceptRecorder[_0x15f2d1(0x259)](()=>_0x4c4cbc[_0x15f2d1(0x264)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2cd0cf)),PerformanceTester[_0x15f2d1(0x22a)](PerformanceEvents['SDK_TEST']);}catch(_0x56b997){PerformanceTester[_0x15f2d1(0x209)](_0x56b997),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x56b997);const _0x505535={};_0x505535[_0x15f2d1(0x1f3)]=_0x13f02a[_0x15f2d1(0x1ea)],PerformanceTester['end'](PerformanceHookEvents[_0x15f2d1(0x203)],![],_0x56b997,_0x505535);}const _0x32bd40={};_0x32bd40['hookType']=_0x13f02a['jbKRq'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x32bd40);}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS['event']['test'][_0x4939a1(0x25c)],async(_0x2e5bdf,_0x2c949b)=>{const _0x40e3cb=_0x4939a1,_0x28102a={};_0x28102a['pgfbd']=_0x13f02a[_0x40e3cb(0x29a)];const _0x1bc960=_0x28102a;try{PerformanceTester[_0x40e3cb(0x285)](PerformanceHookEvents['SDK_HOOK']);const _0x2b0457=_0x13f02a[_0x40e3cb(0x22e)](shouldScanTestForAccessibility,_0x2e5bdf[_0x40e3cb(0x20b)](),!![]);if(_0x13f02a[_0x40e3cb(0x21a)](isAccessibilityAutomationSession)&&global[_0x40e3cb(0x232)]&&_0x2b0457){const _0x3bd202={};_0x3bd202[_0x40e3cb(0x1c7)]=_0x2e5bdf[_0x40e3cb(0x238)],_0x3bd202['thBuildUuid']=process['env'][testHubConstants[_0x40e3cb(0x29e)]['BROWSERSTACK_TESTHUB_UUID']],_0x3bd202[_0x40e3cb(0x26f)]=process[_0x40e3cb(0x1c6)][testHubConstants[_0x40e3cb(0x29e)][_0x40e3cb(0x1d1)]];const _0x546297=_0x3bd202;logger[_0x40e3cb(0x1c2)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x546297)),CodeceptRecorder[_0x40e3cb(0x259)](async()=>{const _0x373b92=_0x40e3cb,_0x5cadeb={};_0x5cadeb[_0x373b92(0x286)]=_0x1bc960[_0x373b92(0x1e5)],await PerformanceTester[_0x373b92(0x1ed)](PerformanceA11yEvents[_0x373b92(0x2bd)],async()=>{const _0x308f2d=_0x373b92;await AccessibilityHelper[_0x308f2d(0x1e8)](_0x4f1aa3,scripts[_0x308f2d(0x20a)]);},_0x5cadeb)(),await PerformanceTester[_0x373b92(0x1ed)](PerformanceA11yEvents[_0x373b92(0x26c)],async()=>{const _0x1017a1=_0x373b92;await AccessibilityHelper[_0x1017a1(0x1e8)](_0x4f1aa3,scripts[_0x1017a1(0x284)],_0x546297);})();}),logger['info'](_0x13f02a[_0x40e3cb(0x1fc)]);}const _0x3e1413={};_0x3e1413['hookType']=_0x13f02a[_0x40e3cb(0x25e)],PerformanceTester[_0x40e3cb(0x22a)](PerformanceHookEvents[_0x40e3cb(0x203)],!![],null,_0x3e1413);}catch(_0x358997){PerformanceTester[_0x40e3cb(0x209)](_0x358997);const _0x57d74d={};_0x57d74d[_0x40e3cb(0x1f3)]=_0x13f02a[_0x40e3cb(0x25e)],PerformanceTester[_0x40e3cb(0x22a)](PerformanceHookEvents[_0x40e3cb(0x203)],![],_0x358997,_0x57d74d);}}),CodeceptJS['event'][_0x4939a1(0x1cf)]['on'](CodeceptJS['event'][_0x4939a1(0x24d)][_0x4939a1(0x213)],_0x4d4d60=>{const _0x313524=_0x4939a1;PerformanceTester[_0x313524(0x285)](PerformanceHookEvents['SDK_HOOK']);try{process['emit']('bs:addLog:'+process[_0x313524(0x1d5)],{'timestamp':new Date()[_0x313524(0x271)](),'level':_0x13f02a[_0x313524(0x26a)],'message':_0x4d4d60,'kind':_0x13f02a[_0x313524(0x211)],'http_response':{}});}catch(_0x543efb){PerformanceTester[_0x313524(0x209)](_0x543efb);const _0x13f37f={};_0x13f37f[_0x313524(0x1f3)]=_0x13f02a[_0x313524(0x278)],PerformanceTester['end'](PerformanceHookEvents[_0x313524(0x203)],![],_0x543efb,_0x13f37f);}const _0x1549af={};_0x1549af['hookType']=_0x13f02a[_0x313524(0x278)],PerformanceTester['end'](PerformanceHookEvents[_0x313524(0x203)],!![],null,_0x1549af);}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS['event'][_0x4939a1(0x275)][_0x4939a1(0x1c4)],_0x3ea413=>{const _0x3695b1=_0x4939a1,_0x35808f={};_0x35808f[_0x3695b1(0x1f3)]=_0x13f02a[_0x3695b1(0x1d3)],PerformanceTester[_0x3695b1(0x1ed)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x3b3c36=_0x3695b1;_0x4c4cbc[_0x3b3c36(0x1f9)](_0x3ea413);},_0x35808f)();}),CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x1cf)]['on'](CodeceptJS[_0x4939a1(0x2c0)][_0x4939a1(0x275)]['after'],_0x1b249d=>{const _0x27f64b=_0x4939a1,_0x41d55c={};_0x41d55c[_0x27f64b(0x1f3)]=_0x13f02a[_0x27f64b(0x25a)],PerformanceTester[_0x27f64b(0x1ed)](PerformanceHookEvents[_0x27f64b(0x203)],()=>{const _0x1ac75e=_0x27f64b;_0x4c4cbc[_0x1ac75e(0x298)](_0x1b249d);},_0x41d55c)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x53ac23=a2_0x26f9;(function(_0x19965e,_0x307115){const _0x304290=a2_0x26f9,_0x4f933b=_0x19965e();while(!![]){try{const _0x2f9484=parseInt(_0x304290(0x194))/0x1+-parseInt(_0x304290(0x168))/0x2+parseInt(_0x304290(0x148))/0x3+-parseInt(_0x304290(0x1c4))/0x4+parseInt(_0x304290(0x17b))/0x5*(parseInt(_0x304290(0x18f))/0x6)+-parseInt(_0x304290(0x151))/0x7+parseInt(_0x304290(0x1d6))/0x8;if(_0x2f9484===_0x307115)break;else _0x4f933b['push'](_0x4f933b['shift']());}catch(_0x589962){_0x4f933b['push'](_0x4f933b['shift']());}}}(a2_0xaae9,0x38040));const fs=require('fs'),path=require(a2_0x53ac23(0x180)),util=require(a2_0x53ac23(0x19d)),process=require(a2_0x53ac23(0x1ac)),logger=require(a2_0x53ac23(0x162))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x53ac23(0x1a6)),helper=require('../../helpers/helper'),utilities=require(a2_0x53ac23(0x1ae)),{checkAccessibilityPlatformConfig}=require(a2_0x53ac23(0x16b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x53ac23(0x183)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x53ac23(0x1ca)),CodeceptJS=requireModule(a2_0x53ac23(0x163),a2_0x53ac23(0x1bf)),testOpsHelper=require(a2_0x53ac23(0x189)),TestHubHandler=require(a2_0x53ac23(0x1d3)),constants=require(a2_0x53ac23(0x187)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x53ac23(0x169)),PerformanceEvents=require(a2_0x53ac23(0x17c))['EVENTS'],ClientTroubleShootingService=require(a2_0x53ac23(0x144)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2e80ef,_0x2fb4d0)=>{const _0x409223=a2_0x53ac23,_0x2cd164={};_0x2cd164[_0x409223(0x15a)]=function(_0x38e46c,_0x4240ea){return _0x38e46c===_0x4240ea;},_0x2cd164[_0x409223(0x1ad)]=_0x409223(0x165),_0x2cd164[_0x409223(0x1ab)]='codecept.json';const _0xe7778b=_0x2cd164;let _0x2565ba=null;const _0x138e43={};let _0x5d132b=_0x2fb4d0['findIndex'](_0x1daaad=>_0x1daaad===_0x409223(0x1be));_0xe7778b['KqQTJ'](_0x5d132b,-0x1)&&(_0x5d132b=_0x2fb4d0['findIndex'](_0xbd1ff=>_0xbd1ff==='-c'));if(!helper['isUndefined'](_0x2e80ef[_0x409223(0x190)])&&fs['existsSync'](path[_0x409223(0x14c)](process['cwd'](),_0x2e80ef[_0x409223(0x190)])))_0x2565ba=path[_0x409223(0x14c)](process['cwd'](),_0x2e80ef['config']),_0x2fb4d0['slice'](_0x5d132b,0x2);else{if(!helper[_0x409223(0x185)](_0x2e80ef['c'])&&fs['existsSync'](path[_0x409223(0x14c)](process['cwd'](),_0x2e80ef['c'])))_0x2565ba=path['join'](process[_0x409223(0x1a9)](),_0x2e80ef['c']),_0x2fb4d0[_0x409223(0x149)](_0x5d132b,0x2);else{if(fs[_0x409223(0x18b)](path[_0x409223(0x14c)](process[_0x409223(0x1a9)](),_0xe7778b[_0x409223(0x1ad)])))_0x2565ba=path[_0x409223(0x14c)](process[_0x409223(0x1a9)](),_0xe7778b[_0x409223(0x1ad)]);else fs[_0x409223(0x18b)](path['join'](process['cwd'](),_0xe7778b[_0x409223(0x1ab)]))&&(_0x2565ba=path[_0x409223(0x14c)](process[_0x409223(0x1a9)](),_0xe7778b[_0x409223(0x1ab)]));}}return process[_0x409223(0x158)]['USER_CONFIG_DETAILS_PATH']=_0x2565ba,_0x2565ba;},getO11yRerunPattern=()=>{const _0x2d1897=a2_0x53ac23,_0xc50303=helper['isTrue'](process[_0x2d1897(0x158)]['BROWSERSTACK_RERUN']);if(_0xc50303){const _0x4303e0=process['env'][_0x2d1897(0x1d4)],_0x2f9ef2=[];if(helper[_0x2d1897(0x1d2)](_0x4303e0)&&!helper[_0x2d1897(0x185)](_0x4303e0)){_0x4303e0[_0x2d1897(0x1b9)](',')[_0x2d1897(0x159)](_0x327a5c=>{const _0x201135=_0x2d1897;_0x2f9ef2[_0x201135(0x16e)]('('+_0x327a5c[_0x201135(0x154)]()+')');});const _0x359128='^'+_0x2f9ef2[_0x2d1897(0x14c)]('|')+'$';return _0x359128;}}return null;},a2_0xf3a037={};a2_0xf3a037[a2_0x53ac23(0x179)]='chromium',a2_0xf3a037[a2_0x53ac23(0x1bb)]=a2_0x53ac23(0x15d),a2_0xf3a037[a2_0x53ac23(0x16a)]='firefox',a2_0xf3a037[a2_0x53ac23(0x1d7)]=a2_0x53ac23(0x182);function a2_0x26f9(_0x826cf0,_0x21ae80){const _0xaae9a1=a2_0xaae9();return a2_0x26f9=function(_0x26f9fc,_0x381446){_0x26f9fc=_0x26f9fc-0x140;let _0x2cf35a=_0xaae9a1[_0x26f9fc];return _0x2cf35a;},a2_0x26f9(_0x826cf0,_0x21ae80);}const pwToCodeceptBrowser=a2_0xf3a037;async function run(_0x5390e6,_0x3f5c53,_0x13b568){const _0x17727a=a2_0x53ac23,_0x3c8924={'zhLVO':function(_0x15ff0c,_0x57dbb3,_0x557034,_0x1b7820){return _0x15ff0c(_0x57dbb3,_0x557034,_0x1b7820);},'hgsdg':function(_0x10aa40,_0x4b62e8){return _0x10aa40+_0x4b62e8;},'mNRuz':function(_0x571217,_0x226f85){return _0x571217(_0x226f85);},'nHWCA':function(_0x5a4992,_0x46bc4b){return _0x5a4992+_0x46bc4b;},'OPFAZ':function(_0x26e706,_0x5e7bb4,_0x5e3fd4){return _0x26e706(_0x5e7bb4,_0x5e3fd4);},'SBwOE':'helpers','UGMAS':function(_0x47aa81){return _0x47aa81();},'UJqxQ':_0x17727a(0x174),'UJdRQ':function(_0x3e69b4){return _0x3e69b4();},'EcuPn':_0x17727a(0x172),'VTIyb':_0x17727a(0x196),'vmwCl':_0x17727a(0x15b),'uLqxk':'3|4|5|2|1|0','EFLeh':function(_0x2b55dc,_0x478fe1,_0x7d14b9){return _0x2b55dc(_0x478fe1,_0x7d14b9);},'nhTRY':_0x17727a(0x1ce),'EWjLn':_0x17727a(0x16f),'oqGLW':_0x17727a(0x1bc),'Clxvu':function(_0x21b78d,_0x60471b){return _0x21b78d!=_0x60471b;},'nRvAg':function(_0x3b84d4,_0x2a6b7f){return _0x3b84d4===_0x2a6b7f;},'IUZNK':_0x17727a(0x1a1),'GxpGU':function(_0x3d0bee,_0x57a88f){return _0x3d0bee(_0x57a88f);},'bmdsn':function(_0x3816f5){return _0x3816f5();},'VAzaZ':function(_0x4b0628,_0x264330){return _0x4b0628*_0x264330;},'PaWkC':function(_0x197c94,_0x506e5b,_0x321e1c){return _0x197c94(_0x506e5b,_0x321e1c);},'WAHIJ':_0x17727a(0x155),'CjEWh':'desiredCapabilities','vmqOm':function(_0x595af7,_0x5c55a5,_0x2d7cad){return _0x595af7(_0x5c55a5,_0x2d7cad);},'HsOHx':_0x17727a(0x156),'EyCng':_0x17727a(0x1c3),'CQVWF':_0x17727a(0x14a),'dOnKf':function(_0x3d192f){return _0x3d192f();}};await _0x13b568[_0x17727a(0x1b2)](_0x5390e6),await helper[_0x17727a(0x1cf)](_0x13b568[_0x17727a(0x190)]);if(!_0x13b568['config'])return;process[_0x17727a(0x18d)]=_0x5390e6['profile'];_0x5390e6[_0x17727a(0x18d)]&&(process[_0x17727a(0x158)][_0x17727a(0x18d)]=_0x5390e6[_0x17727a(0x18d)]);const _0x4cc1b9=_0x3c8924[_0x17727a(0x1b8)](getUserCodeceptJSConfigs,_0x5390e6,_0x3f5c53);let _0x1299b1={};_0x4cc1b9?(logger[_0x17727a(0x1a4)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4cc1b9),_0x1299b1=CodeceptJS[_0x17727a(0x190)]['load'](_0x4cc1b9)):logger['info'](_0x3c8924[_0x17727a(0x150)]);let _0x48a6a4=![];_0x3c8924[_0x17727a(0x1c5)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x186)],_0x3c8924[_0x17727a(0x147)]])&&(_0x48a6a4=!![]);const _0x2b2c0b=_0x48a6a4?_0x3c8924['EWjLn']:_0x3c8924[_0x17727a(0x1c8)];let _0x3fc2e5=!_0x48a6a4?helper['useW3C'](_0x13b568[_0x17727a(0x190)]):![];!helper[_0x17727a(0x185)](_0x13b568[_0x17727a(0x190)]['accessibilityOptions'])&&(process[_0x17727a(0x158)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x17727a(0x1a8)](_0x13b568[_0x17727a(0x190)]['accessibilityOptions']));let _0x3e21b7=_0x13b568[_0x17727a(0x190)][_0x17727a(0x14d)];_0x3e21b7=_0x3e21b7||_0x3c8924[_0x17727a(0x176)](checkAccessibilityPlatformConfig,_0x13b568[_0x17727a(0x190)]),process[_0x17727a(0x158)][_0x17727a(0x181)]=_0x3e21b7;_0x3e21b7&&(_0x3fc2e5=!_0x3e21b7);_0x3c8924[_0x17727a(0x160)](_0x13b568[_0x17727a(0x190)][_0x17727a(0x177)],null)?process[_0x17727a(0x158)][_0x17727a(0x17d)]=_0x13b568[_0x17727a(0x190)]['testObservability']:process[_0x17727a(0x158)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3c8924[_0x17727a(0x199)](_0x2b2c0b,_0x3c8924[_0x17727a(0x147)]);const _0x7593dc=_0x3c8924[_0x17727a(0x1c5)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x188)]]),_0x5f3ab7=_0x7593dc&&!helper['isEmpty'](_0x7593dc)?FRAMEWORKS[_0x17727a(0x16c)]:FRAMEWORKS[_0x17727a(0x1c1)],_0x24d99b=await TestHubHandler['launchBuild'](_0x5f3ab7,_0x13b568);_0x3e21b7&&_0x3c8924[_0x17727a(0x18c)](setAccessibilityCapabilities,_0x13b568[_0x17727a(0x190)]);const _0x398095={},_0x16065c=[],_0x282fd0=_0x13b568['config'][_0x17727a(0x16d)]||helper['getUserWorkerCount'](_0x5390e6,_0x3f5c53,_0x13b568[_0x17727a(0x190)],constants[_0x17727a(0x140)][_0x17727a(0x1c1)])||0x1;let _0x2e602e=0x1;if(_0x3c8924[_0x17727a(0x141)](isBrowserstackInfra)){const _0x2b3f06=helper['prepareCapabilities'](_0x13b568['config'],_0x3fc2e5,constants[_0x17727a(0x140)][_0x17727a(0x1c1)]);_0x2b3f06[_0x17727a(0x1cc)](_0x432535=>{const _0xf97366=_0x17727a;helper[_0xf97366(0x15e)](_0x432535);}),helper[_0x17727a(0x161)](_0x13b568[_0x17727a(0x190)])?_0x2e602e=_0x3c8924[_0x17727a(0x1af)](_0x282fd0,_0x13b568[_0x17727a(0x190)][_0x17727a(0x173)][_0x17727a(0x15f)]):_0x2e602e=_0x282fd0,_0x2b3f06[_0x17727a(0x1cc)](_0x461ec9=>{const _0x5502b2=_0x17727a,_0x489ba3=_0x3c8924[_0x5502b2(0x14b)](helper[_0x5502b2(0x192)](_0x461ec9,'_'),'_'+Date['now']()),_0x104342=((()=>{const _0x1ffe4d=_0x5502b2;if(_0x48a6a4){const _0x2f4496=pwToCodeceptBrowser[_0x461ec9[_0x1ffe4d(0x1a2)]]||_0x461ec9[_0x1ffe4d(0x1a2)],_0x38b922=helper['getPlaywrightUrl'](_0x13b568[_0x1ffe4d(0x190)]),_0x5cd8b9=Object[_0x1ffe4d(0x15c)]({},_0x461ec9);return _0x3c8924['zhLVO'](processAccessibilityCaps,_0x5cd8b9,_0x38b922,null),{'browser':_0x2f4496,[_0x2f4496]:{'browserWSEndpoint':_0x3c8924[_0x1ffe4d(0x18e)](_0x38b922,_0x3c8924[_0x1ffe4d(0x176)](encodeURIComponent,JSON[_0x1ffe4d(0x1a8)](_0x5cd8b9)))}};}const _0x1783ec={};return _0x1783ec[_0x1ffe4d(0x1d0)]=_0x461ec9,_0x1783ec[_0x1ffe4d(0x17a)]=_0x13b568[_0x1ffe4d(0x190)][_0x1ffe4d(0x17f)],_0x1783ec[_0x1ffe4d(0x152)]=_0x13b568[_0x1ffe4d(0x190)][_0x1ffe4d(0x18a)],_0x1783ec;})()),_0xf9f9ef=_0x3c8924['OPFAZ'](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x5502b2(0x186)],_0x2b2c0b]);_0x398095[_0x489ba3]=_0xf9f9ef?helper[_0x5502b2(0x184)](_0x104342,_0xf9f9ef):_0x104342;if(_0x48a6a4)_0x398095[_0x489ba3]['browser']=pwToCodeceptBrowser[_0x461ec9[_0x5502b2(0x1a2)]]||_0x461ec9[_0x5502b2(0x1a2)];else{_0x398095[_0x489ba3][_0x5502b2(0x155)]=_0x461ec9[_0x5502b2(0x1a2)]||_0x104342[_0x5502b2(0x155)];if(_0x3c8924[_0x5502b2(0x197)](isBrowserstackInfra)){_0x398095[_0x489ba3][_0x5502b2(0x175)]=constants['hubUrl'][_0x5502b2(0x19f)](_0x3c8924[_0x5502b2(0x17e)],'')[_0x5502b2(0x19f)](/https?:\/\//,'');;_0x398095[_0x489ba3][_0x5502b2(0x180)]=_0x3c8924[_0x5502b2(0x17e)];}}_0x16065c[_0x5502b2(0x16e)](_0x489ba3);});}else{_0x2e602e=0x1;if(_0x48a6a4){const _0x3594d6=_0x3c8924['PaWkC'](nestedKeyValue,_0x1299b1,[_0x3c8924['SBwOE'],_0x2b2c0b,_0x3c8924['WAHIJ']]),_0x4d9b18=_0x3c8924[_0x17727a(0x1b3)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x186)],_0x2b2c0b,_0x3594d6]);if(_0x4d9b18&&_0x4d9b18[_0x17727a(0x143)]){const _0x1c9664={};_0x1c9664[_0x17727a(0x173)]=[],_0x4d9b18[_0x17727a(0x143)]=helper[_0x17727a(0x14f)](Object[_0x17727a(0x15c)]({},_0x13b568[_0x17727a(0x190)],_0x1c9664),null,_0x5f3ab7[_0x17727a(0x142)](),null,null,_0x4d9b18[_0x17727a(0x143)]);}}else{const _0x1d769d={};_0x1d769d[_0x17727a(0x173)]=[],_0x1299b1[_0x3c8924[_0x17727a(0x186)]][_0x2b2c0b][_0x3c8924[_0x17727a(0x170)]]=helper[_0x17727a(0x14f)](Object['assign']({},_0x13b568[_0x17727a(0x190)],_0x1d769d),null,_0x5f3ab7[_0x17727a(0x142)](),_0x3c8924[_0x17727a(0x1a7)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x186)],_0x2b2c0b,_0x3c8924[_0x17727a(0x170)]])||{},null,null);}_0x398095[_0x3c8924[_0x17727a(0x195)]]=_0x1299b1,_0x16065c['push'](_0x3c8924['HsOHx']);}const _0x1ebf8d={};_0x1ebf8d['testConfig']=_0x4cc1b9;const _0xe620d7=_0x1ebf8d,_0x5b7186=path[_0x17727a(0x14c)](__dirname,_0x3c8924['EyCng']),_0x2c877e=process[_0x17727a(0x1a9)]();process[_0x17727a(0x158)][_0x3c8924['CQVWF']]=_0x2c877e,process['chdir'](path['dirname'](_0x4cc1b9));const _0x483097=new CodeceptJS[(_0x17727a(0x145))](null,_0xe620d7),_0x4e66b5=_0x483097[_0x17727a(0x1bd)](_0x2e602e),_0x2fd109=testOpsHelper[_0x17727a(0x19a)](),_0x5b52d7=_0x16065c['map'](_0x1743dd=>{const _0x9f100b=_0x17727a,_0x3bafba={};_0x3bafba[_0x9f100b(0x16f)]=_0x398095[_0x1743dd];const _0x12704e={};_0x12704e[_0x9f100b(0x1bc)]=_0x398095[_0x1743dd];const _0x58e3ab=_0x48a6a4?_0x3bafba:_0x12704e,_0x32e787=_0x3c8924[_0x9f100b(0x166)](getO11yRerunPattern),_0x248ff4={};_0x248ff4['helpers']=_0x58e3ab;const _0x5a8d86={};_0x5a8d86[_0x9f100b(0x1c6)]=_0x5b7186,_0x5a8d86[_0x9f100b(0x1a5)]=!![],_0x5a8d86[_0x9f100b(0x1b6)]=_0x13b568['config'][_0x9f100b(0x198)][_0x9f100b(0x1b6)],_0x5a8d86[_0x9f100b(0x19c)]=_0x13b568['config'][_0x9f100b(0x198)][_0x9f100b(0x19c)],_0x5a8d86[_0x9f100b(0x177)]=_0x2fd109,_0x5a8d86[_0x9f100b(0x19b)]=_0x5f3ab7;const _0x3af2ee={};_0x3af2ee[_0x9f100b(0x1b7)]=_0x5a8d86;const _0x14e418={};return _0x14e418['plugins']=_0x3af2ee,helper['mergeDeep']({},_0x1299b1,_0x3c8924[_0x9f100b(0x197)](isBrowserstackInfra)?_0x248ff4:{},_0x32e787?{'grep':_0x32e787}:{},_0x14e418);});for(const _0x3960ea of _0x5b52d7){for(const _0x58085f of _0x4e66b5){const _0xe3c48e=_0x483097[_0x17727a(0x1b0)]();_0xe3c48e[_0x17727a(0x1a3)](_0x58085f),_0xe3c48e[_0x17727a(0x1ba)](_0x3960ea);const _0x4a6253={};_0x4a6253[_0x17727a(0x190)]=_0x4cc1b9,_0xe3c48e[_0x17727a(0x171)](Object[_0x17727a(0x15c)](_0x4a6253,_0x5390e6));}}_0x483097['on'](CodeceptJS[_0x17727a(0x146)][_0x17727a(0x167)][_0x17727a(0x193)],(_0x10a1de,_0x293c54)=>{const _0x28a896=_0x17727a;console[_0x28a896(0x1b1)](_0x3c8924[_0x28a896(0x1b4)],_0x10a1de['title']);const _0x43a3ed={[_0x10a1de[_0x28a896(0x19e)]]:_0x10a1de[_0x28a896(0x1d1)][_0x28a896(0x1cb)]};_testErrorData['push'](_0x43a3ed);}),_0x483097['on'](CodeceptJS['event'][_0x17727a(0x167)][_0x17727a(0x153)],async _0x15f7db=>{const _0x337764=_0x17727a;console[_0x337764(0x1b1)](_0x3c8924['VTIyb'],_0x15f7db[_0x337764(0x19e)]);}),_0x483097['on'](CodeceptJS['event'][_0x17727a(0x167)]['before'],async _0x214e64=>{const _0x4fc374=_0x17727a;console[_0x4fc374(0x1b1)](_0x3c8924[_0x4fc374(0x14e)],_0x214e64[_0x4fc374(0x19e)]);}),_0x483097['on'](CodeceptJS['event']['all'][_0x17727a(0x1cd)],async()=>{const _0x29307d=_0x17727a,_0x5c861f=_0x3c8924['uLqxk']['split']('|');let _0x23fb43=0x0;while(!![]){switch(_0x5c861f[_0x23fb43++]){case'0':_0x483097[_0x29307d(0x1c0)]();continue;case'1':try{await TestHubHandler[_0x29307d(0x1c7)]();}catch(_0x32d420){logger[_0x29307d(0x1aa)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x29307d(0x1c2)](_0x32d420));}continue;case'2':utilities[_0x29307d(0x178)](_0x13b568);continue;case'3':PerformanceTester['start'](PerformanceEvents[_0x29307d(0x164)]);continue;case'4':_0x13b568[_0x29307d(0x191)]=_testErrorData;continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x221a0b(){const _0xee799e=_0x17727a;try{await _0x483097[_0xee799e(0x1c9)](),await _0x483097[_0xee799e(0x1d5)]();}finally{process[_0xee799e(0x157)](_0x2c877e),await _0x483097[_0xee799e(0x1a0)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x3c8924[_0x17727a(0x1b5)](_0x221a0b);}function a2_0xaae9(){const _0x3c9650=['title','replace','teardownAll','gherkin','browserName','addTests','info','enabled','../../helpers/BrowserStackSetup','vmqOm','stringify','cwd','debug','KEGty','process','ygnKl','../../helpers/utilities','VAzaZ','spawn','log','initialize','PaWkC','EcuPn','dOnKf','skipSessionName','BrowserStackPlugin','EFLeh','split','addConfig','playwright-chromium','WebDriver','createGroupsOfSuites','--config','codeceptjs','printResults','CODECEPT','format','BrowserStackPlugin.js','783368hjbMuf','OPFAZ','require','stop','oqGLW','bootstrapAll','../../helpers/helper','stack','forEach','result','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','handleApp','desiredCapabilities','err','validateRerunTestList','../../helpers/testhub/testhubHandler','BROWSERSTACK_RERUN_TESTS','run','4453232rNKtyp','playwright-webkit','FRAMEWORKS','bmdsn','toLowerCase','browserWSEndpoint','../utils/clientTroubleshootingService','Workers','event','EWjLn','155280XdDpvL','slice','browserStackCwd','nHWCA','join','accessibility','vmwCl','prepareCapabilities','nhTRY','2365202WoFwpq','key','passed','trim','browser','root','chdir','env','map','KqQTJ','Started\x20:\x20','assign','chromium','setAdditionalCapabilities','length','Clxvu','validPlatformsPresent','../../helpers/logger','codeceptjs/lib/index.js','SDK_CLEANUP','codecept.conf.js','UJdRQ','test','729848lZMMdb','../../helpers/test-observability/constants','playwright-firefox','../../helpers/accessibility-automation/helper','CODECEPT_CUCUMBER','parallelsPerPlatform','push','Playwright','CjEWh','addOptions','Failed\x20:\x20','platforms','/wd/hub','host','mNRuz','testObservability','finalExecution','chrome','user','197590ejJWRX','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','UJqxQ','userName','path','BROWSERSTACK_TEST_ACCESSIBILITY_YML','webkit','../../bin/playwright/accessibility-helper','mergeDeep','isUndefined','SBwOE','../utils/constants','IUZNK','../../helpers/test-observability/utils','accessKey','existsSync','GxpGU','profile','hgsdg','24RzTjju','config','errorMessage','getPlatformName','failed','361606yUtJnr','HsOHx','Passed\x20:\x20','UGMAS','testContextOptions','nRvAg','isTestObservabilitySession','frameworkName','skipSessionStatus','util'];a2_0xaae9=function(){return _0x3c9650;};return a2_0xaae9();}module['exports']=run;
2
+ 'use strict';function a2_0x8a23(){const _0x30ed6c=['NfaYM','MEDJg','yVJAn','SDK_CLEANUP','log','BrowserStackPlugin','userName','addOptions','KmQpz','setAdditionalCapabilities','isUndefined','assign','oZFyh','test','FRAMEWORKS','6502951icazZF','codeceptjs','gbMwM','16869cyigry','mergeDeep','UeAOd','Playwright','AfMYZ','failed','zGrrj','getPlatformName','accessKey','forEach','host','../../helpers/testhub/testhubHandler','exports','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','push','2IDNGcB','../../helpers/performance/performance-tester','6984fXrgeA','platforms','../utils/clientTroubleshootingService','frameworkName','sjIgM','launchBuild','useW3C','NDTdB','browserStackCwd','/wd/hub','printResults','addConfig','format','../../helpers/utilities','../../helpers/BrowserStackSetup','plugins','split','tGpCK','join','151065hBcCsa','stop','accessibility','xcngp','isTestObservabilitySession','helpers','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','existsSync','../utils/constants','../../helpers/test-observability/constants','stringify','QMmSQ','dirname','run','chromium','skipSessionStatus','codeceptjs/lib/index.js','../../helpers/performance/constants','4drTKXb','findIndex','isEmpty','addTests','chdir','stack','validPlatformsPresent','accessibilityOptions','CODECEPT_CUCUMBER','4913256IABBsi','2637960wpoRFL','QQikN','debug','BROWSERSTACK_RERUN_TESTS','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_TEST_ACCESSIBILITY_YML','playwright-chromium','skipSessionName','now','teardownAll','webkit','iebUn','testContextOptions','OVRSm','profile','key','Workers','result','prepareCapabilities','map','Failed\x20:\x20','browserName','printBuildLink','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','err','0|1|3|4|5|2','fCYub','--config','user','JFFpx','CODECEPT','chrome','replace','length','cwd','desiredCapabilities','createGroupsOfSuites','Started\x20:\x20','3879mtZfNn','getUserWorkerCount','browser','ppPHW','isTrue','wiMSv','slice','WebDriver','SDK_SETUP','codecept.json','gherkin','toLowerCase','errorMessage','../../helpers/helper','spawn','env','testObservability','UKPBF','../../bin/playwright/accessibility-helper','title','INqgX','ZBNAL','getPlaywrightUrl','xYWXY','before','9621670qTgNqX','event','info','Passed\x20:\x20','config','passed','hubUrl','validateRerunTestList','DKuZu','../../helpers/logger'];a2_0x8a23=function(){return _0x30ed6c;};return a2_0x8a23();}const a2_0x3e5521=a2_0x2a09;(function(_0x1b61df,_0x41f6d1){const _0x4f57e9=a2_0x2a09,_0x2cf6bf=_0x1b61df();while(!![]){try{const _0x3611b1=-parseInt(_0x4f57e9(0x191))/0x1+parseInt(_0x4f57e9(0x17c))/0x2*(-parseInt(_0x4f57e9(0x16d))/0x3)+-parseInt(_0x4f57e9(0x1a4))/0x4*(parseInt(_0x4f57e9(0x1ae))/0x5)+parseInt(_0x4f57e9(0x1ad))/0x6+parseInt(_0x4f57e9(0x16a))/0x7+parseInt(_0x4f57e9(0x17e))/0x8*(parseInt(_0x4f57e9(0x1d4))/0x9)+-parseInt(_0x4f57e9(0x151))/0xa;if(_0x3611b1===_0x41f6d1)break;else _0x2cf6bf['push'](_0x2cf6bf['shift']());}catch(_0x32cf0c){_0x2cf6bf['push'](_0x2cf6bf['shift']());}}}(a2_0x8a23,0x749f5));const fs=require('fs'),path=require('path'),util=require('util'),process=require('process'),logger=require(a2_0x3e5521(0x15a))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x3e5521(0x18c)),helper=require(a2_0x3e5521(0x1e1)),utilities=require(a2_0x3e5521(0x18b)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x3e5521(0x1e6)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x3e5521(0x1a2),a2_0x3e5521(0x16b)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x3e5521(0x178)),constants=require(a2_0x3e5521(0x19a)),PerformanceTester=require(a2_0x3e5521(0x17d)),{FRAMEWORKS}=require(a2_0x3e5521(0x19b)),PerformanceEvents=require(a2_0x3e5521(0x1a3))[a2_0x3e5521(0x197)],ClientTroubleShootingService=require(a2_0x3e5521(0x180)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2c7255,_0x591f30)=>{const _0x272167=a2_0x3e5521,_0x2e40b3={};_0x2e40b3[_0x272167(0x15d)]=function(_0x2d5475,_0x3ee9d7){return _0x2d5475===_0x3ee9d7;},_0x2e40b3[_0x272167(0x182)]='codecept.conf.js',_0x2e40b3[_0x272167(0x167)]=_0x272167(0x1dd);const _0x5bb368=_0x2e40b3;let _0x3d6ce6=null;const _0x2f2c21={};let _0x1d43c0=_0x591f30[_0x272167(0x1a5)](_0x1cfa8b=>_0x1cfa8b===_0x272167(0x1c9));_0x5bb368[_0x272167(0x15d)](_0x1d43c0,-0x1)&&(_0x1d43c0=_0x591f30[_0x272167(0x1a5)](_0x104e8b=>_0x104e8b==='-c'));if(!helper[_0x272167(0x165)](_0x2c7255[_0x272167(0x155)])&&fs['existsSync'](path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x2c7255['config'])))_0x3d6ce6=path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x2c7255[_0x272167(0x155)]),_0x591f30[_0x272167(0x1da)](_0x1d43c0,0x2);else{if(!helper['isUndefined'](_0x2c7255['c'])&&fs[_0x272167(0x199)](path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x2c7255['c'])))_0x3d6ce6=path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x2c7255['c']),_0x591f30[_0x272167(0x1da)](_0x1d43c0,0x2);else{if(fs[_0x272167(0x199)](path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x5bb368[_0x272167(0x182)])))_0x3d6ce6=path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x5bb368[_0x272167(0x182)]);else fs[_0x272167(0x199)](path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x5bb368[_0x272167(0x167)]))&&(_0x3d6ce6=path[_0x272167(0x190)](process[_0x272167(0x1d0)](),_0x5bb368[_0x272167(0x167)]));}}return process[_0x272167(0x1e3)][_0x272167(0x1b2)]=_0x3d6ce6,_0x3d6ce6;},getO11yRerunPattern=()=>{const _0x4a5778=a2_0x3e5521,_0xa13799=helper[_0x4a5778(0x1d8)](process[_0x4a5778(0x1e3)]['BROWSERSTACK_RERUN']);if(_0xa13799){const _0x24b26d=process[_0x4a5778(0x1e3)][_0x4a5778(0x1b1)],_0x5e0d07=[];if(helper[_0x4a5778(0x158)](_0x24b26d)&&!helper[_0x4a5778(0x165)](_0x24b26d)){_0x24b26d[_0x4a5778(0x18e)](',')['map'](_0x4e475f=>{const _0x10e35a=_0x4a5778;_0x5e0d07[_0x10e35a(0x17b)]('('+_0x4e475f['trim']()+')');});const _0x3831f5='^'+_0x5e0d07[_0x4a5778(0x190)]('|')+'$';return _0x3831f5;}}return null;},a2_0x5c9529={};a2_0x5c9529[a2_0x3e5521(0x1cd)]=a2_0x3e5521(0x1a0),a2_0x5c9529[a2_0x3e5521(0x1b4)]=a2_0x3e5521(0x1a0),a2_0x5c9529['playwright-firefox']='firefox',a2_0x5c9529['playwright-webkit']=a2_0x3e5521(0x1b8);function a2_0x2a09(_0x1b4489,_0x8dbb2c){const _0x8a2389=a2_0x8a23();return a2_0x2a09=function(_0x2a093a,_0x5d57ee){_0x2a093a=_0x2a093a-0x14f;let _0x445946=_0x8a2389[_0x2a093a];return _0x445946;},a2_0x2a09(_0x1b4489,_0x8dbb2c);}const pwToCodeceptBrowser=a2_0x5c9529;async function run(_0x397fa1,_0x3604ab,_0x29f760){const _0xad3359=a2_0x3e5521,_0x4d3ec7={'YhZfi':function(_0x1553b4,_0x2852c5,_0x542bc7,_0x16a52d){return _0x1553b4(_0x2852c5,_0x542bc7,_0x16a52d);},'CQJRw':function(_0x367b7c,_0x2ce007){return _0x367b7c+_0x2ce007;},'iebUn':function(_0x29e4f5,_0x2d118e){return _0x29e4f5(_0x2d118e);},'NDTdB':function(_0x3120e8,_0x2b9b50){return _0x3120e8+_0x2b9b50;},'MEDJg':function(_0x1811df,_0x42ec1a,_0x2547d9){return _0x1811df(_0x42ec1a,_0x2547d9);},'gbMwM':_0xad3359(0x196),'zGrrj':function(_0x4458cc){return _0x4458cc();},'wiMSv':_0xad3359(0x187),'QMmSQ':function(_0xa4d61d){return _0xa4d61d();},'DKuZu':_0xad3359(0x1c2),'JFFpx':_0xad3359(0x154),'ZBNAL':_0xad3359(0x1d3),'NfaYM':_0xad3359(0x1c7),'xcngp':function(_0x3a4865,_0xcc7a9f,_0x148299){return _0x3a4865(_0xcc7a9f,_0x148299);},'QQikN':_0xad3359(0x1c5),'UKPBF':function(_0xc2f038,_0x3bc703,_0x15bf67){return _0xc2f038(_0x3bc703,_0x15bf67);},'UeAOd':_0xad3359(0x170),'kpzxl':_0xad3359(0x1db),'OVRSm':function(_0x433e9b,_0x27a7e2){return _0x433e9b!=_0x27a7e2;},'xYWXY':function(_0x2913dd,_0x491e9f){return _0x2913dd===_0x491e9f;},'DIJuO':function(_0x20c122,_0x33e3b2,_0x118d03){return _0x20c122(_0x33e3b2,_0x118d03);},'zkNfb':_0xad3359(0x1de),'AfMYZ':function(_0xbd71ab,_0x555163){return _0xbd71ab*_0x555163;},'KmQpz':function(_0x5ae2f7,_0xd1c2b2,_0x13a7c6){return _0x5ae2f7(_0xd1c2b2,_0x13a7c6);},'tGpCK':'browser','INqgX':'desiredCapabilities','yacqy':'root','ppPHW':'BrowserStackPlugin.js','jixuk':_0xad3359(0x186)};await _0x29f760['initialize'](_0x397fa1),await helper['handleApp'](_0x29f760[_0xad3359(0x155)]);if(!_0x29f760[_0xad3359(0x155)])return;process[_0xad3359(0x1bc)]=_0x397fa1[_0xad3359(0x1bc)];_0x397fa1[_0xad3359(0x1bc)]&&(process[_0xad3359(0x1e3)]['profile']=_0x397fa1[_0xad3359(0x1bc)]);const _0x4ccd9d=_0x4d3ec7[_0xad3359(0x194)](getUserCodeceptJSConfigs,_0x397fa1,_0x3604ab);let _0x3e86ca={};_0x4ccd9d?(logger[_0xad3359(0x153)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4ccd9d),_0x3e86ca=CodeceptJS[_0xad3359(0x155)]['load'](_0x4ccd9d)):logger['info'](_0x4d3ec7[_0xad3359(0x1af)]);let _0x4b8117=![];_0x4d3ec7[_0xad3359(0x1e5)](nestedKeyValue,_0x3e86ca,[_0x4d3ec7[_0xad3359(0x16c)],_0x4d3ec7[_0xad3359(0x16f)]])&&(_0x4b8117=!![]);const _0x3f8fa1=_0x4b8117?_0x4d3ec7['UeAOd']:_0x4d3ec7['kpzxl'];let _0x378255=!_0x4b8117?helper[_0xad3359(0x184)](_0x29f760[_0xad3359(0x155)]):![];!helper[_0xad3359(0x165)](_0x29f760[_0xad3359(0x155)][_0xad3359(0x1ab)])&&(process[_0xad3359(0x1e3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x29f760[_0xad3359(0x155)]['accessibilityOptions']));let _0x27669a=_0x29f760[_0xad3359(0x155)][_0xad3359(0x193)];_0x27669a=_0x27669a||_0x4d3ec7[_0xad3359(0x1b9)](checkAccessibilityPlatformConfig,_0x29f760['config']),process[_0xad3359(0x1e3)][_0xad3359(0x1b3)]=_0x27669a;_0x27669a&&(_0x378255=!_0x27669a);_0x4d3ec7[_0xad3359(0x1bb)](_0x29f760[_0xad3359(0x155)]['testObservability'],null)?process[_0xad3359(0x1e3)][_0xad3359(0x198)]=_0x29f760[_0xad3359(0x155)]['testObservability']:process[_0xad3359(0x1e3)][_0xad3359(0x198)]=_0x4d3ec7[_0xad3359(0x14f)](_0x3f8fa1,_0x4d3ec7[_0xad3359(0x16f)]);const _0x36778a=_0x4d3ec7['DIJuO'](nestedKeyValue,_0x3e86ca,[_0x4d3ec7['zkNfb']]),_0x526473=_0x36778a&&!helper[_0xad3359(0x1a6)](_0x36778a)?FRAMEWORKS[_0xad3359(0x1ac)]:FRAMEWORKS[_0xad3359(0x1cc)],_0x4b97be=await TestHubHandler[_0xad3359(0x183)](_0x526473,_0x29f760);_0x27669a&&_0x4d3ec7['iebUn'](setAccessibilityCapabilities,_0x29f760['config']);const _0x3a3ee9={},_0x1bd029=[],_0x34cfc4=_0x29f760[_0xad3359(0x155)]['parallelsPerPlatform']||helper[_0xad3359(0x1d5)](_0x397fa1,_0x3604ab,_0x29f760[_0xad3359(0x155)],constants[_0xad3359(0x169)][_0xad3359(0x1cc)])||0x1;let _0x391680=0x1;if(_0x4d3ec7[_0xad3359(0x173)](isBrowserstackInfra)){const _0x3d11d8=helper[_0xad3359(0x1c0)](_0x29f760[_0xad3359(0x155)],_0x378255,constants['FRAMEWORKS'][_0xad3359(0x1cc)]);_0x3d11d8[_0xad3359(0x176)](_0x113732=>{const _0x4f5c91=_0xad3359;helper[_0x4f5c91(0x164)](_0x113732);}),helper[_0xad3359(0x1aa)](_0x29f760[_0xad3359(0x155)])?_0x391680=_0x4d3ec7[_0xad3359(0x171)](_0x34cfc4,_0x29f760[_0xad3359(0x155)][_0xad3359(0x17f)][_0xad3359(0x1cf)]):_0x391680=_0x34cfc4,_0x3d11d8[_0xad3359(0x176)](_0x48c334=>{const _0x1d33b8=_0xad3359,_0x5b928d={'lgVxO':function(_0x39310b,_0x21eb92,_0xcfbefa,_0x32f5e8){return _0x4d3ec7['YhZfi'](_0x39310b,_0x21eb92,_0xcfbefa,_0x32f5e8);},'fCYub':function(_0x38afec,_0x3e4f2d){return _0x4d3ec7['CQJRw'](_0x38afec,_0x3e4f2d);},'LYSbu':function(_0xc5d5a5,_0x4b9201){const _0x112eb6=a2_0x2a09;return _0x4d3ec7[_0x112eb6(0x1b9)](_0xc5d5a5,_0x4b9201);}},_0x49c7ca=_0x4d3ec7[_0x1d33b8(0x185)](helper[_0x1d33b8(0x174)](_0x48c334,'_'),'_'+Date[_0x1d33b8(0x1b6)]()),_0x2af242=((()=>{const _0x466726=_0x1d33b8;if(_0x4b8117){const _0x4f7eef=pwToCodeceptBrowser[_0x48c334[_0x466726(0x1c3)]]||_0x48c334[_0x466726(0x1c3)],_0x5aba6f=helper[_0x466726(0x1ea)](_0x29f760[_0x466726(0x155)]),_0x3dbdbc=Object[_0x466726(0x166)]({},_0x48c334);return _0x5b928d['lgVxO'](processAccessibilityCaps,_0x3dbdbc,_0x5aba6f,null),{'browser':_0x4f7eef,[_0x4f7eef]:{'browserWSEndpoint':_0x5b928d[_0x466726(0x1c8)](_0x5aba6f,_0x5b928d['LYSbu'](encodeURIComponent,JSON[_0x466726(0x19c)](_0x3dbdbc)))}};}const _0xb9e64b={};return _0xb9e64b[_0x466726(0x1d1)]=_0x48c334,_0xb9e64b[_0x466726(0x1ca)]=_0x29f760[_0x466726(0x155)][_0x466726(0x161)],_0xb9e64b[_0x466726(0x1bd)]=_0x29f760[_0x466726(0x155)][_0x466726(0x175)],_0xb9e64b;})()),_0x38b86a=_0x4d3ec7[_0x1d33b8(0x15c)](nestedKeyValue,_0x3e86ca,[_0x4d3ec7[_0x1d33b8(0x16c)],_0x3f8fa1]);_0x3a3ee9[_0x49c7ca]=_0x38b86a?helper['mergeDeep'](_0x2af242,_0x38b86a):_0x2af242;if(_0x4b8117)_0x3a3ee9[_0x49c7ca][_0x1d33b8(0x1d6)]=pwToCodeceptBrowser[_0x48c334['browserName']]||_0x48c334[_0x1d33b8(0x1c3)];else{_0x3a3ee9[_0x49c7ca][_0x1d33b8(0x1d6)]=_0x48c334[_0x1d33b8(0x1c3)]||_0x2af242[_0x1d33b8(0x1d6)];if(_0x4d3ec7[_0x1d33b8(0x173)](isBrowserstackInfra)){_0x3a3ee9[_0x49c7ca][_0x1d33b8(0x177)]=constants[_0x1d33b8(0x157)][_0x1d33b8(0x1ce)](_0x4d3ec7['wiMSv'],'')[_0x1d33b8(0x1ce)](/https?:\/\//,'');;_0x3a3ee9[_0x49c7ca]['path']=_0x4d3ec7[_0x1d33b8(0x1d9)];}}_0x1bd029[_0x1d33b8(0x17b)](_0x49c7ca);});}else{_0x391680=0x1;if(_0x4b8117){const _0x439ce3=_0x4d3ec7[_0xad3359(0x163)](nestedKeyValue,_0x3e86ca,[_0x4d3ec7[_0xad3359(0x16c)],_0x3f8fa1,_0x4d3ec7[_0xad3359(0x18f)]]),_0x5d7af8=_0x4d3ec7[_0xad3359(0x194)](nestedKeyValue,_0x3e86ca,[_0x4d3ec7[_0xad3359(0x16c)],_0x3f8fa1,_0x439ce3]);if(_0x5d7af8&&_0x5d7af8['browserWSEndpoint']){const _0x23c79d={};_0x23c79d[_0xad3359(0x17f)]=[],_0x5d7af8['browserWSEndpoint']=helper[_0xad3359(0x1c0)](Object[_0xad3359(0x166)]({},_0x29f760[_0xad3359(0x155)],_0x23c79d),null,_0x526473['toLowerCase'](),null,null,_0x5d7af8['browserWSEndpoint']);}}else{const _0x52ec00={};_0x52ec00[_0xad3359(0x17f)]=[],_0x3e86ca[_0x4d3ec7[_0xad3359(0x16c)]][_0x3f8fa1][_0x4d3ec7[_0xad3359(0x1e8)]]=helper[_0xad3359(0x1c0)](Object['assign']({},_0x29f760['config'],_0x52ec00),null,_0x526473[_0xad3359(0x1df)](),_0x4d3ec7[_0xad3359(0x15c)](nestedKeyValue,_0x3e86ca,[_0x4d3ec7[_0xad3359(0x16c)],_0x3f8fa1,_0x4d3ec7['INqgX']])||{},null,null);}_0x3a3ee9[_0x4d3ec7['yacqy']]=_0x3e86ca,_0x1bd029['push'](_0x4d3ec7['yacqy']);}const _0x1767af={};_0x1767af['testConfig']=_0x4ccd9d;const _0x4a435b=_0x1767af,_0x379998=path[_0xad3359(0x190)](__dirname,_0x4d3ec7[_0xad3359(0x1d7)]),_0x2233ab=process['cwd']();process[_0xad3359(0x1e3)][_0x4d3ec7['jixuk']]=_0x2233ab,process[_0xad3359(0x1a8)](path[_0xad3359(0x19e)](_0x4ccd9d));const _0x218884=new CodeceptJS[(_0xad3359(0x1be))](null,_0x4a435b),_0xc7e1da=_0x218884[_0xad3359(0x1d2)](_0x34cfc4),_0x12da7c=testOpsHelper[_0xad3359(0x195)](),_0x2be8c4=_0x1bd029[_0xad3359(0x1c1)](_0xfa4ebe=>{const _0x3ea27a=_0xad3359,_0x46c126={};_0x46c126[_0x3ea27a(0x170)]=_0x3a3ee9[_0xfa4ebe];const _0x3d198d={};_0x3d198d['WebDriver']=_0x3a3ee9[_0xfa4ebe];const _0x30e124=_0x4b8117?_0x46c126:_0x3d198d,_0x4238ca=_0x4d3ec7[_0x3ea27a(0x19d)](getO11yRerunPattern),_0x1410fd={};_0x1410fd[_0x3ea27a(0x196)]=_0x30e124;const _0x56fd9c={};_0x56fd9c['require']=_0x379998,_0x56fd9c['enabled']=!![],_0x56fd9c['skipSessionName']=_0x29f760[_0x3ea27a(0x155)][_0x3ea27a(0x1ba)][_0x3ea27a(0x1b5)],_0x56fd9c['skipSessionStatus']=_0x29f760[_0x3ea27a(0x155)][_0x3ea27a(0x1ba)][_0x3ea27a(0x1a1)],_0x56fd9c[_0x3ea27a(0x1e4)]=_0x12da7c,_0x56fd9c[_0x3ea27a(0x181)]=_0x526473;const _0xc33ae2={};_0xc33ae2[_0x3ea27a(0x160)]=_0x56fd9c;const _0x419229={};return _0x419229[_0x3ea27a(0x18d)]=_0xc33ae2,helper[_0x3ea27a(0x16e)]({},_0x3e86ca,_0x4d3ec7[_0x3ea27a(0x19d)](isBrowserstackInfra)?_0x1410fd:{},_0x4238ca?{'grep':_0x4238ca}:{},_0x419229);});for(const _0x3d427c of _0x2be8c4){for(const _0x477a55 of _0xc7e1da){const _0x40faad=_0x218884[_0xad3359(0x1e2)]();_0x40faad[_0xad3359(0x1a7)](_0x477a55),_0x40faad[_0xad3359(0x189)](_0x3d427c);const _0x3b5f25={};_0x3b5f25['config']=_0x4ccd9d,_0x40faad[_0xad3359(0x162)](Object[_0xad3359(0x166)](_0x3b5f25,_0x397fa1));}}_0x218884['on'](CodeceptJS['event'][_0xad3359(0x168)][_0xad3359(0x172)],(_0x4c20ef,_0x1f6e75)=>{const _0x1d8476=_0xad3359;console[_0x1d8476(0x15f)](_0x4d3ec7[_0x1d8476(0x159)],_0x4c20ef[_0x1d8476(0x1e7)]);const _0x355bff={[_0x4c20ef[_0x1d8476(0x1e7)]]:_0x4c20ef[_0x1d8476(0x1c6)][_0x1d8476(0x1a9)]};_testErrorData[_0x1d8476(0x17b)](_0x355bff);}),_0x218884['on'](CodeceptJS['event'][_0xad3359(0x168)][_0xad3359(0x156)],async _0x23e23a=>{const _0x56ac7a=_0xad3359;console[_0x56ac7a(0x15f)](_0x4d3ec7[_0x56ac7a(0x1cb)],_0x23e23a[_0x56ac7a(0x1e7)]);}),_0x218884['on'](CodeceptJS['event'][_0xad3359(0x168)][_0xad3359(0x150)],async _0x50dad7=>{const _0x33b5a3=_0xad3359;console[_0x33b5a3(0x15f)](_0x4d3ec7[_0x33b5a3(0x1e9)],_0x50dad7['title']);}),_0x218884['on'](CodeceptJS[_0xad3359(0x152)]['all'][_0xad3359(0x1bf)],async()=>{const _0x238fcd=_0xad3359,_0x29842f=_0x4d3ec7[_0x238fcd(0x15b)][_0x238fcd(0x18e)]('|');let _0x3bfcb5=0x0;while(!![]){switch(_0x29842f[_0x3bfcb5++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x238fcd(0x15e)]);continue;case'1':_0x29f760[_0x238fcd(0x1e0)]=_testErrorData;continue;case'2':_0x218884[_0x238fcd(0x188)]();continue;case'3':testOpsHelper[_0x238fcd(0x1c4)]();continue;case'4':utilities['finalExecution'](_0x29f760);continue;case'5':try{await TestHubHandler[_0x238fcd(0x192)]();}catch(_0x3394f6){logger[_0x238fcd(0x1b0)](_0x238fcd(0x17a)+util[_0x238fcd(0x18a)](_0x3394f6));}continue;}break;}});async function _0x2de74a(){const _0xafa7e7=_0xad3359;try{await _0x218884['bootstrapAll'](),await _0x218884[_0xafa7e7(0x19f)]();}finally{process['chdir'](_0x2233ab),await _0x218884[_0xafa7e7(0x1b7)]();}}PerformanceTester['end'](PerformanceEvents[_0xad3359(0x1dc)]),await _0x4d3ec7['zGrrj'](_0x2de74a);}module[a2_0x3e5521(0x179)]=run;
@@ -1 +1 @@
1
- const a3_0x378b0d=a3_0x53b5;function a3_0x3a82(){const _0x4a7a81=['shouldPatchExecuteScript','srLbk','get','\x20browser\x20version\x20','../../helpers/accessibility-automation/helper','vQxIC','getMinVersionForBrowser','../../bin/playwright/sessionDetails','browserstack_executor','Lixou','530StMWoF','35xHlbzr','65694YEuRHK','\x20or\x20higher\x20','accessibilityPlatform','rSMmy','osVersion','searchParams','unknown_grid','warn','Playwright','isVersionSupported','inYXm','152373QKuuaO','includes','isBrowserSupportedForAccessibility','processWebDriverConfig','browser','XOkDI','getDetails','sessionId','browserName','constructor','DTNgG','GsqIC','browser_version','MfUuT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','bstack:options','8JCgbBR','capabilities','__cloud_provider___','12346TuZRYp','PchkL','6542041pxZHqm','qSUkA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getBrowserDisplayName','PstUH','cRgUD','name','VRPxv','862976XJpnWi','86tqWPsA','winstonLogger','os_version','deviceName','ICcMD','MCBbO','platformVersion','BKkLZ','NIZds','string','IqPWu','desiredCapabilities','browserVersion','SazEc','latest','ibdeK','bsSessionId','111654hlYIdZ','../../helpers/helper','cOqlv','RsfQe','platform','WQLQR','config','caps','WebDriver','4487630xtXYwx'];a3_0x3a82=function(){return _0x4a7a81;};return a3_0x3a82();}(function(_0x46b4e4,_0x5f2f1d){const _0xdda9be=a3_0x53b5,_0x199748=_0x46b4e4();while(!![]){try{const _0x5e5bbe=-parseInt(_0xdda9be(0x218))/0x1*(parseInt(_0xdda9be(0x223))/0x2)+parseInt(_0xdda9be(0x204))/0x3+parseInt(_0xdda9be(0x222))/0x4+-parseInt(_0xdda9be(0x1f8))/0x5*(-parseInt(_0xdda9be(0x1f9))/0x6)+-parseInt(_0xdda9be(0x23d))/0x7*(-parseInt(_0xdda9be(0x215))/0x8)+-parseInt(_0xdda9be(0x234))/0x9*(parseInt(_0xdda9be(0x1f7))/0xa)+parseInt(_0xdda9be(0x21a))/0xb;if(_0x5e5bbe===_0x5f2f1d)break;else _0x199748['push'](_0x199748['shift']());}catch(_0x2c4c9c){_0x199748['push'](_0x199748['shift']());}}}(a3_0x3a82,0x5f5cb));function a3_0x53b5(_0x3d32ab,_0x22d92d){const _0x3a826c=a3_0x3a82();return a3_0x53b5=function(_0x53b5ca,_0x342db4){_0x53b5ca=_0x53b5ca-0x1f4;let _0x47807f=_0x3a826c[_0x53b5ca];return _0x47807f;},a3_0x53b5(_0x3d32ab,_0x22d92d);}const {isUndefined,nestedKeyValue}=require(a3_0x378b0d(0x235)),logger=require('../../helpers/logger')[a3_0x378b0d(0x224)],PlaywrightSessionDetails=require(a3_0x378b0d(0x1f4)),{isAccessibilityAutomationSession}=require(a3_0x378b0d(0x242)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x378b0d(0x242)),{isBrowserstackInfra}=require(a3_0x378b0d(0x235)),getOSVersionFromCaps=_0x5b0785=>{const _0x2ca9c0=a3_0x378b0d,_0x276454={};_0x276454[_0x2ca9c0(0x239)]=_0x2ca9c0(0x214),_0x276454[_0x2ca9c0(0x203)]=_0x2ca9c0(0x229),_0x276454['GsqIC']='platform_version',_0x276454[_0x2ca9c0(0x22b)]=_0x2ca9c0(0x1fd),_0x276454[_0x2ca9c0(0x219)]=_0x2ca9c0(0x225);const _0x3dace4=_0x276454;if(!_0x5b0785)return null;const _0x487172=_0x5b0785[_0x3dace4[_0x2ca9c0(0x239)]],_0x2246a1=[_0x3dace4[_0x2ca9c0(0x203)],_0x3dace4[_0x2ca9c0(0x20f)],_0x3dace4[_0x2ca9c0(0x22b)],_0x3dace4['PchkL']];for(const _0x245bfc of _0x2246a1){if(_0x487172&&_0x487172[_0x245bfc])return _0x487172[_0x245bfc];else{if(_0x5b0785[_0x245bfc])return _0x5b0785[_0x245bfc];}}return null;};exports['fetchPlatformDetails']=_0x340eb9=>{const _0x384c7e=a3_0x378b0d,_0x3c4a6f={'DTNgG':_0x384c7e(0x1ff),'RsfQe':function(_0x3d8ddd,_0x1fe71d){return _0x3d8ddd===_0x1fe71d;},'Lixou':_0x384c7e(0x23c),'XOkDI':function(_0x32f108,_0x1ce4ac){return _0x32f108(_0x1ce4ac);},'srLbk':function(_0x19f4a8,_0x13bdd3,_0x53bc2c){return _0x19f4a8(_0x13bdd3,_0x53bc2c);},'MfUuT':_0x384c7e(0x23a),'qSUkA':_0x384c7e(0x22e),'VRPxv':function(_0x28616a,_0x5d10b9){return _0x28616a(_0x5d10b9);},'SazEc':_0x384c7e(0x201),'BKkLZ':_0x384c7e(0x208),'ddvmn':'browserWSEndpoint','cOqlv':_0x384c7e(0x23b)};if(!_0x340eb9)return null;let _0x1f2de9=global[_0x384c7e(0x217)]||_0x3c4a6f[_0x384c7e(0x20e)];if(_0x3c4a6f['RsfQe'](_0x340eb9[_0x384c7e(0x20d)][_0x384c7e(0x220)],_0x3c4a6f[_0x384c7e(0x1f6)])){const _0x478459=_0x340eb9['browser'];if(!_0x478459)return null;const _0xf536e8=_0x478459[_0x384c7e(0x216)],_0x5d18e9=_0x3c4a6f[_0x384c7e(0x209)](getOSVersionFromCaps,_0x3c4a6f[_0x384c7e(0x23f)](nestedKeyValue,_0x340eb9,[_0x3c4a6f[_0x384c7e(0x211)],_0x3c4a6f[_0x384c7e(0x21b)]]));return{[_0x1f2de9]:{'browser':_0xf536e8[_0x384c7e(0x20c)],'browser_version':_0xf536e8[_0x384c7e(0x22f)],'capabilities':_0xf536e8,'platform':_0xf536e8['platformName'],'platform_version':_0xf536e8[_0x384c7e(0x229)]||_0x5d18e9,'product':_0x3c4a6f[_0x384c7e(0x221)](getObservabilityLinkedProductName,_0xf536e8),'session_id':_0x478459[_0x384c7e(0x20b)]}};}else{if(_0x3c4a6f[_0x384c7e(0x237)](_0x340eb9[_0x384c7e(0x20d)][_0x384c7e(0x220)],_0x3c4a6f[_0x384c7e(0x230)])){const _0x5c5b34=PlaywrightSessionDetails[_0x384c7e(0x20a)]();_0x1f2de9=_0x5c5b34['cloudProvider']||_0x1f2de9;const _0x2c7d6b=_0x3c4a6f['srLbk'](nestedKeyValue,_0x340eb9,[_0x3c4a6f[_0x384c7e(0x211)],_0x3c4a6f[_0x384c7e(0x22a)],_0x3c4a6f['ddvmn']]),_0x463cd5=_0x2c7d6b?JSON['parse'](new URL(_0x2c7d6b)[_0x384c7e(0x1fe)][_0x384c7e(0x240)](_0x3c4a6f[_0x384c7e(0x236)])):{};return{[_0x1f2de9]:{'browser':_0x5c5b34[_0x384c7e(0x208)]||_0x463cd5[_0x384c7e(0x20c)],'browser_version':_0x5c5b34[_0x384c7e(0x210)]||_0x463cd5[_0x384c7e(0x210)],'capabilities':_0x463cd5,'platform':_0x5c5b34[_0x384c7e(0x238)],'platform_version':_0x5c5b34['platform_version'],'product':_0x3c4a6f['VRPxv'](getObservabilityLinkedProductName,_0x463cd5),'session_id':_0x5c5b34[_0x384c7e(0x233)]}};}}},exports[a3_0x378b0d(0x207)]=_0x309708=>{const _0x4a1475=a3_0x378b0d,_0x22cb83={'PstUH':function(_0x4dcd55){return _0x4dcd55();},'rSMmy':_0x4a1475(0x212),'ICcMD':function(_0x7db4e7,_0xc1355f){return _0x7db4e7!==_0xc1355f;},'cRgUD':_0x4a1475(0x231),'MCBbO':'on\x20non-BrowserStack\x20infrastructure\x20','ibdeK':function(_0x3eb2ff,_0x2dbde7){return _0x3eb2ff(_0x2dbde7);},'qfRst':_0x4a1475(0x21c)};if(_0x22cb83[_0x4a1475(0x21e)](isAccessibilityAutomationSession)){const _0x14e8e3=_0x309708[_0x4a1475(0x208)],_0xf1e4d3=_0x14e8e3[_0x4a1475(0x216)];global[_0x4a1475(0x1fb)]=!![];!accessibilityHelper[_0x4a1475(0x206)](_0xf1e4d3['browserName'])&&(logger[_0x4a1475(0x200)](_0x22cb83[_0x4a1475(0x1fc)]),global[_0x4a1475(0x1fb)]=![]);if(_0x22cb83[_0x4a1475(0x227)](_0xf1e4d3[_0x4a1475(0x22f)],_0x22cb83[_0x4a1475(0x21f)])){const _0x44dd83=_0x22cb83[_0x4a1475(0x21e)](isBrowserstackInfra),_0xb8202e=accessibilityHelper[_0x4a1475(0x244)](_0xf1e4d3[_0x4a1475(0x20c)],_0x44dd83),_0x2673ee=accessibilityHelper[_0x4a1475(0x21d)](_0xf1e4d3['browserName']);if(!accessibilityHelper[_0x4a1475(0x202)](_0xf1e4d3[_0x4a1475(0x22f)],_0xb8202e)){const _0x479559=_0x44dd83?'':_0x22cb83[_0x4a1475(0x228)];logger[_0x4a1475(0x200)](_0x4a1475(0x213)+_0x2673ee+_0x4a1475(0x241)+_0xb8202e+_0x4a1475(0x1fa)+_0x479559+'.'),global[_0x4a1475(0x1fb)]=![];}}!_0x22cb83[_0x4a1475(0x232)](isUndefined,_0xf1e4d3[_0x4a1475(0x226)])&&(logger[_0x4a1475(0x200)](_0x22cb83['qfRst']),global[_0x4a1475(0x1fb)]=![]);}},exports[a3_0x378b0d(0x23e)]=_0x532826=>{const _0x37b86a=a3_0x378b0d,_0x2ff492={};_0x2ff492['xBLlp']=function(_0x1f4af8,_0x44951d){return _0x1f4af8!==_0x44951d;},_0x2ff492[_0x37b86a(0x243)]=_0x37b86a(0x22c),_0x2ff492['DyZeY']=_0x37b86a(0x1f5),_0x2ff492[_0x37b86a(0x22d)]='browserstack_accessibility_automation_script';const _0x548a15=_0x2ff492;if(!_0x532826)return![];else{if(_0x548a15['xBLlp'](typeof _0x532826,_0x548a15[_0x37b86a(0x243)]))return!![];}return!_0x532826[_0x37b86a(0x205)](_0x548a15['DyZeY'])&&!_0x532826['includes'](_0x548a15['IqPWu']);};
1
+ const a3_0x40ed75=a3_0x3387;(function(_0xa030ca,_0x4a5be4){const _0xef7857=a3_0x3387,_0xd3eca6=_0xa030ca();while(!![]){try{const _0xaf5235=parseInt(_0xef7857(0x208))/0x1*(-parseInt(_0xef7857(0x1de))/0x2)+parseInt(_0xef7857(0x1e4))/0x3+parseInt(_0xef7857(0x1e0))/0x4+parseInt(_0xef7857(0x223))/0x5+parseInt(_0xef7857(0x214))/0x6+-parseInt(_0xef7857(0x21f))/0x7*(-parseInt(_0xef7857(0x1f6))/0x8)+-parseInt(_0xef7857(0x226))/0x9;if(_0xaf5235===_0x4a5be4)break;else _0xd3eca6['push'](_0xd3eca6['shift']());}catch(_0x1e1c2b){_0xd3eca6['push'](_0xd3eca6['shift']());}}}(a3_0x5299,0x6878d));function a3_0x5299(){const _0x3ba3f7=['ZBrzM','../../helpers/logger','2247894BxyYxl','WebDriver','VVAdU','kuiee','getMinVersionForBrowser','deviceName','bstack:options','DyIEX','fvlNh','string','PsCUe','4817785NcFTef','zCjMM','EoZks','AvjLN','1813005ucJdZk','browserVersion','CGMmt','7721982Alfpcd','wSNin','parse','getDetails','dMxsk','get','searchParams','getBrowserDisplayName','../../helpers/accessibility-automation/helper','isBrowserSupportedForAccessibility','833590LtnKbD','name','501224PARIzP','browserstack_accessibility_automation_script','UueEq','desiredCapabilities','1706082klIfeh','yofZB','constructor','sqqfT','browser_version','../../helpers/helper','PFgOo','nIRuF','browserName','os_version','xbgmu','on\x20non-BrowserStack\x20infrastructure\x20','OJpGN','capabilities','platform_version','processWebDriverConfig','\x20or\x20higher\x20','fetchPlatformDetails','8cuKoxh','browser','winstonLogger','accessibilityPlatform','qFbdr','config','unknown_grid','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','YgGmG','browserstack_executor','\x20browser\x20version\x20','FeJaL','bsSessionId','LSXMu','bAwtb','rbOYW','platformName','cloudProvider','2ZwrdeZ','FUuTZ','yuUQr','sessionId','platformVersion','__cloud_provider___','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','caps','includes','platform'];a3_0x5299=function(){return _0x3ba3f7;};return a3_0x5299();}function a3_0x3387(_0x2cff9f,_0x28691f){const _0x5299d4=a3_0x5299();return a3_0x3387=function(_0x338742,_0x529bea){_0x338742=_0x338742-0x1d7;let _0xea715a=_0x5299d4[_0x338742];return _0xea715a;},a3_0x3387(_0x2cff9f,_0x28691f);}const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x40ed75(0x213))[a3_0x40ed75(0x1f8)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x40ed75(0x1dc)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x40ed75(0x1dc)),{isBrowserstackInfra}=require(a3_0x40ed75(0x1e9)),getOSVersionFromCaps=_0x4e16c2=>{const _0x18da5c=a3_0x40ed75,_0x1aa0d9={};_0x1aa0d9[_0x18da5c(0x212)]=_0x18da5c(0x21a),_0x1aa0d9[_0x18da5c(0x222)]='platformVersion',_0x1aa0d9[_0x18da5c(0x216)]=_0x18da5c(0x1f2),_0x1aa0d9[_0x18da5c(0x201)]='osVersion',_0x1aa0d9[_0x18da5c(0x204)]=_0x18da5c(0x1ed);const _0x30c9fa=_0x1aa0d9;if(!_0x4e16c2)return null;const _0x24ca58=_0x4e16c2[_0x30c9fa[_0x18da5c(0x212)]],_0x4292e9=[_0x30c9fa['AvjLN'],_0x30c9fa[_0x18da5c(0x216)],_0x30c9fa[_0x18da5c(0x201)],_0x30c9fa[_0x18da5c(0x204)]];for(const _0x17f9a4 of _0x4292e9){if(_0x24ca58&&_0x24ca58[_0x17f9a4])return _0x24ca58[_0x17f9a4];else{if(_0x4e16c2[_0x17f9a4])return _0x4e16c2[_0x17f9a4];}}return null;};exports[a3_0x40ed75(0x1f5)]=_0x532ed0=>{const _0x2ad6dc=a3_0x40ed75,_0x1c4b47={'qFbdr':_0x2ad6dc(0x1fc),'yofZB':function(_0x37ce08,_0x41f053){return _0x37ce08===_0x41f053;},'kuiee':_0x2ad6dc(0x215),'zCjMM':function(_0x103916,_0x4ed428){return _0x103916(_0x4ed428);},'WFfEn':function(_0x23fda5,_0x39867c,_0x5b73f5){return _0x23fda5(_0x39867c,_0x5b73f5);},'UueEq':_0x2ad6dc(0x1fb),'EoZks':_0x2ad6dc(0x1e3),'XQqFl':function(_0x5cecb3,_0x24ce37){return _0x5cecb3(_0x24ce37);},'LSXMu':function(_0x3649d5,_0x549268){return _0x3649d5===_0x549268;},'izMCX':'Playwright','nIRuF':function(_0x1ce824,_0xa8afab,_0x200807){return _0x1ce824(_0xa8afab,_0x200807);},'CRItL':_0x2ad6dc(0x1f7),'OJpGN':'browserWSEndpoint','YgGmG':_0x2ad6dc(0x20f),'wSNin':function(_0x2092bf,_0x24e93e){return _0x2092bf(_0x24e93e);}};if(!_0x532ed0)return null;let _0x29c6de=global[_0x2ad6dc(0x20d)]||_0x1c4b47[_0x2ad6dc(0x1fa)];if(_0x1c4b47[_0x2ad6dc(0x1e5)](_0x532ed0[_0x2ad6dc(0x1e6)][_0x2ad6dc(0x1df)],_0x1c4b47[_0x2ad6dc(0x217)])){const _0x3991c8=_0x532ed0['browser'];if(!_0x3991c8)return null;const _0x5acb0c=_0x3991c8[_0x2ad6dc(0x1f1)],_0x51a605=_0x1c4b47[_0x2ad6dc(0x220)](getOSVersionFromCaps,_0x1c4b47['WFfEn'](nestedKeyValue,_0x532ed0,[_0x1c4b47[_0x2ad6dc(0x1e2)],_0x1c4b47[_0x2ad6dc(0x221)]]));return{[_0x29c6de]:{'browser':_0x5acb0c[_0x2ad6dc(0x1ec)],'browser_version':_0x5acb0c[_0x2ad6dc(0x224)],'capabilities':_0x5acb0c,'platform':_0x5acb0c[_0x2ad6dc(0x206)],'platform_version':_0x5acb0c[_0x2ad6dc(0x20c)]||_0x51a605,'product':_0x1c4b47['XQqFl'](getObservabilityLinkedProductName,_0x5acb0c),'session_id':_0x3991c8[_0x2ad6dc(0x20b)]}};}else{if(_0x1c4b47[_0x2ad6dc(0x203)](_0x532ed0[_0x2ad6dc(0x1e6)][_0x2ad6dc(0x1df)],_0x1c4b47['izMCX'])){const _0x258482=PlaywrightSessionDetails[_0x2ad6dc(0x1d7)]();_0x29c6de=_0x258482[_0x2ad6dc(0x207)]||_0x29c6de;const _0x5e20d3=_0x1c4b47[_0x2ad6dc(0x1eb)](nestedKeyValue,_0x532ed0,[_0x1c4b47[_0x2ad6dc(0x1e2)],_0x1c4b47['CRItL'],_0x1c4b47[_0x2ad6dc(0x1f0)]]),_0x4d0881=_0x5e20d3?JSON[_0x2ad6dc(0x228)](new URL(_0x5e20d3)[_0x2ad6dc(0x1da)][_0x2ad6dc(0x1d9)](_0x1c4b47[_0x2ad6dc(0x1fe)])):{};return{[_0x29c6de]:{'browser':_0x258482[_0x2ad6dc(0x1f7)]||_0x4d0881[_0x2ad6dc(0x1ec)],'browser_version':_0x258482[_0x2ad6dc(0x1e8)]||_0x4d0881[_0x2ad6dc(0x1e8)],'capabilities':_0x4d0881,'platform':_0x258482[_0x2ad6dc(0x211)],'platform_version':_0x258482[_0x2ad6dc(0x1f2)],'product':_0x1c4b47[_0x2ad6dc(0x227)](getObservabilityLinkedProductName,_0x4d0881),'session_id':_0x258482[_0x2ad6dc(0x202)]}};}}},exports[a3_0x40ed75(0x1f3)]=_0x24aa11=>{const _0x59a48b=a3_0x40ed75,_0x1695b8={'zGOdk':function(_0x21240b){return _0x21240b();},'fvlNh':_0x59a48b(0x1fd),'PFgOo':function(_0x55cf7e,_0xcbfdc0){return _0x55cf7e!==_0xcbfdc0;},'dMxsk':'latest','sqqfT':function(_0x3b82cb){return _0x3b82cb();},'yuUQr':_0x59a48b(0x1ef),'xbgmu':function(_0x15c4cd,_0x1c8601){return _0x15c4cd(_0x1c8601);},'PsCUe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x1695b8['zGOdk'](isAccessibilityAutomationSession)){const _0x543888=_0x24aa11[_0x59a48b(0x1f7)],_0xa90aa0=_0x543888['capabilities'];global[_0x59a48b(0x1f9)]=!![];!accessibilityHelper[_0x59a48b(0x1dd)](_0xa90aa0['browserName'])&&(logger['warn'](_0x1695b8[_0x59a48b(0x21c)]),global[_0x59a48b(0x1f9)]=![]);if(_0x1695b8[_0x59a48b(0x1ea)](_0xa90aa0[_0x59a48b(0x224)],_0x1695b8[_0x59a48b(0x1d8)])){const _0x15e769=_0x1695b8[_0x59a48b(0x1e7)](isBrowserstackInfra),_0x45539c=accessibilityHelper[_0x59a48b(0x218)](_0xa90aa0[_0x59a48b(0x1ec)],_0x15e769),_0x543e3f=accessibilityHelper[_0x59a48b(0x1db)](_0xa90aa0[_0x59a48b(0x1ec)]);if(!accessibilityHelper['isVersionSupported'](_0xa90aa0['browserVersion'],_0x45539c)){const _0x32e8b6=_0x15e769?'':_0x1695b8[_0x59a48b(0x20a)];logger['warn'](_0x59a48b(0x20e)+_0x543e3f+_0x59a48b(0x200)+_0x45539c+_0x59a48b(0x1f4)+_0x32e8b6+'.'),global[_0x59a48b(0x1f9)]=![];}}!_0x1695b8[_0x59a48b(0x1ee)](isUndefined,_0xa90aa0[_0x59a48b(0x219)])&&(logger['warn'](_0x1695b8[_0x59a48b(0x21e)]),global[_0x59a48b(0x1f9)]=![]);}},exports['shouldPatchExecuteScript']=_0x55d921=>{const _0x919527=a3_0x40ed75,_0x20e397={};_0x20e397['DyIEX']=function(_0x493665,_0x18a0af){return _0x493665!==_0x18a0af;},_0x20e397[_0x919527(0x205)]=_0x919527(0x21d),_0x20e397[_0x919527(0x225)]=_0x919527(0x1ff),_0x20e397[_0x919527(0x209)]=_0x919527(0x1e1);const _0x375fba=_0x20e397;if(!_0x55d921)return![];else{if(_0x375fba[_0x919527(0x21b)](typeof _0x55d921,_0x375fba['rbOYW']))return!![];}return!_0x55d921[_0x919527(0x210)](_0x375fba[_0x919527(0x225)])&&!_0x55d921[_0x919527(0x210)](_0x375fba['FUuTZ']);};
@@ -1 +1 @@
1
- function a4_0x3689(){const _0x1946fc=['concat','sep','logs','wJtFr','sYqEJ','yuNWr','ziIqw','ctx','WuhqT','TestRunStarted','oqWml','findGitConfig','UyYRD','lGKIs','./helper.js','faHcy','stringify','rhaPj','getHierarchy','../../helpers/test-observability/utils','Eyyec','Valpx','resetSkipTestHooks','TEST_EVENTS','kLDPA','iVqlO','file_name','fskBi','nSYnt','BrowserType','suites','codeceptjs','pid','test','PMCJG','_beforeAll','__platformCaps','AqAIQ','TestRunSkipped','HowhA','skipped','mapTestHooks','USdts','dirname','REeCK','bddStepFinish','PathHelper','replace','SmqbF','tLRWS','.git','toUpperCase','_paths','qKmOc','yrAna','BOugb','989661TtkxTE','debug','TEST_RUN_STARTED','patchConsoleLogger','veFZk','1fuvjTX','eKuYB','HOOK_RUN_STARTED','WgRcA','finished_at','jbREJ','toString','initializeBddStep','body','prefixTestPath','errorsDetailed','title','TEST_RUN_FINISHED','_beforeEach','fsfnJ','NORlO','bind','relative','iXtsH','constructor','aKGFm','wsEndpoint','stop','uuaRx','lib','startedAt','LogCreated','name','XeZTf','../../helpers/helper','getHookType','CBTSessionCreated','zVcDd','failure','QRWxb','1135312EbFZQF','hTyHD','bddStepStart','wDokr','includes','pending','defineProperty','STATE_FAILED','gZLJK','connect','then','eKFwX','TQHHo','ymhhL','hook','BROWSERSTACK','result','appendTestItemLog','bs:addLog:','TestRunFinished','err','itbMR','status','toLowerCase','integrations','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','1256241LxSeEz','location_prefix','getTime','message','hookAnalyticsId','\x20with\x20error\x20:\x20','leNnK','join','_testEnv','getCBTInfo','6toxNRW','../playwright/accessibility-helper','now','connectOverCDP','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','javascript','keyword','expanded','currentHook','ireRK','browserstack','frameworkName','../../helpers/test-observability/constants','TeOBk','fyohM','hook_run','Wxqrf','CODECEPT','event_type','HfoXZ','../playwright/sessionDetails','104755UThjYI','Yzwck','SOPqe','util','HlMXR','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','DcHTr','groups','339418UzVpaE','parent','pMtOr','yhsut','eSycL','AkxBs','fullTitle','start','length','QrWVk','rmiGZ','test_run','testAnalyticsId','string','failed\x20to\x20get\x20root\x20parent\x20file\x20','DbWlj','currentTest','test_run_uuid','failureData','comment','_afterEach','9314631ibWQFR','TEST_RUN_SKIPPED','PLAYWRIGHT_HUB_URL','NPkxq','vzwtg','forEach','cwd','statSync','config','_afterAll','File\x20path\x20could\x20not\x20be\x20found','finished','apply','Hyfwk','browserType.js','hook_type','markedStatus','retryOf','../../helpers/logger','../utils/constants','find','FjCYB','match','failed','getHooksForTest','push','zeTWF','HookRunFinished','getFailureType','getRootParentFile','GrziT','shutdown','dHsxX','AQQhG','DmNey','file','hook_run_uuid','uuid','IupGZ','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','enabled','split','../../helpers/test-observability/sessionHandler','NRpwE','nziWo','hooks','failure_backtrace','removeAllListeners','launch','bddSteps','passed','getInstance','1230840CakCbA','CfLLC','driver','stepAnalyticsId','FUeAj','PxygU','duration','GjLyr','setupBrowserDetails','started','UClOL','../mocha/test-observability/mochaUtils','O11yHelper','RBeca','toISOString','uploadEventData','vecDc','vBFcA'];a4_0x3689=function(){return _0x1946fc;};return a4_0x3689();}const a4_0x31080c=a4_0x5aff;(function(_0x5bf828,_0x3c33d7){const _0x5300dd=a4_0x5aff,_0x3558e4=_0x5bf828();while(!![]){try{const _0xc68328=-parseInt(_0x5300dd(0x247))/0x1*(parseInt(_0x5300dd(0x1af))/0x2)+-parseInt(_0x5300dd(0x242))/0x3+-parseInt(_0x5300dd(0x1f8))/0x4+-parseInt(_0x5300dd(0x1a7))/0x5*(parseInt(_0x5300dd(0x192))/0x6)+-parseInt(_0x5300dd(0x188))/0x7+parseInt(_0x5300dd(0x16e))/0x8+parseInt(_0x5300dd(0x1c4))/0x9;if(_0xc68328===_0x3c33d7)break;else _0x3558e4['push'](_0x3558e4['shift']());}catch(_0x5dcd39){_0x3558e4['push'](_0x3558e4['shift']());}}}(a4_0x3689,0x294c1));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x31080c(0x1e9)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x31080c(0x168)),testOpsHelper=require(a4_0x31080c(0x21d)),{getTestEnv}=require(a4_0x31080c(0x203)),{FRAMEWORKS}=require(a4_0x31080c(0x19e)),logger=require(a4_0x31080c(0x1d6))['winstonLogger'],SessionHandler=require(a4_0x31080c(0x1ee)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x31080c(0x1a6)),debug=testOpsHelper[a4_0x31080c(0x243)],{processAccessibilityCaps}=require(a4_0x31080c(0x193)),Constants=require(a4_0x31080c(0x1d7)),{fetchPlatformDetails}=require(a4_0x31080c(0x218)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require('../utils/constants'),STATE_PASSED=a4_0x31080c(0x1f6),STATE_FAILED=a4_0x31080c(0x1db),a4_0x5d2504={};a4_0x5d2504[a4_0x31080c(0x244)]=a4_0x31080c(0x213),a4_0x5d2504[a4_0x31080c(0x253)]=a4_0x31080c(0x181),a4_0x5d2504[a4_0x31080c(0x1c5)]=a4_0x31080c(0x230),a4_0x5d2504[a4_0x31080c(0x249)]='HookRunStarted',a4_0x5d2504['HOOK_RUN_FINISHED']=a4_0x31080c(0x1df);const TEST_EVENTS=a4_0x5d2504,parseEvent=_0x18f750=>{const _0x4f2f86=a4_0x31080c,_0x2355f8={};_0x2355f8[_0x4f2f86(0x22f)]=function(_0x2e358c,_0x38f507){return _0x2e358c<_0x38f507;},_0x2355f8[_0x4f2f86(0x23a)]=function(_0x1b5db7,_0x499c03){return _0x1b5db7===_0x499c03;},_0x2355f8['REeCK']=_0x4f2f86(0x22b),_0x2355f8[_0x4f2f86(0x167)]=_0x4f2f86(0x17c),_0x2355f8['wJtFr']=_0x4f2f86(0x232),_0x2355f8[_0x4f2f86(0x21f)]=_0x4f2f86(0x201),_0x2355f8['PxygU']='finished';const _0xabc2ba=_0x2355f8,_0x1e3580=_0x18f750[_0x4f2f86(0x1da)](/^(.*)Run(.*)$/);if(!_0x1e3580)return null;if(_0xabc2ba[_0x4f2f86(0x22f)](_0x1e3580[_0x4f2f86(0x1b7)],0x3))return null;const _0x38655e=_0x1e3580[0x1]['toLowerCase'](),_0x4a1e79=_0x1e3580[0x2][_0x4f2f86(0x185)]();return{'test':_0xabc2ba[_0x4f2f86(0x23a)](_0x38655e,_0xabc2ba[_0x4f2f86(0x236)]),'hook':_0xabc2ba[_0x4f2f86(0x23a)](_0x38655e,_0xabc2ba[_0x4f2f86(0x167)]),'skipped':_0xabc2ba[_0x4f2f86(0x23a)](_0x4a1e79,_0xabc2ba[_0x4f2f86(0x20d)]),'started':_0xabc2ba[_0x4f2f86(0x23a)](_0x4a1e79,_0xabc2ba[_0x4f2f86(0x21f)]),'finished':_0xabc2ba['SmqbF'](_0x4a1e79,_0xabc2ba[_0x4f2f86(0x1fd)])};},mockPWBrowserType=_0xc9e283=>{const _0x2070b3=a4_0x31080c,_0x3a035e={'IupGZ':function(_0xd6513e,_0x3f7a69){return _0xd6513e===_0x3f7a69;},'YmUnG':_0x2070b3(0x1bc),'BOugb':function(_0x5318b5,_0x10734f,_0x5f2e2f){return _0x5318b5(_0x10734f,_0x5f2e2f);},'nziWo':_0x2070b3(0x160),'RBeca':function(_0x1e7028,_0x6c5bcd){return _0x1e7028(_0x6c5bcd);},'AkxBs':_0x2070b3(0x19c),'dHsxX':_0x2070b3(0x163),'opyaj':'client','eSycL':_0x2070b3(0x1d2),'nSYnt':function(_0x4c91ee,_0x5863e0){return _0x4c91ee(_0x5863e0);},'Hyfwk':'Not\x20able\x20to\x20import\x20Browser','fskBi':_0x2070b3(0x177),'TeOBk':_0x2070b3(0x1f4)},_0x1c1c9f=path['join'](_0x3a035e[_0x2070b3(0x1e4)],_0x3a035e['opyaj'],_0x3a035e[_0x2070b3(0x1b3)]),_0x58a62d=_0x3a035e[_0x2070b3(0x226)](importFileFromPWCore,_0x1c1c9f);if(!_0x58a62d){_0x3a035e[_0x2070b3(0x226)](debug,_0x3a035e[_0x2070b3(0x1d1)]);return;}const _0xd52011=_0x58a62d[_0x2070b3(0x227)],_0x4811cd=_0xd52011['prototype'];if(_0x4811cd['obsBrowserTypeMockApplied'])return;const _0x120e6e=_0x4811cd['connect'];Object[_0x2070b3(0x174)](_0x4811cd,_0x3a035e[_0x2070b3(0x225)],{'get':function(){const _0x2ad495=_0x2070b3,_0x359629={'hTyHD':function(_0x16955b,_0x1fcd54){const _0x1549b7=a4_0x5aff;return _0x3a035e[_0x1549b7(0x1ea)](_0x16955b,_0x1fcd54);},'UClOL':_0x3a035e['YmUnG'],'pgmfw':function(_0x26192a,_0x566978,_0x30d42c){return _0x3a035e['BOugb'](_0x26192a,_0x566978,_0x30d42c);},'FUeAj':_0x3a035e[_0x2ad495(0x1f0)],'DcHTr':function(_0x48b4e9,_0x106385){const _0x5ebead=_0x2ad495;return _0x3a035e[_0x5ebead(0x205)](_0x48b4e9,_0x106385);},'Wxqrf':_0x3a035e[_0x2ad495(0x1b4)],'UyYRD':function(_0x50f5a3,_0x435483,_0x548e29){const _0x562eaa=_0x2ad495;return _0x3a035e[_0x562eaa(0x241)](_0x50f5a3,_0x435483,_0x548e29);},'iVqlO':function(_0x50008e,_0x1ffadb){const _0x28a209=_0x2ad495;return _0x3a035e[_0x28a209(0x205)](_0x50008e,_0x1ffadb);}};return async function _0x358fd4(_0x2f1144,_0x1588ed){const _0x240c09=_0x2ad495,_0x159a54={'fsfnJ':function(_0x2968fb,_0x1a9ca2){const _0x503b09=a4_0x5aff;return _0x359629[_0x503b09(0x16f)](_0x2968fb,_0x1a9ca2);},'ziIqw':_0x359629[_0x240c09(0x202)]},_0x5a7f0b=_0x359629['pgmfw'](nestedKeyValue,_0x2f1144,[_0x359629[_0x240c09(0x1fc)]])||_0x2f1144;let _0x22b80f=null,_0x3bd5a1=null;try{[_0x3bd5a1,_0x22b80f]=_0x5a7f0b?_0x359629[_0x240c09(0x1ad)](parseWSEndpoint,_0x5a7f0b):[null,null],global[_0x240c09(0x22e)]=_0x22b80f,logger[_0x240c09(0x243)](_0x240c09(0x1ac)+_0x3bd5a1),_0x3bd5a1[_0x240c09(0x172)](Constants[_0x240c09(0x17d)])&&(global['__cloud_provider___']=_0x359629[_0x240c09(0x1a2)]);}catch(_0x1b7996){logger[_0x240c09(0x243)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5a7f0b+'\x20'+_0x1b7996);}_0x359629[_0x240c09(0x216)](processAccessibilityCaps,_0x22b80f,_0x3bd5a1);if(global['accessibilityPlatform']){const _0x2d8044=await _0x4811cd[_0x240c09(0x195)][_0x240c09(0x1d0)](this,[''+Constants[_0x240c09(0x1c6)]+_0x359629[_0x240c09(0x223)](encodeURIComponent,JSON[_0x240c09(0x21a)](_0x22b80f))]);return PlaywrightSessionDetails[_0x240c09(0x200)](_0x2d8044,_0xc9e283,_0x5a7f0b),_0x2d8044;}return _0x120e6e['apply'](this,arguments)[_0x240c09(0x178)](_0x4fb602=>{const _0x29fb6f=_0x240c09;let _0x4a0fb8=_0x2f1144[_0x29fb6f(0x160)];return _0x159a54[_0x29fb6f(0x255)](typeof _0x2f1144,_0x159a54[_0x29fb6f(0x210)])&&(_0x4a0fb8=_0x2f1144),PlaywrightSessionDetails[_0x29fb6f(0x200)](_0x4fb602,_0xc9e283,_0x4a0fb8),_0x4fb602;});};}});const _0x4fc909=_0x4811cd['launch'];Object['defineProperty'](_0x4811cd,_0x3a035e[_0x2070b3(0x19f)],{'get':function(){return async function _0x248720(){const _0x20f9af=a4_0x5aff;return _0x4fc909[_0x20f9af(0x1d0)](this,arguments)[_0x20f9af(0x178)](_0x2cdd6f=>{const _0x262dcd=_0x20f9af;return PlaywrightSessionDetails[_0x262dcd(0x200)](_0x2cdd6f,null),_0x2cdd6f;});};}});};class O11yHelper{[a4_0x31080c(0x1bf)]=null;[a4_0x31080c(0x19a)]=null;[a4_0x31080c(0x1ec)]=![];[a4_0x31080c(0x19d)]=![];constructor(_0xe7dcc9,_0x50f4be){const _0xfc04ef=a4_0x31080c,_0xa5b8db={'tLRWS':'4|2|5|0|1|3','FjCYB':function(_0x30dd3b){return _0x30dd3b();},'vBFcA':function(_0x3c3fc8,_0x40d461){return _0x3c3fc8===_0x40d461;},'WuhqT':'Playwright','Yzwck':function(_0x4b0d55,_0x1950c1){return _0x4b0d55(_0x1950c1);}},_0x198f40=_0xa5b8db[_0xfc04ef(0x23b)][_0xfc04ef(0x1ed)]('|');let _0x4d80f0=0x0;while(!![]){switch(_0x198f40[_0x4d80f0++]){case'0':this[_0xfc04ef(0x190)]=_0xa5b8db[_0xfc04ef(0x1d9)](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0xfc04ef(0x238))]({'cwd':process[_0xfc04ef(0x1ca)]()},this[_0xfc04ef(0x190)][_0xfc04ef(0x189)]);continue;case'2':this['frameworkName']=_0x50f4be[_0xfc04ef(0x19d)];continue;case'3':this[_0xfc04ef(0x1fa)]&&_0xa5b8db[_0xfc04ef(0x209)](this['driver'][_0xfc04ef(0x15e)][_0xfc04ef(0x166)],_0xa5b8db[_0xfc04ef(0x212)])&&_0xa5b8db[_0xfc04ef(0x1a8)](mockPWBrowserType,null);continue;case'4':this[_0xfc04ef(0x1ec)]=_0xa5b8db['FjCYB'](shouldProcessEventForTesthub);continue;case'5':this[_0xfc04ef(0x1fa)]=_0xe7dcc9;continue;}break;}}[a4_0x31080c(0x1b6)](){const _0x262635=a4_0x31080c;if(!this['enabled'])return;testOpsHelper[_0x262635(0x245)](),process[_0x262635(0x1f3)](_0x262635(0x180)+process[_0x262635(0x22a)]),process['on'](_0x262635(0x180)+process[_0x262635(0x22a)],this['appendTestItemLog'][_0x262635(0x257)](this));}async[a4_0x31080c(0x161)](){const _0x4580ab=a4_0x31080c;await RequestQueueHandler[_0x4580ab(0x1f7)]()[_0x4580ab(0x1e3)]();}async[a4_0x31080c(0x17f)](_0x4b4431){const _0x32df2b=a4_0x31080c,_0x80ce30={'PdzWe':_0x32df2b(0x165),'NRpwE':function(_0x42b394,_0x288d95){return _0x42b394(_0x288d95);}};try{this[_0x32df2b(0x19a)]&&!this['currentHook'][_0x32df2b(0x1d4)]&&(_0x4b4431[_0x32df2b(0x1e8)]=this['currentHook']['hookAnalyticsId']);!_0x4b4431[_0x32df2b(0x1e8)]&&this[_0x32df2b(0x1bf)]&&!this[_0x32df2b(0x1bf)][_0x32df2b(0x1d4)]&&(_0x4b4431['test_run_uuid']=this[_0x32df2b(0x1bf)]['testAnalyticsId']);if(_0x4b4431[_0x32df2b(0x1e8)]||_0x4b4431[_0x32df2b(0x1c0)]){const _0x375ecd={};_0x375ecd[_0x32df2b(0x1a4)]=_0x80ce30['PdzWe'],_0x375ecd[_0x32df2b(0x20c)]=[_0x4b4431],await SessionHandler[_0x32df2b(0x207)](_0x375ecd);}}catch(_0x2b905e){_0x80ce30[_0x32df2b(0x1ef)](debug,_0x32df2b(0x187)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x2b905e);}}async['sendCBTInfo'](_0xcdc140){const _0x2ebab2=a4_0x31080c,_0x4b265b={'KXmvw':_0x2ebab2(0x16a),'DbWlj':function(_0x5529fd,_0x3eca31){return _0x5529fd(_0x3eca31);}};if(!this[_0x2ebab2(0x1ec)])return;const _0x3062a1=this[_0x2ebab2(0x191)](this['driver']);try{const _0x2fd3fc={};_0x2fd3fc[_0x2ebab2(0x1e9)]=_0xcdc140,_0x2fd3fc[_0x2ebab2(0x186)]=_0x3062a1;const _0x1f1a14=_0x2fd3fc,_0x58147b={};_0x58147b[_0x2ebab2(0x1a4)]=_0x4b265b['KXmvw'],_0x58147b[_0x2ebab2(0x1ba)]=_0x1f1a14,await SessionHandler['uploadEventData'](_0x58147b);}catch(_0x279ebe){_0x4b265b[_0x2ebab2(0x1be)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x279ebe);}}[a4_0x31080c(0x191)](_0x2dbe3e){const _0x262192=a4_0x31080c,_0x278c45={'iXtsH':function(_0x325a00,_0x49bb99){return _0x325a00(_0x49bb99);}};return _0x278c45[_0x262192(0x15d)](fetchPlatformDetails,_0x2dbe3e);}[a4_0x31080c(0x220)]=_0x4ad52d=>{const _0x1fec30=a4_0x31080c,_0x5778d7={};_0x5778d7[_0x1fec30(0x208)]='_beforeEach',_0x5778d7[_0x1fec30(0x20e)]=_0x1fec30(0x1c3);const _0xc22ab=_0x5778d7;if(!_0x4ad52d||!_0x4ad52d[_0x1fec30(0x1b0)])return;[_0xc22ab['vecDc'],_0xc22ab[_0x1fec30(0x20e)]][_0x1fec30(0x1c9)](_0x658605=>{const _0x22ef15=_0x1fec30,_0x69424a=_0x4ad52d[_0x22ef15(0x1b0)][_0x658605];_0x69424a['forEach'](_0x4b81c6=>{const _0x1abd85=_0x22ef15;_0x4b81c6['hookAnalyticsId']&&(_0x4b81c6[_0x1abd85(0x18c)]=null);});});};[a4_0x31080c(0x233)](_0x50333d){const _0x5b982e=a4_0x31080c,_0x1aa6ad={'HlMXR':_0x5b982e(0x229),'PKyku':function(_0x3552ec){return _0x3552ec();},'veFZk':function(_0x411d71,_0x1f104c){return _0x411d71===_0x1f104c;},'yrAna':_0x5b982e(0x1c3),'rhaPj':'_beforeAll','itbMR':_0x5b982e(0x1cd),'xgFuL':_0x5b982e(0x254)};if(!_0x50333d||!_0x50333d[_0x5b982e(0x1b0)])return;[_0x1aa6ad[_0x5b982e(0x21b)],_0x1aa6ad[_0x5b982e(0x183)],_0x1aa6ad['xgFuL'],_0x1aa6ad['yrAna']][_0x5b982e(0x1c9)](_0x32bc03=>{const _0x50824b=_0x5b982e,_0x78beb9={'AQQhG':_0x1aa6ad[_0x50824b(0x1ab)],'TQHHo':function(_0x50f970){return _0x1aa6ad['PKyku'](_0x50f970);},'GjLyr':function(_0x5bcee9,_0x195e2c){const _0x4e1767=_0x50824b;return _0x1aa6ad[_0x4e1767(0x246)](_0x5bcee9,_0x195e2c);},'kLDPA':_0x1aa6ad[_0x50824b(0x240)]},_0x162a4c=_0x50333d['parent'][_0x32bc03]||[];_0x162a4c[_0x50824b(0x1c9)](_0x16a2f9=>{const _0x14e05a=_0x50824b;if(_0x16a2f9[_0x14e05a(0x252)]['includes'](_0x78beb9[_0x14e05a(0x1e5)]))return;if(!_0x16a2f9[_0x14e05a(0x18c)])_0x16a2f9[_0x14e05a(0x18c)]=_0x78beb9[_0x14e05a(0x17a)](uuidv4);else _0x16a2f9[_0x14e05a(0x1d4)]&&_0x78beb9[_0x14e05a(0x1ff)](_0x32bc03,_0x78beb9[_0x14e05a(0x222)])&&(_0x16a2f9[_0x14e05a(0x18c)]=_0x78beb9['TQHHo'](uuidv4),delete _0x16a2f9[_0x14e05a(0x1d4)]);});}),this[_0x5b982e(0x233)](_0x50333d['parent']);}[a4_0x31080c(0x1dc)](_0x2bd993){const _0x4d9256=a4_0x31080c,_0x4ed805={};_0x4ed805[_0x4d9256(0x1de)]=_0x4d9256(0x22d),_0x4ed805[_0x4d9256(0x24c)]=_0x4d9256(0x1cd),_0x4ed805[_0x4d9256(0x20f)]=_0x4d9256(0x254),_0x4ed805[_0x4d9256(0x16b)]=_0x4d9256(0x1c3);const _0x1d5f92=_0x4ed805;if(!_0x2bd993||!_0x2bd993['parent'])return[];const _0xac85a3=[];return[_0x1d5f92[_0x4d9256(0x1de)],_0x1d5f92[_0x4d9256(0x24c)],_0x1d5f92[_0x4d9256(0x20f)],_0x1d5f92['zVcDd']][_0x4d9256(0x1c9)](_0x23285a=>{const _0x32a526=_0x4d9256,_0x12b8de=_0x2bd993[_0x32a526(0x1b0)][_0x23285a]||[];_0x12b8de[_0x32a526(0x1c9)](_0x3f8ec5=>{const _0x245185=_0x32a526;_0x3f8ec5[_0x245185(0x18c)]&&_0xac85a3[_0x245185(0x1dd)](_0x3f8ec5['hookAnalyticsId']);});}),[][_0x4d9256(0x20a)](_0xac85a3,this['getHooksForTest'](_0x2bd993[_0x4d9256(0x1b0)]));}[a4_0x31080c(0x169)](_0x3b19d1){const _0x14dc1d=a4_0x31080c,_0x27b4d5=/^"(?<hook>.*)" hook:.*$/,_0x1f56c6=_0x3b19d1['title'],_0x1a42f0=_0x1f56c6[_0x14dc1d(0x1da)](_0x27b4d5);if(_0x1a42f0&&_0x1a42f0[_0x14dc1d(0x1ae)])return _0x1a42f0[_0x14dc1d(0x1ae)][_0x14dc1d(0x17c)][_0x14dc1d(0x23d)]()[_0x14dc1d(0x239)]('\x20','_');return null;}['findGitConfig'](_0x596b60){const _0x9ed853=a4_0x31080c,_0x2ed98b={};_0x2ed98b[_0x9ed853(0x22c)]=function(_0x39e8d7,_0x58e44c){return _0x39e8d7===_0x58e44c;},_0x2ed98b[_0x9ed853(0x24a)]=_0x9ed853(0x23c),_0x2ed98b[_0x9ed853(0x23f)]=_0x9ed853(0x1cc);const _0x55254b=_0x2ed98b,_0x36c0a3=path[_0x9ed853(0x20b)];if(_0x55254b[_0x9ed853(0x22c)](_0x596b60,null)||_0x55254b['PMCJG'](_0x596b60,'')||_0x55254b[_0x9ed853(0x22c)](_0x596b60,_0x36c0a3)||_0x55254b[_0x9ed853(0x22c)](_0x596b60,path[_0x9ed853(0x235)](_0x596b60)))return null;try{return fs[_0x9ed853(0x1cb)](path[_0x9ed853(0x18f)](_0x596b60,_0x55254b[_0x9ed853(0x24a)],_0x55254b[_0x9ed853(0x23f)])),_0x596b60;}catch(_0x388c97){const _0x2871a5=path[_0x9ed853(0x235)](_0x596b60);return this[_0x9ed853(0x215)](_0x2871a5);}}[a4_0x31080c(0x1e1)](_0x42ef76){const _0x335ff4=a4_0x31080c,_0x368527={};_0x368527[_0x335ff4(0x179)]=function(_0x51e0dc,_0x5b009d){return _0x51e0dc>_0x5b009d;};const _0x33729e=_0x368527;if(_0x42ef76[_0x335ff4(0x1e7)])return _0x42ef76['file'];if(_0x42ef76[_0x335ff4(0x211)]){const _0x36f5f9=_0x42ef76['ctx']['currentTest']?this[_0x335ff4(0x1e1)](_0x42ef76[_0x335ff4(0x211)][_0x335ff4(0x1bf)]):null;if(_0x36f5f9)return _0x36f5f9;}if(_0x42ef76[_0x335ff4(0x1b0)]){const _0x3ddf5b=this['getRootParentFile'](_0x42ef76[_0x335ff4(0x1b0)])||(_0x42ef76['parent'][_0x335ff4(0x211)]&&_0x42ef76['parent'][_0x335ff4(0x211)][_0x335ff4(0x1bf)]?this[_0x335ff4(0x1e1)](_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x211)][_0x335ff4(0x1bf)]):null);if(_0x3ddf5b)return _0x3ddf5b;_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x228)]&&_0x33729e[_0x335ff4(0x179)](_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x228)][_0x335ff4(0x1b7)],0x0)&&_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x228)]['forEach'](_0x13d9c4=>{const _0x4ddbcf=_0x335ff4,_0x353dae=_0x13d9c4[_0x4ddbcf(0x211)]?this[_0x4ddbcf(0x1e1)](_0x13d9c4[_0x4ddbcf(0x211)]):null;if(_0x353dae)return _0x353dae;});}return null;}[a4_0x31080c(0x21c)](_0x41d121){const _0x3e503c=a4_0x31080c,_0xcc30d={};_0xcc30d[_0x3e503c(0x1a5)]=function(_0x3934d8,_0x5d0036){return _0x3934d8!==_0x5d0036;};const _0x2f2196=_0xcc30d,_0x5e37d1=[];if(_0x41d121&&_0x41d121[_0x3e503c(0x1b0)]){let _0x229e9c=_0x41d121['parent'];while(_0x229e9c&&_0x2f2196['HfoXZ'](_0x229e9c[_0x3e503c(0x252)],'')){_0x5e37d1[_0x3e503c(0x1dd)](_0x229e9c[_0x3e503c(0x252)]),_0x229e9c=_0x229e9c[_0x3e503c(0x1b0)];}}return _0x5e37d1;}['captureEvent'](_0x3cd8ca,_0x30263a,_0x2a1099=undefined){const _0x3d5200=a4_0x31080c,_0x4559d9={'mMOIv':function(_0x4feb76,_0x379a32){return _0x4feb76(_0x379a32);},'uuaRx':function(_0x79781f){return _0x79781f();},'wDokr':function(_0x481c26,_0x4901f8){return _0x481c26(_0x4901f8);},'NPkxq':_0x3d5200(0x1aa),'vzwtg':'err','jTAAU':function(_0x37fa58,_0x1ef0ab){return _0x37fa58!==_0x1ef0ab;},'ireRK':function(_0x95e79a,_0x3b5631){return _0x95e79a!==_0x3b5631;},'rmiGZ':_0x3d5200(0x1ce),'DmNey':_0x3d5200(0x173),'GrziT':'failed','NORlO':_0x3d5200(0x1f6),'lGKIs':'skipped','UOGfA':_0x3d5200(0x197),'Eyyec':function(_0x22a250,_0x58b1e7){return _0x22a250-_0x58b1e7;},'USdts':function(_0x282f41,_0x4291d5,_0x1d9a1b,_0x14b2b5,_0x3e0134){return _0x282f41(_0x4291d5,_0x1d9a1b,_0x14b2b5,_0x3e0134);},'QrWVk':function(_0xc9b5ff,_0x57c535){return _0xc9b5ff!==_0x57c535;},'pMtOr':_0x3d5200(0x186),'ymhhL':'meta','fyohM':_0x3d5200(0x16c),'gZLJK':_0x3d5200(0x1f2),'eKuYB':'backtrace','aKGFm':'failure_reason_expanded','yhsut':_0x3d5200(0x199),'oqWml':function(_0x18051e,_0x1c5249){return _0x18051e===_0x1c5249;},'SOPqe':_0x3d5200(0x1a1),'leNnK':_0x3d5200(0x1ba)};if(!this[_0x3d5200(0x1ec)])return;try{if(_0x30263a['fn']&&_0x30263a['fn'][_0x3d5200(0x24d)]()[_0x3d5200(0x1da)](/browserstack internal helper hook/))return;const _0x91b622=_0x4559d9['mMOIv'](parseEvent,_0x3cd8ca);if(!_0x91b622)return;if(_0x91b622[_0x3d5200(0x22b)]){this[_0x3d5200(0x1bf)]=_0x30263a,this[_0x3d5200(0x19a)]=null;if(_0x91b622[_0x3d5200(0x201)]||_0x91b622[_0x3d5200(0x232)]){_0x30263a[_0x3d5200(0x164)]=new Date(),_0x30263a[_0x3d5200(0x1d4)]=![];if(!_0x30263a[_0x3d5200(0x1bb)])_0x30263a[_0x3d5200(0x1bb)]=_0x4559d9[_0x3d5200(0x162)](uuidv4);else _0x30263a[_0x3d5200(0x1d4)]&&(!_0x30263a['retryOf']&&(_0x30263a[_0x3d5200(0x1d5)]=_0x30263a[_0x3d5200(0x1bb)]),_0x30263a[_0x3d5200(0x1bb)]=_0x4559d9[_0x3d5200(0x162)](uuidv4));}}else{if(_0x91b622[_0x3d5200(0x17c)]){this[_0x3d5200(0x19a)]=_0x30263a;if(_0x91b622['started']){_0x30263a[_0x3d5200(0x164)]=new Date(),_0x30263a[_0x3d5200(0x1d4)]=![];if(!_0x30263a[_0x3d5200(0x18c)])_0x30263a['hookAnalyticsId']=_0x4559d9['uuaRx'](uuidv4);else _0x30263a[_0x3d5200(0x18c)]&&_0x30263a['markedStatus']&&(_0x30263a[_0x3d5200(0x18c)]=_0x4559d9[_0x3d5200(0x162)](uuidv4));}}}if(_0x91b622[_0x3d5200(0x1cf)]&&_0x30263a[_0x3d5200(0x1d4)])return;let _0xd5f5c5;try{_0xd5f5c5=this[_0x3d5200(0x1e1)](_0x30263a);}catch(_0x19ff67){logger[_0x3d5200(0x243)](_0x3d5200(0x1bd)+_0x19ff67),_0xd5f5c5=null;}const _0x40c223=_0x4559d9[_0x3d5200(0x171)](require,_0x4559d9[_0x3d5200(0x1c7)]);let _0x4c0bc4=[];_0x2a1099&&(_0x4c0bc4=[_0x2a1099,_0x4559d9[_0x3d5200(0x1c8)]]);const _0xaaef65=_0x4559d9['jTAAU'](_0x30263a['errorsDetailed'],undefined)?_0x40c223['inspect'](_0x30263a[_0x3d5200(0x251)][0x0]):_0x4559d9[_0x3d5200(0x19b)](_0x2a1099,undefined)?_0x2a1099[_0x3d5200(0x24d)]():undefined,_0x291385=_0xd5f5c5?this[_0x3d5200(0x215)](_0xd5f5c5):null,_0x3a0286=_0xd5f5c5?this[_0x3d5200(0x23e)][_0x3d5200(0x250)](this[_0x3d5200(0x1e1)](_0x30263a)):_0x4559d9[_0x3d5200(0x1b9)];let _0xc9a1df=_0x4559d9[_0x3d5200(0x1e6)];const _0x18f123=!_0x91b622[_0x3d5200(0x201)]?new Date()[_0x3d5200(0x206)]():null;if(_0x91b622[_0x3d5200(0x1cf)])_0xc9a1df=_0x2a1099?_0x4559d9[_0x3d5200(0x1e2)]:_0x4559d9[_0x3d5200(0x256)],_0x30263a[_0x3d5200(0x1d4)]=!![];else _0x91b622[_0x3d5200(0x232)]&&(_0xc9a1df=_0x4559d9[_0x3d5200(0x217)],_0x30263a[_0x3d5200(0x1d4)]=!![]);const _0x4a342b={'framework':this['frameworkName'],'uuid':_0x30263a['testAnalyticsId']||_0x30263a[_0x3d5200(0x18c)],'name':_0x30263a[_0x3d5200(0x252)],'body':{'lang':_0x4559d9['UOGfA'],'code':_0x30263a['body'][_0x3d5200(0x24d)]()},'type':_0x30263a['type'],'scope':_0x30263a[_0x3d5200(0x1b5)](),'scopes':this[_0x3d5200(0x21c)](_0x30263a),'file_name':_0x3a0286,'vc_filepath':_0x291385?path[_0x3d5200(0x258)](_0x291385,_0xd5f5c5):null,'location':_0x3a0286,'result':_0xc9a1df,'failure_reason':_0xaaef65,'duration_in_ms':_0x30263a[_0x3d5200(0x1fe)]||(_0x91b622['finished']||_0x91b622[_0x3d5200(0x232)])?_0x4559d9[_0x3d5200(0x21e)](Date[_0x3d5200(0x194)](),new Date(_0x30263a[_0x3d5200(0x164)])[_0x3d5200(0x18a)]()):null,'started_at':new Date(_0x30263a[_0x3d5200(0x164)])[_0x3d5200(0x206)](),'finished_at':_0x18f123,'failure':testOpsHelper[_0x3d5200(0x1c1)][_0x3d5200(0x1d0)](null,_0x4c0bc4),'failure_type':!_0xaaef65?null:testOpsHelper[_0x3d5200(0x1e0)](_0xaaef65),'retry_of':_0x30263a[_0x3d5200(0x1d5)]||null,'tags':_0x30263a['tags']||[],'customRerunParam':{'rerun_name':_0x30263a[_0x3d5200(0x1b5)]()}};_0x4559d9[_0x3d5200(0x234)](appendTesthubParams,_0x4a342b,_0x3cd8ca,_0x30263a,FRAMEWORKS[_0x3d5200(0x1a3)]);if(_0x91b622['hook'])[_0x4a342b[_0x3d5200(0x1d3)],_0x4a342b['name']]=[this[_0x3d5200(0x169)](_0x30263a),_0x30263a[_0x3d5200(0x211)][_0x3d5200(0x22b)][_0x3d5200(0x252)]],_0x91b622['finished']?_0x4559d9[_0x3d5200(0x1b8)](_0x4a342b[_0x3d5200(0x17e)],_0x4559d9[_0x3d5200(0x1e2)])&&(_0x4a342b[_0x3d5200(0x17e)]=_0x4559d9[_0x3d5200(0x256)]):_0x4a342b[_0x3d5200(0x24f)]={};else _0x91b622[_0x3d5200(0x22b)]&&(this['mapTestHooks'](_0x30263a),_0x91b622[_0x3d5200(0x232)]&&this[_0x3d5200(0x220)](_0x30263a),(_0x91b622['finished']||_0x91b622[_0x3d5200(0x232)])&&(_0x4a342b[_0x3d5200(0x1f1)]=this[_0x3d5200(0x1dc)](_0x30263a)));this['driver']&&(_0x91b622[_0x3d5200(0x201)]||_0x91b622[_0x3d5200(0x232)])&&(_0x4a342b[_0x4559d9[_0x3d5200(0x1b1)]]=this[_0x3d5200(0x191)](this['driver']));_0x91b622[_0x3d5200(0x22b)]&&_0x91b622[_0x3d5200(0x1cf)]&&_0x30263a[_0x3d5200(0x1f5)]&&(_0x4a342b[_0x4559d9[_0x3d5200(0x17b)]]={'feature':{'name':_0x30263a['parent']['feature'][_0x3d5200(0x166)],'path':_0x4a342b[_0x3d5200(0x224)],'description':_0x30263a[_0x3d5200(0x1b0)][_0x3d5200(0x1c2)]},'scenario':{'name':_0x30263a['title']},'steps':_0x30263a[_0x3d5200(0x1f5)]});const _0x3efc23=_0x4a342b[_0x4559d9[_0x3d5200(0x1a0)]][0x0];_0x3efc23&&(_0x4a342b[_0x4559d9[_0x3d5200(0x176)]]=_0x3efc23[_0x4559d9[_0x3d5200(0x248)]],_0x4a342b[_0x4559d9[_0x3d5200(0x15f)]]=_0x3efc23[_0x4559d9[_0x3d5200(0x1b2)]]);if(_0x30263a['bddSteps'])for(const _0x3fe053 of _0x30263a[_0x3d5200(0x1f5)]){!_0x3fe053[_0x3d5200(0x24b)]&&(_0x3fe053[_0x3d5200(0x24b)]=new Date()[_0x3d5200(0x206)](),_0x4559d9[_0x3d5200(0x214)](_0x3fe053[_0x3d5200(0x17e)],_0x4559d9['DmNey'])&&(_0x3efc23?(_0x3fe053[_0x3d5200(0x17e)]=_0x4559d9[_0x3d5200(0x1e2)],_0x3fe053[_0x3d5200(0x16c)]=_0x3efc23[_0x4559d9['eKuYB']][0x0]):_0x3fe053['result']=_0x4559d9[_0x3d5200(0x256)]));}const _0xaac378={};_0xaac378['event_type']=_0x91b622[_0x3d5200(0x232)]?TEST_EVENTS[_0x3d5200(0x253)]:_0x3cd8ca;const _0x209c3c=_0xaac378;return _0x91b622['hook']?_0x209c3c[_0x4559d9[_0x3d5200(0x1a9)]]=_0x4a342b:_0x209c3c[_0x4559d9[_0x3d5200(0x18e)]]=_0x4a342b,_0x209c3c;}catch(_0xaab052){logger[_0x3d5200(0x243)](_0x3d5200(0x1eb)+_0x3cd8ca+_0x3d5200(0x18d)+_0xaab052);}}async['fireEvent'](_0x33c45f,_0xb8708d){const _0x14d3e3=a4_0x31080c;if(!this[_0x14d3e3(0x1ec)]||!_0xb8708d||!_0x33c45f)return![];try{return await SessionHandler[_0x14d3e3(0x207)](_0xb8708d);}catch(_0x5d294d){logger[_0x14d3e3(0x243)](_0x14d3e3(0x196)+_0x33c45f+_0x14d3e3(0x18d)+_0x5d294d);}}['initializeBddStep'](_0x42ee45){const _0x2defe0=a4_0x31080c,_0x4d3564={};_0x4d3564[_0x2defe0(0x1f9)]=_0x2defe0(0x173);const _0x460593=_0x4d3564;return{'id':_0x42ee45[_0x2defe0(0x1fb)],'text':_0x42ee45['text'],'keyword':_0x42ee45[_0x2defe0(0x198)],'started_at':_0x42ee45[_0x2defe0(0x164)][_0x2defe0(0x206)](),'result':_0x460593[_0x2defe0(0x1f9)]};}[a4_0x31080c(0x170)](_0x1bfed0){const _0xf1c9af=a4_0x31080c,_0x4c6e0a={'faHcy':function(_0xcace5c){return _0xcace5c();}};!this[_0xf1c9af(0x1bf)]['bddSteps']&&(this[_0xf1c9af(0x1bf)][_0xf1c9af(0x1f5)]=[]),!_0x1bfed0[_0xf1c9af(0x1fb)]&&(_0x1bfed0[_0xf1c9af(0x1fb)]=_0x4c6e0a[_0xf1c9af(0x219)](uuidv4),_0x1bfed0[_0xf1c9af(0x164)]=new Date(),this[_0xf1c9af(0x1bf)]['bddSteps']['push'](this[_0xf1c9af(0x24e)](_0x1bfed0)));}[a4_0x31080c(0x237)](_0x488812){const _0x115748=a4_0x31080c,_0x77beb={'yliFF':function(_0x19c900,_0x24f9dd){return _0x19c900(_0x24f9dd);},'QRWxb':'success','HowhA':'pending','OdYIn':_0x115748(0x1f6),'dKuQn':function(_0x2ccda8,_0x2b58a1){return _0x2ccda8-_0x2b58a1;}};let _0x1ae201=this[_0x115748(0x1bf)]['bddSteps'][_0x115748(0x1d8)](_0x29f549=>_0x29f549['id']===_0x488812[_0x115748(0x1fb)]);_0x77beb['yliFF'](isUndefined,_0x1ae201)&&(_0x1ae201=this[_0x115748(0x24e)](_0x488812)),_0x1ae201[_0x115748(0x17e)]=[_0x77beb[_0x115748(0x16d)],_0x77beb[_0x115748(0x231)]][_0x115748(0x172)](_0x488812['status'])?_0x77beb['OdYIn']:_0x488812[_0x115748(0x184)],_0x1ae201[_0x115748(0x24b)]=new Date()[_0x115748(0x206)](),_0x1ae201[_0x115748(0x1fe)]=_0x77beb['dKuQn'](Date['now'](),_0x488812['startedAt']['getTime']()),_0x1ae201[_0x115748(0x16c)]=_0x488812[_0x115748(0x182)]?_0x488812['err'][_0x115748(0x18b)]:null;}}const a4_0x4ef5ad={};function a4_0x5aff(_0x1189b7,_0x101250){const _0x368998=a4_0x3689();return a4_0x5aff=function(_0x5aff44,_0x42269e){_0x5aff44=_0x5aff44-0x15d;let _0x3beff0=_0x368998[_0x5aff44];return _0x3beff0;},a4_0x5aff(_0x1189b7,_0x101250);}a4_0x4ef5ad[a4_0x31080c(0x204)]=O11yHelper,a4_0x4ef5ad['STATE_PASSED']=STATE_PASSED,a4_0x4ef5ad[a4_0x31080c(0x175)]=STATE_FAILED,a4_0x4ef5ad[a4_0x31080c(0x221)]=TEST_EVENTS,module['exports']=a4_0x4ef5ad;
1
+ function a4_0x1af5(){const _0x52fa66=['../../helpers/test-observability/utils','KxbPM','tags','QowbF','HOOK_RUN_FINISHED','captureEvent','getCBTInfo','CBTSessionCreated','xGZfT','RLMWY','fVSJP','Espxn','waVMM','InFtQ','File\x20path\x20could\x20not\x20be\x20found','forEach','PLAYWRIGHT_HUB_URL','failed','shutdown','ctx','saUSJ','driver','hook','appendTestItemLog','MSqhA','expanded','HOOK_RUN_STARTED','enabled','name','uuid','hook_run','6481740TSvFxz','_afterAll','logs','debug','LBlEO','bUtAX','_afterEach','failure','TestRunSkipped','OmrYI','path','WEbgs','prototype','javascript','pfbMO','wsEndpoint','status','WwjAX','success','failure_backtrace','oFuDc','NmCoM','errorsDetailed','_paths','../../helpers/test-observability/constants','deNIE','finished','CPlay','finished_at','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','4057164YtxoIM','mHEpU','bddStepFinish','toString','skipped','client','hooks','result','TEST_RUN_STARTED','launch','hgMLN','getHookType','connect','start','testAnalyticsId','Playwright','body','defineProperty','NfkOW','relative','constructor','TEST_REPORTING_ANALYTICS','O11yHelper','lvyTq','getTime','title','mHDSG','config','location_prefix','HookRunStarted','apply','byyYX','iMLoy','sBhzT','ZRyCr','join','bs:addLog:','initializeBddStep','dirname','DEgbM','OpavV','dUHoC','keyword','sSZrc','startedAt','__cloud_provider___','TestRunStarted','duration','../../helpers/helper','inspect','xPUhM','../../helpers/logger','suites','bddSteps','backtrace','uXTSS','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','match','setupBrowserDetails','hook_type','HookRunFinished','kzLHL','qQinJ','VfSfb','QEpKI','YAMUQ','mapTestHooks','accessibilityPlatform','156528QkRBcQ','toISOString','yFrcQ','6AllaHG','hnnfh','POfBK','Fwoty','pid','stepAnalyticsId','file','8358903iFzQAO','10cvCFHJ','_testEnv','browserstack','started','vYIDL','BROWSERSTACK','518DnxaPw','iHlMY','resetSkipTestHooks','includes','event_type','patchConsoleLogger','hook_run_uuid','LenrZ','../utils/constants','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','test_run_uuid','replace','getHooksForTest','uploadEventData','stringify','stop','comment','QoqaA','markedStatus','UAWmC','CsRGK','../../helpers/testhub/utils.js','fullTitle','find','currentTest','nMCUO','BpVqe','push','DVVQS','yVBMc','util','JfZwe','passed','dmWJr','test','553816XzoQrC','currentHook','bVGpC','ukRMI','\x20with\x20error\x20:\x20','sep','lib','length','feature','ErIDf','tIMpj','then','kBKSX','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','groups','EnNcf','scNrG','__platformCaps','TEST_RUN_FINISHED','pending','bddStepStart','frameworkName','147NGmsBQ','cddlz','getHierarchy','sendCBTInfo','_beforeEach','../../helpers/test-observability/sessionHandler','findGitConfig','getRootParentFile','fDkBT','test_run','WGsXD','retryOf','BrowserType','STATE_FAILED','21078068SxFGPe','parent','message','pNlUQ','err','OSlcz','UPCPL','getInstance','BSThB','integrations','failureData','XJpqv','xDKtx','252inmDca','meta','wAcsh','mYwFV','DSxAs','hookAnalyticsId','text','sjfKY'];a4_0x1af5=function(){return _0x52fa66;};return a4_0x1af5();}function a4_0x2760(_0x32a4f1,_0x9a891d){const _0x1af545=a4_0x1af5();return a4_0x2760=function(_0x276075,_0x37485c){_0x276075=_0x276075-0xf7;let _0x5a8d56=_0x1af545[_0x276075];return _0x5a8d56;},a4_0x2760(_0x32a4f1,_0x9a891d);}const a4_0xf785a=a4_0x2760;(function(_0x187ada,_0xa241b5){const _0x210263=a4_0x2760,_0x26c125=_0x187ada();while(!![]){try{const _0x486532=parseInt(_0x210263(0x168))/0x1*(-parseInt(_0x210263(0x1bc))/0x2)+-parseInt(_0x210263(0x157))/0x3+parseInt(_0x210263(0x113))/0x4+parseInt(_0x210263(0x1e3))/0x5*(-parseInt(_0x210263(0x15a))/0x6)+-parseInt(_0x210263(0x1a1))/0x7*(parseInt(_0x210263(0x18b))/0x8)+parseInt(_0x210263(0x161))/0x9+parseInt(_0x210263(0x162))/0xa*(parseInt(_0x210263(0x1af))/0xb);if(_0x486532===_0xa241b5)break;else _0x26c125['push'](_0x26c125['shift']());}catch(_0x9fc5d2){_0x26c125['push'](_0x26c125['shift']());}}}(a4_0x1af5,0xf21c7));const path=require(a4_0xf785a(0xff)),fs=require('fs'),{v4:uuidv4}=require(a4_0xf785a(0x1e1)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xf785a(0x143)),testOpsHelper=require(a4_0xf785a(0x1c4)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0xf785a(0x10d)),logger=require(a4_0xf785a(0x146))['winstonLogger'],SessionHandler=require(a4_0xf785a(0x1a6)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0xf785a(0xf8)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xf785a(0x17d)),constants=require(a4_0xf785a(0x170)),STATE_PASSED='passed',STATE_FAILED=a4_0xf785a(0x1d5),a4_0x1eb34b={};a4_0x1eb34b[a4_0xf785a(0x11b)]=a4_0xf785a(0x141),a4_0x1eb34b[a4_0xf785a(0x19d)]='TestRunFinished',a4_0x1eb34b['TEST_RUN_SKIPPED']=a4_0xf785a(0xfd),a4_0x1eb34b[a4_0xf785a(0x1de)]=a4_0xf785a(0x130),a4_0x1eb34b[a4_0xf785a(0x1c8)]=a4_0xf785a(0x14f);const TEST_EVENTS=a4_0x1eb34b,parseEvent=_0x1f5460=>{const _0x1e74d3=a4_0xf785a,_0x2beccc={};_0x2beccc[_0x1e74d3(0xfa)]=function(_0x7d4777,_0x2d0171){return _0x7d4777<_0x2d0171;},_0x2beccc[_0x1e74d3(0x184)]=function(_0x16aacd,_0x15d6bd){return _0x16aacd===_0x15d6bd;},_0x2beccc[_0x1e74d3(0x16f)]=_0x1e74d3(0x18a),_0x2beccc[_0x1e74d3(0x182)]=_0x1e74d3(0x1da),_0x2beccc[_0x1e74d3(0x1d8)]=function(_0x1e60aa,_0x42917e){return _0x1e60aa===_0x42917e;},_0x2beccc[_0x1e74d3(0x12d)]=_0x1e74d3(0x117),_0x2beccc['qQinJ']=function(_0x3f07a4,_0x2b124a){return _0x3f07a4===_0x2b124a;},_0x2beccc[_0x1e74d3(0x109)]=_0x1e74d3(0x165),_0x2beccc[_0x1e74d3(0x10a)]=function(_0x912d6d,_0x9c3d6a){return _0x912d6d===_0x9c3d6a;},_0x2beccc[_0x1e74d3(0x1ab)]=_0x1e74d3(0x10f);const _0x4878fc=_0x2beccc,_0x36d059=_0x1f5460[_0x1e74d3(0x14c)](/^(.*)Run(.*)$/);if(!_0x36d059)return null;if(_0x4878fc['bUtAX'](_0x36d059['length'],0x3))return null;const _0x4a63e5=_0x36d059[0x1]['toLowerCase'](),_0x532e49=_0x36d059[0x2]['toLowerCase']();return{'test':_0x4878fc[_0x1e74d3(0x184)](_0x4a63e5,_0x4878fc[_0x1e74d3(0x16f)]),'hook':_0x4878fc[_0x1e74d3(0x184)](_0x4a63e5,_0x4878fc[_0x1e74d3(0x182)]),'skipped':_0x4878fc[_0x1e74d3(0x1d8)](_0x532e49,_0x4878fc[_0x1e74d3(0x12d)]),'started':_0x4878fc[_0x1e74d3(0x151)](_0x532e49,_0x4878fc[_0x1e74d3(0x109)]),'finished':_0x4878fc[_0x1e74d3(0x10a)](_0x532e49,_0x4878fc[_0x1e74d3(0x1ab)])};},mockPWBrowserType=_0x3052b9=>{const _0x228f95=a4_0xf785a,_0xaf03c6={'InFtQ':function(_0x4e0aa6,_0x355b71){return _0x4e0aa6===_0x355b71;},'LBlEO':'string','xPUhM':function(_0x38c4a6,_0xefa33f,_0x128819){return _0x38c4a6(_0xefa33f,_0x128819);},'yFrcQ':_0x228f95(0x104),'QEpKI':function(_0x44a87d,_0x29f13d){return _0x44a87d(_0x29f13d);},'BFGEz':_0x228f95(0x164),'xDKtx':_0x228f95(0x191),'ZniPU':_0x228f95(0x118),'uOQHL':'browserType.js','sBhzT':'Not\x20able\x20to\x20import\x20Browser','tjjFt':_0x228f95(0x11f),'deNIE':_0x228f95(0x11c)},_0x40512e=path[_0x228f95(0x136)](_0xaf03c6[_0x228f95(0x1bb)],_0xaf03c6['ZniPU'],_0xaf03c6['uOQHL']),_0x42445a=_0xaf03c6['QEpKI'](importFileFromPWCore,_0x40512e);if(!_0x42445a){_0xaf03c6['QEpKI'](debug,_0xaf03c6[_0x228f95(0x134)]);return;}const _0x307ea7=_0x42445a[_0x228f95(0x1ad)],_0x41b062=_0x307ea7[_0x228f95(0x101)];if(_0x41b062['obsBrowserTypeMockApplied'])return;const _0x48e387=_0x41b062[_0x228f95(0x11f)];Object['defineProperty'](_0x41b062,_0xaf03c6['tjjFt'],{'get':function(){const _0x38d998=_0x228f95,_0x56d4dc={'btHUN':function(_0x13b520,_0x5d221e){const _0x431441=a4_0x2760;return _0xaf03c6[_0x431441(0x1d1)](_0x13b520,_0x5d221e);},'RXBIP':_0xaf03c6[_0x38d998(0xf9)],'mHEpU':function(_0x1337a5,_0x486e83,_0x64ae66){const _0xa1eb9b=_0x38d998;return _0xaf03c6[_0xa1eb9b(0x145)](_0x1337a5,_0x486e83,_0x64ae66);},'MSqhA':_0xaf03c6[_0x38d998(0x159)],'JfZwe':function(_0x19df04,_0x3194b4){return _0xaf03c6['QEpKI'](_0x19df04,_0x3194b4);},'ymEUp':_0xaf03c6['BFGEz'],'bVGpC':function(_0x987163,_0x30f372){const _0x4cd422=_0x38d998;return _0xaf03c6[_0x4cd422(0x153)](_0x987163,_0x30f372);}};return async function _0x59a4ff(_0x5d379d,_0x26e237){const _0x5a2d6b=_0x38d998,_0x33199a={'jArgd':function(_0x1bb588,_0x4630a7){return _0x56d4dc['btHUN'](_0x1bb588,_0x4630a7);},'YAMUQ':_0x56d4dc['RXBIP']},_0x229744=_0x56d4dc[_0x5a2d6b(0x114)](nestedKeyValue,_0x5d379d,[_0x56d4dc[_0x5a2d6b(0x1dc)]])||_0x5d379d;let _0x31afaf=null,_0x20a4bc=null;try{[_0x20a4bc,_0x31afaf]=_0x229744?_0x56d4dc[_0x5a2d6b(0x187)](parseWSEndpoint,_0x229744):[null,null],global[_0x5a2d6b(0x19c)]=_0x31afaf,logger[_0x5a2d6b(0xf8)](_0x5a2d6b(0x171)+_0x20a4bc),_0x20a4bc['includes'](Constants[_0x5a2d6b(0x167)])&&(global[_0x5a2d6b(0x140)]=_0x56d4dc['ymEUp']);}catch(_0x39537d){logger[_0x5a2d6b(0xf8)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x229744+'\x20'+_0x39537d);}_0x56d4dc['mHEpU'](processAccessibilityCaps,_0x31afaf,_0x20a4bc);if(global[_0x5a2d6b(0x156)]){const _0x1bcc7a=await _0x41b062['connectOverCDP'][_0x5a2d6b(0x131)](this,[''+Constants[_0x5a2d6b(0x1d4)]+_0x56d4dc[_0x5a2d6b(0x18d)](encodeURIComponent,JSON[_0x5a2d6b(0x176)](_0x31afaf))]);return PlaywrightSessionDetails[_0x5a2d6b(0x14d)](_0x1bcc7a,_0x3052b9,_0x229744),_0x1bcc7a;}return _0x48e387['apply'](this,arguments)[_0x5a2d6b(0x196)](_0x159ee1=>{const _0x57d499=_0x5a2d6b;let _0x222872=_0x5d379d['wsEndpoint'];return _0x33199a['jArgd'](typeof _0x5d379d,_0x33199a[_0x57d499(0x154)])&&(_0x222872=_0x5d379d),PlaywrightSessionDetails[_0x57d499(0x14d)](_0x159ee1,_0x3052b9,_0x222872),_0x159ee1;});};}});const _0x28a2e3=_0x41b062[_0x228f95(0x11c)];Object[_0x228f95(0x124)](_0x41b062,_0xaf03c6[_0x228f95(0x10e)],{'get':function(){return async function _0x342b07(){return _0x28a2e3['apply'](this,arguments)['then'](_0x2f6b29=>{const _0xf7e869=a4_0x2760;return PlaywrightSessionDetails[_0xf7e869(0x14d)](_0x2f6b29,null),_0x2f6b29;});};}});};class O11yHelper{[a4_0xf785a(0x180)]=null;[a4_0xf785a(0x18c)]=null;[a4_0xf785a(0x1df)]=![];[a4_0xf785a(0x1a0)]=![];constructor(_0x7cd56,_0x1f35ba){const _0x4755c7=a4_0xf785a,_0x367aa5={'scNrG':'5|3|4|2|1|0','MwlFf':function(_0x5037b2,_0x165977){return _0x5037b2===_0x165977;},'ErIDf':_0x4755c7(0x122),'tIMpj':function(_0x5e3b7b,_0x58af5d){return _0x5e3b7b(_0x58af5d);},'WwjAX':function(_0x1df26d){return _0x1df26d();}},_0x35dc74=_0x367aa5[_0x4755c7(0x19b)]['split']('|');let _0x320f39=0x0;while(!![]){switch(_0x35dc74[_0x320f39++]){case'0':this[_0x4755c7(0x1d9)]&&_0x367aa5['MwlFf'](this[_0x4755c7(0x1d9)][_0x4755c7(0x127)][_0x4755c7(0x1e0)],_0x367aa5[_0x4755c7(0x194)])&&_0x367aa5[_0x4755c7(0x195)](mockPWBrowserType,null);continue;case'1':this[_0x4755c7(0x10c)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x4755c7(0x163)][_0x4755c7(0x12f)]);continue;case'2':this[_0x4755c7(0x163)]=_0x367aa5[_0x4755c7(0x106)](getTestEnv);continue;case'3':this[_0x4755c7(0x1a0)]=_0x1f35ba['frameworkName'];continue;case'4':this[_0x4755c7(0x1d9)]=_0x7cd56;continue;case'5':this[_0x4755c7(0x1df)]=_0x367aa5['WwjAX'](shouldProcessEventForTesthub);continue;}break;}}[a4_0xf785a(0x120)](){const _0x11327d=a4_0xf785a;if(!this['enabled'])return;testOpsHelper[_0x11327d(0x16d)](),process['removeAllListeners'](_0x11327d(0x137)+process[_0x11327d(0x15e)]),process['on'](_0x11327d(0x137)+process[_0x11327d(0x15e)],this['appendTestItemLog']['bind'](this));}async[a4_0xf785a(0x177)](){const _0x34803c=a4_0xf785a;await RequestQueueHandler[_0x34803c(0x1b6)]()[_0x34803c(0x1d6)]();}async[a4_0xf785a(0x1db)](_0x4f1999){const _0x157559=a4_0xf785a,_0x337b44={'sSZrc':'LogCreated','fDkBT':function(_0xcb640b,_0x5ea09c){return _0xcb640b(_0x5ea09c);}};try{this[_0x157559(0x18c)]&&!this[_0x157559(0x18c)][_0x157559(0x17a)]&&(_0x4f1999['hook_run_uuid']=this[_0x157559(0x18c)][_0x157559(0x1c1)]);!_0x4f1999[_0x157559(0x16e)]&&this[_0x157559(0x180)]&&!this['currentTest']['markedStatus']&&(_0x4f1999[_0x157559(0x172)]=this[_0x157559(0x180)][_0x157559(0x121)]);if(_0x4f1999[_0x157559(0x16e)]||_0x4f1999[_0x157559(0x172)]){const _0x30870f={};_0x30870f[_0x157559(0x16c)]=_0x337b44[_0x157559(0x13e)],_0x30870f[_0x157559(0xf7)]=[_0x4f1999],await SessionHandler[_0x157559(0x175)](_0x30870f);}}catch(_0x3de099){_0x337b44[_0x157559(0x1a9)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x157559(0x128)]+_0x157559(0x18f)+_0x3de099);}}async[a4_0xf785a(0x1a4)](_0x2d2747){const _0x5262c1=a4_0xf785a,_0x28728f={'RLMWY':_0x5262c1(0x1cb),'xGZfT':function(_0x3498a3,_0x44d965){return _0x3498a3(_0x44d965);}};if(!this[_0x5262c1(0x1df)])return;const _0x4366bc=this['getCBTInfo'](this[_0x5262c1(0x1d9)]);try{const _0x20478a={};_0x20478a['uuid']=_0x2d2747,_0x20478a[_0x5262c1(0x1b8)]=_0x4366bc;const _0x17b911=_0x20478a,_0x3aa26d={};_0x3aa26d[_0x5262c1(0x16c)]=_0x28728f[_0x5262c1(0x1cd)],_0x3aa26d[_0x5262c1(0x1aa)]=_0x17b911,await SessionHandler[_0x5262c1(0x175)](_0x3aa26d);}catch(_0x350e49){_0x28728f[_0x5262c1(0x1cc)](debug,_0x5262c1(0x112)+constants[_0x5262c1(0x128)]+_0x5262c1(0x18f)+_0x350e49);}}[a4_0xf785a(0x1ca)](_0x17cc7d){const _0x4627e9=a4_0xf785a,_0x3894f8={'VfSfb':function(_0x437b95,_0x307552){return _0x437b95(_0x307552);}};return _0x3894f8[_0x4627e9(0x152)](fetchPlatformDetails,_0x17cc7d);}[a4_0xf785a(0x16a)]=_0x47749c=>{const _0x493183=a4_0xf785a,_0xf3472c={};_0xf3472c[_0x493183(0x133)]=_0x493183(0x1a5),_0xf3472c[_0x493183(0x100)]=_0x493183(0xfb);const _0x305a9d=_0xf3472c;if(!_0x47749c||!_0x47749c[_0x493183(0x1b0)])return;[_0x305a9d[_0x493183(0x133)],_0x305a9d['WEbgs']]['forEach'](_0x16b14=>{const _0x466a00=_0x493183,_0x290805=_0x47749c[_0x466a00(0x1b0)][_0x16b14];_0x290805['forEach'](_0xd2fe6c=>{const _0x335832=_0x466a00;_0xd2fe6c['hookAnalyticsId']&&(_0xd2fe6c[_0x335832(0x1c1)]=null);});});};[a4_0xf785a(0x155)](_0x59e8f6){const _0x48d981=a4_0xf785a,_0x310c93={'FXUQM':'codeceptjs','OpavV':function(_0x2d2508){return _0x2d2508();},'hgMLN':function(_0x4980d1,_0x576ff2){return _0x4980d1===_0x576ff2;},'mYwFV':_0x48d981(0xfb),'lvyTq':'_beforeAll','hnnfh':_0x48d981(0x1e4),'KxbPM':_0x48d981(0x1a5)};if(!_0x59e8f6||!_0x59e8f6[_0x48d981(0x1b0)])return;[_0x310c93[_0x48d981(0x12a)],_0x310c93[_0x48d981(0x15b)],_0x310c93[_0x48d981(0x1c5)],_0x310c93[_0x48d981(0x1bf)]]['forEach'](_0x4931fc=>{const _0x17374d=_0x48d981,_0x43afcc={'dmWJr':_0x310c93['FXUQM'],'sjfKY':function(_0x3906fe){const _0x2b063a=a4_0x2760;return _0x310c93[_0x2b063a(0x13b)](_0x3906fe);},'bwmGo':function(_0x5f2741,_0x2b6877){const _0x5ca89a=a4_0x2760;return _0x310c93[_0x5ca89a(0x11d)](_0x5f2741,_0x2b6877);},'NfkOW':_0x310c93[_0x17374d(0x1bf)]},_0x237b1d=_0x59e8f6[_0x17374d(0x1b0)][_0x4931fc]||[];_0x237b1d['forEach'](_0x3a97e7=>{const _0x58dc99=_0x17374d;if(_0x3a97e7[_0x58dc99(0x12c)][_0x58dc99(0x16b)](_0x43afcc[_0x58dc99(0x189)]))return;if(!_0x3a97e7[_0x58dc99(0x1c1)])_0x3a97e7[_0x58dc99(0x1c1)]=_0x43afcc['sjfKY'](uuidv4);else _0x3a97e7[_0x58dc99(0x17a)]&&_0x43afcc['bwmGo'](_0x4931fc,_0x43afcc[_0x58dc99(0x125)])&&(_0x3a97e7[_0x58dc99(0x1c1)]=_0x43afcc[_0x58dc99(0x1c3)](uuidv4),delete _0x3a97e7[_0x58dc99(0x17a)]);});}),this['mapTestHooks'](_0x59e8f6[_0x48d981(0x1b0)]);}[a4_0xf785a(0x174)](_0x5201dc){const _0x1cd4a7=a4_0xf785a,_0x22d5e6={};_0x22d5e6[_0x1cd4a7(0x1b4)]='_beforeAll',_0x22d5e6['QowbF']=_0x1cd4a7(0x1e4),_0x22d5e6[_0x1cd4a7(0x1c0)]=_0x1cd4a7(0x1a5),_0x22d5e6['xtxQo']=_0x1cd4a7(0xfb);const _0x41fbab=_0x22d5e6;if(!_0x5201dc||!_0x5201dc['parent'])return[];const _0x33026e=[];return[_0x41fbab[_0x1cd4a7(0x1b4)],_0x41fbab[_0x1cd4a7(0x1c7)],_0x41fbab[_0x1cd4a7(0x1c0)],_0x41fbab['xtxQo']][_0x1cd4a7(0x1d3)](_0x424197=>{const _0x31e266=_0x1cd4a7,_0x10619a=_0x5201dc[_0x31e266(0x1b0)][_0x424197]||[];_0x10619a[_0x31e266(0x1d3)](_0x44ccaf=>{const _0x2587f6=_0x31e266;_0x44ccaf['hookAnalyticsId']&&_0x33026e[_0x2587f6(0x183)](_0x44ccaf[_0x2587f6(0x1c1)]);});}),[]['concat'](_0x33026e,this[_0x1cd4a7(0x174)](_0x5201dc[_0x1cd4a7(0x1b0)]));}[a4_0xf785a(0x11e)](_0x1380c2){const _0x22daeb=a4_0xf785a,_0x2c2994=/^"(?<hook>.*)" hook:.*$/,_0x4bd075=_0x1380c2['title'],_0x59e08b=_0x4bd075['match'](_0x2c2994);if(_0x59e08b&&_0x59e08b['groups'])return _0x59e08b[_0x22daeb(0x199)][_0x22daeb(0x1da)]['toUpperCase']()[_0x22daeb(0x173)]('\x20','_');return null;}['findGitConfig'](_0x2c9a86){const _0x479406=a4_0xf785a,_0x2938a1={};_0x2938a1['DEgbM']=function(_0x1533ed,_0x5a1ee3){return _0x1533ed===_0x5a1ee3;},_0x2938a1[_0x479406(0x14a)]=function(_0x30089d,_0x313707){return _0x30089d===_0x313707;},_0x2938a1[_0x479406(0x17b)]=function(_0x9a78d7,_0x595452){return _0x9a78d7===_0x595452;},_0x2938a1[_0x479406(0x150)]='.git',_0x2938a1['CsRGK']=_0x479406(0x12e);const _0x200d0f=_0x2938a1,_0x3429d1=path[_0x479406(0x190)];if(_0x200d0f[_0x479406(0x13a)](_0x2c9a86,null)||_0x200d0f['uXTSS'](_0x2c9a86,'')||_0x200d0f['DEgbM'](_0x2c9a86,_0x3429d1)||_0x200d0f[_0x479406(0x17b)](_0x2c9a86,path[_0x479406(0x139)](_0x2c9a86)))return null;try{return fs['statSync'](path[_0x479406(0x136)](_0x2c9a86,_0x200d0f[_0x479406(0x150)],_0x200d0f[_0x479406(0x17c)])),_0x2c9a86;}catch(_0x232633){const _0x10d0aa=path[_0x479406(0x139)](_0x2c9a86);return this[_0x479406(0x1a7)](_0x10d0aa);}}[a4_0xf785a(0x1a8)](_0x3cf93d){const _0x2094ef=a4_0xf785a,_0x430398={};_0x430398[_0x2094ef(0x169)]=function(_0x543baf,_0xef602){return _0x543baf>_0xef602;};const _0x26a4c3=_0x430398;if(_0x3cf93d[_0x2094ef(0x160)])return _0x3cf93d[_0x2094ef(0x160)];if(_0x3cf93d[_0x2094ef(0x1d7)]){const _0x13cfd8=_0x3cf93d[_0x2094ef(0x1d7)]['currentTest']?this['getRootParentFile'](_0x3cf93d[_0x2094ef(0x1d7)]['currentTest']):null;if(_0x13cfd8)return _0x13cfd8;}if(_0x3cf93d[_0x2094ef(0x1b0)]){const _0x2bee80=this[_0x2094ef(0x1a8)](_0x3cf93d[_0x2094ef(0x1b0)])||(_0x3cf93d[_0x2094ef(0x1b0)][_0x2094ef(0x1d7)]&&_0x3cf93d[_0x2094ef(0x1b0)][_0x2094ef(0x1d7)]['currentTest']?this[_0x2094ef(0x1a8)](_0x3cf93d[_0x2094ef(0x1b0)][_0x2094ef(0x1d7)]['currentTest']):null);if(_0x2bee80)return _0x2bee80;_0x3cf93d['parent'][_0x2094ef(0x147)]&&_0x26a4c3[_0x2094ef(0x169)](_0x3cf93d[_0x2094ef(0x1b0)][_0x2094ef(0x147)][_0x2094ef(0x192)],0x0)&&_0x3cf93d[_0x2094ef(0x1b0)][_0x2094ef(0x147)][_0x2094ef(0x1d3)](_0x1dd05e=>{const _0x59200a=_0x2094ef,_0x28127c=_0x1dd05e['ctx']?this[_0x59200a(0x1a8)](_0x1dd05e[_0x59200a(0x1d7)]):null;if(_0x28127c)return _0x28127c;});}return null;}['getHierarchy'](_0x19770e){const _0x233ca4=a4_0xf785a,_0x6d900={};_0x6d900[_0x233ca4(0x1cf)]=function(_0x3f4b11,_0x3d4ece){return _0x3f4b11!==_0x3d4ece;};const _0x311272=_0x6d900,_0x371e1a=[];if(_0x19770e&&_0x19770e['parent']){let _0x55b8ce=_0x19770e[_0x233ca4(0x1b0)];while(_0x55b8ce&&_0x311272[_0x233ca4(0x1cf)](_0x55b8ce[_0x233ca4(0x12c)],'')){_0x371e1a[_0x233ca4(0x183)](_0x55b8ce[_0x233ca4(0x12c)]),_0x55b8ce=_0x55b8ce[_0x233ca4(0x1b0)];}}return _0x371e1a;}[a4_0xf785a(0x1c9)](_0x3c05b8,_0x743d81,_0x255a18=undefined){const _0x58a6e6=a4_0xf785a,_0x31f6d4={'QoqaA':function(_0x162fef,_0x32c874){return _0x162fef(_0x32c874);},'BSThB':function(_0x249dd5){return _0x249dd5();},'QMdud':function(_0x1fe080,_0x55cc7d){return _0x1fe080(_0x55cc7d);},'vYIDL':_0x58a6e6(0x186),'imphT':_0x58a6e6(0x1b3),'XJpqv':function(_0x425416,_0x212d3e){return _0x425416!==_0x212d3e;},'yVBMc':_0x58a6e6(0x1d2),'kBKSX':'pending','wAcsh':_0x58a6e6(0x1d5),'ukRMI':'passed','Fwoty':_0x58a6e6(0x117),'UPCPL':_0x58a6e6(0x102),'POfBK':function(_0x43cdba,_0xc1e17b){return _0x43cdba-_0xc1e17b;},'dauHb':function(_0x193bb3,_0x2b31bb,_0x5ca08c,_0x43d019,_0xb0c8d4){return _0x193bb3(_0x2b31bb,_0x5ca08c,_0x43d019,_0xb0c8d4);},'OmrYI':_0x58a6e6(0x1b8),'pfbMO':_0x58a6e6(0x1bd),'fVSJP':_0x58a6e6(0xfc),'byyYX':_0x58a6e6(0x108),'CPlay':_0x58a6e6(0x149),'cAZxj':'failure_reason_expanded','EqfmP':_0x58a6e6(0x1dd),'pNlUQ':function(_0x206e37,_0x59e1cf){return _0x206e37===_0x59e1cf;},'aajRs':_0x58a6e6(0x1e2),'ZRyCr':_0x58a6e6(0x1aa)};if(!this['enabled'])return;try{if(_0x743d81['fn']&&_0x743d81['fn'][_0x58a6e6(0x116)]()['match'](/browserstack internal helper hook/))return;const _0x3360d6=_0x31f6d4[_0x58a6e6(0x179)](parseEvent,_0x3c05b8);if(!_0x3360d6)return;if(_0x3360d6[_0x58a6e6(0x18a)]){this['currentTest']=_0x743d81,this['currentHook']=null;if(_0x3360d6[_0x58a6e6(0x165)]||_0x3360d6[_0x58a6e6(0x117)]){_0x743d81[_0x58a6e6(0x13f)]=new Date(),_0x743d81[_0x58a6e6(0x17a)]=![];if(!_0x743d81[_0x58a6e6(0x121)])_0x743d81[_0x58a6e6(0x121)]=_0x31f6d4[_0x58a6e6(0x1b7)](uuidv4);else _0x743d81['markedStatus']&&(!_0x743d81[_0x58a6e6(0x1ac)]&&(_0x743d81[_0x58a6e6(0x1ac)]=_0x743d81['testAnalyticsId']),_0x743d81['testAnalyticsId']=_0x31f6d4[_0x58a6e6(0x1b7)](uuidv4));}}else{if(_0x3360d6[_0x58a6e6(0x1da)]){this[_0x58a6e6(0x18c)]=_0x743d81;if(_0x3360d6['started']){_0x743d81[_0x58a6e6(0x13f)]=new Date(),_0x743d81[_0x58a6e6(0x17a)]=![];if(!_0x743d81[_0x58a6e6(0x1c1)])_0x743d81[_0x58a6e6(0x1c1)]=_0x31f6d4[_0x58a6e6(0x1b7)](uuidv4);else _0x743d81[_0x58a6e6(0x1c1)]&&_0x743d81[_0x58a6e6(0x17a)]&&(_0x743d81[_0x58a6e6(0x1c1)]=_0x31f6d4[_0x58a6e6(0x1b7)](uuidv4));}}}if(_0x3360d6['finished']&&_0x743d81['markedStatus'])return;let _0x48c66f;try{_0x48c66f=this['getRootParentFile'](_0x743d81);}catch(_0x14430d){logger[_0x58a6e6(0xf8)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x14430d),_0x48c66f=null;}const _0x9a1aa=_0x31f6d4['QMdud'](require,_0x31f6d4[_0x58a6e6(0x166)]);let _0x5a9323=[];_0x255a18&&(_0x5a9323=[_0x255a18,_0x31f6d4['imphT']]);const _0x483728=_0x31f6d4[_0x58a6e6(0x1ba)](_0x743d81[_0x58a6e6(0x10b)],undefined)?_0x9a1aa[_0x58a6e6(0x144)](_0x743d81[_0x58a6e6(0x10b)][0x0]):_0x31f6d4[_0x58a6e6(0x1ba)](_0x255a18,undefined)?_0x255a18[_0x58a6e6(0x116)]():undefined,_0x579fdf=_0x48c66f?this['findGitConfig'](_0x48c66f):null,_0x3815b4=_0x48c66f?this[_0x58a6e6(0x10c)]['prefixTestPath'](this['getRootParentFile'](_0x743d81)):_0x31f6d4[_0x58a6e6(0x185)];let _0x29399a=_0x31f6d4[_0x58a6e6(0x197)];const _0x31fe4b=!_0x3360d6['started']?new Date()[_0x58a6e6(0x158)]():null;if(_0x3360d6[_0x58a6e6(0x10f)])_0x29399a=_0x255a18?_0x31f6d4[_0x58a6e6(0x1be)]:_0x31f6d4[_0x58a6e6(0x18e)],_0x743d81[_0x58a6e6(0x17a)]=!![];else _0x3360d6[_0x58a6e6(0x117)]&&(_0x29399a=_0x31f6d4[_0x58a6e6(0x15d)],_0x743d81[_0x58a6e6(0x17a)]=!![]);const _0x53a7ad={'framework':this[_0x58a6e6(0x1a0)],'uuid':_0x743d81[_0x58a6e6(0x121)]||_0x743d81[_0x58a6e6(0x1c1)],'name':_0x743d81['title'],'body':{'lang':_0x31f6d4[_0x58a6e6(0x1b5)],'code':_0x743d81[_0x58a6e6(0x123)][_0x58a6e6(0x116)]()},'type':_0x743d81['type'],'scope':_0x743d81[_0x58a6e6(0x17e)](),'scopes':this[_0x58a6e6(0x1a3)](_0x743d81),'file_name':_0x3815b4,'vc_filepath':_0x579fdf?path[_0x58a6e6(0x126)](_0x579fdf,_0x48c66f):null,'location':_0x3815b4,'result':_0x29399a,'failure_reason':_0x483728,'duration_in_ms':_0x743d81[_0x58a6e6(0x142)]||(_0x3360d6[_0x58a6e6(0x10f)]||_0x3360d6[_0x58a6e6(0x117)])?_0x31f6d4[_0x58a6e6(0x15c)](Date['now'](),new Date(_0x743d81[_0x58a6e6(0x13f)])[_0x58a6e6(0x12b)]()):null,'started_at':new Date(_0x743d81[_0x58a6e6(0x13f)])[_0x58a6e6(0x158)](),'finished_at':_0x31fe4b,'failure':testOpsHelper[_0x58a6e6(0x1b9)]['apply'](null,_0x5a9323),'failure_type':!_0x483728?null:testOpsHelper['getFailureType'](_0x483728),'retry_of':_0x743d81['retryOf']||null,'tags':_0x743d81[_0x58a6e6(0x1c6)]||[],'customRerunParam':{'rerun_name':_0x743d81[_0x58a6e6(0x17e)]()}};_0x31f6d4['dauHb'](appendTesthubParams,_0x53a7ad,_0x3c05b8,_0x743d81,FRAMEWORKS['CODECEPT']);if(_0x3360d6['hook'])[_0x53a7ad[_0x58a6e6(0x14e)],_0x53a7ad[_0x58a6e6(0x1e0)]]=[this[_0x58a6e6(0x11e)](_0x743d81),_0x743d81[_0x58a6e6(0x1d7)]['test']['title']],_0x3360d6[_0x58a6e6(0x10f)]?_0x31f6d4[_0x58a6e6(0x1ba)](_0x53a7ad[_0x58a6e6(0x11a)],_0x31f6d4[_0x58a6e6(0x1be)])&&(_0x53a7ad['result']=_0x31f6d4[_0x58a6e6(0x18e)]):_0x53a7ad[_0x58a6e6(0x123)]={};else _0x3360d6['test']&&(this[_0x58a6e6(0x155)](_0x743d81),_0x3360d6[_0x58a6e6(0x117)]&&this['resetSkipTestHooks'](_0x743d81),(_0x3360d6['finished']||_0x3360d6[_0x58a6e6(0x117)])&&(_0x53a7ad[_0x58a6e6(0x119)]=this[_0x58a6e6(0x174)](_0x743d81)));this[_0x58a6e6(0x1d9)]&&(_0x3360d6[_0x58a6e6(0x165)]||_0x3360d6[_0x58a6e6(0x117)])&&(_0x53a7ad[_0x31f6d4[_0x58a6e6(0xfe)]]=this['getCBTInfo'](this['driver']));_0x3360d6[_0x58a6e6(0x18a)]&&_0x3360d6['finished']&&_0x743d81[_0x58a6e6(0x148)]&&(_0x53a7ad[_0x31f6d4[_0x58a6e6(0x103)]]={'feature':{'name':_0x743d81[_0x58a6e6(0x1b0)][_0x58a6e6(0x193)][_0x58a6e6(0x1e0)],'path':_0x53a7ad['file_name'],'description':_0x743d81[_0x58a6e6(0x1b0)][_0x58a6e6(0x178)]},'scenario':{'name':_0x743d81[_0x58a6e6(0x12c)]},'steps':_0x743d81[_0x58a6e6(0x148)]});const _0x2f4751=_0x53a7ad[_0x31f6d4[_0x58a6e6(0x1ce)]][0x0];_0x2f4751&&(_0x53a7ad[_0x31f6d4[_0x58a6e6(0x132)]]=_0x2f4751[_0x31f6d4[_0x58a6e6(0x110)]],_0x53a7ad[_0x31f6d4['cAZxj']]=_0x2f4751[_0x31f6d4['EqfmP']]);if(_0x743d81[_0x58a6e6(0x148)])for(const _0x36a5aa of _0x743d81['bddSteps']){!_0x36a5aa['finished_at']&&(_0x36a5aa[_0x58a6e6(0x111)]=new Date()['toISOString'](),_0x31f6d4[_0x58a6e6(0x1b2)](_0x36a5aa[_0x58a6e6(0x11a)],_0x31f6d4['kBKSX'])&&(_0x2f4751?(_0x36a5aa['result']=_0x31f6d4['wAcsh'],_0x36a5aa[_0x58a6e6(0xfc)]=_0x2f4751[_0x31f6d4[_0x58a6e6(0x110)]][0x0]):_0x36a5aa['result']=_0x31f6d4['ukRMI']));}const _0xc867b={};_0xc867b[_0x58a6e6(0x16c)]=_0x3360d6[_0x58a6e6(0x117)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x3c05b8;const _0x544e97=_0xc867b;return _0x3360d6[_0x58a6e6(0x1da)]?_0x544e97[_0x31f6d4['aajRs']]=_0x53a7ad:_0x544e97[_0x31f6d4[_0x58a6e6(0x135)]]=_0x53a7ad,_0x544e97;}catch(_0x338790){logger[_0x58a6e6(0xf8)](_0x58a6e6(0x198)+_0x3c05b8+_0x58a6e6(0x18f)+_0x338790);}}async['fireEvent'](_0x441119,_0x3dfa4c){const _0x319949=a4_0xf785a;if(!this[_0x319949(0x1df)]||!_0x3dfa4c||!_0x441119)return![];try{return await SessionHandler['uploadEventData'](_0x3dfa4c);}catch(_0x5ce791){logger[_0x319949(0xf8)](_0x319949(0x14b)+_0x441119+_0x319949(0x18f)+_0x5ce791);}}[a4_0xf785a(0x138)](_0x43449d){const _0x1d9368=a4_0xf785a,_0x4a765c={};_0x4a765c[_0x1d9368(0x181)]=_0x1d9368(0x19e);const _0x5ac110=_0x4a765c;return{'id':_0x43449d[_0x1d9368(0x15f)],'text':_0x43449d[_0x1d9368(0x1c2)],'keyword':_0x43449d[_0x1d9368(0x13d)],'started_at':_0x43449d[_0x1d9368(0x13f)][_0x1d9368(0x158)](),'result':_0x5ac110[_0x1d9368(0x181)]};}[a4_0xf785a(0x19f)](_0x450d4f){const _0x3c8f04=a4_0xf785a,_0x1dafee={'EnNcf':function(_0x385255){return _0x385255();}};!this['currentTest'][_0x3c8f04(0x148)]&&(this[_0x3c8f04(0x180)]['bddSteps']=[]),!_0x450d4f[_0x3c8f04(0x15f)]&&(_0x450d4f[_0x3c8f04(0x15f)]=_0x1dafee[_0x3c8f04(0x19a)](uuidv4),_0x450d4f[_0x3c8f04(0x13f)]=new Date(),this['currentTest'][_0x3c8f04(0x148)]['push'](this[_0x3c8f04(0x138)](_0x450d4f)));}[a4_0xf785a(0x115)](_0x4ac506){const _0x12eb8e=a4_0xf785a,_0x35796c={'waVMM':function(_0x26b28b,_0xab6fee){return _0x26b28b(_0xab6fee);},'dUHoC':_0x12eb8e(0x107),'zpkqC':'pending','cddlz':_0x12eb8e(0x188),'PonVd':function(_0xe55f45,_0x175ed5){return _0xe55f45-_0x175ed5;}};let _0x4bbe1b=this['currentTest'][_0x12eb8e(0x148)][_0x12eb8e(0x17f)](_0x10d845=>_0x10d845['id']===_0x4ac506[_0x12eb8e(0x15f)]);_0x35796c[_0x12eb8e(0x1d0)](isUndefined,_0x4bbe1b)&&(_0x4bbe1b=this[_0x12eb8e(0x138)](_0x4ac506)),_0x4bbe1b[_0x12eb8e(0x11a)]=[_0x35796c[_0x12eb8e(0x13c)],_0x35796c['zpkqC']][_0x12eb8e(0x16b)](_0x4ac506[_0x12eb8e(0x105)])?_0x35796c[_0x12eb8e(0x1a2)]:_0x4ac506[_0x12eb8e(0x105)],_0x4bbe1b[_0x12eb8e(0x111)]=new Date()[_0x12eb8e(0x158)](),_0x4bbe1b['duration']=_0x35796c['PonVd'](Date['now'](),_0x4ac506[_0x12eb8e(0x13f)]['getTime']()),_0x4bbe1b['failure']=_0x4ac506[_0x12eb8e(0x1b3)]?_0x4ac506[_0x12eb8e(0x1b3)][_0x12eb8e(0x1b1)]:null;}}const a4_0x29eca5={};a4_0x29eca5[a4_0xf785a(0x129)]=O11yHelper,a4_0x29eca5['STATE_PASSED']=STATE_PASSED,a4_0x29eca5[a4_0xf785a(0x1ae)]=STATE_FAILED,a4_0x29eca5['TEST_EVENTS']=TEST_EVENTS,module['exports']=a4_0x29eca5;