browserstack-node-sdk 1.70.2 → 1.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) 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/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a1_0x41a918=a1_0x47ce;(function(_0x240325,_0x6783e7){const _0x40ae37=a1_0x47ce,_0x2c8929=_0x240325();while(!![]){try{const _0x2313ce=-parseInt(_0x40ae37(0x11c))/0x1*(parseInt(_0x40ae37(0x1bd))/0x2)+parseInt(_0x40ae37(0x177))/0x3*(parseInt(_0x40ae37(0x1a0))/0x4)+-parseInt(_0x40ae37(0x1a5))/0x5+-parseInt(_0x40ae37(0x129))/0x6+-parseInt(_0x40ae37(0x10b))/0x7*(-parseInt(_0x40ae37(0x1b8))/0x8)+parseInt(_0x40ae37(0x165))/0x9*(-parseInt(_0x40ae37(0x1ae))/0xa)+parseInt(_0x40ae37(0x1ad))/0xb*(parseInt(_0x40ae37(0x108))/0xc);if(_0x2313ce===_0x6783e7)break;else _0x2c8929['push'](_0x2c8929['shift']());}catch(_0x4b26b1){_0x2c8929['push'](_0x2c8929['shift']());}}}(a1_0x5c2e,0xcfb01));function a1_0x47ce(_0x518b68,_0x1a1a73){const _0x5c2e6f=a1_0x5c2e();return a1_0x47ce=function(_0x47ce70,_0x225d88){_0x47ce70=_0x47ce70-0x108;let _0x422e1d=_0x5c2e6f[_0x47ce70];return _0x422e1d;},a1_0x47ce(_0x518b68,_0x1a1a73);}const fs=require('fs'),path=require('path'),util=require('util'),process=require(a1_0x41a918(0x174)),logger=require(a1_0x41a918(0x123))[a1_0x41a918(0x144)],{default:BrowserStackSetup}=require(a1_0x41a918(0x16e)),helper=require(a1_0x41a918(0x125)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a1_0x41a918(0x18f)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x41a918(0x150)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x41a918(0x125)),CodeceptJS=requireModule(a1_0x41a918(0x10a),a1_0x41a918(0x14b)),testOpsHelper=require(a1_0x41a918(0x152)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a1_0x41a918(0x149)),constants=require(a1_0x41a918(0x145)),PerformanceTester=require(a1_0x41a918(0x10d)),{FRAMEWORKS}=require(a1_0x41a918(0x12b)),PerformanceEvents=require(a1_0x41a918(0x1b4))['EVENTS'],ClientTroubleShootingService=require(a1_0x41a918(0x12f)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x131bb9,_0x26d405)=>{const _0x38d020=a1_0x41a918,_0x28d979={};_0x28d979[_0x38d020(0x1be)]=function(_0x2c93b7,_0x43e23b){return _0x2c93b7===_0x43e23b;},_0x28d979['kewmN']=_0x38d020(0x14e),_0x28d979[_0x38d020(0x17d)]=_0x38d020(0x138);const _0x1874d5=_0x28d979;let _0x1d015f=null;const _0x3a176a={};let _0x37118e=_0x26d405[_0x38d020(0x16c)](_0x579522=>_0x579522===_0x38d020(0x193));_0x1874d5[_0x38d020(0x1be)](_0x37118e,-0x1)&&(_0x37118e=_0x26d405[_0x38d020(0x16c)](_0x41df9b=>_0x41df9b==='-c'));const _0x433e9d=!helper[_0x38d020(0x184)](_0x131bb9['config'])?helper[_0x38d020(0x18a)](_0x131bb9[_0x38d020(0x194)]):null,_0x58a737=!helper[_0x38d020(0x184)](_0x131bb9['c'])?helper[_0x38d020(0x18a)](_0x131bb9['c']):null;if(!helper['isUndefined'](_0x131bb9[_0x38d020(0x194)])&&!_0x433e9d)logger[_0x38d020(0x142)]('Ignoring\x20--config\x20path\x20\x22'+_0x131bb9[_0x38d020(0x194)]+_0x38d020(0x1b1));else!helper['isUndefined'](_0x131bb9['c'])&&!_0x58a737&&logger[_0x38d020(0x142)](_0x38d020(0x181)+_0x131bb9['c']+_0x38d020(0x1b1));if(_0x433e9d&&fs['existsSync'](_0x433e9d))_0x1d015f=_0x433e9d,_0x26d405['splice'](_0x37118e,0x2);else{if(_0x58a737&&fs[_0x38d020(0x139)](_0x58a737))_0x1d015f=_0x58a737,_0x26d405['splice'](_0x37118e,0x2);else{if(fs[_0x38d020(0x139)](path[_0x38d020(0x12a)](process[_0x38d020(0x12d)](),_0x1874d5[_0x38d020(0x13b)])))_0x1d015f=path[_0x38d020(0x12a)](process[_0x38d020(0x12d)](),_0x1874d5[_0x38d020(0x13b)]);else fs[_0x38d020(0x139)](path['join'](process[_0x38d020(0x12d)](),_0x1874d5[_0x38d020(0x17d)]))&&(_0x1d015f=path[_0x38d020(0x12a)](process[_0x38d020(0x12d)](),_0x1874d5[_0x38d020(0x17d)]));}}return process[_0x38d020(0x157)][_0x38d020(0x1a2)]=_0x1d015f,_0x1d015f;},getO11yRerunPattern=()=>{const _0x5dd5e7=a1_0x41a918,_0x3ef93f=helper[_0x5dd5e7(0x17c)](process['env'][_0x5dd5e7(0x1b2)]);if(_0x3ef93f){const _0x46cc15=process[_0x5dd5e7(0x157)][_0x5dd5e7(0x10e)],_0x51e379=[];if(helper[_0x5dd5e7(0x10c)](_0x46cc15)&&!helper[_0x5dd5e7(0x184)](_0x46cc15)){_0x46cc15[_0x5dd5e7(0x17b)](',')[_0x5dd5e7(0x1bb)](_0x4569db=>{const _0x35d8b1=_0x5dd5e7;_0x51e379[_0x35d8b1(0x168)]('('+_0x4569db[_0x35d8b1(0x185)]()+')');});const _0x4cf2f3='^'+_0x51e379['join']('|')+'$';return _0x4cf2f3;}}return null;},a1_0x2fde08={};function a1_0x5c2e(){const _0x321403=['bZfTZ','CpwhS','log','path','2480584soQEum','BROWSERSTACK_TEST_OBSERVABILITY_YML','USER_CONFIG_DETAILS_PATH','MsCXG','KBkxY','1817400ziLqIU','enabled','VbEif','testObservability','FRAMEWORKS','accessibility','browserWSEndpoint','tqRIv','11EAfboL','145590bBVkEC','info','addConfig','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','BROWSERSTACK_RERUN','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../../helpers/performance/constants','cNyRk','CODECEPT','getPlaywrightUrl','96776bDYFCd','pLbvv','replace','map','CODECEPT_CUCUMBER','14BIWElh','FFcLM','BROWSERSTACK_TEST_ACCESSIBILITY_YML','32012652cfXyOT','tdKvc','codeceptjs/lib/index.js','371cfAhZO','validateRerunTestList','../../helpers/performance/performance-tester','BROWSERSTACK_RERUN_TESTS','chromium','CQZNQ','function','hubUrl','BnSXG','SoMDz','ZVsxn','version','frameworkName','all','setupBrowserstackLocal','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','test','165833ooJNEO','assign','ETnsK','toLowerCase','qEqWB','plugins','result','../../helpers/logger','validPlatformsPresent','../../helpers/helper','setAdditionalCapabilities','platforms','profile','3785400QBXUze','join','../../helpers/test-observability/constants','parallelsPerPlatform','cwd','RGCrR','../utils/clientTroubleshootingService','run','chrome','SrFSC','playwright-chromium','gherkin','stack','eLvdO','Jlznf','codecept.json','existsSync','isTestObservabilitySession','kewmN','desiredCapabilities','\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.','Failed\x20:\x20','accessibilityOptions','start','gSLZh','warn','nRKwL','winstonLogger','../utils/constants','/wd/hub','stringify','helpers','../v2/browserstackCLI','bootstrapAll','codeceptjs','errorMessage','getInstance','codecept.conf.js','3|2|4|0|1','../../bin/playwright/accessibility-helper','testConfig','../../helpers/test-observability/utils','user','forEach','finalExecution','browser','env','BrowserStackPlugin','debug','printBuildLink','BrowserStackPlugin.js','prepareCapabilities','WdoVQ','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','Started\x20:\x20','launchBuild','LmUEx','Playwright','VKFbZ','event','954QgKWWX','useW3C','isRunning','push','length','handleApp','Passed\x20:\x20','findIndex','load','../../helpers/BrowserStackSetup','require','printResults','userName','isEmpty','true','process','end','hCBed','6jCSpIF','webkit','oRrRb','getPlatformName','split','isTrue','vPrYY','teardownAll','addTests','stop','Ignoring\x20-c\x20config\x20path\x20\x22','BROWSERSTACK_FRAMEWORK','AdiZm','isUndefined','trim','dirname','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','OtlZY','skipSessionStatus','resolveWithinCwd','SDK_CLEANUP','testContextOptions','RMAvl','QlDlE','../../helpers/accessibility-automation/helper','title','host','_ensureInitialized','--config','config','mergeDeep','ygXBi','codeceptjs/package.json','addOptions','browserName','UoIyb','chdir'];a1_0x5c2e=function(){return _0x321403;};return a1_0x5c2e();}a1_0x2fde08[a1_0x41a918(0x131)]=a1_0x41a918(0x10f),a1_0x2fde08[a1_0x41a918(0x133)]='chromium',a1_0x2fde08['playwright-firefox']='firefox',a1_0x2fde08['playwright-webkit']=a1_0x41a918(0x178);const pwToCodeceptBrowser=a1_0x2fde08;async function run(_0x51c101,_0x4afc54,_0x1d4948){const _0x1b2e28=a1_0x41a918,_0x3a1513={'WKgnf':function(_0x2a3c1d,_0x24f87e,_0x30fb5d,_0x30d204){return _0x2a3c1d(_0x24f87e,_0x30fb5d,_0x30d204);},'pLbvv':function(_0x27d761,_0x519588){return _0x27d761+_0x519588;},'SoMDz':function(_0x13d431,_0x228830){return _0x13d431(_0x228830);},'KBkxY':function(_0x3d1ae7,_0x592039,_0x527452){return _0x3d1ae7(_0x592039,_0x527452);},'ZVsxn':_0x1b2e28(0x148),'RGCrR':function(_0x27138c){return _0x27138c();},'CpwhS':_0x1b2e28(0x146),'hOhpn':function(_0x56c4b3){return _0x56c4b3();},'ygXBi':_0x1b2e28(0x13e),'gSLZh':_0x1b2e28(0x16b),'WdoVQ':_0x1b2e28(0x15f),'SMbzL':_0x1b2e28(0x14f),'RMAvl':function(_0xc4fef,_0x129435,_0x59c31e){return _0xc4fef(_0x129435,_0x59c31e);},'nRKwL':_0x1b2e28(0x1b3),'VbEif':_0x1b2e28(0x162),'qlQFI':'WebDriver','gzFUC':function(_0xbd63bd,_0x414e7b){return _0xbd63bd!=_0x414e7b;},'tqRIv':_0x1b2e28(0x173),'LmUEx':function(_0x286bc9,_0x2c00d9,_0x165c3b){return _0x286bc9(_0x2c00d9,_0x165c3b);},'cNyRk':_0x1b2e28(0x134),'VKFbZ':function(_0x2685bc){return _0x2685bc();},'bZfTZ':function(_0x2e1677,_0x59de6d){return _0x2e1677*_0x59de6d;},'BnSXG':function(_0x297690,_0x2c0505,_0x1a06a2){return _0x297690(_0x2c0505,_0x1a06a2);},'ETnsK':'browser','Jlznf':function(_0x50c835,_0x1130e9,_0x684f13){return _0x50c835(_0x1130e9,_0x684f13);},'QlDlE':'desiredCapabilities','yzkhr':function(_0x57e24f,_0x1a3982,_0x1ffa9c){return _0x57e24f(_0x1a3982,_0x1ffa9c);},'AdiZm':'root','hCBed':_0x1b2e28(0x15b),'QqzfQ':'browserStackCwd','MsCXG':_0x1b2e28(0x14b),'SrFSC':function(_0x1a787e,_0x1c031e){return _0x1a787e===_0x1c031e;},'tdKvc':_0x1b2e28(0x111),'oRrRb':_0x1b2e28(0x197),'OtlZY':function(_0x438285,_0x2392fb){return _0x438285>=_0x2392fb;},'CQZNQ':function(_0x5c36c2){return _0x5c36c2();}};await _0x1d4948['initialize'](_0x51c101);!BrowserstackCLI[_0x1b2e28(0x14d)]()[_0x1b2e28(0x167)]()&&await _0x1d4948[_0x1b2e28(0x119)]();await helper[_0x1b2e28(0x16a)](_0x1d4948[_0x1b2e28(0x194)]);if(!_0x1d4948[_0x1b2e28(0x194)])return;process['profile']=_0x51c101[_0x1b2e28(0x128)];_0x51c101[_0x1b2e28(0x128)]&&(process['env'][_0x1b2e28(0x128)]=_0x51c101['profile']);const _0xa6e665=_0x3a1513[_0x1b2e28(0x18d)](getUserCodeceptJSConfigs,_0x51c101,_0x4afc54);let _0x1ee154={};_0xa6e665?(logger[_0x1b2e28(0x1af)](_0x1b2e28(0x11a)+_0xa6e665),_0x1ee154=await CodeceptJS[_0x1b2e28(0x194)][_0x1b2e28(0x16d)](_0xa6e665)):logger[_0x1b2e28(0x1af)](_0x3a1513[_0x1b2e28(0x143)]);let _0x59b2=![];_0x3a1513[_0x1b2e28(0x1a4)](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x1b2e28(0x115)],_0x3a1513[_0x1b2e28(0x1a7)]])&&(_0x59b2=!![]);const _0x3c6944=_0x59b2?_0x3a1513[_0x1b2e28(0x1a7)]:_0x3a1513['qlQFI'];let _0x5e67ca=!_0x59b2?helper[_0x1b2e28(0x166)](_0x1d4948[_0x1b2e28(0x194)]):![];!helper[_0x1b2e28(0x184)](_0x1d4948[_0x1b2e28(0x194)][_0x1b2e28(0x13f)])&&(process[_0x1b2e28(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1b2e28(0x147)](_0x1d4948['config'][_0x1b2e28(0x13f)]));let _0x1d4920=_0x1d4948['config'][_0x1b2e28(0x1aa)];_0x1d4920=_0x1d4920||_0x3a1513[_0x1b2e28(0x114)](checkAccessibilityPlatformConfig,_0x1d4948['config']),process['env'][_0x1b2e28(0x1bf)]=_0x1d4920;_0x1d4920&&(_0x5e67ca=!_0x1d4920);_0x3a1513['gzFUC'](_0x1d4948[_0x1b2e28(0x194)][_0x1b2e28(0x1a8)],null)?process[_0x1b2e28(0x157)][_0x1b2e28(0x1a1)]=_0x1d4948[_0x1b2e28(0x194)][_0x1b2e28(0x1a8)]:process[_0x1b2e28(0x157)][_0x1b2e28(0x1a1)]=_0x3a1513[_0x1b2e28(0x1ac)];const _0x7653cd=_0x3a1513[_0x1b2e28(0x161)](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x1b2e28(0x1b5)]]),_0x5183f3=_0x7653cd&&!helper[_0x1b2e28(0x172)](_0x7653cd)?FRAMEWORKS[_0x1b2e28(0x1bc)]:FRAMEWORKS['CODECEPT'],_0x569e69=await TestHubHandler[_0x1b2e28(0x160)](_0x5183f3,_0x1d4948);await testOpsHelper[_0x1b2e28(0x15a)]();_0x1d4920&&_0x3a1513[_0x1b2e28(0x114)](setAccessibilityCapabilities,_0x1d4948['config']);const _0xc7e686={},_0x1383bc=[],_0x43a0c2=_0x1d4948[_0x1b2e28(0x194)][_0x1b2e28(0x12c)]||helper['getUserWorkerCount'](_0x51c101,_0x4afc54,_0x1d4948['config'],constants[_0x1b2e28(0x1a9)]['CODECEPT'])||0x1;let _0x51d4e4=0x1;if(_0x3a1513[_0x1b2e28(0x163)](isBrowserstackInfra)){const _0x529f60=helper[_0x1b2e28(0x15c)](_0x1d4948[_0x1b2e28(0x194)],_0x5e67ca,constants[_0x1b2e28(0x1a9)][_0x1b2e28(0x1b6)]);_0x529f60['forEach'](_0x3eb4c7=>{const _0x136e49=_0x1b2e28;helper[_0x136e49(0x126)](_0x3eb4c7);}),helper[_0x1b2e28(0x124)](_0x1d4948['config'])?_0x51d4e4=_0x3a1513[_0x1b2e28(0x19c)](_0x43a0c2,_0x1d4948['config'][_0x1b2e28(0x127)][_0x1b2e28(0x169)]):_0x51d4e4=_0x43a0c2,_0x529f60[_0x1b2e28(0x154)](_0x50f27e=>{const _0x3d5998=_0x1b2e28,_0x230f8e={'qEqWB':function(_0x481f3c,_0x50b9ee,_0x53004e,_0x43bad7){return _0x3a1513['WKgnf'](_0x481f3c,_0x50b9ee,_0x53004e,_0x43bad7);},'UoIyb':function(_0x242b2b,_0x1b49be){const _0x50b2d9=a1_0x47ce;return _0x3a1513[_0x50b2d9(0x1b9)](_0x242b2b,_0x1b49be);},'eLvdO':function(_0x2f558c,_0x3bc534){const _0x2b27f8=a1_0x47ce;return _0x3a1513[_0x2b27f8(0x114)](_0x2f558c,_0x3bc534);}},_0x725b2d=_0x3a1513[_0x3d5998(0x1b9)](helper[_0x3d5998(0x17a)](_0x50f27e,'_'),'_'+Date['now']()),_0x206c72=((()=>{const _0x204d79=_0x3d5998;if(_0x59b2){const _0x32f653=pwToCodeceptBrowser[_0x50f27e[_0x204d79(0x199)]]||_0x50f27e[_0x204d79(0x199)],_0x3e1837=helper[_0x204d79(0x1b7)](_0x1d4948[_0x204d79(0x194)]),_0xc2da7e=Object[_0x204d79(0x11d)]({},_0x50f27e);return _0x230f8e[_0x204d79(0x120)](processAccessibilityCaps,_0xc2da7e,_0x3e1837,null),{'browser':_0x32f653,[_0x32f653]:{'browserWSEndpoint':_0x230f8e[_0x204d79(0x19a)](_0x3e1837,_0x230f8e[_0x204d79(0x136)](encodeURIComponent,JSON[_0x204d79(0x147)](_0xc2da7e)))}};}const _0x4d2ff1={};return _0x4d2ff1[_0x204d79(0x13c)]=_0x50f27e,_0x4d2ff1[_0x204d79(0x153)]=_0x1d4948[_0x204d79(0x194)][_0x204d79(0x171)],_0x4d2ff1['key']=_0x1d4948['config']['accessKey'],_0x4d2ff1;})()),_0x426829=_0x3a1513['KBkxY'](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x3d5998(0x115)],_0x3c6944]);_0xc7e686[_0x725b2d]=_0x426829?helper['mergeDeep'](_0x206c72,_0x426829):_0x206c72;if(_0x59b2)_0xc7e686[_0x725b2d]['browser']=pwToCodeceptBrowser[_0x50f27e[_0x3d5998(0x199)]]||_0x50f27e[_0x3d5998(0x199)];else{_0xc7e686[_0x725b2d][_0x3d5998(0x156)]=_0x50f27e[_0x3d5998(0x199)]||_0x206c72[_0x3d5998(0x156)];if(_0x3a1513[_0x3d5998(0x12e)](isBrowserstackInfra)){_0xc7e686[_0x725b2d][_0x3d5998(0x191)]=constants[_0x3d5998(0x112)][_0x3d5998(0x1ba)](_0x3a1513['CpwhS'],'')[_0x3d5998(0x1ba)](/https?:\/\//,'');;_0xc7e686[_0x725b2d][_0x3d5998(0x19f)]=_0x3a1513[_0x3d5998(0x19d)];}}_0x1383bc[_0x3d5998(0x168)](_0x725b2d);});}else{_0x51d4e4=0x1;if(_0x59b2){const _0x15f0fa=_0x3a1513[_0x1b2e28(0x113)](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x1b2e28(0x115)],_0x3c6944,_0x3a1513[_0x1b2e28(0x11e)]]),_0x20a251=_0x3a1513[_0x1b2e28(0x18d)](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x1b2e28(0x115)],_0x3c6944,_0x15f0fa]);if(_0x20a251&&_0x20a251[_0x1b2e28(0x1ab)]){const _0x19d563={};_0x19d563[_0x1b2e28(0x127)]=[],_0x20a251[_0x1b2e28(0x1ab)]=helper[_0x1b2e28(0x15c)](Object[_0x1b2e28(0x11d)]({},_0x1d4948[_0x1b2e28(0x194)],_0x19d563),null,_0x5183f3[_0x1b2e28(0x11f)](),null,null,_0x20a251[_0x1b2e28(0x1ab)]);}}else{if(_0x3a1513[_0x1b2e28(0x137)](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x1b2e28(0x115)],_0x3c6944])){const _0x3bdf4a={};_0x3bdf4a[_0x1b2e28(0x127)]=[],_0x1ee154[_0x3a1513[_0x1b2e28(0x115)]][_0x3c6944][_0x3a1513[_0x1b2e28(0x18e)]]=helper['prepareCapabilities'](Object['assign']({},_0x1d4948[_0x1b2e28(0x194)],_0x3bdf4a),null,_0x5183f3['toLowerCase'](),_0x3a1513['yzkhr'](nestedKeyValue,_0x1ee154,[_0x3a1513[_0x1b2e28(0x115)],_0x3c6944,_0x3a1513[_0x1b2e28(0x18e)]])||{},null,null);}}_0xc7e686[_0x3a1513[_0x1b2e28(0x183)]]=_0x1ee154,_0x1383bc['push'](_0x3a1513[_0x1b2e28(0x183)]);}const _0x8551fe={};_0x8551fe[_0x1b2e28(0x151)]=_0xa6e665;const _0x40119a=_0x8551fe,_0x54adb5=path[_0x1b2e28(0x12a)](__dirname,_0x3a1513[_0x1b2e28(0x176)]),_0x40f254=process['cwd']();process[_0x1b2e28(0x157)][_0x3a1513['QqzfQ']]=_0x40f254;_0xa6e665&&process[_0x1b2e28(0x19b)](path[_0x1b2e28(0x186)](_0xa6e665));process[_0x1b2e28(0x157)][_0x1b2e28(0x182)]=process[_0x1b2e28(0x157)][_0x1b2e28(0x182)]||_0x3a1513['MsCXG'];const _0x4e47d3=new CodeceptJS['Workers'](null,_0x40119a);if(_0x3a1513[_0x1b2e28(0x132)](typeof _0x4e47d3[_0x1b2e28(0x192)],_0x3a1513[_0x1b2e28(0x109)]))await _0x4e47d3[_0x1b2e28(0x192)]();else{let _0x10e821;try{_0x10e821=_0x3a1513['KBkxY'](requireModule,_0x3a1513[_0x1b2e28(0x179)],_0x3a1513[_0x1b2e28(0x1a3)])[_0x1b2e28(0x116)];}catch(_0x26e4a8){logger[_0x1b2e28(0x159)](_0x1b2e28(0x187)+util['format'](_0x26e4a8));}_0x10e821&&_0x3a1513[_0x1b2e28(0x188)](_0x3a1513[_0x1b2e28(0x137)](parseInt,_0x10e821[_0x1b2e28(0x17b)]('.')[0x0],0xa),0x4)&&logger['warn']('CodeceptJS\x20'+_0x10e821+_0x1b2e28(0x13d));}const _0x26ea2=await _0x4e47d3['createGroupsOfSuites'](_0x43a0c2),_0x3aebba=testOpsHelper[_0x1b2e28(0x13a)](),_0x37300a=_0x1383bc[_0x1b2e28(0x1bb)](_0x507e8a=>{const _0x237e25=_0x1b2e28,_0x1ab60a={};_0x1ab60a[_0x237e25(0x162)]=_0xc7e686[_0x507e8a];const _0x4ac126={};_0x4ac126['WebDriver']=_0xc7e686[_0x507e8a];const _0x1d1389=_0x59b2?_0x1ab60a:_0x4ac126,_0x1f316f=_0x3a1513[_0x237e25(0x12e)](getO11yRerunPattern),_0x2835e9={};_0x2835e9[_0x237e25(0x148)]=_0x1d1389;const _0x146568={};_0x146568[_0x237e25(0x16f)]=_0x54adb5,_0x146568[_0x237e25(0x1a6)]=!![],_0x146568['skipSessionName']=_0x1d4948[_0x237e25(0x194)]['testContextOptions']['skipSessionName'],_0x146568[_0x237e25(0x189)]=_0x1d4948[_0x237e25(0x194)][_0x237e25(0x18c)][_0x237e25(0x189)],_0x146568[_0x237e25(0x1a8)]=_0x3aebba,_0x146568[_0x237e25(0x117)]=_0x5183f3;const _0x3bb576={};_0x3bb576[_0x237e25(0x158)]=_0x146568;const _0x1644cd={};return _0x1644cd[_0x237e25(0x121)]=_0x3bb576,helper[_0x237e25(0x195)]({},_0x1ee154,_0x3a1513['hOhpn'](isBrowserstackInfra)?_0x2835e9:{},_0x1f316f?{'grep':_0x1f316f}:{},_0x1644cd);});for(const _0x2ec808 of _0x37300a){for(const _0x404d31 of _0x26ea2){const _0x1a11d9=_0x4e47d3['spawn']();_0x1a11d9[_0x1b2e28(0x17f)](_0x404d31),_0x1a11d9[_0x1b2e28(0x1b0)](_0x2ec808);const _0x35b676={};_0x35b676[_0x1b2e28(0x194)]=_0xa6e665,_0x1a11d9[_0x1b2e28(0x198)](Object[_0x1b2e28(0x11d)](_0x35b676,_0x51c101));}}_0x4e47d3['on'](CodeceptJS[_0x1b2e28(0x164)]['test']['failed'],(_0x2f3a43,_0x10c049)=>{const _0x2b3b05=_0x1b2e28;console[_0x2b3b05(0x19e)](_0x3a1513[_0x2b3b05(0x196)],_0x2f3a43['title']);const _0x2402b3={[_0x2f3a43[_0x2b3b05(0x190)]]:_0x2f3a43['err'][_0x2b3b05(0x135)]};_testErrorData['push'](_0x2402b3);}),_0x4e47d3['on'](CodeceptJS[_0x1b2e28(0x164)][_0x1b2e28(0x11b)]['passed'],async _0x5cfd88=>{const _0x4a50a1=_0x1b2e28;console[_0x4a50a1(0x19e)](_0x3a1513[_0x4a50a1(0x141)],_0x5cfd88['title']);}),_0x4e47d3['on'](CodeceptJS[_0x1b2e28(0x164)]['test']['before'],async _0x294ccf=>{const _0x5224f6=_0x1b2e28;console['log'](_0x3a1513[_0x5224f6(0x15d)],_0x294ccf[_0x5224f6(0x190)]);}),_0x4e47d3['on'](CodeceptJS['event'][_0x1b2e28(0x118)][_0x1b2e28(0x122)],async()=>{const _0x3bd151=_0x1b2e28,_0xbfc4be=_0x3a1513['SMbzL'][_0x3bd151(0x17b)]('|');let _0x34ce8a=0x0;while(!![]){switch(_0xbfc4be[_0x34ce8a++]){case'0':try{await TestHubHandler[_0x3bd151(0x180)]();}catch(_0x475f25){logger['debug'](_0x3bd151(0x15e)+util['format'](_0x475f25));}continue;case'1':_0x4e47d3[_0x3bd151(0x170)]();continue;case'2':_0x1d4948[_0x3bd151(0x14c)]=_testErrorData;continue;case'3':PerformanceTester[_0x3bd151(0x140)](PerformanceEvents[_0x3bd151(0x18b)]);continue;case'4':utilities[_0x3bd151(0x155)](_0x1d4948);continue;}break;}});async function _0x346fcb(){const _0x37618b=_0x1b2e28;try{await _0x4e47d3[_0x37618b(0x14a)](),await _0x4e47d3[_0x37618b(0x130)]();}finally{process['chdir'](_0x40f254),await _0x4e47d3[_0x37618b(0x17e)]();}}PerformanceTester[_0x1b2e28(0x175)](PerformanceEvents['SDK_SETUP']),await _0x3a1513[_0x1b2e28(0x110)](_0x346fcb);}module['exports']=run;
2
+ 'use strict';const a1_0x37c488=a1_0x2095;function a1_0x2095(_0x12c858,_0x4d8b65){const _0x5045f5=a1_0x5045();return a1_0x2095=function(_0x2095a8,_0x3d2d97){_0x2095a8=_0x2095a8-0xfa;let _0x35a55f=_0x5045f5[_0x2095a8];return _0x35a55f;},a1_0x2095(_0x12c858,_0x4d8b65);}(function(_0x2ac27f,_0x3139fa){const _0x117aec=a1_0x2095,_0x115ef3=_0x2ac27f();while(!![]){try{const _0x2f1e95=parseInt(_0x117aec(0x19d))/0x1*(parseInt(_0x117aec(0x18a))/0x2)+parseInt(_0x117aec(0x182))/0x3*(-parseInt(_0x117aec(0x127))/0x4)+-parseInt(_0x117aec(0x15b))/0x5+parseInt(_0x117aec(0x15c))/0x6*(-parseInt(_0x117aec(0x1aa))/0x7)+-parseInt(_0x117aec(0x1a1))/0x8+parseInt(_0x117aec(0x116))/0x9*(parseInt(_0x117aec(0x166))/0xa)+parseInt(_0x117aec(0x18d))/0xb*(parseInt(_0x117aec(0x10b))/0xc);if(_0x2f1e95===_0x3139fa)break;else _0x115ef3['push'](_0x115ef3['shift']());}catch(_0x339419){_0x115ef3['push'](_0x115ef3['shift']());}}}(a1_0x5045,0x80b49));function a1_0x5045(){const _0x2bb32b=['BROWSERSTACK_FRAMEWORK','240116dMPMsr','setupBrowserstackLocal','../v2/browserstackCLI','88upwHlk','splice','../../helpers/accessibility-automation/helper','plugins','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','XVgIY','felQq','warn','toLowerCase','profile','config','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isEmpty','assign','reoeV','push','3twCtRf','userName','parallelsPerPlatform','Ignoring\x20--config\x20path\x20\x22','4336112xWEdPd','codeceptjs','Playwright','psDlD','initialize','mYWrm','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','\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.','chrome','2859899lLhmMl','BrowserStackPlugin','arIYh','errorMessage','launchBuild','isUndefined','map','codeceptjs/lib/index.js','prepareCapabilities','env','CodeceptJS\x20','useW3C','Started\x20:\x20','BROWSERSTACK_RERUN_TESTS','err','webkit','before','findIndex','format','oDdAo','browser','../utils/constants','4383828GBQZvI','log','getUserWorkerCount','playwright-chromium','USER_CONFIG_DETAILS_PATH','accessibilityOptions','util','split','title','debug','frameworkName','135CdeGWJ','bGATI','PaVzQ','--config','../../bin/playwright/accessibility-helper','host','gherkin','spawn','tYTnv','CODECEPT','COxHk','Passed\x20:\x20','playwright-webkit','codeceptjs/package.json','true','platforms','event','12dQnHtx','process','testObservability','qIttu','PNGjG','passed','forEach','start','teardownAll','xgUXz','root','DPStn','../../helpers/logger','info','FRAMEWORKS','XKYTm','version','../../helpers/test-observability/constants','load','testContextOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','function','AeXtF','existsSync','failed','EVENTS','addOptions','isRunning','OQGlT','browserName','dFvrQ','Failed\x20:\x20','wmUyi','path','SoNOo','kJcjC','SWZpY','ITqEy','stringify','../../helpers/performance/constants','end','dirname','3|2|1|0|4','handleApp','createGroupsOfSuites','chromium','RBJRN','SDK_SETUP','browserWSEndpoint','codecept.conf.js','stack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5095625Ibrcoh','6SJPzfi','desiredCapabilities','setAdditionalCapabilities','all','playwright-firefox','BrowserStackPlugin.js','chdir','exports','result','EnFlo','109370aRkTTE','join','SDK_CLEANUP','LYQie','addTests','test','GmIaX','../../helpers/helper','length','skipSessionStatus','GMzXx','isTestObservabilitySession','sqhPM','opFuN','MxToq','cwd','trim','hubUrl','enabled','firefox','resolveWithinCwd','NMeqz','WebDriver','skipSessionName','BROWSERSTACK_RERUN','weQfw','../../helpers/testhub/testhubHandler','printResults','949908NjMNAl','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../../helpers/test-observability/utils','getPlaywrightUrl','helpers','../utils/clientTroubleshootingService','validPlatformsPresent'];a1_0x5045=function(){return _0x2bb32b;};return a1_0x5045();}const fs=require('fs'),path=require(a1_0x37c488(0x148)),util=require(a1_0x37c488(0x111)),process=require(a1_0x37c488(0x128)),logger=require(a1_0x37c488(0x133))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a1_0x37c488(0x16d)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a1_0x37c488(0x18f)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a1_0x37c488(0x11a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0x37c488(0x16d)),CodeceptJS=requireModule(a1_0x37c488(0xfc),a1_0x37c488(0x1a2)),testOpsHelper=require(a1_0x37c488(0x184)),TestHubHandler=require(a1_0x37c488(0x180)),BrowserstackCLI=require(a1_0x37c488(0x18c)),constants=require(a1_0x37c488(0x10a)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a1_0x37c488(0x138)),PerformanceEvents=require(a1_0x37c488(0x14e))[a1_0x37c488(0x140)],ClientTroubleShootingService=require(a1_0x37c488(0x187)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x453513,_0x43e8df)=>{const _0x45bbe3=a1_0x37c488,_0x96dd1={};_0x96dd1[_0x45bbe3(0x172)]=function(_0x203cba,_0x47fa2b){return _0x203cba===_0x47fa2b;},_0x96dd1[_0x45bbe3(0x149)]=_0x45bbe3(0x158),_0x96dd1[_0x45bbe3(0x170)]='codecept.json';const _0x1058ea=_0x96dd1;let _0x4a56ea=null;const _0x4b4375={};let _0xa18a69=_0x43e8df[_0x45bbe3(0x106)](_0x623c1d=>_0x623c1d===_0x45bbe3(0x119));_0x1058ea[_0x45bbe3(0x172)](_0xa18a69,-0x1)&&(_0xa18a69=_0x43e8df[_0x45bbe3(0x106)](_0x164f51=>_0x164f51==='-c'));const _0x203708=!helper[_0x45bbe3(0xfa)](_0x453513[_0x45bbe3(0x197)])?helper[_0x45bbe3(0x17a)](_0x453513['config']):null,_0x504476=!helper[_0x45bbe3(0xfa)](_0x453513['c'])?helper[_0x45bbe3(0x17a)](_0x453513['c']):null;if(!helper[_0x45bbe3(0xfa)](_0x453513[_0x45bbe3(0x197)])&&!_0x203708)logger[_0x45bbe3(0x194)](_0x45bbe3(0x1a0)+_0x453513[_0x45bbe3(0x197)]+_0x45bbe3(0x1a7));else!helper['isUndefined'](_0x453513['c'])&&!_0x504476&&logger[_0x45bbe3(0x194)]('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x453513['c']+_0x45bbe3(0x1a7));if(_0x203708&&fs[_0x45bbe3(0x13e)](_0x203708))_0x4a56ea=_0x203708,_0x43e8df[_0x45bbe3(0x18e)](_0xa18a69,0x2);else{if(_0x504476&&fs[_0x45bbe3(0x13e)](_0x504476))_0x4a56ea=_0x504476,_0x43e8df[_0x45bbe3(0x18e)](_0xa18a69,0x2);else{if(fs[_0x45bbe3(0x13e)](path[_0x45bbe3(0x167)](process[_0x45bbe3(0x175)](),_0x1058ea[_0x45bbe3(0x149)])))_0x4a56ea=path[_0x45bbe3(0x167)](process['cwd'](),_0x1058ea[_0x45bbe3(0x149)]);else fs[_0x45bbe3(0x13e)](path['join'](process['cwd'](),_0x1058ea[_0x45bbe3(0x170)]))&&(_0x4a56ea=path[_0x45bbe3(0x167)](process[_0x45bbe3(0x175)](),_0x1058ea['GMzXx']));}}return process[_0x45bbe3(0xfe)][_0x45bbe3(0x10f)]=_0x4a56ea,_0x4a56ea;},getO11yRerunPattern=()=>{const _0x5abe13=a1_0x37c488,_0xb32225=helper['isTrue'](process[_0x5abe13(0xfe)][_0x5abe13(0x17e)]);if(_0xb32225){const _0x3beab2=process['env'][_0x5abe13(0x102)],_0x1f8055=[];if(helper['validateRerunTestList'](_0x3beab2)&&!helper[_0x5abe13(0xfa)](_0x3beab2)){_0x3beab2['split'](',')[_0x5abe13(0xfb)](_0x31f8b4=>{const _0x371691=_0x5abe13;_0x1f8055[_0x371691(0x19c)]('('+_0x31f8b4[_0x371691(0x176)]()+')');});const _0x75756f='^'+_0x1f8055[_0x5abe13(0x167)]('|')+'$';return _0x75756f;}}return null;},a1_0x44aa80={};a1_0x44aa80[a1_0x37c488(0x1a9)]=a1_0x37c488(0x154),a1_0x44aa80[a1_0x37c488(0x10e)]=a1_0x37c488(0x154),a1_0x44aa80[a1_0x37c488(0x160)]=a1_0x37c488(0x179),a1_0x44aa80[a1_0x37c488(0x122)]=a1_0x37c488(0x104);const pwToCodeceptBrowser=a1_0x44aa80;async function run(_0x44c139,_0x1d8d15,_0x33a7d4){const _0x25cf03=a1_0x37c488,_0x401029={'XKYTm':function(_0x14762c,_0x20cdb2,_0xfd0fce,_0x57def4){return _0x14762c(_0x20cdb2,_0xfd0fce,_0x57def4);},'SWZpY':function(_0x26f6b1,_0x58ed31){return _0x26f6b1+_0x58ed31;},'kJcjC':function(_0x3a6c07,_0x43ab10){return _0x3a6c07(_0x43ab10);},'XVgIY':function(_0x34a83a,_0x12895d){return _0x34a83a+_0x12895d;},'arIYh':function(_0x3282e4,_0xf9d063,_0x427b83){return _0x3282e4(_0xf9d063,_0x427b83);},'OQGlT':_0x25cf03(0x186),'weQfw':function(_0x212859){return _0x212859();},'wmUyi':'/wd/hub','DPStn':_0x25cf03(0x146),'tYTnv':_0x25cf03(0x121),'cbhVF':_0x25cf03(0x101),'xJOsi':_0x25cf03(0x151),'reoeV':_0x25cf03(0x183),'oDdAo':function(_0x877fc9,_0xed336c,_0x48c1a5){return _0x877fc9(_0xed336c,_0x48c1a5);},'dFvrQ':_0x25cf03(0x1a3),'opFuN':_0x25cf03(0x17c),'KCdhW':function(_0x24bde2,_0x5f31be){return _0x24bde2!=_0x5f31be;},'xgUXz':_0x25cf03(0x124),'psDlD':function(_0x3ee354,_0x355223,_0x2d43dd){return _0x3ee354(_0x355223,_0x2d43dd);},'PaVzQ':_0x25cf03(0x11c),'mYWrm':function(_0x554152,_0x572511){return _0x554152(_0x572511);},'pHRDi':function(_0x34feae,_0x4a615d){return _0x34feae*_0x4a615d;},'COxHk':function(_0x5cc780,_0x585c7b,_0x2a7a00){return _0x5cc780(_0x585c7b,_0x2a7a00);},'EnFlo':_0x25cf03(0x109),'LYQie':function(_0x42cfc0,_0x367574,_0x303b92){return _0x42cfc0(_0x367574,_0x303b92);},'felQq':_0x25cf03(0x15d),'RBJRN':function(_0x41029e,_0x5a2654,_0x427eef){return _0x41029e(_0x5a2654,_0x427eef);},'NMeqz':_0x25cf03(0x131),'PNGjG':_0x25cf03(0x161),'qIttu':'browserStackCwd','ITqEy':_0x25cf03(0x1a2),'FrbAx':function(_0x49be03,_0x49151a){return _0x49be03===_0x49151a;},'MxToq':_0x25cf03(0x13c),'AeXtF':function(_0x446589,_0x3d616b,_0x50b693){return _0x446589(_0x3d616b,_0x50b693);},'YoSOD':_0x25cf03(0x123),'bGATI':function(_0x35d470,_0x5c9ee9){return _0x35d470>=_0x5c9ee9;},'GmIaX':function(_0x28290b,_0x327ec5,_0x3274da){return _0x28290b(_0x327ec5,_0x3274da);}};await _0x33a7d4[_0x25cf03(0x1a5)](_0x44c139);!BrowserstackCLI['getInstance']()[_0x25cf03(0x142)]()&&await _0x33a7d4[_0x25cf03(0x18b)]();await helper[_0x25cf03(0x152)](_0x33a7d4[_0x25cf03(0x197)]);if(!_0x33a7d4[_0x25cf03(0x197)])return;process[_0x25cf03(0x196)]=_0x44c139['profile'];_0x44c139[_0x25cf03(0x196)]&&(process['env'][_0x25cf03(0x196)]=_0x44c139['profile']);const _0x581364=_0x401029['arIYh'](getUserCodeceptJSConfigs,_0x44c139,_0x1d8d15);let _0x576bea={};_0x581364?(logger[_0x25cf03(0x134)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x581364),_0x576bea=await CodeceptJS[_0x25cf03(0x197)][_0x25cf03(0x139)](_0x581364)):logger[_0x25cf03(0x134)](_0x401029[_0x25cf03(0x19b)]);let _0x1ad6da=![];_0x401029[_0x25cf03(0x108)](nestedKeyValue,_0x576bea,[_0x401029['OQGlT'],_0x401029[_0x25cf03(0x145)]])&&(_0x1ad6da=!![]);const _0x4fda2b=_0x1ad6da?_0x401029['dFvrQ']:_0x401029[_0x25cf03(0x173)];let _0x5b5ef4=!_0x1ad6da?helper[_0x25cf03(0x100)](_0x33a7d4['config']):![];!helper['isUndefined'](_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x110)])&&(process['env'][_0x25cf03(0x15a)]=JSON[_0x25cf03(0x14d)](_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x110)]));let _0x3a24ad=_0x33a7d4[_0x25cf03(0x197)]['accessibility'];_0x3a24ad=_0x3a24ad||_0x401029[_0x25cf03(0x14a)](checkAccessibilityPlatformConfig,_0x33a7d4[_0x25cf03(0x197)]),process[_0x25cf03(0xfe)][_0x25cf03(0x198)]=_0x3a24ad;_0x3a24ad&&(_0x5b5ef4=!_0x3a24ad);_0x401029['KCdhW'](_0x33a7d4[_0x25cf03(0x197)]['testObservability'],null)?process[_0x25cf03(0xfe)][_0x25cf03(0x13b)]=_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x129)]:process[_0x25cf03(0xfe)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x401029[_0x25cf03(0x130)];const _0x32d99a=_0x401029[_0x25cf03(0x1a4)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x118)]]),_0xeb88b3=_0x32d99a&&!helper[_0x25cf03(0x199)](_0x32d99a)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x25cf03(0x11f)],_0xbc2742=await TestHubHandler[_0x25cf03(0x1ae)](_0xeb88b3,_0x33a7d4);await testOpsHelper['printBuildLink']();_0x3a24ad&&_0x401029[_0x25cf03(0x1a6)](setAccessibilityCapabilities,_0x33a7d4[_0x25cf03(0x197)]);const _0x542da7={},_0x531b43=[],_0x430da7=_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x19f)]||helper[_0x25cf03(0x10d)](_0x44c139,_0x1d8d15,_0x33a7d4[_0x25cf03(0x197)],constants[_0x25cf03(0x135)]['CODECEPT'])||0x1;let _0x4fd12d=0x1;if(_0x401029['weQfw'](isBrowserstackInfra)){const _0x237bfb=helper[_0x25cf03(0xfd)](_0x33a7d4['config'],_0x5b5ef4,constants[_0x25cf03(0x135)][_0x25cf03(0x11f)]);_0x237bfb[_0x25cf03(0x12d)](_0x4f13d8=>{const _0x5614fa=_0x25cf03;helper[_0x5614fa(0x15e)](_0x4f13d8);}),helper[_0x25cf03(0x188)](_0x33a7d4[_0x25cf03(0x197)])?_0x4fd12d=_0x401029['pHRDi'](_0x430da7,_0x33a7d4[_0x25cf03(0x197)][_0x25cf03(0x125)][_0x25cf03(0x16e)]):_0x4fd12d=_0x430da7,_0x237bfb['forEach'](_0x5724d7=>{const _0x2c0067=_0x25cf03,_0x48911e=_0x401029[_0x2c0067(0x192)](helper['getPlatformName'](_0x5724d7,'_'),'_'+Date['now']()),_0x1af08b=((()=>{const _0x3be78f=_0x2c0067;if(_0x1ad6da){const _0x46bad1=pwToCodeceptBrowser[_0x5724d7[_0x3be78f(0x144)]]||_0x5724d7[_0x3be78f(0x144)],_0x374ca4=helper[_0x3be78f(0x185)](_0x33a7d4[_0x3be78f(0x197)]),_0x3d90b1=Object[_0x3be78f(0x19a)]({},_0x5724d7);return _0x401029[_0x3be78f(0x136)](processAccessibilityCaps,_0x3d90b1,_0x374ca4,null),{'browser':_0x46bad1,[_0x46bad1]:{'browserWSEndpoint':_0x401029[_0x3be78f(0x14b)](_0x374ca4,_0x401029['kJcjC'](encodeURIComponent,JSON[_0x3be78f(0x14d)](_0x3d90b1)))}};}const _0x521422={};return _0x521422[_0x3be78f(0x15d)]=_0x5724d7,_0x521422['user']=_0x33a7d4[_0x3be78f(0x197)][_0x3be78f(0x19e)],_0x521422['key']=_0x33a7d4['config']['accessKey'],_0x521422;})()),_0x20aa5d=_0x401029[_0x2c0067(0x1ac)](nestedKeyValue,_0x576bea,[_0x401029[_0x2c0067(0x143)],_0x4fda2b]);_0x542da7[_0x48911e]=_0x20aa5d?helper['mergeDeep'](_0x1af08b,_0x20aa5d):_0x1af08b;if(_0x1ad6da)_0x542da7[_0x48911e][_0x2c0067(0x109)]=pwToCodeceptBrowser[_0x5724d7[_0x2c0067(0x144)]]||_0x5724d7[_0x2c0067(0x144)];else{_0x542da7[_0x48911e]['browser']=_0x5724d7['browserName']||_0x1af08b[_0x2c0067(0x109)];if(_0x401029[_0x2c0067(0x17f)](isBrowserstackInfra)){_0x542da7[_0x48911e][_0x2c0067(0x11b)]=constants[_0x2c0067(0x177)]['replace'](_0x401029[_0x2c0067(0x147)],'')['replace'](/https?:\/\//,'');;_0x542da7[_0x48911e][_0x2c0067(0x148)]=_0x401029[_0x2c0067(0x147)];}}_0x531b43['push'](_0x48911e);});}else{_0x4fd12d=0x1;if(_0x1ad6da){const _0x2c5cb8=_0x401029[_0x25cf03(0x120)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b,_0x401029[_0x25cf03(0x165)]]),_0x33cbe3=_0x401029['arIYh'](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b,_0x2c5cb8]);if(_0x33cbe3&&_0x33cbe3[_0x25cf03(0x157)]){const _0x1fe311={};_0x1fe311['platforms']=[],_0x33cbe3[_0x25cf03(0x157)]=helper[_0x25cf03(0xfd)](Object['assign']({},_0x33a7d4[_0x25cf03(0x197)],_0x1fe311),null,_0xeb88b3[_0x25cf03(0x195)](),null,null,_0x33cbe3['browserWSEndpoint']);}}else{if(_0x401029[_0x25cf03(0x169)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b])){const _0x107129={};_0x107129[_0x25cf03(0x125)]=[],_0x576bea[_0x401029[_0x25cf03(0x143)]][_0x4fda2b][_0x401029[_0x25cf03(0x193)]]=helper['prepareCapabilities'](Object[_0x25cf03(0x19a)]({},_0x33a7d4['config'],_0x107129),null,_0xeb88b3[_0x25cf03(0x195)](),_0x401029[_0x25cf03(0x155)](nestedKeyValue,_0x576bea,[_0x401029[_0x25cf03(0x143)],_0x4fda2b,_0x401029[_0x25cf03(0x193)]])||{},null,null);}}_0x542da7[_0x401029[_0x25cf03(0x17b)]]=_0x576bea,_0x531b43[_0x25cf03(0x19c)](_0x401029['NMeqz']);}const _0x1d9005={};_0x1d9005['testConfig']=_0x581364;const _0x2764d8=_0x1d9005,_0x6f6ac9=path[_0x25cf03(0x167)](__dirname,_0x401029[_0x25cf03(0x12b)]),_0x2f3d45=process[_0x25cf03(0x175)]();process[_0x25cf03(0xfe)][_0x401029[_0x25cf03(0x12a)]]=_0x2f3d45;_0x581364&&process['chdir'](path[_0x25cf03(0x150)](_0x581364));process[_0x25cf03(0xfe)]['BROWSERSTACK_FRAMEWORK']=process[_0x25cf03(0xfe)][_0x25cf03(0x189)]||_0x401029[_0x25cf03(0x14c)];const _0x460482=new CodeceptJS['Workers'](null,_0x2764d8);if(_0x401029['FrbAx'](typeof _0x460482['_ensureInitialized'],_0x401029[_0x25cf03(0x174)]))await _0x460482['_ensureInitialized']();else{let _0x196807;try{_0x196807=_0x401029[_0x25cf03(0x13d)](requireModule,_0x401029['YoSOD'],_0x401029[_0x25cf03(0x14c)])[_0x25cf03(0x137)];}catch(_0x56b015){logger[_0x25cf03(0x114)]('Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20'+util[_0x25cf03(0x107)](_0x56b015));}_0x196807&&_0x401029[_0x25cf03(0x117)](_0x401029[_0x25cf03(0x16c)](parseInt,_0x196807['split']('.')[0x0],0xa),0x4)&&logger[_0x25cf03(0x194)](_0x25cf03(0xff)+_0x196807+_0x25cf03(0x1a8));}const _0xf7e930=await _0x460482[_0x25cf03(0x153)](_0x430da7),_0xef0a91=testOpsHelper[_0x25cf03(0x171)](),_0x5e6139=_0x531b43[_0x25cf03(0xfb)](_0x10ae0c=>{const _0x44fcd1=_0x25cf03,_0x23bddb={};_0x23bddb['Playwright']=_0x542da7[_0x10ae0c];const _0x137341={};_0x137341[_0x44fcd1(0x17c)]=_0x542da7[_0x10ae0c];const _0x4ae392=_0x1ad6da?_0x23bddb:_0x137341,_0x480eb3=_0x401029['weQfw'](getO11yRerunPattern),_0x4a2923={};_0x4a2923[_0x44fcd1(0x186)]=_0x4ae392;const _0x3c8a3e={};_0x3c8a3e['require']=_0x6f6ac9,_0x3c8a3e[_0x44fcd1(0x178)]=!![],_0x3c8a3e['skipSessionName']=_0x33a7d4[_0x44fcd1(0x197)]['testContextOptions'][_0x44fcd1(0x17d)],_0x3c8a3e[_0x44fcd1(0x16f)]=_0x33a7d4['config'][_0x44fcd1(0x13a)][_0x44fcd1(0x16f)],_0x3c8a3e[_0x44fcd1(0x129)]=_0xef0a91,_0x3c8a3e[_0x44fcd1(0x115)]=_0xeb88b3;const _0x3239f9={};_0x3239f9[_0x44fcd1(0x1ab)]=_0x3c8a3e;const _0x524346={};return _0x524346[_0x44fcd1(0x190)]=_0x3239f9,helper['mergeDeep']({},_0x576bea,_0x401029[_0x44fcd1(0x17f)](isBrowserstackInfra)?_0x4a2923:{},_0x480eb3?{'grep':_0x480eb3}:{},_0x524346);});for(const _0x571729 of _0x5e6139){for(const _0x40e082 of _0xf7e930){const _0x196f05=_0x460482[_0x25cf03(0x11d)]();_0x196f05[_0x25cf03(0x16a)](_0x40e082),_0x196f05['addConfig'](_0x571729);const _0x1071bf={};_0x1071bf['config']=_0x581364,_0x196f05[_0x25cf03(0x141)](Object[_0x25cf03(0x19a)](_0x1071bf,_0x44c139));}}_0x460482['on'](CodeceptJS[_0x25cf03(0x126)]['test'][_0x25cf03(0x13f)],(_0x31a5a1,_0xb72b4)=>{const _0x18a917=_0x25cf03;console[_0x18a917(0x10c)](_0x401029[_0x18a917(0x132)],_0x31a5a1[_0x18a917(0x113)]);const _0x532efc={[_0x31a5a1[_0x18a917(0x113)]]:_0x31a5a1[_0x18a917(0x103)][_0x18a917(0x159)]};_testErrorData[_0x18a917(0x19c)](_0x532efc);}),_0x460482['on'](CodeceptJS[_0x25cf03(0x126)]['test'][_0x25cf03(0x12c)],async _0x459654=>{const _0x3fcc3f=_0x25cf03;console[_0x3fcc3f(0x10c)](_0x401029[_0x3fcc3f(0x11e)],_0x459654[_0x3fcc3f(0x113)]);}),_0x460482['on'](CodeceptJS[_0x25cf03(0x126)][_0x25cf03(0x16b)][_0x25cf03(0x105)],async _0x361570=>{const _0x540332=_0x25cf03;console[_0x540332(0x10c)](_0x401029['cbhVF'],_0x361570[_0x540332(0x113)]);}),_0x460482['on'](CodeceptJS[_0x25cf03(0x126)][_0x25cf03(0x15f)][_0x25cf03(0x164)],async()=>{const _0x2358e7=_0x25cf03,_0x3bea10=_0x401029['xJOsi'][_0x2358e7(0x112)]('|');let _0x67491=0x0;while(!![]){switch(_0x3bea10[_0x67491++]){case'0':try{await TestHubHandler['stop']();}catch(_0x46173e){logger[_0x2358e7(0x114)](_0x2358e7(0x191)+util['format'](_0x46173e));}continue;case'1':utilities['finalExecution'](_0x33a7d4);continue;case'2':_0x33a7d4[_0x2358e7(0x1ad)]=_testErrorData;continue;case'3':PerformanceTester[_0x2358e7(0x12e)](PerformanceEvents[_0x2358e7(0x168)]);continue;case'4':_0x460482[_0x2358e7(0x181)]();continue;}break;}});async function _0x814e58(){const _0x14585c=_0x25cf03;try{await _0x460482['bootstrapAll'](),await _0x460482['run']();}finally{process[_0x14585c(0x162)](_0x2f3d45),await _0x460482[_0x14585c(0x12f)]();}}PerformanceTester[_0x25cf03(0x14f)](PerformanceEvents[_0x25cf03(0x156)]),await _0x401029['weQfw'](_0x814e58);}module[a1_0x37c488(0x163)]=run;
@@ -1 +1 @@
1
- const a2_0x4a867a=a2_0x1f46;function a2_0x1f46(_0x5b9cf5,_0x364ab6){const _0x2bf7fd=a2_0x2bf7();return a2_0x1f46=function(_0x1f46a0,_0x37dae0){_0x1f46a0=_0x1f46a0-0x1be;let _0x5bc2be=_0x2bf7fd[_0x1f46a0];return _0x5bc2be;},a2_0x1f46(_0x5b9cf5,_0x364ab6);}(function(_0x3407e1,_0xbbcb67){const _0x5afe2d=a2_0x1f46,_0xa503c2=_0x3407e1();while(!![]){try{const _0x5f2b58=parseInt(_0x5afe2d(0x200))/0x1*(-parseInt(_0x5afe2d(0x20d))/0x2)+parseInt(_0x5afe2d(0x1fa))/0x3*(parseInt(_0x5afe2d(0x1f6))/0x4)+parseInt(_0x5afe2d(0x1d5))/0x5*(-parseInt(_0x5afe2d(0x1e7))/0x6)+parseInt(_0x5afe2d(0x1ee))/0x7+parseInt(_0x5afe2d(0x1f2))/0x8+-parseInt(_0x5afe2d(0x1dc))/0x9+parseInt(_0x5afe2d(0x1c8))/0xa;if(_0x5f2b58===_0xbbcb67)break;else _0xa503c2['push'](_0xa503c2['shift']());}catch(_0x4fa86d){_0xa503c2['push'](_0xa503c2['shift']());}}}(a2_0x2bf7,0x1ffa5));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a2_0x4a867a(0x1c9))[a2_0x4a867a(0x1d8)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a2_0x4a867a(0x1da)),{getObservabilityLinkedProductName}=require(a2_0x4a867a(0x1c0)),accessibilityHelper=require(a2_0x4a867a(0x1da)),{isBrowserstackInfra}=require(a2_0x4a867a(0x1d4)),globals=require(a2_0x4a867a(0x1e9)),getOSVersionFromCaps=_0x132f0c=>{const _0x48a3c5=a2_0x4a867a,_0xe694ae={};_0xe694ae[_0x48a3c5(0x1fc)]=_0x48a3c5(0x1db),_0xe694ae[_0x48a3c5(0x1c3)]=_0x48a3c5(0x1ef),_0xe694ae[_0x48a3c5(0x1dd)]=_0x48a3c5(0x1ea),_0xe694ae[_0x48a3c5(0x1d1)]=_0x48a3c5(0x203),_0xe694ae['dhGNB']='os_version';const _0x887b30=_0xe694ae;if(!_0x132f0c)return null;const _0x239ad6=_0x132f0c[_0x887b30[_0x48a3c5(0x1fc)]],_0x561614=[_0x887b30[_0x48a3c5(0x1c3)],_0x887b30['lSupA'],_0x887b30[_0x48a3c5(0x1d1)],_0x887b30[_0x48a3c5(0x1e8)]];for(const _0x5d2c4a of _0x561614){if(_0x239ad6&&_0x239ad6[_0x5d2c4a])return _0x239ad6[_0x5d2c4a];else{if(_0x132f0c[_0x5d2c4a])return _0x132f0c[_0x5d2c4a];}}return null;};function a2_0x2bf7(){const _0x548ffe=['includes','2513UWBuKz','parse','unknown_grid','osVersion','Vdiax','name','Ejdlh','LYngE','NCgJl','WebDriver','HbJVr','zBMyC','AMqML','22hQRRgJ','getBrowserDisplayName','string','sessionId','platform','browser_version','DcMVt','../../helpers/test-observability/utils','ECehe','\x20browser\x20version\x20','gEoeZ','oAsRh','BUROH','vrQUs','\x20or\x20higher\x20','380960aLkIoo','../../helpers/logger','gusZH','get','dUOgi','KeWCi','platformName','browserVersion','browserName','wmQDl','SzoQi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','../../helpers/helper','6275LmgXWI','AmjGd','caps','winstonLogger','processWebDriverConfig','../../helpers/accessibility-automation/helper','bstack:options','1948770MbSKVR','lSupA','desiredCapabilities','sbdYz','isAccessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','NlOZA','woSDs','capabilities','cloudProvider','csReM','288lOuMZT','dhGNB','../../helpers/globals.js','platform_version','IUBMb','warn','getMinVersionForBrowser','178605tkisel','platformVersion','HWMjc','constructor','1364800YHYOOn','config','shouldPatchExecuteScript','browser','4DTlMHK','mwPZd','latest','browserWSEndpoint','603549OSKyHd','deviceName','HTGbg','bsSessionId','CTMIw'];a2_0x2bf7=function(){return _0x548ffe;};return a2_0x2bf7();}exports['fetchPlatformDetails']=_0x4f9015=>{const _0x3e2657=a2_0x4a867a,_0x2a8d24={'IUBMb':_0x3e2657(0x202),'csReM':function(_0x1481dd,_0x8cd4b3){return _0x1481dd===_0x8cd4b3;},'AmjGd':_0x3e2657(0x209),'DcMVt':function(_0x570d5d,_0x1c0422){return _0x570d5d(_0x1c0422);},'qgKYG':function(_0x11fb1b,_0x36d0db,_0x33aca3){return _0x11fb1b(_0x36d0db,_0x33aca3);},'BUROH':_0x3e2657(0x1f3),'AMqML':_0x3e2657(0x1de),'Vdiax':function(_0x41260e,_0x1f5360){return _0x41260e(_0x1f5360);},'WNBzh':'Playwright','mwPZd':function(_0x332776,_0x4106b5,_0x455913){return _0x332776(_0x4106b5,_0x455913);},'CTMIw':'browser','woSDs':_0x3e2657(0x1f9),'NlOZA':_0x3e2657(0x1d7),'SzoQi':function(_0x47683e,_0x2ec66a){return _0x47683e(_0x2ec66a);}};if(!_0x4f9015)return null;let _0x4feabb=global['__cloud_provider___']||_0x2a8d24[_0x3e2657(0x1eb)];if(_0x2a8d24[_0x3e2657(0x1e6)](_0x4f9015[_0x3e2657(0x1f1)][_0x3e2657(0x205)],_0x2a8d24[_0x3e2657(0x1d6)])){const _0x2afe82=_0x4f9015[_0x3e2657(0x1f5)];if(!_0x2afe82)return null;const _0xadfdab=_0x2afe82[_0x3e2657(0x1e4)],_0x45c8e8=_0x2a8d24[_0x3e2657(0x1bf)](getOSVersionFromCaps,_0x2a8d24['qgKYG'](nestedKeyValue,_0x4f9015,[_0x2a8d24[_0x3e2657(0x1c5)],_0x2a8d24[_0x3e2657(0x20c)]]));return{[_0x4feabb]:{'browser':_0xadfdab[_0x3e2657(0x1d0)],'browser_version':_0xadfdab['browserVersion'],'capabilities':_0xadfdab,'platform':_0xadfdab[_0x3e2657(0x1ce)],'platform_version':_0xadfdab[_0x3e2657(0x1ef)]||_0x45c8e8,'product':_0x2a8d24[_0x3e2657(0x204)](getObservabilityLinkedProductName,_0xadfdab),'session_id':_0x2afe82[_0x3e2657(0x210)]}};}else{if(_0x2a8d24[_0x3e2657(0x1e6)](_0x4f9015['constructor'][_0x3e2657(0x205)],_0x2a8d24['WNBzh'])){const _0x585219=PlaywrightSessionDetails['getDetails']();_0x4feabb=_0x585219[_0x3e2657(0x1e5)]||_0x4feabb;const _0x45e7e5=_0x2a8d24[_0x3e2657(0x1f7)](nestedKeyValue,_0x4f9015,[_0x2a8d24['BUROH'],_0x2a8d24[_0x3e2657(0x1fe)],_0x2a8d24[_0x3e2657(0x1e3)]]),_0x3a4271=_0x45e7e5?JSON[_0x3e2657(0x201)](new URL(_0x45e7e5)['searchParams'][_0x3e2657(0x1cb)](_0x2a8d24[_0x3e2657(0x1e2)])):{};return{[_0x4feabb]:{'browser':_0x585219[_0x3e2657(0x1f5)]||_0x3a4271['browserName'],'browser_version':_0x585219['browser_version']||_0x3a4271[_0x3e2657(0x1be)],'capabilities':_0x3a4271,'platform':_0x585219[_0x3e2657(0x211)],'platform_version':_0x585219[_0x3e2657(0x1ea)],'product':_0x2a8d24[_0x3e2657(0x1d2)](getObservabilityLinkedProductName,_0x3a4271),'session_id':_0x585219[_0x3e2657(0x1fd)]}};}}};const setAccessibilityPlatformFlag=_0x23b61a=>{const _0x13c5ec=a2_0x4a867a,_0x36d844={};_0x36d844[_0x13c5ec(0x1df)]=_0x13c5ec(0x1e0);const _0x1b101a=_0x36d844;global['accessibilityPlatform']=_0x23b61a,globals['setGlobal'](_0x1b101a[_0x13c5ec(0x1df)],_0x23b61a);};exports[a2_0x4a867a(0x1d9)]=_0x344cd2=>{const _0x1df9ba=a2_0x4a867a,_0x5f0a14={'oAsRh':function(_0x1c49bb){return _0x1c49bb();},'NCgJl':function(_0x362dfc,_0x7b5e48){return _0x362dfc(_0x7b5e48);},'ECehe':_0x1df9ba(0x1d3),'Ejdlh':function(_0x168d01,_0x18f266){return _0x168d01(_0x18f266);},'KeWCi':function(_0x174470,_0x285f54){return _0x174470!==_0x285f54;},'LYngE':_0x1df9ba(0x1f8),'vrQUs':'on\x20non-BrowserStack\x20infrastructure\x20','zBMyC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x5f0a14[_0x1df9ba(0x1c4)](isAccessibilityAutomationSession)){const _0x23b484=_0x344cd2[_0x1df9ba(0x1f5)],_0x106ac9=_0x23b484[_0x1df9ba(0x1e4)];_0x5f0a14['NCgJl'](setAccessibilityPlatformFlag,!![]);!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x106ac9[_0x1df9ba(0x1d0)])&&(logger['warn'](_0x5f0a14[_0x1df9ba(0x1c1)]),_0x5f0a14['Ejdlh'](setAccessibilityPlatformFlag,![]));if(_0x5f0a14[_0x1df9ba(0x1cd)](_0x106ac9[_0x1df9ba(0x1cf)],_0x5f0a14[_0x1df9ba(0x207)])){const _0x500ac6=_0x5f0a14[_0x1df9ba(0x1c4)](isBrowserstackInfra),_0x34869c=accessibilityHelper[_0x1df9ba(0x1ed)](_0x106ac9[_0x1df9ba(0x1d0)],_0x500ac6),_0x2074c1=accessibilityHelper[_0x1df9ba(0x20e)](_0x106ac9[_0x1df9ba(0x1d0)]);if(!accessibilityHelper['isVersionSupported'](_0x106ac9[_0x1df9ba(0x1cf)],_0x34869c)){const _0x1ab498=_0x500ac6?'':_0x5f0a14[_0x1df9ba(0x1c6)];logger[_0x1df9ba(0x1ec)](_0x1df9ba(0x1e1)+_0x2074c1+_0x1df9ba(0x1c2)+_0x34869c+_0x1df9ba(0x1c7)+_0x1ab498+'.'),_0x5f0a14[_0x1df9ba(0x206)](setAccessibilityPlatformFlag,![]);}}!_0x5f0a14['NCgJl'](isUndefined,_0x106ac9[_0x1df9ba(0x1fb)])&&(logger[_0x1df9ba(0x1ec)](_0x5f0a14[_0x1df9ba(0x20b)]),_0x5f0a14[_0x1df9ba(0x208)](setAccessibilityPlatformFlag,![]));}},exports[a2_0x4a867a(0x1f4)]=_0x1157a0=>{const _0x54c4af=a2_0x4a867a,_0x43c69d={};_0x43c69d[_0x54c4af(0x1cc)]=function(_0x30c4e2,_0x5127da){return _0x30c4e2!==_0x5127da;},_0x43c69d[_0x54c4af(0x1f0)]=_0x54c4af(0x20f),_0x43c69d[_0x54c4af(0x20a)]='browserstack_executor',_0x43c69d['gusZH']='browserstack_accessibility_automation_script';const _0x5ce4a9=_0x43c69d;if(!_0x1157a0)return![];else{if(_0x5ce4a9[_0x54c4af(0x1cc)](typeof _0x1157a0,_0x5ce4a9[_0x54c4af(0x1f0)]))return!![];}return!_0x1157a0[_0x54c4af(0x1ff)](_0x5ce4a9[_0x54c4af(0x20a)])&&!_0x1157a0['includes'](_0x5ce4a9[_0x54c4af(0x1ca)]);};
1
+ const a2_0x2d7b07=a2_0x17a0;function a2_0x17a0(_0x547019,_0x396ea1){const _0x85789e=a2_0x8578();return a2_0x17a0=function(_0x17a090,_0x2c86d1){_0x17a090=_0x17a090-0xa8;let _0x592fa8=_0x85789e[_0x17a090];return _0x592fa8;},a2_0x17a0(_0x547019,_0x396ea1);}function a2_0x8578(){const _0x2a4e5b=['isBrowserSupportedForAccessibility','brNPa','warn','desiredCapabilities','136872lJfmFr','JzlRe','parse','../../helpers/logger','RnamY','browser','isVersionSupported','browserWSEndpoint','1gDCNTa','browserstack_executor','NVinQ','ftVrc','../../bin/playwright/sessionDetails','EVXEb','3376320bJewAR','includes','sCQEm','IBksu','isAccessibilityPlatform','zFAFo','kHEUa','../../helpers/globals.js','platformName','name','\x20browser\x20version\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','zzZKI','../../helpers/helper','platform_version','capabilities','aADHe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','deviceName','BFhuX','os_version','Playwright','constructor','wgzgq','config','1247836mYGQOM','../../helpers/test-observability/utils','../../helpers/accessibility-automation/helper','LWxzo','processWebDriverConfig','__cloud_provider___','91861NTaUyy','zxTdQ','fetchPlatformDetails','getDetails','4897992cUtKns','DxQQE','7xhajHw','browser_version','WebDriver','AJxYx','SGQWQ','BYrOD','platform','shouldPatchExecuteScript','3269007FvwJsZ','DypkB','platformVersion','EIMnt','browserName','get','setGlobal','2802OxuXhk','\x20or\x20higher\x20','pHMwT','YHupm','CFzhj','sessionId','getBrowserDisplayName','cloudProvider','unknown_grid','browserVersion','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','30pbtbUs','1704PNhvKL','WwOFl','bstack:options','getMinVersionForBrowser'];a2_0x8578=function(){return _0x2a4e5b;};return a2_0x8578();}(function(_0x2464d1,_0x252f34){const _0x14f5b0=a2_0x17a0,_0x32fa9d=_0x2464d1();while(!![]){try{const _0x2ae522=-parseInt(_0x14f5b0(0xcc))/0x1*(-parseInt(_0x14f5b0(0xeb))/0x2)+parseInt(_0x14f5b0(0xaf))/0x3*(-parseInt(_0x14f5b0(0xbc))/0x4)+parseInt(_0x14f5b0(0xd2))/0x5+-parseInt(_0x14f5b0(0xf5))/0x6+parseInt(_0x14f5b0(0xf7))/0x7*(parseInt(_0x14f5b0(0xc4))/0x8)+parseInt(_0x14f5b0(0xa8))/0x9+-parseInt(_0x14f5b0(0xbb))/0xa*(parseInt(_0x14f5b0(0xf1))/0xb);if(_0x2ae522===_0x252f34)break;else _0x32fa9d['push'](_0x32fa9d['shift']());}catch(_0x27d760){_0x32fa9d['push'](_0x32fa9d['shift']());}}}(a2_0x8578,0x6b7b5));const {isUndefined,nestedKeyValue}=require(a2_0x2d7b07(0xdf)),logger=require(a2_0x2d7b07(0xc7))['winstonLogger'],PlaywrightSessionDetails=require(a2_0x2d7b07(0xd0)),{isAccessibilityAutomationSession}=require(a2_0x2d7b07(0xed)),{getObservabilityLinkedProductName}=require(a2_0x2d7b07(0xec)),accessibilityHelper=require(a2_0x2d7b07(0xed)),{isBrowserstackInfra}=require(a2_0x2d7b07(0xdf)),globals=require(a2_0x2d7b07(0xd9)),getOSVersionFromCaps=_0x257ab9=>{const _0x2c06a3=a2_0x2d7b07,_0x2dd548={};_0x2dd548[_0x2c06a3(0xfb)]=_0x2c06a3(0xbe),_0x2dd548[_0x2c06a3(0xce)]='platformVersion',_0x2dd548[_0x2c06a3(0xd7)]=_0x2c06a3(0xe0),_0x2dd548[_0x2c06a3(0xb1)]='osVersion',_0x2dd548['RnamY']=_0x2c06a3(0xe6);const _0x7d8d02=_0x2dd548;if(!_0x257ab9)return null;const _0x36c20d=_0x257ab9[_0x7d8d02[_0x2c06a3(0xfb)]],_0x427a36=[_0x7d8d02[_0x2c06a3(0xce)],_0x7d8d02[_0x2c06a3(0xd7)],_0x7d8d02[_0x2c06a3(0xb1)],_0x7d8d02[_0x2c06a3(0xc8)]];for(const _0x5536e5 of _0x427a36){if(_0x36c20d&&_0x36c20d[_0x5536e5])return _0x36c20d[_0x5536e5];else{if(_0x257ab9[_0x5536e5])return _0x257ab9[_0x5536e5];}}return null;};exports[a2_0x2d7b07(0xf3)]=_0x2c2c5e=>{const _0x47faf4=a2_0x2d7b07,_0x221277={'sCQEm':_0x47faf4(0xb7),'NPXNs':function(_0xf8297e,_0x42edef){return _0xf8297e===_0x42edef;},'ftVrc':_0x47faf4(0xf9),'zxTdQ':function(_0x14309e,_0xa185df){return _0x14309e(_0xa185df);},'TXDnL':function(_0x2623e1,_0xdad7a4,_0x55481a){return _0x2623e1(_0xdad7a4,_0x55481a);},'EVXEb':_0x47faf4(0xea),'wsucH':_0x47faf4(0xc3),'BTapD':function(_0x89a401,_0x10a7d7){return _0x89a401===_0x10a7d7;},'BFhuX':_0x47faf4(0xe7),'aCgqd':function(_0x1e4808,_0x208d8d,_0x4b7b98){return _0x1e4808(_0x208d8d,_0x4b7b98);},'YHupm':'browser','zzZKI':_0x47faf4(0xcb),'WwOFl':_0x47faf4(0xb9),'CFzhj':function(_0x1e819d,_0x24fe8d){return _0x1e819d(_0x24fe8d);}};if(!_0x2c2c5e)return null;let _0x1adf58=global[_0x47faf4(0xf0)]||_0x221277[_0x47faf4(0xd4)];if(_0x221277['NPXNs'](_0x2c2c5e[_0x47faf4(0xe8)][_0x47faf4(0xdb)],_0x221277[_0x47faf4(0xcf)])){const _0x1566bf=_0x2c2c5e[_0x47faf4(0xc9)];if(!_0x1566bf)return null;const _0x221507=_0x1566bf[_0x47faf4(0xe1)],_0x451208=_0x221277[_0x47faf4(0xf2)](getOSVersionFromCaps,_0x221277['TXDnL'](nestedKeyValue,_0x2c2c5e,[_0x221277[_0x47faf4(0xd1)],_0x221277['wsucH']]));return{[_0x1adf58]:{'browser':_0x221507[_0x47faf4(0xac)],'browser_version':_0x221507['browserVersion'],'capabilities':_0x221507,'platform':_0x221507[_0x47faf4(0xda)],'platform_version':_0x221507[_0x47faf4(0xaa)]||_0x451208,'product':_0x221277[_0x47faf4(0xf2)](getObservabilityLinkedProductName,_0x221507),'session_id':_0x1566bf[_0x47faf4(0xb4)]}};}else{if(_0x221277['BTapD'](_0x2c2c5e[_0x47faf4(0xe8)][_0x47faf4(0xdb)],_0x221277[_0x47faf4(0xe5)])){const _0x3d6eb4=PlaywrightSessionDetails[_0x47faf4(0xf4)]();_0x1adf58=_0x3d6eb4[_0x47faf4(0xb6)]||_0x1adf58;const _0x11c78b=_0x221277['aCgqd'](nestedKeyValue,_0x2c2c5e,[_0x221277[_0x47faf4(0xd1)],_0x221277[_0x47faf4(0xb2)],_0x221277[_0x47faf4(0xde)]]),_0x45daa3=_0x11c78b?JSON[_0x47faf4(0xc6)](new URL(_0x11c78b)['searchParams'][_0x47faf4(0xad)](_0x221277[_0x47faf4(0xbd)])):{};return{[_0x1adf58]:{'browser':_0x3d6eb4[_0x47faf4(0xc9)]||_0x45daa3[_0x47faf4(0xac)],'browser_version':_0x3d6eb4[_0x47faf4(0xf8)]||_0x45daa3[_0x47faf4(0xf8)],'capabilities':_0x45daa3,'platform':_0x3d6eb4[_0x47faf4(0xfd)],'platform_version':_0x3d6eb4['platform_version'],'product':_0x221277[_0x47faf4(0xb3)](getObservabilityLinkedProductName,_0x45daa3),'session_id':_0x3d6eb4['bsSessionId']}};}}};const setAccessibilityPlatformFlag=_0x7acf12=>{const _0x356b4a=a2_0x2d7b07,_0x565877={};_0x565877[_0x356b4a(0xab)]=_0x356b4a(0xd6);const _0x5595a1=_0x565877;global['accessibilityPlatform']=_0x7acf12,globals[_0x356b4a(0xae)](_0x5595a1[_0x356b4a(0xab)],_0x7acf12);};exports[a2_0x2d7b07(0xef)]=_0x493a0a=>{const _0x34cff0=a2_0x2d7b07,_0x364bdf={'brNPa':function(_0xa3a876){return _0xa3a876();},'DypkB':function(_0x2a8421,_0x17a466){return _0x2a8421(_0x17a466);},'nrmjm':_0x34cff0(0xba),'AJxYx':function(_0x211546,_0x31d0ef){return _0x211546!==_0x31d0ef;},'wgzgq':'latest','okAQy':function(_0x46db81){return _0x46db81();},'LWxzo':'on\x20non-BrowserStack\x20infrastructure\x20','BYrOD':function(_0x52831b,_0x223a5a){return _0x52831b(_0x223a5a);},'DxQQE':_0x34cff0(0xe3)};if(_0x364bdf[_0x34cff0(0xc1)](isAccessibilityAutomationSession)){const _0x4f17eb=_0x493a0a[_0x34cff0(0xc9)],_0x33dfba=_0x4f17eb[_0x34cff0(0xe1)];_0x364bdf[_0x34cff0(0xa9)](setAccessibilityPlatformFlag,!![]);!accessibilityHelper[_0x34cff0(0xc0)](_0x33dfba[_0x34cff0(0xac)])&&(logger[_0x34cff0(0xc2)](_0x364bdf['nrmjm']),_0x364bdf[_0x34cff0(0xa9)](setAccessibilityPlatformFlag,![]));if(_0x364bdf[_0x34cff0(0xfa)](_0x33dfba[_0x34cff0(0xb8)],_0x364bdf[_0x34cff0(0xe9)])){const _0x2460ba=_0x364bdf['okAQy'](isBrowserstackInfra),_0x5bc7b8=accessibilityHelper[_0x34cff0(0xbf)](_0x33dfba[_0x34cff0(0xac)],_0x2460ba),_0x80ab07=accessibilityHelper[_0x34cff0(0xb5)](_0x33dfba[_0x34cff0(0xac)]);if(!accessibilityHelper[_0x34cff0(0xca)](_0x33dfba[_0x34cff0(0xb8)],_0x5bc7b8)){const _0x46be44=_0x2460ba?'':_0x364bdf[_0x34cff0(0xee)];logger[_0x34cff0(0xc2)](_0x34cff0(0xdd)+_0x80ab07+_0x34cff0(0xdc)+_0x5bc7b8+_0x34cff0(0xb0)+_0x46be44+'.'),_0x364bdf['BYrOD'](setAccessibilityPlatformFlag,![]);}}!_0x364bdf[_0x34cff0(0xa9)](isUndefined,_0x33dfba[_0x34cff0(0xe4)])&&(logger[_0x34cff0(0xc2)](_0x364bdf[_0x34cff0(0xf6)]),_0x364bdf[_0x34cff0(0xfc)](setAccessibilityPlatformFlag,![]));}},exports[a2_0x2d7b07(0xfe)]=_0x407126=>{const _0x72e00f=a2_0x2d7b07,_0xc3a8e={};_0xc3a8e[_0x72e00f(0xe2)]=function(_0x548528,_0x1925a7){return _0x548528!==_0x1925a7;},_0xc3a8e[_0x72e00f(0xc5)]='string',_0xc3a8e['kHEUa']=_0x72e00f(0xcd),_0xc3a8e[_0x72e00f(0xd5)]='browserstack_accessibility_automation_script';const _0x4dacca=_0xc3a8e;if(!_0x407126)return![];else{if(_0x4dacca[_0x72e00f(0xe2)](typeof _0x407126,_0x4dacca[_0x72e00f(0xc5)]))return!![];}return!_0x407126['includes'](_0x4dacca[_0x72e00f(0xd8)])&&!_0x407126[_0x72e00f(0xd3)](_0x4dacca['IBksu']);};
@@ -1 +1 @@
1
- const a3_0x32bc1b=a3_0x3ad6;function a3_0x1d46(){const _0x9d03af=['find','failed\x20to\x20get\x20root\x20parent\x20file\x20','CODECEPT','BROWSERSTACK','VoaWc','rUeAI','testAnalyticsId','string','kVjFK','../utils/constants','findGitConfig','YBzZN','XxIRM','retryOf','6374963LGbauD','PGbep','_afterAll','hook_run','debug','5|1|0|3|2|4','tags','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','concat','xXptj','hXusy','startedAt','__platformCaps','TIVXh','integrations','eklOL','enabled','stop','backtrace','frameworkName','toISOString','meta','_afterEach','TagxN','6EetGgn','Mrmeq','uuid','OLpBC','captureEvent','prototype','_testEnv','replace','wrluD','PLAYWRIGHT_HUB_URL','74585SfiwKI','currentHook','path','failed','toLowerCase','XulzW','initializeBddStep','hwIrO','ZJeJn','JbjUg','Ssokv','fullTitle','join','HookRunFinished','2993078QQCDGP','\x20with\x20error\x20:\x20','STATE_PASSED','GOzYW','includes','bs:addLog:','48qGOKck','push','Ncfkf','wqTlD','__cloud_provider___','wsEndpoint','KYObX','getHooksForTest','HookRunStarted','event_type','.git','drDof','88FRIxIG','STATE_FAILED','passed','accessibilityPlatform','hooks','uploadEventData','iobKh','errorsDetailed','getTime','oNlmQ','Bafzg','fireEvent','zaKPM','length','cAwIc','TestRunFinished','oTDds','./helper.js','TvBmr','pendingHookEvents','then','launch','TestRunSkipped','status','skipped','format','failure_reason_expanded','sep','name','currentTest','BtfLQ','PathHelper','constructor','Not\x20able\x20to\x20import\x20Browser','relative','_paths','TffKy','Xsumk','XdyoD','type','TEST_REPORTING_ANALYTICS','sWGRq','TEST_EVENTS','finished_at','split','FbbTF','EGORP','MYYum','connectOverCDP','DDOgs','bddStepStart','mrwyX','vxOlo','markedStatus','TEST_RUN_STARTED','util','defineProperty','finished','KuVQV','../../helpers/test-observability/requestQueueHandler','tKpNJ','match','started','text','eventType','groups','JLEGV','hook','hook_type','shutdown','test_run','../../helpers/helper','setupBrowserDetails','duration','../../helpers/test-observability/constants','body','229340TmJfjp','yoKUi','IIaFh','obsBrowserTypeMockApplied','Playwright','ZDJul','1908820wnwoks','getRootParentFile','cwd','_beforeEach','xchie','getCBTInfo','file','ctx','pending','bufferPendingHookEvent','bddSteps','svCfs','parent','KZkcs','bddStepFinish','test_run_uuid','getHookType','test','O11yHelper','Oluiy','dazSS','../mocha/test-observability/mochaUtils','hookAnalyticsId','dDjIH','toString','12542FPfFMX','../playwright/accessibility-helper','Hmofk','resetSkipTestHooks','bind','LuLDM','stringify','LogCreated','failure','apply','session_id','Failed\x20to\x20parse\x20wsendpoint\x20','853776haWfFl','YcjQi','feature','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','File\x20path\x20could\x20not\x20be\x20found','stepAnalyticsId','toUpperCase','prefixTestPath','patchConsoleLogger','failure_backtrace','suites','qrvXf','QvZcu','WxYww','now','javascript','hook_run_uuid','result','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','iFfBe','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','WDsRD','mapTestHooks','browserstack','../../helpers/testhub/utils.js','tzHme','96KUytSV','uploadData','pkSsL','ydapf','success','getHierarchy','ZacQw','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','TEST_RUN_FINISHED','sendCBTInfo','keyword','laeXs','PMNcW','failureData','psLCF','_beforeAll','mHCQf','yLnzL','forEach','driver','CBTSessionCreated','title','KklxN'];a3_0x1d46=function(){return _0x9d03af;};return a3_0x1d46();}(function(_0x2da4bd,_0x564f94){const _0x13b985=a3_0x3ad6,_0x1ca40f=_0x2da4bd();while(!![]){try{const _0x3376a0=-parseInt(_0x13b985(0x101))/0x1*(-parseInt(_0x13b985(0x182))/0x2)+parseInt(_0x13b985(0x164))/0x3*(parseInt(_0x13b985(0x1da))/0x4)+parseInt(_0x13b985(0x16e))/0x5*(parseInt(_0x13b985(0x127))/0x6)+-parseInt(_0x13b985(0x14c))/0x7+-parseInt(_0x13b985(0x18e))/0x8*(-parseInt(_0x13b985(0x10d))/0x9)+parseInt(_0x13b985(0x1e0))/0xa+-parseInt(_0x13b985(0x17c))/0xb;if(_0x3376a0===_0x564f94)break;else _0x1ca40f['push'](_0x1ca40f['shift']());}catch(_0x33934c){_0x1ca40f['push'](_0x1ca40f['shift']());}}}(a3_0x1d46,0xac589));const path=require(a3_0x32bc1b(0x170)),util=require(a3_0x32bc1b(0x1c5)),fs=require('fs'),{v4:uuidv4}=require(a3_0x32bc1b(0x166)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x32bc1b(0x1d5)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a3_0x32bc1b(0xfd)),{FRAMEWORKS}=require(a3_0x32bc1b(0x1d8)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a3_0x32bc1b(0x1c9)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a3_0x32bc1b(0x150)],{processAccessibilityCaps}=require(a3_0x32bc1b(0x102)),Constants=require(a3_0x32bc1b(0x147)),{fetchPlatformDetails}=require(a3_0x32bc1b(0x19f)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x32bc1b(0x125)),constants=require(a3_0x32bc1b(0x147)),STATE_PASSED=a3_0x32bc1b(0x190),STATE_FAILED=a3_0x32bc1b(0x171),a3_0xeaf0f1={};a3_0xeaf0f1[a3_0x32bc1b(0x1c4)]='TestRunStarted',a3_0xeaf0f1[a3_0x32bc1b(0x12f)]=a3_0x32bc1b(0x19d),a3_0xeaf0f1['TEST_RUN_SKIPPED']=a3_0x32bc1b(0x1a4),a3_0xeaf0f1['HOOK_RUN_STARTED']=a3_0x32bc1b(0x18a),a3_0xeaf0f1['HOOK_RUN_FINISHED']=a3_0x32bc1b(0x17b);const TEST_EVENTS=a3_0xeaf0f1,parseEvent=_0x2e419e=>{const _0x10756c=a3_0x32bc1b,_0x5051b6={};_0x5051b6[_0x10756c(0x1bc)]=function(_0x54883b,_0x19f30b){return _0x54883b<_0x19f30b;},_0x5051b6['KklxN']=function(_0x50bed0,_0x1b60a4){return _0x50bed0===_0x1b60a4;},_0x5051b6[_0x10756c(0x135)]=_0x10756c(0x1f1),_0x5051b6[_0x10756c(0x1bd)]=_0x10756c(0x1d1),_0x5051b6[_0x10756c(0x197)]=_0x10756c(0x1a6),_0x5051b6[_0x10756c(0x167)]=_0x10756c(0x1cc),_0x5051b6['KuVQV']=function(_0x5b7c6b,_0xba348b){return _0x5b7c6b===_0xba348b;},_0x5051b6[_0x10756c(0x119)]='finished';const _0x5715df=_0x5051b6,_0x462179=_0x2e419e[_0x10756c(0x1cb)](/^(.*)Run(.*)$/);if(!_0x462179)return null;if(_0x5715df[_0x10756c(0x1bc)](_0x462179[_0x10756c(0x19b)],0x3))return null;const _0x1235d2=_0x462179[0x1][_0x10756c(0x172)](),_0x3533c8=_0x462179[0x2]['toLowerCase']();return{'test':_0x5715df[_0x10756c(0x13d)](_0x1235d2,_0x5715df[_0x10756c(0x135)]),'hook':_0x5715df[_0x10756c(0x13d)](_0x1235d2,_0x5715df[_0x10756c(0x1bd)]),'skipped':_0x5715df[_0x10756c(0x13d)](_0x3533c8,_0x5715df[_0x10756c(0x197)]),'started':_0x5715df['KklxN'](_0x3533c8,_0x5715df[_0x10756c(0x167)]),'finished':_0x5715df[_0x10756c(0x1c8)](_0x3533c8,_0x5715df[_0x10756c(0x119)])};},mockPWBrowserType=_0x94f064=>{const _0x50f9d5=a3_0x32bc1b,_0xfe873={'Mrmeq':function(_0x20bb9d,_0x19d8f4){return _0x20bb9d===_0x19d8f4;},'pkSsL':_0x50f9d5(0x145),'TIVXh':function(_0x546d84,_0x4c549e,_0xb38e3b){return _0x546d84(_0x4c549e,_0xb38e3b);},'wqTlD':_0x50f9d5(0x187),'eklOL':function(_0x2396a4,_0x2743c9){return _0x2396a4(_0x2743c9);},'Hmofk':_0x50f9d5(0x124),'dazSS':function(_0x1f1936,_0x22d808,_0x179098){return _0x1f1936(_0x22d808,_0x179098);},'mrwyX':function(_0x5eb4b5){return _0x5eb4b5();},'WDsRD':_0x50f9d5(0x1af),'xXptj':'connect','kVjFK':_0x50f9d5(0x1a3)},_0x35c82b=_0xfe873[_0x50f9d5(0x1c1)](resolveBrowserTypeClass);if(!_0x35c82b){_0xfe873[_0x50f9d5(0x15b)](debug,_0xfe873[_0x50f9d5(0x122)]);return;}const _0x3dfce1=_0x35c82b[_0x50f9d5(0x169)];if(_0x3dfce1[_0x50f9d5(0x1dd)])return;const _0x13d08b=_0x3dfce1['connect'];Object[_0x50f9d5(0x1c6)](_0x3dfce1,_0xfe873[_0x50f9d5(0x155)],{'get':function(){return async function _0x1cb9b0(_0x54f8a0,_0x5d587f){const _0x421547=a3_0x3ad6,_0x4b2c6d={'GOzYW':function(_0x17dc56,_0x381d6d){const _0x1dee9f=a3_0x3ad6;return _0xfe873[_0x1dee9f(0x165)](_0x17dc56,_0x381d6d);},'dDjIH':_0xfe873[_0x421547(0x129)]},_0x3598bc=_0xfe873[_0x421547(0x159)](nestedKeyValue,_0x54f8a0,[_0xfe873[_0x421547(0x185)]])||_0x54f8a0;let _0xb3e492=null,_0x4ac0f1=null;try{[_0x4ac0f1,_0xb3e492]=_0x3598bc?_0xfe873[_0x421547(0x15b)](parseWSEndpoint,_0x3598bc):[null,null],global[_0x421547(0x158)]=_0xb3e492,logger[_0x421547(0x150)](_0x421547(0x121)+_0x4ac0f1),_0x4ac0f1['includes'](Constants[_0x421547(0x141)])&&(global[_0x421547(0x186)]=_0xfe873[_0x421547(0x103)]);}catch(_0x46f7eb){logger[_0x421547(0x150)](_0x421547(0x10c)+_0x3598bc+'\x20'+_0x46f7eb);}_0xfe873[_0x421547(0xfc)](processAccessibilityCaps,_0xb3e492,_0x4ac0f1);if(global[_0x421547(0x191)]){const _0x1bf700=await _0x3dfce1[_0x421547(0x1be)]['apply'](this,[''+Constants[_0x421547(0x16d)]+_0xfe873[_0x421547(0x15b)](encodeURIComponent,JSON[_0x421547(0x107)](_0xb3e492))]);return PlaywrightSessionDetails[_0x421547(0x1d6)](_0x1bf700,_0x94f064,_0x3598bc),_0x1bf700;}return _0x13d08b[_0x421547(0x10a)](this,arguments)[_0x421547(0x1a2)](_0x5c2472=>{const _0x420d13=_0x421547;let _0x2c3253=_0x54f8a0[_0x420d13(0x187)];return _0x4b2c6d[_0x420d13(0x17f)](typeof _0x54f8a0,_0x4b2c6d[_0x420d13(0xff)])&&(_0x2c3253=_0x54f8a0),PlaywrightSessionDetails[_0x420d13(0x1d6)](_0x5c2472,_0x94f064,_0x2c3253),_0x5c2472;});};}});const _0x55a60e=_0x3dfce1[_0x50f9d5(0x1a3)];Object[_0x50f9d5(0x1c6)](_0x3dfce1,_0xfe873[_0x50f9d5(0x146)],{'get':function(){return async function _0x54cda0(){const _0x14c33d=a3_0x3ad6;return _0x55a60e[_0x14c33d(0x10a)](this,arguments)[_0x14c33d(0x1a2)](_0x34a8b8=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x34a8b8,null),_0x34a8b8;});};}});};function a3_0x3ad6(_0x30714a,_0x3dfddc){const _0x1d4657=a3_0x1d46();return a3_0x3ad6=function(_0x3ad661,_0x559621){_0x3ad661=_0x3ad661-0xfc;let _0x45e5b0=_0x1d4657[_0x3ad661];return _0x45e5b0;},a3_0x3ad6(_0x30714a,_0x3dfddc);}class O11yHelper{['currentTest']=null;['currentHook']=null;[a3_0x32bc1b(0x15c)]=![];[a3_0x32bc1b(0x15f)]=![];['pendingHookEvents']=[];constructor(_0x4d5ad9,_0x312dae){const _0x5b5ba6=a3_0x32bc1b,_0x6039b4={'vxOlo':_0x5b5ba6(0x151),'TvBmr':function(_0x4d7684){return _0x4d7684();},'TffKy':function(_0x5446a8,_0x40e1e4){return _0x5446a8===_0x40e1e4;},'VnJrv':_0x5b5ba6(0x1de),'WxYww':function(_0x2890f3,_0x5c4ed9){return _0x2890f3(_0x5c4ed9);},'CcpWF':function(_0x4030fa){return _0x4030fa();}},_0x55a9f9=_0x6039b4[_0x5b5ba6(0x1c2)][_0x5b5ba6(0x1ba)]('|');let _0x4fb627=0x0;while(!![]){switch(_0x55a9f9[_0x4fb627++]){case'0':this[_0x5b5ba6(0x13a)]=_0x4d5ad9;continue;case'1':this['frameworkName']=_0x312dae[_0x5b5ba6(0x15f)];continue;case'2':this[_0x5b5ba6(0x1b1)]=new testOpsHelper[(_0x5b5ba6(0x1ad))]({'cwd':process[_0x5b5ba6(0x1e2)]()},this[_0x5b5ba6(0x16a)]['location_prefix']);continue;case'3':this[_0x5b5ba6(0x16a)]=_0x6039b4[_0x5b5ba6(0x1a0)](getTestEnv);continue;case'4':this[_0x5b5ba6(0x13a)]&&_0x6039b4[_0x5b5ba6(0x1b2)](this[_0x5b5ba6(0x13a)][_0x5b5ba6(0x1ae)][_0x5b5ba6(0x1aa)],_0x6039b4['VnJrv'])&&_0x6039b4[_0x5b5ba6(0x11a)](mockPWBrowserType,null);continue;case'5':this[_0x5b5ba6(0x15c)]=_0x6039b4['CcpWF'](shouldProcessEventForTesthub);continue;}break;}}['hasLiveDriverSession'](){const _0x20ef41=a3_0x32bc1b,_0x361167={'oTDds':function(_0xb9737a,_0x1f6a8c){return _0xb9737a(_0x1f6a8c);}};if(!this[_0x20ef41(0x13a)])return![];try{const _0x39f284=_0x361167[_0x20ef41(0x19e)](fetchPlatformDetails,this[_0x20ef41(0x13a)]);if(!_0x39f284)return![];const _0x316644=Object['keys'](_0x39f284)[0x0];return!!(_0x316644&&_0x39f284[_0x316644]&&_0x39f284[_0x316644][_0x20ef41(0x10b)]);}catch(_0x3239b1){return![];}}[a3_0x32bc1b(0x1e9)](_0x51eda2,_0x1f5618){const _0x1ef538=a3_0x32bc1b;if(!_0x1f5618)return;const _0x3166ce={};_0x3166ce[_0x1ef538(0x1ce)]=_0x51eda2,_0x3166ce[_0x1ef538(0x128)]=_0x1f5618,this[_0x1ef538(0x1a1)]['push'](_0x3166ce);}async['flushPendingHookEvents'](){const _0x3d41ff=a3_0x32bc1b,_0x276bf7={};_0x276bf7[_0x3d41ff(0x1bb)]=function(_0x17c63f,_0x387db1){return _0x17c63f&&_0x387db1;};const _0x125d23=_0x276bf7;if(!this['pendingHookEvents'][_0x3d41ff(0x19b)])return;if(!this['hasLiveDriverSession']())return;const _0x47bc7d=this[_0x3d41ff(0x1e5)](this['driver']),_0x145141=this['pendingHookEvents']['splice'](0x0,this[_0x3d41ff(0x1a1)][_0x3d41ff(0x19b)]);for(const {eventType:_0x2a76c2,uploadData:_0x379d5f}of _0x145141){try{const _0x3ead83=_0x379d5f[_0x3d41ff(0x14f)]||_0x379d5f[_0x3d41ff(0x1d4)];_0x125d23['FbbTF'](_0x3ead83,_0x47bc7d)&&(_0x3ead83[_0x3d41ff(0x15a)]=_0x47bc7d),await this[_0x3d41ff(0x199)](_0x2a76c2,_0x379d5f);}catch(_0x5a43aa){logger['debug'](_0x3d41ff(0x11f)+_0x2a76c2+':\x20'+util[_0x3d41ff(0x1a7)](_0x5a43aa));}}}['start'](){const _0x38ad3f=a3_0x32bc1b;if(!this[_0x38ad3f(0x15c)])return;testOpsHelper[_0x38ad3f(0x115)](),process['removeAllListeners'](_0x38ad3f(0x181)+process['pid']),process['on'](_0x38ad3f(0x181)+process['pid'],this['appendTestItemLog'][_0x38ad3f(0x105)](this));}async[a3_0x32bc1b(0x15d)](){const _0x14101c=a3_0x32bc1b;await RequestQueueHandler['getInstance']()[_0x14101c(0x1d3)]();}async['appendTestItemLog'](_0x1047fd){const _0x159541=a3_0x32bc1b,_0x24385d={'ZacQw':_0x159541(0x108),'JbjUg':function(_0x37207c,_0x3652e5){return _0x37207c(_0x3652e5);}};try{this[_0x159541(0x16f)]&&!this['currentHook'][_0x159541(0x1c3)]&&(_0x1047fd[_0x159541(0x11d)]=this[_0x159541(0x16f)][_0x159541(0xfe)]);!_0x1047fd[_0x159541(0x11d)]&&this['currentTest']&&!this[_0x159541(0x1ab)][_0x159541(0x1c3)]&&(_0x1047fd['test_run_uuid']=this[_0x159541(0x1ab)][_0x159541(0x144)]);if(_0x1047fd[_0x159541(0x11d)]||_0x1047fd[_0x159541(0x1ef)]){const _0x5a1691={};_0x5a1691[_0x159541(0x18b)]=_0x24385d[_0x159541(0x12d)],_0x5a1691['logs']=[_0x1047fd],await SessionHandler[_0x159541(0x193)](_0x5a1691);}}catch(_0x1db88f){_0x24385d[_0x159541(0x177)](debug,_0x159541(0x110)+constants[_0x159541(0x1b6)]+_0x159541(0x17d)+_0x1db88f);}}async[a3_0x32bc1b(0x130)](_0x3b6c38){const _0x2f0c84=a3_0x32bc1b,_0x17226c={'ZJeJn':_0x2f0c84(0x13b),'iobKh':function(_0x4299c6,_0x1ab9dc){return _0x4299c6(_0x1ab9dc);}};if(!this[_0x2f0c84(0x15c)])return;const _0x284e16=this['getCBTInfo'](this[_0x2f0c84(0x13a)]);try{const _0x3eda92={};_0x3eda92[_0x2f0c84(0x166)]=_0x3b6c38,_0x3eda92[_0x2f0c84(0x15a)]=_0x284e16;const _0x21f76d=_0x3eda92,_0x5b9add={};_0x5b9add[_0x2f0c84(0x18b)]=_0x17226c[_0x2f0c84(0x176)],_0x5b9add[_0x2f0c84(0x1d4)]=_0x21f76d,await SessionHandler[_0x2f0c84(0x193)](_0x5b9add);}catch(_0x174804){_0x17226c[_0x2f0c84(0x194)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x2f0c84(0x1b6)]+_0x2f0c84(0x17d)+_0x174804);}}[a3_0x32bc1b(0x1e5)](_0x464f13){const _0x2e7f1c={'TvSzk':function(_0x490688,_0x4cc0dd){return _0x490688(_0x4cc0dd);}};return _0x2e7f1c['TvSzk'](fetchPlatformDetails,_0x464f13);}[a3_0x32bc1b(0x104)]=_0x2fb968=>{const _0x5c6390=a3_0x32bc1b,_0x73b75={};_0x73b75[_0x5c6390(0x1ca)]=_0x5c6390(0x1e3),_0x73b75[_0x5c6390(0x1e4)]=_0x5c6390(0x162);const _0x3ac25c=_0x73b75;if(!_0x2fb968||!_0x2fb968[_0x5c6390(0x1ec)])return;[_0x3ac25c[_0x5c6390(0x1ca)],_0x3ac25c[_0x5c6390(0x1e4)]]['forEach'](_0x14b4b0=>{const _0x1a9a2a=_0x5c6390,_0x5aeb9b=_0x2fb968[_0x1a9a2a(0x1ec)][_0x14b4b0];_0x5aeb9b[_0x1a9a2a(0x139)](_0x199731=>{_0x199731['hookAnalyticsId']&&(_0x199731['hookAnalyticsId']=null);});});};[a3_0x32bc1b(0x123)](_0x34ff70){const _0xcd12cc=a3_0x32bc1b,_0x50daa6={'JLEGV':'codeceptjs','svCfs':function(_0x14fd48){return _0x14fd48();},'wrluD':function(_0x457200,_0x356622){return _0x457200===_0x356622;},'ydapf':_0xcd12cc(0x162),'DDOgs':_0xcd12cc(0x136),'YcjQi':_0xcd12cc(0x14e),'NHbtr':_0xcd12cc(0x1e3)};if(!_0x34ff70||!_0x34ff70['parent'])return;[_0x50daa6[_0xcd12cc(0x1bf)],_0x50daa6[_0xcd12cc(0x10e)],_0x50daa6['NHbtr'],_0x50daa6[_0xcd12cc(0x12a)]]['forEach'](_0x33826a=>{const _0x34b21b=_0xcd12cc,_0x11b167=_0x34ff70[_0x34b21b(0x1ec)][_0x33826a]||[];_0x11b167[_0x34b21b(0x139)](_0x4d4da8=>{const _0x141287=_0x34b21b;if(_0x4d4da8['title']['includes'](_0x50daa6[_0x141287(0x1d0)]))return;if(!_0x4d4da8[_0x141287(0xfe)])_0x4d4da8[_0x141287(0xfe)]=_0x50daa6['svCfs'](uuidv4);else _0x4d4da8['markedStatus']&&_0x50daa6[_0x141287(0x16c)](_0x33826a,_0x50daa6['ydapf'])&&(_0x4d4da8['hookAnalyticsId']=_0x50daa6[_0x141287(0x1eb)](uuidv4),delete _0x4d4da8[_0x141287(0x1c3)]);});}),this[_0xcd12cc(0x123)](_0x34ff70[_0xcd12cc(0x1ec)]);}[a3_0x32bc1b(0x189)](_0x768650){const _0x297fd5=a3_0x32bc1b,_0x318217={};_0x318217[_0x297fd5(0x143)]='_beforeAll',_0x318217[_0x297fd5(0x14d)]=_0x297fd5(0x14e),_0x318217[_0x297fd5(0x1ac)]=_0x297fd5(0x1e3),_0x318217[_0x297fd5(0x118)]='_afterEach';const _0x784d9d=_0x318217;if(!_0x768650||!_0x768650[_0x297fd5(0x1ec)])return[];const _0x210553=[];return[_0x784d9d['rUeAI'],_0x784d9d[_0x297fd5(0x14d)],_0x784d9d[_0x297fd5(0x1ac)],_0x784d9d[_0x297fd5(0x118)]][_0x297fd5(0x139)](_0x5b5d05=>{const _0x5e8649=_0x297fd5,_0x1e688a=_0x768650['parent'][_0x5b5d05]||[];_0x1e688a[_0x5e8649(0x139)](_0x5d2120=>{const _0x19a6c8=_0x5e8649;_0x5d2120[_0x19a6c8(0xfe)]&&_0x210553['push'](_0x5d2120[_0x19a6c8(0xfe)]);});}),[][_0x297fd5(0x154)](_0x210553,this[_0x297fd5(0x189)](_0x768650[_0x297fd5(0x1ec)]));}[a3_0x32bc1b(0x1f0)](_0x5b94c3){const _0x292619=a3_0x32bc1b,_0x10423e=/^"(?<hook>.*)" hook:.*$/,_0x1acd17=_0x5b94c3[_0x292619(0x13c)],_0x6f748b=_0x1acd17[_0x292619(0x1cb)](_0x10423e);if(_0x6f748b&&_0x6f748b[_0x292619(0x1cf)])return _0x6f748b[_0x292619(0x1cf)][_0x292619(0x1d1)][_0x292619(0x113)]()[_0x292619(0x16b)]('\x20','_');return null;}[a3_0x32bc1b(0x148)](_0x44f14c){const _0xb48609=a3_0x32bc1b,_0xc33982={};_0xc33982['LuLDM']=function(_0x44942e,_0x1dffe5){return _0x44942e===_0x1dffe5;},_0xc33982[_0xb48609(0x1b4)]=function(_0x1af477,_0x479999){return _0x1af477===_0x479999;},_0xc33982[_0xb48609(0x1b3)]=_0xb48609(0x18c);const _0x1c33cb=_0xc33982,_0x588532=path[_0xb48609(0x1a9)];if(_0x1c33cb[_0xb48609(0x106)](_0x44f14c,null)||_0x1c33cb[_0xb48609(0x106)](_0x44f14c,'')||_0x1c33cb[_0xb48609(0x106)](_0x44f14c,_0x588532)||_0x1c33cb[_0xb48609(0x1b4)](_0x44f14c,path['dirname'](_0x44f14c)))return null;try{return fs['statSync'](path[_0xb48609(0x17a)](_0x44f14c,_0x1c33cb['Xsumk'])),_0x44f14c;}catch(_0x3ed0d4){const _0x62d15=path['dirname'](_0x44f14c);return this[_0xb48609(0x148)](_0x62d15);}}[a3_0x32bc1b(0x1e1)](_0x2f33f8){const _0x295a7c=a3_0x32bc1b,_0x2d5f48={};_0x2d5f48[_0x295a7c(0x173)]=function(_0x1fda78,_0x7dc6a3){return _0x1fda78>_0x7dc6a3;};const _0x5a1091=_0x2d5f48;if(_0x2f33f8['file'])return _0x2f33f8[_0x295a7c(0x1e6)];if(_0x2f33f8['ctx']){const _0x10a86b=_0x2f33f8['ctx'][_0x295a7c(0x1ab)]?this['getRootParentFile'](_0x2f33f8[_0x295a7c(0x1e7)]['currentTest']):null;if(_0x10a86b)return _0x10a86b;}if(_0x2f33f8['parent']){const _0x1325ae=this[_0x295a7c(0x1e1)](_0x2f33f8[_0x295a7c(0x1ec)])||(_0x2f33f8['parent'][_0x295a7c(0x1e7)]&&_0x2f33f8[_0x295a7c(0x1ec)][_0x295a7c(0x1e7)][_0x295a7c(0x1ab)]?this[_0x295a7c(0x1e1)](_0x2f33f8['parent'][_0x295a7c(0x1e7)][_0x295a7c(0x1ab)]):null);if(_0x1325ae)return _0x1325ae;_0x2f33f8[_0x295a7c(0x1ec)][_0x295a7c(0x117)]&&_0x5a1091[_0x295a7c(0x173)](_0x2f33f8['parent'][_0x295a7c(0x117)][_0x295a7c(0x19b)],0x0)&&_0x2f33f8[_0x295a7c(0x1ec)]['suites']['forEach'](_0x52cbb8=>{const _0x17cc32=_0x295a7c,_0x4f5294=_0x52cbb8[_0x17cc32(0x1e7)]?this[_0x17cc32(0x1e1)](_0x52cbb8[_0x17cc32(0x1e7)]):null;if(_0x4f5294)return _0x4f5294;});}return null;}[a3_0x32bc1b(0x12c)](_0x5a5dee){const _0xaadbae=a3_0x32bc1b,_0x194c78={};_0x194c78[_0xaadbae(0x149)]=function(_0x34f0d0,_0x4d9832){return _0x34f0d0!==_0x4d9832;};const _0x212dc6=_0x194c78,_0x4f519c=[];if(_0x5a5dee&&_0x5a5dee[_0xaadbae(0x1ec)]){let _0x24ff91=_0x5a5dee[_0xaadbae(0x1ec)];while(_0x24ff91&&_0x212dc6['YBzZN'](_0x24ff91[_0xaadbae(0x13c)],'')){_0x4f519c[_0xaadbae(0x183)](_0x24ff91[_0xaadbae(0x13c)]),_0x24ff91=_0x24ff91[_0xaadbae(0x1ec)];}}return _0x4f519c;}[a3_0x32bc1b(0x168)](_0x2f05b8,_0x2580fd,_0x43e0eb=undefined){const _0x554f37=a3_0x32bc1b,_0x3206dd={'Oluiy':function(_0x5b586f,_0x64d3ac){return _0x5b586f(_0x64d3ac);},'hwIrO':function(_0x21043b){return _0x21043b();},'XxIRM':function(_0x3d50a5){return _0x3d50a5();},'tzHme':function(_0x31a21f){return _0x31a21f();},'VoaWc':'err','Bafzg':function(_0x131c3a,_0x200776){return _0x131c3a!==_0x200776;},'Poyel':function(_0x19cf71,_0x455a2e){return _0x19cf71!==_0x455a2e;},'PAecQ':_0x554f37(0x111),'yLnzL':_0x554f37(0x1e8),'KZkcs':_0x554f37(0x171),'PMNcW':_0x554f37(0x190),'IIaFh':_0x554f37(0x1a6),'VyMjo':_0x554f37(0x11c),'hXusy':function(_0x30fff6,_0x48fb46){return _0x30fff6-_0x48fb46;},'jWdqX':function(_0x2fe6df,_0x23bc49,_0x30de7f,_0x3ba360,_0x1dd785){return _0x2fe6df(_0x23bc49,_0x30de7f,_0x3ba360,_0x1dd785);},'TagxN':function(_0x585354,_0x4f6693){return _0x585354!==_0x4f6693;},'Ncfkf':_0x554f37(0x15a),'laeXs':_0x554f37(0x161),'mHCQf':_0x554f37(0x109),'Ssokv':_0x554f37(0x116),'sWGRq':_0x554f37(0x15e),'Djvvc':_0x554f37(0x1a8),'yoKUi':'expanded','drDof':function(_0x5d683b,_0x2a70c6){return _0x5d683b===_0x2a70c6;},'cAwIc':_0x554f37(0x14f),'FFllZ':_0x554f37(0x1d4)};if(!this[_0x554f37(0x15c)])return;try{if(_0x2580fd['fn']&&_0x2580fd['fn']['toString']()[_0x554f37(0x1cb)](/browserstack internal helper hook/))return;const _0x2c134e=_0x3206dd[_0x554f37(0x1f3)](parseEvent,_0x2f05b8);if(!_0x2c134e)return;if(_0x2c134e[_0x554f37(0x1f1)]){this[_0x554f37(0x1ab)]=_0x2580fd,this[_0x554f37(0x16f)]=null;if(_0x2c134e['started']||_0x2c134e[_0x554f37(0x1a6)]){_0x2580fd[_0x554f37(0x157)]=new Date(),_0x2580fd[_0x554f37(0x1c3)]=![];if(!_0x2580fd[_0x554f37(0x144)])_0x2580fd['testAnalyticsId']=_0x3206dd[_0x554f37(0x175)](uuidv4);else _0x2580fd[_0x554f37(0x1c3)]&&(!_0x2580fd[_0x554f37(0x14b)]&&(_0x2580fd[_0x554f37(0x14b)]=_0x2580fd[_0x554f37(0x144)]),_0x2580fd[_0x554f37(0x144)]=_0x3206dd[_0x554f37(0x14a)](uuidv4));}}else{if(_0x2c134e['hook']){this[_0x554f37(0x16f)]=_0x2580fd;if(_0x2c134e[_0x554f37(0x1cc)]){_0x2580fd['startedAt']=new Date(),_0x2580fd[_0x554f37(0x1c3)]=![];if(!_0x2580fd[_0x554f37(0xfe)])_0x2580fd[_0x554f37(0xfe)]=_0x3206dd[_0x554f37(0x126)](uuidv4);else _0x2580fd[_0x554f37(0xfe)]&&_0x2580fd[_0x554f37(0x1c3)]&&(_0x2580fd[_0x554f37(0xfe)]=_0x3206dd[_0x554f37(0x175)](uuidv4));}}}if(_0x2c134e[_0x554f37(0x1c7)]&&_0x2580fd[_0x554f37(0x1c3)])return;let _0x425d89;try{_0x425d89=this['getRootParentFile'](_0x2580fd);}catch(_0xcef755){logger[_0x554f37(0x150)](_0x554f37(0x13f)+_0xcef755),_0x425d89=null;}let _0x27d103=[];_0x43e0eb&&(_0x27d103=[_0x43e0eb,_0x3206dd[_0x554f37(0x142)]]);const _0x359bff=_0x3206dd[_0x554f37(0x198)](_0x2580fd[_0x554f37(0x195)],undefined)?util['inspect'](_0x2580fd[_0x554f37(0x195)][0x0]):_0x3206dd['Poyel'](_0x43e0eb,undefined)?_0x43e0eb[_0x554f37(0x100)]():undefined,_0x1f2388=_0x425d89?this[_0x554f37(0x148)](_0x425d89):null,_0x4f600e=_0x425d89?this[_0x554f37(0x1b1)][_0x554f37(0x114)](this[_0x554f37(0x1e1)](_0x2580fd)):_0x3206dd['PAecQ'];let _0x1727a9=_0x3206dd[_0x554f37(0x138)];const _0x557e1d=!_0x2c134e['started']?new Date()[_0x554f37(0x160)]():null;if(_0x2c134e['finished'])_0x1727a9=_0x43e0eb?_0x3206dd[_0x554f37(0x1ed)]:_0x3206dd[_0x554f37(0x133)],_0x2580fd['markedStatus']=!![];else _0x2c134e[_0x554f37(0x1a6)]&&(_0x1727a9=_0x3206dd[_0x554f37(0x1dc)],_0x2580fd[_0x554f37(0x1c3)]=!![]);const _0x16e203={'framework':this[_0x554f37(0x15f)],'uuid':_0x2580fd[_0x554f37(0x144)]||_0x2580fd[_0x554f37(0xfe)],'name':_0x2580fd['title'],'body':{'lang':_0x3206dd['VyMjo'],'code':_0x2580fd[_0x554f37(0x1d9)][_0x554f37(0x100)]()},'type':_0x2580fd[_0x554f37(0x1b5)],'scope':_0x2580fd[_0x554f37(0x179)](),'scopes':this[_0x554f37(0x12c)](_0x2580fd),'file_name':_0x4f600e,'vc_filepath':_0x1f2388?path[_0x554f37(0x1b0)](_0x1f2388,_0x425d89):null,'location':_0x4f600e,'result':_0x1727a9,'failure_reason':_0x359bff,'duration_in_ms':_0x2580fd[_0x554f37(0x1d7)]||(_0x2c134e[_0x554f37(0x1c7)]||_0x2c134e[_0x554f37(0x1a6)])?_0x3206dd[_0x554f37(0x156)](Date[_0x554f37(0x11b)](),new Date(_0x2580fd['startedAt'])[_0x554f37(0x196)]()):null,'started_at':new Date(_0x2580fd[_0x554f37(0x157)])[_0x554f37(0x160)](),'finished_at':_0x557e1d,'failure':testOpsHelper[_0x554f37(0x134)][_0x554f37(0x10a)](null,_0x27d103),'failure_type':!_0x359bff?null:testOpsHelper['getFailureType'](_0x359bff),'retry_of':_0x2580fd[_0x554f37(0x14b)]||null,'tags':_0x2580fd[_0x554f37(0x152)]||[],'customRerunParam':{'rerun_name':_0x2580fd[_0x554f37(0x179)]()}};_0x3206dd['jWdqX'](appendTesthubParams,_0x16e203,_0x2f05b8,_0x2580fd,FRAMEWORKS[_0x554f37(0x140)]);if(_0x2c134e[_0x554f37(0x1d1)])[_0x16e203[_0x554f37(0x1d2)],_0x16e203[_0x554f37(0x1aa)]]=[this[_0x554f37(0x1f0)](_0x2580fd),_0x2580fd['ctx'][_0x554f37(0x1f1)]['title']],_0x2c134e['finished']?_0x3206dd[_0x554f37(0x163)](_0x16e203[_0x554f37(0x11e)],_0x3206dd[_0x554f37(0x1ed)])&&(_0x16e203['result']=_0x3206dd[_0x554f37(0x133)]):_0x16e203[_0x554f37(0x1d9)]={};else _0x2c134e[_0x554f37(0x1f1)]&&(this[_0x554f37(0x123)](_0x2580fd),_0x2c134e[_0x554f37(0x1a6)]&&this['resetSkipTestHooks'](_0x2580fd),(_0x2c134e[_0x554f37(0x1c7)]||_0x2c134e[_0x554f37(0x1a6)])&&(_0x16e203[_0x554f37(0x192)]=this[_0x554f37(0x189)](_0x2580fd)));this[_0x554f37(0x13a)]&&(_0x2c134e['started']||_0x2c134e['skipped'])&&(_0x16e203[_0x3206dd[_0x554f37(0x184)]]=this[_0x554f37(0x1e5)](this['driver']));_0x2c134e[_0x554f37(0x1f1)]&&_0x2c134e['finished']&&_0x2580fd[_0x554f37(0x1ea)]&&(_0x16e203[_0x3206dd[_0x554f37(0x132)]]={'feature':{'name':_0x2580fd[_0x554f37(0x1ec)][_0x554f37(0x10f)][_0x554f37(0x1aa)],'path':_0x16e203['file_name'],'description':_0x2580fd[_0x554f37(0x1ec)]['comment']},'scenario':{'name':_0x2580fd['title']},'steps':_0x2580fd[_0x554f37(0x1ea)]});const _0x488e42=_0x16e203[_0x3206dd[_0x554f37(0x137)]][0x0];_0x488e42&&(_0x16e203[_0x3206dd[_0x554f37(0x178)]]=_0x488e42[_0x3206dd[_0x554f37(0x1b7)]],_0x16e203[_0x3206dd['Djvvc']]=_0x488e42[_0x3206dd[_0x554f37(0x1db)]]);if(_0x2580fd[_0x554f37(0x1ea)])for(const _0x4dbf7e of _0x2580fd[_0x554f37(0x1ea)]){!_0x4dbf7e[_0x554f37(0x1b9)]&&(_0x4dbf7e[_0x554f37(0x1b9)]=new Date()[_0x554f37(0x160)](),_0x3206dd[_0x554f37(0x18d)](_0x4dbf7e[_0x554f37(0x11e)],_0x3206dd[_0x554f37(0x138)])&&(_0x488e42?(_0x4dbf7e[_0x554f37(0x11e)]=_0x3206dd[_0x554f37(0x1ed)],_0x4dbf7e[_0x554f37(0x109)]=_0x488e42[_0x3206dd['sWGRq']][0x0]):_0x4dbf7e[_0x554f37(0x11e)]=_0x3206dd['PMNcW']));}const _0x47ff20={};_0x47ff20[_0x554f37(0x18b)]=_0x2c134e[_0x554f37(0x1a6)]?TEST_EVENTS[_0x554f37(0x12f)]:_0x2f05b8;const _0x94332c=_0x47ff20;return _0x2c134e[_0x554f37(0x1d1)]?_0x94332c[_0x3206dd[_0x554f37(0x19c)]]=_0x16e203:_0x94332c[_0x3206dd['FFllZ']]=_0x16e203,_0x94332c;}catch(_0x2be065){logger[_0x554f37(0x150)](_0x554f37(0x153)+_0x2f05b8+_0x554f37(0x17d)+_0x2be065);}}async[a3_0x32bc1b(0x199)](_0x3eb68b,_0x512edc){const _0xa98e53=a3_0x32bc1b;if(!this[_0xa98e53(0x15c)]||!_0x512edc||!_0x3eb68b)return![];try{return await SessionHandler[_0xa98e53(0x193)](_0x512edc);}catch(_0x1fb37a){logger[_0xa98e53(0x150)](_0xa98e53(0x12e)+_0x3eb68b+_0xa98e53(0x17d)+_0x1fb37a);}}[a3_0x32bc1b(0x174)](_0x663002){const _0xf72a7d=a3_0x32bc1b,_0x1291b8={};_0x1291b8['ZDJul']=_0xf72a7d(0x1e8);const _0x110b07=_0x1291b8;return{'id':_0x663002[_0xf72a7d(0x112)],'text':_0x663002[_0xf72a7d(0x1cd)],'keyword':_0x663002[_0xf72a7d(0x131)],'started_at':_0x663002[_0xf72a7d(0x157)][_0xf72a7d(0x160)](),'result':_0x110b07[_0xf72a7d(0x1df)]};}[a3_0x32bc1b(0x1c0)](_0x5c3942){const _0x32090b=a3_0x32bc1b,_0x258c6a={'zaKPM':function(_0x35ccaa){return _0x35ccaa();}};!this[_0x32090b(0x1ab)][_0x32090b(0x1ea)]&&(this[_0x32090b(0x1ab)][_0x32090b(0x1ea)]=[]),!_0x5c3942['stepAnalyticsId']&&(_0x5c3942['stepAnalyticsId']=_0x258c6a[_0x32090b(0x19a)](uuidv4),_0x5c3942[_0x32090b(0x157)]=new Date(),this[_0x32090b(0x1ab)][_0x32090b(0x1ea)][_0x32090b(0x183)](this[_0x32090b(0x174)](_0x5c3942)));}[a3_0x32bc1b(0x1ee)](_0xde5cb6){const _0x6d0287=a3_0x32bc1b,_0x3201c2={'CzSVQ':function(_0x342aed,_0x28f0ba){return _0x342aed(_0x28f0ba);},'hVYBE':_0x6d0287(0x12b),'iFfBe':'pending','KYObX':_0x6d0287(0x190),'eJSZb':function(_0x4c851f,_0x166504){return _0x4c851f-_0x166504;}};let _0x89242f=this[_0x6d0287(0x1ab)][_0x6d0287(0x1ea)][_0x6d0287(0x13e)](_0x188cb6=>_0x188cb6['id']===_0xde5cb6['stepAnalyticsId']);_0x3201c2['CzSVQ'](isUndefined,_0x89242f)&&(_0x89242f=this[_0x6d0287(0x174)](_0xde5cb6)),_0x89242f[_0x6d0287(0x11e)]=[_0x3201c2['hVYBE'],_0x3201c2[_0x6d0287(0x120)]][_0x6d0287(0x180)](_0xde5cb6[_0x6d0287(0x1a5)])?_0x3201c2[_0x6d0287(0x188)]:_0xde5cb6[_0x6d0287(0x1a5)],_0x89242f['finished_at']=new Date()[_0x6d0287(0x160)](),_0x89242f[_0x6d0287(0x1d7)]=_0x3201c2['eJSZb'](Date['now'](),_0xde5cb6[_0x6d0287(0x157)][_0x6d0287(0x196)]()),_0x89242f['failure']=_0xde5cb6['err']?_0xde5cb6['err']['message']:null;}}const a3_0x2ef0c6={};a3_0x2ef0c6[a3_0x32bc1b(0x1f2)]=O11yHelper,a3_0x2ef0c6[a3_0x32bc1b(0x17e)]=STATE_PASSED,a3_0x2ef0c6[a3_0x32bc1b(0x18f)]=STATE_FAILED,a3_0x2ef0c6[a3_0x32bc1b(0x1b8)]=TEST_EVENTS,module['exports']=a3_0x2ef0c6;
1
+ function a3_0x4f24(){const _0x12e623=['qrgnn','message','toUpperCase','format','hook_type','skipped','getHierarchy','now','driver','wPhHx','rZCLd','fullTitle','connect','HOOK_RUN_FINISHED','browserstack','statSync','zvMFm','file','includes','__cloud_provider___','launch','UgqHD','_paths','KRYLM','uploadEventData','passed','../playwright/sessionDetails','LogCreated','uOlIa','match','Failed\x20to\x20parse\x20wsendpoint\x20','232170ylADGt','defineProperty','debug','../../helpers/logger','pending','duration','hookAnalyticsId','currentHook','JGmzk','path','fireEvent','JMWLk','gmMOP','../utils/constants','sep','obsBrowserTypeMockApplied','kZYJS','parent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','XpYjx','hooks','File\x20path\x20could\x20not\x20be\x20found','concat','frameworkName','vWRmr','getRootParentFile','_testEnv','../../helpers/test-observability/utils','getTime','type','TestRunFinished','WyXjU','session_id','EUVpZ','startedAt','BOprg','toOGh','errorsDetailed','failed','zTknd','ANbCM','Playwright','obxnp','shutdown','stepAnalyticsId','pttTL','BOYYv','test_run_uuid','appendTestItemLog','toLowerCase','fTepT','removeAllListeners','name','O11yHelper','start','XUbbY','TEST_RUN_SKIPPED','LmWfX','getHookType','failureData','BLxeL','failure','ctx','3VIzZAP','err','198AotUEN','XEYSS','qAuVE','getInstance','quzZK','flushPendingHookEvents','pid','RFOQg','feature','hasLiveDriverSession','groups','stringify','CODECEPT','hook_run','splice','enabled','stop','retryOf','forEach','initializeBddStep','XTHcw','hook_run_uuid','IzrjN','result','uOmJK','sLybj','wsEndpoint','HIkaY','1982064KZJQKy','BYfYo','nKjQC','TestRunSkipped','body','Not\x20able\x20to\x20import\x20Browser','.git','getCBTInfo','location_prefix','logs','currentTest','expanded','../../helpers/test-observability/requestQueueHandler','push','pendingHookEvents','toString','replace','sendCBTInfo','suites','_beforeEach','DKlCR','then','inspect','started','lpIcC','bddStepStart','PrunX','_afterEach','prefixTestPath','bddSteps','title','qpqme','./helper.js','../playwright/accessibility-helper','95564KgxIDa','dNNXL','ySgaH','length','CzXoC','../../helpers/testhub/utils.js','CXGJj','Fjcmd','CBTSessionCreated','RmvBH','FqQhu','TEST_REPORTING_ANALYTICS','tags','../mocha/test-observability/mochaUtils','RmktC','mapTestHooks','codeceptjs','vdNpm','BROWSERSTACK','connectOverCDP','TEST_RUN_FINISHED','TEST_EVENTS','uuid','wZniO','finished','UFNAk','Oixei','73597yjmFPW','107984jzklVL','comment','mqCEf','markedStatus','QuRFU','exports','backtrace','aAGkZ','bind','getHooksForTest','test','../../helpers/test-observability/sessionHandler','toISOString','dirname','3211846WIItAW','_beforeAll','hook','findGitConfig','5|2|3|4|1|0','wBTMP','DEPrQ','sNhbB','15FRspYG','getFailureType','XLWSx','_afterAll','HookRunStarted','find','snQwB','testAnalyticsId','iHXqb','apply','finished_at','VCzfa','integrations','split','patchConsoleLogger','\x20with\x20error\x20:\x20','status','TocsK','cWzMJ','aibaa','bs:addLog:','435282tUSvoH','2wxgNVy','TEST_RUN_STARTED','test_run','kMtzZ','__platformCaps','event_type'];a3_0x4f24=function(){return _0x12e623;};return a3_0x4f24();}const a3_0x356ac7=a3_0x59c0;(function(_0x52b187,_0xa8c265){const _0x54f6af=a3_0x59c0,_0x2afa07=_0x52b187();while(!![]){try{const _0x293a2f=-parseInt(_0x54f6af(0x1cb))/0x1*(-parseInt(_0x54f6af(0x10c))/0x2)+parseInt(_0x54f6af(0x170))/0x3*(parseInt(_0x54f6af(0x1b0))/0x4)+parseInt(_0x54f6af(0x1e2))/0x5*(-parseInt(_0x54f6af(0x10b))/0x6)+parseInt(_0x54f6af(0x18e))/0x7+-parseInt(_0x54f6af(0x1cc))/0x8*(parseInt(_0x54f6af(0x172))/0x9)+parseInt(_0x54f6af(0x131))/0xa+parseInt(_0x54f6af(0x1da))/0xb;if(_0x293a2f===_0xa8c265)break;else _0x2afa07['push'](_0x2afa07['shift']());}catch(_0x1587eb){_0x2afa07['push'](_0x2afa07['shift']());}}}(a3_0x4f24,0x2c3fe));const path=require(a3_0x356ac7(0x13a)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a3_0x356ac7(0x1c6)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a3_0x356ac7(0x14c)),{getTestEnv}=require(a3_0x356ac7(0x1bd)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a3_0x356ac7(0x134))['winstonLogger'],SessionHandler=require(a3_0x356ac7(0x1d7)),RequestQueueHandler=require(a3_0x356ac7(0x19a)),PlaywrightSessionDetails=require(a3_0x356ac7(0x12c)),debug=testOpsHelper[a3_0x356ac7(0x133)],{processAccessibilityCaps}=require(a3_0x356ac7(0x1af)),Constants=require(a3_0x356ac7(0x13e)),{fetchPlatformDetails}=require(a3_0x356ac7(0x1ae)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x356ac7(0x1b5)),constants=require('../utils/constants'),STATE_PASSED=a3_0x356ac7(0x12b),STATE_FAILED=a3_0x356ac7(0x157),a3_0x3cc512={};a3_0x3cc512[a3_0x356ac7(0x10d)]='TestRunStarted',a3_0x3cc512['TEST_RUN_FINISHED']=a3_0x356ac7(0x14f),a3_0x3cc512[a3_0x356ac7(0x169)]=a3_0x356ac7(0x191),a3_0x3cc512['HOOK_RUN_STARTED']=a3_0x356ac7(0x1e6),a3_0x3cc512[a3_0x356ac7(0x11f)]='HookRunFinished';function a3_0x59c0(_0x50b046,_0x4389e3){const _0x4f24a8=a3_0x4f24();return a3_0x59c0=function(_0x59c041,_0x281613){_0x59c041=_0x59c041-0x108;let _0x57ddd1=_0x4f24a8[_0x59c041];return _0x57ddd1;},a3_0x59c0(_0x50b046,_0x4389e3);}const TEST_EVENTS=a3_0x3cc512,parseEvent=_0x266a65=>{const _0x1bc945=a3_0x356ac7,_0x4183ee={};_0x4183ee[_0x1bc945(0x190)]=function(_0x1eef58,_0x45bdca){return _0x1eef58<_0x45bdca;},_0x4183ee[_0x1bc945(0x154)]=function(_0x3d7f33,_0x28e46a){return _0x3d7f33===_0x28e46a;},_0x4183ee['VCzfa']=_0x1bc945(0x1d6),_0x4183ee[_0x1bc945(0x108)]=_0x1bc945(0x1dc),_0x4183ee['uOmJK']=_0x1bc945(0x117),_0x4183ee[_0x1bc945(0x158)]=_0x1bc945(0x1a5),_0x4183ee[_0x1bc945(0x1ce)]=_0x1bc945(0x1c8);const _0x5d3247=_0x4183ee,_0x526fa1=_0x266a65[_0x1bc945(0x12f)](/^(.*)Run(.*)$/);if(!_0x526fa1)return null;if(_0x5d3247[_0x1bc945(0x190)](_0x526fa1[_0x1bc945(0x1b3)],0x3))return null;const _0x53a57d=_0x526fa1[0x1][_0x1bc945(0x162)](),_0x2108b1=_0x526fa1[0x2]['toLowerCase']();return{'test':_0x5d3247['BOprg'](_0x53a57d,_0x5d3247[_0x1bc945(0x1ed)]),'hook':_0x5d3247[_0x1bc945(0x154)](_0x53a57d,_0x5d3247['cWzMJ']),'skipped':_0x5d3247[_0x1bc945(0x154)](_0x2108b1,_0x5d3247[_0x1bc945(0x18a)]),'started':_0x5d3247['BOprg'](_0x2108b1,_0x5d3247[_0x1bc945(0x158)]),'finished':_0x5d3247[_0x1bc945(0x154)](_0x2108b1,_0x5d3247[_0x1bc945(0x1ce)])};},mockPWBrowserType=_0x5bc012=>{const _0x5da093=a3_0x356ac7,_0x56aff0={'RmktC':function(_0x1a4480,_0x4b208d){return _0x1a4480===_0x4b208d;},'LxaUE':'string','LmWfX':function(_0x43cd8c,_0x234360,_0x57bfc3){return _0x43cd8c(_0x234360,_0x57bfc3);},'wTLDG':_0x5da093(0x18c),'aAGkZ':function(_0x356d69,_0x168276){return _0x356d69(_0x168276);},'fNIBP':_0x5da093(0x120),'WGeTW':function(_0x1d3056){return _0x1d3056();},'CFqVa':function(_0x19875e,_0x235c70){return _0x19875e(_0x235c70);},'qrgnn':_0x5da093(0x193),'Oixei':_0x5da093(0x11e),'rdecY':_0x5da093(0x126)},_0x1268eb=_0x56aff0['WGeTW'](resolveBrowserTypeClass);if(!_0x1268eb){_0x56aff0['CFqVa'](debug,_0x56aff0[_0x5da093(0x112)]);return;}const _0x1c9dce=_0x1268eb['prototype'];if(_0x1c9dce[_0x5da093(0x140)])return;const _0x5026d3=_0x1c9dce['connect'];Object[_0x5da093(0x132)](_0x1c9dce,_0x56aff0[_0x5da093(0x1ca)],{'get':function(){const _0x808518={'sNhbB':function(_0x4d7ae7,_0x3490b4){const _0x2de4c4=a3_0x59c0;return _0x56aff0[_0x2de4c4(0x1be)](_0x4d7ae7,_0x3490b4);},'yTwbg':_0x56aff0['LxaUE'],'vWRmr':function(_0x508b98,_0x1b4c50,_0xbdd407){const _0x30dbcb=a3_0x59c0;return _0x56aff0[_0x30dbcb(0x16a)](_0x508b98,_0x1b4c50,_0xbdd407);},'QuRFU':_0x56aff0['wTLDG'],'qpqme':function(_0x43c007,_0x1cf119){const _0x2004b3=a3_0x59c0;return _0x56aff0[_0x2004b3(0x1d3)](_0x43c007,_0x1cf119);},'knVJU':_0x56aff0['fNIBP']};return async function _0x28b445(_0x452d70,_0x520d7b){const _0x4c0fb7=a3_0x59c0,_0x402889={'XpYjx':function(_0xa86732,_0x25007b){const _0xdf5e88=a3_0x59c0;return _0x808518[_0xdf5e88(0x1e1)](_0xa86732,_0x25007b);},'KRYLM':_0x808518['yTwbg']},_0x45d72d=_0x808518[_0x4c0fb7(0x149)](nestedKeyValue,_0x452d70,[_0x808518[_0x4c0fb7(0x1d0)]])||_0x452d70;let _0x4fe7dd=null,_0xbdcf42=null;try{[_0xbdcf42,_0x4fe7dd]=_0x45d72d?_0x808518[_0x4c0fb7(0x1ad)](parseWSEndpoint,_0x45d72d):[null,null],global[_0x4c0fb7(0x110)]=_0x4fe7dd,logger[_0x4c0fb7(0x133)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0xbdcf42),_0xbdcf42[_0x4c0fb7(0x124)](Constants[_0x4c0fb7(0x1c2)])&&(global[_0x4c0fb7(0x125)]=_0x808518['knVJU']);}catch(_0x1c754c){logger['debug'](_0x4c0fb7(0x130)+_0x45d72d+'\x20'+_0x1c754c);}_0x808518[_0x4c0fb7(0x149)](processAccessibilityCaps,_0x4fe7dd,_0xbdcf42);if(global['accessibilityPlatform']){const _0x1daba7=await _0x1c9dce[_0x4c0fb7(0x1c3)][_0x4c0fb7(0x1eb)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x808518['qpqme'](encodeURIComponent,JSON[_0x4c0fb7(0x17d)](_0x4fe7dd))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x1daba7,_0x5bc012,_0x45d72d),_0x1daba7;}return _0x5026d3[_0x4c0fb7(0x1eb)](this,arguments)[_0x4c0fb7(0x1a3)](_0x13af44=>{const _0x44950e=_0x4c0fb7;let _0x1e38d5=_0x452d70[_0x44950e(0x18c)];return _0x402889[_0x44950e(0x144)](typeof _0x452d70,_0x402889[_0x44950e(0x129)])&&(_0x1e38d5=_0x452d70),PlaywrightSessionDetails['setupBrowserDetails'](_0x13af44,_0x5bc012,_0x1e38d5),_0x13af44;});};}});const _0x2c9858=_0x1c9dce['launch'];Object['defineProperty'](_0x1c9dce,_0x56aff0['rdecY'],{'get':function(){return async function _0x59ff98(){const _0x24164f=a3_0x59c0;return _0x2c9858[_0x24164f(0x1eb)](this,arguments)[_0x24164f(0x1a3)](_0x5c6953=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x5c6953,null),_0x5c6953;});};}});};class O11yHelper{[a3_0x356ac7(0x198)]=null;[a3_0x356ac7(0x138)]=null;[a3_0x356ac7(0x181)]=![];[a3_0x356ac7(0x148)]=![];['pendingHookEvents']=[];constructor(_0x1bf104,_0x45c3b7){const _0x30271d=a3_0x356ac7,_0x453731={'jvWKl':_0x30271d(0x1de),'brnsX':function(_0x38860f,_0x526fd4){return _0x38860f===_0x526fd4;},'BOYYv':_0x30271d(0x15a),'EUVpZ':function(_0x46ae6d,_0xacb1f3){return _0x46ae6d(_0xacb1f3);},'RFOQg':function(_0x3bc799){return _0x3bc799();}},_0xaf9d1e=_0x453731['jvWKl'][_0x30271d(0x1ef)]('|');let _0x2d9ef9=0x0;while(!![]){switch(_0xaf9d1e[_0x2d9ef9++]){case'0':this['driver']&&_0x453731['brnsX'](this[_0x30271d(0x11a)]['constructor']['name'],_0x453731[_0x30271d(0x15f)])&&_0x453731[_0x30271d(0x152)](mockPWBrowserType,null);continue;case'1':this[_0x30271d(0x128)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x30271d(0x14b)][_0x30271d(0x196)]);continue;case'2':this[_0x30271d(0x148)]=_0x45c3b7[_0x30271d(0x148)];continue;case'3':this[_0x30271d(0x11a)]=_0x1bf104;continue;case'4':this[_0x30271d(0x14b)]=_0x453731[_0x30271d(0x179)](getTestEnv);continue;case'5':this['enabled']=_0x453731[_0x30271d(0x179)](shouldProcessEventForTesthub);continue;}break;}}[a3_0x356ac7(0x17b)](){const _0x5e6f8e=a3_0x356ac7,_0xc7c257={'ANbCM':function(_0x13014e,_0x43e370){return _0x13014e(_0x43e370);}};if(!this[_0x5e6f8e(0x11a)])return![];try{const _0x11ff3f=_0xc7c257[_0x5e6f8e(0x159)](fetchPlatformDetails,this['driver']);if(!_0x11ff3f)return![];const _0x245127=Object['keys'](_0x11ff3f)[0x0];return!!(_0x245127&&_0x11ff3f[_0x245127]&&_0x11ff3f[_0x245127][_0x5e6f8e(0x151)]);}catch(_0x92d91e){return![];}}['bufferPendingHookEvent'](_0x15ab15,_0x5813ea){const _0x359462=a3_0x356ac7;if(!_0x5813ea)return;const _0x4ed55f={};_0x4ed55f['eventType']=_0x15ab15,_0x4ed55f['uploadData']=_0x5813ea,this[_0x359462(0x19c)][_0x359462(0x19b)](_0x4ed55f);}async[a3_0x356ac7(0x177)](){const _0x463149=a3_0x356ac7,_0x53bead={};_0x53bead[_0x463149(0x11b)]=function(_0x53926d,_0x5e98ad){return _0x53926d&&_0x5e98ad;};const _0x38f5d8=_0x53bead;if(!this[_0x463149(0x19c)][_0x463149(0x1b3)])return;if(!this[_0x463149(0x17b)]())return;const _0x5a70cc=this['getCBTInfo'](this[_0x463149(0x11a)]),_0x1aecd6=this[_0x463149(0x19c)][_0x463149(0x180)](0x0,this[_0x463149(0x19c)]['length']);for(const {eventType:_0x13215c,uploadData:_0x1a6f76}of _0x1aecd6){try{const _0x1f4b34=_0x1a6f76[_0x463149(0x17f)]||_0x1a6f76[_0x463149(0x10e)];_0x38f5d8['wPhHx'](_0x1f4b34,_0x5a70cc)&&(_0x1f4b34[_0x463149(0x1ee)]=_0x5a70cc),await this[_0x463149(0x13b)](_0x13215c,_0x1a6f76);}catch(_0x346dac){logger['debug']('Failed\x20to\x20flush\x20pending\x20hook\x20event\x20'+_0x13215c+':\x20'+util[_0x463149(0x115)](_0x346dac));}}}[a3_0x356ac7(0x167)](){const _0x3fcb28=a3_0x356ac7;if(!this[_0x3fcb28(0x181)])return;testOpsHelper[_0x3fcb28(0x1f0)](),process[_0x3fcb28(0x164)](_0x3fcb28(0x10a)+process[_0x3fcb28(0x178)]),process['on'](_0x3fcb28(0x10a)+process['pid'],this[_0x3fcb28(0x161)][_0x3fcb28(0x1d4)](this));}async[a3_0x356ac7(0x182)](){const _0x463a5f=a3_0x356ac7;await RequestQueueHandler[_0x463a5f(0x175)]()[_0x463a5f(0x15c)]();}async['appendTestItemLog'](_0x5ef233){const _0x4167a6=a3_0x356ac7,_0x546fce={'JGmzk':_0x4167a6(0x12d),'quzZK':function(_0x1e11bf,_0x113308){return _0x1e11bf(_0x113308);}};try{this['currentHook']&&!this['currentHook']['markedStatus']&&(_0x5ef233[_0x4167a6(0x187)]=this[_0x4167a6(0x138)][_0x4167a6(0x137)]);!_0x5ef233[_0x4167a6(0x187)]&&this['currentTest']&&!this[_0x4167a6(0x198)][_0x4167a6(0x1cf)]&&(_0x5ef233[_0x4167a6(0x160)]=this[_0x4167a6(0x198)][_0x4167a6(0x1e9)]);if(_0x5ef233[_0x4167a6(0x187)]||_0x5ef233[_0x4167a6(0x160)]){const _0xa25aae={};_0xa25aae['event_type']=_0x546fce[_0x4167a6(0x139)],_0xa25aae[_0x4167a6(0x197)]=[_0x5ef233],await SessionHandler[_0x4167a6(0x12a)](_0xa25aae);}}catch(_0x2d8f01){_0x546fce[_0x4167a6(0x176)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x4167a6(0x1bb)]+_0x4167a6(0x1f1)+_0x2d8f01);}}async[a3_0x356ac7(0x19f)](_0x482a05){const _0x15c89b=a3_0x356ac7,_0x3f9da1={'rwdcD':_0x15c89b(0x1b8),'toOGh':function(_0x5aac16,_0xd70565){return _0x5aac16(_0xd70565);}};if(!this['enabled'])return;const _0x5e3d48=this[_0x15c89b(0x195)](this[_0x15c89b(0x11a)]);try{const _0x4a6f4d={};_0x4a6f4d['uuid']=_0x482a05,_0x4a6f4d['integrations']=_0x5e3d48;const _0x48b5a8=_0x4a6f4d,_0x19141f={};_0x19141f[_0x15c89b(0x111)]=_0x3f9da1['rwdcD'],_0x19141f['test_run']=_0x48b5a8,await SessionHandler['uploadEventData'](_0x19141f);}catch(_0x5ca0fe){_0x3f9da1[_0x15c89b(0x155)](debug,_0x15c89b(0x143)+constants[_0x15c89b(0x1bb)]+_0x15c89b(0x1f1)+_0x5ca0fe);}}['getCBTInfo'](_0x3633fb){const _0x1253b9=a3_0x356ac7,_0x48ae35={'FqQhu':function(_0x51091e,_0x3343b4){return _0x51091e(_0x3343b4);}};return _0x48ae35[_0x1253b9(0x1ba)](fetchPlatformDetails,_0x3633fb);}['resetSkipTestHooks']=_0x5ceb61=>{const _0x31d074=a3_0x356ac7,_0x2ac489={};_0x2ac489['pttTL']=_0x31d074(0x1a1),_0x2ac489[_0x31d074(0x173)]=_0x31d074(0x1a9);const _0x1f43ff=_0x2ac489;if(!_0x5ceb61||!_0x5ceb61[_0x31d074(0x142)])return;[_0x1f43ff[_0x31d074(0x15e)],_0x1f43ff[_0x31d074(0x173)]][_0x31d074(0x184)](_0x15d442=>{const _0x5dd42e=_0x31d074,_0x37499c=_0x5ceb61[_0x5dd42e(0x142)][_0x15d442];_0x37499c[_0x5dd42e(0x184)](_0x556621=>{const _0x55c4a7=_0x5dd42e;_0x556621[_0x55c4a7(0x137)]&&(_0x556621[_0x55c4a7(0x137)]=null);});});};[a3_0x356ac7(0x1bf)](_0x354333){const _0x362da0=a3_0x356ac7,_0x16bc62={'wZniO':_0x362da0(0x1c0),'HIkaY':function(_0x3ad6ad){return _0x3ad6ad();},'wBTMP':function(_0x3162e6,_0x19e922){return _0x3162e6===_0x19e922;},'WyXjU':_0x362da0(0x1a9),'YYeaS':function(_0xb6e09f){return _0xb6e09f();},'TocsK':'_beforeAll','BLxeL':_0x362da0(0x1e5),'BYfYo':_0x362da0(0x1a1)};if(!_0x354333||!_0x354333[_0x362da0(0x142)])return;[_0x16bc62[_0x362da0(0x1f3)],_0x16bc62[_0x362da0(0x16d)],_0x16bc62[_0x362da0(0x18f)],_0x16bc62[_0x362da0(0x150)]][_0x362da0(0x184)](_0x3c9322=>{const _0x903554=_0x362da0,_0x14d1bb={'qbMQP':_0x16bc62[_0x903554(0x1c7)],'snQwB':function(_0x5f10af){const _0x3f8abe=_0x903554;return _0x16bc62[_0x3f8abe(0x18d)](_0x5f10af);},'XLWSx':function(_0x39ace8,_0x1e089c){const _0x4a2521=_0x903554;return _0x16bc62[_0x4a2521(0x1df)](_0x39ace8,_0x1e089c);},'zvMFm':_0x16bc62[_0x903554(0x150)],'BDDxv':function(_0x3464a5){return _0x16bc62['YYeaS'](_0x3464a5);}},_0x5c779a=_0x354333[_0x903554(0x142)][_0x3c9322]||[];_0x5c779a[_0x903554(0x184)](_0x531bcd=>{const _0x57c71b=_0x903554;if(_0x531bcd[_0x57c71b(0x1ac)][_0x57c71b(0x124)](_0x14d1bb['qbMQP']))return;if(!_0x531bcd[_0x57c71b(0x137)])_0x531bcd['hookAnalyticsId']=_0x14d1bb[_0x57c71b(0x1e8)](uuidv4);else _0x531bcd[_0x57c71b(0x1cf)]&&_0x14d1bb[_0x57c71b(0x1e4)](_0x3c9322,_0x14d1bb[_0x57c71b(0x122)])&&(_0x531bcd['hookAnalyticsId']=_0x14d1bb['BDDxv'](uuidv4),delete _0x531bcd['markedStatus']);});}),this[_0x362da0(0x1bf)](_0x354333[_0x362da0(0x142)]);}[a3_0x356ac7(0x1d5)](_0x60b354){const _0x4fdacf=a3_0x356ac7,_0x20dff6={};_0x20dff6['IzrjN']=_0x4fdacf(0x1db),_0x20dff6[_0x4fdacf(0x10f)]=_0x4fdacf(0x1e5),_0x20dff6['uOlIa']=_0x4fdacf(0x1a1),_0x20dff6[_0x4fdacf(0x1a6)]='_afterEach';const _0x5eab2c=_0x20dff6;if(!_0x60b354||!_0x60b354['parent'])return[];const _0x587ab3=[];return[_0x5eab2c[_0x4fdacf(0x188)],_0x5eab2c['kMtzZ'],_0x5eab2c[_0x4fdacf(0x12e)],_0x5eab2c[_0x4fdacf(0x1a6)]]['forEach'](_0x132e29=>{const _0x5b8352=_0x4fdacf,_0x2df627=_0x60b354['parent'][_0x132e29]||[];_0x2df627[_0x5b8352(0x184)](_0x5233a5=>{const _0x3dbf79=_0x5b8352;_0x5233a5[_0x3dbf79(0x137)]&&_0x587ab3[_0x3dbf79(0x19b)](_0x5233a5[_0x3dbf79(0x137)]);});}),[][_0x4fdacf(0x147)](_0x587ab3,this[_0x4fdacf(0x1d5)](_0x60b354['parent']));}[a3_0x356ac7(0x16b)](_0x433663){const _0x5828d0=a3_0x356ac7,_0x5b64aa=/^"(?<hook>.*)" hook:.*$/,_0x3de142=_0x433663[_0x5828d0(0x1ac)],_0x399c1a=_0x3de142[_0x5828d0(0x12f)](_0x5b64aa);if(_0x399c1a&&_0x399c1a[_0x5828d0(0x17c)])return _0x399c1a[_0x5828d0(0x17c)][_0x5828d0(0x1dc)][_0x5828d0(0x114)]()[_0x5828d0(0x19e)]('\x20','_');return null;}[a3_0x356ac7(0x1dd)](_0x593a85){const _0x2ca58d=a3_0x356ac7,_0x12797f={};_0x12797f[_0x2ca58d(0x1b1)]=function(_0x3ac313,_0x983dbd){return _0x3ac313===_0x983dbd;},_0x12797f[_0x2ca58d(0x1b6)]=function(_0x1c7a52,_0x2acf1d){return _0x1c7a52===_0x2acf1d;},_0x12797f[_0x2ca58d(0x186)]=function(_0x478326,_0x44524c){return _0x478326===_0x44524c;},_0x12797f[_0x2ca58d(0x1ea)]=_0x2ca58d(0x194);const _0x3efff8=_0x12797f,_0x4c64f2=path[_0x2ca58d(0x13f)];if(_0x3efff8[_0x2ca58d(0x1b1)](_0x593a85,null)||_0x3efff8[_0x2ca58d(0x1b6)](_0x593a85,'')||_0x3efff8[_0x2ca58d(0x1b6)](_0x593a85,_0x4c64f2)||_0x3efff8[_0x2ca58d(0x186)](_0x593a85,path[_0x2ca58d(0x1d9)](_0x593a85)))return null;try{return fs[_0x2ca58d(0x121)](path['join'](_0x593a85,_0x3efff8[_0x2ca58d(0x1ea)])),_0x593a85;}catch(_0xa36504){const _0x4962e4=path[_0x2ca58d(0x1d9)](_0x593a85);return this[_0x2ca58d(0x1dd)](_0x4962e4);}}[a3_0x356ac7(0x14a)](_0x24f79d){const _0x4a48a2=a3_0x356ac7,_0x15c062={};_0x15c062['BIojq']=function(_0x346c9c,_0x51103e){return _0x346c9c>_0x51103e;};const _0x7ecab7=_0x15c062;if(_0x24f79d['file'])return _0x24f79d[_0x4a48a2(0x123)];if(_0x24f79d[_0x4a48a2(0x16f)]){const _0xb6256=_0x24f79d[_0x4a48a2(0x16f)]['currentTest']?this['getRootParentFile'](_0x24f79d['ctx'][_0x4a48a2(0x198)]):null;if(_0xb6256)return _0xb6256;}if(_0x24f79d[_0x4a48a2(0x142)]){const _0x1c2a4f=this[_0x4a48a2(0x14a)](_0x24f79d[_0x4a48a2(0x142)])||(_0x24f79d[_0x4a48a2(0x142)][_0x4a48a2(0x16f)]&&_0x24f79d[_0x4a48a2(0x142)][_0x4a48a2(0x16f)]['currentTest']?this[_0x4a48a2(0x14a)](_0x24f79d['parent'][_0x4a48a2(0x16f)]['currentTest']):null);if(_0x1c2a4f)return _0x1c2a4f;_0x24f79d[_0x4a48a2(0x142)][_0x4a48a2(0x1a0)]&&_0x7ecab7['BIojq'](_0x24f79d['parent'][_0x4a48a2(0x1a0)][_0x4a48a2(0x1b3)],0x0)&&_0x24f79d[_0x4a48a2(0x142)]['suites']['forEach'](_0x14c2bd=>{const _0x450216=_0x4a48a2,_0x2b06e0=_0x14c2bd['ctx']?this[_0x450216(0x14a)](_0x14c2bd[_0x450216(0x16f)]):null;if(_0x2b06e0)return _0x2b06e0;});}return null;}[a3_0x356ac7(0x118)](_0x3ad040){const _0xd2740=a3_0x356ac7,_0x3554ac={};_0x3554ac['XGnFC']=function(_0x7984ce,_0x49e821){return _0x7984ce!==_0x49e821;};const _0x3c5651=_0x3554ac,_0x8d4cfc=[];if(_0x3ad040&&_0x3ad040[_0xd2740(0x142)]){let _0xd7050c=_0x3ad040[_0xd2740(0x142)];while(_0xd7050c&&_0x3c5651['XGnFC'](_0xd7050c[_0xd2740(0x1ac)],'')){_0x8d4cfc['push'](_0xd7050c[_0xd2740(0x1ac)]),_0xd7050c=_0xd7050c[_0xd2740(0x142)];}}return _0x8d4cfc;}['captureEvent'](_0x19f737,_0x218e69,_0x28687e=undefined){const _0xcbadf=a3_0x356ac7,_0x5addc3={'qAuVE':function(_0x4e8540,_0x28f0c6){return _0x4e8540(_0x28f0c6);},'PrunX':function(_0x9f16d8){return _0x9f16d8();},'gmMOP':function(_0x3a67ec){return _0x3a67ec();},'PNAlt':function(_0x58570c){return _0x58570c();},'JaYOW':'err','obxnp':function(_0x3d656b,_0x56104b){return _0x3d656b!==_0x56104b;},'RPbVN':function(_0x1a60a1,_0x3c1f44){return _0x1a60a1!==_0x3c1f44;},'tTsxI':_0xcbadf(0x146),'kZYJS':_0xcbadf(0x135),'ySgaH':_0xcbadf(0x157),'JMWLk':_0xcbadf(0x12b),'DKlCR':_0xcbadf(0x117),'cRFSD':'javascript','MRVUO':function(_0x3ed6ec,_0x1a6bf4){return _0x3ed6ec-_0x1a6bf4;},'YChzO':function(_0x21d5c0,_0x5dcf36,_0x47148f,_0x1df5e9,_0x48c70b){return _0x21d5c0(_0x5dcf36,_0x47148f,_0x1df5e9,_0x48c70b);},'rZCLd':'integrations','jmMaM':'meta','Fjcmd':_0xcbadf(0x16e),'DEPrQ':'failure_backtrace','sLybj':_0xcbadf(0x1d2),'tJjJA':'failure_reason_expanded','cgfxj':_0xcbadf(0x199),'CzXoC':function(_0x39daaf,_0x50b744){return _0x39daaf===_0x50b744;},'UgqHD':_0xcbadf(0x17f),'BCGNo':_0xcbadf(0x10e)};if(!this[_0xcbadf(0x181)])return;try{if(_0x218e69['fn']&&_0x218e69['fn'][_0xcbadf(0x19d)]()['match'](/browserstack internal helper hook/))return;const _0x123a3b=_0x5addc3[_0xcbadf(0x174)](parseEvent,_0x19f737);if(!_0x123a3b)return;if(_0x123a3b[_0xcbadf(0x1d6)]){this[_0xcbadf(0x198)]=_0x218e69,this[_0xcbadf(0x138)]=null;if(_0x123a3b[_0xcbadf(0x1a5)]||_0x123a3b['skipped']){_0x218e69[_0xcbadf(0x153)]=new Date(),_0x218e69[_0xcbadf(0x1cf)]=![];if(!_0x218e69[_0xcbadf(0x1e9)])_0x218e69[_0xcbadf(0x1e9)]=_0x5addc3[_0xcbadf(0x1a8)](uuidv4);else _0x218e69['markedStatus']&&(!_0x218e69[_0xcbadf(0x183)]&&(_0x218e69[_0xcbadf(0x183)]=_0x218e69[_0xcbadf(0x1e9)]),_0x218e69[_0xcbadf(0x1e9)]=_0x5addc3[_0xcbadf(0x13d)](uuidv4));}}else{if(_0x123a3b[_0xcbadf(0x1dc)]){this[_0xcbadf(0x138)]=_0x218e69;if(_0x123a3b[_0xcbadf(0x1a5)]){_0x218e69[_0xcbadf(0x153)]=new Date(),_0x218e69[_0xcbadf(0x1cf)]=![];if(!_0x218e69[_0xcbadf(0x137)])_0x218e69[_0xcbadf(0x137)]=_0x5addc3['PNAlt'](uuidv4);else _0x218e69[_0xcbadf(0x137)]&&_0x218e69[_0xcbadf(0x1cf)]&&(_0x218e69[_0xcbadf(0x137)]=_0x5addc3[_0xcbadf(0x13d)](uuidv4));}}}if(_0x123a3b['finished']&&_0x218e69[_0xcbadf(0x1cf)])return;let _0x17159c;try{_0x17159c=this[_0xcbadf(0x14a)](_0x218e69);}catch(_0x1a7ba8){logger[_0xcbadf(0x133)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1a7ba8),_0x17159c=null;}let _0x5d382b=[];_0x28687e&&(_0x5d382b=[_0x28687e,_0x5addc3['JaYOW']]);const _0x5702d4=_0x5addc3[_0xcbadf(0x15b)](_0x218e69[_0xcbadf(0x156)],undefined)?util[_0xcbadf(0x1a4)](_0x218e69[_0xcbadf(0x156)][0x0]):_0x5addc3['RPbVN'](_0x28687e,undefined)?_0x28687e[_0xcbadf(0x19d)]():undefined,_0x48d9af=_0x17159c?this['findGitConfig'](_0x17159c):null,_0x2c8cac=_0x17159c?this['_paths'][_0xcbadf(0x1aa)](this[_0xcbadf(0x14a)](_0x218e69)):_0x5addc3['tTsxI'];let _0x1ccb2b=_0x5addc3[_0xcbadf(0x141)];const _0x29a235=!_0x123a3b[_0xcbadf(0x1a5)]?new Date()['toISOString']():null;if(_0x123a3b['finished'])_0x1ccb2b=_0x28687e?_0x5addc3[_0xcbadf(0x1b2)]:_0x5addc3[_0xcbadf(0x13c)],_0x218e69[_0xcbadf(0x1cf)]=!![];else _0x123a3b['skipped']&&(_0x1ccb2b=_0x5addc3[_0xcbadf(0x1a2)],_0x218e69[_0xcbadf(0x1cf)]=!![]);const _0x55fe17={'framework':this[_0xcbadf(0x148)],'uuid':_0x218e69[_0xcbadf(0x1e9)]||_0x218e69[_0xcbadf(0x137)],'name':_0x218e69[_0xcbadf(0x1ac)],'body':{'lang':_0x5addc3['cRFSD'],'code':_0x218e69[_0xcbadf(0x192)]['toString']()},'type':_0x218e69[_0xcbadf(0x14e)],'scope':_0x218e69['fullTitle'](),'scopes':this[_0xcbadf(0x118)](_0x218e69),'file_name':_0x2c8cac,'vc_filepath':_0x48d9af?path['relative'](_0x48d9af,_0x17159c):null,'location':_0x2c8cac,'result':_0x1ccb2b,'failure_reason':_0x5702d4,'duration_in_ms':_0x218e69[_0xcbadf(0x136)]||(_0x123a3b[_0xcbadf(0x1c8)]||_0x123a3b['skipped'])?_0x5addc3['MRVUO'](Date[_0xcbadf(0x119)](),new Date(_0x218e69['startedAt'])[_0xcbadf(0x14d)]()):null,'started_at':new Date(_0x218e69['startedAt'])[_0xcbadf(0x1d8)](),'finished_at':_0x29a235,'failure':testOpsHelper[_0xcbadf(0x16c)][_0xcbadf(0x1eb)](null,_0x5d382b),'failure_type':!_0x5702d4?null:testOpsHelper[_0xcbadf(0x1e3)](_0x5702d4),'retry_of':_0x218e69[_0xcbadf(0x183)]||null,'tags':_0x218e69[_0xcbadf(0x1bc)]||[],'customRerunParam':{'rerun_name':_0x218e69[_0xcbadf(0x11d)]()}};_0x5addc3['YChzO'](appendTesthubParams,_0x55fe17,_0x19f737,_0x218e69,FRAMEWORKS[_0xcbadf(0x17e)]);if(_0x123a3b[_0xcbadf(0x1dc)])[_0x55fe17[_0xcbadf(0x116)],_0x55fe17[_0xcbadf(0x165)]]=[this[_0xcbadf(0x16b)](_0x218e69),_0x218e69['ctx'][_0xcbadf(0x1d6)][_0xcbadf(0x1ac)]],_0x123a3b['finished']?_0x5addc3['RPbVN'](_0x55fe17[_0xcbadf(0x189)],_0x5addc3[_0xcbadf(0x1b2)])&&(_0x55fe17[_0xcbadf(0x189)]=_0x5addc3[_0xcbadf(0x13c)]):_0x55fe17[_0xcbadf(0x192)]={};else _0x123a3b['test']&&(this[_0xcbadf(0x1bf)](_0x218e69),_0x123a3b['skipped']&&this['resetSkipTestHooks'](_0x218e69),(_0x123a3b['finished']||_0x123a3b[_0xcbadf(0x117)])&&(_0x55fe17[_0xcbadf(0x145)]=this['getHooksForTest'](_0x218e69)));this[_0xcbadf(0x11a)]&&(_0x123a3b[_0xcbadf(0x1a5)]||_0x123a3b[_0xcbadf(0x117)])&&(_0x55fe17[_0x5addc3[_0xcbadf(0x11c)]]=this[_0xcbadf(0x195)](this[_0xcbadf(0x11a)]));_0x123a3b[_0xcbadf(0x1d6)]&&_0x123a3b['finished']&&_0x218e69[_0xcbadf(0x1ab)]&&(_0x55fe17[_0x5addc3['jmMaM']]={'feature':{'name':_0x218e69['parent'][_0xcbadf(0x17a)][_0xcbadf(0x165)],'path':_0x55fe17['file_name'],'description':_0x218e69[_0xcbadf(0x142)][_0xcbadf(0x1cd)]},'scenario':{'name':_0x218e69[_0xcbadf(0x1ac)]},'steps':_0x218e69[_0xcbadf(0x1ab)]});const _0x15d99d=_0x55fe17[_0x5addc3[_0xcbadf(0x1b7)]][0x0];_0x15d99d&&(_0x55fe17[_0x5addc3[_0xcbadf(0x1e0)]]=_0x15d99d[_0x5addc3[_0xcbadf(0x18b)]],_0x55fe17[_0x5addc3['tJjJA']]=_0x15d99d[_0x5addc3['cgfxj']]);if(_0x218e69[_0xcbadf(0x1ab)])for(const _0x569f5f of _0x218e69[_0xcbadf(0x1ab)]){!_0x569f5f[_0xcbadf(0x1ec)]&&(_0x569f5f[_0xcbadf(0x1ec)]=new Date()['toISOString'](),_0x5addc3[_0xcbadf(0x1b4)](_0x569f5f[_0xcbadf(0x189)],_0x5addc3[_0xcbadf(0x141)])&&(_0x15d99d?(_0x569f5f[_0xcbadf(0x189)]=_0x5addc3[_0xcbadf(0x1b2)],_0x569f5f['failure']=_0x15d99d[_0x5addc3['sLybj']][0x0]):_0x569f5f['result']=_0x5addc3[_0xcbadf(0x13c)]));}const _0x5600a2={};_0x5600a2[_0xcbadf(0x111)]=_0x123a3b['skipped']?TEST_EVENTS[_0xcbadf(0x1c4)]:_0x19f737;const _0x24a6dd=_0x5600a2;return _0x123a3b[_0xcbadf(0x1dc)]?_0x24a6dd[_0x5addc3[_0xcbadf(0x127)]]=_0x55fe17:_0x24a6dd[_0x5addc3['BCGNo']]=_0x55fe17,_0x24a6dd;}catch(_0x579498){logger[_0xcbadf(0x133)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x19f737+_0xcbadf(0x1f1)+_0x579498);}}async[a3_0x356ac7(0x13b)](_0x520700,_0x173f47){const _0x441c88=a3_0x356ac7;if(!this[_0x441c88(0x181)]||!_0x173f47||!_0x520700)return![];try{return await SessionHandler[_0x441c88(0x12a)](_0x173f47);}catch(_0x424475){logger[_0x441c88(0x133)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x520700+_0x441c88(0x1f1)+_0x424475);}}[a3_0x356ac7(0x185)](_0x3fa67b){const _0x49e70d=a3_0x356ac7,_0x13977e={};_0x13977e[_0x49e70d(0x1c9)]=_0x49e70d(0x135);const _0x4973ab=_0x13977e;return{'id':_0x3fa67b['stepAnalyticsId'],'text':_0x3fa67b['text'],'keyword':_0x3fa67b['keyword'],'started_at':_0x3fa67b[_0x49e70d(0x153)][_0x49e70d(0x1d8)](),'result':_0x4973ab[_0x49e70d(0x1c9)]};}[a3_0x356ac7(0x1a7)](_0xfb864){const _0x2c23e7=a3_0x356ac7,_0x3800c9={'RKjdi':function(_0x405fe5){return _0x405fe5();}};!this[_0x2c23e7(0x198)][_0x2c23e7(0x1ab)]&&(this[_0x2c23e7(0x198)][_0x2c23e7(0x1ab)]=[]),!_0xfb864[_0x2c23e7(0x15d)]&&(_0xfb864[_0x2c23e7(0x15d)]=_0x3800c9['RKjdi'](uuidv4),_0xfb864['startedAt']=new Date(),this[_0x2c23e7(0x198)]['bddSteps']['push'](this[_0x2c23e7(0x185)](_0xfb864)));}['bddStepFinish'](_0x5397be){const _0x214341=a3_0x356ac7,_0x33f058={'XUbbY':function(_0x2b19fe,_0x426e35){return _0x2b19fe(_0x426e35);},'aibaa':'success','RmvBH':'pending','fTepT':_0x214341(0x12b),'vdNpm':function(_0x487a01,_0x25350c){return _0x487a01-_0x25350c;}};let _0x100c41=this[_0x214341(0x198)]['bddSteps'][_0x214341(0x1e7)](_0x5d22d9=>_0x5d22d9['id']===_0x5397be['stepAnalyticsId']);_0x33f058[_0x214341(0x168)](isUndefined,_0x100c41)&&(_0x100c41=this['initializeBddStep'](_0x5397be)),_0x100c41['result']=[_0x33f058[_0x214341(0x109)],_0x33f058[_0x214341(0x1b9)]]['includes'](_0x5397be['status'])?_0x33f058[_0x214341(0x163)]:_0x5397be[_0x214341(0x1f2)],_0x100c41[_0x214341(0x1ec)]=new Date()['toISOString'](),_0x100c41[_0x214341(0x136)]=_0x33f058[_0x214341(0x1c1)](Date[_0x214341(0x119)](),_0x5397be['startedAt'][_0x214341(0x14d)]()),_0x100c41[_0x214341(0x16e)]=_0x5397be[_0x214341(0x171)]?_0x5397be['err'][_0x214341(0x113)]:null;}}const a3_0x4afe7d={};a3_0x4afe7d[a3_0x356ac7(0x166)]=O11yHelper,a3_0x4afe7d['STATE_PASSED']=STATE_PASSED,a3_0x4afe7d['STATE_FAILED']=STATE_FAILED,a3_0x4afe7d[a3_0x356ac7(0x1c5)]=TEST_EVENTS,module[a3_0x356ac7(0x1d1)]=a3_0x4afe7d;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a4_0xa78423=a4_0x3e74;function a4_0x41ff(){const _0x2cb947=['getErrorMessageFromResults','JPZOD','jmCTv','launchBuild','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','2890855gdFNJy','Pltkx','mILEl','MiPPE','1379937dhWKsd','SqAMi','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','SDK_SETUP','hTfxN','green','exitCode','VtLsv','false','RDdzn','../v2/cliUtils','accessibility','bgWhite','getPackageVersion','printBuildLink','stepsSkipped','2419767KpiXrV','../utils/clientTroubleshootingService','461448VNDnmk','DRtLB','xxrFW','finally','initialize','stepsAmbiguous','log','binSessionId','PgAoq','scenariosFailed','PLAYWRIGHT','prepareCapabilities','JTUbF','testContextOptions','bold','setFrameworkDetail','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/helper','2662412SsZaUf','BROWSERSTACK_FRAMEWORK','QswMv','errorMessage','isChildConnected','../v2/browserstackCLI','push','end','yellow','UVJwj','isFalse','exports','assign','--disable-test-observability','aahQY','../playwright/accessibility-helper','isRunning','898149axKexE','kvZQa','proxySettings','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','processSuccess','EVENTS','Generating\x20consolidated\x20report...','\x20passed','BROWSERSTACK_AUTOMATION','HGSWM','@playwright/test','HngeB','5425572kxtYMl','forEach','browserStackCwd','setUserConfigPath','XsMCs','cwd','framework','JVEDm','bootstrap','indexOf','testObservability','browserstackAutomation','****\x20RESULTS\x20****','WmJMg','stepsUndefined','BROWSERSTACK_CLI_BIN_SESSION_ID','config','isUndefined','true','length','\x20failed','stop','SDK_CLEANUP','nEWAz','FRAMEWORKS','OesfV','qokdv','wTAxB','\x20pending','env','\x20undefined','getInstance','setBrowserstackConfig','KaXcE','aoKvF','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getHubUrl','4FrrdZv','stepsUnknown','CUCUMBER','cucumber','TQMWP','platforms','../../helpers/test-observability/utils','cyan','Removing\x20tmp\x20directory\x20created\x20for\x20reports','debug','scenarios','turboScaleUrl','skipSessionName','setLogLevel','steps','red','parseFormatters','AaABD','../../helpers/test-observability/constants','parallelsPerPlatform','Wgqal','join','../../helpers/performance/constants','\x20scenarios','isMainConnected','start','path','util','BROWSERSTACK_TEST_OBSERVABILITY','setupBrowserstackLocal','VPxnU','isBrowserstackInfra','getMultiDriverWorkerConfig','UkNzF','accessibilityOptions','VNmgi','getPlatformName','rjDja','DsIUi','format','\x20steps','atLpt','zgJWU','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','iNeNp','getUserWorkerCount','cliConfig','\x20skipped','logLevel'];a4_0x41ff=function(){return _0x2cb947;};return a4_0x41ff();}function a4_0x3e74(_0x4f4a29,_0x3dcb60){const _0x41ff72=a4_0x41ff();return a4_0x3e74=function(_0x3e74db,_0x21d7cb){_0x3e74db=_0x3e74db-0x1a4;let _0xd34d1a=_0x41ff72[_0x3e74db];return _0xd34d1a;},a4_0x3e74(_0x4f4a29,_0x3dcb60);}(function(_0x5b251a,_0x11dfc9){const _0x99c048=a4_0x3e74,_0x3d9126=_0x5b251a();while(!![]){try{const _0x426514=parseInt(_0x99c048(0x1dd))/0x1+-parseInt(_0x99c048(0x20f))/0x2*(-parseInt(_0x99c048(0x1a8))/0x3)+parseInt(_0x99c048(0x1cc))/0x4+-parseInt(_0x99c048(0x1a4))/0x5+-parseInt(_0x99c048(0x1e9))/0x6+-parseInt(_0x99c048(0x1b8))/0x7+-parseInt(_0x99c048(0x1ba))/0x8;if(_0x426514===_0x11dfc9)break;else _0x3d9126['push'](_0x3d9126['shift']());}catch(_0x33b39c){_0x3d9126['push'](_0x3d9126['shift']());}}}(a4_0x41ff,0x91f9b));const path=require(a4_0xa78423(0x229)),util=require(a4_0xa78423(0x22a)),logger=require('../../helpers/logger')[a4_0xa78423(0x20c)],helper=require(a4_0xa78423(0x1cb)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a4_0xa78423(0x215)),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a4_0xa78423(0x225))[a4_0xa78423(0x1e2)],BrowserstackCLI=require(a4_0xa78423(0x1d1)),CLIUtils=require(a4_0xa78423(0x1b2)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),ClientTroubleShootingService=require(a4_0xa78423(0x1b9));function printCucumberStats(_0x28e894){const _0x5eab64=a4_0xa78423,_0x158a14={};_0x158a14[_0x5eab64(0x1af)]=function(_0x3fafb3,_0x324378){return _0x3fafb3>_0x324378;},_0x158a14['jmCTv']=function(_0x328171,_0x50bbc4){return _0x328171-_0x50bbc4;},_0x158a14[_0x5eab64(0x230)]=function(_0x142914,_0x19a809){return _0x142914>_0x19a809;},_0x158a14[_0x5eab64(0x22d)]=function(_0x487012,_0x51dd0b){return _0x487012>_0x51dd0b;},_0x158a14[_0x5eab64(0x213)]=function(_0x2c4529,_0x1a527d){return _0x2c4529>_0x1a527d;},_0x158a14[_0x5eab64(0x1ce)]=function(_0x54e413,_0x1a72bc){return _0x54e413>_0x1a72bc;},_0x158a14[_0x5eab64(0x232)]=function(_0x23501a,_0x47c37f){return _0x23501a>_0x47c37f;},_0x158a14['wTAxB']=function(_0x3ac714,_0x51c5bc){return _0x3ac714>_0x51c5bc;},_0x158a14['WmJMg']=function(_0x48f770,_0x5accbe){return _0x48f770>_0x5accbe;},_0x158a14[_0x5eab64(0x200)]=function(_0xa6ac00,_0xcdfa36){return _0xa6ac00>_0xcdfa36;},_0x158a14[_0x5eab64(0x1c6)]=function(_0x2064b9,_0x19fcf8){return _0x2064b9+_0x19fcf8;},_0x158a14['WsQSn']=function(_0x5126ac,_0x103157){return _0x5126ac+_0x103157;},_0x158a14[_0x5eab64(0x223)]=function(_0x4c8846,_0x3d40f9){return _0x4c8846+_0x3d40f9;},_0x158a14['KaXcE']=function(_0x5a122b,_0x2fcd03){return _0x5a122b===_0x2fcd03;},_0x158a14[_0x5eab64(0x1da)]=_0x5eab64(0x1f5);const _0x16d1fb=_0x158a14;let _0x5762f6=0x0;if(_0x16d1fb[_0x5eab64(0x20a)](_0x28e894['length'],0x0))return _0x5762f6;return console['log'](chalk[_0x5eab64(0x1c8)][_0x5eab64(0x1b4)](_0x16d1fb['aahQY'])),_0x28e894[_0x5eab64(0x1ea)](_0x27ef19=>{const _0x3e4b5b=_0x5eab64,_0x2a46f6=_0x27ef19[0x0],_0x2ec12b=_0x27ef19[0x1];helper[_0x3e4b5b(0x22e)]()&&console['log']('\x0a'+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x1d4)](''+helper[_0x3e4b5b(0x233)](_0x2a46f6)));const _0x18467c=_0x2ec12b[_0x3e4b5b(0x219)],_0x17dc2a=_0x2ec12b[_0x3e4b5b(0x21d)],_0x2a45dd=_0x2ec12b[_0x3e4b5b(0x1c3)],_0x33edba=_0x2ec12b['stepsFailed'],_0x41d8fe=_0x2ec12b['stepsPassed'],_0x3e0312=_0x2ec12b[_0x3e4b5b(0x1b7)],_0x3a8441=_0x2ec12b['stepsPending'],_0x19996f=_0x2ec12b[_0x3e4b5b(0x1f7)],_0x39c24f=_0x2ec12b[_0x3e4b5b(0x210)],_0x2968cf=_0x2ec12b[_0x3e4b5b(0x1bf)],_0x52b952=_0x2ec12b[_0x3e4b5b(0x1e1)];let _0x4df71f=_0x18467c+_0x3e4b5b(0x226);const _0x2d2cd9=_0x16d1fb[_0x3e4b5b(0x1af)](_0x16d1fb['jmCTv'](_0x18467c,_0x2a45dd),0x0)?_0x16d1fb[_0x3e4b5b(0x242)](_0x18467c,_0x2a45dd):0x0;if(_0x16d1fb[_0x3e4b5b(0x230)](_0x2a45dd,0x0)&&_0x16d1fb[_0x3e4b5b(0x22d)](_0x2d2cd9,0x0))_0x4df71f+='\x20('+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x21e)](_0x2a45dd+_0x3e4b5b(0x1fd))+',\x20'+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x1ad)](_0x2d2cd9+_0x3e4b5b(0x1e4))+')';else(_0x16d1fb[_0x3e4b5b(0x230)](_0x2a45dd,0x0)||_0x16d1fb[_0x3e4b5b(0x213)](_0x2d2cd9,0x0))&&(_0x4df71f+=_0x16d1fb[_0x3e4b5b(0x213)](_0x2a45dd,0x0)?'\x20('+chalk['bold']['red'](_0x2a45dd+_0x3e4b5b(0x1fd))+')':'\x20('+chalk['bold'][_0x3e4b5b(0x1ad)](_0x2d2cd9+_0x3e4b5b(0x1e4))+')');const _0x13fdb4=_0x17dc2a+_0x3e4b5b(0x237),_0x3256ae=[];_0x16d1fb[_0x3e4b5b(0x1ce)](_0x2968cf,0x0)&&_0x3256ae[_0x3e4b5b(0x1d2)](''+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x21e)](_0x2968cf+'\x20ambiguous'));_0x16d1fb[_0x3e4b5b(0x232)](_0x33edba,0x0)&&_0x3256ae[_0x3e4b5b(0x1d2)](''+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x21e)](_0x33edba+_0x3e4b5b(0x1fd)));_0x16d1fb[_0x3e4b5b(0x204)](_0x41d8fe,0x0)&&_0x3256ae[_0x3e4b5b(0x1d2)](''+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x1ad)](_0x41d8fe+_0x3e4b5b(0x1e4)));_0x16d1fb['TQMWP'](_0x3a8441,0x0)&&_0x3256ae[_0x3e4b5b(0x1d2)](''+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x1d4)](_0x3a8441+_0x3e4b5b(0x205)));_0x16d1fb[_0x3e4b5b(0x232)](_0x3e0312,0x0)&&_0x3256ae[_0x3e4b5b(0x1d2)](''+chalk['bold'][_0x3e4b5b(0x216)](_0x3e0312+_0x3e4b5b(0x23e)));_0x16d1fb[_0x3e4b5b(0x1f6)](_0x19996f,0x0)&&_0x3256ae['push'](''+chalk[_0x3e4b5b(0x1c8)]['yellow'](_0x19996f+_0x3e4b5b(0x207)));_0x16d1fb[_0x3e4b5b(0x200)](_0x39c24f,0x0)&&_0x3256ae[_0x3e4b5b(0x1d2)](''+chalk[_0x3e4b5b(0x1c8)][_0x3e4b5b(0x1d4)](_0x39c24f+_0x3e4b5b(0x23e)));const _0x320a51=_0x16d1fb['JTUbF'](_0x16d1fb[_0x3e4b5b(0x1c6)](_0x16d1fb[_0x3e4b5b(0x1c6)](_0x13fdb4,'('),_0x3256ae[_0x3e4b5b(0x224)](',\x20')),')');console[_0x3e4b5b(0x1c0)](_0x16d1fb[_0x3e4b5b(0x1c6)](_0x16d1fb[_0x3e4b5b(0x1c6)](_0x16d1fb['WsQSn'](_0x16d1fb['Wgqal']('\x0a',_0x4df71f),'\x0a'),_0x320a51),'\x0a')),_0x16d1fb['KaXcE'](_0x52b952,![])&&(_0x5762f6=0x1);}),_0x5762f6;}async function run(_0x36cfbe,_0x4ed448,_0x46248e){const _0x3d7fb9=a4_0xa78423,_0xd9f528={'HGSWM':function(_0x283dbd,_0x246901){return _0x283dbd(_0x246901);},'SqAMi':function(_0x312a39,_0x46e9e1){return _0x312a39>_0x46e9e1;},'EVkmR':_0x3d7fb9(0x1e3),'UVJwj':_0x3d7fb9(0x217),'Pltkx':_0x3d7fb9(0x212),'qokdv':_0x3d7fb9(0x1e7),'tNFcP':'cucumber-js','Xighc':function(_0x419ea9,_0x438002,_0x472f36,_0x15d75b){return _0x419ea9(_0x438002,_0x472f36,_0x15d75b);},'AaABD':'tmp','pjwgW':function(_0x3cb869,_0x3caf72){return _0x3cb869>_0x3caf72;},'nTMvv':function(_0x4dc32a,_0x383ad2){return _0x4dc32a-_0x383ad2;},'LvOfN':function(_0x4d3276,_0xd49182){return _0x4d3276>=_0xd49182;},'xxrFW':function(_0x4cf40b,_0x4030d8){return _0x4cf40b!=_0x4030d8;},'XsMCs':_0x3d7fb9(0x1fb),'MiPPE':function(_0x385070,_0x565153){return _0x385070(_0x565153);},'rjDja':'../../helpers/accessibility-automation/helper','atLpt':function(_0x314523,_0x3b8b98){return _0x314523(_0x3b8b98);},'dKrfi':_0x3d7fb9(0x1db),'JPZOD':function(_0x4d5cb6,_0x32a24d){return _0x4d5cb6(_0x32a24d);},'HngeB':_0x3d7fb9(0x1b0),'PgAoq':function(_0x440b8f,_0xfc88ce){return _0x440b8f===_0xfc88ce;},'hTfxN':function(_0x4bbef3,_0x251d38){return _0x4bbef3(_0x251d38);},'iNeNp':_0x3d7fb9(0x1d1),'Snojm':_0x3d7fb9(0x1b2),'RDdzn':_0x3d7fb9(0x221),'JVEDm':function(_0x4a22ec,_0x212f4d){return _0x4a22ec(_0x212f4d);},'OSGoq':function(_0x2de2a6,_0x589645){return _0x2de2a6(_0x589645);},'aoKvF':_0x3d7fb9(0x1d9),'DRtLB':function(_0xd89058,_0x16e56d){return _0xd89058>=_0x16e56d;},'OesfV':function(_0x4cf0ca,_0x25bd5d){return _0x4cf0ca===_0x25bd5d;},'kvZQa':function(_0xe51164,_0x4d1252){return _0xe51164===_0x4d1252;},'zgJWU':function(_0x3ae150,_0x27e302){return _0x3ae150(_0x27e302);},'DsIUi':_0x3d7fb9(0x1eb),'mILEl':function(_0x467c86,_0x16dc21,_0x13af60,_0x2cd172,_0x3ab52e,_0x44716c){return _0x467c86(_0x16dc21,_0x13af60,_0x2cd172,_0x3ab52e,_0x44716c);}},_0x842306=helper[_0x3d7fb9(0x1b5)](_0xd9f528['qokdv']);global['__isPlaywrightInstalled']=!!_0x842306,process[_0x3d7fb9(0x206)][_0x3d7fb9(0x1cd)]=process[_0x3d7fb9(0x206)][_0x3d7fb9(0x1cd)]||_0x46248e[_0x3d7fb9(0x1ef)]||_0xd9f528['tNFcP'],await _0x46248e[_0x3d7fb9(0x1be)](_0x36cfbe);if(_0x46248e['config']&&!helper['isUndefined'](_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x23f)])){process['env']['BROWSERSTACK_LOG_LEVEL']=_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x23f)];const _0x2f97c1={};_0x2f97c1[_0x3d7fb9(0x23f)]=_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x23f)],helper[_0x3d7fb9(0x21c)](_0x2f97c1,new Map(),new Map());}await _0xd9f528['Xighc'](checkPwandBootstrapCli,_0x842306,constants[_0x3d7fb9(0x201)][_0x3d7fb9(0x211)],_0x46248e);BrowserstackCLI[_0x3d7fb9(0x208)]()[_0x3d7fb9(0x1c1)]&&(process['env'][_0x3d7fb9(0x1f8)]=BrowserstackCLI[_0x3d7fb9(0x208)]()[_0x3d7fb9(0x1c1)]);helper[_0x3d7fb9(0x1ec)](_0x46248e['framework'],_0x36cfbe),await helper['handleApp'](_0x46248e['config']);const _0x3cf629=helper['useW3C'](_0x46248e['config']);!helper['isUndefined'](_0x46248e['config'][_0x3d7fb9(0x231)])&&(process['env'][_0x3d7fb9(0x1e0)]=JSON['stringify'](_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x231)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x1104b9=await TestHubHandler[_0x3d7fb9(0x243)](constants[_0x3d7fb9(0x201)][_0x3d7fb9(0x211)],_0x46248e);}let _0x28ae9c=[];if(!helper[_0x3d7fb9(0x22e)]()){const _0x5cf61b={};_0x5cf61b[_0x3d7fb9(0x214)]=[],_0x28ae9c=helper[_0x3d7fb9(0x1c5)](Object[_0x3d7fb9(0x1d8)]({},_0x46248e['config'],_0x5cf61b),_0x3cf629,constants[_0x3d7fb9(0x201)][_0x3d7fb9(0x211)]);}else _0x28ae9c=helper[_0x3d7fb9(0x1c5)](_0x46248e[_0x3d7fb9(0x1f9)],_0x3cf629,constants[_0x3d7fb9(0x201)]['CUCUMBER']);if(!_0x46248e[_0x3d7fb9(0x1f9)])return;const _0x4106d8=_0x46248e['config'][_0x3d7fb9(0x222)]||helper[_0x3d7fb9(0x23c)](_0x36cfbe,_0x4ed448,_0x46248e['config'],constants['FRAMEWORKS'][_0x3d7fb9(0x211)])||0x1,_0x715d1c=Object[_0x3d7fb9(0x1d8)]({'server':helper[_0x3d7fb9(0x20e)](_0x46248e[_0x3d7fb9(0x1f9)]),'proxySettings':_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x1df)],'maxWorkers':_0x4106d8,'browserStackLogLevel':_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x23f)],'skipSessionName':_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x1c7)][_0x3d7fb9(0x21b)],'skipSessionStatus':_0x46248e[_0x3d7fb9(0x1f9)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x21a)]},helper[_0x3d7fb9(0x22f)](_0x46248e['config'],_0x3cf629,constants[_0x3d7fb9(0x201)]['CUCUMBER'])),_0x800b25=process['argv'],[_0x5191c6,_0xa09386]=helper[_0x3d7fb9(0x21f)](_0x800b25),_0x51e52e=path['join'](process[_0x3d7fb9(0x1ee)](),_0xd9f528[_0x3d7fb9(0x220)]);if(_0xd9f528['pjwgW'](_0xa09386[_0x3d7fb9(0x1fc)],0x0)){helper['createDir'](_0x51e52e);for(let _0x4dde42=_0xd9f528['nTMvv'](_0x5191c6[_0x3d7fb9(0x1fc)],0x1);_0xd9f528['LvOfN'](_0x4dde42,0x0);_0x4dde42--){_0x800b25['splice'](_0x5191c6[_0x4dde42],0x2);}}_0xd9f528[_0x3d7fb9(0x1bc)](_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x1f3)],null)?process[_0x3d7fb9(0x206)][_0x3d7fb9(0x1ca)]=_0x46248e[_0x3d7fb9(0x1f9)]['testObservability']:process[_0x3d7fb9(0x206)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xd9f528[_0x3d7fb9(0x1ed)];if(_0x842306)try{const {checkAccessibilityPlatformConfig:_0x1554b1}=_0xd9f528[_0x3d7fb9(0x1a7)](require,_0xd9f528[_0x3d7fb9(0x234)]),{setAccessibilityCapabilities:_0x2322ba}=_0xd9f528[_0x3d7fb9(0x238)](require,_0xd9f528['dKrfi']),_0x1ad613=_0xd9f528['HGSWM'](_0x1554b1,_0x46248e[_0x3d7fb9(0x1f9)]);if(!helper[_0x3d7fb9(0x1fa)](_0x46248e[_0x3d7fb9(0x1f9)][_0x3d7fb9(0x1b3)]))process[_0x3d7fb9(0x206)][_0x3d7fb9(0x20d)]=_0xd9f528[_0x3d7fb9(0x241)](String,!!_0x46248e[_0x3d7fb9(0x1f9)]['accessibility']);else helper[_0x3d7fb9(0x1fa)](process[_0x3d7fb9(0x206)][_0x3d7fb9(0x20d)])&&(process[_0x3d7fb9(0x206)][_0x3d7fb9(0x20d)]=_0x1ad613?_0xd9f528[_0x3d7fb9(0x1ed)]:_0xd9f528[_0x3d7fb9(0x1e8)]);process[_0x3d7fb9(0x206)][_0x3d7fb9(0x1aa)]=_0x1ad613?_0xd9f528['XsMCs']:_0xd9f528[_0x3d7fb9(0x1e8)],!BrowserstackCLI[_0x3d7fb9(0x208)]()[_0x3d7fb9(0x1dc)]()&&_0xd9f528[_0x3d7fb9(0x1c2)](process['env'][_0x3d7fb9(0x20d)],_0xd9f528[_0x3d7fb9(0x1ed)])&&_0xd9f528[_0x3d7fb9(0x1ac)](_0x2322ba,_0x46248e[_0x3d7fb9(0x1f9)]);}catch(_0x2e00ee){logger[_0x3d7fb9(0x218)]('Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20'+util[_0x3d7fb9(0x236)](_0x2e00ee));}try{const _0x5624d8=_0xd9f528[_0x3d7fb9(0x241)](require,_0xd9f528[_0x3d7fb9(0x23b)]),_0x33ba6e=_0xd9f528[_0x3d7fb9(0x1a7)](require,_0xd9f528['Snojm']),{FRAMEWORKS:_0x5712dd}=_0xd9f528['HGSWM'](require,_0xd9f528[_0x3d7fb9(0x1b1)]),{checkAccessibilityPlatformConfig:_0x4469e0}=_0xd9f528[_0x3d7fb9(0x1f0)](require,_0xd9f528[_0x3d7fb9(0x234)]),{setAccessibilityCapabilities:_0x1e1662}=_0xd9f528['OSGoq'](require,_0xd9f528['dKrfi']),_0x471855=helper[_0x3d7fb9(0x1b5)](_0xd9f528[_0x3d7fb9(0x203)]);if(_0x471855){_0x33ba6e[_0x3d7fb9(0x1c9)](constants[_0x3d7fb9(0x201)]['CUCUMBER'],constants['FRAMEWORKS'][_0x3d7fb9(0x1c4)]);const _0x259656=_0x5624d8[_0x3d7fb9(0x208)]();_0x259656[_0x3d7fb9(0x209)](_0x46248e['config'],_0x46248e['configPath'],_0x46248e[_0x3d7fb9(0x23d)]);!_0x259656[_0x3d7fb9(0x227)]&&!_0x259656[_0x3d7fb9(0x1d0)]&&await _0x259656[_0x3d7fb9(0x1f1)]();const _0x5e0dce=_0x5624d8[_0x3d7fb9(0x208)]()['getConfig']();!helper[_0x3d7fb9(0x1d6)](_0x5e0dce[_0x3d7fb9(0x1f4)])&&(process[_0x3d7fb9(0x206)][_0x3d7fb9(0x1e5)]=_0xd9f528[_0x3d7fb9(0x1ed)]);_0xd9f528[_0x3d7fb9(0x1c2)](_0x5e0dce[_0x3d7fb9(0x1f4)],![])&&(process['env'][_0x3d7fb9(0x1e5)]=_0xd9f528[_0x3d7fb9(0x1e8)]);const _0xddcbdc=_0x4ed448[_0x3d7fb9(0x1f2)](_0xd9f528[_0x3d7fb9(0x20b)]);(_0xd9f528[_0x3d7fb9(0x1bb)](_0xddcbdc,0x0)||_0xd9f528[_0x3d7fb9(0x202)](_0x5e0dce[_0x3d7fb9(0x1f3)],![]))&&(process[_0x3d7fb9(0x206)][_0x3d7fb9(0x22b)]=_0xd9f528[_0x3d7fb9(0x1e8)]);if(!_0x5624d8['getInstance']()[_0x3d7fb9(0x1dc)]()){let _0x299b8f=_0xd9f528[_0x3d7fb9(0x1de)](process[_0x3d7fb9(0x206)][_0x3d7fb9(0x20d)],_0xd9f528['XsMCs']);_0x299b8f=_0x299b8f||_0xd9f528[_0x3d7fb9(0x239)](_0x4469e0,_0x46248e[_0x3d7fb9(0x1f9)]),process[_0x3d7fb9(0x206)][_0x3d7fb9(0x20d)]=_0x299b8f,_0x299b8f&&_0xd9f528[_0x3d7fb9(0x238)](_0x1e1662,_0x46248e[_0x3d7fb9(0x1f9)]);}}}catch(_0x96e1a9){logger['debug'](_0x3d7fb9(0x23a)+util[_0x3d7fb9(0x236)](_0x96e1a9));}!BrowserstackCLI[_0x3d7fb9(0x208)]()['isRunning']()&&await _0x46248e[_0x3d7fb9(0x22c)]();PerformanceTester[_0x3d7fb9(0x1d3)](PerformanceEvents[_0x3d7fb9(0x1ab)]),process[_0x3d7fb9(0x206)][_0xd9f528[_0x3d7fb9(0x235)]]=process[_0x3d7fb9(0x1ee)]();let _0x32e25b;_0xd9f528[_0x3d7fb9(0x1a6)](parallelCucumberRun,_0x28ae9c,_0x715d1c,_0x46248e[_0x3d7fb9(0x1f9)],_0x800b25,_0xa09386)['then'](async _0x2aa3fe=>{const _0x39b807=_0x3d7fb9;PerformanceTester[_0x39b807(0x228)](PerformanceEvents[_0x39b807(0x1ff)]),_0x32e25b=_0x2aa3fe;const _0x253fc7=_0xd9f528[_0x39b807(0x1e6)](printCucumberStats,_0x2aa3fe);process[_0x39b807(0x1ae)]=_0x253fc7,_0xd9f528[_0x39b807(0x1a9)](_0xa09386[_0x39b807(0x1fc)],0x0)&&(logger[_0x39b807(0x218)](_0xd9f528['EVkmR']),helper['mergeOutputFiles'](_0x51e52e,_0xa09386),logger[_0x39b807(0x218)](_0xd9f528[_0x39b807(0x1d5)]),helper['removeDir'](_0x51e52e));})[_0x3d7fb9(0x1bd)](async()=>{const _0x3156d9=_0x3d7fb9;PerformanceTester['start'](PerformanceEvents[_0x3156d9(0x1ff)]),_0x46248e[_0x3156d9(0x1cf)]=helper[_0x3156d9(0x240)](_0x32e25b,_0xd9f528[_0x3156d9(0x1a5)]),testOpsHelper[_0x3156d9(0x1b6)]();const _0x1f146d=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x3156d9(0x208)]()[_0x3156d9(0x1fe)]();}catch(_0x143d8f){logger[_0x3156d9(0x218)](_0x3156d9(0x244)+util[_0x3156d9(0x236)](_0x143d8f));}await utilities['finalExecution'](_0x46248e,_0x1f146d);});}module[a4_0xa78423(0x1d7)]=run;
2
+ 'use strict';const a4_0x333db5=a4_0xf222;(function(_0x35fdd7,_0x574a27){const _0x57abe6=a4_0xf222,_0x19dc55=_0x35fdd7();while(!![]){try{const _0x3cf841=-parseInt(_0x57abe6(0x105))/0x1+-parseInt(_0x57abe6(0x112))/0x2+-parseInt(_0x57abe6(0xec))/0x3+parseInt(_0x57abe6(0x12b))/0x4*(-parseInt(_0x57abe6(0x14d))/0x5)+-parseInt(_0x57abe6(0xe0))/0x6+parseInt(_0x57abe6(0x176))/0x7+parseInt(_0x57abe6(0x148))/0x8;if(_0x3cf841===_0x574a27)break;else _0x19dc55['push'](_0x19dc55['shift']());}catch(_0x1b388f){_0x19dc55['push'](_0x19dc55['shift']());}}}(a4_0x56e8,0x35c02));function a4_0x56e8(){const _0xb290f9=['indexOf','cucumber','finally','PLAYWRIGHT','../../helpers/logger','\x20skipped','logLevel','BJHcV','exports','../test-runner','stepsUndefined','SMqAs','log','FRAMEWORKS','end','proxySettings','assign','1245172TLyAFu','HwchM','argv','WQcrr','removeDir','BROWSERSTACK_TEST_OBSERVABILITY_YML','scenarios','path','join','Ouezu','accessibility','getHubUrl','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','lPTZU','length','MnEht','testObservability','browserstackAutomation','\x20pending','tmp','setLogLevel','\x20passed','../../helpers/testhub/testhubHandler','initialize','../../helpers/test-observability/utils','twBIi','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20scenarios','getErrorMessageFromResults','9158032RgkKJf','getMultiDriverWorkerConfig','exitCode','../../helpers/playwright-helper','isRunning','5sYYlwg','yellow','processSuccess','mEttd','RRXqJ','cliConfig','binSessionId','cyan','splice','yLHYf','cucumber-js','green','../utils/clientTroubleshootingService','BROWSERSTACK_CLI_BIN_SESSION_ID','setupBrowserstackLocal','configPath','MRmOc','setFrameworkDetail','HsOhK','getInstance','BROWSERSTACK_TEST_OBSERVABILITY','BROWSERSTACK_FRAMEWORK','acblk','stop','../../helpers/test-observability/constants','push','neSXN','../../helpers/utilities','accessibilityOptions','handleApp','chalk','xNSij','xvJyn','../playwright/accessibility-helper','red','dhHut','../v2/cliUtils','bold','start','turboScaleUrl','isChildConnected','2819677TCNIPv','forEach','QHQkI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsSkipped','env','mRdns','stringify','IKfDd','ZrGsh','fPfHA','../../helpers/performance/constants','****\x20RESULTS\x20****','isMainConnected','prepareCapabilities','--disable-test-observability','BROWSERSTACK_AUTOMATION','2311884loTVvm','stepsAmbiguous','true','qducY','../../helpers/performance/performance-tester','util','skipSessionName','config','PkTrZ','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','__isPlaywrightInstalled','780918dCXheK','SDK_CLEANUP','hGbzt','pMzsx','cwd','useW3C','isFalse','ghenn','Soewy','browserStackCwd','getPackageVersion','CQlOZ','then','cXZyS','../../helpers/accessibility-automation/helper','finalExecution','CUCUMBER','isUndefined','Generating\x20consolidated\x20report...','framework','GymOQ','WrOLQ','\x20failed','setBrowserstackConfig','Removing\x20tmp\x20directory\x20created\x20for\x20reports','49382iWUsxv','printBuildLink','winstonLogger','sFAnL','nacCC','isBrowserstackInfra','mergeOutputFiles','stepsPassed','zcNYT','debug','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','createDir','launchBuild','642216LoNyqB','format','parseFormatters','wByTF','\x20undefined','bootstrap','../v2/browserstackCLI','txGbe'];a4_0x56e8=function(){return _0xb290f9;};return a4_0x56e8();}const path=require(a4_0x333db5(0x132)),util=require(a4_0x333db5(0xe5)),logger=require(a4_0x333db5(0x11e))[a4_0x333db5(0x107)],helper=require(a4_0x333db5(0xe9)),utilities=require(a4_0x333db5(0x168)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a4_0x333db5(0x123)),TestHubHandler=require(a4_0x333db5(0x141)),testOpsHelper=require(a4_0x333db5(0x143)),chalk=require(a4_0x333db5(0x16b)),PerformanceTester=require(a4_0x333db5(0xe4)),PerformanceEvents=require(a4_0x333db5(0xda))['EVENTS'],BrowserstackCLI=require(a4_0x333db5(0x118)),CLIUtils=require(a4_0x333db5(0x171)),{checkPwandBootstrapCli}=require(a4_0x333db5(0x14b)),ClientTroubleShootingService=require(a4_0x333db5(0x159));function a4_0xf222(_0x79a4e8,_0x81a61e){const _0x56e8b5=a4_0x56e8();return a4_0xf222=function(_0xf22226,_0xe2f40b){_0xf22226=_0xf22226-0xd3;let _0x431380=_0x56e8b5[_0xf22226];return _0x431380;},a4_0xf222(_0x79a4e8,_0x81a61e);}function printCucumberStats(_0x7ab954){const _0xb1ee23=a4_0x333db5,_0x118782={};_0x118782[_0xb1ee23(0x15d)]=function(_0x22bac5,_0x57af32){return _0x22bac5>_0x57af32;},_0x118782[_0xb1ee23(0x12e)]=function(_0x534b2e,_0x6bbc2a){return _0x534b2e-_0x6bbc2a;},_0x118782[_0xb1ee23(0xe8)]=function(_0x492f71,_0x232078){return _0x492f71-_0x232078;},_0x118782['mRdns']=function(_0xd0b1be,_0x469e0c){return _0xd0b1be>_0x469e0c;},_0x118782['YJsQY']=function(_0x28726b,_0x551fd4){return _0x28726b>_0x551fd4;},_0x118782['qducY']=function(_0x26cfbc,_0x195b8f){return _0x26cfbc>_0x195b8f;},_0x118782[_0xb1ee23(0x121)]=function(_0x3b7b71,_0x332ea1){return _0x3b7b71>_0x332ea1;},_0x118782[_0xb1ee23(0x125)]=function(_0x30d10e,_0x1f8bf5){return _0x30d10e>_0x1f8bf5;},_0x118782[_0xb1ee23(0xf3)]=function(_0x49f07b,_0x6d3987){return _0x49f07b>_0x6d3987;},_0x118782[_0xb1ee23(0xd9)]=function(_0xe2005c,_0x517a29){return _0xe2005c>_0x517a29;},_0x118782[_0xb1ee23(0x16c)]=function(_0x4dae1c,_0x12454c){return _0x4dae1c>_0x12454c;},_0x118782['GymOQ']=function(_0x1a6a1d,_0x46ebe1){return _0x1a6a1d+_0x46ebe1;},_0x118782['zYSbg']=function(_0x3a2784,_0x546445){return _0x3a2784+_0x546445;},_0x118782['twBIi']=function(_0x1afdfd,_0x47a0cb){return _0x1afdfd+_0x47a0cb;},_0x118782[_0xb1ee23(0x163)]=function(_0x3bf638,_0x5af683){return _0x3bf638+_0x5af683;},_0x118782[_0xb1ee23(0xd7)]=function(_0x9f00b9,_0x502908){return _0x9f00b9+_0x502908;},_0x118782[_0xb1ee23(0x15f)]=function(_0xed3760,_0x20327c){return _0xed3760===_0x20327c;},_0x118782[_0xb1ee23(0x108)]=_0xb1ee23(0xdb);const _0x440e4c=_0x118782;let _0x34ed43=0x0;if(_0x440e4c[_0xb1ee23(0x15f)](_0x7ab954[_0xb1ee23(0x139)],0x0))return _0x34ed43;return console[_0xb1ee23(0x126)](chalk['bold']['bgWhite'](_0x440e4c[_0xb1ee23(0x108)])),_0x7ab954[_0xb1ee23(0x177)](_0x5de5df=>{const _0x1e85f4=_0xb1ee23,_0x1b59e1=_0x5de5df[0x0],_0x26a61d=_0x5de5df[0x1];helper[_0x1e85f4(0x10a)]()&&console[_0x1e85f4(0x126)]('\x0a'+chalk['bold'][_0x1e85f4(0x14e)](''+helper['getPlatformName'](_0x1b59e1)));const _0x3c7aea=_0x26a61d[_0x1e85f4(0x131)],_0x1c24dd=_0x26a61d['steps'],_0x1c867c=_0x26a61d['scenariosFailed'],_0x555e6c=_0x26a61d['stepsFailed'],_0x38c50a=_0x26a61d[_0x1e85f4(0x10c)],_0x1106f2=_0x26a61d[_0x1e85f4(0xd3)],_0x422731=_0x26a61d['stepsPending'],_0x369d14=_0x26a61d[_0x1e85f4(0x124)],_0x5b2380=_0x26a61d['stepsUnknown'],_0x4c0dc0=_0x26a61d[_0x1e85f4(0xe1)],_0x67e7c=_0x26a61d[_0x1e85f4(0x14f)];let _0x526dcd=_0x3c7aea+_0x1e85f4(0x146);const _0x33a833=_0x440e4c[_0x1e85f4(0x15d)](_0x440e4c[_0x1e85f4(0x12e)](_0x3c7aea,_0x1c867c),0x0)?_0x440e4c[_0x1e85f4(0xe8)](_0x3c7aea,_0x1c867c):0x0;if(_0x440e4c['MRmOc'](_0x1c867c,0x0)&&_0x440e4c[_0x1e85f4(0xd5)](_0x33a833,0x0))_0x526dcd+='\x20('+chalk[_0x1e85f4(0x172)]['red'](_0x1c867c+'\x20failed')+',\x20'+chalk[_0x1e85f4(0x172)]['green'](_0x33a833+'\x20passed')+')';else(_0x440e4c['YJsQY'](_0x1c867c,0x0)||_0x440e4c[_0x1e85f4(0xe3)](_0x33a833,0x0))&&(_0x526dcd+=_0x440e4c['BJHcV'](_0x1c867c,0x0)?'\x20('+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x16f)](_0x1c867c+_0x1e85f4(0x102))+')':'\x20('+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x158)](_0x33a833+_0x1e85f4(0x140))+')');const _0x5a0f76=_0x1c24dd+'\x20steps',_0x5bdea4=[];_0x440e4c[_0x1e85f4(0x125)](_0x4c0dc0,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x16f)](_0x4c0dc0+'\x20ambiguous'));_0x440e4c[_0x1e85f4(0x121)](_0x555e6c,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x16f)](_0x555e6c+_0x1e85f4(0x102)));_0x440e4c['ghenn'](_0x38c50a,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x158)](_0x38c50a+_0x1e85f4(0x140)));_0x440e4c[_0x1e85f4(0xf3)](_0x422731,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)]['yellow'](_0x422731+_0x1e85f4(0x13d)));_0x440e4c[_0x1e85f4(0xd9)](_0x1106f2,0x0)&&_0x5bdea4['push'](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x154)](_0x1106f2+'\x20skipped'));_0x440e4c[_0x1e85f4(0x16c)](_0x369d14,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk[_0x1e85f4(0x172)][_0x1e85f4(0x14e)](_0x369d14+_0x1e85f4(0x116)));_0x440e4c[_0x1e85f4(0xf3)](_0x5b2380,0x0)&&_0x5bdea4[_0x1e85f4(0x166)](''+chalk['bold'][_0x1e85f4(0x14e)](_0x5b2380+_0x1e85f4(0x11f)));const _0x536eb5=_0x440e4c[_0x1e85f4(0x100)](_0x440e4c['zYSbg'](_0x440e4c[_0x1e85f4(0x144)](_0x5a0f76,'('),_0x5bdea4[_0x1e85f4(0x133)](',\x20')),')');console[_0x1e85f4(0x126)](_0x440e4c['twBIi'](_0x440e4c['zYSbg'](_0x440e4c['acblk'](_0x440e4c[_0x1e85f4(0xd7)]('\x0a',_0x526dcd),'\x0a'),_0x536eb5),'\x0a')),_0x440e4c[_0x1e85f4(0x15f)](_0x67e7c,![])&&(_0x34ed43=0x1);}),_0x34ed43;}async function run(_0x33f055,_0x2d7f3d,_0x50803f){const _0x4f3046=a4_0x333db5,_0x3fa1ba={'yLHYf':function(_0x5d1683,_0x1cf735){return _0x5d1683(_0x1cf735);},'lPTZU':function(_0x411ed9,_0x450b55){return _0x411ed9>_0x450b55;},'Ouezu':_0x4f3046(0xfe),'cXZyS':_0x4f3046(0x104),'Soewy':_0x4f3046(0x11b),'MnEht':'@playwright/test','CQlOZ':_0x4f3046(0x157),'glklb':function(_0x52ab2b,_0xea8549,_0x4906db,_0x456eb1){return _0x52ab2b(_0xea8549,_0x4906db,_0x456eb1);},'dhHut':_0x4f3046(0x13e),'hGbzt':function(_0x3c1b9c,_0x5add30){return _0x3c1b9c-_0x5add30;},'FCtcx':function(_0xacb53c,_0x50679f){return _0xacb53c>=_0x50679f;},'pMzsx':function(_0x1f4785,_0x40dd4b){return _0x1f4785!=_0x40dd4b;},'xvJyn':_0x4f3046(0xe2),'RRXqJ':_0x4f3046(0xfa),'txGbe':_0x4f3046(0x16e),'nacCC':'false','RsMHr':function(_0x5c4cf3,_0x51497c){return _0x5c4cf3===_0x51497c;},'QHQkI':function(_0x393c09,_0x523ffc){return _0x393c09(_0x523ffc);},'ZrGsh':function(_0x1081ba,_0x31a35f){return _0x1081ba(_0x31a35f);},'wByTF':_0x4f3046(0x118),'subbX':_0x4f3046(0x171),'SiGFn':_0x4f3046(0x165),'neSXN':function(_0x2ec824,_0x4bd8dd){return _0x2ec824(_0x4bd8dd);},'gOuWu':function(_0x1f9256,_0x3dae15){return _0x1f9256(_0x3dae15);},'WrOLQ':function(_0x1ead80,_0x2d1b16){return _0x1ead80===_0x2d1b16;},'CikYP':_0x4f3046(0xde),'tNQdr':function(_0x293893,_0x15bb2e){return _0x293893>=_0x15bb2e;},'mEttd':function(_0xea6790,_0x4d85e0){return _0xea6790===_0x4d85e0;},'rzuod':function(_0x3504da,_0x35bb6e){return _0x3504da===_0x35bb6e;},'abESY':function(_0x232adf,_0x494ee6){return _0x232adf(_0x494ee6);},'zcNYT':_0x4f3046(0xf5),'HwchM':function(_0x378037,_0x35e8b2,_0x355de6,_0x2be9a6,_0x73e616,_0x53a8d1){return _0x378037(_0x35e8b2,_0x355de6,_0x2be9a6,_0x73e616,_0x53a8d1);}},_0x53761d=helper[_0x4f3046(0xf6)](_0x3fa1ba[_0x4f3046(0x13a)]);global[_0x4f3046(0xeb)]=!!_0x53761d,process['env']['BROWSERSTACK_FRAMEWORK']=process[_0x4f3046(0xd4)][_0x4f3046(0x162)]||_0x50803f[_0x4f3046(0xff)]||_0x3fa1ba[_0x4f3046(0xf7)],await _0x50803f[_0x4f3046(0x142)](_0x33f055);if(_0x50803f['config']&&!helper[_0x4f3046(0xfd)](_0x50803f['config']['logLevel'])){process[_0x4f3046(0xd4)]['BROWSERSTACK_LOG_LEVEL']=_0x50803f[_0x4f3046(0xe7)]['logLevel'];const _0x5c3f36={};_0x5c3f36[_0x4f3046(0x120)]=_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x120)],helper[_0x4f3046(0x13f)](_0x5c3f36,new Map(),new Map());}await _0x3fa1ba['glklb'](checkPwandBootstrapCli,_0x53761d,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)],_0x50803f);BrowserstackCLI[_0x4f3046(0x160)]()[_0x4f3046(0x153)]&&(process[_0x4f3046(0xd4)][_0x4f3046(0x15a)]=BrowserstackCLI[_0x4f3046(0x160)]()[_0x4f3046(0x153)]);helper['setUserConfigPath'](_0x50803f['framework'],_0x33f055),await helper[_0x4f3046(0x16a)](_0x50803f[_0x4f3046(0xe7)]);const _0xc02db3=helper[_0x4f3046(0xf1)](_0x50803f[_0x4f3046(0xe7)]);!helper[_0x4f3046(0xfd)](_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x169)])&&(process[_0x4f3046(0xd4)][_0x4f3046(0x179)]=JSON[_0x4f3046(0xd6)](_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x169)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x1880e1=await TestHubHandler[_0x4f3046(0x111)](constants['FRAMEWORKS'][_0x4f3046(0xfc)],_0x50803f);}let _0x32fbcc=[];if(!helper[_0x4f3046(0x10a)]()){const _0x404099={};_0x404099['platforms']=[],_0x32fbcc=helper[_0x4f3046(0xdd)](Object[_0x4f3046(0x12a)]({},_0x50803f[_0x4f3046(0xe7)],_0x404099),_0xc02db3,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)]);}else _0x32fbcc=helper[_0x4f3046(0xdd)](_0x50803f[_0x4f3046(0xe7)],_0xc02db3,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)]);if(!_0x50803f[_0x4f3046(0xe7)])return;const _0x5f0200=_0x50803f[_0x4f3046(0xe7)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x33f055,_0x2d7f3d,_0x50803f[_0x4f3046(0xe7)],constants[_0x4f3046(0x127)][_0x4f3046(0xfc)])||0x1,_0xfd1776=Object['assign']({'server':helper[_0x4f3046(0x136)](_0x50803f['config']),'proxySettings':_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x129)],'maxWorkers':_0x5f0200,'browserStackLogLevel':_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x120)],'skipSessionName':_0x50803f[_0x4f3046(0xe7)]['testContextOptions'][_0x4f3046(0xe6)],'skipSessionStatus':_0x50803f[_0x4f3046(0xe7)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x174)]},helper[_0x4f3046(0x149)](_0x50803f['config'],_0xc02db3,constants[_0x4f3046(0x127)][_0x4f3046(0xfc)])),_0x3abc73=process[_0x4f3046(0x12d)],[_0x30a238,_0x59908f]=helper[_0x4f3046(0x114)](_0x3abc73),_0x367f48=path['join'](process[_0x4f3046(0xf0)](),_0x3fa1ba[_0x4f3046(0x170)]);if(_0x3fa1ba['lPTZU'](_0x59908f['length'],0x0)){helper[_0x4f3046(0x110)](_0x367f48);for(let _0x47e154=_0x3fa1ba[_0x4f3046(0xee)](_0x30a238[_0x4f3046(0x139)],0x1);_0x3fa1ba['FCtcx'](_0x47e154,0x0);_0x47e154--){_0x3abc73[_0x4f3046(0x155)](_0x30a238[_0x47e154],0x2);}}_0x3fa1ba[_0x4f3046(0xef)](_0x50803f['config'][_0x4f3046(0x13b)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x13b)]:process[_0x4f3046(0xd4)][_0x4f3046(0x130)]=_0x3fa1ba[_0x4f3046(0x16d)];if(_0x53761d)try{const {checkAccessibilityPlatformConfig:_0xe7bb43}=_0x3fa1ba[_0x4f3046(0x156)](require,_0x3fa1ba[_0x4f3046(0x151)]),{setAccessibilityCapabilities:_0x2130e9}=_0x3fa1ba[_0x4f3046(0x156)](require,_0x3fa1ba['txGbe']),_0x7bc27f=_0x3fa1ba[_0x4f3046(0x156)](_0xe7bb43,_0x50803f[_0x4f3046(0xe7)]);if(!helper[_0x4f3046(0xfd)](_0x50803f['config'][_0x4f3046(0x135)]))process[_0x4f3046(0xd4)][_0x4f3046(0x145)]=_0x3fa1ba[_0x4f3046(0x156)](String,!!_0x50803f[_0x4f3046(0xe7)][_0x4f3046(0x135)]);else helper[_0x4f3046(0xfd)](process[_0x4f3046(0xd4)][_0x4f3046(0x145)])&&(process['env'][_0x4f3046(0x145)]=_0x7bc27f?_0x3fa1ba[_0x4f3046(0x16d)]:_0x3fa1ba[_0x4f3046(0x109)]);process[_0x4f3046(0xd4)][_0x4f3046(0xea)]=_0x7bc27f?_0x3fa1ba[_0x4f3046(0x16d)]:_0x3fa1ba[_0x4f3046(0x109)],!BrowserstackCLI[_0x4f3046(0x160)]()[_0x4f3046(0x14c)]()&&_0x3fa1ba['RsMHr'](process[_0x4f3046(0xd4)][_0x4f3046(0x145)],_0x3fa1ba[_0x4f3046(0x16d)])&&_0x3fa1ba[_0x4f3046(0x178)](_0x2130e9,_0x50803f[_0x4f3046(0xe7)]);}catch(_0x15ed60){logger[_0x4f3046(0x10e)](_0x4f3046(0x10f)+util[_0x4f3046(0x113)](_0x15ed60));}try{const _0x2230f9=_0x3fa1ba[_0x4f3046(0xd8)](require,_0x3fa1ba[_0x4f3046(0x115)]),_0x5762a4=_0x3fa1ba[_0x4f3046(0xd8)](require,_0x3fa1ba['subbX']),{FRAMEWORKS:_0x5e8f89}=_0x3fa1ba[_0x4f3046(0x156)](require,_0x3fa1ba['SiGFn']),{checkAccessibilityPlatformConfig:_0x20b414}=_0x3fa1ba[_0x4f3046(0x167)](require,_0x3fa1ba[_0x4f3046(0x151)]),{setAccessibilityCapabilities:_0x7fd7ae}=_0x3fa1ba['gOuWu'](require,_0x3fa1ba[_0x4f3046(0x119)]),_0x1fe927=helper['getPackageVersion'](_0x3fa1ba[_0x4f3046(0x13a)]);if(_0x1fe927){_0x5762a4[_0x4f3046(0x15e)](constants['FRAMEWORKS'][_0x4f3046(0xfc)],constants[_0x4f3046(0x127)][_0x4f3046(0x11d)]);const _0x6825bb=_0x2230f9['getInstance']();_0x6825bb[_0x4f3046(0x103)](_0x50803f['config'],_0x50803f[_0x4f3046(0x15c)],_0x50803f[_0x4f3046(0x152)]);!_0x6825bb[_0x4f3046(0xdc)]&&!_0x6825bb[_0x4f3046(0x175)]&&await _0x6825bb[_0x4f3046(0x117)]();const _0x4d5086=_0x2230f9[_0x4f3046(0x160)]()['getConfig']();!helper[_0x4f3046(0xf2)](_0x4d5086['browserstackAutomation'])&&(process[_0x4f3046(0xd4)][_0x4f3046(0xdf)]=_0x3fa1ba[_0x4f3046(0x16d)]);_0x3fa1ba[_0x4f3046(0x101)](_0x4d5086[_0x4f3046(0x13c)],![])&&(process[_0x4f3046(0xd4)][_0x4f3046(0xdf)]=_0x3fa1ba['nacCC']);const _0x279dc0=_0x2d7f3d[_0x4f3046(0x11a)](_0x3fa1ba['CikYP']);(_0x3fa1ba['tNQdr'](_0x279dc0,0x0)||_0x3fa1ba[_0x4f3046(0x150)](_0x4d5086[_0x4f3046(0x13b)],![]))&&(process[_0x4f3046(0xd4)][_0x4f3046(0x161)]=_0x3fa1ba['nacCC']);if(!_0x2230f9[_0x4f3046(0x160)]()[_0x4f3046(0x14c)]()){let _0x138267=_0x3fa1ba['rzuod'](process[_0x4f3046(0xd4)][_0x4f3046(0x145)],_0x3fa1ba['xvJyn']);_0x138267=_0x138267||_0x3fa1ba[_0x4f3046(0x167)](_0x20b414,_0x50803f[_0x4f3046(0xe7)]),process[_0x4f3046(0xd4)][_0x4f3046(0x145)]=_0x138267,_0x138267&&_0x3fa1ba['abESY'](_0x7fd7ae,_0x50803f[_0x4f3046(0xe7)]);}}}catch(_0x55370d){logger[_0x4f3046(0x10e)]('Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20'+util[_0x4f3046(0x113)](_0x55370d));}!BrowserstackCLI[_0x4f3046(0x160)]()['isRunning']()&&await _0x50803f[_0x4f3046(0x15b)]();PerformanceTester[_0x4f3046(0x128)](PerformanceEvents['SDK_SETUP']),process['env'][_0x3fa1ba[_0x4f3046(0x10d)]]=process['cwd']();let _0x2bc3e9;_0x3fa1ba[_0x4f3046(0x12c)](parallelCucumberRun,_0x32fbcc,_0xfd1776,_0x50803f[_0x4f3046(0xe7)],_0x3abc73,_0x59908f)[_0x4f3046(0xf8)](async _0x1ebb7b=>{const _0x1c3ff7=_0x4f3046;PerformanceTester[_0x1c3ff7(0x173)](PerformanceEvents[_0x1c3ff7(0xed)]),_0x2bc3e9=_0x1ebb7b;const _0x2bcb44=_0x3fa1ba['yLHYf'](printCucumberStats,_0x1ebb7b);process[_0x1c3ff7(0x14a)]=_0x2bcb44,_0x3fa1ba[_0x1c3ff7(0x138)](_0x59908f[_0x1c3ff7(0x139)],0x0)&&(logger[_0x1c3ff7(0x10e)](_0x3fa1ba[_0x1c3ff7(0x134)]),helper[_0x1c3ff7(0x10b)](_0x367f48,_0x59908f),logger[_0x1c3ff7(0x10e)](_0x3fa1ba[_0x1c3ff7(0xf9)]),helper[_0x1c3ff7(0x12f)](_0x367f48));})[_0x4f3046(0x11c)](async()=>{const _0x2d4fb1=_0x4f3046;PerformanceTester[_0x2d4fb1(0x173)](PerformanceEvents['SDK_CLEANUP']),_0x50803f['errorMessage']=helper[_0x2d4fb1(0x147)](_0x2bc3e9,_0x3fa1ba[_0x2d4fb1(0xf4)]),testOpsHelper[_0x2d4fb1(0x106)]();const _0x564d97=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x2d4fb1(0x164)]();}catch(_0x4bc2a1){logger['debug'](_0x2d4fb1(0x137)+util[_0x2d4fb1(0x113)](_0x4bc2a1));}await utilities[_0x2d4fb1(0xfb)](_0x50803f,_0x564d97);});}module[a4_0x333db5(0x122)]=run;