browserstack-node-sdk 1.66.3 → 1.66.4

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 (220) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a1_0x1bcea6=a1_0x4d42;(function(_0x2def52,_0x5e8b63){const _0xd5e0ad=a1_0x4d42,_0x39d29c=_0x2def52();while(!![]){try{const _0x4eda6a=-parseInt(_0xd5e0ad(0xb1))/0x1*(-parseInt(_0xd5e0ad(0x132))/0x2)+parseInt(_0xd5e0ad(0x127))/0x3+-parseInt(_0xd5e0ad(0xf8))/0x4+parseInt(_0xd5e0ad(0x131))/0x5*(-parseInt(_0xd5e0ad(0xfd))/0x6)+parseInt(_0xd5e0ad(0x10e))/0x7*(parseInt(_0xd5e0ad(0xec))/0x8)+parseInt(_0xd5e0ad(0xe7))/0x9*(parseInt(_0xd5e0ad(0xe1))/0xa)+-parseInt(_0xd5e0ad(0x13c))/0xb;if(_0x4eda6a===_0x5e8b63)break;else _0x39d29c['push'](_0x39d29c['shift']());}catch(_0x327292){_0x39d29c['push'](_0x39d29c['shift']());}}}(a1_0x1d17,0x5f428));function a1_0x1d17(){const _0x4e9a55=['warn','MKOXl','helpers','Workers','/wd/hub','playwright-firefox','join','assign','codeceptjs/package.json','hubUrl','TndXr','QgcYK','existsSync','trim','length','hbOIu','245eCRINW','split','EMikR','yHQWw','test','function','failed','browserWSEndpoint','setAdditionalCapabilities','WebDriver','getUserWorkerCount','isTestObservabilitySession','HFmuY','findIndex','resolveWithinCwd','FRAMEWORKS','title','host','true','isUndefined','USER_CONFIG_DETAILS_PATH','UalXh','webkit','event','codecept.json','1331799jqWXNM','OhiBl','BROWSERSTACK_FRAMEWORK','cwd','testContextOptions','UwiCy','desiredCapabilities','format','push','isTrue','20qXWXRo','862pZEsfG','BrowserStackPlugin.js','replace','Started\x20:\x20','wWtLP','launchBuild','accessibility','../../helpers/utilities','getPlatformName','log','1844095yMLrAL','kcJGb','aUnoP','browserName','stop','toLowerCase','../../helpers/BrowserStackSetup','BrowserStackPlugin','version','skipSessionName','../v2/browserstackCLI','hLDJO','frameworkName','codeceptjs','root','winstonLogger','map','testObservability','chdir','yHiAR','errorMessage','printBuildLink','chrome','welsC','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','../../helpers/logger','JTqLd','before','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','profile','start','Passed\x20:\x20','--config','Failed\x20:\x20','getPlaywrightUrl','playwright-webkit','env','enabled','mergeDeep','VIDpu','521ySggwA','isRunning','user','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','gZDLT','load','../utils/constants','key','SDK_CLEANUP','../../helpers/testhub/testhubHandler','qtnaQ','CODECEPT','platforms','userName','browser','chromium','codecept.conf.js','xyCwC','validPlatformsPresent','handleApp','xGssz','finalExecution','testConfig','plugins','path','../../helpers/helper','Ignoring\x20--config\x20path\x20\x22','setupBrowserstackLocal','createGroupsOfSuites','../../helpers/accessibility-automation/helper','playwright-chromium','printResults','EVENTS','CZnVs','../../helpers/performance/performance-tester','useW3C','BROWSERSTACK_RERUN','parallelsPerPlatform','THAsK','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/test-observability/constants','CrRiE','forEach','stringify','all','_ensureInitialized','nsEqb','info','510neqhAo','passed','exports','CodeceptJS\x20','codeceptjs/lib/index.js','../../bin/playwright/accessibility-helper','56637CPPJLr','prepareCapabilities','result','accessibilityOptions','oYZze','49656GhEvam','../../helpers/performance/constants','util','\x20detected\x20but\x20Workers._ensureInitialized\x20is\x20missing;\x20worker\x20suite\x20grouping\x20may\x20come\x20up\x20empty\x20(\x22No\x20tests\x20found\x20after\x20filtering\x22).\x20The\x20installed\x20codeceptjs\x20build\x20may\x20not\x20match\x20the\x20SDK\x27s\x204.x\x20ESM\x20interop.','debug','GTeOC','eRlut','spawn','dirname','getInstance','validateRerunTestList','HFyHb','831164WdVqEP','FvcBH','WFEdS','uzXys','config','661578nGEYWN'];a1_0x1d17=function(){return _0x4e9a55;};return a1_0x1d17();}function a1_0x4d42(_0x1e85b1,_0xac02e0){const _0x1d175a=a1_0x1d17();return a1_0x4d42=function(_0x4d4289,_0x4b7646){_0x4d4289=_0x4d4289-0xb1;let _0x2a0011=_0x1d175a[_0x4d4289];return _0x2a0011;},a1_0x4d42(_0x1e85b1,_0xac02e0);}const fs=require('fs'),path=require(a1_0x1bcea6(0xc9)),util=require(a1_0x1bcea6(0xee)),process=require('process'),logger=require(a1_0x1bcea6(0x155))[a1_0x1bcea6(0x14b)],{default:BrowserStackSetup}=require(a1_0x1bcea6(0x142)),helper=require('../../helpers/helper'),utilities=require(a1_0x1bcea6(0x139)),{checkAccessibilityPlatformConfig}=require(a1_0x1bcea6(0xce)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x1bcea6(0xe6)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x1bcea6(0xca)),CodeceptJS=requireModule(a1_0x1bcea6(0xe5),a1_0x1bcea6(0x149)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a1_0x1bcea6(0xba)),BrowserstackCLI=require(a1_0x1bcea6(0x146)),constants=require(a1_0x1bcea6(0xb7)),PerformanceTester=require(a1_0x1bcea6(0xd3)),{FRAMEWORKS}=require(a1_0x1bcea6(0xd9)),PerformanceEvents=require(a1_0x1bcea6(0xed))[a1_0x1bcea6(0xd1)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x35873c,_0x26171e)=>{const _0x5e2ba2=a1_0x1bcea6,_0x5ca87b={};_0x5ca87b[_0x5e2ba2(0xff)]=function(_0x375682,_0x1da6bb){return _0x375682===_0x1da6bb;},_0x5ca87b[_0x5e2ba2(0xf2)]=_0x5e2ba2(0xc1),_0x5ca87b[_0x5e2ba2(0xeb)]=_0x5e2ba2(0x126);const _0x5e295a=_0x5ca87b;let _0x1d00a9=null;const _0x581b7e={};let _0x21656e=_0x26171e[_0x5e2ba2(0x11b)](_0x2d4e50=>_0x2d4e50===_0x5e2ba2(0x15c));_0x5e295a[_0x5e2ba2(0xff)](_0x21656e,-0x1)&&(_0x21656e=_0x26171e[_0x5e2ba2(0x11b)](_0x5dc941=>_0x5dc941==='-c'));const _0x351901=!helper[_0x5e2ba2(0x121)](_0x35873c[_0x5e2ba2(0xfc)])?helper[_0x5e2ba2(0x11c)](_0x35873c[_0x5e2ba2(0xfc)]):null,_0x5c41e9=!helper[_0x5e2ba2(0x121)](_0x35873c['c'])?helper[_0x5e2ba2(0x11c)](_0x35873c['c']):null;if(!helper[_0x5e2ba2(0x121)](_0x35873c[_0x5e2ba2(0xfc)])&&!_0x351901)logger[_0x5e2ba2(0xfe)](_0x5e2ba2(0xcb)+_0x35873c[_0x5e2ba2(0xfc)]+_0x5e2ba2(0x158));else!helper['isUndefined'](_0x35873c['c'])&&!_0x5c41e9&&logger[_0x5e2ba2(0xfe)]('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x35873c['c']+_0x5e2ba2(0x158));if(_0x351901&&fs[_0x5e2ba2(0x10a)](_0x351901))_0x1d00a9=_0x351901,_0x26171e['splice'](_0x21656e,0x2);else{if(_0x5c41e9&&fs[_0x5e2ba2(0x10a)](_0x5c41e9))_0x1d00a9=_0x5c41e9,_0x26171e['splice'](_0x21656e,0x2);else{if(fs[_0x5e2ba2(0x10a)](path[_0x5e2ba2(0x104)](process[_0x5e2ba2(0x12a)](),_0x5e295a[_0x5e2ba2(0xf2)])))_0x1d00a9=path[_0x5e2ba2(0x104)](process[_0x5e2ba2(0x12a)](),_0x5e295a[_0x5e2ba2(0xf2)]);else fs[_0x5e2ba2(0x10a)](path[_0x5e2ba2(0x104)](process[_0x5e2ba2(0x12a)](),_0x5e295a[_0x5e2ba2(0xeb)]))&&(_0x1d00a9=path['join'](process['cwd'](),_0x5e295a['oYZze']));}}return process[_0x5e2ba2(0x160)][_0x5e2ba2(0x122)]=_0x1d00a9,_0x1d00a9;},getO11yRerunPattern=()=>{const _0x2bb654=a1_0x1bcea6,_0x397965=helper[_0x2bb654(0x130)](process[_0x2bb654(0x160)][_0x2bb654(0xd5)]);if(_0x397965){const _0xfac22b=process[_0x2bb654(0x160)]['BROWSERSTACK_RERUN_TESTS'],_0x3147b2=[];if(helper[_0x2bb654(0xf6)](_0xfac22b)&&!helper[_0x2bb654(0x121)](_0xfac22b)){_0xfac22b[_0x2bb654(0x10f)](',')[_0x2bb654(0x14c)](_0xe94f1a=>{const _0x309bea=_0x2bb654;_0x3147b2[_0x309bea(0x12f)]('('+_0xe94f1a[_0x309bea(0x10b)]()+')');});const _0x17a30b='^'+_0x3147b2['join']('|')+'$';return _0x17a30b;}}return null;},a1_0x592262={};a1_0x592262[a1_0x1bcea6(0x152)]=a1_0x1bcea6(0xc0),a1_0x592262[a1_0x1bcea6(0xcf)]=a1_0x1bcea6(0xc0),a1_0x592262[a1_0x1bcea6(0x103)]='firefox',a1_0x592262[a1_0x1bcea6(0x15f)]=a1_0x1bcea6(0x124);const pwToCodeceptBrowser=a1_0x592262;async function run(_0xa1ad0e,_0x3ffd3d,_0x547a50){const _0x3a9805=a1_0x1bcea6,_0x522d0a={'aUnoP':function(_0x434c54,_0xf73f3c,_0x298e88,_0x1d42a4){return _0x434c54(_0xf73f3c,_0x298e88,_0x1d42a4);},'QtlAh':function(_0x2da7fc,_0x37d7a3){return _0x2da7fc+_0x37d7a3;},'hbOIu':function(_0x1da388,_0x1f42da){return _0x1da388(_0x1f42da);},'xyCwC':function(_0x312db3,_0x430ea8){return _0x312db3+_0x430ea8;},'CZnVs':function(_0x145c4b,_0x361e53,_0x387641){return _0x145c4b(_0x361e53,_0x387641);},'hLDJO':_0x3a9805(0x100),'xGssz':function(_0x211486){return _0x211486();},'welsC':_0x3a9805(0x102),'JTqLd':function(_0x628739){return _0x628739();},'RlqnA':function(_0x48d943){return _0x48d943();},'wWtLP':_0x3a9805(0x15d),'nsEqb':_0x3a9805(0x15b),'AcbBc':_0x3a9805(0x135),'EMikR':'1|0|4|3|2','AFtWd':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','THAsK':'Playwright','yHiAR':_0x3a9805(0x117),'VIDpu':function(_0x5d9573,_0x5e12ad){return _0x5d9573(_0x5e12ad);},'waOjC':function(_0x4603a8,_0x59cf6a){return _0x4603a8!=_0x59cf6a;},'WFEdS':_0x3a9805(0x120),'UalXh':function(_0x4e2524,_0x3725ea,_0x517bc0){return _0x4e2524(_0x3725ea,_0x517bc0);},'QgcYK':'gherkin','UwiCy':function(_0xe3e10d,_0x1eea64){return _0xe3e10d*_0x1eea64;},'HFyHb':function(_0x37be23,_0x4bbc08,_0xcf8a07){return _0x37be23(_0x4bbc08,_0xcf8a07);},'kjZrZ':_0x3a9805(0xbf),'qHqgi':function(_0x2f796a,_0x2440cd,_0x5a9efc){return _0x2f796a(_0x2440cd,_0x5a9efc);},'yHQWw':function(_0x367da0,_0x291388,_0x519308){return _0x367da0(_0x291388,_0x519308);},'qtnaQ':_0x3a9805(0x12d),'gZDLT':_0x3a9805(0x14a),'SzZiT':_0x3a9805(0x133),'FvcBH':'browserStackCwd','HFmuY':_0x3a9805(0x149),'uzXys':function(_0x44426c,_0x24ae5d){return _0x44426c===_0x24ae5d;},'GYWnf':_0x3a9805(0x113),'OhiBl':_0x3a9805(0x106),'kcJGb':function(_0x487d52,_0x335f09){return _0x487d52>=_0x335f09;}};await _0x547a50['initialize'](_0xa1ad0e);!BrowserstackCLI[_0x3a9805(0xf5)]()[_0x3a9805(0xb2)]()&&await _0x547a50[_0x3a9805(0xcc)]();await helper[_0x3a9805(0xc4)](_0x547a50[_0x3a9805(0xfc)]);if(!_0x547a50[_0x3a9805(0xfc)])return;process[_0x3a9805(0x159)]=_0xa1ad0e[_0x3a9805(0x159)];_0xa1ad0e[_0x3a9805(0x159)]&&(process['env']['profile']=_0xa1ad0e['profile']);const _0x4562b0=_0x522d0a['CZnVs'](getUserCodeceptJSConfigs,_0xa1ad0e,_0x3ffd3d);let _0x3fae3a={};_0x4562b0?(logger[_0x3a9805(0xe0)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4562b0),_0x3fae3a=CodeceptJS[_0x3a9805(0xfc)][_0x3a9805(0xb6)](_0x4562b0)):logger['info'](_0x522d0a['AFtWd']);let _0x45b631=![];_0x522d0a['CZnVs'](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x147)],_0x522d0a[_0x3a9805(0xd7)]])&&(_0x45b631=!![]);const _0x2a527e=_0x45b631?_0x522d0a[_0x3a9805(0xd7)]:_0x522d0a[_0x3a9805(0x14f)];let _0x120443=!_0x45b631?helper[_0x3a9805(0xd4)](_0x547a50['config']):![];!helper[_0x3a9805(0x121)](_0x547a50['config']['accessibilityOptions'])&&(process['env'][_0x3a9805(0xb4)]=JSON[_0x3a9805(0xdc)](_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0xea)]));let _0x188203=_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0x138)];_0x188203=_0x188203||_0x522d0a[_0x3a9805(0x163)](checkAccessibilityPlatformConfig,_0x547a50[_0x3a9805(0xfc)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x188203;_0x188203&&(_0x120443=!_0x188203);_0x522d0a['waOjC'](_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0x14d)],null)?process[_0x3a9805(0x160)][_0x3a9805(0xd8)]=_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0x14d)]:process[_0x3a9805(0x160)][_0x3a9805(0xd8)]=_0x522d0a[_0x3a9805(0xfa)];const _0x20f2cd=_0x522d0a[_0x3a9805(0x123)](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x109)]]),_0x48e733=_0x20f2cd&&!helper['isEmpty'](_0x20f2cd)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x5369f1=await TestHubHandler[_0x3a9805(0x137)](_0x48e733,_0x547a50);await testOpsHelper[_0x3a9805(0x151)]();_0x188203&&_0x522d0a[_0x3a9805(0x163)](setAccessibilityCapabilities,_0x547a50['config']);const _0x2a3340={},_0x544c82=[],_0x1553e2=_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0xd6)]||helper[_0x3a9805(0x118)](_0xa1ad0e,_0x3ffd3d,_0x547a50[_0x3a9805(0xfc)],constants[_0x3a9805(0x11d)][_0x3a9805(0xbc)])||0x1;let _0x124613=0x1;if(_0x522d0a[_0x3a9805(0x156)](isBrowserstackInfra)){const _0x43fa6f=helper[_0x3a9805(0xe8)](_0x547a50[_0x3a9805(0xfc)],_0x120443,constants[_0x3a9805(0x11d)][_0x3a9805(0xbc)]);_0x43fa6f[_0x3a9805(0xdb)](_0xea2588=>{const _0x3e61cf=_0x3a9805;helper[_0x3e61cf(0x116)](_0xea2588);}),helper[_0x3a9805(0xc3)](_0x547a50['config'])?_0x124613=_0x522d0a[_0x3a9805(0x12c)](_0x1553e2,_0x547a50[_0x3a9805(0xfc)][_0x3a9805(0xbd)][_0x3a9805(0x10c)]):_0x124613=_0x1553e2,_0x43fa6f['forEach'](_0x5bf3e9=>{const _0xbd9673=_0x3a9805,_0x542ae2={'GTeOC':function(_0x4ae6fd,_0x24d569,_0x591057,_0x1a6618){const _0x15d07e=a1_0x4d42;return _0x522d0a[_0x15d07e(0x13e)](_0x4ae6fd,_0x24d569,_0x591057,_0x1a6618);},'TndXr':function(_0x1de4ea,_0xb04d25){return _0x522d0a['QtlAh'](_0x1de4ea,_0xb04d25);},'CrRiE':function(_0x390b0f,_0x7cab3d){const _0x886939=a1_0x4d42;return _0x522d0a[_0x886939(0x10d)](_0x390b0f,_0x7cab3d);}},_0x15a12f=_0x522d0a[_0xbd9673(0xc2)](helper[_0xbd9673(0x13a)](_0x5bf3e9,'_'),'_'+Date['now']()),_0x36ca37=((()=>{const _0x4e79da=_0xbd9673;if(_0x45b631){const _0x50c2c6=pwToCodeceptBrowser[_0x5bf3e9[_0x4e79da(0x13f)]]||_0x5bf3e9[_0x4e79da(0x13f)],_0x3c8caf=helper[_0x4e79da(0x15e)](_0x547a50['config']),_0x302108=Object[_0x4e79da(0x105)]({},_0x5bf3e9);return _0x542ae2[_0x4e79da(0xf1)](processAccessibilityCaps,_0x302108,_0x3c8caf,null),{'browser':_0x50c2c6,[_0x50c2c6]:{'browserWSEndpoint':_0x542ae2[_0x4e79da(0x108)](_0x3c8caf,_0x542ae2[_0x4e79da(0xda)](encodeURIComponent,JSON[_0x4e79da(0xdc)](_0x302108)))}};}const _0x1e86d8={};return _0x1e86d8[_0x4e79da(0x12d)]=_0x5bf3e9,_0x1e86d8[_0x4e79da(0xb3)]=_0x547a50['config'][_0x4e79da(0xbe)],_0x1e86d8[_0x4e79da(0xb8)]=_0x547a50['config']['accessKey'],_0x1e86d8;})()),_0x552c6e=_0x522d0a[_0xbd9673(0xd2)](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0xbd9673(0x147)],_0x2a527e]);_0x2a3340[_0x15a12f]=_0x552c6e?helper[_0xbd9673(0x162)](_0x36ca37,_0x552c6e):_0x36ca37;if(_0x45b631)_0x2a3340[_0x15a12f][_0xbd9673(0xbf)]=pwToCodeceptBrowser[_0x5bf3e9[_0xbd9673(0x13f)]]||_0x5bf3e9[_0xbd9673(0x13f)];else{_0x2a3340[_0x15a12f]['browser']=_0x5bf3e9[_0xbd9673(0x13f)]||_0x36ca37['browser'];if(_0x522d0a[_0xbd9673(0xc5)](isBrowserstackInfra)){_0x2a3340[_0x15a12f][_0xbd9673(0x11f)]=constants[_0xbd9673(0x107)][_0xbd9673(0x134)](_0x522d0a[_0xbd9673(0x153)],'')['replace'](/https?:\/\//,'');;_0x2a3340[_0x15a12f]['path']=_0x522d0a['welsC'];}}_0x544c82[_0xbd9673(0x12f)](_0x15a12f);});}else{_0x124613=0x1;if(_0x45b631){const _0x41b60d=_0x522d0a['HFyHb'](nestedKeyValue,_0x3fae3a,[_0x522d0a['hLDJO'],_0x2a527e,_0x522d0a['kjZrZ']]),_0x3f3a8f=_0x522d0a['qHqgi'](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x147)],_0x2a527e,_0x41b60d]);if(_0x3f3a8f&&_0x3f3a8f[_0x3a9805(0x115)]){const _0x58cf94={};_0x58cf94[_0x3a9805(0xbd)]=[],_0x3f3a8f['browserWSEndpoint']=helper[_0x3a9805(0xe8)](Object['assign']({},_0x547a50[_0x3a9805(0xfc)],_0x58cf94),null,_0x48e733[_0x3a9805(0x141)](),null,null,_0x3f3a8f[_0x3a9805(0x115)]);}}else{if(_0x522d0a[_0x3a9805(0x111)](nestedKeyValue,_0x3fae3a,[_0x522d0a[_0x3a9805(0x147)],_0x2a527e])){const _0x2d46aa={};_0x2d46aa['platforms']=[],_0x3fae3a[_0x522d0a[_0x3a9805(0x147)]][_0x2a527e][_0x522d0a[_0x3a9805(0xbb)]]=helper[_0x3a9805(0xe8)](Object[_0x3a9805(0x105)]({},_0x547a50[_0x3a9805(0xfc)],_0x2d46aa),null,_0x48e733[_0x3a9805(0x141)](),_0x522d0a[_0x3a9805(0xf7)](nestedKeyValue,_0x3fae3a,[_0x522d0a['hLDJO'],_0x2a527e,_0x522d0a[_0x3a9805(0xbb)]])||{},null,null);}}_0x2a3340[_0x522d0a[_0x3a9805(0xb5)]]=_0x3fae3a,_0x544c82['push'](_0x522d0a[_0x3a9805(0xb5)]);}const _0x2e005d={};_0x2e005d[_0x3a9805(0xc7)]=_0x4562b0;const _0x48ec8a=_0x2e005d,_0x3c942b=path['join'](__dirname,_0x522d0a['SzZiT']),_0x251892=process[_0x3a9805(0x12a)]();process[_0x3a9805(0x160)][_0x522d0a[_0x3a9805(0xf9)]]=_0x251892;_0x4562b0&&process[_0x3a9805(0x14e)](path[_0x3a9805(0xf4)](_0x4562b0));process[_0x3a9805(0x160)][_0x3a9805(0x129)]=process[_0x3a9805(0x160)]['BROWSERSTACK_FRAMEWORK']||_0x522d0a['HFmuY'];const _0x94f5db=new CodeceptJS[(_0x3a9805(0x101))](null,_0x48ec8a);if(_0x522d0a[_0x3a9805(0xfb)](typeof _0x94f5db[_0x3a9805(0xde)],_0x522d0a['GYWnf']))await _0x94f5db['_ensureInitialized']();else{let _0x3689b3;try{_0x3689b3=_0x522d0a[_0x3a9805(0xf7)](requireModule,_0x522d0a[_0x3a9805(0x128)],_0x522d0a[_0x3a9805(0x11a)])[_0x3a9805(0x144)];}catch(_0x18e626){logger[_0x3a9805(0xf0)](_0x3a9805(0x154)+util[_0x3a9805(0x12e)](_0x18e626));}_0x3689b3&&_0x522d0a[_0x3a9805(0x13d)](_0x522d0a[_0x3a9805(0x123)](parseInt,_0x3689b3['split']('.')[0x0],0xa),0x4)&&logger[_0x3a9805(0xfe)](_0x3a9805(0xe4)+_0x3689b3+_0x3a9805(0xef));}const _0x13fa5f=_0x94f5db[_0x3a9805(0xcd)](_0x1553e2),_0x218d5d=testOpsHelper[_0x3a9805(0x119)](),_0x5ef66f=_0x544c82[_0x3a9805(0x14c)](_0x56a2b5=>{const _0x3221ee=_0x3a9805,_0xa4f6b1={};_0xa4f6b1['Playwright']=_0x2a3340[_0x56a2b5];const _0x2e2391={};_0x2e2391['WebDriver']=_0x2a3340[_0x56a2b5];const _0x20f3fc=_0x45b631?_0xa4f6b1:_0x2e2391,_0x7c921e=_0x522d0a[_0x3221ee(0x156)](getO11yRerunPattern),_0x529b56={};_0x529b56[_0x3221ee(0x100)]=_0x20f3fc;const _0x4c1876={};_0x4c1876['require']=_0x3c942b,_0x4c1876[_0x3221ee(0x161)]=!![],_0x4c1876[_0x3221ee(0x145)]=_0x547a50['config'][_0x3221ee(0x12b)]['skipSessionName'],_0x4c1876['skipSessionStatus']=_0x547a50[_0x3221ee(0xfc)][_0x3221ee(0x12b)]['skipSessionStatus'],_0x4c1876['testObservability']=_0x218d5d,_0x4c1876[_0x3221ee(0x148)]=_0x48e733;const _0x528b01={};_0x528b01[_0x3221ee(0x143)]=_0x4c1876;const _0x207cf2={};return _0x207cf2[_0x3221ee(0xc8)]=_0x528b01,helper[_0x3221ee(0x162)]({},_0x3fae3a,_0x522d0a['RlqnA'](isBrowserstackInfra)?_0x529b56:{},_0x7c921e?{'grep':_0x7c921e}:{},_0x207cf2);});for(const _0x2301a5 of _0x5ef66f){for(const _0x4bd279 of _0x13fa5f){const _0x20b986=_0x94f5db[_0x3a9805(0xf3)]();_0x20b986['addTests'](_0x4bd279),_0x20b986['addConfig'](_0x2301a5);const _0x613194={};_0x613194[_0x3a9805(0xfc)]=_0x4562b0,_0x20b986['addOptions'](Object[_0x3a9805(0x105)](_0x613194,_0xa1ad0e));}}_0x94f5db['on'](CodeceptJS[_0x3a9805(0x125)][_0x3a9805(0x112)][_0x3a9805(0x114)],(_0x393a53,_0x940c6a)=>{const _0x5de76a=_0x3a9805;console[_0x5de76a(0x13b)](_0x522d0a[_0x5de76a(0x136)],_0x393a53['title']);const _0x3bcd32={[_0x393a53[_0x5de76a(0x11e)]]:_0x393a53['err']['stack']};_testErrorData[_0x5de76a(0x12f)](_0x3bcd32);}),_0x94f5db['on'](CodeceptJS['event'][_0x3a9805(0x112)][_0x3a9805(0xe2)],async _0x59cf69=>{const _0x26f743=_0x3a9805;console[_0x26f743(0x13b)](_0x522d0a[_0x26f743(0xdf)],_0x59cf69[_0x26f743(0x11e)]);}),_0x94f5db['on'](CodeceptJS[_0x3a9805(0x125)][_0x3a9805(0x112)][_0x3a9805(0x157)],async _0x49fb96=>{const _0x42f1f3=_0x3a9805;console[_0x42f1f3(0x13b)](_0x522d0a['AcbBc'],_0x49fb96[_0x42f1f3(0x11e)]);}),_0x94f5db['on'](CodeceptJS[_0x3a9805(0x125)][_0x3a9805(0xdd)][_0x3a9805(0xe9)],async()=>{const _0x2ae326=_0x3a9805,_0x9f6e07=_0x522d0a[_0x2ae326(0x110)]['split']('|');let _0x8d1eb1=0x0;while(!![]){switch(_0x9f6e07[_0x8d1eb1++]){case'0':_0x547a50[_0x2ae326(0x150)]=_testErrorData;continue;case'1':PerformanceTester[_0x2ae326(0x15a)](PerformanceEvents[_0x2ae326(0xb9)]);continue;case'2':_0x94f5db[_0x2ae326(0xd0)]();continue;case'3':try{await TestHubHandler[_0x2ae326(0x140)]();}catch(_0x165752){logger[_0x2ae326(0xf0)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x165752));}continue;case'4':utilities[_0x2ae326(0xc6)](_0x547a50);continue;}break;}});async function _0xfd7273(){const _0x4833d4=_0x3a9805;try{await _0x94f5db['bootstrapAll'](),await _0x94f5db['run']();}finally{process[_0x4833d4(0x14e)](_0x251892),await _0x94f5db['teardownAll']();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),await _0x522d0a['JTqLd'](_0xfd7273);}module[a1_0x1bcea6(0xe3)]=run;
2
+ 'use strict';function a1_0x4308(_0x5f409a,_0x267322){const _0x1f7de7=a1_0x1f7d();return a1_0x4308=function(_0x430803,_0x2038e5){_0x430803=_0x430803-0x1b4;let _0x1828d9=_0x1f7de7[_0x430803];return _0x1828d9;},a1_0x4308(_0x5f409a,_0x267322);}const a1_0x2d4b3a=a1_0x4308;(function(_0x3c6e9e,_0x5cdf6a){const _0x29b26c=a1_0x4308,_0x1c4340=_0x3c6e9e();while(!![]){try{const _0x5c50f=parseInt(_0x29b26c(0x20c))/0x1+-parseInt(_0x29b26c(0x1fd))/0x2+parseInt(_0x29b26c(0x1e2))/0x3*(-parseInt(_0x29b26c(0x243))/0x4)+parseInt(_0x29b26c(0x1ce))/0x5*(-parseInt(_0x29b26c(0x24f))/0x6)+-parseInt(_0x29b26c(0x1f4))/0x7*(parseInt(_0x29b26c(0x238))/0x8)+-parseInt(_0x29b26c(0x210))/0x9+parseInt(_0x29b26c(0x1ed))/0xa;if(_0x5c50f===_0x5cdf6a)break;else _0x1c4340['push'](_0x1c4340['shift']());}catch(_0x20a04a){_0x1c4340['push'](_0x1c4340['shift']());}}}(a1_0x1f7d,0x30719));const fs=require('fs'),path=require(a1_0x2d4b3a(0x229)),util=require(a1_0x2d4b3a(0x1ca)),process=require(a1_0x2d4b3a(0x208)),logger=require('../../helpers/logger')[a1_0x2d4b3a(0x21d)],{default:BrowserStackSetup}=require(a1_0x2d4b3a(0x1cb)),helper=require(a1_0x2d4b3a(0x23e)),utilities=require(a1_0x2d4b3a(0x1b4)),{checkAccessibilityPlatformConfig}=require(a1_0x2d4b3a(0x1e6)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x2d4b3a(0x1f8)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x2d4b3a(0x23e)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),testOpsHelper=require(a1_0x2d4b3a(0x226)),TestHubHandler=require(a1_0x2d4b3a(0x236)),BrowserstackCLI=require(a1_0x2d4b3a(0x231)),constants=require(a1_0x2d4b3a(0x1c2)),PerformanceTester=require(a1_0x2d4b3a(0x22b)),{FRAMEWORKS}=require(a1_0x2d4b3a(0x1c0)),PerformanceEvents=require('../../helpers/performance/constants')[a1_0x2d4b3a(0x218)],ClientTroubleShootingService=require(a1_0x2d4b3a(0x249)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x46fdd7,_0x3ea48a)=>{const _0x1e8437=a1_0x2d4b3a,_0x59aa2a={};_0x59aa2a[_0x1e8437(0x1d3)]=function(_0x35d3e1,_0x40e4cc){return _0x35d3e1===_0x40e4cc;},_0x59aa2a[_0x1e8437(0x1bd)]=_0x1e8437(0x237),_0x59aa2a['sNzAX']=_0x1e8437(0x1b7);const _0x483824=_0x59aa2a;let _0x169f42=null;const _0x599da1={};let _0x15478e=_0x3ea48a[_0x1e8437(0x263)](_0x1356b2=>_0x1356b2===_0x1e8437(0x1e9));_0x483824[_0x1e8437(0x1d3)](_0x15478e,-0x1)&&(_0x15478e=_0x3ea48a[_0x1e8437(0x263)](_0x27e2d9=>_0x27e2d9==='-c'));const _0x44d6bf=!helper[_0x1e8437(0x20a)](_0x46fdd7[_0x1e8437(0x21b)])?helper[_0x1e8437(0x230)](_0x46fdd7[_0x1e8437(0x21b)]):null,_0x201889=!helper[_0x1e8437(0x20a)](_0x46fdd7['c'])?helper['resolveWithinCwd'](_0x46fdd7['c']):null;if(!helper[_0x1e8437(0x20a)](_0x46fdd7[_0x1e8437(0x21b)])&&!_0x44d6bf)logger[_0x1e8437(0x246)](_0x1e8437(0x239)+_0x46fdd7[_0x1e8437(0x21b)]+_0x1e8437(0x1c7));else!helper['isUndefined'](_0x46fdd7['c'])&&!_0x201889&&logger['warn']('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x46fdd7['c']+_0x1e8437(0x1c7));if(_0x44d6bf&&fs[_0x1e8437(0x21c)](_0x44d6bf))_0x169f42=_0x44d6bf,_0x3ea48a[_0x1e8437(0x1d0)](_0x15478e,0x2);else{if(_0x201889&&fs['existsSync'](_0x201889))_0x169f42=_0x201889,_0x3ea48a[_0x1e8437(0x1d0)](_0x15478e,0x2);else{if(fs[_0x1e8437(0x21c)](path[_0x1e8437(0x22c)](process['cwd'](),_0x483824['QXOet'])))_0x169f42=path[_0x1e8437(0x22c)](process['cwd'](),_0x483824[_0x1e8437(0x1bd)]);else fs['existsSync'](path['join'](process[_0x1e8437(0x1dd)](),_0x483824[_0x1e8437(0x262)]))&&(_0x169f42=path[_0x1e8437(0x22c)](process[_0x1e8437(0x1dd)](),_0x483824[_0x1e8437(0x262)]));}}return process['env'][_0x1e8437(0x269)]=_0x169f42,_0x169f42;},getO11yRerunPattern=()=>{const _0x8bf84f=a1_0x2d4b3a,_0x14d64d=helper[_0x8bf84f(0x24c)](process[_0x8bf84f(0x240)][_0x8bf84f(0x1f0)]);if(_0x14d64d){const _0x17ba98=process[_0x8bf84f(0x240)]['BROWSERSTACK_RERUN_TESTS'],_0x42302f=[];if(helper[_0x8bf84f(0x270)](_0x17ba98)&&!helper['isUndefined'](_0x17ba98)){_0x17ba98[_0x8bf84f(0x261)](',')[_0x8bf84f(0x25b)](_0x429a43=>{const _0x5c29f4=_0x8bf84f;_0x42302f[_0x5c29f4(0x1f6)]('('+_0x429a43[_0x5c29f4(0x1f7)]()+')');});const _0x346c45='^'+_0x42302f[_0x8bf84f(0x22c)]('|')+'$';return _0x346c45;}}return null;},a1_0x1b08bb={};a1_0x1b08bb[a1_0x2d4b3a(0x235)]='chromium',a1_0x1b08bb[a1_0x2d4b3a(0x260)]=a1_0x2d4b3a(0x1d8),a1_0x1b08bb[a1_0x2d4b3a(0x20f)]=a1_0x2d4b3a(0x268),a1_0x1b08bb['playwright-webkit']='webkit';const pwToCodeceptBrowser=a1_0x1b08bb;async function run(_0x1b5ee5,_0x1a50f1,_0x2fce7a){const _0x3053d2=a1_0x2d4b3a,_0x26fc68={'BfXDf':function(_0x562c9e,_0x410dc4,_0x25c1ad,_0x20e7d7){return _0x562c9e(_0x410dc4,_0x25c1ad,_0x20e7d7);},'sPNKD':function(_0x307ff4,_0x1b215d){return _0x307ff4+_0x1b215d;},'LOsyC':function(_0x141ff1,_0x1745a8){return _0x141ff1(_0x1745a8);},'LiGcO':function(_0x4a2ff7,_0x4973c5,_0x3cb7ce){return _0x4a2ff7(_0x4973c5,_0x3cb7ce);},'eTXCs':'helpers','vkOwM':function(_0x4c644d){return _0x4c644d();},'PuSzE':_0x3053d2(0x205),'DDqhL':function(_0x56126c){return _0x56126c();},'AXCUi':_0x3053d2(0x215),'JRBcu':_0x3053d2(0x23f),'KPDWi':_0x3053d2(0x21f),'vtUFQ':'3|4|2|0|1','BxeWZ':function(_0x37c762,_0x2ef7a7,_0x2d0469){return _0x37c762(_0x2ef7a7,_0x2d0469);},'eJcFQ':_0x3053d2(0x1d7),'xNlhy':function(_0x26093b,_0x37486b,_0x439201){return _0x26093b(_0x37486b,_0x439201);},'uOctI':_0x3053d2(0x248),'sXehd':'WebDriver','WrBOv':function(_0x5e72bf,_0x84f40c){return _0x5e72bf!=_0x84f40c;},'xGBHs':_0x3053d2(0x1ea),'TezRt':_0x3053d2(0x1e8),'mzcTe':function(_0x4e5e9c,_0x14367c){return _0x4e5e9c(_0x14367c);},'mJYWu':function(_0x4a95ff,_0x2d3f18){return _0x4a95ff*_0x2d3f18;},'wNdQE':function(_0x1cfab0,_0x19336f,_0x4a18d5){return _0x1cfab0(_0x19336f,_0x4a18d5);},'STNpN':'browser','zxWzM':function(_0x21e863,_0x3a6e41,_0x41ca89){return _0x21e863(_0x3a6e41,_0x41ca89);},'OiYsd':_0x3053d2(0x1f5),'TSPKY':_0x3053d2(0x26c),'eQtpY':_0x3053d2(0x232),'amdCg':_0x3053d2(0x1fc),'HQaHk':_0x3053d2(0x1de),'wZCEI':function(_0x28c0df,_0x18c6ac){return _0x28c0df===_0x18c6ac;},'sbqYw':_0x3053d2(0x271),'lyLOI':_0x3053d2(0x22e),'pnygK':function(_0x5e5709,_0x558cc1){return _0x5e5709>=_0x558cc1;},'AYLIP':function(_0x53ac74,_0x255bbd,_0x502617){return _0x53ac74(_0x255bbd,_0x502617);},'GhmqS':function(_0x4f5b96){return _0x4f5b96();}};await _0x2fce7a[_0x3053d2(0x258)](_0x1b5ee5);!BrowserstackCLI[_0x3053d2(0x1fb)]()[_0x3053d2(0x206)]()&&await _0x2fce7a[_0x3053d2(0x25d)]();await helper[_0x3053d2(0x219)](_0x2fce7a[_0x3053d2(0x21b)]);if(!_0x2fce7a['config'])return;process[_0x3053d2(0x209)]=_0x1b5ee5[_0x3053d2(0x209)];_0x1b5ee5[_0x3053d2(0x209)]&&(process[_0x3053d2(0x240)][_0x3053d2(0x209)]=_0x1b5ee5[_0x3053d2(0x209)]);const _0x34ffb6=_0x26fc68[_0x3053d2(0x1c1)](getUserCodeceptJSConfigs,_0x1b5ee5,_0x1a50f1);let _0x2f8210={};_0x34ffb6?(logger[_0x3053d2(0x1eb)](_0x3053d2(0x214)+_0x34ffb6),_0x2f8210=CodeceptJS[_0x3053d2(0x21b)]['load'](_0x34ffb6)):logger[_0x3053d2(0x1eb)](_0x26fc68[_0x3053d2(0x201)]);let _0x2e3cf1=![];_0x26fc68[_0x3053d2(0x1db)](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x3053d2(0x273)],_0x26fc68[_0x3053d2(0x1fe)]])&&(_0x2e3cf1=!![]);const _0x295f1a=_0x2e3cf1?_0x26fc68[_0x3053d2(0x1fe)]:_0x26fc68[_0x3053d2(0x1b9)];let _0x1924d5=!_0x2e3cf1?helper['useW3C'](_0x2fce7a['config']):![];!helper[_0x3053d2(0x20a)](_0x2fce7a[_0x3053d2(0x21b)]['accessibilityOptions'])&&(process[_0x3053d2(0x240)][_0x3053d2(0x256)]=JSON[_0x3053d2(0x1b5)](_0x2fce7a['config'][_0x3053d2(0x221)]));let _0x24d053=_0x2fce7a[_0x3053d2(0x21b)][_0x3053d2(0x1c6)];_0x24d053=_0x24d053||_0x26fc68[_0x3053d2(0x234)](checkAccessibilityPlatformConfig,_0x2fce7a[_0x3053d2(0x21b)]),process[_0x3053d2(0x240)][_0x3053d2(0x202)]=_0x24d053;_0x24d053&&(_0x1924d5=!_0x24d053);_0x26fc68[_0x3053d2(0x26a)](_0x2fce7a[_0x3053d2(0x21b)][_0x3053d2(0x241)],null)?process[_0x3053d2(0x240)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2fce7a[_0x3053d2(0x21b)][_0x3053d2(0x241)]:process[_0x3053d2(0x240)][_0x3053d2(0x25c)]=_0x26fc68[_0x3053d2(0x1bb)];const _0x14ad91=_0x26fc68['BxeWZ'](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x3053d2(0x1b6)]]),_0x1a8646=_0x14ad91&&!helper[_0x3053d2(0x1d4)](_0x14ad91)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x3053d2(0x212)],_0x14dc9e=await TestHubHandler[_0x3053d2(0x1c5)](_0x1a8646,_0x2fce7a);await testOpsHelper[_0x3053d2(0x26e)]();_0x24d053&&_0x26fc68[_0x3053d2(0x1ee)](setAccessibilityCapabilities,_0x2fce7a[_0x3053d2(0x21b)]);const _0x1f90d9={},_0x38ee63=[],_0x2fa81a=_0x2fce7a['config']['parallelsPerPlatform']||helper[_0x3053d2(0x217)](_0x1b5ee5,_0x1a50f1,_0x2fce7a[_0x3053d2(0x21b)],constants[_0x3053d2(0x1d6)][_0x3053d2(0x212)])||0x1;let _0x4c49fb=0x1;if(_0x26fc68[_0x3053d2(0x25f)](isBrowserstackInfra)){const _0x3c10cc=helper[_0x3053d2(0x1b8)](_0x2fce7a[_0x3053d2(0x21b)],_0x1924d5,constants[_0x3053d2(0x1d6)]['CODECEPT']);_0x3c10cc['forEach'](_0x4a9624=>{helper['setAdditionalCapabilities'](_0x4a9624);}),helper[_0x3053d2(0x23d)](_0x2fce7a['config'])?_0x4c49fb=_0x26fc68[_0x3053d2(0x252)](_0x2fa81a,_0x2fce7a[_0x3053d2(0x21b)][_0x3053d2(0x255)][_0x3053d2(0x20d)]):_0x4c49fb=_0x2fa81a,_0x3c10cc[_0x3053d2(0x272)](_0x1d869b=>{const _0x55cdce=_0x3053d2,_0x917e95={'fECRL':function(_0x2fe579,_0xfed9c9,_0x3ce27f,_0x13f0c6){const _0x1e2069=a1_0x4308;return _0x26fc68[_0x1e2069(0x1c4)](_0x2fe579,_0xfed9c9,_0x3ce27f,_0x13f0c6);},'kprDp':function(_0x56a7a5,_0x3b0bfb){const _0x44d725=a1_0x4308;return _0x26fc68[_0x44d725(0x24e)](_0x56a7a5,_0x3b0bfb);},'ikrQB':function(_0x291e76,_0xe3bca0){return _0x26fc68['LOsyC'](_0x291e76,_0xe3bca0);}},_0xcd513c=_0x26fc68['sPNKD'](helper[_0x55cdce(0x1e7)](_0x1d869b,'_'),'_'+Date['now']()),_0x449e19=((()=>{const _0x2f19d5=_0x55cdce;if(_0x2e3cf1){const _0x1a021=pwToCodeceptBrowser[_0x1d869b[_0x2f19d5(0x250)]]||_0x1d869b['browserName'],_0x51a93e=helper['getPlaywrightUrl'](_0x2fce7a[_0x2f19d5(0x21b)]),_0x2a548e=Object[_0x2f19d5(0x204)]({},_0x1d869b);return _0x917e95[_0x2f19d5(0x23b)](processAccessibilityCaps,_0x2a548e,_0x51a93e,null),{'browser':_0x1a021,[_0x1a021]:{'browserWSEndpoint':_0x917e95[_0x2f19d5(0x1c3)](_0x51a93e,_0x917e95[_0x2f19d5(0x213)](encodeURIComponent,JSON[_0x2f19d5(0x1b5)](_0x2a548e)))}};}const _0x45fc4e={};return _0x45fc4e[_0x2f19d5(0x1f5)]=_0x1d869b,_0x45fc4e['user']=_0x2fce7a[_0x2f19d5(0x21b)][_0x2f19d5(0x200)],_0x45fc4e[_0x2f19d5(0x257)]=_0x2fce7a[_0x2f19d5(0x21b)][_0x2f19d5(0x1bc)],_0x45fc4e;})()),_0xf4c6ba=_0x26fc68[_0x55cdce(0x225)](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x55cdce(0x273)],_0x295f1a]);_0x1f90d9[_0xcd513c]=_0xf4c6ba?helper[_0x55cdce(0x22a)](_0x449e19,_0xf4c6ba):_0x449e19;if(_0x2e3cf1)_0x1f90d9[_0xcd513c]['browser']=pwToCodeceptBrowser[_0x1d869b[_0x55cdce(0x250)]]||_0x1d869b[_0x55cdce(0x250)];else{_0x1f90d9[_0xcd513c][_0x55cdce(0x222)]=_0x1d869b[_0x55cdce(0x250)]||_0x449e19['browser'];if(_0x26fc68['vkOwM'](isBrowserstackInfra)){_0x1f90d9[_0xcd513c]['host']=constants['hubUrl'][_0x55cdce(0x1f9)](_0x26fc68['PuSzE'],'')[_0x55cdce(0x1f9)](/https?:\/\//,'');;_0x1f90d9[_0xcd513c]['path']=_0x26fc68[_0x55cdce(0x25a)];}}_0x38ee63[_0x55cdce(0x1f6)](_0xcd513c);});}else{_0x4c49fb=0x1;if(_0x2e3cf1){const _0xebb321=_0x26fc68[_0x3053d2(0x1fa)](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x3053d2(0x273)],_0x295f1a,_0x26fc68[_0x3053d2(0x24d)]]),_0x26f6b2=_0x26fc68[_0x3053d2(0x1fa)](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x3053d2(0x273)],_0x295f1a,_0xebb321]);if(_0x26f6b2&&_0x26f6b2[_0x3053d2(0x21a)]){const _0x4ce4bc={};_0x4ce4bc[_0x3053d2(0x255)]=[],_0x26f6b2[_0x3053d2(0x21a)]=helper[_0x3053d2(0x1b8)](Object[_0x3053d2(0x204)]({},_0x2fce7a['config'],_0x4ce4bc),null,_0x1a8646[_0x3053d2(0x244)](),null,null,_0x26f6b2[_0x3053d2(0x21a)]);}}else{if(_0x26fc68[_0x3053d2(0x20b)](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x3053d2(0x273)],_0x295f1a])){const _0x3681ef={};_0x3681ef[_0x3053d2(0x255)]=[],_0x2f8210[_0x26fc68[_0x3053d2(0x273)]][_0x295f1a][_0x26fc68[_0x3053d2(0x1bf)]]=helper[_0x3053d2(0x1b8)](Object[_0x3053d2(0x204)]({},_0x2fce7a[_0x3053d2(0x21b)],_0x3681ef),null,_0x1a8646[_0x3053d2(0x244)](),_0x26fc68['LiGcO'](nestedKeyValue,_0x2f8210,[_0x26fc68[_0x3053d2(0x273)],_0x295f1a,_0x26fc68[_0x3053d2(0x1bf)]])||{},null,null);}}_0x1f90d9[_0x26fc68[_0x3053d2(0x1dc)]]=_0x2f8210,_0x38ee63[_0x3053d2(0x1f6)](_0x26fc68['TSPKY']);}const _0x1acbe1={};_0x1acbe1[_0x3053d2(0x1e5)]=_0x34ffb6;const _0x4f6c48=_0x1acbe1,_0x1eb2e5=path[_0x3053d2(0x22c)](__dirname,_0x26fc68[_0x3053d2(0x233)]),_0x1e67c0=process[_0x3053d2(0x1dd)]();process[_0x3053d2(0x240)][_0x26fc68['amdCg']]=_0x1e67c0;_0x34ffb6&&process[_0x3053d2(0x1f2)](path[_0x3053d2(0x26b)](_0x34ffb6));process[_0x3053d2(0x240)][_0x3053d2(0x1d2)]=process['env'][_0x3053d2(0x1d2)]||_0x26fc68[_0x3053d2(0x1c8)];const _0x2fd276=new CodeceptJS['Workers'](null,_0x4f6c48);if(_0x26fc68[_0x3053d2(0x242)](typeof _0x2fd276[_0x3053d2(0x24a)],_0x26fc68[_0x3053d2(0x1df)]))await _0x2fd276[_0x3053d2(0x24a)]();else{let _0x31266c;try{_0x31266c=_0x26fc68[_0x3053d2(0x225)](requireModule,_0x26fc68[_0x3053d2(0x1cf)],_0x26fc68[_0x3053d2(0x1c8)])[_0x3053d2(0x227)];}catch(_0x195c50){logger[_0x3053d2(0x228)](_0x3053d2(0x23a)+util[_0x3053d2(0x1ff)](_0x195c50));}_0x31266c&&_0x26fc68[_0x3053d2(0x264)](_0x26fc68[_0x3053d2(0x26d)](parseInt,_0x31266c[_0x3053d2(0x261)]('.')[0x0],0xa),0x4)&&logger[_0x3053d2(0x246)](_0x3053d2(0x1d9)+_0x31266c+_0x3053d2(0x1d1));}const _0x432433=_0x2fd276['createGroupsOfSuites'](_0x2fa81a),_0x16ba18=testOpsHelper[_0x3053d2(0x22d)](),_0x501181=_0x38ee63[_0x3053d2(0x25b)](_0xb52ca3=>{const _0x2dac9c=_0x3053d2,_0x413f06={};_0x413f06[_0x2dac9c(0x248)]=_0x1f90d9[_0xb52ca3];const _0x485948={};_0x485948[_0x2dac9c(0x26f)]=_0x1f90d9[_0xb52ca3];const _0x49735e=_0x2e3cf1?_0x413f06:_0x485948,_0x21b928=_0x26fc68[_0x2dac9c(0x23c)](getO11yRerunPattern),_0x267cfc={};_0x267cfc[_0x2dac9c(0x220)]=_0x49735e;const _0x45fafa={};_0x45fafa[_0x2dac9c(0x25e)]=_0x1eb2e5,_0x45fafa[_0x2dac9c(0x211)]=!![],_0x45fafa['skipSessionName']=_0x2fce7a['config']['testContextOptions'][_0x2dac9c(0x224)],_0x45fafa[_0x2dac9c(0x1d5)]=_0x2fce7a[_0x2dac9c(0x21b)][_0x2dac9c(0x254)][_0x2dac9c(0x1d5)],_0x45fafa[_0x2dac9c(0x241)]=_0x16ba18,_0x45fafa[_0x2dac9c(0x203)]=_0x1a8646;const _0x12826b={};_0x12826b[_0x2dac9c(0x251)]=_0x45fafa;const _0xe9f615={};return _0xe9f615[_0x2dac9c(0x1ba)]=_0x12826b,helper[_0x2dac9c(0x22a)]({},_0x2f8210,_0x26fc68[_0x2dac9c(0x23c)](isBrowserstackInfra)?_0x267cfc:{},_0x21b928?{'grep':_0x21b928}:{},_0xe9f615);});for(const _0x2efe51 of _0x501181){for(const _0xf59fd4 of _0x432433){const _0x5172fe=_0x2fd276[_0x3053d2(0x265)]();_0x5172fe[_0x3053d2(0x247)](_0xf59fd4),_0x5172fe['addConfig'](_0x2efe51);const _0x39e6fe={};_0x39e6fe[_0x3053d2(0x21b)]=_0x34ffb6,_0x5172fe[_0x3053d2(0x1be)](Object[_0x3053d2(0x204)](_0x39e6fe,_0x1b5ee5));}}_0x2fd276['on'](CodeceptJS[_0x3053d2(0x1c9)][_0x3053d2(0x1ec)]['failed'],(_0x411108,_0x2469a9)=>{const _0x28e566=_0x3053d2;console[_0x28e566(0x1e3)](_0x26fc68[_0x28e566(0x259)],_0x411108[_0x28e566(0x1cd)]);const _0x597c62={[_0x411108['title']]:_0x411108[_0x28e566(0x21e)][_0x28e566(0x1e4)]};_testErrorData[_0x28e566(0x1f6)](_0x597c62);}),_0x2fd276['on'](CodeceptJS[_0x3053d2(0x1c9)][_0x3053d2(0x1ec)][_0x3053d2(0x1e0)],async _0x5e6858=>{const _0x4efe1a=_0x3053d2;console[_0x4efe1a(0x1e3)](_0x26fc68[_0x4efe1a(0x223)],_0x5e6858[_0x4efe1a(0x1cd)]);}),_0x2fd276['on'](CodeceptJS['event']['test'][_0x3053d2(0x245)],async _0xc6f9d3=>{const _0x30d78e=_0x3053d2;console['log'](_0x26fc68[_0x30d78e(0x24b)],_0xc6f9d3[_0x30d78e(0x1cd)]);}),_0x2fd276['on'](CodeceptJS[_0x3053d2(0x1c9)][_0x3053d2(0x1f1)][_0x3053d2(0x253)],async()=>{const _0x5701d6=_0x3053d2,_0x251dc5=_0x26fc68[_0x5701d6(0x22f)][_0x5701d6(0x261)]('|');let _0x125552=0x0;while(!![]){switch(_0x251dc5[_0x125552++]){case'0':try{await TestHubHandler[_0x5701d6(0x207)]();}catch(_0x34fbc0){logger[_0x5701d6(0x228)](_0x5701d6(0x1e1)+util['format'](_0x34fbc0));}continue;case'1':_0x2fd276[_0x5701d6(0x267)]();continue;case'2':utilities[_0x5701d6(0x266)](_0x2fce7a);continue;case'3':PerformanceTester[_0x5701d6(0x20e)](PerformanceEvents['SDK_CLEANUP']);continue;case'4':_0x2fce7a[_0x5701d6(0x216)]=_testErrorData;continue;}break;}});async function _0x467546(){const _0x29b4f2=_0x3053d2;try{await _0x2fd276[_0x29b4f2(0x1f3)](),await _0x2fd276['run']();}finally{process['chdir'](_0x1e67c0),await _0x2fd276['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0x3053d2(0x1cc)]),await _0x26fc68[_0x3053d2(0x1da)](_0x467546);}module[a1_0x2d4b3a(0x1ef)]=run;function a1_0x1f7d(){const _0x1952a4=['206482CrpucH','uOctI','format','userName','eJcFQ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','frameworkName','assign','/wd/hub','isRunning','stop','process','profile','isUndefined','zxWzM','162668xtyASi','length','start','playwright-firefox','661698VKtcBl','enabled','CODECEPT','ikrQB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Failed\x20:\x20','errorMessage','getUserWorkerCount','EVENTS','handleApp','browserWSEndpoint','config','existsSync','winstonLogger','err','Started\x20:\x20','helpers','accessibilityOptions','browser','JRBcu','skipSessionName','LiGcO','../../helpers/test-observability/utils','version','debug','path','mergeDeep','../../helpers/performance/performance-tester','join','isTestObservabilitySession','codeceptjs/package.json','vtUFQ','resolveWithinCwd','../v2/browserstackCLI','BrowserStackPlugin.js','eQtpY','LOsyC','chrome','../../helpers/testhub/testhubHandler','codecept.conf.js','2911560suzPZW','Ignoring\x20--config\x20path\x20\x22','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','fECRL','DDqhL','validPlatformsPresent','../../helpers/helper','Passed\x20:\x20','env','testObservability','wZCEI','551528BMBULw','toLowerCase','before','warn','addTests','Playwright','../utils/clientTroubleshootingService','_ensureInitialized','KPDWi','isTrue','STNpN','sPNKD','6vpNMWy','browserName','BrowserStackPlugin','mJYWu','result','testContextOptions','platforms','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','key','initialize','AXCUi','PuSzE','map','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupBrowserstackLocal','require','vkOwM','playwright-chromium','split','sNzAX','findIndex','pnygK','spawn','finalExecution','printResults','firefox','USER_CONFIG_DETAILS_PATH','WrBOv','dirname','root','AYLIP','printBuildLink','WebDriver','validateRerunTestList','function','forEach','eTXCs','../../helpers/utilities','stringify','TezRt','codecept.json','prepareCapabilities','sXehd','plugins','xGBHs','accessKey','QXOet','addOptions','OiYsd','../../helpers/test-observability/constants','BxeWZ','../utils/constants','kprDp','BfXDf','launchBuild','accessibility','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','HQaHk','event','util','../../helpers/BrowserStackSetup','SDK_SETUP','title','1859380RaqYek','lyLOI','splice','\x20detected\x20but\x20Workers._ensureInitialized\x20is\x20missing;\x20worker\x20suite\x20grouping\x20may\x20come\x20up\x20empty\x20(\x22No\x20tests\x20found\x20after\x20filtering\x22).\x20The\x20installed\x20codeceptjs\x20build\x20may\x20not\x20match\x20the\x20SDK\x27s\x204.x\x20ESM\x20interop.','BROWSERSTACK_FRAMEWORK','sEumi','isEmpty','skipSessionStatus','FRAMEWORKS','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chromium','CodeceptJS\x20','GhmqS','xNlhy','TSPKY','cwd','codeceptjs','sbqYw','passed','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','6DWHajV','log','stack','testConfig','../../helpers/accessibility-automation/helper','getPlatformName','gherkin','--config','true','info','test','12241050YgvOyB','mzcTe','exports','BROWSERSTACK_RERUN','all','chdir','bootstrapAll','7LGIDoX','desiredCapabilities','push','trim','../../bin/playwright/accessibility-helper','replace','wNdQE','getInstance','browserStackCwd'];a1_0x1f7d=function(){return _0x1952a4;};return a1_0x1f7d();}
@@ -1 +1 @@
1
- const a2_0xf82eca=a2_0x2d16;(function(_0x3ba9b4,_0x53249e){const _0x31158e=a2_0x2d16,_0x49b51a=_0x3ba9b4();while(!![]){try{const _0x3badc4=-parseInt(_0x31158e(0x153))/0x1+-parseInt(_0x31158e(0x174))/0x2+parseInt(_0x31158e(0x141))/0x3*(parseInt(_0x31158e(0x176))/0x4)+parseInt(_0x31158e(0x14f))/0x5*(parseInt(_0x31158e(0x163))/0x6)+parseInt(_0x31158e(0x168))/0x7+-parseInt(_0x31158e(0x16e))/0x8*(-parseInt(_0x31158e(0x154))/0x9)+parseInt(_0x31158e(0x17a))/0xa;if(_0x3badc4===_0x53249e)break;else _0x49b51a['push'](_0x49b51a['shift']());}catch(_0x21ef8d){_0x49b51a['push'](_0x49b51a['shift']());}}}(a2_0x4adb,0x3ae2b));function a2_0x2d16(_0x459153,_0x5e03fe){const _0x4adb91=a2_0x4adb();return a2_0x2d16=function(_0x2d165c,_0x343923){_0x2d165c=_0x2d165c-0x132;let _0x32a578=_0x4adb91[_0x2d165c];return _0x32a578;},a2_0x2d16(_0x459153,_0x5e03fe);}const {isUndefined,nestedKeyValue}=require(a2_0xf82eca(0x17d)),logger=require(a2_0xf82eca(0x16f))['winstonLogger'],PlaywrightSessionDetails=require(a2_0xf82eca(0x157)),{isAccessibilityAutomationSession}=require(a2_0xf82eca(0x152)),{getObservabilityLinkedProductName}=require(a2_0xf82eca(0x169)),accessibilityHelper=require(a2_0xf82eca(0x152)),{isBrowserstackInfra}=require(a2_0xf82eca(0x17d)),globals=require(a2_0xf82eca(0x182)),getOSVersionFromCaps=_0x383e72=>{const _0xf541f=a2_0xf82eca,_0x43f457={};_0x43f457[_0xf541f(0x134)]='bstack:options',_0x43f457[_0xf541f(0x13f)]='platformVersion',_0x43f457[_0xf541f(0x165)]=_0xf541f(0x159),_0x43f457[_0xf541f(0x185)]=_0xf541f(0x17c),_0x43f457[_0xf541f(0x16d)]=_0xf541f(0x183);const _0x333612=_0x43f457;if(!_0x383e72)return null;const _0xb91da2=_0x383e72[_0x333612['DxfZN']],_0xd5d199=[_0x333612[_0xf541f(0x13f)],_0x333612['XsJlC'],_0x333612[_0xf541f(0x185)],_0x333612['qOcvv']];for(const _0x32324b of _0xd5d199){if(_0xb91da2&&_0xb91da2[_0x32324b])return _0xb91da2[_0x32324b];else{if(_0x383e72[_0x32324b])return _0x383e72[_0x32324b];}}return null;};exports[a2_0xf82eca(0x147)]=_0x27e60f=>{const _0x2f0ff3=a2_0xf82eca,_0x20ad71={'PjYTT':_0x2f0ff3(0x138),'imCLg':function(_0x140875,_0x4e5d75){return _0x140875===_0x4e5d75;},'kJkMB':_0x2f0ff3(0x186),'SGvya':function(_0x4b76be,_0x18555b){return _0x4b76be(_0x18555b);},'wEfEH':function(_0x48eac5,_0x18eb8b,_0x3ad28b){return _0x48eac5(_0x18eb8b,_0x3ad28b);},'UUWby':_0x2f0ff3(0x158),'vAVhq':_0x2f0ff3(0x155),'bboDY':_0x2f0ff3(0x15c),'jrcjY':function(_0x473a57,_0xaac6dc,_0xc3bb32){return _0x473a57(_0xaac6dc,_0xc3bb32);},'FYOsy':_0x2f0ff3(0x145),'BysmF':_0x2f0ff3(0x136),'BCjxi':_0x2f0ff3(0x14b)};if(!_0x27e60f)return null;let _0x369949=global[_0x2f0ff3(0x170)]||_0x20ad71[_0x2f0ff3(0x188)];if(_0x20ad71['imCLg'](_0x27e60f[_0x2f0ff3(0x175)]['name'],_0x20ad71[_0x2f0ff3(0x171)])){const _0x20ab22=_0x27e60f[_0x2f0ff3(0x145)];if(!_0x20ab22)return null;const _0x33a7cf=_0x20ab22[_0x2f0ff3(0x178)],_0x5b5049=_0x20ad71[_0x2f0ff3(0x144)](getOSVersionFromCaps,_0x20ad71[_0x2f0ff3(0x135)](nestedKeyValue,_0x27e60f,[_0x20ad71[_0x2f0ff3(0x16a)],_0x20ad71[_0x2f0ff3(0x15e)]]));return{[_0x369949]:{'browser':_0x33a7cf[_0x2f0ff3(0x166)],'browser_version':_0x33a7cf[_0x2f0ff3(0x173)],'capabilities':_0x33a7cf,'platform':_0x33a7cf['platformName'],'platform_version':_0x33a7cf['platformVersion']||_0x5b5049,'product':_0x20ad71[_0x2f0ff3(0x144)](getObservabilityLinkedProductName,_0x33a7cf),'session_id':_0x20ab22[_0x2f0ff3(0x16c)]}};}else{if(_0x20ad71[_0x2f0ff3(0x150)](_0x27e60f[_0x2f0ff3(0x175)]['name'],_0x20ad71[_0x2f0ff3(0x164)])){const _0x4c5b63=PlaywrightSessionDetails['getDetails']();_0x369949=_0x4c5b63[_0x2f0ff3(0x151)]||_0x369949;const _0x1cd54b=_0x20ad71['jrcjY'](nestedKeyValue,_0x27e60f,[_0x20ad71[_0x2f0ff3(0x16a)],_0x20ad71[_0x2f0ff3(0x177)],_0x20ad71[_0x2f0ff3(0x133)]]),_0xd0178c=_0x1cd54b?JSON[_0x2f0ff3(0x13c)](new URL(_0x1cd54b)[_0x2f0ff3(0x148)][_0x2f0ff3(0x15b)](_0x20ad71[_0x2f0ff3(0x162)])):{};return{[_0x369949]:{'browser':_0x4c5b63[_0x2f0ff3(0x145)]||_0xd0178c[_0x2f0ff3(0x166)],'browser_version':_0x4c5b63['browser_version']||_0xd0178c[_0x2f0ff3(0x172)],'capabilities':_0xd0178c,'platform':_0x4c5b63[_0x2f0ff3(0x140)],'platform_version':_0x4c5b63[_0x2f0ff3(0x159)],'product':_0x20ad71[_0x2f0ff3(0x144)](getObservabilityLinkedProductName,_0xd0178c),'session_id':_0x4c5b63['bsSessionId']}};}}};const setAccessibilityPlatformFlag=_0x5e5b0e=>{const _0x360ce3=a2_0xf82eca,_0x358868={};_0x358868[_0x360ce3(0x17e)]=_0x360ce3(0x14c);const _0x1aa6e9=_0x358868;global[_0x360ce3(0x13a)]=_0x5e5b0e,globals[_0x360ce3(0x184)](_0x1aa6e9[_0x360ce3(0x17e)],_0x5e5b0e);};exports[a2_0xf82eca(0x160)]=_0x561745=>{const _0xcd195c=a2_0xf82eca,_0x5310f4={'PdUSX':function(_0x1a0ee7){return _0x1a0ee7();},'bUasw':function(_0x17c478,_0x305548){return _0x17c478(_0x305548);},'JtZhR':_0xcd195c(0x17f),'OzBkZ':function(_0x151173,_0xbfe3f8){return _0x151173!==_0xbfe3f8;},'ryhsY':'latest','JWiGn':function(_0x395a80){return _0x395a80();},'bOWXY':_0xcd195c(0x180),'TLmce':function(_0x2ba108,_0x51499b){return _0x2ba108(_0x51499b);},'EyuiU':function(_0x4cc4ca,_0x2978a0){return _0x4cc4ca(_0x2978a0);},'BHiIS':_0xcd195c(0x13e)};if(_0x5310f4[_0xcd195c(0x187)](isAccessibilityAutomationSession)){const _0x493808=_0x561745['browser'],_0x45262a=_0x493808['capabilities'];_0x5310f4['bUasw'](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0xcd195c(0x179)](_0x45262a[_0xcd195c(0x166)])&&(logger['warn'](_0x5310f4[_0xcd195c(0x161)]),_0x5310f4[_0xcd195c(0x142)](setAccessibilityPlatformFlag,![]));if(_0x5310f4[_0xcd195c(0x143)](_0x45262a['browserVersion'],_0x5310f4['ryhsY'])){const _0x2229b9=_0x5310f4[_0xcd195c(0x14d)](isBrowserstackInfra),_0x8893f7=accessibilityHelper[_0xcd195c(0x137)](_0x45262a[_0xcd195c(0x166)],_0x2229b9),_0x5c2203=accessibilityHelper[_0xcd195c(0x146)](_0x45262a['browserName']);if(!accessibilityHelper['isVersionSupported'](_0x45262a['browserVersion'],_0x8893f7)){const _0x16e3a4=_0x2229b9?'':_0x5310f4[_0xcd195c(0x149)];logger[_0xcd195c(0x181)](_0xcd195c(0x13b)+_0x5c2203+_0xcd195c(0x16b)+_0x8893f7+_0xcd195c(0x13d)+_0x16e3a4+'.'),_0x5310f4[_0xcd195c(0x17b)](setAccessibilityPlatformFlag,![]);}}!_0x5310f4[_0xcd195c(0x15a)](isUndefined,_0x45262a[_0xcd195c(0x14e)])&&(logger[_0xcd195c(0x181)](_0x5310f4[_0xcd195c(0x139)]),_0x5310f4[_0xcd195c(0x142)](setAccessibilityPlatformFlag,![]));}},exports[a2_0xf82eca(0x14a)]=_0x3d9ad6=>{const _0x52b6a1=a2_0xf82eca,_0x5391ca={};_0x5391ca['yAFkF']=function(_0x5a68fb,_0x29f8e2){return _0x5a68fb!==_0x29f8e2;},_0x5391ca[_0x52b6a1(0x15d)]='string',_0x5391ca[_0x52b6a1(0x156)]=_0x52b6a1(0x15f),_0x5391ca['DIatJ']='browserstack_accessibility_automation_script';const _0x5df30d=_0x5391ca;if(!_0x3d9ad6)return![];else{if(_0x5df30d[_0x52b6a1(0x167)](typeof _0x3d9ad6,_0x5df30d[_0x52b6a1(0x15d)]))return!![];}return!_0x3d9ad6[_0x52b6a1(0x132)](_0x5df30d[_0x52b6a1(0x156)])&&!_0x3d9ad6['includes'](_0x5df30d['DIatJ']);};function a2_0x4adb(){const _0x1a103e=['zjMOb','platform','374091rbRmdr','bUasw','OzBkZ','SGvya','browser','getBrowserDisplayName','fetchPlatformDetails','searchParams','bOWXY','shouldPatchExecuteScript','caps','isAccessibilityPlatform','JWiGn','deviceName','15FtAaKB','imCLg','cloudProvider','../../helpers/accessibility-automation/helper','126805qRhFSW','41598dPrLwS','desiredCapabilities','Qtwhl','../../bin/playwright/sessionDetails','config','platform_version','EyuiU','get','Playwright','oMRfn','vAVhq','browserstack_executor','processWebDriverConfig','JtZhR','BCjxi','693060EBkkbT','bboDY','XsJlC','browserName','yAFkF','861343PXmRIB','../../helpers/test-observability/utils','UUWby','\x20browser\x20version\x20','sessionId','qOcvv','32ssFnHm','../../helpers/logger','__cloud_provider___','kJkMB','browser_version','browserVersion','867960fiMloh','constructor','4hIYUKQ','FYOsy','capabilities','isBrowserSupportedForAccessibility','1892160NpYmaU','TLmce','osVersion','../../helpers/helper','IleKx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','on\x20non-BrowserStack\x20infrastructure\x20','warn','../../helpers/globals.js','os_version','setGlobal','flGLJ','WebDriver','PdUSX','PjYTT','includes','BysmF','DxfZN','wEfEH','browserWSEndpoint','getMinVersionForBrowser','unknown_grid','BHiIS','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','parse','\x20or\x20higher\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'];a2_0x4adb=function(){return _0x1a103e;};return a2_0x4adb();}
1
+ const a2_0x1b6d8c=a2_0x2dc5;(function(_0x5b345e,_0x36113a){const _0x24d31c=a2_0x2dc5,_0x1c36f2=_0x5b345e();while(!![]){try{const _0xee28cf=-parseInt(_0x24d31c(0x12b))/0x1*(-parseInt(_0x24d31c(0x136))/0x2)+-parseInt(_0x24d31c(0x13a))/0x3+-parseInt(_0x24d31c(0x101))/0x4+parseInt(_0x24d31c(0x108))/0x5+-parseInt(_0x24d31c(0x12c))/0x6*(-parseInt(_0x24d31c(0x131))/0x7)+-parseInt(_0x24d31c(0x13f))/0x8+-parseInt(_0x24d31c(0x111))/0x9;if(_0xee28cf===_0x36113a)break;else _0x1c36f2['push'](_0x1c36f2['shift']());}catch(_0x504838){_0x1c36f2['push'](_0x1c36f2['shift']());}}}(a2_0xeb63,0x39eee));function a2_0x2dc5(_0x23a9c8,_0xfd2862){const _0xeb63e3=a2_0xeb63();return a2_0x2dc5=function(_0x2dc517,_0x2e2595){_0x2dc517=_0x2dc517-0xfc;let _0x16772e=_0xeb63e3[_0x2dc517];return _0x16772e;},a2_0x2dc5(_0x23a9c8,_0xfd2862);}function a2_0xeb63(){const _0x3b19ef=['GPxAp','gxcnL','name','omjKh','capabilities','browserName','\x20or\x20higher\x20','getMinVersionForBrowser','platform','unknown_grid','53740OTvOHl','pPHwa','browserVersion','nTJyj','winstonLogger','qLsHl','platformVersion','2204550ldqvmO','browserstack_accessibility_automation_script','xpTFy','\x20browser\x20version\x20','CBCgn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','fetchPlatformDetails','desiredCapabilities','xHVRV','3469581iaTvvc','KiCiz','deviceName','../../helpers/accessibility-automation/helper','TYunU','../../helpers/logger','browserstack_executor','accessibilityPlatform','includes','browser_version','platform_version','Playwright','EeyFH','parse','bstack:options','get','FhUlI','Gdxbr','isVersionSupported','kZsoy','tHdQw','platformName','browserWSEndpoint','__cloud_provider___','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','tkvhR','2CfVgFI','12imTkGl','roghv','sessionId','rjwIJ','caps','1537200hylbgV','fhGgn','VXEtH','QDdvN','browser','132108fzZWVw','warn','SeGTQ','ofXgZ','664203HLRdqU','wROsr','osVersion','../../helpers/globals.js','WUBzn','1236632ZfpHjo','config','setGlobal','constructor','PhMfZ','opcZx','isBrowserSupportedForAccessibility','cloudProvider'];a2_0xeb63=function(){return _0x3b19ef;};return a2_0xeb63();}const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a2_0x1b6d8c(0x116))[a2_0x1b6d8c(0x105)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a2_0x1b6d8c(0x114)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a2_0x1b6d8c(0x114)),{isBrowserstackInfra}=require('../../helpers/helper'),globals=require(a2_0x1b6d8c(0x13d)),getOSVersionFromCaps=_0x48faad=>{const _0x21ee9b=a2_0x1b6d8c,_0x6dc74f={};_0x6dc74f['WUBzn']=_0x21ee9b(0x11f),_0x6dc74f[_0x21ee9b(0x125)]=_0x21ee9b(0x107),_0x6dc74f[_0x21ee9b(0x134)]=_0x21ee9b(0x11b),_0x6dc74f[_0x21ee9b(0x115)]=_0x21ee9b(0x13c),_0x6dc74f[_0x21ee9b(0x12f)]='os_version';const _0x9e6329=_0x6dc74f;if(!_0x48faad)return null;const _0x17b421=_0x48faad[_0x9e6329[_0x21ee9b(0x13e)]],_0x59e541=[_0x9e6329[_0x21ee9b(0x125)],_0x9e6329['QDdvN'],_0x9e6329['TYunU'],_0x9e6329[_0x21ee9b(0x12f)]];for(const _0x3aaa84 of _0x59e541){if(_0x17b421&&_0x17b421[_0x3aaa84])return _0x17b421[_0x3aaa84];else{if(_0x48faad[_0x3aaa84])return _0x48faad[_0x3aaa84];}}return null;};exports[a2_0x1b6d8c(0x10e)]=_0x48cee3=>{const _0x2a33e9=a2_0x1b6d8c,_0x1cc7a2={'PhMfZ':_0x2a33e9(0x100),'ofXgZ':function(_0xc78e6f,_0x18c1bc){return _0xc78e6f===_0x18c1bc;},'wROsr':'WebDriver','Gdxbr':function(_0x3821af,_0x2a77a9){return _0x3821af(_0x2a77a9);},'omjKh':function(_0x8d164b,_0xabe7e0,_0x45b77c){return _0x8d164b(_0xabe7e0,_0x45b77c);},'yfKCE':_0x2a33e9(0x140),'KiCiz':_0x2a33e9(0x10f),'qLsHl':function(_0x490492,_0x3ac9b7){return _0x490492(_0x3ac9b7);},'wbIFn':function(_0x5e8a4c,_0x342a8e){return _0x5e8a4c===_0x342a8e;},'pPHwa':_0x2a33e9(0x11c),'VXEtH':_0x2a33e9(0x135),'roghv':_0x2a33e9(0x127),'nTJyj':_0x2a33e9(0x130),'fhGgn':function(_0x2a84e8,_0x418642){return _0x2a84e8(_0x418642);}};if(!_0x48cee3)return null;let _0x352073=global[_0x2a33e9(0x128)]||_0x1cc7a2[_0x2a33e9(0x143)];if(_0x1cc7a2[_0x2a33e9(0x139)](_0x48cee3['constructor'][_0x2a33e9(0x149)],_0x1cc7a2[_0x2a33e9(0x13b)])){const _0x1d4c0e=_0x48cee3[_0x2a33e9(0x135)];if(!_0x1d4c0e)return null;const _0x294305=_0x1d4c0e[_0x2a33e9(0x14b)],_0x9a17e2=_0x1cc7a2[_0x2a33e9(0x122)](getOSVersionFromCaps,_0x1cc7a2[_0x2a33e9(0x14a)](nestedKeyValue,_0x48cee3,[_0x1cc7a2['yfKCE'],_0x1cc7a2[_0x2a33e9(0x112)]]));return{[_0x352073]:{'browser':_0x294305[_0x2a33e9(0xfc)],'browser_version':_0x294305[_0x2a33e9(0x103)],'capabilities':_0x294305,'platform':_0x294305[_0x2a33e9(0x126)],'platform_version':_0x294305[_0x2a33e9(0x107)]||_0x9a17e2,'product':_0x1cc7a2[_0x2a33e9(0x106)](getObservabilityLinkedProductName,_0x294305),'session_id':_0x1d4c0e[_0x2a33e9(0x12e)]}};}else{if(_0x1cc7a2['wbIFn'](_0x48cee3[_0x2a33e9(0x142)][_0x2a33e9(0x149)],_0x1cc7a2[_0x2a33e9(0x102)])){const _0x1bd575=PlaywrightSessionDetails['getDetails']();_0x352073=_0x1bd575[_0x2a33e9(0x146)]||_0x352073;const _0x2a1afe=_0x1cc7a2[_0x2a33e9(0x14a)](nestedKeyValue,_0x48cee3,[_0x1cc7a2['yfKCE'],_0x1cc7a2[_0x2a33e9(0x133)],_0x1cc7a2[_0x2a33e9(0x12d)]]),_0x2d1d71=_0x2a1afe?JSON[_0x2a33e9(0x11e)](new URL(_0x2a1afe)['searchParams'][_0x2a33e9(0x120)](_0x1cc7a2[_0x2a33e9(0x104)])):{};return{[_0x352073]:{'browser':_0x1bd575['browser']||_0x2d1d71[_0x2a33e9(0xfc)],'browser_version':_0x1bd575[_0x2a33e9(0x11a)]||_0x2d1d71[_0x2a33e9(0x11a)],'capabilities':_0x2d1d71,'platform':_0x1bd575[_0x2a33e9(0xff)],'platform_version':_0x1bd575['platform_version'],'product':_0x1cc7a2[_0x2a33e9(0x132)](getObservabilityLinkedProductName,_0x2d1d71),'session_id':_0x1bd575['bsSessionId']}};}}};const setAccessibilityPlatformFlag=_0x903619=>{const _0x594833=a2_0x1b6d8c,_0x1ac0c0={};_0x1ac0c0[_0x594833(0x110)]='isAccessibilityPlatform';const _0x52f087=_0x1ac0c0;global[_0x594833(0x118)]=_0x903619,globals[_0x594833(0x141)](_0x52f087[_0x594833(0x110)],_0x903619);};exports['processWebDriverConfig']=_0x26bb08=>{const _0x4d6254=a2_0x1b6d8c,_0x260453={'opcZx':function(_0x3a9dd1){return _0x3a9dd1();},'gxcnL':function(_0x2a69f2,_0x10a05b){return _0x2a69f2(_0x10a05b);},'EeyFH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','dgKqX':function(_0x20b2b7,_0x42ee23){return _0x20b2b7(_0x42ee23);},'OFwdo':function(_0x52ddc5,_0x5a645c){return _0x52ddc5!==_0x5a645c;},'ALnvw':'latest','tkvhR':'on\x20non-BrowserStack\x20infrastructure\x20','kZsoy':function(_0x3fdf89,_0x5f3474){return _0x3fdf89(_0x5f3474);},'xpTFy':_0x4d6254(0x129),'GPxAp':function(_0x1656bd,_0x13862a){return _0x1656bd(_0x13862a);}};if(_0x260453[_0x4d6254(0x144)](isAccessibilityAutomationSession)){const _0x3a8c19=_0x26bb08[_0x4d6254(0x135)],_0x464d30=_0x3a8c19[_0x4d6254(0x14b)];_0x260453[_0x4d6254(0x148)](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0x4d6254(0x145)](_0x464d30[_0x4d6254(0xfc)])&&(logger['warn'](_0x260453[_0x4d6254(0x11d)]),_0x260453['dgKqX'](setAccessibilityPlatformFlag,![]));if(_0x260453['OFwdo'](_0x464d30[_0x4d6254(0x103)],_0x260453['ALnvw'])){const _0x3e6e49=_0x260453[_0x4d6254(0x144)](isBrowserstackInfra),_0x12b9cf=accessibilityHelper[_0x4d6254(0xfe)](_0x464d30['browserName'],_0x3e6e49),_0x15397c=accessibilityHelper['getBrowserDisplayName'](_0x464d30['browserName']);if(!accessibilityHelper[_0x4d6254(0x123)](_0x464d30[_0x4d6254(0x103)],_0x12b9cf)){const _0x5bef3b=_0x3e6e49?'':_0x260453[_0x4d6254(0x12a)];logger[_0x4d6254(0x137)](_0x4d6254(0x10d)+_0x15397c+_0x4d6254(0x10b)+_0x12b9cf+_0x4d6254(0xfd)+_0x5bef3b+'.'),_0x260453[_0x4d6254(0x124)](setAccessibilityPlatformFlag,![]);}}!_0x260453[_0x4d6254(0x124)](isUndefined,_0x464d30[_0x4d6254(0x113)])&&(logger[_0x4d6254(0x137)](_0x260453[_0x4d6254(0x10a)]),_0x260453[_0x4d6254(0x147)](setAccessibilityPlatformFlag,![]));}},exports['shouldPatchExecuteScript']=_0x1db44c=>{const _0x4cfd29=a2_0x1b6d8c,_0x44409e={};_0x44409e[_0x4cfd29(0x10c)]=function(_0x4ed547,_0xbe05a6){return _0x4ed547!==_0xbe05a6;},_0x44409e['RmcfO']='string',_0x44409e[_0x4cfd29(0x121)]=_0x4cfd29(0x117),_0x44409e['SeGTQ']=_0x4cfd29(0x109);const _0x3418fd=_0x44409e;if(!_0x1db44c)return![];else{if(_0x3418fd['CBCgn'](typeof _0x1db44c,_0x3418fd['RmcfO']))return!![];}return!_0x1db44c[_0x4cfd29(0x119)](_0x3418fd[_0x4cfd29(0x121)])&&!_0x1db44c['includes'](_0x3418fd[_0x4cfd29(0x138)]);};
@@ -1 +1 @@
1
- function a3_0x3a1f(_0x40276b,_0x1751c5){const _0x3df72b=a3_0x3df7();return a3_0x3a1f=function(_0x3a1fd3,_0x321da7){_0x3a1fd3=_0x3a1fd3-0x155;let _0x4b1a98=_0x3df72b[_0x3a1fd3];return _0x4b1a98;},a3_0x3a1f(_0x40276b,_0x1751c5);}const a3_0x2d25d2=a3_0x3a1f;(function(_0x31dbba,_0x42bcec){const _0xfe48bd=a3_0x3a1f,_0x4e1c11=_0x31dbba();while(!![]){try{const _0x246372=-parseInt(_0xfe48bd(0x199))/0x1+-parseInt(_0xfe48bd(0x200))/0x2*(-parseInt(_0xfe48bd(0x20c))/0x3)+parseInt(_0xfe48bd(0x20a))/0x4*(parseInt(_0xfe48bd(0x18b))/0x5)+-parseInt(_0xfe48bd(0x22c))/0x6*(parseInt(_0xfe48bd(0x157))/0x7)+parseInt(_0xfe48bd(0x1ba))/0x8+-parseInt(_0xfe48bd(0x223))/0x9+parseInt(_0xfe48bd(0x24c))/0xa;if(_0x246372===_0x42bcec)break;else _0x4e1c11['push'](_0x4e1c11['shift']());}catch(_0x199064){_0x4e1c11['push'](_0x4e1c11['shift']());}}}(a3_0x3df7,0xc99fb));const path=require(a3_0x2d25d2(0x1d0)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a3_0x2d25d2(0x17f)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x2d25d2(0x1d8)),testOpsHelper=require(a3_0x2d25d2(0x1dc)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a3_0x2d25d2(0x229))[a3_0x2d25d2(0x1a0)],SessionHandler=require(a3_0x2d25d2(0x1ca)),RequestQueueHandler=require(a3_0x2d25d2(0x1d1)),PlaywrightSessionDetails=require(a3_0x2d25d2(0x1d4)),debug=testOpsHelper[a3_0x2d25d2(0x22f)],{processAccessibilityCaps}=require(a3_0x2d25d2(0x15e)),Constants=require(a3_0x2d25d2(0x1a7)),{fetchPlatformDetails}=require(a3_0x2d25d2(0x17a)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x2d25d2(0x1ed)),constants=require(a3_0x2d25d2(0x1a7)),STATE_PASSED='passed',STATE_FAILED=a3_0x2d25d2(0x250),a3_0x3b8237={};a3_0x3b8237[a3_0x2d25d2(0x1cb)]=a3_0x2d25d2(0x17e),a3_0x3b8237[a3_0x2d25d2(0x1f3)]=a3_0x2d25d2(0x224),a3_0x3b8237[a3_0x2d25d2(0x244)]=a3_0x2d25d2(0x225),a3_0x3b8237[a3_0x2d25d2(0x201)]='HookRunStarted',a3_0x3b8237['HOOK_RUN_FINISHED']=a3_0x2d25d2(0x1a2);const TEST_EVENTS=a3_0x3b8237,parseEvent=_0x110606=>{const _0x1180a5=a3_0x2d25d2,_0x45d4ec={};_0x45d4ec[_0x1180a5(0x191)]=function(_0x137465,_0x4c0aec){return _0x137465<_0x4c0aec;},_0x45d4ec[_0x1180a5(0x208)]=function(_0x244ae5,_0x1207be){return _0x244ae5===_0x1207be;},_0x45d4ec['pGNPI']=_0x1180a5(0x19b),_0x45d4ec[_0x1180a5(0x195)]=function(_0x303017,_0x32ccdc){return _0x303017===_0x32ccdc;},_0x45d4ec[_0x1180a5(0x240)]='hook',_0x45d4ec[_0x1180a5(0x18c)]=function(_0x358270,_0x27775c){return _0x358270===_0x27775c;},_0x45d4ec[_0x1180a5(0x245)]=_0x1180a5(0x15b),_0x45d4ec[_0x1180a5(0x196)]='started',_0x45d4ec[_0x1180a5(0x1d5)]=_0x1180a5(0x238);const _0x583d87=_0x45d4ec,_0x44b0a6=_0x110606[_0x1180a5(0x233)](/^(.*)Run(.*)$/);if(!_0x44b0a6)return null;if(_0x583d87[_0x1180a5(0x191)](_0x44b0a6['length'],0x3))return null;const _0x53c8ad=_0x44b0a6[0x1]['toLowerCase'](),_0x583be8=_0x44b0a6[0x2][_0x1180a5(0x18d)]();return{'test':_0x583d87[_0x1180a5(0x208)](_0x53c8ad,_0x583d87['pGNPI']),'hook':_0x583d87[_0x1180a5(0x195)](_0x53c8ad,_0x583d87[_0x1180a5(0x240)]),'skipped':_0x583d87[_0x1180a5(0x18c)](_0x583be8,_0x583d87[_0x1180a5(0x245)]),'started':_0x583d87['XLZKw'](_0x583be8,_0x583d87[_0x1180a5(0x196)]),'finished':_0x583d87['fiqoh'](_0x583be8,_0x583d87[_0x1180a5(0x1d5)])};},mockPWBrowserType=_0x1e751e=>{const _0x50c5a7=a3_0x2d25d2,_0x32b2a5={'jnoCp':function(_0x4cb8ba,_0x29d019,_0x52984c){return _0x4cb8ba(_0x29d019,_0x52984c);},'WHUVC':_0x50c5a7(0x15d),'SZfXn':function(_0x46582b,_0x36594f){return _0x46582b(_0x36594f);},'xseAP':_0x50c5a7(0x167),'GWkyM':function(_0x4f965f,_0x51d707){return _0x4f965f===_0x51d707;},'RJXqG':_0x50c5a7(0x1eb),'wqFzl':function(_0x57749b){return _0x57749b();},'uGrTY':'Not\x20able\x20to\x20import\x20Browser','Tbtft':'connect','SzeLX':'launch'},_0x30d236=_0x32b2a5[_0x50c5a7(0x23c)](resolveBrowserTypeClass);if(!_0x30d236){_0x32b2a5[_0x50c5a7(0x184)](debug,_0x32b2a5[_0x50c5a7(0x210)]);return;}const _0x560e2f=_0x30d236[_0x50c5a7(0x161)];if(_0x560e2f[_0x50c5a7(0x190)])return;const _0x5537c7=_0x560e2f[_0x50c5a7(0x241)];Object[_0x50c5a7(0x1e2)](_0x560e2f,_0x32b2a5[_0x50c5a7(0x1f9)],{'get':function(){const _0x2b1e00=_0x50c5a7,_0x14b208={'VtoFR':function(_0x426b4b,_0x5782f6){return _0x32b2a5['GWkyM'](_0x426b4b,_0x5782f6);},'GDxMo':_0x32b2a5[_0x2b1e00(0x185)]};return async function _0x12ee93(_0x4d8f3a,_0x31da0b){const _0x25c856=_0x2b1e00,_0x47226=_0x32b2a5[_0x25c856(0x1fb)](nestedKeyValue,_0x4d8f3a,[_0x32b2a5[_0x25c856(0x1b7)]])||_0x4d8f3a;let _0x25fa22=null,_0x261e25=null;try{[_0x261e25,_0x25fa22]=_0x47226?_0x32b2a5[_0x25c856(0x184)](parseWSEndpoint,_0x47226):[null,null],global[_0x25c856(0x163)]=_0x25fa22,logger[_0x25c856(0x22f)](_0x25c856(0x1ae)+_0x261e25),_0x261e25[_0x25c856(0x23e)](Constants['BROWSERSTACK'])&&(global[_0x25c856(0x221)]=_0x32b2a5[_0x25c856(0x1fa)]);}catch(_0x5c4fc9){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x47226+'\x20'+_0x5c4fc9);}_0x32b2a5[_0x25c856(0x1fb)](processAccessibilityCaps,_0x25fa22,_0x261e25);if(global[_0x25c856(0x205)]){const _0x4c949e=await _0x560e2f[_0x25c856(0x22b)][_0x25c856(0x164)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x32b2a5['SZfXn'](encodeURIComponent,JSON[_0x25c856(0x1d9)](_0x25fa22))]);return PlaywrightSessionDetails[_0x25c856(0x1f6)](_0x4c949e,_0x1e751e,_0x47226),_0x4c949e;}return _0x5537c7[_0x25c856(0x164)](this,arguments)['then'](_0x2552d8=>{const _0x5a75ca=_0x25c856;let _0x1445ce=_0x4d8f3a[_0x5a75ca(0x15d)];return _0x14b208['VtoFR'](typeof _0x4d8f3a,_0x14b208[_0x5a75ca(0x1d7)])&&(_0x1445ce=_0x4d8f3a),PlaywrightSessionDetails[_0x5a75ca(0x1f6)](_0x2552d8,_0x1e751e,_0x1445ce),_0x2552d8;});};}});const _0x44e85f=_0x560e2f[_0x50c5a7(0x17c)];Object['defineProperty'](_0x560e2f,_0x32b2a5[_0x50c5a7(0x165)],{'get':function(){return async function _0x9bf06a(){const _0x16e3e1=a3_0x3a1f;return _0x44e85f[_0x16e3e1(0x164)](this,arguments)[_0x16e3e1(0x166)](_0x208049=>{const _0xa3090=_0x16e3e1;return PlaywrightSessionDetails[_0xa3090(0x1f6)](_0x208049,null),_0x208049;});};}});};class O11yHelper{[a3_0x2d25d2(0x1c5)]=null;[a3_0x2d25d2(0x24a)]=null;['enabled']=![];[a3_0x2d25d2(0x1c7)]=![];[a3_0x2d25d2(0x248)]=[];constructor(_0x2aad96,_0x338866){const _0xa5f1c8=a3_0x2d25d2,_0x25f7c3={'prvjJ':_0xa5f1c8(0x1a9),'itMZU':function(_0x3f7737){return _0x3f7737();},'Pizcp':function(_0x5d220f,_0x35fe1d){return _0x5d220f===_0x35fe1d;},'GeqGg':_0xa5f1c8(0x1b4),'MKwFO':function(_0x1263ff,_0x532646){return _0x1263ff(_0x532646);}},_0x187ec0=_0x25f7c3[_0xa5f1c8(0x1be)][_0xa5f1c8(0x227)]('|');let _0x549abe=0x0;while(!![]){switch(_0x187ec0[_0x549abe++]){case'0':this[_0xa5f1c8(0x1a6)]=new testOpsHelper[(_0xa5f1c8(0x209))]({'cwd':process['cwd']()},this['_testEnv'][_0xa5f1c8(0x186)]);continue;case'1':this[_0xa5f1c8(0x160)]=_0x25f7c3[_0xa5f1c8(0x21f)](shouldProcessEventForTesthub);continue;case'2':this['driver']&&_0x25f7c3[_0xa5f1c8(0x16a)](this[_0xa5f1c8(0x181)][_0xa5f1c8(0x1e6)]['name'],_0x25f7c3['GeqGg'])&&_0x25f7c3[_0xa5f1c8(0x1fd)](mockPWBrowserType,null);continue;case'3':this[_0xa5f1c8(0x181)]=_0x2aad96;continue;case'4':this[_0xa5f1c8(0x1c7)]=_0x338866[_0xa5f1c8(0x1c7)];continue;case'5':this['_testEnv']=_0x25f7c3[_0xa5f1c8(0x21f)](getTestEnv);continue;}break;}}[a3_0x2d25d2(0x251)](){const _0x39d231=a3_0x2d25d2,_0x5bdbc8={'LPHwm':function(_0x3f7c8a,_0xa9dc16){return _0x3f7c8a(_0xa9dc16);}};if(!this['driver'])return![];try{const _0x28bc3b=_0x5bdbc8[_0x39d231(0x169)](fetchPlatformDetails,this['driver']);if(!_0x28bc3b)return![];const _0x17adcb=Object[_0x39d231(0x216)](_0x28bc3b)[0x0];return!!(_0x17adcb&&_0x28bc3b[_0x17adcb]&&_0x28bc3b[_0x17adcb][_0x39d231(0x21c)]);}catch(_0xe6af25){return![];}}[a3_0x2d25d2(0x1f2)](_0x575350,_0x5492fe){const _0x5c6f3a=a3_0x2d25d2;if(!_0x5492fe)return;const _0x334980={};_0x334980[_0x5c6f3a(0x19d)]=_0x575350,_0x334980[_0x5c6f3a(0x1bb)]=_0x5492fe,this[_0x5c6f3a(0x248)][_0x5c6f3a(0x155)](_0x334980);}async['flushPendingHookEvents'](){const _0xf89393=a3_0x2d25d2,_0x578fe7={};_0x578fe7[_0xf89393(0x1de)]=function(_0x2d1c45,_0xb278bd){return _0x2d1c45&&_0xb278bd;};const _0x8ac617=_0x578fe7;if(!this[_0xf89393(0x248)][_0xf89393(0x1b6)])return;if(!this[_0xf89393(0x251)]())return;const _0x47aa6a=this[_0xf89393(0x173)](this['driver']),_0x3a8ca3=this[_0xf89393(0x248)][_0xf89393(0x1e7)](0x0,this[_0xf89393(0x248)][_0xf89393(0x1b6)]);for(const {eventType:_0x2e0dec,uploadData:_0x233b0b}of _0x3a8ca3){try{const _0x2efdc5=_0x233b0b['hook_run']||_0x233b0b['test_run'];_0x8ac617['RAGHt'](_0x2efdc5,_0x47aa6a)&&(_0x2efdc5['integrations']=_0x47aa6a),await this['fireEvent'](_0x2e0dec,_0x233b0b);}catch(_0x2d3d8a){logger['debug'](_0xf89393(0x1c0)+_0x2e0dec+':\x20'+util['format'](_0x2d3d8a));}}}[a3_0x2d25d2(0x1b8)](){const _0x2343e1=a3_0x2d25d2;if(!this[_0x2343e1(0x160)])return;testOpsHelper[_0x2343e1(0x189)](),process[_0x2343e1(0x198)](_0x2343e1(0x1d6)+process[_0x2343e1(0x1ce)]),process['on'](_0x2343e1(0x1d6)+process['pid'],this[_0x2343e1(0x1df)][_0x2343e1(0x178)](this));}async[a3_0x2d25d2(0x1ad)](){const _0x52d2d1=a3_0x2d25d2;await RequestQueueHandler[_0x52d2d1(0x1a1)]()[_0x52d2d1(0x1c6)]();}async[a3_0x2d25d2(0x1df)](_0xd03014){const _0x2ebf1b=a3_0x2d25d2,_0x247882={'QyJaU':_0x2ebf1b(0x17b),'JkQyD':function(_0x4c2ab7,_0x52eda0){return _0x4c2ab7(_0x52eda0);}};try{this['currentHook']&&!this[_0x2ebf1b(0x24a)][_0x2ebf1b(0x211)]&&(_0xd03014[_0x2ebf1b(0x21e)]=this[_0x2ebf1b(0x24a)][_0x2ebf1b(0x1a4)]);!_0xd03014['hook_run_uuid']&&this['currentTest']&&!this[_0x2ebf1b(0x1c5)][_0x2ebf1b(0x211)]&&(_0xd03014[_0x2ebf1b(0x214)]=this['currentTest'][_0x2ebf1b(0x236)]);if(_0xd03014['hook_run_uuid']||_0xd03014[_0x2ebf1b(0x214)]){const _0x5ca9e7={};_0x5ca9e7['event_type']=_0x247882[_0x2ebf1b(0x1b3)],_0x5ca9e7[_0x2ebf1b(0x1f0)]=[_0xd03014],await SessionHandler[_0x2ebf1b(0x23b)](_0x5ca9e7);}}catch(_0x11df86){_0x247882[_0x2ebf1b(0x1c4)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x2ebf1b(0x212)]+_0x2ebf1b(0x1b0)+_0x11df86);}}async['sendCBTInfo'](_0x1cfffc){const _0x547434=a3_0x2d25d2,_0x5eb129={'cGPTK':_0x547434(0x162),'IURKw':function(_0x3bf620,_0x242a92){return _0x3bf620(_0x242a92);}};if(!this[_0x547434(0x160)])return;const _0xb4a334=this[_0x547434(0x173)](this[_0x547434(0x181)]);try{const _0x15cca4={};_0x15cca4[_0x547434(0x17f)]=_0x1cfffc,_0x15cca4[_0x547434(0x249)]=_0xb4a334;const _0x5106e8=_0x15cca4,_0x3eea79={};_0x3eea79[_0x547434(0x1ef)]=_0x5eb129[_0x547434(0x1ff)],_0x3eea79[_0x547434(0x215)]=_0x5106e8,await SessionHandler[_0x547434(0x23b)](_0x3eea79);}catch(_0x56dc9a){_0x5eb129[_0x547434(0x159)](debug,_0x547434(0x242)+constants['TEST_REPORTING_ANALYTICS']+_0x547434(0x1b0)+_0x56dc9a);}}[a3_0x2d25d2(0x173)](_0x53a8ca){const _0x2c2219={'QHICO':function(_0x310e24,_0x1e38fb){return _0x310e24(_0x1e38fb);}};return _0x2c2219['QHICO'](fetchPlatformDetails,_0x53a8ca);}[a3_0x2d25d2(0x1fe)]=_0x259147=>{const _0x553043=a3_0x2d25d2,_0x359327={};_0x359327[_0x553043(0x23d)]='_beforeEach',_0x359327[_0x553043(0x19e)]=_0x553043(0x18f);const _0x54fdbd=_0x359327;if(!_0x259147||!_0x259147[_0x553043(0x1fc)])return;[_0x54fdbd['ZdcGA'],_0x54fdbd['xhXlt']][_0x553043(0x1d2)](_0xe02810=>{const _0x525789=_0x553043,_0x3b7d17=_0x259147[_0x525789(0x1fc)][_0xe02810];_0x3b7d17[_0x525789(0x1d2)](_0x4e7e2c=>{const _0x88c0b1=_0x525789;_0x4e7e2c[_0x88c0b1(0x1a4)]&&(_0x4e7e2c['hookAnalyticsId']=null);});});};[a3_0x2d25d2(0x231)](_0x10fc95){const _0x37b368=a3_0x2d25d2,_0x5cd20e={'XzcNF':_0x37b368(0x1aa),'oRKsA':function(_0x5cb6ee){return _0x5cb6ee();},'ijCOj':function(_0x49d5e4,_0x1e69ef){return _0x49d5e4===_0x1e69ef;},'wwAVD':_0x37b368(0x18f),'sGKhQ':_0x37b368(0x15a),'knfou':_0x37b368(0x15c),'NCKwS':_0x37b368(0x202)};if(!_0x10fc95||!_0x10fc95[_0x37b368(0x1fc)])return;[_0x5cd20e[_0x37b368(0x22e)],_0x5cd20e['knfou'],_0x5cd20e[_0x37b368(0x171)],_0x5cd20e[_0x37b368(0x1f4)]][_0x37b368(0x1d2)](_0x5a0f36=>{const _0x58c392=_0x37b368,_0x1b960e={'VdTVP':_0x5cd20e[_0x58c392(0x1c3)],'FWFMI':function(_0xe2f5e8){const _0x311514=_0x58c392;return _0x5cd20e[_0x311514(0x1a8)](_0xe2f5e8);},'XTvmi':function(_0x297b00,_0x558087){const _0xa5a932=_0x58c392;return _0x5cd20e[_0xa5a932(0x1b2)](_0x297b00,_0x558087);},'wOUeM':_0x5cd20e[_0x58c392(0x1f4)]},_0x5ae062=_0x10fc95[_0x58c392(0x1fc)][_0x5a0f36]||[];_0x5ae062[_0x58c392(0x1d2)](_0xba8bc8=>{const _0x4d5abb=_0x58c392;if(_0xba8bc8[_0x4d5abb(0x1f5)][_0x4d5abb(0x23e)](_0x1b960e['VdTVP']))return;if(!_0xba8bc8[_0x4d5abb(0x1a4)])_0xba8bc8[_0x4d5abb(0x1a4)]=_0x1b960e['FWFMI'](uuidv4);else _0xba8bc8[_0x4d5abb(0x211)]&&_0x1b960e[_0x4d5abb(0x156)](_0x5a0f36,_0x1b960e[_0x4d5abb(0x22d)])&&(_0xba8bc8['hookAnalyticsId']=_0x1b960e['FWFMI'](uuidv4),delete _0xba8bc8[_0x4d5abb(0x211)]);});}),this['mapTestHooks'](_0x10fc95[_0x37b368(0x1fc)]);}[a3_0x2d25d2(0x20e)](_0x10cb80){const _0x5f2b3f=a3_0x2d25d2,_0x26b275={};_0x26b275[_0x5f2b3f(0x222)]=_0x5f2b3f(0x15a),_0x26b275['gxowx']=_0x5f2b3f(0x15c),_0x26b275[_0x5f2b3f(0x1e8)]=_0x5f2b3f(0x202),_0x26b275[_0x5f2b3f(0x194)]=_0x5f2b3f(0x18f);const _0x112bce=_0x26b275;if(!_0x10cb80||!_0x10cb80[_0x5f2b3f(0x1fc)])return[];const _0x3c88c6=[];return[_0x112bce[_0x5f2b3f(0x222)],_0x112bce[_0x5f2b3f(0x16e)],_0x112bce[_0x5f2b3f(0x1e8)],_0x112bce[_0x5f2b3f(0x194)]][_0x5f2b3f(0x1d2)](_0x496978=>{const _0xb63bc=_0x5f2b3f,_0x48fec4=_0x10cb80[_0xb63bc(0x1fc)][_0x496978]||[];_0x48fec4[_0xb63bc(0x1d2)](_0x54e616=>{_0x54e616['hookAnalyticsId']&&_0x3c88c6['push'](_0x54e616['hookAnalyticsId']);});}),[][_0x5f2b3f(0x204)](_0x3c88c6,this['getHooksForTest'](_0x10cb80[_0x5f2b3f(0x1fc)]));}[a3_0x2d25d2(0x235)](_0x510fbc){const _0x1201bb=a3_0x2d25d2,_0x44aaae=/^"(?<hook>.*)" hook:.*$/,_0x11d45e=_0x510fbc[_0x1201bb(0x1f5)],_0x5e422e=_0x11d45e[_0x1201bb(0x233)](_0x44aaae);if(_0x5e422e&&_0x5e422e[_0x1201bb(0x1b9)])return _0x5e422e[_0x1201bb(0x1b9)]['hook'][_0x1201bb(0x192)]()[_0x1201bb(0x19f)]('\x20','_');return null;}[a3_0x2d25d2(0x180)](_0x312570){const _0x4dc899=a3_0x2d25d2,_0x2b2f7d={};_0x2b2f7d[_0x4dc899(0x1e0)]=function(_0x26fdd6,_0x1375ca){return _0x26fdd6===_0x1375ca;},_0x2b2f7d[_0x4dc899(0x1e9)]=_0x4dc899(0x179);const _0x5416f5=_0x2b2f7d,_0xc2dea2=path['sep'];if(_0x5416f5[_0x4dc899(0x1e0)](_0x312570,null)||_0x5416f5['lfMMP'](_0x312570,'')||_0x5416f5['lfMMP'](_0x312570,_0xc2dea2)||_0x5416f5['lfMMP'](_0x312570,path[_0x4dc899(0x21b)](_0x312570)))return null;try{return fs[_0x4dc899(0x1f8)](path[_0x4dc899(0x243)](_0x312570,_0x5416f5['JVBOo'])),_0x312570;}catch(_0x357487){const _0x5451da=path[_0x4dc899(0x21b)](_0x312570);return this[_0x4dc899(0x180)](_0x5451da);}}[a3_0x2d25d2(0x177)](_0x371c45){const _0xc7e4e6=a3_0x2d25d2,_0x45dc1c={};_0x45dc1c[_0xc7e4e6(0x1f1)]=function(_0x282d21,_0x3fa282){return _0x282d21>_0x3fa282;};const _0x323615=_0x45dc1c;if(_0x371c45['file'])return _0x371c45['file'];if(_0x371c45['ctx']){const _0xd37d77=_0x371c45[_0xc7e4e6(0x1bc)]['currentTest']?this[_0xc7e4e6(0x177)](_0x371c45[_0xc7e4e6(0x1bc)]['currentTest']):null;if(_0xd37d77)return _0xd37d77;}if(_0x371c45[_0xc7e4e6(0x1fc)]){const _0xfd029a=this[_0xc7e4e6(0x177)](_0x371c45[_0xc7e4e6(0x1fc)])||(_0x371c45['parent'][_0xc7e4e6(0x1bc)]&&_0x371c45[_0xc7e4e6(0x1fc)][_0xc7e4e6(0x1bc)][_0xc7e4e6(0x1c5)]?this[_0xc7e4e6(0x177)](_0x371c45['parent'][_0xc7e4e6(0x1bc)][_0xc7e4e6(0x1c5)]):null);if(_0xfd029a)return _0xfd029a;_0x371c45[_0xc7e4e6(0x1fc)][_0xc7e4e6(0x1a5)]&&_0x323615[_0xc7e4e6(0x1f1)](_0x371c45[_0xc7e4e6(0x1fc)]['suites'][_0xc7e4e6(0x1b6)],0x0)&&_0x371c45[_0xc7e4e6(0x1fc)][_0xc7e4e6(0x1a5)][_0xc7e4e6(0x1d2)](_0x572058=>{const _0x1778ca=_0xc7e4e6,_0x253e56=_0x572058[_0x1778ca(0x1bc)]?this[_0x1778ca(0x177)](_0x572058[_0x1778ca(0x1bc)]):null;if(_0x253e56)return _0x253e56;});}return null;}['getHierarchy'](_0x248c49){const _0x1e6e59=a3_0x2d25d2,_0x22465b={};_0x22465b['kXYyj']=function(_0x3d053f,_0x4786ce){return _0x3d053f!==_0x4786ce;};const _0x1b663c=_0x22465b,_0x4d04b6=[];if(_0x248c49&&_0x248c49[_0x1e6e59(0x1fc)]){let _0x48db67=_0x248c49['parent'];while(_0x48db67&&_0x1b663c[_0x1e6e59(0x1d3)](_0x48db67[_0x1e6e59(0x1f5)],'')){_0x4d04b6[_0x1e6e59(0x155)](_0x48db67[_0x1e6e59(0x1f5)]),_0x48db67=_0x48db67[_0x1e6e59(0x1fc)];}}return _0x4d04b6;}[a3_0x2d25d2(0x1bf)](_0x46c5bd,_0x27e68c,_0x494ffc=undefined){const _0x4eacd8=a3_0x2d25d2,_0x6084cf={'TDmOQ':function(_0xe527f2,_0x55b9b4){return _0xe527f2(_0x55b9b4);},'YbChw':function(_0x4b91c0){return _0x4b91c0();},'OlGXH':_0x4eacd8(0x1db),'gRdzD':function(_0x4a1e9e,_0x54c6fa){return _0x4a1e9e!==_0x54c6fa;},'mqCDx':function(_0x1939b8,_0x437153){return _0x1939b8!==_0x437153;},'guDjN':_0x4eacd8(0x17d),'PXpAh':_0x4eacd8(0x15f),'ilmaE':'failed','zcPKx':'passed','OGQkB':'skipped','qGAyA':_0x4eacd8(0x22a),'PxgAI':function(_0x46b45f,_0x23ac3b){return _0x46b45f-_0x23ac3b;},'GWdyC':function(_0x26f39d,_0x36989a,_0x4132ec,_0x29270a,_0x58082b){return _0x26f39d(_0x36989a,_0x4132ec,_0x29270a,_0x58082b);},'ptIds':function(_0x56cb22,_0x1aece2){return _0x56cb22!==_0x1aece2;},'oCcfS':_0x4eacd8(0x249),'FDlAu':_0x4eacd8(0x1f7),'SHhaY':_0x4eacd8(0x1e1),'ZemFM':'failure_backtrace','fpueN':_0x4eacd8(0x1cc),'WlhcW':_0x4eacd8(0x158),'eMztN':_0x4eacd8(0x1af),'DwcBd':function(_0x57d8d6,_0x574950){return _0x57d8d6===_0x574950;},'bGyWW':_0x4eacd8(0x21a),'qqWGt':_0x4eacd8(0x215)};if(!this['enabled'])return;try{if(_0x27e68c['fn']&&_0x27e68c['fn']['toString']()[_0x4eacd8(0x233)](/browserstack internal helper hook/))return;const _0x383192=_0x6084cf[_0x4eacd8(0x23a)](parseEvent,_0x46c5bd);if(!_0x383192)return;if(_0x383192[_0x4eacd8(0x19b)]){this[_0x4eacd8(0x1c5)]=_0x27e68c,this[_0x4eacd8(0x24a)]=null;if(_0x383192[_0x4eacd8(0x18e)]||_0x383192[_0x4eacd8(0x15b)]){_0x27e68c['startedAt']=new Date(),_0x27e68c['markedStatus']=![];if(!_0x27e68c['testAnalyticsId'])_0x27e68c[_0x4eacd8(0x236)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4);else _0x27e68c[_0x4eacd8(0x211)]&&(!_0x27e68c[_0x4eacd8(0x246)]&&(_0x27e68c[_0x4eacd8(0x246)]=_0x27e68c[_0x4eacd8(0x236)]),_0x27e68c[_0x4eacd8(0x236)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4));}}else{if(_0x383192['hook']){this[_0x4eacd8(0x24a)]=_0x27e68c;if(_0x383192['started']){_0x27e68c[_0x4eacd8(0x20f)]=new Date(),_0x27e68c[_0x4eacd8(0x211)]=![];if(!_0x27e68c['hookAnalyticsId'])_0x27e68c[_0x4eacd8(0x1a4)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4);else _0x27e68c[_0x4eacd8(0x1a4)]&&_0x27e68c[_0x4eacd8(0x211)]&&(_0x27e68c[_0x4eacd8(0x1a4)]=_0x6084cf[_0x4eacd8(0x1a3)](uuidv4));}}}if(_0x383192[_0x4eacd8(0x238)]&&_0x27e68c[_0x4eacd8(0x211)])return;let _0x5a9fa0;try{_0x5a9fa0=this[_0x4eacd8(0x177)](_0x27e68c);}catch(_0x5b8714){logger[_0x4eacd8(0x22f)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x5b8714),_0x5a9fa0=null;}let _0x1e00f7=[];_0x494ffc&&(_0x1e00f7=[_0x494ffc,_0x6084cf[_0x4eacd8(0x1ab)]]);const _0x297b59=_0x6084cf[_0x4eacd8(0x1bd)](_0x27e68c[_0x4eacd8(0x219)],undefined)?util[_0x4eacd8(0x247)](_0x27e68c[_0x4eacd8(0x219)][0x0]):_0x6084cf[_0x4eacd8(0x1ea)](_0x494ffc,undefined)?_0x494ffc[_0x4eacd8(0x20b)]():undefined,_0x24514d=_0x5a9fa0?this[_0x4eacd8(0x180)](_0x5a9fa0):null,_0x30faa0=_0x5a9fa0?this[_0x4eacd8(0x1a6)][_0x4eacd8(0x183)](this[_0x4eacd8(0x177)](_0x27e68c)):_0x6084cf[_0x4eacd8(0x1b1)];let _0x1b2f2b=_0x6084cf[_0x4eacd8(0x174)];const _0x5a6bc1=!_0x383192[_0x4eacd8(0x18e)]?new Date()['toISOString']():null;if(_0x383192[_0x4eacd8(0x238)])_0x1b2f2b=_0x494ffc?_0x6084cf['ilmaE']:_0x6084cf['zcPKx'],_0x27e68c[_0x4eacd8(0x211)]=!![];else _0x383192[_0x4eacd8(0x15b)]&&(_0x1b2f2b=_0x6084cf[_0x4eacd8(0x230)],_0x27e68c[_0x4eacd8(0x211)]=!![]);const _0x34a458={'framework':this[_0x4eacd8(0x1c7)],'uuid':_0x27e68c[_0x4eacd8(0x236)]||_0x27e68c[_0x4eacd8(0x1a4)],'name':_0x27e68c['title'],'body':{'lang':_0x6084cf[_0x4eacd8(0x24b)],'code':_0x27e68c['body']['toString']()},'type':_0x27e68c[_0x4eacd8(0x24e)],'scope':_0x27e68c[_0x4eacd8(0x23f)](),'scopes':this[_0x4eacd8(0x1e5)](_0x27e68c),'file_name':_0x30faa0,'vc_filepath':_0x24514d?path['relative'](_0x24514d,_0x5a9fa0):null,'location':_0x30faa0,'result':_0x1b2f2b,'failure_reason':_0x297b59,'duration_in_ms':_0x27e68c[_0x4eacd8(0x218)]||(_0x383192[_0x4eacd8(0x238)]||_0x383192[_0x4eacd8(0x15b)])?_0x6084cf[_0x4eacd8(0x19c)](Date[_0x4eacd8(0x253)](),new Date(_0x27e68c['startedAt'])['getTime']()):null,'started_at':new Date(_0x27e68c[_0x4eacd8(0x20f)])[_0x4eacd8(0x19a)](),'finished_at':_0x5a6bc1,'failure':testOpsHelper[_0x4eacd8(0x228)]['apply'](null,_0x1e00f7),'failure_type':!_0x297b59?null:testOpsHelper['getFailureType'](_0x297b59),'retry_of':_0x27e68c[_0x4eacd8(0x246)]||null,'tags':_0x27e68c[_0x4eacd8(0x176)]||[],'customRerunParam':{'rerun_name':_0x27e68c[_0x4eacd8(0x23f)]()}};_0x6084cf[_0x4eacd8(0x226)](appendTesthubParams,_0x34a458,_0x46c5bd,_0x27e68c,FRAMEWORKS[_0x4eacd8(0x1ac)]);if(_0x383192[_0x4eacd8(0x1e4)])[_0x34a458['hook_type'],_0x34a458['name']]=[this[_0x4eacd8(0x235)](_0x27e68c),_0x27e68c[_0x4eacd8(0x1bc)][_0x4eacd8(0x19b)][_0x4eacd8(0x1f5)]],_0x383192[_0x4eacd8(0x238)]?_0x6084cf[_0x4eacd8(0x187)](_0x34a458['result'],_0x6084cf['ilmaE'])&&(_0x34a458[_0x4eacd8(0x239)]=_0x6084cf[_0x4eacd8(0x24d)]):_0x34a458[_0x4eacd8(0x220)]={};else _0x383192[_0x4eacd8(0x19b)]&&(this[_0x4eacd8(0x231)](_0x27e68c),_0x383192[_0x4eacd8(0x15b)]&&this[_0x4eacd8(0x1fe)](_0x27e68c),(_0x383192[_0x4eacd8(0x238)]||_0x383192[_0x4eacd8(0x15b)])&&(_0x34a458[_0x4eacd8(0x237)]=this[_0x4eacd8(0x20e)](_0x27e68c)));this[_0x4eacd8(0x181)]&&(_0x383192[_0x4eacd8(0x18e)]||_0x383192[_0x4eacd8(0x15b)])&&(_0x34a458[_0x6084cf[_0x4eacd8(0x217)]]=this[_0x4eacd8(0x173)](this[_0x4eacd8(0x181)]));_0x383192[_0x4eacd8(0x19b)]&&_0x383192[_0x4eacd8(0x238)]&&_0x27e68c['bddSteps']&&(_0x34a458[_0x6084cf[_0x4eacd8(0x24f)]]={'feature':{'name':_0x27e68c['parent'][_0x4eacd8(0x1ec)][_0x4eacd8(0x16d)],'path':_0x34a458[_0x4eacd8(0x213)],'description':_0x27e68c[_0x4eacd8(0x1fc)]['comment']},'scenario':{'name':_0x27e68c[_0x4eacd8(0x1f5)]},'steps':_0x27e68c[_0x4eacd8(0x1c8)]});const _0x12b7ed=_0x34a458[_0x6084cf[_0x4eacd8(0x1c1)]][0x0];_0x12b7ed&&(_0x34a458[_0x6084cf[_0x4eacd8(0x182)]]=_0x12b7ed[_0x6084cf[_0x4eacd8(0x197)]],_0x34a458[_0x6084cf[_0x4eacd8(0x20d)]]=_0x12b7ed[_0x6084cf[_0x4eacd8(0x234)]]);if(_0x27e68c[_0x4eacd8(0x1c8)])for(const _0x23157f of _0x27e68c['bddSteps']){!_0x23157f[_0x4eacd8(0x193)]&&(_0x23157f['finished_at']=new Date()[_0x4eacd8(0x19a)](),_0x6084cf[_0x4eacd8(0x1ee)](_0x23157f[_0x4eacd8(0x239)],_0x6084cf[_0x4eacd8(0x174)])&&(_0x12b7ed?(_0x23157f['result']=_0x6084cf[_0x4eacd8(0x207)],_0x23157f[_0x4eacd8(0x1e1)]=_0x12b7ed[_0x6084cf['fpueN']][0x0]):_0x23157f[_0x4eacd8(0x239)]=_0x6084cf[_0x4eacd8(0x24d)]));}const _0x104f14={};_0x104f14[_0x4eacd8(0x1ef)]=_0x383192[_0x4eacd8(0x15b)]?TEST_EVENTS[_0x4eacd8(0x1f3)]:_0x46c5bd;const _0x447341=_0x104f14;return _0x383192[_0x4eacd8(0x1e4)]?_0x447341[_0x6084cf[_0x4eacd8(0x168)]]=_0x34a458:_0x447341[_0x6084cf['qqWGt']]=_0x34a458,_0x447341;}catch(_0x5e7b59){logger[_0x4eacd8(0x22f)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x46c5bd+'\x20with\x20error\x20:\x20'+_0x5e7b59);}}async[a3_0x2d25d2(0x21d)](_0x2b078e,_0x4f157e){const _0x91594=a3_0x2d25d2;if(!this['enabled']||!_0x4f157e||!_0x2b078e)return![];try{return await SessionHandler[_0x91594(0x23b)](_0x4f157e);}catch(_0xf4a1eb){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x2b078e+'\x20with\x20error\x20:\x20'+_0xf4a1eb);}}[a3_0x2d25d2(0x175)](_0x545909){const _0x5274c4=a3_0x2d25d2,_0x1fad4c={};_0x1fad4c['MpkzE']=_0x5274c4(0x15f);const _0x1695a4=_0x1fad4c;return{'id':_0x545909[_0x5274c4(0x1b5)],'text':_0x545909[_0x5274c4(0x252)],'keyword':_0x545909[_0x5274c4(0x172)],'started_at':_0x545909[_0x5274c4(0x20f)][_0x5274c4(0x19a)](),'result':_0x1695a4['MpkzE']};}[a3_0x2d25d2(0x18a)](_0x1e9f38){const _0x21784d=a3_0x2d25d2,_0x4a6a22={'IChqD':function(_0x4a87af){return _0x4a87af();}};!this[_0x21784d(0x1c5)]['bddSteps']&&(this[_0x21784d(0x1c5)]['bddSteps']=[]),!_0x1e9f38[_0x21784d(0x1b5)]&&(_0x1e9f38[_0x21784d(0x1b5)]=_0x4a6a22[_0x21784d(0x188)](uuidv4),_0x1e9f38[_0x21784d(0x20f)]=new Date(),this['currentTest']['bddSteps'][_0x21784d(0x155)](this['initializeBddStep'](_0x1e9f38)));}[a3_0x2d25d2(0x203)](_0x4c88d6){const _0x49e6f9=a3_0x2d25d2,_0x1072e6={'fNUBH':function(_0x1f80b1,_0x306a0f){return _0x1f80b1(_0x306a0f);},'nPcBM':'success','QqCAV':_0x49e6f9(0x15f),'CLmPF':_0x49e6f9(0x16f),'edvwD':function(_0x4344d4,_0x1319bb){return _0x4344d4-_0x1319bb;}};let _0x28ff76=this[_0x49e6f9(0x1c5)][_0x49e6f9(0x1c8)][_0x49e6f9(0x1c9)](_0x20c425=>_0x20c425['id']===_0x4c88d6[_0x49e6f9(0x1b5)]);_0x1072e6[_0x49e6f9(0x16c)](isUndefined,_0x28ff76)&&(_0x28ff76=this[_0x49e6f9(0x175)](_0x4c88d6)),_0x28ff76[_0x49e6f9(0x239)]=[_0x1072e6['nPcBM'],_0x1072e6[_0x49e6f9(0x1da)]][_0x49e6f9(0x23e)](_0x4c88d6[_0x49e6f9(0x1cf)])?_0x1072e6[_0x49e6f9(0x1cd)]:_0x4c88d6[_0x49e6f9(0x1cf)],_0x28ff76[_0x49e6f9(0x193)]=new Date()[_0x49e6f9(0x19a)](),_0x28ff76[_0x49e6f9(0x218)]=_0x1072e6[_0x49e6f9(0x16b)](Date['now'](),_0x4c88d6['startedAt'][_0x49e6f9(0x232)]()),_0x28ff76[_0x49e6f9(0x1e1)]=_0x4c88d6['err']?_0x4c88d6[_0x49e6f9(0x1db)][_0x49e6f9(0x1dd)]:null;}}function a3_0x3df7(){const _0x4af7cb=['getHookType','testAnalyticsId','hooks','finished','result','TDmOQ','uploadEventData','wqFzl','ZdcGA','includes','fullTitle','FBrvH','connect','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','join','TEST_RUN_SKIPPED','Htrtb','retryOf','inspect','pendingHookEvents','integrations','currentHook','qGAyA','19834990iNWAxL','zcPKx','type','FDlAu','failed','hasLiveDriverSession','text','now','push','XTvmi','14tZxtli','failure_reason_expanded','IURKw','_beforeAll','skipped','_afterAll','wsEndpoint','../playwright/accessibility-helper','pending','enabled','prototype','CBTSessionCreated','__platformCaps','apply','SzeLX','then','browserstack','bGyWW','LPHwm','Pizcp','edvwD','fNUBH','name','gxowx','passed','STATE_FAILED','NCKwS','keyword','getCBTInfo','PXpAh','initializeBddStep','tags','getRootParentFile','bind','.git','./helper.js','LogCreated','launch','File\x20path\x20could\x20not\x20be\x20found','TestRunStarted','uuid','findGitConfig','driver','ZemFM','prefixTestPath','SZfXn','RJXqG','location_prefix','ptIds','IChqD','patchConsoleLogger','bddStepStart','1946590mMnhSO','fiqoh','toLowerCase','started','_afterEach','obsBrowserTypeMockApplied','FcQLD','toUpperCase','finished_at','MHZnb','XLZKw','bBrLQ','fpueN','removeAllListeners','436249uQDpFR','toISOString','test','PxgAI','eventType','xhXlt','replace','winstonLogger','getInstance','HookRunFinished','YbChw','hookAnalyticsId','suites','_paths','../utils/constants','oRKsA','1|4|3|5|0|2','codeceptjs','OlGXH','CODECEPT','stop','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','expanded','\x20with\x20error\x20:\x20','guDjN','ijCOj','QyJaU','Playwright','stepAnalyticsId','length','WHUVC','start','groups','222176ipIdwQ','uploadData','ctx','gRdzD','prvjJ','captureEvent','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','SHhaY','exports','XzcNF','JkQyD','currentTest','shutdown','frameworkName','bddSteps','find','../../helpers/test-observability/sessionHandler','TEST_RUN_STARTED','backtrace','CLmPF','pid','status','path','../../helpers/test-observability/requestQueueHandler','forEach','kXYyj','../playwright/sessionDetails','xeREb','bs:addLog:','GDxMo','../../helpers/helper','stringify','QqCAV','err','../../helpers/test-observability/utils','message','RAGHt','appendTestItemLog','lfMMP','failure','defineProperty','STATE_PASSED','hook','getHierarchy','constructor','splice','XGtHF','JVBOo','mqCDx','string','feature','../../helpers/testhub/utils.js','DwcBd','event_type','logs','DWCqq','bufferPendingHookEvent','TEST_RUN_FINISHED','wwAVD','title','setupBrowserDetails','meta','statSync','Tbtft','xseAP','jnoCp','parent','MKwFO','resetSkipTestHooks','cGPTK','436VUgvzy','HOOK_RUN_STARTED','_beforeEach','bddStepFinish','concat','accessibilityPlatform','O11yHelper','ilmaE','kWDrl','PathHelper','16EQZYsx','toString','6651DQRAwd','WlhcW','getHooksForTest','startedAt','uGrTY','markedStatus','TEST_REPORTING_ANALYTICS','file_name','test_run_uuid','test_run','keys','oCcfS','duration','errorsDetailed','hook_run','dirname','session_id','fireEvent','hook_run_uuid','itMZU','body','__cloud_provider___','uNllK','10485009cjjIWq','TestRunFinished','TestRunSkipped','GWdyC','split','failureData','../../helpers/logger','javascript','connectOverCDP','4874244PxoUMw','wOUeM','sGKhQ','debug','OGQkB','mapTestHooks','getTime','match','eMztN'];a3_0x3df7=function(){return _0x4af7cb;};return a3_0x3df7();}const a3_0x2eac0d={};a3_0x2eac0d[a3_0x2d25d2(0x206)]=O11yHelper,a3_0x2eac0d[a3_0x2d25d2(0x1e3)]=STATE_PASSED,a3_0x2eac0d[a3_0x2d25d2(0x170)]=STATE_FAILED,a3_0x2eac0d['TEST_EVENTS']=TEST_EVENTS,module[a3_0x2d25d2(0x1c2)]=a3_0x2eac0d;
1
+ const a3_0x1a59d0=a3_0x5a77;(function(_0x16cb0a,_0x214344){const _0x164921=a3_0x5a77,_0x2e3bd1=_0x16cb0a();while(!![]){try{const _0x6d2438=parseInt(_0x164921(0x21f))/0x1+-parseInt(_0x164921(0x236))/0x2*(parseInt(_0x164921(0x1ae))/0x3)+-parseInt(_0x164921(0x235))/0x4+-parseInt(_0x164921(0x242))/0x5+parseInt(_0x164921(0x1a7))/0x6+parseInt(_0x164921(0x1ff))/0x7+-parseInt(_0x164921(0x212))/0x8;if(_0x6d2438===_0x214344)break;else _0x2e3bd1['push'](_0x2e3bd1['shift']());}catch(_0x6a03ca){_0x2e3bd1['push'](_0x2e3bd1['shift']());}}}(a3_0x5414,0x544f8));const path=require(a3_0x1a59d0(0x238)),util=require(a3_0x1a59d0(0x1ab)),fs=require('fs'),{v4:uuidv4}=require(a3_0x1a59d0(0x237)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a3_0x1a59d0(0x240)),{getTestEnv}=require(a3_0x1a59d0(0x229)),{FRAMEWORKS}=require(a3_0x1a59d0(0x21a)),logger=require(a3_0x1a59d0(0x224))[a3_0x1a59d0(0x1bb)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a3_0x1a59d0(0x262)),debug=testOpsHelper[a3_0x1a59d0(0x21d)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a3_0x1a59d0(0x252)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require('../utils/constants'),STATE_PASSED=a3_0x1a59d0(0x24d),STATE_FAILED=a3_0x1a59d0(0x1c8),a3_0x6a595a={};a3_0x6a595a[a3_0x1a59d0(0x1ee)]=a3_0x1a59d0(0x1d7),a3_0x6a595a[a3_0x1a59d0(0x190)]='TestRunFinished',a3_0x6a595a['TEST_RUN_SKIPPED']='TestRunSkipped',a3_0x6a595a['HOOK_RUN_STARTED']=a3_0x1a59d0(0x1e4),a3_0x6a595a[a3_0x1a59d0(0x1b7)]=a3_0x1a59d0(0x1cf);const TEST_EVENTS=a3_0x6a595a,parseEvent=_0x423087=>{const _0x34f24d=a3_0x1a59d0,_0x2d441a={};_0x2d441a[_0x34f24d(0x185)]=function(_0x1cce11,_0x103b2b){return _0x1cce11<_0x103b2b;},_0x2d441a[_0x34f24d(0x1dc)]=function(_0x585bd9,_0x23a062){return _0x585bd9===_0x23a062;},_0x2d441a[_0x34f24d(0x22f)]=_0x34f24d(0x222),_0x2d441a[_0x34f24d(0x22b)]=function(_0x36b5c1,_0x1b7c07){return _0x36b5c1===_0x1b7c07;},_0x2d441a['ifdXL']=_0x34f24d(0x1b1),_0x2d441a[_0x34f24d(0x220)]=function(_0x535e89,_0x2cc0ae){return _0x535e89===_0x2cc0ae;},_0x2d441a[_0x34f24d(0x261)]=_0x34f24d(0x20c),_0x2d441a[_0x34f24d(0x209)]=function(_0x3f6cb8,_0x58285d){return _0x3f6cb8===_0x58285d;},_0x2d441a[_0x34f24d(0x211)]=_0x34f24d(0x219),_0x2d441a['qdNVH']='finished';const _0x3470fc=_0x2d441a,_0x289b8a=_0x423087[_0x34f24d(0x249)](/^(.*)Run(.*)$/);if(!_0x289b8a)return null;if(_0x3470fc[_0x34f24d(0x185)](_0x289b8a[_0x34f24d(0x232)],0x3))return null;const _0x1b6b2b=_0x289b8a[0x1][_0x34f24d(0x22e)](),_0x4361da=_0x289b8a[0x2][_0x34f24d(0x22e)]();return{'test':_0x3470fc[_0x34f24d(0x1dc)](_0x1b6b2b,_0x3470fc[_0x34f24d(0x22f)]),'hook':_0x3470fc[_0x34f24d(0x22b)](_0x1b6b2b,_0x3470fc[_0x34f24d(0x253)]),'skipped':_0x3470fc[_0x34f24d(0x220)](_0x4361da,_0x3470fc['YrHIK']),'started':_0x3470fc[_0x34f24d(0x209)](_0x4361da,_0x3470fc[_0x34f24d(0x211)]),'finished':_0x3470fc[_0x34f24d(0x209)](_0x4361da,_0x3470fc['qdNVH'])};},mockPWBrowserType=_0x5d1b8c=>{const _0x385ef5=a3_0x1a59d0,_0x608897={'OfgUl':function(_0x4230ac,_0xef074a){return _0x4230ac===_0xef074a;},'Hxhzn':_0x385ef5(0x205),'GNQiG':function(_0x561c78,_0x5eae9e,_0x559db9){return _0x561c78(_0x5eae9e,_0x559db9);},'HCjWI':_0x385ef5(0x192),'KZDxF':function(_0x4281aa,_0x32a1b8){return _0x4281aa(_0x32a1b8);},'cqJfZ':'browserstack','zeMPt':function(_0x3f1e78,_0xd6c4dd){return _0x3f1e78(_0xd6c4dd);},'YoVve':function(_0x42c012){return _0x42c012();},'HJKSs':_0x385ef5(0x251),'pswHi':_0x385ef5(0x268),'MDTLc':_0x385ef5(0x1a8)},_0x1b76cc=_0x608897[_0x385ef5(0x1eb)](resolveBrowserTypeClass);if(!_0x1b76cc){_0x608897['zeMPt'](debug,_0x608897[_0x385ef5(0x187)]);return;}const _0x527cb6=_0x1b76cc[_0x385ef5(0x1f5)];if(_0x527cb6['obsBrowserTypeMockApplied'])return;const _0x1d9cf6=_0x527cb6[_0x385ef5(0x268)];Object[_0x385ef5(0x259)](_0x527cb6,_0x608897[_0x385ef5(0x1f1)],{'get':function(){const _0x4f380a=_0x385ef5,_0x790526={'LYqfG':function(_0x4e934f,_0x23cb8d){const _0x58e72b=a3_0x5a77;return _0x608897[_0x58e72b(0x1bf)](_0x4e934f,_0x23cb8d);},'BlMYJ':_0x608897[_0x4f380a(0x25c)],'ERpGE':function(_0x3c2174,_0x1f589f,_0x592d65){const _0x4b4fe2=_0x4f380a;return _0x608897[_0x4b4fe2(0x1b4)](_0x3c2174,_0x1f589f,_0x592d65);},'bGHyQ':_0x608897['HCjWI'],'OERWg':function(_0x17f0e4,_0x36c9fe){return _0x608897['KZDxF'](_0x17f0e4,_0x36c9fe);},'qftwi':_0x608897[_0x4f380a(0x19a)],'OZTNg':function(_0x29e8ca,_0x4c36da){const _0x36f44d=_0x4f380a;return _0x608897[_0x36f44d(0x18a)](_0x29e8ca,_0x4c36da);}};return async function _0x4fa357(_0x57fdd4,_0x2d71c0){const _0x45f6ad=_0x4f380a,_0x47ed0e={'gfzbK':function(_0x2818f1,_0x5e79f0){const _0xbda8c2=a3_0x5a77;return _0x790526[_0xbda8c2(0x1a2)](_0x2818f1,_0x5e79f0);},'ZIFvw':_0x790526[_0x45f6ad(0x218)]},_0x43b6a3=_0x790526[_0x45f6ad(0x189)](nestedKeyValue,_0x57fdd4,[_0x790526[_0x45f6ad(0x1e1)]])||_0x57fdd4;let _0x21ac7d=null,_0x4b323e=null;try{[_0x4b323e,_0x21ac7d]=_0x43b6a3?_0x790526[_0x45f6ad(0x18f)](parseWSEndpoint,_0x43b6a3):[null,null],global[_0x45f6ad(0x1ad)]=_0x21ac7d,logger[_0x45f6ad(0x21d)](_0x45f6ad(0x230)+_0x4b323e),_0x4b323e[_0x45f6ad(0x267)](Constants[_0x45f6ad(0x1fa)])&&(global[_0x45f6ad(0x227)]=_0x790526['qftwi']);}catch(_0x15dc88){logger[_0x45f6ad(0x21d)](_0x45f6ad(0x1b2)+_0x43b6a3+'\x20'+_0x15dc88);}_0x790526[_0x45f6ad(0x189)](processAccessibilityCaps,_0x21ac7d,_0x4b323e);if(global['accessibilityPlatform']){const _0x1710bb=await _0x527cb6['connectOverCDP']['apply'](this,[''+Constants[_0x45f6ad(0x1cd)]+_0x790526['OZTNg'](encodeURIComponent,JSON[_0x45f6ad(0x1e7)](_0x21ac7d))]);return PlaywrightSessionDetails[_0x45f6ad(0x1ea)](_0x1710bb,_0x5d1b8c,_0x43b6a3),_0x1710bb;}return _0x1d9cf6[_0x45f6ad(0x17d)](this,arguments)[_0x45f6ad(0x215)](_0x34c9cd=>{const _0x3bbf46=_0x45f6ad;let _0x1d2643=_0x57fdd4['wsEndpoint'];return _0x47ed0e[_0x3bbf46(0x24a)](typeof _0x57fdd4,_0x47ed0e['ZIFvw'])&&(_0x1d2643=_0x57fdd4),PlaywrightSessionDetails[_0x3bbf46(0x1ea)](_0x34c9cd,_0x5d1b8c,_0x1d2643),_0x34c9cd;});};}});const _0x2b7f7c=_0x527cb6[_0x385ef5(0x1a8)];Object[_0x385ef5(0x259)](_0x527cb6,_0x608897[_0x385ef5(0x202)],{'get':function(){return async function _0x2ac4ad(){const _0x3cc662=a3_0x5a77;return _0x2b7f7c[_0x3cc662(0x17d)](this,arguments)[_0x3cc662(0x215)](_0x553afc=>{const _0x333bc6=_0x3cc662;return PlaywrightSessionDetails[_0x333bc6(0x1ea)](_0x553afc,null),_0x553afc;});};}});};class O11yHelper{[a3_0x1a59d0(0x241)]=null;[a3_0x1a59d0(0x22c)]=null;[a3_0x1a59d0(0x1ca)]=![];[a3_0x1a59d0(0x18d)]=![];[a3_0x1a59d0(0x1de)]=[];constructor(_0x4a68ab,_0x5976fb){const _0x38d8d6=a3_0x1a59d0,_0x3101c8={'RnmCK':_0x38d8d6(0x223),'ieYBd':function(_0x150095){return _0x150095();},'HTmHk':function(_0x266e95,_0x178c31){return _0x266e95===_0x178c31;},'HXMGJ':_0x38d8d6(0x231),'JaDKk':function(_0xc4e4c0,_0x5506b1){return _0xc4e4c0(_0x5506b1);}},_0x14d3dd=_0x3101c8[_0x38d8d6(0x1a3)][_0x38d8d6(0x17a)]('|');let _0x1a659a=0x0;while(!![]){switch(_0x14d3dd[_0x1a659a++]){case'0':this[_0x38d8d6(0x226)]=new testOpsHelper[(_0x38d8d6(0x179))]({'cwd':process[_0x38d8d6(0x22d)]()},this[_0x38d8d6(0x1b9)][_0x38d8d6(0x233)]);continue;case'1':this[_0x38d8d6(0x1ca)]=_0x3101c8['ieYBd'](shouldProcessEventForTesthub);continue;case'2':this[_0x38d8d6(0x1b9)]=_0x3101c8['ieYBd'](getTestEnv);continue;case'3':this['driver']&&_0x3101c8[_0x38d8d6(0x25b)](this[_0x38d8d6(0x1e6)][_0x38d8d6(0x23d)][_0x38d8d6(0x17b)],_0x3101c8['HXMGJ'])&&_0x3101c8['JaDKk'](mockPWBrowserType,null);continue;case'4':this['driver']=_0x4a68ab;continue;case'5':this['frameworkName']=_0x5976fb[_0x38d8d6(0x18d)];continue;}break;}}[a3_0x1a59d0(0x1a6)](){const _0x1e7348=a3_0x1a59d0,_0x5c9c3e={'KHzVB':function(_0x257f63,_0x1ef0b7){return _0x257f63(_0x1ef0b7);}};if(!this[_0x1e7348(0x1e6)])return![];try{const _0x29fa05=_0x5c9c3e['KHzVB'](fetchPlatformDetails,this['driver']);if(!_0x29fa05)return![];const _0x5efddb=Object['keys'](_0x29fa05)[0x0];return!!(_0x5efddb&&_0x29fa05[_0x5efddb]&&_0x29fa05[_0x5efddb]['session_id']);}catch(_0x2f2d38){return![];}}['bufferPendingHookEvent'](_0x18a7d8,_0x3be3a3){const _0x176c34=a3_0x1a59d0;if(!_0x3be3a3)return;const _0x1cd24f={};_0x1cd24f[_0x176c34(0x1a0)]=_0x18a7d8,_0x1cd24f[_0x176c34(0x1bd)]=_0x3be3a3,this[_0x176c34(0x1de)][_0x176c34(0x19f)](_0x1cd24f);}async['flushPendingHookEvents'](){const _0x461bee=a3_0x1a59d0,_0x35486c={};_0x35486c[_0x461bee(0x1fe)]=function(_0x3e5239,_0x426f05){return _0x3e5239&&_0x426f05;};const _0xdb0132=_0x35486c;if(!this['pendingHookEvents']['length'])return;if(!this['hasLiveDriverSession']())return;const _0x426f6b=this['getCBTInfo'](this[_0x461bee(0x1e6)]),_0xfd4248=this[_0x461bee(0x1de)]['splice'](0x0,this[_0x461bee(0x1de)][_0x461bee(0x232)]);for(const {eventType:_0x493649,uploadData:_0x5f3ec3}of _0xfd4248){try{const _0x19ba46=_0x5f3ec3[_0x461bee(0x184)]||_0x5f3ec3['test_run'];_0xdb0132[_0x461bee(0x1fe)](_0x19ba46,_0x426f6b)&&(_0x19ba46[_0x461bee(0x254)]=_0x426f6b),await this['fireEvent'](_0x493649,_0x5f3ec3);}catch(_0x83648e){logger['debug'](_0x461bee(0x25a)+_0x493649+':\x20'+util[_0x461bee(0x1f4)](_0x83648e));}}}[a3_0x1a59d0(0x183)](){const _0x245bd3=a3_0x1a59d0;if(!this[_0x245bd3(0x1ca)])return;testOpsHelper[_0x245bd3(0x1f8)](),process[_0x245bd3(0x20e)]('bs:addLog:'+process[_0x245bd3(0x1f6)]),process['on']('bs:addLog:'+process[_0x245bd3(0x1f6)],this[_0x245bd3(0x208)][_0x245bd3(0x266)](this));}async[a3_0x1a59d0(0x1e8)](){const _0x4a8b7e=a3_0x1a59d0;await RequestQueueHandler[_0x4a8b7e(0x17e)]()[_0x4a8b7e(0x247)]();}async[a3_0x1a59d0(0x208)](_0x4b82b2){const _0x2b876b=a3_0x1a59d0,_0x3c31a4={'ZraZn':_0x2b876b(0x225),'nyjei':function(_0x58c9b5,_0xf7e551){return _0x58c9b5(_0xf7e551);}};try{this['currentHook']&&!this[_0x2b876b(0x22c)][_0x2b876b(0x17f)]&&(_0x4b82b2[_0x2b876b(0x198)]=this[_0x2b876b(0x22c)]['hookAnalyticsId']);!_0x4b82b2[_0x2b876b(0x198)]&&this['currentTest']&&!this['currentTest'][_0x2b876b(0x17f)]&&(_0x4b82b2[_0x2b876b(0x21c)]=this[_0x2b876b(0x241)]['testAnalyticsId']);if(_0x4b82b2[_0x2b876b(0x198)]||_0x4b82b2[_0x2b876b(0x21c)]){const _0x132f73={};_0x132f73[_0x2b876b(0x196)]=_0x3c31a4[_0x2b876b(0x1bc)],_0x132f73[_0x2b876b(0x23b)]=[_0x4b82b2],await SessionHandler[_0x2b876b(0x21b)](_0x132f73);}}catch(_0x61ac8e){_0x3c31a4[_0x2b876b(0x1e3)](debug,_0x2b876b(0x255)+constants[_0x2b876b(0x1d2)]+'\x20with\x20error\x20:\x20'+_0x61ac8e);}}async['sendCBTInfo'](_0x2153a7){const _0x2427b9=a3_0x1a59d0,_0x4386ee={'XncLO':_0x2427b9(0x19e),'rmjnr':function(_0x264c8a,_0x319f41){return _0x264c8a(_0x319f41);}};if(!this[_0x2427b9(0x1ca)])return;const _0x58cdab=this['getCBTInfo'](this[_0x2427b9(0x1e6)]);try{const _0x5bf89d={};_0x5bf89d['uuid']=_0x2153a7,_0x5bf89d[_0x2427b9(0x254)]=_0x58cdab;const _0x2d4318=_0x5bf89d,_0x498185={};_0x498185[_0x2427b9(0x196)]=_0x4386ee[_0x2427b9(0x24b)],_0x498185[_0x2427b9(0x22a)]=_0x2d4318,await SessionHandler['uploadEventData'](_0x498185);}catch(_0x4bdbb0){_0x4386ee[_0x2427b9(0x1b0)](debug,_0x2427b9(0x1d3)+constants[_0x2427b9(0x1d2)]+'\x20with\x20error\x20:\x20'+_0x4bdbb0);}}[a3_0x1a59d0(0x1d8)](_0x1dad1a){const _0x4d2e40=a3_0x1a59d0,_0xda929e={'hjMAp':function(_0xc2008f,_0x4ac53a){return _0xc2008f(_0x4ac53a);}};return _0xda929e[_0x4d2e40(0x263)](fetchPlatformDetails,_0x1dad1a);}[a3_0x1a59d0(0x258)]=_0x25ed0a=>{const _0x4e708f=a3_0x1a59d0,_0x4bc561={};_0x4bc561[_0x4e708f(0x1f7)]='_beforeEach',_0x4bc561[_0x4e708f(0x1c4)]=_0x4e708f(0x228);const _0x11b933=_0x4bc561;if(!_0x25ed0a||!_0x25ed0a['parent'])return;[_0x11b933['GUFzj'],_0x11b933[_0x4e708f(0x1c4)]][_0x4e708f(0x206)](_0x565b22=>{const _0x3901f1=_0x4e708f,_0x5e1c16=_0x25ed0a[_0x3901f1(0x256)][_0x565b22];_0x5e1c16['forEach'](_0x56b696=>{const _0x3c2194=_0x3901f1;_0x56b696[_0x3c2194(0x265)]&&(_0x56b696[_0x3c2194(0x265)]=null);});});};[a3_0x1a59d0(0x1d5)](_0x29f077){const _0x36d2d7=a3_0x1a59d0,_0x14b00d={'MvvpO':'codeceptjs','nsjcx':function(_0x34efaf){return _0x34efaf();},'JEHri':function(_0x1ac8c5,_0x163a14){return _0x1ac8c5===_0x163a14;},'qINKk':_0x36d2d7(0x228),'GicXq':_0x36d2d7(0x20f),'TcxDv':'_afterAll','VJbkv':_0x36d2d7(0x239)};if(!_0x29f077||!_0x29f077[_0x36d2d7(0x256)])return;[_0x14b00d[_0x36d2d7(0x24e)],_0x14b00d[_0x36d2d7(0x244)],_0x14b00d[_0x36d2d7(0x23e)],_0x14b00d['qINKk']][_0x36d2d7(0x206)](_0x1ec709=>{const _0x25e4b7=_0x36d2d7,_0x1ca363=_0x29f077['parent'][_0x1ec709]||[];_0x1ca363[_0x25e4b7(0x206)](_0x2cd142=>{const _0x2cfd82=_0x25e4b7;if(_0x2cd142[_0x2cfd82(0x197)][_0x2cfd82(0x267)](_0x14b00d[_0x2cfd82(0x250)]))return;if(!_0x2cd142[_0x2cfd82(0x265)])_0x2cd142['hookAnalyticsId']=_0x14b00d[_0x2cfd82(0x21e)](uuidv4);else _0x2cd142['markedStatus']&&_0x14b00d['JEHri'](_0x1ec709,_0x14b00d[_0x2cfd82(0x1aa)])&&(_0x2cd142[_0x2cfd82(0x265)]=_0x14b00d['nsjcx'](uuidv4),delete _0x2cd142[_0x2cfd82(0x17f)]);});}),this[_0x36d2d7(0x1d5)](_0x29f077['parent']);}[a3_0x1a59d0(0x210)](_0x2f1807){const _0x29f023=a3_0x1a59d0,_0x7c488e={};_0x7c488e[_0x29f023(0x1c9)]=_0x29f023(0x20f),_0x7c488e['LemFG']=_0x29f023(0x1fc),_0x7c488e[_0x29f023(0x1b3)]='_beforeEach',_0x7c488e[_0x29f023(0x181)]=_0x29f023(0x228);const _0x1fd3a0=_0x7c488e;if(!_0x2f1807||!_0x2f1807[_0x29f023(0x256)])return[];const _0x87450f=[];return[_0x1fd3a0[_0x29f023(0x1c9)],_0x1fd3a0[_0x29f023(0x1f0)],_0x1fd3a0[_0x29f023(0x1b3)],_0x1fd3a0[_0x29f023(0x181)]]['forEach'](_0x37cdbf=>{const _0x4c0de1=_0x29f023,_0x52f7bf=_0x2f1807['parent'][_0x37cdbf]||[];_0x52f7bf[_0x4c0de1(0x206)](_0x4a1594=>{const _0x25008b=_0x4c0de1;_0x4a1594[_0x25008b(0x265)]&&_0x87450f[_0x25008b(0x19f)](_0x4a1594[_0x25008b(0x265)]);});}),[][_0x29f023(0x1ba)](_0x87450f,this['getHooksForTest'](_0x2f1807[_0x29f023(0x256)]));}[a3_0x1a59d0(0x264)](_0x28d710){const _0x490c7a=a3_0x1a59d0,_0x5e7486=/^"(?<hook>.*)" hook:.*$/,_0x418519=_0x28d710['title'],_0x112e05=_0x418519[_0x490c7a(0x249)](_0x5e7486);if(_0x112e05&&_0x112e05[_0x490c7a(0x1cc)])return _0x112e05[_0x490c7a(0x1cc)]['hook'][_0x490c7a(0x216)]()[_0x490c7a(0x201)]('\x20','_');return null;}['findGitConfig'](_0x32dece){const _0x2caee7=a3_0x1a59d0,_0x1ec244={};_0x1ec244[_0x2caee7(0x23f)]=function(_0x103589,_0x43ba89){return _0x103589===_0x43ba89;},_0x1ec244[_0x2caee7(0x1a1)]=function(_0xec95a4,_0x548221){return _0xec95a4===_0x548221;},_0x1ec244['Mgnfl']=_0x2caee7(0x1d6);const _0x46bc90=_0x1ec244,_0x445918=path['sep'];if(_0x46bc90[_0x2caee7(0x23f)](_0x32dece,null)||_0x46bc90['jpURX'](_0x32dece,'')||_0x46bc90['SryAz'](_0x32dece,_0x445918)||_0x46bc90[_0x2caee7(0x23f)](_0x32dece,path[_0x2caee7(0x18c)](_0x32dece)))return null;try{return fs[_0x2caee7(0x1fb)](path[_0x2caee7(0x1f2)](_0x32dece,_0x46bc90[_0x2caee7(0x1ce)])),_0x32dece;}catch(_0x64e6ef){const _0x2a7c76=path[_0x2caee7(0x18c)](_0x32dece);return this['findGitConfig'](_0x2a7c76);}}[a3_0x1a59d0(0x248)](_0x39bb1d){const _0x4fddcd=a3_0x1a59d0,_0x365d70={};_0x365d70[_0x4fddcd(0x1ed)]=function(_0x14f051,_0x3e04f5){return _0x14f051>_0x3e04f5;};const _0x535b6f=_0x365d70;if(_0x39bb1d[_0x4fddcd(0x1ef)])return _0x39bb1d[_0x4fddcd(0x1ef)];if(_0x39bb1d[_0x4fddcd(0x1e0)]){const _0x2b04c8=_0x39bb1d[_0x4fddcd(0x1e0)]['currentTest']?this[_0x4fddcd(0x248)](_0x39bb1d[_0x4fddcd(0x1e0)][_0x4fddcd(0x241)]):null;if(_0x2b04c8)return _0x2b04c8;}if(_0x39bb1d[_0x4fddcd(0x256)]){const _0x1faf83=this[_0x4fddcd(0x248)](_0x39bb1d[_0x4fddcd(0x256)])||(_0x39bb1d[_0x4fddcd(0x256)][_0x4fddcd(0x1e0)]&&_0x39bb1d['parent'][_0x4fddcd(0x1e0)][_0x4fddcd(0x241)]?this[_0x4fddcd(0x248)](_0x39bb1d[_0x4fddcd(0x256)][_0x4fddcd(0x1e0)][_0x4fddcd(0x241)]):null);if(_0x1faf83)return _0x1faf83;_0x39bb1d['parent'][_0x4fddcd(0x1c0)]&&_0x535b6f[_0x4fddcd(0x1ed)](_0x39bb1d[_0x4fddcd(0x256)]['suites'][_0x4fddcd(0x232)],0x0)&&_0x39bb1d[_0x4fddcd(0x256)][_0x4fddcd(0x1c0)]['forEach'](_0x39bb45=>{const _0x467560=_0x4fddcd,_0x3db4cc=_0x39bb45[_0x467560(0x1e0)]?this[_0x467560(0x248)](_0x39bb45[_0x467560(0x1e0)]):null;if(_0x3db4cc)return _0x3db4cc;});}return null;}[a3_0x1a59d0(0x1c6)](_0xa30135){const _0x28357d=a3_0x1a59d0,_0x586ab7={};_0x586ab7['kfcwm']=function(_0x119b0a,_0x49104d){return _0x119b0a!==_0x49104d;};const _0x135534=_0x586ab7,_0x40da9c=[];if(_0xa30135&&_0xa30135[_0x28357d(0x256)]){let _0xb95aa6=_0xa30135[_0x28357d(0x256)];while(_0xb95aa6&&_0x135534[_0x28357d(0x1af)](_0xb95aa6[_0x28357d(0x197)],'')){_0x40da9c[_0x28357d(0x19f)](_0xb95aa6[_0x28357d(0x197)]),_0xb95aa6=_0xb95aa6['parent'];}}return _0x40da9c;}[a3_0x1a59d0(0x1f3)](_0x49bb8c,_0x1b98f2,_0x5d191b=undefined){const _0x4beaf9=a3_0x1a59d0,_0x3d23f1={'LQZtn':function(_0x28e021,_0x566f96){return _0x28e021(_0x566f96);},'IyfPX':function(_0x488944){return _0x488944();},'ETDNX':function(_0x5d64b2){return _0x5d64b2();},'owtrj':'err','DyfSi':function(_0x50265b,_0x150681){return _0x50265b!==_0x150681;},'feVvq':_0x4beaf9(0x18b),'jBQMw':_0x4beaf9(0x1e2),'NGYWf':_0x4beaf9(0x1c8),'zLeAT':_0x4beaf9(0x24d),'DuFlb':_0x4beaf9(0x20c),'IXwJU':_0x4beaf9(0x200),'HKoqI':function(_0x5edda2,_0x2c7826){return _0x5edda2-_0x2c7826;},'vMGIJ':function(_0x56db5e,_0x3eee2f,_0x570ccd,_0x42956c,_0x9a2f3c){return _0x56db5e(_0x3eee2f,_0x570ccd,_0x42956c,_0x9a2f3c);},'ceHAm':_0x4beaf9(0x254),'RLOLX':_0x4beaf9(0x194),'ZMjiD':_0x4beaf9(0x24f),'uMAMy':_0x4beaf9(0x243),'QvRkR':_0x4beaf9(0x20a),'WLCxr':_0x4beaf9(0x1c7),'iIoZy':'expanded','rdfXW':function(_0x5c87d1,_0x1558ba){return _0x5c87d1===_0x1558ba;},'eIJnd':_0x4beaf9(0x184),'fCmGS':_0x4beaf9(0x22a)};if(!this['enabled'])return;try{if(_0x1b98f2['fn']&&_0x1b98f2['fn'][_0x4beaf9(0x188)]()[_0x4beaf9(0x249)](/browserstack internal helper hook/))return;const _0x474805=_0x3d23f1[_0x4beaf9(0x1fd)](parseEvent,_0x49bb8c);if(!_0x474805)return;if(_0x474805['test']){this['currentTest']=_0x1b98f2,this[_0x4beaf9(0x22c)]=null;if(_0x474805[_0x4beaf9(0x219)]||_0x474805[_0x4beaf9(0x20c)]){_0x1b98f2[_0x4beaf9(0x217)]=new Date(),_0x1b98f2['markedStatus']=![];if(!_0x1b98f2[_0x4beaf9(0x199)])_0x1b98f2['testAnalyticsId']=_0x3d23f1['IyfPX'](uuidv4);else _0x1b98f2[_0x4beaf9(0x17f)]&&(!_0x1b98f2['retryOf']&&(_0x1b98f2[_0x4beaf9(0x23c)]=_0x1b98f2[_0x4beaf9(0x199)]),_0x1b98f2[_0x4beaf9(0x199)]=_0x3d23f1[_0x4beaf9(0x1e5)](uuidv4));}}else{if(_0x474805[_0x4beaf9(0x1b1)]){this['currentHook']=_0x1b98f2;if(_0x474805['started']){_0x1b98f2['startedAt']=new Date(),_0x1b98f2[_0x4beaf9(0x17f)]=![];if(!_0x1b98f2[_0x4beaf9(0x265)])_0x1b98f2[_0x4beaf9(0x265)]=_0x3d23f1[_0x4beaf9(0x246)](uuidv4);else _0x1b98f2['hookAnalyticsId']&&_0x1b98f2[_0x4beaf9(0x17f)]&&(_0x1b98f2[_0x4beaf9(0x265)]=_0x3d23f1[_0x4beaf9(0x246)](uuidv4));}}}if(_0x474805['finished']&&_0x1b98f2['markedStatus'])return;let _0x430271;try{_0x430271=this[_0x4beaf9(0x248)](_0x1b98f2);}catch(_0x3b5205){logger[_0x4beaf9(0x21d)](_0x4beaf9(0x1b6)+_0x3b5205),_0x430271=null;}let _0x3d814f=[];_0x5d191b&&(_0x3d814f=[_0x5d191b,_0x3d23f1['owtrj']]);const _0x472ba1=_0x3d23f1['DyfSi'](_0x1b98f2['errorsDetailed'],undefined)?util['inspect'](_0x1b98f2[_0x4beaf9(0x203)][0x0]):_0x3d23f1[_0x4beaf9(0x245)](_0x5d191b,undefined)?_0x5d191b[_0x4beaf9(0x188)]():undefined,_0x46ac93=_0x430271?this['findGitConfig'](_0x430271):null,_0x3e4b9c=_0x430271?this['_paths'][_0x4beaf9(0x193)](this[_0x4beaf9(0x248)](_0x1b98f2)):_0x3d23f1[_0x4beaf9(0x214)];let _0x19d7ee=_0x3d23f1[_0x4beaf9(0x234)];const _0x2ab34f=!_0x474805[_0x4beaf9(0x219)]?new Date()['toISOString']():null;if(_0x474805[_0x4beaf9(0x1d0)])_0x19d7ee=_0x5d191b?_0x3d23f1[_0x4beaf9(0x213)]:_0x3d23f1['zLeAT'],_0x1b98f2[_0x4beaf9(0x17f)]=!![];else _0x474805['skipped']&&(_0x19d7ee=_0x3d23f1[_0x4beaf9(0x1b5)],_0x1b98f2[_0x4beaf9(0x17f)]=!![]);const _0x942f21={'framework':this[_0x4beaf9(0x18d)],'uuid':_0x1b98f2[_0x4beaf9(0x199)]||_0x1b98f2['hookAnalyticsId'],'name':_0x1b98f2[_0x4beaf9(0x197)],'body':{'lang':_0x3d23f1['IXwJU'],'code':_0x1b98f2[_0x4beaf9(0x25d)][_0x4beaf9(0x188)]()},'type':_0x1b98f2['type'],'scope':_0x1b98f2[_0x4beaf9(0x1da)](),'scopes':this[_0x4beaf9(0x1c6)](_0x1b98f2),'file_name':_0x3e4b9c,'vc_filepath':_0x46ac93?path[_0x4beaf9(0x1be)](_0x46ac93,_0x430271):null,'location':_0x3e4b9c,'result':_0x19d7ee,'failure_reason':_0x472ba1,'duration_in_ms':_0x1b98f2[_0x4beaf9(0x1ec)]||(_0x474805[_0x4beaf9(0x1d0)]||_0x474805[_0x4beaf9(0x20c)])?_0x3d23f1[_0x4beaf9(0x1a9)](Date['now'](),new Date(_0x1b98f2[_0x4beaf9(0x217)])[_0x4beaf9(0x24c)]()):null,'started_at':new Date(_0x1b98f2[_0x4beaf9(0x217)])[_0x4beaf9(0x18e)](),'finished_at':_0x2ab34f,'failure':testOpsHelper['failureData'][_0x4beaf9(0x17d)](null,_0x3d814f),'failure_type':!_0x472ba1?null:testOpsHelper[_0x4beaf9(0x25e)](_0x472ba1),'retry_of':_0x1b98f2[_0x4beaf9(0x23c)]||null,'tags':_0x1b98f2[_0x4beaf9(0x23a)]||[],'customRerunParam':{'rerun_name':_0x1b98f2[_0x4beaf9(0x1da)]()}};_0x3d23f1[_0x4beaf9(0x19b)](appendTesthubParams,_0x942f21,_0x49bb8c,_0x1b98f2,FRAMEWORKS['CODECEPT']);if(_0x474805['hook'])[_0x942f21['hook_type'],_0x942f21[_0x4beaf9(0x17b)]]=[this[_0x4beaf9(0x264)](_0x1b98f2),_0x1b98f2['ctx'][_0x4beaf9(0x222)][_0x4beaf9(0x197)]],_0x474805[_0x4beaf9(0x1d0)]?_0x3d23f1['DyfSi'](_0x942f21[_0x4beaf9(0x19d)],_0x3d23f1[_0x4beaf9(0x213)])&&(_0x942f21['result']=_0x3d23f1[_0x4beaf9(0x20d)]):_0x942f21[_0x4beaf9(0x25d)]={};else _0x474805['test']&&(this[_0x4beaf9(0x1d5)](_0x1b98f2),_0x474805[_0x4beaf9(0x20c)]&&this['resetSkipTestHooks'](_0x1b98f2),(_0x474805[_0x4beaf9(0x1d0)]||_0x474805[_0x4beaf9(0x20c)])&&(_0x942f21[_0x4beaf9(0x195)]=this[_0x4beaf9(0x210)](_0x1b98f2)));this[_0x4beaf9(0x1e6)]&&(_0x474805['started']||_0x474805[_0x4beaf9(0x20c)])&&(_0x942f21[_0x3d23f1['ceHAm']]=this[_0x4beaf9(0x1d8)](this[_0x4beaf9(0x1e6)]));_0x474805['test']&&_0x474805[_0x4beaf9(0x1d0)]&&_0x1b98f2[_0x4beaf9(0x1d4)]&&(_0x942f21[_0x3d23f1['RLOLX']]={'feature':{'name':_0x1b98f2[_0x4beaf9(0x256)][_0x4beaf9(0x1a5)][_0x4beaf9(0x17b)],'path':_0x942f21['file_name'],'description':_0x1b98f2[_0x4beaf9(0x256)][_0x4beaf9(0x19c)]},'scenario':{'name':_0x1b98f2[_0x4beaf9(0x197)]},'steps':_0x1b98f2[_0x4beaf9(0x1d4)]});const _0x3ee176=_0x942f21[_0x3d23f1[_0x4beaf9(0x180)]][0x0];_0x3ee176&&(_0x942f21[_0x3d23f1['uMAMy']]=_0x3ee176[_0x3d23f1['QvRkR']],_0x942f21[_0x3d23f1[_0x4beaf9(0x260)]]=_0x3ee176[_0x3d23f1['iIoZy']]);if(_0x1b98f2[_0x4beaf9(0x1d4)])for(const _0x342eeb of _0x1b98f2['bddSteps']){!_0x342eeb[_0x4beaf9(0x186)]&&(_0x342eeb[_0x4beaf9(0x186)]=new Date()['toISOString'](),_0x3d23f1[_0x4beaf9(0x1a4)](_0x342eeb[_0x4beaf9(0x19d)],_0x3d23f1['jBQMw'])&&(_0x3ee176?(_0x342eeb[_0x4beaf9(0x19d)]=_0x3d23f1[_0x4beaf9(0x213)],_0x342eeb[_0x4beaf9(0x24f)]=_0x3ee176[_0x3d23f1[_0x4beaf9(0x1ac)]][0x0]):_0x342eeb[_0x4beaf9(0x19d)]=_0x3d23f1[_0x4beaf9(0x20d)]));}const _0x1144ec={};_0x1144ec['event_type']=_0x474805[_0x4beaf9(0x20c)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x49bb8c;const _0x493c00=_0x1144ec;return _0x474805[_0x4beaf9(0x1b1)]?_0x493c00[_0x3d23f1[_0x4beaf9(0x1d1)]]=_0x942f21:_0x493c00[_0x3d23f1[_0x4beaf9(0x1dd)]]=_0x942f21,_0x493c00;}catch(_0x96b55e){logger[_0x4beaf9(0x21d)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x49bb8c+_0x4beaf9(0x191)+_0x96b55e);}}async[a3_0x1a59d0(0x25f)](_0x482530,_0x4e0045){const _0xa4017b=a3_0x1a59d0;if(!this['enabled']||!_0x4e0045||!_0x482530)return![];try{return await SessionHandler[_0xa4017b(0x21b)](_0x4e0045);}catch(_0x43949e){logger[_0xa4017b(0x21d)](_0xa4017b(0x207)+_0x482530+_0xa4017b(0x191)+_0x43949e);}}[a3_0x1a59d0(0x1d9)](_0x2f393b){const _0x37071e=a3_0x1a59d0,_0x1e136a={};_0x1e136a['bfGcL']=_0x37071e(0x1e2);const _0xd40de6=_0x1e136a;return{'id':_0x2f393b[_0x37071e(0x1db)],'text':_0x2f393b[_0x37071e(0x1df)],'keyword':_0x2f393b[_0x37071e(0x1c3)],'started_at':_0x2f393b['startedAt'][_0x37071e(0x18e)](),'result':_0xd40de6[_0x37071e(0x1cb)]};}['bddStepStart'](_0x2bd0b6){const _0x2e51cf=a3_0x1a59d0,_0x159215={'yfuym':function(_0x357068){return _0x357068();}};!this[_0x2e51cf(0x241)][_0x2e51cf(0x1d4)]&&(this['currentTest'][_0x2e51cf(0x1d4)]=[]),!_0x2bd0b6[_0x2e51cf(0x1db)]&&(_0x2bd0b6[_0x2e51cf(0x1db)]=_0x159215['yfuym'](uuidv4),_0x2bd0b6[_0x2e51cf(0x217)]=new Date(),this[_0x2e51cf(0x241)][_0x2e51cf(0x1d4)][_0x2e51cf(0x19f)](this[_0x2e51cf(0x1d9)](_0x2bd0b6)));}['bddStepFinish'](_0x41f487){const _0x107012=a3_0x1a59d0,_0x3c8951={'biTjf':function(_0x485ddf,_0x29f2c4){return _0x485ddf(_0x29f2c4);},'nIorF':_0x107012(0x1b8),'mdLpB':_0x107012(0x1e2),'HBObk':_0x107012(0x24d),'vZLqV':function(_0x55bb76,_0x2ab239){return _0x55bb76-_0x2ab239;}};let _0x22032a=this[_0x107012(0x241)][_0x107012(0x1d4)][_0x107012(0x1c2)](_0x36ddf9=>_0x36ddf9['id']===_0x41f487[_0x107012(0x1db)]);_0x3c8951[_0x107012(0x1f9)](isUndefined,_0x22032a)&&(_0x22032a=this['initializeBddStep'](_0x41f487)),_0x22032a[_0x107012(0x19d)]=[_0x3c8951[_0x107012(0x1e9)],_0x3c8951[_0x107012(0x1c5)]][_0x107012(0x267)](_0x41f487[_0x107012(0x20b)])?_0x3c8951[_0x107012(0x182)]:_0x41f487[_0x107012(0x20b)],_0x22032a['finished_at']=new Date()[_0x107012(0x18e)](),_0x22032a['duration']=_0x3c8951[_0x107012(0x1c1)](Date[_0x107012(0x17c)](),_0x41f487[_0x107012(0x217)][_0x107012(0x24c)]()),_0x22032a['failure']=_0x41f487[_0x107012(0x257)]?_0x41f487[_0x107012(0x257)]['message']:null;}}const a3_0x173330={};function a3_0x5414(){const _0x5ca2aa=['bfGcL','groups','PLAYWRIGHT_HUB_URL','Mgnfl','HookRunFinished','finished','eIJnd','TEST_REPORTING_ANALYTICS','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','bddSteps','mapTestHooks','.git','TestRunStarted','getCBTInfo','initializeBddStep','fullTitle','stepAnalyticsId','yzutu','fCmGS','pendingHookEvents','text','ctx','bGHyQ','pending','nyjei','HookRunStarted','ETDNX','driver','stringify','stop','nIorF','setupBrowserDetails','YoVve','duration','uehei','TEST_RUN_STARTED','file','LemFG','pswHi','join','captureEvent','format','prototype','pid','GUFzj','patchConsoleLogger','biTjf','BROWSERSTACK','statSync','_afterAll','LQZtn','KNzBl','1719228uqsVau','javascript','replace','MDTLc','errorsDetailed','TEST_EVENTS','string','forEach','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','appendTestItemLog','hKxOx','backtrace','status','skipped','zLeAT','removeAllListeners','_beforeAll','getHooksForTest','HWKBz','957656tBpokT','NGYWf','feVvq','then','toUpperCase','startedAt','BlMYJ','started','../../helpers/test-observability/constants','uploadEventData','test_run_uuid','debug','nsjcx','677640FXCgBc','UQBTY','exports','test','1|5|4|2|0|3','../../helpers/logger','LogCreated','_paths','__cloud_provider___','_afterEach','../mocha/test-observability/mochaUtils','test_run','qXecN','currentHook','cwd','toLowerCase','ivjKV','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','Playwright','length','location_prefix','jBQMw','1112848cYFepl','46928nivoOp','uuid','path','_beforeEach','tags','logs','retryOf','constructor','VJbkv','jpURX','../../helpers/test-observability/utils','currentTest','3270940OBzlVv','failure_backtrace','TcxDv','DyfSi','IyfPX','shutdown','getRootParentFile','match','gfzbK','XncLO','getTime','passed','GicXq','failure','MvvpO','Not\x20able\x20to\x20import\x20Browser','./helper.js','ifdXL','integrations','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','parent','err','resetSkipTestHooks','defineProperty','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','HTmHk','Hxhzn','body','getFailureType','fireEvent','WLCxr','YrHIK','../playwright/sessionDetails','hjMAp','getHookType','hookAnalyticsId','bind','includes','connect','PathHelper','split','name','now','apply','getInstance','markedStatus','ZMjiD','JUirD','HBObk','start','hook_run','xYrfV','finished_at','HJKSs','toString','ERpGE','zeMPt','File\x20path\x20could\x20not\x20be\x20found','dirname','frameworkName','toISOString','OERWg','TEST_RUN_FINISHED','\x20with\x20error\x20:\x20','wsEndpoint','prefixTestPath','meta','hooks','event_type','title','hook_run_uuid','testAnalyticsId','cqJfZ','vMGIJ','comment','result','CBTSessionCreated','push','eventType','SryAz','LYqfG','RnmCK','rdfXW','feature','hasLiveDriverSession','2985978VwaAMz','launch','HKoqI','qINKk','util','QvRkR','__platformCaps','3sDJQTo','kfcwm','rmjnr','hook','Failed\x20to\x20parse\x20wsendpoint\x20','NVMsK','GNQiG','DuFlb','failed\x20to\x20get\x20root\x20parent\x20file\x20','HOOK_RUN_FINISHED','success','_testEnv','concat','winstonLogger','ZraZn','uploadData','relative','OfgUl','suites','vZLqV','find','keyword','Zkkrz','mdLpB','getHierarchy','failure_reason_expanded','failed','dkgEj','enabled'];a3_0x5414=function(){return _0x5ca2aa;};return a3_0x5414();}function a3_0x5a77(_0x57aaca,_0x48de87){const _0x54141d=a3_0x5414();return a3_0x5a77=function(_0x5a773c,_0x531aaa){_0x5a773c=_0x5a773c-0x179;let _0x18e267=_0x54141d[_0x5a773c];return _0x18e267;},a3_0x5a77(_0x57aaca,_0x48de87);}a3_0x173330['O11yHelper']=O11yHelper,a3_0x173330['STATE_PASSED']=STATE_PASSED,a3_0x173330['STATE_FAILED']=STATE_FAILED,a3_0x173330[a3_0x1a59d0(0x204)]=TEST_EVENTS,module[a3_0x1a59d0(0x221)]=a3_0x173330;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a4_0x50e077=a4_0x2a42;function a4_0x3e79(){const _0x1d1de2=['cVxYE','\x20failed','start','cyan','Bckmk','isRunning','skipSessionStatus','2406142YavhhX','nxEPj','wBVvV','hUBib','vdZAE','../../helpers/helper','logLevel','../v2/cliUtils','platforms','pGisL','ftNgo','removeDir','\x20undefined','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','109310wfToJw','stepsSkipped','../../helpers/logger','../test-runner','configPath','EVENTS','getInstance','FCGdR','log','scenarios','initialize','hdXle','forEach','\x20steps','isBrowserstackInfra','getErrorMessageFromResults','then','stepsFailed','../playwright/accessibility-helper','length','debug','printBuildLink','YSoNu','GWfIP','framework','mergeOutputFiles','858dAgOrj','nVklH','__isPlaywrightInstalled','stepsAmbiguous','12420GzLHHa','parseFormatters','****\x20RESULTS\x20****','accessibilityOptions','testObservability','assign','../../helpers/utilities','stepsUnknown','SbkpP','skipSessionName','turboScaleUrl','scenariosFailed','dxTrF','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','TVweE','BROWSERSTACK_CLI_BIN_SESSION_ID','binSessionId','setBrowserstackConfig','indexOf','BjNgS','../../helpers/accessibility-automation/helper','end','@playwright/test','isCLIEnabled','stCAZ','MoLiO','bootstrap','vmjMP','../../helpers/test-observability/constants','QyKZs','wGVFU','errorMessage','config','handleApp','--disable-test-observability','useW3C','wKdiq','96943gpilCz','SDK_SETUP','green','SDK_CLEANUP','myOYL','yellow','Removing\x20tmp\x20directory\x20created\x20for\x20reports','format','proxySettings','isUndefined','ttPWz','../utils/constants','SVnQA','5028nUAgBl','wWpyG','red','stepsUndefined','winstonLogger','../utils/clientTroubleshootingService','FRAMEWORKS','true','getPlatformName','isMainConnected','env','\x20pending','uYqWW','browserstackAutomation','IaKeE','path','chalk','BROWSERSTACK_LOG_LEVEL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../v2/browserstackCLI','accessibility','jpvsr','push','CUCUMBER','../../helpers/playwright-helper','BROWSERSTACK_TEST_OBSERVABILITY','cwd','getHubUrl','jZHoV','XbOlu','getUserWorkerCount','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','sUKcz','5540gOGLrA','nuCdR','parallelsPerPlatform','\x20scenarios','Generating\x20consolidated\x20report...','ZDIuN','../../helpers/performance/performance-tester','31187JsRTYl','4152ZgBpGZ','aArXt','1632189MHMdpm','bgWhite','2476xFxZDF','1lkbiyG','prepareCapabilities','twGWW','204xwLuhz','argv','browserStackCwd','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','setFrameworkDetail','BROWSERSTACK_FRAMEWORK','uayeR','stop','\x20passed','bold','stringify','BROWSERSTACK_AUTOMATION','isChildConnected','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tTfYD','finalExecution','vYkwW','cucumber','join','setupBrowserstackLocal'];a4_0x3e79=function(){return _0x1d1de2;};return a4_0x3e79();}(function(_0xa5d0fb,_0x222cae){const _0x88bcd3=a4_0x2a42,_0x4409c4=_0xa5d0fb();while(!![]){try{const _0x2710df=parseInt(_0x88bcd3(0x1e3))/0x1*(parseInt(_0x88bcd3(0x201))/0x2)+parseInt(_0x88bcd3(0x1e0))/0x3+parseInt(_0x88bcd3(0x1e2))/0x4*(-parseInt(_0x88bcd3(0x1d6))/0x5)+-parseInt(_0x88bcd3(0x1e6))/0x6*(-parseInt(_0x88bcd3(0x1a8))/0x7)+parseInt(_0x88bcd3(0x1de))/0x8*(-parseInt(_0x88bcd3(0x183))/0x9)+parseInt(_0x88bcd3(0x210))/0xa*(parseInt(_0x88bcd3(0x17f))/0xb)+-parseInt(_0x88bcd3(0x1b5))/0xc*(parseInt(_0x88bcd3(0x1dd))/0xd);if(_0x2710df===_0x222cae)break;else _0x4409c4['push'](_0x4409c4['shift']());}catch(_0x1b3531){_0x4409c4['push'](_0x4409c4['shift']());}}}(a4_0x3e79,0xa1f45));function a4_0x2a42(_0x1a553b,_0x4446e7){const _0x3e7921=a4_0x3e79();return a4_0x2a42=function(_0x2a42d5,_0x3030fe){_0x2a42d5=_0x2a42d5-0x16a;let _0x34180a=_0x3e7921[_0x2a42d5];return _0x34180a;},a4_0x2a42(_0x1a553b,_0x4446e7);}const path=require(a4_0x50e077(0x1c4)),util=require('util'),logger=require(a4_0x50e077(0x212))[a4_0x50e077(0x1b9)],helper=require(a4_0x50e077(0x206)),utilities=require(a4_0x50e077(0x189)),constants=require(a4_0x50e077(0x1b3)),{parallelCucumberRun}=require(a4_0x50e077(0x213)),TestHubHandler=require(a4_0x50e077(0x20e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a4_0x50e077(0x1c5)),PerformanceTester=require(a4_0x50e077(0x1dc)),PerformanceEvents=require('../../helpers/performance/constants')[a4_0x50e077(0x16a)],BrowserstackCLI=require(a4_0x50e077(0x1c8)),CLIUtils=require(a4_0x50e077(0x208)),{checkPwandBootstrapCli}=require(a4_0x50e077(0x1cd)),ClientTroubleShootingService=require(a4_0x50e077(0x1ba));function printCucumberStats(_0x5a8d78){const _0x61f337=a4_0x50e077,_0x8e7456={};_0x8e7456[_0x61f337(0x20a)]=function(_0x5e5ead,_0x5b5ccb){return _0x5e5ead>_0x5b5ccb;},_0x8e7456[_0x61f337(0x1c1)]=function(_0x104fef,_0x348dbd){return _0x104fef-_0x348dbd;},_0x8e7456['nuCdR']=function(_0x59ebac,_0x59a81b){return _0x59ebac-_0x59a81b;},_0x8e7456[_0x61f337(0x19e)]=function(_0x5cf1ea,_0x31cb3c){return _0x5cf1ea>_0x31cb3c;},_0x8e7456[_0x61f337(0x205)]=function(_0x3f28a3,_0x5b92a1){return _0x3f28a3>_0x5b92a1;},_0x8e7456['wWpyG']=function(_0x5565aa,_0x3b156d){return _0x5565aa>_0x3b156d;},_0x8e7456[_0x61f337(0x170)]=function(_0x5542a7,_0x2dd00a){return _0x5542a7+_0x2dd00a;},_0x8e7456[_0x61f337(0x1a7)]=function(_0x335de6,_0x119df8){return _0x335de6+_0x119df8;},_0x8e7456[_0x61f337(0x19b)]=function(_0x242dcd,_0x5d0cd7){return _0x242dcd+_0x5d0cd7;},_0x8e7456[_0x61f337(0x18f)]=function(_0x4a3e00,_0x2af932){return _0x4a3e00+_0x2af932;},_0x8e7456[_0x61f337(0x1df)]=function(_0x4e3e00,_0xbb2678){return _0x4e3e00+_0xbb2678;},_0x8e7456[_0x61f337(0x1d1)]=function(_0xd22ea4,_0x501318){return _0xd22ea4===_0x501318;},_0x8e7456[_0x61f337(0x180)]=_0x61f337(0x185);const _0x346e5b=_0x8e7456;let _0x404814=0x0;if(_0x346e5b[_0x61f337(0x1d1)](_0x5a8d78[_0x61f337(0x178)],0x0))return _0x404814;return console['log'](chalk[_0x61f337(0x1ef)][_0x61f337(0x1e1)](_0x346e5b[_0x61f337(0x180)])),_0x5a8d78[_0x61f337(0x171)](_0x2c2a9d=>{const _0x496ee6=_0x61f337,_0x56670b=_0x2c2a9d[0x0],_0xe1127e=_0x2c2a9d[0x1];helper['isBrowserstackInfra']()&&console[_0x496ee6(0x16d)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x496ee6(0x1bd)](_0x56670b)));const _0x3fb5ab=_0xe1127e[_0x496ee6(0x16e)],_0x3f1bfc=_0xe1127e['steps'],_0x3f5ce9=_0xe1127e[_0x496ee6(0x18e)],_0x4999f4=_0xe1127e[_0x496ee6(0x176)],_0x2271ab=_0xe1127e['stepsPassed'],_0x165d54=_0xe1127e[_0x496ee6(0x211)],_0x58d87b=_0xe1127e['stepsPending'],_0x142fdb=_0xe1127e[_0x496ee6(0x1b8)],_0x40f273=_0xe1127e[_0x496ee6(0x18a)],_0x28417a=_0xe1127e[_0x496ee6(0x182)],_0x70e6d2=_0xe1127e['processSuccess'];let _0x3f3644=_0x3fb5ab+_0x496ee6(0x1d9);const _0x42f98e=_0x346e5b['pGisL'](_0x346e5b[_0x496ee6(0x1c1)](_0x3fb5ab,_0x3f5ce9),0x0)?_0x346e5b[_0x496ee6(0x1d7)](_0x3fb5ab,_0x3f5ce9):0x0;if(_0x346e5b['vmjMP'](_0x3f5ce9,0x0)&&_0x346e5b[_0x496ee6(0x19e)](_0x42f98e,0x0))_0x3f3644+='\x20('+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1b7)](_0x3f5ce9+_0x496ee6(0x1fb))+',\x20'+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1aa)](_0x42f98e+'\x20passed')+')';else(_0x346e5b['vmjMP'](_0x3f5ce9,0x0)||_0x346e5b[_0x496ee6(0x19e)](_0x42f98e,0x0))&&(_0x3f3644+=_0x346e5b[_0x496ee6(0x205)](_0x3f5ce9,0x0)?'\x20('+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1b7)](_0x3f5ce9+_0x496ee6(0x1fb))+')':'\x20('+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1aa)](_0x42f98e+_0x496ee6(0x1ee))+')');const _0x4b7762=_0x3f1bfc+_0x496ee6(0x172),_0x132744=[];_0x346e5b[_0x496ee6(0x20a)](_0x28417a,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)]['red'](_0x28417a+'\x20ambiguous'));_0x346e5b[_0x496ee6(0x20a)](_0x4999f4,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1b7)](_0x4999f4+_0x496ee6(0x1fb)));_0x346e5b[_0x496ee6(0x1b6)](_0x2271ab,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk['bold'][_0x496ee6(0x1aa)](_0x2271ab+'\x20passed'));_0x346e5b[_0x496ee6(0x20a)](_0x58d87b,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)][_0x496ee6(0x1ad)](_0x58d87b+_0x496ee6(0x1c0)));_0x346e5b[_0x496ee6(0x205)](_0x165d54,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk['bold'][_0x496ee6(0x1fd)](_0x165d54+'\x20skipped'));_0x346e5b[_0x496ee6(0x19e)](_0x142fdb,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk[_0x496ee6(0x1ef)]['yellow'](_0x142fdb+_0x496ee6(0x20d)));_0x346e5b['wWpyG'](_0x40f273,0x0)&&_0x132744[_0x496ee6(0x1cb)](''+chalk['bold'][_0x496ee6(0x1ad)](_0x40f273+'\x20skipped'));const _0x27c998=_0x346e5b[_0x496ee6(0x170)](_0x346e5b[_0x496ee6(0x1a7)](_0x346e5b['stCAZ'](_0x4b7762,'('),_0x132744[_0x496ee6(0x1f8)](',\x20')),')');console[_0x496ee6(0x16d)](_0x346e5b[_0x496ee6(0x170)](_0x346e5b[_0x496ee6(0x170)](_0x346e5b[_0x496ee6(0x18f)](_0x346e5b[_0x496ee6(0x1df)]('\x0a',_0x3f3644),'\x0a'),_0x27c998),'\x0a')),_0x346e5b[_0x496ee6(0x1d1)](_0x70e6d2,![])&&(_0x404814=0x1);}),_0x404814;}async function run(_0xeb529,_0x3040ad,_0x3bd822){const _0x1bad11=a4_0x50e077,_0x3eec88={'SbkpP':function(_0x2e03f0,_0x53486e){return _0x2e03f0(_0x53486e);},'IaKeE':function(_0x18abea,_0x584b6c){return _0x18abea>_0x584b6c;},'tTfYD':_0x1bad11(0x1da),'jpvsr':_0x1bad11(0x1ae),'ftNgo':_0x1bad11(0x1f7),'ttPWz':_0x1bad11(0x199),'wGVFU':'cucumber-js','XbOlu':function(_0x10cb8d,_0x1606ed,_0x5698e4,_0x539c04){return _0x10cb8d(_0x1606ed,_0x5698e4,_0x539c04);},'myOYL':'tmp','cVxYE':function(_0x2e6303,_0x2fa545){return _0x2e6303>_0x2fa545;},'ZDIuN':function(_0x50b86a,_0x3baef3){return _0x50b86a-_0x3baef3;},'twGWW':function(_0x1ad4a9,_0x5643c4){return _0x1ad4a9>=_0x5643c4;},'Bckmk':function(_0x45c54f,_0x32c702){return _0x45c54f!=_0x32c702;},'nxEPj':_0x1bad11(0x1bc),'wBVvV':_0x1bad11(0x197),'GWfIP':_0x1bad11(0x177),'ggOuk':function(_0x264a45,_0x21f0ed){return _0x264a45(_0x21f0ed);},'TVweE':'false','SVnQA':function(_0x2ca3f5,_0x17ecbf){return _0x2ca3f5===_0x17ecbf;},'MoLiO':function(_0x1f77e9,_0x144157){return _0x1f77e9(_0x144157);},'GIjkN':_0x1bad11(0x1c8),'YSoNu':function(_0x7d8f0d,_0x425f1b){return _0x7d8f0d(_0x425f1b);},'FCGdR':_0x1bad11(0x208),'vYkwW':_0x1bad11(0x19f),'sUKcz':function(_0x46548e,_0x13c288){return _0x46548e(_0x13c288);},'hUBib':_0x1bad11(0x1a5),'QyKZs':function(_0x160dac,_0x537e60){return _0x160dac===_0x537e60;},'uayeR':function(_0x50c07e,_0x357c84){return _0x50c07e===_0x357c84;},'mDDwn':function(_0x52b2df,_0x237a6f){return _0x52b2df(_0x237a6f);},'BjNgS':_0x1bad11(0x1e8),'PQsfA':function(_0x24c404,_0x3aef16,_0xcbb13f,_0x4675b3,_0x39f3ec,_0x879367){return _0x24c404(_0x3aef16,_0xcbb13f,_0x4675b3,_0x39f3ec,_0x879367);}},_0x7c166=helper['getPackageVersion'](_0x3eec88[_0x1bad11(0x1b2)]);global[_0x1bad11(0x181)]=!!_0x7c166,process['env'][_0x1bad11(0x1eb)]=process['env'][_0x1bad11(0x1eb)]||_0x3bd822[_0x1bad11(0x17d)]||_0x3eec88[_0x1bad11(0x1a1)],await _0x3bd822[_0x1bad11(0x16f)](_0xeb529);if(_0x3bd822[_0x1bad11(0x1a3)]&&!helper[_0x1bad11(0x1b1)](_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x207)])){process['env'][_0x1bad11(0x1c6)]=_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x207)];const _0x18fb6e={};_0x18fb6e[_0x1bad11(0x207)]=_0x3bd822['config']['logLevel'],helper['setLogLevel'](_0x18fb6e,new Map(),new Map());}await _0x3eec88[_0x1bad11(0x1d2)](checkPwandBootstrapCli,_0x7c166,constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)],_0x3bd822);BrowserstackCLI[_0x1bad11(0x16b)]()[_0x1bad11(0x193)]&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x192)]=BrowserstackCLI[_0x1bad11(0x16b)]()[_0x1bad11(0x193)]);helper['setUserConfigPath'](_0x3bd822[_0x1bad11(0x17d)],_0xeb529),await helper[_0x1bad11(0x1a4)](_0x3bd822[_0x1bad11(0x1a3)]);const _0x2d6560=helper[_0x1bad11(0x1a6)](_0x3bd822[_0x1bad11(0x1a3)]);!helper[_0x1bad11(0x1b1)](_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x186)])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x20f)]=JSON[_0x1bad11(0x1f0)](_0x3bd822[_0x1bad11(0x1a3)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x1bad11(0x1ff)]()){const _0x2dcfe9=await TestHubHandler['launchBuild'](constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)],_0x3bd822);}let _0x5ee1f7=[];if(!helper[_0x1bad11(0x173)]()){const _0x4f9edf={};_0x4f9edf[_0x1bad11(0x209)]=[],_0x5ee1f7=helper[_0x1bad11(0x1e4)](Object[_0x1bad11(0x188)]({},_0x3bd822[_0x1bad11(0x1a3)],_0x4f9edf),_0x2d6560,constants[_0x1bad11(0x1bb)]['CUCUMBER']);}else _0x5ee1f7=helper[_0x1bad11(0x1e4)](_0x3bd822[_0x1bad11(0x1a3)],_0x2d6560,constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)]);if(!_0x3bd822[_0x1bad11(0x1a3)])return;const _0x3ed967=_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1d8)]||helper[_0x1bad11(0x1d3)](_0xeb529,_0x3040ad,_0x3bd822[_0x1bad11(0x1a3)],constants['FRAMEWORKS'][_0x1bad11(0x1cc)])||0x1,_0x5a74f5={'server':helper[_0x1bad11(0x1d0)](_0x3bd822[_0x1bad11(0x1a3)]),'proxySettings':_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1b0)],'maxWorkers':_0x3ed967,'browserStackLogLevel':_0x3bd822['config'][_0x1bad11(0x207)],'skipSessionName':_0x3bd822['config']['testContextOptions'][_0x1bad11(0x18c)],'skipSessionStatus':_0x3bd822[_0x1bad11(0x1a3)]['testContextOptions'][_0x1bad11(0x200)],'turboScaleUrl':_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x18d)]},_0x324905=process[_0x1bad11(0x1e7)],[_0x314f78,_0x4f7efe]=helper[_0x1bad11(0x184)](_0x324905),_0x234e72=path[_0x1bad11(0x1f8)](process[_0x1bad11(0x1cf)](),_0x3eec88[_0x1bad11(0x1ac)]);if(_0x3eec88[_0x1bad11(0x1fa)](_0x4f7efe[_0x1bad11(0x178)],0x0)){helper['createDir'](_0x234e72);for(let _0x4e5765=_0x3eec88[_0x1bad11(0x1db)](_0x314f78['length'],0x1);_0x3eec88[_0x1bad11(0x1e5)](_0x4e5765,0x0);_0x4e5765--){_0x324905['splice'](_0x314f78[_0x4e5765],0x2);}}_0x3eec88[_0x1bad11(0x1fe)](_0x3bd822[_0x1bad11(0x1a3)]['testObservability'],null)?process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x187)]:process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3eec88['nxEPj'];if(_0x7c166)try{const {checkAccessibilityPlatformConfig:_0x1288f6}=_0x3eec88[_0x1bad11(0x18b)](require,_0x3eec88[_0x1bad11(0x203)]),{setAccessibilityCapabilities:_0x518eb0}=_0x3eec88[_0x1bad11(0x18b)](require,_0x3eec88[_0x1bad11(0x17c)]),_0xd2df27=_0x3eec88['SbkpP'](_0x1288f6,_0x3bd822[_0x1bad11(0x1a3)]);if(!helper['isUndefined'](_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1c9)]))process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3eec88['ggOuk'](String,!!_0x3bd822[_0x1bad11(0x1a3)][_0x1bad11(0x1c9)]);else helper[_0x1bad11(0x1b1)](process[_0x1bad11(0x1bf)][_0x1bad11(0x1c7)])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1c7)]=_0xd2df27?_0x3eec88[_0x1bad11(0x202)]:_0x3eec88[_0x1bad11(0x191)]);process[_0x1bad11(0x1bf)][_0x1bad11(0x1f3)]=_0xd2df27?_0x3eec88['nxEPj']:_0x3eec88['TVweE'],!BrowserstackCLI[_0x1bad11(0x16b)]()[_0x1bad11(0x1ff)]()&&_0x3eec88[_0x1bad11(0x1b4)](process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x3eec88[_0x1bad11(0x202)])&&_0x3eec88[_0x1bad11(0x19c)](_0x518eb0,_0x3bd822[_0x1bad11(0x1a3)]);}catch(_0x282ba1){logger['debug'](_0x1bad11(0x190)+util['format'](_0x282ba1));}try{const _0x1863eb=_0x3eec88['MoLiO'](require,_0x3eec88['GIjkN']),_0x2e5a7e=_0x3eec88[_0x1bad11(0x17b)](require,_0x3eec88[_0x1bad11(0x16c)]),{FRAMEWORKS:_0x550a44}=_0x3eec88['ggOuk'](require,_0x3eec88[_0x1bad11(0x1f6)]),{checkAccessibilityPlatformConfig:_0x3487a4}=_0x3eec88[_0x1bad11(0x19c)](require,_0x3eec88[_0x1bad11(0x203)]),{setAccessibilityCapabilities:_0x53b6c8}=_0x3eec88[_0x1bad11(0x1d5)](require,_0x3eec88['GWfIP']),_0x411796=helper['getPackageVersion'](_0x3eec88['ttPWz']);if(_0x411796){_0x2e5a7e[_0x1bad11(0x1ea)](constants[_0x1bad11(0x1bb)][_0x1bad11(0x1cc)],constants[_0x1bad11(0x1bb)]['PLAYWRIGHT']);const _0x251491=_0x1863eb[_0x1bad11(0x16b)]();_0x251491[_0x1bad11(0x194)](_0x3bd822['config'],_0x3bd822[_0x1bad11(0x214)],_0x3bd822['cliConfig']);!_0x251491[_0x1bad11(0x1be)]&&!_0x251491[_0x1bad11(0x1f2)]&&await _0x251491[_0x1bad11(0x19d)]();const _0x41dee8=_0x1863eb[_0x1bad11(0x16b)]()['getConfig']();!helper['isFalse'](_0x41dee8[_0x1bad11(0x1c2)])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1f1)]=_0x3eec88[_0x1bad11(0x202)]);_0x3eec88[_0x1bad11(0x1b4)](_0x41dee8[_0x1bad11(0x1c2)],![])&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1f1)]=_0x3eec88[_0x1bad11(0x191)]);const _0x3a2a9d=_0x3040ad[_0x1bad11(0x195)](_0x3eec88[_0x1bad11(0x204)]);(_0x3eec88[_0x1bad11(0x1e5)](_0x3a2a9d,0x0)||_0x3eec88[_0x1bad11(0x1a0)](_0x41dee8[_0x1bad11(0x187)],![]))&&(process[_0x1bad11(0x1bf)][_0x1bad11(0x1ce)]=_0x3eec88['TVweE']);if(!_0x1863eb['getInstance']()['isRunning']()){let _0x4dc197=_0x3eec88[_0x1bad11(0x1ec)](process['env'][_0x1bad11(0x1c7)],_0x3eec88['nxEPj']);_0x4dc197=_0x4dc197||_0x3eec88[_0x1bad11(0x1d5)](_0x3487a4,_0x3bd822[_0x1bad11(0x1a3)]),process[_0x1bad11(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4dc197,_0x4dc197&&_0x3eec88['mDDwn'](_0x53b6c8,_0x3bd822[_0x1bad11(0x1a3)]);}}}catch(_0x18535a){logger[_0x1bad11(0x179)](_0x1bad11(0x1d4)+util[_0x1bad11(0x1af)](_0x18535a));}!BrowserstackCLI['getInstance']()[_0x1bad11(0x1ff)]()&&await _0x3bd822[_0x1bad11(0x1f9)]();PerformanceTester[_0x1bad11(0x198)](PerformanceEvents[_0x1bad11(0x1a9)]),process['env'][_0x3eec88[_0x1bad11(0x196)]]=process[_0x1bad11(0x1cf)]();let _0x471396;_0x3eec88['PQsfA'](parallelCucumberRun,_0x5ee1f7,_0x5a74f5,_0x3bd822[_0x1bad11(0x1a3)],_0x324905,_0x4f7efe)[_0x1bad11(0x175)](async _0x408e4f=>{const _0x4e91a0=_0x1bad11;PerformanceTester[_0x4e91a0(0x1fc)](PerformanceEvents[_0x4e91a0(0x1ab)]),_0x471396=_0x408e4f;const _0x2e350c=_0x3eec88[_0x4e91a0(0x18b)](printCucumberStats,_0x408e4f);process['exitCode']=_0x2e350c,_0x3eec88[_0x4e91a0(0x1c3)](_0x4f7efe[_0x4e91a0(0x178)],0x0)&&(logger[_0x4e91a0(0x179)](_0x3eec88[_0x4e91a0(0x1f4)]),helper[_0x4e91a0(0x17e)](_0x234e72,_0x4f7efe),logger[_0x4e91a0(0x179)](_0x3eec88[_0x4e91a0(0x1ca)]),helper[_0x4e91a0(0x20c)](_0x234e72));})['finally'](async()=>{const _0x31f91b=_0x1bad11;PerformanceTester['start'](PerformanceEvents[_0x31f91b(0x1ab)]),_0x3bd822[_0x31f91b(0x1a2)]=helper[_0x31f91b(0x174)](_0x471396,_0x3eec88[_0x31f91b(0x20b)]),testOpsHelper[_0x31f91b(0x17a)]();const _0x5eb5a3=BrowserstackCLI[_0x31f91b(0x19a)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x31f91b(0x1ed)]();}catch(_0x365596){logger['debug'](_0x31f91b(0x1e9)+util['format'](_0x365596));}await utilities[_0x31f91b(0x1f5)](_0x3bd822,_0x5eb5a3);});}module['exports']=run;
2
+ 'use strict';const a4_0x13a9b0=a4_0x414e;function a4_0x60b3(){const _0x33bee1=['nddIR','Removing\x20tmp\x20directory\x20created\x20for\x20reports','exports','exitCode','QWsjf','framework','splice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','tmp','isMainConnected','bgWhite','eIMOu','testObservability','finally','isChildConnected','SDK_CLEANUP','\x20passed','NvGjP','isCLIEnabled','ptGiL','cwd','WHgsT','ZuREu','QYwKK','60228WUuksl','PbULN','env','YwBiT','start','stringify','../../helpers/playwright-helper','vHBbd','steps','parallelsPerPlatform','turboScaleUrl','length','24YNzMSm','Aknwz','QpcIA','FRAMEWORKS','20895hUWxQs','log','format','vtDmY','forEach','BROWSERSTACK_AUTOMATION','uQYBF','28fPLaEt','stop','getInstance','BROWSERSTACK_TEST_ACCESSIBILITY_YML','binSessionId','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','1099494EdvvKp','4905dOhGmu','indexOf','zkxgy','@playwright/test','dIbrV','getPlatformName','oVutO','mergeOutputFiles','178283zkGsoD','red','then','errorMessage','qgymn','stepsAmbiguous','cliConfig','40eRZOQC','isRunning','proxySettings','createDir','bootstrap','5990kElmzw','browserstackAutomation','setFrameworkDetail','ECNaf','getUserWorkerCount','40Xxxcgf','platforms','processSuccess','__isPlaywrightInstalled','launchBuild','../test-runner','../../helpers/utilities','DNcpm','****\x20RESULTS\x20****','argv','whbvf','scenariosFailed','stepsUnknown','sYVlf','../../helpers/performance/performance-tester','stepsUndefined','YBNEF','\x20steps','setupBrowserstackLocal','join','false','BROWSERSTACK_LOG_LEVEL','FVbYr','accessibilityOptions','bold','config','\x20scenarios','useW3C','ewSuI','isFalse','../../helpers/logger','23586pTBEiI','\x20failed','BROWSERSTACK_TEST_OBSERVABILITY_YML','browserStackCwd','getErrorMessageFromResults','testContextOptions','CUCUMBER','PLAYWRIGHT','setUserConfigPath','../playwright/accessibility-helper','gGAbh','YFMfl','stepsFailed','\x20pending','debug','yellow','parseFormatters','dGVIZ','stepsPassed','BROWSERSTACK_FRAMEWORK','OyoWD','end','afxmB','assign','handleApp','SqLrH','isUndefined','SqnsE','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','nWScj','RrqfG','logLevel','NrqrL','\x20skipped','../../helpers/testhub/testhubHandler','getPackageVersion','push','skipSessionStatus','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../v2/browserstackCLI','../v2/cliUtils','prepareCapabilities','removeDir','SDK_SETUP','printBuildLink','isBrowserstackInfra','EVENTS','1281090QfFCcI','../../helpers/test-observability/utils','green','scRZH','../../helpers/accessibility-automation/helper','cyan','cucumber','scenarios','../../helpers/test-observability/constants','EfmSL','aqfXo'];a4_0x60b3=function(){return _0x33bee1;};return a4_0x60b3();}(function(_0x464b2,_0x251c63){const _0x4896fa=a4_0x414e,_0x50342e=_0x464b2();while(!![]){try{const _0x2cbc7b=-parseInt(_0x4896fa(0x105))/0x1+-parseInt(_0x4896fa(0x132))/0x2*(parseInt(_0x4896fa(0xb3))/0x3)+parseInt(_0x4896fa(0x11c))/0x4*(-parseInt(_0x4896fa(0x115))/0x5)+-parseInt(_0x4896fa(0xe2))/0x6+-parseInt(_0x4896fa(0x12b))/0x7*(-parseInt(_0x4896fa(0x13c))/0x8)+parseInt(_0x4896fa(0x123))/0x9*(parseInt(_0x4896fa(0x137))/0xa)+-parseInt(_0x4896fa(0x122))/0xb*(-parseInt(_0x4896fa(0x111))/0xc);if(_0x2cbc7b===_0x251c63)break;else _0x50342e['push'](_0x50342e['shift']());}catch(_0x24e6e7){_0x50342e['push'](_0x50342e['shift']());}}}(a4_0x60b3,0x2f3c0));const path=require('path'),util=require('util'),logger=require(a4_0x13a9b0(0xb2))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a4_0x13a9b0(0x142)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a4_0x13a9b0(0x141)),TestHubHandler=require(a4_0x13a9b0(0xd5)),testOpsHelper=require(a4_0x13a9b0(0xe3)),chalk=require('chalk'),PerformanceTester=require(a4_0x13a9b0(0x14a)),PerformanceEvents=require('../../helpers/performance/constants')[a4_0x13a9b0(0xe1)],BrowserstackCLI=require(a4_0x13a9b0(0xda)),CLIUtils=require(a4_0x13a9b0(0xdb)),{checkPwandBootstrapCli}=require(a4_0x13a9b0(0x10b)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x15c50c){const _0x2172fe=a4_0x13a9b0,_0x3c12d9={};_0x3c12d9[_0x2172fe(0x112)]=function(_0x4705a0,_0x22f81a){return _0x4705a0>_0x22f81a;},_0x3c12d9[_0x2172fe(0x127)]=function(_0x53b36d,_0x2466f3){return _0x53b36d-_0x2466f3;},_0x3c12d9[_0x2172fe(0x149)]=function(_0x161f80,_0x5a83c7){return _0x161f80-_0x5a83c7;},_0x3c12d9[_0x2172fe(0x12f)]=function(_0x2b34f1,_0x4f21fa){return _0x2b34f1>_0x4f21fa;},_0x3c12d9[_0x2172fe(0x100)]=function(_0x3b883c,_0xfd2a36){return _0x3b883c>_0xfd2a36;},_0x3c12d9[_0x2172fe(0x108)]=function(_0x13653d,_0x355dc5){return _0x13653d>_0x355dc5;},_0x3c12d9[_0x2172fe(0xbd)]=function(_0x5ccac9,_0x3f2889){return _0x5ccac9>_0x3f2889;},_0x3c12d9[_0x2172fe(0xc4)]=function(_0x29479a,_0x3cbbec){return _0x29479a>_0x3cbbec;},_0x3c12d9['nddIR']=function(_0xb30207,_0x5d8204){return _0xb30207>_0x5d8204;},_0x3c12d9[_0x2172fe(0x102)]=function(_0x234e48,_0x1ee6da){return _0x234e48+_0x1ee6da;},_0x3c12d9[_0x2172fe(0xeb)]=function(_0x31ee3a,_0x8dcf8c){return _0x31ee3a+_0x8dcf8c;},_0x3c12d9[_0x2172fe(0xd0)]=function(_0x1b54db,_0x2c1631){return _0x1b54db+_0x2c1631;},_0x3c12d9['zkxgy']=function(_0x46ba00,_0x29b5c5){return _0x46ba00===_0x29b5c5;},_0x3c12d9[_0x2172fe(0xce)]=_0x2172fe(0x144);const _0xcbf0b8=_0x3c12d9;let _0x3d3ae2=0x0;if(_0xcbf0b8[_0x2172fe(0x125)](_0x15c50c[_0x2172fe(0x110)],0x0))return _0x3d3ae2;return console[_0x2172fe(0x116)](chalk['bold'][_0x2172fe(0xf7)](_0xcbf0b8['SqnsE'])),_0x15c50c[_0x2172fe(0x119)](_0x4be0ab=>{const _0x5eb279=_0x2172fe,_0xa80289=_0x4be0ab[0x0],_0x5093a8=_0x4be0ab[0x1];helper['isBrowserstackInfra']()&&console[_0x5eb279(0x116)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x5eb279(0x128)](_0xa80289)));const _0x42a566=_0x5093a8[_0x5eb279(0xe9)],_0x54fbff=_0x5093a8[_0x5eb279(0x10d)],_0x505946=_0x5093a8[_0x5eb279(0x147)],_0x1e9046=_0x5093a8[_0x5eb279(0xbf)],_0x27cf9d=_0x5093a8[_0x5eb279(0xc5)],_0x5d878f=_0x5093a8['stepsSkipped'],_0x5bed53=_0x5093a8['stepsPending'],_0x38576f=_0x5093a8[_0x5eb279(0x14b)],_0x332632=_0x5093a8[_0x5eb279(0x148)],_0x10cbf0=_0x5093a8[_0x5eb279(0x130)],_0x440ba3=_0x5093a8[_0x5eb279(0x13e)];let _0x5b8ba4=_0x42a566+_0x5eb279(0xae);const _0x5f3f95=_0xcbf0b8['Aknwz'](_0xcbf0b8[_0x5eb279(0x127)](_0x42a566,_0x505946),0x0)?_0xcbf0b8[_0x5eb279(0x149)](_0x42a566,_0x505946):0x0;if(_0xcbf0b8[_0x5eb279(0x112)](_0x505946,0x0)&&_0xcbf0b8[_0x5eb279(0x112)](_0x5f3f95,0x0))_0x5b8ba4+='\x20('+chalk[_0x5eb279(0xac)][_0x5eb279(0x12c)](_0x505946+_0x5eb279(0xb4))+',\x20'+chalk[_0x5eb279(0xac)][_0x5eb279(0xe4)](_0x5f3f95+_0x5eb279(0xfd))+')';else(_0xcbf0b8[_0x5eb279(0x12f)](_0x505946,0x0)||_0xcbf0b8[_0x5eb279(0x12f)](_0x5f3f95,0x0))&&(_0x5b8ba4+=_0xcbf0b8['ptGiL'](_0x505946,0x0)?'\x20('+chalk[_0x5eb279(0xac)][_0x5eb279(0x12c)](_0x505946+'\x20failed')+')':'\x20('+chalk[_0x5eb279(0xac)][_0x5eb279(0xe4)](_0x5f3f95+_0x5eb279(0xfd))+')');const _0x17b943=_0x54fbff+_0x5eb279(0x14d),_0x1282cb=[];_0xcbf0b8[_0x5eb279(0x12f)](_0x10cbf0,0x0)&&_0x1282cb[_0x5eb279(0xd7)](''+chalk['bold'][_0x5eb279(0x12c)](_0x10cbf0+'\x20ambiguous'));_0xcbf0b8[_0x5eb279(0x108)](_0x1e9046,0x0)&&_0x1282cb[_0x5eb279(0xd7)](''+chalk[_0x5eb279(0xac)][_0x5eb279(0x12c)](_0x1e9046+_0x5eb279(0xb4)));_0xcbf0b8[_0x5eb279(0xbd)](_0x27cf9d,0x0)&&_0x1282cb['push'](''+chalk[_0x5eb279(0xac)]['green'](_0x27cf9d+'\x20passed'));_0xcbf0b8[_0x5eb279(0xc4)](_0x5bed53,0x0)&&_0x1282cb[_0x5eb279(0xd7)](''+chalk[_0x5eb279(0xac)]['yellow'](_0x5bed53+_0x5eb279(0xc0)));_0xcbf0b8['YwBiT'](_0x5d878f,0x0)&&_0x1282cb[_0x5eb279(0xd7)](''+chalk[_0x5eb279(0xac)][_0x5eb279(0xe7)](_0x5d878f+_0x5eb279(0xd4)));_0xcbf0b8[_0x5eb279(0xbd)](_0x38576f,0x0)&&_0x1282cb[_0x5eb279(0xd7)](''+chalk[_0x5eb279(0xac)][_0x5eb279(0xc2)](_0x38576f+'\x20undefined'));_0xcbf0b8[_0x5eb279(0xed)](_0x332632,0x0)&&_0x1282cb[_0x5eb279(0xd7)](''+chalk[_0x5eb279(0xac)][_0x5eb279(0xc2)](_0x332632+_0x5eb279(0xd4)));const _0x162919=_0xcbf0b8[_0x5eb279(0x102)](_0xcbf0b8['WHgsT'](_0xcbf0b8[_0x5eb279(0x102)](_0x17b943,'('),_0x1282cb[_0x5eb279(0x14f)](',\x20')),')');console[_0x5eb279(0x116)](_0xcbf0b8['EfmSL'](_0xcbf0b8[_0x5eb279(0xd0)](_0xcbf0b8[_0x5eb279(0xd0)](_0xcbf0b8[_0x5eb279(0xd0)]('\x0a',_0x5b8ba4),'\x0a'),_0x162919),'\x0a')),_0xcbf0b8[_0x5eb279(0x125)](_0x440ba3,![])&&(_0x3d3ae2=0x1);}),_0x3d3ae2;}function a4_0x414e(_0x295341,_0x412469){const _0x60b36f=a4_0x60b3();return a4_0x414e=function(_0x414e0e,_0x1dd8dd){_0x414e0e=_0x414e0e-0xaa;let _0x2dbd11=_0x60b36f[_0x414e0e];return _0x2dbd11;},a4_0x414e(_0x295341,_0x412469);}async function run(_0x2b38f9,_0xbb1e61,_0x573881){const _0x4bc047=a4_0x13a9b0,_0x4f3a17={'vtDmY':function(_0x3c0637,_0x223af0){return _0x3c0637(_0x223af0);},'QYwKK':function(_0x3dbd31,_0x1577e0){return _0x3dbd31>_0x1577e0;},'YBNEF':'Generating\x20consolidated\x20report...','SqLrH':_0x4bc047(0xee),'fvIup':_0x4bc047(0xe8),'QpcIA':_0x4bc047(0x126),'afxmB':'cucumber-js','FVbYr':function(_0x46485,_0x412293,_0x399894,_0x39be04){return _0x46485(_0x412293,_0x399894,_0x39be04);},'YFMfl':_0x4bc047(0xf5),'QCCUk':function(_0xe1d07b,_0x28e0ca){return _0xe1d07b-_0x28e0ca;},'vHBbd':function(_0x2e00e5,_0x4fbf2c){return _0x2e00e5>=_0x4fbf2c;},'QWsjf':function(_0x4899bc,_0x1e253e){return _0x4899bc!=_0x1e253e;},'scRZH':'true','RrqfG':_0x4bc047(0xe6),'DNcpm':_0x4bc047(0xbc),'uQYBF':function(_0x8a378d,_0xca3da3){return _0x8a378d(_0xca3da3);},'OyoWD':_0x4bc047(0x150),'aqfXo':function(_0x7b3a37,_0x1c62b3){return _0x7b3a37===_0x1c62b3;},'oVutO':function(_0x3b5e91,_0x5da0a8){return _0x3b5e91(_0x5da0a8);},'ewSuI':_0x4bc047(0xda),'NrqrL':function(_0x510586,_0x335333){return _0x510586(_0x335333);},'PbULN':'../v2/cliUtils','whbvf':function(_0x50e41d,_0x3093af){return _0x50e41d(_0x3093af);},'fjWhy':_0x4bc047(0xea),'EQWWb':function(_0x38aa4c,_0xc7377c){return _0x38aa4c===_0xc7377c;},'ZuREu':'--disable-test-observability','VsKSd':function(_0x1267a0,_0x274f3b){return _0x1267a0>=_0x274f3b;},'eIMOu':function(_0x2204d2,_0x376d9d){return _0x2204d2===_0x376d9d;},'ECNaf':function(_0x3ff5de,_0x4d0e1f){return _0x3ff5de(_0x4d0e1f);},'NvGjP':_0x4bc047(0xb6),'MrYzP':function(_0x2ea50e,_0x48e25d,_0x46f1e8,_0x52c3ca,_0x347179,_0x1cf644){return _0x2ea50e(_0x48e25d,_0x46f1e8,_0x52c3ca,_0x347179,_0x1cf644);}},_0x26b0d7=helper['getPackageVersion'](_0x4f3a17[_0x4bc047(0x113)]);global[_0x4bc047(0x13f)]=!!_0x26b0d7,process[_0x4bc047(0x107)][_0x4bc047(0xc6)]=process[_0x4bc047(0x107)][_0x4bc047(0xc6)]||_0x573881[_0x4bc047(0xf2)]||_0x4f3a17[_0x4bc047(0xc9)],await _0x573881['initialize'](_0x2b38f9);if(_0x573881['config']&&!helper[_0x4bc047(0xcd)](_0x573881[_0x4bc047(0xad)][_0x4bc047(0xd2)])){process['env'][_0x4bc047(0x151)]=_0x573881['config']['logLevel'];const _0x58391e={};_0x58391e[_0x4bc047(0xd2)]=_0x573881[_0x4bc047(0xad)][_0x4bc047(0xd2)],helper['setLogLevel'](_0x58391e,new Map(),new Map());}await _0x4f3a17[_0x4bc047(0xaa)](checkPwandBootstrapCli,_0x26b0d7,constants[_0x4bc047(0x114)][_0x4bc047(0xb9)],_0x573881);BrowserstackCLI[_0x4bc047(0x11e)]()['binSessionId']&&(process[_0x4bc047(0x107)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()[_0x4bc047(0x120)]);helper[_0x4bc047(0xbb)](_0x573881[_0x4bc047(0xf2)],_0x2b38f9),await helper[_0x4bc047(0xcb)](_0x573881[_0x4bc047(0xad)]);const _0x4cba95=helper[_0x4bc047(0xaf)](_0x573881['config']);!helper[_0x4bc047(0xcd)](_0x573881[_0x4bc047(0xad)]['accessibilityOptions'])&&(process[_0x4bc047(0x107)][_0x4bc047(0xf4)]=JSON[_0x4bc047(0x10a)](_0x573881['config'][_0x4bc047(0xab)]));if(!BrowserstackCLI[_0x4bc047(0x11e)]()[_0x4bc047(0x133)]()){const _0x41710d=await TestHubHandler[_0x4bc047(0x140)](constants[_0x4bc047(0x114)][_0x4bc047(0xb9)],_0x573881);}let _0x4c86d4=[];if(!helper[_0x4bc047(0xe0)]()){const _0x5c2d0f={};_0x5c2d0f[_0x4bc047(0x13d)]=[],_0x4c86d4=helper[_0x4bc047(0xdc)](Object[_0x4bc047(0xca)]({},_0x573881[_0x4bc047(0xad)],_0x5c2d0f),_0x4cba95,constants[_0x4bc047(0x114)][_0x4bc047(0xb9)]);}else _0x4c86d4=helper[_0x4bc047(0xdc)](_0x573881[_0x4bc047(0xad)],_0x4cba95,constants[_0x4bc047(0x114)]['CUCUMBER']);if(!_0x573881[_0x4bc047(0xad)])return;const _0x293fb6=_0x573881[_0x4bc047(0xad)][_0x4bc047(0x10e)]||helper[_0x4bc047(0x13b)](_0x2b38f9,_0xbb1e61,_0x573881['config'],constants['FRAMEWORKS'][_0x4bc047(0xb9)])||0x1,_0x56326b={'server':helper['getHubUrl'](_0x573881[_0x4bc047(0xad)]),'proxySettings':_0x573881['config'][_0x4bc047(0x134)],'maxWorkers':_0x293fb6,'browserStackLogLevel':_0x573881[_0x4bc047(0xad)][_0x4bc047(0xd2)],'skipSessionName':_0x573881[_0x4bc047(0xad)][_0x4bc047(0xb8)]['skipSessionName'],'skipSessionStatus':_0x573881[_0x4bc047(0xad)]['testContextOptions'][_0x4bc047(0xd8)],'turboScaleUrl':_0x573881[_0x4bc047(0xad)][_0x4bc047(0x10f)]},_0x2b49da=process[_0x4bc047(0x145)],[_0x582e6b,_0x4bade3]=helper[_0x4bc047(0xc3)](_0x2b49da),_0x2dceba=path[_0x4bc047(0x14f)](process[_0x4bc047(0x101)](),_0x4f3a17[_0x4bc047(0xbe)]);if(_0x4f3a17['QYwKK'](_0x4bade3[_0x4bc047(0x110)],0x0)){helper[_0x4bc047(0x135)](_0x2dceba);for(let _0xab87ad=_0x4f3a17['QCCUk'](_0x582e6b['length'],0x1);_0x4f3a17[_0x4bc047(0x10c)](_0xab87ad,0x0);_0xab87ad--){_0x2b49da[_0x4bc047(0xf3)](_0x582e6b[_0xab87ad],0x2);}}_0x4f3a17[_0x4bc047(0xf1)](_0x573881[_0x4bc047(0xad)][_0x4bc047(0xf9)],null)?process[_0x4bc047(0x107)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x573881[_0x4bc047(0xad)][_0x4bc047(0xf9)]:process[_0x4bc047(0x107)][_0x4bc047(0xb5)]=_0x4f3a17[_0x4bc047(0xe5)];if(_0x26b0d7)try{const {checkAccessibilityPlatformConfig:_0x10fdee}=_0x4f3a17['vtDmY'](require,_0x4f3a17[_0x4bc047(0xd1)]),{setAccessibilityCapabilities:_0x4440df}=_0x4f3a17[_0x4bc047(0x118)](require,_0x4f3a17['DNcpm']),_0x5cf241=_0x4f3a17[_0x4bc047(0x118)](_0x10fdee,_0x573881[_0x4bc047(0xad)]);if(!helper[_0x4bc047(0xcd)](_0x573881[_0x4bc047(0xad)]['accessibility']))process[_0x4bc047(0x107)][_0x4bc047(0x11f)]=_0x4f3a17[_0x4bc047(0x11b)](String,!!_0x573881['config']['accessibility']);else helper[_0x4bc047(0xcd)](process[_0x4bc047(0x107)][_0x4bc047(0x11f)])&&(process[_0x4bc047(0x107)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5cf241?_0x4f3a17[_0x4bc047(0xe5)]:_0x4f3a17['OyoWD']);process[_0x4bc047(0x107)][_0x4bc047(0x121)]=_0x5cf241?_0x4f3a17[_0x4bc047(0xe5)]:_0x4f3a17[_0x4bc047(0xc7)],!BrowserstackCLI[_0x4bc047(0x11e)]()[_0x4bc047(0x133)]()&&_0x4f3a17[_0x4bc047(0xec)](process[_0x4bc047(0x107)][_0x4bc047(0x11f)],_0x4f3a17[_0x4bc047(0xe5)])&&_0x4f3a17[_0x4bc047(0x118)](_0x4440df,_0x573881[_0x4bc047(0xad)]);}catch(_0x325dac){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20'+util[_0x4bc047(0x117)](_0x325dac));}try{const _0x51158f=_0x4f3a17['oVutO'](require,_0x4f3a17[_0x4bc047(0xb0)]),_0x4c1876=_0x4f3a17[_0x4bc047(0xd3)](require,_0x4f3a17[_0x4bc047(0x106)]),{FRAMEWORKS:_0x735b40}=_0x4f3a17[_0x4bc047(0x146)](require,_0x4f3a17['fjWhy']),{checkAccessibilityPlatformConfig:_0x357e82}=_0x4f3a17[_0x4bc047(0x129)](require,_0x4f3a17[_0x4bc047(0xd1)]),{setAccessibilityCapabilities:_0x4d1d9a}=_0x4f3a17['vtDmY'](require,_0x4f3a17[_0x4bc047(0x143)]),_0x2b11d9=helper[_0x4bc047(0xd6)](_0x4f3a17['QpcIA']);if(_0x2b11d9){_0x4c1876[_0x4bc047(0x139)](constants[_0x4bc047(0x114)]['CUCUMBER'],constants[_0x4bc047(0x114)][_0x4bc047(0xba)]);const _0x4986c1=_0x51158f[_0x4bc047(0x11e)]();_0x4986c1['setBrowserstackConfig'](_0x573881['config'],_0x573881['configPath'],_0x573881[_0x4bc047(0x131)]);!_0x4986c1[_0x4bc047(0xf6)]&&!_0x4986c1[_0x4bc047(0xfb)]&&await _0x4986c1[_0x4bc047(0x136)]();const _0x506cca=_0x51158f[_0x4bc047(0x11e)]()['getConfig']();!helper[_0x4bc047(0xb1)](_0x506cca[_0x4bc047(0x138)])&&(process[_0x4bc047(0x107)][_0x4bc047(0x11a)]=_0x4f3a17['scRZH']);_0x4f3a17['EQWWb'](_0x506cca[_0x4bc047(0x138)],![])&&(process[_0x4bc047(0x107)]['BROWSERSTACK_AUTOMATION']=_0x4f3a17[_0x4bc047(0xc7)]);const _0x1835c7=_0xbb1e61[_0x4bc047(0x124)](_0x4f3a17[_0x4bc047(0x103)]);(_0x4f3a17['VsKSd'](_0x1835c7,0x0)||_0x4f3a17[_0x4bc047(0xec)](_0x506cca[_0x4bc047(0xf9)],![]))&&(process[_0x4bc047(0x107)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x4f3a17[_0x4bc047(0xc7)]);if(!_0x51158f[_0x4bc047(0x11e)]()[_0x4bc047(0x133)]()){let _0x5bc787=_0x4f3a17[_0x4bc047(0xf8)](process[_0x4bc047(0x107)][_0x4bc047(0x11f)],_0x4f3a17['scRZH']);_0x5bc787=_0x5bc787||_0x4f3a17[_0x4bc047(0x13a)](_0x357e82,_0x573881[_0x4bc047(0xad)]),process[_0x4bc047(0x107)][_0x4bc047(0x11f)]=_0x5bc787,_0x5bc787&&_0x4f3a17['vtDmY'](_0x4d1d9a,_0x573881['config']);}}}catch(_0x43f029){logger['debug'](_0x4bc047(0xcf)+util[_0x4bc047(0x117)](_0x43f029));}!BrowserstackCLI[_0x4bc047(0x11e)]()[_0x4bc047(0x133)]()&&await _0x573881[_0x4bc047(0x14e)]();PerformanceTester[_0x4bc047(0xc8)](PerformanceEvents[_0x4bc047(0xde)]),process[_0x4bc047(0x107)][_0x4f3a17[_0x4bc047(0xfe)]]=process[_0x4bc047(0x101)]();let _0x1e0cac;_0x4f3a17['MrYzP'](parallelCucumberRun,_0x4c86d4,_0x56326b,_0x573881['config'],_0x2b49da,_0x4bade3)[_0x4bc047(0x12d)](async _0x37a594=>{const _0xaac480=_0x4bc047;PerformanceTester['start'](PerformanceEvents[_0xaac480(0xfc)]),_0x1e0cac=_0x37a594;const _0x1e4b14=_0x4f3a17[_0xaac480(0x118)](printCucumberStats,_0x37a594);process[_0xaac480(0xf0)]=_0x1e4b14,_0x4f3a17[_0xaac480(0x104)](_0x4bade3['length'],0x0)&&(logger['debug'](_0x4f3a17[_0xaac480(0x14c)]),helper[_0xaac480(0x12a)](_0x2dceba,_0x4bade3),logger['debug'](_0x4f3a17[_0xaac480(0xcc)]),helper[_0xaac480(0xdd)](_0x2dceba));})[_0x4bc047(0xfa)](async()=>{const _0xac6bae=_0x4bc047;PerformanceTester[_0xac6bae(0x109)](PerformanceEvents[_0xac6bae(0xfc)]),_0x573881[_0xac6bae(0x12e)]=helper[_0xac6bae(0xb7)](_0x1e0cac,_0x4f3a17['fvIup']),testOpsHelper[_0xac6bae(0xdf)]();const _0x41380c=BrowserstackCLI[_0xac6bae(0xff)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0xac6bae(0x11d)]();}catch(_0x3684ef){logger[_0xac6bae(0xc1)](_0xac6bae(0xd9)+util[_0xac6bae(0x117)](_0x3684ef));}await utilities['finalExecution'](_0x573881,_0x41380c);});}module[a4_0x13a9b0(0xef)]=run;